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