(Part of: https://www.val.town/v/vtdocs.resyBot)
This val attempts to return a single valid slot (per the time range requirements).
If there are no valid slots, it throws an error.
When there are multiple valid slots, it picks the middle slot (by ordering, not necessarily by time).
https://esm.town/v/vtdocs/resyGetMatchingSlot
<script type="module" src="https://esm.town/v/vtdocs/resyGetMatchingSlot"></script>