Export settings for HDR content in Final Cut

Hello! I have not found a proper export setting in Final Cut Pro that allows me to export HDR content to upload to Envato. The setting I normally use exports the file in HEVC, which is not accepted. If I change to H.264, the file loses it’s HDR. If I change to ProRes, the file size is astronomical. Anyone know how to do this? Thanks!