(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 Cursor_224 = /** @class */ (function () {
        function Cursor_224(elementRef) {
            this.elementRef = elementRef;
        }
        Cursor_224.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                Cursor_224.titleIdCounter++;
                title.setAttribute("id", "cursor-224-" + Cursor_224.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "cursor-224-" + Cursor_224.titleIdCounter);
            }
        };
        Cursor_224.titleIdCounter = 0;
        Cursor_224.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-cursor-224",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M27.34 12.06l-22-8a1 1 0 0 0-1.28 1.28l8 22A1 1 0 0 0 13 28a1 1 0 0 0 .93-.63l3.84-9.6 9.6-3.84a1 1 0 0 0 0-1.87zm-10.71 4l-.4.16-.16.4L13 24.2 6.67 6.67 24.2 13z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Cursor_224.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Cursor_224.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Cursor_224;
    }());
    var Cursor_224Module = /** @class */ (function () {
        function Cursor_224Module() {
        }
        Cursor_224Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Cursor_224
                        ],
                        exports: [
                            Cursor_224
                        ]
                    },] },
        ];
        return Cursor_224Module;
    }());

    exports.Cursor_224 = Cursor_224;
    exports.Cursor_224Module = Cursor_224Module;

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

})));
