Hamas said Friday that it has accepted some elements of U.S. President Donald Trump’s plan to end the war in the Gaza Strip, including giving up power and releasing all remaining hostages, but that others require further consultations among Palestinians.