@glodon-aiot/bot-client-ui 3.25.0-alpha.9 → 3.25.0
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/es/index.mjs +394 -385
- package/dist/lib/index.js +21 -21
- package/package.json +2 -2
package/dist/es/index.mjs
CHANGED
|
@@ -121,7 +121,7 @@ var jsxRuntime = { exports: {} }, reactJsxRuntime_production_min = {}, react = {
|
|
|
121
121
|
* This source code is licensed under the MIT license found in the
|
|
122
122
|
* LICENSE file in the root directory of this source tree.
|
|
123
123
|
*/
|
|
124
|
-
var l$8 = Symbol.for("react.element"), n$b = Symbol.for("react.portal"), p$g = Symbol.for("react.fragment"), q$4 = Symbol.for("react.strict_mode"), r$7 = Symbol.for("react.profiler"), t$6 = Symbol.for("react.provider"), u$
|
|
124
|
+
var l$8 = Symbol.for("react.element"), n$b = Symbol.for("react.portal"), p$g = Symbol.for("react.fragment"), q$4 = Symbol.for("react.strict_mode"), r$7 = Symbol.for("react.profiler"), t$6 = Symbol.for("react.provider"), u$c = Symbol.for("react.context"), v$b = Symbol.for("react.forward_ref"), w$8 = Symbol.for("react.suspense"), x$a = Symbol.for("react.memo"), y$7 = Symbol.for("react.lazy"), z$2 = Symbol.iterator;
|
|
125
125
|
function A$8(bt) {
|
|
126
126
|
return bt === null || typeof bt != "object" ? null : (bt = z$2 && bt[z$2] || bt["@@iterator"], typeof bt == "function" ? bt : null);
|
|
127
127
|
}
|
|
@@ -135,32 +135,32 @@ var B$4 = {
|
|
|
135
135
|
},
|
|
136
136
|
enqueueSetState: function() {
|
|
137
137
|
}
|
|
138
|
-
}, C$
|
|
139
|
-
function E$
|
|
138
|
+
}, C$3 = Object.assign, D$5 = {};
|
|
139
|
+
function E$8(bt, pt, vt) {
|
|
140
140
|
this.props = bt, this.context = pt, this.refs = D$5, this.updater = vt || B$4;
|
|
141
141
|
}
|
|
142
|
-
E$
|
|
143
|
-
E$
|
|
142
|
+
E$8.prototype.isReactComponent = {};
|
|
143
|
+
E$8.prototype.setState = function(bt, pt) {
|
|
144
144
|
if (typeof bt != "object" && typeof bt != "function" && bt != null)
|
|
145
145
|
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
146
146
|
this.updater.enqueueSetState(this, bt, pt, "setState");
|
|
147
147
|
};
|
|
148
|
-
E$
|
|
148
|
+
E$8.prototype.forceUpdate = function(bt) {
|
|
149
149
|
this.updater.enqueueForceUpdate(this, bt, "forceUpdate");
|
|
150
150
|
};
|
|
151
151
|
function F() {
|
|
152
152
|
}
|
|
153
|
-
F.prototype = E$
|
|
153
|
+
F.prototype = E$8.prototype;
|
|
154
154
|
function G$1(bt, pt, vt) {
|
|
155
155
|
this.props = bt, this.context = pt, this.refs = D$5, this.updater = vt || B$4;
|
|
156
156
|
}
|
|
157
|
-
var H$
|
|
158
|
-
H$
|
|
159
|
-
C$
|
|
160
|
-
H$
|
|
161
|
-
var I$8 = Array.isArray, J$3 = Object.prototype.hasOwnProperty, K$
|
|
157
|
+
var H$1 = G$1.prototype = new F();
|
|
158
|
+
H$1.constructor = G$1;
|
|
159
|
+
C$3(H$1, E$8.prototype);
|
|
160
|
+
H$1.isPureReactComponent = !0;
|
|
161
|
+
var I$8 = Array.isArray, J$3 = Object.prototype.hasOwnProperty, K$6 = {
|
|
162
162
|
current: null
|
|
163
|
-
}, L$
|
|
163
|
+
}, L$5 = {
|
|
164
164
|
key: !0,
|
|
165
165
|
ref: !0,
|
|
166
166
|
__self: !0,
|
|
@@ -170,7 +170,7 @@ function M$5(bt, pt, vt) {
|
|
|
170
170
|
var _t, $t = {}, Rt = null, Ft = null;
|
|
171
171
|
if (pt != null)
|
|
172
172
|
for (_t in pt.ref !== void 0 && (Ft = pt.ref), pt.key !== void 0 && (Rt = "" + pt.key), pt)
|
|
173
|
-
J$3.call(pt, _t) && !L$
|
|
173
|
+
J$3.call(pt, _t) && !L$5.hasOwnProperty(_t) && ($t[_t] = pt[_t]);
|
|
174
174
|
var Pt = arguments.length - 2;
|
|
175
175
|
if (Pt === 1)
|
|
176
176
|
$t.children = vt;
|
|
@@ -188,7 +188,7 @@ function M$5(bt, pt, vt) {
|
|
|
188
188
|
key: Rt,
|
|
189
189
|
ref: Ft,
|
|
190
190
|
props: $t,
|
|
191
|
-
_owner: K$
|
|
191
|
+
_owner: K$6.current
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
function N$2(bt, pt) {
|
|
@@ -213,7 +213,7 @@ function escape$2(bt) {
|
|
|
213
213
|
return pt[vt];
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
var P$
|
|
216
|
+
var P$3 = /\/+/g;
|
|
217
217
|
function Q$2(bt, pt) {
|
|
218
218
|
return typeof bt == "object" && bt !== null && bt.key != null ? escape$2("" + bt.key) : pt.toString(36);
|
|
219
219
|
}
|
|
@@ -237,9 +237,9 @@ function R$a(bt, pt, vt, _t, $t) {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
if (Ft)
|
|
240
|
-
return Ft = bt, $t = $t(Ft), bt = _t === "" ? "." + Q$2(Ft, 0) : _t, I$8($t) ? (vt = "", bt != null && (vt = bt.replace(P$
|
|
240
|
+
return Ft = bt, $t = $t(Ft), bt = _t === "" ? "." + Q$2(Ft, 0) : _t, I$8($t) ? (vt = "", bt != null && (vt = bt.replace(P$3, "$&/") + "/"), R$a($t, pt, vt, "", function(qt) {
|
|
241
241
|
return qt;
|
|
242
|
-
})) : $t != null && (O$2($t) && ($t = N$2($t, vt + (!$t.key || Ft && Ft.key === $t.key ? "" : ("" + $t.key).replace(P$
|
|
242
|
+
})) : $t != null && (O$2($t) && ($t = N$2($t, vt + (!$t.key || Ft && Ft.key === $t.key ? "" : ("" + $t.key).replace(P$3, "$&/") + "/") + bt)), pt.push($t)), 1;
|
|
243
243
|
if (Ft = 0, _t = _t === "" ? "." : _t + ":", I$8(bt))
|
|
244
244
|
for (var Pt = 0; Pt < bt.length; Pt++) {
|
|
245
245
|
Rt = bt[Pt];
|
|
@@ -253,7 +253,7 @@ function R$a(bt, pt, vt, _t, $t) {
|
|
|
253
253
|
throw pt = String(bt), Error("Objects are not valid as a React child (found: " + (pt === "[object Object]" ? "object with keys {" + Object.keys(bt).join(", ") + "}" : pt) + "). If you meant to render a collection of children, use an array instead.");
|
|
254
254
|
return Ft;
|
|
255
255
|
}
|
|
256
|
-
function S$
|
|
256
|
+
function S$3(bt, pt, vt) {
|
|
257
257
|
if (bt == null)
|
|
258
258
|
return bt;
|
|
259
259
|
var _t = [], $t = 0;
|
|
@@ -281,26 +281,26 @@ var U$1 = {
|
|
|
281
281
|
}, W$4 = {
|
|
282
282
|
ReactCurrentDispatcher: U$1,
|
|
283
283
|
ReactCurrentBatchConfig: V$2,
|
|
284
|
-
ReactCurrentOwner: K$
|
|
284
|
+
ReactCurrentOwner: K$6
|
|
285
285
|
};
|
|
286
286
|
function X$3() {
|
|
287
287
|
throw Error("act(...) is not supported in production builds of React.");
|
|
288
288
|
}
|
|
289
289
|
react_production_min.Children = {
|
|
290
|
-
map: S$
|
|
290
|
+
map: S$3,
|
|
291
291
|
forEach: function(bt, pt, vt) {
|
|
292
|
-
S$
|
|
292
|
+
S$3(bt, function() {
|
|
293
293
|
pt.apply(this, arguments);
|
|
294
294
|
}, vt);
|
|
295
295
|
},
|
|
296
296
|
count: function(bt) {
|
|
297
297
|
var pt = 0;
|
|
298
|
-
return S$
|
|
298
|
+
return S$3(bt, function() {
|
|
299
299
|
pt++;
|
|
300
300
|
}), pt;
|
|
301
301
|
},
|
|
302
302
|
toArray: function(bt) {
|
|
303
|
-
return S$
|
|
303
|
+
return S$3(bt, function(pt) {
|
|
304
304
|
return pt;
|
|
305
305
|
}) || [];
|
|
306
306
|
},
|
|
@@ -310,23 +310,23 @@ react_production_min.Children = {
|
|
|
310
310
|
return bt;
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
|
-
react_production_min.Component = E$
|
|
313
|
+
react_production_min.Component = E$8;
|
|
314
314
|
react_production_min.Fragment = p$g;
|
|
315
315
|
react_production_min.Profiler = r$7;
|
|
316
316
|
react_production_min.PureComponent = G$1;
|
|
317
317
|
react_production_min.StrictMode = q$4;
|
|
318
|
-
react_production_min.Suspense = w$
|
|
318
|
+
react_production_min.Suspense = w$8;
|
|
319
319
|
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$4;
|
|
320
320
|
react_production_min.act = X$3;
|
|
321
321
|
react_production_min.cloneElement = function(bt, pt, vt) {
|
|
322
322
|
if (bt == null)
|
|
323
323
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + bt + ".");
|
|
324
|
-
var _t = C$
|
|
324
|
+
var _t = C$3({}, bt.props), $t = bt.key, Rt = bt.ref, Ft = bt._owner;
|
|
325
325
|
if (pt != null) {
|
|
326
|
-
if (pt.ref !== void 0 && (Rt = pt.ref, Ft = K$
|
|
326
|
+
if (pt.ref !== void 0 && (Rt = pt.ref, Ft = K$6.current), pt.key !== void 0 && ($t = "" + pt.key), bt.type && bt.type.defaultProps)
|
|
327
327
|
var Pt = bt.type.defaultProps;
|
|
328
328
|
for (Bt in pt)
|
|
329
|
-
J$3.call(pt, Bt) && !L$
|
|
329
|
+
J$3.call(pt, Bt) && !L$5.hasOwnProperty(Bt) && (_t[Bt] = pt[Bt] === void 0 && Pt !== void 0 ? Pt[Bt] : pt[Bt]);
|
|
330
330
|
}
|
|
331
331
|
var Bt = arguments.length - 2;
|
|
332
332
|
if (Bt === 1)
|
|
@@ -348,7 +348,7 @@ react_production_min.cloneElement = function(bt, pt, vt) {
|
|
|
348
348
|
};
|
|
349
349
|
react_production_min.createContext = function(bt) {
|
|
350
350
|
return bt = {
|
|
351
|
-
$$typeof: u$
|
|
351
|
+
$$typeof: u$c,
|
|
352
352
|
_currentValue: bt,
|
|
353
353
|
_currentValue2: bt,
|
|
354
354
|
_threadCount: 0,
|
|
@@ -373,7 +373,7 @@ react_production_min.createRef = function() {
|
|
|
373
373
|
};
|
|
374
374
|
react_production_min.forwardRef = function(bt) {
|
|
375
375
|
return {
|
|
376
|
-
$$typeof: v$
|
|
376
|
+
$$typeof: v$b,
|
|
377
377
|
render: bt
|
|
378
378
|
};
|
|
379
379
|
};
|
|
@@ -390,7 +390,7 @@ react_production_min.lazy = function(bt) {
|
|
|
390
390
|
};
|
|
391
391
|
react_production_min.memo = function(bt, pt) {
|
|
392
392
|
return {
|
|
393
|
-
$$typeof: x$
|
|
393
|
+
$$typeof: x$a,
|
|
394
394
|
type: bt,
|
|
395
395
|
compare: pt === void 0 ? null : pt
|
|
396
396
|
};
|
|
@@ -1400,37 +1400,37 @@ function qa(bt, pt, vt, _t) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
return !1;
|
|
1402
1402
|
}
|
|
1403
|
-
function v$
|
|
1403
|
+
function v$a(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
1404
1404
|
this.acceptsBooleans = pt === 2 || pt === 3 || pt === 4, this.attributeName = _t, this.attributeNamespace = $t, this.mustUseProperty = vt, this.propertyName = bt, this.type = pt, this.sanitizeURL = Rt, this.removeEmptyString = Ft;
|
|
1405
1405
|
}
|
|
1406
1406
|
var z$1 = {};
|
|
1407
1407
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(bt) {
|
|
1408
|
-
z$1[bt] = new v$
|
|
1408
|
+
z$1[bt] = new v$a(bt, 0, !1, bt, null, !1, !1);
|
|
1409
1409
|
});
|
|
1410
1410
|
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(bt) {
|
|
1411
1411
|
var pt = bt[0];
|
|
1412
|
-
z$1[pt] = new v$
|
|
1412
|
+
z$1[pt] = new v$a(pt, 1, !1, bt[1], null, !1, !1);
|
|
1413
1413
|
});
|
|
1414
1414
|
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(bt) {
|
|
1415
|
-
z$1[bt] = new v$
|
|
1415
|
+
z$1[bt] = new v$a(bt, 2, !1, bt.toLowerCase(), null, !1, !1);
|
|
1416
1416
|
});
|
|
1417
1417
|
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(bt) {
|
|
1418
|
-
z$1[bt] = new v$
|
|
1418
|
+
z$1[bt] = new v$a(bt, 2, !1, bt, null, !1, !1);
|
|
1419
1419
|
});
|
|
1420
1420
|
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(bt) {
|
|
1421
|
-
z$1[bt] = new v$
|
|
1421
|
+
z$1[bt] = new v$a(bt, 3, !1, bt.toLowerCase(), null, !1, !1);
|
|
1422
1422
|
});
|
|
1423
1423
|
["checked", "multiple", "muted", "selected"].forEach(function(bt) {
|
|
1424
|
-
z$1[bt] = new v$
|
|
1424
|
+
z$1[bt] = new v$a(bt, 3, !0, bt, null, !1, !1);
|
|
1425
1425
|
});
|
|
1426
1426
|
["capture", "download"].forEach(function(bt) {
|
|
1427
|
-
z$1[bt] = new v$
|
|
1427
|
+
z$1[bt] = new v$a(bt, 4, !1, bt, null, !1, !1);
|
|
1428
1428
|
});
|
|
1429
1429
|
["cols", "rows", "size", "span"].forEach(function(bt) {
|
|
1430
|
-
z$1[bt] = new v$
|
|
1430
|
+
z$1[bt] = new v$a(bt, 6, !1, bt, null, !1, !1);
|
|
1431
1431
|
});
|
|
1432
1432
|
["rowSpan", "start"].forEach(function(bt) {
|
|
1433
|
-
z$1[bt] = new v$
|
|
1433
|
+
z$1[bt] = new v$a(bt, 5, !1, bt.toLowerCase(), null, !1, !1);
|
|
1434
1434
|
});
|
|
1435
1435
|
var ra = /[\-:]([a-z])/g;
|
|
1436
1436
|
function sa(bt) {
|
|
@@ -1438,22 +1438,22 @@ function sa(bt) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(bt) {
|
|
1440
1440
|
var pt = bt.replace(ra, sa);
|
|
1441
|
-
z$1[pt] = new v$
|
|
1441
|
+
z$1[pt] = new v$a(pt, 1, !1, bt, null, !1, !1);
|
|
1442
1442
|
});
|
|
1443
1443
|
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(bt) {
|
|
1444
1444
|
var pt = bt.replace(ra, sa);
|
|
1445
|
-
z$1[pt] = new v$
|
|
1445
|
+
z$1[pt] = new v$a(pt, 1, !1, bt, "http://www.w3.org/1999/xlink", !1, !1);
|
|
1446
1446
|
});
|
|
1447
1447
|
["xml:base", "xml:lang", "xml:space"].forEach(function(bt) {
|
|
1448
1448
|
var pt = bt.replace(ra, sa);
|
|
1449
|
-
z$1[pt] = new v$
|
|
1449
|
+
z$1[pt] = new v$a(pt, 1, !1, bt, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
1450
1450
|
});
|
|
1451
1451
|
["tabIndex", "crossOrigin"].forEach(function(bt) {
|
|
1452
|
-
z$1[bt] = new v$
|
|
1452
|
+
z$1[bt] = new v$a(bt, 1, !1, bt.toLowerCase(), null, !1, !1);
|
|
1453
1453
|
});
|
|
1454
|
-
z$1.xlinkHref = new v$
|
|
1454
|
+
z$1.xlinkHref = new v$a("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
|
|
1455
1455
|
["src", "href", "action", "formAction"].forEach(function(bt) {
|
|
1456
|
-
z$1[bt] = new v$
|
|
1456
|
+
z$1[bt] = new v$a(bt, 1, !1, bt.toLowerCase(), null, !0, !0);
|
|
1457
1457
|
});
|
|
1458
1458
|
function ta(bt, pt, vt, _t) {
|
|
1459
1459
|
var $t = z$1.hasOwnProperty(pt) ? z$1[pt] : null;
|
|
@@ -2339,7 +2339,7 @@ function Cc(bt, pt) {
|
|
|
2339
2339
|
$t & pt | bt[_t] & pt && (bt[_t] |= pt), vt &= ~$t;
|
|
2340
2340
|
}
|
|
2341
2341
|
}
|
|
2342
|
-
var C$
|
|
2342
|
+
var C$2 = 0;
|
|
2343
2343
|
function Dc$1(bt) {
|
|
2344
2344
|
return bt &= -bt, 1 < bt ? 4 < bt ? bt & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
2345
2345
|
}
|
|
@@ -2454,21 +2454,21 @@ function bd(bt) {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
var cd = ua$1.ReactCurrentBatchConfig, dd = !0;
|
|
2456
2456
|
function ed(bt, pt, vt, _t) {
|
|
2457
|
-
var $t = C$
|
|
2457
|
+
var $t = C$2, Rt = cd.transition;
|
|
2458
2458
|
cd.transition = null;
|
|
2459
2459
|
try {
|
|
2460
|
-
C$
|
|
2460
|
+
C$2 = 1, fd(bt, pt, vt, _t);
|
|
2461
2461
|
} finally {
|
|
2462
|
-
C$
|
|
2462
|
+
C$2 = $t, cd.transition = Rt;
|
|
2463
2463
|
}
|
|
2464
2464
|
}
|
|
2465
2465
|
function gd(bt, pt, vt, _t) {
|
|
2466
|
-
var $t = C$
|
|
2466
|
+
var $t = C$2, Rt = cd.transition;
|
|
2467
2467
|
cd.transition = null;
|
|
2468
2468
|
try {
|
|
2469
|
-
C$
|
|
2469
|
+
C$2 = 4, fd(bt, pt, vt, _t);
|
|
2470
2470
|
} finally {
|
|
2471
|
-
C$
|
|
2471
|
+
C$2 = $t, cd.transition = Rt;
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
2474
|
function fd(bt, pt, vt, _t) {
|
|
@@ -3536,13 +3536,13 @@ function Uf(bt) {
|
|
|
3536
3536
|
current: bt
|
|
3537
3537
|
};
|
|
3538
3538
|
}
|
|
3539
|
-
function E$
|
|
3539
|
+
function E$7(bt) {
|
|
3540
3540
|
0 > Tf || (bt.current = Sf[Tf], Sf[Tf] = null, Tf--);
|
|
3541
3541
|
}
|
|
3542
3542
|
function G(bt, pt) {
|
|
3543
3543
|
Tf++, Sf[Tf] = bt.current, bt.current = pt;
|
|
3544
3544
|
}
|
|
3545
|
-
var Vf = {}, H
|
|
3545
|
+
var Vf = {}, H = Uf(Vf), Wf = Uf(!1), Xf = Vf;
|
|
3546
3546
|
function Yf(bt, pt) {
|
|
3547
3547
|
var vt = bt.type.contextTypes;
|
|
3548
3548
|
if (!vt)
|
|
@@ -3559,12 +3559,12 @@ function Zf(bt) {
|
|
|
3559
3559
|
return bt = bt.childContextTypes, bt != null;
|
|
3560
3560
|
}
|
|
3561
3561
|
function $f() {
|
|
3562
|
-
E$
|
|
3562
|
+
E$7(Wf), E$7(H);
|
|
3563
3563
|
}
|
|
3564
3564
|
function ag$1(bt, pt, vt) {
|
|
3565
|
-
if (H
|
|
3565
|
+
if (H.current !== Vf)
|
|
3566
3566
|
throw Error(p$e(168));
|
|
3567
|
-
G(H
|
|
3567
|
+
G(H, pt), G(Wf, vt);
|
|
3568
3568
|
}
|
|
3569
3569
|
function bg$1(bt, pt, vt) {
|
|
3570
3570
|
var _t = bt.stateNode;
|
|
@@ -3577,13 +3577,13 @@ function bg$1(bt, pt, vt) {
|
|
|
3577
3577
|
return A$7({}, vt, _t);
|
|
3578
3578
|
}
|
|
3579
3579
|
function cg$1(bt) {
|
|
3580
|
-
return bt = (bt = bt.stateNode) && bt.__reactInternalMemoizedMergedChildContext || Vf, Xf = H
|
|
3580
|
+
return bt = (bt = bt.stateNode) && bt.__reactInternalMemoizedMergedChildContext || Vf, Xf = H.current, G(H, bt), G(Wf, Wf.current), !0;
|
|
3581
3581
|
}
|
|
3582
3582
|
function dg$1(bt, pt, vt) {
|
|
3583
3583
|
var _t = bt.stateNode;
|
|
3584
3584
|
if (!_t)
|
|
3585
3585
|
throw Error(p$e(169));
|
|
3586
|
-
vt ? (bt = bg$1(bt, pt, Xf), _t.__reactInternalMemoizedMergedChildContext = bt, E$
|
|
3586
|
+
vt ? (bt = bg$1(bt, pt, Xf), _t.__reactInternalMemoizedMergedChildContext = bt, E$7(Wf), E$7(H), G(H, bt)) : E$7(Wf), G(Wf, vt);
|
|
3587
3587
|
}
|
|
3588
3588
|
var eg = null, fg$1 = !1, gg$1 = !1;
|
|
3589
3589
|
function hg$1(bt) {
|
|
@@ -3595,10 +3595,10 @@ function ig$1(bt) {
|
|
|
3595
3595
|
function jg$1() {
|
|
3596
3596
|
if (!gg$1 && eg !== null) {
|
|
3597
3597
|
gg$1 = !0;
|
|
3598
|
-
var bt = 0, pt = C$
|
|
3598
|
+
var bt = 0, pt = C$2;
|
|
3599
3599
|
try {
|
|
3600
3600
|
var vt = eg;
|
|
3601
|
-
for (C$
|
|
3601
|
+
for (C$2 = 1; bt < vt.length; bt++) {
|
|
3602
3602
|
var _t = vt[bt];
|
|
3603
3603
|
do
|
|
3604
3604
|
_t = _t(!0);
|
|
@@ -3608,7 +3608,7 @@ function jg$1() {
|
|
|
3608
3608
|
} catch ($t) {
|
|
3609
3609
|
throw eg !== null && (eg = eg.slice(bt + 1)), ac(fc, jg$1), $t;
|
|
3610
3610
|
} finally {
|
|
3611
|
-
C$
|
|
3611
|
+
C$2 = pt, gg$1 = !1;
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
return null;
|
|
@@ -3979,7 +3979,7 @@ function $g$1() {
|
|
|
3979
3979
|
}
|
|
3980
3980
|
function ah(bt) {
|
|
3981
3981
|
var pt = Wg$1.current;
|
|
3982
|
-
E$
|
|
3982
|
+
E$7(Wg$1), bt._currentValue = pt;
|
|
3983
3983
|
}
|
|
3984
3984
|
function bh(bt, pt, vt) {
|
|
3985
3985
|
for (; bt !== null; ) {
|
|
@@ -4062,7 +4062,7 @@ function nh(bt, pt, vt) {
|
|
|
4062
4062
|
var _t = bt.updateQueue;
|
|
4063
4063
|
if (_t === null)
|
|
4064
4064
|
return null;
|
|
4065
|
-
if (_t = _t.shared, K$
|
|
4065
|
+
if (_t = _t.shared, K$5 & 2) {
|
|
4066
4066
|
var $t = _t.pending;
|
|
4067
4067
|
return $t === null ? pt.next = pt : (pt.next = $t.next, $t.next = pt), _t.pending = pt, ih(bt, vt);
|
|
4068
4068
|
}
|
|
@@ -4202,10 +4202,10 @@ function yh(bt, pt) {
|
|
|
4202
4202
|
default:
|
|
4203
4203
|
bt = bt === 8 ? pt.parentNode : pt, pt = bt.namespaceURI || null, bt = bt.tagName, pt = lb(pt, bt);
|
|
4204
4204
|
}
|
|
4205
|
-
E$
|
|
4205
|
+
E$7(uh), G(uh, pt);
|
|
4206
4206
|
}
|
|
4207
4207
|
function zh() {
|
|
4208
|
-
E$
|
|
4208
|
+
E$7(uh), E$7(vh), E$7(wh);
|
|
4209
4209
|
}
|
|
4210
4210
|
function Ah(bt) {
|
|
4211
4211
|
xh(wh.current);
|
|
@@ -4213,9 +4213,9 @@ function Ah(bt) {
|
|
|
4213
4213
|
pt !== vt && (G(vh, bt), G(uh, vt));
|
|
4214
4214
|
}
|
|
4215
4215
|
function Bh(bt) {
|
|
4216
|
-
vh.current === bt && (E$
|
|
4216
|
+
vh.current === bt && (E$7(uh), E$7(vh));
|
|
4217
4217
|
}
|
|
4218
|
-
var L$
|
|
4218
|
+
var L$4 = Uf(0);
|
|
4219
4219
|
function Ch(bt) {
|
|
4220
4220
|
for (var pt = bt; pt !== null; ) {
|
|
4221
4221
|
if (pt.tag === 13) {
|
|
@@ -4247,7 +4247,7 @@ function Eh() {
|
|
|
4247
4247
|
Dh.length = 0;
|
|
4248
4248
|
}
|
|
4249
4249
|
var Fh = ua$1.ReactCurrentDispatcher, Gh = ua$1.ReactCurrentBatchConfig, Hh = 0, M$4 = null, N$1 = null, O$1 = null, Ih = !1, Jh = !1, Kh = 0, Lh = 0;
|
|
4250
|
-
function P$
|
|
4250
|
+
function P$2() {
|
|
4251
4251
|
throw Error(p$e(321));
|
|
4252
4252
|
}
|
|
4253
4253
|
function Mh(bt, pt) {
|
|
@@ -4503,14 +4503,14 @@ function ui(bt, pt, vt) {
|
|
|
4503
4503
|
return Hh & 21 ? (He$1(vt, pt) || (vt = yc(), M$4.lanes |= vt, rh |= vt, bt.baseState = !0), pt) : (bt.baseState && (bt.baseState = !1, dh = !0), bt.memoizedState = vt);
|
|
4504
4504
|
}
|
|
4505
4505
|
function vi$1(bt, pt) {
|
|
4506
|
-
var vt = C$
|
|
4507
|
-
C$
|
|
4506
|
+
var vt = C$2;
|
|
4507
|
+
C$2 = vt !== 0 && 4 > vt ? vt : 4, bt(!0);
|
|
4508
4508
|
var _t = Gh.transition;
|
|
4509
4509
|
Gh.transition = {};
|
|
4510
4510
|
try {
|
|
4511
4511
|
bt(!1), pt();
|
|
4512
4512
|
} finally {
|
|
4513
|
-
C$
|
|
4513
|
+
C$2 = vt, Gh.transition = _t;
|
|
4514
4514
|
}
|
|
4515
4515
|
}
|
|
4516
4516
|
function wi() {
|
|
@@ -4574,22 +4574,22 @@ function Bi$1(bt, pt, vt) {
|
|
|
4574
4574
|
}
|
|
4575
4575
|
var Rh = {
|
|
4576
4576
|
readContext: eh,
|
|
4577
|
-
useCallback: P$
|
|
4578
|
-
useContext: P$
|
|
4579
|
-
useEffect: P$
|
|
4580
|
-
useImperativeHandle: P$
|
|
4581
|
-
useInsertionEffect: P$
|
|
4582
|
-
useLayoutEffect: P$
|
|
4583
|
-
useMemo: P$
|
|
4584
|
-
useReducer: P$
|
|
4585
|
-
useRef: P$
|
|
4586
|
-
useState: P$
|
|
4587
|
-
useDebugValue: P$
|
|
4588
|
-
useDeferredValue: P$
|
|
4589
|
-
useTransition: P$
|
|
4590
|
-
useMutableSource: P$
|
|
4591
|
-
useSyncExternalStore: P$
|
|
4592
|
-
useId: P$
|
|
4577
|
+
useCallback: P$2,
|
|
4578
|
+
useContext: P$2,
|
|
4579
|
+
useEffect: P$2,
|
|
4580
|
+
useImperativeHandle: P$2,
|
|
4581
|
+
useInsertionEffect: P$2,
|
|
4582
|
+
useLayoutEffect: P$2,
|
|
4583
|
+
useMemo: P$2,
|
|
4584
|
+
useReducer: P$2,
|
|
4585
|
+
useRef: P$2,
|
|
4586
|
+
useState: P$2,
|
|
4587
|
+
useDebugValue: P$2,
|
|
4588
|
+
useDeferredValue: P$2,
|
|
4589
|
+
useTransition: P$2,
|
|
4590
|
+
useMutableSource: P$2,
|
|
4591
|
+
useSyncExternalStore: P$2,
|
|
4592
|
+
useId: P$2,
|
|
4593
4593
|
unstable_isNewReconciler: !1
|
|
4594
4594
|
}, Oh = {
|
|
4595
4595
|
readContext: eh,
|
|
@@ -4759,7 +4759,7 @@ function Fi$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
|
4759
4759
|
}
|
|
4760
4760
|
function Gi$1(bt, pt, vt) {
|
|
4761
4761
|
var _t = !1, $t = Vf, Rt = pt.contextType;
|
|
4762
|
-
return typeof Rt == "object" && Rt !== null ? Rt = eh(Rt) : ($t = Zf(pt) ? Xf : H
|
|
4762
|
+
return typeof Rt == "object" && Rt !== null ? Rt = eh(Rt) : ($t = Zf(pt) ? Xf : H.current, _t = pt.contextTypes, Rt = (_t = _t != null) ? Yf(bt, $t) : Vf), pt = new pt(vt, Rt), bt.memoizedState = pt.state !== null && pt.state !== void 0 ? pt.state : null, pt.updater = Ei, bt.stateNode = pt, pt._reactInternals = bt, _t && (bt = bt.stateNode, bt.__reactInternalMemoizedUnmaskedChildContext = $t, bt.__reactInternalMemoizedMaskedChildContext = Rt), pt;
|
|
4763
4763
|
}
|
|
4764
4764
|
function Hi$1(bt, pt, vt, _t) {
|
|
4765
4765
|
bt = pt.state, typeof pt.componentWillReceiveProps == "function" && pt.componentWillReceiveProps(vt, _t), typeof pt.UNSAFE_componentWillReceiveProps == "function" && pt.UNSAFE_componentWillReceiveProps(vt, _t), pt.state !== bt && Ei.enqueueReplaceState(pt, pt.state, null);
|
|
@@ -4768,7 +4768,7 @@ function Ii(bt, pt, vt, _t) {
|
|
|
4768
4768
|
var $t = bt.stateNode;
|
|
4769
4769
|
$t.props = vt, $t.state = bt.memoizedState, $t.refs = {}, kh(bt);
|
|
4770
4770
|
var Rt = pt.contextType;
|
|
4771
|
-
typeof Rt == "object" && Rt !== null ? $t.context = eh(Rt) : (Rt = Zf(pt) ? Xf : H
|
|
4771
|
+
typeof Rt == "object" && Rt !== null ? $t.context = eh(Rt) : (Rt = Zf(pt) ? Xf : H.current, $t.context = Yf(bt, Rt)), $t.state = bt.memoizedState, Rt = pt.getDerivedStateFromProps, typeof Rt == "function" && (Di(bt, pt, Rt, vt), $t.state = bt.memoizedState), typeof pt.getDerivedStateFromProps == "function" || typeof $t.getSnapshotBeforeUpdate == "function" || typeof $t.UNSAFE_componentWillMount != "function" && typeof $t.componentWillMount != "function" || (pt = $t.state, typeof $t.componentWillMount == "function" && $t.componentWillMount(), typeof $t.UNSAFE_componentWillMount == "function" && $t.UNSAFE_componentWillMount(), pt !== $t.state && Ei.enqueueReplaceState($t, $t.state, null), qh(bt, vt, $t, _t), $t.state = bt.memoizedState), typeof $t.componentDidMount == "function" && (bt.flags |= 4194308);
|
|
4772
4772
|
}
|
|
4773
4773
|
function Ji$1(bt, pt) {
|
|
4774
4774
|
try {
|
|
@@ -4921,7 +4921,7 @@ function gj(bt, pt) {
|
|
|
4921
4921
|
(bt === null && vt !== null || bt !== null && bt.ref !== vt) && (pt.flags |= 512, pt.flags |= 2097152);
|
|
4922
4922
|
}
|
|
4923
4923
|
function cj$1(bt, pt, vt, _t, $t) {
|
|
4924
|
-
var Rt = Zf(vt) ? Xf : H
|
|
4924
|
+
var Rt = Zf(vt) ? Xf : H.current;
|
|
4925
4925
|
return Rt = Yf(pt, Rt), ch$1(pt, $t), vt = Nh(bt, pt, vt, _t, Rt, $t), _t = Sh(), bt !== null && !dh ? (pt.updateQueue = bt.updateQueue, pt.flags &= -2053, bt.lanes &= ~$t, Zi$1(bt, pt, $t)) : (I$7 && _t && vg$1(pt), pt.flags |= 1, Xi$1(bt, pt, vt, $t), pt.child);
|
|
4926
4926
|
}
|
|
4927
4927
|
function hj$1(bt, pt, vt, _t, $t) {
|
|
@@ -4936,13 +4936,13 @@ function hj$1(bt, pt, vt, _t, $t) {
|
|
|
4936
4936
|
var Ft = pt.stateNode, Pt = pt.memoizedProps;
|
|
4937
4937
|
Ft.props = Pt;
|
|
4938
4938
|
var Bt = Ft.context, qt = vt.contextType;
|
|
4939
|
-
typeof qt == "object" && qt !== null ? qt = eh(qt) : (qt = Zf(vt) ? Xf : H
|
|
4939
|
+
typeof qt == "object" && qt !== null ? qt = eh(qt) : (qt = Zf(vt) ? Xf : H.current, qt = Yf(pt, qt));
|
|
4940
4940
|
var Ht = vt.getDerivedStateFromProps, Gt = typeof Ht == "function" || typeof Ft.getSnapshotBeforeUpdate == "function";
|
|
4941
4941
|
Gt || typeof Ft.UNSAFE_componentWillReceiveProps != "function" && typeof Ft.componentWillReceiveProps != "function" || (Pt !== _t || Bt !== qt) && Hi$1(pt, Ft, _t, qt), jh = !1;
|
|
4942
4942
|
var Zt = pt.memoizedState;
|
|
4943
4943
|
Ft.state = Zt, qh(pt, _t, Ft, $t), Bt = pt.memoizedState, Pt !== _t || Zt !== Bt || Wf.current || jh ? (typeof Ht == "function" && (Di(pt, vt, Ht, _t), Bt = pt.memoizedState), (Pt = jh || Fi$1(pt, vt, Pt, _t, Zt, Bt, qt)) ? (Gt || typeof Ft.UNSAFE_componentWillMount != "function" && typeof Ft.componentWillMount != "function" || (typeof Ft.componentWillMount == "function" && Ft.componentWillMount(), typeof Ft.UNSAFE_componentWillMount == "function" && Ft.UNSAFE_componentWillMount()), typeof Ft.componentDidMount == "function" && (pt.flags |= 4194308)) : (typeof Ft.componentDidMount == "function" && (pt.flags |= 4194308), pt.memoizedProps = _t, pt.memoizedState = Bt), Ft.props = _t, Ft.state = Bt, Ft.context = qt, _t = Pt) : (typeof Ft.componentDidMount == "function" && (pt.flags |= 4194308), _t = !1);
|
|
4944
4944
|
} else {
|
|
4945
|
-
Ft = pt.stateNode, lh(bt, pt), Pt = pt.memoizedProps, qt = pt.type === pt.elementType ? Pt : Ci(pt.type, Pt), Ft.props = qt, Gt = pt.pendingProps, Zt = Ft.context, Bt = vt.contextType, typeof Bt == "object" && Bt !== null ? Bt = eh(Bt) : (Bt = Zf(vt) ? Xf : H
|
|
4945
|
+
Ft = pt.stateNode, lh(bt, pt), Pt = pt.memoizedProps, qt = pt.type === pt.elementType ? Pt : Ci(pt.type, Pt), Ft.props = qt, Gt = pt.pendingProps, Zt = Ft.context, Bt = vt.contextType, typeof Bt == "object" && Bt !== null ? Bt = eh(Bt) : (Bt = Zf(vt) ? Xf : H.current, Bt = Yf(pt, Bt));
|
|
4946
4946
|
var Jt = vt.getDerivedStateFromProps;
|
|
4947
4947
|
(Ht = typeof Jt == "function" || typeof Ft.getSnapshotBeforeUpdate == "function") || typeof Ft.UNSAFE_componentWillReceiveProps != "function" && typeof Ft.componentWillReceiveProps != "function" || (Pt !== Gt || Zt !== Bt) && Hi$1(pt, Ft, _t, Bt), jh = !1, Zt = pt.memoizedState, Ft.state = Zt, qh(pt, _t, Ft, $t);
|
|
4948
4948
|
var Kt = pt.memoizedState;
|
|
@@ -4979,8 +4979,8 @@ function nj$1(bt) {
|
|
|
4979
4979
|
};
|
|
4980
4980
|
}
|
|
4981
4981
|
function oj(bt, pt, vt) {
|
|
4982
|
-
var _t = pt.pendingProps, $t = L$
|
|
4983
|
-
if ((Pt = Ft) || (Pt = bt !== null && bt.memoizedState === null ? !1 : ($t & 2) !== 0), Pt ? (Rt = !0, pt.flags &= -129) : (bt === null || bt.memoizedState !== null) && ($t |= 1), G(L$
|
|
4982
|
+
var _t = pt.pendingProps, $t = L$4.current, Rt = !1, Ft = (pt.flags & 128) !== 0, Pt;
|
|
4983
|
+
if ((Pt = Ft) || (Pt = bt !== null && bt.memoizedState === null ? !1 : ($t & 2) !== 0), Pt ? (Rt = !0, pt.flags &= -129) : (bt === null || bt.memoizedState !== null) && ($t |= 1), G(L$4, $t & 1), bt === null)
|
|
4984
4984
|
return Eg$1(pt), bt = pt.memoizedState, bt !== null && (bt = bt.dehydrated, bt !== null) ? (pt.mode & 1 ? bt.data === "$!" ? pt.lanes = 8 : pt.lanes = 1073741824 : pt.lanes = 1, null) : (Ft = _t.children, bt = _t.fallback, Rt ? (_t = pt.mode, Rt = pt.child, Ft = {
|
|
4985
4985
|
mode: "hidden",
|
|
4986
4986
|
children: Ft
|
|
@@ -5088,7 +5088,7 @@ function wj$1(bt, pt, vt, _t, $t) {
|
|
|
5088
5088
|
}
|
|
5089
5089
|
function xj$1(bt, pt, vt) {
|
|
5090
5090
|
var _t = pt.pendingProps, $t = _t.revealOrder, Rt = _t.tail;
|
|
5091
|
-
if (Xi$1(bt, pt, _t.children, vt), _t = L$
|
|
5091
|
+
if (Xi$1(bt, pt, _t.children, vt), _t = L$4.current, _t & 2)
|
|
5092
5092
|
_t = _t & 1 | 2, pt.flags |= 128;
|
|
5093
5093
|
else {
|
|
5094
5094
|
if (bt !== null && bt.flags & 128)
|
|
@@ -5113,7 +5113,7 @@ function xj$1(bt, pt, vt) {
|
|
|
5113
5113
|
}
|
|
5114
5114
|
_t &= 1;
|
|
5115
5115
|
}
|
|
5116
|
-
if (G(L$
|
|
5116
|
+
if (G(L$4, _t), !(pt.mode & 1))
|
|
5117
5117
|
pt.memoizedState = null;
|
|
5118
5118
|
else
|
|
5119
5119
|
switch ($t) {
|
|
@@ -5175,8 +5175,8 @@ function yj$1(bt, pt, vt) {
|
|
|
5175
5175
|
break;
|
|
5176
5176
|
case 13:
|
|
5177
5177
|
if (_t = pt.memoizedState, _t !== null)
|
|
5178
|
-
return _t.dehydrated !== null ? (G(L$
|
|
5179
|
-
G(L$
|
|
5178
|
+
return _t.dehydrated !== null ? (G(L$4, L$4.current & 1), pt.flags |= 128, null) : vt & pt.child.childLanes ? oj(bt, pt, vt) : (G(L$4, L$4.current & 1), bt = Zi$1(bt, pt, vt), bt !== null ? bt.sibling : null);
|
|
5179
|
+
G(L$4, L$4.current & 1);
|
|
5180
5180
|
break;
|
|
5181
5181
|
case 19:
|
|
5182
5182
|
if (_t = (vt & pt.childLanes) !== 0, bt.flags & 128) {
|
|
@@ -5184,7 +5184,7 @@ function yj$1(bt, pt, vt) {
|
|
|
5184
5184
|
return xj$1(bt, pt, vt);
|
|
5185
5185
|
pt.flags |= 128;
|
|
5186
5186
|
}
|
|
5187
|
-
if ($t = pt.memoizedState, $t !== null && ($t.rendering = null, $t.tail = null, $t.lastEffect = null), G(L$
|
|
5187
|
+
if ($t = pt.memoizedState, $t !== null && ($t.rendering = null, $t.tail = null, $t.lastEffect = null), G(L$4, L$4.current), _t)
|
|
5188
5188
|
break;
|
|
5189
5189
|
return null;
|
|
5190
5190
|
case 22:
|
|
@@ -5285,7 +5285,7 @@ function Dj$1(bt, pt) {
|
|
|
5285
5285
|
_t === null ? pt || bt.tail === null ? bt.tail = null : bt.tail.sibling = null : _t.sibling = null;
|
|
5286
5286
|
}
|
|
5287
5287
|
}
|
|
5288
|
-
function S$
|
|
5288
|
+
function S$2(bt) {
|
|
5289
5289
|
var pt = bt.alternate !== null && bt.alternate.child === bt.child, vt = 0, _t = 0;
|
|
5290
5290
|
if (pt)
|
|
5291
5291
|
for (var $t = bt.child; $t !== null; )
|
|
@@ -5308,11 +5308,11 @@ function Ej$1(bt, pt, vt) {
|
|
|
5308
5308
|
case 12:
|
|
5309
5309
|
case 9:
|
|
5310
5310
|
case 14:
|
|
5311
|
-
return S$
|
|
5311
|
+
return S$2(pt), null;
|
|
5312
5312
|
case 1:
|
|
5313
|
-
return Zf(pt.type) && $f(), S$
|
|
5313
|
+
return Zf(pt.type) && $f(), S$2(pt), null;
|
|
5314
5314
|
case 3:
|
|
5315
|
-
return _t = pt.stateNode, zh(), E$
|
|
5315
|
+
return _t = pt.stateNode, zh(), E$7(Wf), E$7(H), Eh(), _t.pendingContext && (_t.context = _t.pendingContext, _t.pendingContext = null), (bt === null || bt.child === null) && (Gg$1(pt) ? pt.flags |= 4 : bt === null || bt.memoizedState.isDehydrated && !(pt.flags & 256) || (pt.flags |= 1024, zg$1 !== null && (Fj$1(zg$1), zg$1 = null))), Aj$1(bt, pt), S$2(pt), null;
|
|
5316
5316
|
case 5:
|
|
5317
5317
|
Bh(pt);
|
|
5318
5318
|
var $t = xh(wh.current);
|
|
@@ -5322,7 +5322,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5322
5322
|
if (!_t) {
|
|
5323
5323
|
if (pt.stateNode === null)
|
|
5324
5324
|
throw Error(p$e(166));
|
|
5325
|
-
return S$
|
|
5325
|
+
return S$2(pt), null;
|
|
5326
5326
|
}
|
|
5327
5327
|
if (bt = xh(uh.current), Gg$1(pt)) {
|
|
5328
5328
|
_t = pt.stateNode, vt = pt.type;
|
|
@@ -5473,7 +5473,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5473
5473
|
}
|
|
5474
5474
|
pt.ref !== null && (pt.flags |= 512, pt.flags |= 2097152);
|
|
5475
5475
|
}
|
|
5476
|
-
return S$
|
|
5476
|
+
return S$2(pt), null;
|
|
5477
5477
|
case 6:
|
|
5478
5478
|
if (bt && pt.stateNode != null)
|
|
5479
5479
|
Cj$1(bt, pt, bt.memoizedProps, _t);
|
|
@@ -5493,9 +5493,9 @@ function Ej$1(bt, pt, vt) {
|
|
|
5493
5493
|
} else
|
|
5494
5494
|
_t = (vt.nodeType === 9 ? vt : vt.ownerDocument).createTextNode(_t), _t[Of] = pt, pt.stateNode = _t;
|
|
5495
5495
|
}
|
|
5496
|
-
return S$
|
|
5496
|
+
return S$2(pt), null;
|
|
5497
5497
|
case 13:
|
|
5498
|
-
if (E$
|
|
5498
|
+
if (E$7(L$4), _t = pt.memoizedState, bt === null || bt.memoizedState !== null && bt.memoizedState.dehydrated !== null) {
|
|
5499
5499
|
if (I$7 && yg$1 !== null && pt.mode & 1 && !(pt.flags & 128))
|
|
5500
5500
|
Hg$1(), Ig$1(), pt.flags |= 98560, Rt = !1;
|
|
5501
5501
|
else if (Rt = Gg$1(pt), _t !== null && _t.dehydrated !== null) {
|
|
@@ -5507,22 +5507,22 @@ function Ej$1(bt, pt, vt) {
|
|
|
5507
5507
|
Rt[Of] = pt;
|
|
5508
5508
|
} else
|
|
5509
5509
|
Ig$1(), !(pt.flags & 128) && (pt.memoizedState = null), pt.flags |= 4;
|
|
5510
|
-
S$
|
|
5510
|
+
S$2(pt), Rt = !1;
|
|
5511
5511
|
} else
|
|
5512
5512
|
zg$1 !== null && (Fj$1(zg$1), zg$1 = null), Rt = !0;
|
|
5513
5513
|
if (!Rt)
|
|
5514
5514
|
return pt.flags & 65536 ? pt : null;
|
|
5515
5515
|
}
|
|
5516
|
-
return pt.flags & 128 ? (pt.lanes = vt, pt) : (_t = _t !== null, _t !== (bt !== null && bt.memoizedState !== null) && _t && (pt.child.flags |= 8192, pt.mode & 1 && (bt === null || L$
|
|
5516
|
+
return pt.flags & 128 ? (pt.lanes = vt, pt) : (_t = _t !== null, _t !== (bt !== null && bt.memoizedState !== null) && _t && (pt.child.flags |= 8192, pt.mode & 1 && (bt === null || L$4.current & 1 ? T$5 === 0 && (T$5 = 3) : tj$1())), pt.updateQueue !== null && (pt.flags |= 4), S$2(pt), null);
|
|
5517
5517
|
case 4:
|
|
5518
|
-
return zh(), Aj$1(bt, pt), bt === null && sf(pt.stateNode.containerInfo), S$
|
|
5518
|
+
return zh(), Aj$1(bt, pt), bt === null && sf(pt.stateNode.containerInfo), S$2(pt), null;
|
|
5519
5519
|
case 10:
|
|
5520
|
-
return ah(pt.type._context), S$
|
|
5520
|
+
return ah(pt.type._context), S$2(pt), null;
|
|
5521
5521
|
case 17:
|
|
5522
|
-
return Zf(pt.type) && $f(), S$
|
|
5522
|
+
return Zf(pt.type) && $f(), S$2(pt), null;
|
|
5523
5523
|
case 19:
|
|
5524
|
-
if (E$
|
|
5525
|
-
return S$
|
|
5524
|
+
if (E$7(L$4), Rt = pt.memoizedState, Rt === null)
|
|
5525
|
+
return S$2(pt), null;
|
|
5526
5526
|
if (_t = (pt.flags & 128) !== 0, Ft = Rt.rendering, Ft === null)
|
|
5527
5527
|
if (_t)
|
|
5528
5528
|
Dj$1(Rt, !1);
|
|
@@ -5535,7 +5535,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5535
5535
|
lanes: bt.lanes,
|
|
5536
5536
|
firstContext: bt.firstContext
|
|
5537
5537
|
}), vt = vt.sibling;
|
|
5538
|
-
return G(L$
|
|
5538
|
+
return G(L$4, L$4.current & 1 | 2), pt.child;
|
|
5539
5539
|
}
|
|
5540
5540
|
bt = bt.sibling;
|
|
5541
5541
|
}
|
|
@@ -5545,15 +5545,15 @@ function Ej$1(bt, pt, vt) {
|
|
|
5545
5545
|
if (!_t)
|
|
5546
5546
|
if (bt = Ch(Ft), bt !== null) {
|
|
5547
5547
|
if (pt.flags |= 128, _t = !0, vt = bt.updateQueue, vt !== null && (pt.updateQueue = vt, pt.flags |= 4), Dj$1(Rt, !0), Rt.tail === null && Rt.tailMode === "hidden" && !Ft.alternate && !I$7)
|
|
5548
|
-
return S$
|
|
5548
|
+
return S$2(pt), null;
|
|
5549
5549
|
} else
|
|
5550
5550
|
2 * B$3() - Rt.renderingStartTime > Gj$1 && vt !== 1073741824 && (pt.flags |= 128, _t = !0, Dj$1(Rt, !1), pt.lanes = 4194304);
|
|
5551
5551
|
Rt.isBackwards ? (Ft.sibling = pt.child, pt.child = Ft) : (vt = Rt.last, vt !== null ? vt.sibling = Ft : pt.child = Ft, Rt.last = Ft);
|
|
5552
5552
|
}
|
|
5553
|
-
return Rt.tail !== null ? (pt = Rt.tail, Rt.rendering = pt, Rt.tail = pt.sibling, Rt.renderingStartTime = B$3(), pt.sibling = null, vt = L$
|
|
5553
|
+
return Rt.tail !== null ? (pt = Rt.tail, Rt.rendering = pt, Rt.tail = pt.sibling, Rt.renderingStartTime = B$3(), pt.sibling = null, vt = L$4.current, G(L$4, _t ? vt & 1 | 2 : vt & 1), pt) : (S$2(pt), null);
|
|
5554
5554
|
case 22:
|
|
5555
5555
|
case 23:
|
|
5556
|
-
return Hj$1(), _t = pt.memoizedState !== null, bt !== null && bt.memoizedState !== null !== _t && (pt.flags |= 8192), _t && pt.mode & 1 ? fj & 1073741824 && (S$
|
|
5556
|
+
return Hj$1(), _t = pt.memoizedState !== null, bt !== null && bt.memoizedState !== null !== _t && (pt.flags |= 8192), _t && pt.mode & 1 ? fj & 1073741824 && (S$2(pt), pt.subtreeFlags & 6 && (pt.flags |= 8192)) : S$2(pt), null;
|
|
5557
5557
|
case 24:
|
|
5558
5558
|
return null;
|
|
5559
5559
|
case 25:
|
|
@@ -5566,18 +5566,18 @@ function Ij(bt, pt) {
|
|
|
5566
5566
|
case 1:
|
|
5567
5567
|
return Zf(pt.type) && $f(), bt = pt.flags, bt & 65536 ? (pt.flags = bt & -65537 | 128, pt) : null;
|
|
5568
5568
|
case 3:
|
|
5569
|
-
return zh(), E$
|
|
5569
|
+
return zh(), E$7(Wf), E$7(H), Eh(), bt = pt.flags, bt & 65536 && !(bt & 128) ? (pt.flags = bt & -65537 | 128, pt) : null;
|
|
5570
5570
|
case 5:
|
|
5571
5571
|
return Bh(pt), null;
|
|
5572
5572
|
case 13:
|
|
5573
|
-
if (E$
|
|
5573
|
+
if (E$7(L$4), bt = pt.memoizedState, bt !== null && bt.dehydrated !== null) {
|
|
5574
5574
|
if (pt.alternate === null)
|
|
5575
5575
|
throw Error(p$e(340));
|
|
5576
5576
|
Ig$1();
|
|
5577
5577
|
}
|
|
5578
5578
|
return bt = pt.flags, bt & 65536 ? (pt.flags = bt & -65537 | 128, pt) : null;
|
|
5579
5579
|
case 19:
|
|
5580
|
-
return E$
|
|
5580
|
+
return E$7(L$4), null;
|
|
5581
5581
|
case 4:
|
|
5582
5582
|
return zh(), null;
|
|
5583
5583
|
case 10:
|
|
@@ -6283,17 +6283,17 @@ function jk(bt) {
|
|
|
6283
6283
|
V$1 = pt.return;
|
|
6284
6284
|
}
|
|
6285
6285
|
}
|
|
6286
|
-
var lk = Math.ceil, mk = ua$1.ReactCurrentDispatcher, nk = ua$1.ReactCurrentOwner, ok$2 = ua$1.ReactCurrentBatchConfig, K$
|
|
6286
|
+
var lk = Math.ceil, mk = ua$1.ReactCurrentDispatcher, nk = ua$1.ReactCurrentOwner, ok$2 = ua$1.ReactCurrentBatchConfig, K$5 = 0, Q$1 = null, Y = null, Z = 0, fj = 0, ej$1 = Uf(0), T$5 = 0, pk = null, rh = 0, qk = 0, rk = 0, sk = null, tk = null, fk = 0, Gj$1 = 1 / 0, uk = null, Oi$1 = !1, Pi$1 = null, Ri$1 = null, vk = !1, wk = null, xk = 0, yk = 0, zk = null, Ak = -1, Bk = 0;
|
|
6287
6287
|
function R$9() {
|
|
6288
|
-
return K$
|
|
6288
|
+
return K$5 & 6 ? B$3() : Ak !== -1 ? Ak : Ak = B$3();
|
|
6289
6289
|
}
|
|
6290
6290
|
function yi(bt) {
|
|
6291
|
-
return bt.mode & 1 ? K$
|
|
6291
|
+
return bt.mode & 1 ? K$5 & 2 && Z !== 0 ? Z & -Z : Kg$1.transition !== null ? (Bk === 0 && (Bk = yc()), Bk) : (bt = C$2, bt !== 0 || (bt = window.event, bt = bt === void 0 ? 16 : jd(bt.type)), bt) : 1;
|
|
6292
6292
|
}
|
|
6293
6293
|
function gi(bt, pt, vt, _t) {
|
|
6294
6294
|
if (50 < yk)
|
|
6295
6295
|
throw yk = 0, zk = null, Error(p$e(185));
|
|
6296
|
-
Ac(bt, vt, _t), (!(K$
|
|
6296
|
+
Ac(bt, vt, _t), (!(K$5 & 2) || bt !== Q$1) && (bt === Q$1 && (!(K$5 & 2) && (qk |= vt), T$5 === 4 && Ck(bt, Z)), Dk(bt, _t), vt === 1 && K$5 === 0 && !(pt.mode & 1) && (Gj$1 = B$3() + 500, fg$1 && jg$1()));
|
|
6297
6297
|
}
|
|
6298
6298
|
function Dk(bt, pt) {
|
|
6299
6299
|
var vt = bt.callbackNode;
|
|
@@ -6304,7 +6304,7 @@ function Dk(bt, pt) {
|
|
|
6304
6304
|
else if (pt = _t & -_t, bt.callbackPriority !== pt) {
|
|
6305
6305
|
if (vt != null && bc(vt), pt === 1)
|
|
6306
6306
|
bt.tag === 0 ? ig$1(Ek.bind(null, bt)) : hg$1(Ek.bind(null, bt)), Jf(function() {
|
|
6307
|
-
!(K$
|
|
6307
|
+
!(K$5 & 6) && jg$1();
|
|
6308
6308
|
}), vt = null;
|
|
6309
6309
|
else {
|
|
6310
6310
|
switch (Dc$1(_t)) {
|
|
@@ -6329,7 +6329,7 @@ function Dk(bt, pt) {
|
|
|
6329
6329
|
}
|
|
6330
6330
|
}
|
|
6331
6331
|
function Gk(bt, pt) {
|
|
6332
|
-
if (Ak = -1, Bk = 0, K$
|
|
6332
|
+
if (Ak = -1, Bk = 0, K$5 & 6)
|
|
6333
6333
|
throw Error(p$e(327));
|
|
6334
6334
|
var vt = bt.callbackNode;
|
|
6335
6335
|
if (Hk() && bt.callbackNode !== vt)
|
|
@@ -6341,8 +6341,8 @@ function Gk(bt, pt) {
|
|
|
6341
6341
|
pt = Ik(bt, _t);
|
|
6342
6342
|
else {
|
|
6343
6343
|
pt = _t;
|
|
6344
|
-
var $t = K$
|
|
6345
|
-
K$
|
|
6344
|
+
var $t = K$5;
|
|
6345
|
+
K$5 |= 2;
|
|
6346
6346
|
var Rt = Jk();
|
|
6347
6347
|
(Q$1 !== bt || Z !== pt) && (uk = null, Gj$1 = B$3() + 500, Kk(bt, pt));
|
|
6348
6348
|
do
|
|
@@ -6353,7 +6353,7 @@ function Gk(bt, pt) {
|
|
|
6353
6353
|
Mk(bt, Pt);
|
|
6354
6354
|
}
|
|
6355
6355
|
while (1);
|
|
6356
|
-
$g$1(), mk.current = Rt, K$
|
|
6356
|
+
$g$1(), mk.current = Rt, K$5 = $t, Y !== null ? pt = 0 : (Q$1 = null, Z = 0, pt = T$5);
|
|
6357
6357
|
}
|
|
6358
6358
|
if (pt !== 0) {
|
|
6359
6359
|
if (pt === 2 && ($t = xc(bt), $t !== 0 && (_t = $t, pt = Nk(bt, $t))), pt === 1)
|
|
@@ -6451,7 +6451,7 @@ function Ck(bt, pt) {
|
|
|
6451
6451
|
}
|
|
6452
6452
|
}
|
|
6453
6453
|
function Ek(bt) {
|
|
6454
|
-
if (K$
|
|
6454
|
+
if (K$5 & 6)
|
|
6455
6455
|
throw Error(p$e(327));
|
|
6456
6456
|
Hk();
|
|
6457
6457
|
var pt = uc(bt, 0);
|
|
@@ -6469,28 +6469,28 @@ function Ek(bt) {
|
|
|
6469
6469
|
return bt.finishedWork = bt.current.alternate, bt.finishedLanes = pt, Pk(bt, tk, uk), Dk(bt, B$3()), null;
|
|
6470
6470
|
}
|
|
6471
6471
|
function Qk(bt, pt) {
|
|
6472
|
-
var vt = K$
|
|
6473
|
-
K$
|
|
6472
|
+
var vt = K$5;
|
|
6473
|
+
K$5 |= 1;
|
|
6474
6474
|
try {
|
|
6475
6475
|
return bt(pt);
|
|
6476
6476
|
} finally {
|
|
6477
|
-
K$
|
|
6477
|
+
K$5 = vt, K$5 === 0 && (Gj$1 = B$3() + 500, fg$1 && jg$1());
|
|
6478
6478
|
}
|
|
6479
6479
|
}
|
|
6480
6480
|
function Rk(bt) {
|
|
6481
|
-
wk !== null && wk.tag === 0 && !(K$
|
|
6482
|
-
var pt = K$
|
|
6483
|
-
K$
|
|
6484
|
-
var vt = ok$2.transition, _t = C$
|
|
6481
|
+
wk !== null && wk.tag === 0 && !(K$5 & 6) && Hk();
|
|
6482
|
+
var pt = K$5;
|
|
6483
|
+
K$5 |= 1;
|
|
6484
|
+
var vt = ok$2.transition, _t = C$2;
|
|
6485
6485
|
try {
|
|
6486
|
-
if (ok$2.transition = null, C$
|
|
6486
|
+
if (ok$2.transition = null, C$2 = 1, bt)
|
|
6487
6487
|
return bt();
|
|
6488
6488
|
} finally {
|
|
6489
|
-
C$
|
|
6489
|
+
C$2 = _t, ok$2.transition = vt, K$5 = pt, !(K$5 & 6) && jg$1();
|
|
6490
6490
|
}
|
|
6491
6491
|
}
|
|
6492
6492
|
function Hj$1() {
|
|
6493
|
-
fj = ej$1.current, E$
|
|
6493
|
+
fj = ej$1.current, E$7(ej$1);
|
|
6494
6494
|
}
|
|
6495
6495
|
function Kk(bt, pt) {
|
|
6496
6496
|
bt.finishedWork = null, bt.finishedLanes = 0;
|
|
@@ -6503,7 +6503,7 @@ function Kk(bt, pt) {
|
|
|
6503
6503
|
_t = _t.type.childContextTypes, _t != null && $f();
|
|
6504
6504
|
break;
|
|
6505
6505
|
case 3:
|
|
6506
|
-
zh(), E$
|
|
6506
|
+
zh(), E$7(Wf), E$7(H), Eh();
|
|
6507
6507
|
break;
|
|
6508
6508
|
case 5:
|
|
6509
6509
|
Bh(_t);
|
|
@@ -6512,10 +6512,10 @@ function Kk(bt, pt) {
|
|
|
6512
6512
|
zh();
|
|
6513
6513
|
break;
|
|
6514
6514
|
case 13:
|
|
6515
|
-
E$
|
|
6515
|
+
E$7(L$4);
|
|
6516
6516
|
break;
|
|
6517
6517
|
case 19:
|
|
6518
|
-
E$
|
|
6518
|
+
E$7(L$4);
|
|
6519
6519
|
break;
|
|
6520
6520
|
case 10:
|
|
6521
6521
|
ah(_t.type._context);
|
|
@@ -6625,8 +6625,8 @@ function tj$1() {
|
|
|
6625
6625
|
(T$5 === 0 || T$5 === 3 || T$5 === 2) && (T$5 = 4), Q$1 === null || !(rh & 268435455) && !(qk & 268435455) || Ck(Q$1, Z);
|
|
6626
6626
|
}
|
|
6627
6627
|
function Ik(bt, pt) {
|
|
6628
|
-
var vt = K$
|
|
6629
|
-
K$
|
|
6628
|
+
var vt = K$5;
|
|
6629
|
+
K$5 |= 2;
|
|
6630
6630
|
var _t = Jk();
|
|
6631
6631
|
(Q$1 !== bt || Z !== pt) && (uk = null, Kk(bt, pt));
|
|
6632
6632
|
do
|
|
@@ -6637,7 +6637,7 @@ function Ik(bt, pt) {
|
|
|
6637
6637
|
Mk(bt, $t);
|
|
6638
6638
|
}
|
|
6639
6639
|
while (1);
|
|
6640
|
-
if ($g$1(), K$
|
|
6640
|
+
if ($g$1(), K$5 = vt, mk.current = _t, Y !== null)
|
|
6641
6641
|
throw Error(p$e(261));
|
|
6642
6642
|
return Q$1 = null, Z = 0, T$5;
|
|
6643
6643
|
}
|
|
@@ -6681,11 +6681,11 @@ function Sk(bt) {
|
|
|
6681
6681
|
T$5 === 0 && (T$5 = 5);
|
|
6682
6682
|
}
|
|
6683
6683
|
function Pk(bt, pt, vt) {
|
|
6684
|
-
var _t = C$
|
|
6684
|
+
var _t = C$2, $t = ok$2.transition;
|
|
6685
6685
|
try {
|
|
6686
|
-
ok$2.transition = null, C$
|
|
6686
|
+
ok$2.transition = null, C$2 = 1, Wk(bt, pt, vt, _t);
|
|
6687
6687
|
} finally {
|
|
6688
|
-
ok$2.transition = $t, C$
|
|
6688
|
+
ok$2.transition = $t, C$2 = _t;
|
|
6689
6689
|
}
|
|
6690
6690
|
return null;
|
|
6691
6691
|
}
|
|
@@ -6693,7 +6693,7 @@ function Wk(bt, pt, vt, _t) {
|
|
|
6693
6693
|
do
|
|
6694
6694
|
Hk();
|
|
6695
6695
|
while (wk !== null);
|
|
6696
|
-
if (K$
|
|
6696
|
+
if (K$5 & 6)
|
|
6697
6697
|
throw Error(p$e(327));
|
|
6698
6698
|
vt = bt.finishedWork;
|
|
6699
6699
|
var $t = bt.finishedLanes;
|
|
@@ -6707,10 +6707,10 @@ function Wk(bt, pt, vt, _t) {
|
|
|
6707
6707
|
return Hk(), null;
|
|
6708
6708
|
})), Rt = (vt.flags & 15990) !== 0, vt.subtreeFlags & 15990 || Rt) {
|
|
6709
6709
|
Rt = ok$2.transition, ok$2.transition = null;
|
|
6710
|
-
var Ft = C$
|
|
6711
|
-
C$
|
|
6712
|
-
var Pt = K$
|
|
6713
|
-
K$
|
|
6710
|
+
var Ft = C$2;
|
|
6711
|
+
C$2 = 1;
|
|
6712
|
+
var Pt = K$5;
|
|
6713
|
+
K$5 |= 4, nk.current = null, Oj$1(bt, vt), dk(vt, bt), Oe$1(Df), dd = !!Cf, Df = Cf = null, bt.current = vt, hk(vt), dc(), K$5 = Pt, C$2 = Ft, ok$2.transition = Rt;
|
|
6714
6714
|
} else
|
|
6715
6715
|
bt.current = vt;
|
|
6716
6716
|
if (vk && (vk = !1, wk = bt, xk = $t), Rt = bt.pendingLanes, Rt === 0 && (Ri$1 = null), mc(vt.stateNode), Dk(bt, B$3()), pt !== null)
|
|
@@ -6725,15 +6725,15 @@ function Wk(bt, pt, vt, _t) {
|
|
|
6725
6725
|
}
|
|
6726
6726
|
function Hk() {
|
|
6727
6727
|
if (wk !== null) {
|
|
6728
|
-
var bt = Dc$1(xk), pt = ok$2.transition, vt = C$
|
|
6728
|
+
var bt = Dc$1(xk), pt = ok$2.transition, vt = C$2;
|
|
6729
6729
|
try {
|
|
6730
|
-
if (ok$2.transition = null, C$
|
|
6730
|
+
if (ok$2.transition = null, C$2 = 16 > bt ? 16 : bt, wk === null)
|
|
6731
6731
|
var _t = !1;
|
|
6732
6732
|
else {
|
|
6733
|
-
if (bt = wk, wk = null, xk = 0, K$
|
|
6733
|
+
if (bt = wk, wk = null, xk = 0, K$5 & 6)
|
|
6734
6734
|
throw Error(p$e(331));
|
|
6735
|
-
var $t = K$
|
|
6736
|
-
for (K$
|
|
6735
|
+
var $t = K$5;
|
|
6736
|
+
for (K$5 |= 4, V$1 = bt.current; V$1 !== null; ) {
|
|
6737
6737
|
var Rt = V$1, Ft = Rt.child;
|
|
6738
6738
|
if (V$1.flags & 16) {
|
|
6739
6739
|
var Pt = Rt.deletions;
|
|
@@ -6833,7 +6833,7 @@ function Hk() {
|
|
|
6833
6833
|
V$1 = Pt.return;
|
|
6834
6834
|
}
|
|
6835
6835
|
}
|
|
6836
|
-
if (K$
|
|
6836
|
+
if (K$5 = $t, jg$1(), lc && typeof lc.onPostCommitFiberRoot == "function")
|
|
6837
6837
|
try {
|
|
6838
6838
|
lc.onPostCommitFiberRoot(kc, bt);
|
|
6839
6839
|
} catch (cr) {
|
|
@@ -6842,7 +6842,7 @@ function Hk() {
|
|
|
6842
6842
|
}
|
|
6843
6843
|
return _t;
|
|
6844
6844
|
} finally {
|
|
6845
|
-
C$
|
|
6845
|
+
C$2 = vt, ok$2.transition = pt;
|
|
6846
6846
|
}
|
|
6847
6847
|
}
|
|
6848
6848
|
return !1;
|
|
@@ -6912,7 +6912,7 @@ Vk = function(bt, pt, vt) {
|
|
|
6912
6912
|
case 2:
|
|
6913
6913
|
var _t = pt.type;
|
|
6914
6914
|
ij$1(bt, pt), bt = pt.pendingProps;
|
|
6915
|
-
var $t = Yf(pt, H
|
|
6915
|
+
var $t = Yf(pt, H.current);
|
|
6916
6916
|
ch$1(pt, vt), $t = Nh(null, pt, _t, bt, $t, vt);
|
|
6917
6917
|
var Rt = Sh();
|
|
6918
6918
|
return pt.flags |= 1, typeof $t == "object" && $t !== null && typeof $t.render == "function" && $t.$$typeof === void 0 ? (pt.tag = 1, pt.memoizedState = null, pt.updateQueue = null, Zf(_t) ? (Rt = !0, cg$1(pt)) : Rt = !1, pt.memoizedState = $t.state !== null && $t.state !== void 0 ? $t.state : null, kh(pt), $t.updater = Ei, pt.stateNode = $t, $t._reactInternals = pt, Ii(pt, _t, bt, vt), pt = jj$1(null, pt, _t, !0, Rt, vt)) : (pt.tag = 0, I$7 && Rt && vg$1(pt), Xi$1(null, pt, $t, vt), pt = pt.child), pt;
|
|
@@ -7329,7 +7329,7 @@ Ec = function(bt) {
|
|
|
7329
7329
|
var pt = bt.stateNode;
|
|
7330
7330
|
if (pt.current.memoizedState.isDehydrated) {
|
|
7331
7331
|
var vt = tc(pt.pendingLanes);
|
|
7332
|
-
vt !== 0 && (Cc(pt, vt | 1), Dk(pt, B$3()), !(K$
|
|
7332
|
+
vt !== 0 && (Cc(pt, vt | 1), Dk(pt, B$3()), !(K$5 & 6) && (Gj$1 = B$3() + 500, jg$1()));
|
|
7333
7333
|
}
|
|
7334
7334
|
break;
|
|
7335
7335
|
case 13:
|
|
@@ -7363,14 +7363,14 @@ Gc = function(bt) {
|
|
|
7363
7363
|
}
|
|
7364
7364
|
};
|
|
7365
7365
|
Hc = function() {
|
|
7366
|
-
return C$
|
|
7366
|
+
return C$2;
|
|
7367
7367
|
};
|
|
7368
7368
|
Ic = function(bt, pt) {
|
|
7369
|
-
var vt = C$
|
|
7369
|
+
var vt = C$2;
|
|
7370
7370
|
try {
|
|
7371
|
-
return C$
|
|
7371
|
+
return C$2 = bt, pt();
|
|
7372
7372
|
} finally {
|
|
7373
|
-
C$
|
|
7373
|
+
C$2 = vt;
|
|
7374
7374
|
}
|
|
7375
7375
|
};
|
|
7376
7376
|
yb = function(bt, pt, vt) {
|
|
@@ -9306,9 +9306,9 @@ var reactIs = { exports: {} }, reactIs_production_min = {};
|
|
|
9306
9306
|
* This source code is licensed under the MIT license found in the
|
|
9307
9307
|
* LICENSE file in the root directory of this source tree.
|
|
9308
9308
|
*/
|
|
9309
|
-
var b$a = Symbol.for("react.element"), c$9 = Symbol.for("react.portal"), d$9 = Symbol.for("react.fragment"), e$3 = Symbol.for("react.strict_mode"), f$b = Symbol.for("react.profiler"), g$b = Symbol.for("react.provider"), h$b = Symbol.for("react.context"), k$9 = Symbol.for("react.server_context"), l$6 = Symbol.for("react.forward_ref"), m$6 = Symbol.for("react.suspense"), n$9 = Symbol.for("react.suspense_list"), p$d = Symbol.for("react.memo"), q$2 = Symbol.for("react.lazy"), t$5 = Symbol.for("react.offscreen"), u$
|
|
9310
|
-
u$
|
|
9311
|
-
function v$
|
|
9309
|
+
var b$a = Symbol.for("react.element"), c$9 = Symbol.for("react.portal"), d$9 = Symbol.for("react.fragment"), e$3 = Symbol.for("react.strict_mode"), f$b = Symbol.for("react.profiler"), g$b = Symbol.for("react.provider"), h$b = Symbol.for("react.context"), k$9 = Symbol.for("react.server_context"), l$6 = Symbol.for("react.forward_ref"), m$6 = Symbol.for("react.suspense"), n$9 = Symbol.for("react.suspense_list"), p$d = Symbol.for("react.memo"), q$2 = Symbol.for("react.lazy"), t$5 = Symbol.for("react.offscreen"), u$b;
|
|
9310
|
+
u$b = Symbol.for("react.module.reference");
|
|
9311
|
+
function v$9(bt) {
|
|
9312
9312
|
if (typeof bt == "object" && bt !== null) {
|
|
9313
9313
|
var pt = bt.$$typeof;
|
|
9314
9314
|
switch (pt) {
|
|
@@ -9357,45 +9357,45 @@ reactIs_production_min.isConcurrentMode = function() {
|
|
|
9357
9357
|
return !1;
|
|
9358
9358
|
};
|
|
9359
9359
|
reactIs_production_min.isContextConsumer = function(bt) {
|
|
9360
|
-
return v$
|
|
9360
|
+
return v$9(bt) === h$b;
|
|
9361
9361
|
};
|
|
9362
9362
|
reactIs_production_min.isContextProvider = function(bt) {
|
|
9363
|
-
return v$
|
|
9363
|
+
return v$9(bt) === g$b;
|
|
9364
9364
|
};
|
|
9365
9365
|
reactIs_production_min.isElement = function(bt) {
|
|
9366
9366
|
return typeof bt == "object" && bt !== null && bt.$$typeof === b$a;
|
|
9367
9367
|
};
|
|
9368
9368
|
reactIs_production_min.isForwardRef = function(bt) {
|
|
9369
|
-
return v$
|
|
9369
|
+
return v$9(bt) === l$6;
|
|
9370
9370
|
};
|
|
9371
9371
|
reactIs_production_min.isFragment = function(bt) {
|
|
9372
|
-
return v$
|
|
9372
|
+
return v$9(bt) === d$9;
|
|
9373
9373
|
};
|
|
9374
9374
|
reactIs_production_min.isLazy = function(bt) {
|
|
9375
|
-
return v$
|
|
9375
|
+
return v$9(bt) === q$2;
|
|
9376
9376
|
};
|
|
9377
9377
|
reactIs_production_min.isMemo = function(bt) {
|
|
9378
|
-
return v$
|
|
9378
|
+
return v$9(bt) === p$d;
|
|
9379
9379
|
};
|
|
9380
9380
|
reactIs_production_min.isPortal = function(bt) {
|
|
9381
|
-
return v$
|
|
9381
|
+
return v$9(bt) === c$9;
|
|
9382
9382
|
};
|
|
9383
9383
|
reactIs_production_min.isProfiler = function(bt) {
|
|
9384
|
-
return v$
|
|
9384
|
+
return v$9(bt) === f$b;
|
|
9385
9385
|
};
|
|
9386
9386
|
reactIs_production_min.isStrictMode = function(bt) {
|
|
9387
|
-
return v$
|
|
9387
|
+
return v$9(bt) === e$3;
|
|
9388
9388
|
};
|
|
9389
9389
|
reactIs_production_min.isSuspense = function(bt) {
|
|
9390
|
-
return v$
|
|
9390
|
+
return v$9(bt) === m$6;
|
|
9391
9391
|
};
|
|
9392
9392
|
reactIs_production_min.isSuspenseList = function(bt) {
|
|
9393
|
-
return v$
|
|
9393
|
+
return v$9(bt) === n$9;
|
|
9394
9394
|
};
|
|
9395
9395
|
reactIs_production_min.isValidElementType = function(bt) {
|
|
9396
|
-
return typeof bt == "string" || typeof bt == "function" || bt === d$9 || bt === f$b || bt === e$3 || bt === m$6 || bt === n$9 || bt === t$5 || typeof bt == "object" && bt !== null && (bt.$$typeof === q$2 || bt.$$typeof === p$d || bt.$$typeof === g$b || bt.$$typeof === h$b || bt.$$typeof === l$6 || bt.$$typeof === u$
|
|
9396
|
+
return typeof bt == "string" || typeof bt == "function" || bt === d$9 || bt === f$b || bt === e$3 || bt === m$6 || bt === n$9 || bt === t$5 || typeof bt == "object" && bt !== null && (bt.$$typeof === q$2 || bt.$$typeof === p$d || bt.$$typeof === g$b || bt.$$typeof === h$b || bt.$$typeof === l$6 || bt.$$typeof === u$b || bt.getModuleId !== void 0);
|
|
9397
9397
|
};
|
|
9398
|
-
reactIs_production_min.typeOf = v$
|
|
9398
|
+
reactIs_production_min.typeOf = v$9;
|
|
9399
9399
|
reactIs.exports = reactIs_production_min;
|
|
9400
9400
|
var reactIsExports = reactIs.exports;
|
|
9401
9401
|
function useMemo$1(bt, pt, vt) {
|
|
@@ -31319,12 +31319,12 @@ axios$2.exports = axios$1;
|
|
|
31319
31319
|
axios$2.exports.default = axios$1;
|
|
31320
31320
|
var axiosExports = axios$2.exports, axios = axiosExports;
|
|
31321
31321
|
const ig = /* @__PURE__ */ getDefaultExportFromCjs(axios);
|
|
31322
|
-
var x$
|
|
31322
|
+
var x$9 = Object.defineProperty, l$5 = Object.getOwnPropertySymbols, g$a = Object.prototype.hasOwnProperty, y$6 = Object.prototype.propertyIsEnumerable, u$a = (bt, pt, vt) => pt in bt ? x$9(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, c$8 = (bt, pt) => {
|
|
31323
31323
|
for (var vt in pt || (pt = {}))
|
|
31324
|
-
g$a.call(pt, vt) && u$
|
|
31324
|
+
g$a.call(pt, vt) && u$a(bt, vt, pt[vt]);
|
|
31325
31325
|
if (l$5)
|
|
31326
31326
|
for (var vt of l$5(pt))
|
|
31327
|
-
y$6.call(pt, vt) && u$
|
|
31327
|
+
y$6.call(pt, vt) && u$a(bt, vt, pt[vt]);
|
|
31328
31328
|
return bt;
|
|
31329
31329
|
}, n$7 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
31330
31330
|
var Rt = (Bt) => {
|
|
@@ -31455,7 +31455,7 @@ let R$8 = class {
|
|
|
31455
31455
|
handleAppError(pt, vt) {
|
|
31456
31456
|
var _t;
|
|
31457
31457
|
if (pt.code < 200 || pt.code >= 300)
|
|
31458
|
-
throw (_t = this.errorHandler) != null && _t.onAppStatusError ? this.errorHandler.onAppStatusError(pt.code, E$
|
|
31458
|
+
throw (_t = this.errorHandler) != null && _t.onAppStatusError ? this.errorHandler.onAppStatusError(pt.code, E$6(pt.code, pt.message), vt) : console.error("未处理应用错误:", pt), {
|
|
31459
31459
|
isAxiosError: !1,
|
|
31460
31460
|
message: pt.message
|
|
31461
31461
|
};
|
|
@@ -31467,7 +31467,7 @@ let R$8 = class {
|
|
|
31467
31467
|
return pt.response ? (vt = this.errorHandler) != null && vt.onHttpStatusError && (console.log("HTTP 错误", this.errorHandler), this.errorHandler.onHttpStatusError(pt.response.status, "", pt.response)) : pt.request ? (console.log(pt.request), (_t = this.errorHandler) != null && _t.onNetworkError && this.errorHandler.onNetworkError()) : console.error("axios request config error:", pt), new Error(pt.message);
|
|
31468
31468
|
}
|
|
31469
31469
|
};
|
|
31470
|
-
const f$a = (bt) => bt >= 10002 && bt <= 10012, E$
|
|
31470
|
+
const f$a = (bt) => bt >= 10002 && bt <= 10012, E$6 = (bt, pt) => f$a(bt) ? "数据操作错误" : pt || "未知接口错误";
|
|
31471
31471
|
/*! For license information please see minio.esm.js.LICENSE.txt */
|
|
31472
31472
|
var __webpack_modules__ = { 20: (bt, pt, vt) => {
|
|
31473
31473
|
var _t = vt(2861).Buffer, $t = vt(7108), Rt = vt(6737), Ft = vt(6698), Pt = vt(5359), Bt = vt(4847), qt = vt(2951);
|
|
@@ -59900,7 +59900,7 @@ const Minio = minio__WEBPACK_IMPORTED_MODULE_0___default(), { initMinio, putObje
|
|
|
59900
59900
|
__webpack_exports__.D4;
|
|
59901
59901
|
__webpack_exports__.TS;
|
|
59902
59902
|
__webpack_exports__.IS;
|
|
59903
|
-
var __webpack_exports__initMinio = __webpack_exports__.rJ, __webpack_exports__putObjectBuffer = __webpack_exports__.vo, t$3 = /* @__PURE__ */ ((bt) => (bt[bt.None = 0] = "None", bt[bt.SourceFile = 1] = "SourceFile", bt[bt.WebLink = 2] = "WebLink", bt))(t$3 || {}), a$6 = /* @__PURE__ */ ((bt) => (bt.Unprotected = "不受著作权保护", bt.ProtectAuthorize = "受著作权保护,已获得授权", bt.ProtectUnauthorize = "受著作权保护,未获得授权", bt))(a$6 || {}), n$6 = /* @__PURE__ */ ((bt) => (bt[bt.Robot = 1] = "Robot", bt[bt.User = 2] = "User", bt[bt.System = 3] = "System", bt))(n$6 || {}), P$
|
|
59903
|
+
var __webpack_exports__initMinio = __webpack_exports__.rJ, __webpack_exports__putObjectBuffer = __webpack_exports__.vo, t$3 = /* @__PURE__ */ ((bt) => (bt[bt.None = 0] = "None", bt[bt.SourceFile = 1] = "SourceFile", bt[bt.WebLink = 2] = "WebLink", bt))(t$3 || {}), a$6 = /* @__PURE__ */ ((bt) => (bt.Unprotected = "不受著作权保护", bt.ProtectAuthorize = "受著作权保护,已获得授权", bt.ProtectUnauthorize = "受著作权保护,未获得授权", bt))(a$6 || {}), n$6 = /* @__PURE__ */ ((bt) => (bt[bt.Robot = 1] = "Robot", bt[bt.User = 2] = "User", bt[bt.System = 3] = "System", bt))(n$6 || {}), P$1 = /* @__PURE__ */ ((bt) => (bt.Start = "start", bt.End = "end", bt))(P$1 || {}), b$9 = /* @__PURE__ */ ((bt) => (bt[bt.Processing = 1] = "Processing", bt[bt.Success = 2] = "Success", bt[bt.Failed = 3] = "Failed", bt))(b$9 || {}), v$8 = /* @__PURE__ */ ((bt) => (bt.AECPILOT = "aecpilot", bt))(v$8 || {});
|
|
59904
59904
|
const byteToHex = [];
|
|
59905
59905
|
for (let bt = 0; bt < 256; ++bt)
|
|
59906
59906
|
byteToHex.push((bt + 256).toString(16).slice(1));
|
|
@@ -60256,7 +60256,7 @@ var dayjs_min = { exports: {} };
|
|
|
60256
60256
|
});
|
|
60257
60257
|
})(dayjs_min);
|
|
60258
60258
|
var dayjs_minExports = dayjs_min.exports;
|
|
60259
|
-
const NN = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports), T$4 = 128, _ = 20;
|
|
60259
|
+
const NN = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports), T$4 = 128, _$1 = 20;
|
|
60260
60260
|
var b$8 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
60261
60261
|
var Rt = (Bt) => {
|
|
60262
60262
|
try {
|
|
@@ -60273,7 +60273,7 @@ var b$8 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
|
60273
60273
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
60274
60274
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
60275
60275
|
});
|
|
60276
|
-
function w$
|
|
60276
|
+
function w$7(bt, pt) {
|
|
60277
60277
|
return b$8(this, null, function* () {
|
|
60278
60278
|
const vt = bt.getReader();
|
|
60279
60279
|
let _t;
|
|
@@ -60349,19 +60349,19 @@ function y$5() {
|
|
|
60349
60349
|
retry: void 0
|
|
60350
60350
|
};
|
|
60351
60351
|
}
|
|
60352
|
-
var W$2 = Object.defineProperty, j$2 = Object.defineProperties, k$7 = Object.getOwnPropertyDescriptors, v$
|
|
60352
|
+
var W$2 = Object.defineProperty, j$2 = Object.defineProperties, k$7 = Object.getOwnPropertyDescriptors, v$7 = Object.getOwnPropertySymbols, A$6 = Object.prototype.hasOwnProperty, R$7 = Object.prototype.propertyIsEnumerable, I$6 = (bt, pt, vt) => pt in bt ? W$2(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, E$5 = (bt, pt) => {
|
|
60353
60353
|
for (var vt in pt || (pt = {}))
|
|
60354
60354
|
A$6.call(pt, vt) && I$6(bt, vt, pt[vt]);
|
|
60355
|
-
if (v$
|
|
60356
|
-
for (var vt of v$
|
|
60355
|
+
if (v$7)
|
|
60356
|
+
for (var vt of v$7(pt))
|
|
60357
60357
|
R$7.call(pt, vt) && I$6(bt, vt, pt[vt]);
|
|
60358
60358
|
return bt;
|
|
60359
60359
|
}, $$4 = (bt, pt) => j$2(bt, k$7(pt)), q$1 = (bt, pt) => {
|
|
60360
60360
|
var vt = {};
|
|
60361
60361
|
for (var _t in bt)
|
|
60362
60362
|
A$6.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
60363
|
-
if (bt != null && v$
|
|
60364
|
-
for (var _t of v$
|
|
60363
|
+
if (bt != null && v$7)
|
|
60364
|
+
for (var _t of v$7(bt))
|
|
60365
60365
|
pt.indexOf(_t) < 0 && R$7.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
60366
60366
|
return vt;
|
|
60367
60367
|
}, B$2 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -60402,7 +60402,7 @@ function X$1(bt, pt) {
|
|
|
60402
60402
|
"fetch"
|
|
60403
60403
|
]);
|
|
60404
60404
|
return new Promise((Zt, Jt) => {
|
|
60405
|
-
const Kt = E$
|
|
60405
|
+
const Kt = E$5({}, $t);
|
|
60406
60406
|
Kt.accept || (Kt.accept = g$8);
|
|
60407
60407
|
let rr;
|
|
60408
60408
|
function ir() {
|
|
@@ -60416,17 +60416,17 @@ function X$1(bt, pt) {
|
|
|
60416
60416
|
_t == null || _t.addEventListener("abort", () => {
|
|
60417
60417
|
or(), Zt();
|
|
60418
60418
|
});
|
|
60419
|
-
const ur = Ht != null ? Ht : window.fetch, cr = Rt != null ? Rt : K$
|
|
60419
|
+
const ur = Ht != null ? Ht : window.fetch, cr = Rt != null ? Rt : K$4;
|
|
60420
60420
|
function dr() {
|
|
60421
60421
|
return B$2(this, null, function* () {
|
|
60422
60422
|
var pr;
|
|
60423
60423
|
rr = new AbortController();
|
|
60424
60424
|
try {
|
|
60425
|
-
const mr = yield ur(bt, $$4(E$
|
|
60425
|
+
const mr = yield ur(bt, $$4(E$5({}, Gt), {
|
|
60426
60426
|
headers: Kt,
|
|
60427
60427
|
signal: rr.signal
|
|
60428
60428
|
}));
|
|
60429
|
-
yield cr(mr), yield w$
|
|
60429
|
+
yield cr(mr), yield w$7(mr.body, g$9(k$8((vr) => {
|
|
60430
60430
|
vr ? Kt[D$3] = vr : delete Kt[D$3];
|
|
60431
60431
|
}, (vr) => {
|
|
60432
60432
|
sr = vr;
|
|
@@ -60445,7 +60445,7 @@ function X$1(bt, pt) {
|
|
|
60445
60445
|
dr();
|
|
60446
60446
|
});
|
|
60447
60447
|
}
|
|
60448
|
-
function K$
|
|
60448
|
+
function K$4(bt) {
|
|
60449
60449
|
const pt = bt.headers.get("content-type");
|
|
60450
60450
|
if (!(pt != null && pt.startsWith(g$8)))
|
|
60451
60451
|
throw new Error(`Expected content-type to be ${g$8}, Actual: ${pt}`);
|
|
@@ -61440,14 +61440,14 @@ ieee754.write = function(bt, pt, vt, _t, $t, Rt) {
|
|
|
61440
61440
|
throw new Error("BigInt not supported");
|
|
61441
61441
|
}
|
|
61442
61442
|
})(buffer);
|
|
61443
|
-
var v$
|
|
61443
|
+
var v$6 = Object.defineProperty, S$1 = Object.defineProperties, w$6 = Object.getOwnPropertyDescriptors, g$7 = Object.getOwnPropertySymbols, A$5 = Object.prototype.hasOwnProperty, R$6 = Object.prototype.propertyIsEnumerable, y$4 = (bt, pt, vt) => pt in bt ? v$6(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$9 = (bt, pt) => {
|
|
61444
61444
|
for (var vt in pt || (pt = {}))
|
|
61445
61445
|
A$5.call(pt, vt) && y$4(bt, vt, pt[vt]);
|
|
61446
61446
|
if (g$7)
|
|
61447
61447
|
for (var vt of g$7(pt))
|
|
61448
61448
|
R$6.call(pt, vt) && y$4(bt, vt, pt[vt]);
|
|
61449
61449
|
return bt;
|
|
61450
|
-
}, $$3 = (bt, pt) => S$
|
|
61450
|
+
}, $$3 = (bt, pt) => S$1(bt, w$6(pt)), s$6 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
61451
61451
|
var Rt = (Bt) => {
|
|
61452
61452
|
try {
|
|
61453
61453
|
Pt(vt.next(Bt));
|
|
@@ -61464,7 +61464,7 @@ var v$7 = Object.defineProperty, S$2 = Object.defineProperties, w$7 = Object.get
|
|
|
61464
61464
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
61465
61465
|
});
|
|
61466
61466
|
window.Buffer = buffer.Buffer;
|
|
61467
|
-
let x$
|
|
61467
|
+
let x$8 = class extends R$8 {
|
|
61468
61468
|
constructor(pt, vt, _t) {
|
|
61469
61469
|
super(pt != null ? pt : ig.create(), _t), this.axiosInstance = pt, this.getToken = vt;
|
|
61470
61470
|
}
|
|
@@ -62279,7 +62279,7 @@ let k$6 = class extends R$8 {
|
|
|
62279
62279
|
});
|
|
62280
62280
|
}
|
|
62281
62281
|
};
|
|
62282
|
-
var v$
|
|
62282
|
+
var v$5 = /* @__PURE__ */ ((bt) => (bt[bt.Robot = 1] = "Robot", bt[bt.User = 2] = "User", bt[bt.System = 3] = "System", bt))(v$5 || {}), u$9 = /* @__PURE__ */ ((bt) => (bt[bt.Processing = 1] = "Processing", bt[bt.Success = 2] = "Success", bt[bt.Failed = 3] = "Failed", bt))(u$9 || {}), L$3 = /* @__PURE__ */ ((bt) => (bt[bt.Idle = 0] = "Idle", bt[bt.Quoted = 1] = "Quoted", bt))(L$3 || {}), i$7 = /* @__PURE__ */ ((bt) => (bt[bt.Dialog = 0] = "Dialog", bt[bt.Text = 1] = "Text", bt[bt.Agent = 2] = "Agent", bt[bt.All = 3] = "All", bt))(i$7 || {}), k$5 = /* @__PURE__ */ ((bt) => (bt.User = "instruction", bt.System = "settings", bt))(k$5 || {});
|
|
62283
62283
|
function ok$1() {
|
|
62284
62284
|
}
|
|
62285
62285
|
function unreachable() {
|
|
@@ -71721,10 +71721,10 @@ class Style {
|
|
|
71721
71721
|
return this.size >= 2;
|
|
71722
71722
|
}
|
|
71723
71723
|
}
|
|
71724
|
-
var D$2 = 0, Dc = 1, T$3 = 2, Tc = 3, S
|
|
71724
|
+
var D$2 = 0, Dc = 1, T$3 = 2, Tc = 3, S = 4, Sc = 5, SS = 6, SSc = 7, styles = [new Style(D$2, 0, !1), new Style(Dc, 0, !0), new Style(T$3, 1, !1), new Style(Tc, 1, !0), new Style(S, 2, !1), new Style(Sc, 2, !0), new Style(SS, 3, !1), new Style(SSc, 3, !0)], sup = [S, Sc, S, Sc, SS, SSc, SS, SSc], sub = [Sc, Sc, Sc, Sc, SSc, SSc, SSc, SSc], fracNum = [T$3, Tc, S, Sc, SS, SSc, SS, SSc], fracDen = [Tc, Tc, Sc, Sc, SSc, SSc, SSc, SSc], cramp = [Dc, Dc, Tc, Tc, Sc, Sc, SSc, SSc], text$1 = [D$2, Dc, T$3, Tc, T$3, Tc, T$3, Tc], Style$1 = {
|
|
71725
71725
|
DISPLAY: styles[D$2],
|
|
71726
71726
|
TEXT: styles[T$3],
|
|
71727
|
-
SCRIPT: styles[S
|
|
71727
|
+
SCRIPT: styles[S],
|
|
71728
71728
|
SCRIPTSCRIPT: styles[SS]
|
|
71729
71729
|
}, scriptData = [{
|
|
71730
71730
|
// Latin characters beyond the Latin-1 characters we have metrics for.
|
|
@@ -99097,7 +99097,7 @@ function clearImageViewer() {
|
|
|
99097
99097
|
}
|
|
99098
99098
|
const Multi = attachPropertiesToComponent(MultiImageViewer, {
|
|
99099
99099
|
show: showMultiImageViewer
|
|
99100
|
-
}), x$
|
|
99100
|
+
}), x$7 = attachPropertiesToComponent(ImageViewer, {
|
|
99101
99101
|
Multi,
|
|
99102
99102
|
show: showImageViewer,
|
|
99103
99103
|
clear: clearImageViewer
|
|
@@ -99977,7 +99977,7 @@ function p$a(bt) {
|
|
|
99977
99977
|
const _t = ((pt = vt.pathname.split(".").pop()) == null ? void 0 : pt.toLowerCase()) || "", $t = ["jpg", "jpeg", "gif", "png"], Rt = ["mp4", "wmv", "avi", "mov"];
|
|
99978
99978
|
return $t.includes(_t) ? "image" : Rt.includes(_t) ? "video" : null;
|
|
99979
99979
|
}
|
|
99980
|
-
var w$
|
|
99980
|
+
var w$5 = Object.defineProperty, k$4 = Object.defineProperties, I$5 = Object.getOwnPropertyDescriptors, f$8 = Object.getOwnPropertySymbols, y$3 = Object.prototype.hasOwnProperty, M$3 = Object.prototype.propertyIsEnumerable, d$8 = (bt, pt, vt) => pt in bt ? w$5(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, r$3 = (bt, pt) => {
|
|
99981
99981
|
for (var vt in pt || (pt = {}))
|
|
99982
99982
|
y$3.call(pt, vt) && d$8(bt, vt, pt[vt]);
|
|
99983
99983
|
if (f$8)
|
|
@@ -99985,7 +99985,7 @@ var w$6 = Object.defineProperty, k$4 = Object.defineProperties, I$5 = Object.get
|
|
|
99985
99985
|
M$3.call(pt, vt) && d$8(bt, vt, pt[vt]);
|
|
99986
99986
|
return bt;
|
|
99987
99987
|
}, a$4 = (bt, pt) => k$4(bt, I$5(pt));
|
|
99988
|
-
const E$
|
|
99988
|
+
const E$4 = (bt) => {
|
|
99989
99989
|
const [pt, vt] = reactExports.useState(!1), [_t, $t] = reactExports.useState();
|
|
99990
99990
|
return reactExports.useEffect(() => {
|
|
99991
99991
|
bt.src && $t(p$a(bt.src));
|
|
@@ -100001,7 +100001,7 @@ const E$3 = (bt) => {
|
|
|
100001
100001
|
onClick: () => {
|
|
100002
100002
|
vt(!0);
|
|
100003
100003
|
}
|
|
100004
|
-
}, bt)), /* @__PURE__ */ jsxRuntimeExports.jsx(x$
|
|
100004
|
+
}, bt)), /* @__PURE__ */ jsxRuntimeExports.jsx(x$7, {
|
|
100005
100005
|
image: (bt == null ? void 0 : bt.src) || "",
|
|
100006
100006
|
visible: pt,
|
|
100007
100007
|
onClose: () => {
|
|
@@ -100027,7 +100027,7 @@ const E$3 = (bt) => {
|
|
|
100027
100027
|
console.log(bt), console.warn("图片加载失败");
|
|
100028
100028
|
}
|
|
100029
100029
|
}));
|
|
100030
|
-
}, B$1 = E$
|
|
100030
|
+
}, B$1 = E$4;
|
|
100031
100031
|
function ownKeys$1(bt, pt) {
|
|
100032
100032
|
var vt = Object.keys(bt);
|
|
100033
100033
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -120595,14 +120595,14 @@ const d$7 = (bt) => l$4(void 0, [bt], function* ({
|
|
|
120595
120595
|
})
|
|
120596
120596
|
});
|
|
120597
120597
|
};
|
|
120598
|
-
var x$
|
|
120598
|
+
var x$6 = Object.defineProperty, f$7 = Object.defineProperties, h$7 = Object.getOwnPropertyDescriptors, t$2 = Object.getOwnPropertySymbols, g$6 = Object.prototype.hasOwnProperty, p$9 = Object.prototype.propertyIsEnumerable, w$4 = (bt, pt, vt) => pt in bt ? x$6(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, d$6 = (bt, pt) => {
|
|
120599
120599
|
for (var vt in pt || (pt = {}))
|
|
120600
|
-
g$6.call(pt, vt) && w$
|
|
120600
|
+
g$6.call(pt, vt) && w$4(bt, vt, pt[vt]);
|
|
120601
120601
|
if (t$2)
|
|
120602
120602
|
for (var vt of t$2(pt))
|
|
120603
|
-
p$9.call(pt, vt) && w$
|
|
120603
|
+
p$9.call(pt, vt) && w$4(bt, vt, pt[vt]);
|
|
120604
120604
|
return bt;
|
|
120605
|
-
}, m$4 = (bt, pt) => f$7(bt, h$7(pt)), u$
|
|
120605
|
+
}, m$4 = (bt, pt) => f$7(bt, h$7(pt)), u$8 = (bt, pt) => {
|
|
120606
120606
|
var vt = {};
|
|
120607
120607
|
for (var _t in bt)
|
|
120608
120608
|
g$6.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
@@ -120611,13 +120611,13 @@ var x$5 = Object.defineProperty, f$7 = Object.defineProperties, h$7 = Object.get
|
|
|
120611
120611
|
pt.indexOf(_t) < 0 && p$9.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120612
120612
|
return vt;
|
|
120613
120613
|
};
|
|
120614
|
-
const L$
|
|
120614
|
+
const L$2 = (bt) => {
|
|
120615
120615
|
var pt = bt, {
|
|
120616
120616
|
node: vt,
|
|
120617
120617
|
inline: _t,
|
|
120618
120618
|
className: $t,
|
|
120619
120619
|
children: Rt
|
|
120620
|
-
} = pt, Ft = u$
|
|
120620
|
+
} = pt, Ft = u$8(pt, [
|
|
120621
120621
|
"node",
|
|
120622
120622
|
"inline",
|
|
120623
120623
|
"className",
|
|
@@ -120651,20 +120651,20 @@ const L$1 = (bt) => {
|
|
|
120651
120651
|
}, Ft), {
|
|
120652
120652
|
children: Rt
|
|
120653
120653
|
}));
|
|
120654
|
-
}, y$2 = L$
|
|
120655
|
-
var j$1 = Object.defineProperty, v$
|
|
120654
|
+
}, y$2 = L$2;
|
|
120655
|
+
var j$1 = Object.defineProperty, v$4 = Object.defineProperties, A$4 = Object.getOwnPropertyDescriptors, w$3 = Object.getOwnPropertySymbols, f$6 = Object.prototype.hasOwnProperty, m$3 = Object.prototype.propertyIsEnumerable, d$5 = (bt, pt, vt) => pt in bt ? j$1(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, c$5 = (bt, pt) => {
|
|
120656
120656
|
for (var vt in pt || (pt = {}))
|
|
120657
120657
|
f$6.call(pt, vt) && d$5(bt, vt, pt[vt]);
|
|
120658
|
-
if (w$
|
|
120659
|
-
for (var vt of w$
|
|
120658
|
+
if (w$3)
|
|
120659
|
+
for (var vt of w$3(pt))
|
|
120660
120660
|
m$3.call(pt, vt) && d$5(bt, vt, pt[vt]);
|
|
120661
120661
|
return bt;
|
|
120662
|
-
}, u$
|
|
120662
|
+
}, u$7 = (bt, pt) => v$4(bt, A$4(pt)), x$5 = (bt, pt) => {
|
|
120663
120663
|
var vt = {};
|
|
120664
120664
|
for (var _t in bt)
|
|
120665
120665
|
f$6.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120666
|
-
if (bt != null && w$
|
|
120667
|
-
for (var _t of w$
|
|
120666
|
+
if (bt != null && w$3)
|
|
120667
|
+
for (var _t of w$3(bt))
|
|
120668
120668
|
pt.indexOf(_t) < 0 && m$3.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120669
120669
|
return vt;
|
|
120670
120670
|
};
|
|
@@ -120672,7 +120672,7 @@ const p$8 = (bt) => {
|
|
|
120672
120672
|
var pt, vt;
|
|
120673
120673
|
const _t = bt, {
|
|
120674
120674
|
node: $t
|
|
120675
|
-
} = _t, Rt = x$
|
|
120675
|
+
} = _t, Rt = x$5(_t, [
|
|
120676
120676
|
"node"
|
|
120677
120677
|
]);
|
|
120678
120678
|
if ($t.tagName === "a" && ((pt = $t.children) == null ? void 0 : pt.length) > 0) {
|
|
@@ -120682,7 +120682,7 @@ const p$8 = (bt) => {
|
|
|
120682
120682
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("a", c$5({}, Rt));
|
|
120683
120683
|
const Ht = Bt[0];
|
|
120684
120684
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
120685
|
-
children: [/* @__PURE__ */ jsxRuntimeExports.jsx("a", u$
|
|
120685
|
+
children: [/* @__PURE__ */ jsxRuntimeExports.jsx("a", u$7(c$5({
|
|
120686
120686
|
href: /^www\./.test(Ht) ? "//" + Ht : Ht,
|
|
120687
120687
|
onClick: () => window.open(bt.href, bt.target || "_blank")
|
|
120688
120688
|
}, Rt), {
|
|
@@ -120692,23 +120692,23 @@ const p$8 = (bt) => {
|
|
|
120692
120692
|
}
|
|
120693
120693
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("a", c$5({}, Rt));
|
|
120694
120694
|
}, M$2 = p$8;
|
|
120695
|
-
var c$4 = Object.defineProperty, C$
|
|
120695
|
+
var c$4 = Object.defineProperty, C$1 = Object.defineProperties, T$2 = Object.getOwnPropertyDescriptors, m$2 = Object.getOwnPropertySymbols, u$6 = Object.prototype.hasOwnProperty, h$6 = Object.prototype.propertyIsEnumerable, g$5 = (bt, pt, vt) => pt in bt ? c$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, d$4 = (bt, pt) => {
|
|
120696
120696
|
for (var vt in pt || (pt = {}))
|
|
120697
|
-
u$
|
|
120697
|
+
u$6.call(pt, vt) && g$5(bt, vt, pt[vt]);
|
|
120698
120698
|
if (m$2)
|
|
120699
120699
|
for (var vt of m$2(pt))
|
|
120700
120700
|
h$6.call(pt, vt) && g$5(bt, vt, pt[vt]);
|
|
120701
120701
|
return bt;
|
|
120702
|
-
}, n$3 = (bt, pt) => C$
|
|
120702
|
+
}, n$3 = (bt, pt) => C$1(bt, T$2(pt)), s$2 = (bt, pt) => {
|
|
120703
120703
|
var vt = {};
|
|
120704
120704
|
for (var _t in bt)
|
|
120705
|
-
u$
|
|
120705
|
+
u$6.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120706
120706
|
if (bt != null && m$2)
|
|
120707
120707
|
for (var _t of m$2(bt))
|
|
120708
120708
|
pt.indexOf(_t) < 0 && h$6.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120709
120709
|
return vt;
|
|
120710
120710
|
};
|
|
120711
|
-
function K$
|
|
120711
|
+
function K$3(bt) {
|
|
120712
120712
|
return bt && bt.replace(/<think>/gi, '<div class="think">').replace(/<\/think>/gi, "</div>").replace(/<redacted_reasoning>/gi, '<div class="redacted_reasoning">').replace(/<\/redacted_reasoning>/gi, "</div>");
|
|
120713
120713
|
}
|
|
120714
120714
|
const $$2 = (bt) => {
|
|
@@ -120736,7 +120736,7 @@ const $$2 = (bt) => {
|
|
|
120736
120736
|
a(Gt) {
|
|
120737
120737
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(M$2, d$4(d$4({}, Gt), $t == null ? void 0 : $t.a));
|
|
120738
120738
|
}
|
|
120739
|
-
}, _t), qt = K$
|
|
120739
|
+
}, _t), qt = K$3(Rt), Ht = vt ? c$6(qt) : qt;
|
|
120740
120740
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
120741
120741
|
ref: Pt,
|
|
120742
120742
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Markdown, n$3(d$4({
|
|
@@ -120757,7 +120757,7 @@ const $$2 = (bt) => {
|
|
|
120757
120757
|
try {
|
|
120758
120758
|
if (typeof document != "undefined") {
|
|
120759
120759
|
var bt = document.createElement("style");
|
|
120760
|
-
bt.appendChild(document.createTextNode('.document-viewer{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;gap:8px}.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #f0f0f0;background:#fafafa;border-radius:4px;flex-shrink:0}.document-viewer-toolbar-meta{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.document-viewer-toolbar-name{font-weight:500;color:#1f1f1f;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-viewer-toolbar-size{font-size:12px;color:#666;flex-shrink:0}.document-viewer-body{flex:1;min-height:0;display:flex}.document-viewer-loading{display:flex;justify-content:center;align-items:center;min-height:200px;flex:1}.document-viewer-text,.document-viewer-json,.document-viewer-xml{padding:16px;background:#f5f5f5;border-radius:4px;overflow:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;flex:1;min-height:0}.document-viewer-json{background:#f9f9f9}.document-viewer-xml{background:#fff8e1}.document-viewer-jsonl{padding:16px;overflow:auto;flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.document-viewer-jsonl-item{margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:4px;border-left:3px solid #1890ff;width:100%;box-sizing:border-box;max-width:100%}.document-viewer-jsonl-item:last-child{margin-bottom:0}.document-viewer-jsonl-item pre{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;width:100%;max-width:100%;box-sizing:border-box}.document-viewer-code{border-radius:4px;overflow:auto;max-height:100%;height:100%;display:flex;flex-direction:column;width:100%}.document-viewer-code pre{margin:0!important;padding:16px!important;background:#f5f5f5!important;overflow:visible;width:100%;box-sizing:border-box}.document-viewer-code>div{overflow:auto;max-height:100%;width:100%}.document-viewer-image{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-image .ant-image{max-width:100%;max-height:100%;width:100%;height:100%}.document-viewer-image .ant-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.document-viewer-video{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-video video{max-width:100%;max-height:100%}.document-viewer-audio{padding:16px;display:flex;justify-content:center;align-items:center;min-height:100px;overflow:hidden;flex:1;min-height:0}.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-zip{width:100%;height:100%;min-height:0;position:relative;flex:1;display:flex;flex-direction:column}.document-viewer-zip{display:flex;flex-direction:column;padding:16px;background:#fff;overflow:hidden}.document-viewer-zip .ant-table{font-size:12px}.document-viewer-zip .ant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}.document-viewer-zip .ant-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e6f7ff}.document-viewer-iframe{width:100%;height:100%;min-height:0;border:none;border-radius:4px;flex:1}.document-viewer-docx{overflow:hidden;background:#f5f5f5}.document-viewer-docx-content{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box;background:#f5f5f5}.document-viewer-docx-content>section{margin:0 auto 16px;box-shadow:0 2px 8px #00000014}.document-viewer-fallback{margin-top:16px}.document-viewer-alert-full{width:100%;align-self:flex-start}@media (max-width: 768px){.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-iframe{min-height:0}}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}:root{--rpv-drop__area-background-color: #fff;--rpv-drop__area-body-border-color: rgba(0, 0, 0, .3);--rpv-drop__area-body-color: #000}.rpv-core__viewer--dark{--rpv-drop__area-background-color: #191919;--rpv-drop__area-body-border-color: #fff;--rpv-drop__area-body-color: #fff}.rpv-drop__area{background-color:var(--rpv-drop__area-background-color);inset:0;position:absolute;padding:.5rem;z-index:9999}.rpv-drop__area-body{border:2px dashed var(--rpv-drop__area-body-border-color);color:var(--rpv-drop__area-body-color);font-size:1.5rem;align-items:center;display:flex;justify-content:center;height:100%}.rpv-drop__area-body--rtl{direction:rtl}:root{--rpv-full-screen__overlay-background-color: #fff}.rpv-core__viewer--dark{--rpv-full-screen__overlay-background-color: #1a1a1a}.rpv-full-screen__exit-button{bottom:0;padding:.5rem;position:fixed;z-index:2}.rpv-full-screen__exit-button--ltr{right:0}.rpv-full-screen__exit-button--rtl{left:0}.rpv-full-screen__overlay{position:fixed;top:0;left:0;height:100%;width:100%;align-items:center;display:flex;justify-content:center;background-color:var(--rpv-full-screen__overlay-background-color);z-index:1}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-print__progress-body-background-color: #fff;--rpv-print__progress-body-border-color: rgba(0, 0, 0, .3);--rpv-print__progress-body-color: #000}.rpv-core__viewer--dark{--rpv-print__progress-body-background-color: #363636;--rpv-print__progress-body-border-color: transparent;--rpv-print__progress-body-color: #fff}.rpv-print__permission-body{padding:1rem}.rpv-print__permission-footer{display:flex;justify-content:center;padding:0 1rem 1rem 0}.rpv-print__progress{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:9999}.rpv-print__progress-body{background-color:var(--rpv-print__progress-body-background-color);border:1px solid var(--rpv-print__progress-body-border-color);border-radius:.25rem;color:var(--rpv-print__progress-body-color);padding:1.5rem;text-align:center;width:15rem}.rpv-print__progress-body--rtl{direction:rtl}.rpv-print__progress-bar{margin-bottom:1rem}.rpv-print__progress-message{margin-bottom:.5rem}.rpv-print__zone{display:none}@media print{@page{margin:0}.rpv-print__html-printing{height:100%}.rpv-print__body-printing{height:100%;margin:0}.rpv-print__body-printing *{display:none}.rpv-print__zone{display:block;height:100%}.rpv-print__page{align-items:center;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rpv-print__page img{display:block;max-height:100%;max-width:100%}}.rpv-properties__loader{text-align:center}.rpv-properties__modal{min-height:20rem;padding:.5rem 0}.rpv-properties__modal-section{padding:0 .5rem}.rpv-properties__modal-footer{display:flex;justify-content:center;margin-top:.5rem}.rpv-properties__item{align-items:flex-start;display:flex;margin:.5rem 0}.rpv-properties__item--rtl{direction:rtl}.rpv-properties__item-label{padding-right:.5rem;width:25%}.rpv-properties__item-value{flex:1}.rpv-search__highlights{left:0;position:absolute;top:0;height:100%;width:100%}.rpv-search__highlight{background-color:var(--rpv-search__highlight-background-color);border-radius:.25rem;position:absolute;z-index:1}.rpv-search__highlight--current{background-color:var(--rpv-search__highlight--current-background-color)}.rpv-search__popover{padding:0 .5rem}.rpv-search__popover-input-counter{align-items:center;display:flex;margin-bottom:.5rem;position:relative;width:12rem}.rpv-search__popover-counter{align-items:center;bottom:0;display:flex;position:absolute;top:0}.rpv-search__popover-counter--ltr{padding-right:.25rem;right:0}.rpv-search__popover-counter--rtl{left:0;padding-left:.25rem}.rpv-search__popover-label{align-items:center;cursor:pointer;display:flex;margin-bottom:.5rem}.rpv-search__popover-label-checkbox{cursor:pointer;margin-right:.25rem}.rpv-search__popover-footer{align-items:center;display:flex}.rpv-search__popover-footer-item{padding:0 .25rem}.rpv-search__popover-footer-button--ltr{margin-left:auto}.rpv-search__popover-footer-button--rtl{margin-right:auto}:root{--rpv-search__highlight-background-color: rgba(255, 255, 0, .4);--rpv-search__highlight--current-background-color: rgba(0, 128, 0, .4)}.rpv-selection-mode__grab{cursor:grab}.rpv-selection-mode__grab :not(input),.rpv-selection-mode__grab :not(select),.rpv-selection-mode__grab :not(textarea){cursor:grab!important}.rpv-selection-mode__grabbing{cursor:grabbing}.rpv-selection-mode__grabbing :not(input),.rpv-selection-mode__grabbing :not(select),.rpv-selection-mode__grabbing :not(textarea){cursor:grabbing!important}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}:root{--rpv-toolbar__label--color: #000}.rpv-core__viewer--dark{--rpv-toolbar__label--color: #fff}.rpv-toolbar{align-items:center;display:flex;width:100%}.rpv-toolbar--rtl{direction:rtl}.rpv-toolbar__left{align-items:center;display:flex}.rpv-toolbar__center{align-items:center;display:flex;flex-grow:1;flex-shrink:1;justify-content:center}.rpv-toolbar__right{align-items:center;display:flex;margin-left:auto}.rpv-toolbar__item{align-items:center;display:flex;padding:0 .125rem}.rpv-toolbar__label{color:var(--rpv-toolbar__label--color)}.rpv-open__input-wrapper{position:relative}.rpv-open__input{display:none;cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.rpv-open__input::-webkit-file-upload-button{width:0}.pdf-viewer{width:100%;height:100%;overflow-y:auto}')), document.head.appendChild(bt);
|
|
120760
|
+
bt.appendChild(document.createTextNode('.document-viewer{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;gap:8px}.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #f0f0f0;background:#fafafa;border-radius:4px;flex-shrink:0}.document-viewer-toolbar-meta{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.document-viewer-toolbar-name{font-weight:500;color:#1f1f1f;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-viewer-toolbar-size{font-size:12px;color:#666;flex-shrink:0}.document-viewer-body{flex:1;min-height:0;display:flex}.document-viewer-loading{display:flex;justify-content:center;align-items:center;min-height:200px;flex:1}.document-viewer-text,.document-viewer-json,.document-viewer-xml{padding:16px;background:#f5f5f5;border-radius:4px;overflow:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;flex:1;min-height:0}.document-viewer-json{background:#f9f9f9}.document-viewer-xml{background:#fff8e1}.document-viewer-jsonl{padding:16px;overflow:auto;flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.document-viewer-jsonl-item{margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:4px;border-left:3px solid #1890ff;width:100%;box-sizing:border-box;max-width:100%}.document-viewer-jsonl-item:last-child{margin-bottom:0}.document-viewer-jsonl-item pre{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;width:100%;max-width:100%;box-sizing:border-box}.document-viewer-code{border-radius:4px;overflow:auto;max-height:100%;height:100%;display:flex;flex-direction:column;width:100%}.document-viewer-code pre{margin:0!important;padding:16px!important;background:#f5f5f5!important;overflow:visible;width:100%;box-sizing:border-box}.document-viewer-code>div{overflow:auto;max-height:100%;width:100%}.document-viewer-image{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-image .ant-image{max-width:100%;max-height:100%;width:100%;height:100%}.document-viewer-image .ant-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.document-viewer-video{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-video video{max-width:100%;max-height:100%}.document-viewer-audio{padding:16px;display:flex;justify-content:center;align-items:center;min-height:100px;overflow:hidden;flex:1;min-height:0}.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-zip{width:100%;height:100%;min-height:0;position:relative;flex:1;display:flex;flex-direction:column}.document-viewer-zip{display:flex;flex-direction:column;padding:16px;background:#fff;overflow:hidden}.document-viewer-zip .ant-table{font-size:12px}.document-viewer-zip .ant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}.document-viewer-zip .ant-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e6f7ff}.document-viewer-iframe{width:100%;height:100%;min-height:0;border:none;border-radius:4px;flex:1}.document-viewer-docx{overflow:hidden;background:#f5f5f5}.document-viewer-docx-content{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box;background:#f5f5f5}.document-viewer-docx-content>section{margin:0 auto 16px;box-shadow:0 2px 8px #00000014}.document-viewer-fallback{margin-top:16px}.document-viewer-alert-full{width:100%;align-self:flex-start}@media (max-width: 768px){.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-iframe{min-height:0}}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}:root{--rpv-drop__area-background-color: #fff;--rpv-drop__area-body-border-color: rgba(0, 0, 0, .3);--rpv-drop__area-body-color: #000}.rpv-core__viewer--dark{--rpv-drop__area-background-color: #191919;--rpv-drop__area-body-border-color: #fff;--rpv-drop__area-body-color: #fff}.rpv-drop__area{background-color:var(--rpv-drop__area-background-color);inset:0;position:absolute;padding:.5rem;z-index:9999}.rpv-drop__area-body{border:2px dashed var(--rpv-drop__area-body-border-color);color:var(--rpv-drop__area-body-color);font-size:1.5rem;align-items:center;display:flex;justify-content:center;height:100%}.rpv-drop__area-body--rtl{direction:rtl}:root{--rpv-full-screen__overlay-background-color: #fff}.rpv-core__viewer--dark{--rpv-full-screen__overlay-background-color: #1a1a1a}.rpv-full-screen__exit-button{bottom:0;padding:.5rem;position:fixed;z-index:2}.rpv-full-screen__exit-button--ltr{right:0}.rpv-full-screen__exit-button--rtl{left:0}.rpv-full-screen__overlay{position:fixed;top:0;left:0;height:100%;width:100%;align-items:center;display:flex;justify-content:center;background-color:var(--rpv-full-screen__overlay-background-color);z-index:1}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-print__progress-body-background-color: #fff;--rpv-print__progress-body-border-color: rgba(0, 0, 0, .3);--rpv-print__progress-body-color: #000}.rpv-core__viewer--dark{--rpv-print__progress-body-background-color: #363636;--rpv-print__progress-body-border-color: transparent;--rpv-print__progress-body-color: #fff}.rpv-print__permission-body{padding:1rem}.rpv-print__permission-footer{display:flex;justify-content:center;padding:0 1rem 1rem 0}.rpv-print__progress{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:9999}.rpv-print__progress-body{background-color:var(--rpv-print__progress-body-background-color);border:1px solid var(--rpv-print__progress-body-border-color);border-radius:.25rem;color:var(--rpv-print__progress-body-color);padding:1.5rem;text-align:center;width:15rem}.rpv-print__progress-body--rtl{direction:rtl}.rpv-print__progress-bar{margin-bottom:1rem}.rpv-print__progress-message{margin-bottom:.5rem}.rpv-print__zone{display:none}@media print{@page{margin:0}.rpv-print__html-printing{height:100%}.rpv-print__body-printing{height:100%;margin:0}.rpv-print__body-printing *{display:none}.rpv-print__zone{display:block;height:100%}.rpv-print__page{align-items:center;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rpv-print__page img{display:block;max-height:100%;max-width:100%}}.rpv-properties__loader{text-align:center}.rpv-properties__modal{min-height:20rem;padding:.5rem 0}.rpv-properties__modal-section{padding:0 .5rem}.rpv-properties__modal-footer{display:flex;justify-content:center;margin-top:.5rem}.rpv-properties__item{align-items:flex-start;display:flex;margin:.5rem 0}.rpv-properties__item--rtl{direction:rtl}.rpv-properties__item-label{padding-right:.5rem;width:25%}.rpv-properties__item-value{flex:1}.rpv-search__highlights{left:0;position:absolute;top:0;height:100%;width:100%}.rpv-search__highlight{background-color:var(--rpv-search__highlight-background-color);border-radius:.25rem;position:absolute;z-index:1}.rpv-search__highlight--current{background-color:var(--rpv-search__highlight--current-background-color)}.rpv-search__popover{padding:0 .5rem}.rpv-search__popover-input-counter{align-items:center;display:flex;margin-bottom:.5rem;position:relative;width:12rem}.rpv-search__popover-counter{align-items:center;bottom:0;display:flex;position:absolute;top:0}.rpv-search__popover-counter--ltr{padding-right:.25rem;right:0}.rpv-search__popover-counter--rtl{left:0;padding-left:.25rem}.rpv-search__popover-label{align-items:center;cursor:pointer;display:flex;margin-bottom:.5rem}.rpv-search__popover-label-checkbox{cursor:pointer;margin-right:.25rem}.rpv-search__popover-footer{align-items:center;display:flex}.rpv-search__popover-footer-item{padding:0 .25rem}.rpv-search__popover-footer-button--ltr{margin-left:auto}.rpv-search__popover-footer-button--rtl{margin-right:auto}:root{--rpv-search__highlight-background-color: rgba(255, 255, 0, .4);--rpv-search__highlight--current-background-color: rgba(0, 128, 0, .4)}.rpv-selection-mode__grab{cursor:grab}.rpv-selection-mode__grab :not(input),.rpv-selection-mode__grab :not(select),.rpv-selection-mode__grab :not(textarea){cursor:grab!important}.rpv-selection-mode__grabbing{cursor:grabbing}.rpv-selection-mode__grabbing :not(input),.rpv-selection-mode__grabbing :not(select),.rpv-selection-mode__grabbing :not(textarea){cursor:grabbing!important}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}:root{--rpv-toolbar__label--color: #000}.rpv-core__viewer--dark{--rpv-toolbar__label--color: #fff}.rpv-toolbar{align-items:center;display:flex;width:100%}.rpv-toolbar--rtl{direction:rtl}.rpv-toolbar__left{align-items:center;display:flex}.rpv-toolbar__center{align-items:center;display:flex;flex-grow:1;flex-shrink:1;justify-content:center}.rpv-toolbar__right{align-items:center;display:flex;margin-left:auto}.rpv-toolbar__item{align-items:center;display:flex;padding:0 .125rem}.rpv-toolbar__label{color:var(--rpv-toolbar__label--color)}.rpv-open__input-wrapper{position:relative}.rpv-open__input{display:none;cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.rpv-open__input::-webkit-file-upload-button{width:0}.pdf-viewer{width:100%;height:100%;overflow-y:auto}')), document.head.appendChild(bt);
|
|
120761
120761
|
}
|
|
120762
120762
|
} catch (pt) {
|
|
120763
120763
|
console.error("vite-plugin-css-injected-by-js", pt);
|
|
@@ -120789,17 +120789,17 @@ const o$2 = class Dm {
|
|
|
120789
120789
|
};
|
|
120790
120790
|
r$2(o$2, "debug", !1);
|
|
120791
120791
|
let t$1 = o$2;
|
|
120792
|
-
var
|
|
120792
|
+
var u$5 = Object.defineProperty, f$4 = Object.defineProperties, v$3 = Object.getOwnPropertyDescriptors, n$1 = Object.getOwnPropertySymbols, p$7 = Object.prototype.hasOwnProperty, h$5 = Object.prototype.propertyIsEnumerable, g$4 = (bt, pt, vt) => pt in bt ? u$5(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, c$3 = (bt, pt) => {
|
|
120793
120793
|
for (var vt in pt || (pt = {}))
|
|
120794
120794
|
p$7.call(pt, vt) && g$4(bt, vt, pt[vt]);
|
|
120795
120795
|
if (n$1)
|
|
120796
120796
|
for (var vt of n$1(pt))
|
|
120797
120797
|
h$5.call(pt, vt) && g$4(bt, vt, pt[vt]);
|
|
120798
120798
|
return bt;
|
|
120799
|
-
}, l$3 = (bt, pt) =>
|
|
120799
|
+
}, l$3 = (bt, pt) => f$4(bt, v$3(pt));
|
|
120800
120800
|
const R$5 = new t$1("[Config] ");
|
|
120801
|
-
var
|
|
120802
|
-
let
|
|
120801
|
+
var s$1 = /* @__PURE__ */ ((bt) => (bt.dev = "https://aiot-dev.glodon.com/api/cvforcepd", bt.test = "https://aiot-dev.glodon.com/api/cvforce", bt.prod = "https://copilot.glodon.com/api/cvforce", bt.local = "http://localhost:3000/api/cvforcepd", bt))(s$1 || {});
|
|
120802
|
+
let i$3 = {
|
|
120803
120803
|
debug: !1,
|
|
120804
120804
|
env: "prod",
|
|
120805
120805
|
//AIoT 环境, 与apiRoot配对使用
|
|
@@ -120811,10 +120811,13 @@ let c$3 = {
|
|
|
120811
120811
|
loadRelatedQuesions: !0,
|
|
120812
120812
|
stream: !1
|
|
120813
120813
|
};
|
|
120814
|
-
function
|
|
120815
|
-
|
|
120816
|
-
|
|
120817
|
-
|
|
120814
|
+
function x$4(bt) {
|
|
120815
|
+
var pt, vt;
|
|
120816
|
+
t$1.debug = (bt == null ? void 0 : bt.debug) || !1, i$3 = l$3(c$3(c$3({}, i$3), bt), {
|
|
120817
|
+
apiRoot: (bt == null ? void 0 : bt.apiRoot) || i$3.apiRoot || (bt != null && bt.env ? s$1[bt.env || "prod"] : i$3.apiRoot),
|
|
120818
|
+
// 应用未注册插件时 param.plugins 为 undefined,避免覆盖默认空表
|
|
120819
|
+
plugins: (vt = (pt = bt == null ? void 0 : bt.plugins) != null ? pt : i$3.plugins) != null ? vt : {}
|
|
120820
|
+
}), t$1.debug && R$5.log("updated", i$3);
|
|
120818
120821
|
}
|
|
120819
120822
|
const _hasBuffer = typeof Buffer == "function", _TD = typeof TextDecoder == "function" ? new TextDecoder() : void 0;
|
|
120820
120823
|
typeof TextEncoder == "function" && new TextEncoder();
|
|
@@ -120843,9 +120846,9 @@ const b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
|
120843
120846
|
const pt = c$2(bt).exp;
|
|
120844
120847
|
return (/* @__PURE__ */ new Date()).valueOf() / 1e3 >= pt;
|
|
120845
120848
|
}, a$3 = (bt) => bt == null ? void 0 : bt.replace(/[\r\n]+/gm, ""), p$6 = (bt) => bt.replace(/\\|\\/g, "");
|
|
120846
|
-
var d$3 = Object.defineProperty, h$4 = Object.defineProperties, x$3 = Object.getOwnPropertyDescriptors, c$1 = Object.getOwnPropertySymbols, E$
|
|
120849
|
+
var d$3 = Object.defineProperty, h$4 = Object.defineProperties, x$3 = Object.getOwnPropertyDescriptors, c$1 = Object.getOwnPropertySymbols, E$3 = Object.prototype.hasOwnProperty, I$4 = Object.prototype.propertyIsEnumerable, a$2 = (bt, pt, vt) => pt in bt ? d$3(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$3 = (bt, pt) => {
|
|
120847
120850
|
for (var vt in pt || (pt = {}))
|
|
120848
|
-
E$
|
|
120851
|
+
E$3.call(pt, vt) && a$2(bt, vt, pt[vt]);
|
|
120849
120852
|
if (c$1)
|
|
120850
120853
|
for (var vt of c$1(pt))
|
|
120851
120854
|
I$4.call(pt, vt) && a$2(bt, vt, pt[vt]);
|
|
@@ -123188,12 +123191,12 @@ Object.assign(lookup, {
|
|
|
123188
123191
|
io: lookup,
|
|
123189
123192
|
connect: lookup
|
|
123190
123193
|
});
|
|
123191
|
-
var r$1 = /* @__PURE__ */ ((bt) => (bt[bt.Normal = 0] = "Normal", bt[bt.Debug = 1] = "Debug", bt))(r$1 || {}), u$
|
|
123194
|
+
var r$1 = /* @__PURE__ */ ((bt) => (bt[bt.Normal = 0] = "Normal", bt[bt.Debug = 1] = "Debug", bt))(r$1 || {}), u$4 = Object.defineProperty, v$2 = Object.getOwnPropertySymbols, o$1 = Object.prototype.hasOwnProperty, L$1 = Object.prototype.propertyIsEnumerable, l$2 = (bt, pt, vt) => pt in bt ? u$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, a$1 = (bt, pt) => {
|
|
123192
123195
|
for (var vt in pt || (pt = {}))
|
|
123193
123196
|
o$1.call(pt, vt) && l$2(bt, vt, pt[vt]);
|
|
123194
|
-
if (v$
|
|
123195
|
-
for (var vt of v$
|
|
123196
|
-
L.call(pt, vt) && l$2(bt, vt, pt[vt]);
|
|
123197
|
+
if (v$2)
|
|
123198
|
+
for (var vt of v$2(pt))
|
|
123199
|
+
L$1.call(pt, vt) && l$2(bt, vt, pt[vt]);
|
|
123197
123200
|
return bt;
|
|
123198
123201
|
}, h$3 = (bt, pt, vt) => (l$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt);
|
|
123199
123202
|
const i$1 = new t$1("[EventBus] ");
|
|
@@ -123241,11 +123244,11 @@ let $$1 = class {
|
|
|
123241
123244
|
this.eventListenerMap = {};
|
|
123242
123245
|
}
|
|
123243
123246
|
};
|
|
123244
|
-
var Q = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOwnPropertyDescriptors, E$
|
|
123247
|
+
var Q = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOwnPropertyDescriptors, E$2 = Object.getOwnPropertySymbols, O = Object.prototype.hasOwnProperty, R$4 = Object.prototype.propertyIsEnumerable, b$5 = (bt, pt, vt) => pt in bt ? Q(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$2 = (bt, pt) => {
|
|
123245
123248
|
for (var vt in pt || (pt = {}))
|
|
123246
123249
|
O.call(pt, vt) && b$5(bt, vt, pt[vt]);
|
|
123247
|
-
if (E$
|
|
123248
|
-
for (var vt of E$
|
|
123250
|
+
if (E$2)
|
|
123251
|
+
for (var vt of E$2(pt))
|
|
123249
123252
|
R$4.call(pt, vt) && b$5(bt, vt, pt[vt]);
|
|
123250
123253
|
return bt;
|
|
123251
123254
|
}, I$3 = (bt, pt) => T$1(bt, M$1(pt)), p$4 = (bt, pt, vt) => (b$5(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), h$2 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -123264,8 +123267,8 @@ var Q = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOw
|
|
|
123264
123267
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
123265
123268
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
123266
123269
|
});
|
|
123267
|
-
const C
|
|
123268
|
-
var K$
|
|
123270
|
+
const C = 100, u$3 = new t$1("[Session] ");
|
|
123271
|
+
var K$2 = /* @__PURE__ */ ((bt) => (bt.DataRequestFailed = "data request error", bt.SocketConnectionFailed = "socket error", bt.IdUndefined = "session id is not defined", bt.SendingEmptyContent = "failed at sending empty content", bt.Frozen = "session is frozen", bt.UserModeError = "failed at setting socket user mode", bt.Inactive = "session is inactive", bt))(K$2 || {});
|
|
123269
123272
|
class ee {
|
|
123270
123273
|
/**
|
|
123271
123274
|
* Session 类的构造函数,用于初始化会话实例。
|
|
@@ -123277,7 +123280,7 @@ class ee {
|
|
|
123277
123280
|
* @param client - Bot 客户端实例,可选参数。
|
|
123278
123281
|
*/
|
|
123279
123282
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
123280
|
-
p$4(this, "_id"), p$4(this, "_frozen", !1), p$4(this, "inactivating", !1), p$4(this, "_ready", !1), p$4(this, "event", new $$1()), p$4(this, "_applicationId"), p$4(this, "_application", null), p$4(this, "data", null), p$4(this, "client", null), p$4(this, "messages", []), p$4(this, "_loadingMessages", !1), p$4(this, "_loadingMessagesSize", 10), p$4(this, "cvforceApi"), p$4(this, "socket", null), p$4(this, "_promptVariables", []), p$4(this, "active", !1), p$4(this, "activing", !1), p$4(this, "_stopAnswer", !1), p$4(this, "_dataLoading", !1), p$4(this, "_dataLoaded", !1), p$4(this, "_mcpServers", null), this.token = pt, this.lazyload = $t, this.client = Ft || null, this._applicationId = c$2(pt).rid ||
|
|
123283
|
+
p$4(this, "_id"), p$4(this, "_frozen", !1), p$4(this, "inactivating", !1), p$4(this, "_ready", !1), p$4(this, "event", new $$1()), p$4(this, "_applicationId"), p$4(this, "_application", null), p$4(this, "data", null), p$4(this, "client", null), p$4(this, "messages", []), p$4(this, "_loadingMessages", !1), p$4(this, "_loadingMessagesSize", 10), p$4(this, "cvforceApi"), p$4(this, "socket", null), p$4(this, "_promptVariables", []), p$4(this, "active", !1), p$4(this, "activing", !1), p$4(this, "_stopAnswer", !1), p$4(this, "_dataLoading", !1), p$4(this, "_dataLoaded", !1), p$4(this, "_mcpServers", null), this.token = pt, this.lazyload = $t, this.client = Ft || null, this._applicationId = c$2(pt).rid || i$3.applicationId, this.cvforceApi = this.getService(), Rt && (this._application = Rt), this.event.emit("init", {
|
|
123281
123284
|
applicationId: this._applicationId,
|
|
123282
123285
|
sessionId: vt
|
|
123283
123286
|
}), this.loadApplicationInfo().then(() => {
|
|
@@ -123314,7 +123317,7 @@ class ee {
|
|
|
123314
123317
|
return this.setKnowledges((_t == null ? void 0 : _t.knowledges) || void 0);
|
|
123315
123318
|
}))();
|
|
123316
123319
|
} catch (Gt) {
|
|
123317
|
-
u$
|
|
123320
|
+
u$3.error(Gt);
|
|
123318
123321
|
}
|
|
123319
123322
|
yield (() => {
|
|
123320
123323
|
if (_t != null && _t.promptVariables) {
|
|
@@ -123386,8 +123389,8 @@ class ee {
|
|
|
123386
123389
|
var $t, Rt;
|
|
123387
123390
|
const Ft = (Rt = ($t = _t.fileIds) == null ? void 0 : $t.length) != null ? Rt : 0;
|
|
123388
123391
|
return vt + (Ft > 0 ? Ft : 1);
|
|
123389
|
-
}, 0) > C
|
|
123390
|
-
throw Error(`knowledges and fileIds total count cannot exceed ${C
|
|
123392
|
+
}, 0) > C)
|
|
123393
|
+
throw Error(`knowledges and fileIds total count cannot exceed ${C}`);
|
|
123391
123394
|
return yield this.cvforceApi.patchSessionsId(this._applicationId, this.data.id, {
|
|
123392
123395
|
knowledges: pt
|
|
123393
123396
|
}), this.data.knowledges = pt, this.event.emit("data:updated", this.data), this.event.emit("data:updated:knowledges", {
|
|
@@ -123400,7 +123403,7 @@ class ee {
|
|
|
123400
123403
|
throw Error("session id is not defined");
|
|
123401
123404
|
if (!this.data)
|
|
123402
123405
|
throw Error("session data is not loaded");
|
|
123403
|
-
const pt = this.promptVariables.filter((vt) => vt.status === L$
|
|
123406
|
+
const pt = this.promptVariables.filter((vt) => vt.status === L$3.Quoted).filter((vt) => !vt.value);
|
|
123404
123407
|
if (pt.length)
|
|
123405
123408
|
throw Error(`在提示词中被引用的变量值不能为空, 请检查以下变量: ${pt.map((vt) => vt.key).join(", ")}`);
|
|
123406
123409
|
}
|
|
@@ -123447,7 +123450,7 @@ class ee {
|
|
|
123447
123450
|
setNetOpen(pt) {
|
|
123448
123451
|
return h$2(this, null, function* () {
|
|
123449
123452
|
var vt, _t, $t;
|
|
123450
|
-
if (u$
|
|
123453
|
+
if (u$3.log("setNetOpen:", pt), u$3.log("application arrange setting value: ", (vt = this._application) == null ? void 0 : vt.arrange[0].enableNetOpen), ((_t = this._application) == null ? void 0 : _t.type) === i$7.Agent) {
|
|
123451
123454
|
console.warn("Agent Application Sessions are disabled to setNetOpen.");
|
|
123452
123455
|
return;
|
|
123453
123456
|
}
|
|
@@ -123460,20 +123463,20 @@ class ee {
|
|
|
123460
123463
|
return yield this.cvforceApi.patchSessionsId(this._applicationId, this.data.id, {
|
|
123461
123464
|
netOpen: pt ? 1 : 2
|
|
123462
123465
|
/* disable */
|
|
123463
|
-
}), this.data.netOpen = pt, u$
|
|
123466
|
+
}), this.data.netOpen = pt, u$3.log("data:updated", this.data), this.event.emit("data:updated", this.data), this.event.emit("data:updated:netOpen", {
|
|
123464
123467
|
netOpen: pt
|
|
123465
123468
|
}), pt;
|
|
123466
123469
|
});
|
|
123467
123470
|
}
|
|
123468
123471
|
getService() {
|
|
123469
|
-
return z(
|
|
123472
|
+
return z(i$3.apiRoot, this.token, (pt, vt) => {
|
|
123470
123473
|
const _t = new Error("data request error", {
|
|
123471
123474
|
cause: {
|
|
123472
123475
|
status: pt,
|
|
123473
123476
|
message: vt
|
|
123474
123477
|
}
|
|
123475
123478
|
});
|
|
123476
|
-
u$
|
|
123479
|
+
u$3.error(_t), this.event.emit("error", _t);
|
|
123477
123480
|
});
|
|
123478
123481
|
}
|
|
123479
123482
|
addEventListener(pt, vt, _t = !1) {
|
|
@@ -123500,7 +123503,7 @@ class ee {
|
|
|
123500
123503
|
pageSize: this._loadingMessagesSize
|
|
123501
123504
|
};
|
|
123502
123505
|
if (this._id) {
|
|
123503
|
-
pt = f$2(f$2({}, $t), pt), this.event.emit("history:loading"), u$
|
|
123506
|
+
pt = f$2(f$2({}, $t), pt), this.event.emit("history:loading"), u$3.log("history:loading"), (pt.endTime || pt.startTime) && (this.event.emit("history:moreloading", pt), u$3.log("history:moreloading", pt)), this._loadingMessages = !0;
|
|
123504
123507
|
const Rt = yield this.cvforceApi.getChatHistorySessionId(this._applicationId, this._id, pt), Ft = Rt.map((Bt, qt) => {
|
|
123505
123508
|
var Ht, Gt;
|
|
123506
123509
|
let Zt = [], Jt;
|
|
@@ -123524,7 +123527,7 @@ class ee {
|
|
|
123524
123527
|
this.messages.splice(Bt, qt - Bt + 1, ...Ft);
|
|
123525
123528
|
}
|
|
123526
123529
|
const Pt = this.messages[this.messages.length - 1];
|
|
123527
|
-
return Pt && !Pt.relatedQuesion && (Pt.relatedQuesion = (_t = this.data) == null ? void 0 : _t.lastRelatedQuestion), this.event.emit("history:moreloaded", Ft), u$
|
|
123530
|
+
return Pt && !Pt.relatedQuesion && (Pt.relatedQuesion = (_t = this.data) == null ? void 0 : _t.lastRelatedQuestion), this.event.emit("history:moreloaded", Ft), u$3.log("history:loaded", this.messages), this.event.emit("history:loaded", this.messages), this._loadingMessages = !1, Ft;
|
|
123528
123531
|
} else {
|
|
123529
123532
|
const Rt = new Error(
|
|
123530
123533
|
"session id is not defined"
|
|
@@ -123533,7 +123536,7 @@ class ee {
|
|
|
123533
123536
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
123534
123537
|
// }
|
|
123535
123538
|
);
|
|
123536
|
-
return u$
|
|
123539
|
+
return u$3.error(Rt), this.event.emit("error", Rt), !1;
|
|
123537
123540
|
}
|
|
123538
123541
|
});
|
|
123539
123542
|
}
|
|
@@ -123545,14 +123548,14 @@ class ee {
|
|
|
123545
123548
|
throw Error("name is empty");
|
|
123546
123549
|
return this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123547
123550
|
name: pt
|
|
123548
|
-
}), u$
|
|
123551
|
+
}), u$3.log("data:updated", this.messages), this.event.emit("data:updated", this.data), this.event.emit("data:updated:name", {
|
|
123549
123552
|
name: pt
|
|
123550
123553
|
}), !0;
|
|
123551
123554
|
});
|
|
123552
123555
|
}
|
|
123553
123556
|
pushMessage(pt) {
|
|
123554
123557
|
return h$2(this, null, function* () {
|
|
123555
|
-
this.messages.push(pt), u$
|
|
123558
|
+
this.messages.push(pt), u$3.log("history:add", pt), this.event.emit("history:add", pt), this.event.emit("message:new", pt), this.event.emit("message:updated", pt);
|
|
123556
123559
|
});
|
|
123557
123560
|
}
|
|
123558
123561
|
reloadSessionInfo() {
|
|
@@ -123561,7 +123564,7 @@ class ee {
|
|
|
123561
123564
|
return this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, this._id).then((pt) => h$2(this, null, function* () {
|
|
123562
123565
|
if (this.data = pt, !this._id)
|
|
123563
123566
|
throw Error("session is not created yet");
|
|
123564
|
-
return this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id), u$
|
|
123567
|
+
return this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id), u$3.log("data:updated", this.data), this.event.emit("data:updated", this.data), this.data;
|
|
123565
123568
|
})).then(() => h$2(this, null, function* () {
|
|
123566
123569
|
return this.messages = [], yield this.fetchMessages(), this._dataLoading = !1, this._dataLoaded = !0, this.event.emit("data:loaded", this.data), this;
|
|
123567
123570
|
}));
|
|
@@ -123581,7 +123584,7 @@ class ee {
|
|
|
123581
123584
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
123582
123585
|
// }
|
|
123583
123586
|
);
|
|
123584
|
-
return u$
|
|
123587
|
+
return u$3.error(pt), this.event.emit("error", pt), !1;
|
|
123585
123588
|
}
|
|
123586
123589
|
return this.event.emit("data:deleting"), yield this.cvforceApi.delSessionsId(this.applicationId, this.id), this.event.emit("data:deleted"), this.destroy();
|
|
123587
123590
|
});
|
|
@@ -123616,7 +123619,7 @@ class ee {
|
|
|
123616
123619
|
}
|
|
123617
123620
|
send(pt) {
|
|
123618
123621
|
return h$2(this, arguments, function* (vt, _t = {
|
|
123619
|
-
stream:
|
|
123622
|
+
stream: i$3.stream
|
|
123620
123623
|
}) {
|
|
123621
123624
|
var $t;
|
|
123622
123625
|
try {
|
|
@@ -123625,7 +123628,7 @@ class ee {
|
|
|
123625
123628
|
console.error(rr);
|
|
123626
123629
|
}
|
|
123627
123630
|
const {
|
|
123628
|
-
stream: Rt =
|
|
123631
|
+
stream: Rt = i$3.stream,
|
|
123629
123632
|
referenceFirst: Ft = !1
|
|
123630
123633
|
} = _t, Pt = vt.uuid || v4$1(), Bt = (($t = vt.text) == null ? void 0 : $t.trim()) || "", qt = vt.files || [], Ht = vt.fileIds, Gt = vt.imageContent;
|
|
123631
123634
|
if (!Bt && !qt.length && !(Ht != null && Ht.length)) {
|
|
@@ -123636,7 +123639,7 @@ class ee {
|
|
|
123636
123639
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.SendingEmptyContent],
|
|
123637
123640
|
// }
|
|
123638
123641
|
);
|
|
123639
|
-
return u$
|
|
123642
|
+
return u$3.error(rr), this.event.emit("error", rr), !1;
|
|
123640
123643
|
}
|
|
123641
123644
|
if (!this._id) {
|
|
123642
123645
|
const rr = new Error(
|
|
@@ -123646,7 +123649,7 @@ class ee {
|
|
|
123646
123649
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
123647
123650
|
// }
|
|
123648
123651
|
);
|
|
123649
|
-
return u$
|
|
123652
|
+
return u$3.error(rr), this.event.emit("error", rr), !1;
|
|
123650
123653
|
}
|
|
123651
123654
|
if (this.frozen) {
|
|
123652
123655
|
const rr = new Error(
|
|
@@ -123656,7 +123659,7 @@ class ee {
|
|
|
123656
123659
|
// cause: { code: -1, message: 'session is frozen.' },
|
|
123657
123660
|
// }
|
|
123658
123661
|
);
|
|
123659
|
-
return u$
|
|
123662
|
+
return u$3.error(rr), this.event.emit("error", rr), !1;
|
|
123660
123663
|
}
|
|
123661
123664
|
this.frozen = !0, this._stopAnswer = !1;
|
|
123662
123665
|
const Zt = {
|
|
@@ -123679,7 +123682,7 @@ class ee {
|
|
|
123679
123682
|
};
|
|
123680
123683
|
this.pushMessage(Zt), this.event.emit("question:content", Bt);
|
|
123681
123684
|
const Kt = (rr) => h$2(this, null, function* () {
|
|
123682
|
-
if (rr.role !== v$
|
|
123685
|
+
if (rr.role !== v$5.Robot)
|
|
123683
123686
|
return;
|
|
123684
123687
|
switch (this.removeEventListener("answer:finish", Kt), this._id && rr.content && rr.index && rr.index < 0 && (this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123685
123688
|
finialMessage: rr.content
|
|
@@ -123700,7 +123703,7 @@ class ee {
|
|
|
123700
123703
|
}
|
|
123701
123704
|
this.getRelatedQuesion(rr), rr.isLoading = !1;
|
|
123702
123705
|
let ir = this.messages[this.messages.length - 1];
|
|
123703
|
-
if (ir && ir.role === v$
|
|
123706
|
+
if (ir && ir.role === v$5.Robot) {
|
|
123704
123707
|
const sr = f$2(f$2({}, ir), rr);
|
|
123705
123708
|
this.messages[this.messages.length - 1] = sr, this.event.emit("message:updated", sr);
|
|
123706
123709
|
} else
|
|
@@ -123757,17 +123760,17 @@ class ee {
|
|
|
123757
123760
|
}
|
|
123758
123761
|
answerAgain() {
|
|
123759
123762
|
return h$2(this, arguments, function* (pt = {
|
|
123760
|
-
stream:
|
|
123763
|
+
stream: i$3.stream
|
|
123761
123764
|
}) {
|
|
123762
123765
|
const vt = this.messages[this.messages.length - 1];
|
|
123763
123766
|
if (!vt)
|
|
123764
123767
|
throw Error("message list is empty");
|
|
123765
123768
|
this.frozen = !0, this._stopAnswer = !1;
|
|
123766
123769
|
const {
|
|
123767
|
-
stream: _t =
|
|
123770
|
+
stream: _t = i$3.stream
|
|
123768
123771
|
} = pt;
|
|
123769
123772
|
let $t;
|
|
123770
|
-
vt.role !== v$
|
|
123773
|
+
vt.role !== v$5.User && ($t = pt.oldMessageId || vt.messageId, this.messages.splice(this.messages.length - 1, 1), this.event.emit("message:remove", vt), this.event.emit("history:remove", vt));
|
|
123771
123774
|
const Rt = this.messages[this.messages.length - 1], Ft = {
|
|
123772
123775
|
content: Rt.content,
|
|
123773
123776
|
fileIds: Rt.fileIds,
|
|
@@ -123775,7 +123778,7 @@ class ee {
|
|
|
123775
123778
|
stream: _t,
|
|
123776
123779
|
oldMessageId: $t
|
|
123777
123780
|
}, Pt = (Bt) => h$2(this, null, function* () {
|
|
123778
|
-
if (Bt.role === v$
|
|
123781
|
+
if (Bt.role === v$5.Robot && Bt.index === -1) {
|
|
123779
123782
|
switch (this._id && Bt.content && Bt.index && Bt.index < 0 && (this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123780
123783
|
finialMessage: Bt.content
|
|
123781
123784
|
}), this.event.emit("data:updated", this.data), this.event.emit("data:updated:finialMessage", {
|
|
@@ -123833,7 +123836,7 @@ class ee {
|
|
|
123833
123836
|
// 消息时间
|
|
123834
123837
|
content: "",
|
|
123835
123838
|
// 消息内容
|
|
123836
|
-
role: v$
|
|
123839
|
+
role: v$5.System,
|
|
123837
123840
|
// 消息角色为系统消息
|
|
123838
123841
|
sessionId: this.id || "",
|
|
123839
123842
|
// 会话 ID
|
|
@@ -123955,14 +123958,14 @@ class ee {
|
|
|
123955
123958
|
}), this._id || "";
|
|
123956
123959
|
}
|
|
123957
123960
|
}
|
|
123958
|
-
var
|
|
123961
|
+
var b$4 = Object.defineProperty, T = Object.defineProperties, x$2 = Object.getOwnPropertyDescriptors, _ = Object.getOwnPropertySymbols, E$1 = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable, A$3 = (bt, pt, vt) => pt in bt ? b$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, d$2 = (bt, pt) => {
|
|
123959
123962
|
for (var vt in pt || (pt = {}))
|
|
123960
|
-
|
|
123961
|
-
if (
|
|
123962
|
-
for (var vt of
|
|
123963
|
-
|
|
123963
|
+
E$1.call(pt, vt) && A$3(bt, vt, pt[vt]);
|
|
123964
|
+
if (_)
|
|
123965
|
+
for (var vt of _(pt))
|
|
123966
|
+
L.call(pt, vt) && A$3(bt, vt, pt[vt]);
|
|
123964
123967
|
return bt;
|
|
123965
|
-
}, w$2 = (bt, pt) =>
|
|
123968
|
+
}, w$2 = (bt, pt) => T(bt, x$2(pt)), p$3 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
123966
123969
|
var Rt = (Bt) => {
|
|
123967
123970
|
try {
|
|
123968
123971
|
Pt(vt.next(Bt));
|
|
@@ -123978,66 +123981,67 @@ var A$3 = Object.defineProperty, P$1 = Object.defineProperties, b$4 = Object.get
|
|
|
123978
123981
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
123979
123982
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
123980
123983
|
});
|
|
123981
|
-
const
|
|
123982
|
-
class
|
|
123984
|
+
const u$2 = new t$1("[AgentSession] ");
|
|
123985
|
+
let K$1 = class extends ee {
|
|
123983
123986
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
123984
123987
|
super(pt, vt, _t, $t, Rt, Ft);
|
|
123985
123988
|
}
|
|
123986
123989
|
prepareConnection() {
|
|
123987
|
-
return new Promise((pt) =>
|
|
123990
|
+
return new Promise((pt) => p$3(this, null, function* () {
|
|
123988
123991
|
this.socket && pt(!0);
|
|
123989
123992
|
const vt = {
|
|
123990
123993
|
version: "1.0",
|
|
123991
|
-
stream: JSON.stringify(
|
|
123994
|
+
stream: JSON.stringify(i$3.stream),
|
|
123992
123995
|
appId: this._applicationId,
|
|
123993
123996
|
sessionId: this.id,
|
|
123994
123997
|
Authorization: `${this.token}`,
|
|
123995
|
-
userMode:
|
|
123996
|
-
}, _t = new URL(
|
|
123998
|
+
userMode: i$3.debug ? r$1.Debug : r$1.Normal
|
|
123999
|
+
}, _t = new URL(i$3.apiRoot), $t = yield lookup(_t.origin, {
|
|
123997
124000
|
path: _t.pathname.replace("api", "socketio") + "/copilot",
|
|
123998
124001
|
query: vt,
|
|
123999
124002
|
transports: ["websocket"]
|
|
124000
124003
|
});
|
|
124001
124004
|
$t.on("connect", () => {
|
|
124002
|
-
|
|
124005
|
+
u$2.log("socket:connect"), this.event.emit("socket:connect"), $t.emit("init");
|
|
124003
124006
|
}), $t.on("disconnect", () => {
|
|
124004
|
-
|
|
124007
|
+
u$2.log("socket:disconnect"), this.event.emit("socket:disconnect"), this._ready = !1;
|
|
124005
124008
|
}), $t.on("ready", (Rt) => {
|
|
124006
124009
|
if (Rt.code === 200)
|
|
124007
|
-
|
|
124010
|
+
u$2.log("ready"), (i$3.debug ? r$1.Debug : r$1.Normal) === r$1.Debug && Rt.userMode, this._ready || (this._ready = !0, this.event.emit("ready")), this.frozen = !1, this.registerMcpFromClientConfig(), pt(!0);
|
|
124008
124011
|
else {
|
|
124009
124012
|
this._ready && (this._ready = !1);
|
|
124010
124013
|
const Ft = new Error(
|
|
124011
|
-
K$
|
|
124014
|
+
K$2.SocketConnectionFailed
|
|
124012
124015
|
// , {
|
|
124013
124016
|
// cause: data,
|
|
124014
124017
|
// }
|
|
124015
124018
|
);
|
|
124016
|
-
|
|
124019
|
+
u$2.error("error", Ft), this.event.emit("error", Ft), pt(!1);
|
|
124017
124020
|
}
|
|
124018
|
-
}), $t.on("action", (Rt, Ft) =>
|
|
124021
|
+
}), $t.on("action", (Rt, Ft) => p$3(this, null, function* () {
|
|
124022
|
+
var Pt;
|
|
124019
124023
|
if (this._stopAnswer || !this.id)
|
|
124020
124024
|
return;
|
|
124021
124025
|
const {
|
|
124022
|
-
type:
|
|
124026
|
+
type: Bt,
|
|
124023
124027
|
data: {
|
|
124024
|
-
runnerIsClient:
|
|
124025
|
-
pluginCode:
|
|
124026
|
-
funcCode:
|
|
124027
|
-
parameters:
|
|
124028
|
-
requestBody:
|
|
124029
|
-
}
|
|
124030
|
-
} = Rt,
|
|
124031
|
-
if (!
|
|
124032
|
-
|
|
124033
|
-
messageId:
|
|
124028
|
+
runnerIsClient: qt,
|
|
124029
|
+
pluginCode: Ht,
|
|
124030
|
+
funcCode: Gt,
|
|
124031
|
+
parameters: Zt,
|
|
124032
|
+
requestBody: Jt
|
|
124033
|
+
}
|
|
124034
|
+
} = Rt, Kt = this.messages[this.messages.length - 1];
|
|
124035
|
+
if (!Kt.messageId)
|
|
124036
|
+
Kt.actions || (Kt.actions = []), Kt.actions[Rt.data.step - 1] || (Kt.actions[Rt.data.step - 1] = []), Kt.actions[Rt.data.step - 1].push(Rt), this.event.emit("message:action", {
|
|
124037
|
+
messageId: Kt.messageId,
|
|
124034
124038
|
action: Rt
|
|
124035
|
-
}), this.event.emit("message:updated",
|
|
124039
|
+
}), this.event.emit("message:updated", Kt);
|
|
124036
124040
|
else {
|
|
124037
|
-
const
|
|
124041
|
+
const rr = {
|
|
124038
124042
|
messageId: "",
|
|
124039
124043
|
content: "",
|
|
124040
|
-
role: v$
|
|
124044
|
+
role: v$5.Robot,
|
|
124041
124045
|
sessionId: this.id,
|
|
124042
124046
|
reference: [],
|
|
124043
124047
|
searchReference: [],
|
|
@@ -124049,14 +124053,14 @@ class H extends ee {
|
|
|
124049
124053
|
},
|
|
124050
124054
|
isReplying: !0
|
|
124051
124055
|
};
|
|
124052
|
-
this.pushMessage(
|
|
124053
|
-
messageId:
|
|
124056
|
+
this.pushMessage(rr), this.event.emit("message:action", {
|
|
124057
|
+
messageId: rr.messageId,
|
|
124054
124058
|
action: Rt
|
|
124055
124059
|
});
|
|
124056
124060
|
}
|
|
124057
124061
|
if (this.inactivating) {
|
|
124058
|
-
const
|
|
124059
|
-
K$
|
|
124062
|
+
const rr = new Error(
|
|
124063
|
+
K$2.Inactive
|
|
124060
124064
|
// {
|
|
124061
124065
|
// cause: {
|
|
124062
124066
|
// code: -1,
|
|
@@ -124065,40 +124069,45 @@ class H extends ee {
|
|
|
124065
124069
|
// },
|
|
124066
124070
|
// }
|
|
124067
124071
|
);
|
|
124068
|
-
|
|
124069
|
-
} else if (
|
|
124070
|
-
|
|
124071
|
-
${JSON.stringify(
|
|
124072
|
+
u$2.warn("error", rr), this.event.emit("error", rr);
|
|
124073
|
+
} else if (Bt === "FUNCTION_CALL" && qt) {
|
|
124074
|
+
u$2.log(`calling function ${Gt} of plugin ${Ht} with argument:
|
|
124075
|
+
${JSON.stringify(Zt)}`);
|
|
124076
|
+
const rr = (Pt = i$3.plugins) == null ? void 0 : Pt[Ht];
|
|
124077
|
+
if (!rr) {
|
|
124072
124078
|
Ft({
|
|
124073
124079
|
code: 404,
|
|
124074
|
-
message: "
|
|
124080
|
+
message: "没有找到插件。"
|
|
124075
124081
|
});
|
|
124076
124082
|
return;
|
|
124077
124083
|
}
|
|
124078
|
-
const
|
|
124079
|
-
typeof
|
|
124080
|
-
|
|
124081
|
-
|
|
124082
|
-
|
|
124083
|
-
|
|
124084
|
+
const ir = rr[Gt];
|
|
124085
|
+
if (typeof ir != "function") {
|
|
124086
|
+
Ft({
|
|
124087
|
+
code: 404,
|
|
124088
|
+
message: "没有找到插件方法。"
|
|
124089
|
+
});
|
|
124090
|
+
return;
|
|
124091
|
+
}
|
|
124092
|
+
let sr = Zt == null ? void 0 : Zt.query;
|
|
124084
124093
|
try {
|
|
124085
|
-
|
|
124086
|
-
} catch (
|
|
124094
|
+
sr = JSON.parse(Zt == null ? void 0 : Zt.query);
|
|
124095
|
+
} catch (ar) {
|
|
124087
124096
|
}
|
|
124088
|
-
|
|
124089
|
-
this._stopAnswer || Ft(...
|
|
124097
|
+
ir(sr, (...ar) => {
|
|
124098
|
+
this._stopAnswer || Ft(...ar);
|
|
124090
124099
|
});
|
|
124091
124100
|
}
|
|
124092
124101
|
})), $t.on("answer", (Rt) => {
|
|
124093
124102
|
if (!this._stopAnswer)
|
|
124094
124103
|
if (Rt.data.code !== 200 && (Rt.data.index = -1), Rt.data.stream || Rt.data.stream === void 0) {
|
|
124095
124104
|
let Ft = this.messages[this.messages.length - 1];
|
|
124096
|
-
if (Ft && Ft.role === v$
|
|
124105
|
+
if (Ft && Ft.role === v$5.Robot)
|
|
124097
124106
|
this.handleStreamAnswer(Rt.data, Ft), this.messages[this.messages.length - 1] = Ft, this.event.emit("message:content", Ft), this.event.emit("message:updated", Ft), Ft.index === -1 && (Ft.isReplying = !1, this.event.emit("answer:finish", Ft));
|
|
124098
124107
|
else {
|
|
124099
124108
|
const Pt = {
|
|
124100
124109
|
content: "",
|
|
124101
|
-
role: v$
|
|
124110
|
+
role: v$5.Robot,
|
|
124102
124111
|
reference: [],
|
|
124103
124112
|
searchReference: [],
|
|
124104
124113
|
messageId: "",
|
|
@@ -124128,7 +124137,7 @@ class H extends ee {
|
|
|
124128
124137
|
const Pt = d$2({
|
|
124129
124138
|
messageId: "",
|
|
124130
124139
|
content: "",
|
|
124131
|
-
role: v$
|
|
124140
|
+
role: v$5.Robot,
|
|
124132
124141
|
sessionId: this.id,
|
|
124133
124142
|
reference: [],
|
|
124134
124143
|
searchReference: [],
|
|
@@ -124147,7 +124156,7 @@ class H extends ee {
|
|
|
124147
124156
|
Ft && !Ft.messageId ? (Ft = d$2(d$2({}, Ft), Rt.data), this.messages[this.messages.length - 1] = Ft, this.event.emit("message:content", Ft), this.event.emit("message:updated", Ft)) : (this.pushMessage(d$2({
|
|
124148
124157
|
messageId: "",
|
|
124149
124158
|
content: "",
|
|
124150
|
-
role: v$
|
|
124159
|
+
role: v$5.Robot,
|
|
124151
124160
|
sessionId: this.id,
|
|
124152
124161
|
reference: [],
|
|
124153
124162
|
searchReference: [],
|
|
@@ -124160,24 +124169,24 @@ class H extends ee {
|
|
|
124160
124169
|
isReplying: !0
|
|
124161
124170
|
}, Rt.data)), this.event.emit("message:content", Rt.data));
|
|
124162
124171
|
}
|
|
124163
|
-
}), $t.on("reference", (Rt) =>
|
|
124172
|
+
}), $t.on("reference", (Rt) => p$3(this, null, function* () {
|
|
124164
124173
|
if (this._stopAnswer)
|
|
124165
124174
|
return;
|
|
124166
124175
|
if (!this.id) {
|
|
124167
124176
|
const Gt = new Error(
|
|
124168
|
-
K$
|
|
124177
|
+
K$2.IdUndefined
|
|
124169
124178
|
// {
|
|
124170
124179
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
124171
124180
|
// }
|
|
124172
124181
|
);
|
|
124173
|
-
|
|
124182
|
+
u$2.error(Gt), this.event.emit("error", Gt), this.frozen = !1;
|
|
124174
124183
|
return;
|
|
124175
124184
|
}
|
|
124176
124185
|
const {
|
|
124177
124186
|
type: Ft,
|
|
124178
124187
|
data: Pt,
|
|
124179
124188
|
requestId: Bt
|
|
124180
|
-
} = Rt, qt = this.messages.findIndex((Gt) => Gt.messageId === Bt && Gt.role === v$
|
|
124189
|
+
} = Rt, qt = this.messages.findIndex((Gt) => Gt.messageId === Bt && Gt.role === v$5.User);
|
|
124181
124190
|
if (qt < 0)
|
|
124182
124191
|
return;
|
|
124183
124192
|
const Ht = qt + 1;
|
|
@@ -124185,7 +124194,7 @@ class H extends ee {
|
|
|
124185
124194
|
const Gt = {
|
|
124186
124195
|
messageId: "",
|
|
124187
124196
|
content: "",
|
|
124188
|
-
role: v$
|
|
124197
|
+
role: v$5.Robot,
|
|
124189
124198
|
sessionId: this.id,
|
|
124190
124199
|
reference: [],
|
|
124191
124200
|
searchReference: [],
|
|
@@ -124208,12 +124217,12 @@ class H extends ee {
|
|
|
124208
124217
|
}));
|
|
124209
124218
|
}
|
|
124210
124219
|
registerMcpFromClientConfig() {
|
|
124211
|
-
return
|
|
124220
|
+
return i$3.mcp ? new Promise((pt, vt) => {
|
|
124212
124221
|
if (!this.socket) {
|
|
124213
124222
|
vt("socket is undefined");
|
|
124214
124223
|
return;
|
|
124215
124224
|
}
|
|
124216
|
-
this.socket.emit("add_mcp_servers",
|
|
124225
|
+
this.socket.emit("add_mcp_servers", i$3.mcp, (_t) => {
|
|
124217
124226
|
_t.code === 200 ? (Object.keys(_t.data).forEach(($t) => {
|
|
124218
124227
|
_t.data[$t].code !== 200 && console.error($t, "MCP Server 注册失败。", _t.data[$t]);
|
|
124219
124228
|
}), pt(!0)) : (console.error("MCP Server 注册失败。", _t), vt(_t));
|
|
@@ -124221,7 +124230,7 @@ class H extends ee {
|
|
|
124221
124230
|
}) : Promise.resolve(!0);
|
|
124222
124231
|
}
|
|
124223
124232
|
addMcpServers(pt) {
|
|
124224
|
-
return
|
|
124233
|
+
return p$3(this, null, function* () {
|
|
124225
124234
|
return this.ready ? this.socket ? new Promise((vt, _t) => {
|
|
124226
124235
|
this.socket && this.socket.emit("add_mcp_servers", pt, ($t) => {
|
|
124227
124236
|
$t.code === 200 ? (Object.keys($t.data).forEach((Rt) => {
|
|
@@ -124232,7 +124241,7 @@ class H extends ee {
|
|
|
124232
124241
|
});
|
|
124233
124242
|
}
|
|
124234
124243
|
listMcpServers() {
|
|
124235
|
-
return
|
|
124244
|
+
return p$3(this, null, function* () {
|
|
124236
124245
|
return this.ready ? this.socket ? new Promise((pt, vt) => {
|
|
124237
124246
|
this.socket && this.socket.emit("list_mcp_servers", (_t) => {
|
|
124238
124247
|
_t.code === 200 ? pt(_t.data) : vt(_t);
|
|
@@ -124241,7 +124250,7 @@ class H extends ee {
|
|
|
124241
124250
|
});
|
|
124242
124251
|
}
|
|
124243
124252
|
sendQuestion(pt, vt) {
|
|
124244
|
-
return
|
|
124253
|
+
return p$3(this, null, function* () {
|
|
124245
124254
|
var _t, $t, Rt;
|
|
124246
124255
|
this.convertKnowledgesToChatFormat(this.knowledges);
|
|
124247
124256
|
let Ft = w$2(d$2({}, pt), {
|
|
@@ -124260,12 +124269,12 @@ class H extends ee {
|
|
|
124260
124269
|
if (!this.active) {
|
|
124261
124270
|
if (yield this.activate(), !this.socket) {
|
|
124262
124271
|
const Pt = new Error(
|
|
124263
|
-
K$
|
|
124272
|
+
K$2.SocketConnectionFailed
|
|
124264
124273
|
// {
|
|
124265
124274
|
// cause: { code: -1, message: 'socket is null' },
|
|
124266
124275
|
// }
|
|
124267
124276
|
);
|
|
124268
|
-
return
|
|
124277
|
+
return u$2.warn("error", Pt), this.event.emit("error", Pt), !1;
|
|
124269
124278
|
}
|
|
124270
124279
|
($t = this.socket) == null || $t.emit("question", Ft);
|
|
124271
124280
|
return;
|
|
@@ -124283,7 +124292,7 @@ class H extends ee {
|
|
|
124283
124292
|
fileIds: vt.fileIds
|
|
124284
124293
|
} : vt.id) : [];
|
|
124285
124294
|
}
|
|
124286
|
-
}
|
|
124295
|
+
};
|
|
124287
124296
|
var b$3 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
124288
124297
|
var Rt = (Bt) => {
|
|
124289
124298
|
try {
|
|
@@ -124527,9 +124536,9 @@ let k$1 = class extends ee {
|
|
|
124527
124536
|
},
|
|
124528
124537
|
isReplying: !1
|
|
124529
124538
|
}, Bt = y(u$1({}, _t), {
|
|
124530
|
-
stream:
|
|
124539
|
+
stream: i$3.stream
|
|
124531
124540
|
});
|
|
124532
|
-
X(`${
|
|
124541
|
+
X(`${i$3.apiRoot}/chat/v2/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
124533
124542
|
method: "POST",
|
|
124534
124543
|
headers: {
|
|
124535
124544
|
Authorization: `Bearer ${this.token}`,
|
|
@@ -124629,9 +124638,9 @@ let k$1 = class extends ee {
|
|
|
124629
124638
|
thinkingStatus: "",
|
|
124630
124639
|
searchingStatus: ""
|
|
124631
124640
|
}, qt = y(u$1({}, _t), {
|
|
124632
|
-
stream:
|
|
124641
|
+
stream: i$3.stream
|
|
124633
124642
|
});
|
|
124634
|
-
X(`${
|
|
124643
|
+
X(`${i$3.apiRoot}/chat/v3/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
124635
124644
|
method: "POST",
|
|
124636
124645
|
headers: {
|
|
124637
124646
|
Authorization: `Bearer ${this.token}`,
|
|
@@ -124708,7 +124717,7 @@ let k$1 = class extends ee {
|
|
|
124708
124717
|
if (this._stopAnswer)
|
|
124709
124718
|
return;
|
|
124710
124719
|
let Zt = this.messages[this.messages.length - 1];
|
|
124711
|
-
Zt && Zt.role === v$
|
|
124720
|
+
Zt && Zt.role === v$5.Robot ? (Zt = u$1(u$1({}, Zt), Gt), this.messages[this.messages.length - 1] = Zt, this.event.emit("message:content", Zt), this.event.emit("message:updated", Zt)) : (this.pushMessage(Gt), this.event.emit("message:content", Gt));
|
|
124712
124721
|
},
|
|
124713
124722
|
onclose: (Gt) => f$1(this, null, function* () {
|
|
124714
124723
|
this._stopAnswer || (p$2.log(Gt, "onclose"), this.event.emit("answer:finish", Gt));
|
|
@@ -124745,7 +124754,7 @@ let k$1 = class extends ee {
|
|
|
124745
124754
|
} : vt.id) : [];
|
|
124746
124755
|
}
|
|
124747
124756
|
};
|
|
124748
|
-
const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0
|
|
124757
|
+
const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0", i = "glodoncv", s = "aiot bot client js sdk", n = "module", o = [
|
|
124749
124758
|
"aiot",
|
|
124750
124759
|
"bot",
|
|
124751
124760
|
"bot client",
|
|
@@ -124806,7 +124815,7 @@ const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0-alpha.9", i = "glodoncv", s
|
|
|
124806
124815
|
access: "public",
|
|
124807
124816
|
registry: "https://registry.npmjs.org/"
|
|
124808
124817
|
}, b$1 = {
|
|
124809
|
-
"@glodon-aiot/apis": "^3.25.0
|
|
124818
|
+
"@glodon-aiot/apis": "^3.25.0",
|
|
124810
124819
|
axios: "0.24.0",
|
|
124811
124820
|
buffer: "^6.0.3",
|
|
124812
124821
|
dayjs: "^1.11.13",
|
|
@@ -124865,10 +124874,10 @@ class W {
|
|
|
124865
124874
|
enabled: !1
|
|
124866
124875
|
}
|
|
124867
124876
|
}) {
|
|
124868
|
-
if (d(this, "event", new $$1()), d(this, "cvforceApi"), d(this, "_applicationId"), d(this, "_application", null), d(this, "_sessions", []), d(this, "_activeSession"), d(this, "_ready", !1), d(this, "_questionContextMaxLength", 4e3), d(this, "_promptVariables", []), this._token = pt, this.lazyload = _t, this.sdkConfigs = $t,
|
|
124877
|
+
if (d(this, "event", new $$1()), d(this, "cvforceApi"), d(this, "_applicationId"), d(this, "_application", null), d(this, "_sessions", []), d(this, "_activeSession"), d(this, "_ready", !1), d(this, "_questionContextMaxLength", 4e3), d(this, "_promptVariables", []), this._token = pt, this.lazyload = _t, this.sdkConfigs = $t, x$4(vt), this._applicationId = c$2(pt).rid || i$3.applicationId, !this._applicationId)
|
|
124869
124878
|
throw "token is not vaild";
|
|
124870
124879
|
this.cvforceApi = this.getService(), this.loadApplication().then((Rt) => {
|
|
124871
|
-
|
|
124880
|
+
x$4(f(p({}, vt), {
|
|
124872
124881
|
stream: vt.stream === void 0 ? (Rt == null ? void 0 : Rt.type) === i$7.Dialog || (Rt == null ? void 0 : Rt.type) === i$7.Agent : vt.stream
|
|
124873
124882
|
})), this.event.emit("ready");
|
|
124874
124883
|
});
|
|
@@ -124912,7 +124921,7 @@ class W {
|
|
|
124912
124921
|
}
|
|
124913
124922
|
).then((Pt) => (typeof Pt.arrange[0].recommendQuestionOpen != "boolean" && (Pt.arrange[0].recommendQuestionOpen = !0), typeof Pt.arrange[0].thinkingModeOpen != "boolean" && (Pt.arrange[0].thinkingModeOpen = !0), typeof Pt.arrange[0].thinkingTextOpen != "boolean" && (Pt.arrange[0].thinkingTextOpen = !0), f(p({}, Pt), {
|
|
124914
124923
|
arrange: [f(p({}, Pt.arrange[0]), {
|
|
124915
|
-
recommendQuestionOpen:
|
|
124924
|
+
recommendQuestionOpen: i$3.loadRelatedQuesions && Pt.arrange[0].recommendQuestionOpen
|
|
124916
124925
|
})]
|
|
124917
124926
|
})));
|
|
124918
124927
|
const Ft = (Rt = ($t = (_t = this._application) == null ? void 0 : _t.arrange) == null ? void 0 : $t[0]) == null ? void 0 : Rt.llmModel;
|
|
@@ -124924,7 +124933,7 @@ class W {
|
|
|
124924
124933
|
});
|
|
124925
124934
|
}
|
|
124926
124935
|
getService() {
|
|
124927
|
-
return this.cvforceApi ? this.cvforceApi : z(
|
|
124936
|
+
return this.cvforceApi ? this.cvforceApi : z(i$3.apiRoot, this.token, (pt, vt) => b.error(vt));
|
|
124928
124937
|
}
|
|
124929
124938
|
get token() {
|
|
124930
124939
|
return this._token;
|
|
@@ -124957,7 +124966,7 @@ class W {
|
|
|
124957
124966
|
return new Promise((Pt, Bt) => {
|
|
124958
124967
|
const qt = (Ht) => l(this, null, function* () {
|
|
124959
124968
|
if (Ht === i$7.Agent)
|
|
124960
|
-
Pt(new
|
|
124969
|
+
Pt(new K$1(pt, vt, _t, $t, Rt, Ft));
|
|
124961
124970
|
else if (Ht === i$7.Dialog)
|
|
124962
124971
|
Pt(new k$1(pt, vt, _t, $t, Rt, Ft));
|
|
124963
124972
|
else
|
|
@@ -134466,7 +134475,7 @@ const xg = (bt) => {
|
|
|
134466
134475
|
files: ir.files
|
|
134467
134476
|
}, [er, Kt.type, ir.content, ir.files]), {
|
|
134468
134477
|
Panel: Xt
|
|
134469
|
-
} = Collapse$1, [nr, lr] = reactExports.useState(null), [hr, yr] = reactExports.useState(null), [fr, Mr] = reactExports.useState(!1), xr = reactExports.useRef(null), Nr = (pt = Kt.arrange) == null ? void 0 : pt[0], Sr = Kt.type === i$7.Dialog, jr = !!((vt = ir == null ? void 0 : ir.reasoningContent) != null && vt.trim()), Er = Sr ? (ir != null && ir.fromHistory || (wr == null ? void 0 : wr.reasoning) !== !1) && jr : jr, Ar = (ir == null ? void 0 : ir.thinkingStatus) === P$
|
|
134478
|
+
} = Collapse$1, [nr, lr] = reactExports.useState(null), [hr, yr] = reactExports.useState(null), [fr, Mr] = reactExports.useState(!1), xr = reactExports.useRef(null), Nr = (pt = Kt.arrange) == null ? void 0 : pt[0], Sr = Kt.type === i$7.Dialog, jr = !!((vt = ir == null ? void 0 : ir.reasoningContent) != null && vt.trim()), Er = Sr ? (ir != null && ir.fromHistory || (wr == null ? void 0 : wr.reasoning) !== !1) && jr : jr, Ar = (ir == null ? void 0 : ir.thinkingStatus) === P$1.End || !!(ir != null && ir.content), Ir = Sr ? (Nr == null ? void 0 : Nr.thinkingTextOpen) !== !1 && (wr == null ? void 0 : wr.reasoningExpand) !== !1 : !0, Cr = nr != null ? nr : Ir || !Ar, Pr = wr == null ? void 0 : wr.reasoningContent, Dr = (Pr == null ? void 0 : Pr.defaultMinimized) === !0, Ur = kg(Pr), Gr = LD(Pr == null ? void 0 : Pr.maxHeight), Qr = hr != null ? hr : Dr, Wr = Qr ? Ur : Gr, rn = Wr ? {
|
|
134470
134479
|
maxHeight: Wr,
|
|
134471
134480
|
overflowY: "auto"
|
|
134472
134481
|
} : void 0, Zr = !!Ur && fr;
|
|
@@ -134739,9 +134748,9 @@ const xg = (bt) => {
|
|
|
134739
134748
|
}),
|
|
134740
134749
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
134741
134750
|
className: "bottom-left",
|
|
134742
|
-
children: [(ir == null ? void 0 : ir.thinkingStatus) === P$
|
|
134751
|
+
children: [(ir == null ? void 0 : ir.thinkingStatus) === P$1.Start && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134743
134752
|
className: "thinking"
|
|
134744
|
-
}), (ir == null ? void 0 : ir.thinkingStatus) === P$
|
|
134753
|
+
}), (ir == null ? void 0 : ir.thinkingStatus) === P$1.End && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134745
134754
|
className: "thinked",
|
|
134746
134755
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tj, {})
|
|
134747
134756
|
})]
|
|
@@ -135389,9 +135398,9 @@ const Pg = (bt) => {
|
|
|
135389
135398
|
cr(Rt instanceof File || Rt == null ? void 0 : Rt.status);
|
|
135390
135399
|
}, [Rt]);
|
|
135391
135400
|
const dr = () => {
|
|
135392
|
-
$t && qt && ur === u$
|
|
135401
|
+
$t && qt && ur === u$9.Processing && qt($t).then((pr) => {
|
|
135393
135402
|
pr !== ur && (ur !== void 0 && Zt && Zt(pr), cr(pr));
|
|
135394
|
-
}).catch((pr) => cr(u$
|
|
135403
|
+
}).catch((pr) => cr(u$9.Failed));
|
|
135395
135404
|
};
|
|
135396
135405
|
return reactExports.useEffect(() => {
|
|
135397
135406
|
dr();
|
|
@@ -135698,7 +135707,7 @@ const Pg = (bt) => {
|
|
|
135698
135707
|
name: Wr.name,
|
|
135699
135708
|
size: Wr.size,
|
|
135700
135709
|
type: 1,
|
|
135701
|
-
origin: v$
|
|
135710
|
+
origin: v$8.AECPILOT
|
|
135702
135711
|
};
|
|
135703
135712
|
mr.current && ((en = Sr(Qr, kr)) == null || en.then((Lr) => hr(Qr, Lr, Wr)));
|
|
135704
135713
|
});
|
|
@@ -137020,7 +137029,7 @@ const qg = (bt) => {
|
|
|
137020
137029
|
mode: rr
|
|
137021
137030
|
} = reactExports.useContext(qM), [ir, sr] = reactExports.useState((_t == null ? void 0 : _t.filter((Vt) => Vt.type === "me")) || []), [ar, or] = reactExports.useState((_t == null ? void 0 : _t.filter((Vt) => Vt.type === "system")) || []), [ur, cr] = reactExports.useState((_t == null ? void 0 : _t.filter((Vt) => Vt.type === "system")) || []), [dr, pr] = reactExports.useState("system"), [mr, vr] = reactExports.useState(!1);
|
|
137022
137031
|
reactExports.useEffect(() => {
|
|
137023
|
-
qt && Jt && ($t && $t.length > _ ? (sr([]), or([])) : (Jt.listPrompt(vt, {
|
|
137032
|
+
qt && Jt && ($t && $t.length > _$1 ? (sr([]), or([])) : (Jt.listPrompt(vt, {
|
|
137024
137033
|
type: "system"
|
|
137025
137034
|
}).then((Vt) => vr(!!Vt.length)), Jt.listPrompt(vt, $t ? {
|
|
137026
137035
|
title: $t
|
|
@@ -137042,7 +137051,7 @@ const qg = (bt) => {
|
|
|
137042
137051
|
});
|
|
137043
137052
|
}, [Jt]);
|
|
137044
137053
|
const wr = () => {
|
|
137045
|
-
if ($t && $t.length > _) {
|
|
137054
|
+
if ($t && $t.length > _$1) {
|
|
137046
137055
|
sr([]), or([]);
|
|
137047
137056
|
return;
|
|
137048
137057
|
}
|
|
@@ -137325,7 +137334,7 @@ ${$t}` : $t;
|
|
|
137325
137334
|
message: {
|
|
137326
137335
|
content: Do,
|
|
137327
137336
|
sessionId: ro,
|
|
137328
|
-
role: v$
|
|
137337
|
+
role: v$5.User,
|
|
137329
137338
|
files: bn[ro]
|
|
137330
137339
|
}
|
|
137331
137340
|
}) : ko = !0;
|
|
@@ -137373,7 +137382,7 @@ ${$t}` : $t;
|
|
|
137373
137382
|
message: {
|
|
137374
137383
|
content: zn,
|
|
137375
137384
|
sessionId: ar.id,
|
|
137376
|
-
role: v$
|
|
137385
|
+
role: v$5.User,
|
|
137377
137386
|
files: bn[ar.id]
|
|
137378
137387
|
}
|
|
137379
137388
|
}) : Gn = !0;
|
|
@@ -137421,7 +137430,7 @@ ${$t}` : $t;
|
|
|
137421
137430
|
const Uo = new ie("", Do, n$6.System);
|
|
137422
137431
|
Uo.isWaiting = !0, Qr.current = [Uo, ...Qr.current], vr(Qr.current);
|
|
137423
137432
|
const Ml = (Bn == null ? void 0 : Bn.filter((vn) => !vn.localAttachment).map((vn) => vn.id)) || [], Fr = {
|
|
137424
|
-
stream:
|
|
137433
|
+
stream: i$3.stream,
|
|
137425
137434
|
referenceFirst: !1
|
|
137426
137435
|
};
|
|
137427
137436
|
if (yr != null && yr.promptVariables) {
|
|
@@ -138597,7 +138606,7 @@ ${$t}` : $t;
|
|
|
138597
138606
|
})]
|
|
138598
138607
|
})
|
|
138599
138608
|
});
|
|
138600
|
-
}), nI = "@glodon-aiot/agent-cli-ui", LI = "3.25.0
|
|
138609
|
+
}), nI = "@glodon-aiot/agent-cli-ui", LI = "3.25.0", AI = "./dist/es/index.mjs", yI = "./dist/lib/index.js", cI = "./dist/src/index.d.ts", aI = {
|
|
138601
138610
|
import: "./dist/es/index.mjs",
|
|
138602
138611
|
require: "./dist/lib/index.js",
|
|
138603
138612
|
types: "./dist/src/index.d.ts"
|
|
@@ -138619,9 +138628,9 @@ ${$t}` : $t;
|
|
|
138619
138628
|
commit: "cz"
|
|
138620
138629
|
}, OI = {
|
|
138621
138630
|
"@ant-design/icons": "^5.3.4",
|
|
138622
|
-
"@glodon-aiot/apis": "^3.25.0
|
|
138623
|
-
"@glodon-aiot/bot-client-sdk": "^3.25.0
|
|
138624
|
-
"@glodon-aiot/react-components": "^3.25.0
|
|
138631
|
+
"@glodon-aiot/apis": "^3.25.0",
|
|
138632
|
+
"@glodon-aiot/bot-client-sdk": "^3.25.0",
|
|
138633
|
+
"@glodon-aiot/react-components": "^3.25.0",
|
|
138625
138634
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
138626
138635
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
138627
138636
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
@@ -141637,7 +141646,7 @@ function _s(bt) {
|
|
|
141637
141646
|
const Xj = {};
|
|
141638
141647
|
class nn {
|
|
141639
141648
|
constructor(pt) {
|
|
141640
|
-
YM(this, "_token"), YM(this, "_activeSession", null), YM(this, "_applicationId"), YM(this, "_defaultInputText", ""), YM(this, "_inputDisabled", !1), YM(this, "_defatulSessionId", ""), YM(this, "_agentClientRef", qi$1.createRef()), YM(this, "_config"), YM(this, "_uuid", ""), YM(this, "apiUrl"), YM(this, "docViewerUrl"), YM(this, "env", "prod"), YM(this, "stream",
|
|
141649
|
+
YM(this, "_token"), YM(this, "_activeSession", null), YM(this, "_applicationId"), YM(this, "_defaultInputText", ""), YM(this, "_inputDisabled", !1), YM(this, "_defatulSessionId", ""), YM(this, "_agentClientRef", qi$1.createRef()), YM(this, "_config"), YM(this, "_uuid", ""), YM(this, "apiUrl"), YM(this, "docViewerUrl"), YM(this, "env", "prod"), YM(this, "stream", i$3.stream), YM(this, "service"), YM(this, "rId", 0), YM(this, "_mode", "float"), YM(this, "uiConfig", qj), YM(this, "errorHandlers", {}), YM(this, "wrapper", document.createElement("div")), YM(this, "botClient", null), YM(this, "_silencedSeconds", 0);
|
|
141641
141650
|
var vt, _t, $t, Rt, Ft;
|
|
141642
141651
|
this._uuid = v4$1();
|
|
141643
141652
|
const {
|
|
@@ -141667,7 +141676,7 @@ class nn {
|
|
|
141667
141676
|
size: te$1(this.uiConfig.size, uM({}, Gt)),
|
|
141668
141677
|
theme: te$1(this.uiConfig.theme, Xj)
|
|
141669
141678
|
};
|
|
141670
|
-
this.updateUIConfig(cr, ur), this.env = Pt || "prod", this.stream = or,
|
|
141679
|
+
this.updateUIConfig(cr, ur), this.env = Pt || "prod", this.stream = or, x$4({
|
|
141671
141680
|
stream: this.stream
|
|
141672
141681
|
}), this._applicationId = ut(Bt).rid, this.apiUrl = Zt || OD[this.env] || Tg, this.docViewerUrl = Jt || ug, this.service = this.setService(), this._initWrapper(), this.createBotClientSDK().then(() => zM(this, null, function* () {
|
|
141673
141682
|
var dr, pr;
|
|
@@ -141826,7 +141835,7 @@ class nn {
|
|
|
141826
141835
|
prefixCls: "gbot-notification"
|
|
141827
141836
|
})));
|
|
141828
141837
|
}, Ft = _t("");
|
|
141829
|
-
return new x$
|
|
141838
|
+
return new x$8(Ft, () => this.token, {
|
|
141830
141839
|
onHttpStatusError: $t,
|
|
141831
141840
|
onAppStatusError: Rt
|
|
141832
141841
|
});
|
|
@@ -141883,7 +141892,7 @@ class nn {
|
|
|
141883
141892
|
return zM(this, null, function* () {
|
|
141884
141893
|
return new Promise((pt, vt) => {
|
|
141885
141894
|
if (this.token)
|
|
141886
|
-
|
|
141895
|
+
x$4({
|
|
141887
141896
|
debug: this.uiConfig.debug,
|
|
141888
141897
|
env: this.uiConfig.env,
|
|
141889
141898
|
apiRoot: this.apiUrl
|