2 lines
6.9 KiB
JavaScript
2 lines
6.9 KiB
JavaScript
import{S as o,i,a as t,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 i,t,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,io,to,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].community+"",Xo=o[0].or+"",$o=o[0].cooperative+"",oi=o[0].nearYou+"",ii=o[0].noneNear+"",ti=o[0].WhatsAppGroup+"",ei=o[0].or+"",ri=o[0].DiscordServer+"",ni=o[0].helpStart+"";return{c(){i=c("div"),t=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"),io=p(Io),to=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(oi),yo=g(),xo=c("p"),Po=p(ii),Oo=g(),Ao=c("a"),So=p(ti),To=g(),Do=p(ei),Ho=g(),No=c("a"),zo=p(ri),Lo=p(ni),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]+"/communities"),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(t,"id","text-container"),d(i,"id","container")},m(o,s){e(o,i,s),f(i,t),f(t,r),f(r,n),f(t,a),f(t,m),f(t,v),f(t,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(t,H),f(t,N),f(N,z),f(t,L),f(t,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(t,I),f(t,Q),f(Q,V),f(t,X),f(t,$),f($,oo),f(oo,io),f($,to),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(t,yo),f(t,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(t,Mo),f(t,Uo)},p(o,i){1&i&&Eo!==(Eo=o[0].heading+"")&&b(n,Eo),1&i&&Go!==(Go=o[0].condition1+"")&&b(w,Go),1&i&&Ro!==(Ro=o[0].condition2+"")&&b(P,Ro),1&i&&Wo!==(Wo=o[0].condition3+"")&&b(S,Wo),1&i&&Yo!==(Yo=o[0].conditionsOutcome+"")&&(D.innerHTML=Yo),1&i&&_o!==(_o=o[0].subheading1+"")&&b(z,_o),1&i&&Co!==(Co=o[0].valueProposition1+"")&&b(B,Co),1&i&&Jo!==(Jo=o[0].valueProposition2+"")&&b(R,Jo),1&i&&Ko!==(Ko=o[0].valueProposition3+"")&&b(_,Ko),1&i&&Zo!==(Zo=o[0].valueProposition4+"")&&b(K,Zo),1&i&&qo!==(qo=o[0].valueProposition5+"")&&b(F,qo),1&i&&Fo!==(Fo=o[0].subheading2+"")&&b(V,Fo),1&i&&Io!==(Io=o[0].findOur+"")&&b(io,Io),1&i&&Qo!==(Qo=o[0].group+"")&&b(ao,Qo),1&i&&Vo!==(Vo=o[0].community+"")&&b(po,Vo),1&i&&Xo!==(Xo=o[0].or+"")&&b(uo,Xo),1&i&&$o!==($o=o[0].cooperative+"")&&b(vo,$o),1&i&&oi!==(oi=o[0].nearYou+"")&&b(wo,oi),1&i&&ii!==(ii=o[0].noneNear+"")&&b(Po,ii),1&i&&ti!==(ti=o[0].WhatsAppGroup+"")&&b(So,ti),1&i&&ei!==(ei=o[0].or+"")&&b(Do,ei),1&i&&ri!==(ri=o[0].DiscordServer+"")&&b(zo,ri),1&i&&ni!==(ni=o[0].helpStart+"")&&b(Lo,ni),1&i&&Bo!==(Bo=o[8])&&h(Uo,"callback",Bo)},d(o){o&&s(i)}}}function P(o){let i,t=0!=Object.keys(o[0]).length,r=t&&x(o);return{c(){r&&r.c(),i=n(),this.c=a},m(o,t){r&&r.m(o,t),e(o,i,t)},p(o,[e]){1&e&&(t=0!=Object.keys(o[0]).length),t?r?r.p(o,e):(r=x(o),r.c(),r.m(i.parentNode,i)):r&&(r.d(1),r=null)},i:a,o:a,d(o){r&&r.d(o),o&&s(i)}}}function O(o,i,t){let e,r,n,a,s,c=v({});m(o,c,(o=>t(0,a=o)));let p=v({});m(o,p,(o=>t(11,n=o)));let g=v({});m(o,g,(o=>t(10,r=o)));let u=v({});m(o,u,(o=>t(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,i){let t=o([22,0],2);j(t,n),w(t,r),k(t,e)}l((()=>{}));return[a,s,c,p,g,u,d,h,o=>h(o)]}class A extends o{constructor(o){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';#entities-list li{list-style:none}#entities-list li:before{content:'';display:inline-block;height:1.1rem;width:1rem;background-size:contain;background-repeat:no-repeat;margin-left:-1.5rem;margin-right:0.5rem}#entities-list li:nth-of-type(1):before{background-image:url(https://www.libsoc.org/img/common/markers/marker-green.png)}#entities-list li:nth-of-type(2):before{background-image:url(https://www.libsoc.org/img/common/markers/marker-red.png)}#entities-list li:nth-of-type(3):before{background-image:url(https://www.libsoc.org/img/common/markers/marker-blue.png)}#entities-list li::marker{display:inline-block;height:1rem}h2{margin-bottom:1rem}#value-proposition-list{margin-bottom:2rem}#value-proposition-list>li{margin-bottom:1rem}ol li{position:relative;font-family:var(--serif,serif);margin-left:1.5rem;list-style-position:outside}#join-group{position:absolute;width:10.5rem;height:auto;left:calc(50% + 1.2rem);transform:translate(-50%);z-index:0;opacity:0.2}#map{--height:30rem;--width:100%;--margin-bottom:3rem}#call-to-action-list>ol>li{position:relative;font-family:var(--serif,serif);margin-left:3rem}#condition-list{margin-bottom:2rem;margin-top:7rem}#condition-list>li{margin-bottom:1rem}#text-container{max-width:calc(100vw - 4rem);margin:auto}h1{margin-bottom:1rem;font-size:2.2rem;text-align:center}#container{margin:auto;max-width:800px;margin-top:1rem;margin-bottom:4rem}#container>div>p{margin-bottom:1rem}#call-to-action-list>p{margin-bottom:1rem}#call-to-action-list>:nth-child(1){margin-bottom:0.5rem}#call-to-action-list>:nth-child(2){margin-bottom:0rem}#call-to-action-list>ol>li{margin-bottom:0.5rem}#text-container a{color:#DD1C1A\n }#container p{text-align:justify}</style>",i(this,{target:this.shadowRoot,props:t(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};
|