Read ModeLaw Library document viewerChilds et al v StatesPreserved legal sourcePreparing source documentDetecting the document format and preparing the appropriate viewer…