export function getURLSearchParams(value?: string): URLSearchParams { value ??= `${location.search}&${location.hash.split('?')[1] || ''}`; return new URLSearchParams(value); }