(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 FlashOffFilled20 = /** @class */ (function () {
        function FlashOffFilled20(elementRef) {
            this.elementRef = elementRef;
        }
        FlashOffFilled20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                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;
                FlashOffFilled20.titleIdCounter++;
                title.setAttribute("id", "flash-off-filled20-" + FlashOffFilled20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "flash-off-filled20-" + FlashOffFilled20.titleIdCounter);
            }
        };
        FlashOffFilled20.titleIdCounter = 0;
        FlashOffFilled20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-flash-off-filled20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M30 28.59L3.41 2 2 3.41l6.4 6.41L7 15.77A1 1 0 0 0 8 17h4.83L11 28.85a1 1 0 0 0 .6 1.07 1.09 1.09 0 0 0 .4.08 1 1 0 0 0 .79-.39l6.68-8.73L28.59 30zm-7.47-11.72l3.26-4.26a1 1 0 0 0 .11-1A1 1 0 0 0 25 11h-4.75L22 3.22a1 1 0 0 0-.2-.85A1 1 0 0 0 21 2H11a1 1 0 0 0-1 .77l-.3 1.3z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        FlashOffFilled20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        FlashOffFilled20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return FlashOffFilled20;
    }());
    var FlashOffFilled20Module = /** @class */ (function () {
        function FlashOffFilled20Module() {
        }
        FlashOffFilled20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            FlashOffFilled20
                        ],
                        exports: [
                            FlashOffFilled20
                        ]
                    },] },
        ];
        return FlashOffFilled20Module;
    }());

    exports.FlashOffFilled20 = FlashOffFilled20;
    exports.FlashOffFilled20Module = FlashOffFilled20Module;

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

})));
