<a class="md-header__button md-icon" href="https://www.coze.cn/store/agent/7503197985959428108?bot_id=true" target="_blank" title="AI 助手">
    <svg xmlns="http://www.w3.org/2000/svg" style="transform: scale(1.2);" width="40" height="40" fill="none" viewBox="0 0 40 40"><rect width="36" height="36" x="2" y="2" fill="#4D53E8" rx="6"></rect><g filter="url(#icon-menu-logo_svg__a)"><path fill="#fff" fill-rule="evenodd" d="M20.15 7.672c-5.204 0-9.423 4.22-9.423 9.427v3.954H8.464c-2.597 0-3.184 3.643-.719 4.46l2.982.988v1.707c0 1.687 1.775 2.784 3.283 2.03l1.651-.826a.14.14 0 0 1 .196.082c1.338 4.179 7.248 4.179 8.587 0a.14.14 0 0 1 .195-.082l1.652.826c1.508.754 3.283-.343 3.283-2.03v-1.707l2.981-.988c2.466-.817 1.879-4.46-.719-4.46h-2.262v-3.954c0-5.206-4.22-9.427-9.424-9.427" clip-rule="evenodd"></path></g><g filter="url(#icon-menu-logo_svg__b)"><path fill="url(#icon-menu-logo_svg__c)" d="M23.343 21.964a.912.912 0 1 1 1.824 0 .912.912 0 0 1-1.825 0"></path></g><g filter="url(#icon-menu-logo_svg__d)"><path fill="url(#icon-menu-logo_svg__e)" d="M17.248 25.324a.912.912 0 0 1 1.29-1.29c.89.89 2.333.89 3.224 0a.912.912 0 1 1 1.29 1.29 4.1 4.1 0 0 1-5.804 0"></path></g><g filter="url(#icon-menu-logo_svg__f)"><path fill="url(#icon-menu-logo_svg__g)" d="M16.047 20.14a.91.91 0 0 0-.912.912v1.825a.912.912 0 1 0 1.824 0v-1.825a.91.91 0 0 0-.912-.912"></path></g><defs><filter id="icon-menu-logo_svg__a" width="30.351" height="27.956" x="4.975" y="6.472" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="0.6"></feOffset><feGaussianBlur stdDeviation="0.6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.165547 0 0 0 0 0.177065 0 0 0 0 0.463086 0 0 0 0.2 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="0.3"></feOffset><feGaussianBlur stdDeviation="0.3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.164706 0 0 0 0 0.176471 0 0 0 0 0.462745 0 0 0 0.1 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="1.2"></feOffset><feGaussianBlur stdDeviation="1.2"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.1 0"></feColorMatrix><feBlend in2="shape" result="effect3_innerShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-1.2"></feOffset><feGaussianBlur stdDeviation="1.2"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.15 0"></feColorMatrix><feBlend in2="effect3_innerShadow_1054_7681" result="effect4_innerShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-1.2"></feOffset><feGaussianBlur stdDeviation="0.9"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.15 0"></feColorMatrix><feBlend in2="effect4_innerShadow_1054_7681" result="effect5_innerShadow_1054_7681"></feBlend></filter><filter id="icon-menu-logo_svg__b" width="3.624" height="3.925" x="22.442" y="20.302" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="0.45"></feOffset><feGaussianBlur stdDeviation="0.45"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-0.15"></feOffset><feGaussianBlur stdDeviation="0.3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.4 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend></filter><filter id="icon-menu-logo_svg__d" width="8.138" height="4.86" x="16.081" y="23.016" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="0.45"></feOffset><feGaussianBlur stdDeviation="0.45"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-0.15"></feOffset><feGaussianBlur stdDeviation="0.3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.4 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend></filter><filter id="icon-menu-logo_svg__f" width="3.624" height="5.749" x="14.235" y="19.39" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="0.45"></feOffset><feGaussianBlur stdDeviation="0.45"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1054_7681"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-0.15"></feOffset><feGaussianBlur stdDeviation="0.3"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix values="0 0 0 0 0.301961 0 0 0 0 0.32549 0 0 0 0 0.909804 0 0 0 0.4 0"></feColorMatrix><feBlend in2="effect1_dropShadow_1054_7681" result="effect2_dropShadow_1054_7681"></feBlend><feBlend in="SourceGraphic" in2="effect2_dropShadow_1054_7681" result="shape"></feBlend></filter><linearGradient id="icon-menu-logo_svg__c" x1="24.308" x2="24.165" y1="21.357" y2="27.204" gradientUnits="userSpaceOnUse"><stop stop-color="#272DCC"></stop><stop offset="1" stop-color="#9A9DF2"></stop></linearGradient><linearGradient id="icon-menu-logo_svg__e" x1="19.849" x2="19.249" y1="24.65" y2="26.9" gradientUnits="userSpaceOnUse"><stop stop-color="#2B33E6"></stop><stop offset="1" stop-color="#A19AF2"></stop></linearGradient><linearGradient id="icon-menu-logo_svg__g" x1="16.1" x2="15.53" y1="20.75" y2="32.422" gradientUnits="userSpaceOnUse"><stop stop-color="#272DCC"></stop><stop offset="1" stop-color="#9A9DF2"></stop></linearGradient></defs></svg>
</a>

<div class="md-search__inner" role="search">
  <form class="md-search__form" name="search" onsubmit="return false;">
    <input type="text" class="md-search__input" style="cursor: pointer !important;" name="query" aria-label="AI 搜索" placeholder="AI 搜索" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" readonly required onclick="window.openOramaSearch()" />
    <label class="md-search__icon md-icon" for="__search" onclick="window.openOramaSearch()"> {% set icon = config.theme.icon.search or "material/magnify" %} {% include ".icons/" ~ icon ~ ".svg" %} {% set icon = config.theme.icon.previous or "material/arrow-left" %} {% include ".icons/" ~ icon ~ ".svg" %} </label>
  </form>
  <div class="md-search__output">
    <div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
      <div class="md-search-result" data-md-component="search-result">
        <div class="md-search-result__meta">{{ lang.t("search.result.initializer") }}</div>
        <ol class="md-search-result__list" role="presentation"></ol>
      </div>
    </div>
  </div>
</div>

<script>
  document.addEventListener('DOMContentLoaded', function() {
    const searchToggle = document.getElementById('__search');
    if (searchToggle) {
      searchToggle.addEventListener('change', function() {
        if (this.checked) {
          this.checked = false;
          window.openOramaSearch();
        }
      });
    }
  });
</script>

<style>
  .md-search__output {
    display: none !important;
  }
  .md-search__inner {
    padding-left: 4px;
  }
  .md-search__form {
    border-radius: 6px;
  }
  @media screen and (min-width: 60em) {
    .md-search__inner {
      width: 8.7rem;
    }
  }
</style>
