ayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-L1H39ZEPRF');
    </script>
  </head>

  <body id="page-body">
    <script>
      var storedState = localStorage.getItem('trains-today') || '{}'
      var app = Elm.Main.init({
        flags: {
          timestamp: Date.now(),
          storedState: storedState,
        },
      })
      app.ports.setStorage.subscribe(function(state) {
        localStorage.setItem('trains-t