✅ Can't get the Layout feature to work at runtime on a webpage

I’ve set up a responsive tabbed web widget that works great inside Rive. It responds to resizing the artboard, etc. You can see it live on this sample page:

https://reubenlara.com/fitcheven/

The widget, however, is fixed in it’s size and not filling it’s parent container. The Artboard is not being responsive to the parent div. In the URL example above, I’m implementing this inside a Divi code block in a basic Fullwidth Row, nothing more. Here’s the code i’m using:

const r2 = new rive.Rive({
        src: "https://reubenlara.com/wp-content/uploads/rive/content_tabs-03.riv",
        canvas: document.getElementById("contenttabs"),
        autoplay: true,
        artboard: "Artboard", 
        stateMachines: ["State Machine 1"],
        onLoad: () => {
           r2.resizeDrawingSurfaceToCanvas();
        },
      });

This works great, but it isn’t responsive. As soon as I had the Layout switch, as per the documentation, as one of the options:

...
layout: new Layout({
 fit: Fit.Layout,
}),
...

…it breaks and nothing shows up on the page. Am I missing something that triggers the Layout responsiveness?

I’ve attached the Rive file. Thanks!

content_tabs.rev