File: /home/clinicamaciel/www/wp-content/plugins/vc-extensions-bundle/shadowcard/js/init.min.js
jQuery(document).ready(function(t){t(".cq-shadowcard").each(function(s){var o=t(".cq-shadowcard-item",t(this)),a=parseInt(t(this).data("tolerance"),10),e=parseInt(t(this).data("elementheight"),10),i=t(this).data("titlesize"),d=t(this).data("titlecolor");""!=i&&t(".cq-shadowcard-title",t(this)).css("font-size",i),""!=d&&t(".cq-shadowcard-title",t(this)).css("color",d),""!=e&&o.css("height",e+"px"),o.on("mousemove",function(s){var o=t(this),e=s.offsetX,i=s.offsetY,d=this.getBoundingClientRect();w=d.width/2,h=d.height/2,posX=(h-i)*(a/h),posY=(w-e)*(a/w)*-1,o.find(".cq-shadowcard-link").css({transform:"rotateX( "+posX+"deg ) rotateY( "+posY+"deg )","box-shadow":posY*-1+"px "+(posX+14)+"px 34px 0 rgba( 0, 0, 0, 0.1 )"}),o.find(".highlight").css({opacity:1,transform:"translate3d( "+posX*-4+"px, "+posY*-4+"px, 0 )"})}),o.on("mouseleave",function(s){var o=t(this).find(".cq-shadowcard-link");o.removeAttr("style").addClass("cq-shadowcard-ending"),setTimeout(function(){o.removeClass("cq-shadowcard-ending")},500)})})});