dateHeartbeat() {
        if (!currentHeartRate) return;

        // Clear existing interval if any
        if (heartbeatInterval) {
          clearInterval(heartbeatInterval);
        }

        // Calculate beat duration based on current heart rate
        const beatDuration = 60000 / currentHeartRate; // Duration for one complete beat
        const beatSpeed = beatDuration * 0.2; // Make animation take 20% of the beat duration

        heartbeatInterval = setInterval(() => {
          const heart = docum