import { Component, Renderer2 } from '@angular/core';
import { SpinnerAbstractComponent } from '../../spinner.abstract.component';
import { SpinnerService } from '../../spinner.service';
import { StorageService } from '../../../storage-service';
import * as i0 from "@angular/core";
import * as i1 from "../../spinner.service";
import * as i2 from "../../../storage-service";
import * as i3 from "@angular/material/progress-spinner";
import * as i4 from "../../spinner.directive";
export class SpinnerDefaultComponent extends SpinnerAbstractComponent {
    constructor(spinnerService, renderer, storageService) {
        super(spinnerService, renderer);
        this.storageService = storageService;
        this.isWhiteLable = false;
        this.isWhiteLable = !!this.storageService.get('settingsWL');
    }
}
SpinnerDefaultComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpinnerDefaultComponent, deps: [{ token: i1.SpinnerService }, { token: i0.Renderer2 }, { token: i2.StorageService }], target: i0.ɵɵFactoryTarget.Component });
SpinnerDefaultComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SpinnerDefaultComponent, selector: "epom-spinner-default", usesInheritance: true, ngImport: i0, template: "<div class=\"modal modal-spinner\" tabindex=\"-1\" [spinnerState]=\"isOpened\" [placement]=\"placement\">\n  <div class=\"double-bounce\">\n    <mat-spinner [diameter]=\"48\"></mat-spinner>\n  </div>\n  <div class=\"modal-backdrop grey fade in show modal-backdrop-spinner\"></div>\n</div>\n", dependencies: [{ kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i4.SpinnerDirective, selector: "[spinnerState]", inputs: ["spinnerState", "placement"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpinnerDefaultComponent, decorators: [{
            type: Component,
            args: [{ selector: 'epom-spinner-default', template: "<div class=\"modal modal-spinner\" tabindex=\"-1\" [spinnerState]=\"isOpened\" [placement]=\"placement\">\n  <div class=\"double-bounce\">\n    <mat-spinner [diameter]=\"48\"></mat-spinner>\n  </div>\n  <div class=\"modal-backdrop grey fade in show modal-backdrop-spinner\"></div>\n</div>\n" }]
        }], ctorParameters: function () { return [{ type: i1.SpinnerService }, { type: i0.Renderer2 }, { type: i2.StorageService }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci1kZWZhdWx0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9lcG9tLW5nMi11aS1mb3VuZGF0aW9uL3NyYy9saWIvc3Bpbm5lcnMvY29tcG9uZW50cy9zcGlubmVyLWRlZmF1bHQvc3Bpbm5lci1kZWZhdWx0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9lcG9tLW5nMi11aS1mb3VuZGF0aW9uL3NyYy9saWIvc3Bpbm5lcnMvY29tcG9uZW50cy9zcGlubmVyLWRlZmF1bHQvc3Bpbm5lci1kZWZhdWx0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLGtDQUFrQyxDQUFDO0FBQzFFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sMEJBQTBCLENBQUM7Ozs7OztBQU94RCxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsd0JBQXdCO0lBRWpFLFlBQVksY0FBOEIsRUFBRSxRQUFtQixFQUFVLGNBQThCO1FBQ25HLEtBQUssQ0FBQyxjQUFjLEVBQUUsUUFBUSxDQ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