Voronoi curve trim with surface

first of all, pls have a look at this link:

secondly, your areas have holes in them and this usually complicates things.
I don’t know if the following solution is the best, but it works:
voronoi.gh (19.8 KB)