import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var VolumeMuteFilled20 = /** @class */ (function () {
    function VolumeMuteFilled20(elementRef) {
        this.elementRef = elementRef;
    }
    VolumeMuteFilled20.prototype.ngAfterViewInit = function () {
        var svg = this.elementRef.nativeElement.querySelector("svg");
        var attributes = getAttributes({
            width: 20,
            height: 20,
            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;
            VolumeMuteFilled20.titleIdCounter++;
            title.setAttribute("id", "volume-mute-filled20-" + VolumeMuteFilled20.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "volume-mute-filled20-" + VolumeMuteFilled20.titleIdCounter);
        }
    };
    VolumeMuteFilled20.titleIdCounter = 0;
    VolumeMuteFilled20.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-volume-mute-filled20",
                    template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M31 12.41L29.59 11 26 14.59 22.41 11 21 12.41 24.59 16 21 19.59 22.41 21 26 17.41 29.59 21 31 19.59 27.41 16 31 12.41zM18 30a1 1 0 0 1-.71-.3L9.67 22H3a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h6.67l7.62-7.7a1 1 0 0 1 1.41 0 1 1 0 0 1 .3.7v26a1 1 0 0 1-1 1z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    VolumeMuteFilled20.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    VolumeMuteFilled20.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return VolumeMuteFilled20;
}());
export { VolumeMuteFilled20 };
var VolumeMuteFilled20Module = /** @class */ (function () {
    function VolumeMuteFilled20Module() {
    }
    VolumeMuteFilled20Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        VolumeMuteFilled20
                    ],
                    exports: [
                        VolumeMuteFilled20
                    ]
                },] },
    ];
    return VolumeMuteFilled20Module;
}());
export { VolumeMuteFilled20Module };
//# sourceMappingURL=20.js.map