'use strict'; window.addEventListener('WebComponentsReady', function() { App.run(); if (location.protocol != 'https:' && location.hostname != 'localhost') { location.href = 'https:' + window.location.href.substring(window.location.protocol.length); } });