<!doctype html>
<html lang="en" class="light">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
    <title>dAIlogue - AI Powered Conversation Assistant</title>
    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
    <style>
      /* Prevent flash of wrong background on load */
      html.light, html.light body { background-color: #FFFFFF; }
      html.dark, html.dark body { background-color: #000000; }
    </style>
    <meta name="description" content="AI Powered Conversation Assistant" />
    <meta name="author" content="Globistaan" />

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website" />
    <meta property="og:title" content="dAIlogue - AI Powered Conversation Assistant" />
    <meta property="og:description" content="AI Powered Conversation Assistant" />
    <meta property="og:site_name" content="dAIlogue" />
    
    <!-- Twitter -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="dAIlogue - AI Powered Conversation Assistant" />
    <meta name="twitter:description" content="AI Powered Conversation Assistant" />
    
    <!-- WhatsApp / General -->
    <meta property="og:image" content="https://www.dailogue.io/icons/globistaan_logo.jpg" />
    <meta property="og:image:alt" content="dAIlogue Logo" />
    <meta property="og:url" content="https://www.dailogue.io" />
    <script>
      (() => {
        const configuredSiteUrl = 'https://www.dailogue.io';
        if (!configuredSiteUrl || configuredSiteUrl.startsWith('%')) return;

        try {
          const canonicalUrl = new URL(configuredSiteUrl);
          const currentUrl = new URL(window.location.href);
          const isApexAlias = canonicalUrl.hostname === `www.${currentUrl.hostname}`;

          if (isApexAlias && currentUrl.origin !== canonicalUrl.origin) {
            currentUrl.protocol = canonicalUrl.protocol;
            currentUrl.host = canonicalUrl.host;
            window.location.replace(currentUrl.toString());
          }
        } catch {
          // The application will report an invalid environment URL during startup.
        }
      })();
    </script>
    <script type="module" crossorigin src="/assets/index-Cn_cimXH.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/react-vendor-ZDQFo2G8.js">
    <link rel="modulepreload" crossorigin href="/assets/ui-vendor-BfkFdh8_.js">
    <link rel="stylesheet" crossorigin href="/assets/css/index-DRhW0CMZ.css">
  </head>

  <body>
    <div id="root"></div>
  </body>
</html>
