(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 Translate24 = /** @class */ (function () {
        function Translate24(elementRef) {
            this.elementRef = elementRef;
        }
        Translate24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                Translate24.titleIdCounter++;
                title.setAttribute("id", "translate24-" + Translate24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "translate24-" + Translate24.titleIdCounter);
            }
        };
        Translate24.titleIdCounter = 0;
        Translate24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-translate24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Translate24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Translate24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Translate24;
    }());
    var Translate24Module = /** @class */ (function () {
        function Translate24Module() {
        }
        Translate24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Translate24
                        ],
                        exports: [
                            Translate24
                        ]
                    },] },
        ];
        return Translate24Module;
    }());

    exports.Translate24 = Translate24;
    exports.Translate24Module = Translate24Module;

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

})));
