  <turbo-stream action="update" target="homepage-default-search"><template>
    <div class="w-full">
  <div id="homepage-ai-search" class="relative w-full m-auto pointer-events-auto border border-solid border-border_color rounded-[20px]" data-controller="portal--navbar-search">
    <div class="rounded-[20px] w-full bg-white overflow-hidden relative">
      <div class="flex flex-col items-center justify-between gap-[14px] rounded-[16px] overflow-hidden">
        <div class="w-full flex items-center justify-between flex-col">
          <div id="navbar-search-input" class="flex-auto max-xs:p-[4px] max-xs:block p-[14px] inline-flex h-[64px] max-xs:h-full justify-between w-full bg-white gap-[10px]  border-t border-border_color  relative items-center [&>div]:shadow-[inset_0px_-24px_-24px_-36px_#CCC] z-4 [&>div:after]:content-[''] [&>div:after]:z-[-1] [&>div:after]:w-full  [&>div:after]:h-[10px] [&>div:after]:blur-[6px] [&>div:after]:opacity-[0.02] [&>div:after]:mix-blend-multiply [&>div:after]:bg-linear-to-r [&>div:after]:from-transparent [&>div:after]:to-black/34 [&>div:after]:via-black [&>div:after]:top-full [&>div:after]:left-0 [&>div:after]:absolute">
            <div class="flex gap-[8px] relative flex-1 items-center">
              <span class="anron-search text-[rgba(5,18,55,0.32)] text-[18px] font-semibold max-xs:absolute max-xs:top-[10px] max-xs:left-[10px]"></span>
              <input id="homepage_search_input" class="cursor-pointer w-full ring-0 border-0 shadow-none outline-hidden min-h-[34px] h-[38px] pl-0 placeholder:lg:text-[18px]! placeholder:text-[16px]! max-xs:pl-[36px]" type="text" placeholder="Describe your project or problem - be as detailed as you'd like." data-portal--navbar-search-target="input" data-input="homepage-search" data-action="input->portal--navbar-search#handleAiSearchTyping" autofocus>
            </div>
            <div class="flex gap-[8px]  items-center justify-end">
              <button id="ai-submit-search-button" data-portal--navbar-search-target="button" data-action="click->portal--navbar-search#submitHeaderSearch" class="disabled:opacity-50 disabled:grayscale-[1] disabled:cursor-not-allowed flex-none bg-[rgba(246,235,253,0.50)] rounded-[6px] p-[6px_18px_6px_18px] inline-flex gap-[6px] items-center justify-center h-[40px] max-sm:h-[36px]! max-xs:w-full! ai-btn">
                <img class="h-[12px] w-[12px]" alt="star" src="https://topline.com/assets/purple_star-fcdfcbf0.png" />
                <span class="text-[14px] text-[rgba(5,18,55,0.76)] leading-4 font-text_font font-medium">Get Matches</span>
              </button>
            </div>
          </div>
          <div id="render_search_history" class="flex flex-col justify-between w-full bg-white gap-[0] border-t border-border_color ">
            <div class="searchpro bg-[#fff]">
              <div class="flex sm:flex-row flex-col items-normal">
                <ul class="flex-1 flex sm:flex-col flex-row sm:border-r-1 sm:border-b-0 border-b-1 border-border_color [&_li.isactive_span]:text-link_color [&_li.isactive_a_i]:text-link_color! [&_li.isactive_a]:bg-[#ECF6FF] sm:p-[20px] p-[10px_16px] sm:max-w-[200px] max-w-[100%]">
                  <li class="sm:flex-none flex-1 isactive [&:after]:hidden" data-portal--navbar-search-target="tab" data-action="click->portal--navbar-search#showProfessionals">
                    <a class="flex items-center p-[8px_12px] gap-[8px] hover:*:text-link_color hover:bg-body_bg rounded-[8px] group whitespace-nowrap overflow-hidden text-ellipsis sm:justify-start justify-center">
                      <i class="anron-users text-[#666D80] text-[18px] cursor-pointer"></i>
                      <span class="text-[14px] text-[#051237C2] leading-[20px] font-text_font font-normal">Professionals</span>
                    </a>
                  </li>
                  <li class="sm:flex-none flex-1 [&:after]:hidden" data-portal--navbar-search-target="tab" data-action="click->portal--navbar-search#showCompanies">
                    <a class="flex items-center p-[8px_12px] gap-[8px] hover:*:text-link_color hover:bg-body_bg rounded-[8px] group whitespace-nowrap overflow-hidden text-ellipsis sm:justify-start justify-center">
                      <i class="anron-briefcase text-[#666D80] text-[18px] cursor-pointer"></i>
                      <span class="text-[14px] text-[#051237C2] leading-[20px] font-text_font font-normal">Companies</span>
                    </a>
                  </li>
                </ul>
                <div data-portal--navbar-search-target="titleSearchShimmer" class="flex-1 p-[20px] hidden">
  <ul class="w-full max-h-[200px] chatbox overflow-auto">
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
  </ul>
