{{-- Global slide-over shell — see ApercuPanel.php for the "why" (content- agnostic, dynamic component mounting). Only the shell (expand button + close button, both provided/positioned by Filament's own modal component) lives here; whatever $component is set to renders its own content below. --}} @if ($contentComponent) {{-- $openCount (not just $contentComponent+$params) is part of the key — see the property's docblock in ApercuPanel.php for why reopening identical content needs a genuinely fresh child component. --}} @livewire($contentComponent, $params, key($contentComponent.':'.$openCount)) @endif