PageSourceSearch

https://rundgaenge.com/_next/static/chunks/pages/admin/presentations-1c8d351291e3d073164b.js

js rundgaenge.com collected 2026-10-08 19:22:24 UTC 6,899 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[590],{3725:function(e,t,n){"use strict";var r=n(5893),i=n(1664),o=n(1163),s=(n(7294),n(7311)),a=n(7257),c=n(9031);t.Z=function(e){var t=e.title,n=e.children,d=(0,o.useRouter)(),l=(0,s.tN)((function(e){return e.remove}));return(0,r.jsxs)(c.Z,{title:t,children:[(0,r.jsxs)(a.z$,{style:{justifyContent:"space-between"},children:[(0,r.jsx)(a.qH,{current:!1,onClick:function(){l(),d.push("/")},children:"Logout"}),(0,r.jsxs)(a.Lh,{children:[(0,r.jsx)(i.default,{href:"/admin",passHref:!0,children:(0,r.jsx)(a.qH,{current:"/admin"===d.route,children:"Neue Rundg\xe4nge"})}),(0,r.jsx)(i.default,{href:"/admin/presentations",passHref:!0,children:(0,r.jsx)(a.qH,{current:"/admin/presentations"===d.route,children:"Bestehende Rundg\xe4nge"})}),(0,r.jsx)(i.default,{href:"/admin/institutes",passHref:!0,children:(0,r.jsx)(a.qH,{current:"/admin/institutes"===d.route,children:"Institute"})})]})]}),(0,r.jsx)("div",{style:{display:"flex",flex:1,paddingRight:"40px"},children:n})]})}},6799:function(e,t,n){"use strict";var r=n(5893),i=(n(7294),n(9163)),o=n(7257);t.Z=function(e){var t=e.style,n=e.columns,i=e.data,u=e.renderRow;return(0,r.jsxs)("div",{style:t,children:[(0,r.jsx)(o.Dx,{style:{margin:0},children:(0,r.jsx)(c,{children:n.map((function(e,t){return"string"===typeof e?(0,r.jsx)(d,{children:e},t.toString()):void 0!==e.width?(0,r.jsx)(d,{style:{flex:0,flexBasis:e.width},children:e.title},t.toString()):void 0}))})}),(0,r.jsx)(s,{children:i&&i.map((function(e,t){return(0,r.jsxs)(a,{children:[(0,r.jsx)(c,{color:e.color,children:u(e).map((function(e,t){var i=n[t];return"string"===typeof i?(0,r.jsx)(d,{children:e},t.toString()):(0,r.jsx)(d,{style:{flex:0,flexBasis:i.width,marginRight:t===n.length-1?"0px":"5px"},children:e},t.toString())}))}),(0,r.jsx)(l,{})]},t)}))})]})};var s=i.ZP.div.withConfig({displayName:"gridList__Grid",componentId:"twpqgo-0"})(['display:flex;flex:1;align-items:stretch;font-family:"Poppins",sans-serif;font-weight:500;font-size:14px;flex-direction:column;']),a=i.ZP.div.withConfig({displayName:"gridList__Row",componentId:"twpqgo-1"})(["flex:1;flex-direction:column;justify-content:space-around;"]),c=i.ZP.div.withConfig({displayName:"gridList__RowInner",componentId:"twpqgo-2"})(["display:flex;flex-direction:row;flex:1;padding-top:10px;padding-bottom:10px;align-items:flex-start;background-color:",";"],(function(e){return e.color?e.color:"none"})),d=i.ZP.div.withConfig({displayName:"gridList__Column",componentId:"twpqgo-3"})(["display:flex;flex:1;flex-wrap:wrap;margin-right:5px;word-wrap:break-word;word-break:break-all;"]),l=i.ZP.div.withConfig({displayName:"gridList__Seperator",componentId:"twpqgo-4"})(["height:1px;background-color:",";align-self:stretch;"],o.ft)},5447:function(e,t,n){"use strict";n.d(t,{Z:function(){return x},h:function(){return h}});var r=n(809),i=n.n(r),o=n(2447),s=n(6265),a=n(5893);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var d=n(1163),l=(n(7294),n(7311));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,s.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t="/admin/login";return e&&(t+="?redirect=".concat(e)),t},h=function(e){var t=function(t){var n=c({},t);return(0,a.jsx)(e,p({},n))};return t.getInitialProps=function(){var t=(0,o.Z)(i().mark((function t(n){var r,o,s,a;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.req?n.req.headers.cookie&&(r=(0,l._6)(n)):r=(0,l.Ng)(),r&&r.token&&!((new Date).getTime()/1e3>
1r.expiresIn)){t.next=5;break}n.res?(null===(o=n.res)||void 0===o||o.writeHead(302,{Location:f(n.asPath)}),null===(s=n.res)||void 0===s||s.end()):d.default.replace(f(n.asPath)),t.next=10;break;case 5:if(!e.getInitialProps){t.next=10;break}return t.next=8,e.getInitialProps(p(p({},n),{},{auth:r}));case 8:return a=t.sent,t.abrupt("return",p(p({},a),{},{auth:r}));case 10:return t.abrupt("return",{auth:r});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),t},x=h},2058:function(e,t,n){"use strict";n.r(t);var r=n(5893),i=n(809),o=n.n(i),s=n(2447),a=n(1163),c=n(7294),d=n(5723),l=n(3725),u=n(6799),p=n(8591),f=n(5447),h=n(6395),x=n(7257);t.default=(0,f.h)((function(e){var t=e.auth,n=(0,c.useState)(void 0),i=n[0],f=n[1],g=(0,a.useRouter)(),w=(0,d.ZP)(["presentations/current",t],h.BE),j=w.data,m=w.revalidate;return j?(0,r.jsxs)(l.Z,{title:"Rundg\xe4nge",children:[void 0!==i&&void 0!==i.title&&(0,r.jsx)(x.mZ,{children:(0,r.jsx)(x.I8,{children:(0,r.jsx)(p.Z,{onCancel:function(){return f(void 0)},data:i,onSubmit:function(){var e=(0,s.Z)(o().mark((function e(n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.BE)("presentations/".concat(n.id),t,n,"PUT");case 2:e.sent&&(m(),g.push("/admin"),f(void 0));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})})}),(0,r.jsxs)(x.sg,{minWidth:"1800px",children:[(0,r.jsx)(x.x8,{children:"Bestehende Rundg\xe4nge"}),(0,r.jsx)(x.Xe,{style:{display:"flex",flex:1,width:"initial"},children:(0,r.jsx)(u.Z,{data:j,columns:[{title:"",width:"50px"},{title:"Titel",width:"300px"},{title:"Dozent",width:"200px"},{title:"Nr.",width:"30px"},"Beschreibung",{title:"Zeit",width:"150px"},{title:"Link",width:"250px"},{title:"Conceptboard Link",width:"250px"},{title:"",width:"80px"}],renderRow:function(e){return[e.institute.name,e.title,e.teacher,-1===e.number?"End":e.number,e.description,e.date,e.link,e.conceptBoardLink,(0,r.jsxs)(x.Lh,{children:[(0,r.jsx)(x.OZ,{style:{marginRight:"15px"},onClick:function(){return f(e)},children:(0,r.jsx)(x.oD,{children:"\u270e"})}),(0,r.jsx)(x.OZ,{onClick:(0,s.Z)(o().mark((function n(){return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,h.BE)("presentations/".concat(e.id),t,void 0,"DELETE");case 2:n.sent&&m();case 4:case"end":return n.stop()}}),n)}))),children:(0,r.jsx)(x.oD,{children:"\u2717"})})]},"buttons")]},style:{marginTop:"20px",flex:1}})})]})]}):(0,r.jsx)("div",{children:"Loading\u2026"})}))},3241:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/presentations",function(){return n(2058)}])}},function(e){e.O(0,[814,321,723,595,774,888,179],(function(){return t=3241,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.