function bind_focused(element, set) {
	listen(element, ['focus', 'blur'], () => {
		set(element === document.activeElement);
	});
}
@param {HTMLElement} element
@param {(value: unknown) => void} set
@returns {void}