ai_co_discuss 0.2.77 → 0.2.78
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/.agents/skills/discuss-host/SKILL.md +1 -1
- package/.agents/skills/discuss-participant/references/free.md +1 -1
- package/backend/free_room.py +29 -0
- package/backend/schema.sql +8 -0
- package/backend/server.py +7 -2
- package/docs/runner.md +2 -0
- package/docs/workflow.md +2 -0
- package/package.json +1 -1
- package/runner/api_participant.mjs +4 -2
- package/runner/discussion_launch.mjs +3 -1
- package/runner/discussion_runner.mjs +4 -3
- package/runner/expert_prompts.mjs +25 -0
- package/runner/free_runner.mjs +7 -5
- package/runner/scheduler.mjs +12 -5
- package/web/app.js +57 -2
- package/web/modern.css +1 -1
- package/web/modern.js +1053 -671
package/web/modern.js
CHANGED
|
@@ -5938,7 +5938,7 @@ var mf = {
|
|
|
5938
5938
|
}), gf = !1;
|
|
5939
5939
|
function _f(e) {
|
|
5940
5940
|
if (gf) return;
|
|
5941
|
-
let t = JSON.parse("[{\"prefix\":\"lucide\",\"icons\":{\"archive\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\\"/></g>\"},\"archive-restore\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h2M20 8v11a2 2 0 0 1-2 2h-2m-7-6l3-3l3 3m-3-3v9\\\"/></g>\"},\"arrow-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 5v14m7-7l-7 7l-7-7\\\"/>\"},\"arrow-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m12 19l-7-7l7-7m7 7H5\\\"/>\"},\"arrow-left-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\\"/>\"},\"arrow-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7l7 7l-7 7\\\"/>\"},\"arrow-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m5 12l7-7l7 7m-7 7V5\\\"/>\"},\"arrow-up-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M7 7h10v10M7 17L17 7\\\"/>\"},\"at-sign\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8\\\"/></g>\"},\"check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 6L9 17l-5-5\\\"/>\"},\"check-check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L7 17l-5-5m20-2l-7.5 7.5L13 16\\\"/>\"},\"chevron-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 9l6 6l6-6\\\"/>\"},\"chevron-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 18l-6-6l6-6\\\"/>\"},\"chevron-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m9 18l6-6l-6-6\\\"/>\"},\"chevron-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m18 15l-6-6l-6 6\\\"/>\"},\"chevrons-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\\"/>\"},\"chevrons-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\\"/>\"},\"chevrons-up-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m7 15l5 5l5-5M7 9l5-5l5 5\\\"/>\"},\"circle-alert\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 8v4m0 4h.01\\\"/></g>\"},\"circle-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m16 9l-5.5 5.5L8 12\\\"/></g>\"},\"circle-slash\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m9 15l6-6\\\"/></g>\"},\"circle-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m15 9l-6 6m0-6l6 6\\\"/></g>\"},\"clock\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 6v6l4 2\\\"/></g>\"},\"copy\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"copy-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m12 15l2 2l4-4\\\"/><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"corner-down-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 4v7a4 4 0 0 1-4 4H4\\\"/><path d=\\\"m9 10l-5 5l5 5\\\"/></g>\"},\"corner-up-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 20v-7a4 4 0 0 0-4-4H4\\\"/><path d=\\\"M9 14L4 9l5-5\\\"/></g>\"},\"crown\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294zM5 21h14\\\"/>\"},\"download\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/><path d=\\\"m7 10l5 5l5-5\\\"/></g>\"},\"ellipsis\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"19\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"5\\\" cy=\\\"12\\\" r=\\\"1\\\"/></g>\"},\"expand\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 15l6 6M15 9l6-6m0 13v5h-5m5-13V3h-5M3 16v5h5m-5 0l6-6M3 8V3h5m1 6L3 3\\\"/>\"},\"eye\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"/></g>\"},\"eye-off\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\\"/><path d=\\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\\"/></g>\"},\"file\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5\\\"/></g>\"},\"file-text\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\\"/></g>\"},\"flag\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\\"/>\"},\"folder\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-input\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1m0-4h10\\\"/><path d=\\\"m9 16l3-3l-3-3\\\"/></g>\"},\"folder-minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 13h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-open\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\\"/>\"},\"folder-search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/></g>\"},\"forward\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m15 17l5-5l-5-5\\\"/><path d=\\\"M4 18v-2a4 4 0 0 1 4-4h12\\\"/></g>\"},\"globe\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\\\"/></g>\"},\"grip-vertical\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"9\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"19\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"19\\\" r=\\\"1\\\"/></g>\"},\"hash\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\\"/>\"},\"image-up\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\\\"/><path d=\\\"m14 19.5l3-3l3 3M17 22v-5.5\\\"/><circle cx=\\\"9\\\" cy=\\\"9\\\" r=\\\"2\\\"/></g>\"},\"infinity\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8\\\"/>\"},\"info\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 16v-4m0-4h.01\\\"/></g>\"},\"key-round\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\\"/><circle cx=\\\"16.5\\\" cy=\\\"7.5\\\" r=\\\".5\\\" fill=\\\"currentColor\\\"/></g>\"},\"lightbulb\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\\"/>\"},\"link\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\\"/><path d=\\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\\"/></g>\"},\"list-checks\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\\"/>\"},\"list-filter\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M2 5h20M6 12h12m-9 7h6\\\"/>\"},\"list-ordered\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\\"/>\"},\"loader-circle\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 12a9 9 0 1 1-6.219-8.56\\\"/>\"},\"log-in\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\\"/>\"},\"log-out\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\\"/>\"},\"menu\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 5h16M4 12h16M4 19h16\\\"/>\"},\"message-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\\"/>\"},\"message-square-plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM12 8v6m-3-3h6\\\"/>\"},\"messages-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\\"/>\"},\"minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14\\\"/>\"},\"monitor\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"14\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M8 21h8m-4-4v4\\\"/></g>\"},\"moon\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\\"/>\"},\"panel-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18\\\"/></g>\"},\"panel-left-close\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m7-6l-3-3l3-3\\\"/></g>\"},\"panel-left-open\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m5-12l3 3l-3 3\\\"/></g>\"},\"panel-right\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M15 3v18\\\"/></g>\"},\"paperclip\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\\"/>\"},\"pause\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"14\\\" y=\\\"3\\\" rx=\\\"1\\\"/><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"5\\\" y=\\\"3\\\" rx=\\\"1\\\"/></g>\"},\"pencil\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\\"/>\"},\"play\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\\"/>\"},\"plug\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2\\\"/>\"},\"plug-zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\\"/>\"},\"plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7v14\\\"/>\"},\"refresh-cw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\\"/><path d=\\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\\"/><path d=\\\"M8 16H3v5\\\"/></g>\"},\"rocket\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\\"/><path d=\\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\\"/><path d=\\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\\"/></g>\"},\"rotate-ccw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\\"/><path d=\\\"M3 3v5h5\\\"/></g>\"},\"search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m21 21l-4.34-4.34\\\"/><circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"/></g>\"},\"send\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\\"/>\"},\"settings-2\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M14 17H5M19 7h-9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/><circle cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"3\\\"/></g>\"},\"skip-forward\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 4v16M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z\\\"/>\"},\"square\":{\"width\":24,\"height\":24,\"body\":\"<rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" rx=\\\"2\\\"/>\"},\"square-pen\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\\"/><path d=\\\"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z\\\"/></g>\"},\"star\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\\"/>\"},\"sun\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\\"/></g>\"},\"target\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"6\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2\\\"/></g>\"},\"thumbs-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88M17 14V2\\\"/>\"},\"thumbs-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 5.88L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12\\\"/>\"},\"trash-2\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\\"/>\"},\"triangle-alert\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\\"/>\"},\"upload\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/>\"},\"user-plus\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/><path d=\\\"M19 8v6m3-3h-6\\\"/></g>\"},\"user-round-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m16.5 16.5l5 5M2 21a8 8 0 0 1 11.531-7.18M21.5 16.5l-5 5\\\"/><circle cx=\\\"10\\\" cy=\\\"8\\\" r=\\\"5\\\"/></g>\"},\"users\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/></g>\"},\"x\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L6 18M6 6l12 12\\\"/>\"},\"zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\\"/>\"}}}]");
|
|
5941
|
+
let t = JSON.parse("[{\"prefix\":\"lucide\",\"icons\":{\"archive\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\\"/></g>\"},\"archive-restore\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"5\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"1\\\"/><path d=\\\"M4 8v11a2 2 0 0 0 2 2h2M20 8v11a2 2 0 0 1-2 2h-2m-7-6l3-3l3 3m-3-3v9\\\"/></g>\"},\"arrow-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 5v14m7-7l-7 7l-7-7\\\"/>\"},\"arrow-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m12 19l-7-7l7-7m7 7H5\\\"/>\"},\"arrow-left-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\\"/>\"},\"arrow-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7l7 7l-7 7\\\"/>\"},\"arrow-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m5 12l7-7l7 7m-7 7V5\\\"/>\"},\"arrow-up-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M7 7h10v10M7 17L17 7\\\"/>\"},\"at-sign\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8\\\"/></g>\"},\"bookmark\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z\\\"/>\"},\"check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 6L9 17l-5-5\\\"/>\"},\"check-check\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L7 17l-5-5m20-2l-7.5 7.5L13 16\\\"/>\"},\"chevron-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 9l6 6l6-6\\\"/>\"},\"chevron-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 18l-6-6l6-6\\\"/>\"},\"chevron-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m9 18l6-6l-6-6\\\"/>\"},\"chevron-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m18 15l-6-6l-6 6\\\"/>\"},\"chevrons-left\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\\"/>\"},\"chevrons-right\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\\"/>\"},\"chevrons-up-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m7 15l5 5l5-5M7 9l5-5l5 5\\\"/>\"},\"circle-alert\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 8v4m0 4h.01\\\"/></g>\"},\"circle-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m16 9l-5.5 5.5L8 12\\\"/></g>\"},\"circle-slash\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m9 15l6-6\\\"/></g>\"},\"circle-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"m15 9l-6 6m0-6l6 6\\\"/></g>\"},\"clock\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 6v6l4 2\\\"/></g>\"},\"copy\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"copy-check\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m12 15l2 2l4-4\\\"/><rect width=\\\"14\\\" height=\\\"14\\\" x=\\\"8\\\" y=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"/><path d=\\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\\"/></g>\"},\"corner-down-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 4v7a4 4 0 0 1-4 4H4\\\"/><path d=\\\"m9 10l-5 5l5 5\\\"/></g>\"},\"corner-up-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M20 20v-7a4 4 0 0 0-4-4H4\\\"/><path d=\\\"M9 14L4 9l5-5\\\"/></g>\"},\"crown\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294zM5 21h14\\\"/>\"},\"download\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/><path d=\\\"m7 10l5 5l5-5\\\"/></g>\"},\"ellipsis\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"19\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"5\\\" cy=\\\"12\\\" r=\\\"1\\\"/></g>\"},\"expand\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m15 15l6 6M15 9l6-6m0 13v5h-5m5-13V3h-5M3 16v5h5m-5 0l6-6M3 8V3h5m1 6L3 3\\\"/>\"},\"eye\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"/></g>\"},\"eye-off\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\\"/><path d=\\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\\"/></g>\"},\"file\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5\\\"/></g>\"},\"file-text\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\\"/><path d=\\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\\"/></g>\"},\"flag\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\\"/>\"},\"folder\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-input\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1m0-4h10\\\"/><path d=\\\"m9 16l3-3l-3-3\\\"/></g>\"},\"folder-minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 13h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\\"/>\"},\"folder-open\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\\"/>\"},\"folder-search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/></g>\"},\"forward\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m15 17l5-5l-5-5\\\"/><path d=\\\"M4 18v-2a4 4 0 0 1 4-4h12\\\"/></g>\"},\"globe\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\\\"/></g>\"},\"grip-vertical\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"9\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"9\\\" cy=\\\"19\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"12\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"5\\\" r=\\\"1\\\"/><circle cx=\\\"15\\\" cy=\\\"19\\\" r=\\\"1\\\"/></g>\"},\"hash\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\\"/>\"},\"image-up\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\\\"/><path d=\\\"m14 19.5l3-3l3 3M17 22v-5.5\\\"/><circle cx=\\\"9\\\" cy=\\\"9\\\" r=\\\"2\\\"/></g>\"},\"infinity\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8\\\"/>\"},\"info\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><path d=\\\"M12 16v-4m0-4h.01\\\"/></g>\"},\"key-round\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\\"/><circle cx=\\\"16.5\\\" cy=\\\"7.5\\\" r=\\\".5\\\" fill=\\\"currentColor\\\"/></g>\"},\"lightbulb\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\\"/>\"},\"link\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\\"/><path d=\\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\\"/></g>\"},\"list-checks\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\\"/>\"},\"list-filter\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M2 5h20M6 12h12m-9 7h6\\\"/>\"},\"list-ordered\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\\"/>\"},\"loader-circle\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 12a9 9 0 1 1-6.219-8.56\\\"/>\"},\"log-in\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\\"/>\"},\"log-out\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\\"/>\"},\"menu\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M4 5h16M4 12h16M4 19h16\\\"/>\"},\"message-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\\"/>\"},\"message-square-plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM12 8v6m-3-3h6\\\"/>\"},\"messages-square\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\\"/>\"},\"minus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14\\\"/>\"},\"monitor\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"20\\\" height=\\\"14\\\" x=\\\"2\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M8 21h8m-4-4v4\\\"/></g>\"},\"moon\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\\"/>\"},\"panel-left\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18\\\"/></g>\"},\"panel-left-close\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m7-6l-3-3l3-3\\\"/></g>\"},\"panel-left-open\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M9 3v18m5-12l3 3l-3 3\\\"/></g>\"},\"panel-right\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" rx=\\\"2\\\"/><path d=\\\"M15 3v18\\\"/></g>\"},\"paperclip\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\\"/>\"},\"pause\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"14\\\" y=\\\"3\\\" rx=\\\"1\\\"/><rect width=\\\"5\\\" height=\\\"18\\\" x=\\\"5\\\" y=\\\"3\\\" rx=\\\"1\\\"/></g>\"},\"pen-line\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M13 21h8m.174-14.188a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\\\"/>\"},\"pencil\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\\"/>\"},\"play\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\\"/>\"},\"plug\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2\\\"/>\"},\"plug-zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\\"/>\"},\"plus\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M5 12h14m-7-7v14\\\"/>\"},\"refresh-cw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\\"/><path d=\\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\\"/><path d=\\\"M8 16H3v5\\\"/></g>\"},\"rocket\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\\"/><path d=\\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\\"/><path d=\\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\\"/></g>\"},\"rotate-ccw\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\\"/><path d=\\\"M3 3v5h5\\\"/></g>\"},\"search\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m21 21l-4.34-4.34\\\"/><circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"/></g>\"},\"send\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\\"/>\"},\"settings-2\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M14 17H5M19 7h-9\\\"/><circle cx=\\\"17\\\" cy=\\\"17\\\" r=\\\"3\\\"/><circle cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"3\\\"/></g>\"},\"skip-forward\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M21 4v16M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z\\\"/>\"},\"square\":{\"width\":24,\"height\":24,\"body\":\"<rect width=\\\"18\\\" height=\\\"18\\\" x=\\\"3\\\" y=\\\"3\\\" fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" rx=\\\"2\\\"/>\"},\"square-pen\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\\"/><path d=\\\"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z\\\"/></g>\"},\"star\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\\"/>\"},\"sun\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"/><path d=\\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\\"/></g>\"},\"target\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"6\\\"/><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2\\\"/></g>\"},\"thumbs-down\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88M17 14V2\\\"/>\"},\"thumbs-up\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15 5.88L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12\\\"/>\"},\"trash-2\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\\"/>\"},\"triangle-alert\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\\"/>\"},\"upload\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"/>\"},\"user-pen\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M11.5 15H7a4 4 0 0 0-4 4v2m18.378-4.374a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z\\\"/><circle cx=\\\"10\\\" cy=\\\"7\\\" r=\\\"4\\\"/></g>\"},\"user-plus\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/><path d=\\\"M19 8v6m3-3h-6\\\"/></g>\"},\"user-round-x\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"m16.5 16.5l5 5M2 21a8 8 0 0 1 11.531-7.18M21.5 16.5l-5 5\\\"/><circle cx=\\\"10\\\" cy=\\\"8\\\" r=\\\"5\\\"/></g>\"},\"users\":{\"width\":24,\"height\":24,\"body\":\"<g fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\"><path d=\\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\\\"/><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"/></g>\"},\"x\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M18 6L6 18M6 6l12 12\\\"/>\"},\"zap\":{\"width\":24,\"height\":24,\"body\":\"<path fill=\\\"none\\\" stroke=\\\"currentColor\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-width=\\\"2\\\" d=\\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\\"/>\"}}}]");
|
|
5942
5942
|
for (let n of t) for (let [t, r] of Object.entries(n.icons)) e(n.prefix ? n.prefix + ":" + t : t, r);
|
|
5943
5943
|
gf = !0;
|
|
5944
5944
|
}
|
|
@@ -47930,52 +47930,278 @@ var hU = /*#__PURE__*/ XH({
|
|
|
47930
47930
|
}, null, -1)
|
|
47931
47931
|
], 46, $q)]));
|
|
47932
47932
|
}
|
|
47933
|
-
}, [["__scopeId", "data-v-f27db748"]]), dJ =
|
|
47933
|
+
}, [["__scopeId", "data-v-f27db748"]]), dJ = {
|
|
47934
|
+
key: 0,
|
|
47935
|
+
class: "member-text-source"
|
|
47936
|
+
}, fJ = { class: "member-text-meta" }, pJ = { class: "member-text-footer" }, mJ = /*#__PURE__*/ XH({
|
|
47937
|
+
__name: "MemberTextDialog",
|
|
47938
|
+
props: /*@__PURE__*/ Fa({
|
|
47939
|
+
title: {
|
|
47940
|
+
type: String,
|
|
47941
|
+
required: !0
|
|
47942
|
+
},
|
|
47943
|
+
description: {
|
|
47944
|
+
type: String,
|
|
47945
|
+
default: ""
|
|
47946
|
+
},
|
|
47947
|
+
label: {
|
|
47948
|
+
type: String,
|
|
47949
|
+
required: !0
|
|
47950
|
+
},
|
|
47951
|
+
placeholder: {
|
|
47952
|
+
type: String,
|
|
47953
|
+
default: ""
|
|
47954
|
+
},
|
|
47955
|
+
max: {
|
|
47956
|
+
type: Number,
|
|
47957
|
+
required: !0
|
|
47958
|
+
},
|
|
47959
|
+
rows: {
|
|
47960
|
+
type: Number,
|
|
47961
|
+
default: 5
|
|
47962
|
+
},
|
|
47963
|
+
note: {
|
|
47964
|
+
type: String,
|
|
47965
|
+
default: ""
|
|
47966
|
+
},
|
|
47967
|
+
source: {
|
|
47968
|
+
type: Object,
|
|
47969
|
+
default: null
|
|
47970
|
+
},
|
|
47971
|
+
changed: Boolean,
|
|
47972
|
+
saving: Boolean
|
|
47973
|
+
}, {
|
|
47974
|
+
open: {
|
|
47975
|
+
type: Boolean,
|
|
47976
|
+
default: !1
|
|
47977
|
+
},
|
|
47978
|
+
openModifiers: {},
|
|
47979
|
+
draft: {
|
|
47980
|
+
type: String,
|
|
47981
|
+
default: ""
|
|
47982
|
+
},
|
|
47983
|
+
draftModifiers: {}
|
|
47984
|
+
}),
|
|
47985
|
+
emits: /*@__PURE__*/ Fa(["save"], ["update:open", "update:draft"]),
|
|
47986
|
+
setup(e, { emit: t }) {
|
|
47987
|
+
let n = e, r = ro(e, "open"), i = ro(e, "draft"), a = t, o = Z(() => i.value.length >= n.max * .9);
|
|
47988
|
+
function s() {
|
|
47989
|
+
n.changed && !n.saving && a("save");
|
|
47990
|
+
}
|
|
47991
|
+
return (t, n) => {
|
|
47992
|
+
let a = sA, c = HV, l = MA, u = YH;
|
|
47993
|
+
return U(), G(u, {
|
|
47994
|
+
open: r.value,
|
|
47995
|
+
"onUpdate:open": n[3] ||= (e) => r.value = e,
|
|
47996
|
+
title: e.title,
|
|
47997
|
+
description: e.description,
|
|
47998
|
+
ui: {
|
|
47999
|
+
content: "glass-panel studio-modal",
|
|
48000
|
+
body: "dialog-body"
|
|
48001
|
+
}
|
|
48002
|
+
}, {
|
|
48003
|
+
body: L(() => [K("form", {
|
|
48004
|
+
class: "member-text",
|
|
48005
|
+
onSubmit: uu(s, ["prevent"])
|
|
48006
|
+
}, [
|
|
48007
|
+
e.source ? (U(), W("div", dJ, [
|
|
48008
|
+
q(a, { name: "i-lucide-bookmark" }),
|
|
48009
|
+
K("p", null, [K("b", null, P(e.source.tag), 1), J(P(e.source.text), 1)]),
|
|
48010
|
+
K("button", {
|
|
48011
|
+
type: "button",
|
|
48012
|
+
onClick: n[0] ||= (t) => i.value = e.source.text
|
|
48013
|
+
}, P(e.source.action), 1)
|
|
48014
|
+
])) : Y("", !0),
|
|
48015
|
+
q(c, {
|
|
48016
|
+
modelValue: i.value,
|
|
48017
|
+
"onUpdate:modelValue": n[1] ||= (e) => i.value = e,
|
|
48018
|
+
rows: e.rows,
|
|
48019
|
+
maxlength: e.max,
|
|
48020
|
+
autoresize: "",
|
|
48021
|
+
maxrows: e.rows * 2,
|
|
48022
|
+
autofocus: "",
|
|
48023
|
+
class: "w-full",
|
|
48024
|
+
"aria-label": e.label,
|
|
48025
|
+
placeholder: e.placeholder,
|
|
48026
|
+
onKeydown: [fu(uu(s, ["ctrl", "prevent"]), ["enter"]), fu(uu(s, ["meta", "prevent"]), ["enter"])]
|
|
48027
|
+
}, null, 8, [
|
|
48028
|
+
"modelValue",
|
|
48029
|
+
"rows",
|
|
48030
|
+
"maxlength",
|
|
48031
|
+
"maxrows",
|
|
48032
|
+
"aria-label",
|
|
48033
|
+
"placeholder",
|
|
48034
|
+
"onKeydown"
|
|
48035
|
+
]),
|
|
48036
|
+
K("div", fJ, [K("span", null, P(e.note), 1), K("span", { class: M({ "is-near": o.value }) }, P(i.value.length) + " / " + P(e.max), 3)]),
|
|
48037
|
+
K("div", pJ, [
|
|
48038
|
+
K("div", null, [V(t.$slots, "extra", {}, void 0, !0)]),
|
|
48039
|
+
q(l, {
|
|
48040
|
+
label: "取消",
|
|
48041
|
+
color: "neutral",
|
|
48042
|
+
variant: "ghost",
|
|
48043
|
+
onClick: n[2] ||= (e) => r.value = !1
|
|
48044
|
+
}),
|
|
48045
|
+
q(l, {
|
|
48046
|
+
type: "submit",
|
|
48047
|
+
label: "保存",
|
|
48048
|
+
class: "channel-primary-button",
|
|
48049
|
+
loading: e.saving,
|
|
48050
|
+
disabled: !e.changed
|
|
48051
|
+
}, null, 8, ["loading", "disabled"])
|
|
48052
|
+
])
|
|
48053
|
+
], 32)]),
|
|
48054
|
+
_: 3
|
|
48055
|
+
}, 8, [
|
|
48056
|
+
"open",
|
|
48057
|
+
"title",
|
|
48058
|
+
"description"
|
|
48059
|
+
]);
|
|
48060
|
+
};
|
|
48061
|
+
}
|
|
48062
|
+
}, [["__scopeId", "data-v-e3ec37df"]]), hJ = 500, gJ = {
|
|
48063
|
+
__name: "MemberDescriptionDialog",
|
|
48064
|
+
props: /*@__PURE__*/ Fa({
|
|
48065
|
+
name: {
|
|
48066
|
+
type: String,
|
|
48067
|
+
required: !0
|
|
48068
|
+
},
|
|
48069
|
+
platform: {
|
|
48070
|
+
type: String,
|
|
48071
|
+
default: ""
|
|
48072
|
+
},
|
|
48073
|
+
text: {
|
|
48074
|
+
type: String,
|
|
48075
|
+
default: ""
|
|
48076
|
+
},
|
|
48077
|
+
template: {
|
|
48078
|
+
type: String,
|
|
48079
|
+
default: ""
|
|
48080
|
+
},
|
|
48081
|
+
saving: Boolean
|
|
48082
|
+
}, {
|
|
48083
|
+
open: {
|
|
48084
|
+
type: Boolean,
|
|
48085
|
+
default: !1
|
|
48086
|
+
},
|
|
48087
|
+
openModifiers: {}
|
|
48088
|
+
}),
|
|
48089
|
+
emits: /*@__PURE__*/ Fa(["save"], ["update:open"]),
|
|
48090
|
+
setup(e, { emit: t }) {
|
|
48091
|
+
let n = e, r = ro(e, "open"), i = t, a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(!1), s = /* @__PURE__ */ F({
|
|
48092
|
+
name: "",
|
|
48093
|
+
platform: "",
|
|
48094
|
+
text: "",
|
|
48095
|
+
template: ""
|
|
48096
|
+
});
|
|
48097
|
+
R(r, (e) => {
|
|
48098
|
+
e && (s.value = {
|
|
48099
|
+
name: n.name,
|
|
48100
|
+
platform: n.platform,
|
|
48101
|
+
text: n.text.trim(),
|
|
48102
|
+
template: n.template.trim()
|
|
48103
|
+
}, a.value = n.text, o.value = !1);
|
|
48104
|
+
}, { immediate: !0 });
|
|
48105
|
+
let c = Z(() => a.value.trim()), l = Z(() => s.value.template && c.value !== s.value.template ? {
|
|
48106
|
+
tag: `${s.value.platform} 的默认描述`,
|
|
48107
|
+
text: s.value.template,
|
|
48108
|
+
action: "填入"
|
|
48109
|
+
} : null), u = Z(() => !!(s.value.platform && c.value && c.value !== s.value.template)), d = Z(() => c.value !== s.value.text || o.value && u.value), f = Z(() => o.value && u.value ? `之后添加 ${s.value.platform} 时自动填入这段描述` : c.value ? "标签或一段话都行,Ctrl + Enter 保存" : "留空表示不提供描述");
|
|
48110
|
+
R(u, (e) => {
|
|
48111
|
+
e || (o.value = !1);
|
|
48112
|
+
});
|
|
48113
|
+
function p() {
|
|
48114
|
+
i("save", {
|
|
48115
|
+
text: c.value,
|
|
48116
|
+
as_template: o.value && u.value
|
|
48117
|
+
});
|
|
48118
|
+
}
|
|
48119
|
+
return (t, n) => {
|
|
48120
|
+
let i = Xq;
|
|
48121
|
+
return U(), G(mJ, {
|
|
48122
|
+
open: r.value,
|
|
48123
|
+
"onUpdate:open": n[1] ||= (e) => r.value = e,
|
|
48124
|
+
draft: a.value,
|
|
48125
|
+
"onUpdate:draft": n[2] ||= (e) => a.value = e,
|
|
48126
|
+
title: `${s.value.name} 的描述`,
|
|
48127
|
+
description: "擅长什么、适合分到什么工作。智能调度和 AI 主持人分派时参考,房间所有成员都能看到。",
|
|
48128
|
+
label: `${s.value.name} 的描述`,
|
|
48129
|
+
placeholder: "例如:审美好,UI 写得好,制定的计划完善",
|
|
48130
|
+
max: hJ,
|
|
48131
|
+
note: f.value,
|
|
48132
|
+
source: l.value,
|
|
48133
|
+
changed: d.value,
|
|
48134
|
+
saving: e.saving,
|
|
48135
|
+
onSave: p
|
|
48136
|
+
}, {
|
|
48137
|
+
extra: L(() => [u.value ? (U(), G(i, {
|
|
48138
|
+
key: 0,
|
|
48139
|
+
modelValue: o.value,
|
|
48140
|
+
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
48141
|
+
label: `存为 ${s.value.platform} 的默认描述`
|
|
48142
|
+
}, null, 8, ["modelValue", "label"])) : Y("", !0)]),
|
|
48143
|
+
_: 1
|
|
48144
|
+
}, 8, [
|
|
48145
|
+
"open",
|
|
48146
|
+
"draft",
|
|
48147
|
+
"title",
|
|
48148
|
+
"label",
|
|
48149
|
+
"note",
|
|
48150
|
+
"source",
|
|
48151
|
+
"changed",
|
|
48152
|
+
"saving"
|
|
48153
|
+
]);
|
|
48154
|
+
};
|
|
48155
|
+
}
|
|
48156
|
+
}, _J = 4e3, vJ = { antigravity_cli: "无人值守下 run_command 只能运行 codiscuss 的子命令,其他命令会被自动拒绝并使会话直接结束;列目录、搜索或读取文件用 list_dir、find_by_name、grep_search、view_file。\n任务需要多步操作时,在读完材料、改定方案、验证结果这类关键转折处,用一两句中文写出进展再继续。" }, yJ = ["data-identity", "data-face"], bJ = ["inert", "aria-hidden"], xJ = { class: "expert-card-identity" }, SJ = { class: "expert-card-names" }, CJ = {
|
|
47934
48157
|
key: 0,
|
|
47935
48158
|
class: "expert-card-badge"
|
|
47936
|
-
},
|
|
48159
|
+
}, wJ = ["title"], TJ = { class: "expert-card-facts" }, EJ = ["title"], DJ = {
|
|
47937
48160
|
key: 0,
|
|
47938
48161
|
"aria-hidden": "true"
|
|
47939
|
-
},
|
|
48162
|
+
}, OJ = {
|
|
47940
48163
|
key: 0,
|
|
47941
48164
|
class: "expert-card-manual"
|
|
47942
|
-
},
|
|
48165
|
+
}, kJ = { key: 0 }, AJ = {
|
|
47943
48166
|
key: 1,
|
|
47944
48167
|
class: "expert-card-flip"
|
|
47945
|
-
},
|
|
48168
|
+
}, jJ = ["aria-label"], MJ = [
|
|
47946
48169
|
"aria-checked",
|
|
47947
48170
|
"tabindex",
|
|
47948
48171
|
"data-mode",
|
|
47949
48172
|
"onClick"
|
|
47950
|
-
],
|
|
48173
|
+
], NJ = { class: "expert-card-tools" }, PJ = ["aria-label", "title"], FJ = [
|
|
47951
48174
|
"aria-pressed",
|
|
47952
48175
|
"aria-label",
|
|
47953
48176
|
"title"
|
|
47954
|
-
],
|
|
48177
|
+
], IJ = ["aria-label"], LJ = ["inert", "aria-hidden"], RJ = { class: "expert-card-back-body" }, zJ = { class: "expert-card-heading" }, BJ = ["role"], VJ = {
|
|
47955
48178
|
key: 1,
|
|
47956
48179
|
class: "expert-card-field"
|
|
47957
|
-
},
|
|
48180
|
+
}, HJ = {
|
|
47958
48181
|
key: 2,
|
|
47959
48182
|
class: "expert-card-field"
|
|
47960
|
-
},
|
|
48183
|
+
}, UJ = {
|
|
47961
48184
|
key: 3,
|
|
47962
48185
|
class: "expert-card-check"
|
|
47963
|
-
},
|
|
48186
|
+
}, WJ = {
|
|
47964
48187
|
key: 4,
|
|
47965
48188
|
class: "expert-card-field"
|
|
47966
|
-
},
|
|
48189
|
+
}, GJ = ["aria-label"], KJ = ["aria-checked", "onClick"], qJ = {
|
|
48190
|
+
key: 5,
|
|
48191
|
+
class: "expert-card-field"
|
|
48192
|
+
}, JJ = ["title", "aria-label"], YJ = { class: "expert-card-field" }, XJ = {
|
|
47967
48193
|
key: 0,
|
|
47968
48194
|
class: "expert-card-catalog"
|
|
47969
|
-
},
|
|
48195
|
+
}, ZJ = {
|
|
47970
48196
|
key: 1,
|
|
47971
48197
|
class: "expert-card-effort"
|
|
47972
|
-
},
|
|
48198
|
+
}, QJ = {
|
|
47973
48199
|
key: 2,
|
|
47974
48200
|
class: "expert-card-note"
|
|
47975
|
-
},
|
|
47976
|
-
key:
|
|
48201
|
+
}, $J = ["aria-label", "disabled"], eY = {
|
|
48202
|
+
key: 8,
|
|
47977
48203
|
class: "expert-card-note"
|
|
47978
|
-
},
|
|
48204
|
+
}, tY = { class: "expert-card-flip-actions" }, nY = ["aria-label"], rY = ["aria-label"], iY = 180, aY = "[role='listbox'], [role='menu'], [data-reka-popper-content-wrapper]", oY = /*#__PURE__*/ XH({
|
|
47979
48205
|
__name: "ExpertCard",
|
|
47980
48206
|
props: {
|
|
47981
48207
|
name: {
|
|
@@ -48128,7 +48354,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48128
48354
|
});
|
|
48129
48355
|
}
|
|
48130
48356
|
function ge(e) {
|
|
48131
|
-
let t = e >=
|
|
48357
|
+
let t = e >= iY / 2;
|
|
48132
48358
|
f.value !== t && (f.value = t, he());
|
|
48133
48359
|
}
|
|
48134
48360
|
let N = o.on("change", ge), _e = o.on("animationComplete", he), ve = null, ye = "";
|
|
@@ -48141,10 +48367,29 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48141
48367
|
function xe() {
|
|
48142
48368
|
ve &&= (a.restore_launch_profile(n.name, ve.profile), ve.mode !== n.mode && r("mode", ve.mode), n.session !== null && n.session !== ye && r("session", ye), null), be(!1);
|
|
48143
48369
|
}
|
|
48144
|
-
|
|
48370
|
+
let Se = Z(() => i.value && a.description_draft(n.name).trim()), Ce = /* @__PURE__ */ F(!1);
|
|
48371
|
+
function we({ text: e, as_template: t }) {
|
|
48372
|
+
a.write_description_draft(n.name, e), t && a.save_description_template(n.name, e), Ce.value = !1;
|
|
48373
|
+
}
|
|
48374
|
+
let Te = Z(() => vJ[p.value.adapter] || ""), Ee = Z(() => Object.hasOwn(p.value, "system_prompt")), De = Z(() => (Ee.value ? p.value.system_prompt : Te.value).trim()), Oe = Z(() => De.value ? Ee.value ? "自定义" : "预设" : ""), ke = /* @__PURE__ */ F(!1), Ae = /* @__PURE__ */ F(""), je = Z(() => Ae.value.trim() !== De.value), Me = Z(() => {
|
|
48375
|
+
let e = Ae.value.trim();
|
|
48376
|
+
return e ? e === Te.value.trim() ? "与软件预设一致,预设更新时自动跟随" : Te.value ? "已改写,不再跟随软件预设" : "只发给这位专家,Ctrl + Enter 保存" : Te.value ? "留空:这位专家不使用预设,也没有专属提示词" : "留空表示不使用";
|
|
48377
|
+
}), Ne = Z(() => Te.value && Ae.value.trim() !== Te.value.trim() ? {
|
|
48378
|
+
tag: "软件预设",
|
|
48379
|
+
text: Te.value,
|
|
48380
|
+
action: "恢复预设"
|
|
48381
|
+
} : null);
|
|
48382
|
+
function Pe() {
|
|
48383
|
+
Ae.value = De.value, ke.value = !0;
|
|
48384
|
+
}
|
|
48385
|
+
function Fe() {
|
|
48386
|
+
let e = Ae.value.trim();
|
|
48387
|
+
a.write_launch(n.name, "system_prompt", e === Te.value.trim() ? null : e), ke.value = !1;
|
|
48388
|
+
}
|
|
48389
|
+
function Ie() {
|
|
48145
48390
|
a.write_launch(n.name, "model", ""), a.write_launch(n.name, "effort", "");
|
|
48146
48391
|
}
|
|
48147
|
-
function
|
|
48392
|
+
function Le(e) {
|
|
48148
48393
|
let t = {
|
|
48149
48394
|
ArrowLeft: -1,
|
|
48150
48395
|
ArrowUp: -1,
|
|
@@ -48156,16 +48401,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48156
48401
|
let i = h.value, a = i.indexOf(n.mode), o = e.key === "Home" ? i[0] : e.key === "End" ? i.at(-1) : i[(a + t[e.key] + i.length) % i.length];
|
|
48157
48402
|
r("mode", o), e.currentTarget.querySelector(`[data-mode="${o}"]`)?.focus();
|
|
48158
48403
|
}
|
|
48159
|
-
function
|
|
48404
|
+
function Re(e) {
|
|
48160
48405
|
d.value && (e.stopPropagation(), e.preventDefault(), xe());
|
|
48161
48406
|
}
|
|
48162
|
-
function
|
|
48163
|
-
c.value?.contains(e.target) || e.target.closest?.(
|
|
48407
|
+
function ze(e) {
|
|
48408
|
+
ke.value || Ce.value || c.value?.contains(e.target) || e.target.closest?.(aY) || be(!1);
|
|
48164
48409
|
}
|
|
48165
48410
|
return R(d, (e) => {
|
|
48166
|
-
e ? document.addEventListener("pointerdown",
|
|
48411
|
+
e ? document.addEventListener("pointerdown", ze, !0) : document.removeEventListener("pointerdown", ze, !0);
|
|
48167
48412
|
}), R([d, s], ([e, t]) => {
|
|
48168
|
-
let n = e ?
|
|
48413
|
+
let n = e ? iY : 0;
|
|
48169
48414
|
t ? (o.jump(n), he()) : o.set(n);
|
|
48170
48415
|
}), R(() => [
|
|
48171
48416
|
te.value,
|
|
@@ -48174,7 +48419,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48174
48419
|
], ([e, t]) => {
|
|
48175
48420
|
e && t && a.load_launch_models(n.name);
|
|
48176
48421
|
}, { immediate: !0 }), ta(() => {
|
|
48177
|
-
document.removeEventListener("pointerdown",
|
|
48422
|
+
document.removeEventListener("pointerdown", ze, !0), N(), _e(), o.stop();
|
|
48178
48423
|
}), (t, n) => {
|
|
48179
48424
|
let s = pA, d = sA, x = MA, S = bH, w = YV;
|
|
48180
48425
|
return U(), W("div", {
|
|
@@ -48188,31 +48433,31 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48188
48433
|
"data-identity": I(a).identities[e.name]?.style,
|
|
48189
48434
|
"data-face": f.value ? "back" : "front",
|
|
48190
48435
|
tabindex: "-1",
|
|
48191
|
-
onKeydown: fu(
|
|
48192
|
-
}, [
|
|
48193
|
-
|
|
48194
|
-
|
|
48195
|
-
|
|
48196
|
-
|
|
48197
|
-
|
|
48198
|
-
|
|
48199
|
-
|
|
48200
|
-
|
|
48201
|
-
|
|
48202
|
-
|
|
48203
|
-
|
|
48204
|
-
|
|
48205
|
-
|
|
48206
|
-
"
|
|
48207
|
-
|
|
48208
|
-
|
|
48209
|
-
|
|
48210
|
-
|
|
48211
|
-
|
|
48212
|
-
|
|
48213
|
-
|
|
48214
|
-
|
|
48215
|
-
q(s, {
|
|
48436
|
+
onKeydown: fu(Re, ["esc"])
|
|
48437
|
+
}, [
|
|
48438
|
+
q(I(bV).div, {
|
|
48439
|
+
class: "expert-card-turn",
|
|
48440
|
+
style: fe({ rotateY: I(o) })
|
|
48441
|
+
}, {
|
|
48442
|
+
default: L(() => [K("div", {
|
|
48443
|
+
class: "expert-card-face expert-card-front",
|
|
48444
|
+
inert: f.value,
|
|
48445
|
+
"aria-hidden": f.value
|
|
48446
|
+
}, [
|
|
48447
|
+
(U(), G(da(O.value ? "button" : "div"), {
|
|
48448
|
+
ref_key: "front_button",
|
|
48449
|
+
ref: l,
|
|
48450
|
+
type: O.value ? "button" : void 0,
|
|
48451
|
+
class: M(["expert-card-open", {
|
|
48452
|
+
"is-static": !O.value,
|
|
48453
|
+
"has-modes": h.value.length > 1
|
|
48454
|
+
}]),
|
|
48455
|
+
"aria-label": O.value ? ee.value : void 0,
|
|
48456
|
+
title: O.value ? "点击翻面设置" : void 0,
|
|
48457
|
+
onClick: n[0] ||= (e) => be(!0)
|
|
48458
|
+
}, {
|
|
48459
|
+
default: L(() => [
|
|
48460
|
+
K("span", xJ, [q(s, {
|
|
48216
48461
|
src: I(a).identities[e.name]?.icon,
|
|
48217
48462
|
text: I(a).identities[e.name]?.initials,
|
|
48218
48463
|
alt: e.name,
|
|
@@ -48223,202 +48468,267 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48223
48468
|
"text",
|
|
48224
48469
|
"alt",
|
|
48225
48470
|
"class"
|
|
48226
|
-
]),
|
|
48227
|
-
|
|
48228
|
-
|
|
48471
|
+
]), K("span", SJ, [K("span", null, [K("strong", null, P(e.name), 1), e.host ? (U(), W("span", CJ, "主持")) : Y("", !0)]), Se.value ? (U(), W("small", {
|
|
48472
|
+
key: 0,
|
|
48473
|
+
title: Se.value
|
|
48474
|
+
}, P(Se.value), 9, wJ)) : Y("", !0)])]),
|
|
48475
|
+
K("dl", TJ, [(U(!0), W(H, null, B(le.value, (e) => (U(), W("div", { key: e.label }, [K("dt", null, P(e.label), 1), K("dd", {
|
|
48476
|
+
class: M(e.tone ? ["expert-card-status", `is-${e.tone}`] : ""),
|
|
48477
|
+
title: e.value
|
|
48478
|
+
}, [e.tone ? (U(), W("i", DJ)) : Y("", !0), J(P(e.value), 1)], 10, EJ)]))), 128))]),
|
|
48479
|
+
C.value ? (U(), W("div", OJ, [n[13] ||= K("p", null, "会话自行注册后才算到场。", -1), T.value ? (U(), W("p", kJ, P(T.value), 1)) : Y("", !0)])) : Y("", !0),
|
|
48480
|
+
O.value ? (U(), W("span", AJ, [q(d, { name: "i-lucide-settings-2" }), n[14] ||= J("设置", -1)])) : Y("", !0)
|
|
48229
48481
|
]),
|
|
48230
|
-
|
|
48231
|
-
|
|
48232
|
-
|
|
48233
|
-
|
|
48234
|
-
|
|
48235
|
-
|
|
48236
|
-
]),
|
|
48237
|
-
|
|
48238
|
-
|
|
48239
|
-
|
|
48240
|
-
|
|
48241
|
-
|
|
48242
|
-
|
|
48243
|
-
|
|
48244
|
-
|
|
48245
|
-
|
|
48246
|
-
|
|
48247
|
-
|
|
48248
|
-
|
|
48249
|
-
|
|
48250
|
-
|
|
48251
|
-
|
|
48252
|
-
|
|
48253
|
-
|
|
48254
|
-
|
|
48255
|
-
|
|
48256
|
-
|
|
48257
|
-
|
|
48258
|
-
|
|
48259
|
-
|
|
48260
|
-
|
|
48261
|
-
|
|
48262
|
-
|
|
48263
|
-
|
|
48264
|
-
|
|
48265
|
-
|
|
48266
|
-
|
|
48267
|
-
|
|
48268
|
-
|
|
48269
|
-
|
|
48270
|
-
|
|
48271
|
-
|
|
48272
|
-
|
|
48273
|
-
|
|
48274
|
-
|
|
48275
|
-
|
|
48276
|
-
|
|
48277
|
-
"aria-hidden": !f.value
|
|
48278
|
-
}, [K("div", DJ, [
|
|
48279
|
-
K("div", OJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]), v.value ? (U(), G(x, {
|
|
48280
|
-
key: 0,
|
|
48281
|
-
icon: "i-lucide-zap",
|
|
48282
|
-
"aria-label": `检查 ${e.name} 的 API 配置`,
|
|
48283
|
-
title: "检查配置:发送一次极短请求,核对地址、密钥、协议与模型",
|
|
48284
|
-
size: "xs",
|
|
48285
|
-
color: y.value.state === "ok" ? "success" : y.value.state === "error" ? "error" : "neutral",
|
|
48286
|
-
variant: "ghost",
|
|
48287
|
-
loading: y.value.state === "loading",
|
|
48288
|
-
disabled: !p.value.api_key_ref || !p.value.model || !I(i).launch.available,
|
|
48289
|
-
onClick: b
|
|
48290
|
-
}, null, 8, [
|
|
48291
|
-
"aria-label",
|
|
48292
|
-
"color",
|
|
48293
|
-
"loading",
|
|
48294
|
-
"disabled"
|
|
48295
|
-
])) : Y("", !0)]),
|
|
48296
|
-
v.value && y.value.message ? (U(), W("p", {
|
|
48482
|
+
_: 1
|
|
48483
|
+
}, 8, [
|
|
48484
|
+
"type",
|
|
48485
|
+
"class",
|
|
48486
|
+
"aria-label",
|
|
48487
|
+
"title"
|
|
48488
|
+
])),
|
|
48489
|
+
h.value.length > 1 ? (U(), W("div", {
|
|
48490
|
+
key: 0,
|
|
48491
|
+
class: "expert-card-modes expert-card-front-modes",
|
|
48492
|
+
role: "radiogroup",
|
|
48493
|
+
"aria-label": `${e.name} 启动方式`,
|
|
48494
|
+
onKeydown: Le
|
|
48495
|
+
}, [(U(!0), W(H, null, B(h.value, (t) => (U(), W("button", {
|
|
48496
|
+
key: t,
|
|
48497
|
+
type: "button",
|
|
48498
|
+
role: "radio",
|
|
48499
|
+
"aria-checked": e.mode === t,
|
|
48500
|
+
tabindex: e.mode === t ? 0 : -1,
|
|
48501
|
+
"data-mode": t,
|
|
48502
|
+
onClick: (e) => r("mode", t)
|
|
48503
|
+
}, P(_[t]), 9, MJ))), 128))], 40, jJ)) : Y("", !0),
|
|
48504
|
+
K("span", NJ, [
|
|
48505
|
+
K("button", {
|
|
48506
|
+
type: "button",
|
|
48507
|
+
class: M({ "is-set": Se.value }),
|
|
48508
|
+
"aria-label": `编辑 ${e.name} 的描述`,
|
|
48509
|
+
title: Se.value ? "编辑描述" : "添加描述:擅长什么、适合分到什么工作",
|
|
48510
|
+
onClick: n[1] ||= (e) => Ce.value = !0
|
|
48511
|
+
}, [q(d, { name: "i-lucide-user-pen" })], 10, PJ),
|
|
48512
|
+
e.hostable ? (U(), W("button", {
|
|
48513
|
+
key: 0,
|
|
48514
|
+
type: "button",
|
|
48515
|
+
class: "expert-card-host",
|
|
48516
|
+
"aria-pressed": e.host,
|
|
48517
|
+
"aria-label": e.host ? `${e.name} 是主持人` : `设 ${e.name} 为主持人`,
|
|
48518
|
+
title: e.host ? "主持人" : "设为主持人",
|
|
48519
|
+
onClick: n[2] ||= (e) => r("host")
|
|
48520
|
+
}, [q(d, { name: "i-lucide-crown" })], 8, FJ)) : Y("", !0),
|
|
48521
|
+
K("button", {
|
|
48522
|
+
type: "button",
|
|
48523
|
+
"aria-label": `移出 ${e.name}`,
|
|
48524
|
+
title: "移出",
|
|
48525
|
+
onClick: n[3] ||= (e) => r("remove")
|
|
48526
|
+
}, [q(d, { name: "i-lucide-x" })], 8, IJ)
|
|
48527
|
+
])
|
|
48528
|
+
], 8, bJ), O.value ? (U(), W("div", {
|
|
48297
48529
|
key: 0,
|
|
48298
|
-
|
|
48299
|
-
|
|
48300
|
-
|
|
48301
|
-
|
|
48302
|
-
"
|
|
48303
|
-
|
|
48304
|
-
|
|
48305
|
-
|
|
48306
|
-
|
|
48307
|
-
|
|
48308
|
-
|
|
48309
|
-
|
|
48310
|
-
|
|
48311
|
-
|
|
48312
|
-
|
|
48313
|
-
|
|
48314
|
-
|
|
48315
|
-
|
|
48316
|
-
|
|
48317
|
-
|
|
48318
|
-
|
|
48319
|
-
|
|
48320
|
-
|
|
48321
|
-
|
|
48322
|
-
|
|
48323
|
-
|
|
48324
|
-
|
|
48325
|
-
|
|
48326
|
-
|
|
48327
|
-
|
|
48328
|
-
|
|
48329
|
-
])]))), 128)),
|
|
48330
|
-
E.value ? (U(), W("div", jJ, [n[12] ||= K("span", null, "会话", -1), q(w, {
|
|
48331
|
-
"model-value": e.session,
|
|
48332
|
-
placeholder: "续接已有会话 ID,留空则新建",
|
|
48333
|
-
"aria-label": `${e.name} 要续接的已有会话 ID`,
|
|
48334
|
-
size: "xs",
|
|
48335
|
-
class: "w-full",
|
|
48336
|
-
"onUpdate:modelValue": n[4] ||= (e) => r("session", e)
|
|
48337
|
-
}, null, 8, ["model-value", "aria-label"])])) : Y("", !0),
|
|
48338
|
-
E.value && e.session.trim() && T.value ? (U(), W("p", MJ, P(T.value), 1)) : Y("", !0),
|
|
48339
|
-
A.value ? (U(), W("div", NJ, [n[13] ||= K("span", null, "项目", -1), K("div", {
|
|
48340
|
-
class: "expert-card-modes",
|
|
48341
|
-
role: "radiogroup",
|
|
48342
|
-
"aria-label": `${e.name} 的项目文件权限`
|
|
48343
|
-
}, [(U(), W(H, null, B([{
|
|
48344
|
-
value: "read",
|
|
48345
|
-
label: "只读"
|
|
48346
|
-
}, {
|
|
48347
|
-
value: "write",
|
|
48348
|
-
label: "可写"
|
|
48349
|
-
}], (t) => K("button", {
|
|
48350
|
-
key: t.value,
|
|
48351
|
-
type: "button",
|
|
48352
|
-
role: "radio",
|
|
48353
|
-
"aria-checked": oe.value === t.value,
|
|
48354
|
-
onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
|
|
48355
|
-
}, P(t.label), 9, FJ)), 64))], 8, PJ)])) : Y("", !0),
|
|
48356
|
-
v.value ? (U(), G(yK, {
|
|
48357
|
-
key: 5,
|
|
48358
|
-
name: e.name
|
|
48359
|
-
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key: 6 }, [
|
|
48360
|
-
K("div", IJ, [n[14] ||= K("span", null, "模型", -1), q(S, {
|
|
48361
|
-
"model-value": p.value.model || "__default__",
|
|
48362
|
-
items: k.value.items,
|
|
48363
|
-
title: k.value.source,
|
|
48364
|
-
"aria-label": `${e.name} 使用的模型`,
|
|
48530
|
+
class: "expert-card-face expert-card-back",
|
|
48531
|
+
inert: !f.value,
|
|
48532
|
+
"aria-hidden": !f.value
|
|
48533
|
+
}, [K("div", RJ, [
|
|
48534
|
+
K("div", zJ, [K("strong", null, [J(P(e.name), 1), K("span", null, "设置" + P(j.value ? " · 不访问项目" : ""), 1)]), v.value ? (U(), G(x, {
|
|
48535
|
+
key: 0,
|
|
48536
|
+
icon: "i-lucide-zap",
|
|
48537
|
+
"aria-label": `检查 ${e.name} 的 API 配置`,
|
|
48538
|
+
title: "检查配置:发送一次极短请求,核对地址、密钥、协议与模型",
|
|
48539
|
+
size: "xs",
|
|
48540
|
+
color: y.value.state === "ok" ? "success" : y.value.state === "error" ? "error" : "neutral",
|
|
48541
|
+
variant: "ghost",
|
|
48542
|
+
loading: y.value.state === "loading",
|
|
48543
|
+
disabled: !p.value.api_key_ref || !p.value.model || !I(i).launch.available,
|
|
48544
|
+
onClick: b
|
|
48545
|
+
}, null, 8, [
|
|
48546
|
+
"aria-label",
|
|
48547
|
+
"color",
|
|
48548
|
+
"loading",
|
|
48549
|
+
"disabled"
|
|
48550
|
+
])) : Y("", !0)]),
|
|
48551
|
+
v.value && y.value.message ? (U(), W("p", {
|
|
48552
|
+
key: 0,
|
|
48553
|
+
role: y.value.state === "error" ? "alert" : "status",
|
|
48554
|
+
class: "expert-card-check"
|
|
48555
|
+
}, P(y.value.message), 9, BJ)) : Y("", !0),
|
|
48556
|
+
g.value && m.value.length > 1 ? (U(), W("div", VJ, [n[15] ||= K("span", null, "接入", -1), q(S, {
|
|
48557
|
+
"model-value": p.value.adapter || "",
|
|
48558
|
+
items: m.value,
|
|
48559
|
+
placeholder: "选择 API / App / CLI",
|
|
48560
|
+
"aria-label": `${e.name} 软件入口`,
|
|
48365
48561
|
size: "xs",
|
|
48366
48562
|
class: "w-full",
|
|
48367
|
-
"onUpdate:modelValue": n[
|
|
48563
|
+
"onUpdate:modelValue": n[4] ||= (t) => I(a).write_launch(e.name, "adapter", t)
|
|
48368
48564
|
}, null, 8, [
|
|
48369
48565
|
"model-value",
|
|
48370
48566
|
"items",
|
|
48371
|
-
"title",
|
|
48372
48567
|
"aria-label"
|
|
48373
|
-
])]),
|
|
48374
|
-
|
|
48375
|
-
key:
|
|
48376
|
-
|
|
48377
|
-
|
|
48378
|
-
|
|
48379
|
-
|
|
48380
|
-
|
|
48381
|
-
|
|
48382
|
-
|
|
48383
|
-
|
|
48384
|
-
"onUpdate:modelValue": n[7] ||= (t) => I(a).write_launch(e.name, "effort", t)
|
|
48568
|
+
])])) : Y("", !0),
|
|
48569
|
+
(U(!0), W(H, null, B(me.value, (t) => (U(), W("div", {
|
|
48570
|
+
key: t.field,
|
|
48571
|
+
class: "expert-card-field"
|
|
48572
|
+
}, [K("span", null, P(t.label), 1), q(w, {
|
|
48573
|
+
"model-value": p.value[t.field] || "",
|
|
48574
|
+
placeholder: t.placeholder,
|
|
48575
|
+
"aria-label": `${e.name} ${t.placeholder}`,
|
|
48576
|
+
size: "xs",
|
|
48577
|
+
class: "w-full",
|
|
48578
|
+
"onUpdate:modelValue": (n) => I(a).write_launch(e.name, t.field, n)
|
|
48385
48579
|
}, null, 8, [
|
|
48386
|
-
"items",
|
|
48387
48580
|
"model-value",
|
|
48388
|
-
"
|
|
48389
|
-
|
|
48390
|
-
|
|
48581
|
+
"placeholder",
|
|
48582
|
+
"aria-label",
|
|
48583
|
+
"onUpdate:modelValue"
|
|
48584
|
+
])]))), 128)),
|
|
48585
|
+
E.value ? (U(), W("div", HJ, [n[16] ||= K("span", null, "会话", -1), q(w, {
|
|
48586
|
+
"model-value": e.session,
|
|
48587
|
+
placeholder: "续接已有会话 ID,留空则新建",
|
|
48588
|
+
"aria-label": `${e.name} 要续接的已有会话 ID`,
|
|
48589
|
+
size: "xs",
|
|
48590
|
+
class: "w-full",
|
|
48591
|
+
"onUpdate:modelValue": n[5] ||= (e) => r("session", e)
|
|
48592
|
+
}, null, 8, ["model-value", "aria-label"])])) : Y("", !0),
|
|
48593
|
+
E.value && e.session.trim() && T.value ? (U(), W("p", UJ, P(T.value), 1)) : Y("", !0),
|
|
48594
|
+
A.value ? (U(), W("div", WJ, [n[17] ||= K("span", null, "项目", -1), K("div", {
|
|
48595
|
+
class: "expert-card-modes",
|
|
48596
|
+
role: "radiogroup",
|
|
48597
|
+
"aria-label": `${e.name} 的项目文件权限`
|
|
48598
|
+
}, [(U(), W(H, null, B([{
|
|
48599
|
+
value: "read",
|
|
48600
|
+
label: "只读"
|
|
48601
|
+
}, {
|
|
48602
|
+
value: "write",
|
|
48603
|
+
label: "可写"
|
|
48604
|
+
}], (t) => K("button", {
|
|
48605
|
+
key: t.value,
|
|
48391
48606
|
type: "button",
|
|
48392
|
-
|
|
48393
|
-
|
|
48394
|
-
|
|
48395
|
-
|
|
48396
|
-
|
|
48397
|
-
|
|
48398
|
-
|
|
48399
|
-
|
|
48400
|
-
|
|
48401
|
-
|
|
48402
|
-
|
|
48403
|
-
|
|
48404
|
-
|
|
48405
|
-
|
|
48406
|
-
|
|
48407
|
-
|
|
48408
|
-
|
|
48409
|
-
|
|
48410
|
-
|
|
48411
|
-
|
|
48412
|
-
|
|
48413
|
-
|
|
48607
|
+
role: "radio",
|
|
48608
|
+
"aria-checked": oe.value === t.value,
|
|
48609
|
+
onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
|
|
48610
|
+
}, P(t.label), 9, KJ)), 64))], 8, GJ)])) : Y("", !0),
|
|
48611
|
+
p.value.adapter ? (U(), W("div", qJ, [n[18] ||= K("span", null, "提示", -1), K("button", {
|
|
48612
|
+
type: "button",
|
|
48613
|
+
class: "expert-card-prompt",
|
|
48614
|
+
title: De.value || "未设置专属提示词",
|
|
48615
|
+
"aria-label": `编辑 ${e.name} 的专属提示词`,
|
|
48616
|
+
onClick: Pe
|
|
48617
|
+
}, [
|
|
48618
|
+
Oe.value ? (U(), W("b", {
|
|
48619
|
+
key: 0,
|
|
48620
|
+
class: M({ "is-own": Ee.value })
|
|
48621
|
+
}, P(Oe.value), 3)) : Y("", !0),
|
|
48622
|
+
K("em", null, P(De.value.split("\n")[0] || "未设置,点击添加"), 1),
|
|
48623
|
+
q(d, { name: "i-lucide-pen-line" })
|
|
48624
|
+
], 8, JJ)])) : Y("", !0),
|
|
48625
|
+
v.value ? (U(), G(yK, {
|
|
48626
|
+
key: 6,
|
|
48627
|
+
name: e.name
|
|
48628
|
+
}, null, 8, ["name"])) : te.value && !me.value.length ? (U(), W(H, { key: 7 }, [
|
|
48629
|
+
K("div", YJ, [n[19] ||= K("span", null, "模型", -1), q(S, {
|
|
48630
|
+
"model-value": p.value.model || "__default__",
|
|
48631
|
+
items: k.value.items,
|
|
48632
|
+
title: k.value.source,
|
|
48633
|
+
"aria-label": `${e.name} 使用的模型`,
|
|
48634
|
+
size: "xs",
|
|
48635
|
+
class: "w-full",
|
|
48636
|
+
"onUpdate:modelValue": n[6] ||= (t) => I(a).write_launch_model(e.name, t)
|
|
48637
|
+
}, null, 8, [
|
|
48638
|
+
"model-value",
|
|
48639
|
+
"items",
|
|
48640
|
+
"title",
|
|
48641
|
+
"aria-label"
|
|
48642
|
+
])]),
|
|
48643
|
+
k.value.loading || k.value.error ? (U(), W("div", XJ, [K("span", null, P(k.value.loading ? "正在读取软件模型列表…" : k.value.error), 1), !k.value.loading && k.value.error && I(i).launch.available ? (U(), W("button", {
|
|
48644
|
+
key: 0,
|
|
48645
|
+
type: "button",
|
|
48646
|
+
onClick: n[7] ||= (t) => I(a).load_launch_models(e.name, !0)
|
|
48647
|
+
}, "重试")) : Y("", !0)])) : Y("", !0),
|
|
48648
|
+
re.value ? (U(), W("div", ZJ, [q(uJ, {
|
|
48649
|
+
caption: "强度",
|
|
48650
|
+
items: re.value,
|
|
48651
|
+
"model-value": p.value.effort || "",
|
|
48652
|
+
label: `${e.name} 的思考强度`,
|
|
48653
|
+
"onUpdate:modelValue": n[8] ||= (t) => I(a).write_launch(e.name, "effort", t)
|
|
48654
|
+
}, null, 8, [
|
|
48655
|
+
"items",
|
|
48656
|
+
"model-value",
|
|
48657
|
+
"label"
|
|
48658
|
+
])])) : (U(), W("p", QJ, P(k.value.effort_note), 1)),
|
|
48659
|
+
K("button", {
|
|
48660
|
+
type: "button",
|
|
48661
|
+
class: "expert-card-defaults",
|
|
48662
|
+
title: "留空使用 CLI 默认值",
|
|
48663
|
+
"aria-label": `恢复 ${e.name} 的默认模型与强度`,
|
|
48664
|
+
disabled: !p.value.model && !p.value.effort,
|
|
48665
|
+
onClick: Ie
|
|
48666
|
+
}, "恢复默认", 8, $J)
|
|
48667
|
+
], 64)) : (U(), W("p", eY, [q(d, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(ne.value), 1)]))
|
|
48668
|
+
]), K("span", tY, [K("button", {
|
|
48669
|
+
type: "button",
|
|
48670
|
+
class: "expert-card-flip is-cancel",
|
|
48671
|
+
"aria-label": `放弃 ${e.name} 的修改`,
|
|
48672
|
+
onClick: xe
|
|
48673
|
+
}, "取消", 8, nY), K("button", {
|
|
48674
|
+
ref_key: "back_button",
|
|
48675
|
+
ref: u,
|
|
48676
|
+
type: "button",
|
|
48677
|
+
class: "expert-card-flip is-done",
|
|
48678
|
+
"aria-label": `保存并返回 ${e.name} 角色卡片`,
|
|
48679
|
+
onClick: n[9] ||= (e) => be(!1)
|
|
48680
|
+
}, [q(d, { name: "i-lucide-check" }), n[20] ||= J("完成", -1)], 8, rY)])], 8, LJ)) : Y("", !0)]),
|
|
48681
|
+
_: 1
|
|
48682
|
+
}, 8, ["style"]),
|
|
48683
|
+
q(gJ, {
|
|
48684
|
+
open: Ce.value,
|
|
48685
|
+
"onUpdate:open": n[10] ||= (e) => Ce.value = e,
|
|
48686
|
+
name: e.name,
|
|
48687
|
+
platform: I(a).platform_of(e.name),
|
|
48688
|
+
text: Se.value,
|
|
48689
|
+
template: I(a).description_template(e.name),
|
|
48690
|
+
onSave: we
|
|
48691
|
+
}, null, 8, [
|
|
48692
|
+
"open",
|
|
48693
|
+
"name",
|
|
48694
|
+
"platform",
|
|
48695
|
+
"text",
|
|
48696
|
+
"template"
|
|
48697
|
+
]),
|
|
48698
|
+
q(mJ, {
|
|
48699
|
+
open: ke.value,
|
|
48700
|
+
"onUpdate:open": n[11] ||= (e) => ke.value = e,
|
|
48701
|
+
draft: Ae.value,
|
|
48702
|
+
"onUpdate:draft": n[12] ||= (e) => Ae.value = e,
|
|
48703
|
+
title: `${e.name} 的专属提示词`,
|
|
48704
|
+
description: "只发给这位专家,补充它的做法与偏好;不改变权限和技能规则。",
|
|
48705
|
+
label: `${e.name} 的专属提示词`,
|
|
48706
|
+
placeholder: "例如:回答先给结论,控制在三段以内。",
|
|
48707
|
+
max: I(_J),
|
|
48708
|
+
rows: 8,
|
|
48709
|
+
note: Me.value,
|
|
48710
|
+
source: Ne.value,
|
|
48711
|
+
changed: je.value,
|
|
48712
|
+
onSave: Fe
|
|
48713
|
+
}, null, 8, [
|
|
48714
|
+
"open",
|
|
48715
|
+
"draft",
|
|
48716
|
+
"title",
|
|
48717
|
+
"label",
|
|
48718
|
+
"max",
|
|
48719
|
+
"note",
|
|
48720
|
+
"source",
|
|
48721
|
+
"changed"
|
|
48722
|
+
])
|
|
48723
|
+
], 42, yJ);
|
|
48414
48724
|
};
|
|
48415
48725
|
}
|
|
48416
|
-
}, [["__scopeId", "data-v-
|
|
48726
|
+
}, [["__scopeId", "data-v-2555aa6d"]]), sY = ["aria-label"], cY = [
|
|
48417
48727
|
"disabled",
|
|
48418
48728
|
"title",
|
|
48419
48729
|
"aria-label",
|
|
48420
48730
|
"onClick"
|
|
48421
|
-
],
|
|
48731
|
+
], lY = /*#__PURE__*/ XH({
|
|
48422
48732
|
__name: "RosterAdd",
|
|
48423
48733
|
props: {
|
|
48424
48734
|
label: {
|
|
@@ -48466,17 +48776,17 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48466
48776
|
]),
|
|
48467
48777
|
J(P(e.name), 1),
|
|
48468
48778
|
q(o, { name: "i-lucide-plus" })
|
|
48469
|
-
], 8,
|
|
48779
|
+
], 8, cY))), 128))], 8, sY);
|
|
48470
48780
|
};
|
|
48471
48781
|
}
|
|
48472
|
-
}, [["__scopeId", "data-v-155b366c"]]),
|
|
48782
|
+
}, [["__scopeId", "data-v-155b366c"]]), uY = { class: "scheduler-settings" }, dY = { class: "scheduler-title" }, fY = { class: "scheduler-description" }, pY = {
|
|
48473
48783
|
key: 0,
|
|
48474
48784
|
class: "scheduler-cards"
|
|
48475
|
-
},
|
|
48785
|
+
}, mY = { class: "scheduler-identity" }, hY = { class: "scheduler-facts" }, gY = ["title"], _Y = { class: "scheduler-flip" }, vY = { class: "scheduler-tools" }, yY = ["aria-label"], bY = { class: "scheduler-back" }, xY = { class: "scheduler-heading" }, SY = { class: "scheduler-field" }, CY = { class: "scheduler-field" }, wY = {
|
|
48476
48786
|
key: 0,
|
|
48477
48787
|
role: "alert",
|
|
48478
48788
|
class: "scheduler-error"
|
|
48479
|
-
},
|
|
48789
|
+
}, TY = ["role"], EY = { class: "scheduler-flip-actions" }, DY = "••••••••••••", OY = /*#__PURE__*/ XH({
|
|
48480
48790
|
__name: "SchedulerSettings",
|
|
48481
48791
|
props: {
|
|
48482
48792
|
free: {
|
|
@@ -48588,8 +48898,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48588
48898
|
}
|
|
48589
48899
|
return (t, a) => {
|
|
48590
48900
|
let g = WV, D = pA, O = sA, ee = MA, k = uK, te = YV;
|
|
48591
|
-
return U(), W("div",
|
|
48592
|
-
K("div", null, [K("p",
|
|
48901
|
+
return U(), W("div", uY, [
|
|
48902
|
+
K("div", null, [K("p", dY, [
|
|
48593
48903
|
a[5] ||= J("智能调度", -1),
|
|
48594
48904
|
q(g, {
|
|
48595
48905
|
size: "xs",
|
|
@@ -48600,16 +48910,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48600
48910
|
_: 1
|
|
48601
48911
|
}),
|
|
48602
48912
|
a[6] ||= K("small", null, "可选", -1)
|
|
48603
|
-
]), K("p",
|
|
48604
|
-
q(
|
|
48913
|
+
]), K("p", fY, P(e.blocker ? `${T.value}(${e.blocker})` : T.value), 1)]),
|
|
48914
|
+
q(lY, {
|
|
48605
48915
|
ref_key: "add_row",
|
|
48606
48916
|
ref: l,
|
|
48607
48917
|
label: "添加决策模型",
|
|
48608
48918
|
items: u.value,
|
|
48609
48919
|
onAdd: y
|
|
48610
48920
|
}, null, 8, ["items"]),
|
|
48611
|
-
c.value ? (U(), W("div",
|
|
48612
|
-
K("div",
|
|
48921
|
+
c.value ? (U(), W("div", pY, [K("div", { class: M(["scheduler-card", { "is-editing": h.value }]) }, [h.value ? (U(), W(H, { key: 1 }, [K("div", bY, [
|
|
48922
|
+
K("div", xY, [K("strong", null, [J(P(x.value), 1), a[11] ||= K("span", null, "设置", -1)]), q(ee, {
|
|
48613
48923
|
icon: "i-lucide-zap",
|
|
48614
48924
|
"aria-label": "检查智能调度配置",
|
|
48615
48925
|
title: "检查配置:向决策模型发送一道极短的是非题,核对供应商、模型与密钥",
|
|
@@ -48624,7 +48934,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48624
48934
|
"loading",
|
|
48625
48935
|
"disabled"
|
|
48626
48936
|
])]),
|
|
48627
|
-
K("div",
|
|
48937
|
+
K("div", SY, [a[12] ||= K("span", null, "模型", -1), q(k, {
|
|
48628
48938
|
mode: "autocomplete",
|
|
48629
48939
|
"ignore-filter": "",
|
|
48630
48940
|
"model-value": i.value.model || "",
|
|
@@ -48636,7 +48946,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48636
48946
|
class: "w-full",
|
|
48637
48947
|
"onUpdate:modelValue": a[0] ||= (e) => I(r).write_scheduler("model", e)
|
|
48638
48948
|
}, null, 8, ["model-value", "items"])]),
|
|
48639
|
-
K("div",
|
|
48949
|
+
K("div", CY, [a[13] ||= K("span", null, "密钥", -1), q(te, {
|
|
48640
48950
|
modelValue: d.value,
|
|
48641
48951
|
"onUpdate:modelValue": a[2] ||= (e) => d.value = e,
|
|
48642
48952
|
type: "text",
|
|
@@ -48644,7 +48954,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48644
48954
|
spellcheck: "false",
|
|
48645
48955
|
"data-1p-ignore": "",
|
|
48646
48956
|
"data-lpignore": "true",
|
|
48647
|
-
placeholder: i.value.api_key_ref ?
|
|
48957
|
+
placeholder: i.value.api_key_ref ? DY : "填写所选供应商的 API Key",
|
|
48648
48958
|
title: i.value.api_key_ref && !d.value ? "已保存;本机不回传密钥,输入新 Key 可更换" : void 0,
|
|
48649
48959
|
"aria-label": "智能调度 API Key",
|
|
48650
48960
|
size: "xs",
|
|
@@ -48679,14 +48989,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48679
48989
|
"loading",
|
|
48680
48990
|
"ui"
|
|
48681
48991
|
])]),
|
|
48682
|
-
m.value ? (U(), W("p",
|
|
48992
|
+
m.value ? (U(), W("p", wY, P(m.value), 1)) : Y("", !0),
|
|
48683
48993
|
C.value.message ? (U(), W("p", {
|
|
48684
48994
|
key: 1,
|
|
48685
48995
|
role: C.value.state === "error" ? "alert" : "status",
|
|
48686
48996
|
class: M(C.value.state === "error" ? "scheduler-error" : "scheduler-ok")
|
|
48687
|
-
}, P(C.value.message), 11,
|
|
48997
|
+
}, P(C.value.message), 11, TY)) : Y("", !0),
|
|
48688
48998
|
a[14] ||= K("p", { class: "scheduler-note" }, "决策模型只做选择、不生成文本,只按输入计费。判断时会把房间标题和最近 10 条消息发给所选供应商;密钥只存本机。", -1)
|
|
48689
|
-
]), K("span",
|
|
48999
|
+
]), K("span", EY, [K("button", {
|
|
48690
49000
|
type: "button",
|
|
48691
49001
|
class: "scheduler-flip is-cancel",
|
|
48692
49002
|
"aria-label": "放弃决策模型的修改",
|
|
@@ -48703,7 +49013,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48703
49013
|
title: "点击设置",
|
|
48704
49014
|
onClick: _
|
|
48705
49015
|
}, [
|
|
48706
|
-
K("span",
|
|
49016
|
+
K("span", mY, [q(D, {
|
|
48707
49017
|
src: s[i.value.provider]?.icon,
|
|
48708
49018
|
text: x.value.slice(0, 2),
|
|
48709
49019
|
alt: x.value,
|
|
@@ -48715,40 +49025,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48715
49025
|
"alt",
|
|
48716
49026
|
"class"
|
|
48717
49027
|
]), K("strong", null, P(x.value), 1)]),
|
|
48718
|
-
K("dl",
|
|
48719
|
-
K("span",
|
|
48720
|
-
]), K("span",
|
|
49028
|
+
K("dl", hY, [K("div", null, [a[8] ||= K("dt", null, "状态", -1), K("dd", { class: M(`is-${S.value.tone}`) }, [a[7] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(S.value.text), 1)], 2)]), K("div", null, [a[9] ||= K("dt", null, "模型", -1), K("dd", { title: i.value.model }, P(i.value.model || "未选择"), 9, gY)])]),
|
|
49029
|
+
K("span", _Y, [q(O, { name: "i-lucide-settings-2" }), a[10] ||= J("设置", -1)])
|
|
49030
|
+
]), K("span", vY, [K("button", {
|
|
48721
49031
|
type: "button",
|
|
48722
49032
|
"aria-label": `移出决策模型 ${x.value}`,
|
|
48723
49033
|
title: "移出",
|
|
48724
49034
|
onClick: b
|
|
48725
|
-
}, [q(O, { name: "i-lucide-x" })], 8,
|
|
49035
|
+
}, [q(O, { name: "i-lucide-x" })], 8, yY)])], 64))], 2)])) : Y("", !0)
|
|
48726
49036
|
]);
|
|
48727
49037
|
};
|
|
48728
49038
|
}
|
|
48729
|
-
}, [["__scopeId", "data-v-3e1049d5"]]),
|
|
49039
|
+
}, [["__scopeId", "data-v-3e1049d5"]]), kY = { class: "create-discussion" }, AY = {
|
|
48730
49040
|
key: 0,
|
|
48731
49041
|
class: "create-connect",
|
|
48732
49042
|
role: "status"
|
|
48733
|
-
},
|
|
49043
|
+
}, jY = { class: "create-connect-command" }, MY = {
|
|
48734
49044
|
key: 1,
|
|
48735
49045
|
class: "channel-create-location"
|
|
48736
|
-
},
|
|
49046
|
+
}, NY = { class: "create-section" }, PY = { class: "create-section" }, FY = {
|
|
48737
49047
|
key: 0,
|
|
48738
49048
|
class: "create-experts",
|
|
48739
49049
|
role: "group",
|
|
48740
49050
|
"aria-label": "参与的 AI"
|
|
48741
|
-
},
|
|
49051
|
+
}, IY = {
|
|
48742
49052
|
key: 1,
|
|
48743
49053
|
class: "create-experts-empty"
|
|
48744
|
-
},
|
|
49054
|
+
}, LY = {
|
|
48745
49055
|
key: 2,
|
|
48746
49056
|
class: "fine-print create-hint create-host-hint"
|
|
48747
|
-
},
|
|
49057
|
+
}, RY = { class: "create-section" }, zY = { class: "create-footer" }, BY = {
|
|
48748
49058
|
key: 0,
|
|
48749
49059
|
role: "alert",
|
|
48750
49060
|
class: "create-error"
|
|
48751
|
-
},
|
|
49061
|
+
}, VY = { class: "create-footer-row" }, HY = ["title"], UY = "new-expert-modes", WY = 3e3, GY = /*#__PURE__*/ XH({
|
|
48752
49062
|
__name: "CreateDiscussion",
|
|
48753
49063
|
props: { targetFolder: {
|
|
48754
49064
|
type: Object,
|
|
@@ -48756,7 +49066,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48756
49066
|
} },
|
|
48757
49067
|
emits: ["submit", "cancel"],
|
|
48758
49068
|
setup(e, { emit: t }) {
|
|
48759
|
-
let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[
|
|
49069
|
+
let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[UY] || {}), p = /* @__PURE__ */ F([]), m = Z(() => Object.keys(f.value).filter((e) => f.value[e]));
|
|
48760
49070
|
R(m, (e) => {
|
|
48761
49071
|
p.value = [...p.value.filter((t) => e.includes(t)), ...e.filter((e) => !p.value.includes(e))];
|
|
48762
49072
|
}, { immediate: !0 });
|
|
@@ -48780,14 +49090,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48780
49090
|
Qi(() => {
|
|
48781
49091
|
ae(), ie = window.setInterval(() => {
|
|
48782
49092
|
re.value && !document.hidden && o("check_launch_connection");
|
|
48783
|
-
},
|
|
49093
|
+
}, WY);
|
|
48784
49094
|
}), ta(() => window.clearInterval(ie));
|
|
48785
49095
|
function oe(e) {
|
|
48786
49096
|
i.write_create_discussion(e), Qn(ae);
|
|
48787
49097
|
}
|
|
48788
49098
|
let se = (e) => i.launch_clients[e]?.some((e) => e.value !== "api"), ce = (e) => d.value && e === v.value ? [] : ["cli", "manual"];
|
|
48789
49099
|
function le(e, t) {
|
|
48790
|
-
t === "cli" && !se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), i.write_expert(
|
|
49100
|
+
t === "cli" && !se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), i.write_expert(UY, e, t), ae();
|
|
48791
49101
|
}
|
|
48792
49102
|
function ue(e) {
|
|
48793
49103
|
if (f.value[e] === "online") return {
|
|
@@ -48826,7 +49136,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48826
49136
|
aria_label: `添加 ${e} 实例`
|
|
48827
49137
|
})));
|
|
48828
49138
|
function pe(e) {
|
|
48829
|
-
i.launch_clients[e] && (!se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), g(e) ? i.add_instance(
|
|
49139
|
+
i.launch_clients[e] && (!se(e) && !r.value.launch.profiles[e]?.adapter && i.write_launch(e, "adapter", "api"), g(e) ? i.add_instance(UY, e, "cli") : le(e, "cli"), ae());
|
|
48830
49140
|
}
|
|
48831
49141
|
function me(e) {
|
|
48832
49142
|
le(e, ""), Qn(() => _.value?.focus_first());
|
|
@@ -48848,20 +49158,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48848
49158
|
});
|
|
48849
49159
|
return (t, s) => {
|
|
48850
49160
|
let c = sA, p = MA, m = YV, g = zV, x = Xq, T = HV;
|
|
48851
|
-
return U(), W("div",
|
|
49161
|
+
return U(), W("div", kY, [K("form", {
|
|
48852
49162
|
id: "create-discussion-form",
|
|
48853
49163
|
class: "create-scroll dialog-form",
|
|
48854
49164
|
onSubmit: uu(he, ["prevent"])
|
|
48855
49165
|
}, [
|
|
48856
|
-
re.value ? (U(), W("div",
|
|
49166
|
+
re.value ? (U(), W("div", AY, [K("p", null, [q(c, { name: "i-lucide-plug-zap" }), s[9] ||= J("本机服务未连接,连接后才能唤醒本机 AI。在运行 AI 的电脑上执行下面的命令并完成网页授权,连上后自动检测。", -1)]), K("div", jY, [K("code", null, P(I(r).launch.connect_command), 1), q(p, {
|
|
48857
49167
|
icon: "i-lucide-copy",
|
|
48858
49168
|
"aria-label": "复制本机连接命令",
|
|
48859
49169
|
variant: "ghost",
|
|
48860
49170
|
color: "neutral",
|
|
48861
49171
|
onClick: s[0] ||= (e) => I(o)("copy", I(r).launch.connect_command)
|
|
48862
49172
|
})])])) : Y("", !0),
|
|
48863
|
-
e.targetFolder?.id ? (U(), W("p",
|
|
48864
|
-
K("section",
|
|
49173
|
+
e.targetFolder?.id ? (U(), W("p", MY, [q(c, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
|
|
49174
|
+
K("section", NY, [
|
|
48865
49175
|
s[10] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
|
|
48866
49176
|
q(g, {
|
|
48867
49177
|
label: "话题名称",
|
|
@@ -48887,16 +49197,16 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48887
49197
|
_: 1
|
|
48888
49198
|
}, 8, ["description"])
|
|
48889
49199
|
]),
|
|
48890
|
-
K("section",
|
|
49200
|
+
K("section", PY, [
|
|
48891
49201
|
s[11] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1),
|
|
48892
|
-
q(
|
|
49202
|
+
q(lY, {
|
|
48893
49203
|
ref_key: "library",
|
|
48894
49204
|
ref: _,
|
|
48895
49205
|
label: "添加 AI",
|
|
48896
49206
|
items: fe.value,
|
|
48897
49207
|
onAdd: pe
|
|
48898
49208
|
}, null, 8, ["items"]),
|
|
48899
|
-
h.value.length ? (U(), W("div",
|
|
49209
|
+
h.value.length ? (U(), W("div", FY, [(U(!0), W(H, null, B(h.value, (e) => (U(), G(oY, {
|
|
48900
49210
|
key: e,
|
|
48901
49211
|
name: e,
|
|
48902
49212
|
mode: f.value[e],
|
|
@@ -48918,14 +49228,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48918
49228
|
"onHost",
|
|
48919
49229
|
"onRemove",
|
|
48920
49230
|
"onMode"
|
|
48921
|
-
]))), 128))])) : (U(), W("p",
|
|
48922
|
-
h.value.length ? (U(), W("div",
|
|
48923
|
-
q(
|
|
49231
|
+
]))), 128))])) : (U(), W("p", IY, "请至少添加一位成员。同一平台可添加多位,各自独立会话。")),
|
|
49232
|
+
h.value.length ? (U(), W("div", LY, [q(c, { name: "i-lucide-crown" }), K("span", null, P(y.value.length ? "点卡片上的皇冠指定主持人:没 @ 任何人的消息由它分配;其他成员只在被你或主持人点名时发言。" : "需要一位本地 AI 做主持人,没 @ 的消息才有人接。"), 1)])) : Y("", !0),
|
|
49233
|
+
q(OY, {
|
|
48924
49234
|
free: !0,
|
|
48925
49235
|
blocker: te.value
|
|
48926
49236
|
}, null, 8, ["blocker"])
|
|
48927
49237
|
]),
|
|
48928
|
-
K("section",
|
|
49238
|
+
K("section", RY, [
|
|
48929
49239
|
s[12] ||= K("h3", null, [K("span", null, "3"), J("推进方式(可选)")], -1),
|
|
48930
49240
|
q(x, {
|
|
48931
49241
|
"model-value": d.value,
|
|
@@ -48971,7 +49281,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48971
49281
|
"execution_minutes"
|
|
48972
49282
|
])], 64)) : Y("", !0)
|
|
48973
49283
|
])
|
|
48974
|
-
], 32), K("footer",
|
|
49284
|
+
], 32), K("footer", zY, [D.value && I(r).launch.error ? (U(), W("p", BY, P(I(r).launch.error), 1)) : Y("", !0), K("div", VY, [
|
|
48975
49285
|
K("span", {
|
|
48976
49286
|
class: M(["create-summary", { "is-blocked": A.value }]),
|
|
48977
49287
|
title: A.value || ge.value,
|
|
@@ -48979,7 +49289,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
48979
49289
|
}, [A.value ? (U(), G(c, {
|
|
48980
49290
|
key: 0,
|
|
48981
49291
|
name: "i-lucide-circle-alert"
|
|
48982
|
-
})) : Y("", !0), J(P(A.value ? `还差:${A.value}` : h.value.length || d.value ? ge.value : ""), 1)], 10,
|
|
49292
|
+
})) : Y("", !0), J(P(A.value ? `还差:${A.value}` : h.value.length || d.value ? ge.value : ""), 1)], 10, HY),
|
|
48983
49293
|
q(p, {
|
|
48984
49294
|
label: "取消",
|
|
48985
49295
|
color: "neutral",
|
|
@@ -49003,46 +49313,46 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49003
49313
|
])])]);
|
|
49004
49314
|
};
|
|
49005
49315
|
}
|
|
49006
|
-
}, [["__scopeId", "data-v-61eb0b0c"]]),
|
|
49316
|
+
}, [["__scopeId", "data-v-61eb0b0c"]]), KY = {
|
|
49007
49317
|
class: "account-settings",
|
|
49008
49318
|
"aria-labelledby": "account-heading"
|
|
49009
|
-
},
|
|
49319
|
+
}, qY = {
|
|
49010
49320
|
key: 0,
|
|
49011
49321
|
class: "fine-print",
|
|
49012
49322
|
role: "status"
|
|
49013
|
-
},
|
|
49323
|
+
}, JY = ["aria-label"], YY = { class: "fine-print account-intro" }, XY = {
|
|
49014
49324
|
key: 0,
|
|
49015
49325
|
class: "account-message is-error",
|
|
49016
49326
|
role: "status"
|
|
49017
|
-
},
|
|
49327
|
+
}, ZY = {
|
|
49018
49328
|
key: 1,
|
|
49019
49329
|
class: "fine-print"
|
|
49020
|
-
},
|
|
49330
|
+
}, QY = {
|
|
49021
49331
|
key: 1,
|
|
49022
49332
|
class: "fine-print"
|
|
49023
|
-
},
|
|
49333
|
+
}, $Y = {
|
|
49024
49334
|
key: 2,
|
|
49025
49335
|
class: "account-message is-error",
|
|
49026
49336
|
role: "alert"
|
|
49027
|
-
},
|
|
49337
|
+
}, eX = {
|
|
49028
49338
|
key: 3,
|
|
49029
49339
|
class: "account-message",
|
|
49030
49340
|
role: "status"
|
|
49031
|
-
},
|
|
49341
|
+
}, tX = { class: "account-actions" }, nX = {
|
|
49032
49342
|
key: 2,
|
|
49033
49343
|
class: "account-profile"
|
|
49034
|
-
},
|
|
49344
|
+
}, rX = { class: "account-identity" }, iX = { class: "account-avatar-actions" }, aX = { class: "account-name-row" }, oX = {
|
|
49035
49345
|
key: 0,
|
|
49036
49346
|
class: "account-message is-error",
|
|
49037
49347
|
role: "alert"
|
|
49038
|
-
},
|
|
49348
|
+
}, sX = {
|
|
49039
49349
|
key: 1,
|
|
49040
49350
|
class: "account-message",
|
|
49041
49351
|
role: "status"
|
|
49042
|
-
},
|
|
49352
|
+
}, cX = {
|
|
49043
49353
|
key: 2,
|
|
49044
49354
|
class: "account-signout account-actions"
|
|
49045
|
-
},
|
|
49355
|
+
}, lX = {
|
|
49046
49356
|
__name: "AccountSettings",
|
|
49047
49357
|
setup(e) {
|
|
49048
49358
|
let { view: t, bridge: n } = xr("discussion"), r = Z(() => t.value.admin), i = Z(() => r.value.profile), a = Z(() => r.value.loaded ? r.value.registered ? r.value.logged_in ? "profile" : "login" : "register" : "loading"), o = /* @__PURE__ */ F(""), s = /* @__PURE__ */ Yt({
|
|
@@ -49110,13 +49420,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49110
49420
|
}
|
|
49111
49421
|
return (e, t) => {
|
|
49112
49422
|
let p = YV, y = zV, b = MA, x = pA;
|
|
49113
|
-
return U(), W("section",
|
|
49423
|
+
return U(), W("section", KY, [t[8] ||= K("h3", { id: "account-heading" }, "账号", -1), a.value === "loading" ? (U(), W("p", qY, "正在读取账号状态…")) : a.value === "register" || a.value === "login" ? (U(), W("form", {
|
|
49114
49424
|
key: 1,
|
|
49115
49425
|
class: "dialog-form account-form",
|
|
49116
49426
|
"aria-label": a.value === "register" ? "设置管理员账号" : "登录管理员账号",
|
|
49117
49427
|
onSubmit: uu(m, ["prevent"])
|
|
49118
49428
|
}, [
|
|
49119
|
-
K("p",
|
|
49429
|
+
K("p", YY, [a.value === "register" ? (U(), W(H, { key: 0 }, [J("设置站点管理员账号:名称和头像对所有访客可见,登录后可在没有房间凭据的浏览器中存档、恢复、删除房间。")], 64)) : (U(), W(H, { key: 1 }, [J("登录后可管理房间;未登录时仍可阅读并使用本浏览器创建的房间。")], 64))]),
|
|
49120
49430
|
q(y, {
|
|
49121
49431
|
label: "用户名",
|
|
49122
49432
|
description: a.value === "register" ? "1–30 个字符,也是公开显示的名称" : void 0,
|
|
@@ -49183,18 +49493,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49183
49493
|
}, null, 8, ["modelValue", "disabled"])]),
|
|
49184
49494
|
_: 1
|
|
49185
49495
|
}),
|
|
49186
|
-
f.value ? (U(), W("p",
|
|
49496
|
+
f.value ? (U(), W("p", XY, "服务端未配置安装令牌,暂时无法注册。本地版请设置环境变量 DISCUSS_ADMIN_SETUP_KEY 后重启;Cloudflare 版请配置部署机密 ADMIN_SETUP_KEY。")) : (U(), W("p", ZY, [...t[6] ||= [
|
|
49187
49497
|
J("首个注册者需要安装令牌,防止他人抢注。本地版见服务端启动日志;Cloudflare 版为部署机密 ADMIN_SETUP_KEY。忘记密码:本地版运行 ", -1),
|
|
49188
49498
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49189
49499
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49190
49500
|
]]))
|
|
49191
|
-
], 64)) : (U(), W("p",
|
|
49501
|
+
], 64)) : (U(), W("p", QY, [...t[7] ||= [
|
|
49192
49502
|
J("忘记密码:本地版运行 ", -1),
|
|
49193
49503
|
K("code", null, "python server.py --reset-admin", -1),
|
|
49194
49504
|
J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
|
|
49195
49505
|
]])),
|
|
49196
|
-
s.auth.error ? (U(), W("p",
|
|
49197
|
-
K("div",
|
|
49506
|
+
s.auth.error ? (U(), W("p", $Y, P(s.auth.error), 1)) : s.auth.notice ? (U(), W("p", eX, P(s.auth.notice), 1)) : Y("", !0),
|
|
49507
|
+
K("div", tX, [q(b, {
|
|
49198
49508
|
type: "submit",
|
|
49199
49509
|
class: "channel-primary-button",
|
|
49200
49510
|
label: a.value === "register" ? "创建并登录" : "登录",
|
|
@@ -49205,13 +49515,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49205
49515
|
"loading",
|
|
49206
49516
|
"disabled"
|
|
49207
49517
|
])])
|
|
49208
|
-
], 40,
|
|
49209
|
-
K("div",
|
|
49518
|
+
], 40, JY)) : (U(), W("div", nX, [
|
|
49519
|
+
K("div", rX, [q(x, {
|
|
49210
49520
|
src: I(n).identities.用户.icon,
|
|
49211
49521
|
alt: `${I(n).display_name("用户")} 的头像`,
|
|
49212
49522
|
size: "lg",
|
|
49213
49523
|
class: "channel-avatar user account-avatar"
|
|
49214
|
-
}, null, 8, ["src", "alt"]), K("div",
|
|
49524
|
+
}, null, 8, ["src", "alt"]), K("div", iX, [
|
|
49215
49525
|
K("input", {
|
|
49216
49526
|
ref_key: "avatar_input",
|
|
49217
49527
|
ref: u,
|
|
@@ -49249,7 +49559,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49249
49559
|
label: "显示名称",
|
|
49250
49560
|
description: "即用户名,对所有访客可见"
|
|
49251
49561
|
}, {
|
|
49252
|
-
default: L(() => [K("div",
|
|
49562
|
+
default: L(() => [K("div", aX, [q(p, {
|
|
49253
49563
|
modelValue: l.value,
|
|
49254
49564
|
"onUpdate:modelValue": t[5] ||= (e) => l.value = e,
|
|
49255
49565
|
autocomplete: "username",
|
|
@@ -49267,8 +49577,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49267
49577
|
}, null, 8, ["loading", "disabled"])])]),
|
|
49268
49578
|
_: 1
|
|
49269
49579
|
})], 32),
|
|
49270
|
-
s.profile.error ? (U(), W("p",
|
|
49271
|
-
r.value.local ? Y("", !0) : (U(), W("div",
|
|
49580
|
+
s.profile.error ? (U(), W("p", oX, P(s.profile.error), 1)) : s.profile.notice ? (U(), W("p", sX, P(s.profile.notice), 1)) : Y("", !0),
|
|
49581
|
+
r.value.local ? Y("", !0) : (U(), W("div", cX, [q(b, {
|
|
49272
49582
|
label: "退出登录",
|
|
49273
49583
|
icon: "i-lucide-log-out",
|
|
49274
49584
|
color: "neutral",
|
|
@@ -49281,65 +49591,65 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49281
49591
|
]))]);
|
|
49282
49592
|
};
|
|
49283
49593
|
}
|
|
49284
|
-
},
|
|
49594
|
+
}, uX = {
|
|
49285
49595
|
key: 0,
|
|
49286
49596
|
class: "channel-archive-manager"
|
|
49287
|
-
},
|
|
49597
|
+
}, dX = { class: "channel-archive-toolbar" }, fX = {
|
|
49288
49598
|
key: 0,
|
|
49289
49599
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49290
49600
|
role: "alert"
|
|
49291
|
-
},
|
|
49601
|
+
}, pX = {
|
|
49292
49602
|
key: 1,
|
|
49293
49603
|
role: "alert",
|
|
49294
49604
|
class: "channel-directory-error"
|
|
49295
|
-
},
|
|
49605
|
+
}, mX = { class: "channel-archive-results" }, hX = {
|
|
49296
49606
|
key: 0,
|
|
49297
49607
|
class: "channel-archive-list",
|
|
49298
49608
|
"aria-label": "已存档房间列表"
|
|
49299
|
-
},
|
|
49609
|
+
}, gX = { class: "channel-archive-row" }, _X = { class: "channel-archive-info" }, vX = [
|
|
49300
49610
|
"title",
|
|
49301
49611
|
"disabled",
|
|
49302
49612
|
"onClick"
|
|
49303
|
-
],
|
|
49613
|
+
], yX = { key: 0 }, bX = ["datetime"], xX = { class: "channel-archive-actions" }, SX = {
|
|
49304
49614
|
key: 0,
|
|
49305
49615
|
class: "channel-archive-confirm channel-archive-bulk",
|
|
49306
49616
|
role: "alert"
|
|
49307
|
-
},
|
|
49617
|
+
}, CX = {
|
|
49308
49618
|
key: 1,
|
|
49309
49619
|
class: "channel-archive-empty"
|
|
49310
|
-
},
|
|
49620
|
+
}, wX = { class: "fine-print" }, TX = { class: "dialog-actions" }, EX = { class: "dialog-actions" }, DX = { class: "channel-management-target" }, OX = {
|
|
49311
49621
|
key: 0,
|
|
49312
49622
|
class: "fine-print"
|
|
49313
|
-
},
|
|
49623
|
+
}, kX = {
|
|
49314
49624
|
key: 1,
|
|
49315
49625
|
class: "fine-print"
|
|
49316
|
-
},
|
|
49626
|
+
}, AX = {
|
|
49317
49627
|
key: 2,
|
|
49318
49628
|
class: "fine-print"
|
|
49319
|
-
},
|
|
49629
|
+
}, jX = { class: "dialog-actions" }, MX = { key: 4 }, NX = { class: "theme-choices" }, PX = ["aria-pressed", "onClick"], FX = { class: "theme-check" }, IX = { class: "channel-reading-setting" }, LX = {
|
|
49320
49630
|
class: "channel-reading-options",
|
|
49321
49631
|
role: "group",
|
|
49322
49632
|
"aria-labelledby": "channel-reading-label"
|
|
49323
|
-
},
|
|
49633
|
+
}, RX = { class: "channel-reading-setting" }, zX = {
|
|
49324
49634
|
class: "channel-reading-options channel-effect-options",
|
|
49325
49635
|
role: "group",
|
|
49326
49636
|
"aria-labelledby": "channel-effects-label"
|
|
49327
|
-
},
|
|
49637
|
+
}, BX = { class: "form-two-columns" }, VX = { class: "advanced-content" }, HX = {
|
|
49328
49638
|
key: 0,
|
|
49329
49639
|
class: "fine-print"
|
|
49330
|
-
},
|
|
49640
|
+
}, UX = { class: "advanced-content" }, WX = { class: "expert-fields" }, GX = { class: "dialog-actions" }, KX = { class: "dialog-actions" }, qX = {
|
|
49331
49641
|
key: 8,
|
|
49332
49642
|
class: "original-message"
|
|
49333
|
-
},
|
|
49643
|
+
}, JX = {
|
|
49334
49644
|
key: 0,
|
|
49335
49645
|
role: "alert"
|
|
49336
|
-
},
|
|
49646
|
+
}, YX = { class: "original-meta" }, XX = { class: "fine-print" }, ZX = {
|
|
49337
49647
|
key: 0,
|
|
49338
49648
|
class: "channel-answer-summary"
|
|
49339
|
-
},
|
|
49649
|
+
}, QX = { class: "message-prose" }, $X = { class: "message-prose" }, eZ = ["innerHTML"], tZ = {
|
|
49340
49650
|
key: 2,
|
|
49341
49651
|
class: "fine-print"
|
|
49342
|
-
},
|
|
49652
|
+
}, nZ = "topic-expert-modes", rZ = {
|
|
49343
49653
|
__name: "WorkspaceDialogs",
|
|
49344
49654
|
props: /*@__PURE__*/ Fa({
|
|
49345
49655
|
detailId: {
|
|
@@ -49617,8 +49927,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49617
49927
|
} : void 0,
|
|
49618
49928
|
"onAfter:leave": be
|
|
49619
49929
|
}, {
|
|
49620
|
-
body: L(() => [a.value === "archives" ? (U(), W("section",
|
|
49621
|
-
K("div",
|
|
49930
|
+
body: L(() => [a.value === "archives" ? (U(), W("section", uX, [
|
|
49931
|
+
K("div", dX, [
|
|
49622
49932
|
q(x, {
|
|
49623
49933
|
modelValue: h.value,
|
|
49624
49934
|
"onUpdate:modelValue": c[0] ||= (e) => h.value = e,
|
|
@@ -49647,7 +49957,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49647
49957
|
}
|
|
49648
49958
|
}, null, 8, ["label", "disabled"])
|
|
49649
49959
|
]),
|
|
49650
|
-
b.value && v.value.length ? (U(), W("div",
|
|
49960
|
+
b.value && v.value.length ? (U(), W("div", fX, [
|
|
49651
49961
|
K("span", null, "将永久删除当前列表中的 " + P(v.value.length) + " 个房间及其全部记录,无法撤销。", 1),
|
|
49652
49962
|
q(le, {
|
|
49653
49963
|
label: "取消",
|
|
@@ -49663,20 +49973,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49663
49973
|
onClick: D
|
|
49664
49974
|
})
|
|
49665
49975
|
])) : Y("", !0),
|
|
49666
|
-
I(o).directory_error ? (U(), W("p",
|
|
49667
|
-
K("div",
|
|
49976
|
+
I(o).directory_error ? (U(), W("p", pX, P(I(o).directory_error), 1)) : Y("", !0),
|
|
49977
|
+
K("div", mX, [v.value.length ? (U(), W("ul", hX, [(U(!0), W(H, null, B(v.value, (e) => (U(), W("li", {
|
|
49668
49978
|
key: e.id,
|
|
49669
49979
|
class: "channel-archive-item"
|
|
49670
|
-
}, [K("div",
|
|
49980
|
+
}, [K("div", gX, [K("div", _X, [K("button", {
|
|
49671
49981
|
class: "channel-archive-title",
|
|
49672
49982
|
title: e.title,
|
|
49673
49983
|
disabled: !!I(u),
|
|
49674
49984
|
onClick: (t) => T(e)
|
|
49675
|
-
}, P(e.title), 9,
|
|
49985
|
+
}, P(e.title), 9, vX), K("small", null, [e.created_at ? (U(), W("span", yX, [
|
|
49676
49986
|
c[26] ||= J("创建于 ", -1),
|
|
49677
|
-
K("time", { datetime: e.created_at }, P(C(e.created_at)), 9,
|
|
49987
|
+
K("time", { datetime: e.created_at }, P(C(e.created_at)), 9, bX),
|
|
49678
49988
|
c[27] ||= J(" · ", -1)
|
|
49679
|
-
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div",
|
|
49989
|
+
])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", xX, [q(le, {
|
|
49680
49990
|
"aria-label": `彻底删除 ${e.title}`,
|
|
49681
49991
|
title: "彻底删除",
|
|
49682
49992
|
icon: "i-lucide-trash-2",
|
|
@@ -49708,7 +50018,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49708
50018
|
"aria-label",
|
|
49709
50019
|
"disabled",
|
|
49710
50020
|
"onClick"
|
|
49711
|
-
])])]), y.value === e.id ? (U(), W("div",
|
|
50021
|
+
])])]), y.value === e.id ? (U(), W("div", SX, [
|
|
49712
50022
|
K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
|
|
49713
50023
|
q(le, {
|
|
49714
50024
|
label: "取消",
|
|
@@ -49724,12 +50034,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49724
50034
|
disabled: w(e),
|
|
49725
50035
|
onClick: E
|
|
49726
50036
|
}, null, 8, ["disabled"])
|
|
49727
|
-
])) : Y("", !0)]))), 128))])) : (U(), W("p",
|
|
50037
|
+
])) : Y("", !0)]))), 128))])) : (U(), W("p", CX, P(m.value.length ? "没有匹配的存档房间" : "暂无已存档房间"), 1))])
|
|
49728
50038
|
])) : a.value === "delete-folder" ? (U(), W("form", {
|
|
49729
50039
|
key: 1,
|
|
49730
50040
|
class: "dialog-form",
|
|
49731
50041
|
onSubmit: uu(re, ["prevent"])
|
|
49732
|
-
}, [K("p",
|
|
50042
|
+
}, [K("p", wX, "移除「" + P(e.targetFolder?.name) + "」后,房间不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", TX, [q(le, {
|
|
49733
50043
|
label: "取消",
|
|
49734
50044
|
color: "neutral",
|
|
49735
50045
|
variant: "ghost",
|
|
@@ -49760,7 +50070,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49760
50070
|
"modelValue",
|
|
49761
50071
|
"aria-label",
|
|
49762
50072
|
"readonly"
|
|
49763
|
-
]), K("div",
|
|
50073
|
+
]), K("div", EX, [q(le, {
|
|
49764
50074
|
label: "取消",
|
|
49765
50075
|
color: "neutral",
|
|
49766
50076
|
variant: "ghost",
|
|
@@ -49785,10 +50095,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49785
50095
|
class: "dialog-form",
|
|
49786
50096
|
onSubmit: uu(te, ["prevent"])
|
|
49787
50097
|
}, [
|
|
49788
|
-
K("p",
|
|
49789
|
-
a.value === "archive" ? (U(), W("p",
|
|
49790
|
-
a.value === "restore" ? (U(), W("p",
|
|
49791
|
-
a.value === "delete" ? (U(), W("p",
|
|
50098
|
+
K("p", DX, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
|
|
50099
|
+
a.value === "archive" ? (U(), W("p", OX, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
|
|
50100
|
+
a.value === "restore" ? (U(), W("p", kX, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
|
|
50101
|
+
a.value === "delete" ? (U(), W("p", AX, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
|
|
49792
50102
|
a.value === "rename" ? (U(), G(ue, {
|
|
49793
50103
|
key: 3,
|
|
49794
50104
|
label: "房间名称",
|
|
@@ -49805,7 +50115,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49805
50115
|
}, null, 8, ["modelValue"])]),
|
|
49806
50116
|
_: 1
|
|
49807
50117
|
})) : Y("", !0),
|
|
49808
|
-
K("div",
|
|
50118
|
+
K("div", jX, [q(le, {
|
|
49809
50119
|
label: "取消",
|
|
49810
50120
|
color: "neutral",
|
|
49811
50121
|
variant: "ghost",
|
|
@@ -49822,10 +50132,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49822
50132
|
"loading",
|
|
49823
50133
|
"disabled"
|
|
49824
50134
|
])])
|
|
49825
|
-
], 32)) : a.value === "settings" ? (U(), W("div",
|
|
49826
|
-
q(
|
|
50135
|
+
], 32)) : a.value === "settings" ? (U(), W("div", MX, [
|
|
50136
|
+
q(lX),
|
|
49827
50137
|
c[32] ||= K("h3", { class: "account-appearance-heading" }, "外观", -1),
|
|
49828
|
-
K("div",
|
|
50138
|
+
K("div", NX, [(U(), W(H, null, B(he, (e) => K("button", {
|
|
49829
50139
|
key: e.value,
|
|
49830
50140
|
class: M({ chosen: I(o).theme === e.value }),
|
|
49831
50141
|
"aria-pressed": I(o).theme === e.value,
|
|
@@ -49840,12 +50150,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49840
50150
|
K("b")
|
|
49841
50151
|
], -1)]], 2),
|
|
49842
50152
|
K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
|
|
49843
|
-
K("span",
|
|
50153
|
+
K("span", FX, [I(o).theme === e.value ? (U(), G(ve, {
|
|
49844
50154
|
key: 0,
|
|
49845
50155
|
name: "i-lucide-check"
|
|
49846
50156
|
})) : Y("", !0)])
|
|
49847
|
-
], 10,
|
|
49848
|
-
K("section",
|
|
50157
|
+
], 10, PX)), 64))]),
|
|
50158
|
+
K("section", IX, [c[29] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", LX, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(le, {
|
|
49849
50159
|
key: e.value,
|
|
49850
50160
|
label: e.label,
|
|
49851
50161
|
color: "neutral",
|
|
@@ -49859,9 +50169,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49859
50169
|
"aria-pressed",
|
|
49860
50170
|
"onClick"
|
|
49861
50171
|
]))), 128))])]),
|
|
49862
|
-
K("section",
|
|
50172
|
+
K("section", RX, [
|
|
49863
50173
|
c[30] ||= K("h3", { id: "channel-effects-label" }, "视觉效果", -1),
|
|
49864
|
-
K("div",
|
|
50174
|
+
K("div", zX, [(U(!0), W(H, null, B(e.effectOptions, (e) => (U(), G(le, {
|
|
49865
50175
|
key: e.value,
|
|
49866
50176
|
label: e.label,
|
|
49867
50177
|
color: "neutral",
|
|
@@ -49877,7 +50187,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49877
50187
|
]))), 128))]),
|
|
49878
50188
|
c[31] ||= K("p", { class: "fine-print" }, "精简模式关闭毛玻璃模糊与多层阴影,适合配置较低或需要更流畅滚动的设备。", -1)
|
|
49879
50189
|
])
|
|
49880
|
-
])) : a.value === "create" ? (U(), G(
|
|
50190
|
+
])) : a.value === "create" ? (U(), G(GY, {
|
|
49881
50191
|
key: 5,
|
|
49882
50192
|
"target-folder": e.targetFolder,
|
|
49883
50193
|
onSubmit: N,
|
|
@@ -49912,7 +50222,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49912
50222
|
}, null, 8, ["model-value"])]),
|
|
49913
50223
|
_: 1
|
|
49914
50224
|
}),
|
|
49915
|
-
K("div",
|
|
50225
|
+
K("div", BX, [q(ue, { label: "主持人" }, {
|
|
49916
50226
|
default: L(() => [q(S, {
|
|
49917
50227
|
"model-value": I(o).fields[ge("host")],
|
|
49918
50228
|
items: I(A),
|
|
@@ -49946,7 +50256,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49946
50256
|
}, null, 8, ["model-value"])]),
|
|
49947
50257
|
_: 1
|
|
49948
50258
|
})) : Y("", !0),
|
|
49949
|
-
K("section",
|
|
50259
|
+
K("section", VX, [
|
|
49950
50260
|
c[33] ||= K("h3", null, "讨论上限", -1),
|
|
49951
50261
|
q(bU, {
|
|
49952
50262
|
ref_key: "topic_limits",
|
|
@@ -49966,14 +50276,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
49966
50276
|
"execution",
|
|
49967
50277
|
"disabled"
|
|
49968
50278
|
]),
|
|
49969
|
-
ce.value ? (U(), W("p",
|
|
50279
|
+
ce.value ? (U(), W("p", HX, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
|
|
49970
50280
|
]),
|
|
49971
50281
|
q(we, {
|
|
49972
50282
|
open: oe.value,
|
|
49973
50283
|
"onUpdate:open": c[20] ||= (e) => oe.value = e,
|
|
49974
50284
|
class: "advanced-fields"
|
|
49975
50285
|
}, {
|
|
49976
|
-
content: L(() => [K("div",
|
|
50286
|
+
content: L(() => [K("div", UX, [
|
|
49977
50287
|
(U(), W(H, null, B([
|
|
49978
50288
|
{
|
|
49979
50289
|
key: "user_request",
|
|
@@ -50000,11 +50310,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50000
50310
|
}, null, 8, ["model-value", "onUpdate:modelValue"])]),
|
|
50001
50311
|
_: 2
|
|
50002
50312
|
}, 1032, ["label"])), 64)),
|
|
50003
|
-
K("div",
|
|
50004
|
-
"model-value": I(o).experts[
|
|
50313
|
+
K("div", WX, [(U(!0), W(H, null, B(I(ie), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(S, {
|
|
50314
|
+
"model-value": I(o).experts[nZ]?.[e] || "none",
|
|
50005
50315
|
items: ae,
|
|
50006
50316
|
"aria-label": `${e} 参与方式`,
|
|
50007
|
-
"onUpdate:modelValue": (t) => I(s).write_expert(
|
|
50317
|
+
"onUpdate:modelValue": (t) => I(s).write_expert(nZ, e, t === "none" ? "" : t)
|
|
50008
50318
|
}, null, 8, [
|
|
50009
50319
|
"model-value",
|
|
50010
50320
|
"aria-label",
|
|
@@ -50022,7 +50332,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50022
50332
|
}, null, 8, ["trailing-icon"])]),
|
|
50023
50333
|
_: 1
|
|
50024
50334
|
}, 8, ["open"]),
|
|
50025
|
-
K("div",
|
|
50335
|
+
K("div", GX, [q(le, {
|
|
50026
50336
|
label: "取消",
|
|
50027
50337
|
color: "neutral",
|
|
50028
50338
|
variant: "ghost",
|
|
@@ -50066,7 +50376,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50066
50376
|
_: 1
|
|
50067
50377
|
}),
|
|
50068
50378
|
c[35] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
|
|
50069
|
-
K("div",
|
|
50379
|
+
K("div", KX, [q(le, {
|
|
50070
50380
|
label: "取消",
|
|
50071
50381
|
variant: "ghost",
|
|
50072
50382
|
color: "neutral",
|
|
@@ -50077,8 +50387,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50077
50387
|
label: "创建发言安排",
|
|
50078
50388
|
loading: I(u) === "schedule"
|
|
50079
50389
|
}, null, 8, ["loading"])])
|
|
50080
|
-
], 32)) : a.value === "message" ? (U(), W("div",
|
|
50081
|
-
K("div",
|
|
50390
|
+
], 32)) : a.value === "message" ? (U(), W("div", qX, [fe.value ? (U(), W("p", JX, P(fe.value), 1)) : de.value ? (U(), W(H, { key: 1 }, [
|
|
50391
|
+
K("div", YX, [
|
|
50082
50392
|
K("strong", null, P(I(s).display_name(de.value.author)), 1),
|
|
50083
50393
|
K("span", null, "#" + P(de.value.id), 1),
|
|
50084
50394
|
q(Te, {
|
|
@@ -50089,14 +50399,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50089
50399
|
_: 1
|
|
50090
50400
|
})
|
|
50091
50401
|
]),
|
|
50092
|
-
K("p",
|
|
50093
|
-
de.value.summary ? (U(), W("section",
|
|
50094
|
-
K("p",
|
|
50402
|
+
K("p", XX, P(I(s).provenance(de.value)) + " · " + P(new Date(de.value.created_at).toLocaleString("zh-CN")), 1),
|
|
50403
|
+
de.value.summary ? (U(), W("section", ZX, [K("small", null, "回答摘要 · " + P(I(s).display_name(de.value.summary_by)), 1), K("p", QX, P(de.value.summary), 1)])) : Y("", !0),
|
|
50404
|
+
K("p", $X, P(de.value.text), 1),
|
|
50095
50405
|
de.value.attachments?.length ? (U(), W("div", {
|
|
50096
50406
|
key: 1,
|
|
50097
50407
|
onClick: ye,
|
|
50098
50408
|
innerHTML: I(s).attachment_markup(de.value.attachments)
|
|
50099
|
-
}, null, 8,
|
|
50409
|
+
}, null, 8, eZ)) : Y("", !0),
|
|
50100
50410
|
de.value.reply_to ? (U(), G(le, {
|
|
50101
50411
|
key: 2,
|
|
50102
50412
|
label: `查看被回复的原文 #${de.value.reply_to}`,
|
|
@@ -50106,7 +50416,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50106
50416
|
class: "channel-surface-button",
|
|
50107
50417
|
onClick: xe
|
|
50108
50418
|
}, null, 8, ["label"])) : Y("", !0)
|
|
50109
|
-
], 64)) : (U(), W("p",
|
|
50419
|
+
], 64)) : (U(), W("p", tZ, "正在读取原文…"))])) : Y("", !0)]),
|
|
50110
50420
|
_: 1
|
|
50111
50421
|
}, 8, [
|
|
50112
50422
|
"open",
|
|
@@ -50117,7 +50427,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50117
50427
|
]);
|
|
50118
50428
|
};
|
|
50119
50429
|
}
|
|
50120
|
-
},
|
|
50430
|
+
}, iZ = {
|
|
50121
50431
|
__name: "ContextMenuContent",
|
|
50122
50432
|
props: {
|
|
50123
50433
|
items: {
|
|
@@ -50412,7 +50722,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50412
50722
|
"disabled",
|
|
50413
50723
|
"text-value",
|
|
50414
50724
|
"class"
|
|
50415
|
-
]), q(
|
|
50725
|
+
]), q(iZ, X({
|
|
50416
50726
|
sub: "",
|
|
50417
50727
|
class: r.ui?.content,
|
|
50418
50728
|
ui: e.ui,
|
|
@@ -50523,7 +50833,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50523
50833
|
_: 3
|
|
50524
50834
|
}, 16)], 64));
|
|
50525
50835
|
}
|
|
50526
|
-
},
|
|
50836
|
+
}, aZ = {
|
|
50527
50837
|
slots: {
|
|
50528
50838
|
content: "min-w-32 max-h-(--reka-context-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)] origin-(--reka-context-menu-content-transform-origin) flex flex-col",
|
|
50529
50839
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
@@ -50711,7 +51021,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50711
51021
|
}
|
|
50712
51022
|
],
|
|
50713
51023
|
defaultVariants: { size: "md" }
|
|
50714
|
-
},
|
|
51024
|
+
}, oZ = {
|
|
50715
51025
|
__name: "ContextMenu",
|
|
50716
51026
|
props: {
|
|
50717
51027
|
size: {
|
|
@@ -50781,7 +51091,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50781
51091
|
emits: ["update:open"],
|
|
50782
51092
|
setup(e, { emit: t }) {
|
|
50783
51093
|
let n = e, r = t, i = Aa(), a = AE("contextMenu", n), o = Cm(), s = jE(om(a, "modal"), r), c = /* @__PURE__ */ Sn(() => a.content), l = () => Vm(i, ["default"]), u = Z(() => oA({
|
|
50784
|
-
extend:
|
|
51094
|
+
extend: aZ,
|
|
50785
51095
|
...o.ui?.contextMenu || {}
|
|
50786
51096
|
})({ size: a.size }));
|
|
50787
51097
|
return (e, t) => (U(), G(I(iC), N(Ss(I(s))), {
|
|
@@ -50793,7 +51103,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50793
51103
|
}, {
|
|
50794
51104
|
default: L(() => [V(e.$slots, "default")]),
|
|
50795
51105
|
_: 3
|
|
50796
|
-
}, 8, ["disabled", "class"])) : Y("", !0), q(
|
|
51106
|
+
}, 8, ["disabled", "class"])) : Y("", !0), q(iZ, X({
|
|
50797
51107
|
class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
|
|
50798
51108
|
ui: u.value,
|
|
50799
51109
|
"ui-override": I(a).ui
|
|
@@ -50823,47 +51133,47 @@ var hU = /*#__PURE__*/ XH({
|
|
|
50823
51133
|
_: 3
|
|
50824
51134
|
}, 16));
|
|
50825
51135
|
}
|
|
50826
|
-
},
|
|
51136
|
+
}, sZ = { class: "channel-directory-manager" }, cZ = { class: "channel-directory-heading" }, lZ = ["aria-expanded"], uZ = { class: "channel-directory-actions" }, dZ = {
|
|
50827
51137
|
"aria-label": "协作房间列表",
|
|
50828
51138
|
class: "channel-room-list",
|
|
50829
51139
|
"data-room-directory": ""
|
|
50830
|
-
},
|
|
51140
|
+
}, fZ = ["data-room-folder", "data-drag-folder"], pZ = [
|
|
50831
51141
|
"disabled",
|
|
50832
51142
|
"aria-label",
|
|
50833
51143
|
"aria-expanded",
|
|
50834
51144
|
"onKeydown",
|
|
50835
51145
|
"onClick"
|
|
50836
|
-
],
|
|
51146
|
+
], mZ = { class: "channel-folder-name" }, hZ = { class: "channel-folder-actions" }, gZ = {
|
|
50837
51147
|
class: "channel-directory-count",
|
|
50838
51148
|
"aria-hidden": "true"
|
|
50839
|
-
},
|
|
51149
|
+
}, _Z = ["data-drop-folder"], vZ = {
|
|
50840
51150
|
key: 0,
|
|
50841
51151
|
class: "channel-directory-empty",
|
|
50842
51152
|
role: "status"
|
|
50843
|
-
},
|
|
51153
|
+
}, yZ = ["data-drag-room"], bZ = [
|
|
50844
51154
|
"aria-label",
|
|
50845
51155
|
"disabled",
|
|
50846
51156
|
"onKeydown"
|
|
50847
|
-
],
|
|
51157
|
+
], xZ = [
|
|
50848
51158
|
"title",
|
|
50849
51159
|
"aria-label",
|
|
50850
51160
|
"aria-current",
|
|
50851
51161
|
"onClick"
|
|
50852
|
-
],
|
|
51162
|
+
], SZ = { class: "channel-room-actions" }, CZ = {
|
|
50853
51163
|
key: 0,
|
|
50854
51164
|
class: "channel-directory-empty"
|
|
50855
|
-
},
|
|
51165
|
+
}, wZ = {
|
|
50856
51166
|
key: 0,
|
|
50857
51167
|
class: "channel-archive-count"
|
|
50858
|
-
},
|
|
51168
|
+
}, TZ = {
|
|
50859
51169
|
key: 0,
|
|
50860
51170
|
role: "status",
|
|
50861
51171
|
class: "channel-directory-notice"
|
|
50862
|
-
},
|
|
51172
|
+
}, EZ = {
|
|
50863
51173
|
key: 1,
|
|
50864
51174
|
role: "alert",
|
|
50865
51175
|
class: "channel-directory-error"
|
|
50866
|
-
},
|
|
51176
|
+
}, DZ = {
|
|
50867
51177
|
__name: "ChannelDirectory",
|
|
50868
51178
|
emits: [
|
|
50869
51179
|
"select",
|
|
@@ -51077,8 +51387,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51077
51387
|
];
|
|
51078
51388
|
}
|
|
51079
51389
|
return (e, t) => {
|
|
51080
|
-
let u = MA, _ = sA, v = CH, x = $V, S =
|
|
51081
|
-
return U(), W("div",
|
|
51390
|
+
let u = MA, _ = sA, v = CH, x = $V, S = oZ;
|
|
51391
|
+
return U(), W("div", sZ, [
|
|
51082
51392
|
q(u, {
|
|
51083
51393
|
label: "新建对话",
|
|
51084
51394
|
icon: "i-lucide-plus",
|
|
@@ -51087,12 +51397,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51087
51397
|
disabled: I(r).directory_pending.includes("create-room"),
|
|
51088
51398
|
onClick: t[0] ||= (e) => n("create", null)
|
|
51089
51399
|
}, null, 8, ["disabled"]),
|
|
51090
|
-
K("div",
|
|
51400
|
+
K("div", cZ, [K("button", {
|
|
51091
51401
|
type: "button",
|
|
51092
51402
|
class: "channel-section-toggle",
|
|
51093
51403
|
"aria-expanded": m.value,
|
|
51094
51404
|
onClick: t[1] ||= (e) => m.value = !m.value
|
|
51095
|
-
}, [q(_, { name: m.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("协作房间", -1)], 8,
|
|
51405
|
+
}, [q(_, { name: m.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("协作房间", -1)], 8, lZ), K("div", uZ, [
|
|
51096
51406
|
q(v, {
|
|
51097
51407
|
items: d.value,
|
|
51098
51408
|
content: {
|
|
@@ -51134,7 +51444,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51134
51444
|
onChange: p
|
|
51135
51445
|
}, null, 544)
|
|
51136
51446
|
])]),
|
|
51137
|
-
vr(K("nav",
|
|
51447
|
+
vr(K("nav", dZ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
|
|
51138
51448
|
key: e.order_id,
|
|
51139
51449
|
class: "channel-folder-section",
|
|
51140
51450
|
"data-room-folder": e.id,
|
|
@@ -51164,9 +51474,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51164
51474
|
}, [
|
|
51165
51475
|
q(_, { name: h.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
51166
51476
|
q(_, { name: "i-lucide-folder" }),
|
|
51167
|
-
K("span",
|
|
51168
|
-
], 40,
|
|
51169
|
-
K("div",
|
|
51477
|
+
K("span", mZ, P(e.name), 1)
|
|
51478
|
+
], 40, pZ),
|
|
51479
|
+
K("div", hZ, [q(v, {
|
|
51170
51480
|
items: g(e, s),
|
|
51171
51481
|
content: {
|
|
51172
51482
|
align: "start",
|
|
@@ -51200,12 +51510,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51200
51510
|
])]),
|
|
51201
51511
|
_: 2
|
|
51202
51512
|
}, 1032, ["text"])]),
|
|
51203
|
-
K("small",
|
|
51513
|
+
K("small", gZ, P(e.pending ? "保存中" : e.rooms.length), 1)
|
|
51204
51514
|
], 2)) : Y("", !0), !e.id || !h.value.has(e.id) ? (U(), W("div", {
|
|
51205
51515
|
key: 1,
|
|
51206
51516
|
class: M(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
|
|
51207
51517
|
"data-drop-folder": e.id ? void 0 : ""
|
|
51208
|
-
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p",
|
|
51518
|
+
}, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", vZ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(S, {
|
|
51209
51519
|
key: s.id,
|
|
51210
51520
|
items: b(s, c, s.folder_id || null, e.rooms.length),
|
|
51211
51521
|
ui: { content: "channel-menu channel-topic-menu" }
|
|
@@ -51230,7 +51540,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51230
51540
|
direction: 1,
|
|
51231
51541
|
folder_id: s.folder_id || null
|
|
51232
51542
|
}), ["prevent"]), ["down"])]
|
|
51233
|
-
}, [q(_, { name: "i-lucide-grip-vertical" })], 40,
|
|
51543
|
+
}, [q(_, { name: "i-lucide-grip-vertical" })], 40, bZ),
|
|
51234
51544
|
K("button", {
|
|
51235
51545
|
class: "channel-room-select",
|
|
51236
51546
|
"data-drag-title": "",
|
|
@@ -51239,8 +51549,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51239
51549
|
"aria-current": s.id === I(r).room?.id ? "page" : void 0,
|
|
51240
51550
|
onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
|
|
51241
51551
|
onClick: (e) => n("select", s.id)
|
|
51242
|
-
}, [K("span", null, P(s.title), 1)], 40,
|
|
51243
|
-
K("div",
|
|
51552
|
+
}, [K("span", null, P(s.title), 1)], 40, xZ),
|
|
51553
|
+
K("div", SZ, [q(x, {
|
|
51244
51554
|
text: s.archived ? "恢复房间" : "存档房间",
|
|
51245
51555
|
ui: { content: "channel-topic-tooltip" }
|
|
51246
51556
|
}, {
|
|
@@ -51281,9 +51591,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51281
51591
|
}, null, 8, ["aria-label"])]),
|
|
51282
51592
|
_: 2
|
|
51283
51593
|
}, 1032, ["items"])])
|
|
51284
|
-
], 10,
|
|
51594
|
+
], 10, yZ)]),
|
|
51285
51595
|
_: 2
|
|
51286
|
-
}, 1032, ["items"]))), 128))], 10,
|
|
51596
|
+
}, 1032, ["items"]))), 128))], 10, _Z)) : Y("", !0)], 8, fZ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", CZ, "暂无协作房间"))], 512), [[Vc, m.value]]),
|
|
51287
51597
|
vr(q(u, {
|
|
51288
51598
|
icon: "i-lucide-archive",
|
|
51289
51599
|
color: "neutral",
|
|
@@ -51292,48 +51602,48 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51292
51602
|
"aria-haspopup": "dialog",
|
|
51293
51603
|
onClick: t[6] ||= (e) => n("archives")
|
|
51294
51604
|
}, {
|
|
51295
|
-
default: L(() => [t[8] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small",
|
|
51605
|
+
default: L(() => [t[8] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small", wZ, P(c.value), 1)) : Y("", !0)]),
|
|
51296
51606
|
_: 1
|
|
51297
51607
|
}, 512), [[Vc, m.value]]),
|
|
51298
|
-
I(r).directory_notice ? (U(), W("p",
|
|
51299
|
-
I(r).directory_error ? (U(), W("p",
|
|
51608
|
+
I(r).directory_notice ? (U(), W("p", TZ, P(I(r).directory_notice), 1)) : Y("", !0),
|
|
51609
|
+
I(r).directory_error ? (U(), W("p", EZ, P(I(r).directory_error), 1)) : Y("", !0)
|
|
51300
51610
|
]);
|
|
51301
51611
|
};
|
|
51302
51612
|
}
|
|
51303
|
-
},
|
|
51613
|
+
}, OZ = {
|
|
51304
51614
|
key: 0,
|
|
51305
51615
|
class: "pb-invite",
|
|
51306
51616
|
"aria-label": "启动手动成员"
|
|
51307
|
-
},
|
|
51617
|
+
}, kZ = { class: "pb-invite-lead" }, AZ = {
|
|
51308
51618
|
key: 0,
|
|
51309
51619
|
role: "alert",
|
|
51310
51620
|
class: "pb-free-note is-error"
|
|
51311
|
-
},
|
|
51621
|
+
}, jZ = { class: "pb-invite-launches" }, MZ = { class: "pb-invite-footer" }, NZ = {
|
|
51312
51622
|
class: "pb-invite-library",
|
|
51313
51623
|
role: "group",
|
|
51314
51624
|
"aria-label": "选择 AI(可多选)"
|
|
51315
|
-
},
|
|
51625
|
+
}, PZ = [
|
|
51316
51626
|
"aria-pressed",
|
|
51317
51627
|
"title",
|
|
51318
51628
|
"onClick"
|
|
51319
|
-
],
|
|
51629
|
+
], FZ = {
|
|
51320
51630
|
key: 0,
|
|
51321
51631
|
class: "pb-invite-cards"
|
|
51322
|
-
},
|
|
51632
|
+
}, IZ = {
|
|
51323
51633
|
key: 0,
|
|
51324
51634
|
class: "fine-print"
|
|
51325
|
-
},
|
|
51635
|
+
}, LZ = ["aria-hidden"], RZ = {
|
|
51326
51636
|
key: 2,
|
|
51327
51637
|
class: "pb-invite-empty"
|
|
51328
|
-
},
|
|
51638
|
+
}, zZ = {
|
|
51329
51639
|
key: 3,
|
|
51330
51640
|
role: "alert",
|
|
51331
51641
|
class: "fine-print"
|
|
51332
|
-
},
|
|
51642
|
+
}, BZ = {
|
|
51333
51643
|
key: 4,
|
|
51334
51644
|
role: "alert",
|
|
51335
51645
|
class: "pb-free-note is-error"
|
|
51336
|
-
},
|
|
51646
|
+
}, VZ = { class: "pb-invite-footer" }, HZ = 2e3, UZ = /*#__PURE__*/ XH({
|
|
51337
51647
|
__name: "InviteDialog",
|
|
51338
51648
|
props: /*@__PURE__*/ Fa({ description: {
|
|
51339
51649
|
type: String,
|
|
@@ -51351,7 +51661,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51351
51661
|
async function u(e) {
|
|
51352
51662
|
clearTimeout(l), c.value = "", await i("copy_member_launch", e) && (c.value = e, l = setTimeout(() => {
|
|
51353
51663
|
c.value = "";
|
|
51354
|
-
},
|
|
51664
|
+
}, HZ));
|
|
51355
51665
|
}
|
|
51356
51666
|
let d = /* @__PURE__ */ F([]), f = 0, p = /* @__PURE__ */ F([]), m = /* @__PURE__ */ F(!1), h = Z(() => Object.keys(r.launch_clients)), g = Z(() => (o.value.members || []).map((e) => e.name)), _ = (e) => g.value.filter((t) => r.platform_of(t) === e).length, v = Z(() => [...d.value.filter((e) => e.mode !== "manual"), ...d.value.filter((e) => e.mode === "manual")]), y = Z(() => {
|
|
51357
51667
|
let e = [...g.value];
|
|
@@ -51415,10 +51725,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51415
51725
|
body: "dialog-body"
|
|
51416
51726
|
}
|
|
51417
51727
|
}, {
|
|
51418
|
-
body: L(() => [p.value.length && !d.value.length ? (U(), W("div",
|
|
51419
|
-
K("p",
|
|
51420
|
-
I(n).access?.error ? (U(), W("p",
|
|
51421
|
-
K("ul",
|
|
51728
|
+
body: L(() => [p.value.length && !d.value.length ? (U(), W("div", OZ, [
|
|
51729
|
+
K("p", kZ, P(p.value.length > 1 ? `${p.value.length} 位手动成员已加入` : "手动成员已加入") + ",把启动指令交给各自的 AI 会话,注册后才算到场。", 1),
|
|
51730
|
+
I(n).access?.error ? (U(), W("p", AZ, P(I(n).access.error), 1)) : Y("", !0),
|
|
51731
|
+
K("ul", jZ, [(U(!0), W(H, null, B(p.value, (e) => (U(), W("li", { key: e }, [
|
|
51422
51732
|
q(l, {
|
|
51423
51733
|
src: I(r).identities[I(r).platform_of(e)]?.icon,
|
|
51424
51734
|
text: I(r).identities[I(r).platform_of(e)]?.initials,
|
|
@@ -51453,7 +51763,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51453
51763
|
])
|
|
51454
51764
|
]))), 128))]),
|
|
51455
51765
|
o[3] ||= K("p", { class: "fine-print" }, "指令含该成员的凭证,只交给对应的会话;关闭后仍可在参与者列表中复制。", -1),
|
|
51456
|
-
K("div",
|
|
51766
|
+
K("div", MZ, [q(f, {
|
|
51457
51767
|
label: "完成",
|
|
51458
51768
|
class: "channel-primary-button",
|
|
51459
51769
|
onClick: o[0] ||= (e) => t.value = !1
|
|
@@ -51464,7 +51774,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51464
51774
|
"aria-label": "邀请专家",
|
|
51465
51775
|
onSubmit: uu(w, ["prevent"])
|
|
51466
51776
|
}, [
|
|
51467
|
-
K("div",
|
|
51777
|
+
K("div", NZ, [(U(!0), W(H, null, B(h.value, (e) => (U(), W("button", {
|
|
51468
51778
|
key: e,
|
|
51469
51779
|
type: "button",
|
|
51470
51780
|
"aria-pressed": d.value.some((t) => t.name === e),
|
|
@@ -51481,11 +51791,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51481
51791
|
"text",
|
|
51482
51792
|
"alt",
|
|
51483
51793
|
"class"
|
|
51484
|
-
]), J(P(e), 1)], 8,
|
|
51485
|
-
d.value.length ? (U(), W("div",
|
|
51794
|
+
]), J(P(e), 1)], 8, PZ))), 128))]),
|
|
51795
|
+
d.value.length ? (U(), W("div", FZ, [(U(!0), W(H, null, B(d.value, (e) => (U(), W("div", {
|
|
51486
51796
|
key: e.id,
|
|
51487
51797
|
class: "pb-invite-pick"
|
|
51488
|
-
}, [q(
|
|
51798
|
+
}, [q(oY, {
|
|
51489
51799
|
name: e.name,
|
|
51490
51800
|
mode: e.mode,
|
|
51491
51801
|
choices: ["cli", "manual"],
|
|
@@ -51502,15 +51812,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51502
51812
|
"onMode",
|
|
51503
51813
|
"onSession",
|
|
51504
51814
|
"onRemove"
|
|
51505
|
-
]), y.value.get(e) === e.name ? Y("", !0) : (U(), W("p",
|
|
51815
|
+
]), y.value.get(e) === e.name ? Y("", !0) : (U(), W("p", IZ, "同一 AI 已有实例,将以 " + P(y.value.get(e)) + " 加入,使用独立会话。", 1))]))), 128))])) : Y("", !0),
|
|
51506
51816
|
d.value.length ? (U(), W("p", {
|
|
51507
51817
|
key: 1,
|
|
51508
51818
|
class: M(["fine-print", { "pb-invite-reserved": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual")) }]),
|
|
51509
51819
|
"aria-hidden": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual"))
|
|
51510
|
-
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10,
|
|
51511
|
-
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p",
|
|
51512
|
-
m.value && I(n).free_error ? (U(), W("p",
|
|
51513
|
-
K("div",
|
|
51820
|
+
}, "手动启动的成员排在程序启动的成员之后加入队列。", 10, LZ)) : (U(), W("p", RZ, "选择一位或多位 AI(同一 AI 可重复添加),点卡片翻面设置软件、模型与项目权限。")),
|
|
51821
|
+
d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p", zZ, "邀请需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0),
|
|
51822
|
+
m.value && I(n).free_error ? (U(), W("p", BZ, P(I(n).free_error), 1)) : Y("", !0),
|
|
51823
|
+
K("div", VZ, [q(f, {
|
|
51514
51824
|
label: "取消",
|
|
51515
51825
|
color: "neutral",
|
|
51516
51826
|
variant: "ghost",
|
|
@@ -51532,40 +51842,40 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51532
51842
|
}, 8, ["open", "description"]);
|
|
51533
51843
|
};
|
|
51534
51844
|
}
|
|
51535
|
-
}, [["__scopeId", "data-v-3ca69064"]]),
|
|
51845
|
+
}, [["__scopeId", "data-v-3ca69064"]]), WZ = { class: "speaking-order" }, GZ = {
|
|
51536
51846
|
key: 0,
|
|
51537
51847
|
class: "speaking-order-divider",
|
|
51538
51848
|
"aria-hidden": "true"
|
|
51539
|
-
},
|
|
51849
|
+
}, KZ = ["data-key", "data-movable"], qZ = [
|
|
51540
51850
|
"aria-disabled",
|
|
51541
51851
|
"aria-label",
|
|
51542
51852
|
"title",
|
|
51543
51853
|
"onPointerdown",
|
|
51544
51854
|
"onKeydown"
|
|
51545
|
-
],
|
|
51855
|
+
], JZ = { class: "speaking-order-number" }, YZ = {
|
|
51546
51856
|
key: 1,
|
|
51547
51857
|
class: "speaking-order-place",
|
|
51548
51858
|
title: "已发言",
|
|
51549
51859
|
"aria-label": "已发言"
|
|
51550
|
-
},
|
|
51860
|
+
}, XZ = ["title"], ZZ = {
|
|
51551
51861
|
key: 0,
|
|
51552
51862
|
class: "speaking-order-later"
|
|
51553
|
-
},
|
|
51863
|
+
}, QZ = {
|
|
51554
51864
|
key: 1,
|
|
51555
51865
|
class: "speaking-order-divider",
|
|
51556
51866
|
"aria-hidden": "true"
|
|
51557
|
-
},
|
|
51867
|
+
}, $Z = {
|
|
51558
51868
|
key: 0,
|
|
51559
51869
|
role: "status",
|
|
51560
51870
|
class: "pb-free-note"
|
|
51561
|
-
},
|
|
51871
|
+
}, eQ = {
|
|
51562
51872
|
key: 1,
|
|
51563
51873
|
role: "alert",
|
|
51564
51874
|
class: "pb-free-note is-error"
|
|
51565
|
-
},
|
|
51875
|
+
}, tQ = {
|
|
51566
51876
|
class: "speaking-order-live",
|
|
51567
51877
|
"aria-live": "polite"
|
|
51568
|
-
},
|
|
51878
|
+
}, nQ = "发言顺序刚有变化,已更新为最新顺序,请重新调整", rQ = /*#__PURE__*/ XH({
|
|
51569
51879
|
__name: "SpeakingOrder",
|
|
51570
51880
|
props: {
|
|
51571
51881
|
away: {
|
|
@@ -51585,7 +51895,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51585
51895
|
}), c = Z(() => s.value.kind === "default" ? "idle" : "queued"), l = Z(() => !!n.value.access?.can_manage && !o.value.archived && s.value.movable.length > 1), u = {
|
|
51586
51896
|
queue: "不在本次依次回答中",
|
|
51587
51897
|
turns: "本轮未安排"
|
|
51588
|
-
}, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ?
|
|
51898
|
+
}, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ? nQ : n.value.order_error?.room_id === o.value.id ? n.value.order_error.message : ""), m = /* @__PURE__ */ F(null), h = /* @__PURE__ */ F(null), g = /* @__PURE__ */ F(null), _ = /* @__PURE__ */ F("");
|
|
51589
51899
|
R(() => s.value.revision, () => {
|
|
51590
51900
|
g.value = null;
|
|
51591
51901
|
}), R(() => o.value.id, () => {
|
|
@@ -51672,13 +51982,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51672
51982
|
}
|
|
51673
51983
|
return (e, n) => {
|
|
51674
51984
|
let i = sA;
|
|
51675
|
-
return U(), W("div",
|
|
51985
|
+
return U(), W("div", WZ, [
|
|
51676
51986
|
K("ul", {
|
|
51677
51987
|
ref_key: "list",
|
|
51678
51988
|
ref: m,
|
|
51679
51989
|
class: M(["pb-members", { "is-dragging": h.value }])
|
|
51680
51990
|
}, [
|
|
51681
|
-
(U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li",
|
|
51991
|
+
(U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li", GZ, [K("span", null, P(u[s.value.kind]), 1)])) : Y("", !0), K("li", {
|
|
51682
51992
|
class: M(["pb-member speaking-order-row", [
|
|
51683
51993
|
`is-${t.state}`,
|
|
51684
51994
|
E(r),
|
|
@@ -51699,19 +52009,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51699
52009
|
onPointercancel: n[0] ||= (e) => w(e, !0),
|
|
51700
52010
|
onLostpointercapture: n[1] ||= (e) => w(e, !0),
|
|
51701
52011
|
onKeydown: [fu((e) => D(e, b(r), -1), ["up"]), fu((e) => D(e, b(r), 1), ["down"])]
|
|
51702
|
-
}, [K("span",
|
|
52012
|
+
}, [K("span", JZ, P(t.place), 1), q(i, {
|
|
51703
52013
|
name: "i-lucide-grip-vertical",
|
|
51704
52014
|
class: "speaking-order-handle"
|
|
51705
|
-
})], 40,
|
|
52015
|
+
})], 40, qZ)) : t.state === "done" ? (U(), W("span", YZ, [q(i, { name: "i-lucide-check" })])) : (U(), W("span", {
|
|
51706
52016
|
key: 2,
|
|
51707
52017
|
class: "speaking-order-place",
|
|
51708
52018
|
title: t.state === "speaking" ? "正在发言" : void 0
|
|
51709
|
-
}, P(t.place || ""), 9,
|
|
52019
|
+
}, P(t.place || ""), 9, XZ)), V(e.$slots, "default", {
|
|
51710
52020
|
item: t,
|
|
51711
52021
|
place: t.place
|
|
51712
|
-
}, void 0, !0)], 10,
|
|
51713
|
-
s.value.later?.length ? (U(), W("li",
|
|
51714
|
-
t.away.length ? (U(), W("li",
|
|
52022
|
+
}, void 0, !0)], 10, KZ)], 64))), 128)),
|
|
52023
|
+
s.value.later?.length ? (U(), W("li", ZZ, [K("details", null, [K("summary", null, "后续已排 " + P(s.value.later.length) + " 轮", 1), K("ol", null, [(U(!0), W(H, null, B(s.value.later, (e, n) => (U(), W("li", { key: n }, [K("span", null, P(t.round ? `第 ${t.round + n + 1} 轮` : `后续第 ${n + 1} 轮`), 1), J(P(e.map((e) => I(r).display_name(e)).join(" → ")), 1)]))), 128))])])])) : Y("", !0),
|
|
52024
|
+
t.away.length ? (U(), W("li", QZ, [...n[2] ||= [K("span", null, "已离开", -1)]])) : Y("", !0),
|
|
51715
52025
|
(U(!0), W(H, null, B(t.away, (t) => (U(), W("li", {
|
|
51716
52026
|
key: `away-${t}`,
|
|
51717
52027
|
class: "pb-member speaking-order-row is-away"
|
|
@@ -51723,78 +52033,78 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51723
52033
|
place: 0
|
|
51724
52034
|
}, void 0, !0)]))), 128))
|
|
51725
52035
|
], 2),
|
|
51726
|
-
p.value ===
|
|
51727
|
-
K("p",
|
|
52036
|
+
p.value === nQ ? (U(), W("p", $Z, P(p.value), 1)) : p.value ? (U(), W("p", eQ, P(p.value), 1)) : Y("", !0),
|
|
52037
|
+
K("p", tQ, P(_.value), 1)
|
|
51728
52038
|
]);
|
|
51729
52039
|
};
|
|
51730
52040
|
}
|
|
51731
|
-
}, [["__scopeId", "data-v-dc33a051"]]),
|
|
52041
|
+
}, [["__scopeId", "data-v-dc33a051"]]), iQ = {
|
|
51732
52042
|
key: 0,
|
|
51733
52043
|
class: "pb-header"
|
|
51734
|
-
},
|
|
52044
|
+
}, aQ = { class: "pb-mode" }, oQ = { class: "pb-status-line" }, sQ = { role: "status" }, cQ = {
|
|
51735
52045
|
key: 0,
|
|
51736
52046
|
class: "pb-mode"
|
|
51737
|
-
},
|
|
52047
|
+
}, lQ = {
|
|
51738
52048
|
key: 0,
|
|
51739
52049
|
class: "pb-status-detail"
|
|
51740
|
-
},
|
|
52050
|
+
}, uQ = {
|
|
51741
52051
|
key: 1,
|
|
51742
52052
|
class: "pb-status-detail"
|
|
51743
|
-
},
|
|
52053
|
+
}, dQ = { class: "pb-error-detail" }, fQ = {
|
|
51744
52054
|
key: 3,
|
|
51745
52055
|
class: "pb-meters"
|
|
51746
|
-
},
|
|
52056
|
+
}, pQ = { class: "pb-meter-label" }, mQ = {
|
|
51747
52057
|
key: 0,
|
|
51748
52058
|
class: "pb-bar"
|
|
51749
|
-
},
|
|
52059
|
+
}, hQ = {
|
|
51750
52060
|
key: 1,
|
|
51751
52061
|
class: "pb-section",
|
|
51752
52062
|
"aria-label": "当前焦点"
|
|
51753
|
-
},
|
|
52063
|
+
}, gQ = {
|
|
51754
52064
|
class: "pb-section",
|
|
51755
52065
|
"aria-label": "发言顺序"
|
|
51756
|
-
},
|
|
52066
|
+
}, _Q = { class: "pb-heading" }, vQ = {
|
|
51757
52067
|
key: 0,
|
|
51758
52068
|
class: "pb-status-detail pb-held"
|
|
51759
|
-
},
|
|
52069
|
+
}, yQ = { class: "pb-member-body" }, bQ = { class: "pb-member-name" }, xQ = { class: "pb-member-body" }, SQ = { class: "pb-member-name" }, CQ = {
|
|
51760
52070
|
key: 0,
|
|
51761
52071
|
class: "pb-member-model",
|
|
51762
52072
|
title: "本场启动配置;默认模型与默认强度由对应软件决定"
|
|
51763
|
-
},
|
|
52073
|
+
}, wQ = {
|
|
51764
52074
|
key: 1,
|
|
51765
52075
|
class: "pb-member-model",
|
|
51766
52076
|
title: "续接你已有的会话;它工作时请不要在原窗口继续操作"
|
|
51767
|
-
},
|
|
52077
|
+
}, TQ = { key: 0 }, EQ = {
|
|
51768
52078
|
key: 3,
|
|
51769
52079
|
class: "pb-member-manual"
|
|
51770
|
-
},
|
|
52080
|
+
}, DQ = { key: 0 }, OQ = ["onClick"], kQ = {
|
|
51771
52081
|
key: 1,
|
|
51772
52082
|
role: "alert",
|
|
51773
52083
|
class: "pb-free-note is-error"
|
|
51774
|
-
},
|
|
52084
|
+
}, AQ = {
|
|
51775
52085
|
key: 2,
|
|
51776
52086
|
role: "status",
|
|
51777
52087
|
class: "pb-free-note"
|
|
51778
|
-
},
|
|
52088
|
+
}, jQ = {
|
|
51779
52089
|
key: 2,
|
|
51780
52090
|
class: "pb-actions",
|
|
51781
52091
|
"aria-label": "操作"
|
|
51782
|
-
},
|
|
52092
|
+
}, MQ = {
|
|
51783
52093
|
key: 3,
|
|
51784
52094
|
class: "pb-section",
|
|
51785
52095
|
"aria-label": "阶段耗时"
|
|
51786
|
-
},
|
|
52096
|
+
}, NQ = { class: "pb-timing-heading" }, PQ = ["aria-label"], FQ = { class: "pb-timing-totals" }, IQ = ["title"], LQ = { class: "pb-timings" }, RQ = { class: "pb-timing-who" }, zQ = { class: "pb-timing-stages" }, BQ = ["title"], VQ = {
|
|
51787
52097
|
key: 0,
|
|
51788
52098
|
class: "pb-note"
|
|
51789
|
-
},
|
|
52099
|
+
}, HQ = { class: "pb-connection" }, UQ = { class: "fine-print" }, WQ = {
|
|
51790
52100
|
key: 0,
|
|
51791
52101
|
role: "status",
|
|
51792
52102
|
class: "fine-print"
|
|
51793
|
-
},
|
|
52103
|
+
}, GQ = {
|
|
51794
52104
|
key: 2,
|
|
51795
52105
|
role: "alert",
|
|
51796
52106
|
class: "fine-print"
|
|
51797
|
-
},
|
|
52107
|
+
}, KQ = { key: 2 }, qQ = { class: "pb-invite-footer" }, JQ = { class: "progress-ending" }, YQ = ["disabled"], XQ = 2e3, ZQ = 90, QQ = 100, $Q = /*#__PURE__*/ XH({
|
|
51798
52108
|
__name: "ProgressBoard",
|
|
51799
52109
|
props: { docked: {
|
|
51800
52110
|
type: Boolean,
|
|
@@ -51805,7 +52115,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51805
52115
|
async function l(e) {
|
|
51806
52116
|
clearTimeout(c), s.value = "", await i("copy_member_launch", e) && (s.value = e, c = setTimeout(() => {
|
|
51807
52117
|
s.value = "";
|
|
51808
|
-
},
|
|
52118
|
+
}, XQ));
|
|
51809
52119
|
}
|
|
51810
52120
|
let u = /* @__PURE__ */ F(!1), d = /* @__PURE__ */ F(null), f = /* @__PURE__ */ F(!1), p = ["pending", "notified"], m = {
|
|
51811
52121
|
dispatched: "已交付,等待开始",
|
|
@@ -51837,7 +52147,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51837
52147
|
R(() => _.value.id, () => {
|
|
51838
52148
|
he.value = !1;
|
|
51839
52149
|
});
|
|
51840
|
-
let ge = Z(() => x.value?.question || _.value.focus || _.value.goal || ""), N = Z(() => ge.value.length >
|
|
52150
|
+
let ge = Z(() => x.value?.question || _.value.focus || _.value.goal || ""), N = Z(() => ge.value.length > ZQ), _e = Z(() => y.value.timings || {
|
|
51841
52151
|
items: [],
|
|
51842
52152
|
totals: {},
|
|
51843
52153
|
count: 0
|
|
@@ -51871,7 +52181,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51871
52181
|
};
|
|
51872
52182
|
let e = ce.value;
|
|
51873
52183
|
if (e) {
|
|
51874
|
-
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length >
|
|
52184
|
+
let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length > QQ ? `${n.slice(0, QQ)}…` : n;
|
|
51875
52185
|
return {
|
|
51876
52186
|
tone: "error",
|
|
51877
52187
|
title: "已暂停",
|
|
@@ -51946,7 +52256,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51946
52256
|
icon: "i-lucide-copy",
|
|
51947
52257
|
onSelect: () => i("copy", e.session)
|
|
51948
52258
|
}] : [];
|
|
51949
|
-
|
|
52259
|
+
n.value.access?.can_manage && t.push({
|
|
52260
|
+
label: "编辑描述",
|
|
52261
|
+
icon: "i-lucide-user-pen",
|
|
52262
|
+
onSelect: () => {
|
|
52263
|
+
Te.value = e.name;
|
|
52264
|
+
}
|
|
52265
|
+
}), pe(e.name)?.access === "manual" && t.push({
|
|
51950
52266
|
label: "复制启动指令(含凭证)",
|
|
51951
52267
|
icon: "i-lucide-rocket",
|
|
51952
52268
|
onSelect: () => i("copy_member_launch", e.name)
|
|
@@ -51954,7 +52270,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51954
52270
|
label: "切换 App / CLI",
|
|
51955
52271
|
icon: "i-lucide-arrow-left-right",
|
|
51956
52272
|
disabled: !!a.value,
|
|
51957
|
-
onSelect: () =>
|
|
52273
|
+
onSelect: () => ke(e)
|
|
51958
52274
|
});
|
|
51959
52275
|
let r = pe(e.name);
|
|
51960
52276
|
if (!r || e.is_host || w.value) return [t].filter((e) => e.length);
|
|
@@ -51974,21 +52290,30 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51974
52290
|
[o("移除", "i-lucide-trash-2", "remove", { color: "error" })]
|
|
51975
52291
|
].filter((e) => e.length);
|
|
51976
52292
|
}
|
|
51977
|
-
|
|
52293
|
+
let Te = /* @__PURE__ */ F(""), Ee = /* @__PURE__ */ F(!1);
|
|
52294
|
+
async function De({ text: e, as_template: t }) {
|
|
52295
|
+
Ee.value = !0;
|
|
52296
|
+
try {
|
|
52297
|
+
await r.describe_member(Te.value, e), t && r.save_description_template(Te.value, e), Te.value = "";
|
|
52298
|
+
} catch {} finally {
|
|
52299
|
+
Ee.value = !1;
|
|
52300
|
+
}
|
|
52301
|
+
}
|
|
52302
|
+
function Oe() {
|
|
51978
52303
|
he.value = !0;
|
|
51979
52304
|
}
|
|
51980
|
-
async function
|
|
52305
|
+
async function ke(e, t = "") {
|
|
51981
52306
|
d.value = {
|
|
51982
52307
|
room_id: _.value.id,
|
|
51983
52308
|
name: e.name,
|
|
51984
52309
|
prefer: t
|
|
51985
|
-
}, f.value = !1, y.value.status === "paused" && await
|
|
52310
|
+
}, f.value = !1, y.value.status === "paused" && await Ae();
|
|
51986
52311
|
}
|
|
51987
|
-
async function
|
|
52312
|
+
async function Ae() {
|
|
51988
52313
|
let e = d.value;
|
|
51989
52314
|
e && e.room_id === _.value.id && (y.value.status !== "running" || await i("pause_runtime")) && d.value === e && _.value.id === e.room_id && y.value.status === "paused" && (await i("load_room_configuration"), d.value === e && _.value.id === e.room_id && (f.value = !n.value.launch.repair_error && n.value.launch.repair?.room_id === e.room_id, f.value && e.prefer && ye.value?.adapter !== e.prefer && r.write_room_adapter(e.name, e.prefer)));
|
|
51990
52315
|
}
|
|
51991
|
-
let
|
|
52316
|
+
let je = Z(() => {
|
|
51992
52317
|
let e = _e.value.totals || {}, t = h.reduce((t, n) => t + (e[n.key] || 0), 0);
|
|
51993
52318
|
return h.map((n) => ({
|
|
51994
52319
|
...n,
|
|
@@ -51996,13 +52321,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
51996
52321
|
percent: t ? Math.round((e[n.key] || 0) / t * 100) : 0
|
|
51997
52322
|
}));
|
|
51998
52323
|
});
|
|
51999
|
-
function
|
|
52324
|
+
function Me(e) {
|
|
52000
52325
|
return e == null ? "—" : e < 60 ? `${e}秒` : e < 3600 ? `${Math.floor(e / 60)}分${String(e % 60).padStart(2, "0")}秒` : `${Math.floor(e / 3600)}小时${Math.floor(e % 3600 / 60)}分`;
|
|
52001
52326
|
}
|
|
52002
|
-
function
|
|
52327
|
+
function Ne() {
|
|
52003
52328
|
O.value = v.value.max_rounds || 0, ee.value = v.value.max_minutes || 0, E.value = !0;
|
|
52004
52329
|
}
|
|
52005
|
-
async function
|
|
52330
|
+
async function Pe() {
|
|
52006
52331
|
D.value?.settle();
|
|
52007
52332
|
let e = (e) => Number.isInteger(e) && e >= 0 ? e : 0;
|
|
52008
52333
|
await i("reopen_discussion", {
|
|
@@ -52010,24 +52335,24 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52010
52335
|
max_minutes: e(ee.value)
|
|
52011
52336
|
}) && (E.value = !1);
|
|
52012
52337
|
}
|
|
52013
|
-
async function
|
|
52338
|
+
async function Fe(e) {
|
|
52014
52339
|
await i(e) && (o.value = !1);
|
|
52015
52340
|
}
|
|
52016
52341
|
return (e, c) => {
|
|
52017
52342
|
let f = MA, p = sA, m = pA, v = CH, T = bH, k = zV, se = YH;
|
|
52018
52343
|
return U(), W("div", { class: M(["progress-board", { "is-docked": t.docked }]) }, [
|
|
52019
|
-
t.docked ? (U(), W("header",
|
|
52344
|
+
t.docked ? (U(), W("header", iQ, [c[19] ||= K("strong", null, "讨论进度", -1), K("span", aQ, P(b.value ? "全自动" : "手动"), 1)])) : Y("", !0),
|
|
52020
52345
|
K("section", {
|
|
52021
52346
|
class: M(["pb-status", `is-${be.value.tone}`]),
|
|
52022
52347
|
"aria-label": "讨论状态"
|
|
52023
52348
|
}, [
|
|
52024
|
-
K("div",
|
|
52025
|
-
c[
|
|
52026
|
-
K("strong",
|
|
52027
|
-
t.docked ? Y("", !0) : (U(), W("span",
|
|
52349
|
+
K("div", oQ, [
|
|
52350
|
+
c[20] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52351
|
+
K("strong", sQ, P(be.value.title), 1),
|
|
52352
|
+
t.docked ? Y("", !0) : (U(), W("span", cQ, P(b.value ? "全自动" : "手动"), 1))
|
|
52028
52353
|
]),
|
|
52029
|
-
be.value.detail ? (U(), W("p",
|
|
52030
|
-
be.value.full_detail ? (U(), W("details",
|
|
52354
|
+
be.value.detail ? (U(), W("p", lQ, P(be.value.detail), 1)) : Y("", !0),
|
|
52355
|
+
be.value.full_detail ? (U(), W("details", uQ, [c[21] ||= K("summary", null, "查看错误详情", -1), K("pre", dQ, P(be.value.full_detail), 1)])) : Y("", !0),
|
|
52031
52356
|
ue.value && I(n).launch.available && !I(n).launch.remote ? (U(), G(f, {
|
|
52032
52357
|
key: 2,
|
|
52033
52358
|
icon: "i-lucide-arrow-left-right",
|
|
@@ -52037,15 +52362,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52037
52362
|
variant: "outline",
|
|
52038
52363
|
title: "会话正被 Codex App 占用时,改由 App 接入,沿用原聊天和讨论进度",
|
|
52039
52364
|
disabled: !!I(a),
|
|
52040
|
-
onClick: c[0] ||= (e) =>
|
|
52365
|
+
onClick: c[0] ||= (e) => ke(ue.value, "codex")
|
|
52041
52366
|
}, null, 8, ["disabled"])) : Y("", !0),
|
|
52042
|
-
xe.value.length ? (U(), W("div",
|
|
52367
|
+
xe.value.length ? (U(), W("div", fQ, [(U(!0), W(H, null, B(xe.value, (e) => (U(), W("div", {
|
|
52043
52368
|
key: e.label,
|
|
52044
52369
|
class: "pb-meter"
|
|
52045
|
-
}, [K("div",
|
|
52370
|
+
}, [K("div", pQ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", mQ, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])) : Y("", !0)
|
|
52046
52371
|
], 2),
|
|
52047
|
-
ge.value ? (U(), W("section",
|
|
52048
|
-
c[
|
|
52372
|
+
ge.value ? (U(), W("section", hQ, [
|
|
52373
|
+
c[22] ||= K("h4", null, "当前焦点", -1),
|
|
52049
52374
|
K("p", { class: M(["pb-focus", { "is-expanded": u.value }]) }, P(ge.value), 3),
|
|
52050
52375
|
N.value ? (U(), W("button", {
|
|
52051
52376
|
key: 0,
|
|
@@ -52054,15 +52379,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52054
52379
|
onClick: c[1] ||= (e) => u.value = !u.value
|
|
52055
52380
|
}, P(u.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
52056
52381
|
])) : Y("", !0),
|
|
52057
|
-
K("section",
|
|
52058
|
-
K("div",
|
|
52382
|
+
K("section", gQ, [
|
|
52383
|
+
K("div", _Q, [c[24] ||= K("h4", null, "发言顺序", -1), me.value ? (U(), W("button", {
|
|
52059
52384
|
key: 0,
|
|
52060
52385
|
type: "button",
|
|
52061
52386
|
class: "pb-link",
|
|
52062
|
-
onClick:
|
|
52063
|
-
}, [q(p, { name: "i-lucide-plus" }), c[
|
|
52064
|
-
_.value.held_since && x.value && !S.value ? (U(), W("p",
|
|
52065
|
-
q(
|
|
52387
|
+
onClick: Oe
|
|
52388
|
+
}, [q(p, { name: "i-lucide-plus" }), c[23] ||= J("邀请", -1)])) : Y("", !0)]),
|
|
52389
|
+
_.value.held_since && x.value && !S.value ? (U(), W("p", vQ, "用户有新操作," + P(I(r).display_name(x.value.expert)) + " 说完后交给主持人", 1)) : Y("", !0),
|
|
52390
|
+
q(rQ, {
|
|
52066
52391
|
away: de.value.map((e) => e.name),
|
|
52067
52392
|
round: Se.value
|
|
52068
52393
|
}, {
|
|
@@ -52079,7 +52404,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52079
52404
|
"alt",
|
|
52080
52405
|
"class"
|
|
52081
52406
|
]),
|
|
52082
|
-
K("div",
|
|
52407
|
+
K("div", yQ, [K("div", bQ, [J(P(I(r).display_name(e.name)), 1), c[25] ||= K("small", null, "暂离", -1)]), c[26] ||= K("div", { class: "pb-member-status is-neutral" }, [K("span", { class: "pb-dot" }), J("保留位置和会话,不参与安排")], -1)]),
|
|
52083
52408
|
we({ name: e.name }).length ? (U(), G(v, {
|
|
52084
52409
|
key: 0,
|
|
52085
52410
|
items: we({ name: e.name }),
|
|
@@ -52109,8 +52434,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52109
52434
|
"alt",
|
|
52110
52435
|
"class"
|
|
52111
52436
|
]),
|
|
52112
|
-
K("div",
|
|
52113
|
-
K("div",
|
|
52437
|
+
K("div", xQ, [
|
|
52438
|
+
K("div", SQ, [
|
|
52114
52439
|
J(P(I(r).display_name(e.name)), 1),
|
|
52115
52440
|
e.is_host ? (U(), G(p, {
|
|
52116
52441
|
key: 0,
|
|
@@ -52119,22 +52444,22 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52119
52444
|
})) : Y("", !0),
|
|
52120
52445
|
K("small", null, P(e.is_host ? `主持 · ${e.mode}` : e.mode), 1)
|
|
52121
52446
|
]),
|
|
52122
|
-
e.model ? (U(), W("div",
|
|
52123
|
-
pe(e.name)?.session_mode === "borrowed" ? (U(), W("div",
|
|
52447
|
+
e.model ? (U(), W("div", CQ, P(e.model), 1)) : Y("", !0),
|
|
52448
|
+
pe(e.name)?.session_mode === "borrowed" ? (U(), W("div", wQ, "借用已有会话")) : Y("", !0),
|
|
52124
52449
|
w.value ? Y("", !0) : (U(), W("div", {
|
|
52125
52450
|
key: 2,
|
|
52126
52451
|
class: M(["pb-member-status", `is-${e.tone}`])
|
|
52127
52452
|
}, [
|
|
52128
|
-
c[
|
|
52453
|
+
c[27] ||= K("span", { class: "pb-dot" }, null, -1),
|
|
52129
52454
|
J(P(e.text), 1),
|
|
52130
|
-
e.failures ? (U(), W("small",
|
|
52455
|
+
e.failures ? (U(), W("small", TQ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
|
|
52131
52456
|
], 2)),
|
|
52132
|
-
e.manual && !w.value ? (U(), W("div",
|
|
52457
|
+
e.manual && !w.value ? (U(), W("div", EQ, [!pe(e.name)?.registered_at && !e.is_host ? (U(), W("span", DQ, "需在它的会话中注册,才算到场")) : Y("", !0), A.value ? (U(), W("button", {
|
|
52133
52458
|
key: 1,
|
|
52134
52459
|
type: "button",
|
|
52135
52460
|
class: "pb-link",
|
|
52136
52461
|
onClick: (t) => l(e.name)
|
|
52137
|
-
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8,
|
|
52462
|
+
}, [q(p, { name: s.value === e.name ? "i-lucide-check" : "i-lucide-rocket" }, null, 8, ["name"]), J(P(s.value === e.name ? "已复制" : "复制启动指令"), 1)], 8, OQ)) : Y("", !0)])) : Y("", !0)
|
|
52138
52463
|
]),
|
|
52139
52464
|
we(e).length ? (U(), G(v, {
|
|
52140
52465
|
key: 0,
|
|
@@ -52155,9 +52480,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52155
52480
|
], 64))), 128))]),
|
|
52156
52481
|
_: 1
|
|
52157
52482
|
}, 8, ["away", "round"]),
|
|
52158
|
-
!he.value && I(n).free_error && _.value.phase !== "paused" ? (U(), W("p",
|
|
52483
|
+
!he.value && I(n).free_error && _.value.phase !== "paused" ? (U(), W("p", kQ, P(I(n).free_error), 1)) : I(n).free_notice ? (U(), W("p", AQ, P(I(n).free_notice), 1)) : Y("", !0)
|
|
52159
52484
|
]),
|
|
52160
|
-
oe.value ? (U(), W("section",
|
|
52485
|
+
oe.value ? (U(), W("section", jQ, [
|
|
52161
52486
|
ne.value ? (U(), G(f, {
|
|
52162
52487
|
key: 0,
|
|
52163
52488
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -52211,7 +52536,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52211
52536
|
class: "pb-action pb-restart",
|
|
52212
52537
|
title: "保留全部记录,设定新的轮次与时长上限后继续讨论,需本机接入程序在运行",
|
|
52213
52538
|
disabled: !A.value || !!I(a),
|
|
52214
|
-
onClick:
|
|
52539
|
+
onClick: Ne
|
|
52215
52540
|
}, null, 8, ["disabled"])) : Y("", !0),
|
|
52216
52541
|
ae.value ? (U(), G(f, {
|
|
52217
52542
|
key: 4,
|
|
@@ -52239,28 +52564,28 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52239
52564
|
onClick: c[6] ||= (e) => o.value = !0
|
|
52240
52565
|
}, null, 8, ["disabled"])) : Y("", !0)
|
|
52241
52566
|
])) : Y("", !0),
|
|
52242
|
-
b.value && _e.value.count ? (U(), W("section",
|
|
52243
|
-
K("div",
|
|
52567
|
+
b.value && _e.value.count ? (U(), W("section", MQ, [
|
|
52568
|
+
K("div", NQ, [c[28] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(_e.value.count) + " 次执行", 1)]),
|
|
52244
52569
|
K("div", {
|
|
52245
52570
|
class: "pb-timing-bar",
|
|
52246
52571
|
role: "img",
|
|
52247
|
-
"aria-label":
|
|
52248
|
-
}, [(U(!0), W(H, null, B(
|
|
52572
|
+
"aria-label": je.value.map((e) => `${e.label} ${e.percent}%`).join(",")
|
|
52573
|
+
}, [(U(!0), W(H, null, B(je.value, (e) => (U(), W("i", {
|
|
52249
52574
|
key: e.key,
|
|
52250
52575
|
class: M(`is-${e.key}`),
|
|
52251
52576
|
style: fe({ width: `${e.percent}%` })
|
|
52252
|
-
}, null, 6))), 128))], 8,
|
|
52253
|
-
K("dl",
|
|
52577
|
+
}, null, 6))), 128))], 8, PQ),
|
|
52578
|
+
K("dl", FQ, [(U(!0), W(H, null, B(je.value, (e) => (U(), W("div", {
|
|
52254
52579
|
key: e.key,
|
|
52255
52580
|
title: e.hint
|
|
52256
|
-
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(
|
|
52257
|
-
K("details",
|
|
52258
|
-
c[
|
|
52259
|
-
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span",
|
|
52581
|
+
}, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(Me(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8, IQ))), 128))]),
|
|
52582
|
+
K("details", LQ, [
|
|
52583
|
+
c[29] ||= K("summary", null, "查看每次执行", -1),
|
|
52584
|
+
K("ol", null, [(U(!0), W(H, null, B(_e.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", RQ, [J("#" + P(e.id) + " " + P(I(r).display_name(e.participant)), 1), K("small", null, P(e.role === "host" ? "主持" : "专家") + " · " + P(g[e.status] || e.status), 1)]), K("span", zQ, [(U(), W(H, null, B(h, (t) => K("span", {
|
|
52260
52585
|
key: t.key,
|
|
52261
52586
|
title: t.hint
|
|
52262
|
-
}, P(t.label) + " " + P(
|
|
52263
|
-
_e.value.count > _e.value.items.length ? (U(), W("p",
|
|
52587
|
+
}, P(t.label) + " " + P(Me(e[t.key])), 9, BQ)), 64))])]))), 128))]),
|
|
52588
|
+
_e.value.count > _e.value.items.length ? (U(), W("p", VQ, "只列出最近 " + P(_e.value.items.length) + " 次,共 " + P(_e.value.count) + " 次执行。", 1)) : Y("", !0)
|
|
52264
52589
|
])
|
|
52265
52590
|
])) : Y("", !0),
|
|
52266
52591
|
q(se, {
|
|
@@ -52273,12 +52598,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52273
52598
|
body: "dialog-body"
|
|
52274
52599
|
}
|
|
52275
52600
|
}, {
|
|
52276
|
-
body: L(() => [K("div",
|
|
52601
|
+
body: L(() => [K("div", HQ, [y.value.status === "running" ? (U(), W(H, { key: 0 }, [c[30] ||= K("p", null, "切换前需要暂停讨论,当前执行会停止,原发言安排保留。", -1), q(f, {
|
|
52277
52602
|
label: "暂停并读取配置",
|
|
52278
52603
|
icon: "i-lucide-pause",
|
|
52279
52604
|
class: "channel-primary-button",
|
|
52280
52605
|
loading: !!I(a),
|
|
52281
|
-
onClick:
|
|
52606
|
+
onClick: Ae
|
|
52282
52607
|
}, null, 8, ["loading"])], 64)) : y.value.status === "paused" ? (U(), W(H, { key: 1 }, [ye.value ? (U(), W(H, { key: 0 }, [
|
|
52283
52608
|
q(k, { label: "接入方式" }, {
|
|
52284
52609
|
default: L(() => [q(T, {
|
|
@@ -52296,7 +52621,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52296
52621
|
}, null, 8, ["model-value", "disabled"])]),
|
|
52297
52622
|
_: 1
|
|
52298
52623
|
}),
|
|
52299
|
-
K("p",
|
|
52624
|
+
K("p", UQ, P(ye.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
|
|
52300
52625
|
q(f, {
|
|
52301
52626
|
label: "保存接入方式",
|
|
52302
52627
|
class: "channel-primary-button",
|
|
@@ -52304,7 +52629,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52304
52629
|
disabled: !!I(a),
|
|
52305
52630
|
onClick: c[8] ||= (e) => I(i)("save_room_configuration")
|
|
52306
52631
|
}, null, 8, ["loading", "disabled"]),
|
|
52307
|
-
I(n).launch.repair?.notice ? (U(), W("p",
|
|
52632
|
+
I(n).launch.repair?.notice ? (U(), W("p", WQ, P(I(n).launch.repair.notice), 1)) : Y("", !0),
|
|
52308
52633
|
I(n).launch.repair?.applied && ne.value ? (U(), G(f, {
|
|
52309
52634
|
key: 1,
|
|
52310
52635
|
label: "重启讨论",
|
|
@@ -52323,18 +52648,37 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52323
52648
|
variant: "outline",
|
|
52324
52649
|
color: "neutral",
|
|
52325
52650
|
loading: !!I(a),
|
|
52326
|
-
onClick:
|
|
52327
|
-
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p",
|
|
52651
|
+
onClick: Ae
|
|
52652
|
+
}, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p", GQ, P(I(n).launch.repair_error), 1)) : Y("", !0)], 64)) : (U(), W("p", KQ, "本场状态已变化,请关闭后重新核对。"))])]),
|
|
52328
52653
|
_: 1
|
|
52329
52654
|
}, 8, ["open"]),
|
|
52330
|
-
q(
|
|
52655
|
+
q(UZ, {
|
|
52331
52656
|
open: he.value,
|
|
52332
52657
|
"onUpdate:open": c[11] ||= (e) => he.value = e,
|
|
52333
52658
|
description: "新专家由程序按本机软件配置启动,或由你手动启动,加入本轮发言队列。"
|
|
52334
52659
|
}, null, 8, ["open"]),
|
|
52660
|
+
q(gJ, {
|
|
52661
|
+
open: !!Te.value,
|
|
52662
|
+
name: Te.value || " ",
|
|
52663
|
+
platform: Te.value ? I(r).platform_of(Te.value) : "",
|
|
52664
|
+
text: _.value.descriptions?.[Te.value] || "",
|
|
52665
|
+
template: Te.value ? I(r).description_template(Te.value) : "",
|
|
52666
|
+
saving: Ee.value,
|
|
52667
|
+
"onUpdate:open": c[12] ||= (e) => {
|
|
52668
|
+
e || (Te.value = "");
|
|
52669
|
+
},
|
|
52670
|
+
onSave: De
|
|
52671
|
+
}, null, 8, [
|
|
52672
|
+
"open",
|
|
52673
|
+
"name",
|
|
52674
|
+
"platform",
|
|
52675
|
+
"text",
|
|
52676
|
+
"template",
|
|
52677
|
+
"saving"
|
|
52678
|
+
]),
|
|
52335
52679
|
q(se, {
|
|
52336
52680
|
open: E.value,
|
|
52337
|
-
"onUpdate:open": c[
|
|
52681
|
+
"onUpdate:open": c[16] ||= (e) => E.value = e,
|
|
52338
52682
|
title: "重新开始讨论",
|
|
52339
52683
|
description: "保留全部记录和原结论,按新的上限继续。",
|
|
52340
52684
|
ui: {
|
|
@@ -52344,20 +52688,20 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52344
52688
|
}, {
|
|
52345
52689
|
body: L(() => [K("form", {
|
|
52346
52690
|
class: "pb-reopen",
|
|
52347
|
-
onSubmit: uu(
|
|
52691
|
+
onSubmit: uu(Pe, ["prevent"])
|
|
52348
52692
|
}, [q(bU, {
|
|
52349
52693
|
ref_key: "reopen_limits",
|
|
52350
52694
|
ref: D,
|
|
52351
52695
|
rounds: O.value,
|
|
52352
|
-
"onUpdate:rounds": c[
|
|
52696
|
+
"onUpdate:rounds": c[13] ||= (e) => O.value = e,
|
|
52353
52697
|
minutes: ee.value,
|
|
52354
|
-
"onUpdate:minutes": c[
|
|
52698
|
+
"onUpdate:minutes": c[14] ||= (e) => ee.value = e,
|
|
52355
52699
|
execution: !1
|
|
52356
|
-
}, null, 8, ["rounds", "minutes"]), K("div",
|
|
52700
|
+
}, null, 8, ["rounds", "minutes"]), K("div", qQ, [q(f, {
|
|
52357
52701
|
label: "取消",
|
|
52358
52702
|
color: "neutral",
|
|
52359
52703
|
variant: "ghost",
|
|
52360
|
-
onClick: c[
|
|
52704
|
+
onClick: c[15] ||= (e) => E.value = !1
|
|
52361
52705
|
}), q(f, {
|
|
52362
52706
|
type: "submit",
|
|
52363
52707
|
icon: "i-lucide-rotate-ccw",
|
|
@@ -52370,7 +52714,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52370
52714
|
}, 8, ["open"]),
|
|
52371
52715
|
q(se, {
|
|
52372
52716
|
open: o.value,
|
|
52373
|
-
"onUpdate:open": c[
|
|
52717
|
+
"onUpdate:open": c[18] ||= (e) => o.value = e,
|
|
52374
52718
|
title: "结束讨论",
|
|
52375
52719
|
description: "当前发言安排会被取消,已有消息全部保留。",
|
|
52376
52720
|
ui: {
|
|
@@ -52378,18 +52722,18 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52378
52722
|
body: "dialog-body"
|
|
52379
52723
|
}
|
|
52380
52724
|
}, {
|
|
52381
|
-
body: L(() => [K("div",
|
|
52725
|
+
body: L(() => [K("div", JQ, [K("button", {
|
|
52382
52726
|
type: "button",
|
|
52383
52727
|
class: "progress-ending-option",
|
|
52384
52728
|
disabled: C.value || !!I(a),
|
|
52385
|
-
onClick: c[
|
|
52386
|
-
}, [...c[
|
|
52729
|
+
onClick: c[17] ||= (e) => Fe("end_room_discussion")
|
|
52730
|
+
}, [...c[31] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,自动运行随之停止,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8, YQ)])]),
|
|
52387
52731
|
_: 1
|
|
52388
52732
|
}, 8, ["open"])
|
|
52389
52733
|
], 2);
|
|
52390
52734
|
};
|
|
52391
52735
|
}
|
|
52392
|
-
}, [["__scopeId", "data-v-
|
|
52736
|
+
}, [["__scopeId", "data-v-a01e3534"]]), e$ = { class: "progress-panel-anchor" }, t$ = ["aria-expanded", "aria-label"], n$ = { class: "progress-chip-text" }, r$ = { class: "progress-chip-rounds" }, i$ = {
|
|
52393
52737
|
__name: "ProgressPanel",
|
|
52394
52738
|
setup(e) {
|
|
52395
52739
|
let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
|
|
@@ -52416,7 +52760,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52416
52760
|
}), s = Z(() => a.value.round_cap || a.value.max_rounds ? n.limit_rounds(a.value).text.replace(" / ", "/") : n.progress_round(i.value)), c = Z(() => `${o.value.title} · ${s.value}`);
|
|
52417
52761
|
return (e, t) => {
|
|
52418
52762
|
let n = $V, a = NV;
|
|
52419
|
-
return U(), W("div",
|
|
52763
|
+
return U(), W("div", e$, [q(n, { text: "查看讨论进度" }, {
|
|
52420
52764
|
default: L(() => [K("button", {
|
|
52421
52765
|
type: "button",
|
|
52422
52766
|
class: M(["progress-chip", `is-${o.value.tone}`]),
|
|
@@ -52424,7 +52768,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52424
52768
|
"aria-expanded": r.value,
|
|
52425
52769
|
"aria-label": `查看讨论进度:${c.value}`,
|
|
52426
52770
|
onClick: t[0] ||= (e) => r.value = !0
|
|
52427
|
-
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span",
|
|
52771
|
+
}, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", n$, [J(P(o.value.title), 1), K("span", r$, " · " + P(s.value), 1)])], 10, t$)]),
|
|
52428
52772
|
_: 1
|
|
52429
52773
|
}), q(a, {
|
|
52430
52774
|
open: r.value,
|
|
@@ -52437,12 +52781,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52437
52781
|
body: "progress-drawer-body"
|
|
52438
52782
|
}
|
|
52439
52783
|
}, {
|
|
52440
|
-
body: L(() => [q(
|
|
52784
|
+
body: L(() => [q($Q)]),
|
|
52441
52785
|
_: 1
|
|
52442
52786
|
}, 8, ["open", "description"])]);
|
|
52443
52787
|
};
|
|
52444
52788
|
}
|
|
52445
|
-
},
|
|
52789
|
+
}, a$ = { class: "start-discussion-footer" }, o$ = 3, s$ = /*#__PURE__*/ XH({
|
|
52446
52790
|
__name: "StartDiscussionDialog",
|
|
52447
52791
|
props: {
|
|
52448
52792
|
open: {
|
|
@@ -52453,9 +52797,9 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52453
52797
|
},
|
|
52454
52798
|
emits: ["update:open"],
|
|
52455
52799
|
setup(e) {
|
|
52456
|
-
let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(
|
|
52800
|
+
let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(o$), s = /* @__PURE__ */ F(0), c = /* @__PURE__ */ F(""), l = /* @__PURE__ */ F(!1), u = /* @__PURE__ */ F(null);
|
|
52457
52801
|
R(t, (e) => {
|
|
52458
|
-
e && (a.value = "", o.value =
|
|
52802
|
+
e && (a.value = "", o.value = o$, s.value = 0, c.value = "", l.value = !1);
|
|
52459
52803
|
});
|
|
52460
52804
|
async function d() {
|
|
52461
52805
|
u.value?.settle();
|
|
@@ -52523,7 +52867,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52523
52867
|
"minutes",
|
|
52524
52868
|
"execution_minutes"
|
|
52525
52869
|
]),
|
|
52526
|
-
K("div",
|
|
52870
|
+
K("div", a$, [q(h, {
|
|
52527
52871
|
label: "取消",
|
|
52528
52872
|
color: "neutral",
|
|
52529
52873
|
variant: "ghost",
|
|
@@ -52541,58 +52885,58 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52541
52885
|
}, 8, ["open"]);
|
|
52542
52886
|
};
|
|
52543
52887
|
}
|
|
52544
|
-
}, [["__scopeId", "data-v-dee972d6"]]),
|
|
52888
|
+
}, [["__scopeId", "data-v-dee972d6"]]), c$ = { class: "progress-board is-docked" }, l$ = { class: "pb-header" }, u$ = { class: "pb-mode" }, d$ = { class: "pb-status-line" }, f$ = { role: "status" }, p$ = {
|
|
52545
52889
|
key: 0,
|
|
52546
52890
|
class: "pb-status-detail"
|
|
52547
|
-
},
|
|
52891
|
+
}, m$ = { class: "pb-meters" }, h$ = { class: "pb-meter-label" }, g$ = {
|
|
52548
52892
|
key: 0,
|
|
52549
52893
|
class: "pb-bar"
|
|
52550
|
-
},
|
|
52894
|
+
}, _$ = {
|
|
52551
52895
|
key: 0,
|
|
52552
52896
|
class: "pb-section",
|
|
52553
52897
|
"aria-label": "当前任务"
|
|
52554
|
-
},
|
|
52898
|
+
}, v$ = {
|
|
52555
52899
|
class: "pb-section",
|
|
52556
52900
|
"aria-label": "发言顺序"
|
|
52557
|
-
},
|
|
52901
|
+
}, y$ = { class: "pb-member-body" }, b$ = ["title"], x$ = {
|
|
52558
52902
|
key: 0,
|
|
52559
52903
|
class: "pb-member-model"
|
|
52560
|
-
},
|
|
52904
|
+
}, S$ = {
|
|
52561
52905
|
key: 1,
|
|
52562
52906
|
class: "pb-member-model",
|
|
52563
52907
|
title: "它工作时请不要在原窗口继续操作"
|
|
52564
|
-
},
|
|
52908
|
+
}, C$ = ["title"], w$ = {
|
|
52565
52909
|
key: 0,
|
|
52566
52910
|
role: "alert",
|
|
52567
52911
|
class: "pb-free-note is-error"
|
|
52568
|
-
},
|
|
52912
|
+
}, T$ = {
|
|
52569
52913
|
key: 1,
|
|
52570
52914
|
role: "status",
|
|
52571
52915
|
class: "pb-free-note"
|
|
52572
|
-
},
|
|
52916
|
+
}, E$ = {
|
|
52573
52917
|
key: 2,
|
|
52574
52918
|
role: "alert",
|
|
52575
52919
|
class: "pb-free-note is-error"
|
|
52576
|
-
},
|
|
52920
|
+
}, D$ = {
|
|
52577
52921
|
key: 3,
|
|
52578
52922
|
role: "status",
|
|
52579
52923
|
class: "pb-free-note"
|
|
52580
|
-
},
|
|
52924
|
+
}, O$ = {
|
|
52581
52925
|
key: 1,
|
|
52582
52926
|
class: "pb-section",
|
|
52583
52927
|
"aria-label": "头脑风暴"
|
|
52584
|
-
},
|
|
52928
|
+
}, k$ = ["onClick"], A$ = {
|
|
52585
52929
|
key: 2,
|
|
52586
52930
|
class: "pb-actions",
|
|
52587
52931
|
"aria-label": "操作"
|
|
52588
|
-
},
|
|
52932
|
+
}, j$ = {
|
|
52589
52933
|
key: 0,
|
|
52590
52934
|
class: "pb-free-note"
|
|
52591
|
-
},
|
|
52935
|
+
}, M$ = {
|
|
52592
52936
|
key: 3,
|
|
52593
52937
|
class: "pb-section",
|
|
52594
52938
|
"aria-label": "执行耗时"
|
|
52595
|
-
},
|
|
52939
|
+
}, N$ = { class: "pb-timing-heading" }, P$ = { class: "pb-timings" }, F$ = { class: "pb-timing-who" }, I$ = { class: "pb-timing-stages" }, L$ = 90, R$ = /*#__PURE__*/ XH({
|
|
52596
52940
|
__name: "FreeBoard",
|
|
52597
52941
|
setup(e) {
|
|
52598
52942
|
let { view: t, bridge: n, act: r, pending: i } = xr("discussion"), a = ["dispatched", "started"], o = {
|
|
@@ -52701,6 +53045,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52701
53045
|
disabled: !i?.can_manage || !a,
|
|
52702
53046
|
onSelect: () => r("copy_member_launch", e.name)
|
|
52703
53047
|
}] : [],
|
|
53048
|
+
{
|
|
53049
|
+
label: "编辑描述",
|
|
53050
|
+
icon: "i-lucide-user-pen",
|
|
53051
|
+
disabled: !i?.can_manage,
|
|
53052
|
+
onSelect: () => {
|
|
53053
|
+
D.value = e.name;
|
|
53054
|
+
}
|
|
53055
|
+
},
|
|
52704
53056
|
{
|
|
52705
53057
|
label: "复制参与说明",
|
|
52706
53058
|
icon: "i-lucide-copy",
|
|
@@ -52739,41 +53091,49 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52739
53091
|
}]
|
|
52740
53092
|
];
|
|
52741
53093
|
}
|
|
52742
|
-
let E = /* @__PURE__ */ F(!1);
|
|
53094
|
+
let E = /* @__PURE__ */ F(!1), D = /* @__PURE__ */ F(""), O = /* @__PURE__ */ F(!1);
|
|
52743
53095
|
R(() => c.value.id, () => {
|
|
52744
|
-
E.value = !1;
|
|
53096
|
+
E.value = !1, D.value = "";
|
|
52745
53097
|
});
|
|
52746
|
-
|
|
53098
|
+
async function ee({ text: e, as_template: t }) {
|
|
53099
|
+
O.value = !0;
|
|
53100
|
+
try {
|
|
53101
|
+
await n.describe_member(D.value, e), t && n.save_description_template(D.value, e), D.value = "";
|
|
53102
|
+
} catch {} finally {
|
|
53103
|
+
O.value = !1;
|
|
53104
|
+
}
|
|
53105
|
+
}
|
|
53106
|
+
let k = /* @__PURE__ */ F(!1), te = Z(() => !!(u.value && u.value.access === "runner") && t.value.launch.available);
|
|
52747
53107
|
return R(() => c.value.id, () => {
|
|
52748
|
-
|
|
53108
|
+
k.value = !1;
|
|
52749
53109
|
}), (e, i) => {
|
|
52750
|
-
let a = pA, p = sA, h = MA,
|
|
52751
|
-
return U(), W("div",
|
|
52752
|
-
K("header",
|
|
53110
|
+
let a = pA, p = sA, h = MA, ne = CH;
|
|
53111
|
+
return U(), W("div", c$, [
|
|
53112
|
+
K("header", l$, [i[6] ||= K("strong", null, "自由协作", -1), K("span", u$, P(u.value ? `${I(n).display_name(u.value.name)} 主持` : "无主持人"), 1)]),
|
|
52753
53113
|
K("section", {
|
|
52754
53114
|
class: M(["pb-status", `is-${y.value.tone}`]),
|
|
52755
53115
|
"aria-label": "房间状态"
|
|
52756
53116
|
}, [
|
|
52757
|
-
K("div",
|
|
52758
|
-
y.value.detail ? (U(), W("p",
|
|
52759
|
-
K("div",
|
|
53117
|
+
K("div", d$, [i[7] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", f$, P(y.value.title), 1)]),
|
|
53118
|
+
y.value.detail ? (U(), W("p", p$, P(y.value.detail), 1)) : Y("", !0),
|
|
53119
|
+
K("div", m$, [(U(!0), W(H, null, B(b.value, (e) => (U(), W("div", {
|
|
52760
53120
|
key: e.label,
|
|
52761
53121
|
class: "pb-meter"
|
|
52762
|
-
}, [K("div",
|
|
53122
|
+
}, [K("div", h$, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", g$, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
|
|
52763
53123
|
], 2),
|
|
52764
|
-
x.value ? (U(), W("section",
|
|
52765
|
-
i[
|
|
53124
|
+
x.value ? (U(), W("section", _$, [
|
|
53125
|
+
i[8] ||= K("h4", null, "当前任务", -1),
|
|
52766
53126
|
K("p", { class: M(["pb-focus", { "is-expanded": S.value }]) }, P(x.value), 3),
|
|
52767
|
-
x.value.length >
|
|
53127
|
+
x.value.length > L$ ? (U(), W("button", {
|
|
52768
53128
|
key: 0,
|
|
52769
53129
|
type: "button",
|
|
52770
53130
|
class: "pb-link",
|
|
52771
53131
|
onClick: i[0] ||= (e) => S.value = !S.value
|
|
52772
53132
|
}, P(S.value ? "收起" : "展开"), 1)) : Y("", !0)
|
|
52773
53133
|
])) : Y("", !0),
|
|
52774
|
-
K("section",
|
|
52775
|
-
i[
|
|
52776
|
-
q(
|
|
53134
|
+
K("section", v$, [
|
|
53135
|
+
i[10] ||= K("h4", null, "发言顺序", -1),
|
|
53136
|
+
q(rQ, { away: f.value }, {
|
|
52777
53137
|
default: L(({ item: e }) => [(U(!0), W(H, null, B([d(e.name)].filter(Boolean), (t) => (U(), W(H, { key: t.id }, [
|
|
52778
53138
|
q(a, {
|
|
52779
53139
|
src: I(n).identities[t.name]?.icon,
|
|
@@ -52787,8 +53147,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52787
53147
|
"alt",
|
|
52788
53148
|
"class"
|
|
52789
53149
|
]),
|
|
52790
|
-
K("div",
|
|
52791
|
-
K("div",
|
|
53150
|
+
K("div", y$, [
|
|
53151
|
+
K("div", {
|
|
53152
|
+
class: "pb-member-name",
|
|
53153
|
+
title: c.value.descriptions?.[t.name] || void 0
|
|
53154
|
+
}, [
|
|
52792
53155
|
J(P(I(n).display_name(t.name)), 1),
|
|
52793
53156
|
t.role === "host" ? (U(), G(p, {
|
|
52794
53157
|
key: 0,
|
|
@@ -52796,15 +53159,15 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52796
53159
|
title: "主持人"
|
|
52797
53160
|
})) : Y("", !0),
|
|
52798
53161
|
K("small", null, P(t.role === "host" ? `主持 · ${s[t.access]}` : s[t.access]), 1)
|
|
52799
|
-
]),
|
|
52800
|
-
v(t) ? (U(), W("div",
|
|
52801
|
-
t.session_mode === "borrowed" ? (U(), W("div",
|
|
52802
|
-
K("div", { class: M(["pb-member-status", `is-${g(t)}`]) }, [i[
|
|
53162
|
+
], 8, b$),
|
|
53163
|
+
v(t) ? (U(), W("div", x$, P(v(t)), 1)) : Y("", !0),
|
|
53164
|
+
t.session_mode === "borrowed" ? (U(), W("div", S$, "借用已有会话")) : Y("", !0),
|
|
53165
|
+
K("div", { class: M(["pb-member-status", `is-${g(t)}`]) }, [i[9] ||= K("span", { class: "pb-dot" }, null, -1), K("span", {
|
|
52803
53166
|
class: "pb-member-status-text",
|
|
52804
53167
|
title: t.execution?.status === "failed" ? t.execution.result : void 0
|
|
52805
|
-
}, P(_(t, e.state)), 9,
|
|
53168
|
+
}, P(_(t, e.state)), 9, C$)], 2)
|
|
52806
53169
|
]),
|
|
52807
|
-
q(
|
|
53170
|
+
q(ne, {
|
|
52808
53171
|
items: T(t),
|
|
52809
53172
|
content: { align: "end" },
|
|
52810
53173
|
ui: { content: "channel-menu" }
|
|
@@ -52826,8 +53189,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52826
53189
|
key: e.executions.join("-"),
|
|
52827
53190
|
class: "pb-free-note is-warning"
|
|
52828
53191
|
}, "可能冲突:" + P(e.members.map((e) => I(n).display_name(e)).join(" 与 ")) + " 的重叠执行观察到 " + P(e.files.join("、")) + " 变化;修改者未确认。", 1))), 128)),
|
|
52829
|
-
I(t).free_error ? (U(), W("p",
|
|
52830
|
-
I(t).access?.error ? (U(), W("p",
|
|
53192
|
+
I(t).free_error ? (U(), W("p", w$, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", T$, P(I(t).free_notice), 1)) : Y("", !0),
|
|
53193
|
+
I(t).access?.error ? (U(), W("p", E$, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", D$, P(I(t).access.notice), 1)) : Y("", !0),
|
|
52831
53194
|
c.value.archived ? Y("", !0) : (U(), G(h, {
|
|
52832
53195
|
key: 4,
|
|
52833
53196
|
icon: "i-lucide-plus",
|
|
@@ -52839,13 +53202,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52839
53202
|
onClick: i[1] ||= (e) => E.value = !0
|
|
52840
53203
|
}))
|
|
52841
53204
|
]),
|
|
52842
|
-
c.value.linked_rooms?.length ? (U(), W("section",
|
|
53205
|
+
c.value.linked_rooms?.length ? (U(), W("section", O$, [i[11] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(c.value.linked_rooms, (e) => (U(), W("button", {
|
|
52843
53206
|
key: e.id,
|
|
52844
53207
|
type: "button",
|
|
52845
53208
|
class: "pb-link pb-free-linked",
|
|
52846
53209
|
onClick: (t) => I(r)("room", e.id)
|
|
52847
|
-
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8,
|
|
52848
|
-
c.value.archived ? Y("", !0) : (U(), W("section",
|
|
53210
|
+
}, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, k$))), 128))])) : Y("", !0),
|
|
53211
|
+
c.value.archived ? Y("", !0) : (U(), W("section", A$, [q(h, {
|
|
52849
53212
|
icon: "i-lucide-messages-square",
|
|
52850
53213
|
label: "开启讨论",
|
|
52851
53214
|
size: "sm",
|
|
@@ -52853,63 +53216,82 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52853
53216
|
variant: "outline",
|
|
52854
53217
|
class: "pb-action pb-action-block pb-restart",
|
|
52855
53218
|
title: "由主持人推进成员轮流发言,到上限或结束后房间回到自由协作",
|
|
52856
|
-
disabled: !
|
|
52857
|
-
onClick: i[2] ||= (e) =>
|
|
52858
|
-
}, null, 8, ["disabled"]),
|
|
52859
|
-
C.value.items.length ? (U(), W("section",
|
|
52860
|
-
q(
|
|
52861
|
-
open:
|
|
52862
|
-
"onUpdate:open": i[3] ||= (e) =>
|
|
53219
|
+
disabled: !te.value,
|
|
53220
|
+
onClick: i[2] ||= (e) => k.value = !0
|
|
53221
|
+
}, null, 8, ["disabled"]), te.value ? Y("", !0) : (U(), W("p", j$, "开启讨论需要一位由本机唤醒的 AI 主持人。"))])),
|
|
53222
|
+
C.value.items.length ? (U(), W("section", M$, [K("div", N$, [i[12] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(C.value.items.length) + " 次执行 · " + P(w(C.value.total)), 1)]), K("details", P$, [i[13] ||= K("summary", null, "查看每次执行", -1), K("ol", null, [(U(!0), W(H, null, B(C.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", F$, [J("#" + P(e.id) + " " + P(m(e.member_id)), 1), K("small", null, P(o[e.status] || e.status), 1)]), K("span", I$, [K("span", null, "用时 " + P(w(e.seconds)), 1)])]))), 128))])])])) : Y("", !0),
|
|
53223
|
+
q(s$, {
|
|
53224
|
+
open: k.value,
|
|
53225
|
+
"onUpdate:open": i[3] ||= (e) => k.value = e
|
|
52863
53226
|
}, null, 8, ["open"]),
|
|
52864
|
-
q(
|
|
53227
|
+
q(UZ, {
|
|
52865
53228
|
open: E.value,
|
|
52866
53229
|
"onUpdate:open": i[4] ||= (e) => E.value = e,
|
|
52867
53230
|
description: "新成员加入后不打断其他成员;点卡片翻面可设置软件、模型、项目权限和要续接的已有会话。"
|
|
52868
|
-
}, null, 8, ["open"])
|
|
53231
|
+
}, null, 8, ["open"]),
|
|
53232
|
+
q(gJ, {
|
|
53233
|
+
open: !!D.value,
|
|
53234
|
+
name: D.value || " ",
|
|
53235
|
+
platform: D.value ? I(n).platform_of(D.value) : "",
|
|
53236
|
+
text: c.value.descriptions?.[D.value] || "",
|
|
53237
|
+
template: D.value ? I(n).description_template(D.value) : "",
|
|
53238
|
+
saving: O.value,
|
|
53239
|
+
"onUpdate:open": i[5] ||= (e) => {
|
|
53240
|
+
e || (D.value = "");
|
|
53241
|
+
},
|
|
53242
|
+
onSave: ee
|
|
53243
|
+
}, null, 8, [
|
|
53244
|
+
"open",
|
|
53245
|
+
"name",
|
|
53246
|
+
"platform",
|
|
53247
|
+
"text",
|
|
53248
|
+
"template",
|
|
53249
|
+
"saving"
|
|
53250
|
+
])
|
|
52869
53251
|
]);
|
|
52870
53252
|
};
|
|
52871
53253
|
}
|
|
52872
|
-
}, [["__scopeId", "data-v-
|
|
53254
|
+
}, [["__scopeId", "data-v-776a1930"]]), z$ = {
|
|
52873
53255
|
id: "channel-sidebar",
|
|
52874
53256
|
class: "channel-sidebar",
|
|
52875
53257
|
"aria-label": "房间导航"
|
|
52876
|
-
},
|
|
53258
|
+
}, B$ = { class: "channel-sidebar-content" }, V$ = { class: "channel-directory-heading channel-tools-heading" }, H$ = ["aria-expanded"], U$ = { class: "channel-sidebar-footer" }, W$ = ["aria-label"], G$ = { class: "channel-self" }, K$ = ["title"], q$ = [
|
|
52877
53259
|
"aria-valuemax",
|
|
52878
53260
|
"aria-valuenow",
|
|
52879
53261
|
"aria-valuetext"
|
|
52880
|
-
],
|
|
53262
|
+
], J$ = { class: "channel-main" }, Y$ = { class: "channel-header" }, X$ = { class: "channel-title-icon" }, Z$ = { class: "channel-title" }, Q$ = { class: "channel-title-copy" }, $$ = ["title"], e1 = {
|
|
52881
53263
|
key: 0,
|
|
52882
53264
|
class: "channel-header-context"
|
|
52883
|
-
},
|
|
53265
|
+
}, t1 = { class: "channel-header-actions" }, n1 = {
|
|
52884
53266
|
key: 0,
|
|
52885
53267
|
class: "channel-launch-recovery",
|
|
52886
53268
|
"aria-label": "未完成的创建或启动请求"
|
|
52887
|
-
},
|
|
53269
|
+
}, r1 = { role: "status" }, i1 = { class: "button-row" }, a1 = {
|
|
52888
53270
|
key: 1,
|
|
52889
53271
|
class: "channel-tabbar"
|
|
52890
|
-
},
|
|
53272
|
+
}, o1 = { class: "channel-brief-inner" }, s1 = { class: "channel-brief-heading" }, c1 = ["aria-label", "aria-expanded"], l1 = {
|
|
52891
53273
|
key: 0,
|
|
52892
53274
|
class: "channel-brief-preview"
|
|
52893
|
-
},
|
|
53275
|
+
}, u1 = {
|
|
52894
53276
|
id: "channel-brief-content",
|
|
52895
53277
|
class: "channel-brief-content"
|
|
52896
|
-
},
|
|
53278
|
+
}, d1 = ["innerHTML"], f1 = { class: "channel-brief-footer" }, p1 = { class: "channel-brief-status" }, m1 = { class: "channel-content" }, h1 = {
|
|
52897
53279
|
key: 0,
|
|
52898
53280
|
class: "content-page channel-summary",
|
|
52899
53281
|
role: "tabpanel",
|
|
52900
53282
|
"aria-label": "共识"
|
|
52901
|
-
},
|
|
53283
|
+
}, g1 = { class: "page-heading" }, _1 = { class: "form-footer" }, v1 = {
|
|
52902
53284
|
key: 1,
|
|
52903
53285
|
class: "channel-empty"
|
|
52904
|
-
},
|
|
53286
|
+
}, y1 = ["aria-valuenow", "aria-valuetext"], b1 = {
|
|
52905
53287
|
key: 2,
|
|
52906
53288
|
id: "channel-member-rail",
|
|
52907
53289
|
class: "channel-member-rail",
|
|
52908
53290
|
"aria-label": "当前焦点与讨论进度"
|
|
52909
|
-
},
|
|
53291
|
+
}, x1 = { class: "channel-rail-board" }, S1 = {
|
|
52910
53292
|
key: 2,
|
|
52911
53293
|
class: "progress-board is-docked"
|
|
52912
|
-
},
|
|
53294
|
+
}, C1 = { class: "channel-detail-title" }, w1 = { class: "info-section" }, T1 = "ai-codiscuss-channel-layout", E1 = 220, D1 = 440, O1 = 280, k1 = 16, A1 = 180, j1 = 400, M1 = 248, N1 = 16, P1 = 480, F1 = 1200, I1 = 0, L1 = {
|
|
52913
53295
|
__name: "ChannelWorkspace",
|
|
52914
53296
|
setup(e) {
|
|
52915
53297
|
let { view: t, bridge: n, field: r, act: i, pending: a } = xr("discussion"), o = Z(() => t.value.room), s = /* @__PURE__ */ F(""), c = /* @__PURE__ */ F(null), l = /* @__PURE__ */ F(null), u = /* @__PURE__ */ F(null), d = /* @__PURE__ */ F(!1), f = /* @__PURE__ */ F(!0), p = /* @__PURE__ */ F(!1), m = r("state-input"), h = r("brief-input"), g = r("search-input"), _ = r("author-select"), v = [{
|
|
@@ -52931,14 +53313,14 @@ var hU = /*#__PURE__*/ XH({
|
|
|
52931
53313
|
label: "宽",
|
|
52932
53314
|
width: 1240
|
|
52933
53315
|
}
|
|
52934
|
-
}, b = Te(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), ee = Z(() => T.value >=
|
|
53316
|
+
}, b = Te(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), ee = Z(() => T.value >= F1), k = Z(() => t.value.tab === "discussion" && !O.value), te = Z(() => ee.value && t.value.tab === "discussion" ? O.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), ne = Z(() => {
|
|
52935
53317
|
let e = document.createElement("template");
|
|
52936
53318
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
52937
|
-
}), re = /* @__PURE__ */ F(null), ie = /* @__PURE__ */ F(0), A = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(
|
|
53319
|
+
}), re = /* @__PURE__ */ F(null), ie = /* @__PURE__ */ F(0), A = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(j1, Math.max(A1, T.value - P1 - I1))), se = Z(() => Math.min(w.value, oe.value)), ce = Z(() => ({
|
|
52938
53320
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
52939
53321
|
"--channel-rail-width": `${C.value}px`,
|
|
52940
53322
|
"--channel-topbar-height": `${ie.value}px`,
|
|
52941
|
-
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${
|
|
53323
|
+
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${I1}px minmax(0, 1fr)`
|
|
52942
53324
|
})), le = Object.entries(y).map(([e, t]) => ({
|
|
52943
53325
|
value: e,
|
|
52944
53326
|
label: t.label
|
|
@@ -53021,12 +53403,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53021
53403
|
}
|
|
53022
53404
|
function Te() {
|
|
53023
53405
|
try {
|
|
53024
|
-
let e = JSON.parse(localStorage.getItem(
|
|
53406
|
+
let e = JSON.parse(localStorage.getItem(T1)) || {};
|
|
53025
53407
|
return {
|
|
53026
53408
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
53027
53409
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
53028
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
53029
|
-
nav: Number.isFinite(e.nav) ? Math.min(
|
|
53410
|
+
rail: Number.isFinite(e.rail) ? Math.min(D1, Math.max(E1, e.rail)) : O1,
|
|
53411
|
+
nav: Number.isFinite(e.nav) ? Math.min(j1, Math.max(A1, e.nav)) : Ee(),
|
|
53030
53412
|
collapsed: e.collapsed === !0,
|
|
53031
53413
|
brief_collapsed: e.brief_collapsed === !0,
|
|
53032
53414
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -53035,7 +53417,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53035
53417
|
return {
|
|
53036
53418
|
reading: "default",
|
|
53037
53419
|
effects: "full",
|
|
53038
|
-
rail:
|
|
53420
|
+
rail: O1,
|
|
53039
53421
|
nav: Ee(),
|
|
53040
53422
|
collapsed: !1,
|
|
53041
53423
|
brief_collapsed: !1,
|
|
@@ -53044,11 +53426,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53044
53426
|
}
|
|
53045
53427
|
}
|
|
53046
53428
|
function Ee() {
|
|
53047
|
-
return typeof window > "u" ?
|
|
53429
|
+
return typeof window > "u" ? M1 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : M1;
|
|
53048
53430
|
}
|
|
53049
53431
|
function De() {
|
|
53050
53432
|
try {
|
|
53051
|
-
localStorage.setItem(
|
|
53433
|
+
localStorage.setItem(T1, JSON.stringify({
|
|
53052
53434
|
reading: x.value,
|
|
53053
53435
|
effects: S.value,
|
|
53054
53436
|
rail: C.value,
|
|
@@ -53079,19 +53461,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53079
53461
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53080
53462
|
}
|
|
53081
53463
|
function Ne(e) {
|
|
53082
|
-
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(
|
|
53464
|
+
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(D1, Math.max(E1, j.value.width + j.value.x - e.clientX))));
|
|
53083
53465
|
}
|
|
53084
53466
|
function Pe(e) {
|
|
53085
53467
|
j.value?.pointer === e.pointerId && (j.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53086
53468
|
}
|
|
53087
53469
|
function Fe(e) {
|
|
53088
53470
|
let t = {
|
|
53089
|
-
ArrowLeft: C.value +
|
|
53090
|
-
ArrowRight: C.value -
|
|
53091
|
-
Home:
|
|
53092
|
-
End:
|
|
53471
|
+
ArrowLeft: C.value + k1,
|
|
53472
|
+
ArrowRight: C.value - k1,
|
|
53473
|
+
Home: E1,
|
|
53474
|
+
End: D1
|
|
53093
53475
|
};
|
|
53094
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(
|
|
53476
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(D1, Math.max(E1, t[e.key])), De());
|
|
53095
53477
|
}
|
|
53096
53478
|
function Ie(e) {
|
|
53097
53479
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ae.value = {
|
|
@@ -53101,19 +53483,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53101
53483
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53102
53484
|
}
|
|
53103
53485
|
function Le(e) {
|
|
53104
|
-
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(
|
|
53486
|
+
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(A1, ae.value.width + e.clientX - ae.value.x))));
|
|
53105
53487
|
}
|
|
53106
53488
|
function Re(e) {
|
|
53107
53489
|
ae.value?.pointer === e.pointerId && (ae.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), De());
|
|
53108
53490
|
}
|
|
53109
53491
|
function ze(e) {
|
|
53110
53492
|
let t = {
|
|
53111
|
-
ArrowLeft: se.value -
|
|
53112
|
-
ArrowRight: se.value +
|
|
53113
|
-
Home:
|
|
53493
|
+
ArrowLeft: se.value - N1,
|
|
53494
|
+
ArrowRight: se.value + N1,
|
|
53495
|
+
Home: A1,
|
|
53114
53496
|
End: oe.value
|
|
53115
53497
|
};
|
|
53116
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(
|
|
53498
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(A1, t[e.key])), De());
|
|
53117
53499
|
}
|
|
53118
53500
|
return (e, r) => {
|
|
53119
53501
|
let y = sA, b = lH, w = pA, T = MA, O = $V, ie = WV, A = YV, de = KV, Te = HV, Ee = zV, De = NV, ke = AV;
|
|
@@ -53125,10 +53507,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53125
53507
|
}]),
|
|
53126
53508
|
style: fe(ce.value)
|
|
53127
53509
|
}, [
|
|
53128
|
-
K("aside",
|
|
53510
|
+
K("aside", z$, [
|
|
53129
53511
|
r[25] ||= ws("<header class=\"channel-workspace-heading\"><span class=\"channel-brand-icon\" aria-hidden=\"true\"><svg class=\"channel-brand-dark\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-d0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#e9ebed\"></stop><stop offset=\"6.3%\" stop-color=\"#e2e5e7\"></stop><stop offset=\"12.5%\" stop-color=\"#dcdee1\"></stop><stop offset=\"18.8%\" stop-color=\"#d5d8db\"></stop><stop offset=\"25.0%\" stop-color=\"#ced2d5\"></stop><stop offset=\"31.3%\" stop-color=\"#c8cbcf\"></stop><stop offset=\"37.5%\" stop-color=\"#c1c5ca\"></stop><stop offset=\"43.8%\" stop-color=\"#babfc4\"></stop><stop offset=\"50.0%\" stop-color=\"#b4b9be\"></stop><stop offset=\"56.3%\" stop-color=\"#a9aeb3\"></stop><stop offset=\"62.5%\" stop-color=\"#9ea3a9\"></stop><stop offset=\"68.8%\" stop-color=\"#93999f\"></stop><stop offset=\"75.0%\" stop-color=\"#888e95\"></stop><stop offset=\"81.3%\" stop-color=\"#7e848a\"></stop><stop offset=\"87.5%\" stop-color=\"#737a80\"></stop><stop offset=\"93.8%\" stop-color=\"#697077\"></stop><stop offset=\"100.0%\" stop-color=\"#5f666d\"></stop></linearGradient><linearGradient id=\"brand-d1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#3f86ff\"></stop><stop offset=\"6.3%\" stop-color=\"#5588ff\"></stop><stop offset=\"12.5%\" stop-color=\"#6889ff\"></stop><stop offset=\"18.8%\" stop-color=\"#788aff\"></stop><stop offset=\"25.0%\" stop-color=\"#878bff\"></stop><stop offset=\"31.3%\" stop-color=\"#958cff\"></stop><stop offset=\"37.5%\" stop-color=\"#a78aef\"></stop><stop offset=\"43.8%\" stop-color=\"#b986d7\"></stop><stop offset=\"50.0%\" stop-color=\"#ca80bf\"></stop><stop offset=\"56.3%\" stop-color=\"#da78a6\"></stop><stop offset=\"62.5%\" stop-color=\"#ea6e8c\"></stop><stop offset=\"68.8%\" stop-color=\"#f56d78\"></stop><stop offset=\"75.0%\" stop-color=\"#f77f72\"></stop><stop offset=\"81.3%\" stop-color=\"#f8906b\"></stop><stop offset=\"87.5%\" stop-color=\"#f9a163\"></stop><stop offset=\"93.8%\" stop-color=\"#fab058\"></stop><stop offset=\"100.0%\" stop-color=\"#fac04a\"></stop></linearGradient><linearGradient id=\"brand-d2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#d06a49\"></stop><stop offset=\"6.3%\" stop-color=\"#d36f4f\"></stop><stop offset=\"12.5%\" stop-color=\"#d67456\"></stop><stop offset=\"18.8%\" stop-color=\"#d97a5c\"></stop><stop offset=\"25.0%\" stop-color=\"#dc7f62\"></stop><stop offset=\"31.3%\" stop-color=\"#df8468\"></stop><stop offset=\"37.5%\" stop-color=\"#e2896e\"></stop><stop offset=\"43.8%\" stop-color=\"#e58e74\"></stop><stop offset=\"50.0%\" stop-color=\"#e8937a\"></stop><stop offset=\"56.3%\" stop-color=\"#eb9d85\"></stop><stop offset=\"62.5%\" stop-color=\"#eea68f\"></stop><stop offset=\"68.8%\" stop-color=\"#f1b09a\"></stop><stop offset=\"75.0%\" stop-color=\"#f4baa4\"></stop><stop offset=\"81.3%\" stop-color=\"#f6c3af\"></stop><stop offset=\"87.5%\" stop-color=\"#f9cdb9\"></stop><stop offset=\"93.8%\" stop-color=\"#fbd6c4\"></stop><stop offset=\"100.0%\" stop-color=\"#fde0cf\"></stop></linearGradient><linearGradient id=\"brand-d3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#4a5cff\"></stop><stop offset=\"6.3%\" stop-color=\"#5062ff\"></stop><stop offset=\"12.5%\" stop-color=\"#5768ff\"></stop><stop offset=\"18.8%\" stop-color=\"#5d6dff\"></stop><stop offset=\"25.0%\" stop-color=\"#6472ff\"></stop><stop offset=\"31.3%\" stop-color=\"#6b77ff\"></stop><stop offset=\"37.5%\" stop-color=\"#717cff\"></stop><stop offset=\"43.8%\" stop-color=\"#7881ff\"></stop><stop offset=\"50.0%\" stop-color=\"#7f86ff\"></stop><stop offset=\"56.3%\" stop-color=\"#8990ff\"></stop><stop offset=\"62.5%\" stop-color=\"#9399ff\"></stop><stop offset=\"68.8%\" stop-color=\"#9da2ff\"></stop><stop offset=\"75.0%\" stop-color=\"#a8abff\"></stop><stop offset=\"81.3%\" stop-color=\"#b3b4ff\"></stop><stop offset=\"87.5%\" stop-color=\"#bebdff\"></stop><stop offset=\"93.8%\" stop-color=\"#c9c5ff\"></stop><stop offset=\"100.0%\" stop-color=\"#d4ceff\"></stop></linearGradient><clipPath id=\"brand-d4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-d5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-d6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-d7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-d8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-d9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-d10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-d11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-d4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg><svg class=\"channel-brand-light\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-l0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#0b0d0f\"></stop><stop offset=\"6.3%\" stop-color=\"#101315\"></stop><stop offset=\"12.5%\" stop-color=\"#16191b\"></stop><stop offset=\"18.8%\" stop-color=\"#1c1f22\"></stop><stop offset=\"25.0%\" stop-color=\"#222529\"></stop><stop offset=\"31.3%\" stop-color=\"#282c2f\"></stop><stop offset=\"37.5%\" stop-color=\"#2e3237\"></stop><stop offset=\"43.8%\" stop-color=\"#34393e\"></stop><stop offset=\"50.0%\" stop-color=\"#3b4045\"></stop><stop offset=\"56.3%\" stop-color=\"#484d52\"></stop><stop offset=\"62.5%\" stop-color=\"#555a5f\"></stop><stop offset=\"68.8%\" stop-color=\"#62676d\"></stop><stop offset=\"75.0%\" stop-color=\"#70757b\"></stop><stop offset=\"81.3%\" stop-color=\"#7e8389\"></stop><stop offset=\"87.5%\" stop-color=\"#8c9297\"></stop><stop offset=\"93.8%\" stop-color=\"#9aa0a6\"></stop><stop offset=\"100.0%\" stop-color=\"#a9afb5\"></stop></linearGradient><linearGradient id=\"brand-l1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#2f7bff\"></stop><stop offset=\"6.3%\" stop-color=\"#487cff\"></stop><stop offset=\"12.5%\" stop-color=\"#5a7cff\"></stop><stop offset=\"18.8%\" stop-color=\"#6a7dff\"></stop><stop offset=\"25.0%\" stop-color=\"#797dff\"></stop><stop offset=\"31.3%\" stop-color=\"#877dff\"></stop><stop offset=\"37.5%\" stop-color=\"#997cee\"></stop><stop offset=\"43.8%\" stop-color=\"#ae79d3\"></stop><stop offset=\"50.0%\" stop-color=\"#c174b8\"></stop><stop offset=\"56.3%\" stop-color=\"#d36b9d\"></stop><stop offset=\"62.5%\" stop-color=\"#e56080\"></stop><stop offset=\"68.8%\" stop-color=\"#f15d69\"></stop><stop offset=\"75.0%\" stop-color=\"#f37162\"></stop><stop offset=\"81.3%\" stop-color=\"#f5835a\"></stop><stop offset=\"87.5%\" stop-color=\"#f79550\"></stop><stop offset=\"93.8%\" stop-color=\"#f8a542\"></stop><stop offset=\"100.0%\" stop-color=\"#f8b52c\"></stop></linearGradient><linearGradient id=\"brand-l2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#b9502f\"></stop><stop offset=\"6.3%\" stop-color=\"#bd5534\"></stop><stop offset=\"12.5%\" stop-color=\"#c15a39\"></stop><stop offset=\"18.8%\" stop-color=\"#c55f3e\"></stop><stop offset=\"25.0%\" stop-color=\"#c96443\"></stop><stop offset=\"31.3%\" stop-color=\"#cd6848\"></stop><stop offset=\"37.5%\" stop-color=\"#d16d4d\"></stop><stop offset=\"43.8%\" stop-color=\"#d57252\"></stop><stop offset=\"50.0%\" stop-color=\"#d97757\"></stop><stop offset=\"56.3%\" stop-color=\"#dd8060\"></stop><stop offset=\"62.5%\" stop-color=\"#e08a69\"></stop><stop offset=\"68.8%\" stop-color=\"#e49372\"></stop><stop offset=\"75.0%\" stop-color=\"#e79c7b\"></stop><stop offset=\"81.3%\" stop-color=\"#eaa584\"></stop><stop offset=\"87.5%\" stop-color=\"#edae8d\"></stop><stop offset=\"93.8%\" stop-color=\"#f0b796\"></stop><stop offset=\"100.0%\" stop-color=\"#f3c09f\"></stop></linearGradient><linearGradient id=\"brand-l3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#2b33e6\"></stop><stop offset=\"6.3%\" stop-color=\"#3139e9\"></stop><stop offset=\"12.5%\" stop-color=\"#363fec\"></stop><stop offset=\"18.8%\" stop-color=\"#3c44ef\"></stop><stop offset=\"25.0%\" stop-color=\"#4249f3\"></stop><stop offset=\"31.3%\" stop-color=\"#484ef6\"></stop><stop offset=\"37.5%\" stop-color=\"#4e53f9\"></stop><stop offset=\"43.8%\" stop-color=\"#5457fc\"></stop><stop offset=\"50.0%\" stop-color=\"#5a5cff\"></stop><stop offset=\"56.3%\" stop-color=\"#6569ff\"></stop><stop offset=\"62.5%\" stop-color=\"#7075ff\"></stop><stop offset=\"68.8%\" stop-color=\"#7c80ff\"></stop><stop offset=\"75.0%\" stop-color=\"#888bff\"></stop><stop offset=\"81.3%\" stop-color=\"#9595ff\"></stop><stop offset=\"87.5%\" stop-color=\"#a29fff\"></stop><stop offset=\"93.8%\" stop-color=\"#afa9ff\"></stop><stop offset=\"100.0%\" stop-color=\"#bdb3ff\"></stop></linearGradient><clipPath id=\"brand-l4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-l5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-l6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-l7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-l8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-l9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-l10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-l11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-l4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg></span><span class=\"channel-brand-text\"><strong>共议</strong><span>AI CoDiscuss</span></span></header>", 1),
|
|
53130
|
-
K("div",
|
|
53131
|
-
q(
|
|
53512
|
+
K("div", B$, [
|
|
53513
|
+
q(DZ, {
|
|
53132
53514
|
onSelect: ye,
|
|
53133
53515
|
onManage: _e,
|
|
53134
53516
|
onCreate: xe,
|
|
@@ -53137,12 +53519,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53137
53519
|
onDeleteFolder: we,
|
|
53138
53520
|
onArchives: ve
|
|
53139
53521
|
}),
|
|
53140
|
-
K("div",
|
|
53522
|
+
K("div", V$, [K("button", {
|
|
53141
53523
|
type: "button",
|
|
53142
53524
|
class: "channel-section-toggle",
|
|
53143
53525
|
"aria-expanded": f.value,
|
|
53144
53526
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
53145
|
-
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[24] ||= J("频道工具", -1)], 8,
|
|
53527
|
+
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[24] ||= J("频道工具", -1)], 8, H$)]),
|
|
53146
53528
|
f.value ? (U(), G(b, {
|
|
53147
53529
|
key: 0,
|
|
53148
53530
|
items: he.value,
|
|
@@ -53158,7 +53540,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53158
53540
|
}
|
|
53159
53541
|
}, null, 8, ["items"])) : Y("", !0)
|
|
53160
53542
|
]),
|
|
53161
|
-
K("footer",
|
|
53543
|
+
K("footer", U$, [K("button", {
|
|
53162
53544
|
type: "button",
|
|
53163
53545
|
class: "channel-self-button",
|
|
53164
53546
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${ge.value ? "," + ge.value : ""}`,
|
|
@@ -53174,10 +53556,10 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53174
53556
|
"text",
|
|
53175
53557
|
"alt",
|
|
53176
53558
|
"class"
|
|
53177
|
-
]), K("span",
|
|
53559
|
+
]), K("span", G$, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: M(["channel-connection", { "is-action": ge.value }]) }, [K("span", {
|
|
53178
53560
|
class: M({ connected: I(t).connected }),
|
|
53179
53561
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
53180
|
-
}, null, 10,
|
|
53562
|
+
}, null, 10, K$), J(P(ge.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, W$), q(O, { text: "设置" }, {
|
|
53181
53563
|
default: L(() => [q(T, {
|
|
53182
53564
|
icon: "i-lucide-settings-2",
|
|
53183
53565
|
color: "neutral",
|
|
@@ -53198,7 +53580,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53198
53580
|
"aria-label": "调整房间栏宽度",
|
|
53199
53581
|
"aria-orientation": "vertical",
|
|
53200
53582
|
"aria-controls": "channel-sidebar",
|
|
53201
|
-
"aria-valuemin":
|
|
53583
|
+
"aria-valuemin": A1,
|
|
53202
53584
|
"aria-valuemax": oe.value,
|
|
53203
53585
|
"aria-valuenow": se.value,
|
|
53204
53586
|
"aria-valuetext": `${se.value} 像素`,
|
|
@@ -53209,13 +53591,13 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53209
53591
|
onPointercancel: Re,
|
|
53210
53592
|
onLostpointercapture: Re,
|
|
53211
53593
|
onKeydown: ze
|
|
53212
|
-
}, null, 40,
|
|
53213
|
-
K("main",
|
|
53594
|
+
}, null, 40, q$)),
|
|
53595
|
+
K("main", J$, [K("div", {
|
|
53214
53596
|
ref_key: "topbar",
|
|
53215
53597
|
ref: re,
|
|
53216
53598
|
class: M(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
53217
53599
|
}, [
|
|
53218
|
-
K("header",
|
|
53600
|
+
K("header", Y$, [
|
|
53219
53601
|
q(O, { text: E.value ? "展开房间栏" : "收起房间栏" }, {
|
|
53220
53602
|
default: L(() => [q(T, {
|
|
53221
53603
|
icon: "i-lucide-panel-left",
|
|
@@ -53240,8 +53622,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53240
53622
|
"aria-expanded": d.value,
|
|
53241
53623
|
onClick: r[4] ||= (e) => d.value = !0
|
|
53242
53624
|
}, null, 8, ["aria-expanded"]),
|
|
53243
|
-
K("span",
|
|
53244
|
-
K("div",
|
|
53625
|
+
K("span", X$, [q(y, { name: "i-lucide-hash" })]),
|
|
53626
|
+
K("div", Z$, [K("div", Q$, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, $$)]), o.value?.archived ? (U(), G(ie, {
|
|
53245
53627
|
key: 0,
|
|
53246
53628
|
color: "neutral",
|
|
53247
53629
|
variant: "subtle",
|
|
@@ -53250,12 +53632,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53250
53632
|
default: L(() => [...r[26] ||= [J("已存档", -1)]]),
|
|
53251
53633
|
_: 1
|
|
53252
53634
|
})) : Y("", !0)]),
|
|
53253
|
-
o.value ? (U(), W("span",
|
|
53635
|
+
o.value ? (U(), W("span", e1, [
|
|
53254
53636
|
J(P(me.value.find((e) => e.value === I(t).tab)?.label), 1),
|
|
53255
53637
|
r[27] ||= K("span", null, "·", -1),
|
|
53256
53638
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
53257
53639
|
])) : Y("", !0),
|
|
53258
|
-
K("div",
|
|
53640
|
+
K("div", t1, [
|
|
53259
53641
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
53260
53642
|
key: 0,
|
|
53261
53643
|
class: "channel-search",
|
|
@@ -53313,7 +53695,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53313
53695
|
])]),
|
|
53314
53696
|
_: 1
|
|
53315
53697
|
})) : Y("", !0),
|
|
53316
|
-
o.value && !(k.value && ee.value) ? (U(), G(
|
|
53698
|
+
o.value && !(k.value && ee.value) ? (U(), G(i$, { key: 2 })) : Y("", !0)
|
|
53317
53699
|
]),
|
|
53318
53700
|
q(O, { text: te.value }, {
|
|
53319
53701
|
default: L(() => [q(T, {
|
|
@@ -53334,12 +53716,12 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53334
53716
|
_: 1
|
|
53335
53717
|
}, 8, ["text"])
|
|
53336
53718
|
]),
|
|
53337
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
53719
|
+
I(t).launch.recoveries.length ? (U(), W("section", n1, [
|
|
53338
53720
|
r[28] ||= K("h2", null, "继续未完成的请求", -1),
|
|
53339
53721
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
53340
53722
|
K("strong", null, P(e.title), 1),
|
|
53341
|
-
K("p",
|
|
53342
|
-
K("div",
|
|
53723
|
+
K("p", r1, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
53724
|
+
K("div", i1, [
|
|
53343
53725
|
q(T, {
|
|
53344
53726
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
53345
53727
|
size: "sm",
|
|
@@ -53372,7 +53754,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53372
53754
|
]))), 128)),
|
|
53373
53755
|
r[29] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
53374
53756
|
])) : Y("", !0),
|
|
53375
|
-
o.value ? (U(), W("div",
|
|
53757
|
+
o.value ? (U(), W("div", a1, [q(de, {
|
|
53376
53758
|
modelValue: ue.value,
|
|
53377
53759
|
"onUpdate:modelValue": r[9] ||= (e) => ue.value = e,
|
|
53378
53760
|
items: me.value,
|
|
@@ -53387,7 +53769,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53387
53769
|
key: 2,
|
|
53388
53770
|
class: M(["channel-host-brief", { "is-collapsed": D.value }]),
|
|
53389
53771
|
"aria-label": "主持简报"
|
|
53390
|
-
}, [K("div",
|
|
53772
|
+
}, [K("div", o1, [K("div", s1, [K("button", {
|
|
53391
53773
|
type: "button",
|
|
53392
53774
|
class: "channel-brief-toggle",
|
|
53393
53775
|
"aria-label": D.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -53397,8 +53779,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53397
53779
|
}, [
|
|
53398
53780
|
q(y, { name: D.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
53399
53781
|
K("strong", null, "主持简报" + P(D.value ? ":" : ""), 1),
|
|
53400
|
-
D.value ? (U(), W("span",
|
|
53401
|
-
], 8,
|
|
53782
|
+
D.value ? (U(), W("span", l1, P(ne.value), 1)) : Y("", !0)
|
|
53783
|
+
], 8, c1), D.value ? Y("", !0) : (U(), G(T, {
|
|
53402
53784
|
key: 0,
|
|
53403
53785
|
label: "更新简报",
|
|
53404
53786
|
color: "neutral",
|
|
@@ -53406,19 +53788,19 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53406
53788
|
size: "xs",
|
|
53407
53789
|
class: "channel-brief-update",
|
|
53408
53790
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
53409
|
-
}))]), vr(K("div",
|
|
53791
|
+
}))]), vr(K("div", u1, [K("div", {
|
|
53410
53792
|
class: "channel-brief-text markdown-body",
|
|
53411
53793
|
innerHTML: o.value.rendered_brief
|
|
53412
|
-
}, null, 8,
|
|
53794
|
+
}, null, 8, d1), K("div", f1, [K("span", p1, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !D.value]])])], 2)) : Y("", !0)
|
|
53413
53795
|
], 2), o.value ? (U(), W("div", {
|
|
53414
53796
|
key: 0,
|
|
53415
53797
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
53416
|
-
}, [K("div",
|
|
53798
|
+
}, [K("div", m1, [
|
|
53417
53799
|
vr(q(cK, {
|
|
53418
53800
|
onDetail: be,
|
|
53419
53801
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
53420
53802
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
53421
|
-
I(t).tab === "context" ? (U(), W("section",
|
|
53803
|
+
I(t).tab === "context" ? (U(), W("section", h1, [K("div", g1, [r[30] ||= K("div", null, [K("h2", null, "共识与分歧"), K("p", null, "整理讨论进展,用 #消息编号 保留依据。")], -1), q(ie, {
|
|
53422
53804
|
color: "neutral",
|
|
53423
53805
|
variant: "outline"
|
|
53424
53806
|
}, {
|
|
@@ -53459,7 +53841,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53459
53841
|
}, null, 8, ["modelValue"])]),
|
|
53460
53842
|
_: 1
|
|
53461
53843
|
}),
|
|
53462
|
-
K("div",
|
|
53844
|
+
K("div", _1, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(T, {
|
|
53463
53845
|
type: "submit",
|
|
53464
53846
|
color: "neutral",
|
|
53465
53847
|
icon: "i-lucide-check",
|
|
@@ -53473,7 +53855,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53473
53855
|
onOpen: r[15] ||= (e) => s.value = e,
|
|
53474
53856
|
onDetail: be
|
|
53475
53857
|
})) : Y("", !0)
|
|
53476
|
-
])], 2)) : (U(), W("div",
|
|
53858
|
+
])], 2)) : (U(), W("div", v1, [
|
|
53477
53859
|
q(y, { name: "i-lucide-hash" }),
|
|
53478
53860
|
r[31] ||= K("h2", null, "新建一个协作房间", -1),
|
|
53479
53861
|
r[32] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -53492,8 +53874,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53492
53874
|
"aria-label": "调整右侧栏宽度",
|
|
53493
53875
|
"aria-orientation": "vertical",
|
|
53494
53876
|
"aria-controls": "channel-member-rail",
|
|
53495
|
-
"aria-valuemin":
|
|
53496
|
-
"aria-valuemax":
|
|
53877
|
+
"aria-valuemin": E1,
|
|
53878
|
+
"aria-valuemax": D1,
|
|
53497
53879
|
"aria-valuenow": C.value,
|
|
53498
53880
|
"aria-valuetext": `${C.value} 像素`,
|
|
53499
53881
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -53503,11 +53885,11 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53503
53885
|
onPointercancel: Pe,
|
|
53504
53886
|
onLostpointercapture: Pe,
|
|
53505
53887
|
onKeydown: Fe
|
|
53506
|
-
}, null, 40,
|
|
53507
|
-
k.value ? (U(), W("aside",
|
|
53888
|
+
}, null, 40, y1)) : Y("", !0),
|
|
53889
|
+
k.value ? (U(), W("aside", b1, [K("section", x1, [o.value && pe.value ? (U(), G(R$, { key: 0 })) : o.value ? (U(), G($Q, {
|
|
53508
53890
|
key: 1,
|
|
53509
53891
|
docked: ""
|
|
53510
|
-
})) : (U(), W("div",
|
|
53892
|
+
})) : (U(), W("div", S1, [...r[33] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
|
|
53511
53893
|
q(De, {
|
|
53512
53894
|
open: d.value,
|
|
53513
53895
|
"onUpdate:open": r[18] ||= (e) => d.value = e,
|
|
@@ -53519,7 +53901,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53519
53901
|
body: "channel-drawer-body"
|
|
53520
53902
|
}
|
|
53521
53903
|
}, {
|
|
53522
|
-
body: L(() => [q(
|
|
53904
|
+
body: L(() => [q(DZ, {
|
|
53523
53905
|
onSelect: ye,
|
|
53524
53906
|
onManage: _e,
|
|
53525
53907
|
onCreate: xe,
|
|
@@ -53550,7 +53932,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53550
53932
|
}
|
|
53551
53933
|
}, {
|
|
53552
53934
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
53553
|
-
K("div",
|
|
53935
|
+
K("div", C1, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
53554
53936
|
(U(), W(H, null, B([
|
|
53555
53937
|
{
|
|
53556
53938
|
key: "goal",
|
|
@@ -53577,7 +53959,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53577
53959
|
class: "info-section"
|
|
53578
53960
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
53579
53961
|
q(ke),
|
|
53580
|
-
K("section",
|
|
53962
|
+
K("section", w1, [r[34] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(N.value, (e) => (U(), W("div", {
|
|
53581
53963
|
key: e.name,
|
|
53582
53964
|
class: "expert-row"
|
|
53583
53965
|
}, [
|
|
@@ -53610,7 +53992,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53610
53992
|
], 64)) : Y("", !0)]),
|
|
53611
53993
|
_: 1
|
|
53612
53994
|
}, 8, ["open"]),
|
|
53613
|
-
q(
|
|
53995
|
+
q(rZ, {
|
|
53614
53996
|
modelValue: s.value,
|
|
53615
53997
|
"onUpdate:modelValue": r[21] ||= (e) => s.value = e,
|
|
53616
53998
|
"reading-width": x.value,
|
|
@@ -53634,7 +54016,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53634
54016
|
], 6);
|
|
53635
54017
|
};
|
|
53636
54018
|
}
|
|
53637
|
-
},
|
|
54019
|
+
}, R1 = {
|
|
53638
54020
|
__name: "App",
|
|
53639
54021
|
setup(e) {
|
|
53640
54022
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -53645,7 +54027,7 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53645
54027
|
toaster: null
|
|
53646
54028
|
}, {
|
|
53647
54029
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
53648
|
-
default: L(() => [q(
|
|
54030
|
+
default: L(() => [q(L1)]),
|
|
53649
54031
|
_: 1
|
|
53650
54032
|
})]),
|
|
53651
54033
|
_: 1
|
|
@@ -53655,8 +54037,8 @@ var hU = /*#__PURE__*/ XH({
|
|
|
53655
54037
|
};
|
|
53656
54038
|
//#endregion
|
|
53657
54039
|
//#region frontend/main.js
|
|
53658
|
-
function
|
|
53659
|
-
bu(
|
|
54040
|
+
function z1() {
|
|
54041
|
+
bu(R1).use(ph).mount("#modern-root");
|
|
53660
54042
|
}
|
|
53661
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
54043
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", z1) : z1();
|
|
53662
54044
|
//#endregion
|