2023-07-28 21:49:29 +07:00
|
|
|
import{S as t,i as e,a as n,b as o,s as r,e as i,n as a,d as s,c as m,o as c,g as l,t as p,h as g,j as d,k as h,l as f,m as u,q as b,u as w}from"./index-8c09578c.js";import{w as x}from"./index-77787e10.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=t[1].name+"",et=t[15].name+"",nt=t[1].location+"",ot=t[9](t[15])+"",rt=t[1].website+"",it=t[15].website+"",at=t[1].contact+"",st=t[15].contact+"",mt=t[1].description+"",ct=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(tt),z=p(": "),N=p(et),O=g(),T=l("p"),D=l("b"),E=p(nt),R=p(": "),S=p(ot),_=g(),q=l("p"),A=l("b"),C=p(rt),F=p(": "),H=l("a"),J=p(it),L=g(),M=l("p"),Q=l("b"),U=p(at),B=p(": "),G=l("a"),I=p(st),V=g(),W=l("p"),X=l("b"),Y=p(mt),Z=p(": "),$=p(ct),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(H,"href",K=t[15].website),d(H,"target",";_blank;"),d(H,"rel","noreferrer"),d(G,"href",P=t[15].website),d(G,"target",";_blank;"),d(G,"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,_),u(j,q),u(q,A),u(A,C),u(A,F),u(q,H),u(H,J),u(j,L),u(j,M),u(M,Q),u(Q,U),u(Q,B),u(M,G),u(G,I),u(e,V),u(e,W),u(W,X),u(X,Y),u(X,Z),u(W,$)},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&&tt!==(tt=t[1].name+"")&&b(k,tt),1&e&&et!==(et=t[15].name+"")&&b(N,et),2&e&&nt!==(nt=t[1].location+"")&&b(E,nt),1&e&&ot!==(ot=t[9](t[15])+"")&&b(S,ot),2&e&&rt!==(rt=t[1].website+"")&&b(C,rt),1&e&&it!==(it=t[15].website+"")&&b(J,it),1&e&&K!==(K=t[15].website)&&d(H,"href",K),2&e&&at!==(at=t[1].contact+"")&&b(U,at),1&e&&st!==(st=t[15].contact+"")&&b(I,st),1&e&&P!==(P=t[15].website)&&d(G,"href",P),2&e&&mt!==(mt=t[1].description+"")&&b(Y,mt),1&e&&ct!==(ct=t[15].description+"")&&b($,ct)},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();a=g()
|