// t24-data.jsx — service catalog + dummy entities (providers, requests, reviews)
// All data drawn from category-services-data.js so the prototype reflects the real taxonomy.

const T24_CATEGORIES = [
  { id: 'education',    name: 'Education, Training & Consultation', bn: 'শিক্ষা ও প্রশিক্ষণ',         icon: 'education',    count: 7,  desc: 'Academic, skill-based and career training' },
  { id: 'it',           name: 'IT & Digital Services',             bn: 'আইটি ও ডিজিটাল সেবা',         icon: 'it',           count: 6,  desc: 'Dev, design, marketing and media' },
  { id: 'professional', name: 'Professional & Consultancy',         bn: 'পেশাজীবী পরামর্শ',           icon: 'professional', count: 12, desc: 'Legal, finance, HR, events, photography' },
  { id: 'household',    name: 'Household & Utility Services',       bn: 'গৃহস্থালি ও ইউটিলিটি',       icon: 'household',    count: 16, desc: 'Maintenance, cleaning, repair, care' },
  { id: 'healthcare',   name: 'Healthcare & Wellness',              bn: 'স্বাস্থ্যসেবা',               icon: 'healthcare',   count: 10, desc: 'Medical, therapy, emergency, nutrition' },
  { id: 'food',         name: 'Food, Grocery & Beverage',           bn: 'খাবার, মুদি ও পানীয়',         icon: 'food',         count: 16, desc: 'Fresh food, groceries, retail & wholesale' },
  { id: 'transport',    name: 'Transport, Courier & Bazar',         bn: 'পরিবহন ও কুরিয়ার',           icon: 'transport',    count: 7,  desc: 'Driving, delivery, vehicle, bazar' },
  { id: 'engineering',  name: 'Interior, Engineering & Technical',  bn: 'ইন্টেরিয়র ও টেকনিক্যাল',     icon: 'engineering',  count: 7,  desc: 'Construction, home tech, repair' },
  { id: 'creative',     name: 'Painting & Calligraphy',             bn: 'চিত্রকলা ও ক্যালিগ্রাফি',     icon: 'creative',     count: 2,  desc: 'Hand & digital art for homes and events' },
  { id: 'agro',         name: 'Agro & Farming Services',            bn: 'কৃষি ও খামার সেবা',           icon: 'agro',         count: 5,  desc: 'Agriculture and farming consultation' },
  { id: 'buysell',      name: 'Buy & Sell Services',                bn: 'কেনাবেচা সেবা',               icon: 'buysell',      count: 6,  desc: 'Real estate, vehicles, electronics' },
];

