Palladium-catalyzed 6-endo-dig oxycyclization–methoxycarbonylation toward the total synthesis of polymaxenolides