/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
import * as i0 from "@angular/core";
var CoachmarkService = /** @class */ (function () {
    function CoachmarkService() {
        var _this = this;
        this.showed = new Subject();
        this.showed$ = this.showed.asObservable();
        this.setVisiable = (/**
         * @param {?} ifShow
         * @return {?}
         */
        function (ifShow) {
            _this.showed.next(ifShow);
        });
    }
    CoachmarkService.decorators = [
        { type: Injectable, args: [{
                    providedIn: 'root'
                },] }
    ];
    /** @nocollapse */
    CoachmarkService.ctorParameters = function () { return []; };
    /** @nocollapse */ CoachmarkService.ngInjectableDef = i0.defineInjectable({ factory: function CoachmarkService_Factory() { return new CoachmarkService(); }, token: CoachmarkService, providedIn: "root" });
    return CoachmarkService;
}());
export { CoachmarkService };
if (false) {
    /**
     * @type {?}
     * @private
     */
    CoachmarkService.prototype.showed;
    /** @type {?} */
    CoachmarkService.prototype.showed$;
    /** @type {?} */
    CoachmarkService.prototype.setVisiable;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29hY2htYXJrLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbW9tZW50dW0tdWkvYW5ndWxhci8iLCJzb3VyY2VzIjpbImNvYWNobWFyay9jb2FjaG1hcmsuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDOztBQUUvQjtJQVFFO1FBQUEsaUJBQWlCO1FBSFQsV0FBTSxHQUFHLElBQUksT0FBTyxFQUFXLENBQUM7UUFDeEMsWUFBTyxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMsWUFBWSxFQU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