// SPDX-FileCopyrightText: 2024 John Livingston // // SPDX-License-Identifier: AGPL-3.0-only function inIframe (): boolean { try { return window.self !== window.top } catch (_err) { return true } } export { inIframe }