"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.firstVis = void 0;
/** Find the first visible chunk, if any. */
const firstVis = (rga) => {
    let curr = rga.first();
    while (curr && curr.del)
        curr = rga.next(curr);
    return curr;
};
exports.firstVis = firstVis;
//# sourceMappingURL=util.js.map