(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 WatsonHealthCdCreateExchange24 = /** @class */ (function () {
        function WatsonHealthCdCreateExchange24(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthCdCreateExchange24.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;
                WatsonHealthCdCreateExchange24.titleIdCounter++;
                title.setAttribute("id", "watson-health-cd-create-exchange24-" + WatsonHealthCdCreateExchange24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-cd-create-exchange24-" + WatsonHealthCdCreateExchange24.titleIdCounter);
            }
        };
        WatsonHealthCdCreateExchange24.titleIdCounter = 0;
        WatsonHealthCdCreateExchange24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-cd-create-exchange24",
                        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=\"14\" cy=\"14\" r=\"2\"></circle><path d=\"M14 2a12 12 0 0 0 0 24v-2a10 10 0 1 1 10-10 8.27 8.27 0 0 1 0 1h2c0-.33.05-.66.05-1A12 12 0 0 0 14 2z\"></path><path d=\"M17 24h9.17l-2.59 2.59L25 28l5-5-5-5-1.42 1.42L26.17 22H17v2zm-3-4a6 6 0 1 1 6-6 6 6 0 0 1-6 6zm0-10a4 4 0 1 0 4 4 4 4 0 0 0-4-4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthCdCreateExchange24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthCdCreateExchange24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthCdCreateExchange24;
    }());
    var WatsonHealthCdCreateExchange24Module = /** @class */ (function () {
        function WatsonHealthCdCreateExchange24Module() {
        }
        WatsonHealthCdCreateExchange24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthCdCreateExchange24
                        ],
                        exports: [
                            WatsonHealthCdCreateExchange24
                        ]
                    },] },
        ];
        return WatsonHealthCdCreateExchange24Module;
    }());

    exports.WatsonHealthCdCreateExchange24 = WatsonHealthCdCreateExchange24;
    exports.WatsonHealthCdCreateExchange24Module = WatsonHealthCdCreateExchange24Module;

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

})));
