-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 43 KB
/
.eslintcache
1
[{"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\index.js":"1","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\App.js":"2","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\registerServiceWorker.js":"3","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Header.js":"4","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Footer.js":"5","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\About.js":"6","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Resume.js":"7","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Testimonials.js":"8","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Portfolio.js":"9","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Contact.js":"10","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\ContactForm.js":"11","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Home.js":"12","E:\\FindYou\\src\\index.js":"13","E:\\FindYou\\src\\registerServiceWorker.js":"14","E:\\FindYou\\src\\App.js":"15","E:\\FindYou\\src\\Components\\Footer.js":"16","E:\\FindYou\\src\\Components\\Landing\\Header.js":"17","E:\\FindYou\\src\\Components\\Landing\\About.js":"18","E:\\FindYou\\src\\Components\\Landing\\Contact.js":"19","E:\\FindYou\\src\\api\\face.js":"20","E:\\FindYou\\src\\Components\\Landing\\Trivia.js":"21","E:\\FindYou\\src\\Components\\Report\\Report.js":"22","E:\\FindYou\\src\\Components\\Report\\ReportNav.js":"23","E:\\FindYou\\src\\Components\\Home.js":"24","E:\\FindYou\\src\\Components\\FindMissing\\VideoDetect.js":"25","E:\\FindYou\\src\\Components\\FindMissing\\UploadImage.js":"26","E:\\FindYou\\src\\Components\\FindMissing\\Imagedetect.js":"27","E:\\FindYou\\src\\Components\\FindMissing\\Navigation.js":"28","D:\\workspace\\Engage\\final\\FindYou\\src\\index.js":"29","D:\\workspace\\Engage\\final\\FindYou\\src\\App.js":"30","D:\\workspace\\Engage\\final\\FindYou\\src\\registerServiceWorker.js":"31","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Footer.js":"32","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Home.js":"33","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\UploadImage.js":"34","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Report\\Report.js":"35","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\VideoDetect.js":"36","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\Navigation.js":"37","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\Imagedetect.js":"38","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Report\\ReportNav.js":"39","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\About.js":"40","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\Contact.js":"41","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\Header.js":"42","D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\Trivia.js":"43","D:\\workspace\\Engage\\final\\FindYou\\src\\api\\face.js":"44"},{"size":431,"mtime":1652640417713,"results":"45","hashOfConfig":"46"},{"size":1427,"mtime":1652641132020,"results":"47","hashOfConfig":"46"},{"size":4129,"mtime":1652458975445,"results":"48","hashOfConfig":"46"},{"size":1784,"mtime":1652628247195,"results":"49","hashOfConfig":"46"},{"size":690,"mtime":1652625953015,"results":"50","hashOfConfig":"46"},{"size":2510,"mtime":1652625873217,"results":"51","hashOfConfig":"46"},{"size":2288,"mtime":1652458975443,"results":"52","hashOfConfig":"46"},{"size":826,"mtime":1652625301010,"results":"53","hashOfConfig":"46"},{"size":1300,"mtime":1652458975443,"results":"54","hashOfConfig":"46"},{"size":4124,"mtime":1652641372575,"results":"55","hashOfConfig":"46"},{"size":7625,"mtime":1652608256829,"results":"56","hashOfConfig":"46"},{"size":403,"mtime":1652640889167,"results":"57","hashOfConfig":"46"},{"size":427,"mtime":1652787520748,"results":"58","hashOfConfig":"59"},{"size":4129,"mtime":1652458975445,"results":"60","hashOfConfig":"59"},{"size":1215,"mtime":1653488797491,"results":"61","hashOfConfig":"59"},{"size":697,"mtime":1652805816437,"results":"62","hashOfConfig":"59"},{"size":2029,"mtime":1653657886143,"results":"63","hashOfConfig":"59"},{"size":2304,"mtime":1653225746732,"results":"64","hashOfConfig":"59"},{"size":4371,"mtime":1653665228403,"results":"65","hashOfConfig":"59"},{"size":1812,"mtime":1652972787905,"results":"66","hashOfConfig":"59"},{"size":1485,"mtime":1653226828874,"results":"67","hashOfConfig":"59"},{"size":9272,"mtime":1653489176099,"results":"68","hashOfConfig":"59"},{"size":849,"mtime":1653488482641,"results":"69","hashOfConfig":"59"},{"size":692,"mtime":1653226212499,"results":"70","hashOfConfig":"59"},{"size":12736,"mtime":1653664389508,"results":"71","hashOfConfig":"59"},{"size":2283,"mtime":1653640397760,"results":"72","hashOfConfig":"59"},{"size":7846,"mtime":1653640318504,"results":"73","hashOfConfig":"59"},{"size":1034,"mtime":1653640307994,"results":"74","hashOfConfig":"59"},{"size":427,"mtime":1653725170712,"results":"75","hashOfConfig":"76"},{"size":919,"mtime":1653729642589,"results":"77","hashOfConfig":"76"},{"size":4129,"mtime":1653725170712,"results":"78","hashOfConfig":"76"},{"size":697,"mtime":1653725170705,"results":"79","hashOfConfig":"76"},{"size":661,"mtime":1653727995412,"results":"80","hashOfConfig":"76"},{"size":2283,"mtime":1653725170705,"results":"81","hashOfConfig":"76"},{"size":7286,"mtime":1653730846671,"results":"82","hashOfConfig":"76"},{"size":12443,"mtime":1653728133562,"results":"83","hashOfConfig":"76"},{"size":1034,"mtime":1653725170705,"results":"84","hashOfConfig":"76"},{"size":7847,"mtime":1653727973535,"results":"85","hashOfConfig":"76"},{"size":849,"mtime":1653725170707,"results":"86","hashOfConfig":"76"},{"size":2304,"mtime":1653725170706,"results":"87","hashOfConfig":"76"},{"size":4322,"mtime":1653726383037,"results":"88","hashOfConfig":"76"},{"size":2029,"mtime":1653725170706,"results":"89","hashOfConfig":"76"},{"size":1485,"mtime":1653725170707,"results":"90","hashOfConfig":"76"},{"size":1812,"mtime":1653725170708,"results":"91","hashOfConfig":"76"},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1ygwh13",{"filePath":"94","messages":"95","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"98"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"98"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"98"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"105","usedDeprecatedRules":"98"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"98"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"98"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"98"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"114","messages":"115","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"116","usedDeprecatedRules":"98"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},"2exaxf",{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"128","messages":"129","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"130","usedDeprecatedRules":"121"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"137","messages":"138","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"139","usedDeprecatedRules":"121"},{"filePath":"140","messages":"141","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"144","messages":"145","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"146","usedDeprecatedRules":"121"},{"filePath":"147","messages":"148","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"151","messages":"152","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"153","usedDeprecatedRules":"121"},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"121"},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},"nl17dv",{"filePath":"159","messages":"160","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"163","messages":"164","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"165","messages":"166","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"167","messages":"168","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"169","messages":"170","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"171","messages":"172","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"173","messages":"174","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"175","messages":"176","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"177","messages":"178","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"179","messages":"180","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"181","messages":"182","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},{"filePath":"183","messages":"184","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"130","usedDeprecatedRules":"158"},{"filePath":"185","messages":"186","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"139","usedDeprecatedRules":"158"},{"filePath":"187","messages":"188","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"158"},"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\index.js",[],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\App.js",["189","190","191","192","193","194","195","196"],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\registerServiceWorker.js",[],["197","198"],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Header.js",[],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Footer.js",[],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\About.js",["199","200"],"import React from \"react\";\r\n\r\n\r\nconst About = ({ data }) => {\r\n // const profilepic=process.env.PUBLIC_URL + \"/images/logo.jpg\";\r\n // if (data) {\r\n // var name = data.name;\r\n // var profilepic = \"images/\" + data.image;\r\n // var bio = data.bio;\r\n // var street = data.address.street;\r\n // var city = data.address.city;\r\n // var state = data.address.state;\r\n // var zip = data.address.zip;\r\n // var phone = data.phone;\r\n // var email = data.email;\r\n // var resumeDownload = data.resumedownload;\r\n // }\r\n var profilepic = process.env.PUBLIC_URL + \"/images/logo.jpg\";\r\n return (\r\n <section id=\"about\">\r\n <div className=\"row\">\r\n <div className=\"three columns\">\r\n <img\r\n className=\"profile-pic\"\r\n src={profilepic}\r\n alt=\"Missing Finder\"\r\n />\r\n </div>\r\n <div className=\"nine columns main-col\">\r\n <h2 >What is FindYou ?</h2>\r\n\r\n <p>FindYou is a people search engine site that helps you to discover people most important and relevant to your life.<br />\r\n {/* <p>With the help of Facial Recognition we seek to provide the details of the missing one if found in our database.<br /> */}\r\n Entering details of the person like height, age, etc is a lengthy process and the search output is not efficient.<br />\r\n\r\n So to avoid this ambiguity we use image processing technique here, a person can upload a picture or show the video of whose information is to be known.\r\n\r\n <br /> This Image will be mapped or compared with the images in the database and case details status etc can be displayed.\r\n\r\n <br />The time efficiency is more and output is also efficient.</p>\r\n\r\n <div className=\"row\">\r\n\r\n <div className=\" columns download\">\r\n <p>\r\n <a className=\"button\">\r\n <i className=\"fa fa-upload\"></i>Upload Image\r\n </a>\r\n </p>\r\n\r\n </div>\r\n <div className=\"columns download\">\r\n <p>\r\n <a className=\"button\">\r\n {/* <i className=\"fa fa-camera-web\"></i>Open Webcam */}\r\n <i className=\"fa fa-camera-retro\"></i>Open Webcam\r\n {/* <i className=\"fa-solid fa-camera-web\">Open Webcam</i> */}\r\n </a>\r\n </p>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n );\r\n};\r\n\r\nexport default About;\r\n","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Resume.js",[],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Testimonials.js",[],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Portfolio.js",[],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\Contact.js",["201"],"D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Components\\ContactForm.js",["202","203","204","205","206","207"],"import React from \"react\";\r\nimport { useForm } from 'react-hook-form';\r\n// import emailjs from 'emailjs-com';\r\n// import { ToastContainer, toast } from 'react-toastify';\r\n// import 'react-toastify/dist/ReactToastify.min.css';\r\n// import 'bootstrap/dist/css/bootstrap.min.css';\r\n\r\nconst ContactForm = () => {\r\n const [name, setName] = React.useState(\"\");\r\n const [email, setEmail] = React.useState(\"\");\r\n const [subject, setSubject] = React.useState(\"\");\r\n const [message, setMessage] = React.useState(\"\");\r\n const {\r\n register,\r\n handleSubmit,\r\n reset,\r\n formState: { errors }\r\n } = useForm();\r\n\r\n // Function that displays a success toast on bottom right of the page when form submission is successful\r\n // const toastifySuccess = () => {\r\n // toast('Form sent!', {\r\n // position: 'bottom-right',\r\n // autoClose: 5000,\r\n // hideProgressBar: true,\r\n // closeOnClick: true,\r\n // pauseOnHover: true,\r\n // draggable: false,\r\n // className: 'submit-feedback success',\r\n // toastId: 'notifyToast'\r\n // });\r\n // };\r\n\r\n // Function called on submit that uses emailjs to send email of valid contact form\r\n // const onSubmit = async (data) => {\r\n // // Destrcture data object\r\n // const { name, email, subject, message } = data;\r\n // try {\r\n // const templateParams = {\r\n // name,\r\n // email,\r\n // subject,\r\n // message\r\n // };\r\n\r\n // await emailjs.send(\r\n // process.env.REACT_APP_SERVICE_ID,\r\n // process.env.REACT_APP_TEMPLATE_ID,\r\n // templateParams,\r\n // process.env.REACT_APP_USER_ID\r\n // );\r\n\r\n // reset();\r\n // toastifySuccess();\r\n // } catch (e) {\r\n // console.log(e);\r\n // }\r\n // };\r\n\r\n const onSubmit = () => {\r\n window.open(\r\n `mailto:'[email protected]'?subject=${encodeURIComponent(\r\n subject\r\n )}&body=${encodeURIComponent(name)} (${encodeURIComponent(\r\n email\r\n )}): ${encodeURIComponent(message)}`\r\n );\r\n };\r\n return (\r\n <div className='ContactForm'>\r\n <div className='container'>\r\n <div className='row'>\r\n <div className='col-12 text-center'>\r\n <div className='contactForm'>\r\n <form id='contact-form' onSubmit={handleSubmit(onSubmit)} noValidate>\r\n {/* Row 1 of form */}\r\n <div className='row formRow'>\r\n <div className='col-6'>\r\n <input\r\n type='text'\r\n name='name'\r\n {...register('name', {\r\n required: { value: true, message: 'Please enter your name' },\r\n maxLength: {\r\n value: 30,\r\n message: 'Please use 30 characters or less'\r\n }\r\n })}\r\n className='form-control formInput'\r\n placeholder='Name'\r\n ></input>\r\n {/* {errors.name && <span className='errorMessage'>{errors.name.message}</span>} */}\r\n </div>\r\n <div className='col-6'>\r\n <input\r\n type='email'\r\n name='email'\r\n {...register('email', {\r\n required: true,\r\n pattern: /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/\r\n })}\r\n className='form-control formInput'\r\n placeholder='Email address'\r\n ></input>\r\n {/* {errors.email && (\r\n <span className='errorMessage'>Please enter a valid email address</span>\r\n )} */}\r\n </div>\r\n </div>\r\n {/* Row 2 of form */}\r\n <div className='row formRow'>\r\n <div className='col'>\r\n <input\r\n type='text'\r\n name='subject'\r\n {...register('subject', {\r\n required: { value: true, message: 'Please enter a subject' },\r\n maxLength: {\r\n value: 75,\r\n message: 'Subject cannot exceed 75 characters'\r\n }\r\n })}\r\n className='form-control formInput'\r\n placeholder='Subject'\r\n ></input>\r\n {/* {errors.subject && (\r\n <span className='errorMessage'>{errors.subject.message}</span>\r\n )} */}\r\n </div>\r\n </div>\r\n {/* Row 3 of form */}\r\n <div className='row formRow'>\r\n <div className='col'>\r\n <textarea\r\n rows={3}\r\n name='message'\r\n {...register('message', {\r\n required: true\r\n })}\r\n className='form-control formInput'\r\n placeholder='Message'\r\n ></textarea>\r\n {/* {errors.message && <span className='errorMessage'>Please enter a message</span>} */}\r\n </div>\r\n </div>\r\n <button className='submit-btn' type='submit'>\r\n Submit\r\n </button>\r\n </form>\r\n </div>\r\n {/* <ToastContainer /> */}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nexport default ContactForm;","D:\\react\\fun\\Resume-Portfolio-Starter-pack\\src\\Home.js",[],"E:\\FindYou\\src\\index.js",[],["208","209"],"E:\\FindYou\\src\\registerServiceWorker.js",[],"E:\\FindYou\\src\\App.js",[],"E:\\FindYou\\src\\Components\\Footer.js",[],"E:\\FindYou\\src\\Components\\Landing\\Header.js",["210"],"import React from \"react\";\r\nimport TypeWriter from \"react-typewriter\";\r\n\r\nconst Header = () => {\r\n\r\n\r\n return (\r\n <header id=\"home\">\r\n <nav id=\"nav-wrap\">\r\n <a className=\"mobile-btn\" href=\"#nav-wrap\" title=\"Show navigation\">\r\n Show navigation\r\n </a>\r\n <a className=\"mobile-btn\" href=\"#home\" title=\"Hide navigation\">\r\n Hide navigation\r\n </a>\r\n\r\n <ul id=\"nav\" className=\"nav\">\r\n <a className=\"logoname\">FINDYOU</a>\r\n\r\n <li className=\"current\">\r\n\r\n <a className=\"smoothscroll\" href=\"#home\">\r\n Home\r\n </a>\r\n </li>\r\n <li>\r\n <a className=\"smoothscroll\" href=\"#about\">\r\n About\r\n </a>\r\n </li>\r\n\r\n\r\n <li>\r\n <a className=\"smoothscroll\" href=\"#contact\">\r\n Contact\r\n </a>\r\n </li>\r\n </ul>\r\n </nav>\r\n\r\n <div className=\"row banner\">\r\n <div className=\"banner-text columns\">\r\n <h1 className=\"responsive-headline\" style={{ 'font-size': 60 }}>\r\n <TypeWriter typing={0.5} >People Search made easy...</TypeWriter>\r\n </h1>\r\n <h3>\r\n We help you to find lost friends and family.\r\n </h3>\r\n <hr />\r\n\r\n <a className=\" smoothscroll button\" href=\"#about\">\r\n {/* <i className=\"fa fa-upload\"></i> */}\r\n <i className=\"fa-lg fa-solid fa-users-viewfinder\"></i>\r\n \r\n Find Missing\r\n </a>\r\n \r\n \r\n \r\n <a className=\" res button\" href=\"/report\">\r\n <i className=\"fa-lg fa-solid fa-triangle-exclamation\"></i>\r\n \r\n Report Missing\r\n </a>\r\n </div>\r\n </div>\r\n\r\n <p className=\"scrolldown\">\r\n <a className=\"smoothscroll\" href=\"#about\">\r\n <i className=\"icon-down-circle\"></i>\r\n </a>\r\n </p>\r\n </header>\r\n );\r\n};\r\n\r\nexport default Header;\r\n","E:\\FindYou\\src\\Components\\Landing\\About.js",[],"E:\\FindYou\\src\\Components\\Landing\\Contact.js",["211","212"],"E:\\FindYou\\src\\api\\face.js",[],"E:\\FindYou\\src\\Components\\Landing\\Trivia.js",["213"],"import React from \"react\";\r\n\r\n\r\nconst Trivia = () => {\r\n const [fact, setFact] = React.useState([\"A deeply disturbing fact about India’s missing children is that while on an average 174 children go missing every day, half of them remain untraceable.\", \"Every month, 64,851 children, women and men go missing.\", \"Every day, 2,130 children, women and men go missing.\", \"Every hour, an average of 12 children go missing across India. \", \" On average, a child goes missing every 10 minutes in India\", \"In 2019, NCRB data revealed that 4,22,439 women and 2,70,433 men were reported missing in India.\"])\r\n\r\n return (\r\n <section id=\"testimonials\">\r\n <div className=\"text-container\">\r\n <div className=\"row\">\r\n <div className=\"two columns header-col\">\r\n <h1>\r\n <span>Trivia</span>\r\n </h1>\r\n </div>\r\n\r\n <div className=\"ten columns flex-container\">\r\n <ul className=\"slides\">\r\n <li>\r\n <blockquote>\r\n {/* <p>A deeply disturbing fact about India’s missing children is that while on an average 174 children go missing every day, half of them remain untraceable.</p> */}\r\n {/* get random fact */}\r\n <p>{fact[Math.floor(Math.random() * fact.length)]}</p>\r\n </blockquote>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n );\r\n};\r\n\r\nexport default Trivia;\r\n","E:\\FindYou\\src\\Components\\Report\\Report.js",[],"E:\\FindYou\\src\\Components\\Report\\ReportNav.js",[],"E:\\FindYou\\src\\Components\\Home.js",["214"],"import React from 'react'\r\nimport Footer from './Footer'\r\nimport About from './Landing/About'\r\nimport Contact from './Landing/Contact'\r\nimport Header from './Landing/Header'\r\nimport Trivia from './Landing/Trivia'\r\n// import Testimonials from './Landing/Trivia'\r\n\r\n\r\nconst Home = () => {\r\n return (\r\n <>\r\n <Header />\r\n <About />\r\n <Trivia />\r\n <Contact />\r\n {/* <Footer /> */}\r\n <div id=\"go-top\">\r\n <a className=\"smoothscroll\" title=\"Back to Top\" href=\"#home\">\r\n <i className=\"icon-up-open\"></i>\r\n </a>\r\n </div>\r\n </>\r\n )\r\n}\r\n\r\nexport default Home","E:\\FindYou\\src\\Components\\FindMissing\\VideoDetect.js",[],"E:\\FindYou\\src\\Components\\FindMissing\\UploadImage.js",[],"E:\\FindYou\\src\\Components\\FindMissing\\Imagedetect.js",["215"],"import { useEffect, useRef, useState } from \"react\";\r\nimport * as faceapi from \"face-api.js\";\r\nimport { createMatcher } from '../../api/face';\r\nimport Navigation from \"./Navigation\";\r\nimport './Demo.css';\r\nimport './Loading.css';\r\nconst JSON_PROFILE = require('../../descriptors/bnk48.json');\r\n\r\nconst Imagedetect = ({ image }) => {\r\n const { url } = image;\r\n const [friends, setFriends] = useState(null);\r\n const [date, setDate] = useState(null);\r\n const [location, setLocation] = useState(null);\r\n const [birthmark, setBirthmark] = useState(null);\r\n const imgRef = useRef();\r\n const canvasRef = useRef();\r\n const width = 400;\r\n const height = 400;\r\n const [age, setAge] = useState(null);\r\n const [gender, setGender] = useState(null);\r\n useEffect(() => {\r\n // fetch faceapi models\r\n const MODEL_URI = process.env.PUBLIC_URL + '/models'\r\n setTimeout(async () => {\r\n\r\n const loadModels = () => {\r\n Promise.all([\r\n faceapi.nets.ssdMobilenetv1.loadFromUri(MODEL_URI),\r\n faceapi.nets.tinyFaceDetector.loadFromUri(MODEL_URI),\r\n faceapi.nets.faceLandmark68Net.loadFromUri(MODEL_URI),\r\n faceapi.nets.faceExpressionNet.loadFromUri(MODEL_URI),\r\n faceapi.nets.faceRecognitionNet.loadFromUri(MODEL_URI),\r\n faceapi.nets.ageGenderNet.loadFromUri(MODEL_URI)\r\n ])\r\n .then(async () => {\r\n await handleImage()\r\n })\r\n .catch((e) => console.log(e));\r\n\r\n };\r\n\r\n\r\n imgRef && loadModels();\r\n\r\n }, 1000);\r\n\r\n }, [url]);\r\n\r\n const handleImage = async () => {\r\n // console.log('Running...');\r\n\r\n //detecting face\r\n var detections = await faceapi.detectAllFaces(\r\n imgRef.current,\r\n new faceapi.SsdMobilenetv1Options()\r\n ).withFaceLandmarks().withFaceExpressions().withFaceDescriptors().withAgeAndGender()\r\n // var obj = JSON.parse(JSON.stringify(detections[0].descriptor));\r\n // var values = Object.keys(obj).map(function (key) { return obj[key]; });\r\n // console.log(JSON.stringify(values));\r\n setAge(detections[0].age);\r\n setGender(detections[0].gender);\r\n const resizeDetections = faceapi.resizeResults(detections, {\r\n width: width,\r\n height: height\r\n\r\n });\r\n faceapi.draw.drawDetections(canvasRef.current, resizeDetections);\r\n faceapi.draw.drawFaceExpressions(canvasRef.current, resizeDetections);\r\n\r\n //fetching details of detected face\r\n const faceMatcher = await createMatcher(JSON_PROFILE);\r\n // console.log(faceMatcher);\r\n let faceMatches = resizeDetections.map(desc => faceMatcher.findBestMatch(desc.descriptor));\r\n setFriends(faceMatches[0]._label); //Name\r\n let details = faceMatches[0]._label;\r\n // console.log(typeof (details));\r\n // console.log(JSON_PROFILE[details].date);\r\n setDate(JSON_PROFILE[details].date);\r\n setLocation(JSON_PROFILE[details].found);\r\n setBirthmark(JSON_PROFILE[details].birthmark);\r\n\r\n };\r\n\r\n return (\r\n <>\r\n <Navigation />\r\n\r\n <div className=\"detectImage\">\r\n <div className=\"container\">\r\n <div className=\"left\" style={{ width, height }}>\r\n <img ref={imgRef} style={{ width, height }} crossOrigin=\"anonymous\" className=\"missimg\" src={url} alt=\"\" />\r\n <canvas\r\n ref={canvasRef}\r\n width={width}\r\n height={height}\r\n />\r\n\r\n </div>\r\n {friends == null ? (\r\n //Loader while detecting face\r\n <div className=\"right\">\r\n <h1>MISSING PERSON INFO</h1>\r\n\r\n <div className=\"lds-ripple\"><div></div><div></div></div>\r\n\r\n </div>\r\n ) : (\r\n //if face detected\r\n <div className=\"right\">\r\n\r\n <h1>MISSING PERSON INFO</h1>\r\n\r\n {friends != 'unknown' ? (\r\n <div>\r\n <table className=\"table table-hover\">\r\n <thead>\r\n <tr>\r\n <th scope=\"col\">#</th>\r\n <th colSpan={2}>Query</th>\r\n <th scope=\"col\">Details</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr>\r\n <th scope=\"row\">1</th>\r\n <td colSpan=\"2\">Name</td>\r\n <td className=\"name\">{friends ? friends : 'UNKNOWN'}</td>\r\n </tr>\r\n <tr>\r\n <th scope=\"row\">2</th>\r\n <td colSpan=\"2\">Gender</td>\r\n <td className=\"name\">{gender}</td>\r\n </tr>\r\n <tr>\r\n <th scope=\"row\">3</th>\r\n <td colspan=\"2\">Age</td>\r\n <td className=\"name\">{Math.floor(age)}</td>\r\n </tr>\r\n <tr>\r\n <th scope=\"row\">4</th>\r\n <td colspan=\"2\">Found at</td>\r\n <td className=\"name\">\r\n {location ? <p> {location} on {date}</p> : null}\r\n {/* //convert string to date */}\r\n\r\n </td>\r\n </tr>\r\n <tr>\r\n <th scope=\"row\">5</th>\r\n <td colspan=\"2\">Identification Mark</td>\r\n <td className=\"name\">{birthmark} </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n ) : (\r\n //if face not detected\r\n <div className=\"not-found\">\r\n <h3 className=\"px-2\">Sorry!! No Such Missing Person Exist in our database. </h3>\r\n <p id='nouser'>If you have any information concerning this case, please contact at +(91) 6462879071 or email us at [email protected]. You may also contact your local FBI office, the nearest Police Station or Consulate.</p>\r\n </div>\r\n )}\r\n </div>\r\n )\r\n }\r\n\r\n\r\n </div>\r\n </div>\r\n </>\r\n\r\n );\r\n};\r\n\r\nexport default Imagedetect;","E:\\FindYou\\src\\Components\\FindMissing\\Navigation.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\index.js",[],["216","217"],"D:\\workspace\\Engage\\final\\FindYou\\src\\App.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\registerServiceWorker.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Footer.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Home.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\UploadImage.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Report\\Report.js",["218"],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\VideoDetect.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\Navigation.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\FindMissing\\Imagedetect.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Report\\ReportNav.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\About.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\Contact.js",[],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\Header.js",["219"],"D:\\workspace\\Engage\\final\\FindYou\\src\\Components\\Landing\\Trivia.js",["220"],"D:\\workspace\\Engage\\final\\FindYou\\src\\api\\face.js",[],{"ruleId":"221","severity":1,"message":"222","line":3,"column":8,"nodeType":"223","messageId":"224","endLine":3,"endColumn":14},{"ruleId":"221","severity":1,"message":"225","line":5,"column":8,"nodeType":"223","messageId":"224","endLine":5,"endColumn":13},{"ruleId":"221","severity":1,"message":"226","line":6,"column":8,"nodeType":"223","messageId":"224","endLine":6,"endColumn":14},{"ruleId":"221","severity":1,"message":"227","line":7,"column":8,"nodeType":"223","messageId":"224","endLine":7,"endColumn":15},{"ruleId":"221","severity":1,"message":"228","line":8,"column":8,"nodeType":"223","messageId":"224","endLine":8,"endColumn":20},{"ruleId":"221","severity":1,"message":"229","line":9,"column":8,"nodeType":"223","messageId":"224","endLine":9,"endColumn":17},{"ruleId":"221","severity":1,"message":"230","line":10,"column":8,"nodeType":"223","messageId":"224","endLine":10,"endColumn":19},{"ruleId":"221","severity":1,"message":"231","line":16,"column":10,"nodeType":"223","messageId":"224","endLine":16,"endColumn":20},{"ruleId":"232","replacedBy":"233"},{"ruleId":"234","replacedBy":"235"},{"ruleId":"236","severity":1,"message":"237","line":46,"column":17,"nodeType":"238","endLine":46,"endColumn":39},{"ruleId":"236","severity":1,"message":"237","line":54,"column":17,"nodeType":"238","endLine":54,"endColumn":39},{"ruleId":"221","severity":1,"message":"239","line":10,"column":7,"nodeType":"223","messageId":"224","endLine":10,"endColumn":10},{"ruleId":"221","severity":1,"message":"240","line":9,"column":18,"nodeType":"223","messageId":"224","endLine":9,"endColumn":25},{"ruleId":"221","severity":1,"message":"241","line":10,"column":19,"nodeType":"223","messageId":"224","endLine":10,"endColumn":27},{"ruleId":"221","severity":1,"message":"242","line":11,"column":21,"nodeType":"223","messageId":"224","endLine":11,"endColumn":31},{"ruleId":"221","severity":1,"message":"243","line":12,"column":21,"nodeType":"223","messageId":"224","endLine":12,"endColumn":31},{"ruleId":"221","severity":1,"message":"244","line":16,"column":9,"nodeType":"223","messageId":"224","endLine":16,"endColumn":14},{"ruleId":"221","severity":1,"message":"245","line":17,"column":22,"nodeType":"223","messageId":"224","endLine":17,"endColumn":28},{"ruleId":"232","replacedBy":"246"},{"ruleId":"234","replacedBy":"247"},{"ruleId":"236","severity":1,"message":"237","line":18,"column":11,"nodeType":"238","endLine":18,"endColumn":35},{"ruleId":"221","severity":1,"message":"248","line":9,"column":7,"nodeType":"223","messageId":"224","endLine":9,"endColumn":18},{"ruleId":"221","severity":1,"message":"239","line":10,"column":7,"nodeType":"223","messageId":"224","endLine":10,"endColumn":10},{"ruleId":"221","severity":1,"message":"249","line":5,"column":16,"nodeType":"223","messageId":"224","endLine":5,"endColumn":23},{"ruleId":"221","severity":1,"message":"250","line":2,"column":8,"nodeType":"223","messageId":"224","endLine":2,"endColumn":14},{"ruleId":"251","severity":1,"message":"252","line":113,"column":38,"nodeType":"253","messageId":"254","endLine":113,"endColumn":40},{"ruleId":"232","replacedBy":"255"},{"ruleId":"234","replacedBy":"256"},{"ruleId":"251","severity":1,"message":"252","line":133,"column":51,"nodeType":"253","messageId":"254","endLine":133,"endColumn":53},{"ruleId":"236","severity":1,"message":"237","line":18,"column":11,"nodeType":"238","endLine":18,"endColumn":35},{"ruleId":"221","severity":1,"message":"249","line":5,"column":16,"nodeType":"223","messageId":"224","endLine":5,"endColumn":23},"no-unused-vars","'Header' is defined but never used.","Identifier","unusedVar","'About' is defined but never used.","'Resume' is defined but never used.","'Contact' is defined but never used.","'Testimonials' is defined but never used.","'Portfolio' is defined but never used.","'ContactForm' is defined but never used.","'resumeData' is assigned a value but never used.","no-native-reassign",["257"],"no-negated-in-lhs",["258"],"jsx-a11y/anchor-is-valid","The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md","JSXOpeningElement","'zip' is assigned a value but never used.","'setName' is assigned a value but never used.","'setEmail' is assigned a value but never used.","'setSubject' is assigned a value but never used.","'setMessage' is assigned a value but never used.","'reset' is assigned a value but never used.","'errors' is assigned a value but never used.",["257"],["258"],"'contactName' is assigned a value but never used.","'setFact' is assigned a value but never used.","'Footer' is defined but never used.","eqeqeq","Expected '!==' and instead saw '!='.","BinaryExpression","unexpected",["257"],["258"],"no-global-assign","no-unsafe-negation"]