// Subset of services flat list — short, icon, category id, name, retail/wholesale flag.
const T24_SERVICES = [
  // popular surface
  { s: 'electrician',      name: 'Electrician',           bn: 'ইলেকট্রিশিয়ান',     cat: 'household',    rw: false, hot: true },
  { s: 'housecleaning',    name: 'House Cleaning',        bn: 'বাসা পরিষ্কার',       cat: 'household',    rw: false, hot: true },
  { s: 'plumbing',         name: 'Plumbing & Sanitary',   bn: 'প্লাম্বিং',           cat: 'household',    rw: false, hot: true },
  { s: 'ac',               name: 'AC Servicing',          bn: 'এসি সার্ভিসিং',       cat: 'engineering',  rw: false, hot: true },
  { s: 'tuition',          name: 'Tuition',               bn: 'টিউশন',               cat: 'education',    rw: false, hot: true },
  { s: 'sadevelopment',    name: 'Software / App Dev',    bn: 'সফটওয়্যার ডেভেলপমেন্ট', cat: 'it',         rw: false, hot: true },
  { s: 'graphics',         name: 'Graphics Work',         bn: 'গ্রাফিক্স',           cat: 'it',           rw: false, hot: true },
  { s: 'driver',           name: 'Driver',                bn: 'ড্রাইভার',            cat: 'transport',    rw: false, hot: true },
  { s: 'bazar',            name: 'Bazar Service',         bn: 'বাজার সেবা',          cat: 'transport',    rw: false, hot: true },
  { s: 'doctor',           name: 'Doctor',                bn: 'ডাক্তার',             cat: 'healthcare',   rw: false },
  { s: 'nursing',          name: 'Nursing at Home',       bn: 'বাড়িতে নার্সিং',     cat: 'healthcare',   rw: false },
  { s: 'ambulance',        name: 'Ambulance Service',     bn: 'অ্যাম্বুলেন্স',       cat: 'healthcare',   rw: false },
  { s: 'pharmacy',         name: 'Medicine & Pharmacy',   bn: 'ঔষধ ও ফার্মেসি',     cat: 'healthcare',   rw: false },
  { s: 'fdelivery',        name: 'Food Delivery',         bn: 'ফুড ডেলিভারি',        cat: 'food',         rw: false },
  { s: 'catering',         name: 'Catering & Cooking',    bn: 'কেটারিং',             cat: 'food',         rw: false },
  { s: 'vegetables',       name: 'Vegetables',            bn: 'সবজি',                cat: 'food',         rw: true  },
  { s: 'grocery',          name: 'Grocery Items',         bn: 'মুদি পণ্য',           cat: 'food',         rw: true  },
  { s: 'fish',             name: 'Fish',                  bn: 'মাছ',                 cat: 'food',         rw: true  },
  { s: 'meat',             name: 'Meat & Mutton',         bn: 'মাংস',                cat: 'food',         rw: true  },
  { s: 'fruits',           name: 'Fruits',                bn: 'ফল',                  cat: 'food',         rw: true  },
  { s: 'cmilk',            name: 'Cow Milk (Pure)',       bn: 'গরুর দুধ',            cat: 'food',         rw: true  },
  { s: 'honey',            name: 'Pure Honey',            bn: 'খাঁটি মধু',           cat: 'food',         rw: true  },
  { s: 'organic',          name: 'Organic Foods',         bn: 'অর্গানিক খাবার',     cat: 'food',         rw: true  },
  { s: 'ltraining',        name: 'Language Training',     bn: 'ভাষা প্রশিক্ষণ',     cat: 'education',    rw: false },
  { s: 'ctraining',        name: 'Computer Training',     bn: 'কম্পিউটার ট্রেনিং',   cat: 'education',    rw: false },
  { s: 'dteaching',        name: 'Driving Training',      bn: 'ড্রাইভিং প্রশিক্ষণ',  cat: 'education',    rw: false },
  { s: 'dmarketing',       name: 'Digital Marketing/SEO', bn: 'ডিজিটাল মার্কেটিং',  cat: 'it',           rw: false },
  { s: 'cmaking',          name: 'Content Making',        bn: 'কনটেন্ট তৈরি',        cat: 'it',           rw: false },
  { s: 'itsupport',        name: 'IT Support',            bn: 'আইটি সাপোর্ট',        cat: 'it',           rw: false },
  { s: 'lawyer',           name: 'Lawyer',                bn: 'আইনজীবী',             cat: 'professional', rw: false },
  { s: 'incometax',        name: 'Income Tax Service',    bn: 'আয়কর সেবা',          cat: 'professional', rw: false },
  { s: 'hr',               name: 'HR Recruitment',        bn: 'এইচআর',               cat: 'professional', rw: false },
  { s: 'photography',      name: 'Photography',           bn: 'ফটোগ্রাফি',           cat: 'professional', rw: false },
  { s: 'events',           name: 'Event Management',      bn: 'ইভেন্ট ম্যানেজমেন্ট', cat: 'professional', rw: false },
  { s: 'matchmaking',      name: 'Matchmaking',           bn: 'ঘটক',                 cat: 'professional', rw: false },
  { s: 'hpainting',        name: 'House Painting',        bn: 'বাসা রঙ',             cat: 'household',    rw: false },
  { s: 'carpenter',        name: 'Carpenter',             bn: 'কাঠমিস্ত্রি',         cat: 'household',    rw: false },
  { s: 'lpg',              name: 'LPG Refill',            bn: 'এলপিজি গ্যাস',        cat: 'household',    rw: false },
  { s: 'salon',            name: 'Salon Service',         bn: 'সেলুন',               cat: 'household',    rw: false },
  { s: 'beautyparlour',    name: 'Beauty Parlour',        bn: 'বিউটি পার্লার',       cat: 'household',    rw: false },
  { s: 'shifting',         name: 'House/Office Shifting', bn: 'বাসা শিফটিং',         cat: 'household',    rw: false },
  { s: 'security',         name: 'Security Guard',        bn: 'সিকিউরিটি গার্ড',     cat: 'household',    rw: false },
  { s: 'tolet',            name: 'To-let',                bn: 'ভাড়া',                cat: 'household',    rw: false },
  { s: 'pcontrol',         name: 'Pest Control',          bn: 'পেস্ট কন্ট্রোল',     cat: 'household',    rw: false },
  { s: 'fridge',           name: 'Fridge Servicing',      bn: 'ফ্রিজ সার্ভিসিং',    cat: 'engineering',  rw: false },
  { s: 'interior',         name: 'Interior Designing',    bn: 'ইন্টেরিয়র ডিজাইন',   cat: 'engineering',  rw: false },
  { s: 'construction',     name: 'Building Construction', bn: 'বিল্ডিং কনস্ট্রাকশন', cat: 'engineering',  rw: false },
  { s: 'courier',          name: 'Courier / Parcel',      bn: 'কুরিয়ার',             cat: 'transport',    rw: false },
  { s: 'vrent',            name: 'Vehicle Rent',          bn: 'গাড়ি ভাড়া',          cat: 'transport',    rw: false },
  { s: 'artpaint',         name: 'Art Painting',          bn: 'আর্ট পেইন্টিং',       cat: 'creative',     rw: false },
  { s: 'calligraphy',      name: 'Calligraphy',           bn: 'ক্যালিগ্রাফি',        cat: 'creative',     rw: false },
  { s: 'cattle',           name: 'Agro Cattle',           bn: 'পশু পরামর্শ',         cat: 'agro',         rw: false },
  { s: 'poultry',          name: 'Agro Poultry',          bn: 'পোলট্রি পরামর্শ',     cat: 'agro',         rw: false },
  { s: 'fertilizer',       name: 'Fertilizer',            bn: 'সার',                 cat: 'agro',         rw: true  },
  { s: 'flatbuysell',      name: 'Flat Buy & Sell',       bn: 'ফ্ল্যাট কেনাবেচা',   cat: 'buysell',      rw: false },
  { s: 'mobilebuysell',    name: 'Mobile Buy & Sell',     bn: 'মোবাইল কেনাবেচা',    cat: 'buysell',      rw: false },
];

