(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 View16 = /** @class */ (function () {
        function View16(elementRef) {
            this.elementRef = elementRef;
        }
        View16.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 16,
                height: 16,
                viewBox: "0 0 16 16",
                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;
                View16.titleIdCounter++;
                title.setAttribute("id", "view16-" + View16.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "view16-" + View16.titleIdCounter);
            }
        };
        View16.titleIdCounter = 0;
        View16.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-view16",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M15.5 7.8C14.3 4.7 11.3 2.6 8 2.5 4.7 2.6 1.7 4.7.5 7.8v.3c1.2 3.1 4.1 5.2 7.5 5.3 3.3-.1 6.3-2.2 7.5-5.3v-.3zM8 12.5c-2.7 0-5.4-2-6.5-4.5 1-2.5 3.8-4.5 6.5-4.5s5.4 2 6.5 4.5c-1.1 2.5-3.9 4.5-6.5 4.5z\"></path><path d=\"M8 5C6.3 5 5 6.3 5 8s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        View16.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        View16.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return View16;
    }());
    var View16Module = /** @class */ (function () {
        function View16Module() {
        }
        View16Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            View16
                        ],
                        exports: [
                            View16
                        ]
                    },] },
        ];
        return View16Module;
    }());

    exports.View16 = View16;
    exports.View16Module = View16Module;

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

})));
