{{-- Small inline outline icons (Heroicons style). Usage: --}}
@props(['name'])
@php
$paths = [
'building' => 'M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21',
'link' => 'M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244',
'phone' => 'M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3',
'chart' => 'M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z',
'shield' => 'M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z',
'doc' => 'M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z',
'lab' => 'M9.75 3.104v5.714a2.25 2.25 0 01-.659 1.591L5 14.5m4.75-11.396c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 014.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19.8 15.3M14.25 3.104c.251.023.501.05.75.082M19.8 15.3l-1.57.393A9.065 9.065 0 0112 15a9.065 9.065 0 00-6.23-.693L5 14.5m14.8.8l1.402 1.402c1.232 1.232.65 3.318-1.067 3.611A48.309 48.309 0 0112 21c-2.773 0-5.491-.235-8.135-.687-1.718-.293-2.3-2.379-1.067-3.61L5 14.5',
'heart' => 'M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z',
'id' => 'M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5zm6-10.125a1.875 1.875 0 11-3.75 0 1.875 1.875 0 013.75 0zm1.294 6.336a6.721 6.721 0 01-3.17.789 6.721 6.721 0 01-3.168-.789 3.376 3.376 0 016.338 0z',
'bill' => 'M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5z',
// Product icons: hospital (HMIS), microscope (LMIS), stethoscope (CLINIC).
'hmis' => 'M3.75 21h16.5M5.25 21V4.5h13.5V21M12 7.5v4.5m-2.25-2.25h4.5M9.75 21v-4.5h4.5V21M7.5 14.25h.75m7.5 0h.75',
'lmis' => 'M9.75 3h4.5v8.25h-4.5zM8.25 15h7.5M14.25 6.75a5.25 5.25 0 010 10.5M9.75 15v6M14.25 17.25V21M5.25 21h13.5',
'clinic' => 'M5.25 3h1.5m7.5 0h1.5M6 3v5.25a4.5 4.5 0 009 0V3M10.5 12.75V18a3 3 0 003 3H18v-3.75M20.25 15a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z',
// Module icons: bed (IPD), scan (radiology), pill (pharmacy), scissors (OT), box (inventory), users (HR), cloud, clock.
'bed' => 'M3 19.5V6M3 15h18v4.5M21 15v-2.25A2.25 2.25 0 0018.75 10.5H11.25V15M9 11.25a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z',
'pill' => 'M10.5 20.5l10-10a4.95 4.95 0 10-7-7l-10 10a4.95 4.95 0 107 7zM8.5 8.5l7 7',
'box' => 'M21 7.5l-9-5.25L3 7.5m18 0l-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9',
'users' => 'M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z',
'cloud' => 'M2.25 15a4.5 4.5 0 004.5 4.5H18a3.75 3.75 0 001.332-7.257 3 3 0 00-3.758-3.848 5.25 5.25 0 00-10.233 2.33A4.502 4.502 0 002.25 15z',
'check' => 'M4.5 12.75l6 6 9-13.5',
'arrow' => 'M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3',
'lock' => 'M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z',
'alert' => 'M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.008v.008H12v-.008z',
// Navigation and contact bar.
'mail' => 'M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75',
'call' => 'M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 002.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 01-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 00-1.091-.852H4.5A2.25 2.25 0 002.25 4.5v2.25z',
'chevron' => 'M19.5 8.25l-7.5 7.5-7.5-7.5',
'menu' => 'M3.75 6.75h16.5M3.75 12h16.5M3.75 17.25h16.5',
'close' => 'M6 18L18 6M6 6l12 12',
'calendar' => 'M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5',
'bell' => 'M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0',
'search' =>'M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z',
];
// Icons that need more than one shape. Same 24x24 grid, 1.5 outline stroke as the paths above.
// The markup is fixed text written here, never user input.
$shapes = [
'user-plus' => '',
'calendar-check' => '',
'emr' => '',
'ambulance' => '',
'xray' => '',
'surgical-lamp' => '',
'heart-pulse' => '',
'scale' => '',
'people-row' => '',
'broom' => '',
'utensils' => '',
'pacs' => '',
'truck' => '',
'graduation' => '',
'tv' => '',
'monitor-chart' => '',
'headset' => '',
'folder-medical' => '',
'layers' => '',
'store' => '',
'shield-plus' => '',
'map-pin' => '',
'clipboard-check' => '',
'test-tubes' => '',
'clipboard-list' => '',
'printer' => '',
'receipt-rupee' => '',
// Specialty care modules: tooth (dental), gas cylinder with hose and mask (anaesthesia), baby face (labour room),
// female symbol (gynaecology), kidney with a droplet (dialysis).
'tooth' => '',
'anaesthesia' => '',
'baby' => '',
'gynae' => '',
'kidney' => '',
'droplet' => '',
'petri-dish' => '',
'microscope' => '',
'analyzer' => '',
'sparkles' => '',
// More specialty and front-desk modules: QR scan frame (scan & register), bedside monitor over a bed (ICU), figure lifting
// weights (physiotherapy), ear (ENT), eye (ophthalmology), bone (orthopaedics), scalpel (general surgery),
// shield with a rupee sign (insurance & TPA), calendar with a clock (duty management).
'qr-scan' => '',
'icu-bed' => '',
'physio' => '',
'ear' => '',
'eye' => '',
'bone' => '',
'scalpel' => '',
'shield-rupee' => '',
'calendar-clock' => '',
// WhatsApp: a chat bubble with its tail at the bottom left and a phone handset inside (the handset is the 'call'
// path drawn at half size, with a doubled stroke so it keeps the same line weight).
'whatsapp' => '',
// Text message (SMS): a square speech bubble with three dots, so it reads differently from the round WhatsApp bubble.
'sms' => '',
];
@endphp