</div>
<div id="professional_search_by_title" class="flex-1 p-[20px] hidden">
</div>
              </div>
              <div class="relative inline-flex justify-between w-full bg-white gap-[10px]  border-t border-border_color [&>div]:shadow-[inset_0px_-24px_-24px_-36px_#CCC] z-4 [&>div:after]:content-[''] [&>div:after]:z-[-1] [&>div:after]:w-full  [&>div:after]:h-[10px] [&>div:after]:blur-[6px] [&>div:after]:opacity-[0.02] [&>div:after]:mix-blend-multiply [&>div:after]:bg-linear-to-r [&>div:after]:from-transparent [&>div:after]:to-black/34 [&>div:after]:via-black [&>div:after]:top-[-14px] [&>div:after]:left-0 [&>div:after]:absolute">
                <div class="p-[14px] inline-flex justify-between w-full bg-white gap-[10px]   relative items-center [&>div]:shadow-[inset_0px_-24px_-24px_-36px_#CCC] z-4 [&>div:after]:content-[''] [&>div:after]:z-[-1] [&>div:after]:w-full  [&>div:after]:h-[20px] [&>div:after]:blur-[5px] [&>div:after]:opacity-[0.03] [&>div:after]:mix-blend-multiply [&>div:after]:bg-linear-to-r [&>div:after]:from-transparent [&>div:after]:to-black/34 [&>div:after]:via-black [&>div:after]:top-0 [&>div:after]:left-0 [&>div:after]:absolute">
    <a class="switchbtn db-job bg-[#F9F9F9] rounded-[100px] p-[7px_14px_7px_6px] inline-flex items-center justify-center gradientswitchbtn" data-action="click->mapbox#toggleGoldLoginModal" href="javascript:void(0)">
      <input type="checkbox" id="Geek1">
      <label for="Geek1"></label>
      <span class="status-text text-[12px] opacity-[0.8] text-[#051237C2] leading-4 font-text_font font-medium ml-[6px]">Job Brief</span>
    </a>
    <div class="ml-auto inline-flex gap-[10px] items-center">
      <a data-action="click->mapbox#toggleGoldLoginModal" href="javascript:void(0)" class="cursor-pointer bg-[rgba(246,235,253,0.50)] rounded-[100px] p-[7px_18px_7px_18px] inline-flex gap-[6px] items-center justify-center">
        <img class="h-[12px] w-[12px]" alt="star" src="https://topline.com/assets/purple_star-fcdfcbf0.png" />
        <span class="text-[14px] text-[rgba(5,18,55,0.76)] leading-4 font-text_font font-medium">Deep Search</span>
      </a>
      <div data-action="click->mapbox#toggleGoldLoginModal" class="cursor-pointer bg-[#F9F9F9] rounded-[100px] p-[7px_18px_7px_18px] inline-flex gap-[6px] items-center justify-center has-dotvtwo">
        <i class="anron-history text-[14px] opacity-[0.8] text-[#05123799]"></i>
        <span class="text-[14px] text-[rgba(5,18,55,0.76)] leading-4 font-text_font font-normal">History</span>
      </div>
    </div>
