(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 View20 = /** @class */ (function () {
        function View20(elementRef) {
            this.elementRef = elementRef;
        }
        View20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                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;
                View20.titleIdCounter++;
                title.setAttribute("id", "view20-" + View20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "view20-" + View20.titleIdCounter);
            }
        };
        View20.titleIdCounter = 0;
        View20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-view20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M30.94 15.66A16.69 16.69 0 0 0 16 5 16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68A16.69 16.69 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66 1 1 0 0 0 0-.68zM16 25c-5.3 0-10.9-3.93-12.93-9C5.1 10.93 10.7 7 16 7s10.9 3.93 12.93 9C26.9 21.07 21.3 25 16 25z\"></path><path d=\"M16 10a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10a4 4 0 1 1 4-4 4 4 0 0 1-4 4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        View20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        View20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return View20;
    }());
    var View20Module = /** @class */ (function () {
        function View20Module() {
        }
        View20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            View20
                        ],
                        exports: [
                            View20
                        ]
                    },] },
        ];
        return View20Module;
    }());

    exports.View20 = View20;
    exports.View20Module = View20Module;

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

})));
