(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-pages-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/errors/not-permission/not-permission.component.html":
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/errors/not-permission/not-permission.component.html ***!
  \*****************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"d-flex justify-content-center align-items-center w-100 h-100 error-container\">\r\n    <div class=\"col-xl-4 col-md-6 col-10\">\r\n        <div class=\"card border-0 rounded-0\">\r\n            <h1 class=\"display-1 text-center\">401</h1>\r\n            <h6 class=\"card-title text-center\">Oops, o recurso solicitado precisa de permissao.</h6>\r\n            <p class=\"card-text text-center\">\r\n                Por favor, entre em contato com seu supervisor.\r\n            </p>\r\n            <p class=\"text-center\">\r\n                <button class=\"btn btn-default\" (click)=\"goBack()\">Voltar</button>\r\n            </p>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/pages.component.html":
/*!**********************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/pages.component.html ***!
  \**********************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"wrapper-inner\"\r\n    [ngClass]=\"{ 'vertical-menu-tooltip-place': (settings.theme.menuType == 'mini' && settings.theme.menu == 'vertical'),\r\n                                        'horizontal-menu-tooltip-place': (settings.theme.menuType == 'mini' && settings.theme.menu == 'horizontal') }\">\r\n\r\n    <app-header></app-header>\r\n\r\n    <div class=\"d-flex h-100\"\r\n        [ngClass]=\"{'flex-row': settings.theme.menu == 'vertical', 'flex-column': settings.theme.menu != 'vertical'}\">\r\n        <app-sidebar *ngIf=\"settings.theme.menu == 'vertical'\"></app-sidebar>\r\n        <div class=\"main-content\">\r\n            <app-breadcrumb></app-breadcrumb>\r\n            <router-outlet></router-outlet>\r\n        </div>\r\n    </div>\r\n\r\n</div>\r\n\r\n<app-footer></app-footer>\r\n<app-re-login></app-re-login>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/breadcrumb/breadcrumb.component.html":
/*!*************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/breadcrumb/breadcrumb.component.html ***!
  \*************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<ol *ngIf=\"isFavoritos\" class=\"breadcrumb\">\r\n    <li class=\"breadcrumb-item\">\r\n        <a routerLink=\"/\" title=\"Favoritos\">\r\n            <i class=\"icon-home mr-1\"></i> Favoritos\r\n        </a>\r\n    </li>\r\n</ol>\r\n\r\n<ol *ngIf=\"!isFavoritos\" class=\"breadcrumb\">\r\n    <li *ngIf=\"router.url != '/pages/favoritos'\" class=\"breadcrumb-item\">\r\n        <a routerLink=\"/\" (click)=\"closeSubMenus()\">\r\n            <i class=\"icon-home mr-1\"></i> Home             \r\n        </a>\r\n    </li>\r\n    <li *ngFor=\"let breadcrumb of breadcrumbs; let i = index;\" class=\"breadcrumb-item\">\r\n        <a [hidden]=\"i == (breadcrumbs.length - 1)\" [routerLink]=\"[breadcrumb.url]\">\r\n            {{breadcrumb.name}}\r\n        </a>\r\n        <span [hidden]=\"i != (breadcrumbs.length - 1)\">\r\n            <i *ngIf=\"router.url == '/pages/favoritos'\" class=\"fa fa-home mr-1\"></i>\r\n            <b>{{breadcrumb.name}}</b>\r\n        </span>\r\n    </li>\r\n</ol>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/flags-menu/flags-menu.component.html":
/*!*************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/flags-menu/flags-menu.component.html ***!
  \*************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"dropdown d-inline-block\">\r\n    <a class=\"dropdown-toggle no-caret pl-2 pr-2\" id=\"flags-menu\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\r\n        <span class=\"flag-icon {{ flag }}\"></span>\r\n    </a>\r\n\r\n    <div class=\"dropdown-menu dropdown-menu-right rounded-0 mt-3 p-0 box-shadow\" aria-labelledby=\"flags-menu\">\r\n        <div class=\"flags-menu\">          \r\n            <a class=\"dropdown-item\" href=\"javascript:void(0);\" (click)=\"switchLanguage('pt')\"><span class=\"flag-icon flag-icon-br mr-2\"></span> Português</a> \r\n            <a class=\"dropdown-item\" href=\"javascript:void(0);\" (click)=\"switchLanguage('en')\"><span class=\"flag-icon flag-icon-us mr-2\"></span> Inglês</a>        \r\n            <a class=\"dropdown-item\" href=\"javascript:void(0);\" (click)=\"switchLanguage('es')\"><span class=\"flag-icon flag-icon-es mr-2\"></span> Espanhol</a>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/footer/footer.component.html":
/*!*****************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/footer/footer.component.html ***!
  \*****************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"app-footer d-flex align-items-center justify-content-between\" [class.fixed-bottom]=\"settings.theme.footerIsFixed\">\r\n    <!--\r\n    <span class=\"social-icons\">\r\n         <a href=\"https://www.facebook.com/themeseason\" target=\"_blank\"><i class=\"fa fa-facebook-square transition\" aria-hidden=\"true\"></i></a>\r\n         <a href=\"https://twitter.com/themeseason\" target=\"_blank\"><i class=\"fa fa-twitter-square transition\" aria-hidden=\"true\"></i></a>\r\n         <a href=\"https://www.instagram.com/themeseason\" target=\"_blank\"><i class=\"fa fa-instagram transition\" aria-hidden=\"true\"></i></a>\r\n         <a href=\"https://www.pinterest.com/themeseason\" target=\"_blank\"><i class=\"fa fa-pinterest-square transition\" aria-hidden=\"true\"></i></a>             \r\n    </span>-->\r\n    <span class=\"copyright\">Copyright © 2018 All Rights Reserved</span>    \r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/header/header.component.html":
/*!*****************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/header/header.component.html ***!
  \*****************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<nav class=\"navbar box-shadow app-header\" [class.fixed-top]=\"settings.theme.navbarIsFixed\"\r\n  [class.logo-visible]=\"showInfoContent\">\r\n  <div class=\"d-flex flex-column w-100\">\r\n    <div class=\"d-flex justify-content-start align-items-center top-navbar\">\r\n      <a class=\"logo\" routerLink=\"/pages/favoritos\" (click)=\"closeSubMenus()\">\r\n        <img src=\"assets/img/logo-icon-2.png\" title=\"Corporate Web - UniSolution\" style=\"height: 42px !important;\" />\r\n      </a>\r\n\r\n      <span>\r\n        <span class=\"navbar-text menu-icon transition ml-4 mr-3\" [ngClass]=\"{ open: settings.theme.showMenu }\"\r\n          (click)=\"settings.theme.showMenu = !settings.theme.showMenu\">\r\n          <div class=\"line\"></div>\r\n          <div class=\"line\"></div>\r\n          <div class=\"line\"></div>\r\n          <div class=\"line\"></div>\r\n        </span>\r\n      </span>\r\n\r\n      <div class=\"container-app-search\">\r\n        <form class=\"app-search d-none d-md-inline-block ml-3\" #f=\"ngForm\" (ngSubmit)=\"search()\">\r\n          <i class=\"fa fa-search\" (click)=\"search()\"></i>\r\n          <input type=\"text\" placeholder=\"Busque uma rotina\" class=\"form-control disableKeyPress\"\r\n            [(ngModel)]=\"iptSearch\" [ngModelOptions]=\"{ standalone: true }\" (keyup)=\"onKeyupEvent()\" />\r\n        </form>\r\n\r\n        <!-- Dropdown de resultados -->\r\n        <div class=\"result-search\" *ngIf=\"showDropdown\">\r\n          <ul>\r\n            <li *ngFor=\"let dado of resultados\" (click)=\"goTo(dado)\">\r\n              {{ dado.hierarchyText }}\r\n            </li>\r\n          </ul>\r\n        </div>\r\n      </div>\r\n\r\n      <div class=\"top-left-icons ml-auto\">\r\n        {{ filial }}\r\n      </div>\r\n\r\n      <div class=\"top-rigth-icons ml-auto\">\r\n        <span class=\"d-none d-sm-inline-block\">\r\n          <app-flags-menu></app-flags-menu>\r\n        </span>\r\n        <span class=\"d-none d-sm-inline-block\">\r\n          <app-messages></app-messages>\r\n        </span>\r\n        <span class=\"hidden-xs-down\">\r\n          <app-user-menu></app-user-menu>\r\n        </span>\r\n        <span class=\"pl-2 pr-2\">\r\n          <a (click)=\"logout()\">\r\n            <i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i>\r\n          </a>\r\n        </span>\r\n      </div>\r\n    </div>\r\n\r\n    <div class=\"horizontal-menu-outer\" *ngIf=\"settings.theme.menu == 'horizontal'\">\r\n      <app-horizontal-menu *ngIf=\"showHorizontalMenu\" [menuItems]=\"menuItems\"></app-horizontal-menu>\r\n      <app-vertical-menu *ngIf=\"!showHorizontalMenu\" [menuItems]=\"menuItems\"></app-vertical-menu>\r\n    </div>\r\n  </div>\r\n</nav>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/context-menu/context-menu.component.html":
/*!**********************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/context-menu/context-menu.component.html ***!
  \**********************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div id=\"context-menu\">\r\n  <div class=\"item\" (click)=\"open()\">\r\n    <i class=\"fa fa-arrow-right\"></i> Abrir\r\n  </div>\r\n  <div class=\"item\" (click)=\"openWindow()\" *ngIf=\"routerPopUpUrl\">\r\n    <i class=\"fa fa-clone\"></i> Abrir Nova Aba\r\n  </div>\r\n</div>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.html":
/*!****************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.html ***!
  \****************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div id=\"horizontal-menu\" class=\"menu-wrapper horizontal-menu-wrapper d-flex justify-content-start align-items-center\"></div>  \r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/vertical-menu/vertical-menu.component.html":
/*!************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/vertical-menu/vertical-menu.component.html ***!
  \************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div id=\"vertical-menu\" class=\"menu-wrapper\" perfectScrollbar></div>\r\n\r\n<app-context-menu></app-context-menu>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/messages/messages.component.html":
/*!*********************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/messages/messages.component.html ***!
  \*********************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div id=\"messagesDropDown\" class=\"dropdown d-inline-block\">\r\n    <a class=\"dropdown-toggle no-caret pl-2 pr-2\" id=\"messages\" (click)=\"dropdownToggle()\" aria-haspopup=\"true\"\r\n        aria-expanded=\"false\">\r\n        <i class=\"messageIcon fa fa-bell-o\" [ngClass]=\"{'messagePriority': hasPriority}\" aria-hidden=\"true\"><span\r\n                class=\"badge badge-primary badge-pill\">{{quantiy}}</span></i>\r\n    </a>\r\n\r\n    <div class=\"dropdown-menu dropdown-menu-right rounded-0 p-0 mt-3 box-shadow\" aria-labelledby=\"messages\">\r\n        <div class=\"list\" perfectScrollbar>\r\n            <a *ngFor=\"let message of messages; let idx = index\" href=\"javascript:void(0);\" class=\"transition\">\r\n                <button class=\"btn btn-sm btn-link\" title=\"{{'buttons.confirmar' | translate}}\"\r\n                    (click)=\"confirmar(message, idx)\">\r\n                    <i class=\"fa fa-check\"></i>\r\n                </button>\r\n                <div class=\"list-content\">\r\n                    <h3>{{message.de}} <span class=\"pull-right\"><i class=\"fa fa-clock-o\"></i>\r\n                            {{message.dtMensagem | date:'dd/MM/yyyy HH:mm'}}</span></h3>\r\n                    <p>{{message.mensagem}}</p>\r\n                </div>\r\n            </a>\r\n        </div>\r\n        <button type=\"button\" class=\"btn btn-link\" (click)=\"mais()\">{{'labels.vermais' | translate}}</button>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/sidebar/sidebar.component.html":
/*!*******************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/sidebar/sidebar.component.html ***!
  \*******************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"sidebar-outer\">\r\n    <a class=\"logo d-flex align-items-center\" routerLink=\"/pages/favoritos\" (click)=\"closeSubMenus()\" *ngIf=\"settings.theme.sidebarIsFixed\">\r\n        <img src=\"assets/img/logo-icon.png\" title=\"Corporate Web | UniSolution\">\r\n    </a>\r\n    <app-vertical-menu [menuItems]=\"menuItems\"></app-vertical-menu>\r\n</div>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/user-menu/user-menu.component.html":
/*!***********************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/user-menu/user-menu.component.html ***!
  \***********************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"dropdown d-inline-block\">\r\n    <a class=\"dropdown-toggle no-caret pl-2 pr-2\" id=\"user-menu\" data-toggle=\"dropdown\" aria-haspopup=\"true\"\r\n        aria-expanded=\"false\">\r\n        <i class=\"fa fa-user-o\" aria-hidden=\"true\"></i>\r\n    </a>\r\n\r\n    <div class=\"dropdown-menu dropdown-menu-right rounded-0 mt-3 p-0 box-shadow\" aria-labelledby=\"user-menu\">\r\n        <div class=\"user-menu\">\r\n            <div class=\"user-info text-center p-3\">\r\n                <img src=\"assets/img/logo-icon-2.png\" alt=\"user-img\" class=\"user-img rounded-circle\">\r\n                <p class=\"mt-1 mb-0 version\">\r\n                    <small><span class=\"sis-version\">{{ version?.version }}</span></small>\r\n                    <small><span>{{ version?.date_release }}</span></small>\r\n                </p>\r\n            </div>\r\n\r\n            <app-validar-versao-sistema></app-validar-versao-sistema>\r\n\r\n            <p class=\"dropdown-item mb-0 mt-1 text-center\"><strong>{{ usuario }}</strong></p>\r\n            <p class=\"dropdown-item mb-0 text-center\"><small>{{ empresa }}</small></p>\r\n            <p class=\"dropdown-item mb-1 text-center\"><small>{{ filial }}</small></p>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./src/app/pages/errors/not-permission/not-permission.component.scss":
/*!***************************************************************************!*\
  !*** ./src/app/pages/errors/not-permission/not-permission.component.scss ***!
  \***************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".error-container {\n  background-color: #294457;\n  font-family: \"Century Gothic\", sans-serif !important;\n  position: absolute;\n}\n.error-container .card {\n  background-color: #315168 !important;\n  border: 0 !important;\n}\n.error-container .card .card-header {\n  width: 80px;\n  height: 80px;\n  margin: 0 auto;\n  margin-top: -40px;\n  font-size: 36px;\n}\n.error-container .card button {\n  background-color: #e3533a !important;\n  font-family: \"Century Gothic\", sans-serif !important;\n  margin-top: 45px !important;\n  margin-bottom: 45px !important;\n}\n.display-1 {\n  margin-top: 50px !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXJyb3JzL25vdC1wZXJtaXNzaW9uL0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaXNvbHV0aW9uL3NyY1xcYXBwXFxwYWdlc1xcZXJyb3JzXFxub3QtcGVybWlzc2lvblxcbm90LXBlcm1pc3Npb24uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL3BhZ2VzL2Vycm9ycy9ub3QtcGVybWlzc2lvbi9ub3QtcGVybWlzc2lvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHlCQUFBO0VBQ0Esb0RBQUE7RUFDQSxrQkFBQTtBQ0NKO0FEQ0k7RUFDSSxvQ0FBQTtFQUNBLG9CQUFBO0FDQ1I7QURDUTtFQUNJLFdBQUE7RUFDQSxZQUFBO0VBQ0EsY0FBQTtFQUNBLGlCQUFBO0VBQ0EsZUFBQTtBQ0NaO0FER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ICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogNDVweCAhaW1wb3J0YW50O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG5cclxuLmRpc3BsYXktMSB7XHJcbiAgICBtYXJnaW4tdG9wOiA1MHB4ICFpbXBvcnRhbnQ7XHJcbn0iLCIuZXJyb3ItY29udGFpbmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzI5NDQ1NztcbiAgZm9udC1mYW1pbHk6IFwiQ2VudHVyeSBHb3RoaWNcIiwgc2Fucy1zZXJpZiAhaW1wb3J0YW50O1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG59XG4uZXJyb3ItY29udGFpbmVyIC5jYXJkIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzMxNTE2OCAhaW1wb3J0YW50O1xuICBib3JkZXI6IDAgIWltcG9ydGFudDtcbn1cbi5lcnJvci1jb250YWluZXIgLmNhcmQgLmNhcmQtaGVhZGVyIHtcbiAgd2lkdGg6IDgwcHg7XG4gIGhlaWdodDogODBweDtcbiAgbWFyZ2luOiAwIGF1dG87XG4gIG1hcmdpbi10b3A6IC00MHB4O1xuICBmb250LXNpemU6IDM2cHg7XG59XG4uZXJyb3ItY29udGFpbmVyIC5jYXJkIGJ1dHRvbiB7XG4gIGJhY2tncm91bmQtY29sb3I6ICNlMzUzM2EgIWltcG9ydGFudDtcbiAgZm9udC1mYW1pbHk6IFwiQ2VudHVyeSBHb3RoaWNcIiwgc2Fucy1zZXJpZiAhaW1wb3J0YW50O1xuICBtYXJnaW4tdG9wOiA0NXB4ICFpbXBvcnRhbnQ7XG4gIG1hcmdpbi1ib3R0b206IDQ1cHggIWltcG9ydGFudDtcbn1cblxuLmRpc3BsYXktMSB7XG4gIG1hcmdpbi10b3A6IDUwcHggIWltcG9ydGFudDtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/errors/not-permission/not-permission.component.ts":
/*!*************************************************************************!*\
  !*** ./src/app/pages/errors/not-permission/not-permission.component.ts ***!
  \*************************************************************************/
/*! exports provided: NotPermissionComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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


var NotPermissionComponent = /** @class */ (function () {
    function NotPermissionComponent(router) {
        this.router = router;
    }
    NotPermissionComponent.prototype.searchResult = function () {
        this.router.navigate(['/']);
    };
    NotPermissionComponent.prototype.goBack = function () {
        this.router.navigate(['pages/favoritos']);
    };
    NotPermissionComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }
    ]; };
    NotPermissionComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-not-permission',
            template: __importDefault(__webpack_require__(/*! raw-loader!./not-permission.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/errors/not-permission/not-permission.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./not-permission.component.scss */ "./src/app/pages/errors/not-permission/not-permission.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]])
    ], NotPermissionComponent);
    return NotPermissionComponent;
}());



