<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-03-23T07:28:28.200Z",2.259999999999991],["2024-09-22T10:44:54.800Z",6.195999999999913]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
          <th>Ort</th>
        <th class="text-right">Result</th>
        <th class="text-right">Aufnahmdatum</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><span>Tällistock</span> (<span class="text-warning" data-controller="tooltip">SUI<span class="for-screen-reader">Switzerland</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/130968">6.2</a>
          </td>
          <td class="text-right">22.09.2024</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><span>Malcisnik</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/116779">2.3</a>
          </td>
          <td class="text-right">23.03.2024</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>