(this["webpackJsonpfactory_burgers-ui"]=this["webpackJsonpfactory_burgers-ui"]||[]).push([[0],{11:function(t,e,n){},12:function(t,e,n){},13:function(t,e,n){},16:function(t,e,n){"use strict";n.r(e);var c=n(0),r=n.n(c),u=n(5),i=n.n(u);n(11),n(12),n(13);function a(){return fetch("./data").then((function(t){return t.json()}))}var o=n(4),s=n.n(o),f=n(6),j=n(2);var h=n(1);var l=function(){var t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object(c.useState)(null),r=Object(j.a)(n,2),u=r[0],i=r[1],a=Object(c.useState)(0===e.length),o=Object(j.a)(a,2),h=o[0],l=o[1],b=Object(c.useState)(null),d=Object(j.a)(b,2),p=d[0],O=d[1];function g(){return v.apply(this,arguments)}function v(){return(v=Object(f.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t());case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(){l(!1)}return Object(c.useEffect)((function(){l(!0),g().then(O).catch(i).then(x)}),e),Object(c.useMemo)((function(){return{error:u,fetching:h,response:p}}),[u,h,p])}(a);return Object(c.useEffect)((function(){console.log(t)}),[t]),Object(h.jsxs)("div",{className:"App",children:[Object(h.jsx)("header",{children:Object(h.jsx)("div",{class:"header-text",children:"testing"})}),Object(h.jsx)("main",{children:Object(h.jsx)("p",{children:"Hello, world."})})]})},b=function(t){t&&t instanceof Function&&n.e(3).then(n.bind(null,17)).then((function(e){var n=e.getCLS,c=e.getFID,r=e.getFCP,u=e.getLCP,i=e.getTTFB;n(t),c(t),r(t),u(t),i(t)}))};i.a.render(Object(h.jsx)(r.a.StrictMode,{children:Object(h.jsx)(l,{})}),document.getElementById("root")),b()}},[[16,1,2]]]); //# sourceMappingURL=main.6d8f3ae8.chunk.js.map