@auto-ai/agent 2.1.177 → 2.1.180
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/dist/safe-a/404/index.html +1 -1
- package/dist/safe-a/404.html +1 -1
- package/dist/safe-a/_next/static/chunks/044a195f3374d4b6.js +1 -0
- package/dist/safe-a/_next/static/chunks/0a7d5a51593d8c2f.js +1 -0
- package/dist/safe-a/_next/static/chunks/12fa90667e8fb0e3.js +1 -0
- package/dist/safe-a/_next/static/chunks/{8cccc3fe71fa849b.js → 1d5160bb440a1e1b.js} +1 -1
- package/dist/safe-a/_next/static/chunks/291c07da1c127dc1.js +1 -0
- package/dist/safe-a/_next/static/chunks/2b51efee1a2b8f27.js +1 -0
- package/dist/safe-a/_next/static/chunks/4682815462207a37.js +1 -0
- package/dist/safe-a/_next/static/chunks/4a426c156537f974.js +1 -0
- package/dist/safe-a/_next/static/chunks/5434628aad5e5bc3.js +1 -0
- package/dist/safe-a/_next/static/chunks/5b44bdce5e5ebd06.js +1 -0
- package/dist/safe-a/_next/static/chunks/5b50a8c524507ee0.js +1 -0
- package/dist/safe-a/_next/static/chunks/66cdfa3e49dc50f3.js +1 -0
- package/dist/safe-a/_next/static/chunks/6b646b7144f0eb9e.js +1 -0
- package/dist/safe-a/_next/static/chunks/7145a30cb461e3ab.js +1 -0
- package/dist/safe-a/_next/static/chunks/79e8fd2602ccb6b6.js +1 -0
- package/dist/safe-a/_next/static/chunks/7f341bc0fb5ff708.js +1 -0
- package/dist/safe-a/_next/static/chunks/{98fff38c6425a797.css → 804376464cecbc36.css} +1 -1
- package/dist/safe-a/_next/static/chunks/812fc979171f7ded.js +1 -0
- package/dist/safe-a/_next/static/chunks/{d704441569a382a1.js → 8f31f818efd25c0f.js} +1 -1
- package/dist/safe-a/_next/static/chunks/9edf76a11bf93bcc.js +1 -0
- package/dist/safe-a/_next/static/chunks/abdf99ba76e0f571.js +1 -0
- package/dist/safe-a/_next/static/chunks/b63afdaa820ddad4.js +1 -0
- package/dist/safe-a/_next/static/chunks/b9590be9854a83fb.js +1 -0
- package/dist/safe-a/_next/static/chunks/baed816b83bbd5b5.js +1 -0
- package/dist/safe-a/_next/static/chunks/dc7a9ce680ab0ce4.css +1 -0
- package/dist/safe-a/_next/static/chunks/dd98ccfeaf6ec72e.js +1 -0
- package/dist/safe-a/_next/static/chunks/e2833182a81cd867.js +1 -0
- package/dist/safe-a/_next/static/chunks/e847138f5b487d3d.js +1 -0
- package/dist/safe-a/_next/static/chunks/f3c9f6b778f4cf1a.js +1 -0
- package/dist/safe-a/_next/static/chunks/fa686b4028e991a5.js +1 -0
- package/dist/safe-a/index.html +2 -2
- package/dist/safe-a/index.txt +30 -27
- package/dist/safe-a/manage/about/index.html +2 -2
- package/dist/safe-a/manage/about/index.txt +30 -29
- package/dist/safe-a/manage/env/index.html +2 -2
- package/dist/safe-a/manage/env/index.txt +33 -32
- package/dist/safe-a/manage/geelib/index.html +2 -0
- package/dist/safe-a/manage/geelib/index.txt +39 -0
- package/dist/safe-a/manage/general/index.html +2 -2
- package/dist/safe-a/manage/general/index.txt +30 -29
- package/dist/safe-a/manage/git/index.html +2 -0
- package/dist/safe-a/manage/git/index.txt +39 -0
- package/dist/safe-a/manage/im/index.html +2 -0
- package/dist/safe-a/manage/im/index.txt +39 -0
- package/dist/safe-a/manage/index.html +2 -2
- package/dist/safe-a/manage/index.txt +27 -26
- package/dist/safe-a/manage/library/index.html +2 -0
- package/dist/safe-a/manage/library/index.txt +37 -0
- package/dist/safe-a/manage/mcp/index.html +2 -2
- package/dist/safe-a/manage/mcp/index.txt +31 -30
- package/dist/safe-a/manage/permissions/index.html +2 -2
- package/dist/safe-a/manage/permissions/index.txt +30 -29
- package/dist/safe-a/manage/skills/index.html +2 -2
- package/dist/safe-a/manage/skills/index.txt +31 -30
- package/dist/safe-a/manage/system/index.html +2 -0
- package/dist/safe-a/manage/system/index.txt +39 -0
- package/dist/safe-a/manage/task/index.html +2 -2
- package/dist/safe-a/manage/task/index.txt +31 -30
- package/dist/safe-a/manage/teams/index.html +2 -2
- package/dist/safe-a/manage/teams/index.txt +31 -30
- package/dist/safe-a/manage/tools/index.html +2 -2
- package/dist/safe-a/manage/tools/index.txt +31 -30
- package/dist/ws-test/ws-test.css +20 -0
- package/dist/ws-test/ws-test.js +55 -3
- package/mcps-runtime/claude-geelib-channel/.mcp.json +1 -1
- package/mcps-runtime/claude-tuitui-channel/.mcp.json +1 -1
- package/package.json +6 -6
- package/tools-runtime/code-tool/index.cjs +10 -0
- package/tools-runtime/code-tool/src/index.ts +10 -0
- package/tools-runtime/git-tool/index.cjs +3 -0
- package/tools-runtime/git-tool/src/index.ts +3 -0
- package/tools-runtime/schedule-tool/index.cjs +5 -0
- package/tools-runtime/schedule-tool/src/index.ts +5 -0
- package/dist/safe-a/_next/static/chunks/08ce2af10358a8ab.js +0 -1
- package/dist/safe-a/_next/static/chunks/10f9223e5a712af5.css +0 -1
- package/dist/safe-a/_next/static/chunks/1acf2d9664500f51.js +0 -1
- package/dist/safe-a/_next/static/chunks/1f3da8a76b11d2aa.js +0 -1
- package/dist/safe-a/_next/static/chunks/26aeb1c7cdca0bc7.js +0 -1
- package/dist/safe-a/_next/static/chunks/3051ec76bf1f7867.js +0 -1
- package/dist/safe-a/_next/static/chunks/4a33b6b9bc52fb1a.js +0 -1
- package/dist/safe-a/_next/static/chunks/53a59aecd3e0dfb5.js +0 -1
- package/dist/safe-a/_next/static/chunks/5bad5163b6e015f5.js +0 -1
- package/dist/safe-a/_next/static/chunks/5ef8399eb6496949.js +0 -1
- package/dist/safe-a/_next/static/chunks/61b3d4c00499dd14.js +0 -1
- package/dist/safe-a/_next/static/chunks/b7f72bcb870dda3b.js +0 -1
- package/dist/safe-a/_next/static/chunks/bbf364bb7f0ab6f7.js +0 -1
- package/dist/safe-a/_next/static/chunks/bdd88bcfd223f52a.js +0 -1
- package/dist/safe-a/_next/static/chunks/eac98d693efb6a1f.js +0 -1
- package/dist/safe-a/_next/static/chunks/ec7537a65499e7a4.js +0 -1
- package/dist/safe-a/_next/static/chunks/f874690806ec289e.js +0 -1
- /package/dist/safe-a/_next/static/{FLwrlrqnZ2-ZTbuZi3z9O → OKqXfffH_cAoxQZZNzqGW}/_buildManifest.js +0 -0
- /package/dist/safe-a/_next/static/{FLwrlrqnZ2-ZTbuZi3z9O → OKqXfffH_cAoxQZZNzqGW}/_clientMiddlewareManifest.json +0 -0
- /package/dist/safe-a/_next/static/{FLwrlrqnZ2-ZTbuZi3z9O → OKqXfffH_cAoxQZZNzqGW}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72064,t=>{"use strict";t.s(["default",()=>tY],72064);var e=t.i(18050),a=t.i(71645),s=t.i(96661);let o=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,a)=>a?a.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)};var r=t.i(5014);let n=(t,e)=>{let n=(0,a.forwardRef)((n,i)=>{let{className:l,...c}=n;return(0,a.createElement)(r.default,{ref:i,iconNode:e,className:(0,s.mergeClasses)("lucide-".concat(o(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(t),l),...c})});return n.displayName=o(t),n},i=n("brackets",[["path",{d:"M16 3h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-3",key:"1kt8lf"}],["path",{d:"M8 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h3",key:"gduv9"}]]),l=n("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),c=n("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),d=n("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),h=n("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),u=n("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),m=n("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),v=n("chevrons-down",[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]]),p=n("chevrons-up",[["path",{d:"m17 11-5-5-5 5",key:"e8nh98"}],["path",{d:"m17 18-5-5-5 5",key:"2avn1x"}]]),g=n("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),f=n("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),w=n("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),y=n("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]),x=n("compass",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]]),b=n("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),k=n("dot",[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]]),M=n("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),z=n("file",[["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",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]),j=n("file-pen-line",[["path",{d:"M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z",key:"ukzhwg"}],["path",{d:"M14.487 7.858A1 1 0 0 1 14 7V2",key:"1klhew"}],["path",{d:"M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516",key:"rxaxab"}],["path",{d:"M8 18h1",key:"13wk12"}]]),H=n("file-text",[["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",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),V=n("folder",[["path",{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",key:"1kt360"}]]),_=n("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),C=n("gavel",[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]]),N=n("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),L=n("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),E=n("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]),B=n("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),S=n("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]),A=n("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),T=n("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),F=n("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]),D=n("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]),R=n("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]),P=n("play",[["path",{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",key:"10ikf1"}]]),I=n("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),q=n("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),Y=n("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),U=n("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),O=n("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),X=n("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),K=n("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]),J=n("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]),W=n("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]),Z=n("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]),G=n("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$=n("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);t.s([],88137);let Q=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"Gif_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M829.793 617.225H194.207v275.933c0 40.836 30.826 73.957 68.855 73.957h337.214V792.682c0-47.757 36.299-86.475 81.072-86.475h148.445zm52.966 0V780.64c0 7.468-2.737 14.619-7.592 19.95l-196.732 214.9a25.6 25.6 0 0 1-18.89 8.509H263.061c-67.266 0-121.82-58.58-121.82-130.842V617.225H88.275V176.552h52.965v-45.71C141.241 58.58 195.796 0 263.062 0h497.876c67.266 0 121.82 58.58 121.82 130.842v45.71h52.966v440.673zm-52.966-440.673v-45.71c0-40.836-30.826-73.957-68.855-73.957H263.062c-38.03 0-68.855 33.121-68.855 73.975v45.692zM654.318 960.689l175.475-191.683v-5.155H681.348c-14.936 0-27.012 12.906-27.012 28.83V960.69zm-297.33-692.895c-35.558 0-63.736 12.076-84.533 36.899-19.792 23.146-29.52 52.665-29.52 88.558 0 35.558 9.728 64.742 29.52 87.217 21.133 24.152 50.652 36.228 88.893 36.228 21.47 0 40.59-2.683 58.033-8.05 16.437-5.368 30.861-12.748 43.608-22.811V384.53H360.342v33.544h63.4v49.311a111 111 0 0 1-25.83 11.07 124.6 124.6 0 0 1-32.203 4.026q-43.776 0-64.406-24.153c-12.747-15.095-19.12-36.899-19.12-65.077 0-29.52 7.044-51.994 21.468-68.096 13.083-15.43 30.862-22.81 53.337-22.81 18.114 0 32.874 3.69 43.943 11.405 10.735 7.715 18.115 19.12 21.469 34.551h39.583c-4.36-26.836-15.095-46.627-32.203-60.045-17.779-13.753-41.931-20.462-72.792-20.462m153.105 4.696V512h39.248V272.49zm89.689 0V512h39.265V405.998H756.1v-33.544H639.047v-66.42h124.115V272.49H599.8z"})}),tt=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"account_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M667.648 572.416c89.088-53.248 149.504-150.528 149.504-262.144C817.152 142.336 679.936 5.12 512 5.12S206.848 142.336 206.848 310.272c0 111.616 60.416 208.896 149.504 262.144C190.464 634.88 72.704 795.648 72.704 983.04c0 19.456 16.384 35.84 35.84 35.84s35.84-16.384 35.84-35.84c0-202.752 164.864-368.64 368.64-368.64 202.752 0 368.64 164.864 368.64 368.64 0 19.456 16.384 35.84 35.84 35.84s35.84-16.384 35.84-35.84c-2.048-187.392-119.808-348.16-285.696-410.624m-389.12-262.144C278.528 181.248 382.976 76.8 512 76.8s233.472 104.448 233.472 233.472S641.024 543.744 512 543.744 278.528 439.296 278.528 310.272"})}),te=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"add_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M512 10.24A501.76 501.76 0 1 0 1013.76 512 502.27 502.27 0 0 0 512 10.24m204.8 524.698H542.72v174.08h-61.44v-174.08H307.2v-61.44h174.08v-174.08h61.44v174.08H716.8z"})}),ta=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"agent_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"m399.104 456.852-97.085-72.816L92.16 523.94v249.564L298.947 911.36 547.84 775.598V289.495L704 195.799l156.16 93.696V442.02l-135.741 90.496-56.515-42.384-43.008 57.344 97.085 72.812L931.84 480.384V248.909L704 112.205 476.16 248.909v484.137l-173.507 94.638L163.84 735.14V562.304l135.741-90.496 56.515 42.388z"})}),ts=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"agent2_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M830.4 443.2H196.8c-48 0-86.4-38.4-86.4-86.4V113.6c0-48 38.4-86.4 86.4-86.4h633.6c48 0 86.4 38.4 86.4 86.4v243.2c0 46.4-38.4 86.4-86.4 86.4M196.8 100.8c-6.4 0-12.8 6.4-12.8 12.8v243.2c0 6.4 6.4 12.8 12.8 12.8h633.6c6.4 0 12.8-6.4 12.8-12.8V113.6c0-6.4-6.4-12.8-12.8-12.8zm700.8 486.4H131.2c-11.2 0-19.2-9.6-19.2-19.2v-33.6c0-11.2 9.6-19.2 19.2-19.2h766.4c11.2 0 19.2 9.6 19.2 19.2V568c0 9.6-9.6 19.2-19.2 19.2M164.8 1024h-33.6c-11.2 0-19.2-9.6-19.2-20.8v-296c0-11.2 9.6-19.2 19.2-19.2h33.6c11.2 0 19.2 9.6 19.2 19.2v297.6c0 9.6-9.6 19.2-19.2 19.2m243.2 0h-33.6c-11.2 0-19.2-9.6-19.2-20.8v-296c0-11.2 9.6-19.2 19.2-19.2H408c11.2 0 20.8 9.6 20.8 19.2v297.6c0 9.6-9.6 19.2-20.8 19.2m244.8 0h-33.6c-11.2 0-19.2-9.6-19.2-20.8v-296c0-11.2 9.6-19.2 19.2-19.2h33.6c11.2 0 19.2 9.6 19.2 19.2v297.6c0 9.6-8 19.2-19.2 19.2m243.2 0h-32c-11.2 0-20.8-9.6-20.8-20.8v-296c0-11.2 9.6-19.2 20.8-19.2h32c11.2 0 20.8 9.6 20.8 19.2v297.6c0 9.6-9.6 19.2-20.8 19.2"})}),to=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"back_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#020202",d:"M941.302 553.196H240.41l347.198 347.198-58.258 58.257L82.697 512 529.35 65.349l58.258 58.26L240.41 470.807h700.892zm-742.087-41.195.573.571v-1.144z"})}),tr=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"calendar_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M736.6 175.4h133.3c50 0 88.9 33.3 88.9 77.7V864c0 44.4-38.9 77.7-88.9 77.7H159.1c-50 0-88.9-33.3-88.9-77.7V253.2c0-44.4 38.9-77.7 88.9-77.7h133.3v-61.1c0-16.7 11.1-33.3 33.3-33.3 16.7 0 33.3 11.1 33.3 33.3v61.1h316.6v-61.1c0-16.7 11.1-33.3 33.3-33.3 16.7 0 33.3 11.1 33.3 33.3v61.1h-5.6zm0 61.1v61.1c0 16.7-11.1 33.3-33.3 33.3-16.7 0-33.3-11.1-33.3-33.3v-61.1H353.4v61.1c0 16.7-11.1 33.3-33.3 33.3-16.7 0-33.3-11.1-33.3-33.3v-61.1H170.2c-27.8 0-44.4 11.1-44.4 38.9v566.5c0 16.7 16.7 33.3 44.4 33.3h677.5c27.8 0 44.4-11.1 44.4-38.9V275.4c-5.6-27.8-27.8-38.9-50-38.9zM309 430.9h411c16.7 0 33.3 11.1 33.3 33.3q0 33.3-33.3 33.3H309c-16.7 0-33.3-11.1-33.3-33.3s16.6-33.3 33.3-33.3m0 188.8h411c16.7 0 33.3 11.1 33.3 33.3 0 16.7-11.1 33.3-33.3 33.3H309c-16.7 0-33.3-11.1-33.3-33.3q8.25-33.3 33.3-33.3m0 0"})}),tn=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"check_svg__icon",viewBox:"0 0 1024 1024",...t,children:[(0,e.jsx)("path",{d:"M873.329 273.06 560.23 586.127 355.471 381.358 307.2 429.63l253.03 253.03L921.6 321.332z"}),(0,e.jsx)("path",{d:"M781.2 558.264C758.773 705.731 631.5 819.2 477.87 819.2c-169.4 0-307.2-137.8-307.2-307.2s137.8-307.2 307.2-307.2c99.963 0 188.662 48.2 244.798 122.399l48.834-48.845C702.7 192.02 596.87 136.52 477.87 136.52 270.5 136.53 102.4 304.63 102.4 512c0 207.401 168.1 375.47 375.47 375.47 207.401 0 375.46-168.069 375.46-375.47 0-8.335-.696-16.466-1.229-24.637z"})]}),ti=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"close_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"m504.883 454.899 308.295-308.272a23.566 23.566 0 0 1 33.323 0l16.661 16.662a23.566 23.566 0 0 1 0 33.323L554.891 504.883l308.248 308.295a23.566 23.566 0 0 1 0 33.323l-16.662 16.661a23.566 23.566 0 0 1-33.323 0L504.883 554.891 196.612 863.139a23.566 23.566 0 0 1-33.323 0l-16.662-16.662a23.566 23.566 0 0 1 0-33.323L454.9 504.86 146.627 196.588a23.566 23.566 0 0 1 0-33.323l16.662-16.661a23.566 23.566 0 0 1 33.323 0l308.271 308.271z"})}),tl=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"create_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#262626",d:"M513.728 89.6a38.4 38.4 0 0 1 37.824 32.192l.512 6.272-.512 345.536H896a38.4 38.4 0 0 1 6.208 76.288L896 550.4H551.488L551.04 896a38.4 38.4 0 0 1-76.288 6.208l-.512-6.272.448-345.536H128a38.4 38.4 0 0 1-6.208-76.288L128 473.6h346.752l.512-345.6a38.4 38.4 0 0 1 38.4-38.4z"})}),tc=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:225.195,height:200,className:"cron_svg__icon",viewBox:"0 0 1153 1024",...t,children:(0,e.jsx)("path",{d:"M512.32 1023.974a511.95 511.95 0 1 1 458.138-741.496 11.996 11.996 0 0 1-10.778 17.425h-75.685a21.42 21.42 0 0 1-18.14-10.116 422 422 0 0 0-58.26-72.905 416.853 416.853 0 1 0 58.26 517.087 21.58 21.58 0 0 1 18.22-10.09h75.605a12.05 12.05 0 0 1 10.778 17.479 512.27 512.27 0 0 1-457.9 282.589zm-67.105-381.05V244.397h85.696V557.23h156.243v85.695zm362.803 0a10.593 10.593 0 0 1-10.46-10.434v-62.868a10.593 10.593 0 0 1 10.46-10.593h159.766a10.593 10.593 0 0 1 10.434 10.593v62.868a10.593 10.593 0 0 1-10.434 10.434zm0-178.064a10.593 10.593 0 0 1-10.46-10.434v-62.922a10.593 10.593 0 0 1 10.46-10.433h335.209a10.593 10.593 0 0 1 10.593 10.433v62.922a10.593 10.593 0 0 1-10.593 10.434z"})}),td=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"delay_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#232c3b",d:"M810.667 256v56.875h-92.459v142.25c.043 57.174-30.976 110.592-82.645 142.208 51.626 31.574 82.688 85.035 82.645 142.208v142.251h92.459v56.875H256v-56.875h92.459v-142.25c-.043-57.174 30.976-110.593 82.645-142.209-51.627-31.573-82.688-85.034-82.645-142.208v-142.25H256V256zM533.333 625.792h-.085c-68.053 0-123.179 50.944-123.179 113.75v142.25h246.528v-142.25c0-62.806-55.21-113.75-123.264-113.75m123.264-312.917h-246.57v142.25c0 62.806 55.125 113.707 123.178 113.75h.086c68.053 0 123.264-50.944 123.264-113.75v-142.25z"})}),th=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"detail_svg__icon",viewBox:"0 0 1024 1024",...t,children:[(0,e.jsx)("path",{d:"M621.585 950.877h-449.29c-54.798 0-99.197-44.4-99.197-99.198V172.396c0-54.799 44.4-99.298 99.198-99.298h679.183c26.4-.1 51.599 10.4 70.199 29.1 18.699 18.7 28.999 43.699 28.999 70.198l-1.5 449.189v.1c.2 20.2 16.7 36.499 36.899 36.299 19.9-.2 35.999-16.2 36.299-36.2l1.5-449.288v-.1C1023.875 77.198 946.777 0 851.679 0H172.296C77.198-.1.1 76.898 0 171.996v679.583c-.1 95.098 76.898 172.296 171.896 172.396h449.689c20.2 0 36.499-16.4 36.499-36.5s-16.3-36.598-36.5-36.598"}),(0,e.jsx)("path",{d:"M1013.275 961.577 873.78 822.08c70.298-98.898 47.199-235.994-51.7-306.393s-235.993-47.198-306.392 51.7-47.198 235.993 51.7 306.392c76.197 54.198 178.395 54.198 254.693 0l139.497 139.496c14.3 14.3 37.399 14.3 51.698 0s14.3-37.399 0-51.698M694.883 841.279c-80.798 0-146.296-65.498-146.296-146.296s65.498-146.396 146.396-146.396S841.28 614.085 841.28 694.983c0 38.8-15.4 75.998-42.898 103.498-27.4 27.399-64.599 42.898-103.498 42.798M804.68 329.492c20.2 0 36.5-16.5 36.5-36.6 0-20.199-16.4-36.698-36.5-36.698l-585.185-.2c-20.2 0-36.5 16.4-36.5 36.599 0 20.2 16.4 36.699 36.5 36.699zM438.89 548.687c20.199 0 36.498-16.4 36.498-36.5 0-20.199-16.4-36.499-36.499-36.499H219.495c-20.2 0-36.5 16.3-36.5 36.5s16.3 36.499 36.5 36.499zM219.494 694.883c-20.2 0-36.5 16.4-36.5 36.5 0 20.199 16.4 36.498 36.5 36.498H365.79c20.2.2 36.7-16 36.9-36.099.2-20.2-16-36.699-36.1-36.899z"})]}),tu=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"edit_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M573.68 114.568a28.13 28.13 0 0 1 39.756 0l133 133.36a28.13 28.13 0 0 1 .602 39.153L368.821 687.887a28.13 28.13 0 0 1-15.06 8.373l-192.15 38.068a28.13 28.13 0 0 1-32.768-34.273l44.635-180.526a28.13 28.13 0 0 1 7.409-13.13L573.62 114.506zM226.245 540.732 194.138 670.66l139.987-27.769 353.28-374.543-93.907-94.087-367.254 366.411zm385.144-192.21-98.484-93.907-39.756 39.454 99.69 95.352zm-466.04 537.66h699.934a28.13 28.13 0 0 0 0-56.2H145.348a28.13 28.13 0 1 0 0 56.2"})}),tm=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"edit2_svg__icon",viewBox:"0 0 1024 1024",...t,children:[(0,e.jsx)("path",{fill:"#2c2c2c",d:"M474.587 587.169c-11.453 0-22.906-4.37-31.647-13.112-17.483-17.482-17.483-45.838 0-63.294L930.18 23.522c17.482-17.482 45.812-17.482 63.295 0 17.482 17.482 17.482 45.838 0 63.294L506.234 574.057a44.62 44.62 0 0 1-31.647 13.112"}),(0,e.jsx)("path",{fill:"#2c2c2c",d:"M904.167 1017.197H122.202c-62.689 0-113.687-51-113.687-113.714V121.518c0-62.715 50.998-113.714 113.661-113.714l457.515.026c24.723 0 44.76 20.036 44.76 44.759s-20.037 44.759-44.76 44.759l-457.515-.026c-13.296 0-24.144 10.847-24.144 24.17v781.964c0 13.323 10.848 24.17 24.17 24.17h781.965c13.323 0 24.17-10.847 24.17-24.17V403.42c0-24.723 20.063-44.759 44.759-44.759 24.723 0 44.759 20.036 44.759 44.76v500.088c0 62.689-50.999 113.688-113.688 113.688"})]}),tv=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"file_svg__icon",viewBox:"0 0 1024 1024",...t,children:[(0,e.jsx)("path",{fill:"#666",d:"M842.667 285.867 654.933 98.133C640 83.2 622.933 76.8 601.6 76.8H234.667C194.133 74.667 160 108.8 160 149.333v725.334c0 40.533 34.133 74.666 74.667 74.666h554.666c40.534 0 74.667-34.133 74.667-74.666v-537.6c0-19.2-8.533-38.4-21.333-51.2m-44.8 44.8c-2.134 2.133-4.267 0-8.534 0H618.667c-6.4 0-10.667-4.267-10.667-10.667V149.333c0-2.133 0-6.4-2.133-8.533 0 0 2.133 0 2.133 2.133zm-8.534 554.666H234.667c-6.4 0-10.667-4.266-10.667-10.666V149.333c0-6.4 4.267-10.666 10.667-10.666h311.466c-2.133 4.266-2.133 6.4-2.133 10.666V320c0 40.533 34.133 74.667 74.667 74.667h170.666c4.267 0 6.4 0 10.667-2.134v482.134c0 6.4-4.267 10.666-10.667 10.666"}),(0,e.jsx)("path",{fill:"#666",d:"M640 693.333H341.333c-17.066 0-32 14.934-32 32s14.934 32 32 32H640c17.067 0 32-14.933 32-32s-14.933-32-32-32m0-170.666H341.333c-17.066 0-32 14.933-32 32s14.934 32 32 32H640c17.067 0 32-14.934 32-32s-14.933-32-32-32M341.333 416h85.334c17.066 0 32-14.933 32-32s-14.934-32-32-32h-85.334c-17.066 0-32 14.933-32 32s14.934 32 32 32"})]}),tp=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"html_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M750.933 755.456h-177.63c-14.42 0-26.112 12.476-26.112 27.87v168.619h28.434l175.308-191.506zm0-55.723V611.55c0-15.19 11.47-27.477 25.6-27.477s25.6 12.288 25.6 27.477v160.136c0 7.22-2.645 14.132-7.338 19.286L604.62 998.707a24.75 24.75 0 0 1-18.262 8.226H203.093c-65.024 0-117.76-56.627-117.76-126.48V143.53c0-69.837 52.736-126.464 117.76-126.464h481.28c65.024 0 117.76 56.627 117.76 126.48v48.93c0 15.19-11.468 27.478-25.6 27.478s-25.6-12.288-25.6-27.477V143.53c0-39.476-29.798-71.493-66.56-71.493h-481.28c-36.761 0-66.56 32.017-66.56 71.51v736.887c0 39.475 29.799 71.492 66.56 71.492h291.84V783.31c0-46.148 35.09-83.576 78.37-83.576zM252.655 263.51h36.318l-17.988 93.44c7.901-9.676 16.896-16.674 26.726-21.35 8.79-4.335 18.432-6.349 28.928-6.349 20.07 0 33.894 6.008 41.387 18.364 6.997 11.673 8.43 29.03 3.993 52.053L351.454 506.47h-36.318l19.285-100.113c2.816-14.677 2.134-26.043-1.792-33.706-4.778-8.363-13.243-12.357-25.668-12.357-11.469 0-21.282 4.677-29.457 14.012-8.482 9.353-13.91 21.026-16.742 35.72l-18.569 96.444h-36.318zm248.934 14.678-10.735 55.74h36.643l-6.042 31.368h-36.642l-18.774 97.45c-.75 4.011-.682 7.015.768 9.353 1.536 1.997 3.875 3.004 7.698 3.004h21.674l-6.058 31.368h-27.7c-14.336 0-24.08-4.01-29.235-12.015-4.95-7.338-6.144-17.68-3.447-31.71l18.773-97.45h-29.628l6.042-31.369h29.61l7.715-40.038zm151.143 51.063c24.217 0 39.611 9.353 46.523 28.04 9.711-10.683 19.081-18.022 28.143-22.015 8.09-4.011 17.716-6.025 28.86-6.025 16.896 0 29.816 5.683 38.963 17.698 8.534 12.015 11.298 27.358 7.63 46.387l-21.778 113.152h-36.318l20.497-106.478c2.646-13.688 1.707-23.689-2.56-29.696-4.505-6.35-12.85-9.353-25.6-9.353-8.909 0-16.896 3.345-24.354 10.684-7.714 6.997-12.459 16.69-14.882 29.354l-20.31 105.472H641.23l20.429-106.12c5.085-26.368-3.243-39.39-24.918-39.39-10.496 0-19.558 4.01-27.597 12.68a56.3 56.3 0 0 0-15.206 29.372L574.003 506.47h-36.3l33.211-172.544h36.318l-3.413 17.699c16.606-15.02 32.99-22.358 48.913-22.358zm232.891-65.74h36.318l-46.796 242.96h-36.301l46.762-242.96z"})}),tg=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"import_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#686c78",d:"M192.352 575.968v224a32 32 0 0 0 32 32H800a32 32 0 0 0 32-32v-224h64v224C896 852.96 852.96 896 800.064 896H224.32a96.096 96.096 0 0 1-95.968-96L128 575.968zM546.592 160v462.144l157.056-157.6 47.68 47.872L512.864 751.68 274.4 512.416l47.68-47.872 157.024 157.568.032-462.112z"})}),tf=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"java_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M742.4 755.456H564.77c-14.421 0-26.112 12.476-26.112 27.87v168.619h28.433L742.4 760.439zm0-55.723V611.55c0-15.19 11.469-27.477 25.6-27.477s25.6 12.288 25.6 27.477v160.136c0 7.22-2.645 14.132-7.339 19.286L596.087 998.707a24.75 24.75 0 0 1-18.26 8.226H194.56c-65.024 0-117.76-56.627-117.76-126.48V143.53c0-69.837 52.736-126.464 117.76-126.464h481.28c65.024 0 117.76 56.627 117.76 126.48v48.93c0 15.19-11.469 27.478-25.6 27.478s-25.6-12.288-25.6-27.477V143.53c0-39.476-29.798-71.493-66.56-71.493H194.56c-36.762 0-66.56 32.017-66.56 71.51v736.887c0 39.475 29.798 71.492 66.56 71.492H486.4V783.31c0-46.148 35.09-83.576 78.37-83.576zM336.947 256h40.329l-22.801 173.363c-3.874 29.423-12.561 50.961-26.164 65.314-15.086 15.07-36.761 22.614-65.365 22.614-24.815 0-42.837-7.168-53.692-21.538-11.212-14.354-15.155-34.1-11.86-59.222l1.091-8.243h40.329l-1.041 7.885c-3.874 29.44 6.246 44.151 30.72 44.151 13.448 0 24.013-4.3 31.3-12.56 7.288-8.261 12.134-21.539 14.54-39.851zm158.874 65.69c26.18 0 44.936 6.826 55.552 20.445 9.472 11.845 12.714 29.082 9.745 51.695l-15.582 118.443h-36.523l3.209-24.405a84.7 84.7 0 0 1-28.297 21.162c-12.083 5.393-25.907 8.26-41.403 8.26-18.62 0-32.427-5.017-41.848-14.71-9.71-10.07-13.568-22.614-11.537-38.06 2.73-20.82 12.459-36.966 29.764-48.076 15.89-10.77 36.984-16.52 63.266-17.238l39.083-1.075.956-7.168c3.208-24.405-7.987-36.266-33.485-36.266-11.042 0-19.883 1.792-27 6.11-8.191 4.659-14.318 11.844-17.663 21.538l-38.52-3.243c6.485-20.446 18.125-35.533 34.85-44.851 14.234-8.619 32.683-12.561 55.433-12.561m21.572 105.864-36.335 1.092c-31.454.717-48.47 12.203-51.405 34.44-.853 6.47.854 11.845 5.803 16.163 4.95 4.3 11.503 6.827 20.139 6.827 15.155 0 28.518-4.677 40.038-13.654 11.571-9.335 18.637-21.162 20.531-35.532zm76.34-100.847h42.734l25.037 134.588 60.433-134.588h42.735l-90.231 185.566h-39.288zm276.377-5.017c26.197 0 44.953 6.826 55.569 20.445 9.472 11.845 12.715 29.082 9.728 51.695l-15.565 118.443H883.32l3.192-24.405a84.7 84.7 0 0 1-28.28 21.162c-12.083 5.393-25.907 8.26-41.42 8.26-18.603 0-32.427-5.017-41.83-14.71-9.712-10.07-13.569-22.614-11.538-38.06 2.73-20.82 12.442-36.966 29.764-48.076 15.872-10.77 36.984-16.52 63.267-17.238l39.082-1.075.956-7.168c3.209-24.405-7.987-36.266-33.502-36.266-11.025 0-19.883 1.792-27 6.11-8.191 4.659-14.301 11.844-17.646 21.538l-38.52-3.243c6.486-20.446 18.108-35.533 34.85-44.851 14.234-8.619 32.683-12.561 55.416-12.561m21.59 105.864-36.353 1.092c-31.454.717-48.47 12.203-51.388 34.44-.853 6.47.854 11.845 5.803 16.163 4.95 4.3 11.503 6.827 20.122 6.827 15.172 0 28.535-4.677 40.055-13.654 11.571-9.335 18.637-21.162 20.531-35.532z"})}),tw=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"jpg_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M829.793 617.225H194.207v275.933c0 40.836 30.826 73.957 68.855 73.957h337.214V792.682c0-47.757 36.299-86.475 81.072-86.475h148.445zm52.966 0V780.64c0 7.468-2.737 14.619-7.592 19.95l-196.732 214.9a25.6 25.6 0 0 1-18.89 8.509H263.061c-67.266 0-121.82-58.58-121.82-130.842V617.225H88.275V176.552h52.965v-45.71C141.241 58.58 195.796 0 263.062 0h497.876c67.266 0 121.82 58.58 121.82 130.842v45.71h52.966v440.673zm-52.966-440.673v-45.71c0-40.836-30.826-73.957-68.855-73.957H263.062c-38.03 0-68.855 33.121-68.855 73.975v45.692zM654.318 960.689l175.475-191.683v-5.155H681.348c-14.936 0-27.012 12.906-27.012 28.83V960.69zm-360.006-688.2v160.68q0 25.663-9.057 37.235c-6.038 7.716-15.766 11.741-28.849 11.741-23.817 0-35.557-13.753-35.557-41.26v-7.38h-39.266v7.715q0 35.222 19.121 55.35c12.412 13.417 30.861 20.126 55.014 20.126 27.842 0 47.969-7.044 60.716-21.133 11.405-13.418 17.108-33.545 17.108-61.052V272.49h-39.248zm89.688 0V512h39.265v-91.913h59.374c58.368 0 87.552-24.823 87.552-74.134 0-48.975-29.184-73.463-86.88-73.463zm39.265 33.546h57.026c17.108 0 29.838 3.019 37.906 9.392 8.05 6.038 12.412 16.102 12.412 30.526q0 21.636-12.077 31.197c-8.05 6.038-20.797 9.392-38.24 9.392h-57.027zm287.956-38.241c-35.558 0-63.735 12.076-84.533 36.899-19.791 23.146-29.52 52.665-29.52 88.558 0 35.558 9.71 64.742 29.52 87.217 21.133 24.152 50.653 36.228 88.894 36.228 21.468 0 40.589-2.683 58.032-8.05 16.42-5.368 30.862-12.748 43.609-22.811V384.53H714.575v33.544h63.383v49.311a111 111 0 0 1-25.812 11.07 124.6 124.6 0 0 1-32.203 4.026c-29.184 0-50.67-8.051-64.406-24.153-12.747-15.095-19.121-36.899-19.121-65.077 0-29.52 7.044-51.994 21.469-68.096 13.065-15.43 30.86-22.81 53.318-22.81 18.132 0 32.892 3.69 43.962 11.405 10.734 7.715 18.114 19.12 21.468 34.551h39.583c-4.36-26.836-15.095-46.627-32.203-60.045-17.779-13.753-41.93-20.462-72.792-20.462"})}),ty=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"js_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M819.2 755.456H641.57c-14.438 0-26.112 12.476-26.112 27.87v168.619h28.433L819.2 760.439zm0-55.723V611.55c0-15.19 11.469-27.477 25.6-27.477s25.6 12.288 25.6 27.477v160.136c0 7.22-2.645 14.132-7.339 19.286L672.887 998.707a24.75 24.75 0 0 1-18.26 8.226H271.36c-65.024 0-117.76-56.627-117.76-126.48V143.53c0-69.837 52.736-126.464 117.76-126.464h481.28c65.024 0 117.76 56.627 117.76 126.48v48.93c0 15.19-11.469 27.478-25.6 27.478s-25.6-12.288-25.6-27.477V143.53c0-39.476-29.798-71.493-66.56-71.493H271.36c-36.762 0-66.56 32.017-66.56 71.51v736.887c0 39.475 29.798 71.492 66.56 71.492H563.2V783.31c0-46.148 35.09-83.576 78.37-83.576zm-369.374-421.41h43.93l-20.65 181.35c-3.5 30.789-12.46 53.317-26.932 68.336-16.06 15.77-39.492 23.654-70.656 23.654-27.034 0-46.814-7.51-59-22.528-12.56-15.019-17.34-35.67-14.353-61.952l.99-8.636h43.93l-.939 8.26c-3.516 30.789 7.868 46.183 34.526 46.183 14.643 0 26.044-4.506 33.792-13.141s12.698-22.528 14.882-41.677zm262.178-5.256c31.54 0 55.603 6.383 71.749 19.524 17.186 13.892 25.6 35.67 24.9 64.956h-43.554c-1.878-16.52-7.646-28.536-16.59-35.67-8.908-7.509-23.551-10.888-43.075-10.888-16.896 0-29.918 2.253-39.476 7.134-11.912 5.632-18.244 15.018-19.695 27.784-1.28 11.264 3.67 20.65 15.65 27.41 5.291 3.003 20.054 8.635 43.93 16.52 35.158 11.264 57.395 20.275 67.226 26.282 21.692 13.893 31.146 33.042 28.33 57.822-2.73 24.03-14.301 43.179-34.645 57.071-20.31 13.517-47.787 20.65-81.954 20.65-33.041 0-58.231-6.382-75.179-19.148-20.719-15.77-30.293-40.55-28.28-74.718h43.555c.683 20.275 6.144 34.919 16.81 43.554 9.66 7.51 25.345 11.64 47.497 11.64 19.524 0 35.67-3.38 47.667-9.762 12.032-6.759 19.013-15.394 20.31-26.658 1.621-14.268-5.735-25.532-21.317-33.792-4.949-2.629-21.538-8.636-50.176-17.647-31.846-10.513-51.643-18.023-59.016-22.528-19.234-12.39-27.324-30.413-24.627-54.068 2.696-23.654 14.592-42.427 36.403-55.944 20.275-13.141 44.646-19.524 73.557-19.524"})}),tx=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"json_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M742.4 755.456H564.77c-14.438 0-26.112 12.476-26.112 27.87v168.619h28.433L742.4 760.439zm0-55.723V611.55c0-15.19 11.469-27.477 25.6-27.477s25.6 12.288 25.6 27.477v160.136c0 7.22-2.645 14.132-7.339 19.286L596.087 998.707a24.75 24.75 0 0 1-18.26 8.226H194.56c-65.024 0-117.76-56.627-117.76-126.48V143.53c0-69.837 52.736-126.464 117.76-126.464h481.28c65.024 0 117.76 56.627 117.76 126.48v48.93c0 15.19-11.469 27.478-25.6 27.478s-25.6-12.288-25.6-27.477V143.53c0-39.476-29.798-71.493-66.56-71.493H194.56c-36.762 0-66.56 32.017-66.56 71.51v736.887c0 39.475 29.798 71.492 66.56 71.492H486.4V783.31c0-46.148 35.09-83.576 78.37-83.576zM289.058 294.571h33.383l-15.582 153.275c-2.646 26.027-9.438 45.056-20.43 57.754-12.185 13.33-29.985 20.002-53.674 20.002-20.548 0-35.6-6.349-44.868-19.046-9.557-12.698-13.193-30.14-10.94-52.36l.734-7.305h33.4l-.717 6.997c-2.646 26.01 6.024 39.014 26.282 39.014 11.128 0 19.798-3.805 25.669-11.093 5.888-7.304 9.642-19.046 11.28-35.226zm144.128-4.438c23.979 0 42.257 5.393 54.545 16.504 13.073 11.742 19.473 30.14 18.944 54.903H473.6c-1.434-13.977-5.82-24.132-12.63-30.157-6.775-6.348-17.902-9.198-32.733-9.198-12.851 0-22.733 1.911-30.003 6.024-9.046 4.779-13.859 12.698-14.95 23.484-.974 9.523 2.798 17.459 11.912 23.176 4.027 2.526 15.24 7.288 33.4 13.96 26.709 9.507 43.622 17.136 51.097 22.205 16.503 11.741 23.705 27.938 21.572 48.879-2.048 20.309-10.837 36.488-26.3 48.23-15.428 11.435-36.3 17.46-62.276 17.46-25.105 0-44.254-5.394-57.14-16.197-15.769-13.312-23.04-34.27-21.537-63.147h33.11c.511 17.135 4.692 29.526 12.8 36.813 7.338 6.349 19.25 9.83 36.095 9.83 14.848 0 27.102-2.85 36.216-8.243 9.147-5.717 14.455-13.005 15.428-22.528 1.212-12.066-4.37-21.59-16.214-28.57-3.771-2.218-16.384-7.287-38.16-14.916-24.201-8.874-39.254-15.223-44.869-19.029-14.626-10.479-20.787-25.702-18.74-45.705 2.032-19.985 11.06-35.84 27.632-47.274 15.394-11.094 33.928-16.504 55.893-16.504zm207.224 0c31.112 0 54.528 11.094 70.212 33.622 14.95 21.282 20.65 49.527 17.1 84.428-3.55 34.902-14.95 62.823-34.235 84.088q-30.362 33.33-77.005 33.331c-31.403 0-54.784-11.435-70.212-33.638-14.933-21.59-20.36-49.51-16.88-83.798 3.517-34.577 14.627-62.498 33.964-84.07 19.985-22.87 45.653-33.963 77.039-33.963zm-3.243 32.683c-21.129 0-38.195 7.936-51.507 23.808-12.68 15.223-20.173 35.533-22.818 61.56-2.612 25.702.75 46.011 10.325 61.252 9.847 15.53 25.583 23.466 46.694 23.466 21.129 0 38.161-7.611 51.098-22.528 12.63-14.916 20.446-35.532 23.16-62.19s-.871-47.617-10.445-62.84c-9.865-15.223-25.396-22.528-46.507-22.528m131.84-28.245h33.382L886.511 458h1.143l16.606-163.43h33.673l-23.04 226.577h-32.53l-85.008-165.65h-1.144l-16.845 165.65h-33.382l23.04-226.577z"})}),tb=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"layout_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M331.05 85.333h361.9c34.346 0 62.72 0 85.76 1.878 24.02 1.962 46.08 6.186 66.773 16.725a170.67 170.67 0 0 1 74.581 74.581c10.539 20.694 14.763 42.752 16.725 66.731 1.878 23.125 1.878 51.456 1.878 85.76v361.941c0 34.347 0 62.72-1.878 85.76-1.962 24.022-6.186 46.08-16.725 66.774a170.67 170.67 0 0 1-74.581 74.581c-20.694 10.539-42.752 14.763-66.731 16.725-23.083 1.878-51.456 1.878-85.76 1.878H331.008c-34.347 0-62.72 0-85.76-1.878-24.021-1.962-46.08-6.186-66.773-16.725a170.67 170.67 0 0 1-74.582-74.581c-10.538-20.694-14.762-42.752-16.725-66.731-1.835-23.125-1.835-51.456-1.835-85.76V331.008c0-34.347 0-62.72 1.878-85.76 1.962-24.021 6.186-46.08 16.725-66.773a170.67 170.67 0 0 1 74.581-74.582c20.694-10.538 42.752-14.762 66.731-16.725 23.125-1.835 51.456-1.835 85.76-1.835zm95.617 768H691.2c36.565 0 61.397 0 80.597-1.621 18.688-1.493 28.288-4.267 34.944-7.68a85.33 85.33 0 0 0 37.291-37.29c3.413-6.657 6.187-16.214 7.68-34.945 1.579-19.2 1.621-44.032 1.621-80.597V332.8c0-36.565 0-61.397-1.621-80.597-1.493-18.688-4.267-28.288-7.68-34.944a85.33 85.33 0 0 0-37.29-37.291c-6.657-3.413-16.214-6.187-34.945-7.68-19.2-1.621-44.032-1.621-80.597-1.621H426.667zm-85.334-682.666H332.8c-36.565 0-61.397 0-80.597 1.621-18.688 1.493-28.288 4.267-34.944 7.68a85.33 85.33 0 0 0-37.291 37.29c-3.413 6.657-6.187 16.214-7.68 34.945-1.621 19.2-1.621 44.032-1.621 80.597v358.4c0 36.565 0 61.397 1.621 80.597 1.493 18.688 4.267 28.288 7.68 34.944a85.33 85.33 0 0 0 37.29 37.291c6.657 3.413 16.214 6.187 34.945 7.68 19.2 1.621 44.032 1.621 80.597 1.621h8.533z"})}),tk=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"library_svg__icon",viewBox:"0 0 1024 1024",...t,children:[(0,e.jsx)("path",{d:"M197.632 80.896H92.16c-51.2 0-92.16 40.96-92.16 92.16v672.768c0 51.2 40.96 92.16 92.16 92.16h105.472c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 38.912-39.936 38.912H92.16c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 17.408-39.936 39.936-39.936h105.472c21.504 0 39.936 17.408 39.936 39.936zM540.672 80.896H434.176c-51.2 0-92.16 40.96-92.16 92.16V844.8c0 51.2 41.984 92.16 92.16 92.16h106.496c51.2 0 92.16-40.96 92.16-92.16V173.056c0-51.2-40.96-92.16-92.16-92.16m39.936 764.928c0 21.504-17.408 39.936-39.936 39.936H434.176c-21.504 0-39.936-17.408-39.936-39.936V173.056c0-21.504 18.432-39.936 39.936-39.936h106.496c21.504 0 39.936 17.408 39.936 39.936zm442.368-17.408-102.4-669.696c-7.168-48.128-51.2-82.944-99.328-77.824L731.136 92.16c-22.528 3.072-43.008 14.336-56.32 32.768-14.336 19.456-20.48 44.032-16.384 67.584l102.4 669.696c6.144 45.056 44.032 77.824 89.088 78.848h11.264l90.112-13.312c22.528-3.072 43.008-14.336 56.32-32.768 13.312-17.408 19.456-41.984 15.36-66.56m-59.392 36.864c-5.12 7.168-13.312 11.264-21.504 12.288l-90.112 11.264c-20.48 1.024-37.888-13.312-40.96-33.792l-102.4-669.696c-2.048-10.24 0-21.504 6.144-29.696 5.12-7.168 13.312-11.264 21.504-12.288l90.112-11.264h4.096c18.432 1.024 33.792 15.36 36.864 33.792l102.4 670.72c2.048 10.24 0 20.48-6.144 28.672"}),(0,e.jsx)("path",{d:"M105.472 446.464h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624m343.04 0h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624h-78.848c-14.336 0-26.624 12.288-26.624 26.624 0 15.36 12.288 26.624 26.624 26.624M184.32 578.56h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624S199.68 578.56 184.32 578.56m343.04 0h-78.848c-14.336 0-26.624 12.288-26.624 26.624s12.288 26.624 26.624 26.624h78.848c14.336 0 26.624-12.288 26.624-26.624s-12.288-26.624-26.624-26.624"})]}),tM=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"mcp_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M424.64 115.392A170.432 170.432 0 0 1 714.304 254.4a166.464 166.464 0 0 1 137.728 282.752l-307.84 307.712 94.912 94.848a36.736 36.736 0 0 1-51.712 51.84L466.624 870.784a36.544 36.544 0 0 1 0-51.712l333.568-333.568a93.312 93.312 0 0 0-131.648-132.096l-3.008 2.88v.128L428.352 592.96a36.544 36.544 0 0 1-56.064-5.44c-.576-.768-.96-1.664-1.472-2.432a36.3 36.3 0 0 1-4.352-23.68l.32-1.92a36.4 36.4 0 0 1 5.12-12.608l4.8-5.76 236.992-236.416 6.72-7.488A97.28 97.28 0 0 0 476.288 167.04L136.576 507.008a36.544 36.544 0 0 1-51.712-51.712l339.84-339.84zm94.912 94.4a36.544 36.544 0 0 1 51.008 52.352L329.024 497.856a98.368 98.368 0 1 0 138.624 139.52l240.64-243.584a36.672 36.672 0 0 1 52.096 51.328l-240.64 243.584A171.584 171.584 0 1 1 277.952 445.44z"})}),tz=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"more_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fillOpacity:.9,d:"M512 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 320a64 64 0 1 0 0-128 64 64 0 0 0 0 128m64 256a64 64 0 1 1-128 0 64 64 0 0 1 128 0"})}),tj=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:304.688,height:200,className:"noData_svg__icon",viewBox:"0 0 1560 1024",...t,children:[(0,e.jsx)("path",{fill:"#f5f5f5",d:"M780.19 999.619c430.885 0 780.191-76.41 780.191-170.667s-349.306-170.666-780.19-170.666c-270.385 0-508.66 30.086-648.631 75.8C48.47 761.222 0 793.844 0 828.952 0 923.21 349.306 999.62 780.19 999.62"}),(0,e.jsx)("path",{fill:"#d9d9d9",d:"M1046.114 12.19H514.267c-22.625 0-43.739 13.751-57.831 36.401L207.238 330.898v242.054h1145.905V330.898L1102.75 46.982c-12.921-21.04-34.035-34.792-56.66-34.792zm0 24.381 3.364.195c12.386 1.341 24.65 10.07 33.768 24.698l245.516 278.65v208.457H231.619V340.066L475.916 63.098c11.167-17.603 24.869-26.527 38.351-26.527z"}),(0,e.jsx)("path",{fill:"#d9d9d9",d:"M491.52 329.143H207.238V783.53l.098 5.388c2.34 55.881 38.497 100.986 84.016 100.986h977.677l4.388-.147c45.52-3.242 79.726-50.468 79.726-106.227V329.143H1068.86l-3.95.146c-34.718 2.877-60.562 37.45-62.415 78.848l-.22 9.021c-1.487 30.988-20.748 54.638-42.252 54.638H600.357l-2.926-.122c-20.139-1.634-37.693-24.503-39.302-53.955l-.244-9.753c-2.072-43.593-30.354-78.823-66.365-78.823M231.619 783.287V353.524H491.52c21.382 0 40.497 23.82 42.008 55.296l.098 4.437c0 43.252 26.673 79.872 62.318 82.75l3.925.17h360.155c36.035 0 64.537-34.987 66.61-78.141l.121-4.779c0-32.231 18.261-57.856 39.668-59.636l2.926-.097h259.413V783.53c0 44.056-25.795 79.677-56.637 81.895l-3.51.098H291.351c-30.866 0-57.831-33.646-59.635-77.361z"}),(0,e.jsx)("path",{fill:"#fafafa",d:"M473.43 353.524c29.403 0 53.101 30.793 53.101 68.145v.487c0 37.376 48.347 67.535 77.75 67.535H956.1c29.403 0 77.775-30.427 77.775-67.95 0-37.35 23.674-68.217 53.078-68.217h241.81V775.63c0 49.372-31.5 89.893-70.34 89.893H301.959c-38.839 0-70.339-40.521-70.339-89.893V353.524z"})]}),tH=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"pdf_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M829.793 617.225H194.207v275.933c0 40.836 30.826 73.957 68.855 73.957h337.214V792.682c0-47.757 36.299-86.475 81.072-86.475h148.445zm52.966 0V780.64c0 7.468-2.737 14.619-7.592 19.95l-196.732 214.9a25.6 25.6 0 0 1-18.89 8.509H263.061c-67.266 0-121.82-58.58-121.82-130.842V617.225H88.275V176.552h52.965v-45.71C141.241 58.58 195.796 0 263.062 0h497.876c67.266 0 121.82 58.58 121.82 130.842v45.71h52.966v440.673zm-52.966-440.673v-45.71c0-40.836-30.826-73.957-68.855-73.957H263.062c-38.03 0-68.855 33.121-68.855 73.975v45.692zM654.318 960.689l175.475-191.683v-5.155H681.348c-14.936 0-27.012 12.906-27.012 28.83V960.69zm-454.285-688.2V512h39.248v-91.913h59.374c58.368 0 87.552-24.823 87.552-74.134 0-48.975-29.184-73.463-86.881-73.463zm39.248 33.546h57.026c17.108 0 29.855 3.019 37.905 9.392 8.051 6.038 12.412 16.102 12.412 30.526q0 21.636-12.076 31.197c-8.05 6.038-20.798 9.392-38.241 9.392H239.28zm183.966-33.545V512H510.8c38.912 0 68.096-10.734 88.223-32.203 19.12-20.462 28.849-49.646 28.849-87.552 0-38.241-9.728-67.425-28.849-87.552-20.127-21.469-49.31-32.203-88.223-32.203h-87.57zm39.248 33.545h40.925c29.837 0 51.659 6.709 65.412 20.462 13.418 13.418 20.127 35.558 20.127 65.748q0 44.28-20.127 65.412c-13.771 13.754-35.558 20.798-65.412 20.798h-40.925zm205.77-33.545V512h39.248V405.998h117.054v-33.544H707.513v-66.42H831.63V272.49H668.25z"})}),tV=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"play_svg__icon",viewBox:"0 0 1024 1024",...t,children:[(0,e.jsx)("path",{d:"M852.041 463.39 248.715 59.274a58.4 58.4 0 0 0-32.534-9.904c-9.45 0-27.663 2.282-36.293 6.905-19.061 10.167-39.702 30.018-39.702 51.61v808.228c0 21.607 20.64 41.443 39.702 51.61 8.645 4.608 22.484 6.905 31.92 6.905 11.395 0 24.955-3.336 34.757-9.904L851.017 560.61c16.223-10.855 26.536-29.096 26.536-48.611s-9.289-37.756-25.512-48.61M198.7 916.113V107.886L802.1 512z"}),(0,e.jsx)("path",{d:"M685.992 498.659a14.687 14.687 0 0 0 20.32-4.008 14.643 14.643 0 0 0-4.024-20.305L407.435 276.86a14.629 14.629 0 1 0-16.296 24.313zM340.743 267.425a14.614 14.614 0 0 0 20.305-4.008 14.66 14.66 0 0 0-4.008-20.305l-70.569-47.25a14.643 14.643 0 0 0-16.296 24.313z"})]}),t_=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"refresh_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M960 416V192l-73.056 73.056a447.71 447.71 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.06 448.06 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584c-205.024 0-371.232-166.208-371.232-371.232S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416z"})}),tC=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"server_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M219.58 57.006C147.793 73.896 73.896 147.794 57.005 219.58 27.447 361.04 133.014 485.61 268.14 485.61h217.468V259.694C479.274 128.792 356.816 27.447 219.58 57.006m211.133 373.707H268.14c-90.787 0-164.684-73.897-162.573-164.684 2.111-86.565 73.897-158.35 160.462-160.462 90.787-2.111 164.684 71.786 164.684 162.573zm536.28-211.134c-16.89-73.897-88.675-147.793-162.572-162.573-137.237-29.559-259.695 71.786-263.918 202.689v225.913h217.468c133.015 0 238.582-124.569 209.023-266.029M591.176 268.14c0-90.787 73.897-164.684 164.685-162.573 88.676 2.111 158.35 71.786 160.462 160.462 2.111 90.787-71.786 164.684-162.574 164.684H591.175zM57.006 804.42c16.89 73.898 88.676 147.794 162.573 162.574 137.237 29.559 259.695-71.786 263.918-202.689V538.392H268.14c-135.126 0-240.693 124.569-211.134 266.029m373.707-48.56c0 90.787-73.897 164.684-164.684 162.573-88.676-2.111-158.35-71.786-160.462-160.462-2.111-90.787 71.786-164.684 162.573-164.684h162.573zM755.86 538.392H538.392v225.913c6.334 130.903 126.68 232.248 263.917 202.689 73.897-16.89 147.794-88.676 162.573-162.573 31.67-141.46-73.896-266.03-209.022-266.03m162.573 219.58c-2.111 88.675-71.786 158.35-160.462 160.461-90.787 2.111-164.684-71.786-164.684-162.573V593.287H755.86c90.787 0 162.573 73.897 162.573 164.684m0 0"})}),tN=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:212.5,height:200,className:"skill_svg__icon",viewBox:"0 0 1088 1024",...t,children:(0,e.jsx)("path",{d:"M370.24 127.232c16.384-44.736 79.68-44.672 96.128 0L556.8 373.504l246.208 90.432c44.8 16.384 44.8 79.68 0 96.128L556.8 650.496 466.368 896.64c-16.448 44.8-79.744 44.8-96.128 0l-90.432-246.208L33.536 560c-44.736-16.448-44.736-79.744 0-96.128l246.272-90.432 90.432-246.272zm-22.464 283.84a51.2 51.2 0 0 1-30.4 30.4L125.44 512l192 70.528a51.2 51.2 0 0 1 28.16 25.28l2.24 5.12 70.528 191.936 70.528-192 2.176-5.12a51.2 51.2 0 0 1 28.16-25.216l192-70.528-192-70.528a51.2 51.2 0 0 1-30.336-30.4l-70.528-192-70.528 192zM756.608 32.64a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.68l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.616l-80-29.376a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552l29.376-80zm0 700.672a12.8 12.8 0 0 1 24 0l29.44 80a12.8 12.8 0 0 0 7.552 7.616l80 29.376a12.8 12.8 0 0 1 0 24l-80 29.44a12.8 12.8 0 0 0-7.616 7.552l-29.376 80a12.8 12.8 0 0 1-24 0l-29.44-80a12.8 12.8 0 0 0-7.552-7.552l-80-29.44a12.8 12.8 0 0 1 0-24l80-29.44a12.8 12.8 0 0 0 7.616-7.552z"})}),tL=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"stop_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#333",d:"M847.9 170.6c4.4 0 8 3.6 8 8v670c0 4.4-3.6 8-8 8h-670c-4.4 0-8-3.6-8-8v-670c0-4.4 3.6-8 8-8zm0-72h-670c-44.2 0-80 35.8-80 80v670c0 44.2 35.8 80 80 80h670c44.2 0 80-35.8 80-80v-670c0-44.2-35.8-80-80-80"})}),tE=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"svg_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M759.467 755.456h-177.63c-14.422 0-26.112 12.476-26.112 27.87v168.619h28.433l175.309-191.506zm0-55.723V611.55c0-15.19 11.468-27.477 25.6-27.477s25.6 12.288 25.6 27.477v160.136c0 7.22-2.646 14.132-7.339 19.286L613.154 998.707a24.75 24.75 0 0 1-18.261 8.226H211.627c-65.024 0-117.76-56.627-117.76-126.48V143.53c0-69.837 52.736-126.464 117.76-126.464h481.28c65.024 0 117.76 56.627 117.76 126.48v48.93c0 15.19-11.47 27.478-25.6 27.478s-25.6-12.288-25.6-27.477V143.53c0-39.476-29.799-71.493-66.56-71.493h-481.28c-36.762 0-66.56 32.017-66.56 71.51v736.887c0 39.475 29.798 71.492 66.56 71.492h291.84V783.31c0-46.148 35.089-83.576 78.37-83.576zm-410.47-426.666c28.774 0 50.21 5.82 63.88 17.817 14.558 12.68 20.463 32.546 17.442 59.273h-39.765c-.342-15.07-4.643-26.044-12.22-32.546-7.51-6.861-20.6-9.933-38.417-9.933-15.428 0-27.478 2.048-36.608 6.502-11.332 5.137-17.869 13.705-20.224 25.361-2.082 10.274 1.655 18.842 12.049 25.003 4.59 2.73 17.579 7.885 38.741 15.087 31.164 10.274 50.74 18.5 59.222 23.979 18.653 12.68 25.736 30.14 21.162 52.753-4.454 21.93-16.572 39.424-36.266 52.087-19.627 12.34-45.295 18.842-76.46 18.842-30.156 0-52.616-5.82-67.037-17.477-17.647-14.387-24.371-37-19.746-68.18h39.731c-1.007 18.5 2.799 31.863 11.81 39.747 8.21 6.861 22.187 10.616 42.394 10.616 17.817 0 32.836-3.072 44.288-8.909 11.537-6.161 18.602-14.046 20.702-24.32 2.645-13.022-3.158-23.296-16.709-30.84-4.3-2.389-18.944-7.884-44.356-16.093-28.194-9.592-45.653-16.453-52.02-20.566-16.554-11.298-22.459-27.75-18.09-49.322 4.386-21.607 16.777-38.742 37.769-51.064 19.592-12.015 42.325-17.817 68.744-17.817zm122.504 4.795h43.52l26.692 199.407h1.024L650.36 277.862h43.52L557.21 522.496h-48.298zm356.437-4.795c31.522 0 54.801 6.86 70.11 20.906 14.694 13.705 21.555 33.912 20.446 61.32H878.08c-.239-15.752-5.41-27.408-14.78-35.293-9.71-7.868-24.013-11.64-42.513-11.64-22.954 0-42.65 7.527-59.221 23.297-18.057 16.452-29.9 39.406-36.01 69.546-5.855 28.792-3.858 51.064 6.024 66.475 10.718 16.452 30.976 24.661 60.791 24.661 11.64 0 22.87-1.365 33.724-4.096a140.4 140.4 0 0 0 28.672-11.315l10.223-50.364h-64.768l6.963-34.27h104.84l-20.99 103.476a180 180 0 0 1-49.272 23.296c-18.927 5.495-39.014 8.226-60.928 8.226-39.083 0-66.73-12.34-83.302-37-15.565-22.955-19.456-52.77-12.083-89.089 7.44-36.659 23.5-66.799 48.503-90.453 26.385-25.344 57.685-37.683 93.986-37.683"})}),tB=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"task_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"m259.413 120.036-149.22 106.666-49.606-69.404L209.92 50.63l49.607 69.405zM814.08 50.63l149.39 106.667-49.607 69.404-149.276-106.666 49.607-69.405zM78.28 554.667a433.778 433.778 0 1 1 867.555 0 433.778 433.778 0 0 1-867.556 0M512 206.222a348.444 348.444 0 1 0 0 696.89 348.444 348.444 0 0 0 0-696.89m-47.787 356.125V327.623h85.334v217.145l153.258 153.316-60.302 60.302-165.831-165.774a42.67 42.67 0 0 1-12.516-30.152z"})}),tS=t=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:201.172,height:200,className:"team_svg__icon",viewBox:"0 0 1030 1024",...t,children:[(0,e.jsx)("path",{d:"M478.469 722.217a33.531 33.531 0 1 0 67.062 0 33.531 33.531 0 1 0-67.062 0m0 116.07a33.531 33.531 0 1 0 67.062 0 33.531 33.531 0 1 0-67.062 0"}),(0,e.jsx)("path",{d:"M515.869 188.292c-112.201 0-203.768 91.567-203.768 205.058 0 73.511 38.69 137.995 96.725 174.106-137.995 49.007-242.458 189.582-242.458 344.342 0 14.187 11.607 25.794 25.793 25.794s25.794-11.607 25.794-25.794c0-159.919 130.257-299.204 283.728-312.1 5.158 0 7.738-1.29 12.896-1.29s7.738 0 11.607-1.29c107.043-3.869 193.451-94.146 193.451-203.768 0-113.491-91.566-205.058-203.768-205.058m0 358.53h-6.448c-81.25-3.87-145.733-70.933-145.733-153.472 0-85.118 68.352-153.47 152.181-153.47S668.05 308.231 668.05 393.35c0 83.829-68.352 153.471-152.181 153.471"}),(0,e.jsx)("path",{d:"M220.534 469.44c10.317 0 19.345-6.448 24.504-16.765 5.158-12.897-1.29-28.373-14.187-33.531-50.297-20.635-83.828-68.353-83.828-123.809 0-73.511 59.325-132.836 131.546-132.836 30.952 0 60.615 10.317 83.829 30.952 10.317 9.028 27.083 7.738 36.11-3.87 9.029-10.317 7.739-27.082-3.868-36.11-32.242-27.083-74.801-42.56-117.36-42.56-100.595 0-183.134 82.54-183.134 184.424 0 76.09 45.139 143.154 116.07 171.526 3.87 1.29 6.449 2.58 10.318 2.58M709.32 651.285c-10.317 10.317-10.317 25.793 0 36.11 67.063 68.353 100.594 143.154 100.594 223.114 0 14.186 11.607 25.793 25.794 25.793S861.5 924.695 861.5 910.51c0-94.146-38.69-181.844-116.07-259.224-10.318-10.318-25.794-10.318-36.111 0M98.015 527.476C36.111 595.83 0 684.816 0 773.804c0 14.186 11.607 25.793 25.793 25.793s25.794-11.607 25.794-25.793c0-76.091 30.952-152.182 83.829-211.507 9.027-10.317 9.027-27.083-1.29-36.11-10.317-10.318-27.083-9.028-36.11 1.29m755.747-76.092c51.587-33.531 83.829-90.277 83.829-154.76 0-101.884-82.54-184.423-184.423-184.423-45.139 0-87.698 16.765-121.23 46.428-10.317 9.027-11.607 25.793-2.579 36.11s25.794 11.608 36.111 2.58c24.504-20.635 55.456-33.532 87.698-33.532 73.511 0 132.836 59.325 132.836 132.837 0 56.745-36.11 107.043-88.987 126.388-10.318 2.579-24.504 5.158-28.373 16.765-5.159 12.897 1.29 27.083 14.186 32.242 112.202 49.008 190.872 167.658 190.872 288.887 0 14.186 11.607 25.793 25.793 25.793s25.794-11.607 25.794-25.793c-1.29-123.809-69.643-242.459-171.527-309.522"})]}),tA=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:215.43,height:200,className:"teams_svg__icon",viewBox:"0 0 1103 1024",...t,children:(0,e.jsx)("path",{d:"M995.146 703.015a136.665 136.665 0 0 0-159.035 15.754L770.89 680.96V494.277a54.11 54.11 0 0 0-27.097-46.868L576.41 350.996v-82.55a137.846 137.846 0 1 0-88.616 0v82.55L320.41 447.409a54.11 54.11 0 0 0-27.097 46.868V680.88l-65.22 37.81a136.665 136.665 0 0 0-158.957-15.754 138.08 138.08 0 0 0-50.491 188.18 136.82 136.82 0 0 0 187.313 50.412 137.85 137.85 0 0 0 66.009-146.196l59.864-34.816 173.056 99.643a54.51 54.51 0 0 0 54.194 0l172.898-99.564 59.943 34.816a138.08 138.08 0 0 0 66.009 146.274 136.743 136.743 0 0 0 187.313-50.412 138.004 138.004 0 0 0-50.097-188.259m-828.337 170.3a58.604 58.604 0 0 1-80.266-21.583 59.077 59.077 0 0 1 21.583-80.66 58.604 58.604 0 0 1 80.266 21.662 59.077 59.077 0 0 1-21.583 80.66zm306.097-735.469a59.077 59.077 0 1 1 118.154 0 59.077 59.077 0 0 1-118.154 0m209.211 549.18-150.134 86.488-150.134-86.489v-172.82l150.134-86.488 150.134 86.489zM977.423 851.81a58.683 58.683 0 0 1-80.266 21.662 59.156 59.156 0 0 1-21.504-80.58 58.683 58.683 0 0 1 80.187-21.662 59.077 59.077 0 0 1 21.583 80.58"})}),tT=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"think_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M511.918 175.478c207.219-156.15 402.214-219.73 479.297-142.71l4.48 4.799c69.98 80.123 5.76 271.407-147.19 474.434 156.15 207.218 219.761 402.214 142.71 479.297l-4.8 4.48c-80.122 69.947-271.438 5.76-474.497-147.19-207.187 156.085-402.119 219.697-479.17 142.678l-4.48-4.8c-69.947-80.154-5.791-271.438 147.16-474.433C19.308 304.846-44.303 109.883 32.715 32.83l4.8-4.48c80.123-69.98 271.343-5.823 474.402 147.127m295.597 388.647a1766 1766 0 0 1-115.833 127.608l-24.894 24.415a1747 1747 0 0 1-102.714 91.418c65.596 48.22 128.952 86.138 186.197 112.153 55.516 25.214 102.01 37.853 137.175 39.933 35.23 2.144 51.26-6.4 58.492-13.631 7.2-7.232 15.775-23.263 13.663-58.492-2.112-35.166-14.719-81.66-39.997-137.176-25.983-57.212-63.868-120.6-112.09-186.228m-591.098 0c-48.221 65.596-86.075 128.984-112.09 186.196-25.246 55.517-37.853 102.01-39.965 137.176-2.112 35.23 6.432 51.26 13.663 58.492 7.232 7.2 23.263 15.775 58.493 13.631 35.133-2.112 81.658-14.719 137.175-39.933 57.18-26.015 120.504-63.932 186.1-112.121A1766 1766 0 0 1 332.25 691.733l-24.382-24.862a1747 1747 0 0 1-91.45-102.714zm295.565-307.5a1691 1691 0 0 0-134.39 120.953 1690 1690 0 0 0-121.048 134.456 1690 1690 0 0 0 120.952 134.423 1691 1691 0 0 0 134.392 120.952 1691 1691 0 0 0 134.52-120.952 1691 1691 0 0 0 120.92-134.423A1691 1691 0 0 0 646.372 377.64a1690 1690 0 0 0-134.39-120.95zm0 191.412a64.028 64.028 0 1 1 0 128.088 64.028 64.028 0 0 1 0-128.088M136.486 64.413c-35.23-2.112-51.261 6.464-58.46 13.695-7.232 7.2-15.808 23.23-13.696 58.46 2.112 35.134 14.72 81.66 39.998 137.208 25.982 57.18 63.868 120.536 112.089 186.132a1747 1747 0 0 1 91.45-102.713l24.382-24.895a1766 1766 0 0 1 127.576-115.833c-65.596-48.22-128.952-86.074-186.132-112.088-55.549-25.247-102.074-37.854-137.207-39.966m750.992-.032c-35.166 2.112-81.691 14.72-137.207 39.966-57.213 26.014-120.569 63.9-186.229 112.152a1748 1748 0 0 1 102.746 91.419l24.894 24.414a1766 1766 0 0 1 115.833 127.544c48.22-65.596 86.138-128.952 112.153-186.132 25.246-55.549 37.853-102.074 39.965-137.207 2.112-35.23-6.495-51.261-13.695-58.46-7.231-7.232-23.23-15.808-58.46-13.696"})}),tF=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"tool_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M938.667 981.333H85.333C38.4 981.333 0 942.933 0 896V298.667c0-46.934 38.4-85.334 85.333-85.334h192V128c0-46.933 38.4-85.333 85.334-85.333h298.666c46.934 0 85.334 38.4 85.334 85.333v85.333h192c46.933 0 85.333 38.4 85.333 85.334V896c0 46.933-38.4 85.333-85.333 85.333m-277.334-832c0-12.8-8.533-21.333-21.333-21.333H384c-12.8 0-21.333 8.533-21.333 21.333v64h298.666zM938.667 320c0-12.8-8.534-21.333-21.334-21.333H106.667c-12.8 0-21.334 8.533-21.334 21.333v128h213.334c17.066 0 32 10.667 38.4 23.467L388.267 576H633.6l51.2-104.533C691.2 456.533 706.133 448 723.2 448h213.333V320zm0 213.333H750.933l-51.2 104.534c-6.4 14.933-21.333 23.466-38.4 23.466H362.667c-17.067 0-32-10.666-38.4-23.466l-51.2-104.534H85.333v341.334c0 12.8 8.534 21.333 21.334 21.333h810.666c12.8 0 21.334-8.533 21.334-21.333z"})}),tD=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"user_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{d:"M427.4 526.6c-3.8 0-7.4-.8-11-2.2C330.2 488 274.6 404 274.6 310.6c0-128 104.2-232 232-232s232 104.2 232 232c0 90.6-53.2 173.4-135.6 211.2-14.4 6.6-31.2.2-37.8-14-6.6-14.4-.2-31.2 14.2-37.8 62.2-28.4 102.4-91 102.4-159.4 0-96.6-78.6-175-175-175s-175 78.6-175 175c0 70.6 42 133.8 107 161.2 14.4 6.2 21.2 22.8 15.2 37.4-5 11-15.6 17.4-26.6 17.4m230.4 412-492.6-.4c-31 0-59.2-15.4-75.6-41.2-15.8-24.8-17.6-55.4-5.2-82 43.2-92.2 156.4-247.6 429.2-251.8C794 558.2 896 724.6 932 823.6c9.4 26 5.6 54-10.4 77-16.6 23.8-44.2 38-73.8 38h-71.2c-15.8 0-28.6-12.8-28.6-28.6s12.8-28.6 28.6-28.6h71.2c11 0 21-5.2 27-13.6 3-4.4 7.6-13.4 3.6-25C841 739.2 746.4 616.2 514.6 620 284.8 623.8 182 741.4 136 839.2c-4.2 9-3.6 19 1.8 27.2 5.8 9.2 16.2 14.6 27.6 14.6l492.4.4c15.8 0 28.4 12.8 28.4 28.6.2 16-12.6 28.6-28.4 28.6"})}),tR=t=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"xml_svg__icon",viewBox:"0 0 1024 1024",...t,children:(0,e.jsx)("path",{fill:"#979797",d:"M733.867 755.456h-177.63c-14.422 0-26.112 12.476-26.112 27.87v168.619h28.433l175.309-191.506zm0-55.723V611.55c0-15.19 11.468-27.477 25.6-27.477s25.6 12.288 25.6 27.477v160.136c0 7.22-2.646 14.132-7.339 19.286L587.554 998.707a24.75 24.75 0 0 1-18.261 8.226H186.027c-65.024 0-117.76-56.627-117.76-126.48V143.53c0-69.837 52.736-126.464 117.76-126.464h481.28c65.024 0 117.76 56.627 117.76 126.48v48.93c0 15.19-11.47 27.478-25.6 27.478s-25.6-12.288-25.6-27.477V143.53c0-39.476-29.799-71.493-66.56-71.493h-481.28c-36.762 0-66.56 32.017-66.56 71.51v736.887c0 39.475 29.798 71.492 66.56 71.492h291.84V783.31c0-46.148 35.089-83.576 78.37-83.576zm-493.142-409.6h47.156l44.595 83.115 66.201-83.115h47.156L351.539 403.9l68.915 121.685H373.3l-48.828-91.016-72.533 91.016H204.8L304.725 403.9zm252.058 0h45.175l56.099 184.662h1.314l103.85-184.662h45.176l-30.652 235.452h-38.57l21.11-162.236h-1.313l-90.385 162.236H571.29L523.162 363.35h-1.332l-21.11 162.235h-38.59zm314.71 0h38.263l-26.385 202.48h127.3l-4.3 32.972H776.822z"})});t.s(["Account",()=>tt,"Add",()=>te,"Agent",()=>ta,"Agent2",()=>ts,"Back",()=>to,"Calendar",()=>tr,"Check",()=>tn,"Close",()=>ti,"Create",()=>tl,"Cron",()=>tc,"Delay",()=>td,"Detail",()=>th,"Edit",()=>tu,"Edit2",()=>tm,"File",()=>tv,"Gif",()=>Q,"Html",()=>tp,"Import",()=>tg,"Java",()=>tf,"Jpg",()=>tw,"Js",()=>ty,"Json",()=>tx,"Layout",()=>tb,"Library",()=>tk,"Mcp",()=>tM,"More",()=>tz,"NoData",()=>tj,"Pdf",()=>tH,"Play",()=>tV,"Refresh",()=>t_,"Server",()=>tC,"Skill",()=>tN,"Stop",()=>tL,"Svg",()=>tE,"Task",()=>tB,"Team",()=>tS,"Teams",()=>tA,"Think",()=>tT,"Tool",()=>tF,"User",()=>tD,"Xml",()=>tR],49542),t.i(88137);let tP=Object.fromEntries(Object.entries(t.i(49542)).map(t=>{let[e,a]=t;return[e,{component:a,mode:"fill"}]})),tI=Object.fromEntries(Object.entries({Brackets:i,Check:l,CheckCircle2:c,CheckIcon:l,ChevronDown:d,ChevronLeft:h,ChevronRight:u,ChevronRightIcon:u,ChevronUp:m,ChevronsDown:v,ChevronsUp:p,CircleAlert:g,CircleCheckBig:f,CircleX:w,Clipboard:y,Compass:x,Copy:b,Dot:k,Download:M,File:z,FilePenLine:j,FileText:H,Folder:V,FolderOpen:_,Gavel:C,History:N,Info:L,List:E,Loader2:B,MousePointer2:S,Maximize2:A,MessageCircleQuestion:T,Minimize2:F,MoreHorizontal:D,Pause:R,Play:P,Plus:I,RefreshCw:q,Search:Y,Settings:U,ShieldCheck:O,Trash2:X,Timer:K,Upload:J,UserCircle:W,Wrench:Z,X:G,XCircle:w,Zap:$}).map(t=>{let[e,a]=t;return[e,{component:a,mode:"stroke"}]})),tq={...tP,...tI,SkillNav:{component:function(t){return(0,e.jsxs)("svg",{viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,e.jsx)("path",{d:"M13.04 7.304a.5.5 0 0 1 .92.392C13.665 8.386 13.089 9 12.3 9c-.487 0-.892-.234-1.2-.574-.309.34-.713.574-1.2.574-.486 0-.892-.234-1.2-.574-.31.34-.714.574-1.2.574a.5.5 0 0 1 0-1c.212 0 .52-.18.74-.696a.5.5 0 0 1 .92 0c.221.516.528.696.74.696.213 0 .52-.18.74-.696l.035-.067a.5.5 0 0 1 .885.067c.22.516.527.696.74.696s.519-.18.74-.696"}),(0,e.jsx)("path",{fillRule:"evenodd",d:"M14 3a2 2 0 0 1 2 2v8h1.5a.5.5 0 0 1 .5.5V15a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4H4a1 1 0 0 0-.745 1.667.5.5 0 0 1-.745.666A2 2 0 0 1 4 3zM6 15a1 1 0 1 0 2 0v-1.5a.5.5 0 0 1 .5-.5H15V5a1 1 0 0 0-1-1H6zm3 0c0 .365-.1.706-.27 1H16a1 1 0 0 0 1-1v-1H9z",clipRule:"evenodd"})]})},mode:"fill"}};function tY(t){let{name:a,size:s=16,color:o="currentColor",className:r,strokeWidth:n=2}=t,i=tq[a];if(!i)return null;let l=i.component;return"stroke"===i.mode?(0,e.jsx)(l,{size:s,color:o,strokeWidth:n,"aria-hidden":"true",className:r}):(0,e.jsx)(l,{width:s,height:s,color:o,fill:o,"aria-hidden":"true",className:r})}},13354,t=>{"use strict";t.s(["AppToaster",()=>j,"appToast",()=>z],13354);var e=t.i(18050),a=t.i(72064),s=t.i(71645),o=t.i(74080);let r=Array(12).fill(0),n=t=>{let{visible:e,className:a}=t;return s.default.createElement("div",{className:["sonner-loading-wrapper",a].filter(Boolean).join(" "),"data-visible":e},s.default.createElement("div",{className:"sonner-spinner"},r.map((t,e)=>s.default.createElement("div",{className:"sonner-loading-bar",key:"spinner-bar-".concat(e)}))))},i=s.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.default.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),l=s.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},s.default.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),c=s.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),d=s.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),h=s.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},s.default.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s.default.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),u=1,m=new class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:a,...s}=t,o="number"==typeof(null==t?void 0:t.id)||(null==(e=t.id)?void 0:e.length)>0?t.id:u++,r=this.toasts.find(t=>t.id===o),n=void 0===t.dismissible||t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),r?this.toasts=this.toasts.map(e=>e.id===o?(this.publish({...e,...t,id:o,title:a}),{...e,...t,id:o,dismissible:n,title:a}):e):this.addToast({title:a,...s,dismissible:n,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(e=>e({id:t,dismiss:!0})))):this.toasts.forEach(t=>{this.subscribers.forEach(e=>e({id:t.id,dismiss:!0}))}),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{let a,o;if(!e)return;void 0!==e.loading&&(o=this.create({...e,promise:t,type:"loading",message:e.loading,description:"function"!=typeof e.description?e.description:void 0}));let r=Promise.resolve(t instanceof Function?t():t),n=void 0!==o,i=r.then(async t=>{if(a=["resolve",t],s.default.isValidElement(t))n=!1,this.create({id:o,type:"default",message:t});else if(v(t)&&!t.ok){n=!1;let a="function"==typeof e.error?await e.error("HTTP error! status: ".concat(t.status)):e.error,r="function"==typeof e.description?await e.description("HTTP error! status: ".concat(t.status)):e.description,i="object"!=typeof a||s.default.isValidElement(a)?{message:a}:a;this.create({id:o,type:"error",description:r,...i})}else if(t instanceof Error){n=!1;let a="function"==typeof e.error?await e.error(t):e.error,r="function"==typeof e.description?await e.description(t):e.description,i="object"!=typeof a||s.default.isValidElement(a)?{message:a}:a;this.create({id:o,type:"error",description:r,...i})}else if(void 0!==e.success){n=!1;let a="function"==typeof e.success?await e.success(t):e.success,r="function"==typeof e.description?await e.description(t):e.description,i="object"!=typeof a||s.default.isValidElement(a)?{message:a}:a;this.create({id:o,type:"success",description:r,...i})}}).catch(async t=>{if(a=["reject",t],void 0!==e.error){n=!1;let a="function"==typeof e.error?await e.error(t):e.error,r="function"==typeof e.description?await e.description(t):e.description,i="object"!=typeof a||s.default.isValidElement(a)?{message:a}:a;this.create({id:o,type:"error",description:r,...i})}}).finally(()=>{n&&(this.dismiss(o),o=void 0),null==e.finally||e.finally.call(e)}),l=()=>new Promise((t,e)=>i.then(()=>"reject"===a[0]?e(a[1]):t(a[1])).catch(e));return"string"!=typeof o&&"number"!=typeof o?{unwrap:l}:Object.assign(o,{unwrap:l})},this.custom=(t,e)=>{let a=(null==e?void 0:e.id)||u++;return this.create({jsx:t(a),id:a,...e}),a},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},v=t=>t&&"object"==typeof t&&"ok"in t&&"boolean"==typeof t.ok&&"status"in t&&"number"==typeof t.status,p=Object.assign((t,e)=>{let a=(null==e?void 0:e.id)||u++;return m.addToast({title:t,...e,id:a}),a},{success:m.success,info:m.info,warning:m.warning,error:m.error,custom:m.custom,message:m.message,promise:m.promise,dismiss:m.dismiss,loading:m.loading},{getHistory:()=>m.toasts,getToasts:()=>m.getActiveToasts()});function g(t){return void 0!==t.label}function f(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];return e.filter(Boolean).join(" ")}!function(t){if(!t||"undefined"==typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",e.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let w=t=>{var e,a,o,r,u,m,v,p,w,y,x;let{invert:b,toast:k,unstyled:M,interacting:z,setHeights:j,visibleToasts:H,heights:V,index:_,toasts:C,expanded:N,removeToast:L,defaultRichColors:E,closeButton:B,style:S,cancelButtonStyle:A,actionButtonStyle:T,className:F="",descriptionClassName:D="",duration:R,position:P,gap:I,expandByDefault:q,classNames:Y,icons:U,closeButtonAriaLabel:O="Close toast"}=t,[X,K]=s.default.useState(null),[J,W]=s.default.useState(null),[Z,G]=s.default.useState(!1),[$,Q]=s.default.useState(!1),[tt,te]=s.default.useState(!1),[ta,ts]=s.default.useState(!1),[to,tr]=s.default.useState(!1),[tn,ti]=s.default.useState(0),[tl,tc]=s.default.useState(0),td=s.default.useRef(k.duration||R||4e3),th=s.default.useRef(null),tu=s.default.useRef(null),tm=0===_,tv=_+1<=H,tp=k.type,tg=!1!==k.dismissible,tf=k.className||"",tw=k.descriptionClassName||"",ty=s.default.useMemo(()=>V.findIndex(t=>t.toastId===k.id)||0,[V,k.id]),tx=s.default.useMemo(()=>{var t;return null!=(t=k.closeButton)?t:B},[k.closeButton,B]),tb=s.default.useMemo(()=>k.duration||R||4e3,[k.duration,R]),tk=s.default.useRef(0),tM=s.default.useRef(0),tz=s.default.useRef(0),tj=s.default.useRef(null),[tH,tV]=P.split("-"),t_=s.default.useMemo(()=>V.reduce((t,e,a)=>a>=ty?t:t+e.height,0),[V,ty]),tC=(()=>{let[t,e]=s.default.useState(document.hidden);return s.default.useEffect(()=>{let t=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),t})(),tN=k.invert||b,tL="loading"===tp;tM.current=s.default.useMemo(()=>ty*I+t_,[ty,t_]),s.default.useEffect(()=>{td.current=tb},[tb]),s.default.useEffect(()=>{G(!0)},[]),s.default.useEffect(()=>{let t=tu.current;if(t){let e=t.getBoundingClientRect().height;return tc(e),j(t=>[{toastId:k.id,height:e,position:k.position},...t]),()=>j(t=>t.filter(t=>t.toastId!==k.id))}},[j,k.id]),s.default.useLayoutEffect(()=>{if(!Z)return;let t=tu.current,e=t.style.height;t.style.height="auto";let a=t.getBoundingClientRect().height;t.style.height=e,tc(a),j(t=>t.find(t=>t.toastId===k.id)?t.map(t=>t.toastId===k.id?{...t,height:a}:t):[{toastId:k.id,height:a,position:k.position},...t])},[Z,k.title,k.description,j,k.id,k.jsx,k.action,k.cancel]);let tE=s.default.useCallback(()=>{Q(!0),ti(tM.current),j(t=>t.filter(t=>t.toastId!==k.id)),setTimeout(()=>{L(k)},200)},[k,L,j,tM]);s.default.useEffect(()=>{let t;if((!k.promise||"loading"!==tp)&&k.duration!==1/0&&"loading"!==k.type)return N||z||tC?(()=>{if(tz.current<tk.current){let t=new Date().getTime()-tk.current;td.current=td.current-t}tz.current=new Date().getTime()})():td.current!==1/0&&(tk.current=new Date().getTime(),t=setTimeout(()=>{null==k.onAutoClose||k.onAutoClose.call(k,k),tE()},td.current)),()=>clearTimeout(t)},[N,z,k,tp,tC,tE]),s.default.useEffect(()=>{k.delete&&(tE(),null==k.onDismiss||k.onDismiss.call(k,k))},[tE,k.delete]);let tB=k.icon||(null==U?void 0:U[tp])||(t=>{switch(t){case"success":return i;case"info":return c;case"warning":return l;case"error":return d;default:return null}})(tp);return s.default.createElement("li",{tabIndex:0,ref:tu,className:f(F,tf,null==Y?void 0:Y.toast,null==k||null==(e=k.classNames)?void 0:e.toast,null==Y?void 0:Y.default,null==Y?void 0:Y[tp],null==k||null==(a=k.classNames)?void 0:a[tp]),"data-sonner-toast":"","data-rich-colors":null!=(y=k.richColors)?y:E,"data-styled":!(k.jsx||k.unstyled||M),"data-mounted":Z,"data-promise":!!k.promise,"data-swiped":to,"data-removed":$,"data-visible":tv,"data-y-position":tH,"data-x-position":tV,"data-index":_,"data-front":tm,"data-swiping":tt,"data-dismissible":tg,"data-type":tp,"data-invert":tN,"data-swipe-out":ta,"data-swipe-direction":J,"data-expanded":!!(N||q&&Z),"data-testid":k.testId,style:{"--index":_,"--toasts-before":_,"--z-index":C.length-_,"--offset":"".concat($?tn:tM.current,"px"),"--initial-height":q?"auto":"".concat(tl,"px"),...S,...k.style},onDragEnd:()=>{te(!1),K(null),tj.current=null},onPointerDown:t=>{2!==t.button&&!tL&&tg&&(th.current=new Date,ti(tM.current),t.target.setPointerCapture(t.pointerId),"BUTTON"!==t.target.tagName&&(te(!0),tj.current={x:t.clientX,y:t.clientY}))},onPointerUp:()=>{var t,e,a,s,o;if(ta||!tg)return;tj.current=null;let r=Number((null==(t=tu.current)?void 0:t.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),n=Number((null==(e=tu.current)?void 0:e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),i=new Date().getTime()-(null==(a=th.current)?void 0:a.getTime()),l="x"===X?r:n,c=Math.abs(l)/i;if(Math.abs(l)>=45||c>.11){ti(tM.current),null==k.onDismiss||k.onDismiss.call(k,k),"x"===X?W(r>0?"right":"left"):W(n>0?"down":"up"),tE(),ts(!0);return}null==(s=tu.current)||s.style.setProperty("--swipe-amount-x","0px"),null==(o=tu.current)||o.style.setProperty("--swipe-amount-y","0px"),tr(!1),te(!1),K(null)},onPointerMove:e=>{var a,s,o,r;if(!tj.current||!tg||(null==(a=window.getSelection())?void 0:a.toString().length)>0)return;let n=e.clientY-tj.current.y,i=e.clientX-tj.current.x,l=null!=(r=t.swipeDirections)?r:function(t){let[e,a]=t.split("-"),s=[];return e&&s.push(e),a&&s.push(a),s}(P);!X&&(Math.abs(i)>1||Math.abs(n)>1)&&K(Math.abs(i)>Math.abs(n)?"x":"y");let c={x:0,y:0},d=t=>1/(1.5+Math.abs(t)/20);if("y"===X){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&n<0||l.includes("bottom")&&n>0)c.y=n;else{let t=n*d(n);c.y=Math.abs(t)<Math.abs(n)?t:n}}else if("x"===X&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&i<0||l.includes("right")&&i>0)c.x=i;else{let t=i*d(i);c.x=Math.abs(t)<Math.abs(i)?t:i}(Math.abs(c.x)>0||Math.abs(c.y)>0)&&tr(!0),null==(s=tu.current)||s.style.setProperty("--swipe-amount-x","".concat(c.x,"px")),null==(o=tu.current)||o.style.setProperty("--swipe-amount-y","".concat(c.y,"px"))}},tx&&!k.jsx&&"loading"!==tp?s.default.createElement("button",{"aria-label":O,"data-disabled":tL,"data-close-button":!0,onClick:tL||!tg?()=>{}:()=>{tE(),null==k.onDismiss||k.onDismiss.call(k,k)},className:f(null==Y?void 0:Y.closeButton,null==k||null==(o=k.classNames)?void 0:o.closeButton)},null!=(x=null==U?void 0:U.close)?x:h):null,(tp||k.icon||k.promise)&&null!==k.icon&&((null==U?void 0:U[tp])!==null||k.icon)?s.default.createElement("div",{"data-icon":"",className:f(null==Y?void 0:Y.icon,null==k||null==(r=k.classNames)?void 0:r.icon)},k.promise||"loading"===k.type&&!k.icon?k.icon||function(){var t,e;return(null==U?void 0:U.loading)?s.default.createElement("div",{className:f(null==Y?void 0:Y.loader,null==k||null==(e=k.classNames)?void 0:e.loader,"sonner-loader"),"data-visible":"loading"===tp},U.loading):s.default.createElement(n,{className:f(null==Y?void 0:Y.loader,null==k||null==(t=k.classNames)?void 0:t.loader),visible:"loading"===tp})}():null,"loading"!==k.type?tB:null):null,s.default.createElement("div",{"data-content":"",className:f(null==Y?void 0:Y.content,null==k||null==(u=k.classNames)?void 0:u.content)},s.default.createElement("div",{"data-title":"",className:f(null==Y?void 0:Y.title,null==k||null==(m=k.classNames)?void 0:m.title)},k.jsx?k.jsx:"function"==typeof k.title?k.title():k.title),k.description?s.default.createElement("div",{"data-description":"",className:f(D,tw,null==Y?void 0:Y.description,null==k||null==(v=k.classNames)?void 0:v.description)},"function"==typeof k.description?k.description():k.description):null),s.default.isValidElement(k.cancel)?k.cancel:k.cancel&&g(k.cancel)?s.default.createElement("button",{"data-button":!0,"data-cancel":!0,style:k.cancelButtonStyle||A,onClick:t=>{g(k.cancel)&&tg&&(null==k.cancel.onClick||k.cancel.onClick.call(k.cancel,t),tE())},className:f(null==Y?void 0:Y.cancelButton,null==k||null==(p=k.classNames)?void 0:p.cancelButton)},k.cancel.label):null,s.default.isValidElement(k.action)?k.action:k.action&&g(k.action)?s.default.createElement("button",{"data-button":!0,"data-action":!0,style:k.actionButtonStyle||T,onClick:t=>{g(k.action)&&(null==k.action.onClick||k.action.onClick.call(k.action,t),t.defaultPrevented||tE())},className:f(null==Y?void 0:Y.actionButton,null==k||null==(w=k.classNames)?void 0:w.actionButton)},k.action.label):null)};function y(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let t=document.documentElement.getAttribute("dir");return"auto"!==t&&t?t:window.getComputedStyle(document.documentElement).direction}let x=s.default.forwardRef(function(t,e){let{id:a,invert:r,position:n="bottom-right",hotkey:i=["altKey","KeyT"],expand:l,closeButton:c,className:d,offset:h,mobileOffset:u,theme:v="light",richColors:p,duration:g,style:f,visibleToasts:x=3,toastOptions:b,dir:k=y(),gap:M=14,icons:z,containerAriaLabel:j="Notifications"}=t,[H,V]=s.default.useState([]),_=s.default.useMemo(()=>a?H.filter(t=>t.toasterId===a):H.filter(t=>!t.toasterId),[H,a]),C=s.default.useMemo(()=>Array.from(new Set([n].concat(_.filter(t=>t.position).map(t=>t.position)))),[_,n]),[N,L]=s.default.useState([]),[E,B]=s.default.useState(!1),[S,A]=s.default.useState(!1),[T,F]=s.default.useState("system"!==v?v:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),D=s.default.useRef(null),R=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=s.default.useRef(null),I=s.default.useRef(!1),q=s.default.useCallback(t=>{V(e=>{var a;return(null==(a=e.find(e=>e.id===t.id))?void 0:a.delete)||m.dismiss(t.id),e.filter(e=>{let{id:a}=e;return a!==t.id})})},[]);return s.default.useEffect(()=>m.subscribe(t=>{if(t.dismiss)return void requestAnimationFrame(()=>{V(e=>e.map(e=>e.id===t.id?{...e,delete:!0}:e))});setTimeout(()=>{o.default.flushSync(()=>{V(e=>{let a=e.findIndex(e=>e.id===t.id);return -1!==a?[...e.slice(0,a),{...e[a],...t},...e.slice(a+1)]:[t,...e]})})})}),[H]),s.default.useEffect(()=>{if("system"!==v)return void F(v);if("system"===v&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),"undefined"==typeof window)return;let t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",t=>{let{matches:e}=t;e?F("dark"):F("light")})}catch(e){t.addListener(t=>{let{matches:e}=t;try{e?F("dark"):F("light")}catch(t){console.error(t)}})}},[v]),s.default.useEffect(()=>{H.length<=1&&B(!1)},[H]),s.default.useEffect(()=>{let t=t=>{var e,a;i.every(e=>t[e]||t.code===e)&&(B(!0),null==(a=D.current)||a.focus()),"Escape"===t.code&&(document.activeElement===D.current||(null==(e=D.current)?void 0:e.contains(document.activeElement)))&&B(!1)};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[i]),s.default.useEffect(()=>{if(D.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,I.current=!1)}},[D.current]),s.default.createElement("section",{ref:e,"aria-label":"".concat(j," ").concat(R),tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map((e,a)=>{var o;let[n,i]=e.split("-");return _.length?s.default.createElement("ol",{key:e,dir:"auto"===k?y():k,tabIndex:-1,ref:D,className:d,"data-sonner-toaster":!0,"data-sonner-theme":T,"data-y-position":n,"data-x-position":i,style:{"--front-toast-height":"".concat((null==(o=N[0])?void 0:o.height)||0,"px"),"--width":"".concat(356,"px"),"--gap":"".concat(M,"px"),...f,...function(t,e){let a={};return[t,e].forEach((t,e)=>{let s=1===e,o=s?"--mobile-offset":"--offset",r=s?"16px":"24px";function n(t){["top","right","bottom","left"].forEach(e=>{a["".concat(o,"-").concat(e)]="number"==typeof t?"".concat(t,"px"):t})}"number"==typeof t||"string"==typeof t?n(t):"object"==typeof t?["top","right","bottom","left"].forEach(e=>{void 0===t[e]?a["".concat(o,"-").concat(e)]=r:a["".concat(o,"-").concat(e)]="number"==typeof t[e]?"".concat(t[e],"px"):t[e]}):n(r)}),a}(h,u)},onBlur:t=>{I.current&&!t.currentTarget.contains(t.relatedTarget)&&(I.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:t=>{!(t.target instanceof HTMLElement&&"false"===t.target.dataset.dismissible)&&(I.current||(I.current=!0,P.current=t.relatedTarget))},onMouseEnter:()=>B(!0),onMouseMove:()=>B(!0),onMouseLeave:()=>{S||B(!1)},onDragEnd:()=>B(!1),onPointerDown:t=>{t.target instanceof HTMLElement&&"false"===t.target.dataset.dismissible||A(!0)},onPointerUp:()=>A(!1)},_.filter(t=>!t.position&&0===a||t.position===e).map((a,o)=>{var n,i;return s.default.createElement(w,{key:a.id,icons:z,index:o,toast:a,defaultRichColors:p,duration:null!=(n=null==b?void 0:b.duration)?n:g,className:null==b?void 0:b.className,descriptionClassName:null==b?void 0:b.descriptionClassName,invert:r,visibleToasts:x,closeButton:null!=(i=null==b?void 0:b.closeButton)?i:c,interacting:S,position:e,style:null==b?void 0:b.style,unstyled:null==b?void 0:b.unstyled,classNames:null==b?void 0:b.classNames,cancelButtonStyle:null==b?void 0:b.cancelButtonStyle,actionButtonStyle:null==b?void 0:b.actionButtonStyle,closeButtonAriaLabel:null==b?void 0:b.closeButtonAriaLabel,removeToast:q,toasts:_.filter(t=>t.position==a.position),heights:N.filter(t=>t.position==a.position),setHeights:L,expandByDefault:l,gap:M,expanded:E,swipeDirections:t.swipeDirections})})):null}))}),b={info:"!bg-[#E7F4FF] !border !border-solid !border-[#1677FF] !text-[#1C1E1F]",success:"!bg-[#F6FFED] !border !border-solid !border-[#52C51A] !text-[#1C1E1F]",error:"!bg-[#FFF3F1] !border !border-solid !border-[#FF4D50] !text-[#1C1E1F]",warning:"!bg-[#FFFBE6] !border !border-solid !border-[#FAAD14] !text-[#1C1E1F]"},k={info:(0,e.jsx)(a.default,{name:"Info",size:16,className:"!text-[#1677FF]"}),success:(0,e.jsx)(a.default,{name:"CircleCheckBig",size:16,className:"!text-[#52C51A]"}),error:(0,e.jsx)(a.default,{name:"CircleX",size:16,className:"!text-[#FF4D50]"}),warning:(0,e.jsx)(a.default,{name:"CircleAlert",size:16,className:"!text-[#FAAD14]"})};function M(t,e,a){var s,o;return p(e,{...a,className:"!rounded-md !p-3 !shadow-none ".concat(b[t]," ").concat(null!=(s=null==a?void 0:a.className)?s:""),icon:null!=(o=null==a?void 0:a.icon)?o:k[t]})}let z={info:(t,e)=>M("info",t,e),success:(t,e)=>M("success",t,e),error:(t,e)=>M("error",t,e),warning:(t,e)=>M("warning",t,e)};function j(){return(0,e.jsx)(x,{position:"top-center",toastOptions:{duration:3e3,classNames:{toast:"!max-w-[400px] !w-fit !min-w-0",icon:"!mr-1",title:"!font-normal"}}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51419,e=>{"use strict";e.s(["AppTabs",()=>ea,"AppTabsPanel",()=>el],51419);var t=e.i(18050),n=e.i(71645),i=e.i(75157);e.s(["Indicator",()=>j,"List",()=>Q,"Panel",()=>z,"Root",()=>b,"Tab",()=>T],32532),e.s([],93115),e.i(93115),e.i(47167);var r=e.i(94349),a=e.i(977),l=e.i(76477),o=e.i(69095),u=e.i(39060),s=e.i(67805);let c=n.createContext(void 0);function d(){let e=n.useContext(c);if(void 0===e)throw Error((0,s.default)(64));return e}let f=function(e){return e.activationDirection="data-activation-direction",e.orientation="data-orientation",e}({}),p={tabActivationDirection:e=>({[f.activationDirection]:e})};var g=e.i(31888),v=e.i(71403);let b=n.forwardRef(function(e,i){let{className:s,defaultValue:d=0,onValueChange:f,orientation:b="horizontal",render:m,value:y,style:R,...A}=e,x=void 0!==e.defaultValue,S=n.useRef([]),[w,E]=n.useState(()=>new Map),[T,C]=(0,r.useControlled)({controlled:y,default:d,name:"Tabs",state:"value"}),I=void 0!==y,[O,M]=n.useState(()=>new Map),N=n.useCallback(e=>{if(void 0===e)return null;for(let[n,i]of O.entries()){var t;if(null!=i&&e===(null!=(t=i.value)?t:i.index))return n}return null},[O]),[L,D]=n.useState(()=>({previousValue:T,tabActivationDirection:"none"})),{previousValue:k,tabActivationDirection:_}=L,W=_,j=!1;k!==T&&(W=h(k,T,b,O),j=null!=k&&null!=T&&null==N(T));let P=j?k:T,H=k!==P||_!==W;(0,a.useIsoLayoutEffect)(()=>{H&&D({previousValue:P,tabActivationDirection:W})},[P,H,W]);let B=(0,l.useStableCallback)((e,t)=>{t.activationDirection=h(T,e,b,O),null==f||f(e,t),t.isCanceled||C(e)}),U=(0,l.useStableCallback)((e,t)=>{null==f||f(e,(0,g.createChangeEventDetails)(t,void 0,void 0,{activationDirection:"none"}))}),K=(0,l.useStableCallback)((e,t)=>{E(n=>{if(n.get(e)===t)return n;let i=new Map(n);return i.set(e,t),i})}),Y=(0,l.useStableCallback)((e,t)=>{E(n=>{if(!n.has(e)||n.get(e)!==t)return n;let i=new Map(n);return i.delete(e),i})}),V=n.useCallback(e=>w.get(e),[w]),z=n.useCallback(e=>{for(let t of O.values())if(e===(null==t?void 0:t.value))return null==t?void 0:t.id},[O]),F=n.useMemo(()=>({getTabElementBySelectedValue:N,getTabIdByPanelValue:z,getTabPanelIdByValue:V,onValueChange:B,orientation:b,registerMountedTabPanel:K,setTabMap:M,unregisterMountedTabPanel:Y,tabActivationDirection:W,value:T}),[N,z,V,B,b,K,M,Y,W,T]),G=n.useMemo(()=>{for(let e of O.values())if(null!=e&&e.value===T)return e},[O,T]),q=n.useMemo(()=>{for(let e of O.values())if(null!=e&&!e.disabled)return e.value},[O]),X=n.useRef(!x),Z=n.useRef(x),$=n.useRef(!1);(0,a.useIsoLayoutEffect)(()=>{if(I)return;function e(e,t){C(e),D(t=>t.previousValue===e&&"none"===t.tabActivationDirection?t:{previousValue:e,tabActivationDirection:"none"}),U(e,t),X.current=!1}if(0===O.size){if(!$.current||null===T)return;e(null,v.REASONS.missing);return}$.current=!0;let t=null==G?void 0:G.disabled,n=null==G&&null!==T;if(t||T!==d||(Z.current=!1),Z.current&&t&&T===d)return;let i=X.current;if(t||n){let n=null!=q?q:null;if(T===n){X.current=!1;return}let r=v.REASONS.missing;i?r=v.REASONS.initial:t&&(r=v.REASONS.disabled),e(n,r);return}i&&null!=G&&(U(T,v.REASONS.initial),X.current=!1)},[d,q,I,U,G,C,O,T]);let J={orientation:b,tabActivationDirection:W},Q=(0,o.useRenderElement)("div",e,{state:J,ref:i,props:A,stateAttributesMapping:p});return(0,t.jsx)(c.Provider,{value:F,children:(0,t.jsx)(u.CompositeList,{elementsRef:S,children:Q})})});function h(e,t,n,i){if(null==e||null==t)return"none";let r=null,a=null;for(let[n,o]of i.entries()){var l;if(null==o)continue;let i=null!=(l=o.value)?l:o.index;if(e===i&&(r=n),t===i&&(a=n),null!=r&&null!=a)break}if(null==r||null==a)return r!==a&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?"horizontal"===n?t>e?"right":"left":t>e?"down":"up":"none";let o=r.getBoundingClientRect(),u=a.getBoundingClientRect();if("horizontal"===n){if(u.left<o.left)return"left";if(u.left>o.left)return"right"}else{if(u.top<o.top)return"up";if(u.top>o.top)return"down"}return"none"}var m=e.i(90219),y=e.i(86790),R=e.i(53402);let A="data-composite-item-active";var x=e.i(37081);let S=n.createContext(void 0);function w(){let e=n.useContext(S);if(void 0===e)throw Error((0,s.default)(65));return e}var E=e.i(30780);let T=n.forwardRef(function(e,t){let{className:i,disabled:r=!1,render:l,value:u,id:s,nativeButton:c=!0,style:f,...p}=e,{value:b,getTabPanelIdByValue:h,orientation:S}=d(),{activateOnFocus:T,highlightedTabIndex:C,onTabActivation:I,registerTabResizeObserverElement:O,setHighlightedTabIndex:M,tabsListElement:N}=w(),L=(0,y.useBaseUiId)(s),D=n.useMemo(()=>({disabled:r,id:L,value:u}),[r,L,u]),{compositeProps:k,compositeRef:_,index:W}=(0,x.useCompositeItem)({metadata:D}),j=u===b,P=n.useRef(!1),H=n.useRef(null);n.useEffect(()=>{let e=H.current;if(e)return O(e)},[O]),(0,a.useIsoLayoutEffect)(()=>{if(P.current){P.current=!1;return}if(j&&W>-1&&C!==W){if(null!=N){let e=(0,E.activeElement)((0,m.ownerDocument)(N));if(e&&(0,E.contains)(N,e))return}r||M(W)}},[j,W,C,M,r,N]);let{getButtonProps:B,buttonRef:U}=(0,R.useButton)({disabled:r,native:c,focusableWhenDisabled:!0}),K=h(u),Y=n.useRef(!1),V=n.useRef(!1);return(0,o.useRenderElement)("button",e,{state:{disabled:r,active:j,orientation:S},ref:[t,U,_,H],props:[k,{role:"tab","aria-controls":K,"aria-selected":j,id:L,onClick:function(e){j||r||I(u,(0,g.createChangeEventDetails)(v.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"}))},onFocus:function(e){!j&&(W>-1&&!r&&M(W),!r&&T&&(!Y.current||Y.current&&V.current)&&I(u,(0,g.createChangeEventDetails)(v.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"})))},onPointerDown:function(e){j||r||(Y.current=!0,e.button&&0!==e.button||(V.current=!0,(0,m.ownerDocument)(e.currentTarget).addEventListener("pointerup",function(){Y.current=!1,V.current=!1},{once:!0})))},[A]:j?"":void 0,onKeyDownCapture(){P.current=!0}},p,B]})});var C=e.i(53585),I=e.i(2239),O=e.i(17514);function M(){return O.NOOP}function N(){return!1}function L(){return!0}let D=function(e){return e.activeTabLeft="--active-tab-left",e.activeTabRight="--active-tab-right",e.activeTabTop="--active-tab-top",e.activeTabBottom="--active-tab-bottom",e.activeTabWidth="--active-tab-width",e.activeTabHeight="--active-tab-height",e}({}),k=n.createContext(void 0),_={disableStyleElements:!1},W={...p,activeTabPosition:()=>null,activeTabSize:()=>null},j=n.forwardRef(function(e,i){var r;let{className:a,render:l,renderBeforeHydration:u=!1,style:s,...c}=e,{nonce:f}=null!=(r=n.useContext(k))?r:_,{getTabElementBySelectedValue:p,orientation:g,tabActivationDirection:v,value:b}=d(),{tabsListElement:h,registerIndicatorUpdateListener:m}=w(),y=(0,I.useSyncExternalStore)(M,N,L),R=function(){let[,e]=n.useState({});return n.useCallback(()=>{e({})},[])}();n.useEffect(()=>m(R),[m,R]);let A=0,x=0,S=0,E=0,T=0,O=0,j=!1;if(null!=b&&null!=h){let e=p(b);if(j=!0,null!=e){let{width:t,height:n}=(0,C.getCssDimensions)(e),{width:i,height:r}=(0,C.getCssDimensions)(h),a=e.getBoundingClientRect(),l=h.getBoundingClientRect(),o=i>0?l.width/i:1,u=r>0?l.height/r:1;if(Math.abs(o)>Number.EPSILON&&Math.abs(u)>Number.EPSILON){let e=a.left-l.left,t=a.top-l.top;A=e/o+h.scrollLeft-h.clientLeft,S=t/u+h.scrollTop-h.clientTop}else A=e.offsetLeft,S=e.offsetTop;T=t,O=n,x=h.scrollWidth-A-T,E=h.scrollHeight-S-O}}let P=j?{left:A,right:x,top:S,bottom:E}:null,H=j?{width:T,height:O}:null,B=j?{[D.activeTabLeft]:"".concat(A,"px"),[D.activeTabRight]:"".concat(x,"px"),[D.activeTabTop]:"".concat(S,"px"),[D.activeTabBottom]:"".concat(E,"px"),[D.activeTabWidth]:"".concat(T,"px"),[D.activeTabHeight]:"".concat(O,"px")}:void 0,U=j&&T>0&&O>0,K=(0,o.useRenderElement)("span",e,{state:{orientation:g,activeTabPosition:P,activeTabSize:H,tabActivationDirection:v},ref:i,props:[{role:"presentation",style:B,hidden:!U},c,{suppressHydrationWarning:!0}],stateAttributesMapping:W});return null==b?null:(0,t.jsxs)(n.Fragment,{children:[K,y&&u&&(0,t.jsx)("script",{nonce:f,dangerouslySetInnerHTML:{__html:'!function(){const t=document.currentScript.previousElementSibling;if(!t)return;const e=t.closest(\'[role="tablist"]\');if(!e)return;const i=e.querySelector("[data-active]");if(!i)return;if(0===i.offsetWidth||0===e.offsetWidth)return;let o=0,n=0,h=0,l=0,r=0,f=0;function s(t){const e=getComputedStyle(t);let i=parseFloat(e.width)||0,o=parseFloat(e.height)||0;return(Math.round(i)!==t.offsetWidth||Math.round(o)!==t.offsetHeight)&&(i=t.offsetWidth,o=t.offsetHeight),{width:i,height:o}}if(null!=i&&null!=e){const{width:t,height:c}=s(i),{width:u,height:d}=s(e),a=i.getBoundingClientRect(),g=e.getBoundingClientRect(),p=u>0?g.width/u:1,b=d>0?g.height/d:1;if(Math.abs(p)>Number.EPSILON&&Math.abs(b)>Number.EPSILON){const t=a.left-g.left,i=a.top-g.top;o=t/p+e.scrollLeft-e.clientLeft,h=i/b+e.scrollTop-e.clientTop}else o=i.offsetLeft,h=i.offsetTop;r=t,f=c,n=e.scrollWidth-o-r,l=e.scrollHeight-h-f}function c(e,i){t.style.setProperty(`--active-tab-${e}`,`${i}px`)}c("left",o),c("right",n),c("top",h),c("bottom",l),c("width",r),c("height",f),r>0&&f>0&&t.removeAttribute("hidden")}();'},suppressHydrationWarning:!0})]})});var P=e.i(58130),H=e.i(14060),B=e.i(23715),U=e.i(61463),K=e.i(13952);let Y=function(e){return e.index="data-index",e.activationDirection="data-activation-direction",e.orientation="data-orientation",e.hidden="data-hidden",e[e.startingStyle=H.TransitionStatusDataAttributes.startingStyle]="startingStyle",e[e.endingStyle=H.TransitionStatusDataAttributes.endingStyle]="endingStyle",e}({}),V={...p,...H.transitionStatusMapping},z=n.forwardRef(function(e,t){let{className:i,value:r,render:l,keepMounted:u=!1,style:s,...c}=e,{value:f,getTabIdByPanelValue:p,orientation:g,tabActivationDirection:v,registerMountedTabPanel:b,unregisterMountedTabPanel:h}=d(),m=(0,y.useBaseUiId)(),R=n.useMemo(()=>({id:m,value:r}),[m,r]),{ref:A,index:x}=(0,K.useCompositeListItem)({metadata:R}),S=r===f,{mounted:w,transitionStatus:E,setMounted:T}=(0,U.useTransitionStatus)(S),C=!w,I=p(r),O=n.useRef(null),M=(0,o.useRenderElement)("div",e,{state:{hidden:C,orientation:g,tabActivationDirection:v,transitionStatus:E},ref:[t,A,O],props:[{"aria-labelledby":I,hidden:C,id:m,role:"tabpanel",tabIndex:S?0:-1,inert:(0,P.inertValue)(!S),[Y.index]:x},c],stateAttributesMapping:V});return((0,B.useOpenChangeComplete)({open:S,ref:O,onComplete(){S||T(!1)}}),(0,a.useIsoLayoutEffect)(()=>{if((!C||u)&&null!=m)return b(r,m),()=>{h(r,m)}},[C,u,r,m,b,h]),u||w)?M:null});var F=e.i(26292),G=e.i(96374),q=e.i(43801);let X=[];var Z=e.i(84977),$=e.i(91822);function J(e){let{render:i,className:r,style:a,refs:s=O.EMPTY_ARRAY,props:c=O.EMPTY_ARRAY,state:d=O.EMPTY_OBJECT,stateAttributesMapping:f,highlightedIndex:p,onHighlightedIndexChange:g,orientation:v,dense:b,itemSizes:h,loopFocus:m,onLoop:y,cols:R,enableHomeAndEndKeys:x,onMapChange:S,stopEventPropagation:w=!0,rootRef:T,disabledIndices:C,modifierKeys:I,highlightItemOnHover:M=!1,tag:N="div",...L}=e,{props:D,highlightedIndex:k,onHighlightedIndexChange:_,elementsRef:W,onMapChange:j,relayKeyboardEvent:P}=function(e){let{itemSizes:t,cols:i=1,loopFocus:r=!0,onLoop:a,dense:o=!1,orientation:u="both",direction:s,highlightedIndex:c,onHighlightedIndexChange:d,rootRef:f,enableHomeAndEndKeys:p=!1,stopEventPropagation:g=!1,disabledIndices:v,modifierKeys:b=X}=e,[h,m]=n.useState(0),y=i>1,R=n.useRef(null),x=(0,F.useMergedRefs)(R,f),S=n.useRef([]),w=n.useRef(!1),T=null!=c?c:h,C=(0,l.useStableCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((null!=d?d:m)(e),t){let t=S.current[e];(0,G.scrollIntoViewIfNeeded)(R.current,t,s,u)}}),I=(0,l.useStableCallback)(e=>{var t;if(0===e.size||w.current)return;w.current=!0;let n=Array.from(e.keys()),i=null!=(t=n.find(e=>null==e?void 0:e.hasAttribute(A)))?t:null,r=i?n.indexOf(i):-1;-1!==r&&C(r),(0,G.scrollIntoViewIfNeeded)(R.current,i,s,u)}),O=(0,l.useStableCallback)((e,t,n)=>a?null==a?void 0:a(e,t,n,S):n),M=n.useMemo(()=>({"aria-orientation":"both"===u?void 0:u,ref:x,onFocus(e){var t;let n=R.current,i=(0,E.getTarget)(e.nativeEvent);n&&null!=i&&(0,G.isNativeInput)(i)&&i.setSelectionRange(0,null!=(t=i.value.length)?t:0)},onKeyDown(e){var n;let l=p?G.COMPOSITE_KEYS:G.ARROW_KEYS;if(!l.has(e.key)||function(e,t){for(let n of G.MODIFIER_KEYS.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}(e,b)||!R.current)return;let c="rtl"===s,d=c?G.ARROW_LEFT:G.ARROW_RIGHT,f={horizontal:d,vertical:G.ARROW_DOWN,both:d}[u],h=c?G.ARROW_RIGHT:G.ARROW_LEFT,m={horizontal:h,vertical:G.ARROW_UP,both:h}[u],A=(0,E.getTarget)(e.nativeEvent);if(null!=A&&(0,G.isNativeInput)(A)&&!(null==A||A.hasAttribute("disabled")||"true"===A.getAttribute("aria-disabled"))){let t=A.selectionStart,i=A.selectionEnd,r=null!=(n=A.value)?n:"";if(null==t||e.shiftKey||t!==i||e.key!==m&&t<r.length||e.key!==f&&t>0)return}let x=T,w=(0,q.getMinListIndex)(S,v),I=(0,q.getMaxListIndex)(S,v);if(y){let n=t||Array.from({length:S.current.length},()=>({width:1,height:1})),a=(0,q.createGridCellMap)(n,i,o),l=a.findIndex(e=>null!=e&&!(0,q.isListIndexDisabled)(S.current,e,v)),s=a.reduce((e,t,n)=>null==t||(0,q.isListIndexDisabled)(S.current,t,v)?e:n,-1);x=a[(0,q.getGridNavigatedIndex)(a.map(e=>null!=e?S.current[e]:null),{event:e,orientation:u,loopFocus:r,onLoop:O,cols:i,disabledIndices:(0,q.getGridCellIndices)([...v||S.current.map((e,t)=>(0,q.isListIndexDisabled)(S.current,t)?t:void 0),void 0],a),minIndex:l,maxIndex:s,prevIndex:(0,q.getGridCellIndexOfCorner)(T>I?w:T,n,a,i,e.key===G.ARROW_DOWN?"bl":e.key===G.ARROW_RIGHT?"tr":"tl"),rtl:c})]}let M={horizontal:[d],vertical:[G.ARROW_DOWN],both:[d,G.ARROW_DOWN]}[u],N={horizontal:[h],vertical:[G.ARROW_UP],both:[h,G.ARROW_UP]}[u],L=y?l:({horizontal:p?G.HORIZONTAL_KEYS_WITH_EXTRA_KEYS:G.HORIZONTAL_KEYS,vertical:p?G.VERTICAL_KEYS_WITH_EXTRA_KEYS:G.VERTICAL_KEYS,both:l})[u];p&&(e.key===G.HOME?x=w:e.key===G.END&&(x=I)),x===T&&(M.includes(e.key)||N.includes(e.key))&&(r&&x===I&&M.includes(e.key)?(x=w,a&&(x=a(e,T,x,S))):r&&x===w&&N.includes(e.key)?(x=I,a&&(x=a(e,T,x,S))):x=(0,q.findNonDisabledListIndex)(S.current,{startingIndex:x,decrement:N.includes(e.key),disabledIndices:v})),x===T||(0,q.isIndexOutOfListBounds)(S.current,x)||(g&&e.stopPropagation(),L.has(e.key)&&e.preventDefault(),C(x,!0),queueMicrotask(()=>{var e;null==(e=S.current[x])||e.focus()}))}}),[i,o,s,v,S,p,T,y,t,r,a,O,x,b,C,u,g]);return n.useMemo(()=>({props:M,highlightedIndex:T,onHighlightedIndexChange:C,elementsRef:S,disabledIndices:v,onMapChange:I,relayKeyboardEvent:M.onKeyDown}),[M,T,C,S,v,I])}({itemSizes:h,cols:R,loopFocus:m,onLoop:y,dense:b,orientation:v,highlightedIndex:p,onHighlightedIndexChange:g,rootRef:T,stopEventPropagation:w,enableHomeAndEndKeys:x,direction:(0,$.useDirection)(),disabledIndices:C,modifierKeys:I}),H=(0,o.useRenderElement)(N,e,{state:d,ref:s,props:[D,...c,L],stateAttributesMapping:f}),B=n.useMemo(()=>({highlightedIndex:k,onHighlightedIndexChange:_,highlightItemOnHover:M,relayKeyboardEvent:P}),[k,_,M,P]);return(0,t.jsx)(Z.CompositeRootContext.Provider,{value:B,children:(0,t.jsx)(u.CompositeList,{elementsRef:W,onMapChange:e=>{null==S||S(e),j(e)},children:H})})}let Q=n.forwardRef(function(e,i){let{activateOnFocus:r=!1,className:a,loopFocus:o=!0,render:u,style:s,...c}=e,{onValueChange:f,orientation:g,value:v,setTabMap:b,tabActivationDirection:h}=d(),[m,y]=n.useState(0),[R,A]=n.useState(null),x=n.useRef(new Set),w=n.useRef(new Set),E=n.useRef(null);n.useEffect(()=>{if("undefined"==typeof ResizeObserver)return;let e=new ResizeObserver(()=>{x.current.forEach(e=>{e()})});return E.current=e,R&&e.observe(R),w.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),E.current=null}},[R]);let T=(0,l.useStableCallback)(e=>(x.current.add(e),()=>{x.current.delete(e)})),C=(0,l.useStableCallback)(e=>{var t;return w.current.add(e),null==(t=E.current)||t.observe(e),()=>{var t;w.current.delete(e),null==(t=E.current)||t.unobserve(e)}}),I=(0,l.useStableCallback)((e,t)=>{e!==v&&f(e,t)}),M=n.useMemo(()=>({activateOnFocus:r,highlightedTabIndex:m,registerIndicatorUpdateListener:T,registerTabResizeObserverElement:C,onTabActivation:I,setHighlightedTabIndex:y,tabsListElement:R}),[r,m,T,C,I,y,R]);return(0,t.jsx)(S.Provider,{value:M,children:(0,t.jsx)(J,{render:u,className:a,style:s,state:{orientation:g,tabActivationDirection:h},refs:[i,A],props:[{"aria-orientation":"vertical"===g?"vertical":void 0,role:"tablist"},c],stateAttributesMapping:p,highlightedIndex:m,enableHomeAndEndKeys:!0,loopFocus:o,orientation:g,onHighlightedIndexChange:y,onMapChange:b,disabledIndices:O.EMPTY_ARRAY})})});var ee=e.i(32532),ee=ee;function et(e){let{className:n,onValueChange:r,...a}=e;return(0,t.jsx)(ee.Root,{"data-slot":"tabs",className:(0,i.cn)("group/tabs flex min-h-0 min-w-0 flex-col",n),onValueChange:e=>null==r?void 0:r(String(e)),...a})}function en(e){let{className:n,variant:r="default",...a}=e;return(0,t.jsx)(ee.List,{"data-slot":"tabs-list","data-variant":r,className:(0,i.cn)("group/tabs-list inline-flex items-center","default"===r&&"h-10 w-fit rounded-lg border border-[var(--ds-border)] bg-[var(--ds-main-tint)] p-1","line"===r&&"h-11","pill"===r&&"gap-1 rounded-full border border-black/[0.06] bg-[#e9e9e9] p-1 shadow-sm",n),style:{..."line"===r&&{borderBottom:"1px solid var(--border-hover)"}},...a})}function ei(e){let{className:n,...r}=e;return(0,t.jsx)(ee.Tab,{"data-slot":"tabs-trigger",className:(0,i.cn)("inline-flex items-center justify-center transition-colors","cursor-pointer disabled:pointer-events-none disabled:opacity-50","group-data-[variant=default]/tabs-list:h-8 ",'relative inline-flex pb-[1px] items-center justify-center gap-1.5 h-[calc(100%-2px)] bg-transparent border-0 mr-4 text-[var(--ds-muted)] mb-[-2px] hover:text-[var(--ds-text)] data-[active]:text-[var(--ds-accent)] data-[active]:font-medium data-[active]:after:absolute data-[active]:after:bottom-[-1px] data-[active]:after:left-0 data-[active]:after:right-0 data-[active]:after:h-[2px] data-[active]:after:bg-[var(--ds-accent)] data-[active]:after:content-[""]',"group-data-[variant=pill]/tabs-list:h-9 group-data-[variant=pill]/tabs-list:px-5 group-data-[variant=pill]/tabs-list:mr-0 group-data-[variant=pill]/tabs-list:mb-0 group-data-[variant=pill]/tabs-list:pb-0 group-data-[variant=pill]/tabs-list:rounded-full group-data-[variant=pill]/ group-data-[variant=pill]/tabs-list:font-semibold group-data-[variant=pill]/tabs-list:text-[#828282] group-data-[variant=pill]/tabs-list:data-[active]:bg-[#fff] group-data-[variant=pill]/tabs-list:data-[active]:text-[#333333] group-data-[variant=pill]/tabs-list:data-[active]:font-bold group-data-[variant=pill]/tabs-list:data-[active]:shadow-[0_2px_10px_rgba(15,23,42,0.08)] group-data-[variant=pill]/tabs-list:data-[active]:after:[content:none]",n),...r})}function er(e){let{className:n,...r}=e;return(0,t.jsx)(ee.Panel,{"data-slot":"tabs-content",className:(0,i.cn)("mt-4 min-h-0 min-w-0 outline-none",n),...r})}function ea(e){var r,a;let{tabs:l,defaultValue:o,value:u,onChange:s,className:c,listVariant:d="default",listClassName:f,triggerClassName:p,contentClassName:g,children:v}=e,b=null!=(a=null==(r=l[0])?void 0:r.value)?a:"",[h,m]=n.useState(null!=o?o:b),y=void 0!==u,R=y?u:h;n.useEffect(()=>{if(!l.length||l.some(e=>e.value===R))return;let e=l[0].value;y||m(e),null==s||s(e)},[l,R,y,s]);let A=n.useCallback(e=>{y||m(e),null==s||s(e)},[y,s]),x="function"==typeof v?v(R):v;return(0,t.jsxs)(et,{value:R,defaultValue:o,onValueChange:A,className:(0,i.cn)("flex min-h-0 min-w-0 flex-1 flex-col",c),children:[(0,t.jsx)(en,{variant:d,className:f,children:l.map(e=>(0,t.jsx)(ei,{value:e.value,disabled:e.disabled,className:p,children:e.label},e.value))}),(0,t.jsx)("div",{className:(0,i.cn)("min-h-0 min-w-0 flex-1",g),children:x})]})}function el(e){let{value:n,className:r,children:a}=e;return(0,t.jsx)(er,{value:n,className:(0,i.cn)("mt-4",r),children:a})}},8279,e=>{"use strict";e.s(["avatarBgForLabel",()=>i,"initialsFromLabel",()=>n]);let t=["#9A3B32","#1db887","#4da3ff","#8b5cf6","#e84855","#f5c518"];function n(e){let t=e.trim();if(!t)return"?";let n=t.split(/\s+/).filter(Boolean);if(n.length>=2){var i,r;let e=null==(i=n[0])?void 0:i.slice(0,1),t=null==(r=n[1])?void 0:r.slice(0,1);if(e&&t)return"".concat(e).concat(t).toUpperCase()}return t.slice(0,2).toUpperCase()}function i(e){var n;let i=String(e||"?"),r=0;for(let e=0;e<i.length;e++)r=(r+17*i.charCodeAt(e))%t.length;return null!=(n=t[r])?n:t[0]}},52727,e=>{"use strict";e.s(["addTeamMember",()=>v,"createAgent",()=>f,"deleteAgentItem",()=>h,"getAgentDetail",()=>d,"listAgents",()=>u,"listAgentsForManage",()=>s,"removeTeamMember",()=>b,"updateAgent",()=>p]);var t=e.i(29250),n=e.i(36845);function i(e){let t=null!=e.id?String(e.id).trim():"";if(!t)return null;let n="string"==typeof e.displayName&&e.displayName.trim()?e.displayName.trim():t;return{id:t,displayName:n}}function r(e){if("string"==typeof e.whentouse)return e.whentouse;let t=e.config;if(t&&"object"==typeof t&&!Array.isArray(t)){let e=t.whentouse;if("string"==typeof e)return e}return""}function a(e){let t=e.agentTeamMembers;if(!Array.isArray(t))return[];let n=[];for(let e of t){if(!e||"object"!=typeof e)continue;let t=null!=e.agentType?String(e.agentType).trim():"";t&&n.push({agentType:t,whentouse:"string"==typeof e.whentouse?e.whentouse:""})}return n}function l(e){let t=i(e);return t?{...t,whentouse:r(e),agentTeamMembers:a(e)}:null}function o(e,t){let n=e&&"object"==typeof e?e:{},i=n.env&&"object"==typeof n.env&&!Array.isArray(n.env)?Object.fromEntries(Object.entries(n.env).map(e=>{let[t,n]=e;return[t,null==n?"":String(n)]})):{},r={tools:Array.isArray(n.tools)?n.tools.map(String):[],disallowedTools:Array.isArray(n.disallowedTools)?n.disallowedTools.map(String):[],mcpServers:Array.isArray(n.mcpServers)?n.mcpServers.map(String):[],skills:Array.isArray(n.skills)?n.skills.map(String):[],agentTeams:Array.isArray(n.agentTeams)?n.agentTeams.map(String):[],rules:Array.isArray(n.rules)?n.rules.map(String):[],model:"string"==typeof n.model?n.model:"",background:!0===n.background,isolation:"string"==typeof n.isolation?n.isolation:"",whentouse:"string"==typeof t?t:"",env:i,effort:null};return("string"==typeof n.effort||"number"==typeof n.effort)&&(r.effort=n.effort),r}async function u(e,t){return(await c(e,t)).map(i).filter(e=>null!=e)}async function s(e,t){return(await c(e,t)).map(l).filter(e=>null!=e)}async function c(e,i){let r=(await (0,t.get)((0,n.buildAgentsListUrl)(e,i))).agents;return Array.isArray(r)?r.filter(e=>null!=e&&"object"==typeof e):[]}async function d(e,i,a){let l=a.trim(),o=(await (0,t.get)((0,n.buildAgentItemUrl)(e,i,l))).agent,u=o&&"string"==typeof o.prompt?o.prompt:"",s=(null==o?void 0:o.config)&&"object"==typeof o.config?o.config:null;return{id:l,prompt:u,whentouse:r({whentouse:null==o?void 0:o.whentouse,config:null==o?void 0:o.config}),config:s}}async function f(e,i,r){let a=r.id.trim();await (0,t.post)((0,n.buildAgentsListUrl)(e,i),{name:a,prompt:r.prompt});let l=await d(e,i,a);return await (0,t.patch)((0,n.buildAgentItemUrl)(e,i,a),{config:o(l.config,r.whentouse)}),a}async function p(e,i,r){let a=r.id.trim();if(!a)throw Error("缺少 agent id");return await (0,t.patch)((0,n.buildAgentItemUrl)(e,i,a),{prompt:r.prompt,config:o(r.baseConfig,r.whentouse)}),a}function g(e){return e&&"object"==typeof e?a(e):[]}async function v(e,i,r,a){let l=r.trim(),o=a.trim();if(!l)throw Error("缺少 leader id");if(!o)throw Error("缺少 agentType");return g((await (0,t.post)((0,n.buildAgentTeamMembersUrl)(e,i,l),{agentType:o})).agent)}async function b(e,i,r,a){let l=r.trim(),o=a.trim();if(!l)throw Error("缺少 leader id");if(!o)throw Error("缺少 agentType");return g((await (0,t.del)((0,n.buildAgentTeamMemberUrl)(e,i,l,o))).agent)}async function h(e,i,r){let a=r.trim();if(!a)throw Error("缺少 agent id");try{await (0,t.del)((0,n.buildAgentItemUrl)(e,i,a))}catch(r){if(r instanceof t.ApiError&&400===r.status&&String(r.message).includes("missing required query parameter: agent"))return void await (0,t.del)((0,n.buildAgentApiUrl)(e,i,a));throw r}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12732,50052,e=>{"use strict";e.s(["extractMessageBody",()=>eR,"renderMd",()=>ej],12732);var t,n=e.i(99749);function r(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var s=r(),l={exec:()=>null};function i(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),s=t[r];return s||(s=e(r),t[r]=s),s}}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(c.caret,"$1"),n=n.replace(e,s),r},getRegex:()=>new RegExp(n,t)};return r}var o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{return!!RegExp("(?<=1)(?<!1)"+e)}catch(e){return!1}}(),c={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:RegExp("[\\p{L}\\p{N}]","u"),escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp("^( {0,3}".concat(e,")((?:[ ][^\\n]*)?(?:\\n|$))")),nextBulletRegex:i(e=>new RegExp("^ {0,".concat(e,"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))"))),hrRegex:i(e=>new RegExp("^ {0,".concat(e,"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"))),fencesBeginRegex:i(e=>new RegExp("^ {0,".concat(e,"}(?:```|~~~)"))),headingBeginRegex:i(e=>new RegExp("^ {0,".concat(e,"}#"))),htmlBeginRegex:i(e=>RegExp("^ {0,".concat(e,"}<(?:[a-z].*>|!--)"),"i")),blockquoteBeginRegex:i(e=>new RegExp("^ {0,".concat(e,"}>")))},h=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,p=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,u=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,d=a(u).replace(/bull/g,p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),g=a(u).replace(/bull/g,p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),f=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,x=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,k=a(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",x).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),m=a(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,p).getRegex(),b="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",w=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,y=a("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",w).replace("tag",b).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),v=a(f).replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",b).getRegex(),S={blockquote:a(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",v).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:k,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:h,html:y,lheading:d,list:m,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:v,table:l,text:/^[^\n]+/},R=a("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",b).getRegex(),j={...S,lheading:g,table:R,paragraph:a(f).replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",R).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",b).getRegex()},T={...S,html:a("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",w).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:l,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:a(f).replace("hr",h).replace("heading"," *#{1,6} *[^\n]").replace("lheading",d).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^( {2,}|\\)\n(?!\s*$)/,A=RegExp("[\\p{P}\\p{S}]","u"),C=RegExp("[\\s\\p{P}\\p{S}]","u"),_=RegExp("[^\\s\\p{P}\\p{S}]","u"),$=a(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,C).getRegex(),N=RegExp("(?!~)[\\p{P}\\p{S}]","u"),P=RegExp("(?!~)[\\s\\p{P}\\p{S}]","u"),E=RegExp("(?:[^\\s\\p{P}\\p{S}]|~)","u"),L=a(/link|precode-code|html/,"g").replace("link",RegExp("\\[(?:[^\\[\\]`]|(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("precode-",o?"(?<!`)()":"(^^|[^`])").replace("code",RegExp("(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),I=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,B=a(I,"u").replace(/punct/g,A).getRegex(),q=a(I,"u").replace(/punct/g,N).getRegex(),D="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",F=a(D,"gu").replace(/notPunctSpace/g,_).replace(/punctSpace/g,C).replace(/punct/g,A).getRegex(),M=a(D,"gu").replace(/notPunctSpace/g,E).replace(/punctSpace/g,P).replace(/punct/g,N).getRegex(),Z=a("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,_).replace(/punctSpace/g,C).replace(/punct/g,A).getRegex(),Q=a(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,A).getRegex(),O=a("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,_).replace(/punctSpace/g,C).replace(/punct/g,A).getRegex(),H=a(/\\(punct)/,"gu").replace(/punct/g,A).getRegex(),U=a(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),G=a(w).replace("(?:-->|$)","-->").getRegex(),J=a("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",G).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),W=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,X=a(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",W).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),K=a(/^!?\[(label)\]\[(ref)\]/).replace("label",W).replace("ref",x).getRegex(),V=a(/^!?\[(ref)\](?:\[\])?/).replace("ref",x).getRegex(),Y=a("reflink|nolink(?!\\()","g").replace("reflink",K).replace("nolink",V).getRegex(),ee=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,et={_backpedal:l,anyPunctuation:H,autolink:U,blockSkip:L,br:z,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:l,delLDelim:l,delRDelim:l,emStrongLDelim:B,emStrongRDelimAst:F,emStrongRDelimUnd:Z,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:X,nolink:V,punctuation:$,reflink:K,reflinkSearch:Y,tag:J,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:l},en={...et,link:a(/^!?\[(label)\]\((.*?)\)/).replace("label",W).getRegex(),reflink:a(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W).getRegex()},er={...et,emStrongRDelimAst:M,emStrongLDelim:q,delLDelim:Q,delRDelim:O,url:a(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ee).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:a(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ee).getRegex()},es={...er,br:a(z).replace("{2,}","*").getRegex(),text:a(er.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},el={normal:S,gfm:j,pedantic:T},ei={normal:et,gfm:er,breaks:es,pedantic:en},ea={"&":"&","<":"<",">":">",'"':""","'":"'"},eo=e=>ea[e];function ec(e,t){if(t){if(c.escapeTest.test(e))return e.replace(c.escapeReplace,eo)}else if(c.escapeTestNoEncode.test(e))return e.replace(c.escapeReplaceNoEncode,eo);return e}function eh(e){try{e=encodeURI(e).replace(c.percentDecode,"%")}catch(e){return null}return e}function ep(e,t){var n;let r=e.replace(c.findPipe,(e,t,n)=>{let r=!1,s=t;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(c.splitPipe),s=0;if(r[0].trim()||r.shift(),!(r.length>0)||(null==(n=r.at(-1))?void 0:n.trim())||r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(c.slashPipe,"|");return r}function eu(e,t,n){let r=e.length;if(0===r)return"";let s=0;for(;s<r;){let l=e.charAt(r-s-1);if(l!==t||n)if(l!==t&&n)s++;else break;else s++}return e.slice(0,r-s)}function ed(e){let t=e.split("\n"),n=t.length-1;for(;n>=0&&c.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join("\n")}function eg(e,t,n,r,s){let l=t.href,i=t.title||null,a=e[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let o={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:l,title:i,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,o}var ef=class{space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:ed(t[0]),n=e.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e,codeBlockStyle:"indented",text:n}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let s=r[1];return t.split("\n").map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=s.length?e.slice(s.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=eu(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:eu(t[0],"\n"),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:eu(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=eu(t[0],"\n").split("\n"),n="",r="",s=[];for(;e.length>0;){let t=!1,l=[],i;for(i=0;i<e.length;i++)if(this.rules.other.blockquoteStart.test(e[i]))l.push(e[i]),t=!0;else if(t)break;else l.push(e[i]);e=e.slice(i);let a=l.join("\n"),o=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?"".concat(n,"\n").concat(a):a,r=r?"".concat(r,"\n").concat(o):o;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(o,s,!0),this.lexer.state.top=c,0===e.length)break;let h=s.at(-1);if((null==h?void 0:h.type)==="code")break;if((null==h?void 0:h.type)==="blockquote"){let t=h.raw+"\n"+e.join("\n"),l=this.blockquote(t);s[s.length-1]=l,n=n.substring(0,n.length-h.raw.length)+l.raw,r=r.substring(0,r.length-h.text.length)+l.text;break}if((null==h?void 0:h.type)==="list"){let t=h.raw+"\n"+e.join("\n"),l=this.list(t);s[s.length-1]=l,n=n.substring(0,n.length-h.raw.length)+l.raw,r=r.substring(0,r.length-h.raw.length)+l.raw,e=t.substring(s.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\".concat(n.slice(-1)):"\\".concat(n),this.options.pedantic&&(n=r?n:"[*+-]");let l=this.rules.other.listItemRegex(n),i=!1;for(;e;){let n=!1,r="",a="";if(!(t=l.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t,r="";for(let t of e)if(" "===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}(t[2].split("\n",1)[0],t[1].length),c=e.split("\n",1)[0],h=!o.trim(),p=0;if(this.options.pedantic?(p=2,a=o.trimStart()):h?p=t[1].length+1:(p=(p=o.search(this.rules.other.nonSpaceChar))>4?1:p,a=o.slice(p),p+=t[1].length),h&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),s=this.rules.other.fencesBeginRegex(p),l=this.rules.other.headingBeginRegex(p),i=this.rules.other.htmlBeginRegex(p),u=this.rules.other.blockquoteBeginRegex(p);for(;e;){let d=e.split("\n",1)[0],g;if(c=d,g=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||l.test(c)||i.test(c)||u.test(c)||t.test(c)||n.test(c))break;if(g.search(this.rules.other.nonSpaceChar)>=p||!c.trim())a+="\n"+g.slice(p);else{if(h||o.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||s.test(o)||l.test(o)||n.test(o))break;a+="\n"+c}h=!c.trim(),r+=d+"\n",e=e.substring(d.length+1),o=g.slice(p)}}s.loose||(i?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(i=!0)),s.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]}),s.raw+=r}let a=s.items.at(-1);if(!a)return;for(let e of(a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),s.raw=s.raw.trimEnd(),s.items)){this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]);let t=e.tokens[0];if(e.task&&((null==t?void 0:t.type)==="text"||(null==t?void 0:t.type)==="paragraph")){e.text=e.text.replace(this.rules.other.listReplaceTask,""),t.raw=t.raw.replace(this.rules.other.listReplaceTask,""),t.text=t.text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:"checkbox",raw:n[0]+" ",checked:"[ ]"!==n[0]};e.checked=t.checked,s.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:"paragraph",raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&(e.task=!1);if(!s.loose){let t=e.tokens.filter(e=>"space"===e.type);s.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(s.loose)for(let e of s.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return s}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=ed(t[0]);return{type:"html",block:!0,raw:e,pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:eu(t[0],"\n"),href:n,title:r}}}table(e){var t;let n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;let r=ep(n[1]),s=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),l=(null==(t=n[3])?void 0:t.trim())?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:eu(n[0],"\n"),header:[],align:[],rows:[]};if(r.length===s.length){for(let e of s)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<r.length;e++)i.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:i.align[e]});for(let e of l)i.rows.push(ep(e,i.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:eu(t[0],"\n"),depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=eu(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if("("===e[r])n++;else if(e[r]===t[1]&&--n<0)return r;return n>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),eg(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return eg(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,s,l,i=n,a=0,o="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=o.exec(t));){if(!(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(l=[...s].length,r[3]||r[4]){i+=l;continue}if((r[5]||r[6])&&n%3&&!((n+l)%3)){a+=l;continue}if((i-=l)>0)continue;l=Math.min(l,l+i+a);let t=[...r[0]][0].length,o=e.slice(0,n+r.index+t+l);if(Math.min(n,l)%2){let e=o.slice(1,-1);return{type:"em",raw:o,text:e,tokens:this.lexer.inlineTokens(e)}}let c=o.slice(2,-2);return{type:"strong",raw:o,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,s,l,i=n,a=this.rules.inline.delRDelim;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=a.exec(t));){if(!(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])||(l=[...s].length)!==n)continue;if(r[3]||r[4]){i+=l;continue}if((i-=l)>0)continue;l=Math.min(l,l+i);let t=[...r[0]][0].length,a=e.slice(0,n+r.index+t+l),o=a.slice(n,-n);return{type:"del",raw:a,text:o,tokens:this.lexer.inlineTokens(o)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,s;if("@"===t[2])s="mailto:"+(e=t[0]);else{var n,r;let l;do l=t[0],t[0]=null!=(r=null==(n=this.rules.inline._backpedal.exec(t[0]))?void 0:n[0])?r:"";while(l!==t[0])e=t[0],s="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:s,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"rules",void 0),(0,n._)(this,"lexer",void 0),this.options=e||s}},ex=class e{static get rules(){return{block:el,inline:ei}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(c.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(c.tabCharGlobal," ").replace(c.spaceLine,""));let r=1/0;for(;e;){var s,l,i;let a;if(e.length<r)r=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(null==(l=this.options.extensions)||null==(s=l.block)?void 0:s.some(n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let n=t.at(-1);1===a.raw.length&&void 0!==n?n.raw+="\n":t.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="paragraph"||(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if((a=this.tokenizer.fences(e))||(a=this.tokenizer.heading(e))||(a=this.tokenizer.hr(e))||(a=this.tokenizer.blockquote(e))||(a=this.tokenizer.list(e))||(a=this.tokenizer.html(e))){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="paragraph"||(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},t.push(a));continue}if((a=this.tokenizer.table(e))||(a=this.tokenizer.lheading(e))){e=e.substring(a.raw.length),t.push(a);continue}let o=e;if(null==(i=this.options.extensions)?void 0:i.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(a=this.tokenizer.paragraph(o))){let r=t.at(-1);n&&(null==r?void 0:r.type)==="paragraph"?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+a.raw,r.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(a),n=o.length!==e.length,e=e.substring(a.raw.length);continue}if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let n=t.at(-1);(null==n?void 0:n.type)==="text"?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){var t,n,r,s,l,i;let a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.tokenizer.lexer=this;let c=e,h=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(h=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(h[0].slice(h[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,h.index)+"["+"a".repeat(h[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(h=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,h.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(h=this.tokenizer.rules.inline.blockSkip.exec(c));)a=h[2]?h[2].length:0,c=c.slice(0,h.index+a)+"["+"a".repeat(h[0].length-a-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);c=null!=(r=null==(n=this.options.hooks)||null==(t=n.emStrongMask)?void 0:t.call({lexer:this},c))?r:c;let p=!1,u="",d=1/0;for(;e;){let t;if(e.length<d)d=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}if(p||(u=""),p=!1,null==(l=this.options.extensions)||null==(s=l.inline)?void 0:s.some(n=>!!(t=n.call({lexer:this},e,o))&&(e=e.substring(t.raw.length),o.push(t),!0)))continue;if((t=this.tokenizer.escape(e))||(t=this.tokenizer.tag(e))||(t=this.tokenizer.link(e))){e=e.substring(t.raw.length),o.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length);let n=o.at(-1);"text"===t.type&&(null==n?void 0:n.type)==="text"?(n.raw+=t.raw,n.text+=t.text):o.push(t);continue}if((t=this.tokenizer.emStrong(e,c,u))||(t=this.tokenizer.codespan(e))||(t=this.tokenizer.br(e))||(t=this.tokenizer.del(e,c,u))||(t=this.tokenizer.autolink(e))||!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),o.push(t);continue}let n=e;if(null==(i=this.options.extensions)?void 0:i.startInline){let t=1/0,r=e.slice(1),s;this.options.extensions.startInline.forEach(e=>{"number"==typeof(s=e.call({lexer:this},r))&&s>=0&&(t=Math.min(t,s))}),t<1/0&&t>=0&&(n=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(n)){e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(u=t.raw.slice(-1)),p=!0;let n=o.at(-1);(null==n?void 0:n.type)==="text"?(n.raw+=t.raw,n.text+=t.text):o.push(t);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return o}infiniteLoopError(e){let t="Infinite loop on byte: "+e;if(this.options.silent)console.error(t);else throw Error(t)}constructor(e){(0,n._)(this,"tokens",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"state",void 0),(0,n._)(this,"inlineQueue",void 0),(0,n._)(this,"tokenizer",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||s,this.options.tokenizer=this.options.tokenizer||new ef,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:c,block:el.normal,inline:ei.normal};this.options.pedantic?(t.block=el.pedantic,t.inline=ei.pedantic):this.options.gfm&&(t.block=el.gfm,this.options.breaks?t.inline=ei.breaks:t.inline=ei.gfm),this.tokenizer.rules=t}},ek=class{space(e){return""}code(e){var t;let{text:n,lang:r,escaped:s}=e,l=null==(t=(r||"").match(c.notSpaceStart))?void 0:t[0],i=n.replace(c.endingNewline,"")+"\n";return l?'<pre><code class="language-'+ec(l)+'">'+(s?i:ec(i,!0))+"</code></pre>\n":"<pre><code>"+(s?i:ec(i,!0))+"</code></pre>\n"}blockquote(e){let{tokens:t}=e;return"<blockquote>\n".concat(this.parser.parse(t),"</blockquote>\n")}html(e){let{text:t}=e;return t}def(e){return""}heading(e){let{tokens:t,depth:n}=e;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,">\n")}hr(e){return"<hr>\n"}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(e){return"<li>".concat(this.parser.parse(e.tokens),"</li>\n")}checkbox(e){let{checked:t}=e;return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph(e){let{tokens:t}=e;return"<p>".concat(this.parser.parseInline(t),"</p>\n")}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let s=e.rows[t];n="";for(let e=0;e<s.length;e++)n+=this.tablecell(s[e]);r+=this.tablerow({text:n})}return r&&(r="<tbody>".concat(r,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow(e){let{text:t}=e;return"<tr>\n".concat(t,"</tr>\n")}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}strong(e){let{tokens:t}=e;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}em(e){let{tokens:t}=e;return"<em>".concat(this.parser.parseInline(t),"</em>")}codespan(e){let{text:t}=e;return"<code>".concat(ec(t,!0),"</code>")}br(e){return"<br>"}del(e){let{tokens:t}=e;return"<del>".concat(this.parser.parseInline(t),"</del>")}link(e){let{href:t,title:n,tokens:r}=e,s=this.parser.parseInline(r),l=eh(t);if(null===l)return s;let i='<a href="'+(t=l)+'"';return n&&(i+=' title="'+ec(n)+'"'),i+=">"+s+"</a>"}image(e){let{href:t,title:n,text:r,tokens:s}=e;s&&(r=this.parser.parseInline(s,this.parser.textRenderer));let l=eh(t);if(null===l)return ec(r);t=l;let i='<img src="'.concat(t,'" alt="').concat(ec(r),'"');return n&&(i+=' title="'.concat(ec(n),'"')),i+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ec(e.text)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"parser",void 0),this.options=e||s}},em=class{strong(e){let{text:t}=e;return t}em(e){let{text:t}=e;return t}codespan(e){let{text:t}=e;return t}del(e){let{text:t}=e;return t}html(e){let{text:t}=e;return t}text(e){let{text:t}=e;return t}link(e){let{text:t}=e;return""+t}image(e){let{text:t}=e;return""+t}br(){return""}checkbox(e){let{raw:t}=e;return t}},eb=class e{static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let s=0;s<e.length;s++){var n,r;let l=e[s];if(null==(r=this.options.extensions)||null==(n=r.renderers)?void 0:n[l.type]){let e=this.options.extensions.renderers[l.type].call({parser:this},l);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(l.type)){t+=e||"";continue}}switch(l.type){case"space":t+=this.renderer.space(l);break;case"hr":t+=this.renderer.hr(l);break;case"heading":t+=this.renderer.heading(l);break;case"code":t+=this.renderer.code(l);break;case"table":t+=this.renderer.table(l);break;case"blockquote":t+=this.renderer.blockquote(l);break;case"list":t+=this.renderer.list(l);break;case"checkbox":t+=this.renderer.checkbox(l);break;case"html":t+=this.renderer.html(l);break;case"def":t+=this.renderer.def(l);break;case"paragraph":t+=this.renderer.paragraph(l);break;case"text":t+=this.renderer.text(l);break;default:{let e='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.renderer;this.renderer.parser=this;let n="";for(let l=0;l<e.length;l++){var r,s;let i=e[l];if(null==(s=this.options.extensions)||null==(r=s.renderers)?void 0:r[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"checkbox":n+=t.checkbox(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"renderer",void 0),(0,n._)(this,"textRenderer",void 0),this.options=e||s,this.options.renderer=this.options.renderer||new ek,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new em}},ew=(t=class{preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.block;return e?ex.lex:ex.lexInline}provideParser(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.block;return e?eb.parse:eb.parseInline}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"block",void 0),this.options=e||s}},(0,n._)(t,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),(0,n._)(t,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),t),ey=new class{walkTokens(e,t){let n=[];for(let l of e)switch(n=n.concat(t.call(this,l)),l.type){case"table":for(let e of l.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of l.rows)for(let r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(l.items,t));break;default:{var r,s;let e=l;(null==(s=this.defaults.extensions)||null==(r=s.childTokens)?void 0:r[e.type])?this.defaults.extensions.childTokens[e.type].forEach(r=>{let s=e[r].flat(1/0);n=n.concat(this.walkTokens(s,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(e=>{let t={...e};if(t.async=this.defaults.async||t.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let t=r.renderers[e.name];t?r.renderers[e.name]=function(){for(var n=arguments.length,r=Array(n),s=0;s<n;s++)r[s]=arguments[s];let l=e.renderer.apply(this,r);return!1===l&&(l=t.apply(this,r)),l}:r.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let t=r[e.level];t?t.unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(r.childTokens[e.name]=e.childTokens)}),t.extensions=r),e.renderer){let n=this.defaults.renderer||new ek(this.defaults);for(let t in e.renderer){if(!(t in n))throw Error("renderer '".concat(t,"' does not exist"));if(["options","parser"].includes(t))continue;let r=e.renderer[t],s=n[t];n[t]=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let i=r.apply(n,t);return!1===i&&(i=s.apply(n,t)),i||""}}t.renderer=n}if(e.tokenizer){let n=this.defaults.tokenizer||new ef(this.defaults);for(let t in e.tokenizer){if(!(t in n))throw Error("tokenizer '".concat(t,"' does not exist"));if(["options","rules","lexer"].includes(t))continue;let r=e.tokenizer[t],s=n[t];n[t]=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];let i=r.apply(n,t);return!1===i&&(i=s.apply(n,t)),i}}t.tokenizer=n}if(e.hooks){let r=this.defaults.hooks||new ew;for(let t in e.hooks){var n=this;if(!(t in r))throw Error("hook '".concat(t,"' does not exist"));if(["options","block"].includes(t))continue;let s=e.hooks[t],l=r[t];ew.passThroughHooks.has(t)?r[t]=e=>{if(this.defaults.async&&ew.passThroughHooksRespectAsync.has(t))return(async()=>{let t=await s.call(r,e);return l.call(r,t)})();let n=s.call(r,e);return l.call(r,n)}:r[t]=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if(n.defaults.async)return(async()=>{let e=await s.apply(r,t);return!1===e&&(e=await l.apply(r,t)),e})();let a=s.apply(r,t);return!1===a&&(a=l.apply(r,t)),a}}t.hooks=r}if(e.walkTokens){let n=this.defaults.walkTokens,r=e.walkTokens;t.walkTokens=function(e){let t=[];return t.push(r.call(this,e)),n&&(t=t.concat(n.call(this,e))),t}}this.defaults={...this.defaults,...t}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ex.lex(e,null!=t?t:this.defaults)}parser(e,t){return eb.parse(e,null!=t?t:this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},s={...this.defaults,...r},l=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return l(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return l(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return l(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=e),s.async)return(async()=>{let n=s.hooks?await s.hooks.preprocess(t):t,r=await (s.hooks?await s.hooks.provideLexer(e):e?ex.lex:ex.lexInline)(n,s),l=s.hooks?await s.hooks.processAllTokens(r):r;s.walkTokens&&await Promise.all(this.walkTokens(l,s.walkTokens));let i=await (s.hooks?await s.hooks.provideParser(e):e?eb.parse:eb.parseInline)(l,s);return s.hooks?await s.hooks.postprocess(i):i})().catch(l);try{s.hooks&&(t=s.hooks.preprocess(t));let n=(s.hooks?s.hooks.provideLexer(e):e?ex.lex:ex.lexInline)(t,s);s.hooks&&(n=s.hooks.processAllTokens(n)),s.walkTokens&&this.walkTokens(n,s.walkTokens);let r=(s.hooks?s.hooks.provideParser(e):e?eb.parse:eb.parseInline)(n,s);return s.hooks&&(r=s.hooks.postprocess(r)),r}catch(e){return l(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+ec(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}constructor(...e){(0,n._)(this,"defaults",r()),(0,n._)(this,"options",this.setOptions),(0,n._)(this,"parse",this.parseMarkdown(!0)),(0,n._)(this,"parseInline",this.parseMarkdown(!1)),(0,n._)(this,"Parser",eb),(0,n._)(this,"Renderer",ek),(0,n._)(this,"TextRenderer",em),(0,n._)(this,"Lexer",ex),(0,n._)(this,"Tokenizer",ef),(0,n._)(this,"Hooks",ew),this.use(...e)}};function ev(e,t){return ey.parse(e,t)}ev.options=ev.setOptions=function(e){return ey.setOptions(e),ev.defaults=ey.defaults,s=ev.defaults,ev},ev.getDefaults=r,ev.defaults=s,ev.use=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ey.use(...t),ev.defaults=ey.defaults,s=ev.defaults,ev},ev.walkTokens=function(e,t){return ey.walkTokens(e,t)},ev.parseInline=ey.parseInline,ev.Parser=eb,ev.parser=eb.parse,ev.Renderer=ek,ev.TextRenderer=em,ev.Lexer=ex,ev.lexer=ex.lex,ev.Tokenizer=ef,ev.Hooks=ew,ev.parse=ev,ev.options,ev.setOptions,ev.use,ev.walkTokens,ev.parseInline,eb.parse,ex.lex;var eS=e.i(92413);function eR(e){if(!e||"object"!=typeof e)return"";let t=e.type;if("user"===t||"assistant"===t){let t=e.message;if(t&&void 0!==t.content)return function(e){if(null==e)return"";if("string"==typeof e)return e;if(!Array.isArray(e))try{return JSON.stringify(e,null,2)}catch(t){return String(e)}let t=[];for(let n of e)if(n&&"object"==typeof n){if("text"===n.type&&"string"==typeof n.text)t.push(n.text);else if("tool_use"===n.type){let e=n.name||"tool",r="";try{r=JSON.stringify(n.input,null,2)}catch(e){r=String(n.input)}t.push("\n\n**`".concat(e,"`**\n\n```json\n").concat(r.slice(0,12e3),"\n```\n"))}else if("tool_result"===n.type){let e=n.content;if("string"!=typeof e)try{e=JSON.stringify(e,null,2)}catch(t){e=String(e)}t.push("\n\n```\n".concat(String(e).slice(0,8e3),"\n```\n"))}}return t.join("")}(t.content)}return"system"===t&&"string"==typeof e.content?e.content:""}function ej(e){if(!e)return"";try{return ev.parse(e,{async:!1})}catch(e){return"<pre>".concat((0,eS.escapeHtml)(String(e)),"</pre>")}}ev.setOptions({breaks:!0,gfm:!0}),e.s(["deleteRepoFile",()=>e_,"fetchRepoEntries",()=>eA,"fetchRepoFilePreview",()=>eC,"uploadWorkspaceFile",()=>e$],50052);var eT=e.i(29250),ez=e.i(36845);async function eA(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=await (0,eT.get)((0,ez.buildRepoEntriesUrl)(e,t,n,r));if(!s.entries)throw Error(s.message||"获取目录条目失败");return s.entries}async function eC(e,t,n,r){return(await (0,eT.bridgeFetch)((0,ez.buildRepoFileUrl)(e,t,n,r,!0),{method:"GET",raw:!0})).text()}async function e_(e,t,n,r){await (0,eT.del)((0,ez.buildRepoFileUrl)(e,t,n,r))}async function e$(e,t,n,r){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",l=new FormData;l.append("file",r),l.append("path",s);let i=await (0,eT.post)((0,ez.buildRepoUploadUrl)(e,t,n),l,{type:"file"}),a="string"==typeof i.path?i.path.trim():"";if(!a)throw Error(i.message||i.error||"上传失败:未返回文件路径");return{path:a}}},89197,e=>{"use strict";e.s(["LibraryView",()=>C],89197);var t=e.i(18050),n=e.i(71645),r=e.i(65934),s=e.i(13354),l=e.i(68499),i=e.i(56708),a=e.i(85413),o=e.i(94197),c=e.i(2839),h=e.i(72064),p=e.i(19455),u=e.i(93479),d=e.i(36845),g=e.i(75157);function f(e){let t=e.toLowerCase().split(".");return t.length>1?t[t.length-1]:""}function x(e){var t;if("dir"===e.type)return"文件夹";let n=f(e.name);return n?null!=(t=({doc:"Word",docx:"Word",xls:"Excel",xlsx:"Excel",ppt:"PPT",pptx:"PPT",pdf:"PDF",log:"Log",html:"HTML",htm:"HTML",md:"Markdown",markdown:"Markdown",json:"JSON",zip:"压缩包"})[n])?t:n.toUpperCase():"文件"}function k(e){let{currentPath:r,entriesLoading:s,currentEntries:l,fileSearchQuery:i,onFileSearchQueryChange:k,wsUrl:m,apiBase:b,agentId:w,deleting:y,onSelectDir:v,onSelectFile:S,onDeleteEntry:R}=e,j=(0,n.useMemo)(()=>{if(!l)return null;let e=i.trim().toLowerCase();return e?l.filter(t=>{let n=x(t).toLowerCase();return t.name.toLowerCase().includes(e)||t.path.toLowerCase().includes(e)||n.includes(e)}):l},[l,i]);return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,t.jsx)("div",{className:"flex shrink-0 items-start justify-between gap-4 border-b px-5 py-4",children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h2",{className:"truncate text-lg font-semibold text-foreground",children:"文件列表"}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-1 border-b py-3 text-sm text-muted-foreground",children:[(0,t.jsx)("span",{children:"当前位置:"}),(0,t.jsx)(p.Button,{type:"button",variant:"plain",size:"sm",className:"h-auto border-0 bg-transparent px-1 py-0 text-sm font-medium text-foreground shadow-none hover:bg-transparent hover:text-[var(--ds-accent)]",onClick:()=>v(""),children:"workspace"}),r.split("/").filter(Boolean).map((e,n,r)=>{let s=r.slice(0,n+1).join("/");return(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{children:"/"}),(0,t.jsx)(p.Button,{type:"button",variant:"plain",size:"sm",className:"h-auto border-0 bg-transparent px-1 py-0 text-sm font-medium text-foreground shadow-none hover:bg-transparent hover:text-[var(--ds-accent)]",onClick:()=>v(s),children:e})]},s)})]})]})}),(0,t.jsx)("div",{className:"shrink-0 border-b px-5 py-3",children:(0,t.jsxs)("div",{className:"relative max-w-[260px]",children:[(0,t.jsx)(h.default,{name:"Search",size:14,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(u.Input,{size:"sm",value:i,onChange:e=>k(e.target.value),placeholder:"搜索文件名 / 类型",className:"bg-background/70 h-10 rounded-xl pl-9"})]})}),(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:s?(0,t.jsx)(c.Loading,{text:"加载中…"}):null===l?(0,t.jsx)(a.Empty,{text:"暂无数据"}):(null==j?void 0:j.length)===0?(0,t.jsx)(a.Empty,{text:i.trim()?"未找到匹配文件":"当前目录为空"}):(0,t.jsxs)("table",{className:"w-full text-sm",children:[(0,t.jsx)("thead",{className:"bg-muted/30 border-b",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"px-5 py-3 text-left font-medium text-muted-foreground",children:"文件名称"}),(0,t.jsx)("th",{className:"w-28 px-3 py-3 text-left font-medium text-muted-foreground",children:"类型"}),(0,t.jsx)("th",{className:"w-24 shrink-0 px-3 py-3 text-right font-medium text-muted-foreground",children:"操作"})]})}),(0,t.jsx)("tbody",{children:null==j?void 0:j.map(e=>{var n;return(0,t.jsxs)("tr",{className:"hover:bg-accent/35 group cursor-pointer border-b transition-colors last:border-0",onClick:()=>{"dir"===e.type?v(e.path):S(e)},children:[(0,t.jsx)("td",{className:"px-5 py-3",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-[var(--ds-item-bg-hover)] text-xs font-semibold text-[var(--ds-accent)]",children:(0,t.jsx)(h.default,{name:"dir"===e.type?"Folder":null!=(n=({xml:"Xml",gif:"Gif",html:"Html",htm:"Html",java:"Java",jpg:"Jpg",jpeg:"Jpg",js:"Js",json:"Json",pdf:"Pdf",svg:"Svg"})[f(e.name)])?n:"File",size:15,className:"dir"===e.type?"text-amber-700":"text-muted-foreground"})}),(0,t.jsx)("span",{className:(0,g.cn)("truncate font-medium","dir"===e.type?"font-medium text-[var(--ds-accent,hsl(var(--primary)))]":"text-foreground"),children:e.name})]})}),(0,t.jsx)("td",{className:"px-3 py-3 text-muted-foreground",children:x(e)}),(0,t.jsx)("td",{className:"w-24 shrink-0 px-3 py-2 text-right",onClick:e=>e.stopPropagation(),children:"file"===e.type&&(0,t.jsxs)("div",{className:"flex items-center justify-end gap-1 opacity-80 transition-opacity group-hover:opacity-100",children:[(0,t.jsx)("a",{href:(0,d.buildRepoFileUrl)(m,b,w,e.path),download:e.name,"aria-label":"下载 ".concat(e.name),className:"inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",children:(0,t.jsx)(h.default,{name:"Download",size:14})}),(0,t.jsx)(o.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",disabled:y,onClick:()=>R(e)})]})})]},e.path)})})]})})]})}var m=e.i(12732);function b(e){let{entry:n,content:r,loading:s,downloadUrl:l,deleting:i,isMarkdownFile:a,onClose:u,onDelete:d}=e;return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b px-5 py-3",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsx)(p.Button,{type:"button",variant:"ghost",size:"icon",className:"h-auto border-0 bg-transparent px-1 py-0 text-sm font-medium text-foreground shadow-none hover:bg-transparent hover:text-[var(--ds-accent)]","aria-label":"返回列表",onClick:u,children:(0,t.jsx)(h.default,{name:"ChevronLeft",size:16})}),(0,t.jsx)("span",{className:"truncate text-base font-medium",children:n.name})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)(o.IconTooltipButton,{icon:"Download",label:"下载",onClick:()=>{let e=document.createElement("a");e.href=l,e.download=n.name,document.body.appendChild(e),e.click(),e.remove()}}),(0,t.jsx)(o.IconTooltipButton,{icon:"Trash2",label:"删除",tone:"danger",disabled:i,onClick:d})]})]}),(0,t.jsx)("div",{className:"relative flex-1 overflow-auto",children:s?(0,t.jsx)(c.Loading,{text:"加载中…"}):null===r?(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(h.default,{name:"File",size:32,className:"opacity-40"}),(0,t.jsx)("p",{children:"不支持页面内预览,请下载后查看。"})]}):a(n.name)?(0,t.jsx)("div",{className:"chat-md prose prose-sm dark:prose-invert max-w-none p-4",dangerouslySetInnerHTML:{__html:(0,m.renderMd)(r)}}):(0,t.jsx)("pre",{className:"min-h-full whitespace-pre-wrap break-all p-4 font-mono text-xs leading-relaxed",children:r})})]})}function w(e,t){var n;return(null!=(n=e.get(t))?n:[]).filter(e=>e.name&&("dir"===e.type||"file"===e.type)).slice().sort((e,t)=>e.type!==t.type?"dir"===e.type?-1:1:e.name.localeCompare(t.name))}function y(e){let{entry:n,depth:r,treeCache:s,currentPath:l,expandedPaths:i,loadingPaths:a,selectedFilePath:o,searchQuery:c,onSelectDir:u,onSelectFile:d,onToggleExpand:f}=e,x="file"===n.type,k=!x&&""===n.path,m=i.has(n.path),b=a.has(n.path),v=c.trim().toLowerCase(),S=x?[]:w(s,n.path).filter(e=>(function e(t,n,r){if(!r||""===n.path)return!0;let s=r.toLowerCase();return!!(n.name.toLowerCase().includes(s)||n.path.toLowerCase().includes(s))||"dir"===n.type&&w(t,n.path).some(n=>e(t,n,s))})(s,e,v)),R=!!x||s.has(n.path),j=!x&&(!R||S.length>0),T=!x&&l===n.path,z=x&&o===n.path;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:(0,g.cn)("flex h-8 w-full cursor-pointer items-center gap-2 rounded px-1 text-base leading-none","hover:bg-accent/50",x&&"is-file",(T||z)&&"is-selected bg-[var(--surface-2)] text-accent-foreground"),style:{paddingLeft:"".concat(8+14*r,"px")},onClick:()=>{x?d(n):u(n.path)},children:[!x&&j?(0,t.jsx)(p.Button,{type:"button",variant:"plain",size:"icon",className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center p-0 text-muted-foreground","aria-label":"展开/折叠",onClick:e=>{e.stopPropagation(),f(n.path)},children:b?(0,t.jsx)(h.default,{name:"Loader2",size:14,className:"animate-spin"}):(0,t.jsx)(h.default,{name:m?"ChevronDown":"ChevronRight",size:14})}):(0,t.jsx)("span",{className:"h-[18px] w-[18px] shrink-0"}),(0,t.jsx)("span",{className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center",children:x?(0,t.jsx)(h.default,{name:"File",size:14,className:"text-muted-foreground"}):(0,t.jsx)(h.default,{name:m?"FolderOpen":"Folder",size:14,className:"text-amber-500"})}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate leading-7",children:k?"workspace":n.name}),!x&&R&&(0,t.jsx)("span",{className:"ml-2 shrink-0 text-xs font-medium text-muted-foreground",children:S.length})]}),!x&&j&&(m||!!v)&&S.map(e=>(0,t.jsx)(y,{entry:e,depth:r+1,treeCache:s,currentPath:l,expandedPaths:i,loadingPaths:a,selectedFilePath:o,searchQuery:c,onSelectDir:u,onSelectFile:d,onToggleExpand:f},e.path))]})}let v={name:"",path:"",type:"dir"};function S(e){let{treeCache:n,currentPath:r,expandedPaths:s,loadingPaths:l,selectedFilePath:i,searchQuery:a,onSearchQueryChange:o,onSelectDir:c,onSelectFile:p,onToggleExpand:d}=e;return(0,t.jsxs)("aside",{className:"flex h-full w-[300px] shrink-0 flex-col rounded-2xl shadow-sm",style:{border:"1px solid #e4e4e7",backgroundColor:"#fff"},"aria-label":"目录树",children:[(0,t.jsx)("div",{className:"flex shrink-0 items-start justify-between gap-3 px-4 pb-3 pt-4",children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h2",{className:"truncate text-base font-semibold text-foreground",children:"目录管理"}),(0,t.jsx)("p",{className:"mt-0.5 text-sm text-muted-foreground",children:"按业务域组织资料"})]})}),(0,t.jsx)("div",{className:"px-4 pb-3",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(h.default,{name:"Search",size:14,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(u.Input,{size:"sm",value:a,onChange:e=>o(e.target.value),placeholder:"搜索目录",className:"bg-background/70 h-9 rounded-xl pl-9"})]})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-3 pb-3",children:(0,t.jsx)(y,{entry:v,depth:0,treeCache:n,currentPath:r,expandedPaths:s,loadingPaths:l,selectedFilePath:i,searchQuery:a,onSelectDir:c,onSelectFile:p,onToggleExpand:d})})]})}var R=e.i(50052);let j=new Set(["txt","md","markdown","json","yaml","yml","toml","ini","cfg","conf","xml","html","htm","css","js","ts","jsx","tsx","py","sh","bash","zsh","fish","rs","go","java","c","cpp","h","hpp","cs","rb","php","swift","kt","sql","graphql","dockerfile","env"]),T=new Set(["md","markdown"]);function z(e){let t=e.toLowerCase().split(".");return t.length>1?t[t.length-1]:""}function A(e){return T.has(z(e))}function C(){var e,a;let o=(0,r.useAppStore)(e=>e.wsUrl),c=(0,r.useAppStore)(e=>e.apiBase),h=(0,r.useAppStore)(e=>e.agentId),p=(0,r.useAppStore)(e=>e.agentSelectionResolved),[u,g]=(0,n.useState)(""),[f,x]=(0,n.useState)(()=>new Map),[m,w]=(0,n.useState)(()=>new Set([""])),[y,v]=(0,n.useState)(()=>new Set),[T,C]=(0,n.useState)(!1),[_,$]=(0,n.useState)(null),[N,P]=(0,n.useState)(!1),[E,L]=(0,n.useState)(""),[I,B]=(0,n.useState)(""),q=(0,n.useRef)(!1),D=(0,n.useRef)(""),F=(0,n.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h){t||C(!0);try{let t=await (0,R.fetchRepoEntries)(o,c,h,e);x(n=>{let r=new Map(n);return r.set(e,t),r})}catch(e){s.appToast.error("加载目录失败:".concat(e instanceof Error?e.message:String(e)))}finally{t||C(!1)}}},[o,c,h]),M=(0,n.useCallback)(async e=>{if(!(!h||f.has(e))){v(t=>new Set([...t,e]));try{let t=await (0,R.fetchRepoEntries)(o,c,h,e);x(n=>{let r=new Map(n);return r.set(e,t),r})}catch(e){s.appToast.error("加载目录失败:".concat(e instanceof Error?e.message:String(e)))}finally{v(t=>{let n=new Set(t);return n.delete(e),n})}}},[o,c,h,f]);(0,n.useEffect)(()=>{h&&h!==D.current&&(D.current=h,q.current=!1,x(new Map),g(""),w(new Set([""])),$(null))},[h]),(0,n.useEffect)(()=>{!q.current&&h&&p&&(q.current=!0,F(""))},[h,p,F]);let Z=(0,n.useCallback)(e=>{g(e),$(null),w(t=>{let n=new Set(t);for(let t of function(e){let t=[""],n=e.split("/").filter(Boolean),r="";for(let e of n)r=r?"".concat(r,"/").concat(e):e,t.push(r);return t}(e))n.add(t);return n}),F(e)},[F]),Q=(0,n.useCallback)(e=>{w(t=>{let n=new Set(t);return n.has(e)?n.delete(e):(n.add(e),M(e)),n})},[M]),O=(0,n.useCallback)(async e=>{if($({entry:e,content:null,loading:!0}),!function(e){let t=z(e);return j.has(t)||"dockerfile"===e.toLowerCase()}(e.name))return void $({entry:e,content:null,loading:!1});try{let t=await (0,R.fetchRepoFilePreview)(o,c,h,e.path);$({entry:e,content:t,loading:!1})}catch(t){s.appToast.error("预览失败:".concat(t instanceof Error?t.message:String(t))),$({entry:e,content:null,loading:!1})}},[o,c,h]),H=(0,n.useCallback)(()=>{$(null)},[]),U=(0,n.useCallback)(async e=>{if(await (0,l.confirmAlertDialog)({title:"删除文件",description:"确认删除「".concat(e.name,"」?此操作不可撤销。"),confirmText:"删除",cancelText:"取消"})){P(!0);try{await (0,R.deleteRepoFile)(o,c,h,e.path),s.appToast.success("已删除:".concat(e.name)),$(t=>(null==t?void 0:t.entry.path)===e.path?null:t);let t=e.path.includes("/")?e.path.substring(0,e.path.lastIndexOf("/")):"";x(e=>{let n=new Map(e);return n.delete(t),n}),await F(t)}catch(e){s.appToast.error("删除失败:".concat(e instanceof Error?e.message:String(e)))}finally{P(!1)}}},[o,c,h,F]),G=(0,n.useCallback)(async()=>{_&&await U(_.entry)},[_,U]),J=null!=(e=f.get(u))?e:null,W=_?(0,d.buildRepoFileUrl)(o,c,h,_.entry.path):"";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.ManageChromeHeaderActions,{}),(0,t.jsxs)("div",{className:"flex h-full gap-5 overflow-hidden",children:[(0,t.jsx)(S,{treeCache:f,currentPath:u,expandedPaths:m,loadingPaths:y,selectedFilePath:null!=(a=null==_?void 0:_.entry.path)?a:"",searchQuery:E,onSearchQueryChange:L,onSelectDir:Z,onSelectFile:O,onToggleExpand:Q}),(0,t.jsx)("section",{className:"flex min-w-0 flex-1 flex-col overflow-hidden rounded-2xl shadow-sm",style:{border:"1px solid #e4e4e7",backgroundColor:"#fff"},children:_?(0,t.jsx)(b,{entry:_.entry,content:_.content,loading:_.loading,downloadUrl:W,deleting:N,isMarkdownFile:A,onClose:H,onDelete:G}):(0,t.jsx)(k,{currentPath:u,entriesLoading:T,currentEntries:J,fileSearchQuery:I,onFileSearchQueryChange:B,wsUrl:o,apiBase:c,agentId:h,deleting:N,onSelectDir:Z,onSelectFile:O,onDeleteEntry:e=>void U(e)})})]})]})}}]);
|