Chesapeake Climate Action Network

Chesapeake Climate Action Network

The Chesapeake Climate Action Network (CCAN) is the first grassroots, nonprofit organization dedicated exclusively to fighting global warming in Maryland, Virginia, and Washington, D.C. Our mission is to build and mobilize a powerful grassroots movement in this unique region that surrounds our nation's capital to call for state, national and international policies that will put us on a path to climate stability. - See more at: http://www.chesapeakeclimate.org/index.php?option=com_k2&view;=itemlist&...
Press Releases

"),n.type){case "pdf":if(e.default.isFirefox()||e.default.isEdge()||e.default.isIE())try{if(console.info("PrintJS currently doesn't support PDF printing in Firefox, Internet Explorer and Edge."),!0===n.onBrowserIncompatible())window.open(n.fallbackPrintable,"_blank").focus(),n.onPdfOpen&&n.onPdfOpen()}catch(s){n.onError(s)}finally{n.showModal&&f.default.close(),n.onLoadingEnd&&n.onLoadingEnd()};else g.default.print(n,r);break;case "image":j.default.print(n,r);break;case "html":h.default.print(n,r);break;case "raw-html":i.default.print(n,r);break;case "json":k.default.print(n,r)}}}},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e=c(0),f=(d=e)&&d.__esModule?d:{default:d},g=c(1);function h(i,j,k){var l=new window.Blob([k],{type:"application/pdf"});l=window.URL.createObjectURL(l),j.setAttribute("src",l),f.default.send(i,j)}b.default={print:function(i,j){if(i.base64){var k=Uint8Array.from(atob(i.printable),function(m){return m.charCodeAt(0)});h(i,j,k)}else{i.printable=/^(blob|http)/i.test(i.printable)?i.printable:window.location.origin+ ("/"!==i.printable.charAt(0)?"/"+ i.printable:i.printable);var l=new window.XMLHttpRequest;l.responseType="arraybuffer",l.addEventListener("load",function(){if(-1===[200,201].indexOf(l.status))return (0,g.cleanUp)(i),void i.onError(l.statusText);h(i,j,l.response)}),l.open("GET",i.printable,!0),l.send()}}}},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e=c(1),f=c(0),g=(d=f)&&d.__esModule?d:{default:d};b.default={print:function(h,i){var j=document.getElementById(h.printable);j?(h.printableElement=function k(l,m){var n=l.cloneNode();var o=!0;var p=!1;var q=void 0;try{for(var r,s=l.childNodes[Symbol.iterator]();!(o=(r=s.next()).done);o=!0){var t=r.value;if(-1===m.ignoreElements.indexOf(t.id)){var u=k(t,m);n.appendChild(u)}}}catch(v){p=!0,q=v}finally{try{!o&&s.return&&s.return()}finally{if(p)throw q}};switch(l.tagName){case "SELECT":n.value=l.value;break;case "CANVAS":n.getContext("2d").drawImage(l,0,0)};return n}(j,h),h.header&&(0,e.addHeader)(h.printableElement,h),g.default.send(h,i)):window.console.error("Invalid HTML element id: "+ h.printable)}}},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e=c(0),f=(d=e)&&d.__esModule?d:{default:d};b.default={print:function(g,h){g.printableElement=document.createElement("div"),g.printableElement.setAttribute("style","width:100%"),g.printableElement.innerHTML=g.printable,f.default.send(g,h)}}},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e=c(1),f=c(0),g=(d=f)&&d.__esModule?d:{default:d};b.default={print:function(h,i){h.printable.constructor!==Array&&(h.printable=[h.printable]),h.printableElement=document.createElement("div"),h.printable.forEach(function(j){var k=document.createElement("img");k.setAttribute("style",h.imageStyle),k.src=j;var l=document.createElement("div");l.appendChild(k),h.printableElement.appendChild(l)}),h.header&&(0,e.addHeader)(h.printableElement,h),g.default.send(h,i)}}},function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d,e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},f=c(1),g=c(0),h=(d=g)&&d.__esModule?d:{default:d};b.default={print:function(i,j){if("object"!==e(i.printable))throw new Error("Invalid javascript data object (JSON).");if("boolean"!=typeof i.repeatTableHeader)throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!i.properties||!Array.isArray(i.properties))throw new Error("Invalid properties array for your JSON data.");i.properties=i.properties.map(function(k){return {field:"object"===(void 0===k?"undefined":e(k))?k.field:k,displayName:"object"===(void 0===k?"undefined":e(k))?k.displayName:k,columnSize:"object"===(void 0===k?"undefined":e(k))&&k.columnSize?k.columnSize+ ";":100/i.properties.length+ "%;"}}),i.printableElement=document.createElement("div"),i.header&&(0,f.addHeader)(i.printableElement,i),i.printableElement.innerHTML+=function(k){var l=k.printable,m=k.properties,n='

