Join in-between areas of offset curves

I would like to split a surface with a series of input curves. To be able to filter out the result, the in-between surfaces need to be continuous, so they can be sorted by their bounding box value, which is larger than any of the other surfaces.
This requires me to join the region within the input curves. These input curves have been offset to both sides and overlap each other. This is no problem when the lines themselves leave an open region (see solution group in the script), however, the region union component no longer achieves the desired result with closed in-between curves. How do I manage to get rid of the lines in between the outlines?

Intermediate (37.3 KB)

Is this what you want?

Intermediate (37.6 KB)


Yup, that’s it. I hadn’t even seen that the curves were already created! Thanks!