(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 WatsonHealthCobbAngle32 = /** @class */ (function () {
        function WatsonHealthCobbAngle32(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthCobbAngle32.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;
                WatsonHealthCobbAngle32.titleIdCounter++;
                title.setAttribute("id", "watson-health-cobb-angle32-" + WatsonHealthCobbAngle32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-cobb-angle32-" + WatsonHealthCobbAngle32.titleIdCounter);
            }
        };
        WatsonHealthCobbAngle32.titleIdCounter = 0;
        WatsonHealthCobbAngle32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-cobb-angle32",
                        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=\"M20 17v-2a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zm-10-2h8v2h-8zm13.42 9.48A2 2 0 0 0 21 23.06l-7.73 2.07a2 2 0 0 0-1.42 2.44l.52 1.93a2 2 0 0 0 1.9 1.5 3 3 0 0 0 .52-.07l7.73-2.07a2 2 0 0 0 1.41-2.45zM14.27 29l-.51-1.94L21.48 25l.52 1.92zM13.24 6.86L21 8.93a2.24 2.24 0 0 0 .51.07 2 2 0 0 0 1.94-1.48L24 5.58a2 2 0 0 0-1.41-2.45l-7.8-2.07a2 2 0 0 0-2.45 1.41l-.52 1.93a2 2 0 0 0 1.42 2.44zm1-3.86L22 5.07 21.48 7l-7.72-2.07zM14 21h2v2h-2zm0-12h2v2h-2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthCobbAngle32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthCobbAngle32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthCobbAngle32;
    }());
    var WatsonHealthCobbAngle32Module = /** @class */ (function () {
        function WatsonHealthCobbAngle32Module() {
        }
        WatsonHealthCobbAngle32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthCobbAngle32
                        ],
                        exports: [
                            WatsonHealthCobbAngle32
                        ]
                    },] },
        ];
        return WatsonHealthCobbAngle32Module;
    }());

    exports.WatsonHealthCobbAngle32 = WatsonHealthCobbAngle32;
    exports.WatsonHealthCobbAngle32Module = WatsonHealthCobbAngle32Module;

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

})));
