<script>
document.addEventListener('DOMContentLoaded', function () {
	const tabs = document.querySelector('.booksloty-settings-tabs');
	const indicator = document.querySelector('.booksloty-settings-scroll-indicator');
	if (!tabs || !indicator) return;

	const dots = Array.from(indicator.querySelectorAll('span'));
	if (!dots.length) return;

	function updateSettingsScrollIndicator() {
		const maxScroll = Math.max(0, tabs.scrollWidth - tabs.clientWidth);
		if (maxScroll < 8) {
			indicator.style.display = 'none';
			return;
		}

		indicator.style.removeProperty('display');
		const progress = Math.max(0, Math.min(1, tabs.scrollLeft / maxScroll));
		const index = Math.min(dots.length - 1, Math.round(progress * (dots.length - 1)));
		dots.forEach(function (dot, dotIndex) {
			dot.classList.toggle('is-active', dotIndex === index);
		});
	}

	tabs.addEventListener('scroll', updateSettingsScrollIndicator, { passive: true });
	window.addEventListener('resize', updateSettingsScrollIndicator, { passive: true });
	updateSettingsScrollIndicator();
});
</script>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://test.booksloty.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://test.booksloty.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://test.booksloty.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://test.booksloty.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://test.booksloty.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