/***/ }),

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

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



var PagesComponent = /** @class */ (function () {
    function PagesComponent(appSettings, router) {
        this.appSettings = appSettings;
        this.router = router;
        this.showMenu = false;
        this.showSetting = false;
        this.menus = ["vertical", "horizontal"];
        this.menuTypes = ["default", "compact", "mini"];
        this.settings = this.appSettings.settings;
        if (sessionStorage["skin"]) {
            this.settings.theme.skin = sessionStorage["skin"];
        }
    }
    PagesComponent.prototype.ngOnInit = function () {
        if (window.innerWidth <= 768) {
            this.settings.theme.showMenu = false;
            this.settings.theme.sideChatIsHoverable = false;
        }
        this.showMenu = this.settings.theme.showMenu;
        this.menuOption = this.settings.theme.menu;
        this.menuTypeOption = this.settings.theme.menuType;
    };
    PagesComponent.prototype.chooseMenu = function (menu) {
        this.settings.theme.menu = menu;
        this.router.navigate(["/"]);
    };
    PagesComponent.prototype.chooseMenuType = function (menuType) {
        this.settings.theme.menuType = menuType;
        if (menuType === "mini") {
            jQuery(".menu-item-link").tooltip("enable");
        }
        else {
            jQuery(".menu-item-link").tooltip("disable");
        }
    };
    PagesComponent.prototype.changeTheme = function (theme) {
        this.settings.theme.skin = theme;
        sessionStorage["skin"] = theme;
    };
    PagesComponent.prototype.ngAfterViewInit = function () {
        // document.getElementById("preloader").classList.add("hide");
    };
    PagesComponent.prototype.onWindowResize = function () {
        var showMenu = !this._showMenu();
        if (this.showMenu !== showMenu) {
            this.showMenuStateChange(showMenu);
        }
        this.showMenu = showMenu;
    };
    PagesComponent.prototype.showMenuStateChange = function (showMenu) {
        this.settings.theme.showMenu = showMenu;
    };
    PagesComponent.prototype._showMenu = function () {
        return window.innerWidth <= 768;
    };
    PagesComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_2__["AppSettings"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"])("window:resize"),
        __metadata("design:type", Function),
        __metadata("design:paramtypes", []),
        __metadata("design:returntype", void 0)
    ], PagesComponent.prototype, "onWindowResize", null);
    PagesComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-pages",
            template: __importDefault(__webpack_require__(/*! raw-loader!./pages.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/pages.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./pages.component.scss */ "./src/app/pages/pages.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_2__["AppSettings"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]])
    ], PagesComponent);
    return PagesComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PagesModule", function() { return PagesModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _theme_components_back_top_back_top_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../theme/components/back-top/back-top.component */ "./src/app/theme/components/back-top/back-top.component.ts");
/* harmony import */ var _theme_components_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../theme/components/breadcrumb/breadcrumb.component */ "./src/app/theme/components/breadcrumb/breadcrumb.component.ts");
/* harmony import */ var _theme_components_flags_menu_flags_menu_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../theme/components/flags-menu/flags-menu.component */ "./src/app/theme/components/flags-menu/flags-menu.component.ts");
/* harmony import */ var _theme_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../theme/components/footer/footer.component */ "./src/app/theme/components/footer/footer.component.ts");
/* harmony import */ var _theme_components_header_header_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../theme/components/header/header.component */ "./src/app/theme/components/header/header.component.ts");
/* harmony import */ var _theme_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../theme/components/menu/horizontal-menu/horizontal-menu.component */ "./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.ts");
/* harmony import */ var _theme_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../theme/components/menu/vertical-menu/vertical-menu.component */ "./src/app/theme/components/menu/vertical-menu/vertical-menu.component.ts");
/* harmony import */ var _theme_components_messages_messages_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../theme/components/messages/messages.component */ "./src/app/theme/components/messages/messages.component.ts");
/* harmony import */ var _theme_components_sidebar_sidebar_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../theme/components/sidebar/sidebar.component */ "./src/app/theme/components/sidebar/sidebar.component.ts");
/* harmony import */ var _theme_components_user_menu_user_menu_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../theme/components/user-menu/user-menu.component */ "./src/app/theme/components/user-menu/user-menu.component.ts");
/* harmony import */ var _theme_components_menu_context_menu_context_menu_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./../theme/components/menu/context-menu/context-menu.component */ "./src/app/theme/components/menu/context-menu/context-menu.component.ts");
/* harmony import */ var _errors_not_permission_not_permission_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./errors/not-permission/not-permission.component */ "./src/app/pages/errors/not-permission/not-permission.component.ts");
/* harmony import */ var _pages_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pages.component */ "./src/app/pages/pages.component.ts");
/* harmony import */ var _pages_routing_module__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./pages.routing.module */ "./src/app/pages/pages.routing.module.ts");
/* harmony import */ var _pages_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./pages.service */ "./src/app/pages/pages.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

















