{"ast":null,"code":"import React,{useState,useRef}from'react';import{FaFileAlt,FaShieldAlt,FaBalanceScale,FaUserShield,FaDownload,FaPrint,FaSearch,FaArrowRight,FaCheckCircle,FaExclamationTriangle,FaLock,FaGlobe,FaEnvelope,FaPhone,FaMapMarkerAlt}from'react-icons/fa';import'./Legal.css';import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";const Legal=()=>{const[activeDocument,setActiveDocument]=useState('terms');const[searchQuery,setSearchQuery]=useState('');const[acceptedCookies,setAcceptedCookies]=useState(false);const printRef=useRef(null);const legalDocuments={terms:{id:'terms',title:'Terms of Service',icon:/*#__PURE__*/_jsx(FaFileAlt,{}),lastUpdated:'March 1, 2024',version:'2.1',summary:'Rules and guidelines for using Yuva services',sections:[{title:'1. Acceptance of Terms',content:\"By accessing and using Yuva Ride Sharing services, you accept and agree to be bound by the terms and provisions of this agreement. Your use of our services constitutes acceptance of these terms.\"},{title:'2. User Eligibility',content:\"You must be at least 18 years old to use our services. By using Yuva, you represent and warrant that you meet all eligibility requirements.\"},{title:'3. Account Registration',content:\"You are responsible for maintaining the confidentiality of your account and password. You agree to accept responsibility for all activities that occur under your account.\"},{title:'4. Service Usage',content:\"Yuva services are for personal, non-commercial use unless otherwise authorized. You agree not to use the service for any unlawful purpose or in any way that could damage, disable, or impair the service.\"},{title:'5. Payment Terms',content:\"All rides are charged according to the rates displayed in the app. Payments are processed securely through our payment partners. You authorize Yuva to charge your selected payment method.\"},{title:'6. Cancellation Policy',content:\"Users may cancel rides subject to our cancellation policy. Repeated cancellations may result in temporary suspension of account. Cancellation fees may apply in certain circumstances.\"},{title:'7. Intellectual Property',content:\"All content included on the Yuva platform, such as text, graphics, logos, and software, is the property of Yuva or its content suppliers and protected by intellectual property laws.\"},{title:'8. Termination',content:\"We may terminate or suspend your account immediately, without prior notice, for conduct that we believe violates these Terms of Service or is harmful to other users.\"}]},privacy:{id:'privacy',title:'Privacy Policy',icon:/*#__PURE__*/_jsx(FaUserShield,{}),lastUpdated:'March 1, 2024',version:'3.0',summary:'How we collect, use, and protect your data',sections:[{title:'1. Information We Collect',content:\"We collect personal information you provide when creating an account, including name, email, phone number, payment information, and profile data. We also collect usage data and location information.\"},{title:'2. How We Use Information',content:\"We use your information to provide and improve our services, process payments, communicate with you, ensure safety, and personalize your experience. We do not sell your personal data to third parties.\"},{title:'3. Data Sharing',content:\"We may share information with drivers for ride coordination, with payment processors for transaction completion, and with authorities when required by law. We use aggregated data for analytics and improvement.\"},{title:'4. Data Security',content:\"We implement appropriate security measures including encryption, access controls, and regular security assessments to protect your personal information from unauthorized access and disclosure.\"},{title:'5. Your Rights',content:\"You have the right to access, correct, or delete your personal information. You can manage your privacy settings in the app and contact us to exercise your data protection rights.\"},{title:'6. Data Retention',content:\"We retain your personal information for as long as necessary to provide our services and comply with legal obligations. You can request deletion of your account and associated data at any time.\"},{title:'7. Cookies and Tracking',content:\"We use cookies and similar technologies to enhance your experience, analyze usage, and deliver personalized content. You can control cookie preferences through your browser settings.\"},{title:'8. International Transfers',content:\"Your data may be processed in facilities located outside your country. We ensure appropriate safeguards are in place to protect your data in accordance with this privacy policy.\"}]},safety:{id:'safety',title:'Safety Guidelines',icon:/*#__PURE__*/_jsx(FaShieldAlt,{}),lastUpdated:'March 1, 2024',version:'1.2',summary:'Safety protocols and community guidelines',sections:[{title:'1. Driver Verification',content:\"All Yuva drivers undergo comprehensive background checks, vehicle inspections, and identity verification to ensure your safety and security.\"},{title:'2. Ride Sharing Safety',content:\"Always verify the driver and vehicle details before entering. Share your ride details with trusted contacts. Trust your instincts and cancel if you feel uncomfortable.\"},{title:'3. Emergency Features',content:\"Our app includes emergency SOS button, real-time ride sharing, and 24/7 safety support. Familiarize yourself with these features before your first ride.\"},{title:'4. Community Guidelines',content:\"Respect other users and maintain appropriate conduct. No harassment, discrimination, or inappropriate behavior will be tolerated. Report any concerns immediately.\"},{title:'5. COVID-19 Measures',content:\"We follow recommended health guidelines including mask requirements, vehicle sanitization protocols, and health verification where required by local regulations.\"},{title:'6. Incident Reporting',content:\"Report any safety concerns, incidents, or inappropriate behavior through the app or our safety hotline. We take all reports seriously and investigate promptly.\"},{title:'7. Vehicle Safety',content:\"All vehicles must meet our safety standards and pass regular inspections. Drivers must maintain valid insurance and licensing as required by local laws.\"},{title:'8. Zero Tolerance Policy',content:\"We have a zero-tolerance policy for drugs, alcohol, and violence. Any violation will result in immediate account suspension and cooperation with authorities.\"}]},insurance:{id:'insurance',title:'Insurance Coverage',icon:/*#__PURE__*/_jsx(FaBalanceScale,{}),lastUpdated:'March 1, 2024',version:'2.0',summary:'Insurance policies and coverage details',sections:[{title:'1. Comprehensive Coverage',content:\"All rides through Yuva are covered by our commercial auto insurance policy with up to $1,000,000 in liability coverage per incident.\"},{title:'2. Liability Insurance',content:\"We provide liability coverage for third-party injuries and property damage. This coverage is primary when the driver's personal insurance doesn't apply.\"},{title:'3. Uninsured Motorist',content:\"Our policy includes uninsured/underinsured motorist coverage to protect you in case of accidents with uninsured or underinsured drivers.\"},{title:'4. Contingent Coverage',content:\"When the driver's personal insurance doesn't cover an incident, our contingent coverage provides protection up to the policy limits.\"},{title:'5. Claims Process',content:\"In case of an incident, contact our support team immediately. We will guide you through the claims process and work with insurance providers on your behalf.\"},{title:'6. Coverage Limits',content:\"Our insurance provides coverage up to $1,000,000 for liability, $1,000,000 for uninsured/underinsured motorist, and comprehensive coverage for vehicle damage.\"},{title:'7. International Coverage',content:\"Insurance coverage may vary by country and region. Please check local terms for specific coverage details in your area of travel.\"},{title:'8. Policy Updates',content:\"We regularly review and update our insurance policies to ensure adequate coverage. Policy changes will be communicated to users in advance.\"}]},accessibility:{id:'accessibility',title:'Accessibility Statement',icon:/*#__PURE__*/_jsx(FaGlobe,{}),lastUpdated:'March 1, 2024',version:'1.1',summary:'Our commitment to accessibility',sections:[{title:'1. Commitment to Accessibility',content:\"Yuva is committed to ensuring digital accessibility for people with disabilities. We are continually improving the user experience for everyone.\"},{title:'2. Accessible Features',content:\"Our app includes features like voice assistance, high contrast mode, screen reader compatibility, and adjustable text sizes to accommodate various needs.\"},{title:'3. Wheelchair Accessible Rides',content:\"We offer wheelchair accessible vehicles in select markets. Contact support to request these services and check availability in your area.\"},{title:'4. Continuous Improvement',content:\"We continuously work to improve the accessibility of our platform based on user feedback and evolving accessibility standards.\"},{title:'5. Feedback and Support',content:\"We welcome feedback on accessibility. Contact our accessibility team at accessibility@yuvaride.com to report issues or suggest improvements.\"},{title:'6. Compliance Standards',content:\"We strive to meet WCAG 2.1 Level AA standards and comply with applicable accessibility laws and regulations in the regions we operate.\"},{title:'7. Training and Awareness',content:\"Our team receives regular training on accessibility best practices to ensure we maintain high standards of inclusivity in our services.\"},{title:'8. Third-Party Services',content:\"While we ensure our platform is accessible, we also work with third-party services to promote accessibility throughout the ride-sharing ecosystem.\"}]},cookies:{id:'cookies',title:'Cookie Policy',icon:/*#__PURE__*/_jsx(FaLock,{}),lastUpdated:'March 1, 2024',version:'1.3',summary:'How we use cookies and tracking technologies',section:[{title:'1. What Are Cookies',content:\"Cookies are small text files stored on your device when you visit our website. They help us provide, protect, and improve our services.\"},{title:'2. Types of Cookies We Use',content:\"We use essential cookies for basic functionality, performance cookies for analytics, functionality cookies for preferences, and targeting cookies for personalized content.\"},{title:'3. How We Use Cookies',content:\"Cookies help us authenticate users, remember preferences, analyze usage patterns, deliver personalized content, and improve overall user experience.\"},{title:'4. Third-Party Cookies',content:\"We may allow third parties to use cookies for analytics, advertising, and social media features. These parties have their own privacy policies.\"},{title:'5. Cookie Management',content:\"You can control cookie preferences through your browser settings. Note that disabling cookies may affect the functionality of our services.\"},{title:'6. Do Not Track',content:\"We respect Do Not Track signals and provide options for users to opt-out of certain tracking technologies while maintaining essential functionality.\"},{title:'7. Data Retention',content:\"Cookie data is retained for varying periods depending on the type of cookie and its purpose. Session cookies expire when you close your browser.\"},{title:'8. Policy Updates',content:\"We may update this cookie policy as technology and regulations evolve. Continued use of our services constitutes acceptance of updated policies.\"}]}};const quickLinks=[{id:'terms',title:'Terms of Service',icon:/*#__PURE__*/_jsx(FaFileAlt,{})},{id:'privacy',title:'Privacy Policy',icon:/*#__PURE__*/_jsx(FaUserShield,{})},{id:'safety',title:'Safety Guidelines',icon:/*#__PURE__*/_jsx(FaShieldAlt,{})},{id:'insurance',title:'Insurance',icon:/*#__PURE__*/_jsx(FaBalanceScale,{})},{id:'accessibility',title:'Accessibility',icon:/*#__PURE__*/_jsx(FaGlobe,{})},{id:'cookies',title:'Cookie Policy',icon:/*#__PURE__*/_jsx(FaLock,{})}];const currentDocument=legalDocuments[activeDocument];const filteredSections=currentDocument.sections.filter(section=>section.title.toLowerCase().includes(searchQuery.toLowerCase())||section.content.toLowerCase().includes(searchQuery.toLowerCase()));const handlePrint=()=>{window.print();};const handleDownload=()=>{// In a real implementation, this would download the PDF version\nalert(\"Downloading \".concat(currentDocument.title,\" PDF...\"));};const handleAcceptCookies=()=>{setAcceptedCookies(true);// In real implementation, set cookie preference\n};return/*#__PURE__*/_jsx(\"section\",{id:\"legal\",className:\"legal-page\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"legal-container\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"legal-header\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"header-content\",children:[/*#__PURE__*/_jsx(\"h1\",{className:\"legal-title\",children:\"Legal & Compliance\"}),/*#__PURE__*/_jsx(\"p\",{className:\"legal-subtitle\",children:\"Transparent policies for your peace of mind. Understand your rights and our commitments.\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"search-container\",children:[/*#__PURE__*/_jsx(FaSearch,{className:\"search-icon\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",placeholder:\"Search legal documents...\",value:searchQuery,onChange:e=>setSearchQuery(e.target.value),className:\"search-input\"})]})]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"legal-content\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"legal-sidebar\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"sidebar-header\",children:/*#__PURE__*/_jsx(\"h3\",{children:\"Legal Documents\"})}),/*#__PURE__*/_jsx(\"nav\",{className:\"document-nav\",children:quickLinks.map(doc=>/*#__PURE__*/_jsxs(\"button\",{className:\"nav-item \".concat(activeDocument===doc.id?'active':''),onClick:()=>setActiveDocument(doc.id),children:[/*#__PURE__*/_jsx(\"span\",{className:\"nav-icon\",children:doc.icon}),/*#__PURE__*/_jsx(\"span\",{className:\"nav-text\",children:doc.title}),/*#__PURE__*/_jsx(FaArrowRight,{className:\"nav-arrow\"})]},doc.id))}),/*#__PURE__*/_jsxs(\"div\",{className:\"quick-actions\",children:[/*#__PURE__*/_jsx(\"h4\",{children:\"Quick Actions\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"action-buttons\",children:[/*#__PURE__*/_jsxs(\"button\",{className:\"action-btn\",onClick:handleDownload,children:[/*#__PURE__*/_jsx(FaDownload,{}),\"Download PDF\"]}),/*#__PURE__*/_jsxs(\"button\",{className:\"action-btn\",onClick:handlePrint,children:[/*#__PURE__*/_jsx(FaPrint,{}),\"Print Document\"]})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"document-info\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"info-item\",children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Last Updated:\"}),/*#__PURE__*/_jsx(\"span\",{children:currentDocument.lastUpdated})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"info-item\",children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Version:\"}),/*#__PURE__*/_jsx(\"span\",{children:currentDocument.version})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"info-item\",children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Status:\"}),/*#__PURE__*/_jsx(\"span\",{className:\"status-active\",children:\"Active\"})]})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"document-content\",ref:printRef,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"document-header\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"doc-title-section\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"doc-icon\",children:currentDocument.icon}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{children:currentDocument.title}),/*#__PURE__*/_jsx(\"p\",{className:\"doc-summary\",children:currentDocument.summary})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"doc-meta\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"meta-badge\",children:[/*#__PURE__*/_jsx(FaCheckCircle,{className:\"badge-icon\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Current Version\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"meta-badge\",children:[/*#__PURE__*/_jsx(FaExclamationTriangle,{className:\"badge-icon\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Legal Document\"})]})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"document-sections\",children:filteredSections.length>0?filteredSections.map((section,index)=>/*#__PURE__*/_jsxs(\"section\",{className:\"legal-section\",children:[/*#__PURE__*/_jsx(\"h3\",{className:\"section-title\",children:section.title}),/*#__PURE__*/_jsx(\"div\",{className:\"section-content\",children:/*#__PURE__*/_jsx(\"p\",{children:section.content})})]},index)):/*#__PURE__*/_jsxs(\"div\",{className:\"no-results\",children:[/*#__PURE__*/_jsx(FaSearch,{className:\"no-results-icon\"}),/*#__PURE__*/_jsx(\"h3\",{children:\"No matching sections found\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Try adjusting your search terms or browse the document manually.\"})]})})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"legal-contact\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"contact-header\",children:[/*#__PURE__*/_jsx(\"h3\",{children:\"Need Legal Assistance?\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Our legal team is here to help with any questions or concerns\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"contact-methods\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"contact-method\",children:[/*#__PURE__*/_jsx(FaEnvelope,{className:\"contact-icon\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h4\",{children:\"Email Support\"}),/*#__PURE__*/_jsx(\"p\",{children:\"legalhelp@yuvaride.com\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Response within 24 hours\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"contact-method\",children:[/*#__PURE__*/_jsx(FaPhone,{className:\"contact-icon\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h4\",{children:\"Phone Support\"}),/*#__PURE__*/_jsx(\"p\",{children:\"+91 9876543210\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Mon-Fri, 9AM-6PM \"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"contact-method\",children:[/*#__PURE__*/_jsx(FaMapMarkerAlt,{className:\"contact-icon\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h4\",{children:\"Legal Department\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Madhapur, Ayyappa society\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Hyderabad, 560001\"})]})]})]})]}),!acceptedCookies&&/*#__PURE__*/_jsx(\"div\",{className:\"cookie-consent\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"cookie-content\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"cookie-text\",children:[/*#__PURE__*/_jsx(\"h4\",{children:\"Cookie Preferences\"}),/*#__PURE__*/_jsx(\"p\",{children:\"We use cookies to enhance your experience, analyze traffic, and personalize content. By continuing to use our site, you consent to our use of cookies.\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"cookie-actions\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"btn btn-primary\",onClick:handleAcceptCookies,children:\"Accept All\"}),/*#__PURE__*/_jsx(\"button\",{className:\"btn btn-secondary\",children:\"Manage Preferences\"}),/*#__PURE__*/_jsx(\"button\",{className:\"btn btn-text\",children:\"Learn More\"})]})]})})]})});};export default Legal;","map":{"version":3,"names":["React","useState","useRef","FaFileAlt","FaShieldAlt","FaBalanceScale","FaUserShield","FaDownload","FaPrint","FaSearch","FaArrowRight","FaCheckCircle","FaExclamationTriangle","FaLock","FaGlobe","FaEnvelope","FaPhone","FaMapMarkerAlt","jsx","_jsx","jsxs","_jsxs","Legal","activeDocument","setActiveDocument","searchQuery","setSearchQuery","acceptedCookies","setAcceptedCookies","printRef","legalDocuments","terms","id","title","icon","lastUpdated","version","summary","sections","content","privacy","safety","insurance","accessibility","cookies","section","quickLinks","currentDocument","filteredSections","filter","toLowerCase","includes","handlePrint","window","print","handleDownload","alert","concat","handleAcceptCookies","className","children","type","placeholder","value","onChange","e","target","map","doc","onClick","ref","length","index"],"sources":["/var/www/yuvaride/yuvaride-static/yuva-ride/src/components/Legal.js"],"sourcesContent":["import React, { useState, useRef } from 'react';\nimport { \n  FaFileAlt, \n  FaShieldAlt, \n  FaBalanceScale, \n  FaUserShield,\n  FaDownload,\n  FaPrint,\n  FaSearch,\n  FaArrowRight,\n  FaCheckCircle,\n  FaExclamationTriangle,\n  FaLock,\n  FaGlobe,\n  FaEnvelope,\n  FaPhone,\n  FaMapMarkerAlt\n} from 'react-icons/fa';\nimport './Legal.css';\n\nconst Legal = () => {\n  const [activeDocument, setActiveDocument] = useState('terms');\n  const [searchQuery, setSearchQuery] = useState('');\n  const [acceptedCookies, setAcceptedCookies] = useState(false);\n  const printRef = useRef(null);\n\n  const legalDocuments = {\n    terms: {\n      id: 'terms',\n      title: 'Terms of Service',\n      icon: <FaFileAlt />,\n      lastUpdated: 'March 1, 2024',\n      version: '2.1',\n      summary: 'Rules and guidelines for using Yuva services',\n      sections: [\n        {\n          title: '1. Acceptance of Terms',\n          content: `By accessing and using Yuva Ride Sharing services, you accept and agree to be bound by the terms and provisions of this agreement. Your use of our services constitutes acceptance of these terms.`\n        },\n        {\n          title: '2. User Eligibility',\n          content: `You must be at least 18 years old to use our services. By using Yuva, you represent and warrant that you meet all eligibility requirements.`\n        },\n        {\n          title: '3. Account Registration',\n          content: `You are responsible for maintaining the confidentiality of your account and password. You agree to accept responsibility for all activities that occur under your account.`\n        },\n        {\n          title: '4. Service Usage',\n          content: `Yuva services are for personal, non-commercial use unless otherwise authorized. You agree not to use the service for any unlawful purpose or in any way that could damage, disable, or impair the service.`\n        },\n        {\n          title: '5. Payment Terms',\n          content: `All rides are charged according to the rates displayed in the app. Payments are processed securely through our payment partners. You authorize Yuva to charge your selected payment method.`\n        },\n        {\n          title: '6. Cancellation Policy',\n          content: `Users may cancel rides subject to our cancellation policy. Repeated cancellations may result in temporary suspension of account. Cancellation fees may apply in certain circumstances.`\n        },\n        {\n          title: '7. Intellectual Property',\n          content: `All content included on the Yuva platform, such as text, graphics, logos, and software, is the property of Yuva or its content suppliers and protected by intellectual property laws.`\n        },\n        {\n          title: '8. Termination',\n          content: `We may terminate or suspend your account immediately, without prior notice, for conduct that we believe violates these Terms of Service or is harmful to other users.`\n        }\n      ]\n    },\n    privacy: {\n      id: 'privacy',\n      title: 'Privacy Policy',\n      icon: <FaUserShield />,\n      lastUpdated: 'March 1, 2024',\n      version: '3.0',\n      summary: 'How we collect, use, and protect your data',\n      sections: [\n        {\n          title: '1. Information We Collect',\n          content: `We collect personal information you provide when creating an account, including name, email, phone number, payment information, and profile data. We also collect usage data and location information.`\n        },\n        {\n          title: '2. How We Use Information',\n          content: `We use your information to provide and improve our services, process payments, communicate with you, ensure safety, and personalize your experience. We do not sell your personal data to third parties.`\n        },\n        {\n          title: '3. Data Sharing',\n          content: `We may share information with drivers for ride coordination, with payment processors for transaction completion, and with authorities when required by law. We use aggregated data for analytics and improvement.`\n        },\n        {\n          title: '4. Data Security',\n          content: `We implement appropriate security measures including encryption, access controls, and regular security assessments to protect your personal information from unauthorized access and disclosure.`\n        },\n        {\n          title: '5. Your Rights',\n          content: `You have the right to access, correct, or delete your personal information. You can manage your privacy settings in the app and contact us to exercise your data protection rights.`\n        },\n        {\n          title: '6. Data Retention',\n          content: `We retain your personal information for as long as necessary to provide our services and comply with legal obligations. You can request deletion of your account and associated data at any time.`\n        },\n        {\n          title: '7. Cookies and Tracking',\n          content: `We use cookies and similar technologies to enhance your experience, analyze usage, and deliver personalized content. You can control cookie preferences through your browser settings.`\n        },\n        {\n          title: '8. International Transfers',\n          content: `Your data may be processed in facilities located outside your country. We ensure appropriate safeguards are in place to protect your data in accordance with this privacy policy.`\n        }\n      ]\n    },\n    safety: {\n      id: 'safety',\n      title: 'Safety Guidelines',\n      icon: <FaShieldAlt />,\n      lastUpdated: 'March 1, 2024',\n      version: '1.2',\n      summary: 'Safety protocols and community guidelines',\n      sections: [\n        {\n          title: '1. Driver Verification',\n          content: `All Yuva drivers undergo comprehensive background checks, vehicle inspections, and identity verification to ensure your safety and security.`\n        },\n        {\n          title: '2. Ride Sharing Safety',\n          content: `Always verify the driver and vehicle details before entering. Share your ride details with trusted contacts. Trust your instincts and cancel if you feel uncomfortable.`\n        },\n        {\n          title: '3. Emergency Features',\n          content: `Our app includes emergency SOS button, real-time ride sharing, and 24/7 safety support. Familiarize yourself with these features before your first ride.`\n        },\n        {\n          title: '4. Community Guidelines',\n          content: `Respect other users and maintain appropriate conduct. No harassment, discrimination, or inappropriate behavior will be tolerated. Report any concerns immediately.`\n        },\n        {\n          title: '5. COVID-19 Measures',\n          content: `We follow recommended health guidelines including mask requirements, vehicle sanitization protocols, and health verification where required by local regulations.`\n        },\n        {\n          title: '6. Incident Reporting',\n          content: `Report any safety concerns, incidents, or inappropriate behavior through the app or our safety hotline. We take all reports seriously and investigate promptly.`\n        },\n        {\n          title: '7. Vehicle Safety',\n          content: `All vehicles must meet our safety standards and pass regular inspections. Drivers must maintain valid insurance and licensing as required by local laws.`\n        },\n        {\n          title: '8. Zero Tolerance Policy',\n          content: `We have a zero-tolerance policy for drugs, alcohol, and violence. Any violation will result in immediate account suspension and cooperation with authorities.`\n        }\n      ]\n    },\n    insurance: {\n      id: 'insurance',\n      title: 'Insurance Coverage',\n      icon: <FaBalanceScale />,\n      lastUpdated: 'March 1, 2024',\n      version: '2.0',\n      summary: 'Insurance policies and coverage details',\n      sections: [\n        {\n          title: '1. Comprehensive Coverage',\n          content: `All rides through Yuva are covered by our commercial auto insurance policy with up to $1,000,000 in liability coverage per incident.`\n        },\n        {\n          title: '2. Liability Insurance',\n          content: `We provide liability coverage for third-party injuries and property damage. This coverage is primary when the driver's personal insurance doesn't apply.`\n        },\n        {\n          title: '3. Uninsured Motorist',\n          content: `Our policy includes uninsured/underinsured motorist coverage to protect you in case of accidents with uninsured or underinsured drivers.`\n        },\n        {\n          title: '4. Contingent Coverage',\n          content: `When the driver's personal insurance doesn't cover an incident, our contingent coverage provides protection up to the policy limits.`\n        },\n        {\n          title: '5. Claims Process',\n          content: `In case of an incident, contact our support team immediately. We will guide you through the claims process and work with insurance providers on your behalf.`\n        },\n        {\n          title: '6. Coverage Limits',\n          content: `Our insurance provides coverage up to $1,000,000 for liability, $1,000,000 for uninsured/underinsured motorist, and comprehensive coverage for vehicle damage.`\n        },\n        {\n          title: '7. International Coverage',\n          content: `Insurance coverage may vary by country and region. Please check local terms for specific coverage details in your area of travel.`\n        },\n        {\n          title: '8. Policy Updates',\n          content: `We regularly review and update our insurance policies to ensure adequate coverage. Policy changes will be communicated to users in advance.`\n        }\n      ]\n    },\n    accessibility: {\n      id: 'accessibility',\n      title: 'Accessibility Statement',\n      icon: <FaGlobe />,\n      lastUpdated: 'March 1, 2024',\n      version: '1.1',\n      summary: 'Our commitment to accessibility',\n      sections: [\n        {\n          title: '1. Commitment to Accessibility',\n          content: `Yuva is committed to ensuring digital accessibility for people with disabilities. We are continually improving the user experience for everyone.`\n        },\n        {\n          title: '2. Accessible Features',\n          content: `Our app includes features like voice assistance, high contrast mode, screen reader compatibility, and adjustable text sizes to accommodate various needs.`\n        },\n        {\n          title: '3. Wheelchair Accessible Rides',\n          content: `We offer wheelchair accessible vehicles in select markets. Contact support to request these services and check availability in your area.`\n        },\n        {\n          title: '4. Continuous Improvement',\n          content: `We continuously work to improve the accessibility of our platform based on user feedback and evolving accessibility standards.`\n        },\n        {\n          title: '5. Feedback and Support',\n          content: `We welcome feedback on accessibility. Contact our accessibility team at accessibility@yuvaride.com to report issues or suggest improvements.`\n        },\n        {\n          title: '6. Compliance Standards',\n          content: `We strive to meet WCAG 2.1 Level AA standards and comply with applicable accessibility laws and regulations in the regions we operate.`\n        },\n        {\n          title: '7. Training and Awareness',\n          content: `Our team receives regular training on accessibility best practices to ensure we maintain high standards of inclusivity in our services.`\n        },\n        {\n          title: '8. Third-Party Services',\n          content: `While we ensure our platform is accessible, we also work with third-party services to promote accessibility throughout the ride-sharing ecosystem.`\n        }\n      ]\n    },\n    cookies: {\n      id: 'cookies',\n      title: 'Cookie Policy',\n      icon: <FaLock />,\n      lastUpdated: 'March 1, 2024',\n      version: '1.3',\n      summary: 'How we use cookies and tracking technologies',\n      section: [\n        {\n          title: '1. What Are Cookies',\n          content: `Cookies are small text files stored on your device when you visit our website. They help us provide, protect, and improve our services.`\n        },\n        {\n          title: '2. Types of Cookies We Use',\n          content: `We use essential cookies for basic functionality, performance cookies for analytics, functionality cookies for preferences, and targeting cookies for personalized content.`\n        },\n        {\n          title: '3. How We Use Cookies',\n          content: `Cookies help us authenticate users, remember preferences, analyze usage patterns, deliver personalized content, and improve overall user experience.`\n        },\n        {\n          title: '4. Third-Party Cookies',\n          content: `We may allow third parties to use cookies for analytics, advertising, and social media features. These parties have their own privacy policies.`\n        },\n        {\n          title: '5. Cookie Management',\n          content: `You can control cookie preferences through your browser settings. Note that disabling cookies may affect the functionality of our services.`\n        },\n        {\n          title: '6. Do Not Track',\n          content: `We respect Do Not Track signals and provide options for users to opt-out of certain tracking technologies while maintaining essential functionality.`\n        },\n        {\n          title: '7. Data Retention',\n          content: `Cookie data is retained for varying periods depending on the type of cookie and its purpose. Session cookies expire when you close your browser.`\n        },\n        {\n          title: '8. Policy Updates',\n          content: `We may update this cookie policy as technology and regulations evolve. Continued use of our services constitutes acceptance of updated policies.`\n        }\n      ]\n    }\n  };\n\n  const quickLinks = [\n    { id: 'terms', title: 'Terms of Service', icon: <FaFileAlt /> },\n    { id: 'privacy', title: 'Privacy Policy', icon: <FaUserShield /> },\n    { id: 'safety', title: 'Safety Guidelines', icon: <FaShieldAlt /> },\n    { id: 'insurance', title: 'Insurance', icon: <FaBalanceScale /> },\n    { id: 'accessibility', title: 'Accessibility', icon: <FaGlobe /> },\n    { id: 'cookies', title: 'Cookie Policy', icon: <FaLock /> }\n  ];\n\n  const currentDocument = legalDocuments[activeDocument];\n\n  const filteredSections = currentDocument.sections.filter(section =>\n    section.title.toLowerCase().includes(searchQuery.toLowerCase()) ||\n    section.content.toLowerCase().includes(searchQuery.toLowerCase())\n  );\n\n  const handlePrint = () => {\n    window.print();\n  };\n\n  const handleDownload = () => {\n    // In a real implementation, this would download the PDF version\n    alert(`Downloading ${currentDocument.title} PDF...`);\n  };\n\n  const handleAcceptCookies = () => {\n    setAcceptedCookies(true);\n    // In real implementation, set cookie preference\n  };\n\n  return (\n    <section id=\"legal\" className=\"legal-page\">\n      <div className=\"legal-container\">\n        {/* Header Section */}\n        <div className=\"legal-header\">\n          <div className=\"header-content\">\n            <h1 className=\"legal-title\">Legal & Compliance</h1>\n            <p className=\"legal-subtitle\">\n              Transparent policies for your peace of mind. Understand your rights and our commitments.\n            </p>\n            \n            {/* Search Bar */}\n            <div className=\"search-container\">\n              <FaSearch className=\"search-icon\" />\n              <input\n                type=\"text\"\n                placeholder=\"Search legal documents...\"\n                value={searchQuery}\n                onChange={(e) => setSearchQuery(e.target.value)}\n                className=\"search-input\"\n              />\n            </div>\n          </div>\n        </div>\n\n        {/* Main Content */}\n        <div className=\"legal-content\">\n          {/* Sidebar Navigation */}\n          <div className=\"legal-sidebar\">\n            <div className=\"sidebar-header\">\n              <h3>Legal Documents</h3>\n              \n            </div>\n            \n            <nav className=\"document-nav\">\n              {quickLinks.map((doc) => (\n                <button\n                  key={doc.id}\n                  className={`nav-item ${activeDocument === doc.id ? 'active' : ''}`}\n                  onClick={() => setActiveDocument(doc.id)}\n                >\n                  <span className=\"nav-icon\">{doc.icon}</span>\n                  <span className=\"nav-text\">{doc.title}</span>\n                  <FaArrowRight className=\"nav-arrow\" />\n                </button>\n              ))}\n            </nav>\n\n            {/* Quick Actions */}\n            <div className=\"quick-actions\">\n              <h4>Quick Actions</h4>\n              <div className=\"action-buttons\">\n                <button className=\"action-btn\" onClick={handleDownload}>\n                  <FaDownload />\n                  Download PDF\n                </button>\n                <button className=\"action-btn\" onClick={handlePrint}>\n                  <FaPrint />\n                  Print Document\n                </button>\n              </div>\n            </div>\n\n            {/* Document Info */}\n            <div className=\"document-info\">\n              <div className=\"info-item\">\n                <strong>Last Updated:</strong>\n                <span>{currentDocument.lastUpdated}</span>\n              </div>\n              <div className=\"info-item\">\n                <strong>Version:</strong>\n                <span>{currentDocument.version}</span>\n              </div>\n              <div className=\"info-item\">\n                <strong>Status:</strong>\n                <span className=\"status-active\">Active</span>\n              </div>\n            </div>\n          </div>\n\n          {/* Document Content */}\n          <div className=\"document-content\" ref={printRef}>\n            {/* Document Header */}\n            <div className=\"document-header\">\n              <div className=\"doc-title-section\">\n                <div className=\"doc-icon\">{currentDocument.icon}</div>\n                <div>\n                  <h2>{currentDocument.title}</h2>\n                  <p className=\"doc-summary\">{currentDocument.summary}</p>\n                </div>\n              </div>\n              \n              <div className=\"doc-meta\">\n                <div className=\"meta-badge\">\n                  <FaCheckCircle className=\"badge-icon\" />\n                  <span>Current Version</span>\n                </div>\n                <div className=\"meta-badge\">\n                  <FaExclamationTriangle className=\"badge-icon\" />\n                  <span>Legal Document</span>\n                </div>\n              </div>\n            </div>\n\n            {/* Document Sections */}\n            <div className=\"document-sections\">\n              {filteredSections.length > 0 ? (\n                filteredSections.map((section, index) => (\n                  <section key={index} className=\"legal-section\">\n                    <h3 className=\"section-title\">{section.title}</h3>\n                    <div className=\"section-content\">\n                      <p>{section.content}</p>\n                    </div>\n                    \n                  </section>\n                ))\n              ) : (\n                <div className=\"no-results\">\n                  <FaSearch className=\"no-results-icon\" />\n                  <h3>No matching sections found</h3>\n                  <p>Try adjusting your search terms or browse the document manually.</p>\n                </div>\n              )}\n            </div>\n\n          \n         \n          </div>\n        </div>\n\n        {/* Contact Section */}\n        <div className=\"legal-contact\">\n          <div className=\"contact-header\">\n            <h3>Need Legal Assistance?</h3>\n            <p>Our legal team is here to help with any questions or concerns</p>\n          </div>\n          \n          <div className=\"contact-methods\">\n            <div className=\"contact-method\">\n              <FaEnvelope className=\"contact-icon\" />\n              <div>\n                <h4>Email Support</h4>\n                <p>legalhelp@yuvaride.com</p>\n                <span>Response within 24 hours</span>\n              </div>\n            </div>\n            \n            <div className=\"contact-method\">\n              <FaPhone className=\"contact-icon\" />\n              <div>\n                <h4>Phone Support</h4>\n                <p>+91 9876543210</p>\n                <span>Mon-Fri, 9AM-6PM </span>\n              </div>\n            </div>\n            \n            <div className=\"contact-method\">\n              <FaMapMarkerAlt className=\"contact-icon\" />\n              <div>\n                <h4>Legal Department</h4>\n                <p>Madhapur, Ayyappa society</p>\n                <span>Hyderabad, 560001</span>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        {/* Cookie Consent Banner */}\n        {!acceptedCookies && (\n          <div className=\"cookie-consent\">\n            <div className=\"cookie-content\">\n              <div className=\"cookie-text\">\n                <h4>Cookie Preferences</h4>\n                <p>\n                  We use cookies to enhance your experience, analyze traffic, and personalize content. \n                  By continuing to use our site, you consent to our use of cookies.\n                </p>\n              </div>\n              <div className=\"cookie-actions\">\n                <button className=\"btn btn-primary\" onClick={handleAcceptCookies}>\n                  Accept All\n                </button>\n                <button className=\"btn btn-secondary\">\n                  Manage Preferences\n                </button>\n                <button className=\"btn btn-text\">\n                  Learn More\n                </button>\n              </div>\n            </div>\n          </div>\n        )}\n      </div>\n    </section>\n  );\n};\n\nexport default Legal;"],"mappings":"AAAA,MAAO,CAAAA,KAAK,EAAIC,QAAQ,CAAEC,MAAM,KAAQ,OAAO,CAC/C,OACEC,S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