(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 TextTracking32 = /** @class */ (function () {
        function TextTracking32(elementRef) {
            this.elementRef = elementRef;
        }
        TextTracking32.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;
                TextTracking32.titleIdCounter++;
                title.setAttribute("id", "text-tracking32-" + TextTracking32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "text-tracking32-" + TextTracking32.titleIdCounter);
            }
        };
        TextTracking32.titleIdCounter = 0;
        TextTracking32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-text-tracking32",
                        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=\"M25.29 19.29l-1.41 1.42L26.17 23H5.83l2.29-2.29-1.41-1.42L2 24l4.71 4.71 1.41-1.42L5.83 25h20.34l-2.29 2.29 1.41 1.42L30 24l-4.71-4.71zM26 17h2L23 3h-2l-5 14h2l1-3h6zm-6.33-5L22 5l2.33 7zM14 3l-4 12L6 3H4l5 14h2l5-14h-2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        TextTracking32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        TextTracking32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return TextTracking32;
    }());
    var TextTracking32Module = /** @class */ (function () {
        function TextTracking32Module() {
        }
        TextTracking32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            TextTracking32
                        ],
                        exports: [
                            TextTracking32
                        ]
                    },] },
        ];
        return TextTracking32Module;
    }());

    exports.TextTracking32 = TextTracking32;
    exports.TextTracking32Module = TextTracking32Module;

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

})));
