(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 ViewOff32 = /** @class */ (function () {
        function ViewOff32(elementRef) {
            this.elementRef = elementRef;
        }
        ViewOff32.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;
                ViewOff32.titleIdCounter++;
                title.setAttribute("id", "view-off32-" + ViewOff32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "view-off32-" + ViewOff32.titleIdCounter);
            }
        };
        ViewOff32.titleIdCounter = 0;
        ViewOff32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-view-off32",
                        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=\"M5.24 22.51l1.43-1.42A14.06 14.06 0 0 1 3.07 16C5.1 10.93 10.7 7 16 7a12.38 12.38 0 0 1 4 .72l1.55-1.56A14.72 14.72 0 0 0 16 5 16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68 16 16 0 0 0 4.18 6.17z\"></path><path d=\"M12 15.73a4 4 0 0 1 3.7-3.7l1.81-1.82a6 6 0 0 0-7.33 7.33zm18.94-.07a16.4 16.4 0 0 0-5.74-7.44L30 3.41 28.59 2 2 28.59 3.41 30l5.1-5.1A15.29 15.29 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66 1 1 0 0 0 0-.68zM20 16a4 4 0 0 1-6 3.44L19.44 14a4 4 0 0 1 .56 2zm-4 9a13.05 13.05 0 0 1-6-1.58l2.54-2.54a6 6 0 0 0 8.35-8.35l2.87-2.87A14.54 14.54 0 0 1 28.93 16C26.9 21.07 21.3 25 16 25z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        ViewOff32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        ViewOff32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return ViewOff32;
    }());
    var ViewOff32Module = /** @class */ (function () {
        function ViewOff32Module() {
        }
        ViewOff32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            ViewOff32
                        ],
                        exports: [
                            ViewOff32
                        ]
                    },] },
        ];
        return ViewOff32Module;
    }());

    exports.ViewOff32 = ViewOff32;
    exports.ViewOff32Module = ViewOff32Module;

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

})));
