+
+ {duration > 0 && (
+ <>
+
seek(Number(e.target.value))}
+ aria-label={t.svgAnimation.progress}
+ className="hidden h-2 min-w-0 flex-1 cursor-pointer accent-primary sm:block"
+ />
+
+ {formatTime(current)} / {formatTime(duration)}
+
+ >
+ )}
+
+ {!!narrationSegments?.length && (
+ narration.setEnabled(!narration.enabled, svgRef.current?.getCurrentTime() ?? 0)}
+ onCycleRate={narration.cycleRate}
+ />
+ )}
+
+