{"version":3,"file":"js/scripts_react_shared_components_Table_utils_js.js?_t=83db2cf0ff71d34fdb0a","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AAAA;AAGA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAAA;AAGA;AAEA;AACA;AACA;AAAA;AACA;AAGA;AACA;;;;;;;;;;;;;;;;;;;ACrCA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAQA;AAEA;;;;;;;;;;;;;;;;ACtBA;;;;;;;;;;;;;;;;;;ACAA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAiBA;AAEA;;;;;;;;;;;;;;;;AC3BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAAA;AAGA;AACA;AAEA;AACA;AACA;AAAA;AAEA;AACA;AAAA;AAEA;AAAA;AAEA;AAAA;AAEA;AAAA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AAGA;AACA;AAEA;AAGA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AAIA;AAEA;AAGA;AAEA;AAEA;AACA;AAAA;AACA;AAGA;AACA;AAEA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AAEA;AAEA;AAAA;AACA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AAEA;AAGA;AACA;AAAA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAGA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAIA;AAEA;AAgBA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AACA;AAQA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AACA;AAGA;AAEA;AACA;AAGA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAEA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAqBA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAOA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAwBA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAMA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAKA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA;AAEA;AAAA;AAGA;AAAA;AACA;AACA;AACA;AAGA;AACA;AAEA;AACA;AAEA;AAEA;AAIA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAGA;AAAA;AAAA;AACA;AAAA;AAAA;AAcA;AAEA;AACA;AACA;AAKA;AAEA;AACA;AACA;AAKA;AAEA;AACA;AAEA;AACA;AAOA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAEA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAIA;AAAA;AAAA;AACA;AAAA;AAAA;AAQA;AAEA;AACA;AAGA;AAEA;AACA;AACA;AAAA;AAGA;AACA;AAAA;AAEA;AAAA;AAEA;AAEA;AACA;AAGA;AAEA;AACA;AACA;AAAA;AAGA;AACA;AAAA;AAEA;AAAA;AAEA;AAEA;AACA;AACA;AAAA;AAGA;AACA;AAAA;AAEA;AAAA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAGA;AAEA;AACA;AAGA;AAEA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AAAA;AAGA;AACA;AAAA;AAGA;AACA;AAEA;AACA;AACA;AAQA;;;;;;;;;;;;;;;;ACrmGA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAKA;AAGA;AAGA;AAEA;;;;;;;;;;;;;;;;ACvBA;;;;;;;;;;;;;;;;ACAA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAKA;AAGA;AAGA;AAEA;;;;;;;;;;;;;;;;ACvBA;;;;;;;;;;;;;;;;ACAA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAKA;AAGA;AAGA;AAEA;;;;;;;;;;;;;;;;ACvBA","sources":["webpack://@mlssoccer/netcore/./scripts/react/mls-standings-form-guide/utils.js","webpack://@mlssoccer/netcore/./scripts/react/shared/components/ClubLogo/ClubLogo.js","webpack://@mlssoccer/netcore/./scripts/react/shared/components/ClubLogo/index.js","webpack://@mlssoccer/netcore/./scripts/react/shared/components/ClubName/ClubName.js","webpack://@mlssoccer/netcore/./scripts/react/shared/components/ClubName/index.js","webpack://@mlssoccer/netcore/./scripts/react/shared/components/Table/utils.js","webpack://@mlssoccer/netcore/./scripts/react/shared/svg/IndicatorDown/IndicatorDown.js","webpack://@mlssoccer/netcore/./scripts/react/shared/svg/IndicatorDown/index.js","webpack://@mlssoccer/netcore/./scripts/react/shared/svg/IndicatorUp/IndicatorUp.js","webpack://@mlssoccer/netcore/./scripts/react/shared/svg/IndicatorUp/index.js","webpack://@mlssoccer/netcore/./scripts/react/shared/svg/LiveStandingsIcon/LiveStandingsIcon.js","webpack://@mlssoccer/netcore/./scripts/react/shared/svg/LiveStandingsIcon/index.js"],"sourcesContent":["export function formatFormGuide(data) {\n if (!data?.clubs) {\n return [];\n }\n\n return data?.clubs.map((club) => {\n return {\n competitionName: data?.competitionName,\n competitionSlug: data?.competitionSlug,\n matchType: data?.matchType,\n season: data?.season,\n slug: club?.slug,\n rank: club?.rank,\n logoColorUrl: club?.logoURL,\n abbr: club?.abbr,\n matches: club?.matches,\n optaid: club?.optaid,\n shortName: club?.shortName,\n fullName: club?.fullName\n };\n });\n}\n\nexport function getMatchColumnsLength(clubs) {\n if (!clubs) {\n return 0;\n }\n\n let matchesLength = 0;\n\n clubs.forEach((club) => {\n if (club?.matches?.length > matchesLength) {\n matchesLength = club?.matches?.length;\n }\n });\n\n return matchesLength;\n}\n","import React from \"react\";\nimport { formatImageUrl, getClubsDir } from \"../../utils\";\nimport Picture from \"../Picture\";\nimport { useReactAppState } from \"../../containers/utils\";\n\nconst ClubLogo = ({ club }) => {\n const { isLeague, urlList } = useReactAppState();\n const { baseUrl } = urlList || {};\n const { logoColorUrl, fullName } = club || {};\n\n const { highQuality } = logoColorUrl ? formatImageUrl(logoColorUrl, { format: \"w_128,h_128,c_pad\", extension: \"f_png\" }) : {};\n const clubSlug = club?.slug;\n return (\n isLeague ?\n \n \n \n :\n \n );\n};\n\nexport default ClubLogo;\n","export { default } from './ClubLogo';\n","import React from \"react\";\nimport { useReactAppState } from \"../../containers/utils\";\nimport { getClubsDir } from \"../../utils\";\n\nconst ClubName = ({ slug, name, abbreviation, isAbbreviationOnly }) => {\n const { isLeague, urlList } = useReactAppState();\n const { baseUrl } = urlList || {};\n\n return (\n (isAbbreviationOnly) ?\n \n {abbreviation}\n \n :\n isLeague ?\n \n {name}\n {abbreviation}\n \n :\n <>\n {name}\n {abbreviation}\n \n );\n};\n\nexport default ClubName;\n","export { default } from './ClubName';\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport { throttle } from \"lodash\";\nimport ClubLogo from \"../ClubLogo\";\nimport ClubName from \"../ClubName\";\nimport Picture from \"../Picture\";\nimport { getFirstCharacter, round } from \"../../../../libraries/_helpers\";\nimport { formatImageUrl } from \"../../utils\";\nimport LiveStandingsIcon from \"../../svg/LiveStandingsIcon\";\nimport IndicatorDown from \"../../svg/IndicatorDown\";\nimport IndicatorUp from \"../../svg/IndicatorUp\";\nimport { getMatchColumnsLength } from \"../../../mls-standings-form-guide/utils\";\nimport { useReactAppState } from \"../../../shared/containers/utils\";\nimport ReactTooltip from 'react-tooltip';\nimport dayjs from \"dayjs\";\n\nexport function customSort(a, b, accessor) {\n if (a.original[accessor] === b.original[accessor]) {\n return a.original.rank > b.original.rank ? -1 : 1;\n }\n return a.original[accessor] > b.original[accessor] ? 1 : -1;\n}\n\nexport function sortByLastName(a, b, accessor) {\n return a.original?.lastName > b.original?.lastName ? 1 : -1;\n}\n\nexport function sortClubNames(a, b, accessor) {\n return a.original[accessor].name > b.original[accessor].name ? 1 : -1;\n}\n\nexport function getMinimumCount(targetValue, nextValue, defaultValue) {\n const value = targetValue ? targetValue : defaultValue;\n\n if (nextValue && nextValue !== 0 && value > nextValue) {\n return nextValue;\n }\n\n return value;\n}\n\nexport function getPlayoffCounter(headerPure, east, west, central) {\n if (!headerPure) {\n return null;\n }\n if (headerPure?.toLowerCase().includes(\"west\") && west) {\n return west;\n } else if (headerPure?.toLowerCase().includes(\"east\") && east) {\n return east;\n } else if (headerPure?.toLowerCase().includes(\"central\") && central) {\n return central;\n } else {\n return null;\n }\n}\n\nexport function getStandingsConfig(topClubs, homeAdv, playoffQualified, tableIsGrouped) {\n const classStr = [];\n if (homeAdv > 0 && tableIsGrouped) {\n homeAdv === 1\n ? classStr.push('mls-o-table__row--home-adv mls-o-table__row--home-adv-end')\n : classStr.push('mls-o-table__row--home-adv');\n }\n\n if (playoffQualified > 0 && tableIsGrouped) {\n playoffQualified === 1\n ? classStr.push('mls-o-table__row--playoff-qualified mls-o-table__row--playoff-qualified-end')\n : classStr.push('mls-o-table__row--playoff-qualified');\n }\n\n if (topClubs > 0 && tableIsGrouped) {\n topClubs === 1\n ? classStr.push('mls-o-table__row--top-clubs mls-o-table__row--top-clubs-end')\n : classStr.push('mls-o-table__row--top-clubs');\n }\n\n return classStr.join(\" \");\n}\n\nexport function useHorizontalScrollSpy(dependencies) {\n const [isOriginalPosition, setIsOriginalPosition] = useState(true);\n const [isScrollableRight, setIsScrollableRight] = useState(false);\n\n const ref = useRef(null);\n\n useEffect(() => {\n function getScrollLeftPosition() {\n const maxScrollWidth = ref.current.scrollWidth - ref.current.clientWidth;\n // eslint-disable-next-line no-unused-expressions\n ref.current.scrollLeft > 0\n ? setIsOriginalPosition(false)\n : setIsOriginalPosition(true);\n\n maxScrollWidth === 0 || ref?.current.scrollLeft === maxScrollWidth\n ? setIsScrollableRight(false)\n : setIsScrollableRight(true);\n }\n\n ref.current.addEventListener('scroll', throttle(getScrollLeftPosition, 100, { trailing: true, leading: true }));\n\n getScrollLeftPosition();\n\n return function cleanUp() {\n ref?.current?.removeEventListener('scroll', throttle(getScrollLeftPosition, 100, { trailing: true }));\n };\n }, [dependencies, ref]);\n\n return [ref, isOriginalPosition, isScrollableRight];\n}\n\nexport function useColumns(tableType, data) {\n const columnType = getColumnType(tableType, data);\n\n return useMemo(\n () => [columnType],\n [tableType]\n );\n}\n\nexport const statTypes = {\n standings: \"STANDINGS\",\n statsGeneral: \"STATS_GENERAL\",\n statsPassing: \"STATS_PASSING\",\n statsAttacking: \"STATS_ATTACKING\",\n statsDefending: \"STATS_DEFENDING\",\n statsGoalKeeping: \"STATS_GOALKEEPING\",\n statsGeneralAllYears: \"STATS_GENERAL_ALL_YEARS\",\n statsPassingAllYears: \"STATS_PASSING_ALL_YEARS\",\n statsAttackingAllYears: \"STATS_ATTACKING_ALL_YEARS\",\n statsDefendingAllYears: \"STATS_DEFENDING_ALL_YEARS\",\n statsGoalKeepingAllYears: \"STATS_GOALKEEPING_ALL_YEARS\",\n clubStatsGeneral: \"CLUB_STATS_GENERAL\",\n clubStatsPassing: \"CLUB_STATS_PASSING\",\n clubStatsAttacking: \"CLUB_STATS_ATTACKING\",\n clubStatsDefending: \"CLUB_STATS_DEFENDING\",\n clubStatsGoalKeeping: \"CLUB_STATS_GOALKEEPING\",\n clubStatsGeneralPostseason: \"CLUB_STATS_GENERAL_POSTSEASON\",\n clubStatsGeneralNoStandings: \"CLUB_STATS_GENERAL_NO_STANDINGS\",\n clubStatsPassingPostseason: \"CLUB_STATS_PASSING_POSTSEASON\",\n clubStatsAttackingPostseason: \"CLUB_STATS_ATTACKING_POSTSEASON\",\n clubStatsDefendingPostseason: \"CLUB_STATS_DEFENDING_POSTSEASON\",\n clubStatsGoalKeepingPostseason: \"CLUB_STATS_GOALKEEPING_POSTSEASON\",\n clubStatsGeneralAllYears: \"CLUB_STATS_GENERAL_ALL_YEARS\",\n clubStatsPassingAllYears: \"CLUB_STATS_PASSING_ALL_YEARS\",\n clubStatsAttackingAllYears: \"CLUB_STATS_ATTACKING_ALL_YEARS\",\n clubStatsDefendingAllYears: \"CLUB_STATS_DEFENDING_ALL_YEARS\",\n matchHubPlayerStats: \"MATCH_HUB_PLAYER_STATS\",\n matchHubGoalkeeperStats: \"MATCH_HUB_GOALKEEPER_STATS\",\n activeRoster: \"ACTIVE_ROSTER\",\n activeRosterFiltered: \"ACTIVE_ROSTER_FILTERED\",\n playersHubRoster: \"PLAYERS_HUB_ROSTER\",\n playersMatchLogGeneral: \"PLAYERS_MATCH_LOG_GENERAL\",\n playersMatchLogAttacking: \"PLAYERS_MATCH_LOG_ATTACKING\",\n playersMatchLogPassing: \"PLAYERS_MATCH_LOG_PASSING\",\n playersMatchLogDefending: \"PLAYERS_MATCH_LOG_DEFENDING\",\n playersMatchLogGoalKeeping: \"PLAYERS_MATCH_LOG_GOALKEEPING\",\n playersCareerStatsGeneral: \"PLAYERS_CAREERS_STATS_GENERAL\",\n playersCareerStatsAttacking: \"PLAYERS_CAREERS_STATS_ATTACKING\",\n playersCareerStatsPassing: \"PLAYERS_CAREERS_STATS_PASSING\",\n playersCareerStatsDefending: \"PLAYERS_CAREERS_STATS_DEFENDING\",\n playersCareerStatsGoalKeeping: \"PLAYERS_CAREERS_STATS_GOALKEEPING\",\n formGuide: \"FORM_GUIDE\",\n};\n\nexport const tableTypes = {\n clubs: \"clubs\",\n player: \"players\"\n};\n\nexport const phaseTypes = {\n postSeason: \"Postseason\",\n regularSeason: \"Regular Season\"\n};\n\nexport function getClinchedValues(references, data) {\n if (references && data && data.items) {\n for (let i = 0; i < data.items.length; i++) {\n const optaId = data.items[i].club ? data.items[i].club.optaId : '';\n\n const clinched_x = references.List_of_Clubs_Clinched_x &&\n references.List_of_Clubs_Clinched_x.find(clinchedClub => clinchedClub.fields.optaId == optaId) ? \"x\" : \"\";\n const clinched_e = references.List_of_Clubs_Clinched_e &&\n references.List_of_Clubs_Clinched_e.find(clinchedClub => clinchedClub.fields.optaId == optaId) ? \"e\" : \"\";\n const clinched_y = references.List_of_Clubs_Clinched_y &&\n references.List_of_Clubs_Clinched_y.find(clinchedClub => clinchedClub.fields.optaId == optaId) ? \"y\" : \"\";\n const clinched_s = references.List_of_Clubs_Clinched_s &&\n references.List_of_Clubs_Clinched_s.find(clinchedClub => clinchedClub.fields.optaId == optaId) ? \"s\" : \"\";\n\n const clinches = (clinched_x + clinched_e + clinched_y + clinched_s);\n data.items[i].club.clinches = clinches;\n }\n }\n}\n\nexport function getFormGuideMatchesColumns(data, matchesLength) {\n const { urlList, t } = useReactAppState();\n const { baseUrl } = urlList || {};\n\n if (!matchesLength || !data) {\n return null;\n }\n\n const columns = [];\n for (let i = 0; i < matchesLength; i++) {\n columns.push({\n Header: i + 1,\n id: `form-guide-matches-${i + 1}`,\n accessor: (row) => row.matches[i],\n disableSortBy: true,\n Cell: (props) => {\n const match = props.row.original?.matches[i];\n const competitionSlug = props.row.original?.competitionSlug;\n const season = props.row.original?.season;\n const matchDate = match?.matchDate ? dayjs(match?.matchDate).format(\"M/DD\") : null;\n const resultTypeModifier = match?.resultType === \"W\" ? \"mls-c-standings-form-guide__result-type--winner\" :\n match?.resultType == \"L\" ? \"mls-c-standings-form-guide__result-type--loser\" :\n match?.resultType == \"T\" ? \"mls-c-standings-form-guide__result-type--tie\" : \"\";\n\n const composedMatchUrl = match?.slug && competitionSlug && season ? `${baseUrl}/competitions/${competitionSlug}/${season}/matches/${match?.slug}` : \"\";\n\n return (\n
\n\n {props.row.original && match ?\n\n \n {match?.homeFullName && match?.awayFullName && matchDate ?\n \n {match?.result ?\n `${match?.homeFullName} ${match?.result} ${match?.awayFullName} - ${matchDate}`\n : `${match?.homeFullName} ${t(\"vs\")} ${match?.awayFullName} - ${matchDate}`}\n \n : null}\n {match?.resultType ?\n
{match?.resultType}
\n :\n \n \n
}\n {match?.awayAbbr && match?.homeAbbr ?
{`${props.row.original.abbr === match?.awayAbbr ? `@${match?.homeAbbr}` : match?.awayAbbr}`}
:\n
}\n {match?.result ?
{match?.result}
:\n
}\n \n\n : \n \n
}\n\n
\n );\n }\n });\n }\n\n return columns;\n}\n\nexport function getColumnType(tableType, data, clubAbbreviation) {\n const { t } = useReactAppState() || {};\n const normalizedType = tableType.toUpperCase();\n switch (normalizedType) {\n case statTypes.formGuide:\n const matchesLength = getMatchColumnsLength(data);\n const formGuideMatchesColumns = matchesLength ? getFormGuideMatchesColumns(data, matchesLength) : [];\n\n return {\n Header: \"form_guide\",\n accessor: \"form-guide\",\n disableSortBy: true,\n columns: [\n {\n accessor: \"rank\",\n Cell: (props) => {\n return props.value || props.value === 0\n ? (\n
\n
\n {props.row.original.rank}\n
\n {\n props.row.original\n ?\n (\n \n \n \n )\n : null\n }\n
\n )\n : (\n
\n
\n
\n );\n }\n },\n {\n Header: \"Club\",\n accessor: \"abbr\",\n Cell: (props) => {\n const abbreviation = props.row.original?.abbr;\n const clubSlug = props.row.original?.slug;\n\n return props.value || props.value === 0\n ? (\n \n )\n :\n
\n
\n
;\n }\n },\n ...formGuideMatchesColumns\n ]\n };\n case statTypes.standings:\n return {\n Header: data?.header,\n accessor: 'competition-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"rank\"),\n accessor: \"rank\",\n sortInverted: false,\n Cell: (props) => {\n return props.value || props.value === 0\n ? (\n
\n
\n {props.row.original.rank}\n {!isNaN(props.row.original.trend) && props.row.original.trend < 0 ? : null}\n {!isNaN(props.row.original.trend) && props.row.original.trend > 0 ? : null}\n {/* */}\n
\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n
\n )\n : (\n
\n
\n
\n );\n }\n },\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n disableSortBy: true,\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n const clinchedValues = props.row.original.club?.clinches;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n clinchedValues && clinchedValues !== \"\" ? {clinchedValues} - : \"\"\n }\n \n {props.row.original.isLive ? : null}\n \n )\n :
;\n }\n },\n {\n accessor: \"total_points\",\n sortInverted: false,\n sortType: (a, b, accessor) => customSort(a, b, accessor),\n Cell: (props) => fallbackTableDataLoaderInteger(props),\n Header: () =>\n <>\n {t(\"points\")}\n PTS\n \n },\n getColumnProperties({\n accessor: \"points_per_game\",\n Header: getColumnHeader(\"total_points_pg\"),\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_matches\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_wins\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_losses\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_draws\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_goals\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_goals_conceded\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"total_goal_differential\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"home_record\",\n disableSortBy: true,\n customCellFn: fallbackTableDataLoaderString\n }),\n getColumnProperties({\n accessor: \"away_record\",\n disableSortBy: true,\n customCellFn: fallbackTableDataLoaderString\n }),\n // getColumnProperties({\n // Header: \"Form\", accessor: \"form\", disableSortBy: true, customCellFn: fallbackTableDataLoaderString\n // }\n // ),\n\n ]\n };\n case statTypes.statsPassing:\n return {\n Header: t(\"passing\"),\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"club\",\n disableSortBy: true,\n customCellFn: fallbackClubTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"accurate_pass\"\n }),\n getColumnProperties({\n accessor: \"total_pass\"\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\"\n }),\n getColumnProperties({\n accessor: \"total_att_assist\"\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n }),\n getColumnProperties({\n accessor: \"accurate_cross\"\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n getColumnProperties({\n accessor: \"assist_90\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"accurate_long_balls\"),\n accessor: \"accurate_long_balls\"\n }),\n getColumnProperties({\n accessor: \"successful_short_pass\"\n }),\n getColumnProperties({\n accessor: \"accurate_cross_per\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"att_freekick_total\",\n disableSortBy: true\n }),\n ]\n };\n case statTypes.statsDefending:\n return {\n Header: \"defending\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"club\",\n disableSortBy: true,\n customCellFn: fallbackClubTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"aerial_duel\"\n }),\n getColumnProperties({\n accessor: \"aerial_duel_per\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_clearance\"\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"interception\"\n }),\n ]\n };\n case statTypes.statsGoalKeeping:\n return {\n Header: \"goalkeeping\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"club\",\n disableSortBy: true,\n customCellFn: fallbackClubTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"clean_sheet\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"goals_conceded\"\n }),\n getColumnProperties({\n accessor: \"saves\"\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\"\n }),\n getColumnProperties({\n accessor: \"long_ball_percentage\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_clearance\"\n }),\n getColumnProperties({\n accessor: \"total_wins\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_losses\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_draws\",\n disableSortBy: true\n }),\n ]\n };\n case statTypes.clubStatsDefendingPostseason:\n case statTypes.clubStatsDefending:\n return {\n Header: \"club-defending\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n accessor: \"goals_conceded\"\n }),\n getColumnProperties({\n accessor: \"shots_against\"\n }),\n getColumnProperties({\n accessor: \"clean_sheet\"\n }),\n getColumnProperties({\n accessor: \"save_percentage\"\n }),\n getColumnProperties({\n accessor: \"aerial_duel_per\"\n }),\n getColumnProperties({\n accessor: \"total_clearance\"\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\"\n }),\n getColumnProperties({\n accessor: \"penalty_conceded\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"penalty_save\"),\n accessor: \"penalty_save\"\n }),\n getColumnProperties({\n accessor: \"penalty_kick_save_percentage\"\n }),\n ]\n };\n case statTypes.clubStatsDefendingAllYears:\n return {\n Header: \"club-defending\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n accessor: \"goals_conceded\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"shots_against\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"clean_sheet\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"save_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"headed_duel_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"ground_duel_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"interception\"\n }),\n getColumnProperties({\n accessor: \"penalty_conceded\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"penalty_save\"),\n accessor: \"penalty_save\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"penalty_kick_save_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n ]\n };\n case statTypes.clubStatsPassingPostseason:\n case statTypes.clubStatsPassing:\n return {\n Header: \"passing\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n accessor: \"accurate_pass\"\n }),\n getColumnProperties({\n accessor: \"total_pass\"\n }),\n getColumnProperties({\n accessor: \"pass_percentage\"\n }),\n getColumnProperties({\n accessor: \"att_freekick_total\"\n }),\n getColumnProperties({\n accessor: \"corner_taken\"\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n getColumnProperties({\n accessor: \"total_att_assist\"\n }),\n getColumnProperties({\n accessor: \"accurate_long_balls\"\n }),\n getColumnProperties({\n accessor: \"long_ball_percentage\"\n }),\n ]\n };\n case statTypes.clubStatsPassingAllYears:\n return {\n Header: \"passing\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n accessor: \"accurate_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"pass_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_fwd_zone_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_back_zone_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"goal_assist\",\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_long_balls\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"long_ball_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n ]\n };\n case statTypes.clubStatsGeneralNoStandings:\n case statTypes.clubStatsGeneralPostseason:\n return {\n Header: \"club-general\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"att_pen_taken\"),\n accessor: \"att_pen_taken\"\n }),\n getColumnProperties({\n accessor: \"goals_conceded\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"penalty_conceded_pkga\"),\n accessor: \"penalty_conceded\"\n }),\n getColumnProperties({\n accessor: \"total_goal_differential\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\"\n }),\n\n getColumnProperties({\n Header: getColumnHeader(\"red_card\"),\n accessor: \"total_red_card\"\n })\n ]\n };\n case statTypes.clubStatsGeneralAllYears:\n return {\n Header: \"club-general\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original?.club?.shortName || props.row.original?.club?.fullName;\n const abbreviation = props.row.original?.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_points\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_wins\",\n disableSortBy: true,\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_losses\",\n disableSortBy: true,\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_draws\",\n disableSortBy: true,\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\",\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_goal_differential\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"att_pen_taken\"),\n accessor: \"att_pen_taken\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"penalty_conceded_pkga\"),\n accessor: \"penalty_conceded\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"fk_foul_won\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_offside\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n Header: getColumnHeader(\"red_card\"),\n accessor: \"total_red_card\",\n customCellFn: fallbackClubStatsGeneralStandings\n })\n ]\n };\n case statTypes.clubStatsGeneral:\n return {\n Header: \"club-general\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original?.club?.shortName || props.row.original?.club?.fullName;\n const abbreviation = props.row.original?.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\"\n }),\n getColumnProperties({\n accessor: \"total_points\",\n }),\n getColumnProperties({\n accessor: \"total_wins\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_losses\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_draws\",\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\"\n }),\n getColumnProperties({\n accessor: \"goals_conceded\"\n }),\n getColumnProperties({\n accessor: \"total_goal_differential\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"att_pen_taken\"),\n accessor: \"att_pen_taken\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"penalty_conceded_pkga\"),\n accessor: \"penalty_conceded\"\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\"\n }),\n getColumnProperties({\n accessor: \"fk_foul_won\"\n }),\n getColumnProperties({\n accessor: \"total_offside\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"red_card\"),\n accessor: \"total_red_card\"\n })\n ]\n };\n case statTypes.clubStatsAttackingPostseason:\n case statTypes.clubStatsAttacking:\n return {\n Header: \"club-attacking\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n accessor: \"goals\"\n }),\n getColumnProperties({\n accessor: \"total_att_assist\"\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n sortInverted: false\n }),\n getColumnProperties({\n accessor: \"expected_goals\"\n }),\n getColumnProperties({\n accessor: \"att_pen_goal\"\n }),\n getColumnProperties({\n accessor: \"att_pen_taken\"\n }),\n getColumnProperties({\n accessor: \"att_pen_percentage\"\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"accurate_shooting_per\"\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n ]\n };\n case statTypes.clubStatsAttackingAllYears:\n return {\n Header: \"club-attacking\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n {\n Header: t(\"table_club\"),\n accessor: \"club\",\n sortType: (a, b, accessorProperty) => sortClubNames(a, b, accessorProperty),\n Cell: (props) => {\n const displayName = props.row.original.club?.shortName || props.row.original.club?.fullName;\n const abbreviation = props.row.original.club?.abbreviation;\n\n return props.value || props.value === 0\n ? (\n <>\n {\n props.row.original?.club\n ?\n (\n \n \n \n )\n : null\n }\n \n \n )\n :
;\n }\n },\n getColumnProperties({\n accessor: \"goals\",\n }),\n getColumnProperties({\n accessor: \"att_ibox_goal\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"att_obox_goal\",\n customCellFn: fallbackClubStatsGeneralStandings,\n sortInverted: false\n }),\n getColumnProperties({\n accessor: \"att_hd_goal\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"att_pen_goal\"\n }),\n getColumnProperties({\n accessor: \"att_pen_taken\"\n }),\n getColumnProperties({\n accessor: \"att_pen_percentage\"\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"accurate_shooting_per\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackClubStatsGeneralStandings\n })\n ]\n };\n case statTypes.statsAttacking:\n return {\n Header: \"attacking\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"club\",\n disableSortBy: true,\n customCellFn: fallbackClubTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"goals\"\n }),\n getColumnProperties({\n accessor: \"att_lf_total\",\n t\n }),\n getColumnProperties({\n accessor: \"att_rf_total\",\n sortInverted: false\n }),\n getColumnProperties({\n accessor: \"goals_90\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"att_hd_total\"\n }),\n getColumnProperties({\n accessor: \"att_pen_goal\"\n }),\n getColumnProperties({\n accessor: \"att_pen_taken\"\n }),\n getColumnProperties({\n accessor: \"expected_goals\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"accurate_shooting_per\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"shot_conversion\",\n disableSortBy: true\n }),\n //getColumnProperties({\n // Header: \"DRBs\",\n // accessor: \"total_contest\"\n //}),\n //getColumnProperties({\n // Header: \"DRB%\",\n // accessor: \"dribble_percentage_match_hub\", disableSortBy: true\n //}),\n getColumnProperties({\n accessor: \"total_offside\"\n }),\n getColumnProperties({\n accessor: \"corner_taken\", disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"goals_assists\", disableSortBy: true\n }),\n ]\n };\n case statTypes.matchHubPlayerStats:\n return {\n Header: `goalkeeper`,\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"goals\"\n }),\n getColumnProperties({\n accessor: \"expected_goals\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per_match_hub\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n getColumnProperties({\n accessor: \"accurate_pass\"\n }),\n getColumnProperties({\n accessor: \"accurate_cross\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_att_assist\"\n }),\n getColumnProperties({\n accessor: \"aerial_duel\",\n }),\n getColumnProperties({\n accessor: \"aerial_duel_per\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"fouls\",\n }),\n getColumnProperties({\n accessor: \"was_fouled\",\n }),\n getColumnProperties({\n accessor: \"total_offside\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\"\n }),\n\n getColumnProperties({\n Header: getColumnHeader(\"red_card\"),\n accessor: \"total_red_card\"\n }),\n ]\n };\n case statTypes.matchHubGoalkeeperStats:\n return {\n Header: \"match-hub-goalkeeper\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"saves\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"expected_goals_conceded\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"successful_passes\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per_match_hub\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"keeper_throws\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_long_balls\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_launches\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"goal_kicks\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"fouls\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"was_fouled\",\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\",\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"red_card\"),\n accessor: \"total_red_card\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"lost_corners\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"punches\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"assists\",\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n disableSortBy: true,\n })\n ]\n };\n case statTypes.playersMatchLogGeneral:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_date\"),\n accessor: \"date\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_competition\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_match\"),\n accessor: \"match\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_result\"),\n accessor: \"results\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_appearance\"),\n accessor: \"status\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"expected_goals\"),\n accessor: \"expected_goals\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goal_assist\"),\n accessor: \"goal_assist\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"fouls\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"was_fouled\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"total_offside\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"yellow_card\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"total_red_card\",\n customCellFn: fallbackMatchLogData,\n })\n ]\n };\n case statTypes.playersMatchLogAttacking:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_date\"),\n accessor: \"date\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_competition\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_match\"),\n accessor: \"match\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_appearance\"),\n accessor: \"status\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"expected_goals\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"expected_goals_minus_goals\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"att_lf_total\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"att_rf_total\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"att_hd_total\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"att_pen_goal\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"pka\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"accurate_shooting_per\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"goal_assist\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"total_offside\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"goals_assists\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"att_freekick_total\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n ]\n };\n case statTypes.playersMatchLogPassing:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_date\"),\n accessor: \"date\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_competition\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_match\"),\n accessor: \"match\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_appearance\"),\n accessor: \"status\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n accessor: \"accurate_pass\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"total_pass\",\n customCellFn: fallbackMatchLogData\n }),\n // getColumnProperties({\n // disableSortBy: true,\n // accessor: \"accurate_pass_per\",\n // customCellFn: fallbackMatchLogData\n // }),\n // getColumnProperties({\n // accessor: \"accurate_fwd_zone_pass\",\n // customCellFn: fallbackMatchLogData\n // }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"accurate_cross\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"goal_assist\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"accurate_cross_per\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n Header: getColumnHeader(\"att_freekick_total\"),\n accessor: \"att_freekick_total\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"total_cross\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n ]\n };\n case statTypes.playersMatchLogDefending:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_date\"),\n accessor: \"date\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_competition\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_match\"),\n accessor: \"match\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_appearance\"),\n accessor: \"status\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"aerial_duel\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"expected_goals_conceded\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"aerial_duel_per\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"total_clearance\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"touches\",\n customCellFn: fallbackMatchLogData\n }),\n ]\n };\n case statTypes.playersMatchLogGoalKeeping:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_date\"),\n accessor: \"date\",\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_competition\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData,\n }),\n getColumnProperties({\n Header: t(\"table_match\"),\n accessor: \"match\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n Header: t(\"table_appearance\"),\n accessor: \"status\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"clean_sheet\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"expected_goals_conceded\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"goals_against_expected_goals_against\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"gk_shots_against\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"saves\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"save_percentage\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"penalty_faced\",\n customCellFn: fallbackMatchLogData,\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"penalty_save\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n disableSortBy: true,\n accessor: \"penalty_kick_save_percentage\",\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"long_ball_percentage\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n getColumnProperties({\n accessor: \"clearances\",\n disableSortBy: true,\n customCellFn: fallbackMatchLogData\n }),\n ]\n };\n case statTypes.playersCareerStatsGeneral:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_year\"),\n accessor: \"date\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsDataText,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"game_started\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goal_assist\"),\n accessor: \"goal_assist\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"total_offside\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"fk_foul_won\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"yellow_card\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"total_red_card\",\n customCellFn: fallbackCareerStatsData,\n })\n ]\n };\n case statTypes.playersCareerStatsPassing:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_year\"),\n accessor: \"date\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsDataText,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"game_started\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"accurate_pass\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"total_pass\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n disableSortBy: true,\n accessor: \"accurate_pass_per\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"accurate_cross\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"goal_assist\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n Header: getColumnHeader(\"accurate_long_balls\"),\n accessor: \"accurate_long_balls\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"successful_short_pass\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"accurate_cross_per\",\n customCellFn: fallbackCareerStatsData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"att_freekick_total\",\n customCellFn: fallbackCareerStatsData,\n disableSortBy: true\n }),\n ]\n };\n case statTypes.playersCareerStatsAttacking:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_year\"),\n accessor: \"date\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsDataText,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"game_started\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: getColumnHeader(\"goals\"),\n accessor: \"goals\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"att_rf_total\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"att_lf_total\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"att_hd_total\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"att_pen_goal\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"att_pen_taken\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"expected_goals\",\n disableSortBy: true,\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"accurate_shooting_per\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"goal_assist\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"corner_taken\",\n customCellFn: fallbackCareerStatsData\n }),\n ]\n };\n case statTypes.playersCareerStatsDefending:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_year\"),\n accessor: \"date\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsDataText,\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n customCellFn: fallbackCareerStatsData,\n disableSortBy: true\n }),\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"game_started\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"aerial_duel\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"aerial_duel_per\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"total_clearance\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"interception\",\n customCellFn: fallbackCareerStatsData\n }),\n ]\n };\n case statTypes.playersCareerStatsGoalKeeping:\n return {\n Header: \"players-match-log\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_year\"),\n accessor: \"date\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"name\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsDataText,\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n customCellFn: fallbackCareerStatsData,\n disableSortBy: true\n }),\n getColumnProperties({\n Header: getColumnHeader(\"games_played\"),\n accessor: \"games_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"game_started\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\",\n customCellFn: fallbackCareerStatsData,\n }),\n getColumnProperties({\n accessor: \"clean_sheet\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"expected_goals_conceded\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"goals_against_expected_goals_against\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"saves\",\n customCellFn: fallbackCareerStatsData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"save_percentage\",\n customCellFn: fallbackCareerStatsData,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"penalty_faced\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"penalty_save\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n disableSortBy: true,\n accessor: \"penalty_kick_save_percentage\",\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"long_ball_percentage\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n getColumnProperties({\n accessor: \"clearances\",\n disableSortBy: true,\n customCellFn: fallbackCareerStatsData\n }),\n ]\n };\n case statTypes.activeRoster:\n return {\n Header: \"active-roster\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n customCellFn: fallbackRosterPlayerTableData,\n customSortFn: sortByLastName\n }),\n getColumnProperties({\n Header: t(\"table_jersey_number\"),\n accessor: \"jerseyNumber\",\n customCellFn: fallbackRosterData,\n }),\n getColumnProperties({\n Header: t(\"table_position\"),\n accessor: \"position\",\n customCellFn: fallbackRosterData,\n }),\n getColumnProperties({\n Header: t(\"table_roster_category\"),\n accessor: \"rosterCategory\",\n customCellFn: fallbackRosterData,\n }),\n getColumnProperties({\n Header: t(\"table_player_category\"),\n accessor: \"playerCategories\",\n customCellFn: fallbackPlayerCategoriesTableData,\n }),\n getColumnProperties({\n Header: t(\"table_player_status\"),\n accessor: \"playerStatusList\",\n customCellFn: fallbackPlayerStatusTableData,\n }),\n ]\n };\n case statTypes.activeRosterFiltered:\n return {\n Header: \"active-roster\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n customCellFn: fallbackRosterPlayerTableData,\n customSortFn: sortByLastName\n }),\n getColumnProperties({\n Header: t(\"table_jersey_number\"),\n accessor: \"jerseyNumber\",\n customCellFn: fallbackRosterData,\n }),\n getColumnProperties({\n Header: t(\"table_position\"),\n accessor: \"position\",\n customCellFn: fallbackRosterData,\n })\n ]\n };\n case statTypes.playersHubRoster:\n return {\n Header: \"players-hub-roster\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n customCellFn: fallbackRosterPlayerTableData,\n customSortFn: sortByLastName\n }),\n getColumnProperties({\n Header: t(\"table_position\"),\n accessor: \"position\",\n customCellFn: fallbackRosterData,\n }),\n ]\n };\n case statTypes.playersCareerStats:\n return {\n Header: \"player-career-stats\",\n accessor: 'player-type',\n columns: [\n getColumnProperties({\n Header: t(\"table_year\"),\n accessor: \"year\",\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"name\",\n customCellFn: fallbackCareerData,\n }),\n getColumnProperties({\n accessor: \"gamesPlayed\",\n customCellFn: fallbackCareerData,\n }),\n getColumnProperties({\n accessor: \"gameStarted\",\n customCellFn: fallbackCareerData,\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"minsPlayed\",\n customCellFn: fallbackCareerData,\n }),\n getColumnProperties({\n accessor: \"yellowCard\",\n customCellFn: fallbackCareerData,\n }),\n getColumnProperties({\n accessor: \"redCard\",\n customCellFn: fallbackCareerData,\n }),\n ]\n };\n case statTypes.statsGeneralAllYears:\n return {\n Header: \"general\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\",\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"total_sub_on\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"goals\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"goal_assist\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"won_tackle\"\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"fk_foul_won\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_offside\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\"\n }),\n\n getColumnProperties({\n accessor: \"total_red_card\"\n })\n ]\n };\n case statTypes.statsAttackingAllYears:\n return {\n Header: \"attacking\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"goals\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"goals_90\",\n disableSortBy: true,\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"att_pen_goal\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"att_pen_taken\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"att_pen_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"shot_conversion\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"goals_assists\", disableSortBy: true\n }),\n ]\n };\n case statTypes.statsPassingAllYears:\n return {\n Header: t(\"passing\"),\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"accurate_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_fwd_zone_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_back_zone_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_cross\"\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n getColumnProperties({\n accessor: \"assist_90\"\n }),\n getColumnProperties({\n accessor: \"total_att_assist\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n Header: getColumnHeader(\"accurate_long_balls\"),\n accessor: \"accurate_long_balls\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"successful_short_pass\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"launches_attempted\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"turnover\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n ]\n };\n case statTypes.statsDefendingAllYears:\n return {\n Header: \"defending\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"goals_conceded\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"clean_sheet\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"headed_duel_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"duel\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"duel_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n //getColumnProperties({\n // Header: \"Duel%\",\n // accessor: \"ground_duel_percentage\", disableSortBy: true\n //}),\n getColumnProperties({\n accessor: \"interception\"\n }),\n ]\n };\n case statTypes.statsGoalKeepingAllYears:\n return {\n Header: \"goalkeeping\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"goals_conceded\"\n }),\n getColumnProperties({\n accessor: \"goals_allowed_average\",\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"saves\",\n customCellFn: fallbackClubStatsGeneralStandings,\n }),\n getColumnProperties({\n accessor: \"save_percentage_gk\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"penalty_faced\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"pen_goals_conceded\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"long_ball_percentage\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_clearance\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"clean_sheet\",\n customCellFn: fallbackClubStatsGeneralStandings\n }),\n getColumnProperties({\n accessor: \"total_wins\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_losses\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"total_draws\",\n customCellFn: fallbackClubStatsGeneralStandings,\n disableSortBy: true\n }),\n getColumnProperties({\n accessor: \"win_percentage\",\n disableSortBy: true\n }),\n ]\n };\n case statTypes.statsGeneral:\n default:\n return {\n Header: \"general\",\n accessor: 'stats-type',\n disableSortBy: true,\n columns: [\n getColumnProperties({\n Header: t(\"table_player\"),\n accessor: \"player\",\n disableSortBy: true,\n customCellFn: fallbackPlayerTableData\n }),\n getColumnProperties({\n Header: t(\"table_club\"),\n accessor: \"club\",\n disableSortBy: true,\n customCellFn: fallbackClubTableData\n }),\n getColumnProperties({\n accessor: \"games_played\",\n customSortFn: null\n }),\n getColumnProperties({\n accessor: \"game_started\"\n }),\n getColumnProperties({\n Header: t(\"table_mins\"),\n accessor: \"mins_played\"\n }),\n getColumnProperties({\n accessor: \"total_sub_on\"\n }),\n getColumnProperties({\n accessor: \"goals\"\n }),\n getColumnProperties({\n accessor: \"accurate_pass_per\"\n }),\n getColumnProperties({\n accessor: \"goal_assist\"\n }),\n getColumnProperties({\n accessor: \"total_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"ontarget_scoring_att\"\n }),\n getColumnProperties({\n accessor: \"total_att_assist\"\n }),\n getColumnProperties({\n accessor: \"expected_goals\"\n }),\n getColumnProperties({\n accessor: \"fk_foul_lost\",\n }),\n getColumnProperties({\n accessor: \"fk_foul_won\",\n }),\n getColumnProperties({\n accessor: \"total_offside\"\n }),\n getColumnProperties({\n Header: getColumnHeader(\"yellow_card\"),\n accessor: \"yellow_card\"\n }),\n\n getColumnProperties({\n accessor: \"total_red_card\"\n })\n ]\n };\n }\n}\n\nexport function addTotalShootoutWinsColumn(currentCols) {\n const colIdx = 8;\n\n if (!currentCols || currentCols.length === 0\n || !currentCols[0]?.columns || currentCols[0]?.columns?.length < colIdx + 1) {\n return;\n }\n\n const colDefinition = getColumnProperties({\n accessor: \"total_shootout_wins\",\n sortInverted: false,\n customCellFn: fallbackTableDataLoaderString\n });\n\n currentCols[0]?.columns?.splice(colIdx, 0, colDefinition);\n}\n\nfunction fallbackPlayerTableData(props) {\n const { highQuality } = props.row.original?.player?.image?.templateUrl ? formatImageUrl(props.row.original.player.image.templateUrl, { format: \"w_60,c_scale\", extension: \"f_png\" }) : {};\n\n const playerDisplayName = props.row.original.player?.knownName ? props.row.original.player?.knownName : `${getFirstCharacter(props.row.original.player?.firstName)}. ${props.row.original.player?.lastName}`;\n\n return props.value ? (\n \n
\n
\n \n
\n
\n {playerDisplayName}
\n
\n
\n \n ) : (\n
\n
\n
\n
\n
\n
\n
\n
\n );\n}\n\nfunction fallbackPlayerCategoriesTableData(props) {\n const playerCategories = props.row.original?.playerCategories ? props.row.original?.playerCategories.join(', ') : '';\n return playerCategories?.length > 0 ? (\n

{playerCategories}

\n ) : (\n <>\n );\n}\n\nfunction fallbackPlayerStatusTableData(props) {\n const playerStatusList = props.row.original?.playerStatusList ? props.row.original?.playerStatusList.join(', ') : '';\n return playerStatusList?.length > 0 ? (\n

{playerStatusList}

\n ) : (\n <>\n );\n}\n\nfunction fallbackRosterPlayerTableData(props) {\n const { highQuality } = props.row.original?.thumbnail?.templateUrl ? formatImageUrl(props.row.original?.thumbnail?.templateUrl, { format: \"w_60,c_scale\", extension: \"f_png\" }) : {};\n\n const playerDisplayName = props.row.original?.knownName ? props.row.original?.knownName : `${getFirstCharacter(props.row.original?.firstName)}. ${props.row.original?.lastName}`;\n return playerDisplayName?.replace(/[.]/g, \"\").trim().length > 0 ? (\n <>\n \n
\n
\n {\n highQuality ?\n \n :\n \n }\n
\n
\n {playerDisplayName}
\n
\n
\n \n \n ) : (\n <>\n );\n}\n\nfunction fallbackClubTableData(props) {\n return props.value\n ? {props.row.original.club?.abbreviation}\n :
;\n}\n\nfunction fallbackMatchLogData(props) {\n if (props.value === null) {\n return
;\n }\n\n if (props.value) {\n return props.value;\n } else {\n return 0;\n }\n}\n\nfunction fallbackClubStatsGeneralStandings(props) {\n return props.value || props.value === 0 || props.value === undefined\n ? props?.value ? round(props.value) : \"-\"\n :
;\n}\n\nfunction fallbackCareerStatsData(props) {\n if (props.value === null) {\n return
;\n }\n\n if (props.value) {\n return props.value;\n } else {\n return 0;\n }\n}\n\nfunction fallbackCareerStatsDataText(props) {\n if (props.value === null) {\n return
;\n }\n\n if (props.value) {\n return props.value;\n } else {\n return \"\";\n }\n}\n\nfunction fallbackRosterData(props) {\n return props.value ? props.value : \"\";\n}\n\nfunction fallbackCareerData(props) {\n return props.value ? props.value : 0;\n}\n\nfunction fallbackTableDataLoaderString(props) {\n return props.value || props.value === 0\n ? props.value\n :
;\n}\n\nfunction fallbackTableDataLoaderInteger(props) {\n return props.value || props.value === 0\n ? round(props.value)\n :
;\n}\n\nfunction getColumnProperties({ accessor, Header = getColumnHeader(accessor), customCellFn = fallbackTableDataLoaderInteger, customSortFn = customSort, disableSortBy = false, sortInverted = false, sortDescFirst = true } = {}) {\n let columnObj = {\n Header,\n accessor,\n sortInverted,\n disableSortBy,\n sortDescFirst\n };\n\n if (customSortFn && !disableSortBy) {\n columnObj = { ...columnObj, sortType: (a, b, accessorProperty) => customSortFn(a, b, accessorProperty) };\n }\n\n if (customCellFn) {\n columnObj = { ...columnObj, Cell: (props) => customCellFn(props) };\n }\n\n return columnObj;\n}\n\nfunction getColumnHeader(accessor) {\n const { t } = useReactAppState() || {};\n return (\n <>\n \n {t(`th-${accessor}.abbr`, { keySeparator: false })}\n \n \n \n );\n}\n","import React, { useState } from 'react';\n\nfunction IndicatorDown(props) {\n const { handleClick, extraClasses, size = \"small\", wrapperElement = \"div\" } = props || {};\n const [WrapperComponent] = useState(wrapperElement);\n\n return (\n \n \n \n \n \n \n \n );\n}\n\n// eslint-disable-next-line no-const-assign,no-func-assign\nIndicatorDown = React.memo(IndicatorDown);\n\nexport default IndicatorDown;\n","export { default } from './IndicatorDown';\n","import React, { useState } from 'react';\n\nfunction IndicatorUp(props) {\n const { handleClick, extraClasses, size = \"small\", wrapperElement = \"div\" } = props || {};\n const [WrapperComponent] = useState(wrapperElement);\n\n return (\n \n \n \n \n \n \n \n );\n}\n\n// eslint-disable-next-line no-const-assign,no-func-assign\nIndicatorUp = React.memo(IndicatorUp);\n\nexport default IndicatorUp;\n","export { default } from './IndicatorUp';\n","import React, { useState } from 'react';\n\nfunction LiveStandingsIcon(props) {\n const { handleClick, extraClasses, size = \"small\", wrapperElement = \"div\" } = props || {};\n const [WrapperComponent] = useState(wrapperElement);\n\n return (\n \n \n \n \n \n \n \n );\n}\n\n// eslint-disable-next-line no-const-assign,no-func-assign\nLiveStandingsIcon = React.memo(LiveStandingsIcon);\n\nexport default LiveStandingsIcon;\n","export { default } from './LiveStandingsIcon';\n"],"names":[],"sourceRoot":""}