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