
<turbo-stream action="update" target="stream-test-tools"><template>
    <form class="" data-turbo="true" action="/tools/stream-test" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="oZ_53ZIRvqRhhu-XJi4znvxF3pnVD85gxR_lo1ambt_PaMeAcgZVed1FQ4rpOnumdC5G3qCKAhvGzpNQT_W9zg" autocomplete="off" />
    <input autocomplete="off" value="text" type="hidden" name="load_type" id="load_type" />
    <div class="flex flex-col gap-4">  
      <div class="flex flex-col gap-2">
        <textarea class="flex-auto p-2 resize-none rounded-lg border-gray-200 text-gray-600 dark:bg-slate-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="URLs separated by newline" rows="8" name="stream_urls" id="stream_urls">
</textarea>
          
              <div class="text-sm font-medium text-gray-600">
                No URLs found
              </div>
        
      </div>
      
      <div id="form_text_action_buttons" class="py-3 sm:flex sm:justify-between items-center space-y-4 sm:space-x-2 sm:space-y-0">
            
    <label for="default-toggle" class="inline-flex relative items-center cursor-pointer">
  <input type="checkbox" value="false" id="default-toggle" class="sr-only peer" name="private_test" disabled  >
  <div class="w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div>
  <span class="ml-3 text-sm font-medium text-gray-900 dark:text-gray-300">Private URLs</span>
</label>

            
    <div class="flex flex-row space-x-2">
      <div data-controller="strm" class="relative inline-block text-left">
  <button id="dropdown-button"  data-action="strm#toggle" data-strm-type-param='css' data-strm-css-param='hidden' class="focus:outline-none font-medium rounded-lg text-sm px-4 py-2.5 text-center inline-flex items-center dark:bg-indigo-600 dark:hover:bg-indigo-700  text-white bg-indigo-700 hover:bg-indigo-800 dark:bg-indigo-600 dark:hover:bg-indigo-700 " type="button">
    Load URLs <svg class="ml-2 w-4 h-4" aria-hidden="true" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg>
  </button>
  <!-- Dropdown menu -->
  <div id="dropdown" data-strm-target="component" class="hidden origin-top-right absolute left-0 sm:right-0  mt-2 z-10 w-44 bg-white rounded divide-y divide-gray-100 shadow-lg dark:bg-gray-700">
      <ul class="py-1 text-sm text-gray-700 dark:text-gray-200" aria-labelledby="dropdownDefault">
          <li><a class="block w-full text-left py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white" data-turbo-stream="true" href="/tools/load-urls?from=file">From File</a></li>
          <li><a class="block w-full text-left py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white" data-turbo-stream="true" href="/tools/load-urls?from=remote">Remote URL</a></li>
      </ul>
  </div>
</div>
          <button name="button" type="submit" method="post" class="items-center group focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 focus:outline-none shadow-md hover:shadow-lg focus:shadow-lg focus:outline-none focus:ring-0 active:shadow-lg transition duration-150 ease-in-out cursor-pointer  text-white bg-indigo-700 hover:bg-indigo-800 dark:bg-indigo-600 dark:hover:bg-indigo-700 dark:focus:ring-indigo-800">
      <span></span>
      <span class="group-disabled:hidden">Run Test</span>
      <span class="hidden group-disabled:flex py-0.5">
        <svg class="animate-spin ml-1 mr-1 h-4 w-4 text-white-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
          <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
          <path class="opacity-75" fill="currentColor" d="M 4 12 a 8 8 0 0 1 8 -8 V 0 C 5.373 0 0 5.373 0 12 h 4 z m 0 0 A 7.962 7.962 0 0 1 4 12 H 0 l 4 0 z"></path>
        </svg>
      </span>
</button>
    </div>

      </div>
    </div>
</form>
</template></turbo-stream>
<turbo-stream action="update" target="stream-test-loader"><template>
</template></turbo-stream>
