2023-07-10 18:09:25 +07:00
|
|
|
import{S as t,i as e,a as n,b as i,s as o,e as r,n as a,d as s,c as m,o as l,f as c,t as g,g as p,h as d,j as h,l as f,m as u,p as b}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{loadLocaleContent as w}from"../../../../../../../../../js/libraries/serverTools.js";import{partners as j}from"../../../../../../../../../js/partners.js";import"../../../../../../../../../js/components/map-component.js";function y(t,e,n){const i=t.slice();return i[4]=e[n],i}function v(t){let e,n,o,r,a,m,l,x,w,v,z,D,E,O,R,T,A,C=t[0].heading+"",H=t[0].p1+"",L=t[0].subheading1+"",M=t[0].subheading2+"",N=j,S=[];for(let e=0;e<N.length;e+=1)S[e]=k(y(t,N,e));return{c(){e=c("div"),n=c("div"),o=c("h1"),r=g(C),a=p(),m=c("img"),x=p(),w=c("p"),v=g(H),z=p(),D=c("h3"),E=g(L),O=p(),R=c("h4"),T=g(M),A=p();for(let t=0;t<S.length;t+=1)S[t].c();d(m,"id","hands-img"),h(m.src,l="/img/common/handshake.svg")||d(m,"src","/img/common/handshake.svg"),d(m,"alt","hands"),d(n,"id","text-container"),d(e,"id","container")},m(t,s){i(t,e,s),f(e,n),f(n,o),f(o,r),f(n,a),f(n,m),f(n,x),f(n,w),f(w,v),f(n,z),f(n,D),f(D,E),f(n,O),f(n,R),f(R,T),f(n,A);for(let t=0;t<S.length;t+=1)S[t].m(n,null)},p(t,e){if(1&e&&C!==(C=t[0].heading+"")&&u(r,C),1&e&&H!==(H=t[0].p1+"")&&u(v,H),1&e&&L!==(L=t[0].subheading1+"")&&u(E,L),1&e&&M!==(M=t[0].subheading2+"")&&u(T,M),1&e){let i;for(N=j,i=0;i<N.length;i+=1){const o=y(t,N,i);S[i]?S[i].p(o,e):(S[i]=k(o),S[i].c(),S[i].m(n,null))}for(;i<S.length;i+=1)S[i].d(1);S.length=N.length}},d(t){t&&s(e),b(S,t)}}}function k(t){let e,n,o,r,a,m,l,h,b,x,w,j,y,v,k,z,D,E,O,R,T,A,C,H,L,M,N,S,_,q,B,F,G,I,J,K=t[0].name+"",P=t[4].name+"",Q=t[0].type+"",U=t[0][t[4].type]+"",V=t[0].link+"",W=t[4].link+"",X=t[0].description+"",Y=t[0][t[4].description]+"";return{c(){e=c("div"),n=c("div"),o=c("picture"),r=c("source"),a=p(),m=c("source"),l=p(),h=c("img"),b=p(),x=c("div"),w=c("p"),j=c("b"),y=g(K),v=g(": "),k=g(P),z=p(),D=c("p"),E=c("b"),O=g(Q),R=g(": "),T=g(U),A=p(),C=c("p"),H=c("b"),L=g(V),M=g(": "),N=c("a"),S=g(W),_=p(),q=c("p"),B=c("b"),F=g(X),G=g(": "),I=g(Y),J=p(),d(r,"srcset","/img/partners/"+t[4].logo+".webp"),d(m,"srcset","/img/partners/"+t[4].logo+".jpg"),d(h,"class","partner-logo"),d(h,"alt","logo"),d(N,"href",t[4].link),d(N,"target",";_blank;"),d(N,"rel","noreferrer"),d(n,"class","img-general-info"),d(e,"class","location-info")},m(t,s){i(t,e,s),f(e,n),f(n,o),f(o,r),f(o,a),f(o,m),f(o,l),f(o,h),f(n,b),f(n,x),f(x,w),f(w,j),f(j,y),f(j,v),f(w,k),f(x,z),f(x,D),f(D,E),f(E,O),f(E,R),f(D,T),f(x,A),f(x,C),f(C,H),f(H,L),f(H,M),f(C,N),f(N,S),f(e,_),f(e,q),f(q,B),f(B,F),f(B,G),f(q,I),f(e,J)},p(t,e){1&e&&K!==(K=t[0].name+"")&&u(y,K),1&e&&Q!==(Q=t[0].type+"")&&u(O,Q),1&e&&U!==(U=t[0][t[4].type]+"")&&u(T,U),1&e&&V!==(V=t[0].link+"")&&u(L,V),1&e&&X!==(X=t[0].description+"")&&u(F,X),1&e&&Y!==(Y=t[0][t[4].description]+"")&&u(I,Y)},d(t){t&&s(e)}}}function z(t){let e,n=0!=Object.keys(t[0]).length,o=n&&v(t);return{c(){o&&o.c(),e=r(),this.c=a},m(t,n){o&&o.m(t,n),i(t,e,n)},p(t,[i]){1&i&&(n=0!=Object.keys(t[0]).length),n?o?o.p(t,i):(o=v(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},i:a,o:a,d(t){o&&o.d(t),t&&s(e)}}}function D(t,e,n){let i,o,r=x({});return m(t,r,(t=>n(0,i=t))),w(r,"partners-component",o),l((()=>{})),[i,o,r]}class E extends t{constructor(t){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';#hands-img{position:absolute;width:10.5rem;left:50%;transform:translate(-50%);z-index:0;opacity:0.2;margin-top:-2rem}#text-container>:nth-child(3){margin-top:6rem}.img-general-info{display:flex;align-content:center;width:100%;gap:1.5rem;align-items:center;margin-bottom:1rem}.img-general-info>:nth-child(2){flex:none}.partner-logo{position:relative;right:0;max-height:6rem;max-width:100%;border-radius:1rem}h4{margin-bottom:2rem}.location-info{position:relative;margin-bottom:2rem}.location-info p{margin-bottom:0}a{color:#DD1C1A}#text-container{max-width:calc(100vw - 4rem);margin:auto}h1{margin-bottom:1rem;font-size:2.2rem;text-align:center}h3{margin-bottom:2rem}#container{margin:auto;max-width:800px;margin-top:1rem;margin-bottom:4rem}#container>div>p{ma
|