Smart antioxidant-containing polymer