/** 详情页展示顺序（与产品设计稿一致） */
export const FEATURED_MARKET_TYPES = [
  'FT_CORRECT_SCORE',
  'HT_CORRECT_SCORE',
  'SH_CORRECT_SCORE',
] as const;

/** 详情页统一列表顺序：波胆在前，其余玩法在后 */
export const DETAIL_MARKET_TYPES = [
  ...FEATURED_MARKET_TYPES,
  'FT_HANDICAP',
  'FT_OVER_UNDER',
  'FT_1X2',
  'FT_ODD_EVEN',
  'HT_HANDICAP',
  'HT_OVER_UNDER',
  'HT_1X2',
] as const;

export const GRID_MARKET_TYPES = [
  'FT_HANDICAP',
  'FT_OVER_UNDER',
  'FT_1X2',
  'FT_ODD_EVEN',
  'HT_HANDICAP',
  'HT_OVER_UNDER',
  'HT_1X2',
] as const;

export type CatalogMarketType =
  | (typeof FEATURED_MARKET_TYPES)[number]
  | (typeof GRID_MARKET_TYPES)[number];

export const MARKET_I18N_KEY: Record<string, string> = {
  FT_CORRECT_SCORE: 'bet.market_cs',
  HT_CORRECT_SCORE: 'bet.market_ht_cs',
  SH_CORRECT_SCORE: 'bet.market_sh_cs',
  FT_HANDICAP: 'bet.market_ft_handicap',
  FT_OVER_UNDER: 'bet.market_ft_ou',
  FT_1X2: 'bet.market_ft_1x2',
  FT_ODD_EVEN: 'bet.market_ft_oe',
  HT_HANDICAP: 'bet.market_ht_handicap',
  HT_OVER_UNDER: 'bet.market_ht_ou',
  HT_1X2: 'bet.market_ht_1x2',
};
