@ryuu-64/dsh-find-all 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -1,11 +1,9 @@
1
1
  // Generated by npm run build. Edit src/, then rebuild.
2
2
  window.__ModuleLoader__.load({id:"@ryuu-64/dsh-find-all",factory:(require)=>{
3
3
  var module={exports:{}};var exports=module.exports;
4
- var __create = Object.create;
5
4
  var __defProp = Object.defineProperty;
6
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
- var __getProtoOf = Object.getPrototypeOf;
9
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
8
  var __commonJS = (cb, mod) => function __require() {
11
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -22,482 +20,8 @@ var __copyProps = (to, from, except, desc) => {
22
20
  }
23
21
  return to;
24
22
  };
25
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
- // If the importer is in node compatibility mode or this is not an ESM
27
- // file that has been converted to a CommonJS file using a Babel-
28
- // compatible transform (i.e. "__esModule" has not been set), then set
29
- // "default" to the CommonJS "module.exports" for node compatibility.
30
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31
- mod
32
- ));
33
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
24
 
35
- // node_modules/semver/internal/debug.js
36
- var require_debug = __commonJS({
37
- "node_modules/semver/internal/debug.js"(exports, module2) {
38
- "use strict";
39
- var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
40
- };
41
- module2.exports = debug;
42
- }
43
- });
44
-
45
- // node_modules/semver/internal/constants.js
46
- var require_constants = __commonJS({
47
- "node_modules/semver/internal/constants.js"(exports, module2) {
48
- "use strict";
49
- var SEMVER_SPEC_VERSION = "2.0.0";
50
- var MAX_LENGTH = 256;
51
- var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
52
- 9007199254740991;
53
- var MAX_SAFE_COMPONENT_LENGTH = 16;
54
- var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
55
- var RELEASE_TYPES = [
56
- "major",
57
- "premajor",
58
- "minor",
59
- "preminor",
60
- "patch",
61
- "prepatch",
62
- "prerelease"
63
- ];
64
- module2.exports = {
65
- MAX_LENGTH,
66
- MAX_SAFE_COMPONENT_LENGTH,
67
- MAX_SAFE_BUILD_LENGTH,
68
- MAX_SAFE_INTEGER,
69
- RELEASE_TYPES,
70
- SEMVER_SPEC_VERSION,
71
- FLAG_INCLUDE_PRERELEASE: 1,
72
- FLAG_LOOSE: 2
73
- };
74
- }
75
- });
76
-
77
- // node_modules/semver/internal/re.js
78
- var require_re = __commonJS({
79
- "node_modules/semver/internal/re.js"(exports, module2) {
80
- "use strict";
81
- var {
82
- MAX_SAFE_COMPONENT_LENGTH,
83
- MAX_SAFE_BUILD_LENGTH,
84
- MAX_LENGTH
85
- } = require_constants();
86
- var debug = require_debug();
87
- exports = module2.exports = {};
88
- var re = exports.re = [];
89
- var safeRe = exports.safeRe = [];
90
- var src = exports.src = [];
91
- var safeSrc = exports.safeSrc = [];
92
- var t = exports.t = {};
93
- var R = 0;
94
- var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
95
- var safeRegexReplacements = [
96
- ["\\s", 1],
97
- ["\\d", MAX_LENGTH],
98
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
99
- ];
100
- var makeSafeRegex = (value) => {
101
- for (const [token, max] of safeRegexReplacements) {
102
- value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
103
- }
104
- return value;
105
- };
106
- var createToken = (name, value, isGlobal) => {
107
- const safe = makeSafeRegex(value);
108
- const index = R++;
109
- debug(name, index, value);
110
- t[name] = index;
111
- src[index] = value;
112
- safeSrc[index] = safe;
113
- re[index] = new RegExp(value, isGlobal ? "g" : void 0);
114
- safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
115
- };
116
- createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
117
- createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
118
- createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
119
- createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
120
- createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
121
- createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
122
- createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
123
- createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
124
- createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
125
- createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
126
- createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
127
- createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
128
- createToken("FULL", `^${src[t.FULLPLAIN]}$`);
129
- createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
130
- createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
131
- createToken("GTLT", "((?:<|>)?=?)");
132
- createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
133
- createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
134
- createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
135
- createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
136
- createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
137
- createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
138
- createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
139
- createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
140
- createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
141
- createToken("COERCERTL", src[t.COERCE], true);
142
- createToken("COERCERTLFULL", src[t.COERCEFULL], true);
143
- createToken("LONETILDE", "(?:~>?)");
144
- createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
145
- exports.tildeTrimReplace = "$1~";
146
- createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
147
- createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
148
- createToken("LONECARET", "(?:\\^)");
149
- createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
150
- exports.caretTrimReplace = "$1^";
151
- createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
152
- createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
153
- createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
154
- createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
155
- createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
156
- exports.comparatorTrimReplace = "$1$2$3";
157
- createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
158
- createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
159
- createToken("STAR", "(<|>)?=?\\s*\\*");
160
- createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
161
- createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
162
- }
163
- });
164
-
165
- // node_modules/semver/internal/parse-options.js
166
- var require_parse_options = __commonJS({
167
- "node_modules/semver/internal/parse-options.js"(exports, module2) {
168
- "use strict";
169
- var looseOption = Object.freeze({ loose: true });
170
- var emptyOpts = Object.freeze({});
171
- var parseOptions = (options) => {
172
- if (!options) {
173
- return emptyOpts;
174
- }
175
- if (typeof options !== "object") {
176
- return looseOption;
177
- }
178
- return options;
179
- };
180
- module2.exports = parseOptions;
181
- }
182
- });
183
-
184
- // node_modules/semver/internal/identifiers.js
185
- var require_identifiers = __commonJS({
186
- "node_modules/semver/internal/identifiers.js"(exports, module2) {
187
- "use strict";
188
- var numeric = /^[0-9]+$/;
189
- var compareIdentifiers = (a, b) => {
190
- if (typeof a === "number" && typeof b === "number") {
191
- return a === b ? 0 : a < b ? -1 : 1;
192
- }
193
- const anum = numeric.test(a);
194
- const bnum = numeric.test(b);
195
- if (anum && bnum) {
196
- a = +a;
197
- b = +b;
198
- }
199
- return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
200
- };
201
- var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
202
- module2.exports = {
203
- compareIdentifiers,
204
- rcompareIdentifiers
205
- };
206
- }
207
- });
208
-
209
- // node_modules/semver/classes/semver.js
210
- var require_semver = __commonJS({
211
- "node_modules/semver/classes/semver.js"(exports, module2) {
212
- "use strict";
213
- var debug = require_debug();
214
- var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
215
- var { safeRe: re, t } = require_re();
216
- var parseOptions = require_parse_options();
217
- var { compareIdentifiers } = require_identifiers();
218
- var isPrereleaseIdentifier = (prerelease, identifier) => {
219
- const identifiers = identifier.split(".");
220
- if (identifiers.length > prerelease.length) {
221
- return false;
222
- }
223
- for (let i = 0; i < identifiers.length; i++) {
224
- if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {
225
- return false;
226
- }
227
- }
228
- return true;
229
- };
230
- var SemVer2 = class _SemVer {
231
- constructor(version2, options) {
232
- options = parseOptions(options);
233
- if (version2 instanceof _SemVer) {
234
- if (version2.loose === !!options.loose && version2.includePrerelease === !!options.includePrerelease) {
235
- return version2;
236
- } else {
237
- version2 = version2.version;
238
- }
239
- } else if (typeof version2 !== "string") {
240
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);
241
- }
242
- if (version2.length > MAX_LENGTH) {
243
- throw new TypeError(
244
- `version is longer than ${MAX_LENGTH} characters`
245
- );
246
- }
247
- debug("SemVer", version2, options);
248
- this.options = options;
249
- this.loose = !!options.loose;
250
- this.includePrerelease = !!options.includePrerelease;
251
- const m = version2.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
252
- if (!m) {
253
- throw new TypeError(`Invalid Version: ${version2}`);
254
- }
255
- this.raw = version2;
256
- this.major = +m[1];
257
- this.minor = +m[2];
258
- this.patch = +m[3];
259
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
260
- throw new TypeError("Invalid major version");
261
- }
262
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
263
- throw new TypeError("Invalid minor version");
264
- }
265
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
266
- throw new TypeError("Invalid patch version");
267
- }
268
- if (!m[4]) {
269
- this.prerelease = [];
270
- } else {
271
- this.prerelease = m[4].split(".").map((id) => {
272
- if (/^[0-9]+$/.test(id)) {
273
- const num = +id;
274
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
275
- return num;
276
- }
277
- }
278
- return id;
279
- });
280
- }
281
- this.build = m[5] ? m[5].split(".") : [];
282
- this.format();
283
- }
284
- format() {
285
- this.version = `${this.major}.${this.minor}.${this.patch}`;
286
- if (this.prerelease.length) {
287
- this.version += `-${this.prerelease.join(".")}`;
288
- }
289
- return this.version;
290
- }
291
- toString() {
292
- return this.version;
293
- }
294
- compare(other) {
295
- debug("SemVer.compare", this.version, this.options, other);
296
- if (!(other instanceof _SemVer)) {
297
- if (typeof other === "string" && other === this.version) {
298
- return 0;
299
- }
300
- other = new _SemVer(other, this.options);
301
- }
302
- if (other.version === this.version) {
303
- return 0;
304
- }
305
- return this.compareMain(other) || this.comparePre(other);
306
- }
307
- compareMain(other) {
308
- if (!(other instanceof _SemVer)) {
309
- other = new _SemVer(other, this.options);
310
- }
311
- if (this.major < other.major) {
312
- return -1;
313
- }
314
- if (this.major > other.major) {
315
- return 1;
316
- }
317
- if (this.minor < other.minor) {
318
- return -1;
319
- }
320
- if (this.minor > other.minor) {
321
- return 1;
322
- }
323
- if (this.patch < other.patch) {
324
- return -1;
325
- }
326
- if (this.patch > other.patch) {
327
- return 1;
328
- }
329
- return 0;
330
- }
331
- comparePre(other) {
332
- if (!(other instanceof _SemVer)) {
333
- other = new _SemVer(other, this.options);
334
- }
335
- if (this.prerelease.length && !other.prerelease.length) {
336
- return -1;
337
- } else if (!this.prerelease.length && other.prerelease.length) {
338
- return 1;
339
- } else if (!this.prerelease.length && !other.prerelease.length) {
340
- return 0;
341
- }
342
- let i = 0;
343
- do {
344
- const a = this.prerelease[i];
345
- const b = other.prerelease[i];
346
- debug("prerelease compare", i, a, b);
347
- if (a === void 0 && b === void 0) {
348
- return 0;
349
- } else if (b === void 0) {
350
- return 1;
351
- } else if (a === void 0) {
352
- return -1;
353
- } else if (a === b) {
354
- continue;
355
- } else {
356
- return compareIdentifiers(a, b);
357
- }
358
- } while (++i);
359
- }
360
- compareBuild(other) {
361
- if (!(other instanceof _SemVer)) {
362
- other = new _SemVer(other, this.options);
363
- }
364
- let i = 0;
365
- do {
366
- const a = this.build[i];
367
- const b = other.build[i];
368
- debug("build compare", i, a, b);
369
- if (a === void 0 && b === void 0) {
370
- return 0;
371
- } else if (b === void 0) {
372
- return 1;
373
- } else if (a === void 0) {
374
- return -1;
375
- } else if (a === b) {
376
- continue;
377
- } else {
378
- return compareIdentifiers(a, b);
379
- }
380
- } while (++i);
381
- }
382
- // preminor will bump the version up to the next minor release, and immediately
383
- // down to pre-release. premajor and prepatch work the same way.
384
- inc(release, identifier, identifierBase) {
385
- if (release.startsWith("pre")) {
386
- if (!identifier && identifierBase === false) {
387
- throw new Error("invalid increment argument: identifier is empty");
388
- }
389
- if (identifier) {
390
- const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
391
- if (!match || match[1] !== identifier) {
392
- throw new Error(`invalid identifier: ${identifier}`);
393
- }
394
- }
395
- }
396
- switch (release) {
397
- case "premajor":
398
- this.prerelease.length = 0;
399
- this.patch = 0;
400
- this.minor = 0;
401
- this.major++;
402
- this.inc("pre", identifier, identifierBase);
403
- break;
404
- case "preminor":
405
- this.prerelease.length = 0;
406
- this.patch = 0;
407
- this.minor++;
408
- this.inc("pre", identifier, identifierBase);
409
- break;
410
- case "prepatch":
411
- this.prerelease.length = 0;
412
- this.inc("patch", identifier, identifierBase);
413
- this.inc("pre", identifier, identifierBase);
414
- break;
415
- // If the input is a non-prerelease version, this acts the same as
416
- // prepatch.
417
- case "prerelease":
418
- if (this.prerelease.length === 0) {
419
- this.inc("patch", identifier, identifierBase);
420
- }
421
- this.inc("pre", identifier, identifierBase);
422
- break;
423
- case "release":
424
- if (this.prerelease.length === 0) {
425
- throw new Error(`version ${this.raw} is not a prerelease`);
426
- }
427
- this.prerelease.length = 0;
428
- break;
429
- case "major":
430
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
431
- this.major++;
432
- }
433
- this.minor = 0;
434
- this.patch = 0;
435
- this.prerelease = [];
436
- break;
437
- case "minor":
438
- if (this.patch !== 0 || this.prerelease.length === 0) {
439
- this.minor++;
440
- }
441
- this.patch = 0;
442
- this.prerelease = [];
443
- break;
444
- case "patch":
445
- if (this.prerelease.length === 0) {
446
- this.patch++;
447
- }
448
- this.prerelease = [];
449
- break;
450
- // This probably shouldn't be used publicly.
451
- // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
452
- case "pre": {
453
- const base = Number(identifierBase) ? 1 : 0;
454
- if (this.prerelease.length === 0) {
455
- this.prerelease = [base];
456
- } else {
457
- let i = this.prerelease.length;
458
- while (--i >= 0) {
459
- if (typeof this.prerelease[i] === "number") {
460
- this.prerelease[i]++;
461
- i = -2;
462
- }
463
- }
464
- if (i === -1) {
465
- if (identifier === this.prerelease.join(".") && identifierBase === false) {
466
- throw new Error("invalid increment argument: identifier already exists");
467
- }
468
- this.prerelease.push(base);
469
- }
470
- }
471
- if (identifier) {
472
- let prerelease = [identifier, base];
473
- if (identifierBase === false) {
474
- prerelease = [identifier];
475
- }
476
- if (isPrereleaseIdentifier(this.prerelease, identifier)) {
477
- const prereleaseBase = this.prerelease[identifier.split(".").length];
478
- if (isNaN(prereleaseBase)) {
479
- this.prerelease = prerelease;
480
- }
481
- } else {
482
- this.prerelease = prerelease;
483
- }
484
- }
485
- break;
486
- }
487
- default:
488
- throw new Error(`invalid increment argument: ${release}`);
489
- }
490
- this.raw = this.format();
491
- if (this.build.length) {
492
- this.raw += `+${this.build.join(".")}`;
493
- }
494
- return this;
495
- }
496
- };
497
- module2.exports = SemVer2;
498
- }
499
- });
500
-
501
25
  // node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js
