import{s as J,l as K,e as f,a as x,c as p,b as T,m as H,g as $,f as g,o as a,i as V,h as u,u as Q,p as R,q as W,B as X,k as Y,t as ee,d as te}from"../chunks/scheduler.Bjr9RZaN.js";import{S as ae,i as le,t as se,a as ne}from"../chunks/index.NoFf4Nre.js";import{e as Z}from"../chunks/each.D6YF6ztN.js";import{b as I}from"../chunks/paths.DrmO90of.js";import{p as re}from"../chunks/stores.Bzh2i58A.js";const oe=!0,ie="always",ve=Object.freeze(Object.defineProperty({__proto__:null,prerender:oe,trailingSlash:ie},Symbol.toStringTag,{value:"Module"}));function F(i,s,t){const r=i.slice();return r[4]=s[t][0],r[5]=s[t][1],r}function G(i){let s,t,r=i[4]+"",y,_,n;return{c(){s=f("li"),t=f("a"),y=ee(r),n=x(),this.h()},l(c){s=p(c,"LI",{});var h=T(s);t=p(h,"A",{class:!0,href:!0});var m=T(t);y=te(m,r),m.forEach(g),n=$(h),h.forEach(g),this.h()},h(){a(t,"class",_="dropdown-item "+(i[0].url.pathname==i[5]?"active":"")),a(t,"href",i[5])},m(c,h){V(c,s,h),u(s,t),u(t,y),u(s,n)},p(c,h){h&1&&_!==(_="dropdown-item "+(c[0].url.pathname==c[5]?"active":""))&&a(t,"class",_)},d(c){c&&g(s)}}}function ce(i){let s,t,r,y="ZEN",_,n,c='<span class="navbar-toggler-icon"></span>',h,m,C,E,v,q="The Transition Pathway",B,L,N,k,z=`<a class="nav-link" href="${I}/energy_balance">The Energy Balance</a>`,O,w,S=Z(Object.entries(i[1])),o=[];for(let e=0;e<S.length;e+=1)o[e]=G(F(i,S,e));const P=i[3].default,d=K(P,i,i[2],null);return{c(){s=f("nav"),t=f("div"),r=f("a"),r.textContent=y,_=x(),n=f("button"),n.innerHTML=c,h=x(),m=f("div"),C=f("ul"),E=f("li"),v=f("a"),v.textContent=q,B=x(),L=f("ul");for(let e=0;e<o.length;e+=1)o[e].c();N=x(),k=f("li"),k.innerHTML=z,O=x(),d&&d.c(),this.h()},l(e){s=p(e,"NAV",{class:!0});var b=T(s);t=p(b,"DIV",{class:!0});var l=T(t);r=p(l,"A",{class:!0,href:!0,"data-svelte-h":!0}),H(r)!=="svelte-n8o8dg"&&(r.textContent=y),_=$(l),n=p(l,"BUTTON",{class:!0,type:!0,"data-bs-toggle":!0,"data-bs-target":!0,"aria-controls":!0,"aria-expanded":!0,"aria-label":!0,"data-svelte-h":!0}),H(n)!=="svelte-1ly0kyc"&&(n.innerHTML=c),h=$(l),m=p(l,"DIV",{class:!0,id:!0});var M=T(m);C=p(M,"UL",{class:!0});var j=T(C);E=p(j,"LI",{class:!0});var A=T(E);v=p(A,"A",{class:!0,href:!0,role:!0,"data-bs-toggle":!0,"aria-expanded":!0,"data-svelte-h":!0}),H(v)!=="svelte-14bwvdz"&&(v.textContent=q),B=$(A),L=p(A,"UL",{class:!0});var D=T(L);for(let U=0;U<o.length;U+=1)o[U].l(D);D.forEach(g),A.forEach(g),N=$(j),k=p(j,"LI",{class:!0,"data-svelte-h":!0}),H(k)!=="svelte-1f7iktk"&&(k.innerHTML=z),j.forEach(g),M.forEach(g),l.forEach(g),b.forEach(g),O=$(e),d&&d.l(e),this.h()},h(){a(r,"class","navbar-brand"),a(r,"href",I+"/"),a(n,"class","navbar-toggler"),a(n,"type","button"),a(n,"data-bs-toggle","collapse"),a(n,"data-bs-target","#navbarSupportedContent"),a(n,"aria-controls","navbarSupportedContent"),a(n,"aria-expanded","false"),a(n,"aria-label","Toggle navigation"),a(v,"class","nav-link dropdown-toggle"),a(v,"href","#"),a(v,"role","button"),a(v,"data-bs-toggle","dropdown"),a(v,"aria-expanded","false"),a(L,"class","dropdown-menu"),a(E,"class","nav-item dropdown"),a(k,"class","nav-item"),a(C,"class","navbar-nav me-auto mb-2 mb-lg-0"),a(m,"class","collapse navbar-collapse"),a(m,"id","navbarSupportedContent"),a(t,"class","container-fluid"),a(s,"class","navbar navbar-expand-lg bg-body-tertiary")},m(e,b){V(e,s,b),u(s,t),u(t,r),u(t,_),u(t,n),u(t,h),u(t,m),u(m,C),u(C,E),u(E,v),u(E,B),u(E,L);for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(L,null);u(C,N),u(C,k),V(e,O,b),d&&d.m(e,b),w=!0},p(e,[b]){if(b&3){S=Z(Object.entries(e[1]));let l;for(l=0;l<S.length;l+=1){const M=F(e,S,l);o[l]?o[l].p(M,b):(o[l]=G(M),o[l].c(),o[l].m(L,null))}for(;l<o.length;l+=1)o[l].d(1);o.length=S.length}d&&d.p&&(!w||b&4)&&Q(d,P,e,e[2],w?W(P,e[2],b,null):R(e[2]),null)},i(e){w||(se(d,e),w=!0)},o(e){ne(d,e),w=!1},d(e){e&&(g(s),g(O)),X(o,e),d&&d.d(e)}}}function ue(i,s,t){let r;Y(i,re,c=>t(0,r=c));let{$$slots:y={},$$scope:_}=s,n={Capacity:I+"/transition/capacity",Production:I+"/transition/production",Emissions:I+"/transition/emissions",Costs:I+"/transition/costs"};return i.$$set=c=>{"$$scope"in c&&t(2,_=c.$$scope)},[r,n,_,y]}class be extends ae{constructor(s){super(),le(this,s,ue,ce,J,{})}}export{be as component,ve as universal};
