var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Pipe } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
var EcSanitizerHtmlPipe = /** @class */ (function () {
    function EcSanitizerHtmlPipe(sanitizer) {
        this.sanitizer = sanitizer;
    }
    EcSanitizerHtmlPipe.prototype.transform = function (value) {
        return this.sanitizer.bypassSecurityTrustHtml(value);
    };
    EcSanitizerHtmlPipe.ctorParameters = function () { return [
        { type: DomSanitizer }
    ]; };
    EcSanitizerHtmlPipe = __decorate([
        Pipe({
            name: 'ecSanitizerHtml'
        })
    ], EcSanitizerHtmlPipe);
    return EcSanitizerHtmlPipe;
}());
export { EcSanitizerHtmlPipe };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWMtc2FuaXRpemVyLWh0bWwucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLWVhc3ljb21tZXJjZS8iLCJzb3VyY2VzIjpbImxpYi9lYy1waXBlL2VjLXNhbml0aXplci1odG1sLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBS3pEO0lBRUksNkJBQW9CLFNBQXVCO1FBQXZCLGNBQVMsR0FBVCxTQUFTLENBQWM7SUFBSSxDQUFDO0lBRWhELHVDQUFTLEdBQVQsVUFBVSxLQUFLO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