(async () => {
    console.log('ModI18N earlyload start');
    window.modSC2DataManager.getSc2EventTracer().addCallback({
        // @ts-ignore
        modName: "ModI18N",
        whenSC2PassageEnd: (passage, content) => {
            var _a, _b;
            // console.log('ModI18N earlyload whenSC2PassageEnd', passage, content);
            if (!((_a = window.modSC2DataManager.getModLoader().getModZip('ModI18N')) === null || _a === void 0 ? void 0 : _a.gcIsReleased())) {
                (_b = window.modSC2DataManager.getModLoader().getModZip('ModI18N')) === null || _b === void 0 ? void 0 : _b.gcReleaseZip();
            }
        },
    });
    await window.modI18N.readZipStream();
})();
//# sourceMappingURL=earlyload.js.map