var PagesModule = /** @class */ (function () {
    function PagesModule(injector) {
        this.injector = injector;
        _pages_service__WEBPACK_IMPORTED_MODULE_16__["PagesService"].injector = this.injector;
    }
    PagesModule.ctorParameters = function () { return [
        { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"] }
    ]; };
    PagesModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _pages_routing_module__WEBPACK_IMPORTED_MODULE_15__["PagesRoutingModule"]],
            declarations: [
                _pages_component__WEBPACK_IMPORTED_MODULE_14__["PagesComponent"],
                _theme_components_header_header_component__WEBPACK_IMPORTED_MODULE_6__["HeaderComponent"],
                _theme_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_5__["FooterComponent"],
                _theme_components_sidebar_sidebar_component__WEBPACK_IMPORTED_MODULE_10__["SidebarComponent"],
                _theme_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_8__["VerticalMenuComponent"],
                _theme_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_7__["HorizontalMenuComponent"],
                _theme_components_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_3__["BreadcrumbComponent"],
                _theme_components_back_top_back_top_component__WEBPACK_IMPORTED_MODULE_2__["BackTopComponent"],
                _theme_components_user_menu_user_menu_component__WEBPACK_IMPORTED_MODULE_11__["UserMenuComponent"],
                _theme_components_messages_messages_component__WEBPACK_IMPORTED_MODULE_9__["MessagesComponent"],
                _theme_components_flags_menu_flags_menu_component__WEBPACK_IMPORTED_MODULE_4__["FlagsMenuComponent"],
                _theme_components_menu_context_menu_context_menu_component__WEBPACK_IMPORTED_MODULE_12__["ContextMenuComponent"],
                _errors_not_permission_not_permission_component__WEBPACK_IMPORTED_MODULE_13__["NotPermissionComponent"]
            ],
            exports: [
                _errors_not_permission_not_permission_component__WEBPACK_IMPORTED_MODULE_13__["NotPermissionComponent"]
            ]
        }),
        __metadata("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]])
    ], PagesModule);
    return PagesModule;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PagesRoutingModule", function() { return PagesRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_adm_guard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/adm.guard */ "./src/app/adm.guard.ts");
/* harmony import */ var _pages_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pages.component */ "./src/app/pages/pages.component.ts");
/* harmony import */ var _errors_not_permission_not_permission_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errors/not-permission/not-permission.component */ "./src/app/pages/errors/not-permission/not-permission.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var PagesRoutes = [
    {
        path: "",
        component: _pages_component__WEBPACK_IMPORTED_MODULE_3__["PagesComponent"],
        children: [
            {
                path: "admin/corporate",
                loadChildren: "app/pages/admin/corporate/corporate.module#CorporateModule",
                canActivate: [app_adm_guard__WEBPACK_IMPORTED_MODULE_2__["AdmGuard"]],
                canActivateChild: [app_adm_guard__WEBPACK_IMPORTED_MODULE_2__["AdmGuard"]]
            },
            {
                path: "admin/ferramenta",
                loadChildren: "app/pages/admin/ferramenta/ferramenta.module#FerramentaModule",
                canActivate: [app_adm_guard__WEBPACK_IMPORTED_MODULE_2__["AdmGuard"]],
                canActivateChild: [app_adm_guard__WEBPACK_IMPORTED_MODULE_2__["AdmGuard"]]
            },
            {
                path: "semPermissao",
                component: _errors_not_permission_not_permission_component__WEBPACK_IMPORTED_MODULE_4__["NotPermissionComponent"],
            },
            {
                path: "blank",
                loadChildren: "app/pages/blank/blank.module#BlankModule"
            },
            {
                path: "reportview",
                loadChildren: "app/shared/components/report/report-view.module#ReportViewModule"
            },
            {
                path: "favoritos",
                loadChildren: "app/pages/favoritos/favoritos.module#FavoritosModule",
            },
            {
                path: "dashboard",
                loadChildren: "app/pages/dashboard/dashboard.module#DashboardModule",
            },
            {
                path: "permissoes",
                data: { breadcrumb: "permissoes" },
                loadChildren: "app/pages/permissao/permissao.module#PermissaoModule"
            },
            {
                path: "cadastro",
                loadChildren: "app/pages/cadastro/cadastro.module#CadastroModule"
            },
            {
                path: "veiculo",
                loadChildren: "app/pages/veiculo/veiculo.module#VeiculoModule"
            },
            {
                path: "balanca",
                loadChildren: "app/pages/balanca/balanca.module#BalancaModule"
            },
            {
                path: "nfe",
                loadChildren: "app/pages/nfe/nfe.module#NfeModule"
            },
            {
                path: "notaFiscal",
                loadChildren: "app/pages/nota-fiscal/nota-fiscal.module#NotaFiscalModule"
            },
            {
                path: "relatorios",
                loadChildren: "app/pages/relatorios/relatorio.module#RelatorioModule"
            },
            {
                path: "consultas",
                loadChildren: "app/pages/consultas/consultas.module#ConsultasModule"
            },
            {
                path: "graficos",
                loadChildren: "app/pages/graficos/graficos.module#GraficosModule"
            },
            {
                path: "controle",
                loadChildren: "app/pages/controle/controle.module#ControleModule"
            },
            {
                path: "obrigacoes",
                loadChildren: "app/pages/obrigacoes/obrigacoes.module#ObrigacoesModule"
            },
            {
                path: "configuracoes",
                loadChildren: "app/pages/configuracoes/configuracoes.module#ConfiguracoesModule"
            },
            {
                path: "rotinasDeApoio",
                loadChildren: "app/pages/rotinas-de-apoio/rotinas-de-apoio.module#RotinasDeApoioModule"
            },
            {
                path: "operacao",
                loadChildren: "app/pages/operacao/operacao.module#OperacaoModule"
            },
            {
                path: "portal",
                loadChildren: "app/pages/portal/portal.module#PortalModule"
            },
            {
                path: "comercial",
                loadChildren: "app/pages/comercial/comercial.module#ComercialModule"
            },
            {
                path: 'especificos',
                loadChildren: 'app/pages/especificos/especificos.module#EspecificosModule'
            },
            {
                path: 'estoqueFisico',
                loadChildren: 'app/pages/estoque-fisico/estoque-fisico.module#EstoqueFisicoModule'
            },
            {
                path: 'mobile',
                loadChildren: 'app/pages/mobile/mobile.module#MobileModule'
            },
            {
                path: 'ferramentas',
                loadChildren: 'app/pages/ferramentas/ferramentas.module#FerramentasModule'
            },
            {
                path: "redirecionamentoSso",
                loadChildren: "app/pages/redirecionamento-sso/redirecionamento-sso.module#RedirecionamentoSsoModule"
            },
            {
                path: "sealog",
                loadChildren: "app/pages/sealog/sealog.module#SealogModule"
            },
            {
                path: "gradar",
                loadChildren: "app/pages/gradar/gradar.module#GRadarModule"
            },
            {
                path: "cockpit",
                loadChildren: "app/pages/cockpit/cockpit.module#CockpitModule"
            }
        ]
    }
];
var PagesRoutingModule = /** @class */ (function () {
    function PagesRoutingModule() {
    }
    PagesRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(PagesRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], PagesRoutingModule);
    return PagesRoutingModule;
}());



/***/ }),

/***/ "./src/app/theme/components/back-top/back-top.component.scss":
/*!*******************************************************************!*\
  !*** ./src/app/theme/components/back-top/back-top.component.scss ***!
  \*******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".back-to-top {\n  position: fixed;\n  width: 40px;\n  height: 40px;\n  cursor: pointer;\n  z-index: 999999;\n  display: none;\n  text-decoration: none;\n  right: 40px;\n  bottom: 40px !important;\n  font-size: 28px;\n  text-align: center;\n  opacity: 0.5;\n  color: #fff;\n  background-color: rgba(0, 0, 0, 0.75);\n  border-radius: 4px;\n  line-height: 34px;\n}\n.back-to-top:hover {\n  opacity: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9iYWNrLXRvcC9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxcdGhlbWVcXGNvbXBvbmVudHNcXGJhY2stdG9wXFxiYWNrLXRvcC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9iYWNrLXRvcC9iYWNrLXRvcC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNFLGVBQUE7RUFDQSxXQUpLO0VBS0wsWUFMSztFQU1MLGVBQUE7RUFDQSxlQUFBO0VBQ0EsYUFBQTtFQUNBLHFCQUFBO0VBQ0EsV0FBQTtFQUNBLHVCQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLFdBQUE7RUFDQSxxQ0FBQTtFQUNBLGtCQUFBO0VBQ0EsaUJBQUE7QUNERjtBREVFO0VBQ0UsVUFBQTtBQ0FKIiwiZmlsZSI6InNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9iYWNrLXRvcC9iYWNrLXRvcC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIiRzaXplOiA0MHB4O1xyXG5cclxuLmJhY2stdG8tdG9wIHtcclxuICBwb3NpdGlvbjogZml4ZWQ7XHJcbiAgd2lkdGg6ICRzaXplO1xyXG4gIGhlaWdodDogJHNpemU7XHJcbiAgY3Vyc29yOiBwb2ludGVyO1xyXG4gIHotaW5kZXg6IDk5OTk5OTtcclxuICBkaXNwbGF5OiBub25lO1xyXG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICByaWdodDogNDBweDtcclxuICBib3R0b206IDQwcHggIWltcG9ydGFudDtcclxuICBmb250LXNpemU6IDI4cHg7XHJcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gIG9wYWNpdHk6IDAuNTtcclxuICBjb2xvcjogI2ZmZjtcclxuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsMCwwLCAwLjc1KTtcclxuICBib3JkZXItcmFkaXVzOiA0cHg7XHJcbiAgbGluZS1oZWlnaHQ6IDM0cHg7XHJcbiAgJjpob3ZlciB7XHJcbiAgICBvcGFjaXR5OiAxO1xyXG4gIH1cclxufVxyXG4iLCIuYmFjay10by10b3Age1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHdpZHRoOiA0MHB4O1xuICBoZWlnaHQ6IDQwcHg7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgei1pbmRleDogOTk5OTk5O1xuICBkaXNwbGF5OiBub25lO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIHJpZ2h0OiA0MHB4O1xuICBib3R0b206IDQwcHggIWltcG9ydGFudDtcbiAgZm9udC1zaXplOiAyOHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIG9wYWNpdHk6IDAuNTtcbiAgY29sb3I6ICNmZmY7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC43NSk7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgbGluZS1oZWlnaHQ6IDM0cHg7XG59XG4uYmFjay10by10b3A6aG92ZXIge1xuICBvcGFjaXR5OiAxO1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/theme/components/back-top/back-top.component.ts":
/*!*****************************************************************!*\
  !*** ./src/app/theme/components/back-top/back-top.component.ts ***!
  \*****************************************************************/
