text: !function(e){function t(t){for(var r,o,i=t[0],u=t[1],l=t[2],s=0,p=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&p.push(a[o][0]),a[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(f&&f(t);p.length;)p.shift()();return c.push.apply(c,l||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n,o=c[t],i=!0,u=1;u<o.length;u++)n=o[u],0!==a[n]&&(i=!1);i&&(c.splice(t--,1),e=r(r.s=o[0]))}return e}function r(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}var o={},a={1:0},c=[];r.m=e,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=u;c.push([165,0]),n()}({165:function(e,t,n){n(116),n(153),e.exports=n(589)},370:function(e,t,n){var r=n(371);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(67)(r,o),r.locals&&(e.exports=r.locals)},371:function(e,t,n){(e.exports=n(66)(!1)).push([e.i,'* {\n  font-family: "Helvetica Neue", Sans-serif, Arial;\n}\n\nhtml {\n    box-sizing: border-box;\n    height: 100%;\n}\nbody {\n    position: relative;\n    margin: 0;\n    padding-bottom: 6rem;\n    min-height: 100%;\n    width: 100%;\n}\n*,\n*:before,\n*:after {\n  box-sizing: inherit;\n}\nul {\n    list-style: none;\n    padding: 0;\n    margin: 0;\n}\n#coverage-area {\n    height: 100%;\n    width: 100%;\n}\n\n.footer {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  text-align: center;\n}\n\n.list-item-danger {\n    border-top: 1px solid rgba(255, 135, 129, 0.5) !important;\n    border-right: 1px solid rgba(255, 135, 129, 0.5) !important;\n    border-left: 1px solid rgba(255, 135, 129, 0.5) !important;\n    background-color: rgba(255, 105, 97, 0.8) !important;\n}\n\n.list-item-success {\n    border-top: 1px solid rgba(146, 228, 146, .5) !important;\n    border-right: 1px solid rgba(146, 228, 146, 0.5) !important;\n    border-left: 1px solid rgba(146, 228, 146, 0.5) !important;\n    background-color: rgba(119, 221, 119, 0.8) !important;\n}\n\n.coverage {\n  margin-bottom: 50px;\n  margin-left: 50px;\n  margin-right: 50px;\n}\n.coverage-header {}\n.coverage-commit-message {\n  text-overflow: ellipsis;\n\twidth: 200px;\n\twhite-space: nowrap;\n\toverflow: hidden;\n  display: inline-block;\n}\n\nul.dropdown-menu.rbt-menu.dropdown-menu-justify {\n  position: absolute;\n}\n',""])},378:function(e,t,n){var r=n(379);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(67)(r,o),r.locals&&(e.exports=r.locals)},379:function(e,t,n){(e.exports=n(66)(!1)).push([e.i,".LineChart {\n  position: relative;\n  display: block;\n  margin: 0 auto;\n}\n.LineChart--tooltip {\n  display: block;\n  position: absolute;\n  padding: 10px;\n  background-color: #fff;\n  border: 1px solid #d0d0d0;\n  border-radius: 2px;\n  font-family: Sans-serif;\n  font-size: 10px;\n  pointer-events: none;\n  -webkit-transform: translate(-50%, -100%);\n          transform: translate(-50%, -100%);\n  white-space: nowrap;\n}\n.LineChart--tooltip::before {\n  content: '';\n  position: absolute;\n  border: 6px solid transparent;\n  border-top: 6px solid #d0d0d0;\n  bottom: -12px;\n  left: 50%;\n  margin-left: -6px;\n}\n.LineChart--tooltip::after {\n  content: '';\n  position: absolute;\n  border: 5px solid transparent;\n  border-top: 5px solid #fff;\n  bottom: -10px;\n  left: 50%;\n  margin-left: -5px;\n}\n.LineChart--tooltip i {\n  font-style: normal;\n}\n.LineChart--tooltip i::before {\n  content: ': ';\n}\n.LineChart--axis {\n  font-family: Sans-serif;\n  font-size: 10px;\n  fill: #ccc;\n}\n.LineChart--label {\n  font-family: Sans-serif;\n  font-size: 10px;\n}\n.LineChart circle {\n  -webkit-transition: 0.3s ease-out;\n  transition: 0.3s ease-out;\n}\n.LineChart circle:hover {\n  r: 8px;\n}\n.LineChart g {\n  -webkit-transition: 1.5s ease-out;\n  transition: 1.5s ease-out;\n}\n",""])},380:function(e){function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id=380},397:function(e,t,n){var r=n(398);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(67)(r,o),r.locals&&(e.exports=r.locals)},398:function(e,t,n){(e.exports=n(66)(!1)).push([e.i,".table-fileView td {\n  border: 0;\n}\n\n.table-fileView tr, .table-fileView tr > *, .table-fileView td span {\n  font-family: monospace;\n}\n",""])},589:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){for(var n,r=e.split(/[,\s]/),o="",a=0,c=r.length;c-2>a;a+=2){n=[],0==a?(n.push({x:parseFloat(r[a]),y:parseFloat(r[a+1])}),n.push({x:parseFloat(r[a]),y:parseFloat(r[a+1])}),n.push({x:parseFloat(r[a+2]),y:parseFloat(r[a+3])}),n.push({x:parseFloat(r[a+4]),y:parseFloat(r[a+5])})):c-4==a?(n.push({x:parseFloat(r[a-2]),y:parseFloat(r[a-1])}),n.push({x:parseFloat(r[a]),y:parseFloat(r[a+1])}),n.push({x:parseFloat(r[a+2]),y:parseFloat(r[a+3])}),n.push({x:parseFloat(r[a+2]),y:parseFloat(r[a+3])})):(n.push({x:parseFloat(r[a-2]),y:parseFloat(r[a-1])}),n.push({x:parseFloat(r[a]),y:parseFloat(r[a+1])}),n.push({x:parseFloat(r[a+2]),y:parseFloat(r[a+3])}),n.push({x:parseFloat(r[a+4]),y:parseFloat(r[a+5])}));var i=[];i.push({x:n[1].x,y:n[1].y}),i.push({x:(-n[0].x+6*n[1].x+n[2].x)/6,y:(-n[0].y+6*n[1].y+n[2].y)/6}),i.push({x:(n[1].x+6*n[2].x-n[3].x)/6,y:(n[1].y+6*n[2].y-n[3].y)/6}),i.push({x:n[2].x,y:n[2].y}),o+="C"+(i=i.map((function(e){return e.y>t&&(e.y=t),e})))[1].x+","+i[1].y+" "+i[2].x+","+i[2].y+" "+i[3].x+","+i[3].y+" "}return o}function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function E(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var o=j(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=V(e);if(t){var o=V(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=J(e);if(t){var o=J(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return H(this,n)}}function H(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Q(e);if(t){var o=Q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K(this,n)}}function K(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function ne(e,t){return(ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ae(e);if(t){var o=ae(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return oe(this,n)}}function oe(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function le(e,t){return(le=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pe(e);if(t){var o=pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ge(e);if(t){var o=ge(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ve(this,n)}}function ve(e,t){return!t||"object"!==ye(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ge(e){return(ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function we(e){return(we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function Oe(e,t){return(Oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=je(e);if(t){var o=je(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Se(this,n)}}function Se(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ke(e){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Be(e);if(t){var o=Be(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){return!t||"object"!==ke(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fe(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function Ie(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=We(e);if(t){var o=We(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ve(this,n)}}function Ve(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ze(e){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function De(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function Ue(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function Ye(e,t){return(Ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function He(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ze(e);if(t){var o=Ze(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Je(this,n)}}function Je(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ze(e){return(Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ge(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function $e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=et(e);if(t){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xe(this,n)}}function Xe(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nt(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function rt(e,t){return(rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ct(e);if(t){var o=ct(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return at(this,n)}}function at(e,t){return!t||"object"!==tt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ct(e){return(ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(e){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ut(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function lt(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yt(e);if(t){var o=yt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pt(this,n)}}function pt(e,t){return!t||"object"!==it(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ht(e){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wt(e);if(t){var o=wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gt(this,n)}}function gt(e,t){return!t||"object"!==ht(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function wt(e){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Et(e){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xt(e,t,n,r,o,a,c){try{var i=e[a](c),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,o)}function Ot(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function _t(e,t){return(_t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function St(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kt(e);if(t){var o=kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jt(this,n)}}function jt(e,t){return!t||"object"!==Et(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.r(t);n(367),n(370);var Pt=n(36),Rt=n(0),Ct=n.n(Rt),Tt=n(113),Nt=n(12),Bt=n(2),Lt=n.n(Bt),Ft=n(60),It=function(e){function t(){return o(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e);var n=i(t);return function(e,t,n){t&&a(e.prototype,t),n&&a(e,n)}(t,[{key:"render",value:function(){var e=this.props.children;return Ct.a.createElement("div",null,Ct.a.createElement("div",{className:"navbar"},Ct.a.createElement("div",{className:"container"},Ct.a.createElement("div",{className:"navbar-title"},Ct.a.createElement("a",{className:"text-black",href:"/"},Ct.a.createElement("span",{className:"text-black"},"lcov-server"))),Ct.a.createElement("div",{className:"nav"},Ct.a.createElement("a",{className:"text-black",href:"/feed"},"Recent"),Ct.a.createElement("a",{className:"text-black",href:"/coverage"},"Reports")))),Ct.a.createElement("div",null,e),Ct.a.createElement("div",{className:"footer text-center"},Ct.a.createElement("div",null,Ct.a.createElement("a",{className:"text-black",target:"_blank",rel:"noopener noreferrer",href:"https://github.com/gabrielcsapo/lcov-server"},"Source")," · ",Ct.a.createElement("a",{className:"text-black",target:"_blank",rel:"noopener noreferrer",href:"https://github.com/gabrielcsapo/lcov-server/issues"},"Bugs")," · ",Ct.a.createElement("a",{className:"text-black",target:"_blank",rel:"noopener noreferrer",href:"https://github.com/gabrielcsapo/lcov-server/releases/".concat(Ft.c)},"v",Ft.c)),Ct.a.createElement("div",{className:"text-black"},Ct.a.createElement("p",null,"©",(new Date).getFullYear()," ",Ct.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://gabrielcsapo.com"},"gabrielcsapo")))))}}]),t}(Ct.a.Component);It.propTypes={children:Lt.a.object};var Mt=function(e){function t(){return s(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e);var n=h(t);return function(e,t,n){t&&p(e.prototype,t),n&&p(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=e.width,r=e.height,o=e.padding,a=e.lines,c=e.area,i=e.color,u=e.stroke,l=e.updating,f=[],s=[],p={pointerEvents:"none"},y=!0===a?"L":"R";return r+=o,!0===l&&(p.opacity=0,p.transition="none"),f="M"+(f=t.map((function(e,t){return(0===t?"":1===t?y:"")+e[0]+","+e[1]}))).join(" "),!0!==a&&(f=function(e,t){var n=[],r="",o="";if(-1!=e.search(/[rR]/))for(var a=e.split(/([A-Za-z])/),c=0,i=a.length;i>c;c++){var u=a[c],l=u.toLowerCase();if(-1!=u.search(/[A-Za-z]/)){var f="";if("z"!=l&&(f=a[++c].replace(/\s+$/,"")),"r"==l){var s=d(r+","+o+" "+f,t);n.push(s)}else if(n.push(u+f),"h"==l)r=f;else if("v"==l)o=f;else if("z"!=l){var p=f.split(/[,\s]/);o=p.pop(),r=p.pop()}}}return n}(f,r).join(" ")),!0===c&&(s="M"+o+","+r+(s=f.replace("M","L")),s+="L"+(n+o)+","+r),Ct.a.createElement("g",{style:p},!0===c?Ct.a.createElement("path",{d:s,fill:i,fillOpacity:".05"}):null,Ct.a.createElement("path",{d:f,fill:"none",stroke:i,strokeWidth:u}))}}]),t}(Ct.a.Component);Mt.propTypes={points:Lt.a.object,width:Lt.a.number,height:Lt.a.number,padding:Lt.a.number,lines:Lt.a.array,area:Lt.a.boolean,color:Lt.a.string,stroke:Lt.a.number,updating:Lt.a.updating};var At=function(e){function t(){return g(this,t),n.apply(this,arguments)}x(t,e);var n=_(t);return E(t,[{key:"render",value:function(){var e=this.props,t=e.padding,n=e.height,r=e.width,o=e.maxValue;return o=~~(o/4),Ct.a.createElement("g",null,[1,2,3].map((function(e,a){var c=.5+~~(e*(n/4)+t);return Ct.a.createElement("g",{key:a},Ct.a.createElement("line",{x1:t,y1:c,x2:r+t,y2:c,stroke:"#eaeaea",strokeWidth:"1px"}),Ct.a.createElement("text",{className:"LineChart--axis",x:t-10,y:c+2,textAnchor:"end"},o*(3-a)))})))}}]),t}(Ct.a.Component);At.propTypes={padding:Lt.a.number,height:Lt.a.number,width:Lt.a.number,maxValue:Lt.a.number},At.defaultProps={padding:0,height:0,width:0,maxValue:0};var Vt=function(e){function t(){return g(this,t),n.apply(this,arguments)}x(t,e);var n=_(t);return E(t,[{key:"render",value:function(){var e=this.props,t=e.axis,n=e.padding,r=e.height,o=e.width;return r+=n,Ct.a.createElement("g",null,[0,1,2,3,4].map((function(e,a){var c=.5+~~(a*(o/4)+n);return Ct.a.createElement("g",{key:a},Ct.a.createElement("line",{x1:c,y1:n,x2:c,y2:r,stroke:"#eaeaea",strokeWidth:"1px"}),Ct.a.createElement("text",{className:"LineChart--axis",x:c,y:r+15,textAnchor:"middle"},t[a%t.length]))})))}}]),t}(Ct.a.Component);Vt.propTypes={padding:Lt.a.number,height:Lt.a.number,width:Lt.a.number,axis:Lt.a.array},Vt.defaultProps={padding:0,height:0,width:0,axis:[]};var Wt=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n.call(this,e)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(t,e);var n=C(t);return function(e,t,n){t&&P(e.prototype,t),n&&P(e,n)}(t,[{key:"mouseEnter",value:function(){var e=this.props,t=e.radius,n=e.point,r=e.dataSetIndex,o=e.index;this.props.showTooltip([n[0]+3*t,n[1]+3*t],r,o)}},{key:"mouseLeave",value:function(){this.props.hideTooltip()}},{key:"render",value:function(){var e=this.props,t=e.point,n=e.stroke,r=e.radius,o=t[0],a=t[1],c=t[3];return Ct.a.createElement("circle",{cx:o,cy:a,r:r,fill:c,strokeWidth:n,stroke:"#ffffff",onMouseEnter:this.mouseEnter.bind(this),onMouseLeave:this.mouseLeave.bind(this)})}}]),t}(Ct.a.Component);Wt.propTypes={point:Lt.a.array,stroke:Lt.a.string,radius:Lt.a.number,index:Lt.a.number,dataSetIndex:Lt.a.number,showTooltip:Lt.a.func,hideTooltip:Lt.a.func},Wt.defaultProps={point:[],stroke:"#fff",radius:0,index:0,dataSetIndex:0,showTooltip:function(){},hideTooltip:function(){}};var zt=function(e){function t(){return L(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(t,e);var n=M(t);return function(e,t,n){t&&F(e.prototype,t),n&&F(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=e.dataSetIndex,r=e.showTooltip,o=e.hideTooltip,a=e.radius,c=e.stroke,i=e.label,u=e.dots,l=e.hideLabels,f=t[t.length-1],s=f[3],p=f[0],y=f[1];return Ct.a.createElement("g",null,!0===u?t.map((function(e,t){return Ct.a.createElement(Wt,{point:e,dataSetIndex:n,showTooltip:r,hideTooltip:o,stroke:c,radius:a,index:t,key:t})})):null,!0===l?null:Ct.a.createElement("text",{className:"LineChart--label",x:p+5,y:y+2,fill:s},i))}}]),t}(Ct.a.Component);zt.propTypes={points:Lt.a.object,dataSetIndex:Lt.a.number,showTooltip:Lt.a.func,hideTooltip:Lt.a.func,radius:Lt.a.number,stroke:Lt.a.string,label:Lt.a.string,dots:Lt.a.boolean,hideLabels:Lt.a.boolean},zt.defaultProps={points:{},dataSetIndex:0,showTooltip:function(){},hideTooltip:function(){},radius:0,stroke:"#fff",label:"",dots:!0,hideLabels:!1};var Dt=function(e){function t(){return z(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}(t,e);var n=Y(t);return function(e,t,n){t&&D(e.prototype,t),n&&D(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.value,n=e.label,r=e.x,o=e.y,a=e.color;return Ct.a.createElement("span",{className:"LineChart--tooltip",style:{left:~~r,top:~~o}},Ct.a.createElement("b",{style:{color:a}},n),Ct.a.createElement("i",null,t))}}]),t}(Ct.a.Component);Dt.propTypes={value:Lt.a.number,label:Lt.a.string,x:Lt.a.number,y:Lt.a.number,color:Lt.a.string},Dt.defaultProps={value:0,label:"",x:0,y:0,color:""};n(378);var Ut=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=n.call(this,e)).state={tooltip:!1,value:"",dataSet:0,index:0,x:0,y:0,color:"",updating:!1},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(t,e);var n=$(t);return function(e,t,n){t&&q(e.prototype,t),n&&q(e,n)}(t,[{key:"componentWillReceiveProps",value:function(){this.setState({updating:!0},this.endUpdate)}},{key:"endUpdate",value:function(){var e=this;setTimeout((function(){e.setState({updating:!1})}),300)}},{key:"showTooltip",value:function(e,t,n){var r=this.props.data;this.setState({updating:!1,tooltip:!0,value:r[t][n],dataSet:t,index:n,x:e[0],y:e[1],color:e[3]})}},{key:"hideTooltip",value:function(){this.setState({tooltip:!1,value:"",dataSet:0,index:0,x:0,y:0,color:"",updating:!1})}},{key:"render",value:function(){var e=this,t=this.state,n=t.updating,r=t.tooltip,o=t.value,a=t.x,c=t.y,i=t.color,u=this.props,l=u.data,f=u.lines,s=u.area,p=u.dots,y=u.stroke,h=u.radius,m=u.grid,b=u.axis,d=u.width,v=u.height,g=u.colors,w=u.labels,E=u.hideLabels,x=u.maxValue,O=u.heightRatio,_=u.padding,S=[],j=l[0].length-1;v=v||d*(9/16),S=l.forEach((function(e){var t=Math.max.apply(null,e);x=t>x?t:x})),O=0===x?1:v/x,S=l.map((function(e,t){return e.map((function(e,n){return[.5+~~(d/j*n+_),.5+~~(O*(x-e)+_),e,g[t%g.length]]}))}));var k={xmlns:"http://www.w3.org/2000/svg",width:d+2*_+"px",height:v+2*_+"px",viewBox:"0 0 "+(d+2*_)+" "+(v+2*_)};return Ct.a.createElement("span",{className:"LineChart",style:{width:d+2*_}},Ct.a.createElement("svg",k,m?Ct.a.createElement("g",null,Ct.a.createElement(At,{maxValue:x,padding:_,width:d,height:v}),Ct.a.createElement(Vt,{axis:b,padding:_,width:d,height:v})):null,S.map((function(t,r){return Ct.a.createElement("g",{key:r},Ct.a.createElement(Mt,{points:t,lines:f,area:s,width:d,height:v,padding:_,color:g[r%g.length],updating:n,stroke:y}),Ct.a.createElement(zt,{hideLabels:E,dots:p,label:w[r],points:t,dataSetIndex:r,showTooltip:e.showTooltip.bind(e),hideTooltip:e.hideTooltip.bind(e),stroke:y,radius:h}))}))),r?Ct.a.createElement(Dt,{value:o,label:w[this.state.dataSet],x:a-8,y:c-15,color:i}):null)}}]),t}(Ct.a.Component);Ut.propTypes={data:Lt.a.array,axis:Lt.a.array,colors:Lt.a.array,labels:Lt.a.array,lines:Lt.a.booean,area:Lt.a.boolean,dots:Lt.a.boolean,stroke:Lt.a.number,radius:Lt.a.number,height:Lt.a.number,width:Lt.a.number,grid:Lt.a.boolean,padding:Lt.a.number,heightRatio:Lt.a.number,maxValue:Lt.a.number,hideLabels:Lt.a.boolean},Ut.defaultProps={data:[],colors:["#aaa","#888"],labels:[],lines:!0,area:!0,dots:!0,stroke:1,radius:3,grid:!0,padding:50,heightRatio:1,maxValue:0,hideLabels:!1,height:0,width:400};var Yt=function(e){function t(){return ee(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ne(e,t)}(t,e);var n=re(t);return function(e,t,n){t&&te(e.prototype,t),n&&te(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.data,n=e.height,r=e.width;return Ct.a.createElement(Ut,{data:t,colors:["#9a8585","#a7daff","#f7ca97"],labels:["Lines","Branches","Functions"],width:r,height:n,lines:!0,area:!0,dots:!0,hideLabels:!1,grid:!1})}}]),t}(Ct.a.Component);Yt.propTypes={data:Lt.a.array,height:Lt.a.number,width:Lt.a.number};var Ht=Yt,Jt=function(e){function t(){return ie(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&le(e,t)}(t,e);var n=fe(t);return function(e,t,n){t&&ue(e.prototype,t),n&&ue(e,n)}(t,[{key:"render",value:function(){var e=Math.floor,t=window.location.origin,n=[Array.from({length:6},(function(){return e(100*Math.random())+1})),Array.from({length:6},(function(){return e(100*Math.random())+1})),Array.from({length:6},(function(){return e(100*Math.random())+1}))];return Ct.a.createElement("div",{className:"text-center",style:{width:"100%",position:"absolute",top:"50%",transform:"translateY(-50%)"}},Ct.a.createElement("h3",{className:"text-black"},Ft.b),Ct.a.createElement("p",{className:"text-black"},Ft.a),Ct.a.createElement("small",{className:"text-black"},Ct.a.createElement("pre",{style:{display:"inline-block"}},"npm install -g lcov-server"),Ct.a.createElement("br",null),Ct.a.createElement("pre",{style:{display:"inline-block"}},"tap test/**/*.js --coverage-report=text-lcov | lcov-server --upload ",t)),Ct.a.createElement("div",{style:{display:"block",margin:"0 auto"}},Ct.a.createElement(Ht,{height:50,width:window.innerWidth/1.5,data:n})))}}]),t}(Ct.a.Component),Zt=n(37),qt=n.n(Zt),Gt=n(69),$t=n.n(Gt),Kt=function(e){function t(){return he(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(t,e);var n=de(t);return function(e,t,n){t&&me(e.prototype,t),n&&me(e,n)}(t,[{key:"render",value:function(){return Ct.a.createElement("div",{className:"coverage text-center",style:{border:"1px solid #dedede",position:"relative",height:"300px"}},Ct.a.createElement("div",{style:{width:"100%",position:"absolute",top:"50%",transform:"translateY(-50%)"}},Ct.a.createElement("div",{className:"spinner spinner-black"})))}}]),t}(Ct.a.Component),Qt=function(e){function t(){return Ee(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oe(e,t)}(t,e);var n=_e(t);return function(e,t,n){t&&xe(e.prototype,t),n&&xe(e,n)}(t,[{key:"render",value:function(){var e=this.props.error;return Ct.a.createElement("div",{className:"text-center",style:{width:"100%",position:"absolute",top:"50%",transform:"translateY(-50%)"}},"Oh no 🙈 something happened...",Ct.a.createElement("br",null),Ct.a.createElement("br",null),Ct.a.createElement("pre",{style:{width:"50%",margin:"0 auto"}},e||"Page not found"),Ct.a.createElement("br",null),Ct.a.createElement("a",{href:"/"}," Go Somewhere Safe 🏝 "))}}]),t}(Ct.a.Component);Qt.propTypes={error:Lt.a.string};var Xt=Qt,en=function(e){function t(){return Pe(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ce(e,t)}(t,e);var n=Te(t);return function(e,t,n){t&&Re(e.prototype,t),n&&Re(e,n)}(t,[{key:"render",value:function(){return Ct.a.createElement("div",{className:"coverage text-center",style:{border:"1px solid #dedede",position:"relative",height:"300px"}},Ct.a.createElement("div",{style:{width:"100%",position:"absolute",top:"50%",transform:"translateY(-50%)"}},"No Coverage 🌧"))}}]),t}(Ct.a.Component),tn=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=n.call(this,e)).state={feed:[],loading:!0},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Me(e,t)}(t,e);var n=Ae(t);return function(e,t,n){t&&Ie(e.prototype,t),n&&Ie(e,n)}(t,[{key:"componentDidMount",value:function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){Fe(i,r,o,a,c,"next",e)}function c(e){Fe(i,r,o,a,c,"throw",e)}var i=e.apply(t,n);a(void 0)}))}}(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"/api/feed",e.prev=1,e.next=4,fetch("/api/feed");case 4:return t=e.sent,e.next=7,t.json();case 7:n=e.sent,this.setState({feed:n,loading:!1}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),this.setState({error:e.t0.toString(),loading:!1});case 14:case"end":return e.stop()}}),e,this,[[1,11]])})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state,t=e.feed,n=e.loading,r=e.error;return r?Ct.a.createElement(Xt,{error:r}):n?Ct.a.createElement(Kt,null):0<t.length?Ct.a.createElement("div",{style:{margin:"0 auto",width:"50%"}},Ct.a.createElement("div",{className:"list"},t.map((function(e,t){var n=e.git,r=e.source_files,o=n.message,a=n.commit,c=n.branch,i=n.git_branch,u=n.remotes,l=$t()(u.url),f=l.resource,s=l.owner,p=l.name,y=f.substring(f.lastIndexOf(".")+1,f.length),h="".concat(u.url.replace(".git",""),"/commit/").concat(a),m=r.map((function(e){var t=e.lines,n=void 0===t?{found:0,hit:0}:t,r=e.branches,o=void 0===r?{found:0,hit:0}:r,a=e.functions,c=void 0===a?{found:0,hit:0}:a,i=n.found+o.found+c.found,u=n.hit+o.hit+c.hit;return parseInt(u/i*100)}),[]).reduce((function(e,t,n,r){return e+t/r.length}),0),b=85<=m?"#3DB712":85>=m&&70<=m?"#caa300":"#cc5338";return Ct.a.createElement("div",{key:"".concat(p,"/").concat(t),className:"list-item"},Ct.a.createElement("div",{style:{position:"relative",height:"50px"}},Ct.a.createElement("div",{style:{float:"left"}},Ct.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:h},qt()(e.run_at).fromNow()," on ",i||c||"unknown")),Ct.a.createElement("div",{style:{float:"right"}},Ct.a.createElement("div",{className:"badge",style:{opacity:.6,backgroundColor:b,color:"white"}}," ",parseInt(m),"%"))),Ct.a.createElement("h3",{className:"text-center"},Ct.a.createElement("a",{href:"/coverage/".concat(f.replace(/\./g,"%2E").replace(".".concat(y),""),"/").concat(s,"/").concat(p)},"  ",s,"/",p," "),Ct.a.createElement("br",null),Ct.a.createElement("small",{style:{fontWeight:"100",color:"#969696"}}," ",o," ")))})))):Ct.a.createElement(en,null)}}]),t}(Ct.a.Component),nn=n(68),rn=n(59),on=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=n.call(this,e)).state={coverage:{},error:"",loading:!0},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ye(e,t)}(t,e);var n=He(t);return function(e,t,n){t&&Ue(e.prototype,t),n&&Ue(e,n)}(t,[{key:"componentDidMount",value:function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){De(i,r,o,a,c,"next",e)}function c(e){De(i,r,o,a,c,"throw",e)}var i=e.apply(t,n);a(void 0)}))}}(regeneratorRuntime.mark((function e(){var t,n,r,o,a,c,i,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props.repo,n=$t()(t),r=n.resource,o=n.owner,a=n.name,c=r.substring(r.lastIndexOf(".")+1,r.length),i="/api/coverage/".concat(r.replace(/\./g,"%2E").replace(".".concat(c),""),"/").concat(o,"/").concat(a,"?limit=5"),e.prev=4,e.next=7,fetch(i);case 7:return u=e.sent,e.next=10,u.json();case 10:l=e.sent,this.setState({coverage:l,loading:!1}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(4),this.setState({error:e.t0.toString(),loading:!1});case 17:case"end":return e.stop()}}),e,this,[[4,14]])})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state,t=e.coverage,n=e.loading,r=e.error;if(n)return Ct.a.createElement(Kt,null);if(r)return Ct.a.createElement(Xt,{error:r});if(console.log(t),0<Object.keys(t).length){var o=t.id,a=t.history;if(!a)return Ct.a.createElement(en,null);var c=Object(rn.parseCoverage)(a),i=a[0].git,u=i.message,l=i.commit,f=i.branch,s=i.git_branch,p=i.author_name,y=i.author_date,h=$t()(o),m=h.resource,b=h.owner,d=h.name,v=m.substring(m.lastIndexOf(".")+1,m.length),g="".concat(o.replace(".git",""),"/commit/").concat(l);return Ct.a.createElement("div",{className:"coverage"},Ct.a.createElement("div",{className:"coverage-header"},Ct.a.createElement("div",{style:{display:"inline-block",width:"100%"}},Ct.a.createElement("div",{style:{float:"left",textAlign:"left"}},Ct.a.createElement("h3",null," ",Ct.a.createElement("a",{href:"/coverage/".concat(m.replace(/\./g,"%2E").replace(".".concat(v),""),"/").concat(b,"/")},b)," / ",Ct.a.createElement("a",{href:"/coverage/".concat(m.replace(/\./g,"%2E").replace(".".concat(v),""),"/").concat(b,"/").concat(d)},d)," "),Ct.a.createElement("p",null,Ct.a.createElement("a",{className:"coverage-commit-message",href:g,target:"_blank",rel:"noopener noreferrer"}," ",u," "),"on branch",Ct.a.createElement("b",null," ",f||s," "),qt()(1e3*y).fromNow()," by",Ct.a.createElement("b",null," ",p," "))),Ct.a.createElement("h3",{style:{float:"right"}}," ",Ct.a.createElement("img",{src:"/badge/".concat(m.replace(/\./g,"%2E"),"/").concat(b,"/").concat(d,".svg")})," ")),Ct.a.createElement(Ht,{width:window.innerWidth-200,height:100,data:c})))}return Ct.a.createElement(en,null)}}]),t}(Ct.a.Component);on.propTypes={repo:Lt.a.string};var an=function(e){function t(e){var r;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),r=n.call(this,e);var o=e.match.params.page;return r.state={repos:[],raw:[],selected:"",chunk:6,title:"",page:o||1,loading:!0},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ke(e,t)}(t,e);var n=Qe(t);return function(e,t,n){t&&$e(e.prototype,t),n&&$e(e,n)}(t,[{key:"componentDidMount",value:function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){Ge(i,r,o,a,c,"next",e)}function c(e){Ge(i,r,o,a,c,"throw",e)}var i=e.apply(t,n);a(void 0)}))}}(regeneratorRuntime.mark((function e(){var t,n,r,o,a,c,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props.match.params,n=t.source,r=t.owner,o=this.state.chunk,a="/api/repos",n&&r&&(a="/api/repos/".concat(n,"/").concat(r),this.setState({title:"Filtering coverage reports for ".concat(r," on ").concat(n)})),e.prev=4,e.next=7,fetch(a);case 7:return c=e.sent,e.next=10,c.json();case 10:i=e.sent,this.setState({repos:i.slice(0,0|(i.length+o-1)/o).map((function(e,t){return i.slice(o*t,o*t+o)})),raw:i,loading:!1}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(4),this.setState({error:e.t0.toString(),loading:!1});case 17:case"end":return e.stop()}}),e,this,[[4,14]])})));return function(){return e.apply(this,arguments)}}()},{key:"nextPage",value:function(){var e=this.state,t=e.page,n=t+1>e.repos.length?1:t+1;this.setState({page:n}),history.pushState({},null,"/coverage/".concat(n))}},{key:"previousPage",value:function(){var e=this.state.page,t=1>e-1?1:e-1;this.setState({page:t}),history.pushState({},null,"/coverage/".concat(t))}},{key:"onSelect",value:function(e){var t=this.state,n=t.raw,r=t.chunk;e?this.setState({repos:[[e.value]],selected:e.value,page:1}):this.setState({repos:n.slice(0,0|(n.length+r-1)/r).map((function(e,t){return n.slice(r*t,r*t+r)})),selected:"",page:1})}},{key:"render",value:function(){var e=this.state,t=e.raw,n=e.repos,r=e.page,o=e.selected,a=e.title,c=e.loading,i=e.error;if(i)return Ct.a.createElement(Xt,{error:i});if(c)return Ct.a.createElement(Kt,null);if(0<n.length){var u=t.map((function(e){return{value:e,label:e}}));return Ct.a.createElement("div",null,Ct.a.createElement("div",{style:{width:"85%",margin:"0 auto",marginBottom:"50px"}},Ct.a.createElement(nn.default,{matchPos:"any",value:o,options:u,onChange:this.onSelect.bind(this)})),a?Ct.a.createElement("div",{className:"text-center"},Ct.a.createElement("br",null),Ct.a.createElement("i",null," ",a," (",Ct.a.createElement("a",{href:"/coverage"},"clear"),")"),Ct.a.createElement("br",null),Ct.a.createElement("br",null)):"",Ct.a.createElement("div",null,n[r-1].map((function(e){return Ct.a.createElement(on,{key:"".concat(e),repo:e})}))),Ct.a.createElement("div",{style:{position:"relative",width:"80%",height:"50px",textAlign:"center",margin:"0 auto",marginBottom:"50px",lineHeight:"100px"}},Ct.a.createElement("button",{className:"btn",style:{left:0,position:"absolute",top:"25px"},onClick:this.previousPage.bind(this)}," Previous "),Ct.a.createElement("div",{style:{display:"inline-block"}}," ",r,"/",n.length," "),Ct.a.createElement("button",{className:"btn",style:{right:0,position:"absolute",top:"25px"},onClick:this.nextPage.bind(this)}," Next ")))}return Ct.a.createElement(en,null)}}]),t}(Ct.a.Component);an.propTypes={match:Lt.a.object,page:Lt.a.number};var cn=an,un=function(e){function t(e){var r;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),r=n.call(this,e);var o=e.data,a=e.chunk;return r.state={data:o.slice(0,0|(o.length+a-1)/a).map((function(e,t){return o.slice(a*t,a*t+a)})),page:1},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rt(e,t)}(t,e);var n=ot(t);return function(e,t,n){t&&nt(e.prototype,t),n&&nt(e,n)}(t,[{key:"nextPage",value:function(){var e=this.state,t=e.page,n=e.data;this.setState({page:t+1>n.length?1:t+1})}},{key:"previousPage",value:function(){var e=this.state.page;this.setState({page:1>e-1?1:e-1})}},{key:"render",value:function(){var e=this.state,t=e.data,n=e.page;return Ct.a.createElement("div",null,Ct.a.createElement("table",{className:"table responsive"},Ct.a.createElement("thead",null,Ct.a.createElement("tr",null,Object.keys(t[n-1][0]).map((function(e){return Ct.a.createElement("th",{key:e},e)})))),Ct.a.createElement("tbody",null,t[n-1].map((function(e,t){return Ct.a.createElement("tr",{key:"".concat(n,"/").concat(t)},Object.keys(e).map((function(n){return Ct.a.createElement("td",{key:"".concat(n,"/").concat(t)}," ",Ct.a.createElement("div",{className:"Commit"===n?"coverage-commit-message":""},e[n])," ")})))}),[]))),1<t.length?Ct.a.createElement("div",{style:{position:"relative",width:"80%",height:"50px",textAlign:"center",margin:"0 auto",marginBottom:"50px",lineHeight:"100px"}},Ct.a.createElement("button",{className:"btn",style:{left:0,position:"absolute",top:"25px"},onClick:this.previousPage.bind(this)}," Previous "),Ct.a.createElement("div",{style:{display:"inline-block"}}," ",n,"/",t.length," "),Ct.a.createElement("button",{className:"btn",style:{right:0,position:"absolute",top:"25px"},onClick:this.nextPage.bind(this)}," Next ")):"")}}]),t}(Ct.a.Component);un.propTypes={data:Lt.a.array,chunk:Lt.a.number},un.defaultProps={data:[],chunk:5};var ln=un,fn=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=n.call(this,e)).state={error:"",selectedBranch:"",loading:!0},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ft(e,t)}(t,e);var n=st(t);return function(e,t,n){t&&lt(e.prototype,t),n&&lt(e,n)}(t,[{key:"componentDidMount",value:function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){ut(i,r,o,a,c,"next",e)}function c(e){ut(i,r,o,a,c,"throw",e)}var i=e.apply(t,n);a(void 0)}))}}(regeneratorRuntime.mark((function e(){var t,n,r,o,a,c,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props.match.params,n=t.source,r=t.owner,o=t.name,a="/api/coverage/".concat(n,"/").concat(r,"/").concat(o),e.prev=2,e.next=5,fetch(a);case 5:return c=e.sent,e.next=8,c.json();case 8:i=e.sent,this.setState({project:i,loading:!1}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),this.setState({error:e.t0.toString(),loading:!1});case 15:case"end":return e.stop()}}),e,this,[[2,12]])})));return function(){return e.apply(this,arguments)}}()},{key:"onChangeBranch",value:function(e){this.setState({selectedBranch:e?e.value:""})}},{key:"reduceBuilds",value:function(e){var t=e.git,n=e.updatedAt,r=e.source_files.map((function(e){var t=e.lines,n=void 0===t?{found:0,hit:0}:t,r=e.branches,o=void 0===r?{found:0,hit:0}:r,a=e.functions,c=void 0===a?{found:0,hit:0}:a,i=n.found+o.found+c.found,u=n.hit+o.hit+c.hit;return parseInt(u/i*100)}),[]).reduce((function(e,t,n,r){return e+t/r.length}),0);return{Sha:"".concat(t.commit).substr(0,6),Branch:t.git_branch||t.branch||Ct.a.createElement("span",{style:{color:"#9a9a9a"}}," unknown "),Coverage:"".concat(r,"%"),Commit:t.message,Committer:t.committer_name,"Commit Time":qt()(1e3*t.committer_date).fromNow(),Recieved:qt()(n).fromNow()}}},{key:"reduceSourceFiles",value:function(e){var t=this.props.match.params,n=t.source,r=t.owner,o=t.name,a=e.lines,c=void 0===a?{found:0,hit:0}:a,i=e.branches,u=void 0===i?{found:0,hit:0}:i,l=e.functions,f=void 0===l?{found:0,hit:0}:l,s=c.found+u.found+f.found,p=c.hit+u.hit+f.hit,y=parseInt(p/s*100),h=encodeURIComponent(e.title).replace(/\./g,"%2E");return{Coverage:"".concat(y,"%"),File:Ct.a.createElement("a",{href:"/coverage/".concat(n.replace(/\./g,"%2E"),"/").concat(r,"/").concat(o,"/").concat(h)},e.title),Lines:"".concat(c.hit," / ").concat(c.found),Branches:"".concat(u.hit," / ").concat(u.found),Functions:"".concat(f.hit," / ").concat(f.found)}}},{key:"render",value:function(){var e=this.state,t=e.selectedBranch,n=e.project,r=e.error,o=e.loading;if(console.log(this.state),o)return Ct.a.createElement(Kt,null);if(r)return Ct.a.createElement(Xt,{error:r});if(n){var a=this.props.match.params,c=a.source,i=a.owner,u=a.name,l=n.id,f=n.history,s=f[0].git,p=s.message,y=s.commit,h=s.branch,m=s.git_branch,b=s.author_name,d=s.author_date,v=Object(rn.parseCoverage)(f,t),g=f.map((function(e){var t=e.git;return t.branch||t.git_branch}),[]).filter((function(e,t,n){return n.indexOf(e)==t&&!!e})).sort().map((function(e){return{value:e,label:e}})),w="".concat(l.replace(".git",""),"/commit/").concat(y);return Ct.a.createElement("div",{className:"coverage"},Ct.a.createElement("div",{className:"coverage-header"},Ct.a.createElement("div",{style:{display:"inline-block",width:"100%"}},Ct.a.createElement("div",{style:{float:"left",textAlign:"left"}},Ct.a.createElement("h3",null,Ct.a.createElement("a",{href:"/coverage/".concat(c.replace(/\./g,"%2E"),"/").concat(i,"/")},i)," / ",Ct.a.createElement("a",{href:"/coverage/".concat(c.replace(/\./g,"%2E"),"/").concat(i,"/").concat(u)},u)),Ct.a.createElement("p",null,Ct.a.createElement("a",{className:"coverage-commit-message",href:w,target:"_blank",rel:"noopener noreferrer"}," ",p," "),"on branch",Ct.a.createElement("b",null," ",h||m," "),qt()(1e3*d).fromNow()," by",Ct.a.createElement("b",null," ",b," "))),Ct.a.createElement("h3",{style:{float:"right"}}," ",Ct.a.createElement("img",{src:"/badge/".concat(c.replace(/\./g,"%2E"),"/").concat(i,"/").concat(u,".svg")})," ")),Ct.a.createElement("div",null,Ct.a.createElement(nn.default,{matchPos:"any",value:t,options:g,onChange:this.onChangeBranch.bind(this)})),Ct.a.createElement(Ht,{width:window.innerWidth-200,data:v,height:100}),Ct.a.createElement("hr",null),Ct.a.createElement("h4",null," Source Files (",f[0].source_files.length,")"),Ct.a.createElement(ln,{data:f[0].source_files.map(this.reduceSourceFiles.bind(this)),chunk:5}),Ct.a.createElement("h4",null," Recent Builds (",f.length,")"),Ct.a.createElement(ln,{data:f.map(this.reduceBuilds),chunk:9})))}return Ct.a.createElement("div",{className:"text-center",style:{width:"100%",position:"absolute",top:"50%",transform:"translateY(-50%)"}},"No Coverage 🌧")}}]),t}(Ct.a.Component);fn.propTypes={match:Lt.a.object};n(397),n(399);var sn=n(112),pn=n.n(sn),yn=function(e){function t(){return mt(this,t),n.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dt(e,t)}(t,e);var n=vt(t);return function(e,t,n){t&&bt(e.prototype,t),n&&bt(e,n)}(t,[{key:"render",value:function(){var e=this.props,t=e.source,n=e.lineMap,r=e.extension;return Ct.a.createElement("div",{style:{paddingTop:"25px",paddingBottom:"25px",backgroundColor:"rgba(246, 244, 244, 0.5)",width:window.innerWidth-200,margin:"0 auto",fontSize:"16px"}},Ct.a.createElement("table",{className:"table-fileView table responsive"},Ct.a.createElement("tbody",null,pn.a.highlight(r,t).value.split("\n").map((function(e,t){for(var r=e.split("").reverse(),o=0<n[t]?"#00c661":"#c75151",a="";" "==r.pop();)a+=" ";return Ct.a.createElement("tr",{key:t},Ct.a.createElement("td",{style:{padding:"2px",paddingRight:"5px",borderBottom:0,textAlign:"center"}},t),Ct.a.createElement("td",{style:{padding:"2px",borderBottom:0},dangerouslySetInnerHTML:{__html:a+e}}),Ct.a.createElement("td",{style:{padding:"2px",borderBottom:0,color:o}},isNaN(n[t])?"":"".concat(n[t],"x")))}),[]))))}}]),t}(Ct.a.Component);yn.propTypes={source:Lt.a.string,lineMap:Lt.a.array,extension:Lt.a.string};var hn=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=n.call(this,e)).state={error:"",loading:!0},r}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_t(e,t)}(t,e);var n=St(t);return function(e,t,n){t&&Ot(e.prototype,t),n&&Ot(e,n)}(t,[{key:"componentDidMount",value:function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function a(e){xt(i,r,o,a,c,"next",e)}function c(e){xt(i,r,o,a,c,"throw",e)}var i=e.apply(t,n);a(void 0)}))}}(regeneratorRuntime.mark((function e(){var t,n,r,o,a,c,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props.match.params,n=t.source,r=t.owner,o=t.name,a="/api/coverage/".concat(n,"/").concat(r,"/").concat(o),e.prev=2,e.next=5,fetch(a);case 5:return c=e.sent,e.next=8,c.json();case 8:i=e.sent,this.setState({project:i,loading:!1}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),this.setState({error:e.t0.toString(),loading:!1});case 15:case"end":return e.stop()}}),e,this,[[2,12]])})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state,t=e.project,n=e.error,r=e.loading,o=this.props.match.params,a=o.source,c=o.owner,i=o.name;if(r)return Ct.a.createElement(Kt,null);if(n)return Ct.a.createElement(Xt,{error:n});if(t){var u={},l=this.props.match.params.file.replace("%2E","."),f=t.id,s=t.history,p=(s=s[0]).source_files.filter((function(e){return e.title===l}))[0],y=p.lines,h=void 0===y?{found:0,hit:0}:y,m=p.branches,b=void 0===m?{found:0,hit:0}:m,d=p.functions,v=void 0===d?{found:0,hit:0}:d;h.details.forEach((function(e){u[e.line-1]=e.hit}));var g=parseInt(100*(h.hit/h.found||1)),w=parseInt(100*(b.hit/b.found||1)),E=parseInt(100*(v.hit/v.found||1)),x=parseInt((g+w+E)/3),O=90<=g?"#008a44":89>=g&&80<=g?"#cfaf2a":"#c75151",_=s.git,S=_.message,j=_.commit,k=_.branch,P=_.author_name,R=_.author_date,C="".concat(f.replace(".git",""),"/commit/").concat(j);return Ct.a.createElement("div",{className:"coverage"},Ct.a.createElement("div",{className:"coverage-header"},Ct.a.createElement("div",{style:{display:"inline-block",width:"100%"}},Ct.a.createElement("div",{style:{float:"left",textAlign:"left"}},Ct.a.createElement("h3",null," ",Ct.a.createElement("a",{href:"/coverage/".concat(a.replace(/\./g,"%2E"),"/").concat(c,"/")},c)," / ",Ct.a.createElement("a",{href:"/coverage/".concat(a.replace(/\./g,"%2E"),"/").concat(c,"/").concat(i)},i)," / ",Ct.a.createElement("a",{href:"/coverage/".concat(a.replace(/\./g,"%2E"),"/").concat(c,"/").concat(i,"/").concat(encodeURIComponent(l).replace(/\./g,"%2E"))},l)," "),Ct.a.createElement("p",null,Ct.a.createElement("a",{className:"coverage-commit-message",href:C,target:"_blank",rel:"noopener noreferrer"}," ",S," "),"on branch",Ct.a.createElement("b",null," ",k," "),qt()(1e3*R).fromNow()," by",Ct.a.createElement("b",null," ",P," "))),Ct.a.createElement("h3",{style:{float:"right",color:O}},x,"%")),Ct.a.createElement(Ht,{width:window.innerWidth-200,data:Object(rn.parseCoverage)(t.history),height:100})),Ct.a.createElement("br",null),Ct.a.createElement(yn,{source:p.source,lineMap:u,extension:l.substr(l.lastIndexOf(".")+1,l.length)}))}return Ct.a.createElement(en,null)}}]),t}(Ct.a.Component);hn.propTypes={match:Lt.a.object};var mn=Ct.a.createElement(Tt.BrowserRouter,null,Ct.a.createElement(It,null,Ct.a.createElement(Nt.g,null,Ct.a.createElement(Nt.d,{path:"/coverage/:source/:owner/:name/:file",component:hn}),Ct.a.createElement(Nt.d,{path:"/coverage/:source/:owner/:name",component:fn}),Ct.a.createElement(Nt.d,{path:"/coverage/:source/:owner/:page?",component:cn}),Ct.a.createElement(Nt.d,{path:"/coverage/:page?",component:cn}),Ct.a.createElement(Nt.d,{exact:!0,path:"/feed",component:tn}),Ct.a.createElement(Nt.d,{exact:!0,path:"/",component:Jt}),Ct.a.createElement(Nt.d,{path:"*",component:Xt}))));Object(Pt.render)(mn,document.querySelector("#root"))},59:function(e){e.exports.parseCoverage=function(e,t){var n=[[],[],[]];return e.forEach((function(e){var r=e.git,o=e.source_files;if(!t||t===(r.branch||r.git_branch)){var a=0,c=0,i=0,u=0;o.forEach((function(e){var t=e.lines,n=void 0===t?{hit:0,found:0}:t,r=e.branches,o=void 0===r?{hit:0,found:0}:r,l=e.functions,f=void 0===l?{hit:0,found:0}:l;n&&o&&f&&(c+=parseInt(100*(n.hit/n.found||1)),i+=parseInt(100*(o.hit/o.found||1)),u+=parseInt(100*(f.hit/f.found||1)),a+=1)})),n[0].push(c/a),n[1].push(i/a),n[2].push(u/a)}})),1==n[0].length&&(n[0].push(n[0][0]),n[1].push(n[1][0]),n[2].push(n[2][0])),n}},60:function(e){e.exports=JSON.parse('{"b":"lcov-server","c":"1.3.2","a":"🎯 A simple lcov server & cli parser"}')}});