(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 Cloud32 = /** @class */ (function () {
        function Cloud32(elementRef) {
            this.elementRef = elementRef;
        }
        Cloud32.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;
                Cloud32.titleIdCounter++;
                title.setAttribute("id", "cloud32-" + Cloud32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "cloud32-" + Cloud32.titleIdCounter);
            }
        };
        Cloud32.titleIdCounter = 0;
        Cloud32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-cloud32",
                        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=\"M16 7a7.66 7.66 0 0 1 1.51.15 8 8 0 0 1 6.35 6.34l.26 1.35 1.35.24a5.5 5.5 0 0 1-1 10.92H7.5a5.5 5.5 0 0 1-1-10.92l1.34-.24.26-1.35A8 8 0 0 1 16 7m0-2a10 10 0 0 0-9.83 8.12A7.5 7.5 0 0 0 7.49 28h17a7.5 7.5 0 0 0 1.32-14.88 10 10 0 0 0-7.94-7.94A10.27 10.27 0 0 0 16 5z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Cloud32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Cloud32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Cloud32;
    }());
    var Cloud32Module = /** @class */ (function () {
        function Cloud32Module() {
        }
        Cloud32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Cloud32
                        ],
                        exports: [
                            Cloud32
                        ]
                    },] },
        ];
        return Cloud32Module;
    }());

    exports.Cloud32 = Cloud32;
    exports.Cloud32Module = Cloud32Module;

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

})));
