define(["jquery.onepage"],function(){var a={};return a.init=function(a){$(document).on("click",".section",function(){var a=$(this).data("link");location.href=a}),$(".main").onepage_scroll({sectionContainer:"section",easing:"ease-in-out",animationTime:1e3,pagination:!0,updateURL:!1,loop:!1,direction:"up"});var b=3,c=setInterval(function(){$("#time span").html(b),--b<0&&(window.location.href=a,clearInterval(c))},1e3)},a});