(function(){var i={206833:function(e,t,a){YUI.add("squarespace-blog-collection-list",function(t){var l=t.config.win;var e=l.document;var o=200;var s=t.Squarespace.Template.getTweakValue;var a=function(e){if(!e)return;var t=parseInt(s("tweak-blog-list-columns"),10);var a=parseInt(s("tweak-blog-list-spacing"),10);var i=parseFloat(l.getComputedStyle(e).width);while((i-a*(t-1))/t<o)t--;e.setAttribute("data-columns",t)};var i=function(e){if(!e)return;var t=e.querySelectorAll(".BlogList-item-image img");if("true"===s("tweak-blog-list-item-image-show")){var a="stacked"===s("tweak-blog-list-style").toLowerCase();var i="auto"===s("tweak-blog-list-item-image-aspect-ratio-stacked").toLowerCase();if(a&&i)for(var o=0;o<t.length;o++){var r=t[o];r.style.position=null;r.style.top=null;r.style.right=null;r.style.bottom=null;r.style.left=null;r.style.width=null;r.style.height=null;l.ImageLoader.load(r,{load:true,mode:null})}else for(var n=0;n<t.length;n++)l.ImageLoader.load(t[n],{load:true,mode:"fill"})}};var r=function(e){a(e);i(e)};var n=100;var u=false;var c;var f=function(e){u=u||true;c&&clearTimeout(c);c=setTimeout(function(){if(!t||!t.config||!t.config.win)return;r(e);u=false},n)};var g=["tweak-blog-list-columns","tweak-blog-list-spacing"];var v=["tweak-blog-list-style","tweak-blog-list-columns","tweak-blog-list-spacing","tweak-blog-list-item-image-aspect-ratio-grid","tweak-blog-list-item-image-aspect-ratio-stacked","tweak-blog-list-item-image-show","tweak-blog-list-item-image-width"];var m=function(e){var t=e.getName();g.indexOf(t)>=0&&a();v.indexOf(t)>=0&&i()};t.Global.on("tweak:change",m);var d;var w;t.config.win.Squarespace.onInitialize(t,function(){d=e.querySelector(".BlogList");if(d){r(d);w=f.bind(l,d);l.addEventListener("resize",w)}});t.config.win.Squarespace.onDestroy(t,function(){l.removeEventListener("resize",w)})},"1.0",{requires:[]});a(191023)},191023:function(e){e.exports={}}};var o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};i[e](a,a.exports,r);return a.exports}!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};r.d(t,{a:t});return t}}();!function(){r.d=function(e,t){for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:true,get:t[a]})}}();!function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var e={};!function(){"use strict";var e=r(206833);var t=r.n(e)}()})();
//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/blog-collection-list-ac7d1645df99e926a3c87-min.en-US.js.map