All-optical temporal integration mediated by subwavelength heat antennas