import { AlRoute, AlSession, AlSessionEndedEvent, AlSessionStartedEvent, AlSubscriptionGroup } from '@al/core';
import { Component, EventEmitter, Input, Output, QueryList, ViewChildren } from '@angular/core';
import { AlTemplateIndexService } from '@al/ng-generic-components';
import { AlNavigationService } from '../../services/al-navigation.service';
import { AlNavigationInitializeToggle, AlNavigationNavHeaderMounted, AlNavigationRemoveToggle } from '../../types/navigation.types';
import * as i0 from "@angular/core";
import * as i1 from "../../services/al-navigation.service";
import * as i2 from "@al/ng-generic-components";
import * as i3 from "@angular/common";
import * as i4 from "primeng-lts/tooltip";
import * as i5 from "primeng-lts/inputswitch";
import * as i6 from "@angular/forms";
import * as i7 from "primeng-lts/menu";
import * as i8 from "primeng-lts/button";
import * as i9 from "../../pipes/transformToMenu.pipe";
var _c0 = ["headerActionsItemMenus"];
function AlArchipeligo19NavHeaderComponent_div_0_i_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "i", 8);
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var ctx_r1 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r1.displayIconName);
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 15);
    i0.ɵɵelementStart(1, "i", 8);
    i0.ɵɵtext(2, "chevron_right");
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_a_3_Template(rf, ctx) { if (rf & 1) {
    var _r15 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "a", 16);
    i0.ɵɵlistener("click", function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_a_3_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r15); var breadcrumb_r7 = i0.ɵɵnextContext(2).$implicit; var ctx_r13 = i0.ɵɵnextContext(3); return ctx_r13.dispatch(breadcrumb_r7, $event); });
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var breadcrumb_r7 = i0.ɵɵnextContext(2).$implicit;
    i0.ɵɵproperty("href", breadcrumb_r7.href, i0.ɵɵsanitizeUrl);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", (breadcrumb_r7.properties == null ? null : breadcrumb_r7.properties.breadcrumbTitle) ? breadcrumb_r7.properties == null ? null : breadcrumb_r7.properties.breadcrumbTitle : breadcrumb_r7.caption, " ");
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
    var _r19 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementContainerStart(0, 17);
    i0.ɵɵlistener("click", function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_ng_container_4_Template_ng_container_click_0_listener($event) { i0.ɵɵrestoreView(_r19); var breadcrumb_r7 = i0.ɵɵnextContext(2).$implicit; var ctx_r17 = i0.ɵɵnextContext(3); return ctx_r17.dispatch(breadcrumb_r7, $event); });
    i0.ɵɵtext(1);
    i0.ɵɵelementContainerEnd();
} if (rf & 2) {
    var breadcrumb_r7 = i0.ɵɵnextContext(2).$implicit;
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", (breadcrumb_r7.properties == null ? null : breadcrumb_r7.properties.breadcrumbTitle) ? breadcrumb_r7.properties == null ? null : breadcrumb_r7.properties.breadcrumbTitle : breadcrumb_r7.caption, " ");
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainerStart(0);
    i0.ɵɵtemplate(1, AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_div_1_Template, 3, 0, "div", 10);
    i0.ɵɵelementStart(2, "span", 12);
    i0.ɵɵtemplate(3, AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_a_3_Template, 2, 2, "a", 13);
    i0.ɵɵtemplate(4, AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_ng_container_4_Template, 2, 1, "ng-container", 14);
    i0.ɵɵelementEnd();
    i0.ɵɵelementContainerEnd();
} if (rf & 2) {
    var ctx_r21 = i0.ɵɵnextContext();
    var i_r8 = ctx_r21.index;
    var breadcrumb_r7 = ctx_r21.$implicit;
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", i_r8 > 0);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngClass", breadcrumb_r7.caption);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", i_r8 > 0 && breadcrumb_r7.href);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", i_r8 === 0 || !breadcrumb_r7.href);
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainerStart(0);
    i0.ɵɵtemplate(1, AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_ng_container_1_Template, 5, 4, "ng-container", 11);
    i0.ɵɵelementContainerEnd();
} if (rf & 2) {
    var i_r8 = ctx.index;
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", i_r8 < 2);
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_span_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "span", 15);
    i0.ɵɵtext(1, "|");
    i0.ɵɵelementEnd();
} }
function AlArchipeligo19NavHeaderComponent_div_0_span_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "span", 9);
    i0.ɵɵtemplate(1, AlArchipeligo19NavHeaderComponent_div_0_span_3_ng_container_1_Template, 2, 1, "ng-container", 7);
    i0.ɵɵelementContainerStart(2);
    i0.ɵɵtemplate(3, AlArchipeligo19NavHeaderComponent_div_0_span_3_span_3_Template, 2, 0, "span", 10);
    i0.ɵɵtext(4);
    i0.ɵɵelementContainerEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var ctx_r2 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngForOf", ctx_r2.breadcrumbs);
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", ctx_r2.addendumToNavTitle);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", ctx_r2.addendumToNavTitle, " ");
} }
var _c1 = function () { return { "nav-header-actions-switch": true, "items-margin": true }; };
function AlArchipeligo19NavHeaderComponent_div_0_span_5_Template(rf, ctx) { if (rf & 1) {
    var _r23 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "span", 18);
    i0.ɵɵlistener("click", function AlArchipeligo19NavHeaderComponent_div_0_span_5_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r23); var ctx_r22 = i0.ɵɵnextContext(2); return ctx_r22.experienceToggle.callback(); });
    i0.ɵɵelement(1, "p-inputSwitch", 19);
    i0.ɵɵtext(2);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var ctx_r3 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("pTooltip", ctx_r3.experienceToggle.tooltip)("ngClass", i0.ɵɵpureFunction0(4, _c1));
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngModel", ctx_r3.experienceToggle.checked);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", ctx_r3.experienceToggle.label, " ");
} }
function AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_p_menu_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "p-menu", 22, 23);
    i0.ɵɵpipe(2, "transformToMenu");
} if (rf & 2) {
    var headerActionMenu_r24 = i0.ɵɵnextContext().$implicit;
    i0.ɵɵproperty("popup", true)("model", i0.ɵɵpipeBind1(2, 2, headerActionMenu_r24.children));
} }
var _c2 = function (a0) { return [a0]; };
function AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_button_2_i_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "i", 26);
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var headerActionMenu_r24 = i0.ɵɵnextContext(2).$implicit;
    i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c2, headerActionMenu_r24.properties.iconClass ? "material-icons header-actions-icons" : ""));
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(headerActionMenu_r24.properties.iconClass);
} }
var _c3 = function (a1) { return { "nav-header-actions-button flat p-button-sm p-button-has-custom-icon": true, "items-margin": a1 }; };
function AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_button_2_Template(rf, ctx) { if (rf & 1) {
    var _r35 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "button", 24);
    i0.ɵɵlistener("click", function AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_button_2_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r35); var headerActionMenu_r24 = i0.ɵɵnextContext().$implicit; var ctx_r33 = i0.ɵɵnextContext(2); return ctx_r33.dispatch(headerActionMenu_r24, $event, (headerActionMenu_r24.children == null ? null : headerActionMenu_r24.children.length) > 0); });
    i0.ɵɵtemplate(1, AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_button_2_i_1_Template, 2, 4, "i", 25);
    i0.ɵɵtext(2);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var ctx_r36 = i0.ɵɵnextContext();
    var headerActionMenu_r24 = ctx_r36.$implicit;
    var last_r26 = ctx_r36.last;
    i0.ɵɵclassMap(headerActionMenu_r24.caption);
    i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c3, !last_r26));
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", headerActionMenu_r24.properties == null ? null : headerActionMenu_r24.properties.iconClass);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate1(" ", headerActionMenu_r24.caption, " ");
} }
function AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainerStart(0);
    i0.ɵɵtemplate(1, AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_p_menu_1_Template, 3, 4, "p-menu", 20);
    i0.ɵɵtemplate(2, AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_button_2_Template, 3, 8, "button", 21);
    i0.ɵɵelementContainerEnd();
} if (rf & 2) {
    var headerActionMenu_r24 = ctx.$implicit;
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", headerActionMenu_r24.visible && (headerActionMenu_r24.children == null ? null : headerActionMenu_r24.children.length) > 0);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", headerActionMenu_r24.visible);
} }
function AlArchipeligo19NavHeaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 1);
    i0.ɵɵelementStart(1, "div", 2);
    i0.ɵɵtemplate(2, AlArchipeligo19NavHeaderComponent_div_0_i_2_Template, 2, 1, "i", 3);
    i0.ɵɵtemplate(3, AlArchipeligo19NavHeaderComponent_div_0_span_3_Template, 5, 3, "span", 4);
    i0.ɵɵelementEnd();
    i0.ɵɵelementStart(4, "div", 5);
    i0.ɵɵtemplate(5, AlArchipeligo19NavHeaderComponent_div_0_span_5_Template, 3, 5, "span", 6);
    i0.ɵɵtemplate(6, AlArchipeligo19NavHeaderComponent_div_0_ng_container_6_Template, 3, 2, "ng-container", 7);
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    var ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", ctx_r0.displayIconName.length > 0);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r0.breadcrumbs && ctx_r0.breadcrumbs.length);
    i0.ɵɵadvance(2);
    i0.ɵɵproperty("ngIf", ctx_r0.experienceToggle !== undefined);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngForOf", ctx_r0.headerActionsMenus);
} }
var AlArchipeligo19NavHeaderComponent = /** @class */ (function () {
    function AlArchipeligo19NavHeaderComponent(alNavigation, triggerIndex) {
        var _this = this;
        this.alNavigation = alNavigation;
        this.triggerIndex = triggerIndex;
        this.menu = AlRoute.empty();
        this.userMenu = AlRoute.empty();
        this.breadcrumbs = [];
        this.headerActionsMenus = [];
        this.allowUnauthenticatedMenus = false;
        this.displayIconName = '';
        this.subscriptions = new AlSubscriptionGroup(null);
        this.authenticated = false;
        this.experienceToggle = undefined;
        // TODO - Thinking instead we should have navigation component service, where we can emit toggle state and
        // listen to that in the al-sidenav,
        // Otherwise every app will need to handle this output and set the toggle boolean @input to the al-sidenav!!
        this.toggleButtonClick = new EventEmitter();
        this.onSessionStart = function (event) {
            _this.authenticated = true;
        };
        this.onSessionEnd = function (event) {
            _this.authenticated = false;
        };
        this.subscriptions.manage([
            this.alNavigation.events.attach(AlNavigationInitializeToggle, function (event) {
                _this.experienceToggle = {
                    label: event.label,
                    tooltip: event.tooltip,
                    checked: event.checked,
                    callback: event.callback,
                };
            }),
            this.alNavigation.events.attach(AlNavigationRemoveToggle, function (event) {
                _this.experienceToggle = undefined;
            })
        ]);
    }
    AlArchipeligo19NavHeaderComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.authenticated = AlSession.isActive();
        this.subscriptions.manage([
            AlSession.notifyStream.attach(AlSessionStartedEvent, this.onSessionStart),
            AlSession.notifyStream.attach(AlSessionEndedEvent, this.onSessionEnd),
            this.triggerIndex.listen("navigation", function () { return _this.onRefreshTemplates(); })
        ]);
        this.alNavigation.events.trigger(new AlNavigationNavHeaderMounted());
        this.onRefreshTemplates();
    };
    AlArchipeligo19NavHeaderComponent.prototype.ngOnChanges = function (changes) {
        if (changes.hasOwnProperty("breadcrumbs")) {
            this.inferIconFromBreadcrumbs(this.breadcrumbs || []);
        }
    };
    AlArchipeligo19NavHeaderComponent.prototype.ngOnDestroy = function () {
        this.subscriptions.cancelAll();
    };
    AlArchipeligo19NavHeaderComponent.prototype.onRefreshTemplates = function () {
        this.contextualActionsTpl = this.triggerIndex.getTemplate("navigation", "contextualActions");
        console.log("Refreshing templates!", this.contextualActionsTpl);
    };
    AlArchipeligo19NavHeaderComponent.prototype.inferIconFromBreadcrumbs = function (breadcrumbs) {
        var breadcrumbIcon = '';
        breadcrumbs.forEach(function (breadcrumb) {
            breadcrumbIcon = breadcrumb.getProperty("iconClass", breadcrumbIcon);
        });
        this.displayIconName = breadcrumbIcon;
    };
    AlArchipeligo19NavHeaderComponent.prototype.dispatch = function (route, $event, hasSubmenu) {
        if (hasSubmenu === void 0) { hasSubmenu = false; }
        var menuId = route.properties.menuId;
        // If the item does not has submenu: dispatch route directly
        // otherwise open the dropdown menu
        if (!hasSubmenu) {
            if ($event) {
                $event.preventDefault();
                $event.stopPropagation();
            }
            route.dispatch();
        }
        else {
            var findChilds = function (item) {
                var childId = item.model[0].id.split('--')[0]; // why model[0]? because all the childs will have the same parent, then the same id part [menuId--index]
                return menuId && menuId === childId;
            };
            var menu = this.headerActionsItemMenus.find(findChilds);
            if (menu) {
                // Open dropdown
                menu.toggle($event);
            }
        }
    };
    /** @nocollapse */ AlArchipeligo19NavHeaderComponent.ɵfac = function AlArchipeligo19NavHeaderComponent_Factory(t) { return new (t || AlArchipeligo19NavHeaderComponent)(i0.ɵɵdirectiveInject(i1.AlNavigationService), i0.ɵɵdirectiveInject(i2.AlTemplateIndexService)); };
    /** @nocollapse */ AlArchipeligo19NavHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlArchipeligo19NavHeaderComponent, selectors: [["al-archipeligo19-nav-header"]], viewQuery: function AlArchipeligo19NavHeaderComponent_Query(rf, ctx) { if (rf & 1) {
            i0.ɵɵviewQuery(_c0, true);
        } if (rf & 2) {
            var _t;
            i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerActionsItemMenus = _t);
        } }, inputs: { menu: "menu", userMenu: "userMenu", breadcrumbs: "breadcrumbs", headerActionsMenus: "headerActionsMenus", addendumToNavTitle: "addendumToNavTitle", allowUnauthenticatedMenus: "allowUnauthenticatedMenus" }, outputs: { toggleButtonClick: "toggleButtonClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "nav-header-bar", 4, "ngIf"], [1, "nav-header-bar"], [1, "nav-header-content"], ["class", "material-icons", 4, "ngIf"], ["class", "breadcrumbs", 4, "ngIf"], [1, "nav-header-actions"], ["tooltipPosition", "bottom", 3, "pTooltip", "ngClass", "click", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "material-icons"], [1, "breadcrumbs"], ["class", "breadcrumb-separator", 4, "ngIf"], [4, "ngIf"], [1, "breadcrumb", 3, "ngClass"], [3, "href", "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [1, "breadcrumb-separator"], [3, "href", "click"], [3, "click"], ["tooltipPosition", "bottom", 3, "pTooltip", "ngClass", "click"], [3, "ngModel"], ["styleClass", "custom-p-menu", 3, "popup", "model", 4, "ngIf"], ["pButton", "", 3, "class", "ngClass", "click", 4, "ngIf"], ["styleClass", "custom-p-menu", 3, "popup", "model"], ["headerActionsItemMenus", ""], ["pButton", "", 3, "ngClass", "click"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"]], template: function AlArchipeligo19NavHeaderComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, AlArchipeligo19NavHeaderComponent_div_0_Template, 7, 4, "div", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("ngIf", ctx.authenticated || ctx.allowUnauthenticatedMenus);
        } }, directives: [i3.NgIf, i3.NgForOf, i3.NgClass, i4.Tooltip, i5.InputSwitch, i6.NgControlStatus, i6.NgModel, i7.Menu, i8.ButtonDirective], pipes: [i9.TransformToMenu], styles: ["[_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%]{height:var(--ald-g-space-11);padding:var(--ald-g-space-2) var(--ald-g-space-5);display:flex;align-items:center;justify-content:space-between;background-color:#fff;color:var(--ald-g-color-gray-600);box-shadow:0 1px 2px 0 rgba(0,0,0,.16)}[_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%]   .nav-header-actions[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%]   .nav-header-actions[_ngcontent-%COMP%]   .items-margin[_ngcontent-%COMP%]{margin-right:var(--ald-g-space-2)}[_nghost-%COMP%]   .nav-header-actions-switch[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--ald-g-space-2);cursor:pointer;font-size:var(--ald-g-text-xs)}[_nghost-%COMP%]   .nav-header-actions-switch[_ngcontent-%COMP%]     .ui-inputswitch{display:flex;align-items:center}[_nghost-%COMP%]   .nav-header-actions-button[_ngcontent-%COMP%]{text-transform:initial;font-weight:initial}[_nghost-%COMP%]   .nav-header-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center}[_nghost-%COMP%]   .nav-header-content[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{display:flex;margin-right:var(--ald-g-space-2);justify-content:center;-webkit-font-smoothing:antialiased}[_nghost-%COMP%]   .nav-header-content[_ngcontent-%COMP%] > i.menu-toggle[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%]   .nav-header-content[_ngcontent-%COMP%]   .nav-right-side-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{text-transform:uppercase}[_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%]{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--ald-g-text-sm);line-height:var(--ald-g-leading-sm)}[_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%]   .breadcrumb-separator[_ngcontent-%COMP%]{margin:0 4px}[_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%]   .breadcrumb-separator[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:block;font-size:18px;color:var(--ald-g-color-gray-600)}[_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%] > .breadcrumb[_ngcontent-%COMP%]{color:var(--ald-g-color-gray-600)}[_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%] > .breadcrumb[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:600;color:var(--ald-g-color-gray-800)}[_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%] > .breadcrumb[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], [_nghost-%COMP%]   span.breadcrumbs[_ngcontent-%COMP%] > .breadcrumb[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.darkMode[_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%], .darkMode   [_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%]{background-color:#3c3c3c;color:#ededed}.blueMode[_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%], .blueMode   [_nghost-%COMP%]   .nav-header-bar[_ngcontent-%COMP%]{background-color:#2a3849;color:#ededed}"] });
    return AlArchipeligo19NavHeaderComponent;
}());
export { AlArchipeligo19NavHeaderComponent };
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(AlArchipeligo19NavHeaderComponent, [{
        type: Component,
        args: [{
                selector: 'al-archipeligo19-nav-header',
                templateUrl: './al-archipeligo19-nav-header.component.html',
                styleUrls: ['./al-archipeligo19-nav-header.component.scss']
            }]
    }], function () { return [{ type: i1.AlNavigationService }, { type: i2.AlTemplateIndexService }]; }, { menu: [{
            type: Input
        }], userMenu: [{
            type: Input
        }], breadcrumbs: [{
            type: Input
        }], headerActionsMenus: [{
            type: Input
        }], headerActionsItemMenus: [{
            type: ViewChildren,
            args: ['headerActionsItemMenus']
        }], addendumToNavTitle: [{
            type: Input
        }], allowUnauthenticatedMenus: [{
            type: Input
        }], toggleButtonClick: [{
            type: Output
        }] }); })();
//# sourceMappingURL=data:application/json;base64, 