import * as i0 from '@angular/core';
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';

class PopupService {
    constructor() {
        this.popupData$ = new BehaviorSubject(null);
    }
    showPopUp(popupData) {
        this.popupData$.next(popupData);
    }
    closePopUp() {
        this.popupData$.next(null);
    }
    static { this.ɵfac = function PopupService_Factory(t) { return new (t || PopupService)(); }; }
    static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PopupService, factory: PopupService.ɵfac, providedIn: 'root' }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PopupService, [{
        type: Injectable,
        args: [{
                providedIn: 'root'
            }]
    }], null, null); })();

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

export { PopupService };
//# sourceMappingURL=ironsource-fusion-ui-components-popup-common-services.mjs.map