/*! exports provided: BackTopComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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

var BackTopComponent = /** @class */ (function () {
    function BackTopComponent() {
        this.position = 400;
        this.showSpeed = 500;
        this.moveSpeed = 700;
    }
    BackTopComponent.prototype.ngAfterViewInit = function () {
        this._onWindowScroll();
    };
    BackTopComponent.prototype._onClick = function () {
        jQuery('html, body').animate({ scrollTop: 0 }, { duration: this.moveSpeed });
        return false;
    };
    BackTopComponent.prototype._onWindowScroll = function () {
        var el = this._selector.nativeElement;
        window.scrollY > this.position ? jQuery(el).fadeIn(this.showSpeed) : jQuery(el).fadeOut(this.showSpeed);
    };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Number)
    ], BackTopComponent.prototype, "position", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Number)
    ], BackTopComponent.prototype, "showSpeed", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Number)
    ], BackTopComponent.prototype, "moveSpeed", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])('backTop', { static: true }),
        __metadata("design:type", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"])
    ], BackTopComponent.prototype, "_selector", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"])('click'),
        __metadata("design:type", Function),
        __metadata("design:paramtypes", []),
        __metadata("design:returntype", Boolean)
    ], BackTopComponent.prototype, "_onClick", null);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"])('window:scroll'),
        __metadata("design:type", Function),
        __metadata("design:paramtypes", []),
        __metadata("design:returntype", void 0)
    ], BackTopComponent.prototype, "_onWindowScroll", null);
    BackTopComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-back-top',
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            template: "\n    <i #backTop class=\"fa fa-angle-up back-to-top transition\" title=\"Back to Top\"></i>\n  ",
            styles: [__importDefault(__webpack_require__(/*! ./back-top.component.scss */ "./src/app/theme/components/back-top/back-top.component.scss")).default]
        })
    ], BackTopComponent);
    return BackTopComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BreadcrumbComponent", function() { return BreadcrumbComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _app_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../app.settings */ "./src/app/app.settings.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var BreadcrumbComponent = /** @class */ (function () {
    function BreadcrumbComponent(appSettings, router, activatedRoute, title, messageService) {
        var _this = this;
        this.appSettings = appSettings;
        this.router = router;
        this.activatedRoute = activatedRoute;
        this.title = title;
        this.messageService = messageService;
        this.breadcrumbs = [];
        this.settings = this.appSettings.settings;
        this.router.events.subscribe(function (event) {
            if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_2__["NavigationEnd"]) {
                _this.breadcrumbs = [];
                _this.pageTitle = 'Corporate Web | Unisolution';
                _this.title.setTitle(_this.pageTitle);
                _this.parseRoute(_this.router.routerState.snapshot.root);
            }
        });
    }
    BreadcrumbComponent.prototype.parseRoute = function (node) {
        return __awaiter(this, void 0, void 0, function () {
            var title, urlSegments_1, url, breadcrumbs_1, breadcrumbsSub_1, breadcrumbs_2, breadcrumbsSub_2;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        title = "";
                        this.isFavoritos = (this.router.url.toLowerCase().trim() === "/pages/favoritos");
                        if (!node.data["breadcrumb"]) return [3 /*break*/, 7];
                        if (!node.url.length) return [3 /*break*/, 3];
                        urlSegments_1 = [];
                        node.pathFromRoot.forEach(function (routerState) {
                            urlSegments_1 = urlSegments_1.concat(routerState.url);
                        });
                        url = urlSegments_1.map(function (urlSegment) { return urlSegment.path; }).join("/");
                        breadcrumbs_1 = "";
                        breadcrumbsSub_1 = "";
                        return [4 /*yield*/, this.messageService.getTranslatesAsync("titles", node.data["breadcrumb"], function (r) { {
                                breadcrumbs_1 = r;
                            } })];
                    case 1:
                        _a.sent();
                        return [4 /*yield*/, this.messageService.getTranslatesAsync("titles", node.data["breadcrumbSub"], function (r) { breadcrumbsSub_1 = r; })];
                    case 2:
                        _a.sent();
                        title = !!breadcrumbsSub_1 ? breadcrumbs_1 + " (" + breadcrumbsSub_1 + ")" : breadcrumbs_1;
                        this.breadcrumbs.push({ name: title, url: "/" + url });
                        return [3 /*break*/, 6];
                    case 3:
                        breadcrumbs_2 = "";
                        breadcrumbsSub_2 = "";
                        return [4 /*yield*/, this.messageService.getTranslatesAsync("titles", node.data["breadcrumb"], function (r) { breadcrumbs_2 = r; })];
                    case 4:
                        _a.sent();
                        return [4 /*yield*/, this.messageService.getTranslatesAsync("titles", node.data["breadcrumbSub"], function (r) { breadcrumbsSub_2 = r; })];
                    case 5:
                        _a.sent();
                        title = !!breadcrumbsSub_2 ? breadcrumbs_2 + " (" + breadcrumbsSub_2 + ")" : breadcrumbs_2;
                        this.breadcrumbs.push({ name: title, url: "" });
                        _a.label = 6;
                    case 6:
                        this.pageTitle = title + " | Corporate Web";
                        this.title.setTitle(this.pageTitle);
                        _a.label = 7;
                    case 7:
                        if (node.firstChild) {
                            this.parseRoute(node.firstChild);
                        }
                        return [2 /*return*/];
                }
            });
        });
    };
    BreadcrumbComponent.prototype.closeSubMenus = function () {
        var menu = document.querySelector("#menu0");
        if (menu) {
            for (var i = 0; i < menu.children.length; i++) {
                var child = menu.children[i].children[1];
                if (child) {
                    if (child.classList.contains("show")) {
                        child.classList.remove("show");
                        menu.children[i].children[0].classList.add("collapsed");
                    }
                }
            }
        }
    };
    BreadcrumbComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_3__["AppSettings"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"] },
        { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["Title"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] }
    ]; };
    BreadcrumbComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-breadcrumb",
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            template: __importDefault(__webpack_require__(/*! raw-loader!./breadcrumb.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/breadcrumb/breadcrumb.component.html")).default
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_3__["AppSettings"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"],
            _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["Title"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"]])
    ], BreadcrumbComponent);
    return BreadcrumbComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/flags-menu/flags-menu.component.scss":
/*!***********************************************************************!*\
  !*** ./src/app/theme/components/flags-menu/flags-menu.component.scss ***!
  \***********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("@charset \"UTF-8\";\n.flag-icon-background {\n  background-size: contain;\n  background-position: 50%;\n  background-repeat: no-repeat;\n}\n.flag-icon {\n  background-size: contain;\n  background-position: 50%;\n  background-repeat: no-repeat;\n  position: relative;\n  display: inline-block;\n  width: 1.33333333em;\n  line-height: 1em;\n}\n.flag-icon:before {\n  content: \" \";\n}\n.flag-icon-br {\n  background-image: url('br.svg');\n}\n.flag-icon-us {\n  background-image: url('us.svg');\n}\n.flag-icon-es {\n  background-image: url('es.svg');\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9mbGFncy1tZW51L2ZsYWdzLW1lbnUuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL3RoZW1lL2NvbXBvbmVudHMvZmxhZ3MtbWVudS9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxcdGhlbWVcXGNvbXBvbmVudHNcXGZsYWdzLW1lbnVcXGZsYWdzLW1lbnUuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCO0FDQWhCO0VBQ0Usd0JBQUE7RUFDQSx3QkFBQTtFQUNBLDRCQUFBO0FERUY7QUNBQTtFQUNFLHdCQUFBO0VBQ0Esd0JBQUE7RUFDQSw0QkFBQTtFQUNBLGtCQUFBO0VBQ0EscUJBQUE7RUFDQSxtQkFBQTtFQUNBLGdCQUFBO0FER0Y7QUNEQTtFQUNFLFlBQUE7QURJRjtBQ0RBO0VBQ0UsK0JBQUE7QURJRjtBQ0ZBO0VBQ0UsK0JBQUE7QURLRjtBQ0hBO0VBQ0UsK0JBQUE7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cG9zaXRpb246IDUwJTtcclxuICBiYWNrZ3JvdW5kLXJlcGVhdDogbm8tcmVwZWF0O1xyXG59XHJcbi5mbGFnLWljb24ge1xyXG4gIGJhY2tncm91bmQtc2l6ZTogY29udGFpbjtcclxuICBiYWNrZ3JvdW5kLXBvc2l0aW9uOiA1MCU7XHJcbiAgYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDtcclxuICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gIHdpZHRoOiAxLjMzMzMzMzMzZW07XHJcbiAgbGluZS1oZWlnaHQ6IDFlbTtcclxufVxyXG4uZmxhZy1pY29uOmJlZm9yZSB7XHJcbiAgY29udGVudDogXCJcXDAwYTBcIjtcclxufVxyXG5cclxuLmZsYWctaWNvbi1iciB7XHJcbiAgYmFja2dyb3VuZC1pbWFnZTogdXJsKC4uLy4uLy4uLy4uL2Fzc2V0cy9pbWcvZmxhZ3MvYnIuc3ZnKTtcclxufVxyXG4uZmxhZy1pY29uLXVzIHtcclxuICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoLi4vLi4vLi4vLi4vYXNzZXRzL2ltZy9mbGFncy91cy5zdmcpO1xyXG59XHJcbi5mbGFnLWljb24tZXMge1xyXG4gIGJhY2tncm91bmQtaW1hZ2U6IHVybCguLi8uLi8uLi8uLi9hc3NldHMvaW1nL2ZsYWdzL2VzLnN2Zyk7XHJcbn0iXX0= */");

/***/ }),

/***/ "./src/app/theme/components/flags-menu/flags-menu.component.ts":
/*!*********************************************************************!*\
  !*** ./src/app/theme/components/flags-menu/flags-menu.component.ts ***!
  \*********************************************************************/
