(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 ThumbsUp20 = /** @class */ (function () {
        function ThumbsUp20(elementRef) {
            this.elementRef = elementRef;
        }
        ThumbsUp20.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;
                ThumbsUp20.titleIdCounter++;
                title.setAttribute("id", "thumbs-up20-" + ThumbsUp20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "thumbs-up20-" + ThumbsUp20.titleIdCounter);
            }
        };
        ThumbsUp20.titleIdCounter = 0;
        ThumbsUp20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-thumbs-up20",
                        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=\"M26 11h-6V6a3.64 3.64 0 0 0-3.24-4A3.22 3.22 0 0 0 16 2h-1.57A1.51 1.51 0 0 0 13 3.17v.12l-1 6.34L8.46 15H2v14h19c7.44 0 9-4.35 9-8v-6a3.64 3.64 0 0 0-3.24-4 3.22 3.22 0 0 0-.76 0zM8 27H4V17h4zm20-6c0 4.09-2.22 6-7 6H10V16.3l4-5.93.73-5.37.14-1H16c1.44 0 2 .56 2 2v7h8c1.44 0 2 .56 2 2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        ThumbsUp20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        ThumbsUp20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return ThumbsUp20;
    }());
    var ThumbsUp20Module = /** @class */ (function () {
        function ThumbsUp20Module() {
        }
        ThumbsUp20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            ThumbsUp20
                        ],
                        exports: [
                            ThumbsUp20
                        ]
                    },] },
        ];
        return ThumbsUp20Module;
    }());

    exports.ThumbsUp20 = ThumbsUp20;
    exports.ThumbsUp20Module = ThumbsUp20Module;

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

})));
