Read ModeLaw Library document viewerFayad v Hykal et alPreserved legal sourcePreparing source documentDetecting the document format and preparing the appropriate viewer…