'*');
          },
          { once: true },
        );
        document.body.appendChild(iframe);
      };

      addEventListener('message', (ev) => {
        if (ev.source != window.opener) return;
        if (ev.data.url) {
          url = ev.data.url;
          window.opener.postMessage({ type: 'ready' }, '*');
          return;
        }
        const result = ev.data.result;
        if (url == null || result == null) return;
        createIframe(result);
      });

      window.opener.postMessage({ t