import{S as e,i as o,a as t,b as n,s as i,e as a,n as r,d as s,c as l,o as c,f as d,g as m,t as p,h,j as g,l as u,q as f,m as b,p as v,r as k,w}from"./index-4348483d.js";import{w as y}from"./index-71440b21.js";import{loadLocaleContent as x,locales as j}from"../../../../../../../../../js/libraries/serverTools.js";function z(e,o,t){const n=e.slice();return n[14]=o[t][0],n[15]=o[t][1],n}function O(e){let o,t,i,a,r,l,c,w,y,x,O,H,L,M,N,S,E,R,U,q,I,X,A,B,C,D,F,G,J,K,P,Q,V,W,Y,Z,$,_,ee,oe,te,ne,ie,ae,re,se,le,ce,de=e[3].orgName+"",me=e[3].manifesto+"",pe=e[3].joinUs+"",he=e[3].groups+"",ge=e[3].communes+"",ue=e[3].cooperatives+"",fe=e[3].parties+"",be=e[3].partners+"",ve=Object.entries(j),ke=[];for(let o=0;o',r=m(),l=d("a"),c=d("img"),y=m(),x=d("span"),O=p(de),H=m(),L=d("nav"),M=d("ul"),N=d("li"),S=d("a"),E=p(me),R=m(),U=d("li"),q=d("a"),I=p(pe),X=m(),A=d("li"),B=d("a"),C=p(he),D=m(),F=d("li"),G=d("a"),J=p(ge),K=m(),P=d("li"),Q=d("a"),V=p(ue),W=m(),Y=d("li"),Z=d("a"),$=p(fe),_=m(),ee=d("li"),oe=d("a"),te=p(be),ne=m(),ie=d("li"),ae=d("button"),ae.innerHTML=' \n \n globe',re=m(),se=d("div");for(let e=0;et(3,n=e)));let m=x(d,"navbar-component",s);function p(e){localStorage.setItem("locale",e);let o=location.href.split("/"),t=Object.keys(j);o=o.filter((e=>!t.includes(e)));let n=o.slice(0,o.length-1).join("/")+"/"+e+"/"+o[o.length-1];location.href=n}c((()=>{}));return[i,a,r,n,s,d,m,function(){i.checked?t(1,a.style.background="white",a):setTimeout((()=>{t(1,a.style.position="relative",a),t(1,a.style.background="",a),t(1,a.style.boxShadow="",a)}),510)},function(){"block"==r.style.display?t(2,r.style.display="none",r):t(2,r.style.display="block",r)},p,function(e){w[e?"unshift":"push"]((()=>{i=e,t(0,i)}))},e=>p(e),function(e){w[e?"unshift":"push"]((()=>{r=e,t(2,r)}))},function(e){w[e?"unshift":"push"]((()=>{a=e,t(1,a)}))}]}class M extends e{constructor(e){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:t(this.attributes),customElement:!0},L,H,i,{},null),e&&e.target&&n(e.target,this,e.anchor)}}customElements.define("navbar-component",M);export{M as default};