/*! exports provided: FlagsMenuComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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


var FlagsMenuComponent = /** @class */ (function () {
    function FlagsMenuComponent(funcoesService) {
        this.funcoesService = funcoesService;
        var usLocale = JSON.parse(localStorage.getItem("us.locale"));
        var lang = "pt";
        this.flag = "flag-icon-br";
        if (usLocale) {
            if (usLocale.i18n !== undefined) {
                lang = usLocale.i18n;
            }
            if (usLocale.flag !== undefined) {
                this.flag = usLocale.flag;
            }
        }
        funcoesService.setDefaultLang();
    }
    FlagsMenuComponent.prototype.ngOnInit = function () {
    };
    FlagsMenuComponent.prototype.switchLanguage = function (language) {
        var locale = "pt";
        switch (language) {
            case "en":
                locale = "en-US";
                this.flag = "flag-icon-us";
                break;
            case "es":
                locale = "es";
                this.flag = "flag-icon-es";
                break;
            default:
                locale = "pt-BR";
                this.flag = "flag-icon-br";
                break;
        }
        localStorage.setItem("us.locale", JSON.stringify({ i18n: language, locale: locale, flag: this.flag }));
        this.funcoesService.setDefaultLang();
    };
    FlagsMenuComponent.ctorParameters = function () { return [
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_0__["FuncoesService"] }
    ]; };
    FlagsMenuComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-flags-menu",
            template: __importDefault(__webpack_require__(/*! raw-loader!./flags-menu.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/flags-menu/flags-menu.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./flags-menu.component.scss */ "./src/app/theme/components/flags-menu/flags-menu.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_0__["FuncoesService"]])
    ], FlagsMenuComponent);
    return FlagsMenuComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/footer/footer.component.scss":
/*!***************************************************************!*\
  !*** ./src/app/theme/components/footer/footer.component.scss ***!
  \***************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("/**** General ****/\n.app-footer {\n  width: 100%;\n  height: 28px;\n  padding: 0 25px;\n}\n.app-footer .copyright {\n  font-size: 12px;\n  z-index: 1;\n}\n.app-footer .social-icons {\n  font-size: 18px;\n}\n.app-footer .social-icons a {\n  color: inherit;\n}\n.app-footer .social-icons i {\n  margin-right: 4px;\n  opacity: 0.8;\n}\n.app-footer .social-icons i:hover {\n  opacity: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9mb290ZXIvQzpcXENvcnBvcmF0ZVxcQ29ycG9yYXRlV2ViRGVzZW52XFxfdW5pc29sdXRpb24vc3JjXFxhcHBcXHRoZW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2h0IHtcbiAgZm9udC1zaXplOiAxMnB4O1xuICB6LWluZGV4OiAxO1xufVxuLmFwcC1mb290ZXIgLnNvY2lhbC1pY29ucyB7XG4gIGZvbnQtc2l6ZTogMThweDtcbn1cbi5hcHAtZm9vdGVyIC5zb2NpYWwtaWNvbnMgYSB7XG4gIGNvbG9yOiBpbmhlcml0O1xufVxuLmFwcC1mb290ZXIgLnNvY2lhbC1pY29ucyBpIHtcbiAgbWFyZ2luLXJpZ2h0OiA0cHg7XG4gIG9wYWNpdHk6IDAuODtcbn1cbi5hcHAtZm9vdGVyIC5zb2NpYWwtaWNvbnMgaTpob3ZlciB7XG4gIG9wYWNpdHk6IDE7XG59Il19 */");

/***/ }),

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

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


var FooterComponent = /** @class */ (function () {
    function FooterComponent(appSettings) {
        this.appSettings = appSettings;
        this.settings = this.appSettings.settings;
    }
    FooterComponent.prototype.ngOnInit = function () {
    };
    FooterComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_1__["AppSettings"] }
    ]; };
    FooterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-footer',
            template: __importDefault(__webpack_require__(/*! raw-loader!./footer.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/footer/footer.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./footer.component.scss */ "./src/app/theme/components/footer/footer.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_1__["AppSettings"]])
    ], FooterComponent);
    return FooterComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/header/header.component.scss":
/*!***************************************************************!*\
  !*** ./src/app/theme/components/header/header.component.scss ***!
  \***************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("/**** General ****/\n.disabled {\n  pointer-events: none;\n}\n.navbar.app-header {\n  padding: 0;\n  z-index: 9;\n  transition: z-index 0.5s linear;\n}\n.navbar.app-header .top-navbar {\n  padding: 0 1rem;\n  height: 46px;\n}\n.navbar.app-header .top-navbar .logo {\n  width: 220px;\n  transform: translate3d(0, 0, 0);\n}\n.navbar.app-header.logo-visible {\n  z-index: 99999;\n}\n.top-rigth-icons span {\n  font-size: 14px;\n  cursor: pointer;\n}\ndiv.container-app-search {\n  position: relative;\n}\ndiv.container-app-search div.result-search {\n  display: block;\n  position: absolute;\n  min-width: 150px;\n  max-width: 700px;\n  width: auto;\n  white-space: nowrap;\n  overflow-x: auto;\n  max-height: 200px;\n  overflow-y: auto;\n  background-color: white;\n  border: 1px solid #ddd;\n  box-shadow: 2px 3px 4px #888888;\n  opacity: 0.95;\n  z-index: 1000;\n  padding: 0 10px;\n}\ndiv.container-app-search div.result-search ul {\n  margin: 0;\n  padding: 5px 10px;\n}\ndiv.container-app-search div.result-search ul li {\n  margin: 2px 0;\n  color: #565656;\n  cursor: pointer;\n  list-style: none;\n  transition: all 0.15s ease;\n  white-space: nowrap;\n}\ndiv.container-app-search div.result-search ul li:hover {\n  transform: scale(1.05);\n  font-weight: 600;\n}\n.top-navbar .app-search {\n  position: relative;\n  color: #fff !important;\n  margin-left: 20px;\n}\n.top-navbar .app-search i {\n  position: absolute;\n  right: 2px;\n  font-size: 14px;\n  cursor: pointer;\n  z-index: 9;\n}\n.top-navbar .app-search .form-control {\n  border: none;\n  font-size: 12px;\n  height: 18px;\n  background: transparent;\n  padding: 0;\n  padding-right: 24px;\n  padding-left: 4px;\n  box-shadow: none;\n  width: 190px;\n  opacity: 0.7;\n}\n.top-navbar .app-search .form-control:focus {\n  opacity: 1;\n}\n.menu-icon {\n  position: relative;\n  width: 18px;\n  cursor: pointer;\n}\n.menu-icon .line {\n  width: 100%;\n  height: 2px;\n  position: absolute;\n  background-color: #ccc;\n  transform: rotate(0deg);\n  transition: 0.15s ease-in-out;\n  transform: translate3d(0, 0, 0);\n  outline: 1px solid transparent;\n}\n.menu-icon .line:nth-child(1) {\n  top: 0;\n}\n.menu-icon .line:nth-child(2), .menu-icon .line:nth-child(3) {\n  top: 4px;\n}\n.menu-icon .line:nth-child(4) {\n  top: 8px;\n}\n.menu-icon.open {\n  -webkit-backface-visibility: hidden;\n}\n.menu-icon.open .line:nth-child(1), .menu-icon.open .line:nth-child(4) {\n  top: 4px;\n  width: 0%;\n  left: 50%;\n}\n.menu-icon.open .line:nth-child(2) {\n  transform: rotate(-45deg);\n}\n.menu-icon.open .line:nth-child(3) {\n  transform: rotate(45deg);\n}\n.logo {\n  font-family: \"MoonHouse\";\n  padding: 0;\n  font-size: 27px;\n  display: inline-block;\n  width: 250px;\n}\n.logo:hover, .logo:focus {\n  text-decoration: none;\n  color: initial;\n}\n.horizontal-menu-outer {\n  height: auto;\n}\n.horizontal-menu-outer #menu0 {\n  height: 250px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderComponent", function() { return HeaderComponent; });
/* harmony import */ var _shared_services_auth_auth_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../shared/services/auth/auth.service */ "./src/app/shared/services/auth/auth.service.ts");
/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/animations */ "./node_modules/@angular/animations/fesm5/animations.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _shared_services_funcoes_string_utils_string_utils_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../../../shared/services/funcoes/string-utils/string-utils.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.service.ts");
/* harmony import */ var _app_settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../app.settings */ "./src/app/app.settings.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _menu_menu_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../menu/menu.service */ "./src/app/theme/components/menu/menu.service.ts");
var __assign = (undefined && undefined.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};








var HeaderComponent = /** @class */ (function () {
    function HeaderComponent(appSettings, menuService, loginService, router, stringUtils) {
        this.appSettings = appSettings;
        this.menuService = menuService;
        this.loginService = loginService;
        this.router = router;
        this.stringUtils = stringUtils;
        this.showHorizontalMenu = true;
        this.showInfoContent = false;
        this.filial = "";
        this.iptSearch = "";
        this.resultados = [];
        this.showDropdown = false;
        this.settings = this.appSettings.settings;
        this.menuItems = this.menuService.getHorizontalMenuItems();
    }
    HeaderComponent.prototype.ngOnInit = function () {
        if (window.innerWidth <= 768) {
            this.showHorizontalMenu = false;
        }
        this.principal = false;
        if (sessionStorage["us.principal"]) {
            this.principal = JSON.parse(sessionStorage["us.principal"]);
        }
        var login = this.loginService.getLogin();
        this.filial = login.filial;
    };
    HeaderComponent.prototype.closeSubMenus = function () {
        var menu = document.querySelector("#menu0");
        if (menu) {
            for (var i = 0; i < menu.children.length; i++) {
                var child = menu.children[i].children[1];
                if (child) {
                    if (child.classList.contains("show")) {
                        child.classList.remove("show");
                        menu.children[i].children[0].classList.add("collapsed");
                    }
                }
            }
        }
    };
    HeaderComponent.prototype.onWindowResize = function () {
        if (window.innerWidth <= 768) {
            this.showHorizontalMenu = false;
        }
        else {
            this.showHorizontalMenu = true;
        }
    };
    HeaderComponent.prototype.logout = function () {
        this.loginService.logout();
    };
    HeaderComponent.prototype.onKeyupEvent = function () {
        var show = this.search();
        this.showDropdown = show;
    };
    HeaderComponent.prototype.search = function () {
        var _this = this;
        var menus = [];
        if (_shared_services_auth_auth_service__WEBPACK_IMPORTED_MODULE_0__["AuthService"].isPoweuser()) {
            menus = this.settings.menus.filter(function (v) { return v.apresenta === "Admin" || v.apresenta === "Todos"; });
        }
        else {
            menus = this.settings.menus.filter(function (v) { return v.apresenta === "Client" || v.apresenta === "Todos"; });
        }
        this.resultados = [];
        if (!menus || !this.iptSearch || this.iptSearch.trim() === '' || this.iptSearch.length < 3)
            return false;
        var searchText = this.iptSearch.toLowerCase();
        // Busca por sisFormularioId
        var fMenu = menus.find(function (c) { return c.sisFormularioId === +_this.iptSearch; });
        if (fMenu && fMenu.routerLink) {
            this.router.navigate([fMenu.routerLink]);
            return false;
        }
        // Monta árvore
        var buildTree = function (items) {
            var map = new Map();
            var roots = [];
            items.forEach(function (item) { return map.set(item.id, __assign({}, item, { children: [] })); });
            items.forEach(function (item) {
                var node = map.get(item.id);
                if (item.parentId === 0) {
                    roots.push(node);
                }
                else {
                    var parent_1 = map.get(item.parentId);
                    if (parent_1)
                        parent_1.children.push(node);
                }
            });
            return roots;
        };
        // Filtra árvore
        var filterNode = function (node, searchText) {
            var filteredChildren = (node.children || [])
                .map(function (child) { return filterNode(child, searchText); })
                .filter(function (n) { return n !== null; });
            var descricaoNormalizada = node.descricao.toLowerCase();
            var searchTextNormalizado = searchText.toLowerCase();
            if (descricaoNormalizada.includes(searchTextNormalizado) || filteredChildren.length > 0) {
                // Só cria novo objeto se os filhos filtrados forem diferentes dos originais
                if (filteredChildren.length !== node.children.length) {
                    return __assign({}, node, { children: filteredChildren });
                }
                return node;
            }
            return null;
        };
        var tree = buildTree(menus);
        var filteredTree = tree.map(function (node) { return filterNode(node, searchText); }).filter(function (n) { return n !== null; });
        // Flatten para dropdown com hierarquia completa
        var flattenResultsWithHierarchy = function (nodes, prefix) {
            if (prefix === void 0) { prefix = ''; }
            var result = [];
            nodes.forEach(function (node) {
                var currentText = prefix ? prefix + " > " + node.descricao : node.descricao;
                if (!!node.sisFormularioId)
                    currentText = prefix ? prefix + " > " + node.descricao + " (" + node.sisFormularioId + ")" : node.descricao + " (" + node.sisFormularioId + ")";
                if (node.routerLink)
                    result.push(__assign({}, node, { hierarchyText: currentText }));
                if (node.children && node.children.length > 0) {
                    result = result.concat(flattenResultsWithHierarchy(node.children, currentText));
                }
            });
            return result;
        };
        this.resultados = flattenResultsWithHierarchy(filteredTree);
        // Se houver apenas 1 resultado com link, navega automaticamente
        if (this.resultados.length === 1 && this.resultados[0].routerLink) {
            this.router.navigate([this.resultados[0].routerLink]);
            this.resultados = [];
        }
        return this.resultados.length > 0;
    };
    HeaderComponent.prototype.goTo = function (menu) {
        if (menu.routerLink) {
            this.router.navigate([menu.routerLink]);
            this.resultados = [];
        }
    };
    HeaderComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_5__["AppSettings"] },
        { type: _menu_menu_service__WEBPACK_IMPORTED_MODULE_7__["MenuService"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] },
        { type: _shared_services_funcoes_string_utils_string_utils_service__WEBPACK_IMPORTED_MODULE_4__["StringUtilsService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["HostListener"])("window:resize"),
        __metadata("design:type", Function),
        __metadata("design:paramtypes", []),
        __metadata("design:returntype", void 0)
    ], HeaderComponent.prototype, "onWindowResize", null);
    HeaderComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Component"])({
            selector: "app-header",
            template: __importDefault(__webpack_require__(/*! raw-loader!./header.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/header/header.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_2__["ViewEncapsulation"].None,
            providers: [_menu_menu_service__WEBPACK_IMPORTED_MODULE_7__["MenuService"]],
            animations: [
                Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["trigger"])("showInfo", [
                    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["state"])("1", Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["style"])({ transform: "rotate(180deg)" })),
                    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["state"])("0", Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["style"])({ transform: "rotate(0deg)" })),
                    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["transition"])("1 => 0", Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["animate"])("400ms")),
                    Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["transition"])("0 => 1", Object(_angular_animations__WEBPACK_IMPORTED_MODULE_1__["animate"])("400ms"))
                ])
            ],
            styles: [__importDefault(__webpack_require__(/*! ./header.component.scss */ "./src/app/theme/components/header/header.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_5__["AppSettings"],
            _menu_menu_service__WEBPACK_IMPORTED_MODULE_7__["MenuService"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"],
            _shared_services_funcoes_string_utils_string_utils_service__WEBPACK_IMPORTED_MODULE_4__["StringUtilsService"]])
    ], HeaderComponent);
    return HeaderComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/menu/context-menu/context-menu.component.scss":
