(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 Finance24 = /** @class */ (function () {
        function Finance24(elementRef) {
            this.elementRef = elementRef;
        }
        Finance24.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;
                Finance24.titleIdCounter++;
                title.setAttribute("id", "finance24-" + Finance24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "finance24-" + Finance24.titleIdCounter);
            }
        };
        Finance24.titleIdCounter = 0;
        Finance24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-finance24",
                        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=\"M2 28h28v2H2zm25-17a1 1 0 0 0 1-1V7a1 1 0 0 0-.66-.94l-11-4a1 1 0 0 0-.68 0l-11 4A1 1 0 0 0 4 7v3a1 1 0 0 0 1 1h1v13H4v2h24v-2h-2V11zM6 7.7l10-3.64L26 7.7V9H6zM18 24h-4V11h4zM8 11h4v13H8zm16 13h-4V11h4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Finance24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Finance24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Finance24;
    }());
    var Finance24Module = /** @class */ (function () {
        function Finance24Module() {
        }
        Finance24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Finance24
                        ],
                        exports: [
                            Finance24
                        ]
                    },] },
        ];
        return Finance24Module;
    }());

    exports.Finance24 = Finance24;
    exports.Finance24Module = Finance24Module;

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

})));
