var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__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 opener = _____WB$wombat$assign$function_____("opener");
"use strict";(globalThis.webpackChunkextract_css=globalThis.webpackChunkextract_css||[]).push([["39263"],{530330:function(i){i.exports={}},271967:function(i,_,n){var r=n(530330),D=n.n(r);YUI.add("squarespace-blog-collection-list",function(a){var s=a.config.win,h=s.document,y=200,o=a.Squarespace.Template.getTweakValue,p=function(e){if(e){for(var t=parseInt(o("tweak-blog-list-columns"),10),d=parseInt(o("tweak-blog-list-spacing"),10),f=parseFloat(s.getComputedStyle(e).width);(f-d*(t-1))/t<y;)t--;e.setAttribute("data-columns",t)}},k=function(e){if(e){var t=e.querySelectorAll(".BlogList-item-image img");if(o("tweak-blog-list-item-image-show")==="true"){var d=o("tweak-blog-list-style").toLowerCase()==="stacked",f=o("tweak-blog-list-item-image-aspect-ratio-stacked").toLowerCase()==="auto";if(d&&f)for(var m=0;m<t.length;m++){var l=t[m];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,s.ImageLoader.load(l,{load:!0,mode:null})}else for(var v=0;v<t.length;v++)s.ImageLoader.load(t[v],{load:!0,mode:"fill"})}}},b=function(e){p(e),k(e)},T=100,u=!1,g,E=function(e){u||(u=!0),g&&clearTimeout(g),g=setTimeout(function(){!a||!a.config||!a.config.win||(b(e),u=!1)},T)},I=["tweak-blog-list-columns","tweak-blog-list-spacing"],x=["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"],C=function(e){var t=e.getName();I.indexOf(t)>=0&&p(),x.indexOf(t)>=0&&k()};a.Global.on("tweak:change",C);var c,w;a.config.win.Squarespace.onInitialize(a,function(){c=h.querySelector(".BlogList"),c&&(b(c),w=E.bind(s,c),s.addEventListener("resize",w))}),a.config.win.Squarespace.onDestroy(a,function(){s.removeEventListener("resize",w)})},"1.0",{requires:[]})},85225:function(i,_,n){var r=n(271967)}},function(i){var _=function(r){return i(i.s=r)},n=_(85225)}]);

//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/sourcemaps/d7f8aec7d0b63e31/blog-collection-list-d311389abad5cb4e-min.en-US.js.map
}