/*!********************************************************************************!*\
  !*** ./src/app/theme/components/menu/context-menu/context-menu.component.scss ***!
  \********************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("#context-menu {\n  position: fixed;\n  z-index: 10000;\n  width: 150px;\n  background: #1b1a1a;\n  border-radius: 5px;\n  transform: scale(0);\n  transform-origin: top left;\n}\n\n#context-menu.active {\n  transform: scale(1);\n  transition: transform 300ms ease-in-out;\n}\n\n#context-menu .item {\n  padding: 8px 10px;\n  font-size: 15px;\n  color: #eee;\n}\n\n#context-menu .item:hover {\n  background: #555;\n  cursor: pointer;\n}\n\n#context-menu .item i {\n  display: inline-block;\n  margin-right: 5px;\n}\n\n#context-menu hr {\n  margin: 2px 0px;\n  border-color: #555;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9tZW51L2NvbnRleHQtbWVudS9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxcdGhlbWVcXGNvbXBvbmVudHNcXG1lbnVcXGNvbnRleHQtbWVudVxcY29udGV4dC1tZW51LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC90aGVtZS9jb21wb25lbnRzL21lbnUvY29udGV4dC1tZW51L2NvbnRleHQtbWVudS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGVBQUE7RUFDQSxjQUFBO0VBQ0EsWUFBQTtFQUNBLG1CQUFBO0VBQ0Esa0JBQUE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tYmxvY2s7XHJcbiAgbWFyZ2luLXJpZ2h0OjVweDtcclxufVxyXG4jY29udGV4dC1tZW51IGhyIHtcclxuICBtYXJnaW46MnB4IDBweDtcclxuICBib3JkZXItY29sb3I6IzU1NTtcclxufSIsIiNjb250ZXh0LW1lbnUge1xuICBwb3NpdGlvbjogZml4ZWQ7XG4gIHotaW5kZXg6IDEwMDAwO1xuICB3aWR0aDogMTUwcHg7XG4gIGJhY2tncm91bmQ6ICMxYjFhMWE7XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgdHJhbnNmb3JtOiBzY2FsZSgwKTtcbiAgdHJhbnNmb3JtLW9yaWdpbjogdG9wIGxlZnQ7XG59XG5cbiNjb250ZXh0LW1lbnUuYWN0aXZlIHtcbiAgdHJhbnNmb3JtOiBzY2FsZSgxKTtcbiAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDMwMG1zIGVhc2UtaW4tb3V0O1xufVxuXG4jY29udGV4dC1tZW51IC5pdGVtIHtcbiAgcGFkZGluZzogOHB4IDEwcHg7XG4gIGZvbnQtc2l6ZTogMTVweDtcbiAgY29sb3I6ICNlZWU7XG59XG5cbiNjb250ZXh0LW1lbnUgLml0ZW06aG92ZXIge1xuICBiYWNrZ3JvdW5kOiAjNTU1O1xuICBjdXJzb3I6IHBvaW50ZXI7XG59XG5cbiNjb250ZXh0LW1lbnUgLml0ZW0gaSB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgbWFyZ2luLXJpZ2h0OiA1cHg7XG59XG5cbiNjb250ZXh0LW1lbnUgaHIge1xuICBtYXJnaW46IDJweCAwcHg7XG4gIGJvcmRlci1jb2xvcjogIzU1NTtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/theme/components/menu/context-menu/context-menu.component.ts":
/*!******************************************************************************!*\
  !*** ./src/app/theme/components/menu/context-menu/context-menu.component.ts ***!
  \******************************************************************************/
/*! exports provided: ContextMenuComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



var ContextMenuComponent = /** @class */ (function () {
    function ContextMenuComponent(router) {
        var _this = this;
        this.router = router;
        this.sub = _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_0__["EventEmitterService"].get('setMenuContext').subscribe(function () {
            var matches = jQuery("a.menu-item-link");
            for (var i = 0; i < matches.length; i++) {
                var item = matches.eq(i);
                if (item.hasClass("contextmenu")) {
                    item.on("contextmenu", function (event) {
                        _this.linkId = event.target.getAttribute('data-link-id');
                        _this.routerUrl = event.target.getAttribute('data-router');
                        _this.routerPopUpUrl = event.target.getAttribute('data-router-popup');
                        if (_this.routerPopUpUrl) {
                            event.preventDefault();
                            var contextElement = document.getElementById("context-menu");
                            contextElement.style.top = event.clientY + "px";
                            contextElement.style.left = event.clientX + "px";
                            contextElement.classList.add("active");
                        }
                    });
                }
            }
            jQuery("body").click(function (e) {
                var contextmenu = document.getElementById("context-menu");
                if (!!contextmenu)
                    contextmenu.classList.remove("active");
            });
        });
    }
    ContextMenuComponent.prototype.ngOnDestroy = function () {
        this.sub.unsubscribe();
    };
    ContextMenuComponent.prototype.open = function () {
        if (!this.routerUrl) {
            alert('Rota não configurada!');
            return;
        }
        this.router.navigate([this.routerUrl]);
    };
    ContextMenuComponent.prototype.openWindow = function () {
        if (!this.routerPopUpUrl) {
            alert('Rota não configurada!');
            return;
        }
        this.popupCenter(this.linkId, this.routerPopUpUrl, "Corporate | UniSolution", 1024, 768);
    };
    ContextMenuComponent.prototype.popupCenter = function (id, url, title, w, h) {
        var dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : window.screenX;
        var dualScreenTop = window.screenTop !== undefined ? window.screenTop : window.screenY;
        var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth
            ? document.documentElement.clientWidth : screen.width;
        var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight
            ? document.documentElement.clientHeight : screen.height;
        var left = width / 2 - w / 2 + dualScreenLeft;
        var top = height / 2 - h / 2 + dualScreenTop;
        var tituloJanela = title + " | " + id;
        // const newWindow = window.open(url, tituloJanela, "location=0, resizable=1, scrollbars=yes, width=" + w + ", height=" + h + ", top=" + top + ", left=" + left);
        var newWindow = window.open(url, '_blank');
        if (window.focus) {
            newWindow.focus();
        }
    };
    ContextMenuComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] }
    ]; };
    ContextMenuComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: 'app-context-menu',
            template: __importDefault(__webpack_require__(/*! raw-loader!./context-menu.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/context-menu/context-menu.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./context-menu.component.scss */ "./src/app/theme/components/menu/context-menu/context-menu.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]])
    ], ContextMenuComponent);
    return ContextMenuComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.scss":
/*!**************************************************************************************!*\
  !*** ./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.scss ***!
  \**************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("@charset \"UTF-8\";\n/**** General ****/\n.horizontal-menu-wrapper {\n  min-height: 38px;\n}\n#navigation {\n  margin-left: auto;\n  margin-right: auto;\n}\n#navigation .menu {\n  margin-bottom: 0;\n}\n#navigation .menu li {\n  display: inline-block;\n  position: relative;\n}\n#navigation .menu li a {\n  font-size: 14px;\n  display: block;\n  padding: 0.6em 1em;\n  cursor: pointer;\n}\n#navigation .menu li a i {\n  margin-right: 10px;\n}\n#navigation .menu li.menu-item-has-children > a:after {\n  font-family: FontAwesome;\n  content: \"\";\n  margin-left: 10px;\n  font-size: 13px;\n}\n#navigation .menu .sub-menu {\n  display: none;\n  padding: 0;\n  position: absolute;\n  margin-top: 0;\n  left: 0;\n  z-index: 99999;\n  text-align: left;\n}\n#navigation ul.menu ul a,\n#navigation .menu ul ul a {\n  margin: 0;\n  font-size: 14px;\n  padding: 6px 10px;\n  min-width: 160px;\n  line-height: 20px;\n}\n#navigation ul.menu li:hover > ul,\n#navigation .menu ul li:hover > ul {\n  display: block;\n}\n#navigation .menu .sub-menu ul {\n  left: 100%;\n  top: 0;\n}\n#navigation ul.sub-menu > li.menu-item-has-children > a:after {\n  font-family: FontAwesome;\n  content: \"\";\n  float: right;\n  font-size: 13px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ "./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.ts":
