(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 Asleep20 = /** @class */ (function () {
        function Asleep20(elementRef) {
            this.elementRef = elementRef;
        }
        Asleep20.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;
                Asleep20.titleIdCounter++;
                title.setAttribute("id", "asleep20-" + Asleep20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "asleep20-" + Asleep20.titleIdCounter);
            }
        };
        Asleep20.titleIdCounter = 0;
        Asleep20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-asleep20",
                        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=\"M13.49 5.41a15.08 15.08 0 0 0 11.6 18.2 11.09 11.09 0 0 1-8 3.39h-.42a11.1 11.1 0 0 1-3.2-21.59M15 3h-.2a13.09 13.09 0 0 0 1.82 26h.49a13.08 13.08 0 0 0 10.71-5.56 1 1 0 0 0-.82-1.56 13.08 13.08 0 0 1-11.12-17.5A1 1 0 0 0 15 3z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Asleep20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Asleep20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Asleep20;
    }());
    var Asleep20Module = /** @class */ (function () {
        function Asleep20Module() {
        }
        Asleep20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Asleep20
                        ],
                        exports: [
                            Asleep20
                        ]
                    },] },
        ];
        return Asleep20Module;
    }());

    exports.Asleep20 = Asleep20;
    exports.Asleep20Module = Asleep20Module;

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

})));
