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