(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 Collaborate32 = /** @class */ (function () {
        function Collaborate32(elementRef) {
            this.elementRef = elementRef;
        }
        Collaborate32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                Collaborate32.titleIdCounter++;
                title.setAttribute("id", "collaborate32-" + Collaborate32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "collaborate32-" + Collaborate32.titleIdCounter);
            }
        };
        Collaborate32.titleIdCounter = 0;
        Collaborate32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-collaborate32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M6 21v-1H4v1a7 7 0 0 0 7 7h3v-2h-3a5 5 0 0 1-5-5zm18-10v1h2v-1a7 7 0 0 0-7-7h-3v2h3a5 5 0 0 1 5 5zm-13 0H5a3 3 0 0 0-3 3v2h2v-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2h2v-2a3 3 0 0 0-3-3zm-3-1a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0-6a2 2 0 1 1-2 2 2 2 0 0 1 2-2zm19 21h-6a3 3 0 0 0-3 3v2h2v-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2h2v-2a3 3 0 0 0-3-3zm-7-5a4 4 0 1 0 4-4 4 4 0 0 0-4 4zm6 0a2 2 0 1 1-2-2 2 2 0 0 1 2 2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Collaborate32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Collaborate32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Collaborate32;
    }());
    var Collaborate32Module = /** @class */ (function () {
        function Collaborate32Module() {
        }
        Collaborate32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Collaborate32
                        ],
                        exports: [
                            Collaborate32
                        ]
                    },] },
        ];
        return Collaborate32Module;
    }());

    exports.Collaborate32 = Collaborate32;
    exports.Collaborate32Module = Collaborate32Module;

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

})));
