| 
														
															@@ -150,20 +150,20 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       input.type = "file"; 
														 | 
														
														 | 
														
															       input.type = "file"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // input.accept = ".wav"; 
														 | 
														
														 | 
														
															       // input.accept = ".wav"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // input.accept = "audio/*, .txt, .pdf, .xlsx"; 
														 | 
														
														 | 
														
															       // input.accept = "audio/*, .txt, .pdf, .xlsx"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      input.accept = ".docx,.doc"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      input.accept = ".docx"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       input.click(); 
														 | 
														
														 | 
														
															       input.click(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       input.onchange = async () => { 
														 | 
														
														 | 
														
															       input.onchange = async () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.loading = true; 
														 | 
														
														 | 
														
															         this.loading = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         let file = input.files[0]; 
														 | 
														
														 | 
														
															         let file = input.files[0]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				if(/\.(doc)$/i.test(file.name)){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					let params = convertApi.createParams() 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          params.add('file', file) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					let result = await convertApi.convert('doc', 'docx', params) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          // Get result file URL 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          file = await fetch(result.files[0].Url).then(res => res.blob()).then(blob => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            return new File([blob], result.files[0].FileName, { type: 'application/octet-stream' }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				// if(/\.(doc)$/i.test(file.name)){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				// 	let params = convertApi.createParams() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   params.add('file', file) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				// 	let result = await convertApi.convert('doc', 'docx', params) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   // Get result file URL 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   file = await fetch(result.files[0].Url).then(res => res.blob()).then(blob => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //     return new File([blob], result.files[0].FileName, { type: 'application/octet-stream' }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //   }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				// } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				console.log("file",file) 
														 | 
														
														 | 
														
															 				console.log("file",file) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (!/\.(docx)$/i.test(file.name)) { 
														 | 
														
														 | 
														
															         if (!/\.(docx)$/i.test(file.name)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.loading = false; 
														 | 
														
														 | 
														
															           this.loading = false; 
														 |