(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 CloudRain20 = /** @class */ (function () {
        function CloudRain20(elementRef) {
            this.elementRef = elementRef;
        }
        CloudRain20.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;
                CloudRain20.titleIdCounter++;
                title.setAttribute("id", "cloud-rain20-" + CloudRain20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "cloud-rain20-" + CloudRain20.titleIdCounter);
            }
        };
        CloudRain20.titleIdCounter = 0;
        CloudRain20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-cloud-rain20",
                        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=\"M23.5 22h-15A6.5 6.5 0 0 1 7.2 9.14a9 9 0 0 1 17.6 0A6.5 6.5 0 0 1 23.5 22zM16 4a7 7 0 0 0-6.94 6.14L9 11h-.86a4.5 4.5 0 0 0 .36 9h15a4.5 4.5 0 0 0 .36-9H23l-.1-.82A7 7 0 0 0 16 4zm-2 26a.93.93 0 0 1-.45-.11 1 1 0 0 1-.44-1.34l2-4a1 1 0 1 1 1.78.9l-2 4A1 1 0 0 1 14 30zm6 0a.93.93 0 0 1-.45-.11 1 1 0 0 1-.44-1.34l2-4a1 1 0 1 1 1.78.9l-2 4A1 1 0 0 1 20 30zM8 30a.93.93 0 0 1-.45-.11 1 1 0 0 1-.44-1.34l2-4a1 1 0 1 1 1.78.9l-2 4A1 1 0 0 1 8 30z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        CloudRain20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        CloudRain20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return CloudRain20;
    }());
    var CloudRain20Module = /** @class */ (function () {
        function CloudRain20Module() {
        }
        CloudRain20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            CloudRain20
                        ],
                        exports: [
                            CloudRain20
                        ]
                    },] },
        ];
        return CloudRain20Module;
    }());

    exports.CloudRain20 = CloudRain20;
    exports.CloudRain20Module = CloudRain20Module;

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

})));
