https://www.gcfrauenfussball.ch/typo3conf/ext/koch_theme/Resources…/partials/checkWrap.1681226952.js
1const CheckWrap = { 2 init: function () { 3 Array.prototype.slice.call(document.getElementsByClassName('js-check-wrap-container')).forEach(function (container) { 4 wrapObserver.observe(container); 5 CheckWrap.isWrapped(container); 6 }); 7 }, 8 isWrapped: function (container) { 9 container.closest('.js-check-wrap').classList.remove('is-wrapped'); 10 let wrap = false; 11 let items = container.getElementsByClassName('js-check-wrap-item'); 12 Array.prototype.slice.call(items).forEach(function (item) { 13 // if element is more to the left that it's previous element it means it wrapped to a new line 14 if (item.previousElementSibling) { 15 if (item.offsetTop > item.previousElementSibling.offsetTop) { 16 wrap = true; 17 } 18 } 19 }); 20 if (wrap) container.closest('.js-check-wrap').classList.add('is-wrapped'); 21 }, 22}; 23 24const wrapObserver = new ResizeObserver((entries) => { 25 entries.forEach((entry) => { 26 CheckWrap.isWrapped(entry.target); 27 }); 28}); 29 30CheckWrap.init();
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.