(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 NotebookReference24 = /** @class */ (function () {
        function NotebookReference24(elementRef) {
            this.elementRef = elementRef;
        }
        NotebookReference24.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;
                NotebookReference24.titleIdCounter++;
                title.setAttribute("id", "notebook-reference24-" + NotebookReference24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "notebook-reference24-" + NotebookReference24.titleIdCounter);
            }
        };
        NotebookReference24.titleIdCounter = 0;
        NotebookReference24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-notebook-reference24",
                        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=\"M4 20v2h3.586L2 27.586 3.414 29 9 23.414V27h2v-7H4zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z\"></path><path d=\"M28 5H4a2.002 2.002 0 0 0-2 2v10h2V7h11v20h13a2.002 2.002 0 0 0 2-2V7a2.002 2.002 0 0 0-2-2zM17 25V7h11l.002 18z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        NotebookReference24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        NotebookReference24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return NotebookReference24;
    }());
    var NotebookReference24Module = /** @class */ (function () {
        function NotebookReference24Module() {
        }
        NotebookReference24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            NotebookReference24
                        ],
                        exports: [
                            NotebookReference24
                        ]
                    },] },
        ];
        return NotebookReference24Module;
    }());

    exports.NotebookReference24 = NotebookReference24;
    exports.NotebookReference24Module = NotebookReference24Module;

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

})));
