(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 Recommend20 = /** @class */ (function () {
        function Recommend20(elementRef) {
            this.elementRef = elementRef;
        }
        Recommend20.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;
                Recommend20.titleIdCounter++;
                title.setAttribute("id", "recommend20-" + Recommend20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "recommend20-" + Recommend20.titleIdCounter);
            }
        };
        Recommend20.titleIdCounter = 0;
        Recommend20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-recommend20",
                        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=\"M16 2a9 9 0 0 0-6 15.69V30l6-4 6 4V17.69A9 9 0 0 0 16 2zm4 24.26l-2.89-1.92L16 23.6l-1.11.74L12 26.26v-7.21a8.88 8.88 0 0 0 8 0zM20.89 16A7 7 0 1 1 23 11a7 7 0 0 1-2.11 5z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Recommend20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Recommend20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Recommend20;
    }());
    var Recommend20Module = /** @class */ (function () {
        function Recommend20Module() {
        }
        Recommend20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Recommend20
                        ],
                        exports: [
                            Recommend20
                        ]
                    },] },
        ];
        return Recommend20Module;
    }());

    exports.Recommend20 = Recommend20;
    exports.Recommend20Module = Recommend20Module;

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

})));
