(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 Rss32 = /** @class */ (function () {
        function Rss32(elementRef) {
            this.elementRef = elementRef;
        }
        Rss32.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;
                Rss32.titleIdCounter++;
                title.setAttribute("id", "rss32-" + Rss32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "rss32-" + Rss32.titleIdCounter);
            }
        };
        Rss32.titleIdCounter = 0;
        Rss32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-rss32",
                        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=\"M8 18c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm0 10c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4zm22-4h-2C28 13 19 4 8 4V2c12.1 0 22 9.9 22 22z\"></path><path d=\"M22 24h-2c0-6.6-5.4-12-12-12v-2c7.7 0 14 6.3 14 14z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Rss32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Rss32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Rss32;
    }());
    var Rss32Module = /** @class */ (function () {
        function Rss32Module() {
        }
        Rss32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Rss32
                        ],
                        exports: [
                            Rss32
                        ]
                    },] },
        ];
        return Rss32Module;
    }());

    exports.Rss32 = Rss32;
    exports.Rss32Module = Rss32Module;

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

})));
