1import{J as U,s as T,e as v,a as k,c as g,b as L,l as $,g as w,f as x,m as f,w as h,i as z,h as u,n as P,k as Q,y as F,E as W,F as X,G as Y,H as Z,K as ee}from"../chunks/scheduler.B5HMLYIm.js";import{S as K,i as B,c as te,b as ae,m as ne,t as O,e as se,a as V,d as oe,f as re,h as le,g as ie}from"../chunks/index.DqNKpI-w.js";import{p as ue}from"../chunks/stores.V-WzbLpC.js";const fe=!0,ce=({url:n})=>({pathname:n.pathname}),Ce=Object.freeze(Object.defineProperty({__proto__:null,load:ce,prerender:fe},Symbol.toStringTag,{value:"Module"}));function me(n){const a=n-1;return a*a*a+1}function G(n,{delay:a=0,duration:s=400,easing:o=me,x:r=0,y:i=0,opacity:t=0}={}){const e=getComputedStyle(n),l=+e.opacity,E=e.transform==="none"?"":e.transform,d=l*(1-t),[M,H]=U(r),[_,S]=U(i);return{delay:a,duration:s,easing:o,css:(A,c)=>` 2 transform: ${E} translate(${(1-A)*M}${H}, ${(1-A)*_}${S}); 3 opacity: ${l-d*c}`}}function pe(n){let a,s,o,r='<img class="h-10 md:h-24" src="/images/logo.png" alt="HOPE for Heat Resilience Logo"/>',i,t,e,l="home",E,d,M="news",H,_,S="about",A,c,q="people",D,y,I="trees",N,C,R="Digital Hub";return{c(){a=v("header"),s=v("nav"),o=v("a"),o.innerHTML=r,i=k(),t=v("div"),e=v("a"),e.textContent=l,E=k(),d=v("a"),d.textContent=M,H=k(),_=v("a"),_.textContent=S,A=k(),c=v("a"),c.textContent=q,D=k(),y=v("a"),y.textContent=I,N=k(),C=v("a"),C.textContent=R,this.h()},l(m){a=g(m,"HEADER",{class:!0});var b=L(a);s=g(b,"NAV",{class:!0});var j=L(s);o=g(j,"A",{href:!0,"data-svelte-h":!0}),$(o)!=="svelte-zsenru"&&(o.innerHTML=r),i=w(j),t=g(j,"DIV",{class:!0});var p=L(t);e=g(p,"A",{href:!0,"data-svelte-h":!0}),$(e)!=="svelte-1chkhb9"&&(e.textContent=l),E=w(p),d=g(p,"A",{href:!0,"data-svelte-h":!0}),$(d)!=="svelte-bgq9px"&&(d.textContent=M),H=w(p),_=g(p,"A",{href:!0,"data-svelte-h":!0}),$(_)!=="svelte-8eni6x"&&(_.textContent=S),A=w(p),c=g(p,"A",{class:!0,href:!0,"data-svelte-h":!0}),$(c)!=="svelte-leo8b4"&&(c.textContent=q),D=w(p),y=g(p,"A",{class:!0,href:!0,"data-svelte-h":!0}),$(y)!=="svelte-a9d9lj"&&(y.textContent=I),N=w(p),C=g(p,"A",{href:!0,"data-svelte-h":!0}),$(C)!=="svelte-3tacu5"&&(C.textContent=R),p.forEach(x),j.forEach(x),b.forEach(x),this.h()},h(){f(o,"href","/"),f(e,"href","/"),h(e,"font-bold",n[0].url.pathname=="/"),f(d,"href","/news"),h(d,"font-bold",n[0].url.pathname=="/news"),f(_,"href","/about"),h(_,"font-bold",n[0].url.pathname=="/about"),f(c,"class",""),f(c,"href","/people"),h(c,"font-bold",n[0].url.pathname=="/people"),f(y,"class","border-r border-black pr-3"),f(y,"href","/legacytrees"),h(y,"font-bold",n[0].url.pathname=="/legacytrees"),f(C,"href","/hub"),h(C,"font-bold",n[0].url.pathname=="/hub"),f(t,"class","flex space-x-3 items-center"),f(s,"class","flex items-center justify-between max-w-5xl mx-auto px-4 h-24"),f(a,"class","fixed z-10 top-0 inset-x-0 border-b bg-white")},m(m,b){z(m,a,b),u(a,s),u(s,o),u(s,i),u(s,t),u(t,e),u(t,E),u(t,d),u(t,H),u(t,_),u(t,A),u(t,c),u(t,D),u(t,y),u(t,N),u(t,C)},p(m,[b]){b&1&&h(e,"font-bold",m[0].url.pathname=="/"),b&1&&h(d,"font-bold",m[0].url.pathname=="/news"),b&1&&h(_,"font-bold",m[0].url.pathname=="/about"),b&1&&h(c,"font-bold",m[0].url.pathname=="/people"),b&1&&h(y,"font-bold",m[0].url.pathname=="/legacytrees"),b&1&&h(C,"font-bold",m[0].url.pathname=="/hub")},i:P,o:P,d(m){m&&x(a)}}}function he(n,a,s){let o;return Q(n,ue,r=>s(0,o=r)),[o]}class de extends K{constructor(a){super(),B(this,a,he,pe,T,{})}}function J(n){let a,s,o,r;const i=n[3].default,t=W(i,n,n[2],null);return{c(){a=v("main"),t&&t.c(),this.h()},l(e){a=g(e,"MAIN",{class:!0});var l=L(a);t&&t.l(l),l.forEach(x),this.h()},h(){f(a,"class","pt-24 max-w-5xl mx-auto")},m(e,l){z(e,a,l),t&&t.m(a,null),r=!0},p(e,l){t&&t.p&&(!r||l&4)&&X(t,i,e,e[2],r?Z(i,e[2],l,null):Y(e[2]),null)},i(e){r||(V(t,e),e&&ee(()=>{r&&(o&&o.end(1),s=re(a,G,{y:-15,duration:200,delay:300}),s.start())}),r=!0)},o(e){O(t,e),s&&s.invalidate(),e&&(o=le(a,G,{y:15,duration:200})),r=!1},d(e){e&&x(a),t&&t.d(e),e&&o&&o.end()}}}function _e(n){let a,s,o=n[0],r,i;a=new de({});let t=J(n);return{c(){te(a.$$.fragment),s=k(),t.c(),r=F()},l(e){ae(a.$$.fragment,e),s=w(e),t.l(e),r=F()},m(e,l){ne(a,e,l),z(e,s,l),t.m(e,l),z(e,r,l),i=!0},p(e,[l]){l&1&&T(o,o=e[0])?(ie(),O(t,1,1,P),se(),t=J(e),t.c(),V(t,1),t.m(r.parentNode,r)):t.p(e,l)},i(e){i||(V(a.$$.fragment,e),V(t),i=!0)},o(e){O(a.$$.fragment,e),O(t),i=!1},d(e){e&&(x(s),x(r)),oe(a,e),t.d(e)}}}function be(n,a,s){let o,{$$slots:r={},$$scope:i}=a,{data:t}=a;return n.$$set=e=>{"data"in e&&s(1,t=e.data),"$$scope"in e&&s(2,i=e.$$scope)},n.$$.update=()=>{n.$$.dirty&2&&s(0,o=t.pathname)},[o,t,i,r]}
3class xe extends K{constructor(a){super(),B(this,a,be,_e,T,{data:1})}}export{xe as component,Ce as universal};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.