import{S as oe,i as se,s as ne,c as le,A as y,C as d,B as F,j as U,E as $,k as f,z as T,m as c,n as w,u as ae,g as fe,a as ie,t as S,b as B,w as g,x as q,y as ue,f as Z,D as W,F as me,G as H,H as M,I as O,J as ce,K as pe,L as _e,M as de,p as J}from"./index.991aac67.js";import"./paths.f2cc9227.js";import{p as x,r as ee}from"./inferColumnTypes.a0328dad.js";import{C as $e}from"./globalContexts.09a53420.js";import"./ecStat.b243fd6e.js";import{C as L}from"./CodeBlock.f747c3a4.js";function te(a){let t,o,l;return{c(){t=y("div"),o=y("sup"),l=g(a[0]),this.h()},l(s){t=F(s,"DIV",{class:!0});var i=U(t);o=F(i,"SUP",{});var r=U(o);l=q(r,a[0]),r.forEach(f),i.forEach(f),this.h()},h(){T(t,"class","footnote-id svelte-j7e9o2")},m(s,i){c(s,t,i),w(t,o),w(o,l)},p(s,i){i&1&&ue(l,s[0])},d(s){s&&f(t)}}}function he(a){let t,o,l,s=a[0]&&te(a);const i=a[2].default,r=le(i,a,a[1],null);return{c(){t=y("div"),s&&s.c(),o=d(),r&&r.c(),this.h()},l(u){t=F(u,"DIV",{class:!0});var m=U(t);s&&s.l(m),o=$(m),r&&r.l(m),m.forEach(f),this.h()},h(){T(t,"class","footnote svelte-j7e9o2")},m(u,m){c(u,t,m),s&&s.m(t,null),w(t,o),r&&r.m(t,null),l=!0},p(u,[m]){u[0]?s?s.p(u,m):(s=te(u),s.c(),s.m(t,o)):s&&(s.d(1),s=null),r&&r.p&&(!l||m&2)&&ae(r,i,u,u[1],l?ie(i,u[1],m,null):fe(u[1]),null)},i(u){l||(S(r,u),l=!0)},o(u){B(r,u),l=!1},d(u){u&&f(t),s&&s.d(),r&&r.d(u)}}}function ve(a,t,o){let{$$slots:l={},$$scope:s}=t,{id:i=void 0}=t;return a.$$set=r=>{"id"in r&&o(0,i=r.id),"$$scope"in r&&o(1,s=r.$$scope)},[i,s,l]}class X extends oe{constructor(t){super(),se(this,t,ve,he,ne,{id:0})}}function be(a){return{c(){this.h()},l(t){this.h()},h(){document.title="Evidence"},m:J,p:J,d:J}}function ke(a){let t;return{c(){t=g("The data for this report was sourced from the World Bank World Development Indicators dataset.")},l(o){t=q(o,"The data for this report was sourced from the World Bank World Development Indicators dataset.")},m(o,l){c(o,t,l)},d(o){o&&f(t)}}}function Te(a){let t;return{c(){t=g("Another footnote")},l(o){t=q(o,"Another footnote")},m(o,l){c(o,t,l)},d(o){o&&f(t)}}}function ye(a){let t;return{c(){t=g("Footnote without an id")},l(o){t=q(o,"Footnote without an id")},m(o,l){c(o,t,l)},d(o){o&&f(t)}}}function Fe(a){let t,o,l,s,i,r,u,m,p,D,E,h,C,_,v,A,z,b,K,I,Q,k,R,j,V;function re(e,n){return be}let P=re()(a);return _=new X({props:{id:"1",$$slots:{default:[ke]},$$scope:{ctx:a}}}),A=new L({props:{source:` The data for this report was sourced from the World Bank World Development Indicators dataset. `,copyToClipboard:"true"}}),b=new X({props:{id:"3",$$slots:{default:[Te]},$$scope:{ctx:a}}}),I=new L({props:{source:` Another footnote `,copyToClipboard:"true"}}),k=new X({props:{$$slots:{default:[ye]},$$scope:{ctx:a}}}),j=new L({props:{source:` Footnote without an id `,copyToClipboard:"true"}}),{c(){t=d(),P.c(),o=y("meta"),l=y("meta"),s=Z(),i=d(),r=y("h1"),u=g("Footnote"),m=d(),p=y("p"),D=g("A simple footnote component"),E=d(),h=y("br"),C=d(),W(_.$$.fragment),v=d(),W(A.$$.fragment),z=d(),W(b.$$.fragment),K=d(),W(I.$$.fragment),Q=d(),W(k.$$.fragment),R=d(),W(j.$$.fragment),this.h()},l(e){t=$(e);const n=me("svelte-1j2izld",document.head);P.l(n),o=F(n,"META",{name:!0,content:!0}),l=F(n,"META",{name:!0,content:!0}),s=Z(),n.forEach(f),i=$(e),r=F(e,"H1",{class:!0});var G=U(r);u=q(G,"Footnote"),G.forEach(f),m=$(e),p=F(e,"P",{class:!0});var N=U(p);D=q(N,"A simple footnote component"),N.forEach(f),E=$(e),h=F(e,"BR",{}),C=$(e),H(_.$$.fragment,e),v=$(e),H(A.$$.fragment,e),z=$(e),H(b.$$.fragment,e),K=$(e),H(I.$$.fragment,e),Q=$(e),H(k.$$.fragment,e),R=$(e),H(j.$$.fragment,e),this.h()},h(){T(o,"name","twitter:card"),T(o,"content","summary"),T(l,"name","twitter:site"),T(l,"content","@evidence_dev"),T(r,"class","markdown"),T(p,"class","markdown")},m(e,n){c(e,t,n),P.m(document.head,null),w(document.head,o),w(document.head,l),w(document.head,s),c(e,i,n),c(e,r,n),w(r,u),c(e,m,n),c(e,p,n),w(p,D),c(e,E,n),c(e,h,n),c(e,C,n),M(_,e,n),c(e,v,n),M(A,e,n),c(e,z,n),M(b,e,n),c(e,K,n),M(I,e,n),c(e,Q,n),M(k,e,n),c(e,R,n),M(j,e,n),V=!0},p(e,[n]){P.p(e,n);const G={};n&32&&(G.$$scope={dirty:n,ctx:e}),_.$set(G);const N={};n&32&&(N.$$scope={dirty:n,ctx:e}),b.$set(N);const Y={};n&32&&(Y.$$scope={dirty:n,ctx:e}),k.$set(Y)},i(e){V||(S(_.$$.fragment,e),S(A.$$.fragment,e),S(b.$$.fragment,e),S(I.$$.fragment,e),S(k.$$.fragment,e),S(j.$$.fragment,e),V=!0)},o(e){B(_.$$.fragment,e),B(A.$$.fragment,e),B(b.$$.fragment,e),B(I.$$.fragment,e),B(k.$$.fragment,e),B(j.$$.fragment,e),V=!1},d(e){e&&f(t),P.d(e),f(o),f(l),f(s),e&&f(i),e&&f(r),e&&f(m),e&&f(p),e&&f(E),e&&f(h),e&&f(C),O(_,e),e&&f(v),O(A,e),e&&f(z),O(b,e),e&&f(K),O(I,e),e&&f(Q),O(k,e),e&&f(R),O(j,e)}}}function we(a,t,o){let l;ce(a,ee,m=>o(3,l=m));let{data:s}=t,{data:i={},customFormattingSettings:r}=s;pe(ee,l="34e34ce63ed85be45d5a90a6cf133161",l),_e($e,{getCustomFormats:()=>r.customFormats||[]});const u=function(m){var D,E;let p=(D=m.evidencemeta)==null?void 0:D.queries;if(p)for(let h=0;h{u(i)}),a.$$set=m=>{"data"in m&&o(0,s=m.data)},a.$$.update=()=>{a.$$.dirty&1&&o(1,{data:i={},customFormattingSettings:r}=s,i),a.$$.dirty&2&&(Object.keys(i).length>0?x.set(!0):x.set(!1))},[s,i]}class De extends oe{constructor(t){super(),se(this,t,we,Fe,ne,{data:0})}}export{De as default};