import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var NotificationOff24 = /** @class */ (function () {
    function NotificationOff24(elementRef) {
        this.elementRef = elementRef;
    }
    NotificationOff24.prototype.ngAfterViewInit = function () {
        var svg = this.elementRef.nativeElement.querySelector("svg");
        var attributes = getAttributes({
            width: 24,
            height: 24,
            viewBox: "0 0 32 32",
            title: this.title,
            "aria-label": this.ariaLabel,
            "aria-labelledby": this.ariaLabelledby,
            "aria-hidden": this.ariaHidden,
            focusable: this.focusable
        });
        var attrKeys = Object.keys(attributes);
        for (var i = 0; i < attrKeys.length; i++) {
            var key = attrKeys[i];
            var value = attributes[key];
            if (key === "title") {
                continue;
            }
            if (value) {
                svg.setAttribute(key, value);
            }
        }
        if (attributes.title) {
            var title = document.createElement("title");
            title.textContent = attributes.title;
            NotificationOff24.titleIdCounter++;
            title.setAttribute("id", "notification-off24-" + NotificationOff24.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "notification-off24-" + NotificationOff24.titleIdCounter);
        }
    };
    NotificationOff24.titleIdCounter = 0;
    NotificationOff24.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-notification-off24",
                    template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M5 23v-1.6l2.7-2.7A.91.91 0 0 0 8 18v-5a8 8 0 0 1 13-6.24l1.44-1.43A9.79 9.79 0 0 0 17 3V1h-2v2a10.15 10.15 0 0 0-9 10v4.6l-2.7 2.7a.91.91 0 0 0-.3.7v2zm21-5.4V13a10 10 0 0 0-1.09-4.5L30 3.41 28.59 2 2 28.59 3.41 30l5-5H11a5 5 0 0 0 10 0h7a.94.94 0 0 0 1-1v-3a.91.91 0 0 0-.3-.7zM16 28a3 3 0 0 1-3-3h6a3 3 0 0 1-3 3zm11-5H10.42l13-13a8.06 8.06 0 0 1 .58 3v5a.91.91 0 0 0 .3.7l2.7 2.7z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    NotificationOff24.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    NotificationOff24.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return NotificationOff24;
}());
export { NotificationOff24 };
var NotificationOff24Module = /** @class */ (function () {
    function NotificationOff24Module() {
    }
    NotificationOff24Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        NotificationOff24
                    ],
                    exports: [
                        NotificationOff24
                    ]
                },] },
    ];
    return NotificationOff24Module;
}());
export { NotificationOff24Module };
//# sourceMappingURL=24.js.map