function sanitize_location(location) {
	return /** @type {T} */ (location?.replace(/\//g, '/\u200b'));
}
Prevent devtools trying to make `location` a clickable link by inserting a zero-width space
@template {string | undefined} T
@param {T} location
@returns {T};