<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <!-- Empty placeholder — useDynamicFavicon sets the real favicon once
         Firestore confirms whether a custom one exists, then falls back to the
         static asset. This prevents the static favicon from flashing before
         the Firestore config is known. -->
    <link rel="icon" href="data:," />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Viago Pay</title>

    <!-- Pre-establish connections to external origins used at runtime so
         TCP+TLS handshakes are already done when JS requests them. -->
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link rel="preconnect" href="https://firestore.googleapis.com" />
    <link rel="preconnect" href="https://identitytoolkit.googleapis.com" />
    <link rel="preconnect" href="https://securetoken.googleapis.com" />

    <!-- Load Inter directly from the HTML <head> so the browser fetches it at
         parse time rather than after JS executes (eliminates the webfontloader
         JS waterfall — saves one full JS-execution round-trip). -->
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap"
    />

    <link rel="stylesheet" type="text/css" href="/loader.css" />
    <script type="module" crossorigin src="/assets/index-DQmgmr8M.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/vendor-charts-BUHwCNWF.js">
    <link rel="modulepreload" crossorigin href="/assets/vendor-vuetify-DuHZU9jJ.js">
    <link rel="modulepreload" crossorigin href="/assets/vendor-firebase-cmY7CaoZ.js">
    <link rel="modulepreload" crossorigin href="/assets/vendor-sentry-BO3lYImd.js">
    <link rel="modulepreload" crossorigin href="/assets/vendor-search-CAPWWb0j.js">
    <link rel="stylesheet" crossorigin href="/assets/vendor-vuetify-YrlzWiUt.css">
    <link rel="stylesheet" crossorigin href="/assets/index-BfceLDe6.css">
  </head>

  <body>
    <div id="app">
      <div class="loading-logo">
        <div class="loading">
          <div class="effect-1 effects"></div>
          <div class="effect-2 effects"></div>
          <div class="effect-3 effects"></div>
        </div>
      </div>
    </div>
    <script>
      // Restore theme colors for the CSS spinner before Vue initialises
      const loaderColor = localStorage.getItem('materio-initial-loader-bg') || '#FFFFFF'
      const primaryColor = localStorage.getItem('materio-initial-loader-color') || '#9155FD'

      if (loaderColor) {
        document.documentElement.style.setProperty('--initial-loader-bg', loaderColor)
      }

      if (primaryColor) {
        document.documentElement.style.setProperty('--initial-loader-color', primaryColor)
      }
    </script>
  </body>
</html>
