Class managing the viewport and canvas resizing functionality
Creates a new Viewport instance
The HTML canvas element to observe and manage
RPC client for viewport communication
The HTML canvas element used for rendering
Cleans up resources by removing resize observer and clearing timeouts
Updates the aspect ratio of the viewport on the server
Class managing the viewport and canvas resizing functionality