public function show(ServerRequestInterface $request, Tree $tree, ClipboardService $clipboard_service): ResponseInterface
    {
        $xref   = $request->get('xref', '');
        $record = Note::getInstance($xref, $tree);

        Auth::checkNoteAccess($record, false);

        return $this->viewResponse('note-page', [
            'clipboard_facts' => $clipboard_service->pastableFacts($record, new Collection()),
            'facts'         => $this->facts($record),
            'families'      => $record->linkedFamilies('NOTE'),
            'individuals'   => $record->linkedIndividuals('NOTE'),
            'note'          => $record,
            'notes'         => [],
            'media_objects' => $record->linkedMedia('NOTE'),
            'meta_robots'   => 'index,follow',
            'sources'       => $record->linkedSources('NOTE'),
            'text'          => Filter::formatText($record->getNote(), $tree),
            'title'         => $record->fullName(),
        ]);
    }