<turbo-stream action="update" target="modal-root"><template>
  
<div data-controller="dialog">
  <dialog class="dialog dialog-size-lg" data-dialog-target="dialog">
    <div class="dialog-header">
      <h2 class="dialog-title">Best results in competition</h2>
      <button class="dialog-close" aria-label="Close" data-action="dialog#close">
        <span class="icon icon--xmark" aria-hidden="true"></span>
      </button>
    </div>

    <div class="dialog-body">
      
  <div data-controller="person-details-chart">
    <div data-person-details-chart-target="chart" style="height: 200px;"></div>
    <script type="application/json" data-person-details-chart-target="data">
      [["2024-08-09T09:01:37.000Z",983.5486991175078],["2024-08-10T08:00:20.200Z",1019.8054772539078],["2024-09-29T10:27:52.800Z",904.1639026245606]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
          <th>Place</th>
        <th class="text-right">Result</th>
        <th class="text-right">Recorded at</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>Monte Agner / Ted exit</span> (<span class="text-warning" data-controller="tooltip">ITA<span class="for-screen-reader">Italy</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/126406">1020</a>
          </td>
          <td class="text-right">10.08.2024</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>Castello Nevere</span> (<span class="text-warning" data-controller="tooltip">ITA<span class="for-screen-reader">Italy</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/126327">984</a>
          </td>
          <td class="text-right">09.08.2024</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PR<span class="for-screen-reader">Pressurized</span></span>&nbsp;Tube 4</span></td>
            <td><span>Croix des Têtes</span> (<span class="text-warning" data-controller="tooltip">FRA<span class="for-screen-reader">France</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/131410">904</a>
          </td>
          <td class="text-right">29.09.2024</td>
        </tr>
    </tbody>
  </table>

    </div>
  </dialog>
</div>

</template></turbo-stream>