(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 NotSent20 = /** @class */ (function () {
        function NotSent20(elementRef) {
            this.elementRef = elementRef;
        }
        NotSent20.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;
                NotSent20.titleIdCounter++;
                title.setAttribute("id", "not-sent20-" + NotSent20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "not-sent20-" + NotSent20.titleIdCounter);
            }
        };
        NotSent20.titleIdCounter = 0;
        NotSent20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-not-sent20",
                        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.41l8 8-7.34 2.65a1 1 0 0 0 0 1.87l9.6 3.84 3.84 9.6a1 1 0 0 0 .9.63 1 1 0 0 0 .92-.66L20.6 22l8 8zM5.8 15l5.74-2 3.05 3-1.83 1.83zM17 26.2l-2.79-7L16 17.41l3 3.05zm-1.31-14.75l7.64-2.78-2.78 7.64 1.56 1.56 3.83-10.53a1 1 0 0 0-1.28-1.28L14.13 9.89z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        NotSent20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        NotSent20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return NotSent20;
    }());
    var NotSent20Module = /** @class */ (function () {
        function NotSent20Module() {
        }
        NotSent20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            NotSent20
                        ],
                        exports: [
                            NotSent20
                        ]
                    },] },
        ];
        return NotSent20Module;
    }());

    exports.NotSent20 = NotSent20;
    exports.NotSent20Module = NotSent20Module;

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

})));
