Foam insulation in tank is bubbling and deforming causing the flapper to be obstructed in both flushing and seating. Removed foam from tank on front facing side and tested for leaks. Replaced flapper and fill valve at customer’s request and tightened packing nut on toilet shut off.