(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[28],{
/***/rxIY:
/***/function(t,e,r){"use strict";
// ESM COMPAT FLAG
r.r(e),
// EXPORTS
r.d(e,"default",(function(){/* reexport */return f}));
// EXTERNAL MODULE: /Users/paulcowan/projects/cuttingedge/node_modules/react/jsx-runtime.js
var n=r("jg1C"),a=r("zju2"),o=r("LRir"),i=r("BQ33"),d=r.n(i),l=r("8e7h"),u=r("My6G"),s=function(){return(s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},c=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){var t,e,r,i,f=Object(a.a)();if("undefined"===typeof(null===(r=f.data)||void 0===r?void 0:r.SCO))return Object(n.jsx)(u.d,{busy:!0,darkMode:!0},void 0);var y={SCO:f.data.SCO};try{for(var v=c(Object.keys(y)),h=v.next();!h.done;h=v.next()){var b=h.value,O=null===(i=y)||void 0===i?void 0:i[b];Object(l.assert)(!!O,"no country found for "+b),O.data=O.data.map((function(t){return s(s({},t),{y:t.deltaDeaths<=0?0:t.deltaDeaths})}))}}catch(p){t={error:p}}finally{try{h&&!h.done&&(e=v.return)&&e.call(v)}finally{if(t)throw t.error}}return Object(n.jsx)(o.a,{heading:"Daily Increase in Scottish deaths",xAxisLabel:"Days since first reported death",yAxisLabel:"Increase in deaths from previous day",result:{data:y},labels:function(t){var e=t.datum;return d()(null===e||void 0===e?void 0:e.x).format("DD/M  M/YY")+"\n total deaths = "+e.deaths+"\n daily increase = "+e.deltaDeaths}},void 0)};
// EXTERNAL MODULE: ./src/components/Graphs/useCountryCovidData.ts
}}]);
//# sourceMappingURL=src-components-DailyIncreaseUk-b59217a9.10cfeb8f.chunk.js.map