1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9977],{8032:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>p,default:()=>u});var a=s(37876),i=s(87736),n=s(13225),r=s(96011),c=s(30172),l=s(48081),d=s(78515),o=s(48230),m=s.n(o),h=s(89099),x=s(14232),p=!0;function u(e){let t=(0,h.useRouter)(),s=(0,x.useContext)(n.I);(0,x.useEffect)(()=>{s.title="\xdcbersicht"},[s]);let o=e.stats,p=Math.max(...o.map(e=>e.upatedAt));return(0,a.jsx)(i.A,{wide:!0,children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"mb-6",children:["Datenstand: ",(0,a.jsx)(r.A,{timestamp:p,withTime:!0})]}),(0,a.jsxs)("div",{className:"text-sm flex flex-wrap gap-4",children:[(0,a.jsxs)("p",{className:"flex items-center",children:[(0,a.jsx)("span",{className:"w-4 h-4 bg-gray bg-opacity-50 mr-2"}),"Nicht ver\xf6ffentlicht (transparent)"]}),(0,a.jsxs)("p",{className:"flex items-center",children:[(0,a.jsx)("span",{className:"w-4 h-4 bg-alertred bg-opacity-50 mr-2"}),"Archiviert"]}),(0,a.jsxs)("p",{className:"flex items-center",children:[(0,a.jsx)("span",{className:"w-4 h-4 border-2 border-green mr-2"}),"Pharma-CME"]})]}),(0,a.jsxs)("table",{className:"min-w-full divide-y divide-lightgray",children:[(0,a.jsx)("thead",{className:"",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{scope:"col",className:"py-3.5 px-4 text-left text-sm font-semibold",children:"Titel"}),(0,a.jsx)("th",{scope:"col",className:"py-3.5 px-4 text-center text-sm font-semibold",children:"Teilnahmen"}),(0,a.jsx)("th",{scope:"col",className:"py-3.5 px-4 text-center text-sm font-semibold",children:"Bestanden"}),(0,a.jsx)("th",{scope:"col",className:"py-3.5 px-4 text-center text-sm font-semibold",children:"% bestanden"}),(0,a.jsx)("th",{scope:"col",className:"py-3.5 px-4 text-center text-sm font-semibold",children:"Aktiv von / bis"}),(0,a.jsx)("th",{scope:"col",className:"py-3.5 px-4 text-left text-sm font-semibold",children:"Meldung ab"})]})}),(0,a.jsx)("tbody",{className:"divide-y divide-gray-shade-300",children:e.cmes.map(e=>{var s,i,n;let h={cmeId:e.id,totalCount:0,passedCount:0};if(o){let t=o.find(t=>t.cmeId===e.id);t&&(h=t)}return(0,a.jsxs)("tr",{onClick:()=>t.push("/admin/cme/".concat(e.id)),className:(0,l.A)("table-row hover:text-blue dark:hover:text-lightblue hover:bg-lightgray dark:hover:bg-dark-shade-800 ",e.archived?"bg-alertred bg-opacity-20 hover:bg-alertred dark:hover:bg-alertred hover:bg-opacity-50 dark:hover:bg-opacity-50 ":"",e.published?"":"opacity-50","industrial"===e.variant?"border-2 border-green":""),role:"link",title:"Teilnahmen ansehen",children:[(0,a.jsxs)("td",{width:"45%",onClick:()=>t.push("/admin/cme/".concat(e.id)),className:"text-sm py-4 px-4 cursor-pointer",children:[e.title,(0,a.jsx)("br",{}),(0,a.jsxs)("span",{className:"text-xs",children:["VNR: ",e.vnr]})]}),(0,a.jsx)("td",{align:"center",className:"text-sm cursor-pointer",onClick:()=>t.push("/admin/cme/".concat(e.id)),children:h.totalCount}),(0,a.jsx)("td",{align:"center",className:"text-sm cursor-pointer",onClick:()=>t.push("/admin/cme/".concat(e.id)),children:h.passedCount}),(0,a.jsx)("td",{align:"center",className:"text-sm cursor-pointer",onClick:()=>t.push("/admin/cme/".concat(e.id)),children:h.totalCount>0&&(h.passedCount/h.totalCount*100).toFixed(2)+"%"}),(0,a.jsxs)("td",{align:"center",className:"text-sm",children:[e.active&&new Date((null==(s=e.active)?void 0:s.start)*1e3).toLocaleDateString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"Europe/Berlin"}),(0,a.jsx)("br",{}),e.active&&new Date((null==(i=e.active)?void 0:i.end)*1e3).toLocaleDateString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"Europe/Berlin"})]}),(0,a.jsxs)("td",{className:"text-sm",children:["2"===e.mode&&e.active&&(0,a.jsx)(r.A,{timestamp:null==(n=e.active)?void 0:n.start,short:!0}),"3"===e.mode&&e.results_at&&(0,a.jsx)(r.A,{timestamp:e.results_at,short:!0})]}),(0,a.jsx)("td",{children:(0,a.jsx)(m(),{href:(0,d.Mq)(e),title:"In Statamic \xf6ffnen",children:(0,a.jsx)(c.A,{className:"inline-block w-6",index:"edit-outline"})})})]},e.id)})})]})]})})}},65001:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/cme",function(){return s(8032)}])},96011:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(37876);
1function i(e){let t=("string"==typeof e.timestamp?parseInt(e.timestamp,10):e.timestamp)*1e3,s=e.short?{year:"numeric",month:"numeric",day:"numeric",timeZone:"Europe/Berlin"}:{weekday:"long",year:"numeric",month:"long",day:"numeric",timeZone:"Europe/Berlin"},i=new Date(t);return(0,a.jsx)("span",{className:e.className,children:(0,a.jsxs)(a.Fragment,{children:[i.toLocaleDateString("de-DE",s),e.withTime&&", "+i.toLocaleTimeString("de-DE",{hour:"numeric",minute:"numeric",timeZone:"Europe/Berlin"})]})})}}},e=>{e.O(0,[6701,1225,3481,26,7284,636,6593,8792],()=>e(e.s=65001)),_N_E=e.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.