{\n if (tabBarRef.current && e.deltaY !== 0) {\n tabBarRef.current.scrollLeft += e.deltaY\n e.preventDefault()\n }\n }}\n onKeyDown={handleKeyDown}\n className={cn('relative flex gap-4 overflow-x-auto px-4 py-5 scrollbar-hide', fadeClass)}\n >\n {items.map((item) => {\n const isActive = item.id === activeId\n return (\n
\n {activeUnderline === 'shimmer' ? (\n // Occasional \"special\" tab (e.g. an aggregate / About tab): a dimmed\n // accent line with a slow full-accent sweep. Reduced motion keeps\n // the plain full-strength line.\n reduced ? (\n
\n ) : (\n <>\n
\n
\n >\n )\n ) : activeUnderline === 'wave' ? (\n
\n ) : activeProgress === 'indeterminate' ? (\n // Free / count streaks (no target): segment accumulation when the\n // item carries its tally, else the plain dotted line.\n
\n ) : activeProgress == null ? (\n
\n ) : (\n // End goal / completion: the determinate progress bar (track color\n // from --wj-progress-track, full-accent fill).\n
\n )}\n