Text this: Mid-Infrared Photonic Sensors: Exploring Fundamentals, Advanced Materials, and Cutting-Edge Applications