diff --git a/build/asset-manifest.json b/build/asset-manifest.json deleted file mode 100644 index f7d21c0..0000000 --- a/build/asset-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "files": { - "main.css": "./static/css/main.83b4380c.css", - "main.js": "./static/js/main.2f9b2b48.js", - "static/media/car.png": "./static/media/car.b8dd8738e37fe866285f.png", - "index.html": "./index.html", - "static/media/warning.svg": "./static/media/warning.e39a87773603f3ab157f.svg", - "static/media/info.svg": "./static/media/info.954631f6b19e3fe9c495.svg", - "static/media/alert.svg": "./static/media/alert.41e2b99c481139c13074.svg", - "main.83b4380c.css.map": "./static/css/main.83b4380c.css.map", - "main.2f9b2b48.js.map": "./static/js/main.2f9b2b48.js.map" - }, - "entrypoints": [ - "static/css/main.83b4380c.css", - "static/js/main.2f9b2b48.js" - ] -} \ No newline at end of file diff --git a/build/index.html b/build/index.html index e084c05..8ca7d52 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -
>>0,i=0,l=0;0==(1&a);)if(a=P(e,n),n+=3,a>>>1!=0)for(a>>1==1?(i=9,l=5):(n=ee(e,n),i=J,l=Q);;){!t&&r
").replace(qm,(function(e){return""+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function Zm(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Xm(e){for(var t="",n=0,a=0,s=0,o=0,r=0,i=0;n22)throw new Error("Bad Code Name: Worksheet"+r)}}));for(var o=0;o"+r+"
"),a.push(function(e,t,n,a){if(!e)return"";var s=[];if(e["!margins"]&&(s.push(""+o.join("")+" "}var Lg='"}function Wg(e,t){var n=t||{},a=null!=n.header?n.header:Lg,s=null!=n.footer?n.footer:Fg,o=[a],r=xu(e["!ref"]);n.dense=Array.isArray(e),o.push(Mg(0,0,n));for(var i=r.s.r;i<=r.e.r;++i)o.push(Rg(e,r,i,n));return o.push("
"+s),o.join("")}function Bg(e,t,n){var a=n||{};var s=0,o=0;if(null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var r="string"==typeof a.origin?ku(a.origin):a.origin;s=r.r,o=r.c}var i=t.getElementsByTagName("tr"),l=Math.min(a.sheetRows||1e7,i.length),c={s:{r:0,c:0},e:{r:s,c:o}};if(e["!ref"]){var m=xu(e["!ref"]);c.s.r=Math.min(c.s.r,m.s.r),c.s.c=Math.min(c.s.c,m.s.c),c.e.r=Math.max(c.e.r,m.e.r),c.e.c=Math.max(c.e.c,m.e.c),-1==s&&(c.e.r=s=m.e.r+1)}var d=[],u=0,p=e["!rows"]||(e["!rows"]=[]),h=0,f=0,g=0,y=0,v=0,b=0;for(e["!cols"]||(e["!cols"]=[]);ho?.3:1}},a)}));return(0,Gs.jsx)("div",{className:Iw,children:c})}Uw.defaultProps={rows:[]};const Hw=Uw,Gw="line_year_chart_month_info__Cv+xl";function Vw(e){let{max:t,month:n,showEvents:a,hideMoney:s}=e,o="";n.tasks&&(o="\u2611 ".concat(n.tasks||0)),!s&&n.money&&(o="\u2611 ".concat(n.tasks||0," \u2014 ").concat(Rn(n.money||0,0)));const r=s?"tasks":"tasks and money";return(0,Gs.jsxs)("div",{className:Ow,children:[(0,Gs.jsx)(Mw,{month:n}),(0,Gs.jsx)(Hw,{month:n,maxCommits:t.commits,showEvents:a}),(0,Gs.jsx)("div",{title:r,className:Gw,children:o})]})}Vw.defaultProps={hideMoney:!1};const Kw=Vw;function $w(e){let{maxCommits:n=100,showEvents:a=!0,wordDays:s=[],authors:o=[]}=e;const r=(0,t.useRef)(null),[i,l]=(0,t.useState)(16);if((0,t.useEffect)((()=>{var e;if(!r.current)return;const t=(null===(e=r.current)||void 0===e?void 0:e.getBoundingClientRect())||{},n=Math.floor(t.width/135),a=function(e,t){for(let n=16;n<=24;n+=.3)if((7+8*n)*t>e)return n-.3;return 24}(t.width,n);l(a)}),[]),!s||!s.length)return null;const c=function(e){const t={},n={};return e.forEach((e=>{if(e.isStaff)return;const a="".concat(e.firstCommit.month,"-").concat(e.firstCommit.year);t[a]||(t[a]={}),t[a][e.firstCommit.dayInMonth]=e;const s="".concat(e.lastCommit.month,"-").concat(e.lastCommit.year);n[s]||(n[s]={}),n[s][e.lastCommit.dayInMonth]=e})),{firstDay:t,lastDay:n}}(o),m=Dw(s,c),d=1===(null===o||void 0===o?void 0:o.length),u={tasks:new wa,money:new wa};m.forEach((e=>{u.tasks.update(e.tasks),u.money.update(e.money)}));const p=m.map((e=>(0,Gs.jsx)(Kw,{max:{tasks:u.tasks.max,money:u.money.max,commits:n},month:e,showEvents:a,hideMoney:d},e.id))),h={"--day-size":"".concat(i.toFixed(1),"px")};return(0,Gs.jsx)("div",{ref:r,style:h,className:jw,children:p})}$w.defaultProps={showEvents:!0};const qw=$w,Yw=dn((e=>{var t;let{mode:n}=e;const a=Bs.dataGrip.author.statistic,s=Bs.dataGrip.timestamp.statistic,o=s.commitsByTimestampCounter.max,r=null===(t=Bs.dataGrip.recommendations.team)||void 0===t?void 0:t.byTimestamp;return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(yv,{mode:n,recommendations:r}),(0,Gs.jsx)(fl,{title:"page.team.month.title"}),(0,Gs.jsx)(Ai,{template:"table",children:(0,Gs.jsx)(qw,{maxCommits:o,authors:a,wordDays:s.allCommitsByTimestamp})})]})})),Zw=Yw;function Xw(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=nv({max:vv(t,"commits"),suffix:"page.team.type.tasksSmall"});return(0,Gs.jsxs)(Hy,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,Gs.jsx)(Vy,{isFixed:!0,isSortable:!0,template:e=>{var t,n;return(0,Gs.jsx)(Ev,{link:"".concat((null===Sn||void 0===Sn||null===(t=Sn.settings)||void 0===t||null===(n=t.linksPrefix)||void 0===n?void 0:n.task)||"/").concat(e),text:e})},title:"page.team.tasks.task",properties:"task",width:120}),(0,Gs.jsx)(Vy,{properties:"types",template:e=>(0,Gs.jsx)(Mi,{value:e}),width:100}),(0,Gs.jsx)(Vy,{properties:"scope",template:e=>(0,Gs.jsx)(Mi,{value:e}),width:100}),(0,Gs.jsx)(Vy,{isSortable:!0,template:(e,t)=>{var n,a;return(0,Gs.jsx)(Ev,{link:"".concat((null===Sn||void 0===Sn||null===(n=Sn.settings)||void 0===n||null===(a=n.linksPrefix)||void 0===a?void 0:a.pr)||"/").concat(null===t||void 0===t?void 0:t.prId),text:"PR"})},properties:"task",width:40}),(0,Gs.jsx)(Vy,{template:Nl.STRING,properties:"comments"}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.tasks.author",properties:"author",width:170}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.tasks.from",properties:"from",width:150,formatter:Nn}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.tasks.to",properties:"to",width:150,formatter:Nn}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.tasks.pr",properties:"to",width:150,formatter:Nn}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.tasks.prAuthor",properties:"prAuthor",width:170}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"commits"}),(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.tasks.commits",properties:"commits",minWidth:170,template:e=>(0,Gs.jsx)(ev,{options:o,value:e})})]})}Xw.defaultProps={response:void 0};const Jw=dn((e=>{let{mode:t}=e;const n=Bs.dataGrip.tasks.statistic;return null!==n&&void 0!==n&&n.length?(0,Gs.jsxs)(sl,{to:"response",loader:(e,a)=>ul({content:n,pagination:e,sort:a,mode:t}),watch:"".concat(t).concat(Bs.dataGrip.hash),children:[(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)(Xw,{mode:t,rowsForExcel:n}),(0,Gs.jsx)(dl,{})]}):"print"!==t?(0,Gs.jsx)(qi,{}):null})),Qw=1,ek=2,tk=3,nk={commitsAfter1500:ek,commitsBefore1500:ek,workEveryTime:tk,workNotWork:tk,userNotWork:ek,userIsDied:ek,lessTasks:tk,moreTasks:Qw,everyMessageLong:ek,everyMessageShort:tk,shortestName:ek,longestName:ek,moreCommits:ek,lessCommits:tk,oneCommitOneTask:ek,moreLazyDays:tk,lessLazyDays:Qw,zeroLazyDays:Qw,moreWorkDays:Qw,moreScopes:Qw,lessScopes:tk,moreDaysForTask:tk,more2DaysForTask:tk,moreDaysInProject:Qw,lessDaysInProject:ek,more90DaysInProject:Qw,lessDaysForTask:Qw,adam:ek,more666DaysInProject:Qw,more777DaysInProject:Qw,moreRefactoring:Qw,longestMessage:ek,moreTasksInDay:Qw,hasCommitFrom0to7:tk,noCommitOnDay:ek,hasCommitEveryTime:tk,commitsAfter1800:Qw,more1488DaysInProject:Qw,lessWorkDays:tk,moreCreateCode:ek,moreRemoveCode:ek,moreChangeCode:ek,moreStyle:Qw,moreOnHoliday:tk},ak={achievement_container:"styles_achievement_container__+OdlC",achievement:"styles_achievement__KB0AO",achievement_icon_container:"styles_achievement_icon_container__0xQ3d",achievement_icon:"styles_achievement_icon__YbtA0",achievement_icon_svg:"styles_achievement_icon_svg__1pahq",achievement_title:"styles_achievement_title__AUtfn",achievement_description:"styles_achievement_description__FkUIC",achievement_good:"styles_achievement_good__12XCY",achievement_bad:"styles_achievement_bad__BmbF0"};const sk=function(e){let{code:t}=e;const{t:n}=Bt();if(!nk[t])return null;const a=n("achievements.".concat(t,".title")),s=n("achievements.".concat(t,".description")),o=[ak.achievement_good,ak.achievement_middle,ak.achievement_bad][nk[t]-1];return(0,Gs.jsxs)("div",{className:ak.achievement,children:[(0,Gs.jsx)("div",{className:ak.achievement_icon_container,children:(0,Gs.jsx)("div",{className:"".concat(ak.achievement_icon," ").concat(o||""),children:(0,Gs.jsx)("img",{className:ak.achievement_icon_svg,src:"./assets/achievements/".concat(t,".svg")})})}),(0,Gs.jsx)("div",{className:ak.achievement_title,children:a}),(0,Gs.jsx)("div",{className:ak.achievement_description,children:s})]})},ok="styles_extension__7+ANo",rk="styles_extension_icon__xeEFA",ik="styles_extension_line__bhPZA",lk="styles_extension_line_title__Bd2sv",ck="styles_extension_line_value__Fov1I";const mk=function(e){let{title:t}=e;return(0,Gs.jsx)("div",{className:rk,children:t||""})};const dk=function(e){let{title:t,value:n}=e;return n&&t?(0,Gs.jsxs)("div",{className:ik,children:[(0,Gs.jsx)("div",{className:lk,children:t||""}),(0,Gs.jsx)("div",{className:ck,children:n||""})]}):null};function uk(e){let{statistic:t}=e;if(!t)return null;const n=e=>"".concat(e.author," (").concat(e.percent.toFixed(1),"%)");return(0,Gs.jsxs)("div",{className:ok,children:[(0,Gs.jsx)(mk,{title:t.extension}),(0,Gs.jsx)("h6",{children:"\u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e"}),(0,Gs.jsx)(dk,{title:"\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442:",value:n(t.more.added)}),(0,Gs.jsx)(dk,{title:"\u041c\u0435\u043d\u044f\u0435\u0442:",value:n(t.more.changes)}),(0,Gs.jsx)(dk,{title:"\u0423\u0434\u0430\u043b\u044f\u0435\u0442:",value:n(t.more.removed)})]})}uk.defaultProps={rows:[]};const pk=uk,hk="Races_races__iGwb4",fk="Races_races_track__BTbit",gk="Races_races_track_car__Dbi2B",yk="Races_races_track_car_title__w5QQU",vk="Races_races_track_info__pxgvV",bk="Races_races_track_animation__sYl4E",wk="Races_races_button__DUDTm";const kk=function(e){let{title:t,duration:n}=e;return(0,Gs.jsx)("div",{className:vk,style:{animationDelay:"".concat(n+1,"s")},children:t})},_k=5,xk=10,Tk=["ease","ease-in","ease-out","ease-in-out","linear","cubic-bezier(0.1, 0.7, 1, 0.1)"];function Sk(e){let{title:n,speed:a,type:s,canStart:o}=e;const r=(i=Tk.length-1,Math.floor(Math.random()*(i-0+1))+0);var i;const[l]=(0,t.useState)(Tk[r]);if((0,t.useEffect)((()=>{Ek(Tk)}),[]),!n)return null;const c=_k+xk*(1-a)*3,m=o?bk:"";return(0,Gs.jsxs)("div",{className:"".concat(fk," ").concat(s||""),children:[o&&(0,Gs.jsx)(kk,{title:n,duration:c}),(0,Gs.jsx)("div",{className:"".concat(gk," ").concat(s||""," ").concat(m||""),style:{animationTimingFunction:l,animationDuration:"".concat(c,"s")},children:(0,Gs.jsx)("div",{className:"".concat(yk," ").concat(s||""),children:n})})]})}Sk.defaultProps={type:"",canStart:!1};const Ck=Sk;function Ek(e){for(let t,n,a=e.length;a;t=parseInt(Math.random()*a),n=e[--a],e[a]=e[t],e[t]=n);return e}const Ak=function(e){let{tracks:n}=e;const{t:a}=Bt(),[s,o]=(0,t.useState)(!1);if(!n.length)return null;const r=Ek(n).map((e=>(0,Gs.jsx)(Ck,{title:e.title,speed:e.speed,canStart:s},e.title)));return(0,Gs.jsxs)("div",{className:hk,children:[!s&&(0,Gs.jsx)(no,{className:wk,onClick:()=>{o(!0)},children:a("uiKit.races.go")}),r]})},Dk={tv100and1_row:"styles_tv100and1_row__R2iIo",tv100and1_cell_title:"styles_tv100and1_cell_title__qttNL",tv100and1_cell_value:"styles_tv100and1_cell_value__0-7pU",tv100and1_cell_chart:"styles_tv100and1_cell_chart__IYzSh",tv100and1_button:"styles_tv100and1_button__9oEjD",animation:"styles_animation__99myn",tv_100_and_1:"styles_tv_100_and_1__pyFQJ"};const jk=function(e){let{title:n}=e;const[a,s]=(0,t.useState)(!1);return(0,Gs.jsxs)("div",{className:"".concat(Dk.tv100and1_cell_title),children:[n,(0,Gs.jsx)("button",{className:"".concat(Dk.tv100and1_button," ").concat(a?Dk.animation:""),onClick:()=>{s(!0)}})]})};function Ok(e){let{rows:t=[]}=e;if(!t||!t.length)return null;const n=nv({max:t[0].value,suffix:"\u0441\u0438\u0432\u043e\u043b\u043e\u0432"}),a=t.map((e=>(0,Gs.jsxs)("div",{className:"".concat(Dk.tv100and1_row),children:[(0,Gs.jsx)(jk,{title:e.title}),(0,Gs.jsx)("div",{className:"".concat(Dk.tv100and1_cell_value),children:e.value}),(0,Gs.jsx)("div",{className:"".concat(Dk.tv100and1_cell_chart),children:(0,Gs.jsx)(ev,{options:n,value:e.value})})]},e.title)));return(0,Gs.jsx)("div",{className:"".concat(Dk.tv100and1),children:a})}Ok.defaultProps={rows:[]};const Nk=Ok;function Pk(e){const t=hs.author.statisticByName[e];if(!t)return;const n=ws.get(e),a=t.commitsByHour;return t.commits>20&&(t.hours.filter((e=>e>=15)).length>.7*t.commits&&n.push("commitsAfter1500"),t.hours.filter((e=>e<=13)).length>.7*t.commits&&n.push("commitsBefore1500")),t.isStaff?n.push("userNotWork"):(a.slice(0,7).every((e=>e))&&n.push("hasCommitFrom0to7"),a.slice(10,18).some((e=>!e))&&n.push("noCommitOnDay"),a.slice(0,5).every((e=>!e))&&a.slice(18,24).every((e=>!e))&&n.push("commitsAfter1800"),a.every((e=>e))&&n.push("workEveryTime"),t.commitsByDayAndHour.every((e=>e.every((e=>e))))&&n.push("hasCommitEveryTime"),t.isDismissed&&n.push("userIsDied"),t.daysForTask<1&&n.push("lessDaysForTask"),t.daysForTask>2&&n.push("more2DaysForTask"),t.allDaysInProject>90&&n.push("more90DaysInProject"),t.allDaysInProject>666&&n.push("more666DaysInProject"),t.allDaysInProject>777&&n.push("more777DaysInProject"),t.allDaysInProject>1488&&n.push("more1488DaysInProject")),0===t.lazyDays&&n.push("zeroLazyDays"),t.commits>0&&0===t.tasks&&n.push("workNotWork"),t.tasks/t.commits&&n.push("oneCommitOneTask"),n.reduce(((e,t)=>(e[nk[t]-1].push(t),e)),[[],[],[]])}const Ik="quiz_quiz_achievements__+MW4G",Rk=dn((()=>{const e=Bs.dataGrip.extension.statistic.slice(0,4).map((e=>(0,Gs.jsx)(pk,{statistic:e},e.extension))),t=Bs.dataGrip.author.statistic.filter((e=>!e.isStaff)),n=t.map((e=>e.taskInDay)),a=Math.max(...n),s=t.map((e=>({title:e.author,speed:e.taskInDay/a}))),o=[...t].sort(((e,t)=>t.maxMessageLength-e.maxMessageLength)).map((e=>({title:e.author,value:e.maxMessageLength}))),r=nv({max:o[0].value,suffix:"\u0441\u0438\u0432\u043e\u043b\u043e\u0432"}),i=Bs.dataGrip.author.statistic.map((e=>{const t=Pk(e.author);console.dir(t);const n=Nn(e.firstCommit.date),a=Nn(e.lastCommit.date),s=[].map((e=>(0,Gs.jsx)(sk,{code:e},e)));return(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(fl,{title:e.author}),(0,Gs.jsx)(Ao,{text:"\u0412\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432: ".concat(e.commits)}),(0,Gs.jsx)(Ao,{text:"\u0420\u0430\u0431\u043e\u0442\u0430\u043b \u0441 ".concat(n," \u043f\u043e ").concat(a," (").concat(e.allDaysInProject," \u0434\u043d\u0435\u0439)")}),(0,Gs.jsx)(Ai,{children:(0,Gs.jsx)("div",{className:Ik,children:s})})]},e.author)}));return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u0437\u0430\u0434\u0430\u0447"}),(0,Gs.jsx)(Ak,{tracks:s}),(0,Gs.jsx)(fl,{title:"\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u043d\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0430"}),(0,Gs.jsx)(Ai,{template:"table",children:(0,Gs.jsxs)(Hy,{rows:o,children:[(0,Gs.jsx)(Vy,{isFixed:!0,template:Nl.STRING,title:"\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a",properties:"title",width:260}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"value",width:40}),(0,Gs.jsx)(Vy,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",properties:"value",template:e=>(0,Gs.jsx)(ev,{options:r,value:e})})]})}),(0,Gs.jsx)(Nk,{rows:o}),i,(0,Gs.jsx)(Ai,{children:(0,Gs.jsx)("div",{style:{whiteSpace:"normal"},children:e})})]})})),Lk=Rk;const Fk=function(){return(0,Gs.jsx)("div",{style:{pageBreakAfter:"always",breakAfter:"always"},children:" "})};const Mk=function(){const e=Bs.dataGrip.pr.statistic,t=Xa.getPRByGroups(e,"workDays"),n=nv({order:t.order,limit:3,suffix:"page.team.pr.tasks"}),a=Xa.getPRByGroups(e,"delayDays"),s=nv({order:a.order,limit:3,suffix:"PR"}),o=Math.round(t.weightedAverage),r=Math.round(a.weightedAverage),i=o+r,l=nv({order:["page.team.pr.word","page.team.pr.delay"],suffix:"page.team.pr.days"}),c=[{workDays:t.details,delayDays:a.details,weightedAverage:i.toFixed(1),weightedAverageDetails:{workDays:o,delayDays:r}}];return(0,Gs.jsxs)(Rl,{rows:c,children:[(0,Gs.jsx)(Vy,{title:"page.team.pr.workDays",properties:"workDays",template:e=>(0,Gs.jsx)(ev,{options:n,details:e})}),(0,Gs.jsx)(Vy,{title:"page.team.pr.delayDays",properties:"delayDays",template:e=>(0,Gs.jsx)(ev,{options:s,details:e})}),(0,Gs.jsx)(Vy,{properties:"weightedAverage",template:Nl.SHORT_NUMBER}),(0,Gs.jsx)(Vy,{title:"page.team.pr.middleTimeRelease",properties:"weightedAverageDetails",width:300,template:e=>(0,Gs.jsx)(ev,{options:l,details:{"page.team.pr.work":e.workDays,"page.team.pr.delay":e.delayDays}})})]})},Wk=Object.values({DAY:"\u0434\u0435\u043d\u044c",THREE_DAY:"\u0442\u0440\u0438 \u0434\u043d\u044f",WEEK:"\u043d\u0435\u0434\u0435\u043b\u044f",TWO_WEEK:"\u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438",MONTH:"\u043c\u0435\u0441\u044f\u0446",MORE:"\u0431\u043e\u043b\u0435\u0435"});function Bk(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=nv({order:Wk,limit:3}),r=nv({max:vv(t,"weightedAverage"),order:["page.team.pr.work","page.team.pr.delay"],suffix:"page.team.pr.days"});return(0,Gs.jsxs)(Hy,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,Gs.jsx)(Vy,{isSortable:!0,template:Nl.STRING,title:"page.team.pr.author",properties:"author",width:250}),(0,Gs.jsx)(Vy,{title:"page.team.pr.workDays",properties:"workDays",template:e=>(0,Gs.jsx)(ev,{options:o,details:e})}),(0,Gs.jsx)(Vy,{title:"page.team.pr.delayDays",properties:"delayDays",template:e=>(0,Gs.jsx)(ev,{options:o,details:e})}),(0,Gs.jsx)(Vy,{properties:"weightedAverage",template:Nl.SHORT_NUMBER}),(0,Gs.jsx)(Vy,{title:"page.team.pr.middleTimeRelease",properties:"weightedAverageDetails",width:300,template:(e,t)=>(0,Gs.jsx)(ev,{options:r,value:t.weightedAverage,details:{"page.team.pr.work":e.workDays,"page.team.pr.delay":e.delayDays}})})]})}Bk.defaultProps={response:void 0};const zk=Bk;function Uk(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=nv({max:vv(t,"workDays")}),r=nv({max:vv(t,"delayDays")}),i=nv({max:vv(t,"commits"),order:Bs.dataGrip.author.list});return(0,Gs.jsxs)(Hy,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?2:void 0,children:["print"===s?(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.pr.task",properties:"task",width:120}):(0,Gs.jsx)(Vy,{isSortable:!0,template:(e,t)=>{var n,a,s,o;return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(Ev,{link:"".concat((null===Sn||void 0===Sn||null===(n=Sn.settings)||void 0===n||null===(a=n.linksPrefix)||void 0===a?void 0:a.task)||"/").concat(e),text:e}),(0,Gs.jsx)(Ev,{link:"".concat((null===Sn||void 0===Sn||null===(s=Sn.settings)||void 0===s||null===(o=s.linksPrefix)||void 0===o?void 0:o.pr)||"/").concat(null===t||void 0===t?void 0:t.prId),text:"PR"})]})},title:"page.team.pr.task",properties:"task",width:120}),(0,Gs.jsx)(Vy,{isSortable:!0,template:Nl.STRING,title:"page.team.pr.firstCommitTime",properties:"beginTaskTime",formatter:Nn,width:130}),(0,Gs.jsx)(Vy,{isSortable:!0,template:Nl.STRING,title:"page.team.pr.lastCommitTime",properties:"endTaskTime",formatter:Nn,width:130}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"workDays",width:40}),(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.pr.workDays",properties:"workDays",minWidth:100,template:e=>(0,Gs.jsx)(ev,{options:o,value:e})}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"commits",width:40}),(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.pr.commits",properties:"commitsByAuthors",minWidth:100,template:e=>(0,Gs.jsx)(ev,{options:i,details:e})}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"delayDays",width:40}),(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.pr.delayDays",properties:"delayDays",minWidth:200,template:e=>(0,Gs.jsx)(ev,{options:r,value:e})}),(0,Gs.jsx)(Vy,{isSortable:!0,template:Nl.STRING,title:"page.team.pr.date",properties:"milliseconds",formatter:Nn,width:130}),(0,Gs.jsx)(Vy,{isSortable:!0,template:Nl.STRING,title:"page.team.pr.mergeAuthor",properties:"author",width:250})]})}Uk.defaultProps={mode:void 0,response:void 0};const Hk=Uk,Gk=dn((e=>{let{mode:t}=e;const{t:n}=Bt(),a=Bs.dataGrip.pr.statistic.filter((e=>e.delayDays>3));if((null===a||void 0===a?void 0:a.length)<2)return"print"!==t?(0,Gs.jsx)(qi,{}):null;const s=Bs.dataGrip.pr.statisticByName,o=Object.values(s);return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.team.pr.oneTaskDays"}),(0,Gs.jsx)(Mk,{}),(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(Ao,{text:n("page.team.pr.description1")}),(0,Gs.jsx)(Ao,{text:n("page.team.pr.description2")})]}),(0,Gs.jsx)(Ni,{children:(0,Gs.jsx)(Ao,{text:n("page.team.pr.description3")})})]}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)(fl,{title:"page.team.pr.statByAuthors"}),(0,Gs.jsxs)(sl,{to:"response",loader:(e,n)=>ul({content:o,pagination:e,sort:n,mode:t}),children:[(0,Gs.jsx)(zk,{mode:t,rowsForExcel:o}),(0,Gs.jsx)(dl,{})]}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(fl,{title:"page.team.pr.longDelay"}),(0,Gs.jsxs)(sl,{to:"response",loader:(e,n)=>ul({content:a,pagination:"print"===t?{size:20}:e,sort:n}),children:[(0,Gs.jsx)(Hk,{mode:t,rowsForExcel:a}),"print"!==t&&(0,Gs.jsx)(dl,{})]})]})})),Vk=Gk,Kk="table-of-contents_table_of_contents__Becki",$k="table-of-contents_table_of_contents_title__3qPIE",qk="table-of-contents_table_of_contents_item__6hX4X";const Yk=function(e){let{titles:t}=e;const{t:n}=Bt(),a=(t||[]).map((e=>(0,Gs.jsx)("a",{className:qk,href:"#".concat(e),children:n(e||"")},e)));return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{className:$k,title:"page.print.tableOfContents"}),(0,Gs.jsx)("nav",{className:Kk,children:a})]})},Zk="cover_cover__VAtbV",Xk="cover_cover_title__l1TfU",Jk="cover_cover_sub_title__u8Khz",Qk=dn((()=>{const{t:e}=Bt();return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsxs)("div",{className:Zk,children:[(0,Gs.jsx)("h1",{className:Xk,children:e("page.print.title")}),(0,Gs.jsx)("h2",{className:Jk,children:document.title}),(0,Gs.jsx)(Yk,{titles:["page.team.total.titleA","page.team.total.titleB","page.team.scope.title","page.team.author.title","page.team.type.title","page.team.pr.oneTaskDays","page.team.pr.statByAuthors","page.team.pr.longDelay","page.team.hours.title","page.common.words.title"]}),(0,Gs.jsx)(Ao,{text:e("page.print.description")})]}),(0,Gs.jsx)(iw,{}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(lb,{mode:"print"}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(_v,{mode:"print"}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(xw,{mode:"print"}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(Vk,{mode:"print"}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(Cw,{mode:"print"}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(Zw,{mode:"print"}),(0,Gs.jsx)(Yv,{mode:"print"}),(0,Gs.jsx)(ob,{mode:"print"})]})})),e_=Qk;function t_(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=vv(t,"delayInDays"),r=vv(t,"waitingInDays"),i=nv({max:Math.max(o,r),suffix:"page.team.release.chart"});return(0,Gs.jsxs)(Hy,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,Gs.jsx)(Vy,{isFixed:!0,template:Nl.STRING,title:"page.team.release.title",properties:"title",width:200}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.release.from",width:150,properties:"from",formatter:Nn}),(0,Gs.jsx)(Vy,{template:Nl.STRING,title:"page.team.release.to",width:150,properties:"to",formatter:Nn}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"delayInDays"}),(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.release.delay",properties:"delayInDays",width:170,minWidth:170,template:e=>(0,Gs.jsx)(ev,{options:i,value:e})}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"waitingInDays"}),(0,Gs.jsx)(Vy,{isSortable:!0,title:"page.team.release.waiting",properties:"waitingInDays",width:170,minWidth:170,template:e=>(0,Gs.jsx)(ev,{options:i,value:e})})]})}t_.defaultProps={response:void 0};const n_=dn((e=>{let{mode:t}=e;const n=Bs.dataGrip.release.statistic;return(null===n||void 0===n?void 0:n.length)<2?"print"!==t?(0,Gs.jsx)(qi,{}):null:(0,Gs.jsxs)(Gs.Fragment,{children:["print"===t?(0,Gs.jsx)(fl,{title:"sidebar.team.extension"}):(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{})]}),(0,Gs.jsxs)(sl,{to:"response",loader:e=>ul({content:n,pagination:e,mode:t}),watch:"".concat(t).concat(Bs.dataGrip.hash),children:[(0,Gs.jsx)(t_,{mode:t,rowsForExcel:n}),(0,Gs.jsx)(dl,{})]})]})}));function a_(e){const t=zr.processing?"print":void 0;return"total"===e?(0,Gs.jsx)(iw,{}):"scope"===e?(0,Gs.jsx)(lb,{mode:t}):"author"===e?(0,Gs.jsx)(_v,{mode:t}):"type"===e?(0,Gs.jsx)(xw,{mode:t}):"pr"===e?(0,Gs.jsx)(Vk,{mode:t}):"day"===e?(0,Gs.jsx)(Xb,{}):"week"===e?(0,Gs.jsx)(Cw,{mode:t}):"month"===e?(0,Gs.jsx)(Zw,{mode:t}):"hours"===e?(0,Gs.jsx)(Yv,{mode:t}):"files"===e?(0,Gs.jsx)(vw,{}):"removedFiles"===e?(0,Gs.jsx)(vw,{type:"removed"}):"extension"===e?(0,Gs.jsx)(ww,{mode:t}):"release"===e?(0,Gs.jsx)(n_,{mode:t}):"commits"===e?(0,Gs.jsx)(Iv,{}):"changes"===e?(0,Gs.jsx)(Lv,{}):"words"===e?(0,Gs.jsx)(ob,{mode:t}):"top"===e?(0,Gs.jsx)(Lk,{}):"print"===e?(0,Gs.jsx)(e_,{}):"tasks"===e?(0,Gs.jsx)(Jw,{}):(0,Gs.jsx)(iw,{})}function s_(){const{type:e}=J();return e&&"team"!==e?null:(0,Gs.jsx)(xi,{getViewById:a_})}const o_=dn((e=>{let{filters:n,onChange:a}=e;const{type:s,page:o,userId:r}=J(),i=X(),l=parseInt(r||"0",10)||0,c=Bs.dataGrip.author.list.map(((e,t)=>({id:t,title:e}))),m=Bs.dataGrip.timestamp.statistic.allCommitsByTimestamp||[],d=(0,t.useMemo)((()=>$b(m)),[m]);return(0,Gs.jsxs)("div",{className:Vb,children:[(0,Gs.jsx)(Gb,{title:"page.team.tree.filters.author",value:l,className:Kb,options:c,onChange:e=>{i("/".concat(s,"/").concat(o,"/").concat(e))}}),"day"===o?(0,Gs.jsx)(Gb,{reverse:!0,title:"page.team.tree.filters.author",value:(null===n||void 0===n?void 0:n.week)||m[m.length-1].week,className:Kb,options:d.reverse(),onChange:e=>{a({...n,week:e})}}):null]})})),r_=o_,i_=dn((e=>{let{user:t}=e;const n=Bs.dataGrip.timestamp.statisticByAuthor[t.author];return(0,Gs.jsx)(Rv,{statistic:n})})),l_=dn((e=>{let{user:t}=e;const n=Bs.dataGrip.timestamp.statisticByAuthor[t.author];return(0,Gs.jsx)(Pv,{statistic:n})})),c_=dn((e=>{let{user:t}=e;return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.person.hours.title"}),(0,Gs.jsx)(Ai,{template:"table",children:(0,Gs.jsx)($v,{statistic:t})})]})}));const m_=function(){const{t:e}=Bt();return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)("p",{className:Ui,children:e("uiKit.nothingFound.staff.title")}),(0,Gs.jsx)("p",{className:Hi,children:e("uiKit.nothingFound.staff.description1")}),(0,Gs.jsx)("p",{className:Hi,children:e("uiKit.nothingFound.staff.description2")})]})},d_=dn((e=>{let{user:t}=e;const n=t,a=Bs.dataGrip.timestamp.statisticByAuthor[n.author],s=n.tasks.length;return n.isStaff?(0,Gs.jsx)(qi,{children:(0,Gs.jsx)(m_,{})}):(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.money.title.total"}),(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(ow,{value:Rn(n.moneyAll),icon:"./assets/cards/money_total.png",title:"page.person.money.moneyAll.title",description:"page.person.money.moneyAll.description"}),(0,Gs.jsx)(ow,{value:Rn(n.moneyWorked),icon:"./assets/cards/money_work.png",title:"page.person.money.moneyWorked.title",description:"page.person.money.moneyWorked.description"}),(0,Gs.jsx)(ow,{value:Rn(n.moneyLosses),icon:"./assets/cards/money_lazy.png",title:"page.person.money.moneyLosses.title",description:"page.person.money.moneyLosses.description"}),(0,Gs.jsx)(ow,{value:Rn(a.weekendPayment),icon:"./assets/cards/money_holidays.png",title:"page.team.total.weekendPayment.title",description:"page.team.total.weekendPayment.description"})]})]}),(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.money.title.middle"}),0===s?(0,Gs.jsx)(qi,{}):(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(ow,{long:!0,value:s?Rn(n.moneyWorked/s,0):null,icon:"./assets/cards/money_task.png",title:"page.person.money.tasks.title",description:"page.person.money.tasks.description"}),(0,Gs.jsx)(ow,{long:!0,value:s?Rn(n.moneyWorked/n.commits,0):null,icon:"./assets/cards/money_work.png",title:"page.person.money.commits.title",description:"page.person.money.commits.description"})]})]})]})})),u_=dn((e=>{let{user:t,mode:n}=e;const a=t.wordStatistics;return(0,Gs.jsx)(sb,{mode:n,statistic:a})})),p_=dn((e=>{let{user:t}=e;const n=t,a=Bs.dataGrip.timestamp.statisticByAuthor[n.author],s=n.tasks.length;return n.isStaff?(0,Gs.jsx)(qi,{children:(0,Gs.jsx)(m_,{})}):(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.speed.task"}),0===s?(0,Gs.jsx)(qi,{}):(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(ow,{value:n.daysForTask&&s?Ln(n.daysForTask):null,icon:"./assets/cards/month.png",title:"page.person.speed.days.title",description:"page.person.speed.days.description"}),(0,Gs.jsx)(ow,{value:s?(n.commits/s).toFixed(1):null,icon:"./assets/cards/commits.png",title:"page.person.speed.commits.title",description:"page.person.speed.commits.description"}),(0,Gs.jsx)(ow,{value:s?n.changesForTask:null,icon:"./assets/cards/lines.png",title:"page.person.speed.line.title",description:"page.person.speed.line.description"})]})]}),(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.speed.max"}),(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(ow,{long:!0,value:a.tasksByTimestampCounter.max,icon:"./assets/cards/tasks.png",title:"page.person.speed.tasks.title",description:"page.person.speed.tasks.description"}),(0,Gs.jsx)(ow,{long:!0,value:a.commitsByTimestampCounter.max,icon:"./assets/cards/commits.png",title:"page.person.speed.maxCommits.title",description:"page.person.speed.maxCommits.description"})]})]})]})}));const h_=function(e){let{list:t}=e;const n=null===t||void 0===t?void 0:t.map((e=>(0,Gs.jsx)(sk,{code:e},e)));return(0,Gs.jsx)("div",{className:ak.achievement_container,children:n})};const f_="styles_get_list_container__YnNGO",g_="styles_get_list__xuTNI",y_="styles_get_list_title__J-b47",v_="styles_get_list_icon__I4DqV",b_="styles_get_list_big_number__RbCn9";const w_=function(e){var t,n,a,s,o;let{commit:r,mode:i}=e;const l=((null===(t=r.taskNumber)||void 0===t?void 0:t.length)||1)>5?b_:"",c=hs.pr.prByTask[r.task];return(0,Gs.jsxs)("div",{className:g_,children:[(0,Gs.jsxs)("div",{className:y_,children:[(0,Gs.jsx)(Ev,{link:"".concat((null===Sn||void 0===Sn||null===(n=Sn.settings)||void 0===n||null===(a=n.linksPrefix)||void 0===a?void 0:a.task)||"/").concat(r.task),text:r.task}),c&&"print"!==i&&(0,Gs.jsx)(Ev,{link:"".concat((null===Sn||void 0===Sn||null===(s=Sn.settings)||void 0===s||null===(o=s.linksPrefix)||void 0===o?void 0:o.pr)||"/").concat(c),text:"PR"})]}),(0,Gs.jsx)("div",{className:"".concat(v_," ").concat(l),children:r.taskNumber})]})};const k_=function(e){let{list:t,mode:n}=e;const a=null===t||void 0===t?void 0:t.map((e=>(0,Gs.jsx)(w_,{commit:e,mode:n},e.taskNumber)));return(0,Gs.jsx)("div",{className:f_,children:a})};function __(e){let{title:t,achievements:n}=e;const{t:a}=Bt();return null!==n&&void 0!==n&&n.length?(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(Ao,{text:"# ".concat(a(t))}),(0,Gs.jsx)(h_,{list:n})]}):null}const x_=dn((e=>{let{user:t}=e;const{t:n}=Bt(),a=t,s=Bs.dataGrip.get.getsByAuthor[t.author],o=a.tasks.length,r=Pk(a.author);return console.dir(r),(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.total.title"}),(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(ow,{value:a.daysWorked,icon:"./assets/cards/work_days.png",title:"page.person.total.daysWorked.title",description:"page.person.total.daysWorked.description"}),(0,Gs.jsx)(ow,{value:o||null,icon:"./assets/cards/tasks.png",title:"page.person.total.tasks.title",description:"page.person.total.tasks.description"}),(0,Gs.jsx)(ow,{value:a.daysLosses,icon:"./assets/cards/lazy.png",title:"page.team.total.daysLosses.title",description:"page.team.total.daysLosses.description"}),(0,Gs.jsx)(ow,{value:a.commits,icon:"./assets/cards/commits.png",title:"page.team.total.commits.title",description:"page.team.total.commits.description"})]}),!1,!1]}),(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.achievement.title"}),(0,Gs.jsx)(__,{title:"page.person.achievement.positive",achievements:r[Qw-1]}),(0,Gs.jsx)(__,{title:"page.person.achievement.normal",achievements:r[ek-1]}),(0,Gs.jsx)(__,{title:"page.person.achievement.negative",achievements:r[tk-1]}),(0,Gs.jsx)(Ao,{text:n("page.person.achievement.description")}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{}),null!==s&&void 0!==s&&s.length?(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.person.gets.title"}),(0,Gs.jsx)(k_,{list:s}),(0,Gs.jsx)(Ao,{text:n("page.person.gets.description")})]}):null]})]})})),T_=x_;function S_(e){let{response:t,updateSort:n,name:a,mode:s}=e;if(!t)return null;const o=nv({max:vv(t,"authors",a),order:Bs.dataGrip.type.list}),r=nv({max:7,order:["page.person.week.workDay","page.person.week.weekends"],suffix:"page.person.week.days"}),i=nv({max:vv(t,"taskInDay",a)});return(0,Gs.jsxs)(Hy,{rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,Gs.jsx)(Vy,{isFixed:!0,template:Nl.STRING,title:"page.person.week.date",properties:"timestamp",formatter:Fn,width:200}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"authors",formatter:e=>e[a]||0}),(0,Gs.jsx)(Vy,{title:"page.person.week.tasks",template:e=>(0,Gs.jsx)(ev,{options:o,value:e.authors[a],details:e.typeByAuthor[a]}),width:200}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"workDays",formatter:e=>e[a]||0}),(0,Gs.jsx)(Vy,{title:"page.person.week.workDays",template:e=>{let[t,n]=e;return(0,Gs.jsx)(ev,{options:r,value:t+n,details:{"page.person.week.workDay":t,"page.person.week.weekends":n}})},formatter:e=>(null===e||void 0===e?void 0:e.workDays[a])>5?[5,(null===e||void 0===e?void 0:e.workDays[a])-5]:[null===e||void 0===e?void 0:e.workDays[a],0],width:200}),(0,Gs.jsx)(Vy,{template:Nl.SHORT_NUMBER,properties:"taskInDay",formatter:e=>Ln(e[a]||0)}),(0,Gs.jsx)(Vy,{title:"page.person.week.taskInDay",properties:"taskInDay",template:e=>(0,Gs.jsx)(ev,{options:i,value:e[a]}),width:200})]})}S_.defaultProps={response:void 0};const C_=dn((e=>{var t;let{user:n,mode:a}=e;const s=n,o=Bs.dataGrip.week.statistic.filter((e=>e.authors[s.author]));if(null===o||void 0===o||!o.length)return(0,Gs.jsx)(qi,{});const r=null===(t=Bs.dataGrip.recommendations.person)||void 0===t?void 0:t.byWeek[s.author];return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(yv,{mode:a,recommendations:r}),(0,Gs.jsxs)(sl,{to:"response",loader:(e,t)=>ul({content:o,pagination:e,sort:t}),children:[(0,Gs.jsx)(S_,{name:s.author,mode:a}),"print"!==a&&(0,Gs.jsx)(dl,{})]})]})})),E_=C_,A_=dn((e=>{let{user:t}=e;const n=t,a=Bs.dataGrip.timestamp.statisticByAuthor[n.author],s=a.commitsByTimestampCounter.max;return(0,Gs.jsx)(Gs.Fragment,{children:(0,Gs.jsx)(Ai,{template:"table",children:(0,Gs.jsx)(qw,{showEvents:!1,maxCommits:s,authors:[n],wordDays:a.allCommitsByTimestamp})})})})),D_=dn((e=>{let{user:t,mode:n}=e;const a=Bs.dataGrip.tasks.statistic.filter((e=>e.author===t.author||(e.authors||[]).includes(t.author)));return null!==a&&void 0!==a&&a.length?(0,Gs.jsxs)(sl,{to:"response",loader:(e,t)=>ul({content:a,pagination:e,sort:t,mode:n}),watch:"".concat(n).concat(Bs.dataGrip.hash).concat(t.author),children:[(0,Gs.jsx)(Xw,{mode:n,rowsForExcel:a}),(0,Gs.jsx)(dl,{})]}):"print"!==n?(0,Gs.jsx)(qi,{}):null}));function j_(e){let{response:t,user:n}=e;return t?(0,Gs.jsx)(Ub,{days:t.content,author:n}):null}j_.defaultProps={response:void 0};const O_=dn((e=>{let{user:t,filters:n}=e;const a=Bs.dataGrip.timestamp.statistic.allCommitsByTimestamp||[];if(null===a||void 0===a||!a.length)return(0,Gs.jsx)(qi,{});const s=function(e,t){return t.filter((t=>t.week===e.week)).slice(0,7)}({week:n.week,user:t.author},a);return null!==s&&void 0!==s&&s.length?(0,Gs.jsx)(Gs.Fragment,{children:(0,Gs.jsx)(Ai,{template:"table",children:(0,Gs.jsxs)(sl,{to:"response",loader:()=>ul({content:s}),watch:JSON.stringify(n),children:[(0,Gs.jsx)(j_,{user:t.author}),(0,Gs.jsx)(dl,{})]})})}):(0,Gs.jsx)(qi,{})})),N_="print_place_for_photo__WPPt6",P_=dn((e=>{let{user:t}=e;const{t:n}=Bt(),a=t,s=a.tasks.length;return(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(ow,{value:"",icon:"./assets/cards/work_days.png",title:"page.person.print.photo.title"}),(0,Gs.jsx)("div",{className:N_,children:n("page.person.print.photo.description")})]}),(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:a.author}),(0,Gs.jsxs)("div",{children:[(0,Gs.jsx)(ow,{value:a.daysWorked,icon:"./assets/cards/work_days.png",title:"page.person.total.daysWorked.title",description:"page.person.total.daysWorked.description"}),(0,Gs.jsx)(ow,{value:s||null,icon:"./assets/cards/tasks.png",title:"page.person.total.tasks.title",description:"page.person.total.tasks.description"}),(0,Gs.jsx)(ow,{value:a.daysLosses,icon:"./assets/cards/lazy.png",title:"page.team.total.daysLosses.title",description:"page.team.total.daysLosses.description"}),(0,Gs.jsx)(ow,{value:a.commits,icon:"./assets/cards/commits.png",title:"page.team.total.commits.title",description:"page.team.total.commits.description"})]})]})]})})),I_=P_;function R_(e){let{title:t,achievements:n}=e;return null!==n&&void 0!==n&&n.length?(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(Ao,{text:"# ".concat(t)}),(0,Gs.jsx)(h_,{list:n})]}):null}const L_=dn((e=>{let{user:t}=e;const{t:n}=Bt(),a=t,s=Bs.dataGrip.get.getsByAuthor[a.author],o=Pk(a.author);return(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.person.achievement.title"}),(0,Gs.jsx)(R_,{title:"page.person.achievement.positive",achievements:o[Qw-1]})]}),(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:n("_")}),(0,Gs.jsx)(R_,{title:"page.person.achievement.normal",achievements:o[ek-1]}),(0,Gs.jsx)(R_,{title:"page.person.achievement.negative",achievements:o[tk-1]}),(0,Gs.jsx)("br",{}),(0,Gs.jsx)("br",{}),null!==s&&void 0!==s&&s.length?(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.person.gets.title"}),(0,Gs.jsx)(k_,{mode:"print",list:s}),(0,Gs.jsx)(Ao,{text:n("page.person.gets.description")})]}):null]})]})})),F_=L_,M_=dn((e=>{let{user:t}=e;const{t:n}=Bt();return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsxs)("div",{className:Zk,children:[(0,Gs.jsx)("h1",{className:Xk,children:n("page.print.title")}),(0,Gs.jsx)("h2",{className:Jk,children:t.author}),(0,Gs.jsx)(Yk,{titles:["page.team.total.titleA","page.person.speed.task","page.person.speed.max","page.team.total.titleB","page.person.achievement.title","page.person.hours.title","page.common.words.title"]}),(0,Gs.jsx)(Ao,{text:n("page.print.description")})]}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(I_,{user:t}),(0,Gs.jsx)(p_,{user:t}),(0,Gs.jsx)(d_,{user:t}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(F_,{user:t}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(c_,{user:t}),(0,Gs.jsx)(E_,{user:t,mode:"print"}),(0,Gs.jsx)(Fk,{}),(0,Gs.jsx)(A_,{user:t}),(0,Gs.jsx)(u_,{user:t,mode:"print"})]})})),W_=M_;const B_=dn((e=>{let{userId:n}=e;const{t:a}=Bt(),{type:s,page:o,userId:r}=J(),i=Bs.dataGrip.timestamp.statistic.allCommitsByTimestamp||[],l=i.length?i[i.length-1].week:0,[c,m]=(0,t.useState)({week:l}),d=Bs.dataGrip.author.statistic[n||r||0];if("person"!==s||!d)return null;const u=function(e,t){return function(n){const a=zr.processing?"print":void 0;return"total"===n?(0,Gs.jsx)(T_,{user:e}):"money"===n?(0,Gs.jsx)(d_,{user:e}):"week"===n?(0,Gs.jsx)(E_,{user:e,mode:a}):"month"===n?(0,Gs.jsx)(A_,{user:e}):"hours"===n?(0,Gs.jsx)(c_,{user:e}):"commits"===n?(0,Gs.jsx)(l_,{user:e}):"changes"===n?(0,Gs.jsx)(i_,{user:e}):"words"===n?(0,Gs.jsx)(u_,{user:e,mode:a}):"speed"===n?(0,Gs.jsx)(p_,{user:e}):"day"===n?(0,Gs.jsx)(O_,{user:e,filters:t}):"print"===n?(0,Gs.jsx)(W_,{user:e}):"tasks"===n?(0,Gs.jsx)(D_,{user:e}):(0,Gs.jsx)(T_,{user:e})}}(d,c);return(0,Gs.jsxs)(Gs.Fragment,{children:["print"!==o&&(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:a("common.filters")}),(0,Gs.jsx)(r_,{filters:c,onChange:m})]}),(0,Gs.jsx)(xi,{getViewById:u})]})})),z_=B_,U_=dn((()=>{const e=Bs.dataGrip.author.statistic,t=Object.entries(e).filter((e=>{let[,t]=e;return!t.isStaff})).map((e=>{let[t,n]=e;return(0,Gs.jsx)(W_,{user:n},t)}));return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(e_,{}),t]})})),H_="Console_console__5nFvk",G_="Console_console_header__XP1IR",V_="Console_console_body__5PXuM",K_="Console_console_header_icon__oXixF",$_="Console_console_copy__LHjsv";function q_(e){let{className:t,textForCopy:n,children:a}=e;return(0,Gs.jsxs)("div",{className:"".concat(H_," ").concat(t||""),children:[(0,Gs.jsxs)("div",{className:"".concat(G_),children:[(0,Gs.jsx)("span",{className:"".concat(K_)}),(0,Gs.jsx)("span",{className:"".concat(K_)}),(0,Gs.jsx)("span",{className:"".concat(K_)})]}),(0,Gs.jsx)("div",{className:"".concat(V_),children:a||n}),(0,Gs.jsx)(no,{mode:"second",className:"".concat($_),onClick:()=>{!function(e){if(!e)return;const t=document.createElement("textarea");t.style.position="fixed",t.style.opacity="0",t.textContent=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}(n),er.Z.show(xe.Z.get("uiKit.console.notification"))},children:xe.Z.get("uiKit.console.button")})]})}q_.defaultProps={textForCopy:void 0,children:void 0,className:""};const Y_=q_,Z_="styles_welcome__owZYZ",X_="styles_welcome_console__dmg4D",J_="styles_welcome_row__rormW",Q_="styles_welcome_warning__sf+kx",ex="styles_welcome_warning_text__vMmIf",tx="styles_welcome_description__lB3jg",nx="styles_welcome_first_title__zay7R",ax="styles_welcome_last_title__Ef7FS",sx="styles_welcome_title_link__csDka";function ox(){return(0,Gs.jsxs)("h4",{className:Q_,children:[(0,Gs.jsx)(Ao,{text:xe.Z.get("page.welcome.warning1"),className:ex}),(0,Gs.jsx)(Ao,{text:xe.Z.get("page.welcome.warning2"),className:ex})]})}const rx=function(){return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(ox,{}),(0,Gs.jsx)("section",{className:Z_,children:(0,Gs.jsxs)("div",{className:J_,children:[(0,Gs.jsx)("h2",{className:nx,children:xe.Z.get("page.welcome.step1")}),(0,Gs.jsx)(Y_,{className:X_,textForCopy:'git --no-pager log --numstat --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%cN>%cE>%s" > log.txt\n'}),(0,Gs.jsx)(Ao,{text:xe.Z.get("page.welcome.description"),className:"".concat(tx)}),(0,Gs.jsxs)("h2",{className:ax,children:["page.welcome.step2"===xe.Z.get("page.welcome.step2")?"":xe.Z.get("page.welcome.step2"),(0,Gs.jsxs)("label",{className:sx,children:[xe.Z.get("page.welcome.step3"),(0,Gs.jsx)("input",{multiple:!0,type:"file",style:{display:"none"},onChange:async e=>{const t=Array.from(e.target.files),n=await(0,zs.BE)(t),a=(0,zs.IM)(n);Bs.setCommits(a)}})]}),xe.Z.get("page.welcome.step4")]})]})})]})};const ix=function(e){let{title:n,mode:a,disabled:s,className:o,options:r,onClick:i,children:l}=e;if(null===r||void 0===r||!r.length)return null;const[c,m]=(0,t.useState)(!1),d=to(a,s),u=null===r||void 0===r?void 0:r.map((e=>{var t,a,s;const o=null!==(t=null!==(a=null!==(s=null===e||void 0===e?void 0:e.title)&&void 0!==s?s:null===e||void 0===e?void 0:e.id)&&void 0!==a?a:e)&&void 0!==t?t:"";return(0,Gs.jsx)("button",{className:Qs.ui_kit_button_menu,onClick:()=>{i&&i(e),m(!1)},children:o},n)}));return(0,Gs.jsx)(Gs.Fragment,{children:(0,Gs.jsxs)("button",{title:n,className:"".concat(Qs.ui_kit_button," ").concat(d||""," ").concat(o||""),style:{position:"relative"},onClick:()=>{m(!c)},children:[l,c&&(0,Gs.jsx)("div",{className:Qs.ui_kit_dialog,children:u})]})})};const lx=function(e){let{columns:t,className:n,children:a}=e;return(0,Gs.jsx)("div",{className:"".concat(xr.wrapper," ").concat(n||""),style:{columnCount:t||2},children:a})},cx="switch_ui_kit_switch__ITpXv",mx="switch_ui_kit_switch_item__oGEAZ",dx="switch_ui_kit_switch_item_selected__poF9E";const ux=function(e){let{title:t,description:n,help:a,error:s,className:o,value:r,options:i,onChange:l}=e;const c=r||0===r||!1===r;let m=r;c&&!Array.isArray(r)&&(m=[r]);const d=(i||[]).map(((e,t)=>{var n,a;const s="object"!==typeof e?{id:e,title:e}:e,o=c&&m.includes(null===s||void 0===s?void 0:s.id);return(0,Gs.jsx)("button",{className:o?"".concat(mx," ").concat(dx):mx,onClick:()=>{if(!l)return;const e=o?m.filter((e=>e!==(null===s||void 0===s?void 0:s.id))):[...m,null===s||void 0===s?void 0:s.id].sort();l(e)},children:null!==(n=null!==(a=null===s||void 0===s?void 0:s.title)&&void 0!==a?a:null===s||void 0===s?void 0:s.id)&&void 0!==n?n:""},"".concat(null===s||void 0===s?void 0:s.id,"_").concat(t))}));return(0,Gs.jsx)(_r,{title:t,description:n,help:a,error:s,className:o,children:(0,Gs.jsx)("div",{className:cx,children:d})})};function px(e){let{title:t,description:n,help:a,error:s,className:o,value:r,placeholder:i,onChange:l}=e;const c=(null===r||void 0===r?void 0:r.length)>10?r.substring(0,10):r;return(0,Gs.jsx)(_r,{title:t,description:n,help:a,error:s,className:o,children:(0,Gs.jsx)("input",{type:"date",value:c,placeholder:i,className:xr.ui_kit_common,onChange:e=>{l&&l("".concat(e.target.value,"T00:00:00.000Z"))}})})}px.defaultProps={placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"};const hx=px;const fx=function(e){let{salary:n,index:a,onChange:s,onRemove:o}=e;const[r,i]=(0,t.useState)(!1);return(0,Gs.jsxs)("div",{className:Dr.salary,children:[(0,Gs.jsx)(fl,{title:xe.Z.get("page.settings.user.subTitle",a),className:r?"":Dr.salary_title}),(0,Gs.jsx)("div",{className:Dr.salary_icons,children:(0,Gs.jsx)("img",{className:Dr.salary_icons_item,src:"./assets/list/arrow.svg",onClick:()=>i(!r)})}),r&&(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsxs)(lx,{children:[(0,Gs.jsx)(hx,{title:"page.settings.user.from",value:null===n||void 0===n?void 0:n.from,onChange:e=>{s({...n,from:e})}}),(0,Gs.jsx)(ux,{title:"page.settings.common.workDaysInWeek",value:n.workDaysInWeek,options:[1,2,3,4,5,6,7],onChange:e=>{s({...n,workDaysInWeek:e})}})]}),(0,Gs.jsxs)(lx,{children:[(0,Gs.jsx)(cw,{title:"page.settings.common.salary",value:null===n||void 0===n?void 0:n.value,onChange:e=>{s({...n,value:e})}}),(0,Gs.jsx)(ux,{title:"page.settings.common.currency",value:null===n||void 0===n?void 0:n.currency,options:["RUB","USD","EUR"],onChange:e=>{s({...n,currency:e})}})]}),(0,Gs.jsxs)(lx,{children:[(0,Gs.jsx)(cw,{title:"page.settings.common.workDaysInYear",value:null===n||void 0===n?void 0:n.workDaysInYear,onChange:e=>{s({...n,workDaysInYear:e})}}),(0,Gs.jsx)(cw,{title:"page.settings.common.vacationDaysInYear",value:null===n||void 0===n?void 0:n.vacationDaysInYear,onChange:e=>{s({...n,vacationDaysInYear:e})}})]}),(0,Gs.jsx)("div",{className:Dr.salary_footer,children:(0,Gs.jsx)(no,{mode:"second",onClick:()=>yo.open().then((()=>o())),children:xe.Z.get("page.settings.form.remove")})})]})]})};const gx=function(e){let{user:t,onChange:n,onRemove:a}=e;const s=t.salary.map(((e,a)=>(0,Gs.jsx)(fx,{index:a+1,salary:e,onChange:a=>{n({...t,salary:t.salary.map((t=>t.id===e.id?a:t))})},onRemove:()=>{n({...t,salary:t.salary.filter((t=>t.id!==e.id))})}},t.id)));return(0,Gs.jsxs)(ji,{className:Dr.user,onRemove:()=>yo.open().then((()=>a())),children:[(0,Gs.jsx)(fl,{title:(null===t||void 0===t?void 0:t.name)||"",className:Dr.user_title}),s,(0,Gs.jsx)("div",{className:Dr.user_footer,children:(0,Gs.jsx)(no,{mode:"slim",onClick:()=>{n({...t,salary:[...t.salary,wn(tr.state)]})},children:xe.Z.get("page.settings.form.addContract")})})]})},yx=dn((()=>{const e=tr.state.defaultSalary;return e?(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.settings.common.title"}),(0,Gs.jsxs)(ji,{children:[(0,Gs.jsx)(ux,{title:"page.settings.common.type.title",value:e.type,options:[{id:"full",title:xe.Z.get("page.settings.common.type.full")},{id:"part",title:xe.Z.get("page.settings.common.type.part")}],onChange:e=>{tr.updateState("defaultSalary.type",null===e||void 0===e?void 0:e.id)}}),(0,Gs.jsxs)(lx,{children:[(0,Gs.jsx)(cw,{title:"page.settings.common.salary",value:e.value,onChange:e=>{tr.updateState("defaultSalary.value",e)}}),(0,Gs.jsx)(ux,{title:"page.settings.common.currency",value:e.currency,options:["RUB","USD","EUR"],onChange:e=>{tr.updateState("defaultSalary.currency",e)}})]}),(0,Gs.jsxs)(lx,{children:[(0,Gs.jsx)(cw,{title:"page.settings.common.workDaysInYear",value:e.workDaysInYear,onChange:e=>{tr.updateState("defaultSalary.workDaysInYear",e)}}),(0,Gs.jsx)(cw,{title:"page.settings.common.vacationDaysInYear",value:e.vacationDaysInYear,onChange:e=>{tr.updateState("defaultSalary.vacationDaysInYear",e)}})]}),(0,Gs.jsx)(ux,{title:"page.settings.common.workDaysInWeek",value:e.workDaysInWeek,options:[1,2,3,4,5,6,7],onChange:e=>{tr.updateState("defaultSalary.workDaysInWeek",e)}}),(0,Gs.jsx)(ux,{title:"page.settings.common.workDaysInWeek",value:e.workDaysInWeek.map(((e,t)=>e?t+1:null)),options:[{id:1,title:"\u041f\u043d"},{id:2,title:"\u0412\u0442"},{id:3,title:"\u0421\u0440"},{id:4,title:"\u0427\u0442"},{id:5,title:"\u041f\u0442"},{id:6,title:"\u0421\u0431"},{id:7,title:"\u0412\u0441"}],onChange:e=>{const t=new Array(7).fill(0).map(((t,n)=>e.includes(n+1)));console.log(t),tr.updateState("defaultSalary.workDaysInWeek",t)}})]})]}):null})),vx=yx,bx=dn((()=>{const{i18n:e}=Bt(),[n,a]=(0,t.useState)(document.title),[s,o]=(0,t.useState)(xe.Z.language);return(0,t.useEffect)((()=>{e.changeLanguage(s)}),[s]),(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.settings.document.title"}),(0,Gs.jsxs)(ji,{children:[(0,Gs.jsx)(rl,{title:"page.settings.document.name",value:n,placeholder:xe.Z.get("common.title"),onChange:e=>{a(e),document.title=e||xe.Z.get("common.title"),Ms.C.title=!0}}),(0,Gs.jsx)(Ar,{title:"page.settings.document.language",value:s,options:[{id:"ru",title:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{id:"en",title:"English"},{id:"zh",title:"\u4e2d\u6587"},{id:"es",title:"Espa\xf1ol"},{id:"fr",title:"Fran\xe7ais"},{id:"pt",title:"Portugu\xeas"},{id:"de",title:"Deutsch"},{id:"ja",title:"\u65e5\u672c\u8a9e"}],onChange:(e,t)=>{xe.Z.language=t,o(t)}})]})]})})),wx=dn((()=>{var e,t;return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(fl,{title:"page.settings.links.title"}),(0,Gs.jsxs)(ji,{children:[(0,Gs.jsx)(rl,{title:"page.settings.links.task",value:null===(e=tr.state)||void 0===e||null===(t=e.linksPrefix)||void 0===t?void 0:t.task,placeholder:"https://jira.com/secure/RapidBoard.jspa?task=",onChange:e=>{tr.updateState("linksPrefix.task",e)}}),(0,Gs.jsx)(rl,{title:"page.settings.links.pr",value:tr.state.linksPrefix.pr,placeholder:"https://bitbucket.com/projects/assayo/repos/frontend/pull-requests/",onChange:e=>{tr.updateState("linksPrefix.pr",e)}})]})]})}));const kx=function(){const e=Bs.dataGrip.author.statistic.map((e=>"".concat(e.author," <").concat(e.firstCommit.email,"> <").concat(e.firstCommit.email,">"))),t=e.map((e=>(0,Gs.jsx)("p",{children:e},e))),n=e.join("\r\n");return(0,Gs.jsx)("div",{className:Dr.races_track,children:(0,Gs.jsx)(Y_,{textForCopy:n,children:t})})},_x=dn((e=>{const t=tr.state.employees;if(!e||!t)return null;const n=t.map((e=>e.name)),a=Bs.dataGrip.author.list.filter((e=>!n.includes(e))).map(((e,t)=>({id:t,title:e}))),s=tr.state.employees.map((e=>(0,Gs.jsx)(gx,{user:e,onChange:n=>{const a=t.map((t=>t.id===e.id?n:t));tr.updateState("employees",a)},onRemove:()=>{const n=t.filter((t=>t.id!==e.id));tr.updateState("employees",n)}},e.id)));return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(bx,{}),(0,Gs.jsx)(wx,{}),(0,Gs.jsx)(vx,{})]}),(0,Gs.jsxs)(Ni,{children:[(0,Gs.jsx)(fl,{title:"page.settings.user.title"}),t.length>0?s:(0,Gs.jsx)(qi,{message:"page.settings.user.notFound"}),a.length&&(0,Gs.jsx)("div",{className:Dr.buttons_footer,children:(0,Gs.jsx)(ix,{options:a,onClick:e=>{tr.updateState("employees",[...t,kn(null===e||void 0===e?void 0:e.title,tr.state,null===n||void 0===n?void 0:n.length)])},children:xe.Z.get("page.settings.form.addEmployee")})})]})]}),(0,Gs.jsxs)(Ai,{children:[(0,Gs.jsx)(fl,{title:"page.settings.mailmap"}),(0,Gs.jsx)(kx,{})]})]})})),xx=dn((()=>(0,Gs.jsx)(sl,{to:"response",loader:()=>xn.loadSettings().then((e=>(tr.setInitState(e),Promise.resolve(e)))),children:(0,Gs.jsx)(_x,{})})));function Tx(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return t;for(let n in e){const a=e[n];null!==a&&void 0!==a&&a.title?t.push(a):"string"===typeof a?t.push({title:a}):Tx(a,t)}return t}const Sx=function(){const e=Tx(xe.Z.translations[xe.Z.language].recommendations).map((e=>(0,Gs.jsx)(pv,{recommendation:e},e[1])));return console.dir(e),(0,Gs.jsx)(Gs.Fragment,{children:(0,Gs.jsx)("section",{children:e})})};function Cx(e){let{showSplashScreen:t}=e;return(0,Gs.jsxs)(Gs.Fragment,{children:[(0,Gs.jsx)(vo,{}),(0,Gs.jsxs)(me,{children:[(0,Gs.jsx)(le,{path:"/settings",element:(0,Gs.jsx)(gi,{children:(0,Gs.jsx)(xx,{})})}),(0,Gs.jsx)(le,{path:"/debug",element:(0,Gs.jsx)(gi,{children:(0,Gs.jsx)(Sx,{})})}),(0,Gs.jsx)(le,{path:"/print",element:(0,Gs.jsx)(gi,{children:(0,Gs.jsx)(U_,{})})}),(0,Gs.jsx)(le,{path:"/:type/:page",element:(0,Gs.jsx)(gi,{children:(0,Gs.jsx)(s_,{})})}),(0,Gs.jsx)(le,{path:"/:type/:page/:userId",element:(0,Gs.jsx)(gi,{children:(0,Gs.jsx)(z_,{})})}),(0,Gs.jsx)(le,{path:"*",element:(0,Gs.jsx)(gi,{children:(0,Gs.jsx)(s_,{})})})]}),t&&(0,Gs.jsx)(Js,{})]})}function Ex(){return(0,Gs.jsx)(me,{children:(0,Gs.jsx)(le,{path:"*",element:(0,Gs.jsx)(rx,{})})})}const Ax=dn((()=>{const[e,n]=(0,t.useState)(!0),a=Bs.showApplication;return(0,t.useEffect)((()=>{var e;Bs.setCommits((null===(e=window)||void 0===e?void 0:e.report)||[])}),[]),(0,Gs.jsxs)(Gs.Fragment,{children:[a&&(0,Gs.jsx)(Cx,{showSplashScreen:e}),!a&&(0,Gs.jsx)(Ex,{}),(0,Gs.jsx)(Vs,{onChange:(e,t)=>{n(!1),"dump"===e&&Bs.setCommits(t),setTimeout((()=>{n(!0)}))}})]})})),Dx=Ax,jx=dn((()=>{const{state:e,isInitialization:t}=hn;return(0,Gs.jsx)(Dx,{})})),Ox="styles_notifications__87i8g",Nx="styles_notifications_item__5QkTA",Px="styles_notifications_item_error__scoxJ",Ix="styles_notifications_item_warning__L7TAD",Rx="styles_notifications_item_success__Kkmlt",Lx="styles_notifications_item_info__i59W4",Fx="styles_notifications_item_title__nX-MS",Mx="styles_notifications_item_description__ehatL";const Wx=function(e){let{message:t}=e;const n={error:Px,warning:Ix,success:Rx,info:Lx}[t.type||"success"]||Lx;return(0,Gs.jsxs)("div",{className:"".concat(Nx," ").concat(n),children:[t.title&&(0,Gs.jsx)("h6",{className:Fx,children:t.title}),t.description&&(0,Gs.jsx)("p",{className:Mx,children:t.description})]})},Bx=dn((()=>{const e=er.Z.messages.map((e=>(0,Gs.jsx)(Wx,{message:e},e.id)));return _e.createPortal((0,Gs.jsx)("div",{className:Ox,children:e}),document.body)}));xe.Z.parse("de",Te),xe.Z.parse("en",Se),xe.Z.parse("es",Ce),xe.Z.parse("fr",Ee),xe.Z.parse("ja",Ae),xe.Z.parse("pt",De),xe.Z.parse("ru",je),xe.Z.parse("zh",Oe),(0,Ms.Z)((e=>{!function(e){const t=e||localStorage.getItem("language")||Ht||"en";xe.Z.language=t,vt.use(It).init({lng:t,debug:!1,resources:Ut})}(e.lang||e.language),Sn.loadUserSettings().then((()=>{window.onafterprint=()=>{zr.endPrint()},(0,_e.render)((0,Gs.jsx)(t.StrictMode,{children:(0,Gs.jsxs)(ye,{children:[(0,Gs.jsx)(jx,{}),(0,Gs.jsx)(Bx,{})]})}),document.getElementById("root"))}))}))})()})();
+//# sourceMappingURL=main.2a3d1f04.js.map
\ No newline at end of file
diff --git a/build/static/js/main.2f9b2b48.js b/build/static/js/main.2f9b2b48.js
deleted file mode 100644
index bdca047..0000000
--- a/build/static/js/main.2f9b2b48.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see main.2f9b2b48.js.LICENSE.txt */
-(()=>{var __webpack_modules__={806:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function getStringsForParser(text){let temp=window.report;window.report=[];const firstText=text.slice(0,12);if("report.push("===firstText)try{eval(text)}catch(e){return void(window.report=temp)}else window.report=text.split("\n");return window.report}async function getStringFromFileList(e){return(await Promise.all(e.map((e=>e.text())))).filter((e=>e)).map((e=>({key:e.substring(13,32),text:e}))).sort(((e,t)=>(e.key||"").localeCompare(t.key||""))).map((e=>e.text)).join("\n")}function getOnDrop(e,t){return async function(n){var a;n.preventDefault(),n.stopPropagation();const s=[...(null===n||void 0===n||null===(a=n.dataTransfer)||void 0===a?void 0:a.items)||[]].map((e=>"file"===e.kind?null===e||void 0===e?void 0:e.getAsFile():null)).filter((e=>e));if(e(!1),!s.length)return;const o=getStringsForParser(await getStringFromFileList(s));t("dump",o)}}function getShowDropZone(e){return function(t){t.preventDefault(),t.stopPropagation(),e(!0)}}__webpack_require__.d(__webpack_exports__,{BE:()=>getStringFromFileList,C4:()=>getShowDropZone,IM:()=>getStringsForParser,ae:()=>getOnDrop})},463:(e,t,n)=>{"use strict";var a=n(791),s=n(296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nf?(g=d,d=null):g=d.sibling;var y=p(s,d,i[f],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(s,d),o=r(y,o,f),null===m?c=y:m.sibling=y,m=y,d=g}if(f===i.length)return n(s,d),so&&Qs(s,f),c;if(null===d){for(;fo(m,l)?(e[a]=m,e[c]=n,a=c):(e[a]=l,e[i]=n,a=i);else{if(!(co(m,n)))break e;e[a]=m,e[c]=n,a=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var r=performance;t.unstable_now=function(){return r.now()}}else{var i=Date,l=i.now();t.unstable_now=function(){return i.now()-l}}var c=[],m=[],d=1,u=null,p=3,h=!1,f=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=a(m);null!==t;){if(null===t.callback)s(m);else{if(!(t.startTime<=e))break;s(m),t.sortIndex=t.expirationTime,n(c,t)}t=a(m)}}function k(e){if(g=!1,w(e),!f)if(null!==a(c))f=!0,P(_);else{var t=a(m);null!==t&&I(k,t.startTime-e)}}function _(e,n){f=!1,g&&(g=!1,v(C),C=-1),h=!0;var o=p;try{for(w(n),u=a(c);null!==u&&(!(u.expirationTime>n)||e&&!j());){var r=u.callback;if("function"===typeof r){u.callback=null,p=u.priorityLevel;var i=r(u.expirationTime<=n);n=t.unstable_now(),"function"===typeof i?u.callback=i:u===a(c)&&s(c),w(n)}else s(c);u=a(c)}if(null!==u)var l=!0;else{var d=a(m);null!==d&&I(k,d.startTime-n),l=!1}return l}finally{u=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,T=!1,S=null,C=-1,E=5,A=-1;function j(){return!(t.unstable_now()-A{e=n,t=a}));return n.resolve=e,n.reject=t,n}function $e(e){return null==e?"":""+e}const qe=/###/g;function Ye(e,t,n){function a(e){return e&&e.indexOf("###")>-1?e.replace(qe,"."):e}function s(){return!e||"string"===typeof e}const o="string"!==typeof t?t:t.split(".");let r=0;for(;r