B2VAHDYSPO7POKVPB2UBFJ2RFKMDUINBWXNBBXS4UL3LXBOYMDTAC
BYVNJI7UUHLRECHFPANFHBW5MTI6P335HTWZWNZABC3CHGXE3MCQC
Q4BYGYNX3UZXX47EMX2GWX6M6ICSMIMCLQ7HVOYS4HB4RHYI4NEQC
7QS7R2ORWCZMTCE3SD5PJ5ZL27N3RS7YCWBHXH3JDPTHDQ3KBAMQC
HXRDRHIVGSBEAMTKJFZK43MSB53BKON6F77AARUQNWFUPSTZSBPAC
62OPHDLT2IIHK2OEH76NWB6V7E2Z5USUBNHB4X3DP2XLDI3YHY7QC
GGREOYIRZE2GH62X7YXQA7IUSSB25ENLQ5OKVJYWPNI462DP37FAC
BZWC6XMOUXEPOI7P65MREJZ45TSQRFMMR2SQ7LML7RMCKUL57VHAC
}
function HotfixTooltip({ hotfixes, id }: { id: string; hotfixes: EncounterHotfix[] }) {
const desc = <dl>{hotfixes.filter(h => h.description).map((h, ix) => (<Change date={h.applicationDate} messages={h.description!} key={ix} />))}</dl>;
return <ReactTooltip id={id} type="light" backgroundColor="#fffffc" borderColor="#ccc" border effect="solid" className="hotfix-tooltip">{desc}</ReactTooltip>;
const weekViews = Object.entries(logsToWeeks(logs, props.region))
.map(([week, logs]) => <WeekOverview key={week} week={parseInt(week)} logs={logs} hotfixes={weekHotfixes(logs[0].startTime, props.region, data.hotfixes, parseInt(week) === 1)} />);
const weekData = logsToWeeks(logs, props.region);
const weekViews = Object.entries(weekData)
.map(([week, logs]) => <WeekOverview key={week} week={parseInt(week)} logs={logs} hotfixes={(week === '1') ? [] : weekHotfixes(logs[0].startTime, props.region, data.hotfixes, false)} />);
<EncounterStatColumn team={props.team} encounterId={props.encounterId} difficulty={props.difficulty} />
<EncounterStatColumn team={props.team} encounterId={props.encounterId} difficulty={props.difficulty} preHotfixes={weekHotfixes(weekData[1][0].startTime, props.region, data.hotfixes, true)} />