_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[46],{XBFZ:function(e,t,n){"use strict";n.r(t);var r=n("rePB"),c=n("nKUr"),a=n("Ff2n"),i=(n("q1tI"),n("20a2")),o=n("yE/o"),j=n("+6Dn"),d=n("gaPq"),s=n("h4VS"),l=n("UYTu"),O=n("JznV"),b=n("R6OX"),u=n("3mGJ"),h=n("WYlG");function p(){var e=Object(s.a)(["\n  query Event($eventId: ID!) {\n    event(eventId: $eventId) {\n      _id\n      type\n      created\n      payload\n    }\n  }\n"]);return p=function(){return e},e}var f=Object(O.a)(Object(l.a)(p()))((function(e){var t=e.data.event||{},n=t._id,r=t.created,a=t.type,i=t.payload;return Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)(b.a,{fluid:!0,attached:"top",bworkless:!0,children:Object(c.jsx)(b.a.Item,{header:!0,children:n})},"header-title"),Object(c.jsxs)(u.a,{attached:!0,children:[Object(c.jsx)(j.a,{divided:"vertically",children:Object(c.jsx)(j.a.Row,{columns:2,children:Object(c.jsx)(j.a.Column,{width:6,children:Object(c.jsxs)(h.a,{children:[Object(c.jsx)(h.a.Item,{children:Object(c.jsxs)(h.a.Content,{children:["Created:"," ",r?new Date(r).toLocaleString():"n/a"]})}),Object(c.jsx)(h.a.Item,{children:Object(c.jsxs)(h.a.Content,{children:["Type: ",a]})})]})})})}),Object(c.jsx)("textarea",{readOnly:!0,cols:10,style:{width:"50%",minHeight:"30rem",fontFamily:'"Lucida Console", Monaco, monospace',fontSize:"0.8rem",lineHeight:1.2,resize:"none"},defaultValue:JSON.stringify(i,void 0,4)})]},"header-body")]})})),y=n("PZVx");function w(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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=Object(y.a)(Object(i.withRouter)((function(e){var t=e.router,n=Object(a.a)(e,["router"]);return Object(c.jsx)(d.a,x(x({},n),{},{children:Object(c.jsx)(o.a,{children:Object(c.jsx)(j.a,{columns:2,stackable:!0,children:Object(c.jsx)(j.a.Column,{width:16,children:Object(c.jsx)(f,{eventId:t.query._id})})})})}))})))},cYxN:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/view",function(){return n("XBFZ")}])}},[["cYxN",0,2,3,1,4,5,10]]]);