<turbo-stream action="replace" target="matches-container"><template>
<div id="matches-container" class="space-y-4"
     data-controller="matchup-swap"
     data-matchup-swap-swap-url-value="/swiss/matches/swap_players"
     data-matchup-swap-round-id-value="142"
     data-matchup-swap-enabled-value="false"
     data-action="click->matchup-swap#deselect">
    <div class="flex flex-wrap gap-2 pb-2 border-b border-gray-200">
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/5/sessions/34/rounds/140">Round 1</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/5/sessions/34/rounds/141">Round 2</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-blue-600 text-white" href="/swiss/events/5/sessions/34/rounds/142">Round 3</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/5/sessions/34/rounds/143">Round 4</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/5/sessions/34/rounds/144">Round 5</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/5/sessions/34/rounds/145">Round 6</a>
    </div>


    <div class="bg-gray-200 rounded-xl p-4 text-center">
      <p class="text-gray-600 font-medium">
        Sitting out:
          
          <span class=""
                data-player-id="227"
                >
            Cristian
            <span class="text-gray-500">(3.75)</span>
          </span>
          , 
          <span class=""
                data-player-id="234"
                >
            Brett Fiber
            <span class="text-gray-500">(3.50)</span>
          </span>
          , 
          <span class=""
                data-player-id="219"
                >
            Don
            <span class="text-gray-500">(4.00)</span>
          </span>
      </p>
    </div>

    
<div id="match_460" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-green-500 bg-green-50">
    <div class="px-4 py-2 bg-gray-100 border-b border-gray-200 flex justify-between items-center">
      <span class="text-sm font-medium text-gray-600">Court 1</span>
        <span class="text-xs font-bold text-green-600 uppercase">Done</span>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-green-700">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="222"
                  >
              Kyle (4.00)
            </span>
             + 
            <span class=""
                  data-player-id="233"
                  >
              Will (4.00)
            </span>
        </div>
      </div>
      <div class="text-gray-400 text-sm my-2">vs</div>
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="221"
                  >
              Martin (4.00)
            </span>
             + 
            <span class=""
                  data-player-id="226"
                  >
              Edher (4.00)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="text-center mt-4">
        <form class="button_to" method="post" action="/swiss/matches/460/undo_winner"><button class="inline-flex items-center gap-2 py-3 px-6 bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-700 font-medium rounded-lg transition-all min-h-[44px]" type="submit">
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M7.707 3.293a1 1 0 010 1.414L5.414 7H11a7 7 0 017 7v2a1 1 0 11-2 0v-2a5 5 0 00-5-5H5.414l2.293 2.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
          </svg>
          Undo Result
</button><input type="hidden" name="authenticity_token" value="ksijKj0Uzv8QtCkWaB0Wv69wB-rhxysqFHvXxqSzrljm9iWfq0lSgIUiA_PrmLnvqwJ4CrZgryx1YXfD34EFCg" autocomplete="off" /></form>      </div>
  </div>
</div>

    
<div id="match_461" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-green-500 bg-green-50">
    <div class="px-4 py-2 bg-gray-100 border-b border-gray-200 flex justify-between items-center">
      <span class="text-sm font-medium text-gray-600">Court 2</span>
        <span class="text-xs font-bold text-green-600 uppercase">Done</span>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-green-700">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="220"
                  >
              Zac (4.00)
            </span>
             + 
            <span class=""
                  data-player-id="232"
                  >
              New Kyle (3.75)
            </span>
        </div>
      </div>
      <div class="text-gray-400 text-sm my-2">vs</div>
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="228"
                  >
              Justin (4.00)
            </span>
             + 
            <span class=""
                  data-player-id="224"
                  >
              Jared (3.75)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="text-center mt-4">
        <form class="button_to" method="post" action="/swiss/matches/461/undo_winner"><button class="inline-flex items-center gap-2 py-3 px-6 bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-700 font-medium rounded-lg transition-all min-h-[44px]" type="submit">
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M7.707 3.293a1 1 0 010 1.414L5.414 7H11a7 7 0 017 7v2a1 1 0 11-2 0v-2a5 5 0 00-5-5H5.414l2.293 2.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
          </svg>
          Undo Result
</button><input type="hidden" name="authenticity_token" value="kVqvskJBlAazOB16Ji-WDGWD-YPsfvHDCvMjQf-31sNOK1XHoobIcwwErnf7gg7Zo_bAIIBqqSDsGBjjRqUktQ" autocomplete="off" /></form>      </div>
  </div>
</div>

    
<div id="match_462" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-green-500 bg-green-50">
    <div class="px-4 py-2 bg-gray-100 border-b border-gray-200 flex justify-between items-center">
      <span class="text-sm font-medium text-gray-600">Court 3</span>
        <span class="text-xs font-bold text-green-600 uppercase">Done</span>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="223"
                  >
              John (3.50)
            </span>
             + 
            <span class=""
                  data-player-id="230"
                  >
              Nic (2.75)
            </span>
        </div>
      </div>
      <div class="text-gray-400 text-sm my-2">vs</div>
      <div class="text-green-700">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="231"
                  >
              Terry (3.50)
            </span>
             + 
            <span class=""
                  data-player-id="229"
                  >
              Nestor (3.25)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="text-center mt-4">
        <form class="button_to" method="post" action="/swiss/matches/462/undo_winner"><button class="inline-flex items-center gap-2 py-3 px-6 bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-700 font-medium rounded-lg transition-all min-h-[44px]" type="submit">
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M7.707 3.293a1 1 0 010 1.414L5.414 7H11a7 7 0 017 7v2a1 1 0 11-2 0v-2a5 5 0 00-5-5H5.414l2.293 2.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
          </svg>
          Undo Result
</button><input type="hidden" name="authenticity_token" value="5J09R8y6JMEeRfX-UK2ry8IaaO3xCcFt351tOI9FQ27rfQ1ZHjNu9Ta6XCgI79XGh_ZwnT6EiryYFQTrNCYEuA" autocomplete="off" /></form>      </div>
  </div>
</div>

</div>
</template></turbo-stream>