/*!************************************************************************************!*\
  !*** ./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.ts ***!
  \************************************************************************************/
/*! exports provided: HorizontalMenuComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HorizontalMenuComponent", function() { return HorizontalMenuComponent; });
/* harmony import */ var _shared_services_auth_auth_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../shared/services/auth/auth.service */ "./src/app/shared/services/auth/auth.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _app_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../app.settings */ "./src/app/app.settings.ts");
/* harmony import */ var _pages_admin_corporate_corporate_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../pages/admin/corporate/corporate.service */ "./src/app/pages/admin/corporate/corporate.service.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _menu_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../menu.service */ "./src/app/theme/components/menu/menu.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};








var HorizontalMenuComponent = /** @class */ (function () {
    function HorizontalMenuComponent(appSettings, menuService, router, elementRef, loginService, messagesService, corporate) {
        var _this = this;
        this.appSettings = appSettings;
        this.menuService = menuService;
        this.router = router;
        this.elementRef = elementRef;
        this.loginService = loginService;
        this.messagesService = messagesService;
        this.corporate = corporate;
        this.settings = this.appSettings.settings;
        this.router.events.subscribe(function (event) {
            if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_2__["NavigationEnd"]) {
                window.scrollTo(0, 0);
                var activeLink = _this.menuService.getActiveLink(_this.menuItems);
                _this.menuService.setActiveLink(_this.menuItems, activeLink);
                jQuery('.tooltip').tooltip('hide');
            }
        });
    }
    HorizontalMenuComponent.prototype.ngOnInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var menu_wrapper;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4 /*yield*/, this.appSettings.getMenusAsync()];
                    case 1:
                        _a.sent();
                        menu_wrapper = this.elementRef.nativeElement.children[0];
                        if (_shared_services_auth_auth_service__WEBPACK_IMPORTED_MODULE_0__["AuthService"].isPoweuser()) {
                            this.menuItems = this.settings.menus.filter(function (v) { return v["apresenta"] === "Admin" || v["apresenta"] === "Todos"; });
                        }
                        else {
                            this.menuItems = this.settings.menus.filter(function (v) { return v["apresenta"] === "Client" || v["apresenta"] === "Todos"; });
                        }
                        this.menuItems.forEach(function (e) {
                            if (e.title.indexOf('menus.') >= 0) {
                                e.title = _this.messagesService.getTranslates('menus', e.title.replace('menus.', ''));
                            }
                            if (e.title.indexOf('menus.') >= 0) {
                                e.title = e.descricao;
                            }
                        });
                        this.menuService.createMenu(this.menuItems, menu_wrapper, 'horizontal');
                        if (this.settings.theme.menuType === 'mini') {
                            jQuery('.menu-item-link').tooltip();
                        }
                        return [2 /*return*/];
                }
            });
        });
    };
    HorizontalMenuComponent.prototype.ngAfterViewInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var activeLink;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4 /*yield*/, this.appSettings.getMenusAsync()];
                    case 1:
                        _a.sent();
                        this.menuItems = this.settings.menus;
                        this.menuService.showActiveSubMenu(this.menuItems);
                        activeLink = this.menuService.getActiveLink(this.menuItems);
                        this.menuService.setActiveLink(this.menuItems, activeLink);
                        return [2 /*return*/];
                }
            });
        });
    };
    HorizontalMenuComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_3__["AppSettings"] },
        { type: _menu_service__WEBPACK_IMPORTED_MODULE_7__["MenuService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
        { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: _pages_admin_corporate_corporate_service__WEBPACK_IMPORTED_MODULE_4__["CorporateService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(),
        __metadata("design:type", Object)
    ], HorizontalMenuComponent.prototype, "menuItems", void 0);
    HorizontalMenuComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: 'app-horizontal-menu',
            template: __importDefault(__webpack_require__(/*! raw-loader!./horizontal-menu.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            providers: [_menu_service__WEBPACK_IMPORTED_MODULE_7__["MenuService"]],
            styles: [__importDefault(__webpack_require__(/*! ./horizontal-menu.component.scss */ "./src/app/theme/components/menu/horizontal-menu/horizontal-menu.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_3__["AppSettings"],
            _menu_service__WEBPACK_IMPORTED_MODULE_7__["MenuService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"],
            _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            _pages_admin_corporate_corporate_service__WEBPACK_IMPORTED_MODULE_4__["CorporateService"]])
    ], HorizontalMenuComponent);
    return HorizontalMenuComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/menu/vertical-menu/vertical-menu.component.scss":
/*!**********************************************************************************!*\
  !*** ./src/app/theme/components/menu/vertical-menu/vertical-menu.component.scss ***!
  \**********************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".menu-wrapper {\n  height: 100%;\n  overflow-y: auto !important;\n}\n.menu-wrapper::-webkit-scrollbar {\n  width: 15px;\n}\n.menu-wrapper .card {\n  border: 0;\n  border-radius: 0;\n  background: transparent;\n}\n.menu-wrapper .card a {\n  cursor: pointer;\n  padding: 10px 0;\n  font-size: 14px;\n  display: inline-block;\n  width: 100%;\n  outline: none;\n}\n.menu-wrapper .card a i {\n  padding: 0 12px;\n}\n.menu-wrapper .card a b {\n  float: right;\n  margin-right: 15px;\n  margin-top: 4px;\n  transition: transform 0.2s linear;\n}\n.menu-wrapper .card a.collapsed b {\n  transform: rotate(-180deg);\n}\n.menu-wrapper .collapsing {\n  transition: height 0.25s ease;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ "./src/app/theme/components/menu/vertical-menu/vertical-menu.component.ts":
/*!********************************************************************************!*\
  !*** ./src/app/theme/components/menu/vertical-menu/vertical-menu.component.ts ***!
  \********************************************************************************/
/*! exports provided: VerticalMenuComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerticalMenuComponent", function() { return VerticalMenuComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _app_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../app.settings */ "./src/app/app.settings.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _menu_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../menu.service */ "./src/app/theme/components/menu/menu.service.ts");
/* harmony import */ var _pages_admin_corporate_corporate_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../pages/admin/corporate/corporate.service */ "./src/app/pages/admin/corporate/corporate.service.ts");
/* harmony import */ var _shared_services_auth_auth_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./../../../../shared/services/auth/auth.service */ "./src/app/shared/services/auth/auth.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};









var VerticalMenuComponent = /** @class */ (function () {
    function VerticalMenuComponent(appSettings, menuService, router, elementRef, loginService, messagesService, corporate) {
        var _this = this;
        this.appSettings = appSettings;
        this.menuService = menuService;
        this.router = router;
        this.elementRef = elementRef;
        this.loginService = loginService;
        this.messagesService = messagesService;
        this.corporate = corporate;
        this.settings = this.appSettings.settings;
        this.router.events.subscribe(function (event) {
            if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationEnd"]) {
                window.scrollTo(0, 0);
                var activeLink = _this.menuService.getActiveLink(_this.menuItems);
                _this.menuService.setActiveLink(_this.menuItems, activeLink);
                jQuery(".tooltip").tooltip("hide");
                if (window.innerWidth <= 768) {
                    _this.settings.theme.showMenu = false;
                }
            }
        });
    }
    VerticalMenuComponent.prototype.ngOnInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var menu_wrapper;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4 /*yield*/, this.appSettings.getMenusAsync()];
                    case 1:
                        _a.sent();
                        menu_wrapper = this.elementRef.nativeElement.children[0];
                        if (_shared_services_auth_auth_service__WEBPACK_IMPORTED_MODULE_7__["AuthService"].isPoweuser()) {
                            this.menuItems = this.settings.menus.filter(function (v) { return v.apresenta === "Admin" || v.apresenta === "Todos"; });
                        }
                        else {
                            this.menuItems = this.settings.menus.filter(function (v) { return v.apresenta === "Client" || v.apresenta === "Todos"; });
                        }
                        return [4 /*yield*/, this.menuItems.forEach(function (e) { return __awaiter(_this, void 0, void 0, function () {
                                return __generator(this, function (_a) {
                                    switch (_a.label) {
                                        case 0:
                                            if (!!!e.title) return [3 /*break*/, 2];
                                            if (!(e.title.indexOf("menus.") >= 0)) return [3 /*break*/, 2];
                                            return [4 /*yield*/, this.messagesService.getTranslatesAsync("menus", e.title.replace("menus.", ""), function (m) {
                                                    if (m.indexOf("menus.") < 0) {
                                                        e.title = m;
                                                    }
                                                    else {
                                                        e.title = e.descricao;
                                                    }
                                                })];
                                        case 1:
                                            _a.sent();
                                            _a.label = 2;
                                        case 2: return [2 /*return*/];
                                    }
                                });
                            }); })];
                    case 2:
                        _a.sent();
                        this.menuService.createMenu(this.menuItems, menu_wrapper, "vertical");
                        if (this.settings.theme.menuType === "mini") {
                            jQuery(".menu-item-link").tooltip();
                        }
                        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_8__["EventEmitterService"].get("setMenuContext").emit();
                        return [2 /*return*/];
                }
            });
        });
    };
    VerticalMenuComponent.prototype.ngAfterViewInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var activeLink;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4 /*yield*/, this.appSettings.getMenusAsync()];
                    case 1:
                        _a.sent();
                        this.menuItems = this.settings.menus;
                        this.menuService.showActiveSubMenu(this.menuItems);
                        activeLink = this.menuService.getActiveLink(this.menuItems);
                        this.menuService.setActiveLink(this.menuItems, activeLink);
                        return [2 /*return*/];
                }
            });
        });
    };
    VerticalMenuComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_2__["AppSettings"] },
        { type: _menu_service__WEBPACK_IMPORTED_MODULE_5__["MenuService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] },
        { type: _pages_admin_corporate_corporate_service__WEBPACK_IMPORTED_MODULE_6__["CorporateService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Object)
    ], VerticalMenuComponent.prototype, "menuItems", void 0);
    VerticalMenuComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-vertical-menu",
            template: __importDefault(__webpack_require__(/*! raw-loader!./vertical-menu.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/menu/vertical-menu/vertical-menu.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            providers: [_menu_service__WEBPACK_IMPORTED_MODULE_5__["MenuService"]],
            styles: [__importDefault(__webpack_require__(/*! ./vertical-menu.component.scss */ "./src/app/theme/components/menu/vertical-menu/vertical-menu.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_2__["AppSettings"],
            _menu_service__WEBPACK_IMPORTED_MODULE_5__["MenuService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"],
            _pages_admin_corporate_corporate_service__WEBPACK_IMPORTED_MODULE_6__["CorporateService"]])
    ], VerticalMenuComponent);
    return VerticalMenuComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/messages/messages.component.scss":
