(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 Shuffle24 = /** @class */ (function () {
        function Shuffle24(elementRef) {
            this.elementRef = elementRef;
        }
        Shuffle24.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;
                Shuffle24.titleIdCounter++;
                title.setAttribute("id", "shuffle24-" + Shuffle24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "shuffle24-" + Shuffle24.titleIdCounter);
            }
        };
        Shuffle24.titleIdCounter = 0;
        Shuffle24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-shuffle24",
                        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=\"M22.59 19.41L26.17 23h-6.62l-4.37-7 4.37-7h6.62l-3.58 3.59L24 14l6-6-6-6-1.41 1.41L26.17 7h-6.62a2 2 0 0 0-1.69.94L14 14.11l-3.86-6.17A2 2 0 0 0 8.45 7H2v2h6.45l4.37 7-4.37 7H2v2h6.45a2 2 0 0 0 1.69-.94L14 17.89l3.86 6.17a2 2 0 0 0 1.69.94h6.62l-3.58 3.59L24 30l6-6-6-6z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Shuffle24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Shuffle24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Shuffle24;
    }());
    var Shuffle24Module = /** @class */ (function () {
        function Shuffle24Module() {
        }
        Shuffle24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Shuffle24
                        ],
                        exports: [
                            Shuffle24
                        ]
                    },] },
        ];
        return Shuffle24Module;
    }());

    exports.Shuffle24 = Shuffle24;
    exports.Shuffle24Module = Shuffle24Module;

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

})));
