taxonium-component
Version:
React component for exploring large phylogenetic trees in the browser
25 lines (24 loc) • 696 B
JavaScript
import { aX as y } from "./JBrowsePanel-BNE3gNW1.js";
var i = {}, a;
function h() {
if (a) return i;
a = 1, Object.defineProperty(i, "__esModule", { value: !0 }), i.parseLineByLine = c;
const l = y();
function c(e, d, L = () => {
}) {
const u = new TextDecoder("utf8");
let n = 0, t = 0;
for (; n < e.length; ) {
const r = e.indexOf(10, n), o = r === -1 ? e.length : r, p = e.subarray(n, o), s = u.decode(p).trim();
if (s && d(s, t) === !1)
break;
t++ % 1e4 === 0 && L(`Loading ${(0, l.getProgressDisplayStr)(n, e.length)}`), n = o + 1;
}
}
return i;
}
var x = h();
export {
x as p
};
//# sourceMappingURL=parseLineByLine-u4wRqQjK.js.map