cc-viewer 1.6.87 → 1.6.89

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.
Files changed (64) hide show
  1. package/README.md +52 -35
  2. package/dist/assets/{App-CvmmCs3e.js → App-C38-pzpq.js} +1 -1
  3. package/dist/assets/{AppHeader-DzzIpqaB.css → AppHeader-DcES2ouz.css} +2 -2
  4. package/dist/assets/{AppHeader.module-DqDRinBU.js → AppHeader.module-DPc3vBLM.js} +139 -139
  5. package/dist/assets/{Mobile-B82qjeYO.js → Mobile-CMhZ6OBz.js} +1 -1
  6. package/dist/assets/{_basePickBy-DdZenSF6.js → _basePickBy-CuN8-qn3.js} +1 -1
  7. package/dist/assets/{_baseUniq-DuDDvwXo.js → _baseUniq-eLqDmJaQ.js} +1 -1
  8. package/dist/assets/{arc-B7TY0q3f.js → arc-a4x63VOn.js} +1 -1
  9. package/dist/assets/{architectureDiagram-2XIMDMQ5-C3sdigFB.js → architectureDiagram-2XIMDMQ5-DmVx05ZW.js} +1 -1
  10. package/dist/assets/{blockDiagram-WCTKOSBZ-B8IKxebY.js → blockDiagram-WCTKOSBZ-Cm31CO4R.js} +1 -1
  11. package/dist/assets/{c4Diagram-IC4MRINW-BM36nXxk.js → c4Diagram-IC4MRINW-CnSz5diT.js} +1 -1
  12. package/dist/assets/channel-BopUQkSa.js +1 -0
  13. package/dist/assets/{chunk-4BX2VUAB-Bkg7Gy-5.js → chunk-4BX2VUAB-CEgfJiv8.js} +1 -1
  14. package/dist/assets/{chunk-55IACEB6-Bbveelc8.js → chunk-55IACEB6-DuwxjP7D.js} +1 -1
  15. package/dist/assets/{chunk-FMBD7UC4-QnnJNZNr.js → chunk-FMBD7UC4-YQCMNFYl.js} +1 -1
  16. package/dist/assets/{chunk-JSJVCQXG-BZN7Cg4U.js → chunk-JSJVCQXG-CCBUVXYS.js} +1 -1
  17. package/dist/assets/{chunk-KX2RTZJC-r2jNKnnA.js → chunk-KX2RTZJC-Cxe0Ebi-.js} +1 -1
  18. package/dist/assets/{chunk-NQ4KR5QH-pQPP5ycL.js → chunk-NQ4KR5QH-EiFDuA5P.js} +1 -1
  19. package/dist/assets/{chunk-QZHKN3VN-Dq6TJJ4e.js → chunk-QZHKN3VN-DQeI-zve.js} +1 -1
  20. package/dist/assets/{chunk-WL4C6EOR-BcV66j9f.js → chunk-WL4C6EOR-C1U-FDB-.js} +1 -1
  21. package/dist/assets/classDiagram-VBA2DB6C-Z_ZrBHsv.js +1 -0
  22. package/dist/assets/classDiagram-v2-RAHNMMFH-Z_ZrBHsv.js +1 -0
  23. package/dist/assets/clone-CxmIUGDI.js +1 -0
  24. package/dist/assets/{cose-bilkent-S5V4N54A-B2aAdQZg.js → cose-bilkent-S5V4N54A-BgL5imYL.js} +1 -1
  25. package/dist/assets/{dagre-KLK3FWXG-BM37hOht.js → dagre-KLK3FWXG-BfyNyKCm.js} +1 -1
  26. package/dist/assets/{diagram-E7M64L7V-vtg_g-7D.js → diagram-E7M64L7V-LPjVekp8.js} +1 -1
  27. package/dist/assets/{diagram-IFDJBPK2-dVi17ogP.js → diagram-IFDJBPK2-hStgnkiy.js} +1 -1
  28. package/dist/assets/{diagram-P4PSJMXO-SDU8Jx0i.js → diagram-P4PSJMXO-X2EfOJep.js} +1 -1
  29. package/dist/assets/{erDiagram-INFDFZHY-C710HWEp.js → erDiagram-INFDFZHY-C3HdlLFx.js} +1 -1
  30. package/dist/assets/{flowDiagram-PKNHOUZH-B_Wcy97a.js → flowDiagram-PKNHOUZH-CfC7bp40.js} +1 -1
  31. package/dist/assets/{ganttDiagram-A5KZAMGK-C_iK-548.js → ganttDiagram-A5KZAMGK-BPXyQWLe.js} +1 -1
  32. package/dist/assets/{gitGraphDiagram-K3NZZRJ6-CTQiBR2p.js → gitGraphDiagram-K3NZZRJ6-D4BF7DQ-.js} +1 -1
  33. package/dist/assets/{graph-BPeOBWPA.js → graph-iwPfr6Pq.js} +1 -1
  34. package/dist/assets/{index-D1L8Vg8a.js → index-CCxx4GLY.js} +2 -2
  35. package/dist/assets/index-DhtWNnKL.css +1 -0
  36. package/dist/assets/{infoDiagram-LFFYTUFH-DJfb7A70.js → infoDiagram-LFFYTUFH-BC85bN7o.js} +1 -1
  37. package/dist/assets/{ishikawaDiagram-PHBUUO56-FVwBDtdj.js → ishikawaDiagram-PHBUUO56-BvR8rXpC.js} +1 -1
  38. package/dist/assets/{journeyDiagram-4ABVD52K-D2IRaolg.js → journeyDiagram-4ABVD52K-l5yhp0Nd.js} +1 -1
  39. package/dist/assets/{kanban-definition-K7BYSVSG-Cle3vG1V.js → kanban-definition-K7BYSVSG-Ch6-_gB2.js} +1 -1
  40. package/dist/assets/{layout-CKMRitTh.js → layout-d-8PKSgf.js} +1 -1
  41. package/dist/assets/{linear-9mMDURIS.js → linear-uYmaadyN.js} +1 -1
  42. package/dist/assets/{mermaid.core-BOcMtFzm.js → mermaid.core-DSiT2Vlb.js} +4 -4
  43. package/dist/assets/{mindmap-definition-YRQLILUH-rnpKyn9D.js → mindmap-definition-YRQLILUH-CvIo62lQ.js} +1 -1
  44. package/dist/assets/{pieDiagram-SKSYHLDU-DFJlec2o.js → pieDiagram-SKSYHLDU-C33Go8eX.js} +1 -1
  45. package/dist/assets/{quadrantDiagram-337W2JSQ-BkSp2RhB.js → quadrantDiagram-337W2JSQ-1xYm6a1h.js} +1 -1
  46. package/dist/assets/{requirementDiagram-Z7DCOOCP-FTnBhaYP.js → requirementDiagram-Z7DCOOCP-Czup7wYu.js} +1 -1
  47. package/dist/assets/{sankeyDiagram-WA2Y5GQK-CKxtFO0m.js → sankeyDiagram-WA2Y5GQK-DeWrcybw.js} +1 -1
  48. package/dist/assets/{sequenceDiagram-2WXFIKYE-3UCOSOt3.js → sequenceDiagram-2WXFIKYE--Uhr6mfE.js} +1 -1
  49. package/dist/assets/{stateDiagram-RAJIS63D-57wu1qG0.js → stateDiagram-RAJIS63D-C5gs6C1E.js} +1 -1
  50. package/dist/assets/stateDiagram-v2-FVOUBMTO-CXkPxl3z.js +1 -0
  51. package/dist/assets/{timeline-definition-YZTLITO2-DhgTnFh8.js → timeline-definition-YZTLITO2-8UM8vEa7.js} +1 -1
  52. package/dist/assets/{treemap-KZPCXAKY-BC-Yj7gq.js → treemap-KZPCXAKY-CpGDyhHU.js} +1 -1
  53. package/dist/assets/{vennDiagram-LZ73GAT5-Dh-PmlSl.js → vennDiagram-LZ73GAT5-D_-GcxBQ.js} +1 -1
  54. package/dist/assets/{xychartDiagram-JWTSCODW-CuFUna5q.js → xychartDiagram-JWTSCODW-BMUrm7v0.js} +1 -1
  55. package/dist/index.html +2 -2
  56. package/lib/delta-reconstructor.js +5 -0
  57. package/package.json +1 -1
  58. package/server.js +3 -0
  59. package/dist/assets/channel-BjTEg-_Z.js +0 -1
  60. package/dist/assets/classDiagram-VBA2DB6C-B9fo1Rkw.js +0 -1
  61. package/dist/assets/classDiagram-v2-RAHNMMFH-B9fo1Rkw.js +0 -1
  62. package/dist/assets/clone-ktktiVwF.js +0 -1
  63. package/dist/assets/index-BjzRig5H.css +0 -1
  64. package/dist/assets/stateDiagram-v2-FVOUBMTO-oNcq6FTW.js +0 -1
