import * as i0 from '@angular/core';
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
import { DynamicComponentsBaseComponent } from '@ironsource/fusion-ui/components/dynamic-components/common/base';
import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
export * from '@ironsource/fusion-ui/components/dynamic-components/common/entities';

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);
} }
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 }); })();

class DynamicComponentsModule {
    static { this.ɵfac = function DynamicComponentsModule_Factory(t) { return new (t || DynamicComponentsModule)(); }; }
    static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DynamicComponentsModule }); }
    static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicComponentsModule, [{
        type: NgModule,
        args: [{
                declarations: [DynamicComponentsComponent],
                exports: [DynamicComponentsComponent],
                imports: [CommonModule]
            }]
    }], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DynamicComponentsModule, { declarations: [DynamicComponentsComponent], imports: [CommonModule], exports: [DynamicComponentsComponent] }); })();

/**
 * Generated bundle index. Do not edit.
 */

export { DynamicComponentsComponent, DynamicComponentsModule };
//# sourceMappingURL=ironsource-fusion-ui-components-dynamic-components-v1.mjs.map
