function handleAfterGoNextStep(e,t){resetImage(),resetText()}function resetText(){var e,t=$(".violet-text");1239<$(window).width()?(e=$(".list-text").height(),t.css("margin-top","calc("+e+"px + .3em)")):t.css("margin-top",".3em")}function resetImage(){var e=$(".step:not(.hidden)").find(".rectangle"),t=391*e.outerWidth()/683;e.css("height",t)}function getRndInteger(e,t){return Math.floor(Math.random()*(t-e))+e}$(function(){$(".rd-number").html(getRndInteger(100,300)),resetImage(),resetText()}),$(window).resize(function(){resetImage(),resetText()});