!function(t){"use strict";t.fn.fusionCalcFlipBoxesHeight=function(){var i,e,o=t(this),n=o.find(".flip-box-front"),s=o.find(".flip-box-back");o.css("min-height",""),n.css("position",""),s.css("bottom",""),i=n.outerHeight(),e=s.outerHeight(),setTimeout(function(){e<i?o.css("min-height",i):o.css("min-height",e),n.css("position","absolute"),s.css("bottom","0")},100)},t.fn.fusionCalcFlipBoxesEqualHeights=function(){var n,i=t(this),s=[];i.find(".flip-box-inner-wrapper").each(function(){var i=t(this),e=i.find(".flip-box-front"),o=i.find(".flip-box-back");i.css("min-height",""),e.css("position",""),o.css("bottom",""),s.push(Math.max(e.outerHeight(),o.outerHeight()))}),n=Math.max.apply(null,s),i.find(".flip-box-inner-wrapper").each(function(){var i=t(this),e=i.find(".flip-box-front"),o=i.find(".flip-box-back");i.css("min-height",n),e.css("position","absolute"),o.css("bottom","0")})}}(jQuery),jQuery(window).on("load",function(){jQuery(".fusion-flip-boxes.equal-heights").each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),jQuery(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper").each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".fusion-flip-boxes.equal-heights").each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),jQuery(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper").each(function(){jQuery(this).fusionCalcFlipBoxesHeight()})})}),jQuery(window).on("fusion-element-render-fusion_flip_box fusion-column-resized",function(i,e){var o,n,s;s=void 0!==i.type&&"fusion-column-resized"===i.type?(o=jQuery('div[data-cid="'+e+'"] .fusion-flip-boxes.equal-heights'),n=jQuery('div[data-cid="'+e+'"] .fusion-flip-boxes').not(".equal-heights").find(".flip-box-inner-wrapper"),jQuery('div[data-cid="'+e+'"] .fusion-flip-box')):(o=jQuery('div[data-cid="'+e+'"]').closest(".fusion-flip-boxes.equal-heights"),n=jQuery('div[data-cid="'+e+'"]').closest(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper"),jQuery('div[data-cid="'+e+'"]').find(".fusion-flip-box")),o.each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),n.each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),s.mouseover(function(){jQuery(this).addClass("hover")}),s.mouseout(function(){jQuery(this).removeClass("hover")})}),jQuery(window).on("fusion-dynamic-content-render",function(i,e){var o=jQuery(e).find(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper");0<o.length&&o.each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),0<(o=jQuery(e).find(".fusion-flip-boxes.equal-heights")).length&&o.each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()})});