<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">Migliori risultati in competizione</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-07-27T07:54:59.200Z",335.48210978722756],["2025-07-28T07:46:25.800Z",361.03374286585074],["2026-08-27T06:20:21.200Z",362.8036556681282],["2026-08-27T13:27:23.200Z",404.43052920665053],["2026-08-27T17:20:31.000Z",337.9608463667335],["2026-08-29T06:00:18.400Z",352.0889292457566]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Tuta</th>
          <th>Luogo</th>
        <th class="text-right">Result</th>
        <th class="text-right">Registrato</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><a class="link-subtle" href="/suits/286"><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Sumo 4</span></a></td>
            <td><a class="link-subtle" href="/places/32"><span>Low Ultimate</span> (<span class="text-warning" data-controller="tooltip">SUI<span class="for-screen-reader">Switzerland</span></span>)</a></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/164453">404</a>
          </td>
          <td class="text-right">27.08.2026</td>
        </tr>
        <tr>
          <td><a class="link-subtle" href="/suits/286"><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Sumo 4</span></a></td>
            <td><a class="link-subtle" href="/places/32"><span>Low Ultimate</span> (<span class="text-warning" data-controller="tooltip">SUI<span class="for-screen-reader">Switzerland</span></span>)</a></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/164452">363</a>
          </td>
          <td class="text-right">27.08.2026</td>
        </tr>
        <tr>
          <td><a class="link-subtle" href="/suits/286"><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Sumo 4</span></a></td>
            <td><a class="link-subtle" href="/places/25"><span>Monte Brento</span> (<span class="text-warning" data-controller="tooltip">ITA<span class="for-screen-reader">Italy</span></span>)</a></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/151323">361</a>
          </td>
          <td class="text-right">28.07.2025</td>
        </tr>
        <tr>
          <td><a class="link-subtle" href="/suits/286"><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Sumo 4</span></a></td>
            <td><a class="link-subtle" href="/places/32"><span>Low Ultimate</span> (<span class="text-warning" data-controller="tooltip">SUI<span class="for-screen-reader">Switzerland</span></span>)</a></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/164456">352</a>
          </td>
          <td class="text-right">29.08.2026</td>
        </tr>
        <tr>
          <td><a class="link-subtle" href="/suits/286"><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Sumo 4</span></a></td>
            <td><a class="link-subtle" href="/places/32"><span>Low Ultimate</span> (<span class="text-warning" data-controller="tooltip">SUI<span class="for-screen-reader">Switzerland</span></span>)</a></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/164454">338</a>
          </td>
          <td class="text-right">27.08.2026</td>
        </tr>
        <tr>
          <td><a class="link-subtle" href="/suits/286"><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Sumo 4</span></a></td>
            <td><a class="link-subtle" href="/places/25"><span>Monte Brento</span> (<span class="text-warning" data-controller="tooltip">ITA<span class="for-screen-reader">Italy</span></span>)</a></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/151321">335</a>
          </td>
          <td class="text-right">27.07.2025</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>