Put the physalis, sugar and cornstarch together in a pot over medium heat and bring to a boil, stirring occasionally. When it starts boiling, simmer for 8–10 minutes until the sugar has dissolved completely and the mixture has become thick. Set aside.
Preheat the oven to 360°F and cover an 8×8-inch dish with baking paper.
In a bowl, combine the flour, oatmeal and oil, making sure to form crumble pieces. Lastly, add the panela and pumpkin seeds. Finish adding with your fingers.
Put half of the crumble in the dish and press to form an even base, then spread the physalis filling, and finally distribute the remaining crumble without pressing. Pour a fine thread of maple syrup over the crumble.
Bake for 35-40 minutes until brown.
Allow to cool and cut into 16 bars.