ai-helper-agent 2.8.24 → 2.8.25

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.
@@ -1,4 +1,4 @@
1
- (()=>{var yt={DEBUG:0,INFO:1,WARN:2,ERROR:3},at=yt.DEBUG;function Ni(e){at=e}function Li(){return at}function Fi(...e){at<=yt.DEBUG&&console.debug("[AIH]",...e)}function Oi(...e){at<=yt.INFO&&console.info("[AIH]",...e)}function _i(...e){at<=yt.WARN&&console.warn("[AIH]",...e)}function Hi(...e){at<=yt.ERROR&&console.error("[AIH]",...e)}var j={debug:Fi,info:Oi,warn:_i,error:Hi,setLogLevel:Ni,getLogLevel:Li},Bi={common:{confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",delete:"\u5220\u9664",edit:"\u7F16\u8F91",retry:"\u91CD\u8BD5",loading:"\u52A0\u8F7D\u4E2D...",none:"\u65E0",add:"\u6DFB\u52A0",clear:"\u6E05\u7A7A",selectAll:"\u5168\u9009",deselectAll:"\u53D6\u6D88\u5168\u9009",refresh:"\u5237\u65B0",enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u505C\u7528",bytes:"\u5B57\u8282",copy:"\u590D\u5236",copySuccess:"\u5DF2\u590D\u5236",copyFailed:"\u590D\u5236\u5931\u8D25"},dialog:{operationConfirm:"\u64CD\u4F5C\u786E\u8BA4",confirmDefaultMessage:"\u6A21\u578B\u8BF7\u6C42\u6267\u884C\u654F\u611F\u64CD\u4F5C\uFF0C\u662F\u5426\u5141\u8BB8\uFF1F",confirmAction:"\u6A21\u578B\u8BF7\u6C42\u6267\u884C\u64CD\u4F5C: {name}",remainingTime:"\u5269\u4F59\u65F6\u95F4: {time}",deny:"\u62D2\u7EDD",approveOnce:"\u672C\u6B21\u653E\u884C",approveLoop:"\u5F53\u524D\u4EFB\u52A1\u653E\u884C",pendingQueue:"\uFF08\u53E6\u6709 {count} \u6761\u5F85\u786E\u8BA4\uFF09",pendingQueueClarify:"\uFF08\u53E6\u6709 {count} \u6761\u5F85\u6F84\u6E05\uFF09",otherPending:"\uFF08\u53E6\u6709 {count} \u6761\u5176\u4ED6\u8BF7\u6C42\u5728\u6392\u961F\uFF09",approveWhitelist:"\u52A0\u5165\u767D\u540D\u5355\u5E76\u653E\u884C",networkTitle:"\u5185\u7F51\u8BBF\u95EE\u786E\u8BA4",networkToolLabel:"\u5185\u7F51\u5730\u5740\u8BBF\u95EE",networkAccessRequest:"\u6A21\u578B\u8BF7\u6C42\u8BBF\u95EE\u5185\u7F51\u5730\u5740 {hostname}\uFF08{reason}\uFF09\uFF0C\u662F\u5426\u653E\u884C\uFF1F",networkWhitelistHint:"\u9009\u62E9\u300C\u52A0\u5165\u767D\u540D\u5355\u5E76\u653E\u884C\u300D\u4F1A\u5F00\u542F\u300C\u5185\u7F51\u5730\u5740\u8BBF\u95EE\u300D\u5E76\u628A\u8BE5\u4E3B\u673A\u52A0\u5165\u5141\u8BB8\u5217\u8868\uFF1B\u300C\u672C\u6B21\u653E\u884C\u300D\u53EA\u5BF9\u8FD9\u4E00\u6B21\u8BF7\u6C42\u751F\u6548\u3002",networkReasonGateClosed:"\u5F53\u524D\u672A\u5F00\u542F\u5185\u7F51\u5730\u5740\u8BBF\u95EE",networkReasonNoAllowlist:"\u5185\u7F51\u5141\u8BB8\u5217\u8868\u4E3A\u7A7A",networkReasonNotAllowlisted:"\u8BE5\u4E3B\u673A\u672A\u52A0\u5165\u5185\u7F51\u5141\u8BB8\u5217\u8868"},sensitiveTool:{manage_cookies:"\u7BA1\u7406 Cookie",manage_storage:"\u9875\u9762\u5B58\u50A8\u64CD\u4F5C",download_file:"\u4E0B\u8F7D\u6587\u4EF6",manage_tab:"\u6807\u7B7E\u9875\u7BA1\u7406",agent_file:"\u6587\u4EF6\u64CD\u4F5C",agent_exec:"\u672C\u5730\u547D\u4EE4\u6267\u884C",debug_page:"\u9875\u9762\u8C03\u8BD5\uFF08Debugger\uFF09",debuggerAttachHint:`
1
+ (()=>{var yt={DEBUG:0,INFO:1,WARN:2,ERROR:3},at=yt.DEBUG;function Ni(e){at=e}function Li(){return at}function Fi(...e){at<=yt.DEBUG&&console.debug("[AIH]",...e)}function Oi(...e){at<=yt.INFO&&console.info("[AIH]",...e)}function Hi(...e){at<=yt.WARN&&console.warn("[AIH]",...e)}function _i(...e){at<=yt.ERROR&&console.error("[AIH]",...e)}var j={debug:Fi,info:Oi,warn:Hi,error:_i,setLogLevel:Ni,getLogLevel:Li},Bi={common:{confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",delete:"\u5220\u9664",edit:"\u7F16\u8F91",retry:"\u91CD\u8BD5",loading:"\u52A0\u8F7D\u4E2D...",none:"\u65E0",add:"\u6DFB\u52A0",clear:"\u6E05\u7A7A",selectAll:"\u5168\u9009",deselectAll:"\u53D6\u6D88\u5168\u9009",refresh:"\u5237\u65B0",enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u505C\u7528",bytes:"\u5B57\u8282",copy:"\u590D\u5236",copySuccess:"\u5DF2\u590D\u5236",copyFailed:"\u590D\u5236\u5931\u8D25"},dialog:{operationConfirm:"\u64CD\u4F5C\u786E\u8BA4",confirmDefaultMessage:"\u6A21\u578B\u8BF7\u6C42\u6267\u884C\u654F\u611F\u64CD\u4F5C\uFF0C\u662F\u5426\u5141\u8BB8\uFF1F",confirmAction:"\u6A21\u578B\u8BF7\u6C42\u6267\u884C\u64CD\u4F5C: {name}",remainingTime:"\u5269\u4F59\u65F6\u95F4: {time}",deny:"\u62D2\u7EDD",approveOnce:"\u672C\u6B21\u653E\u884C",approveLoop:"\u5F53\u524D\u4EFB\u52A1\u653E\u884C",pendingQueue:"\uFF08\u53E6\u6709 {count} \u6761\u5F85\u786E\u8BA4\uFF09",pendingQueueClarify:"\uFF08\u53E6\u6709 {count} \u6761\u5F85\u6F84\u6E05\uFF09",otherPending:"\uFF08\u53E6\u6709 {count} \u6761\u5176\u4ED6\u8BF7\u6C42\u5728\u6392\u961F\uFF09",approveWhitelist:"\u52A0\u5165\u767D\u540D\u5355\u5E76\u653E\u884C",networkTitle:"\u5185\u7F51\u8BBF\u95EE\u786E\u8BA4",networkToolLabel:"\u5185\u7F51\u5730\u5740\u8BBF\u95EE",networkAccessRequest:"\u6A21\u578B\u8BF7\u6C42\u8BBF\u95EE\u5185\u7F51\u5730\u5740 {hostname}\uFF08{reason}\uFF09\uFF0C\u662F\u5426\u653E\u884C\uFF1F",networkWhitelistHint:"\u9009\u62E9\u300C\u52A0\u5165\u767D\u540D\u5355\u5E76\u653E\u884C\u300D\u4F1A\u5F00\u542F\u300C\u5185\u7F51\u5730\u5740\u8BBF\u95EE\u300D\u5E76\u628A\u8BE5\u4E3B\u673A\u52A0\u5165\u5141\u8BB8\u5217\u8868\uFF1B\u300C\u672C\u6B21\u653E\u884C\u300D\u53EA\u5BF9\u8FD9\u4E00\u6B21\u8BF7\u6C42\u751F\u6548\u3002",networkReasonGateClosed:"\u5F53\u524D\u672A\u5F00\u542F\u5185\u7F51\u5730\u5740\u8BBF\u95EE",networkReasonNoAllowlist:"\u5185\u7F51\u5141\u8BB8\u5217\u8868\u4E3A\u7A7A",networkReasonNotAllowlisted:"\u8BE5\u4E3B\u673A\u672A\u52A0\u5165\u5185\u7F51\u5141\u8BB8\u5217\u8868"},sensitiveTool:{manage_cookies:"\u7BA1\u7406 Cookie",manage_storage:"\u9875\u9762\u5B58\u50A8\u64CD\u4F5C",download_file:"\u4E0B\u8F7D\u6587\u4EF6",manage_tab:"\u6807\u7B7E\u9875\u7BA1\u7406",agent_file:"\u6587\u4EF6\u64CD\u4F5C",agent_exec:"\u672C\u5730\u547D\u4EE4\u6267\u884C",debug_page:"\u9875\u9762\u8C03\u8BD5\uFF08Debugger\uFF09",debuggerAttachHint:`
2
2
 
3
3
  \u5F00\u542F\u540E\u8BE5\u6807\u7B7E\u9875\u9876\u90E8\u4F1A\u663E\u793A"\u6269\u5C55\u7A0B\u5E8F\u6B63\u5728\u8C03\u8BD5\u6B64\u6D4F\u89C8\u5668"\u63D0\u793A\u6761\uFF0C\u7ED3\u675F\u540E\u81EA\u52A8\u6D88\u5931\u3002`,unknown:"\u672A\u77E5\u64CD\u4F5C",tabInfo:`
4
4
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  \uFF08\u65E0\u6CD5\u83B7\u53D6\u6807\u7B7E\u9875\u4FE1\u606F: {error}\uFF09`,untitled:"\u65E0\u6807\u9898",unknownUrl:"\u672A\u77E5"},settings:{docTitle:"AI Helper - \u914D\u7F6E",language:"\u754C\u9762\u8BED\u8A00",languageChanged:"\u8BED\u8A00\u5DF2\u5207\u6362\uFF0C\u90E8\u5206\u9875\u9762\u5237\u65B0\u540E\u751F\u6548",appearance:"\u5916\u89C2",themeHint:"\u4E3B\u9898\u5373\u65F6\u751F\u6548\u5E76\u5728\u6240\u6709\u9875\u9762\u540C\u6B65",usageTips:"\u5728\u8F93\u5165\u6846\u4E0A\u65B9\u8F6E\u64AD\u4F7F\u7528\u6280\u5DE7",usageTipsHint:"\u8F6E\u6362\u5C55\u793A\u63D2\u4EF6\u4E0E AI \u7684\u4F7F\u7528\u6280\u5DE7\uFF1B\u60AC\u505C\u53EF\u6682\u505C\u67E5\u770B\u5168\u6587\uFF0C\u70B9\u300C\u4E0D\u518D\u663E\u793A\u300D\u5373\u53EF\u5173\u95ED",themeSystem:"\u8DDF\u968F\u7CFB\u7EDF",themeLight:"\u4EAE\u8272",themeDark:"\u6697\u8272",pageTitle:"AI Helper \u914D\u7F6E",subtitle:"\u7F51\u9875\u667A\u80FD\u52A9\u624B - OpenAI \u517C\u5BB9\u63A5\u53E3",importConfigTitle:"\u5BFC\u5165\u914D\u7F6E",exportConfigTitle:"\u5BFC\u51FA\u914D\u7F6E",tabBasic:"\u57FA\u7840",tabReact:"\u63A8\u7406",tabToolbar:"\u5212\u8BCD",tabAgent:"\u4EE3\u7406",tabToolbox:"\u6269\u5C55",tabVoice:"\u8BED\u97F3",saveConfig:"\u4FDD\u5B58\u914D\u7F6E",apiBaseHint:"\uFF08\u4ECE\u4E0B\u62C9\u5217\u8868\u9009\u62E9\uFF0C\u6216\u624B\u52A8\u8F93\u5165\uFF09",addApiBaseTitle:"\u6DFB\u52A0\u81EA\u5B9A\u4E49 API Base URL",addAddress:"+ \u6DFB\u52A0\u5730\u5740",apiBaseUrlPlaceholder:"API Base URL\uFF08\u5982 https://api.example.com/v1\uFF09",apiBaseLabelPlaceholder:"\u6807\u7B7E/\u5907\u6CE8\uFF08\u53EF\u9009\uFF0C\u5982 \u6211\u7684\u4EE3\u7406\uFF09",confirmAdd:"\u786E\u8BA4\u6DFB\u52A0",requiredHint:"\uFF08\u5FC5\u586B\uFF09",apiKeyHint:"\u8BF7\u4ECE\u60A8\u4F7F\u7528\u7684\u5927\u6A21\u578B\u5E73\u53F0\u83B7\u53D6\u5BF9\u5E94\u7684 API Key\uFF0C\u5E76\u5728\u6B64\u914D\u7F6E\u4E2D\u586B\u5199\u3002\u8BF7\u59A5\u5584\u4FDD\u7BA1\u60A8\u7684 API Key\uFF0C\u907F\u514D\u6CC4\u9732\u3002",apiKeyPlaceholder:"\u8BF7\u8F93\u5165\u60A8\u7684 API Key",toggleApiKey:"\u663E\u793A/\u9690\u85CF API Key",modelName:"\u6A21\u578B\u540D\u79F0",modelNameHint:"\uFF08\u4ECE\u4E0B\u62C9\u5217\u8868\u9009\u62E9\uFF0C\u6216\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u6DFB\u52A0\u65B0\u6A21\u578B\uFF09",selectModelPlaceholder:"\u8BF7\u4ECE\u4E0B\u65B9\u9009\u62E9\u6A21\u578B",noMatch:"\u65E0\u5339\u914D\u9879",addModelTitle:"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u6A21\u578B",addModel:"+ \u6DFB\u52A0\u6A21\u578B",fetchModels:"\u27F3 \u4ECE API \u83B7\u53D6",fetchModelsTitle:"\u4ECE\u5F53\u524D\u5382\u5546 API \u62C9\u53D6\u53EF\u7528\u6A21\u578B\u5217\u8868",fetchModelsLoading:"\u83B7\u53D6\u4E2D\u2026",fetchModelsNeedConfig:"\u8BF7\u5148\u586B\u5199 API Base URL \u548C API Key",fetchModelsSuccess:"\u2705 \u5DF2\u83B7\u53D6 {total} \u4E2A\u6A21\u578B\uFF08\u65B0\u589E {added} \u4E2A\uFF09",fetchModelsEmpty:"\u672A\u83B7\u53D6\u5230\u6A21\u578B\uFF0C\u8BF7\u624B\u52A8\u6DFB\u52A0",fetchModelsFailed:"\u274C \u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E\u6216\u624B\u52A8\u6DFB\u52A0\u6A21\u578B",fetchModelsAuthFailed:"\u274C \u8BA4\u8BC1\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5 API Key",modelNameInputPlaceholder:"\u6A21\u578B\u540D\u79F0\uFF08\u5982 gpt-4o\uFF09",contextWindowPlaceholder:"\u4E0A\u4E0B\u6587\u7A97\u53E3\u5927\u5C0F\uFF08tokens\uFF09",contextWindowHint:"128K=128000, 200K=200000, 1M=1000000, \u7559\u7A7A\u5219\u81EA\u52A8\u63A8\u65AD",enableImageInput:"\u542F\u7528\u56FE\u7247\u8BC6\u522B\u529F\u80FD",enableImageInputHint:"\uFF08\u5F00\u542F\u540E\u53EF\u5728\u4FA7\u8FB9\u680F\u53D1\u9001\u56FE\u7247\u7ED9\u591A\u6A21\u6001\u6A21\u578B\u8FDB\u884C\u5206\u6790\uFF09",imageApiBaseHint:"\uFF08\u4ECE\u4E0B\u62C9\u5217\u8868\u9009\u62E9\uFF0C\u6216\u624B\u52A8\u8F93\u5165\uFF1B\u7559\u7A7A\u5219\u4F7F\u7528\u57FA\u7840\u6A21\u578B\u914D\u7F6E\uFF09",addImageApiBaseTitle:"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u56FE\u7247 API Base URL",useBaseModelPlaceholder:"\u7559\u7A7A\u5219\u4F7F\u7528\u57FA\u7840\u6A21\u578B\u914D\u7F6E",imageApiKeyHint:"\uFF08\u53EF\u9009\uFF0C\u7559\u7A7A\u5219\u4F7F\u7528\u57FA\u7840\u6A21\u578B\u914D\u7F6E\uFF09",imageApiKeyPlaceholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u8BC6\u522B API Key",imageModelNameHint:"\uFF08\u652F\u6301\u591A\u6A21\u6001\u89C6\u89C9\u80FD\u529B\u7684\u6A21\u578B\uFF0C\u4ECE\u5217\u8868\u9009\u62E9\u6216\u6DFB\u52A0\u65B0\u6A21\u578B\uFF1B\u7559\u7A7A\u5219\u4F7F\u7528\u57FA\u7840\u6A21\u578B\u7684\u6A21\u578B\u540D\u79F0\uFF09",useBaseModelPlaceholderShort:"\u7559\u7A7A\u5219\u4F7F\u7528\u57FA\u7840\u6A21\u578B",addImageModelTitle:"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u56FE\u7247\u8BC6\u522B\u6A21\u578B",systemPrompt:"\u7CFB\u7EDF\u63D0\u793A\u8BCD",systemPromptHint:"\uFF08\u53EF\u9009\uFF0C\u7559\u7A7A\u5219\u4F7F\u7528\u9ED8\u8BA4\u503C\uFF09",resetToDefault:"\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u503C",systemPromptTip:"\u{1F4A1} \u63D0\u793A\uFF1A\u7CFB\u7EDF\u63D0\u793A\u8BCD\u7528\u4E8E\u5B9A\u4E49 AI \u52A9\u624B\u7684\u884C\u4E3A\u548C\u89D2\u8272\u3002",collapse:"\u2212 \u6536\u8D77",modelNameRequired:"\u8BF7\u8F93\u5165\u6A21\u578B\u540D\u79F0",modelAdded:"\u6A21\u578B\u5DF2\u6DFB\u52A0",imageModelAdded:"\u56FE\u7247\u6A21\u578B\u5DF2\u6DFB\u52A0",apiBaseSwitched:"API Base URL \u5DF2\u5207\u6362\uFF0C\u8BF7\u786E\u4FDD API Key \u5BF9\u5E94\u6709\u6548",apiBaseRequired:"\u8BF7\u8F93\u5165 API Base URL",urlInvalid:"URL \u683C\u5F0F\u4E0D\u6B63\u786E",apiBaseAdded:"API Base URL \u5DF2\u6DFB\u52A0",imageApiBaseSwitched:"\u56FE\u7247 API Base URL \u5DF2\u5207\u6362",imageApiBaseAdded:"\u56FE\u7247 API Base URL \u5DF2\u6DFB\u52A0",loopTimeoutRangeError:"\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\u5FC5\u987B\u5728 10 \u5206\u949F - 24 \u5C0F\u65F6\u4E4B\u95F4",apiKeyEmpty:"API Key \u4E0D\u80FD\u4E3A\u7A7A",saveFailed:"\u4FDD\u5B58\u5931\u8D25\uFF1A{message}",saveSuccess:"\u914D\u7F6E\u5DF2\u4FDD\u5B58\u6210\u529F\uFF01",deleteModel:"\u5220\u9664\u6B64\u6A21\u578B",ctxSliderIconTitle:"\u8BBE\u7F6E\u8BE5\u6A21\u578B\u7684\u4E0A\u4E0B\u6587\u7A97\u53E3",ctxSliderAuto:"\u81EA\u52A8",ctxSliderAutoTitle:"\u6062\u590D\u81EA\u52A8\u63A8\u65AD",ctxBadgeAutoTip:"\u81EA\u52A8\u63A8\u65AD\uFF08\u672A\u624B\u52A8\u8BBE\u7F6E\uFF09",ctxSliderResetAuto:"\u6062\u590D\u81EA\u52A8",deleteApiBase:"\u5220\u9664\u6B64\u5730\u5740",providerConfig:"\u5382\u5546\u914D\u7F6E",providerConfigHint:"\uFF08\u5207\u6362\u540E\u7ACB\u5373\u751F\u6548\uFF1B\u6BCF\u4E2A\u914D\u7F6E\u72EC\u7ACB\u8BB0\u5FC6\u5730\u5740\u3001API Key\u3001\u6A21\u578B\u5217\u8868\uFF09",profileScopeHint:"\u4EE5\u4E0B\u8BBE\u7F6E\u4FDD\u5B58\u5230\u5382\u5546\u914D\u7F6E\u201C{name}\u201D\uFF0C\u5207\u6362\u5382\u5546\u65F6\u81EA\u52A8\u8054\u52A8",newProfile:"+ \u65B0\u5EFA",newProfileTitle:"\u65B0\u5EFA\u4E00\u4E2A\u7A7A\u7684\u5382\u5546\u914D\u7F6E",profileNameTitle:"\u65B0\u5EFA\u5382\u5546\u914D\u7F6E",saveAsProfile:"\u53E6\u5B58\u4E3A",saveAsProfileTitle:"\u4EE5\u5F53\u524D\u914D\u7F6E\u53E6\u5B58\u4E3A\u65B0\u7684\u5382\u5546\u914D\u7F6E",renameProfile:"\u91CD\u547D\u540D",renameProfileTitle:"\u91CD\u547D\u540D\u5F53\u524D\u914D\u7F6E",deleteProfile:"\u5220\u9664",deleteProfileTitle:"\u5220\u9664\u5F53\u524D\u914D\u7F6E",reopenWizard:"\u91CD\u65B0\u6253\u5F00\u914D\u7F6E\u5411\u5BFC",reopenWizardTitle:"\u5728\u4FA7\u8FB9\u680F\u91CD\u65B0\u6253\u5F00\u9996\u6B21\u914D\u7F6E\u5411\u5BFC",reopenWizardHint:"\u5DF2\u91CD\u7F6E\uFF0C\u8BF7\u6253\u5F00\u4FA7\u8FB9\u680F\u67E5\u770B\u914D\u7F6E\u5411\u5BFC",profileNamePlaceholder:"\u914D\u7F6E\u540D\u79F0\uFF08\u5982 DeepSeek \u5B98\u65B9\u3001\u6211\u7684\u4E2D\u8F6C\uFF09",profileNameRequired:"\u8BF7\u8F93\u5165\u914D\u7F6E\u540D\u79F0",deleteProfileConfirm:"\u786E\u5B9A\u8981\u5220\u9664\u5382\u5546\u914D\u7F6E\u201C{name}\u201D\u5417\uFF1F\u5220\u9664\u540E\u4E0D\u53EF\u6062\u590D\u3002",atLeastOneProfile:"\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u5382\u5546\u914D\u7F6E",profileSwitched:"\u5DF2\u5207\u6362\u5230 {name}",profileCreated:"\u5DF2\u521B\u5EFA\u914D\u7F6E {name}",profileRenamed:"\u5DF2\u91CD\u547D\u540D\u4E3A {name}",profileDeleted:"\u5DF2\u5220\u9664\u914D\u7F6E {name}",profileCopySuffix:"\u526F\u672C",completionFeedbackTitle:"\u5B8C\u6210\u53CD\u9988",completionSound:"\u64AD\u653E\u63D0\u793A\u97F3\uFF08\u6210\u529F\u4E0E\u5931\u8D25\u97F3\u6548\u4E0D\u540C\uFF09",completionSoundHint:"\u6210\u529F\u65F6\u6E05\u8106\u4E09\u8FDE\u97F3\uFF08Do-Mi-Sol \u4E0A\u626C\uFF09\uFF0C\u5931\u8D25\u65F6\u4F4E\u6C89\u65B9\u6CE2\u53CC\u97F3\uFF1B\u7528\u6237\u4E3B\u52A8\u53D6\u6D88\u4E0D\u64AD\u653E",completionConfetti:"\u64AD\u653E\u5F69\u5E26\u52A8\u753B",completionConfettiHint:"\u4EC5\u5728\u56DE\u7B54\u6210\u529F\u5B8C\u6210\u65F6\u64AD\u653E\uFF1B\u5931\u8D25\u548C\u53D6\u6D88\u4E0D\u64AD\u653E",completionNotification:"\u4EFB\u52A1\u5B8C\u6210\u6216\u5931\u8D25\u65F6\u5F39\u51FA\u684C\u9762\u901A\u77E5",completionNotificationHint:"\u4EC5\u5728\u770B\u4E0D\u5230\u4FA7\u8FB9\u680F\u65F6\u5F39\u51FA\uFF1B\u6210\u529F\u81EA\u52A8\u6D88\u5931\uFF0C\u5931\u8D25\u505C\u7559\u81F3\u624B\u52A8\u5173\u95ED\uFF1B\u70B9\u51FB\u901A\u77E5\u6253\u5F00\u4FA7\u8FB9\u680F",scheduledNotification:"\u5B9A\u65F6\u4EFB\u52A1\u5B8C\u6210\u6216\u5931\u8D25\u65F6\u5F39\u51FA\u684C\u9762\u901A\u77E5",scheduledNotificationHint:"\u5B9A\u65F6\u4EFB\u52A1\u5728\u540E\u53F0\u6267\u884C\u3001\u65E0\u58F0\u97F3\u7B49\u5176\u4ED6\u63D0\u9192\u6E20\u9053\uFF0C\u5F00\u5173\u5F00\u542F\u65F6\u603B\u662F\u5F39\u51FA\uFF1B\u9ED8\u8BA4\u5F00\u542F\uFF0C\u53EF\u624B\u52A8\u5173\u95ED",interactionNotification:"AI \u9700\u8981\u4F60\u786E\u8BA4\u6216\u6F84\u6E05\u65F6\u63D0\u9192\u6211",interactionNotificationHint:"\u63A8\u7406\u5FAA\u73AF\u7B49\u5F85\u4F60\u64CD\u4F5C\u65F6\u5F39\u684C\u9762\u63D0\u9192\uFF1B\u4EC5\u5728\u770B\u5F97\u5230\u4FA7\u8FB9\u680F\u65F6\u4E0D\u6253\u6270\uFF0C\u70B9\u51FB\u901A\u77E5\u6253\u5F00\u4FA7\u8FB9\u680F",showMessageTimestamp:"\u663E\u793A\u6D88\u606F\u65F6\u95F4\u6233",showMessageTimestampHint:"\uFF08\u5728\u7528\u6237\u95EE\u9898\u6C14\u6CE1\u4E0B\u65B9\u663E\u793A\u53D1\u95EE\u65F6\u95F4\uFF0C\u4ECA\u5929\u663E\u793A\u65F6\u5206\uFF0C\u975E\u4ECA\u5929\u663E\u793A\u65E5\u671F\uFF09",queueAutoCarry:"\u4EFB\u52A1\u6267\u884C\u4E2D\uFF0C\u81EA\u52A8\u628A\u6392\u961F\u7684\u6D88\u606F\u987A\u5E26\u8FDB\u5F53\u524D\u4EFB\u52A1",queueAutoCarryHint:"\u4E0D\u6253\u65AD\u539F\u4EFB\u52A1\uFF1A\u5728\u63A8\u7406\u5FAA\u73AF\u7684\u81EA\u7136\u65AD\u70B9\u628A\u961F\u9996\u4E00\u6761\u5E76\u5165\u672C\u8F6E\uFF0C\u4E00\u6B21\u53EA\u5E26 1 \u6761\uFF1B\u5173\u95ED\u540E\u53EA\u80FD\u624B\u52A8\u70B9\u961F\u5217\u91CC\u7684 \u26A1",queueAutoCarryEveryN:"\u81F3\u5C11\u95F4\u9694",queueAutoCarryEveryNUnit:"\u8F6E",queueAutoCarryEveryNHint:"\uFF08\u540C\u4E00\u4E2A\u4EFB\u52A1\u6700\u591A\u5E26 3 \u6761\uFF0C\u907F\u514D\u628A\u961F\u5217\u5168\u642C\u8FDB\u4E0A\u4E0B\u6587\u800C\u6324\u6389\u539F\u4EFB\u52A1\uFF09",sidePanelScopeTitle:"\u4FA7\u8FB9\u680F\u4F5C\u7528\u57DF",sidePanelScopeGlobal:"\u5168\u5C40\u6A21\u5F0F",sidePanelScopeTab:"\u6807\u7B7E\u9875\u7ED1\u5B9A\u6A21\u5F0F",sidePanelScopeGlobalHint:"\u540C\u4E00\u7A97\u53E3\u5185\u6240\u6709\u6807\u7B7E\u9875\u5171\u4EAB\u540C\u4E00\u4EFD\u4FA7\u8FB9\u680F\u5B9E\u4F8B\uFF0C\u5207\u6362\u6807\u7B7E\u9875\u65F6\u59CB\u7EC8\u53EF\u89C1",sidePanelScopeTabHint:"\u4FA7\u8FB9\u680F\u53EA\u5728\u6253\u5F00\u5B83\u7684\u6807\u7B7E\u9875\u663E\u793A\uFF1B\u53EF\u5728\u591A\u4E2A\u6807\u7B7E\u9875\u5404\u81EA\u6253\u5F00\uFF0C\u5207\u8D70\u81EA\u52A8\u9690\u85CF\u3001\u5207\u56DE\u81EA\u52A8\u6062\u590D",autoGroupTabs:"\u628A\u6253\u5F00\u4FA7\u8FB9\u680F\u7684\u6807\u7B7E\u9875\u5F52\u5165\u5206\u7EC4",autoGroupTabsHint:"\u628A\u8FD9\u4E9B\u6807\u7B7E\u9875\u5F52\u5165\u4E00\u4E2A\u5F69\u8272\u6807\u7B7E\u7EC4\u4FBF\u4E8E\u8BC6\u522B\uFF08\u6807\u7B7E\u9875\u4F1A\u88AB\u79FB\u52A8\u5230\u5206\u7EC4\u6240\u5728\u4F4D\u7F6E\uFF09\uFF0C\u5173\u95ED\u67D0\u4E2A\u6807\u7B7E\u9875\u7684\u4FA7\u8FB9\u680F\u6216\u5207\u56DE\u5168\u5C40\u6A21\u5F0F\u65F6\u4F1A\u79FB\u51FA\u5206\u7EC4"},header:{docTitle:"AI Helper - \u6A21\u578B\u95EE\u7B54",themeToggle:"\u4E3B\u9898\uFF1A{theme}",settingsTitle:"\u63D2\u4EF6\u8BBE\u7F6E",switchAgent:"\u5207\u6362\u52A9\u624B",defaultAssistant:"\u{1F916} \u9ED8\u8BA4\u52A9\u624B",notConnected:"\u672A\u8FDE\u63A5",agentAddress:"\u4EE3\u7406\u5730\u5740",copyAgentAddress:"\u590D\u5236\u4EE3\u7406\u5730\u5740",refreshAgentStatus:"\u5237\u65B0\u4EE3\u7406\u5728\u7EBF\u72B6\u6001",restart:"\u91CD\u542F",restartAgent:"\u91CD\u542F\u4EE3\u7406\u670D\u52A1",update:"\u66F4\u65B0",updateAndRestart:"\u66F4\u65B0\u5E76\u91CD\u542F\u4EE3\u7406",stop:"\u505C\u6B62",stopAgent:"\u505C\u6B62\u4EE3\u7406\u670D\u52A1",addEditAgent:"\u65B0\u589E/\u7F16\u8F91\u4EE3\u7406",addEditAssistant:"\u65B0\u589E/\u7F16\u8F91\u52A9\u624B",manageKnowledge:"\u7BA1\u7406\u77E5\u8BC6\u5E93",moreActions:"\u66F4\u591A\u64CD\u4F5C",clearChat:"\u6E05\u9664\u5BF9\u8BDD",exportChat:"\u5BFC\u51FA\u5BF9\u8BDD",importChat:"\u5BFC\u5165\u5BF9\u8BDD",prototypeLibrary:"\u539F\u578B\u9875\u9762\u5E93",tokenStats:"Token \u7EDF\u8BA1",auditLog:"\u547D\u4EE4\u6267\u884C\u5BA1\u8BA1",shortcuts:"\u67E5\u770B\u5FEB\u6377\u952E",versionInfo:"\u7248\u672C\u4FE1\u606F",detachTitle:"\u8131\u79BB\u4E3A\u72EC\u7ACB\u7A97\u53E3",attachTitle:"\u56DE\u5F52\u4FA7\u8FB9\u680F"},detach:{taskRunning:"\u4EFB\u52A1\u6267\u884C\u4E2D\uFF0C\u8BF7\u7B49\u5F85\u5B8C\u6210\u540E\u518D\u64CD\u4F5C",attachFailed:"\u56DE\u5F52\u4FA7\u8FB9\u680F\u5931\u8D25\uFF0C\u8BF7\u5148\u6253\u5F00\u4E00\u4E2A\u7F51\u9875\u540E\u91CD\u8BD5"},session:{allSessions:"\u5168\u90E8\u4F1A\u8BDD",newSessionTitle:"\u65B0\u5EFA\u4F1A\u8BDD (Alt+N)",searchPlaceholder:"\u641C\u7D22\u4F1A\u8BDD...",closeAll:"\u5173\u95ED\u5168\u90E8",renameTitle:"\u91CD\u547D\u540D\u4F1A\u8BDD",renamePlaceholder:"\u8BF7\u8F93\u5165\u4F1A\u8BDD\u540D\u79F0",confirmCloseTitle:"\u786E\u8BA4\u5173\u95ED\u4F1A\u8BDD",confirmCloseMessage:"\u786E\u5B9A\u8981\u5173\u95ED\u8BE5\u4F1A\u8BDD\u5417\uFF1F\u6B64\u64CD\u4F5C\u4E0D\u53EF\u64A4\u9500\u3002"},chat:{welcomeTitle:"\u5F00\u59CB\u5BF9\u8BDD",welcomeSubtitle:"\u8F93\u5165\u60A8\u7684\u95EE\u9898\uFF0CAI \u52A9\u624B\u5C06\u4E3A\u60A8\u89E3\u7B54",askBasedOnSelection:"\u57FA\u4E8E\u9009\u4E2D\u5185\u5BB9\u63D0\u95EE",confirmClearTitle:"\u786E\u8BA4\u6E05\u9664",confirmClearMessage:"\u786E\u5B9A\u8981\u6E05\u9664\u6240\u6709\u5BF9\u8BDD\u5386\u53F2\u5417\uFF1F",confirmDeletePromptTitle:"\u786E\u8BA4\u5220\u9664",confirmDeletePromptMessage:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u63D0\u793A\u8BCD\u5417\uFF1F",requestFailed:"\u8BF7\u6C42\u5931\u8D25: {message}",networkError:"\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u540E\u91CD\u8BD5",timeoutError:"\u8BF7\u6C42\u8D85\u65F6: {message}",taskInterruptedSwRestart:"\u540E\u53F0\u670D\u52A1\u5F02\u5E38\u91CD\u542F\uFF0CAPI \u8C03\u7528\u5DF2\u4E2D\u65AD",quote:"\u5F15\u7528",export:"\u5BFC\u51FA",quoteTitle:"\u5F15\u7528\u6B64\u6D88\u606F",quotedPrefix:"\u{1F4AC} \u5DF2\u5F15\u7528: {text}",navPrevTitle:"\u4E0A\u4E00\u4E2A\u95EE\u9898 (Alt+\u2191)\uFF0CCtrl/Cmd+\u70B9\u51FB\u56DE\u5230\u6700\u9876\u7AEF",navNextTitle:"\u4E0B\u4E00\u4E2A\u95EE\u9898 (Alt+\u2193)\uFF0CCtrl/Cmd+\u70B9\u51FB\u8DF3\u5230\u5E95\u7AEF",navQuestionTitle:"\u95EE\u9898\u5217\u8868",navPosition:"{current} / {total}",navPinLabel:"\u9489\u4F4F",navUnpinLabel:"\u53D6\u6D88\u9489\u4F4F",navHotzoneTitle:"\u6D88\u606F\u8DF3\u8F6C\uFF1A\u60AC\u505C\u6216 Tab \u805A\u7126\u5C55\u5F00\u95EE\u9898\u5217\u8868\uFF0C\u70B9\u51FB/Enter \u9489\u4F4F\uFF0CEsc \u6536\u8D77",navQuestionNoText:"(\u56FE\u7247/\u9644\u4EF6\u6D88\u606F)",navSearchPlaceholder:"\u641C\u7D22\u95EE\u9898\u2026",navNoMatch:"\u6CA1\u6709\u5339\u914D\u7684\u95EE\u9898",navQuestionImageCount:"{count} \u5F20\u56FE\u7247"},toolPanel:{title:"\u5DE5\u5177\u914D\u7F6E",searchPlaceholder:"\u641C\u7D22\u5DE5\u5177\u540D\u79F0\u6216\u63CF\u8FF0...",categoryAll:"\u5168\u90E8",preselect:"\u5DE5\u5177\u9884\u7B5B\u9009",preselectHint:`\u5F00\u542F\uFF1AAI \u5148\u5224\u65AD\u54EA\u4E9B\u5DE5\u5177\u53EF\u80FD\u7528\u5F97\u4E0A\uFF0C\u53EA\u4F20\u76F8\u5173\u5DE5\u5177\u3002\u597D\u5904\u662F Token \u7701\u4E86\uFF0C\u4F46\u4E07\u4E00\u5224\u65AD\u4E0D\u51C6\uFF0C\u6F0F\u6389\u4E86\u5173\u952E\u5DE5\u5177\uFF0C\u4EFB\u52A1\u53EF\u80FD\u505A\u4E0D\u597D
9
9
  \u5173\u95ED\uFF1A\u5168\u90E8\u542F\u7528\u7684\u5DE5\u5177\u4E00\u6B21\u6027\u7ED9\u6A21\u578B\u3002\u6CA1\u6709\u5224\u65AD\u5F00\u9500\uFF0C\u542F\u52A8\u66F4\u5FEB\uFF0C\u4F46\u5DE5\u5177\u592A\u591A\u4F1A\u6D6A\u8D39 Token`,confirmHint:`\u542F\u7528\u540E\uFF0C\u5F53\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\uFF08\u5DE5\u5177\u8C03\u7528\u3001\u547D\u4EE4\u6267\u884C\u7B49\uFF09\u65F6\uFF0C\u4F1A\u5F39\u51FA\u786E\u8BA4\u6846\u7B49\u5F85\u7528\u6237\u786E\u8BA4\u3002
10
- \u5173\u95ED\u540E\uFF0C\u6240\u6709\u64CD\u4F5C\u5C06\u76F4\u63A5\u653E\u884C\u6267\u884C\uFF0C\u65E0\u9700\u786E\u8BA4\u3002`,clearSearch:"\u6E05\u9664\u641C\u7D22",configBtnTitle:"\u70B9\u51FB\u6253\u5F00\u5DE5\u5177\u8BE6\u7EC6\u914D\u7F6E"},toolStats:{title:"\u{1F4CA} \u5DE5\u5177\u4F7F\u7528\u7EDF\u8BA1",subtitle:"\u5404\u5DE5\u5177\u8C03\u7528\u9891\u7387\u3001\u6210\u529F\u7387\u3001\u5E73\u5747\u8017\u65F6",usedTools:"\u5DF2\u4F7F\u7528\u5DE5\u5177",calls:"\u8C03\u7528",success:"\u6210\u529F",successRate:"\u6210\u529F\u7387",avgDuration:"\u5E73\u5747\u8017\u65F6",unusedTools:"\u672A\u4F7F\u7528\u5DE5\u5177",noData:"\u6682\u65E0\u7EDF\u8BA1\u6570\u636E",btnTitle:"\u5DE5\u5177\u4F7F\u7528\u7EDF\u8BA1",clearTitle:"\u6E05\u7A7A\u7EDF\u8BA1"},tokenStatsPanel:{title:"\u{1FA99} Token \u4F7F\u7528\u7EDF\u8BA1",subtitle:"\u5355\u6B21\u95EE\u7B54 ReAct \u4F1A\u8BDD\u7EF4\u5EA6 & \u603B\u4F53\u7EF4\u5EA6",currentSession:"\u5F53\u524D\u4F1A\u8BDD",globalStats:"\u5168\u5C40\u7EDF\u8BA1",recentCalls:"\u8FD1\u671F\u8C03\u7528",noData:"\u6682\u65E0\u7EDF\u8BA1\u6570\u636E",tabTrend:"\u8D8B\u52BF",tabDistribution:"\u5206\u5E03",tabGlobal:"\u5168\u5C40",timeRangeToday:"\u4ECA\u65E5",timeRangeWeek:"\u672C\u5468",timeRangeMonth:"\u672C\u6708",timeRangeAll:"\u5168\u90E8",globalSparklineTitle:"\u6700\u8FD1 30 \u5929\u8D8B\u52BF"},customConfirm:{defaultTitle:"\u786E\u8BA4\u64CD\u4F5C"},promptDialog:{title:"\u63D0\u793A"},promptManager:{title:"\u63D0\u793A\u8BCD\u7BA1\u7406",codePlaceholder:"\u7F16\u7801\uFF08\u5982: code\uFF09",contentPlaceholder:"\u63D0\u793A\u8BCD\u5185\u5BB9",addPrompt:"\u6DFB\u52A0\u63D0\u793A\u8BCD"},clarify:{title:"\u9700\u8981\u60A8\u7684\u6F84\u6E05",selectOption:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u9009\u9879",inputPlaceholder:"\u8BF7\u8F93\u5165\u8865\u5145\u4FE1\u606F\uFF08\u53EF\u9009\uFF09...",customPlaceholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u81EA\u5B9A\u4E49\u5185\u5BB9...",additionalTitle:"\u8865\u5145\u8BF4\u660E\uFF08\u53EF\u9009\uFF09",additionalHint:"\u5982\u679C\u60A8\u6709\u66F4\u591A\u76F8\u5173\u4FE1\u606F\uFF0C\u53EF\u4EE5\u5728\u6B64\u8865\u5145\u8BF4\u660E",remainingTime:"\u5269\u4F59\u65F6\u95F4: 3:00"},prototype:{previewTitle:"UI \u539F\u578B\u9884\u89C8",continueOptimize:"\u{1F4A1} \u7EE7\u7EED\u4F18\u5316",libraryTitle:"\u{1F3A8} \u539F\u578B\u9875\u9762\u5E93",searchPlaceholder:"\u641C\u7D22\u539F\u578B...",sortTimeNew:"\u65F6\u95F4 (\u65B0\u2192\u65E7)",sortTimeOld:"\u65F6\u95F4 (\u65E7\u2192\u65B0)",sortTitleAz:"\u6807\u9898 (A\u2192Z)",sortTitleZa:"\u6807\u9898 (Z\u2192A)",empty:"\u6682\u65E0\u539F\u578B",zoomOut:"\u7F29\u5C0F (Ctrl+\u6EDA\u8F6E)",zoomReset:"\u70B9\u51FB\u91CD\u7F6E",resetZoom:"\u70B9\u51FB\u91CD\u7F6E",zoomIn:"\u653E\u5927 (Ctrl+\u6EDA\u8F6E)",download:"\u4E0B\u8F7D",openInTab:"\u65B0\u6807\u7B7E\u9875\u6253\u5F00",openInNewTab:"\u65B0\u6807\u7B7E\u9875\u6253\u5F00",openLocal:"\u672C\u5730\u6D4F\u89C8\u5668\u6253\u5F00"},shortcuts:{title:"\u2328\uFE0F \u5FEB\u6377\u952E",sendMessage:"\u53D1\u9001\u6D88\u606F",newLine:"\u6362\u884C",inputHistory:"\u8F93\u5165\u5386\u53F2\uFF08\u8F93\u5165\u6846\u5185\uFF09",editQueueTail:"\u7F16\u8F91\u961F\u5C3E\u6392\u961F\u4EFB\u52A1\uFF08\u8F93\u5165\u6846\u4E3A\u7A7A\u65F6\uFF09",injectAdHoc:"\u63D2\u5165\u5230\u6B63\u5728\u6267\u884C\u7684\u4EFB\u52A1\uFF08\u4E0D\u5165\u961F\uFF09",stopAndSend:"\u505C\u6B62\u5F53\u524D\u4EFB\u52A1\u5E76\u7ACB\u5373\u6267\u884C\u961F\u5217\uFF08\u53F3\u952E / \u957F\u6309\u505C\u6B62\uFF09",clearInput:"\u6E05\u7A7A\u8F93\u5165\u6846",voiceInput:"\u8BED\u97F3\u8F93\u5165\uFF08\u5F00\u59CB / \u7ED3\u675F\uFF09",cancelVoiceInput:"\u53D6\u6D88\u5F55\u97F3\uFF08\u5F55\u97F3\u4E2D\u4F18\u5148\uFF09",keyColumn:"\u5FEB\u6377\u952E",functionColumn:"\u529F\u80FD",platformColumn:"\u5E73\u53F0",platformWinMac:"Win / Mac",colShortcut:"\u5FEB\u6377\u952E",colFunction:"\u529F\u80FD",colPlatform:"\u5E73\u53F0",gotoPrev:"\u8DF3\u8F6C\u5230\u4E0A\u4E00\u4E2A\u95EE\u9898",gotoNext:"\u8DF3\u8F6C\u5230\u4E0B\u4E00\u4E2A\u95EE\u9898",scrollTop:"\u56DE\u5230\u5BF9\u8BDD\u9876\u90E8",scrollBottom:"\u8DF3\u5230\u5BF9\u8BDD\u5E95\u90E8",navOpenByTab:"\u805A\u7126\u5DE6\u4FA7\u628A\u624B\u5E76\u5C55\u5F00\u95EE\u9898\u5217\u8868",navListArrows:"\u5728\u95EE\u9898\u5217\u8868\u6761\u76EE\u95F4\u79FB\u52A8\uFF08Enter \u8DF3\u8F6C\uFF09",navPinToggle:"\u9489\u4F4F / \u53D6\u6D88\u9489\u4F4F\u95EE\u9898\u5217\u8868",navEscCollapse:"\u6536\u8D77\u95EE\u9898\u5217\u8868 / \u53D6\u6D88\u9489\u4F4F\uFF08\u6709\u641C\u7D22\u8BCD\u65F6\u5148\u6E05\u7A7A\uFF09",fullScreenshot:"\u5168\u9875\u9762\u622A\u56FE",areaScreenshot:"\u533A\u57DF\u622A\u56FE",regionScreenshot:"\u533A\u57DF\u622A\u56FE",toggleToolConfig:"\u6253\u5F00/\u5173\u95ED\u5DE5\u5177\u914D\u7F6E",openShortcutsPanel:"\u6253\u5F00\u5FEB\u6377\u952E\u9762\u677F",openShortcutPanel:"\u6253\u5F00\u5FEB\u6377\u952E\u9762\u677F",newSession:"\u65B0\u5EFA\u4F1A\u8BDD",closeSession:"\u5173\u95ED\u5F53\u524D\u4F1A\u8BDD",closeCurrentSession:"\u5173\u95ED\u5F53\u524D\u4F1A\u8BDD",editLastMessage:"\u7F16\u8F91\u6700\u8FD1\u4E00\u6761\u7528\u6237\u6D88\u606F",messageFullscreen:"\u5168\u5C4F\u67E5\u770B / \u9000\u51FA\u67E5\u770B\u56DE\u7B54",todoToggle:"\u5F00\u5173\u5F85\u529E\u9762\u677F",todoAdd:"\u805A\u7126\u5F85\u529E\u6DFB\u52A0\u6846",todoSelect:"\u5728\u5F85\u529E\u6761\u76EE\u95F4\u79FB\u52A8\uFF08\u9762\u677F\u5185\uFF09",todoNote:"\u7ED9\u9009\u4E2D\u7684\u5F85\u529E\u52A0\u5907\u6CE8",todoLink:"\u7ED9\u9009\u4E2D\u7684\u5F85\u529E\u52A0\u94FE\u63A5",todoDone:"\u6807\u8BB0\u5B8C\u6210 / \u9000\u56DE\u5F85\u529E",todoPriority:"\u5FAA\u73AF\u5207\u6362\u4F18\u5148\u7EA7"},versionInfo:{title:"\u2139\uFE0F \u7248\u672C\u4FE1\u606F",version:"\u7248\u672C\u53F7",tag:"Git Tag",commit:"Git \u63D0\u4EA4",publishedAt:"\u53D1\u5E03\u65F6\u95F4",website:"\u5B98\u7F51",discussions:"\u8BA8\u8BBA\u9891\u9053",reportIssue:"\u4E0A\u62A5\u95EE\u9898",githubRepo:"GitHub \u4ED3\u5E93",giteeRepo:"Gitee \u4ED3\u5E93",copy:"\u590D\u5236\u4FE1\u606F"},imageEditor:{editImage:"\u7F16\u8F91\u56FE\u7247",brush:"\u753B\u7B14 (B)",rect:"\u77E9\u5F62 (R)",ellipse:"\u692D\u5706 (E)",arrow:"\u7BAD\u5934 (A)",line:"\u76F4\u7EBF (L)",undo:"\u64A4\u9500 (Ctrl+Z)",confirm:"\u786E\u8BA4 (Enter)",cancel:"\u53D6\u6D88 (Esc)",downloadImage:"\u4E0B\u8F7D\u56FE\u7247",prev:"\u4E0A\u4E00\u5F20",next:"\u4E0B\u4E00\u5F20",prevImage:"\u4E0A\u4E00\u5F20",nextImage:"\u4E0B\u4E00\u5F20",brushSize:"\u753B\u7B14\u7C97\u7EC6",eraser:"\u6A61\u76AE\u64E6"},chatExport:{selectCurrentOnly:"\u4EC5\u9009\u5F53\u524D",selectedCount:"\u5DF2\u9009 {count} \u4E2A",exportSelected:"\u5BFC\u51FA\u9009\u4E2D",title:"\u5BFC\u51FA\u4F1A\u8BDD",exportSessions:"\u5BFC\u51FA\u4F1A\u8BDD"},agentEditor:{createNew:"\u521B\u5EFA\u65B0\u52A9\u624B",namePlaceholder:"\u52A9\u624B\u540D\u79F0",icon:"\u56FE\u6807",descPlaceholder:"\u8FD9\u4E2A\u52A9\u624B\u64C5\u957F\u4EC0\u4E48\uFF1F",templateQuickCreate:"\u6A21\u677F\u5FEB\u901F\u521B\u5EFA",promptPlaceholder:"\u4F60\u662F\u4E00\u4E2A\u4E13\u4E1A\u7684...",availableTools:"\u53EF\u7528\u5DE5\u5177",availableSkills:"\u53EF\u7528\u6280\u80FD",modelSettings:"\u6A21\u578B\u8BBE\u7F6E\uFF08\u7559\u7A7A\u5219\u4F7F\u7528\u5168\u5C40\u8BBE\u7F6E\uFF09",modelPlaceholder:"\u9009\u62E9\u6216\u8F93\u5165\u6A21\u578B\u540D\u79F0",allowSubAgent:"\u5141\u8BB8\u4F5C\u4E3A\u5B50\u52A9\u624B\u88AB\u8C03\u5EA6",name:"\u540D\u79F0",desc:"\u7B80\u77ED\u63CF\u8FF0",nameLabel:"\u540D\u79F0",descLabel:"\u7B80\u77ED\u63CF\u8FF0",selectTemplate:"-- \u9009\u62E9\u6A21\u677F\uFF08\u53EF\u9009\uFF09 --",systemPrompt:"\u7CFB\u7EDF\u63D0\u793A\u8BCD\uFF08\u5B9A\u4E49\u52A9\u624B\u7684\u89D2\u8272\u548C\u80FD\u529B\uFF09",inheritGlobalToolsHint:"\uFF08\u4E0D\u52FE\u9009\u5219\u7EE7\u627F\u5168\u5C40\u5DE5\u5177\u8BBE\u7F6E\uFF09",inheritGlobalSkillsHint:"\uFF08\u4E0D\u52FE\u9009\u5219\u4F7F\u7528\u5168\u90E8\u542F\u7528\u6280\u80FD\uFF09",toolsInheritGlobal:"\uFF08\u4E0D\u52FE\u9009\u5219\u7EE7\u627F\u5168\u5C40\u5DE5\u5177\u8BBE\u7F6E\uFF09",skillsInheritAll:"\uFF08\u4E0D\u52FE\u9009\u5219\u4F7F\u7528\u5168\u90E8\u542F\u7528\u6280\u80FD\uFF09",noSetting:"\u4E0D\u8BBE\u7F6E\uFF08\u4F7F\u7528\u5168\u5C40\uFF09",noPreset:"\u4E0D\u8BBE\u7F6E\uFF08\u4F7F\u7528\u5168\u5C40\uFF09",deleteTitle:"\u5220\u9664\u6B64\u52A9\u624B",deleteAgentTitle:"\u5220\u9664\u6B64\u52A9\u624B",toolSearchPlaceholder:"\u641C\u7D22\u5DE5\u5177\u540D\u79F0\u6216\u63CF\u8FF0",skillSearchPlaceholder:"\u641C\u7D22\u6280\u80FD\u540D\u79F0\u6216\u63CF\u8FF0",selectedOnlyFilter:"\u53EA\u770B\u5DF2\u52FE\u9009",showAllTools:"\u67E5\u770B\u5168\u90E8\u5DE5\u5177",showAllSkills:"\u67E5\u770B\u5168\u90E8\u6280\u80FD"},auditLog:{title:"\u{1F4CB} \u547D\u4EE4\u6267\u884C\u5BA1\u8BA1",filterAll:"\u5168\u90E8",filterCommand:"\u547D\u4EE4\u6267\u884C",filterFile:"\u6587\u4EF6\u64CD\u4F5C",filterAuth:"\u8BA4\u8BC1",filterSecurity:"\u5B89\u5168",filterSystem:"\u7CFB\u7EDF",recent50:"\u6700\u8FD150\u6761",recent100:"\u6700\u8FD1100\u6761",recent200:"\u6700\u8FD1200\u6761",recent500:"\u6700\u8FD1500\u6761",searchPlaceholder:"\u641C\u7D22\u64CD\u4F5C\u540D\u3001\u547D\u4EE4\u6216\u8DEF\u5F84...",categoryFilter:"\u5206\u7C7B\u7B5B\u9009:",countLabel:"\u6761\u6570:",clearSearch:"\u6E05\u9664",empty:"\u6682\u65E0\u5BA1\u8BA1\u65E5\u5FD7",noLogs:"\u6682\u65E0\u5BA1\u8BA1\u65E5\u5FD7",defaultRange:"\u9ED8\u8BA4\u67E5\u8BE2\u6700\u8FD17\u5929\u7684\u5BA1\u8BA1\u65E5\u5FD7"},workdirTag:{sessionScope:"\uFF08\u672C\u4F1A\u8BDD\uFF09",defaultScope:"\uFF08\u9ED8\u8BA4\uFF09",switchTitle:"\u5207\u6362\u672C\u4F1A\u8BDD\u5DE5\u4F5C\u76EE\u5F55",restoreDefault:"\u6062\u590D\u9ED8\u8BA4\u76EE\u5F55",setAsAgentDefault:"\u540C\u65F6\u8BBE\u4E3A\u4EE3\u7406\u9ED8\u8BA4\u76EE\u5F55\uFF08\u5F71\u54CD\u672A\u7ED1\u5B9A\u7684\u4F1A\u8BDD\uFF09",setAsAgentDefaultHint:"\u52FE\u9009\u540E\uFF0C\u70B9\u5217\u8868\u91CC\u7684\u76EE\u5F55\u6216\u70B9\u300C\u5207\u6362\u300D\u90FD\u4F1A\u540C\u65F6\u628A\u5B83\u8BBE\u4E3A\u4EE3\u7406\u9ED8\u8BA4\u76EE\u5F55",pathMissing:"\u76EE\u5F55\u4E0D\u5B58\u5728\u6216\u4E0D\u53EF\u8BBF\u95EE\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9",agentSwitched:"\u4EE3\u7406\u5DF2\u5207\u6362\uFF0C\u672C\u4F1A\u8BDD\u76EE\u5F55\u5DF2\u56DE\u843D\u5230\u65B0\u4EE3\u7406\u7684\u9ED8\u8BA4\u76EE\u5F55",lockedHint:"\u4EFB\u52A1\u6267\u884C\u4E2D\uFF0C\u65E0\u6CD5\u5207\u6362\u5DE5\u4F5C\u76EE\u5F55",restoredDefault:"\u5DF2\u6062\u590D\u9ED8\u8BA4\u76EE\u5F55",tagHint:"\u70B9\u51FB\u5207\u6362\u672C\u4F1A\u8BDD\u5DE5\u4F5C\u76EE\u5F55"},input:{atHint:"\u63D0\u793A\u8BCD (\u5355\u51FB) / \u7F51\u9875 (Ctrl/Cmd+\u5355\u51FB)",placeholder:"\u8F93\u5165'/'\u5FEB\u6377\u63D0\u793A\u3001'@'\u5207\u6362\u52A9\u624B\u6216\u7F51\u9875\u3001'$'\u9009\u62E9\u5DE5\u4F5C\u76EE\u5F55\u6587\u4EF6\u3001'\u2191\u2193'\u5207\u6362\u5386\u53F2\u8F93\u5165\u3001Esc\u6E05\u7A7A",send:"\u53D1\u9001",clearSelection:"\u53D6\u6D88\u9009\u4E2D\u5185\u5BB9",pageLabel:"\u{1F310} \u7F51\u9875",clearPage:"\u53D6\u6D88\u7F51\u9875",mcpLabel:"\u{1F50C} MCP",clearMcp:"\u53D6\u6D88MCP\u670D\u52A1",skillLabel:"\u{1F9E9} \u6280\u80FD",clearSkill:"\u53D6\u6D88\u6280\u80FD",screenshotTitle:"\u622A\u53D6\u5F53\u524D\u9875\u9762",attachFileTitle:"\u4E0A\u4F20\u6587\u4EF6\uFF08PDF/Word/Excel/\u6587\u672C\uFF09",screenshot:"\u622A\u53D6\u5F53\u524D\u9875\u9762",uploadFile:"\u4E0A\u4F20\u6587\u4EF6\uFF08PDF/Word/Excel/\u6587\u672C\uFF09",aiDisclaimer:"\u5185\u5BB9\u7531 AI \u751F\u6210\uFF0C\u4EC5\u4F9B\u53C2\u8003",addMenuTitle:"\u6DFB\u52A0\u5185\u5BB9",addMenuPrompt:"\u63D0\u793A\u8BCD",addMenuScreenshot:"\u622A\u56FE",addMenuScreenshotFull:"\u6574\u9875\u622A\u56FE",addMenuScreenshotFullDesc:"\u622A\u53D6\u5F53\u524D\u53EF\u89C1\u9875\u9762",addMenuScreenshotRegion:"\u533A\u57DF\u622A\u56FE",addMenuScreenshotRegionDesc:"\u62D6\u62FD\u6846\u9009\u9875\u9762\u533A\u57DF",addMenuFile:"\u9644\u4EF6",addMenuSwitches:"\u5F00\u5173"},model:{selectModel:"\u9009\u62E9\u6A21\u578B",temperature:"\u6E29\u5EA6"},sectionSelect:{searchPlaceholder:"\u8F93\u5165\u5173\u952E\u5B57\u8FC7\u6EE4\u2026",noMatch:"\u65E0\u5339\u914D\u9879"},provider:{label:"API \u5382\u5546",manage:"\u7BA1\u7406\u5382\u5546\u914D\u7F6E"},promptSelector:{prompts:"\u63D0\u793A\u8BCD",skills:"\u6280\u80FD",pages:"\u7F51\u9875",agents:"\u52A9\u624B",proxies:"\u4EE3\u7406",knowledge:"\u77E5\u8BC6\u5E93",pagesCount:"\u7F51\u9875 ({count})",agentsCount:"\u52A9\u624B ({count})",proxiesCount:"\u4EE3\u7406 ({count})",knowledgeCount:"\u77E5\u8BC6\u5E93 ({count})",headerHint:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u53D1\u9001 \xB7 Ctrl+Enter\u5E26\u5165\u6587\u672C\u6846",agentHeaderHint:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u9009\u4E2D\u5E76\u5173\u95ED \xB7 Esc\u53D6\u6D88",switchHint:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u53D1\u9001 \xB7 Ctrl+Enter\u5E26\u5165\u6587\u672C\u6846",switchHintMulti:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u9009\u4E2D\u5E76\u5173\u95ED \xB7 Ctrl+Enter\u591A\u9009/\u53CD\u9009 \xB7 Esc\u53D6\u6D88",mergedTitle:"\u805A\u5408\u641C\u7D22",mergedTitleCount:"\u805A\u5408\u641C\u7D22 ({count})"},memory:{label:"\u8BB0\u5FC6",historyLimit:"\u8BB0\u5FC6\u5386\u53F2\u9650\u5236",hint:"\u8BB0\u5FC6\u8D8A\u591A\uFF0C\u4E0A\u4E0B\u6587\u8D8A\u8FDE\u8D2F\uFF0C\u4F46 token \u6D88\u8017\u4E5F\u8D8A\u5927\uFF1B\u8BB0\u5FC6\u592A\u5C11\uFF0C\u5219\u53EF\u80FD\u65E0\u6CD5\u7ED3\u5408\u524D\u6587\u51C6\u786E\u56DE\u7B54\u3002",unlimited:"\u4E0D\u9650\u5236",recent200:"\u6700\u8FD1200\u6761",recent100:"\u6700\u8FD1100\u6761",recent50:"\u6700\u8FD150\u6761",recent20:"\u6700\u8FD120\u6761",recent10:"\u6700\u8FD110\u6761",recent5:"\u6700\u8FD15\u6761",recent2:"\u6700\u8FD12\u6761",custom:"\u81EA\u5B9A\u4E49:",unit:"\u6761",configEntry:"\u6253\u5F00\u8BB0\u5FC6\u914D\u7F6E",autoCompactLabel:"\u81EA\u52A8\u538B\u7F29",autoCompactHint:"\u4E0A\u4E0B\u6587\u5360\u7528\u8FBE\u5230 85% \u65F6\uFF0C\u53D1\u9001\u524D\u81EA\u52A8\u538B\u7F29\u4E00\u6B21\u4E3A\u6458\u8981\uFF08\u4F1A\u989D\u5916\u4EA7\u751F\u4E00\u6B21\u6458\u8981\u8C03\u7528\uFF09\u3002",persistSummaryLabel:"\u6458\u8981\u5B58\u5165\u8BB0\u5FC6",persistSummaryHint:"\u538B\u7F29\u65F6\u628A\u6458\u8981\u6C89\u6DC0\u4E3A\u8DE8\u4F1A\u8BDD\u957F\u671F\u8BB0\u5FC6\uFF1B\u540C\u4E00\u4F1A\u8BDD\u91CD\u590D\u538B\u7F29\u53EA\u66F4\u65B0\u540C\u4E00\u6761\u3002"},goal:{label:"\u76EE\u6807",toggleHint:"\u5F00\u542F\u540E\uFF0C\u672C\u8F6E\u4EFB\u52A1\u4F1A\u4F5C\u4E3A\u4F1A\u8BDD\u76EE\u6807\u6301\u7EED\u81EA\u52A8\u63A8\u8FDB\uFF0C\u76F4\u5230\u8FBE\u6210\u3001\u88AB\u5224\u4E3A\u4E0D\u53EF\u80FD\u6216\u9884\u7B97\u8017\u5C3D",statusActive:"\u8FDB\u884C\u4E2D",statusPaused:"\u5DF2\u6682\u505C",statusAchieved:"\u5DF2\u8FBE\u6210",statusUnmet:"\u672A\u8FBE\u6210",statusBudgetLimited:"\u9884\u7B97\u8017\u5C3D",statusCleared:"\u5DF2\u6E05\u9664",turnsUsed:"\u5DF2\u5C1D\u8BD5 {turns} \u6B21",turnsLeft:"\u8FD8\u5269 {turns} \u6B21",constraints:"+{count} \u6761\u8865\u5145",attachmentImage:"\u56FE\u7247 {count} \u5F20",edit:"\u7F16\u8F91",pause:"\u6682\u505C",resume:"\u7EE7\u7EED",clear:"\u6E05\u9664",editTitle:"\u7F16\u8F91\u76EE\u6807",editPrompt:"\u7528\u4E00\u53E5\u8BDD\u63CF\u8FF0\u8981\u8FBE\u6210\u7684\u76EE\u6807\uFF0C\u8D8A\u5177\u4F53\u8D8A\u597D\uFF1A",disabledHint:"\u76EE\u6807\u6A21\u5F0F\u5DF2\u5728\u8BBE\u7F6E\u4E2D\u5173\u95ED",startHint:"\u5F00\u542F\u76EE\u6807\u540E\uFF0C\u53D1\u9001\u7684\u7B2C\u4E00\u6761\u6D88\u606F\u5C06\u6210\u4E3A\u76EE\u6807",clearConfirm:"\u6E05\u9664\u5F53\u524D\u76EE\u6807\uFF1F\u4EFB\u52A1\u73B0\u573A\uFF08checkpoint\uFF09\u4F1A\u4E00\u5E76\u4E22\u5F03\u3002",updated:"\u76EE\u6807\u5DF2\u66F4\u65B0",approvalRevoked:"\u5DF2\u64A4\u9500\u653E\u884C\uFF1A\u76EE\u6807\u5DF2\u6682\u505C\uFF0C\u{1F3AF} \u5F00\u5173\u5DF2\u7184\u706D\u3002\u91CD\u65B0\u70B9\u4EAE \u{1F3AF} \u5E76\u70B9\u300C\u7EE7\u7EED\u300D\u5373\u53EF\u6062\u590D\u3002",pausedToast:"\u76EE\u6807\u5DF2\u6682\u505C\uFF1A\u53D1\u9001\u6D88\u606F\u4F1A\u81EA\u52A8\u7EE7\u7EED\uFF1B\u60F3\u5F7B\u5E95\u505C\u4E0B\uFF0C\u8BF7\u7184\u706D\u300C\u76EE\u6807\u300D\u5F00\u5173\u3002",pausedToastChipOff:"\u76EE\u6807\u5DF2\u6682\u505C\uFF1A\u53D1\u9001\u6D88\u606F\u4E0D\u4F1A\u81EA\u52A8\u7EE7\u7EED\uFF0C\u9700\u70B9\u300C\u7EE7\u7EED\u300D\u6216\u91CD\u65B0\u70B9\u4EAE\u300C\u76EE\u6807\u300D\u3002",pausedHintInline:"\u53D1\u6D88\u606F\u5373\u53EF\u7EE7\u7EED",resumeBlocked:"\u5DF2\u5230\u8F6E\u6B21\u786C\u9876\uFF08{turns} \u6B21\uFF09\uFF0C\u6CA1\u6CD5\u518D\u8865\u989D\u5EA6\u3002\u70B9\u300C\u7F16\u8F91\u300D\u6539\u4E00\u4E0B\u76EE\u6807\u4F1A\u91CD\u7F6E\u8F6E\u6B21\uFF0C\u6216\u6E05\u9664\u76EE\u6807\u540E\u91CD\u65B0\u5F00\u59CB\u3002",autoApproveHint:"\u76EE\u6807\u6A21\u5F0F\u5DF2\u81EA\u52A8\u653E\u884C\u654F\u611F\u64CD\u4F5C\uFF08agent \u7AEF\u9ED1\u540D\u5355\u547D\u4EE4\u4ECD\u4F1A\u786C\u62E6\uFF09\u3002\u70B9\u51FB\u64A4\u9500\u3002",intentDetected:"\u5DF2\u4ECE\u4F60\u7684\u63CF\u8FF0\u91CC\u8BC6\u522B\u51FA\u76EE\u6807\u6A21\u5F0F\uFF0C\u672C\u8F6E\u4F1A\u81EA\u52A8\u63A8\u8FDB\uFF08\u654F\u611F\u64CD\u4F5C\u4ECD\u4F1A\u5F39\u7A97\u786E\u8BA4\uFF09\u3002\u53EF\u70B9\u76EE\u6807\u6761\u4E0A\u7684\u300C\u6E05\u9664\u300D\u64A4\u9500\u3002",intentHint:"\u770B\u8D77\u6765\u4F60\u60F3\u8BA9\u4EFB\u52A1\u4E00\u76F4\u63A8\u8FDB\u5230\u8FBE\u6210\uFF1F\u70B9\u4EAE\u8F93\u5165\u533A\u7684 \u{1F3AF} \u5373\u53EF\u5F00\u542F\u76EE\u6807\u6A21\u5F0F\uFF08\u4E0D\u4F1A\u81EA\u52A8\u66FF\u4F60\u5F00\uFF09\u3002"},toggle:{memoryHint:"\u5F00\u542F\u540E\uFF0C\u524D\u6587\u95EE\u7B54\u5C06\u4F5C\u4E3A\u4E0A\u4E0B\u6587\uFF08\u9ED8\u8BA4\u5168\u90E8\uFF0C\u6761\u6570\u53EF\u914D\u7F6E\uFF09",toolsHint:"\u5DE5\u5177\u603B\u5F00\u5173\uFF1A\u70B9\u51FB\u5F00\u542F\u6216\u5173\u95ED\u5DE5\u5177\u8C03\u7528",selectionHint:"\u5F00\u542F\u540E\uFF0C\u5212\u8BCD\u9009\u4E2D\u5185\u5BB9\u65F6\u53EF\u5FEB\u901F\u63D0\u95EE",tools:"\u5DE5\u5177",selection:"\u5212\u8BCD",modelSettings:"\u6A21\u578B\u8BBE\u7F6E",toolsConfigTitle:"\u70B9\u51FB\u6253\u5F00\u5DE5\u5177\u8BE6\u7EC6\u914D\u7F6E"},selection:{clearSelection:"\u53D6\u6D88\u9009\u4E2D\u5185\u5BB9",page:"\u{1F310} \u7F51\u9875",clearPage:"\u53D6\u6D88\u7F51\u9875",clearMcp:"\u53D6\u6D88MCP\u670D\u52A1",skill:"\u{1F9E9} \u6280\u80FD",clearSkill:"\u53D6\u6D88\u6280\u80FD"},toolCategory:{page_interaction:"\u{1F5B1}\uFE0F \u9875\u9762\u4EA4\u4E92",form_operation:"\u{1F4DD} \u8868\u5355\u64CD\u4F5C",content_extraction:"\u{1F4C4} \u5185\u5BB9\u63D0\u53D6",tab_management:"\u{1F4D1} \u6807\u7B7E\u9875\u7BA1\u7406",bookmark_history:"\u{1F516} \u4E66\u7B7E\u5386\u53F2",storage_management:"\u{1F4BE} \u5B58\u50A8\u7BA1\u7406",network_request:"\u{1F310} \u7F51\u7EDC\u8BF7\u6C42",media_output:"\u{1F4F7} \u5A92\u4F53\u4E0E\u8F93\u51FA",debug_dev:"\u{1F527} \u8C03\u8BD5\u5F00\u53D1",ai_collaboration:"\u{1F916} AI\u534F\u4F5C",local_agent:"\u{1F5A5}\uFE0F \u4EE3\u7406",mcp:"\u{1F50C} MCP",knowledge:"\u{1F4DA} \u77E5\u8BC6\u5E93"},presetMode:{preciseLabel:"\u7CBE\u51C6\u4E25\u8C28",preciseTip:"\u6539\u9519\u3001\u8C03\u8BD5\u3001\u8981\u51C6\u786E\u7B54\u6848\uFF08\u4F4E\u968F\u673A\u6027\uFF0C\u9002\u5408\u4FEE bug\uFF09",generalLabel:"\u65E5\u5E38\u901A\u7528",generalTip:"\u591A\u6570\u573A\u666F\u90FD\u597D\u7528\uFF08\u5E73\u8861\u7A33\u5B9A\u4E0E\u7075\u6D3B\uFF0C\u9002\u5408\u5199\u811A\u672C\uFF09",divergentLabel:"\u601D\u8DEF\u53D1\u6563",divergentTip:"\u8981\u591A\u79CD\u65B9\u6848\u505A\u5BF9\u6BD4\uFF08\u9002\u5408\u91CD\u6784\u3001\u65B9\u6848\u5BF9\u6BD4\uFF09",creativeLabel:"\u521B\u610F\u8111\u66B4",creativeTip:"\u5199\u6587\u6848\u3001\u8D77\u540D\u3001\u5934\u8111\u98CE\u66B4\uFF08\u9AD8\u968F\u673A\u6027\uFF0C\u4E0D\u5EFA\u8BAE\u6B63\u5F0F\u4EE3\u7801\uFF09"},tool:{agent_file:"\u4EE3\u7406\u672C\u5730\u6587\u4EF6\u64CD\u4F5C\uFF08\u8BFB\u53D6/\u5199\u5165/\u5217\u8868/\u5220\u9664/\u4E0B\u8F7D\uFF09",agent_trash:"\u7BA1\u7406\u4EE3\u7406\u56DE\u6536\u7AD9\uFF08\u67E5\u770B/\u6062\u590D\u5DF2\u5220\u9664\u9879\uFF09",agent_exec:"\u5728\u4EE3\u7406\u673A\u5668\u4E0A\u6267\u884C Shell \u547D\u4EE4",agent_search:"\u5728\u4EE3\u7406\u673A\u5668\u4E0A\u641C\u7D22\u6587\u4EF6\u6216\u6587\u4EF6\u5185\u5BB9",agent_skill:"\u52A0\u8F7D\u6216\u8FD0\u884C Skill",manage_agent:"\u67E5\u770B\u6216\u5207\u6362\u5DF2\u914D\u5BF9\u7684 AI \u4EE3\u7406",manage_todo:"\u65B0\u589E\u3001\u67E5\u8BE2\u3001\u4FEE\u6539\u6216\u5220\u9664\u5F85\u529E",manage_schedule:"\u65B0\u589E\u3001\u67E5\u8BE2\u3001\u4FEE\u6539\u6216\u5220\u9664\u5B9A\u65F6\u4EFB\u52A1",exec_log:"\u63D0\u53D6\u6267\u884C\u65E5\u5FD7\uFF0C\u5206\u6790\u6210\u529F\u8DEF\u5F84\u4E0E\u5931\u8D25\u6559\u8BAD",clarify_question:"\u5411\u7528\u6237\u63D0\u95EE\u6F84\u6E05\uFF0C\u63D0\u4F9B\u9009\u9879\u4F9B\u9009\u62E9",plan_task:"\u5C06\u590D\u6742\u4EFB\u52A1\u89C4\u5212\u62C6\u89E3\u4E3A\u5B50\u4EFB\u52A1",search_chats:"\u641C\u7D22\u5386\u53F2\u5BF9\u8BDD\u8BB0\u5F55",preview_ui:"\u9884\u89C8\u6216\u83B7\u53D6 UI \u539F\u578B",dispatch_task:"\u5411\u5B50\u4EE3\u7406\u6D3E\u53D1\u4EFB\u52A1",take_note:"\u8BB0\u5F55\u5DE5\u4F5C\u4FBF\u7B7E\uFF0C\u8DE8\u4E0A\u4E0B\u6587\u538B\u7F29\u4FDD\u7559",interact_element:"\u70B9\u51FB\u3001\u60AC\u505C\u6216\u8F93\u5165\u9875\u9762\u5143\u7D20",scroll_to:"\u6EDA\u52A8\u9875\u9762\u5230\u76EE\u6807\u4F4D\u7F6E\uFF08\u5143\u7D20/\u5750\u6807/\u6587\u672C\uFF09",wait_element:"\u7B49\u5F85\u5143\u7D20\u51FA\u73B0/\u6D88\u5931/\u53EF\u89C1\u6027\u53D8\u5316",wait_navigation:"\u7B49\u5F85\u9875\u9762\u5BFC\u822A\u5B8C\u6210",handle_dialog:"\u5904\u7406\u9875\u9762\u5F39\u7A97\uFF08alert/confirm/prompt\uFF09",fill_form:"\u6279\u91CF\u586B\u5199\u8868\u5355\u5B57\u6BB5",keyboard_input:"\u8F93\u5165\u6587\u672C\u6216\u6309\u952E\uFF08\u53EF\u7ED5\u8FC7\u53D7\u63A7\u7EC4\u4EF6\uFF09",file_upload:"\u4E0A\u4F20\u6587\u4EF6\u5230\u9875\u9762",select_dropdown:"\u4E0B\u62C9\u6846\u9009\u62E9\uFF08\u652F\u6301\u81EA\u5B9A\u4E49\u7EC4\u4EF6\uFF09",page_content:"\u83B7\u53D6\u9875\u9762\u6587\u672C\u6216 HTML \u5185\u5BB9",extract_data:"\u63D0\u53D6\u7ED3\u6784\u5316\u6570\u636E\uFF08\u8868\u683C/\u94FE\u63A5/\u56FE\u7247/\u8868\u5355/\u5143\u4FE1\u606F\uFF09",query_elements:"\u67E5\u8BE2\u53EF\u4EA4\u4E92\u5143\u7D20\uFF0C\u8FD4\u56DE\u5FEB\u7167\u4E0E ref \u7F16\u53F7",search_in_page:"\u5728\u5F53\u524D\u9875\u9762\u4E2D\u67E5\u627E\u6587\u672C",iframe_content:"\u83B7\u53D6\u9875\u9762\u4E2D iframe \u7684\u5185\u5BB9",scroll_collect:"\u6EDA\u52A8\u52A0\u8F7D\u9875\u9762\u5185\u5BB9",read_image:"\u8BFB\u53D6\u56FE\u7247\u5185\u5BB9\uFF08\u9644\u4EF6/\u8D34\u56FE/\u672C\u5730\u6587\u4EF6\uFF09",notify:"\u663E\u793A\u6D4F\u89C8\u5668\u901A\u77E5",clipboard:"\u526A\u8D34\u677F\u64CD\u4F5C\uFF08\u590D\u5236/\u7C98\u8D34/\u83B7\u53D6\u9009\u4E2D\u6587\u672C\uFF09",download_file:"\u4E0B\u8F7D\u6587\u4EF6\u5230\u672C\u5730",qrcode:"\u751F\u6210\u4E8C\u7EF4\u7801",capture_page:"\u622A\u53D6\u9875\u9762\u622A\u56FE\uFF08\u4E0B\u8F7D/\u5206\u6790/\u4E24\u8005\uFF09",inject_css:"\u6CE8\u5165\u6837\u5F0F\u6216\u9AD8\u4EAE\u6587\u672C",agent_memory:"\u957F\u671F\u8BB0\u5FC6\u7BA1\u7406\uFF08\u5B58\u50A8/\u56DE\u5FC6/\u7EF4\u62A4\uFF09",manage_storage:"\u8BFB\u5199 localStorage / sessionStorage",manage_cookies:"\u7BA1\u7406\u6D4F\u89C8\u5668 Cookie",fetch_url:"\u5411\u6307\u5B9A URL \u53D1\u9001 HTTP GET/POST \u8BF7\u6C42",manage_tab:"\u7BA1\u7406\u6807\u7B7E\u9875\uFF08\u6253\u5F00/\u5207\u6362/\u5173\u95ED/\u5237\u65B0\uFF09",list_tabs:"\u83B7\u53D6\u5DF2\u6253\u5F00\u7684\u6807\u7B7E\u9875\u5217\u8868",search_browser_data:"\u641C\u7D22\u6D4F\u89C8\u5668\u4E66\u7B7E\u6216\u8BBF\u95EE\u5386\u53F2",debug_page:"CDP \u9AD8\u7EA7\u8C03\u8BD5\uFF08\u8F93\u5165\u3001\u6293\u5305\u3001JS\u3001\u622A\u56FE\u3001\u6A21\u62DF\uFF09",knowledge_search:"\u68C0\u7D22\u77E5\u8BC6\u5E93\u83B7\u53D6\u76F8\u5173\u5185\u5BB9\uFF08\u53EA\u8BFB\uFF09",knowledge_ingest:"\u5C06\u6587\u672C/\u672C\u5730\u6587\u4EF6/\u7F51\u9875\u5BFC\u5165\u77E5\u8BC6\u5E93\uFF08\u5199\u5165\u64CD\u4F5C\uFF09",knowledge_list:"\u5217\u51FA\u53EF\u7528\u77E5\u8BC6\u5E93\u53CA\u5176\u6587\u6863\u6570\u91CF"},react:{title:"\u2699\uFE0F \u63A8\u7406\u5FAA\u73AF\u914D\u7F6E",subtitle:"\u63A7\u5236 AI \u63A8\u7406\u5FAA\u73AF\u7684\u884C\u4E3A\u53C2\u6570\uFF08\u9AD8\u7EA7\u914D\u7F6E\uFF09",goalMode:"\u76EE\u6807\u6A21\u5F0F\uFF08Goal\uFF09",goalModeHint:"\uFF08\u6A21\u578B\u5BA3\u5E03\u5B8C\u6210\u540E\u72EC\u7ACB\u8BC4\u4F30\u662F\u5426\u771F\u8FBE\u6210\uFF0C\u672A\u8FBE\u6210\u5219\u81EA\u52A8\u7EED\u8DD1\uFF0C\u76F4\u5230\u8FBE\u6210 / \u5224\u4E3A\u4E0D\u53EF\u80FD / \u9884\u7B97\u8017\u5C3D\uFF09",goalModeDesc1:"\u542F\u7528\u540E\uFF0C\u4FA7\u8FB9\u680F\u8F93\u5165\u533A\u51FA\u73B0 \u{1F3AF} \u5F00\u5173\uFF1B\u70B9\u4EAE\u7684\u90A3\u8F6E\u4EFB\u52A1\u4F1A\u4F5C\u4E3A\u4F1A\u8BDD\u76EE\u6807\u6301\u7EED\u81EA\u52A8\u63A8\u8FDB\u3002\u8BC4\u4F30\u662F\u5F80\u5F53\u524D\u4F1A\u8BDD\u6A21\u578B\u53D1\u4E00\u6B21\u72EC\u7ACB\u77ED\u8C03\u7528\uFF08\u6E29\u5EA6 0\uFF0C\u53EA\u8F93\u51FA\u4E00\u4E2A JSON \u88C1\u51B3\uFF09\uFF0C\u4E0D\u4F1A\u5F15\u5165\u7B2C\u4E8C\u4E2A\u6A21\u578B\u3002",goalModeDesc2:"\u63A8\u8FDB\u8282\u594F\u5185\u7F6E\uFF1A\u6700\u591A 20 \u8F6E\u6536\u5C3E\u5C1D\u8BD5\uFF0C\u65F6\u95F4\u4E0A\u9650\u8DDF\u968F\u4E0A\u65B9\u300C\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\u300D\u3002\u649E\u7EBF\u540E\u76EE\u6807\u6807\u4E3A\u300C\u9884\u7B97\u8017\u5C3D\u300D\u5E76\u4FDD\u7559\u73B0\u573A\uFF0C\u70B9\u300C\u7EE7\u7EED\u300D\u518D\u7ED9 20 \u8F6E\uFF0C\u4E0D\u4F1A\u81EA\u52A8\u63A5\u8D70\u91CD\u8DD1\u3002",goalModeDesc3:"\u5173\u95ED\u540E\uFF1A\u5F15\u64CE\u4E0D\u8BC4\u4F30\u4E0D\u7EED\u8DD1\u3001\u540E\u53F0\u62D2\u7EDD\u8BBE\u5B9A\u76EE\u6807\uFF0C\u884C\u4E3A\u4E0E\u672A\u5B9E\u73B0\u76EE\u6807\u6A21\u5F0F\u65F6\u4E00\u81F4\uFF1B\u5DF2\u843D\u5E93\u7684\u76EE\u6807\u73B0\u573A\u4FDD\u7559\uFF0C\u91CD\u65B0\u5F00\u542F\u53EF\u7EE7\u7EED\u3002",goalIntent:"\u610F\u56FE\u8BC6\u522B",goalIntentHint:"\uFF08\u4ECE\u8F93\u5165\u6587\u672C\u91CC\u8BC6\u522B\u201C\u6309\u76EE\u6807\u6A21\u5F0F\u6267\u884C\u201D\uFF0C\u96F6 token\uFF09",goalIntentDesc1:"\u5F00\u542F\u540E\uFF0C\u5373\u4F7F\u6CA1\u70B9\u4EAE \u{1F3AF} \u5F00\u5173\uFF0C\u4F60\u8BF4\u201C\u6309\u76EE\u6807\u6A21\u5F0F\u4E00\u76F4\u8DD1\u4E0B\u53BB\u201D\u8FD9\u7C7B\u8BDD\u65F6\u4E5F\u4F1A\u81EA\u52A8\u5F00\u542F\u672C\u8F6E\u76EE\u6807\uFF0C\u5E76\u7ED9\u51FA\u53EF\u64A4\u9500\u63D0\u793A\u3002\u662F\u53D1\u9001\u524D\u7684\u786E\u5B9A\u6027\u6B63\u5219\u5224\u5B9A\uFF0C\u4E0D\u4EA4\u7ED9\u6A21\u578B\u81EA\u5DF1\u9009\u3002",goalIntentDesc2:"\u8BC6\u522B\u51FA\u7684\u76EE\u6807\u4E0D\u4F1A\u81EA\u52A8\u653E\u884C\u654F\u611F\u64CD\u4F5C\uFF1A\u80FD\u8D8A\u8FC7\u786E\u8BA4\u5F39\u7A97\u7684\u6388\u6743\u53EA\u80FD\u7531\u4F60\u4EB2\u624B\u70B9\u5F00\u5173\u6388\u4E88\u3002",loopTimeout:"\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6",loopTimeoutHint:"\uFF08\u6574\u4E2A\u63A8\u7406\u5FAA\u73AF\u7684\u6700\u957F\u6267\u884C\u65F6\u95F4\uFF1B\u62D6\u52A8\u6ED1\u6746\u5373\u53EF\u8C03\u6574\uFF0C\u677E\u624B\u7ACB\u5373\u751F\u6548\uFF09",loopTimeoutMinLabel:"\u6700\u5C0F: 10 \u5206\u949F",loopTimeoutMaxLabel:"\u6700\u5927: 24 \u5C0F\u65F6",loopTimeoutSaved:"\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\u5DF2\u66F4\u65B0",durationMinutes:"{n} \u5206\u949F",durationHours:"{n} \u5C0F\u65F6",durationHoursMinutes:"{hours} \u5C0F\u65F6 {minutes} \u5206\u949F",toolConfirmation:"\u654F\u611F\u64CD\u4F5C\u786E\u8BA4",toolConfirmationHint:"\uFF08\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\u65F6\uFF0C\u5F39\u7A97\u786E\u8BA4\u540E\u518D\u6267\u884C\uFF09",enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u505C\u7528",toolConfirmationDesc1:"\u542F\u7528\u540E\uFF0C\u5F53\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\uFF08\u5DE5\u5177\u8C03\u7528\u3001\u547D\u4EE4\u6267\u884C\u7B49\uFF09\u65F6\uFF0C\u4F1A\u5F39\u51FA\u786E\u8BA4\u6846\u7B49\u5F85\u7528\u6237\u786E\u8BA4\u3002",toolConfirmationDesc2:"\u5173\u95ED\u540E\uFF0C\u6240\u6709\u64CD\u4F5C\u5C06\u76F4\u63A5\u653E\u884C\u6267\u884C\uFF0C\u65E0\u9700\u786E\u8BA4\u3002",networkAccess:"\u5185\u7F51\u5730\u5740\u8BBF\u95EE",networkAccessHint:"\uFF08\u63A7\u5236 fetch_url \u8BF7\u6C42\u4E0E manage_tab \u6253\u5F00\u5185\u7F51\u9875\u9762\u7B49\u5DE5\u5177\u884C\u4E3A\u80FD\u5426\u8BBF\u95EE\u672C\u673A\u4E0E\u5185\u7F51\u5730\u5740\uFF09",networkAccessDesc1:"\u9ED8\u8BA4\u5173\u95ED\uFF1A\u5DE5\u5177\u53EA\u80FD\u8BBF\u95EE\u516C\u7F51\u5730\u5740\uFF0C127.0.0.1\u3001localhost\u3001192.168.x.x \u7B49\u672C\u673A\u4E0E\u5185\u7F51\u5730\u5740\u4F1A\u88AB\u76F4\u63A5\u62D2\u7EDD\u3002",networkAccessDesc2:"\u5F00\u542F\u540E\u4ECD\u9700\u5728\u4E0B\u65B9\u7684\u5141\u8BB8\u5217\u8868\u4E2D\u9010\u53F0\u6DFB\u52A0\u4E3B\u673A\uFF1B\u5217\u8868\u4E3A\u7A7A\u65F6\u4F9D\u7136\u62D2\u7EDD\u5168\u90E8\u5185\u7F51\u3002\u5173\u95ED\u5F00\u5173\u53EA\u662F\u6536\u8D77\u8BE5\u533A\u5757\uFF0C\u4E0D\u4F1A\u6E05\u7A7A\u5DF2\u5F55\u5165\u7684\u5217\u8868\u3002",completionVerification:"\u5B8C\u6210\u5EA6\u6821\u9A8C",completionVerificationHint:"\uFF08\u5B50\u4EFB\u52A1\u7ED3\u675F\u540E\u4F9D\u636E\u771F\u5B9E\u9875\u9762\u4E0E\u672C\u5730 Agent\uFF08\u547D\u4EE4\xB7\u6587\u4EF6\uFF09\u72EC\u7ACB\u5BA2\u89C2\u53D6\u8BC1\u6838\u9A8C\u662F\u5426\u771F\u6B63\u8FBE\u6807\uFF0C\u672A\u8FBE\u6807\u5982\u5B9E\u4E0A\u62A5\uFF09",completionVerificationDesc1:'\u542F\u7528\u540E\uFF0C\u5B50\u4EFB\u52A1\u6267\u884C\u5B8C\u6210\u65F6\u4F1A\u4F9D\u636E\u5176\u5B8C\u6210\u6807\u51C6\u72EC\u7ACB\u53D6\u8BC1\u6838\u9A8C\uFF0C\u672A\u8FBE\u6807\u7684\u9879\u76EE\u4F1A\u5982\u5B9E\u6807\u6CE8\u4E0A\u62A5\u7ED9\u6A21\u578B\uFF0C\u800C\u4E0D\u662F\u9ED8\u8BA4"\u8DD1\u5B8C\u5373\u6210\u529F"\u3002\u53D6\u8BC1\u4E0D\u9650\u4E8E\u7F51\u9875 DOM\uFF0C\u8FD8\u5305\u62EC\u7ECF\u7531\u672C\u5730 Agent \u6267\u884C\u7684\u547D\u4EE4\uFF08\u5982\u6D4B\u8BD5/\u6784\u5EFA\u7684\u9000\u51FA\u7801\uFF09\u4E0E\u6587\u4EF6\u68C0\u67E5\uFF08\u5B58\u5728/\u5185\u5BB9\uFF09\u3002\u5C5E\u5BA2\u89C2\u53D6\u8BC1\uFF08\u67E5\u73AF\u5883\u662F\u5426\u771F\u7684\u8FBE\u6210\u76EE\u6807\uFF09\uFF0C\u4E0E"AI \u81EA\u6211\u53CD\u601D"\u7684\u4E3B\u89C2\u81EA\u8BC4\u4E92\u8865\u3001\u4E0D\u91CD\u590D\u3002',completionVerificationDesc2:"\u5173\u95ED\u540E\uFF0C\u5B50\u4EFB\u52A1\u5B8C\u6210\u72B6\u6001\u4E0E\u6821\u9A8C\u524D\u9010\u5B57\u8282\u4E00\u81F4\uFF0C\u4E0D\u8FFD\u52A0\u4EFB\u4F55\u53D6\u8BC1\u4E0E\u6807\u6CE8\u3002",completionVerificationRerun:"\u5B8C\u6210\u5EA6\u81EA\u52A8\u91CD\u8DD1",completionVerificationRerunHint:"\uFF08\u5BF9\u672A\u8FBE\u6807\u4E14\u786E\u6709\u7F3A\u9879\u7684\u5B50\u4EFB\u52A1\u81EA\u52A8\u8865\u8DD1\u4E00\u8F6E\uFF0C\u53D7\u6B21\u6570\u4E0E\u9884\u7B97\u4E0A\u9650\u7EA6\u675F\uFF09",completionVerificationRerunDesc1:'\u5F00\u542F\u540E\uFF0C\u72EC\u7ACB\u53D6\u8BC1\u53D1\u73B0\u5B50\u4EFB\u52A1\u786E\u6709\u7F3A\u9879\uFF08\u672A\u8FBE\u6807\uFF09\u65F6\uFF0C\u4F1A\u628A"\u8FD8\u7F3A\u4EC0\u4E48"\u4F5C\u4E3A\u65B0\u6307\u4EE4\u8FFD\u52A0\u7ED9\u8BE5\u5B50\u4EFB\u52A1\u5E76\u518D\u8DD1\u4E00\u8F6E\uFF0C\u76F4\u5230\u8FBE\u6807\u6216\u89E6\u53CA\u5B89\u5168\u4E0A\u9650\uFF08\u7F3A\u9879\u5FC5\u987B\u9010\u8F6E\u4E25\u683C\u51CF\u5C11\u3001\u6B21\u6570\u4E0A\u9650\u3001\u65F6\u95F4/token \u9884\u7B97\u3001\u53D6\u6D88\u6216\u8D85\u65F6\u5373\u505C\uFF09\u3002\u6D4B\u8BD5/\u6784\u5EFA\u7C7B"\u5141\u8BB8\u6863"\u547D\u4EE4\u53EF\u88AB\u81EA\u52A8\u6267\u884C\u53D6\u8BC1\uFF1B\u9700\u786E\u8BA4\u6216\u88AB\u5B89\u5168\u7B56\u7565\u62D2\u7EDD\u7684\u547D\u4EE4\u7EDD\u4E0D\u5F3A\u5236\u8FD0\u884C\uFF0C\u53EA\u5224\u4E3A\u65E0\u6CD5\u53D6\u8BC1\u3002\u5F00\u542F\u6B64\u9879\u4F1A\u6267\u884C\u547D\u4EE4\u5E76\u589E\u52A0\u8017\u65F6\u4E0E token \u6D88\u8017\uFF0C\u9ED8\u8BA4\u5173\u95ED\u3002',completionVerificationRerunDesc2:'\u5173\u95ED\u65F6\uFF08\u9ED8\u8BA4\uFF09\uFF0C\u884C\u4E3A\u4E0E"\u4EC5\u6807\u6CE8\u3001\u4E0D\u91CD\u8DD1"\u9010\u5B57\u8282\u4E00\u81F4\uFF1A\u672A\u8FBE\u6807\u53EA\u5982\u5B9E\u4E0A\u62A5\uFF0C\u7EDD\u4E0D\u81EA\u52A8\u8865\u8DD1\u3002',networkAllowlistTitle:"\u5185\u7F51\u5141\u8BB8\u5217\u8868",networkAllowlistDesc:"\u652F\u6301\u4E3B\u673A\u540D\u3001IP \u4E0E *.example.com \u5B50\u57DF\u901A\u914D\uFF08\u4E0D\u586B\u534F\u8BAE\u4E0E\u7AEF\u53E3\uFF09\uFF1B\u53EA\u6709\u5217\u5728\u8FD9\u91CC\u7684\u5185\u7F51\u4E3B\u673A\u624D\u4F1A\u88AB\u653E\u884C\u3002",networkHostAddPlaceholder:"\u4F8B\u5982\uFF1A127.0.0.1 \u6216 intranet.example.com",networkHostAdd:"\u6DFB\u52A0",networkHostRemove:"\u79FB\u9664",networkAllowlistEmpty:"\u6682\u65E0\u5141\u8BB8\u7684\u4E3B\u673A\u3002\u5F00\u542F\u603B\u5F00\u5173\u540E\uFF0C\u5185\u7F51\u76EE\u6807\u4ECD\u9700\u547D\u4E2D\u6B64\u5217\u8868\u624D\u4F1A\u88AB\u8BBF\u95EE\u3002",networkHostEmpty:"\u8BF7\u8F93\u5165\u8981\u5141\u8BB8\u7684\u4E3B\u673A\u540D\u6216 IP",networkHostInvalid:"\u6761\u76EE\u4E0D\u80FD\u5305\u542B\u7A7A\u683C\uFF0C\u8BF7\u53EA\u586B\u5199\u4E3B\u673A\u540D\u6216 IP",networkHostExists:"\u8BE5\u4E3B\u673A\u5DF2\u5728\u5141\u8BB8\u5217\u8868\u4E2D",enableExecutionLog:"\u542F\u7528\u6267\u884C\u65E5\u5FD7",enableExecutionLogHint:"\uFF08\u663E\u793A API \u8C03\u7528\u548C\u5DE5\u5177\u6267\u884C\u7684\u8BE6\u7EC6\u65E5\u5FD7\uFF0C\u5E2E\u52A9\u8C03\u8BD5\u548C\u7406\u89E3 AI \u601D\u8003\u8FC7\u7A0B\uFF09",enableExecutionLogDesc1:'\u542F\u7528\u540E\uFF0C\u6D88\u606F\u5E95\u90E8\u4F1A\u663E\u793A"\u6267\u884C\u65E5\u5FD7"\u6309\u94AE\uFF0C\u70B9\u51FB\u53EF\u67E5\u770B API \u8C03\u7528\u548C\u5DE5\u5177\u6267\u884C\u7684\u8BE6\u7EC6\u8FC7\u7A0B\u3002',enableExecutionLogDesc2:"\u5173\u95ED\u540E\uFF0C\u6D88\u606F\u5E95\u90E8\u4E0D\u518D\u663E\u793A\u8BE5\u6309\u94AE\u3002",streaming:"\u6D41\u5F0F\u8F93\u51FA",streamingHint:"\uFF08\u5F00\u542F\u540E AI \u56DE\u590D\u4F1A\u5B9E\u65F6\u9010\u5B57\u663E\u793A\uFF0C\u63D0\u4F9B\u66F4\u5FEB\u7684\u53CD\u9988\u611F\u77E5\uFF09",streamingDesc1:"\u5F00\u542F\u540E AI \u56DE\u590D\u4F1A\u5B9E\u65F6\u9010\u5B57\u663E\u793A\uFF0C\u4EE3\u7406\u7AEF\u547D\u4EE4\u6267\u884C\u65F6\u4E5F\u4F1A\u5B9E\u65F6\u8F93\u51FA\uFF0C\u63D0\u4F9B\u66F4\u5FEB\u7684\u53CD\u9988\u611F\u77E5\u3002",streamingDesc2:"\u5982\u679C\u9047\u5230\u517C\u5BB9\u6027\u95EE\u9898\uFF0C\u53EF\u5173\u95ED\u6B64\u5F00\u5173\u56DE\u9000\u5230\u4E00\u6B21\u6027\u8F93\u51FA\u6A21\u5F0F\u3002",streamExpandTools:"\u6D41\u5F0F\u5DE5\u5177\u5361\u7247\u9ED8\u8BA4\u5C55\u5F00",streamExpandToolsHint:"\uFF08\u5173\u95ED\u5219\u5DE5\u5177\u5361\u7247\u9ED8\u8BA4\u6298\u53E0\uFF0C\u4EC5\u663E\u793A\u6807\u9898\u4E0E\u72B6\u6001\uFF0C\u70B9\u51FB\u53EF\u5C55\u5F00\u8BE6\u60C5\uFF09",configGuide:"\u{1F4A1} \u914D\u7F6E\u8BF4\u660E",guideReasoningLoop:"\u63A8\u7406\u5FAA\u73AF",guideReasoningLoopDesc:"\u662F AI \u52A9\u624B\u8FDB\u884C\u591A\u6B65\u63A8\u7406\u548C\u5DE5\u5177\u8C03\u7528\u7684\u6838\u5FC3\u673A\u5236\u3002",guideLoopCount:"\u5FAA\u73AF\u6B21\u6570",guideLoopCountDesc:"\uFF1A\u51B3\u5B9A AI \u53EF\u4EE5\u8FDB\u884C\u591A\u5C11\u8F6E\u63A8\u7406-\u884C\u52A8\u5FAA\u73AF",guideTimeout:"\u8D85\u65F6\u8BBE\u7F6E",guideTimeoutDesc:"\uFF1AAPI \u8BF7\u6C42 / \u6574\u4F53\u5FAA\u73AF / \u5DE5\u5177\u6267\u884C\u4E09\u9879\u8D85\u65F6\uFF0C\u9632\u6B62\u957F\u65F6\u95F4\u7B49\u5F85\u6216\u65E0\u9650\u5FAA\u73AF",guideToolConfirm:"\u654F\u611F\u64CD\u4F5C\u786E\u8BA4",guideToolConfirmDesc:"\uFF1A\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\u524D\u5F39\u7A97\u7B49\u5F85\u4F60\u786E\u8BA4\uFF0C\u9632\u6B62\u8BEF\u64CD\u4F5C",guideClarifyWait:"\u6F84\u6E05\u7B49\u5F85",guideClarifyWaitDesc:"\uFF1A\u7528\u6237\u6F84\u6E05\u65F6\u95F4\u4E0D\u8BA1\u5165\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\uFF08\u81EA\u52A8\u6682\u505C\u8BA1\u65F6\uFF0C\u975E\u914D\u7F6E\u9879\uFF09",guideTip:"\u2022 \u5EFA\u8BAE\u6839\u636E\u7F51\u7EDC\u72B6\u51B5\u548C\u4EFB\u52A1\u590D\u6742\u5EA6\u8C03\u6574\u8FD9\u4E9B\u53C2\u6570"},reflection:{title:"AI \u81EA\u6211\u53CD\u601D",enabled:"\u5DF2\u542F\u7528",subtitle:"\u63A7\u5236 AI \u5BF9\u4EFB\u52A1\u6267\u884C\u7ED3\u679C\u7684\u81EA\u6211\u8BC4\u4F30\u548C\u4FEE\u8BA2\u884C\u4E3A",subtitleHint:'\uFF08\u63A7\u5236 AI \u5BF9\u7B54\u6848\u8D28\u91CF\u7684\u81EA\u6211\u8BC4\u4F30\u548C\u4FEE\u8BA2\u884C\u4E3A\u2014\u2014\u5C5E\u4E3B\u89C2\u81EA\u8BC4\uFF0C\u4E0E"\u5B8C\u6210\u5EA6\u6821\u9A8C"\u7684\u5BA2\u89C2\u53D6\u8BC1\u4E92\u8865\uFF09',desc1:"\u542F\u7528\u540E\uFF0CAI \u4F1A\u5728\u63A8\u7406\u5FAA\u73AF\u7ED3\u675F\u540E\u5BF9\u7ED3\u679C\u81EA\u6211\u8BC4\u4F30\uFF0C\u8BC4\u5206\u4F4E\u4E8E\u9608\u503C\u65F6\u81EA\u52A8\u4FEE\u8BA2\u6216\u91CD\u65B0\u6267\u884C\u3002\u5C24\u5176\u9002\u5408\u65E0\u5BA2\u89C2\u5224\u636E\u7684\u5F00\u653E\u5F0F\u4EFB\u52A1\uFF08\u95EE\u7B54/\u5199\u4F5C/\u5206\u6790\uFF09\u2014\u2014\u8FD9\u7C7B\u4EFB\u52A1\u5B8C\u6210\u5EA6\u6821\u9A8C\u4E0D\u4F1A\u4ECB\u5165\u3002",desc2:"\u5173\u95ED\u540E\u6536\u8D77\u4E0B\u65B9\u4E8C\u7EA7\u5F00\u5173\uFF1B\u542F\u7528\u53CD\u601D\u4F1A\u589E\u52A0 API \u8C03\u7528\u6B21\u6570\uFF0C\u5EFA\u8BAE\u6309\u9700\u6743\u8861\u3002",postReflection:"\u540E\u7F6E\u53CD\u601D",postReflectionHint:"\uFF08\u5B8C\u6210\u540E\u8BC4\u4F30\u7ED3\u679C\u8D28\u91CF\uFF09",subtaskReflection:"\u5B50\u4EFB\u52A1\u53CD\u601D",subtaskReflectionHint:"\uFF08\u9AD8\u7EA7\u529F\u80FD\uFF0C\u9ED8\u8BA4\u5173\u95ED\uFF09",configGuide:"\u{1F4A1} \u53CD\u601D\u914D\u7F6E\u8BF4\u660E",guidePostReflection:"\u540E\u7F6E\u53CD\u601D",guidePostReflectionDesc:"\uFF1A\u5728\u63A8\u7406\u5FAA\u73AF\u7ED3\u675F\u540E\uFF0CAI \u4F1A\u5BF9\u6700\u7EC8\u7ED3\u679C\u8FDB\u884C\u81EA\u6211\u8BC4\u4F30\u3002\u5982\u679C\u8BC4\u5206\u4F4E\u4E8E\u9608\u503C\uFF0C\u4F1A\u81EA\u52A8\u4FEE\u8BA2\u6216\u91CD\u65B0\u6267\u884C\u3002",guideSubtaskReflection:"\u5B50\u4EFB\u52A1\u53CD\u601D",guideSubtaskReflectionDesc:"\uFF1A\u5BF9\u4E8E\u590D\u6742\u4EFB\u52A1\u62C6\u89E3\u540E\u7684\u5B50\u4EFB\u52A1\u8FDB\u884C\u5355\u72EC\u8BC4\u4F30\uFF0C\u9ED8\u8BA4\u5173\u95ED\uFF08\u9AD8\u7EA7\u529F\u80FD\uFF09\u3002",guideTip:"\u2022 \u542F\u7528\u53CD\u601D\u4F1A\u589E\u52A0 API \u8C03\u7528\u6B21\u6570\uFF0C\u5EFA\u8BAE\u6839\u636E\u9700\u6C42\u6743\u8861"},toolbar:{title:"\u{1F527} \u5DE5\u5177\u680F\u8BBE\u7F6E",enabled:"\u5DF2\u542F\u7528",subtitle:"\u7BA1\u7406\u5212\u8BCD\u5DE5\u5177\u680F\u7684\u6309\u94AE\u548C\u987A\u5E8F",iconOnly:"\u5DE5\u5177\u680F\u56FE\u6807\u7CBE\u7B80\u6A21\u5F0F\uFF08\u4EC5\u663E\u793A\u56FE\u6807\uFF0C\u4E0D\u663E\u793A\u6587\u5B57\uFF09",includeContext:"\u5212\u8BCD\u56DE\u7B54\u65F6\u7ED3\u5408\u7F51\u9875\u4E0A\u4E0B\u6587\uFF08\u53C2\u8003\u9009\u4E2D\u5185\u5BB9\u6240\u5728\u6BB5\u843D\u53CA\u9875\u9762\u4FE1\u606F\uFF09",addCustomTool:"\uFF0B \u6DFB\u52A0\u81EA\u5B9A\u4E49\u5DE5\u5177",domainBlocklistTitle:"\u57DF\u540D\u5C4F\u853D",domainBlocklistDesc:"\u5728\u6B64\u6DFB\u52A0\u9700\u8981\u5C4F\u853D\u5DE5\u5177\u680F\u7684\u57DF\u540D\uFF0C\u5C4F\u853D\u540E\u8BE5\u57DF\u540D\u4E0B\u4E0D\u518D\u663E\u793A\u5212\u8BCD\u5DE5\u5177\u680F",domainAddPlaceholder:"\u4F8B\u5982\uFF1Aexample.com\uFF08\u4E0D\u542B http/https\uFF09",add:"\u6DFB\u52A0",toolEditModalTitle:"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u5DE5\u5177",toolName:"\u5DE5\u5177\u540D\u79F0",toolNamePlaceholder:"\u4F8B\u5982\uFF1A\u6DA6\u8272\u3001\u6539\u5199\u3001\u4EE3\u7801\u5BA1\u67E5",systemPromptLabel:"\u7CFB\u7EDF\u63D0\u793A\u8BCD",systemPromptHint:"\uFF08\u5B9A\u4E49\u8BE5\u5DE5\u5177\u7684\u884C\u4E3A\uFF09",toolPromptPlaceholder:"\u4F8B\u5982\uFF1A\u4F60\u662F\u4E00\u4E2A\u6587\u672C\u6DA6\u8272\u52A9\u624B\uFF0C\u8BF7\u5C06\u7528\u6237\u8F93\u5165\u7684\u5185\u5BB9\u6DA6\u8272\u5F97\u66F4\u6D41\u7545\u3001\u66F4\u4E13\u4E1A\u3002",builtinBadge:"\u5185\u7F6E",customBadge:"\u81EA\u5B9A\u4E49",moveUp:"\u4E0A\u79FB",moveDown:"\u4E0B\u79FB",dragSort:"\u62D6\u62FD\u6392\u5E8F",editCustomToolTitle:"\u7F16\u8F91\u81EA\u5B9A\u4E49\u5DE5\u5177",toolNameEmpty:"\u5DE5\u5177\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",toolPromptEmpty:"\u7CFB\u7EDF\u63D0\u793A\u8BCD\u4E0D\u80FD\u4E3A\u7A7A",toolNotFound:"\u672A\u627E\u5230\u8BE5\u5DE5\u5177",cannotEditBuiltin:"\u4E0D\u80FD\u7F16\u8F91\u5185\u7F6E\u5DE5\u5177",noBlockedDomains:"\u6682\u65E0\u5C4F\u853D\u57DF\u540D\uFF0C\u5728\u4E0A\u65B9\u8F93\u5165\u57DF\u540D\u6DFB\u52A0",unblock:"\u53D6\u6D88\u5C4F\u853D",domainEmpty:"\u57DF\u540D\u4E0D\u80FD\u4E3A\u7A7A",domainInvalid:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u57DF\u540D\uFF0C\u4F8B\u5982 example.com",domainExists:"\u8BE5\u57DF\u540D\u5DF2\u5B58\u5728"},agentConfig:{title:"\u{1F5A5}\uFE0F \u4EE3\u7406\u914D\u7F6E",subtitle:"\u8FDE\u63A5\u4EE3\u7406\u670D\u52A1\uFF0C\u5B9E\u73B0\u6587\u4EF6\u8BFB\u5199\u3001\u7CFB\u7EDF\u547D\u4EE4\u6267\u884C\u3001\u5BF9\u8BDD\u8BB0\u5FC6\u7BA1\u7406\u3001Skill \u5DE5\u4F5C\u6D41\u53CA MCP \u534F\u8BAE\u6269\u5C55\u7B49\u9AD8\u7EA7\u80FD\u529B\u3002\u652F\u6301\u914D\u7F6E\u5E76\u5339\u914D\u591A\u4E2A\u4EE3\u7406\uFF0C\u4E00\u952E\u8FDE\u63A5\u3002",pairedAgents:"\u5DF2\u914D\u5BF9\u4EE3\u7406",notConnected:"\u672A\u8FDE\u63A5",detailToggle:"\u25B6 \u8BE6\u7EC6\u4FE1\u606F",addAgentTitle:"\u6DFB\u52A0\u65B0\u4EE3\u7406",agentName:"\u4EE3\u7406\u540D\u79F0",agentNameHint:"\uFF08\u81EA\u5B9A\u4E49\uFF0C\u7559\u7A7A\u5219\u81EA\u52A8\u83B7\u53D6\uFF09",agentNamePlaceholder:"\u4F8B\u5982\uFF1A\u529E\u516C\u5BA4 Mac",agentUrl:"\u4EE3\u7406\u5730\u5740",agentUrlHint:"\uFF08\u4EE3\u7406\u670D\u52A1\u7684 HTTP \u5730\u5740\uFF09",pairCode:"\u914D\u5BF9\u7801",pairCodeHint:"\uFF08\u5728 Agent \u7EC8\u7AEF\u7A97\u53E3\u4E2D\u67E5\u770B\uFF09",pairCodePlaceholder:"6\u4F4D\u914D\u5BF9\u7801",connect:"\u8FDE\u63A5",toolCount:"{count} \u4E2A\u5DE5\u5177",selectedTotalCount:"(\u5DF2\u9009 {selected} / \u5171 {total})",toggleCategoryAll:"\u70B9\u51FB\u5207\u6362\u8BE5\u5206\u7C7B\u5168\u9009/\u53D6\u6D88\u5168\u9009",useInstructionTitle:"\u{1F4A1} \u4F7F\u7528\u8BF4\u660E\u53CA\u5B89\u5168\u63D0\u793A",installGuideTitle:"\u{1F4E5} \u5B89\u88C5\u4EE3\u7406\u7AEF v{version}\uFF08\u4E0E\u5F53\u524D\u63D2\u4EF6\u7248\u672C\u5339\u914D\uFF09",installGuideHint:"\u590D\u5236\u4E0B\u65B9\u547D\u4EE4\u7C98\u8D34\u5230\u7EC8\u7AEF\u6267\u884C\uFF0C\u5C06\u5B89\u88C5\u4E0E\u5F53\u524D\u63D2\u4EF6\u7248\u672C\u4E00\u81F4\u7684\u4EE3\u7406\u7AEF\uFF0C\u907F\u514D\u7248\u672C\u4E0D\u5339\u914D\u5BFC\u81F4\u65E0\u6CD5\u8FDE\u63A5\u3002",installGuideMacLinux:"macOS / Linux",copyCmd:"\u590D\u5236",copyCmdAuto:"\u4E00\u952E\u590D\u5236\uFF08\u6309\u5F53\u524D\u7CFB\u7EDF\uFF09",copyCmdSuccess:"\u5B89\u88C5\u547D\u4EE4\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyCmdFailed:"\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u9009\u4E2D\u547D\u4EE4\u590D\u5236",method1:"\u65B9\u5F0F\u4E00\uFF1ANPM \u5168\u5C40\u5B89\u88C5\uFF08\u63A8\u8350\uFF09",method1Step1:"\uFF08\u8981\u6C42 Node.js \u2265 18\uFF09",method1Step2:" \u6216\u7B80\u5199 ",method1Step3:'3. \u7EC8\u7AEF\u663E\u793A 6 \u4F4D\u914D\u5BF9\u7801\uFF0C\u5728\u6B64\u9875\u9762\u586B\u5165\u5E76\u70B9\u51FB"\u8FDE\u63A5"',method2:"\u65B9\u5F0F\u4E8C\uFF1A\u672C\u5730\u6E90\u7801\u8FD0\u884C\uFF08\u5F00\u53D1\u8C03\u8BD5\uFF09",method2Step2:'2. \u7EC8\u7AEF\u663E\u793A 6 \u4F4D\u914D\u5BF9\u7801\uFF0C\u5728\u6B64\u9875\u9762\u586B\u5165\u5E76\u70B9\u51FB"\u8FDE\u63A5"',cmdAlias:"\u547D\u4EE4\u522B\u540D",cmdAliasPrefix:" \u53EF\u7B80\u5199\u4E3A ",cmdAliasSuffix:"\uFF0C\u6240\u6709\u547D\u4EE4\u5747\u652F\u6301",bgRun:"\u540E\u53F0\u8FD0\u884C\uFF1A",bgRunMethod1:"\u3000\u65B9\u5F0F\u4E00\uFF1A",bgRunMethod1Mid:" \u6216 ",bgRunMethod2:"\u3000\u65B9\u5F0F\u4E8C\uFF1A",moreCmd:"\u66F4\u591A\u547D\u4EE4\uFF1A",moreCmdMid:" \u6216 ",securityTitle:"\u26A0\uFE0F \u5B89\u5168\u63D0\u793A",security1:"\u4EE3\u7406\u670D\u52A1\u9ED8\u8BA4\u4EC5\u76D1\u542C\u672C\u673A\u5730\u5740\uFF08127.0.0.1\uFF09\uFF0C\u5982\u9700\u8FDC\u7A0B\u8FDE\u63A5\u8BF7\u4FEE\u6539\u542F\u52A8\u53C2\u6570\u3002",security2:"\u6587\u4EF6\u64CD\u4F5C\u9650\u5236\u5728\u5DE5\u4F5C\u76EE\u5F55\u548C\u767D\u540D\u5355\u5141\u8BB8\u76EE\u5F55\u5185\uFF0C\u4E0D\u53EF\u8D8A\u6743\u8BBF\u95EE\u3002",security3:"\u9AD8\u5371\u547D\u4EE4\u81EA\u52A8\u62E6\u622A\uFF0C\u654F\u611F\u547D\u4EE4\u652F\u6301\u914D\u7F6E\u5316\u786E\u8BA4\u653E\u884C\u3002",addAnotherAgent:"\u518D\u6DFB\u52A0\u4E00\u4E2A\u4EE3\u7406",checking:"\u68C0\u6D4B\u4E2D",connected:"\u5DF2\u8FDE\u63A5",online:"\u5728\u7EBF",offline:"\u79BB\u7EBF",clickToEditName:"\u70B9\u51FB\u7F16\u8F91\u540D\u79F0",currentInUse:"\u5F53\u524D\u4F7F\u7528 \xB7 ",enable:"\u542F\u7528",disable:"\u505C\u7528",disconnect:"\u65AD\u5F00",connectedTo:"\u5DF2\u8FDE\u63A5\u5230: {name}",confirmDeleteAgent:`\u786E\u5B9A\u8981\u5220\u9664\u4EE3\u7406 "{name}" ({url}) \u5417\uFF1F
10
+ \u5173\u95ED\u540E\uFF0C\u6240\u6709\u64CD\u4F5C\u5C06\u76F4\u63A5\u653E\u884C\u6267\u884C\uFF0C\u65E0\u9700\u786E\u8BA4\u3002`,clearSearch:"\u6E05\u9664\u641C\u7D22",configBtnTitle:"\u70B9\u51FB\u6253\u5F00\u5DE5\u5177\u8BE6\u7EC6\u914D\u7F6E"},toolStats:{title:"\u{1F4CA} \u5DE5\u5177\u4F7F\u7528\u7EDF\u8BA1",subtitle:"\u5404\u5DE5\u5177\u8C03\u7528\u9891\u7387\u3001\u6210\u529F\u7387\u3001\u5E73\u5747\u8017\u65F6",usedTools:"\u5DF2\u4F7F\u7528\u5DE5\u5177",calls:"\u8C03\u7528",success:"\u6210\u529F",successRate:"\u6210\u529F\u7387",avgDuration:"\u5E73\u5747\u8017\u65F6",unusedTools:"\u672A\u4F7F\u7528\u5DE5\u5177",noData:"\u6682\u65E0\u7EDF\u8BA1\u6570\u636E",btnTitle:"\u5DE5\u5177\u4F7F\u7528\u7EDF\u8BA1",clearTitle:"\u6E05\u7A7A\u7EDF\u8BA1"},tokenStatsPanel:{title:"\u{1FA99} Token \u4F7F\u7528\u7EDF\u8BA1",subtitle:"\u5355\u6B21\u95EE\u7B54 ReAct \u4F1A\u8BDD\u7EF4\u5EA6 & \u603B\u4F53\u7EF4\u5EA6",currentSession:"\u5F53\u524D\u4F1A\u8BDD",globalStats:"\u5168\u5C40\u7EDF\u8BA1",recentCalls:"\u8FD1\u671F\u8C03\u7528",noData:"\u6682\u65E0\u7EDF\u8BA1\u6570\u636E",tabTrend:"\u8D8B\u52BF",tabDistribution:"\u5206\u5E03",tabGlobal:"\u5168\u5C40",timeRangeToday:"\u4ECA\u65E5",timeRangeWeek:"\u672C\u5468",timeRangeMonth:"\u672C\u6708",timeRangeAll:"\u5168\u90E8",globalSparklineTitle:"\u6700\u8FD1 30 \u5929\u8D8B\u52BF"},customConfirm:{defaultTitle:"\u786E\u8BA4\u64CD\u4F5C"},promptDialog:{title:"\u63D0\u793A"},promptManager:{title:"\u63D0\u793A\u8BCD\u7BA1\u7406",codePlaceholder:"\u7F16\u7801\uFF08\u5982: code\uFF09",contentPlaceholder:"\u63D0\u793A\u8BCD\u5185\u5BB9",addPrompt:"\u6DFB\u52A0\u63D0\u793A\u8BCD"},clarify:{title:"\u9700\u8981\u60A8\u7684\u6F84\u6E05",selectOption:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u9009\u9879",inputPlaceholder:"\u8BF7\u8F93\u5165\u8865\u5145\u4FE1\u606F\uFF08\u53EF\u9009\uFF09...",customPlaceholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u81EA\u5B9A\u4E49\u5185\u5BB9...",additionalTitle:"\u8865\u5145\u8BF4\u660E\uFF08\u53EF\u9009\uFF09",additionalHint:"\u5982\u679C\u60A8\u6709\u66F4\u591A\u76F8\u5173\u4FE1\u606F\uFF0C\u53EF\u4EE5\u5728\u6B64\u8865\u5145\u8BF4\u660E",remainingTime:"\u5269\u4F59\u65F6\u95F4: 3:00"},prototype:{previewTitle:"UI \u539F\u578B\u9884\u89C8",continueOptimize:"\u{1F4A1} \u7EE7\u7EED\u4F18\u5316",libraryTitle:"\u{1F3A8} \u539F\u578B\u9875\u9762\u5E93",searchPlaceholder:"\u641C\u7D22\u539F\u578B...",sortTimeNew:"\u65F6\u95F4 (\u65B0\u2192\u65E7)",sortTimeOld:"\u65F6\u95F4 (\u65E7\u2192\u65B0)",sortTitleAz:"\u6807\u9898 (A\u2192Z)",sortTitleZa:"\u6807\u9898 (Z\u2192A)",empty:"\u6682\u65E0\u539F\u578B",zoomOut:"\u7F29\u5C0F (Ctrl+\u6EDA\u8F6E)",zoomReset:"\u70B9\u51FB\u91CD\u7F6E",resetZoom:"\u70B9\u51FB\u91CD\u7F6E",zoomIn:"\u653E\u5927 (Ctrl+\u6EDA\u8F6E)",download:"\u4E0B\u8F7D",openInTab:"\u65B0\u6807\u7B7E\u9875\u6253\u5F00",openInNewTab:"\u65B0\u6807\u7B7E\u9875\u6253\u5F00",openLocal:"\u672C\u5730\u6D4F\u89C8\u5668\u6253\u5F00"},shortcuts:{title:"\u2328\uFE0F \u5FEB\u6377\u952E",sendMessage:"\u53D1\u9001\u6D88\u606F",newLine:"\u6362\u884C",inputHistory:"\u8F93\u5165\u5386\u53F2\uFF08\u8F93\u5165\u6846\u5185\uFF09",editQueueTail:"\u7F16\u8F91\u961F\u5C3E\u6392\u961F\u4EFB\u52A1\uFF08\u8F93\u5165\u6846\u4E3A\u7A7A\u65F6\uFF09",injectAdHoc:"\u63D2\u5165\u5230\u6B63\u5728\u6267\u884C\u7684\u4EFB\u52A1\uFF08\u4E0D\u5165\u961F\uFF09",stopAndSend:"\u505C\u6B62\u5F53\u524D\u4EFB\u52A1\u5E76\u7ACB\u5373\u6267\u884C\u961F\u5217\uFF08\u53F3\u952E / \u957F\u6309\u505C\u6B62\uFF09",clearInput:"\u6E05\u7A7A\u8F93\u5165\u6846",voiceInput:"\u8BED\u97F3\u8F93\u5165\uFF08\u5F00\u59CB / \u7ED3\u675F\uFF09",cancelVoiceInput:"\u53D6\u6D88\u5F55\u97F3\uFF08\u5F55\u97F3\u4E2D\u4F18\u5148\uFF09",keyColumn:"\u5FEB\u6377\u952E",functionColumn:"\u529F\u80FD",platformColumn:"\u5E73\u53F0",platformWinMac:"Win / Mac",colShortcut:"\u5FEB\u6377\u952E",colFunction:"\u529F\u80FD",colPlatform:"\u5E73\u53F0",gotoPrev:"\u8DF3\u8F6C\u5230\u4E0A\u4E00\u4E2A\u95EE\u9898",gotoNext:"\u8DF3\u8F6C\u5230\u4E0B\u4E00\u4E2A\u95EE\u9898",scrollTop:"\u56DE\u5230\u5BF9\u8BDD\u9876\u90E8",scrollBottom:"\u8DF3\u5230\u5BF9\u8BDD\u5E95\u90E8",navOpenByTab:"\u805A\u7126\u5DE6\u4FA7\u628A\u624B\u5E76\u5C55\u5F00\u95EE\u9898\u5217\u8868",navListArrows:"\u5728\u95EE\u9898\u5217\u8868\u6761\u76EE\u95F4\u79FB\u52A8\uFF08Enter \u8DF3\u8F6C\uFF09",navPinToggle:"\u9489\u4F4F / \u53D6\u6D88\u9489\u4F4F\u95EE\u9898\u5217\u8868",navEscCollapse:"\u6536\u8D77\u95EE\u9898\u5217\u8868 / \u53D6\u6D88\u9489\u4F4F\uFF08\u6709\u641C\u7D22\u8BCD\u65F6\u5148\u6E05\u7A7A\uFF09",fullScreenshot:"\u5168\u9875\u9762\u622A\u56FE",areaScreenshot:"\u533A\u57DF\u622A\u56FE",regionScreenshot:"\u533A\u57DF\u622A\u56FE",toggleToolConfig:"\u6253\u5F00/\u5173\u95ED\u5DE5\u5177\u914D\u7F6E",openShortcutsPanel:"\u6253\u5F00\u5FEB\u6377\u952E\u9762\u677F",openShortcutPanel:"\u6253\u5F00\u5FEB\u6377\u952E\u9762\u677F",newSession:"\u65B0\u5EFA\u4F1A\u8BDD",closeSession:"\u5173\u95ED\u5F53\u524D\u4F1A\u8BDD",closeCurrentSession:"\u5173\u95ED\u5F53\u524D\u4F1A\u8BDD",editLastMessage:"\u7F16\u8F91\u6700\u8FD1\u4E00\u6761\u7528\u6237\u6D88\u606F",messageFullscreen:"\u5168\u5C4F\u67E5\u770B / \u9000\u51FA\u67E5\u770B\u56DE\u7B54",todoToggle:"\u5F00\u5173\u5F85\u529E\u9762\u677F",todoAdd:"\u805A\u7126\u5F85\u529E\u6DFB\u52A0\u6846",todoSelect:"\u5728\u5F85\u529E\u6761\u76EE\u95F4\u79FB\u52A8\uFF08\u9762\u677F\u5185\uFF09",todoNote:"\u7ED9\u9009\u4E2D\u7684\u5F85\u529E\u52A0\u5907\u6CE8",todoLink:"\u7ED9\u9009\u4E2D\u7684\u5F85\u529E\u52A0\u94FE\u63A5",todoDone:"\u6807\u8BB0\u5B8C\u6210 / \u9000\u56DE\u5F85\u529E",todoPriority:"\u5FAA\u73AF\u5207\u6362\u4F18\u5148\u7EA7"},versionInfo:{title:"\u2139\uFE0F \u7248\u672C\u4FE1\u606F",version:"\u7248\u672C\u53F7",tag:"Git Tag",commit:"Git \u63D0\u4EA4",publishedAt:"\u53D1\u5E03\u65F6\u95F4",website:"\u5B98\u7F51",discussions:"\u8BA8\u8BBA\u9891\u9053",reportIssue:"\u4E0A\u62A5\u95EE\u9898",githubRepo:"GitHub \u4ED3\u5E93",giteeRepo:"Gitee \u4ED3\u5E93",copy:"\u590D\u5236\u4FE1\u606F"},imageEditor:{editImage:"\u7F16\u8F91\u56FE\u7247",brush:"\u753B\u7B14 (B)",rect:"\u77E9\u5F62 (R)",ellipse:"\u692D\u5706 (E)",arrow:"\u7BAD\u5934 (A)",line:"\u76F4\u7EBF (L)",undo:"\u64A4\u9500 (Ctrl+Z)",confirm:"\u786E\u8BA4 (Enter)",cancel:"\u53D6\u6D88 (Esc)",downloadImage:"\u4E0B\u8F7D\u56FE\u7247",prev:"\u4E0A\u4E00\u5F20",next:"\u4E0B\u4E00\u5F20",prevImage:"\u4E0A\u4E00\u5F20",nextImage:"\u4E0B\u4E00\u5F20",brushSize:"\u753B\u7B14\u7C97\u7EC6",eraser:"\u6A61\u76AE\u64E6"},chatExport:{selectCurrentOnly:"\u4EC5\u9009\u5F53\u524D",selectedCount:"\u5DF2\u9009 {count} \u4E2A",exportSelected:"\u5BFC\u51FA\u9009\u4E2D",title:"\u5BFC\u51FA\u4F1A\u8BDD",exportSessions:"\u5BFC\u51FA\u4F1A\u8BDD"},agentEditor:{createNew:"\u521B\u5EFA\u65B0\u52A9\u624B",namePlaceholder:"\u52A9\u624B\u540D\u79F0",icon:"\u56FE\u6807",descPlaceholder:"\u8FD9\u4E2A\u52A9\u624B\u64C5\u957F\u4EC0\u4E48\uFF1F",templateQuickCreate:"\u6A21\u677F\u5FEB\u901F\u521B\u5EFA",promptPlaceholder:"\u4F60\u662F\u4E00\u4E2A\u4E13\u4E1A\u7684...",availableTools:"\u53EF\u7528\u5DE5\u5177",availableSkills:"\u53EF\u7528\u6280\u80FD",modelSettings:"\u6A21\u578B\u8BBE\u7F6E\uFF08\u7559\u7A7A\u5219\u4F7F\u7528\u5168\u5C40\u8BBE\u7F6E\uFF09",modelPlaceholder:"\u9009\u62E9\u6216\u8F93\u5165\u6A21\u578B\u540D\u79F0",allowSubAgent:"\u5141\u8BB8\u4F5C\u4E3A\u5B50\u52A9\u624B\u88AB\u8C03\u5EA6",name:"\u540D\u79F0",desc:"\u7B80\u77ED\u63CF\u8FF0",nameLabel:"\u540D\u79F0",descLabel:"\u7B80\u77ED\u63CF\u8FF0",selectTemplate:"-- \u9009\u62E9\u6A21\u677F\uFF08\u53EF\u9009\uFF09 --",systemPrompt:"\u7CFB\u7EDF\u63D0\u793A\u8BCD\uFF08\u5B9A\u4E49\u52A9\u624B\u7684\u89D2\u8272\u548C\u80FD\u529B\uFF09",inheritGlobalToolsHint:"\uFF08\u4E0D\u52FE\u9009\u5219\u7EE7\u627F\u5168\u5C40\u5DE5\u5177\u8BBE\u7F6E\uFF09",inheritGlobalSkillsHint:"\uFF08\u4E0D\u52FE\u9009\u5219\u4F7F\u7528\u5168\u90E8\u542F\u7528\u6280\u80FD\uFF09",toolsInheritGlobal:"\uFF08\u4E0D\u52FE\u9009\u5219\u7EE7\u627F\u5168\u5C40\u5DE5\u5177\u8BBE\u7F6E\uFF09",skillsInheritAll:"\uFF08\u4E0D\u52FE\u9009\u5219\u4F7F\u7528\u5168\u90E8\u542F\u7528\u6280\u80FD\uFF09",noSetting:"\u4E0D\u8BBE\u7F6E\uFF08\u4F7F\u7528\u5168\u5C40\uFF09",noPreset:"\u4E0D\u8BBE\u7F6E\uFF08\u4F7F\u7528\u5168\u5C40\uFF09",deleteTitle:"\u5220\u9664\u6B64\u52A9\u624B",deleteAgentTitle:"\u5220\u9664\u6B64\u52A9\u624B",toolSearchPlaceholder:"\u641C\u7D22\u5DE5\u5177\u540D\u79F0\u6216\u63CF\u8FF0",skillSearchPlaceholder:"\u641C\u7D22\u6280\u80FD\u540D\u79F0\u6216\u63CF\u8FF0",selectedOnlyFilter:"\u53EA\u770B\u5DF2\u52FE\u9009",showAllTools:"\u67E5\u770B\u5168\u90E8\u5DE5\u5177",showAllSkills:"\u67E5\u770B\u5168\u90E8\u6280\u80FD"},auditLog:{title:"\u{1F4CB} \u547D\u4EE4\u6267\u884C\u5BA1\u8BA1",filterAll:"\u5168\u90E8",filterCommand:"\u547D\u4EE4\u6267\u884C",filterFile:"\u6587\u4EF6\u64CD\u4F5C",filterAuth:"\u8BA4\u8BC1",filterSecurity:"\u5B89\u5168",filterSystem:"\u7CFB\u7EDF",recent50:"\u6700\u8FD150\u6761",recent100:"\u6700\u8FD1100\u6761",recent200:"\u6700\u8FD1200\u6761",recent500:"\u6700\u8FD1500\u6761",searchPlaceholder:"\u641C\u7D22\u64CD\u4F5C\u540D\u3001\u547D\u4EE4\u6216\u8DEF\u5F84...",categoryFilter:"\u5206\u7C7B\u7B5B\u9009:",countLabel:"\u6761\u6570:",clearSearch:"\u6E05\u9664",empty:"\u6682\u65E0\u5BA1\u8BA1\u65E5\u5FD7",noLogs:"\u6682\u65E0\u5BA1\u8BA1\u65E5\u5FD7",defaultRange:"\u9ED8\u8BA4\u67E5\u8BE2\u6700\u8FD17\u5929\u7684\u5BA1\u8BA1\u65E5\u5FD7"},workdirTag:{sessionScope:"\uFF08\u672C\u4F1A\u8BDD\uFF09",defaultScope:"\uFF08\u9ED8\u8BA4\uFF09",switchTitle:"\u5207\u6362\u672C\u4F1A\u8BDD\u5DE5\u4F5C\u76EE\u5F55",restoreDefault:"\u6062\u590D\u9ED8\u8BA4\u76EE\u5F55",setAsAgentDefault:"\u540C\u65F6\u8BBE\u4E3A\u4EE3\u7406\u9ED8\u8BA4\u76EE\u5F55\uFF08\u5F71\u54CD\u672A\u7ED1\u5B9A\u7684\u4F1A\u8BDD\uFF09",setAsAgentDefaultHint:"\u52FE\u9009\u540E\uFF0C\u70B9\u5217\u8868\u91CC\u7684\u76EE\u5F55\u6216\u70B9\u300C\u5207\u6362\u300D\u90FD\u4F1A\u540C\u65F6\u628A\u5B83\u8BBE\u4E3A\u4EE3\u7406\u9ED8\u8BA4\u76EE\u5F55",pathMissing:"\u76EE\u5F55\u4E0D\u5B58\u5728\u6216\u4E0D\u53EF\u8BBF\u95EE\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9",agentSwitched:"\u4EE3\u7406\u5DF2\u5207\u6362\uFF0C\u672C\u4F1A\u8BDD\u76EE\u5F55\u5DF2\u56DE\u843D\u5230\u65B0\u4EE3\u7406\u7684\u9ED8\u8BA4\u76EE\u5F55",lockedHint:"\u4EFB\u52A1\u6267\u884C\u4E2D\uFF0C\u65E0\u6CD5\u5207\u6362\u5DE5\u4F5C\u76EE\u5F55",restoredDefault:"\u5DF2\u6062\u590D\u9ED8\u8BA4\u76EE\u5F55",tagHint:"\u70B9\u51FB\u5207\u6362\u672C\u4F1A\u8BDD\u5DE5\u4F5C\u76EE\u5F55"},input:{atHint:"\u63D0\u793A\u8BCD (\u5355\u51FB) / \u7F51\u9875 (Ctrl/Cmd+\u5355\u51FB)",placeholder:"\u8F93\u5165'/'\u5FEB\u6377\u63D0\u793A\u3001'@'\u5207\u6362\u52A9\u624B\u6216\u7F51\u9875\u3001'$'\u9009\u62E9\u5DE5\u4F5C\u76EE\u5F55\u6587\u4EF6\u3001'\u2191\u2193'\u5207\u6362\u5386\u53F2\u8F93\u5165\u3001Esc\u6E05\u7A7A",send:"\u53D1\u9001",clearSelection:"\u53D6\u6D88\u9009\u4E2D\u5185\u5BB9",pageLabel:"\u{1F310} \u7F51\u9875",clearPage:"\u53D6\u6D88\u7F51\u9875",mcpLabel:"\u{1F50C} MCP",clearMcp:"\u53D6\u6D88MCP\u670D\u52A1",skillLabel:"\u{1F9E9} \u6280\u80FD",clearSkill:"\u53D6\u6D88\u6280\u80FD",screenshotTitle:"\u622A\u53D6\u5F53\u524D\u9875\u9762",attachFileTitle:"\u4E0A\u4F20\u6587\u4EF6\uFF08PDF/Word/Excel/\u6587\u672C\uFF09",screenshot:"\u622A\u53D6\u5F53\u524D\u9875\u9762",uploadFile:"\u4E0A\u4F20\u6587\u4EF6\uFF08PDF/Word/Excel/\u6587\u672C\uFF09",aiDisclaimer:"\u5185\u5BB9\u7531 AI \u751F\u6210\uFF0C\u4EC5\u4F9B\u53C2\u8003",addMenuTitle:"\u6DFB\u52A0\u5185\u5BB9",addMenuPrompt:"\u63D0\u793A\u8BCD",addMenuScreenshot:"\u622A\u56FE",addMenuScreenshotFull:"\u6574\u9875\u622A\u56FE",addMenuScreenshotFullDesc:"\u622A\u53D6\u5F53\u524D\u53EF\u89C1\u9875\u9762",addMenuScreenshotRegion:"\u533A\u57DF\u622A\u56FE",addMenuScreenshotRegionDesc:"\u62D6\u62FD\u6846\u9009\u9875\u9762\u533A\u57DF",addMenuFile:"\u9644\u4EF6",addMenuSwitches:"\u5F00\u5173"},model:{selectModel:"\u9009\u62E9\u6A21\u578B",temperature:"\u6E29\u5EA6"},sectionSelect:{searchPlaceholder:"\u8F93\u5165\u5173\u952E\u5B57\u8FC7\u6EE4\u2026",noMatch:"\u65E0\u5339\u914D\u9879"},provider:{label:"API \u5382\u5546",manage:"\u7BA1\u7406\u5382\u5546\u914D\u7F6E"},promptSelector:{prompts:"\u63D0\u793A\u8BCD",skills:"\u6280\u80FD",pages:"\u7F51\u9875",agents:"\u52A9\u624B",proxies:"\u4EE3\u7406",knowledge:"\u77E5\u8BC6\u5E93",pagesCount:"\u7F51\u9875 ({count})",agentsCount:"\u52A9\u624B ({count})",proxiesCount:"\u4EE3\u7406 ({count})",knowledgeCount:"\u77E5\u8BC6\u5E93 ({count})",headerHint:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u53D1\u9001 \xB7 Ctrl+Enter\u5E26\u5165\u6587\u672C\u6846",agentHeaderHint:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u9009\u4E2D\u5E76\u5173\u95ED \xB7 Esc\u53D6\u6D88",switchHint:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u53D1\u9001 \xB7 Ctrl+Enter\u5E26\u5165\u6587\u672C\u6846",switchHintMulti:"\u65B9\u5411\u952E\u5207\u6362 \xB7 Enter\u9009\u4E2D\u5E76\u5173\u95ED \xB7 Ctrl+Enter\u591A\u9009/\u53CD\u9009 \xB7 Esc\u53D6\u6D88",mergedTitle:"\u805A\u5408\u641C\u7D22",mergedTitleCount:"\u805A\u5408\u641C\u7D22 ({count})"},memory:{label:"\u8BB0\u5FC6",historyLimit:"\u8BB0\u5FC6\u5386\u53F2\u9650\u5236",hint:"\u8BB0\u5FC6\u8D8A\u591A\uFF0C\u4E0A\u4E0B\u6587\u8D8A\u8FDE\u8D2F\uFF0C\u4F46 token \u6D88\u8017\u4E5F\u8D8A\u5927\uFF1B\u8BB0\u5FC6\u592A\u5C11\uFF0C\u5219\u53EF\u80FD\u65E0\u6CD5\u7ED3\u5408\u524D\u6587\u51C6\u786E\u56DE\u7B54\u3002",unlimited:"\u4E0D\u9650\u5236",recent200:"\u6700\u8FD1200\u6761",recent100:"\u6700\u8FD1100\u6761",recent50:"\u6700\u8FD150\u6761",recent20:"\u6700\u8FD120\u6761",recent10:"\u6700\u8FD110\u6761",recent5:"\u6700\u8FD15\u6761",recent2:"\u6700\u8FD12\u6761",custom:"\u81EA\u5B9A\u4E49:",unit:"\u6761",configEntry:"\u6253\u5F00\u8BB0\u5FC6\u914D\u7F6E",autoCompactLabel:"\u81EA\u52A8\u538B\u7F29",autoCompactHint:"\u4E0A\u4E0B\u6587\u5360\u7528\u8FBE\u5230 85% \u65F6\uFF0C\u53D1\u9001\u524D\u81EA\u52A8\u538B\u7F29\u4E00\u6B21\u4E3A\u6458\u8981\uFF08\u4F1A\u989D\u5916\u4EA7\u751F\u4E00\u6B21\u6458\u8981\u8C03\u7528\uFF09\u3002",persistSummaryLabel:"\u6458\u8981\u5B58\u5165\u8BB0\u5FC6",persistSummaryHint:"\u538B\u7F29\u65F6\u628A\u6458\u8981\u6C89\u6DC0\u4E3A\u8DE8\u4F1A\u8BDD\u957F\u671F\u8BB0\u5FC6\uFF1B\u540C\u4E00\u4F1A\u8BDD\u91CD\u590D\u538B\u7F29\u53EA\u66F4\u65B0\u540C\u4E00\u6761\u3002"},goal:{label:"\u76EE\u6807",shortHint:"\u6301\u7EED\u81EA\u52A8\u63A8\u8FDB\u4EFB\u52A1",toggleHint:"\u5F00\u542F\u540E\uFF0C\u672C\u8F6E\u4EFB\u52A1\u4F1A\u4F5C\u4E3A\u4F1A\u8BDD\u76EE\u6807\u6301\u7EED\u81EA\u52A8\u63A8\u8FDB\uFF0C\u76F4\u5230\u8FBE\u6210\u3001\u88AB\u5224\u4E3A\u4E0D\u53EF\u80FD\u6216\u9884\u7B97\u8017\u5C3D",statusActive:"\u8FDB\u884C\u4E2D",statusPaused:"\u5DF2\u6682\u505C",statusAchieved:"\u5DF2\u8FBE\u6210",statusUnmet:"\u672A\u8FBE\u6210",statusBudgetLimited:"\u9884\u7B97\u8017\u5C3D",statusCleared:"\u5DF2\u6E05\u9664",turnsUsed:"\u5DF2\u5C1D\u8BD5 {turns} \u6B21",turnsLeft:"\u8FD8\u5269 {turns} \u6B21",constraints:"+{count} \u6761\u8865\u5145",attachmentImage:"\u56FE\u7247 {count} \u5F20",edit:"\u7F16\u8F91",pause:"\u6682\u505C",resume:"\u7EE7\u7EED",clear:"\u6E05\u9664",editTitle:"\u7F16\u8F91\u76EE\u6807",editPrompt:"\u7528\u4E00\u53E5\u8BDD\u63CF\u8FF0\u8981\u8FBE\u6210\u7684\u76EE\u6807\uFF0C\u8D8A\u5177\u4F53\u8D8A\u597D\uFF1A",disabledHint:"\u76EE\u6807\u6A21\u5F0F\u5DF2\u5728\u8BBE\u7F6E\u4E2D\u5173\u95ED",startHint:"\u5F00\u542F\u76EE\u6807\u540E\uFF0C\u53D1\u9001\u7684\u7B2C\u4E00\u6761\u6D88\u606F\u5C06\u6210\u4E3A\u76EE\u6807",clearConfirm:"\u6E05\u9664\u5F53\u524D\u76EE\u6807\uFF1F\u4EFB\u52A1\u73B0\u573A\uFF08checkpoint\uFF09\u4F1A\u4E00\u5E76\u4E22\u5F03\u3002",updated:"\u76EE\u6807\u5DF2\u66F4\u65B0",approvalRevoked:"\u5DF2\u64A4\u9500\u653E\u884C\uFF1A\u76EE\u6807\u5DF2\u6682\u505C\uFF0C\u{1F3AF} \u5F00\u5173\u5DF2\u7184\u706D\u3002\u91CD\u65B0\u70B9\u4EAE \u{1F3AF} \u5E76\u70B9\u300C\u7EE7\u7EED\u300D\u5373\u53EF\u6062\u590D\u3002",pausedToast:"\u76EE\u6807\u5DF2\u6682\u505C\uFF1A\u53D1\u9001\u6D88\u606F\u4F1A\u81EA\u52A8\u7EE7\u7EED\uFF1B\u60F3\u5F7B\u5E95\u505C\u4E0B\uFF0C\u8BF7\u7184\u706D\u300C\u76EE\u6807\u300D\u5F00\u5173\u3002",pausedToastChipOff:"\u76EE\u6807\u5DF2\u6682\u505C\uFF1A\u53D1\u9001\u6D88\u606F\u4E0D\u4F1A\u81EA\u52A8\u7EE7\u7EED\uFF0C\u9700\u70B9\u300C\u7EE7\u7EED\u300D\u6216\u91CD\u65B0\u70B9\u4EAE\u300C\u76EE\u6807\u300D\u3002",pausedHintInline:"\u53D1\u6D88\u606F\u5373\u53EF\u7EE7\u7EED",resumeBlocked:"\u5DF2\u5230\u8F6E\u6B21\u786C\u9876\uFF08{turns} \u6B21\uFF09\uFF0C\u6CA1\u6CD5\u518D\u8865\u989D\u5EA6\u3002\u70B9\u300C\u7F16\u8F91\u300D\u6539\u4E00\u4E0B\u76EE\u6807\u4F1A\u91CD\u7F6E\u8F6E\u6B21\uFF0C\u6216\u6E05\u9664\u76EE\u6807\u540E\u91CD\u65B0\u5F00\u59CB\u3002",autoApproveHint:"\u76EE\u6807\u6A21\u5F0F\u5DF2\u81EA\u52A8\u653E\u884C\u654F\u611F\u64CD\u4F5C\uFF08agent \u7AEF\u9ED1\u540D\u5355\u547D\u4EE4\u4ECD\u4F1A\u786C\u62E6\uFF09\u3002\u70B9\u51FB\u64A4\u9500\u3002",intentDetected:"\u5DF2\u4ECE\u4F60\u7684\u63CF\u8FF0\u91CC\u8BC6\u522B\u51FA\u76EE\u6807\u6A21\u5F0F\uFF0C\u672C\u8F6E\u4F1A\u81EA\u52A8\u63A8\u8FDB\uFF08\u654F\u611F\u64CD\u4F5C\u4ECD\u4F1A\u5F39\u7A97\u786E\u8BA4\uFF09\u3002\u53EF\u70B9\u76EE\u6807\u6761\u4E0A\u7684\u300C\u6E05\u9664\u300D\u64A4\u9500\u3002",intentHint:"\u770B\u8D77\u6765\u4F60\u60F3\u8BA9\u4EFB\u52A1\u4E00\u76F4\u63A8\u8FDB\u5230\u8FBE\u6210\uFF1F\u70B9\u4EAE\u8F93\u5165\u533A\u7684 \u{1F3AF} \u5373\u53EF\u5F00\u542F\u76EE\u6807\u6A21\u5F0F\uFF08\u4E0D\u4F1A\u81EA\u52A8\u66FF\u4F60\u5F00\uFF09\u3002"},toggle:{memoryHint:"\u5F00\u542F\u540E\uFF0C\u524D\u6587\u95EE\u7B54\u5C06\u4F5C\u4E3A\u4E0A\u4E0B\u6587\uFF08\u9ED8\u8BA4\u5168\u90E8\uFF0C\u6761\u6570\u53EF\u914D\u7F6E\uFF09",toolsHint:"\u5DE5\u5177\u603B\u5F00\u5173\uFF1A\u70B9\u51FB\u5F00\u542F\u6216\u5173\u95ED\u5DE5\u5177\u8C03\u7528",selectionHint:"\u5F00\u542F\u540E\uFF0C\u5212\u8BCD\u9009\u4E2D\u5185\u5BB9\u65F6\u53EF\u5FEB\u901F\u63D0\u95EE",tools:"\u5DE5\u5177",selection:"\u5212\u8BCD",selectionShortHint:"\u9009\u4E2D\u6587\u5B57\u5FEB\u901F\u63D0\u95EE",more:"\u66F4\u591A",moreTitle:"\u66F4\u591A\u5F00\u5173",moreHint:"\u76EE\u6807\u4E0E\u5212\u8BCD\u5F00\u5173",modelSettings:"\u6A21\u578B\u8BBE\u7F6E",toolsConfigTitle:"\u70B9\u51FB\u6253\u5F00\u5DE5\u5177\u8BE6\u7EC6\u914D\u7F6E"},selection:{clearSelection:"\u53D6\u6D88\u9009\u4E2D\u5185\u5BB9",page:"\u{1F310} \u7F51\u9875",clearPage:"\u53D6\u6D88\u7F51\u9875",clearMcp:"\u53D6\u6D88MCP\u670D\u52A1",skill:"\u{1F9E9} \u6280\u80FD",clearSkill:"\u53D6\u6D88\u6280\u80FD"},toolCategory:{page_interaction:"\u{1F5B1}\uFE0F \u9875\u9762\u4EA4\u4E92",form_operation:"\u{1F4DD} \u8868\u5355\u64CD\u4F5C",content_extraction:"\u{1F4C4} \u5185\u5BB9\u63D0\u53D6",tab_management:"\u{1F4D1} \u6807\u7B7E\u9875\u7BA1\u7406",bookmark_history:"\u{1F516} \u4E66\u7B7E\u5386\u53F2",storage_management:"\u{1F4BE} \u5B58\u50A8\u7BA1\u7406",network_request:"\u{1F310} \u7F51\u7EDC\u8BF7\u6C42",media_output:"\u{1F4F7} \u5A92\u4F53\u4E0E\u8F93\u51FA",debug_dev:"\u{1F527} \u8C03\u8BD5\u5F00\u53D1",ai_collaboration:"\u{1F916} AI\u534F\u4F5C",local_agent:"\u{1F5A5}\uFE0F \u4EE3\u7406",mcp:"\u{1F50C} MCP",knowledge:"\u{1F4DA} \u77E5\u8BC6\u5E93"},presetMode:{preciseLabel:"\u7CBE\u51C6\u4E25\u8C28",preciseTip:"\u6539\u9519\u3001\u8C03\u8BD5\u3001\u8981\u51C6\u786E\u7B54\u6848\uFF08\u4F4E\u968F\u673A\u6027\uFF0C\u9002\u5408\u4FEE bug\uFF09",generalLabel:"\u65E5\u5E38\u901A\u7528",generalTip:"\u591A\u6570\u573A\u666F\u90FD\u597D\u7528\uFF08\u5E73\u8861\u7A33\u5B9A\u4E0E\u7075\u6D3B\uFF0C\u9002\u5408\u5199\u811A\u672C\uFF09",divergentLabel:"\u601D\u8DEF\u53D1\u6563",divergentTip:"\u8981\u591A\u79CD\u65B9\u6848\u505A\u5BF9\u6BD4\uFF08\u9002\u5408\u91CD\u6784\u3001\u65B9\u6848\u5BF9\u6BD4\uFF09",creativeLabel:"\u521B\u610F\u8111\u66B4",creativeTip:"\u5199\u6587\u6848\u3001\u8D77\u540D\u3001\u5934\u8111\u98CE\u66B4\uFF08\u9AD8\u968F\u673A\u6027\uFF0C\u4E0D\u5EFA\u8BAE\u6B63\u5F0F\u4EE3\u7801\uFF09"},tool:{agent_file:"\u4EE3\u7406\u672C\u5730\u6587\u4EF6\u64CD\u4F5C\uFF08\u8BFB\u53D6/\u5199\u5165/\u5217\u8868/\u5220\u9664/\u4E0B\u8F7D\uFF09",agent_trash:"\u7BA1\u7406\u4EE3\u7406\u56DE\u6536\u7AD9\uFF08\u67E5\u770B/\u6062\u590D\u5DF2\u5220\u9664\u9879\uFF09",agent_exec:"\u5728\u4EE3\u7406\u673A\u5668\u4E0A\u6267\u884C Shell \u547D\u4EE4",agent_search:"\u5728\u4EE3\u7406\u673A\u5668\u4E0A\u641C\u7D22\u6587\u4EF6\u6216\u6587\u4EF6\u5185\u5BB9",agent_skill:"\u52A0\u8F7D\u6216\u8FD0\u884C Skill",manage_agent:"\u67E5\u770B\u6216\u5207\u6362\u5DF2\u914D\u5BF9\u7684 AI \u4EE3\u7406",manage_todo:"\u65B0\u589E\u3001\u67E5\u8BE2\u3001\u4FEE\u6539\u6216\u5220\u9664\u5F85\u529E",manage_schedule:"\u65B0\u589E\u3001\u67E5\u8BE2\u3001\u4FEE\u6539\u6216\u5220\u9664\u5B9A\u65F6\u4EFB\u52A1",exec_log:"\u63D0\u53D6\u6267\u884C\u65E5\u5FD7\uFF0C\u5206\u6790\u6210\u529F\u8DEF\u5F84\u4E0E\u5931\u8D25\u6559\u8BAD",clarify_question:"\u5411\u7528\u6237\u63D0\u95EE\u6F84\u6E05\uFF0C\u63D0\u4F9B\u9009\u9879\u4F9B\u9009\u62E9",plan_task:"\u5C06\u590D\u6742\u4EFB\u52A1\u89C4\u5212\u62C6\u89E3\u4E3A\u5B50\u4EFB\u52A1",search_chats:"\u641C\u7D22\u5386\u53F2\u5BF9\u8BDD\u8BB0\u5F55",preview_ui:"\u9884\u89C8\u6216\u83B7\u53D6 UI \u539F\u578B",dispatch_task:"\u5411\u5B50\u4EE3\u7406\u6D3E\u53D1\u4EFB\u52A1",take_note:"\u8BB0\u5F55\u5DE5\u4F5C\u4FBF\u7B7E\uFF0C\u8DE8\u4E0A\u4E0B\u6587\u538B\u7F29\u4FDD\u7559",interact_element:"\u70B9\u51FB\u3001\u60AC\u505C\u6216\u8F93\u5165\u9875\u9762\u5143\u7D20",scroll_to:"\u6EDA\u52A8\u9875\u9762\u5230\u76EE\u6807\u4F4D\u7F6E\uFF08\u5143\u7D20/\u5750\u6807/\u6587\u672C\uFF09",wait_element:"\u7B49\u5F85\u5143\u7D20\u51FA\u73B0/\u6D88\u5931/\u53EF\u89C1\u6027\u53D8\u5316",wait_navigation:"\u7B49\u5F85\u9875\u9762\u5BFC\u822A\u5B8C\u6210",handle_dialog:"\u5904\u7406\u9875\u9762\u5F39\u7A97\uFF08alert/confirm/prompt\uFF09",fill_form:"\u6279\u91CF\u586B\u5199\u8868\u5355\u5B57\u6BB5",keyboard_input:"\u8F93\u5165\u6587\u672C\u6216\u6309\u952E\uFF08\u53EF\u7ED5\u8FC7\u53D7\u63A7\u7EC4\u4EF6\uFF09",file_upload:"\u4E0A\u4F20\u6587\u4EF6\u5230\u9875\u9762",select_dropdown:"\u4E0B\u62C9\u6846\u9009\u62E9\uFF08\u652F\u6301\u81EA\u5B9A\u4E49\u7EC4\u4EF6\uFF09",page_content:"\u83B7\u53D6\u9875\u9762\u6587\u672C\u6216 HTML \u5185\u5BB9",extract_data:"\u63D0\u53D6\u7ED3\u6784\u5316\u6570\u636E\uFF08\u8868\u683C/\u94FE\u63A5/\u56FE\u7247/\u8868\u5355/\u5143\u4FE1\u606F\uFF09",query_elements:"\u67E5\u8BE2\u53EF\u4EA4\u4E92\u5143\u7D20\uFF0C\u8FD4\u56DE\u5FEB\u7167\u4E0E ref \u7F16\u53F7",search_in_page:"\u5728\u5F53\u524D\u9875\u9762\u4E2D\u67E5\u627E\u6587\u672C",iframe_content:"\u83B7\u53D6\u9875\u9762\u4E2D iframe \u7684\u5185\u5BB9",scroll_collect:"\u6EDA\u52A8\u52A0\u8F7D\u9875\u9762\u5185\u5BB9",read_image:"\u8BFB\u53D6\u56FE\u7247\u5185\u5BB9\uFF08\u9644\u4EF6/\u8D34\u56FE/\u672C\u5730\u6587\u4EF6\uFF09",notify:"\u663E\u793A\u6D4F\u89C8\u5668\u901A\u77E5",clipboard:"\u526A\u8D34\u677F\u64CD\u4F5C\uFF08\u590D\u5236/\u7C98\u8D34/\u83B7\u53D6\u9009\u4E2D\u6587\u672C\uFF09",download_file:"\u4E0B\u8F7D\u6587\u4EF6\u5230\u672C\u5730",qrcode:"\u751F\u6210\u4E8C\u7EF4\u7801",capture_page:"\u622A\u53D6\u9875\u9762\u622A\u56FE\uFF08\u4E0B\u8F7D/\u5206\u6790/\u4E24\u8005\uFF09",inject_css:"\u6CE8\u5165\u6837\u5F0F\u6216\u9AD8\u4EAE\u6587\u672C",agent_memory:"\u957F\u671F\u8BB0\u5FC6\u7BA1\u7406\uFF08\u5B58\u50A8/\u56DE\u5FC6/\u7EF4\u62A4\uFF09",manage_storage:"\u8BFB\u5199 localStorage / sessionStorage",manage_cookies:"\u7BA1\u7406\u6D4F\u89C8\u5668 Cookie",fetch_url:"\u5411\u6307\u5B9A URL \u53D1\u9001 HTTP GET/POST \u8BF7\u6C42",manage_tab:"\u7BA1\u7406\u6807\u7B7E\u9875\uFF08\u6253\u5F00/\u5207\u6362/\u5173\u95ED/\u5237\u65B0\uFF09",list_tabs:"\u83B7\u53D6\u5DF2\u6253\u5F00\u7684\u6807\u7B7E\u9875\u5217\u8868",search_browser_data:"\u641C\u7D22\u6D4F\u89C8\u5668\u4E66\u7B7E\u6216\u8BBF\u95EE\u5386\u53F2",debug_page:"CDP \u9AD8\u7EA7\u8C03\u8BD5\uFF08\u8F93\u5165\u3001\u6293\u5305\u3001JS\u3001\u622A\u56FE\u3001\u6A21\u62DF\uFF09",knowledge_search:"\u68C0\u7D22\u77E5\u8BC6\u5E93\u83B7\u53D6\u76F8\u5173\u5185\u5BB9\uFF08\u53EA\u8BFB\uFF09",knowledge_ingest:"\u5C06\u6587\u672C/\u672C\u5730\u6587\u4EF6/\u7F51\u9875\u5BFC\u5165\u77E5\u8BC6\u5E93\uFF08\u5199\u5165\u64CD\u4F5C\uFF09",knowledge_list:"\u5217\u51FA\u53EF\u7528\u77E5\u8BC6\u5E93\u53CA\u5176\u6587\u6863\u6570\u91CF"},react:{title:"\u2699\uFE0F \u63A8\u7406\u5FAA\u73AF\u914D\u7F6E",subtitle:"\u63A7\u5236 AI \u63A8\u7406\u5FAA\u73AF\u7684\u884C\u4E3A\u53C2\u6570\uFF08\u9AD8\u7EA7\u914D\u7F6E\uFF09",goalMode:"\u76EE\u6807\u6A21\u5F0F\uFF08Goal\uFF09",goalModeHint:"\uFF08\u6A21\u578B\u5BA3\u5E03\u5B8C\u6210\u540E\u72EC\u7ACB\u8BC4\u4F30\u662F\u5426\u771F\u8FBE\u6210\uFF0C\u672A\u8FBE\u6210\u5219\u81EA\u52A8\u7EED\u8DD1\uFF0C\u76F4\u5230\u8FBE\u6210 / \u5224\u4E3A\u4E0D\u53EF\u80FD / \u9884\u7B97\u8017\u5C3D\uFF09",goalModeDesc1:"\u542F\u7528\u540E\uFF0C\u4FA7\u8FB9\u680F\u8F93\u5165\u533A\u51FA\u73B0 \u{1F3AF} \u5F00\u5173\uFF1B\u70B9\u4EAE\u7684\u90A3\u8F6E\u4EFB\u52A1\u4F1A\u4F5C\u4E3A\u4F1A\u8BDD\u76EE\u6807\u6301\u7EED\u81EA\u52A8\u63A8\u8FDB\u3002\u8BC4\u4F30\u662F\u5F80\u5F53\u524D\u4F1A\u8BDD\u6A21\u578B\u53D1\u4E00\u6B21\u72EC\u7ACB\u77ED\u8C03\u7528\uFF08\u6E29\u5EA6 0\uFF0C\u53EA\u8F93\u51FA\u4E00\u4E2A JSON \u88C1\u51B3\uFF09\uFF0C\u4E0D\u4F1A\u5F15\u5165\u7B2C\u4E8C\u4E2A\u6A21\u578B\u3002",goalModeDesc2:"\u63A8\u8FDB\u8282\u594F\u5185\u7F6E\uFF1A\u6700\u591A 20 \u8F6E\u6536\u5C3E\u5C1D\u8BD5\uFF0C\u65F6\u95F4\u4E0A\u9650\u8DDF\u968F\u4E0A\u65B9\u300C\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\u300D\u3002\u649E\u7EBF\u540E\u76EE\u6807\u6807\u4E3A\u300C\u9884\u7B97\u8017\u5C3D\u300D\u5E76\u4FDD\u7559\u73B0\u573A\uFF0C\u70B9\u300C\u7EE7\u7EED\u300D\u518D\u7ED9 20 \u8F6E\uFF0C\u4E0D\u4F1A\u81EA\u52A8\u63A5\u8D70\u91CD\u8DD1\u3002",goalModeDesc3:"\u5173\u95ED\u540E\uFF1A\u5F15\u64CE\u4E0D\u8BC4\u4F30\u4E0D\u7EED\u8DD1\u3001\u540E\u53F0\u62D2\u7EDD\u8BBE\u5B9A\u76EE\u6807\uFF0C\u884C\u4E3A\u4E0E\u672A\u5B9E\u73B0\u76EE\u6807\u6A21\u5F0F\u65F6\u4E00\u81F4\uFF1B\u5DF2\u843D\u5E93\u7684\u76EE\u6807\u73B0\u573A\u4FDD\u7559\uFF0C\u91CD\u65B0\u5F00\u542F\u53EF\u7EE7\u7EED\u3002",goalIntent:"\u610F\u56FE\u8BC6\u522B",goalIntentHint:"\uFF08\u4ECE\u8F93\u5165\u6587\u672C\u91CC\u8BC6\u522B\u201C\u6309\u76EE\u6807\u6A21\u5F0F\u6267\u884C\u201D\uFF0C\u96F6 token\uFF09",goalIntentDesc1:"\u5F00\u542F\u540E\uFF0C\u5373\u4F7F\u6CA1\u70B9\u4EAE \u{1F3AF} \u5F00\u5173\uFF0C\u4F60\u8BF4\u201C\u6309\u76EE\u6807\u6A21\u5F0F\u4E00\u76F4\u8DD1\u4E0B\u53BB\u201D\u8FD9\u7C7B\u8BDD\u65F6\u4E5F\u4F1A\u81EA\u52A8\u5F00\u542F\u672C\u8F6E\u76EE\u6807\uFF0C\u5E76\u7ED9\u51FA\u53EF\u64A4\u9500\u63D0\u793A\u3002\u662F\u53D1\u9001\u524D\u7684\u786E\u5B9A\u6027\u6B63\u5219\u5224\u5B9A\uFF0C\u4E0D\u4EA4\u7ED9\u6A21\u578B\u81EA\u5DF1\u9009\u3002",goalIntentDesc2:"\u8BC6\u522B\u51FA\u7684\u76EE\u6807\u4E0D\u4F1A\u81EA\u52A8\u653E\u884C\u654F\u611F\u64CD\u4F5C\uFF1A\u80FD\u8D8A\u8FC7\u786E\u8BA4\u5F39\u7A97\u7684\u6388\u6743\u53EA\u80FD\u7531\u4F60\u4EB2\u624B\u70B9\u5F00\u5173\u6388\u4E88\u3002",loopTimeout:"\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6",loopTimeoutHint:"\uFF08\u6574\u4E2A\u63A8\u7406\u5FAA\u73AF\u7684\u6700\u957F\u6267\u884C\u65F6\u95F4\uFF1B\u62D6\u52A8\u6ED1\u6746\u5373\u53EF\u8C03\u6574\uFF0C\u677E\u624B\u7ACB\u5373\u751F\u6548\uFF09",loopTimeoutMinLabel:"\u6700\u5C0F: 10 \u5206\u949F",loopTimeoutMaxLabel:"\u6700\u5927: 24 \u5C0F\u65F6",loopTimeoutSaved:"\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\u5DF2\u66F4\u65B0",durationMinutes:"{n} \u5206\u949F",durationHours:"{n} \u5C0F\u65F6",durationHoursMinutes:"{hours} \u5C0F\u65F6 {minutes} \u5206\u949F",toolConfirmation:"\u654F\u611F\u64CD\u4F5C\u786E\u8BA4",toolConfirmationHint:"\uFF08\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\u65F6\uFF0C\u5F39\u7A97\u786E\u8BA4\u540E\u518D\u6267\u884C\uFF09",enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u505C\u7528",toolConfirmationDesc1:"\u542F\u7528\u540E\uFF0C\u5F53\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\uFF08\u5DE5\u5177\u8C03\u7528\u3001\u547D\u4EE4\u6267\u884C\u7B49\uFF09\u65F6\uFF0C\u4F1A\u5F39\u51FA\u786E\u8BA4\u6846\u7B49\u5F85\u7528\u6237\u786E\u8BA4\u3002",toolConfirmationDesc2:"\u5173\u95ED\u540E\uFF0C\u6240\u6709\u64CD\u4F5C\u5C06\u76F4\u63A5\u653E\u884C\u6267\u884C\uFF0C\u65E0\u9700\u786E\u8BA4\u3002",networkAccess:"\u5185\u7F51\u5730\u5740\u8BBF\u95EE",networkAccessHint:"\uFF08\u63A7\u5236 fetch_url \u8BF7\u6C42\u4E0E manage_tab \u6253\u5F00\u5185\u7F51\u9875\u9762\u7B49\u5DE5\u5177\u884C\u4E3A\u80FD\u5426\u8BBF\u95EE\u672C\u673A\u4E0E\u5185\u7F51\u5730\u5740\uFF09",networkAccessDesc1:"\u9ED8\u8BA4\u5173\u95ED\uFF1A\u5DE5\u5177\u53EA\u80FD\u8BBF\u95EE\u516C\u7F51\u5730\u5740\uFF0C127.0.0.1\u3001localhost\u3001192.168.x.x \u7B49\u672C\u673A\u4E0E\u5185\u7F51\u5730\u5740\u4F1A\u88AB\u76F4\u63A5\u62D2\u7EDD\u3002",networkAccessDesc2:"\u5F00\u542F\u540E\u4ECD\u9700\u5728\u4E0B\u65B9\u7684\u5141\u8BB8\u5217\u8868\u4E2D\u9010\u53F0\u6DFB\u52A0\u4E3B\u673A\uFF1B\u5217\u8868\u4E3A\u7A7A\u65F6\u4F9D\u7136\u62D2\u7EDD\u5168\u90E8\u5185\u7F51\u3002\u5173\u95ED\u5F00\u5173\u53EA\u662F\u6536\u8D77\u8BE5\u533A\u5757\uFF0C\u4E0D\u4F1A\u6E05\u7A7A\u5DF2\u5F55\u5165\u7684\u5217\u8868\u3002",completionVerification:"\u5B8C\u6210\u5EA6\u6821\u9A8C",completionVerificationHint:"\uFF08\u5B50\u4EFB\u52A1\u7ED3\u675F\u540E\u4F9D\u636E\u771F\u5B9E\u9875\u9762\u4E0E\u672C\u5730 Agent\uFF08\u547D\u4EE4\xB7\u6587\u4EF6\uFF09\u72EC\u7ACB\u5BA2\u89C2\u53D6\u8BC1\u6838\u9A8C\u662F\u5426\u771F\u6B63\u8FBE\u6807\uFF0C\u672A\u8FBE\u6807\u5982\u5B9E\u4E0A\u62A5\uFF09",completionVerificationDesc1:'\u542F\u7528\u540E\uFF0C\u5B50\u4EFB\u52A1\u6267\u884C\u5B8C\u6210\u65F6\u4F1A\u4F9D\u636E\u5176\u5B8C\u6210\u6807\u51C6\u72EC\u7ACB\u53D6\u8BC1\u6838\u9A8C\uFF0C\u672A\u8FBE\u6807\u7684\u9879\u76EE\u4F1A\u5982\u5B9E\u6807\u6CE8\u4E0A\u62A5\u7ED9\u6A21\u578B\uFF0C\u800C\u4E0D\u662F\u9ED8\u8BA4"\u8DD1\u5B8C\u5373\u6210\u529F"\u3002\u53D6\u8BC1\u4E0D\u9650\u4E8E\u7F51\u9875 DOM\uFF0C\u8FD8\u5305\u62EC\u7ECF\u7531\u672C\u5730 Agent \u6267\u884C\u7684\u547D\u4EE4\uFF08\u5982\u6D4B\u8BD5/\u6784\u5EFA\u7684\u9000\u51FA\u7801\uFF09\u4E0E\u6587\u4EF6\u68C0\u67E5\uFF08\u5B58\u5728/\u5185\u5BB9\uFF09\u3002\u5C5E\u5BA2\u89C2\u53D6\u8BC1\uFF08\u67E5\u73AF\u5883\u662F\u5426\u771F\u7684\u8FBE\u6210\u76EE\u6807\uFF09\uFF0C\u4E0E"AI \u81EA\u6211\u53CD\u601D"\u7684\u4E3B\u89C2\u81EA\u8BC4\u4E92\u8865\u3001\u4E0D\u91CD\u590D\u3002',completionVerificationDesc2:"\u5173\u95ED\u540E\uFF0C\u5B50\u4EFB\u52A1\u5B8C\u6210\u72B6\u6001\u4E0E\u6821\u9A8C\u524D\u9010\u5B57\u8282\u4E00\u81F4\uFF0C\u4E0D\u8FFD\u52A0\u4EFB\u4F55\u53D6\u8BC1\u4E0E\u6807\u6CE8\u3002",completionVerificationRerun:"\u5B8C\u6210\u5EA6\u81EA\u52A8\u91CD\u8DD1",completionVerificationRerunHint:"\uFF08\u5BF9\u672A\u8FBE\u6807\u4E14\u786E\u6709\u7F3A\u9879\u7684\u5B50\u4EFB\u52A1\u81EA\u52A8\u8865\u8DD1\u4E00\u8F6E\uFF0C\u53D7\u6B21\u6570\u4E0E\u9884\u7B97\u4E0A\u9650\u7EA6\u675F\uFF09",completionVerificationRerunDesc1:'\u5F00\u542F\u540E\uFF0C\u72EC\u7ACB\u53D6\u8BC1\u53D1\u73B0\u5B50\u4EFB\u52A1\u786E\u6709\u7F3A\u9879\uFF08\u672A\u8FBE\u6807\uFF09\u65F6\uFF0C\u4F1A\u628A"\u8FD8\u7F3A\u4EC0\u4E48"\u4F5C\u4E3A\u65B0\u6307\u4EE4\u8FFD\u52A0\u7ED9\u8BE5\u5B50\u4EFB\u52A1\u5E76\u518D\u8DD1\u4E00\u8F6E\uFF0C\u76F4\u5230\u8FBE\u6807\u6216\u89E6\u53CA\u5B89\u5168\u4E0A\u9650\uFF08\u7F3A\u9879\u5FC5\u987B\u9010\u8F6E\u4E25\u683C\u51CF\u5C11\u3001\u6B21\u6570\u4E0A\u9650\u3001\u65F6\u95F4/token \u9884\u7B97\u3001\u53D6\u6D88\u6216\u8D85\u65F6\u5373\u505C\uFF09\u3002\u6D4B\u8BD5/\u6784\u5EFA\u7C7B"\u5141\u8BB8\u6863"\u547D\u4EE4\u53EF\u88AB\u81EA\u52A8\u6267\u884C\u53D6\u8BC1\uFF1B\u9700\u786E\u8BA4\u6216\u88AB\u5B89\u5168\u7B56\u7565\u62D2\u7EDD\u7684\u547D\u4EE4\u7EDD\u4E0D\u5F3A\u5236\u8FD0\u884C\uFF0C\u53EA\u5224\u4E3A\u65E0\u6CD5\u53D6\u8BC1\u3002\u5F00\u542F\u6B64\u9879\u4F1A\u6267\u884C\u547D\u4EE4\u5E76\u589E\u52A0\u8017\u65F6\u4E0E token \u6D88\u8017\uFF0C\u9ED8\u8BA4\u5173\u95ED\u3002',completionVerificationRerunDesc2:'\u5173\u95ED\u65F6\uFF08\u9ED8\u8BA4\uFF09\uFF0C\u884C\u4E3A\u4E0E"\u4EC5\u6807\u6CE8\u3001\u4E0D\u91CD\u8DD1"\u9010\u5B57\u8282\u4E00\u81F4\uFF1A\u672A\u8FBE\u6807\u53EA\u5982\u5B9E\u4E0A\u62A5\uFF0C\u7EDD\u4E0D\u81EA\u52A8\u8865\u8DD1\u3002',networkAllowlistTitle:"\u5185\u7F51\u5141\u8BB8\u5217\u8868",networkAllowlistDesc:"\u652F\u6301\u4E3B\u673A\u540D\u3001IP \u4E0E *.example.com \u5B50\u57DF\u901A\u914D\uFF08\u4E0D\u586B\u534F\u8BAE\u4E0E\u7AEF\u53E3\uFF09\uFF1B\u53EA\u6709\u5217\u5728\u8FD9\u91CC\u7684\u5185\u7F51\u4E3B\u673A\u624D\u4F1A\u88AB\u653E\u884C\u3002",networkHostAddPlaceholder:"\u4F8B\u5982\uFF1A127.0.0.1 \u6216 intranet.example.com",networkHostAdd:"\u6DFB\u52A0",networkHostRemove:"\u79FB\u9664",networkAllowlistEmpty:"\u6682\u65E0\u5141\u8BB8\u7684\u4E3B\u673A\u3002\u5F00\u542F\u603B\u5F00\u5173\u540E\uFF0C\u5185\u7F51\u76EE\u6807\u4ECD\u9700\u547D\u4E2D\u6B64\u5217\u8868\u624D\u4F1A\u88AB\u8BBF\u95EE\u3002",networkHostEmpty:"\u8BF7\u8F93\u5165\u8981\u5141\u8BB8\u7684\u4E3B\u673A\u540D\u6216 IP",networkHostInvalid:"\u6761\u76EE\u4E0D\u80FD\u5305\u542B\u7A7A\u683C\uFF0C\u8BF7\u53EA\u586B\u5199\u4E3B\u673A\u540D\u6216 IP",networkHostExists:"\u8BE5\u4E3B\u673A\u5DF2\u5728\u5141\u8BB8\u5217\u8868\u4E2D",enableExecutionLog:"\u542F\u7528\u6267\u884C\u65E5\u5FD7",enableExecutionLogHint:"\uFF08\u663E\u793A API \u8C03\u7528\u548C\u5DE5\u5177\u6267\u884C\u7684\u8BE6\u7EC6\u65E5\u5FD7\uFF0C\u5E2E\u52A9\u8C03\u8BD5\u548C\u7406\u89E3 AI \u601D\u8003\u8FC7\u7A0B\uFF09",enableExecutionLogDesc1:'\u542F\u7528\u540E\uFF0C\u6D88\u606F\u5E95\u90E8\u4F1A\u663E\u793A"\u6267\u884C\u65E5\u5FD7"\u6309\u94AE\uFF0C\u70B9\u51FB\u53EF\u67E5\u770B API \u8C03\u7528\u548C\u5DE5\u5177\u6267\u884C\u7684\u8BE6\u7EC6\u8FC7\u7A0B\u3002',enableExecutionLogDesc2:"\u5173\u95ED\u540E\uFF0C\u6D88\u606F\u5E95\u90E8\u4E0D\u518D\u663E\u793A\u8BE5\u6309\u94AE\u3002",streaming:"\u6D41\u5F0F\u8F93\u51FA",streamingHint:"\uFF08\u5F00\u542F\u540E AI \u56DE\u590D\u4F1A\u5B9E\u65F6\u9010\u5B57\u663E\u793A\uFF0C\u63D0\u4F9B\u66F4\u5FEB\u7684\u53CD\u9988\u611F\u77E5\uFF09",streamingDesc1:"\u5F00\u542F\u540E AI \u56DE\u590D\u4F1A\u5B9E\u65F6\u9010\u5B57\u663E\u793A\uFF0C\u4EE3\u7406\u7AEF\u547D\u4EE4\u6267\u884C\u65F6\u4E5F\u4F1A\u5B9E\u65F6\u8F93\u51FA\uFF0C\u63D0\u4F9B\u66F4\u5FEB\u7684\u53CD\u9988\u611F\u77E5\u3002",streamingDesc2:"\u5982\u679C\u9047\u5230\u517C\u5BB9\u6027\u95EE\u9898\uFF0C\u53EF\u5173\u95ED\u6B64\u5F00\u5173\u56DE\u9000\u5230\u4E00\u6B21\u6027\u8F93\u51FA\u6A21\u5F0F\u3002",streamExpandTools:"\u6D41\u5F0F\u5DE5\u5177\u5361\u7247\u9ED8\u8BA4\u5C55\u5F00",streamExpandToolsHint:"\uFF08\u5173\u95ED\u5219\u5DE5\u5177\u5361\u7247\u9ED8\u8BA4\u6298\u53E0\uFF0C\u4EC5\u663E\u793A\u6807\u9898\u4E0E\u72B6\u6001\uFF0C\u70B9\u51FB\u53EF\u5C55\u5F00\u8BE6\u60C5\uFF09",configGuide:"\u{1F4A1} \u914D\u7F6E\u8BF4\u660E",guideReasoningLoop:"\u63A8\u7406\u5FAA\u73AF",guideReasoningLoopDesc:"\u662F AI \u52A9\u624B\u8FDB\u884C\u591A\u6B65\u63A8\u7406\u548C\u5DE5\u5177\u8C03\u7528\u7684\u6838\u5FC3\u673A\u5236\u3002",guideLoopCount:"\u5FAA\u73AF\u6B21\u6570",guideLoopCountDesc:"\uFF1A\u51B3\u5B9A AI \u53EF\u4EE5\u8FDB\u884C\u591A\u5C11\u8F6E\u63A8\u7406-\u884C\u52A8\u5FAA\u73AF",guideTimeout:"\u8D85\u65F6\u8BBE\u7F6E",guideTimeoutDesc:"\uFF1AAPI \u8BF7\u6C42 / \u6574\u4F53\u5FAA\u73AF / \u5DE5\u5177\u6267\u884C\u4E09\u9879\u8D85\u65F6\uFF0C\u9632\u6B62\u957F\u65F6\u95F4\u7B49\u5F85\u6216\u65E0\u9650\u5FAA\u73AF",guideToolConfirm:"\u654F\u611F\u64CD\u4F5C\u786E\u8BA4",guideToolConfirmDesc:"\uFF1A\u6A21\u578B\u6267\u884C\u654F\u611F\u64CD\u4F5C\u524D\u5F39\u7A97\u7B49\u5F85\u4F60\u786E\u8BA4\uFF0C\u9632\u6B62\u8BEF\u64CD\u4F5C",guideClarifyWait:"\u6F84\u6E05\u7B49\u5F85",guideClarifyWaitDesc:"\uFF1A\u7528\u6237\u6F84\u6E05\u65F6\u95F4\u4E0D\u8BA1\u5165\u6574\u4F53\u5FAA\u73AF\u8D85\u65F6\uFF08\u81EA\u52A8\u6682\u505C\u8BA1\u65F6\uFF0C\u975E\u914D\u7F6E\u9879\uFF09",guideTip:"\u2022 \u5EFA\u8BAE\u6839\u636E\u7F51\u7EDC\u72B6\u51B5\u548C\u4EFB\u52A1\u590D\u6742\u5EA6\u8C03\u6574\u8FD9\u4E9B\u53C2\u6570"},reflection:{title:"AI \u81EA\u6211\u53CD\u601D",enabled:"\u5DF2\u542F\u7528",subtitle:"\u63A7\u5236 AI \u5BF9\u4EFB\u52A1\u6267\u884C\u7ED3\u679C\u7684\u81EA\u6211\u8BC4\u4F30\u548C\u4FEE\u8BA2\u884C\u4E3A",subtitleHint:'\uFF08\u63A7\u5236 AI \u5BF9\u7B54\u6848\u8D28\u91CF\u7684\u81EA\u6211\u8BC4\u4F30\u548C\u4FEE\u8BA2\u884C\u4E3A\u2014\u2014\u5C5E\u4E3B\u89C2\u81EA\u8BC4\uFF0C\u4E0E"\u5B8C\u6210\u5EA6\u6821\u9A8C"\u7684\u5BA2\u89C2\u53D6\u8BC1\u4E92\u8865\uFF09',desc1:"\u542F\u7528\u540E\uFF0CAI \u4F1A\u5728\u63A8\u7406\u5FAA\u73AF\u7ED3\u675F\u540E\u5BF9\u7ED3\u679C\u81EA\u6211\u8BC4\u4F30\uFF0C\u8BC4\u5206\u4F4E\u4E8E\u9608\u503C\u65F6\u81EA\u52A8\u4FEE\u8BA2\u6216\u91CD\u65B0\u6267\u884C\u3002\u5C24\u5176\u9002\u5408\u65E0\u5BA2\u89C2\u5224\u636E\u7684\u5F00\u653E\u5F0F\u4EFB\u52A1\uFF08\u95EE\u7B54/\u5199\u4F5C/\u5206\u6790\uFF09\u2014\u2014\u8FD9\u7C7B\u4EFB\u52A1\u5B8C\u6210\u5EA6\u6821\u9A8C\u4E0D\u4F1A\u4ECB\u5165\u3002",desc2:"\u5173\u95ED\u540E\u6536\u8D77\u4E0B\u65B9\u4E8C\u7EA7\u5F00\u5173\uFF1B\u542F\u7528\u53CD\u601D\u4F1A\u589E\u52A0 API \u8C03\u7528\u6B21\u6570\uFF0C\u5EFA\u8BAE\u6309\u9700\u6743\u8861\u3002",postReflection:"\u540E\u7F6E\u53CD\u601D",postReflectionHint:"\uFF08\u5B8C\u6210\u540E\u8BC4\u4F30\u7ED3\u679C\u8D28\u91CF\uFF09",subtaskReflection:"\u5B50\u4EFB\u52A1\u53CD\u601D",subtaskReflectionHint:"\uFF08\u9AD8\u7EA7\u529F\u80FD\uFF0C\u9ED8\u8BA4\u5173\u95ED\uFF09",configGuide:"\u{1F4A1} \u53CD\u601D\u914D\u7F6E\u8BF4\u660E",guidePostReflection:"\u540E\u7F6E\u53CD\u601D",guidePostReflectionDesc:"\uFF1A\u5728\u63A8\u7406\u5FAA\u73AF\u7ED3\u675F\u540E\uFF0CAI \u4F1A\u5BF9\u6700\u7EC8\u7ED3\u679C\u8FDB\u884C\u81EA\u6211\u8BC4\u4F30\u3002\u5982\u679C\u8BC4\u5206\u4F4E\u4E8E\u9608\u503C\uFF0C\u4F1A\u81EA\u52A8\u4FEE\u8BA2\u6216\u91CD\u65B0\u6267\u884C\u3002",guideSubtaskReflection:"\u5B50\u4EFB\u52A1\u53CD\u601D",guideSubtaskReflectionDesc:"\uFF1A\u5BF9\u4E8E\u590D\u6742\u4EFB\u52A1\u62C6\u89E3\u540E\u7684\u5B50\u4EFB\u52A1\u8FDB\u884C\u5355\u72EC\u8BC4\u4F30\uFF0C\u9ED8\u8BA4\u5173\u95ED\uFF08\u9AD8\u7EA7\u529F\u80FD\uFF09\u3002",guideTip:"\u2022 \u542F\u7528\u53CD\u601D\u4F1A\u589E\u52A0 API \u8C03\u7528\u6B21\u6570\uFF0C\u5EFA\u8BAE\u6839\u636E\u9700\u6C42\u6743\u8861"},toolbar:{title:"\u{1F527} \u5DE5\u5177\u680F\u8BBE\u7F6E",enabled:"\u5DF2\u542F\u7528",subtitle:"\u7BA1\u7406\u5212\u8BCD\u5DE5\u5177\u680F\u7684\u6309\u94AE\u548C\u987A\u5E8F",iconOnly:"\u5DE5\u5177\u680F\u56FE\u6807\u7CBE\u7B80\u6A21\u5F0F\uFF08\u4EC5\u663E\u793A\u56FE\u6807\uFF0C\u4E0D\u663E\u793A\u6587\u5B57\uFF09",includeContext:"\u5212\u8BCD\u56DE\u7B54\u65F6\u7ED3\u5408\u7F51\u9875\u4E0A\u4E0B\u6587\uFF08\u53C2\u8003\u9009\u4E2D\u5185\u5BB9\u6240\u5728\u6BB5\u843D\u53CA\u9875\u9762\u4FE1\u606F\uFF09",addCustomTool:"\uFF0B \u6DFB\u52A0\u81EA\u5B9A\u4E49\u5DE5\u5177",domainBlocklistTitle:"\u57DF\u540D\u5C4F\u853D",domainBlocklistDesc:"\u5728\u6B64\u6DFB\u52A0\u9700\u8981\u5C4F\u853D\u5DE5\u5177\u680F\u7684\u57DF\u540D\uFF0C\u5C4F\u853D\u540E\u8BE5\u57DF\u540D\u4E0B\u4E0D\u518D\u663E\u793A\u5212\u8BCD\u5DE5\u5177\u680F",domainAddPlaceholder:"\u4F8B\u5982\uFF1Aexample.com\uFF08\u4E0D\u542B http/https\uFF09",add:"\u6DFB\u52A0",toolEditModalTitle:"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u5DE5\u5177",toolName:"\u5DE5\u5177\u540D\u79F0",toolNamePlaceholder:"\u4F8B\u5982\uFF1A\u6DA6\u8272\u3001\u6539\u5199\u3001\u4EE3\u7801\u5BA1\u67E5",systemPromptLabel:"\u7CFB\u7EDF\u63D0\u793A\u8BCD",systemPromptHint:"\uFF08\u5B9A\u4E49\u8BE5\u5DE5\u5177\u7684\u884C\u4E3A\uFF09",toolPromptPlaceholder:"\u4F8B\u5982\uFF1A\u4F60\u662F\u4E00\u4E2A\u6587\u672C\u6DA6\u8272\u52A9\u624B\uFF0C\u8BF7\u5C06\u7528\u6237\u8F93\u5165\u7684\u5185\u5BB9\u6DA6\u8272\u5F97\u66F4\u6D41\u7545\u3001\u66F4\u4E13\u4E1A\u3002",builtinBadge:"\u5185\u7F6E",customBadge:"\u81EA\u5B9A\u4E49",moveUp:"\u4E0A\u79FB",moveDown:"\u4E0B\u79FB",dragSort:"\u62D6\u62FD\u6392\u5E8F",editCustomToolTitle:"\u7F16\u8F91\u81EA\u5B9A\u4E49\u5DE5\u5177",toolNameEmpty:"\u5DE5\u5177\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",toolPromptEmpty:"\u7CFB\u7EDF\u63D0\u793A\u8BCD\u4E0D\u80FD\u4E3A\u7A7A",toolNotFound:"\u672A\u627E\u5230\u8BE5\u5DE5\u5177",cannotEditBuiltin:"\u4E0D\u80FD\u7F16\u8F91\u5185\u7F6E\u5DE5\u5177",noBlockedDomains:"\u6682\u65E0\u5C4F\u853D\u57DF\u540D\uFF0C\u5728\u4E0A\u65B9\u8F93\u5165\u57DF\u540D\u6DFB\u52A0",unblock:"\u53D6\u6D88\u5C4F\u853D",domainEmpty:"\u57DF\u540D\u4E0D\u80FD\u4E3A\u7A7A",domainInvalid:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u57DF\u540D\uFF0C\u4F8B\u5982 example.com",domainExists:"\u8BE5\u57DF\u540D\u5DF2\u5B58\u5728"},agentConfig:{title:"\u{1F5A5}\uFE0F \u4EE3\u7406\u914D\u7F6E",subtitle:"\u8FDE\u63A5\u4EE3\u7406\u670D\u52A1\uFF0C\u5B9E\u73B0\u6587\u4EF6\u8BFB\u5199\u3001\u7CFB\u7EDF\u547D\u4EE4\u6267\u884C\u3001\u5BF9\u8BDD\u8BB0\u5FC6\u7BA1\u7406\u3001Skill \u5DE5\u4F5C\u6D41\u53CA MCP \u534F\u8BAE\u6269\u5C55\u7B49\u9AD8\u7EA7\u80FD\u529B\u3002\u652F\u6301\u914D\u7F6E\u5E76\u5339\u914D\u591A\u4E2A\u4EE3\u7406\uFF0C\u4E00\u952E\u8FDE\u63A5\u3002",pairedAgents:"\u5DF2\u914D\u5BF9\u4EE3\u7406",notConnected:"\u672A\u8FDE\u63A5",detailToggle:"\u25B6 \u8BE6\u7EC6\u4FE1\u606F",addAgentTitle:"\u6DFB\u52A0\u65B0\u4EE3\u7406",agentName:"\u4EE3\u7406\u540D\u79F0",agentNameHint:"\uFF08\u81EA\u5B9A\u4E49\uFF0C\u7559\u7A7A\u5219\u81EA\u52A8\u83B7\u53D6\uFF09",agentNamePlaceholder:"\u4F8B\u5982\uFF1A\u529E\u516C\u5BA4 Mac",agentUrl:"\u4EE3\u7406\u5730\u5740",agentUrlHint:"\uFF08\u4EE3\u7406\u670D\u52A1\u7684 HTTP \u5730\u5740\uFF09",pairCode:"\u914D\u5BF9\u7801",pairCodeHint:"\uFF08\u5728 Agent \u7EC8\u7AEF\u7A97\u53E3\u4E2D\u67E5\u770B\uFF09",pairCodePlaceholder:"6\u4F4D\u914D\u5BF9\u7801",connect:"\u8FDE\u63A5",toolCount:"{count} \u4E2A\u5DE5\u5177",selectedTotalCount:"(\u5DF2\u9009 {selected} / \u5171 {total})",toggleCategoryAll:"\u70B9\u51FB\u5207\u6362\u8BE5\u5206\u7C7B\u5168\u9009/\u53D6\u6D88\u5168\u9009",useInstructionTitle:"\u{1F4A1} \u4F7F\u7528\u8BF4\u660E\u53CA\u5B89\u5168\u63D0\u793A",installGuideTitle:"\u{1F4E5} \u5B89\u88C5\u4EE3\u7406\u7AEF v{version}\uFF08\u4E0E\u5F53\u524D\u63D2\u4EF6\u7248\u672C\u5339\u914D\uFF09",installGuideHint:"\u590D\u5236\u4E0B\u65B9\u547D\u4EE4\u7C98\u8D34\u5230\u7EC8\u7AEF\u6267\u884C\uFF0C\u5C06\u5B89\u88C5\u4E0E\u5F53\u524D\u63D2\u4EF6\u7248\u672C\u4E00\u81F4\u7684\u4EE3\u7406\u7AEF\uFF0C\u907F\u514D\u7248\u672C\u4E0D\u5339\u914D\u5BFC\u81F4\u65E0\u6CD5\u8FDE\u63A5\u3002",installGuideMacLinux:"macOS / Linux",copyCmd:"\u590D\u5236",copyCmdAuto:"\u4E00\u952E\u590D\u5236\uFF08\u6309\u5F53\u524D\u7CFB\u7EDF\uFF09",copyCmdSuccess:"\u5B89\u88C5\u547D\u4EE4\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyCmdFailed:"\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u9009\u4E2D\u547D\u4EE4\u590D\u5236",method1:"\u65B9\u5F0F\u4E00\uFF1ANPM \u5168\u5C40\u5B89\u88C5\uFF08\u63A8\u8350\uFF09",method1Step1:"\uFF08\u8981\u6C42 Node.js \u2265 18\uFF09",method1Step2:" \u6216\u7B80\u5199 ",method1Step3:'3. \u7EC8\u7AEF\u663E\u793A 6 \u4F4D\u914D\u5BF9\u7801\uFF0C\u5728\u6B64\u9875\u9762\u586B\u5165\u5E76\u70B9\u51FB"\u8FDE\u63A5"',method2:"\u65B9\u5F0F\u4E8C\uFF1A\u672C\u5730\u6E90\u7801\u8FD0\u884C\uFF08\u5F00\u53D1\u8C03\u8BD5\uFF09",method2Step2:'2. \u7EC8\u7AEF\u663E\u793A 6 \u4F4D\u914D\u5BF9\u7801\uFF0C\u5728\u6B64\u9875\u9762\u586B\u5165\u5E76\u70B9\u51FB"\u8FDE\u63A5"',cmdAlias:"\u547D\u4EE4\u522B\u540D",cmdAliasPrefix:" \u53EF\u7B80\u5199\u4E3A ",cmdAliasSuffix:"\uFF0C\u6240\u6709\u547D\u4EE4\u5747\u652F\u6301",bgRun:"\u540E\u53F0\u8FD0\u884C\uFF1A",bgRunMethod1:"\u3000\u65B9\u5F0F\u4E00\uFF1A",bgRunMethod1Mid:" \u6216 ",bgRunMethod2:"\u3000\u65B9\u5F0F\u4E8C\uFF1A",moreCmd:"\u66F4\u591A\u547D\u4EE4\uFF1A",moreCmdMid:" \u6216 ",securityTitle:"\u26A0\uFE0F \u5B89\u5168\u63D0\u793A",security1:"\u4EE3\u7406\u670D\u52A1\u9ED8\u8BA4\u4EC5\u76D1\u542C\u672C\u673A\u5730\u5740\uFF08127.0.0.1\uFF09\uFF0C\u5982\u9700\u8FDC\u7A0B\u8FDE\u63A5\u8BF7\u4FEE\u6539\u542F\u52A8\u53C2\u6570\u3002",security2:"\u6587\u4EF6\u64CD\u4F5C\u9650\u5236\u5728\u5DE5\u4F5C\u76EE\u5F55\u548C\u767D\u540D\u5355\u5141\u8BB8\u76EE\u5F55\u5185\uFF0C\u4E0D\u53EF\u8D8A\u6743\u8BBF\u95EE\u3002",security3:"\u9AD8\u5371\u547D\u4EE4\u81EA\u52A8\u62E6\u622A\uFF0C\u654F\u611F\u547D\u4EE4\u652F\u6301\u914D\u7F6E\u5316\u786E\u8BA4\u653E\u884C\u3002",addAnotherAgent:"\u518D\u6DFB\u52A0\u4E00\u4E2A\u4EE3\u7406",checking:"\u68C0\u6D4B\u4E2D",connected:"\u5DF2\u8FDE\u63A5",online:"\u5728\u7EBF",offline:"\u79BB\u7EBF",clickToEditName:"\u70B9\u51FB\u7F16\u8F91\u540D\u79F0",currentInUse:"\u5F53\u524D\u4F7F\u7528 \xB7 ",enable:"\u542F\u7528",disable:"\u505C\u7528",disconnect:"\u65AD\u5F00",connectedTo:"\u5DF2\u8FDE\u63A5\u5230: {name}",confirmDeleteAgent:`\u786E\u5B9A\u8981\u5220\u9664\u4EE3\u7406 "{name}" ({url}) \u5417\uFF1F
11
11
  \u5220\u9664\u540E\u9700\u91CD\u65B0\u914D\u5BF9\u624D\u80FD\u4F7F\u7528\u3002`,deleteAgentTitle:"\u5220\u9664\u4EE3\u7406",agentDeleted:"\u5DF2\u5220\u9664\u4EE3\u7406: {name}",agentDisabledToast:"\u5DF2\u505C\u7528\u4EE3\u7406: {name}",agentEnabledToast:"\u5DF2\u542F\u7528\u4EE3\u7406: {name}",fetchingAgentInfo:"\u6B63\u5728\u83B7\u53D6\u4EE3\u7406\u4FE1\u606F...",agentUnreachable:"\u4EE3\u7406\u670D\u52A1\u4E0D\u53EF\u8FBE",tokenExpired:"Token \u5DF2\u5931\u6548 - \u8BF7\u91CD\u65B0\u914D\u5BF9",cannotConnectAgent:"\u65E0\u6CD5\u8FDE\u63A5\u5230\u4EE3\u7406 - \u8BF7\u786E\u8BA4\u4EE3\u7406\u670D\u52A1\u5DF2\u542F\u52A8",notConnectedSelect:"\u672A\u8FDE\u63A5 - \u8BF7\u4ECE\u5217\u8868\u4E2D\u9009\u62E9\u4EE3\u7406\u8FDE\u63A5",notConnectedAdd:"\u672A\u8FDE\u63A5 - \u8BF7\u6DFB\u52A0\u4EE3\u7406\u914D\u5BF9",unlimited:"\u65E0\u9650\u5236",idle:"\u7A7A\u95F2",unknownCommand:"(\u672A\u77E5\u547D\u4EE4)",detailVersion:"\u7248\u672C",detailSystem:"\u7CFB\u7EDF",detailSearchTools:"\u68C0\u7D22\u5F15\u64CE",detailSearchToolsValue:"\u6587\u4EF6\u68C0\u7D22 fd {fd} &nbsp; \u5185\u5BB9\u68C0\u7D22 rg {rg}",detailHostname:"\u4E3B\u673A\u540D",detailHomeDir:"\u7528\u6237\u76EE\u5F55",detailRunningProcesses:"\u8FD0\u884C\u4E2D\u8FDB\u7A0B",detailRunningProcessesCount:"\u8FD0\u884C\u4E2D\u8FDB\u7A0B ({count})",detailMemoryUsage:"\u5185\u5B58\u4F7F\u7528",detailMemoryDetail:"\u5806 {used}MB / \u603B {total}MB \xB7 RSS {rss}MB",detailUptime:"\u8FD0\u884C\u65F6\u957F",detailCpuUser:"CPU \u7528\u6237\u6001",detailCpuSystem:"CPU \u5185\u6838\u6001",detailCommandTimeout:"\u547D\u4EE4\u8D85\u65F6",detailUploadMaxSize:"\u4E0A\u4F20\u5927\u5C0F\u9650\u5236",detailFileMaxSize:"\u8BFB\u53D6\u5927\u5C0F\u9650\u5236",detailAllowedPaths:"\u5141\u8BB8\u8BBF\u95EE\u7684\u76EE\u5F55",detailPairCodeTTL:"\u914D\u5BF9\u7801\u6709\u6548\u671F",detailWorkdir:"\u{1F4C1} \u5DE5\u4F5C\u76EE\u5F55: {dir}",pairCodeRequired:"\u8BF7\u8F93\u51656\u4F4D\u914D\u5BF9\u7801",pairing:"\u6B63\u5728\u914D\u5BF9...",pairingBtn:"\u914D\u5BF9\u4E2D...",unnamedAgent:"\u672A\u547D\u540D\u4EE3\u7406",pairSuccess:"\u914D\u5BF9\u6210\u529F\uFF01\u5DF2\u6DFB\u52A0: {name}",pairFailed:"\u914D\u5BF9\u5931\u8D25\uFF1A{error}",unknownError:"\u672A\u77E5\u9519\u8BEF",connectFailed:"\u8FDE\u63A5\u5931\u8D25 - \u8BF7\u786E\u8BA4\u4EE3\u7406\u670D\u52A1\u5DF2\u542F\u52A8",cannotConnectAgentMsg:"\u65E0\u6CD5\u8FDE\u63A5\u5230 Agent: {error}",disconnectedToast:"\u5DF2\u65AD\u5F00\u8FDE\u63A5",detailToggleOpen:"\u25BC \u8BE6\u7EC6\u4FE1\u606F",pairFailedShort:"\u914D\u5BF9\u5931\u8D25"},toolbox:{checkingAgent:"\u6B63\u5728\u68C0\u67E5 Agent \u8FDE\u63A5...",mcpTitle:"\u{1F50C} MCP \u670D\u52A1\u5668\u7BA1\u7406",mcpDisabled:"\u5DF2\u505C\u7528",mcpDesc:"\u901A\u8FC7 MCP \u534F\u8BAE\u8FDE\u63A5\u5916\u90E8\u5DE5\u5177\u670D\u52A1\u5668\uFF0C\u6269\u5C55 AI \u52A9\u624B\u7684\u5DE5\u5177\u80FD\u529B\u3002\u5173\u95ED\u540E\u6240\u6709 MCP \u5DE5\u5177\u5C06\u4E0D\u4F1A\u53D1\u9001\u5230 AI \u4E0A\u4E0B\u6587\u3002",loading:"\u52A0\u8F7D\u4E2D...",addMcpServer:"+ \u6DFB\u52A0 MCP \u670D\u52A1\u5668",skillTitle:"\u{1F9E9} \u6280\u80FD\u7BA1\u7406",skillDisabled:"\u5DF2\u505C\u7528",skillDesc:"\u7BA1\u7406\u53EF\u590D\u7528\u7684\u5DE5\u4F5C\u6D41\u548C Agent \u6280\u80FD\u3002\u5173\u95ED\u540E\u6240\u6709\u6280\u80FD\u5185\u5BB9\u5C06\u4E0D\u4F1A\u6CE8\u5165\u5230 AI \u7CFB\u7EDF\u63D0\u793A\u8BCD\u4E2D\u3002",ragTitle:"\u{1F4DA} \u77E5\u8BC6\u5E93\u68C0\u7D22\uFF08RAG\uFF09",ragDisabled:"\u5DF2\u505C\u7528",ragDesc:"\u5728\u4EE3\u7406\u7AEF\u672C\u5730\u6784\u5EFA\u77E5\u8BC6\u5E93\uFF0C\u5BF9\u8BDD\u65F6\u68C0\u7D22\u589E\u5F3A\u56DE\u7B54\u3002\u9700\u8981\u5B89\u88C5\u989D\u5916\u7684\u53EF\u9009\u4F9D\u8D56\uFF08\u7EA6 200-300MB\uFF09\uFF0C\u5173\u95ED\u540E\u77E5\u8BC6\u5E93\u5185\u5BB9\u4E0D\u4F1A\u53D1\u9001\u5230 AI \u4E0A\u4E0B\u6587\u3002",ragServiceEnabled:"\u77E5\u8BC6\u5E93\u68C0\u7D22\u5DF2\u542F\u7528",ragServiceDisabled:"\u77E5\u8BC6\u5E93\u68C0\u7D22\u5DF2\u505C\u7528",ragStatusChecking:"\u6B63\u5728\u68C0\u6D4B RAG \u80FD\u529B...",ragStatusReadyTitle:"RAG \u80FD\u529B\u5DF2\u5C31\u7EEA",ragStatusReadyDesc:"\u4EE3\u7406\u7AEF\u4F9D\u8D56\u5DF2\u5B89\u88C5\u3002\u77E5\u8BC6\u5E93\u7BA1\u7406\u529F\u80FD\u5C06\u5728\u540E\u7EED\u7248\u672C\u63D0\u4F9B\u3002",ragStatusNotInstalledTitle:"\u4EE3\u7406\u7AEF\u672A\u5B89\u88C5 RAG \u4F9D\u8D56",ragStatusNotInstalledDesc:"\u542F\u7528\u77E5\u8BC6\u5E93\u68C0\u7D22\u9700\u8981\u5148\u5728\u4EE3\u7406\u7AEF\u5B89\u88C5\u989D\u5916\u7684\u4F9D\u8D56\u5305\u3002",ragStatusNodeLowTitle:"\u8FD0\u884C\u73AF\u5883\u4E0D\u6EE1\u8DB3\u8981\u6C42",ragStatusNodeLowDesc:"RAG \u529F\u80FD\u9700\u8981 Node.js 22+\uFF08\u4EE3\u7406\u7AEF\u5F53\u524D\u4E3A {version}\uFF09\uFF0C\u8BF7\u5347\u7EA7 Node.js \u540E\u91CD\u542F\u4EE3\u7406\u3002",ragStatusAgentOffTitle:"\u4EE3\u7406\u672A\u8FDE\u63A5",ragStatusAgentOffDesc:"\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300DTab \u4E2D\u8FDE\u63A5 Agent \u670D\u52A1\u540E\u518D\u914D\u7F6E\u77E5\u8BC6\u5E93\u68C0\u7D22",ragStatusUnreachableTitle:"\u65E0\u6CD5\u83B7\u53D6\u4EE3\u7406\u72B6\u6001",ragStatusUnreachableDesc:"\u8BF7\u786E\u8BA4\u4EE3\u7406\u670D\u52A1\u8FD0\u884C\u6B63\u5E38\u540E\u70B9\u51FB\u300C\u91CD\u65B0\u68C0\u6D4B\u300D\u3002",ragInstallPackagesLabel:"\u9700\u8981\u5B89\u88C5\u7684\u5305\uFF1A",ragInstallRequirements:"\u8FD0\u884C\u73AF\u5883\u8981\u6C42 Node.js 22+\uFF1B\u9884\u8BA1\u4E0B\u8F7D\u7EA6 200-300MB\uFF08\u542B onnxruntime \u539F\u751F\u5E93\uFF0C\u89C6\u5E73\u53F0\u800C\u5B9A\uFF09\uFF1B\u9996\u6B21\u4F7F\u7528\u8FD8\u9700\u4E0B\u8F7D AI \u6A21\u578B\u7EA6 95MB\u3002",ragInstallNoRestartNeeded:"\u5B89\u88C5\u6210\u529F\u540E\u81EA\u52A8\u5C31\u7EEA\uFF0C\u65E0\u9700\u91CD\u542F\u4EE3\u7406\u670D\u52A1\u3002",ragInstallCommandLabel:"\u4E5F\u53EF\u5728\u4EE3\u7406\u7AEF\u5B89\u88C5\u76EE\u5F55\u624B\u52A8\u6267\u884C\uFF1A",ragCopyCmd:"\u{1F4CB} \u590D\u5236\u547D\u4EE4",ragCopied:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",ragCopyFailed:"\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u9009\u62E9\u590D\u5236",ragInstallBtn:"\u2B07\uFE0F \u4E00\u952E\u5B89\u88C5 RAG \u4F9D\u8D56",ragInstallBtnBusy:"\u5B89\u88C5\u4E2D...",ragRedetectBtn:"\u{1F504} \u91CD\u65B0\u68C0\u6D4B",ragInstallStarted:"\u5B89\u88C5\u5DF2\u5F00\u59CB\uFF0C\u6B63\u5728\u4E0B\u8F7D\u4F9D\u8D56...",ragInstallRunning:"\u6B63\u5728\u5B89\u88C5 RAG \u4F9D\u8D56...",ragAutoRestoreRunning:"\u4EE3\u7406\u66F4\u65B0\u540E\u4F9D\u8D56\u7F3A\u5931\uFF0C\u6B63\u5728\u81EA\u52A8\u6062\u590D...",ragInstallTip:"\u5B89\u88C5\u8FC7\u7A0B\u53EF\u80FD\u9700\u8981\u51E0\u5206\u949F\uFF0C\u671F\u95F4\u8BF7\u52FF\u5173\u95ED\u4EE3\u7406\u670D\u52A1\u3002",ragInstallVerifying:"\u4F9D\u8D56\u5B89\u88C5\u5B8C\u6210\uFF0C\u6B63\u5728\u9A8C\u8BC1...",ragInstallSuccess:"RAG \u4F9D\u8D56\u5B89\u88C5\u6210\u529F\uFF0C\u80FD\u529B\u5DF2\u5C31\u7EEA",ragInstallFailedToast:"RAG \u4F9D\u8D56\u5B89\u88C5\u5931\u8D25",ragInstallFailedAdvice:"\u82E5\u591A\u6B21\u5B89\u88C5\u5931\u8D25\uFF0C\u53EF\u5C1D\u8BD5\u91CD\u542F\u4EE3\u7406\u670D\u52A1\uFF08\u6216\u7A0D\u540E\u91CD\u8BD5\uFF09\u540E\u70B9\u51FB\u300C\u91CD\u65B0\u68C0\u6D4B\u300D\u3002",ragInstallLogLabel:"\u5B89\u88C5\u65E5\u5FD7\uFF08\u6700\u8FD1\u8F93\u51FA\uFF09\uFF1A",ragRedetectReady:"\u91CD\u65B0\u68C0\u6D4B\u5B8C\u6210\uFF1ARAG \u80FD\u529B\u5DF2\u5C31\u7EEA",ragRedetectStillMissing:"\u91CD\u65B0\u68C0\u6D4B\u5B8C\u6210\uFF1A\u4ECD\u672A\u68C0\u6D4B\u5230 RAG \u4F9D\u8D56",ragRedetectStillMissingDetail:"\u4ECD\u672A\u68C0\u6D4B\u5230 RAG \u4F9D\u8D56 - {error}",ragRedetectFailed:"\u91CD\u65B0\u68C0\u6D4B\u5931\u8D25: {error}",importSkill:"+ \u5BFC\u5165\u6280\u80FD",reloadSkills:"\u{1F504} \u91CD\u65B0\u52A0\u8F7D",enabledCountTotal:"\u5DF2\u542F\u7528 {enabled} / \u5171 {total}",unknownAgent:"\u672A\u77E5\u4EE3\u7406",asrTitle:"\u{1F399} \u8BED\u97F3\u8F93\u5165\uFF08\u672C\u5730\u8BC6\u522B\uFF09",asrDesc:"\u672C\u5730\u79BB\u7EBF\u8BED\u97F3\u8F6C\u6587\u5B57\uFF0C\u97F3\u9891\u4E0D\u79BB\u5F00\u672C\u673A\u3002\u5148\u5728\u4EE3\u7406\u7AEF\u5B89\u88C5\u53EF\u9009\u4F9D\u8D56\u5E76\u51C6\u5907\u6A21\u578B\uFF08\u53EF\u81EA\u52A8\u4E0B\u8F7D\uFF0C\u4E5F\u53EF\u62F7\u5165\u56FA\u5B9A\u76EE\u5F55\uFF09\uFF1B\u4E24\u9879\u5C31\u7EEA\u540E\u4FA7\u8FB9\u680F\u8F93\u5165\u6846\u624D\u4F1A\u51FA\u73B0 \u{1F3A4} \u6309\u94AE\uFF08Alt+V\uFF09\u3002",asrEnabled:"\u5DF2\u542F\u7528",asrDisabled:"\u5DF2\u505C\u7528",asrReadyTitle:"\u8BED\u97F3\u8F93\u5165\u5DF2\u5C31\u7EEA",asrNotReadyTitle:"\u8BED\u97F3\u8F93\u5165\u8FD8\u4E0D\u53EF\u7528",asrReadyDesc:"\u4F9D\u8D56\u3001\u6A21\u578B\u4E0E\u5F00\u5173\u5747\u5DF2\u5C31\u7EEA\uFF0C\u4FA7\u8FB9\u680F\u5DF2\u53EF\u4F7F\u7528\u3002",asrNeedDeps:"\u7F3A\u5C11\u8FD0\u884C\u65F6\u4F9D\u8D56\uFF1A\u70B9\u51FB\u300C\u5B89\u88C5\u4F9D\u8D56\u300D\u5728\u672C\u673A\u5B89\u88C5 sherpa-onnx-node\u3002",asrNeedModels:"\u7F3A\u5C11\u6A21\u578B\u5305\uFF1A\u70B9\u300C\u4E0B\u8F7D\u63A8\u8350\u6A21\u578B\u300D\u81EA\u52A8\u83B7\u53D6\uFF1B\u8FD9\u53F0\u673A\u5668\u8BBF\u95EE\u4E0D\u4E86\u6A21\u578B\u6E90\u65F6\uFF0C\u628A\u6A21\u578B\u76EE\u5F55\u62F7\u8FDB\u4E0B\u65B9\u56FA\u5B9A\u8DEF\u5F84\uFF0C\u6216\u70B9\u300C\u4ECE\u6587\u4EF6\u5939\u5BFC\u5165\u300D\u3002",asrNeedEnable:"\u4F9D\u8D56\u4E0E\u6A21\u578B\u5747\u5DF2\u5C31\u7EEA\uFF0C\u6253\u5F00\u53F3\u4E0A\u89D2\u5F00\u5173\u5373\u53EF\u4F7F\u7528\u3002",asrUnknownReason:"\u72B6\u6001\u672A\u77E5\uFF0C\u8BF7\u91CD\u65B0\u68C0\u6D4B\u3002",asrDepLabel:"\u4F9D\u8D56",asrModelLabel:"\u6A21\u578B",asrEnableLabel:"\u5F00\u5173",asrCapabilityLabel:"\u80FD\u529B\uFF1A",asrCapDraft:"\u6D41\u5F0F\u8349\u7A3F",asrCapFinal:"\u9AD8\u7CBE\u5EA6\u5B9A\u7A3F",asrInstallBtn:"\u5B89\u88C5\u4F9D\u8D56",asrDepsInstalled:"\u4F9D\u8D56\u5DF2\u5B89\u88C5",asrInstalling:"\u5B89\u88C5\u4E2D\u2026",asrInstallingHint:"\u6B63\u5728\u5B89\u88C5\uFF0C\u7EA6 300MB+\uFF0C\u8BF7\u4FDD\u6301\u4EE3\u7406\u8FD0\u884C\u2026",asrInstallDone:"\u8BED\u97F3\u8BC6\u522B\u4F9D\u8D56\u5B89\u88C5\u5B8C\u6210",asrInstallAborted:"\u5B89\u88C5\u5DF2\u4E2D\u65AD",asrInstallFailed:"\u5B89\u88C5\u5931\u8D25",asrRedetect:"\u91CD\u65B0\u68C0\u6D4B",asrRedetected:"\u5DF2\u91CD\u65B0\u68C0\u6D4B",asrPickDir:"\u4ECE\u6587\u4EF6\u5939\u5BFC\u5165",asrPickDone:"\u6A21\u578B\u5305\u5DF2\u5BFC\u5165",asrPickFailed:"\u5BFC\u5165\u6A21\u578B\u5305\u5931\u8D25",asrRescan:"\u91CD\u65B0\u626B\u63CF",asrRescanned:"\u5DF2\u91CD\u65B0\u626B\u63CF\u6A21\u578B\u76EE\u5F55",asrModelList:"\u5DF2\u5BFC\u5165\u6A21\u578B",asrNoModels:"\u6682\u65E0\u6A21\u578B\u5305",asrModelHint:"\u6A21\u578B\u7EDF\u4E00\u653E\u5728 {dir}\uFF0C\u6BCF\u4E2A\u6A21\u578B\u4E00\u4E2A\u5B50\u76EE\u5F55\uFF08\u5185\u542B manifest.json \u4E0E\u6A21\u578B\u6587\u4EF6\uFF09\u3002\u5185\u7F51\u65E0\u7F51\u65F6\u53EF\u4ECE\u5176\u5B83\u673A\u5668\u76F4\u63A5\u62F7\u5165\u8BE5\u76EE\u5F55\u3002",asrDeleteConfirm:"\u786E\u5B9A\u5220\u9664\u8BE5\u6A21\u578B\u5305\u5417\uFF08\u53EA\u5220\u9664\u672C\u5730\u526F\u672C\uFF09\uFF1F",asrDeleteDone:"\u5DF2\u5220\u9664",asrDeleteFailed:"\u5220\u9664\u5931\u8D25",asrLanguage:"\u8BC6\u522B\u8BED\u8A00",asrModelsDirLabel:"\u6A21\u578B\u76EE\u5F55\uFF08\u56FA\u5B9A\uFF09\uFF1A",asrDownloadBtn:"\u4E0B\u8F7D\u63A8\u8350\u6A21\u578B\uFF08{size}\uFF09",asrDownloading:"\u4E0B\u8F7D\u4E2D\u2026",asrDownloadCancel:"\u53D6\u6D88\u4E0B\u8F7D",asrDownloadCanceled:"\u5DF2\u53D6\u6D88\u4E0B\u8F7D",asrDownloadInstalled:"\u63A8\u8350\u6A21\u578B\u5DF2\u5B89\u88C5",asrDownloadDone:"\u6A21\u578B\u4E0B\u8F7D\u5B8C\u6210",asrDownloadFailed:"\u6A21\u578B\u4E0B\u8F7D\u5931\u8D25",asrDownloadProgress:"\u6B63\u5728\u4E0B\u8F7D {percent}%\uFF08{done} / {total}\uFF09{model}",asrAutoDownloadStart:"\u5F00\u59CB\u4E0B\u8F7D\u63A8\u8350\u6A21\u578B\u2026",asrLangAuto:"\u81EA\u52A8\u8BC6\u522B\uFF08\u4E2D\u82F1\u6DF7\u8BF4\uFF09",asrLangZh:"\u4E2D\u6587",asrLangEn:"\u82F1\u6587",asrLangJa:"\u65E5\u6587",asrLangKo:"\u97E9\u6587",asrLangYue:"\u7CA4\u8BED",asrLangHint:"\u300C\u81EA\u52A8\u8BC6\u522B\u300D\u9002\u5408\u4E2D\u82F1\u6DF7\u8BF4\uFF1B\u56FA\u5B9A\u8BED\u79CD\u53EF\u51CF\u5C11\u8BEF\u5224\uFF0C\u4F46\u8BF4\u5176\u5B83\u8BED\u8A00\u4F1A\u8BC6\u522B\u6210\u4E71\u7801\u3002",asrLangSaved:"\u8BED\u8A00\u5DF2\u4FDD\u5B58",asrPacing:"\u8BC6\u522B\u8282\u594F",asrPacingHint:"\u5373\u65F6\uFF1A\u8BF4\u8BDD\u65F6\u4E0D\u505A\u9010\u53E5\u7CBE\u4FEE\uFF0C\u6700\u5FEB\uFF1B\u5747\u8861\uFF1A\u8FB9\u8BF4\u8FB9\u9010\u53E5\u6821\u6B63\uFF08\u63A8\u8350\uFF09\uFF1B\u7CBE\u786E\uFF1A\u4E0D\u51FA\u9010\u5B57\u8349\u7A3F\uFF0C\u6BCF\u53E5\u8BF4\u5B8C\u624D\u51FA\u6587\u672C\u3002",asrPacingInstant:"\u5373\u65F6",asrPacingBalanced:"\u5747\u8861\uFF08\u63A8\u8350\uFF09",asrPacingPrecise:"\u7CBE\u786E",asrPacingSaved:"\u8BC6\u522B\u8282\u594F\u5DF2\u4FDD\u5B58\uFF0C\u4E0B\u6B21\u5F55\u97F3\u751F\u6548",asrMicTitle:"\u9EA6\u514B\u98CE\u6743\u9650",asrMicStateGranted:"\u5DF2\u6388\u6743",asrMicStatePrompt:"\u672A\u6388\u6743",asrMicStateDenied:"\u5DF2\u88AB\u62D2\u7EDD",asrMicStateUnknown:"\u72B6\u6001\u672A\u77E5",asrMicHintGranted:"\u5DF2\u6388\u6743\uFF1A\u4FA7\u8FB9\u680F\u7684 \u{1F3A4} \u53EF\u4EE5\u76F4\u63A5\u5F55\u97F3\uFF0C\u6D4F\u89C8\u5668\u4E0D\u4F1A\u518D\u8BE2\u95EE\u3002",asrMicHintPrompt:"\u6D4F\u89C8\u5668\u4E0D\u5141\u8BB8\u5728\u4FA7\u8FB9\u680F\u91CC\u5F39\u6388\u6743\u6846\u3002\u8BF7\u5728\u8FD9\u91CC\u70B9\u4E00\u6B21\u300C\u6388\u6743\u9EA6\u514B\u98CE\u300D\uFF0C\u6388\u6743\u6309\u6269\u5C55\u8BB0\u5FC6\uFF0C\u4E4B\u540E\u4FA7\u8FB9\u680F\u76F4\u63A5\u53EF\u7528\u3002",asrMicHintDenied:"\u6B64\u524D\u88AB\u62D2\u7EDD\u8FC7\uFF0C\u6D4F\u89C8\u5668\u4E0D\u4F1A\u518D\u5F39\u6388\u6743\u6846\u3002\u8BF7\u590D\u5236\u4E0B\u9762\u7684\u94FE\u63A5\u6253\u5F00\uFF0C\u5728\u300C\u6269\u5C55\u8BE6\u60C5 \u2192 \u7F51\u7AD9\u8BBE\u7F6E \u2192 \u9EA6\u514B\u98CE\u300D\u91CC\u6539\u4E3A\u5141\u8BB8\uFF0C\u7136\u540E\u5237\u65B0\u672C\u9875\u3002",asrMicHintUnknown:"\u5F53\u524D\u73AF\u5883\u67E5\u4E0D\u5230\u9EA6\u514B\u98CE\u6388\u6743\u72B6\u6001\uFF0C\u53EF\u4EE5\u76F4\u63A5\u70B9\u300C\u6388\u6743\u9EA6\u514B\u98CE\u300D\u8BD5\u4E00\u6B21\u3002",asrMicGrantBtn:"\u6388\u6743\u9EA6\u514B\u98CE",asrMicGrantedBtn:"\u5DF2\u6388\u6743",asrMicGranting:"\u7B49\u5F85\u6D4F\u89C8\u5668\u6388\u6743\u2026",asrMicCopyBtn:"\u590D\u5236\u6269\u5C55\u8BE6\u60C5\u94FE\u63A5",asrMicCopied:"\u94FE\u63A5\u5DF2\u590D\u5236\uFF0C\u7C98\u8D34\u5230\u5730\u5740\u680F\u6253\u5F00",asrMicCopyFailed:"\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u6253\u5F00 chrome://extensions \u627E\u5230\u672C\u6269\u5C55",asrMicGrantedToast:"\u9EA6\u514B\u98CE\u5DF2\u6388\u6743",asrMicDeniedToast:"\u9EA6\u514B\u98CE\u88AB\u62D2\u7EDD\uFF0C\u8BF7\u5728\u6269\u5C55\u8BE6\u60C5\u91CC\u6539\u4E3A\u5141\u8BB8",asrMicNotGrantedToast:"\u672A\u83B7\u5F97\u9EA6\u514B\u98CE\u6388\u6743\uFF0C\u8BF7\u91CD\u8BD5\u5E76\u5728\u5F39\u7A97\u91CC\u9009\u62E9\u300C\u5141\u8BB8\u300D",asrMicUnsupportedToast:"\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u5F55\u97F3",asrSaveFailed:"\u4FDD\u5B58\u5931\u8D25",asrEnabledToast:"\u8BED\u97F3\u8F93\u5165\u5DF2\u542F\u7528",asrDisabledToast:"\u8BED\u97F3\u8F93\u5165\u5DF2\u505C\u7528",asrShortcutTitle:"\u2328\uFE0F \u5FEB\u6377\u89E6\u53D1",asrShortcutDesc:"Alt+V \u59CB\u7EC8\u53EF\u7528\uFF0C\u4E0D\u53D7\u4E0B\u9762\u52FE\u9009\u5F71\u54CD\u3002\u52FE\u4E0A\u53F3\u4FA7\u5355\u952E\u540E\uFF0C\u5355\u51FB\uFF08\u6309\u4E0B\u518D\u677E\u5F00\uFF09\u5373\u53EF\u5F00\u59CB / \u7ED3\u675F\u5F55\u97F3\uFF1B\u4E24\u4E2A\u90FD\u52FE = \u4EFB\u4E00\u90FD\u80FD\u89E6\u53D1\u3002\u4FA7\u8FB9\u680F\u4E0E\u7F51\u9875\u91CC\u540C\u65F6\u751F\u6548\uFF0C\u6539\u5B8C\u7ACB\u5373\u751F\u6548\u3001\u65E0\u9700\u91CD\u542F\u3002",asrShortcutRightAlt:"\u53F3\u4FA7 Alt",asrShortcutRightAltHint:"macOS \u4E0A\u4E3A\u53F3\u4FA7 Option \u2325\uFF1B\u6309\u4F4F\u5B83\u518D\u6572\u5176\u5B83\u952E\u4E0D\u4F1A\u89E6\u53D1",asrShortcutRightCtrl:"\u53F3\u4FA7 Ctrl",asrShortcutRightCtrlHint:"\u591A\u6570\u952E\u76D8\u7684\u53F3\u4FA7 Ctrl \u90FD\u662F\u95F2\u7F6E\u7684\uFF1B\u540C\u6837\u53EA\u6709\u5355\u6309\u624D\u89E6\u53D1",asrShortcutNote:"\u4EC5\u5728\u8BED\u97F3\u8F93\u5165\u5DF2\u5C31\u7EEA\uFF08\u4F9D\u8D56 \xD7 \u6A21\u578B \xD7 \u5F00\u5173\uFF09\u65F6\u54CD\u5E94\uFF1B\u672A\u5C31\u7EEA\u65F6\u6309\u952E\u4E0D\u4F1A\u5F00\u59CB\u5F55\u97F3\u3002",asrShortcutSaved:"\u5FEB\u6377\u952E\u8BBE\u7F6E\u5DF2\u4FDD\u5B58",asrDeviceTitle:"\u{1F3A7} \u8F93\u5165\u8BBE\u5907",asrDeviceDesc:"\u9ED8\u8BA4\u8DDF\u968F\u7CFB\u7EDF\u9ED8\u8BA4\u7684\u5F55\u97F3\u8BBE\u5907\uFF1B\u63A5\u4E86\u65B0\u9EA6\u514B\u98CE\uFF08USB / \u84DD\u7259 / \u58F0\u5361\uFF09\u53EF\u4EE5\u5728\u8FD9\u91CC\u6307\u5B9A\uFF0C\u6539\u5B8C\u7ACB\u5373\u751F\u6548\u3002\u9009\u4E2D\u7684\u8BBE\u5907\u88AB\u62D4\u6389\u65F6\u4F1A\u81EA\u52A8\u56DE\u9000\u7CFB\u7EDF\u9ED8\u8BA4\u5E76\u63D0\u793A\u3002",asrDeviceFollowSystem:"\u8DDF\u968F\u7CFB\u7EDF\u9ED8\u8BA4",asrDeviceUnnamed:"\u9EA6\u514B\u98CE {index}",asrDeviceRefresh:"\u5237\u65B0\u5217\u8868",asrDeviceNoteLoading:"\u6B63\u5728\u8BFB\u53D6\u8BBE\u5907\u5217\u8868\u2026",asrDeviceEmpty:"\u6CA1\u68C0\u6D4B\u5230\u53EF\u7528\u7684\u5F55\u97F3\u8BBE\u5907\uFF1A\u63D2\u597D\u9EA6\u514B\u98CE\u540E\u70B9\u300C\u5237\u65B0\u5217\u8868\u300D\uFF1B\u4E5F\u53EF\u80FD\u662F\u8FD8\u6CA1\u6388\u6743\u9EA6\u514B\u98CE\uFF0C\u5148\u70B9\u300C\u6388\u6743\u9EA6\u514B\u98CE\u300D\u3002",asrDeviceNeedPermission:"\u8BBE\u5907\u540D\u8FD8\u770B\u4E0D\u5230\uFF1A\u70B9\u300C\u6388\u6743\u9EA6\u514B\u98CE\u300D\u6388\u6743\u4E00\u6B21\uFF0C\u8BBE\u5907\u540D\u5C31\u4F1A\u663E\u793A\u3002",asrDeviceTimeout:"\u8BFB\u53D6\u8BBE\u5907\u5217\u8868\u8D85\u65F6\uFF08\u7CFB\u7EDF\u97F3\u9891\u670D\u52A1\u53EF\u80FD\u6CA1\u5C31\u7EEA\uFF09\uFF1A\u70B9\u300C\u5237\u65B0\u5217\u8868\u300D\u91CD\u8BD5\uFF1B\u8FD8\u662F\u4E0D\u884C\u5C31\u91CD\u542F\u6D4F\u89C8\u5668\u3002",asrDeviceUnsupported:"\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u8BFB\u53D6\u5F55\u97F3\u8BBE\u5907\uFF08\u9700\u8981 chrome-extension:// \u9875\u9762\uFF09\u3002",asrDeviceReadFailed:"\u8BFB\u53D6\u8BBE\u5907\u5217\u8868\u5931\u8D25\uFF1A\u70B9\u300C\u5237\u65B0\u5217\u8868\u300D\u91CD\u8BD5\uFF1B\u8FD8\u662F\u4E00\u6837\u5C31\u91CD\u542F\u6D4F\u89C8\u5668\u6216\u66F4\u65B0\u6269\u5C55\u3002",asrDeviceDenied:"\u9EA6\u514B\u98CE\u6743\u9650\u5DF2\u88AB\u62D2\u7EDD\uFF1A\u5728\u6D4F\u89C8\u5668\u7684\u7AD9\u70B9\u8BBE\u7F6E\u91CC\u5141\u8BB8\u9EA6\u514B\u98CE\u540E\u70B9\u300C\u5237\u65B0\u5217\u8868\u300D\u3002",asrDeviceMissing:"\u5DF2\u9009\u7684\u9EA6\u514B\u98CE\u5F53\u524D\u4E0D\u53EF\u7528\uFF08\u53EF\u80FD\u88AB\u62D4\u6389\uFF09\uFF0C\u5F55\u97F3\u4F1A\u5148\u7528\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u5907\u3002",asrDeviceSaved:"\u5DF2\u5207\u6362\u8F93\u5165\u8BBE\u5907",asrDeviceFollowSystemSaved:"\u5DF2\u6539\u4E3A\u8DDF\u968F\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u5907",asrAgentDisconnected:"Agent \u672A\u8FDE\u63A5\uFF1A\u8BF7\u5148\u5230\u300C\u4EE3\u7406\u300DTab \u5B8C\u6210\u8FDE\u63A5\uFF0C\u4E4B\u540E\u624D\u80FD\u914D\u7F6E\u8BED\u97F3\u8F93\u5165",asrAgentUnreachable:"\u65E0\u6CD5\u8BFB\u53D6\u8BED\u97F3\u8BC6\u522B\u72B6\u6001\uFF08\u4EE3\u7406\u7248\u672C\u53EF\u80FD\u8F83\u65E7\uFF09",currentAgentSupports:"\u5F53\u524D\u4EE3\u7406\uFF1A<strong>{name}</strong> \u2014 \u652F\u6301MCP\u548C\u6280\u80FD",agentNotConnectedHint:"\u4EE3\u7406\u672A\u8FDE\u63A5 \u2014 \u8BF7\u5728\u300C\u4EE3\u7406\u300DTab \u4E2D\u8FDE\u63A5",mcpIdRequired:"\u8BF7\u586B\u5199\u670D\u52A1\u5668 ID",mcpUrlRequired:"\u8BF7\u586B\u5199\u670D\u52A1\u7AEF URL",mcpCommandRequired:"\u8BF7\u586B\u5199\u547D\u4EE4\u8DEF\u5F84",mcpReconnecting:"\u6B63\u5728\u91CD\u65B0\u8FDE\u63A5...",mcpUpdateReconnected:"MCP \u670D\u52A1\u5668\u66F4\u65B0\u6210\u529F\uFF0C\u5DF2\u91CD\u8FDE\uFF08{count} \u5DE5\u5177\uFF09",mcpUnknownError:"\u672A\u77E5\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u547D\u4EE4\u4E0E\u53C2\u6570\u662F\u5426\u6B63\u786E",mcpUpdatedReconnectFailed:"\u914D\u7F6E\u5DF2\u66F4\u65B0\uFF0C\u4F46\u91CD\u8FDE\u5931\u8D25: {error}",mcpUpdateSuccess:"MCP \u670D\u52A1\u5668\u66F4\u65B0\u6210\u529F",mcpUpdateFailed:"\u66F4\u65B0\u5931\u8D25: {error}",mcpServiceEnabled:"MCP \u670D\u52A1\u5DF2\u542F\u7528",mcpServiceDisabled:"MCP \u670D\u52A1\u5DF2\u505C\u7528",skillServiceEnabled:"\u6280\u80FD\u670D\u52A1\u5DF2\u542F\u7528",skillServiceDisabled:"\u6280\u80FD\u670D\u52A1\u5DF2\u505C\u7528",mcpAddSuccess:"MCP \u670D\u52A1\u5668\u6DFB\u52A0\u6210\u529F",mcpAddFailed:"\u6DFB\u52A0\u5931\u8D25: {error}",mcpConnecting:"\u6B63\u5728\u8FDE\u63A5...",mcpConnectSuccess:"\u8FDE\u63A5\u6210\u529F",mcpDisconnectSuccess:"\u5DF2\u65AD\u5F00\u8FDE\u63A5",mcpEnabledToast:"\u5DF2\u542F\u7528",mcpDisabledToast:"\u5DF2\u7981\u7528",mcpConfirmDelete:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5 MCP \u670D\u52A1\u5668\u5417\uFF1F",deleteConfirmTitle:"\u5220\u9664\u786E\u8BA4",deleteSuccess:"\u5220\u9664\u6210\u529F",collapseTools:"\u6536\u8D77 {count} \u4E2A\u5DE5\u5177",viewTools:"\u67E5\u770B {count} \u4E2A\u5DE5\u5177",operationFailed:"\u64CD\u4F5C\u5931\u8D25: {error}",sizeBytes:"\u5927\u5C0F: {size} \u5B57\u8282",skillConfirmDelete:'\u786E\u5B9A\u8981\u5220\u9664\u6280\u80FD "{name}" \u5417\uFF1F',skillEnabledToast:'\u5DF2\u542F\u7528\u6280\u80FD "{name}"',skillDisabledToast:'\u5DF2\u505C\u7528\u6280\u80FD "{name}"',skillInfoFailed:"\u83B7\u53D6\u6280\u80FD\u4FE1\u606F\u5931\u8D25: {error}",skillRunning:'\u6B63\u5728\u8FD0\u884C\u6280\u80FD "{name}"...',skillContentFailed:"\u83B7\u53D6\u6280\u80FD\u5185\u5BB9\u5931\u8D25",skillGetFailed:"\u83B7\u53D6\u5931\u8D25: {error}",skillsReloaded:"\u5DF2\u91CD\u65B0\u52A0\u8F7D {count} \u4E2A\u6280\u80FD",skillsReloadFailed:"\u91CD\u65B0\u52A0\u8F7D\u5931\u8D25: {error}",emptyAgentNotConnectedTitle:"\u4EE3\u7406\u672A\u8FDE\u63A5",emptyAgentNotConnectedDescMcp:"\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300DTab \u4E2D\u8FDE\u63A5 Agent \u670D\u52A1\u540E\uFF0C\u518D\u914D\u7F6E MCP \u670D\u52A1\u5668",emptyNoMcpTitle:"\u6682\u65E0 MCP \u670D\u52A1\u5668",emptyNoMcpDesc:"\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u6DFB\u52A0 MCP \u670D\u52A1\u5668\uFF0C\u6269\u5C55 AI \u52A9\u624B\u7684\u5DE5\u5177\u80FD\u529B",emptyAgentNotConnectedDescSkill:"\u8BF7\u5148\u5728\u300C\u4EE3\u7406\u300DTab \u4E2D\u8FDE\u63A5 Agent \u670D\u52A1\u540E\uFF0C\u518D\u7BA1\u7406\u6280\u80FD",emptyNoSkillTitle:"\u6682\u65E0\u6280\u80FD",emptyNoSkillDesc:"\u652F\u6301\u4E24\u79CD\u6280\u80FD\u7C7B\u578B\uFF1A<br><strong>Workflow \u6280\u80FD</strong>\uFF1A\u5BFC\u5165 JSON \u6587\u4EF6\uFF08\u786E\u5B9A\u6027\u81EA\u52A8\u5316\u6D41\u7A0B\uFF09<br><strong>Agent \u6280\u80FD</strong>\uFF1A\u5BFC\u5165 SKILL.md \u76EE\u5F55/Zip/URL\uFF08AI \u80FD\u529B\u6269\u5C55\uFF09",mcpIdPlaceholder:"\u670D\u52A1\u5668 ID",mcpIdPlaceholderUnique:"\u670D\u52A1\u5668 ID\uFF08\u552F\u4E00\u6807\u8BC6\uFF09",mcpNamePlaceholder:"\u663E\u793A\u540D\u79F0",mcpEnvVars:"\u73AF\u5883\u53D8\u91CF",mcpEnvVarsHint:"\uFF08\u4EC5 stdio \u4F20\u8F93\u9700\u8981\uFF0C\u654F\u611F\u503C\u4F18\u5148\u5728 shell \u914D\u7F6E\u4E2D export\uFF09",mcpAddVar:"+ \u6DFB\u52A0\u53D8\u91CF",mcpConnected:"\u5DF2\u8FDE\u63A5",mcpDisconnected:"\u672A\u8FDE\u63A5",mcpToggleEnabled:"\u542F\u7528\u4E2D\uFF0C\u70B9\u51FB\u505C\u7528",mcpToggleDisabled:"\u5DF2\u505C\u7528\uFF0C\u70B9\u51FB\u542F\u7528",mcpDisconnectBtn:"\u65AD\u5F00",mcpConnectBtn:"\u8FDE\u63A5",mcpVarNamePlaceholder:"\u53D8\u91CF\u540D",mcpVarValuePlaceholder:"\u503C",mcpToggleEye:"\u663E\u793A/\u9690\u85CF",mcpRemoveRow:"\u5220\u9664\u6B64\u884C",mcpHeaderNamePlaceholder:"Header \u540D",mcpHeaders:"\u8BF7\u6C42\u5934 (Headers)",mcpHeadersHint:"\uFF08HTTP \u4F20\u8F93\u65F6\u9644\u52A0\u7684\u8BF7\u6C42\u5934\uFF0C\u5982 Authorization\u3001X-API-Key \u7B49\uFF09",mcpAddHeader:"+ \u6DFB\u52A0\u8BF7\u6C42\u5934",transportStdioTitle:"\u5B50\u8FDB\u7A0B\u901A\u4FE1 (npx/python \u7B49)",transportSseTitle:"Server-Sent Events (HTTP GET \u957F\u8FDE\u63A5 + POST \u53D1\u6D88\u606F)",transportStreamableHttpTitle:"MCP \u5B98\u65B9\u63A8\u8350 HTTP \u4F20\u8F93 (POST + GET SSE)",transportWebsocketTitle:"WebSocket \u53CC\u5411\u901A\u4FE1",mcpCommandPlaceholder:"\u547D\u4EE4\u8DEF\u5F84\uFF0C\u5982 npx\u3001python",mcpArgsPlaceholder:"\u53C2\u6570\uFF0C\u7A7A\u683C\u5206\u9694",mcpCustomHeadersCount:"{count} \u4E2A\u81EA\u5B9A\u4E49\u8BF7\u6C42\u5934",mcpAddFailedShort:"\u6DFB\u52A0\u5931\u8D25",mcpDeleteFailedShort:"\u5220\u9664\u5931\u8D25",mcpConnectFailedShort:"\u8FDE\u63A5\u5931\u8D25",mcpDisconnectFailedShort:"\u65AD\u5F00\u5931\u8D25",mcpOperationFailedShort:"\u64CD\u4F5C\u5931\u8D25",workflowSkillsTitle:"Workflow \u6280\u80FD\uFF08\u81EA\u52A8\u5316\u6D41\u7A0B\uFF09",agentSkillsTitle:"Agent \u6280\u80FD\uFF08AI \u80FD\u529B\u6269\u5C55\uFF09",stepCount:"{count} \u6B65\u9AA4",resourceCount:"{count} \u8D44\u6E90",expand:"\u5C55\u5F00",run:"\u8FD0\u884C",enable:"\u542F\u7528",disable:"\u505C\u7528",builtin:"\u5185\u7F6E",moreCount:"+{count} \u66F4\u591A",editSkillMd:"\u7F16\u8F91 SKILL.md",viewDetails:"\u67E5\u770B\u8BE6\u60C5",required:"*\u5FC5\u586B",optional:"\u9009\u586B",runSkillTitle:'\u8FD0\u884C\u6280\u80FD "{name}"',fillParamsHint:"\u8BF7\u586B\u5199\u4EE5\u4E0B\u53C2\u6570\u540E\u8FD0\u884C\uFF1A",defaultParamHint:" (\u9ED8\u8BA4: {default})",noExecutionResult:"\u65E0\u6267\u884C\u7ED3\u679C",conditionNotMetSkipped:"\u6761\u4EF6\u4E0D\u6EE1\u8DB3\uFF0C\u5DF2\u8DF3\u8FC7",executionSuccess:"\u6267\u884C\u6210\u529F",executionFailed:"\u6267\u884C\u5931\u8D25",truncated:"... (\u5171 {count} \u5B57\u7B26\uFF0C\u5DF2\u622A\u65AD)",executionComplete:"\u6267\u884C\u5B8C\u6210",executionSummary:"{success} \u6210\u529F, {fail} \u5931\u8D25, {skip} \u8DF3\u8FC7",skillRunResultTitle:'\u6280\u80FD "{name}" {status}',skillImportFailedShort:"\u5BFC\u5165\u5931\u8D25",skillDeleteFailedShort:"\u5220\u9664\u5931\u8D25",skillOperationFailedShort:"\u64CD\u4F5C\u5931\u8D25",exportSkill:"\u5BFC\u51FA",exportingSkill:"\u5BFC\u51FA\u4E2D...",skillExported:'\u6280\u80FD "{name}" \u5BFC\u51FA\u6210\u529F',skillExportFailed:"\u5BFC\u51FA\u5931\u8D25: {error}",invalidSkillDataFormat:"\u65E0\u6548\u7684\u6280\u80FD\u6570\u636E\u683C\u5F0F",editAgentSkill:"\u7F16\u8F91 Agent \u6280\u80FD",newAgentSkill:"\u65B0\u5EFA Agent \u6280\u80FD",skillNameLabel:"\u6280\u80FD\u540D\u79F0",skillDescLabel:"\u63CF\u8FF0",skillVersionLabel:"\u7248\u672C",skillMarkdownLabel:"SKILL.md \u5185\u5BB9\uFF08Markdown\uFF09",skillDescPlaceholder:"\u7B80\u8981\u63CF\u8FF0\u6B64\u6280\u80FD\u7684\u529F\u80FD\uFF08\u5EFA\u8BAE\u7528\u201C\u5728\u9700\u8981\u2026\u2026\u65F6\u4F7F\u7528\u201D\u53E5\u5F0F\u5199\u660E\u89E6\u53D1\u573A\u666F\uFF0C\u4FBF\u4E8E\u6A21\u578B\u6309\u9700\u81EA\u52A8\u52A0\u8F7D\uFF09",skillDescScenePlaceholder:"\u7B80\u8981\u63CF\u8FF0\u6B64\u6280\u80FD\u7684\u529F\u80FD\u548C\u9002\u7528\u573A\u666F\uFF08\u5EFA\u8BAE\u7528\u201C\u5728\u9700\u8981\u2026\u2026\u65F6\u4F7F\u7528\u201D\u53E5\u5F0F\uFF0C\u4FBF\u4E8E\u6A21\u578B\u6309\u9700\u81EA\u52A8\u52A0\u8F7D\uFF09",skillNameExamplePlaceholder:"e.g. code-review \u6216 deploy-to-server",skillMarkdownPlaceholder:`# \u6280\u80FD\u540D\u79F0
12
12
 
13
13
  ## \u4F55\u65F6\u4F7F\u7528
@@ -31,7 +31,7 @@ Tab URL: {url}`,tabInfoError:`
31
31
 
32
32
  (Unable to get tab info: {error})`,untitled:"Untitled",unknownUrl:"Unknown"},settings:{docTitle:"AI Helper - Settings",language:"Interface Language",languageChanged:"Language changed. Some pages will update after refresh.",appearance:"Appearance",themeHint:"Theme applies instantly and syncs across all pages",usageTips:"Rotate usage tips above the input box",usageTipsHint:`Cycles plugin and AI usage tips; hover to pause and read the full text, click "Don't show again" to turn it off`,themeSystem:"Follow system",themeLight:"Light",themeDark:"Dark",pageTitle:"AI Helper Settings",subtitle:"Web AI Assistant - OpenAI Compatible API",importConfigTitle:"Import Settings",exportConfigTitle:"Export Settings",tabBasic:"Basic",tabReact:"Reasoning",tabToolbar:"Selection",tabAgent:"Agent",tabToolbox:"Extension",tabVoice:"Voice",saveConfig:"Save Settings",apiBaseHint:"(Select from dropdown, or enter manually)",addApiBaseTitle:"Add custom API Base URL",addAddress:"+ Add address",apiBaseUrlPlaceholder:"API Base URL (e.g. https://api.example.com/v1)",apiBaseLabelPlaceholder:"Label/Note (optional, e.g. My proxy)",confirmAdd:"Confirm Add",requiredHint:"(required)",apiKeyHint:"Please obtain the API Key from your LLM provider and enter it here. Keep your API Key safe and avoid leakage.",apiKeyPlaceholder:"Enter your API Key",toggleApiKey:"Show/Hide API Key",modelName:"Model name",modelNameHint:"(Select from dropdown, or click the button below to add a new model)",selectModelPlaceholder:"Select a model below",noMatch:"No matches",addModelTitle:"Add custom model",addModel:"+ Add model",fetchModels:"\u27F3 Fetch from API",fetchModelsTitle:"Fetch available models from the current provider API",fetchModelsLoading:"Fetching\u2026",fetchModelsNeedConfig:"Please fill in API Base URL and API Key first",fetchModelsSuccess:"\u2705 Fetched {total} models ({added} new)",fetchModelsEmpty:"No models returned, please add manually",fetchModelsFailed:"\u274C Fetch failed, check config or add manually",fetchModelsAuthFailed:"\u274C Authentication failed, check API Key",modelNameInputPlaceholder:"Model name (e.g. gpt-4o)",contextWindowPlaceholder:"Context window size (tokens)",contextWindowHint:"128K=128000, 200K=200000, 1M=1000000; leave empty to auto-detect",enableImageInput:"Enable image recognition",enableImageInputHint:"(When enabled, you can send images to multimodal models in the sidebar)",imageApiBaseHint:"(Select from dropdown, or enter manually; leave empty to use base model config)",addImageApiBaseTitle:"Add custom image API Base URL",useBaseModelPlaceholder:"Leave empty to use base model config",imageApiKeyHint:"(optional; leave empty to use base model config)",imageApiKeyPlaceholder:"Enter image recognition API Key",imageModelNameHint:"(Models with multimodal vision capability; select from list or add a new one; leave empty to use base model name)",useBaseModelPlaceholderShort:"Leave empty to use base model",addImageModelTitle:"Add custom image recognition model",systemPrompt:"System prompt",systemPromptHint:"(optional; leave empty to use default)",resetToDefault:"Reset to default",systemPromptTip:"\u{1F4A1} Tip: The system prompt defines the behavior and role of the AI assistant.",collapse:"\u2212 Collapse",modelNameRequired:"Please enter a model name",modelAdded:"Model added",imageModelAdded:"Image model added",apiBaseSwitched:"API Base URL switched. Make sure the API Key is valid.",apiBaseRequired:"Please enter an API Base URL",urlInvalid:"Invalid URL format",apiBaseAdded:"API Base URL added",imageApiBaseSwitched:"Image API Base URL switched",imageApiBaseAdded:"Image API Base URL added",loopTimeoutRangeError:"Overall loop timeout must be between 10 minutes and 24 hours",apiKeyEmpty:"API Key cannot be empty",saveFailed:"Save failed: {message}",saveSuccess:"Configuration saved successfully!",deleteModel:"Delete this model",ctxSliderIconTitle:"Set context window for this model",ctxSliderAuto:"Auto",ctxSliderAutoTitle:"Reset to auto-detect",ctxBadgeAutoTip:"Auto-inferred (not set manually)",ctxSliderResetAuto:"Reset to auto",deleteApiBase:"Delete this address",providerConfig:"Provider Profiles",providerConfigHint:"(Takes effect immediately after switching; each profile remembers its own API base, key and model list)",profileScopeHint:"The settings below are saved to provider profile \u201C{name}\u201D and follow profile switching",newProfile:"+ New",newProfileTitle:"Create an empty provider profile",profileNameTitle:"New Provider Profile",saveAsProfile:"Save As",saveAsProfileTitle:"Save current settings as a new provider profile",renameProfile:"Rename",renameProfileTitle:"Rename current profile",deleteProfile:"Delete",deleteProfileTitle:"Delete current profile",reopenWizard:"Reopen setup wizard",reopenWizardTitle:"Reopen the first-run setup wizard in the side panel",reopenWizardHint:"Reset done. Open the side panel to see the setup wizard",profileNamePlaceholder:"Profile name (e.g. DeepSeek Official, My Proxy)",profileNameRequired:"Please enter a profile name",deleteProfileConfirm:"Are you sure you want to delete provider profile \u201C{name}\u201D? This cannot be undone.",atLeastOneProfile:"At least one provider profile must be kept",profileSwitched:"Switched to {name}",profileCreated:"Profile {name} created",profileRenamed:"Renamed to {name}",profileDeleted:"Profile {name} deleted",profileCopySuffix:"Copy",completionFeedbackTitle:"Completion Feedback",completionSound:"Play sound (different tones for success and failure)",completionSoundHint:"Success: bright rising triad (Do-Mi-Sol); Failure: low square-wave double tone; user cancellation is silent",completionConfetti:"Play confetti animation",completionConfettiHint:"Only plays on successful completion; not on failures or cancellations",completionNotification:"Show a desktop notification when a task completes or fails",completionNotificationHint:"Only shown when the side panel is out of view; success auto-dismisses, failures stay until dismissed; click the notification to open the side panel",scheduledNotification:"Show a desktop notification when a scheduled task completes or fails",scheduledNotificationHint:"Scheduled tasks run in the background with no sound or other alerts, so notifications always appear when enabled; on by default, can be turned off",interactionNotification:"Remind me when AI needs confirmation or clarification",interactionNotificationHint:"Shows a desktop reminder while the reasoning loop waits for your action; stays quiet when the side panel is in view; click the notification to open the side panel",showMessageTimestamp:"Show message timestamps",showMessageTimestampHint:"(Shows the asking time below each user question; time only for today, date included for other days)",queueAutoCarry:"While a task is running, automatically carry queued messages into it",queueAutoCarryHint:"Never interrupts the current task: at a natural breakpoint in the reasoning loop the head of the queue is merged into the current round, one item at a time. Turn this off to only use the manual \u26A1 button.",queueAutoCarryEveryN:"At least every",queueAutoCarryEveryNUnit:"rounds",queueAutoCarryEveryNHint:"(at most 3 items per task, so the queue cannot crowd out the original task)",sidePanelScopeTitle:"Side Panel Scope",sidePanelScopeGlobal:"Global mode",sidePanelScopeTab:"Tab-bound mode",sidePanelScopeGlobalHint:"All tabs in the same window share one side panel instance, and it stays visible when you switch tabs",sidePanelScopeTabHint:"Side panel shows only on the tabs where you opened it; you can open it on multiple tabs, auto-hides when switching away and restores when switching back",autoGroupTabs:"Group tabs where the side panel is opened",autoGroupTabsHint:"Puts those tabs into a colored tab group for easy identification (tabs move to the group position), and removes a tab when its side panel is closed or you switch back to Global mode"},header:{docTitle:"AI Helper - Chat",themeToggle:"Theme: {theme}",settingsTitle:"Extension Settings",switchAgent:"Switch Assistant",defaultAssistant:"\u{1F916} Default Assistant",notConnected:"Not Connected",agentAddress:"Agent Address",copyAgentAddress:"Copy agent address",refreshAgentStatus:"Refresh agent status",restart:"Restart",restartAgent:"Restart agent service",update:"Update",updateAndRestart:"Update and restart agent",stop:"Stop",stopAgent:"Stop agent service",addEditAgent:"Add/Edit Agent",addEditAssistant:"Add/Edit Assistant",manageKnowledge:"Manage Knowledge",moreActions:"More actions",clearChat:"Clear Conversation",exportChat:"Export Conversation",importChat:"Import Conversation",prototypeLibrary:"Prototype Library",tokenStats:"Token Stats",auditLog:"Command Audit",shortcuts:"Shortcuts",versionInfo:"Version Info",detachTitle:"Detach to standalone window",attachTitle:"Attach back to side panel"},detach:{taskRunning:"Task is running, please wait until it finishes",attachFailed:"Failed to attach back to the side panel. Open a web page and try again."},session:{allSessions:"All Sessions",newSessionTitle:"New Session (Alt+N)",searchPlaceholder:"Search sessions...",closeAll:"Close All",renameTitle:"Rename Session",renamePlaceholder:"Enter session name",confirmCloseTitle:"Confirm Close Session",confirmCloseMessage:"Are you sure you want to close this session? This action cannot be undone."},chat:{welcomeTitle:"Start a Conversation",welcomeSubtitle:"Enter your question and the AI assistant will help you",askBasedOnSelection:"Ask based on selection",confirmClearTitle:"Confirm Clear",confirmClearMessage:"Are you sure you want to clear all conversation history?",confirmDeletePromptTitle:"Confirm Delete",confirmDeletePromptMessage:"Are you sure you want to delete this prompt?",requestFailed:"Request failed: {message}",networkError:"Network error, please check your connection and try again",timeoutError:"Request timeout: {message}",taskInterruptedSwRestart:"Background service restarted unexpectedly, API call interrupted",quote:"Quote",export:"Export",quoteTitle:"Quote this message",quotedPrefix:"\u{1F4AC} Quoted: {text}",navPrevTitle:"Previous question (Alt+\u2191), Ctrl/Cmd+click to go to top",navNextTitle:"Next question (Alt+\u2193), Ctrl/Cmd+click to go to bottom",navQuestionTitle:"Questions",navPosition:"{current} / {total}",navPinLabel:"Pin",navUnpinLabel:"Unpin",navHotzoneTitle:"Message navigation: hover or Tab-focus to open questions, click/Enter to pin, Esc to collapse",navQuestionNoText:"(image/attachment message)",navSearchPlaceholder:"Search questions\u2026",navNoMatch:"No matching questions",navQuestionImageCount:"{count} image(s)"},toolPanel:{title:"Tool Settings",searchPlaceholder:"Search tool name or description...",categoryAll:"All",preselect:"Tool Pre-filter",preselectHint:`On: The AI first decides which tools might be useful and only sends relevant ones. Saves tokens, but if it misjudges and misses a key tool, the task may fail.
33
33
  Off: All enabled tools are sent at once. No judgment overhead, faster start, but too many tools waste tokens.`,confirmHint:`When enabled, the model will show a confirmation dialog for sensitive operations (tool calls, command execution, etc.) and wait for user approval.
34
- When disabled, all operations will be executed directly without confirmation.`,clearSearch:"Clear search",configBtnTitle:"Click to open detailed tool settings"},toolStats:{title:"\u{1F4CA} Tool Usage Stats",subtitle:"Call frequency, success rate, average duration per tool",usedTools:"Used Tools",calls:"Calls",success:"Success",successRate:"Success Rate",avgDuration:"Avg Duration",unusedTools:"Unused Tools",noData:"No data available",btnTitle:"Tool Usage Stats",clearTitle:"Clear stats"},tokenStatsPanel:{title:"\u{1FA99} Token Usage Stats",subtitle:"Per ReAct session & overall dimensions",currentSession:"Current Session",globalStats:"Global Stats",recentCalls:"Recent Calls",noData:"No data available",tabTrend:"Trend",tabDistribution:"Distribution",tabGlobal:"Global",timeRangeToday:"Today",timeRangeWeek:"Week",timeRangeMonth:"Month",timeRangeAll:"All",globalSparklineTitle:"Last 30 Days Trend"},customConfirm:{defaultTitle:"Confirm Action"},promptDialog:{title:"Notice"},promptManager:{title:"Prompt Manager",codePlaceholder:"Code (e.g. code)",contentPlaceholder:"Prompt content",addPrompt:"Add Prompt"},clarify:{title:"Clarification Needed",selectOption:"Please select an option",inputPlaceholder:"Enter additional info (optional)...",customPlaceholder:"Enter your custom content...",additionalTitle:"Additional Notes (optional)",additionalHint:"If you have more relevant information, you can add it here",remainingTime:"Time remaining: 3:00"},prototype:{previewTitle:"UI Prototype Preview",continueOptimize:"\u{1F4A1} Continue Optimizing",libraryTitle:"\u{1F3A8} Prototype Library",searchPlaceholder:"Search prototypes...",sortTimeNew:"Time (new\u2192old)",sortTimeOld:"Time (old\u2192new)",sortTitleAz:"Title (A\u2192Z)",sortTitleZa:"Title (Z\u2192A)",empty:"No prototypes",zoomOut:"Zoom out (Ctrl+scroll)",zoomReset:"Click to reset",resetZoom:"Click to reset",zoomIn:"Zoom in (Ctrl+scroll)",download:"Download",openInTab:"Open in new tab",openInNewTab:"Open in new tab",openLocal:"Open in local browser"},shortcuts:{title:"\u2328\uFE0F Shortcuts",sendMessage:"Send message",newLine:"New line",inputHistory:"Input history (in input box)",editQueueTail:"Edit the last queued task (when the input is empty)",injectAdHoc:"Insert into the running task (not queued)",stopAndSend:"Stop the current task and run the queue now (right-click / long-press stop)",clearInput:"Clear input",voiceInput:"Voice input (start / stop)",cancelVoiceInput:"Cancel recording (takes priority while recording)",keyColumn:"Shortcut",functionColumn:"Function",platformColumn:"Platform",platformWinMac:"Win / Mac",colShortcut:"Shortcut",colFunction:"Function",colPlatform:"Platform",gotoPrev:"Jump to previous question",gotoNext:"Jump to next question",scrollTop:"Scroll to top of conversation",scrollBottom:"Scroll to bottom of conversation",navOpenByTab:"Focus the left handle and open the question list",navListArrows:"Move between question items (Enter to jump)",navPinToggle:"Pin / unpin the question list",navEscCollapse:"Collapse question list / unpin (clears search text first)",fullScreenshot:"Full-page screenshot",areaScreenshot:"Area screenshot",regionScreenshot:"Area screenshot",toggleToolConfig:"Open/close tool settings",openShortcutsPanel:"Open shortcuts panel",openShortcutPanel:"Open shortcuts panel",newSession:"New session",closeSession:"Close current session",closeCurrentSession:"Close current session",editLastMessage:"Edit last user message",messageFullscreen:"View answer fullscreen / exit",todoToggle:"Toggle todo panel",todoAdd:"Focus the todo input",todoSelect:"Move between todo items (inside panel)",todoNote:"Add a note to the selected todo",todoLink:"Add a link to the selected todo",todoDone:"Mark done / back to todo",todoPriority:"Cycle priority"},versionInfo:{title:"\u2139\uFE0F Version Info",version:"Version",tag:"Git Tag",commit:"Git Commit",publishedAt:"Published At",website:"Website",discussions:"Discussions",reportIssue:"Report Issue",githubRepo:"GitHub Repository",giteeRepo:"Gitee Repository",copy:"Copy Info"},imageEditor:{editImage:"Edit Image",brush:"Brush (B)",rect:"Rectangle (R)",ellipse:"Ellipse (E)",arrow:"Arrow (A)",line:"Line (L)",undo:"Undo (Ctrl+Z)",confirm:"Confirm (Enter)",cancel:"Cancel (Esc)",downloadImage:"Download image",prev:"Previous",next:"Next",prevImage:"Previous",nextImage:"Next",brushSize:"Brush size",eraser:"Eraser"},chatExport:{selectCurrentOnly:"Select Current Only",selectedCount:"{count} selected",exportSelected:"Export Selected",title:"Export Conversations",exportSessions:"Export Conversations"},agentEditor:{createNew:"Create New Assistant",namePlaceholder:"Assistant name",icon:"Icon",descPlaceholder:"What is this assistant good at?",templateQuickCreate:"Quick create from template",promptPlaceholder:"You are a professional...",availableTools:"Available Tools",availableSkills:"Available Skills",modelSettings:"Model Settings (leave empty to use global settings)",modelPlaceholder:"Select or enter model name",allowSubAgent:"Allow being scheduled as a sub-assistant",name:"Name",desc:"Short description",nameLabel:"Name",descLabel:"Short description",selectTemplate:"-- Select template (optional) --",systemPrompt:"System prompt (defines the assistant role and capabilities)",inheritGlobalToolsHint:"(unchecked: inherit global tool settings)",inheritGlobalSkillsHint:"(unchecked: use all enabled skills)",toolsInheritGlobal:"(unchecked: inherit global tool settings)",skillsInheritAll:"(unchecked: use all enabled skills)",noSetting:"No setting (use global)",noPreset:"No setting (use global)",deleteTitle:"Delete this assistant",deleteAgentTitle:"Delete this assistant",toolSearchPlaceholder:"Search tool name or description",skillSearchPlaceholder:"Search skill name or description",selectedOnlyFilter:"Selected only",showAllTools:"Show all tools",showAllSkills:"Show all skills"},auditLog:{title:"\u{1F4CB} Command Audit",filterAll:"All",filterCommand:"Command Execution",filterFile:"File Operation",filterAuth:"Authentication",filterSecurity:"Security",filterSystem:"System",recent50:"Last 50",recent100:"Last 100",recent200:"Last 200",recent500:"Last 500",searchPlaceholder:"Search action name, command or path...",categoryFilter:"Category filter:",countLabel:"Count:",clearSearch:"Clear",empty:"No audit logs",noLogs:"No audit logs",defaultRange:"Defaults to querying the last 7 days of audit logs"},workdirTag:{sessionScope:" (this session)",defaultScope:" (default)",switchTitle:"Switch working directory for this session",restoreDefault:"Restore default directory",setAsAgentDefault:"Also set as the agent default directory (affects unbound sessions)",setAsAgentDefaultHint:"When checked, clicking a directory in the list (or Switch) also makes it the agent default",pathMissing:"Directory does not exist or is not accessible, please choose again",agentSwitched:"Agent switched; this session now falls back to the new agent default directory",lockedHint:"Cannot switch working directory while a task is running",restoredDefault:"Restored to the default directory",tagHint:"Click to switch the working directory for this session"},input:{atHint:"Prompts (click) / Pages (Ctrl/Cmd+click)",placeholder:"Type '/' for prompts, '@' to switch assistant/page, '$' to pick workspace file, '\u2191\u2193' for history, Esc to clear",send:"Send",clearSelection:"Clear selected content",pageLabel:"\u{1F310} Page",clearPage:"Clear page",mcpLabel:"\u{1F50C} MCP",clearMcp:"Clear MCP service",skillLabel:"\u{1F9E9} Skill",clearSkill:"Clear skill",screenshotTitle:"Capture current page",attachFileTitle:"Upload file (PDF/Word/Excel/Text)",screenshot:"Capture current page",uploadFile:"Upload file (PDF/Word/Excel/Text)",aiDisclaimer:"AI-generated content, for reference only.",addMenuTitle:"Add content",addMenuPrompt:"Prompts",addMenuScreenshot:"Screenshot",addMenuScreenshotFull:"Full page capture",addMenuScreenshotFullDesc:"Capture the current visible page",addMenuScreenshotRegion:"Area capture",addMenuScreenshotRegionDesc:"Drag to select an area on the page",addMenuFile:"Attachment",addMenuSwitches:"Toggles"},model:{selectModel:"Select model",temperature:"Temperature"},sectionSelect:{searchPlaceholder:"Type to filter\u2026",noMatch:"No matches"},provider:{label:"API Provider",manage:"Manage provider profiles"},promptSelector:{prompts:"Prompts",skills:"Skills",pages:"Pages",agents:"Assistants",proxies:"Agents",knowledge:"Knowledge",pagesCount:"Pages ({count})",agentsCount:"Assistants ({count})",proxiesCount:"Agents ({count})",knowledgeCount:"Knowledge ({count})",headerHint:"Arrow keys to switch \xB7 Enter to send \xB7 Ctrl+Enter to insert into input",agentHeaderHint:"Arrow keys to switch \xB7 Enter to select & close \xB7 Esc to cancel",switchHint:"Arrow keys to switch \xB7 Enter to send \xB7 Ctrl+Enter to insert into input",switchHintMulti:"Arrow keys to switch \xB7 Enter to select & close \xB7 Ctrl+Enter to multi-select / toggle \xB7 Esc to cancel",mergedTitle:"Aggregated Search",mergedTitleCount:"Aggregated Search ({count})"},memory:{label:"Memory",historyLimit:"Memory History Limit",configEntry:"Open memory settings",hint:"More memory means more coherent context, but higher token consumption; too little memory may prevent accurate answers based on previous context.",unlimited:"Unlimited",recent200:"Last 200",recent100:"Last 100",recent50:"Last 50",recent20:"Last 20",recent10:"Last 10",recent5:"Last 5",recent2:"Last 2",custom:"Custom:",unit:"entries",autoCompactLabel:"Auto-compact",autoCompactHint:"Compact history into a summary once before sending when context usage reaches 85% (adds one summarization call).",persistSummaryLabel:"Save summary to memory",persistSummaryHint:"Store the compaction summary as cross-session long-term memory; repeated compaction in one session updates the same entry."},goal:{label:"Goal",toggleHint:"When enabled, this task runs as a session goal that keeps pushing itself until it is met, judged impossible, or runs out of budget",statusActive:"Running",statusPaused:"Paused",statusAchieved:"Achieved",statusUnmet:"Unmet",statusBudgetLimited:"Budget used up",statusCleared:"Cleared",turnsUsed:"Attempted {turns} times",turnsLeft:"{turns} left",constraints:"+{count} more",attachmentImage:"{count} image(s)",edit:"Edit",pause:"Pause",resume:"Resume",clear:"Clear",editTitle:"Edit goal",editPrompt:"Describe the goal in one sentence, as specific as possible:",disabledHint:"Goal mode is disabled in settings",startHint:"With goal mode on, the first message you send becomes the goal",clearConfirm:"Clear the current goal? Its checkpoint (task state) will be discarded too.",updated:"Goal updated",approvalRevoked:'Approval revoked: the goal is paused and the \u{1F3AF} toggle is off. Re-arm \u{1F3AF} and press "Resume" to continue.',pausedToast:'Goal paused: your next message resumes it. To stop for good, turn the "Goal" toggle off.',pausedToastChipOff:'Goal paused: your next message will not resume it. Press "Resume" or switch the "Goal" toggle back on.',pausedHintInline:"send a message to continue",resumeBlocked:"The turn limit is already at its hard cap ({turns}). Edit the objective (which resets the counter) or clear the goal to start over.",autoApproveHint:"Goal mode is auto-approving sensitive operations (agent-side blocklisted commands are still hard-blocked). Click to revoke.",intentDetected:"Goal mode detected from your wording \u2014 this turn will keep advancing on its own (sensitive operations still ask for confirmation). Click Clear on the goal bar to undo.",intentHint:"Looks like you want this task to keep pushing until it is met \u2014 arm the \u{1F3AF} toggle to enable goal mode (it will not be enabled for you)."},toggle:{memoryHint:"When enabled, previous Q&A will be used as context (all by default, configurable count)",toolsHint:"Master tool switch: click to enable or disable tool calls",selectionHint:"When enabled, select text on page to quickly ask questions",tools:"Tools",selection:"Selection",modelSettings:"Model Settings",toolsConfigTitle:"Click to open detailed tool settings"},selection:{clearSelection:"Clear selected content",page:"\u{1F310} Page",clearPage:"Clear page",clearMcp:"Clear MCP service",skill:"\u{1F9E9} Skill",clearSkill:"Clear skill"},toolCategory:{page_interaction:"\u{1F5B1}\uFE0F Page Interaction",form_operation:"\u{1F4DD} Form Operation",content_extraction:"\u{1F4C4} Content Extraction",tab_management:"\u{1F4D1} Tab Management",bookmark_history:"\u{1F516} Bookmarks & History",storage_management:"\u{1F4BE} Storage Management",network_request:"\u{1F310} Network Request",media_output:"\u{1F4F7} Media & Output",debug_dev:"\u{1F527} Debug & Dev",ai_collaboration:"\u{1F916} AI Collaboration",local_agent:"\u{1F5A5}\uFE0F Agent",mcp:"\u{1F50C} MCP",knowledge:"\u{1F4DA} Knowledge"},presetMode:{preciseLabel:"Precise",preciseTip:"Bug fixing, debugging, accurate answers (low randomness, good for fixing bugs)",generalLabel:"General",generalTip:"Works well for most cases (balanced stability & flexibility, good for scripts)",divergentLabel:"Divergent",divergentTip:"Multiple approaches to compare (good for refactoring, solution comparison)",creativeLabel:"Creative",creativeTip:"Copywriting, naming, brainstorming (high randomness, not for production code)"},tool:{agent_file:"File operations on agent machine (read/write/list/delete/download)",agent_trash:"Manage agent trash bin (list/restore deleted items)",agent_exec:"Execute shell commands on agent machine",agent_search:"Search files or content on agent machine",agent_skill:"Load or run a Skill",manage_agent:"List or switch paired AI agents",manage_todo:"Create, list, update or delete todos",manage_schedule:"Create, list, update or delete scheduled tasks",exec_log:"Extract execution logs to analyze successful paths and failure lessons",clarify_question:"Ask user a clarifying question with options",plan_task:"Plan and decompose complex task into subtasks",search_chats:"Search past conversation history",preview_ui:"Preview or retrieve a UI prototype",dispatch_task:"Dispatch task to a sub-agent",take_note:"Record a working note, survives context compaction",interact_element:"Click, hover or type into page elements",scroll_to:"Scroll page to target (element/coordinates/text)",wait_element:"Wait for element to appear/disappear/change visibility",wait_navigation:"Wait for page navigation to complete",handle_dialog:"Handle page dialogs (alert/confirm/prompt)",fill_form:"Fill multiple form fields",keyboard_input:"Type text or press keys (bypasses controlled inputs)",file_upload:"Upload file to page",select_dropdown:"Dropdown selection (supports custom components)",page_content:"Get page text or HTML content",extract_data:"Extract structured data (tables/links/images/forms/metadata)",query_elements:"Query interactive elements and return a snapshot with refs",search_in_page:"Find text in current page content",iframe_content:"Get content of an iframe in the page",scroll_collect:"Scroll to load page content",read_image:"Read image content (attachments, pasted images, local files)",notify:"Show browser notification",clipboard:"Clipboard operations (copy/paste/get selection)",download_file:"Download file to local",qrcode:"Generate QR code",capture_page:"Capture page screenshot (download/analyze/both)",inject_css:"Inject styles or highlight text",agent_memory:"Long-term memory management (store/recall/manage)",manage_storage:"Read/write localStorage or sessionStorage",manage_cookies:"Manage browser cookies",fetch_url:"Send HTTP GET/POST request to a URL",manage_tab:"Manage tabs (open/switch/close/reload)",list_tabs:"Get list of open tabs",search_browser_data:"Search browser bookmarks or history",debug_page:"Advanced CDP debugging (input, network, JS, screenshots, emulation)",knowledge_search:"Search knowledge bases for relevant content (read-only)",knowledge_ingest:"Import text/local file/web page into a knowledge base (write operation)",knowledge_list:"List available knowledge bases and document counts"},react:{title:"\u2699\uFE0F Reasoning Loop Settings",subtitle:"Control behavior parameters of the AI reasoning loop (advanced)",goalMode:"Goal mode",goalModeHint:"(independently evaluates whether the goal is truly met after the model declares done, and auto-continues while it is not, until achieved / impossible / budget exhausted)",goalModeDesc1:"When enabled, a \u{1F3AF} toggle appears in the side panel input area; the turn you arm it becomes a session goal that keeps advancing on its own. Evaluation is one separate short call to the current session model (temperature 0, emitting a single JSON verdict) \u2014 no second model is introduced.",goalModeDesc2:'The pace is built in: at most 20 closing attempts, with the time cap following the "Overall loop timeout" above. When a cap is hit the goal is marked "budget limited" and the scene is kept \u2014 clicking Resume grants another 20 turns; it never takes the task over and reruns it by itself.',goalModeDesc3:"When disabled: the engine evaluates nothing and continues nothing, the background refuses goal settings, and behaviour is as if Goal mode were unimplemented. Already persisted goal state is kept and can be resumed after re-enabling.",goalIntent:"Intent detection",goalIntentHint:'(detects "run this in goal mode" from the input text, zero tokens)',goalIntentDesc1:'When enabled, even without arming the \u{1F3AF} toggle, phrasing like "keep running this in goal mode until it passes" starts the goal for this turn and shows an undo notice. It is a deterministic regex check before sending \u2014 the model does not get to opt itself in.',goalIntentDesc2:"Detected goals never auto-approve sensitive operations: the authority to bypass confirmation dialogs can only be granted by you arming the toggle.",loopTimeout:"Overall loop timeout",loopTimeoutHint:"(max execution time for the entire reasoning loop; drag the slider to adjust, applies on release)",loopTimeoutMinLabel:"Min: 10 minutes",loopTimeoutMaxLabel:"Max: 24 hours",loopTimeoutSaved:"Overall loop timeout updated",durationMinutes:"{n} min",durationHours:"{n} h",durationHoursMinutes:"{hours} h {minutes} min",toolConfirmation:"Sensitive operation confirmation",toolConfirmationHint:"(confirm via dialog before the model performs sensitive operations)",enabled:"Enabled",disabled:"Disabled",toolConfirmationDesc1:"When enabled, the model will show a confirmation dialog for sensitive operations (tool calls, command execution, etc.) and wait for user approval.",toolConfirmationDesc2:"When disabled, all operations will be executed directly without confirmation.",networkAccess:"Private network access",networkAccessHint:"(controls whether tools such as fetch_url requests and manage_tab opening private pages may reach local and private-network addresses)",networkAccessDesc1:"Off by default: tools may only reach public addresses; loopback and private addresses such as 127.0.0.1, localhost and 192.168.x.x are refused outright.",networkAccessDesc2:"Even when on, each host must still be added to the allowlist below; while the list is empty every private target stays refused. Turning the switch off only collapses that block - the entries you saved are not cleared.",completionVerification:"Completion verification",completionVerificationHint:"(independently verifies subtasks against their done-criteria via objective evidence from the real page and the local agent (commands / files) after they finish, and honestly reports unmet ones)",completionVerificationDesc1:'When enabled, each subtask is independently verified against its done-criteria on completion; unmet items are honestly annotated and reported back to the model instead of defaulting to "finished equals success". Evidence is not limited to page DOM - it also covers commands run through the local agent (e.g. test/build exit codes) and file checks (existence/content). This is objective evidence collection (checking whether the environment truly reached the goal), complementing - not duplicating - the subjective self-review of AI Self-Reflection.',completionVerificationDesc2:"When disabled, subtask completion status stays byte-for-byte identical to before, with no extra evidence collection or annotation.",completionVerificationRerun:"Auto re-run on completion",completionVerificationRerunHint:"(automatically gives an unmet subtask one more attempt, bounded by retry and budget limits)",completionVerificationRerunDesc1:"When on, if independent evidence finds a subtask truly unmet, a directive listing exactly what is still missing is appended to that subtask and it runs one more round, until criteria are met or safety limits stop it (missing items must strictly shrink each round, plus retry cap, time/token budget, cancellation or timeout). Allow-tier test/build commands may be auto-run for evidence; commands needing confirmation or refused by the security policy are never force-run and are reported as evidence-unavailable. Enabling this runs commands and adds latency and token cost; off by default.",completionVerificationRerunDesc2:'When off (default), behavior is byte-for-byte identical to "annotate only, no re-run": unmet subtasks are honestly reported but never automatically re-run.',networkAllowlistTitle:"Private network allowlist",networkAllowlistDesc:"Accepts hostnames, IPs and *.example.com subdomain wildcards (no scheme or port); only the private hosts listed here are allowed through.",networkHostAddPlaceholder:"e.g. 127.0.0.1 or intranet.example.com",networkHostAdd:"Add",networkHostRemove:"Remove",networkAllowlistEmpty:"No allowed hosts yet. With the switch on, a private target is still refused unless it matches this list.",networkHostEmpty:"Enter the hostname or IP to allow",networkHostInvalid:"The entry must not contain spaces; give only the hostname or IP",networkHostExists:"This host is already in the allowlist",enableExecutionLog:"Enable execution log",enableExecutionLogHint:"(show detailed logs of API calls and tool execution to help debug and understand AI thinking)",enableExecutionLogDesc1:'When enabled, an "Execution Log" button appears under messages; click to view the detailed API call and tool execution process.',enableExecutionLogDesc2:"When disabled, the button no longer appears.",streaming:"Streaming output",streamingHint:"(when enabled, AI replies are streamed token-by-token for faster perceived response)",streamingDesc1:"When enabled, AI replies and agent-side command execution output stream in real time for faster feedback.",streamingDesc2:"If you encounter compatibility issues, disable this to fall back to one-shot output mode.",streamExpandTools:"Expand streaming tool cards by default",streamExpandToolsHint:"(when disabled, tool cards are collapsed by default; only title and status are shown, click to expand)",configGuide:"\u{1F4A1} Configuration Notes",guideReasoningLoop:"Reasoning loop",guideReasoningLoopDesc:" is the core mechanism for the AI assistant to perform multi-step reasoning and tool calls.",guideLoopCount:"Loop count",guideLoopCountDesc:": determines how many reason-act iterations the AI can perform",guideTimeout:"Timeout settings",guideTimeoutDesc:": API request / overall loop / tool execution timeouts, preventing long waits or infinite loops",guideToolConfirm:"Sensitive action confirmation",guideToolConfirmDesc:": prompts a confirmation dialog before the AI performs sensitive actions, preventing accidental operations",guideClarifyWait:"Clarification wait",guideClarifyWaitDesc:": user clarification time is not counted toward the overall loop timeout (automatically paused; not a configurable item)",guideTip:"\u2022 Adjust these parameters based on network conditions and task complexity"},reflection:{title:"AI Self-Reflection",enabled:"Enabled",subtitle:"Control the AI self-evaluation and revision behavior for task results",subtitleHint:"(control the AI self-evaluation and revision behavior for answer quality - a subjective self-review, complementing the objective evidence check of Completion verification)",desc1:"When enabled, the AI self-evaluates the result after the reasoning loop and auto-revises or re-executes when the score falls below the threshold. Especially suited to open-ended tasks without objective criteria (Q&A / writing / analysis), where Completion verification does not intervene.",desc2:"Turning this off collapses the sub-switches below; enabling reflection adds API calls, so weigh it against your needs.",postReflection:"Post-reflection",postReflectionHint:"(evaluate result quality after completion)",subtaskReflection:"Subtask reflection",subtaskReflectionHint:"(advanced feature, off by default)",configGuide:"\u{1F4A1} Reflection Configuration Notes",guidePostReflection:"Post-reflection",guidePostReflectionDesc:": after the reasoning loop ends, the AI self-evaluates the final result. If the score is below the threshold, it will automatically revise or re-execute.",guideSubtaskReflection:"Subtask reflection",guideSubtaskReflectionDesc:": performs separate evaluation for subtasks after complex task decomposition; off by default (advanced feature).",guideTip:"\u2022 Enabling reflection increases the number of API calls; weigh this against your needs"},toolbar:{title:"\u{1F527} Toolbar Settings",enabled:"Enabled",subtitle:"Manage buttons and order of the selection toolbar",iconOnly:"Compact icon-only mode (show icons only, no text)",includeContext:"Include page context when answering selections (use the surrounding paragraph and page info)",addCustomTool:"\uFF0B Add custom tool",domainBlocklistTitle:"Domain blocklist",domainBlocklistDesc:"Add domains where the toolbar should be blocked. Once blocked, the selection toolbar will not appear on those domains.",domainAddPlaceholder:"e.g. example.com (without http/https)",add:"Add",toolEditModalTitle:"Add custom tool",toolName:"Tool name",toolNamePlaceholder:"e.g. Polish, Rewrite, Code review",systemPromptLabel:"System prompt",systemPromptHint:"(defines the tool behavior)",toolPromptPlaceholder:"e.g. You are a text polishing assistant. Make the user input more fluent and professional.",builtinBadge:"Built-in",customBadge:"Custom",moveUp:"Move up",moveDown:"Move down",dragSort:"Drag to sort",editCustomToolTitle:"Edit custom tool",toolNameEmpty:"Tool name cannot be empty",toolPromptEmpty:"System prompt cannot be empty",toolNotFound:"Tool not found",cannotEditBuiltin:"Cannot edit built-in tools",noBlockedDomains:"No blocked domains. Enter a domain above to add.",unblock:"Unblock",domainEmpty:"Domain cannot be empty",domainInvalid:"Please enter a valid domain, e.g. example.com",domainExists:"This domain already exists"},agentConfig:{title:"\u{1F5A5}\uFE0F Agent Settings",subtitle:"Connect to the agent service for advanced capabilities such as file read/write, system command execution, conversation memory management, Skill workflows and MCP protocol extensions. Supports multiple agents with one-click connection.",pairedAgents:"Paired agents",notConnected:"Not connected",detailToggle:"\u25B6 Details",addAgentTitle:"Add new agent",agentName:"Agent name",agentNameHint:"(custom; auto-fetched if empty)",agentNamePlaceholder:"e.g. Office Mac",agentUrl:"Agent address",agentUrlHint:"(HTTP address of the agent service)",pairCode:"Pairing code",pairCodeHint:"(view it in the Agent terminal window)",pairCodePlaceholder:"6-digit pairing code",connect:"Connect",toolCount:"{count} tools",selectedTotalCount:"(Selected {selected} / Total {total})",toggleCategoryAll:"Click to toggle select all/deselect all in this category",useInstructionTitle:"\u{1F4A1} Usage Instructions and Safety Tips",installGuideTitle:"\u{1F4E5} Install Agent v{version} (matches current extension version)",installGuideHint:"Copy the command below and paste it into a terminal to install the agent version that matches this extension, avoiding version-mismatch connection failures.",installGuideMacLinux:"macOS / Linux",copyCmd:"Copy",copyCmdAuto:"Copy (for current OS)",copyCmdSuccess:"Install command copied to clipboard",copyCmdFailed:"Copy failed, please select and copy the command manually",method1:"Method 1: NPM global install (recommended)",method1Step1:"(requires Node.js \u2265 18)",method1Step2:" or shorthand ",method1Step3:'3. The terminal shows a 6-digit pairing code; enter it on this page and click "Connect"',method2:"Method 2: Run from source (for development)",method2Step2:'2. The terminal shows a 6-digit pairing code; enter it on this page and click "Connect"',cmdAlias:"Command alias",cmdAliasPrefix:" can be shortened to ",cmdAliasSuffix:"; all commands support this",bgRun:"Background run:",bgRunMethod1:"\u3000Method 1: ",bgRunMethod1Mid:" or ",bgRunMethod2:"\u3000Method 2: ",moreCmd:"More commands:",moreCmdMid:" or ",securityTitle:"\u26A0\uFE0F Security Tips",security1:"The agent service listens only on localhost (127.0.0.1) by default. Modify startup parameters for remote connections.",security2:"File operations are restricted to the working directory and whitelisted directories; no privilege escalation.",security3:"High-risk commands are automatically blocked; sensitive commands support configurable approval.",addAnotherAgent:"Add another agent",checking:"Checking",connected:"Connected",online:"Online",offline:"Offline",clickToEditName:"Click to edit name",currentInUse:"Current in use \xB7 ",enable:"Enable",disable:"Disable",disconnect:"Disconnect",connectedTo:"Connected to: {name}",confirmDeleteAgent:`Are you sure you want to delete agent "{name}" ({url})?
34
+ When disabled, all operations will be executed directly without confirmation.`,clearSearch:"Clear search",configBtnTitle:"Click to open detailed tool settings"},toolStats:{title:"\u{1F4CA} Tool Usage Stats",subtitle:"Call frequency, success rate, average duration per tool",usedTools:"Used Tools",calls:"Calls",success:"Success",successRate:"Success Rate",avgDuration:"Avg Duration",unusedTools:"Unused Tools",noData:"No data available",btnTitle:"Tool Usage Stats",clearTitle:"Clear stats"},tokenStatsPanel:{title:"\u{1FA99} Token Usage Stats",subtitle:"Per ReAct session & overall dimensions",currentSession:"Current Session",globalStats:"Global Stats",recentCalls:"Recent Calls",noData:"No data available",tabTrend:"Trend",tabDistribution:"Distribution",tabGlobal:"Global",timeRangeToday:"Today",timeRangeWeek:"Week",timeRangeMonth:"Month",timeRangeAll:"All",globalSparklineTitle:"Last 30 Days Trend"},customConfirm:{defaultTitle:"Confirm Action"},promptDialog:{title:"Notice"},promptManager:{title:"Prompt Manager",codePlaceholder:"Code (e.g. code)",contentPlaceholder:"Prompt content",addPrompt:"Add Prompt"},clarify:{title:"Clarification Needed",selectOption:"Please select an option",inputPlaceholder:"Enter additional info (optional)...",customPlaceholder:"Enter your custom content...",additionalTitle:"Additional Notes (optional)",additionalHint:"If you have more relevant information, you can add it here",remainingTime:"Time remaining: 3:00"},prototype:{previewTitle:"UI Prototype Preview",continueOptimize:"\u{1F4A1} Continue Optimizing",libraryTitle:"\u{1F3A8} Prototype Library",searchPlaceholder:"Search prototypes...",sortTimeNew:"Time (new\u2192old)",sortTimeOld:"Time (old\u2192new)",sortTitleAz:"Title (A\u2192Z)",sortTitleZa:"Title (Z\u2192A)",empty:"No prototypes",zoomOut:"Zoom out (Ctrl+scroll)",zoomReset:"Click to reset",resetZoom:"Click to reset",zoomIn:"Zoom in (Ctrl+scroll)",download:"Download",openInTab:"Open in new tab",openInNewTab:"Open in new tab",openLocal:"Open in local browser"},shortcuts:{title:"\u2328\uFE0F Shortcuts",sendMessage:"Send message",newLine:"New line",inputHistory:"Input history (in input box)",editQueueTail:"Edit the last queued task (when the input is empty)",injectAdHoc:"Insert into the running task (not queued)",stopAndSend:"Stop the current task and run the queue now (right-click / long-press stop)",clearInput:"Clear input",voiceInput:"Voice input (start / stop)",cancelVoiceInput:"Cancel recording (takes priority while recording)",keyColumn:"Shortcut",functionColumn:"Function",platformColumn:"Platform",platformWinMac:"Win / Mac",colShortcut:"Shortcut",colFunction:"Function",colPlatform:"Platform",gotoPrev:"Jump to previous question",gotoNext:"Jump to next question",scrollTop:"Scroll to top of conversation",scrollBottom:"Scroll to bottom of conversation",navOpenByTab:"Focus the left handle and open the question list",navListArrows:"Move between question items (Enter to jump)",navPinToggle:"Pin / unpin the question list",navEscCollapse:"Collapse question list / unpin (clears search text first)",fullScreenshot:"Full-page screenshot",areaScreenshot:"Area screenshot",regionScreenshot:"Area screenshot",toggleToolConfig:"Open/close tool settings",openShortcutsPanel:"Open shortcuts panel",openShortcutPanel:"Open shortcuts panel",newSession:"New session",closeSession:"Close current session",closeCurrentSession:"Close current session",editLastMessage:"Edit last user message",messageFullscreen:"View answer fullscreen / exit",todoToggle:"Toggle todo panel",todoAdd:"Focus the todo input",todoSelect:"Move between todo items (inside panel)",todoNote:"Add a note to the selected todo",todoLink:"Add a link to the selected todo",todoDone:"Mark done / back to todo",todoPriority:"Cycle priority"},versionInfo:{title:"\u2139\uFE0F Version Info",version:"Version",tag:"Git Tag",commit:"Git Commit",publishedAt:"Published At",website:"Website",discussions:"Discussions",reportIssue:"Report Issue",githubRepo:"GitHub Repository",giteeRepo:"Gitee Repository",copy:"Copy Info"},imageEditor:{editImage:"Edit Image",brush:"Brush (B)",rect:"Rectangle (R)",ellipse:"Ellipse (E)",arrow:"Arrow (A)",line:"Line (L)",undo:"Undo (Ctrl+Z)",confirm:"Confirm (Enter)",cancel:"Cancel (Esc)",downloadImage:"Download image",prev:"Previous",next:"Next",prevImage:"Previous",nextImage:"Next",brushSize:"Brush size",eraser:"Eraser"},chatExport:{selectCurrentOnly:"Select Current Only",selectedCount:"{count} selected",exportSelected:"Export Selected",title:"Export Conversations",exportSessions:"Export Conversations"},agentEditor:{createNew:"Create New Assistant",namePlaceholder:"Assistant name",icon:"Icon",descPlaceholder:"What is this assistant good at?",templateQuickCreate:"Quick create from template",promptPlaceholder:"You are a professional...",availableTools:"Available Tools",availableSkills:"Available Skills",modelSettings:"Model Settings (leave empty to use global settings)",modelPlaceholder:"Select or enter model name",allowSubAgent:"Allow being scheduled as a sub-assistant",name:"Name",desc:"Short description",nameLabel:"Name",descLabel:"Short description",selectTemplate:"-- Select template (optional) --",systemPrompt:"System prompt (defines the assistant role and capabilities)",inheritGlobalToolsHint:"(unchecked: inherit global tool settings)",inheritGlobalSkillsHint:"(unchecked: use all enabled skills)",toolsInheritGlobal:"(unchecked: inherit global tool settings)",skillsInheritAll:"(unchecked: use all enabled skills)",noSetting:"No setting (use global)",noPreset:"No setting (use global)",deleteTitle:"Delete this assistant",deleteAgentTitle:"Delete this assistant",toolSearchPlaceholder:"Search tool name or description",skillSearchPlaceholder:"Search skill name or description",selectedOnlyFilter:"Selected only",showAllTools:"Show all tools",showAllSkills:"Show all skills"},auditLog:{title:"\u{1F4CB} Command Audit",filterAll:"All",filterCommand:"Command Execution",filterFile:"File Operation",filterAuth:"Authentication",filterSecurity:"Security",filterSystem:"System",recent50:"Last 50",recent100:"Last 100",recent200:"Last 200",recent500:"Last 500",searchPlaceholder:"Search action name, command or path...",categoryFilter:"Category filter:",countLabel:"Count:",clearSearch:"Clear",empty:"No audit logs",noLogs:"No audit logs",defaultRange:"Defaults to querying the last 7 days of audit logs"},workdirTag:{sessionScope:" (this session)",defaultScope:" (default)",switchTitle:"Switch working directory for this session",restoreDefault:"Restore default directory",setAsAgentDefault:"Also set as the agent default directory (affects unbound sessions)",setAsAgentDefaultHint:"When checked, clicking a directory in the list (or Switch) also makes it the agent default",pathMissing:"Directory does not exist or is not accessible, please choose again",agentSwitched:"Agent switched; this session now falls back to the new agent default directory",lockedHint:"Cannot switch working directory while a task is running",restoredDefault:"Restored to the default directory",tagHint:"Click to switch the working directory for this session"},input:{atHint:"Prompts (click) / Pages (Ctrl/Cmd+click)",placeholder:"Type '/' for prompts, '@' to switch assistant/page, '$' to pick workspace file, '\u2191\u2193' for history, Esc to clear",send:"Send",clearSelection:"Clear selected content",pageLabel:"\u{1F310} Page",clearPage:"Clear page",mcpLabel:"\u{1F50C} MCP",clearMcp:"Clear MCP service",skillLabel:"\u{1F9E9} Skill",clearSkill:"Clear skill",screenshotTitle:"Capture current page",attachFileTitle:"Upload file (PDF/Word/Excel/Text)",screenshot:"Capture current page",uploadFile:"Upload file (PDF/Word/Excel/Text)",aiDisclaimer:"AI-generated content, for reference only.",addMenuTitle:"Add content",addMenuPrompt:"Prompts",addMenuScreenshot:"Screenshot",addMenuScreenshotFull:"Full page capture",addMenuScreenshotFullDesc:"Capture the current visible page",addMenuScreenshotRegion:"Area capture",addMenuScreenshotRegionDesc:"Drag to select an area on the page",addMenuFile:"Attachment",addMenuSwitches:"Toggles"},model:{selectModel:"Select model",temperature:"Temperature"},sectionSelect:{searchPlaceholder:"Type to filter\u2026",noMatch:"No matches"},provider:{label:"API Provider",manage:"Manage provider profiles"},promptSelector:{prompts:"Prompts",skills:"Skills",pages:"Pages",agents:"Assistants",proxies:"Agents",knowledge:"Knowledge",pagesCount:"Pages ({count})",agentsCount:"Assistants ({count})",proxiesCount:"Agents ({count})",knowledgeCount:"Knowledge ({count})",headerHint:"Arrow keys to switch \xB7 Enter to send \xB7 Ctrl+Enter to insert into input",agentHeaderHint:"Arrow keys to switch \xB7 Enter to select & close \xB7 Esc to cancel",switchHint:"Arrow keys to switch \xB7 Enter to send \xB7 Ctrl+Enter to insert into input",switchHintMulti:"Arrow keys to switch \xB7 Enter to select & close \xB7 Ctrl+Enter to multi-select / toggle \xB7 Esc to cancel",mergedTitle:"Aggregated Search",mergedTitleCount:"Aggregated Search ({count})"},memory:{label:"Memory",historyLimit:"Memory History Limit",configEntry:"Open memory settings",hint:"More memory means more coherent context, but higher token consumption; too little memory may prevent accurate answers based on previous context.",unlimited:"Unlimited",recent200:"Last 200",recent100:"Last 100",recent50:"Last 50",recent20:"Last 20",recent10:"Last 10",recent5:"Last 5",recent2:"Last 2",custom:"Custom:",unit:"entries",autoCompactLabel:"Auto-compact",autoCompactHint:"Compact history into a summary once before sending when context usage reaches 85% (adds one summarization call).",persistSummaryLabel:"Save summary to memory",persistSummaryHint:"Store the compaction summary as cross-session long-term memory; repeated compaction in one session updates the same entry."},goal:{label:"Goal",shortHint:"Keeps pushing the task automatically",toggleHint:"When enabled, this task runs as a session goal that keeps pushing itself until it is met, judged impossible, or runs out of budget",statusActive:"Running",statusPaused:"Paused",statusAchieved:"Achieved",statusUnmet:"Unmet",statusBudgetLimited:"Budget used up",statusCleared:"Cleared",turnsUsed:"Attempted {turns} times",turnsLeft:"{turns} left",constraints:"+{count} more",attachmentImage:"{count} image(s)",edit:"Edit",pause:"Pause",resume:"Resume",clear:"Clear",editTitle:"Edit goal",editPrompt:"Describe the goal in one sentence, as specific as possible:",disabledHint:"Goal mode is disabled in settings",startHint:"With goal mode on, the first message you send becomes the goal",clearConfirm:"Clear the current goal? Its checkpoint (task state) will be discarded too.",updated:"Goal updated",approvalRevoked:'Approval revoked: the goal is paused and the \u{1F3AF} toggle is off. Re-arm \u{1F3AF} and press "Resume" to continue.',pausedToast:'Goal paused: your next message resumes it. To stop for good, turn the "Goal" toggle off.',pausedToastChipOff:'Goal paused: your next message will not resume it. Press "Resume" or switch the "Goal" toggle back on.',pausedHintInline:"send a message to continue",resumeBlocked:"The turn limit is already at its hard cap ({turns}). Edit the objective (which resets the counter) or clear the goal to start over.",autoApproveHint:"Goal mode is auto-approving sensitive operations (agent-side blocklisted commands are still hard-blocked). Click to revoke.",intentDetected:"Goal mode detected from your wording \u2014 this turn will keep advancing on its own (sensitive operations still ask for confirmation). Click Clear on the goal bar to undo.",intentHint:"Looks like you want this task to keep pushing until it is met \u2014 arm the \u{1F3AF} toggle to enable goal mode (it will not be enabled for you)."},toggle:{memoryHint:"When enabled, previous Q&A will be used as context (all by default, configurable count)",toolsHint:"Master tool switch: click to enable or disable tool calls",selectionHint:"When enabled, select text on page to quickly ask questions",tools:"Tools",selection:"Selection",selectionShortHint:"Ask about selected text",more:"More",moreTitle:"More switches",moreHint:"Goal and selection switches",modelSettings:"Model Settings",toolsConfigTitle:"Click to open detailed tool settings"},selection:{clearSelection:"Clear selected content",page:"\u{1F310} Page",clearPage:"Clear page",clearMcp:"Clear MCP service",skill:"\u{1F9E9} Skill",clearSkill:"Clear skill"},toolCategory:{page_interaction:"\u{1F5B1}\uFE0F Page Interaction",form_operation:"\u{1F4DD} Form Operation",content_extraction:"\u{1F4C4} Content Extraction",tab_management:"\u{1F4D1} Tab Management",bookmark_history:"\u{1F516} Bookmarks & History",storage_management:"\u{1F4BE} Storage Management",network_request:"\u{1F310} Network Request",media_output:"\u{1F4F7} Media & Output",debug_dev:"\u{1F527} Debug & Dev",ai_collaboration:"\u{1F916} AI Collaboration",local_agent:"\u{1F5A5}\uFE0F Agent",mcp:"\u{1F50C} MCP",knowledge:"\u{1F4DA} Knowledge"},presetMode:{preciseLabel:"Precise",preciseTip:"Bug fixing, debugging, accurate answers (low randomness, good for fixing bugs)",generalLabel:"General",generalTip:"Works well for most cases (balanced stability & flexibility, good for scripts)",divergentLabel:"Divergent",divergentTip:"Multiple approaches to compare (good for refactoring, solution comparison)",creativeLabel:"Creative",creativeTip:"Copywriting, naming, brainstorming (high randomness, not for production code)"},tool:{agent_file:"File operations on agent machine (read/write/list/delete/download)",agent_trash:"Manage agent trash bin (list/restore deleted items)",agent_exec:"Execute shell commands on agent machine",agent_search:"Search files or content on agent machine",agent_skill:"Load or run a Skill",manage_agent:"List or switch paired AI agents",manage_todo:"Create, list, update or delete todos",manage_schedule:"Create, list, update or delete scheduled tasks",exec_log:"Extract execution logs to analyze successful paths and failure lessons",clarify_question:"Ask user a clarifying question with options",plan_task:"Plan and decompose complex task into subtasks",search_chats:"Search past conversation history",preview_ui:"Preview or retrieve a UI prototype",dispatch_task:"Dispatch task to a sub-agent",take_note:"Record a working note, survives context compaction",interact_element:"Click, hover or type into page elements",scroll_to:"Scroll page to target (element/coordinates/text)",wait_element:"Wait for element to appear/disappear/change visibility",wait_navigation:"Wait for page navigation to complete",handle_dialog:"Handle page dialogs (alert/confirm/prompt)",fill_form:"Fill multiple form fields",keyboard_input:"Type text or press keys (bypasses controlled inputs)",file_upload:"Upload file to page",select_dropdown:"Dropdown selection (supports custom components)",page_content:"Get page text or HTML content",extract_data:"Extract structured data (tables/links/images/forms/metadata)",query_elements:"Query interactive elements and return a snapshot with refs",search_in_page:"Find text in current page content",iframe_content:"Get content of an iframe in the page",scroll_collect:"Scroll to load page content",read_image:"Read image content (attachments, pasted images, local files)",notify:"Show browser notification",clipboard:"Clipboard operations (copy/paste/get selection)",download_file:"Download file to local",qrcode:"Generate QR code",capture_page:"Capture page screenshot (download/analyze/both)",inject_css:"Inject styles or highlight text",agent_memory:"Long-term memory management (store/recall/manage)",manage_storage:"Read/write localStorage or sessionStorage",manage_cookies:"Manage browser cookies",fetch_url:"Send HTTP GET/POST request to a URL",manage_tab:"Manage tabs (open/switch/close/reload)",list_tabs:"Get list of open tabs",search_browser_data:"Search browser bookmarks or history",debug_page:"Advanced CDP debugging (input, network, JS, screenshots, emulation)",knowledge_search:"Search knowledge bases for relevant content (read-only)",knowledge_ingest:"Import text/local file/web page into a knowledge base (write operation)",knowledge_list:"List available knowledge bases and document counts"},react:{title:"\u2699\uFE0F Reasoning Loop Settings",subtitle:"Control behavior parameters of the AI reasoning loop (advanced)",goalMode:"Goal mode",goalModeHint:"(independently evaluates whether the goal is truly met after the model declares done, and auto-continues while it is not, until achieved / impossible / budget exhausted)",goalModeDesc1:"When enabled, a \u{1F3AF} toggle appears in the side panel input area; the turn you arm it becomes a session goal that keeps advancing on its own. Evaluation is one separate short call to the current session model (temperature 0, emitting a single JSON verdict) \u2014 no second model is introduced.",goalModeDesc2:'The pace is built in: at most 20 closing attempts, with the time cap following the "Overall loop timeout" above. When a cap is hit the goal is marked "budget limited" and the scene is kept \u2014 clicking Resume grants another 20 turns; it never takes the task over and reruns it by itself.',goalModeDesc3:"When disabled: the engine evaluates nothing and continues nothing, the background refuses goal settings, and behaviour is as if Goal mode were unimplemented. Already persisted goal state is kept and can be resumed after re-enabling.",goalIntent:"Intent detection",goalIntentHint:'(detects "run this in goal mode" from the input text, zero tokens)',goalIntentDesc1:'When enabled, even without arming the \u{1F3AF} toggle, phrasing like "keep running this in goal mode until it passes" starts the goal for this turn and shows an undo notice. It is a deterministic regex check before sending \u2014 the model does not get to opt itself in.',goalIntentDesc2:"Detected goals never auto-approve sensitive operations: the authority to bypass confirmation dialogs can only be granted by you arming the toggle.",loopTimeout:"Overall loop timeout",loopTimeoutHint:"(max execution time for the entire reasoning loop; drag the slider to adjust, applies on release)",loopTimeoutMinLabel:"Min: 10 minutes",loopTimeoutMaxLabel:"Max: 24 hours",loopTimeoutSaved:"Overall loop timeout updated",durationMinutes:"{n} min",durationHours:"{n} h",durationHoursMinutes:"{hours} h {minutes} min",toolConfirmation:"Sensitive operation confirmation",toolConfirmationHint:"(confirm via dialog before the model performs sensitive operations)",enabled:"Enabled",disabled:"Disabled",toolConfirmationDesc1:"When enabled, the model will show a confirmation dialog for sensitive operations (tool calls, command execution, etc.) and wait for user approval.",toolConfirmationDesc2:"When disabled, all operations will be executed directly without confirmation.",networkAccess:"Private network access",networkAccessHint:"(controls whether tools such as fetch_url requests and manage_tab opening private pages may reach local and private-network addresses)",networkAccessDesc1:"Off by default: tools may only reach public addresses; loopback and private addresses such as 127.0.0.1, localhost and 192.168.x.x are refused outright.",networkAccessDesc2:"Even when on, each host must still be added to the allowlist below; while the list is empty every private target stays refused. Turning the switch off only collapses that block - the entries you saved are not cleared.",completionVerification:"Completion verification",completionVerificationHint:"(independently verifies subtasks against their done-criteria via objective evidence from the real page and the local agent (commands / files) after they finish, and honestly reports unmet ones)",completionVerificationDesc1:'When enabled, each subtask is independently verified against its done-criteria on completion; unmet items are honestly annotated and reported back to the model instead of defaulting to "finished equals success". Evidence is not limited to page DOM - it also covers commands run through the local agent (e.g. test/build exit codes) and file checks (existence/content). This is objective evidence collection (checking whether the environment truly reached the goal), complementing - not duplicating - the subjective self-review of AI Self-Reflection.',completionVerificationDesc2:"When disabled, subtask completion status stays byte-for-byte identical to before, with no extra evidence collection or annotation.",completionVerificationRerun:"Auto re-run on completion",completionVerificationRerunHint:"(automatically gives an unmet subtask one more attempt, bounded by retry and budget limits)",completionVerificationRerunDesc1:"When on, if independent evidence finds a subtask truly unmet, a directive listing exactly what is still missing is appended to that subtask and it runs one more round, until criteria are met or safety limits stop it (missing items must strictly shrink each round, plus retry cap, time/token budget, cancellation or timeout). Allow-tier test/build commands may be auto-run for evidence; commands needing confirmation or refused by the security policy are never force-run and are reported as evidence-unavailable. Enabling this runs commands and adds latency and token cost; off by default.",completionVerificationRerunDesc2:'When off (default), behavior is byte-for-byte identical to "annotate only, no re-run": unmet subtasks are honestly reported but never automatically re-run.',networkAllowlistTitle:"Private network allowlist",networkAllowlistDesc:"Accepts hostnames, IPs and *.example.com subdomain wildcards (no scheme or port); only the private hosts listed here are allowed through.",networkHostAddPlaceholder:"e.g. 127.0.0.1 or intranet.example.com",networkHostAdd:"Add",networkHostRemove:"Remove",networkAllowlistEmpty:"No allowed hosts yet. With the switch on, a private target is still refused unless it matches this list.",networkHostEmpty:"Enter the hostname or IP to allow",networkHostInvalid:"The entry must not contain spaces; give only the hostname or IP",networkHostExists:"This host is already in the allowlist",enableExecutionLog:"Enable execution log",enableExecutionLogHint:"(show detailed logs of API calls and tool execution to help debug and understand AI thinking)",enableExecutionLogDesc1:'When enabled, an "Execution Log" button appears under messages; click to view the detailed API call and tool execution process.',enableExecutionLogDesc2:"When disabled, the button no longer appears.",streaming:"Streaming output",streamingHint:"(when enabled, AI replies are streamed token-by-token for faster perceived response)",streamingDesc1:"When enabled, AI replies and agent-side command execution output stream in real time for faster feedback.",streamingDesc2:"If you encounter compatibility issues, disable this to fall back to one-shot output mode.",streamExpandTools:"Expand streaming tool cards by default",streamExpandToolsHint:"(when disabled, tool cards are collapsed by default; only title and status are shown, click to expand)",configGuide:"\u{1F4A1} Configuration Notes",guideReasoningLoop:"Reasoning loop",guideReasoningLoopDesc:" is the core mechanism for the AI assistant to perform multi-step reasoning and tool calls.",guideLoopCount:"Loop count",guideLoopCountDesc:": determines how many reason-act iterations the AI can perform",guideTimeout:"Timeout settings",guideTimeoutDesc:": API request / overall loop / tool execution timeouts, preventing long waits or infinite loops",guideToolConfirm:"Sensitive action confirmation",guideToolConfirmDesc:": prompts a confirmation dialog before the AI performs sensitive actions, preventing accidental operations",guideClarifyWait:"Clarification wait",guideClarifyWaitDesc:": user clarification time is not counted toward the overall loop timeout (automatically paused; not a configurable item)",guideTip:"\u2022 Adjust these parameters based on network conditions and task complexity"},reflection:{title:"AI Self-Reflection",enabled:"Enabled",subtitle:"Control the AI self-evaluation and revision behavior for task results",subtitleHint:"(control the AI self-evaluation and revision behavior for answer quality - a subjective self-review, complementing the objective evidence check of Completion verification)",desc1:"When enabled, the AI self-evaluates the result after the reasoning loop and auto-revises or re-executes when the score falls below the threshold. Especially suited to open-ended tasks without objective criteria (Q&A / writing / analysis), where Completion verification does not intervene.",desc2:"Turning this off collapses the sub-switches below; enabling reflection adds API calls, so weigh it against your needs.",postReflection:"Post-reflection",postReflectionHint:"(evaluate result quality after completion)",subtaskReflection:"Subtask reflection",subtaskReflectionHint:"(advanced feature, off by default)",configGuide:"\u{1F4A1} Reflection Configuration Notes",guidePostReflection:"Post-reflection",guidePostReflectionDesc:": after the reasoning loop ends, the AI self-evaluates the final result. If the score is below the threshold, it will automatically revise or re-execute.",guideSubtaskReflection:"Subtask reflection",guideSubtaskReflectionDesc:": performs separate evaluation for subtasks after complex task decomposition; off by default (advanced feature).",guideTip:"\u2022 Enabling reflection increases the number of API calls; weigh this against your needs"},toolbar:{title:"\u{1F527} Toolbar Settings",enabled:"Enabled",subtitle:"Manage buttons and order of the selection toolbar",iconOnly:"Compact icon-only mode (show icons only, no text)",includeContext:"Include page context when answering selections (use the surrounding paragraph and page info)",addCustomTool:"\uFF0B Add custom tool",domainBlocklistTitle:"Domain blocklist",domainBlocklistDesc:"Add domains where the toolbar should be blocked. Once blocked, the selection toolbar will not appear on those domains.",domainAddPlaceholder:"e.g. example.com (without http/https)",add:"Add",toolEditModalTitle:"Add custom tool",toolName:"Tool name",toolNamePlaceholder:"e.g. Polish, Rewrite, Code review",systemPromptLabel:"System prompt",systemPromptHint:"(defines the tool behavior)",toolPromptPlaceholder:"e.g. You are a text polishing assistant. Make the user input more fluent and professional.",builtinBadge:"Built-in",customBadge:"Custom",moveUp:"Move up",moveDown:"Move down",dragSort:"Drag to sort",editCustomToolTitle:"Edit custom tool",toolNameEmpty:"Tool name cannot be empty",toolPromptEmpty:"System prompt cannot be empty",toolNotFound:"Tool not found",cannotEditBuiltin:"Cannot edit built-in tools",noBlockedDomains:"No blocked domains. Enter a domain above to add.",unblock:"Unblock",domainEmpty:"Domain cannot be empty",domainInvalid:"Please enter a valid domain, e.g. example.com",domainExists:"This domain already exists"},agentConfig:{title:"\u{1F5A5}\uFE0F Agent Settings",subtitle:"Connect to the agent service for advanced capabilities such as file read/write, system command execution, conversation memory management, Skill workflows and MCP protocol extensions. Supports multiple agents with one-click connection.",pairedAgents:"Paired agents",notConnected:"Not connected",detailToggle:"\u25B6 Details",addAgentTitle:"Add new agent",agentName:"Agent name",agentNameHint:"(custom; auto-fetched if empty)",agentNamePlaceholder:"e.g. Office Mac",agentUrl:"Agent address",agentUrlHint:"(HTTP address of the agent service)",pairCode:"Pairing code",pairCodeHint:"(view it in the Agent terminal window)",pairCodePlaceholder:"6-digit pairing code",connect:"Connect",toolCount:"{count} tools",selectedTotalCount:"(Selected {selected} / Total {total})",toggleCategoryAll:"Click to toggle select all/deselect all in this category",useInstructionTitle:"\u{1F4A1} Usage Instructions and Safety Tips",installGuideTitle:"\u{1F4E5} Install Agent v{version} (matches current extension version)",installGuideHint:"Copy the command below and paste it into a terminal to install the agent version that matches this extension, avoiding version-mismatch connection failures.",installGuideMacLinux:"macOS / Linux",copyCmd:"Copy",copyCmdAuto:"Copy (for current OS)",copyCmdSuccess:"Install command copied to clipboard",copyCmdFailed:"Copy failed, please select and copy the command manually",method1:"Method 1: NPM global install (recommended)",method1Step1:"(requires Node.js \u2265 18)",method1Step2:" or shorthand ",method1Step3:'3. The terminal shows a 6-digit pairing code; enter it on this page and click "Connect"',method2:"Method 2: Run from source (for development)",method2Step2:'2. The terminal shows a 6-digit pairing code; enter it on this page and click "Connect"',cmdAlias:"Command alias",cmdAliasPrefix:" can be shortened to ",cmdAliasSuffix:"; all commands support this",bgRun:"Background run:",bgRunMethod1:"\u3000Method 1: ",bgRunMethod1Mid:" or ",bgRunMethod2:"\u3000Method 2: ",moreCmd:"More commands:",moreCmdMid:" or ",securityTitle:"\u26A0\uFE0F Security Tips",security1:"The agent service listens only on localhost (127.0.0.1) by default. Modify startup parameters for remote connections.",security2:"File operations are restricted to the working directory and whitelisted directories; no privilege escalation.",security3:"High-risk commands are automatically blocked; sensitive commands support configurable approval.",addAnotherAgent:"Add another agent",checking:"Checking",connected:"Connected",online:"Online",offline:"Offline",clickToEditName:"Click to edit name",currentInUse:"Current in use \xB7 ",enable:"Enable",disable:"Disable",disconnect:"Disconnect",connectedTo:"Connected to: {name}",confirmDeleteAgent:`Are you sure you want to delete agent "{name}" ({url})?
35
35
  You will need to pair again after deletion.`,deleteAgentTitle:"Delete Agent",agentDeleted:"Agent deleted: {name}",agentDisabledToast:"Agent disabled: {name}",agentEnabledToast:"Agent enabled: {name}",fetchingAgentInfo:"Fetching agent info...",agentUnreachable:"Agent service unreachable",tokenExpired:"Token expired - please re-pair",cannotConnectAgent:"Cannot connect to agent - please make sure the agent service is running",notConnectedSelect:"Not connected - please select an agent from the list",notConnectedAdd:"Not connected - please add an agent pair",unlimited:"Unlimited",idle:"Idle",unknownCommand:"(unknown command)",detailVersion:"Version",detailSystem:"System",detailSearchTools:"Search engines",detailSearchToolsValue:"File search fd {fd} &nbsp; Content search rg {rg}",detailHostname:"Hostname",detailHomeDir:"Home directory",detailRunningProcesses:"Running processes",detailRunningProcessesCount:"Running processes ({count})",detailMemoryUsage:"Memory usage",detailMemoryDetail:"Heap {used}MB / Total {total}MB \xB7 RSS {rss}MB",detailUptime:"Uptime",detailCpuUser:"CPU user",detailCpuSystem:"CPU system",detailCommandTimeout:"Command timeout",detailUploadMaxSize:"Upload size limit",detailFileMaxSize:"Read size limit",detailAllowedPaths:"Allowed paths",detailPairCodeTTL:"Pairing code validity",detailWorkdir:"\u{1F4C1} Working directory: {dir}",pairCodeRequired:"Please enter the 6-digit pairing code",pairing:"Pairing...",pairingBtn:"Pairing...",unnamedAgent:"Unnamed agent",pairSuccess:"Pairing succeeded! Added: {name}",pairFailed:"Pairing failed: {error}",unknownError:"Unknown error",connectFailed:"Connection failed - please make sure the agent service is running",cannotConnectAgentMsg:"Cannot connect to Agent: {error}",disconnectedToast:"Disconnected",detailToggleOpen:"\u25BC Details",pairFailedShort:"Pairing failed"},toolbox:{checkingAgent:"Checking Agent connection...",mcpTitle:"\u{1F50C} MCP Server Management",mcpDisabled:"Disabled",mcpDesc:"Connect external tool servers via the MCP protocol to extend the AI assistant tool capabilities. When disabled, no MCP tools will be sent to the AI context.",loading:"Loading...",addMcpServer:"+ Add MCP server",skillTitle:"\u{1F9E9} Skill Management",skillDisabled:"Disabled",skillDesc:"Manage reusable workflows and Agent Skills. When disabled, no Skill content will be injected into the AI system prompt.",ragTitle:"\u{1F4DA} Knowledge Retrieval (RAG)",ragDisabled:"Disabled",ragDesc:"Build a knowledge base locally on the agent side for retrieval-augmented answers. Requires optional dependencies (~200-300MB). When disabled, knowledge base content will not be sent to the AI context.",ragServiceEnabled:"Knowledge retrieval enabled",ragServiceDisabled:"Knowledge retrieval disabled",ragStatusChecking:"Checking RAG capability...",ragStatusReadyTitle:"RAG capability ready",ragStatusReadyDesc:"Agent-side dependencies are installed. Knowledge base management will be available in a later version.",ragStatusNotInstalledTitle:"RAG dependencies not installed on agent",ragStatusNotInstalledDesc:"Enable knowledge retrieval by installing the extra dependency packages on the agent side first.",ragStatusNodeLowTitle:"Environment requirement not met",ragStatusNodeLowDesc:"RAG requires Node.js 22+ (agent currently runs {version}). Please upgrade Node.js and restart the agent.",ragStatusAgentOffTitle:"Agent not connected",ragStatusAgentOffDesc:'Please connect the Agent service in the "Agent" tab first, then configure knowledge retrieval',ragStatusUnreachableTitle:"Cannot fetch agent status",ragStatusUnreachableDesc:'Please make sure the agent service is running, then click "Re-detect".',ragInstallPackagesLabel:"Packages to install:",ragInstallRequirements:"Requires Node.js 22+; estimated download of about 200-300MB (includes onnxruntime native libraries, varies by platform); first use also downloads an AI model (~95MB).",ragInstallNoRestartNeeded:"Ready automatically after installation - no agent restart needed.",ragInstallCommandLabel:"Or run manually in the agent install directory:",ragCopyCmd:"\u{1F4CB} Copy command",ragCopied:"Copied to clipboard",ragCopyFailed:"Copy failed, please select and copy manually",ragInstallBtn:"\u2B07\uFE0F Install RAG dependencies",ragInstallBtnBusy:"Installing...",ragRedetectBtn:"\u{1F504} Re-detect",ragInstallStarted:"Installation started, downloading dependencies...",ragInstallRunning:"Installing RAG dependencies...",ragAutoRestoreRunning:"Dependencies missing after agent update - auto-restoring...",ragInstallTip:"Installation may take several minutes. Please do not close the agent service.",ragInstallVerifying:"Installation finished, verifying...",ragInstallSuccess:"RAG dependencies installed successfully, capability is ready",ragInstallFailedToast:"RAG dependency installation failed",ragInstallFailedAdvice:'If installation keeps failing, try restarting the agent service (or retry later), then click "Re-detect".',ragInstallLogLabel:"Installation log (recent output):",ragRedetectReady:"Re-detection finished: RAG capability is ready",ragRedetectStillMissing:"Re-detection finished: RAG dependencies still missing",ragRedetectStillMissingDetail:"RAG dependencies still missing - {error}",ragRedetectFailed:"Re-detection failed: {error}",importSkill:"+ Import Skill",reloadSkills:"\u{1F504} Reload",enabledCountTotal:"Enabled {enabled} / Total {total}",unknownAgent:"Unknown agent",asrTitle:"\u{1F399} Voice Input (local recognition)",asrDesc:"Offline speech-to-text on this machine; audio never leaves it. Install the optional agent dependency and prepare a model (download automatically or copy it into the fixed folder) \u2014 the \u{1F3A4} button (Alt+V) appears only when both are ready.",asrEnabled:"Enabled",asrDisabled:"Disabled",asrReadyTitle:"Voice input is ready",asrNotReadyTitle:"Voice input is not available yet",asrReadyDesc:"Dependency, models and switch are all ready; the side panel can use it now.",asrNeedDeps:'Runtime dependency missing: click "Install dependency" to install sherpa-onnx-node locally.',asrNeedModels:'Model pack missing: click "Download recommended models". If this machine cannot reach the model source, copy the model folder into the fixed path below, or use "Import from folder".',asrNeedEnable:"Dependency and models are ready; turn on the switch at the top right.",asrUnknownReason:"Unknown state, please re-detect.",asrDepLabel:"Dependency",asrModelLabel:"Models",asrEnableLabel:"Switch",asrCapabilityLabel:"Capabilities:",asrCapDraft:"Streaming draft",asrCapFinal:"Accurate finalize",asrInstallBtn:"Install dependency",asrDepsInstalled:"Dependency installed",asrInstalling:"Installing\u2026",asrInstallingHint:"Installing (300MB+), keep the agent running\u2026",asrInstallDone:"Speech recognition dependency installed",asrInstallAborted:"Installation aborted",asrInstallFailed:"Installation failed",asrRedetect:"Re-detect",asrRedetected:"Re-detected",asrPickDir:"Import from folder",asrPickDone:"Model pack imported",asrPickFailed:"Failed to import model pack",asrRescan:"Rescan",asrRescanned:"Model directory rescanned",asrModelList:"Imported models",asrNoModels:"No model pack yet",asrModelHint:"Models live in {dir}; one subdirectory per model (manifest.json plus model files). For offline intranets, copy the folder there from another machine.",asrDeleteConfirm:"Delete this model pack (local copy only)?",asrDeleteDone:"Deleted",asrDeleteFailed:"Delete failed",asrLanguage:"Recognition language",asrModelsDirLabel:"Model folder (fixed): ",asrDownloadBtn:"Download recommended models ({size})",asrDownloading:"Downloading\u2026",asrDownloadCancel:"Cancel download",asrDownloadCanceled:"Download canceled",asrDownloadInstalled:"Recommended models installed",asrDownloadDone:"Model download complete",asrDownloadFailed:"Model download failed",asrDownloadProgress:"Downloading {percent}% ({done} / {total}) {model}",asrAutoDownloadStart:"Starting model download\u2026",asrLangAuto:"Auto detect (Chinese + English)",asrLangZh:"Chinese",asrLangEn:"English",asrLangJa:"Japanese",asrLangKo:"Korean",asrLangYue:"Cantonese",asrLangHint:"Auto detect handles mixed Chinese/English. A fixed language reduces misrecognition, but speech in other languages will come out garbled.",asrLangSaved:"Language saved",asrPacing:"Recognition pacing",asrPacingHint:"Instant: no per-sentence refinement while speaking (fastest). Balanced: refine each sentence as you speak (recommended). Precise: no character-by-character draft; text appears when a sentence ends.",asrPacingInstant:"Instant",asrPacingBalanced:"Balanced (recommended)",asrPacingPrecise:"Precise",asrPacingSaved:"Pacing saved; applies to the next recording",asrMicTitle:"Microphone permission",asrMicStateGranted:"Granted",asrMicStatePrompt:"Not granted",asrMicStateDenied:"Blocked",asrMicStateUnknown:"Unknown",asrMicHintGranted:"Granted: the \u{1F3A4} button in the side panel records right away \u2014 the browser will not ask again.",asrMicHintPrompt:'Chrome cannot show a permission prompt inside the side panel. Click "Grant microphone" here once; the grant is remembered per extension, so the side panel works afterwards.',asrMicHintDenied:'Previously blocked, so the browser will not prompt again. Copy the link below, open it, then allow Microphone under "Extension details \u2192 Site settings" and reload this page.',asrMicHintUnknown:'This environment cannot report the microphone permission state. Click "Grant microphone" to try once.',asrMicGrantBtn:"Grant microphone",asrMicGrantedBtn:"Granted",asrMicGranting:"Waiting for the browser\u2026",asrMicCopyBtn:"Copy extension details link",asrMicCopied:"Link copied \u2014 paste it into the address bar",asrMicCopyFailed:"Copy failed. Open chrome://extensions and find this extension manually.",asrMicGrantedToast:"Microphone granted",asrMicDeniedToast:"Microphone blocked \u2014 allow it in the extension details",asrMicNotGrantedToast:'Microphone not granted \u2014 retry and choose "Allow" in the prompt',asrMicUnsupportedToast:"Recording is not supported in this environment",asrSaveFailed:"Save failed",asrEnabledToast:"Voice input enabled",asrDisabledToast:"Voice input disabled",asrShortcutTitle:"\u2328\uFE0F Trigger keys",asrShortcutDesc:"Alt+V always works and is not affected by these options. Enable a right-hand key below to start / stop recording with a single tap (press and release); enabling both means either one triggers. Works in the side panel and on web pages alike, and takes effect immediately.",asrShortcutRightAlt:"Right Alt",asrShortcutRightAltHint:"Right Option \u2325 on macOS; holding it while pressing another key will not trigger",asrShortcutRightCtrl:"Right Ctrl",asrShortcutRightCtrlHint:"Right Ctrl is unused on most keyboards; a single tap is required here too",asrShortcutNote:"Only responds while voice input is ready (dependencies \xD7 models \xD7 switch); otherwise the key does nothing.",asrShortcutSaved:"Shortcut saved",asrDeviceTitle:"\u{1F3A7} Input device",asrDeviceDesc:"Follows the system default microphone by default. Plug in a new mic (USB / Bluetooth / audio interface) and pick it here \u2014 the change applies immediately. If the selected device disappears, recording falls back to the system default and tells you.",asrDeviceFollowSystem:"Follow system default",asrDeviceUnnamed:"Microphone {index}",asrDeviceRefresh:"Refresh list",asrDeviceNoteLoading:"Reading device list\u2026",asrDeviceEmpty:'No recording device found \u2014 plug in a microphone and click "Refresh list"; microphone access may also be missing, in which case click "Grant microphone".',asrDeviceNeedPermission:'Device names are hidden until you grant microphone access \u2014 click "Grant microphone" once.',asrDeviceTimeout:'Reading the device list timed out (the system audio service may not be ready). Click "Refresh list" to retry; restart the browser if it keeps failing.',asrDeviceUnsupported:"This environment cannot enumerate recording devices (a chrome-extension:// page is required).",asrDeviceReadFailed:'Failed to read the device list \u2014 click "Refresh list" to retry; if it keeps failing, restart the browser or update the extension.',asrDeviceDenied:'Microphone access was denied \u2014 allow the microphone in the browser site settings, then click "Refresh list".',asrDeviceMissing:"The selected microphone is unavailable (maybe unplugged); recording will use the system default for now.",asrDeviceSaved:"Input device changed",asrDeviceFollowSystemSaved:"Switched to the system default device",asrAgentDisconnected:'Agent not connected \u2014 connect it on the "Agent" tab, then voice input can be configured.',asrAgentUnreachable:"Cannot read speech recognition status (agent version may be old)",currentAgentSupports:"Current agent: <strong>{name}</strong> \u2014 MCP and Skill supported",agentNotConnectedHint:'Agent not connected \u2014 please connect in the "Agent" tab',mcpIdRequired:"Please enter the server ID",mcpUrlRequired:"Please enter the server URL",mcpCommandRequired:"Please enter the command path",mcpReconnecting:"Reconnecting...",mcpUpdateReconnected:"MCP server updated, reconnected ({count} tools)",mcpUnknownError:"Unknown error, please check the command and arguments",mcpUpdatedReconnectFailed:"Config updated, but reconnect failed: {error}",mcpUpdateSuccess:"MCP server updated successfully",mcpUpdateFailed:"Update failed: {error}",mcpServiceEnabled:"MCP service enabled",mcpServiceDisabled:"MCP service disabled",skillServiceEnabled:"Skill service enabled",skillServiceDisabled:"Skill service disabled",mcpAddSuccess:"MCP server added successfully",mcpAddFailed:"Add failed: {error}",mcpConnecting:"Connecting...",mcpConnectSuccess:"Connected successfully",mcpDisconnectSuccess:"Disconnected",mcpEnabledToast:"Enabled",mcpDisabledToast:"Disabled",mcpConfirmDelete:"Are you sure you want to delete this MCP server?",deleteConfirmTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",collapseTools:"Collapse {count} tools",viewTools:"View {count} tools",operationFailed:"Operation failed: {error}",sizeBytes:"Size: {size} bytes",skillConfirmDelete:'Are you sure you want to delete Skill "{name}"?',skillEnabledToast:'Enabled Skill "{name}"',skillDisabledToast:'Disabled Skill "{name}"',skillInfoFailed:"Failed to get Skill info: {error}",skillRunning:'Running Skill "{name}"...',skillContentFailed:"Failed to get Skill content",skillGetFailed:"Failed to fetch: {error}",skillsReloaded:"Reloaded {count} Skills",skillsReloadFailed:"Reload failed: {error}",emptyAgentNotConnectedTitle:"Agent not connected",emptyAgentNotConnectedDescMcp:'Please connect the Agent service in the "Agent" tab first, then configure MCP servers',emptyNoMcpTitle:"No MCP servers",emptyNoMcpDesc:"Click the button below to add an MCP server and extend the AI assistant tool capabilities",emptyAgentNotConnectedDescSkill:'Please connect the Agent service in the "Agent" tab first, then manage Skills',emptyNoSkillTitle:"No Skills",emptyNoSkillDesc:"Two Skill types are supported:<br><strong>Workflow Skill</strong>: import JSON files (deterministic automated flows)<br><strong>Agent Skill</strong>: import SKILL.md directory/Zip/URL (AI capability extension)",mcpIdPlaceholder:"Server ID",mcpIdPlaceholderUnique:"Server ID (unique identifier)",mcpNamePlaceholder:"Display name",mcpEnvVars:"Environment variables",mcpEnvVarsHint:"(Only needed for stdio transport; export sensitive values in shell config)",mcpAddVar:"+ Add variable",mcpConnected:"Connected",mcpDisconnected:"Not connected",mcpToggleEnabled:"Enabled, click to disable",mcpToggleDisabled:"Disabled, click to enable",mcpDisconnectBtn:"Disconnect",mcpConnectBtn:"Connect",mcpVarNamePlaceholder:"Variable name",mcpVarValuePlaceholder:"Value",mcpToggleEye:"Show/Hide",mcpRemoveRow:"Remove this row",mcpHeaderNamePlaceholder:"Header name",mcpHeaders:"Headers",mcpHeadersHint:"(HTTP request headers, e.g. Authorization, X-API-Key)",mcpAddHeader:"+ Add header",transportStdioTitle:"Subprocess communication (npx/python etc.)",transportSseTitle:"Server-Sent Events (HTTP GET long connection + POST to send)",transportStreamableHttpTitle:"MCP officially recommended HTTP transport (POST + GET SSE)",transportWebsocketTitle:"WebSocket bidirectional communication",mcpCommandPlaceholder:"Command path, e.g. npx, python",mcpArgsPlaceholder:"Arguments, space-separated",mcpCustomHeadersCount:"{count} custom headers",mcpAddFailedShort:"Add failed",mcpDeleteFailedShort:"Delete failed",mcpConnectFailedShort:"Connect failed",mcpDisconnectFailedShort:"Disconnect failed",mcpOperationFailedShort:"Operation failed",workflowSkillsTitle:"Workflow Skills (automated flows)",agentSkillsTitle:"Agent Skills (AI capability extension)",stepCount:"{count} steps",resourceCount:"{count} resources",expand:"Expand",run:"Run",enable:"Enable",disable:"Disable",builtin:"Built-in",moreCount:"+{count} more",editSkillMd:"Edit SKILL.md",viewDetails:"View details",required:"*Required",optional:"Optional",runSkillTitle:'Run Skill "{name}"',fillParamsHint:"Please fill in the following parameters and run:",defaultParamHint:" (default: {default})",noExecutionResult:"No execution result",conditionNotMetSkipped:"Condition not met, skipped",executionSuccess:"Executed successfully",executionFailed:"Execution failed",truncated:"... ({count} chars total, truncated)",executionComplete:"Execution complete",executionSummary:"{success} succeeded, {fail} failed, {skip} skipped",skillRunResultTitle:'Skill "{name}" {status}',skillImportFailedShort:"Import failed",skillDeleteFailedShort:"Delete failed",skillOperationFailedShort:"Operation failed",exportSkill:"Export",exportingSkill:"Exporting...",skillExported:'Skill "{name}" exported successfully',skillExportFailed:"Export failed: {error}",invalidSkillDataFormat:"Invalid Skill data format",editAgentSkill:"Edit Agent Skill",newAgentSkill:"New Agent Skill",skillNameLabel:"Skill name",skillDescLabel:"Description",skillVersionLabel:"Version",skillMarkdownLabel:"SKILL.md content (Markdown)",skillDescPlaceholder:'Briefly describe what this Skill does (prefer "Use when..." phrasing so the model can load it on demand)',skillDescScenePlaceholder:'Briefly describe the Skill functionality and applicable scenarios (prefer "Use when..." phrasing so the model can load it on demand)',skillNameExamplePlaceholder:"e.g. code-review or deploy-to-server",skillMarkdownPlaceholder:`# Skill name
36
36
 
37
37
  ## When to use
@@ -46,11 +46,11 @@ You will need to pair again after deletion.`,deleteAgentTitle:"Delete Agent",age
46
46
 
47
47
  ## Execution steps
48
48
  1. Step 1
49
- 2. Step 2`,existingResources:"Existing resource files",skillNameRequired:"Please enter the Skill name",skillMarkdownRequired:"Please enter the SKILL.md content",agentSkillSaved:'Agent Skill "{name}" saved successfully',saveFailedShort:"Save failed",saveFailed:"Save failed: {error}",viewSkillTitle:"View Skill: {name}",importSkillTitle:"Import Skill",importBtn:"Import",jsonImport:"JSON Import",newAuthoring:"New Authoring",zipPackage:"Zip",urlImport:"URL Import",jsonImportDesc:"Import a Workflow Skill in JSON format (deterministic automated flow)",clickOrDragJson:"Click to select a JSON file or drag it here",jsonFileHint:"Supports .json Workflow Skill definition files",markdownImportDesc:"Write SKILL.md content directly to create an Agent Skill (AI capability extension)",zipImportDesc:"Import a Zip archive containing SKILL.md, with optional scripts/templates/assets resources",clickOrDragZip:"Click to select a Zip file or drag it here",zipFileHint:"The Zip must contain a SKILL.md file; optional scripts/ templates/ assets/ subdirectories",urlImportDesc:"Download a Skill Zip from a remote URL and import automatically",downloadUrl:"Download URL",selectJsonFile:"Please select a JSON file",workflowSkillImported:'Workflow Skill "{name}" imported successfully',agentSkillCreated:'Agent Skill "{name}" created successfully',createFailedShort:"Create failed",selectZipFile:"Please select a Zip file",fileTooLarge:"File too large; max 50MB supported",fileReadFailed:"File read failed",agentSkillImported:'Agent Skill "{name}" imported successfully',urlRequired:"Please enter a URL",importFailed:"Import failed: {error}",searchMcpPlaceholder:"Search MCP servers...",searchSkillPlaceholder:"Search skills...",filterAll:"All",filterEnabled:"Enabled",filterDisabled:"Disabled",noMatchResult:"No matching results"},memoryPanel:{tabTitle:"Memory",title:"Memory Vectors",enabled:"Enabled",disabled:"Disabled",statusTitle:"Vector index status",statusLoading:"Loading\u2026",statusOffline:"Agent is not connected, vector status unavailable",statusFail:"Failed to read vector status",statusOldAgent:"This agent version has no such status endpoint \u2014 restart the agent",statusDetail:"Response",statusIndexed:"Indexed {indexed} of {total}",statusStored:"Stored vector fingerprint",statusCurrent:"Current config fingerprint",statusTier:"Active tier",statusStale:"Stale: model changed without rebuild",statusFresh:"Matches current config",staleHint:"Old vectors are incomparable with the new config, so semantic recall degrades silently. Click \u201CRebuild vector index\u201D (save unsaved edits first).",modeLabel:"Embedding source",modeRemote:"Remote service (OpenAI-compatible API)",modeLocal:"Local model",baseUrlLabel:"Endpoint",baseUrlPlaceholder:"https://api.openai.com/v1",modelLabel:"Model name",modelPlaceholder:"BAAI/bge-m3",apiKeyLabel:"API Key",apiKeyPlaceholder:"Leave blank to keep the stored key",apiKeyClearBtn:"Clear stored key",apiKeyClearConfirm:"Remote semantic recall stops (falls back to keywords) until a new key is saved. Clear the stored key?",apiKeyCleared:"Stored API key cleared",apiKeyClearFail:"Failed to clear key: {error}",configNotLoaded:"Config failed to load. Refresh the panel before saving so the agent\u2019s stored settings are not overwritten with blanks",dimsLabel:"Vector dimensions (blank is fine, detected on test)",prefixLabel:"Query prefix (optional)",localNotice:"Local mode needs no connectivity test: save, then rebuild the vector index (the first run downloads the model and may take tens of minutes). Embeddings are silently truncated at 512 tokens, so only the head of an over-long entry is indexed.",testBtn:"Test connectivity",testRunning:"Testing\u2026",testOk:"OK: {model} returns {dims} dimensions",testFail:"Test failed: {error}",scopeHint:"Clicking the bottom \u201CSave\u201D also writes this tab\u2019s config into the agent service config.json; when the agent is offline this item is skipped and only extension settings are saved",saveSkippedOffline:"Agent not connected \u2014 memory vector config was not saved (only extension settings saved)",saveSuccess:"Memory vector config saved",saveFail:"Save failed: {error}",toggleOnSaved:"Semantic vector recall enabled",toggleOffSaved:"Semantic vector recall disabled - recall falls back to keywords",toggleFail:"Failed to toggle: {error}",reindexBtn:"Rebuild vector index",reindexConfirm:"Rebuilding recomputes vectors for every memory with the current config. On local mode 41 entries measured about 23 minutes (remote about 2). Keep this page open. Continue?",reindexRunning:"Rebuilding, please keep this page open\u2026",reindexDone:"Rebuild done: indexed {indexed} of {total}",reindexBatchFail:" ({count} batches failed, see agent logs)",reindexOverWindow:" ({count} entries exceed the {window}-token window, their tails are not indexed)",reindexSkipped:"Rebuild skipped: vector tier is disabled",reindexFail:"Rebuild failed: {error}",gateAgentOffTitle:"Agent not connected",gateAgentOffBody:'Memory vector config is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagTitle:"Local model dependency missing",gateRagMissing:'Local models require the RAG dependency. Install it in the "Extensions" panel first, then come back here.',goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab'},memoryEntries:{title:"Memory Entries",refreshBtn:"Refresh",exportBtn:"Export",importBtn:"Import",exportEmpty:"No memory entries to export",exportDone:"Exported {count} memories to {file}",importParseFail:"Import failed: the file is not valid JSON",importFormatFail:"Import failed: unrecognized format, please choose a memory export or archive file",importConfirm:"Append {add} memories and skip {skipped} (duplicates or invalid). Existing memories are not overwritten, but imported entries cannot be undone in bulk. Continue?",importNone:"No new memories to import ({skipped} skipped)",importDone:"Import finished: {added} added, {skipped} skipped",importPartialFail:"Import finished: {added} added, {failed} failed, {skipped} skipped",searchPlaceholder:"Search content or tags\u2026",filterAll:"All types",filterFact:"Facts",filterSummary:"Summaries",sortCreatedDesc:"Created (newest first)",sortImportanceDesc:"Importance (high \u2192 low)",sortValueDesc:"Value (high \u2192 low)",sortValueAsc:"Value (low \u2192 high)",count:"{shown} of {total}",loading:"Loading\u2026",empty:"No memories yet",noMatch:"No entries match the filter",offline:"Agent not connected - memory entries unavailable",unsupported:"This agent version does not support memory entry management - upgrade and restart the agent",loadFail:"Failed to load memory entries: {error}",importanceShort:"Imp",valueShort:"Value",createdLabel:"Created",lastAccessLabel:"Last accessed",neverAccessed:"never",accessCount:"{count} accesses",tagsLabel:"Tags",editBtn:"Edit",deleteBtn:"Delete",editTitle:"Edit memory entry",typeLabel:"Type",contentLabel:"Content",importanceLabel:"Importance (1-10)",tagsPlaceholder:"comma-separated, e.g. environment, preference",saveBtn:"Save",cancelBtn:"Cancel",contentEmpty:"Content cannot be empty",saved:"Memory updated",saveFail:"Update failed: {error}",deleteConfirm:"Delete this memory? It cannot be undone, and its vector cache entry is dropped as well.",deleted:"Memory deleted",deleteFail:"Delete failed: {error}",candidatesHint:"{count} low-value memories are suggested for removal (value below 10)",compactBtn:"Compact now",compactConfirm:"Compacting archives {count} memories with value below {threshold}, then removes them from the memory store. Archive files can be used for recovery. Continue?",compactDone:"Compact done: archived {facts} facts and {summaries} summaries",compactArchived:"Archived {count} evicted memories to {dir}; you can restore them from there when needed",compactFail:"Compact failed: {error}"},knowledge:{tabTitle:"Knowledge",gateAgentOffTitle:"Agent not connected",gateAgentOffDesc:'Knowledge base is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagOffTitle:"Knowledge base feature is disabled",gateRagOffDesc:'Turn on the "Knowledge Retrieval" master switch above to create and manage knowledge bases.',gateRagUnavailableTitle:"Agent capability not ready",gateRagUnavailableDesc:"RAG dependencies are not installed or the Node version is unsupported (Node 22+ required). See the install guide below.",goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab',enableNow:"Enable Now",title:"Knowledge Bases",createBtn:"+ New Knowledge Base",searchPlaceholder:"Search knowledge bases...",emptyTitle:"No knowledge base yet",emptyDesc:'Click "New Knowledge Base" to create one, then import documents to get started.',loadFailed:"Failed to load: {error}",retry:"Retry",statsSummary:"{docs} docs \xB7 {chunks} chunks",modeLocal:"Local model",modeRemote:"Remote service",actionEdit:"Edit",actionIngest:"Import",actionSearch:"Test Search",actionDocs:"Docs",actionExport:"Export",exporting:"Exporting...",exportSuccess:'Knowledge base "{name}" backup exported',exportFailed:"Knowledge base export failed: {error}",actionDelete:"Delete",actionEnable:"Enable",actionDisable:"Disable",badgeDisabled:"Disabled",enableSuccess:'Knowledge base "{name}" enabled',disableSuccess:'Knowledge base "{name}" disabled',createTitle:"New Knowledge Base",nameLabel:"Name",namePlaceholder:"e.g. Product Docs",descLabel:"Description (optional)",descPlaceholder:"Briefly describe what this knowledge base contains",createConfirm:"Create",creating:"Creating...",createSuccess:'Knowledge base "{name}" created',nameRequired:"Please enter a name",editTitle:"Edit Knowledge Base",editConfirm:"Save",saving:"Saving...",editSuccess:"Knowledge base updated",vectorSectionTitle:"Embedding model",vectorModeLocal:"Local model (bundled BGE Chinese model)",vectorModeRemote:"Remote service (OpenAI-compatible API)",vectorModeLocalHint:"Use the agent-bundled BGE Chinese model. No extra config needed; the model file downloads on first import.",vectorModeRemoteHint:"Call a remote OpenAI-compatible embedding service (SiliconFlow, Zhipu, OpenAI, etc.).",vectorEndpointLabel:"Endpoint (Base URL with version segment)",vectorEndpointPlaceholder:"e.g. https://api.siliconflow.cn/v1",vectorApiKeyLabel:"API Key",vectorApiKeyPlaceholder:"Paste API key",vectorApiKeyKeep:"Leave empty to keep the saved key",vectorModelLabel:"Model name",vectorModelPlaceholder:"e.g. BAAI/bge-m3",vectorDimsLabel:"Dimensions (optional, auto-detected on test)",vectorDimsPlaceholder:"Auto",vectorTestBtn:"Test Connection",vectorTesting:"Testing...",vectorTestOk:"Connected: {model} ({dims} dims)",vectorDimsFilled:"Dimensions auto-filled: {dims}",vectorTestFailed:"Test failed: {error}",vectorEndpointRequired:"Remote endpoint is required",vectorModelRequired:"Model name is required",rebuildConfirmTitle:"Change Embedding Config",rebuildConfirm:"Changing the embedding model or chunk settings requires rebuilding the index (all documents will be re-embedded). The old index stays searchable during the rebuild and switches automatically when done. Continue?",rebuildStarted:"Index rebuild started, refreshing when complete...",progressRebuilding:"Rebuilding index {current}/{total} documents\u2026",rebuildDone:"Index rebuild complete",rebuildFailed:"Index rebuild failed: {error}",deleteConfirmTitle:"Delete Knowledge Base",deleteConfirm:'Delete "{name}"? Its {docs} documents and {chunks} chunks will be removed permanently.',deleteSuccess:"Knowledge base deleted",ingestTitle:'Import documents into "{name}"',tabFile:"File",tabText:"Text",tabUrl:"URL",dropHint:"Drag & drop files here, or click to choose (multiple allowed)",dropSupported:"Supports txt / md / pdf / docx / xlsx / html, up to 50MB per file, 20 files per batch",selectedFile:"Selected: {name}",selectedCount:"Selected {count} file(s) (max {max} per batch)",removeFile:"Remove",textContentLabel:"Text content",textContentPlaceholder:"Paste the text to import here...",textNameLabel:"Document name (optional)",textNamePlaceholder:"Leave empty to auto-name",urlLabel:"Web page URL",urlPlaceholder:"https://example.com/page",chunkSettingsTitle:"Chunk settings",chunkSizeLabel:"Chunk size (chars)",chunkOverlapLabel:"Overlap (chars)",ingestConfirm:"Start Import",ingesting:"Parsing and embedding. The first import may download the model, please wait...",progressParsing:"Parsing document\u2026",progressChunking:"Splitting into chunks\u2026",progressEmbedding:"Embedding chunks {current}/{total}\u2026",progressStoring:"Writing to index\u2026",ingestSuccess:"Imported: {name} ({chunks} chunks)",ingestFailed:"Import failed: {error}",fileRequired:"Please choose a file first",contentRequired:"Please enter the text content",urlRequired:"Please enter the URL",fileTooLarge:"File too large, 50MB max",fileTypeUnsupported:"Unsupported file type: {name}",maxBatchFiles:"Up to {max} files per batch; please import in smaller batches",importingBatch:"Importing {current}/{total}: {name}",batchAllSuccess:"Batch import done: {count} documents ({chunks} chunks)",batchPartial:"Import done: {success} succeeded, {fail} failed (first error: {error})",batchAllFailed:"All imports failed: {error}",docsTitle:'Documents in "{name}"',docsEmpty:"No documents imported yet",docSearchPlaceholder:"Search document name or source...",docSearchEmpty:"No matching documents",docChunkCount:"{count} chunks",docDeleteConfirmTitle:"Delete Document",docDeleteConfirm:'Delete document "{name}"? All its chunks will be removed from the knowledge base.',docDeleteSuccess:"Document deleted",docSourceFile:"File",docSourceUrl:"Web",docSourceText:"Text",docOriginalSize:"Original {size}",docOriginalName:"original file {name}",docNoOriginal:"original not kept",docNoOriginalText:"text-only import, no original file",docOriginalQuotaSkipped:"original skipped (quota exceeded)",docOriginalMissing:"No original file for this document; text view only",docOriginalSkippedToast:"Original not saved (quota exceeded); text and vectors were indexed",docView:"View",docViewTitle:"View Original Text",docViewCopy:"Copy",docViewCopied:"Copied to clipboard",docViewPreview:"Preview",docViewSource:"Source",docViewTruncated:"Text is long; showing the first {limit} of {total} characters. Download the full text instead.",docViewEmpty:"(no text content)",docToc:"Outline",docFullscreen:"Fullscreen",docExitFullscreen:"Exit Fullscreen",docCharCount:"{count} chars",docDownloadOriginal:"Download Original",docDownloadText:"Download Text",docDownloading:"Downloading...",docDownloadFailed:"Download failed, please retry",searchTitle:"Test Search",searchScope:'Scope: "{name}"',searchQueryPlaceholder:"Enter a query, e.g. How to export data?",searchBtn:"Search",searching:"Searching...",searchTopKLabel:"Top K",searchThresholdLabel:"Threshold",searchHitCount:"{count} hits",searchNoHits:"No hits. Try lowering the similarity threshold.",searchFallbackHint:"All scores are below the threshold. Best matches for reference:",searchFailed:"Search failed: {error}",expandFull:"Expand",collapse:"Collapse",scoreLabel:"Score",opFailed:"Operation failed: {error}"},contextBubble:{labelSelection:"Selection",labelQuoted:"Quote",labelSkill:"Skill",labelMcp:"MCP",labelPage:"Page",labelFile:"File",labelKnowledge:"Knowledge",clickToExpand:"Click to expand",bubbleSkill:"{name} \u{1F9E9}",bubbleMcp:"{name} \u{1F50C}",bubblePage:"{title} \u{1F310}",bubbleKnowledge:"{name} \u{1F4DA} \xB7 {count} hits",bubbleKnowledgeMiss:"{name} \u{1F4DA} \xB7 no match",bubbleKnowledgeFailed:"{name} \u{1F4DA} \xB7 retrieval failed",bubbleKnowledgeSearching:"Searching knowledge base\u2026",kbHitToggle:"Click to expand/collapse",kbHitTruncated:"\u2702 Truncated \xB7 {total} chars total, first {kept} sent",kbHitTruncatedTitle:"Truncated to fit the context window; what is shown here is exactly what the model received",kbHitTruncatedBadge:"\u2702 {count} truncated"},configDialog:{exportTitle:"Export Settings",includeSecrets:"Include API keys",secretWarn:"\u26A0 Sensitive information; keep the file safe",exportDesc:"The exported file contains all settings except Agent connection info (proxy URL and pairing token); check the option below to include API keys and connection info as well.",export:"Export",importTitle:"Import Settings",mergeImport:"Merge import \u2014 only overwrite settings present in the file; keep the rest",replaceImport:"Full replace \u2014 clear current settings and use the file content",confirmImport:"Confirm Import",exportSuccess:"Settings exported",exportFailed:"Export failed: {error}",unknownTime:"Unknown",importSummary:"Exported at: {time}, containing {count} settings",invalidFileFormat:"Invalid file format",unrecognizedFormat:"Unrecognized settings format",unknownConfigKey:"Unknown setting key: {key}",importFailed:"Import failed: {error}",importParseFailed:"Import failed: cannot parse file format",importedCount:"Imported {count} settings"},queue:{enqueueBtn:"Add to queue",enqueued:"Added to queue (position {position})",enqueueFailed:"Failed to queue, your text is kept in the input",queueFull:"Queue is full (limit {limit}), please clear some queued tasks first",noSession:"Not ready yet, please retry shortly",summary:"{count} queued",summaryEmpty:"Queue empty",summaryFailed:"{count} task(s) failed",summaryFailedHint:"Failed to run; open Recent to requeue",pausedTag:"Paused",pausedHint:"Auto relay is paused",pausedByStop:"You stopped the task, so auto relay is paused",resumeQueue:"Resume queue",resumed:"Auto relay resumed",stopAndSend:"Stop and send",stopAndSendTitle:"Drop this round and start the queue now (right-click / long-press the stop button)",stopAndSendEmpty:"Nothing is waiting in the queue",stopAndSendStarted:"Current task stopped; the queue is starting",recentTitle:"Recent",recentEmpty:"No processed items yet",requeue:"Re-queue",requeued:"Added back to the queue",deleted:"Removed from queue",movedTop:"Moved to top",withContext:"with context",withImages:"{count} image(s)",withFiles:"{count} file(s)",attachmentsVolatile:"Images/files are too large to persist; they will be lost if the panel reloads, so run this item soon",attachmentsMissing:"Attachments could not be recovered (panel closed or released); this item will send text only",editBackWithAttachments:"Restored to input, including images/files",requeuedNoAttachments:"Requeued (original attachments released, text only)",forgetRecent:"Remove from history",forgotRecent:"Removed from Recent",filesStillExtracting:"Attached files are still being parsed; wait until parsing finishes before queueing (queueing now would lose file content)",inputHasUnsavedContext:"Images/files/quotes attached without text would be cleared by this restore; send or clear them first",statusDispatching:"Running",statusInjecting:"Inserting",statusInjected:"Inserted",statusDone:"Done",statusFailed:"Failed",statusRecovered:"Interrupted",statusRunningHint:"This task is running (tool calls included); the next one starts after it finishes",inject:"Insert into the running task (no need to wait for it)",injectIdleHint:"No task is running; this item will run in queue order",injectAccepted:"Delivered \u2014 takes effect after the current step",injected:"Inserted into the running task",autoCarried:"Queued item carried into the running task (round {iteration})",injectNoTask:"The task just finished; this item is back in the queue",injectTimeout:"No insertion confirmation; this item is back in the queue",injectTimeoutAdhoc:"No insertion confirmation; your text is still in the input box",injectFailed:"Insertion failed; this item is back in the queue",injectNoAttachments:"Items with images/files cannot be inserted into a running task (text only); let them run in queue order",editBack:"Edit in input",editTailHint:"Last queued item restored to the input; press Enter to send when done",delete:"Delete",stopNow:"Stop current task",tooManyAttempts:"This item failed {count} automatic attempts in a row; retries stopped and it was moved to Recent so you can requeue it manually",badgeTitle:"This session has {count} queued task(s)",sessionDropped:"This session had {count} queued task(s); they were removed along with the session"}};function Un(){if(typeof chrome>"u"||!chrome.i18n)return"zh";try{let e=chrome.i18n.getUILanguage();if(e&&e.startsWith("zh"))return"zh"}catch{}return"en"}var Ce="zh",_e={zh:Bi,en:qi},Oo=new Set;function zn(e,t){if(!e||!t)return;let o=t.split("."),n=e;for(let i of o){if(typeof n!="object"||!n)return;n=n[i]}return typeof n=="string"?n:void 0}function Kn(e,t){return!t||typeof e!="string"?e:e.replace(/\{(\w+)\}/g,(o,n)=>t[n]!==void 0&&t[n]!==null?String(t[n]):o)}function m(e,t){let o=zn(_e[Ce],e);if(o!==void 0)return Kn(o,t);if(Ce!=="en"){let n=zn(_e.en,e);if(n!==void 0)return Kn(n,t)}return e}function Wn(e){return typeof e=="function"&&Oo.add(e),()=>Oo.delete(e)}function G(e,t){_e[e]||(_e[e]={}),_e[e]=jn(_e[e],t)}function jn(e,t){for(let o of Object.keys(t||{}))t[o]&&typeof t[o]=="object"&&!Array.isArray(t[o])?((!e[o]||typeof e[o]!="object")&&(e[o]={}),jn(e[o],t[o])):e[o]=t[o];return e}var Gn=!1;async function $n(){if(typeof chrome>"u"||!chrome.storage||!chrome.storage.local)return Ce;try{let e=await chrome.storage.local.get("language");if(e.language&&_e[e.language])Ce=e.language;else{let t=Un();Ce=t,chrome.storage.local.set({language:t}).catch(()=>{})}}catch{Ce=Un()}if(!Gn){Gn=!0;try{chrome.storage.onChanged.addListener((e,t)=>{if(t!=="local"||!e.language)return;let o=e.language.newValue;if(o&&_e[o]&&o!==Ce){Ce=o;for(let n of Oo)try{n(o)}catch{}}})}catch{}}return Ce}var Ee={fetchUrl:{fallback:15e3,min:1e3,max:12e4},tabLoad:{fallback:15e3,min:1e3,max:12e4},navigation:{fallback:3e4,min:1e3,max:12e4},waitElement:{fallback:1e4,min:200,max:6e4},selectOption:{fallback:5e3,min:200,max:6e4},actionWait:{fallback:2e3,min:200,max:3e4},actionMinWait:{fallback:300,min:200,max:5e3}};function Re(e,t){let{fallback:o,min:n,max:i}=t,a=Number(e);return!Number.isFinite(a)||a<=0?o:Math.min(i,Math.max(n,Math.floor(a)))}G("zh",{pageInteraction:{refHint:"ref \u7F16\u53F7\u4EC5\u672C\u6B21\u67E5\u8BE2\u6709\u6548\uFF0C\u9875\u9762\u5BFC\u822A/\u5237\u65B0\u6216\u5207\u6362 tab \u540E\u9700\u91CD\u65B0 query_elements",snapshotHeader:"\u53EF\u4EA4\u4E92\u5143\u7D20\u5FEB\u7167\uFF1A{count} \u4E2A\u5143\u7D20",snapshotTruncated:"\uFF08\u5171 {total} \u4E2A\uFF0C\u5DF2\u622A\u65AD\uFF0C\u8BF7\u7528 filterByText \u7F29\u5C0F\u8303\u56F4\uFF09",snapshotPageInfo:"\uFF08\u7B2C {page}/{totalPages} \u9875\uFF0C\u672C\u6B21\u8F93\u51FA {count} \u4E2A\uFF09",snapshotHasMore:"\u8FD8\u6709\u66F4\u591A\u5143\u7D20\uFF1A\u8C03\u7528 query_elements \u65F6\u5E26 page={next} \u67E5\u770B",snapshotPageOutOfRange:"page={page} \u8D85\u51FA\u8303\u56F4\uFF08\u5171 {totalPages} \u9875\uFF09",snapshotOverlayBlock:"[\u6253\u5F00\u5C42]",snapshotBodyBlock:"[\u9875\u9762\u4E3B\u4F53]",snapshotFooter:"\uFF08ref \u7F16\u53F7\u4EC5\u5F53\u524D\u5FEB\u7167\u6709\u6548\uFF1B\u9875\u9762\u53D8\u5316\u540E\u8BF7\u91CD\u65B0\u8C03\u7528 query_elements\uFF09",snapshotHeaderFrames:"\uFF08\u542B {n} \u4E2A iframe\uFF09",snapshotFramesLimited:"\uFF08\u90E8\u5206 iframe \u8D85\u51FA\u6570\u91CF/\u6DF1\u5EA6\u4E0A\u9650\uFF0C\u672A\u5C55\u5F00\uFF09",snapshotFrameBlock:"[frame #{index}{title}{hostSeg}]",snapshotFramePlaceholder:"iframe #{index}{title}",snapshotFrameUnreachable:"\uFF08\u5185\u5BB9\u4E0D\u53EF\u8BBF\u95EE\uFF09"}}),G("en",{pageInteraction:{refHint:"ref numbers are only valid for the current query; re-run query_elements after page navigation/refresh or tab switch",snapshotHeader:"Interactive elements snapshot: {count} element(s)",snapshotTruncated:" (of {total} total; truncated \u2014 narrow down with filterByText)",snapshotPageInfo:" (page {page}/{totalPages}, {count} shown)",snapshotHasMore:"More elements available: call query_elements with page={next}",snapshotPageOutOfRange:"page={page} is out of range (only {totalPages} page(s))",snapshotOverlayBlock:"[Open overlays]",snapshotBodyBlock:"[Page body]",snapshotFooter:"(ref numbers are valid only for this snapshot; re-run query_elements after the page changes)",snapshotHeaderFrames:" ({n} iframe(s))",snapshotFramesLimited:" (some iframes exceed count/depth limits; not expanded)",snapshotFrameBlock:"[frame #{index}{title}{hostSeg}]",snapshotFramePlaceholder:"iframe #{index}{title}",snapshotFrameUnreachable:" (content inaccessible)"}});function Ui(e){if(!e)return"";if(e==="about:srcdoc")return"srcdoc";if(e==="about:blank")return"blank";try{return new URL(e).hostname||""}catch{return""}}function _o(e,t){for(let o of e)o.t==="el"&&o.localRef!=null&&t.push(o),o.children&&o.children.length&&_o(o.children,t)}function zi(e,t,o){if(e.status==="hidden"||e.status==="off")return!1;let n=e.title?` "${e.title}"`:"",i;return i=e.status==="ok"&&e.frameIndex!=null?m("pageInteraction.snapshotFramePlaceholder",{index:e.frameIndex,title:n}):e.status==="unreachable"&&e.frameIndex!=null?m("pageInteraction.snapshotFramePlaceholder",{index:e.frameIndex,title:n})+m("pageInteraction.snapshotFrameUnreachable"):`iframe${n}`,i=" ".repeat(e.depth||0)+i,o.budget-=i.length+1,t.push(i),!0}function Ho(e,t,o){if(!e)return!1;if(e.t==="frame")return zi(e,t,o);let n=[],i=!1;for(let a of e.children||[])Ho(a,n,o)&&(i=!0);if(e.t==="el"){if(e.localRef!=null&&o.selected.has(e)){if(o.budget<=0)return o.truncated=!0,i;let a=e.role||"",r=e.name||"",s=e.attrs||"",c=e.depth+a.length+(r?r.length+2:0)+(s?s.length+1:0)+12;if(o.budget-c<0)return o.truncated=!0,i;let d=`${" ".repeat(e.depth)}${a}${r?` "${r}"`:""} [ref ${e.localRef}]${s?" "+s:""}`;return o.budget-=d.length+1,o.count+=1,t.push(d,...n),!0}return i?(t.push(...n),!0):!1}if(e.t==="container"){if(i){let a=`${" ".repeat(e.depth)}${e.role}${e.name?` "${e.name}"`:""}`;return o.budget-=a.length+1,t.push(a,...n),!0}return!1}return i?(t.push(...n),!0):!1}function Vn(e,t,o){let n=[];if((e.overlayTrees||[]).length){for(let i of e.overlayTrees)Ho(i,n,o);n.length&&t.push(m("pageInteraction.snapshotOverlayBlock"),...n,m("pageInteraction.snapshotBodyBlock"))}for(let i of e.bodyTree||[])Ho(i,t,o)}function Yn(e={}){let{frames:t=[],page:o=1,maxResults:n=100,maxChars:i=6e3,countOnly:a=!1,frameCount:r=0,framesLimited:s=0}=e||{},c=Number.isInteger(o)&&o>=1?o:1,d=Math.max(1,n),u=[];for(let L of t)_o(L.overlayTrees||[],u),_o(L.bodyTree||[],u);let p=u.length;if(a)return{success:!0,content:"",count:p,total:p,truncated:!1,hint:""};let h=Math.ceil(p/d),b=r>0?m("pageInteraction.snapshotHeaderFrames",{n:r}):"",x=s>0?m("pageInteraction.snapshotFramesLimited"):"";if(p>0&&c>h)return{success:!0,content:[m("pageInteraction.snapshotHeader",{count:p})+b+x,m("pageInteraction.snapshotPageOutOfRange",{page:c,totalPages:h}),m("pageInteraction.snapshotFooter")].join(`
50
- `),count:0,total:p,page:c,totalPages:h,hasMore:!1,truncated:!1,hint:""};let w=(c-1)*d,k=new Set(u.slice(w,w+d)),S=c<h,D={selected:k,budget:i,truncated:!1,count:0},R=[],H=t.find(L=>L.isTop)||t[0];H&&Vn(H,R,D);for(let L of t.filter(oe=>oe!==H)){let oe=[];if(Vn(L,oe,D),!oe.length)continue;let ue=" ".repeat(Math.max(0,(L.depth||1)-1)*2),Ae=L.frameInfo&&L.frameInfo.title?` "${L.frameInfo.title}"`:"",ne=Ui(L.frameInfo&&L.frameInfo.url);R.push(ue+m("pageInteraction.snapshotFrameBlock",{index:L.frameIndex,title:Ae,hostSeg:ne?" \xB7 "+ne:""}),...oe.map(ht=>ue+" "+ht))}let B=h>1,Q=m("pageInteraction.snapshotHeader",{count:B?p:D.count})+b+x+(B?m("pageInteraction.snapshotPageInfo",{page:c,totalPages:h,count:D.count}):"")+(D.truncated?m("pageInteraction.snapshotTruncated",{total:p}):"");return R.unshift(Q),S&&R.push(m("pageInteraction.snapshotHasMore",{next:c+1})),R.push(m("pageInteraction.snapshotFooter")),{success:!0,content:R.join(`
49
+ 2. Step 2`,existingResources:"Existing resource files",skillNameRequired:"Please enter the Skill name",skillMarkdownRequired:"Please enter the SKILL.md content",agentSkillSaved:'Agent Skill "{name}" saved successfully',saveFailedShort:"Save failed",saveFailed:"Save failed: {error}",viewSkillTitle:"View Skill: {name}",importSkillTitle:"Import Skill",importBtn:"Import",jsonImport:"JSON Import",newAuthoring:"New Authoring",zipPackage:"Zip",urlImport:"URL Import",jsonImportDesc:"Import a Workflow Skill in JSON format (deterministic automated flow)",clickOrDragJson:"Click to select a JSON file or drag it here",jsonFileHint:"Supports .json Workflow Skill definition files",markdownImportDesc:"Write SKILL.md content directly to create an Agent Skill (AI capability extension)",zipImportDesc:"Import a Zip archive containing SKILL.md, with optional scripts/templates/assets resources",clickOrDragZip:"Click to select a Zip file or drag it here",zipFileHint:"The Zip must contain a SKILL.md file; optional scripts/ templates/ assets/ subdirectories",urlImportDesc:"Download a Skill Zip from a remote URL and import automatically",downloadUrl:"Download URL",selectJsonFile:"Please select a JSON file",workflowSkillImported:'Workflow Skill "{name}" imported successfully',agentSkillCreated:'Agent Skill "{name}" created successfully',createFailedShort:"Create failed",selectZipFile:"Please select a Zip file",fileTooLarge:"File too large; max 50MB supported",fileReadFailed:"File read failed",agentSkillImported:'Agent Skill "{name}" imported successfully',urlRequired:"Please enter a URL",importFailed:"Import failed: {error}",searchMcpPlaceholder:"Search MCP servers...",searchSkillPlaceholder:"Search skills...",filterAll:"All",filterEnabled:"Enabled",filterDisabled:"Disabled",noMatchResult:"No matching results"},memoryPanel:{tabTitle:"Memory",title:"Memory Vectors",enabled:"Enabled",disabled:"Disabled",statusTitle:"Vector index status",statusLoading:"Loading\u2026",statusOffline:"Agent is not connected, vector status unavailable",statusFail:"Failed to read vector status",statusOldAgent:"This agent version has no such status endpoint \u2014 restart the agent",statusDetail:"Response",statusIndexed:"Indexed {indexed} of {total}",statusStored:"Stored vector fingerprint",statusCurrent:"Current config fingerprint",statusTier:"Active tier",statusStale:"Stale: model changed without rebuild",statusFresh:"Matches current config",staleHint:"Old vectors are incomparable with the new config, so semantic recall degrades silently. Click \u201CRebuild vector index\u201D (save unsaved edits first).",modeLabel:"Embedding source",modeRemote:"Remote service (OpenAI-compatible API)",modeLocal:"Local model",baseUrlLabel:"Endpoint",baseUrlPlaceholder:"https://api.openai.com/v1",modelLabel:"Model name",modelPlaceholder:"BAAI/bge-m3",apiKeyLabel:"API Key",apiKeyPlaceholder:"Leave blank to keep the stored key",apiKeyClearBtn:"Clear stored key",apiKeyClearConfirm:"Remote semantic recall stops (falls back to keywords) until a new key is saved. Clear the stored key?",apiKeyCleared:"Stored API key cleared",apiKeyClearFail:"Failed to clear key: {error}",configNotLoaded:"Config failed to load. Refresh the panel before saving so the agent\u2019s stored settings are not overwritten with blanks",dimsLabel:"Vector dimensions (blank is fine, detected on test)",prefixLabel:"Query prefix (optional)",localNotice:"Local mode needs no connectivity test: save, then rebuild the vector index (the first run downloads the model and may take tens of minutes). Embeddings are silently truncated at 512 tokens, so only the head of an over-long entry is indexed.",testBtn:"Test connectivity",testRunning:"Testing\u2026",testOk:"OK: {model} returns {dims} dimensions",testFail:"Test failed: {error}",scopeHint:"Clicking the bottom \u201CSave\u201D also writes this tab\u2019s config into the agent service config.json; when the agent is offline this item is skipped and only extension settings are saved",saveSkippedOffline:"Agent not connected \u2014 memory vector config was not saved (only extension settings saved)",saveSuccess:"Memory vector config saved",saveFail:"Save failed: {error}",toggleOnSaved:"Semantic vector recall enabled",toggleOffSaved:"Semantic vector recall disabled - recall falls back to keywords",toggleFail:"Failed to toggle: {error}",reindexBtn:"Rebuild vector index",reindexConfirm:"Rebuilding recomputes vectors for every memory with the current config. On local mode 41 entries measured about 23 minutes (remote about 2). Keep this page open. Continue?",reindexRunning:"Rebuilding, please keep this page open\u2026",reindexDone:"Rebuild done: indexed {indexed} of {total}",reindexBatchFail:" ({count} batches failed, see agent logs)",reindexOverWindow:" ({count} entries exceed the {window}-token window, their tails are not indexed)",reindexSkipped:"Rebuild skipped: vector tier is disabled",reindexFail:"Rebuild failed: {error}",gateAgentOffTitle:"Agent not connected",gateAgentOffBody:'Memory vector config is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagTitle:"Local model dependency missing",gateRagMissing:'Local models require the RAG dependency. Install it in the "Extensions" panel first, then come back here.',goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab'},memoryEntries:{title:"Memory Entries",refreshBtn:"Refresh",exportBtn:"Export",importBtn:"Import",exportEmpty:"No memory entries to export",exportDone:"Exported {count} memories to {file}",importParseFail:"Import failed: the file is not valid JSON",importFormatFail:"Import failed: unrecognized format, please choose a memory export or archive file",importConfirm:"Append {add} memories and skip {skipped} (duplicates or invalid). Existing memories are not overwritten, but imported entries cannot be undone in bulk. Continue?",importNone:"No new memories to import ({skipped} skipped)",importDone:"Import finished: {added} added, {skipped} skipped",importPartialFail:"Import finished: {added} added, {failed} failed, {skipped} skipped",searchPlaceholder:"Search content or tags\u2026",filterAll:"All types",filterFact:"Facts",filterSummary:"Summaries",sortCreatedDesc:"Created (newest first)",sortImportanceDesc:"Importance (high \u2192 low)",sortValueDesc:"Value (high \u2192 low)",sortValueAsc:"Value (low \u2192 high)",count:"{shown} of {total}",loading:"Loading\u2026",empty:"No memories yet",noMatch:"No entries match the filter",offline:"Agent not connected - memory entries unavailable",unsupported:"This agent version does not support memory entry management - upgrade and restart the agent",loadFail:"Failed to load memory entries: {error}",importanceShort:"Imp",valueShort:"Value",createdLabel:"Created",lastAccessLabel:"Last accessed",neverAccessed:"never",accessCount:"{count} accesses",tagsLabel:"Tags",editBtn:"Edit",deleteBtn:"Delete",editTitle:"Edit memory entry",typeLabel:"Type",contentLabel:"Content",importanceLabel:"Importance (1-10)",tagsPlaceholder:"comma-separated, e.g. environment, preference",saveBtn:"Save",cancelBtn:"Cancel",contentEmpty:"Content cannot be empty",saved:"Memory updated",saveFail:"Update failed: {error}",deleteConfirm:"Delete this memory? It cannot be undone, and its vector cache entry is dropped as well.",deleted:"Memory deleted",deleteFail:"Delete failed: {error}",candidatesHint:"{count} low-value memories are suggested for removal (value below 10)",compactBtn:"Compact now",compactConfirm:"Compacting archives {count} memories with value below {threshold}, then removes them from the memory store. Archive files can be used for recovery. Continue?",compactDone:"Compact done: archived {facts} facts and {summaries} summaries",compactArchived:"Archived {count} evicted memories to {dir}; you can restore them from there when needed",compactFail:"Compact failed: {error}"},knowledge:{tabTitle:"Knowledge",gateAgentOffTitle:"Agent not connected",gateAgentOffDesc:'Knowledge base is provided by the local agent. Connect an agent in the "Agent" tab first, then come back here.',gateRagOffTitle:"Knowledge base feature is disabled",gateRagOffDesc:'Turn on the "Knowledge Retrieval" master switch above to create and manage knowledge bases.',gateRagUnavailableTitle:"Agent capability not ready",gateRagUnavailableDesc:"RAG dependencies are not installed or the Node version is unsupported (Node 22+ required). See the install guide below.",goToAgentTab:'Go to "Agent" tab',goToToolboxTab:'Go to "Extensions" tab',enableNow:"Enable Now",title:"Knowledge Bases",createBtn:"+ New Knowledge Base",searchPlaceholder:"Search knowledge bases...",emptyTitle:"No knowledge base yet",emptyDesc:'Click "New Knowledge Base" to create one, then import documents to get started.',loadFailed:"Failed to load: {error}",retry:"Retry",statsSummary:"{docs} docs \xB7 {chunks} chunks",modeLocal:"Local model",modeRemote:"Remote service",actionEdit:"Edit",actionIngest:"Import",actionSearch:"Test Search",actionDocs:"Docs",actionExport:"Export",exporting:"Exporting...",exportSuccess:'Knowledge base "{name}" backup exported',exportFailed:"Knowledge base export failed: {error}",actionDelete:"Delete",actionEnable:"Enable",actionDisable:"Disable",badgeDisabled:"Disabled",enableSuccess:'Knowledge base "{name}" enabled',disableSuccess:'Knowledge base "{name}" disabled',createTitle:"New Knowledge Base",nameLabel:"Name",namePlaceholder:"e.g. Product Docs",descLabel:"Description (optional)",descPlaceholder:"Briefly describe what this knowledge base contains",createConfirm:"Create",creating:"Creating...",createSuccess:'Knowledge base "{name}" created',nameRequired:"Please enter a name",editTitle:"Edit Knowledge Base",editConfirm:"Save",saving:"Saving...",editSuccess:"Knowledge base updated",vectorSectionTitle:"Embedding model",vectorModeLocal:"Local model (bundled BGE Chinese model)",vectorModeRemote:"Remote service (OpenAI-compatible API)",vectorModeLocalHint:"Use the agent-bundled BGE Chinese model. No extra config needed; the model file downloads on first import.",vectorModeRemoteHint:"Call a remote OpenAI-compatible embedding service (SiliconFlow, Zhipu, OpenAI, etc.).",vectorEndpointLabel:"Endpoint (Base URL with version segment)",vectorEndpointPlaceholder:"e.g. https://api.siliconflow.cn/v1",vectorApiKeyLabel:"API Key",vectorApiKeyPlaceholder:"Paste API key",vectorApiKeyKeep:"Leave empty to keep the saved key",vectorModelLabel:"Model name",vectorModelPlaceholder:"e.g. BAAI/bge-m3",vectorDimsLabel:"Dimensions (optional, auto-detected on test)",vectorDimsPlaceholder:"Auto",vectorTestBtn:"Test Connection",vectorTesting:"Testing...",vectorTestOk:"Connected: {model} ({dims} dims)",vectorDimsFilled:"Dimensions auto-filled: {dims}",vectorTestFailed:"Test failed: {error}",vectorEndpointRequired:"Remote endpoint is required",vectorModelRequired:"Model name is required",rebuildConfirmTitle:"Change Embedding Config",rebuildConfirm:"Changing the embedding model or chunk settings requires rebuilding the index (all documents will be re-embedded). The old index stays searchable during the rebuild and switches automatically when done. Continue?",rebuildStarted:"Index rebuild started, refreshing when complete...",progressRebuilding:"Rebuilding index {current}/{total} documents\u2026",rebuildDone:"Index rebuild complete",rebuildFailed:"Index rebuild failed: {error}",deleteConfirmTitle:"Delete Knowledge Base",deleteConfirm:'Delete "{name}"? Its {docs} documents and {chunks} chunks will be removed permanently.',deleteSuccess:"Knowledge base deleted",ingestTitle:'Import documents into "{name}"',tabFile:"File",tabText:"Text",tabUrl:"URL",dropHint:"Drag & drop files here, or click to choose (multiple allowed)",dropSupported:"Supports txt / md / pdf / docx / xlsx / html, up to 50MB per file, 20 files per batch",selectedFile:"Selected: {name}",selectedCount:"Selected {count} file(s) (max {max} per batch)",removeFile:"Remove",textContentLabel:"Text content",textContentPlaceholder:"Paste the text to import here...",textNameLabel:"Document name (optional)",textNamePlaceholder:"Leave empty to auto-name",urlLabel:"Web page URL",urlPlaceholder:"https://example.com/page",chunkSettingsTitle:"Chunk settings",chunkSizeLabel:"Chunk size (chars)",chunkOverlapLabel:"Overlap (chars)",ingestConfirm:"Start Import",ingesting:"Parsing and embedding. The first import may download the model, please wait...",progressParsing:"Parsing document\u2026",progressChunking:"Splitting into chunks\u2026",progressEmbedding:"Embedding chunks {current}/{total}\u2026",progressStoring:"Writing to index\u2026",ingestSuccess:"Imported: {name} ({chunks} chunks)",ingestFailed:"Import failed: {error}",fileRequired:"Please choose a file first",contentRequired:"Please enter the text content",urlRequired:"Please enter the URL",fileTooLarge:"File too large, 50MB max",fileTypeUnsupported:"Unsupported file type: {name}",maxBatchFiles:"Up to {max} files per batch; please import in smaller batches",importingBatch:"Importing {current}/{total}: {name}",batchAllSuccess:"Batch import done: {count} documents ({chunks} chunks)",batchPartial:"Import done: {success} succeeded, {fail} failed (first error: {error})",batchAllFailed:"All imports failed: {error}",docsTitle:'Documents in "{name}"',docsEmpty:"No documents imported yet",docSearchPlaceholder:"Search document name or source...",docSearchEmpty:"No matching documents",docChunkCount:"{count} chunks",docDeleteConfirmTitle:"Delete Document",docDeleteConfirm:'Delete document "{name}"? All its chunks will be removed from the knowledge base.',docDeleteSuccess:"Document deleted",docSourceFile:"File",docSourceUrl:"Web",docSourceText:"Text",docOriginalSize:"Original {size}",docOriginalName:"original file {name}",docNoOriginal:"original not kept",docNoOriginalText:"text-only import, no original file",docOriginalQuotaSkipped:"original skipped (quota exceeded)",docOriginalMissing:"No original file for this document; text view only",docOriginalSkippedToast:"Original not saved (quota exceeded); text and vectors were indexed",docView:"View",docViewTitle:"View Original Text",docViewCopy:"Copy",docViewCopied:"Copied to clipboard",docViewPreview:"Preview",docViewSource:"Source",docViewTruncated:"Text is long; showing the first {limit} of {total} characters. Download the full text instead.",docViewEmpty:"(no text content)",docToc:"Outline",docFullscreen:"Fullscreen",docExitFullscreen:"Exit Fullscreen",docCharCount:"{count} chars",docDownloadOriginal:"Download Original",docDownloadText:"Download Text",docDownloading:"Downloading...",docDownloadFailed:"Download failed, please retry",searchTitle:"Test Search",searchScope:'Scope: "{name}"',searchQueryPlaceholder:"Enter a query, e.g. How to export data?",searchBtn:"Search",searching:"Searching...",searchTopKLabel:"Top K",searchThresholdLabel:"Threshold",searchHitCount:"{count} hits",searchNoHits:"No hits. Try lowering the similarity threshold.",searchFallbackHint:"All scores are below the threshold. Best matches for reference:",searchFailed:"Search failed: {error}",expandFull:"Expand",collapse:"Collapse",scoreLabel:"Score",opFailed:"Operation failed: {error}"},contextBubble:{labelSelection:"Selection",labelQuoted:"Quote",labelSkill:"Skill",labelMcp:"MCP",labelPage:"Page",labelFile:"File",labelKnowledge:"Knowledge",clickToExpand:"Click to expand",bubbleSkill:"{name} \u{1F9E9}",bubbleMcp:"{name} \u{1F50C}",bubblePage:"{title} \u{1F310}",bubbleKnowledge:"{name} \u{1F4DA} \xB7 {count} hits",bubbleKnowledgeMiss:"{name} \u{1F4DA} \xB7 no match",bubbleKnowledgeFailed:"{name} \u{1F4DA} \xB7 retrieval failed",bubbleKnowledgeSearching:"Searching knowledge base\u2026",kbHitToggle:"Click to expand/collapse",kbHitTruncated:"\u2702 Truncated \xB7 {total} chars total, first {kept} sent",kbHitTruncatedTitle:"Truncated to fit the context window; what is shown here is exactly what the model received",kbHitTruncatedBadge:"\u2702 {count} truncated"},configDialog:{exportTitle:"Export Settings",includeSecrets:"Include API keys",secretWarn:"\u26A0 Sensitive information; keep the file safe",exportDesc:"The exported file contains all settings except Agent connection info (proxy URL and pairing token); check the option below to include API keys and connection info as well.",export:"Export",importTitle:"Import Settings",mergeImport:"Merge import \u2014 only overwrite settings present in the file; keep the rest",replaceImport:"Full replace \u2014 clear current settings and use the file content",confirmImport:"Confirm Import",exportSuccess:"Settings exported",exportFailed:"Export failed: {error}",unknownTime:"Unknown",importSummary:"Exported at: {time}, containing {count} settings",invalidFileFormat:"Invalid file format",unrecognizedFormat:"Unrecognized settings format",unknownConfigKey:"Unknown setting key: {key}",importFailed:"Import failed: {error}",importParseFailed:"Import failed: cannot parse file format",importedCount:"Imported {count} settings"},queue:{enqueueBtn:"Add to queue",enqueued:"Added to queue (position {position})",enqueueFailed:"Failed to queue, your text is kept in the input",queueFull:"Queue is full (limit {limit}), please clear some queued tasks first",noSession:"Not ready yet, please retry shortly",summary:"{count} queued",summaryEmpty:"Queue empty",summaryFailed:"{count} task(s) failed",summaryFailedHint:"Failed to run; open Recent to requeue",pausedTag:"Paused",pausedHint:"Auto relay is paused",pausedByStop:"You stopped the task, so auto relay is paused",resumeQueue:"Resume queue",resumed:"Auto relay resumed",stopAndSend:"Stop and send",stopAndSendTitle:"Drop this round and start the queue now (right-click / long-press the stop button)",stopAndSendEmpty:"Nothing is waiting in the queue",stopAndSendStarted:"Current task stopped; the queue is starting",recentTitle:"Recent",recentEmpty:"No processed items yet",requeue:"Re-queue",requeued:"Added back to the queue",deleted:"Removed from queue",movedTop:"Moved to top",withContext:"with context",withImages:"{count} image(s)",withFiles:"{count} file(s)",attachmentsVolatile:"Images/files are too large to persist; they will be lost if the panel reloads, so run this item soon",attachmentsMissing:"Attachments could not be recovered (panel closed or released); this item will send text only",editBackWithAttachments:"Restored to input, including images/files",requeuedNoAttachments:"Requeued (original attachments released, text only)",forgetRecent:"Remove from history",forgotRecent:"Removed from Recent",filesStillExtracting:"Attached files are still being parsed; wait until parsing finishes before queueing (queueing now would lose file content)",inputHasUnsavedContext:"Images/files/quotes attached without text would be cleared by this restore; send or clear them first",statusDispatching:"Running",statusInjecting:"Inserting",statusInjected:"Inserted",statusDone:"Done",statusFailed:"Failed",statusRecovered:"Interrupted",statusRunningHint:"This task is running (tool calls included); the next one starts after it finishes",inject:"Insert into the running task (no need to wait for it)",injectIdleHint:"No task is running; this item will run in queue order",injectAccepted:"Delivered \u2014 takes effect after the current step",injected:"Inserted into the running task",autoCarried:"Queued item carried into the running task (round {iteration})",injectNoTask:"The task just finished; this item is back in the queue",injectTimeout:"No insertion confirmation; this item is back in the queue",injectTimeoutAdhoc:"No insertion confirmation; your text is still in the input box",injectFailed:"Insertion failed; this item is back in the queue",injectNoAttachments:"Items with images/files cannot be inserted into a running task (text only); let them run in queue order",editBack:"Edit in input",editTailHint:"Last queued item restored to the input; press Enter to send when done",delete:"Delete",stopNow:"Stop current task",tooManyAttempts:"This item failed {count} automatic attempts in a row; retries stopped and it was moved to Recent so you can requeue it manually",badgeTitle:"This session has {count} queued task(s)",sessionDropped:"This session had {count} queued task(s); they were removed along with the session"}};function Un(){if(typeof chrome>"u"||!chrome.i18n)return"zh";try{let e=chrome.i18n.getUILanguage();if(e&&e.startsWith("zh"))return"zh"}catch{}return"en"}var Ce="zh",He={zh:Bi,en:qi},Oo=new Set;function zn(e,t){if(!e||!t)return;let o=t.split("."),n=e;for(let i of o){if(typeof n!="object"||!n)return;n=n[i]}return typeof n=="string"?n:void 0}function Kn(e,t){return!t||typeof e!="string"?e:e.replace(/\{(\w+)\}/g,(o,n)=>t[n]!==void 0&&t[n]!==null?String(t[n]):o)}function m(e,t){let o=zn(He[Ce],e);if(o!==void 0)return Kn(o,t);if(Ce!=="en"){let n=zn(He.en,e);if(n!==void 0)return Kn(n,t)}return e}function Wn(e){return typeof e=="function"&&Oo.add(e),()=>Oo.delete(e)}function G(e,t){He[e]||(He[e]={}),He[e]=jn(He[e],t)}function jn(e,t){for(let o of Object.keys(t||{}))t[o]&&typeof t[o]=="object"&&!Array.isArray(t[o])?((!e[o]||typeof e[o]!="object")&&(e[o]={}),jn(e[o],t[o])):e[o]=t[o];return e}var Gn=!1;async function $n(){if(typeof chrome>"u"||!chrome.storage||!chrome.storage.local)return Ce;try{let e=await chrome.storage.local.get("language");if(e.language&&He[e.language])Ce=e.language;else{let t=Un();Ce=t,chrome.storage.local.set({language:t}).catch(()=>{})}}catch{Ce=Un()}if(!Gn){Gn=!0;try{chrome.storage.onChanged.addListener((e,t)=>{if(t!=="local"||!e.language)return;let o=e.language.newValue;if(o&&He[o]&&o!==Ce){Ce=o;for(let n of Oo)try{n(o)}catch{}}})}catch{}}return Ce}var Ee={fetchUrl:{fallback:15e3,min:1e3,max:12e4},tabLoad:{fallback:15e3,min:1e3,max:12e4},navigation:{fallback:3e4,min:1e3,max:12e4},waitElement:{fallback:1e4,min:200,max:6e4},selectOption:{fallback:5e3,min:200,max:6e4},actionWait:{fallback:2e3,min:200,max:3e4},actionMinWait:{fallback:300,min:200,max:5e3}};function Re(e,t){let{fallback:o,min:n,max:i}=t,a=Number(e);return!Number.isFinite(a)||a<=0?o:Math.min(i,Math.max(n,Math.floor(a)))}G("zh",{pageInteraction:{refHint:"ref \u7F16\u53F7\u4EC5\u672C\u6B21\u67E5\u8BE2\u6709\u6548\uFF0C\u9875\u9762\u5BFC\u822A/\u5237\u65B0\u6216\u5207\u6362 tab \u540E\u9700\u91CD\u65B0 query_elements",snapshotHeader:"\u53EF\u4EA4\u4E92\u5143\u7D20\u5FEB\u7167\uFF1A{count} \u4E2A\u5143\u7D20",snapshotTruncated:"\uFF08\u5171 {total} \u4E2A\uFF0C\u5DF2\u622A\u65AD\uFF0C\u8BF7\u7528 filterByText \u7F29\u5C0F\u8303\u56F4\uFF09",snapshotPageInfo:"\uFF08\u7B2C {page}/{totalPages} \u9875\uFF0C\u672C\u6B21\u8F93\u51FA {count} \u4E2A\uFF09",snapshotHasMore:"\u8FD8\u6709\u66F4\u591A\u5143\u7D20\uFF1A\u8C03\u7528 query_elements \u65F6\u5E26 page={next} \u67E5\u770B",snapshotPageOutOfRange:"page={page} \u8D85\u51FA\u8303\u56F4\uFF08\u5171 {totalPages} \u9875\uFF09",snapshotOverlayBlock:"[\u6253\u5F00\u5C42]",snapshotBodyBlock:"[\u9875\u9762\u4E3B\u4F53]",snapshotFooter:"\uFF08ref \u7F16\u53F7\u4EC5\u5F53\u524D\u5FEB\u7167\u6709\u6548\uFF1B\u9875\u9762\u53D8\u5316\u540E\u8BF7\u91CD\u65B0\u8C03\u7528 query_elements\uFF09",snapshotHeaderFrames:"\uFF08\u542B {n} \u4E2A iframe\uFF09",snapshotFramesLimited:"\uFF08\u90E8\u5206 iframe \u8D85\u51FA\u6570\u91CF/\u6DF1\u5EA6\u4E0A\u9650\uFF0C\u672A\u5C55\u5F00\uFF09",snapshotFrameBlock:"[frame #{index}{title}{hostSeg}]",snapshotFramePlaceholder:"iframe #{index}{title}",snapshotFrameUnreachable:"\uFF08\u5185\u5BB9\u4E0D\u53EF\u8BBF\u95EE\uFF09"}}),G("en",{pageInteraction:{refHint:"ref numbers are only valid for the current query; re-run query_elements after page navigation/refresh or tab switch",snapshotHeader:"Interactive elements snapshot: {count} element(s)",snapshotTruncated:" (of {total} total; truncated \u2014 narrow down with filterByText)",snapshotPageInfo:" (page {page}/{totalPages}, {count} shown)",snapshotHasMore:"More elements available: call query_elements with page={next}",snapshotPageOutOfRange:"page={page} is out of range (only {totalPages} page(s))",snapshotOverlayBlock:"[Open overlays]",snapshotBodyBlock:"[Page body]",snapshotFooter:"(ref numbers are valid only for this snapshot; re-run query_elements after the page changes)",snapshotHeaderFrames:" ({n} iframe(s))",snapshotFramesLimited:" (some iframes exceed count/depth limits; not expanded)",snapshotFrameBlock:"[frame #{index}{title}{hostSeg}]",snapshotFramePlaceholder:"iframe #{index}{title}",snapshotFrameUnreachable:" (content inaccessible)"}});function Ui(e){if(!e)return"";if(e==="about:srcdoc")return"srcdoc";if(e==="about:blank")return"blank";try{return new URL(e).hostname||""}catch{return""}}function Ho(e,t){for(let o of e)o.t==="el"&&o.localRef!=null&&t.push(o),o.children&&o.children.length&&Ho(o.children,t)}function zi(e,t,o){if(e.status==="hidden"||e.status==="off")return!1;let n=e.title?` "${e.title}"`:"",i;return i=e.status==="ok"&&e.frameIndex!=null?m("pageInteraction.snapshotFramePlaceholder",{index:e.frameIndex,title:n}):e.status==="unreachable"&&e.frameIndex!=null?m("pageInteraction.snapshotFramePlaceholder",{index:e.frameIndex,title:n})+m("pageInteraction.snapshotFrameUnreachable"):`iframe${n}`,i=" ".repeat(e.depth||0)+i,o.budget-=i.length+1,t.push(i),!0}function _o(e,t,o){if(!e)return!1;if(e.t==="frame")return zi(e,t,o);let n=[],i=!1;for(let a of e.children||[])_o(a,n,o)&&(i=!0);if(e.t==="el"){if(e.localRef!=null&&o.selected.has(e)){if(o.budget<=0)return o.truncated=!0,i;let a=e.role||"",r=e.name||"",s=e.attrs||"",c=e.depth+a.length+(r?r.length+2:0)+(s?s.length+1:0)+12;if(o.budget-c<0)return o.truncated=!0,i;let d=`${" ".repeat(e.depth)}${a}${r?` "${r}"`:""} [ref ${e.localRef}]${s?" "+s:""}`;return o.budget-=d.length+1,o.count+=1,t.push(d,...n),!0}return i?(t.push(...n),!0):!1}if(e.t==="container"){if(i){let a=`${" ".repeat(e.depth)}${e.role}${e.name?` "${e.name}"`:""}`;return o.budget-=a.length+1,t.push(a,...n),!0}return!1}return i?(t.push(...n),!0):!1}function Vn(e,t,o){let n=[];if((e.overlayTrees||[]).length){for(let i of e.overlayTrees)_o(i,n,o);n.length&&t.push(m("pageInteraction.snapshotOverlayBlock"),...n,m("pageInteraction.snapshotBodyBlock"))}for(let i of e.bodyTree||[])_o(i,t,o)}function Yn(e={}){let{frames:t=[],page:o=1,maxResults:n=100,maxChars:i=6e3,countOnly:a=!1,frameCount:r=0,framesLimited:s=0}=e||{},c=Number.isInteger(o)&&o>=1?o:1,d=Math.max(1,n),u=[];for(let L of t)Ho(L.overlayTrees||[],u),Ho(L.bodyTree||[],u);let p=u.length;if(a)return{success:!0,content:"",count:p,total:p,truncated:!1,hint:""};let h=Math.ceil(p/d),b=r>0?m("pageInteraction.snapshotHeaderFrames",{n:r}):"",x=s>0?m("pageInteraction.snapshotFramesLimited"):"";if(p>0&&c>h)return{success:!0,content:[m("pageInteraction.snapshotHeader",{count:p})+b+x,m("pageInteraction.snapshotPageOutOfRange",{page:c,totalPages:h}),m("pageInteraction.snapshotFooter")].join(`
50
+ `),count:0,total:p,page:c,totalPages:h,hasMore:!1,truncated:!1,hint:""};let w=(c-1)*d,k=new Set(u.slice(w,w+d)),S=c<h,D={selected:k,budget:i,truncated:!1,count:0},R=[],_=t.find(L=>L.isTop)||t[0];_&&Vn(_,R,D);for(let L of t.filter(oe=>oe!==_)){let oe=[];if(Vn(L,oe,D),!oe.length)continue;let ue=" ".repeat(Math.max(0,(L.depth||1)-1)*2),Ae=L.frameInfo&&L.frameInfo.title?` "${L.frameInfo.title}"`:"",ne=Ui(L.frameInfo&&L.frameInfo.url);R.push(ue+m("pageInteraction.snapshotFrameBlock",{index:L.frameIndex,title:Ae,hostSeg:ne?" \xB7 "+ne:""}),...oe.map(ht=>ue+" "+ht))}let B=h>1,Q=m("pageInteraction.snapshotHeader",{count:B?p:D.count})+b+x+(B?m("pageInteraction.snapshotPageInfo",{page:c,totalPages:h,count:D.count}):"")+(D.truncated?m("pageInteraction.snapshotTruncated",{total:p}):"");return R.unshift(Q),S&&R.push(m("pageInteraction.snapshotHasMore",{next:c+1})),R.push(m("pageInteraction.snapshotFooter")),{success:!0,content:R.join(`
51
51
  `),count:D.count,total:p,page:c,totalPages:h,hasMore:S,truncated:D.truncated,hint:S?m("pageInteraction.snapshotHasMore",{next:c+1}):m("pageInteraction.refHint")}}function Qn(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function Ki(e){if(Array.isArray(e))return e}function Gi(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var n,i,a,r,s=[],c=!0,d=!1;try{if(a=(o=o.call(e)).next,t!==0)for(;!(c=(n=a.call(o)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(u){d=!0,i=u}finally{try{if(!c&&o.return!=null&&(r=o.return(),Object(r)!==r))return}finally{if(d)throw i}}return s}}function Wi(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
52
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ji(e,t){return Ki(e)||Gi(e,t)||$i(e,t)||Wi()}function $i(e,t){if(e){if(typeof e=="string")return Qn(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Qn(e,t):void 0}}var ua=Object.entries,Xn=Object.setPrototypeOf,Vi=Object.isFrozen,Yi=Object.getPrototypeOf,Qi=Object.getOwnPropertyDescriptor,X=Object.freeze,Z=Object.seal,lt=Object.create,pa=typeof Reflect<"u"&&Reflect,ma=pa.apply,ha=pa.construct;X||=function(e){return e},Z||=function(e){return e},ma||=function(e,t){var o=[...arguments].slice(2);return e.apply(t,o)},ha||=function(e){return new e(...[...arguments].slice(1))};var it=W(Array.prototype.forEach),Xi=W(Array.prototype.lastIndexOf),Zn=W(Array.prototype.pop),rt=W(Array.prototype.push),Zi=W(Array.prototype.splice),Be=Array.isArray,xt=W(String.prototype.toLowerCase),Bo=W(String.prototype.toString),Jn=W(String.prototype.match),wt=W(String.prototype.replace),ea=W(String.prototype.indexOf),Ji=W(String.prototype.trim),er=W(Number.prototype.toString),tr=W(Boolean.prototype.toString),ta=typeof BigInt>"u"?null:W(BigInt.prototype.toString),oa=typeof Symbol>"u"?null:W(Symbol.prototype.toString),V=W(Object.prototype.hasOwnProperty),vt=W(Object.prototype.toString),$=W(RegExp.prototype.test),Ve=or(TypeError);function W(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var o=[...arguments].slice(1);return ma(e,t,o)}}function or(e){return function(){return ha(e,[...arguments])}}function I(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xt;if(Xn&&Xn(e,null),!Be(t))return e;let n=t.length;for(;n--;){let i=t[n];if(typeof i=="string"){let a=o(i);a!==i&&(Vi(t)||(t[n]=a),i=a)}e[i]=!0}return e}function nr(e){for(let t=0;t<e.length;t++)V(e,t)||(e[t]=null);return e}function ae(e){let t=lt(null);for(let n of ua(e)){var o=ji(n,2);let i=o[0],a=o[1];V(e,i)&&(Be(a)?t[i]=nr(a):a&&typeof a=="object"&&a.constructor===Object?t[i]=ae(a):t[i]=a)}return t}function ar(e){switch(typeof e){case"string":return e;case"number":return er(e);case"boolean":return tr(e);case"bigint":return ta?ta(e):"0";case"symbol":return oa?oa(e):"Symbol()";case"undefined":return vt(e);case"function":case"object":{if(e===null)return vt(e);let t=e,o=ke(t,"toString");if(typeof o=="function"){let n=o(t);return typeof n=="string"?n:vt(n)}return vt(e)}default:return vt(e)}}function ke(e,t){for(;e!==null;){let n=Qi(e,t);if(n){if(n.get)return W(n.get);if(typeof n.value=="function")return W(n.value)}e=Yi(e)}function o(){return null}return o}function ir(e){try{return $(e,""),!0}catch{return!1}}var na=X("a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")),qo=X("svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")),Uo=X(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),rr=X(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),zo=X("math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")),lr=X(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),aa=X(["#text"]),ia=X("accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")),Ko=X("accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")),ra=X("accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")),Wt=X(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sr=Z(/{{[\w\W]*|^[\w\W]*}}/g),cr=Z(/<%[\w\W]*|^[\w\W]*%>/g),dr=Z(/\${[\w\W]*/g),ur=Z(/^data-[\-\w.\u00B7-\uFFFF]+$/),pr=Z(/^aria-[\-\w]+$/),la=Z(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mr=Z(/^(?:\w+script|data):/i),hr=Z(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gr=Z(/^html$/i),fr=Z(/^[a-z][.\w]*(-[.\w]+)+$/i),sa=Z(/<[/\w!]/g),ca=Z(/<[/\w]/g),br=Z(/<\/no(script|embed|frames)/i),yr=Z(/\/>/i),me={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},wr=function(){return typeof window>"u"?null:window},vr=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let o=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(o=t.getAttribute(n));let i="dompurify"+(o?"#"+o:"");try{return e.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},da=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},He=function(e,t,o,n){return V(e,t)&&Be(e[t])?I(n.base?ae(n.base):{},e[t],n.transform):o};function ga(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wr(),t=l=>ga(l);if(t.version="3.4.12",t.removed=[],!e||!e.document||e.document.nodeType!==me.document||!e.Element)return t.isSupported=!1,t;let o=e.document,n=o,i=n.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,r=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let d=e.DOMParser,u=e.trustedTypes,p=s.prototype,h=ke(p,"cloneNode"),b=ke(p,"remove"),x=ke(p,"nextSibling"),w=ke(p,"childNodes"),k=ke(p,"parentNode"),S=ke(p,"shadowRoot"),D=ke(p,"attributes"),R=r&&r.prototype?ke(r.prototype,"nodeType"):null,H=r&&r.prototype?ke(r.prototype,"nodeName"):null;if(typeof a=="function"){let l=o.createElement("template");l.content&&l.content.ownerDocument&&(o=l.content.ownerDocument)}let B,Q="",L,oe=!1,ue=0,Ae=function(){if(ue>0)throw Ve('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ne=function(l){Ae(),ue++;try{return B.createHTML(l)}finally{ue--}},ht=function(l){Ae(),ue++;try{return B.createScriptURL(l)}finally{ue--}},fo=function(){return oe||=(L=vr(u,i),!0),L},Ot=o,bo=Ot.implementation,gn=Ot.createNodeIterator,si=Ot.createDocumentFragment,ci=Ot.getElementsByTagName,di=n.importNode,q=da();t.isSupported=typeof ua=="function"&&typeof k=="function"&&bo&&bo.createHTMLDocument!==void 0;let ui=sr,pi=cr,mi=dr,hi=ur,gi=pr,fi=mr,fn=hr,bi=fr,bn=la,U=null,yn=I({},[...na,...qo,...Uo,...zo,...aa]),z=null,wn=I({},[...ia,...Ko,...ra,...Wt]),K=Object.seal(lt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),gt=null,vn=null,Ne=Object.seal(lt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),xn=!0,yo=!0,kn=!1,Tn=!0,Le=!1,Fe=!0,We=!1,wo=!1,vo=null,xo=null,ko=!1,Je=!1,_t=!1,Ht=!1,Sn=!0,An=!1,Cn="user-content-",To=!0,So=!1,et={},we=null,Ao=I({},"annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")),En=null,Rn=I({},["audio","video","img","source","image","track"]),Co=null,In=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Bt="http://www.w3.org/1998/Math/MathML",qt="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml",tt=ve,Eo=!1,Ro=null,yi=I({},[Bt,qt,ve],Bo),Mn=X(["mi","mo","mn","ms","mtext"]),Io=I({},Mn),Pn=X(["annotation-xml"]),Mo=I({},Pn),wi=I({},["title","style","font","a","script"]),ft=null,vi=["application/xhtml+xml","text/html"],O=null,ot=null,xi=o.createElement("form"),Dn=function(l){return l instanceof RegExp||l instanceof Function},Po=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ot&&ot===l)return;(!l||typeof l!="object")&&(l={}),l=ae(l),ft=vi.indexOf(l.PARSER_MEDIA_TYPE)===-1?"text/html":l.PARSER_MEDIA_TYPE,O=ft==="application/xhtml+xml"?Bo:xt,U=He(l,"ALLOWED_TAGS",yn,{transform:O}),z=He(l,"ALLOWED_ATTR",wn,{transform:O}),Ro=He(l,"ALLOWED_NAMESPACES",yi,{transform:Bo}),Co=He(l,"ADD_URI_SAFE_ATTR",In,{transform:O,base:In}),En=He(l,"ADD_DATA_URI_TAGS",Rn,{transform:O,base:Rn}),we=He(l,"FORBID_CONTENTS",Ao,{transform:O}),gt=He(l,"FORBID_TAGS",ae({}),{transform:O}),vn=He(l,"FORBID_ATTR",ae({}),{transform:O}),et=V(l,"USE_PROFILES")?l.USE_PROFILES&&typeof l.USE_PROFILES=="object"?ae(l.USE_PROFILES):l.USE_PROFILES:!1,xn=l.ALLOW_ARIA_ATTR!==!1,yo=l.ALLOW_DATA_ATTR!==!1,kn=l.ALLOW_UNKNOWN_PROTOCOLS||!1,Tn=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Le=l.SAFE_FOR_TEMPLATES||!1,Fe=l.SAFE_FOR_XML!==!1,We=l.WHOLE_DOCUMENT||!1,Je=l.RETURN_DOM||!1,_t=l.RETURN_DOM_FRAGMENT||!1,Ht=l.RETURN_TRUSTED_TYPE||!1,ko=l.FORCE_BODY||!1,Sn=l.SANITIZE_DOM!==!1,An=l.SANITIZE_NAMED_PROPS||!1,To=l.KEEP_CONTENT!==!1,So=l.IN_PLACE||!1,bn=ir(l.ALLOWED_URI_REGEXP)?l.ALLOWED_URI_REGEXP:la,tt=typeof l.NAMESPACE=="string"?l.NAMESPACE:ve,Io=V(l,"MATHML_TEXT_INTEGRATION_POINTS")&&l.MATHML_TEXT_INTEGRATION_POINTS&&typeof l.MATHML_TEXT_INTEGRATION_POINTS=="object"?ae(l.MATHML_TEXT_INTEGRATION_POINTS):I({},Mn),Mo=V(l,"HTML_INTEGRATION_POINTS")&&l.HTML_INTEGRATION_POINTS&&typeof l.HTML_INTEGRATION_POINTS=="object"?ae(l.HTML_INTEGRATION_POINTS):I({},Pn);let g=V(l,"CUSTOM_ELEMENT_HANDLING")&&l.CUSTOM_ELEMENT_HANDLING&&typeof l.CUSTOM_ELEMENT_HANDLING=="object"?ae(l.CUSTOM_ELEMENT_HANDLING):lt(null);if(K=lt(null),V(g,"tagNameCheck")&&Dn(g.tagNameCheck)&&(K.tagNameCheck=g.tagNameCheck),V(g,"attributeNameCheck")&&Dn(g.attributeNameCheck)&&(K.attributeNameCheck=g.attributeNameCheck),V(g,"allowCustomizedBuiltInElements")&&typeof g.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=g.allowCustomizedBuiltInElements),Z(K),Le&&(yo=!1),_t&&(Je=!0),et&&(U=I({},aa),z=lt(null),et.html===!0&&(I(U,na),I(z,ia)),et.svg===!0&&(I(U,qo),I(z,Ko),I(z,Wt)),et.svgFilters===!0&&(I(U,Uo),I(z,Ko),I(z,Wt)),et.mathMl===!0&&(I(U,zo),I(z,ra),I(z,Wt))),Ne.tagCheck=null,Ne.attributeCheck=null,V(l,"ADD_TAGS")&&(typeof l.ADD_TAGS=="function"?Ne.tagCheck=l.ADD_TAGS:Be(l.ADD_TAGS)&&(U===yn&&(U=ae(U)),I(U,l.ADD_TAGS,O))),V(l,"ADD_ATTR")&&(typeof l.ADD_ATTR=="function"?Ne.attributeCheck=l.ADD_ATTR:Be(l.ADD_ATTR)&&(z===wn&&(z=ae(z)),I(z,l.ADD_ATTR,O))),V(l,"ADD_URI_SAFE_ATTR")&&Be(l.ADD_URI_SAFE_ATTR)&&I(Co,l.ADD_URI_SAFE_ATTR,O),V(l,"FORBID_CONTENTS")&&Be(l.FORBID_CONTENTS)&&(we===Ao&&(we=ae(we)),I(we,l.FORBID_CONTENTS,O)),V(l,"ADD_FORBID_CONTENTS")&&Be(l.ADD_FORBID_CONTENTS)&&(we===Ao&&(we=ae(we)),I(we,l.ADD_FORBID_CONTENTS,O)),To&&(U["#text"]=!0),We&&I(U,["html","head","body"]),U.table&&(I(U,["tbody"]),delete gt.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let f=B;B=l.TRUSTED_TYPES_POLICY;try{Q=ne("")}catch(y){throw B=f,y}}else l.TRUSTED_TYPES_POLICY===null?(B=void 0,Q=""):(B===void 0&&(B=fo()),B&&typeof Q=="string"&&(Q=ne("")));X&&X(l),ot=l},Nn=I({},[...qo,...Uo,...rr]),Ln=I({},[...zo,...lr]),ki=function(l,g,f){return g.namespaceURI===ve?l==="svg":g.namespaceURI===Bt?l==="svg"&&(f==="annotation-xml"||Io[f]):!!Nn[l]},Ti=function(l,g,f){return g.namespaceURI===ve?l==="math":g.namespaceURI===qt?l==="math"&&Mo[f]:!!Ln[l]},Si=function(l,g,f){return g.namespaceURI===qt&&!Mo[f]||g.namespaceURI===Bt&&!Io[f]?!1:!Ln[l]&&(wi[l]||!Nn[l])},Ai=function(l){let g=k(l);(!g||!g.tagName)&&(g={namespaceURI:tt,tagName:"template"});let f=xt(l.tagName),y=xt(g.tagName);return Ro[l.namespaceURI]?l.namespaceURI===qt?ki(f,g,y):l.namespaceURI===Bt?Ti(f,g,y):l.namespaceURI===ve?Si(f,g,y):!!(ft==="application/xhtml+xml"&&Ro[l.namespaceURI]):!1},je=function(l){rt(t.removed,{element:l});try{k(l).removeChild(l)}catch{if(b(l),!k(l))throw Ve("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ut=function(l){Do(l);let g=w(l);if(g){let y=[];it(g,A=>{rt(y,A)}),it(y,A=>{try{b(A)}catch{}})}let f=D(l);if(f)for(let y=f.length-1;y>=0;--y){let A=f[y],C=A&&A.name;if(typeof C=="string")try{l.removeAttribute(C)}catch{}}},$e=function(l,g){try{rt(t.removed,{attribute:g.getAttributeNode(l),from:g})}catch{rt(t.removed,{attribute:null,from:g})}if(g.removeAttribute(l),l==="is")if(Je||_t)try{je(g)}catch{}else try{g.setAttribute(l,"")}catch{}},Ci=function(l){let g=D(l);if(g)for(let f=g.length-1;f>=0;--f){let y=g[f],A=y&&y.name;if(!(typeof A!="string"||z[O(A)]))try{l.removeAttribute(A)}catch{}}},Do=function(l){let g=[l];for(;g.length>0;){let f=g.pop();(R?R(f):f.nodeType)===me.element&&Ci(f);let y=w(f);if(y)for(let A=y.length-1;A>=0;--A)g.push(y[A])}},Ei=function(l){if(!Fe)return;let g=[l];for(;g.length>0;){let f=g.pop(),y=R?R(f):f.nodeType;if(y===me.processingInstruction||y===me.comment&&$(ca,f.data)){try{b(f)}catch{}continue}if(y===me.element){let C=f,P=O(H?H(f):f.nodeName);try{C.hasAttribute&&C.hasAttribute("patchsrc")&&C.removeAttribute("patchsrc"),C.hasAttribute&&C.hasAttribute("for")&&P!=="label"&&P!=="output"&&C.removeAttribute("for")}catch{}}let A=w(f);if(A)for(let C=A.length-1;C>=0;--C)g.push(A[C])}},Fn=function(l){let g=null,f=null;if(ko)l="<remove></remove>"+l;else{let C=Jn(l,/^[\r\n\t ]+/);f=C&&C[0]}ft==="application/xhtml+xml"&&tt===ve&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");let y=B?ne(l):l;if(tt===ve)try{g=new d().parseFromString(y,ft)}catch{}if(!g||!g.documentElement){g=bo.createDocument(tt,"template",null);try{g.documentElement.innerHTML=Eo?Q:y}catch{}}let A=g.body||g.documentElement;return l&&f&&A.insertBefore(o.createTextNode(f),A.childNodes[0]||null),tt===ve?ci.call(g,We?"html":"body")[0]:We?g.documentElement:A},On=function(l){return gn.call(l.ownerDocument||l,l,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},zt=function(l){return l=wt(l,ui," "),l=wt(l,pi," "),l=wt(l,mi," "),l},No=function(l){l.normalize();let g=gn.call(l.ownerDocument||l,l,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),f=g.nextNode();for(;f;)f.data=zt(f.data),f=g.nextNode();let y=l.querySelectorAll?.call(l,"template");y&&it(y,A=>{nt(A.content)&&No(A.content)})},Kt=function(l){let g=H?H(l):null;return typeof g!="string"||O(g)!=="form"?!1:typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||l.attributes!==D(l)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function"||l.nodeType!==R(l)||l.childNodes!==w(l)},nt=function(l){if(!R||typeof l!="object"||!l)return!1;try{return R(l)===me.documentFragment}catch{return!1}},bt=function(l){if(!R||typeof l!="object"||!l)return!1;try{return typeof R(l)=="number"}catch{return!1}};function xe(l,g,f){l.length!==0&&it(l,y=>{y.call(t,g,f,ot)})}let Ri=function(l,g){return!!(Fe&&l.hasChildNodes()&&!bt(l.firstElementChild)&&$(sa,l.textContent)&&$(sa,l.innerHTML)||Fe&&l.namespaceURI===ve&&g==="style"&&bt(l.firstElementChild)||l.nodeType===me.processingInstruction||Fe&&l.nodeType===me.comment&&$(ca,l.data))},Ii=function(l,g){if(!gt[g]&&Bn(g)&&(K.tagNameCheck instanceof RegExp&&$(K.tagNameCheck,g)||K.tagNameCheck instanceof Function&&K.tagNameCheck(g)))return!1;if(To&&!we[g]){let f=k(l),y=w(l);if(y&&f){let A=y.length;for(let C=A-1;C>=0;--C){let P=So?y[C]:h(y[C],!0);f.insertBefore(P,x(l))}}}return je(l),!0},_n=function(l,g){if(xe(q.beforeSanitizeElements,l,null),l!==g&&k(l)===null)return!0;if(Kt(l))return je(l),!0;let f=O(H?H(l):l.nodeName);if(xe(q.uponSanitizeElement,l,{tagName:f,allowedTags:U}),l!==g&&k(l)===null)return!0;if(Ri(l,f))return je(l),!0;if(gt[f]||!(Ne.tagCheck instanceof Function&&Ne.tagCheck(f))&&!U[f]){let y=Ii(l,f);return y===!1&&xe(q.afterSanitizeElements,l,null),y}if((R?R(l):l.nodeType)===me.element&&!Ai(l)||(f==="noscript"||f==="noembed"||f==="noframes")&&$(br,l.innerHTML))return je(l),!0;if(Le&&l.nodeType===me.text){let y=zt(l.textContent);l.textContent!==y&&(rt(t.removed,{element:l.cloneNode()}),l.textContent=y)}return xe(q.afterSanitizeElements,l,null),!1},Hn=function(l,g,f){if(vn[g]||Fe&&g==="patchsrc"||Fe&&g==="for"&&l!=="label"&&l!=="output"||Sn&&(g==="id"||g==="name")&&(f in o||f in xi))return!1;let y=z[g]||Ne.attributeCheck instanceof Function&&Ne.attributeCheck(g,l);if(!(yo&&$(hi,g))&&!(xn&&$(gi,g))){if(y){if(!Co[g]&&!$(bn,wt(f,fn,""))&&!((g==="src"||g==="xlink:href"||g==="href")&&l!=="script"&&ea(f,"data:")===0&&En[l])&&!(kn&&!$(fi,wt(f,fn,"")))&&f)return!1}else if(!(Bn(l)&&(K.tagNameCheck instanceof RegExp&&$(K.tagNameCheck,l)||K.tagNameCheck instanceof Function&&K.tagNameCheck(l))&&(K.attributeNameCheck instanceof RegExp&&$(K.attributeNameCheck,g)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(g,l))||g==="is"&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&$(K.tagNameCheck,f)||K.tagNameCheck instanceof Function&&K.tagNameCheck(f))))return!1}return!0},Mi=I({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Bn=function(l){return!Mi[xt(l)]&&$(bi,l)},Pi=function(l,g,f,y){if(B&&typeof u=="object"&&typeof u.getAttributeType=="function"&&!f)switch(u.getAttributeType(l,g)){case"TrustedHTML":return ne(y);case"TrustedScriptURL":return ht(y)}return y},Di=function(l,g,f,y){try{f?l.setAttributeNS(f,g,y):l.setAttribute(g,y),Kt(l)?je(l):Zn(t.removed)}catch{$e(g,l)}},qn=function(l){xe(q.beforeSanitizeAttributes,l,null);let g=l.attributes;if(!g||Kt(l))return;let f={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0},y=g.length,A=O(l.nodeName);for(;y--;){let C=g[y],P=C.name,Oe=C.namespaceURI,Fo=C.value,pe=O(P),be=Fo,_=P==="value"?be:Ji(be);if(f.attrName=pe,f.attrValue=_,f.keepAttr=!0,f.forceKeepAttr=void 0,xe(q.uponSanitizeAttribute,l,f),_=f.attrValue,An&&(pe==="id"||pe==="name")&&ea(_,Cn)!==0&&($e(P,l),_=Cn+_),Fe&&$(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,_)){$e(P,l);continue}if(pe==="attributename"&&Jn(_,"href")){$e(P,l);continue}if(!f.forceKeepAttr){if(!f.keepAttr){$e(P,l);continue}if(!Tn&&$(yr,_)){$e(P,l);continue}if(Le&&(_=zt(_)),!Hn(A,pe,_)){$e(P,l);continue}_=Pi(A,pe,Oe,_),_!==be&&Di(l,P,Oe,_)}}xe(q.afterSanitizeAttributes,l,null)},Gt=function(l){let g=null,f=On(l);for(xe(q.beforeSanitizeShadowDOM,l,null);g=f.nextNode();)if(xe(q.uponSanitizeShadowNode,g,null),_n(g,l),qn(g),nt(g.content)&&Gt(g.content),(R?R(g):g.nodeType)===me.element){let y=S(g);nt(y)&&(Lo(y),Gt(y))}xe(q.afterSanitizeShadowDOM,l,null)},Lo=function(l){let g=[{node:l,shadow:null}];for(;g.length>0;){let f=g.pop();if(f.shadow){Gt(f.shadow);continue}let y=f.node,A=(R?R(y):y.nodeType)===me.element,C=w(y);if(C)for(let P=C.length-1;P>=0;--P)g.push({node:C[P],shadow:null});if(A){let P=H?H(y):null;if(typeof P=="string"&&O(P)==="template"){let Oe=y.content;nt(Oe)&&g.push({node:Oe,shadow:null})}}if(A){let P=S(y);nt(P)&&g.push({node:null,shadow:P},{node:P,shadow:null})}}};return t.sanitize=function(l){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=null,y=null,A=null,C=null;if(Eo=!l,Eo&&(l="<!-->"),typeof l!="string"&&!bt(l)&&(l=ar(l),typeof l!="string"))throw Ve("dirty is not a string, aborting");if(!t.isSupported)return l;wo?(U=vo,z=xo):Po(g),(q.uponSanitizeElement.length>0||q.uponSanitizeAttribute.length>0)&&(U=ae(U)),q.uponSanitizeAttribute.length>0&&(z=ae(z)),t.removed=[];let P=So&&typeof l!="string"&&bt(l);if(P){Ei(l);let be=H?H(l):l.nodeName;if(typeof be=="string"){let _=O(be);if(!U[_]||gt[_])throw Ut(l),Ve("root node is forbidden and cannot be sanitized in-place")}if(Kt(l))throw Ut(l),Ve("root node is clobbered and cannot be sanitized in-place");try{Lo(l)}catch(_){throw Ut(l),_}}else if(bt(l))f=Fn("<!---->"),y=f.ownerDocument.importNode(l,!0),y.nodeType===me.element&&y.nodeName==="BODY"||y.nodeName==="HTML"?f=y:f.appendChild(y),Lo(y);else{if(!Je&&!Le&&!We&&l.indexOf("<")===-1)return B&&Ht?ne(l):l;if(f=Fn(l),!f)return Je?null:Ht?Q:""}f&&ko&&je(f.firstChild);let Oe=P?l:f,Fo=On(Oe);try{for(;A=Fo.nextNode();)_n(A,Oe),qn(A),nt(A.content)&&Gt(A.content)}catch(be){throw P&&(Ut(l),it(t.removed,_=>{_.element&&Do(_.element)})),be}if(P)return it(t.removed,be=>{be.element&&Do(be.element)}),Le&&No(l),l;if(Je){if(Le&&No(f),_t)for(C=si.call(f.ownerDocument);f.firstChild;)C.appendChild(f.firstChild);else C=f;return(z.shadowroot||z.shadowrootmode)&&(C=di.call(n,C,!0)),C}let pe=We?f.outerHTML:f.innerHTML;return We&&U["!doctype"]&&f.ownerDocument&&f.ownerDocument.doctype&&f.ownerDocument.doctype.name&&$(gr,f.ownerDocument.doctype.name)&&(pe="<!DOCTYPE "+f.ownerDocument.doctype.name+`>
53
- `+pe),Le&&(pe=zt(pe)),B&&Ht?ne(pe):pe},t.setConfig=function(){Po(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),wo=!0,vo=U,xo=z},t.clearConfig=function(){ot=null,wo=!1,vo=null,xo=null,B=L,Q=""},t.isValidAttribute=function(l,g,f){return ot||Po({}),Hn(O(l),O(g),f)},t.addHook=function(l,g){typeof g=="function"&&V(q,l)&&rt(q[l],g)},t.removeHook=function(l,g){if(V(q,l)){if(g!==void 0){let f=Xi(q[l],g);return f===-1?void 0:Zi(q[l],f,1)[0]}return Zn(q[l])}},t.removeHooks=function(l){V(q,l)&&(q[l]=[])},t.removeAllHooks=function(){q=da()},t}var jt=ga(),Go="voiceShortcutConfig",kt=Object.freeze({rightAlt:!1,rightCtrl:!1});Object.freeze(["rightAlt","rightCtrl"]);function $t(e){let t=e&&typeof e=="object"?e:{};return{rightAlt:t.rightAlt===!0,rightCtrl:t.rightCtrl===!0}}function xr(e,t){if(!e||e.isComposing)return null;let o=$t(t);return o.rightAlt&&e.code==="AltRight"&&e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey?"rightAlt":o.rightCtrl&&e.code==="ControlRight"&&e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey?"rightCtrl":null}var kr=Object.freeze({rightAlt:"AltRight",rightCtrl:"ControlRight"});function fa(e){let t=typeof e=="function"?e:()=>kt,o=null;return{onKeyDown(n){if(!n)return null;if(o)return n.code!==o.code&&(o=null),null;let i=xr(n,t());return i?(o={key:i,code:kr[i]},"cancel"):null},onKeyUp(n){if(!o||!n||n.code!==o.code)return null;let{key:i}=o;return o=null,n.isComposing||!$t(t())[i]?null:"trigger"},reset(){o=null}}}function Tr(){try{return globalThis.chrome?.storage?.local||null}catch{return null}}async function Wo(){let e=Tr();if(!e?.get)return{...kt};try{return $t((await e.get(Go))?.[Go])}catch{return{...kt}}}function ba(e){let t=(o,n)=>{if(n&&n!=="local")return;let i=o?.[Go];if(i)try{e($t(i.newValue))}catch{}};try{globalThis.chrome?.storage?.onChanged?.addListener?.(t)}catch{return()=>{}}return()=>{try{globalThis.chrome?.storage?.onChanged?.removeListener?.(t)}catch{}}}function te(e,t=document,o=5,n=0){if(n>o)return null;try{if(t.querySelectorAll)for(let a of t.querySelectorAll("*")){if(a.shadowRoot){let r=te(e,a.shadowRoot,o,n+1);if(r)return r}if(a.tagName==="IFRAME"||a.tagName==="FRAME")try{let r=a.contentDocument||a.contentWindow?.document;if(r){let s=te(e,r,o,n+1);if(s)return s}}catch{}}let i=t.querySelector?.(e);if(i)return i}catch{}return null}function Xe(e,t=document,o=5,n=0,i=new Set){if(n>o)return[];try{t.querySelectorAll&&(t.querySelectorAll(e).forEach(a=>{i.add(a)}),t.querySelectorAll("*").forEach(a=>{if(a.shadowRoot&&Xe(e,a.shadowRoot,o,n+1,i),a.tagName==="IFRAME"||a.tagName==="FRAME")try{let r=a.contentDocument||a.contentWindow?.document;r&&Xe(e,r,o,n+1,i)}catch{}}))}catch{}return Array.from(i)}function Pe(e=document,t=5,o=0){if(o>t)return{text:"",range:null};try{let n=e.getSelection?.();if(n&&!n.isCollapsed&&n.rangeCount>0){let i=n.toString().trim();if(i)return{text:i,range:n.getRangeAt(0),depth:o,source:"shadow"}}if(e.querySelectorAll){for(let i of e.querySelectorAll("*"))if(i.shadowRoot){let a=Pe(i.shadowRoot,t,o+1);if(a.text)return a}}}catch{}return{text:"",range:null}}function ct(e=document,t=5,o=0,n=new Set){if(o>t||n.has(e))return"";n.add(e);let i="";try{e.body?i+=e.body.innerText||"":e instanceof ShadowRoot&&(i+=e.textContent||""),e.querySelectorAll&&e.querySelectorAll("*").forEach(a=>{if(a.shadowRoot&&(i+=`
52
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ji(e,t){return Ki(e)||Gi(e,t)||$i(e,t)||Wi()}function $i(e,t){if(e){if(typeof e=="string")return Qn(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Qn(e,t):void 0}}var ua=Object.entries,Xn=Object.setPrototypeOf,Vi=Object.isFrozen,Yi=Object.getPrototypeOf,Qi=Object.getOwnPropertyDescriptor,X=Object.freeze,Z=Object.seal,lt=Object.create,pa=typeof Reflect<"u"&&Reflect,ma=pa.apply,ha=pa.construct;X||=function(e){return e},Z||=function(e){return e},ma||=function(e,t){var o=[...arguments].slice(2);return e.apply(t,o)},ha||=function(e){return new e(...[...arguments].slice(1))};var it=W(Array.prototype.forEach),Xi=W(Array.prototype.lastIndexOf),Zn=W(Array.prototype.pop),rt=W(Array.prototype.push),Zi=W(Array.prototype.splice),Be=Array.isArray,xt=W(String.prototype.toLowerCase),Bo=W(String.prototype.toString),Jn=W(String.prototype.match),wt=W(String.prototype.replace),ea=W(String.prototype.indexOf),Ji=W(String.prototype.trim),er=W(Number.prototype.toString),tr=W(Boolean.prototype.toString),ta=typeof BigInt>"u"?null:W(BigInt.prototype.toString),oa=typeof Symbol>"u"?null:W(Symbol.prototype.toString),V=W(Object.prototype.hasOwnProperty),vt=W(Object.prototype.toString),$=W(RegExp.prototype.test),Ve=or(TypeError);function W(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var o=[...arguments].slice(1);return ma(e,t,o)}}function or(e){return function(){return ha(e,[...arguments])}}function I(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xt;if(Xn&&Xn(e,null),!Be(t))return e;let n=t.length;for(;n--;){let i=t[n];if(typeof i=="string"){let a=o(i);a!==i&&(Vi(t)||(t[n]=a),i=a)}e[i]=!0}return e}function nr(e){for(let t=0;t<e.length;t++)V(e,t)||(e[t]=null);return e}function ae(e){let t=lt(null);for(let n of ua(e)){var o=ji(n,2);let i=o[0],a=o[1];V(e,i)&&(Be(a)?t[i]=nr(a):a&&typeof a=="object"&&a.constructor===Object?t[i]=ae(a):t[i]=a)}return t}function ar(e){switch(typeof e){case"string":return e;case"number":return er(e);case"boolean":return tr(e);case"bigint":return ta?ta(e):"0";case"symbol":return oa?oa(e):"Symbol()";case"undefined":return vt(e);case"function":case"object":{if(e===null)return vt(e);let t=e,o=ke(t,"toString");if(typeof o=="function"){let n=o(t);return typeof n=="string"?n:vt(n)}return vt(e)}default:return vt(e)}}function ke(e,t){for(;e!==null;){let n=Qi(e,t);if(n){if(n.get)return W(n.get);if(typeof n.value=="function")return W(n.value)}e=Yi(e)}function o(){return null}return o}function ir(e){try{return $(e,""),!0}catch{return!1}}var na=X("a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")),qo=X("svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")),Uo=X(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),rr=X(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),zo=X("math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")),lr=X(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),aa=X(["#text"]),ia=X("accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")),Ko=X("accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")),ra=X("accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")),Wt=X(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sr=Z(/{{[\w\W]*|^[\w\W]*}}/g),cr=Z(/<%[\w\W]*|^[\w\W]*%>/g),dr=Z(/\${[\w\W]*/g),ur=Z(/^data-[\-\w.\u00B7-\uFFFF]+$/),pr=Z(/^aria-[\-\w]+$/),la=Z(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mr=Z(/^(?:\w+script|data):/i),hr=Z(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gr=Z(/^html$/i),fr=Z(/^[a-z][.\w]*(-[.\w]+)+$/i),sa=Z(/<[/\w!]/g),ca=Z(/<[/\w]/g),br=Z(/<\/no(script|embed|frames)/i),yr=Z(/\/>/i),me={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},wr=function(){return typeof window>"u"?null:window},vr=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let o=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(o=t.getAttribute(n));let i="dompurify"+(o?"#"+o:"");try{return e.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},da=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},_e=function(e,t,o,n){return V(e,t)&&Be(e[t])?I(n.base?ae(n.base):{},e[t],n.transform):o};function ga(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wr(),t=l=>ga(l);if(t.version="3.4.12",t.removed=[],!e||!e.document||e.document.nodeType!==me.document||!e.Element)return t.isSupported=!1,t;let o=e.document,n=o,i=n.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,r=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let d=e.DOMParser,u=e.trustedTypes,p=s.prototype,h=ke(p,"cloneNode"),b=ke(p,"remove"),x=ke(p,"nextSibling"),w=ke(p,"childNodes"),k=ke(p,"parentNode"),S=ke(p,"shadowRoot"),D=ke(p,"attributes"),R=r&&r.prototype?ke(r.prototype,"nodeType"):null,_=r&&r.prototype?ke(r.prototype,"nodeName"):null;if(typeof a=="function"){let l=o.createElement("template");l.content&&l.content.ownerDocument&&(o=l.content.ownerDocument)}let B,Q="",L,oe=!1,ue=0,Ae=function(){if(ue>0)throw Ve('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ne=function(l){Ae(),ue++;try{return B.createHTML(l)}finally{ue--}},ht=function(l){Ae(),ue++;try{return B.createScriptURL(l)}finally{ue--}},fo=function(){return oe||=(L=vr(u,i),!0),L},Ot=o,bo=Ot.implementation,gn=Ot.createNodeIterator,si=Ot.createDocumentFragment,ci=Ot.getElementsByTagName,di=n.importNode,q=da();t.isSupported=typeof ua=="function"&&typeof k=="function"&&bo&&bo.createHTMLDocument!==void 0;let ui=sr,pi=cr,mi=dr,hi=ur,gi=pr,fi=mr,fn=hr,bi=fr,bn=la,U=null,yn=I({},[...na,...qo,...Uo,...zo,...aa]),z=null,wn=I({},[...ia,...Ko,...ra,...Wt]),K=Object.seal(lt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),gt=null,vn=null,Ne=Object.seal(lt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),xn=!0,yo=!0,kn=!1,Tn=!0,Le=!1,Fe=!0,We=!1,wo=!1,vo=null,xo=null,ko=!1,Je=!1,Ht=!1,_t=!1,Sn=!0,An=!1,Cn="user-content-",To=!0,So=!1,et={},we=null,Ao=I({},"annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")),En=null,Rn=I({},["audio","video","img","source","image","track"]),Co=null,In=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Bt="http://www.w3.org/1998/Math/MathML",qt="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml",tt=ve,Eo=!1,Ro=null,yi=I({},[Bt,qt,ve],Bo),Mn=X(["mi","mo","mn","ms","mtext"]),Io=I({},Mn),Pn=X(["annotation-xml"]),Mo=I({},Pn),wi=I({},["title","style","font","a","script"]),ft=null,vi=["application/xhtml+xml","text/html"],O=null,ot=null,xi=o.createElement("form"),Dn=function(l){return l instanceof RegExp||l instanceof Function},Po=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ot&&ot===l)return;(!l||typeof l!="object")&&(l={}),l=ae(l),ft=vi.indexOf(l.PARSER_MEDIA_TYPE)===-1?"text/html":l.PARSER_MEDIA_TYPE,O=ft==="application/xhtml+xml"?Bo:xt,U=_e(l,"ALLOWED_TAGS",yn,{transform:O}),z=_e(l,"ALLOWED_ATTR",wn,{transform:O}),Ro=_e(l,"ALLOWED_NAMESPACES",yi,{transform:Bo}),Co=_e(l,"ADD_URI_SAFE_ATTR",In,{transform:O,base:In}),En=_e(l,"ADD_DATA_URI_TAGS",Rn,{transform:O,base:Rn}),we=_e(l,"FORBID_CONTENTS",Ao,{transform:O}),gt=_e(l,"FORBID_TAGS",ae({}),{transform:O}),vn=_e(l,"FORBID_ATTR",ae({}),{transform:O}),et=V(l,"USE_PROFILES")?l.USE_PROFILES&&typeof l.USE_PROFILES=="object"?ae(l.USE_PROFILES):l.USE_PROFILES:!1,xn=l.ALLOW_ARIA_ATTR!==!1,yo=l.ALLOW_DATA_ATTR!==!1,kn=l.ALLOW_UNKNOWN_PROTOCOLS||!1,Tn=l.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Le=l.SAFE_FOR_TEMPLATES||!1,Fe=l.SAFE_FOR_XML!==!1,We=l.WHOLE_DOCUMENT||!1,Je=l.RETURN_DOM||!1,Ht=l.RETURN_DOM_FRAGMENT||!1,_t=l.RETURN_TRUSTED_TYPE||!1,ko=l.FORCE_BODY||!1,Sn=l.SANITIZE_DOM!==!1,An=l.SANITIZE_NAMED_PROPS||!1,To=l.KEEP_CONTENT!==!1,So=l.IN_PLACE||!1,bn=ir(l.ALLOWED_URI_REGEXP)?l.ALLOWED_URI_REGEXP:la,tt=typeof l.NAMESPACE=="string"?l.NAMESPACE:ve,Io=V(l,"MATHML_TEXT_INTEGRATION_POINTS")&&l.MATHML_TEXT_INTEGRATION_POINTS&&typeof l.MATHML_TEXT_INTEGRATION_POINTS=="object"?ae(l.MATHML_TEXT_INTEGRATION_POINTS):I({},Mn),Mo=V(l,"HTML_INTEGRATION_POINTS")&&l.HTML_INTEGRATION_POINTS&&typeof l.HTML_INTEGRATION_POINTS=="object"?ae(l.HTML_INTEGRATION_POINTS):I({},Pn);let g=V(l,"CUSTOM_ELEMENT_HANDLING")&&l.CUSTOM_ELEMENT_HANDLING&&typeof l.CUSTOM_ELEMENT_HANDLING=="object"?ae(l.CUSTOM_ELEMENT_HANDLING):lt(null);if(K=lt(null),V(g,"tagNameCheck")&&Dn(g.tagNameCheck)&&(K.tagNameCheck=g.tagNameCheck),V(g,"attributeNameCheck")&&Dn(g.attributeNameCheck)&&(K.attributeNameCheck=g.attributeNameCheck),V(g,"allowCustomizedBuiltInElements")&&typeof g.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=g.allowCustomizedBuiltInElements),Z(K),Le&&(yo=!1),Ht&&(Je=!0),et&&(U=I({},aa),z=lt(null),et.html===!0&&(I(U,na),I(z,ia)),et.svg===!0&&(I(U,qo),I(z,Ko),I(z,Wt)),et.svgFilters===!0&&(I(U,Uo),I(z,Ko),I(z,Wt)),et.mathMl===!0&&(I(U,zo),I(z,ra),I(z,Wt))),Ne.tagCheck=null,Ne.attributeCheck=null,V(l,"ADD_TAGS")&&(typeof l.ADD_TAGS=="function"?Ne.tagCheck=l.ADD_TAGS:Be(l.ADD_TAGS)&&(U===yn&&(U=ae(U)),I(U,l.ADD_TAGS,O))),V(l,"ADD_ATTR")&&(typeof l.ADD_ATTR=="function"?Ne.attributeCheck=l.ADD_ATTR:Be(l.ADD_ATTR)&&(z===wn&&(z=ae(z)),I(z,l.ADD_ATTR,O))),V(l,"ADD_URI_SAFE_ATTR")&&Be(l.ADD_URI_SAFE_ATTR)&&I(Co,l.ADD_URI_SAFE_ATTR,O),V(l,"FORBID_CONTENTS")&&Be(l.FORBID_CONTENTS)&&(we===Ao&&(we=ae(we)),I(we,l.FORBID_CONTENTS,O)),V(l,"ADD_FORBID_CONTENTS")&&Be(l.ADD_FORBID_CONTENTS)&&(we===Ao&&(we=ae(we)),I(we,l.ADD_FORBID_CONTENTS,O)),To&&(U["#text"]=!0),We&&I(U,["html","head","body"]),U.table&&(I(U,["tbody"]),delete gt.tbody),l.TRUSTED_TYPES_POLICY){if(typeof l.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof l.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ve('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let f=B;B=l.TRUSTED_TYPES_POLICY;try{Q=ne("")}catch(y){throw B=f,y}}else l.TRUSTED_TYPES_POLICY===null?(B=void 0,Q=""):(B===void 0&&(B=fo()),B&&typeof Q=="string"&&(Q=ne("")));X&&X(l),ot=l},Nn=I({},[...qo,...Uo,...rr]),Ln=I({},[...zo,...lr]),ki=function(l,g,f){return g.namespaceURI===ve?l==="svg":g.namespaceURI===Bt?l==="svg"&&(f==="annotation-xml"||Io[f]):!!Nn[l]},Ti=function(l,g,f){return g.namespaceURI===ve?l==="math":g.namespaceURI===qt?l==="math"&&Mo[f]:!!Ln[l]},Si=function(l,g,f){return g.namespaceURI===qt&&!Mo[f]||g.namespaceURI===Bt&&!Io[f]?!1:!Ln[l]&&(wi[l]||!Nn[l])},Ai=function(l){let g=k(l);(!g||!g.tagName)&&(g={namespaceURI:tt,tagName:"template"});let f=xt(l.tagName),y=xt(g.tagName);return Ro[l.namespaceURI]?l.namespaceURI===qt?ki(f,g,y):l.namespaceURI===Bt?Ti(f,g,y):l.namespaceURI===ve?Si(f,g,y):!!(ft==="application/xhtml+xml"&&Ro[l.namespaceURI]):!1},je=function(l){rt(t.removed,{element:l});try{k(l).removeChild(l)}catch{if(b(l),!k(l))throw Ve("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ut=function(l){Do(l);let g=w(l);if(g){let y=[];it(g,A=>{rt(y,A)}),it(y,A=>{try{b(A)}catch{}})}let f=D(l);if(f)for(let y=f.length-1;y>=0;--y){let A=f[y],C=A&&A.name;if(typeof C=="string")try{l.removeAttribute(C)}catch{}}},$e=function(l,g){try{rt(t.removed,{attribute:g.getAttributeNode(l),from:g})}catch{rt(t.removed,{attribute:null,from:g})}if(g.removeAttribute(l),l==="is")if(Je||Ht)try{je(g)}catch{}else try{g.setAttribute(l,"")}catch{}},Ci=function(l){let g=D(l);if(g)for(let f=g.length-1;f>=0;--f){let y=g[f],A=y&&y.name;if(!(typeof A!="string"||z[O(A)]))try{l.removeAttribute(A)}catch{}}},Do=function(l){let g=[l];for(;g.length>0;){let f=g.pop();(R?R(f):f.nodeType)===me.element&&Ci(f);let y=w(f);if(y)for(let A=y.length-1;A>=0;--A)g.push(y[A])}},Ei=function(l){if(!Fe)return;let g=[l];for(;g.length>0;){let f=g.pop(),y=R?R(f):f.nodeType;if(y===me.processingInstruction||y===me.comment&&$(ca,f.data)){try{b(f)}catch{}continue}if(y===me.element){let C=f,P=O(_?_(f):f.nodeName);try{C.hasAttribute&&C.hasAttribute("patchsrc")&&C.removeAttribute("patchsrc"),C.hasAttribute&&C.hasAttribute("for")&&P!=="label"&&P!=="output"&&C.removeAttribute("for")}catch{}}let A=w(f);if(A)for(let C=A.length-1;C>=0;--C)g.push(A[C])}},Fn=function(l){let g=null,f=null;if(ko)l="<remove></remove>"+l;else{let C=Jn(l,/^[\r\n\t ]+/);f=C&&C[0]}ft==="application/xhtml+xml"&&tt===ve&&(l='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+l+"</body></html>");let y=B?ne(l):l;if(tt===ve)try{g=new d().parseFromString(y,ft)}catch{}if(!g||!g.documentElement){g=bo.createDocument(tt,"template",null);try{g.documentElement.innerHTML=Eo?Q:y}catch{}}let A=g.body||g.documentElement;return l&&f&&A.insertBefore(o.createTextNode(f),A.childNodes[0]||null),tt===ve?ci.call(g,We?"html":"body")[0]:We?g.documentElement:A},On=function(l){return gn.call(l.ownerDocument||l,l,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},zt=function(l){return l=wt(l,ui," "),l=wt(l,pi," "),l=wt(l,mi," "),l},No=function(l){l.normalize();let g=gn.call(l.ownerDocument||l,l,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),f=g.nextNode();for(;f;)f.data=zt(f.data),f=g.nextNode();let y=l.querySelectorAll?.call(l,"template");y&&it(y,A=>{nt(A.content)&&No(A.content)})},Kt=function(l){let g=_?_(l):null;return typeof g!="string"||O(g)!=="form"?!1:typeof l.nodeName!="string"||typeof l.textContent!="string"||typeof l.removeChild!="function"||l.attributes!==D(l)||typeof l.removeAttribute!="function"||typeof l.setAttribute!="function"||typeof l.namespaceURI!="string"||typeof l.insertBefore!="function"||typeof l.hasChildNodes!="function"||l.nodeType!==R(l)||l.childNodes!==w(l)},nt=function(l){if(!R||typeof l!="object"||!l)return!1;try{return R(l)===me.documentFragment}catch{return!1}},bt=function(l){if(!R||typeof l!="object"||!l)return!1;try{return typeof R(l)=="number"}catch{return!1}};function xe(l,g,f){l.length!==0&&it(l,y=>{y.call(t,g,f,ot)})}let Ri=function(l,g){return!!(Fe&&l.hasChildNodes()&&!bt(l.firstElementChild)&&$(sa,l.textContent)&&$(sa,l.innerHTML)||Fe&&l.namespaceURI===ve&&g==="style"&&bt(l.firstElementChild)||l.nodeType===me.processingInstruction||Fe&&l.nodeType===me.comment&&$(ca,l.data))},Ii=function(l,g){if(!gt[g]&&Bn(g)&&(K.tagNameCheck instanceof RegExp&&$(K.tagNameCheck,g)||K.tagNameCheck instanceof Function&&K.tagNameCheck(g)))return!1;if(To&&!we[g]){let f=k(l),y=w(l);if(y&&f){let A=y.length;for(let C=A-1;C>=0;--C){let P=So?y[C]:h(y[C],!0);f.insertBefore(P,x(l))}}}return je(l),!0},Hn=function(l,g){if(xe(q.beforeSanitizeElements,l,null),l!==g&&k(l)===null)return!0;if(Kt(l))return je(l),!0;let f=O(_?_(l):l.nodeName);if(xe(q.uponSanitizeElement,l,{tagName:f,allowedTags:U}),l!==g&&k(l)===null)return!0;if(Ri(l,f))return je(l),!0;if(gt[f]||!(Ne.tagCheck instanceof Function&&Ne.tagCheck(f))&&!U[f]){let y=Ii(l,f);return y===!1&&xe(q.afterSanitizeElements,l,null),y}if((R?R(l):l.nodeType)===me.element&&!Ai(l)||(f==="noscript"||f==="noembed"||f==="noframes")&&$(br,l.innerHTML))return je(l),!0;if(Le&&l.nodeType===me.text){let y=zt(l.textContent);l.textContent!==y&&(rt(t.removed,{element:l.cloneNode()}),l.textContent=y)}return xe(q.afterSanitizeElements,l,null),!1},_n=function(l,g,f){if(vn[g]||Fe&&g==="patchsrc"||Fe&&g==="for"&&l!=="label"&&l!=="output"||Sn&&(g==="id"||g==="name")&&(f in o||f in xi))return!1;let y=z[g]||Ne.attributeCheck instanceof Function&&Ne.attributeCheck(g,l);if(!(yo&&$(hi,g))&&!(xn&&$(gi,g))){if(y){if(!Co[g]&&!$(bn,wt(f,fn,""))&&!((g==="src"||g==="xlink:href"||g==="href")&&l!=="script"&&ea(f,"data:")===0&&En[l])&&!(kn&&!$(fi,wt(f,fn,"")))&&f)return!1}else if(!(Bn(l)&&(K.tagNameCheck instanceof RegExp&&$(K.tagNameCheck,l)||K.tagNameCheck instanceof Function&&K.tagNameCheck(l))&&(K.attributeNameCheck instanceof RegExp&&$(K.attributeNameCheck,g)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(g,l))||g==="is"&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&$(K.tagNameCheck,f)||K.tagNameCheck instanceof Function&&K.tagNameCheck(f))))return!1}return!0},Mi=I({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Bn=function(l){return!Mi[xt(l)]&&$(bi,l)},Pi=function(l,g,f,y){if(B&&typeof u=="object"&&typeof u.getAttributeType=="function"&&!f)switch(u.getAttributeType(l,g)){case"TrustedHTML":return ne(y);case"TrustedScriptURL":return ht(y)}return y},Di=function(l,g,f,y){try{f?l.setAttributeNS(f,g,y):l.setAttribute(g,y),Kt(l)?je(l):Zn(t.removed)}catch{$e(g,l)}},qn=function(l){xe(q.beforeSanitizeAttributes,l,null);let g=l.attributes;if(!g||Kt(l))return;let f={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0},y=g.length,A=O(l.nodeName);for(;y--;){let C=g[y],P=C.name,Oe=C.namespaceURI,Fo=C.value,pe=O(P),be=Fo,H=P==="value"?be:Ji(be);if(f.attrName=pe,f.attrValue=H,f.keepAttr=!0,f.forceKeepAttr=void 0,xe(q.uponSanitizeAttribute,l,f),H=f.attrValue,An&&(pe==="id"||pe==="name")&&ea(H,Cn)!==0&&($e(P,l),H=Cn+H),Fe&&$(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,H)){$e(P,l);continue}if(pe==="attributename"&&Jn(H,"href")){$e(P,l);continue}if(!f.forceKeepAttr){if(!f.keepAttr){$e(P,l);continue}if(!Tn&&$(yr,H)){$e(P,l);continue}if(Le&&(H=zt(H)),!_n(A,pe,H)){$e(P,l);continue}H=Pi(A,pe,Oe,H),H!==be&&Di(l,P,Oe,H)}}xe(q.afterSanitizeAttributes,l,null)},Gt=function(l){let g=null,f=On(l);for(xe(q.beforeSanitizeShadowDOM,l,null);g=f.nextNode();)if(xe(q.uponSanitizeShadowNode,g,null),Hn(g,l),qn(g),nt(g.content)&&Gt(g.content),(R?R(g):g.nodeType)===me.element){let y=S(g);nt(y)&&(Lo(y),Gt(y))}xe(q.afterSanitizeShadowDOM,l,null)},Lo=function(l){let g=[{node:l,shadow:null}];for(;g.length>0;){let f=g.pop();if(f.shadow){Gt(f.shadow);continue}let y=f.node,A=(R?R(y):y.nodeType)===me.element,C=w(y);if(C)for(let P=C.length-1;P>=0;--P)g.push({node:C[P],shadow:null});if(A){let P=_?_(y):null;if(typeof P=="string"&&O(P)==="template"){let Oe=y.content;nt(Oe)&&g.push({node:Oe,shadow:null})}}if(A){let P=S(y);nt(P)&&g.push({node:null,shadow:P},{node:P,shadow:null})}}};return t.sanitize=function(l){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=null,y=null,A=null,C=null;if(Eo=!l,Eo&&(l="<!-->"),typeof l!="string"&&!bt(l)&&(l=ar(l),typeof l!="string"))throw Ve("dirty is not a string, aborting");if(!t.isSupported)return l;wo?(U=vo,z=xo):Po(g),(q.uponSanitizeElement.length>0||q.uponSanitizeAttribute.length>0)&&(U=ae(U)),q.uponSanitizeAttribute.length>0&&(z=ae(z)),t.removed=[];let P=So&&typeof l!="string"&&bt(l);if(P){Ei(l);let be=_?_(l):l.nodeName;if(typeof be=="string"){let H=O(be);if(!U[H]||gt[H])throw Ut(l),Ve("root node is forbidden and cannot be sanitized in-place")}if(Kt(l))throw Ut(l),Ve("root node is clobbered and cannot be sanitized in-place");try{Lo(l)}catch(H){throw Ut(l),H}}else if(bt(l))f=Fn("<!---->"),y=f.ownerDocument.importNode(l,!0),y.nodeType===me.element&&y.nodeName==="BODY"||y.nodeName==="HTML"?f=y:f.appendChild(y),Lo(y);else{if(!Je&&!Le&&!We&&l.indexOf("<")===-1)return B&&_t?ne(l):l;if(f=Fn(l),!f)return Je?null:_t?Q:""}f&&ko&&je(f.firstChild);let Oe=P?l:f,Fo=On(Oe);try{for(;A=Fo.nextNode();)Hn(A,Oe),qn(A),nt(A.content)&&Gt(A.content)}catch(be){throw P&&(Ut(l),it(t.removed,H=>{H.element&&Do(H.element)})),be}if(P)return it(t.removed,be=>{be.element&&Do(be.element)}),Le&&No(l),l;if(Je){if(Le&&No(f),Ht)for(C=si.call(f.ownerDocument);f.firstChild;)C.appendChild(f.firstChild);else C=f;return(z.shadowroot||z.shadowrootmode)&&(C=di.call(n,C,!0)),C}let pe=We?f.outerHTML:f.innerHTML;return We&&U["!doctype"]&&f.ownerDocument&&f.ownerDocument.doctype&&f.ownerDocument.doctype.name&&$(gr,f.ownerDocument.doctype.name)&&(pe="<!DOCTYPE "+f.ownerDocument.doctype.name+`>
53
+ `+pe),Le&&(pe=zt(pe)),B&&_t?ne(pe):pe},t.setConfig=function(){Po(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),wo=!0,vo=U,xo=z},t.clearConfig=function(){ot=null,wo=!1,vo=null,xo=null,B=L,Q=""},t.isValidAttribute=function(l,g,f){return ot||Po({}),_n(O(l),O(g),f)},t.addHook=function(l,g){typeof g=="function"&&V(q,l)&&rt(q[l],g)},t.removeHook=function(l,g){if(V(q,l)){if(g!==void 0){let f=Xi(q[l],g);return f===-1?void 0:Zi(q[l],f,1)[0]}return Zn(q[l])}},t.removeHooks=function(l){V(q,l)&&(q[l]=[])},t.removeAllHooks=function(){q=da()},t}var jt=ga(),Go="voiceShortcutConfig",kt=Object.freeze({rightAlt:!1,rightCtrl:!1});Object.freeze(["rightAlt","rightCtrl"]);function $t(e){let t=e&&typeof e=="object"?e:{};return{rightAlt:t.rightAlt===!0,rightCtrl:t.rightCtrl===!0}}function xr(e,t){if(!e||e.isComposing)return null;let o=$t(t);return o.rightAlt&&e.code==="AltRight"&&e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey?"rightAlt":o.rightCtrl&&e.code==="ControlRight"&&e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey?"rightCtrl":null}var kr=Object.freeze({rightAlt:"AltRight",rightCtrl:"ControlRight"});function fa(e){let t=typeof e=="function"?e:()=>kt,o=null;return{onKeyDown(n){if(!n)return null;if(o)return n.code!==o.code&&(o=null),null;let i=xr(n,t());return i?(o={key:i,code:kr[i]},"cancel"):null},onKeyUp(n){if(!o||!n||n.code!==o.code)return null;let{key:i}=o;return o=null,n.isComposing||!$t(t())[i]?null:"trigger"},reset(){o=null}}}function Tr(){try{return globalThis.chrome?.storage?.local||null}catch{return null}}async function Wo(){let e=Tr();if(!e?.get)return{...kt};try{return $t((await e.get(Go))?.[Go])}catch{return{...kt}}}function ba(e){let t=(o,n)=>{if(n&&n!=="local")return;let i=o?.[Go];if(i)try{e($t(i.newValue))}catch{}};try{globalThis.chrome?.storage?.onChanged?.addListener?.(t)}catch{return()=>{}}return()=>{try{globalThis.chrome?.storage?.onChanged?.removeListener?.(t)}catch{}}}function te(e,t=document,o=5,n=0){if(n>o)return null;try{if(t.querySelectorAll)for(let a of t.querySelectorAll("*")){if(a.shadowRoot){let r=te(e,a.shadowRoot,o,n+1);if(r)return r}if(a.tagName==="IFRAME"||a.tagName==="FRAME")try{let r=a.contentDocument||a.contentWindow?.document;if(r){let s=te(e,r,o,n+1);if(s)return s}}catch{}}let i=t.querySelector?.(e);if(i)return i}catch{}return null}function Xe(e,t=document,o=5,n=0,i=new Set){if(n>o)return[];try{t.querySelectorAll&&(t.querySelectorAll(e).forEach(a=>{i.add(a)}),t.querySelectorAll("*").forEach(a=>{if(a.shadowRoot&&Xe(e,a.shadowRoot,o,n+1,i),a.tagName==="IFRAME"||a.tagName==="FRAME")try{let r=a.contentDocument||a.contentWindow?.document;r&&Xe(e,r,o,n+1,i)}catch{}}))}catch{}return Array.from(i)}function Pe(e=document,t=5,o=0){if(o>t)return{text:"",range:null};try{let n=e.getSelection?.();if(n&&!n.isCollapsed&&n.rangeCount>0){let i=n.toString().trim();if(i)return{text:i,range:n.getRangeAt(0),depth:o,source:"shadow"}}if(e.querySelectorAll){for(let i of e.querySelectorAll("*"))if(i.shadowRoot){let a=Pe(i.shadowRoot,t,o+1);if(a.text)return a}}}catch{}return{text:"",range:null}}function ct(e=document,t=5,o=0,n=new Set){if(o>t||n.has(e))return"";n.add(e);let i="";try{e.body?i+=e.body.innerText||"":e instanceof ShadowRoot&&(i+=e.textContent||""),e.querySelectorAll&&e.querySelectorAll("*").forEach(a=>{if(a.shadowRoot&&(i+=`
54
54
  `+ct(a.shadowRoot,t,o+1,n)),a.tagName==="IFRAME"||a.tagName==="FRAME")try{let r=a.contentDocument||a.contentWindow?.document;r&&r.body&&(i+=`
55
55
  `+ct(r,t,o+1,n))}catch{}})}catch{}return i.trim().replace(/\n{3,}/g,`
56
56
 
@@ -59,7 +59,7 @@ ${s}`)}if(r.tagName==="IFRAME"||r.tagName==="FRAME")try{let s=r.contentDocument|
59
59
  ${c}`)}}catch{}}),a.length>0&&(i+=`
60
60
  <!-- Shadow DOM and iframe content -->
61
61
  `+a.join(`
62
- `))}catch{}return i}function dt(e){if(!e)return{x:window.innerWidth/2,y:window.innerHeight/2};let t;try{t=e.getBoundingClientRect()}catch{t={left:0,top:0,width:0,height:0}}if(!t||t.width===0&&t.height===0){let i=e.commonAncestorContainer;if(i){let a=i.nodeType===Node.TEXT_NODE?i.parentElement:i;a&&a.getBoundingClientRect&&(t=a.getBoundingClientRect())}}let o=t.left+t.width/2,n=t.top;if(window.top!==window){let i=e.startContainer.ownerDocument;for(;i&&i!==window.top.document;){let a=i.defaultView?.frameElement;if(!a)break;let r=a.getBoundingClientRect();o+=r.left,n+=r.top,i=a.ownerDocument}}return{x:o,y:n}}function Oa(e,t=document,o=5,n=0,i=new Set){if(n>o||i.has(t))return i;try{let a=()=>e();t.addEventListener?.("selectionchange",a),i.add({root:t,listener:a}),t.querySelectorAll&&t.querySelectorAll("*").forEach(r=>{r.shadowRoot&&Oa(e,r.shadowRoot,o,n+1,i)})}catch{}return i}function _a(e){for(let{root:t,listener:o}of e)try{t.removeEventListener?.("selectionchange",o)}catch{}e.clear()}function Pt(e){if(e.id)return`#${e.id}`;let t=[],o=e;for(;o&&o!==document.body&&o!==document.documentElement;){let n=o.tagName.toLowerCase();if(o.id){n=`#${o.id}`,t.unshift(n);break}if(o.className&&typeof o.className=="string"){let a=o.className.trim().split(/\s+/).filter(r=>r);a.length>0&&(n+="."+a[0])}let i=o.parentElement;if(i){let a=Array.from(i.children).filter(r=>r.tagName===o.tagName);if(a.length>1){let r=a.indexOf(o)+1;n+=`:nth-child(${r})`}}t.unshift(n),o=i}return t.join(" > ")}function St(e){if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase();if(e.className){let o=e.className.split(" ").filter(n=>n).slice(0,2);o.length&&(t+="."+o.join("."))}return t}function ya(e,t,o=20){if(!e||!t)return 0;let n=t.global?t:new RegExp(t.source,t.flags+"g"),i=[],a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1),r=0,s;for(;(s=a.nextNode())&&r<o;){let d=s.parentNode;if(!d||d.nodeType!==1)continue;let u=d.tagName;if(u==="SCRIPT"||u==="STYLE"||u==="TITLE"||u==="TEXTAREA")continue;let p=s.nodeValue;if(!p)continue;let h=[],b;for(n.lastIndex=0;(b=n.exec(p))!==null&&r+h.length<o;){if(b[0].length===0){n.lastIndex++;continue}h.push({start:b.index,end:b.index+b[0].length}),b.index===n.lastIndex&&n.lastIndex++}h.length>0&&(i.push({node:s,spans:h}),r+=h.length)}let c=0;for(let{node:d,spans:u}of i)for(let p=u.length-1;p>=0;p--){let{start:h,end:b}=u[p];try{let x=document.createRange();x.setStart(d,h),x.setEnd(d,b);let w=document.createElement("span");w.className="ai-helper-search-highlight",x.surroundContents(w),c++}catch{}}return c}function Xo(){document.querySelectorAll(".ai-helper-highlight, .ai-helper-search-highlight").forEach(t=>{let o=t.parentNode;if(o&&o.insertBefore&&o.removeChild){for(;t.firstChild;)o.insertBefore(t.firstChild,t);o.removeChild(t),typeof o.normalize=="function"&&o.normalize()}});let e=document.getElementById("ai-helper-highlight-style");e&&e.remove()}function Ue(){let e=document.body,t=document.querySelectorAll('button, input, a[href], dialog, [role="dialog"], [role="alert"]').length;return`${location.href}|${e?e.childElementCount:0}|${t}`}async function ze(e,t=300,o=2e3){let n=Date.now();await new Promise(u=>setTimeout(u,Math.min(t,o)));let i=e.split("|")[0],a=location.href!==i,r=!1,s=e,c=0;for(;Date.now()-n<o;){let u=Ue();if(u===s?c++:(r=!0,c=0,s=u),c>=2)break;await new Promise(p=>setTimeout(p,100))}a=location.href!==i;let d={changed:a||r,urlChanged:a,domChanged:r,waitedMs:Date.now()-n};return a&&(d.newUrl=location.href),d}function Ha(e){return e.isContentEditable||e.getAttribute("contenteditable")==="true"}function to(e,t){let o=e.tagName==="TEXTAREA"?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(o,"value");n&&n.set?n.set.call(e,t):e.value=t}function oo(e,t){try{return e.focus(),document.execCommand("insertText",!1,t)||(e.textContent=t),e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0})),!0}catch{try{return e.textContent=t,e.dispatchEvent(new Event("input",{bubbles:!0})),!0}catch{return!1}}}G("zh",{pageExtract:{startedDownloadingImages:"\u5DF2\u5F00\u59CB\u4E0B\u8F7D {count} \u5F20\u56FE\u7247",targetElementNotFound:"\u672A\u627E\u5230\u76EE\u6807\u5143\u7D20",elementNotFound:"\u672A\u627E\u5230\u5339\u914D\u9009\u62E9\u5668\u7684\u5143\u7D20: {selector}",searchKeywordRequired:"\u9700\u8981\u63D0\u4F9B\u641C\u7D22\u5173\u952E\u8BCD",contentTruncated:"\u5185\u5BB9\u5DF2\u622A\u65AD"}}),G("en",{pageExtract:{startedDownloadingImages:"Started downloading {count} images",targetElementNotFound:"Target element not found",elementNotFound:"No element found matching selector: {selector}",searchKeywordRequired:"Search keyword is required",contentTruncated:"Content truncated"}});function Sr(){try{let e=i=>{let a=document.querySelector(`meta[name="${i}"]`)||document.querySelector(`meta[property="${i}"]`)||document.querySelector(`meta[property="og:${i}"]`);return a?a.content:null},t=i=>{let a=document.querySelectorAll(`meta[name="${i}"], meta[property="${i}"], meta[property="og:${i}"]`);return Array.from(a).map(r=>r.content).filter(Boolean)},o=[];document.querySelectorAll('script[type="application/ld+json"]').forEach(i=>{try{let a=JSON.parse(i.textContent);Array.isArray(a)?o.push(...a):a&&a["@graph"]&&Array.isArray(a["@graph"])?o.push(...a["@graph"]):a&&o.push(a)}catch{}});let n=[];return document.querySelectorAll("[itemscope]").forEach(i=>{let a=i.getAttribute("itemtype")||"";if(!a)return;let r={};i.querySelectorAll("[itemprop]").forEach(s=>{if(s.closest("[itemscope]")!==i)return;let c=s.getAttribute("itemprop")||"";if(!c)return;let d=s.getAttribute("content")||s.getAttribute("href")||s.getAttribute("src")||s.textContent?.trim();d&&(r[c]?r[c]=Array.isArray(r[c])?[...r[c],d]:[r[c],d]:r[c]=d)}),n.push({itemType:a,properties:r})}),{success:!0,data:{title:document.title,description:e("description"),keywords:e("keywords"),author:e("author"),ogTitle:e("og:title"),ogDescription:e("og:description"),ogImage:e("og:image"),ogUrl:e("og:url"),ogType:e("og:type"),ogSiteName:e("og:site_name"),ogLocale:e("og:locale"),articlePublishedTime:e("article:published_time"),articleModifiedTime:e("article:modified_time"),articleAuthor:e("article:author"),twitterCard:e("twitter:card"),twitterTitle:e("twitter:title"),twitterDescription:e("twitter:description"),twitterImage:e("twitter:image"),twitterSite:e("twitter:site"),twitterCreator:e("twitter:creator"),canonicalUrl:document.querySelector('link[rel="canonical"]')?.href,links:t("citation_author"),jsonLd:o.length>0?o:void 0,microdata:n.length>0?n:void 0}}}catch(e){return{success:!1,error:e.message}}}function Ar(e="all",t=!1){try{let o=window.location.hostname,n=[];return document.querySelectorAll("a[href]").forEach(i=>{try{let a=i.href;if(!a||a.startsWith("javascript:")||a.startsWith("#"))return;let r=new URL(a),s=r.hostname!==o;if(e==="internal"&&s||e==="external"&&!s)return;n.push({href:a,text:i.textContent.trim(),title:i.title,domain:r.hostname,isExternal:s,target:i.target})}catch{}}),t&&document.querySelectorAll("img[src]").forEach(i=>{try{let a=i.src;if(!a)return;let r=new URL(a),s=r.hostname!==o;if(e==="internal"&&s||e==="external"&&!s)return;n.push({href:a,text:i.alt||"",title:i.title,domain:r.hostname,isExternal:s,type:"image"})}catch{}}),{success:!0,total:n.length,links:n}}catch(o){return{success:!1,error:o.message}}}function Cr(e=null){try{let t=(e?[document.querySelector(e)].filter(Boolean):Array.from(document.querySelectorAll("form"))).map((o,n)=>{let i=[],a=o.id||`form-${n}`;return o.querySelectorAll("input").forEach(r=>{i.push({tag:"input",name:r.name,id:r.id,type:r.type,placeholder:r.placeholder,required:r.required,selector:St(r)})}),o.querySelectorAll("textarea").forEach(r=>{i.push({tag:"textarea",name:r.name,id:r.id,placeholder:r.placeholder,required:r.required,selector:St(r)})}),o.querySelectorAll("select").forEach(r=>{let s=Array.from(r.options).map(c=>({value:c.value,text:c.textContent.trim()}));i.push({tag:"select",name:r.name,id:r.id,required:r.required,options:s,selector:St(r)})}),{formId:a,action:o.action,method:o.method,fields:i}});return{success:!0,total:t.length,forms:t}}catch(t){return{success:!1,error:t.message}}}function Er(e={}){try{let{minWidth:t=0,minHeight:o=0,includeBackgroundImages:n=!1,download:i=!1,maxResults:a=100}=e,r=[],s=new Set;return document.querySelectorAll("img[src]").forEach(c=>{try{let d=c.src;if(!d||s.has(d))return;let u=c.naturalWidth||c.width||0,p=c.naturalHeight||c.height||0;u>=t&&p>=o&&(s.add(d),r.push({src:d,alt:c.alt||"",title:c.title||"",width:u,height:p,selector:St(c)}))}catch{}}),n&&document.querySelectorAll("*").forEach(c=>{try{let d=window.getComputedStyle(c).backgroundImage;if(!d||d==="none"||d.startsWith("gradient"))return;let u=d.match(/url\(['"]?([^'")]+)['"]?\)/);if(u&&u[1]){let p=u[1];s.has(p)||(s.add(p),r.push({src:p,alt:"",title:"",width:0,height:0,type:"background",selector:St(c)}))}}catch{}}),i&&r.length>0&&r.slice(0,Math.min(a,10)).forEach((c,d)=>{setTimeout(()=>{let u=document.createElement("a");u.href=c.src,u.download=`image_${d+1}.png`,document.body.appendChild(u),u.click(),document.body.removeChild(u)},d*500)}),{success:!0,total:r.length,images:r.slice(0,a),message:i?m("pageExtract.startedDownloadingImages",{count:Math.min(r.length,10)}):""}}catch(t){return{success:!1,error:t.message}}}function Rr(e="iframe",t=!1,o=1e4){try{let n=document.querySelectorAll(e),i=[],a=(r,s=1,c="")=>{try{let d=Pt(r),u=c?`${c} > iframe`:d,p=r.src||"about:blank",h=!1,b="",x="",w=0;try{let k=r.contentDocument||r.contentWindow?.document;k&&(h=!0,b=k.title||"",x=ct(k).substring(0,o),w=eo(k).length,t&&s<2&&k.querySelectorAll("iframe").forEach(S=>{a(S,s+1,u)}))}catch{h=!1}i.push({selector:u,url:p,accessible:h,title:b,textContent:x,htmlLength:w})}catch{}};return n.forEach(r=>a(r)),{success:!0,iframes:i,total:i.length,accessible:i.filter(r=>r.accessible).length}}catch(n){return{success:!1,error:n.message}}}function Ir(e={}){try{let{query:t,pattern:o,mode:n="plain",caseSensitive:i=!1,contextLength:a=50,maxResults:r=20,highlight:s=!1}=e,c=t||o;if(!c)return{success:!1,error:m("pageExtract.searchKeywordRequired")};if(n==="plain"){let x=window.find(c,i,!1,!0,!1,!0,!1),w=0,k=[];try{let S=window.getSelection(),D=S&&S.rangeCount>0?S.getRangeAt(0):null,R=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null,!1),H=i?"g":"gi",B=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Q=new RegExp(B,H),L=document.body.innerText,oe=0;for(;R.nextNode();){let ue=R.currentNode.textContent.match(Q);if(ue)for(let Ae of ue){if(k.length>=r)break;let ne=L.indexOf(Ae,oe),ht=Math.max(0,ne-a),fo=Math.min(L.length,ne+Ae.length+a);k.push({match:Ae,position:ne,context:L.substring(ht,fo),lineNumber:L.substring(0,ne).split(`
62
+ `))}catch{}return i}function dt(e){if(!e)return{x:window.innerWidth/2,y:window.innerHeight/2};let t;try{t=e.getBoundingClientRect()}catch{t={left:0,top:0,width:0,height:0}}if(!t||t.width===0&&t.height===0){let i=e.commonAncestorContainer;if(i){let a=i.nodeType===Node.TEXT_NODE?i.parentElement:i;a&&a.getBoundingClientRect&&(t=a.getBoundingClientRect())}}let o=t.left+t.width/2,n=t.top;if(window.top!==window){let i=e.startContainer.ownerDocument;for(;i&&i!==window.top.document;){let a=i.defaultView?.frameElement;if(!a)break;let r=a.getBoundingClientRect();o+=r.left,n+=r.top,i=a.ownerDocument}}return{x:o,y:n}}function Oa(e,t=document,o=5,n=0,i=new Set){if(n>o||i.has(t))return i;try{let a=()=>e();t.addEventListener?.("selectionchange",a),i.add({root:t,listener:a}),t.querySelectorAll&&t.querySelectorAll("*").forEach(r=>{r.shadowRoot&&Oa(e,r.shadowRoot,o,n+1,i)})}catch{}return i}function Ha(e){for(let{root:t,listener:o}of e)try{t.removeEventListener?.("selectionchange",o)}catch{}e.clear()}function Pt(e){if(e.id)return`#${e.id}`;let t=[],o=e;for(;o&&o!==document.body&&o!==document.documentElement;){let n=o.tagName.toLowerCase();if(o.id){n=`#${o.id}`,t.unshift(n);break}if(o.className&&typeof o.className=="string"){let a=o.className.trim().split(/\s+/).filter(r=>r);a.length>0&&(n+="."+a[0])}let i=o.parentElement;if(i){let a=Array.from(i.children).filter(r=>r.tagName===o.tagName);if(a.length>1){let r=a.indexOf(o)+1;n+=`:nth-child(${r})`}}t.unshift(n),o=i}return t.join(" > ")}function St(e){if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase();if(e.className){let o=e.className.split(" ").filter(n=>n).slice(0,2);o.length&&(t+="."+o.join("."))}return t}function ya(e,t,o=20){if(!e||!t)return 0;let n=t.global?t:new RegExp(t.source,t.flags+"g"),i=[],a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1),r=0,s;for(;(s=a.nextNode())&&r<o;){let d=s.parentNode;if(!d||d.nodeType!==1)continue;let u=d.tagName;if(u==="SCRIPT"||u==="STYLE"||u==="TITLE"||u==="TEXTAREA")continue;let p=s.nodeValue;if(!p)continue;let h=[],b;for(n.lastIndex=0;(b=n.exec(p))!==null&&r+h.length<o;){if(b[0].length===0){n.lastIndex++;continue}h.push({start:b.index,end:b.index+b[0].length}),b.index===n.lastIndex&&n.lastIndex++}h.length>0&&(i.push({node:s,spans:h}),r+=h.length)}let c=0;for(let{node:d,spans:u}of i)for(let p=u.length-1;p>=0;p--){let{start:h,end:b}=u[p];try{let x=document.createRange();x.setStart(d,h),x.setEnd(d,b);let w=document.createElement("span");w.className="ai-helper-search-highlight",x.surroundContents(w),c++}catch{}}return c}function Xo(){document.querySelectorAll(".ai-helper-highlight, .ai-helper-search-highlight").forEach(t=>{let o=t.parentNode;if(o&&o.insertBefore&&o.removeChild){for(;t.firstChild;)o.insertBefore(t.firstChild,t);o.removeChild(t),typeof o.normalize=="function"&&o.normalize()}});let e=document.getElementById("ai-helper-highlight-style");e&&e.remove()}function Ue(){let e=document.body,t=document.querySelectorAll('button, input, a[href], dialog, [role="dialog"], [role="alert"]').length;return`${location.href}|${e?e.childElementCount:0}|${t}`}async function ze(e,t=300,o=2e3){let n=Date.now();await new Promise(u=>setTimeout(u,Math.min(t,o)));let i=e.split("|")[0],a=location.href!==i,r=!1,s=e,c=0;for(;Date.now()-n<o;){let u=Ue();if(u===s?c++:(r=!0,c=0,s=u),c>=2)break;await new Promise(p=>setTimeout(p,100))}a=location.href!==i;let d={changed:a||r,urlChanged:a,domChanged:r,waitedMs:Date.now()-n};return a&&(d.newUrl=location.href),d}function _a(e){return e.isContentEditable||e.getAttribute("contenteditable")==="true"}function to(e,t){let o=e.tagName==="TEXTAREA"?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(o,"value");n&&n.set?n.set.call(e,t):e.value=t}function oo(e,t){try{return e.focus(),document.execCommand("insertText",!1,t)||(e.textContent=t),e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0})),!0}catch{try{return e.textContent=t,e.dispatchEvent(new Event("input",{bubbles:!0})),!0}catch{return!1}}}G("zh",{pageExtract:{startedDownloadingImages:"\u5DF2\u5F00\u59CB\u4E0B\u8F7D {count} \u5F20\u56FE\u7247",targetElementNotFound:"\u672A\u627E\u5230\u76EE\u6807\u5143\u7D20",elementNotFound:"\u672A\u627E\u5230\u5339\u914D\u9009\u62E9\u5668\u7684\u5143\u7D20: {selector}",searchKeywordRequired:"\u9700\u8981\u63D0\u4F9B\u641C\u7D22\u5173\u952E\u8BCD",contentTruncated:"\u5185\u5BB9\u5DF2\u622A\u65AD"}}),G("en",{pageExtract:{startedDownloadingImages:"Started downloading {count} images",targetElementNotFound:"Target element not found",elementNotFound:"No element found matching selector: {selector}",searchKeywordRequired:"Search keyword is required",contentTruncated:"Content truncated"}});function Sr(){try{let e=i=>{let a=document.querySelector(`meta[name="${i}"]`)||document.querySelector(`meta[property="${i}"]`)||document.querySelector(`meta[property="og:${i}"]`);return a?a.content:null},t=i=>{let a=document.querySelectorAll(`meta[name="${i}"], meta[property="${i}"], meta[property="og:${i}"]`);return Array.from(a).map(r=>r.content).filter(Boolean)},o=[];document.querySelectorAll('script[type="application/ld+json"]').forEach(i=>{try{let a=JSON.parse(i.textContent);Array.isArray(a)?o.push(...a):a&&a["@graph"]&&Array.isArray(a["@graph"])?o.push(...a["@graph"]):a&&o.push(a)}catch{}});let n=[];return document.querySelectorAll("[itemscope]").forEach(i=>{let a=i.getAttribute("itemtype")||"";if(!a)return;let r={};i.querySelectorAll("[itemprop]").forEach(s=>{if(s.closest("[itemscope]")!==i)return;let c=s.getAttribute("itemprop")||"";if(!c)return;let d=s.getAttribute("content")||s.getAttribute("href")||s.getAttribute("src")||s.textContent?.trim();d&&(r[c]?r[c]=Array.isArray(r[c])?[...r[c],d]:[r[c],d]:r[c]=d)}),n.push({itemType:a,properties:r})}),{success:!0,data:{title:document.title,description:e("description"),keywords:e("keywords"),author:e("author"),ogTitle:e("og:title"),ogDescription:e("og:description"),ogImage:e("og:image"),ogUrl:e("og:url"),ogType:e("og:type"),ogSiteName:e("og:site_name"),ogLocale:e("og:locale"),articlePublishedTime:e("article:published_time"),articleModifiedTime:e("article:modified_time"),articleAuthor:e("article:author"),twitterCard:e("twitter:card"),twitterTitle:e("twitter:title"),twitterDescription:e("twitter:description"),twitterImage:e("twitter:image"),twitterSite:e("twitter:site"),twitterCreator:e("twitter:creator"),canonicalUrl:document.querySelector('link[rel="canonical"]')?.href,links:t("citation_author"),jsonLd:o.length>0?o:void 0,microdata:n.length>0?n:void 0}}}catch(e){return{success:!1,error:e.message}}}function Ar(e="all",t=!1){try{let o=window.location.hostname,n=[];return document.querySelectorAll("a[href]").forEach(i=>{try{let a=i.href;if(!a||a.startsWith("javascript:")||a.startsWith("#"))return;let r=new URL(a),s=r.hostname!==o;if(e==="internal"&&s||e==="external"&&!s)return;n.push({href:a,text:i.textContent.trim(),title:i.title,domain:r.hostname,isExternal:s,target:i.target})}catch{}}),t&&document.querySelectorAll("img[src]").forEach(i=>{try{let a=i.src;if(!a)return;let r=new URL(a),s=r.hostname!==o;if(e==="internal"&&s||e==="external"&&!s)return;n.push({href:a,text:i.alt||"",title:i.title,domain:r.hostname,isExternal:s,type:"image"})}catch{}}),{success:!0,total:n.length,links:n}}catch(o){return{success:!1,error:o.message}}}function Cr(e=null){try{let t=(e?[document.querySelector(e)].filter(Boolean):Array.from(document.querySelectorAll("form"))).map((o,n)=>{let i=[],a=o.id||`form-${n}`;return o.querySelectorAll("input").forEach(r=>{i.push({tag:"input",name:r.name,id:r.id,type:r.type,placeholder:r.placeholder,required:r.required,selector:St(r)})}),o.querySelectorAll("textarea").forEach(r=>{i.push({tag:"textarea",name:r.name,id:r.id,placeholder:r.placeholder,required:r.required,selector:St(r)})}),o.querySelectorAll("select").forEach(r=>{let s=Array.from(r.options).map(c=>({value:c.value,text:c.textContent.trim()}));i.push({tag:"select",name:r.name,id:r.id,required:r.required,options:s,selector:St(r)})}),{formId:a,action:o.action,method:o.method,fields:i}});return{success:!0,total:t.length,forms:t}}catch(t){return{success:!1,error:t.message}}}function Er(e={}){try{let{minWidth:t=0,minHeight:o=0,includeBackgroundImages:n=!1,download:i=!1,maxResults:a=100}=e,r=[],s=new Set;return document.querySelectorAll("img[src]").forEach(c=>{try{let d=c.src;if(!d||s.has(d))return;let u=c.naturalWidth||c.width||0,p=c.naturalHeight||c.height||0;u>=t&&p>=o&&(s.add(d),r.push({src:d,alt:c.alt||"",title:c.title||"",width:u,height:p,selector:St(c)}))}catch{}}),n&&document.querySelectorAll("*").forEach(c=>{try{let d=window.getComputedStyle(c).backgroundImage;if(!d||d==="none"||d.startsWith("gradient"))return;let u=d.match(/url\(['"]?([^'")]+)['"]?\)/);if(u&&u[1]){let p=u[1];s.has(p)||(s.add(p),r.push({src:p,alt:"",title:"",width:0,height:0,type:"background",selector:St(c)}))}}catch{}}),i&&r.length>0&&r.slice(0,Math.min(a,10)).forEach((c,d)=>{setTimeout(()=>{let u=document.createElement("a");u.href=c.src,u.download=`image_${d+1}.png`,document.body.appendChild(u),u.click(),document.body.removeChild(u)},d*500)}),{success:!0,total:r.length,images:r.slice(0,a),message:i?m("pageExtract.startedDownloadingImages",{count:Math.min(r.length,10)}):""}}catch(t){return{success:!1,error:t.message}}}function Rr(e="iframe",t=!1,o=1e4){try{let n=document.querySelectorAll(e),i=[],a=(r,s=1,c="")=>{try{let d=Pt(r),u=c?`${c} > iframe`:d,p=r.src||"about:blank",h=!1,b="",x="",w=0;try{let k=r.contentDocument||r.contentWindow?.document;k&&(h=!0,b=k.title||"",x=ct(k).substring(0,o),w=eo(k).length,t&&s<2&&k.querySelectorAll("iframe").forEach(S=>{a(S,s+1,u)}))}catch{h=!1}i.push({selector:u,url:p,accessible:h,title:b,textContent:x,htmlLength:w})}catch{}};return n.forEach(r=>a(r)),{success:!0,iframes:i,total:i.length,accessible:i.filter(r=>r.accessible).length}}catch(n){return{success:!1,error:n.message}}}function Ir(e={}){try{let{query:t,pattern:o,mode:n="plain",caseSensitive:i=!1,contextLength:a=50,maxResults:r=20,highlight:s=!1}=e,c=t||o;if(!c)return{success:!1,error:m("pageExtract.searchKeywordRequired")};if(n==="plain"){let x=window.find(c,i,!1,!0,!1,!0,!1),w=0,k=[];try{let S=window.getSelection(),D=S&&S.rangeCount>0?S.getRangeAt(0):null,R=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null,!1),_=i?"g":"gi",B=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Q=new RegExp(B,_),L=document.body.innerText,oe=0;for(;R.nextNode();){let ue=R.currentNode.textContent.match(Q);if(ue)for(let Ae of ue){if(k.length>=r)break;let ne=L.indexOf(Ae,oe),ht=Math.max(0,ne-a),fo=Math.min(L.length,ne+Ae.length+a);k.push({match:Ae,position:ne,context:L.substring(ht,fo),lineNumber:L.substring(0,ne).split(`
63
63
  `).length}),w++,oe=ne+Ae.length}if(k.length>=r)break}D&&(S.removeAllRanges(),S.addRange(D))}catch{w=+!!x}if(s&&w>0){Xo();let S=document.createElement("style");S.id="ai-helper-highlight-style",S.textContent=`
64
64
  .ai-helper-search-highlight {
65
65
  background-color: #ffff00;
@@ -75,12 +75,12 @@ ${c}`)}}catch{}}),a.length>0&&(i+=`
75
75
  padding: 1px 2px;
76
76
  border-radius: 2px;
77
77
  }
78
- `,document.head.appendChild(x),ya(document.body,new RegExp(c,d),r)}return{success:!0,pattern:c,mode:"regex",total:h.length,matches:h,highlighted:s}}catch(t){return{success:!1,error:t.message}}}G("zh",{pageInteraction:{invalidRefSuggest:"\u65E0\u6548\u6216\u5DF2\u8FC7\u671F\u7684\u5143\u7D20\u5F15\u7528 ref={ref}\u3002",invalidRefSuggestions:"\u6700\u8FD1\u5FEB\u7167\u4E2D\u7684\u6709\u6548\u5F15\u7528\uFF1A{list}\u3002",invalidRefTail:"\u5982\u9875\u9762\u5DF2\u53D8\u5316\uFF0C\u8BF7\u91CD\u65B0\u8C03\u7528 query_elements \u83B7\u53D6\u6700\u65B0\u5FEB\u7167",elementNotVisibleError:"\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09\u5F53\u524D\u4E0D\u53EF\u89C1\uFF0C\u53EF\u80FD\u88AB\u9690\u85CF\u6216\u6298\u53E0",navChangeHint:"\uFF08\u68C0\u6D4B\u5230\u5BFC\u822A\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",domChangeHint:"\uFF08\u68C0\u6D4B\u5230DOM\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",hoveredByRef:"\u5DF2\u60AC\u505C\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09{hint}",clickedByRef:"\u5DF2\u70B9\u51FB\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09{hint}",typedByRef:"\u5DF2\u5411\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09\u8F93\u5165\u6587\u672C{hint}",typeNotSupported:"\u5143\u7D20 {tag} \u4E0D\u652F\u6301\u6587\u672C\u8F93\u5165\uFF08checkbox/radio \u8BF7\u7528 fill_form \u6216 click\uFF09",valueRequired:"action=type \u65F6 value \u4E0D\u80FD\u4E3A\u7A7A",typeFailed:"\u6587\u672C\u8F93\u5165\u5931\u8D25",textRequired:"text \u4E0D\u80FD\u4E3A\u7A7A",scrolledToText:'\u5DF2\u6EDA\u52A8\u5230\u5305\u542B"{text}"\u7684\u5143\u7D20',scrollTextNotFound:'\u6EDA\u52A8 {count} \u6B21\u672A\u627E\u5230\u5305\u542B"{text}"\u7684\u6587\u672C'}}),G("en",{pageInteraction:{invalidRefSuggest:"Invalid or stale element ref={ref}. ",invalidRefSuggestions:"Nearest valid refs from the latest snapshot: {list}. ",invalidRefTail:"If the page has changed, re-run query_elements",elementNotVisibleError:"Element ref={ref} ({tag}) is not visible; it may be hidden or collapsed",navChangeHint:" (navigation change detected, waited {ms}ms)",domChangeHint:" (DOM change detected, waited {ms}ms)",hoveredByRef:"Hovered element ref={ref} ({tag}){hint}",clickedByRef:"Clicked element ref={ref} ({tag}){hint}",typedByRef:"Typed text into element ref={ref} ({tag}){hint}",typeNotSupported:"Element {tag} does not support text input (use fill_form or click for checkbox/radio)",valueRequired:"value is required when action=type",typeFailed:"Text input failed",textRequired:"text cannot be empty",scrolledToText:'Scrolled to element containing "{text}"',scrollTextNotFound:'Scrolled {count} times but did not find text containing "{text}"'}});var wa=0,Zo=new WeakMap,Dt=new Map;function Ba(e,t,o){let n=Zo.get(e);return n??(wa+=1,n=wa,Zo.set(e,n)),Dt.set(n,{element:e,selector:null,tag:e.tagName,role:t,name:o}),n}function va(e){if(e.selector==null)try{e.selector=Pt(e.element)}catch{e.selector=""}return e.selector}function cn(e){let t=parseInt(e,10);if(!t||!Dt.has(t))return{error:xa(t),suggestions:Jo(t)};let o=Dt.get(t);if(o.element&&o.element.isConnected)return va(o),{entry:o,element:o.element};let n=va(o),i=n?te(n):null;return i?(o.element=i,{entry:o,element:i}):{error:xa(t),suggestions:Jo(t)}}function Jo(e){return[...Dt.entries()].sort((t,o)=>Math.abs(t[0]-e)-Math.abs(o[0]-e)).slice(0,3).map(([t,o])=>({ref:t,role:o.role||o.tag&&o.tag.toLowerCase()||"?",name:o.name||""}))}function xa(e){let t=m("pageInteraction.invalidRefSuggest",{ref:e}),o=Jo(e);if(o.length){let n=o.map(i=>`ref ${i.ref} (${i.role}${i.name?` "${i.name}"`:""})`).join(", ");t+=m("pageInteraction.invalidRefSuggestions",{list:n})}return t+=m("pageInteraction.invalidRefTail"),t}function Mr(e){return cn(e).element||null}var Pr=new Set(["button","link","checkbox","radio","switch","tab","menuitem","menuitemcheckbox","menuitemradio","option","combobox","listbox","searchbox","slider","spinbutton","textbox","treeitem"]),Dr=new Set(["dialog","form","navigation","main","banner","contentinfo","table","row","heading"]);function qa(e){let t=e.getAttribute("role"),o=t?t.trim().split(/\s+/)[0]:"";if(o)return o;let n=e.tagName;if(n==="BUTTON")return"button";if(n==="A")return e.hasAttribute("href")?"link":"";if(n==="SELECT")return e.multiple||e.size>1?"listbox":"combobox";if(n==="TEXTAREA")return"textbox";if(n==="SUMMARY")return"button";if(/^H[1-6]$/.test(n))return"heading";if(n==="NAV")return"navigation";if(n==="MAIN")return"main";if(n==="DIALOG")return"dialog";if(n==="FORM")return"form";if(n==="TABLE")return"table";if(n==="TR")return"row";if(n==="INPUT"){let i=(e.type||"text").toLowerCase();return i==="hidden"?"":i==="checkbox"?"checkbox":i==="radio"?"radio":i==="submit"||i==="button"||i==="reset"?"button":i==="search"?"searchbox":i==="range"?"slider":i==="number"?"spinbutton":"textbox"}return""}function Ua(e){if(e.hasAttribute("hidden")||e.hasAttribute("inert")||e.getAttribute("aria-hidden")==="true"||e.style&&e.style.display==="none")return!0;let t=typeof getComputedStyle=="function"?getComputedStyle(e):null;return!!t&&t.display==="none"}function ka(e){if(typeof e.checkVisibility=="function")return!e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});let t=typeof getComputedStyle=="function"?getComputedStyle(e):null;return t?t.display==="none"||t.visibility==="hidden":!1}function Nr(){let e=new Set;try{for(let t of document.querySelectorAll('[aria-expanded="true"][aria-controls]'))e.add(t.getAttribute("aria-controls"))}catch{}return e}function Lr(e,t,o){if(e.tagName==="DIALOG"&&e.hasAttribute("open"))return!0;if(e.hasAttribute("popover"))try{if(e.matches(":popover-open"))return!0}catch{}if(e.tagName==="SELECT"||e.tagName==="INPUT"||e.tagName==="TEXTAREA")return!1;let n=document.activeElement;return!!((t==="dialog"||t==="alertdialog")&&(e.getAttribute("aria-modal")==="true"||n&&e.contains(n))||(t==="menu"||t==="listbox")&&n&&e.contains(n)||e.id&&o.has(e.id))}function za(e,t){if(Pr.has(t)||e.tagName==="A"&&e.hasAttribute("href"))return!0;if(e.hasAttribute("contenteditable")){let n=e.getAttribute("contenteditable");if(n===""||n==="true"||n==="plaintext-only")return!0}let o=e.getAttribute("tabindex");return!!(o!==null&&parseInt(o,10)>=0||e.hasAttribute("onclick"))}function Ka(e){let t=[];return e.shadowRoot&&t.push(...e.shadowRoot.children),t.push(...e.children),t}function en(e,t){let o=(u,p=80)=>{if(!u)return"";let h=String(u).replace(/\s+/g," ").trim();return h.length>p?h.slice(0,p-1)+"\u2026":h},n=u=>o(u?u.textContent:"");if(e.tagName==="SELECT"){let u=e.options&&e.options[e.selectedIndex];if(u&&u.text)return o(u.text)}let i=e.getAttribute("aria-labelledby");if(i){let u=i.split(/\s+/).map(p=>document.getElementById(p)).filter(Boolean).map(p=>n(p)).filter(Boolean).join(" ");if(u)return u}let a=e.getAttribute("aria-label");if(a)return o(a);if(e.id)try{let u=document.querySelector(`label[for="${CSS.escape(e.id)}"]`);if(u){let p=n(u);if(p)return p}}catch{}let r=e.closest&&e.closest("label");if(r){let u=n(r);if(u)return u}if(e.getAttribute("placeholder"))return o(e.getAttribute("placeholder"));if(e.getAttribute("title"))return o(e.getAttribute("title"));if(e.getAttribute("alt"))return o(e.getAttribute("alt"));if(e.tagName==="INPUT"){let u=(e.type||"").toLowerCase();if((u==="submit"||u==="button"||u==="reset")&&e.value)return o(e.value)}let s="";for(let u of e.childNodes)u.nodeType===3&&(s+=u.textContent);s.trim()||(s=e.textContent||"");let c=o(s);if(c)return c;let d=e.previousElementSibling;for(;d&&!(d.textContent||"").trim();)d=d.previousElementSibling;if(d&&!d.querySelector("button, a[href], input, select, textarea")){let u=n(d);if(u)return u}return""}function Fr(e,t){let o=[],n=(a,r)=>a&&a.length>r?a.slice(0,r-1)+"\u2026":a;if(t==="link"&&e.getAttribute("href")&&o.push(`href="${n(e.getAttribute("href"),150)}"`),e.tagName==="INPUT"){let a=(e.type||"text").toLowerCase();a!=="text"&&a!=="checkbox"&&a!=="radio"&&o.push(`type="${a}"`)}let i=e.getAttribute("placeholder");return i&&o.push(`placeholder="${n(i,60)}"`),(e.tagName==="INPUT"||e.tagName==="TEXTAREA")&&e.value&&o.push(`value="${n(e.value,60)}"`),e.tagName==="INPUT"&&(e.type==="checkbox"||e.type==="radio")&&e.checked&&o.push('checked="true"'),e.tagName==="OPTION"&&e.selected&&o.push('selected="true"'),o.join(" ")}var Or=`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`;function _r(){return window.innerWidth>0&&window.innerHeight>0}function Hr(e,t,o){if(!o||!o.length)return!0;let n=e.tagName.toLowerCase(),i=e.tagName==="INPUT"?(e.type||"").toLowerCase():"";return o.some(a=>a===n||a===i||a===t)}function Br(e,t,o){return o?`${t} ${e.textContent||""} ${e.value||""}`.toLowerCase().includes(String(o).toLowerCase()):!0}function qr(e={}){let{filterByText:t="",elementTypes:o=null,page:n=1,maxResults:i=100,maxChars:a=6e3,countOnly:r=!1}=e;try{let s=Ga({filterByText:t,elementTypes:o,frames:"none"});return s.success?Yn({frames:[{frameIndex:0,depth:0,isTop:!0,frameInfo:s.frameInfo,overlayTrees:s.overlayTrees,bodyTree:s.bodyTree}],page:n,maxResults:i,maxChars:a,countOnly:r}):s}catch(s){return console.error("[PageInteraction] queryInteractiveElements failed:",s),{success:!1,error:s.message}}}function Ur(e,t,o){let n=e.getAttribute("title")||"",i="";try{i=e.src||""}catch{}i||=e.getAttribute("src")||"";let a=null;try{let s=e.contentWindow&&e.contentWindow.location.href;typeof s=="string"&&(a=s)}catch{}let r=o.iframeOrder.has(e)?o.iframeOrder.get(e):-1;return{t:"frame",title:n,srcUrl:i,sameOriginHref:a,orderInParent:r,depth:t}}function tn(e,t,o,n){if(Ua(e)||n.skipRoots&&n.skipRoots.has(e))return!1;let i=qa(e),a=za(e,i),r=!a&&Dr.has(i)?i:null,s=t+(a||r?1:0);if(n.frames==="auto"&&e.tagName==="IFRAME")return o.push(Ur(e,t,n)),!0;let c=[],d=!1;for(let u of Ka(e))tn(u,s,c,n)&&(d=!0);if(a&&n.matchedSet.has(e)){let u=i||e.tagName.toLowerCase(),p=en(e,u);return o.push({t:"el",localRef:Zo.get(e)??Ba(e,u,p),role:u,name:p,attrs:Fr(e,u),depth:t,children:c}),!0}if(r&&d){let u=r==="dialog"||r==="heading"?en(e,i):"";return o.push({t:"container",role:r,name:u,depth:t,children:c}),!0}return d?(o.push(...c),!0):!1}function Ga(e={}){let{filterByText:t="",elementTypes:o=null,frames:n="none"}=e;try{Dt.clear();let i=Nr(),a=[],r=[];Wa(document.body,{matched:r,filterByText:t,elementTypes:o,overlayRoots:a,expandedTargets:i});for(let p of r)Ba(p.el,p.role,p.name);let s=new Map;try{document.querySelectorAll("iframe").forEach((p,h)=>s.set(p,h))}catch{}let c={matchedSet:new Set(r.map(p=>p.el)),frames:n,iframeOrder:s,skipRoots:null},d=[];for(let p of a){let h=[];tn(p,0,h,c),d.push(...h)}c.skipRoots=new Set(a);let u=[];return tn(document.body,0,u,c),{success:!0,frameInfo:{url:location.href,title:document.title||"",width:window.innerWidth,height:window.innerHeight,loadId:Or},overlayTrees:d,bodyTree:u}}catch(i){return console.error("[PageInteraction] collectSnapshotOps failed:",i),{success:!1,error:i.message}}}function Wa(e,{matched:t,filterByText:o,elementTypes:n,overlayRoots:i,expandedTargets:a,inOverlay:r=!1}){if(Ua(e))return;let s=qa(e),c=r;if(!c&&!ka(e)&&Lr(e,s,a)&&(i.push(e),c=!0),za(e,s)&&!ka(e)&&Hr(e,s,n)){let d=s||e.tagName.toLowerCase(),u=en(e,d);Br(e,u,o)&&t.push({el:e,role:d,name:u,inOverlay:c})}for(let d of Ka(e))Wa(d,{matched:t,filterByText:o,elementTypes:n,overlayRoots:i,expandedTargets:a,inOverlay:c})}function zr(e={}){let{scrollPixels:t=800,maxScrolls:o=20,pauseMs:n=500,selector:i}=e;return new Promise(async a=>{try{let r=i?document.querySelector(i):null,s=()=>{let x=r||document.body,w=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),k="",S;for(;S=w.nextNode();){let D=S.parentElement;if(!D)continue;let R=D.getBoundingClientRect();if(R.bottom>-100&&R.top<window.innerHeight+100){let H=S.textContent.trim();H&&(k+=H+`
78
+ `,document.head.appendChild(x),ya(document.body,new RegExp(c,d),r)}return{success:!0,pattern:c,mode:"regex",total:h.length,matches:h,highlighted:s}}catch(t){return{success:!1,error:t.message}}}G("zh",{pageInteraction:{invalidRefSuggest:"\u65E0\u6548\u6216\u5DF2\u8FC7\u671F\u7684\u5143\u7D20\u5F15\u7528 ref={ref}\u3002",invalidRefSuggestions:"\u6700\u8FD1\u5FEB\u7167\u4E2D\u7684\u6709\u6548\u5F15\u7528\uFF1A{list}\u3002",invalidRefTail:"\u5982\u9875\u9762\u5DF2\u53D8\u5316\uFF0C\u8BF7\u91CD\u65B0\u8C03\u7528 query_elements \u83B7\u53D6\u6700\u65B0\u5FEB\u7167",elementNotVisibleError:"\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09\u5F53\u524D\u4E0D\u53EF\u89C1\uFF0C\u53EF\u80FD\u88AB\u9690\u85CF\u6216\u6298\u53E0",navChangeHint:"\uFF08\u68C0\u6D4B\u5230\u5BFC\u822A\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",domChangeHint:"\uFF08\u68C0\u6D4B\u5230DOM\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",hoveredByRef:"\u5DF2\u60AC\u505C\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09{hint}",clickedByRef:"\u5DF2\u70B9\u51FB\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09{hint}",typedByRef:"\u5DF2\u5411\u5143\u7D20 ref={ref}\uFF08{tag}\uFF09\u8F93\u5165\u6587\u672C{hint}",typeNotSupported:"\u5143\u7D20 {tag} \u4E0D\u652F\u6301\u6587\u672C\u8F93\u5165\uFF08checkbox/radio \u8BF7\u7528 fill_form \u6216 click\uFF09",valueRequired:"action=type \u65F6 value \u4E0D\u80FD\u4E3A\u7A7A",typeFailed:"\u6587\u672C\u8F93\u5165\u5931\u8D25",textRequired:"text \u4E0D\u80FD\u4E3A\u7A7A",scrolledToText:'\u5DF2\u6EDA\u52A8\u5230\u5305\u542B"{text}"\u7684\u5143\u7D20',scrollTextNotFound:'\u6EDA\u52A8 {count} \u6B21\u672A\u627E\u5230\u5305\u542B"{text}"\u7684\u6587\u672C'}}),G("en",{pageInteraction:{invalidRefSuggest:"Invalid or stale element ref={ref}. ",invalidRefSuggestions:"Nearest valid refs from the latest snapshot: {list}. ",invalidRefTail:"If the page has changed, re-run query_elements",elementNotVisibleError:"Element ref={ref} ({tag}) is not visible; it may be hidden or collapsed",navChangeHint:" (navigation change detected, waited {ms}ms)",domChangeHint:" (DOM change detected, waited {ms}ms)",hoveredByRef:"Hovered element ref={ref} ({tag}){hint}",clickedByRef:"Clicked element ref={ref} ({tag}){hint}",typedByRef:"Typed text into element ref={ref} ({tag}){hint}",typeNotSupported:"Element {tag} does not support text input (use fill_form or click for checkbox/radio)",valueRequired:"value is required when action=type",typeFailed:"Text input failed",textRequired:"text cannot be empty",scrolledToText:'Scrolled to element containing "{text}"',scrollTextNotFound:'Scrolled {count} times but did not find text containing "{text}"'}});var wa=0,Zo=new WeakMap,Dt=new Map;function Ba(e,t,o){let n=Zo.get(e);return n??(wa+=1,n=wa,Zo.set(e,n)),Dt.set(n,{element:e,selector:null,tag:e.tagName,role:t,name:o}),n}function va(e){if(e.selector==null)try{e.selector=Pt(e.element)}catch{e.selector=""}return e.selector}function cn(e){let t=parseInt(e,10);if(!t||!Dt.has(t))return{error:xa(t),suggestions:Jo(t)};let o=Dt.get(t);if(o.element&&o.element.isConnected)return va(o),{entry:o,element:o.element};let n=va(o),i=n?te(n):null;return i?(o.element=i,{entry:o,element:i}):{error:xa(t),suggestions:Jo(t)}}function Jo(e){return[...Dt.entries()].sort((t,o)=>Math.abs(t[0]-e)-Math.abs(o[0]-e)).slice(0,3).map(([t,o])=>({ref:t,role:o.role||o.tag&&o.tag.toLowerCase()||"?",name:o.name||""}))}function xa(e){let t=m("pageInteraction.invalidRefSuggest",{ref:e}),o=Jo(e);if(o.length){let n=o.map(i=>`ref ${i.ref} (${i.role}${i.name?` "${i.name}"`:""})`).join(", ");t+=m("pageInteraction.invalidRefSuggestions",{list:n})}return t+=m("pageInteraction.invalidRefTail"),t}function Mr(e){return cn(e).element||null}var Pr=new Set(["button","link","checkbox","radio","switch","tab","menuitem","menuitemcheckbox","menuitemradio","option","combobox","listbox","searchbox","slider","spinbutton","textbox","treeitem"]),Dr=new Set(["dialog","form","navigation","main","banner","contentinfo","table","row","heading"]);function qa(e){let t=e.getAttribute("role"),o=t?t.trim().split(/\s+/)[0]:"";if(o)return o;let n=e.tagName;if(n==="BUTTON")return"button";if(n==="A")return e.hasAttribute("href")?"link":"";if(n==="SELECT")return e.multiple||e.size>1?"listbox":"combobox";if(n==="TEXTAREA")return"textbox";if(n==="SUMMARY")return"button";if(/^H[1-6]$/.test(n))return"heading";if(n==="NAV")return"navigation";if(n==="MAIN")return"main";if(n==="DIALOG")return"dialog";if(n==="FORM")return"form";if(n==="TABLE")return"table";if(n==="TR")return"row";if(n==="INPUT"){let i=(e.type||"text").toLowerCase();return i==="hidden"?"":i==="checkbox"?"checkbox":i==="radio"?"radio":i==="submit"||i==="button"||i==="reset"?"button":i==="search"?"searchbox":i==="range"?"slider":i==="number"?"spinbutton":"textbox"}return""}function Ua(e){if(e.hasAttribute("hidden")||e.hasAttribute("inert")||e.getAttribute("aria-hidden")==="true"||e.style&&e.style.display==="none")return!0;let t=typeof getComputedStyle=="function"?getComputedStyle(e):null;return!!t&&t.display==="none"}function ka(e){if(typeof e.checkVisibility=="function")return!e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});let t=typeof getComputedStyle=="function"?getComputedStyle(e):null;return t?t.display==="none"||t.visibility==="hidden":!1}function Nr(){let e=new Set;try{for(let t of document.querySelectorAll('[aria-expanded="true"][aria-controls]'))e.add(t.getAttribute("aria-controls"))}catch{}return e}function Lr(e,t,o){if(e.tagName==="DIALOG"&&e.hasAttribute("open"))return!0;if(e.hasAttribute("popover"))try{if(e.matches(":popover-open"))return!0}catch{}if(e.tagName==="SELECT"||e.tagName==="INPUT"||e.tagName==="TEXTAREA")return!1;let n=document.activeElement;return!!((t==="dialog"||t==="alertdialog")&&(e.getAttribute("aria-modal")==="true"||n&&e.contains(n))||(t==="menu"||t==="listbox")&&n&&e.contains(n)||e.id&&o.has(e.id))}function za(e,t){if(Pr.has(t)||e.tagName==="A"&&e.hasAttribute("href"))return!0;if(e.hasAttribute("contenteditable")){let n=e.getAttribute("contenteditable");if(n===""||n==="true"||n==="plaintext-only")return!0}let o=e.getAttribute("tabindex");return!!(o!==null&&parseInt(o,10)>=0||e.hasAttribute("onclick"))}function Ka(e){let t=[];return e.shadowRoot&&t.push(...e.shadowRoot.children),t.push(...e.children),t}function en(e,t){let o=(u,p=80)=>{if(!u)return"";let h=String(u).replace(/\s+/g," ").trim();return h.length>p?h.slice(0,p-1)+"\u2026":h},n=u=>o(u?u.textContent:"");if(e.tagName==="SELECT"){let u=e.options&&e.options[e.selectedIndex];if(u&&u.text)return o(u.text)}let i=e.getAttribute("aria-labelledby");if(i){let u=i.split(/\s+/).map(p=>document.getElementById(p)).filter(Boolean).map(p=>n(p)).filter(Boolean).join(" ");if(u)return u}let a=e.getAttribute("aria-label");if(a)return o(a);if(e.id)try{let u=document.querySelector(`label[for="${CSS.escape(e.id)}"]`);if(u){let p=n(u);if(p)return p}}catch{}let r=e.closest&&e.closest("label");if(r){let u=n(r);if(u)return u}if(e.getAttribute("placeholder"))return o(e.getAttribute("placeholder"));if(e.getAttribute("title"))return o(e.getAttribute("title"));if(e.getAttribute("alt"))return o(e.getAttribute("alt"));if(e.tagName==="INPUT"){let u=(e.type||"").toLowerCase();if((u==="submit"||u==="button"||u==="reset")&&e.value)return o(e.value)}let s="";for(let u of e.childNodes)u.nodeType===3&&(s+=u.textContent);s.trim()||(s=e.textContent||"");let c=o(s);if(c)return c;let d=e.previousElementSibling;for(;d&&!(d.textContent||"").trim();)d=d.previousElementSibling;if(d&&!d.querySelector("button, a[href], input, select, textarea")){let u=n(d);if(u)return u}return""}function Fr(e,t){let o=[],n=(a,r)=>a&&a.length>r?a.slice(0,r-1)+"\u2026":a;if(t==="link"&&e.getAttribute("href")&&o.push(`href="${n(e.getAttribute("href"),150)}"`),e.tagName==="INPUT"){let a=(e.type||"text").toLowerCase();a!=="text"&&a!=="checkbox"&&a!=="radio"&&o.push(`type="${a}"`)}let i=e.getAttribute("placeholder");return i&&o.push(`placeholder="${n(i,60)}"`),(e.tagName==="INPUT"||e.tagName==="TEXTAREA")&&e.value&&o.push(`value="${n(e.value,60)}"`),e.tagName==="INPUT"&&(e.type==="checkbox"||e.type==="radio")&&e.checked&&o.push('checked="true"'),e.tagName==="OPTION"&&e.selected&&o.push('selected="true"'),o.join(" ")}var Or=`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`;function Hr(){return window.innerWidth>0&&window.innerHeight>0}function _r(e,t,o){if(!o||!o.length)return!0;let n=e.tagName.toLowerCase(),i=e.tagName==="INPUT"?(e.type||"").toLowerCase():"";return o.some(a=>a===n||a===i||a===t)}function Br(e,t,o){return o?`${t} ${e.textContent||""} ${e.value||""}`.toLowerCase().includes(String(o).toLowerCase()):!0}function qr(e={}){let{filterByText:t="",elementTypes:o=null,page:n=1,maxResults:i=100,maxChars:a=6e3,countOnly:r=!1}=e;try{let s=Ga({filterByText:t,elementTypes:o,frames:"none"});return s.success?Yn({frames:[{frameIndex:0,depth:0,isTop:!0,frameInfo:s.frameInfo,overlayTrees:s.overlayTrees,bodyTree:s.bodyTree}],page:n,maxResults:i,maxChars:a,countOnly:r}):s}catch(s){return console.error("[PageInteraction] queryInteractiveElements failed:",s),{success:!1,error:s.message}}}function Ur(e,t,o){let n=e.getAttribute("title")||"",i="";try{i=e.src||""}catch{}i||=e.getAttribute("src")||"";let a=null;try{let s=e.contentWindow&&e.contentWindow.location.href;typeof s=="string"&&(a=s)}catch{}let r=o.iframeOrder.has(e)?o.iframeOrder.get(e):-1;return{t:"frame",title:n,srcUrl:i,sameOriginHref:a,orderInParent:r,depth:t}}function tn(e,t,o,n){if(Ua(e)||n.skipRoots&&n.skipRoots.has(e))return!1;let i=qa(e),a=za(e,i),r=!a&&Dr.has(i)?i:null,s=t+(a||r?1:0);if(n.frames==="auto"&&e.tagName==="IFRAME")return o.push(Ur(e,t,n)),!0;let c=[],d=!1;for(let u of Ka(e))tn(u,s,c,n)&&(d=!0);if(a&&n.matchedSet.has(e)){let u=i||e.tagName.toLowerCase(),p=en(e,u);return o.push({t:"el",localRef:Zo.get(e)??Ba(e,u,p),role:u,name:p,attrs:Fr(e,u),depth:t,children:c}),!0}if(r&&d){let u=r==="dialog"||r==="heading"?en(e,i):"";return o.push({t:"container",role:r,name:u,depth:t,children:c}),!0}return d?(o.push(...c),!0):!1}function Ga(e={}){let{filterByText:t="",elementTypes:o=null,frames:n="none"}=e;try{Dt.clear();let i=Nr(),a=[],r=[];Wa(document.body,{matched:r,filterByText:t,elementTypes:o,overlayRoots:a,expandedTargets:i});for(let p of r)Ba(p.el,p.role,p.name);let s=new Map;try{document.querySelectorAll("iframe").forEach((p,h)=>s.set(p,h))}catch{}let c={matchedSet:new Set(r.map(p=>p.el)),frames:n,iframeOrder:s,skipRoots:null},d=[];for(let p of a){let h=[];tn(p,0,h,c),d.push(...h)}c.skipRoots=new Set(a);let u=[];return tn(document.body,0,u,c),{success:!0,frameInfo:{url:location.href,title:document.title||"",width:window.innerWidth,height:window.innerHeight,loadId:Or},overlayTrees:d,bodyTree:u}}catch(i){return console.error("[PageInteraction] collectSnapshotOps failed:",i),{success:!1,error:i.message}}}function Wa(e,{matched:t,filterByText:o,elementTypes:n,overlayRoots:i,expandedTargets:a,inOverlay:r=!1}){if(Ua(e))return;let s=qa(e),c=r;if(!c&&!ka(e)&&Lr(e,s,a)&&(i.push(e),c=!0),za(e,s)&&!ka(e)&&_r(e,s,n)){let d=s||e.tagName.toLowerCase(),u=en(e,d);Br(e,u,o)&&t.push({el:e,role:d,name:u,inOverlay:c})}for(let d of Ka(e))Wa(d,{matched:t,filterByText:o,elementTypes:n,overlayRoots:i,expandedTargets:a,inOverlay:c})}function zr(e={}){let{scrollPixels:t=800,maxScrolls:o=20,pauseMs:n=500,selector:i}=e;return new Promise(async a=>{try{let r=i?document.querySelector(i):null,s=()=>{let x=r||document.body,w=document.createTreeWalker(x,NodeFilter.SHOW_TEXT),k="",S;for(;S=w.nextNode();){let D=S.parentElement;if(!D)continue;let R=D.getBoundingClientRect();if(R.bottom>-100&&R.top<window.innerHeight+100){let _=S.textContent.trim();_&&(k+=_+`
79
79
  `)}}return k},c=r||document.scrollingElement||document.documentElement,d="",u=window.scrollY,p=0;for(let x=0;x<o;x++){let w=s();d+=w+`
80
80
  `;let k=window.scrollY;if(c.scrollBy({top:t,behavior:"auto"}),p++,await new Promise(S=>setTimeout(S,n)),Math.abs(window.scrollY-k)<5&&(await new Promise(S=>setTimeout(S,n)),Math.abs(window.scrollY-k)<5))break}r&&c.scrollTo({top:u,behavior:"auto"});let h=d.split(`
81
81
  `),b=[];for(let x of h){let w=x.trim();w&&w!==b[b.length-1]&&b.push(w)}a({success:!0,content:b.join(`
82
82
  `),contentLength:b.join(`
83
- `).length,scrolls:p,startScrollY:u,endScrollY:window.scrollY})}catch(r){a({success:!1,error:r.message})}})}async function Kr(e,t="click",o={}){let{waitTime:n=300,timeout:i=2e3}=o,a=Re(n,Ee.actionMinWait),r=Re(i,Ee.actionWait),s=parseInt(e,10),c=cn(s);if(c.error)return{success:!1,error:c.error,...c.suggestions&&c.suggestions.length?{suggestions:c.suggestions}:{}};let{entry:d,element:u}=c,p=window.getComputedStyle(u);if(p.display==="none"||p.visibility==="hidden")return{success:!1,error:m("pageInteraction.elementNotVisibleError",{ref:e,tag:d.tag})};if(t==="type"){let w=Ue(),k=Gr(u,o.value,o);if(!k.success)return{success:!1,error:k.error};let S=await ze(w,a,r),D=S.changed?m(S.urlChanged?"pageInteraction.navChangeHint":"pageInteraction.domChangeHint",{ms:S.waitedMs}):"";return{success:!0,message:m("pageInteraction.typedByRef",{ref:s,tag:d.tag,hint:D}),...S}}if(t==="hover"){let w=Ue();u.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0,cancelable:!0,view:window})),u.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0,cancelable:!0,view:window}));let k=await ze(w,a,r),S=k.changed?m(k.urlChanged?"pageInteraction.navChangeHint":"pageInteraction.domChangeHint",{ms:k.waitedMs}):"";return{success:!0,message:m("pageInteraction.hoveredByRef",{ref:e,tag:d.tag,hint:S}),...k}}let h=Ue();u.click();let b=await ze(h,a,r),x=b.changed?m(b.urlChanged?"pageInteraction.navChangeHint":"pageInteraction.domChangeHint",{ms:b.waitedMs}):"";return{success:!0,message:m("pageInteraction.clickedByRef",{ref:e,tag:d.tag,hint:x}),...b}}function Gr(e,t,{clear:o=!1,submit:n=!1}={}){if(t==null||t==="")return{success:!1,error:m("pageInteraction.valueRequired")};let i=e.tagName,a=Ha(e);if(i==="INPUT"){let r=(e.type||"text").toLowerCase();if(["checkbox","radio","file","submit","button","reset","image"].includes(r))return{success:!1,error:m("pageInteraction.typeNotSupported",{tag:`<input type="${r}">`})}}else if(i!=="TEXTAREA"&&!a)return{success:!1,error:m("pageInteraction.typeNotSupported",{tag:`<${i.toLowerCase()}>`})};try{e.focus()}catch{}if(a&&i!=="INPUT"&&i!=="TEXTAREA"){if(o&&oo(e,""),!oo(e,t))return{success:!1,error:m("pageInteraction.typeFailed")}}else o&&(to(e,""),e.dispatchEvent(new Event("input",{bubbles:!0}))),to(e,t),e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}));if(n){let r={key:"Enter",code:"Enter",keyCode:13,which:13,bubbles:!0,cancelable:!0};e.dispatchEvent(new KeyboardEvent("keydown",r)),e.dispatchEvent(new KeyboardEvent("keypress",r)),e.dispatchEvent(new KeyboardEvent("keyup",r))}return{success:!0}}async function Wr(e,t={}){let{maxScrolls:o=20,pauseMs:n=500}=t;if(!e)return{success:!1,error:m("pageInteraction.textRequired")};let i=e.toLowerCase(),a=()=>{let s=Xe("h1, h2, h3, h4, h5, h6, p, span, a, button, li, td, th, label, div");for(let c of s){let d=Array.from(c.childNodes).filter(u=>u.nodeType===Node.TEXT_NODE).map(u=>u.textContent).join("").trim();if(d&&d.toLowerCase().includes(i))return c}return null},r=a();if(r)return r.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(s=>setTimeout(s,300)),{success:!0,message:m("pageInteraction.scrolledToText",{text:e}),selector:Pt(r),scrolls:0};for(let s=0;s<o;s++){let c=window.scrollY;if(window.scrollBy({top:Math.floor(window.innerHeight*.8),behavior:"auto"}),await new Promise(d=>setTimeout(d,n)),r=a(),r)return r.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(d=>setTimeout(d,300)),{success:!0,message:m("pageInteraction.scrolledToText",{text:e}),selector:Pt(r),scrolls:s+1};if(Math.abs(window.scrollY-c)<5&&(await new Promise(d=>setTimeout(d,n)),Math.abs(window.scrollY-c)<5))break}return{success:!1,error:m("pageInteraction.scrollTextNotFound",{count:o,text:e}),scrolls:o}}G("zh",{pageTools:{noSelection:"\u5F53\u524D\u6CA1\u6709\u9009\u4E2D\u7684\u5185\u5BB9",tableNotFound:"\u672A\u627E\u5230\u5339\u914D\u9009\u62E9\u5668\u7684\u8868\u683C: {selector}",emptyTable:"\u8868\u683C\u4E3A\u7A7A",copiedToClipboard:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copiedToClipboardFallback:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F\uFF08\u964D\u7EA7\u65B9\u6848\uFF09",elementNotFound:"\u672A\u627E\u5230\u5143\u7D20: {selector}",navChangeHint:"\uFF08\u68C0\u6D4B\u5230\u5BFC\u822A\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",domChangeHint:"\uFF08\u68C0\u6D4B\u5230DOM\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",hoverTriggered:"\u5DF2\u5728\u5143\u7D20\u4E0A\u89E6\u53D1\u60AC\u505C\u6548\u679C: {selector}{hint}",noHighlightText:"\u672A\u63D0\u4F9B\u8981\u9AD8\u4EAE\u7684\u6587\u672C",highlightedCount:"\u5DF2\u9AD8\u4EAE {count} \u5904\u6587\u672C"}}),G("en",{pageTools:{noSelection:"No content selected",tableNotFound:"No table found matching selector: {selector}",emptyTable:"Table is empty",copiedToClipboard:"Copied to clipboard",copiedToClipboardFallback:"Copied to clipboard (fallback method)",elementNotFound:"Element not found: {selector}",navChangeHint:" (navigation change detected, waited {ms}ms)",domChangeHint:" (DOM change detected, waited {ms}ms)",hoverTriggered:"Hover triggered on element: {selector}{hint}",noHighlightText:"No text provided to highlight",highlightedCount:"Highlighted {count} occurrences"}});function jr(e={}){let{maxLength:t=5e4,includeHeadings:o=!0,includeLinks:n=!0}=e,i=ct(),a={title:document.title||"",url:window.location.href,content:i.substring(0,t),wordCount:i.split(/\s+/).length};return o&&(a.headings=Array.from(Xe("h1, h2, h3, h4, h5, h6")).map(r=>({level:r.tagName,text:r.textContent.trim()})).filter(r=>r.text.length>0).slice(0,30)),n&&(a.links=Array.from(Xe("a")).map(r=>({text:r.textContent.trim(),href:r.href})).filter(r=>r.text.length>0).slice(0,50)),{success:!0,data:a}}function $r(e={}){let{includeStyles:t=!1,maxLength:o=5e4}=e,n=eo();return t||(n=n.replace(/\s*style="[^"]*"/gi,"")),{success:!0,content:JSON.stringify({title:document.title,url:window.location.href,html:n.substring(0,o),fullLength:n.length})}}function Vr(e="text"){try{let t=window.getSelection();if(!t||t.isCollapsed||t.rangeCount===0)return{success:!1,error:m("pageTools.noSelection")};let o={success:!0,data:{selectedCount:t.rangeCount,text:""}};if(e==="html"){let n=[];for(let i=0;i<t.rangeCount;i++){let a=t.getRangeAt(i).cloneContents(),r=document.createElement("div");r.appendChild(a),n.push(r.innerHTML)}o.data.html=n.join(`
83
+ `).length,scrolls:p,startScrollY:u,endScrollY:window.scrollY})}catch(r){a({success:!1,error:r.message})}})}async function Kr(e,t="click",o={}){let{waitTime:n=300,timeout:i=2e3}=o,a=Re(n,Ee.actionMinWait),r=Re(i,Ee.actionWait),s=parseInt(e,10),c=cn(s);if(c.error)return{success:!1,error:c.error,...c.suggestions&&c.suggestions.length?{suggestions:c.suggestions}:{}};let{entry:d,element:u}=c,p=window.getComputedStyle(u);if(p.display==="none"||p.visibility==="hidden")return{success:!1,error:m("pageInteraction.elementNotVisibleError",{ref:e,tag:d.tag})};if(t==="type"){let w=Ue(),k=Gr(u,o.value,o);if(!k.success)return{success:!1,error:k.error};let S=await ze(w,a,r),D=S.changed?m(S.urlChanged?"pageInteraction.navChangeHint":"pageInteraction.domChangeHint",{ms:S.waitedMs}):"";return{success:!0,message:m("pageInteraction.typedByRef",{ref:s,tag:d.tag,hint:D}),...S}}if(t==="hover"){let w=Ue();u.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0,cancelable:!0,view:window})),u.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0,cancelable:!0,view:window}));let k=await ze(w,a,r),S=k.changed?m(k.urlChanged?"pageInteraction.navChangeHint":"pageInteraction.domChangeHint",{ms:k.waitedMs}):"";return{success:!0,message:m("pageInteraction.hoveredByRef",{ref:e,tag:d.tag,hint:S}),...k}}let h=Ue();u.click();let b=await ze(h,a,r),x=b.changed?m(b.urlChanged?"pageInteraction.navChangeHint":"pageInteraction.domChangeHint",{ms:b.waitedMs}):"";return{success:!0,message:m("pageInteraction.clickedByRef",{ref:e,tag:d.tag,hint:x}),...b}}function Gr(e,t,{clear:o=!1,submit:n=!1}={}){if(t==null||t==="")return{success:!1,error:m("pageInteraction.valueRequired")};let i=e.tagName,a=_a(e);if(i==="INPUT"){let r=(e.type||"text").toLowerCase();if(["checkbox","radio","file","submit","button","reset","image"].includes(r))return{success:!1,error:m("pageInteraction.typeNotSupported",{tag:`<input type="${r}">`})}}else if(i!=="TEXTAREA"&&!a)return{success:!1,error:m("pageInteraction.typeNotSupported",{tag:`<${i.toLowerCase()}>`})};try{e.focus()}catch{}if(a&&i!=="INPUT"&&i!=="TEXTAREA"){if(o&&oo(e,""),!oo(e,t))return{success:!1,error:m("pageInteraction.typeFailed")}}else o&&(to(e,""),e.dispatchEvent(new Event("input",{bubbles:!0}))),to(e,t),e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}));if(n){let r={key:"Enter",code:"Enter",keyCode:13,which:13,bubbles:!0,cancelable:!0};e.dispatchEvent(new KeyboardEvent("keydown",r)),e.dispatchEvent(new KeyboardEvent("keypress",r)),e.dispatchEvent(new KeyboardEvent("keyup",r))}return{success:!0}}async function Wr(e,t={}){let{maxScrolls:o=20,pauseMs:n=500}=t;if(!e)return{success:!1,error:m("pageInteraction.textRequired")};let i=e.toLowerCase(),a=()=>{let s=Xe("h1, h2, h3, h4, h5, h6, p, span, a, button, li, td, th, label, div");for(let c of s){let d=Array.from(c.childNodes).filter(u=>u.nodeType===Node.TEXT_NODE).map(u=>u.textContent).join("").trim();if(d&&d.toLowerCase().includes(i))return c}return null},r=a();if(r)return r.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(s=>setTimeout(s,300)),{success:!0,message:m("pageInteraction.scrolledToText",{text:e}),selector:Pt(r),scrolls:0};for(let s=0;s<o;s++){let c=window.scrollY;if(window.scrollBy({top:Math.floor(window.innerHeight*.8),behavior:"auto"}),await new Promise(d=>setTimeout(d,n)),r=a(),r)return r.scrollIntoView({behavior:"smooth",block:"center"}),await new Promise(d=>setTimeout(d,300)),{success:!0,message:m("pageInteraction.scrolledToText",{text:e}),selector:Pt(r),scrolls:s+1};if(Math.abs(window.scrollY-c)<5&&(await new Promise(d=>setTimeout(d,n)),Math.abs(window.scrollY-c)<5))break}return{success:!1,error:m("pageInteraction.scrollTextNotFound",{count:o,text:e}),scrolls:o}}G("zh",{pageTools:{noSelection:"\u5F53\u524D\u6CA1\u6709\u9009\u4E2D\u7684\u5185\u5BB9",tableNotFound:"\u672A\u627E\u5230\u5339\u914D\u9009\u62E9\u5668\u7684\u8868\u683C: {selector}",emptyTable:"\u8868\u683C\u4E3A\u7A7A",copiedToClipboard:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copiedToClipboardFallback:"\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F\uFF08\u964D\u7EA7\u65B9\u6848\uFF09",elementNotFound:"\u672A\u627E\u5230\u5143\u7D20: {selector}",navChangeHint:"\uFF08\u68C0\u6D4B\u5230\u5BFC\u822A\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",domChangeHint:"\uFF08\u68C0\u6D4B\u5230DOM\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",hoverTriggered:"\u5DF2\u5728\u5143\u7D20\u4E0A\u89E6\u53D1\u60AC\u505C\u6548\u679C: {selector}{hint}",noHighlightText:"\u672A\u63D0\u4F9B\u8981\u9AD8\u4EAE\u7684\u6587\u672C",highlightedCount:"\u5DF2\u9AD8\u4EAE {count} \u5904\u6587\u672C"}}),G("en",{pageTools:{noSelection:"No content selected",tableNotFound:"No table found matching selector: {selector}",emptyTable:"Table is empty",copiedToClipboard:"Copied to clipboard",copiedToClipboardFallback:"Copied to clipboard (fallback method)",elementNotFound:"Element not found: {selector}",navChangeHint:" (navigation change detected, waited {ms}ms)",domChangeHint:" (DOM change detected, waited {ms}ms)",hoverTriggered:"Hover triggered on element: {selector}{hint}",noHighlightText:"No text provided to highlight",highlightedCount:"Highlighted {count} occurrences"}});function jr(e={}){let{maxLength:t=5e4,includeHeadings:o=!0,includeLinks:n=!0}=e,i=ct(),a={title:document.title||"",url:window.location.href,content:i.substring(0,t),wordCount:i.split(/\s+/).length};return o&&(a.headings=Array.from(Xe("h1, h2, h3, h4, h5, h6")).map(r=>({level:r.tagName,text:r.textContent.trim()})).filter(r=>r.text.length>0).slice(0,30)),n&&(a.links=Array.from(Xe("a")).map(r=>({text:r.textContent.trim(),href:r.href})).filter(r=>r.text.length>0).slice(0,50)),{success:!0,data:a}}function $r(e={}){let{includeStyles:t=!1,maxLength:o=5e4}=e,n=eo();return t||(n=n.replace(/\s*style="[^"]*"/gi,"")),{success:!0,content:JSON.stringify({title:document.title,url:window.location.href,html:n.substring(0,o),fullLength:n.length})}}function Vr(e="text"){try{let t=window.getSelection();if(!t||t.isCollapsed||t.rangeCount===0)return{success:!1,error:m("pageTools.noSelection")};let o={success:!0,data:{selectedCount:t.rangeCount,text:""}};if(e==="html"){let n=[];for(let i=0;i<t.rangeCount;i++){let a=t.getRangeAt(i).cloneContents(),r=document.createElement("div");r.appendChild(a),n.push(r.innerHTML)}o.data.html=n.join(`
84
84
  `),o.data.text=t.toString()}else o.data.text=t.toString();return o}catch(t){return{success:!1,error:t.message}}}function Yr(e="table",t=!0,o="json"){try{let n=te(e);if(!n)return{success:!1,error:m("pageTools.tableNotFound",{selector:e})};let i=Array.from(n.querySelectorAll("tr")),a=[];return i.forEach((r,s)=>{let c=Array.from(r.querySelectorAll("td, th")).map(d=>d.textContent.trim());(t||s>0)&&a.push(c)}),o==="markdown"?a.length===0?{success:!0,content:m("pageTools.emptyTable")}:{success:!0,content:`${`| ${a[0].join(" | ")} |`}
85
85
  ${`| ${a[0].map(()=>"---").join(" | ")} |`}
86
86
  ${a.slice(1).map(r=>`| ${r.join(" | ")} |`).join(`
@@ -89,7 +89,7 @@ ${a.slice(1).map(r=>`| ${r.join(" | ")} |`).join(`
89
89
  background-color: ${t} !important;
90
90
  padding: 2px 0;
91
91
  }
92
- `,document.head.appendChild(o);let n=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null,!1),i=[],a;for(;a=n.nextNode();)a.nodeValue.toLowerCase().includes(e.toLowerCase())&&i.push(a);let r=[];return i.forEach(s=>{let c=s.parentNode;if(!c||!c.replaceChild||!c.insertBefore)return;let d=s.nodeValue,u=d.toLowerCase(),p=d.toLowerCase(),h=u.indexOf(p);if(h!==-1){let b=document.createElement("span");b.className="ai-helper-highlight",b.textContent=d.substring(h,h+d.length);let x=document.createTextNode(d.substring(0,h)),w=document.createTextNode(d.substring(h+d.length));c.replaceChild(w,s),c.insertBefore(b,w),c.insertBefore(x,b),r.push(b)}}),r.length>0&&r[0].scrollIntoView({behavior:"smooth",block:"center"}),{success:!0,message:m("pageTools.highlightedCount",{count:r.length}),count:r.length}}catch(o){return{success:!1,error:o.message}}}G("zh",{interactionTools:{selectorRequired:"\u9009\u62E9\u5668\u4E0D\u80FD\u4E3A\u7A7A",elementNotFoundBySelector:"\u672A\u627E\u5230\u5339\u914D\u9009\u62E9\u5668\u7684\u5143\u7D20: {selector}",navChangeHint:"\uFF08\u68C0\u6D4B\u5230\u5BFC\u822A\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",domChangeHint:"\uFF08\u68C0\u6D4B\u5230DOM\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",clickedElement:"\u5DF2\u70B9\u51FB\u5143\u7D20: {selector}{hint}",elementNotFound:"\u672A\u627E\u5230\u5143\u7D20",optionNotFound:"\u672A\u627E\u5230\u5339\u914D\u7684\u9009\u9879",radioButtonNotFound:"\u672A\u627E\u5230\u5339\u914D\u7684\u5355\u9009\u6309\u94AE",formFillComplete:"\u8868\u5355\u586B\u5145\u5B8C\u6210\uFF0C\u6210\u529F {success}/{total} \u4E2A\u5B57\u6BB5",elementNotFoundShort:"\u672A\u627E\u5230\u5143\u7D20: {selector}",invalidScrollTarget:"\u65E0\u6548\u7684\u6EDA\u52A8\u76EE\u6807\u6216\u7F3A\u5C11\u9009\u62E9\u5668",scrollComplete:"\u6EDA\u52A8\u5B8C\u6210",elementAppeared:"\u5143\u7D20 {selector} \u5DF2\u51FA\u73B0",elementDisappeared:"\u5143\u7D20 {selector} \u5DF2\u6D88\u5931",elementVisible:"\u5143\u7D20 {selector} \u5DF2\u53EF\u89C1",elementHidden:"\u5143\u7D20 {selector} \u5DF2\u9690\u85CF",waitTimeout:"\u7B49\u5F85\u8D85\u65F6\uFF08{timeout}ms\uFF09\uFF0C\u5143\u7D20 {selector} \u672A\u8FBE\u5230 {state} \u72B6\u6001",noFocusedElement:"\u6CA1\u6709\u805A\u7126\u7684\u5143\u7D20",keyboardInputSuccess:"\u952E\u76D8\u8F93\u5165\u6210\u529F{hint}",fileUploadNotFound:"\u672A\u627E\u5230\u6587\u4EF6\u4E0A\u4F20\u63A7\u4EF6: {selector}",notFileUploadControl:"\u9009\u62E9\u7684\u5143\u7D20\u4E0D\u662F\u6587\u4EF6\u4E0A\u4F20\u63A7\u4EF6",fileUploaded:"\u5DF2\u4E0A\u4F20\u6587\u4EF6: {fileName}",textRequired:"text \u4E0D\u80FD\u4E3A\u7A7A",hoveredByText:'\u5DF2\u60AC\u505C\u6587\u672C"{text}"\u5BF9\u5E94\u7684{tag}\u5143\u7D20{hint}',clickedByText:'\u5DF2\u70B9\u51FB\u6587\u672C"{text}"\u5BF9\u5E94\u7684{tag}\u5143\u7D20{hint}',textNotFound:'\u9875\u9762\u4E2D\u4E0D\u5B58\u5728\u6587\u672C"{text}"\uFF0C\u53EF\u80FD\u9700\u8981\u5148\u64CD\u4F5C\uFF08\u5982\u6253\u5F00\u4E0B\u62C9\u9762\u677F\uFF09\u6216\u6587\u672C\u6709\u8BEF',textFoundButHidden:'\u627E\u5230\u6587\u672C"{text}"\u4F46\u5143\u7D20\u4E0D\u53EF\u89C1\uFF0C\u53EF\u80FD\u9700\u8981\u5148\u6253\u5F00\u4E0B\u62C9\u9762\u677F/\u6EDA\u52A8\u5230\u53EF\u89C1\u533A\u57DF',textNotClickable:'\u627E\u5230\u6587\u672C"{text}"\u4F46\u4E0D\u5728\u53EF\u70B9\u51FB\u5143\u7D20\u4E2D\uFF0C\u8BF7\u7528 query_elements \u67E5\u770B\u5B9E\u9645\u7ED3\u6784\u6216\u7528 selector \u5B9A\u4F4D',textFoundButNotMatched:'\u627E\u5230\u6587\u672C"{text}"\u5728\u53EF\u70B9\u51FB\u5143\u7D20\u4E2D\u4F46\u672A\u5339\u914D\uFF0C\u53EF\u80FD\u6587\u672C\u88AB\u5206\u5272\u6216\u5927\u5C0F\u5199\u4E0D\u4E00\u81F4',tagConstraint:"\uFF08\u9650\u5B9A\u6807\u7B7E: {tag}\uFF09",triggerNotFound:"\u672A\u627E\u5230\u89E6\u53D1\u5668: {selector}",selectedOption:"\u5DF2\u9009\u62E9: {label}",selectOptionNotFound:'\u5728 <select> \u4E2D\u672A\u627E\u5230\u5339\u914D\u7684\u9009\u9879: "{option}"',optionContainerNotFound:"\u672A\u627E\u5230\u9009\u9879\u5BB9\u5668: {selector}",optionMatchTimeout:'\u5728 {timeout}ms \u5185\u672A\u627E\u5230\u5339\u914D\u9009\u9879: "{option}"',setRequiresKeyValue:"set\u64CD\u4F5C\u9700\u8981\u63D0\u4F9Bkey\u548Cvalue",keySet:"\u5DF2\u8BBE\u7F6E {key}",removeRequiresKey:"remove\u64CD\u4F5C\u9700\u8981\u63D0\u4F9Bkey",keyRemoved:"\u5DF2\u5220\u9664 {key}",storageCleared:"\u5DF2\u6E05\u7A7A\u5B58\u50A8",unknownAction:"\u672A\u77E5\u64CD\u4F5C: {action}"}}),G("en",{interactionTools:{selectorRequired:"Selector cannot be empty",elementNotFoundBySelector:"No element found matching selector: {selector}",navChangeHint:" (navigation change detected, waited {ms}ms)",domChangeHint:" (DOM change detected, waited {ms}ms)",clickedElement:"Clicked element: {selector}{hint}",elementNotFound:"Element not found",optionNotFound:"No matching option found",radioButtonNotFound:"No matching radio button found",formFillComplete:"Form fill complete: {success}/{total} fields succeeded",elementNotFoundShort:"Element not found: {selector}",invalidScrollTarget:"Invalid scroll target or missing selector",scrollComplete:"Scroll complete",elementAppeared:"Element {selector} appeared",elementDisappeared:"Element {selector} disappeared",elementVisible:"Element {selector} is visible",elementHidden:"Element {selector} is hidden",waitTimeout:"Timed out ({timeout}ms); element {selector} did not reach {state} state",noFocusedElement:"No focused element",keyboardInputSuccess:"Keyboard input successful{hint}",fileUploadNotFound:"File upload control not found: {selector}",notFileUploadControl:"The selected element is not a file upload control",fileUploaded:"File uploaded: {fileName}",textRequired:"text cannot be empty",hoveredByText:'Hovered over the {tag} element matching "{text}"{hint}',clickedByText:'Clicked the {tag} element matching "{text}"{hint}',textNotFound:'Text "{text}" does not exist on the page; you may need to perform an action first (e.g. open a dropdown) or the text may be incorrect',textFoundButHidden:'Found text "{text}" but the element is not visible; you may need to open a dropdown panel or scroll to make it visible',textNotClickable:'Found text "{text}" but it is not in a clickable element; use query_elements to inspect the structure or use a selector to locate it',textFoundButNotMatched:'Found text "{text}" in a clickable element but it did not match; the text may be split or have different casing',tagConstraint:" (tag constraint: {tag})",triggerNotFound:"Trigger not found: {selector}",selectedOption:"Selected: {label}",selectOptionNotFound:'No matching option found in <select>: "{option}"',optionContainerNotFound:"Option container not found: {selector}",optionMatchTimeout:'No matching option found within {timeout}ms: "{option}"',setRequiresKeyValue:"Set operation requires both key and value",keySet:"Set {key}",removeRequiresKey:"Remove operation requires a key",keyRemoved:"Removed {key}",storageCleared:"Storage cleared",unknownAction:"Unknown action: {action}"}});async function el(e,t=300,o=2e3){let n=Re(t,Ee.actionMinWait),i=Re(o,Ee.actionWait);try{if(!e)return{success:!1,error:m("interactionTools.selectorRequired")};let a=e.trim();for(let[d,u]of[[/^"([\s\S]*)"$/,"$1"],[/^'([\s\S]*)'$/,"$1"],[/^`([\s\S]*)`$/,"$1"],[/^"([\s\S]*)"$/,"$1"],[/^'([\s\S]*)'$/,"$1"],[/^「([\s\S]*)」$/,"$1"]])a=a.replace(d,u);let r=te(a);if(!r)return{success:!1,error:m("interactionTools.elementNotFoundBySelector",{selector:e})};let s=Ue();r.click();let c=await ze(s,n,i);return{success:!0,message:m("interactionTools.clickedElement",{selector:e,hint:c.changed?m(c.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:c.waitedMs}):""}),...c}}catch(a){return{success:!1,error:a.message}}}function tl(e,t=500){try{let o=[];e.forEach(i=>{let{selector:a,ref:r,value:s,fieldType:c="text"}=i,d=a||`ref=${r}`,u=null;if(r==null?a&&(u=te(a)):u=Mr(r),!u){o.push({selector:d,success:!1,error:m("interactionTools.elementNotFound")});return}try{if(c==="text"){if(Ha(u)){let p=oo(u,s);o.push({selector:d,success:p,value:s});return}to(u,s),u.dispatchEvent(new Event("input",{bubbles:!0})),u.dispatchEvent(new Event("change",{bubbles:!0}))}else if(c==="contenteditable"){let p=oo(u,s);o.push({selector:d,success:p,value:s});return}else if(c==="select"){let p=u.querySelector(`option[value="${s}"]`)||Array.from(u.options).find(h=>h.textContent===s);if(p)u.value=p.value,u.dispatchEvent(new Event("change",{bubbles:!0}));else{o.push({selector:d,success:!1,error:m("interactionTools.optionNotFound")});return}}else if(c==="checkbox")u.checked=s==="true"||s===!0,u.dispatchEvent(new Event("change",{bubbles:!0}));else if(c==="radio"){let p=a?te(`${a}[value="${s}"]`):null;if(!p&&!a&&u.tagName==="INPUT"&&u.type==="radio")if(u.value===String(s))p=u;else{let h=u.getAttribute("name");if(h){let b=u.getRootNode();p=Array.from(b.querySelectorAll('input[type="radio"]')).find(x=>x.name===h&&x.value===String(s))||null}}if(p)p.checked=!0,p.dispatchEvent(new Event("change",{bubbles:!0}));else{o.push({selector:d,success:!1,error:m("interactionTools.radioButtonNotFound")});return}}o.push({selector:d,success:!0,value:s})}catch(p){o.push({selector:d,success:!1,error:p.message})}});let n=o.filter(i=>i.success).length;return{success:!0,message:m("interactionTools.formFillComplete",{success:n,total:e.length}),details:o}}catch(o){return{success:!1,error:o.message}}}function ol(e){try{let{target:t="selector",selector:o,x:n=0,y:i=0,behavior:a="smooth",align:r="center"}=e,s=!1;if(t==="top")s=(window.scrollY||0)<=0&&(document.documentElement.scrollTop||0)<=0,window.scrollTo({top:0,left:0,behavior:a});else if(t==="bottom"){let d=document.scrollingElement||document.documentElement;s=(window.scrollY||0)+(window.innerHeight||0)>=d.scrollHeight-1,window.scrollTo({top:document.body.scrollHeight,left:0,behavior:a})}else if(t==="coordinates")s=Math.abs((window.scrollY||0)-i)<1&&Math.abs((window.scrollX||0)-n)<1,window.scrollTo({top:i,left:n,behavior:a});else if(t==="selector"&&o){let d=te(o);if(!d)return{success:!1,error:m("interactionTools.elementNotFoundShort",{selector:o})};d.scrollIntoView({behavior:a,block:r})}else return{success:!1,error:m("interactionTools.invalidScrollTarget")};let c={success:!0,message:m("interactionTools.scrollComplete")};return s&&(c.moved=!1),c}catch(t){return{success:!1,error:t.message}}}function Ta(e){if(!e)return!1;if(e.offsetParent===null&&e.tagName!=="BODY"){let a=window.getComputedStyle(e);if(a.display==="none"||a.visibility==="hidden"||a.position!=="fixed")return!1}let t=window.getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||parseFloat(t.opacity)<=0)return!1;let o=e.getBoundingClientRect();if(o.width<=0||o.height<=0)return!1;let n=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return o.top<n&&o.bottom>0&&o.left<i&&o.right>0}function nl(e,t="appeared",o=1e4){let n=Re(o,Ee.waitElement);return new Promise((i,a)=>{let r=Date.now(),s=()=>{let c=te(e);if(t==="appeared"&&c){i({success:!0,message:m("interactionTools.elementAppeared",{selector:e}),element:e});return}if(t==="disappeared"&&!c){i({success:!0,message:m("interactionTools.elementDisappeared",{selector:e})});return}if(t==="visible"&&c&&Ta(c)){i({success:!0,message:m("interactionTools.elementVisible",{selector:e}),element:e});return}if(t==="hidden"&&(!c||!Ta(c))){i({success:!0,message:m("interactionTools.elementHidden",{selector:e})});return}if(Date.now()-r>n){i({success:!1,error:m("interactionTools.waitTimeout",{timeout:n,selector:e,state:t})});return}setTimeout(s,100)};s()})}var Sa={enter:{code:"Enter",keyCode:13},escape:{code:"Escape",keyCode:27},esc:{code:"Escape",keyCode:27},tab:{code:"Tab",keyCode:9},backspace:{code:"Backspace",keyCode:8},delete:{code:"Delete",keyCode:46},arrowup:{code:"ArrowUp",keyCode:38},arrowdown:{code:"ArrowDown",keyCode:40},arrowleft:{code:"ArrowLeft",keyCode:37},arrowright:{code:"ArrowRight",keyCode:39},home:{code:"Home",keyCode:36},end:{code:"End",keyCode:35},pageup:{code:"PageUp",keyCode:33},pagedown:{code:"PageDown",keyCode:34},space:{code:"Space",keyCode:32}};function al(e){let t=e.toLowerCase();if(Sa[t])return Sa[t];if(e.length===1&&/[a-zA-Z]/.test(e))return{code:`Key${e.toUpperCase()}`,keyCode:e.toUpperCase().charCodeAt(0)};if(e.length===1&&/[0-9]/.test(e))return{code:`Digit${e}`,keyCode:e.charCodeAt(0)};let o=e.match(/^F([1-9]|1[0-2])$/i);if(o){let n=parseInt(o[1],10);return{code:`F${n}`,keyCode:111+n}}return{code:e,keyCode:e.toUpperCase().charCodeAt(0)}}async function il({key:e,text:t,ctrlKey:o=!1,shiftKey:n=!1,altKey:i=!1}){try{let a=document.activeElement;if(!a)return{success:!1,error:m("interactionTools.noFocusedElement")};let r=Ue();if(t){let c=a.tagName==="INPUT"||a.tagName==="TEXTAREA",d=a.isContentEditable;if(c||d){if(a.focus(),d)try{document.execCommand("selectAll",!1,null),document.execCommand("insertText",!1,t)}catch{a.textContent+=t}else to(a,a.value+t);try{a.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0,inputType:"insertText",data:t}))}catch{a.dispatchEvent(new Event("input",{bubbles:!0}))}a.dispatchEvent(new Event("change",{bubbles:!0}))}}if(e){let c=al(e),d={key:e,code:c.code,keyCode:c.keyCode,which:c.keyCode,bubbles:!0,cancelable:!0,ctrlKey:o,shiftKey:n,altKey:i};document.activeElement.dispatchEvent(new KeyboardEvent("keydown",d)),document.activeElement.dispatchEvent(new KeyboardEvent("keypress",d)),document.activeElement.dispatchEvent(new KeyboardEvent("keyup",d))}let s=await ze(r,300,2e3);return{success:!0,message:m("interactionTools.keyboardInputSuccess",{hint:s.changed?m(s.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:s.waitedMs}):""}),...s}}catch(a){return{success:!1,error:a.message}}}function rl(e,t,o,n="application/octet-stream"){try{let i=te(e);if(!i)return{success:!1,error:m("interactionTools.fileUploadNotFound",{selector:e})};if(i.type!=="file")return{success:!1,error:m("interactionTools.notFileUploadControl")};let a;try{let c=atob(o),d=new Uint8Array(c.length);for(let u=0;u<c.length;u++)d[u]=c.charCodeAt(u);a=new Blob([d],{type:n})}catch{a=new Blob([o],{type:n})}let r=new File([a],t,{type:n}),s=new DataTransfer;return s.items.add(r),i.files=s.files,i.dispatchEvent(new Event("change",{bubbles:!0})),{success:!0,message:m("interactionTools.fileUploaded",{fileName:t})}}catch(i){return{success:!1,error:i.message}}}async function ll(e,t={}){let{tag:o,action:n="click",waitTime:i=300,timeout:a=2e3}=t,r=Re(i,Ee.actionMinWait),s=Re(a,Ee.actionWait);if(!e)return{success:!1,error:m("interactionTools.textRequired")};let c=o?[o]:["button",'[role="button"]','input[type="submit"]','input[type="button"]',"a[href]",'[role="menuitem"]','[role="menuitemradio"]','[role="menuitemcheckbox"]','[role="option"]','[role="tab"]',"[onclick]","summary","li"],d=e.toLowerCase();for(let x of c){let w=[];try{w=Xe(x)}catch{continue}for(let k of w){let S=(k.textContent||k.value||"").trim();if(!S)continue;let D=S.toLowerCase();if(S===e||D===d||D.includes(d)){let R=window.getComputedStyle(k);if(R.display==="none"||R.visibility==="hidden"||parseFloat(R.opacity)<=0)continue;let H=Pt(k),B=Ue();if(n==="hover"){k.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0,cancelable:!0,view:window})),k.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0,cancelable:!0,view:window}));let oe=await ze(B,r,s),ue=oe.changed?m(oe.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:oe.waitedMs}):"";return{success:!0,message:m("interactionTools.hoveredByText",{text:e,tag:k.tagName.toLowerCase(),hint:ue}),selector:H,matchedText:S.substring(0,100),...oe}}k.click();let Q=await ze(B,r,s),L=Q.changed?m(Q.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:Q.waitedMs}):"";return{success:!0,message:m("interactionTools.clickedByText",{text:e,tag:k.tagName.toLowerCase(),hint:L}),selector:H,matchedText:S.substring(0,100),...Q}}}}let u=!1,p=!1,h=!1;try{let x=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null);for(;x.nextNode();)if((x.currentNode.textContent||"").toLowerCase().includes(d)){u=!0;let w=x.currentNode.parentElement;if(w){let k=window.getComputedStyle(w);(k.display==="none"||k.visibility==="hidden"||parseFloat(k.opacity)<=0)&&(p=!0),w.closest('button, [role="button"], [role="option"], [role="tab"], li, a[href], [onclick], summary, [tabindex]')||(h=!0)}break}}catch{}let b;return b=m(u?p?"interactionTools.textFoundButHidden":h?"interactionTools.textNotClickable":"interactionTools.textFoundButNotMatched":"interactionTools.textNotFound",{text:e}),{success:!1,error:b+(o?m("interactionTools.tagConstraint",{tag:o}):"")}}function sl(e,t,o=null,n=5e3){let i=Re(n,Ee.selectOption);return new Promise(async a=>{try{let r=te(e);if(!r){a({success:!1,error:m("interactionTools.triggerNotFound",{selector:e})});return}if(r.tagName==="SELECT"){let u=r.options;for(let p=0;p<u.length;p++){let h=u[p],b=(h.textContent||h.label||"").trim();if(b===t||b.includes(t)){r.value=h.value,r.dispatchEvent(new Event("change",{bubbles:!0})),r.dispatchEvent(new Event("input",{bubbles:!0})),a({success:!0,message:m("interactionTools.selectedOption",{label:b}),triggerTag:"SELECT"});return}}a({success:!1,error:m("interactionTools.selectOptionNotFound",{option:t}),availableOptions:Array.from(u).map(p=>p.textContent?.trim()).filter(Boolean)});return}r.click(),await new Promise(u=>setTimeout(u,300));let s=Date.now(),c=o?te(o):document;if(!c){a({success:!1,error:m("interactionTools.optionContainerNotFound",{selector:o})});return}let d=null;for(;Date.now()-s<i;){let u=Xe('li, [role="option"], [role="menuitem"], .option, .dropdown-item, .select-item, [data-value], div',c);for(let p of u){let h=(p.textContent||"").trim();if(!(h.length<2)&&(h===t||h.includes(t)||h.replace(/\s+/g,"")===t.replace(/\s+/g,""))){d=p;break}}if(d)break;await new Promise(p=>setTimeout(p,100))}if(!d){a({success:!1,error:m("interactionTools.optionMatchTimeout",{timeout:i,option:t})});return}d.click(),a({success:!0,message:m("interactionTools.selectedOption",{label:d.textContent?.trim()}),triggerTag:r.tagName})}catch(r){a({success:!1,error:r.message})}})}function cl({action:e,storage:t,key:o,value:n}){try{let i=t==="session"?sessionStorage:localStorage;switch(e){case"get":if(!o){let r={};for(let s=0;s<i.length;s++){let c=i.key(s);r[c]=i.getItem(c)}return{success:!0,content:JSON.stringify(r),data:r}}let a=i.getItem(o);return{success:!0,content:JSON.stringify({key:o,value:a}),value:a};case"set":return!o||n===void 0?{success:!1,error:m("interactionTools.setRequiresKeyValue")}:(i.setItem(o,n),{success:!0,message:m("interactionTools.keySet",{key:o})});case"remove":return o?(i.removeItem(o),{success:!0,message:m("interactionTools.keyRemoved",{key:o})}):{success:!1,error:m("interactionTools.removeRequiresKey")};case"clear":return i.clear(),{success:!0,message:m("interactionTools.storageCleared")};default:return{success:!1,error:m("interactionTools.unknownAction",{action:e})}}}catch(i){return{success:!1,error:i.message}}}G("zh",{advancedTools:{close:"\u5173\u95ED",qrcodeLibNotLoaded:"QRCode \u5E93\u672A\u52A0\u8F7D\uFF0C\u5DF2\u4F7F\u7528 SVG \u964D\u7EA7\u65B9\u6848\u751F\u6210",qrcodeLibAndFallbackUnavailable:"\u4E8C\u7EF4\u7801\u5E93\u672A\u52A0\u8F7D\u4E14\u964D\u7EA7\u65B9\u6848\u4E0D\u53EF\u7528",targetElementNotFound:"\u672A\u627E\u5230\u76EE\u6807\u5143\u7D20",screenshotFailed:"\u622A\u56FE\u5931\u8D25",cssParamRequired:"css \u53C2\u6570\u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32",unsupportedInjectMode:"\u4E0D\u652F\u6301\u7684 injectMode: {mode}\uFF0C\u652F\u6301 'style' \u6216 'inline'"}}),G("en",{advancedTools:{close:"Close",qrcodeLibNotLoaded:"QRCode library not loaded, used SVG fallback",qrcodeLibAndFallbackUnavailable:"QRCode library not loaded and fallback unavailable",targetElementNotFound:"Target element not found",screenshotFailed:"Screenshot failed",cssParamRequired:"css parameter must be a non-empty string",unsupportedInjectMode:"Unsupported injectMode: {mode}; supported: 'style' or 'inline'"}});function dl(e,t){try{let o=document.createElement("canvas");o.width=t,o.height=t;let n=o.getContext("2d");n.fillStyle="#FFFFFF",n.fillRect(0,0,t,t);let i=[];for(let p=0;p<e.length;p++)i.push(e.charCodeAt(p));let a=Math.max(2,Math.floor(t/41)),r=Math.floor(t/a),s=Math.floor((t-r*a)/2);n.fillStyle="#000000";let c=(p,h)=>{let b=7*a;n.fillRect(p,h,b,b),n.fillStyle="#FFFFFF",n.fillRect(p+a,h+a,b-2*a,b-2*a),n.fillStyle="#000000",n.fillRect(p+2*a,h+2*a,b-4*a,b-4*a),n.fillStyle="#000000"};c(s,s),c(s+(r-7)*a,s),c(s,s+(r-7)*a);let d=0;for(let p=0;p<e.length;p++)d=(d<<5)-d+e.charCodeAt(p),d|=0;let u=p=>{let h=p+1831565813;return h=Math.imul(h^h>>>15,h|1),h^=h+Math.imul(h^h>>>7,h|61),((h^h>>>14)>>>0)/4294967296};for(let p=0;p<r;p++)for(let h=0;h<r;h++){let b=p<8&&h<8,x=p<8&&h>=r-8,w=p>=r-8&&h<8;b||x||w||u(d+p*r+h)>.5&&n.fillRect(s+h*a,s+p*a,a,a)}return o.toDataURL("image/png")}catch{return null}}function ul(e="",t=200,o="M",n=!0){return new Promise(i=>{try{let a=e||window.location.href,r=document.createElement("div");r.id="ai-helper-qrcode",r.style.cssText=`
92
+ `,document.head.appendChild(o);let n=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null,!1),i=[],a;for(;a=n.nextNode();)a.nodeValue.toLowerCase().includes(e.toLowerCase())&&i.push(a);let r=[];return i.forEach(s=>{let c=s.parentNode;if(!c||!c.replaceChild||!c.insertBefore)return;let d=s.nodeValue,u=d.toLowerCase(),p=d.toLowerCase(),h=u.indexOf(p);if(h!==-1){let b=document.createElement("span");b.className="ai-helper-highlight",b.textContent=d.substring(h,h+d.length);let x=document.createTextNode(d.substring(0,h)),w=document.createTextNode(d.substring(h+d.length));c.replaceChild(w,s),c.insertBefore(b,w),c.insertBefore(x,b),r.push(b)}}),r.length>0&&r[0].scrollIntoView({behavior:"smooth",block:"center"}),{success:!0,message:m("pageTools.highlightedCount",{count:r.length}),count:r.length}}catch(o){return{success:!1,error:o.message}}}G("zh",{interactionTools:{selectorRequired:"\u9009\u62E9\u5668\u4E0D\u80FD\u4E3A\u7A7A",elementNotFoundBySelector:"\u672A\u627E\u5230\u5339\u914D\u9009\u62E9\u5668\u7684\u5143\u7D20: {selector}",navChangeHint:"\uFF08\u68C0\u6D4B\u5230\u5BFC\u822A\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",domChangeHint:"\uFF08\u68C0\u6D4B\u5230DOM\u53D8\u5316\uFF0C\u5DF2\u7B49\u5F85 {ms}ms\uFF09",clickedElement:"\u5DF2\u70B9\u51FB\u5143\u7D20: {selector}{hint}",elementNotFound:"\u672A\u627E\u5230\u5143\u7D20",optionNotFound:"\u672A\u627E\u5230\u5339\u914D\u7684\u9009\u9879",radioButtonNotFound:"\u672A\u627E\u5230\u5339\u914D\u7684\u5355\u9009\u6309\u94AE",formFillComplete:"\u8868\u5355\u586B\u5145\u5B8C\u6210\uFF0C\u6210\u529F {success}/{total} \u4E2A\u5B57\u6BB5",elementNotFoundShort:"\u672A\u627E\u5230\u5143\u7D20: {selector}",invalidScrollTarget:"\u65E0\u6548\u7684\u6EDA\u52A8\u76EE\u6807\u6216\u7F3A\u5C11\u9009\u62E9\u5668",scrollComplete:"\u6EDA\u52A8\u5B8C\u6210",elementAppeared:"\u5143\u7D20 {selector} \u5DF2\u51FA\u73B0",elementDisappeared:"\u5143\u7D20 {selector} \u5DF2\u6D88\u5931",elementVisible:"\u5143\u7D20 {selector} \u5DF2\u53EF\u89C1",elementHidden:"\u5143\u7D20 {selector} \u5DF2\u9690\u85CF",waitTimeout:"\u7B49\u5F85\u8D85\u65F6\uFF08{timeout}ms\uFF09\uFF0C\u5143\u7D20 {selector} \u672A\u8FBE\u5230 {state} \u72B6\u6001",noFocusedElement:"\u6CA1\u6709\u805A\u7126\u7684\u5143\u7D20",keyboardInputSuccess:"\u952E\u76D8\u8F93\u5165\u6210\u529F{hint}",fileUploadNotFound:"\u672A\u627E\u5230\u6587\u4EF6\u4E0A\u4F20\u63A7\u4EF6: {selector}",notFileUploadControl:"\u9009\u62E9\u7684\u5143\u7D20\u4E0D\u662F\u6587\u4EF6\u4E0A\u4F20\u63A7\u4EF6",fileUploaded:"\u5DF2\u4E0A\u4F20\u6587\u4EF6: {fileName}",textRequired:"text \u4E0D\u80FD\u4E3A\u7A7A",hoveredByText:'\u5DF2\u60AC\u505C\u6587\u672C"{text}"\u5BF9\u5E94\u7684{tag}\u5143\u7D20{hint}',clickedByText:'\u5DF2\u70B9\u51FB\u6587\u672C"{text}"\u5BF9\u5E94\u7684{tag}\u5143\u7D20{hint}',textNotFound:'\u9875\u9762\u4E2D\u4E0D\u5B58\u5728\u6587\u672C"{text}"\uFF0C\u53EF\u80FD\u9700\u8981\u5148\u64CD\u4F5C\uFF08\u5982\u6253\u5F00\u4E0B\u62C9\u9762\u677F\uFF09\u6216\u6587\u672C\u6709\u8BEF',textFoundButHidden:'\u627E\u5230\u6587\u672C"{text}"\u4F46\u5143\u7D20\u4E0D\u53EF\u89C1\uFF0C\u53EF\u80FD\u9700\u8981\u5148\u6253\u5F00\u4E0B\u62C9\u9762\u677F/\u6EDA\u52A8\u5230\u53EF\u89C1\u533A\u57DF',textNotClickable:'\u627E\u5230\u6587\u672C"{text}"\u4F46\u4E0D\u5728\u53EF\u70B9\u51FB\u5143\u7D20\u4E2D\uFF0C\u8BF7\u7528 query_elements \u67E5\u770B\u5B9E\u9645\u7ED3\u6784\u6216\u7528 selector \u5B9A\u4F4D',textFoundButNotMatched:'\u627E\u5230\u6587\u672C"{text}"\u5728\u53EF\u70B9\u51FB\u5143\u7D20\u4E2D\u4F46\u672A\u5339\u914D\uFF0C\u53EF\u80FD\u6587\u672C\u88AB\u5206\u5272\u6216\u5927\u5C0F\u5199\u4E0D\u4E00\u81F4',tagConstraint:"\uFF08\u9650\u5B9A\u6807\u7B7E: {tag}\uFF09",triggerNotFound:"\u672A\u627E\u5230\u89E6\u53D1\u5668: {selector}",selectedOption:"\u5DF2\u9009\u62E9: {label}",selectOptionNotFound:'\u5728 <select> \u4E2D\u672A\u627E\u5230\u5339\u914D\u7684\u9009\u9879: "{option}"',optionContainerNotFound:"\u672A\u627E\u5230\u9009\u9879\u5BB9\u5668: {selector}",optionMatchTimeout:'\u5728 {timeout}ms \u5185\u672A\u627E\u5230\u5339\u914D\u9009\u9879: "{option}"',setRequiresKeyValue:"set\u64CD\u4F5C\u9700\u8981\u63D0\u4F9Bkey\u548Cvalue",keySet:"\u5DF2\u8BBE\u7F6E {key}",removeRequiresKey:"remove\u64CD\u4F5C\u9700\u8981\u63D0\u4F9Bkey",keyRemoved:"\u5DF2\u5220\u9664 {key}",storageCleared:"\u5DF2\u6E05\u7A7A\u5B58\u50A8",unknownAction:"\u672A\u77E5\u64CD\u4F5C: {action}"}}),G("en",{interactionTools:{selectorRequired:"Selector cannot be empty",elementNotFoundBySelector:"No element found matching selector: {selector}",navChangeHint:" (navigation change detected, waited {ms}ms)",domChangeHint:" (DOM change detected, waited {ms}ms)",clickedElement:"Clicked element: {selector}{hint}",elementNotFound:"Element not found",optionNotFound:"No matching option found",radioButtonNotFound:"No matching radio button found",formFillComplete:"Form fill complete: {success}/{total} fields succeeded",elementNotFoundShort:"Element not found: {selector}",invalidScrollTarget:"Invalid scroll target or missing selector",scrollComplete:"Scroll complete",elementAppeared:"Element {selector} appeared",elementDisappeared:"Element {selector} disappeared",elementVisible:"Element {selector} is visible",elementHidden:"Element {selector} is hidden",waitTimeout:"Timed out ({timeout}ms); element {selector} did not reach {state} state",noFocusedElement:"No focused element",keyboardInputSuccess:"Keyboard input successful{hint}",fileUploadNotFound:"File upload control not found: {selector}",notFileUploadControl:"The selected element is not a file upload control",fileUploaded:"File uploaded: {fileName}",textRequired:"text cannot be empty",hoveredByText:'Hovered over the {tag} element matching "{text}"{hint}',clickedByText:'Clicked the {tag} element matching "{text}"{hint}',textNotFound:'Text "{text}" does not exist on the page; you may need to perform an action first (e.g. open a dropdown) or the text may be incorrect',textFoundButHidden:'Found text "{text}" but the element is not visible; you may need to open a dropdown panel or scroll to make it visible',textNotClickable:'Found text "{text}" but it is not in a clickable element; use query_elements to inspect the structure or use a selector to locate it',textFoundButNotMatched:'Found text "{text}" in a clickable element but it did not match; the text may be split or have different casing',tagConstraint:" (tag constraint: {tag})",triggerNotFound:"Trigger not found: {selector}",selectedOption:"Selected: {label}",selectOptionNotFound:'No matching option found in <select>: "{option}"',optionContainerNotFound:"Option container not found: {selector}",optionMatchTimeout:'No matching option found within {timeout}ms: "{option}"',setRequiresKeyValue:"Set operation requires both key and value",keySet:"Set {key}",removeRequiresKey:"Remove operation requires a key",keyRemoved:"Removed {key}",storageCleared:"Storage cleared",unknownAction:"Unknown action: {action}"}});async function el(e,t=300,o=2e3){let n=Re(t,Ee.actionMinWait),i=Re(o,Ee.actionWait);try{if(!e)return{success:!1,error:m("interactionTools.selectorRequired")};let a=e.trim();for(let[d,u]of[[/^"([\s\S]*)"$/,"$1"],[/^'([\s\S]*)'$/,"$1"],[/^`([\s\S]*)`$/,"$1"],[/^"([\s\S]*)"$/,"$1"],[/^'([\s\S]*)'$/,"$1"],[/^「([\s\S]*)」$/,"$1"]])a=a.replace(d,u);let r=te(a);if(!r)return{success:!1,error:m("interactionTools.elementNotFoundBySelector",{selector:e})};let s=Ue();r.click();let c=await ze(s,n,i);return{success:!0,message:m("interactionTools.clickedElement",{selector:e,hint:c.changed?m(c.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:c.waitedMs}):""}),...c}}catch(a){return{success:!1,error:a.message}}}function tl(e,t=500){try{let o=[];e.forEach(i=>{let{selector:a,ref:r,value:s,fieldType:c="text"}=i,d=a||`ref=${r}`,u=null;if(r==null?a&&(u=te(a)):u=Mr(r),!u){o.push({selector:d,success:!1,error:m("interactionTools.elementNotFound")});return}try{if(c==="text"){if(_a(u)){let p=oo(u,s);o.push({selector:d,success:p,value:s});return}to(u,s),u.dispatchEvent(new Event("input",{bubbles:!0})),u.dispatchEvent(new Event("change",{bubbles:!0}))}else if(c==="contenteditable"){let p=oo(u,s);o.push({selector:d,success:p,value:s});return}else if(c==="select"){let p=u.querySelector(`option[value="${s}"]`)||Array.from(u.options).find(h=>h.textContent===s);if(p)u.value=p.value,u.dispatchEvent(new Event("change",{bubbles:!0}));else{o.push({selector:d,success:!1,error:m("interactionTools.optionNotFound")});return}}else if(c==="checkbox")u.checked=s==="true"||s===!0,u.dispatchEvent(new Event("change",{bubbles:!0}));else if(c==="radio"){let p=a?te(`${a}[value="${s}"]`):null;if(!p&&!a&&u.tagName==="INPUT"&&u.type==="radio")if(u.value===String(s))p=u;else{let h=u.getAttribute("name");if(h){let b=u.getRootNode();p=Array.from(b.querySelectorAll('input[type="radio"]')).find(x=>x.name===h&&x.value===String(s))||null}}if(p)p.checked=!0,p.dispatchEvent(new Event("change",{bubbles:!0}));else{o.push({selector:d,success:!1,error:m("interactionTools.radioButtonNotFound")});return}}o.push({selector:d,success:!0,value:s})}catch(p){o.push({selector:d,success:!1,error:p.message})}});let n=o.filter(i=>i.success).length;return{success:!0,message:m("interactionTools.formFillComplete",{success:n,total:e.length}),details:o}}catch(o){return{success:!1,error:o.message}}}function ol(e){try{let{target:t="selector",selector:o,x:n=0,y:i=0,behavior:a="smooth",align:r="center"}=e,s=!1;if(t==="top")s=(window.scrollY||0)<=0&&(document.documentElement.scrollTop||0)<=0,window.scrollTo({top:0,left:0,behavior:a});else if(t==="bottom"){let d=document.scrollingElement||document.documentElement;s=(window.scrollY||0)+(window.innerHeight||0)>=d.scrollHeight-1,window.scrollTo({top:document.body.scrollHeight,left:0,behavior:a})}else if(t==="coordinates")s=Math.abs((window.scrollY||0)-i)<1&&Math.abs((window.scrollX||0)-n)<1,window.scrollTo({top:i,left:n,behavior:a});else if(t==="selector"&&o){let d=te(o);if(!d)return{success:!1,error:m("interactionTools.elementNotFoundShort",{selector:o})};d.scrollIntoView({behavior:a,block:r})}else return{success:!1,error:m("interactionTools.invalidScrollTarget")};let c={success:!0,message:m("interactionTools.scrollComplete")};return s&&(c.moved=!1),c}catch(t){return{success:!1,error:t.message}}}function Ta(e){if(!e)return!1;if(e.offsetParent===null&&e.tagName!=="BODY"){let a=window.getComputedStyle(e);if(a.display==="none"||a.visibility==="hidden"||a.position!=="fixed")return!1}let t=window.getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||parseFloat(t.opacity)<=0)return!1;let o=e.getBoundingClientRect();if(o.width<=0||o.height<=0)return!1;let n=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return o.top<n&&o.bottom>0&&o.left<i&&o.right>0}function nl(e,t="appeared",o=1e4){let n=Re(o,Ee.waitElement);return new Promise((i,a)=>{let r=Date.now(),s=()=>{let c=te(e);if(t==="appeared"&&c){i({success:!0,message:m("interactionTools.elementAppeared",{selector:e}),element:e});return}if(t==="disappeared"&&!c){i({success:!0,message:m("interactionTools.elementDisappeared",{selector:e})});return}if(t==="visible"&&c&&Ta(c)){i({success:!0,message:m("interactionTools.elementVisible",{selector:e}),element:e});return}if(t==="hidden"&&(!c||!Ta(c))){i({success:!0,message:m("interactionTools.elementHidden",{selector:e})});return}if(Date.now()-r>n){i({success:!1,error:m("interactionTools.waitTimeout",{timeout:n,selector:e,state:t})});return}setTimeout(s,100)};s()})}var Sa={enter:{code:"Enter",keyCode:13},escape:{code:"Escape",keyCode:27},esc:{code:"Escape",keyCode:27},tab:{code:"Tab",keyCode:9},backspace:{code:"Backspace",keyCode:8},delete:{code:"Delete",keyCode:46},arrowup:{code:"ArrowUp",keyCode:38},arrowdown:{code:"ArrowDown",keyCode:40},arrowleft:{code:"ArrowLeft",keyCode:37},arrowright:{code:"ArrowRight",keyCode:39},home:{code:"Home",keyCode:36},end:{code:"End",keyCode:35},pageup:{code:"PageUp",keyCode:33},pagedown:{code:"PageDown",keyCode:34},space:{code:"Space",keyCode:32}};function al(e){let t=e.toLowerCase();if(Sa[t])return Sa[t];if(e.length===1&&/[a-zA-Z]/.test(e))return{code:`Key${e.toUpperCase()}`,keyCode:e.toUpperCase().charCodeAt(0)};if(e.length===1&&/[0-9]/.test(e))return{code:`Digit${e}`,keyCode:e.charCodeAt(0)};let o=e.match(/^F([1-9]|1[0-2])$/i);if(o){let n=parseInt(o[1],10);return{code:`F${n}`,keyCode:111+n}}return{code:e,keyCode:e.toUpperCase().charCodeAt(0)}}async function il({key:e,text:t,ctrlKey:o=!1,shiftKey:n=!1,altKey:i=!1}){try{let a=document.activeElement;if(!a)return{success:!1,error:m("interactionTools.noFocusedElement")};let r=Ue();if(t){let c=a.tagName==="INPUT"||a.tagName==="TEXTAREA",d=a.isContentEditable;if(c||d){if(a.focus(),d)try{document.execCommand("selectAll",!1,null),document.execCommand("insertText",!1,t)}catch{a.textContent+=t}else to(a,a.value+t);try{a.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0,inputType:"insertText",data:t}))}catch{a.dispatchEvent(new Event("input",{bubbles:!0}))}a.dispatchEvent(new Event("change",{bubbles:!0}))}}if(e){let c=al(e),d={key:e,code:c.code,keyCode:c.keyCode,which:c.keyCode,bubbles:!0,cancelable:!0,ctrlKey:o,shiftKey:n,altKey:i};document.activeElement.dispatchEvent(new KeyboardEvent("keydown",d)),document.activeElement.dispatchEvent(new KeyboardEvent("keypress",d)),document.activeElement.dispatchEvent(new KeyboardEvent("keyup",d))}let s=await ze(r,300,2e3);return{success:!0,message:m("interactionTools.keyboardInputSuccess",{hint:s.changed?m(s.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:s.waitedMs}):""}),...s}}catch(a){return{success:!1,error:a.message}}}function rl(e,t,o,n="application/octet-stream"){try{let i=te(e);if(!i)return{success:!1,error:m("interactionTools.fileUploadNotFound",{selector:e})};if(i.type!=="file")return{success:!1,error:m("interactionTools.notFileUploadControl")};let a;try{let c=atob(o),d=new Uint8Array(c.length);for(let u=0;u<c.length;u++)d[u]=c.charCodeAt(u);a=new Blob([d],{type:n})}catch{a=new Blob([o],{type:n})}let r=new File([a],t,{type:n}),s=new DataTransfer;return s.items.add(r),i.files=s.files,i.dispatchEvent(new Event("change",{bubbles:!0})),{success:!0,message:m("interactionTools.fileUploaded",{fileName:t})}}catch(i){return{success:!1,error:i.message}}}async function ll(e,t={}){let{tag:o,action:n="click",waitTime:i=300,timeout:a=2e3}=t,r=Re(i,Ee.actionMinWait),s=Re(a,Ee.actionWait);if(!e)return{success:!1,error:m("interactionTools.textRequired")};let c=o?[o]:["button",'[role="button"]','input[type="submit"]','input[type="button"]',"a[href]",'[role="menuitem"]','[role="menuitemradio"]','[role="menuitemcheckbox"]','[role="option"]','[role="tab"]',"[onclick]","summary","li"],d=e.toLowerCase();for(let x of c){let w=[];try{w=Xe(x)}catch{continue}for(let k of w){let S=(k.textContent||k.value||"").trim();if(!S)continue;let D=S.toLowerCase();if(S===e||D===d||D.includes(d)){let R=window.getComputedStyle(k);if(R.display==="none"||R.visibility==="hidden"||parseFloat(R.opacity)<=0)continue;let _=Pt(k),B=Ue();if(n==="hover"){k.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0,cancelable:!0,view:window})),k.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0,cancelable:!0,view:window}));let oe=await ze(B,r,s),ue=oe.changed?m(oe.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:oe.waitedMs}):"";return{success:!0,message:m("interactionTools.hoveredByText",{text:e,tag:k.tagName.toLowerCase(),hint:ue}),selector:_,matchedText:S.substring(0,100),...oe}}k.click();let Q=await ze(B,r,s),L=Q.changed?m(Q.urlChanged?"interactionTools.navChangeHint":"interactionTools.domChangeHint",{ms:Q.waitedMs}):"";return{success:!0,message:m("interactionTools.clickedByText",{text:e,tag:k.tagName.toLowerCase(),hint:L}),selector:_,matchedText:S.substring(0,100),...Q}}}}let u=!1,p=!1,h=!1;try{let x=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null);for(;x.nextNode();)if((x.currentNode.textContent||"").toLowerCase().includes(d)){u=!0;let w=x.currentNode.parentElement;if(w){let k=window.getComputedStyle(w);(k.display==="none"||k.visibility==="hidden"||parseFloat(k.opacity)<=0)&&(p=!0),w.closest('button, [role="button"], [role="option"], [role="tab"], li, a[href], [onclick], summary, [tabindex]')||(h=!0)}break}}catch{}let b;return b=m(u?p?"interactionTools.textFoundButHidden":h?"interactionTools.textNotClickable":"interactionTools.textFoundButNotMatched":"interactionTools.textNotFound",{text:e}),{success:!1,error:b+(o?m("interactionTools.tagConstraint",{tag:o}):"")}}function sl(e,t,o=null,n=5e3){let i=Re(n,Ee.selectOption);return new Promise(async a=>{try{let r=te(e);if(!r){a({success:!1,error:m("interactionTools.triggerNotFound",{selector:e})});return}if(r.tagName==="SELECT"){let u=r.options;for(let p=0;p<u.length;p++){let h=u[p],b=(h.textContent||h.label||"").trim();if(b===t||b.includes(t)){r.value=h.value,r.dispatchEvent(new Event("change",{bubbles:!0})),r.dispatchEvent(new Event("input",{bubbles:!0})),a({success:!0,message:m("interactionTools.selectedOption",{label:b}),triggerTag:"SELECT"});return}}a({success:!1,error:m("interactionTools.selectOptionNotFound",{option:t}),availableOptions:Array.from(u).map(p=>p.textContent?.trim()).filter(Boolean)});return}r.click(),await new Promise(u=>setTimeout(u,300));let s=Date.now(),c=o?te(o):document;if(!c){a({success:!1,error:m("interactionTools.optionContainerNotFound",{selector:o})});return}let d=null;for(;Date.now()-s<i;){let u=Xe('li, [role="option"], [role="menuitem"], .option, .dropdown-item, .select-item, [data-value], div',c);for(let p of u){let h=(p.textContent||"").trim();if(!(h.length<2)&&(h===t||h.includes(t)||h.replace(/\s+/g,"")===t.replace(/\s+/g,""))){d=p;break}}if(d)break;await new Promise(p=>setTimeout(p,100))}if(!d){a({success:!1,error:m("interactionTools.optionMatchTimeout",{timeout:i,option:t})});return}d.click(),a({success:!0,message:m("interactionTools.selectedOption",{label:d.textContent?.trim()}),triggerTag:r.tagName})}catch(r){a({success:!1,error:r.message})}})}function cl({action:e,storage:t,key:o,value:n}){try{let i=t==="session"?sessionStorage:localStorage;switch(e){case"get":if(!o){let r={};for(let s=0;s<i.length;s++){let c=i.key(s);r[c]=i.getItem(c)}return{success:!0,content:JSON.stringify(r),data:r}}let a=i.getItem(o);return{success:!0,content:JSON.stringify({key:o,value:a}),value:a};case"set":return!o||n===void 0?{success:!1,error:m("interactionTools.setRequiresKeyValue")}:(i.setItem(o,n),{success:!0,message:m("interactionTools.keySet",{key:o})});case"remove":return o?(i.removeItem(o),{success:!0,message:m("interactionTools.keyRemoved",{key:o})}):{success:!1,error:m("interactionTools.removeRequiresKey")};case"clear":return i.clear(),{success:!0,message:m("interactionTools.storageCleared")};default:return{success:!1,error:m("interactionTools.unknownAction",{action:e})}}}catch(i){return{success:!1,error:i.message}}}G("zh",{advancedTools:{close:"\u5173\u95ED",qrcodeLibNotLoaded:"QRCode \u5E93\u672A\u52A0\u8F7D\uFF0C\u5DF2\u4F7F\u7528 SVG \u964D\u7EA7\u65B9\u6848\u751F\u6210",qrcodeLibAndFallbackUnavailable:"\u4E8C\u7EF4\u7801\u5E93\u672A\u52A0\u8F7D\u4E14\u964D\u7EA7\u65B9\u6848\u4E0D\u53EF\u7528",targetElementNotFound:"\u672A\u627E\u5230\u76EE\u6807\u5143\u7D20",screenshotFailed:"\u622A\u56FE\u5931\u8D25",cssParamRequired:"css \u53C2\u6570\u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32",unsupportedInjectMode:"\u4E0D\u652F\u6301\u7684 injectMode: {mode}\uFF0C\u652F\u6301 'style' \u6216 'inline'"}}),G("en",{advancedTools:{close:"Close",qrcodeLibNotLoaded:"QRCode library not loaded, used SVG fallback",qrcodeLibAndFallbackUnavailable:"QRCode library not loaded and fallback unavailable",targetElementNotFound:"Target element not found",screenshotFailed:"Screenshot failed",cssParamRequired:"css parameter must be a non-empty string",unsupportedInjectMode:"Unsupported injectMode: {mode}; supported: 'style' or 'inline'"}});function dl(e,t){try{let o=document.createElement("canvas");o.width=t,o.height=t;let n=o.getContext("2d");n.fillStyle="#FFFFFF",n.fillRect(0,0,t,t);let i=[];for(let p=0;p<e.length;p++)i.push(e.charCodeAt(p));let a=Math.max(2,Math.floor(t/41)),r=Math.floor(t/a),s=Math.floor((t-r*a)/2);n.fillStyle="#000000";let c=(p,h)=>{let b=7*a;n.fillRect(p,h,b,b),n.fillStyle="#FFFFFF",n.fillRect(p+a,h+a,b-2*a,b-2*a),n.fillStyle="#000000",n.fillRect(p+2*a,h+2*a,b-4*a,b-4*a),n.fillStyle="#000000"};c(s,s),c(s+(r-7)*a,s),c(s,s+(r-7)*a);let d=0;for(let p=0;p<e.length;p++)d=(d<<5)-d+e.charCodeAt(p),d|=0;let u=p=>{let h=p+1831565813;return h=Math.imul(h^h>>>15,h|1),h^=h+Math.imul(h^h>>>7,h|61),((h^h>>>14)>>>0)/4294967296};for(let p=0;p<r;p++)for(let h=0;h<r;h++){let b=p<8&&h<8,x=p<8&&h>=r-8,w=p>=r-8&&h<8;b||x||w||u(d+p*r+h)>.5&&n.fillRect(s+h*a,s+p*a,a,a)}return o.toDataURL("image/png")}catch{return null}}function ul(e="",t=200,o="M",n=!0){return new Promise(i=>{try{let a=e||window.location.href,r=document.createElement("div");r.id="ai-helper-qrcode",r.style.cssText=`
93
93
  position: fixed;
94
94
  top: 50%;
95
95
  left: 50%;
@@ -897,7 +897,7 @@ Question 3`}});var N={search:'<svg class="aih-ic" width="15" height="15" viewBox
897
897
  <div class="aih-followup-send" role="button" tabindex="0" title="${m("selToolbar.sendToSidebar")}">${N.send}</div>
898
898
  </span>
899
899
  </div>
900
- `,v.querySelector(".aih-result-close").addEventListener("click",t=>{t.stopPropagation(),Ze()}),v.querySelector(".aih-result-lock").addEventListener("click",t=>{t.stopPropagation(),Dl()}),v.querySelector(".aih-result-footer").addEventListener("click",t=>{t.stopPropagation();let o=t.target.closest(".aih-result-token");if(o){Hl(o);return}let n=t.target.closest("[data-action]")?.dataset?.action;if(n==="regenerate-result"){if(!Qt||!Ct)return;sn(Qt,Ct,nn,Qt==="ai-search"?null:ln(Ct))}else n==="copy-result"&&(t.ctrlKey||t.metaKey?Vl():$l())});let e=v.querySelector(".aih-followup-input");v.querySelector(".aih-followup-send").addEventListener("click",t=>{t.stopPropagation();let o=e.value.trim();o&&($o(o),e.value="")}),e.addEventListener("keydown",t=>{if(t.key==="Enter"){t.preventDefault();let o=e.value.trim();o&&($o(o),e.value="")}}),v.querySelector(".aih-suggestions-list").addEventListener("click",t=>{let o=t.target.closest(".aih-suggestion-chip");if(!o)return;t.stopPropagation();let n=o.dataset.question;n&&$o(n)}),v.addEventListener("keydown",t=>{if(t.key==="Enter"||t.key===" "){let o=t.target.closest('[role="button"]');o&&(t.preventDefault(),o.click())}}),fe(v),Qa(v,".aih-result-header")}function Ia(e,t,o,n=[]){if(!v)return;let i=re&&v.style.display!=="none",a=v.querySelector(".aih-result-body"),r=v.querySelector(".aih-result-scroll"),s=!r||r.scrollTop+r.clientHeight>=r.scrollHeight-24;a.replaceChildren(jt.sanitize(o,{...pn,RETURN_DOM_FRAGMENT:!0})),s&&r&&(r.scrollTop=r.scrollHeight);let c=v.querySelector(".aih-result-suggestions"),d=v.querySelector(".aih-suggestions-list");if(n.length>0&&c&&d?(d.innerHTML=n.map(h=>`<div class="aih-suggestion-chip" role="button" tabindex="0" data-question="${De(h)}">${De(h)}</div>`).join(""),c.style.display="block"):c&&(c.style.display="none"),i)return;fe(v);let u=window.innerWidth,p=window.innerHeight;mt(v,"flex"),v.style.left="-9999px",v.style.top="-9999px",requestAnimationFrame(()=>{let h=v.getBoundingClientRect(),b=h.width||420,x=Math.min(h.height||200,520),w=e-b/2;w<8&&(w=8),w+b>u-8&&(w=u-b-8);let k=t-x-8;k<8&&(k=t+8),v.style.left=w+"px",v.style.top=k+"px",v.style.maxHeight=Math.min(520,p-k-16)+"px",re=!0,fe(v)})}function Pl(e,t){if(!v)return;Ye={x:e,y:t},Se=!1,mo();let o=v.querySelector(".aih-result-suggestions");o&&(o.style.display="none");let n=v.querySelector(".aih-followup-input");n&&(n.value=""),It(null),st(),fe(v),mt(v,"flex");let i=v.querySelector(".aih-result-body");i.innerHTML=`<div class="aih-result-loading"><div class="aih-spinner"></div>${m("selToolbar.aiThinking")}</div>`,oi(v,e,t),re=!0,le()}function ti(e,t,o){if(!v)return;Se=!1,Te="",It(null),mo(),fe(v),mt(v,"flex");let n=v.querySelector(".aih-result-body");n.innerHTML=`<div class="aih-result-error">${m("selToolbar.requestFailed",{msg:De(o)})}</div>`,oi(v,e,t),re=!0}function oi(e,t,o){let n=window.innerWidth,i=window.innerHeight;e.style.left="-9999px",e.style.top="-9999px",requestAnimationFrame(()=>{let a=e.getBoundingClientRect(),r=a.width||420,s=Math.min(a.height||200,520),c=t-r/2;c<8&&(c=8),c+r>n-8&&(c=n-r-8);let d=o-s-8;d<8&&(d=o+8),e.style.left=c+"px",e.style.top=d+"px",e.style.maxHeight=Math.min(520,i-d-16)+"px",fe(e),po(e)})}function Ze(){v&&(Ie(v),Me(),re=!1,Se=!1,Te="",st(),mo())}function Dl(){Se=!Se,mo()}function mo(){if(!v)return;let e=v.querySelector(".aih-result-lock");e&&(Se?(e.innerHTML=N.lock,e.classList.add("locked"),e.title=m("selToolbar.unlockWindow")):(e.innerHTML=N.unlock,e.classList.remove("locked"),e.title=m("selToolbar.lockWindow")))}function $o(e){if(!e||!de())return;let t=E||Ct||"";try{chrome.runtime.sendMessage({type:"DIRECT_SEND",text:e,selectedText:t}).catch(o=>{j.error("[SelectionToolbar] sendfollow-up tosidebar failed:",o)})}catch{}}function Nl(e,t){if(!(!e||!de()))try{chrome.runtime.sendMessage({type:"DIRECT_SEND",text:e,selectedText:t||""}).catch(o=>{j.error("[SelectionToolbar] send to sidesidebar failed:",o)})}catch{}}function De(e){let t=document.createElement("div");return t.textContent=e,t.innerHTML}var pn={FORBID_TAGS:["script","style","iframe","object","embed","form","link","meta","base"],FORBID_ATTR:["onerror","onload","onclick","onmouseover","onfocus","onblur","onchange","oninput","onkeydown","onkeyup","onkeypress"],ADD_ATTR:["target"]};function rn(e){let t=typeof marked<"u"?marked.parse(e):De(e).replace(/\n/g,"<br>");return jt.sanitize(t,pn)}function Ll(e){let t=typeof marked<"u"?marked.parse(e):De(e).replace(/\n/g,"<br>");return jt.sanitize(t,{...pn,RETURN_DOM_FRAGMENT:!0})}function Fl(){if(Xt)return;Xt=!0;let e=no;requestAnimationFrame(()=>{Xt=!1,e===no&&Ol()})}function Ol(){if(!v||!re||!qe)return;let e=v.querySelector(".aih-result-body");if(!e)return;let t=qe,o=t.indexOf("---SUGGESTIONS---");o!==-1&&(t=t.substring(0,o));let n=v.querySelector(".aih-result-scroll"),i=!n||n.scrollTop+n.clientHeight>=n.scrollHeight-24,a=document.createElement("div");a.className="aih-result-content-stream",a.appendChild(_l(t)),e.replaceChildren(a),i&&n&&(n.scrollTop=n.scrollHeight)}function _l(e){return Ll(typeof marked>"u"?e:(e.match(/```/g)||[]).length%2==1?e+"\n```":e)}function Vo(e){return!e||e<=0?"0":e<1e3?String(e):e<1e4?Math.round(e/100)/10+"K":e<1e6?Math.round(e/1e3)+"K":Math.round(e/1e5)/10+"M"}function It(e){if(!v)return;Ya=e||null;let t=v.querySelector(".aih-result-token");if(!t)return;let o=e&&(e.total_tokens||(e.prompt_tokens||0)+(e.completion_tokens||0));if(!o){t.style.display="none",t.textContent="",t.removeAttribute("title");return}t.innerHTML=`<span class="aih-token-dot">\u2B24</span>${Vo(o)} tokens`,t.title=m("selToolbar.tokenUsageTitle",{input:Vo(e.prompt_tokens||0),output:Vo(e.completion_tokens||0)}),t.style.display="inline-flex"}function Yo(e){return!e&&e!==0?"0":Number(e).toLocaleString("en-US")}function st(){let e=document.querySelector(".aih-token-popup");e&&(Ie(e),e.remove()),ao=!1,Me()}function Hl(e){let t=Ya;if(!t)return;let o=t.total_tokens||(t.prompt_tokens||0)+(t.completion_tokens||0);if(!o)return;if(ao){st();return}st();let n=t.prompt_tokens||0,i=t.completion_tokens||0,a=Math.round(n/o*100),r=Math.round(i/o*100),s=document.createElement("div");s.className="aih-token-popup",s.setAttribute("popover","manual"),uo(s),s.innerHTML=`
900
+ `,v.querySelector(".aih-result-close").addEventListener("click",t=>{t.stopPropagation(),Ze()}),v.querySelector(".aih-result-lock").addEventListener("click",t=>{t.stopPropagation(),Dl()}),v.querySelector(".aih-result-footer").addEventListener("click",t=>{t.stopPropagation();let o=t.target.closest(".aih-result-token");if(o){_l(o);return}let n=t.target.closest("[data-action]")?.dataset?.action;if(n==="regenerate-result"){if(!Qt||!Ct)return;sn(Qt,Ct,nn,Qt==="ai-search"?null:ln(Ct))}else n==="copy-result"&&(t.ctrlKey||t.metaKey?Vl():$l())});let e=v.querySelector(".aih-followup-input");v.querySelector(".aih-followup-send").addEventListener("click",t=>{t.stopPropagation();let o=e.value.trim();o&&($o(o),e.value="")}),e.addEventListener("keydown",t=>{if(t.key==="Enter"){t.preventDefault();let o=e.value.trim();o&&($o(o),e.value="")}}),v.querySelector(".aih-suggestions-list").addEventListener("click",t=>{let o=t.target.closest(".aih-suggestion-chip");if(!o)return;t.stopPropagation();let n=o.dataset.question;n&&$o(n)}),v.addEventListener("keydown",t=>{if(t.key==="Enter"||t.key===" "){let o=t.target.closest('[role="button"]');o&&(t.preventDefault(),o.click())}}),fe(v),Qa(v,".aih-result-header")}function Ia(e,t,o,n=[]){if(!v)return;let i=re&&v.style.display!=="none",a=v.querySelector(".aih-result-body"),r=v.querySelector(".aih-result-scroll"),s=!r||r.scrollTop+r.clientHeight>=r.scrollHeight-24;a.replaceChildren(jt.sanitize(o,{...pn,RETURN_DOM_FRAGMENT:!0})),s&&r&&(r.scrollTop=r.scrollHeight);let c=v.querySelector(".aih-result-suggestions"),d=v.querySelector(".aih-suggestions-list");if(n.length>0&&c&&d?(d.innerHTML=n.map(h=>`<div class="aih-suggestion-chip" role="button" tabindex="0" data-question="${De(h)}">${De(h)}</div>`).join(""),c.style.display="block"):c&&(c.style.display="none"),i)return;fe(v);let u=window.innerWidth,p=window.innerHeight;mt(v,"flex"),v.style.left="-9999px",v.style.top="-9999px",requestAnimationFrame(()=>{let h=v.getBoundingClientRect(),b=h.width||420,x=Math.min(h.height||200,520),w=e-b/2;w<8&&(w=8),w+b>u-8&&(w=u-b-8);let k=t-x-8;k<8&&(k=t+8),v.style.left=w+"px",v.style.top=k+"px",v.style.maxHeight=Math.min(520,p-k-16)+"px",re=!0,fe(v)})}function Pl(e,t){if(!v)return;Ye={x:e,y:t},Se=!1,mo();let o=v.querySelector(".aih-result-suggestions");o&&(o.style.display="none");let n=v.querySelector(".aih-followup-input");n&&(n.value=""),It(null),st(),fe(v),mt(v,"flex");let i=v.querySelector(".aih-result-body");i.innerHTML=`<div class="aih-result-loading"><div class="aih-spinner"></div>${m("selToolbar.aiThinking")}</div>`,oi(v,e,t),re=!0,le()}function ti(e,t,o){if(!v)return;Se=!1,Te="",It(null),mo(),fe(v),mt(v,"flex");let n=v.querySelector(".aih-result-body");n.innerHTML=`<div class="aih-result-error">${m("selToolbar.requestFailed",{msg:De(o)})}</div>`,oi(v,e,t),re=!0}function oi(e,t,o){let n=window.innerWidth,i=window.innerHeight;e.style.left="-9999px",e.style.top="-9999px",requestAnimationFrame(()=>{let a=e.getBoundingClientRect(),r=a.width||420,s=Math.min(a.height||200,520),c=t-r/2;c<8&&(c=8),c+r>n-8&&(c=n-r-8);let d=o-s-8;d<8&&(d=o+8),e.style.left=c+"px",e.style.top=d+"px",e.style.maxHeight=Math.min(520,i-d-16)+"px",fe(e),po(e)})}function Ze(){v&&(Ie(v),Me(),re=!1,Se=!1,Te="",st(),mo())}function Dl(){Se=!Se,mo()}function mo(){if(!v)return;let e=v.querySelector(".aih-result-lock");e&&(Se?(e.innerHTML=N.lock,e.classList.add("locked"),e.title=m("selToolbar.unlockWindow")):(e.innerHTML=N.unlock,e.classList.remove("locked"),e.title=m("selToolbar.lockWindow")))}function $o(e){if(!e||!de())return;let t=E||Ct||"";try{chrome.runtime.sendMessage({type:"DIRECT_SEND",text:e,selectedText:t}).catch(o=>{j.error("[SelectionToolbar] sendfollow-up tosidebar failed:",o)})}catch{}}function Nl(e,t){if(!(!e||!de()))try{chrome.runtime.sendMessage({type:"DIRECT_SEND",text:e,selectedText:t||""}).catch(o=>{j.error("[SelectionToolbar] send to sidesidebar failed:",o)})}catch{}}function De(e){let t=document.createElement("div");return t.textContent=e,t.innerHTML}var pn={FORBID_TAGS:["script","style","iframe","object","embed","form","link","meta","base"],FORBID_ATTR:["onerror","onload","onclick","onmouseover","onfocus","onblur","onchange","oninput","onkeydown","onkeyup","onkeypress"],ADD_ATTR:["target"]};function rn(e){let t=typeof marked<"u"?marked.parse(e):De(e).replace(/\n/g,"<br>");return jt.sanitize(t,pn)}function Ll(e){let t=typeof marked<"u"?marked.parse(e):De(e).replace(/\n/g,"<br>");return jt.sanitize(t,{...pn,RETURN_DOM_FRAGMENT:!0})}function Fl(){if(Xt)return;Xt=!0;let e=no;requestAnimationFrame(()=>{Xt=!1,e===no&&Ol()})}function Ol(){if(!v||!re||!qe)return;let e=v.querySelector(".aih-result-body");if(!e)return;let t=qe,o=t.indexOf("---SUGGESTIONS---");o!==-1&&(t=t.substring(0,o));let n=v.querySelector(".aih-result-scroll"),i=!n||n.scrollTop+n.clientHeight>=n.scrollHeight-24,a=document.createElement("div");a.className="aih-result-content-stream",a.appendChild(Hl(t)),e.replaceChildren(a),i&&n&&(n.scrollTop=n.scrollHeight)}function Hl(e){return Ll(typeof marked>"u"?e:(e.match(/```/g)||[]).length%2==1?e+"\n```":e)}function Vo(e){return!e||e<=0?"0":e<1e3?String(e):e<1e4?Math.round(e/100)/10+"K":e<1e6?Math.round(e/1e3)+"K":Math.round(e/1e5)/10+"M"}function It(e){if(!v)return;Ya=e||null;let t=v.querySelector(".aih-result-token");if(!t)return;let o=e&&(e.total_tokens||(e.prompt_tokens||0)+(e.completion_tokens||0));if(!o){t.style.display="none",t.textContent="",t.removeAttribute("title");return}t.innerHTML=`<span class="aih-token-dot">\u2B24</span>${Vo(o)} tokens`,t.title=m("selToolbar.tokenUsageTitle",{input:Vo(e.prompt_tokens||0),output:Vo(e.completion_tokens||0)}),t.style.display="inline-flex"}function Yo(e){return!e&&e!==0?"0":Number(e).toLocaleString("en-US")}function st(){let e=document.querySelector(".aih-token-popup");e&&(Ie(e),e.remove()),ao=!1,Me()}function _l(e){let t=Ya;if(!t)return;let o=t.total_tokens||(t.prompt_tokens||0)+(t.completion_tokens||0);if(!o)return;if(ao){st();return}st();let n=t.prompt_tokens||0,i=t.completion_tokens||0,a=Math.round(n/o*100),r=Math.round(i/o*100),s=document.createElement("div");s.className="aih-token-popup",s.setAttribute("popover","manual"),uo(s),s.innerHTML=`
901
901
  <div class="aih-token-popup-header">
902
902
  <span class="aih-token-popup-title">${m("selToolbar.tokenPopupTitle")}</span>
903
903
  <button class="aih-token-popup-close" type="button" aria-label="close">\xD7</button>
@@ -998,7 +998,7 @@ Question 3`}});var N={search:'<svg class="aih-ic" width="15" height="15" viewBox
998
998
 
999
999
  ${t}`:i[e]||t;if(e==="ai-search"){le(),window.getSelection().removeAllRanges();try{chrome.runtime.sendMessage({type:"SELECTION_TOOLBAR_ACTION",action:e,text:t,prompt:a}).catch(d=>{j.error("[SelectionToolbar] sendmessage failed:",d)})}catch{}return}ei();let r={"ai-search":m("optionsConst.aiSearch"),explain:m("optionsConst.explain"),translate:m("optionsConst.translate"),summary:m("optionsConst.summary")}[e];if(!r&&he){let d=he.find(u=>u.id===e);r=d?d.builtin&&Ft(d.id)||d.name:m("selToolbar.aiAnswer")}let s=v.querySelector(".aih-result-header span");if(s){s.replaceChildren();let d=document.createElement("span");d.className="aih-result-title-icon",d.innerHTML=N.sparkle,s.appendChild(d),s.appendChild(document.createTextNode(` ${r||m("selToolbar.aiAnswer")}`))}let c=re&&v?ql(v):Bl();Pl(c.x,c.y);try{chrome.runtime.sendMessage({type:"SELECTION_TOOLBAR_ACTION",action:e,text:t,prompt:a,systemPrompt:o||"",pageContext:n||void 0}).catch(d=>{j.error("[SelectionToolbar] sendmessage failed:",d),ti(c.x,c.y,d.message)})}catch{}}de()&&chrome.runtime.onMessage.addListener((e,t,o)=>{if(de()){if(e.type==="IFRAME_SELECTION"){if(!Y)return;j.debug("[SelectionToolbar] recei to IFRAME_SELECTION text:",e.text?.substring(0,30),"isToolbarVisible:",ce,"isResultVisible:",re),E=e.text,ge=null,F=typeof e.context=="string"?e.context:"";let n=e.x,i=e.y;if(window.top!==window&&window.frameElement)try{let a=window.frameElement.getBoundingClientRect();n=e.x-a.left,i=e.y-a.top}catch{}if(ce&&T&&E){requestAnimationFrame(()=>{let a=window.innerWidth,r=T.offsetWidth||300,s=T.offsetHeight||40,c=n-r/2;c<8&&(c=8),c+r>a-8&&(c=a-r-8);let d=i-s-8;d<8&&(d=i+8),T.style.left=c+"px",T.style.top=d+"px"});return}ye={x:n,y:i},E&&E.length>=2&&Lt(n,i);return}if(e.type==="IFRAME_SELECTION_CLEAR"){if(!Y||Ke)return;ce&&!ie&&(le(),E="",F="",Ge=!1);return}if(e.type==="IFRAME_CLICK_DISMISS"){ce&&T&&Date.now()-Va>300&&(le(),E="",ge=null,F="",Ge=!1),re&&!Se&&Ze();return}if(Y){if(e.type==="SELECTION_TOOLBAR_STREAM_START"){qe="",Xt=!1,no++;return}if(e.type==="SELECTION_TOOLBAR_STREAM_CHUNK"){qe+=e.delta||"",Fl();return}if(e.type==="SELECTION_TOOLBAR_STREAM_DONE"){no++,e.finalContent&&(qe=e.finalContent);let n=qe||m("selToolbar.noResponse");Te=qe;let i=n,a=[],r=n.indexOf("---SUGGESTIONS---");r!==-1&&(i=n.substring(0,r).trim(),Te=i,a=n.substring(r+17).split(`
1000
1000
  `).map(c=>c.replace(/^[\d]+[\.\、\s]+/,"").trim()).filter(c=>c.length>0).slice(0,3));let s=rn(i);Ia(Ye.x,Ye.y,s,a),It(e.usage),qe="";return}if(e.type==="SELECTION_TOOLBAR_RESULT")if(e.error)Te="",It(null),ti(Ye.x,Ye.y,e.error);else{let n=e.content||m("selToolbar.noResponse"),i=n;Te=n;let a=[],r=n.indexOf("---SUGGESTIONS---");r!==-1&&(i=n.substring(0,r).trim(),Te=i,a=n.substring(r+17).split(`
1001
- `).map(c=>c.replace(/^[\d]+[\.\、\s]+/,"").trim()).filter(c=>c.length>0).slice(0,3));let s=rn(i);Ia(Ye.x,Ye.y,s,a),It(e.usage)}}}});function Ql(){if(!de())return;let e=window.location.hostname;try{chrome.storage.local.get(["blockedDomains"],t=>{try{let o=t.blockedDomains||[];o.includes(e)||(o.push(e),chrome.storage.local.set({blockedDomains:o},()=>{ut=o,le(),Ze(),E=""}))}catch{}})}catch{}}function Xl(){if(!de())return;let e=++lo;chrome.storage.local.get(["enableSelectionToolbar","blockedDomains","selectionToolbarIncludeContext"],t=>{e===lo&&(Qe=t.enableSelectionToolbar===void 0?!0:!!t.enableSelectionToolbar,ut=t.blockedDomains||[],ee=!!t.selectionToolbarIncludeContext,un(),j.debug("[SelectionToolbar] toggle state:",Qe?"enabled":"disabled","blocked domains:",ut.length),Qe?ri():li())})}function La(){_a(an),an=Oa(mn)}function ri(){if(!Y||!de()||io)return;La();let e=new MutationObserver(()=>{ro||=setTimeout(()=>{ro=null,Qe&&La()},300)});try{e.observe(document.body||document.documentElement,{childList:!0,subtree:!0})}catch{return}io=e}function li(){ro&&=(clearTimeout(ro),null),io&&=(io.disconnect(),null),_a(an)}var go=!0,pt="light";function Zl(){return go?pt==="system"?typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":pt==="dark"?"dark":"light":"light"}function hn(){vl(Zl())}function Jl(){de()&&chrome.storage.local.get(["appTheme","selectionToolbarFollowTheme"],e=>{pt=["light","dark","system"].includes(e.appTheme)?e.appTheme:"light",go=e.selectionToolbarFollowTheme===void 0?!0:!!e.selectionToolbarFollowTheme,hn()})}de()&&chrome.storage.onChanged.addListener((e,t)=>{de()&&(t==="local"&&e.enableSelectionToolbar&&(lo++,Qe=!!e.enableSelectionToolbar.newValue,Qe?ri():(li(),le(),Ze(),E="")),t==="local"&&e.blockedDomains&&(lo++,ut=e.blockedDomains.newValue||[]),t==="local"&&e.selectionToolbarIncludeContext&&(ee=!!e.selectionToolbarIncludeContext.newValue,ee||(F=""),un()),t==="local"&&e.toolbarTools&&Ra(),t==="local"&&(e.appTheme||e.selectionToolbarFollowTheme)&&(e.appTheme&&(pt=["light","dark","system"].includes(e.appTheme.newValue)?e.appTheme.newValue:pt),e.selectionToolbarFollowTheme&&(go=!!e.selectionToolbarFollowTheme.newValue),hn()))}),Wn(()=>{Ra(),Y&&(T&&=(T.remove(),null),Ja(),v&&(v.remove(),v=null,re=!1,Se=!1,Te=""))});function es(){if(ja(),Y&&(Ja(),ei()),Xl(),Jl(),typeof matchMedia<"u"){let e=matchMedia("(prefers-color-scheme: dark)"),t=()=>{go&&pt==="system"&&hn()};e.addEventListener?e.addEventListener("change",t):e.addListener&&e.addListener(t)}document.addEventListener("selectionchange",mn),document.addEventListener("click",Ul,!0),document.addEventListener("mouseup",zl,!0),window.addEventListener("scroll",Kl,!0),window.addEventListener("resize",Gl),window.addEventListener("message",e=>{if(e.data?.type==="IFRAME_CONTEXT_REFRESH"){if(Y||e.source!==window.parent)return;let t=typeof e.data.enabled=="boolean"?e.data.enabled:ee;ee=t;try{for(let i=0;i<window.frames.length;i++)window.frames[i].postMessage({type:"IFRAME_CONTEXT_REFRESH",enabled:t},"*")}catch{}let o=Pe();if(!o.text||o.text.length<2)return;E=o.text,ge=o.range?o.range.cloneRange():null,F=t?so(o.range,o.text):"";let n=dt(o.range);try{window.parent.postMessage({type:"IFRAME_SELECTION",text:o.text,x:n.x,y:n.y,context:F||void 0},"*")}catch{}try{chrome.runtime.sendMessage({type:"IFRAME_SELECTION",text:o.text,x:n.x,y:n.y,context:F||void 0}).catch(()=>{})}catch{}return}if(e.data?.type==="IFRAME_SELECTION"&&Y){if(re){E="",ge=null,F="",Ge=!1,ye=null;return}E=e.data.text,ge=null,F=typeof e.data.context=="string"?e.data.context:"",Ge=!0;let t=e.data.x,o=e.data.y;if(window.top!==window&&window.frameElement)try{let n=window.frameElement.getBoundingClientRect();t=e.data.x-n.left,o=e.data.y-n.top}catch{}if(ce&&T&&E){requestAnimationFrame(()=>{let n=window.innerWidth,i=T.offsetWidth||300,a=T.offsetHeight||40,r=t-i/2;r<8&&(r=8),r+i>n-8&&(r=n-i-8);let s=o-a-8;s<8&&(s=o+8),T.style.left=r+"px",T.style.top=s+"px"});return}ye={x:t,y:o},E&&E.length>=2&&Lt(t,o);return}e.data?.type==="IFRAME_CLICK_DISMISS"&&Y&&re&&!Se&&Ze()}),j.debug("[SelectionToolbar] initialization complete",Y?"(toplayerframe)":"(subframe)")}G("zh",{contentIndex:{invalidRef:"\u65E0\u6548\u7684\u5143\u7D20\u7F16\u53F7 ref={ref}\uFF0C\u8BF7\u5148\u8C03\u7528 query_elements",regionSelectHint:"\u62D6\u62FD\u9009\u62E9\u622A\u56FE\u533A\u57DF\uFF0C\u6309 Esc \u53D6\u6D88"}}),G("en",{contentIndex:{invalidRef:"Invalid element ref={ref}; please call query_elements first",regionSelectHint:"Drag to select the screenshot area; press Esc to cancel"}});var ts=$n();console.log("[ContentScript] content script loaded URL:",window.location.href,"isTopFrame:",window.top===window,"hasBody:",!!document.body),document.addEventListener("keydown",e=>{if((e.ctrlKey||e.metaKey)&&e.shiftKey&&e.key==="A"){e.preventDefault();try{chrome.action.click()}catch{}}if(e.altKey&&!e.shiftKey&&e.code==="KeyS"&&!e.ctrlKey&&!e.metaKey){e.preventDefault();try{chrome.runtime.sendMessage({type:"CAPTURE_TAB_FROM_PAGE"})}catch{}}if(e.altKey&&e.shiftKey&&e.code==="KeyS"&&!e.ctrlKey&&!e.metaKey){e.preventDefault();try{chrome.runtime.sendMessage({type:"CAPTURE_REGION_FROM_PAGE"})}catch{}}if(e.altKey&&!e.shiftKey&&e.code==="KeyV"&&!e.ctrlKey&&!e.metaKey){if(e.isComposing||e.repeat)return;e.preventDefault();try{chrome.runtime.sendMessage({type:"VOICE_TOGGLE_FROM_PAGE"})}catch{}}});var co={...kt};Wo().then(e=>{co=e}).catch(()=>{}),ba(e=>{co=e});var Qo=fa(()=>co);window.addEventListener("keydown",e=>{Qo.onKeyDown(e)==="cancel"&&e.preventDefault()},!0),window.addEventListener("keyup",e=>{if(Qo.onKeyUp(e)==="trigger"){e.preventDefault();try{chrome.runtime.sendMessage({type:"VOICE_TOGGLE_FROM_PAGE"})}catch{}}},!0),window.addEventListener("blur",()=>{Qo.reset()});var Fa=()=>{Wo().then(e=>{co=e}).catch(()=>{})};window.addEventListener("focus",Fa),document.addEventListener("visibilitychange",()=>{document.hidden||Fa()});var os={GET_PAGE_TEXT:e=>jr(e),GET_FULL_HTML:e=>$r(e),QUERY_ELEMENTS:e=>qr(e),SNAPSHOT_COLLECT:e=>window.top!==window&&!_r()?{success:!0,visible:!1}:Ga({filterByText:e.filterByText,elementTypes:e.elementTypes,frames:e.frames==="none"?"none":"auto"}),GET_SELECTED_CONTENT:e=>Vr(e.format),INTERACT_ELEMENT:e=>e.ref==null?e.text?ll(e.text,{tag:e.tag,action:e.action,waitTime:e.waitTime,timeout:e.timeout}):e.action==="hover"?Zr(e.selector):el(e.selector,e.waitTime,e.timeout):Kr(e.ref,e.action,{waitTime:e.waitTime,timeout:e.timeout,value:e.value,clear:e.clear,submit:e.submit}),FILL_FORM:e=>tl(e.fields,e.waitTime),SCROLL_TO:e=>e.target==="text"&&e.text?Wr(e.text,{maxScrolls:e.maxScrolls,pauseMs:e.pauseMs}):ol(e),KEYBOARD_INPUT:e=>il(e),FILE_UPLOAD:e=>rl(e.selector,e.fileName,e.fileContent,e.fileType),EXTRACT_TABLE:e=>Yr(e.selector,e.includeHeaders,e.format),EXTRACT_METADATA:()=>Sr(),EXTRACT_LINKS:e=>Ar(e.filterType,e.includeImages),EXTRACT_FORMS:e=>Cr(e.formSelector),EXTRACT_IMAGES:e=>Er(e),SEARCH_IN_PAGE:e=>Ir(e),IFRAME_CONTENT:e=>Rr(e.selector,e.includeNested,e.maxLength),SCROLL_COLLECT:e=>zr(e),MANAGE_STORAGE:e=>cl(e),INJECT_CSS:e=>e.injectMode==="highlight"?Jr(e.text,e.color):ml(e.css,e.targetSelector,e.injectMode),EVALUATE_DONE_CRITERIA:e=>gl(e.criteria),COPY_TO_CLIPBOARD:e=>Qr(e.text),PASTE_FROM_CLIPBOARD:()=>Xr(),WAIT_ELEMENT:e=>nl(e.selector,e.state,e.timeout),SELECT_DROPDOWN:e=>{let t=e.triggerSelector;if(e.ref!=null&&!t){let o=cn(e.ref);if(!o.element)return{success:!1,error:m("contentIndex.invalidRef",{ref:e.ref}),...o.suggestions&&o.suggestions.length?{suggestions:o.suggestions}:{}};t=o.entry.selector}return sl(t,e.optionText,e.optionSelector,e.timeout)},QRCODE:e=>ul(e.content,e.size,e.errorCorrection,e.showImage),START_REGION_SELECTION:()=>is(),GET_PAGE_METRICS:()=>({width:Math.max(document.documentElement.scrollWidth,document.body.scrollWidth||0,window.innerWidth),height:Math.max(document.documentElement.scrollHeight,document.body.scrollHeight||0,window.innerHeight)})},ns=new Set(["COPY_TO_CLIPBOARD","PASTE_FROM_CLIPBOARD","WAIT_ELEMENT","SELECT_DROPDOWN","QRCODE","START_REGION_SELECTION","INTERACT_ELEMENT","SCROLL_TO","KEYBOARD_INPUT"]),as=new Set(["GET_PAGE_TEXT","GET_FULL_HTML","EXTRACT_METADATA","EXTRACT_TABLE","IFRAME_CONTENT","QUERY_ELEMENTS","EVALUATE_DONE_CRITERIA","INTERACT_ELEMENT","SCROLL_TO"]);de()&&chrome.runtime.onMessage.addListener((e,t,o)=>{if(as.has(e.type)&&window.top!==window&&!e._frameRouted)return;if(e.action==="getSelectedText"){let a=window.getSelection()?.toString()?.trim()||"";if(a&&document.hasFocus())return o({text:a}),!0;let r=Pe();return r.text&&r.text.trim()&&document.hasFocus()&&o({text:r.text.trim()}),!0}let n=os[e.type];if(!n)return;let i=n(e);if(ns.has(e.type)||i instanceof Promise)return Promise.resolve(i).then(o),!0;o(i)}),window.addEventListener("error",e=>{e.message&&e.message.includes("Extension context invalidated")&&e.preventDefault()}),window.addEventListener("unhandledrejection",e=>{(e.reason?.message||String(e.reason)).includes("Extension context invalidated")&&e.preventDefault()}),ts.then(()=>{es()});function is(){return new Promise(e=>{let t=document.createElement("div");t.id="__region_select_overlay__",t.style.cssText=`
1001
+ `).map(c=>c.replace(/^[\d]+[\.\、\s]+/,"").trim()).filter(c=>c.length>0).slice(0,3));let s=rn(i);Ia(Ye.x,Ye.y,s,a),It(e.usage)}}}});function Ql(){if(!de())return;let e=window.location.hostname;try{chrome.storage.local.get(["blockedDomains"],t=>{try{let o=t.blockedDomains||[];o.includes(e)||(o.push(e),chrome.storage.local.set({blockedDomains:o},()=>{ut=o,le(),Ze(),E=""}))}catch{}})}catch{}}function Xl(){if(!de())return;let e=++lo;chrome.storage.local.get(["enableSelectionToolbar","blockedDomains","selectionToolbarIncludeContext"],t=>{e===lo&&(Qe=t.enableSelectionToolbar===void 0?!0:!!t.enableSelectionToolbar,ut=t.blockedDomains||[],ee=!!t.selectionToolbarIncludeContext,un(),j.debug("[SelectionToolbar] toggle state:",Qe?"enabled":"disabled","blocked domains:",ut.length),Qe?ri():li())})}function La(){Ha(an),an=Oa(mn)}function ri(){if(!Y||!de()||io)return;La();let e=new MutationObserver(()=>{ro||=setTimeout(()=>{ro=null,Qe&&La()},300)});try{e.observe(document.body||document.documentElement,{childList:!0,subtree:!0})}catch{return}io=e}function li(){ro&&=(clearTimeout(ro),null),io&&=(io.disconnect(),null),Ha(an)}var go=!0,pt="light";function Zl(){return go?pt==="system"?typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":pt==="dark"?"dark":"light":"light"}function hn(){vl(Zl())}function Jl(){de()&&chrome.storage.local.get(["appTheme","selectionToolbarFollowTheme"],e=>{pt=["light","dark","system"].includes(e.appTheme)?e.appTheme:"light",go=e.selectionToolbarFollowTheme===void 0?!0:!!e.selectionToolbarFollowTheme,hn()})}de()&&chrome.storage.onChanged.addListener((e,t)=>{de()&&(t==="local"&&e.enableSelectionToolbar&&(lo++,Qe=!!e.enableSelectionToolbar.newValue,Qe?ri():(li(),le(),Ze(),E="")),t==="local"&&e.blockedDomains&&(lo++,ut=e.blockedDomains.newValue||[]),t==="local"&&e.selectionToolbarIncludeContext&&(ee=!!e.selectionToolbarIncludeContext.newValue,ee||(F=""),un()),t==="local"&&e.toolbarTools&&Ra(),t==="local"&&(e.appTheme||e.selectionToolbarFollowTheme)&&(e.appTheme&&(pt=["light","dark","system"].includes(e.appTheme.newValue)?e.appTheme.newValue:pt),e.selectionToolbarFollowTheme&&(go=!!e.selectionToolbarFollowTheme.newValue),hn()))}),Wn(()=>{Ra(),Y&&(T&&=(T.remove(),null),Ja(),v&&(v.remove(),v=null,re=!1,Se=!1,Te=""))});function es(){if(ja(),Y&&(Ja(),ei()),Xl(),Jl(),typeof matchMedia<"u"){let e=matchMedia("(prefers-color-scheme: dark)"),t=()=>{go&&pt==="system"&&hn()};e.addEventListener?e.addEventListener("change",t):e.addListener&&e.addListener(t)}document.addEventListener("selectionchange",mn),document.addEventListener("click",Ul,!0),document.addEventListener("mouseup",zl,!0),window.addEventListener("scroll",Kl,!0),window.addEventListener("resize",Gl),window.addEventListener("message",e=>{if(e.data?.type==="IFRAME_CONTEXT_REFRESH"){if(Y||e.source!==window.parent)return;let t=typeof e.data.enabled=="boolean"?e.data.enabled:ee;ee=t;try{for(let i=0;i<window.frames.length;i++)window.frames[i].postMessage({type:"IFRAME_CONTEXT_REFRESH",enabled:t},"*")}catch{}let o=Pe();if(!o.text||o.text.length<2)return;E=o.text,ge=o.range?o.range.cloneRange():null,F=t?so(o.range,o.text):"";let n=dt(o.range);try{window.parent.postMessage({type:"IFRAME_SELECTION",text:o.text,x:n.x,y:n.y,context:F||void 0},"*")}catch{}try{chrome.runtime.sendMessage({type:"IFRAME_SELECTION",text:o.text,x:n.x,y:n.y,context:F||void 0}).catch(()=>{})}catch{}return}if(e.data?.type==="IFRAME_SELECTION"&&Y){if(re){E="",ge=null,F="",Ge=!1,ye=null;return}E=e.data.text,ge=null,F=typeof e.data.context=="string"?e.data.context:"",Ge=!0;let t=e.data.x,o=e.data.y;if(window.top!==window&&window.frameElement)try{let n=window.frameElement.getBoundingClientRect();t=e.data.x-n.left,o=e.data.y-n.top}catch{}if(ce&&T&&E){requestAnimationFrame(()=>{let n=window.innerWidth,i=T.offsetWidth||300,a=T.offsetHeight||40,r=t-i/2;r<8&&(r=8),r+i>n-8&&(r=n-i-8);let s=o-a-8;s<8&&(s=o+8),T.style.left=r+"px",T.style.top=s+"px"});return}ye={x:t,y:o},E&&E.length>=2&&Lt(t,o);return}e.data?.type==="IFRAME_CLICK_DISMISS"&&Y&&re&&!Se&&Ze()}),j.debug("[SelectionToolbar] initialization complete",Y?"(toplayerframe)":"(subframe)")}G("zh",{contentIndex:{invalidRef:"\u65E0\u6548\u7684\u5143\u7D20\u7F16\u53F7 ref={ref}\uFF0C\u8BF7\u5148\u8C03\u7528 query_elements",regionSelectHint:"\u62D6\u62FD\u9009\u62E9\u622A\u56FE\u533A\u57DF\uFF0C\u6309 Esc \u53D6\u6D88"}}),G("en",{contentIndex:{invalidRef:"Invalid element ref={ref}; please call query_elements first",regionSelectHint:"Drag to select the screenshot area; press Esc to cancel"}});var ts=$n();console.log("[ContentScript] content script loaded URL:",window.location.href,"isTopFrame:",window.top===window,"hasBody:",!!document.body),document.addEventListener("keydown",e=>{if((e.ctrlKey||e.metaKey)&&e.shiftKey&&e.key==="A"){e.preventDefault();try{chrome.action.click()}catch{}}if(e.altKey&&!e.shiftKey&&e.code==="KeyS"&&!e.ctrlKey&&!e.metaKey){e.preventDefault();try{chrome.runtime.sendMessage({type:"CAPTURE_TAB_FROM_PAGE"})}catch{}}if(e.altKey&&e.shiftKey&&e.code==="KeyS"&&!e.ctrlKey&&!e.metaKey){e.preventDefault();try{chrome.runtime.sendMessage({type:"CAPTURE_REGION_FROM_PAGE"})}catch{}}if(e.altKey&&!e.shiftKey&&e.code==="KeyV"&&!e.ctrlKey&&!e.metaKey){if(e.isComposing||e.repeat)return;e.preventDefault();try{chrome.runtime.sendMessage({type:"VOICE_TOGGLE_FROM_PAGE"})}catch{}}});var co={...kt};Wo().then(e=>{co=e}).catch(()=>{}),ba(e=>{co=e});var Qo=fa(()=>co);window.addEventListener("keydown",e=>{Qo.onKeyDown(e)==="cancel"&&e.preventDefault()},!0),window.addEventListener("keyup",e=>{if(Qo.onKeyUp(e)==="trigger"){e.preventDefault();try{chrome.runtime.sendMessage({type:"VOICE_TOGGLE_FROM_PAGE"})}catch{}}},!0),window.addEventListener("blur",()=>{Qo.reset()});var Fa=()=>{Wo().then(e=>{co=e}).catch(()=>{})};window.addEventListener("focus",Fa),document.addEventListener("visibilitychange",()=>{document.hidden||Fa()});var os={GET_PAGE_TEXT:e=>jr(e),GET_FULL_HTML:e=>$r(e),QUERY_ELEMENTS:e=>qr(e),SNAPSHOT_COLLECT:e=>window.top!==window&&!Hr()?{success:!0,visible:!1}:Ga({filterByText:e.filterByText,elementTypes:e.elementTypes,frames:e.frames==="none"?"none":"auto"}),GET_SELECTED_CONTENT:e=>Vr(e.format),INTERACT_ELEMENT:e=>e.ref==null?e.text?ll(e.text,{tag:e.tag,action:e.action,waitTime:e.waitTime,timeout:e.timeout}):e.action==="hover"?Zr(e.selector):el(e.selector,e.waitTime,e.timeout):Kr(e.ref,e.action,{waitTime:e.waitTime,timeout:e.timeout,value:e.value,clear:e.clear,submit:e.submit}),FILL_FORM:e=>tl(e.fields,e.waitTime),SCROLL_TO:e=>e.target==="text"&&e.text?Wr(e.text,{maxScrolls:e.maxScrolls,pauseMs:e.pauseMs}):ol(e),KEYBOARD_INPUT:e=>il(e),FILE_UPLOAD:e=>rl(e.selector,e.fileName,e.fileContent,e.fileType),EXTRACT_TABLE:e=>Yr(e.selector,e.includeHeaders,e.format),EXTRACT_METADATA:()=>Sr(),EXTRACT_LINKS:e=>Ar(e.filterType,e.includeImages),EXTRACT_FORMS:e=>Cr(e.formSelector),EXTRACT_IMAGES:e=>Er(e),SEARCH_IN_PAGE:e=>Ir(e),IFRAME_CONTENT:e=>Rr(e.selector,e.includeNested,e.maxLength),SCROLL_COLLECT:e=>zr(e),MANAGE_STORAGE:e=>cl(e),INJECT_CSS:e=>e.injectMode==="highlight"?Jr(e.text,e.color):ml(e.css,e.targetSelector,e.injectMode),EVALUATE_DONE_CRITERIA:e=>gl(e.criteria),COPY_TO_CLIPBOARD:e=>Qr(e.text),PASTE_FROM_CLIPBOARD:()=>Xr(),WAIT_ELEMENT:e=>nl(e.selector,e.state,e.timeout),SELECT_DROPDOWN:e=>{let t=e.triggerSelector;if(e.ref!=null&&!t){let o=cn(e.ref);if(!o.element)return{success:!1,error:m("contentIndex.invalidRef",{ref:e.ref}),...o.suggestions&&o.suggestions.length?{suggestions:o.suggestions}:{}};t=o.entry.selector}return sl(t,e.optionText,e.optionSelector,e.timeout)},QRCODE:e=>ul(e.content,e.size,e.errorCorrection,e.showImage),START_REGION_SELECTION:()=>is(),GET_PAGE_METRICS:()=>({width:Math.max(document.documentElement.scrollWidth,document.body.scrollWidth||0,window.innerWidth),height:Math.max(document.documentElement.scrollHeight,document.body.scrollHeight||0,window.innerHeight)})},ns=new Set(["COPY_TO_CLIPBOARD","PASTE_FROM_CLIPBOARD","WAIT_ELEMENT","SELECT_DROPDOWN","QRCODE","START_REGION_SELECTION","INTERACT_ELEMENT","SCROLL_TO","KEYBOARD_INPUT"]),as=new Set(["GET_PAGE_TEXT","GET_FULL_HTML","EXTRACT_METADATA","EXTRACT_TABLE","IFRAME_CONTENT","QUERY_ELEMENTS","EVALUATE_DONE_CRITERIA","INTERACT_ELEMENT","SCROLL_TO"]);de()&&chrome.runtime.onMessage.addListener((e,t,o)=>{if(as.has(e.type)&&window.top!==window&&!e._frameRouted)return;if(e.action==="getSelectedText"){let a=window.getSelection()?.toString()?.trim()||"";if(a&&document.hasFocus())return o({text:a}),!0;let r=Pe();return r.text&&r.text.trim()&&document.hasFocus()&&o({text:r.text.trim()}),!0}let n=os[e.type];if(!n)return;let i=n(e);if(ns.has(e.type)||i instanceof Promise)return Promise.resolve(i).then(o),!0;o(i)}),window.addEventListener("error",e=>{e.message&&e.message.includes("Extension context invalidated")&&e.preventDefault()}),window.addEventListener("unhandledrejection",e=>{(e.reason?.message||String(e.reason)).includes("Extension context invalidated")&&e.preventDefault()}),ts.then(()=>{es()});function is(){return new Promise(e=>{let t=document.createElement("div");t.id="__region_select_overlay__",t.style.cssText=`
1002
1002
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
1003
1003
  z-index: 2147483647; cursor: crosshair;
1004
1004
  background: rgba(0, 0, 0, 0.15);