package/README.md CHANGED
@@ -7,8 +7,6 @@ Check out the fun part — here's what you can see on mobile:
7
7
 
8
8
  <img width="1700" height="790" alt="image" src="https://github.com/user-attachments/assets/da3e519f-ff66-4cd2-81d1-f4e131215f6c" />
9
9
 
10
- <font color="#999">(Current version has limited iOS compatibility — iOS optimization is planned for 2026.04.01)</font>
11
-
12
10
  English | [简体中文](./docs/README.zh.md) | [繁體中文](./docs/README.zh-TW.md) | [한국어](./docs/README.ko.md) | [日本語](./docs/README.ja.md) | [Deutsch](./docs/README.de.md) | [Español](./docs/README.es.md) | [Français](./docs/README.fr.md) | [Italiano](./docs/README.it.md) | [Dansk](./docs/README.da.md) | [Polski](./docs/README.pl.md) | [Русский](./docs/README.ru.md) | [العربية](./docs/README.ar.md) | [Norsk](./docs/README.no.md) | [Português (Brasil)](./docs/README.pt-BR.md) | [ไทย](./docs/README.th.md) | [Türkçe](./docs/README.tr.md) | [Українська](./docs/README.uk.md)
13
11
 
14
12
  ## Usage
@@ -32,12 +30,18 @@ ccv --d # == claude --dangerously-skip-permissions (shortcut)
32
30
  ccv --model opus # == claude --model opus
33
31
  ```
34
32
 
35
- After launching, a web page will open automatically.
33
+ The author's most-used command is:
34
+ ```
35
+ ccv -c --d # == claude --continue --dangerously-skip-permissions
36
+ ```
37
+
38
+ After launching in programming mode, a web page will open automatically.
36
39
 
37
40
  You can use Claude directly from the web page while viewing the full request payloads and code changes.
38
41
 
39
42
  Even better — you can even code from your mobile device!
40
43
 
44
+
41
45
  ### Logger Mode
42
46
 
43
47
  ⚠️ If you still prefer using the native claude tool or VS Code extension, use this mode.
@@ -45,7 +49,6 @@ Even better — you can even code from your mobile device!
45
49
  In this mode, launching `claude` or `claude --dangerously-skip-permissions` will automatically start a logging process that records request logs to ~/.claude/cc-viewer/*yourproject*/date.jsonl
46
50
 
47
51
  Enable logger mode:
48
-
49
52
  ```bash
50
53
  ccv -logger
51
54
  ```
@@ -59,28 +62,10 @@ This command automatically detects how Claude Code is installed locally (NPM or
59
62
  - NPM-installed Claude Code is the recommended approach for this project.
60
63
 
61
64
  Uninstall logger mode:
62
-
63
65
  ```bash
64
66
  ccv --uninstall
65
67
  ```
66
68
 
67
- ### Configuration Override
68
-
69
- If you need to use a custom API endpoint (e.g., a corporate proxy), simply configure it in `~/.claude/settings.json` or set the `ANTHROPIC_BASE_URL` environment variable. `ccv` will automatically detect and correctly forward requests.
70
-
71
- ### Environment Variables
72
-
73
- - `CCV_LOG_DIR`: Override the default log directory (`~/.claude/cc-viewer`).
74
- - Set to `tmp` to use the system temporary directory (useful for testing or ephemeral sessions).
75
- - Set to any absolute path or `~/path` to customize storage location.
76
- - `CCV_DEBUG_PLUGINS`: Set to `1` to enable debug logs for the plugin system.
77
-
78
- ### Silent Mode
79
-
80
- By default, `ccv` runs in silent mode when wrapping `claude`, keeping your terminal output clean and consistent with the native experience. All logs are captured in the background and can be viewed at `http://localhost:7008`.
81
-
82
- Once configured, use the `claude` command as normal. Visit `http://localhost:7008` to access the monitoring interface.
83
-
84
69
  ### Troubleshooting
85
70
 
86
71
  If you encounter issues starting cc-viewer, here is the ultimate troubleshooting approach:
@@ -115,13 +100,16 @@ By default, `ccv` runs in silent mode when wrapping `claude`, keeping your termi
115
100
 
116
101
  Once configured, use the `claude` command as normal. Visit `http://localhost:7008` to access the monitoring interface.
117
102
 
103
+
118
104
  ## Features
119
105
 
106
+
120
107
  ### Programming Mode
121
108
 
122
109
  After launching with ccv, you can see:
123
110
 
124
- <img width="1500" height="725" alt="image" src="https://github.com/user-attachments/assets/a64a381e-5a68-430c-b594-6d57dc01f4d3" />
111
+ <img width="1500" height="765" alt="image" src="https://github.com/user-attachments/assets/ab353a2b-f101-409d-a28c-6a4e41571ea2" />
112
+
125
113
 
126
114
  You can view code diffs directly after editing:
127
115
 
@@ -139,7 +127,8 @@ Fulfill your imagination of mobile programming. There's also a plugin mechanism
139
127
 
140
128
  ### Logger Mode (View Complete Claude Code Sessions)
141
129
 
142
- <img width="1500" height="720" alt="image" src="https://github.com/user-attachments/assets/519dd496-68bd-4e76-84d7-2a3d14ae3f61" />
130
+ <img width="1500" height="768" alt="image" src="https://github.com/user-attachments/assets/a8a9f3f7-d876-4f6b-a64d-f323a05c4d21" />
131
+
143
132
 
144
133
  - Captures all API requests from Claude Code in real time, ensuring raw text — not redacted logs (this is important!!!)
145
134
  - Automatically identifies and labels Main Agent and Sub Agent requests (subtypes: Plan, Search, Bash)
@@ -151,7 +140,8 @@ Fulfill your imagination of mobile programming. There's also a plugin mechanism
151
140
 
152
141
  Click the "Conversation Mode" button in the top-right corner to parse the Main Agent's complete conversation history into a chat interface:
153
142
 
154
- <img width="1500" height="730" alt="image" src="https://github.com/user-attachments/assets/c973f142-748b-403f-b2b7-31a5d81e33e6" />
143
+ <img width="1500" height="764" alt="image" src="https://github.com/user-attachments/assets/725b57c8-6128-4225-b157-7dba2738b1c6" />
144
+
155
145
 
156
146
  - Agent Team display is not yet supported
157
147
  - User messages are right-aligned (blue bubbles), Main Agent replies are left-aligned (dark bubbles)
@@ -160,36 +150,63 @@ Click the "Conversation Mode" button in the top-right corner to parse the Main A
160
150
  - Bidirectional mode sync: switching to conversation mode auto-scrolls to the conversation corresponding to the selected request; switching back to raw mode auto-scrolls to the selected request
161
151
  - Settings panel: toggle default collapse state for tool results and thinking blocks
162
152
  - Mobile conversation browsing: in mobile CLI mode, tap the "Conversation Browse" button in the top bar to slide out a read-only conversation view for browsing the complete conversation history on mobile
163
- - Network location indicator: header displays a country flag emoji based on the browser's outbound IP (via ipinfo.io); hover to see city, region, ISP, and IP address
164
153
 
165
154
  ### Statistics Tool
166
155
 
167
156
  The "Data Statistics" floating panel in the header area:
