(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 VideoOff20 = /** @class */ (function () {
        function VideoOff20(elementRef) {
            this.elementRef = elementRef;
        }
        VideoOff20.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;
                VideoOff20.titleIdCounter++;
                title.setAttribute("id", "video-off20-" + VideoOff20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "video-off20-" + VideoOff20.titleIdCounter);
            }
        };
        VideoOff20.titleIdCounter = 0;
        VideoOff20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-video-off20",
                        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=\"M29.46 8.11a1 1 0 0 0-1 .08L23 12.06v-1.62l7-7L28.56 2 2 28.56 3.44 30l4-4H21a2 2 0 0 0 2-2v-4.06l5.42 3.87A1 1 0 0 0 30 23V9a1 1 0 0 0-.54-.89zM28 21.06l-5.42-3.87A1 1 0 0 0 21 18v6H9.44L21 12.44V14a1 1 0 0 0 1.58.81L28 10.94zM4 24V8h16V6H4a2 2 0 0 0-2 2v16z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        VideoOff20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        VideoOff20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return VideoOff20;
    }());
    var VideoOff20Module = /** @class */ (function () {
        function VideoOff20Module() {
        }
        VideoOff20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            VideoOff20
                        ],
                        exports: [
                            VideoOff20
                        ]
                    },] },
        ];
        return VideoOff20Module;
    }());

    exports.VideoOff20 = VideoOff20;
    exports.VideoOff20Module = VideoOff20Module;

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

})));
