2023-08-01 22:19:40 +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 u,f,x as b,y as w}from"./index-6e99513e.js";import{w as x}from"./index-3db98739.js";import{loadLocaleContent as j,getData as y}from"../../../../../../../../../js/libraries/serverTools.js";import{addMarkersEntries as v,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,y,v,k,z,O,T,C,E,R,S,_,q=t[1].heading+"",A=t[1].p1+"",F=t[1].subheading1+"",G=t[1]["map-prompt"]+"",H=Object.entries(t[0]),J=[];for(let e=0;e<H.length;e+=1)J[e]=D(N(t,H,e));return{c(){e=l("div"),n=l("div"),r=l("h1"),i=p(q),a=g(),m=l("img"),x=g(),j=l("p"),y=p(A),v=g(),k=l("h3"),z=p(F),O=g(),T=l("map-component"),E=g(),R=l("p"),S=p(G),_=g();for(let t=0;t<J.length;t+=1)J[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"),u(T,"id","map"),u(T,"callback",C=t[10]),d(R,"id","add-prompt"),d(n,"id","text-container"),d(e,"id","container")},m(t,s){o(t,e,s),f(e,n),f(n,r),f(r,i),f(n,a),f(n,m),f(n,x),f(n,j),f(j,y),f(n,v),f(n,k),f(k,z),f(n,O),f(n,T),f(n,E),f(n,R),f(R,S),f(n,_);for(let t=0;t<J.length;t+=1)J[t].m(n,null)},p(t,e){if(2&e&&q!==(q=t[1].heading+"")&&b(i,q),2&e&&A!==(A=t[1].p1+"")&&b(y,A),2&e&&F!==(F=t[1].subheading1+"")&&b(z,F),2&e&&C!==(C=t[10])&&u(T,"callback",C),2&e&&G!==(G=t[1]["map-prompt"]+"")&&b(S,G),771&e){let o;for(H=Object.entries(t[0]),o=0;o<H.length;o+=1){const r=N(t,H,o);J[o]?J[o].p(r,e):(J[o]=D(r),J[o].c(),J[o].m(n,null))}for(;o<J.length;o+=1)J[o].d(1);J.length=H.length}},d(t){t&&s(e),w(J,t)}}}function C(t){let e,n,r,i,a,m,c,h,u,w,x,j,y,v,k,z,N,O,T,C,D,E,R,_,q,A,F,G,H,J,K,L,M,Q,U,B,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"),u=g(),w=l("img"),x=g(),j=l("div"),y=l("p"),v=l("b"),k=p(et),z=p(": "),N=p(nt),O=g(),T=l("p"),C=l("b"),D=p(ot),E=p(": "),R=p(rt),_=g(),q=l("p"),A=l("b"),F=p(it),G=p(": "),H=l("a"),J=p(at),L=g(),M=l("p"),Q=l("b"),U=p(st),B=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(H,"href",K=t[15].website),d(H,"target",";_blank;"),d(H,"rel","noreferrer"),d(I,"href",V=S(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),f(e,n),f(n,r),f(r,i),f(r,m),f(r,c),f(r,u),f(r,w),f(n,x),f(n,j),f(j,y),f(y,v),f(v,k),f(v,z),f(y,N),f(j,O),f(j,T),f(T,C),f(C,D),f(C,E),f(T,R),f(j,_),f(j,q),f(q,A),f(A,F),f(A,G),f(q,H),f(H,J),f(j,L),f(j,M),f(M,Q),f(Q,U),f(Q,B),f(M,I),f(I,P),f(e,W),f(e,X),f(X,Y),f(Y,Z),f(Y,$),f(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(D,ot),1&e&&rt!==(rt=t[9](t[15])+"")&&b(R,rt),2&e&&it!==(it=t[1].website+"")&&b(F,it),1&e&&at!==(at=t[15].website+"")&&b(J,at),1&e&&K!==(K=t[15].website)&&d(H,"href",K),2&e&&st!==(st=t[1].contact+"")&&b(U,st),1&e&&mt!==(mt=t[15].contact+"")&&b(P,mt),1&e&&V!==(V=S(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 D(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]=C(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()
|