/*!*******************************************************************!*\
  !*** ./src/app/theme/components/messages/messages.component.scss ***!
  \*******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("#messagesDropDown .dropdown-menu {\n  width: 312px;\n}\n#messagesDropDown .nav-link {\n  color: #a6a6a6;\n  border: 0;\n  border-radius: 0;\n  border-bottom: 4px solid transparent;\n}\n#messagesDropDown .nav-link:hover {\n  background-color: #f5f5f5;\n}\n#messagesDropDown .list {\n  height: 250px;\n  border: 0;\n  border-top: 1px solid #ccc;\n  padding: 0;\n}\n#messagesDropDown .list a {\n  float: left;\n  width: 100%;\n  display: block;\n  padding: 10px;\n  border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n}\n#messagesDropDown .list a:hover {\n  background: #f5f5f5;\n}\n#messagesDropDown .list a h3,\n#messagesDropDown .list a h2 {\n  padding: 0;\n  margin: 0 0 4px 0;\n  color: #666666;\n}\n#messagesDropDown .list a h3 {\n  font-size: 12px;\n}\n#messagesDropDown .list a h2 {\n  font-size: 14px;\n}\n#messagesDropDown .list span {\n  font-size: 10px;\n}\n#messagesDropDown .list .list-content {\n  float: right;\n  width: 260px;\n}\n#messagesDropDown .list img {\n  float: left;\n  width: 45px;\n  margin-right: 10px;\n  border-radius: 50%;\n}\n#messagesDropDown .list p {\n  color: #7d7d7d;\n  font-size: 11px;\n  margin: 0;\n}\n@-webkit-keyframes bouncingICO {\n  from {\n    color: #8a8a8a;\n  }\n  to {\n    color: #e3533a;\n  }\n}\n@keyframes bouncingICO {\n  from {\n    color: #8a8a8a;\n  }\n  to {\n    color: #e3533a;\n  }\n}\ni.messageIcon.messagePriority {\n  -webkit-animation: bouncingICO 1.5s cubic-bezier(0.1, 0.25, 0.1, 1) 0s infinite alternate both;\n          animation: bouncingICO 1.5s cubic-bezier(0.1, 0.25, 0.1, 1) 0s infinite alternate both;\n}\ni.messageIcon .badge {\n  font-size: 8px;\n  margin-left: -5px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MessagesComponent", function() { return MessagesComponent; });
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/funcoes/array-utils/array-utils.static.service */ "./src/app/shared/services/funcoes/array-utils/array-utils.static.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _pages_consultas_consulta_mensagens_consulta_mensagens_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../../../pages/consultas/consulta-mensagens/consulta-mensagens.service */ "./src/app/pages/consultas/consulta-mensagens/consulta-mensagens.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var MessagesComponent = /** @class */ (function () {
    function MessagesComponent(consultaMensagensService, messageService, loginService) {
        var _this = this;
        this.consultaMensagensService = consultaMensagensService;
        this.messageService = messageService;
        this.loginService = loginService;
        this.newMessages = false;
        this.pagina = 1;
        consultaMensagensService.getMessages(1).subscribe(function (resp) {
            _this.messages = resp;
        });
    }
    MessagesComponent.prototype.ngOnDestroy = function () {
        clearInterval(this.interval);
    };
    MessagesComponent.prototype.ngOnInit = function () {
        var _this = this;
        if (!this.loginService.isTokenExpired()) {
            this.interval = setInterval(function (_) {
                _this.consultaMensagensService.getMessages(_this.pagina).subscribe(function (resp) {
                    if (!_this.messages)
                        _this.messages = [];
                    if (app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["ArrayUtilsStaticService"].any(resp)) {
                        _this.newMessages = resp.length > _this.messages.length;
                        if (_this.newMessages) {
                            _this.messageService.info("titles.consultaMensagens", "messages.voceTemNovasMensagens");
                        }
                        _this.messages = resp;
                    }
                });
            }, _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["DateTimeUtilsStaticService"].toMilissegundos('5m'));
        }
    };
    MessagesComponent.prototype.confirmar = function (sisMsg, idx) {
        var _this = this;
        this.consultaMensagensService.confirmar({ sisMsgId: sisMsg.regMsg }).subscribe(function (resp) {
            if (!resp.isValid) {
                _this.messageService.warning("titles.consultaMensagens", "messages.erroAoConfirmarMensagem");
                return;
            }
            _this.refresh();
        });
    };
    MessagesComponent.prototype.refresh = function () {
        var _this = this;
        this.messages = [];
        this.consultaMensagensService.getMessages(this.pagina).subscribe(function (resp) { return _this.messages = resp; });
    };
    MessagesComponent.prototype.mais = function () {
        this.pagina++;
        this.refresh();
    };
    MessagesComponent.prototype.dropdownToggle = function () {
        var dropdown = document.getElementById("messagesDropDown");
        if (dropdown.classList.contains("show")) {
            dropdown.classList.remove("show");
            dropdown.lastElementChild.classList.remove("show");
        }
        else {
            dropdown.classList.add("show");
            dropdown.lastElementChild.classList.add("show");
        }
    };
    Object.defineProperty(MessagesComponent.prototype, "hasMessages", {
        get: function () {
            return app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["ArrayUtilsStaticService"].any(this.messages);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MessagesComponent.prototype, "hasPriority", {
        get: function () {
            if (!app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["ArrayUtilsStaticService"].any(this.messages))
                return false;
            return this.messages.find(function (c) { return c.prioridade === "A"; });
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MessagesComponent.prototype, "quantiy", {
        get: function () {
            if (!app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["ArrayUtilsStaticService"].any(this.messages))
                return 0;
            return this.messages[0].qtde;
        },
        enumerable: true,
        configurable: true
    });
    MessagesComponent.ctorParameters = function () { return [
        { type: _pages_consultas_consulta_mensagens_consulta_mensagens_service__WEBPACK_IMPORTED_MODULE_4__["ConsultaMensagensService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_0__["LoginService"] }
    ]; };
    MessagesComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_5__["Component"])({
            selector: 'app-messages',
            template: __importDefault(__webpack_require__(/*! raw-loader!./messages.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/messages/messages.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_5__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./messages.component.scss */ "./src/app/theme/components/messages/messages.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_pages_consultas_consulta_mensagens_consulta_mensagens_service__WEBPACK_IMPORTED_MODULE_4__["ConsultaMensagensService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_0__["LoginService"]])
    ], MessagesComponent);
    return MessagesComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/sidebar/sidebar.component.scss":
/*!*****************************************************************!*\
  !*** ./src/app/theme/components/sidebar/sidebar.component.scss ***!
  \*****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("/**** General ****/\n.sidebar-outer {\n  height: 100%;\n  width: 250px;\n}\n.sidebar-outer .logo {\n  height: 46px;\n  padding: 0 14px;\n  width: 250px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGhlbWUvY29tcG9uZW50cy9zaWRlYmFyL0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaX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sIi8qKioqIEdlbmVyYWwgKioqKi9cbi5zaWRlYmFyLW91dGVyIHtcbiAgaGVpZ2h0OiAxMDAlO1xuICB3aWR0aDogMjUwcHg7XG59XG4uc2lkZWJhci1vdXRlciAubG9nbyB7XG4gIGhlaWdodDogNDZweDtcbiAgcGFkZGluZzogMCAxNHB4O1xuICB3aWR0aDogMjUwcHg7XG59Il19 */");

/***/ }),

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

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


var SidebarComponent = /** @class */ (function () {
    function SidebarComponent(appSettings) {
        this.appSettings = appSettings;
        this.settings = this.appSettings.settings;
        this.menuItems = this.settings.menus;
    }
    SidebarComponent.prototype.ngOnInit = function () {
        this.menuItems = this.settings.menus;
    };
    SidebarComponent.prototype.closeSubMenus = function () {
        var menu = document.querySelector("#menu0");
        for (var i = 0; i < menu.children.length; i++) {
            var child = menu.children[i].children[1];
            if (child) {
                if (child.classList.contains("show")) {
                    child.classList.remove("show");
                    menu.children[i].children[0].classList.add("collapsed");
                }
            }
        }
    };
    SidebarComponent.ctorParameters = function () { return [
        { type: _app_settings__WEBPACK_IMPORTED_MODULE_1__["AppSettings"] }
    ]; };
    SidebarComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-sidebar",
            template: __importDefault(__webpack_require__(/*! raw-loader!./sidebar.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/sidebar/sidebar.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./sidebar.component.scss */ "./src/app/theme/components/sidebar/sidebar.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_app_settings__WEBPACK_IMPORTED_MODULE_1__["AppSettings"]])
    ], SidebarComponent);
    return SidebarComponent;
}());



/***/ }),

/***/ "./src/app/theme/components/user-menu/user-menu.component.scss":
/*!*********************************************************************!*\
  !*** ./src/app/theme/components/user-menu/user-menu.component.scss ***!
  \*********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".dropdown-menu .user-menu {\n  width: 240px;\n  padding: 0;\n}\n.dropdown-menu .user-menu .user-img {\n  width: 35px;\n}\n.dropdown-menu .user-menu .dropdown-item {\n  color: #666 !important;\n}\n.dropdown-menu .user-menu .user-info .version {\n  display: flex;\n  flex-direction: column;\n}\n.dropdown-menu .user-menu .user-info .version small > span {\n  font-size: 12px;\n}\n/*# sourceMapping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fVxyXG4gICAgfVxyXG4gIH1cclxufSIsIi5kcm9wZG93bi1tZW51IC51c2VyLW1lbnUge1xuICB3aWR0aDogMjQwcHg7XG4gIHBhZGRpbmc6IDA7XG59XG4uZHJvcGRvd24tbWVudSAudXNlci1tZW51IC51c2VyLWltZyB7XG4gIHdpZHRoOiAzNXB4O1xufVxuLmRyb3Bkb3duLW1lbnUgLnVzZXItbWVudSAuZHJvcGRvd24taXRlbSB7XG4gIGNvbG9yOiAjNjY2ICFpbXBvcnRhbnQ7XG59XG4uZHJvcGRvd24tbWVudSAudXNlci1tZW51IC51c2VyLWluZm8gLnZlcnNpb24ge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xufVxuLmRyb3Bkb3duLW1lbnUgLnVzZXItbWVudSAudXNlci1pbmZvIC52ZXJzaW9uIHNtYWxsID4gc3BhbiB7XG4gIGZvbnQtc2l6ZTogMTJweDtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/theme/components/user-menu/user-menu.component.ts":
/*!*******************************************************************!*\
  !*** ./src/app/theme/components/user-menu/user-menu.component.ts ***!
  \*******************************************************************/
/*! exports provided: UserMenuComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



var UserMenuComponent = /** @class */ (function () {
    function UserMenuComponent(loginService) {
        this.loginService = loginService;
        this.usuario = "";
        this.empresa = "";
        this.filial = "";
        this.macAdress = "";
    }
    UserMenuComponent.prototype.ngOnInit = function () {
        var login = this.loginService.getLogin();
        this.usuario = login.usuario;
        this.empresa = login.empresa;
        this.filial = login.filial;
        this.version = _shared_services_base_version_service__WEBPACK_IMPORTED_MODULE_2__["VersionService"].getVersion();
    };
    UserMenuComponent.prototype.sair = function () {
        this.loginService.logout();
    };
    UserMenuComponent.ctorParameters = function () { return [
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__["LoginService"] }
    ]; };
    UserMenuComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-user-menu',
            template: __importDefault(__webpack_require__(/*! raw-loader!./user-menu.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/theme/components/user-menu/user-menu.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./user-menu.component.scss */ "./src/app/theme/components/user-menu/user-menu.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__["LoginService"]])
    ], UserMenuComponent);
    return UserMenuComponent;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-pages-module.js.map