</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <form id="criteria_search_form" data-turbo-stream="true" action="/portal/navbar_search/generate_criteria" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="_eEmfh1KfNBWduI_40b-oaokRAvo8ylXgNCcxP3ws5iLA2GXgqQOXZtuG_SlSKE4M56y0Kfa1Xziuphzm-2iLw" autocomplete="off" />
      <input autocomplete="off" value="" data-portal--navbar-search-target="navbarFormSearchQuery" type="hidden" name="search_query" id="search_query" />
      <input autocomplete="off" value="true" type="hidden" name="header" id="header" />
      <input autocomplete="off" value="homepage_search" type="hidden" name="type" id="type" />
</form>    <form id="search_by_title_form" data-turbo-stream="true" action="/portal/navbar_search/search_by_title" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="GON0j_2WFsdliX6VlNZ1byI5s8y5HvUP2LfbDVmZw5U0_Q1jUb6HiXcnTm2asRLiU-QzaO7QH9SjnnnGY8ZpUg" autocomplete="off" />
      <input autocomplete="off" value="" data-portal--navbar-search-target="searchFormQueryValue" type="hidden" name="query" id="query" />
      <input autocomplete="off" value="professional" type="hidden" name="search_type" id="search_type" />
</form>  </div>
</div>
</template></turbo-stream>  <turbo-stream action="update" target="render_search_history"><template>
</template></turbo-stream>  <turbo-stream action="replace" target="navbar-search-input"><template>
    <div class="w-full">
  <div id="homepage-ai-search" class="relative w-full m-auto pointer-events-auto border border-solid border-border_color rounded-[20px]" data-controller="portal--navbar-search">
    <div class="rounded-[20px] w-full bg-white overflow-hidden relative">
      <div class="flex flex-col items-center justify-between gap-[14px] rounded-[16px] overflow-hidden">
        <div class="w-full flex items-center justify-between flex-col">
          <div id="navbar-search-input" class="flex-auto max-xs:p-[4px] max-xs:block p-[14px] inline-flex h-[64px] max-xs:h-full justify-between w-full bg-white gap-[10px]  border-t border-border_color  relative items-center [&>div]:shadow-[inset_0px_-24px_-24px_-36px_#CCC] z-4 [&>div:after]:content-[''] [&>div:after]:z-[-1] [&>div:after]:w-full  [&>div:after]:h-[10px] [&>div:after]:blur-[6px] [&>div:after]:opacity-[0.02] [&>div:after]:mix-blend-multiply [&>div:after]:bg-linear-to-r [&>div:after]:from-transparent [&>div:after]:to-black/34 [&>div:after]:via-black [&>div:after]:top-full [&>div:after]:left-0 [&>div:after]:absolute">
            <div class="flex gap-[8px] relative flex-1 items-center">
              <span class="anron-search text-[rgba(5,18,55,0.32)] text-[18px] font-semibold max-xs:absolute max-xs:top-[10px] max-xs:left-[10px]"></span>
              <input id="homepage_search_input" class="cursor-pointer w-full ring-0 border-0 shadow-none outline-hidden min-h-[34px] h-[38px] pl-0 placeholder:lg:text-[18px]! placeholder:text-[16px]! max-xs:pl-[36px]" type="text" placeholder="Describe your project or problem - be as detailed as you'd like." data-portal--navbar-search-target="input" data-input="homepage-search" data-action="input->portal--navbar-search#handleAiSearchTyping" autofocus>
            </div>
            <div class="flex gap-[8px]  items-center justify-end">
              <button id="ai-submit-search-button" data-portal--navbar-search-target="button" data-action="click->portal--navbar-search#submitHeaderSearch" class="disabled:opacity-50 disabled:grayscale-[1] disabled:cursor-not-allowed flex-none bg-[rgba(246,235,253,0.50)] rounded-[6px] p-[6px_18px_6px_18px] inline-flex gap-[6px] items-center justify-center h-[40px] max-sm:h-[36px]! max-xs:w-full! ai-btn">
                <img class="h-[12px] w-[12px]" alt="star" src="https://topline.com/assets/purple_star-fcdfcbf0.png" />
                <span class="text-[14px] text-[rgba(5,18,55,0.76)] leading-4 font-text_font font-medium">Get Matches</span>
              </button>
            </div>
          </div>
          <div id="render_search_history" class="flex flex-col justify-between w-full bg-white gap-[0] border-t border-border_color ">
            <div class="searchpro bg-[#fff]">
              <div class="flex sm:flex-row flex-col items-normal">
                <ul class="flex-1 flex sm:flex-col flex-row sm:border-r-1 sm:border-b-0 border-b-1 border-border_color [&_li.isactive_span]:text-link_color [&_li.isactive_a_i]:text-link_color! [&_li.isactive_a]:bg-[#ECF6FF] sm:p-[20px] p-[10px_16px] sm:max-w-[200px] max-w-[100%]">
                  <li class="sm:flex-none flex-1 isactive [&:after]:hidden" data-portal--navbar-search-target="tab" data-action="click->portal--navbar-search#showProfessionals">
                    <a class="flex items-center p-[8px_12px] gap-[8px] hover:*:text-link_color hover:bg-body_bg rounded-[8px] group whitespace-nowrap overflow-hidden text-ellipsis sm:justify-start justify-center">
                      <i class="anron-users text-[#666D80] text-[18px] cursor-pointer"></i>
                      <span class="text-[14px] text-[#051237C2] leading-[20px] font-text_font font-normal">Professionals</span>
                    </a>
                  </li>
                  <li class="sm:flex-none flex-1 [&:after]:hidden" data-portal--navbar-search-target="tab" data-action="click->portal--navbar-search#showCompanies">
                    <a class="flex items-center p-[8px_12px] gap-[8px] hover:*:text-link_color hover:bg-body_bg rounded-[8px] group whitespace-nowrap overflow-hidden text-ellipsis sm:justify-start justify-center">
                      <i class="anron-briefcase text-[#666D80] text-[18px] cursor-pointer"></i>
                      <span class="text-[14px] text-[#051237C2] leading-[20px] font-text_font font-normal">Companies</span>
                    </a>
                  </li>
                </ul>
                <div data-portal--navbar-search-target="titleSearchShimmer" class="flex-1 p-[20px] hidden">
  <ul class="w-full max-h-[200px] chatbox overflow-auto">
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
      <li>
        <div class="flex gap-[10px] rounded-[10px] transition duration-300 ease-in-out p-[7px_10px] justify-between hover:bg-[rgba(5,18,55,0.02)] items-center">
          <figure class="w-[28px] h-[28px] shimmer rounded-md active flex-none relative"></figure>
          <div class="flex flex-col w-full gap-[2px]">
            <div class="flex items-center gap-[10px] justify-between">
              <span class="h-[16px] shimmer w-[150px]  rounded-md"></span>
            </div>
            <span class="flex-none h-[13px] shimmer w-[200px] rounded-md block"></span>
          </div>
        </div>
      </li>
  </ul>
