1window.Eurus.loadedScript.has("flexible-area.js")||(window.Eurus.loadedScript.add("flexible-area.js"),requestAnimationFrame(()=>{document.addEventListener("alpine:init",()=>{Alpine.data("xFlexibleArea",()=>({initArea(el){this.adjustFlexWidths(el),new ResizeObserver(()=>this.adjustFlexWidths(el)).observe(el)},adjustFlexWidths(container){const isMobile=window.xViewport.innerWidth<=767,items=Array.from(container.children).map(el=>{const itemBlock=el.querySelector(".item-block"),itemWidth=parseFloat(isMobile?itemBlock.dataset.widthMobile:itemBlock.dataset.width)||1;return{el,itemWidth}}),style=getComputedStyle(container),gap=parseFloat(style.columnGap||style.gap||0),containerWidth=container.getBoundingClientRect().width;let currentRow=[],currentTotal=0;items.forEach(({el,itemWidth})=>{currentRow.length&¤tTotal+itemWidth>100?(this.applyRowWidths(currentRow,gap,containerWidth),currentRow=[{el,itemWidth}],currentTotal=itemWidth):(currentRow.push({el,itemWidth}),currentTotal+=itemWidth)}),this.applyRowWidths(currentRow,gap,containerWidth)},applyRowWidths(row,gap,containerWidth){if(!row.length)return;const usableWidth=100-gap*(row.length-1)/containerWidth*100;row.forEach(({el,itemWidth})=>{el.style.flex=`0 0 ${usableWidth*(itemWidth/100)}%`})}}))})})); 2//# sourceMappingURL=/cdn/shop/t/33/assets/flexible-area.js.map?v=119913960888886388731785346105
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.