Adaptive gain sliding mode control for a totem-pole PFC with EV charger application, meeting the affected grid's power quality constraints | Synapse