text: // In this file you initialize and configure your experiment using magpieInit
  
  $("document").ready(function() {
      // prevent scrolling when space is pressed
      window.onkeydown = function(e) {
          if (e.keyCode === 32 && e.target === document.body) {
              e.preventDefault();
          }
      };
  
      // calls magpieInit
      // in debug mode this returns the magpie-object, which you can access in the console of your browser
      // e.g. >> window.magpie_monitor or window.magpie_monitor.findNextView()
      // in all other modes null will be returned
      window.magpie_monitor = magpieInit({
          // You have to specify all views you want to use in this experiment and the order of them
          views_seq: [
              intro,
              legal_info_1,
              legal_info_2,
              instructions,
              slider_rating_custom,
              post_test,
              thanks,
          ],
          // Here, you can specify all information for the deployment
          deploy: {
              experimentID: "64",
              serverAppURL: "https://mcmpact.ikw.uni-osnabrueck.de/magpie/api/submit_experiment/",
              // Possible deployment methods are:
              // "debug" and "directLink"
              // As well as "MTurk", "MTurkSandbox" and "Prolific"
              deployMethod: "Prolific",
              contact_email: "vinicius.macuch.silva@uni-osnabrueck.de",
              prolificURL: "https://app.prolific.co/submissions/complete?cc=5E0EF2F2"
          },
          // Here, you can specify how the progress bar should look like
          progress_bar: {
              in: [
                  // list the view-names of the views for which you want a progress bar
                  slider_rating_custom.name,
              ],
               // Possible styles are "default", "separate" and "chunks"
              style: "separate",
              width: 100
          }
      });
  });
  