`:`
No preview available
`}\n \n \n \n `,a.appendChild(n),r.appendChild(a)}))}async function h(){if(s||d>=3)return;s=!0,n&&(n.textContent="Loading...",n.disabled=!0);const t=i.length,a=Math.min(20,o.length-t),l=o.slice(t,t+a);if(console.log("TAG PAGE - Client-side loading:",{alreadyLoaded:t,nextBatchSize:a,attemptingToLoad:l.length,totalAvailableForTag:o.length}),l.length>0){const t=new Map;i.forEach((e=>t.set(e.id,!0)));const a=l.filter((e=>!t.has(e.id)));a.length!==l.length&&console.warn(`Found ${l.length-a.length} duplicate sites that were filtered out`),a.length>0?(m(a),i.push(...a),d=i.length,console.log(`Added ${a.length} sites (now showing ${d}/3)`),g&&(g.textContent=d.toString()),n&&(d>=3?(n.style.display="none",console.log("Reached end of content for this tag")):(n.textContent=`Load more (${d} / 3)`,n.disabled=!1)),c&&e.length{a>=e.length&&t.remove()}))}i=[...e],d=i.length,g&&(g.textContent=d.toString()),n&&(n.textContent=`Load more (${d} / 3)`,d<3?(n.style.display="block",n.disabled=!1):n.style.display="none"),c&&(c.style.display="none"),window.scrollTo({top:0,behavior:"smooth"}),p()}function b(){!function(){try{const t=localStorage.getItem(`cssline-tag-state-${a}`);if(t){const{siteCount:a,scrollY:o}=JSON.parse(t);a>e.length&&(l=o,c&&(c.style.display="block"))}}catch(e){console.error("Error restoring state:",e)}}(),n&&n.addEventListener("click",h),c&&c.addEventListener("click",u),l>0&&(window.scrollTo(0,l),l=0),document.querySelectorAll('a[href^="/go/"]').forEach((e=>{e.addEventListener("click",p)})),function(){try{const e=sessionStorage.getItem("previousSiteForTagOrColorPage");if(e){const t=JSON.parse(e),a=document.querySelector('nav a[href="/"][data-astro-prefetch]'),o=document.getElementById("back-to-previous-site-link");if(o){const e=o.parentElement;if(e){const t=document.getElementById("tag-page-back-link-separator");t&&t.parentElement===e&&e.removeChild(t),e.removeChild(o)}}if(a&&t.title&&t.slug){const e=a.parentElement;if(e){const o=document.createElement("a");o.id="back-to-previous-site-link",o.href=`/go/${t.slug}`,o.setAttribute("data-astro-prefetch",""),o.className="text-sm sm:text-base",o.setAttribute("aria-label",`Go back to ${t.title}`);const i=document.createElement("span");i.setAttribute("aria-hidden","true"),i.textContent=" 👉";const s=document.createElement("span");s.className="underline hover:decoration-wavy hover:text-cssline",s.textContent=`Back to ${t.title}`,o.appendChild(s),o.appendChild(i);const l=document.createElement("span");l.id="tag-page-back-link-separator",l.className="mx-2 text-gray-400",l.textContent="|",l.setAttribute("aria-hidden","true"),a.nextSibling?(e.insertBefore(l,a.nextSibling),e.insertBefore(o,l.nextSibling)):(e.appendChild(l),e.appendChild(o)),e.style.display="flex",e.style.alignItems="center",e.style.gap="0.5rem",sessionStorage.removeItem("previousSiteForTagOrColorPage")}}}}catch(e){console.error("Error creating back link for tag page:",e)}}()}g&&(g.textContent=d.toString()),n&&d>=3&&(n.style.display="none"),"complete"===document.readyState||"interactive"===document.readyState?b():document.addEventListener("DOMContentLoaded",b),document.addEventListener("astro:page-load",(()=>{const e=[...t];if(i=e.slice(0,20),d=i.length,r&&(r.innerHTML="",m(i)),g&&(g.textContent=d.toString()),n&&(d>=3?n.style.display="none":(n.style.display="block",n.textContent=`Load more (${d} / 3)`,n.disabled=!1),n.removeEventListener("click",h),n.addEventListener("click",h)),c){JSON.parse(localStorage.getItem(`cssline-tag-state-${a}`)||"{}").siteCount>i.length?c.style.display="block":c.style.display="none",c.removeEventListener("click",u),c.addEventListener("click",u)}document.querySelectorAll('a[href^="/go/"]').forEach((e=>{e.removeEventListener("click",p),e.addEventListener("click",p)})),b()})),window.addEventListener("beforeunload",p)}()