window._bilingualTheme.settings.fix_thumbnail_container_height||$(function(){var l=$("#collection .thumbnail, .thumbnail-small"),h=$(".product-thumbnail-image"),c=$("#collection .thumbnail .caption-top"),s=$("#collection .thumbnail .caption-top h4");window.resizeThumbnailImages=function(){var i=0,e=0;$.each(h,function(n,a){var a=$(a),w=a.find("img").first(),t=w.innerHeight();e!=0?e=t<e?t:e:e=t,i=t>i?t:i});var g=i-e;g>50&&(i=e+g/2),h.height(i)},window.resizeThumbnails=function(){var i=0;$.each(l,function(e,n){var n=$(n),o=n.find(">*"),a=0;$.each(o,function(w,t){t=$(t),a+=t.height()}),i=a>i?a:i}),l.height(i)},window.resizeTitles=function(){var i=0;$.each(s,function(e,n){var n=$(n),o=n.height();i=o>i?o:i}),s.height(i)},window.resizeCaptionTops=function(){var i=0;$.each(c,function(e,n){var n=$(n),o=n.height();i=o>i?o:i}),c.height(i)},window.resizeAll=function(){window.resizeThumbnailImages(),window.resizeThumbnails(),window.resizeTitles(),window.resizeCaptionTops()},$("#collection").show(),h.find("img").last().on("load",function(i){window.resizeAll()}),$(window).on("resize",function(i){window.resizeAll()})});
//# sourceMappingURL=/s/files/1/1068/0658/t/2/assets/responsive-thumbnails.js.map?v=143525644691998780021448030252