import { Component } from '@angular/core';
import { NavigatorBottomService } from './navigator-bottom.service';
import { AsyncPipe, NgIf } from '@angular/common';
import { C8yTranslateDirective } from '../../i18n';
import * as i0 from "@angular/core";
import * as i1 from "./navigator-bottom.service";
export class NavigatorBottomComponent {
    constructor(bottomService) {
        this.bottomService = bottomService;
        this.hasCustomNavigatorLogoSet$ = this.bottomService.hasCustomNavigatorLogoSet();
        this.hasHidePoweredSet$ = this.bottomService.hasHidePoweredSet();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavigatorBottomComponent, deps: [{ token: i1.NavigatorBottomService }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NavigatorBottomComponent, isStandalone: true, selector: "c8y-navigator-bottom", host: { classAttribute: "navigator-slot-bottom" }, ngImport: i0, template: "<div\n  class=\"d-flex gap-8 {{!(hasCustomNavigatorLogoSet$ | async) ? 'c8y-logo' : ''}}\"\n  *ngIf=\"!(hasCustomNavigatorLogoSet$ | async); else branded\"\n>\n  <p\n    *ngIf=\"!(hasHidePoweredSet$ | async)\"\n    class=\"powered-by text-left a-s-end\"\n    translate\n  >\n    powered by`KEEP_ORIGINAL`\n  </p>\n  <a href=\"https://cumulocity.com\" target=\"_blank\" title=\"Cumulocity\" class=\"tenant-brand\"></a>\n</div>\n<ng-template #branded>\n  <div class=\"logo-spacer\"></div>\n  <div class=\"tenant-brand\"></div>\n  <p\n    class=\"powered-by text-center a-s-center\"\n    *ngIf=\"!(hasHidePoweredSet$ | async)\"\n    translate\n  >\n    powered by <a href=\"https://cumulocity.com\" target=\"_blank\">Cumulocity</a>`KEEP_ORIGINAL`\n  </p>\n  <div class=\"logo-spacer\"></div>\n</ng-template>\n", dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: C8yTranslateDirective, selector: "[translate],[ngx-translate]" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavigatorBottomComponent, decorators: [{
            type: Component,
            args: [{ selector: 'c8y-navigator-bottom', host: {
                        class: 'navigator-slot-bottom'
                    }, standalone: true, imports: [AsyncPipe, NgIf, C8yTranslateDirective], template: "<div\n  class=\"d-flex gap-8 {{!(hasCustomNavigatorLogoSet$ | async) ? 'c8y-logo' : ''}}\"\n  *ngIf=\"!(hasCustomNavigatorLogoSet$ | async); else branded\"\n>\n  <p\n    *ngIf=\"!(hasHidePoweredSet$ | async)\"\n    class=\"powered-by text-left a-s-end\"\n    translate\n  >\n    powered by`KEEP_ORIGINAL`\n  </p>\n  <a href=\"https://cumulocity.com\" target=\"_blank\" title=\"Cumulocity\" class=\"tenant-brand\"></a>\n</div>\n<ng-template #branded>\n  <div class=\"logo-spacer\"></div>\n  <div class=\"tenant-brand\"></div>\n  <p\n    class=\"powered-by text-center a-s-center\"\n    *ngIf=\"!(hasHidePoweredSet$ | async)\"\n    translate\n  >\n    powered by <a href=\"https://cumulocity.com\" target=\"_blank\">Cumulocity</a>`KEEP_ORIGINAL`\n  </p>\n  <div class=\"logo-spacer\"></div>\n</ng-template>\n" }]
        }], ctorParameters: () => [{ type: i1.NavigatorBottomService }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2aWdhdG9yLWJvdHRvbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9jb3JlL25hdmlnYXRvci9uYXZpZ2F0b3ItYm90dG9tL25hdmlnYXRvci1ib3R0b20uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vY29yZS9uYXZpZ2F0b3IvbmF2aWdhdG9yLWJvdHRvbS9uYXZpZ2F0b3ItYm90dG9tLmNvb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