How to determine calendar source ID

Hello,

I have a calendar with 3 sources:
image

Given that these sources are for different even types, when clicking on an event belonging to a respective calendar source I’d like to launch a distinct modal for each respective calendar source.

In other words, clicking on an event from source 1 launches modal 1, clicking on an event from source 2 launches modal 2, etc.

In order to do this, I need to know the calendar source or identify the calendar source in some other way. The issue I’m running into is that the following are the only parameters available on Event Click:
image

The ID is the record ID so unfortunately that will not work. The closest I can get to is employing unique titles for each calendar source and applying conditional logic based on event title however this isn’t the cleanest approach.

Has anyone run into this before or have any ideas on an approach to tackle this?

I tried the following:
Assign the calendar source a unique Group ID
Then on event click IF the Group ID = the unique Group ID, we’re in business.

$event.event.groupId == 'sourceUserEvents'

This did not work.

Based on this, I am guessing that the event does not expose the Group ID.