Electrochemical CO2 reduction integrated with membrane/adsorption-based CO2 capture in gas-diffusion electrodes and electrolytes