502
26
  var require_react_dom_server_legacy_browser_production_min = __commonJS({
503
27
  "node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js"(exports) {
@@ -3708,20 +3232,167 @@ __export(client_exports, {
3708
3232
  });
3709
3233
  module.exports = __toCommonJS(client_exports);
3710
3234
 
3235
+ // src/conversation-search-settings.js
3236
+ var ENTRY = "find-all";
3237
+ var ROW = "@ryuu-64/dsh-find-all#find-all";
3238
+ var LOCALE = "dsh-find-all.settings";
3239
+ var FIELDS = ["defaultTitleOnly", "defaultIncludeArchived"];
3240
+ var en = {
3241
+ description: "Defaults for full-text conversation search.",
3242
+ defaultTitleOnly: "Search titles only by default",
3243
+ defaultTitleOnlyHint: "When off, search matches titles and message text. Either mode can be selected in the search dialog.",
3244
+ defaultIncludeArchived: "Include archived conversations by default",
3245
+ defaultIncludeArchivedHint: "Archived conversations can appear in results. Unarchive a conversation to open it.",
3246
+ overridden: "Overridden",
3247
+ reset: "Reset to default",
3248
+ unavailable: "Search settings are unavailable.",
3249
+ readOnly: "This profile\u2019s settings are read-only.",
3250
+ save: "Save",
3251
+ saving: "Saving\u2026",
3252
+ saveFailed: "The Host did not confirm the save. Your edits are still here. Reopen this page to reload the saved values."
3253
+ };
3254
+ var zh = {
3255
+ description: "\u5BF9\u8BDD\u5168\u6587\u641C\u7D22\u7684\u9ED8\u8BA4\u9009\u9879\u3002",
3256
+ defaultTitleOnly: "\u9ED8\u8BA4\u4EC5\u641C\u7D22\u6807\u9898",
3257
+ defaultTitleOnlyHint: "\u5173\u95ED\u540E\u540C\u65F6\u641C\u7D22\u6807\u9898\u548C\u6B63\u6587\u3002\u6253\u5F00\u641C\u7D22\u7A97\u53E3\u540E\u4E5F\u53EF\u4EE5\u5207\u6362\u3002",
3258
+ defaultIncludeArchived: "\u9ED8\u8BA4\u5305\u542B\u5DF2\u5F52\u6863\u5BF9\u8BDD",
3259
+ defaultIncludeArchivedHint: "\u8BA9\u5F52\u6863\u5BF9\u8BDD\u51FA\u73B0\u5728\u641C\u7D22\u7ED3\u679C\u4E2D\u3002\u6253\u5F00\u5F52\u6863\u5BF9\u8BDD\u524D\u9700\u5148\u53D6\u6D88\u5F52\u6863\u3002",
3260
+ overridden: "\u5DF2\u8986\u76D6",
3261
+ reset: "\u6062\u590D\u9ED8\u8BA4",
3262
+ unavailable: "\u641C\u7D22\u8BBE\u7F6E\u6682\u4E0D\u53EF\u7528\u3002",
3263
+ readOnly: "\u5F53\u524D\u914D\u7F6E\u7684\u8BBE\u7F6E\u4E3A\u53EA\u8BFB\u3002",
3264
+ save: "\u4FDD\u5B58",
3265
+ saving: "\u6B63\u5728\u4FDD\u5B58\u2026",
3266
+ saveFailed: "\u5BBF\u4E3B\u672A\u786E\u8BA4\u4FDD\u5B58\uFF0C\u7F16\u8F91\u5185\u5BB9\u4ECD\u4FDD\u7559\u3002\u91CD\u65B0\u6253\u5F00\u672C\u9875\u53EF\u8BFB\u53D6\u5DF2\u4FDD\u5B58\u7684\u503C\u3002"
3267
+ };
3268
+ var fieldRow = {
3269
+ display: "flex",
3270
+ alignItems: "flex-start",
3271
+ justifyContent: "space-between",
3272
+ gap: 16,
3273
+ fontSize: 13,
3274
+ lineHeight: 1.5,
3275
+ color: "var(--dsw-alias-label-primary)"
3276
+ };
3277
+ var fieldActions = { display: "flex", alignItems: "center", flexWrap: "wrap", justifyContent: "flex-end", gap: 8 };
3278
+ var fieldHint = { margin: 0, fontSize: 12, lineHeight: 1.5, color: "var(--dsw-alias-label-tertiary)" };
3279
+ var resetStyle = { height: "auto", padding: 0, fontSize: 12, lineHeight: 1.5, color: "var(--dsw-alias-label-secondary)" };
3280
+ function booleanField(field) {
3281
+ return {
3282
+ field,
3283
+ format: (value) => value === true ? "true" : "false",
3284
+ parse: (text) => ({ kind: "set", value: text === "true" })
3285
+ };
3286
+ }
3287
+ function installConversationSearchSettings(ctx, react, ui) {
3288
+ let source;
3289
+ ctx.inject(["configForms", "locale"], (child) => {
3290
+ const { configForms, locale } = child;
3291
+ if (typeof configForms?.whileServed !== "function" || typeof locale?.register !== "function") return;
3292
+ child.effect(() => {
3293
+ source = configForms.get(ENTRY);
3294
+ return () => {
3295
+ source = void 0;
3296
+ };
3297
+ });
3298
+ if (!ui.SettingsFormModel || !ui.SettingsForm || !ui.Switch || !ui.Tag) return;
3299
+ child.effect(() => locale.register(LOCALE, { en, zh }));
3300
+ child.effect(() => configForms.whileServed([ENTRY], () => {
3301
+ const model = new ui.SettingsFormModel(configForms.get(ENTRY), FIELDS.map(booleanField));
3302
+ const store = model.bind(() => ({
3303
+ shell: model.shell(),
3304
+ fields: Object.fromEntries(FIELDS.map((field) => [field, model.field(field)]))
3305
+ }));
3306
+ const actions = model.actions();
3307
+ const h = react.createElement;
3308
+ function SearchSettings({ t, view }) {
3309
+ const { shell, fields } = react.useSyncExternalStore(store.subscribe, store.getSnapshot);
3310
+ if (view === "summary") return t("description");
3311
+ const disabled = !shell.writable || shell.saving;
3312
+ const controls = FIELDS.map((field, index) => {
3313
+ const label = t(field);
3314
+ const value = fields[field];
3315
+ return h(
3316
+ "div",
3317
+ { key: field, style: {
3318
+ display: "grid",
3319
+ gap: 6,
3320
+ padding: "12px 0",
3321
+ borderTop: index ? "0.5px solid var(--dsw-alias-border-l2)" : void 0
3322
+ } },
3323
+ h(
3324
+ "div",
3325
+ { style: fieldRow },
3326
+ h("span", { style: { flex: 1, minWidth: 0 } }, label),
3327
+ h(
3328
+ "div",
3329
+ { style: fieldActions },
3330
+ value.overridden && h(ui.Tag, { tone: "neutral" }, t("overridden")),
3331
+ value.overridden && h(ui.Button, {
3332
+ type: "button",
3333
+ size: "sm",
3334
+ variant: "ghost",
3335
+ disabled,
3336
+ style: resetStyle,
3337
+ "aria-label": `${t("reset")} \xB7 ${label}`,
3338
+ onClick: () => actions.resetField(field)
3339
+ }, t("reset")),
3340
+ h(ui.Switch, {
3341
+ checked: value.text === "true",
3342
+ disabled,
3343
+ label,
3344
+ onChange: (checked) => actions.edit(field, String(checked))
3345
+ })
3346
+ )
3347
+ ),
3348
+ h("p", { style: fieldHint }, t(`${field}Hint`))
3349
+ );
3350
+ });
3351
+ const labels2 = {
3352
+ unavailable: t("unavailable"),
3353
+ readOnly: t("readOnly"),
3354
+ save: t("save"),
3355
+ saving: t("saving"),
3356
+ saveFailed: t("saveFailed")
3357
+ };
3358
+ return h(ui.SettingsForm, {
3359
+ labels: labels2,
3360
+ state: { ...shell, dirty: shell.dirty && shell.writable },
3361
+ onSave: actions.save,
3362
+ onDiscard: actions.discard
3363
+ }, controls);
3364
+ }
3365
+ const stop = child.slots.inject("plugins.row.config", () => child.slots.register({
3366
+ name: "plugins.row.config",
3367
+ key: ROW,
3368
+ locale: LOCALE
3369
+ }, SearchSettings));
3370
+ return () => {
3371
+ stop();
3372
+ model.dispose();
3373
+ };
3374
+ }));
3375
+ });
3376
+ return () => {
3377
+ const snapshot = source?.getSnapshot();
3378
+ return snapshot?.status === "ready" ? snapshot.value : void 0;
3379
+ };
3380
+ }
3381
+
3711
3382
  // src/conversation-search.js
3712
3383
  var ENDPOINT = "api/dsh-find-all/search";
3713
3384
  var DEFAULT_SCOPE = "ordinary-unarchived";
3714
3385
  var ARCHIVED_SCOPE = "ordinary-including-archived";
3715
3386
  var PAGE_MATCH_TARGET = 20;
3716
3387
  var EMPTY = { items: [], cursor: null, scanned: 0, total: 0, failed: 0, skipped: 0, complete: false };
3717
- var zh = typeof navigator !== "undefined" && /^zh/i.test(navigator.language || "");
3718
- var L = zh ? {
3388
+ var zh2 = typeof navigator !== "undefined" && /^zh/i.test(navigator.language || "");
3389
+ var L = zh2 ? {
3719
3390
  title: "\u5BF9\u8BDD\u5168\u6587\u641C\u7D22",
3720
3391
  close: "\u5173\u95ED\u5BF9\u8BDD\u5168\u6587\u641C\u7D22",
3721
3392
  placeholder: "\u641C\u7D22\u6807\u9898\u548C\u6B63\u6587\u2026",
3722
3393
  titlePlaceholder: "\u641C\u7D22\u6807\u9898\u2026",
3723
3394
  scope: "\u641C\u7D22\u8303\u56F4\uFF1A\u6240\u6709\u5DE5\u4F5C\u533A",
3724
- scopeDetails: "\u641C\u7D22\u5F53\u524D\u8FDE\u63A5\u670D\u52A1\u4E2D\u3001\u6240\u6709\u5DE5\u4F5C\u533A\u7684\u666E\u901A\u975E\u7A7A\u5BF9\u8BDD\uFF1B\u9ED8\u8BA4\u4E0D\u542B\u5F52\u6863\uFF0C\u53EF\u52FE\u9009\u5305\u542B\u5F52\u6863\uFF1B\u4E0D\u5305\u542B\u5B50\u4EE3\u7406\u5BF9\u8BDD\u3002",
3395
+ scopeDetails: "\u641C\u7D22\u5F53\u524D\u8FDE\u63A5\u670D\u52A1\u4E2D\u3001\u6240\u6709\u5DE5\u4F5C\u533A\u7684\u666E\u901A\u975E\u7A7A\u5BF9\u8BDD\u3002\u4F7F\u7528\u300C\u5305\u542B\u5F52\u6863\u300D\u8C03\u6574\u8303\u56F4\u3002\u641C\u7D22\u4E0D\u5305\u542B\u5B50\u4EE3\u7406\u5BF9\u8BDD\u3002",
3725
3396
  includeArchived: "\u5305\u542B\u5F52\u6863",
3726
3397
  archived: "\u5DF2\u5F52\u6863",
3727
3398
  restore: "\u53D6\u6D88\u5F52\u6863\u5E76\u6253\u5F00",
@@ -3772,7 +3443,7 @@ var L = zh ? {
3772
3443
  placeholder: "Search titles and message text\u2026",
3773
3444
  titlePlaceholder: "Search titles\u2026",
3774
3445
  scope: "Search scope: All workspaces",
3775
- scopeDetails: "Searches ordinary, nonempty conversations across all workspaces on the connected server. Archived conversations are excluded unless Include archived is checked. Subagent conversations are excluded.",
3446
+ scopeDetails: "Searches ordinary, nonempty conversations across all workspaces on the connected server. Use Include archived to change the scope. Subagent conversations are excluded.",
3776
3447
  includeArchived: "Include archived",
3777
3448
  archived: "Archived",
3778
3449
  restore: "Unarchive and open",
@@ -3873,8 +3544,10 @@ function searchValue(value, requestId, query, scope) {
3873
3544
  }
3874
3545
  function installConversationSearch(ctx, react, ui, bridge) {
3875
3546
  const h = react.createElement;
3547
+ const readDefaults = installConversationSearchSettings(ctx, react, ui);
3876
3548
  let services = null, mounted = true, epoch = 0, request = null, timer = 0;
3877
3549
  let scanId = null, mode = "title-body", includeArchived = false;
3550
+ let titleOnlyDefault = false, includeArchivedDefault = false;
3878
3551
  let restoreOperation = null, restoreFeedback = null;
3879
3552
  const scope = () => includeArchived ? ARCHIVED_SCOPE : DEFAULT_SCOPE;
3880
3553
  const invalidateRestoreNavigation = () => {
@@ -4029,8 +3702,18 @@ function installConversationSearch(ctx, react, ui, bridge) {
4029
3702
  cancelHandoff();
4030
3703
  focusOrigin = document.activeElement;
4031
3704
  bridge.closeFind();
4032
- if (typeof seed === "string" && seed !== query) {
4033
- query = seed;
3705
+ const defaults = readDefaults();
3706
+ const previousMode = mode, previouslyIncludedArchived = includeArchived;
3707
+ if (defaults) {
3708
+ const nextTitleOnly = defaults.defaultTitleOnly === true;
3709
+ const nextIncludeArchived = defaults.defaultIncludeArchived === true;
3710
+ if (titleOnlyDefault !== nextTitleOnly) mode = nextTitleOnly ? "title" : "title-body";
3711
+ if (includeArchivedDefault !== nextIncludeArchived) includeArchived = nextIncludeArchived;
3712
+ titleOnlyDefault = nextTitleOnly;
3713
+ includeArchivedDefault = nextIncludeArchived;
3714
+ }
3715
+ if (mode !== previousMode || includeArchived !== previouslyIncludedArchived || typeof seed === "string" && seed !== query) {
3716
+ if (typeof seed === "string") query = seed;
4034
3717
  scroll = 0;
4035
3718
  content = EMPTY;
4036
3719
  body = "idle";
@@ -4444,47 +4127,6 @@ function installConversationSearch(ctx, react, ui, bridge) {
4444
4127
  return { open: show, label: () => query ? L.back : L.title, isOpen: () => open2, cancelHandoff };
4445
4128
  }
4446
4129
 
4447
- // src/updates.js
4448
- var import_semver = __toESM(require_semver(), 1);
4449
- var PACKAGE = "@ryuu-64/dsh-find-all";
4450
- var ENDPOINT2 = "https://registry.npmjs.org/@ryuu-64%2fdsh-find-all/latest";
4451
- function version(value) {
4452
- if (typeof value !== "string") throw new Error("Invalid version");
4453
- const parsed = new import_semver.default(value);
4454
- const canonical = parsed.version + (parsed.build.length ? "+" + parsed.build.join(".") : "");
4455
- if (canonical !== value || parsed.prerelease.some((id) => /^\d+$/.test(String(id)) && !Number.isSafeInteger(Number(id)))) {
4456
- throw new Error("Unsupported version");
4457
- }
4458
- return parsed;
4459
- }
4460
- async function checkLatestVersion(currentVersion, signal) {
4461
- const current = version(currentVersion);
4462
- const controller = new AbortController();
4463
- const cancel = () => controller.abort();
4464
- signal.addEventListener("abort", cancel, { once: true });
4465
- if (signal.aborted) cancel();
4466
- const timeout = setTimeout(cancel, 8e3);
4467
- try {
4468
- const response = await fetch(ENDPOINT2, {
4469
- signal: controller.signal,
4470
- mode: "cors",
4471
- credentials: "omit",
4472
- cache: "no-store",
4473
- redirect: "error",
4474
- referrerPolicy: "no-referrer"
4475
- });
4476
- if (!response.ok) throw new Error("Registry unavailable");
4477
- const data = await response.json();
4478
- if (controller.signal.aborted || data?.name !== PACKAGE) throw new Error("Invalid registry response");
4479
- const latest = version(data.version);
4480
- const comparison = latest.compare(current);
4481
- return { status: comparison > 0 ? "available" : comparison < 0 ? "ahead" : "current", version: data.version };
4482
- } finally {
4483
- clearTimeout(timeout);
4484
- signal.removeEventListener("abort", cancel);
4485
- }
4486
- }
4487
-
4488
4130
  // src/history-revision.js
4489
4131
  var MESSAGE_KINDS = /* @__PURE__ */ new Set(["user", "steering", "context", "turn-trigger"]);
4490
4132
  var sequence = (value, minimum = 0) => Number.isSafeInteger(value) && value >= minimum && !Object.is(value, -0);
@@ -6406,13 +6048,7 @@ var L2 = ZH ? {
6406
6048
  copiedDiagnostics: "\u8BCA\u65AD\u4FE1\u606F\u5DF2\u590D\u5236\uFF0C\u53EF\u7C98\u8D34\u5230\u201C\u53CD\u9988\u95EE\u9898\u201D\u4E2D",
6407
6049
  copyDiagnosticsFailed: "\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
6408
6050
  currentVersion: "\u5F53\u524D\u7248\u672C",
6409
- checkUpdate: "\u68C0\u67E5\u66F4\u65B0",
6410
- checkingUpdate: "\u6B63\u5728\u68C0\u67E5\u2026",
6411
- updateSource: "\u4ECE\u516C\u5171 npm \u68C0\u67E5\u66F4\u65B0",
6412
- updateCurrent: "\u5DF2\u662F\u6700\u65B0\u7248\u672C",
6413
- updateAhead: "\u5F53\u524D\u7248\u672C\u6BD4\u5DF2\u53D1\u5E03\u7248\u672C\u66F4\u65B0",
6414
- updateAvailable: "\u6709\u65B0\u7248\u672C {v}",
6415
- updateFailed: "\u68C0\u67E5\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
6051
+ openPlugin: "\u5728 DSH \u4E2D\u7BA1\u7406\u63D2\u4EF6",
6416
6052
  updateGuide: "\u67E5\u770B\u66F4\u65B0\u8BF4\u660E",
6417
6053
  about: "\u5173\u4E8E",
6418
6054
  aboutUnavailable: "\u5F53\u524D\u5BBF\u4E3B\u65E0\u6CD5\u663E\u793A\u5173\u4E8E\u5BF9\u8BDD\u6846",
@@ -6490,13 +6126,7 @@ var L2 = ZH ? {
6490
6126
  copiedDiagnostics: "Diagnostics copied. Paste them into Report an issue",
6491
6127
  copyDiagnosticsFailed: "Copy failed. Try again",
6492
6128
  currentVersion: "Current version",
6493
- checkUpdate: "Check for updates",
6494
- checkingUpdate: "Checking\u2026",
6495
- updateSource: "Check the public npm registry",
6496
- updateCurrent: "You\u2019re up to date",
6497
- updateAhead: "Current version is newer than the published version",
6498
- updateAvailable: "Version {v} is available",
6499
- updateFailed: "Check failed. Try again",
6129
+ openPlugin: "Manage plugin in DSH",
6500
6130
  updateGuide: "View update instructions",
6501
6131
  about: "About",
6502
6132
  aboutUnavailable: "This host cannot display the About dialog",
@@ -6638,7 +6268,7 @@ async function runPageIn(opts) {
6638
6268
  }
6639
6269
  }
6640
6270
  function cssText() {
6641
- return "#" + BAR_ID + "{--dsh-find-all-max-width:480px;container:dsh-find-all / inline-size;position:fixed;top:var(--dsh-find-all-bar-top);right:var(--dsh-find-all-bar-right);z-index:2147483000;visibility:hidden;isolation:isolate;box-sizing:border-box;align-items:stretch;gap:4px;padding:6px 8px;display:flex;flex-direction:column;width:min(var(--dsh-find-all-max-width),var(--dsh-find-all-panel-width));max-width:calc(100vw - 16px);max-height:var(--dsh-find-all-max-height);overflow:auto;background:transparent;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);border:0;border-radius:var(--dsw-radius-md,8px);box-shadow:var(--dsw-elevation-panel,var(--dsw-shadow-lv2))}#" + BAR_ID + "[data-positioned]{visibility:visible}#" + BAR_ID + ":before,#" + BAR_ID + '-content-panel:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--dsw-menu-surface-fill,var(--dsw-specific-menu,var(--dsw-alias-bg-layer-2)));-webkit-backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%));backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%))}#' + BAR_ID + " .move-header{display:flex;align-items:center;gap:4px;min-width:0;min-height:28px;cursor:move}#" + BAR_ID + " .move-header:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + " .move-grip{flex:none;width:8px;align-self:stretch;touch-action:none;user-select:none}#" + BAR_ID + " .move-actions{display:flex;align-items:center;gap:2px;flex:none}#" + BAR_ID + "[data-dragging] .move-header{cursor:grabbing}#" + BAR_ID + " .controls{display:flex;flex:1;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0}#" + BAR_ID + " input.query{box-sizing:border-box;flex:1 1 0;min-width:64px;max-width:100%;width:auto;height:28px;color:var(--dsw-alias-label-primary);font:13px/1 var(--dsw-font-family);background:var(--dsw-alias-bg-base);border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm,6px);outline:none;padding:0 8px}#" + BAR_ID + " input.query:focus-visible{border-color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .count{box-sizing:border-box;flex:0 1 80px;width:80px;min-width:64px;max-width:96px;height:28px;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-tertiary);font:12px/28px var(--dsw-font-family);font-variant-numeric:tabular-nums;text-align:center}#" + BAR_ID + " button.count{width:80px;min-width:64px;padding:0 4px;flex:0 1 80px}#" + BAR_ID + " .count[hidden],#" + BAR_ID + " .count-editor[hidden],#" + BAR_ID + " .count-hint[hidden]{display:none}#" + BAR_ID + " .count-editor{display:flex;align-items:center;gap:2px;flex:none;color:var(--dsw-alias-label-tertiary);font:12px/1 var(--dsw-font-family);font-variant-numeric:tabular-nums}#" + BAR_ID + " input.count-input{box-sizing:border-box;width:5.5ch;min-width:0;height:28px;padding:0 3px;text-align:right;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l4);border-radius:4px}#" + BAR_ID + " input.count-input:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}#" + BAR_ID + " input.count-input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .count-hint{padding:2px 8px 0;color:var(--dsw-alias-label-secondary);font:12px/1.5 var(--dsw-font-family);overflow-wrap:anywhere}#" + BAR_ID + " .count-hint[data-error]{color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .status{box-sizing:border-box;width:100%;padding:2px 8px 4px;color:var(--dsw-alias-label-tertiary);font:12px/1.5 var(--dsw-font-family);text-align:left;white-space:normal;overflow-wrap:anywhere}#" + BAR_ID + " .status:empty{display:none}#" + BAR_ID + " .status[data-busy]{cursor:pointer;color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .navigation-controls{display:flex;align-items:center;gap:4px;flex:none}#" + BAR_ID + " .content-filter{position:relative;width:28px;padding:0}#" + BAR_ID + " .content-filter[aria-expanded=true]{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-ghost-active-fill,var(--dsw-alias-interactive-bg-hover))}#" + BAR_ID + " .content-filter[aria-expanded=true]:hover{background:var(--dsw-alias-button-ghost-active-hover,var(--dsw-alias-interactive-bg-active))}#" + BAR_ID + ' .content-filter[data-filtered]:after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-state-business-primary)}#' + BAR_ID + "-content-panel{position:fixed;z-index:2147483001;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:320px;max-width:calc(100vw - 16px);margin:0;padding:0;overflow:hidden;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent,var(--dsw-elevation-panel,var(--dsw-shadow-lv2)));color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);border:0;border-radius:var(--dsw-radius-md,8px);background:transparent}#" + BAR_ID + "-content-panel[hidden]{display:none}#" + BAR_ID + "-content-panel .content-viewport{min-height:0;overflow:auto;padding:4px;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2)}#" + BAR_ID + "-content-panel fieldset{min-width:0;margin:0;padding:0;border:0}#" + BAR_ID + "-content-panel legend{box-sizing:border-box;width:100%;padding:4px 8px;font:500 11px/16px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary)}#" + BAR_ID + "-content-panel .content-options{display:grid;grid-template-columns:minmax(0,1fr)}#" + BAR_ID + "-content-panel .content-option{box-sizing:border-box;min-width:0;min-height:28px;padding:4px 8px;align-items:center;gap:6px;display:flex;border-radius:var(--dsw-radius-sm,6px);cursor:pointer}#" + BAR_ID + "-content-panel .content-option:hover{background:var(--dsw-alias-interactive-bg-hover)}#" + BAR_ID + "-content-panel .content-option span{min-width:0;overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .content-option input{appearance:auto;accent-color:var(--dsw-alias-brand-primary,var(--dsw-alias-state-business-primary));flex:none;width:16px;height:16px;margin:0;cursor:inherit}#" + BAR_ID + "-content-panel .content-reset{margin-top:4px;padding:0 8px;font:12px/18px var(--dsw-font-family)}#" + BAR_ID + "-content-panel .scope-group{padding-bottom:4px;margin-bottom:4px;border-bottom:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .history-command{margin-top:4px;padding-top:4px;border-top:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .update-version,#" + BAR_ID + "-content-panel .update-status{margin:0;padding:4px 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .update-status:empty{padding:0}#" + BAR_ID + "-content-panel .update-command [hidden]{display:none}#" + BAR_ID + "-content-panel .diagnostic-command{display:flex;flex-wrap:wrap;align-items:center;gap:4px}#" + BAR_ID + "-content-panel .diagnostic-command button{flex:1;width:auto}#" + BAR_ID + "-content-panel .diagnostic-feedback{padding:0 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary)}#" + BAR_ID + "-content-panel .feedback-issue{display:flex;align-items:center;gap:6px;box-sizing:border-box;min-height:28px;width:100%;padding:4px 8px;color:var(--dsw-alias-label-secondary);text-decoration:none;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + "-content-panel .feedback-issue:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + "-content-panel .feedback-privacy{margin:0;padding:0 8px 4px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .history-command button{width:100%;height:auto;min-height:28px;justify-content:flex-start;gap:6px;padding:4px 8px;text-align:left;font:13px/20px var(--dsw-font-family)}#" + BAR_ID + " button,#" + BAR_ID + "-content-panel button{box-sizing:border-box;flex:none;height:28px;min-width:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:var(--dsw-radius-sm,6px);align-items:center;justify-content:center;display:inline-flex}#" + BAR_ID + " button[hidden]{display:none}#" + BAR_ID + " button:hover,#" + BAR_ID + "-content-panel button:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + " button:focus-visible,#" + BAR_ID + "-content-panel :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}#" + BAR_ID + " button:disabled,#" + BAR_ID + "-content-panel button:disabled,#" + BAR_ID + "-content-panel button[aria-disabled=true]{opacity:.5;cursor:default}#" + BAR_ID + " [data-find-all-return][hidden]{display:none}#" + BAR_ID + " [data-find-all-return]{gap:4px;padding:0 8px;white-space:nowrap}@container dsh-find-all (max-width:550px){#" + BAR_ID + " .return-label{display:none}#" + BAR_ID + " [data-find-all-return]{padding:0 6px}}@container dsh-find-all (max-width:360px){#" + BAR_ID + " .controls,#" + BAR_ID + " .navigation-controls{gap:2px}#" + BAR_ID + " .count,#" + BAR_ID + " button.count{width:64px;min-width:64px;max-width:64px}}@container dsh-find-all (max-width:330px){#" + BAR_ID + " .controls{flex-wrap:wrap}#" + BAR_ID + " .navigation-controls{margin-left:auto}}#" + BAR_ID + " svg{pointer-events:none}#" + BAR_ID + "[data-about-open]{z-index:999;pointer-events:none}.dsh-find-all-conversations{width:min(680px,100%);align-self:flex-start;max-height:100%;min-width:0;padding:0;gap:0;font-family:var(--dsw-font-family)}.dsh-find-all-conversations-layout{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;width:100%;max-width:100%;overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-header{display:flex;align-items:center;gap:8px;flex:none;min-width:0;padding:16px 16px 8px}.dsh-find-all-conversations-input{flex:1;min-width:0;box-sizing:border-box}.dsh-find-all-conversations-close{flex:none;width:28px;padding:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-conversations-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;flex:none;min-width:0;padding:0 16px 10px;border-bottom:.5px solid var(--dsw-alias-border-l1)}.dsh-find-all-conversations-scope{min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}.dsh-find-all-conversations-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-left:auto;min-width:0;max-width:100%}.dsh-find-all-conversations-title-only{flex:none;font-size:12px;line-height:18px;white-space:nowrap}.dsh-find-all-conversations-title-only-fallback{display:inline-flex;align-items:center;gap:6px}.dsh-find-all-conversations-title-only-fallback input{margin:0;accent-color:var(--dsw-alias-brand-primary)}.dsh-find-all-conversations-list{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;min-width:0;max-width:100%;max-height:416px;box-sizing:border-box;padding:4px 8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.dsh-find-all-conversations-empty{padding:16px 8px;font-size:13px;line-height:20px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;flex:none;min-height:0;max-height:35%;padding:8px 12px;border-top:.5px solid var(--dsw-alias-border-l1);overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-status-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;flex:1;min-width:0}.dsh-find-all-conversations-status{margin:0;min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-status:empty{display:none}.dsh-find-all-conversations-actions{display:flex;gap:4px;flex-wrap:wrap}.dsh-find-all-conversations-help{flex:none;margin-left:auto;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-help-content{flex:0 1 auto;min-height:0;max-height:160px;padding:0 16px 12px;overflow-y:auto;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-help-content[hidden]{display:none}.dsh-find-all-conversations-help-content p{margin:6px 0 0}.dsh-find-all-conversations-match{color:inherit;background:var(--dsw-alias-state-business-tertiary);font-weight:600}.dsh-find-all-conversations-row{display:flex;flex-direction:column;align-items:stretch;flex:none;width:100%;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box;border:none;border-radius:var(--dsw-radius-lg);padding:4px 8px;background:transparent;cursor:pointer;text-align:left;color:var(--dsw-alias-label-primary);font-family:inherit}.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row):hover,.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row)[aria-current=true]{background:var(--dsw-alias-interactive-bg-hover)}.dsh-find-all-conversations-row:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.dsh-find-all-conversations-archived-row{cursor:default}.dsh-find-all-conversations-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.dsh-find-all-conversations-row-heading>.dsh-find-all-conversations-title{flex:1;min-width:0}.dsh-find-all-conversations-archive-label{flex:none;font-size:12px;line-height:17px;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-restore{flex:none}.dsh-find-all-conversations-row-error{min-width:0;max-width:100%;font-size:12px;line-height:17px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:20px;font-weight:400}.dsh-find-all-conversations-meta{display:flex;align-items:center;gap:6px;min-width:0;min-height:17px}.dsh-find-all-conversations-info,.dsh-find-all-conversations-snippet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px}.dsh-find-all-conversations-info{flex:none;max-width:40%;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-info:only-child{max-width:100%}.dsh-find-all-conversations-snippet{flex:1;min-width:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-about{max-height:100%;font-family:var(--dsw-font-family)}.dsh-find-all-about-content{min-height:0;overflow:auto}.dsh-find-all-about-details{display:flex;flex-direction:column;gap:16px;color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);overflow-wrap:anywhere}.dsh-find-all-about-details p{margin:0}.dsh-find-all-about-details h3{margin:0 0 6px;font:500 13px/20px var(--dsw-font-family)}.dsh-find-all-about-details a{color:var(--dsw-alias-state-business-primary);text-underline-offset:3px}.dsh-find-all-about-links{display:flex;flex-wrap:wrap;gap:6px 16px}.dsh-find-all-about-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.dsh-find-all-about-status{color:var(--dsw-alias-label-secondary)}.dsh-find-all-about-details :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}::highlight(" + HL_ALL + "){background-color:rgba(245,197,24,.42)}::highlight(" + HL_CUR + "){background-color:#f5a623;color:#141414}";
6271
+ return "#" + BAR_ID + "{--dsh-find-all-max-width:480px;container:dsh-find-all / inline-size;position:fixed;top:var(--dsh-find-all-bar-top);right:var(--dsh-find-all-bar-right);z-index:2147483000;visibility:hidden;isolation:isolate;box-sizing:border-box;align-items:stretch;gap:4px;padding:6px 8px;display:flex;flex-direction:column;width:min(var(--dsh-find-all-max-width),var(--dsh-find-all-panel-width));max-width:calc(100vw - 16px);max-height:var(--dsh-find-all-max-height);overflow:auto;background:transparent;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);border:0;border-radius:var(--dsw-radius-md,8px);box-shadow:var(--dsw-elevation-panel,var(--dsw-shadow-lv2))}#" + BAR_ID + "[data-positioned]{visibility:visible}#" + BAR_ID + ":before,#" + BAR_ID + '-content-panel:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--dsw-menu-surface-fill,var(--dsw-specific-menu,var(--dsw-alias-bg-layer-2)));-webkit-backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%));backdrop-filter:var(--dsw-menu-backdrop-filter,blur(40px) saturate(150%))}#' + BAR_ID + " .move-header{display:flex;align-items:center;gap:4px;min-width:0;min-height:28px;cursor:move}#" + BAR_ID + " .move-header:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + " .move-grip{flex:none;width:8px;align-self:stretch;touch-action:none;user-select:none}#" + BAR_ID + " .move-actions{display:flex;align-items:center;gap:2px;flex:none}#" + BAR_ID + "[data-dragging] .move-header{cursor:grabbing}#" + BAR_ID + " .controls{display:flex;flex:1;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0}#" + BAR_ID + " input.query{box-sizing:border-box;flex:1 1 0;min-width:64px;max-width:100%;width:auto;height:28px;color:var(--dsw-alias-label-primary);font:13px/1 var(--dsw-font-family);background:var(--dsw-alias-bg-base);border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm,6px);outline:none;padding:0 8px}#" + BAR_ID + " input.query:focus-visible{border-color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .count{box-sizing:border-box;flex:0 1 80px;width:80px;min-width:64px;max-width:96px;height:28px;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dsw-alias-label-tertiary);font:12px/28px var(--dsw-font-family);font-variant-numeric:tabular-nums;text-align:center}#" + BAR_ID + " button.count{width:80px;min-width:64px;padding:0 4px;flex:0 1 80px}#" + BAR_ID + " .count[hidden],#" + BAR_ID + " .count-editor[hidden],#" + BAR_ID + " .count-hint[hidden]{display:none}#" + BAR_ID + " .count-editor{display:flex;align-items:center;gap:2px;flex:none;color:var(--dsw-alias-label-tertiary);font:12px/1 var(--dsw-font-family);font-variant-numeric:tabular-nums}#" + BAR_ID + " input.count-input{box-sizing:border-box;width:5.5ch;min-width:0;height:28px;padding:0 3px;text-align:right;font:inherit;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-base);border:1px solid var(--dsw-alias-border-l4);border-radius:4px}#" + BAR_ID + " input.count-input:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}#" + BAR_ID + " input.count-input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .count-hint{padding:2px 8px 0;color:var(--dsw-alias-label-secondary);font:12px/1.5 var(--dsw-font-family);overflow-wrap:anywhere}#" + BAR_ID + " .count-hint[data-error]{color:var(--dsw-alias-state-error-primary,#c33)}#" + BAR_ID + " .status{box-sizing:border-box;width:100%;padding:2px 8px 4px;color:var(--dsw-alias-label-tertiary);font:12px/1.5 var(--dsw-font-family);text-align:left;white-space:normal;overflow-wrap:anywhere}#" + BAR_ID + " .status:empty{display:none}#" + BAR_ID + " .status[data-busy]{cursor:pointer;color:var(--dsw-alias-state-business-primary)}#" + BAR_ID + " .navigation-controls{display:flex;align-items:center;gap:4px;flex:none}#" + BAR_ID + " .content-filter{position:relative;width:28px;padding:0}#" + BAR_ID + " .content-filter[aria-expanded=true]{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-ghost-active-fill,var(--dsw-alias-interactive-bg-hover))}#" + BAR_ID + " .content-filter[aria-expanded=true]:hover{background:var(--dsw-alias-button-ghost-active-hover,var(--dsw-alias-interactive-bg-active))}#" + BAR_ID + ' .content-filter[data-filtered]:after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-state-business-primary)}#' + BAR_ID + "-content-panel{position:fixed;z-index:2147483001;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:320px;max-width:calc(100vw - 16px);margin:0;padding:0;overflow:hidden;--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent,var(--dsw-elevation-panel,var(--dsw-shadow-lv2)));color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);border:0;border-radius:var(--dsw-radius-md,8px);background:transparent}#" + BAR_ID + "-content-panel[hidden]{display:none}#" + BAR_ID + "-content-panel .content-viewport{min-height:0;overflow:auto;padding:4px;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2)}#" + BAR_ID + "-content-panel fieldset{min-width:0;margin:0;padding:0;border:0}#" + BAR_ID + "-content-panel legend{box-sizing:border-box;width:100%;padding:4px 8px;font:500 11px/16px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary)}#" + BAR_ID + "-content-panel .content-options{display:grid;grid-template-columns:minmax(0,1fr)}#" + BAR_ID + "-content-panel .content-option{box-sizing:border-box;min-width:0;min-height:28px;padding:4px 8px;align-items:center;gap:6px;display:flex;border-radius:var(--dsw-radius-sm,6px);cursor:pointer}#" + BAR_ID + "-content-panel .content-option:hover{background:var(--dsw-alias-interactive-bg-hover)}#" + BAR_ID + "-content-panel .content-option span{min-width:0;overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .content-option input{appearance:auto;accent-color:var(--dsw-alias-brand-primary,var(--dsw-alias-state-business-primary));flex:none;width:16px;height:16px;margin:0;cursor:inherit}#" + BAR_ID + "-content-panel .content-reset{margin-top:4px;padding:0 8px;font:12px/18px var(--dsw-font-family)}#" + BAR_ID + "-content-panel .scope-group{padding-bottom:4px;margin-bottom:4px;border-bottom:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .history-command{margin-top:4px;padding-top:4px;border-top:1px solid var(--dsw-alias-border-l1)}#" + BAR_ID + "-content-panel .update-version{margin:0;padding:4px 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .update-command [hidden]{display:none}#" + BAR_ID + "-content-panel .diagnostic-command{display:flex;flex-wrap:wrap;align-items:center;gap:4px}#" + BAR_ID + "-content-panel .diagnostic-command button{flex:1;width:auto}#" + BAR_ID + "-content-panel .diagnostic-feedback{padding:0 8px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-secondary)}#" + BAR_ID + "-content-panel .feedback-issue{display:flex;align-items:center;gap:6px;box-sizing:border-box;min-height:28px;width:100%;padding:4px 8px;color:var(--dsw-alias-label-secondary);text-decoration:none;border-radius:var(--dsw-radius-sm,6px)}#" + BAR_ID + "-content-panel .feedback-issue:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + "-content-panel .feedback-privacy{margin:0;padding:0 8px 4px;font:12px/18px var(--dsw-font-family);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}#" + BAR_ID + "-content-panel .history-command button{width:100%;height:auto;min-height:28px;justify-content:flex-start;gap:6px;padding:4px 8px;text-align:left;font:13px/20px var(--dsw-font-family)}#" + BAR_ID + " button,#" + BAR_ID + "-content-panel button{box-sizing:border-box;flex:none;height:28px;min-width:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:var(--dsw-radius-sm,6px);align-items:center;justify-content:center;display:inline-flex}#" + BAR_ID + " button[hidden]{display:none}#" + BAR_ID + " button:hover,#" + BAR_ID + "-content-panel button:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}#" + BAR_ID + " button:focus-visible,#" + BAR_ID + "-content-panel :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}#" + BAR_ID + " button:disabled,#" + BAR_ID + "-content-panel button:disabled,#" + BAR_ID + "-content-panel button[aria-disabled=true]{opacity:.5;cursor:default}#" + BAR_ID + " [data-find-all-return][hidden]{display:none}#" + BAR_ID + " [data-find-all-return]{gap:4px;padding:0 8px;white-space:nowrap}@container dsh-find-all (max-width:550px){#" + BAR_ID + " .return-label{display:none}#" + BAR_ID + " [data-find-all-return]{padding:0 6px}}@container dsh-find-all (max-width:360px){#" + BAR_ID + " .controls,#" + BAR_ID + " .navigation-controls{gap:2px}#" + BAR_ID + " .count,#" + BAR_ID + " button.count{width:64px;min-width:64px;max-width:64px}}@container dsh-find-all (max-width:330px){#" + BAR_ID + " .controls{flex-wrap:wrap}#" + BAR_ID + " .navigation-controls{margin-left:auto}}#" + BAR_ID + " svg{pointer-events:none}#" + BAR_ID + "[data-about-open]{z-index:999;pointer-events:none}.dsh-find-all-conversations{width:min(680px,100%);align-self:flex-start;max-height:100%;min-width:0;padding:0;gap:0;font-family:var(--dsw-font-family)}.dsh-find-all-conversations-layout{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;width:100%;max-width:100%;overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-header{display:flex;align-items:center;gap:8px;flex:none;min-width:0;padding:16px 16px 8px}.dsh-find-all-conversations-input{flex:1;min-width:0;box-sizing:border-box}.dsh-find-all-conversations-close{flex:none;width:28px;padding:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-conversations-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;flex:none;min-width:0;padding:0 16px 10px;border-bottom:.5px solid var(--dsw-alias-border-l1)}.dsh-find-all-conversations-scope{min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}.dsh-find-all-conversations-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-left:auto;min-width:0;max-width:100%}.dsh-find-all-conversations-title-only{flex:none;font-size:12px;line-height:18px;white-space:nowrap}.dsh-find-all-conversations-title-only-fallback{display:inline-flex;align-items:center;gap:6px}.dsh-find-all-conversations-title-only-fallback input{margin:0;accent-color:var(--dsw-alias-brand-primary)}.dsh-find-all-conversations-list{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;min-width:0;max-width:100%;max-height:416px;box-sizing:border-box;padding:4px 8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.dsh-find-all-conversations-empty{padding:16px 8px;font-size:13px;line-height:20px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;flex:none;min-height:0;max-height:35%;padding:8px 12px;border-top:.5px solid var(--dsw-alias-border-l1);overflow-y:auto;overflow-x:hidden}.dsh-find-all-conversations-status-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;flex:1;min-width:0}.dsh-find-all-conversations-status{margin:0;min-width:0;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-status:empty{display:none}.dsh-find-all-conversations-actions{display:flex;gap:4px;flex-wrap:wrap}.dsh-find-all-conversations-help{flex:none;margin-left:auto;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-help-content{flex:0 1 auto;min-height:0;max-height:160px;padding:0 16px 12px;overflow-y:auto;font-size:12px;line-height:18px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-help-content[hidden]{display:none}.dsh-find-all-conversations-help-content p{margin:6px 0 0}.dsh-find-all-conversations-match{color:inherit;background:var(--dsw-alias-state-business-tertiary);font-weight:600}.dsh-find-all-conversations-row{display:flex;flex-direction:column;align-items:stretch;flex:none;width:100%;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box;border:none;border-radius:var(--dsw-radius-lg);padding:4px 8px;background:transparent;cursor:pointer;text-align:left;color:var(--dsw-alias-label-primary);font-family:inherit}.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row):hover,.dsh-find-all-conversations-row:not(.dsh-find-all-conversations-archived-row)[aria-current=true]{background:var(--dsw-alias-interactive-bg-hover)}.dsh-find-all-conversations-row:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.dsh-find-all-conversations-archived-row{cursor:default}.dsh-find-all-conversations-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.dsh-find-all-conversations-row-heading>.dsh-find-all-conversations-title{flex:1;min-width:0}.dsh-find-all-conversations-archive-label{flex:none;font-size:12px;line-height:17px;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-restore{flex:none}.dsh-find-all-conversations-row-error{min-width:0;max-width:100%;font-size:12px;line-height:17px;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dsh-find-all-conversations-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:20px;font-weight:400}.dsh-find-all-conversations-meta{display:flex;align-items:center;gap:6px;min-width:0;min-height:17px}.dsh-find-all-conversations-info,.dsh-find-all-conversations-snippet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px}.dsh-find-all-conversations-info{flex:none;max-width:40%;color:var(--dsw-alias-label-tertiary)}.dsh-find-all-conversations-info:only-child{max-width:100%}.dsh-find-all-conversations-snippet{flex:1;min-width:0;color:var(--dsw-alias-label-secondary)}.dsh-find-all-about{max-height:100%;font-family:var(--dsw-font-family)}.dsh-find-all-about-content{min-height:0;overflow:auto}.dsh-find-all-about-details{display:flex;flex-direction:column;gap:16px;color:var(--dsw-alias-label-primary);font:13px/20px var(--dsw-font-family);overflow-wrap:anywhere}.dsh-find-all-about-details p{margin:0}.dsh-find-all-about-details h3{margin:0 0 6px;font:500 13px/20px var(--dsw-font-family)}.dsh-find-all-about-details a{color:var(--dsw-alias-state-business-primary);text-underline-offset:3px}.dsh-find-all-about-links{display:flex;flex-wrap:wrap;gap:6px 16px}.dsh-find-all-about-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.dsh-find-all-about-status{color:var(--dsw-alias-label-secondary)}.dsh-find-all-about-details :focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}::highlight(" + HL_ALL + "){background-color:rgba(245,197,24,.42)}::highlight(" + HL_CUR + "){background-color:#f5a623;color:#141414}";
6642
6272
  }
6643
6273
  function injectCss() {
6644
6274
  if (typeof document === "undefined") return;
@@ -6983,6 +6613,8 @@ function createHostAdapter(ctx, changed) {
6983
6613
  function hostNavigationReady(target, face) {
6984
6614
  var status = face && facePageState(face);
6985
6615
  if (face && (!status || status.reason || pendingLoads.has(face))) return false;
6616
+ var history = target.root.querySelector(":scope > [data-chat-history]");
6617
+ if (history) return history.getAttribute("data-chat-history") !== "loading";
6986
6618
  return !target.root.querySelector(":scope > div:not([data-chat-anchor-key]):not([data-chat-group-key]) > button:disabled");
6987
6619
  }
6988
6620
  function activateLoadedTurn(target, store, preferredTurn, exactOnly) {
@@ -7658,11 +7290,7 @@ var state = {
7658
7290
  crossSearch: null,
7659
7291
  crossSearchReturn: null,
7660
7292
  crossSearchHint: null,
7661
- updateTask: null,
7662
- updateResult: null,
7663
- updateBtn: null,
7664
- updateStatus: null,
7665
- updateGuide: null,
7293
+ openPluginBtn: null,
7666
7294
  aboutAvailable: false,
7667
7295
  aboutViews: /* @__PURE__ */ new Map(),
7668
7296
  aboutOwner: null,
@@ -7899,7 +7527,7 @@ async function copyDiagnostics() {
7899
7527
  feedback.textContent = L2.copyingDiagnostics;
7900
7528
  var copied = false;
7901
7529
  try {
7902
- var summary = { schemaVersion: 1, pluginVersion: "0.1.14", current: diagnosticState(), lastFailure: state.lastFailure };
7530
+ var summary = { schemaVersion: 1, pluginVersion: "0.1.16", current: diagnosticState(), lastFailure: state.lastFailure };
7903
7531
  copied = typeof state.writeClipboard === "function" && await state.writeClipboard(JSON.stringify(summary, null, 2)) === true;
7904
7532
  } catch (error) {
7905
7533
  }
@@ -8297,7 +7925,6 @@ function positionContentPanel() {
8297
7925
  popup.setAttribute("data-placement", opensAbove ? "top" : "bottom");
8298
7926
  }
8299
7927
  function closeContentPanel(restoreFocus) {
8300
- cancelUpdateCheck();
8301
7928
  if (!state.contentPanel || state.contentPanel.hidden) return false;
8302
7929
  resetDiagnosticCopy();
8303
7930
  state.contentPanel.hidden = true;
@@ -8305,42 +7932,6 @@ function closeContentPanel(restoreFocus) {
8305
7932
  if (restoreFocus && state.contentBtn?.isConnected) state.contentBtn.focus({ preventScroll: true });
8306
7933
  return true;
8307
7934
  }
8308
- function renderUpdateCheck() {
8309
- if (!state.updateBtn) return;
8310
- state.updateBtn.setAttribute("aria-disabled", state.updateTask ? "true" : "false");
8311
- if (state.updateBtn.textContent !== L2.checkUpdate) state.updateBtn.textContent = L2.checkUpdate;
8312
- var result2 = state.updateResult;
8313
- var message = state.updateTask ? L2.checkingUpdate : !result2 ? "" : result2.status === "available" ? L2.updateAvailable.replace("{v}", result2.version) : result2.status === "current" ? L2.updateCurrent : result2.status === "ahead" ? L2.updateAhead.replace("{v}", result2.version) : L2.updateFailed;
8314
- if (state.updateStatus.textContent !== message) state.updateStatus.textContent = message;
8315
- state.updateGuide.hidden = !result2 || result2.status !== "available" || !!state.updateTask;
8316
- }
8317
- function cancelUpdateCheck() {
8318
- var task = state.updateTask;
8319
- state.updateTask = null;
8320
- if (task) {
8321
- task.abort();
8322
- state.updateResult = null;
8323
- }
8324
- renderUpdateCheck();
8325
- }
8326
- async function checkForUpdates() {
8327
- if (!state.mounted || state.updateTask) return;
8328
- var task = new AbortController();
8329
- state.updateTask = task;
8330
- state.updateResult = null;
8331
- renderUpdateCheck();
8332
- try {
8333
- var result2 = await checkLatestVersion("0.1.14", task.signal);
8334
- if (state.mounted && state.updateTask === task) state.updateResult = result2;
8335
- } catch (error) {
8336
- if (state.mounted && state.updateTask === task) state.updateResult = { status: "failed" };
8337
- } finally {
8338
- if (state.mounted && state.updateTask === task) {
8339
- state.updateTask = null;
8340
- renderUpdateCheck();
8341
- }
8342
- }
8343
- }
8344
7935
  function closeAbout() {
8345
7936
  var owner = state.aboutOwner;
8346
7937
  state.aboutOwner = null;
@@ -8366,6 +7957,7 @@ function openAbout() {
8366
7957
  function toggleContentPanel() {
8367
7958
  if (!state.contentPanel) return;
8368
7959
  if (closeContentPanel(true)) return;
7960
+ state.openPluginBtn.hidden = typeof state.ctx?.get?.("pluginNavigation")?.openBundle !== "function";
8369
7961
  state.contentPanel.hidden = false;
8370
7962
  state.contentBtn.setAttribute("aria-expanded", "true");
8371
7963
  state.contentPanel.querySelector(".content-viewport").scrollTop = 0;
@@ -8914,10 +8506,8 @@ async function navigateHistoryHit(hit) {
8914
8506
  }
8915
8507
  state.historyNavigating = true;
8916
8508
  try {
8917
- if (!sourceNode(source, store)) await face.loadThrough(source.seq);
8918
- if (!current()) return;
8919
- var started = Date.now(), mapped, node;
8920
- while (current() && Date.now() - started < 5e3) {
8509
+ var started = Date.now(), requested = false, retryAfterPage = false, mapped, node;
8510
+ while (current() && Date.now() - started < PAGE_SETTLE_MS) {
8921
8511
  store = state.adapter.nodes(target);
8922
8512
  node = sourceNode(source, store);
8923
8513
  if (node) {
@@ -8938,6 +8528,16 @@ async function navigateHistoryHit(hit) {
8938
8528
  return;
8939
8529
  }
8940
8530
  if (!expandSource(target, node, source, activated) && mapped.reason !== "renderer-not-expanded" && mapped.reason !== "read-card-unavailable" && mapped.reason !== "read-lines-not-expanded" && mapped.reason !== "tool-card-not-expanded" && mapped.reason !== "tool-field-not-expanded" && mapped.reason !== "context-not-expanded") break;
8531
+ } else if (!requested || retryAfterPage) {
8532
+ var page = facePageState(face);
8533
+ var busy = !page || pendingLoads.has(face);
8534
+ if (!requested || !busy && !page.reason && page.hasMore !== false) {
8535
+ retryAfterPage = !requested && busy;
8536
+ requested = true;
8537
+ await face.loadThrough(source.seq);
8538
+ started = Date.now();
8539
+ continue;
8540
+ }
8941
8541
  }
8942
8542
  await pause();
8943
8543
  }
@@ -9280,33 +8880,30 @@ function buildBar() {
9280
8880
  updateCommand.className = "history-command update-command";
9281
8881
  var currentVersion = document.createElement("p");
9282
8882
  currentVersion.className = "update-version";
9283
- currentVersion.textContent = L2.currentVersion + " 0.1.14";
9284
- var updateBtn = document.createElement("button");
9285
- updateBtn.type = "button";
9286
- updateBtn.className = "check-update";
9287
- updateBtn.addEventListener("click", checkForUpdates);
9288
- var updateSource = document.createElement("p");
9289
- updateSource.className = "feedback-privacy";
9290
- updateSource.textContent = L2.updateSource;
9291
- updateSource.id = BAR_ID + "-update-source";
9292
- updateBtn.setAttribute("aria-describedby", updateSource.id);
9293
- var updateStatus = document.createElement("p");
9294
- updateStatus.className = "update-status";
9295
- updateStatus.setAttribute("role", "status");
9296
- updateStatus.setAttribute("aria-atomic", "true");
8883
+ currentVersion.textContent = L2.currentVersion + " 0.1.16";
8884
+ var openPluginBtn = document.createElement("button");
8885
+ openPluginBtn.type = "button";
8886
+ openPluginBtn.textContent = L2.openPlugin;
8887
+ openPluginBtn.hidden = true;
9297
8888
  var updateGuide = document.createElement("a");
9298
8889
  updateGuide.className = "feedback-issue";
9299
8890
  updateGuide.textContent = L2.updateGuide;
9300
8891
  updateGuide.href = "https://github.com/Ryuu-64/dsh-find-all#\u66F4\u65B0";
9301
8892
  updateGuide.target = "_blank";
9302
8893
  updateGuide.rel = "noopener noreferrer";
9303
- updateGuide.hidden = true;
9304
- updateCommand.append(currentVersion, updateBtn, updateSource, updateStatus, updateGuide);
8894
+ openPluginBtn.addEventListener("click", function() {
8895
+ var navigation2 = state.ctx?.get?.("pluginNavigation");
8896
+ if (typeof navigation2?.openBundle !== "function") {
8897
+ openPluginBtn.hidden = true;
8898
+ updateGuide.focus({ preventScroll: true });
8899
+ return;
8900
+ }
8901
+ close();
8902
+ navigation2.openBundle("@ryuu-64/dsh-find-all");
8903
+ });
8904
+ updateCommand.append(currentVersion, openPluginBtn, updateGuide);
9305
8905
  contentViewport.appendChild(updateCommand);
9306
- state.updateBtn = updateBtn;
9307
- state.updateStatus = updateStatus;
9308
- state.updateGuide = updateGuide;
9309
- renderUpdateCheck();
8906
+ state.openPluginBtn = openPluginBtn;
9310
8907
  var diagnosticCommand = document.createElement("div");
9311
8908
  diagnosticCommand.className = "history-command diagnostic-command";
9312
8909
  var diagnosticBtn = button(L2.copyDiagnostics, "M9 5H5v16h12v-4M9 3h12v12H9z", copyDiagnostics);
@@ -9443,7 +9040,6 @@ function open(target, seed) {
9443
9040
  function close() {
9444
9041
  state.conversationSearch?.cancelHandoff();
9445
9042
  state.crossSearch = null;
9446
- cancelUpdateCheck();
9447
9043
  closeAbout();
9448
9044
  cancelCountEdit(false);
9449
9045
  resetDiagnosticCopy();
@@ -9760,7 +9356,7 @@ function apply(ctx) {
9760
9356
  if (state.announcement) state.announcement.remove();
9761
9357
  state.announcement = state.returnBtn = null;
9762
9358
  state.diagnosticBtn = state.diagnosticFeedback = state.writeClipboard = null;
9763
- state.updateBtn = state.updateStatus = state.updateGuide = state.updateResult = null;
9359
+ state.openPluginBtn = null;
9764
9360
  var style = document.querySelector('style[data-plugin-css="dsh-find-all/bar.css"]');
9765
9361
  if (style) style.remove();
9766
9362
  state.countState = state.countEditor = state.countInput = state.countTotal = state.countHint = state.countLive = null;