';k.repeatTableHeader&&(n+="");n+="";for(var o=0;o'+ (0,f.capitalizePrint)(m[o].displayName)+ "";n+="",k.repeatTableHeader&&(n+="");n+="";for(var p=0;p";for(var q=0;q'+ r+ ""};n+=""};return n+="

"}(i),h.default.send(i,j)}}}]).default});document.querySelector('.all-content-wrapper').setAttribute('id','printable');ChangeListener('.lead_post_body_main .share-pinterest, .mobile_social_links .share-pinterest',function(a){a.outerHTML=''});ChangeListener('.lead_post_body_main .share-print, .mobile_social_links .share-print',function(a){a.addEventListener("click",function(){if(navigator.userAgent.indexOf("Firefox")>0){window.print()}else{printJS({printable:'printable',type:'html',targetStyles:['*'],css:'https://partners.rebelmouse.com/commondreams/print.css?s=0'})}})})});window.REBELMOUSE_TASKS_QUEUE.push(function(){const a="your profile has been updated";const b="You're already subscribed, your profile has been updated. Thank you!";const c="You're already subscribed. Thank you!";let d=document.getElementById("mce-success-response");let e=new MutationObserver(function(g){g.forEach(function(h){console.log(d.innerHTML);if(d.innerHTML===b||d.innerHTML.includes(a)){d.innerHTML=c}})});const f={attributes:true,childList:true,characterData:true};e.observe(d,f)});window.REBELMOUSE_TASKS_QUEUE.push(function(){console.log("-----update Form Logic-----");const b=document.querySelector(".black_newsletter");const c=document.querySelector(".newsletter-and-social");const d=document.querySelector(".newsletter-campaign.mb-2");const e=document.querySelector(".newsletter-campaign .custom-field-newsletter-visible-on-sticky-position");const f=document.querySelector(".newsletter-campaign .custom-field-newsletter-visible-on-sidebar-position");const g=document.querySelector(".newsletter-campaign .custom-field-newsletter-visible-on-fixed-position");let h="";if(b&&d!=null){h=b.querySelector(".black_news");b.style.display="none";let i=new IntersectionObserver((j,k)=>{j.forEach(l=>{if(l.isIntersecting){if(d!=null&&f!=null){b.style.display="none";l.target.append(c);a()}else{}}else{if(d!=null&&e!=null){h.append(c);b.style.display="block";a()}}})},{threshold:0.05});if(d!=null){document.querySelectorAll(".js-newsletter-wrapper").forEach(j=>{i.observe(j)})}};function a(){const i=document.getElementById("mc_embed_signup");const j=document.getElementById("mc-embedded-subscribe-form");let k=new URL(j.action);let l="Fixed";console.log("-----updateFormParam-----");if(j.closest(".black_news")!==null){l="Sticky"}else if(j.closest(".grey_newsblock")!==null){l="Fixed"};k.searchParams.set("SIGNUP",l);j.action=k.toString();const m=j.cloneNode(true);i.removeChild(j);i.append(m);const n=document.getElementById("mc-embedded-subscribe-form");const o="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js";const p=document.querySelector(`script[src='${o}']`);p.remove();const q=document.createElement("script");q.src=o;q.type="text/javascript";i.insertAdjacentElement("afterend",q)}a()});window.REBELMOUSE_TASKS_QUEUE.push(function(){var a=function(d){var e=document.cookie.match(new RegExp('(^|; )'+ d+ '=([^;]+)'));return e?e[2]:null};var b=function(d,e){var f=new Date();var g=f.getTime();var h=g+ 1000*60*60*24*365;f.setTime(h);document.cookie=d+ '='+ e+ '; expires='+ f+ ';path=/; Secure; SameSite=Lax;'};function c(){if(document.querySelector(".home-sidebar").children.length>0){var d=document.querySelector(".home-sidebar .custom-field-visible-to-admin-only");if(!a("userIsAdmin")&&d&&d.innerHTML=='True'){document.querySelector(".donation_banner").style.display="none"}else{document.querySelector(".donation_banner").classList.remove("hidden")}}}c()})