168
157
 
169
- <img width="1500" height="729" alt="image" src="https://github.com/user-attachments/assets/b23f9a81-fc3d-4937-9700-e70d84e4e5ce" />
158
+ <img width="1500" height="765" alt="image" src="https://github.com/user-attachments/assets/a3d2db47-eac3-463a-9b44-3fa64994bf3b" />
170
159
 
171
160
  - Displays cache creation/read counts and cache hit rate
172
161
  - Cache rebuild statistics: grouped by reason (TTL, system/tools/model changes, message truncation/modification, key changes) showing counts and cache_creation tokens
173
162
  - Tool usage statistics: displays call frequency for each tool sorted by number of calls
174
163
  - Skill usage statistics: displays call frequency for each skill sorted by number of calls
164
+ - Supports teammate statistics
175
165
  - Concept help (?) icon: click to view built-in documentation for MainAgent, CacheRebuild, and each tool
176
166
 
177
167
  ### Log Management
178
168
 
179
169
  Via the CC-Viewer dropdown menu in the top-left corner:
170
+ <img width="1500" height="760" alt="image" src="https://github.com/user-attachments/assets/33295e2b-f2e0-4968-a6f1-6f3d1404454e" />
171
+
172
+ **Log Compression**
173
+ Regarding logs, the author wants to clarify that the official Anthropic definitions have not been modified, ensuring log integrity. However, since individual log entries from the 1M Opus model can become extremely large in later stages, thanks to certain log optimizations for MainAgent, at least 66% size reduction is achieved without gzip. The parsing method for these compressed logs can be extracted from the current repository.
174
+
175
+ ### More Useful Features
176
+
177
+ <img width="1500" height="767" alt="image" src="https://github.com/user-attachments/assets/add558c5-9c4d-468a-ac6f-d8d64759fdbd" />
178
+
179
+ You can quickly locate your prompts using the sidebar tools.
180
+
181
+ ---
182
+
183
+ <img width="1500" height="765" alt="image" src="https://github.com/user-attachments/assets/82b8eb67-82f5-41b1-89d6-341c95a047ed" />
184
+
185
+ The interesting KV-Cache-Text feature lets you see exactly what Claude sees.
186
+
187
+ ---
188
+
189
+ <img width="1500" height="765" alt="image" src="https://github.com/user-attachments/assets/54cdfa4e-677c-4aed-a5bb-5fd946600c46" />
190
+
191
+ You can upload images and describe your needs — Claude's image understanding is incredibly powerful. And as you know, you can paste images directly with Ctrl+V, and your complete content will be displayed in the conversation.
192
+
193
+ ---
194
+
195
+ <img width="600" height="370" alt="image" src="https://github.com/user-attachments/assets/87d332ea-3e34-4957-b442-f9d070211fbf" />
196
+
197
+ You can customize plugins, manage all CC-Viewer processes, and CC-Viewer supports hot-switching to third-party APIs (yes, you can use GLM, Kimi, MiniMax, Qwen, DeepSeek — although the author considers them all quite weak at this point).
198
+
199
+ ---
200
+
201
+
202
+ <img width="1500" height="746" alt="image" src="https://github.com/user-attachments/assets/b1f60c7c-1438-4ecc-8c64-193d21ee3445" />
180
203
 
