      color = "#DAA725";
  
    // Distance
    float num = uiState()->scene.is_metric ? (d / 1000.0) : (d * METER_TO_MILE);
    auto distance = std::array{QString::number(num, 'f', num < 100 ? 1 : 0),
                               uiState()->scene.is_metric ? tr("km") : tr("mi")};
  
    eta_doc.setHtml(QString(R"(<body><table><tr style="vertical-align:bottom;"><td><b>%1</b></td><td>%2</td>
                               <td style="padding-left:40px;color:%3;"><b>%4</b></td><td style="padding-right:40px;color:%3;">%5</td>
                               <td><b>%6</b></td><td>%7</td></tr></body>)")
                        .arg(eta[0], eta[1], color, remaining[0], remaining[1], distance[0], distance[1]));
 
</s> remove   auto eta = format_24h ? std::array{eta_t.toString("HH:mm"), tr("eta")}
                        : std::array{eta_t.toString("h:mm a").split(' ')[0], eta_t.toString("a")};
 </s> add   auto eta = format_24h ? std::pair{eta_t.toString("HH:mm"), tr("eta")}
                        : std::pair{eta_t.toString("h:mm a").split(' ')[0], eta_t.toString("a")}; </s> remove   auto remaining = s < 3600 ? std::array{QString::number(int(s / 60)), tr("min")}
                            : std::array{QString("%1:%2").arg((int)s / 3600).arg(((int)s % 3600) / 60, 2, 10, QLatin1Char('0')), tr("hr")};
 </s> add   auto remaining = s < 3600 ? std::pair{QString::number(int(s / 60)), tr("min")}
                            : std::pair{QString("%1:%2").arg((int)s / 3600).arg(((int)s % 3600) / 60, 2, 10, QLatin1Char('0')), tr("hr")}; </s> remove                       .arg(eta[0], eta[1], color, remaining[0], remaining[1], distance[0], distance[1]));
 </s> add                       .arg(eta.first, eta.second, color, remaining.first, remaining.second, distance.first, distance.second));
  auto distance = std::pair{QString::number(num, 'f', num < 100 ? 1 : 0),
                            uiState()->scene.is_metric ? tr("km") : tr("mi")};
      color = "#DAA725";
  
    // Distance
    float num = uiState()->scene.is_metric ? (d / 1000.0) : (d * METER_TO_MILE);
  auto distance = std::pair{QString::number(num, 'f', num < 100 ? 1 : 0),
                            uiState()->scene.is_metric ? tr("km") : tr("mi")};
  auto distance = std::pair{QString::number(num, 'f', num < 100 ? 1 : 0),
                            uiState()->scene.is_metric ? tr("km") : tr("mi")};
  
    eta_doc.setHtml(QString(R"(<body><table><tr style="vertical-align:bottom;"><td><b>%1</b></td><td>%2</td>
                               <td style="padding-left:40px;color:%3;"><b>%4</b></td><td style="padding-right:40px;color:%3;">%5</td>
                               <td><b>%6</b></td><td>%7</td></tr></body>)")
                        .arg(eta[0], eta[1], color, remaining[0], remaining[1], distance[0], distance[1]));
keep keep keep keep replace replace keep keep keep keep keep
 map eta: use pair (#29460)

use pair 
selfdrive/ui/qt/maps/map_eta.cc