import{S as o,i as t,a as i,b as e,s as r,e as n,n as a,d as s,c as m,o as l,f as c,t as p,g,j as u,h as d,k as h,l as f,m as b}from"./index-4348483d.js";import{w as v}from"./index-71440b21.js";import{addMarkersGroups as j}from"../../../../../../../../../js/groups.js";import{addMarkersCoops as k}from"../../../../../../../../../js/coops.js";import{addMarkersCommunities as w}from"../../../../../../../../../js/communities.js";import{loadLocaleContent as y}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function x(o){let t,i,r,n,a,m,l,v,j,k,w,y,x,P,O,A,S,T,D,H,N,z,L,M,U,B,E,G,R,W,Y,_,C,J,K,Z,q,F,I,Q,V,X,$,oo,to,io,eo,ro,no,ao,so,mo,lo,co,po,go,uo,ho,fo,bo,vo,jo,ko,wo,yo,xo,Po,Oo,Ao,So,To,Do,Ho,No,zo,Lo,Mo,Uo,Bo,Eo=o[0].heading+"",Go=o[0].condition1+"",Ro=o[0].condition2+"",Wo=o[0].condition3+"",Yo=o[0].conditionsOutcome+"",_o=o[0].subheading1+"",Co=o[0].valueProposition1+"",Jo=o[0].valueProposition2+"",Ko=o[0].valueProposition3+"",Zo=o[0].valueProposition4+"",qo=o[0].valueProposition5+"",Fo=o[0].subheading2+"",Io=o[0].findOur+"",Qo=o[0].group+"",Vo=o[0].commune+"",Xo=o[0].or+"",$o=o[0].cooperative+"",ot=o[0].nearYou+"",tt=o[0].noneNear+"",it=o[0].WhatsAppGroup+"",et=o[0].or+"",rt=o[0].DiscordServer+"",nt=o[0].helpStart+"";return{c(){t=c("div"),i=c("div"),r=c("h1"),n=p(Eo),a=g(),m=c("img"),v=g(),j=c("ol"),k=c("li"),w=p(Go),y=g(),x=c("li"),P=p(Ro),O=g(),A=c("li"),S=p(Wo),T=g(),D=c("p"),H=g(),N=c("h2"),z=p(_o),L=g(),M=c("ol"),U=c("li"),B=p(Co),E=g(),G=c("li"),R=p(Jo),W=g(),Y=c("li"),_=p(Ko),C=g(),J=c("li"),K=p(Zo),Z=g(),q=c("p"),F=p(qo),I=g(),Q=c("h2"),V=p(Fo),X=g(),$=c("div"),oo=c("p"),to=p(Io),io=g(),eo=c("ol"),ro=c("li"),no=c("a"),ao=p(Qo),so=p(","),mo=g(),lo=c("li"),co=c("a"),po=p(Vo),go=g(),uo=p(Xo),ho=g(),fo=c("li"),bo=c("a"),vo=p($o),jo=g(),ko=c("p"),wo=p(ot),yo=g(),xo=c("p"),Po=p(tt),Oo=g(),Ao=c("a"),So=p(it),To=g(),Do=p(et),Ho=g(),No=c("a"),zo=p(rt),Lo=p(nt),Mo=g(),Uo=c("map-component"),u(m.src,l="/img/common/join-group.svg")||d(m,"src","/img/common/join-group.svg"),d(m,"id","join-group"),d(m,"alt","join group"),d(j,"id","condition-list"),d(M,"id","value-proposition-list"),d(no,"href","/"+o[6]+"/groups"),d(co,"href","/"+o[6]+"/communes"),d(bo,"href","/"+o[6]+"/cooperatives"),d(eo,"id","entities-list"),d($,"id","call-to-action-list"),d(Ao,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),d(Ao,"target","_blank"),d(Ao,"rel","noreferrer"),d(No,"href","https://discord.gg/xAPZmyr8B6"),d(No,"target","_blank"),d(No,"rel","noreferrer"),h(Uo,"id","map"),h(Uo,"callback",Bo=o[8]),d(i,"id","text-container"),d(t,"id","container")},m(o,s){e(o,t,s),f(t,i),f(i,r),f(r,n),f(i,a),f(i,m),f(i,v),f(i,j),f(j,k),f(k,w),f(j,y),f(j,x),f(x,P),f(j,O),f(j,A),f(A,S),f(j,T),f(j,D),D.innerHTML=Yo,f(i,H),f(i,N),f(N,z),f(i,L),f(i,M),f(M,U),f(U,B),f(M,E),f(M,G),f(G,R),f(M,W),f(M,Y),f(Y,_),f(M,C),f(M,J),f(J,K),f(M,Z),f(M,q),f(q,F),f(i,I),f(i,Q),f(Q,V),f(i,X),f(i,$),f($,oo),f(oo,to),f($,io),f($,eo),f(eo,ro),f(ro,no),f(no,ao),f(ro,so),f(eo,mo),f(eo,lo),f(lo,co),f(co,po),f(lo,go),f(lo,uo),f(eo,ho),f(eo,fo),f(fo,bo),f(bo,vo),f($,jo),f($,ko),f(ko,wo),f(i,yo),f(i,xo),f(xo,Po),f(xo,Oo),f(xo,Ao),f(Ao,So),f(xo,To),f(xo,Do),f(xo,Ho),f(xo,No),f(No,zo),f(xo,Lo),f(i,Mo),f(i,Uo)},p(o,t){1&t&&Eo!==(Eo=o[0].heading+"")&&b(n,Eo),1&t&&Go!==(Go=o[0].condition1+"")&&b(w,Go),1&t&&Ro!==(Ro=o[0].condition2+"")&&b(P,Ro),1&t&&Wo!==(Wo=o[0].condition3+"")&&b(S,Wo),1&t&&Yo!==(Yo=o[0].conditionsOutcome+"")&&(D.innerHTML=Yo),1&t&&_o!==(_o=o[0].subheading1+"")&&b(z,_o),1&t&&Co!==(Co=o[0].valueProposition1+"")&&b(B,Co),1&t&&Jo!==(Jo=o[0].valueProposition2+"")&&b(R,Jo),1&t&&Ko!==(Ko=o[0].valueProposition3+"")&&b(_,Ko),1&t&&Zo!==(Zo=o[0].valueProposition4+"")&&b(K,Zo),1&t&&qo!==(qo=o[0].valueProposition5+"")&&b(F,qo),1&t&&Fo!==(Fo=o[0].subheading2+"")&&b(V,Fo),1&t&&Io!==(Io=o[0].findOur+"")&&b(to,Io),1&t&&Qo!==(Qo=o[0].group+"")&&b(ao,Qo),1&t&&Vo!==(Vo=o[0].commune+"")&&b(po,Vo),1&t&&Xo!==(Xo=o[0].or+"")&&b(uo,Xo),1&t&&$o!==($o=o[0].cooperative+"")&&b(vo,$o),1&t&&ot!==(ot=o[0].nearYou+"")&&b(wo,ot),1&t&&tt!==(tt=o[0].noneNear+"")&&b(Po,tt),1&t&&it!==(it=o[0].WhatsAppGroup+"")&&b(So,it),1&t&&et!==(et=o[0].or+"")&&b(Do,et),1&t&&rt!==(rt=o[0].DiscordServer+"")&&b(zo,rt),1&t&&nt!==(nt=o[0].helpStart+"")&&b(Lo,nt),1&t&&Bo!==(Bo=o[8])&&h(Uo,"callback",Bo)},d(o){o&&s(t)}}}function P(o){let t,i=0!=Object.keys(o[0]).length,r=i&&x(o);return{c(){r&&r.c(),t=n(),this.c=a},m(o,i){r&&r.m(o,i),e(o,t,i)},p(o,[e]){1&e&&(i=0!=Object.keys(o[0]).length),i?r?r.p(o,e):(r=x(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:a,o:a,d(o){r&&r.d(o),o&&s(t)}}}function O(o,t,i){let e,r,n,a,s,c=v({});m(o,c,(o=>i(0,a=o)));let p=v({});m(o,p,(o=>i(11,n=o)));let g=v({});m(o,g,(o=>i(10,r=o)));let u=v({});m(o,u,(o=>i(9,e=o))),y(p,"groups-component"),y(g,"communities-component"),y(u,"cooperatives-component");let d=y(c,"join-us-component",s);function h(o,t){let i=o([22,0],2);j(i,n),w(i,r),k(i,e)}l((()=>{}));return[a,s,c,p,g,u,d,h,o=>h(o)]}class A extends o{constructor(o){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},O,P,r,{},null),o&&o.target&&e(o.target,this,o.anchor)}}customElements.define("join-us-component",A);export{A as default};