(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 Unlink32 = /** @class */ (function () {
        function Unlink32(elementRef) {
            this.elementRef = elementRef;
        }
        Unlink32.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;
                Unlink32.titleIdCounter++;
                title.setAttribute("id", "unlink32-" + Unlink32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "unlink32-" + Unlink32.titleIdCounter);
            }
        };
        Unlink32.titleIdCounter = 0;
        Unlink32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-unlink32",
                        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=\"M3.584 5.002l1.414-1.414 3.416 3.414L7 8.417zm19.997 19.99l1.415-1.414 3.414 3.416-1.414 1.414zM11 2h2v4h-2zm-9 9h4v2H2zm24 8h4v2h-4zm-7 7h2v4h-2zm-2.42-4.93l-3.71 3.72a4 4 0 1 1-5.66-5.66l3.72-3.72L9.51 14 5.8 17.72a6 6 0 0 0-.06 8.54A6 6 0 0 0 10 28a6.07 6.07 0 0 0 4.32-1.8L18 22.49zm-1.17-10.14l3.72-3.72a4 4 0 1 1 5.66 5.66l-3.72 3.72L22.49 18l3.71-3.72a6 6 0 0 0 .06-8.54A6 6 0 0 0 22 4a6.07 6.07 0 0 0-4.32 1.8L14 9.51z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Unlink32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Unlink32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Unlink32;
    }());
    var Unlink32Module = /** @class */ (function () {
        function Unlink32Module() {
        }
        Unlink32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Unlink32
                        ],
                        exports: [
                            Unlink32
                        ]
                    },] },
        ];
        return Unlink32Module;
    }());

    exports.Unlink32 = Unlink32;
    exports.Unlink32Module = Unlink32Module;

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

})));
