text: 
  (function(a){a.fn.utmasonry=function(b){var c=a.extend({columns:4,tcolumns:3,mcolumns:2,unitHeight:"",itemClass:"isotope-item"},b);return this.each(function(f){var j=a(window),i=a(this),h="";function e(){var m,k=i.parent().width(),l=c.columns;if(k<=1024){l=c.tcolumns}if(k<=768){l=c.mcolumns}m=k/l;return m}function g(){var k=e();i.children().width(k).addClass("show")}function d(){i.children().each(function(){var l=a(this),k=l.find("figure").find("img").attr("width"),m=l.width();if(k>m){l.find("figure").find("img").css({left:-(k-m)/2})}else{if(k<m){l.find("figure").find("img").css({left:(m-k)/2})}}});j.trigger("scroll")}a(window).load(function(){g();i.isotope({animationEngine:"jquery",itemSelector:".ut-masonry",transformsEnabled:false,layoutMode:"packery",itemClass:c.itemClass,onLayout:function(){a(window).trigger("scroll")}});d()});a(window).utresize(function(){g();i.isotope({animationEngine:"jquery",itemSelector:".ut-masonry",transformsEnabled:false,layoutMode:"packery",itemClass:c.itemClass,onLayout:function(){}});d()})})}}(jQuery));