import * as i0 from '@angular/core';
import { PLATFORM_ID, Directive, Inject, HostBinding, NgModule } from '@angular/core';
import { isPlatformServer, CommonModule } from '@angular/common';

class BsNoNoscriptDirective {
    constructor(platformId) {
        this.platformId = platformId;
        this.isNoScript = false;
        if (isPlatformServer(platformId)) {
            this.isNoScript = true;
        }
    }
}
BsNoNoscriptDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BsNoNoscriptDirective, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });
BsNoNoscriptDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: BsNoNoscriptDirective, selector: "[bsNoNoscript]", host: { properties: { "class.noscript": "this.isNoScript" } }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BsNoNoscriptDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: '[bsNoNoscript]'
                }]
        }], ctorParameters: function () {
        return [{ type: Object, decorators: [{
                        type: Inject,
                        args: [PLATFORM_ID]
                    }] }];
    }, propDecorators: { isNoScript: [{
                type: HostBinding,
                args: ['class.noscript']
            }] } });

class BsNoNoscriptModule {
}
BsNoNoscriptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BsNoNoscriptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
BsNoNoscriptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: BsNoNoscriptModule, declarations: [BsNoNoscriptDirective], imports: [CommonModule], exports: [BsNoNoscriptDirective] });
BsNoNoscriptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BsNoNoscriptModule, imports: [CommonModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BsNoNoscriptModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [BsNoNoscriptDirective],
                    imports: [CommonModule],
                    exports: [BsNoNoscriptDirective]
                }]
        }] });

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

export { BsNoNoscriptDirective, BsNoNoscriptModule };
//# sourceMappingURL=mintplayer-ng-bootstrap-no-noscript.mjs.map
