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(__ngFactoryType__) { return (ɵErrorMessageComponent_BaseFactory || (ɵErrorMessageComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ErrorMessageComponent)))(__ngFactoryType__ || 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:12px;font-family:var(--regular-font-family, \"Open Sans\");font-weight:400}[_nghost-%COMP%]   .fusion-error[_ngcontent-%COMP%]{color:var(--negative-color, #e1174c);margin-top:3px}"] }); }
}
(() => { (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:12px;font-family:var(--regular-font-family, \"Open Sans\");font-weight:400}:host .fusion-error{color:var(--negative-color, #e1174c);margin-top:3px}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorMessageComponent, { className: "ErrorMessageComponent", filePath: "error-message.component.ts", lineNumber: 9 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mdXNpb24tdWkvY29tcG9uZW50cy9lcnJvci1tZXNzYWdlL3YxL2Vycm9yLW1lc3NhZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZnVzaW9uLXVpL2NvbXBvbmVudHMvZXJyb3ItbWVzc2FnZS9jb21tb24vYmFzZS9lcnJvci1tZXNzYWdlLmJhc2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSw0REFBNEQsQ0FBQzs7OztJQ0RyRyx5QkFBZ0c7OztJQUFqQyxBQUFuQix1Q0FBa0IscURBQTJCOztBRFF6RixNQUFNLE9BQU8scUJBQXNCLFNBQVEseUJBQXlCO3dRQUF2RCxxQkFBcUIseUJBQXJCLHFCQUFxQjtvRUFBckIscUJBQXFCO1lDUmxDLHNFQUEwRjs7WUFBL0Qsb0NBQWU7OztpRkRRN0IscUJBQXFCO2NBTGpDLFNBQVM7MkJBQ0ksc0JBQXNCOztrRkFJdkIscUJBQXFCIiwic291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