(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@carbon/icon-helpers')) :
    typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@carbon/icon-helpers'], factory) :
    (factory((global.CarbonIconsAngular = {}),global.ng.Core,global.CarbonIconHelpers));
}(this, (function (exports,core,iconHelpers) { 'use strict';

    var Accessibility24 = /** @class */ (function () {
        function Accessibility24(elementRef) {
            this.elementRef = elementRef;
        }
        Accessibility24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.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;
                Accessibility24.titleIdCounter++;
                title.setAttribute("id", "accessibility24-" + Accessibility24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "accessibility24-" + Accessibility24.titleIdCounter);
            }
        };
        Accessibility24.titleIdCounter = 0;
        Accessibility24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-accessibility24",
                        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=\"M29.55 26.11l-3.05 1.52L23.66 21H15a2 2 0 0 1-2-2v-6a2 2 0 0 1 4 0v4h7v-2h-5v-2a4 4 0 0 0-8 0v1a9 9 0 1 0 8.77 11h-2.06A7 7 0 1 1 11 16v3a4 4 0 0 0 4 4h7.34l3.16 7.37 4.95-2.48zM15.5 8A3.5 3.5 0 1 1 19 4.5 3.5 3.5 0 0 1 15.5 8zm0-5A1.5 1.5 0 1 0 17 4.5 1.5 1.5 0 0 0 15.5 3z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Accessibility24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Accessibility24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Accessibility24;
    }());
    var Accessibility24Module = /** @class */ (function () {
        function Accessibility24Module() {
        }
        Accessibility24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Accessibility24
                        ],
                        exports: [
                            Accessibility24
                        ]
                    },] },
        ];
        return Accessibility24Module;
    }());

    exports.Accessibility24 = Accessibility24;
    exports.Accessibility24Module = Accessibility24Module;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
