!function(){"use strict";var n=jQuery.fn.revolution,t={alias:"KenBurns Min JS",name:"revolution.extensions.kenburn.min.js",min_core:"5.0",version:"1.1.0"};jQuery.extend(!0,n,{stopKenBurn:function(i){return"stop"!==n.compare_version(t).check&&void(void 0!=i.data("kbtl")&&i.data("kbtl").pause())},startKenBurn:function(i,r,u){if("stop"===n.compare_version(t).check)return!1;var f=i.data(),s=i.find(".defaultimg"),l=s.data("lazyload")||s.data("src"),a=(f.owidth/f.oheight,"carousel"===r.sliderType?r.carousel.slide_width:r.ul.width()),v=r.ul.height();i.data("kbtl")&&i.data("kbtl").kill();u=u||0;0==i.find(".tp-kbimg").length&&(i.append('
<\/div>'),i.data("kenburn",i.find(".tp-kbimg")));var h=function(n,t,i,r,u,f,e){var s=n*i,h=t*i,c=Math.abs(r-s),l=Math.abs(u-h),o={};return o.l=(0-f)*c,o.r=o.l+s,o.t=(0-e)*l,o.b=o.t+h,o.h=f,o.v=e,o},y=function(n,t,i,r,u){var f=n.bgposition.split(" ")||"center center",e="center"==f[0]?"50%":"left"==f[0]||"left"==f[1]?"0%":"right"==f[0]||"right"==f[1]?"100%":f[0],o="center"==f[1]?"50%":"top"==f[0]||"top"==f[1]?"0%":"bottom"==f[0]||"bottom"==f[1]?"100%":f[1],s;return e=parseInt(e,0)/100||0,o=parseInt(o,0)/100||0,s={},s.start=h(u.start.width,u.start.height,u.start.scale,t,i,e,o),s.end=h(u.start.width,u.start.height,u.end.scale,t,i,e,o),s},p=function(n,t,i){var o=i.scalestart/100,s=i.scaleend/100,u=void 0!=i.offsetstart?i.offsetstart.split(" ")||[0,0]:[0,0],f=void 0!=i.offsetend?i.offsetend.split(" ")||[0,0]:[0,0],h,e;i.bgposition="center center"==i.bgposition?"50% 50%":i.bgposition;var r={},p=n*o,w=(p/i.owidth*i.oheight,n*s);w/i.owidth*i.oheight;(r.start={},r.starto={},r.end={},r.endo={},r.start.width=n,r.start.height=r.start.width/i.owidth*i.oheight,r.start.height0?0:c+u[0]0?0:a+f[0]0?0:l+u[1]0?0:v+f[1]