1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[687],{7571:function(n,i,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add/[id]",function(){return e(9231)}])},9231:function(n,i,e){"use strict";e.r(i),e.d(i,{default:function(){return h}});var t=e(5893),r=e(1664),c=e.n(r),s=e(5675),d=e.n(s);function o(n){let{comic:i}=n;async function e(){await fetch("/api/comics",{method:"POST",body:JSON.stringify(i),headers:{"Content-Type":"application/json"}})}return(0,t.jsxs)("main",{children:[(0,t.jsx)(c(),{href:"/add",children:"zur\xfcck zur \xdcbersicht"}),(0,t.jsxs)("div",{...i.id,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(d(),{src:"".concat(i.images[0].path,"/portrait_xlarge.").concat(i.images[0].extension),alt:i.title,width:150,height:225,priority:!0}),(0,t.jsx)("button",{type:"button",onClick:e,role:"button",children:"Hinzuf\xfcgen"})]}),(0,t.jsxs)("h4",{children:["Titel: ",i.title]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("b",{children:"EAN-UPC-ISBN:"})," ",i.upc]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("b",{children:"Beschreibung:"})," ",i.description]})]})]})}e(7294);var u=e(1163);function h(n){let{data:i,error:e}=n,r=(0,u.useRouter)(),{id:c}=r.query;if(e)return(0,t.jsx)("h3",{children:"Comic konnte nicht geladen werden!"});if(!i)return(0,t.jsx)("h3",{children:"Comic wird geladen..."});let s=i.find(n=>n.id==c);return(0,t.jsx)(o,{comic:s})}},1163:function(n,i,e){n.exports=e(387)}},function(n){n.O(0,[774,888,179],function(){return n(n.s=7571)}),_N_E=n.O()}]);
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.