(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 LogoLinkedin32 = /** @class */ (function () {
        function LogoLinkedin32(elementRef) {
            this.elementRef = elementRef;
        }
        LogoLinkedin32.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;
                LogoLinkedin32.titleIdCounter++;
                title.setAttribute("id", "logo-linkedin32-" + LogoLinkedin32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-linkedin32-" + LogoLinkedin32.titleIdCounter);
            }
        };
        LogoLinkedin32.titleIdCounter = 0;
        LogoLinkedin32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-linkedin32",
                        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=\"M26.21 4H5.79A1.78 1.78 0 0 0 4 5.73V26.2a1.77 1.77 0 0 0 1.79 1.73h20.42A1.77 1.77 0 0 0 28 26.2V5.73A1.78 1.78 0 0 0 26.21 4zm-15.1 20.41H7.59V13h3.52zm-1.72-13a2.07 2.07 0 0 1-2.07-2.02 2 2 0 0 1 2.07-2.07 2.07 2.07 0 0 1 0 4.13zm15.09 12.93H21v-5.58c0-1.33 0-3.06-1.86-3.06S17 17.16 17 18.63v5.65h-3.56V13h3.32v1.5h.07a3.72 3.72 0 0 1 3.39-1.86c3.59 0 4.26 2.4 4.26 5.45z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoLinkedin32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoLinkedin32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoLinkedin32;
    }());
    var LogoLinkedin32Module = /** @class */ (function () {
        function LogoLinkedin32Module() {
        }
        LogoLinkedin32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoLinkedin32
                        ],
                        exports: [
                            LogoLinkedin32
                        ]
                    },] },
        ];
        return LogoLinkedin32Module;
    }());

    exports.LogoLinkedin32 = LogoLinkedin32;
    exports.LogoLinkedin32Module = LogoLinkedin32Module;

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

})));
