(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 ResearchMatrix24 = /** @class */ (function () {
        function ResearchMatrix24(elementRef) {
            this.elementRef = elementRef;
        }
        ResearchMatrix24.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;
                ResearchMatrix24.titleIdCounter++;
                title.setAttribute("id", "research-matrix24-" + ResearchMatrix24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "research-matrix24-" + ResearchMatrix24.titleIdCounter);
            }
        };
        ResearchMatrix24.titleIdCounter = 0;
        ResearchMatrix24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-research-matrix24",
                        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=\"M18 13V4h-2v2h-3v2h3v5h-3v2h8v-2h-3zm-1.5 7a3.5 3.5 0 1 1-3.5 3.5 3.5 3.5 0 0 1 3.5-3.5m0-2a5.5 5.5 0 1 0 5.5 5.5 5.5 5.5 0 0 0-5.5-5.5zM8 30H2V2h6v2H4v24h4v2zm22 0h-6v-2h4V4h-4V2h6v28z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        ResearchMatrix24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        ResearchMatrix24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return ResearchMatrix24;
    }());
    var ResearchMatrix24Module = /** @class */ (function () {
        function ResearchMatrix24Module() {
        }
        ResearchMatrix24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            ResearchMatrix24
                        ],
                        exports: [
                            ResearchMatrix24
                        ]
                    },] },
        ];
        return ResearchMatrix24Module;
    }());

    exports.ResearchMatrix24 = ResearchMatrix24;
    exports.ResearchMatrix24Module = ResearchMatrix24Module;

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

})));
