areModulesAvailable = (chunkGroup, availableModules) => {
		for (const chunk of chunkGroup.chunks) {
			const chunkMask = /** @type {bigint} */ (maskByChunk.get(chunk));
			if ((chunkMask & availableModules) !== chunkMask) return false;
		}
		return true;
	}
Helper function to check if all modules of a chunk are available
@param {ChunkGroup} chunkGroup the chunkGroup to scan
@param {bigint} availableModules the comparator set
@returns {boolean} return true if all modules of a chunk are available