(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 VideoChat20 = /** @class */ (function () {
        function VideoChat20(elementRef) {
            this.elementRef = elementRef;
        }
        VideoChat20.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;
                VideoChat20.titleIdCounter++;
                title.setAttribute("id", "video-chat20-" + VideoChat20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "video-chat20-" + VideoChat20.titleIdCounter);
            }
        };
        VideoChat20.titleIdCounter = 0;
        VideoChat20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-video-chat20",
                        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=\"M8 12h9v2H8zm0 5h5v2H8z\"></path><path d=\"M21 26H4a2.002 2.002 0 0 1-2-2V8a2.002 2.002 0 0 1 2-2h17a2.002 2.002 0 0 1 2 2v4.057l5.419-3.87A1 1 0 0 1 30 9v14a1 1 0 0 1-1.581.814L23 19.944V24a2.002 2.002 0 0 1-2 2zM4 8v16.001L21 24v-6a1 1 0 0 1 1.581-.814L28 21.056V10.944l-5.419 3.87A1 1 0 0 1 21 14V8z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        VideoChat20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        VideoChat20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return VideoChat20;
    }());
    var VideoChat20Module = /** @class */ (function () {
        function VideoChat20Module() {
        }
        VideoChat20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            VideoChat20
                        ],
                        exports: [
                            VideoChat20
                        ]
                    },] },
        ];
        return VideoChat20Module;
    }());

    exports.VideoChat20 = VideoChat20;
    exports.VideoChat20Module = VideoChat20Module;

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

})));
