# Here is a list of files included in this repository:
<script> document.addEventListener("DOMContentLoaded", function() { const lazyLoadElements = document.querySelectorAll('.lazyload-placeholder');if ("IntersectionObserver" in window) {
let rootMargin = '0px 0px 400px 0px';
let threshold = 0.5;
if (window.innerWidth <= 768) { // Mobile devices
rootMargin = '0px 0px 100px 0px';
threshold = 0.1;
} else if (window.innerWidth <= 1024) { // Tablets
rootMargin = '0px 0px 200px 0px';
threshold = 0.3;
} else if (window.innerWidth <= 1440) { // Small desktops
rootMargin = '0px 0px 300px 0px';
threshold = 0.4;
} else { // Large desktops
rootMargin = '0px 0px 400px 0px';
threshold = 0.5;
}
let observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
let placeholder = entry.target;
let contentId = placeholder.dataset.content;
let file_list_html = '';
switch(contentId) {
case 'file-list-1':
file_list_html = `<ul><h2 style="color: #e680bf;">Repo Root</h2>
lazyLoadElements.forEach(element => {
element.style.marginTop = '-17px';
observer.observe(element);
});
} else {
lazyLoadElements.forEach(placeholder => {
let contentId = placeholder.dataset.content;
let file_list_html = '';
switch(contentId) {
case 'file-list-1':
file_list_html = `<ul><h2 style="color: #e680bf;">Repo Root</h2>