</div>
<div id="professional_search_by_title" class="flex-1 p-[20px] hidden">
</div>
              </div>
              <div class="relative inline-flex justify-between w-full bg-white gap-[10px]  border-t border-border_color [&>div]:shadow-[inset_0px_-24px_-24px_-36px_#CCC] z-4 [&>div:after]:content-[''] [&>div:after]:z-[-1] [&>div:after]:w-full  [&>div:after]:h-[10px] [&>div:after]:blur-[6px] [&>div:after]:opacity-[0.02] [&>div:after]:mix-blend-multiply [&>div:after]:bg-linear-to-r [&>div:after]:from-transparent [&>div:after]:to-black/34 [&>div:after]:via-black [&>div:after]:top-[-14px] [&>div:after]:left-0 [&>div:after]:absolute">
                <div class="p-[14px] inline-flex justify-between w-full bg-white gap-[10px]   relative items-center [&>div]:shadow-[inset_0px_-24px_-24px_-36px_#CCC] z-4 [&>div:after]:content-[''] [&>div:after]:z-[-1] [&>div:after]:w-full  [&>div:after]:h-[20px] [&>div:after]:blur-[5px] [&>div:after]:opacity-[0.03] [&>div:after]:mix-blend-multiply [&>div:after]:bg-linear-to-r [&>div:after]:from-transparent [&>div:after]:to-black/34 [&>div:after]:via-black [&>div:after]:top-0 [&>div:after]:left-0 [&>div:after]:absolute">
    <a class="switchbtn db-job bg-[#F9F9F9] rounded-[100px] p-[7px_14px_7px_6px] inline-flex items-center justify-center gradientswitchbtn" data-action="click->mapbox#toggleGoldLoginModal" href="javascript:void(0)">
      <input type="checkbox" id="Geek1">
      <label for="Geek1"></label>
      <span class="status-text text-[12px] opacity-[0.8] text-[#051237C2] leading-4 font-text_font font-medium ml-[6px]">Job Brief</span>
    </a>
    <div class="ml-auto inline-flex gap-[10px] items-center">
      <a data-action="click->mapbox#toggleGoldLoginModal" href="javascript:void(0)" class="cursor-pointer bg-[rgba(246,235,253,0.50)] rounded-[100px] p-[7px_18px_7px_18px] inline-flex gap-[6px] items-center justify-center">
        <img class="h-[12px] w-[12px]" alt="star" src="https://topline.com/assets/purple_star-fcdfcbf0.png" />
        <span class="text-[14px] text-[rgba(5,18,55,0.76)] leading-4 font-text_font font-medium">Deep Search</span>
      </a>
      <div data-action="click->mapbox#toggleGoldLoginModal" class="cursor-pointer bg-[#F9F9F9] rounded-[100px] p-[7px_18px_7px_18px] inline-flex gap-[6px] items-center justify-center has-dotvtwo">
        <i class="anron-history text-[14px] opacity-[0.8] text-[#05123799]"></i>
        <span class="text-[14px] text-[rgba(5,18,55,0.76)] leading-4 font-text_font font-normal">History</span>
      </div>
    </div>
