var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
(function(){var b={191023:function(r){r.exports={}}},d={};function m(r){var e=d[r];if(e!==void 0)return e.exports;var i=d[r]={exports:{}};return b[r](i,i.exports,m),i.exports}var z={};(function(){"use strict";var r=m(191023);YUI.add("squarespace-blog-collection-list",function(e){var i=e.config.win,h=i.document,y=200,o=e.Squarespace.Template.getTweakValue,k=function(t){if(!!t){for(var a=parseInt(o("tweak-blog-list-columns"),10),g=parseInt(o("tweak-blog-list-spacing"),10),f=parseFloat(i.getComputedStyle(t).width);(f-g*(a-1))/a<y;)a--;t.setAttribute("data-columns",a)}},p=function(t){if(!!t){var a=t.querySelectorAll(".BlogList-item-image img");if(o("tweak-blog-list-item-image-show")==="true"){var g=o("tweak-blog-list-style").toLowerCase()==="stacked",f=o("tweak-blog-list-item-image-aspect-ratio-stacked").toLowerCase()==="auto";if(g&&f)for(var w=0;w<a.length;w++){var l=a[w];l.style.position=null,l.style.top=null,l.style.right=null,l.style.bottom=null,l.style.left=null,l.style.width=null,l.style.height=null,i.ImageLoader.load(l,{load:!0,mode:null})}else for(var v=0;v<a.length;v++)i.ImageLoader.load(a[v],{load:!0,mode:"fill"})}}},_=function(t){k(t),p(t)},T=100,s=!1,c,I=function(t){s||(s=!0),c&&clearTimeout(c),c=setTimeout(function(){!e||!e.config||!e.config.win||(_(t),s=!1)},T)},S=["tweak-blog-list-columns","tweak-blog-list-spacing"],q=["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"],x=function(t){var a=t.getName();S.indexOf(a)>=0&&k(),q.indexOf(a)>=0&&p()};e.Global.on("tweak:change",x);var n,u;e.config.win.Squarespace.onInitialize(e,function(){n=h.querySelector(".BlogList"),n&&(_(n),u=I.bind(i,n),i.addEventListener("resize",u))}),e.config.win.Squarespace.onDestroy(e,function(){i.removeEventListener("resize",u)})},"1.0",{requires:[]})})()})();
//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/blog-collection-list-c99d0b0441594c2568671-min.en-US.js.map

}