(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 Loop24 = /** @class */ (function () {
        function Loop24(elementRef) {
            this.elementRef = elementRef;
        }
        Loop24.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;
                Loop24.titleIdCounter++;
                title.setAttribute("id", "loop24-" + Loop24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "loop24-" + Loop24.titleIdCounter);
            }
        };
        Loop24.titleIdCounter = 0;
        Loop24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-loop24",
                        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=\"M23.59 19.41L26 22h-5v2h5l-2.41 2.59L25 28l5-5-5-5-1.41 1.41zM13 6a9 9 0 0 0-7.48 14l1.66-1.11A7 7 0 1 1 13 22H2v2h11a9 9 0 0 0 0-18z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Loop24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Loop24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Loop24;
    }());
    var Loop24Module = /** @class */ (function () {
        function Loop24Module() {
        }
        Loop24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Loop24
                        ],
                        exports: [
                            Loop24
                        ]
                    },] },
        ];
        return Loop24Module;
    }());

    exports.Loop24 = Loop24;
    exports.Loop24Module = Loop24Module;

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

})));
