link && link.origin === location.origin && link.pathname === location.pathname && link.search === location.search && (open = false))($event.target.closest('a'))"
@pageshow.window="if ($event.persisted && open) { const bar = $root.closest('header'); bar.dataset.menuInstant = ''; open = false; setTimeout(() => delete bar.dataset.menuInstant, 100) }"
x-effect="((bar) => { open && bar.style.setProperty('--menu-top', bar.getBoundingClientRect().top + 'px'); bar.dataset.menu = open })($root.closest('header'))"
x-transition:enter="transition-[clip-path,opacity] duration-350 ease-settle motion-reduce:transition-opacity motion-reduce:duration-150"
x-transition:enter-start="opacity-0 [clip-path:inset(0_0_100%_0)] motion-reduce:[clip-path:none]" x-transition:enter-end="[clip-path:inset(0_0_0_0)]"
x-transition:leave="transition-[clip-path,opacity] duration-250 ease-settle motion-reduce:transition-opacity motion-reduce:duration-150"
x-transition:leave-start="[clip-path:inset(0_0_0_0)]" x-transition:leave-end="[clip-path:inset(0_0_100%_0)] motion-reduce:opacity-0 motion-reduce:[clip-path:none]"
class="absolute inset-x-0 top-full h-[calc(100dvh-100%-var(--menu-top,0px))] overflow-y-auto overscroll-contain border-t border-zinc-700 [overflow-anchor:none] lg:hidden">