Peach: Local-first video metadata scraper and media manager.
fix(web): restore JAV profile layouts and add photo details
longmeidaoeaf72b356e20
diff --git a/docs/STATUS.md b/docs/STATUS.mdindex f4fff1239..4d150a7b1 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -1,6 +1,6 @@# Peach 当前状态-最后核验:2026-08-28+最后核验:2026-08-29本文件只保存当前运行态、已核验能力、仍需完成的工作和自动统计。已完成批次、旧测试数字与事故过程由 Git 历史保存,不在这里累积。@@ -36,6 +36,7 @@## 本批修正与验证+- 0.7.12 修复艺人/厂牌资料页从深链或刷新进入时只看 URL 参数、因此漏掉 JAV 三种版式按钮的问题:页面现在从实际返回作品的 `is_jav` 推断资料页能力,并只给 JAV 卡片应用封面比例。照片查看器的缩放加减号改用本地 SVG,桌面和手机实测按钮与图标水平、垂直中心偏差均为 0 px;新增图片详情,显示文件名、来源和大小,切换图片时同步更新,并复用既有 `/api/reveal` 按 asset id 在资源管理器定位,客户端仍不接收或提交原始路径。照片 DTO 只新增安全的 `location`,没有迁移或真实 ledger 写入。Windows `catalog` 402 项、正式全量 1183 项通过,13 项按平台跳过;1440×900 下资料页三种版式按钮均可见,390×844 下详情面板 360 px 且位于 390 px 视口内,两端均无横向溢出和控制台错误。生产尚未切换,生产验收待集成后完成。- 0.7.11 将管理画像入口统一命名为“口味”;资源同步不再占用独立管理页,改为统计页末尾,旧 `/resource-sync` 深链自动替换为 `/stats#resource-sync`。同步配置按 Vercel 表单卡重排:主信息在上层,安全说明和 36px 次级操作放在带分隔线的底栏;扫描结果共用一套 12px 外框与内部 1px 分隔线,来源、汇总和确认操作不再各自嵌套卡片或压住边缘。按钮具备明确 hover/focus 和原位旋转忙碌态;窄屏规则提高到组件作用域,避免被后置基础规则覆盖。Windows 正式全量 1181 项通过、13 项按平台跳过。临时数据库的 1280×720 浏览器实测结果为三列来源、两列汇总、底栏按钮完全位于 1176px 外框内;390×844 下来源与汇总均为单列,外框 358px、底栏 356px、按钮 324×36,文档与视口同为 390px,无横向溢出。- 0.7.11 正式 EXE 已替换为 SHA-256 `FCD54E557D9FE36FE3D3B0FFC50E486701CA5B990334A280F203691BF94EC9B0`,上版备份为 `dist/Peach/Peach.pre-0.7.11-20260829-004620.exe`;打包入口在临时 ledger 上确认 22 个迁移、0 待处理。80/443 均由新进程恢复,OpenSSL 以项目 CA、`peach-win.local` SNI 与主机名严格校验返回 `Verify return code: 0 (ok)`,固定到实际监听地址后的 `/healthz` 返回 0.7.11、writer、非只读,`/stats` 与旧 `/resource-sync` 均为 200。生产浏览器实测管理栏只有“口味”且无独立资源同步入口;1280×720 下配置卡 1166px、底栏 1164px、按钮 102×36,390×844 下卡片 348px、底栏 346px、按钮 314×36、无横向溢出和控制台错误;旧链接原位进入 `/stats#resource-sync`。未点击扫描、未执行同步应用。停止旧 SQLite 连接时主文件 SHA-256 由 `27F540B8F6B296F544EA2B250D159C0D7A2DFA6F59FA962F20AAE4CB2B63A8E3` 变为 `14F30D85F33631B74E99D9E1F48BBA090F57CD1D12AD3804AD47C2CC00FB8F60`,时间点与停服一致且重启后 WAL 为 0 字节,符合关闭连接时的 WAL 回写;只读复核为 `integrity_check=ok`、外键违规 0,asset 81555、follow_source 14、follow_item 1551、entity 8177。diff --git a/src/peach/__init__.py b/src/peach/__init__.pyindex 50f85eeb0..270771d00 100644--- a/src/peach/__init__.py+++ b/src/peach/__init__.py@@ -1,3 +1,3 @@"""Peach application package."""-__version__ = "0.7.11"+__version__ = "0.7.12"diff --git a/src/peach/web_contract.py b/src/peach/web_contract.pyindex 49d932aac..cf191b23a 100644--- a/src/peach/web_contract.py+++ b/src/peach/web_contract.py@@ -1208,13 +1208,14 @@ def q_entity_photos(contract: WebContract, args):"AND (a.disposal IS NULL OR a.disposal<>'trash')",(row["id"],),).fetchone()[0]- items = [{"id": item["id"], "name": item["name"], "size": item["size"] or 0}+ items = [{"id": item["id"], "name": item["name"], "size": item["size"] or 0,+ "location": item["location"]}for item in c.execute(- f"SELECT a.id,a.name,a.size,{PHOTO_DIR} dir "+ f"SELECT a.id,a.name,a.size,a.location,{PHOTO_DIR} dir ""FROM asset_entity ae JOIN asset a ON a.id=ae.asset_id ""WHERE ae.entity_id=? AND a.medium='image' AND a.name IS NOT NULL ""AND (a.disposal IS NULL OR a.disposal<>'trash') "- f"GROUP BY a.id,a.name,a.size,{PHOTO_DIR} "+ f"GROUP BY a.id,a.name,a.size,a.location,{PHOTO_DIR} ""ORDER BY dir,a.name,a.id LIMIT ? OFFSET ?",(row["id"], limit, offset),)]@@ -1250,9 +1251,10 @@ def q_photo_set(contract: WebContract, args):f"AND {PHOTO_DIR}=? AND a.location=? ""AND (a.disposal IS NULL OR a.disposal<>'trash')", par,).fetchone()[0]- items = [{"id": item["id"], "name": item["name"], "size": item["size"] or 0}+ items = [{"id": item["id"], "name": item["name"], "size": item["size"] or 0,+ "location": item["location"]}for item in c.execute(- f"SELECT a.id,a.name,a.size FROM asset a WHERE a.medium='image' "+ f"SELECT a.id,a.name,a.size,a.location FROM asset a WHERE a.medium='image' "f"AND a.name IS NOT NULL AND {PHOTO_DIR}=? AND a.location=? ""AND (a.disposal IS NULL OR a.disposal<>'trash') ""ORDER BY a.name,a.id LIMIT ? OFFSET ?",diff --git a/tests/test_fastapi_api.py b/tests/test_fastapi_api.pyindex ef1417dca..aafa57a3f 100644--- a/tests/test_fastapi_api.py+++ b/tests/test_fastapi_api.py@@ -962,6 +962,7 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):self.assertEqual(payload["sets"][0]["id"], 9)self.assertEqual(payload["sets"][0]["title"], "shoot")self.assertEqual([item["id"] for item in payload["items"]], [9])+ self.assertEqual(payload["items"][0]["location"], "pikpak")self.assertTrue(payload["has_more"])self.assertNotIn(str(self.media_root), json.dumps(payload),"只发目录名和图集 id,不发真实路径")@@ -971,6 +972,23 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):self.assertFalse(next_page.json()["has_more"])detail = await self.client.get("/api/photo-set?id=9", headers=headers)self.assertEqual([item["id"] for item in detail.json()["items"]], [9])+ self.assertEqual(detail.json()["items"][0]["location"], "pikpak")+ self.assertNotIn(str(self.media_root), json.dumps(detail.json()),+ "图片详情也只发安全元数据,真实路径留在服务端")++ async def test_photo_detail_reveal_resolves_the_asset_id_on_the_server(self):+ source = self._seed_photo()+ headers = {"X-Token": "secret"}+ command = ["file-manager", "select-source"]+ with (patch("peach.api.reveal_command", return_value=command) as resolve,+ patch("peach.api.subprocess.Popen") as launch):+ response = await self.client.post(+ "/api/reveal", headers=headers,+ json={"id": 9, "path": "C:/client-must-not-control-this"},+ )+ self.assertEqual(response.status_code, 200)+ resolve.assert_called_once_with(source)+ launch.assert_called_once_with(command, close_fds=True)async def test_photo_thumbnail_is_generated_once_and_cached(self):source = self._seed_photo()diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex 67c6c423a..6c3fd0f8d 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -1441,6 +1441,10 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("wireJavLayoutButtons(section)")self.assertPageContains("renderEntityCollection(kind,name,{...entityCollectionPage,items:[...entityCollectionPage.items]}")self.assertPageContains(".entitycollectionhead .javlayout{display:inline-flex;gap:6px}")+ self.assertPageContains("let entityRequestSeq=0,entityJavLayout=false")+ self.assertPageContains("(items.items||[]).some(item=>item.is_jav)")+ self.assertPageContains("return state.jav==='1'||entityJavLayout")+ self.assertPageContains("const jav=javActive()&&!!it.is_jav,layout=javLayout()")def test_photo_lightbox_loads_swiper_lazily_with_thumbs_and_keyboard(self):self.assertPageContains("'/vendor/swiper/14.1.0/swiper-bundle.min.js'")@@ -1502,6 +1506,19 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains('<input type="range" min="1" max="${ZOOM_MAX}"')# zoomChange 的第一个参数是 swiper 实例,倍数在第二个;接错了写进 NaN。self.assertPageContains("main.on('zoomChange',(_swiper,scale)=>")+ # 文本字形受字体基线影响,会让圆按钮里的 +/- 肉眼偏上或偏下;SVG 几何才稳定居中。+ self.assertPageContains('data-zoom-step="-1" aria-label="缩小">${icon(\'minus\')}')+ self.assertPageContains('data-zoom-step="1" aria-label="放大">${icon(\'plus\')}')+ self.assertPageContains(".photozoom button svg{width:15px;height:15px;display:block;")++ def test_lightbox_photo_detail_reveals_by_asset_id_without_leaking_a_path(self):+ self.assertPageContains('<button class="photodetailtoggle" type="button"')+ self.assertPageContains('<aside class="photodetail" aria-label="图片详情" hidden>')+ self.assertPageContains("LOC[item.location]||item.location||'来源未知'")+ self.assertPageContains("reveal.dataset.photoReveal=String(item.id)")+ self.assertPageContains("revealSource(Number(reveal.dataset.photoReveal),status)")+ self.assertPageContains(".photodetail[hidden]{display:none}")+ self.assertPageLacks("item.path", "图片详情不能取得或渲染 ledger 绝对路径")def test_lightbox_remeasures_when_the_window_resizes(self):# Swiper 只在构造那一刻量一次容器;灯箱是插进已布好版的页面里的,diff --git a/web/app.css b/web/app.cssindex af3c847a8..96cdb4d1b 100644--- a/web/app.css+++ b/web/app.css@@ -401,17 +401,36 @@ body.photolight-open{overflow:hidden}.photonav.back{left:14px}.photonav.fwd{right:14px}.photonav.fwd svg{transform:rotate(180deg)}.photonav.swiper-button-disabled{opacity:.3;pointer-events:none}-/* 页码和缩放条同一行:缩放条压在图上会挡住正在看的东西,放进底栏正好用掉- 页码两侧本来就空着的位置。页码保持真正居中,缩放条靠右不参与居中计算。 */-.photobar{position:relative;display:flex;align-items:center;justify-content:center;padding:0 14px;min-height:26px}+/* 详情、页码和缩放条分占三列;中间列始终是真正的画面中心。 */+.photobar{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;+ padding:0 14px;min-height:30px}.photocount{text-align:center;color:rgba(255,255,255,.72);font-size:var(--fs-xs)}-.photozoom{position:absolute;right:14px;display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.72)}+.photodetailtoggle{justify-self:start;height:30px;display:flex;align-items:center;gap:6px;border:0;padding:0 8px;+ border-radius:var(--control-radius);background:transparent;color:rgba(255,255,255,.72);cursor:pointer}+.photodetailtoggle:hover,.photodetailtoggle[aria-expanded="true"]{background:rgba(255,255,255,.12);color:#fff}+.photodetailtoggle svg{width:16px;height:16px;display:block;stroke:currentColor;fill:none;stroke-width:2}+.photozoom{justify-self:end;display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.72)}.photozoom button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:50%;- background:rgba(255,255,255,.12);color:#fff;font-size:var(--fs-lg);line-height:1;cursor:pointer}+ padding:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}+.photozoom button svg{width:15px;height:15px;display:block;stroke:currentColor;fill:none;stroke-width:2}.photozoom button:hover{background:rgba(255,255,255,.22)}.photozoom input{width:116px;accent-color:#fff;cursor:pointer}.photozoom b{font-weight:400;font-size:var(--fs-xs);width:38px;text-align:right}-@media (max-width:640px){.photozoom{position:static;margin-left:12px}.photozoom input{width:72px}.photozoom b{display:none}}+.photodetail{position:absolute;z-index:4;left:14px;bottom:112px;width:min(360px,calc(100vw - 28px));+ box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px;+ border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(18,18,20,.94);+ color:#fff;box-shadow:0 18px 48px rgba(0,0,0,.45);backdrop-filter:blur(18px)}+.photodetail[hidden]{display:none}+.photodetailcopy{min-width:0;flex:1 1 180px;display:flex;flex-direction:column;gap:4px}+.photodetailcopy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-sm)}+.photodetailmeta{color:rgba(255,255,255,.62);font-size:var(--fs-xs)}+.photodetail>button{height:32px;display:flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.18);+ border-radius:var(--control-radius);padding:0 10px;background:transparent;color:#fff;cursor:pointer}+.photodetail>button:hover{background:rgba(255,255,255,.12)}+.photodetail>button svg{width:16px;height:16px;display:block;stroke:currentColor;fill:none;stroke-width:2}+.photodetail .srcstate{color:rgba(255,255,255,.62)}+@media (max-width:640px){.photozoom input{width:72px}.photozoom b{display:none}+ .photodetailtoggle span{display:none}.photodetailtoggle{padding:0 7px}.photodetail{bottom:96px}}.photolight .photostrip{width:100%;height:72px;padding:0 12px}.photolight .photostrip .swiper-slide{width:auto;height:72px;opacity:.5;cursor:pointer;border-radius:6px;overflow:hidden}.photolight .photostrip .swiper-slide img{height:100%;width:auto;display:block;object-fit:cover}diff --git a/web/app.js b/web/app.jsindex 60a9dd40f..b1a242b5c 100644--- a/web/app.js+++ b/web/app.js@@ -574,7 +574,9 @@ function coverImage(it,layout){alt="" loading="lazy"${y?` style="${y}"`:''} ${COVER_FRAME} onerror="this.remove()">`;}function cardHtml(it,cls){- const jav=javActive(),layout=javLayout();+ /* 资料页可能同时收录番号和非番号作品;版式按钮属于页面,但封套比例只施加给+ 真实 `is_jav` 卡片,不能把同页的创作者视频也拉成竖封。 */+ const jav=javActive()&&!!it.is_jav,layout=javLayout();const parts=it.part_group||null;const useCover=jav&&layout!=='preview'&&it.has_cover;/* 卡片比例。这个值以前算出来就没人用过——`.pic` 一直写死 16/9,于是 JAV 的两种@@ -666,7 +668,7 @@ function mixLabel(it){return (it.is_jav&&performer?performer:it.creator)||performer||it.studio||it.code||tagLabel((it.tags||[])[0])||'为你推荐';}function mixCardHtml(it){- const jav=javActive(),layout=javLayout();+ const jav=javActive()&&!!it.is_jav,layout=javLayout();const useCover=jav&&layout!=='preview'&&it.has_cover;const ar=jav&&layout==='big'?COVER_FRONT_RATIO:16/9;const thumb=useCover@@ -2701,7 +2703,7 @@ const ENTITY_LABELS={performer:'艺人',studio:'厂牌',creator:'创作者',seri/* 「女优」只用于番号发行物。素人、创作者自制和网红内容里的出镜者是艺人,套上 JAV 的行业称谓既不准确也会和创作者身份混淆。判据由后端 `is_jav` 给。 */const performerLabel=it=>it&&it.is_jav?'女优':'艺人';-let entityRequestSeq=0;+let entityRequestSeq=0,entityJavLayout=false;async function fetchEntityItems(kind,name,filters,offset=0){const p=new URLSearchParams();p.set(kind,name);p.set('limit','48');p.set('offset',String(offset));p.set('sort',filters.sort||'new');@@ -2970,6 +2972,28 @@ function wirePhotoZoom(box, main){return {show};}+/* 图片详情只展示安全元数据,定位仍只把 asset id 交给服务端。绝不能为了显示路径把+ ledger 的本机绝对路径送进浏览器。 */+function wirePhotoDetail(box,items,index){+ const toggle=box.querySelector('.photodetailtoggle');+ const panel=box.querySelector('.photodetail');+ const title=panel.querySelector('b');+ const meta=panel.querySelector('.photodetailmeta');+ const reveal=panel.querySelector('[data-photo-reveal]');+ const status=panel.querySelector('.srcstate');+ const paint=at=>{+ const item=items[at];if(!item)return;+ title.textContent=item.name||'未命名图片';+ meta.textContent=[LOC[item.location]||item.location||'来源未知',+ Number(item.size)>0?fmtSize(Number(item.size)):'大小未知'].join(' · ');+ reveal.dataset.photoReveal=String(item.id);status.textContent='';+ };+ toggle.onclick=()=>{const open=panel.hidden;panel.hidden=!open;+ toggle.setAttribute('aria-expanded',String(open))};+ reveal.onclick=()=>revealSource(Number(reveal.dataset.photoReveal),status);+ paint(index);return {paint};+}+function closePhotoLightbox(){if(!activeLightbox)return;document.removeEventListener('keydown',photoLightKeys);@@ -2994,12 +3018,18 @@ async function openPhotoLightbox(index){<button class="photonav back" type="button" aria-label="上一张">${icon('chevron-left')}</button><button class="photonav fwd" type="button" aria-label="下一张">${icon('chevron-left')}</button></div><div class="photobar">+ <button class="photodetailtoggle" type="button" aria-expanded="false">${icon('info')}<span>图片详情</span></button><div class="photocount mono" aria-live="polite">${index+1} / ${items.length}</div><div class="photozoom">- <button type="button" data-zoom-step="-1" aria-label="缩小">−</button>+ <button type="button" data-zoom-step="-1" aria-label="缩小">${icon('minus')}</button><input type="range" min="1" max="${ZOOM_MAX}" step="0.1" value="1" aria-label="缩放">- <button type="button" data-zoom-step="1" aria-label="放大">+</button>+ <button type="button" data-zoom-step="1" aria-label="放大">${icon('plus')}</button><b class="mono">100%</b></div></div>+ <aside class="photodetail" aria-label="图片详情" hidden>+ <div class="photodetailcopy"><b></b><span class="photodetailmeta"></span></div>+ <button type="button" data-photo-reveal="">${icon('folder-open')}<span>在资源管理器中显示</span></button>+ <span class="srcstate" aria-live="polite"></span>+ </aside><div class="swiper photostrip"><div class="swiper-wrapper">${items.map(item=>`<div class="swiper-slide"><img src="/photo-thumb?id=${item.id}" alt="" loading="lazy"></div>`).join('')}</div></div>`;document.body.appendChild(box);@@ -3016,12 +3046,14 @@ async function openPhotoLightbox(index){navigation:{prevEl:box.querySelector('.photonav.back'),nextEl:box.querySelector('.photonav.fwd')},on:{slideChange(){counter.textContent=`${this.activeIndex+1} / ${items.length}`}}});const zoomBar=wirePhotoZoom(box,main);+ const detail=wirePhotoDetail(box,items,index);+ main.on('slideChange',()=>detail.paint(main.activeIndex));/* Swiper 只在自己构造的那一刻量一次容器。灯箱是插进已经布好版的页面里的,窗口一改大小(或首屏字体、滚动条落定得比构造晚)slide 就停在旧宽度上,大图按错误的框缩放,看起来就是「显示不全」。挂个 ResizeObserver 让它重量。 */const resize=new ResizeObserver(()=>{main.update();strip.update()});resize.observe(box);- activeLightbox={box,main,strip,resize,zoomBar};+ activeLightbox={box,main,strip,resize,zoomBar,detail};box.querySelector('.photoclose').onclick=closePhotoLightbox;// 只在背景本身上关闭:点图片、缩略图条和翻页按钮都不该退出。box.addEventListener('click',e=>{if(e.target===box)closePhotoLightbox()});@@ -3043,6 +3075,7 @@ async function openEntity(kind,name,push=true,requestedTag){showHomeSurfaces();disposeStage(false);detailReturnBarsContext=null;+ entityJavLayout=false;const seq=++entityRequestSeq;const [d,items,photos]=await Promise.all([api(`/api/entity?kind=${encodeURIComponent(kind)}&name=${encodeURIComponent(name)}`),@@ -3050,6 +3083,10 @@ async function openEntity(kind,name,push=true,requestedTag){api(`/api/photos?kind=${encodeURIComponent(kind)}&name=${encodeURIComponent(name)}`)]);if(d.error||seq!==entityRequestSeq||decodeURIComponent(location.pathname)!==decodeURIComponent(expectedPath))return;+ /* 直达或刷新资料页时 URL 没有 `jav=1`。以返回作品的真实 `is_jav` 恢复女优/厂牌+ 语境,避免大图/小图/预览图按钮只在从 JAV 首页点进来时偶然存在。 */+ entityJavLayout=(kind==='performer'||kind==='studio')&&+ (state.jav==='1'||(items.items||[]).some(item=>item.is_jav));document.body.classList.add('entity-open');$('#index').hidden=false;$('#grid').innerHTML='';$('#count').textContent='';$('#loadSentinel').hidden=true;$('#shortsSec').hidden=true;@@ -3303,9 +3340,11 @@ const JAV_LAYOUTS=[['big','大图 · 只看正封','maximize'],['small','小图/* 旧键沿用:设置存在浏览器里,改名不能让用户的选择静默回落到默认值。 */const JAV_LAYOUT_ALIASES={cover:'big',sleeve:'small'};function javActive(){- if(state.jav!=='1')return false;const path=decodeURIComponent(location.pathname);- return path==='/'||path.startsWith('/performers/')||path.startsWith('/studios/');+ if(path==='/')return state.jav==='1';+ if(path.startsWith('/performers/')||path.startsWith('/studios/'))+ return state.jav==='1'||entityJavLayout;+ return false;}function javLayout(){const raw=JAV_LAYOUT_ALIASES[appSettings.javLayout]||appSettings.javLayout;diff --git a/web/index.html b/web/index.htmlindex 566396311..27c3ef877 100644--- a/web/index.html+++ b/web/index.html@@ -34,6 +34,7 @@用 SVG 而不是 CSS 边框加文字,才能和其它图标共用同一套描边渲染。 --><symbol id="i-jav" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="4"/><text x="12" y="16.6" text-anchor="middle" font-size="11.5" font-weight="600" fill="currentColor" stroke="none">番</text></symbol><symbol id="i-folder-open" viewBox="0 0 24 24"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/></symbol>+ <symbol id="i-info" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></symbol><symbol id="i-hard-drive" viewBox="0 0 24 24"><path d="M10 16h.01"/><path d="M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/><path d="M21.946 12.013H2.054"/><path d="M6 16h.01"/></symbol><symbol id="i-globe" viewBox="0 0 24 24"><path d="M21.54 15H17a2 2 0 0 0-2 2v4.54"/><path d="M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17"/><path d="M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05"/><circle cx="12" cy="12" r="10"/></symbol><symbol id="i-rss" viewBox="0 0 24 24"><path d="M4 11a9 9 0 0 1 9 9"/><path d="M4 4a16 16 0 0 1 16 16"/><circle cx="5" cy="19" r="1" fill="currentColor" stroke="none"/></symbol>@@ -47,6 +48,7 @@<symbol id="i-alert" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 8v4"/><path d="M12 16h.01"/></symbol><symbol id="i-trash" viewBox="0 0 24 24"><path d="M10 11v6"/><path d="M14 11v6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M3 6h18"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></symbol><symbol id="i-plus" viewBox="0 0 24 24"><path d="M5 12h14"/><path d="M12 5v14"/></symbol>+ <symbol id="i-minus" viewBox="0 0 24 24"><path d="M5 12h14"/></symbol><symbol id="i-check" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></symbol><symbol id="i-rotate-ccw" viewBox="0 0 24 24"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/></symbol><symbol id="i-rotate-cw" viewBox="0 0 24 24"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/></symbol>