<div id="comments" class="md:p-4 rounded-lg pb-6 pt-6 mt-4">
    <div class="flex items-center justify-between mb-4">
        <span class="uppercase text-primary text-xl font-semibold block">Commenti</span>
        <a target="_blank" nofollow href="/guida-ai-commenti/"
        class="bg-slate-100 text-slate-900 text-sm rounded-lg px-4 py-1 hover:bg-slate-200">
        Regolamento
        </a>
    </div>

    <div id="disqus_thread">
    <div class="max-w-[668px]">
    
</div></div>

<script>
    window.addEventListener('load', function () {
        window.setTimeout(function () {
            var countScript = document.createElement('script');
            countScript.id = 'dsq-count-scr';
            countScript.src = 'https://.disqus.com/count.js';
            countScript.async = true;
            document.body.appendChild(countScript);
        }, 3000);
    }, { once: true });
</script>

<script>
    var disqus_config = function () {
        this.page.url        = '';
        this.page.identifier = '';
        this.page.title      = '';
    };

    var disqusLoaded = false;
    var disqusTarget = document.getElementById('disqus_thread');

    function loadDisqus() {
        if (disqusLoaded) return;
        var d = document, s = d.createElement('script');
        s.src = 'https://.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
        disqusLoaded = true;
    }

    if ('IntersectionObserver' in window && disqusTarget) {
        var disqusObserver = new IntersectionObserver(function (entries) {
            if (entries[0].isIntersecting) {
                loadDisqus();
                disqusObserver.disconnect();
            }
        }, { rootMargin: '600px 0px' });
        disqusObserver.observe(disqusTarget);
    } else {
        window.addEventListener('scroll', function () {
            if ((window.innerHeight + window.scrollY) > (document.body.offsetHeight - 1200)) {
                loadDisqus();
            }
        }, { passive: true });
    }
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>


</div>
