(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 Calibrate24 = /** @class */ (function () {
        function Calibrate24(elementRef) {
            this.elementRef = elementRef;
        }
        Calibrate24.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;
                Calibrate24.titleIdCounter++;
                title.setAttribute("id", "calibrate24-" + Calibrate24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "calibrate24-" + Calibrate24.titleIdCounter);
            }
        };
        Calibrate24.titleIdCounter = 0;
        Calibrate24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-calibrate24",
                        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=\"M28.83 21.17L25 17.37l.67-.67a1 1 0 0 0 0-1.41l-6-6a1 1 0 0 0-1.41 0l-.79.79-6.76-6.79a1 1 0 0 0-1.41 0l-4 4-.12.15-4 6a1 1 0 0 0 .12 1.26l3 3a1 1 0 0 0 1.42 0L10 13.41l2.09 2.09-4.8 4.79a1 1 0 0 0 0 1.41l2 2a1 1 0 0 0 .71.3 1 1 0 0 0 .52-.15l4.33-2.6 2.44 2.45a1 1 0 0 0 1.41 0l.67-.7 3.79 3.83a4 4 0 0 0 5.66-5.66zM10 10.58l-5 5-1.71-1.71 3.49-5.24L10 5.41l6.09 6.09-2.59 2.58zm8 11l-2.84-2.84-5 3-.74-.74L19 11.41 23.59 16zm9.42 3.83a2 2 0 0 1-2.83 0l-3.8-3.79 2.83-2.83 3.8 3.79a2 2 0 0 1 0 2.83z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Calibrate24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Calibrate24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Calibrate24;
    }());
    var Calibrate24Module = /** @class */ (function () {
        function Calibrate24Module() {
        }
        Calibrate24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Calibrate24
                        ],
                        exports: [
                            Calibrate24
                        ]
                    },] },
        ];
        return Calibrate24Module;
    }());

    exports.Calibrate24 = Calibrate24;
    exports.Calibrate24Module = Calibrate24Module;

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

})));
