import { Component, ChangeDetectionStrategy } from '@angular/core';
import { DynamicComponentsBaseComponent } from '@ironsource/fusion-ui/components/dynamic-components/common/base';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
function DynamicComponentsComponent_ng_template_0_Template(rf, ctx) { }
function DynamicComponentsComponent_div_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "div", null, 4);
} }
function DynamicComponentsComponent_div_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "div", 5);
} if (rf & 2) {
    const ctx_r3 = i0.ɵɵnextContext();
    i0.ɵɵproperty("innerHTML", ctx_r3.htmlSnippet, i0.ɵɵsanitizeHtml);
} }
function DynamicComponentsComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementContainer(0, 6);
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext();
    i0.ɵɵproperty("ngTemplateOutlet", ctx_r4.templateRef);
} }
export class DynamicComponentsComponent extends DynamicComponentsBaseComponent {
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵDynamicComponentsComponent_BaseFactory; return function DynamicComponentsComponent_Factory(t) { return (ɵDynamicComponentsComponent_BaseFactory || (ɵDynamicComponentsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DynamicComponentsComponent)))(t || DynamicComponentsComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicComponentsComponent, selectors: [["fusion-dynamic-components"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 3, consts: [["dynamicContent", ""], [4, "ngIf"], [3, "innerHTML", 4, "ngIf"], [3, "ngTemplateOutlet", 4, "ngIf"], ["elementContent", ""], [3, "innerHTML"], [3, "ngTemplateOutlet"]], template: function DynamicComponentsComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, DynamicComponentsComponent_ng_template_0_Template, 0, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(2, DynamicComponentsComponent_div_2_Template, 2, 0, "div", 1)(3, DynamicComponentsComponent_div_3_Template, 1, 1, "div", 2)(4, DynamicComponentsComponent_ng_container_4_Template, 1, 1, "ng-container", 3);
        } if (rf & 2) {
            i0.ɵɵadvance(2);
            i0.ɵɵproperty("ngIf", !ctx.component && !ctx.htmlSnippet && !ctx.templateRef);
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", !ctx.component && ctx.htmlSnippet);
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", !ctx.component && ctx.templateRef);
        } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{width:inherit}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicComponentsComponent, [{
        type: Component,
        args: [{ selector: 'fusion-dynamic-components', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #dynamicContent></ng-template>\n<div *ngIf=\"!component && !htmlSnippet && !templateRef\" #elementContent></div>\n<div *ngIf=\"!component && htmlSnippet\" [innerHTML]=\"htmlSnippet\"></div>\n<ng-container *ngIf=\"!component && templateRef\" [ngTemplateOutlet]=\"templateRef\"></ng-container>\n", styles: [":host{width:inherit}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DynamicComponentsComponent, { className: "DynamicComponentsComponent", filePath: "dynamic-components.component.ts", lineNumber: 10 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1jb21wb25lbnRzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Z1c2lvbi11aS9jb21wb25lbnRzL2R5bmFtaWMtY29tcG9uZW50cy92MS9keW5hbWljLWNvbXBvbmVudHMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4v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