@yuku123/z-agent-component 0.1.1 → 0.1.2
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/PagedTable-D9Bw7uhG-D0CawPBa.js +843 -0
- package/dist/z-agent-component.js +3985 -4159
- package/dist/z-agent-pages.js +3606 -3589
- package/package.json +1 -1
- package/dist/index-BOO5JDh4.js +0 -504
package/package.json
CHANGED
package/dist/index-BOO5JDh4.js
DELETED
|
@@ -1,504 +0,0 @@
|
|
|
1
|
-
import { createRequest as x } from "@yuku123/z-frontend-common";
|
|
2
|
-
import pe from "react";
|
|
3
|
-
const X = x({ baseURL: "/api", timeout: 15e3 }), j = x({ baseURL: "/api", timeout: 15e3 }), C = x({ baseURL: "/api", timeout: 15e3 });
|
|
4
|
-
function U(n) {
|
|
5
|
-
const o = function(a, i = {}) {
|
|
6
|
-
const s = { ...i };
|
|
7
|
-
return s.body !== void 0 && (s.data = s.body, delete s.body), typeof s.method == "string" && (s.method = s.method.toUpperCase()), s.url = a, n.request(s);
|
|
8
|
-
};
|
|
9
|
-
return ["get", "post", "put", "delete", "patch", "head", "request", "create", "interceptors"].forEach((a) => {
|
|
10
|
-
typeof n[a] == "function" ? o[a] = n[a].bind(n) : o[a] = n[a];
|
|
11
|
-
}), o;
|
|
12
|
-
}
|
|
13
|
-
const ce = U(X);
|
|
14
|
-
U(j);
|
|
15
|
-
U(C);
|
|
16
|
-
function Ee({ apiBase: n } = {}) {
|
|
17
|
-
if (n !== void 0)
|
|
18
|
-
for (const o of [X, j, C])
|
|
19
|
-
o.defaults.baseURL = n;
|
|
20
|
-
}
|
|
21
|
-
const M = { GET: "GET", POST: "POST", PUT: "PUT", DELETE: "DELETE" }, h = {};
|
|
22
|
-
function e(n, o, p, a, i) {
|
|
23
|
-
h[n] || (h[n] = {}), h[n][o] = { verb: p, path: a, transform: i };
|
|
24
|
-
}
|
|
25
|
-
function ue(n, o) {
|
|
26
|
-
let p = 0;
|
|
27
|
-
return n.replace(/\{(\w+)\}/g, () => String(o[p++] ?? ""));
|
|
28
|
-
}
|
|
29
|
-
const V = { code: 200, message: "ok", data: [], total: 0 };
|
|
30
|
-
function ge(n, o) {
|
|
31
|
-
return o.startsWith("/ctc/ac") || o.startsWith("/ctc/authorization") || o.startsWith("/ctc/surl") ? C : o.startsWith("/auth/") ? j : ce;
|
|
32
|
-
}
|
|
33
|
-
function g(n) {
|
|
34
|
-
return new Proxy({}, {
|
|
35
|
-
get: (o, p) => {
|
|
36
|
-
if (!(p === "then" || typeof p == "symbol"))
|
|
37
|
-
return p === "toJSON" || p === "constructor" || p === "toString" ? () => `[apiRouter:${n}]` : async (...a) => {
|
|
38
|
-
var s;
|
|
39
|
-
const i = (s = h[n]) == null ? void 0 : s[p];
|
|
40
|
-
if (!i)
|
|
41
|
-
return h[n], V;
|
|
42
|
-
try {
|
|
43
|
-
const f = ue(i.path, a), T = ge(i.verb, f), d = {};
|
|
44
|
-
if (i.verb === M.GET || i.verb === M.DELETE)
|
|
45
|
-
a.length > 0 && typeof a[0] == "object" && a[0] !== null && (d.params = a[0]);
|
|
46
|
-
else if (a.length === 1) {
|
|
47
|
-
const A = a[0];
|
|
48
|
-
A && typeof A == "object" && ("data" in A || "params" in A) ? ("data" in A && (d.data = A.data), "params" in A && (d.params = A.params)) : d.data = A;
|
|
49
|
-
} else a.length > 1 && (typeof a[0] == "object" && a[0] !== null && ("data" in a[0] || "params" in a[0] ? ("data" in a[0] && (d.data = a[0].data), "params" in a[0] && (d.params = a[0].params)) : d.data = a[0]), typeof a[1] == "object" && a[1] !== null && ("data" in a[1] || "params" in a[1] ? ("data" in a[1] && (d.data = a[1].data), "params" in a[1] && (d.params = a[1].params)) : d.params = a[1]));
|
|
50
|
-
const S = await T.request({
|
|
51
|
-
method: i.verb,
|
|
52
|
-
url: f,
|
|
53
|
-
...d
|
|
54
|
-
});
|
|
55
|
-
return i.transform ? i.transform(S, a) : S;
|
|
56
|
-
} catch (f) {
|
|
57
|
-
return `${(f == null ? void 0 : f.message) || f}`, V;
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
e("llmApi", "knowledgeList", "GET", "/llm-gateway/knowledge/list");
|
|
64
|
-
e("llmApi", "skillTemplateList", "GET", "/llm-gateway/skill/template-list");
|
|
65
|
-
e("llmApi", "toolTemplateList", "GET", "/llm-gateway/tool/template-list");
|
|
66
|
-
e("llmApi", "appConfig", "GET", "/llm-gateway/app/config");
|
|
67
|
-
e("llmApi", "appSkillAdd", "POST", "/llm-gateway/app/skill-add");
|
|
68
|
-
e("llmApi", "appToolAdd", "POST", "/llm-gateway/app/tool-add");
|
|
69
|
-
e("mcpApi", "list", "GET", "/mcp/server/list");
|
|
70
|
-
e("mcpApi", "listTools", "POST", "/mcp/server/tools/list");
|
|
71
|
-
e("mcpApi", "callTool", "POST", "/mcp/server/tools/call");
|
|
72
|
-
e("ossApi", "listBuckets", "GET", "/v1/bucket");
|
|
73
|
-
e("ossApi", "getBucketStats", "GET", "/v1/bucket/stats");
|
|
74
|
-
e("ossApi", "createBucket", "POST", "/v1/bucket");
|
|
75
|
-
e("ossApi", "deleteBucket", "DELETE", "/v1/bucket");
|
|
76
|
-
e("ossApi", "setBucketAcl", "PUT", "/v1/bucket/acl");
|
|
77
|
-
e("ossApi", "listObjects", "GET", "/v1/object");
|
|
78
|
-
e("ossApi", "presignedUrl", "GET", "/v1/object/url");
|
|
79
|
-
e("ossApi", "uploadObject", "POST", "/v1/object");
|
|
80
|
-
e("ossApi", "downloadUrl", "GET", "/v1/object/url");
|
|
81
|
-
e("ossApi", "deleteObject", "DELETE", "/v1/object");
|
|
82
|
-
e("ossApi", "copyObject", "POST", "/v1/object/copy");
|
|
83
|
-
e("ossApi", "batchDelete", "POST", "/v1/object/batch-delete");
|
|
84
|
-
e("ossApi", "createFolder", "POST", "/v1/folder");
|
|
85
|
-
e("scriptApi", "list", "GET", "/script/list");
|
|
86
|
-
e("scriptApi", "create", "POST", "/script");
|
|
87
|
-
e("scriptApi", "update", "POST", "/script/update");
|
|
88
|
-
e("scriptApi", "delete", "POST", "/script/delete");
|
|
89
|
-
e("scriptApi", "publish", "POST", "/script/publish");
|
|
90
|
-
e("scriptApi", "unpublish", "POST", "/script/unpublish");
|
|
91
|
-
e("scriptApi", "run", "POST", "/script/run");
|
|
92
|
-
e("scriptApi", "importCurl", "POST", "/script/import-curl");
|
|
93
|
-
e("scriptApi", "importOpenApi", "POST", "/script/import-openapi");
|
|
94
|
-
e("scriptApi", "previewMapping", "POST", "/script/preview-mapping");
|
|
95
|
-
e("skillApi", "page", "POST", "/skill/page");
|
|
96
|
-
e("skillApi", "categoryTree", "GET", "/skill/category/tree");
|
|
97
|
-
e("skillApi", "create", "POST", "/skill");
|
|
98
|
-
e("skillApi", "createCategory", "POST", "/skill/category");
|
|
99
|
-
e("skillApi", "deleteCategory", "POST", "/skill/category/delete");
|
|
100
|
-
e("skillApi", "getBySkillCode", "GET", "/skill/by-code");
|
|
101
|
-
e("skillApi", "install", "POST", "/skill/install");
|
|
102
|
-
e("skillApi", "stats", "GET", "/skill/stats");
|
|
103
|
-
e("skillApi", "versions", "GET", "/skill/versions");
|
|
104
|
-
e("skillApi", "downloadPackage", "GET", "/skill/download");
|
|
105
|
-
e("skillApi", "uploadPackage", "POST", "/skill/upload");
|
|
106
|
-
e("agentApi", "appPage", "POST", "/agent/app/page");
|
|
107
|
-
e("agentApi", "appGet", "GET", "/agent/app/get");
|
|
108
|
-
e("agentApi", "appCreate", "POST", "/agent/app");
|
|
109
|
-
e("agentApi", "appUpdate", "POST", "/agent/app/update");
|
|
110
|
-
e("agentApi", "appDelete", "POST", "/agent/app/delete");
|
|
111
|
-
e("agentApi", "appPublish", "POST", "/agent/app/publish");
|
|
112
|
-
e("agentApi", "appUpgrade", "POST", "/agent/app/upgrade");
|
|
113
|
-
e("agentApi", "appToggleShare", "POST", "/agent/app/toggleShare");
|
|
114
|
-
e("agentApi", "versions", "GET", "/agent/app/versions");
|
|
115
|
-
e("agentApi", "groupTree", "GET", "/agent/group/tree");
|
|
116
|
-
e("agentApi", "groupCreate", "POST", "/agent/group");
|
|
117
|
-
e("agentApi", "groupUpdate", "POST", "/agent/group/update");
|
|
118
|
-
e("agentApi", "groupDelete", "POST", "/agent/group/delete");
|
|
119
|
-
e("agentApi", "chatHistory", "GET", "/agent/chat/history");
|
|
120
|
-
e("agentApi", "chatStream", "POST", "/agent/chat/send");
|
|
121
|
-
e("agentApi", "chatClear", "POST", "/agent/chat/clear");
|
|
122
|
-
e("agentApi", "shareVerify", "GET", "/agent/share/verify");
|
|
123
|
-
e("flowApi", "list", "GET", "/agent/flow/list");
|
|
124
|
-
e("flowApi", "get", "GET", "/agent/flow/byId");
|
|
125
|
-
e("flowApi", "byFlowId", "GET", "/agent/flow/byFlowId");
|
|
126
|
-
e("flowApi", "versions", "GET", "/agent/flow/versions");
|
|
127
|
-
e("flowApi", "create", "POST", "/agent/flow/create");
|
|
128
|
-
e("flowApi", "update", "POST", "/agent/flow/update");
|
|
129
|
-
e("flowApi", "publish", "POST", "/agent/flow/publish");
|
|
130
|
-
e("flowApi", "archive", "POST", "/agent/flow/archive");
|
|
131
|
-
e("flowApi", "newVersion", "POST", "/agent/flow/newVersion");
|
|
132
|
-
e("flowApi", "delete", "POST", "/agent/flow/delete");
|
|
133
|
-
e("flowApi", "execute", "POST", "/agent/flow/execute");
|
|
134
|
-
e("flowApi", "health", "GET", "/agent/flow/health");
|
|
135
|
-
e("statsApi", "overview", "GET", "/agent/stats/overview");
|
|
136
|
-
e("statsApi", "trend", "GET", "/agent/stats/trend");
|
|
137
|
-
e("statsApi", "latency", "GET", "/agent/stats/latency");
|
|
138
|
-
e("statsApi", "byApp", "GET", "/agent/stats/by-app");
|
|
139
|
-
e("statsApi", "byUser", "GET", "/agent/stats/by-user");
|
|
140
|
-
e("statsApi", "health", "GET", "/agent/stats/health");
|
|
141
|
-
e("pluginApi", "page", "GET", "/agent/plugin/page");
|
|
142
|
-
e("pluginApi", "get", "GET", "/agent/plugin/byId");
|
|
143
|
-
e("pluginApi", "byCode", "GET", "/agent/plugin/byCode");
|
|
144
|
-
e("pluginApi", "create", "POST", "/agent/plugin/create");
|
|
145
|
-
e("pluginApi", "update", "POST", "/agent/plugin/update");
|
|
146
|
-
e("pluginApi", "status", "POST", "/agent/plugin/status");
|
|
147
|
-
e("pluginApi", "delete", "POST", "/agent/plugin/delete");
|
|
148
|
-
e("pluginApi", "execute", "POST", "/agent/plugin/execute");
|
|
149
|
-
e("pluginApi", "builtinBeans", "GET", "/agent/plugin/builtin-beans");
|
|
150
|
-
e("pluginApi", "health", "GET", "/agent/plugin/health");
|
|
151
|
-
e("triggerApi", "page", "GET", "/agent/trigger/page");
|
|
152
|
-
e("triggerApi", "get", "GET", "/agent/trigger/byId");
|
|
153
|
-
e("triggerApi", "create", "POST", "/agent/trigger/create");
|
|
154
|
-
e("triggerApi", "update", "POST", "/agent/trigger/update");
|
|
155
|
-
e("triggerApi", "status", "POST", "/agent/trigger/status");
|
|
156
|
-
e("triggerApi", "delete", "POST", "/agent/trigger/delete");
|
|
157
|
-
e("triggerApi", "fire", "POST", "/agent/trigger/fire");
|
|
158
|
-
e("triggerApi", "health", "GET", "/agent/trigger/health");
|
|
159
|
-
e("templateApi", "page", "GET", "/agent/template/page");
|
|
160
|
-
e("templateApi", "get", "GET", "/agent/template/byId");
|
|
161
|
-
e("templateApi", "hot", "GET", "/agent/template/hot");
|
|
162
|
-
e("templateApi", "create", "POST", "/agent/template/create");
|
|
163
|
-
e("templateApi", "update", "POST", "/agent/template/update");
|
|
164
|
-
e("templateApi", "status", "POST", "/agent/template/status");
|
|
165
|
-
e("templateApi", "delete", "POST", "/agent/template/delete");
|
|
166
|
-
e("templateApi", "fork", "POST", "/agent/template/fork");
|
|
167
|
-
e("templateApi", "health", "GET", "/agent/template/health");
|
|
168
|
-
e("textGenApi", "page", "GET", "/agent/textgen/page");
|
|
169
|
-
e("textGenApi", "get", "GET", "/agent/textgen/byId");
|
|
170
|
-
e("textGenApi", "results", "GET", "/agent/textgen/results");
|
|
171
|
-
e("textGenApi", "create", "POST", "/agent/textgen/create");
|
|
172
|
-
e("textGenApi", "delete", "POST", "/agent/textgen/delete");
|
|
173
|
-
e("textGenApi", "run", "POST", "/agent/textgen/run");
|
|
174
|
-
e("textGenApi", "createAndRun", "POST", "/agent/textgen/createAndRun");
|
|
175
|
-
e("textGenApi", "health", "GET", "/agent/textgen/health");
|
|
176
|
-
e("humanInputApi", "inbox", "GET", "/agent/human/inbox");
|
|
177
|
-
e("humanInputApi", "listByExecution", "GET", "/agent/human/execution");
|
|
178
|
-
e("humanInputApi", "getById", "GET", "/agent/human/byId");
|
|
179
|
-
e("humanInputApi", "getByCode", "GET", "/agent/human/by-code");
|
|
180
|
-
e("humanInputApi", "decide", "POST", "/agent/human/decide");
|
|
181
|
-
e("humanInputApi", "create", "POST", "/agent/human/create");
|
|
182
|
-
e("humanInputApi", "health", "GET", "/agent/human/health");
|
|
183
|
-
e("productApi", "page", "GET", "/v1/products");
|
|
184
|
-
e("productApi", "create", "POST", "/v1/products");
|
|
185
|
-
e("productApi", "update", "PUT", "/v1/products");
|
|
186
|
-
e("productApi", "delete", "DELETE", "/v1/products");
|
|
187
|
-
e("productApi", "publish", "POST", "/v1/products/publish");
|
|
188
|
-
e("productApi", "offline", "POST", "/v1/products/offline");
|
|
189
|
-
e("productApi", "configGet", "GET", "/v1/products/config");
|
|
190
|
-
e("productApi", "configSave", "PUT", "/v1/products/config");
|
|
191
|
-
e("sceneApi", "page", "GET", "/v1/scenes");
|
|
192
|
-
e("sceneApi", "create", "POST", "/v1/scenes");
|
|
193
|
-
e("sceneApi", "update", "PUT", "/v1/scenes");
|
|
194
|
-
e("sceneApi", "delete", "DELETE", "/v1/scenes");
|
|
195
|
-
e("sceneApi", "duplicate", "POST", "/v1/scenes/duplicate");
|
|
196
|
-
e("sceneApi", "publish", "POST", "/v1/scenes/publish");
|
|
197
|
-
e("sceneApi", "offline", "POST", "/v1/scenes/offline");
|
|
198
|
-
e("sceneApi", "execute", "POST", "/v1/scenes/execute");
|
|
199
|
-
e("sceneApi", "canvasGet", "GET", "/v1/scenes/canvas");
|
|
200
|
-
e("sceneApi", "configGet", "GET", "/v1/scenes/config");
|
|
201
|
-
e("sceneApi", "nodes", "GET", "/v1/scenes/nodes");
|
|
202
|
-
e("sceneApi", "chatHistory", "GET", "/v1/scenes/chat-history");
|
|
203
|
-
const be = g("agentApi"), he = g("flowApi"), Se = g("statsApi");
|
|
204
|
-
g("pluginApi");
|
|
205
|
-
g("memoryApi");
|
|
206
|
-
g("triggerApi");
|
|
207
|
-
const Oe = g("templateApi");
|
|
208
|
-
g("textGenApi");
|
|
209
|
-
g("humanInputApi");
|
|
210
|
-
const Pe = g("llmApi"), ve = g("mcpApi"), ke = g("scriptApi"), ye = g("skillApi"), we = g("productApi"), Ge = g("sceneApi"), Re = g("ossApi");
|
|
211
|
-
var v = { exports: {} }, E = {};
|
|
212
|
-
/**
|
|
213
|
-
* @license React
|
|
214
|
-
* react-jsx-runtime.production.js
|
|
215
|
-
*
|
|
216
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
217
|
-
*
|
|
218
|
-
* This source code is licensed under the MIT license found in the
|
|
219
|
-
* LICENSE file in the root directory of this source tree.
|
|
220
|
-
*/
|
|
221
|
-
var B;
|
|
222
|
-
function fe() {
|
|
223
|
-
if (B) return E;
|
|
224
|
-
B = 1;
|
|
225
|
-
var n = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
|
|
226
|
-
function p(a, i, s) {
|
|
227
|
-
var f = null;
|
|
228
|
-
if (s !== void 0 && (f = "" + s), i.key !== void 0 && (f = "" + i.key), "key" in i) {
|
|
229
|
-
s = {};
|
|
230
|
-
for (var T in i)
|
|
231
|
-
T !== "key" && (s[T] = i[T]);
|
|
232
|
-
} else s = i;
|
|
233
|
-
return i = s.ref, {
|
|
234
|
-
$$typeof: n,
|
|
235
|
-
type: a,
|
|
236
|
-
key: f,
|
|
237
|
-
ref: i !== void 0 ? i : null,
|
|
238
|
-
props: s
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
return E.Fragment = o, E.jsx = p, E.jsxs = p, E;
|
|
242
|
-
}
|
|
243
|
-
var b = {};
|
|
244
|
-
/**
|
|
245
|
-
* @license React
|
|
246
|
-
* react-jsx-runtime.development.js
|
|
247
|
-
*
|
|
248
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
249
|
-
*
|
|
250
|
-
* This source code is licensed under the MIT license found in the
|
|
251
|
-
* LICENSE file in the root directory of this source tree.
|
|
252
|
-
*/
|
|
253
|
-
var J;
|
|
254
|
-
function de() {
|
|
255
|
-
return J || (J = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
256
|
-
function n(t) {
|
|
257
|
-
if (t == null) return null;
|
|
258
|
-
if (typeof t == "function")
|
|
259
|
-
return t.$$typeof === se ? null : t.displayName || t.name || null;
|
|
260
|
-
if (typeof t == "string") return t;
|
|
261
|
-
switch (t) {
|
|
262
|
-
case k:
|
|
263
|
-
return "Fragment";
|
|
264
|
-
case Q:
|
|
265
|
-
return "Profiler";
|
|
266
|
-
case Z:
|
|
267
|
-
return "StrictMode";
|
|
268
|
-
case ae:
|
|
269
|
-
return "Suspense";
|
|
270
|
-
case re:
|
|
271
|
-
return "SuspenseList";
|
|
272
|
-
case ie:
|
|
273
|
-
return "Activity";
|
|
274
|
-
}
|
|
275
|
-
if (typeof t == "object")
|
|
276
|
-
switch (typeof t.tag == "number" && console.error(
|
|
277
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
278
|
-
), t.$$typeof) {
|
|
279
|
-
case H:
|
|
280
|
-
return "Portal";
|
|
281
|
-
case ee:
|
|
282
|
-
return t.displayName || "Context";
|
|
283
|
-
case K:
|
|
284
|
-
return (t._context.displayName || "Context") + ".Consumer";
|
|
285
|
-
case te:
|
|
286
|
-
var r = t.render;
|
|
287
|
-
return t = t.displayName, t || (t = r.displayName || r.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
288
|
-
case ne:
|
|
289
|
-
return r = t.displayName || null, r !== null ? r : n(t.type) || "Memo";
|
|
290
|
-
case y:
|
|
291
|
-
r = t._payload, t = t._init;
|
|
292
|
-
try {
|
|
293
|
-
return n(t(r));
|
|
294
|
-
} catch {
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
return null;
|
|
298
|
-
}
|
|
299
|
-
function o(t) {
|
|
300
|
-
return "" + t;
|
|
301
|
-
}
|
|
302
|
-
function p(t) {
|
|
303
|
-
try {
|
|
304
|
-
o(t);
|
|
305
|
-
var r = !1;
|
|
306
|
-
} catch {
|
|
307
|
-
r = !0;
|
|
308
|
-
}
|
|
309
|
-
if (r) {
|
|
310
|
-
r = console;
|
|
311
|
-
var l = r.error, c = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
312
|
-
return l.call(
|
|
313
|
-
r,
|
|
314
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
315
|
-
c
|
|
316
|
-
), o(t);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
function a(t) {
|
|
320
|
-
if (t === k) return "<>";
|
|
321
|
-
if (typeof t == "object" && t !== null && t.$$typeof === y)
|
|
322
|
-
return "<...>";
|
|
323
|
-
try {
|
|
324
|
-
var r = n(t);
|
|
325
|
-
return r ? "<" + r + ">" : "<...>";
|
|
326
|
-
} catch {
|
|
327
|
-
return "<...>";
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
function i() {
|
|
331
|
-
var t = w.A;
|
|
332
|
-
return t === null ? null : t.getOwner();
|
|
333
|
-
}
|
|
334
|
-
function s() {
|
|
335
|
-
return Error("react-stack-top-frame");
|
|
336
|
-
}
|
|
337
|
-
function f(t) {
|
|
338
|
-
if (D.call(t, "key")) {
|
|
339
|
-
var r = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
340
|
-
if (r && r.isReactWarning) return !1;
|
|
341
|
-
}
|
|
342
|
-
return t.key !== void 0;
|
|
343
|
-
}
|
|
344
|
-
function T(t, r) {
|
|
345
|
-
function l() {
|
|
346
|
-
Y || (Y = !0, console.error(
|
|
347
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
348
|
-
r
|
|
349
|
-
));
|
|
350
|
-
}
|
|
351
|
-
l.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
352
|
-
get: l,
|
|
353
|
-
configurable: !0
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
function d() {
|
|
357
|
-
var t = n(this.type);
|
|
358
|
-
return $[t] || ($[t] = !0, console.error(
|
|
359
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
360
|
-
)), t = this.props.ref, t !== void 0 ? t : null;
|
|
361
|
-
}
|
|
362
|
-
function S(t, r, l, c, P, R) {
|
|
363
|
-
var u = l.ref;
|
|
364
|
-
return t = {
|
|
365
|
-
$$typeof: L,
|
|
366
|
-
type: t,
|
|
367
|
-
key: r,
|
|
368
|
-
props: l,
|
|
369
|
-
_owner: c
|
|
370
|
-
}, (u !== void 0 ? u : null) !== null ? Object.defineProperty(t, "ref", {
|
|
371
|
-
enumerable: !1,
|
|
372
|
-
get: d
|
|
373
|
-
}) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
|
|
374
|
-
configurable: !1,
|
|
375
|
-
enumerable: !1,
|
|
376
|
-
writable: !0,
|
|
377
|
-
value: 0
|
|
378
|
-
}), Object.defineProperty(t, "_debugInfo", {
|
|
379
|
-
configurable: !1,
|
|
380
|
-
enumerable: !1,
|
|
381
|
-
writable: !0,
|
|
382
|
-
value: null
|
|
383
|
-
}), Object.defineProperty(t, "_debugStack", {
|
|
384
|
-
configurable: !1,
|
|
385
|
-
enumerable: !1,
|
|
386
|
-
writable: !0,
|
|
387
|
-
value: P
|
|
388
|
-
}), Object.defineProperty(t, "_debugTask", {
|
|
389
|
-
configurable: !1,
|
|
390
|
-
enumerable: !1,
|
|
391
|
-
writable: !0,
|
|
392
|
-
value: R
|
|
393
|
-
}), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
|
|
394
|
-
}
|
|
395
|
-
function A(t, r, l, c, P, R) {
|
|
396
|
-
var u = r.children;
|
|
397
|
-
if (u !== void 0)
|
|
398
|
-
if (c)
|
|
399
|
-
if (le(u)) {
|
|
400
|
-
for (c = 0; c < u.length; c++)
|
|
401
|
-
I(u[c]);
|
|
402
|
-
Object.freeze && Object.freeze(u);
|
|
403
|
-
} else
|
|
404
|
-
console.error(
|
|
405
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
406
|
-
);
|
|
407
|
-
else I(u);
|
|
408
|
-
if (D.call(r, "key")) {
|
|
409
|
-
u = n(t);
|
|
410
|
-
var m = Object.keys(r).filter(function(oe) {
|
|
411
|
-
return oe !== "key";
|
|
412
|
-
});
|
|
413
|
-
c = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", W[u + c] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
414
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
415
|
-
let props = %s;
|
|
416
|
-
<%s {...props} />
|
|
417
|
-
React keys must be passed directly to JSX without using spread:
|
|
418
|
-
let props = %s;
|
|
419
|
-
<%s key={someKey} {...props} />`,
|
|
420
|
-
c,
|
|
421
|
-
u,
|
|
422
|
-
m,
|
|
423
|
-
u
|
|
424
|
-
), W[u + c] = !0);
|
|
425
|
-
}
|
|
426
|
-
if (u = null, l !== void 0 && (p(l), u = "" + l), f(r) && (p(r.key), u = "" + r.key), "key" in r) {
|
|
427
|
-
l = {};
|
|
428
|
-
for (var _ in r)
|
|
429
|
-
_ !== "key" && (l[_] = r[_]);
|
|
430
|
-
} else l = r;
|
|
431
|
-
return u && T(
|
|
432
|
-
l,
|
|
433
|
-
typeof t == "function" ? t.displayName || t.name || "Unknown" : t
|
|
434
|
-
), S(
|
|
435
|
-
t,
|
|
436
|
-
u,
|
|
437
|
-
l,
|
|
438
|
-
i(),
|
|
439
|
-
P,
|
|
440
|
-
R
|
|
441
|
-
);
|
|
442
|
-
}
|
|
443
|
-
function I(t) {
|
|
444
|
-
N(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === y && (t._payload.status === "fulfilled" ? N(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
|
|
445
|
-
}
|
|
446
|
-
function N(t) {
|
|
447
|
-
return typeof t == "object" && t !== null && t.$$typeof === L;
|
|
448
|
-
}
|
|
449
|
-
var O = pe, L = Symbol.for("react.transitional.element"), H = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), Z = Symbol.for("react.strict_mode"), Q = Symbol.for("react.profiler"), K = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), ae = Symbol.for("react.suspense"), re = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), se = Symbol.for("react.client.reference"), w = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, le = Array.isArray, G = console.createTask ? console.createTask : function() {
|
|
450
|
-
return null;
|
|
451
|
-
};
|
|
452
|
-
O = {
|
|
453
|
-
react_stack_bottom_frame: function(t) {
|
|
454
|
-
return t();
|
|
455
|
-
}
|
|
456
|
-
};
|
|
457
|
-
var Y, $ = {}, F = O.react_stack_bottom_frame.bind(
|
|
458
|
-
O,
|
|
459
|
-
s
|
|
460
|
-
)(), q = G(a(s)), W = {};
|
|
461
|
-
b.Fragment = k, b.jsx = function(t, r, l) {
|
|
462
|
-
var c = 1e4 > w.recentlyCreatedOwnerStacks++;
|
|
463
|
-
return A(
|
|
464
|
-
t,
|
|
465
|
-
r,
|
|
466
|
-
l,
|
|
467
|
-
!1,
|
|
468
|
-
c ? Error("react-stack-top-frame") : F,
|
|
469
|
-
c ? G(a(t)) : q
|
|
470
|
-
);
|
|
471
|
-
}, b.jsxs = function(t, r, l) {
|
|
472
|
-
var c = 1e4 > w.recentlyCreatedOwnerStacks++;
|
|
473
|
-
return A(
|
|
474
|
-
t,
|
|
475
|
-
r,
|
|
476
|
-
l,
|
|
477
|
-
!0,
|
|
478
|
-
c ? Error("react-stack-top-frame") : F,
|
|
479
|
-
c ? G(a(t)) : q
|
|
480
|
-
);
|
|
481
|
-
};
|
|
482
|
-
})()), b;
|
|
483
|
-
}
|
|
484
|
-
var z;
|
|
485
|
-
function Ae() {
|
|
486
|
-
return z || (z = 1, process.env.NODE_ENV === "production" ? v.exports = fe() : v.exports = de()), v.exports;
|
|
487
|
-
}
|
|
488
|
-
var _e = Ae();
|
|
489
|
-
export {
|
|
490
|
-
be as a,
|
|
491
|
-
Se as b,
|
|
492
|
-
Ee as c,
|
|
493
|
-
ke as d,
|
|
494
|
-
ye as e,
|
|
495
|
-
he as f,
|
|
496
|
-
_e as j,
|
|
497
|
-
Pe as l,
|
|
498
|
-
ve as m,
|
|
499
|
-
Re as o,
|
|
500
|
-
we as p,
|
|
501
|
-
Ge as s,
|
|
502
|
-
Oe as t,
|
|
503
|
-
ce as u
|
|
504
|
-
};
|