text: var Square=function(e){var t={oObject:$("#square"),oShrapnel:$("#shrapnel"),sCurrentState:"home",iloadingtime:3e3,loaderSettings:{delayBeforeLaunch:1500,loadingTime:3e3}};for(var o in e)t[o]=e[o];switch(this.aOption=t,this.oObject=this.aOption.oObject,this.oShrapnel=this.aOption.oShrapnel,this.sCurrentState=this.aOption.sCurrentState,this.iloadingtime=this.aOption.iloadingtime,this.loaderSettings=this.aOption.loaderSettings,this.oTimeout=0,this.bIsReady=!1,this.sCurrentState){case"home":this.init();break;default:this.init()}};Square.prototype.init=function(){var e=this;e.beforeLoad(),setTimeout(function(){e.loading()},e.loaderSettings.delayBeforeLaunch),setTimeout(function(){e.afterLoad()},e.loaderSettings.delayBeforeLaunch+e.loaderSettings.loadingTime)},Square.prototype.startLoader=function(){var e=this},Square.prototype.beforeLoad=function(){var e=this;$("#menuBtn").fadeOut(0),$(".rule.bottom > div").css({width:"100%"}),e.annimatedRules($(".rule.bottom  > p"),200,2,0,5,"px")},Square.prototype.loading=function(){var e=this;$(".rule.right").fadeIn(300),e.annimatedRules($(".rule.right > p"),100,30,0,1,"%"),$(".loadbar").animate({height:"200px"},e.loaderSettings.loadingTime),$(".rule.right  > div").animate({height:"200px"},e.loaderSettings.loadingTime).css("overflow","visible")},Square.prototype.afterLoad=function(){var e=this;$(".rule").delay(600).fadeOut(300),setTimeout(function(){$("#shrapnel").fadeIn(0),$("#loader").fadeOut(0),e.explodeSquare(400,600)},1500)},Square.prototype.annimatedRules=function(e,t,o,a,i,n){var r=this;t>a?setTimeout(function(){e.html(a+i+n),r.annimatedRules(e,t,o,a+1,i,n)},o):e.html(t+n)},Square.prototype.resetSquare=function(e,t){var o=this;o.oShrapnel.find("h1").fadeOut(200),o.oShrapnel.toggleClass("exploded"),o.oObject.toggleClass("exploded"),o.oTimeout=setTimeout(function(){o.oShrapnel.css({"background-color":"#000"})},t)},Square.prototype.explodeSquare=function(e,t){var o=this;clearTimeout(o.oTimeout),o.oShrapnel.toggleClass("exploded").css({"background-color":"transparent"}),o.oShrapnel.find("h1").delay(e).fadeIn(t),o.oObject.toggleClass("exploded"),$("#menuBtn").delay(500).fadeIn(300)};