File: /disk001/machen/public_html/a1b2c3d4/static/js/3.5a9df3c9.chunk.js
/*! For license information please see 3.5a9df3c9.chunk.js.LICENSE.txt */
(this.webpackJsonpmachen=this.webpackJsonpmachen||[]).push([[3],{1936:function(t,e,r){"use strict";r.r(e);var n=r(19),a=r(8),o=r(2),c=r(10),i=r(5),l=r(0),s=r.n(l),u=r(6),f=r.n(u),p=r(120),h=r(14),d=r(13),m=r(15),b=r(3),y=r(155),g=r(20),v=r(659),O=r(33),j=r(58),w=r(11),x=r(25),_=r(70),E=r(74),k=r(193),L=r(176),I=r(96),T=r(1932),S=r(1921),C=r(1920),M=r(151),$=r(756),D=r(1922),A=r(1241),P=r(135),U=r(1),F=r(79),W=r(24);function R(){R=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:E(t,r,i)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",h="executing",d="completed",m={};function b(){}function y(){}function g(){}var v={};s(v,c,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(S([])));j&&j!==r&&n.call(j,c)&&(v=j);var w=g.prototype=b.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(a,o,c,i){var l=f(t[a],t,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,c,i)}),(function(t){r("throw",t,c,i)})):e.resolve(u).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,i)}))}i(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e((function(e,a){r(t,n,e,a)}))}return o=o?o.then(a,a):a()}})}function E(e,r,n){var a=p;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===d){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=k(i,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=f(e,r,n);if("normal"===s.type){if(a=n.done?d:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=d,n.method="throw",n.arg=s.arg)}}}function k(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function S(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=g,a(w,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},x(_.prototype),s(_.prototype,i,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new _(u(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},x(w),s(w,l,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=S,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(l&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;I(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:S(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}e.default=Object(h.b)((function(t){return{cards:t.db.cards,timeline:t.timeline}}),(function(t){return Object(d.b)(m,t)}))((function(t){var e=b.a.getState(),r=e.db,u=e.timeline,h=s.a.useState(f()(new Date).tz("America/Sao_Paulo").subtract(8e3,"d").format("YYYY-MM-DD")),d=Object(i.a)(h,2),m=d[0],Y=d[1],N=s.a.useState(f()(new Date).tz("America/Sao_Paulo").format("YYYY-MM-DD")),z=Object(i.a)(N,2),G=z[0],B=z[1],V=s.a.useState(!1),H=Object(i.a)(V,2),J=H[0],X=H[1],q=s.a.useState({}),K=Object(i.a)(q,2),Q=K[0],Z=K[1],tt=s.a.useState({}),et=Object(i.a)(tt,2),rt=et[0],nt=et[1],at=s.a.useState(!0),ot=Object(i.a)(at,2),ct=ot[0],it=ot[1],lt=Object(l.useState)({}),st=Object(i.a)(lt,2),ut=st[0],ft=st[1],pt=Object(l.useRef)(0),ht=Object(l.useRef)({}),dt=window.location.hash.split("/");dt[0]=dt[0].replace("#","");var mt=dt[0];s.a.useEffect((function(){return yt(),function(){}}),[]),s.a.useEffect((function(){bt()}),[t.planCards]);var bt=function(){var t=Object(c.a)(R().mark((function t(){var e;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(W.s)(mt);case 2:e=t.sent,nt(e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),yt=function(){var e=Object(c.a)(R().mark((function e(){return R().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(F.f)(Object(o.a)(Object(o.a)({},t),{},{fnIdentification:"StrategyAndPlans/Dashboard/Widgers/timeSheet/init()"}),{ids:[mt],db:"cards",type:"timer",reqChildrens:!0});case 3:e.sent&&it(!1),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),it(!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();Object(l.useEffect)((function(){var t={},e={},r=0;Object.keys(rt).filter((function(t){return u[t]&&Object.keys(u[t]).filter((function(e){return"timer"===u[t][e].type})).length>0})).forEach((function(n){Object.keys(u[n]).filter((function(t){return"timer"===u[n][t].type&&!u[n][t].deleted})).forEach((function(t){u[n][t]._toUser&&Object.keys(u[n][t]._toUser).length>0?Object.keys(u[n][t]._toUser).forEach((function(r){e=Object(o.a)(Object(o.a)({},e),{},Object(a.a)({},r,Object(o.a)({},u[n][t]._toUser[r]?u[n][t]._toUser[r]:{})))})):e=Object(o.a)(Object(o.a)({},e),{},Object(a.a)({},u[n][t].user._id,Object(o.a)({},u[n][t].user)))})),Object.keys(u[n]).filter((function(t){return u[n]&&u[n][t]&&"timer"===u[n][t].type&&!u[n][t].deleted&&(0===Object.keys(Q).length||Object.keys(Q).length>0&&Object.keys(Q).filter((function(e){return u[n]&&u[n][t]&&u[n][t].type&&"timer"===u[n][t].type&&Q[e]&&u[n][t].user&&(u[n]&&u[n][t]&&u[n][t].user&&(!u[n][t]._toUser||u[n][t]._toUser&&!u[n][t]._toUser[e])&&u[n][t].user._id===e||u[n]&&u[n][t]&&u[n][t]._toUser&&u[n][t]._toUser[e]&&u[n][t]._toUser[e]!==u[n][t].user._id)})).length>0)})).forEach((function(c){Object.keys(e).forEach((function(i){if(i&&u[n]&&u[n][c]&&"timer"===u[n][c].type&&!u[n][c].deleted&&(parseInt(u[n][c].ini)>=f()("".concat(m," 00:00:01")).unix("X")||0===parseInt(u[n][c].ini))&&parseInt(u[n][c].fin)<=f()("".concat(G," 23:59:59")).unix("X")&&(u[n][c].user&&u[n][c].user._id===i&&u[n][c]._toUser&&0===Object.keys(u[n][c]._toUser).length||u[n][c]._toUser&&Object.keys(u[n][c]._toUser).length>0&&u[n][c]._toUser[i])){r+=parseInt(u[n][c].fin)-parseInt(u[n][c].ini);var l=parseInt(u[n][c].fin)-parseInt(u[n][c].ini),s=l=t&&t[i]&&t[i].totalTimer?parseInt(t[i].totalTimer)+(parseInt(u[n][c].fin)-parseInt(u[n][c].ini)):parseInt(u[n][c].fin)-parseInt(u[n][c].ini),p="",h="";if(l<60)p="".concat(s," ").concat(Object(U.w)("$__seconds",1)),p="".concat(s,"s");else if(l>3600){var d=Math.trunc(s/3600);s-=3600*d;var b=Math.trunc(s/60)>0?Math.trunc(s/60):0,y=(s-=60*b)>0?s:0;p="".concat(d," ").concat(Object(U.w)("$__hour",1)).concat(d>1?"s":""," ").concat(b," ").concat(Object(U.w)("$__minutes",1)," ").concat(y>0?"".concat(y," ").concat(Object(U.w)("$__seconds",1)):""),h="".concat(d,"H ").concat(b,"M ").concat(y," S")}else{var g=Math.trunc(s/60)>0?Math.trunc(s/60):0,v=(s-=60*g)>0?s:0;p="".concat(g," ").concat(Object(U.w)("$__minutes",1)," ").concat(v>0?"".concat(v," ").concat(Object(U.w)("$__seconds",1)):""),h="".concat(g,"M ").concat(v," S")}t=Object(o.a)(Object(o.a)({},t),{},Object(a.a)({},i,Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},t[i]?t[i]:{}),e[i]?e[i]:{}),t&&t[i]&&t[i].totalTimer?{totalTimer:parseInt(t[i].totalTimer)+(parseInt(u[n][c].fin)-parseInt(u[n][c].ini))}:{totalTimer:parseInt(u[n][c].fin)-parseInt(u[n][c].ini)}),{},{timerText:p,timerTextMini:h,_times:Object(o.a)(Object(o.a)({},t[i]&&t[i]._times?t[i]._times:{}),{},Object(a.a)({},c,Object(o.a)(Object(o.a)({},u[n][c]),{},{cardId:n})))})))}pt.current=r,1}))}))})),ht.current=e,ft(t)}),[rt,ct,Q]);var gt=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="",n="";if(t<60)r="".concat(t," ").concat(Object(U.w)("$__seconds",1)),r="".concat(t,"s");else if(t>3600){var a=Math.trunc(t/3600);t-=3600*a;var o=Math.trunc(t/60)>0?Math.trunc(t/60):0,c=(t-=60*o)>0?t:0;r="".concat(a," ").concat(Object(U.w)("$__hour",1)).concat(a>1?"s":""," ").concat(o," ").concat(Object(U.w)("$__minutes",1)," ").concat(c>0?"".concat(c," ").concat(Object(U.w)("$__seconds",1)):""),n="".concat(a,"H ").concat(o,"M ").concat(c," S")}else{var i=Math.trunc(t/60)>0?Math.trunc(t/60):0,l=(t-=60*i)>0?t:0;r="".concat(i," ").concat(Object(U.w)("$__minutes",1)," ").concat(l>0?"".concat(l," ").concat(Object(U.w)("$__seconds",1)):""),n="".concat(i,"M ").concat(l," S")}return e?n:r},vt=function(t){return s.a.createElement("div",{style:{width:"100%",marginBottom:"10px",display:"flex",alignItems:"center"}},t.data&&t.data.name&&s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{style:{width:"33px"}},s.a.createElement(P.a,{title:t.data.name},s.a.createElement(M.a,{alt:t.data.name,src:t.data.image||null,style:{width:"33px",height:"33px"}},t.data.name.substr(0,1)))),s.a.createElement("div",{style:{marginLeft:"10px",fontWeight:"bold",color:Object(U.d)("menu"),width:"33%",minWidth:"150px"}},t.data.name)),s.a.createElement("div",{style:{marginLeft:"10px",fontWeight:"bold",color:Object(U.d)("menu")}},t.data.timerText))};return s.a.createElement("div",{style:{height:"100%",width:"100%"}},s.a.createElement(I.a,null,(function(e){return s.a.createElement(_.a,{style:{width:"100%",height:"100%",marginTop:"0px",overflow:"scroll"}},t.edit&&e?s.a.createElement("div",{style:{width:"100%",height:"52px",display:"flex",borderBottom:"1px solid #D3D3D3",backgroundColor:t.styles.backgroundColor?t.styles.backgroundColor:"white"}},s.a.createElement(w.a,{size:24,style:{alignSelf:"center",marginLeft:"20px",color:t.styles.color?t.styles.color:"grey",marginTop:"3px"}},"update"),s.a.createElement("p",{style:{margin:"0px",marginLeft:"7px",alignSelf:"center",fontWeight:"bold",marginTop:"2px",color:t.styles.color?t.styles.color:"grey",fontSize:"16px"}},Object(U.w)("$__timeSheet",1)),s.a.createElement("div",{onMouseEnter:function(t){t.target.style.backgroundColor="rgba(0, 0, 0, 0.12)"},onMouseLeave:function(t){t.target.style.backgroundColor="rgba(0, 0, 0, 0)"}},s.a.createElement(w.a,{onClick:function(){return t.handleRemoveObject(t.id)},style:{height:"25px",color:t.styles.color?t.styles.color:"rgba(0, 0, 0, 0.67)",cursor:"pointer",position:"absolute",right:"20px",top:"8px",border:"1px solid #D3D3D3",padding:"14px"}},"close")),s.a.createElement("div",{onMouseEnter:function(t){t.target.style.backgroundColor="rgba(0, 0, 0, 0.12)"},onMouseLeave:function(t){t.target.style.backgroundColor="rgba(0, 0, 0, 0)"}},s.a.createElement(w.a,{className:"drag-handle",style:{height:"25px",cursor:"move",color:t.styles.color?t.styles.color:"rgba(0, 0, 0, 0.67)",position:"absolute",right:"62px",top:"8px",border:"1px solid #D3D3D3",padding:"14px"}},"open_with"))):s.a.createElement(j.a,{title:Object(U.w)("$__timeSheet",1),icon:"update",color:t.styles.color?t.styles.color:"grey",style:{background:t.styles.backgroundColor?t.styles.backgroundColor:"white",padding:"12.4px",borderRadius:"5px 5px 0px 0px ",fontWeight:"normal",borderBottom:"1px solid #D3D3D3"},customButtons:[!J&&{title:"$__timeSheetExport",icon:"file_download",color:Object(U.d)("colorText"),onClick:function(){X(!J)}}]}),ct?s.a.createElement("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(250,250,250,0.7)",display:"flex",justifyContent:"center",alignItems:"center",zIndex:10}},s.a.createElement(L.a,null)):s.a.createElement(s.a.Fragment,null),J&&e&&s.a.createElement("div",{style:{padding:"15px",border:"1px solid black"}},s.a.createElement("fieldset",{style:{position:"relative",width:"100%",marginLeft:"7px",display:"flex",justifyContent:"space-between",marginBottom:"14px",marginTop:"7px"}},s.a.createElement("legend",null,Object(U.w)("$__timeCourse",1)),s.a.createElement(x.a,{label:Object(U.w)("$__initialDate",1),variant:Object(U.d)("fieldVariant",1),name:"startDate",style:{marginRight:"15px"},InputLabelProps:{shrink:!0},type:"date",inputProps:{max:G||null},InputProps:{autoComplete:"new-password",onChange:function(t){Y(t.target.value)}},value:m}),s.a.createElement(x.a,{label:Object(U.w)("$__endDate",1),variant:Object(U.d)("fieldVariant"),name:"endDate",type:"date",min:m||null,InputLabelProps:{shrink:!0},inputProps:{min:m||null},InputProps:{autoComplete:"new-password",onChange:function(t){B(t.target.value)}},value:G})),r.users&&Object.keys(r.users).length>0&&e&&s.a.createElement(T.a,{style:{width:"100%"}},s.a.createElement(C.a,{style:{minWidth:"100%"},expandIcon:s.a.createElement(w.a,null,"expand_more"),"aria-controls":"panel1a-content",id:"panel1a-header"},s.a.createElement("div",{style:{color:Object(U.d)("color"),fontSize:"12px"}},Object(U.w)("$__users"),s.a.createElement($.a,{max:6},Object.keys(Q).length>0&&Object.keys(Q).map((function(t,e){return s.a.createElement(P.a,{title:r.users[t].name,key:e},s.a.createElement(M.a,{alt:r.users[t].name,src:r.users[t].image||null},r.users[t].name.substr(0,1)))}))))),s.a.createElement(S.a,{style:{minWidth:"100%"}},s.a.createElement(A.a,null,Object.keys(ht.current).map((function(t){return r.users&&r.users[t]&&r.users[t]._id&&s.a.createElement(s.a.Fragment,{key:t},s.a.createElement(D.a,{key:t,style:{minWidth:"100%"},control:s.a.createElement(s.a.Fragment,null,s.a.createElement(M.a,{alt:r.users[t].name.substr(0,1),src:r.users[t].image||null},r.users[t].name.substr(0,1)),s.a.createElement(y.a,{checked:!(!Q||!Q[t]),onChange:function(){!function(t){Q[t]&&Object.keys(Q).filter((function(t){return Q[t]})).length<=1?Z({}):Z(Object(o.a)(Object(o.a)({},Q),{},Object(a.a)({},t,!Q[t])))}(t)},color:"default"})),label:r.users[t].name||r.users[t].name}))}))))),s.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginTop:"7px"}},s.a.createElement(v.a,{data:ut}),s.a.createElement(g.a,{title:Object(U.w)("$__closeFilter"),text:Object(U.w)("$__closeFilter"),color:"lightgrey",textColor:"lightgrey",icon:"cancel",onClick:function(){X(!J)},size:"25px"}))),s.a.createElement(k.a,{style:{height:"333px",position:"relative",backgroundColor:"#f5f5f5"}},e&&s.a.createElement(p.a,{data:Object(n.a)(Object.keys(ut).sort((function(t,e){return parseInt(ut[t].totalTimer)>parseInt(ut[e].totalTimer)?-1:parseInt(ut[t].totalTimer)<parseInt(ut[e].totalTimer)?1:0})).map((function(t,e){return{id:ut[t].name,label:ut[t].name,value:ut[t].totalTimer,color:"#929497",textMini:ut[t].timerText}}))),valueFormat:function(t){return gt(t,!0),gt(t)},enableArcLabels:!1,colors:{scheme:"purpleRed_green"},activeOuterRadiusOffset:8,arcLabelsTextColor:{from:"color",modifiers:[["brighter",3]]},borderWidth:1,cornerRadius:3,enableArcLinkLabels:!1,innerRadius:.5,leavesOnly:!0,theme:{background:"transparent"},margin:{top:10,right:0,bottom:10,left:0},padAngle:1.3,sortByValue:!0}),s.a.createElement("div",{style:{width:"100px",wordWrap:"break-word",position:"absolute",top:"50%",left:"calc(50% - 50px)",fontWeight:"bold",color:Object(U.d)("menu"),textAlign:"center"}},gt(pt.current,!0))),e&&s.a.createElement(E.a,null,s.a.createElement(O.a,null,Object.keys(ut).sort((function(t,e){return parseInt(ut[t].totalTimer)>parseInt(ut[e].totalTimer)?-1:parseInt(ut[t].totalTimer)<parseInt(ut[e].totalTimer)?1:0})).map((function(t,e){return s.a.createElement(vt,{data:ut[t],key:t})})),s.a.createElement(vt,{data:{name:Object(U.w)("$__total"),timerText:gt(pt.current)}}))),s.a.createElement("div",{style:{color:"#CCCCCC",fontSize:"12px",padding:"15px",textAlign:"center"}},r.cards[mt]&&"plan"===r.cards[mt].type?Object(U.w)("$__timeSheetShowingAllTimesRegisteredInAllActivitiesOfPlan"):Object(U.w)("$__timeSheetShowingAllTimesRegisteredInActivityAndLinkedActivities")))})))}))}}]);
//# sourceMappingURL=3.5a9df3c9.chunk.js.map