2023-08-01 20:44:41 +07:00
|
|
|
import{S as t,i as e,a as n,b as o,s as r,q as i,n as a,g as s,t as m,o as c,e as l,w as p,c as g,d,u as h,v as f,f as u,x as b,y as w}from"./index-5b685137.js";import{w as x}from"./index-8744cf8a.js";import{loadLocaleContent as j,getData as v}from"../../../../../../../../../js/libraries/serverTools.js";import{addMarkersEntries as y,translate as k}from"../../../../../../../../../js/libraries/mapTools.js";import{addPartnersPinContent as z}from"../../../../../../../../../js/mapFuncs.js";import"../../../../../../../../../js/components/map-component.js";function N(t,e,n){const o=t.slice();return o[12]=e[n][0],o[3]=e[n][1],o}function O(t,e,n){const o=t.slice();return o[15]=e[n],o}function T(t){let e,n,r,i,a,m,c,x,j,v,y,k,z,O,T,D,R,S,_,q,A=t[1].heading+"",C=t[1].p1+"",F=t[1].subheading1+"",H=t[1]["map-prompt"]+"",J=Object.entries(t[0]),K=[];for(let e=0;e<J.length;e+=1)K[e]=E(N(t,J,e));return{c(){e=l("div"),n=l("div"),r=l("h1"),i=p(A),a=g(),m=l("img"),x=g(),j=l("p"),v=p(C),y=g(),k=l("h3"),z=p(F),O=g(),T=l("map-component"),R=g(),S=l("p"),_=p(H),q=g();for(let t=0;t<K.length;t+=1)K[t].c();d(m,"id","hands-img"),h(m.src,c="/img/common/handshake.svg")||d(m,"src","/img/common/handshake.svg"),d(m,"alt","hands"),f(T,"id","map"),f(T,"callback",D=t[10]),d(S,"id","add-prompt"),d(n,"id","text-container"),d(e,"id","container")},m(t,s){o(t,e,s),u(e,n),u(n,r),u(r,i),u(n,a),u(n,m),u(n,x),u(n,j),u(j,v),u(n,y),u(n,k),u(k,z),u(n,O),u(n,T),u(n,R),u(n,S),u(S,_),u(n,q);for(let t=0;t<K.length;t+=1)K[t].m(n,null)},p(t,e){if(2&e&&A!==(A=t[1].heading+"")&&b(i,A),2&e&&C!==(C=t[1].p1+"")&&b(v,C),2&e&&F!==(F=t[1].subheading1+"")&&b(z,F),2&e&&D!==(D=t[10])&&f(T,"callback",D),2&e&&H!==(H=t[1]["map-prompt"]+"")&&b(_,H),771&e){let o;for(J=Object.entries(t[0]),o=0;o<J.length;o+=1){const r=N(t,J,o);K[o]?K[o].p(r,e):(K[o]=E(r),K[o].c(),K[o].m(n,null))}for(;o<K.length;o+=1)K[o].d(1);K.length=J.length}},d(t){t&&s(e),w(K,t)}}}function D(t){let e,n,r,i,a,m,c,h,f,w,x,j,v,y,k,z,N,O,T,D,E,R,S,q,A,C,F,H,J,K,L,M,Q,U,B,G,I,P,V,W,X,Y,Z,$,tt,et=t[1].name+"",nt=t[15].name+"",ot=t[1].location+"",rt=t[9](t[15])+"",it=t[1].website+"",at=t[15].website+"",st=t[1].contact+"",mt=t[15].contact+"",ct=t[1].description+"",lt=t[15].description+"";return{c(){e=l("div"),n=l("div"),r=l("picture"),i=l("source"),m=g(),c=l("source"),f=g(),w=l("img"),x=g(),j=l("div"),v=l("p"),y=l("b"),k=p(et),z=p(": "),N=p(nt),O=g(),T=l("p"),D=l("b"),E=p(ot),R=p(": "),S=p(rt),q=g(),A=l("p"),C=l("b"),F=p(it),H=p(": "),J=l("a"),K=p(at),M=g(),Q=l("p"),U=l("b"),B=p(st),G=p(": "),I=l("a"),P=p(mt),W=g(),X=l("p"),Y=l("b"),Z=p(ct),$=p(": "),tt=p(lt),d(i,"srcset",a="/img/partners/"+t[15].logo+".webp"),d(c,"srcset",h="/img/partners/"+t[15].logo+".jpg"),d(w,"class","partner-logo"),d(w,"alt","logo"),d(J,"href",L=t[15].website),d(J,"target",";_blank;"),d(J,"rel","noreferrer"),d(I,"href",V=_(t[15].contact)),d(I,"target",";_blank;"),d(I,"rel","noreferrer"),d(n,"class","img-general-info"),d(e,"class","location-info")},m(t,a){o(t,e,a),u(e,n),u(n,r),u(r,i),u(r,m),u(r,c),u(r,f),u(r,w),u(n,x),u(n,j),u(j,v),u(v,y),u(y,k),u(y,z),u(v,N),u(j,O),u(j,T),u(T,D),u(D,E),u(D,R),u(T,S),u(j,q),u(j,A),u(A,C),u(C,F),u(C,H),u(A,J),u(J,K),u(j,M),u(j,Q),u(Q,U),u(U,B),u(U,G),u(Q,I),u(I,P),u(e,W),u(e,X),u(X,Y),u(Y,Z),u(Y,$),u(X,tt)},p(t,e){1&e&&a!==(a="/img/partners/"+t[15].logo+".webp")&&d(i,"srcset",a),1&e&&h!==(h="/img/partners/"+t[15].logo+".jpg")&&d(c,"srcset",h),2&e&&et!==(et=t[1].name+"")&&b(k,et),1&e&&nt!==(nt=t[15].name+"")&&b(N,nt),2&e&&ot!==(ot=t[1].location+"")&&b(E,ot),1&e&&rt!==(rt=t[9](t[15])+"")&&b(S,rt),2&e&&it!==(it=t[1].website+"")&&b(F,it),1&e&&at!==(at=t[15].website+"")&&b(K,at),1&e&&L!==(L=t[15].website)&&d(J,"href",L),2&e&&st!==(st=t[1].contact+"")&&b(B,st),1&e&&mt!==(mt=t[15].contact+"")&&b(P,mt),1&e&&V!==(V=_(t[15].contact))&&d(I,"href",V),2&e&&ct!==(ct=t[1].description+"")&&b(Z,ct),1&e&<!==(lt=t[15].description+"")&&b(tt,lt)},d(t){t&&s(e)}}}function E(t){let e,n,r,i,a,m=t[8](t[12])+"",c=t[3],h=[];for(let e=0;e<c.length;e+=1)h[e]=D(O(t,c,e));return{c(){e=l("h4"),n=p(m),r=g(),i=l("div");for(let t=0;t<h.length;t+=1)h[t].c();
|