import { Component } from '@angular/core';
import { ErrorMessageBaseComponent } from '@ironsource/fusion-ui/components/error-message/common/base';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
function ErrorMessageComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "div", 1);
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵproperty("ngStyle", ctx_r0.styles)("innerHTML", ctx_r0.errorMessage, i0.ɵɵsanitizeHtml);
} }
export class ErrorMessageComponent extends ErrorMessageBaseComponent {
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵErrorMessageComponent_BaseFactory; return function ErrorMessageComponent_Factory(t) { return (ɵErrorMessageComponent_BaseFactory || (ɵErrorMessageComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ErrorMessageComponent)))(t || ErrorMessageComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["fusion-error-message"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "fusion-error", 3, "ngStyle", "innerHTML", 4, "ngIf"], [1, "fusion-error", 3, "ngStyle", "innerHTML"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, ErrorMessageComponent_div_0_Template, 1, 2, "div", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("ngIf", ctx.showError);
        } }, dependencies: [i1.NgIf, i1.NgStyle], styles: ["[_nghost-%COMP%]   .fusion-error[_ngcontent-%COMP%]{font-size:11px;font-family:HelveticaNeue,helvetica,sans-serif;font-weight:400}[_nghost-%COMP%]   .fusion-error[_ngcontent-%COMP%]{margin-top:5px;line-height:14px;color:var(--fu-negative-700, #da564f)}"] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMessageComponent, [{
        type: Component,
        args: [{ selector: 'fusion-error-message', template: "<div class=\"fusion-error\" *ngIf=\"showError\" [ngStyle]=\"styles\" [innerHTML]=\"errorMessage\"></div>\n", styles: [":host .fusion-error{font-size:11px;font-family:HelveticaNeue,helvetica,sans-serif;font-weight:400}:host .fusion-error{margin-top:5px;line-height:14px;color:var(--fu-negative-700, #da564f)}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorMessageComponent, { className: "ErrorMessageComponent", filePath: "error-message.component.ts", lineNumber: 9 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mdXNpb24tdWkvY29tcG9uZW50cy9lcnJvci1tZXNzYWdlL3YyL2Vycm9yLW1lc3NhZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZnVzaW9uLXVpL2NvbXBvbmVudHMvZXJyb3ItbWVzc2FnZS9jb21tb24vYmFzZS9lcnJvci1tZXNzYWdlLmJhc2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSw0REFBNEQsQ0FBQzs7OztJQ0RyRyx5QkFBZ0c7OztJQUFwRCx1Q0FBa0IscURBQUE7O0FEUTlELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSx5QkFBeUI7d1BBQXZELHFCQUFxQixTQUFyQixxQkFBcUI7b0VBQXJCLHFCQUFxQjtZQ1JsQyxzRUFBZ0c7O1lBQXJFLG9DQUFlOzs7aUZEUTdCLHFCQUFxQjtjQUxqQyxTQUFTOzJCQUNJLHNCQUFzQjs7a0ZBSXZCLHFCQUFxQiI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