import{S as t,i as e,a as i,b as n,s as a,e as o,c as r,n as s,d as l,f as m,g as c,h as g,j as d,o as h,t as f}from"./index-95aedb1a.js";import"../../../../../../../../../js/components/map-component.js";function p(t,e,i){const n=t.slice();return n[1]=e[i],n}function u(t){let e,i,a,m,d,h,p,u,x,b,w,v,y,k,C,j,z,D,T,A,E,F,G,L,O,R,S,W=t[1].name+"",_=t[1].type+"",q=t[1].link+"",H=t[1].description+"";return{c(){e=o("div"),i=o("div"),a=o("picture"),m=o("source"),d=r(),h=o("source"),p=r(),u=o("img"),x=r(),b=o("div"),w=o("p"),v=o("b"),v.textContent="Name: ",y=f(W),k=r(),C=o("p"),j=o("b"),j.textContent="Type: ",z=f(_),D=r(),T=o("p"),A=o("b"),A.textContent="Link: ",E=o("a"),F=f(q),G=r(),L=o("p"),O=o("b"),O.textContent="Description: ",R=f(H),S=r(),l(m,"srcset","/img/affiliates/"+t[1].logo+".webp"),l(h,"srcset","/img/affiliates/"+t[1].logo+".jpg"),l(u,"class","affiliate-logo"),l(u,"alt","logo"),l(E,"href",t[1].link),l(E,"target",";_blank;"),l(E,"rel","noreferrer"),l(i,"class","img-general-info"),l(e,"class","location-info")},m(t,o){n(t,e,o),c(e,i),c(i,a),c(a,m),c(a,d),c(a,h),c(a,p),c(a,u),c(i,x),c(i,b),c(b,w),c(w,v),c(w,y),c(b,k),c(b,C),c(C,j),c(C,z),c(b,D),c(b,T),c(T,A),c(T,E),c(E,F),c(e,G),c(e,L),c(L,O),c(L,R),c(e,S)},p:s,d(t){t&&g(e)}}}function x(t){let e,i,a,h,f,x,b,w,v,y,k,C,j,z=t[0],D=[];for(let e=0;e{})),[[{name:"Gaia's Fall",type:"a place to discuss and organize",link:"https://discord.libsoc.org",description:"Gaia's Fall is a server that promotes Solarpunk ideals, environmentalism, anarchism, and anti-capitalism. We encourage civil debates, discussions of theories and possibilities, and the creation of communities focused on shaping a better world. It is our official Discord server where we organize and work together.",logo:"gaias_fall"}]]}class w extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},b,x,a,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("affiliates-component",w);export{w as default};