There is a runtime error after implementing G014 Live Preview.

Error:

```
Undefined variable $workspaceId

Location:
app/modules/PublicInvitation/InvitationRenderer.php
line 138
```

Stack trace:

```
LivePreviewController
↓

PublicInvitationService::getRenderedPayloadForPreview()

↓

InvitationRenderer::prepareRenderData()
```

Please investigate the implementation.

Do not simply declare `$workspaceId`.

Determine:

1. Why `InvitationRenderer` expects `$workspaceId`.
2. Whether it should instead use data already present in the render payload.
3. Whether `workspaceId` should be passed as a method parameter.
4. Whether the renderer should remain independent from workspace lookup.

The preferred solution is to keep `InvitationRenderer` stateless.

Do not introduce global variables.

Maintain the existing architecture and identify the proper source of `workspaceId`.