(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 WatsonHealthPageScroll32 = /** @class */ (function () {
        function WatsonHealthPageScroll32(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthPageScroll32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                WatsonHealthPageScroll32.titleIdCounter++;
                title.setAttribute("id", "watson-health-page-scroll32-" + WatsonHealthPageScroll32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-page-scroll32-" + WatsonHealthPageScroll32.titleIdCounter);
            }
        };
        WatsonHealthPageScroll32.titleIdCounter = 0;
        WatsonHealthPageScroll32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-page-scroll32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M16 28H4a1.89 1.89 0 0 1-2-2V14a1.89 1.89 0 0 1 2-2h12a1.89 1.89 0 0 1 2 2v12a1.89 1.89 0 0 1-2 2zM4 14v12h12V14z\"></path><path d=\"M22 19h-2v-9H10V8h10a1.89 1.89 0 0 1 2 2z\"></path><path d=\"M26 14h-2V6h-8V4h8a1.89 1.89 0 0 1 2 2zm-2 3v2h2.8L22 24.4V22h-2v6h6v-2h-2.8l4.8-5.4V23h2v-6h-6z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthPageScroll32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthPageScroll32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthPageScroll32;
    }());
    var WatsonHealthPageScroll32Module = /** @class */ (function () {
        function WatsonHealthPageScroll32Module() {
        }
        WatsonHealthPageScroll32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthPageScroll32
                        ],
                        exports: [
                            WatsonHealthPageScroll32
                        ]
                    },] },
        ];
        return WatsonHealthPageScroll32Module;
    }());

    exports.WatsonHealthPageScroll32 = WatsonHealthPageScroll32;
    exports.WatsonHealthPageScroll32Module = WatsonHealthPageScroll32Module;

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

})));
