Higher structures of embeddings of varieties