elector("#geoloc")?.addEventListener("click", (event) => {
			event.preventDefault();
			navigator.geolocation.getCurrentPosition(
				(pos) => {
					const {
						coords: { latitude, longitude },
					} = pos;
					locationElements[0].value = latitude;
					locationElements[1].value = longitude;
					console.debug(pos);
				},
				(err) => {
					if (err.PERMISSION_DENIED) {
						alert("permission required to use geolocation api; enter manually");
					}
					if (err.POSITION_UNAVAILABLE) {
						alert("