import * as i0 from '@angular/core';
import { Injectable, Pipe } from '@angular/core';
import { isNull } from '@ironsource/fusion-ui/utils';

class NotAvailablePipe {
    transform(value, expectedValue) {
        if (isNull(value)) {
            return expectedValue || 'N/A';
        }
        return value;
    }
    static { this.ɵfac = function NotAvailablePipe_Factory(t) { return new (t || NotAvailablePipe)(); }; }
    static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "notAvailable", type: NotAvailablePipe, pure: true, standalone: true }); }
    static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: NotAvailablePipe, factory: NotAvailablePipe.ɵfac, providedIn: 'root' }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotAvailablePipe, [{
        type: Injectable,
        args: [{
                providedIn: 'root'
            }]
    }, {
        type: Pipe,
        args: [{
                name: 'notAvailable',
                standalone: true
            }]
    }], null, null); })();

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

export { NotAvailablePipe };
//# sourceMappingURL=ironsource-fusion-ui-pipes-not-available.mjs.map
