!function(){"use strict";if("undefined"!=typeof jQuery){jQuery(".tp-caption[data-explodinglayersin]",".tp-caption[data-explodinglayersin]").each(function(){d.call(this)}),window.ExplodingLayersAddOn=function(o,e){if(o&&e){var i,A,P=o(window),a={padding:0,size:1,speed:0,density:1,power:0,duration:300};e.find(".tp-caption[data-explodinglayersin]",".tp-caption[data-explodinglayersin]").each(function(){-1===this.className.search("revaddonexplayer")&&d.call(this)}),e.on("revolution.slide.onloaded",function(){if(A=e[0].opt.responsiveLevels){for(Array.isArray(A)||(A=[A]);A.length<4;)A[A.length]=A[A.length-1];for(var t=0;t<4;t++)A[t]=parseInt(A[t],10)}e.find(".tp-caption[data-explodinglayersin]").each(function(){var t=this.getAttribute("data-explodinglayersin");t&&(t=JSON.parse(t))&&n.apply(this,["in",t])}),e.find(".tp-caption[data-explodinglayersout]").each(function(){var t=this.getAttribute("data-explodinglayersout");t&&(t=JSON.parse(t))&&n.apply(this,["out",t])}),P.on("resize",function(){clearTimeout(i),i=setTimeout(s,50)})}).on("revolution.slide.onbeforeswap revolution.slide.onafterswap",function(t,e){-1!==t.namespace.search("before")?e.nextslide&&e.nextslide.length&&r(e.nextslide):e.prevslide&&e.prevslide.length&&r(e.prevslide)}).on("revolution.slide.layeraction",function(t,e){var i,a,s=e.layer.data("revaddonexpeffect"),r=e.layer.hasClass("tp-static-layer"),n=r&&!e.layer.hasClass("revaddonexpstatic");s&&("enterstage"===e.eventtype||n?(r&&e.layer.addClass("revaddonexpstatic"),a=e.layer.data("revaddonexplayerin"),i=!1):"leavestage"===e.eventtype&&(a=e.layer.data("revaddonexplayerout"),i=!0),a&&(a.options=o.extend({},a.orig),s.o=a.options,function(t,e,i,a){var s,r,n=0,o=P.width();if(A)for(var h=A.length,d=0;d',n=0;n';return["url(#"+s+")",r+=""]}(g.colors):function(t,e){e=parseInt(e,10)/180*Math.PI;var i,a,s,r=(.5*(Math.floor(e/Math.PI*2)+2)+.25)*Math.PI,n=Math.cos(Math.abs(r-e))*Math.sqrt(2),o=n*Math.cos(e),h=n*Math.sin(e),d=[o<0?1:0,h<0?1:0,0<=o?o:o+1,0<=h?h:h+1],l=t.length,p="explodinglayers"+Math.floor(1e4*Math.random()),c='';for(s=0;s';return["url(#"+p+")",c+=""]}(g.colors,g.angle):g[0];p=u[0],c=u[1]}else p=f[0],c="";var g;var y,v,m=''+c;"circle"!==e.type?(y="t.death?(!1===this.total&&(this.total=this.particles.length),this.particles.splice(e,1),this.o.sync&&this.updateTransform(this.particles.length)):(t.x+=t.speed,t.y=this.o.power*Math.sin(t.counter*t.increase),t.life++,t.counter+=this.disintegrating?1:-1);this.particles.length||(this.pause(),this.canvas.style.display="none")},renderRevAddonExpBtn:function(){var t;this.ctx.clearRect(0,0,this.width,this.height);for(var e=0;e