(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 WatsonHealthCdCreateArchive20 = /** @class */ (function () {
        function WatsonHealthCdCreateArchive20(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthCdCreateArchive20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                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;
                WatsonHealthCdCreateArchive20.titleIdCounter++;
                title.setAttribute("id", "watson-health-cd-create-archive20-" + WatsonHealthCdCreateArchive20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-cd-create-archive20-" + WatsonHealthCdCreateArchive20.titleIdCounter);
            }
        };
        WatsonHealthCdCreateArchive20.titleIdCounter = 0;
        WatsonHealthCdCreateArchive20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-cd-create-archive20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M14 20a6 6 0 1 1 6-6 6 6 0 0 1-6 6zm0-10a4 4 0 1 0 4 4 4 4 0 0 0-4-4z\"></path><circle cx=\"14\" cy=\"14\" r=\"2\"></circle><path d=\"M17 23.54A10 10 0 1 1 24 14c0 .34 0 .67-.05 1h2c0-.33.05-.66.05-1a12 12 0 1 0-12 12 12.33 12.33 0 0 0 3-.39z\"></path><path d=\"M25 30l-2.14-1A5 5 0 0 1 20 24.47V18h10v6.47A5 5 0 0 1 27.14 29zm-3-10v4.47a3 3 0 0 0 1.72 2.71l1.28.61 1.28-.61A3 3 0 0 0 28 24.47V20z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthCdCreateArchive20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthCdCreateArchive20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthCdCreateArchive20;
    }());
    var WatsonHealthCdCreateArchive20Module = /** @class */ (function () {
        function WatsonHealthCdCreateArchive20Module() {
        }
        WatsonHealthCdCreateArchive20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthCdCreateArchive20
                        ],
                        exports: [
                            WatsonHealthCdCreateArchive20
                        ]
                    },] },
        ];
        return WatsonHealthCdCreateArchive20Module;
    }());

    exports.WatsonHealthCdCreateArchive20 = WatsonHealthCdCreateArchive20;
    exports.WatsonHealthCdCreateArchive20Module = WatsonHealthCdCreateArchive20Module;

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

})));
