2 lines
4.5 KiB
JavaScript
2 lines
4.5 KiB
JavaScript
import{S as o,i as t,a as i,b as e,l as r,s as a,t as n,e as s,c as l,n as m,f as p,d as c,k as h,g as u,h as d,o as g}from"./index-95aedb1a.js";import{addMarkersGroups as f}from"../../../../../../../../../js/groups.js";import{addMarkersCoops as b}from"../../../../../../../../../js/coops.js";import{addMarkersCommunities as y}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function w(o){let t,i,r,a,g,f,b,y,w,v,j,x,A,k,C,H,J,M,N,T,U;return{c(){t=n("Are you against exploitation of one human being by another?\r\nDo you agree that we should cooperate and not compete with each other?\r\nIn that case, you are already a libertarian socialist. Join us \r\n\r\nFInd our group, community or cooperative near you and join in order to make a world we both envision a reality. \r\n\r\nNone of them near you? Not a problem! Join our WhatsApp group and we will help you get started.\r\n"),i=s("div"),r=s("div"),a=s("h1"),a.textContent="Join Us",g=l(),f=s("img"),y=l(),w=s("ol"),w.innerHTML="<li>Are you against dictatorship and in favor of democracy?</li> \n <li>Are you against exploitation of one human being by another?</li> \n <li>Do you agree that we should cooperate and not compete with each other?</li> \n <p>If the answer is <b>YES</b>, then you are already a libertarian socialist. <b>JOIN US!</b></p>",v=l(),j=s("h2"),j.textContent="What You Will Get",x=l(),A=s("ol"),A.innerHTML="<li>A community that is always ready to help with all your troubles;</li> \n <li>Access to the means of production of our cooperatives;</li> \n <li>Products and services at the cost of production or even for free;</li> \n <li>Monetary and non-monetary help with opening your own cooperative;</li> \n <p>and much more!</p>",k=l(),C=s("h2"),C.textContent="Find Us",H=l(),J=s("div"),J.innerHTML='<p>Find our</p> \n <ol><li><a href="/groups">group</a>,</li> \n <li><a href="/communities">community</a> or</li> \n <li><a href="/cooperatives">cooperative</a></li></ol> \n <p>near you and join to help make a world we both envision a reality.</p>',M=l(),N=s("p"),N.innerHTML='None of them near you? Not a problem! Join our <a href="https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh" target="_blank" rel="noreferrer">WhatsApp group</a> or <a href="https://discord.gg/xAPZmyr8B6" target="_blank" rel="noreferrer">Discord server</a> and we will help you start your own.',T=l(),U=s("map-component"),this.c=m,p(f.src,b="/img/common/join-group.svg")||c(f,"src","/img/common/join-group.svg"),c(f,"id","join-group"),c(f,"alt","join group"),c(w,"id","condition-list"),c(A,"id","value-proposition-list"),c(J,"id","call-to-action-list"),h(U,"id","map"),h(U,"callback",o[0]),c(r,"id","text-container"),c(i,"id","container")},m(o,n){e(o,t,n),e(o,i,n),u(i,r),u(r,a),u(r,g),u(r,f),u(r,y),u(r,w),u(r,v),u(r,j),u(r,x),u(r,A),u(r,k),u(r,C),u(r,H),u(r,J),u(r,M),u(r,N),u(r,T),u(r,U)},p:m,i:m,o:m,d(o){o&&d(t),o&&d(i)}}}function v(o,t,i){return g((()=>{})),[function(o){let t=o([51.505,-.09],3);f(t),b(t),y(t)}]}class j extends o{constructor(o){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';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\n }#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:1000px;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(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>",t(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},v,w,a,{mapCallback:0},null),o&&(o.target&&e(o.target,this,o.anchor),o.props&&(this.$set(o.props),r()))}static get observedAttributes(){return["mapCallback"]}get mapCallback(){return this.$$.ctx[0]}}customElements.define("join-us-component",j);export{j as default};
|