const getRedirectTo = function () {
let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
return encodeURIComponent(value !== undefined ? value : "".concat(window.location.pathname).concat(window.location.search));
};
export default getRedirectTo;