export function openUrl(url) {
    if (window.self !== window.top) {
        window.parent.postMessage({ type: 'otto-open-url', url }, '*');
    }
    else {
        window.open(url, '_blank', 'noopener,noreferrer');
    }
}
//# sourceMappingURL=open-url.js.map