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