"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var index_1 = require("../../../index");
var index_2 = require("./index");
var PDFNonTerminalField = /** @class */ (function (_super) {
    tslib_1.__extends(PDFNonTerminalField, _super);
    function PDFNonTerminalField(dict) {
        return _super.call(this, dict) || this;
    }
    PDFNonTerminalField.fromDict = function (dict) {
        return new PDFNonTerminalField(dict);
    };
    PDFNonTerminalField.prototype.getKids = function () {
        var _a, _b;
        var kidDicts = (_a = this.Kids()) === null || _a === void 0 ? void 0 : _a.lookupElements(index_1.PDFDict);
        return (_b = kidDicts) === null || _b === void 0 ? void 0 : _b.map(function (childDict) { return index_2.PDFAcroField.fromDict(childDict); });
    };
    return PDFNonTerminalField;
}(index_2.PDFAcroField));
exports.default = PDFNonTerminalField;
//# sourceMappingURL=PDFNonTerminalField.js.map