Files
mission-control-v2/frontend/dist/assets/Updates-mbHOTcIo.js
T
2026-09-23 22:01:51 +02:00

2 lines
16 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{a as e,c as t,f as n,i as r,s as i,t as a,u as o}from"./button-Dd8hfusv.js";import{a as s,i as c,n as l,o as u,r as d,s as f,t as p}from"./dist-CgRgLCFz.js";import{C as m,E as h,S as g,T as _,a as v,d as y,f as b,i as x,o as S,p as C,r as w,t as T,w as E,x as D}from"./index-DaRexeYf.js";var O=i(),k=n(o(),1),A=t();function j(e){let t=(0,O.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,A.jsx)(p,{"data-slot":`dialog`,...n}),t[2]=n,t[3]=r),r}function M(e){let t=(0,O.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,A.jsx)(u,{"data-slot":`dialog-portal`,...n}),t[2]=n,t[3]=r),r}function N(e){let t=(0,O.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,A.jsx)(s,{"data-slot":`dialog-overlay`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function P(t){let n=(0,O.c)(15),i,o,s,c;n[0]===t?(i=n[1],o=n[2],s=n[3],c=n[4]):({className:o,children:i,showCloseButton:c,...s}=t,n[0]=t,n[1]=i,n[2]=o,n[3]=s,n[4]=c);let u=c===void 0||c,f;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,A.jsx)(N,{}),n[5]=f):f=n[5];let p;n[6]===o?p=n[7]:(p=r(`fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,o),n[6]=o,n[7]=p);let m;n[8]===u?m=n[9]:(m=u&&(0,A.jsx)(l,{"data-slot":`dialog-close`,asChild:!0,children:(0,A.jsxs)(a,{variant:`ghost`,className:`absolute top-2 right-2`,size:`icon-sm`,children:[(0,A.jsx)(e,{}),(0,A.jsx)(`span`,{className:`sr-only`,children:`Schließen`})]})}),n[8]=u,n[9]=m);let h;return n[10]!==i||n[11]!==s||n[12]!==p||n[13]!==m?(h=(0,A.jsxs)(M,{children:[f,(0,A.jsxs)(d,{"data-slot":`dialog-content`,className:p,...s,children:[i,m]})]}),n[10]=i,n[11]=s,n[12]=p,n[13]=m,n[14]=h):h=n[14],h}function F(e){let t=(0,O.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`flex flex-col gap-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,A.jsx)(`div`,{"data-slot":`dialog-header`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function I(e){let t=(0,O.c)(14),n,i,o,s;t[0]===e?(n=t[1],i=t[2],o=t[3],s=t[4]):({className:i,showCloseButton:s,children:n,...o}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=o,t[4]=s);let c=s!==void 0&&s,u;t[5]===i?u=t[6]:(u=r(`-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end`,i),t[5]=i,t[6]=u);let d;t[7]===c?d=t[8]:(d=c&&(0,A.jsx)(l,{asChild:!0,children:(0,A.jsx)(a,{variant:`outline`,children:`Schließen`})}),t[7]=c,t[8]=d);let f;return t[9]!==n||t[10]!==o||t[11]!==u||t[12]!==d?(f=(0,A.jsxs)(`div`,{"data-slot":`dialog-footer`,className:u,...o,children:[n,d]}),t[9]=n,t[10]=o,t[11]=u,t[12]=d,t[13]=f):f=t[13],f}function L(e){let t=(0,O.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`font-heading text-base leading-none font-medium`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,A.jsx)(f,{"data-slot":`dialog-title`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function R(e){let t=(0,O.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,A.jsx)(c,{"data-slot":`dialog-description`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function z(e){let t=(0,O.c)(26),{offen:n,titel:r,text:i,knopf:o,gefahr:s,onJa:c,onNein:l,children:u}=e,d;t[0]===l?d=t[1]:(d=e=>!e&&l(),t[0]=l,t[1]=d);let f;t[2]===r?f=t[3]:(f=(0,A.jsx)(L,{className:`schild text-xl`,children:r}),t[2]=r,t[3]=f);let p;t[4]===i?p=t[5]:(p=(0,A.jsx)(R,{className:`text-[15px] leading-relaxed text-text-2`,children:i}),t[4]=i,t[5]=p);let m;t[6]!==f||t[7]!==p?(m=(0,A.jsxs)(F,{children:[f,p]}),t[6]=f,t[7]=p,t[8]=m):m=t[8];let h;t[9]===l?h=t[10]:(h=(0,A.jsx)(a,{variant:`outline`,onClick:l,children:`Abbrechen`}),t[9]=l,t[10]=h);let g=s?`gefahr`:`default`,_;t[11]!==o||t[12]!==c||t[13]!==g?(_=(0,A.jsx)(a,{variant:g,onClick:c,children:o}),t[11]=o,t[12]=c,t[13]=g,t[14]=_):_=t[14];let v;t[15]!==h||t[16]!==_?(v=(0,A.jsxs)(I,{className:`gap-2 sm:gap-2`,children:[h,_]}),t[15]=h,t[16]=_,t[17]=v):v=t[17];let y;t[18]!==u||t[19]!==m||t[20]!==v?(y=(0,A.jsxs)(P,{className:`border-linie bg-panel sm:max-w-lg`,children:[m,u,v]}),t[18]=u,t[19]=m,t[20]=v,t[21]=y):y=t[21];let b;return t[22]!==n||t[23]!==d||t[24]!==y?(b=(0,A.jsx)(j,{open:n,onOpenChange:d,children:y}),t[22]=n,t[23]=d,t[24]=y,t[25]=b):b=t[25],b}var B=[{id:`os`,name:`Betriebssystem`},{id:`engine`,name:`Motor (llama.cpp)`},{id:`swap`,name:`llama-swap`},{id:`hermes`,name:`Hermes`}];function V(e){let t=(0,O.c)(44),{id:n,name:r,hatUpdate:i,fest:o,onStart:s,onFreigeben:c,laeuftGerade:l}=e,{data:u,isPending:d}=m(n),f;t[0]!==u||t[1]!==n?(f=w(n,u),t[0]=u,t[1]=n,t[2]=f):f=t[2];let p=f,h=i?p.neu??`neu`:null,g;t[3]!==u?.count||t[4]!==u?.summary||t[5]!==i||t[6]!==n||t[7]!==d?(g=i?u?.summary?.trim()||(n===`os`&&u?.count?`Paketliste unten in den Details.`:d?`Wird gelesen …`:``):`Aktuell.`,t[3]=u?.count,t[4]=u?.summary,t[5]=i,t[6]=n,t[7]=d,t[8]=g):g=t[8];let _=g,v;t[9]===h?v=t[10]:(v=h?(0,A.jsx)(`span`,{className:`text-cyan`,children:h}):(0,A.jsx)(`span`,{className:`text-text-3`,children:``}),t[9]=h,t[10]=v);let y=v,b;t[11]===r?b=t[12]:(b=(0,A.jsx)(`span`,{role:`rowheader`,className:`text-[15px] font-semibold`,children:r}),t[11]=r,t[12]=b);let x;t[13]!==h||t[14]!==y?(x=h&&(0,A.jsxs)(A.Fragment,{children:[` → `,y]}),t[13]=h,t[14]=y,t[15]=x):x=t[15];let S;t[16]!==x||t[17]!==p.laeuft?(S=(0,A.jsxs)(`span`,{role:`cell`,className:`ziffern text-right text-sm text-text-2 md:hidden`,children:[p.laeuft,x]}),t[16]=x,t[17]=p.laeuft,t[18]=S):S=t[18];let C;t[19]===p.laeuft?C=t[20]:(C=(0,A.jsx)(`span`,{role:`cell`,className:`ziffern hidden text-sm text-text-2 md:block`,children:p.laeuft}),t[19]=p.laeuft,t[20]=C);let T;t[21]===y?T=t[22]:(T=(0,A.jsx)(`span`,{role:`cell`,className:`ziffern hidden text-sm md:block`,children:y}),t[21]=y,t[22]=T);let E;t[23]!==o||t[24]!==r?(E=o&&(0,A.jsxs)(`span`,{className:`mb-1.5 block text-bernstein`,children:[`Festgehalten seit `,o.seit,` auf `,o.version,`: `,o.grund,`. Der Sonntags-Lauf überspringt `,r,`.`]}),t[23]=o,t[24]=r,t[25]=E):E=t[25];let D;t[26]===_?D=t[27]:(D=(0,A.jsx)(`span`,{className:`line-clamp-3 whitespace-pre-line`,children:_}),t[26]=_,t[27]=D);let k;t[28]!==D||t[29]!==E?(k=(0,A.jsxs)(`span`,{role:`cell`,className:`col-span-2 text-sm leading-relaxed text-text-2 md:col-span-1`,children:[E,D]}),t[28]=D,t[29]=E,t[30]=k):k=t[30];let j;t[31]!==o||t[32]!==i||t[33]!==l||t[34]!==c||t[35]!==s?(j=(o||i)&&(0,A.jsxs)(`span`,{role:`cell`,className:`col-span-2 flex flex-wrap gap-2 md:col-span-1 md:flex-col md:items-end`,children:[o&&(0,A.jsx)(a,{variant:`outline`,size:`sm`,onClick:c,children:`Freigeben`}),i&&(0,A.jsx)(a,{variant:`outline`,size:`sm`,onClick:s,disabled:l,children:`Aktualisieren`})]}),t[31]=o,t[32]=i,t[33]=l,t[34]=c,t[35]=s,t[36]=j):j=t[36];let M;return t[37]!==k||t[38]!==j||t[39]!==b||t[40]!==S||t[41]!==C||t[42]!==T?(M=(0,A.jsxs)(`div`,{role:`row`,className:`grid grid-cols-[minmax(0,1fr)_auto] items-baseline gap-x-4 gap-y-2 border-t border-linie py-3.5 md:grid-cols-[170px_100px_170px_minmax(0,1fr)_auto] md:items-start`,children:[b,S,C,T,k,j]}),t[37]=k,t[38]=j,t[39]=b,t[40]=S,t[41]=C,t[42]=T,t[43]=M):M=t[43],M}var H={rot:`rot`,gelb:`bernstein`,gruen:`gruen`,info:`cyan`,grau:`grau`},U={rot:`bg-rot`,gelb:`bg-bernstein`,gruen:`bg-gruen`,info:`bg-cyan`,grau:`bg-text-3`};function W(e){let t=(0,O.c)(19),{lauf:n}=e,r;t[0]===n.start?r=t[1]:(r=S(n.start),t[0]=n.start,t[1]=r);let i;t[2]===r?i=t[3]:(i=(0,A.jsx)(`span`,{className:`ziffern text-sm text-text-3`,children:r}),t[2]=r,t[3]=i);let a;t[4]===n.anlass?a=t[5]:(a=(0,A.jsx)(`span`,{className:`min-w-0 text-[15px]`,children:n.anlass}),t[4]=n.anlass,t[5]=a);let o=H[n.stufe],s;t[6]!==n.titel||t[7]!==o?(s=(0,A.jsx)(x,{art:o,children:n.titel}),t[6]=n.titel,t[7]=o,t[8]=s):s=t[8];let c;t[9]!==i||t[10]!==a||t[11]!==s?(c=(0,A.jsxs)(`div`,{className:`grid grid-cols-[112px_minmax(0,1fr)_auto] items-center gap-3`,children:[i,a,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=c):c=t[12];let l;t[13]!==n.stufe||t[14]!==n.zeilen?(l=n.stufe!==`grau`&&n.zeilen.length>0&&(0,A.jsx)(`ul`,{className:`m-0 flex list-none flex-col gap-1 p-0 sm:pl-[124px]`,children:n.zeilen.map(G)}),t[13]=n.stufe,t[14]=n.zeilen,t[15]=l):l=t[15];let u;return t[16]!==c||t[17]!==l?(u=(0,A.jsxs)(`li`,{className:`flex flex-col gap-2 border-t border-linie py-3`,children:[c,l]}),t[16]=c,t[17]=l,t[18]=u):u=t[18],u}function G(e){return(0,A.jsxs)(`li`,{className:`flex items-baseline gap-2 text-sm leading-snug text-text-2`,children:[(0,A.jsx)(`span`,{"aria-hidden":!0,className:r(`size-1.5 shrink-0 -translate-y-px rounded-full`,U[e.stufe])}),(0,A.jsxs)(`span`,{className:`min-w-0`,children:[(0,A.jsx)(`span`,{className:`text-foreground`,children:e.baustein}),` · `,e.text]})]},`${e.baustein}-${e.text}`)}function K(e){let t=(0,O.c)(13),{job:n}=e,r=n.state===`done`?`gruen`:n.state===`failed`?`rot`:`cyan`,i=n.state===`done`?`Fertig`:n.state===`failed`?`Fehler`:n.state===`queued`?`Wartet`:`Läuft`,a;t[0]===n.label?a=t[1]:(a=(0,A.jsx)(`span`,{className:`text-[15px] font-semibold`,children:n.label}),t[0]=n.label,t[1]=a);let o;t[2]!==r||t[3]!==i?(o=(0,A.jsx)(x,{art:r,children:i}),t[2]=r,t[3]=i,t[4]=o):o=t[4];let s;t[5]!==a||t[6]!==o?(s=(0,A.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[a,o]}),t[5]=a,t[6]=o,t[7]=s):s=t[7];let c;t[8]===n.log?c=t[9]:(c=n.log&&n.log.length>0&&(0,A.jsx)(`pre`,{className:`ziffern max-h-40 overflow-auto rounded-md bg-[#0b0d0f] p-2 text-xs whitespace-pre-wrap text-text-2`,children:n.log.slice(-8).join(`
`)}),t[8]=n.log,t[9]=c);let l;return t[10]!==s||t[11]!==c?(l=(0,A.jsxs)(`div`,{className:`flex flex-col gap-2 rounded-xl border border-linie bg-erhaben/50 p-3`,children:[s,c]}),t[10]=s,t[11]=c,t[12]=l):l=t[12],l}function q(e){return e.mtime?S(new Date(e.mtime*1e3).toISOString()):e.snapshot}function J(){let e=(0,O.c)(59),t=g(),n=C(),r=_(),i=D(),o=E(),s=y(),c=b(),l=h(),[u,d]=(0,k.useState)(null),f;e[0]===t.data?.updates.bausteine?f=e[1]:(f=new Set(t.data?.updates.bausteine.map(re)??[]),e[0]=t.data?.updates.bausteine,e[1]=f);let p=f,m;e[2]===t.data?.updates.festgehalten?m=e[3]:(m=new Map((t.data?.updates.festgehalten??[]).map(ne)),e[2]=t.data?.updates.festgehalten,e[3]=m);let x=m,S;if(e[4]!==x||e[5]!==s||e[6]!==n.data?.jobs||e[7]!==p||e[8]!==t.isPending||e[9]!==o){let r=(n.data?.jobs??[]).filter(te),i=r.some(ee),c;e[11]===o?c=e[12]:(c=()=>o.mutate(`pruefen`),e[11]=o,e[12]=c);let l;e[13]!==c||e[14]!==o.isPending?(l=(0,A.jsx)(a,{variant:`outline`,onClick:c,disabled:o.isPending,children:`Nach Neuem suchen`}),e[13]=c,e[14]=o.isPending,e[15]=l):l=e[15];let u;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>d({art:`alle`}),e[16]=u):u=e[16];let f;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,A.jsx)(`p`,{className:`-mt-2 text-[15px] text-text-2`,children:`Jeden Sonntag um 04:30 automatisch. Vorher wird gesichert, danach geprüft.`}),e[17]=f):f=e[17],S=(0,A.jsxs)(T,{titel:`Updates`,rechts:(0,A.jsxs)(`div`,{className:`flex flex-wrap gap-2.5`,children:[l,(0,A.jsx)(a,{onClick:u,disabled:i||p.size===0,children:`Alles jetzt aktualisieren`})]}),children:[f,t.isPending?(0,A.jsx)(v,{text:`Updates werden gelesen …`}):(0,A.jsxs)(`div`,{role:`table`,"aria-label":`Bausteine und ihre Updates`,className:`flex flex-col`,children:[(0,A.jsxs)(`div`,{role:`row`,className:`schild hidden grid-cols-[170px_100px_170px_minmax(0,1fr)_auto] gap-x-4 pb-2 text-xs font-semibold text-text-3 md:grid`,children:[(0,A.jsx)(`span`,{role:`columnheader`,children:`Baustein`}),(0,A.jsx)(`span`,{role:`columnheader`,children:`Läuft`}),(0,A.jsx)(`span`,{role:`columnheader`,children:`Neu`}),(0,A.jsx)(`span`,{role:`columnheader`,children:`Was sich ändert`}),(0,A.jsx)(`span`,{role:`columnheader`,className:`sr-only`,children:`Aktion`})]}),B.map(e=>(0,A.jsx)(V,{id:e.id,name:e.name,hatUpdate:p.has(e.id),fest:x.get(e.id),laeuftGerade:i,onStart:()=>o.mutate(e.id),onFreigeben:()=>s.mutate(e.id)},e.id))]}),r.length>0&&(0,A.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[(0,A.jsx)(`h3`,{className:`schild text-sm text-text-3`,children:`Laufende und letzte Aufträge`}),r.slice(-3).reverse().map(X)]})]}),e[4]=x,e[5]=s,e[6]=n.data?.jobs,e[7]=p,e[8]=t.isPending,e[9]=o,e[10]=S}else S=e[10];let w;e[18]!==r.data||e[19]!==r.isPending?(w=(0,A.jsx)(T,{titel:`Verlauf`,children:r.data?.laeufe.length?(0,A.jsx)(`ol`,{className:`m-0 flex list-none flex-col p-0`,children:r.data.laeufe.map(Y)}):(0,A.jsx)(`p`,{className:`text-[15px] text-text-2`,children:r.isPending?`Wird gelesen …`:`Noch keine Update-Läufe aufgezeichnet.`})}),e[18]=r.data,e[19]=r.isPending,e[20]=w):w=e[20];let j;e[21]===c?j=e[22]:(j=()=>c.mutate(void 0),e[21]=c,e[22]=j);let M;e[23]!==c.isPending||e[24]!==j?(M=(0,A.jsx)(a,{variant:`outline`,size:`sm`,onClick:j,disabled:c.isPending,children:`Jetzt sichern`}),e[23]=c.isPending,e[24]=j,e[25]=M):M=e[25];let N;e[26]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,A.jsx)(`p`,{className:`-mt-2 text-[15px] text-text-2`,children:`Täglich um 03:35, mit Kopie auf einem zweiten Gerät.`}),e[26]=N):N=e[26];let P;if(e[27]!==i.data?.available||e[28]!==i.data?.backups){let t;e[30]===i.data?.available?t=e[31]:(t=e=>(0,A.jsxs)(`li`,{className:`flex items-center justify-between gap-3 border-t border-linie py-2.5`,children:[(0,A.jsx)(`span`,{className:`ziffern text-sm`,children:q(e)}),(0,A.jsxs)(`span`,{className:`flex items-center gap-3`,children:[(0,A.jsxs)(`span`,{className:`ziffern text-xs text-text-3`,children:[e.size_mb.toLocaleString(`de-DE`),` MB`]}),(0,A.jsx)(a,{variant:`ghost`,size:`sm`,disabled:!i.data?.available,onClick:()=>d({art:`zurueck`,datei:e.file,zeit:q(e)}),children:`Zurückspielen`})]})]},e.file),e[30]=i.data?.available,e[31]=t),P=(i.data?.backups??[]).slice(0,5).map(t),e[27]=i.data?.available,e[28]=i.data?.backups,e[29]=P}else P=e[29];let F;e[32]===P?F=e[33]:(F=(0,A.jsx)(`ul`,{className:`m-0 flex list-none flex-col p-0`,children:P}),e[32]=P,e[33]=F);let I;e[34]!==M||e[35]!==F?(I=(0,A.jsxs)(T,{titel:`Sicherungen`,rechts:M,children:[N,F]}),e[34]=M,e[35]=F,e[36]=I):I=e[36];let L;e[37]!==w||e[38]!==I?(L=(0,A.jsxs)(`div`,{className:`grid gap-5 md:gap-6 lg:grid-cols-[minmax(0,1.4fr)_minmax(0,1fr)]`,children:[w,I]}),e[37]=w,e[38]=I,e[39]=L):L=e[39];let R=u?.art===`alle`,H;e[40]===Symbol.for(`react.memo_cache_sentinel`)?(H=()=>d(null),e[40]=H):H=e[40];let U;e[41]===o?U=e[42]:(U=()=>{o.mutate(`alle`),d(null)},e[41]=o,e[42]=U);let W;e[43]!==R||e[44]!==U?(W=(0,A.jsx)(z,{offen:R,titel:`Alles jetzt aktualisieren?`,text:`Betriebssystem, Motor, llama-swap und Hermes werden nacheinander aktualisiert. Vorher wird gesichert, danach geprüft. Lucy ist dabei ein paar Minuten nicht erreichbar.`,knopf:`Aktualisieren`,onNein:H,onJa:U}),e[43]=R,e[44]=U,e[45]=W):W=e[45];let G=u?.art===`zurueck`,K=`Die Einstellungen von Hermes und llama-swap werden auf den Stand von ${u?.art===`zurueck`?u.zeit:``} gesetzt. Vorher wird der jetzige Stand gesichert. Die Dienste starten danach neu.`,J;e[46]===Symbol.for(`react.memo_cache_sentinel`)?(J=()=>d(null),e[46]=J):J=e[46];let Z;e[47]!==u||e[48]!==l?(Z=()=>{u?.art===`zurueck`&&l.mutate(u.datei),d(null)},e[47]=u,e[48]=l,e[49]=Z):Z=e[49];let Q;e[50]!==G||e[51]!==K||e[52]!==Z?(Q=(0,A.jsx)(z,{offen:G,gefahr:!0,titel:`Sicherung zurückspielen?`,text:K,knopf:`Zurückspielen`,onNein:J,onJa:Z}),e[50]=G,e[51]=K,e[52]=Z,e[53]=Q):Q=e[53];let $;return e[54]!==L||e[55]!==W||e[56]!==Q||e[57]!==S?($=(0,A.jsxs)(A.Fragment,{children:[S,L,W,Q]}),e[54]=L,e[55]=W,e[56]=Q,e[57]=S,e[58]=$):$=e[58],$}function Y(e){return(0,A.jsx)(W,{lauf:e},e.start)}function X(e){return(0,A.jsx)(K,{job:e},e.id)}function ee(e){return e.state===`running`||e.state===`queued`}function te(e){return e.group===`maintenance`}function ne(e){return[e.baustein,e]}function re(e){return e.id}export{J as UpdatesSeite};