</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <form id="criteria_search_form" data-turbo-stream="true" action="/portal/navbar_search/generate_criteria" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="6YyLDC2hJFr6e_5xh8zpV9Kq8nSDdWFaI-IAf8Vb9KGfbszlsk9W1zdjB7rBwrbOSxAEr8xcnXFBiATIo0blFg" autocomplete="off" />
      <input autocomplete="off" value="" data-portal--navbar-search-target="navbarFormSearchQuery" type="hidden" name="search_query" id="search_query" />
      <input autocomplete="off" value="true" type="hidden" name="header" id="header" />
      <input autocomplete="off" value="homepage_search" type="hidden" name="type" id="type" />
</form>    <form id="search_by_title_form" data-turbo-stream="true" action="/portal/navbar_search/search_by_title" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="dKJWRjUBWQqLcfRumKMaSshmR-gBwYmlKl-fPakeRo9YvC-qmSnIRJnfxJaWxH3HubvHTFYPY35Rdj32k0HsSA" autocomplete="off" />
      <input autocomplete="off" value="" data-portal--navbar-search-target="searchFormQueryValue" type="hidden" name="query" id="query" />
      <input autocomplete="off" value="professional" type="hidden" name="search_type" id="search_type" />
</form>  </div>
</div>
</template></turbo-stream>