<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">
      [["2025-06-10T10:16:49.200Z",2246.5273406696833],["2025-06-11T09:20:04.800Z",1729.9777116363275],["2025-08-07T18:24:52.600Z",2225.8989231818323]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Traje aéreo</th>
          <th>Localización</th>
        <th class="text-right">Result</th>
        <th class="text-right">Fecha de grabación</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie Power 20</span></td>
            <td><span>Petit Ferrand</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/141243">2247</a>
          </td>
          <td class="text-right">10.06.2025</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie Power 20</span></td>
            <td><span>Petit Ferrand</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/146883">2226</a>
          </td>
          <td class="text-right">07.08.2025</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie Power 20</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/141271">1730</a>
          </td>
          <td class="text-right">11.06.2025</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>