// Provider mock entities — used by the prototype's search results / dashboards.
const T24_PROVIDERS = [
  { id: 'p1', name: 'Md. Rafiq Hasan',   profession: 'Senior Electrician',     services: ['electrician','ac'],            rating: 4.9, jobs: 320, area: 'Dhanmondi, Dhaka',   verified: true,  online: true,  experience: '6 yrs', avatar: 'R' },
  { id: 'p2', name: 'Jahanara Begum',    profession: 'House Cleaner',          services: ['housecleaning','pcontrol'],    rating: 4.8, jobs: 198, area: 'Mirpur 10, Dhaka',  verified: true,  online: true,  experience: '4 yrs', avatar: 'J' },
  { id: 'p3', name: 'Maruf Khan',        profession: 'Licensed Driver',         services: ['driver'],                      rating: 4.8, jobs: 160, area: 'Uttara, Dhaka',     verified: true,  online: false, experience: '5 yrs', avatar: 'M' },
  { id: 'p4', name: 'Tania Akter',       profession: 'English Tutor',           services: ['tuition','ltraining'],         rating: 4.9, jobs: 88,  area: 'Banani, Dhaka',     verified: true,  online: true,  experience: '3 yrs', avatar: 'T' },
  { id: 'p5', name: 'Sajid Rahman',      profession: 'App Developer',           services: ['sadevelopment','itsupport'],   rating: 5.0, jobs: 42,  area: 'Gulshan, Dhaka',    verified: true,  online: true,  experience: '5 yrs', avatar: 'S' },
  { id: 'p6', name: 'Riaz Khan',         profession: 'AC & Fridge Tech',        services: ['ac','fridge'],                 rating: 4.7, jobs: 231, area: 'Mohammadpur, Dhaka',verified: true,  online: false, experience: '7 yrs', avatar: 'R' },
  { id: 'p7', name: 'Selim Hasan',       profession: 'Plumber',                  services: ['plumbing'],                    rating: 4.8, jobs: 198, area: 'Bashundhara, Dhaka',verified: true,  online: true,  experience: '4 yrs', avatar: 'S' },
  { id: 'p8', name: 'Dr. Nadia Sultana', profession: 'General Physician',       services: ['doctor','nutrition'],          rating: 4.9, jobs: 540, area: 'Dhanmondi, Dhaka',  verified: true,  online: true,  experience: '8 yrs', avatar: 'N' },
];

