<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>
      <div class="dialog-header-actions">
        
        <button class="dialog-close" aria-label="Close" data-action="dialog#close">
          <span class="icon icon--xmark" aria-hidden="true"></span>
        </button>
      </div>
    </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-11-09T16:18:06.000Z",857.3066568399038],["2026-06-18T14:46:00.200Z",733.5852470242834],["2026-06-21T08:44:21.800Z",868.2779654465633]]
    </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">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Aura 5</span></td>
            <td>Norvège Smellveggen</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/160180">868</a>
          </td>
          <td class="text-right">21.06.2026</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Aura 5</span></td>
            <td><span>Perthuis</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/160182">857</a>
          </td>
          <td class="text-right">09.11.2025</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Aura 5</span></td>
            <td><span>Kjerag #6</span> (<span class="text-warning" data-controller="tooltip">NOR<span class="for-screen-reader">Norway</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/160181">734</a>
          </td>
          <td class="text-right">18.06.2026</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>