getChunkConditionMap(chunk, filterFn) {
		const map = Object.create(null);
		for (const c of chunk.getAllReferencedChunks()) {
			map[/** @type {ChunkId} */ (c.id)] = filterFn(c, this);
		}
		return map;
	}
@param {Chunk} chunk the chunk
@param {ChunkFilterPredicate} filterFn function used to filter chunks
@returns {Record<string|number, boolean>} chunk map