Legal Element-oriented Modeling with Multi-view Contrastive Learning for Legal Case Retrieval