import{S as t,i as e,a as o,b as n,s as i,e as r,c as a,n as s,d as c,f as m,g as l,h as p,j as h,o as g,t as d}from"./index-04d7984b.js";import{coops as f,addMarkersCoops as u}from"../../../../../../../../../js/coops.js";import"../../../../../../../../../js/components/map-component.js";function b(t,e,o){const n=t.slice();return n[1]=e[o],n}function w(t){let e,o,i,c,h,g,f,u,b,w,v,x,k,y,C,j,z,W,D,E,M,q,I,L,R,S,T,_,A,B,F,H,N,O,G,J,K,P,Q,U,V,X,Y,Z,$=t[1].name+"",tt=t[1].lcoation+"",et=t[1].market+"",ot=t[1].workers+"",nt=t[1].status+"",it=t[1].website+"",rt=t[1].contact[1]+"",at=t[1].description+"";return{c(){e=r("div"),o=r("div"),i=r("div"),c=r("p"),h=r("b"),h.textContent="Name: ",g=d($),f=a(),u=r("p"),b=r("b"),b.textContent="Location: ",w=d(tt),v=a(),x=r("p"),k=r("b"),k.textContent="Market: ",y=d(et),C=a(),j=r("p"),z=r("b"),z.textContent="Workers: ",W=d(ot),D=a(),E=r("p"),M=r("b"),M.textContent="Status: ",q=d(nt),I=a(),L=r("p"),R=r("b"),R.textContent="Website: ",S=r("a"),T=d(it),_=a(),A=r("p"),B=r("b"),B.textContent="Contact: ",F=r("a"),H=d(rt),N=a(),O=r("picture"),G=r("source"),J=a(),K=r("source"),P=a(),Q=r("img"),U=a(),V=r("p"),X=r("b"),X.textContent="Description: ",Y=d(at),Z=a(),m(S,"href","https://www."+t[1].website),m(S,"target","_blank"),m(S,"rel","noreferrer"),m(F,"href",t[1].contact[0]),m(F,"target",";_blank;"),m(F,"rel","noreferrer"),m(G,"srcset","/img/coops/"+t[1].logo+".webp"),m(K,"srcset","/img/coops/"+t[1].logo+".png"),m(Q,"class","coop-logo"),m(Q,"alt","logo"),m(e,"class","location-info")},m(t,r){n(t,e,r),l(e,o),l(o,i),l(i,c),l(c,h),l(c,g),l(i,f),l(i,u),l(u,b),l(u,w),l(i,v),l(i,x),l(x,k),l(x,y),l(i,C),l(i,j),l(j,z),l(j,W),l(i,D),l(i,E),l(E,M),l(E,q),l(i,I),l(i,L),l(L,R),l(L,S),l(S,T),l(i,_),l(i,A),l(A,B),l(A,F),l(F,H),l(o,N),l(o,O),l(O,G),l(O,J),l(O,K),l(O,P),l(O,Q),l(e,U),l(e,V),l(V,X),l(V,Y),l(e,Z)},p:s,d(t){t&&p(e)}}}function v(t){let e,o,i,g,d,u,v,x,k,y,C,j,z,W,D=f,E=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);u(e)}]}class k extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},x,v,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",k);export{k as default};