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