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