//#region src/internal/utils/strings.ts
function e(e) {
	let t = new Map([
		[1024 ** 4, "TB"],
		[1024 ** 3, "GB"],
		[1024 ** 2, "MB"],
		[1024 ** 1, "KB"],
		[1, "B"]
	]);
	for (let [n, r] of t.entries()) if (e >= n) return `${(e / n).toFixed(2)} ${r}`;
	return "0";
}
function t(e) {
	let t = e.replace(/^\n|\n$/g, "").search(/\S|$/);
	return e.trim().split("\n").map((e) => e.split("").filter((e, n) => n >= t || e !== " ").join("")).join("\n");
}
var n = "";
n = "https://nvidia.github.io/elements";
//#endregion
export { n as DOCS_URL, e as formatFileSize, t as shiftLeft };

//# sourceMappingURL=strings.js.map