dingClientRect();
		return {
			x: ( event.clientX - rect.left ) * canvas.width / rect.width,
			y: ( event.clientY - rect.top ) * canvas.height / rect.height,
		};

	}

	function recordStartTimeAndPosition( event ) {

		startTimeMs = performance.now();
		const pos = getCanvasRelativePosition( event );
		startPosition.x = pos.x;
		startPosition.y = pos.y;

	}

	function pickCountry( event ) {

		// exit if we have not loaded the data yet
		if ( ! countryInfos ) {

			return;

		}

		// if it's been a moment