(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 Taxi32 = /** @class */ (function () {
        function Taxi32(elementRef) {
            this.elementRef = elementRef;
        }
        Taxi32.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;
                Taxi32.titleIdCounter++;
                title.setAttribute("id", "taxi32-" + Taxi32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "taxi32-" + Taxi32.titleIdCounter);
            }
        };
        Taxi32.titleIdCounter = 0;
        Taxi32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-taxi32",
                        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=\"M29.39 16.08l-6.69-2.87-2.54-4.34-.08-.12A2 2 0 0 0 18.52 8h-8a2 2 0 0 0-1.67.89L5.46 14H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h2.14a4 4 0 0 0 7.72 0h6.28a4 4 0 0 0 7.72 0H29a1 1 0 0 0 1-1v-7a1 1 0 0 0-.61-.92zM9 26a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm14 0a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm5-3h-1.14a4 4 0 0 0-7.72 0h-6.28a4 4 0 0 0-7.72 0H4v-7h2a1 1 0 0 0 .83-.45L10.54 10h8l2.63 4.5a1 1 0 0 0 .47.42L28 17.66z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Taxi32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Taxi32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Taxi32;
    }());
    var Taxi32Module = /** @class */ (function () {
        function Taxi32Module() {
        }
        Taxi32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Taxi32
                        ],
                        exports: [
                            Taxi32
                        ]
                    },] },
        ];
        return Taxi32Module;
    }());

    exports.Taxi32 = Taxi32;
    exports.Taxi32Module = Taxi32Module;

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

})));