181
- <img width="1200" height="672" alt="image" src="https://github.com/user-attachments/assets/8cf24f5b-9450-4790-b781-0cd074cd3b39" />
204
+ More features waiting to be discovered... For example: the system supports Agent Team, and has a built-in Code Reviewer. Codex Code Reviewer integration is coming soon (the author highly recommends using Codex to review Claude Code's code).
182
205
 
183
- - Import local logs: browse historical log files grouped by project, open in a new window
184
- - Load local JSONL file: directly select a local `.jsonl` file to load and view (supports up to 500MB)
185
- - Save current log as: download the current monitoring JSONL log file
186
- - Merge logs: combine multiple JSONL log files into a single session for unified analysis
187
- - View user Prompts: extract and display all user inputs, supporting three view modes — Raw mode (original content), Context mode (system tags collapsible), Text mode (plain text); slash commands (`/model`, `/context`, etc.) shown as standalone entries; command-related tags are auto-hidden from Prompt content
188
- - Export Prompts to TXT: export user Prompts (plain text, excluding system tags) to a local `.txt` file
189
206
 
190
207
  ### Auto-Update
191
208
 
192
- CC-Viewer automatically checks for updates on startup (at most once every 4 hours). Within the same major version (e.g., 1.x.x 1.y.z), updates are applied automatically and take effect on the next restart. Cross-major-version updates only show a notification.
209
+ CC-Viewer automatically checks for updates on startup (at most once every 4 hours). Within the same major version (e.g., 1.x.x -> 1.y.z), updates are applied automatically and take effect on the next restart. Cross-major-version updates only show a notification.
193
210
 
194
211
  Auto-update follows Claude Code's global configuration in `~/.claude/settings.json`. If Claude Code has auto-updates disabled (`autoUpdates: false`), CC-Viewer will also skip auto-updates.
195
212
 
@@ -1,4 +1,4 @@
1
- var Ms=Object.defineProperty;var Es=(n,s,t)=>s in n?Ms(n,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[s]=t;var A=(n,s,t)=>Es(n,typeof s!="symbol"?s+"":s,t);import{r as j,R as q,j as e,a as Rs}from"./index-D1L8Vg8a.js";import{L as Is,M as Ls,_ as ie,c as ne,N as ot,P as Ps,Q as rt,d as jt,U as ye,V as Ct,W as st,X as bt,Y as As,Z as ft,$ as Bs,a0 as Nt,a1 as Os,g as Ds,m as Fs,u as Pe,a2 as $s,a3 as Hs,a4 as zs,a5 as Vs,a6 as Us,a7 as qs,a8 as Ws,a9 as _t,C as xt,I as xe,aa as Ks,ab as qt,ac as Gs,ad as Wt,ae as Js,af as Qs,ag as Ys,e as re,t as p,q as He,v as Xs,w as be,f as Zs,h as ea,j as ta,s as d,o as W,n as he,ah as Kt,ai as De,aj as J,ak as qe,al as Oe,k as sa,am as aa,l as ze,an as na,ao as je,S as Gt,B as F,ap as ia,aq as la,ar as Fe,as as oa,at as fe,au as St,av as Ae,y as ra,J as ca,aw as Jt,H as Be,ax as Ve,E as ct,ay as kt,G as dt,az as da,O as Qt,aA as ha,aB as ua,aC as ma,aD as we,aE as wt,aF as pa,aG as Tt,aH as Yt,aI as Xt,aJ as Te,aK as Me,aL as Zt,aM as at,aN as Mt,aO as Et,aP as Rt,aQ as ga,aR as fa,A as xa,aS as Ue,aT as It,aU as ya,z as va,x as E,D as ja,aV as Ca}from"./AppHeader.module-DqDRinBU.js";var Lt=j.createContext(null),es=j.createContext({}),ba=["prefixCls","className","containerRef"],Na=function(s){var t=s.prefixCls,a=s.className,c=s.containerRef,i=Is(s,ba),u=j.useContext(es),g=u.panel,l=Ls(g,c);return j.createElement("div",ie({className:ne("".concat(t,"-content"),a),role:"dialog",ref:l},ot(s,{aria:!0}),{"aria-modal":"true"},i))};function Pt(n){return typeof n=="string"&&String(Number(n))===n?(Ps(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(n)):n}var At={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function _a(n,s){var t,a,c,i=n.prefixCls,u=n.open,g=n.placement,l=n.inline,h=n.push,o=n.forceRender,r=n.autoFocus,m=n.keyboard,v=n.classNames,x=n.rootClassName,f=n.rootStyle,y=n.zIndex,C=n.className,S=n.id,N=n.style,b=n.motion,T=n.width,R=n.height,B=n.children,L=n.mask,M=n.maskClosable,I=n.maskMotion,O=n.maskClassName,ee=n.maskStyle,te=n.afterOpenChange,V=n.onClose,K=n.onMouseEnter,ue=n.onMouseOver,k=n.onMouseLeave,z=n.onClick,le=n.onKeyDown,me=n.onKeyUp,G=n.styles,pe=n.drawerRender,oe=j.useRef(),ge=j.useRef(),ve=j.useRef();j.useImperativeHandle(s,function(){return oe.current});var se=function(ce){var Re=ce.keyCode,Ie=ce.shiftKey;switch(Re){case st.TAB:{if(Re===st.TAB){if(!Ie&&document.activeElement===ve.current){var Le;(Le=ge.current)===null||Le===void 0||Le.focus({preventScroll:!0})}else if(Ie&&document.activeElement===ge.current){var tt;(tt=ve.current)===null||tt===void 0||tt.focus({preventScroll:!0})}}break}case st.ESC:{V&&m&&(ce.stopPropagation(),V(ce));break}}};j.useEffect(function(){if(u&&r){var Z;(Z=oe.current)===null||Z===void 0||Z.focus({preventScroll:!0})}},[u]);var Y=j.useState(!1),D=rt(Y,2),X=D[0],ae=D[1],U=j.useContext(Lt),_e;typeof h=="boolean"?_e=h?{}:{distance:0}:_e=h||{};var Ce=(t=(a=(c=_e)===null||c===void 0?void 0:c.distance)!==null&&a!==void 0?a:U==null?void 0:U.pushDistance)!==null&&t!==void 0?t:180,_s=j.useMemo(function(){return{pushDistance:Ce,push:function(){ae(!0)},pull:function(){ae(!1)}}},[Ce]);j.useEffect(function(){if(u){var Z;U==null||(Z=U.push)===null||Z===void 0||Z.call(U)}else{var ce;U==null||(ce=U.pull)===null||ce===void 0||ce.call(U)}},[u]),j.useEffect(function(){return function(){var Z;U==null||(Z=U.pull)===null||Z===void 0||Z.call(U)}},[]);var Ss=j.createElement(jt,ie({key:"mask"},I,{visible:L&&u}),function(Z,ce){var Re=Z.className,Ie=Z.style;return j.createElement("div",{className:ne("".concat(i,"-mask"),Re,v==null?void 0:v.mask,O),style:ye(ye(ye({},Ie),ee),G==null?void 0:G.mask),onClick:M&&u?V:void 0,ref:ce})}),ks=typeof b=="function"?b(g):b,Se={};if(X&&Ce)switch(g){case"top":Se.transform="translateY(".concat(Ce,"px)");break;case"bottom":Se.transform="translateY(".concat(-Ce,"px)");break;case"left":Se.transform="translateX(".concat(Ce,"px)");break;default:Se.transform="translateX(".concat(-Ce,"px)");break}g==="left"||g==="right"?Se.width=Pt(T):Se.height=Pt(R);var ws={onMouseEnter:K,onMouseOver:ue,onMouseLeave:k,onClick:z,onKeyDown:le,onKeyUp:me},Ts=j.createElement(jt,ie({key:"panel"},ks,{visible:u,forceRender:o,onVisibleChanged:function(ce){te==null||te(ce)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(Z,ce){var Re=Z.className,Ie=Z.style,Le=j.createElement(Na,ie({id:S,containerRef:ce,prefixCls:i,className:ne(C,v==null?void 0:v.content),style:ye(ye({},N),G==null?void 0:G.content)},ot(n,{aria:!0}),ws),B);return j.createElement("div",ie({className:ne("".concat(i,"-content-wrapper"),v==null?void 0:v.wrapper,Re),style:ye(ye(ye({},Se),Ie),G==null?void 0:G.wrapper)},ot(n,{data:!0})),pe?pe(Le):Le)}),vt=ye({},f);return y&&(vt.zIndex=y),j.createElement(Lt.Provider,{value:_s},j.createElement("div",{className:ne(i,"".concat(i,"-").concat(g),x,Ct(Ct({},"".concat(i,"-open"),u),"".concat(i,"-inline"),l)),style:vt,tabIndex:-1,ref:oe,onKeyDown:se},Ss,j.createElement("div",{tabIndex:0,ref:ge,style:At,"aria-hidden":"true","data-sentinel":"start"}),Ts,j.createElement("div",{tabIndex:0,ref:ve,style:At,"aria-hidden":"true","data-sentinel":"end"})))}var Sa=j.forwardRef(_a),ka=function(s){var t=s.open,a=t===void 0?!1:t,c=s.prefixCls,i=c===void 0?"rc-drawer":c,u=s.placement,g=u===void 0?"right":u,l=s.autoFocus,h=l===void 0?!0:l,o=s.keyboard,r=o===void 0?!0:o,m=s.width,v=m===void 0?378:m,x=s.mask,f=x===void 0?!0:x,y=s.maskClosable,C=y===void 0?!0:y,S=s.getContainer,N=s.forceRender,b=s.afterOpenChange,T=s.destroyOnClose,R=s.onMouseEnter,B=s.onMouseOver,L=s.onMouseLeave,M=s.onClick,I=s.onKeyDown,O=s.onKeyUp,ee=s.panelRef,te=j.useState(!1),V=rt(te,2),K=V[0],ue=V[1],k=j.useState(!1),z=rt(k,2),le=z[0],me=z[1];bt(function(){me(!0)},[]);var G=le?a:!1,pe=j.useRef(),oe=j.useRef();bt(function(){G&&(oe.current=document.activeElement)},[G]);var ge=function(X){var ae;if(ue(X),b==null||b(X),!X&&oe.current&&!((ae=pe.current)!==null&&ae!==void 0&&ae.contains(oe.current))){var U;(U=oe.current)===null||U===void 0||U.focus({preventScroll:!0})}},ve=j.useMemo(function(){return{panel:ee}},[ee]);if(!N&&!K&&!G&&T)return null;var se={onMouseEnter:R,onMouseOver:B,onMouseLeave:L,onClick:M,onKeyDown:I,onKeyUp:O},Y=ye(ye({},s),{},{open:G,prefixCls:i,placement:g,autoFocus:h,keyboard:r,width:v,mask:f,maskClosable:C,inline:S===!1,afterOpenChange:ge,ref:pe},se);return j.createElement(es.Provider,{value:ve},j.createElement(As,{open:G||N||K,autoDestroy:!1,getContainer:S,autoLock:f&&(G||K)},j.createElement(Sa,Y)))};const ts=n=>{var s,t;const{prefixCls:a,ariaId:c,title:i,footer:u,extra:g,closable:l,loading:h,onClose:o,headerStyle:r,bodyStyle:m,footerStyle:v,children:x,classNames:f,styles:y}=n,C=ft("drawer");let S;l===!1?S=void 0:l===void 0||l===!0?S="start":S=(l==null?void 0:l.placement)==="end"?"end":"start";const N=j.useCallback(L=>j.createElement("button",{type:"button",onClick:o,className:ne(`${a}-close`,{[`${a}-close-${S}`]:S==="end"})},L),[o,a,S]),[b,T]=Bs(Nt(n),Nt(C),{closable:!0,closeIconRender:N}),R=()=>{var L,M;return!i&&!b?null:j.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(L=C.styles)===null||L===void 0?void 0:L.header),r),y==null?void 0:y.header),className:ne(`${a}-header`,{[`${a}-header-close-only`]:b&&!i&&!g},(M=C.classNames)===null||M===void 0?void 0:M.header,f==null?void 0:f.header)},j.createElement("div",{className:`${a}-header-title`},S==="start"&&T,i&&j.createElement("div",{className:`${a}-title`,id:c},i)),g&&j.createElement("div",{className:`${a}-extra`},g),S==="end"&&T)},B=()=>{var L,M;if(!u)return null;const I=`${a}-footer`;return j.createElement("div",{className:ne(I,(L=C.classNames)===null||L===void 0?void 0:L.footer,f==null?void 0:f.footer),style:Object.assign(Object.assign(Object.assign({},(M=C.styles)===null||M===void 0?void 0:M.footer),v),y==null?void 0:y.footer)},u)};return j.createElement(j.Fragment,null,R(),j.createElement("div",{className:ne(`${a}-body`,f==null?void 0:f.body,(s=C.classNames)===null||s===void 0?void 0:s.body),style:Object.assign(Object.assign(Object.assign({},(t=C.styles)===null||t===void 0?void 0:t.body),m),y==null?void 0:y.body)},h?j.createElement(Os,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):x),B())},wa=n=>{const s="100%";return{left:`translateX(-${s})`,right:`translateX(${s})`,top:`translateY(-${s})`,bottom:`translateY(${s})`}[n]},ss=(n,s)=>({"&-enter, &-appear":Object.assign(Object.assign({},n),{"&-active":s}),"&-leave":Object.assign(Object.assign({},s),{"&-active":n})}),as=(n,s)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${s}`}}},ss({opacity:n},{opacity:1})),Ta=(n,s)=>[as(.7,s),ss({transform:wa(n)},{transform:"none"})],Ma=n=>{const{componentCls:s,motionDurationSlow:t}=n;return{[s]:{[`${s}-mask-motion`]:as(0,t),[`${s}-panel-motion`]:["left","right","top","bottom"].reduce((a,c)=>Object.assign(Object.assign({},a),{[`&-${c}`]:Ta(c,t)}),{})}}},Ea=n=>{const{borderRadiusSM:s,componentCls:t,zIndexPopup:a,colorBgMask:c,colorBgElevated:i,motionDurationSlow:u,motionDurationMid:g,paddingXS:l,padding:h,paddingLG:o,fontSizeLG:r,lineHeightLG:m,lineWidth:v,lineType:x,colorSplit:f,marginXS:y,colorIcon:C,colorIconHover:S,colorBgTextHover:N,colorBgTextActive:b,colorText:T,fontWeightStrong:R,footerPaddingBlock:B,footerPaddingInline:L,calc:M}=n,I=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:a,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${t}-left`]:{boxShadow:n.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:n.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:n.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:n.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:a,background:c,pointerEvents:"auto"},[I]:{position:"absolute",zIndex:a,maxWidth:"100vw",transition:`all ${u}`,"&-hidden":{display:"none"}},[`&-left > ${I}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:n.boxShadowDrawerLeft},[`&-right > ${I}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:n.boxShadowDrawerRight},[`&-top > ${I}`]:{top:0,insetInline:0,boxShadow:n.boxShadowDrawerUp},[`&-bottom > ${I}`]:{bottom:0,insetInline:0,boxShadow:n.boxShadowDrawerDown},[`${t}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Pe(h)} ${Pe(o)}`,fontSize:r,lineHeight:m,borderBottom:`${Pe(v)} ${x} ${f}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:Object.assign({display:"inline-flex",width:M(r).add(l).equal(),height:M(r).add(l).equal(),borderRadius:s,justifyContent:"center",alignItems:"center",color:C,fontWeight:R,fontSize:r,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${g}`,textRendering:"auto",[`&${t}-close-end`]:{marginInlineStart:y},[`&:not(${t}-close-end)`]:{marginInlineEnd:y},"&:hover":{color:S,backgroundColor:N,textDecoration:"none"},"&:active":{backgroundColor:b}},$s(n)),[`${t}-title`]:{flex:1,margin:0,fontWeight:n.fontWeightStrong,fontSize:r,lineHeight:m},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:o,overflow:"auto",[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${t}-footer`]:{flexShrink:0,padding:`${Pe(B)} ${Pe(L)}`,borderTop:`${Pe(v)} ${x} ${f}`},"&-rtl":{direction:"rtl"}}}},Ra=n=>({zIndexPopup:n.zIndexPopupBase,footerPaddingBlock:n.paddingXS,footerPaddingInline:n.padding}),ns=Ds("Drawer",n=>{const s=Fs(n,{});return[Ea(s),Ma(s)]},Ra);var is=function(n,s){var t={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(n);c<a.length;c++)s.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(n,a[c])&&(t[a[c]]=n[a[c]]);return t};const Ia={distance:180},We=n=>{const{rootClassName:s,width:t,height:a,size:c="default",mask:i=!0,push:u=Ia,open:g,afterOpenChange:l,onClose:h,prefixCls:o,getContainer:r,panelRef:m=null,style:v,className:x,"aria-labelledby":f,visible:y,afterVisibleChange:C,maskStyle:S,drawerStyle:N,contentWrapperStyle:b,destroyOnClose:T,destroyOnHidden:R}=n,B=is(n,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),L=Hs(),M=B.title?L:void 0,{getPopupContainer:I,getPrefixCls:O,direction:ee,className:te,style:V,classNames:K,styles:ue}=ft("drawer"),k=O("drawer",o),[z,le,me]=ns(k),G=r===void 0&&I?()=>I(document.body):r,pe=ne({"no-mask":!i,[`${k}-rtl`]:ee==="rtl"},s,le,me),oe=j.useMemo(()=>t??(c==="large"?736:378),[t,c]),ge=j.useMemo(()=>a??(c==="large"?736:378),[a,c]),ve={motionName:_t(k,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},se=Ce=>({motionName:_t(k,`panel-motion-${Ce}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Y=zs(),D=Vs(m,Y),[X,ae]=Us("Drawer",B.zIndex),{classNames:U={},styles:_e={}}=B;return z(j.createElement(qs,{form:!0,space:!0},j.createElement(Ws.Provider,{value:ae},j.createElement(ka,Object.assign({prefixCls:k,onClose:h,maskMotion:ve,motion:se},B,{classNames:{mask:ne(U.mask,K.mask),content:ne(U.content,K.content),wrapper:ne(U.wrapper,K.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},_e.mask),S),ue.mask),content:Object.assign(Object.assign(Object.assign({},_e.content),N),ue.content),wrapper:Object.assign(Object.assign(Object.assign({},_e.wrapper),b),ue.wrapper)},open:g??y,mask:i,push:u,width:oe,height:ge,style:Object.assign(Object.assign({},V),v),className:ne(te,x),rootClassName:pe,getContainer:G,afterOpenChange:l??C,panelRef:D,zIndex:X,"aria-labelledby":f??M,destroyOnClose:R??T}),j.createElement(ts,Object.assign({prefixCls:k},B,{ariaId:M,onClose:h}))))))},La=n=>{const{prefixCls:s,style:t,className:a,placement:c="right"}=n,i=is(n,["prefixCls","style","className","placement"]),{getPrefixCls:u}=j.useContext(xt),g=u("drawer",s),[l,h,o]=ns(g),r=ne(g,`${g}-pure`,`${g}-${c}`,h,o,a);return l(j.createElement("div",{className:r,style:t},j.createElement(ts,Object.assign({prefixCls:g},i))))};We._InternalPanelDoNotUseOrYouWillBeFired=La;var Pa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Aa=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Pa}))},Ke=j.forwardRef(Aa),Ba={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Oa=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Ba}))},Bt=j.forwardRef(Oa);function Da(n,s,t){return typeof t=="boolean"?t:n.length?!0:Ks(s).some(c=>c.type===qt)}var ls=function(n,s){var t={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(n);c<a.length;c++)s.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(n,a[c])&&(t[a[c]]=n[a[c]]);return t};function et({suffixCls:n,tagName:s,displayName:t}){return a=>j.forwardRef((i,u)=>j.createElement(a,Object.assign({ref:u,suffixCls:n,tagName:s},i)))}const yt=j.forwardRef((n,s)=>{const{prefixCls:t,suffixCls:a,className:c,tagName:i}=n,u=ls(n,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:g}=j.useContext(xt),l=g("layout",t),[h,o,r]=Wt(l),m=a?`${l}-${a}`:l;return h(j.createElement(i,Object.assign({className:ne(t||m,c,o,r),ref:s},u)))}),Fa=j.forwardRef((n,s)=>{const{direction:t}=j.useContext(xt),[a,c]=j.useState([]),{prefixCls:i,className:u,rootClassName:g,children:l,hasSider:h,tagName:o,style:r}=n,m=ls(n,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),v=Gs(m,["suffixCls"]),{getPrefixCls:x,className:f,style:y}=ft("layout"),C=x("layout",i),S=Da(a,l,h),[N,b,T]=Wt(C),R=ne(C,{[`${C}-has-sider`]:S,[`${C}-rtl`]:t==="rtl"},f,u,g,b,T),B=j.useMemo(()=>({siderHook:{addSider:L=>{c(M=>[].concat(Js(M),[L]))},removeSider:L=>{c(M=>M.filter(I=>I!==L))}}}),[]);return N(j.createElement(Qs.Provider,{value:B},j.createElement(o,Object.assign({ref:s,className:R,style:Object.assign(Object.assign({},y),r)},v),l)))}),$a=et({tagName:"div",displayName:"Layout"})(Fa),Ha=et({suffixCls:"header",tagName:"header",displayName:"Header"})(yt),za=et({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(yt),Va=et({suffixCls:"content",tagName:"main",displayName:"Content"})(yt),Ne=$a;Ne.Header=Ha;Ne.Footer=za;Ne.Content=Va;Ne.Sider=qt;Ne._InternalSiderContext=Ys;var Ua={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"},qa=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Ua}))},Ot=j.forwardRef(qa),Wa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},Ka=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Wa}))},Dt=j.forwardRef(Ka),Ga={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-download",theme:"outlined"},Ja=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Ga}))},Ft=j.forwardRef(Ja),Qa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},Ya=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Qa}))},Ge=j.forwardRef(Ya),Xa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},Za=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Xa}))},nt=j.forwardRef(Za),en={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},tn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:en}))},sn=j.forwardRef(tn),an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},nn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:an}))},ln=j.forwardRef(nn),on={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},rn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:on}))},$t=j.forwardRef(rn),cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},dn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:cn}))},Ht=j.forwardRef(dn),hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},un=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:hn}))},zt=j.forwardRef(un),mn=Object.defineProperty,Je=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable,Vt=(n,s,t)=>s in n?mn(n,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[s]=t,ht=(n,s)=>{for(var t in s||(s={}))os.call(s,t)&&Vt(n,t,s[t]);if(Je)for(var t of Je(s))rs.call(s,t)&&Vt(n,t,s[t]);return n},ut=(n,s)=>{var t={};for(var a in n)os.call(n,a)&&s.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&Je)for(var a of Je(n))s.indexOf(a)<0&&rs.call(n,a)&&(t[a]=n[a]);return t};/**
1
+ var Ms=Object.defineProperty;var Es=(n,s,t)=>s in n?Ms(n,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[s]=t;var A=(n,s,t)=>Es(n,typeof s!="symbol"?s+"":s,t);import{r as j,R as q,j as e,a as Rs}from"./index-CCxx4GLY.js";import{L as Is,M as Ls,_ as ie,c as ne,N as ot,P as Ps,Q as rt,d as jt,U as ye,V as Ct,W as st,X as bt,Y as As,Z as ft,$ as Bs,a0 as Nt,a1 as Os,g as Ds,m as Fs,u as Pe,a2 as $s,a3 as Hs,a4 as zs,a5 as Vs,a6 as Us,a7 as qs,a8 as Ws,a9 as _t,C as xt,I as xe,aa as Ks,ab as qt,ac as Gs,ad as Wt,ae as Js,af as Qs,ag as Ys,e as re,t as p,q as He,v as Xs,w as be,f as Zs,h as ea,j as ta,s as d,o as W,n as he,ah as Kt,ai as De,aj as J,ak as qe,al as Oe,k as sa,am as aa,l as ze,an as na,ao as je,S as Gt,B as F,ap as ia,aq as la,ar as Fe,as as oa,at as fe,au as St,av as Ae,y as ra,J as ca,aw as Jt,H as Be,ax as Ve,E as ct,ay as kt,G as dt,az as da,O as Qt,aA as ha,aB as ua,aC as ma,aD as we,aE as wt,aF as pa,aG as Tt,aH as Yt,aI as Xt,aJ as Te,aK as Me,aL as Zt,aM as at,aN as Mt,aO as Et,aP as Rt,aQ as ga,aR as fa,A as xa,aS as Ue,aT as It,aU as ya,z as va,x as E,D as ja,aV as Ca}from"./AppHeader.module-DPc3vBLM.js";var Lt=j.createContext(null),es=j.createContext({}),ba=["prefixCls","className","containerRef"],Na=function(s){var t=s.prefixCls,a=s.className,c=s.containerRef,i=Is(s,ba),u=j.useContext(es),g=u.panel,l=Ls(g,c);return j.createElement("div",ie({className:ne("".concat(t,"-content"),a),role:"dialog",ref:l},ot(s,{aria:!0}),{"aria-modal":"true"},i))};function Pt(n){return typeof n=="string"&&String(Number(n))===n?(Ps(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(n)):n}var At={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function _a(n,s){var t,a,c,i=n.prefixCls,u=n.open,g=n.placement,l=n.inline,h=n.push,o=n.forceRender,r=n.autoFocus,m=n.keyboard,v=n.classNames,x=n.rootClassName,f=n.rootStyle,y=n.zIndex,C=n.className,S=n.id,N=n.style,b=n.motion,T=n.width,R=n.height,B=n.children,L=n.mask,M=n.maskClosable,I=n.maskMotion,O=n.maskClassName,ee=n.maskStyle,te=n.afterOpenChange,V=n.onClose,K=n.onMouseEnter,ue=n.onMouseOver,k=n.onMouseLeave,z=n.onClick,le=n.onKeyDown,me=n.onKeyUp,G=n.styles,pe=n.drawerRender,oe=j.useRef(),ge=j.useRef(),ve=j.useRef();j.useImperativeHandle(s,function(){return oe.current});var se=function(ce){var Re=ce.keyCode,Ie=ce.shiftKey;switch(Re){case st.TAB:{if(Re===st.TAB){if(!Ie&&document.activeElement===ve.current){var Le;(Le=ge.current)===null||Le===void 0||Le.focus({preventScroll:!0})}else if(Ie&&document.activeElement===ge.current){var tt;(tt=ve.current)===null||tt===void 0||tt.focus({preventScroll:!0})}}break}case st.ESC:{V&&m&&(ce.stopPropagation(),V(ce));break}}};j.useEffect(function(){if(u&&r){var Z;(Z=oe.current)===null||Z===void 0||Z.focus({preventScroll:!0})}},[u]);var Y=j.useState(!1),D=rt(Y,2),X=D[0],ae=D[1],U=j.useContext(Lt),_e;typeof h=="boolean"?_e=h?{}:{distance:0}:_e=h||{};var Ce=(t=(a=(c=_e)===null||c===void 0?void 0:c.distance)!==null&&a!==void 0?a:U==null?void 0:U.pushDistance)!==null&&t!==void 0?t:180,_s=j.useMemo(function(){return{pushDistance:Ce,push:function(){ae(!0)},pull:function(){ae(!1)}}},[Ce]);j.useEffect(function(){if(u){var Z;U==null||(Z=U.push)===null||Z===void 0||Z.call(U)}else{var ce;U==null||(ce=U.pull)===null||ce===void 0||ce.call(U)}},[u]),j.useEffect(function(){return function(){var Z;U==null||(Z=U.pull)===null||Z===void 0||Z.call(U)}},[]);var Ss=j.createElement(jt,ie({key:"mask"},I,{visible:L&&u}),function(Z,ce){var Re=Z.className,Ie=Z.style;return j.createElement("div",{className:ne("".concat(i,"-mask"),Re,v==null?void 0:v.mask,O),style:ye(ye(ye({},Ie),ee),G==null?void 0:G.mask),onClick:M&&u?V:void 0,ref:ce})}),ks=typeof b=="function"?b(g):b,Se={};if(X&&Ce)switch(g){case"top":Se.transform="translateY(".concat(Ce,"px)");break;case"bottom":Se.transform="translateY(".concat(-Ce,"px)");break;case"left":Se.transform="translateX(".concat(Ce,"px)");break;default:Se.transform="translateX(".concat(-Ce,"px)");break}g==="left"||g==="right"?Se.width=Pt(T):Se.height=Pt(R);var ws={onMouseEnter:K,onMouseOver:ue,onMouseLeave:k,onClick:z,onKeyDown:le,onKeyUp:me},Ts=j.createElement(jt,ie({key:"panel"},ks,{visible:u,forceRender:o,onVisibleChanged:function(ce){te==null||te(ce)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(Z,ce){var Re=Z.className,Ie=Z.style,Le=j.createElement(Na,ie({id:S,containerRef:ce,prefixCls:i,className:ne(C,v==null?void 0:v.content),style:ye(ye({},N),G==null?void 0:G.content)},ot(n,{aria:!0}),ws),B);return j.createElement("div",ie({className:ne("".concat(i,"-content-wrapper"),v==null?void 0:v.wrapper,Re),style:ye(ye(ye({},Se),Ie),G==null?void 0:G.wrapper)},ot(n,{data:!0})),pe?pe(Le):Le)}),vt=ye({},f);return y&&(vt.zIndex=y),j.createElement(Lt.Provider,{value:_s},j.createElement("div",{className:ne(i,"".concat(i,"-").concat(g),x,Ct(Ct({},"".concat(i,"-open"),u),"".concat(i,"-inline"),l)),style:vt,tabIndex:-1,ref:oe,onKeyDown:se},Ss,j.createElement("div",{tabIndex:0,ref:ge,style:At,"aria-hidden":"true","data-sentinel":"start"}),Ts,j.createElement("div",{tabIndex:0,ref:ve,style:At,"aria-hidden":"true","data-sentinel":"end"})))}var Sa=j.forwardRef(_a),ka=function(s){var t=s.open,a=t===void 0?!1:t,c=s.prefixCls,i=c===void 0?"rc-drawer":c,u=s.placement,g=u===void 0?"right":u,l=s.autoFocus,h=l===void 0?!0:l,o=s.keyboard,r=o===void 0?!0:o,m=s.width,v=m===void 0?378:m,x=s.mask,f=x===void 0?!0:x,y=s.maskClosable,C=y===void 0?!0:y,S=s.getContainer,N=s.forceRender,b=s.afterOpenChange,T=s.destroyOnClose,R=s.onMouseEnter,B=s.onMouseOver,L=s.onMouseLeave,M=s.onClick,I=s.onKeyDown,O=s.onKeyUp,ee=s.panelRef,te=j.useState(!1),V=rt(te,2),K=V[0],ue=V[1],k=j.useState(!1),z=rt(k,2),le=z[0],me=z[1];bt(function(){me(!0)},[]);var G=le?a:!1,pe=j.useRef(),oe=j.useRef();bt(function(){G&&(oe.current=document.activeElement)},[G]);var ge=function(X){var ae;if(ue(X),b==null||b(X),!X&&oe.current&&!((ae=pe.current)!==null&&ae!==void 0&&ae.contains(oe.current))){var U;(U=oe.current)===null||U===void 0||U.focus({preventScroll:!0})}},ve=j.useMemo(function(){return{panel:ee}},[ee]);if(!N&&!K&&!G&&T)return null;var se={onMouseEnter:R,onMouseOver:B,onMouseLeave:L,onClick:M,onKeyDown:I,onKeyUp:O},Y=ye(ye({},s),{},{open:G,prefixCls:i,placement:g,autoFocus:h,keyboard:r,width:v,mask:f,maskClosable:C,inline:S===!1,afterOpenChange:ge,ref:pe},se);return j.createElement(es.Provider,{value:ve},j.createElement(As,{open:G||N||K,autoDestroy:!1,getContainer:S,autoLock:f&&(G||K)},j.createElement(Sa,Y)))};const ts=n=>{var s,t;const{prefixCls:a,ariaId:c,title:i,footer:u,extra:g,closable:l,loading:h,onClose:o,headerStyle:r,bodyStyle:m,footerStyle:v,children:x,classNames:f,styles:y}=n,C=ft("drawer");let S;l===!1?S=void 0:l===void 0||l===!0?S="start":S=(l==null?void 0:l.placement)==="end"?"end":"start";const N=j.useCallback(L=>j.createElement("button",{type:"button",onClick:o,className:ne(`${a}-close`,{[`${a}-close-${S}`]:S==="end"})},L),[o,a,S]),[b,T]=Bs(Nt(n),Nt(C),{closable:!0,closeIconRender:N}),R=()=>{var L,M;return!i&&!b?null:j.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(L=C.styles)===null||L===void 0?void 0:L.header),r),y==null?void 0:y.header),className:ne(`${a}-header`,{[`${a}-header-close-only`]:b&&!i&&!g},(M=C.classNames)===null||M===void 0?void 0:M.header,f==null?void 0:f.header)},j.createElement("div",{className:`${a}-header-title`},S==="start"&&T,i&&j.createElement("div",{className:`${a}-title`,id:c},i)),g&&j.createElement("div",{className:`${a}-extra`},g),S==="end"&&T)},B=()=>{var L,M;if(!u)return null;const I=`${a}-footer`;return j.createElement("div",{className:ne(I,(L=C.classNames)===null||L===void 0?void 0:L.footer,f==null?void 0:f.footer),style:Object.assign(Object.assign(Object.assign({},(M=C.styles)===null||M===void 0?void 0:M.footer),v),y==null?void 0:y.footer)},u)};return j.createElement(j.Fragment,null,R(),j.createElement("div",{className:ne(`${a}-body`,f==null?void 0:f.body,(s=C.classNames)===null||s===void 0?void 0:s.body),style:Object.assign(Object.assign(Object.assign({},(t=C.styles)===null||t===void 0?void 0:t.body),m),y==null?void 0:y.body)},h?j.createElement(Os,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):x),B())},wa=n=>{const s="100%";return{left:`translateX(-${s})`,right:`translateX(${s})`,top:`translateY(-${s})`,bottom:`translateY(${s})`}[n]},ss=(n,s)=>({"&-enter, &-appear":Object.assign(Object.assign({},n),{"&-active":s}),"&-leave":Object.assign(Object.assign({},s),{"&-active":n})}),as=(n,s)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${s}`}}},ss({opacity:n},{opacity:1})),Ta=(n,s)=>[as(.7,s),ss({transform:wa(n)},{transform:"none"})],Ma=n=>{const{componentCls:s,motionDurationSlow:t}=n;return{[s]:{[`${s}-mask-motion`]:as(0,t),[`${s}-panel-motion`]:["left","right","top","bottom"].reduce((a,c)=>Object.assign(Object.assign({},a),{[`&-${c}`]:Ta(c,t)}),{})}}},Ea=n=>{const{borderRadiusSM:s,componentCls:t,zIndexPopup:a,colorBgMask:c,colorBgElevated:i,motionDurationSlow:u,motionDurationMid:g,paddingXS:l,padding:h,paddingLG:o,fontSizeLG:r,lineHeightLG:m,lineWidth:v,lineType:x,colorSplit:f,marginXS:y,colorIcon:C,colorIconHover:S,colorBgTextHover:N,colorBgTextActive:b,colorText:T,fontWeightStrong:R,footerPaddingBlock:B,footerPaddingInline:L,calc:M}=n,I=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:a,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${t}-left`]:{boxShadow:n.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:n.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:n.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:n.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:a,background:c,pointerEvents:"auto"},[I]:{position:"absolute",zIndex:a,maxWidth:"100vw",transition:`all ${u}`,"&-hidden":{display:"none"}},[`&-left > ${I}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:n.boxShadowDrawerLeft},[`&-right > ${I}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:n.boxShadowDrawerRight},[`&-top > ${I}`]:{top:0,insetInline:0,boxShadow:n.boxShadowDrawerUp},[`&-bottom > ${I}`]:{bottom:0,insetInline:0,boxShadow:n.boxShadowDrawerDown},[`${t}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Pe(h)} ${Pe(o)}`,fontSize:r,lineHeight:m,borderBottom:`${Pe(v)} ${x} ${f}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:Object.assign({display:"inline-flex",width:M(r).add(l).equal(),height:M(r).add(l).equal(),borderRadius:s,justifyContent:"center",alignItems:"center",color:C,fontWeight:R,fontSize:r,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${g}`,textRendering:"auto",[`&${t}-close-end`]:{marginInlineStart:y},[`&:not(${t}-close-end)`]:{marginInlineEnd:y},"&:hover":{color:S,backgroundColor:N,textDecoration:"none"},"&:active":{backgroundColor:b}},$s(n)),[`${t}-title`]:{flex:1,margin:0,fontWeight:n.fontWeightStrong,fontSize:r,lineHeight:m},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:o,overflow:"auto",[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${t}-footer`]:{flexShrink:0,padding:`${Pe(B)} ${Pe(L)}`,borderTop:`${Pe(v)} ${x} ${f}`},"&-rtl":{direction:"rtl"}}}},Ra=n=>({zIndexPopup:n.zIndexPopupBase,footerPaddingBlock:n.paddingXS,footerPaddingInline:n.padding}),ns=Ds("Drawer",n=>{const s=Fs(n,{});return[Ea(s),Ma(s)]},Ra);var is=function(n,s){var t={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(n);c<a.length;c++)s.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(n,a[c])&&(t[a[c]]=n[a[c]]);return t};const Ia={distance:180},We=n=>{const{rootClassName:s,width:t,height:a,size:c="default",mask:i=!0,push:u=Ia,open:g,afterOpenChange:l,onClose:h,prefixCls:o,getContainer:r,panelRef:m=null,style:v,className:x,"aria-labelledby":f,visible:y,afterVisibleChange:C,maskStyle:S,drawerStyle:N,contentWrapperStyle:b,destroyOnClose:T,destroyOnHidden:R}=n,B=is(n,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),L=Hs(),M=B.title?L:void 0,{getPopupContainer:I,getPrefixCls:O,direction:ee,className:te,style:V,classNames:K,styles:ue}=ft("drawer"),k=O("drawer",o),[z,le,me]=ns(k),G=r===void 0&&I?()=>I(document.body):r,pe=ne({"no-mask":!i,[`${k}-rtl`]:ee==="rtl"},s,le,me),oe=j.useMemo(()=>t??(c==="large"?736:378),[t,c]),ge=j.useMemo(()=>a??(c==="large"?736:378),[a,c]),ve={motionName:_t(k,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},se=Ce=>({motionName:_t(k,`panel-motion-${Ce}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Y=zs(),D=Vs(m,Y),[X,ae]=Us("Drawer",B.zIndex),{classNames:U={},styles:_e={}}=B;return z(j.createElement(qs,{form:!0,space:!0},j.createElement(Ws.Provider,{value:ae},j.createElement(ka,Object.assign({prefixCls:k,onClose:h,maskMotion:ve,motion:se},B,{classNames:{mask:ne(U.mask,K.mask),content:ne(U.content,K.content),wrapper:ne(U.wrapper,K.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},_e.mask),S),ue.mask),content:Object.assign(Object.assign(Object.assign({},_e.content),N),ue.content),wrapper:Object.assign(Object.assign(Object.assign({},_e.wrapper),b),ue.wrapper)},open:g??y,mask:i,push:u,width:oe,height:ge,style:Object.assign(Object.assign({},V),v),className:ne(te,x),rootClassName:pe,getContainer:G,afterOpenChange:l??C,panelRef:D,zIndex:X,"aria-labelledby":f??M,destroyOnClose:R??T}),j.createElement(ts,Object.assign({prefixCls:k},B,{ariaId:M,onClose:h}))))))},La=n=>{const{prefixCls:s,style:t,className:a,placement:c="right"}=n,i=is(n,["prefixCls","style","className","placement"]),{getPrefixCls:u}=j.useContext(xt),g=u("drawer",s),[l,h,o]=ns(g),r=ne(g,`${g}-pure`,`${g}-${c}`,h,o,a);return l(j.createElement("div",{className:r,style:t},j.createElement(ts,Object.assign({prefixCls:g},i))))};We._InternalPanelDoNotUseOrYouWillBeFired=La;var Pa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Aa=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Pa}))},Ke=j.forwardRef(Aa),Ba={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Oa=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Ba}))},Bt=j.forwardRef(Oa);function Da(n,s,t){return typeof t=="boolean"?t:n.length?!0:Ks(s).some(c=>c.type===qt)}var ls=function(n,s){var t={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&s.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(n);c<a.length;c++)s.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(n,a[c])&&(t[a[c]]=n[a[c]]);return t};function et({suffixCls:n,tagName:s,displayName:t}){return a=>j.forwardRef((i,u)=>j.createElement(a,Object.assign({ref:u,suffixCls:n,tagName:s},i)))}const yt=j.forwardRef((n,s)=>{const{prefixCls:t,suffixCls:a,className:c,tagName:i}=n,u=ls(n,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:g}=j.useContext(xt),l=g("layout",t),[h,o,r]=Wt(l),m=a?`${l}-${a}`:l;return h(j.createElement(i,Object.assign({className:ne(t||m,c,o,r),ref:s},u)))}),Fa=j.forwardRef((n,s)=>{const{direction:t}=j.useContext(xt),[a,c]=j.useState([]),{prefixCls:i,className:u,rootClassName:g,children:l,hasSider:h,tagName:o,style:r}=n,m=ls(n,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),v=Gs(m,["suffixCls"]),{getPrefixCls:x,className:f,style:y}=ft("layout"),C=x("layout",i),S=Da(a,l,h),[N,b,T]=Wt(C),R=ne(C,{[`${C}-has-sider`]:S,[`${C}-rtl`]:t==="rtl"},f,u,g,b,T),B=j.useMemo(()=>({siderHook:{addSider:L=>{c(M=>[].concat(Js(M),[L]))},removeSider:L=>{c(M=>M.filter(I=>I!==L))}}}),[]);return N(j.createElement(Qs.Provider,{value:B},j.createElement(o,Object.assign({ref:s,className:R,style:Object.assign(Object.assign({},y),r)},v),l)))}),$a=et({tagName:"div",displayName:"Layout"})(Fa),Ha=et({suffixCls:"header",tagName:"header",displayName:"Header"})(yt),za=et({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(yt),Va=et({suffixCls:"content",tagName:"main",displayName:"Content"})(yt),Ne=$a;Ne.Header=Ha;Ne.Footer=za;Ne.Content=Va;Ne.Sider=qt;Ne._InternalSiderContext=Ys;var Ua={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"},qa=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Ua}))},Ot=j.forwardRef(qa),Wa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z"}}]},name:"bar-chart",theme:"outlined"},Ka=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Wa}))},Dt=j.forwardRef(Ka),Ga={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-download",theme:"outlined"},Ja=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Ga}))},Ft=j.forwardRef(Ja),Qa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},Ya=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Qa}))},Ge=j.forwardRef(Ya),Xa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},Za=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:Xa}))},nt=j.forwardRef(Za),en={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},tn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:en}))},sn=j.forwardRef(tn),an={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},nn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:an}))},ln=j.forwardRef(nn),on={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},rn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:on}))},$t=j.forwardRef(rn),cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},dn=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:cn}))},Ht=j.forwardRef(dn),hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},un=function(s,t){return j.createElement(xe,ie({},s,{ref:t,icon:hn}))},zt=j.forwardRef(un),mn=Object.defineProperty,Je=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,rs=Object.prototype.propertyIsEnumerable,Vt=(n,s,t)=>s in n?mn(n,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[s]=t,ht=(n,s)=>{for(var t in s||(s={}))os.call(s,t)&&Vt(n,t,s[t]);if(Je)for(var t of Je(s))rs.call(s,t)&&Vt(n,t,s[t]);return n},ut=(n,s)=>{var t={};for(var a in n)os.call(n,a)&&s.indexOf(a)<0&&(t[a]=n[a]);if(n!=null&&Je)for(var a of Je(n))s.indexOf(a)<0&&rs.call(n,a)&&(t[a]=n[a]);return t};/**
2
2
  * @license QR Code generator library (TypeScript)
3
3
  * Copyright (c) Project Nayuki.
4
4
  * SPDX-License-Identifier: MIT