tahamajs's picture
download
raw
612 Bytes
//#region src/client/env.ts
const context = (() => {
if (typeof globalThis !== "undefined") return globalThis;
else if (typeof self !== "undefined") return self;
else if (typeof window !== "undefined") return window;
else return Function("return this")();
})();
const defines = __DEFINES__;
Object.keys(defines).forEach((key) => {
const segments = key.split(".");
let target = context;
for (let i = 0; i < segments.length; i++) {
const segment = segments[i];
if (i === segments.length - 1) target[segment] = defines[key];
else target = target[segment] || (target[segment] = {});
}
});
//#endregion

Xet Storage Details

Size:
612 Bytes
·
Xet hash:
6aa1813e94950a34a96497e4887281398a7a01e431e2ddc608f998c0b524eb2d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.