// SPDX-License-Identifier: GPL-3.0-only Json statistics_view_ = Json::object(); Json statistics_trophy_ = Json::object(); Json statistics_scrolls_ = Json::object(); bool statistics_restore_pending_ = false; std::string render_statistics(); // "analysis": the club's season as charts (engine careers); "archive": the tables of the original std::string statistics_mode_ = "analysis"; // the page of the statistics that is open: "statistics" (the club's season), or one of the // groups of the archive: "stat-trend", "stat-winners", "stat-records", "stat-players" std::string statistics_page_ = "statistics"; static std::vector statistics_page_sections(const std::string &page); void statistics_open(const std::string &page); Json engine_analysis_value_; std::string render_statistics_analysis(); std::vector> statistics_picker_items(const std::string &) const; std::string statistics_picker_value(const std::string &) const; bool statistics_picker_select(const std::string &, const std::string &); bool statistics_action(const std::string &, Rml::Element *); bool statistics_event(Rml::Event &); void statistics_remember_scroll(); void statistics_restore_scroll(); std::string statistics_trophy_asset(const std::string &) const; std::string render_statistics_trophy();