1import"./DsnmJJEf.js";import{o as ue}from"./Czj6Wchg.js";import{p as Q,b as z,d as H,a as v,e as J,l as C,h as e,m as X,i as le,f as w,c as s,s as c,r as a,t as E,v as Be,q as Pe,u as re,n as Ze}from"./CrZWGQw6.js";import{d as ge,a as he,s as Y,e as U}from"./Cf9b1Pg_.js";import{i as I,s as je,r as ze}from"./Dm50tvsH.js";import{s as be}from"./DxT3OYjk.js";import{t as we}from"./7z66R2s9.js";import{f as xe}from"./DQdCbt27.js";import{X as He}from"./jwaO63N8.js";import{e as fe}from"./DvQYBH6E.js";import{s as se,a as Xe}from"./CfLjgYS-.js";import{s as b}from"./Dz3h3GFh.js";import{p as j}from"./DFfNUHL_.js";import{a as $e,v as Ge}from"./DtbC8mqk.js";import{d as Ve,p as Ke}from"./Dyl3PRz6.js";import{g as We}from"./BupWBedI.js";import{a as qe}from"./BMII535T.js";import"./CUdGVStK.js";import{S as R}from"./CTFai4EY.js";import{S as Re}from"./BqHBD7iK.js";import{I as Ye}from"./XuHo7gsq.js";const Ue=720*60*60*1e3,Qe="bannerDismissedAt",ye="banner:dismissed:";function ie(i){return ye+i}function Je(i,r,l){if(r===null||!Number.isFinite(r))return!1;const t=i.expiryMs??Ue;return l-r<t}function et(i,r){const l=i.getItem(ie(r));if(l===null)return null;const t=Number(l);return Number.isFinite(t)?t:null}function tt(i,r,l){for(const t of i)if(t.enabled&&!Je(t,et(r,t.key),l))return t;return null}function at(i,r){r.removeItem(Qe);const l=new Set(i.filter(o=>o.enabled).map(o=>ie(o.key))),t=[];for(let o=0;o<r.length;o++){const p=r.key(o);p&&p.startsWith(ye)&&!l.has(p)&&t.push(p)}for(const o of t)r.removeItem(o)}const rt=i=>{le();var r=st();le(),v(i,r)};var st=w('ð® <a href="https://forms.gle/oHzViVX2ePhHtaFX6" target="_blank" class="underline text-white">Have your say on the future of Open Electricity</a>',1),lt=w('<div class="relative w-full bg-black text-white text-sm leading-sm px-10 md:px-8 py-6 font-light md:flex gap-3 justify-center"><!> <button class="absolute cursor right-5 top-7" aria-label="Dismiss banner"><!></button></div>');function jt(i,r){Q(r,!0);const l=[{key:"feedback-2026",enabled:!1,content:rt}];let t=X(null);ue(()=>{at(l,window.localStorage);const d=requestAnimationFrame(()=>{C(t,tt(l,window.localStorage,Date.now()),!0)});return()=>cancelAnimationFrame(d)});function o(){e(t)&&(window.localStorage.setItem(ie(e(t).key),String(Date.now())),C(t,null))}var p=z(),n=H(p);{var f=d=>{var m=lt(),g=s(m);be(g,()=>e(t).content);var u=c(g,2),x=s(u);He(x,{classes:"w-8 h-8"}),a(u),a(m),he("click",u,o),we(3,m,()=>xe,()=>({y:-40,duration:300})),v(d,m)};I(n,d=>{e(t)&&d(f)})}v(i,p),J()}ge(["click"]);var it=w('<span class="px-2 py-0.5 text-xxs font-semibold uppercase tracking-widest bg-red text-white rounded-sm" title="Non-production environment">dev</span>'),ot=w('<span class="md:absolute right-4 text-[8px] lowercase font-space font-medium text-light-warm-grey bg-gas rounded-full px-2 py-1">Beta</span>'),nt=w("<a> <!></a>"),ct=w('<div class="md:absolute md:-left-2 md:top-18 w-full md:w-52 z-50"><div class="bg-white md:shadow-xs mt-3 md:mt-0 rounded-lg border border-warm-grey overflow-hidden flex flex-col divide-y divide-warm-grey"></div></div>'),dt=w('<div class="relative group mb-8 md:mb-0 md:flex items-center" role="group"><a> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"></path></svg></a> <!></div>'),mt=w("<a> </a>"),vt=w('<header class="h-28 border-mid-warm-grey border-b-[0.05rem] border-solid text-base"><div class="max-w-none px-10 md:px-16 flex items-center justify-between h-full"><div><a href="/"><h1 class="m-0 w-[200px]"><img class="block" src="/img/logo.svg" alt="Open Electricity"/></h1></a> <!></div> <nav></nav> <button aria-label="Toggle mobile navigation"><svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><g><circle cx="1.5" cy="1.5" r="1.5" fill="black" class="svelte-1h32yp1"></circle><circle cx="10.5" cy="1.5" r="1.5" fill="black" class="hider svelte-1h32yp1"></circle><circle cx="19.5" cy="1.5" r="1.5" fill="black" class="svelte-1h32yp1"></circle><circle cx="1.5" cy="10.5" r="1.5" fill="black" class="hider svelte-1h32yp1"></circle><circle cx="10.5" cy="10.5" r="1.5" fill="black" class="svelte-1h32yp1"></circle><circle cx="19.5" cy="10.5" r="1.5" fill="black" class="hider svelte-1h32yp1"></circle><circle cx="1.5" cy="19.5" r="1.5" fill="black" class="svelte-1h32yp1"></circle><circle cx="10.5" cy="19.5" r="1.5" fill="black" class="hider svelte-1h32yp1"></circle><circle cx="19.5" cy="19.5" r="1.5" fill="black" class="svelte-1h32yp1"></circle><line x1="1.5" y1="1.5" x2="19.5" y2="19.5" stroke="black" class="svelte-1h32yp1"></line>
1<line x1="19.5" y1="1.5" x2="1.5" y2="19.5" stroke="black" class="svelte-1h32yp1"></line></g></svg></button></div></header>');function zt(i,r){Q(r,!0);const l=()=>Be(Ve,"$dataTrackerLink",t),[t,o]=Pe();let p=We(l(),Ke,{windowed:!0}),n=X(!1),f=X(null),d=re(()=>qe(j.url.hostname));$e(()=>{C(n,!1),C(f,null)});var m=vt(),g=s(m),u=s(g);let x;var _=c(s(u),2);{var N=y=>{var k=it();v(y,k)};I(_,y=>{e(d)&&y(N)})}a(u);var A=c(u,2);let $;fe(A,21,()=>p,({name:y,href:k,children:D,show:K,dropdownOnly:B})=>y,(y,k)=>{let D=()=>e(k).name,K=()=>e(k).href,B=()=>e(k).children,ke=()=>e(k).show,Ce=()=>e(k).dropdownOnly;var oe=z(),_e=H(oe);{var Se=ee=>{const Ae=re(()=>K().split("?")[0]),F=re(()=>j.url.pathname.includes(e(Ae)));var ne=z(),Me=H(ne);{var Ie=L=>{var h=dt(),S=s(h);let W;var ce=s(S),De=c(ce);let de;a(S);var Fe=c(S,2);{var Le=te=>{var q=ct(),me=s(q);fe(me,21,B,ae=>ae.href,(ae,O)=>{var P=nt();let ve;var pe=s(P),Oe=c(pe);{var Ee=Z=>{var Te=ot();v(Z,Te)};I(Oe,Z=>{e(O).beta&&Z(Ee)})}a(P),E(Z=>{se(P,"href",e(O).href),ve=b(P,1,"group relative flex gap-4 items-center md:justify-between py-3 px-5 text-base md:text-sm hover:text-black hover:bg-mid-warm-grey/10 transition-colors",null,ve,Z),Y(pe,`${e(O).name??""} `)},[()=>({"text-mid-grey":!j.url.pathname.includes(e(O).href),"text-black":j.url.pathname.includes(e(O).href),"font-semibold":j.url.pathname.includes(e(O).href)})]),v(ae,P)}),a(me),a(q),we(3,q,()=>xe,()=>({y:-10,duration:200})),v(te,q)};I(Fe,te=>{e(f)===D()&&te(Le)})}a(h),E(()=>{W=b(S,1,"text-lg font-medium flex items-center md:text-sm cursor-pointer",null,W,{"text-mid-grey":!e(F),"text-black":e(F),"font-semibold":e(F)}),se(S,"href",B()?"#":K()),Y(ce,`${D()??""} `),de=b(De,0,"ml-1 transition-transform duration-200",null,de,{"rotate-180":e(f)===D()})}),U("mouseenter",h,()=>C(f,D(),!0)),U("mouseleave",h,()=>C(f,null)),v(L,h)},Ne=L=>{var h=mt();let S;var W=s(h,!0);a(h),E(()=>{S=b(h,1,"text-lg font-medium flex items-center mb-8 md:text-sm md:mb-0",null,S,{"text-mid-grey":!e(F),"text-black":e(F),"font-semibold":e(F)}),se(h,"href",K()),Y(W,D())}),v(L,h)};I(Me,L=>{B()&&B().length>0?L(Ie):L(Ne,-1)})}v(ee,ne)};I(_e,ee=>{ke()!==!1&&!Ce()&&ee(Se)})}v(y,oe)}),a(A);var M=c(A,2);let T;var G=s(M);let V;a(M),a(g),a(m),E(()=>{x=b(u,1,"absolute md:relative flex items-center gap-6",null,x,{"top-[26px]":e(n),"z-9999":e(n)}),$=b(A,1,"block fixed top-0 left-0 h-full w-full z-999 bg-white pt-36 px-10 md:w-auto md:static md:px-0 md:py-2 md:flex md:justify-between md:gap-16 lg:gap-20",null,$,{hidden:!e(n)}),T=b(M,1,"md:hidden absolute right-10",null,T,{"top-[24.5px]":e(n),"z-9999":e(n)}),V=b(G,0,"burger md:hidden svelte-1h32yp1",null,V,{burgerActive:e(n)})}),he("click",M,()=>{C(n,!e(n))}),v(i,m),J(),o()}ge(["click"]);var pt=new Set(["$$slots","$$events","$$legacy"]);function ft(i,r){Q(r,!0);let l=ze(r,pt);const t=[["path",{d:"M15 12h-5"}],["path",{d:"M15 8h-5"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"}]];Ye(i,je({name:"scroll-text"},()=>l,{get iconNode(){return t},children:(o,p)=>{var n=z(),f=H(n);be(f,()=>r.children??Ze),v(o,n)},$$slots:{default:!0}})),J()}var ut=w('<a href="https://status.openelectricity.org.au" target="_blank" rel="noopener noreferrer" class="flex items-center gap-3 font-bold font-space transition-all text-dark-grey hover:text-red hover:no-underline"><span class="inline-block size-2.5 shrink-0 rounded-full"></span> API Status <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="9.5" fill="white"></circle><path d="M7.99854 14L12.3319 9.66671L7.99854 5.33337" stroke-width="1.5"></path></svg></a>');function gt(i,r){Q(r,!0);let l=X(null),t=X(!1);function o(){C(t,!e(t))}ue(async()=>{try{const d=await fetch("https://status.openelectricity.org.au/api/summary");d.ok&&C(l,await d.json(),!0)}catch{}});var p=z(),n=H(p);{var f=d=>{var m=ut(),g=s(m),u=c(g,2);let x;var _=s(u),N=c(_);a(u),a(m),E(()=>{Xe(g,`background-color: ${e(l).statusColor??""}`),x=b(u,0,"transition-all",null,x,{"translate-x-1":e(t)}),b(_,0,`transition-all ${e(t)?"stroke-red":"stroke-black"}`),b(N,0,`transition-all ${e(t)?"stroke-red":"stroke-black"}`)}),U("mouseenter",m,o),U("mouseleave",m,o),v(d,m)};I(n,d=>{e(l)&&d(f)})}v(i,p),J()}var ht=w(`<footer class="mb-32 relative z-10"><div class="bg-light-warm-grey py-16"><div class="container max-w-none lg:container"><div class="flex flex-col md:flex-row gap-8 md:gap-0"><div class="flex items-center justify-center shrink-0"><img src="/img/logo.svg" alt="Open Electricity logo" class="block h-8 w-auto mr-8 mt-2"/> <img src="/img/superpower-new.svg" alt="The Superpower Institute logo" class="block h-12 w-auto"/></div> <div class="text-center md:shrink md:px-12 md:text-left text-base"><strong>Stay Connected</strong> â Sign up to be notified of platform updates, events and the 2 latest analysis.</div> <!></div></div></div> <div class="bg-white py-16"><div class="container max-w-none lg:container block md:grid md:grid-cols-2 footer-info-grid gap-8 md:gap-48 text-sm md:after:content-[''] relative"><div><p class="flex flex-col gap-4 md:flex-row md:gap-12 text-base mb-8"><!> <!></p> <h5 class="mt-12">Acknowledgement of Country</h5> <p>We pay our respects to the Traditional Custodians of the lands on which we live and work, 3 as well as the Traditional Custodians of the lands and waters we may visit during our 4 work. We acknowledge their Elders, past and present.</p> <p class="flex"><img class="h-8 mr-4" src="/img/aboriginal-flag.svg" alt="Aboriginal flag"/> <img class="h-8 mr-4" src="/img/lgbtqi-flag.svg" alt="LGBTQI flag"/> <img class="h-8" src="/img/tsi-flag.svg" alt="Torres Strait Islands flag"/></p></div> <div class="mt-16 md:mt-0"><h5>For Developers</h5> <p>Access real-time and historical energy data from across Australia's electricity grid. 5 Built for teams that need reliable, well-documented APIs and clear usage tooling.</p> <p class="flex flex-col gap-4 md:flex-row md:gap-12 text-base"><!> <!> <!></p> <h5 class="mt-12">Transparency & Accountability</h5> <p>We are committed to upholding the <a href="https://www.superpowerinstitute.com.au/open-data-tools" target="_blank">Open, Accessible, Auditable Data Framework</a>, ensuring that our data and methodology are transparent, verifiable, and easily 6 accessible to all.</p> <p>Our data sources and open-source code are available for review and collaboration, aimed at 7 fostering a spirit of openness and shared learning in industry and the scientific research 8 community.</p> <div class="flex items-center justify-between mt-16"><div class="flex gap-8 items-center"><a href="https://openmethane.org" target="_blank"><img src="/img/om-new.svg" alt="Open Methane logo" class="block h-7 w-auto mt-2"/></a> <a href="https://www.superpowerinstitute.com.au/" target="_blank"><img src="/img/superpower-new.svg" alt="The Superpower Institute logo" class="block h-10 w-auto"/></a></div> <div class="flex gap-8 items-center"><a href="https://twitter.com/OpenNem" target="_blank" title="OpenElectricity X"><svg width="17" height="14" viewBox="0 0 17 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.0117 3.82227C15.0117 3.97852 15.0117 4.10352 15.0117 4.25977C15.0117 8.60352 11.7305 13.5723 5.69922 13.5723C3.82422 13.5723 2.10547 13.041 0.667969 12.1035C0.917969 12.1348 1.16797 12.166 1.44922 12.166C2.98047 12.166 4.38672 11.6348 5.51172 10.7598C4.07422 10.7285 2.85547 9.79102 2.44922 8.47852C2.66797 8.50977 2.85547 8.54102 3.07422 8.54102C3.35547 8.54102 3.66797 8.47852 3.91797 8.41602C2.41797 8.10352 1.29297 6.79102 1.29297 5.19727V5.16602C1.73047 5.41602 2.26172 5.54102 2.79297 5.57227C1.88672 4.97852 1.32422 3.97852 1.32422 2.85352C1.32422 2.22852 1.48047 1.66602 1.76172 1.19727C3.38672 3.16602 5.82422 4.47852 8.54297 4.63477C8.48047 4.38477 8.44922 4.13477 8.44922 3.88477C8.44922 2.07227 9.91797 0.603516 11.7305 0.603516C12.668 0.603516 13.5117 0.978516 14.1367 1.63477C14.8555 1.47852 15.5742 1.19727 16.1992 0.822266C15.9492 1.60352 15.4492 2.22852 14.7617 2.63477C15.418 2.57227 16.0742 2.38477 16.6367 2.13477C16.1992 2.79102 15.6367 3.35352 15.0117 3.82227Z" fill="black"></path></svg></a> <a href="https://github.com/opennem/" target="_blank" title="OpenElectricity GitHub">
8<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.07422 12.5098C6.07422 12.4473 6.01172 12.3848 5.91797 12.3848C5.82422 12.3848 5.76172 12.4473 5.76172 12.5098C5.76172 12.5723 5.82422 12.6348 5.91797 12.6035C6.01172 12.6035 6.07422 12.5723 6.07422 12.5098ZM5.10547 12.3535C5.13672 12.291 5.23047 12.2598 5.32422 12.291C5.41797 12.3223 5.44922 12.3848 5.44922 12.4473C5.41797 12.5098 5.32422 12.541 5.26172 12.5098C5.16797 12.5098 5.10547 12.416 5.10547 12.3535ZM6.51172 12.3223C6.57422 12.291 6.66797 12.3535 6.66797 12.416C6.69922 12.4785 6.63672 12.5098 6.54297 12.541C6.44922 12.5723 6.35547 12.541 6.35547 12.4785C6.35547 12.3848 6.41797 12.3223 6.51172 12.3223ZM8.54297 0.322266C12.8867 0.322266 16.418 3.63477 16.418 7.94727C16.418 11.416 14.293 14.3848 11.168 15.416C10.7617 15.5098 10.6055 15.2598 10.6055 15.041C10.6055 14.791 10.6367 13.4785 10.6367 12.4473C10.6367 11.6973 10.3867 11.2285 10.1055 10.9785C11.8555 10.791 13.6992 10.541 13.6992 7.54102C13.6992 6.66602 13.3867 6.25977 12.8867 5.69727C12.9492 5.47852 13.2305 4.66602 12.793 3.57227C12.1367 3.35352 10.6367 4.41602 10.6367 4.41602C10.0117 4.22852 9.35547 4.16602 8.66797 4.16602C8.01172 4.16602 7.35547 4.22852 6.73047 4.41602C6.73047 4.41602 5.19922 3.38477 4.57422 3.57227C4.13672 4.66602 4.38672 5.47852 4.48047 5.69727C3.98047 6.25977 3.73047 6.66602 3.73047 7.54102C3.73047 10.541 5.51172 10.791 7.26172 10.9785C7.01172 11.1973 6.82422 11.541 6.76172 12.041C6.29297 12.2598 5.16797 12.6035 4.48047 11.3848C4.04297 10.6348 3.26172 10.5723 3.26172 10.5723C2.51172 10.5723 3.23047 11.0723 3.23047 11.0723C3.73047 11.291 4.07422 12.1973 4.07422 12.1973C4.54297 13.6035 6.73047 13.1348 6.73047 13.1348C6.73047 13.791 6.73047 14.8535 6.73047 15.0723C6.73047 15.2598 6.60547 15.5098 6.19922 15.4473C3.07422 14.3848 0.917969 11.416 0.917969 7.94727C0.917969 3.63477 4.23047 0.322266 8.54297 0.322266ZM3.94922 11.1035C3.98047 11.0723 4.04297 11.1035 4.10547 11.1348C4.16797 11.1973 4.16797 11.291 4.13672 11.3223C4.07422 11.3535 4.01172 11.3223 3.94922 11.291C3.91797 11.2285 3.88672 11.1348 3.94922 11.1035ZM3.60547 10.8535C3.63672 10.8223 3.66797 10.8223 3.73047 10.8535C3.79297 10.8848 3.82422 10.916 3.82422 10.9473C3.79297 11.0098 3.73047 11.0098 3.66797 10.9785C3.60547 10.9473 3.57422 10.916 3.60547 10.8535ZM4.60547 11.9785C4.66797 11.916 4.76172 11.9473 4.82422 12.0098C4.88672 12.0723 4.88672 12.166 4.85547 12.1973C4.82422 12.2598 4.73047 12.2285 4.66797 12.166C4.57422 12.1035 4.57422 12.0098 4.60547 11.9785ZM4.26172 11.5098C4.32422 11.4785 4.38672 11.5098 4.44922 11.5723C4.48047 11.6348 4.48047 11.7285 4.44922 11.7598C4.38672 11.791 4.32422 11.7598 4.26172 11.6973C4.19922 11.6348 4.19922 11.541 4.26172 11.5098Z" fill="black"></path></svg></a> <a href="https://platform.openelectricity.org.au/license" target="_blank" title="License"><!></a></div></div></div></div></div> <div class="text-xs text-center text-mid-warm-grey"> </div></footer>`);function Ht(i){var r=ht(),l=s(r),t=s(l),o=s(t),p=c(s(o),4);Re(p,{class:"md:w-5/12"}),a(o),a(t),a(l);var n=c(l,2),f=s(n),d=s(f),m=s(d),g=s(m);R(g,{href:"/about",title:"About"});var u=c(g,2);R(u,{href:"/newsletter",title:"Newsletter"}),a(m),le(6),a(d);var x=c(d,2),_=c(s(x),4),N=s(_);R(N,{href:"https://platform.openelectricity.org.au/",target:"_blank",title:"Platform"});var A=c(N,2);R(A,{href:"https://docs.openelectricity.org.au/",target:"_blank",title:"Documentation"});var $=c(A,2);gt($,{}),a(_);var M=c(_,8),T=c(s(M),2),G=c(s(T),4),V=s(G);ft(V,{size:20,color:"black"}),a(G),a(T),a(M),a(x),a(f),a(n);var y=c(n,2),k=s(y,!0);a(y),a(r),E(()=>Y(k,Ge)),v(i,r)}export{Ht as F,jt as G,zt as N};
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.