import{$ as s}from"./iframe-DSGyX7_4.js";class d{constructor(l){this.section=l.addClass("initiated"),this.cols=l.find(".col");const e=Math.ceil(this.cols.length/6)*3-this.cols.last().index()-1,n=Math.ceil(this.cols.length/3)*3-this.cols.last().index()-1;if(e===0||n===0)return;let t=this.cols.length-e*2,i=this.cols.length-n*2;t<0&&(t=0),i<0&&(i=0),this.cols.eq(t).addClass("width-half").nextAll().addClass("width-half"),this.cols.eq(i).addClass("width-third").nextAll().addClass("width-third")}}s("body").on("ihk-init dynamic-component-loaded gfi-dynamic-init",function(){s(".topics:not(.initiated), .eventoverview-section:not(.initiated)").each(()=>{new d(s(this))})});export{d as I};
