(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 TagGroup24 = /** @class */ (function () {
        function TagGroup24(elementRef) {
            this.elementRef = elementRef;
        }
        TagGroup24.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;
                TagGroup24.titleIdCounter++;
                title.setAttribute("id", "tag-group24-" + TagGroup24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "tag-group24-" + TagGroup24.titleIdCounter);
            }
        };
        TagGroup24.titleIdCounter = 0;
        TagGroup24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-tag-group24",
                        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\"><circle cx=\"10\" cy=\"14\" r=\"2\"></circle><path d=\"M16 30a1 1 0 0 1-.71-.29L4.59 19A2 2 0 0 1 4 17.59V10a2 2 0 0 1 2-2h7.59a2 2 0 0 1 1.41.59l10.71 10.7a1 1 0 0 1 0 1.42l-9 9A1 1 0 0 1 16 30zM6 10v7.59l10 10L23.59 20l-10-10z\"></path><path d=\"M27.71 13.29L17 2.59A2 2 0 0 0 15.59 2H8a2 2 0 0 0-2 2v2h2V4h7.59l10 10-1.3 1.29 1.42 1.42 2-2a1 1 0 0 0 0-1.42z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        TagGroup24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        TagGroup24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return TagGroup24;
    }());
    var TagGroup24Module = /** @class */ (function () {
        function TagGroup24Module() {
        }
        TagGroup24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            TagGroup24
                        ],
                        exports: [
                            TagGroup24
                        ]
                    },] },
        ];
        return TagGroup24Module;
    }());

    exports.TagGroup24 = TagGroup24;
    exports.TagGroup24Module = TagGroup24Module;

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

})));
