(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 Flash32 = /** @class */ (function () {
        function Flash32(elementRef) {
            this.elementRef = elementRef;
        }
        Flash32.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;
                Flash32.titleIdCounter++;
                title.setAttribute("id", "flash32-" + Flash32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "flash32-" + Flash32.titleIdCounter);
            }
        };
        Flash32.titleIdCounter = 0;
        Flash32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-flash32",
                        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=\"M11.61 29.92a1 1 0 0 1-.6-1.07L12.83 17H8a1 1 0 0 1-1-1.23l3-13A1 1 0 0 1 11 2h10a1 1 0 0 1 .78.37 1 1 0 0 1 .2.85L20.25 11H25a1 1 0 0 1 .9.56 1 1 0 0 1-.11 1l-13 17A1 1 0 0 1 12 30a1.09 1.09 0 0 1-.39-.08zM17.75 13l2-9H11.8L9.26 15h5.91l-1.59 10.28L23 13z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Flash32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Flash32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Flash32;
    }());
    var Flash32Module = /** @class */ (function () {
        function Flash32Module() {
        }
        Flash32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Flash32
                        ],
                        exports: [
                            Flash32
                        ]
                    },] },
        ];
        return Flash32Module;
    }());

    exports.Flash32 = Flash32;
    exports.Flash32Module = Flash32Module;

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

})));
