@linxin666/dsh-client-ui-browser-view 0.4.21 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +5 -3
- package/README.zh.md +5 -3
- package/lib/client.js +9 -31
- package/lib/client.js.map +1 -1
- package/lib/index.js +2269 -688
- package/lib/types/client/BrowserViewSettingsCard.d.ts +1 -1
- package/lib/types/client/config.d.ts +1 -1
- package/lib/types/client/guide-icon.d.ts +1 -1
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/panel.d.ts +1 -1
- package/lib/types/client/tab-title.d.ts +1 -1
- package/lib/types/host/auth.d.ts +15 -0
- package/lib/types/host/service.d.ts +7 -6
- package/lib/types/index.d.ts +2 -3
- package/package.json +24 -24
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# node scripts/verify-docs.mjs --write <dir>
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 4e388224518366835c8ccf366d61c3543553655e
|
|
6
|
+
README.zh.md: 03d177270a15d11307ae96e1489743d2296395ff
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
English | [中文](README.zh.md)
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<img src="https://img.shields.io/badge/DSH-%3E%3D0.2.
|
|
6
|
+
<img src="https://img.shields.io/badge/DSH-%3E%3D0.2.3--alpha.4-4c6ef5?style=flat-square&labelColor=454a54" alt="DSH">
|
|
7
7
|
|
|
8
8
|
<img src="https://img.shields.io/badge/license-BSD--3--Clause-blue?style=flat-square" alt="License">
|
|
9
9
|
</p>
|
|
@@ -19,7 +19,7 @@ This package is an external plugin for DeepSeek Harness (DSH), structured as a c
|
|
|
19
19
|
- **Evidence in the conversation**: every `browser_screenshot` result carries the image, so the transcript keeps the picture the agent acted on instead of only a sentence about it.
|
|
20
20
|
- **Isolated by default**: the plugin launches its own Chromium with a throwaway profile, so the browser you are signed into is not touched while the mode below stays off.
|
|
21
21
|
- **Your own browser on request**: with `realBrowserEnabled` set, the plugin attaches over CDP to a browser you started with remote debugging. Each DSH session on this host can enumerate, read, navigate, click and type in every tab that browser has — tabs that existed before the attach and tabs opened afterwards — and the sign-ins already in that profile work, because the pages run in it and no cookie is imported.
|
|
22
|
-
- **Signs itself in to this host's own GUI**: a fresh isolated profile has no session cookie, so the viewer would only ever see the 401 challenge. When a navigation lands on that challenge over loopback, the plugin asks the host's
|
|
22
|
+
- **Signs itself in to this host's own GUI**: a fresh isolated profile has no session cookie, so the viewer would only ever see the 401 challenge. When a navigation lands on that challenge over loopback, the plugin asks the host webserver's `webserver/entry-url` event for the same ticketed URL `dsh web` printed, and retries once. The challenge is the exchange page's own sentence, the bare `unauthorized` a Host answers when route admission refuses the site root first, or the "Connect to this Host" sign-in page (token form or device pairing) the official remote-connection plugin renders at the root; the last two only count when the requested URL is the root of this host's own listener origin (same protocol and port). The cookie that mints lives in the throwaway profile and dies with it.
|
|
23
23
|
- **Closing is explicit, and idle pages clean themselves up**: `browser_close` without a tab id closes only the tabs the calling session opened; a tab of an attached browser closes only when the call names its id. The panel shows no close control for such a tab. Separately, a page the plugin opened itself closes once no browser tool has touched it for `idleCloseDays` days, so a forgotten page does not outlive the session that opened it.
|
|
24
24
|
|
|
25
25
|
## How it works
|
|
@@ -90,7 +90,7 @@ Sign in to the sites the agent should see inside that profile once; the plugin d
|
|
|
90
90
|
- **Idle close never touches an adopted page**: the sweep selects only targets the plugin created itself, so a tab of your own browser closes only when a caller names its id, and disposing the plugin still closes nothing there.
|
|
91
91
|
- **Process lifetime**: a Chromium the plugin launched is killed when the plugin disposes; disposing or changing configuration only detaches from an external browser and closes neither the browser nor any of its tabs. A session whose CDP socket has closed is dropped on its next call and detached the same way — it never closes an external browser or its tabs — then reconnected to the configured endpoint; a reconnect that fails is reported as the connection error, and the configured source is never swapped for another one.
|
|
92
92
|
- **Failure is an error, not a downgrade**: an endpoint that does not answer fails the tool call with the connection error, and the plugin never falls back to the isolated browser, so the panel cannot show a browser other than the configured one.
|
|
93
|
-
- **Token handling**: the launch token is minted per navigation, held in memory, and never written to disk; the retry only happens on a loopback target whose document is DSH's own challenge, so no other local service is ever handed the token. A bare refusal is attributed to this host by its published listener origin before the token is minted.
|
|
93
|
+
- **Token handling**: the launch token is minted per navigation, held in memory, and never written to disk; the retry only happens on a loopback target whose document is DSH's own challenge, so no other local service is ever handed the token. A bare refusal or a sign-in page is attributed to this host by its published listener origin before the token is minted.
|
|
94
94
|
|
|
95
95
|
## Known limits
|
|
96
96
|
|
|
@@ -109,6 +109,8 @@ Sign in to the sites the agent should see inside that profile once; the plugin d
|
|
|
109
109
|
## Install
|
|
110
110
|
|
|
111
111
|
```sh
|
|
112
|
+
dsh plugin --profile web add @linxin666/dsh-client-ui-browser-view@latest
|
|
113
|
+
# or from a local checkout:
|
|
112
114
|
dsh plugin --profile web add link:<this repo>/packages/dsh-browser-view
|
|
113
115
|
```
|
|
114
116
|
|
package/README.zh.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[English](README.md) | 中文
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<img src="https://img.shields.io/badge/DSH-%3E%3D0.2.
|
|
6
|
+
<img src="https://img.shields.io/badge/DSH-%3E%3D0.2.3--alpha.4-4c6ef5?style=flat-square&labelColor=454a54" alt="DSH">
|
|
7
7
|
|
|
8
8
|
<img src="https://img.shields.io/badge/license-BSD--3--Clause-blue?style=flat-square" alt="License">
|
|
9
9
|
</p>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- **证据留在对话里**:每次 `browser_screenshot` 的结果都带图,于是对话记录保留的是 agent 真正看到的那一屏,而不只是一句转述。
|
|
20
20
|
- **默认隔离**:插件自己拉起 Chromium,用一次性 profile;只要下面那个模式关着,它就不碰你已经登录的浏览器。
|
|
21
21
|
- **按需接管你自己的浏览器**:把 `realBrowserEnabled` 打开后,插件经 CDP 接管你用远程调试启动的浏览器。本机每个 DSH 会话都能枚举、读取、导航、点击与输入它现有的全部标签页,以及之后新开的标签页;那个 profile 里已有的登录态直接可用,因为页面就跑在里面,插件不导入任何 cookie。
|
|
22
|
-
- **能进这台机器自己的 GUI**:全新隔离 profile 没有会话 cookie,本来只会看到 401 提示页。当导航落在 loopback
|
|
22
|
+
- **能进这台机器自己的 GUI**:全新隔离 profile 没有会话 cookie,本来只会看到 401 提示页。当导航落在 loopback 上的那页提示时,插件经宿主 WebServer 的 `webserver/entry-url` 事件要一条与 `dsh web` 启动时打印的同样的带票 URL,补一次。提示页有三种:token 交换页自己的那句话、宿主在路由准入阶段拒绝站点根地址时返回的裸 `unauthorized`,以及官方 remote-connection 插件在根地址渲染的「连接到此 Host」登录页(令牌表单或设备配对);后两种只在请求 URL 就是本宿主自己的监听者(协议与端口一致)的根地址时才算数。种下的 cookie 只活在这个一次性 profile 里,随它一起销毁。
|
|
23
23
|
- **关闭是显式的,闲置页面由插件自己收尾**:不带 tab id 的 `browser_close` 只关调用它的会话自己打开的标签页;被接管浏览器的标签页,只有调用里点名它的 id 才会关。面板对这种标签页不提供关闭控件。另外,插件自己打开的页面在 `idleCloseDays` 天没有工具动作后自动关闭,被遗忘的页面不会比打开它的会话活得更久。
|
|
24
24
|
|
|
25
25
|
## 工作原理
|
|
@@ -90,7 +90,7 @@ agent 工具调用 ──► 宿主半区 ──► CDP ──► 它自己的 C
|
|
|
90
90
|
- **闲置关闭不碰接管的页面**:扫描只选插件自己创建的 target,所以你自己的浏览器标签页仍然只有调用点名 id 才会关,插件卸载时那边也依然什么都不关。
|
|
91
91
|
- **进程寿命**:插件自己拉起的 Chromium 在插件卸载时被杀掉;插件卸载或配置变更只从外部浏览器分离,不关闭浏览器,也不关闭它的任何标签页。CDP socket 已关闭的会话在下一次调用时被丢弃、按同样方式分离——绝不关闭外部浏览器或其标签页——再重新连接到所配置的端点;重连失败按连接错误上报,所配置的来源绝不会被换成另一个。
|
|
92
92
|
- **失败是报错,不是降级**:端点没有应答时工具调用以连接错误失败,插件绝不回退到隔离浏览器,因此面板不会显示出所配置之外的那个浏览器。
|
|
93
|
-
- **令牌处理**:启动令牌每次导航现取、只在内存里,从不落盘;补票只发生在 loopback 目标且文档确实是 DSH 自己的鉴权页时,因此令牌不会被交给别的本地服务。裸 `unauthorized`
|
|
93
|
+
- **令牌处理**:启动令牌每次导航现取、只在内存里,从不落盘;补票只发生在 loopback 目标且文档确实是 DSH 自己的鉴权页时,因此令牌不会被交给别的本地服务。裸 `unauthorized` 与登录页都先按宿主发布的监听者 origin 归因,确认是本机后才取票。
|
|
94
94
|
|
|
95
95
|
## 已知限制
|
|
96
96
|
|
|
@@ -109,6 +109,8 @@ agent 工具调用 ──► 宿主半区 ──► CDP ──► 它自己的 C
|
|
|
109
109
|
## 安装
|
|
110
110
|
|
|
111
111
|
```sh
|
|
112
|
+
dsh plugin --profile web add @linxin666/dsh-client-ui-browser-view@latest
|
|
113
|
+
# 或从本地仓库检出安装:
|
|
112
114
|
dsh plugin --profile web add link:<this repo>/packages/dsh-browser-view
|
|
113
115
|
```
|
|
114
116
|
|
package/lib/client.js
CHANGED
|
@@ -5,7 +5,7 @@ window.__ModuleLoader__.load({
|
|
|
5
5
|
var exports = module.exports;
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
7
|
let react = require("react");
|
|
8
|
-
let
|
|
8
|
+
let _deepseek_ai_dsh_client_ui_primitives_client = require("@deepseek-ai/dsh-client-ui-primitives/client");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
11
11
|
//#region src/client/live-title.ts
|
|
@@ -517,15 +517,6 @@ window.__ModuleLoader__.load({
|
|
|
517
517
|
}
|
|
518
518
|
//#endregion
|
|
519
519
|
//#region \0dsh-css:packages/dsh-browser-view/src/client/panel.module.css.mjs
|
|
520
|
-
const css$2 = ".mm_Yva_tabTitle{align-items:center;gap:5px;min-width:0;max-width:100%;display:inline-flex}.mm_Yva_tabTitleMark{flex:none;width:13px;height:13px}.mm_Yva_tabTitleText{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.mm_Yva_root{min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-base);flex-direction:column;flex:auto;display:flex;overflow:hidden}.mm_Yva_toolbar{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:4px;height:38px;padding:5px 6px;display:flex}.mm_Yva_tool{width:28px;height:28px;color:var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}@media (hover:hover){.mm_Yva_tool:hover:not(:disabled){color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}}.mm_Yva_tool:disabled{color:var(--dsw-alias-label-quaternary);cursor:default}.mm_Yva_tool:focus-visible{box-shadow:0 0 0 2px var(--dsw-alias-bg-base), 0 0 0 4px var(--dsw-alias-brand-primary);outline:none}.mm_Yva_addressBox{flex:auto;min-width:0;position:relative}.mm_Yva_address{box-sizing:border-box;width:100%;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);padding:0 9px;overflow:hidden}.mm_Yva_address::placeholder{color:var(--dsw-alias-label-tertiary)}.mm_Yva_address:focus{outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:-1px}.mm_Yva_status{min-width:0;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);white-space:nowrap;flex:0 auto;align-items:center;gap:4px;line-height:16px;display:inline-flex}.mm_Yva_statusText{text-overflow:ellipsis;flex:none;max-width:72px;overflow:hidden}.mm_Yva_mode{color:var(--dsw-alias-label-secondary);flex:none}.mm_Yva_endpoint{text-overflow:ellipsis;max-width:160px;overflow:hidden}@media (width<=420px){.mm_Yva_endpoint{display:none}}.mm_Yva_tabs{border-bottom:.5px solid var(--dsw-alias-border-l3);scrollbar-width:none;flex:none;align-items:center;gap:4px;padding:4px 6px;display:flex;overflow-x:auto}.mm_Yva_tabs::-webkit-scrollbar{display:none}.mm_Yva_tab{max-width:150px;height:24px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;text-overflow:ellipsis;border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:0;flex:none;padding:0 8px;transition:background-color .12s,color .12s;overflow:hidden}@media (hover:hover){.mm_Yva_tab:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}}.mm_Yva_tabActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.mm_Yva_tab:focus-visible{box-shadow:0 0 0 2px var(--dsw-alias-bg-base), 0 0 0 4px var(--dsw-alias-brand-primary);outline:none}.mm_Yva_content{background:var(--dsw-alias-bg-base);flex:auto;min-width:0;min-height:0;display:flex;overflow:auto}.mm_Yva_frame{object-fit:contain;max-width:100%;height:auto;margin:auto;display:block}.mm_Yva_empty,.mm_Yva_error{text-align:center;flex-direction:column;align-items:center;gap:6px;margin:auto;padding:20px 16px;display:flex}.mm_Yva_emptyTitle,.mm_Yva_errorTitle{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:600;line-height:20px}.mm_Yva_emptyHint,.mm_Yva_errorBody{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.mm_Yva_errorTitle{color:var(--dsw-alias-state-error-primary)}.mm_Yva_errorCode{color:var(--dsw-alias-label-tertiary);font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:11px;line-height:16px}.mm_Yva_trace{border-top:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;max-height:84px;padding:6px 10px;display:flex;overflow:hidden}.mm_Yva_traceList{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex;overflow:hidden}.mm_Yva_traceIdle{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.mm_Yva_traceRow{align-items:baseline;gap:6px;min-width:0;font-size:12px;line-height:18px;display:flex}.mm_Yva_traceTool{color:var(--dsw-alias-brand-primary);font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);flex:none;font-size:11px}.mm_Yva_traceSummary{min-width:0;color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}";
|
|
521
|
-
const tagId$2 = "@linxin666/dsh-client-ui-browser-view/packages/dsh-browser-view/src/client/panel.module.css";
|
|
522
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
523
|
-
const tag = document.createElement("style");
|
|
524
|
-
tag.dataset.plugin = "@linxin666/dsh-client-ui-browser-view";
|
|
525
|
-
tag.dataset.pluginCss = tagId$2;
|
|
526
|
-
tag.textContent = css$2;
|
|
527
|
-
document.head.appendChild(tag);
|
|
528
|
-
}
|
|
529
520
|
var panel_module_css_default = {
|
|
530
521
|
"address": "mm_Yva_address",
|
|
531
522
|
"addressBox": "mm_Yva_addressBox",
|
|
@@ -726,7 +717,7 @@ window.__ModuleLoader__.load({
|
|
|
726
717
|
"aria-live": "polite",
|
|
727
718
|
title: state.cdpEndpoint ?? modeLabel,
|
|
728
719
|
children: [
|
|
729
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
720
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives_client.StateDot, {
|
|
730
721
|
state: dotState,
|
|
731
722
|
size: 10
|
|
732
723
|
}),
|
|
@@ -756,7 +747,7 @@ window.__ModuleLoader__.load({
|
|
|
756
747
|
kind: "request-frame"
|
|
757
748
|
});
|
|
758
749
|
},
|
|
759
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
750
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives_client.IconRefreshOutlineRegular, {})
|
|
760
751
|
})
|
|
761
752
|
]
|
|
762
753
|
}),
|
|
@@ -986,15 +977,6 @@ window.__ModuleLoader__.load({
|
|
|
986
977
|
}
|
|
987
978
|
//#endregion
|
|
988
979
|
//#region \0dsh-css:packages/dsh-browser-view/src/client/config.module.css.mjs
|
|
989
|
-
const css$1 = "._1_mPwq_root{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);flex-direction:column;gap:10px;display:flex}._1_mPwq_switchRow{align-items:center;gap:8px;font-weight:600;display:inline-flex}._1_mPwq_field{flex-direction:column;gap:6px;display:flex}._1_mPwq_field input{box-sizing:border-box;width:100%;height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);padding:0 9px}._1_mPwq_field input:focus{outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:-1px}._1_mPwq_field input:disabled,._1_mPwq_switchRow input:disabled{color:var(--dsw-alias-label-quaternary);cursor:default}._1_mPwq_hint{color:var(--dsw-alias-label-tertiary);margin:0;line-height:18px}._1_mPwq_error{color:var(--dsw-alias-state-business-danger);margin:0;line-height:18px}";
|
|
990
|
-
const tagId$1 = "@linxin666/dsh-client-ui-browser-view/packages/dsh-browser-view/src/client/config.module.css";
|
|
991
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
992
|
-
const tag = document.createElement("style");
|
|
993
|
-
tag.dataset.plugin = "@linxin666/dsh-client-ui-browser-view";
|
|
994
|
-
tag.dataset.pluginCss = tagId$1;
|
|
995
|
-
tag.textContent = css$1;
|
|
996
|
-
document.head.appendChild(tag);
|
|
997
|
-
}
|
|
998
980
|
var config_module_css_default = {
|
|
999
981
|
"error": "_1_mPwq_error",
|
|
1000
982
|
"field": "_1_mPwq_field",
|
|
@@ -1143,15 +1125,6 @@ window.__ModuleLoader__.load({
|
|
|
1143
1125
|
}
|
|
1144
1126
|
//#endregion
|
|
1145
1127
|
//#region \0dsh-css:packages/dsh-browser-view/src/client/settings-card.module.css.mjs
|
|
1146
|
-
const css = ".hZ1vmG_card{--settings-card-radius:12px;--settings-card-header-pad:16px;--settings-card-header-gap:13px;--settings-card-title-size:15px;--settings-card-description-size:13px;--settings-card-body-inset:16px;--settings-card-motion:.18s;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:var(--settings-card-radius);list-style:none;transition:border-color .16s,background .16s}.hZ1vmG_card:hover{border-color:var(--dsw-alias-label-dimmed)}.hZ1vmG_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.hZ1vmG_cardNested{--settings-card-radius:10px;--settings-card-header-pad:10px 12px;--settings-card-header-gap:10px;--settings-card-title-size:13px;--settings-card-description-size:12px;--settings-card-body-inset:12px}.hZ1vmG_cardNested .hZ1vmG_description{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hZ1vmG_header{appearance:none;box-sizing:border-box;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--settings-card-radius);align-items:center;gap:var(--settings-card-header-gap);padding:var(--settings-card-header-pad);background:0 0;border:0;display:flex}.hZ1vmG_header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.hZ1vmG_headerStatic{box-sizing:border-box;border-radius:var(--settings-card-radius);align-items:center;gap:var(--settings-card-header-gap);width:100%;padding:var(--settings-card-header-pad);display:flex}.hZ1vmG_headText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.hZ1vmG_mark{background:var(--dsw-alias-bg-module-platform);width:34px;height:34px;color:var(--dsw-alias-label-secondary);border-radius:10px;flex:none;place-items:center;transition:color .16s;display:grid}.hZ1vmG_header:hover .hZ1vmG_mark,.hZ1vmG_cardOpen .hZ1vmG_mark{color:var(--dsw-alias-label-primary)}.hZ1vmG_name{color:var(--dsw-alias-label-primary);font-size:var(--settings-card-title-size);font-weight:600;line-height:1.4}.hZ1vmG_description{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.hZ1vmG_headerAction{flex:none;align-items:center;display:inline-flex}.hZ1vmG_chevron{color:var(--dsw-alias-label-tertiary);flex:none;width:16px;height:16px;transition:transform .16s,color .16s}.hZ1vmG_header:hover .hZ1vmG_chevron{color:var(--dsw-alias-label-secondary)}.hZ1vmG_chevronOpen{transform:rotate(180deg)}.hZ1vmG_disclosure{opacity:0;transition:grid-template-rows var(--settings-card-motion) ease, opacity var(--settings-card-motion) ease;grid-template-rows:0fr;display:grid}.hZ1vmG_disclosure[data-state=collapsed],.hZ1vmG_disclosure[data-state=entering],.hZ1vmG_disclosure[data-state=closing]{overflow:hidden}.hZ1vmG_disclosure[data-state=entering],.hZ1vmG_disclosure[data-state=shown]{opacity:1;grid-template-rows:1fr}.hZ1vmG_disclosure>.hZ1vmG_body{min-height:0}.hZ1vmG_body{border-top:1px solid var(--dsw-alias-border-l2);margin:0 var(--settings-card-body-inset);padding-bottom:8px;container:hZ1vmG_settings-card/inline-size}.hZ1vmG_readOnly{color:var(--dsw-alias-label-secondary);margin:12px 0 0;font-size:12px;line-height:1.5}.hZ1vmG_notExposed{color:var(--dsw-alias-state-warn-primary);margin:12px 0 0;font-size:12px;line-height:1.5}.hZ1vmG_failed{color:var(--dsw-alias-state-error-primary,#b42318);overflow-wrap:anywhere;margin:8px 0 4px;font-size:12px;line-height:18px}.hZ1vmG_field{grid-template-columns:minmax(0,1fr) fit-content(50%);grid-template-areas:\"hZ1vmG_head hZ1vmG_control\"\"hZ1vmG_hint hZ1vmG_control\";align-items:center;gap:4px 24px;padding:16px 0;display:grid}.hZ1vmG_field>.hZ1vmG_head{grid-area:hZ1vmG_head}.hZ1vmG_field>:is(.hZ1vmG_hint,.hZ1vmG_invalid){grid-area:hZ1vmG_hint}.hZ1vmG_field>:not(.hZ1vmG_head,.hZ1vmG_hint,.hZ1vmG_invalid){grid-area:hZ1vmG_control;justify-self:end;max-width:100%}.hZ1vmG_field+.hZ1vmG_field{border-top:1px solid var(--dsw-alias-border-l2)}.hZ1vmG_head{align-items:center;gap:8px;display:flex}.hZ1vmG_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:14px;font-weight:400;line-height:22px}.hZ1vmG_badges{align-items:center;gap:8px;display:inline-flex}.hZ1vmG_badge{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.hZ1vmG_reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}.hZ1vmG_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.hZ1vmG_reset:disabled{cursor:default}.hZ1vmG_reset:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.hZ1vmG_segmentGroup{background:color-mix(in srgb, var(--dsw-alias-label-primary) 7%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--dsw-alias-label-primary) 5%, transparent);border-radius:8px;flex-wrap:wrap;align-items:center;gap:2px;padding:2px;display:inline-flex;position:relative}.hZ1vmG_segment{appearance:none;color:var(--dsw-alias-label-secondary);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:7px;margin:0;padding:3px 12px;font-size:13px;font-weight:500;line-height:18px;transition:background-color .12s,color .12s}.hZ1vmG_segment:hover:not(:disabled):not([data-active]){color:var(--dsw-alias-label-primary)}.hZ1vmG_segmentGroup:not([data-pill])>.hZ1vmG_segment[data-active],.hZ1vmG_segmentGroup[data-pill]:before{background:var(--dsw-alias-bg-overlay,var(--dsw-alias-bg-layer-3));box-shadow:0 1px 2px #14141314}body[data-ds-dark-theme] .hZ1vmG_segmentGroup:not([data-pill])>.hZ1vmG_segment[data-active],body[data-ds-dark-theme] .hZ1vmG_segmentGroup[data-pill]:before{box-shadow:none;background:#ffffff24}.hZ1vmG_segment[data-active]{color:var(--dsw-alias-label-primary)}.hZ1vmG_segmentGroup[data-pill]:before{content:\"\";width:var(--segment-pill-w,0px);height:var(--segment-pill-h,0px);transform:translate(var(--segment-pill-x,0px), var(--segment-pill-y,0px));pointer-events:none;border-radius:7px;transition:transform .24s cubic-bezier(.22,.61,.36,1),width .24s cubic-bezier(.22,.61,.36,1),height .24s cubic-bezier(.22,.61,.36,1);position:absolute;top:0;left:0}.hZ1vmG_segmentGroup>*{z-index:1;position:relative}.hZ1vmG_segment:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.hZ1vmG_segment:disabled{cursor:not-allowed;opacity:.45}.hZ1vmG_segmentGroup[data-pill]:has(>.hZ1vmG_segment:disabled):before{opacity:.45}.hZ1vmG_input,.hZ1vmG_select{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.hZ1vmG_input:focus-visible,.hZ1vmG_select:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.hZ1vmG_input:disabled,.hZ1vmG_select:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.hZ1vmG_inputInvalid{border:1px solid var(--dsw-alias-state-error-primary,#b42318);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.hZ1vmG_inputInvalid:focus-visible{outline:2px solid var(--dsw-alias-state-error-primary,#b42318);outline-offset:1px;border-color:var(--dsw-alias-state-error-primary,#b42318)}.hZ1vmG_field>:is(.hZ1vmG_input,.hZ1vmG_inputInvalid,.hZ1vmG_select,.hZ1vmG_selectWrap,.hZ1vmG_rangeAnchor){box-sizing:border-box;width:220px}.hZ1vmG_rangeAnchor>:is(.hZ1vmG_input,.hZ1vmG_inputInvalid){box-sizing:border-box;width:100%}@container hZ1vmG_settings-card (width<=440px){.hZ1vmG_field{grid-template-columns:minmax(0,1fr);grid-template-areas:\"hZ1vmG_head\"\"hZ1vmG_hint\"\"hZ1vmG_control\";row-gap:8px}.hZ1vmG_field>:not(.hZ1vmG_head,.hZ1vmG_hint,.hZ1vmG_invalid){justify-self:start}.hZ1vmG_field>:is(.hZ1vmG_input,.hZ1vmG_inputInvalid,.hZ1vmG_select,.hZ1vmG_selectWrap,.hZ1vmG_rangeAnchor){justify-self:stretch;width:auto}}.hZ1vmG_selectWrap{position:relative}.hZ1vmG_selectButton{appearance:none;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.hZ1vmG_selectLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hZ1vmG_selectChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.hZ1vmG_selectChevronOpen{transform:rotate(180deg)}.hZ1vmG_selectPopup{z-index:40;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);max-height:240px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;border-radius:8px;flex-direction:column;padding:4px;transition:opacity .1s,transform .1s;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;transform:translateY(-4px)}.hZ1vmG_selectPopupOpen{opacity:1;transform:none}.hZ1vmG_selectPopupClose{opacity:0;pointer-events:none;transform:translateY(-4px)}.hZ1vmG_rangeAnchor{display:inline-flex;position:relative}.hZ1vmG_rangeBubble{z-index:40;box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);width:220px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;visibility:hidden;border-radius:10px;padding:10px 12px 6px;transition:opacity .12s,transform .12s,visibility 0s linear .12s;position:absolute;right:0}.hZ1vmG_rangeBubble[data-side=above]{bottom:calc(100% + 6px);transform:translateY(4px)}.hZ1vmG_rangeBubble[data-side=below]{top:calc(100% + 6px);transform:translateY(-4px)}.hZ1vmG_rangeBubble[data-open]{opacity:1;visibility:visible;transition:opacity .12s,transform .12s,visibility;transform:none}.hZ1vmG_rangeSlider{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:0;display:block}.hZ1vmG_rangeSlider::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--dsw-alias-brand-primary) var(--range-fill,0%), color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent) var(--range-fill,0%));border-radius:999px;height:4px}.hZ1vmG_rangeSlider::-moz-range-track{background:color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent);border-radius:999px;height:4px}.hZ1vmG_rangeSlider::-moz-range-progress{background:var(--dsw-alias-brand-primary);border-radius:999px;height:4px}.hZ1vmG_rangeSlider::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;width:14px;height:14px;margin-top:-5px;transition:transform .12s;box-shadow:0 0 0 1px #0000001f,0 1px 3px #00000040}.hZ1vmG_rangeSlider::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #0000001f,0 1px 3px #00000040}.hZ1vmG_rangeSlider:active::-webkit-slider-thumb{transform:scale(1.15)}.hZ1vmG_rangeSlider:focus-visible{outline:none}.hZ1vmG_rangeSlider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--dsw-alias-brand-primary)}.hZ1vmG_rangeSlider:disabled{cursor:not-allowed}.hZ1vmG_rangeEnds{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:2px;font-size:11px;line-height:16px;display:flex}.hZ1vmG_selectOption{color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;flex-shrink:0;padding:6px 10px;font-size:13px;line-height:1.5;overflow:hidden}.hZ1vmG_selectOption:hover,.hZ1vmG_selectOptionActive{background:var(--dsw-alias-interactive-bg-hover)}.hZ1vmG_selectOptionSelected{color:var(--dsw-alias-brand-primary);background:color-mix(in srgb, var(--dsw-alias-brand-primary) 10%, transparent);font-weight:500}.hZ1vmG_invalid{color:var(--dsw-alias-state-error-primary,#b42318);margin:0;font-size:12px;line-height:18px}.hZ1vmG_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:18px}.hZ1vmG_toggle{appearance:none;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:999px;align-items:center;margin:0;padding:0;display:inline-flex}.hZ1vmG_toggleTrack{background:var(--dsw-alias-label-dimmed);border-radius:999px;flex:none;width:36px;height:20px;transition:background-color .18s;position:relative}.hZ1vmG_toggleThumb{--toggle-travel:16px;--toggle-overshoot:1px;background:var(--dsw-alias-bg-layer-3);border-radius:50%;width:16px;height:16px;transition:translate .18s;position:absolute;top:2px;left:2px;translate:0;box-shadow:0 1px 2px #1414132e}.hZ1vmG_toggle[aria-checked=true] .hZ1vmG_toggleTrack{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-label-primary))}.hZ1vmG_toggle[aria-checked=true] .hZ1vmG_toggleThumb{translate:var(--toggle-travel) 0;background:var(--dsw-alias-label-primary-foreground,var(--dsw-alias-bg-layer-3))}.hZ1vmG_toggle[data-moved][aria-checked=true] .hZ1vmG_toggleThumb{animation:.35s cubic-bezier(.34,1.45,.64,1) both hZ1vmG_toggle-on}.hZ1vmG_toggle[data-moved][aria-checked=false] .hZ1vmG_toggleThumb{animation:.35s cubic-bezier(.34,1.45,.64,1) both hZ1vmG_toggle-off}@keyframes hZ1vmG_toggle-on{0%{translate:0}55%{translate:calc(var(--toggle-travel) + var(--toggle-overshoot)) 0}80%,to{translate:var(--toggle-travel) 0}}@keyframes hZ1vmG_toggle-off{0%{translate:var(--toggle-travel) 0}55%{translate:calc(0px - var(--toggle-overshoot)) 0}80%,to{translate:0}}.hZ1vmG_toggle:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.hZ1vmG_toggle:disabled{opacity:.45;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.hZ1vmG_card,.hZ1vmG_header,.hZ1vmG_mark,.hZ1vmG_chevron,.hZ1vmG_chevronOpen,.hZ1vmG_rangeBubble,.hZ1vmG_selectChevron,.hZ1vmG_selectChevronOpen,.hZ1vmG_selectPopup,.hZ1vmG_toggleTrack,.hZ1vmG_toggleThumb{transition:none}.hZ1vmG_toggle[data-moved] .hZ1vmG_toggleThumb{animation:none}.hZ1vmG_disclosure{transition-property:opacity}}";
|
|
1147
|
-
const tagId = "@linxin666/dsh-client-ui-browser-view/packages/dsh-browser-view/src/client/settings-card.module.css";
|
|
1148
|
-
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
1149
|
-
const tag = document.createElement("style");
|
|
1150
|
-
tag.dataset.plugin = "@linxin666/dsh-client-ui-browser-view";
|
|
1151
|
-
tag.dataset.pluginCss = tagId;
|
|
1152
|
-
tag.textContent = css;
|
|
1153
|
-
document.head.appendChild(tag);
|
|
1154
|
-
}
|
|
1155
1128
|
var settings_card_module_css_default = {
|
|
1156
1129
|
"badge": "hZ1vmG_badge",
|
|
1157
1130
|
"badges": "hZ1vmG_badges",
|
|
@@ -2795,7 +2768,12 @@ window.__ModuleLoader__.load({
|
|
|
2795
2768
|
exports.apply = apply;
|
|
2796
2769
|
exports.inject = inject;
|
|
2797
2770
|
return module.exports;
|
|
2798
|
-
}
|
|
2771
|
+
},
|
|
2772
|
+
meta: () => ({ stylesheets: {
|
|
2773
|
+
"packages/dsh-browser-view/src/client/config.module.css": { text: () => "._1_mPwq_root{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);flex-direction:column;gap:10px;display:flex}._1_mPwq_switchRow{align-items:center;gap:8px;font-weight:600;display:inline-flex}._1_mPwq_field{flex-direction:column;gap:6px;display:flex}._1_mPwq_field input{box-sizing:border-box;width:100%;height:30px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);padding:0 9px}._1_mPwq_field input:focus{outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:-1px}._1_mPwq_field input:disabled,._1_mPwq_switchRow input:disabled{color:var(--dsw-alias-label-quaternary);cursor:default}._1_mPwq_hint{color:var(--dsw-alias-label-tertiary);margin:0;line-height:18px}._1_mPwq_error{color:var(--dsw-alias-state-business-danger);margin:0;line-height:18px}" },
|
|
2774
|
+
"packages/dsh-browser-view/src/client/panel.module.css": { text: () => ".mm_Yva_tabTitle{align-items:center;gap:5px;min-width:0;max-width:100%;display:inline-flex}.mm_Yva_tabTitleMark{flex:none;width:13px;height:13px}.mm_Yva_tabTitleText{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.mm_Yva_root{min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-base);flex-direction:column;flex:auto;display:flex;overflow:hidden}.mm_Yva_toolbar{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:4px;height:38px;padding:5px 6px;display:flex}.mm_Yva_tool{width:28px;height:28px;color:var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}@media (hover:hover){.mm_Yva_tool:hover:not(:disabled){color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}}.mm_Yva_tool:disabled{color:var(--dsw-alias-label-quaternary);cursor:default}.mm_Yva_tool:focus-visible{box-shadow:0 0 0 2px var(--dsw-alias-bg-base), 0 0 0 4px var(--dsw-alias-brand-primary);outline:none}.mm_Yva_addressBox{flex:auto;min-width:0;position:relative}.mm_Yva_address{box-sizing:border-box;width:100%;height:28px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xxs-12);text-overflow:ellipsis;white-space:nowrap;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm);padding:0 9px;overflow:hidden}.mm_Yva_address::placeholder{color:var(--dsw-alias-label-tertiary)}.mm_Yva_address:focus{outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:-1px}.mm_Yva_status{min-width:0;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxxs-11);white-space:nowrap;flex:0 auto;align-items:center;gap:4px;line-height:16px;display:inline-flex}.mm_Yva_statusText{text-overflow:ellipsis;flex:none;max-width:72px;overflow:hidden}.mm_Yva_mode{color:var(--dsw-alias-label-secondary);flex:none}.mm_Yva_endpoint{text-overflow:ellipsis;max-width:160px;overflow:hidden}@media (width<=420px){.mm_Yva_endpoint{display:none}}.mm_Yva_tabs{border-bottom:.5px solid var(--dsw-alias-border-l3);scrollbar-width:none;flex:none;align-items:center;gap:4px;padding:4px 6px;display:flex;overflow-x:auto}.mm_Yva_tabs::-webkit-scrollbar{display:none}.mm_Yva_tab{max-width:150px;height:24px;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxxs-11);white-space:nowrap;text-overflow:ellipsis;border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:0;flex:none;padding:0 8px;transition:background-color .12s,color .12s;overflow:hidden}@media (hover:hover){.mm_Yva_tab:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}}.mm_Yva_tabActive{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-active)}.mm_Yva_tab:focus-visible{box-shadow:0 0 0 2px var(--dsw-alias-bg-base), 0 0 0 4px var(--dsw-alias-brand-primary);outline:none}.mm_Yva_content{background:var(--dsw-alias-bg-base);flex:auto;min-width:0;min-height:0;display:flex;overflow:auto}.mm_Yva_frame{object-fit:contain;max-width:100%;height:auto;margin:auto;display:block}.mm_Yva_empty,.mm_Yva_error{text-align:center;flex-direction:column;align-items:center;gap:6px;margin:auto;padding:20px 16px;display:flex}.mm_Yva_emptyTitle,.mm_Yva_errorTitle{color:var(--dsw-alias-label-secondary);font-size:13px;font-weight:600;line-height:20px}.mm_Yva_emptyHint,.mm_Yva_errorBody{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.mm_Yva_errorTitle{color:var(--dsw-alias-state-error-primary)}.mm_Yva_errorCode{color:var(--dsw-alias-label-tertiary);font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:11px;line-height:16px}.mm_Yva_trace{border-top:.5px solid var(--dsw-alias-border-l3);flex:none;align-items:center;gap:8px;max-height:84px;padding:6px 10px;display:flex;overflow:hidden}.mm_Yva_traceList{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex;overflow:hidden}.mm_Yva_traceIdle{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.mm_Yva_traceRow{align-items:baseline;gap:6px;min-width:0;font-size:12px;line-height:18px;display:flex}.mm_Yva_traceTool{color:var(--dsw-alias-brand-primary);font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);flex:none;font-size:11px}.mm_Yva_traceSummary{min-width:0;color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}" },
|
|
2775
|
+
"packages/dsh-browser-view/src/client/settings-card.module.css": { text: () => ".hZ1vmG_card{--settings-card-radius:12px;--settings-card-header-pad:16px;--settings-card-header-gap:13px;--settings-card-title-size:15px;--settings-card-description-size:13px;--settings-card-body-inset:16px;--settings-card-motion:.18s;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:var(--settings-card-radius);list-style:none;transition:border-color .16s,background .16s}.hZ1vmG_card:hover{border-color:var(--dsw-alias-label-dimmed)}.hZ1vmG_cardOpen{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}.hZ1vmG_cardNested{--settings-card-radius:10px;--settings-card-header-pad:10px 12px;--settings-card-header-gap:10px;--settings-card-title-size:13px;--settings-card-description-size:12px;--settings-card-body-inset:12px}.hZ1vmG_cardNested .hZ1vmG_description{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hZ1vmG_header{appearance:none;box-sizing:border-box;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--settings-card-radius);align-items:center;gap:var(--settings-card-header-gap);padding:var(--settings-card-header-pad);background:0 0;border:0;display:flex}.hZ1vmG_header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.hZ1vmG_headerStatic{box-sizing:border-box;border-radius:var(--settings-card-radius);align-items:center;gap:var(--settings-card-header-gap);width:100%;padding:var(--settings-card-header-pad);display:flex}.hZ1vmG_headText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.hZ1vmG_mark{background:var(--dsw-alias-bg-module-platform);width:34px;height:34px;color:var(--dsw-alias-label-secondary);border-radius:10px;flex:none;place-items:center;transition:color .16s;display:grid}.hZ1vmG_header:hover .hZ1vmG_mark,.hZ1vmG_cardOpen .hZ1vmG_mark{color:var(--dsw-alias-label-primary)}.hZ1vmG_name{color:var(--dsw-alias-label-primary);font-size:var(--settings-card-title-size);font-weight:600;line-height:1.4}.hZ1vmG_description{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.hZ1vmG_headerAction{flex:none;align-items:center;display:inline-flex}.hZ1vmG_chevron{color:var(--dsw-alias-label-tertiary);flex:none;width:16px;height:16px;transition:transform .16s,color .16s}.hZ1vmG_header:hover .hZ1vmG_chevron{color:var(--dsw-alias-label-secondary)}.hZ1vmG_chevronOpen{transform:rotate(180deg)}.hZ1vmG_disclosure{opacity:0;transition:grid-template-rows var(--settings-card-motion) ease, opacity var(--settings-card-motion) ease;grid-template-rows:0fr;display:grid}.hZ1vmG_disclosure[data-state=collapsed],.hZ1vmG_disclosure[data-state=entering],.hZ1vmG_disclosure[data-state=closing]{overflow:hidden}.hZ1vmG_disclosure[data-state=entering],.hZ1vmG_disclosure[data-state=shown]{opacity:1;grid-template-rows:1fr}.hZ1vmG_disclosure>.hZ1vmG_body{min-height:0}.hZ1vmG_body{border-top:1px solid var(--dsw-alias-border-l2);margin:0 var(--settings-card-body-inset);padding-bottom:8px;container:hZ1vmG_settings-card/inline-size}.hZ1vmG_readOnly{color:var(--dsw-alias-label-secondary);margin:12px 0 0;font-size:12px;line-height:1.5}.hZ1vmG_notExposed{color:var(--dsw-alias-state-warn-primary);margin:12px 0 0;font-size:12px;line-height:1.5}.hZ1vmG_failed{color:var(--dsw-alias-state-error-primary,#b42318);overflow-wrap:anywhere;margin:8px 0 4px;font-size:12px;line-height:18px}.hZ1vmG_field{grid-template-columns:minmax(0,1fr) fit-content(50%);grid-template-areas:\"hZ1vmG_head hZ1vmG_control\"\"hZ1vmG_hint hZ1vmG_control\";align-items:center;gap:4px 24px;padding:16px 0;display:grid}.hZ1vmG_field>.hZ1vmG_head{grid-area:hZ1vmG_head}.hZ1vmG_field>:is(.hZ1vmG_hint,.hZ1vmG_invalid){grid-area:hZ1vmG_hint}.hZ1vmG_field>:not(.hZ1vmG_head,.hZ1vmG_hint,.hZ1vmG_invalid){grid-area:hZ1vmG_control;justify-self:end;max-width:100%}.hZ1vmG_field+.hZ1vmG_field{border-top:1px solid var(--dsw-alias-border-l2)}.hZ1vmG_head{align-items:center;gap:8px;display:flex}.hZ1vmG_label{min-width:0;color:var(--dsw-alias-label-primary);flex:1;font-size:14px;font-weight:400;line-height:22px}.hZ1vmG_badges{align-items:center;gap:8px;display:inline-flex}.hZ1vmG_badge{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.hZ1vmG_reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}.hZ1vmG_reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.hZ1vmG_reset:disabled{cursor:default}.hZ1vmG_reset:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.hZ1vmG_segmentGroup{background:color-mix(in srgb, var(--dsw-alias-label-primary) 7%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--dsw-alias-label-primary) 5%, transparent);border-radius:8px;flex-wrap:wrap;align-items:center;gap:2px;padding:2px;display:inline-flex;position:relative}.hZ1vmG_segment{appearance:none;color:var(--dsw-alias-label-secondary);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:7px;margin:0;padding:3px 12px;font-size:13px;font-weight:500;line-height:18px;transition:background-color .12s,color .12s}.hZ1vmG_segment:hover:not(:disabled):not([data-active]){color:var(--dsw-alias-label-primary)}.hZ1vmG_segmentGroup:not([data-pill])>.hZ1vmG_segment[data-active],.hZ1vmG_segmentGroup[data-pill]:before{background:var(--dsw-alias-bg-overlay,var(--dsw-alias-bg-layer-3));box-shadow:0 1px 2px #14141314}body[data-ds-dark-theme] .hZ1vmG_segmentGroup:not([data-pill])>.hZ1vmG_segment[data-active],body[data-ds-dark-theme] .hZ1vmG_segmentGroup[data-pill]:before{box-shadow:none;background:#ffffff24}.hZ1vmG_segment[data-active]{color:var(--dsw-alias-label-primary)}.hZ1vmG_segmentGroup[data-pill]:before{content:\"\";width:var(--segment-pill-w,0px);height:var(--segment-pill-h,0px);transform:translate(var(--segment-pill-x,0px), var(--segment-pill-y,0px));pointer-events:none;border-radius:7px;transition:transform .24s cubic-bezier(.22,.61,.36,1),width .24s cubic-bezier(.22,.61,.36,1),height .24s cubic-bezier(.22,.61,.36,1);position:absolute;top:0;left:0}.hZ1vmG_segmentGroup>*{z-index:1;position:relative}.hZ1vmG_segment:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.hZ1vmG_segment:disabled{cursor:not-allowed;opacity:.45}.hZ1vmG_segmentGroup[data-pill]:has(>.hZ1vmG_segment:disabled):before{opacity:.45}.hZ1vmG_input,.hZ1vmG_select{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.hZ1vmG_input:focus-visible,.hZ1vmG_select:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.hZ1vmG_input:disabled,.hZ1vmG_select:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}.hZ1vmG_inputInvalid{border:1px solid var(--dsw-alias-state-error-primary,#b42318);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5}.hZ1vmG_inputInvalid:focus-visible{outline:2px solid var(--dsw-alias-state-error-primary,#b42318);outline-offset:1px;border-color:var(--dsw-alias-state-error-primary,#b42318)}.hZ1vmG_field>:is(.hZ1vmG_input,.hZ1vmG_inputInvalid,.hZ1vmG_select,.hZ1vmG_selectWrap,.hZ1vmG_rangeAnchor){box-sizing:border-box;width:220px}.hZ1vmG_rangeAnchor>:is(.hZ1vmG_input,.hZ1vmG_inputInvalid){box-sizing:border-box;width:100%}@container hZ1vmG_settings-card (width<=440px){.hZ1vmG_field{grid-template-columns:minmax(0,1fr);grid-template-areas:\"hZ1vmG_head\"\"hZ1vmG_hint\"\"hZ1vmG_control\";row-gap:8px}.hZ1vmG_field>:not(.hZ1vmG_head,.hZ1vmG_hint,.hZ1vmG_invalid){justify-self:start}.hZ1vmG_field>:is(.hZ1vmG_input,.hZ1vmG_inputInvalid,.hZ1vmG_select,.hZ1vmG_selectWrap,.hZ1vmG_rangeAnchor){justify-self:stretch;width:auto}}.hZ1vmG_selectWrap{position:relative}.hZ1vmG_selectButton{appearance:none;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.hZ1vmG_selectLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hZ1vmG_selectChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.hZ1vmG_selectChevronOpen{transform:rotate(180deg)}.hZ1vmG_selectPopup{z-index:40;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);max-height:240px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;border-radius:8px;flex-direction:column;padding:4px;transition:opacity .1s,transform .1s;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;transform:translateY(-4px)}.hZ1vmG_selectPopupOpen{opacity:1;transform:none}.hZ1vmG_selectPopupClose{opacity:0;pointer-events:none;transform:translateY(-4px)}.hZ1vmG_rangeAnchor{display:inline-flex;position:relative}.hZ1vmG_rangeBubble{z-index:40;box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);width:220px;box-shadow:0 8px 24px var(--dsw-alias-bg-mask-2);opacity:0;visibility:hidden;border-radius:10px;padding:10px 12px 6px;transition:opacity .12s,transform .12s,visibility 0s linear .12s;position:absolute;right:0}.hZ1vmG_rangeBubble[data-side=above]{bottom:calc(100% + 6px);transform:translateY(4px)}.hZ1vmG_rangeBubble[data-side=below]{top:calc(100% + 6px);transform:translateY(-4px)}.hZ1vmG_rangeBubble[data-open]{opacity:1;visibility:visible;transition:opacity .12s,transform .12s,visibility;transform:none}.hZ1vmG_rangeSlider{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:0;display:block}.hZ1vmG_rangeSlider::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--dsw-alias-brand-primary) var(--range-fill,0%), color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent) var(--range-fill,0%));border-radius:999px;height:4px}.hZ1vmG_rangeSlider::-moz-range-track{background:color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent);border-radius:999px;height:4px}.hZ1vmG_rangeSlider::-moz-range-progress{background:var(--dsw-alias-brand-primary);border-radius:999px;height:4px}.hZ1vmG_rangeSlider::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;width:14px;height:14px;margin-top:-5px;transition:transform .12s;box-shadow:0 0 0 1px #0000001f,0 1px 3px #00000040}.hZ1vmG_rangeSlider::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #0000001f,0 1px 3px #00000040}.hZ1vmG_rangeSlider:active::-webkit-slider-thumb{transform:scale(1.15)}.hZ1vmG_rangeSlider:focus-visible{outline:none}.hZ1vmG_rangeSlider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--dsw-alias-brand-primary)}.hZ1vmG_rangeSlider:disabled{cursor:not-allowed}.hZ1vmG_rangeEnds{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:2px;font-size:11px;line-height:16px;display:flex}.hZ1vmG_selectOption{color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;flex-shrink:0;padding:6px 10px;font-size:13px;line-height:1.5;overflow:hidden}.hZ1vmG_selectOption:hover,.hZ1vmG_selectOptionActive{background:var(--dsw-alias-interactive-bg-hover)}.hZ1vmG_selectOptionSelected{color:var(--dsw-alias-brand-primary);background:color-mix(in srgb, var(--dsw-alias-brand-primary) 10%, transparent);font-weight:500}.hZ1vmG_invalid{color:var(--dsw-alias-state-error-primary,#b42318);margin:0;font-size:12px;line-height:18px}.hZ1vmG_hint{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:18px}.hZ1vmG_toggle{appearance:none;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:999px;align-items:center;margin:0;padding:0;display:inline-flex}.hZ1vmG_toggleTrack{background:var(--dsw-alias-label-dimmed);border-radius:999px;flex:none;width:36px;height:20px;transition:background-color .18s;position:relative}.hZ1vmG_toggleThumb{--toggle-travel:16px;--toggle-overshoot:1px;background:var(--dsw-alias-bg-layer-3);border-radius:50%;width:16px;height:16px;transition:translate .18s;position:absolute;top:2px;left:2px;translate:0;box-shadow:0 1px 2px #1414132e}.hZ1vmG_toggle[aria-checked=true] .hZ1vmG_toggleTrack{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-label-primary))}.hZ1vmG_toggle[aria-checked=true] .hZ1vmG_toggleThumb{translate:var(--toggle-travel) 0;background:var(--dsw-alias-label-primary-foreground,var(--dsw-alias-bg-layer-3))}.hZ1vmG_toggle[data-moved][aria-checked=true] .hZ1vmG_toggleThumb{animation:.35s cubic-bezier(.34,1.45,.64,1) both hZ1vmG_toggle-on}.hZ1vmG_toggle[data-moved][aria-checked=false] .hZ1vmG_toggleThumb{animation:.35s cubic-bezier(.34,1.45,.64,1) both hZ1vmG_toggle-off}@keyframes hZ1vmG_toggle-on{0%{translate:0}55%{translate:calc(var(--toggle-travel) + var(--toggle-overshoot)) 0}80%,to{translate:var(--toggle-travel) 0}}@keyframes hZ1vmG_toggle-off{0%{translate:var(--toggle-travel) 0}55%{translate:calc(0px - var(--toggle-overshoot)) 0}80%,to{translate:0}}.hZ1vmG_toggle:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.hZ1vmG_toggle:disabled{opacity:.45;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.hZ1vmG_card,.hZ1vmG_header,.hZ1vmG_mark,.hZ1vmG_chevron,.hZ1vmG_chevronOpen,.hZ1vmG_rangeBubble,.hZ1vmG_selectChevron,.hZ1vmG_selectChevronOpen,.hZ1vmG_selectPopup,.hZ1vmG_toggleTrack,.hZ1vmG_toggleThumb{transition:none}.hZ1vmG_toggle[data-moved] .hZ1vmG_toggleThumb{animation:none}.hZ1vmG_disclosure{transition-property:opacity}}" }
|
|
2776
|
+
} })
|
|
2799
2777
|
});
|
|
2800
2778
|
|
|
2801
2779
|
//# sourceMappingURL=client.js.map
|