function slickremixImageResizing(){var e=jQuery(".fts-instagram-inline-block-centered"),a=jQuery(".slicker-instagram-placeholder"),t=e.attr("data-ftsi-columns"),r=e.attr("data-ftsi-margin"),s=2*parseFloat(r),i=e.width(),n=e.attr("data-ftsi-force-columns");if("1"===t||"2"===t||"3"===t||"4"===t||"5"===t||"6"===t||"7"===t||"8"===t){if("376">=i&&"no"===n)var o="calc(100% - "+s+"px)";else if("736">=i&&"no"===n)var o="calc(50% - "+s+"px)";else if("8"===t)var o="calc(12.5% - "+s+"px)";else if("7"===t)var o="calc(14.28571428571429% - "+s+"px)";else if("6"===t)var o="calc(16.66666666666667% - "+s+"px)";else if("5"===t)var o="calc(20% - "+s+"px)";else if("4"===t)var o="calc(25% - "+s+"px)";else if("3"===t)var o="calc(33.33333333333333% - "+s+"px)";else if("2"===t)var o="calc(50% - "+s+"px)";else if("1"===t)var o="calc(100% - "+s+"px)";a.css({width:o});var l=a.width();a.css({width:o,height:l,margin:r})}else{var c=e.attr("data-ftsi-width")?e.attr("data-ftsi-width"):"325px";a.css({width:c,height:c,margin:r})}a.width()<180?(jQuery(".fts-instagram-inline-block-centered .slicker-date, .fts-instagram-inline-block-centered .fts-insta-likes-comments-grab-popup").hide(),jQuery(".slicker-instagram-placeholder").addClass("fts-smallerthan-180")):(jQuery(".fts-instagram-inline-block-centered .slicker-date, .fts-instagram-inline-block-centered .fts-insta-likes-comments-grab-popup").show(),jQuery(".slicker-instagram-placeholder").removeClass("fts-smallerthan-180"))}jQuery(document).ready(function(){jQuery.fn.ftsShare=function(){jQuery(".fts-share-wrap").each(function(){var e=jQuery(this);e.find(".ft-gallery-link-popup").unbind().bind("click",function(){e.find(".ft-gallery-share-wrap").toggle()})})},jQuery.fn.ftsShare&&jQuery.fn.ftsShare(),navigator.userAgent.indexOf("Firefox")>0||jQuery(".fts-instagram-popup-half video, .fts-simple-fb-wrapper video, .fts-slicker-facebook-posts video").click(function(){jQuery(this).trigger(this.paused?(this.paused,"play"):"pause")}),jQuery.fn.masonry&&jQuery(".fts-slicker-instagram").masonry({itemSelector:".fts-masonry-option"})}),jQuery.trim(jQuery(".fts-jal-fb-group-display").html()).length||jQuery(".fts-jal-fb-group-display").append('<div class="fts-facebook-add-more-posts-notice"><p>Please go to the <strong>Facebook Options</strong> page of our plugin and look for the "<strong>Change Post Limit</strong>" option and add the number <strong>7</strong> or more. You can also hide this notice on the Facebook Options page if you want.</p>If you are trying to add a Personal Facebook feed and you are seeing this message too, please note: <strong>Personal Facebook Accounts generally do not work with our plugin.</strong></div>'),jQuery(window).load(function(){jQuery.fn.masonry&&setTimeout(function(){jQuery(".fts-pinterest-wrapper.masonry").masonry("layout")},200)}),jQuery(document).ready(slickremixImageResizing),jQuery(window).on("resize",slickremixImageResizing);