text: function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"], {
    /***/
    "./$$_lazy_route_resource lazy recursive":
    /*!******************************************************!*\
      !*** ./$$_lazy_route_resource lazy namespace object ***!
      \******************************************************/
  
    /*! no static exports found */
  
    /***/
    function $$_lazy_route_resourceLazyRecursive(module, exports) {
      function webpackEmptyAsyncContext(req) {
        // Here Promise.resolve().then() is used instead of new Promise() to prevent
        // uncaught exception popping up in devtools
        return Promise.resolve().then(function () {
          var e = new Error("Cannot find module '" + req + "'");
          e.code = 'MODULE_NOT_FOUND';
          throw e;
        });
      }
  
      webpackEmptyAsyncContext.keys = function () {
        return [];
      };
  
      webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
      module.exports = webpackEmptyAsyncContext;
      webpackEmptyAsyncContext.id = "./$$_lazy_route_resource lazy recursive";
      /***/
    },
  
    /***/
    "./node_modules/moment/locale sync recursive ^\\.\\/.*$":
    /*!**************************************************!*\
      !*** ./node_modules/moment/locale sync ^\.\/.*$ ***!
      \**************************************************/
  
    /*! no static exports found */
  
    /***/
    function node_modulesMomentLocaleSyncRecursive$(module, exports, __webpack_require__) {
      var map = {
        "./af": "./node_modules/moment/locale/af.js",
        "./af.js": "./node_modules/moment/locale/af.js",
        "./ar": "./node_modules/moment/locale/ar.js",
        "./ar-dz": "./node_modules/moment/locale/ar-dz.js",
        "./ar-dz.js": "./node_modules/moment/locale/ar-dz.js",
        "./ar-kw": "./node_modules/moment/locale/ar-kw.js",
        "./ar-kw.js": "./node_modules/moment/locale/ar-kw.js",
        "./ar-ly": "./node_modules/moment/locale/ar-ly.js",
        "./ar-ly.js": "./node_modules/moment/locale/ar-ly.js",
        "./ar-ma": "./node_modules/moment/locale/ar-ma.js",
        "./ar-ma.js": "./node_modules/moment/locale/ar-ma.js",
        "./ar-sa": "./node_modules/moment/locale/ar-sa.js",
        "./ar-sa.js": "./node_modules/moment/locale/ar-sa.js",
        "./ar-tn": "./node_modules/moment/locale/ar-tn.js",
        "./ar-tn.js": "./node_modules/moment/locale/ar-tn.js",
        "./ar.js": "./node_modules/moment/locale/ar.js",
        "./az": "./node_modules/moment/locale/az.js",
        "./az.js": "./node_modules/moment/locale/az.js",
        "./be": "./node_modules/moment/locale/be.js",
        "./be.js": "./node_modules/moment/locale/be.js",
        "./bg": "./node_modules/moment/locale/bg.js",
        "./bg.js": "./node_modules/moment/locale/bg.js",
        "./bm": "./node_modules/moment/locale/bm.js",
        "./bm.js": "./node_modules/moment/locale/bm.js",
        "./bn": "./node_modules/moment/locale/bn.js",
        "./bn-bd": "./node_modules/moment/locale/bn-bd.js",
        "./bn-bd.js": "./node_modules/moment/locale/bn-bd.js",
        "./bn.js": "./node_modules/moment/locale/bn.js",
        "./bo": "./node_modules/moment/locale/bo.js",
        "./bo.js": "./node_modules/moment/locale/bo.js",
        "./br": "./node_modules/moment/locale/br.js",
        "./br.js": "./node_modules/moment/locale/br.js",
        "./bs": "./node_modules/moment/locale/bs.js",
        "./bs.js": "./node_modules/moment/locale/bs.js",
        "./ca": "./node_modules/moment/locale/ca.js",
        "./ca.js": "./node_modules/moment/locale/ca.js",
        "./cs": "./node_modules/moment/locale/cs.js",
        "./cs.js": "./node_modules/moment/locale/cs.js",
        "./cv": "./node_modules/moment/locale/cv.js",
        "./cv.js": "./node_modules/moment/locale/cv.js",
        "./cy": "./node_modules/moment/locale/cy.js",
        "./cy.js": "./node_modules/moment/locale/cy.js",
        "./da": "./node_modules/moment/locale/da.js",
        "./da.js": "./node_modules/moment/locale/da.js",
        "./de": "./node_modules/moment/locale/de.js",
        "./de-at": "./node_modules/moment/locale/de-at.js",
        "./de-at.js": "./node_modules/moment/locale/de-at.js",
        "./de-ch": "./node_modules/moment/locale/de-ch.js",
        "./de-ch.js": "./node_modules/moment/locale/de-ch.js",
        "./de.js": "./node_modules/moment/locale/de.js",
        "./dv": "./node_modules/moment/locale/dv.js",
        "./dv.js": "./node_modules/moment/locale/dv.js",
        "./el": "./node_modules/moment/locale/el.js",
        "./el.js": "./node_modules/moment/locale/el.js",
        "./en-au": "./node_modules/moment/locale/en-au.js",
        "./en-au.js": "./node_modules/moment/locale/en-au.js",
        "./en-ca": "./node_modules/moment/locale/en-ca.js",
        "./en-ca.js": "./node_modules/moment/locale/en-ca.js",
        "./en-gb": "./node_modules/moment/locale/en-gb.js",
        "./en-gb.js": "./node_modules/moment/locale/en-gb.js",
        "./en-ie": "./node_modules/moment/locale/en-ie.js",
        "./en-ie.js": "./node_modules/moment/locale/en-ie.js",
        "./en-il": "./node_modules/moment/locale/en-il.js",
        "./en-il.js": "./node_modules/moment/locale/en-il.js",
        "./en-in": "./node_modules/moment/locale/en-in.js",
        "./en-in.js": "./node_modules/moment/locale/en-in.js",
        "./en-nz": "./node_modules/moment/locale/en-nz.js",
        "./en-nz.js": "./node_modules/moment/locale/en-nz.js",
        "./en-sg": "./node_modules/moment/locale/en-sg.js",
        "./en-sg.js": "./node_modules/moment/locale/en-sg.js",
        "./eo": "./node_modules/moment/locale/eo.js",
        "./eo.js": "./node_modules/moment/locale/eo.js",
        "./es": "./node_modules/moment/locale/es.js",
        "./es-do": "./node_modules/moment/locale/es-do.js",
        "./es-do.js": "./node_modules/moment/locale/es-do.js",
        "./es-mx": "./node_modules/moment/locale/es-mx.js",
        "./es-mx.js": "./node_modules/moment/locale/es-mx.js",
        "./es-us": "./node_modules/moment/locale/es-us.js",
        "./es-us.js": "./node_modules/moment/locale/es-us.js",
        "./es.js": "./node_modules/moment/locale/es.js",
        "./et": "./node_modules/moment/locale/et.js",
        "./et.js": "./node_modules/moment/locale/et.js",
        "./eu": "./node_modules/moment/locale/eu.js",
        "./eu.js": "./node_modules/moment/locale/eu.js",
        "./fa": "./node_modules/moment/locale/fa.js",
        "./fa.js": "./node_modules/moment/locale/fa.js",
        "./fi": "./node_modules/moment/locale/fi.js",
        "./fi.js": "./node_modules/moment/locale/fi.js",
        "./fil": "./node_modules/moment/locale/fil.js",
        "./fil.js": "./node_modules/moment/locale/fil.js",
        "./fo": "./node_modules/moment/locale/fo.js",
        "./fo.js": "./node_modules/moment/locale/fo.js",
        "./fr": "./node_modules/moment/locale/fr.js",
        "./fr-ca": "./node_modules/moment/locale/fr-ca.js",
        "./fr-ca.js": "./node_modules/moment/locale/fr-ca.js",
        "./fr-ch": "./node_modules/moment/locale/fr-ch.js",
        "./fr-ch.js": "./node_modules/moment/locale/fr-ch.js",
        "./fr.js": "./node_modules/moment/locale/fr.js",
        "./fy": "./node_modules/moment/locale/fy.js",
        "./fy.js": "./node_modules/moment/locale/fy.js",
        "./ga": "./node_modules/moment/locale/ga.js",
        "./ga.js": "./node_modules/moment/locale/ga.js",
        "./gd": "./node_modules/moment/locale/gd.js",
        "./gd.js": "./node_modules/moment/locale/gd.js",
        "./gl": "./node_modules/moment/locale/gl.js",
        "./gl.js": "./node_modules/moment/locale/gl.js",
        "./gom-deva": "./node_modules/moment/locale/gom-deva.js",
        "./gom-deva.js": "./node_modules/moment/locale/gom-deva.js",
        "./gom-latn": "./node_modules/moment/locale/gom-latn.js",
        "./gom-latn.js": "./node_modules/moment/locale/gom-latn.js",
        "./gu": "./node_modules/moment/locale/gu.js",
        "./gu.js": "./node_modules/moment/locale/gu.js",
        "./he": "./node_modules/moment/locale/he.js",
        "./he.js": "./node_modules/moment/locale/he.js",
        "./hi": "./node_modules/moment/locale/hi.js",
        "./hi.js": "./node_modules/moment/locale/hi.js",
        "./hr": "./node_modules/moment/locale/hr.js",
        "./hr.js": "./node_modules/moment/locale/hr.js",
        "./hu": "./node_modules/moment/locale/hu.js",
        "./hu.js": "./node_modules/moment/locale/hu.js",
        "./hy-am": "./node_modules/moment/locale/hy-am.js",
        "./hy-am.js": "./node_modules/moment/locale/hy-am.js",
        "./id": "./node_modules/moment/locale/id.js",
        "./id.js": "./node_modules/moment/locale/id.js",
        "./is": "./node_modules/moment/locale/is.js",
        "./is.js": "./node_modules/moment/locale/is.js",
        "./it": "./node_modules/moment/locale/it.js",
        "./it-ch": "./node_modules/moment/locale/it-ch.js",
        "./it-ch.js": "./node_modules/moment/locale/it-ch.js",
        "./it.js": "./node_modules/moment/locale/it.js",
        "./ja": "./node_modules/moment/locale/ja.js",
        "./ja.js": "./node_modules/moment/locale/ja.js",
        "./jv": "./node_modules/moment/locale/jv.js",
        "./jv.js": "./node_modules/moment/locale/jv.js",
        "./ka": "./node_modules/moment/locale/ka.js",
        "./ka.js": "./node_modules/moment/locale/ka.js",
        "./kk": "./node_modules/moment/locale/kk.js",
        "./kk.js": "./node_modules/moment/locale/kk.js",
        "./km": "./node_modules/moment/locale/km.js",
        "./km.js": "./node_modules/moment/locale/km.js",
        "./kn": "./node_modules/moment/locale/kn.js",
        "./kn.js": "./node_modules/moment/locale/kn.js",
        "./ko": "./node_modules/moment/locale/ko.js",
        "./ko.js": "./node_modules/moment/locale/ko.js",
        "./ku": "./node_modules/moment/locale/ku.js",
        "./ku.js": "./node_modules/moment/locale/ku.js",
        "./ky": "./node_modules/moment/locale/ky.js",
        "./ky.js": "./node_modules/moment/locale/ky.js",
        "./lb": "./node_modules/moment/locale/lb.js",
        "./lb.js": "./node_modules/moment/locale/lb.js",
        "./lo": "./node_modules/moment/locale/lo.js",
        "./lo.js": "./node_modules/moment/locale/lo.js",
        "./lt": "./node_modules/moment/locale/lt.js",
        "./lt.js": "./node_modules/moment/locale/lt.js",
        "./lv": "./node_modules/moment/locale/lv.js",
        "./lv.js": "./node_modules/moment/locale/lv.js",
        "./me": "./node_modules/moment/locale/me.js",
        "./me.js": "./node_modules/moment/locale/me.js",
        "./mi": "./node_modules/moment/locale/mi.js",
        "./mi.js": "./node_modules/moment/locale/mi.js",
        "./mk": "./node_modules/moment/locale/mk.js",
        "./mk.js": "./node_modules/moment/locale/mk.js",
        "./ml": "./node_modules/moment/locale/ml.js",
        "./ml.js": "./node_modules/moment/locale/ml.js",
        "./mn": "./node_modules/moment/locale/mn.js",
        "./mn.js": "./node_modules/moment/locale/mn.js",
        "./mr": "./node_modules/moment/locale/mr.js",
        "./mr.js": "./node_modules/moment/locale/mr.js",
        "./ms": "./node_modules/moment/locale/ms.js",
        "./ms-my": "./node_modules/moment/locale/ms-my.js",
        "./ms-my.js": "./node_modules/moment/locale/ms-my.js",
        "./ms.js": "./node_modules/moment/locale/ms.js",
        "./mt": "./node_modules/moment/locale/mt.js",
        "./mt.js": "./node_modules/moment/locale/mt.js",
        "./my": "./node_modules/moment/locale/my.js",
        "./my.js": "./node_modules/moment/locale/my.js",
        "./nb": "./node_modules/moment/locale/nb.js",
        "./nb.js": "./node_modules/moment/locale/nb.js",
        "./ne": "./node_modules/moment/locale/ne.js",
        "./ne.js": "./node_modules/moment/locale/ne.js",
        "./nl": "./node_modules/moment/locale/nl.js",
        "./nl-be": "./node_modules/moment/locale/nl-be.js",
        "./nl-be.js": "./node_modules/moment/locale/nl-be.js",
        "./nl.js": "./node_modules/moment/locale/nl.js",
        "./nn": "./node_modules/moment/locale/nn.js",
        "./nn.js": "./node_modules/moment/locale/nn.js",
        "./oc-lnc": "./node_modules/moment/locale/oc-lnc.js",
        "./oc-lnc.js": "./node_modules/moment/locale/oc-lnc.js",
        "./pa-in": "./node_modules/moment/locale/pa-in.js",
        "./pa-in.js": "./node_modules/moment/locale/pa-in.js",
        "./pl": "./node_modules/moment/locale/pl.js",
        "./pl.js": "./node_modules/moment/locale/pl.js",
        "./pt": "./node_modules/moment/locale/pt.js",
        "./pt-br": "./node_modules/moment/locale/pt-br.js",
        "./pt-br.js": "./node_modules/moment/locale/pt-br.js",
        "./pt.js": "./node_modules/moment/locale/pt.js",
        "./ro": "./node_modules/moment/locale/ro.js",
        "./ro.js": "./node_modules/moment/locale/ro.js",
        "./ru": "./node_modules/moment/locale/ru.js",
        "./ru.js": "./node_modules/moment/locale/ru.js",
        "./sd": "./node_modules/moment/locale/sd.js",
        "./sd.js": "./node_modules/moment/locale/sd.js",
        "./se": "./node_modules/moment/locale/se.js",
        "./se.js": "./node_modules/moment/locale/se.js",
        "./si": "./node_modules/moment/locale/si.js",
        "./si.js": "./node_modules/moment/locale/si.js",
        "./sk": "./node_modules/moment/locale/sk.js",
        "./sk.js": "./node_modules/moment/locale/sk.js",
        "./sl": "./node_modules/moment/locale/sl.js",
        "./sl.js": "./node_modules/moment/locale/sl.js",
        "./sq": "./node_modules/moment/locale/sq.js",
        "./sq.js": "./node_modules/moment/locale/sq.js",
        "./sr": "./node_modules/moment/locale/sr.js",
        "./sr-cyrl": "./node_modules/moment/locale/sr-cyrl.js",
        "./sr-cyrl.js": "./node_modules/moment/locale/sr-cyrl.js",
        "./sr.js": "./node_modules/moment/locale/sr.js",
        "./ss": "./node_modules/moment/locale/ss.js",
        "./ss.js": "./node_modules/moment/locale/ss.js",
        "./sv": "./node_modules/moment/locale/sv.js",
        "./sv.js": "./node_modules/moment/locale/sv.js",
        "./sw": "./node_modules/moment/locale/sw.js",
        "./sw.js": "./node_modules/moment/locale/sw.js",
        "./ta": "./node_modules/moment/locale/ta.js",
        "./ta.js": "./node_modules/moment/locale/ta.js",
        "./te": "./node_modules/moment/locale/te.js",
        "./te.js": "./node_modules/moment/locale/te.js",
        "./tet": "./node_modules/moment/locale/tet.js",
        "./tet.js": "./node_modules/moment/locale/tet.js",
        "./tg": "./node_modules/moment/locale/tg.js",
        "./tg.js": "./node_modules/moment/locale/tg.js",
        "./th": "./node_modules/moment/locale/th.js",
        "./th.js": "./node_modules/moment/locale/th.js",
        "./tk": "./node_modules/moment/locale/tk.js",
        "./tk.js": "./node_modules/moment/locale/tk.js",
        "./tl-ph": "./node_modules/moment/locale/tl-ph.js",
        "./tl-ph.js": "./node_modules/moment/locale/tl-ph.js",
        "./tlh": "./node_modules/moment/locale/tlh.js",
        "./tlh.js": "./node_modules/moment/locale/tlh.js",
        "./tr": "./node_modules/moment/locale/tr.js",
        "./tr.js": "./node_modules/moment/locale/tr.js",
        "./tzl": "./node_modules/moment/locale/tzl.js",
        "./tzl.js": "./node_modules/moment/locale/tzl.js",
        "./tzm": "./node_modules/moment/locale/tzm.js",
        "./tzm-latn": "./node_modules/moment/locale/tzm-latn.js",
        "./tzm-latn.js": "./node_modules/moment/locale/tzm-latn.js",
        "./tzm.js": "./node_modules/moment/locale/tzm.js",
        "./ug-cn": "./node_modules/moment/locale/ug-cn.js",
        "./ug-cn.js": "./node_modules/moment/locale/ug-cn.js",
        "./uk": "./node_modules/moment/locale/uk.js",
        "./uk.js": "./node_modules/moment/locale/uk.js",
        "./ur": "./node_modules/moment/locale/ur.js",
        "./ur.js": "./node_modules/moment/locale/ur.js",
        "./uz": "./node_modules/moment/locale/uz.js",
        "./uz-latn": "./node_modules/moment/locale/uz-latn.js",
        "./uz-latn.js": "./node_modules/moment/locale/uz-latn.js",
        "./uz.js": "./node_modules/moment/locale/uz.js",
        "./vi": "./node_modules/moment/locale/vi.js",
        "./vi.js": "./node_modules/moment/locale/vi.js",
        "./x-pseudo": "./node_modules/moment/locale/x-pseudo.js",
        "./x-pseudo.js": "./node_modules/moment/locale/x-pseudo.js",
        "./yo": "./node_modules/moment/locale/yo.js",
        "./yo.js": "./node_modules/moment/locale/yo.js",
        "./zh-cn": "./node_modules/moment/locale/zh-cn.js",
        "./zh-cn.js": "./node_modules/moment/locale/zh-cn.js",
        "./zh-hk": "./node_modules/moment/locale/zh-hk.js",
        "./zh-hk.js": "./node_modules/moment/locale/zh-hk.js",
        "./zh-mo": "./node_modules/moment/locale/zh-mo.js",
        "./zh-mo.js": "./node_modules/moment/locale/zh-mo.js",
        "./zh-tw": "./node_modules/moment/locale/zh-tw.js",
        "./zh-tw.js": "./node_modules/moment/locale/zh-tw.js"
      };
  
      function webpackContext(req) {
        var id = webpackContextResolve(req);
        return __webpack_require__(id);
      }
  
      function webpackContextResolve(req) {
        if (!__webpack_require__.o(map, req)) {
          var e = new Error("Cannot find module '" + req + "'");
          e.code = 'MODULE_NOT_FOUND';
          throw e;
        }
  
        return map[req];
      }
  
      webpackContext.keys = function webpackContextKeys() {
        return Object.keys(map);
      };
  
      webpackContext.resolve = webpackContextResolve;
      module.exports = webpackContext;
      webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";
      /***/
    },
  
    /***/
    "./src/app/Guard/admin.guard.ts":
    /*!**************************************!*\
      !*** ./src/app/Guard/admin.guard.ts ***!
      \**************************************/
  
    /*! exports provided: AdminGuard */
  
    /***/
    function srcAppGuardAdminGuardTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "AdminGuard", function () {
        return AdminGuard;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
  
      var AdminGuard = /*#__PURE__*/function () {
        function AdminGuard() {
          _classCallCheck(this, AdminGuard);
        }
  
        _createClass(AdminGuard, [{
          key: "canActivate",
          value: function canActivate(route) {
            var user = JSON.parse(localStorage.getItem('currentUser'));
            var userTokenrole = JSON.parse(atob(localStorage.getItem('loggedInToken').split('.')[1]));
            console.log(userTokenrole);
  
            if (userTokenrole.role == "Admin") {
              return true;
            }
  
            return false;
          }
        }]);
  
        return AdminGuard;
      }();
  
      AdminGuard.ɵfac = function AdminGuard_Factory(t) {
        return new (t || AdminGuard)();
      };
  
      AdminGuard.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: AdminGuard,
        factory: AdminGuard.ɵfac,
        providedIn: 'root'
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AdminGuard, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
          args: [{
            providedIn: 'root'
          }]
        }], function () {
          return [];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/app-routing.module.ts":
    /*!***************************************!*\
      !*** ./src/app/app-routing.module.ts ***!
      \***************************************/
  
    /*! exports provided: AppRoutingModule */
  
    /***/
    function srcAppAppRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function () {
        return AppRoutingModule;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _components_loging_loging_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./components/loging/loging.component */
      "./src/app/components/loging/loging.component.ts");
      /* harmony import */
  
  
      var _components_loging_sign_on_sign_on_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./components/loging/sign-on/sign-on.component */
      "./src/app/components/loging/sign-on/sign-on.component.ts");
      /* harmony import */
  
  
      var _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./components/home/home.component */
      "./src/app/components/home/home.component.ts");
      /* harmony import */
  
  
      var _components_user_page_user_page_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./components/user-page/user-page.component */
      "./src/app/components/user-page/user-page.component.ts");
      /* harmony import */
  
  
      var _components_page_products_page_products_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./components/page-products/page-products.component */
      "./src/app/components/page-products/page-products.component.ts");
      /* harmony import */
  
  
      var _components_category_category_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./components/category/category.component */
      "./src/app/components/category/category.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_interface_manager_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./components/interface-manager/interface-manager.component */
      "./src/app/components/interface-manager/interface-manager.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_user_user_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! ./components/interface-manager/user/user.component */
      "./src/app/components/interface-manager/user/user.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_edit_product_edit_product_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! ./components/interface-manager/edit-product/edit-product.component */
      "./src/app/components/interface-manager/edit-product/edit-product.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./components/interface-manager/all-prudcts/all-prudcts.component */
      "./src/app/components/interface-manager/all-prudcts/all-prudcts.component.ts");
      /* harmony import */
  
  
      var _Guard_admin_guard__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./Guard/admin.guard */
      "./src/app/Guard/admin.guard.ts");
      /* harmony import */
  
  
      var _components_Page_not_found__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./components/Page-not-found */
      "./src/app/components/Page-not-found.ts");
  
      var routes = [{
        path: '',
        component: _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__["HomeComponent"]
      }, {
        path: 'loging',
        component: _components_loging_loging_component__WEBPACK_IMPORTED_MODULE_2__["LogingComponent"]
      }, {
        path: 'SignUn',
        component: _components_loging_sign_on_sign_on_component__WEBPACK_IMPORTED_MODULE_3__["SignOnComponent"]
      }, {
        path: 'home',
        component: _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__["HomeComponent"]
      }, {
        path: 'Category',
        component: _components_category_category_component__WEBPACK_IMPORTED_MODULE_7__["CategoryComponent"]
      }, {
        path: 'UserPage',
        component: _components_user_page_user_page_component__WEBPACK_IMPORTED_MODULE_5__["UserPageComponent"]
      }, {
        path: 'pageProduct',
        component: _components_page_products_page_products_component__WEBPACK_IMPORTED_MODULE_6__["PageProductsComponent"]
      }, {
        path: 'interfaceManager',
        component: _components_interface_manager_interface_manager_component__WEBPACK_IMPORTED_MODULE_8__["InterfaceManagerComponent"],
        canActivate: [_Guard_admin_guard__WEBPACK_IMPORTED_MODULE_12__["AdminGuard"]]
      }, {
        path: 'pageProduct/:id',
        component: _components_page_products_page_products_component__WEBPACK_IMPORTED_MODULE_6__["PageProductsComponent"]
      }, // { path: 'users', component: InterfaceManagerComponent },
      {
        path: 'users/:id',
        component: _components_interface_manager_user_user_component__WEBPACK_IMPORTED_MODULE_9__["UserComponent"],
        canActivate: [_Guard_admin_guard__WEBPACK_IMPORTED_MODULE_12__["AdminGuard"]]
      }, {
        path: 'product/:id',
        component: _components_interface_manager_edit_product_edit_product_component__WEBPACK_IMPORTED_MODULE_10__["EditProductComponent"],
        canActivate: [_Guard_admin_guard__WEBPACK_IMPORTED_MODULE_12__["AdminGuard"]]
      }, {
        path: 'AllPrudcts',
        component: _components_interface_manager_all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_11__["AllPrudctsComponent"],
        canActivate: [_Guard_admin_guard__WEBPACK_IMPORTED_MODULE_12__["AdminGuard"]]
      }, {
        path: 'home/:category',
        component: _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__["HomeComponent"]
      }, {
        path: '',
        redirectTo: 'from',
        pathMatch: 'full'
      }, {
        path: '**',
        component: _components_Page_not_found__WEBPACK_IMPORTED_MODULE_13__["NotFoundComponent"]
      }];
  
      var AppRoutingModule = function AppRoutingModule() {
        _classCallCheck(this, AppRoutingModule);
      };
  
      AppRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
        type: AppRoutingModule
      });
      AppRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
        factory: function AppRoutingModule_Factory(t) {
          return new (t || AppRoutingModule)();
        },
        imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes)], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
      });
  
      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AppRoutingModule, {
          imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]],
          exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        });
      })();
      /*@__PURE__*/
  
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppRoutingModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
          args: [{
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
          }]
        }], null, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/app.component.ts":
    /*!**********************************!*\
      !*** ./src/app/app.component.ts ***!
      \**********************************/
  
    /*! exports provided: AppComponent */
  
    /***/
    function srcAppAppComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "AppComponent", function () {
        return AppComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./components/navbar/navbar.component */
      "./src/app/components/navbar/navbar.component.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./components/footer/footer.component */
      "./src/app/components/footer/footer.component.ts");
  
      var AppComponent = function AppComponent() {
        _classCallCheck(this, AppComponent);
  
        this.title = 'ng-node-auction';
      };
  
      AppComponent.ɵfac = function AppComponent_Factory(t) {
        return new (t || AppComponent)();
      };
  
      AppComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AppComponent,
        selectors: [["app-root"]],
        decls: 3,
        vars: 0,
        template: function AppComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "app-navbar");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "router-outlet");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "app-footer");
          }
        },
        directives: [_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_1__["NavbarComponent"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterOutlet"], _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_3__["FooterComponent"]],
        styles: [".sticky[_ngcontent-%COMP%] {\r\n    position: fixed;\r\n    top: 0;\r\n    width: 100%;\r\n\r\n  }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxlQUFlO0lBQ2YsTUFBTTtJQUNOLFdBQVc7O0VBRWIiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zdGlja3kge1xyXG4gICAgcG9zaXRpb246IGZpeGVkO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcblxyXG4gIH0iXX0= */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-root',
            templateUrl: './app.component.html',
            styleUrls: ['./app.component.css']
          }]
        }], null, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/app.module.ts":
    /*!*******************************!*\
      !*** ./src/app/app.module.ts ***!
      \*******************************/
  
    /*! exports provided: AppModule */
  
    /***/
    function srcAppAppModuleTs(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/__ivy_ngcc__/fesm2015/platform-browser.js");
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var _app_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./app.component */
      "./src/app/app.component.ts");
      /* harmony import */
  
  
      var _components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./components/navbar/navbar.component */
      "./src/app/components/navbar/navbar.component.ts");
      /* harmony import */
  
  
      var _components_loging_loging_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ./components/loging/loging.component */
      "./src/app/components/loging/loging.component.ts");
      /* harmony import */
  
  
      var _app_routing_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ./app-routing.module */
      "./src/app/app-routing.module.ts");
      /* harmony import */
  
  
      var _components_loging_sign_on_sign_on_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ./components/loging/sign-on/sign-on.component */
      "./src/app/components/loging/sign-on/sign-on.component.ts");
      /* harmony import */
  
  
      var _components_home_home_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
      /*! ./components/home/home.component */
      "./src/app/components/home/home.component.ts");
      /* harmony import */
  
  
      var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
      /*! @ng-bootstrap/ng-bootstrap */
      "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js");
      /* harmony import */
  
  
      var _angular_common_http__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
      /*! @angular/common/http */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
      /* harmony import */
  
  
      var _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
      /*! ./components/footer/footer.component */
      "./src/app/components/footer/footer.component.ts");
      /* harmony import */
  
  
      var _components_user_page_user_page_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
      /*! ./components/user-page/user-page.component */
      "./src/app/components/user-page/user-page.component.ts");
      /* harmony import */
  
  
      var _components_page_products_page_products_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
      /*! ./components/page-products/page-products.component */
      "./src/app/components/page-products/page-products.component.ts");
      /* harmony import */
  
  
      var _components_spinner_spinner_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
      /*! ./components/spinner/spinner.component */
      "./src/app/components/spinner/spinner.component.ts");
      /* harmony import */
  
  
      var _components_category_category_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
      /*! ./components/category/category.component */
      "./src/app/components/category/category.component.ts");
      /* harmony import */
  
  
      var _components_gallery_gallery_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
      /*! ./components/gallery/gallery.component */
      "./src/app/components/gallery/gallery.component.ts");
      /* harmony import */
  
  
      var _components_card_card_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
      /*! ./components/card/card.component */
      "./src/app/components/card/card.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_interface_manager_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
      /*! ./components/interface-manager/interface-manager.component */
      "./src/app/components/interface-manager/interface-manager.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_user_user_component__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
      /*! ./components/interface-manager/user/user.component */
      "./src/app/components/interface-manager/user/user.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_card_product_card_product_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
      /*! ./components/interface-manager/card-product/card-product.component */
      "./src/app/components/interface-manager/card-product/card-product.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
      /*! ./components/interface-manager/all-prudcts/all-prudcts.component */
      "./src/app/components/interface-manager/all-prudcts/all-prudcts.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_all_users_all_users_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
      /*! ./components/interface-manager/all-users/all-users.component */
      "./src/app/components/interface-manager/all-users/all-users.component.ts");
      /* harmony import */
  
  
      var _components_interface_manager_edit_product_edit_product_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
      /*! ./components/interface-manager/edit-product/edit-product.component */
      "./src/app/components/interface-manager/edit-product/edit-product.component.ts");
      /* harmony import */
  
  
      var _components_Page_not_found__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
      /*! ./components/Page-not-found */
      "./src/app/components/Page-not-found.ts");
      /* harmony import */
  
  
      var _components_chart_chart_component__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
      /*! ./components/chart/chart.component */
      "./src/app/components/chart/chart.component.ts");
      /* harmony import */
  
  
      var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
      /*! ./pipes/filter.pipe */
      "./src/app/pipes/filter.pipe.ts");
  
      var AppModule = function AppModule() {
        _classCallCheck(this, AppModule);
      };
  
      AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
        type: AppModule,
        bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]]
      });
      AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
        factory: function AppModule_Factory(t) {
          return new (t || AppModule)();
        },
        providers: [],
        imports: [[_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ReactiveFormsModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_6__["AppRoutingModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_10__["HttpClientModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormsModule"]]]
      });
  
      (function () {
        (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppModule, {
          declarations: [_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_26__["FilterPipe"], _app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"], _components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_4__["NavbarComponent"], _components_loging_loging_component__WEBPACK_IMPORTED_MODULE_5__["LogingComponent"], _components_loging_sign_on_sign_on_component__WEBPACK_IMPORTED_MODULE_7__["SignOnComponent"], _components_home_home_component__WEBPACK_IMPORTED_MODULE_8__["HomeComponent"], _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_11__["FooterComponent"], _components_user_page_user_page_component__WEBPACK_IMPORTED_MODULE_12__["UserPageComponent"], _components_page_products_page_products_component__WEBPACK_IMPORTED_MODULE_13__["PageProductsComponent"], _components_spinner_spinner_component__WEBPACK_IMPORTED_MODULE_14__["SpinnerComponent"], _components_category_category_component__WEBPACK_IMPORTED_MODULE_15__["CategoryComponent"], _components_gallery_gallery_component__WEBPACK_IMPORTED_MODULE_16__["GalleryComponent"], _components_card_card_component__WEBPACK_IMPORTED_MODULE_17__["CardComponent"], _components_interface_manager_interface_manager_component__WEBPACK_IMPORTED_MODULE_18__["InterfaceManagerComponent"], _components_interface_manager_user_user_component__WEBPACK_IMPORTED_MODULE_19__["UserComponent"], _components_interface_manager_card_product_card_product_component__WEBPACK_IMPORTED_MODULE_20__["CardProductComponent"], _components_interface_manager_all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_21__["AllPrudctsComponent"], _components_interface_manager_all_users_all_users_component__WEBPACK_IMPORTED_MODULE_22__["AllUsersComponent"], _components_interface_manager_edit_product_edit_product_component__WEBPACK_IMPORTED_MODULE_23__["EditProductComponent"], _components_Page_not_found__WEBPACK_IMPORTED_MODULE_24__["NotFoundComponent"], _components_chart_chart_component__WEBPACK_IMPORTED_MODULE_25__["ChartComponent"]],
          imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ReactiveFormsModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_6__["AppRoutingModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_10__["HttpClientModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormsModule"]]
        });
      })();
      /*@__PURE__*/
  
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AppModule, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
          args: [{
            declarations: [_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_26__["FilterPipe"], _app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"], _components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_4__["NavbarComponent"], _components_loging_loging_component__WEBPACK_IMPORTED_MODULE_5__["LogingComponent"], _components_loging_sign_on_sign_on_component__WEBPACK_IMPORTED_MODULE_7__["SignOnComponent"], _components_home_home_component__WEBPACK_IMPORTED_MODULE_8__["HomeComponent"], _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_11__["FooterComponent"], _components_user_page_user_page_component__WEBPACK_IMPORTED_MODULE_12__["UserPageComponent"], _components_page_products_page_products_component__WEBPACK_IMPORTED_MODULE_13__["PageProductsComponent"], _components_spinner_spinner_component__WEBPACK_IMPORTED_MODULE_14__["SpinnerComponent"], _components_category_category_component__WEBPACK_IMPORTED_MODULE_15__["CategoryComponent"], _components_gallery_gallery_component__WEBPACK_IMPORTED_MODULE_16__["GalleryComponent"], _components_card_card_component__WEBPACK_IMPORTED_MODULE_17__["CardComponent"], _components_interface_manager_interface_manager_component__WEBPACK_IMPORTED_MODULE_18__["InterfaceManagerComponent"], _components_interface_manager_user_user_component__WEBPACK_IMPORTED_MODULE_19__["UserComponent"], _components_interface_manager_card_product_card_product_component__WEBPACK_IMPORTED_MODULE_20__["CardProductComponent"], _components_interface_manager_all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_21__["AllPrudctsComponent"], _components_interface_manager_all_users_all_users_component__WEBPACK_IMPORTED_MODULE_22__["AllUsersComponent"], _components_interface_manager_edit_product_edit_product_component__WEBPACK_IMPORTED_MODULE_23__["EditProductComponent"], _components_Page_not_found__WEBPACK_IMPORTED_MODULE_24__["NotFoundComponent"], _components_chart_chart_component__WEBPACK_IMPORTED_MODULE_25__["ChartComponent"]],
            imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ReactiveFormsModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_6__["AppRoutingModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_10__["HttpClientModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormsModule"]],
            providers: [],
            bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]]
          }]
        }], null, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/Page-not-found.ts":
    /*!**********************************************!*\
      !*** ./src/app/components/Page-not-found.ts ***!
      \**********************************************/
  
    /*! exports provided: NotFoundComponent */
  
    /***/
    function srcAppComponentsPageNotFoundTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "NotFoundComponent", function () {
        return NotFoundComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _card_card_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./card/card.component */
      "./src/app/components/card/card.component.ts");
  
      var NotFoundComponent = /*#__PURE__*/function () {
        function NotFoundComponent(route) {
          _classCallCheck(this, NotFoundComponent);
  
          this.route = route;
        }
  
        _createClass(NotFoundComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }, {
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            var self = this;
            setTimeout(function () {
              self.route.navigateByUrl('/home');
            }, 3000);
          }
        }]);
  
        return NotFoundComponent;
      }();
  
      NotFoundComponent.ɵfac = function NotFoundComponent_Factory(t) {
        return new (t || NotFoundComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]));
      };
  
      NotFoundComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: NotFoundComponent,
        selectors: [["app-not-found"]],
        decls: 7,
        vars: 1,
        consts: [["src", "assets/images/404_art.jpg"]],
        template: function NotFoundComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h1");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "Not Found");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " 404 - Page not found ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "img", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "app-card");
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" You might want to go to the \"", ctx.path, "\" page ");
          }
        },
        directives: [_card_card_component__WEBPACK_IMPORTED_MODULE_2__["CardComponent"]],
        encapsulation: 2
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NotFoundComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-not-found',
            template: "\n  \n     <h1>Not Found</h1> \n       404 - Page not found\n      \n  <img src=\"assets/images/404_art.jpg\">\n  <hr>\n\n  You might want to go to the \"{{ path }}\" page\n  \n  <app-card ></app-card>\n\n    "
          }]
        }], function () {
          return [{
            type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/card/card.component.ts":
    /*!***************************************************!*\
      !*** ./src/app/components/card/card.component.ts ***!
      \***************************************************/
  
    /*! exports provided: CardComponent */
  
    /***/
    function srcAppComponentsCardCardComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "CardComponent", function () {
        return CardComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
  
      var _c0 = ["card"];
      var _c1 = ["title"];
      var _c2 = ["PopoImg"];
      var _c3 = ["purchase"];
      var _c4 = ["info"];
      var _c5 = ["sizes"];
  
      var _c6 = function _c6(a0) {
        return {
          "active": a0
        };
      };
  
      var CardComponent = /*#__PURE__*/function () {
        function CardComponent(renderer, _router) {
          _classCallCheck(this, CardComponent);
  
          this.renderer = renderer;
          this._router = _router;
          this.selectedItem = 0;
        }
  
        _createClass(CardComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            if (this.product) {
              this.name = this.product.nameProduct;
              this.image = this.product.image;
              this.message = this.product.message;
              this.price = this.product.price;
              this.button1 = this.product.timeEnd;
              this.button2 = this.product.id;
              this.button3 = this.product.price;
            } else {
              this.name = 'APPLE';
              this.image = "assets/Apple_.png";
              this.message = "There are more than 7,500 known cultivars of apples. Cultivars vary in their yield and the ultimate size of the tree, even when grown on the same rootstock";
              this.price = "$50";
              this.button1 = "Pink Lady";
              this.button2 = 'Granny Smith';
              this.button3 = 'McIntosh';
            }
          }
        }, {
          key: "pageId",
          value: function pageId(id) {
            console.log("pageId", id);
  
            this._router.navigate(['/pageProduct', id]);
          } //Moving Animation Event
  
        }, {
          key: "onMouseMove",
          value: function onMouseMove(e) {
            console.log(e);
            console.log(this.card);
            var xAxis = (window.screen.width / 2 - e.screenX) / 25;
            var yAxis = (window.screen.height / 2 - e.screenY) / 25;
            console.log(yAxis, xAxis);
            this.renderer.setStyle(this.card.nativeElement, 'transform', "rotateY(".concat(xAxis, "deg) rotateX(").concat(yAxis, "deg)"));
          }
        }, {
          key: "mouseenter",
          value: function mouseenter() {
            this.renderer.setStyle(this.card.nativeElement, 'transform', "none"); //Popout
  
            this.renderer.setStyle(this.title.nativeElement, 'transform', "translateZ(150px)");
            this.renderer.setStyle(this.PopoImg.nativeElement, 'transform', "translateZ(200px) rotateZ(-45deg)");
            this.renderer.setStyle(this.description.nativeElement, 'transform', "translateZ(125px)");
            this.renderer.setStyle(this.sizes.nativeElement, 'transform', "translateZ(100px)");
            this.renderer.setStyle(this.purchase.nativeElement, 'transform', "translateZ(75px)");
          } //Animate Out
  
        }, {
          key: "mouseleave",
          value: function mouseleave() {
            this.renderer.setStyle(this.card.nativeElement, 'transform', "all 0.5s ease");
            this.renderer.setStyle(this.card.nativeElement, 'transform', "rotateY(0deg) rotateX(0deg)"); //Popback
  
            this.renderer.setStyle(this.title.nativeElement, 'transform', "translateZ(0px)");
            this.renderer.setStyle(this.PopoImg.nativeElement, 'transform', "translateZ(0px) rotateZ(0deg)");
            this.renderer.setStyle(this.description.nativeElement, 'transform', "translateZ(0px)");
            this.renderer.setStyle(this.sizes.nativeElement, 'transform', "translateZ(0px)");
            this.renderer.setStyle(this.purchase.nativeElement, 'transform', "translateZ(0px)");
          }
        }]);
  
        return CardComponent;
      }();
  
      CardComponent.ɵfac = function CardComponent_Factory(t) {
        return new (t || CardComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]));
      };
  
      CardComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CardComponent,
        selectors: [["app-card"]],
        viewQuery: function CardComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c1, true);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c2, true);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c3, true);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c4, true);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c5, true);
          }
  
          if (rf & 2) {
            var _t;
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.card = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.title = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.PopoImg = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.purchase = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.description = _t.first);
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.sizes = _t.first);
          }
        },
        inputs: {
          product: "product",
          num: "num"
        },
        decls: 33,
        vars: 18,
        consts: [[1, "body"], [1, "container", 3, "mousemove", "mouseenter", "mouseleave"], ["container", ""], [1, "card"], ["card", ""], [1, "PopoImg"], [1, "circle"], ["circle", ""], ["alt", "apple", 3, "src"], ["PopoImg", ""], [1, "info"], [1, "title"], ["title", ""], ["info", ""], [1, "sizes"], ["sizes", ""], [1, "button", 3, "ngClass", "click"], [1, "purchase"], [3, "click"], ["purchase", ""]],
        template: function CardComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "card works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1, 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mousemove", function CardComponent_Template_div_mousemove_3_listener($event) {
              return ctx.onMouseMove($event);
            })("mouseenter", function CardComponent_Template_div_mouseenter_3_listener() {
              return ctx.mouseenter();
            })("mouseleave", function CardComponent_Template_div_mouseleave_3_listener() {
              return ctx.mouseleave();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3, 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "div", 6, 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "img", 8, 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "h1", 11, 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "h3", null, 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 14, 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "button", 16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_Template_button_click_22_listener() {
              return ctx.selectedItem = 1;
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](24, "date");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "button", 16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_Template_button_click_25_listener() {
              return ctx.selectedItem = 2;
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "button", 16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_Template_button_click_27_listener() {
              return ctx.selectedItem = 3;
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "div", 17);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "button", 18, 19);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardComponent_Template_button_click_30_listener() {
              return ctx.pageId(ctx.button2);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32, "SELECT");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", ctx.image, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", ctx.name, " ", ctx.num, " ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.message);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](12, _c6, ctx.selectedItem === 1));
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](24, 10, ctx.button1));
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](14, _c6, ctx.selectedItem === 2));
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("price Now $", ctx.price, "");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](16, _c6, ctx.selectedItem === 3));
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.button3);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgClass"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DatePipe"]],
        styles: ["*[_ngcontent-%COMP%] {\r\n    margin: 0;\r\n    padding: 0;\r\n    box-sizing: border-box;\r\n  }\r\n  \r\n  .body[_ngcontent-%COMP%] {\r\n    font-family: \"Poppins\", sans-serif;\r\n    min-height: 100vh;\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n    perspective: 1000px;\r\n    \r\n  }\r\n  \r\n  .container[_ngcontent-%COMP%] {\r\n    \r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n  }\r\n  \r\n  .card[_ngcontent-%COMP%] {\r\n    background:rgb(216, 203, 203);\r\n    transform-style: preserve-3d;\r\n    min-height: 80vh;\r\n    width: 30rem;\r\n    border-radius: 50px;\r\n    padding: 0rem 5rem;\r\n    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0px 0px 50px rgba(0, 0, 0, 0.2);\r\n   \r\n\r\n  }\r\n  \r\n  .PopoImg[_ngcontent-%COMP%] {\r\n    min-height: 35vh;\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n  }\r\n  \r\n  .PopoImg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\r\n    width: 20rem;\r\n    z-index: 2;\r\n    transition: all 0.75s ease-out;\r\n  }\r\n  \r\n  .circle[_ngcontent-%COMP%] {\r\n    width: 13rem;\r\n    height: 13rem;\r\n    background: linear-gradient(\r\n      to right,\r\n      rgba(201, 236, 104, 0.75),\r\n      rgba(8, 83, 156, 0.75)\r\n    );\r\n    position: absolute;\r\n    border-radius: 50%;\r\n    z-index: 1;\r\n  }\r\n  \r\n  .h1[_ngcontent-%COMP%] {\r\n    font-size: 3rem;\r\n    transition: all 0.75s ease-out;\r\n  }\r\n  \r\n  .title[_ngcontent-%COMP%]{\r\n    text-align: center\r\n  }\r\n  \r\n  .info[_ngcontent-%COMP%]   .h3[_ngcontent-%COMP%] {\r\n    font-size: 1.3rem;\r\n    padding: 2rem 0rem;\r\n    color: #585858;\r\n    font-weight: lighter;\r\n    transition: all 0.75s ease-out;\r\n  }\r\n  \r\n  .sizes[_ngcontent-%COMP%] {\r\n    padding-top: 3rem;\r\n    display: flex;\r\n    justify-content: space-between;\r\n    transition: all 0.75s ease-out;\r\n  }\r\n  \r\n  .button[_ngcontent-%COMP%] {\r\n    padding: 0.5rem 2rem;\r\n    background: none;\r\n    border: none;\r\n    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);\r\n    border-radius: 30px;\r\n    cursor: pointer;\r\n    font-weight: bold;\r\n    color: #585858;\r\n  }\r\n  \r\n  .button[_ngcontent-%COMP%]:hover {\r\n    background: #585858;\r\n    color: white;\r\n    \r\n  }\r\n  \r\n  .active[_ngcontent-%COMP%] {\r\n    outline:none;\r\n    background:red;\r\n    color:blue\r\n  }\r\n  \r\n  .purchase[_ngcontent-%COMP%] {\r\n    margin-top: 5rem;\r\n    transition: all 0.75s ease-out;\r\n  }\r\n  \r\n  .purchase[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\r\n    width: 100%;\r\n    padding: 1rem 0rem;\r\n    background: #d87c60;\r\n    border: none;\r\n    color: white;\r\n    cursor: pointer;\r\n    border-radius: 30px;\r\n    font-weight: bolder;\r\n    out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sb3I6ICM1ODU4NTg7XHJcbiAgfVxyXG4gIC5idXR0b246aG92ZXIge1xyXG4gICAgYmFja2dyb3VuZDogIzU4NTg1ODtcclxuICAgIGNvbG9yOiB3aGl0ZTtcclxuICAgIC8qIG91dGxpbmU6bm9uZTsgKi9cclxuICB9XHJcblxyXG4gICAuYWN0aXZlIHtcclxuICAgIG91dGxpbmU6bm9uZTtcclxuICAgIGJhY2tncm91bmQ6cmVkO1xyXG4gICAgY29sb3I6Ymx1ZVxyXG4gIH1cclxuICAucHVyY2hhc2Uge1xyXG4gICAgbWFyZ2luLXRvcDogNXJlbTtcclxuICAgIHRyYW5zaXRpb246IGFsbCAwLjc1cyBlYXNlLW91dDtcclxuICB9XHJcbiAgLnB1cmNoYXNlIGJ1dHRvbiB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIHBhZGRpbmc6IDFyZW0gMHJlbTtcclxuICAgIGJhY2tncm91bmQ6ICNkODdjNjA7XHJcbiAgICBib3JkZXI6IG5vbmU7XHJcbiAgICBjb2xvcjogd2hpdGU7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzMHB4O1xyXG4gICAgZm9udC13ZWlnaHQ6IGJvbGRlcjtcclxuICAgIG91dGxpbmU6bm9uZTtcclxuICB9XHJcbiAgLnB1cmNoYXNlIGJ1dHRvbjpob3ZlciAge1xyXG4gICAgYmFja2dyb3VuZDp5ZWxsb3c7XHJcbiAgICBjb2xvcjpibGFja1xyXG4gIH1cclxuXHJcbiAgIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CardComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-card',
            templateUrl: './card.component.html',
            styleUrls: ['./card.component.css']
          }]
        }], function () {
          return [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]
          }];
        }, {
          product: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          num: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }],
          card: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['card']
          }],
          title: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['title']
          }],
          PopoImg: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['PopoImg']
          }],
          purchase: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['purchase']
          }],
          description: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['info']
          }],
          sizes: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['sizes']
          }]
        });
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/category/category.component.ts":
    /*!***********************************************************!*\
      !*** ./src/app/components/category/category.component.ts ***!
      \***********************************************************/
  
    /*! exports provided: CategoryComponent */
  
    /***/
    function srcAppComponentsCategoryCategoryComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "CategoryComponent", function () {
        return CategoryComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @ng-bootstrap/ng-bootstrap */
      "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _home_home_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ../home/home.component */
      "./src/app/components/home/home.component.ts");
  
      function CategoryComponent_li_6_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CategoryComponent_li_6_Template_li_click_0_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);
  
            var category_r2 = ctx.$implicit;
  
            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r3.selectscategory(category_r2.category);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var category_r2 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", category_r2.category, "");
        }
      }
  
      function CategoryComponent_div_24_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "app-home", 13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("products", ctx_r1.myProducts);
        }
      }
  
      var CategoryComponent = /*#__PURE__*/function () {
        function CategoryComponent(productsService, router) {
          _classCallCheck(this, CategoryComponent);
  
          this.productsService = productsService;
          this.router = router;
          this.categoryProduct = [];
          this.myProducts = [];
          this.arrayProducts = [];
        }
  
        _createClass(CategoryComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            this.myProducts = this.productsService.getProducts();
            this.allcategories();
          }
        }, {
          key: "allcategories",
          value: function allcategories() {
            var _this = this;
  
            this.productsService.all().subscribe(function (products) {
              _this.categories = products;
              _this.categories = _this.categories.filter(function (obj, index, self) {
                return self.findIndex(function (o) {
                  return o.category === obj.category;
                }) === index;
              });
              console.log("categories ", _this.categories);
              return _this.categories.category;
            }); // this.categories = this.allProducts.filter((obj, index, self) => self.findIndex((o) => { return o.category === obj.category; }) === index);
            // console.log("categories service",this.categories);
          }
        }, {
          key: "selectscategory",
          value: function selectscategory(category) {
            this.router.navigate(['home', category]);
          }
        }, {
          key: "selectcategory",
          value: function selectcategory(select) {
            var _this2 = this;
  
            this.myProducts = [];
  
            switch (select) {
              case 'category1':
                // this.myProducts = this.productsService.getCategory('frout'); 
                this.router.navigate(['home', 'frout']);
                console.log(this.myProducts);
                break;
  
              case 'category2':
                this.router.navigate(['home', 'B']); // this.myProducts = this.productsService.getCategory('B');
  
                console.log(this.myProducts);
                break;
  
              case 'api':
                this.productsService.all().subscribe(function (data) {
                  _this2.products$ = data;
                  _this2.myProducts = _this2.products$;
                  console.log("this myProducts", _this2.myProducts);
                });
                break;
            }
          }
        }, {
          key: "search",
          value: function search(event) {
            this.keyword = event.target.value.toLowerCase();
            console.log(this.keyword);
  
            if (this.keyword && this.keyword.length > 0) {
              return this.myProducts.filter(function (el) {
                this.myProducts = Object.keys(el).map(function (key) {
                  return el[key];
                });
                var result = false;
  
                for (var i in this.myProducts) {
                  result = this.myProducts != null && this.myProducts[i] != null && this.myProducts[i] != undefined && this.myProducts[i].toLowerCase().indexOf(this.keyword) > -1;
  
                  if (result) {
                    return true;
                  }
                }
  
                return false;
              });
            }
  
            console.log(this.myProducts);
            return this.myProducts;
          }
        }]);
  
        return CategoryComponent;
      }();
  
      CategoryComponent.ɵfac = function CategoryComponent_Factory(t) {
        return new (t || CategoryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_1__["ProductsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]));
      };
  
      CategoryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CategoryComponent,
        selectors: [["app-category"]],
        decls: 25,
        vars: 2,
        consts: [[1, "navbar", "navbar-expand-lg"], [1, "navbar-nav", "mr-auto", "section-nav"], [3, "click", 4, "ngFor", "ngForOf"], [3, "click"], [1, "d-flex", "justify-content-center", "h-100"], [1, "searchbar"], ["type", "search", "name", "", "placeholder", "Search...", 1, "search_input", 3, "keyup"], ["href", "#", 1, "search_icon"], [1, "fas", "fa-search"], ["href", "Category#Itmes", 1, "section-nav"], ["href", "Category#Apples", 1, "section-nav"], ["class", "home", 4, "ngIf"], [1, "home"], [3, "products"]],
        template: function CategoryComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "category works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "ul", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h5");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "category");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CategoryComponent_li_6_Template, 2, 1, "li", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "li", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CategoryComponent_Template_li_click_7_listener() {
              return ctx.selectcategory("category1");
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, " Category A");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "li", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CategoryComponent_Template_li_click_9_listener() {
              return ctx.selectcategory("category2");
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, " category B");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "li", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CategoryComponent_Template_li_click_11_listener() {
              return ctx.selectcategory("api");
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, " API");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "input", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function CategoryComponent_Template_input_keyup_15_listener($event) {
              return ctx.search($event);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "i", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "a", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, "Products");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "a", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, "Apples");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, CategoryComponent_div_24_Template, 2, 1, "div", 11);
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.categories);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](18);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.myProducts);
          }
        },
        directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbNavbar"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _home_home_component__WEBPACK_IMPORTED_MODULE_5__["HomeComponent"]],
        styles: [".section-nav[_ngcontent-%COMP%]{\r\n  \r\n    color: #FFD700;\r\n}\r\n\r\nli[_ngcontent-%COMP%]{\r\n    display: block;\r\n    padding: .25rem 1.5rem;\r\n    font-size: 90%;\r\n\r\n}\r\n\r\n.section-nav[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{\r\n    \r\n    color: aqua;\r\n}\r\n\r\n.row[_ngcontent-%COMP%]{\r\n    margin: 0;\r\n    padding: 0;\r\n}\r\n\r\n.categorys[_ngcontent-%COMP%]{\r\n    background:gray;\r\n    position:absolute;\r\n}\r\n\r\n.searchbar[_ngcontent-%COMP%]{\r\n    margin-bottom: auto;\r\n    margin-top: auto;\r\n    height: 60px;\r\n    background-color: #353b48;\r\n    border-radius: 30px;\r\n    padding: 10px;\r\n    }\r\n\r\n.search_input[_ngcontent-%COMP%]{\r\n    color: aqua;\r\n    border: 0;\r\n    outline: 0;\r\n    background: none;\r\n    width: 0;\r\n    caret-color:transparent;\r\n    line-height: 40px;\r\n    transition: width 0.4s linear;\r\n    }\r\n\r\n.searchbar[_ngcontent-%COMP%]:hover    > .search_input[_ngcontent-%COMP%]{\r\n    padding: 0 10px;\r\n    width: 200px;\r\n    caret-color:red;\r\n    transition: width 0.4s linear;\r\n    }\r\n\r\n.searchbar[_ngcontent-%COMP%]:hover    > .search_icon[_ngcontent-%COMP%]{\r\n    background: white;\r\n    color: rgb(69, 224, 92);\r\n    }\r\n\r\n.search_icon[_ngcontent-%COMP%]{\r\n    height: 40px;\r\n    width: 40px;\r\n    float: right;\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n    border-radius: 50%;\r\n    color:white;\r\n    text-decoration:none;\r\n    }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9jYXRlZ29yeS9jYXRlZ29yeS5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztJQUVJLGNBQWM7QUFDbEI7O0FBRUE7SUFDSSxjQUFjO0lBQ2Qsc0JBQXNCO0lBQ3RCLGNBQWM7O0FBRWxCOztBQUVBO0lBQ0ksa0JBQWtCO0lBQ2xCLFdBQVc7QUFDZjs7QUFFQTtJQUNJLFNBQVM7SUFDVCxVQUFVO0FBQ2Q7O0FBQ0E7SUFDSSxlQUFlO0lBQ2YsaUJBQWlCO0FBQ3JCOztBQUNBO0lBQ0ksbUJBQW1CO0lBQ25CLGdCQUFnQjtJQUNoQixZQUFZO0lBQ1oseUJBQXlCO0lBQ3pCLG1CQUFtQjtJQUNuQixhQUFhO0lBQ2I7O0FBRUE7SUFDQSxXQUFXO0lBQ1gsU0FBUztJQUNULFVBQVU7SUFDVixnQkFBZ0I7SUFDaEIsUUFBUTtJQUNSLHVCQUF1QjtJQUN2QixpQkFBaUI7SUFDakIsNkJBQTZCO0lBQ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IDEwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnNlYXJjaF9pbnB1dHtcclxuICAgIGNvbG9yOiBhcXVhO1xyXG4gICAgYm9yZGVyOiAwO1xyXG4gICAgb3V0bGluZTogMDtcclxuICAgIGJhY2tncm91bmQ6IG5vbmU7XHJcbiAgICB3aWR0aDogMDtcclxuICAgIGNhcmV0LWNvbG9yOnRyYW5zcGFyZW50O1xyXG4gICAgbGluZS1oZWlnaHQ6IDQwcHg7XHJcbiAgICB0cmFuc2l0aW9uOiB3aWR0aCAwLjRzIGxpbmVhcjtcclxuICAgIH1cclxuXHJcbiAgICAuc2VhcmNoYmFyOmhvdmVyID4gLnNlYXJjaF9pbnB1dHtcclxuICAgIHBhZGRpbmc6IDAgMTBweDtcclxuICAgIHdpZHRoOiAyMDBweDtcclxuICAgIGNhcmV0LWNvbG9yOnJlZDtcclxuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuNHMgbGluZWFyO1xyXG4gICAgfVxyXG5cclxuICAgIC5zZWFyY2hiYXI6aG92ZXIgPiAuc2VhcmNoX2ljb257XHJcbiAgICBiYWNrZ3JvdW5kOiB3aGl0ZTtcclxuICAgIGNvbG9yOiByZ2IoNjksIDIyNCwgOTIpO1xyXG4gICAgfVxyXG5cclxuICAgIC5zZWFyY2hfaWNvbntcclxuICAgIGhlaWdodDogNDBweDtcclxuICAgIHdpZHRoOiA0MHB4O1xyXG4gICAgZmxvYXQ6IHJpZ2h0O1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcclxuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICAgIGNvbG9yOndoaXRlO1xyXG4gICAgdGV4dC1kZWNvcmF0aW9uOm5vbmU7XHJcbiAgICB9Il19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CategoryComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-category',
            templateUrl: './category.component.html',
            styleUrls: ['./category.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_1__["ProductsService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/chart/chart.component.ts":
    /*!*****************************************************!*\
      !*** ./src/app/components/chart/chart.component.ts ***!
      \*****************************************************/
  
    /*! exports provided: ChartComponent */
  
    /***/
    function srcAppComponentsChartChartComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "ChartComponent", function () {
        return ChartComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var chart_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! chart.js */
      "./node_modules/chart.js/dist/Chart.js");
      /* harmony import */
  
  
      var chart_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(chart_js__WEBPACK_IMPORTED_MODULE_1__);
  
      var _c0 = ["mychart"];
  
      var ChartComponent = /*#__PURE__*/function () {
        function ChartComponent() {
          _classCallCheck(this, ChartComponent);
  
          this.title = '';
          this.name = '';
        }
  
        _createClass(ChartComponent, [{
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            this.canvas = this.mychart.nativeElement;
            this.ctx = this.canvas.getContext('2d');
            var mychart = new chart_js__WEBPACK_IMPORTED_MODULE_1__["Chart"](this.ctx, {
              type: 'line',
              data: {
                datasets: [{
                  label: '',
                  backgroundColor: "rgba(255, 99, 132,0.4)",
                  borderColor: "rgb(255, 99, 132)",
                  fill: true,
                  data: [{
                    x: 1,
                    y: 2
                  }, {
                    x: 2500,
                    y: 2.5
                  }, {
                    x: 3000,
                    y: 5
                  }, {
                    x: 3400,
                    y: 4.75
                  }, {
                    x: 3600,
                    y: 4.75
                  }, {
                    x: 5200,
                    y: 6
                  }, {
                    x: 6000,
                    y: 9
                  }, {
                    x: 7100,
                    y: 6
                  }]
                }]
              },
              options: {
                responsive: true,
                title: {
                  display: true,
                  text: ''
                },
                scales: {
                  xAxes: [{
                    type: 'linear',
                    position: 'bottom',
                    ticks: {
                      userCallback: function userCallback(tick) {
                        if (tick >= 1000) {
                          return (tick / 1000).toString() + 'km';
                        }
  
                        return tick.toString() + 'm';
                      }
                    },
                    scaleLabel: {
                      labelString: '',
                      display: true
                    }
                  }],
                  yAxes: [{
                    type: 'linear',
                    ticks: {
                      userCallback: function userCallback(tick) {
                        return tick.toString() + 'm';
                      }
                    },
                    scaleLabel: {
                      labelString: '',
                      display: true
                    }
                  }]
                }
              }
            });
          }
        }]);
  
        return ChartComponent;
      }();
  
      ChartComponent.ɵfac = function ChartComponent_Factory(t) {
        return new (t || ChartComponent)();
      };
  
      ChartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: ChartComponent,
        selectors: [["app-chart"]],
        viewQuery: function ChartComponent_Query(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
          }
  
          if (rf & 2) {
            var _t;
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.mychart = _t.first);
          }
        },
        decls: 3,
        vars: 0,
        consts: [[2, "width", "100%"], ["id", "myChart", "width", "700", "height", "250"], ["mychart", ""]],
        template: function ChartComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "canvas", 1, 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
        },
        styles: ["p[_ngcontent-%COMP%] {\r\n    font-family: Lato;\r\n  }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9jaGFydC9jaGFydC5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksaUJBQWlCO0VBQ25CIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9jaGFydC9jaGFydC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsicCB7XHJcbiAgICBmb250LWZhbWlseTogTGF0bztcclxuICB9Il19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ChartComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-chart',
            templateUrl: './chart.component.html',
            styleUrls: ['./chart.component.css']
          }]
        }], null, {
          mychart: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
            args: ['mychart']
          }]
        });
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/footer/footer.component.ts":
    /*!*******************************************************!*\
      !*** ./src/app/components/footer/footer.component.ts ***!
      \*******************************************************/
  
    /*! exports provided: FooterComponent */
  
    /***/
    function srcAppComponentsFooterFooterComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "FooterComponent", function () {
        return FooterComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
  
      function FooterComponent_li_33_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 27);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "i", 6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var category_r1 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("routerLink", "/category/", category_r1.id, "");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](category_r1.name);
        }
      }
  
      var FooterComponent = /*#__PURE__*/function () {
        function FooterComponent() {
          _classCallCheck(this, FooterComponent);
        }
  
        _createClass(FooterComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }]);
  
        return FooterComponent;
      }();
  
      FooterComponent.ɵfac = function FooterComponent_Factory(t) {
        return new (t || FooterComponent)();
      };
  
      FooterComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: FooterComponent,
        selectors: [["app-footer"]],
        decls: 88,
        vars: 1,
        consts: [["id", "footer"], [1, "container"], [1, "row", "text-center", "text-xs-center", "text-sm-left", "text-md-left"], [1, "col-xs-12", "col-sm-4", "col-md-4"], [1, "list-unstyled", "quick-links"], ["routerLink", "/"], [1, "fa", "fa-angle-double-right"], ["href", "javascript:void();"], [4, "ngFor", "ngForOf"], [1, "row", "justify-content-space-between"], ["src", "https://www.youtube.com/embed/zH9_SqCCgCk", "allowfullscreen", "", 1, "embed-responsive-item"], ["src", "https://www.youtube.com/embed/NPRga4n-Tb8", "allowfullscreen", "", 1, "embed-responsive-item"], [1, "fab", "fa-youtube"], [1, "fa", "fa-twitter"], [1, "fa", "fa-instagram"], ["href", "https://www.linkedin.com/in/chaim-baror-83644b1b3/", 1, "icon"], [1, "fab", "fa-linkedin"], ["href", "https://github.com/ChaimBaror", 1, "icon"], [1, "fab", "fa-github"], ["href", "#", "target", "_blank"], [1, "fa", "fa-envelope"], [1, "row"], [1, "col-xs-12", "col-sm-12", "col-md-12", "mt-2", "mt-sm-2", "text-center", "text-white"], ["href", "https://github.com"], [1, "h6", 2, "color", "#FFD700"], ["href", "https://www.codewars.com/users/Chaim%20Baror", 1, "icon", 2, "color", "#FFD700"], [1, "fas", "fa-coffee"], [3, "routerLink"]],
        template: function FooterComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "footer works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "section", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "h5");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "\u05E6\u05D5\u05E8 \u05E7\u05E9\u05E8");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "ul", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "a", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "\u05D3\u05E3 \u05D4\u05D1\u05D9\u05EA");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](15, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "\u05DE\u05DB\u05D9\u05E8\u05D4 \u05E4\u05D5\u05DE\u05D1\u05D9\u05EA \u05DB\u05DC\u05DC\u05D9\u05EA");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, "\u05E9\u05D0\u05DC\u05D5\u05EA \u05E0\u05E4\u05D5\u05E6\u05D5\u05EA");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](23, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, "\u05E1\u05D5\u05D2\u05D9 \u05DE\u05DB\u05D9\u05E8\u05D5\u05EA \u05E4\u05D5\u05DE\u05D1\u05D9\u05D5\u05EA");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28, "\u05D4\u05DE\u05D3\u05D9\u05E0\u05D9\u05D5\u05EA \u05E9\u05DC\u05E0\u05D5");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "div", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "h5");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](31, "\u05EA\u05D9\u05E7 \u05DE\u05D5\u05E6\u05E8\u05D9\u05DD");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "ul", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, FooterComponent_li_33_Template, 4, 2, "li", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "a", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37, "\u05DB\u05DC \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "div", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "iframe", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](41, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](42, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](43, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](44, "iframe", 11);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "div", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "h5");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](47, "\u05D4\u05EA\u05D7\u05D1\u05E8 \u05D0\u05DC\u05D9\u05E0\u05D5");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](48, "ul", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](49, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](50, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](51, "i", 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](52, " youtube");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](53, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](55, "i", 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](56, "Twitter");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](57, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "a", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](59, "i", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](60, "Instragram");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](61, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](62, "a", 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](63, "i", 16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](64, "linkedin");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](65, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](66, "a", 17);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](67, "i", 18);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](68, "github");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](69, "li");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](70, "a", 19);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](71, "i", 20);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](72, "ch.baror@gmail.com");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](73, "div", 21);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](74, "div", 22);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](75, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](76, "u");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](77, "a", 23);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](78, "\u05D0\u05EA\u05E8 \u05D4\u05EA\u05D5\u05DE\u05DA \u05D1\u05DE\u05DB\u05D9\u05E8\u05D4 \u05E4\u05D5\u05DE\u05D1\u05D9\u05EA \u05DE\u05E7\u05D5\u05D5\u05E0\u05EA ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](79, " \u05E2\u05D6\u05D5\u05E8 \u05DC\u05DE\u05DB\u05D9\u05E8\u05D4 \u05E4\u05D5\u05DE\u05D1\u05D9\u05EA \u05DC\u05E7\u05E8\u05D5\u05EA \u05D1\u05DE\u05D4\u05D9\u05E8\u05D5\u05EA, \u05D1\u05DE\u05D3\u05D5\u05D9\u05E7 \u05D5\u05D1\u05E0\u05D5\u05D7\u05D5\u05EA");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](80, "p", 24);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](81, "Built and developed ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](82, "a", 25);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](83, "i", 26);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](84, " Coffee on CHAIM BAROR");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](85, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](86, "\xA9 Copyright 2020");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](87, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](33);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.categories);
          }
        },
        directives: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterLinkWithHref"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]],
        styles: ["@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');\r\nsection[_ngcontent-%COMP%] {\r\n    padding: 60px 0;\r\n}\r\nsection[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%] {\r\n    text-align: center;\r\n    color: rgb(161, 158, 158);\r\n    margin-bottom: 50px;\r\n    text-transform: uppercase;\r\n}\r\n#footer[_ngcontent-%COMP%] {\r\n    background: rgb(161, 158, 158) !important;\r\n    margin-top: 100px;\r\n}\r\n#footer[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{\r\n\tpadding-left: 10px;\r\n    border-left: 3px solid #eeeeee;\r\n    padding-bottom: 6px;\r\n    margin-bottom: 20px;\r\n    color:#ffffff;\r\n}\r\n#footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\r\n    color: #ffffff;\r\n    text-decoration: none !important;\r\n    background-color: transparent;\r\n    -webkit-text-decoration-skip: objects;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.social[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{\r\n\tpadding: 3px 0;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.social[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\r\n    margin-right: 5px;\r\n\tfont-size:25px;\r\n\ttransition: .5s all ease;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.social[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\r\n\tfont-size:30px;\r\n\tmargin-top:-10px;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.social[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], #footer[_ngcontent-%COMP%]   ul.quick-links[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{\r\n\tcolor:#ffffff;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.social[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{\r\n\tcolor:#eeeeee;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.quick-links[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{\r\n\tpadding: 3px 0;\r\n\ttransition: .5s all ease;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.quick-links[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{\r\n\tpadding: 3px 0;\r\n\tmargin-left:5px;\r\n\tfont-weight:700;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.quick-links[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{\r\n\tmargin-right: 5px;\r\n}\r\n#footer[_ngcontent-%COMP%]   ul.quick-links[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\r\n    font-weight: 700;\r\n}\r\n@media (max-width:767px){\r\n\t#footer[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%] {\r\n    padding-left: 0;\r\n    border-left: transparent;\r\n    padding-bottom: 0px;\r\n    margin-bottom: 10px;\r\n}\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMEZBQTBGO0FBQzFGO0lBQ0ksZUFBZTtBQUNuQjtBQUVBO0lBQ0ksa0JBQWtCO0lBQ2xCLHlCQUF5QjtJQUN6QixtQkFBbUI7SUFDbkIseUJBQXlCO0FBQzdCO0FBQ0E7SUFDSSx5Q0FBeUM7SUFDekM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cbiNmb290ZXIgdWwuc29jaWFsIGxpIGEsXHJcbiNmb290ZXIgdWwucXVpY2stbGlua3MgbGkgYXtcclxuXHRjb2xvcjojZmZmZmZmO1xyXG59XHJcbiNmb290ZXIgdWwuc29jaWFsIGxpIGE6aG92ZXJ7XHJcblx0Y29sb3I6I2VlZWVlZTtcclxufVxyXG4jZm9vdGVyIHVsLnF1aWNrLWxpbmtzIGxpe1xyXG5cdHBhZGRpbmc6IDNweCAwO1xyXG5cdC13ZWJraXQtdHJhbnNpdGlvbjogLjVzIGFsbCBlYXNlO1xyXG5cdC1tb3otdHJhbnNpdGlvbjogLjVzIGFsbCBlYXNlO1xyXG5cdHRyYW5zaXRpb246IC41cyBhbGwgZWFzZTtcclxufVxyXG4jZm9vdGVyIHVsLnF1aWNrLWxpbmtzIGxpOmhvdmVye1xyXG5cdHBhZGRpbmc6IDNweCAwO1xyXG5cdG1hcmdpbi1sZWZ0OjVweDtcclxuXHRmb250LXdlaWdodDo3MDA7XHJcbn1cclxuI2Zvb3RlciB1bC5xdWljay1saW5rcyBsaSBhIGl7XHJcblx0bWFyZ2luLXJpZ2h0OiA1cHg7XHJcbn1cclxuI2Zvb3RlciB1bC5xdWljay1saW5rcyBsaTpob3ZlciBhIGkge1xyXG4gICAgZm9udC13ZWlnaHQ6IDcwMDtcclxufVxyXG5cclxuQG1lZGlhIChtYXgtd2lkdGg6NzY3cHgpe1xyXG5cdCNmb290ZXIgaDUge1xyXG4gICAgcGFkZGluZy1sZWZ0OiAwO1xyXG4gICAgYm9yZGVyLWxlZnQ6IHRyYW5zcGFyZW50O1xyXG4gICAgcGFkZGluZy1ib3R0b206IDBweDtcclxuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XHJcbn1cclxufVxyXG4iXX0= */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FooterComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-footer',
            templateUrl: './footer.component.html',
            styleUrls: ['./footer.component.css']
          }]
        }], function () {
          return [];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/gallery/gallery.component.ts":
    /*!*********************************************************!*\
      !*** ./src/app/components/gallery/gallery.component.ts ***!
      \*********************************************************/
  
    /*! exports provided: GalleryComponent */
  
    /***/
    function srcAppComponentsGalleryGalleryComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "GalleryComponent", function () {
        return GalleryComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _card_card_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ../card/card.component */
      "./src/app/components/card/card.component.ts");
  
      function GalleryComponent_option_7_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "option", 8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var num_r3 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngValue", num_r3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Itmes Of Page ", num_r3, "");
        }
      }
  
      function GalleryComponent_div_15_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "Shot by Chris ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "app-card", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var i_r4 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("product", i_r4);
        }
      }
  
      function GalleryComponent_div_21_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "Shot by Chris ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "app-card", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var i_r5 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("num", i_r5.id);
        }
      }
  
      var GalleryComponent = /*#__PURE__*/function () {
        function GalleryComponent() {
          _classCallCheck(this, GalleryComponent);
  
          this.items = [];
          this.itemsArray = [];
          this.num = 0;
          this.numOfPage = 6;
          this.numberOfPage = [3, 4, 6, 12, 15, 18];
          this.itemsArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27];
        }
  
        _createClass(GalleryComponent, [{
          key: "ngAfterViewInit",
          value: function ngAfterViewInit() {
            if (this.products) {
              this.itemsArray = this.products, this.indexItem();
            }
          }
        }, {
          key: "selectNum",
          value: function selectNum(num) {
            this.numOfPage = num;
          }
        }, {
          key: "indexItem",
          value: function indexItem() {
            console.log(this.num);
            this.items = [];
  
            for (var i = this.num; i < this.itemsArray.length; i++) {
              if (i < this.numOfPage + this.num) {
                this.items.push(this.itemsArray[i]);
                continue;
              }
  
              this.num = i;
              break;
            }
          }
        }, {
          key: "indexbeaend",
          value: function indexbeaend() {
            this.num -= this.numOfPage * 2;
  
            if (this.num < 0) {
              this.num = 0;
            }
  
            this.indexItem();
          }
        }]);
  
        return GalleryComponent;
      }();
  
      GalleryComponent.ɵfac = function GalleryComponent_Factory(t) {
        return new (t || GalleryComponent)();
      };
  
      GalleryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: GalleryComponent,
        selectors: [["app-gallery"]],
        inputs: {
          products: "products"
        },
        decls: 22,
        vars: 4,
        consts: [[1, "row", 2, "justify-content", "space-between"], [3, "click"], [1, "form-control", 3, "ngModel", "ngModelChange", "change"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["id", "Itmes"], [1, "gallery"], ["class", "gallery__img", 4, "ngFor", "ngForOf"], ["id", "Apples"], [3, "ngValue"], [1, "gallery__img"], [3, "product"], [3, "num"]],
        template: function GalleryComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "gallery works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "h1", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GalleryComponent_Template_h1_click_3_listener() {
              return ctx.indexbeaend();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\u21A9 next Apples ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "h1");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "select", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function GalleryComponent_Template_select_ngModelChange_6_listener($event) {
              return ctx.numOfPage = $event;
            })("change", function GalleryComponent_Template_select_change_6_listener() {
              return ctx.selectNum(ctx.numOfPage);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, GalleryComponent_option_7_Template, 2, 2, "option", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "h1", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GalleryComponent_Template_h1_click_8_listener() {
              return ctx.indexItem();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, " next Apples \u21AA");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "h1", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "Gallery Itmes");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, GalleryComponent_div_15_Template, 5, 1, "div", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "h1", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "Gallery Apples");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, GalleryComponent_div_21_Template, 5, 1, "div", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", ctx.numOfPage);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.numberOfPage);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.items);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.items);
          }
        },
        directives: [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["SelectControlValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgModel"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgSelectOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["ɵangular_packages_forms_forms_x"], _card_card_component__WEBPACK_IMPORTED_MODULE_3__["CardComponent"]],
        styles: [".gallery[_ngcontent-%COMP%] {\r\n    font-family: \"Montserrat\", sans-serif;\r\n    margin: 3em;\r\n    display: grid;\r\n    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));\r\n    grid-gap: 2em;\r\n}\r\n\r\n.gallery__img[_ngcontent-%COMP%]{\r\n    position: relative;\r\n     \r\n    \r\n    \r\n    transition: all 1s;\r\n    \r\n    width: 100%;\r\n    height: auto;\r\n    \r\n}\r\n\r\nimg[_ngcontent-%COMP%]{\r\n    height: 350px;\r\n    width: 500px;\r\n\r\n}\r\n\r\nh1[_ngcontent-%COMP%]{\r\n    text-align:center;\r\n    border: 2px dashed blue;\r\n    padding: 1rem;\r\n    margin:  3rem;\r\n    background: rgb(245, 197, 94);\r\n    color:blue\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9nYWxsZXJ5L2dhbGxlcnkuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLHFDQUFxQztJQUNyQyxXQUFXO0lBQ1gsYUFBYTtJQUNiLDREQUE0RDtJQUM1RCxhQUFhO0FBQ2pCOztBQUVBO0lBQ0ksa0JBQWtCO0tBQ2pCLGlCQUFpQjtJQUNsQixvQkFBb0I7SUFDcEIsc0NBQXNDO0lBQ3RDLGtCQUFrQjtJQUNsQixnQkFBZ0I7SUFDaEIsV0FBVztJQUNYLFlBQVk7SUFDWix1QkFBdUI7QUFDM0I7O0FBQ0E7SUFDSSxhQUFhO0lBQ2IsWUFBWTs7QUFFaEI7O0FBQ0E7SUFDSSxpQkFBaUI7SUFDakIsdUJBQXVCO0lBQ3ZCLGFBQWE7SUFDYixhQUFhO0lBQ2IsNkJBQTZCO0lBQzdCO0FBQ0oiLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL2dhbGxlcnkvZ2FsbGVyeS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmdhbGxlcnkge1xyXG4gICAgZm9udC1mYW1pbHk6IFwiTW9udHNlcnJhdFwiLCBzYW5zLXNlcmlmO1xyXG4gICAgbWFyZ2luOiAzZW07XHJcbiAgICBkaXNwbGF5OiBncmlkO1xyXG4gICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiByZXBlYXQoYXV0by1maWxsLCBtaW5tYXgoNDUwcHgsIDFmcikpO1xyXG4gICAgZ3JpZC1nYXA6IDJlbTtcclxufVxyXG5cclxuLmdhbGxlcnlfX2ltZ3tcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICAvKiB6LWluZGV4OiAtMTsgKi9cclxuICAgIC8qIGRpc3BsYXk6IGJsb2NrOyAqL1xyXG4gICAgLyogdHJhbnNmb3JtOiB0cmFuc2xhdGUoMHB4LCAxMDBweCk7ICovXHJcbiAgICB0cmFuc2l0aW9uOiBhbGwgMXM7XHJcbiAgICAvKiBvcGFjaXR5OiAwOyAqL1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbiAgICBoZWlnaHQ6IGF1dG87XHJcbiAgICAvKiBvYmplY3QtZml0OiBjb3ZlcjsgKi9cclxufVxyXG5pbWd7XHJcbiAgICBoZWlnaHQ6IDM1MHB4O1xyXG4gICAgd2lkdGg6IDUwMHB4O1xyXG5cclxufVxyXG5oMXtcclxuICAgIHRleHQtYWxpZ246Y2VudGVyO1xyXG4gICAgYm9yZGVyOiAycHggZGFzaGVkIGJsdWU7XHJcbiAgICBwYWRkaW5nOiAxcmVtO1xyXG4gICAgbWFyZ2luOiAgM3JlbTtcclxuICAgIGJhY2tncm91bmQ6IHJnYigyNDUsIDE5NywgOTQpO1xyXG4gICAgY29sb3I6Ymx1ZVxyXG59XHJcblxyXG5cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GalleryComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-gallery',
            templateUrl: './gallery.component.html',
            styleUrls: ['./gallery.component.css']
          }]
        }], function () {
          return [];
        }, {
          products: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/home/home.component.ts":
    /*!***************************************************!*\
      !*** ./src/app/components/home/home.component.ts ***!
      \***************************************************/
  
    /*! exports provided: HomeComponent */
  
    /***/
    function srcAppComponentsHomeHomeComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "HomeComponent", function () {
        return HomeComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! src/app/services/loging.service */
      "./src/app/services/loging.service.ts");
      /* harmony import */
  
  
      var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @ng-bootstrap/ng-bootstrap */
      "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _gallery_gallery_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ../gallery/gallery.component */
      "./src/app/components/gallery/gallery.component.ts");
  
      function HomeComponent_3_ng_template_0_p_19_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "date");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var item_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, item_r1.timeEnd), "");
        }
      }
  
      function HomeComponent_3_ng_template_0_p_20_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "sub");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " 12:00 PM");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, " \u05D4\u05DE\u05DB\u05D9\u05E8\u05D4 \u05D4\u05E4\u05D5\u05DE\u05D1\u05D9\u05EA \u05E2\u05D5\u05DE\u05D3\u05EA \u05DC\u05D4\u05EA\u05E7\u05D9\u05D9\u05DD \u05D1 -22 \u05D1\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8 2020");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function HomeComponent_3_ng_template_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "h3");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "h3", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "label");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "Double quick offer :");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "button", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function HomeComponent_3_ng_template_0_Template_button_click_17_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
  
            var item_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r6.addAuction(item_r1);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "ADD $10 ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, HomeComponent_3_ng_template_0_p_19_Template, 3, 3, "p", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, HomeComponent_3_ng_template_0_p_20_Template, 4, 0, "p", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "button", 13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function HomeComponent_3_ng_template_0_Template_button_click_21_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
  
            var item_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r9.pageId(item_r1);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "by now");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "button", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function HomeComponent_3_ng_template_0_Template_button_click_23_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
  
            var item_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r11.pageId(item_r1);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, "New offer");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var item_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", item_r1.image, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r2.myVar);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r1.nameProduct);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r1.message);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("New price $", item_r1.price, "");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", item_r1.timeEnd);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !item_r1.timeEnd);
        }
      }
  
      function HomeComponent_3_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, HomeComponent_3_ng_template_0_Template, 25, 7, "ng-template", 3);
        }
      }
  
      var HomeComponent = /*#__PURE__*/function () {
        function HomeComponent(productsService, activeRoute, logingSer, _router) {
          _classCallCheck(this, HomeComponent);
  
          this.productsService = productsService;
          this.activeRoute = activeRoute;
          this.logingSer = logingSer;
          this._router = _router;
          this.products = [];
        }
  
        _createClass(HomeComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            var _this3 = this;
  
            if (this.activeRoute.snapshot.params.category == null) this.myProducts = this.productsService.getProducts();else {
              this.myProducts = this.productsService.getCategory(this.activeRoute.snapshot.params.category);
            } // console.log("oninit home work");
            // if (this.products==null) {
            //   this.myProducts = this.productsService.getProducts()
            // }
            // else {
            //   this.myProducts = this.products
            // }
  
            console.log(' this.myProducts ()HomeComponent', this.myProducts);
            this.logingSer.getCurrentUser().subscribe(function (user) {
              return _this3.currentUser = Object.assign({}, user);
            });
          }
        }, {
          key: "pageId",
          value: function pageId(itme) {
            // console.log("pageId", itme);
            this.productsService.getproductById(itme);
          }
        }, {
          key: "addAuction",
          value: function addAuction(itme) {
            var id = itme.id;
  
            if (!this.currentUser.id) {
              return alert("כדי להגיש הצעה צריך להירשם");
            }
  
            if (typeof itme.price == 'string') {
              itme.price = parseInt(itme.price);
            }
  
            itme.price += 10;
            var sum = itme.price;
            console.log(id);
            this.productsService.auctionAdd(id, sum);
  
            if (this.currentUser.id) {
              return alert("".concat(this.currentUser.username, "  \u05DE\u05D0\u05EA    $").concat(sum, " \u05D4\u05EA\u05E7\u05D1\u05DC\u05D4"));
            }
          }
        }]);
  
        return HomeComponent;
      }();
  
      HomeComponent.ɵfac = function HomeComponent_Factory(t) {
        return new (t || HomeComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_1__["ProductsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_3__["LogingService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]));
      };
  
      HomeComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: HomeComponent,
        selectors: [["app-home"]],
        inputs: {
          products: "products"
        },
        decls: 6,
        vars: 2,
        consts: [[4, "ngFor", "ngForOf"], [1, "cardgallery"], [3, "products"], ["ngbSlide", ""], [1, "container"], [1, "row"], [1, "col-xs-12", "col-sm-12", "col-md-6", "col-lg-6"], [1, "picsum-img-wrapper"], ["alt", "Random first slide", "height", "300px", "width", "300px", 3, "src"], [1, "carousel-caption"], [1, "badge-pill", "badge-success"], [1, "by", "now", "badge", "badge-pill", "badge-danger", 3, "click"], [4, "ngIf"], [1, "by", "now", "btn", "btn-info", 3, "click"], [1, "by", "now", "btn", "btn-warning", 3, "click"]],
        template: function HomeComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "home works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "ngb-carousel");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, HomeComponent_3_Template, 1, 0, undefined, 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "app-gallery", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.myProducts);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("products", ctx.myProducts);
          }
        },
        directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbCarousel"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _gallery_gallery_component__WEBPACK_IMPORTED_MODULE_6__["GalleryComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbSlide"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["DatePipe"]],
        styles: [".row[_ngcontent-%COMP%]{\r\n    padding:50px 150px 100px 150px ;\r\n\r\n}\r\n\r\n.cardgallery[_ngcontent-%COMP%]{\r\n        margin: 0;\r\n        padding: 0;\r\n        background:rgb(245, 234, 234)\r\n    }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9ob21lL2hvbWUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLCtCQUErQjs7QUFFbkM7QUFDQTs7Ozs7O09BTU87QUFFSDtRQUNJLFNBQVM7UUFDVCxVQUFVO1FBQ1Y7SUFDSiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvaG9tZS9ob21lLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucm93e1xyXG4gICAgcGFkZGluZzo1MHB4IDE1MHB4IDEwMHB4IDE1MHB4IDtcclxuXHJcbn1cclxuLyogLmNvbnRhaW5lciA6aG92ZXJ7XHJcbiAgICBvcGFjaXR5OiAxLjg7fVxyXG5cclxuIC5jb250YWluZXJ7XHJcbiAgICBvcGFjaXR5OiAwLjg7XHJcblxyXG4gICAgfSAqL1xyXG5cclxuICAgIC5jYXJkZ2FsbGVyeXtcclxuICAgICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgcGFkZGluZzogMDtcclxuICAgICAgICBiYWNrZ3JvdW5kOnJnYigyNDUsIDIzNCwgMjM0KVxyXG4gICAgfSJdfQ== */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HomeComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-home',
            templateUrl: './home.component.html',
            styleUrls: ['./home.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_1__["ProductsService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"]
          }, {
            type: src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_3__["LogingService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]
          }];
        }, {
          products: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/interface-manager/all-prudcts/all-prudcts.component.ts":
    /*!***********************************************************************************!*\
      !*** ./src/app/components/interface-manager/all-prudcts/all-prudcts.component.ts ***!
      \***********************************************************************************/
  
    /*! exports provided: AllPrudctsComponent */
  
    /***/
    function srcAppComponentsInterfaceManagerAllPrudctsAllPrudctsComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "AllPrudctsComponent", function () {
        return AllPrudctsComponent;
      });
      /* harmony import */
  
  
      var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! tslib */
      "./node_modules/tslib/tslib.es6.js");
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var _card_product_card_product_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ../card-product/card-product.component */
      "./src/app/components/interface-manager/card-product/card-product.component.ts");
  
      function AllPrudctsComponent_tbody_38_Template(rf, ctx) {
        if (rf & 1) {
          var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "tbody");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "tr");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "img", 13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "input", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function AllPrudctsComponent_tbody_38_Template_input_ngModelChange_7_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
            return prudct_r2.category = $event;
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "input", 15);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function AllPrudctsComponent_tbody_38_Template_input_ngModelChange_9_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
            return prudct_r2.nameProduct = $event;
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "input", 16);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function AllPrudctsComponent_tbody_38_Template_input_ngModelChange_11_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
            return prudct_r2.message = $event;
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "input", 17);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function AllPrudctsComponent_tbody_38_Template_input_ngModelChange_13_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
            return prudct_r2.price = $event;
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](15, "input", 18);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function AllPrudctsComponent_tbody_38_Template_input_ngModelChange_15_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
            return prudct_r2.timeEnd = $event;
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](16);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](17, "date");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](18, "td", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](19, "input", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function AllPrudctsComponent_tbody_38_Template_input_ngModelChange_19_listener($event) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
            return prudct_r2.isActive = $event;
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](21, "td", 20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](22, "span", 21);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](23, "a", 22);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](24, "i", 23);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](25, "span", 24);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](26, "a", 22);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](27, "i", 25);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](28, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](29, "span", 26);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](30, "button", 27);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function AllPrudctsComponent_tbody_38_Template_button_click_30_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
  
            var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  
            return ctx_r11.remove(prudct_r2.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](31, "Remove");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](32, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](33, "span", 28);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](34, "button", 29);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function AllPrudctsComponent_tbody_38_Template_button_click_34_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
  
            var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  
            return ctx_r12.editproduct(prudct_r2.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](35, "span", 30);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](36, " \xA0 ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](37, "button", 29);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function AllPrudctsComponent_tbody_38_Template_button_click_37_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r5);
  
            var prudct_r2 = ctx.$implicit;
  
            var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  
            return ctx_r13.save(prudct_r2);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](38, "Save");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var prudct_r2 = ctx.$implicit;
          var i_r3 = ctx.index;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](i_r3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("src", prudct_r2.image, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", prudct_r2.category);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", prudct_r2.nameProduct);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", prudct_r2.message);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", prudct_r2.price);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", prudct_r2.timeEnd);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](17, 10, prudct_r2.timeEnd), " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", prudct_r2.isActive);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" \xA0 ", prudct_r2.isActive, " ");
        }
      }
  
      function AllPrudctsComponent_div_40_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "app-card-product");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
        }
      }
  
      var AllPrudctsComponent = /*#__PURE__*/function () {
        function AllPrudctsComponent(productsService, router) {
          _classCallCheck(this, AllPrudctsComponent);
  
          this.productsService = productsService;
          this.router = router;
          this.showcardproduct = false;
        }
  
        _createClass(AllPrudctsComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            this.products$ = this.productsService.all();
          }
        }, {
          key: "addPrudct",
          value: function addPrudct() {
            this.showcardproduct = !this.showcardproduct;
          }
        }, {
          key: "editproduct",
          value: function editproduct(id) {
            this.router.navigate(['product', id]);
          }
        }, {
          key: "save",
          value: function save(nameProduct) {
            var id = nameProduct.id,
                result = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__rest"])(nameProduct, ["id"]);
            result.timeEnd = Date.parse(result.timeEnd);
  
            if (result.timeEnd - Date.now() < 0) {
              result.isActive = false;
            }
  
            this.productsService.editProducts(result, id);
          }
        }, {
          key: "remove",
          value: function remove(id) {
            this.productsService["delete"](id);
            this.ngOnInit();
          }
        }]);
  
        return AllPrudctsComponent;
      }();
  
      AllPrudctsComponent.ɵfac = function AllPrudctsComponent_Factory(t) {
        return new (t || AllPrudctsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"]));
      };
  
      AllPrudctsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
        type: AllPrudctsComponent,
        selectors: [["app-all-prudcts"]],
        inputs: {
          prudcts: "prudcts"
        },
        decls: 41,
        vars: 7,
        consts: [[1, "card"], [1, "card-header", "text-center", "font-weight-bold", "text-uppercase", "py-4"], [1, "card-body"], ["id", "table", 1, "table-editable"], [1, "table-add", "float-right", "mb-3", "mr-2"], [1, "text-success", 3, "click"], ["aria-hidden", "true", 1, "fas", "fa-plus", "fa-2x"], [1, "table", "table-bordered", "table-responsive-md", "table-striped", "text-center"], [1, "table"], [1, "text-center"], [4, "ngFor", "ngForOf"], [4, "ngIf"], ["contenteditable", "true", 1, "pt-3-half"], ["alt", "...", "srcset", "", "width", "50px", "height", "50px", 3, "src"], ["name", "category", "minlength", "2", "placeholder", "category", "ngModel", "", 1, "form-control", 3, "ngModel", "ngModelChange"], ["name", "nameProduct", "minlength", "2", "placeholder", "nameProduct", "ngModel", "", 1, "form-control", 3, "ngModel", "ngModelChange"], ["name", "category", "minlength", "2", "placeholder", "message", "ngModel", "", 1, "form-control", 3, "ngModel", "ngModelChange"], ["name", "category", "minlength", "2", "placeholder", "price", "ngModel", "", 1, "form-control", 3, "ngModel", "ngModelChange"], ["name", "category", "type", "datetime-local", "placeholder", "timeEnd", "ngModel", "", 1, "form-control", 3, "ngModel", "ngModelChange"], ["type", "checkbox", 3, "ngModel", "ngModelChange"], [1, "pt-3-half"], [1, "table-up"], ["href", "#!", 1, "indigo-text"], ["aria-hidden", "true", 1, "fas", "fa-long-arrow-alt-up"], [1, "table-down"], ["aria-hidden", "true", 1, "fas", "fa-long-arrow-alt-down"], [1, "table-remove"], ["type", "button", 1, "btn", "btn-danger", "btn-rounded", "btn-sm", "my-0", 3, "click"], [1, "col"], [1, "btn", "btn-secondary", "btn-rounded", "btn-sm", "my-0", 3, "click"], [1, "fa", "fa-edit", "pull-right", "bigicon"]],
        template: function AllPrudctsComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "all-prudcts works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "json");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "h3", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](7, "Editable table");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "div", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "div", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "span", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "a", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function AllPrudctsComponent_Template_a_click_11_listener() {
              return ctx.addPrudct();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](12, "i", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "table", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "thead", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](15, "tr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](17, "#");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](18, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](19, "Image");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](20, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](21, "Category");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](22, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](23, "Name Product");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](24, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](25, "Message");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](26, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](27, "$ Price");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](28, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](29, "Time End");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](30, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](31, "Is Active");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](32, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](33, "Sort");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](34, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](35, "Remove");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](36, "th", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](37, "Edit");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](38, AllPrudctsComponent_tbody_38_Template, 39, 12, "tbody", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](39, "async");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](40, AllPrudctsComponent_div_40_Template, 2, 0, "div", 11);
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 3, ctx.prudcts), "\n");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](35);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](39, 5, ctx.products$));
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.showcardproduct);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["MinLengthValidator"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["CheckboxControlValueAccessor"], _card_product_card_product_component__WEBPACK_IMPORTED_MODULE_6__["CardProductComponent"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["JsonPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["DatePipe"]],
        styles: [".pt-3-half[_ngcontent-%COMP%] {\r\n    padding-top: 1.4rem;\r\n    }\r\n\r\n    .form-control[_ngcontent-%COMP%] {\r\n        border-color: inherit;\r\n        box-shadow: none;\r\n        outline:none;\r\n        border:none;\r\n\r\n      }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9pbnRlcmZhY2UtbWFuYWdlci9hbGwtcHJ1ZGN0cy9hbGwtcHJ1ZGN0cy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksbUJBQW1CO0lBQ25COztJQUVBO1FBQ0kscUJBQXFCO1FBRXJCLGdCQUFnQjtRQUNoQixZQUFZO1FBQ1osV0FBVzs7TUFFYiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvaW50ZXJmYWNlLW1hbmFnZXIvYWxsLXBydWRjdHMvYWxsLXBydWRjdHMuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5wdC0zLWhhbGYge1xyXG4gICAgcGFkZGluZy10b3A6IDEuNHJlbTtcclxuICAgIH1cclxuXHJcbiAgICAuZm9ybS1jb250cm9sIHtcclxuICAgICAgICBib3JkZXItY29sb3I6IGluaGVyaXQ7XHJcbiAgICAgICAgLXdlYmtpdC1ib3gtc2hhZG93OiBub25lO1xyXG4gICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XHJcbiAgICAgICAgb3V0bGluZTpub25lO1xyXG4gICAgICAgIGJvcmRlcjpub25lO1xyXG5cclxuICAgICAgfVxyXG5cclxuICAgICJdfQ== */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AllPrudctsComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
          args: [{
            selector: 'app-all-prudcts',
            templateUrl: './all-prudcts.component.html',
            styleUrls: ['./all-prudcts.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"]
          }];
        }, {
          prudcts: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
          }]
        });
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/interface-manager/all-users/all-users.component.ts":
    /*!*******************************************************************************!*\
      !*** ./src/app/components/interface-manager/all-users/all-users.component.ts ***!
      \*******************************************************************************/
  
    /*! exports provided: AllUsersComponent */
  
    /***/
    function srcAppComponentsInterfaceManagerAllUsersAllUsersComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "AllUsersComponent", function () {
        return AllUsersComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var src_app_services_users_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! src/app/services/users.service */
      "./src/app/services/users.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
  
      function AllUsersComponent_tr_25_Template(rf, ctx) {
        if (rf & 1) {
          var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "tr", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "th");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "td", 4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "td", 6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "button", 7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AllUsersComponent_tr_25_Template_button_click_18_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);
  
            var user_r1 = ctx.$implicit;
  
            var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r3["delete"](user_r1.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "delete");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "button", 7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AllUsersComponent_tr_25_Template_button_click_20_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);
  
            var user_r1 = ctx.$implicit;
  
            var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r5.showDetails(user_r1.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, "Edit");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var user_r1 = ctx.$implicit;
          var i_r2 = ctx.index;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](i_r2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", user_r1.img, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r1.username);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r1.email);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r1.firstName);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r1.firstName);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r1.phone);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](user_r1.role);
        }
      }
  
      var AllUsersComponent = /*#__PURE__*/function () {
        function AllUsersComponent(usersService, router) {
          _classCallCheck(this, AllUsersComponent);
  
          this.usersService = usersService;
          this.router = router;
        }
  
        _createClass(AllUsersComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            this.users$ = this.usersService.all();
          }
        }, {
          key: "showDetails",
          value: function showDetails(id) {
            console.log(id); // this.user =id
  
            this.router.navigate(['users', id]);
          }
        }, {
          key: "delete",
          value: function _delete(id) {
            this.usersService["delete"](id);
          }
        }]);
  
        return AllUsersComponent;
      }();
  
      AllUsersComponent.ɵfac = function AllUsersComponent_Factory(t) {
        return new (t || AllUsersComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_users_service__WEBPACK_IMPORTED_MODULE_1__["UsersService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]));
      };
  
      AllUsersComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: AllUsersComponent,
        selectors: [["app-all-users"]],
        decls: 27,
        vars: 3,
        consts: [[1, "table", "table-hover"], ["scope", "col"], ["style", "cursor: pointer", 4, "ngFor", "ngForOf"], [2, "cursor", "pointer"], ["contenteditable", "true", 1, "pt-3-half"], ["alt", "...", "srcset", "", "width", "50px", "height", "50px", 3, "src"], [1, "d-print-none"], ["type", "button", 1, "btn", "btn-secondary", "btn-sm", 3, "click"]],
        template: function AllUsersComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "all-users works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "table", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "thead");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "tr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "#");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "Image");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "Name");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "Email");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, "firstName");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, "firstName");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "phone");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, "role");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "th", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, "img");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "tbody");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](25, AllUsersComponent_tr_25_Template, 22, 8, "tr", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](26, "async");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](25);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](26, 1, ctx.users$));
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"]],
        styles: [".table[_ngcontent-%COMP%]{\r\n    background:gray;\r\n    color: gold;\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9pbnRlcmZhY2UtbWFuYWdlci9hbGwtdXNlcnMvYWxsLXVzZXJzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxlQUFlO0lBQ2YsV0FBVztBQUNmIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9pbnRlcmZhY2UtbWFuYWdlci9hbGwtdXNlcnMvYWxsLXVzZXJzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudGFibGV7XHJcbiAgICBiYWNrZ3JvdW5kOmdyYXk7XHJcbiAgICBjb2xvcjogZ29sZDtcclxufSJdfQ== */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AllUsersComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-all-users',
            templateUrl: './all-users.component.html',
            styleUrls: ['./all-users.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_users_service__WEBPACK_IMPORTED_MODULE_1__["UsersService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/interface-manager/card-product/card-product.component.ts":
    /*!*************************************************************************************!*\
      !*** ./src/app/components/interface-manager/card-product/card-product.component.ts ***!
      \*************************************************************************************/
  
    /*! exports provided: CardProductComponent */
  
    /***/
    function srcAppComponentsInterfaceManagerCardProductCardProductComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "CardProductComponent", function () {
        return CardProductComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
  
      var CardProductComponent = /*#__PURE__*/function () {
        function CardProductComponent(fb, product) {
          _classCallCheck(this, CardProductComponent);
  
          this.fb = fb;
          this.product = product;
          this.cardfrom = this.fb.group({
            nameProduct: [''],
            category: [''],
            message: [''],
            price: [''],
            timeEnd: ['2020-12-06T20:36:00'],
            image: ['']
          });
        }
  
        _createClass(CardProductComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }, {
          key: "onSubmit",
          value: function onSubmit() {
            var product = this.cardfrom.value;
            product.timeEnd = Date.parse(product.timeEnd);
            var now = product.timeEnd - Date.now();
  
            if (now < 0) {
              product.isActive = false;
            } else {
              product.isActive = true;
            }
  
            console.log(now, product.isActive);
            console.log(product);
            this.product.addproduct(product);
          }
        }]);
  
        return CardProductComponent;
      }();
  
      CardProductComponent.ɵfac = function CardProductComponent_Factory(t) {
        return new (t || CardProductComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]));
      };
  
      CardProductComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: CardProductComponent,
        selectors: [["app-card-product"]],
        decls: 39,
        vars: 2,
        consts: [[1, "body"], [1, "text-center", "box"], ["href", "/interfaceManager/#products", "routerLinkActive", "active"], [1, "panel-heading"], [1, "text-center"], [1, "fa", "fa-edit", "pull-right", "bigicon"], [1, "form-card", 3, "formGroup"], [1, "h3", "mb-3", "font-weight-normal"], ["for", "inputName", 1, ""], ["type", "text", "id", "inputName", "formControlName", "nameProduct", "placeholder", "Name", 1, "form-control"], ["type", "text", "id", "inputName", "formControlName", "category", "placeholder", "category", 1, "form-control"], ["type", "text", "id", "description", "formControlName", "message", "placeholder", "message", 1, "form-control"], ["type", "price", "id", "inputName", "formControlName", "price", "placeholder", "price", 1, "form-control"], ["type", "datetime-local", "id", "inputName", "formControlName", "timeEnd", "placeholder", "time", 1, "form-control"], ["type", "", "id", "inputName", "formControlName", "image", "placeholder", "image", 1, "form-control"], [1, "btn", "btn-lg", "btn-primary", "btn-block", 3, "disabled", "click"]],
        template: function CardProductComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "card-product works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "a", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u274C");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "h4", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "span", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "form", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "h1", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "NEW PRODUCT");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "label", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, " Name ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "input", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](15, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "label", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, "category ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "input", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "label", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, "message ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "textarea", 11);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, "           ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](24, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "label", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26, "price ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "input", 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](28, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "label", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "time ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](31, "input", 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "label", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](34, "image ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](35, "input", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "button", 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CardProductComponent_Template_button_click_37_listener() {
              return ctx.onSubmit();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38, "ADD PRODUCT");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.cardfrom);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](28);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", !ctx.cardfrom.valid);
          }
        },
        directives: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkActive"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormGroupDirective"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControlName"]],
        styles: ["@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');\r\n\r\n.body[_ngcontent-%COMP%]{\r\n\tbackground-position: center;\r\n    background-origin: content-box;\r\n    background-repeat: no-repeat;\r\n    background-size: cover;\r\n\tmin-height:100vh;\r\n\tfont-family: 'Noto Sans', sans-serif;\r\n}\r\n\r\n.box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:50%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n\tpadding:70px 100px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]{\r\n\tposition:relative;\r\n\tmargin-bottom:25px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\ttop:0px;\r\n\tleft:0px;\r\n\tfont-size:16px;\r\n\tcolor:#fff;\t\r\n    pointer-event:none;\r\n\ttransition: all 0.5s ease-in-out;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{ \r\n  border:0;\r\n  border-bottom:1px solid #555;  \r\n  background:transparent;\r\n  width:100%;\r\n  padding:8px 0 5px 0;\r\n  font-size:16px;\r\n  color:#fff;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{ \r\n border:none;\t\r\n outline:none;\r\n border-bottom:1px solid #e74c3c;\t\r\n}\r\n\r\n.btn[_ngcontent-%COMP%]{\r\n\tcolor:#fff;\r\n\tbackground-color:#cee772;\r\n\toutline: none;\r\n    border: 0;\r\n    color: #fff;\r\n\tpadding:10px 20px;\r\n\ttext-transform:uppercase;\r\n\tmargin-top:50px;\r\n\tborder-radius:2px;\r\n\tcursor:pointer;\r\n\tposition:relative;\r\n}\r\n\r\ninput[_ngcontent-%COMP%]{\r\n\tborder-radius: 25px;\r\n}\r\n\r\n.form-signin[_ngcontent-%COMP%] {\r\n    width: 100%;\r\n    max-width: 330px;\r\n    padding: 15px;\r\n    margin: auto;\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9pbnRlcmZhY2UtbWFuYWdlci9jYXJkLXByb2R1Y3QvY2FyZC1wcm9kdWN0LmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUdBQW1HOztBQUVuRztDQUNDLDJCQUEyQjtJQUN4Qiw4QkFBOEI7SUFDOUIsNEJBQTRCO0lBQzVCLHNCQUFzQjtDQUN6QixnQkFBZ0I7Q0FDaEIsb0NBQW9DO0FBQ3JDOztBQUVBO0NBQ0MsaUJBQWlCO0NBQ2pCLFFBQVE7Q0FDUixPQUFPO0NBQ1AsK0JBQStCO0lBQzVCLHFDQUFxQztJQUNyQyxZQUFZO0NBQ2YsaUJBQWlCO0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U6MTZweDtcclxuICBjb2xvcjojZmZmO1xyXG59XHJcbi5pbnB1dC1jb250YWluZXIgaW5wdXQ6Zm9jdXN7IFxyXG4gYm9yZGVyOm5vbmU7XHRcclxuIG91dGxpbmU6bm9uZTtcclxuIGJvcmRlci1ib3R0b206MXB4IHNvbGlkICNlNzRjM2M7XHRcclxufVxyXG4uYnRue1xyXG5cdGNvbG9yOiNmZmY7XHJcblx0YmFja2dyb3VuZC1jb2xvcjojY2VlNzcyO1xyXG5cdG91dGxpbmU6IG5vbmU7XHJcbiAgICBib3JkZXI6IDA7XHJcbiAgICBjb2xvcjogI2ZmZjtcclxuXHRwYWRkaW5nOjEwcHggMjBweDtcclxuXHR0ZXh0LXRyYW5zZm9ybTp1cHBlcmNhc2U7XHJcblx0bWFyZ2luLXRvcDo1MHB4O1xyXG5cdGJvcmRlci1yYWRpdXM6MnB4O1xyXG5cdGN1cnNvcjpwb2ludGVyO1xyXG5cdHBvc2l0aW9uOnJlbGF0aXZlO1xyXG59XHJcblxyXG5cclxuaW5wdXR7XHJcblx0Ym9yZGVyLXJhZGl1czogMjVweDtcclxufVxyXG5cclxuLmZvcm0tc2lnbmluIHtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgbWF4LXdpZHRoOiAzMzBweDtcclxuICAgIHBhZGRpbmc6IDE1cHg7XHJcbiAgICBtYXJnaW46IGF1dG87XHJcbn1cclxuXHJcblxyXG5cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CardProductComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-card-product',
            templateUrl: './card-product.component.html',
            styleUrls: ['./card-product.component.css']
          }]
        }], function () {
          return [{
            type: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]
          }, {
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/interface-manager/edit-product/edit-product.component.ts":
    /*!*************************************************************************************!*\
      !*** ./src/app/components/interface-manager/edit-product/edit-product.component.ts ***!
      \*************************************************************************************/
  
    /*! exports provided: EditProductComponent */
  
    /***/
    function srcAppComponentsInterfaceManagerEditProductEditProductComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "EditProductComponent", function () {
        return EditProductComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var _spinner_spinner_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ../../spinner/spinner.component */
      "./src/app/components/spinner/spinner.component.ts");
  
      function EditProductComponent_ng_container_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "form", 4, 5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function EditProductComponent_ng_container_2_Template_form_ngSubmit_3_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
  
            var prudct_r3 = ctx.ngIf;
  
            var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](4);
  
            var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r7.onSubmit(_r4, prudct_r3.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "h1", 6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "Edit product ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "img", 7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 8, 9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, " category ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "input", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, " nameProduct ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "input", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, " message ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](21, "input", 13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](22, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, " image");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](25, "input", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "input", 15, 16);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function EditProductComponent_ng_container_2_Template_input_change_26_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
  
            var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](27);
  
            var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r9.onUpload(_r6);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](28, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, " price ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](31, "input", 17);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](34, " tineEnd");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](35, "input", 18);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](36, "date");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](37, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "label", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39, " isActive");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "input", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "button", 20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42, "edit ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
        }
  
        if (rf & 2) {
          var prudct_r3 = ctx.ngIf;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", prudct_r3.image, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", prudct_r3.category);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", prudct_r3.nameProduct);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", prudct_r3.message);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", prudct_r3.image);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", prudct_r3.price);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](36, 8, prudct_r3.timeEnd));
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", prudct_r3.isActive);
        }
      }
  
      function EditProductComponent_ng_template_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "app-spinner");
        }
      }
  
      var EditProductComponent = /*#__PURE__*/function () {
        function EditProductComponent(router, activeRoute, productsService) {
          _classCallCheck(this, EditProductComponent);
  
          this.router = router;
          this.activeRoute = activeRoute;
          this.productsService = productsService;
          this.name = {
            category: '',
            nameProduct: '',
            message: '',
            tineEnd: '',
            price: '',
            image: 'https://raw.githubusercontent.com/ChaimBaror/ng-node-auction-Shop/main/src/assets/Apple_.png'
          };
        }
  
        _createClass(EditProductComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            this.product$ = this.productsService.getById(this.activeRoute.snapshot.params.id);
          }
        }, {
          key: "onUpload",
          value: function onUpload(e) {
            var _this4 = this;
  
            console.log("e", e);
            var image = e.files[0];
            var fileReader = new FileReader();
  
            fileReader.onload = function (e) {
              _this4.image = image;
              console.log("this.image ", _this4.image);
            };
  
            fileReader.readAsDataURL(image); // let formData = new FormData()
            // formData.append('image', image );
          }
        }, {
          key: "onSubmit",
          value: function onSubmit(f, id) {
            f.value.name.timeEnd = Date.parse(f.value.name.timeEnd);
  
            if (f.value.name.timeEnd - Date.now() < 0) {
              f.value.name.isActive = false;
            }
  
            this.productsService.uploadImage(this.image, id);
            this.productsService.editProducts(f.value.name, id);
            this.router.navigate(['AllPrudcts']); // console.log(f.value.name.tineEnd);
            // this.name = f.value
            // console.log(f.value);  // {name: {first: 'Nancy', last: 'Drew'}, email: ''}
            // console.log(f.valid);  // true
            // console.log(JSON.stringify(f.value))
          }
        }]);
  
        return EditProductComponent;
      }();
  
      EditProductComponent.ɵfac = function EditProductComponent_Factory(t) {
        return new (t || EditProductComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]));
      };
  
      EditProductComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: EditProductComponent,
        selectors: [["app-edit-product"]],
        decls: 6,
        vars: 4,
        consts: [[4, "ngIf", "ngIfElse"], ["loadingUser", ""], [1, "row", "body"], [1, "card", "box"], [1, "card-from", 3, "ngSubmit"], ["f", "ngForm"], [1, "h3", "mb-3", "font-weight-normal"], ["alt", "", "srcset", "", "width", "200px", "height", "200px", 3, "src"], ["ngModelGroup", "name"], ["nameCtrl", "ngModelGroup"], ["for", "inputName", 1, ""], ["name", "category", "minlength", "2", "placeholder", "category", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "nameProduct", "minlength", "2", "placeholder", "nameProduct", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "message", "placeholder", "message", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "image", "placeholder", "image", "ngModel", "", 1, "form-control", 3, "ngModel"], ["type", "file", "placeholder", "image", "ngModel", "", 3, "change"], ["image", ""], ["type", "number", "name", "price", "placeholder", "price", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "timeEnd", "type", "datetime-local", "placeholder", "timeEnd", "ngModel", "", 1, "form-control", 3, "ngModel"], ["type", "checkbox", "name", "isActive", "placeholder", "isActive", "ngModel", "", 1, "form-control", 3, "ngModel"], [1, "btn", "btn-lg", "btn-primary", "btn-block"]],
        template: function EditProductComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "edit-product works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, EditProductComponent_ng_container_2_Template, 43, 10, "ng-container", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, EditProductComponent_ng_template_4_Template, 1, 0, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
          }
  
          if (rf & 2) {
            var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, ctx.product$))("ngIfElse", _r1);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgForm"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModelGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["MinLengthValidator"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NumberValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _spinner_spinner_component__WEBPACK_IMPORTED_MODULE_5__["SpinnerComponent"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"]],
        styles: ["@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');\r\n\r\n.body[_ngcontent-%COMP%]{\r\n\tbackground-position: center;\r\n    background-origin: content-box;\r\n    background-repeat: no-repeat;\r\n    background-size: cover;\r\n\tmin-height:100vh;\r\n\tfont-family: 'Noto Sans', sans-serif;\r\n}\r\n\r\n.box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:50%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n\tpadding:70px 100px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]{\r\n\tposition:relative;\r\n\tmargin-bottom:25px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\ttop:0px;\r\n\tleft:0px;\r\n\tfont-size:16px;\r\n\tcolor:#fff;\t\r\n    pointer-event:none;\r\n\ttransition: all 0.5s ease-in-out;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{ \r\n  border:0;\r\n  border-bottom:1px solid #555;  \r\n  background:transparent;\r\n  width:100%;\r\n  padding:8px 0 5px 0;\r\n  font-size:16px;\r\n  color:#fff;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{ \r\n border:none;\t\r\n outline:none;\r\n border-bottom:1px solid #e74c3c;\t\r\n}\r\n\r\n.btn[_ngcontent-%COMP%]{\r\n\tcolor:#fff;\r\n\tbackground-color:#cee772;\r\n\toutline: none;\r\n    border: 0;\r\n    color: #fff;\r\n\tpadding:10px 20px;\r\n\ttext-transform:uppercase;\r\n\tmargin-top:50px;\r\n\tborder-radius:2px;\r\n\tcursor:pointer;\r\n\tposition:relative;\r\n}\r\n\r\ninput[_ngcontent-%COMP%]{\r\n\tborder-radius: 25px;\r\n}\r\n\r\n.form-signin[_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cblxyXG5cclxuaW5wdXR7XHJcblx0Ym9yZGVyLXJhZGl1czogMjVweDtcclxufVxyXG5cclxuLmZvcm0tc2lnbmluIHtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgbWF4LXdpZHRoOiAzMzBweDtcclxuICAgIHBhZGRpbmc6IDE1cHg7XHJcbiAgICBtYXJnaW46IGF1dG87XHJcbn1cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditProductComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-edit-product',
            templateUrl: './edit-product.component.html',
            styleUrls: ['./edit-product.component.css']
          }]
        }], function () {
          return [{
            type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]
          }, {
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/interface-manager/interface-manager.component.ts":
    /*!*****************************************************************************!*\
      !*** ./src/app/components/interface-manager/interface-manager.component.ts ***!
      \*****************************************************************************/
  
    /*! exports provided: InterfaceManagerComponent */
  
    /***/
    function srcAppComponentsInterfaceManagerInterfaceManagerComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "InterfaceManagerComponent", function () {
        return InterfaceManagerComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _all_users_all_users_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./all-users/all-users.component */
      "./src/app/components/interface-manager/all-users/all-users.component.ts");
      /* harmony import */
  
  
      var _card_product_card_product_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./card-product/card-product.component */
      "./src/app/components/interface-manager/card-product/card-product.component.ts");
      /* harmony import */
  
  
      var _all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! ./all-prudcts/all-prudcts.component */
      "./src/app/components/interface-manager/all-prudcts/all-prudcts.component.ts");
  
      function InterfaceManagerComponent_div_13_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "app-card-product");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function InterfaceManagerComponent_div_14_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "app-all-prudcts");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      var InterfaceManagerComponent = /*#__PURE__*/function () {
        function InterfaceManagerComponent() {
          _classCallCheck(this, InterfaceManagerComponent);
  
          this.showcardproduct = false;
          this.showAlldproduct = false;
        }
  
        _createClass(InterfaceManagerComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }, {
          key: "selectcategory",
          value: function selectcategory(select) {
            switch (select) {
              case 'products':
                this.showcardproduct = !this.showcardproduct;
                break;
  
              case 'allproducts':
                this.showAlldproduct = !this.showAlldproduct;
                break;
  
              case 'user':
                this.showAlldproduct = !this.showAlldproduct;
                break;
            }
          }
        }]);
  
        return InterfaceManagerComponent;
      }();
  
      InterfaceManagerComponent.ɵfac = function InterfaceManagerComponent_Factory(t) {
        return new (t || InterfaceManagerComponent)();
      };
  
      InterfaceManagerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: InterfaceManagerComponent,
        selectors: [["app-manager"]],
        decls: 17,
        vars: 2,
        consts: [[1, "container"], ["href", "interfaceManager#products", 1, "btn", "btn-success"], ["href", "interfaceManager#allproduct"], ["id", "products", 1, "btn", "btn-success", 3, "click"], [1, "btn", "btn-success", 3, "click"], [4, "ngIf"], ["id", "allproduct", 4, "ngIf"], ["id", "#products"], ["id", "allproduct"]],
        template: function InterfaceManagerComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "interface-manager works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "button", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "All Users");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "a", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "All Users");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function InterfaceManagerComponent_Template_button_click_7_listener() {
              return ctx.selectcategory("allproducts");
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, " All products");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "a", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, "All Users");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "button", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function InterfaceManagerComponent_Template_button_click_11_listener() {
              return ctx.selectcategory("products");
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, " new products");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, InterfaceManagerComponent_div_13_Template, 2, 0, "div", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, InterfaceManagerComponent_div_14_Template, 2, 0, "div", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "div", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "app-all-users");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showcardproduct);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showAlldproduct);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _all_users_all_users_component__WEBPACK_IMPORTED_MODULE_2__["AllUsersComponent"], _card_product_card_product_component__WEBPACK_IMPORTED_MODULE_3__["CardProductComponent"], _all_prudcts_all_prudcts_component__WEBPACK_IMPORTED_MODULE_4__["AllPrudctsComponent"]],
        styles: [".table[_ngcontent-%COMP%]{\r\n    background:gray;\r\n    color: gold;\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9pbnRlcmZhY2UtbWFuYWdlci9pbnRlcmZhY2UtbWFuYWdlci5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksZUFBZTtJQUNmLFdBQVc7QUFDZiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvaW50ZXJmYWNlLW1hbmFnZXIvaW50ZXJmYWNlLW1hbmFnZXIuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi50YWJsZXtcclxuICAgIGJhY2tncm91bmQ6Z3JheTtcclxuICAgIGNvbG9yOiBnb2xkO1xyXG59Il19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InterfaceManagerComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-manager',
            templateUrl: './interface-manager.component.html',
            styleUrls: ['./interface-manager.component.css']
          }]
        }], function () {
          return [];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/interface-manager/user/user.component.ts":
    /*!*********************************************************************!*\
      !*** ./src/app/components/interface-manager/user/user.component.ts ***!
      \*********************************************************************/
  
    /*! exports provided: UserComponent */
  
    /***/
    function srcAppComponentsInterfaceManagerUserUserComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "UserComponent", function () {
        return UserComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var src_app_services_users_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! src/app/services/users.service */
      "./src/app/services/users.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var _spinner_spinner_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ../../spinner/spinner.component */
      "./src/app/components/spinner/spinner.component.ts");
  
      function UserComponent_ng_container_2_option_35_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "option", 22);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var role_r7 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngValue", role_r7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](role_r7);
        }
      }
  
      function UserComponent_ng_container_2_Template(rf, ctx) {
        if (rf & 1) {
          var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "pre");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "json");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "a", 4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "\u274C");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "form", 5, 6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function UserComponent_ng_container_2_Template_form_ngSubmit_8_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);
  
            var user_r3 = ctx.ngIf;
  
            var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](9);
  
            var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r8.onSubmit(_r4, user_r3.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "h1", 7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "Edit User ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "img", 8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 9, 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](15, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, " username ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](18, "input", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, " firstName ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](22, "input", 13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](23, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, " lastName ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](26, "input", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29, " email");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](30, "input", 15);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](31, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](33, " role");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "select", 16);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](35, UserComponent_ng_container_2_option_35_Template, 2, 2, "option", 17);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](38, " password ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](39, "input", 18);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](42, " phone ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](43, "input", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](44, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "label", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](46, " img");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](47, "input", 20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](48, "button", 21);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](49, "edit user");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
        }
  
        if (rf & 2) {
          var user_r3 = ctx.ngIf;
  
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 11, user_r3));
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", user_r3.img, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.username);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.firstName);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.lastName);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.email);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.role);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r0.roles);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.password);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.phone);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", user_r3.img);
        }
      }
  
      function UserComponent_ng_template_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "app-spinner");
        }
      }
  
      var UserComponent = /*#__PURE__*/function () {
        function UserComponent(usersService, activeRoute) {
          _classCallCheck(this, UserComponent);
  
          this.usersService = usersService;
          this.activeRoute = activeRoute;
          this.name = {
            username: '',
            firstName: '',
            lastName: '',
            password: '',
            phone: '',
            img: ''
          };
          this.roles = ["role", "Admin", "User"];
        }
  
        _createClass(UserComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            this.user$ = this.usersService.getById(this.activeRoute.snapshot.params.id); //  this.user$ = this.usersService.getById(this.user.id);
          }
        }, {
          key: "onSubmit",
          value: function onSubmit(f, id) {
            console.log(id);
            this.name = f.value;
            console.log(f.value); // {name: {first: 'Nancy', last: 'Drew'}, email: ''}
  
            console.log(f.valid); // true
  
            console.log(JSON.stringify(f.value));
            this.usersService.editUser(f.value.name, id);
          }
        }]);
  
        return UserComponent;
      }();
  
      UserComponent.ɵfac = function UserComponent_Factory(t) {
        return new (t || UserComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_users_service__WEBPACK_IMPORTED_MODULE_1__["UsersService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"]));
      };
  
      UserComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: UserComponent,
        selectors: [["app-user"]],
        inputs: {
          user: "user"
        },
        decls: 6,
        vars: 4,
        consts: [[4, "ngIf", "ngIfElse"], ["loadingUser", ""], [1, "row", "body"], [1, "card", "box"], ["routerLink", "/interfaceManager", "routerLinkActive", "active"], [1, "card-from", 3, "ngSubmit"], ["f", "ngForm"], [1, "h3", "mb-3", "font-weight-normal"], ["alt", "", "srcset", "", "width", "200px", "height", "200px", 3, "src"], ["ngModelGroup", "name"], ["nameCtrl", "ngModelGroup"], ["for", "inputName", 1, ""], ["name", "username", "minlength", "2", "placeholder", "username", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "firstName", "placeholder", "first Name", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "lastName", "placeholder", "lastName", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "email", "placeholder", "email", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "role", "ngModel", "", 1, "form-control", 3, "ngModel"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["name", "password", "placeholder", "password", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "phone", "placeholder", " number phone", "ngModel", "", 1, "form-control", 3, "ngModel"], ["name", "img", "placeholder", " img", "ngModel", "", 1, "form-control", 3, "ngModel"], [1, "btn", "btn-lg", "btn-primary", "btn-block"], [3, "ngValue"]],
        template: function UserComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "user works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, UserComponent_ng_container_2_Template, 50, 13, "ng-container", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, UserComponent_ng_template_4_Template, 1, 0, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
          }
  
          if (rf & 2) {
            var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, ctx.user$))("ngIfElse", _r1);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkActive"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgForm"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModelGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["MinLengthValidator"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["SelectControlValueAccessor"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgSelectOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["ɵangular_packages_forms_forms_x"], _spinner_spinner_component__WEBPACK_IMPORTED_MODULE_5__["SpinnerComponent"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["JsonPipe"]],
        styles: ["@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');\r\n\r\n.body[_ngcontent-%COMP%]{\r\n\tbackground-position: center;\r\n    background-origin: content-box;\r\n    background-repeat: no-repeat;\r\n    background-size: cover;\r\n\tmin-height:100vh;\r\n\tfont-family: 'Noto Sans', sans-serif;\r\n}\r\n\r\n.box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:50%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n\tpadding:70px 100px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]{\r\n\tposition:relative;\r\n\tmargin-bottom:25px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\ttop:0px;\r\n\tleft:0px;\r\n\tfont-size:16px;\r\n\tcolor:#fff;\t\r\n    pointer-event:none;\r\n\ttransition: all 0.5s ease-in-out;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{ \r\n  border:0;\r\n  border-bottom:1px solid #555;  \r\n  background:transparent;\r\n  width:100%;\r\n  padding:8px 0 5px 0;\r\n  font-size:16px;\r\n  color:#fff;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{ \r\n border:none;\t\r\n outline:none;\r\n border-bottom:1px solid #e74c3c;\t\r\n}\r\n\r\n.btn[_ngcontent-%COMP%]{\r\n\tcolor:#fff;\r\n\tbackground-color:#cee772;\r\n\toutline: none;\r\n    border: 0;\r\n    color: #fff;\r\n\tpadding:10px 20px;\r\n\ttext-transform:uppercase;\r\n\tmargin-top:50px;\r\n\tborder-radius:2px;\r\n\tcursor:pointer;\r\n\tposition:relative;\r\n}\r\n\r\ninput[_ngcontent-%COMP%]{\r\n\tborder-radius: 25px;\r\n}\r\n\r\n.form-signin[_ngcontent-%COMP%] {\r\n    width: 100%;\r\n    max-width: 330px;\r\n    padding: 15px;\r\n    margin: auto;\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9pbnRlcmZhY2UtbWFuYWdlci91c2VyL3VzZXIuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtR0FBbUc7O0FBRW5HO0NBQ0MsMkJBQTJCO0lBQ3hCLDhCQUE4QjtJQUM5Qiw0QkFBNEI7SUFDNUIsc0JBQXNCO0NBQ3pCLGdCQUFnQjtDQUNoQixvQ0FBb0M7QUFDckM7O0FBRUE7Q0FDQyxpQkFBaUI7Q0FDakIsUUFBUTtDQUNSLE9BQU87Q0FDUCwrQkFBK0I7SUFDNUIscUNBQXFDO0lBQ3JDLFlBQVk7Q0FD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tcclxufVxyXG4uaW5wdXQtY29udGFpbmVyIGlucHV0OmZvY3VzeyBcclxuIGJvcmRlcjpub25lO1x0XHJcbiBvdXRsaW5lOm5vbmU7XHJcbiBib3JkZXItYm90dG9tOjFweCBzb2xpZCAjZTc0YzNjO1x0XHJcbn1cclxuLmJ0bntcclxuXHRjb2xvcjojZmZmO1xyXG5cdGJhY2tncm91bmQtY29sb3I6I2NlZTc3MjtcclxuXHRvdXRsaW5lOiBub25lO1xyXG4gICAgYm9yZGVyOiAwO1xyXG4gICAgY29sb3I6ICNmZmY7XHJcblx0cGFkZGluZzoxMHB4IDIwcHg7XHJcblx0dGV4dC10cmFuc2Zvcm06dXBwZXJjYXNlO1xyXG5cdG1hcmdpbi10b3A6NTBweDtcclxuXHRib3JkZXItcmFkaXVzOjJweDtcclxuXHRjdXJzb3I6cG9pbnRlcjtcclxuXHRwb3NpdGlvbjpyZWxhdGl2ZTtcclxufVxyXG5cclxuXHJcbmlucHV0e1xyXG5cdGJvcmRlci1yYWRpdXM6IDI1cHg7XHJcbn1cclxuXHJcbi5mb3JtLXNpZ25pbiB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIG1heC13aWR0aDogMzMwcHg7XHJcbiAgICBwYWRkaW5nOiAxNXB4O1xyXG4gICAgbWFyZ2luOiBhdXRvO1xyXG59XHJcblxyXG5cclxuXHJcbiJdfQ== */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UserComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-user',
            templateUrl: './user.component.html',
            styleUrls: ['./user.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_users_service__WEBPACK_IMPORTED_MODULE_1__["UsersService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"]
          }];
        }, {
          user: [{
            type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
          }]
        });
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/loging/loging.component.ts":
    /*!*******************************************************!*\
      !*** ./src/app/components/loging/loging.component.ts ***!
      \*******************************************************/
  
    /*! exports provided: LogingComponent */
  
    /***/
    function srcAppComponentsLogingLogingComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "LogingComponent", function () {
        return LogingComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/loging.service */
      "./src/app/services/loging.service.ts");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _navbar_navbar_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! ../navbar/navbar.component */
      "./src/app/components/navbar/navbar.component.ts");
  
      function LogingComponent_div_21_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05E0\u05D3\u05E8\u05E9 \u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function LogingComponent_div_22_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function LogingComponent_div_27_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05E0\u05D3\u05E8\u05E9 \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function LogingComponent_div_28_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4 ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function LogingComponent_ng_template_44_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "app-navbar");
        }
      }
  
      var LogingComponent = /*#__PURE__*/function () {
        function LogingComponent(fb, loggingSer) {
          _classCallCheck(this, LogingComponent);
  
          this.fb = fb;
          this.loggingSer = loggingSer;
          this.signfrom = this.fb.group({
            UserName: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].minLength(2)]],
            firstName: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].minLength(2)]],
            lastName: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].minLength(2)]],
            email: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].pattern('^[a-zA-Z][a-zA-Z0-9_\.]+@[a-z0-9]{2,}(\.[a-z0-9]{2,4}){1,}$')]],
            phoneNumber: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].pattern('0[0-9\s.-]{5,13}')]],
            password: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].min(4)]],
            agree: [false],
            img: ['assets/images/icon/avataricon.png']
          });
        }
  
        _createClass(LogingComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }, {
          key: "onSubmit",
          value: function onSubmit() {
            console.log(this.signfrom.value);
            this.loggingSer.setUser({
              username: this.signfrom.controls.UserName.value,
              firstName: this.signfrom.controls.firstName.value,
              lastName: this.signfrom.controls.lastName.value,
              email: this.signfrom.controls.email.value,
              password: this.signfrom.controls.password.value,
              phone: this.signfrom.controls.phoneNumber.value,
              agree: this.signfrom.controls.agree.value,
              img: this.signfrom.controls.img.value
            });
            this.signfrom.reset();
          }
        }]);
  
        return LogingComponent;
      }();
  
      LogingComponent.ɵfac = function LogingComponent_Factory(t) {
        return new (t || LogingComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__["LogingService"]));
      };
  
      LogingComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: LogingComponent,
        selectors: [["app-loging"]],
        decls: 46,
        vars: 10,
        consts: [[1, "body"], [1, "text-center", "box"], [1, "form-signin", 3, "formGroup"], [1, "h3", "mb-3", "font-weight-normal"], ["for", "inputName", 1, ""], ["type", "text", "id", "inputName", "formControlName", "UserName", "placeholder", "User  Name", "required", "", "autofocus", "", 1, "form-control"], ["type", "text", "id", "inputName", "formControlName", "firstName", "placeholder", "first Name", "required", "", "autofocus", "", 1, "form-control"], ["type", "text", "id", "inputName", "formControlName", "lastName", "placeholder", "last Name", 1, "form-control"], ["id", "inputName", "formControlName", "phoneNumber", "placeholder", "phone number", "required", "", "autofocus", "", 1, "form-control"], ["class", "invalid-feedback", 4, "ngIf"], ["formControlName", "email", "id", "inputEmail", "placeholder", "Email", 1, "form-control"], ["for", "inputPassword", 1, ""], ["type", "password", "id", "inputPassword", "formControlName", "password", "placeholder", "Password", "required", "", 1, "form-control"], [1, "checkbox", "mb-3"], ["type", "checkbox", "formControlName", "agree", "value", "remember-me"], [1, "btn", "btn-lg", "btn-primary", "btn-block", 3, "disabled", "click"], ["routerLink", "/SignUn", "routerLinkActive", "active"], [1, "mt-5", "mb-3", "text-muted"], ["memberTemplate", ""], [1, "invalid-feedback"]],
        template: function LogingComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "loging works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "form", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "h1", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "Please sign up");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "label", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "User Name ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "input", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "label", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "First Name ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "input", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "label", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, "Last Name ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "input", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "label", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "Number ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](20, "input", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, LogingComponent_div_21_Template, 2, 0, "div", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, LogingComponent_div_22_Template, 2, 0, "div", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](23, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "label", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, "Email ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](26, "input", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](27, LogingComponent_div_27_Template, 2, 0, "div", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](28, LogingComponent_div_28_Template, 2, 0, "div", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](29, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "label", 11);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](31, "Password");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "input", 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](33, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "label");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "input", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37, " Remember me ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "button", 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LogingComponent_Template_button_click_38_listener() {
              return ctx.onSubmit();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39, "LOGING");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "a", 16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, "sign in");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "p", 17);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43, "\xA9 - ChaimBaror - 2020");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](44, LogingComponent_ng_template_44_Template, 1, 0, "ng-template", null, 18, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.signfrom);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("is-invalid", ctx.signfrom.get("phoneNumber").invalid && ctx.signfrom.get("phoneNumber").touched);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("phoneNumber").errors == null ? null : ctx.signfrom.get("phoneNumber").errors.required);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("phoneNumber").errors == null ? null : ctx.signfrom.get("phoneNumber").errors.pattern);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("is-invalid", ctx.signfrom.get("email").invalid && ctx.signfrom.get("email").touched);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("email").errors == null ? null : ctx.signfrom.get("email").errors.required);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("email").errors == null ? null : ctx.signfrom.get("email").errors.pattern);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", !ctx.signfrom.valid);
          }
        },
        directives: [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormGroupDirective"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControlName"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["RequiredValidator"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["CheckboxControlValueAccessor"], _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterLinkWithHref"], _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterLinkActive"], _navbar_navbar_component__WEBPACK_IMPORTED_MODULE_5__["NavbarComponent"]],
        styles: ["@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');\r\n\r\n.body[_ngcontent-%COMP%]{\r\n\tbackground-image: url(\"https://images.pexels.com/photos/891252/pexels-photo-891252.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\");\r\n\tbackground-position: center;\r\n    background-origin: content-box;\r\n    background-repeat: no-repeat;\r\n    background-size: cover;\r\n\tmin-height:100vh;\r\n\tfont-family: 'Noto Sans', sans-serif;\r\n}\r\n\r\n.box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:50%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n\tpadding:70px 100px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]{\r\n\tposition:relative;\r\n\tmargin-bottom:25px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\ttop:0px;\r\n\tleft:0px;\r\n\tfont-size:16px;\r\n\tcolor:#fff;\t\r\n    pointer-event:none;\r\n\ttransition: all 0.5s ease-in-out;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{ \r\n  border:0;\r\n  border-bottom:1px solid #555;  \r\n  background:transparent;\r\n  width:100%;\r\n  padding:8px 0 5px 0;\r\n  font-size:16px;\r\n  color:#fff;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{ \r\n border:none;\t\r\n outline:none;\r\n border-bottom:1px solid #e74c3c;\t\r\n}\r\n\r\n.btn[_ngcontent-%COMP%]{\r\n\tcolor:#fff;\r\n\tbackground-color:#e74c3c;\r\n\toutline: none;\r\n    border: 0;\r\n    color: #fff;\r\n\tpadding:10px 20px;\r\n\ttext-transform:uppercase;\r\n\tmargin-top:50px;\r\n\tborder-radius:2px;\r\n\tcursor:pointer;\r\n\tposition:relative;\r\n}\r\n\r\n.form-signin[_ngcontent-%COMP%] {\r\n    width: 100%;\r\n    max-width: 330px;\r\n    padding: 15px;\r\n    margin: auto;\r\n}\r\n\r\ninput[_ngcontent-%COMP%]{\r\n\tborder-radius: 25px;\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9sb2dpbmcvbG9naW5nLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUdBQW1HOztBQUVuRztDQUNDLHNJQUFzSTtDQUN0SSwyQkFBMkI7SUFDeEIsOEJBQThCO0lBQzlCLDRCQUE0QjtJQUM1QixzQkFBc0I7Q0FDekIsZ0JBQWdCO0NBQ2hCLG9DQUFvQztBQUNyQzs7QUFFQTtDQUNDLGlCQUFpQjtDQUNqQixRQUFRO0NBQ1IsT0FBTztDQUNQLCtCQUErQjtJQUM1QixxQ0FBcUM7SUFDckMsWUFBWTtDQUN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mRlci1ib3R0b206MXB4IHNvbGlkICM1NTU7ICBcclxuICBiYWNrZ3JvdW5kOnRyYW5zcGFyZW50O1xyXG4gIHdpZHRoOjEwMCU7XHJcbiAgcGFkZGluZzo4cHggMCA1cHggMDtcclxuICBmb250LXNpemU6MTZweDtcclxuICBjb2xvcjojZmZmO1xyXG59XHJcbi5pbnB1dC1jb250YWluZXIgaW5wdXQ6Zm9jdXN7IFxyXG4gYm9yZGVyOm5vbmU7XHRcclxuIG91dGxpbmU6bm9uZTtcclxuIGJvcmRlci1ib3R0b206MXB4IHNvbGlkICNlNzRjM2M7XHRcclxufVxyXG4uYnRue1xyXG5cdGNvbG9yOiNmZmY7XHJcblx0YmFja2dyb3VuZC1jb2xvcjojZTc0YzNjO1xyXG5cdG91dGxpbmU6IG5vbmU7XHJcbiAgICBib3JkZXI6IDA7XHJcbiAgICBjb2xvcjogI2ZmZjtcclxuXHRwYWRkaW5nOjEwcHggMjBweDtcclxuXHR0ZXh0LXRyYW5zZm9ybTp1cHBlcmNhc2U7XHJcblx0bWFyZ2luLXRvcDo1MHB4O1xyXG5cdGJvcmRlci1yYWRpdXM6MnB4O1xyXG5cdGN1cnNvcjpwb2ludGVyO1xyXG5cdHBvc2l0aW9uOnJlbGF0aXZlO1xyXG59XHJcblxyXG5cclxuXHJcblxyXG4uZm9ybS1zaWduaW4ge1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbiAgICBtYXgtd2lkdGg6IDMzMHB4O1xyXG4gICAgcGFkZGluZzogMTVweDtcclxuICAgIG1hcmdpbjogYXV0bztcclxufVxyXG5cclxuXHJcbmlucHV0e1xyXG5cdGJvcmRlci1yYWRpdXM6IDI1cHg7XHJcbn1cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LogingComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-loging',
            templateUrl: './loging.component.html',
            styleUrls: ['./loging.component.css']
          }]
        }], function () {
          return [{
            type: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]
          }, {
            type: src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__["LogingService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/loging/sign-on/sign-on.component.ts":
    /*!****************************************************************!*\
      !*** ./src/app/components/loging/sign-on/sign-on.component.ts ***!
      \****************************************************************/
  
    /*! exports provided: SignOnComponent */
  
    /***/
    function srcAppComponentsLogingSignOnSignOnComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "SignOnComponent", function () {
        return SignOnComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/forms */
      "./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
      /* harmony import */
  
  
      var src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/loging.service */
      "./src/app/services/loging.service.ts");
      /* harmony import */
  
  
      var src_app_services_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! src/app/services/api.service */
      "./src/app/services/api.service.ts");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
  
      function SignOnComponent_div_14_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05E0\u05D3\u05E8\u05E9 \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function SignOnComponent_div_15_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4 ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function SignOnComponent_div_22_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05D3\u05E8\u05D5\u05E9\u05D4 \u05E1\u05D9\u05E1\u05DE\u05D0 ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function SignOnComponent_div_23_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " \u05D4\u05E1\u05D9\u05E1\u05DE\u05D4 \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05DB\u05D9\u05DC 8 \u05EA\u05D5\u05D5\u05D9\u05DD \u05DC\u05E4\u05D7\u05D5\u05EA ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      var SignOnComponent = /*#__PURE__*/function () {
        function SignOnComponent(fb, loggingSer, apiService) {
          _classCallCheck(this, SignOnComponent);
  
          this.fb = fb;
          this.loggingSer = loggingSer;
          this.apiService = apiService;
          this.signfrom = this.fb.group({
            email: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].pattern('^[a-zA-Z][a-zA-Z0-9_\.]+@[a-z0-9]{2,}(\.[a-z0-9]{2,4}){1,}$')]],
            password: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required, _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].pattern('.{4,}$')]],
            agree: [true]
          });
        }
  
        _createClass(SignOnComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }, {
          key: "onSubmit",
          value: function onSubmit() {
            console.log(this.signfrom.value);
            this.loggingSer.signUpUser(this.signfrom.controls.email.value, this.signfrom.controls.password.value);
          }
        }, {
          key: "signInGoogle",
          value: function signInGoogle() {
            console.log('signInGoogle');
            this.apiService.request('google', 'GET').subscribe(function (res) {
              return console.log(res);
            });
          }
        }]);
  
        return SignOnComponent;
      }();
  
      SignOnComponent.ɵfac = function SignOnComponent_Factory(t) {
        return new (t || SignOnComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__["LogingService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_api_service__WEBPACK_IMPORTED_MODULE_3__["ApiService"]));
      };
  
      SignOnComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: SignOnComponent,
        selectors: [["app-sign-on"]],
        decls: 49,
        vars: 10,
        consts: [[1, "body"], [1, "text-center", "box"], [1, "btn-google", "btn-lg", "btn-primary", 3, "click"], ["loginRef", ""], [1, "fa", "fa-google", "ml-3"], [1, "form-signin", 3, "formGroup"], [1, "h3", "mb-3", "font-weight-normal"], [1, "input-container"], [1, "fa", "fa-envelope", "icon"], ["formControlName", "email", "id", "inputEmail", "placeholder", "Email", 1, "form-control"], ["class", "invalid-feedback", 4, "ngIf"], ["for", "inputPassword", 1, "sr-only"], [1, "fa", "fa-key", "icon"], ["formControlName", "password", "type", "password", "id", "inputPassword", "placeholder", "Password", 1, "form-control"], [1, "checkbox", "mb-3"], ["type", "checkbox", "formControlName", "agree", "value", "remember-me"], [1, "btn", "btn-lg", "btn-primary", "btn-block", 3, "disabled", "click"], [1, "mt-5", "mb-3", "text-muted"], [1, "text-center"], ["href", "https://gae-init.appspot.com/signin/gae/?next=%2F&remember=true", "title", "Sign in with GAE", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-google"], [1, "fa", "fa-google"], ["href", "https://gae-init.appspot.com/signin/facebook/?next=%2F&remember=true", "title", "Sign in with Facebook", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-facebook"], [1, "fa", "fa-facebook"], ["href", "https://gae-init.appspot.com/signin/twitter/?next=%2F&remember=true", "title", "Sign in with Twitter", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-twitter"], [1, "fa", "fa-twitter"], ["href", "https://gae-init.appspot.com/signin/bitbucket/?next=%2F&remember=true", "title", "Sign in with Bitbucket", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-bitbucket"], [1, "fa", "fa-bitbucket"], ["href", "https://gae-init.appspot.com/signin/github/?next=%2F&remember=true", "title", "Sign in with GitHub", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-github"], [1, "fa", "fa-github"], ["href", "https://gae-init.appspot.com/signin/google/?next=%2F&remember=true", "title", "Sign in with Google", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-google"], ["href", "https://gae-init.appspot.com/signin/microsoft/?next=%2F&remember=true", "title", "Sign in with Microsoft", "rel", "nofollow", 1, "btn", "btn-lg", "btn-social-icon", "btn-microsoft"], [1, "fa", "fa-windows"], [1, "invalid-feedback"]],
        template: function SignOnComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "sign-on works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 2, 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SignOnComponent_Template_button_click_4_listener() {
              return ctx.signInGoogle();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, " \u05DC\u05D4\u05D9\u05DB\u05E0\u05E1 \u05D3\u05E8\u05DA \u05D7\u05E9\u05D1\u05D5\u05DF \u05D2\u05D5\u05D2\u05DC ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "i", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "form", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "h1", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, "SIGN IN");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "i", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "input", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, SignOnComponent_div_14_Template, 2, 0, "div", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, SignOnComponent_div_15_Template, 2, 0, "div", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "label", 11);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "Password");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "div", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](20, "i", 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](21, "input", 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, SignOnComponent_div_22_Template, 2, 0, "div", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](23, SignOnComponent_div_23_Template, 2, 0, "div", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](24, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "div", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "label");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](27, "input", 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28, " Remember me ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "button", 16);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SignOnComponent_Template_button_click_29_listener() {
              return ctx.onSubmit();
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "Sign in");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "p", 17);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32, " \xA9 - ChaimBaror - 2020");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 18);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "a", 19);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "span", 20);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "a", 21);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](38, "span", 22);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "a", 23);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](40, "span", 24);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "a", 25);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](42, "span", 26);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](43, "a", 27);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](44, "span", 28);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](45, "a", 29);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](46, "span", 20);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "a", 30);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](48, "span", 31);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.signfrom);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("is-invalid", ctx.signfrom.get("email").invalid && ctx.signfrom.get("email").touched);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("email").errors == null ? null : ctx.signfrom.get("email").errors.required);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("email").errors == null ? null : ctx.signfrom.get("email").errors.pattern);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("is-invalid", ctx.signfrom.get("password").invalid && ctx.signfrom.get("password").touched);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("password").errors == null ? null : ctx.signfrom.get("password").errors.required);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.signfrom.get("password").errors == null ? null : ctx.signfrom.get("password").errors.pattern);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", !ctx.signfrom.valid);
          }
        },
        directives: [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormGroupDirective"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormControlName"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["CheckboxControlValueAccessor"]],
        styles: ["@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=greek-ext');\r\n\r\n.body[_ngcontent-%COMP%]{\r\n\tbackground-position: center;\r\n    background-origin: content-box;\r\n    background-repeat: no-repeat;\r\n    background-size: cover;\r\n\tmin-height:100vh;\r\n\tfont-family: 'Noto Sans', sans-serif;\r\n}\r\n\r\n.box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:50%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n\tpadding:70px 100px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]{\r\n\tposition:relative;\r\n\tmargin-bottom:25px;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\ttop:0px;\r\n\tleft:0px;\r\n\tfont-size:16px;\r\n\tcolor:#fff;\t\r\n    pointer-event:none;\r\n\ttransition: all 0.5s ease-in-out;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{ \r\n  border:0;\r\n  border-bottom:1px solid #555;  \r\n  background:transparent;\r\n  width:100%;\r\n  padding:8px 0 5px 0;\r\n  font-size:16px;\r\n  color:#fff;\r\n}\r\n\r\n.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{ \r\n border:none;\t\r\n outline:none;\r\n border-bottom:1px solid #e74c3c;\t\r\n}\r\n\r\n.btn[_ngcontent-%COMP%]{\r\n\tcolor:#fff;\r\n\tbackground-color:#e74c3c;\r\n\toutline: none;\r\n    border: 0;\r\n    color: #fff;\r\n\tpadding:10px 20px;\r\n\ttext-transform:uppercase;\r\n\tmargin-top:50px;\r\n\tborder-radius:2px;\r\n\tcursor:pointer;\r\n\tposition:relative;\r\n}\r\n\r\ninput[_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5cclxuaW5wdXR7XHJcblx0Ym9yZGVyLXJhZGl1czogMjVweDtcclxufVxyXG5cclxuLmZvcm0tc2lnbmluIHtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgbWF4LXdpZHRoOiAzMzBweDtcclxuICAgIHBhZGRpbmc6IDE1cHg7XHJcbiAgICBtYXJnaW46IGF1dG87XHJcbn1cclxuXHJcblxyXG5cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SignOnComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-sign-on',
            templateUrl: './sign-on.component.html',
            styleUrls: ['./sign-on.component.css']
          }]
        }], function () {
          return [{
            type: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]
          }, {
            type: src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__["LogingService"]
          }, {
            type: src_app_services_api_service__WEBPACK_IMPORTED_MODULE_3__["ApiService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/navbar/navbar.component.ts":
    /*!*******************************************************!*\
      !*** ./src/app/components/navbar/navbar.component.ts ***!
      \*******************************************************/
  
    /*! exports provided: NavbarComponent */
  
    /***/
    function srcAppComponentsNavbarNavbarComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "NavbarComponent", function () {
        return NavbarComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! src/app/services/loging.service */
      "./src/app/services/loging.service.ts");
      /* harmony import */
  
  
      var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @ng-bootstrap/ng-bootstrap */
      "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
  
      function NavbarComponent_ng_container_24_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
        }
      }
  
      function NavbarComponent_ng_template_25_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "sign up");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "button", 20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "sign in");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function NavbarComponent_ng_template_27_a_0_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 24);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "Manager Page");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function NavbarComponent_ng_template_27_Template(rf, ctx) {
        if (rf & 1) {
          var _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NavbarComponent_ng_template_27_a_0_Template, 2, 0, "a", 21);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "button", 22);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NavbarComponent_ng_template_27_Template_button_click_1_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7);
  
            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r6.signOut();
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "sign Out ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "button", 23);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r4.currentUser.role == "Admin");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.currentUser.username);
        }
      }
  
      var NavbarComponent = /*#__PURE__*/function () {
        // public currentUser:Users =new Users();
        function NavbarComponent(logingSer) {
          _classCallCheck(this, NavbarComponent);
  
          this.logingSer = logingSer;
        }
  
        _createClass(NavbarComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            var _this5 = this;
  
            this.logingSer.getCurrentUser().subscribe(function (user) {
              return _this5.currentUser = Object.assign({}, user);
            });
            console.log("%c ".concat(this.currentUser.id), 'color:red');
            setInterval(function () {
              _this5.timenow = new Date().toLocaleString();
            }, 1000);
          }
        }, {
          key: "signOut",
          value: function signOut() {
            console.log("this out");
            this.logingSer.signOut(); // this.currentUser = this.logingSer.currentUser
  
            console.log("%c ".concat(this.currentUser, " this.logingSer.signOut"), 'color:blue');
          }
        }]);
  
        return NavbarComponent;
      }();
  
      NavbarComponent.ɵfac = function NavbarComponent_Factory(t) {
        return new (t || NavbarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_1__["LogingService"]));
      };
  
      NavbarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: NavbarComponent,
        selectors: [["app-navbar"]],
        decls: 31,
        vars: 5,
        consts: [[1, "navbar", "navbar-expand-lg", "navbar-dark", "bg-dark", "sticky-top"], ["href", "#", 1, "navbar-brand"], ["src", "assets/Apple_.png", "alt", "Logo", 2, "width", "40px"], ["routerLink", "/home", "routerLinkActive", "active", 1, "navbar-brand"], ["type", "button", "data-toggle", "collapse", "data-target", "#navbarSupportedContent", "aria-controls", "navbarSupportedContent", "aria-expanded", "false", "aria-label", "Toggle navigation", 1, "navbar-toggler"], [1, "navbar-toggler-icon"], ["id", "navbarSupportedContent", 1, "collapse", "navbar-collapse"], [1, "navbar-nav", "mr-auto"], [1, "nav-item", "active"], ["routerLink", "/home", "routerLinkActive", "active", 1, "nav-link"], [1, "sr-only"], ["routerLink", "/Category", "routerLinkActive", "active", 1, "nav-link"], [1, "nav-item"], ["routerLink", "/UserPage", "routerLinkActive", "active", 1, "nav-link"], [1, "badge", "badge-pill", "badge-danger"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["loginButton", ""], ["outTemplate", ""], [1, "timediv", 2, "color", "#FFD700", "background", "black"], ["routerLink", "loging", "routerLinkActive", "active", 1, "btn", "btn-outline-success", "my-2", "my-sm-0"], ["routerLink", "SignUn", "routerLinkActive", "active", 1, "btn", "btn-outline-success", "my-2", "my-sm-0"], ["class", "nav-link", "routerLink", "/interfaceManager", "routerLinkActive", "active", 4, "ngIf"], [1, "btn", "btn-outline-danger", "my-2", "my-sm-0", 3, "click"], ["routerLink", "/UserPage", 1, ".user", "badge-pill", "badge-success"], ["routerLink", "/interfaceManager", "routerLinkActive", "active", 1, "nav-link"]],
        template: function NavbarComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "nav", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "a", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "CHAIMBAROR");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "button", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "span", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "ul", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "li", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "a", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "Home ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "span", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "(current)");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "li", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "a", 11);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "Category ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "span", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "(current)");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "li", 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "a", 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, "User Page ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "sup", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, NavbarComponent_ng_container_24_Template, 1, 0, "ng-container", 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](25, NavbarComponent_ng_template_25_Template, 4, 0, "ng-template", null, 16, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](27, NavbarComponent_ng_template_27_Template, 5, 2, "ng-template", null, 17, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "sub", 18);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
  
          if (rf & 2) {
            var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](26);
  
            var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](28);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](23);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.currentUser.message);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.currentUser.email)("ngIfThen", _r3)("ngIfElse", _r1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.timenow, " ");
          }
        },
        directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbNavbar"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkWithHref"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkActive"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLink"]],
        styles: [".timediv[_ngcontent-%COMP%] {\r\nposition:-webkit-sticky;\r\nposition:sticky; \r\ndisplay: block;\r\n }\r\n  \r\n  \r\n  \r\n  .user[_ngcontent-%COMP%]{\r\n    border-radius: 50%;\r\n  }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9uYXZiYXIvbmF2YmFyLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSx1QkFBZTtBQUFmLGVBQWU7QUFDZixjQUFjO0NBQ2I7O0VBRUM7O0tBRUc7O0VBRUg7SUFDRSxrQkFBa0I7RUFDcEI7O0VBSUE7O0tBRUciLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL25hdmJhci9uYXZiYXIuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi50aW1lZGl2IHtcclxucG9zaXRpb246c3RpY2t5OyBcclxuZGlzcGxheTogYmxvY2s7XHJcbiB9XHJcbiAgXHJcbiAgLyogc3Bhbjpob3ZlciArIC50aW1lZGl2IHtcclxuICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gIH0gKi9cclxuXHJcbiAgLnVzZXJ7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgfVxyXG5cclxuIFxyXG4gIFxyXG4gIC8qIC5zdGlja3kgKyAuY29udGVudCB7XHJcbiAgICBwYWRkaW5nLXRvcDogNjBweDtcclxuICB9ICovIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavbarComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-navbar',
            templateUrl: './navbar.component.html',
            styleUrls: ['./navbar.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_1__["LogingService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/page-products/page-products.component.ts":
    /*!*********************************************************************!*\
      !*** ./src/app/components/page-products/page-products.component.ts ***!
      \*********************************************************************/
  
    /*! exports provided: PageProductsComponent */
  
    /***/
    function srcAppComponentsPageProductsPageProductsComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "PageProductsComponent", function () {
        return PageProductsComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! rxjs/operators */
      "./node_modules/rxjs/_esm2015/operators/index.js");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! src/app/services/loging.service */
      "./src/app/services/loging.service.ts");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! @ng-bootstrap/ng-bootstrap */
      "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js");
      /* harmony import */
  
  
      var _chart_chart_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
      /*! ../chart/chart.component */
      "./src/app/components/chart/chart.component.ts");
  
      function PageProductsComponent_div_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "app-chart");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 17);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "h2", 18);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "TIME END : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "img", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "h1");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "p", 20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "button");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16, "Buy It Now ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "a", 21);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, " ...\u05D7\u05D6\u05D5\u05E8");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.thisNow);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", ctx_r0.pageProducts.image, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", ctx_r0.pageProducts.nameProduct, " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("$ ", ctx_r0.pageProducts.price, " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.pageProducts.message);
        }
      }
  
      function PageProductsComponent_div_6_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h1");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "....\u05D0\u05D9\u05DF \u05DC\u05DA \u05DE\u05D5\u05E6\u05E8\u05D9\u05DD");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 22);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, " Now");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
      }
  
      function PageProductsComponent_tbody_42_td_4_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " user name : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var auction_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](auction_r4.username);
        }
      }
  
      function PageProductsComponent_tbody_42_td_5_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " user id : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var auction_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](auction_r4.userId);
        }
      }
  
      function PageProductsComponent_tbody_42_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "tbody");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "tr");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "th", 23);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, PageProductsComponent_tbody_42_td_4_Template, 4, 1, "td", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, PageProductsComponent_tbody_42_td_5_Template, 4, 1, "td", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "td");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "sub");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var auction_r4 = ctx.$implicit;
          var i_r5 = ctx.index;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("rowitme", i_r5, "");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](i_r5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", auction_r4.username);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !auction_r4.username);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("$", auction_r4.price, " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](auction_r4.time);
        }
      }
  
      function PageProductsComponent_div_44_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 24);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h1", 25);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "this product is not active");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "date");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 1, ctx_r3.pageProducts.timeEnd));
        }
      }
  
      var PageProductsComponent = /*#__PURE__*/function () {
        function PageProductsComponent(productsSer, activeRoute, logingSer) {
          _classCallCheck(this, PageProductsComponent);
  
          this.productsSer = productsSer;
          this.activeRoute = activeRoute;
          this.logingSer = logingSer;
        }
  
        _createClass(PageProductsComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            var _this6 = this;
  
            this.productsSer.getById(this.activeRoute.snapshot.params.id).subscribe(function (products) {
              _this6.pageProducts = products;
  
              if (_this6.pageProducts.timeEnd) {
                if (_this6.pageProducts.timeEnd - Date.now() < 0) {
                  _this6.pageProducts.isActive = false;
                } else {
                  _this6.pageProducts.isActive = true;
                }
              } // else if (this.pageProducts.timeEnd == null) {
              //   this.pageProducts.timeEnd = 2606494960000;
              //   this.pageProducts.isActive = true;
              // }
  
  
              _this6.timeOfProduct();
  
              _this6.getAuction(_this6.pageProducts.id);
            });
            this.logingSer.getCurrentUser().subscribe(function (user) {
              return _this6.currentUser = Object.assign({}, user);
            });
          }
        }, {
          key: "getAuction",
          value: function getAuction(pruductId) {
            var sortById = function sortById(data) {
              data.sort(function (a, b) {
                return b.price - a.price;
              });
              ;
            };
  
            this.auctionPruduct$ = this.productsSer.getAuctionByProductId(pruductId).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(sortById)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(sortById)); //  this.productsSer.getAuctionByProductId(pruductId).subscribe((auction:Auction) => {
            //   this.auctionPruduct = auction;
            // this.auctionPruduct.sort((a, b) => (b.price) - (a.price));
            // this.pageProducts.price = this.auctionPruduct[0].price
          }
        }, {
          key: "timeOfProduct",
          value: function timeOfProduct() {
            var _this7 = this;
  
            var timeEnd = this.pageProducts.timeEnd - Date.now();
  
            if (timeEnd < 0) {
              this.pageProducts.isActive = false;
            } else if (timeEnd > 0) {
              this.timeProduct = setInterval(function () {
                _this7.pageProducts.timeEnd - Date.now();
                _this7.thisNow = _this7.pageProducts.timeEnd - Date.now();
              }, 10);
            }
          }
        }, {
          key: "ngOnDestroy",
          value: function ngOnDestroy() {
            this.timeOfProduct();
          }
        }, {
          key: "addAuction5",
          value: function addAuction5(id) {
            this.addAuction(id, 5);
          }
        }, {
          key: "addAuction10",
          value: function addAuction10(id) {
            this.addAuction(id, 10);
          }
        }, {
          key: "addAuction25",
          value: function addAuction25(id) {
            this.addAuction(id, 25);
          }
        }, {
          key: "addAuction100",
          value: function addAuction100(id) {
            this.addAuction(id, 100);
          }
        }, {
          key: "addAuction",
          value: function addAuction(id, sum) {
            if (!this.currentUser.id) {
              return alert("כדי להגיש הצעה צריך להירשם");
            }
  
            if (typeof this.pageProducts.price == 'string') {
              this.pageProducts.price = parseInt(this.pageProducts.price);
            }
  
            sum = this.pageProducts.price += sum;
            console.log(id);
            this.productsSer.auctionAdd(id, sum);
            this.getAuction(this.pageProducts.id);
          }
        }]);
  
        return PageProductsComponent;
      }();
  
      PageProductsComponent.ɵfac = function PageProductsComponent_Factory(t) {
        return new (t || PageProductsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__["ActivatedRoute"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_4__["LogingService"]));
      };
  
      PageProductsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: PageProductsComponent,
        selectors: [["app-page-products"]],
        decls: 45,
        vars: 10,
        consts: [[1, "container"], [1, "row"], [1, "col"], [4, "ngIf"], ["class", "card ", 4, "ngIf"], [1, "col-4"], [1, "navbar", "navbar-expand-lg"], [1, "navbar-nav", "section-nav"], ["type", "button", 1, "badge", "badge-pill", "badge-success", 3, "disabled", "click"], ["type", "button", 1, "badge", "badge-pill", "badge-primary", 3, "click"], ["type", "button", 1, "badge", "badge-pill", "badge-warning", 3, "click"], ["type", "button", 1, "badge", "badge-pill", "badge-danger", 3, "click"], [1, "table", "table-dark"], [1, "brod"], ["scope", "col"], [4, "ngFor", "ngForOf"], ["class", "box", 4, "ngIf"], [1, "card"], [1, "timer"], ["alt", "", "width", "100%", "height", "auto", 1, "img", 3, "src"], [1, "price"], ["routerLink", "/home", "routerLinkActive", "active"], ["routerLink", "/home"], ["scope", "row"], [1, "box"], [2, "color", "red"]],
        template: function PageProductsComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "page-products works!");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, PageProductsComponent_div_5_Template, 19, 5, "div", 3);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PageProductsComponent_div_6_Template, 6, 0, "div", 4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 7);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 8);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PageProductsComponent_Template_button_click_10_listener() {
              return ctx.addAuction5(ctx.pageProducts.id);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "Add Auction $5 ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](13, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "button", 9);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PageProductsComponent_Template_button_click_14_listener() {
              return ctx.addAuction10(ctx.pageProducts.id);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, "Add Auction $10 ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](16, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](17, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "button", 10);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PageProductsComponent_Template_button_click_18_listener() {
              return ctx.addAuction25(ctx.pageProducts.id);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "Add Auction $25 ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](20, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](21, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "button", 11);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PageProductsComponent_Template_button_click_22_listener() {
              return ctx.addAuction100(ctx.pageProducts.id);
            });
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, "Add Auction $100 ");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](24, "br");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](26, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "h2");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](29, "date");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](30, "hr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "table", 12);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](32, "thead", 13);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "tr");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "th", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](35, "#");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "th", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37, "Auction");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "th", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39, "price");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "th", 14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, "Time");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](42, PageProductsComponent_tbody_42_Template, 11, 8, "tbody", 15);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](43, "async");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](44, PageProductsComponent_div_44_Template, 6, 3, "div", 16);
          }
  
          if (rf & 2) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.pageProducts);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.pageProducts);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.pageProducts.isActive == false);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](18);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("Scoreboard \u2191 ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](29, 6, ctx.pageProducts.timeEnd), "");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](14);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](43, 8, ctx.auctionPruduct$));
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.pageProducts.isActive == false);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbNavbar"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _chart_chart_component__WEBPACK_IMPORTED_MODULE_7__["ChartComponent"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkWithHref"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLinkActive"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterLink"]],
        pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["DatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]],
        styles: [".box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:50%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n\tpadding:70px 100px;\r\n}\r\n\r\n\r\n\r\n.card[_ngcontent-%COMP%] {\r\n  background:rgb(216, 203, 203);\r\n  transform-style: preserve-3d;\r\n  min-height: 80vh;\r\n  width: 30rem;\r\n  border-radius: 50px;\r\n  padding: 0rem 5rem;\r\n  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0px 0px 50px rgba(0, 0, 0, 0.2);\r\n \r\n  }\r\n\r\n\r\n\r\n.brod[_ngcontent-%COMP%]{\r\nborder:black solid 5px;\r\nbox-shadow: 0 4px 8px 0 grey(0, 0, 0, 0.2);\r\nwidth: 50%;\r\n  }\r\n\r\n\r\n\r\n.img[_ngcontent-%COMP%] {\r\n    min-height: 35vh;\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n  }\r\n\r\n\r\n\r\n.price[_ngcontent-%COMP%] {\r\n    color: black;\r\n    font-size: 22px;\r\n    text-align: center;\r\n    border:gainsboro solid 2px;\r\n    background :rgb(161, 221, 161);\r\n\r\n  }\r\n\r\n\r\n\r\n.rowitme0[_ngcontent-%COMP%]{\r\n    background: #FFD700;\r\n    color: #000;\r\n  }\r\n\r\n\r\n\r\n.card[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\r\n    border: none;\r\n    outline: 0;\r\n    padding: 12px;\r\n    color: white;\r\n    background-color: #000;\r\n    text-align: center;\r\n    cursor: pointer;\r\n    width: 100%;\r\n    font-size: 18px;\r\n  }\r\n\r\n\r\n\r\n.row[_ngcontent-%COMP%]{\r\n    margin: auto;\r\n  }\r\n\r\n\r\n\r\n.timer[_ngcontent-%COMP%]{\r\n    color:red;\r\n  }\r\n\r\n\r\n\r\nsub[_ngcontent-%COMP%]{\r\n    color:red;\r\n  }\r\n\r\n\r\n\r\n.h1[_ngcontent-%COMP%] {\r\n    font-size: 3rem;\r\n    transition: all 0.75s ease-out;\r\n  }\n/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ZXI7XHJcbiAgfVxyXG4gIFxyXG4gIC5wcmljZSB7XHJcbiAgICBjb2xvcjogYmxhY2s7XHJcbiAgICBmb250LXNpemU6IDIycHg7XHJcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICBib3JkZXI6Z2FpbnNib3JvIHNvbGlkIDJweDtcclxuICAgIGJhY2tncm91bmQgOnJnYigxNjEsIDIyMSwgMTYxKTtcclxuXHJcbiAgfVxyXG4gIC5yb3dpdG1lMHtcclxuICAgIGJhY2tncm91bmQ6ICNGRkQ3MDA7XHJcbiAgICBjb2xvcjogIzAwMDtcclxuICB9XHJcbiAgLmNhcmQgYnV0dG9uIHtcclxuICAgIGJvcmRlcjogbm9uZTtcclxuICAgIG91dGxpbmU6IDA7XHJcbiAgICBwYWRkaW5nOiAxMnB4O1xyXG4gICAgY29sb3I6IHdoaXRlO1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzAwMDtcclxuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgZm9udC1zaXplOiAxOHB4O1xyXG4gIH1cclxuICAucm93e1xyXG4gICAgbWFyZ2luOiBhdXRvO1xyXG4gIH1cclxuICAudGltZXJ7XHJcbiAgICBjb2xvcjpyZWQ7XHJcbiAgfVxyXG4gIHN1YntcclxuICAgIGNvbG9yOnJlZDtcclxuICB9XHJcblxyXG4gIC5oMSB7XHJcbiAgICBmb250LXNpemU6IDNyZW07XHJcbiAgICB0cmFuc2l0aW9uOiBhbGwgMC43NXMgZWFzZS1vdXQ7XHJcbiAgfVxyXG5cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageProductsComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-page-products',
            templateUrl: './page-products.component.html',
            styleUrls: ['./page-products.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_2__["ProductsService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["ActivatedRoute"]
          }, {
            type: src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_4__["LogingService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/spinner/spinner.component.ts":
    /*!*********************************************************!*\
      !*** ./src/app/components/spinner/spinner.component.ts ***!
      \*********************************************************/
  
    /*! exports provided: SpinnerComponent */
  
    /***/
    function srcAppComponentsSpinnerSpinnerComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "SpinnerComponent", function () {
        return SpinnerComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
  
      var SpinnerComponent = /*#__PURE__*/function () {
        function SpinnerComponent() {
          _classCallCheck(this, SpinnerComponent);
        }
  
        _createClass(SpinnerComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {}
        }]);
  
        return SpinnerComponent;
      }();
  
      SpinnerComponent.ɵfac = function SpinnerComponent_Factory(t) {
        return new (t || SpinnerComponent)();
      };
  
      SpinnerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: SpinnerComponent,
        selectors: [["app-spinner"]],
        decls: 9,
        vars: 0,
        consts: [[1, "lds-roller"]],
        template: function SpinnerComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "div");
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
          }
        },
        styles: [".lds-roller[_ngcontent-%COMP%] {\r\n    display: inline-block;\r\n    position: relative;\r\n    width: 80px;\r\n    height: 80px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%] {\r\n    -webkit-animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\r\n            animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\r\n    transform-origin: 40px 40px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:after {\r\n    content: \" \";\r\n    display: block;\r\n    position: absolute;\r\n    width: 7px;\r\n    height: 7px;\r\n    border-radius: 50%;\r\n    background: #FFD700;\r\n    margin: -4px 0 0 -4px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1) {\r\n    -webkit-animation-delay: -0.036s;\r\n            animation-delay: -0.036s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1):after {\r\n    top: 63px;\r\n    left: 63px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2) {\r\n    -webkit-animation-delay: -0.072s;\r\n            animation-delay: -0.072s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2):after {\r\n    top: 68px;\r\n    left: 56px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3) {\r\n    -webkit-animation-delay: -0.108s;\r\n            animation-delay: -0.108s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3):after {\r\n    top: 71px;\r\n    left: 48px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(4) {\r\n    -webkit-animation-delay: -0.144s;\r\n            animation-delay: -0.144s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(4):after {\r\n    top: 72px;\r\n    left: 40px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(5) {\r\n    -webkit-animation-delay: -0.18s;\r\n            animation-delay: -0.18s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(5):after {\r\n    top: 71px;\r\n    left: 32px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(6) {\r\n    -webkit-animation-delay: -0.216s;\r\n            animation-delay: -0.216s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(6):after {\r\n    top: 68px;\r\n    left: 24px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(7) {\r\n    -webkit-animation-delay: -0.252s;\r\n            animation-delay: -0.252s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(7):after {\r\n    top: 63px;\r\n    left: 17px;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(8) {\r\n    -webkit-animation-delay: -0.288s;\r\n            animation-delay: -0.288s;\r\n}\r\n.lds-roller[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(8):after {\r\n    top: 56px;\r\n    left: 12px;\r\n}\r\n@-webkit-keyframes lds-roller {\r\n    0% {\r\n        transform: rotate(0deg);\r\n    }\r\n    100% {\r\n        transform: rotate(360deg);\r\n    }\r\n}\r\n@keyframes lds-roller {\r\n    0% {\r\n        transform: rotate(0deg);\r\n    }\r\n    100% {\r\n        transform: rotate(360deg);\r\n    }\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zcGlubmVyL3NwaW5uZXIuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLHFCQUFxQjtJQUNyQixrQkFBa0I7SUFDbEIsV0FBVztJQUNYLFlBQVk7QUFDaEI7QUFDQTtJQUNJLHdFQUFnRTtZQUFoRSxnRUFBZ0U7SUFDaEUsMkJBQTJCO0FBQy9CO0FBQ0E7SUFDSSxZQUFZO0lBQ1osY0FBYztJQUNkLGtCQUFrQjtJQUNsQixVQUFVO0lBQ1YsV0FBVztJQUNYLGtCQUFrQjtJQUNsQixtQkFBbUI7SUFDbkIscUJBQXFCO0FBQ3pCO0FBQ0E7SUFDSSxnQ0FBd0I7WUFBeEIsd0JBQXdCO0FBQzVCO0FBQ0E7SUFDSSxTQUFTO0lBQ1QsVUFBVTtBQUNkO0FBQ0E7SUFDSSxnQ0FBd0I7WUFBeEIsd0JBQXdCO0FBQzVCO0FBQ0E7SUFDSSxTQUFTO0lBQ1QsVUFBVTtBQUNkO0FBQ0E7SUFDSSxnQ0FBd0I7WUFBeEIsd0JBQXdCO0FBQzVCO0FBQ0E7SUFDSSxTQUFTO0lBQ1QsVUFBVTtBQUNkO0FBQ0E7SUFDSSxnQ0FBd0I7WUFBeEIsd0JBQXdCO0FBQzVCO0FBQ0E7SUFDSSxTQUFTO0lBQ1QsVUFBVTtBQUNkO0FBQ0E7SUFDSSwrQkFBdUI7WUFBdkIsd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kcy1yb2xsZXIgZGl2Om50aC1jaGlsZCg1KTphZnRlciB7XHJcbiAgICB0b3A6IDcxcHg7XHJcbiAgICBsZWZ0OiAzMnB4O1xyXG59XHJcbi5sZHMtcm9sbGVyIGRpdjpudGgtY2hpbGQoNikge1xyXG4gICAgYW5pbWF0aW9uLWRlbGF5OiAtMC4yMTZzO1xyXG59XHJcbi5sZHMtcm9sbGVyIGRpdjpudGgtY2hpbGQoNik6YWZ0ZXIge1xyXG4gICAgdG9wOiA2OHB4O1xyXG4gICAgbGVmdDogMjRweDtcclxufVxyXG4ubGRzLXJvbGxlciBkaXY6bnRoLWNoaWxkKDcpIHtcclxuICAgIGFuaW1hdGlvbi1kZWxheTogLTAuMjUycztcclxufVxyXG4ubGRzLXJvbGxlciBkaXY6bnRoLWNoaWxkKDcpOmFmdGVyIHtcclxuICAgIHRvcDogNjNweDtcclxuICAgIGxlZnQ6IDE3cHg7XHJcbn1cclxuLmxkcy1yb2xsZXIgZGl2Om50aC1jaGlsZCg4KSB7XHJcbiAgICBhbmltYXRpb24tZGVsYXk6IC0wLjI4OHM7XHJcbn1cclxuLmxkcy1yb2xsZXIgZGl2Om50aC1jaGlsZCg4KTphZnRlciB7XHJcbiAgICB0b3A6IDU2cHg7XHJcbiAgICBsZWZ0OiAxMnB4O1xyXG59XHJcbkBrZXlmcmFtZXMgbGRzLXJvbGxlciB7XHJcbiAgICAwJSB7XHJcbiAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XHJcbiAgICB9XHJcbiAgICAxMDAlIHtcclxuICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpO1xyXG4gICAgfVxyXG59XHJcbiJdfQ== */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SpinnerComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-spinner',
            templateUrl: './spinner.component.html',
            styleUrls: ['./spinner.component.css']
          }]
        }], function () {
          return [];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/components/user-page/user-page.component.ts":
    /*!*************************************************************!*\
      !*** ./src/app/components/user-page/user-page.component.ts ***!
      \*************************************************************/
  
    /*! exports provided: UserPageComponent */
  
    /***/
    function srcAppComponentsUserPageUserPageComponentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "UserPageComponent", function () {
        return UserPageComponent;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! rxjs/operators */
      "./node_modules/rxjs/_esm2015/operators/index.js");
      /* harmony import */
  
  
      var src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/app/services/loging.service */
      "./src/app/services/loging.service.ts");
      /* harmony import */
  
  
      var src_app_services_products_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! src/app/services/products.service */
      "./src/app/services/products.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
      /*! @angular/common */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
      /* harmony import */
  
  
      var _spinner_spinner_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
      /*! ../spinner/spinner.component */
      "./src/app/components/spinner/spinner.component.ts");
  
      function UserPageComponent_ng_container_0_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
        }
      }
  
      function UserPageComponent_ng_template_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "h1", 5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, " \u05D3\u05E8\u05D5\u05E9\u05D4 \u05E1\u05D9\u05E1\u05DE\u05D0");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "input", 6, 7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup.enter", function UserPageComponent_ng_template_1_Template_input_keyup_enter_4_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7);
  
            var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](5);
  
            var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r6.onEnter(_r5.value);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](7, "app-spinner");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("value", ctx_r2.currentUser.email);
        }
      }
  
      function UserPageComponent_ng_template_3_div_48_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 34);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 35);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 36);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "img", 37);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h5", 38);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "p", 39);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var myProduct_r11 = ctx.$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", myProduct_r11.image, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](myProduct_r11.nameProduct);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](myProduct_r11.message);
        }
      }
  
      function UserPageComponent_ng_template_3_div_53_ul_1_li_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 42);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5", 38);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "sup");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var myPro_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          var myProduct_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](myProduct_r12.nameProduct);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" $", myPro_r14.price, " An offer for auction was received on time ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](myPro_r14.time);
        }
      }
  
      function UserPageComponent_ng_template_3_div_53_ul_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ul");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, UserPageComponent_ng_template_3_div_53_ul_1_li_1_Template, 6, 3, "li", 41);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var myPro_r14 = ctx.$implicit;
  
          var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", myPro_r14.userId == ctx_r13.currentUser.id);
        }
      }
  
      function UserPageComponent_ng_template_3_div_53_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 34);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, UserPageComponent_ng_template_3_div_53_ul_1_Template, 2, 1, "ul", 40);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r9.AuctionUser);
        }
      }
  
      function UserPageComponent_ng_template_3_div_59_div_1_ng_container_1_Template(rf, ctx) {
        if (rf & 1) {
          var _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 45);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "h1");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 46);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserPageComponent_ng_template_3_div_59_div_1_ng_container_1_Template_button_click_4_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26);
  
            var myProduct_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
  
            var ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  
            return ctx_r24.pageId(myProduct_r18.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Show Now");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "button", 47);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserPageComponent_ng_template_3_div_59_div_1_ng_container_1_Template_button_click_6_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26);
  
            var myProduct_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
  
            var ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  
            return ctx_r27.pageId(myProduct_r18.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "Go To payment");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "h2");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "sup");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
        }
  
        if (rf & 2) {
          var myPro_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          var myProduct_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" $", myPro_r20.price, " \u05D4\u05D4\u05E6\u05E2\u05D4 \u05E9\u05DC\u05DA \u05DE\u05E7\u05D5\u05DD \u05E8\u05D0\u05E9\u05D5\u05DF \u05E2\u05DB\u05E9\u05D9\u05D5");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", myProduct_r18.nameProduct, " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](myPro_r20.time);
        }
      }
  
      function UserPageComponent_ng_template_3_div_59_div_1_ng_template_2_div_0_Template(rf, ctx) {
        if (rf & 1) {
          var _r34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 49);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "li");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "sup");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "button", 50);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserPageComponent_ng_template_3_div_59_div_1_ng_template_2_div_0_Template_button_click_5_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r34);
  
            var myProduct_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3).$implicit;
  
            var ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  
            return ctx_r32.pageId(myProduct_r18.id);
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "You lost");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var myPro_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
  
          var myProduct_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" $", myPro_r20.price, " \u05D4\u05D4\u05E6\u05E2\u05D4 \u05E9\u05DC\u05DA \u05DC\u05D0 \u05E8\u05DC\u05D1\u05E0\u05EA\u05D9\u05EA ", myProduct_r18.nameProduct, " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](myPro_r20.time);
        }
      }
  
      function UserPageComponent_ng_template_3_div_59_div_1_ng_template_2_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, UserPageComponent_ng_template_3_div_59_div_1_ng_template_2_div_0_Template, 7, 3, "div", 48);
        }
  
        if (rf & 2) {
          var myPro_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          var ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", myPro_r20.userId == ctx_r23.currentUser.id);
        }
      }
  
      function UserPageComponent_ng_template_3_div_59_div_1_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, UserPageComponent_ng_template_3_div_59_div_1_ng_container_1_Template, 12, 3, "ng-container", 43);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, UserPageComponent_ng_template_3_div_59_div_1_ng_template_2_Template, 1, 1, "ng-template", null, 44, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var myPro_r20 = ctx.$implicit;
  
          var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
  
          var myProduct_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", myPro_r20.price == myProduct_r18.price)("ngIfElse", _r22);
        }
      }
  
      function UserPageComponent_ng_template_3_div_59_Template(rf, ctx) {
        if (rf & 1) {
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 34);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, UserPageComponent_ng_template_3_div_59_div_1_Template, 4, 2, "div", 40);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r10.AuctionUser);
        }
      }
  
      function UserPageComponent_ng_template_3_Template(rf, ctx) {
        if (rf & 1) {
          var _r40 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 9);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "ul", 10);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "li", 11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "img", 12);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "br");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "li", 13);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "label", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "username : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "a");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "li", 15);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "label", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](14, "firstName : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "li", 16);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "label", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18, "lastName : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "li", 17);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "label", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "email : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "li", 18);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "label", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26, "phone number : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "li", 19);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "label", 14);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "role : ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "span");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "div", 20);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 21);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "div", 22);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](36, "button", 23);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](37, " My products ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "sup", 24);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39, " myproducts ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "button", 25);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function UserPageComponent_ng_template_3_Template_button_click_40_listener() {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r40);
  
            var ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
            return ctx_r39.zonemssad();
          });
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, " Messages ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "sup", 24);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](43);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "button", 26);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](45, " Buy payment ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](46, "div", 27);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "div", 28);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](48, UserPageComponent_ng_template_3_div_48_Template, 8, 3, "div", 29);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](49, "div", 30);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](50, "No products ........");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](51, "div");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](52, "div", 31);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](53, UserPageComponent_ng_template_3_div_53_Template, 2, 1, "div", 32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](54, "div", 30);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](55, "No Messages ........");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](56, "div", 27);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](57, "div", 33);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](58, "div", 34);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](59, UserPageComponent_ng_template_3_div_59_Template, 2, 1, "div", 32);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](60, " In developing countries, many people don't have access to banking facilities, especially in tier II and tier III cities. Taking the example of India, there are more mobile phone users than there are people with active bank accounts. Telecom operators, in such locations, have started offering mobile money wallets which allow adding funds easily through their existing mobile subscription number, by visiting physical recharge points close to their homes and offices and converting their cash into mobile wallet currency. This can be used for online transaction and eCommerce purchases. ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](61, "div", 30);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](62, " Buy payment ........");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
        }
  
        if (rf & 2) {
          var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", ctx_r4.currentUser.img, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", ctx_r4.currentUser.firstName, " ", ctx_r4.currentUser.lastName, " ");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.currentUser.username);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r4.currentUser.firstName, "");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.currentUser.lastName);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.currentUser.email);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.currentUser.phone);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r4.currentUser.role, "");
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](11);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.currentUser.message);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.myproducts);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.myproducts);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  
          _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r4.myproducts);
        }
      }
  
      var UserPageComponent = /*#__PURE__*/function () {
        function UserPageComponent(logingSer, productsSer, _router) {
          _classCallCheck(this, UserPageComponent);
  
          this.logingSer = logingSer;
          this.productsSer = productsSer;
          this._router = _router;
          this.myproducts = [];
          this.allproduct = [];
          this.value = '';
        }
  
        _createClass(UserPageComponent, [{
          key: "ngOnInit",
          value: function ngOnInit() {
            var _this8 = this;
  
            var sortById = function sortById(data) {
              data.sort(function (a, b) {
                return b.price - a.price;
              });
              ;
            };
  
            this.currentUser = JSON.parse(localStorage.getItem('currentUser'));
            console.log("%c ".concat(this.currentUser.username), 'color:red');
            this.productsSer.getAuctionByUserId(this.currentUser.id).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(sortById)).subscribe(function (res) {
              _this8.AuctionUser = res;
  
              var uIdproduct = _this8.AuctionUser.filter(function (obj, index, self) {
                return self.findIndex(function (o) {
                  return o.pruductId === obj.pruductId;
                }) === index;
              });
  
              uIdproduct.forEach(function (pruduct) {
                _this8.productsSer.getById(pruduct.pruductId).subscribe(function (pruduct) {
                  _this8.myproducts.push(pruduct);
                });
              });
            });
          }
        }, {
          key: "pageId",
          value: function pageId(id) {
            var txt;
            var r = confirm("Do you want to switch to a sales channel?");
  
            if (r == true) {
              txt = "You pressed OK!";
  
              this._router.navigate(['/pageProduct', id]);
  
              this.productsSer.getproductById(id);
            } else {
              txt = "You pressed Cancel!";
            }
  
            console.log("pageId", id);
          }
        }, {
          key: "onEnter",
          value: function onEnter(value) {
            this.value = value;
          }
        }, {
          key: "zonemssad",
          value: function zonemssad() {
            this.logingSer.updateSubject(0);
          }
        }]);
  
        return UserPageComponent;
      }();
  
      UserPageComponent.ɵfac = function UserPageComponent_Factory(t) {
        return new (t || UserPageComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__["LogingService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_products_service__WEBPACK_IMPORTED_MODULE_3__["ProductsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"]));
      };
  
      UserPageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
        type: UserPageComponent,
        selectors: [["app-user-page"]],
        decls: 5,
        vars: 3,
        consts: [[4, "ngIf", "ngIfThen", "ngIfElse"], ["passwordUser", ""], ["pageUser", ""], [1, "body"], [1, "text-center", "box"], [1, "h3", "mb-3", "font-weight-normal"], ["type", "password", 2, "text-align", "center", 3, "value", "keyup.enter"], ["password", ""], [1, "row", "container"], [1, "card", 2, "width", "15rem"], [1, "list-group"], [1, "list-group-item"], ["alt", "...", "width", "120", "height", "120", "srcset", "", 3, "src"], [1, "list-group-item", "list-group-item-primary"], ["for", ""], [1, "list-group-item", "list-group-item-secondary"], [1, "list-group-item", "list-group-item-success"], [1, "list-group-item", "list-group-item-danger"], [1, "list-group-item", "list-group-item-warning"], [1, "list-group-item", "list-group-item-info"], [1, "col"], ["id", "accordion"], ["role", "group", "aria-label", "Basic example", 1, "btn-group", 2, "height", "3rem"], ["data-toggle", "collapse", "data-target", "#collapseOne", "aria-expanded", "true", "aria-controls", "collapseOne", 1, "btn", "btn-secondary"], [1, "badge", "badge-pill", "badge-danger"], ["data-toggle", "collapse", "data-target", "#collapseTwo", "aria-expanded", "false", "aria-controls", "collapseTwo", 1, "btn", "btn-secondary", "collapsed", 3, "click"], ["data-toggle", "collapse", "data-target", "#collapseThree", "aria-expanded", "false", "aria-controls", "collapseThree", 1, "btn", "btn-secondary", "collapsed"], [1, "card"], ["id", "collapseOne", "aria-labelledby", "headingOne", "data-parent", "#accordion", 1, "collapse", "show"], ["class", "card-body", 4, "ngFor", "ngForOf"], [1, "card-"], ["id", "collapseTwo", "aria-labelledby", "headingTwo", "data-parent", "#accordion", 1, "collapse"], ["class", "card-body ", 4, "ngFor", "ngForOf"], ["id", "collapseThree", "aria-labelledby", "headingThree", "data-parent", "#accordion", 1, "collapse"], [1, "card-body"], [1, "row", "card", "style"], [1, "", 2, "width", "4rem"], ["alt", "...", 1, "card-img-top", 3, "src"], [1, "card-title"], [1, "card-text"], [4, "ngFor", "ngForOf"], ["class", "card-text style", 4, "ngIf"], [1, "card-text", "style"], [4, "ngIf", "ngIfElse"], ["Youlost", ""], [1, "winner"], [1, "badge", "badge-pill", "badge-danger", 3, "click"], [1, "badge", "badge-pill", "badge-success", 3, "click"], ["class", "Youlost", 4, "ngIf"], [1, "Youlost"], [1, "badge", "badge-pill", "badge-info", 3, "click"]],
        template: function UserPageComponent_Template(rf, ctx) {
          if (rf & 1) {
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, UserPageComponent_ng_container_0_Template, 1, 0, "ng-container", 0);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, UserPageComponent_ng_template_1_Template, 8, 1, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, UserPageComponent_ng_template_3_Template, 63, 13, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
          }
  
          if (rf & 2) {
            var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](2);
  
            var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](4);
  
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.currentUser.email == ctx.value)("ngIfThen", _r3)("ngIfElse", _r1);
          }
        },
        directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _spinner_spinner_component__WEBPACK_IMPORTED_MODULE_6__["SpinnerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"]],
        styles: [".style[_ngcontent-%COMP%]{\r\n    width: 100%;\r\n     padding: 2px;\r\n      background: rgb(192, 198, 209);\r\n       width: auto; height: 5rem;\r\n       padding: 15px;\r\n\r\n}\r\n.card-body[_ngcontent-%COMP%]{\r\n    background: rgb(155, 182, 212);\r\n}\r\n.box[_ngcontent-%COMP%]{\r\n\tposition:absolute;\r\n\tleft:50%;\r\n\ttop:30%;\r\n\ttransform: translate(-50%,-50%);\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n    padding:70px 100px;\r\n    text-align: center;\r\n}\r\n.Youlost[_ngcontent-%COMP%]{\r\n    padding: 35px;\r\n    background-color: rgba(0, 0, 0, 0.89);\r\n    color: white;\r\n\tborder-radius:3px;\r\n}\r\n.body[_ngcontent-%COMP%]{\r\n    min-height:50vh;\r\n\r\n}\r\ninput[_ngcontent-%COMP%]{\r\n    border-radius: 25px;\r\n    border: 2px solid #FFD700;\r\n}\r\n.winner[_ngcontent-%COMP%] {\r\n    border: wheat solid 3px;\r\n    padding: 10px;\r\n    margin: 25px;\r\n    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),\r\n                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);\r\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIj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UsICM1ZDRhMWYgNjIuNSUsICM1ZDRhMWYgMTAwJSk7XHJcbn1cclxuIl19 */"]
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UserPageComponent, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
          args: [{
            selector: 'app-user-page',
            templateUrl: './user-page.component.html',
            styleUrls: ['./user-page.component.css']
          }]
        }], function () {
          return [{
            type: src_app_services_loging_service__WEBPACK_IMPORTED_MODULE_2__["LogingService"]
          }, {
            type: src_app_services_products_service__WEBPACK_IMPORTED_MODULE_3__["ProductsService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_4__["Router"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/pipes/filter.pipe.ts":
    /*!**************************************!*\
      !*** ./src/app/pipes/filter.pipe.ts ***!
      \**************************************/
  
    /*! exports provided: FilterPipe */
  
    /***/
    function srcAppPipesFilterPipeTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "FilterPipe", function () {
        return FilterPipe;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
  
      var FilterPipe = /*#__PURE__*/function () {
        function FilterPipe() {
          _classCallCheck(this, FilterPipe);
        }
  
        _createClass(FilterPipe, [{
          key: "transform",
          value: function transform(value, input) {
            if (!value) {
              return [];
            } // if (!input) {
            //   return value;
            // }
  
  
            var values = [];
  
            if (input) {
              input = input.toLowerCase();
              return value.filter(function (el) {
                values = Object.keys(el).map(function (key) {
                  return el[key];
                });
                var result = false;
  
                for (var i in values) {
                  result = values != null && values[i] != null && values[i] != undefined && values[i].toLowerCase().indexOf(input) > -1;
  
                  if (result) {
                    return true;
                  }
                }
  
                return false;
              });
            }
  
            return value;
          }
        }]);
  
        return FilterPipe;
      }();
  
      FilterPipe.ɵfac = function FilterPipe_Factory(t) {
        return new (t || FilterPipe)();
      };
  
      FilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
        name: "search",
        type: FilterPipe,
        pure: true
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FilterPipe, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
          args: [{
            name: 'search'
          }]
        }], null, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/services/api.service.ts":
    /*!*****************************************!*\
      !*** ./src/app/services/api.service.ts ***!
      \*****************************************/
  
    /*! exports provided: ApiService */
  
    /***/
    function srcAppServicesApiServiceTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "ApiService", function () {
        return ApiService;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/common/http */
      "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
      /* harmony import */
  
  
      var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! src/environments/environment */
      "./src/environments/environment.ts");
  
      var ApiService = /*#__PURE__*/function () {
        function ApiService(httpClient) {
          _classCallCheck(this, ApiService);
  
          this.httpClient = httpClient;
        }
  
        _createClass(ApiService, [{
          key: "request",
          value: function request(url, method) {
            console.log(method, url);
            var headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpHeaders"]();
            var user = JSON.parse(localStorage.getItem('currentUser'));
            if (user) headers = headers.set('Authorization', "Bearer ".concat(user.accessToken));
            return this.httpClient.request(method, src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url, {
              headers: headers
            });
          }
        }, {
          key: "requestBady",
          value: function requestBady(url, method, BadyRequest) {
            console.log(src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url);
            var body = JSON.stringify(BadyRequest);
            var headers = {
              'content-type': 'application/json'
            };
            return this.httpClient.request(method, src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url, {
              body: body,
              headers: headers
            }).subscribe(function (data) {
              return console.log(data);
            });
          }
        }, {
          key: "requestImage",
          value: function requestImage(url, method, image, id) {
            console.log("image", url, method, image, id);
            var formData = new FormData();
            formData.append('image', image);
            var headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpHeaders"]().set('id', id);
            this.httpClient.request(method, src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url, {
              body: formData,
              headers: headers
            }).subscribe();
          }
        }, {
          key: "requestAuth",
          value: function requestAuth(url, method, BadyRequest) {
            console.log(src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url);
            var body = JSON.stringify(BadyRequest);
            var headers = {
              'content-type': 'application/json'
            };
            return this.httpClient.request(method, src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url, {
              body: body,
              headers: headers
            });
          }
        }, {
          key: "delete",
          value: function _delete(url) {
            console.log(url);
            this.httpClient["delete"](src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + url).subscribe(function (data) {
              return console.log(data);
            });
          }
        }]);
  
        return ApiService;
      }();
  
      ApiService.ɵfac = function ApiService_Factory(t) {
        return new (t || ApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]));
      };
  
      ApiService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: ApiService,
        factory: ApiService.ɵfac,
        providedIn: 'root'
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ApiService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
          args: [{
            providedIn: 'root'
          }]
        }], function () {
          return [{
            type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/services/loging.service.ts":
    /*!********************************************!*\
      !*** ./src/app/services/loging.service.ts ***!
      \********************************************/
  
    /*! exports provided: LogingService */
  
    /***/
    function srcAppServicesLogingServiceTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "LogingService", function () {
        return LogingService;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! rxjs */
      "./node_modules/rxjs/_esm2015/index.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./api.service */
      "./src/app/services/api.service.ts");
  
      var LogingService = /*#__PURE__*/function () {
        function LogingService(_router, apiServer) {
          _classCallCheck(this, LogingService);
  
          this._router = _router;
          this.apiServer = apiServer;
          this.currentUser$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](JSON.parse(localStorage.getItem('currentUser')));
          this.arrayUsers = [];
          this.arrayUsers = [{
            firstName: "chaim",
            lastName: "bar-or",
            email: "chaim@example.com",
            password: "1234",
            id: 1,
            img: "../assets/images/logo5.png",
            phone: "0521010100"
          }, {
            firstName: "david",
            lastName: "AvraTech",
            email: "david@example.com",
            password: "1234",
            id: 2,
            img: "../assets/images/logo5.png",
            phone: "0521010111"
          }];
        }
  
        _createClass(LogingService, [{
          key: "setUser",
          value: function setUser(user) {
            this.apiServer.requestBady("/user", 'POST', user);
            this.currentUser$.next(user);
            localStorage.setItem('currentUser', JSON.stringify(user));
            localStorage.setItem('loggedInToken', JSON.stringify(user.accessToken));
            this.arrayUsers.push(user);
  
            this._router.navigate(['/SignUn']);
  
            this.currentUser$.subscribe(console.log);
          }
        }, {
          key: "signUpUser",
          value: function signUpUser(email, password) {
            var _this9 = this;
  
            this.apiServer.requestAuth("/auth", 'POST', {
              email: email,
              password: password
            }).subscribe(function (user) {
              if (user) {
                console.log("my new user", user);
                localStorage.setItem('currentUser', JSON.stringify(user));
                localStorage.setItem('loggedInToken', JSON.stringify(user.accessToken));
  
                _this9.currentUser$.next(user);
  
                _this9._router.navigate(['/home']);
              } else {
                console.log("error");
  
                _this9._router.navigate(['/loging']);
              }
            });
          }
        }, {
          key: "signOut",
          value: function signOut() {
            this.currentUser$.next(null);
            localStorage.removeItem('currentUser');
            localStorage.removeItem('loggedInToken');
            console.log("%c ".concat(this.currentUser$), 'color:yellow');
  
            this._router.navigate(['/loging']);
          }
        }, {
          key: "getCurrentUser",
          value: function getCurrentUser() {
            return this.currentUser$.asObservable();
          }
        }, {
          key: "updateSubject",
          value: function updateSubject(newData) {
            var n;
  
            if (newData === 1) {
              n = newData;
              this.currentUser$.subscribe(function (users) {
                users.message == null ? n : n = users.message + 1;
              });
            }
  
            this.currentUser$.next(Object.assign(Object.assign({}, this.currentUser$.value), {
              message: n
            }));
          }
        }]);
  
        return LogingService;
      }();
  
      LogingService.ɵfac = function LogingService_Factory(t) {
        return new (t || LogingService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_api_service__WEBPACK_IMPORTED_MODULE_3__["ApiService"]));
      };
  
      LogingService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: LogingService,
        factory: LogingService.ɵfac,
        providedIn: 'root'
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LogingService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
          args: [{
            providedIn: 'root'
          }]
        }], function () {
          return [{
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]
          }, {
            type: _api_service__WEBPACK_IMPORTED_MODULE_3__["ApiService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/services/products.service.ts":
    /*!**********************************************!*\
      !*** ./src/app/services/products.service.ts ***!
      \**********************************************/
  
    /*! exports provided: ProductsService */
  
    /***/
    function srcAppServicesProductsServiceTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "ProductsService", function () {
        return ProductsService;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
      /* harmony import */
  
  
      var _api_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./api.service */
      "./src/app/services/api.service.ts");
      /* harmony import */
  
  
      var _loging_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! ./loging.service */
      "./src/app/services/loging.service.ts");
  
      var ProductsService = /*#__PURE__*/function () {
        function ProductsService(_router, apiService, userSer) {
          _classCallCheck(this, ProductsService);
  
          // this.baesProducts = [
          //   { id: "10", category: "A", image: "assets/images/logo3.gif", nameProduct: "chaim bar-or 1 מכירה ", message: "chaim bar-or auction", price: 10, auction: [{ userId: '1', price: 10 }, { userId: '2', price: 25 }] },
          //   { id: "11", category: "A", image: "assets/images/logo1.gif", nameProduct: "chaim bar-or 2", message: "chaim AvraTech 07", price: 24, auction: [{ userId: '', price: 0 }] },
          //   { id: "12", category: "A", image: "assets/images/logo5.png", nameProduct: "chaim bar-or 3", message: "chaim bar-or auction", price: 100, auction: [{ userId: '', price: 0 }] },
          //   { id: "13", category: "A", image: "assets/images/logo6.gif", nameProduct: "chaim bar-or 4 מכירה ", message: "chaim > AvraTech 07", price: 54, auction: [{ userId: '', price: 0 }] },
          //   { id: "14", category: "A", image: "assets/images/logo4.gif", nameProduct: "chaim bar-or 5", message: "chaim bar-or auction", price: 250, auction: [{ userId: '', price: 0 }] },
          //   { id: "15", category: "A", image: "assets/images/logo3.gif", nameProduct: "מכירה  6", message: "avraTech", price: 1, auction: [{ userId: '', price: 0 }] },
          //   { id: "16", category: "A", image: "assets/images/logo.png", nameProduct: "chaim bar-or 3 מכירה", message: "מכירה auction", price: 100, auction: [{ userId: '', price: 0 }] },
          //   { id: "17", category: "A", image: "assets/images/exit1.png", nameProduct: "chaim bar-or exit מכירה", message: "מכירה exit ", price: 1, auction: [{ userId: '', price: 0 }] },
          this._router = _router;
          this.apiService = apiService;
          this.userSer = userSer;
          this.allProducts = [];
          this.Products = [];
          this.auction = []; // ]
  
          this.getAllProducts();
        }
  
        _createClass(ProductsService, [{
          key: "addproduct",
          value: function addproduct(product) {
            return this.apiService.requestBady("/products", 'POST', product);
          }
        }, {
          key: "addAuction",
          value: function addAuction(auction) {
            return this.apiService.requestBady("/auction", 'POST', auction);
          }
        }, {
          key: "all",
          value: function all() {
            return this.apiService.request('/products', 'GET');
          }
        }, {
          key: "editProducts",
          value: function editProducts(products, id) {
            return this.apiService.requestBady("/products/".concat(id), 'PATCH', products);
          }
        }, {
          key: "getById",
          value: function getById(id) {
            return this.apiService.request("/products/".concat(id), 'GET');
          }
        }, {
          key: "getAuctionByProductId",
          value: function getAuctionByProductId(id) {
            return this.apiService.request("/auction/".concat(id), 'GET');
          }
        }, {
          key: "getAuctionByUserId",
          value: function getAuctionByUserId(id) {
            return this.apiService.request("/auction/user/".concat(id), 'GET');
          }
        }, {
          key: "delete",
          value: function _delete(id) {
            return this.apiService["delete"]("/products/".concat(id));
          }
        }, {
          key: "uploadImage",
          value: function uploadImage(image, id) {
            this.apiService.requestImage("/products/upload", 'POST', image, id);
          }
        }, {
          key: "getAllProducts",
          value: function getAllProducts() {
            var _this10 = this;
  
            this.allProducts = []; // return this.allProducts;
  
            this.all().subscribe(function (p) {
              _this10.allProducts = _this10.allProducts.concat(p);
              console.log("getAllProducts() service ", _this10.allProducts);
              _this10.Products = _this10.allProducts;
              return _this10.allProducts;
            });
          }
        }, {
          key: "getProducts",
          value: function getProducts() {
            return this.Products;
          }
        }, {
          key: "getproductById",
          value: function getproductById(itme) {
            var id = itme.id;
  
            for (var i = 0; i < this.allProducts.length; i++) {
              if (this.allProducts[i].id === id) {
                this.pageProducts = this.allProducts[i];
  
                this._router.navigate(['/pageProduct', id]);
  
                break;
              }
            }
  
            this._router.navigate(['/pageProduct', id]);
          }
        }, {
          key: "auctionAdd",
          value: function auctionAdd(id, sum) {
            this.userSer.updateSubject(1);
            var user = JSON.parse(localStorage.getItem('currentUser'));
            var productId = id;
            var date = new Date(); // this.auction.push({ pruductId: productId, userId: user.id, price: sum, time: date, username: user.username })
  
            this.addAuction({
              pruductId: productId,
              userId: user.id,
              price: sum,
              time: date,
              username: user.username
            });
            this.editProducts({
              price: sum
            }, productId);
          } // getAuctionByProductId(productId: string) {
          // return this.auction.filter(auction => auction.pruductId == productId);
          // }
  
        }, {
          key: "getAuctionByuserId",
          value: function getAuctionByuserId(userId) {
            return this.auction.filter(function (auction) {
              return auction.userId == userId;
            });
          }
        }, {
          key: "getOneProducts",
          value: function getOneProducts(id) {
            var Products = this.allProducts.filter(function (p) {
              return p.id == id;
            })[0];
            return Products;
          }
        }, {
          key: "productsUser",
          value: function productsUser(id) {
            var productsUserauction = [];
  
            for (var i = 0; i < this.allProducts.length; i++) {
              for (var j = 0; j < this.allProducts[i].auction.length; j++) {
                if (this.allProducts[i].auction[j].userId == id) {
                  productsUserauction.push(this.allProducts[i]);
                  break;
                }
              }
            }
  
            console.log(productsUserauction);
            return productsUserauction;
          }
        }, {
          key: "getCategory",
          value: function getCategory(category) {
            this.Products = this.allProducts.filter(function (p) {
              return p.category == category;
            });
            console.log(this.Products, category);
            return this.Products;
          }
        }]);
  
        return ProductsService;
      }();
  
      ProductsService.ɵfac = function ProductsService_Factory(t) {
        return new (t || ProductsService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_api_service__WEBPACK_IMPORTED_MODULE_2__["ApiService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_loging_service__WEBPACK_IMPORTED_MODULE_3__["LogingService"]));
      };
  
      ProductsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: ProductsService,
        factory: ProductsService.ɵfac,
        providedIn: 'root'
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ProductsService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
          args: [{
            providedIn: 'root'
          }]
        }], function () {
          return [{
            type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]
          }, {
            type: _api_service__WEBPACK_IMPORTED_MODULE_2__["ApiService"]
          }, {
            type: _loging_service__WEBPACK_IMPORTED_MODULE_3__["LogingService"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/app/services/users.service.ts":
    /*!*******************************************!*\
      !*** ./src/app/services/users.service.ts ***!
      \*******************************************/
  
    /*! exports provided: UsersService */
  
    /***/
    function srcAppServicesUsersServiceTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "UsersService", function () {
        return UsersService;
      });
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./api.service */
      "./src/app/services/api.service.ts");
      /* harmony import */
  
  
      var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! @angular/router */
      "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
  
      var UsersService = /*#__PURE__*/function () {
        function UsersService(apiService, router) {
          _classCallCheck(this, UsersService);
  
          this.apiService = apiService;
          this.router = router;
        }
  
        _createClass(UsersService, [{
          key: "editUser",
          value: function editUser(user, id) {
            if (this.apiService.requestBady("/user/".concat(id), 'PATCH', user)) this.router.navigate(['/interfaceManager']);else {
              alert("error");
            }
          }
        }, {
          key: "all",
          value: function all() {
            return this.apiService.request('/user', 'GET');
          }
        }, {
          key: "getById",
          value: function getById(id) {
            return this.apiService.request("/user/".concat(id), 'GET');
          } // delete(id: any) {
          //   this.apiService.request(`/user/${id}`, 'DELETE');
          // }
  
        }, {
          key: "delete",
          value: function _delete(id) {
            this.apiService["delete"]("/user/".concat(id));
          }
        }]);
  
        return UsersService;
      }();
  
      UsersService.ɵfac = function UsersService_Factory(t) {
        return new (t || UsersService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_api_service__WEBPACK_IMPORTED_MODULE_1__["ApiService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]));
      };
  
      UsersService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
        token: UsersService,
        factory: UsersService.ɵfac,
        providedIn: 'root'
      });
      /*@__PURE__*/
  
      (function () {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UsersService, [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
          args: [{
            providedIn: 'root'
          }]
        }], function () {
          return [{
            type: _api_service__WEBPACK_IMPORTED_MODULE_1__["ApiService"]
          }, {
            type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]
          }];
        }, null);
      })();
      /***/
  
    },
  
    /***/
    "./src/environments/environment.ts":
    /*!*****************************************!*\
      !*** ./src/environments/environment.ts ***!
      \*****************************************/
  
    /*! exports provided: environment */
  
    /***/
    function srcEnvironmentsEnvironmentTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony export (binding) */
  
  
      __webpack_require__.d(__webpack_exports__, "environment", function () {
        return environment;
      }); // This file can be replaced during build by using the `fileReplacements` array.
      // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
      // The list of file replacements can be found in `angular.json`.
  
  
      var environment = {
        production: false,
        // apiUrl: 'http://localhost:3000'
        apiUrl: ''
      };
      /*
       * For easier debugging in development mode, you can import the following file
       * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
       *
       * This import should be commented out in production mode because it will have a negative impact
       * on performance if an error is thrown.
       */
      // import 'zone.js/dist/zone-error';  // Included with Angular CLI.
  
      /***/
    },
  
    /***/
    "./src/main.ts":
    /*!*********************!*\
      !*** ./src/main.ts ***!
      \*********************/
  
    /*! no exports provided */
  
    /***/
    function srcMainTs(module, __webpack_exports__, __webpack_require__) {
      "use strict";
  
      __webpack_require__.r(__webpack_exports__);
      /* harmony import */
  
  
      var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
      /*! @angular/core */
      "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
      /* harmony import */
  
  
      var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
      /*! ./environments/environment */
      "./src/environments/environment.ts");
      /* harmony import */
  
  
      var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
      /*! ./app/app.module */
      "./src/app/app.module.ts");
      /* harmony import */
  
  
      var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
      /*! @angular/platform-browser */
      "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");
  
      if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) {
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
      }
  
      _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["platformBrowser"]().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"])["catch"](function (err) {
        return console.error(err);
      });
      /***/
  
    },
  
    /***/
    0:
    /*!***************************!*\
      !*** multi ./src/main.ts ***!
      \***************************/
  
    /*! no static exports found */
  
    /***/
    function _(module, exports, __webpack_require__) {
      module.exports = __webpack_require__(
      /*! C:\Users\stu\Desktop\node\NEST_JS\MY PROJECT NEST_JS\ng-node-auction\src\main.ts */
      "./src/main.ts");
      /***/
    }
  }, [[0, "runtime", "vendor"]]]);
  //# sourceMappingURL=main-es5.js.map