import{S as t,i as e,a as o,b as n,l as a,s as i,e as s,c as r,n as m,d as c,f as l,k as p,g as u,h as g,j as h,o as d,t as f}from"./index-95aedb1a.js";import{groups as b,addMarkersGroups as x}from"../../../../../../../../../js/groups.js";import"../../../../../../../../../js/components/map-component.js";function w(t,e,o){const n=t.slice();return n[1]=e[o],n}function v(t){let e,o,a,i,l,p,h,d,b,x,w,v,y,C,k=t[1].location[0]+"",j=t[1].members+"",z=t[1].contact[1]+"";return{c(){e=s("div"),o=s("p"),a=s("b"),a.textContent="Location: ",i=f(k),l=r(),p=s("p"),h=s("b"),h.textContent="Members: ",d=f(j),b=r(),x=s("p"),w=s("b"),w.textContent="Contact: ",v=s("a"),y=f(z),C=r(),c(v,"href",t[1].contact[0]),c(v,"target",";_blank;"),c(v,"rel","noreferrer"),c(e,"class","location-info")},m(t,s){n(t,e,s),u(e,o),u(o,a),u(o,i),u(e,l),u(e,p),u(p,h),u(p,d),u(e,b),u(e,x),u(x,w),u(x,v),u(v,y),u(e,C)},p:m,d(t){t&&g(e)}}}function y(t){let e,o,a,i,d,f,x,y,C,k,j,z,G,q,E,T,W,$=b,A=[];for(let e=0;e<$.length;e+=1)A[e]=v(w(t,$,e));return{c(){e=s("div"),o=s("div"),a=s("h1"),a.textContent="Groups",i=r(),d=s("img"),x=r(),y=s("p"),y.textContent="We aim to raise awareness about the negative impact of current politico-economic systems on our well-being. Through education, community engagement, and analysis, we reveal the flaws and inequalities in capitalist societies. By highlighting these issues, we empower people to question the status quo and imagine fairer and more sustainable alternatives.",C=r(),k=s("p"),k.textContent="But our mission goes beyond theory. We believe in mutual aid and collective action to address immediate challenges within capitalism. Through mutual aid, we support each other by sharing resources, knowledge, and skills, fostering solidarity and resilience. Whether it's community gardens, food cooperatives, or support networks, our goal is to make life under capitalism more bearable and create pockets of resistance and alternatives within the system.",j=r(),z=s("h3"),z.textContent="Our groups",G=r(),q=s("map-component"),E=r(),T=s("h4"),T.textContent="Europe",W=r();for(let t=0;t<A.length;t+=1)A[t].c();this.c=m,c(d,"id","groups-img"),l(d.src,f="/img/common/groups.svg")||c(d,"src","/img/common/groups.svg"),c(d,"alt","groups"),p(q,"id","map"),p(q,"callback",t[0]),c(o,"id","text-container"),c(e,"id","container")},m(t,s){n(t,e,s),u(e,o),u(o,a),u(o,i),u(o,d),u(o,x),u(o,y),u(o,C),u(o,k),u(o,j),u(o,z),u(o,G),u(o,q),u(o,E),u(o,T),u(o,W);for(let t=0;t<A.length;t+=1)A[t].m(o,null)},p(t,[e]){if(0&e){let n;for($=b,n=0;n<$.length;n+=1){const a=w(t,$,n);A[n]?A[n].p(a,e):(A[n]=v(a),A[n].c(),A[n].m(o,null))}for(;n<A.length;n+=1)A[n].d(1);A.length=$.length}},i:m,o:m,d(t){t&&g(e),h(A,t)}}}function C(t,e,o){return d((()=>{})),[function(t){let e=t([51.505,-.09],3);x(e)}]}class k extends t{constructor(t){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';#groups-img{position:absolute;width:14rem;left:50%;transform:translate(-50%);z-index:0;opacity:0.2}#text-container>:nth-child(3){margin-top:8rem}h4{margin-bottom:2rem}.location-info{margin-bottom:2rem}.location-info p{margin-bottom:0}a{font-size:1.2rem;color:#DD1C1A}#map{--height:30rem;--width:100%;--margin-bottom:3rem}#text-container{position:relative;max-width:calc(100vw - 4rem);margin:auto}h1{margin-bottom:1rem;font-size:2.5rem;text-align:center}h3{margin-bottom:1rem}#container{margin:auto;max-width:1200px;margin-top:1rem;margin-bottom:4rem}#container>div>p{margin-bottom:1rem}#container p{font-size:1.2rem;text-align:justify}</style>",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},C,y,i,{mapCallbackGroups:0},null),t&&(t.target&&n(t.target,this,t.anchor),t.props&&(this.$set(t.props),a()))}static get observedAttributes(){return["mapCallbackGroups"]}get mapCallbackGroups(){return this.$$.ctx[0]}}customElements.define("groups-component",k);export{k as default};
