{"id":1008770,"date":"2021-04-19T06:53:27","date_gmt":"2021-04-19T10:53:27","guid":{"rendered":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/tenth-circuit-grants-qualified-immunity-to-police-who-knowingly-violated-the-first-amendment-cato-institute\/"},"modified":"2021-04-19T06:53:27","modified_gmt":"2021-04-19T10:53:27","slug":"tenth-circuit-grants-qualified-immunity-to-police-who-knowingly-violated-the-first-amendment-cato-institute","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/first-amendment-2\/tenth-circuit-grants-qualified-immunity-to-police-who-knowingly-violated-the-first-amendment-cato-institute\/","title":{"rendered":"Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment &#8211; Cato Institute"},"content":{"rendered":"<p><p>Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment | Cato at Liberty Blog                                                        Skip to main content              `;    }    const addClickListeners = (alertBoxWrapper) => {      alertBoxWrapper.addEventListener('click', ({ target }) => {        if (target.classList.contains('js-cato-live-alert-link')) {          var ga = window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};          var _hsq = window._hsq = window._hsq || [];          ga(            'send',            'event',            'Live Alert Link',            'click',            target.getAttribute('href')          );          const {            dataset: {              researchAreas,            }          } = target;          Object.values(JSON.parse(researchAreas)).forEach(({ title }) => {            _hsq.push([\"trackEvent\", {              id: `Live Alert Link - ${title}`            }]);          });        }      });    };    const buildAlert = (events) => {      const { pathname: currentPath } = new URL(window.location.href);      if (currentPath === '\/') {        return;      }      const alertWrapper = document.querySelector('.js-live-alert-wrapper');      const alert = document.querySelector('.js-live-alert');      const eventsWrapper = alertWrapper.querySelector('.js-live-alert-inner');      let eventsCode = '';      events.forEach(({ title, link, research_areas: researchAreas }) => {        if (link !== currentPath) {          eventsCode += buildEventCode(            title,            link,            JSON.stringify(researchAreas)          );        }      });      if (!eventsCode) {        return;      }      eventsWrapper.innerHTML = eventsCode;      alert.classList.add(        `cato-live-alert--${events.length > 1 ? 'multiple' : 'single'}`      );      addClickListeners(alertWrapper);      alertWrapper.classList.remove('d-none');    };    getCatoStreamingEvents      .then(( { events }) => {        if (events === undefined) {          window.liveAlertProcessed = true;          window.dispatchEvent(new Event('liveAlertPlaced'));          return;        }        buildAlert(Object.values(events).slice(0, 2));        window.liveAlertProcessed = true;        window.dispatchEvent(new Event('liveAlertPlaced'));      })      .catch((error) => {        console.log(error);        window.liveAlertProcessed = true;        window.dispatchEvent(new Event('liveAlertPlaced'));      });  })(getCatoStreamingEvents);<\/p>\n<p><!-- Auto Generated --><\/p>\n<p>Read more:<br \/>\n<a target=\"_blank\" href=\"https:\/\/www.cato.org\/blog\/tenth-circuit-grants-qualified-immunity-police-who-knowingly-violated-first-amendment\" title=\"Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment - Cato Institute\" rel=\"noopener\">Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment - Cato Institute<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment | Cato at Liberty Blog Skip to main content `; } const addClickListeners = (alertBoxWrapper) => { alertBoxWrapper.addEventListener('click', ({ target }) => { if (target.classList.contains('js-cato-live-alert-link')) { var ga = window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)}; var _hsq = window._hsq = window._hsq || []; ga( 'send', 'event', 'Live Alert Link', 'click', target.getAttribute('href') ); const { dataset: { researchAreas, } } = target; Object.values(JSON.parse(researchAreas)).forEach(({ title }) => { _hsq.push([\"trackEvent\", { id: `Live Alert Link - ${title}` }]); }); } }); }; const buildAlert = (events) => { const { pathname: currentPath } = new URL(window.location.href); if (currentPath === '\/') { return; } const alertWrapper = document.querySelector('.js-live-alert-wrapper'); const alert = document.querySelector('.js-live-alert'); const eventsWrapper = alertWrapper.querySelector('.js-live-alert-inner'); let eventsCode = ''; events.forEach(({ title, link, research_areas: researchAreas }) => { if (link !== currentPath) { eventsCode += buildEventCode( title, link, JSON.stringify(researchAreas) ); } }); if (!eventsCode) { return; } eventsWrapper.innerHTML = eventsCode; alert.classList.add( `cato-live-alert--${events.length > 1 ? 'multiple' : 'single'}` ); addClickListeners(alertWrapper); alertWrapper.classList.remove('d-none'); }; getCatoStreamingEvents .then(( { events }) => { if (events === undefined) { window.liveAlertProcessed = true; window.dispatchEvent(new Event('liveAlertPlaced')); return; } buildAlert(Object.values(events).slice(0, 2)); window.liveAlertProcessed = true; window.dispatchEvent(new Event('liveAlertPlaced')); }) .catch((error) => { console.log(error); window.liveAlertProcessed = true; window.dispatchEvent(new Event('liveAlertPlaced')); }); })(getCatoStreamingEvents);  <a href=\"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/first-amendment-2\/tenth-circuit-grants-qualified-immunity-to-police-who-knowingly-violated-the-first-amendment-cato-institute\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94877],"tags":[],"class_list":["post-1008770","post","type-post","status-publish","format-standard","hentry","category-first-amendment-2"],"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/1008770"}],"collection":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/comments?post=1008770"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/1008770\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/media?parent=1008770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/categories?post=1008770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/tags?post=1008770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}