diff --git a/build/asset-manifest.json b/build/asset-manifest.json new file mode 100644 index 0000000..dd26af2 --- /dev/null +++ b/build/asset-manifest.json @@ -0,0 +1,13 @@ +{ + "files": { + "main.css": "./static/css/main.1e4b6bfb.css", + "main.js": "./static/js/main.a991d9b4.js", + "index.html": "./index.html", + "main.1e4b6bfb.css.map": "./static/css/main.1e4b6bfb.css.map", + "main.a991d9b4.js.map": "./static/js/main.a991d9b4.js.map" + }, + "entrypoints": [ + "static/css/main.1e4b6bfb.css", + "static/js/main.a991d9b4.js" + ] +} \ No newline at end of file diff --git a/build/index.html b/build/index.html index 92284d3..ad61a59 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -
>>=3){case 16:for(o=3+O(e,t),t+=2,h=g[g.length-1];o-- >0;)g.push(h);break;case 17:for(o=3+P(e,t),t+=3;o-- >0;)g.push(0);break;case 18:for(o=11+I(e,t),t+=7;o-- >0;)g.push(0);break;default:g.push(h),l 0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function fp(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function gp(e,t){var n=e.l,a=e.read_shift(1),s=hp(e),o=[],r={t:s,h:s};if(0!==(1&a)){for(var i=e.read_shift(4),l=0;l!=i;++l)o.push(fp(e));r.r=o}else r.r=[{ich:0,ifnt:0}];return e.l=n+t,r}var yp=gp;function vp(e,t){var n=!1;return null==t&&(n=!0,t=Vh(23+4*e.t.length)),t.write_shift(1,1),pp(e.t,t),t.write_shift(4,1),function(e,t){t||(t=Vh(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function bp(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function wp(e,t){return null==t&&(t=Vh(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function kp(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function _p(e,t){return null==t&&(t=Vh(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var xp=hp,Tp=pp;function Sp(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Cp(e,t){var n=!1;return null==t&&(n=!0,t=Vh(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var Ep=hp,Ap=Sp,jp=Cp;function Np(e){var t=e.slice(e.l,e.l+4),n=1&t[0],a=2&t[0];e.l+=4;var s=0===a?Nh([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Fh(t,0)>>2;return n?s/100:s}function Dp(e,t){null==t&&(t=Vh(4));var n=0,a=0,s=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?a=1:s==(0|s)&&s>=-(1<<29)&&s<1<<29&&(a=1,n=1),!a)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?s:e)<<2)+(n+2))}function Op(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Pp=Op,Rp=function(e,t){return t||(t=Vh(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function Ip(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Lp(e,t){return(t||Vh(8)).write_shift(8,e,"f")}function Fp(e,t){if(t||(t=Vh(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var a=e.rgb||"FFFFFF";"number"==typeof a&&(a=("000000"+a.toString(16)).slice(-6)),t.write_shift(1,parseInt(a.slice(0,2),16)),t.write_shift(1,parseInt(a.slice(2,4),16)),t.write_shift(1,parseInt(a.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}var Mp=80,Wp={1:{n:"CodePage",t:2},2:{n:"Category",t:Mp},3:{n:"PresentationFormat",t:Mp},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Mp},15:{n:"Company",t:Mp},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Mp},27:{n:"ContentStatus",t:Mp},28:{n:"Language",t:Mp},29:{n:"Version",t:Mp},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Bp={1:{n:"CodePage",t:2},2:{n:"Title",t:Mp},3:{n:"Subject",t:Mp},4:{n:"Author",t:Mp},5:{n:"Keywords",t:Mp},6:{n:"Comments",t:Mp},7:{n:"Template",t:Mp},8:{n:"LastAuthor",t:Mp},9:{n:"RevNumber",t:Mp},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Mp},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function zp(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Up=fu(zp([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Hp={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Gp={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Vp={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function qp(e,t){var n,a=function(e){for(var t=[],n=eu(e),a=0;a!==n.length;++a)null==t[e[n[a]]]&&(t[e[n[a]]]=[]),t[e[n[a]]].push(n[a]);return t}(Gp),s=[];s[s.length]=_u,s[s.length]=Uu("Types",null,{xmlns:Ku,"xmlns:xsd":nh,"xmlns:xsi":th}),s=s.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return Uu("Default",null,{Extension:e[0],ContentType:e[1]})})));var o=function(a){e[a]&&e[a].length>0&&(n=e[a][0],s[s.length]=Uu("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:Vp[a][t.bookType]||Vp[a].xlsx}))},r=function(n){(e[n]||[]).forEach((function(e){s[s.length]=Uu("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Vp[n][t.bookType]||Vp[n].xlsx})}))},i=function(t){(e[t]||[]).forEach((function(e){s[s.length]=Uu("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:a[t][0]})}))};return o("workbooks"),r("sheets"),r("charts"),i("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(i),i("vba"),i("comments"),i("threadedcomments"),i("drawings"),r("metadata"),i("people"),s.length>2&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}var Kp={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function $p(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Yp(e){var t=[_u,Uu("Relationships",null,{xmlns:$u})];return eu(e["!id"]).forEach((function(n){t[t.length]=Uu("Relationship",null,e["!id"][n])})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Zp(e,t,n,a,s,o){if(s||(s={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,s.Id="rId"+t,s.Type=a,s.Target=n,o?s.TargetMode=o:[Kp.HLINK,Kp.XPATH,Kp.XMISS].indexOf(s.Type)>-1&&(s.TargetMode="External"),e["!id"][s.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][s.Id]=s,e[("/"+s.Target).replace("//","/")]=s,t}function Xp(e,t,n){return['
").replace(ju,(function(e){return""+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function Du(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Ou(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 yv='"}function wv(e,t){var n=t||{},a=null!=n.header?n.header:yv,s=null!=n.footer?n.footer:vv,o=[a],r=sp(e["!ref"]);n.dense=Array.isArray(e),o.push(bv(0,0,n));for(var i=r.s.r;i<=r.e.r;++i)o.push(gv(e,r,i,n));return o.push("
"+s),o.join("")}function kv(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?np(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=sp(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,h=e["!rows"]||(e["!rows"]=[]),p=0,f=0,g=0,y=0,v=0,b=0;for(e["!cols"]||(e["!cols"]=[]);po?.3:1}},a)}));return(0,To.jsx)("div",{className:P_,children:c})}z_.defaultProps={rows:[]};const U_=z_,H_="line_year_chart_month_info__Cv+xl";function G_(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($n(n.money||0,0)));const r=s?"tasks":"tasks and money";return(0,To.jsxs)("div",{className:N_,children:[(0,To.jsx)(F_,{month:n}),(0,To.jsx)(U_,{month:n,maxCommits:t.commits,showEvents:a}),(0,To.jsx)("div",{title:r,className:H_,children:o})]})}G_.defaultProps={hideMoney:!1};const V_=G_;function q_(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=A_(s,c),d=1===(null===o||void 0===o?void 0:o.length),u={tasks:new Ua,money:new Ua};m.forEach((e=>{u.tasks.update(e.tasks),u.money.update(e.money)}));const h=m.map((e=>(0,To.jsx)(V_,{max:{tasks:u.tasks.max,money:u.money.max,commits:n},month:e,showEvents:a,hideMoney:d},e.id))),p={"--day-size":"".concat(i.toFixed(1),"px")};return(0,To.jsx)("div",{ref:r,style:p,className:j_,children:h})}q_.defaultProps={showEvents:!0};const K_=q_,$_=dn((e=>{var t;let{mode:n}=e;const a=wo.dataGrip.author.statistic,s=wo.dataGrip.timestamp.statistic,o=s.commitsByTimestampCounter.max,r=null===(t=wo.dataGrip.recommendations.team)||void 0===t?void 0:t.byTimestamp;return(0,To.jsxs)(To.Fragment,{children:["fullscreen"!==n&&(0,To.jsx)(Qb,{mode:n,recommendations:r}),(0,To.jsx)(Fc,{title:"page.team.month.title"}),(0,To.jsx)(Zl,{template:"table",children:(0,To.jsx)(K_,{maxCommits:o,authors:a,wordDays:s.allCommitsByTimestamp})})]})})),Y_=$_;function Z_(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=Pb({max:ew(t,"commits"),suffix:"page.team.type.tasksSmall"});return(0,To.jsxs)(wb,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,To.jsx)(_b,{isFixed:!0,isSortable:!0,template:e=>(0,To.jsx)(fw,{task:e}),title:"page.team.tasks.task",properties:"task",width:120}),(0,To.jsx)(_b,{properties:"types",template:e=>(0,To.jsx)(rc,{value:e}),width:100}),(0,To.jsx)(_b,{properties:"scope",template:e=>(0,To.jsx)(rc,{value:e}),width:100}),(0,To.jsx)(_b,{isSortable:!0,template:(e,t)=>(0,To.jsx)(yw,{prId:null===t||void 0===t?void 0:t.prId}),properties:"task",width:40}),(0,To.jsx)(_b,{template:Qc.STRING,properties:"comments"}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.tasks.author",properties:"author",width:170}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.tasks.from",properties:"from",width:150,formatter:Vn}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.tasks.to",properties:"to",width:150,formatter:Vn}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.tasks.pr",properties:"to",width:150,formatter:Vn}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.tasks.prAuthor",properties:"prAuthor",width:170}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"commits"}),(0,To.jsx)(_b,{isSortable:!0,title:"page.team.tasks.commits",properties:"commits",minWidth:170,template:e=>(0,To.jsx)(Db,{options:o,value:e})})]})}Z_.defaultProps={response:void 0};const X_=dn((e=>{let{mode:t}=e;const n=wo.dataGrip.tasks.statistic;return null!==n&&void 0!==n&&n.length?(0,To.jsxs)(Cc,{to:"response",loader:(e,a)=>Rc({content:n,pagination:e,sort:a,mode:t}),watch:"".concat(t).concat(wo.dataGrip.hash),children:[(0,To.jsx)("br",{}),(0,To.jsx)("br",{}),(0,To.jsx)("br",{}),(0,To.jsx)(Z_,{mode:t,rowsForExcel:n}),(0,To.jsx)(Pc,{})]}):"print"!==t?(0,To.jsx)(gc,{}):null})),J_="GameBanner_game_banner__b5+Fg",Q_="GameBanner_game_banner_description__MbaLC";const ex=function(e){let{src:t,children:n}=e;return t?(0,To.jsx)("div",{className:J_,style:{backgroundImage:"url(".concat(t,")")},children:n?(0,To.jsx)("div",{className:Q_,children:n}):null}):null};function tx(e){return Math.floor(Math.random()*(e+1))}function nx(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 ax="info_races_track_info__83WxU";const sx=function(e){let{title:t,duration:n}=e;return console.log(t),(0,To.jsx)("div",{className:ax,style:{animationDelay:"".concat(n+1,"s")},children:"4"})},ox="car_races_track_car__4-hbF",rx="car_races_track_car_title__xLQOO",ix="car_races_track_car_cover__MLOUy",lx="car_races_track_car_animation__kzPcN",cx=["ease","ease-in","ease-out","ease-in-out","linear","cubic-bezier(0.1, 0.7, 1, 0.1)"];function mx(e){let{title:n,duration:a,type:s,canStart:o}=e;const r=tx(cx.length-1),[i]=(0,t.useState)(cx[r]);(0,t.useEffect)((()=>{nx(cx)}),[]);const l=o?lx:"";return(0,To.jsxs)("div",{className:"".concat(ox," ").concat(s||""," ").concat(l||""),style:{animationTimingFunction:i,animationDuration:"".concat(a,"s")},children:[(0,To.jsx)("div",{className:"".concat(rx," ").concat(s||""),children:n}),(0,To.jsx)("img",{className:ix,src:"./assets/games/races/car.png"})]})}mx.defaultProps={type:"",canStart:!1};const dx=mx,ux="styles_races__VtaYM",hx="styles_races_green__vJq+q",px="styles_races_track__OTXZ8",fx="styles_races_button__bvtiA",gx=10,yx=20;function vx(e){let{title:t,speed:n,type:a,canStart:s}=e;if(!t)return null;const o=gx+yx*(1-n)*3;return(0,To.jsxs)("div",{className:"".concat(px," ").concat(a||""),style:{backgroundImage:"url(./assets/games/races/road.png)"},children:[s&&(0,To.jsx)(sx,{title:t,duration:o}),(0,To.jsx)(dx,{title:t,duration:o,type:a,canStart:s})]})}vx.defaultProps={type:"",canStart:!1};const bx=vx;const wx=function(e){let{tracks:n}=e;const{t:a}=Bt(),[s,o]=(0,t.useState)(!1),[r]=(0,t.useState)([...nx(n)]);if(!n.length)return null;const i=r.map((e=>(0,To.jsx)(bx,{title:e.title,speed:e.speed,canStart:s},e.title)));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(ex,{src:"./assets/games/races/bg.png",children:!s&&(0,To.jsx)(jo,{className:fx,onClick:()=>{o(!0)},children:a("uiKit.races.go")})}),(0,To.jsx)("div",{className:hx,style:{backgroundImage:"url(./assets/games/races/greenTop.png)"}}),(0,To.jsx)("div",{className:ux,children:i}),(0,To.jsx)("div",{className:hx,style:{backgroundImage:"url(./assets/games/races/greenBottom.png)"}})]})},kx="styles_show_symbol_wrapper__CF9a1",_x="styles_show_symbol__ABylg",xx="styles_show_symbol_s__ukgag",Tx="styles_show_symbol_hide__SAUag",Sx="styles_show_symbol_bg__UXOUQ",Cx="styles_show_symbol_bg_hide__qEC99";const Ex=function(e){let{show:n,children:a,mode:s}=e;const[o,r]=(0,t.useState)(!1);(0,t.useEffect)((()=>{r(n)}),[n]);const i=o?Tx:"",l=o?Cx:"",c={"table-row":xx}[s||""]||"";return(0,To.jsxs)("div",{className:"".concat(_x," ").concat(i," ").concat(c),children:[a,(0,To.jsx)("div",{className:"".concat(Sx," ").concat(l),onClick:()=>r(!0)})]})};const Ax=function(e){let{children:t,onClick:n,mode:a}=e;const s={"table-row":xx}[a||""]||"";return(0,To.jsx)("div",{className:"".concat(_x," ").concat(Tx," ").concat(s),onClick:()=>n(),children:t})};const jx=function(e){let{text:n,length:a,mode:s}=e;const[o,r]=(0,t.useState)(!1);if((0,t.useEffect)((()=>{r(!1)}),[n]),!n&&!a)return null;const i=function(e,t){const n=(e||"").split(""),a=t?t-1:n.length-1;return n.length-1>a&&(n[a]="\u2026"),n}(n,a),l=((a?new Array(a).fill(1):null)||i).map(((e,t)=>(0,To.jsx)(Ex,{mode:s,show:o,children:i[t]||""},"".concat(n,"|").concat(e,"|").concat(t))));return(0,To.jsxs)("div",{className:"".concat(kx),style:{paddingTop:"table-row"===s?"8px":0},children:[l,(0,To.jsx)(Ax,{mode:s,onClick:()=>r(!0),children:"\xbb"})]})},Nx="track_swimming_pool_track__Pi+9u",Dx="track_swimming_pool_track_value__crbBH",Ox="track_swimming_pool_track_line__93r0Q",Px="track_swimming_pool_track_chart__Caa5Q",Rx="track_swimming_pool_track_man__GPkAm";function Ix(e,t){return t?{className:e,style:{backgroundImage:"url(".concat(t,")")}}:{className:e}}const Lx=function(e){let{title:t,value:n,maxValue:a}=e;if(!t)return null;const s=1.1*a/100,o=Math.ceil(n/s);return(0,To.jsxs)("div",{...Ix(Nx,"./assets/games/swimmingPool/track_title.png"),children:[(0,To.jsx)(jx,{text:t,length:10}),(0,To.jsx)("div",{...Ix(Dx,"./assets/games/swimmingPool/block.png"),children:n}),(0,To.jsx)("div",{...Ix(Ox,"./assets/games/swimmingPool/water.png"),children:(0,To.jsx)("div",{className:Px,style:{width:"".concat(o,"%")},children:(0,To.jsx)("img",{className:Rx,src:"./assets/games/swimmingPool/man.png"})})})]})},Fx="styles_swimming_pool_top_border__ul57s",Mx="styles_swimming_pool_bottom_border__MVEyy";const Wx=function(e){let{tracks:n}=e;const[a]=(0,t.useState)([...nx(n)]);if(!n.length)return null;const s=a.map((e=>(0,To.jsx)(Lx,{title:e.title,value:e.value,maxValue:300},e.title)));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(ex,{src:"./assets/games/swimmingPool/bg.png"}),(0,To.jsx)("div",{className:Fx,style:{backgroundImage:"url(./assets/games/swimmingPool/block2.png)"}}),s,(0,To.jsx)("div",{className:Mx,style:{backgroundImage:"url(./assets/games/swimmingPool/block2.png)"}})]})},Bx={quiz_result_title:"result_quiz_result_title__nXjLv",quiz_result_description:"result_quiz_result_description__qbj7p"},zx={quiz_container:"styles_quiz_container__M2XFf",quiz_cloud:"styles_quiz_cloud__+7wpo",quiz_cloud_bg:"styles_quiz_cloud_bg__nWu9Q",quiz_slider:"styles_quiz_slider__Ot+b-",quiz_slider_animation:"styles_quiz_slider_animation__E90I-",quiz_footer:"styles_quiz_footer__fVgz6",quiz_title:"styles_quiz_title__qnA9f",quiz_description:"styles_quiz_description__BIeom",quiz_icon:"styles_quiz_icon__3SHFo"};const Ux=function(e){let{result:t,onClick:n}=e;return(0,To.jsxs)("section",{className:Bx.quiz_result,children:[(0,To.jsx)("h4",{className:zx.quiz_title,children:t.title}),(0,To.jsx)("p",{className:zx.quiz_description,children:t.description}),(0,To.jsx)("div",{className:zx.quiz_footer,children:(0,To.jsx)(jo,{onClick:()=>{n()},children:"Replay"})})]})},Hx="answer_quiz_answer__EwZhy",Gx="answer_quiz_answer_wrapper__K9cQA",Vx="answer_quiz_answer_wrapper_small__6cbHL",qx="answer_quiz_answer_icon__82bgB",Kx="answer_quiz_answer_text__fvCwR",$x="answer_quiz_answer_text_selected__heF++",Yx="answer_quiz_answer_text_correct__IaL2y",Zx="answer_quiz_answer_text_error__hwu1C";const Xx=function(e){let{answer:n,mode:a,onClick:s}=e;const[o]=(0,t.useState)(tx(5)),r=[Gx],i=[Kx];return"small"!==a&&"error"!==a||r.push(Vx),"selected"===a&&i.push($x),"correct"===a&&i.push(Yx),"error"===a&&i.push(Zx),(0,To.jsx)("div",{className:r.join(" "),children:(0,To.jsxs)("figure",{className:Hx,onClick:()=>{s()},children:[(0,To.jsx)("img",{className:qx,src:"./assets/games/quiz/balloon_".concat(o,".png")}),(0,To.jsx)("figcaption",{className:i.join(" "),children:n.title})]})})},Jx={quiz_question_title:"question_quiz_question_title__1bocM",quiz_question_answer:"question_quiz_question_answer__E3gmJ"};function Qx(e,t){return(e||[]).map((e=>null!==e&&void 0!==e&&e.score?"correct":null!==e&&void 0!==e&&e.score||e!==t?"small":"error"))}const eT=function(e){let{question:n,onClick:a}=e;const[s,o]=(0,t.useState)(null),[r,i]=(0,t.useState)(!1),[l,c]=(0,t.useState)([]),m=n.answers||[];if((0,t.useEffect)((()=>{c([]),o(null),i(!1)}),[n]),!n)return null;const d=m.map(((e,t)=>(0,To.jsx)(Xx,{mode:l[t],answer:e,onClick:()=>{if(!r){if(s!==e){const n=[];return n[t]="selected",c(n),void o(e)}i(!0),setTimeout((()=>{c(Qx(m,s))}),1e3),setTimeout((()=>{a(s)}),3e3)}}},"".concat(e.id||"","|").concat(e.title))));return(0,To.jsx)("div",{className:Jx.quiz_question,children:(0,To.jsxs)("div",{className:Jx.quiz_question_body,children:[(0,To.jsx)("div",{className:zx.quiz_title,style:{backgroundImage:"url(./assets/games/quiz/cloud_big.png)"},children:n.title}),(0,To.jsx)("div",{className:zx.quiz_question_answer,children:d}),(0,To.jsx)("div",{className:zx.quiz_footer,children:(0,To.jsx)(jo,{disabled:r,onClick:()=>{i(!0),setTimeout((()=>{c(Qx(m,s))}),1e3),setTimeout((()=>{a(s)}),3e3)},children:n.button||"Next question"})})]})})},tT={};const nT=function(e){let{quiz:t,onClick:n}=e;return(0,To.jsxs)("section",{className:tT.quiz_start,children:[(0,To.jsx)("h4",{className:zx.quiz_title,children:t.title}),(0,To.jsx)("p",{className:zx.quiz_description,children:t.description}),(0,To.jsx)("div",{className:zx.quiz_footer,children:(0,To.jsx)(jo,{onClick:()=>{n()},children:t.button||"GO"})})]})};const aT=function(e){let{quiz:n,onEnd:a}=e;const[s,o]=(0,t.useState)(n.questions[0]),[r,i]=(0,t.useState)(n.results[0]),[l,c]=(0,t.useState)([]),[m,d]=(0,t.useState)("start"),[u,h]=(0,t.useState)(!1),p=function(e,t){return n=>{e(!0),setTimeout((()=>{n()}),t/2),setTimeout((()=>{e(!1)}),t)}}(h,1500),f=function(e){const t={},n={};return e.forEach(((e,a)=>{null!==e&&void 0!==e&&e.id&&(t[null===e||void 0===e?void 0:e.id]=e),n[a]=e,e.index=a})),{byId:t,byIndex:n}}(n.questions);let g=null;"start"===m&&(g=(0,To.jsx)(nT,{quiz:n,onClick:()=>{p((()=>{d("question")}))}})),"question"===m&&(g=(0,To.jsx)(eT,{question:s,onClick:e=>{const t=f.byId[e.nextQuestionId||""],a=f.byIndex[s.index+1],r=function(e,t){const n=e.reduce(((e,t)=>e+(t.score||0)),0);let a=t[0];return t.forEach((e=>{(e.min&&e.max&&n>=e.min&&n<=e.max||e.min&&!e.max&&n>=e.min||!e.min&&e.max&&n<=e.max)&&(a=e)})),a}(l,n.results);c([...l,e]),e.isEnd&&p((()=>{i(r),d("result")})),e.nextQuestionId&&t?p((()=>{o(t)})):p(a?()=>{o(a)}:()=>{i(r),d("result")})}})),"result"===m&&(g=(0,To.jsx)(Ux,{result:r,onClick:()=>{p((()=>{a(),o(n.questions[0]),c([]),d("start")}))}}));const y=u?"".concat(zx.quiz_slider," ").concat(zx.quiz_slider_animation):zx.quiz_slider;return(0,To.jsxs)("div",{className:zx.quiz_container,style:{backgroundImage:"url(./assets/games/quiz/cloud_bg.png)"},children:[(0,To.jsx)("div",{className:zx.quiz_cloud_bg,style:{backgroundImage:"url(./assets/games/quiz/cloud_bg.png)"}}),(0,To.jsx)("div",{className:zx.quiz_cloud,style:{backgroundImage:"url(./assets/games/quiz/cloud.png)"}}),(0,To.jsx)("div",{className:y,children:g})]})},sT={title:"\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u043e\u0442\u0434\u0435\u043b\u0430",icon:"./assets/games/wheel.jpg",description:"\u0422\u0435\u043a\u0441\u0442 \u0441 \u043a\u0430\u043a\u0438\u043c \u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043d\u0430 \u0442\u0440\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043d\u0442\u0440\u0438\u0433\u0443\u044e\u0442 \u0438 \u043c\u0430\u043d\u044f\u0442 \u043f\u0440\u043e\u0439\u0442\u0438 \u044d\u0442\u043e\u0442 \u0443\u043d\u044b\u043b\u044b\u0439 \u043a\u0432\u0438\u0437 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u0438.",questions:[{title:"\u0421\u043a\u043e\u043b\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u043b Anatoliy?",answers:[{title:"17",icon:"./assets/games/wheel.jpg",score:0},{title:"23",icon:"./assets/games/wheel.jpg",score:1},{title:"29",icon:"./assets/games/wheel.jpg",score:0}]},{title:"Albert \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442 \u0447\u0430\u0449\u0435 Marrie?",answers:[{title:"\u0414\u0430",icon:"./assets/games/wheel.jpg",score:0},{title:"\u041d\u0435\u0442",icon:"./assets/games/wheel.jpg",score:1}]},{title:"\u0421\u0430\u043c\u043e\u0435 \u0434\u043b\u0438\u043d\u043d\u043e\u0435 commit message \u043e\u0441\u0442\u0430\u0432\u0438\u043b:",answers:[{title:"Kolya Elow",icon:"./assets/games/wheel.jpg",score:0},{title:"Subrine Titan",icon:"./assets/games/wheel.jpg",score:0},{title:"Grebenshikov Muz TV",icon:"./assets/games/wheel.jpg",score:1}]}],results:[{title:"\u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c, \u043f\u044b\u0442\u043a\u0430 \u043e\u043a\u043e\u043d\u0447\u0435\u043d\u0430",icon:"./assets/games/wheel.jpg",description:"\u0412\u044b \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u0432\u0438\u0437 \u0438 \u0433\u043e\u0442\u043e\u0432\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0442\u0437\u044b\u0432 \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u0434\u0432\u0430 \u0438\u043b\u0438 \u0442\u0440\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f.",min:0,max:60}]};const oT=function(e){let{}=e;return(0,To.jsx)(aT,{quiz:sT,onEnd:()=>{}})},rT=dn((()=>{const e=wo.dataGrip.author.statistic.filter((e=>!e.isStaff)),t=e.map((e=>e.taskInDay)),n=Math.max(...t),a=e.map((e=>({title:e.author,speed:e.taskInDay/n}))),s=[...e].sort(((e,t)=>t.maxMessageLength-e.maxMessageLength)).map((e=>({title:e.author,value:e.maxMessageLength})));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(oT,{}),(0,To.jsx)(wx,{tracks:a}),(0,To.jsx)(Fc,{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,To.jsx)(Wx,{tracks:s})]})})),iT=rT;const lT=function(){return(0,To.jsx)("div",{style:{pageBreakAfter:"always",breakAfter:"always"},children:" "})};function cT(e,t,n,a,s,o){const r=Math.abs(s-o)>180?1:0,i=(n,a)=>function(e,t,n,a){const s=a*Math.PI/180;return[e+n*Math.cos(s),t+n*Math.sin(s)]}(e,t,n,a).map((e=>e.toPrecision(5))).join(",");return["M".concat(i(n,s)),"A".concat(n,",").concat(n,",0,").concat(r,",1,").concat(i(n,o)),"L".concat(i(a,o)),"A".concat(a,",").concat(a,",0,").concat(r,",0,").concat(i(a,s)),"Z"].join("")}const mT="PieSVG_pie_svg__mDKRu",dT="PieSVG_pie_svg_sector__NIcy9";function uT(e){let{options:t,parts:n,center:a}=e;const s=(a||72)/100*49;let o=0;const r=n.map((e=>{const n=t.color.get(e.title).first,a=360*e.width/100,r=Math.min(o+a,360),i=cT(50,50,s,50,o+-90,r+-90);return o+=a,(0,To.jsx)("path",{style:{fill:n},d:i,className:dT,children:(0,To.jsx)("title",{children:"".concat(e.title," ").concat(e.description||"")})},e.title)}));return(0,To.jsx)("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",className:mT,children:r})}uT.defaultProps={className:""};const hT=uT,pT="PieChart_pie_chart__9AHjv",fT="PieChart_pie_chart_data__iKrW1",gT="PieChart_pie_chart_icon__4VF68",yT="PieChart_pie_chart_legend__SzWES",vT="PieChart_pie_chart_line__NFQ2x",bT="PieChart_pie_chart_color__oRdh3",wT="PieChart_pie_chart_percent__HMOyT",kT="PieChart_pie_chart_text__u9VHo";const _T=function(e){let{parts:t,options:n}=e;const{t:a}=Bt(),s=t.map((e=>(0,To.jsxs)("p",{className:vT,children:[(0,To.jsx)("span",{className:bT,style:{backgroundColor:n.color.get(e.title).first}}),(0,To.jsx)("span",{className:wT,children:"".concat(e.width,"%")}),(0,To.jsx)("span",{className:kT,children:a(e.title)})]},e.title)));return(0,To.jsx)("div",{className:yT,children:s})};function xT(e){let{title:t,options:n,value:a,details:s,center:o,className:r}=e;if(0===a)return null;const i=s||function(e,t){return{a:e,b:t-e}}(a||100,n.max||100),l=Tb(i,n);return(0,To.jsxs)("div",{className:"".concat(pT," ").concat(r||""),children:[(0,To.jsx)(Fc,{title:t||""}),(0,To.jsxs)("div",{className:fT,children:[(0,To.jsx)("div",{className:gT,children:(0,To.jsx)(hT,{parts:l,options:n,center:o})}),(0,To.jsx)(_T,{parts:l,options:n})]})]})}xT.defaultProps={value:void 0,details:void 0,className:"",title:""};const TT=xT;const ST=function(){const{t:e}=Bt(),t=wo.dataGrip.pr.statistic,n=fs.getPRByGroups(t,"workDays"),a=Pb({order:n.order,limit:3,suffix:"page.team.pr.tasks"}),s=fs.getPRByGroups(t,"delayDays"),o=Pb({order:s.order,limit:3,suffix:"PR"}),r=Math.round(n.weightedAverage),i=Math.round(s.weightedAverage),l=r+i,c=Pb({order:["page.team.pr.word","page.team.pr.delay"],suffix:"page.team.pr.days"});return console.log(l.toFixed(1)),(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(TT,{title:"page.team.pr.workDays",options:a,details:n.details}),(0,To.jsx)(TT,{title:"page.team.pr.middleTimeRelease",options:c,details:{"page.team.pr.work":r,"page.team.pr.delay":i}})]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(TT,{title:"page.team.pr.delayDays",options:o,details:s.details}),(0,To.jsx)(jr,{text:e("page.team.pr.description1")}),(0,To.jsx)(jr,{text:e("page.team.pr.description2")}),(0,To.jsx)(jr,{text:e("page.team.pr.description3")})]})]})};function CT(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=Pb({order:["page.team.pr.chart.1day","page.team.pr.chart.3day","page.team.pr.chart.7day","page.team.pr.chart.14day","page.team.pr.chart.30day","page.team.pr.chart.more"],limit:3}),r=Pb({max:ew(t,"weightedAverage"),order:["page.team.pr.work","page.team.pr.delay"],suffix:"page.team.pr.days"});return(0,To.jsxs)(wb,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,fullScreenMode:"author",children:[(0,To.jsx)(_b,{isSortable:!0,template:Qc.STRING,title:"page.team.pr.author",properties:"author",width:250}),(0,To.jsx)(_b,{title:"page.team.pr.workDays",properties:"workDays",template:e=>(0,To.jsx)(Db,{options:o,details:e})}),(0,To.jsx)(_b,{title:"page.team.pr.delayDays",properties:"delayDays",template:e=>(0,To.jsx)(Db,{options:o,details:e})}),(0,To.jsx)(_b,{properties:"weightedAverage",template:Qc.SHORT_NUMBER}),(0,To.jsx)(_b,{title:"page.team.pr.middleTimeRelease",properties:"weightedAverageDetails",width:300,template:(e,t)=>(0,To.jsx)(Db,{options:r,value:t.weightedAverage,details:{"page.team.pr.work":e.workDays,"page.team.pr.delay":e.delayDays}})})]})}CT.defaultProps={response:void 0};const ET=CT;function AT(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=Pb({max:ew(t,"workDays")}),r=Pb({max:ew(t,"delayDays")}),i=Pb({max:ew(t,"commits"),order:wo.dataGrip.author.list});return(0,To.jsxs)(wb,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?2:void 0,fullScreenMode:"all",children:["print"===s?(0,To.jsx)(_b,{isSortable:!0,title:"page.team.pr.task",properties:"task",width:120}):(0,To.jsx)(_b,{isSortable:!0,template:(e,t)=>(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(fw,{task:e}),(0,To.jsx)(yw,{prId:null===t||void 0===t?void 0:t.prId})]}),title:"page.team.pr.task",properties:"task",width:120}),(0,To.jsx)(_b,{isSortable:!0,template:Qc.STRING,title:"page.team.pr.firstCommitTime",properties:"beginTaskTime",formatter:Vn,width:130}),(0,To.jsx)(_b,{isSortable:!0,template:Qc.STRING,title:"page.team.pr.lastCommitTime",properties:"endTaskTime",formatter:Vn,width:130}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"workDays",width:40}),(0,To.jsx)(_b,{isSortable:!0,title:"page.team.pr.all.workDays",properties:"workDays",minWidth:100,template:e=>(0,To.jsx)(Db,{options:o,value:e})}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"commits",width:40}),(0,To.jsx)(_b,{isSortable:!0,title:"page.team.pr.commits",properties:"commitsByAuthors",minWidth:100,template:e=>(0,To.jsx)(Db,{options:i,details:e})}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"delayDays",width:40}),(0,To.jsx)(_b,{isSortable:!0,title:"page.team.pr.all.delayDays",properties:"delayDays",minWidth:200,template:e=>(0,To.jsx)(Db,{options:r,value:e})}),(0,To.jsx)(_b,{isSortable:!0,template:Qc.STRING,title:"page.team.pr.date",properties:"milliseconds",formatter:Vn,width:130}),(0,To.jsx)(_b,{isSortable:!0,template:Qc.STRING,title:"page.team.pr.mergeAuthor",properties:"author",width:250})]})}AT.defaultProps={mode:void 0,response:void 0};const jT=AT,NT=dn((e=>{let{mode:t}=e;const n=wo.dataGrip.pr.statistic.filter((e=>e.delayDays>3));if((null===n||void 0===n?void 0:n.length)<2)return"print"!==t?(0,To.jsx)(gc,{}):null;const a=wo.dataGrip.pr.statisticByName,s=Object.values(a);return(0,To.jsxs)(To.Fragment,{children:[!di.isOpen&&(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.team.pr.oneTaskDays"}),(0,To.jsx)(ST,{})]}),di.isOpen&&"author"!==di.mode?null:(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.team.pr.statByAuthors"}),(0,To.jsxs)(Cc,{to:"response",loader:(e,n)=>Rc({content:s,pagination:e,sort:n,mode:t}),children:[(0,To.jsx)(ET,{mode:t,rowsForExcel:s}),(0,To.jsx)(Pc,{})]})]}),(0,To.jsx)(lT,{}),di.isOpen&&"all"!==di.mode?null:(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.team.pr.longDelay"}),(0,To.jsxs)(Cc,{to:"response",loader:(e,a)=>Rc({content:n,pagination:"print"===t?{size:20}:e,sort:a}),children:[(0,To.jsx)(jT,{mode:t,rowsForExcel:n}),"print"!==t&&(0,To.jsx)(Pc,{})]})]})]})})),DT="table-of-contents_table_of_contents__Becki",OT="table-of-contents_table_of_contents_title__3qPIE",PT="table-of-contents_table_of_contents_item__6hX4X";const RT=function(e){let{titles:t}=e;const{t:n}=Bt(),a=(t||[]).map((e=>(0,To.jsx)("a",{className:PT,href:"#".concat(e),children:n(e||"")},e)));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{className:OT,title:"page.print.tableOfContents"}),(0,To.jsx)("nav",{className:DT,children:a})]})},IT="cover_cover__VAtbV",LT="cover_cover_title__l1TfU",FT="cover_cover_sub_title__u8Khz",MT=dn((()=>{const{t:e}=Bt();return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsxs)("div",{className:IT,children:[(0,To.jsx)("h1",{className:LT,children:e("page.print.title")}),(0,To.jsx)("h2",{className:FT,children:document.title}),(0,To.jsx)(RT,{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,To.jsx)(jr,{text:e("page.print.description")})]}),(0,To.jsx)(e_,{}),(0,To.jsx)(lT,{}),(0,To.jsx)(ek,{mode:"print"}),(0,To.jsx)(lT,{}),(0,To.jsx)(sw,{mode:"print"}),(0,To.jsx)(lT,{}),(0,To.jsx)(__,{mode:"print"}),(0,To.jsx)(lT,{}),(0,To.jsx)(NT,{mode:"print"}),(0,To.jsx)(lT,{}),(0,To.jsx)(S_,{mode:"print"}),(0,To.jsx)(lT,{}),(0,To.jsx)(Y_,{mode:"print"}),(0,To.jsx)(zw,{mode:"print"}),(0,To.jsx)(Xw,{mode:"print"})]})})),WT=MT;function BT(e){let{response:t,updateSort:n,rowsForExcel:a,mode:s}=e;if(!t)return null;const o=ew(t,"delayInDays"),r=ew(t,"waitingInDays"),i=Pb({max:Math.max(o,r),suffix:"page.team.release.chart"});return(0,To.jsxs)(wb,{rowsForExcel:a,rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,To.jsx)(_b,{isFixed:!0,template:Qc.DETAILS,width:40,formatter:e=>{const t=e.pr.map((e=>{var t,n,a;return null===wo||void 0===wo||null===(t=wo.dataGrip)||void 0===t||null===(n=t.pr)||void 0===n||null===(a=n.pr)||void 0===a?void 0:a[e.prId]})).filter((e=>null===e||void 0===e?void 0:e.firstCommit));return(0,To.jsx)(jT,{response:{content:t}})}}),(0,To.jsx)(_b,{isFixed:!0,template:Qc.STRING,title:"page.team.release.title",properties:"title",width:200}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.release.from",width:150,properties:"from",formatter:Vn}),(0,To.jsx)(_b,{template:Qc.STRING,title:"page.team.release.to",width:150,properties:"to",formatter:Vn}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,title:"page.team.release.prLength",properties:"prLength"}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"delayInDays"}),(0,To.jsx)(_b,{isSortable:!0,title:"page.team.release.delay",properties:"delayInDays",width:170,minWidth:170,template:e=>(0,To.jsx)(Db,{options:i,value:e})}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"waitingInDays"}),(0,To.jsx)(_b,{isSortable:!0,title:"page.team.release.waiting",properties:"waitingInDays",width:170,minWidth:170,template:e=>(0,To.jsx)(Db,{options:i,value:e})})]})}BT.defaultProps={response:void 0};const zT=dn((e=>{let{mode:t}=e;const n=wo.dataGrip.release.statistic;return(null===n||void 0===n?void 0:n.length)<2?"print"!==t?(0,To.jsx)(gc,{}):null:(0,To.jsxs)(To.Fragment,{children:["print"===t?(0,To.jsx)(Fc,{title:"sidebar.team.extension"}):(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)("br",{}),(0,To.jsx)("br",{}),(0,To.jsx)("br",{})]}),(0,To.jsxs)(Cc,{to:"response",loader:e=>Rc({content:n,pagination:e,mode:t}),watch:"".concat(t).concat(wo.dataGrip.hash),children:[(0,To.jsx)(BT,{mode:t,rowsForExcel:n}),(0,To.jsx)(Pc,{})]})]})})),UT=dn((e=>{let t,{page:n}=e;return di.isOpen&&(t="fullscreen"),ll.processing&&(t="print"),"total"===n?(0,To.jsx)(e_,{}):"scope"===n?(0,To.jsx)(ek,{mode:t}):"author"===n?(0,To.jsx)(sw,{mode:t}):"type"===n?(0,To.jsx)(__,{mode:t}):"pr"===n?(0,To.jsx)(NT,{mode:t}):"day"===n?(0,To.jsx)(Hk,{}):"week"===n?(0,To.jsx)(S_,{mode:t}):"month"===n?(0,To.jsx)(Y_,{mode:t}):"hours"===n?(0,To.jsx)(zw,{mode:t}):"files"===n?(0,To.jsx)(p_,{}):"removedFiles"===n?(0,To.jsx)(p_,{type:"removed"}):"extension"===n?(0,To.jsx)(b_,{mode:t}):"release"===n?(0,To.jsx)(zT,{mode:t}):"commits"===n?(0,To.jsx)(Cw,{}):"changes"===n?(0,To.jsx)(Aw,{}):"words"===n?(0,To.jsx)(Xw,{mode:t}):"building"===n?(0,To.jsx)(iT,{}):"print"===n?(0,To.jsx)(WT,{}):"tasks"===n?(0,To.jsx)(X_,{}):(0,To.jsx)(e_,{})}));function HT(){const{type:e}=Q();return e&&"team"!==e?null:(0,To.jsx)(Vl,{getViewById:e=>(0,To.jsx)(UT,{page:e})})}const GT=dn((e=>{let{filters:n,onChange:a}=e;const{type:s,page:o,userId:r}=Q(),i=J(),l=parseInt(r||"0",10)||0,c=wo.dataGrip.author.list.map(((e,t)=>({id:t,title:e}))),m=wo.dataGrip.timestamp.statistic.allCommitsByTimestamp||[],d=(0,t.useMemo)((()=>Wk(m)),[m]);return(0,To.jsxs)("div",{className:Fk,children:[(0,To.jsx)(Lk,{title:"page.team.tree.filters.author",value:l,className:Mk,options:c,onChange:e=>{i("/".concat(s,"/").concat(o,"/").concat(e))}}),"day"===o?(0,To.jsx)(Lk,{reverse:!0,title:"page.team.tree.filters.author",value:(null===n||void 0===n?void 0:n.week)||m[m.length-1].week,className:Mk,options:d.reverse(),onChange:e=>{a({...n,week:e})}}):null]})})),VT=GT,qT=dn((e=>{let{user:t}=e;const n=wo.dataGrip.timestamp.statisticByAuthor[t.author];return(0,To.jsx)(Ew,{statistic:n})})),KT=dn((e=>{let{user:t}=e;const n=wo.dataGrip.timestamp.statisticByAuthor[t.author];return(0,To.jsx)(Sw,{statistic:n})})),$T=dn((e=>{let{user:t}=e;return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.person.hours.title"}),(0,To.jsx)(Zl,{template:"table",children:(0,To.jsx)(Ww,{statistic:t})})]})}));const YT=function(){const{t:e}=Bt();return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)("p",{className:mc,children:e("uiKit.nothingFound.staff.title")}),(0,To.jsx)("p",{className:dc,children:e("uiKit.nothingFound.staff.description1")}),(0,To.jsx)("p",{className:dc,children:e("uiKit.nothingFound.staff.description2")})]})},ZT=dn((e=>{let{user:t}=e;const n=t,a=wo.dataGrip.timestamp.statisticByAuthor[n.author],s=n.tasks.length;return n.isStaff?(0,To.jsx)(gc,{children:(0,To.jsx)(YT,{})}):(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.money.title.total"}),(0,To.jsxs)("div",{children:[(0,To.jsx)(Jk,{value:$n(n.moneyAll),icon:"./assets/cards/money_total.png",title:"page.person.money.moneyAll.title",description:"page.person.money.moneyAll.description"}),(0,To.jsx)(Jk,{value:$n(n.moneyWorked),icon:"./assets/cards/money_work.png",title:"page.person.money.moneyWorked.title",description:"page.person.money.moneyWorked.description"}),(0,To.jsx)(Jk,{value:$n(n.moneyLosses),icon:"./assets/cards/money_lazy.png",title:"page.person.money.moneyLosses.title",description:"page.person.money.moneyLosses.description"}),(0,To.jsx)(Jk,{value:$n(a.weekendPayment),icon:"./assets/cards/money_holidays.png",title:"page.team.total.weekendPayment.title",description:"page.team.total.weekendPayment.description"})]})]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.money.title.middle"}),0===s?(0,To.jsx)(gc,{}):(0,To.jsxs)("div",{children:[(0,To.jsx)(Jk,{long:!0,value:s?$n(n.moneyWorked/s,0):null,icon:"./assets/cards/money_task.png",title:"page.person.money.tasks.title",description:"page.person.money.tasks.description"}),(0,To.jsx)(Jk,{long:!0,value:s?$n(n.moneyWorked/n.commits,0):null,icon:"./assets/cards/money_work.png",title:"page.person.money.commits.title",description:"page.person.money.commits.description"})]})]})]})})),XT=dn((e=>{let{user:t,mode:n}=e;const a=t.wordStatistics;return(0,To.jsx)(Zw,{mode:n,statistic:a})}));function JT(e){let{long:t=!1}=e;const n=t?Vk:Gk;return(0,To.jsx)(Lb,{className:"".concat(n," ").concat(Zk)})}JT.defaultProps={long:!1};const QT=JT,eS=dn((e=>{let{user:t}=e;const n=t,a=wo.dataGrip.timestamp.statisticByAuthor[n.author],s=n.tasks.length;return n.isStaff?(0,To.jsx)(gc,{children:(0,To.jsx)(YT,{})}):(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.speed.task"}),0===s?(0,To.jsx)(gc,{}):(0,To.jsxs)("div",{children:[(0,To.jsx)(Jk,{value:n.daysForTask&&s?Yn(n.daysForTask):null,icon:"./assets/cards/month.png",title:"page.person.speed.days.title",description:"page.person.speed.days.description"}),(0,To.jsx)(Jk,{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,To.jsx)(Jk,{value:s?n.changesForTask:null,icon:"./assets/cards/lines.png",title:"page.person.speed.line.title",description:"page.person.speed.line.description"}),(0,To.jsx)(QT,{})]})]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.speed.max"}),(0,To.jsxs)("div",{children:[(0,To.jsx)(Jk,{long:!0,value:a.tasksByTimestampCounter.max,icon:"./assets/cards/tasks.png",title:"page.person.speed.tasks.title",description:"page.person.speed.tasks.description"}),(0,To.jsx)(Jk,{long:!0,value:a.commitsByTimestampCounter.max,icon:"./assets/cards/commits.png",title:"page.person.speed.maxCommits.title",description:"page.person.speed.maxCommits.description"})]})]})]})})),tS={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 nS=function(e){let{code:t}=e;const{t:n}=Bt();if(!bn[t])return null;const a=n("achievements.".concat(t,".title")),s=n("achievements.".concat(t,".description")),o=[tS.achievement_good,tS.achievement_middle,tS.achievement_bad][bn[t]-1];return(0,To.jsxs)("div",{className:tS.achievement,children:[(0,To.jsx)("div",{className:tS.achievement_icon_container,children:(0,To.jsx)("div",{className:"".concat(tS.achievement_icon," ").concat(o||""),children:(0,To.jsx)("img",{className:tS.achievement_icon_svg,src:"./assets/achievements/".concat(t,".svg")})})}),(0,To.jsx)("div",{className:tS.achievement_title,children:a}),(0,To.jsx)("div",{className:tS.achievement_description,children:s})]})};const aS=function(e){let{list:t}=e;const n=null===t||void 0===t?void 0:t.map((e=>(0,To.jsx)(nS,{code:e},e)));return(0,To.jsx)("div",{className:tS.achievement_container,children:n})};const sS="styles_get_list__xuTNI",oS="styles_get_list_container__YnNGO",rS="styles_get_list_title__J-b47",iS="styles_get_list_icon__I4DqV",lS="styles_get_list_big_number__RbCn9",cS="styles_get_list_task__ZHFFW",mS="styles_get_list_pr__sE+Qx",dS="styles_get_list_date__rcfNx";const uS=function(e){var t;let{commit:n,mode:a}=e;const s=((null===(t=n.taskNumber)||void 0===t?void 0:t.length)||1)>5?lS:"",o=Os.pr.prByTask[n.task];return(0,To.jsxs)("div",{className:sS,children:[(0,To.jsxs)("div",{className:rS,children:[(0,To.jsx)(fw,{task:n.task,className:cS}),"print"!==a&&(0,To.jsx)(yw,{text:"pull request",prId:o,className:mS})]}),(0,To.jsx)("div",{className:"".concat(iS," ").concat(s),children:n.taskNumber}),(0,To.jsx)("div",{className:dS,children:Vn(n.date)})]})};const hS=function(e){let{list:t,mode:n}=e;const a=null===t||void 0===t?void 0:t.map((e=>(0,To.jsx)(uS,{commit:e,mode:n},e.taskNumber)));return(0,To.jsx)("div",{className:oS,children:a})};function pS(e){let{title:t,achievements:n}=e;const{t:a}=Bt();return null!==n&&void 0!==n&&n.length?(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(jr,{text:"# ".concat(a(t))}),(0,To.jsx)(aS,{list:n})]}):null}const fS=dn((e=>{let{user:t}=e;const{t:n}=Bt(),a=t,s=wo.dataGrip.get.getsByAuthor[t.author],o=a.tasks.length,r=Dn.authors[a.author];return(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.total.title"}),(0,To.jsxs)("div",{children:[(0,To.jsx)(Jk,{value:a.daysWorked,icon:"./assets/cards/work_days.png",title:"page.person.total.daysWorked.title",description:"page.person.total.daysWorked.description"}),(0,To.jsx)(Jk,{value:o||null,icon:"./assets/cards/tasks.png",title:"page.person.total.tasks.title",description:"page.person.total.tasks.description"}),(0,To.jsx)(Jk,{value:a.daysLosses,icon:"./assets/cards/lazy.png",title:"page.team.total.daysLosses.title",description:"page.team.total.daysLosses.description"}),(0,To.jsx)(Jk,{value:a.commits,icon:"./assets/cards/commits.png",title:"page.team.total.commits.title",description:"page.team.total.commits.description"}),(0,To.jsx)(QT,{long:!0})]}),!1,!1]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.achievement.title"}),(0,To.jsx)(pS,{title:"page.person.achievement.positive",achievements:r[gn-1]}),(0,To.jsx)(pS,{title:"page.person.achievement.normal",achievements:r[yn-1]}),(0,To.jsx)(pS,{title:"page.person.achievement.negative",achievements:r[vn-1]}),(0,To.jsx)(jr,{text:n("page.person.achievement.description")}),(0,To.jsx)("br",{}),(0,To.jsx)("br",{}),null!==s&&void 0!==s&&s.length?(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.person.gets.title"}),(0,To.jsx)(hS,{list:s}),(0,To.jsx)(jr,{text:n("page.person.gets.description")})]}):null]})]})})),gS=fS;function yS(e){let{response:t,updateSort:n,name:a,mode:s}=e;if(!t)return null;const o=Pb({max:ew(t,"authors",a),order:wo.dataGrip.type.list}),r=Pb({max:7,order:["page.person.week.workDay","page.person.week.weekends"],suffix:"page.person.week.days"}),i=Pb({max:ew(t,"taskInDay",a)});return(0,To.jsxs)(wb,{rows:t.content,sort:t.sort,updateSort:n,type:"print"===s?"cards":void 0,columnCount:"print"===s?3:void 0,children:[(0,To.jsx)(_b,{isFixed:!0,template:Qc.STRING,title:"page.person.week.date",properties:"timestamp",formatter:Zn,width:200}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"authors",formatter:e=>e[a]||0}),(0,To.jsx)(_b,{title:"page.person.week.tasks",template:e=>(0,To.jsx)(Db,{options:o,value:e.authors[a],details:e.typeByAuthor[a]}),width:200}),(0,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"workDays",formatter:e=>e[a]||0}),(0,To.jsx)(_b,{title:"page.person.week.workDays",template:e=>{let[t,n]=e;return(0,To.jsx)(Db,{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,To.jsx)(_b,{template:Qc.SHORT_NUMBER,properties:"taskInDay",formatter:e=>Yn(e[a]||0)}),(0,To.jsx)(_b,{title:"page.person.week.taskInDay",properties:"taskInDay",template:e=>(0,To.jsx)(Db,{options:i,value:e[a]}),width:200})]})}yS.defaultProps={response:void 0};const vS=dn((e=>{var t;let{user:n,mode:a}=e;const s=n,o=wo.dataGrip.week.statistic.filter((e=>e.authors[s.author]));if(null===o||void 0===o||!o.length)return(0,To.jsx)(gc,{});const r=null===(t=wo.dataGrip.recommendations.person)||void 0===t?void 0:t.byWeek[s.author];return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Qb,{mode:a,recommendations:r}),(0,To.jsxs)(Cc,{to:"response",loader:(e,t)=>Rc({content:o,pagination:e,sort:t}),children:[(0,To.jsx)(yS,{name:s.author,mode:a}),"print"!==a&&(0,To.jsx)(Pc,{})]})]})})),bS=vS,wS=dn((e=>{let{user:t}=e;const n=t,a=wo.dataGrip.timestamp.statisticByAuthor[n.author],s=a.commitsByTimestampCounter.max;return(0,To.jsx)(Zl,{template:"table",children:(0,To.jsx)(K_,{showEvents:!1,maxCommits:s,authors:[n],wordDays:a.allCommitsByTimestamp})})})),kS=dn((e=>{let{user:t,mode:n}=e;const a=wo.dataGrip.tasks.statistic.filter((e=>e.author===t.author||(e.authors||[]).includes(t.author)));return null!==a&&void 0!==a&&a.length?(0,To.jsxs)(Cc,{to:"response",loader:(e,t)=>Rc({content:a,pagination:e,sort:t,mode:n}),watch:"".concat(n).concat(wo.dataGrip.hash).concat(t.author),children:[(0,To.jsx)(Z_,{mode:n,rowsForExcel:a}),(0,To.jsx)(Pc,{})]}):"print"!==n?(0,To.jsx)(gc,{}):null}));function _S(e){let{response:t,user:n}=e;return t?(0,To.jsx)(Rk,{days:t.content,author:n}):null}_S.defaultProps={response:void 0};const xS=dn((e=>{let{user:t,filters:n}=e;const a=wo.dataGrip.timestamp.statistic.allCommitsByTimestamp||[];if(null===a||void 0===a||!a.length)return(0,To.jsx)(gc,{});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,To.jsx)(To.Fragment,{children:(0,To.jsx)(Zl,{template:"table",children:(0,To.jsxs)(Cc,{to:"response",loader:()=>Rc({content:s}),watch:JSON.stringify(n),children:[(0,To.jsx)(_S,{user:t.author}),(0,To.jsx)(Pc,{})]})})}):(0,To.jsx)(gc,{})})),TS="print_place_for_photo__WPPt6",SS=dn((e=>{let{user:t}=e;const{t:n}=Bt(),a=t,s=a.tasks.length;return(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(Jk,{value:"",icon:"./assets/cards/work_days.png",title:"page.person.print.photo.title"}),(0,To.jsx)("div",{className:TS,children:n("page.person.print.photo.description")})]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:a.author}),(0,To.jsxs)("div",{children:[(0,To.jsx)(Jk,{value:a.daysWorked,icon:"./assets/cards/work_days.png",title:"page.person.total.daysWorked.title",description:"page.person.total.daysWorked.description"}),(0,To.jsx)(Jk,{value:s||null,icon:"./assets/cards/tasks.png",title:"page.person.total.tasks.title",description:"page.person.total.tasks.description"}),(0,To.jsx)(Jk,{value:a.daysLosses,icon:"./assets/cards/lazy.png",title:"page.team.total.daysLosses.title",description:"page.team.total.daysLosses.description"}),(0,To.jsx)(Jk,{value:a.commits,icon:"./assets/cards/commits.png",title:"page.team.total.commits.title",description:"page.team.total.commits.description"})]})]})]})})),CS=SS;function ES(e){let{title:t,achievements:n}=e;return null!==n&&void 0!==n&&n.length?(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(jr,{text:"# ".concat(t)}),(0,To.jsx)(aS,{list:n})]}):null}const AS=dn((e=>{let{user:t}=e;const{t:n}=Bt(),a=t,s=wo.dataGrip.get.getsByAuthor[a.author],o=Dn.authors[a.author];return(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:"page.person.achievement.title"}),(0,To.jsx)(ES,{title:"page.person.achievement.positive",achievements:o[gn-1]})]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(Fc,{title:n("_")}),(0,To.jsx)(ES,{title:"page.person.achievement.normal",achievements:o[yn-1]}),(0,To.jsx)(ES,{title:"page.person.achievement.negative",achievements:o[vn-1]}),(0,To.jsx)("br",{}),(0,To.jsx)("br",{}),null!==s&&void 0!==s&&s.length?(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.person.gets.title"}),(0,To.jsx)(hS,{mode:"print",list:s}),(0,To.jsx)(jr,{text:n("page.person.gets.description")})]}):null]})]})})),jS=AS,NS=dn((e=>{let{user:t}=e;const{t:n}=Bt();return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsxs)("div",{className:IT,children:[(0,To.jsx)("h1",{className:LT,children:n("page.print.title")}),(0,To.jsx)("h2",{className:FT,children:t.author}),(0,To.jsx)(RT,{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,To.jsx)(jr,{text:n("page.print.description")})]}),(0,To.jsx)(lT,{}),(0,To.jsx)(CS,{user:t}),(0,To.jsx)(eS,{user:t}),(0,To.jsx)(ZT,{user:t}),(0,To.jsx)(lT,{}),(0,To.jsx)(jS,{user:t}),(0,To.jsx)(lT,{}),(0,To.jsx)($T,{user:t}),(0,To.jsx)(bS,{user:t,mode:"print"}),(0,To.jsx)(lT,{}),(0,To.jsx)(wS,{user:t}),(0,To.jsx)(XT,{user:t,mode:"print"})]})})),DS=NS;const OS=dn((e=>{let{userId:n}=e;const{t:a}=Bt(),{type:s,page:o,userId:r}=Q(),i=wo.dataGrip.timestamp.statistic.allCommitsByTimestamp||[],l=i.length?i[i.length-1].week:0,[c,m]=(0,t.useState)({week:l}),d=wo.dataGrip.author.statistic[n||r||0];if("person"!==s||!d)return null;const u=function(e,t){return function(n){let a;return di.isOpen&&(a="fullscreen"),ll.processing&&(a="print"),"total"===n?(0,To.jsx)(gS,{user:e}):"money"===n?(0,To.jsx)(ZT,{user:e}):"week"===n?(0,To.jsx)(bS,{user:e,mode:a}):"month"===n?(0,To.jsx)(wS,{user:e}):"hours"===n?(0,To.jsx)($T,{user:e}):"commits"===n?(0,To.jsx)(KT,{user:e}):"changes"===n?(0,To.jsx)(qT,{user:e}):"words"===n?(0,To.jsx)(XT,{user:e,mode:a}):"speed"===n?(0,To.jsx)(eS,{user:e}):"day"===n?(0,To.jsx)(xS,{user:e,filters:t}):"print"===n?(0,To.jsx)(DS,{user:e}):"tasks"===n?(0,To.jsx)(kS,{user:e}):(0,To.jsx)(gS,{user:e})}}(d,c);return(0,To.jsxs)(To.Fragment,{children:["print"!==o&&(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:a("common.filters")}),(0,To.jsx)(VT,{filters:c,onChange:m})]}),(0,To.jsx)(Vl,{getViewById:u})]})})),PS=OS,RS=dn((()=>{const e=wo.dataGrip.author.statistic,t=Object.entries(e).filter((e=>{let[,t]=e;return!t.isStaff})).map((e=>{let[t,n]=e;return(0,To.jsx)(DS,{user:n},t)}));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(WT,{}),t]})})),IS="Console_console__5nFvk",LS="Console_console_header__XP1IR",FS="Console_console_body__5PXuM",MS="Console_console_header_icon__oXixF",WS="Console_console_copy__LHjsv";function BS(e){let{className:t,textForCopy:n,children:a}=e;return(0,To.jsxs)("div",{className:"".concat(IS," ").concat(t||""),children:[(0,To.jsxs)("div",{className:"".concat(LS),children:[(0,To.jsx)("span",{className:"".concat(MS)}),(0,To.jsx)("span",{className:"".concat(MS)}),(0,To.jsx)("span",{className:"".concat(MS)})]}),(0,To.jsx)("div",{className:"".concat(FS),children:a||n}),n?(0,To.jsx)(jo,{mode:"second",className:"".concat(WS),onClick:()=>{Dr(n),Nr.Z.show((0,xe.t)("uiKit.console.notification"))},children:(0,xe.t)("uiKit.console.button")}):null]})}BS.defaultProps={textForCopy:void 0,children:void 0,className:""};const zS=BS,US="styles_welcome__owZYZ",HS="styles_welcome_console__dmg4D",GS="styles_welcome_row__rormW",VS="styles_welcome_warning__sf+kx",qS="styles_welcome_warning_text__vMmIf",KS="styles_welcome_description__lB3jg",$S="styles_welcome_first_title__zay7R",YS="styles_welcome_last_title__Ef7FS",ZS="styles_welcome_title_link__csDka";function XS(){return(0,To.jsxs)("h4",{className:VS,children:[(0,To.jsx)(jr,{text:(0,xe.t)("page.welcome.warning1"),className:qS}),(0,To.jsx)(jr,{text:(0,xe.t)("page.welcome.warning2"),className:qS})]})}const JS=function(){const e=window.ym;return(0,To.jsxs)(To.Fragment,{children:[e&&(0,To.jsx)(XS,{}),(0,To.jsx)("section",{className:US,children:(0,To.jsxs)("div",{className:GS,children:[(0,To.jsx)("h2",{className:$S,children:(0,xe.t)("page.welcome.step1")}),(0,To.jsx)(zS,{className:HS,textForCopy:'git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%aN>%aE>%s" > log.txt\n'}),(0,To.jsx)(jr,{text:(0,xe.t)("page.welcome.description"),className:"".concat(KS)}),(0,To.jsxs)("h2",{className:YS,children:["page.welcome.step2"===(0,xe.t)("page.welcome.step2")?"":(0,xe.t)("page.welcome.step2"),(0,To.jsxs)("label",{className:ZS,children:[(0,xe.t)("page.welcome.step3"),(0,To.jsx)("input",{multiple:!0,type:"file",style:{display:"none"},onChange:async e=>{const t=Array.from(e.target.files),n=await(0,ko.BE)(t),a=(0,ko.IM)(n);wo.setCommits(a)}})]}),(0,xe.t)("page.welcome.step4")]})]})})]})};const QS=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=Ao(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,To.jsx)("button",{className:Co.ui_kit_button_menu,onClick:()=>{i&&i(e),m(!1)},children:o},n)}));return(0,To.jsx)(To.Fragment,{children:(0,To.jsxs)("button",{title:n,className:"".concat(Co.ui_kit_button," ").concat(d||""," ").concat(o||""),style:{position:"relative"},onClick:()=>{m(!c)},children:[l,c&&(0,To.jsx)("div",{className:Co.ui_kit_dialog,children:u})]})})};const eC=function(e){let{columns:t,className:n,children:a}=e;return(0,To.jsx)("div",{className:"".concat(Mi," ").concat(n||""),style:{columnCount:t||2},children:a})},tC="switch_ui_kit_switch__ITpXv",nC="switch_ui_kit_switch_item__oGEAZ",aC="switch_ui_kit_switch_item_selected__poF9E",sC="switch_ui_kit_switch_item_disabled__7Inlc";const oC=function(e){let{title:t,description:n,help:a,error:s,className:o,disabled:r,multiple:i,value:l,options:c,onChange:m}=e;const d=l||0===l||!1===l;let u=l;d&&!Array.isArray(l)&&(u=[l]);const h=(c||[]).map(((e,t)=>{var n,a;const s="object"!==typeof e?{id:e,title:e}:e,o=d&&u.includes(null===s||void 0===s?void 0:s.id),l=[nC];return o&&l.push(aC),r&&l.push(sC),(0,To.jsx)("button",{className:l.join(" "),onClick:()=>{if(!m)return;let e=[null===s||void 0===s?void 0:s.id];i&&(e=o?u.filter((e=>e!==(null===s||void 0===s?void 0:s.id))):[...u,null===s||void 0===s?void 0:s.id].sort()),m(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,To.jsx)(Hi,{title:t,description:n,help:a,error:s,className:o,children:(0,To.jsx)("div",{className:tC,children:h})})};function rC(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,To.jsx)(Hi,{title:t,description:n,help:a,error:s,className:o,children:(0,To.jsx)("input",{type:"date",value:c,placeholder:i,className:Gi,onChange:e=>{l&&l("".concat(e.target.value,"T00:00:00.000Z"))}})})}rC.defaultProps={placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"};const iC=rC;const lC=function(e){let{salary:n,index:a,onChange:s,onRemove:o}=e;const[r,i]=(0,t.useState)(!1);return(0,To.jsxs)("div",{className:Zi.salary,children:[(0,To.jsx)(Fc,{title:xe.Z.get("page.settings.user.subTitle",a),className:r?"":Zi.salary_title}),(0,To.jsx)("div",{className:Zi.salary_icons,children:(0,To.jsx)("img",{className:Zi.salary_icons_item,src:"./assets/list/arrow.svg",onClick:()=>i(!r)})}),r&&(0,To.jsxs)(To.Fragment,{children:[(0,To.jsxs)(eC,{children:[(0,To.jsx)(iC,{title:"page.settings.user.from",value:null===n||void 0===n?void 0:n.from,onChange:e=>{s({...n,from:e})}}),(0,To.jsx)(oC,{disabled:!0,title:"page.settings.common.workDaysInWeek",value:n.workDaysInWeek,options:[1,2,3,4,5,6,7],onChange:e=>{s({...n,workDaysInWeek:e})}})]}),(0,To.jsxs)(eC,{children:[(0,To.jsx)(n_,{title:"page.settings.common.salary",value:null===n||void 0===n?void 0:n.value,onChange:e=>{s({...n,value:e})}}),(0,To.jsx)(oC,{disabled:!0,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,To.jsxs)(eC,{children:[(0,To.jsx)(n_,{title:"page.settings.common.workDaysInYear",value:null===n||void 0===n?void 0:n.workDaysInYear,onChange:e=>{s({...n,workDaysInYear:e})}}),(0,To.jsx)(n_,{title:"page.settings.common.vacationDaysInYear",value:null===n||void 0===n?void 0:n.vacationDaysInYear,onChange:e=>{s({...n,vacationDaysInYear:e})}})]}),(0,To.jsx)("div",{className:Zi.salary_footer,children:(0,To.jsx)(jo,{mode:"second",onClick:()=>Kr.open().then((()=>o())),children:xe.Z.get("page.settings.form.remove")})})]})]})};const cC=function(e){let{user:t,onChange:n,onRemove:a}=e;const s=t.salary.map(((e,a)=>(0,To.jsx)(lC,{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,To.jsxs)(Jl,{className:Zi.user,onRemove:()=>Kr.open().then((()=>a())),children:[(0,To.jsx)(Fc,{title:(null===t||void 0===t?void 0:t.name)||"",className:Zi.user_title}),s,(0,To.jsx)("div",{className:Zi.user_footer,children:(0,To.jsx)(jo,{mode:"slim",onClick:()=>{n({...t,salary:[...t.salary,Pn(_i.state)]})},children:xe.Z.get("page.settings.form.addContract")})})]})},mC=dn((()=>{const e=_i.state.defaultSalary;return e?(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.settings.common.title"}),(0,To.jsxs)(Jl,{children:[(0,To.jsx)(oC,{disabled:!0,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=>{_i.updateState("defaultSalary.type",null===e||void 0===e?void 0:e.id)}}),(0,To.jsx)(oC,{disabled:!0,multiple:!0,title:"page.settings.common.workDaysInWeek",value:e.workDaysInWeek.map(((e,t)=>e?t+1:null)),options:[{id:1,title:Un(0,"short")},{id:2,title:Un(1,"short")},{id:3,title:Un(2,"short")},{id:4,title:Un(3,"short")},{id:5,title:Un(4,"short")},{id:6,title:Un(5,"short")},{id:7,title:Un(6,"short")}],onChange:e=>{const t=new Array(7).fill(0).map(((t,n)=>e.includes(n+1)));console.log(t),_i.updateState("defaultSalary.workDaysInWeek",t)}}),(0,To.jsxs)(eC,{children:[(0,To.jsx)(n_,{title:"page.settings.common.salary",value:e.value,onChange:e=>{_i.updateState("defaultSalary.value",e)}}),(0,To.jsx)(n_,{disabled:!0,title:"page.settings.common.tax",value:e.tax,onChange:e=>{_i.updateState("defaultSalary.tax",e)}})]}),(0,To.jsxs)(eC,{children:[(0,To.jsx)(n_,{title:"page.settings.common.workDaysInYear",value:e.workDaysInYear,onChange:e=>{_i.updateState("defaultSalary.workDaysInYear",e)}}),(0,To.jsx)(n_,{title:"page.settings.common.vacationDaysInYear",value:e.vacationDaysInYear,onChange:e=>{_i.updateState("defaultSalary.vacationDaysInYear",e)}})]}),(0,To.jsx)(oC,{title:"page.settings.common.currency",value:e.currency,options:["USD","EUR","RUB","CNY","JPY","KRW","CAD"],onChange:e=>{_i.updateState("defaultSalary.currency",e)}})]})]}):null})),dC=mC,uC=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,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.settings.document.title"}),(0,To.jsxs)(Jl,{children:[(0,To.jsx)(Ac,{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"),yo.C.title=!0}}),(0,To.jsx)(Yi,{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)}})]})]})})),hC=dn((()=>{var e,t;return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.settings.links.title"}),(0,To.jsxs)(Jl,{children:[(0,To.jsx)(Ac,{title:"page.settings.links.task",value:null===(e=_i.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=>{_i.updateState("linksPrefix.task",e)}}),(0,To.jsx)(Ac,{title:"page.settings.links.pr",value:_i.state.linksPrefix.pr,placeholder:"https://bitbucket.com/projects/assayo/repos/frontend/pull-requests/",onChange:e=>{_i.updateState("linksPrefix.pr",e)}})]})]})}));const pC=function(){const e=wo.dataGrip.author.statistic.map((e=>"".concat(e.author," <").concat(e.firstCommit.email,"> <").concat(e.firstCommit.email,">"))).sort(),t=e.map((e=>(0,To.jsx)("p",{children:e},e))),n=e.join("\r\n");return(0,To.jsx)("div",{className:Zi.races_track,children:(0,To.jsx)(zS,{textForCopy:n,children:t})})},fC=dn((e=>{const t=_i.state.employees;if(!e||!t)return null;const n=t.map((e=>e.name)),a=wo.dataGrip.author.list.filter((e=>!n.includes(e))).map(((e,t)=>({id:t,title:e}))),s=_i.state.employees.map((e=>(0,To.jsx)(cC,{user:e,onChange:n=>{const a=t.map((t=>t.id===e.id?n:t));_i.updateState("employees",a)},onRemove:()=>{const n=t.filter((t=>t.id!==e.id));_i.updateState("employees",n)}},e.id)));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsxs)(Zl,{children:[(0,To.jsxs)(ec,{children:[(0,To.jsx)(uC,{}),(0,To.jsx)(dC,{})]}),(0,To.jsxs)(ec,{children:[(0,To.jsx)(hC,{}),(0,To.jsx)(Fc,{title:"page.settings.mailmap"}),(0,To.jsx)(pC,{})]})]}),(0,To.jsxs)(Zl,{children:[(0,To.jsx)(Fc,{title:"page.settings.user.title"}),t.length>0?s:(0,To.jsx)(gc,{message:"page.settings.user.notFound"}),a.length&&(0,To.jsx)("div",{className:Zi.buttons_footer,children:(0,To.jsx)(QS,{options:a,onClick:e=>{_i.updateState("employees",[...t,Rn(null===e||void 0===e?void 0:e.title,_i.state,null===n||void 0===n?void 0:n.length)])},children:xe.Z.get("page.settings.form.addEmployee")})})]})]})})),gC=dn((()=>(0,To.jsx)(Cc,{to:"response",loader:()=>Ln.loadSettings().then((e=>(_i.setInitState(e),Promise.resolve(e)))),children:(0,To.jsx)(fC,{})})));function yC(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}):yC(a,t)}return t}const vC=function(){const e=yC(xe.Z.translations[xe.Z.language].recommendations).map((e=>(0,To.jsx)(Yb,{recommendation:e},e[1]))),t=Object.entries(bn).sort(((e,t)=>e[1]-t[1])).map((e=>{let[t]=e;return(0,To.jsx)(nS,{code:t},t)}));return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Fc,{title:"page.person.achievement.title"}),(0,To.jsx)("div",{style:{columnCount:3,marginBottom:"24px"},children:t}),(0,To.jsx)("section",{children:e})]})};function bC(e){let{showSplashScreen:t}=e;return(0,To.jsxs)(To.Fragment,{children:[(0,To.jsx)(Ir,{}),(0,To.jsx)($r,{}),(0,To.jsxs)(de,{children:[(0,To.jsx)(ce,{path:"/settings",element:(0,To.jsx)(Ml,{children:(0,To.jsx)(gC,{})})}),(0,To.jsx)(ce,{path:"/debug",element:(0,To.jsx)(Ml,{children:(0,To.jsx)(vC,{})})}),(0,To.jsx)(ce,{path:"/print",element:(0,To.jsx)(Ml,{children:(0,To.jsx)(RS,{})})}),(0,To.jsx)(ce,{path:"/:type/:page",element:(0,To.jsx)(Ml,{children:(0,To.jsx)(HT,{})})}),(0,To.jsx)(ce,{path:"/:type/:page/:userId",element:(0,To.jsx)(Ml,{children:(0,To.jsx)(PS,{})})}),(0,To.jsx)(ce,{path:"*",element:(0,To.jsx)(Ml,{children:(0,To.jsx)(HT,{})})})]}),t&&(0,To.jsx)(qr,{})]})}function wC(){return(0,To.jsx)(de,{children:(0,To.jsx)(ce,{path:"*",element:(0,To.jsx)(JS,{})})})}const kC=dn((()=>{const[e,n]=(0,t.useState)(!0),a=wo.status;return(0,t.useEffect)((()=>{var e;wo.setCommits((null===(e=window)||void 0===e?void 0:e.report)||[])}),[]),(0,t.useEffect)((()=>{a!==vo.DONE||window.location.hash||(window.location.hash="#/team/total")}),[a]),a===vo.PROCESSING?null:(0,To.jsxs)(To.Fragment,{children:[a===vo.DONE&&(0,To.jsx)(bC,{showSplashScreen:e}),a===vo.WAITING&&(0,To.jsx)(wC,{}),(0,To.jsx)(So,{onChange:(e,t)=>{n(!1),"dump"===e&&wo.setCommits(t),setTimeout((()=>{n(!0)}))}})]})})),_C=kC,xC="styles_notifications__87i8g",TC="styles_notifications_item__5QkTA",SC="styles_notifications_item_icon__DfYX+",CC="styles_notifications_item_error__scoxJ",EC="styles_notifications_item_warning__L7TAD",AC="styles_notifications_item_success__Kkmlt",jC="styles_notifications_item_info__i59W4",NC="styles_notifications_item_title__nX-MS",DC="styles_notifications_item_description__ehatL";const OC=function(e){let{message:t}=e;const n={error:CC,warning:EC,success:AC,info:jC}[t.type||"success"]||jC,a={error:"./assets/notifications/alert.svg",warning:"./assets/notifications/warning.svg",success:"./assets/notifications/info.svg",info:"./assets/notifications/info.svg"}[t.type||"info"]||"./assets/notifications/info.svg";return(0,To.jsxs)("div",{className:"".concat(TC," ").concat(n),children:[(0,To.jsx)("img",{className:SC,src:a}),t.title&&(0,To.jsx)("h6",{className:NC,children:t.title}),t.description&&(0,To.jsx)("p",{className:DC,children:t.description})]})},PC=dn((()=>{const e=Nr.Z.messages.map((e=>(0,To.jsx)(OC,{message:e},e.id)));return a.createPortal((0,To.jsx)("div",{className:xC,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",je),xe.Z.parse("ru",Ne),xe.Z.parse("zh",De),(0,yo.Z)((e=>{!function(e){const t=e||localStorage.getItem("language")||Ht||"en";xe.Z.language=t,vt.use(Rt).init({lng:t,debug:!1,resources:Ut})}(e.lang||e.language),rr.setUrlParameters(e),Mn.loadUserSettings().then((()=>{window.onafterprint=()=>{ll.endPrint()},(0,a.render)((0,To.jsx)(t.StrictMode,{children:(0,To.jsxs)(ve,{children:[(0,To.jsx)(_C,{}),(0,To.jsx)(PC,{})]})}),document.getElementById("root"))}))}))})()})();
-//# sourceMappingURL=main.0f40bdf3.js.map
diff --git a/build/static/js/main.a991d9b4.js b/build/static/js/main.a991d9b4.js
new file mode 100644
index 0000000..3cc0886
--- /dev/null
+++ b/build/static/js/main.a991d9b4.js
@@ -0,0 +1,3 @@
+/*! For license information please see main.a991d9b4.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(console.log(s),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})},122:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(98),s=n(289);class o{constructor(){this.timer=null,this.limit=6,this.messages=[],(0,a.rC)(this,{messages:a.LO,show:a.aD,startClearTimer:a.aD})}static getTime(){return(new Date).getTime()}show(e){this.messages.push({id:o.getTime(),title:s.Z.get((null===e||void 0===e?void 0:e.title)||e||"common.notifications.save"),description:(null===e||void 0===e?void 0:e.description)||"",type:(null===e||void 0===e?void 0:e.type)||"success"}),this.messages.length>this.limit&&this.messages.shift(),this.startClearTimer()}startClearTimer(){this.timer||(this.timer=setInterval((()=>{const e=o.getTime()-3500;this.messages=this.messages.filter((t=>(null===t||void 0===t?void 0:t.id)>e)),this.messages.length||(clearInterval(this.timer),this.timer=null)}),500))}}const r=new o},289:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,t:()=>h});var a=n(274),s=n(359),o=(0,s.Z)("addInTranslate"),r=(0,s.Z)("createPathByKey"),i=(0,s.Z)("addInObject");function l(e,t){const n=e.split(".");let a=this.translations;for(let s=0,o=n.length;sa&&(a=i.dependenciesState_)}n.length=s,e.newObserving_=null,o=t.length;for(;o--;){var l=t[o];0===l.diffValue_&&mt(l,e),l.diffValue_=0}for(;s--;){var c=n[s];1===c.diffValue_&&(c.diffValue_=0,ct(c,e))}a!==He.UP_TO_DATE_&&(e.dependenciesState_=a,e.onBecomeStale_())}(e),at(a),s}function Je(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)mt(t[n],e);e.dependenciesState_=He.NOT_TRACKING_}function Qe(e){var t=et();try{return e()}finally{tt(t)}}function et(){var e=lt.trackingDerivation;return lt.trackingDerivation=null,e}function tt(e){lt.trackingDerivation=e}function nt(e){var t=lt.allowStateReads;return lt.allowStateReads=e,t}function at(e){lt.allowStateReads=e}function st(e){if(e.dependenciesState_!==He.UP_TO_DATE_){e.dependenciesState_=He.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=He.UP_TO_DATE_}}var ot=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},rt=!0,it=!1,lt=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(rt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ot).version&&(rt=!1),rt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ot):(setTimeout((function(){it||a(35)}),1),new ot)}();function ct(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function mt(e,t){e.observers_.delete(t),0===e.observers_.size&&dt(e)}function dt(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,lt.pendingUnobservations.push(e))}function ut(){lt.inBatch++}function ht(){if(0===--lt.inBatch){vt();for(var e=lt.pendingUnobservations,t=0;t",Tt=X(kt),St=X("action.bound",{bound:!0}),Ct=X(_t,{autoAction:!0}),Et=X("autoAction.bound",{autoAction:!0,bound:!0});function At(e){return function(t,n){return y(t)?Le(t.name||xt,t,e):y(n)?Le(t,n,e):v(n)?U(t,n,e?Ct:Tt):v(t)?z(X(e?_t:kt,{name:t,autoAction:e})):void 0}}var jt=At(!1);Object.assign(jt,Tt);var Nt=At(!0);function Dt(e){return y(e)&&!0===e.isMobxAction}function Ot(e,t){var n,a;void 0===t&&(t=d);var s,o=null!=(n=null==(a=t)?void 0:a.name)?n:"Autorun";if(!t.scheduler&&!t.delay)s=new gt(o,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var r=Rt(t),i=!1;s=new gt(o,(function(){i||(i=!0,r((function(){i=!1,s.isDisposed_||s.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(s)}return s.schedule_(),s.getDisposer_()}Object.assign(Nt,Ct),jt.bound=z(St),Nt.bound=z(Et);var Pt=function(e){return e()};function Rt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Pt}var It="onBO";function Lt(e,t,n){return Ft("onBUO",e,t,n)}function Ft(e,t,n,a){var s="function"===typeof a?Qn(t,n):Qn(t),o=y(a)?a:n,r=e+"L";return s[r]?s[r].add(o):s[r]=new Set([o]),function(){var e=s[r];e&&(e.delete(o),0===e.size&&delete s[r])}}var Mt="always";function Wt(e){!0===e.isolateGlobalState&&function(){if((lt.pendingReactions.length||lt.inBatch||lt.isRunningReactions)&&a(36),it=!0,rt){var e=o();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),lt=new ot}}();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(lt.useProxies=t===Mt||"never"!==t&&"undefined"!==typeof Proxy),"ifavailable"===t&&(lt.verifyProxies=!0),void 0!==n){var s=n===Mt?Mt:"observed"===n;lt.enforceActions=s,lt.allowStateChanges=!0!==s&&s!==Mt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(lt[t]=!!e[t])})),lt.allowStateReads=!lt.observableRequiresReaction,e.reactionScheduler&&function(e){var t=yt;yt=function(n){return e((function(){return t(n)}))}}(e.reactionScheduler)}function Bt(e,t,n,a){var s=D(t),o=Fn(e,a)[H];ut();try{A(s).forEach((function(e){o.extend_(e,s[e],!n||(!(e in n)||n[e]))}))}finally{ht()}return e}function zt(e,t){return Ut(Qn(e,t))}function Ut(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Ut)),n}var Ht=0;function Gt(){this.message="FLOW_CANCELLED"}Gt.prototype=Object.create(Error.prototype);var Vt=te("flow"),Kt=te("flow.bound",{bound:!0}),qt=Object.assign((function(e,t){if(v(t))return U(e,t,Vt);var n=e,a=n.name||"f?(g=d,d=null):g=d.sibling;var y=h(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&&Js(s,f),c;if(null===d){for(;f