import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ngx-translate/core";
/**
 * The `MessageBlocked` component displays a message that has been blocked by moderation policies.
 */
export class MessageBlockedComponent {
    constructor() {
        /**
         * Whether the message is the current user's own message.
         */
        this.isMyMessage = false;
    }
}
MessageBlockedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageBlockedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
MessageBlockedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: MessageBlockedComponent, selector: "stream-message-blocked", inputs: { message: "message", isMyMessage: "isMyMessage" }, ngImport: i0, template: "<div\n  class=\"str-chat__message str-chat__message-simple str-chat__message--blocked\"\n  [class.str-chat__message--me]=\"isMyMessage\"\n  [class.str-chat__message-simple--me]=\"isMyMessage\"\n  [class.str-chat__message--other]=\"!isMyMessage\"\n  [attr.data-testid]=\"'message-blocked-component'\"\n>\n  <div class=\"str-chat__message--blocked-inner\">\n    {{ \"streamChat.Message was blocked by moderation policies\" | translate }}\n  </div>\n</div>\n", dependencies: [{ kind: "pipe", type: i1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MessageBlockedComponent, decorators: [{
            type: Component,
            args: [{ selector: 'stream-message-blocked', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n  class=\"str-chat__message str-chat__message-simple str-chat__message--blocked\"\n  [class.str-chat__message--me]=\"isMyMessage\"\n  [class.str-chat__message-simple--me]=\"isMyMessage\"\n  [class.str-chat__message--other]=\"!isMyMessage\"\n  [attr.data-testid]=\"'message-blocked-component'\"\n>\n  <div class=\"str-chat__message--blocked-inner\">\n    {{ \"streamChat.Message was blocked by moderation policies\" | translate }}\n  </div>\n</div>\n" }]
        }], propDecorators: { message: [{
                type: Input
            }], isMyMessage: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1ibG9ja2VkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3N0cmVhbS1jaGF0LWFuZ3VsYXIvc3JjL2xpYi9tZXNzYWdlLWJsb2NrZWQvbWVzc2FnZS1ibG9ja2VkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3N0cmVhbS1jaGF0LWFuZ3VsYXIvc3JjL2xpYi9tZXNzYWdlLWJsb2NrZWQvbWVzc2FnZS1ibG9ja2VkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsdUJBQXVCLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFHMUU7O0dBRUc7QUFPSCxNQUFNLE9BQU8sdUJBQXVCO0lBTnBDO1FBV0U7O1dBRUc7UUFDTSxnQkFBVyxHQUFHLEtBQUssQ0FBQztLQUM5Qjs7b0hBVFksdUJBQXVCO3dHQUF2Qix1QkFBdUIsMEhDWnBDLHljQVdBOzJGRENhLHVCQUF1QjtrQkFObkMsU0FBUzsrQkFDRSx3QkFBd0IsbUJBR2pCLHVCQUF1QixDQUFDLE1BQU07OEJBTXRDLE9BQU87c0JBQWYsS0FBSztnQkFJRyxXQUFXO3NCQUFuQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFN0cmVhbU1lc3NhZ2UgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8qKlxuIC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