const getDocumentActiveElement = (element) => {
	try {
		return (typeof element === "string" ? document.querySelector(element) : element).getRootNode().activeElement;
	} catch (e) {
		console.error("Feil ved å ta tak i active element basert på angitt node: ", element, e);
		return null;
	}
};
export { getDocumentActiveElement as t };

//# sourceMappingURL=focus.js.map