const T24_REQUESTS = [
  { id: 'r-2401', service: 'electrician',   provider: 'p1', taker: 'Ayesha Rahman', status: 'inprogress', date: 'Today · 11:30 AM', note: '2 ceiling fans + 1 socket replacement', amount: 'BDT 1,200', area: 'Dhanmondi 27' },
  { id: 'r-2402', service: 'housecleaning', provider: 'p2', taker: 'Imran Hossain', status: 'pending',    date: 'Tomorrow · 9:00 AM', note: 'Full apartment deep clean, 3 rooms',     amount: 'BDT 2,400', area: 'Mirpur DOHS' },
  { id: 'r-2403', service: 'ac',            provider: 'p6', taker: 'Tasneem Akhter', status: 'discuss',   date: '15 May · 4:00 PM',  note: 'AC not cooling — need diagnosis',         amount: 'TBD',       area: 'Mohammadpur' },
  { id: 'r-2404', service: 'sadevelopment', provider: 'p5', taker: 'Sumaiya Pervin', status: 'done',      date: 'Last week',         note: 'Logo & landing page for boutique',        amount: 'BDT 8,000', area: 'Gulshan 2' },
  { id: 'r-2405', service: 'tuition',       provider: 'p4', taker: 'Hasibul Hasan',  status: 'done',      date: 'Last month',        note: 'Class 10 English · 3 days/wk',            amount: 'BDT 6,000', area: 'Banani 11' },
];

const T24_REVIEWS = [
  { id: 'rv1', stars: 5, by: 'Ayesha R.',     date: '2 days ago',  text: 'Very professional. Arrived on time, finished the job cleanly. Recommended.' },
  { id: 'rv2', stars: 5, by: 'Imran H.',      date: '1 week ago',  text: 'Great communication and fair rate. Will book again.' },
  { id: 'rv3', stars: 4, by: 'Tasneem A.',    date: '2 weeks ago', text: 'Good service overall. Took slightly longer than expected.' },
  { id: 'rv4', stars: 5, by: 'Sumaiya P.',    date: '1 month ago', text: 'Excellent work, clear deliverables and friendly attitude.' },
];

const T24_NOTIFICATIONS = [
  { id: 'n1', type: 'request', t: 'New request match',     m: 'Md. Rafiq accepted your request #r-2401', when: '2 min', read: false },
  { id: 'n2', type: 'review',  t: 'New review received',   m: 'Ayesha left you a 5★ review',              when: '1 hr',  read: false },
  { id: 'n3', type: 'safety',  t: 'Safety reminder',       m: 'Never share PIN or OTP with anyone',       when: 'Today', read: true  },
  { id: 'n4', type: 'task',    t: 'Task marked complete',  m: 'House Cleaning · BDT 2,400 received',      when: 'Yest.', read: true  },
  { id: 'n5', type: 'email',   t: 'Email verified',        m: 'You can now receive booking confirmations',when: '2 days',read: true  },
];

const T24_DISTRICTS = ['Dhaka', 'Chattogram', 'Khulna', 'Rajshahi', 'Sylhet', 'Barishal', 'Rangpur', 'Mymensingh'];

window.T24_CATEGORIES   = T24_CATEGORIES;
window.T24_SERVICES     = T24_SERVICES;
window.T24_PROVIDERS    = T24_PROVIDERS;
window.T24_REQUESTS     = T24_REQUESTS;
window.T24_REVIEWS      = T24_REVIEWS;
window.T24_NOTIFICATIONS= T24_NOTIFICATIONS;
window.T24_DISTRICTS    = T24_DISTRICTS;
