2023-07-13 01:25:28 +07:00
|
|
|
import{S as i,i as t,a as e,b as o,s as r,e as s,n as m,d as n,c as a,o as c,f as g,g as p,t as d,h as l,j as u,v as h,l as v,m as x,w}from"./index-4348483d.js";import{loadLocaleContent as T}from"../../../../../../../../../js/libraries/serverTools.js";import{w as f}from"./index-71440b21.js";function b(i){let t,e,r,s,m,a,c,w,T,f,b,y,j,k,z,E,H,L,M,O,R,N,S,q,A,B,C,D,F,G,I,J,K,P,Q,U,V,W,X,Y,Z,$,_,ii,ti,ei,oi,ri=i[2].top+"",si=i[2].groupsTitle+"",mi=i[2].groupsText+"",ni=i[2].communesTitle+"",ai=i[2].communesText+"",ci=i[2].cooperativesTitle+"",gi=i[2].cooperativesText+"",pi=i[2].partiesTitle+"",di=i[2].partiesText+"";return{c(){t=g("div"),e=g("picture"),e.innerHTML='<source srcset="/img/crowd.webp"/> \n <source srcset="/img/crowd.png"/> \n <img id="crowd" alt="crowd"/>',r=p(),s=g("div"),m=g("p"),a=d(ri),c=p(),w=g("div"),T=g("div"),f=g("h2"),b=d(si),y=p(),j=g("img"),z=p(),E=g("p"),H=d(mi),L=p(),M=g("div"),O=g("h2"),R=d(ni),N=p(),S=g("img"),A=p(),B=g("p"),C=d(ai),D=p(),F=g("div"),G=g("h2"),I=d(ci),J=p(),K=g("img"),Q=p(),U=g("p"),V=d(gi),W=p(),X=g("div"),Y=g("h2"),Z=d(pi),$=p(),_=g("img"),ti=p(),ei=g("p"),oi=d(di),l(j,"id","groups-img"),u(j.src,k="/img/common/groups.svg")||l(j,"src","/img/common/groups.svg"),l(j,"alt","groups"),l(S,"id","communes-img"),u(S.src,q="/img/common/commune.svg")||l(S,"src","/img/common/commune.svg"),l(S,"alt","communes"),l(K,"id","coops-img"),u(K.src,P="/img/common/coops.svg")||l(K,"src","/img/common/coops.svg"),l(K,"alt","coops"),l(_,"id","parties-img"),u(_.src,ii="/img/common/parties.svg")||l(_,"src","/img/common/parties.svg"),l(_,"alt","coops"),l(w,"id","container-grid"),h(w,"--grid-width",i[1]),l(s,"id","text-container"),l(t,"id","container")},m(n,g){o(n,t,g),v(t,e),v(t,r),v(t,s),v(s,m),v(m,a),v(s,c),v(s,w),v(w,T),v(T,f),v(f,b),v(T,y),v(T,j),v(T,z),v(T,E),v(E,H),v(w,L),v(w,M),v(M,O),v(O,R),v(M,N),v(M,S),v(M,A),v(M,B),v(B,C),v(w,D),v(w,F),v(F,G),v(G,I),v(F,J),v(F,K),v(F,Q),v(F,U),v(U,V),v(w,W),v(w,X),v(X,Y),v(Y,Z),v(X,$),v(X,_),v(X,ti),v(X,ei),v(ei,oi),i[5](w)},p(i,t){4&t&&ri!==(ri=i[2].top+"")&&x(a,ri),4&t&&si!==(si=i[2].groupsTitle+"")&&x(b,si),4&t&&mi!==(mi=i[2].groupsText+"")&&x(H,mi),4&t&&ni!==(ni=i[2].communesTitle+"")&&x(R,ni),4&t&&ai!==(ai=i[2].communesText+"")&&x(C,ai),4&t&&ci!==(ci=i[2].cooperativesTitle+"")&&x(I,ci),4&t&&gi!==(gi=i[2].cooperativesText+"")&&x(V,gi),4&t&&pi!==(pi=i[2].partiesTitle+"")&&x(Z,pi),4&t&&di!==(di=i[2].partiesText+"")&&x(oi,di),2&t&&h(w,"--grid-width",i[1])},d(e){e&&n(t),i[5](null)}}}function y(i){let t,e=0!=Object.keys(i[2]).length,r=e&&b(i);return{c(){r&&r.c(),t=s(),this.c=m},m(i,e){r&&r.m(i,e),o(i,t,e)},p(i,[o]){4&o&&(e=0!=Object.keys(i[2]).length),e?r?r.p(i,o):(r=b(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:m,o:m,d(i){r&&r.d(i),i&&n(t)}}}function j(i,t,e){let o,r,s,m,n=f({});function g(i){e(1,s="1fr 1fr")}a(i,n,(i=>e(2,o=i)));T(n,"landing-component",m,g);return g(),c((()=>{})),[r,s,o,m,n,function(i){w[i?"unshift":"push"]((()=>{r=i,e(0,r)}))}]}class k extends i{constructor(i){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';#container-grid>div>h2{text-align:center}#groups-img,#communes-img,#coops-img,#parties-img{position:absolute;left:50%;transform:translate(-50%);z-index:0;opacity:0.2;height:8rem}#coops-img{margin-top:0.5rem;height:7.5rem}#text-container{max-width:calc(100vw - 4rem);margin:auto}#crowd{width:100%;margin-bottom:2rem}#container{margin:auto;max-width:800px;margin-top:2rem;margin-bottom:5rem}#container>div>p{margin-bottom:1rem}#container p{text-align:justify}#container-grid{display:grid;grid-template-columns:var(--grid-width);grid-template-rows:var(--grid-width);grid-gap:4rem;margin-top:2rem}#container-grid>div{position:relative}#container-grid>div>p{position:relative;margin-top:5rem;z-index:2}@media only screen and (max-width: 1060px){#container-grid{display:grid;grid-template-columns:1fr;grid-gap:2rem}}</style>",t(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},j,y,r,{},null),i&&i.target&&o(i.target,this,i.anchor)}}customElements.define("landing-component",k);exp
|