(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 LogoTumblr24 = /** @class */ (function () {
        function LogoTumblr24(elementRef) {
            this.elementRef = elementRef;
        }
        LogoTumblr24.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;
                LogoTumblr24.titleIdCounter++;
                title.setAttribute("id", "logo-tumblr24-" + LogoTumblr24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-tumblr24-" + LogoTumblr24.titleIdCounter);
            }
        };
        LogoTumblr24.titleIdCounter = 0;
        LogoTumblr24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-tumblr24",
                        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=\"M22.6 28h-4c-3.59 0-6.3-1.86-6.3-6.3v-7.12H9v-3.86A7.17 7.17 0 0 0 14.3 4h3.76v6.12h4.36v4.46h-4.36v6.2c0 1.86.94 2.49 2.42 2.49h2.12z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoTumblr24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoTumblr24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoTumblr24;
    }());
    var LogoTumblr24Module = /** @class */ (function () {
        function LogoTumblr24Module() {
        }
        LogoTumblr24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoTumblr24
                        ],
                        exports: [
                            LogoTumblr24
                        ]
                    },] },
        ];
        return LogoTumblr24Module;
    }());

    exports.LogoTumblr24 = LogoTumblr24;
    exports.LogoTumblr24Module = LogoTumblr24Module;

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

})));
