/* IGI — Claims Center */
function Claims({ navigate }) {
const [tab, setTab] = React.useState('file');
return (
<>
Claims Center
We're here when
things go wrong.
File a new claim in minutes, track an existing one, or request emergency assistance — 24 hours a day, 7 days a week.
{tab === 'file' &&
}
{tab === 'track' &&
}
{tab === 'help' &&
}
>
);
}
function FileClaim() {
const [step, setStep] = React.useState(0);
const types = [
{ id: 'motor', i: I.Car, l: 'Motor', d: 'Accident, theft, damage' },
{ id: 'home', i: I.Home, l: 'Home', d: 'Burglary, fire, leakage' },
{ id: 'health', i: I.Heart, l: 'Health', d: 'Hospitalization, OPD' },
{ id: 'travel', i: I.Plane, l: 'Travel', d: 'Cancellation, baggage' },
];
const [type, setType] = React.useState('motor');
return (
{step === 0 && (
<>
Step 1 of 3
What type of claim is this?
Pick the policy type that matches your incident.
{types.map(t => {
const sel = type === t.id;
return (
);
})}
>
)}
{step === 1 && (
<>
Step 2 of 3
Tell us what happened
The more detail you give, the faster we can act.
>
)}
{step === 2 && (
Claim submitted
Reference number: CLM-2026-04821
What happens next
SMS confirmation sent to your registered mobile
Surveyor will call within 4 working hours
Track progress in your dashboard or via SMS updates
)}
);
}
function ClaimSidebar() {
return (
Did you know?
85% of motor claims under PKR 500,000 are settled within 7 working days when filed with photos and FIR (where applicable).
);
}
function TrackClaim() {
const [search, setSearch] = React.useState('CLM-2026-04621');
const stages = [
{ l: 'Claim filed', d: 'Apr 28, 2026', done: true, time: '10:42 AM' },
{ l: 'Surveyor assigned', d: 'Apr 28, 2026', done: true, time: '01:15 PM', sub: 'Mr. Imran Shah · +92 300-XXXXXXX' },
{ l: 'Survey completed', d: 'Apr 29, 2026', done: true, time: '11:30 AM' },
{ l: 'Estimate approved', d: 'Apr 30, 2026', done: true, time: '04:20 PM', sub: 'Approved amount: PKR 187,400' },
{ l: 'Repair in progress', d: 'May 02, 2026', done: false, current: true, sub: 'Workshop: Toyota Defence Motors' },
{ l: 'Vehicle delivered', d: 'Expected May 8', done: false },
{ l: 'Payment settled', d: 'Expected May 10', done: false },
];
return (
Claim ID
CLM-2026-04621
Toyota Corolla 2024 · Karachi · Accident damage
IN PROGRESS
{stages.map((s, i) => (
{s.done && }
{i < stages.length - 1 && (
)}
{s.l}
{s.d} {s.time && `· ${s.time}`}
{s.sub &&
{s.sub}
}
))}
Your claim handler
IS
Imran Shah
Senior Surveyor · Karachi
Documents
{['Survey report', 'Estimate approval', 'FIR copy'].map(d => (
{d}
))}
);
}
function EmergencyHelp() {
const cards = [
{ i: I.Wrench, l: 'Roadside breakdown', d: 'Tow, jump-start, flat tyre — anywhere within 50km of major cities.', cta: 'Request tow' },
{ i: I.Hospital, l: 'Medical emergency', d: 'Cashless admission at 450+ panel hospitals. Zero wait at front desk.', cta: 'Find hospital' },
{ i: I.Phone, l: 'Speak to a human', d: '24/7 multilingual helpline. Average wait time: 22 seconds.', cta: 'Call now' },
];
return (
);
}
function Field({ label, children }) {
return {children}
;
}
window.Claims = Claims;