1"use strict";(globalThis.webpackChunkme=globalThis.webpackChunkme||[]).push([[9],{95574(e,t,n){var r=n(84037),o=n(55476),i=n(51145),a=n(84144),c=n.n(a),u=n(76777),s=(n(85669),n(53481)),d=n.n(s),l=(n(39389),n(71272)),p=n(19927),f=n(68980);function m(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){var t="function"===typeof Map?new Map:void 0;return g=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(v())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&b(o,n.prototype),o}(e,arguments,h(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,e)},g(e)}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}delete d().Icon.Default.prototype._getIconUrl,d().Icon.Default.mergeOptions({iconRetinaUrl:l,iconUrl:p,shadowUrl:f});var E="goodcrowd-tracking-accepted",j=new i.A,k=function(e){var t;if(!e)return e;var n=(null==(t=document.body)?void 0:t.dataset)||{},r=n.pageType,o=n.campaignId;return e.properties=O(O(O({},r?{page_type:r}:{}),o?{campaign_id:o}:{}),e.properties),e},A=function(){var e=document.body.dataset,t=e.posthogApiKey,n=e.posthogApiHost;t&&n&&!o.Ay.__loaded&&(o.Ay.init(t,{api_host:n,capture_pageview:!0,capture_pageleave:!0,autocapture:!1,disable_session_recording:!0,person_profiles:"always",before_send:k}),window.posthog=o.Ay)};j.addChangeListener((function(e){e.name===E&&"accepted"==e.value&&A()})),"accepted"===j.get(E)&&A();var S=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).attachShadow({mode:"open"}),t.shadowRoot&&(t.shadowRoot.innerHTML="\n <style>\n :host {\n text-align: center;\n width: 100%;\n display: block;\n }\n </style>\n\n <slot></slot>\n "),t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,b(t,n),r}(g(HTMLElement));r.A.onLoad((function(){window.customElements.get("text-center")||window.customElements.define("text-center",S)}
1));var _=new(c());function P(){var e="",t=!1,n=0,r=document.getElementById("typing-text");"1"!==(null==r?void 0:r.getAttribute("effect-started"))&&(null==r||r.setAttribute("effect-started","1"),function o(){if(r&&r.dataset.claims){var i=JSON.parse(r.dataset.claims),a=i[n],c=t?30:60;if(t||e!==a){if(t&&""===e)return t=!1,n=(n+1)%i.length,void setTimeout(o,500);e=t?e.substring(0,e.length-1):a.substring(0,e.length+1),r.innerHTML=e+'<span class="border-r-4 border-white animate-blink"> </span>',setTimeout(o,c)}else setTimeout((function(){t=!0,o()}),2e3)}}())}r.A.onLoad((function(){_.update()})),r.A.onLoad((function(){for(var e=0,t=[".glide","#how-it-works","#featured-articles","#mobile-news-carousel"];e<t.length;e++){var n=t[e];document.querySelector(n)&&new u.A(n,{perView:2,peek:40,breakpoints:{450:{perView:1}}}).mount()}document.querySelectorAll(".glide-desktop").forEach((function(e){new u.A(e,{perView:2,gap:24,peek:0}).mount()}))})),document.addEventListener("DOMContentLoaded",(function(e){var t=document.getElementById("mobile-menu-button"),n=document.getElementById("mobile-menu");if(n&&t){var r=function e(t){t.composedPath().includes(n)||n.classList.contains("hidden")||(n.classList.add("hidden"),document.removeEventListener("click",e))};t.addEventListener("click",(function(e){e.stopPropagation(),n.classList.contains("hidden")?(n.classList.remove("hidden"),document.addEventListener("click",r)):(n.classList.add("hidden"),document.removeEventListener("click",r))}))}})),document.addEventListener("DOMContentLoaded",(function(e){var t=document.getElementById("search-form"),n=document.getElementById("show-search-button");t&&n&&n.addEventListener("click",(function(){var e=t.querySelector("input");t.classList.toggle("hidden"),n.classList.toggle("hidden"),e&&e.focus()}))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("search");e&&e.addEventListener("close",(function(){var t=e.querySelector('input[name="q"]'),n=document.getElementById("search-results");t&&(t.value=""),n&&(n.innerHTML="")}))})),document.addEventListener("htmx:afterSettle",P),document.addEventListener("DOMContentLoaded",P),window.addEventListener("htmx:historyRestore",P),r.A.onLoad((function(){var e=document.getElementById("map");if(e){var t=JSON.parse(e.dataset.markers),n=d().map("map",{}).setView([52.4989689,13.4467688],13);d().tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(n);for(var r,o=d().markerClusterGroup({chunkedLoading:!0,spiderfyOnMaxZoom:!0,showCoverageOnHover:!1,zoomToBoundsOnClick:!0}),i=[],a=m(t);!(r=a()).done;){var c=r.value,u=d().marker([c.lat,c.lng]).bindPopup("<strong>"+c.title+'</strong><br><a href="'+c.link+'" class="text-me-purple-700 hover:underline">View campaign</a>');o.addLayer(u),i.push([c.lat,c.lng])}n.addLayer(o),i.length>0&&n.fitBounds(i,{padding:[50,50]})}}))}},e=>{e.O(0,[37,408,777,124],(()=>{return t=95574,e(e.s=t);var t}));e.O()}]); 2//# sourceMappingURL=static-a4a005e11ff02184016a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.