import{k as sr,j as g,t as nr,h as ir,m as l,n as a,p as e,f as y,i as b,v as k,A as m,w as ar,x as pr,s as cr,e as ur,F as N,S as lr}from"./web.Os7kOAdY.js";import{c as A}from"./clipboard.BNxbz_oK.js";import{s as mr}from"./cheat-search.DbXR8OG0.js";import{g as T,t as dr}from"./i18n-runtime._BAkvU05.js";var hr=m("<div class=panel style=display:flex;flex-direction:column;gap:14px><div class=tool-tabs role=tablist></div><input class=tool-input><div style=display:flex;flex-direction:column;gap:14px></div><p class=tool-hint><!$><!/><!$><!/> / <!$><!/> <!$><!/>"),gr=m("<button>"),yr=m("<p class=tool-hint style=margin:0>📝 <!$><!/>"),br=m('<div class=panel style=padding:14px;display:flex;flex-direction:column;gap:10px><div style=display:flex;flex-wrap:wrap;align-items:center;gap:8px><strong style=font-size:15px></strong><span class=tool-chip></span><span class=tool-chip style=opacity:0.85></span><span style=flex:1></span><button class="tool-btn is-ghost"></button><button class=tool-btn></button></div><code style=font-family:ui-monospace,monospace;font-size:13px;color:var(--muted);word-break:break-all></code><pre class=tool-pre style=margin:0;white-space:pre-wrap;word-break:break-word></pre><!$><!/>');const kr=["全部","Linux 包管理","macOS Homebrew","Node.js / npm","Python / pip","Rust / cargo","Go","Java / Maven","PHP / Composer","Ruby / Gems","Conda / 数据科学","Flutter / Dart","容器 / Docker","Kubernetes / Helm","Git / GitHub","CDN / JS"],v=[{name:"Ubuntu apt 镜像",cat:"Linux 包管理",provider:"阿里云",url:"https://mirrors.aliyun.com/ubuntu/",setup:`# 备份原 sources.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

# Ubuntu 22.04 (jammy) 示例，其他版本将 jammy 替换为对应代号
sudo tee /etc/apt/sources.list <<'EOF'
deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
EOF

sudo apt update`,note:"将 jammy 替换为你的发行代号：focal/jammy/noble；24.04+ 推荐 noble。",keywords:["ubuntu","apt","sources.list","换源","aliyun"]},{name:"Ubuntu apt 镜像",cat:"Linux 包管理",provider:"清华 TUNA",url:"https://mirrors.tuna.tsinghua.edu.cn/ubuntu/",setup:`sudo sed -i 's@//.*archive.ubuntu.com@//mirrors.tuna.tsinghua.edu.cn@g; s@//.*security.ubuntu.com@//mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list
sudo apt update`,keywords:["ubuntu","tuna","换源"]},{name:"Debian apt 镜像",cat:"Linux 包管理",provider:"阿里云",url:"https://mirrors.aliyun.com/debian/",setup:`sudo tee /etc/apt/sources.list <<'EOF'
deb https://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb https://mirrors.aliyun.com/debian/ bookworm-updates main contrib non-free non-free-firmware
EOF
sudo apt update`,note:"bookworm = Debian 12；trixie = Debian 13。",keywords:["debian","apt","换源"]},{name:"CentOS / RHEL yum",cat:"Linux 包管理",provider:"阿里云",url:"https://mirrors.aliyun.com/repo/",setup:`# CentOS 7
sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sudo yum makecache

# Rocky Linux 9 / Alma 9
sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \\
  -e 's|^#baseurl=http://dl.rockylinux.org/\\$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \\
  -i.bak /etc/yum.repos.d/rocky-*.repo
sudo dnf makecache`,keywords:["centos","rocky","alma","yum","dnf","换源"]},{name:"Alpine apk",cat:"Linux 包管理",provider:"阿里云",url:"https://mirrors.aliyun.com/alpine/",setup:`sudo sed -i 's|dl-cdn.alpinelinux.org|mirrors.aliyun.com|g' /etc/apk/repositories
sudo apk update`,note:"Dockerfile 中：RUN sed -i ... 即可加速容器构建。",keywords:["alpine","apk","docker"]},{name:"Arch Linux pacman",cat:"Linux 包管理",provider:"清华 TUNA",url:"https://mirrors.tuna.tsinghua.edu.cn/archlinux/",setup:`# 在 /etc/pacman.d/mirrorlist 顶部加入：
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
sudo pacman -Syyu`,keywords:["arch","pacman","archlinux"]},{name:"Homebrew 公式 + bottles",cat:"macOS Homebrew",provider:"清华 TUNA",url:"https://mirrors.tuna.tsinghua.edu.cn/homebrew/",setup:`# 替换三大仓库 + bottles 域名（写入 ~/.zshrc 或 ~/.bashrc 永久生效）
git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles' >> ~/.zshrc
echo 'export HOMEBREW_API_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api' >> ~/.zshrc
source ~/.zshrc
brew update`,note:"Homebrew ≥ 4.0 走 API 拉公式，必须设置 HOMEBREW_API_DOMAIN。",keywords:["brew","macos","tuna","bottles"]},{name:"Homebrew 安装脚本",cat:"macOS Homebrew",provider:"中科大 USTC",url:"https://mirrors.ustc.edu.cn/brew.git",setup:`# 一键脚本（中科大维护的中国版 install）
/bin/bash -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"`,keywords:["homebrew install","安装脚本"]},{name:"npm 镜像（npmmirror）",cat:"Node.js / npm",provider:"阿里云 / npmmirror",url:"https://registry.npmmirror.com",setup:`# 全局生效
npm config set registry https://registry.npmmirror.com

# 或写入 ~/.npmrc
echo 'registry=https://registry.npmmirror.com' >> ~/.npmrc

# 仅当前项目（提交进仓库即可团队共享）
echo 'registry=https://registry.npmmirror.com' > .npmrc`,note:"原 cnpmjs.org 已迁移到 npmmirror.com；同时支持 yarn / pnpm。",keywords:["npm","cnpm","taobao","npmmirror","registry"]},{name:"pnpm 镜像",cat:"Node.js / npm",provider:"阿里云",url:"https://registry.npmmirror.com",setup:`pnpm config set registry https://registry.npmmirror.com
# 加速二进制（node-gyp、puppeteer、prisma 等）
pnpm config set node-mirror:release https://npmmirror.com/mirrors/node/
pnpm config set puppeteer_download_host https://npmmirror.com/mirrors`,keywords:["pnpm","node-mirror"]},{name:"yarn 镜像",cat:"Node.js / npm",provider:"阿里云",url:"https://registry.npmmirror.com",setup:`yarn config set registry https://registry.npmmirror.com -g
# yarn berry (v2+)
yarn config set npmRegistryServer https://registry.npmmirror.com`,keywords:["yarn","berry"]},{name:"Node.js 二进制 / nvm",cat:"Node.js / npm",provider:"阿里云",url:"https://registry.npmmirror.com/-/binary/node/",setup:`# 写入 ~/.zshrc 或 ~/.bashrc：
export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node/
# 或 nvm 直接指定
nvm install 20 --mirror=https://npmmirror.com/mirrors/node/`,keywords:["nvm","nodejs binary","fnm"]},{name:"pip / PyPI 镜像",cat:"Python / pip",provider:"清华 TUNA",url:"https://pypi.tuna.tsinghua.edu.cn/simple",setup:`# 永久（写入 ~/.pip/pip.conf 或 %APPDATA%\\pip\\pip.ini）
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip config set global.trusted-host pypi.tuna.tsinghua.edu.cn

# 一次性
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple <pkg>`,note:"其他可选：阿里 https://mirrors.aliyun.com/pypi/simple/、中科大、腾讯、豆瓣。",keywords:["pip","pypi","tuna","换源","清华"]},{name:"pip / PyPI 镜像",cat:"Python / pip",provider:"阿里云",url:"https://mirrors.aliyun.com/pypi/simple/",setup:`pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config set global.trusted-host mirrors.aliyun.com`,keywords:["pip","aliyun"]},{name:"Poetry 源",cat:"Python / pip",provider:"清华 TUNA",url:"https://pypi.tuna.tsinghua.edu.cn/simple",setup:`# pyproject.toml 中追加：
[[tool.poetry.source]]
name = "tuna"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary"`,keywords:["poetry","pyproject"]},{name:"uv 源（Rust 写的 pip 替代）",cat:"Python / pip",provider:"清华 TUNA",url:"https://pypi.tuna.tsinghua.edu.cn/simple",setup:`# 环境变量方式
export UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple

# 或在 pyproject.toml / uv.toml
[tool.uv]
index-url = "https://pypi.tuna.tsinghua.edu.cn/simple"`,keywords:["uv","astral"]},{name:"crates.io 镜像（稀疏索引）",cat:"Rust / cargo",provider:"字节 RsProxy",url:"https://rsproxy.cn/",setup:`# 写入 ~/.cargo/config.toml
[source.crates-io]
replace-with = "rsproxy-sparse"

[source.rsproxy]
registry = "https://rsproxy.cn/crates.io-index"

[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"

[registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index"

[net]
git-fetch-with-cli = true`,note:"sparse 协议是 cargo ≥ 1.68 默认；速度比 git 索引快 10x。",keywords:["cargo","crates.io","rsproxy","bytedance"]},{name:"crates.io 镜像",cat:"Rust / cargo",provider:"中科大 USTC",url:"https://mirrors.ustc.edu.cn/crates.io-index",setup:`# ~/.cargo/config.toml
[source.crates-io]
replace-with = 'ustc'

[source.ustc]
registry = "sparse+https://mirrors.ustc.edu.cn/crates.io-index/"`,keywords:["cargo","ustc"]},{name:"rustup 镜像",cat:"Rust / cargo",provider:"字节 RsProxy",url:"https://rsproxy.cn/",setup:`# 写入 ~/.zshrc / ~/.bashrc 后再执行 rustup-init
export RUSTUP_DIST_SERVER="https://rsproxy.cn"
export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup"
curl --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh`,keywords:["rustup","安装 rust","install rust"]},{name:"GOPROXY",cat:"Go",provider:"七牛 / goproxy.cn",url:"https://goproxy.cn",setup:`go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
# 私有仓库不走代理
go env -w GOPRIVATE=*.corp.example.com,gitlab.com/myorg`,note:"阿里：https://mirrors.aliyun.com/goproxy/；字节：https://goproxy.io/cn/。",keywords:["go","goproxy","gomod","goprivate"]},{name:"GOPROXY",cat:"Go",provider:"阿里云",url:"https://mirrors.aliyun.com/goproxy/",setup:"go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct",keywords:["go","aliyun"]},{name:"Maven 中央仓库",cat:"Java / Maven",provider:"阿里云",url:"https://maven.aliyun.com/repository/public",setup:`<!-- ~/.m2/settings.xml -->
<settings>
  <mirrors>
    <mirror>
      <id>aliyunmaven</id>
      <mirrorOf>*</mirrorOf>
      <name>aliyun maven</name>
      <url>https://maven.aliyun.com/repository/public</url>
    </mirror>
  </mirrors>
</settings>`,keywords:["maven","m2","aliyun","java"]},{name:"Maven 中央仓库",cat:"Java / Maven",provider:"腾讯云",url:"https://mirrors.cloud.tencent.com/nexus/repository/maven-public/",setup:`<mirror>
  <id>tencent-cloud</id>
  <mirrorOf>*</mirrorOf>
  <url>https://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
</mirror>`,keywords:["maven","tencent"]},{name:"Gradle 仓库",cat:"Java / Maven",provider:"阿里云",url:"https://maven.aliyun.com/repository/public",setup:`// build.gradle.kts 顶部
repositories {
    maven { url = uri("https://maven.aliyun.com/repository/public") }
    maven { url = uri("https://maven.aliyun.com/repository/google") }
    maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
    mavenCentral()
}

// 或者在 ~/.gradle/init.gradle.kts 全局生效
allprojects {
    repositories {
        maven { url = uri("https://maven.aliyun.com/repository/public") }
    }
}`,keywords:["gradle","android","kotlin"]},{name:"Composer 全局镜像",cat:"PHP / Composer",provider:"阿里云",url:"https://mirrors.aliyun.com/composer/",setup:"composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/",keywords:["composer","php","packagist"]},{name:"Composer 全局镜像",cat:"PHP / Composer",provider:"腾讯云",url:"https://mirrors.cloud.tencent.com/composer/",setup:"composer config -g repo.packagist composer https://mirrors.cloud.tencent.com/composer/",keywords:["composer","tencent"]},{name:"RubyGems 镜像",cat:"Ruby / Gems",provider:"RubyChina",url:"https://gems.ruby-china.com/",setup:`gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
gem sources -l
# Bundler:
bundle config mirror.https://rubygems.org https://gems.ruby-china.com`,keywords:["ruby","gem","bundler","cocoapods"]},{name:"Anaconda / conda 镜像",cat:"Conda / 数据科学",provider:"清华 TUNA",url:"https://mirrors.tuna.tsinghua.edu.cn/anaconda/",setup:`# 写入 ~/.condarc
cat > ~/.condarc <<'EOF'
channels:
  - defaults
show_channel_urls: true
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
EOF
conda clean -i`,keywords:["conda","anaconda","pytorch","conda-forge"]},{name:"Flutter / Pub 镜像",cat:"Flutter / Dart",provider:"上海交大 SJTUG",url:"https://mirrors.sjtug.sjtu.edu.cn/dart-pub/",setup:`# 写入 ~/.zshrc / ~/.bashrc
export PUB_HOSTED_URL=https://mirrors.sjtug.sjtu.edu.cn/dart-pub
export FLUTTER_STORAGE_BASE_URL=https://mirrors.sjtug.sjtu.edu.cn/flutter`,note:"官方 dev 镜像 https://pub.flutter-io.cn 已废弃，改用社区镜像。",keywords:["flutter","pub","dart"]},{name:"Docker Hub 镜像",cat:"容器 / Docker",provider:"阿里云",url:"https://<id>.mirror.aliyuncs.com",setup:`# 登录阿里云 -> 容器镜像服务 -> 镜像加速器 拿到专属 ID
# 写入 /etc/docker/daemon.json
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
  "registry-mirrors": [
    "https://<id>.mirror.aliyuncs.com",
    "https://docker.m.daocloud.io",
    "https://docker.1ms.run"
  ]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
docker info | grep -A2 'Registry Mirrors'`,note:"阿里加速器需登录获取专属域名；后两个是公益镜像（可用性会变）。",keywords:["docker","dockerhub","daemon.json","registry-mirrors"]},{name:"Docker Hub 公益镜像",cat:"容器 / Docker",provider:"DaoCloud / 1ms",url:"https://docker.m.daocloud.io",setup:`{
  "registry-mirrors": [
    "https://docker.m.daocloud.io",
    "https://dockerproxy.com",
    "https://docker.1panel.live"
  ]
}`,note:"公益镜像存活率波动大，建议同时配置多个并优先使用云厂商加速器。",keywords:["daocloud","dockerproxy","1panel"]},{name:"gcr.io / k8s.gcr.io 镜像",cat:"容器 / Docker",provider:"DaoCloud",url:"https://m.daocloud.io",setup:`# 拉取 gcr.io/google-containers/pause 改写为：
docker pull m.daocloud.io/gcr.io/google-containers/pause:3.9

# k8s.gcr.io / registry.k8s.io 同理
docker pull m.daocloud.io/registry.k8s.io/kube-apiserver:v1.30.0`,keywords:["gcr","k8s.gcr.io","registry.k8s.io"]},{name:"kubectl / k8s 二进制",cat:"Kubernetes / Helm",provider:"阿里云",url:"https://mirrors.aliyun.com/kubernetes/",setup:`# CentOS / RHEL
sudo tee /etc/yum.repos.d/kubernetes.repo <<'EOF'
[kubernetes]
name=Kubernetes
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
enabled=1
gpgcheck=0
EOF
sudo yum install -y kubectl kubeadm kubelet`,keywords:["kubectl","kubeadm","kubelet"]},{name:"Helm chart 仓库",cat:"Kubernetes / Helm",provider:"微软 / 阿里云",url:"https://mirror.azure.cn/kubernetes/charts/",setup:`# stable / incubator
helm repo add stable https://mirror.azure.cn/kubernetes/charts/
helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo update`,keywords:["helm","chart","azure"]},{name:"GitHub Raw / Release 加速",cat:"Git / GitHub",provider:"ghproxy 类公益站点",url:"https://ghfast.top",setup:`# 拉取 release / raw 文件，前缀加上代理域名：
curl -L https://ghfast.top/https://github.com/<user>/<repo>/releases/download/v1/x.tar.gz -o x.tar.gz

# git clone 也可走前缀
git clone https://ghfast.top/https://github.com/<user>/<repo>.git`,note:"同类站点：gh-proxy.com、ghps.cc、kkgithub.com、gh.api.99988866.xyz；存活率会变，建议测试后再用。",keywords:["github","ghproxy","release","raw","加速"]},{name:"GitHub 镜像（kkgithub）",cat:"Git / GitHub",provider:"help.kkgithub.com",url:"https://kkgithub.com",setup:`# 把 github.com 替换为 kkgithub.com 可以浏览 / clone
git clone https://kkgithub.com/<user>/<repo>.git

# 让 git 永久代理（可选）
git config --global url."https://kkgithub.com/".insteadOf "https://github.com/"`,keywords:["kkgithub","github mirror"]},{name:"CDN：cdnjs / unpkg / jsdelivr",cat:"CDN / JS",provider:"多家公益",url:"https://cdn.jsdelivr.net",setup:`<!-- jsDelivr：支持 npm + GitHub -->
<script src="https://cdn.jsdelivr.net/npm/vue@3"><\/script>
<script src="https://cdn.jsdelivr.net/gh/<user>/<repo>@<ver>/dist/x.min.js"><\/script>

<!-- unpkg -->
<script src="https://unpkg.com/vue@3"><\/script>

<!-- cdnjs -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.0/vue.global.min.js"><\/script>`,note:"国内访问推荐 jsdelivr（有腾讯/字节边缘）；备用：cdn.bootcdn.net、cdn.staticfile.org。",keywords:["jsdelivr","unpkg","cdnjs","bootcdn","staticfile"]},{name:"BootCDN / Staticfile（国内）",cat:"CDN / JS",provider:"七牛 / 又拍",url:"https://cdn.bootcdn.net",setup:`<script src="https://cdn.bootcdn.net/ajax/libs/vue/3.4.0/vue.global.min.js"><\/script>
<!-- 或 -->
<script src="https://cdn.staticfile.org/vue/3.4.0/vue.global.min.js"><\/script>`,keywords:["bootcdn","staticfile","七牛"]}];function _r(){const[U,x]=g(T(),{equals:!1}),p=o=>dr(o,U());nr(()=>{const o=i=>{const s=i.detail?.locale;s&&x(s)};window.addEventListener("taitan:locale-change",o),x(T()),cr(()=>window.removeEventListener("taitan:locale-change",o))});const[w,G]=g(""),[f,L]=g("全部"),_=ir(()=>{const o=f(),i=o==="全部"?v:v.filter(r=>r.cat===o),s=w().trim();if(!s)return i;const c=i.map(r=>{const u={cmd:`${r.name} ${r.url}`,desc:`${r.note??""} ${r.provider}`,cat:r.cat,keywords:r.keywords,example:r.setup};return{m:r,s:mr(u,s)}}).filter(r=>r.s>0);return c.sort((r,u)=>u.s-r.s),c.map(r=>r.m)});return(()=>{var o=l(hr),i=o.firstChild,s=i.nextSibling,c=s.nextSibling,r=c.nextSibling,u=r.firstChild,[$,M]=a(u.nextSibling),z=$.nextSibling,[S,F]=a(z.nextSibling),I=S.nextSibling,B=I.nextSibling,[j,J]=a(B.nextSibling),X=j.nextSibling,K=X.nextSibling,[V,Y]=a(K.nextSibling);return e(i,y(N,{each:kr,children:t=>(()=>{var n=l(gr);return n.$$click=()=>L(t),e(n,t),b(()=>ur(n,`tool-tab ${f()===t?"is-active":""}`)),k(),n})()})),s.$$input=t=>G(t.currentTarget.value),e(c,y(N,{get each(){return _()},children:t=>(()=>{var n=l(br),O=n.firstChild,R=O.firstChild,C=R.nextSibling,E=C.nextSibling,q=E.nextSibling,d=q.nextSibling,P=d.nextSibling,D=O.nextSibling,H=D.nextSibling,W=H.nextSibling,[Q,Z]=a(W.nextSibling);return e(R,()=>t.name),e(C,()=>t.cat),e(E,()=>t.provider),d.$$click=()=>A(t.url),e(d,()=>p("复制 URL")),P.$$click=()=>A(t.setup),e(P,()=>p("复制配置")),e(D,()=>t.url),e(H,()=>t.setup),e(n,y(lr,{get when(){return t.note},get children(){var h=l(yr),rr=h.firstChild,er=rr.nextSibling,[tr,or]=a(er.nextSibling);return e(h,()=>t.note,tr,or),h}}),Q,Z),k(),n})()})),e(r,()=>p("共"),$,M),e(r,()=>_().length,S,F),e(r,()=>v.length,j,J),e(r,()=>p("条 · 语义搜索：「换源」「加速」「国内」「阿里」「清华」「字节」自动扩展为对应镜像 token。"),V,Y),b(()=>ar(s,"placeholder",p("语义搜索：试试 “rust 镜像” / “阿里 maven” / “docker 加速” / “换源” …"))),b(()=>pr(s,"value",w())),k(),o})()}sr(["input","click"]);export{_r as default};
