<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">
      [["2023-05-11T12:31:38.600Z",669.9422111205222],["2023-05-13T11:24:01.000Z",645.8796743698643],["2023-11-09T13:21:16.600Z",471.37143390198685],["2023-11-16T13:17:52.200Z",550.0148926374709]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</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">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie Power 21</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/98057">670</a>
          </td>
          <td class="text-right">11.05.2023</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 21</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/98153">646</a>
          </td>
          <td class="text-right">13.05.2023</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Arrow&#39;21</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/113671">550</a>
          </td>
          <td class="text-right">16.11.2023</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Arrow&#39;21</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/113586">471</a>
          </td>
          <td class="text-right">09.11.2023</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>