@glodon-aiot/bot-client-ui 3.25.0-alpha.9 → 3.25.1-alpha.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 +787 -761
- package/dist/lib/index.js +29 -28
- 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$
|
|
124
|
+
var l$8 = Symbol.for("react.element"), n$b = Symbol.for("react.portal"), p$f = Symbol.for("react.fragment"), q$4 = Symbol.for("react.strict_mode"), r$7 = Symbol.for("react.profiler"), t$7 = Symbol.for("react.provider"), u$c = Symbol.for("react.context"), v$a = Symbol.for("react.forward_ref"), w$9 = Symbol.for("react.suspense"), x$a = Symbol.for("react.memo"), y$8 = 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$
|
|
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
161
|
var I$8 = Array.isArray, J$3 = Object.prototype.hasOwnProperty, K$5 = {
|
|
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;
|
|
@@ -213,8 +213,8 @@ function escape$2(bt) {
|
|
|
213
213
|
return pt[vt];
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
var P$
|
|
217
|
-
function Q$
|
|
216
|
+
var P$3 = /\/+/g;
|
|
217
|
+
function Q$1(bt, pt) {
|
|
218
218
|
return typeof bt == "object" && bt !== null && bt.key != null ? escape$2("" + bt.key) : pt.toString(36);
|
|
219
219
|
}
|
|
220
220
|
function R$a(bt, pt, vt, _t, $t) {
|
|
@@ -237,23 +237,23 @@ 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$
|
|
240
|
+
return Ft = bt, $t = $t(Ft), bt = _t === "" ? "." + Q$1(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];
|
|
246
|
-
var Bt = _t + Q$
|
|
246
|
+
var Bt = _t + Q$1(Rt, Pt);
|
|
247
247
|
Ft += R$a(Rt, pt, vt, Bt, $t);
|
|
248
248
|
}
|
|
249
249
|
else if (Bt = A$8(bt), typeof Bt == "function")
|
|
250
250
|
for (bt = Bt.call(bt), Pt = 0; !(Rt = bt.next()).done; )
|
|
251
|
-
Rt = Rt.value, Bt = _t + Q$
|
|
251
|
+
Rt = Rt.value, Bt = _t + Q$1(Rt, Pt++), Ft += R$a(Rt, pt, vt, Bt, $t);
|
|
252
252
|
else if (Rt === "object")
|
|
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;
|
|
@@ -261,7 +261,7 @@ function S$4(bt, pt, vt) {
|
|
|
261
261
|
return pt.call(vt, Rt, $t++);
|
|
262
262
|
}), _t;
|
|
263
263
|
}
|
|
264
|
-
function T$
|
|
264
|
+
function T$7(bt) {
|
|
265
265
|
if (bt._status === -1) {
|
|
266
266
|
var pt = bt._result;
|
|
267
267
|
pt = pt(), pt.then(function(vt) {
|
|
@@ -276,31 +276,31 @@ function T$6(bt) {
|
|
|
276
276
|
}
|
|
277
277
|
var U$1 = {
|
|
278
278
|
current: null
|
|
279
|
-
}, V$
|
|
279
|
+
}, V$3 = {
|
|
280
280
|
transition: null
|
|
281
281
|
}, W$4 = {
|
|
282
282
|
ReactCurrentDispatcher: U$1,
|
|
283
|
-
ReactCurrentBatchConfig: V$
|
|
283
|
+
ReactCurrentBatchConfig: V$3,
|
|
284
284
|
ReactCurrentOwner: K$5
|
|
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,8 +310,8 @@ react_production_min.Children = {
|
|
|
310
310
|
return bt;
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
|
-
react_production_min.Component = E$
|
|
314
|
-
react_production_min.Fragment = p$
|
|
313
|
+
react_production_min.Component = E$8;
|
|
314
|
+
react_production_min.Fragment = p$f;
|
|
315
315
|
react_production_min.Profiler = r$7;
|
|
316
316
|
react_production_min.PureComponent = G$1;
|
|
317
317
|
react_production_min.StrictMode = q$4;
|
|
@@ -321,12 +321,12 @@ 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
326
|
if (pt.ref !== void 0 && (Rt = pt.ref, Ft = K$5.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,
|
|
@@ -357,7 +357,7 @@ react_production_min.createContext = function(bt) {
|
|
|
357
357
|
_defaultValue: null,
|
|
358
358
|
_globalName: null
|
|
359
359
|
}, bt.Provider = {
|
|
360
|
-
$$typeof: t$
|
|
360
|
+
$$typeof: t$7,
|
|
361
361
|
_context: bt
|
|
362
362
|
}, bt.Consumer = bt;
|
|
363
363
|
};
|
|
@@ -373,35 +373,35 @@ react_production_min.createRef = function() {
|
|
|
373
373
|
};
|
|
374
374
|
react_production_min.forwardRef = function(bt) {
|
|
375
375
|
return {
|
|
376
|
-
$$typeof: v$
|
|
376
|
+
$$typeof: v$a,
|
|
377
377
|
render: bt
|
|
378
378
|
};
|
|
379
379
|
};
|
|
380
380
|
react_production_min.isValidElement = O$2;
|
|
381
381
|
react_production_min.lazy = function(bt) {
|
|
382
382
|
return {
|
|
383
|
-
$$typeof: y$
|
|
383
|
+
$$typeof: y$8,
|
|
384
384
|
_payload: {
|
|
385
385
|
_status: -1,
|
|
386
386
|
_result: bt
|
|
387
387
|
},
|
|
388
|
-
_init: T$
|
|
388
|
+
_init: T$7
|
|
389
389
|
};
|
|
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
|
};
|
|
397
397
|
};
|
|
398
398
|
react_production_min.startTransition = function(bt) {
|
|
399
|
-
var pt = V$
|
|
400
|
-
V$
|
|
399
|
+
var pt = V$3.transition;
|
|
400
|
+
V$3.transition = {};
|
|
401
401
|
try {
|
|
402
402
|
bt();
|
|
403
403
|
} finally {
|
|
404
|
-
V$
|
|
404
|
+
V$3.transition = pt;
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
react_production_min.unstable_act = X$3;
|
|
@@ -465,7 +465,7 @@ const qi$1 = /* @__PURE__ */ getDefaultExportFromCjs(reactExports), React$4 = /*
|
|
|
465
465
|
* This source code is licensed under the MIT license found in the
|
|
466
466
|
* LICENSE file in the root directory of this source tree.
|
|
467
467
|
*/
|
|
468
|
-
var f$
|
|
468
|
+
var f$d = reactExports, k$a = Symbol.for("react.element"), l$7 = Symbol.for("react.fragment"), m$7 = Object.prototype.hasOwnProperty, n$a = f$d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$e = {
|
|
469
469
|
key: !0,
|
|
470
470
|
ref: !0,
|
|
471
471
|
__self: !0,
|
|
@@ -475,7 +475,7 @@ function q$3(bt, pt, vt) {
|
|
|
475
475
|
var _t, $t = {}, Rt = null, Ft = null;
|
|
476
476
|
vt !== void 0 && (Rt = "" + vt), pt.key !== void 0 && (Rt = "" + pt.key), pt.ref !== void 0 && (Ft = pt.ref);
|
|
477
477
|
for (_t in pt)
|
|
478
|
-
m$7.call(pt, _t) && !p$
|
|
478
|
+
m$7.call(pt, _t) && !p$e.hasOwnProperty(_t) && ($t[_t] = pt[_t]);
|
|
479
479
|
if (bt && bt.defaultProps)
|
|
480
480
|
for (_t in pt = bt.defaultProps, pt)
|
|
481
481
|
$t[_t] === void 0 && ($t[_t] = pt[_t]);
|
|
@@ -1064,7 +1064,7 @@ function createAssigner$2(bt) {
|
|
|
1064
1064
|
var _createAssigner = createAssigner$2, baseMerge$1 = _baseMerge, createAssigner$1 = _createAssigner, merge$a = createAssigner$1(function(bt, pt, vt) {
|
|
1065
1065
|
baseMerge$1(bt, pt, vt);
|
|
1066
1066
|
}), merge_1$1 = merge$a;
|
|
1067
|
-
const te$
|
|
1067
|
+
const te$2 = /* @__PURE__ */ getDefaultExportFromCjs(merge_1$1);
|
|
1068
1068
|
var reactResizable = { exports: {} }, Resizable$2 = {}, cjs$2 = { exports: {} }, Draggable$1 = {}, propTypes$1 = { exports: {} }, ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ReactPropTypesSecret_1 = ReactPropTypesSecret$1, ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
1069
1069
|
function emptyFunction() {
|
|
1070
1070
|
}
|
|
@@ -1352,7 +1352,7 @@ var schedulerExports = scheduler.exports;
|
|
|
1352
1352
|
* LICENSE file in the root directory of this source tree.
|
|
1353
1353
|
*/
|
|
1354
1354
|
var aa = reactExports, ca = schedulerExports;
|
|
1355
|
-
function p$
|
|
1355
|
+
function p$d(bt) {
|
|
1356
1356
|
for (var pt = "https://reactjs.org/docs/error-decoder.html?invariant=" + bt, vt = 1; vt < arguments.length; vt++)
|
|
1357
1357
|
pt += "&args[]=" + encodeURIComponent(arguments[vt]);
|
|
1358
1358
|
return "Minified React error #" + bt + "; visit " + pt + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
@@ -1400,37 +1400,37 @@ function qa(bt, pt, vt, _t) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
return !1;
|
|
1402
1402
|
}
|
|
1403
|
-
function v$
|
|
1403
|
+
function v$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(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$9(bt, 1, !1, bt.toLowerCase(), null, !1, !1);
|
|
1453
1453
|
});
|
|
1454
|
-
z$1.xlinkHref = new v$
|
|
1454
|
+
z$1.xlinkHref = new v$9("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$9(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;
|
|
@@ -1781,7 +1781,7 @@ function fb(bt, pt, vt, _t) {
|
|
|
1781
1781
|
}
|
|
1782
1782
|
function gb(bt, pt) {
|
|
1783
1783
|
if (pt.dangerouslySetInnerHTML != null)
|
|
1784
|
-
throw Error(p$
|
|
1784
|
+
throw Error(p$d(91));
|
|
1785
1785
|
return A$7({}, pt, {
|
|
1786
1786
|
value: void 0,
|
|
1787
1787
|
defaultValue: void 0,
|
|
@@ -1793,10 +1793,10 @@ function hb(bt, pt) {
|
|
|
1793
1793
|
if (vt == null) {
|
|
1794
1794
|
if (vt = pt.children, pt = pt.defaultValue, vt != null) {
|
|
1795
1795
|
if (pt != null)
|
|
1796
|
-
throw Error(p$
|
|
1796
|
+
throw Error(p$d(92));
|
|
1797
1797
|
if (eb(vt)) {
|
|
1798
1798
|
if (1 < vt.length)
|
|
1799
|
-
throw Error(p$
|
|
1799
|
+
throw Error(p$d(93));
|
|
1800
1800
|
vt = vt[0];
|
|
1801
1801
|
}
|
|
1802
1802
|
pt = vt;
|
|
@@ -1937,15 +1937,15 @@ var tb = A$7({
|
|
|
1937
1937
|
function ub(bt, pt) {
|
|
1938
1938
|
if (pt) {
|
|
1939
1939
|
if (tb[bt] && (pt.children != null || pt.dangerouslySetInnerHTML != null))
|
|
1940
|
-
throw Error(p$
|
|
1940
|
+
throw Error(p$d(137, bt));
|
|
1941
1941
|
if (pt.dangerouslySetInnerHTML != null) {
|
|
1942
1942
|
if (pt.children != null)
|
|
1943
|
-
throw Error(p$
|
|
1943
|
+
throw Error(p$d(60));
|
|
1944
1944
|
if (typeof pt.dangerouslySetInnerHTML != "object" || !("__html" in pt.dangerouslySetInnerHTML))
|
|
1945
|
-
throw Error(p$
|
|
1945
|
+
throw Error(p$d(61));
|
|
1946
1946
|
}
|
|
1947
1947
|
if (pt.style != null && typeof pt.style != "object")
|
|
1948
|
-
throw Error(p$
|
|
1948
|
+
throw Error(p$d(62));
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
1951
|
function vb(bt, pt) {
|
|
@@ -1973,7 +1973,7 @@ var yb = null, zb = null, Ab = null;
|
|
|
1973
1973
|
function Bb(bt) {
|
|
1974
1974
|
if (bt = Cb(bt)) {
|
|
1975
1975
|
if (typeof yb != "function")
|
|
1976
|
-
throw Error(p$
|
|
1976
|
+
throw Error(p$d(280));
|
|
1977
1977
|
var pt = bt.stateNode;
|
|
1978
1978
|
pt && (pt = Db(pt), yb(bt.stateNode, bt.type, pt));
|
|
1979
1979
|
}
|
|
@@ -2034,7 +2034,7 @@ function Kb(bt, pt) {
|
|
|
2034
2034
|
if (bt)
|
|
2035
2035
|
return null;
|
|
2036
2036
|
if (vt && typeof vt != "function")
|
|
2037
|
-
throw Error(p$
|
|
2037
|
+
throw Error(p$d(231, pt, typeof vt));
|
|
2038
2038
|
return vt;
|
|
2039
2039
|
}
|
|
2040
2040
|
var Lb = !1;
|
|
@@ -2071,7 +2071,7 @@ function Ub(bt, pt, vt, _t, $t, Rt, Ft, Pt, Bt) {
|
|
|
2071
2071
|
var qt = Pb;
|
|
2072
2072
|
Ob = !1, Pb = null;
|
|
2073
2073
|
} else
|
|
2074
|
-
throw Error(p$
|
|
2074
|
+
throw Error(p$d(198));
|
|
2075
2075
|
Qb || (Qb = !0, Rb = qt);
|
|
2076
2076
|
}
|
|
2077
2077
|
}
|
|
@@ -2098,13 +2098,13 @@ function Wb(bt) {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
function Xb(bt) {
|
|
2100
2100
|
if (Vb(bt) !== bt)
|
|
2101
|
-
throw Error(p$
|
|
2101
|
+
throw Error(p$d(188));
|
|
2102
2102
|
}
|
|
2103
2103
|
function Yb(bt) {
|
|
2104
2104
|
var pt = bt.alternate;
|
|
2105
2105
|
if (!pt) {
|
|
2106
2106
|
if (pt = Vb(bt), pt === null)
|
|
2107
|
-
throw Error(p$
|
|
2107
|
+
throw Error(p$d(188));
|
|
2108
2108
|
return pt !== bt ? null : bt;
|
|
2109
2109
|
}
|
|
2110
2110
|
for (var vt = bt, _t = pt; ; ) {
|
|
@@ -2127,7 +2127,7 @@ function Yb(bt) {
|
|
|
2127
2127
|
return Xb($t), pt;
|
|
2128
2128
|
Rt = Rt.sibling;
|
|
2129
2129
|
}
|
|
2130
|
-
throw Error(p$
|
|
2130
|
+
throw Error(p$d(188));
|
|
2131
2131
|
}
|
|
2132
2132
|
if (vt.return !== _t.return)
|
|
2133
2133
|
vt = $t, _t = Rt;
|
|
@@ -2156,14 +2156,14 @@ function Yb(bt) {
|
|
|
2156
2156
|
Pt = Pt.sibling;
|
|
2157
2157
|
}
|
|
2158
2158
|
if (!Ft)
|
|
2159
|
-
throw Error(p$
|
|
2159
|
+
throw Error(p$d(189));
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
2162
2162
|
if (vt.alternate !== _t)
|
|
2163
|
-
throw Error(p$
|
|
2163
|
+
throw Error(p$d(190));
|
|
2164
2164
|
}
|
|
2165
2165
|
if (vt.tag !== 3)
|
|
2166
|
-
throw Error(p$
|
|
2166
|
+
throw Error(p$d(188));
|
|
2167
2167
|
return vt.stateNode.current === vt ? bt : pt;
|
|
2168
2168
|
}
|
|
2169
2169
|
function Zb(bt) {
|
|
@@ -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) {
|
|
@@ -2817,7 +2817,7 @@ var Qd = A$7({}, ud, {
|
|
|
2817
2817
|
deltaMode: 0
|
|
2818
2818
|
}), Zd = rd(Yd), $d = [9, 13, 27, 32], ae$1 = ia && "CompositionEvent" in window, be = null;
|
|
2819
2819
|
ia && "documentMode" in document && (be = document.documentMode);
|
|
2820
|
-
var ce$1 = ia && "TextEvent" in window && !be, de = ia && (!ae$1 || be && 8 < be && 11 >= be), ee
|
|
2820
|
+
var ce$1 = ia && "TextEvent" in window && !be, de = ia && (!ae$1 || be && 8 < be && 11 >= be), ee = String.fromCharCode(32), fe$1 = !1;
|
|
2821
2821
|
function ge$1(bt, pt) {
|
|
2822
2822
|
switch (bt) {
|
|
2823
2823
|
case "keyup":
|
|
@@ -2841,9 +2841,9 @@ function je(bt, pt) {
|
|
|
2841
2841
|
case "compositionend":
|
|
2842
2842
|
return he$1(pt);
|
|
2843
2843
|
case "keypress":
|
|
2844
|
-
return pt.which !== 32 ? null : (fe$1 = !0, ee
|
|
2844
|
+
return pt.which !== 32 ? null : (fe$1 = !0, ee);
|
|
2845
2845
|
case "textInput":
|
|
2846
|
-
return bt = pt.data, bt === ee
|
|
2846
|
+
return bt = pt.data, bt === ee && fe$1 ? null : bt;
|
|
2847
2847
|
default:
|
|
2848
2848
|
return null;
|
|
2849
2849
|
}
|
|
@@ -2899,7 +2899,7 @@ var pe$1 = null, qe$1 = null;
|
|
|
2899
2899
|
function re$3(bt) {
|
|
2900
2900
|
se$1(bt, 0);
|
|
2901
2901
|
}
|
|
2902
|
-
function te(bt) {
|
|
2902
|
+
function te$1(bt) {
|
|
2903
2903
|
var pt = ue$2(bt);
|
|
2904
2904
|
if (Wa(pt))
|
|
2905
2905
|
return bt;
|
|
@@ -2926,7 +2926,7 @@ function Ae$1() {
|
|
|
2926
2926
|
pe$1 && (pe$1.detachEvent("onpropertychange", Be$1), qe$1 = pe$1 = null);
|
|
2927
2927
|
}
|
|
2928
2928
|
function Be$1(bt) {
|
|
2929
|
-
if (bt.propertyName === "value" && te(qe$1)) {
|
|
2929
|
+
if (bt.propertyName === "value" && te$1(qe$1)) {
|
|
2930
2930
|
var pt = [];
|
|
2931
2931
|
ne$1(pt, qe$1, bt, xb(bt)), Jb(re$3, pt);
|
|
2932
2932
|
}
|
|
@@ -2936,15 +2936,15 @@ function Ce$1(bt, pt, vt) {
|
|
|
2936
2936
|
}
|
|
2937
2937
|
function De$1(bt) {
|
|
2938
2938
|
if (bt === "selectionchange" || bt === "keyup" || bt === "keydown")
|
|
2939
|
-
return te(qe$1);
|
|
2939
|
+
return te$1(qe$1);
|
|
2940
2940
|
}
|
|
2941
2941
|
function Ee(bt, pt) {
|
|
2942
2942
|
if (bt === "click")
|
|
2943
|
-
return te(pt);
|
|
2943
|
+
return te$1(pt);
|
|
2944
2944
|
}
|
|
2945
2945
|
function Fe(bt, pt) {
|
|
2946
2946
|
if (bt === "input" || bt === "change")
|
|
2947
|
-
return te(pt);
|
|
2947
|
+
return te$1(pt);
|
|
2948
2948
|
}
|
|
2949
2949
|
function Ge$1(bt, pt) {
|
|
2950
2950
|
return bt === pt && (bt !== 0 || 1 / bt === 1 / pt) || bt !== bt && pt !== pt;
|
|
@@ -3437,7 +3437,7 @@ function zf(bt) {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
function Af(bt, pt, vt) {
|
|
3439
3439
|
if (pt = zf(pt), zf(bt) !== pt && vt)
|
|
3440
|
-
throw Error(p$
|
|
3440
|
+
throw Error(p$d(425));
|
|
3441
3441
|
}
|
|
3442
3442
|
function Bf() {
|
|
3443
3443
|
}
|
|
@@ -3525,7 +3525,7 @@ function Cb(bt) {
|
|
|
3525
3525
|
function ue$2(bt) {
|
|
3526
3526
|
if (bt.tag === 5 || bt.tag === 6)
|
|
3527
3527
|
return bt.stateNode;
|
|
3528
|
-
throw Error(p$
|
|
3528
|
+
throw Error(p$d(33));
|
|
3529
3529
|
}
|
|
3530
3530
|
function Db(bt) {
|
|
3531
3531
|
return bt[Pf] || null;
|
|
@@ -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
|
|
3566
|
-
throw Error(p$
|
|
3567
|
-
G(H
|
|
3565
|
+
if (H.current !== Vf)
|
|
3566
|
+
throw Error(p$d(168));
|
|
3567
|
+
G(H, pt), G(Wf, vt);
|
|
3568
3568
|
}
|
|
3569
3569
|
function bg$1(bt, pt, vt) {
|
|
3570
3570
|
var _t = bt.stateNode;
|
|
@@ -3573,17 +3573,17 @@ function bg$1(bt, pt, vt) {
|
|
|
3573
3573
|
_t = _t.getChildContext();
|
|
3574
3574
|
for (var $t in _t)
|
|
3575
3575
|
if (!($t in pt))
|
|
3576
|
-
throw Error(p$
|
|
3576
|
+
throw Error(p$d(108, Ra(bt) || "Unknown", $t));
|
|
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
|
-
throw Error(p$
|
|
3586
|
-
vt ? (bt = bg$1(bt, pt, Xf), _t.__reactInternalMemoizedMergedChildContext = bt, E$
|
|
3585
|
+
throw Error(p$d(169));
|
|
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;
|
|
@@ -3674,14 +3674,14 @@ function Eg$1(bt) {
|
|
|
3674
3674
|
var vt = pt;
|
|
3675
3675
|
if (!Cg$1(bt, pt)) {
|
|
3676
3676
|
if (Dg$1(bt))
|
|
3677
|
-
throw Error(p$
|
|
3677
|
+
throw Error(p$d(418));
|
|
3678
3678
|
pt = Lf(vt.nextSibling);
|
|
3679
3679
|
var _t = xg$1;
|
|
3680
3680
|
pt && Cg$1(bt, pt) ? Ag$1(_t, vt) : (bt.flags = bt.flags & -4097 | 2, I$7 = !1, xg$1 = bt);
|
|
3681
3681
|
}
|
|
3682
3682
|
} else {
|
|
3683
3683
|
if (Dg$1(bt))
|
|
3684
|
-
throw Error(p$
|
|
3684
|
+
throw Error(p$d(418));
|
|
3685
3685
|
bt.flags = bt.flags & -4097 | 2, I$7 = !1, xg$1 = bt;
|
|
3686
3686
|
}
|
|
3687
3687
|
}
|
|
@@ -3699,13 +3699,13 @@ function Gg$1(bt) {
|
|
|
3699
3699
|
var pt;
|
|
3700
3700
|
if ((pt = bt.tag !== 3) && !(pt = bt.tag !== 5) && (pt = bt.type, pt = pt !== "head" && pt !== "body" && !Ef(bt.type, bt.memoizedProps)), pt && (pt = yg$1)) {
|
|
3701
3701
|
if (Dg$1(bt))
|
|
3702
|
-
throw Hg$1(), Error(p$
|
|
3702
|
+
throw Hg$1(), Error(p$d(418));
|
|
3703
3703
|
for (; pt; )
|
|
3704
3704
|
Ag$1(bt, pt), pt = Lf(pt.nextSibling);
|
|
3705
3705
|
}
|
|
3706
3706
|
if (Fg$1(bt), bt.tag === 13) {
|
|
3707
3707
|
if (bt = bt.memoizedState, bt = bt !== null ? bt.dehydrated : null, !bt)
|
|
3708
|
-
throw Error(p$
|
|
3708
|
+
throw Error(p$d(317));
|
|
3709
3709
|
e: {
|
|
3710
3710
|
for (bt = bt.nextSibling, pt = 0; bt; ) {
|
|
3711
3711
|
if (bt.nodeType === 8) {
|
|
@@ -3743,11 +3743,11 @@ function Lg$1(bt, pt, vt) {
|
|
|
3743
3743
|
if (vt._owner) {
|
|
3744
3744
|
if (vt = vt._owner, vt) {
|
|
3745
3745
|
if (vt.tag !== 1)
|
|
3746
|
-
throw Error(p$
|
|
3746
|
+
throw Error(p$d(309));
|
|
3747
3747
|
var _t = vt.stateNode;
|
|
3748
3748
|
}
|
|
3749
3749
|
if (!_t)
|
|
3750
|
-
throw Error(p$
|
|
3750
|
+
throw Error(p$d(147, bt));
|
|
3751
3751
|
var $t = _t, Rt = "" + bt;
|
|
3752
3752
|
return pt !== null && pt.ref !== null && typeof pt.ref == "function" && pt.ref._stringRef === Rt ? pt.ref : (pt = function(Ft) {
|
|
3753
3753
|
var Pt = $t.refs;
|
|
@@ -3755,14 +3755,14 @@ function Lg$1(bt, pt, vt) {
|
|
|
3755
3755
|
}, pt._stringRef = Rt, pt);
|
|
3756
3756
|
}
|
|
3757
3757
|
if (typeof bt != "string")
|
|
3758
|
-
throw Error(p$
|
|
3758
|
+
throw Error(p$d(284));
|
|
3759
3759
|
if (!vt._owner)
|
|
3760
|
-
throw Error(p$
|
|
3760
|
+
throw Error(p$d(290, bt));
|
|
3761
3761
|
}
|
|
3762
3762
|
return bt;
|
|
3763
3763
|
}
|
|
3764
3764
|
function Mg(bt, pt) {
|
|
3765
|
-
throw bt = Object.prototype.toString.call(pt), Error(p$
|
|
3765
|
+
throw bt = Object.prototype.toString.call(pt), Error(p$d(31, bt === "[object Object]" ? "object with keys {" + Object.keys(pt).join(", ") + "}" : bt));
|
|
3766
3766
|
}
|
|
3767
3767
|
function Ng(bt) {
|
|
3768
3768
|
var pt = bt._init;
|
|
@@ -3892,9 +3892,9 @@ function Og$1(bt) {
|
|
|
3892
3892
|
function rr(sr, ar, or, ur) {
|
|
3893
3893
|
var cr = Ka(or);
|
|
3894
3894
|
if (typeof cr != "function")
|
|
3895
|
-
throw Error(p$
|
|
3895
|
+
throw Error(p$d(150));
|
|
3896
3896
|
if (or = cr.call(or), or == null)
|
|
3897
|
-
throw Error(p$
|
|
3897
|
+
throw Error(p$d(151));
|
|
3898
3898
|
for (var dr = cr = null, pr = ar, mr = ar = 0, vr = null, wr = or.next(); pr !== null && !wr.done; mr++, wr = or.next()) {
|
|
3899
3899
|
pr.index > mr ? (vr = pr, pr = null) : vr = pr.sibling;
|
|
3900
3900
|
var Vt = Zt(sr, pr, wr.value, ur);
|
|
@@ -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; ) {
|
|
@@ -4001,7 +4001,7 @@ function eh(bt) {
|
|
|
4001
4001
|
next: null
|
|
4002
4002
|
}, Yg$1 === null) {
|
|
4003
4003
|
if (Xg$1 === null)
|
|
4004
|
-
throw Error(p$
|
|
4004
|
+
throw Error(p$d(308));
|
|
4005
4005
|
Yg$1 = bt, Xg$1.dependencies = {
|
|
4006
4006
|
lanes: 0,
|
|
4007
4007
|
firstContext: bt
|
|
@@ -4182,7 +4182,7 @@ function sh(bt, pt, vt) {
|
|
|
4182
4182
|
var _t = bt[pt], $t = _t.callback;
|
|
4183
4183
|
if ($t !== null) {
|
|
4184
4184
|
if (_t.callback = null, _t = vt, typeof $t != "function")
|
|
4185
|
-
throw Error(p$
|
|
4185
|
+
throw Error(p$d(191, $t));
|
|
4186
4186
|
$t.call(_t);
|
|
4187
4187
|
}
|
|
4188
4188
|
}
|
|
@@ -4190,7 +4190,7 @@ function sh(bt, pt, vt) {
|
|
|
4190
4190
|
var th = {}, uh = Uf(th), vh = Uf(th), wh = Uf(th);
|
|
4191
4191
|
function xh(bt) {
|
|
4192
4192
|
if (bt === th)
|
|
4193
|
-
throw Error(p$
|
|
4193
|
+
throw Error(p$d(174));
|
|
4194
4194
|
return bt;
|
|
4195
4195
|
}
|
|
4196
4196
|
function yh(bt, pt) {
|
|
@@ -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,8 +4247,8 @@ 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$
|
|
4251
|
-
throw Error(p$
|
|
4250
|
+
function P$2() {
|
|
4251
|
+
throw Error(p$d(321));
|
|
4252
4252
|
}
|
|
4253
4253
|
function Mh(bt, pt) {
|
|
4254
4254
|
if (pt === null)
|
|
@@ -4263,12 +4263,12 @@ function Nh(bt, pt, vt, _t, $t, Rt) {
|
|
|
4263
4263
|
Rt = 0;
|
|
4264
4264
|
do {
|
|
4265
4265
|
if (Jh = !1, Kh = 0, 25 <= Rt)
|
|
4266
|
-
throw Error(p$
|
|
4266
|
+
throw Error(p$d(301));
|
|
4267
4267
|
Rt += 1, O$1 = N$1 = null, pt.updateQueue = null, Fh.current = Qh, bt = vt(_t, $t);
|
|
4268
4268
|
} while (Jh);
|
|
4269
4269
|
}
|
|
4270
4270
|
if (Fh.current = Rh, pt = N$1 !== null && N$1.next !== null, Hh = 0, O$1 = N$1 = M$4 = null, Ih = !1, pt)
|
|
4271
|
-
throw Error(p$
|
|
4271
|
+
throw Error(p$d(300));
|
|
4272
4272
|
return bt;
|
|
4273
4273
|
}
|
|
4274
4274
|
function Sh() {
|
|
@@ -4296,7 +4296,7 @@ function Uh() {
|
|
|
4296
4296
|
O$1 = pt, N$1 = bt;
|
|
4297
4297
|
else {
|
|
4298
4298
|
if (bt === null)
|
|
4299
|
-
throw Error(p$
|
|
4299
|
+
throw Error(p$d(310));
|
|
4300
4300
|
N$1 = bt, bt = {
|
|
4301
4301
|
memoizedState: N$1.memoizedState,
|
|
4302
4302
|
baseState: N$1.baseState,
|
|
@@ -4313,7 +4313,7 @@ function Vh(bt, pt) {
|
|
|
4313
4313
|
function Wh(bt) {
|
|
4314
4314
|
var pt = Uh(), vt = pt.queue;
|
|
4315
4315
|
if (vt === null)
|
|
4316
|
-
throw Error(p$
|
|
4316
|
+
throw Error(p$d(311));
|
|
4317
4317
|
vt.lastRenderedReducer = bt;
|
|
4318
4318
|
var _t = N$1, $t = _t.baseQueue, Rt = vt.pending;
|
|
4319
4319
|
if (Rt !== null) {
|
|
@@ -4362,7 +4362,7 @@ function Wh(bt) {
|
|
|
4362
4362
|
function Xh(bt) {
|
|
4363
4363
|
var pt = Uh(), vt = pt.queue;
|
|
4364
4364
|
if (vt === null)
|
|
4365
|
-
throw Error(p$
|
|
4365
|
+
throw Error(p$d(311));
|
|
4366
4366
|
vt.lastRenderedReducer = bt;
|
|
4367
4367
|
var _t = vt.dispatch, $t = vt.pending, Rt = pt.memoizedState;
|
|
4368
4368
|
if ($t !== null) {
|
|
@@ -4380,8 +4380,8 @@ function Yh() {
|
|
|
4380
4380
|
function Zh(bt, pt) {
|
|
4381
4381
|
var vt = M$4, _t = Uh(), $t = pt(), Rt = !He$1(_t.memoizedState, $t);
|
|
4382
4382
|
if (Rt && (_t.memoizedState = $t, dh = !0), _t = _t.queue, $h(ai$1.bind(null, vt, _t, bt), [bt]), _t.getSnapshot !== pt || Rt || O$1 !== null && O$1.memoizedState.tag & 1) {
|
|
4383
|
-
if (vt.flags |= 2048, bi$1(9, ci$1.bind(null, vt, _t, $t, pt), void 0, null), Q
|
|
4384
|
-
throw Error(p$
|
|
4383
|
+
if (vt.flags |= 2048, bi$1(9, ci$1.bind(null, vt, _t, $t, pt), void 0, null), Q === null)
|
|
4384
|
+
throw Error(p$d(349));
|
|
4385
4385
|
Hh & 30 || di(vt, pt, $t);
|
|
4386
4386
|
}
|
|
4387
4387
|
return $t;
|
|
@@ -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,
|
|
@@ -4643,11 +4643,11 @@ var Rh = {
|
|
|
4643
4643
|
var _t = M$4, $t = Th();
|
|
4644
4644
|
if (I$7) {
|
|
4645
4645
|
if (vt === void 0)
|
|
4646
|
-
throw Error(p$
|
|
4646
|
+
throw Error(p$d(407));
|
|
4647
4647
|
vt = vt();
|
|
4648
4648
|
} else {
|
|
4649
|
-
if (vt = pt(), Q
|
|
4650
|
-
throw Error(p$
|
|
4649
|
+
if (vt = pt(), Q === null)
|
|
4650
|
+
throw Error(p$d(349));
|
|
4651
4651
|
Hh & 30 || di(_t, pt, vt);
|
|
4652
4652
|
}
|
|
4653
4653
|
$t.memoizedState = vt;
|
|
@@ -4658,7 +4658,7 @@ var Rh = {
|
|
|
4658
4658
|
return $t.queue = Rt, mi$1(ai$1.bind(null, _t, Rt, bt), [bt]), _t.flags |= 2048, bi$1(9, ci$1.bind(null, _t, Rt, vt, pt), void 0, null), vt;
|
|
4659
4659
|
},
|
|
4660
4660
|
useId: function() {
|
|
4661
|
-
var bt = Th(), pt = Q
|
|
4661
|
+
var bt = Th(), pt = Q.identifierPrefix;
|
|
4662
4662
|
if (I$7) {
|
|
4663
4663
|
var vt = sg$1, _t = rg$1;
|
|
4664
4664
|
vt = (_t & ~(1 << 32 - oc(_t) - 1)).toString(32) + vt, pt = ":" + pt + "R" + vt, vt = Kh++, 0 < vt && (pt += "H" + vt.toString(32)), pt += ":";
|
|
@@ -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
|
|
@@ -5015,7 +5015,7 @@ function sj$1(bt, pt, vt, _t) {
|
|
|
5015
5015
|
}
|
|
5016
5016
|
function rj$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
5017
5017
|
if (vt)
|
|
5018
|
-
return pt.flags & 256 ? (pt.flags &= -257, _t = Ki$1(Error(p$
|
|
5018
|
+
return pt.flags & 256 ? (pt.flags &= -257, _t = Ki$1(Error(p$d(422))), sj$1(bt, pt, Ft, _t)) : pt.memoizedState !== null ? (pt.child = bt.child, pt.flags |= 128, null) : (Rt = _t.fallback, $t = pt.mode, _t = pj({
|
|
5019
5019
|
mode: "visible",
|
|
5020
5020
|
children: _t.children
|
|
5021
5021
|
}, $t, 0, null), Rt = Tg$1(Rt, $t, Ft, null), Rt.flags |= 2, _t.return = pt, Rt.return = pt, _t.sibling = Rt, pt.child = _t, pt.mode & 1 && Ug$1(pt, bt.child, null, Ft), pt.child.memoizedState = nj$1(Ft), pt.memoizedState = mj, Rt);
|
|
@@ -5024,10 +5024,10 @@ function rj$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
|
5024
5024
|
if ($t.data === "$!") {
|
|
5025
5025
|
if (_t = $t.nextSibling && $t.nextSibling.dataset, _t)
|
|
5026
5026
|
var Pt = _t.dgst;
|
|
5027
|
-
return _t = Pt, Rt = Error(p$
|
|
5027
|
+
return _t = Pt, Rt = Error(p$d(419)), _t = Ki$1(Rt, _t, void 0), sj$1(bt, pt, Ft, _t);
|
|
5028
5028
|
}
|
|
5029
5029
|
if (Pt = (Ft & bt.childLanes) !== 0, dh || Pt) {
|
|
5030
|
-
if (_t = Q
|
|
5030
|
+
if (_t = Q, _t !== null) {
|
|
5031
5031
|
switch (Ft & -Ft) {
|
|
5032
5032
|
case 4:
|
|
5033
5033
|
$t = 2;
|
|
@@ -5066,7 +5066,7 @@ function rj$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
|
5066
5066
|
}
|
|
5067
5067
|
$t = $t & (_t.suspendedLanes | Ft) ? 0 : $t, $t !== 0 && $t !== Rt.retryLane && (Rt.retryLane = $t, ih(bt, $t), gi(_t, bt, $t, -1));
|
|
5068
5068
|
}
|
|
5069
|
-
return tj$1(), _t = Ki$1(Error(p$
|
|
5069
|
+
return tj$1(), _t = Ki$1(Error(p$d(421))), sj$1(bt, pt, Ft, _t);
|
|
5070
5070
|
}
|
|
5071
5071
|
return $t.data === "$?" ? (pt.flags |= 128, pt.child = bt.child, pt = uj$1.bind(null, bt), $t._reactRetry = pt, null) : (bt = Rt.treeContext, yg$1 = Lf($t.nextSibling), xg$1 = pt, I$7 = !0, zg$1 = null, bt !== null && (og$1[pg$1++] = rg$1, og$1[pg$1++] = sg$1, og$1[pg$1++] = qg$1, rg$1 = bt.id, sg$1 = bt.overflow, qg$1 = pt), pt = qj$1(pt, _t.children), pt.flags |= 4096, pt);
|
|
5072
5072
|
}
|
|
@@ -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) {
|
|
@@ -5147,7 +5147,7 @@ function Zi$1(bt, pt, vt) {
|
|
|
5147
5147
|
if (bt !== null && (pt.dependencies = bt.dependencies), rh |= pt.lanes, !(vt & pt.childLanes))
|
|
5148
5148
|
return null;
|
|
5149
5149
|
if (bt !== null && pt.child !== bt.child)
|
|
5150
|
-
throw Error(p$
|
|
5150
|
+
throw Error(p$d(153));
|
|
5151
5151
|
if (pt.child !== null) {
|
|
5152
5152
|
for (bt = pt.child, vt = Pg$1(bt, bt.pendingProps), pt.child = vt, vt.return = pt; bt.sibling !== null; )
|
|
5153
5153
|
bt = bt.sibling, vt = vt.sibling = Pg$1(bt, bt.pendingProps), vt.return = pt;
|
|
@@ -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);
|
|
@@ -5321,8 +5321,8 @@ function Ej$1(bt, pt, vt) {
|
|
|
5321
5321
|
else {
|
|
5322
5322
|
if (!_t) {
|
|
5323
5323
|
if (pt.stateNode === null)
|
|
5324
|
-
throw Error(p$
|
|
5325
|
-
return S$
|
|
5324
|
+
throw Error(p$d(166));
|
|
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,13 +5473,13 @@ 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);
|
|
5480
5480
|
else {
|
|
5481
5481
|
if (typeof _t != "string" && pt.stateNode === null)
|
|
5482
|
-
throw Error(p$
|
|
5482
|
+
throw Error(p$d(166));
|
|
5483
5483
|
if (vt = xh(wh.current), xh(uh.current), Gg$1(pt)) {
|
|
5484
5484
|
if (_t = pt.stateNode, vt = pt.memoizedProps, _t[Of] = pt, (Rt = _t.nodeValue !== vt) && (bt = xg$1, bt !== null))
|
|
5485
5485
|
switch (bt.tag) {
|
|
@@ -5493,41 +5493,41 @@ 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) {
|
|
5502
5502
|
if (bt === null) {
|
|
5503
5503
|
if (!Rt)
|
|
5504
|
-
throw Error(p$
|
|
5504
|
+
throw Error(p$d(318));
|
|
5505
5505
|
if (Rt = pt.memoizedState, Rt = Rt !== null ? Rt.dehydrated : null, !Rt)
|
|
5506
|
-
throw Error(p$
|
|
5506
|
+
throw Error(p$d(317));
|
|
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$6 === 0 && (T$6 = 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);
|
|
5529
5529
|
else {
|
|
5530
|
-
if (T$
|
|
5530
|
+
if (T$6 !== 0 || bt !== null && bt.flags & 128)
|
|
5531
5531
|
for (bt = pt.child; bt !== null; ) {
|
|
5532
5532
|
if (Ft = Ch(bt), Ft !== null) {
|
|
5533
5533
|
for (pt.flags |= 128, Dj$1(Rt, !1), _t = Ft.updateQueue, _t !== null && (pt.updateQueue = _t, pt.flags |= 4), pt.subtreeFlags = 0, _t = vt, vt = pt.child; vt !== null; )
|
|
@@ -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,39 +5545,39 @@ 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:
|
|
5560
5560
|
return null;
|
|
5561
5561
|
}
|
|
5562
|
-
throw Error(p$
|
|
5562
|
+
throw Error(p$d(156, pt.tag));
|
|
5563
5563
|
}
|
|
5564
5564
|
function Ij(bt, pt) {
|
|
5565
5565
|
switch (wg$1(pt), pt.tag) {
|
|
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
|
-
throw Error(p$
|
|
5575
|
+
throw Error(p$d(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:
|
|
@@ -5591,7 +5591,7 @@ function Ij(bt, pt) {
|
|
|
5591
5591
|
return null;
|
|
5592
5592
|
}
|
|
5593
5593
|
}
|
|
5594
|
-
var Jj$1 = !1, U = !1, Kj$1 = typeof WeakSet == "function" ? WeakSet : Set, V$
|
|
5594
|
+
var Jj$1 = !1, U = !1, Kj$1 = typeof WeakSet == "function" ? WeakSet : Set, V$2 = null;
|
|
5595
5595
|
function Lj$1(bt, pt) {
|
|
5596
5596
|
var vt = bt.ref;
|
|
5597
5597
|
if (vt !== null)
|
|
@@ -5663,12 +5663,12 @@ function Oj$1(bt, pt) {
|
|
|
5663
5663
|
for (Df = {
|
|
5664
5664
|
focusedElem: bt,
|
|
5665
5665
|
selectionRange: vt
|
|
5666
|
-
}, dd = !1, V$
|
|
5667
|
-
if (pt = V$
|
|
5668
|
-
bt.return = pt, V$
|
|
5666
|
+
}, dd = !1, V$2 = pt; V$2 !== null; )
|
|
5667
|
+
if (pt = V$2, bt = pt.child, (pt.subtreeFlags & 1028) !== 0 && bt !== null)
|
|
5668
|
+
bt.return = pt, V$2 = bt;
|
|
5669
5669
|
else
|
|
5670
|
-
for (; V$
|
|
5671
|
-
pt = V$
|
|
5670
|
+
for (; V$2 !== null; ) {
|
|
5671
|
+
pt = V$2;
|
|
5672
5672
|
try {
|
|
5673
5673
|
var Kt = pt.alternate;
|
|
5674
5674
|
if (pt.flags & 1024)
|
|
@@ -5693,16 +5693,16 @@ function Oj$1(bt, pt) {
|
|
|
5693
5693
|
case 17:
|
|
5694
5694
|
break;
|
|
5695
5695
|
default:
|
|
5696
|
-
throw Error(p$
|
|
5696
|
+
throw Error(p$d(163));
|
|
5697
5697
|
}
|
|
5698
5698
|
} catch (ur) {
|
|
5699
5699
|
W$3(pt, pt.return, ur);
|
|
5700
5700
|
}
|
|
5701
5701
|
if (bt = pt.sibling, bt !== null) {
|
|
5702
|
-
bt.return = pt.return, V$
|
|
5702
|
+
bt.return = pt.return, V$2 = bt;
|
|
5703
5703
|
break;
|
|
5704
5704
|
}
|
|
5705
|
-
V$
|
|
5705
|
+
V$2 = pt.return;
|
|
5706
5706
|
}
|
|
5707
5707
|
return Kt = Nj$1, Nj$1 = !1, Kt;
|
|
5708
5708
|
}
|
|
@@ -5875,7 +5875,7 @@ function ck(bt, pt) {
|
|
|
5875
5875
|
Pt = Pt.return;
|
|
5876
5876
|
}
|
|
5877
5877
|
if (X$2 === null)
|
|
5878
|
-
throw Error(p$
|
|
5878
|
+
throw Error(p$d(160));
|
|
5879
5879
|
Zj$1(Rt, Ft, $t), X$2 = null, Xj$1 = !1;
|
|
5880
5880
|
var Bt = $t.alternate;
|
|
5881
5881
|
Bt !== null && (Bt.return = null), $t.return = null;
|
|
@@ -5951,7 +5951,7 @@ function dk(bt, pt) {
|
|
|
5951
5951
|
case 6:
|
|
5952
5952
|
if (ck(pt, bt), ek(bt), _t & 4) {
|
|
5953
5953
|
if (bt.stateNode === null)
|
|
5954
|
-
throw Error(p$
|
|
5954
|
+
throw Error(p$d(162));
|
|
5955
5955
|
$t = bt.stateNode, Rt = bt.memoizedProps;
|
|
5956
5956
|
try {
|
|
5957
5957
|
$t.nodeValue = Rt;
|
|
@@ -5977,9 +5977,9 @@ function dk(bt, pt) {
|
|
|
5977
5977
|
case 22:
|
|
5978
5978
|
if (Ht = vt !== null && vt.memoizedState !== null, bt.mode & 1 ? (U = (qt = U) || Ht, ck(pt, bt), U = qt) : ck(pt, bt), ek(bt), _t & 8192) {
|
|
5979
5979
|
if (qt = bt.memoizedState !== null, (bt.stateNode.isHidden = qt) && !Ht && bt.mode & 1)
|
|
5980
|
-
for (V$
|
|
5981
|
-
for (Gt = V$
|
|
5982
|
-
switch (Zt = V$
|
|
5980
|
+
for (V$2 = bt, Ht = bt.child; Ht !== null; ) {
|
|
5981
|
+
for (Gt = V$2 = Ht; V$2 !== null; ) {
|
|
5982
|
+
switch (Zt = V$2, Jt = Zt.child, Zt.tag) {
|
|
5983
5983
|
case 0:
|
|
5984
5984
|
case 11:
|
|
5985
5985
|
case 14:
|
|
@@ -6007,7 +6007,7 @@ function dk(bt, pt) {
|
|
|
6007
6007
|
continue;
|
|
6008
6008
|
}
|
|
6009
6009
|
}
|
|
6010
|
-
Jt !== null ? (Jt.return = Zt, V$
|
|
6010
|
+
Jt !== null ? (Jt.return = Zt, V$2 = Jt) : gk(Gt);
|
|
6011
6011
|
}
|
|
6012
6012
|
Ht = Ht.sibling;
|
|
6013
6013
|
}
|
|
@@ -6065,7 +6065,7 @@ function ek(bt) {
|
|
|
6065
6065
|
}
|
|
6066
6066
|
vt = vt.return;
|
|
6067
6067
|
}
|
|
6068
|
-
throw Error(p$
|
|
6068
|
+
throw Error(p$d(160));
|
|
6069
6069
|
}
|
|
6070
6070
|
switch (_t.tag) {
|
|
6071
6071
|
case 5:
|
|
@@ -6080,7 +6080,7 @@ function ek(bt) {
|
|
|
6080
6080
|
Vj$1(bt, Pt, Ft);
|
|
6081
6081
|
break;
|
|
6082
6082
|
default:
|
|
6083
|
-
throw Error(p$
|
|
6083
|
+
throw Error(p$d(161));
|
|
6084
6084
|
}
|
|
6085
6085
|
} catch (Bt) {
|
|
6086
6086
|
W$3(bt, bt.return, Bt);
|
|
@@ -6090,11 +6090,11 @@ function ek(bt) {
|
|
|
6090
6090
|
pt & 4096 && (bt.flags &= -4097);
|
|
6091
6091
|
}
|
|
6092
6092
|
function hk(bt, pt, vt) {
|
|
6093
|
-
V$
|
|
6093
|
+
V$2 = bt, ik(bt);
|
|
6094
6094
|
}
|
|
6095
6095
|
function ik(bt, pt, vt) {
|
|
6096
|
-
for (var _t = (bt.mode & 1) !== 0; V$
|
|
6097
|
-
var $t = V$
|
|
6096
|
+
for (var _t = (bt.mode & 1) !== 0; V$2 !== null; ) {
|
|
6097
|
+
var $t = V$2, Rt = $t.child;
|
|
6098
6098
|
if ($t.tag === 22 && _t) {
|
|
6099
6099
|
var Ft = $t.memoizedState !== null || Jj$1;
|
|
6100
6100
|
if (!Ft) {
|
|
@@ -6102,20 +6102,20 @@ function ik(bt, pt, vt) {
|
|
|
6102
6102
|
Pt = Jj$1;
|
|
6103
6103
|
var qt = U;
|
|
6104
6104
|
if (Jj$1 = Ft, (U = Bt) && !qt)
|
|
6105
|
-
for (V$
|
|
6106
|
-
Ft = V$
|
|
6105
|
+
for (V$2 = $t; V$2 !== null; )
|
|
6106
|
+
Ft = V$2, Bt = Ft.child, Ft.tag === 22 && Ft.memoizedState !== null ? jk($t) : Bt !== null ? (Bt.return = Ft, V$2 = Bt) : jk($t);
|
|
6107
6107
|
for (; Rt !== null; )
|
|
6108
|
-
V$
|
|
6109
|
-
V$
|
|
6108
|
+
V$2 = Rt, ik(Rt), Rt = Rt.sibling;
|
|
6109
|
+
V$2 = $t, Jj$1 = Pt, U = qt;
|
|
6110
6110
|
}
|
|
6111
6111
|
kk(bt);
|
|
6112
6112
|
} else
|
|
6113
|
-
$t.subtreeFlags & 8772 && Rt !== null ? (Rt.return = $t, V$
|
|
6113
|
+
$t.subtreeFlags & 8772 && Rt !== null ? (Rt.return = $t, V$2 = Rt) : kk(bt);
|
|
6114
6114
|
}
|
|
6115
6115
|
}
|
|
6116
6116
|
function kk(bt) {
|
|
6117
|
-
for (; V$
|
|
6118
|
-
var pt = V$
|
|
6117
|
+
for (; V$2 !== null; ) {
|
|
6118
|
+
var pt = V$2;
|
|
6119
6119
|
if (pt.flags & 8772) {
|
|
6120
6120
|
var vt = pt.alternate;
|
|
6121
6121
|
try {
|
|
@@ -6195,7 +6195,7 @@ function kk(bt) {
|
|
|
6195
6195
|
case 25:
|
|
6196
6196
|
break;
|
|
6197
6197
|
default:
|
|
6198
|
-
throw Error(p$
|
|
6198
|
+
throw Error(p$d(163));
|
|
6199
6199
|
}
|
|
6200
6200
|
U || pt.flags & 512 && Rj$1(pt);
|
|
6201
6201
|
} catch (Zt) {
|
|
@@ -6203,34 +6203,34 @@ function kk(bt) {
|
|
|
6203
6203
|
}
|
|
6204
6204
|
}
|
|
6205
6205
|
if (pt === bt) {
|
|
6206
|
-
V$
|
|
6206
|
+
V$2 = null;
|
|
6207
6207
|
break;
|
|
6208
6208
|
}
|
|
6209
6209
|
if (vt = pt.sibling, vt !== null) {
|
|
6210
|
-
vt.return = pt.return, V$
|
|
6210
|
+
vt.return = pt.return, V$2 = vt;
|
|
6211
6211
|
break;
|
|
6212
6212
|
}
|
|
6213
|
-
V$
|
|
6213
|
+
V$2 = pt.return;
|
|
6214
6214
|
}
|
|
6215
6215
|
}
|
|
6216
6216
|
function gk(bt) {
|
|
6217
|
-
for (; V$
|
|
6218
|
-
var pt = V$
|
|
6217
|
+
for (; V$2 !== null; ) {
|
|
6218
|
+
var pt = V$2;
|
|
6219
6219
|
if (pt === bt) {
|
|
6220
|
-
V$
|
|
6220
|
+
V$2 = null;
|
|
6221
6221
|
break;
|
|
6222
6222
|
}
|
|
6223
6223
|
var vt = pt.sibling;
|
|
6224
6224
|
if (vt !== null) {
|
|
6225
|
-
vt.return = pt.return, V$
|
|
6225
|
+
vt.return = pt.return, V$2 = vt;
|
|
6226
6226
|
break;
|
|
6227
6227
|
}
|
|
6228
|
-
V$
|
|
6228
|
+
V$2 = pt.return;
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
6231
|
function jk(bt) {
|
|
6232
|
-
for (; V$
|
|
6233
|
-
var pt = V$
|
|
6232
|
+
for (; V$2 !== null; ) {
|
|
6233
|
+
var pt = V$2;
|
|
6234
6234
|
try {
|
|
6235
6235
|
switch (pt.tag) {
|
|
6236
6236
|
case 0:
|
|
@@ -6272,33 +6272,33 @@ function jk(bt) {
|
|
|
6272
6272
|
W$3(pt, pt.return, Bt);
|
|
6273
6273
|
}
|
|
6274
6274
|
if (pt === bt) {
|
|
6275
|
-
V$
|
|
6275
|
+
V$2 = null;
|
|
6276
6276
|
break;
|
|
6277
6277
|
}
|
|
6278
6278
|
var Pt = pt.sibling;
|
|
6279
6279
|
if (Pt !== null) {
|
|
6280
|
-
Pt.return = pt.return, V$
|
|
6280
|
+
Pt.return = pt.return, V$2 = Pt;
|
|
6281
6281
|
break;
|
|
6282
6282
|
}
|
|
6283
|
-
V$
|
|
6283
|
+
V$2 = 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$4 = 0, Q
|
|
6286
|
+
var lk = Math.ceil, mk = ua$1.ReactCurrentDispatcher, nk = ua$1.ReactCurrentOwner, ok$2 = ua$1.ReactCurrentBatchConfig, K$4 = 0, Q = null, Y$1 = null, Z = 0, fj = 0, ej$1 = Uf(0), T$6 = 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
6288
|
return K$4 & 6 ? B$3() : Ak !== -1 ? Ak : Ak = B$3();
|
|
6289
6289
|
}
|
|
6290
6290
|
function yi(bt) {
|
|
6291
|
-
return bt.mode & 1 ? K$4 & 2 && Z !== 0 ? Z & -Z : Kg$1.transition !== null ? (Bk === 0 && (Bk = yc()), Bk) : (bt = C$
|
|
6291
|
+
return bt.mode & 1 ? K$4 & 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
|
-
throw yk = 0, zk = null, Error(p$
|
|
6296
|
-
Ac(bt, vt, _t), (!(K$4 & 2) || bt !== Q
|
|
6295
|
+
throw yk = 0, zk = null, Error(p$d(185));
|
|
6296
|
+
Ac(bt, vt, _t), (!(K$4 & 2) || bt !== Q) && (bt === Q && (!(K$4 & 2) && (qk |= vt), T$6 === 4 && Ck(bt, Z)), Dk(bt, _t), vt === 1 && K$4 === 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;
|
|
6300
6300
|
wc(bt, pt);
|
|
6301
|
-
var _t = uc(bt, bt === Q
|
|
6301
|
+
var _t = uc(bt, bt === Q ? Z : 0);
|
|
6302
6302
|
if (_t === 0)
|
|
6303
6303
|
vt !== null && bc(vt), bt.callbackNode = null, bt.callbackPriority = 0;
|
|
6304
6304
|
else if (pt = _t & -_t, bt.callbackPriority !== pt) {
|
|
@@ -6330,11 +6330,11 @@ function Dk(bt, pt) {
|
|
|
6330
6330
|
}
|
|
6331
6331
|
function Gk(bt, pt) {
|
|
6332
6332
|
if (Ak = -1, Bk = 0, K$4 & 6)
|
|
6333
|
-
throw Error(p$
|
|
6333
|
+
throw Error(p$d(327));
|
|
6334
6334
|
var vt = bt.callbackNode;
|
|
6335
6335
|
if (Hk() && bt.callbackNode !== vt)
|
|
6336
6336
|
return null;
|
|
6337
|
-
var _t = uc(bt, bt === Q
|
|
6337
|
+
var _t = uc(bt, bt === Q ? Z : 0);
|
|
6338
6338
|
if (_t === 0)
|
|
6339
6339
|
return null;
|
|
6340
6340
|
if (_t & 30 || _t & bt.expiredLanes || pt)
|
|
@@ -6344,7 +6344,7 @@ function Gk(bt, pt) {
|
|
|
6344
6344
|
var $t = K$4;
|
|
6345
6345
|
K$4 |= 2;
|
|
6346
6346
|
var Rt = Jk();
|
|
6347
|
-
(Q
|
|
6347
|
+
(Q !== bt || Z !== pt) && (uk = null, Gj$1 = B$3() + 500, Kk(bt, pt));
|
|
6348
6348
|
do
|
|
6349
6349
|
try {
|
|
6350
6350
|
Lk();
|
|
@@ -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$4 = $t, Y !== null ? pt = 0 : (Q
|
|
6356
|
+
$g$1(), mk.current = Rt, K$4 = $t, Y$1 !== null ? pt = 0 : (Q = null, Z = 0, pt = T$6);
|
|
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)
|
|
@@ -6366,7 +6366,7 @@ function Gk(bt, pt) {
|
|
|
6366
6366
|
switch (bt.finishedWork = $t, bt.finishedLanes = _t, pt) {
|
|
6367
6367
|
case 0:
|
|
6368
6368
|
case 1:
|
|
6369
|
-
throw Error(p$
|
|
6369
|
+
throw Error(p$d(345));
|
|
6370
6370
|
case 2:
|
|
6371
6371
|
Pk(bt, tk, uk);
|
|
6372
6372
|
break;
|
|
@@ -6400,7 +6400,7 @@ function Gk(bt, pt) {
|
|
|
6400
6400
|
Pk(bt, tk, uk);
|
|
6401
6401
|
break;
|
|
6402
6402
|
default:
|
|
6403
|
-
throw Error(p$
|
|
6403
|
+
throw Error(p$d(329));
|
|
6404
6404
|
}
|
|
6405
6405
|
}
|
|
6406
6406
|
}
|
|
@@ -6452,7 +6452,7 @@ function Ck(bt, pt) {
|
|
|
6452
6452
|
}
|
|
6453
6453
|
function Ek(bt) {
|
|
6454
6454
|
if (K$4 & 6)
|
|
6455
|
-
throw Error(p$
|
|
6455
|
+
throw Error(p$d(327));
|
|
6456
6456
|
Hk();
|
|
6457
6457
|
var pt = uc(bt, 0);
|
|
6458
6458
|
if (!(pt & 1))
|
|
@@ -6465,7 +6465,7 @@ function Ek(bt) {
|
|
|
6465
6465
|
if (vt === 1)
|
|
6466
6466
|
throw vt = pk, Kk(bt, 0), Ck(bt, pt), Dk(bt, B$3()), vt;
|
|
6467
6467
|
if (vt === 6)
|
|
6468
|
-
throw Error(p$
|
|
6468
|
+
throw Error(p$d(345));
|
|
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) {
|
|
@@ -6481,29 +6481,29 @@ function Rk(bt) {
|
|
|
6481
6481
|
wk !== null && wk.tag === 0 && !(K$4 & 6) && Hk();
|
|
6482
6482
|
var pt = K$4;
|
|
6483
6483
|
K$4 |= 1;
|
|
6484
|
-
var vt = ok$2.transition, _t = C$
|
|
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$4 = pt, !(K$4 & 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;
|
|
6497
6497
|
var vt = bt.timeoutHandle;
|
|
6498
|
-
if (vt !== -1 && (bt.timeoutHandle = -1, Gf(vt)), Y !== null)
|
|
6499
|
-
for (vt = Y.return; vt !== null; ) {
|
|
6498
|
+
if (vt !== -1 && (bt.timeoutHandle = -1, Gf(vt)), Y$1 !== null)
|
|
6499
|
+
for (vt = Y$1.return; vt !== null; ) {
|
|
6500
6500
|
var _t = vt;
|
|
6501
6501
|
switch (wg$1(_t), _t.tag) {
|
|
6502
6502
|
case 1:
|
|
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);
|
|
@@ -6526,7 +6526,7 @@ function Kk(bt, pt) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
vt = vt.return;
|
|
6528
6528
|
}
|
|
6529
|
-
if (Q
|
|
6529
|
+
if (Q = bt, Y$1 = bt = Pg$1(bt.current, null), Z = fj = pt, T$6 = 0, pk = null, rk = qk = rh = 0, tk = sk = null, fh !== null) {
|
|
6530
6530
|
for (pt = 0; pt < fh.length; pt++)
|
|
6531
6531
|
if (vt = fh[pt], _t = vt.interleaved, _t !== null) {
|
|
6532
6532
|
vt.interleaved = null;
|
|
@@ -6543,7 +6543,7 @@ function Kk(bt, pt) {
|
|
|
6543
6543
|
}
|
|
6544
6544
|
function Mk(bt, pt) {
|
|
6545
6545
|
do {
|
|
6546
|
-
var vt = Y;
|
|
6546
|
+
var vt = Y$1;
|
|
6547
6547
|
try {
|
|
6548
6548
|
if ($g$1(), Fh.current = Rh, Ih) {
|
|
6549
6549
|
for (var _t = M$4.memoizedState; _t !== null; ) {
|
|
@@ -6553,7 +6553,7 @@ function Mk(bt, pt) {
|
|
|
6553
6553
|
Ih = !1;
|
|
6554
6554
|
}
|
|
6555
6555
|
if (Hh = 0, O$1 = N$1 = M$4 = null, Jh = !1, Kh = 0, nk.current = null, vt === null || vt.return === null) {
|
|
6556
|
-
T$
|
|
6556
|
+
T$6 = 1, pk = pt, Y$1 = null;
|
|
6557
6557
|
break;
|
|
6558
6558
|
}
|
|
6559
6559
|
e: {
|
|
@@ -6579,7 +6579,7 @@ function Mk(bt, pt) {
|
|
|
6579
6579
|
Si$1(Rt, qt, pt), tj$1();
|
|
6580
6580
|
break e;
|
|
6581
6581
|
}
|
|
6582
|
-
Bt = Error(p$
|
|
6582
|
+
Bt = Error(p$d(426));
|
|
6583
6583
|
}
|
|
6584
6584
|
} else if (I$7 && Pt.mode & 1) {
|
|
6585
6585
|
var ir = Ui$1(Ft);
|
|
@@ -6588,7 +6588,7 @@ function Mk(bt, pt) {
|
|
|
6588
6588
|
break e;
|
|
6589
6589
|
}
|
|
6590
6590
|
}
|
|
6591
|
-
Rt = Bt = Ji$1(Bt, Pt), T$
|
|
6591
|
+
Rt = Bt = Ji$1(Bt, Pt), T$6 !== 4 && (T$6 = 2), sk === null ? sk = [Rt] : sk.push(Rt), Rt = Ft;
|
|
6592
6592
|
do {
|
|
6593
6593
|
switch (Rt.tag) {
|
|
6594
6594
|
case 3:
|
|
@@ -6611,7 +6611,7 @@ function Mk(bt, pt) {
|
|
|
6611
6611
|
}
|
|
6612
6612
|
Sk(vt);
|
|
6613
6613
|
} catch (cr) {
|
|
6614
|
-
pt = cr, Y === vt && vt !== null && (Y = vt = vt.return);
|
|
6614
|
+
pt = cr, Y$1 === vt && vt !== null && (Y$1 = vt = vt.return);
|
|
6615
6615
|
continue;
|
|
6616
6616
|
}
|
|
6617
6617
|
break;
|
|
@@ -6622,13 +6622,13 @@ function Jk() {
|
|
|
6622
6622
|
return mk.current = Rh, bt === null ? Rh : bt;
|
|
6623
6623
|
}
|
|
6624
6624
|
function tj$1() {
|
|
6625
|
-
(T$
|
|
6625
|
+
(T$6 === 0 || T$6 === 3 || T$6 === 2) && (T$6 = 4), Q === null || !(rh & 268435455) && !(qk & 268435455) || Ck(Q, Z);
|
|
6626
6626
|
}
|
|
6627
6627
|
function Ik(bt, pt) {
|
|
6628
6628
|
var vt = K$4;
|
|
6629
6629
|
K$4 |= 2;
|
|
6630
6630
|
var _t = Jk();
|
|
6631
|
-
(Q
|
|
6631
|
+
(Q !== bt || Z !== pt) && (uk = null, Kk(bt, pt));
|
|
6632
6632
|
do
|
|
6633
6633
|
try {
|
|
6634
6634
|
Tk();
|
|
@@ -6637,21 +6637,21 @@ function Ik(bt, pt) {
|
|
|
6637
6637
|
Mk(bt, $t);
|
|
6638
6638
|
}
|
|
6639
6639
|
while (1);
|
|
6640
|
-
if ($g$1(), K$4 = vt, mk.current = _t, Y !== null)
|
|
6641
|
-
throw Error(p$
|
|
6642
|
-
return Q
|
|
6640
|
+
if ($g$1(), K$4 = vt, mk.current = _t, Y$1 !== null)
|
|
6641
|
+
throw Error(p$d(261));
|
|
6642
|
+
return Q = null, Z = 0, T$6;
|
|
6643
6643
|
}
|
|
6644
6644
|
function Tk() {
|
|
6645
|
-
for (; Y !== null; )
|
|
6646
|
-
Uk(Y);
|
|
6645
|
+
for (; Y$1 !== null; )
|
|
6646
|
+
Uk(Y$1);
|
|
6647
6647
|
}
|
|
6648
6648
|
function Lk() {
|
|
6649
|
-
for (; Y !== null && !cc(); )
|
|
6650
|
-
Uk(Y);
|
|
6649
|
+
for (; Y$1 !== null && !cc(); )
|
|
6650
|
+
Uk(Y$1);
|
|
6651
6651
|
}
|
|
6652
6652
|
function Uk(bt) {
|
|
6653
6653
|
var pt = Vk(bt.alternate, bt, fj);
|
|
6654
|
-
bt.memoizedProps = bt.pendingProps, pt === null ? Sk(bt) : Y = pt, nk.current = null;
|
|
6654
|
+
bt.memoizedProps = bt.pendingProps, pt === null ? Sk(bt) : Y$1 = pt, nk.current = null;
|
|
6655
6655
|
}
|
|
6656
6656
|
function Sk(bt) {
|
|
6657
6657
|
var pt = bt;
|
|
@@ -6659,33 +6659,33 @@ function Sk(bt) {
|
|
|
6659
6659
|
var vt = pt.alternate;
|
|
6660
6660
|
if (bt = pt.return, pt.flags & 32768) {
|
|
6661
6661
|
if (vt = Ij(vt, pt), vt !== null) {
|
|
6662
|
-
vt.flags &= 32767, Y = vt;
|
|
6662
|
+
vt.flags &= 32767, Y$1 = vt;
|
|
6663
6663
|
return;
|
|
6664
6664
|
}
|
|
6665
6665
|
if (bt !== null)
|
|
6666
6666
|
bt.flags |= 32768, bt.subtreeFlags = 0, bt.deletions = null;
|
|
6667
6667
|
else {
|
|
6668
|
-
T$
|
|
6668
|
+
T$6 = 6, Y$1 = null;
|
|
6669
6669
|
return;
|
|
6670
6670
|
}
|
|
6671
6671
|
} else if (vt = Ej$1(vt, pt, fj), vt !== null) {
|
|
6672
|
-
Y = vt;
|
|
6672
|
+
Y$1 = vt;
|
|
6673
6673
|
return;
|
|
6674
6674
|
}
|
|
6675
6675
|
if (pt = pt.sibling, pt !== null) {
|
|
6676
|
-
Y = pt;
|
|
6676
|
+
Y$1 = pt;
|
|
6677
6677
|
return;
|
|
6678
6678
|
}
|
|
6679
|
-
Y = pt = bt;
|
|
6679
|
+
Y$1 = pt = bt;
|
|
6680
6680
|
} while (pt !== null);
|
|
6681
|
-
T$
|
|
6681
|
+
T$6 === 0 && (T$6 = 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
|
}
|
|
@@ -6694,23 +6694,23 @@ function Wk(bt, pt, vt, _t) {
|
|
|
6694
6694
|
Hk();
|
|
6695
6695
|
while (wk !== null);
|
|
6696
6696
|
if (K$4 & 6)
|
|
6697
|
-
throw Error(p$
|
|
6697
|
+
throw Error(p$d(327));
|
|
6698
6698
|
vt = bt.finishedWork;
|
|
6699
6699
|
var $t = bt.finishedLanes;
|
|
6700
6700
|
if (vt === null)
|
|
6701
6701
|
return null;
|
|
6702
6702
|
if (bt.finishedWork = null, bt.finishedLanes = 0, vt === bt.current)
|
|
6703
|
-
throw Error(p$
|
|
6703
|
+
throw Error(p$d(177));
|
|
6704
6704
|
bt.callbackNode = null, bt.callbackPriority = 0;
|
|
6705
6705
|
var Rt = vt.lanes | vt.childLanes;
|
|
6706
|
-
if (Bc(bt, Rt), bt === Q
|
|
6706
|
+
if (Bc(bt, Rt), bt === Q && (Y$1 = Q = null, Z = 0), !(vt.subtreeFlags & 2064) && !(vt.flags & 2064) || vk || (vk = !0, Fk(hc, function() {
|
|
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$
|
|
6710
|
+
var Ft = C$2;
|
|
6711
|
+
C$2 = 1;
|
|
6712
6712
|
var Pt = K$4;
|
|
6713
|
-
K$4 |= 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$4 = Pt, C$
|
|
6713
|
+
K$4 |= 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$4 = 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,23 +6725,23 @@ 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
6733
|
if (bt = wk, wk = null, xk = 0, K$4 & 6)
|
|
6734
|
-
throw Error(p$
|
|
6734
|
+
throw Error(p$d(331));
|
|
6735
6735
|
var $t = K$4;
|
|
6736
|
-
for (K$4 |= 4, V$
|
|
6737
|
-
var Rt = V$
|
|
6738
|
-
if (V$
|
|
6736
|
+
for (K$4 |= 4, V$2 = bt.current; V$2 !== null; ) {
|
|
6737
|
+
var Rt = V$2, Ft = Rt.child;
|
|
6738
|
+
if (V$2.flags & 16) {
|
|
6739
6739
|
var Pt = Rt.deletions;
|
|
6740
6740
|
if (Pt !== null) {
|
|
6741
6741
|
for (var Bt = 0; Bt < Pt.length; Bt++) {
|
|
6742
6742
|
var qt = Pt[Bt];
|
|
6743
|
-
for (V$
|
|
6744
|
-
var Ht = V$
|
|
6743
|
+
for (V$2 = qt; V$2 !== null; ) {
|
|
6744
|
+
var Ht = V$2;
|
|
6745
6745
|
switch (Ht.tag) {
|
|
6746
6746
|
case 0:
|
|
6747
6747
|
case 11:
|
|
@@ -6750,20 +6750,20 @@ function Hk() {
|
|
|
6750
6750
|
}
|
|
6751
6751
|
var Gt = Ht.child;
|
|
6752
6752
|
if (Gt !== null)
|
|
6753
|
-
Gt.return = Ht, V$
|
|
6753
|
+
Gt.return = Ht, V$2 = Gt;
|
|
6754
6754
|
else
|
|
6755
|
-
for (; V$
|
|
6756
|
-
Ht = V$
|
|
6755
|
+
for (; V$2 !== null; ) {
|
|
6756
|
+
Ht = V$2;
|
|
6757
6757
|
var Zt = Ht.sibling, Jt = Ht.return;
|
|
6758
6758
|
if (Sj$1(Ht), Ht === qt) {
|
|
6759
|
-
V$
|
|
6759
|
+
V$2 = null;
|
|
6760
6760
|
break;
|
|
6761
6761
|
}
|
|
6762
6762
|
if (Zt !== null) {
|
|
6763
|
-
Zt.return = Jt, V$
|
|
6763
|
+
Zt.return = Jt, V$2 = Zt;
|
|
6764
6764
|
break;
|
|
6765
6765
|
}
|
|
6766
|
-
V$
|
|
6766
|
+
V$2 = Jt;
|
|
6767
6767
|
}
|
|
6768
6768
|
}
|
|
6769
6769
|
}
|
|
@@ -6778,15 +6778,15 @@ function Hk() {
|
|
|
6778
6778
|
} while (rr !== null);
|
|
6779
6779
|
}
|
|
6780
6780
|
}
|
|
6781
|
-
V$
|
|
6781
|
+
V$2 = Rt;
|
|
6782
6782
|
}
|
|
6783
6783
|
}
|
|
6784
6784
|
if (Rt.subtreeFlags & 2064 && Ft !== null)
|
|
6785
|
-
Ft.return = Rt, V$
|
|
6785
|
+
Ft.return = Rt, V$2 = Ft;
|
|
6786
6786
|
else
|
|
6787
6787
|
e:
|
|
6788
|
-
for (; V$
|
|
6789
|
-
if (Rt = V$
|
|
6788
|
+
for (; V$2 !== null; ) {
|
|
6789
|
+
if (Rt = V$2, Rt.flags & 2048)
|
|
6790
6790
|
switch (Rt.tag) {
|
|
6791
6791
|
case 0:
|
|
6792
6792
|
case 11:
|
|
@@ -6795,22 +6795,22 @@ function Hk() {
|
|
|
6795
6795
|
}
|
|
6796
6796
|
var sr = Rt.sibling;
|
|
6797
6797
|
if (sr !== null) {
|
|
6798
|
-
sr.return = Rt.return, V$
|
|
6798
|
+
sr.return = Rt.return, V$2 = sr;
|
|
6799
6799
|
break e;
|
|
6800
6800
|
}
|
|
6801
|
-
V$
|
|
6801
|
+
V$2 = Rt.return;
|
|
6802
6802
|
}
|
|
6803
6803
|
}
|
|
6804
6804
|
var ar = bt.current;
|
|
6805
|
-
for (V$
|
|
6806
|
-
Ft = V$
|
|
6805
|
+
for (V$2 = ar; V$2 !== null; ) {
|
|
6806
|
+
Ft = V$2;
|
|
6807
6807
|
var or = Ft.child;
|
|
6808
6808
|
if (Ft.subtreeFlags & 2064 && or !== null)
|
|
6809
|
-
or.return = Ft, V$
|
|
6809
|
+
or.return = Ft, V$2 = or;
|
|
6810
6810
|
else
|
|
6811
6811
|
e:
|
|
6812
|
-
for (Ft = ar; V$
|
|
6813
|
-
if (Pt = V$
|
|
6812
|
+
for (Ft = ar; V$2 !== null; ) {
|
|
6813
|
+
if (Pt = V$2, Pt.flags & 2048)
|
|
6814
6814
|
try {
|
|
6815
6815
|
switch (Pt.tag) {
|
|
6816
6816
|
case 0:
|
|
@@ -6822,15 +6822,15 @@ function Hk() {
|
|
|
6822
6822
|
W$3(Pt, Pt.return, cr);
|
|
6823
6823
|
}
|
|
6824
6824
|
if (Pt === Ft) {
|
|
6825
|
-
V$
|
|
6825
|
+
V$2 = null;
|
|
6826
6826
|
break e;
|
|
6827
6827
|
}
|
|
6828
6828
|
var ur = Pt.sibling;
|
|
6829
6829
|
if (ur !== null) {
|
|
6830
|
-
ur.return = Pt.return, V$
|
|
6830
|
+
ur.return = Pt.return, V$2 = ur;
|
|
6831
6831
|
break e;
|
|
6832
6832
|
}
|
|
6833
|
-
V$
|
|
6833
|
+
V$2 = Pt.return;
|
|
6834
6834
|
}
|
|
6835
6835
|
}
|
|
6836
6836
|
if (K$4 = $t, jg$1(), lc && typeof lc.onPostCommitFiberRoot == "function")
|
|
@@ -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;
|
|
@@ -6870,7 +6870,7 @@ function W$3(bt, pt, vt) {
|
|
|
6870
6870
|
}
|
|
6871
6871
|
function Ti(bt, pt, vt) {
|
|
6872
6872
|
var _t = bt.pingCache;
|
|
6873
|
-
_t !== null && _t.delete(pt), pt = R$9(), bt.pingedLanes |= bt.suspendedLanes & vt, Q
|
|
6873
|
+
_t !== null && _t.delete(pt), pt = R$9(), bt.pingedLanes |= bt.suspendedLanes & vt, Q === bt && (Z & vt) === vt && (T$6 === 4 || T$6 === 3 && (Z & 130023424) === Z && 500 > B$3() - fk ? Kk(bt, 0) : rk |= vt), Dk(bt, pt);
|
|
6874
6874
|
}
|
|
6875
6875
|
function Yk(bt, pt) {
|
|
6876
6876
|
pt === 0 && (bt.mode & 1 ? (pt = sc, sc <<= 1, !(sc & 130023424) && (sc = 4194304)) : pt = 1);
|
|
@@ -6892,7 +6892,7 @@ function bk(bt, pt) {
|
|
|
6892
6892
|
_t = bt.stateNode;
|
|
6893
6893
|
break;
|
|
6894
6894
|
default:
|
|
6895
|
-
throw Error(p$
|
|
6895
|
+
throw Error(p$d(314));
|
|
6896
6896
|
}
|
|
6897
6897
|
_t !== null && _t.delete(pt), Yk(bt, vt);
|
|
6898
6898
|
}
|
|
@@ -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;
|
|
@@ -6933,7 +6933,7 @@ Vk = function(bt, pt, vt) {
|
|
|
6933
6933
|
pt = $i$1(null, pt, _t, Ci(_t.type, bt), vt);
|
|
6934
6934
|
break e;
|
|
6935
6935
|
}
|
|
6936
|
-
throw Error(p$
|
|
6936
|
+
throw Error(p$d(306, _t, ""));
|
|
6937
6937
|
}
|
|
6938
6938
|
return pt;
|
|
6939
6939
|
case 0:
|
|
@@ -6943,7 +6943,7 @@ Vk = function(bt, pt, vt) {
|
|
|
6943
6943
|
case 3:
|
|
6944
6944
|
e: {
|
|
6945
6945
|
if (kj$1(pt), bt === null)
|
|
6946
|
-
throw Error(p$
|
|
6946
|
+
throw Error(p$d(387));
|
|
6947
6947
|
_t = pt.pendingProps, Rt = pt.memoizedState, $t = Rt.element, lh(bt, pt), qh(pt, _t, null, vt);
|
|
6948
6948
|
var Ft = pt.memoizedState;
|
|
6949
6949
|
if (_t = Ft.element, Rt.isDehydrated)
|
|
@@ -6954,10 +6954,10 @@ Vk = function(bt, pt, vt) {
|
|
|
6954
6954
|
pendingSuspenseBoundaries: Ft.pendingSuspenseBoundaries,
|
|
6955
6955
|
transitions: Ft.transitions
|
|
6956
6956
|
}, pt.updateQueue.baseState = Rt, pt.memoizedState = Rt, pt.flags & 256) {
|
|
6957
|
-
$t = Ji$1(Error(p$
|
|
6957
|
+
$t = Ji$1(Error(p$d(423)), pt), pt = lj$1(bt, pt, _t, vt, $t);
|
|
6958
6958
|
break e;
|
|
6959
6959
|
} else if (_t !== $t) {
|
|
6960
|
-
$t = Ji$1(Error(p$
|
|
6960
|
+
$t = Ji$1(Error(p$d(424)), pt), pt = lj$1(bt, pt, _t, vt, $t);
|
|
6961
6961
|
break e;
|
|
6962
6962
|
} else
|
|
6963
6963
|
for (yg$1 = Lf(pt.stateNode.containerInfo.firstChild), xg$1 = pt, I$7 = !0, zg$1 = null, vt = Vg$1(pt, null, _t, vt), pt.child = vt; vt; )
|
|
@@ -7021,7 +7021,7 @@ Vk = function(bt, pt, vt) {
|
|
|
7021
7021
|
Ft = Rt.type === pt.type ? null : Rt.child;
|
|
7022
7022
|
else if (Rt.tag === 18) {
|
|
7023
7023
|
if (Ft = Rt.return, Ft === null)
|
|
7024
|
-
throw Error(p$
|
|
7024
|
+
throw Error(p$d(341));
|
|
7025
7025
|
Ft.lanes |= vt, Pt = Ft.alternate, Pt !== null && (Pt.lanes |= vt), bh(Ft, vt, pt), Ft = Rt.sibling;
|
|
7026
7026
|
} else
|
|
7027
7027
|
Ft = Rt.child;
|
|
@@ -7057,7 +7057,7 @@ Vk = function(bt, pt, vt) {
|
|
|
7057
7057
|
case 22:
|
|
7058
7058
|
return dj$1(bt, pt, vt);
|
|
7059
7059
|
}
|
|
7060
|
-
throw Error(p$
|
|
7060
|
+
throw Error(p$d(156, pt.tag));
|
|
7061
7061
|
};
|
|
7062
7062
|
function Fk(bt, pt) {
|
|
7063
7063
|
return ac(bt, pt);
|
|
@@ -7130,7 +7130,7 @@ function Rg$1(bt, pt, vt, _t, $t, Rt) {
|
|
|
7130
7130
|
Ft = 16, _t = null;
|
|
7131
7131
|
break e;
|
|
7132
7132
|
}
|
|
7133
|
-
throw Error(p$
|
|
7133
|
+
throw Error(p$d(130, bt == null ? bt : typeof bt, ""));
|
|
7134
7134
|
}
|
|
7135
7135
|
return pt = Bg$1(Ft, vt, pt, $t), pt.elementType = bt, pt.type = _t, pt.lanes = Rt, pt;
|
|
7136
7136
|
}
|
|
@@ -7180,7 +7180,7 @@ function dl(bt) {
|
|
|
7180
7180
|
bt = bt._reactInternals;
|
|
7181
7181
|
e: {
|
|
7182
7182
|
if (Vb(bt) !== bt || bt.tag !== 1)
|
|
7183
|
-
throw Error(p$
|
|
7183
|
+
throw Error(p$d(170));
|
|
7184
7184
|
var pt = bt;
|
|
7185
7185
|
do {
|
|
7186
7186
|
switch (pt.tag) {
|
|
@@ -7195,7 +7195,7 @@ function dl(bt) {
|
|
|
7195
7195
|
}
|
|
7196
7196
|
pt = pt.return;
|
|
7197
7197
|
} while (pt !== null);
|
|
7198
|
-
throw Error(p$
|
|
7198
|
+
throw Error(p$d(171));
|
|
7199
7199
|
}
|
|
7200
7200
|
if (bt.tag === 1) {
|
|
7201
7201
|
var vt = bt.type;
|
|
@@ -7244,7 +7244,7 @@ function ll(bt) {
|
|
|
7244
7244
|
ml.prototype.render = ll.prototype.render = function(bt) {
|
|
7245
7245
|
var pt = this._internalRoot;
|
|
7246
7246
|
if (pt === null)
|
|
7247
|
-
throw Error(p$
|
|
7247
|
+
throw Error(p$d(409));
|
|
7248
7248
|
fl(bt, pt, null, null);
|
|
7249
7249
|
};
|
|
7250
7250
|
ml.prototype.unmount = ll.prototype.unmount = function() {
|
|
@@ -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) {
|
|
@@ -7384,7 +7384,7 @@ yb = function(bt, pt, vt) {
|
|
|
7384
7384
|
if (_t !== bt && _t.form === bt.form) {
|
|
7385
7385
|
var $t = Db(_t);
|
|
7386
7386
|
if (!$t)
|
|
7387
|
-
throw Error(p$
|
|
7387
|
+
throw Error(p$d(90));
|
|
7388
7388
|
Wa(_t), bb(_t, $t);
|
|
7389
7389
|
}
|
|
7390
7390
|
}
|
|
@@ -7445,12 +7445,12 @@ reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = sl;
|
|
|
7445
7445
|
reactDom_production_min.createPortal = function(bt, pt) {
|
|
7446
7446
|
var vt = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
7447
7447
|
if (!nl(pt))
|
|
7448
|
-
throw Error(p$
|
|
7448
|
+
throw Error(p$d(200));
|
|
7449
7449
|
return cl(bt, pt, null, vt);
|
|
7450
7450
|
};
|
|
7451
7451
|
reactDom_production_min.createRoot = function(bt, pt) {
|
|
7452
7452
|
if (!nl(bt))
|
|
7453
|
-
throw Error(p$
|
|
7453
|
+
throw Error(p$d(299));
|
|
7454
7454
|
var vt = !1, _t = "", $t = kl;
|
|
7455
7455
|
return pt != null && (pt.unstable_strictMode === !0 && (vt = !0), pt.identifierPrefix !== void 0 && (_t = pt.identifierPrefix), pt.onRecoverableError !== void 0 && ($t = pt.onRecoverableError)), pt = bl(bt, 1, !1, null, null, vt, !1, _t, $t), bt[uf] = pt.current, sf(bt.nodeType === 8 ? bt.parentNode : bt), new ll(pt);
|
|
7456
7456
|
};
|
|
@@ -7461,7 +7461,7 @@ reactDom_production_min.findDOMNode = function(bt) {
|
|
|
7461
7461
|
return bt;
|
|
7462
7462
|
var pt = bt._reactInternals;
|
|
7463
7463
|
if (pt === void 0)
|
|
7464
|
-
throw typeof bt.render == "function" ? Error(p$
|
|
7464
|
+
throw typeof bt.render == "function" ? Error(p$d(188)) : (bt = Object.keys(bt).join(","), Error(p$d(268, bt)));
|
|
7465
7465
|
return bt = Zb(pt), bt = bt === null ? null : bt.stateNode, bt;
|
|
7466
7466
|
};
|
|
7467
7467
|
reactDom_production_min.flushSync = function(bt) {
|
|
@@ -7469,12 +7469,12 @@ reactDom_production_min.flushSync = function(bt) {
|
|
|
7469
7469
|
};
|
|
7470
7470
|
reactDom_production_min.hydrate = function(bt, pt, vt) {
|
|
7471
7471
|
if (!ol(pt))
|
|
7472
|
-
throw Error(p$
|
|
7472
|
+
throw Error(p$d(200));
|
|
7473
7473
|
return rl(null, bt, pt, !0, vt);
|
|
7474
7474
|
};
|
|
7475
7475
|
reactDom_production_min.hydrateRoot = function(bt, pt, vt) {
|
|
7476
7476
|
if (!nl(bt))
|
|
7477
|
-
throw Error(p$
|
|
7477
|
+
throw Error(p$d(405));
|
|
7478
7478
|
var _t = vt != null && vt.hydratedSources || null, $t = !1, Rt = "", Ft = kl;
|
|
7479
7479
|
if (vt != null && (vt.unstable_strictMode === !0 && ($t = !0), vt.identifierPrefix !== void 0 && (Rt = vt.identifierPrefix), vt.onRecoverableError !== void 0 && (Ft = vt.onRecoverableError)), pt = el$1(pt, null, bt, 1, vt != null ? vt : null, $t, !1, Rt, Ft), bt[uf] = pt.current, sf(bt), _t)
|
|
7480
7480
|
for (bt = 0; bt < _t.length; bt++)
|
|
@@ -7483,12 +7483,12 @@ reactDom_production_min.hydrateRoot = function(bt, pt, vt) {
|
|
|
7483
7483
|
};
|
|
7484
7484
|
reactDom_production_min.render = function(bt, pt, vt) {
|
|
7485
7485
|
if (!ol(pt))
|
|
7486
|
-
throw Error(p$
|
|
7486
|
+
throw Error(p$d(200));
|
|
7487
7487
|
return rl(null, bt, pt, !1, vt);
|
|
7488
7488
|
};
|
|
7489
7489
|
reactDom_production_min.unmountComponentAtNode = function(bt) {
|
|
7490
7490
|
if (!ol(bt))
|
|
7491
|
-
throw Error(p$
|
|
7491
|
+
throw Error(p$d(40));
|
|
7492
7492
|
return bt._reactRootContainer ? (Rk(function() {
|
|
7493
7493
|
rl(null, null, bt, !1, function() {
|
|
7494
7494
|
bt._reactRootContainer = null, bt[uf] = null;
|
|
@@ -7498,9 +7498,9 @@ reactDom_production_min.unmountComponentAtNode = function(bt) {
|
|
|
7498
7498
|
reactDom_production_min.unstable_batchedUpdates = Qk;
|
|
7499
7499
|
reactDom_production_min.unstable_renderSubtreeIntoContainer = function(bt, pt, vt, _t) {
|
|
7500
7500
|
if (!ol(vt))
|
|
7501
|
-
throw Error(p$
|
|
7501
|
+
throw Error(p$d(200));
|
|
7502
7502
|
if (bt == null || bt._reactInternals === void 0)
|
|
7503
|
-
throw Error(p$
|
|
7503
|
+
throw Error(p$d(38));
|
|
7504
7504
|
return rl(bt, pt, vt, !1, _t);
|
|
7505
7505
|
};
|
|
7506
7506
|
reactDom_production_min.version = "18.3.1-next-f1338f8080-20240426";
|
|
@@ -9306,16 +9306,16 @@ 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$
|
|
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$c = Symbol.for("react.profiler"), g$c = Symbol.for("react.provider"), h$a = 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$c = Symbol.for("react.memo"), q$2 = Symbol.for("react.lazy"), t$6 = Symbol.for("react.offscreen"), u$b;
|
|
9310
|
+
u$b = Symbol.for("react.module.reference");
|
|
9311
|
+
function v$8(bt) {
|
|
9312
9312
|
if (typeof bt == "object" && bt !== null) {
|
|
9313
9313
|
var pt = bt.$$typeof;
|
|
9314
9314
|
switch (pt) {
|
|
9315
9315
|
case b$a:
|
|
9316
9316
|
switch (bt = bt.type, bt) {
|
|
9317
9317
|
case d$9:
|
|
9318
|
-
case f$
|
|
9318
|
+
case f$c:
|
|
9319
9319
|
case e$3:
|
|
9320
9320
|
case m$6:
|
|
9321
9321
|
case n$9:
|
|
@@ -9323,11 +9323,11 @@ function v$a(bt) {
|
|
|
9323
9323
|
default:
|
|
9324
9324
|
switch (bt = bt && bt.$$typeof, bt) {
|
|
9325
9325
|
case k$9:
|
|
9326
|
-
case h$
|
|
9326
|
+
case h$a:
|
|
9327
9327
|
case l$6:
|
|
9328
9328
|
case q$2:
|
|
9329
|
-
case p$
|
|
9330
|
-
case g$
|
|
9329
|
+
case p$c:
|
|
9330
|
+
case g$c:
|
|
9331
9331
|
return bt;
|
|
9332
9332
|
default:
|
|
9333
9333
|
return pt;
|
|
@@ -9338,15 +9338,15 @@ function v$a(bt) {
|
|
|
9338
9338
|
}
|
|
9339
9339
|
}
|
|
9340
9340
|
}
|
|
9341
|
-
reactIs_production_min.ContextConsumer = h$
|
|
9342
|
-
reactIs_production_min.ContextProvider = g$
|
|
9341
|
+
reactIs_production_min.ContextConsumer = h$a;
|
|
9342
|
+
reactIs_production_min.ContextProvider = g$c;
|
|
9343
9343
|
reactIs_production_min.Element = b$a;
|
|
9344
9344
|
reactIs_production_min.ForwardRef = l$6;
|
|
9345
9345
|
reactIs_production_min.Fragment = d$9;
|
|
9346
9346
|
reactIs_production_min.Lazy = q$2;
|
|
9347
|
-
reactIs_production_min.Memo = p$
|
|
9347
|
+
reactIs_production_min.Memo = p$c;
|
|
9348
9348
|
reactIs_production_min.Portal = c$9;
|
|
9349
|
-
reactIs_production_min.Profiler = f$
|
|
9349
|
+
reactIs_production_min.Profiler = f$c;
|
|
9350
9350
|
reactIs_production_min.StrictMode = e$3;
|
|
9351
9351
|
reactIs_production_min.Suspense = m$6;
|
|
9352
9352
|
reactIs_production_min.SuspenseList = n$9;
|
|
@@ -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$8(bt) === h$a;
|
|
9361
9361
|
};
|
|
9362
9362
|
reactIs_production_min.isContextProvider = function(bt) {
|
|
9363
|
-
return v$
|
|
9363
|
+
return v$8(bt) === g$c;
|
|
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$8(bt) === l$6;
|
|
9370
9370
|
};
|
|
9371
9371
|
reactIs_production_min.isFragment = function(bt) {
|
|
9372
|
-
return v$
|
|
9372
|
+
return v$8(bt) === d$9;
|
|
9373
9373
|
};
|
|
9374
9374
|
reactIs_production_min.isLazy = function(bt) {
|
|
9375
|
-
return v$
|
|
9375
|
+
return v$8(bt) === q$2;
|
|
9376
9376
|
};
|
|
9377
9377
|
reactIs_production_min.isMemo = function(bt) {
|
|
9378
|
-
return v$
|
|
9378
|
+
return v$8(bt) === p$c;
|
|
9379
9379
|
};
|
|
9380
9380
|
reactIs_production_min.isPortal = function(bt) {
|
|
9381
|
-
return v$
|
|
9381
|
+
return v$8(bt) === c$9;
|
|
9382
9382
|
};
|
|
9383
9383
|
reactIs_production_min.isProfiler = function(bt) {
|
|
9384
|
-
return v$
|
|
9384
|
+
return v$8(bt) === f$c;
|
|
9385
9385
|
};
|
|
9386
9386
|
reactIs_production_min.isStrictMode = function(bt) {
|
|
9387
|
-
return v$
|
|
9387
|
+
return v$8(bt) === e$3;
|
|
9388
9388
|
};
|
|
9389
9389
|
reactIs_production_min.isSuspense = function(bt) {
|
|
9390
|
-
return v$
|
|
9390
|
+
return v$8(bt) === m$6;
|
|
9391
9391
|
};
|
|
9392
9392
|
reactIs_production_min.isSuspenseList = function(bt) {
|
|
9393
|
-
return v$
|
|
9393
|
+
return v$8(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$
|
|
9396
|
+
return typeof bt == "string" || typeof bt == "function" || bt === d$9 || bt === f$c || bt === e$3 || bt === m$6 || bt === n$9 || bt === t$6 || typeof bt == "object" && bt !== null && (bt.$$typeof === q$2 || bt.$$typeof === p$c || bt.$$typeof === g$c || bt.$$typeof === h$a || 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$8;
|
|
9399
9399
|
reactIs.exports = reactIs_production_min;
|
|
9400
9400
|
var reactIsExports = reactIs.exports;
|
|
9401
9401
|
function useMemo$1(bt, pt, vt) {
|
|
@@ -24000,7 +24000,7 @@ function ErrorList(bt) {
|
|
|
24000
24000
|
}));
|
|
24001
24001
|
});
|
|
24002
24002
|
}
|
|
24003
|
-
function t$
|
|
24003
|
+
function t$5(bt) {
|
|
24004
24004
|
return typeof bt == "object" && bt != null && bt.nodeType === 1;
|
|
24005
24005
|
}
|
|
24006
24006
|
function e$2(bt, pt) {
|
|
@@ -24027,13 +24027,13 @@ function n$8(bt, pt) {
|
|
|
24027
24027
|
function r$5(bt, pt, vt, _t, $t, Rt, Ft, Pt) {
|
|
24028
24028
|
return Rt < bt && Ft > pt || Rt > bt && Ft < pt ? 0 : Rt <= bt && Pt <= vt || Ft >= pt && Pt >= vt ? Rt - bt - _t : Ft > pt && Pt < vt || Rt < bt && Pt > vt ? Ft - pt + $t : 0;
|
|
24029
24029
|
}
|
|
24030
|
-
var i$
|
|
24030
|
+
var i$8 = function(bt, pt) {
|
|
24031
24031
|
var vt = window, _t = pt.scrollMode, $t = pt.block, Rt = pt.inline, Ft = pt.boundary, Pt = pt.skipOverflowHiddenElements, Bt = typeof Ft == "function" ? Ft : function(Qr) {
|
|
24032
24032
|
return Qr !== Ft;
|
|
24033
24033
|
};
|
|
24034
|
-
if (!t$
|
|
24034
|
+
if (!t$5(bt))
|
|
24035
24035
|
throw new TypeError("Invalid target");
|
|
24036
|
-
for (var qt, Ht, Gt = document.scrollingElement || document.documentElement, Zt = [], Jt = bt; t$
|
|
24036
|
+
for (var qt, Ht, Gt = document.scrollingElement || document.documentElement, Zt = [], Jt = bt; t$5(Jt) && Bt(Jt); ) {
|
|
24037
24037
|
if ((Jt = (Ht = (qt = Jt).parentElement) == null ? qt.getRootNode().host || null : Ht) === Gt) {
|
|
24038
24038
|
Zt.push(Jt);
|
|
24039
24039
|
break;
|
|
@@ -24083,10 +24083,10 @@ function getOptions(bt) {
|
|
|
24083
24083
|
function scrollIntoView(bt, pt) {
|
|
24084
24084
|
var vt = bt.isConnected || bt.ownerDocument.documentElement.contains(bt);
|
|
24085
24085
|
if (isOptionsObject(pt) && typeof pt.behavior == "function")
|
|
24086
|
-
return pt.behavior(vt ? i$
|
|
24086
|
+
return pt.behavior(vt ? i$8(bt, pt) : []);
|
|
24087
24087
|
if (vt) {
|
|
24088
24088
|
var _t = getOptions(pt);
|
|
24089
|
-
return defaultBehavior(i$
|
|
24089
|
+
return defaultBehavior(i$8(bt, _t), _t.behavior);
|
|
24090
24090
|
}
|
|
24091
24091
|
}
|
|
24092
24092
|
var formItemNameBlackList = ["parentNode"], defaultItemNamePrefixCls = "form_item";
|
|
@@ -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$b = Object.prototype.hasOwnProperty, y$7 = 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$
|
|
31324
|
+
g$b.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$
|
|
31327
|
+
y$7.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$
|
|
31470
|
+
const f$b = (bt) => bt >= 10002 && bt <= 10012, E$6 = (bt, pt) => f$b(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$
|
|
59903
|
+
var __webpack_exports__initMinio = __webpack_exports__.rJ, __webpack_exports__putObjectBuffer = __webpack_exports__.vo, t$4 = /* @__PURE__ */ ((bt) => (bt[bt.None = 0] = "None", bt[bt.SourceFile = 1] = "SourceFile", bt[bt.WebLink = 2] = "WebLink", bt))(t$4 || {}), a$5 = /* @__PURE__ */ ((bt) => (bt.Unprotected = "不受著作权保护", bt.ProtectAuthorize = "受著作权保护,已获得授权", bt.ProtectUnauthorize = "受著作权保护,未获得授权", bt))(a$5 || {}), 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$7 = /* @__PURE__ */ ((bt) => (bt.AECPILOT = "aecpilot", bt))(v$7 || {});
|
|
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$
|
|
60259
|
+
const NN = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports), T$5 = 128, _$1 = 20;
|
|
60260
60260
|
var b$8 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
60261
60261
|
var Rt = (Bt) => {
|
|
60262
60262
|
try {
|
|
@@ -60281,10 +60281,10 @@ function w$8(bt, pt) {
|
|
|
60281
60281
|
pt(_t.value);
|
|
60282
60282
|
});
|
|
60283
60283
|
}
|
|
60284
|
-
function g$
|
|
60284
|
+
function g$a(bt) {
|
|
60285
60285
|
let pt, vt, _t, $t = !1, Rt;
|
|
60286
60286
|
return function(Ft) {
|
|
60287
|
-
pt === void 0 ? (pt = Ft, vt = 0, _t = -1, Rt = !1) : pt = h$
|
|
60287
|
+
pt === void 0 ? (pt = Ft, vt = 0, _t = -1, Rt = !1) : pt = h$9(pt, Ft);
|
|
60288
60288
|
const Pt = pt.length;
|
|
60289
60289
|
let Bt = 0;
|
|
60290
60290
|
for (; vt < Pt; ) {
|
|
@@ -60309,11 +60309,11 @@ function g$9(bt) {
|
|
|
60309
60309
|
};
|
|
60310
60310
|
}
|
|
60311
60311
|
function k$8(bt, pt, vt) {
|
|
60312
|
-
let _t = y$
|
|
60312
|
+
let _t = y$6();
|
|
60313
60313
|
const $t = new TextDecoder();
|
|
60314
60314
|
return function(Rt, Ft, Pt) {
|
|
60315
60315
|
if (Rt.length === 0)
|
|
60316
|
-
vt == null || vt(_t), _t = y$
|
|
60316
|
+
vt == null || vt(_t), _t = y$6();
|
|
60317
60317
|
else if (Ft > 0) {
|
|
60318
60318
|
const Bt = $t.decode(Rt.subarray(0, Ft)), qt = Ft + (Rt[Ft + 1] === 32 ? 2 : 1);
|
|
60319
60319
|
let Ht = $t.decode(Rt.subarray(qt));
|
|
@@ -60337,11 +60337,11 @@ function k$8(bt, pt, vt) {
|
|
|
60337
60337
|
}
|
|
60338
60338
|
};
|
|
60339
60339
|
}
|
|
60340
|
-
function h$
|
|
60340
|
+
function h$9(bt, pt) {
|
|
60341
60341
|
const vt = new Uint8Array(bt.length + pt.length);
|
|
60342
60342
|
return vt.set(bt), vt.set(pt, bt.length), vt;
|
|
60343
60343
|
}
|
|
60344
|
-
function y$
|
|
60344
|
+
function y$6() {
|
|
60345
60345
|
return {
|
|
60346
60346
|
data: "",
|
|
60347
60347
|
event: "",
|
|
@@ -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$6 = 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$6)
|
|
60356
|
+
for (var vt of v$6(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$6)
|
|
60364
|
+
for (var _t of v$6(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) => {
|
|
@@ -60380,7 +60380,7 @@ var W$2 = Object.defineProperty, j$2 = Object.defineProperties, k$7 = Object.get
|
|
|
60380
60380
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
60381
60381
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
60382
60382
|
});
|
|
60383
|
-
const g$
|
|
60383
|
+
const g$9 = "text/event-stream", J$2 = 1e3, D$3 = "last-event-id";
|
|
60384
60384
|
function X$1(bt, pt) {
|
|
60385
60385
|
var vt = pt, {
|
|
60386
60386
|
signal: _t,
|
|
@@ -60402,8 +60402,8 @@ function X$1(bt, pt) {
|
|
|
60402
60402
|
"fetch"
|
|
60403
60403
|
]);
|
|
60404
60404
|
return new Promise((Zt, Jt) => {
|
|
60405
|
-
const Kt = E$
|
|
60406
|
-
Kt.accept || (Kt.accept = g$
|
|
60405
|
+
const Kt = E$5({}, $t);
|
|
60406
|
+
Kt.accept || (Kt.accept = g$9);
|
|
60407
60407
|
let rr;
|
|
60408
60408
|
function ir() {
|
|
60409
60409
|
rr.abort(), document.hidden || dr();
|
|
@@ -60422,11 +60422,11 @@ function X$1(bt, pt) {
|
|
|
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$8(mr.body, g$
|
|
60429
|
+
yield cr(mr), yield w$8(mr.body, g$a(k$8((vr) => {
|
|
60430
60430
|
vr ? Kt[D$3] = vr : delete Kt[D$3];
|
|
60431
60431
|
}, (vr) => {
|
|
60432
60432
|
sr = vr;
|
|
@@ -60447,16 +60447,16 @@ function X$1(bt, pt) {
|
|
|
60447
60447
|
}
|
|
60448
60448
|
function K$3(bt) {
|
|
60449
60449
|
const pt = bt.headers.get("content-type");
|
|
60450
|
-
if (!(pt != null && pt.startsWith(g$
|
|
60451
|
-
throw new Error(`Expected content-type to be ${g$
|
|
60450
|
+
if (!(pt != null && pt.startsWith(g$9)))
|
|
60451
|
+
throw new Error(`Expected content-type to be ${g$9}, Actual: ${pt}`);
|
|
60452
60452
|
}
|
|
60453
60453
|
var buffer = {}, base64Js = {};
|
|
60454
60454
|
base64Js.byteLength = byteLength$1;
|
|
60455
60455
|
base64Js.toByteArray = toByteArray;
|
|
60456
60456
|
base64Js.fromByteArray = fromByteArray;
|
|
60457
60457
|
var lookup$2 = [], revLookup = [], Arr = typeof Uint8Array != "undefined" ? Uint8Array : Array, code$3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
60458
|
-
for (var i$
|
|
60459
|
-
lookup$2[i$
|
|
60458
|
+
for (var i$7 = 0, len = code$3.length; i$7 < len; ++i$7)
|
|
60459
|
+
lookup$2[i$7] = code$3[i$7], revLookup[code$3.charCodeAt(i$7)] = i$7;
|
|
60460
60460
|
revLookup["-".charCodeAt(0)] = 62;
|
|
60461
60461
|
revLookup["_".charCodeAt(0)] = 63;
|
|
60462
60462
|
function getLens(bt) {
|
|
@@ -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$5 = Object.defineProperty, S$1 = Object.defineProperties, w$7 = Object.getOwnPropertyDescriptors, g$8 = Object.getOwnPropertySymbols, A$5 = Object.prototype.hasOwnProperty, R$6 = Object.prototype.propertyIsEnumerable, y$5 = (bt, pt, vt) => pt in bt ? v$5(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$a = (bt, pt) => {
|
|
61444
61444
|
for (var vt in pt || (pt = {}))
|
|
61445
|
-
A$5.call(pt, vt) && y$
|
|
61446
|
-
if (g$
|
|
61447
|
-
for (var vt of g$
|
|
61448
|
-
R$6.call(pt, vt) && y$
|
|
61445
|
+
A$5.call(pt, vt) && y$5(bt, vt, pt[vt]);
|
|
61446
|
+
if (g$8)
|
|
61447
|
+
for (var vt of g$8(pt))
|
|
61448
|
+
R$6.call(pt, vt) && y$5(bt, vt, pt[vt]);
|
|
61449
61449
|
return bt;
|
|
61450
|
-
}, $$3 = (bt, pt) => S$
|
|
61450
|
+
}, $$3 = (bt, pt) => S$1(bt, w$7(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
|
}
|
|
@@ -61529,7 +61529,7 @@ let x$7 = class extends R$8 {
|
|
|
61529
61529
|
isAgree: 0
|
|
61530
61530
|
},
|
|
61531
61531
|
isReplying: !1
|
|
61532
|
-
}, Bt = yield this.getToken(), qt = $$3(f$
|
|
61532
|
+
}, Bt = yield this.getToken(), qt = $$3(f$a({}, _t), {
|
|
61533
61533
|
stream: !0
|
|
61534
61534
|
});
|
|
61535
61535
|
X$1(`https://aiot-dev.glodon.com/api/cvforcepd/chat/v2/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
@@ -61727,7 +61727,7 @@ let x$7 = class extends R$8 {
|
|
|
61727
61727
|
}
|
|
61728
61728
|
listPrompt(pt, vt) {
|
|
61729
61729
|
return s$6(this, null, function* () {
|
|
61730
|
-
return vt != null && vt.title && vt.title.length > T$
|
|
61730
|
+
return vt != null && vt.title && vt.title.length > T$5 ? [] : this.get(`/data/v1/application/${pt}/prompts`, vt);
|
|
61731
61731
|
});
|
|
61732
61732
|
}
|
|
61733
61733
|
getPrompt(pt, vt) {
|
|
@@ -62279,7 +62279,7 @@ let k$6 = class extends R$8 {
|
|
|
62279
62279
|
});
|
|
62280
62280
|
}
|
|
62281
62281
|
};
|
|
62282
|
-
var v$
|
|
62282
|
+
var v$4 = /* @__PURE__ */ ((bt) => (bt[bt.Robot = 1] = "Robot", bt[bt.User = 2] = "User", bt[bt.System = 3] = "System", bt))(v$4 || {}), 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$6 = /* @__PURE__ */ ((bt) => (bt[bt.Dialog = 0] = "Dialog", bt[bt.Text = 1] = "Text", bt[bt.Agent = 2] = "Agent", bt[bt.All = 3] = "All", bt))(i$6 || {}), 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$
|
|
71724
|
+
var D$2 = 0, Dc = 1, T$4 = 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$4, 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$4, 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$4, Tc, T$4, Tc, T$4, Tc], Style$1 = {
|
|
71725
71725
|
DISPLAY: styles[D$2],
|
|
71726
|
-
TEXT: styles[T$
|
|
71727
|
-
SCRIPT: styles[S
|
|
71726
|
+
TEXT: styles[T$4],
|
|
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.
|
|
@@ -75603,8 +75603,8 @@ defineSymbol(text$2, main, textord, "£", "\\textsterling", !0);
|
|
|
75603
75603
|
defineSymbol(math, ams, textord, "✠", "\\maltese");
|
|
75604
75604
|
defineSymbol(text$2, ams, textord, "✠", "\\maltese");
|
|
75605
75605
|
var mathTextSymbols = '0123456789/@."';
|
|
75606
|
-
for (var i$
|
|
75607
|
-
var ch = mathTextSymbols.charAt(i$
|
|
75606
|
+
for (var i$5 = 0; i$5 < mathTextSymbols.length; i$5++) {
|
|
75607
|
+
var ch = mathTextSymbols.charAt(i$5);
|
|
75608
75608
|
defineSymbol(math, main, textord, ch, ch);
|
|
75609
75609
|
}
|
|
75610
75610
|
var textSymbols = '0123456789!@*()-=+";:?/.,';
|
|
@@ -84394,7 +84394,7 @@ function createAdjustMap$1(bt) {
|
|
|
84394
84394
|
pt.set(vt.toLowerCase(), vt);
|
|
84395
84395
|
return pt;
|
|
84396
84396
|
}
|
|
84397
|
-
const svgCaseSensitiveTagNames = ["altGlyph", "altGlyphDef", "altGlyphItem", "animateColor", "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "glyphRef", "linearGradient", "radialGradient", "solidColor", "textArea", "textPath"], h$
|
|
84397
|
+
const svgCaseSensitiveTagNames = ["altGlyph", "altGlyphDef", "altGlyphItem", "animateColor", "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "glyphRef", "linearGradient", "radialGradient", "solidColor", "textArea", "textPath"], h$8 = createH(html$3, "div"), s$4 = createH(svg, "g", svgCaseSensitiveTagNames), webNamespaces = {
|
|
84398
84398
|
html: "http://www.w3.org/1999/xhtml",
|
|
84399
84399
|
mathml: "http://www.w3.org/1998/Math/MathML",
|
|
84400
84400
|
svg: "http://www.w3.org/2000/svg",
|
|
@@ -84472,7 +84472,7 @@ function comment$1(bt) {
|
|
|
84472
84472
|
};
|
|
84473
84473
|
}
|
|
84474
84474
|
function element(bt, pt) {
|
|
84475
|
-
const vt = bt.namespaceURI, _t = vt === webNamespaces.svg ? s$4 : h$
|
|
84475
|
+
const vt = bt.namespaceURI, _t = vt === webNamespaces.svg ? s$4 : h$8, $t = vt === webNamespaces.html ? bt.tagName.toLowerCase() : bt.tagName, Rt = (
|
|
84476
84476
|
// @ts-expect-error: DOM types are wrong, content can exist.
|
|
84477
84477
|
vt === webNamespaces.html && $t === "template" ? bt.content : bt
|
|
84478
84478
|
), Ft = bt.getAttributeNames(), Pt = {};
|
|
@@ -84529,7 +84529,7 @@ const findAfter = (
|
|
|
84529
84529
|
if (_t(bt.children[pt], pt, bt))
|
|
84530
84530
|
return bt.children[pt];
|
|
84531
84531
|
}
|
|
84532
|
-
), searchLineFeeds = /\n/g, searchTabOrSpaces = /[\t ]+/g, br = convertElement("br"), cell = convertElement(isCell), p$
|
|
84532
|
+
), searchLineFeeds = /\n/g, searchTabOrSpaces = /[\t ]+/g, br = convertElement("br"), cell = convertElement(isCell), p$b = convertElement("p"), row = convertElement("tr"), notRendered = convertElement([
|
|
84533
84533
|
// List from: <https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements>
|
|
84534
84534
|
"datalist",
|
|
84535
84535
|
"head",
|
|
@@ -84671,7 +84671,7 @@ function collectElement(bt, pt, vt) {
|
|
|
84671
84671
|
let Pt, Bt;
|
|
84672
84672
|
for (br(bt) || row(bt) && // @ts-expect-error: something up with types of parents.
|
|
84673
84673
|
findAfter(pt, bt, row) ? Bt = `
|
|
84674
|
-
` : p$
|
|
84674
|
+
` : p$b(bt) ? (Pt = 2, Bt = 2) : blockOrCaption(bt) && (Pt = 1, Bt = 1); ++Rt < $t.length; )
|
|
84675
84675
|
Ft = Ft.concat(renderedTextCollection($t[Rt], bt, {
|
|
84676
84676
|
whitespace: _t,
|
|
84677
84677
|
breakBefore: Rt ? void 0 : Pt,
|
|
@@ -92867,7 +92867,7 @@ var CheckOutlined = function bt(pt, vt) {
|
|
|
92867
92867
|
icon: CheckOutlinedSvg
|
|
92868
92868
|
}));
|
|
92869
92869
|
}, RefIcon$7 = /* @__PURE__ */ reactExports.forwardRef(CheckOutlined);
|
|
92870
|
-
const p$
|
|
92870
|
+
const p$a = RefIcon$7;
|
|
92871
92871
|
function Popup(bt) {
|
|
92872
92872
|
var pt = bt.children, vt = bt.prefixCls, _t = bt.id, $t = bt.overlayInnerStyle, Rt = bt.bodyClassName, Ft = bt.className, Pt = bt.style;
|
|
92873
92873
|
return /* @__PURE__ */ reactExports.createElement("div", {
|
|
@@ -94890,7 +94890,7 @@ const Image$2 = (bt) => {
|
|
|
94890
94890
|
}, Ft)));
|
|
94891
94891
|
};
|
|
94892
94892
|
Image$2.PreviewGroup = PreviewGroup;
|
|
94893
|
-
const i$
|
|
94893
|
+
const i$4 = Image$2;
|
|
94894
94894
|
var _excluded$5 = ["className", "component", "viewBox", "spin", "rotate", "tabIndex", "onClick", "children"], Icon = /* @__PURE__ */ reactExports.forwardRef(function(bt, pt) {
|
|
94895
94895
|
var vt = bt.className, _t = bt.component, $t = bt.viewBox, Rt = bt.spin, Ft = bt.rotate, Pt = bt.tabIndex, Bt = bt.onClick, qt = bt.children, Ht = _objectWithoutProperties$2(bt, _excluded$5), Gt = reactExports.useRef(), Zt = useComposeRef(Gt, pt);
|
|
94896
94896
|
warning$1(!!(_t || qt), "Should have `component` prop or `children`."), useInsertStyles(Gt);
|
|
@@ -97558,7 +97558,7 @@ const classPrefix$4 = "adm-mask", opacityRecord = {
|
|
|
97558
97558
|
function clamp(bt, pt, vt) {
|
|
97559
97559
|
return Math.max(pt, Math.min(bt, vt));
|
|
97560
97560
|
}
|
|
97561
|
-
const V = {
|
|
97561
|
+
const V$1 = {
|
|
97562
97562
|
toVector(bt, pt) {
|
|
97563
97563
|
return bt === void 0 && (bt = pt), Array.isArray(bt) ? bt : [bt, bt];
|
|
97564
97564
|
},
|
|
@@ -97827,7 +97827,7 @@ class Engine {
|
|
|
97827
97827
|
let Rt = 0;
|
|
97828
97828
|
if (pt && (vt.event = pt, _t.preventDefault && pt.cancelable && vt.event.preventDefault(), vt.type = pt.type, $t.touches = this.ctrl.pointerIds.size || this.ctrl.touchIds.size, $t.locked = !!document.pointerLockElement, Object.assign($t, getEventDetails(pt)), $t.down = $t.pressed = $t.buttons % 2 === 1 || $t.touches > 0, Rt = pt.timeStamp - vt.timeStamp, vt.timeStamp = pt.timeStamp, vt.elapsedTime = vt.timeStamp - vt.startTime), vt._active) {
|
|
97829
97829
|
const dr = vt._delta.map(Math.abs);
|
|
97830
|
-
V.addTo(vt._distance, dr);
|
|
97830
|
+
V$1.addTo(vt._distance, dr);
|
|
97831
97831
|
}
|
|
97832
97832
|
this.axisIntent && this.axisIntent(pt);
|
|
97833
97833
|
const [Ft, Pt] = vt._movement, [Bt, qt] = _t.threshold, {
|
|
@@ -97848,10 +97848,10 @@ class Engine {
|
|
|
97848
97848
|
const [rr, ir] = vt.offset, [[sr, ar], [or, ur]] = vt._bounds;
|
|
97849
97849
|
vt.overflow = [rr < sr ? -1 : rr > ar ? 1 : 0, ir < or ? -1 : ir > ur ? 1 : 0], vt._movementBound[0] = vt.overflow[0] ? vt._movementBound[0] === !1 ? vt._movement[0] : vt._movementBound[0] : !1, vt._movementBound[1] = vt.overflow[1] ? vt._movementBound[1] === !1 ? vt._movement[1] : vt._movementBound[1] : !1;
|
|
97850
97850
|
const cr = vt._active ? _t.rubberband || [0, 0] : [0, 0];
|
|
97851
|
-
if (vt.offset = computeRubberband(vt._bounds, vt.offset, cr), vt.delta = V.sub(vt.offset, Jt), this.computeMovement(), Kt && (!vt.last || Rt > BEFORE_LAST_KINEMATICS_DELAY)) {
|
|
97852
|
-
vt.delta = V.sub(vt.offset, Jt);
|
|
97851
|
+
if (vt.offset = computeRubberband(vt._bounds, vt.offset, cr), vt.delta = V$1.sub(vt.offset, Jt), this.computeMovement(), Kt && (!vt.last || Rt > BEFORE_LAST_KINEMATICS_DELAY)) {
|
|
97852
|
+
vt.delta = V$1.sub(vt.offset, Jt);
|
|
97853
97853
|
const dr = vt.delta.map(Math.abs);
|
|
97854
|
-
V.addTo(vt.distance, dr), vt.direction = vt.delta.map(Math.sign), vt._direction = vt._delta.map(Math.sign), !vt.first && Rt > 0 && (vt.velocity = [dr[0] / Rt, dr[1] / Rt], vt.timeDelta = Rt);
|
|
97854
|
+
V$1.addTo(vt.distance, dr), vt.direction = vt.delta.map(Math.sign), vt._direction = vt._delta.map(Math.sign), !vt.first && Rt > 0 && (vt.velocity = [dr[0] / Rt, dr[1] / Rt], vt.timeDelta = Rt);
|
|
97855
97855
|
}
|
|
97856
97856
|
}
|
|
97857
97857
|
emit() {
|
|
@@ -97885,10 +97885,10 @@ class CoordinatesEngine extends Engine {
|
|
|
97885
97885
|
this.state.offset = [0, 0], this.state.lastOffset = [0, 0];
|
|
97886
97886
|
}
|
|
97887
97887
|
computeOffset() {
|
|
97888
|
-
this.state.offset = V.add(this.state.lastOffset, this.state.movement);
|
|
97888
|
+
this.state.offset = V$1.add(this.state.lastOffset, this.state.movement);
|
|
97889
97889
|
}
|
|
97890
97890
|
computeMovement() {
|
|
97891
|
-
this.state.movement = V.sub(this.state.offset, this.state.lastOffset);
|
|
97891
|
+
this.state.movement = V$1.sub(this.state.offset, this.state.lastOffset);
|
|
97892
97892
|
}
|
|
97893
97893
|
axisIntent(pt) {
|
|
97894
97894
|
const vt = this.state, _t = this.config;
|
|
@@ -97930,21 +97930,21 @@ const identity$1 = (bt) => bt, DEFAULT_RUBBERBAND = 0.15, commonConfigResolver =
|
|
|
97930
97930
|
case !1:
|
|
97931
97931
|
return [0, 0];
|
|
97932
97932
|
default:
|
|
97933
|
-
return V.toVector(bt);
|
|
97933
|
+
return V$1.toVector(bt);
|
|
97934
97934
|
}
|
|
97935
97935
|
},
|
|
97936
97936
|
from(bt) {
|
|
97937
97937
|
if (typeof bt == "function")
|
|
97938
97938
|
return bt;
|
|
97939
97939
|
if (bt != null)
|
|
97940
|
-
return V.toVector(bt);
|
|
97940
|
+
return V$1.toVector(bt);
|
|
97941
97941
|
},
|
|
97942
97942
|
transform(bt, pt, vt) {
|
|
97943
97943
|
const _t = bt || vt.shared.transform;
|
|
97944
97944
|
return this.hasCustomTransform = !!_t, _t || identity$1;
|
|
97945
97945
|
},
|
|
97946
97946
|
threshold(bt) {
|
|
97947
|
-
return V.toVector(bt, 0);
|
|
97947
|
+
return V$1.toVector(bt, 0);
|
|
97948
97948
|
}
|
|
97949
97949
|
}, DEFAULT_AXIS_THRESHOLD = 0, coordinatesConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
97950
97950
|
axis(bt, pt, {
|
|
@@ -98029,7 +98029,7 @@ class DragEngine extends CoordinatesEngine {
|
|
|
98029
98029
|
if (vt._pointerId !== void 0 && $t !== vt._pointerId)
|
|
98030
98030
|
return;
|
|
98031
98031
|
const Rt = pointerValues(pt);
|
|
98032
|
-
if (document.pointerLockElement === pt.target ? vt._delta = [pt.movementX, pt.movementY] : (vt._delta = V.sub(Rt, vt._values), this.computeValues(Rt)), V.addTo(vt._movement, vt._delta), this.compute(pt), vt._delayed && vt.intentional) {
|
|
98032
|
+
if (document.pointerLockElement === pt.target ? vt._delta = [pt.movementX, pt.movementY] : (vt._delta = V$1.sub(Rt, vt._values), this.computeValues(Rt)), V$1.addTo(vt._movement, vt._delta), this.compute(pt), vt._delayed && vt.intentional) {
|
|
98033
98033
|
this.timeoutStore.remove("dragDelay"), vt.active = !1, this.startPointerDrag(pt);
|
|
98034
98034
|
return;
|
|
98035
98035
|
}
|
|
@@ -98100,7 +98100,7 @@ class DragEngine extends CoordinatesEngine {
|
|
|
98100
98100
|
const vt = KEYS_DELTA_MAP[pt.key];
|
|
98101
98101
|
if (vt) {
|
|
98102
98102
|
const _t = this.state, $t = pt.shiftKey ? 10 : pt.altKey ? 0.1 : 1;
|
|
98103
|
-
this.start(pt), _t._delta = vt(this.config.keyboardDisplacement, $t), _t._keyboardActive = !0, V.addTo(_t._movement, _t._delta), this.compute(pt), this.emit();
|
|
98103
|
+
this.start(pt), _t._delta = vt(this.config.keyboardDisplacement, $t), _t._keyboardActive = !0, V$1.addTo(_t._movement, _t._delta), this.compute(pt), this.emit();
|
|
98104
98104
|
}
|
|
98105
98105
|
}
|
|
98106
98106
|
keyUp(pt) {
|
|
@@ -98178,7 +98178,7 @@ const SUPPORT = {
|
|
|
98178
98178
|
tapsThreshold: _t = 3,
|
|
98179
98179
|
axis: $t = void 0
|
|
98180
98180
|
}) {
|
|
98181
|
-
const Rt = V.toVector(bt, vt ? _t : $t ? 1 : 0);
|
|
98181
|
+
const Rt = V$1.toVector(bt, vt ? _t : $t ? 1 : 0);
|
|
98182
98182
|
return this.filterTaps = vt, this.tapsThreshold = _t, Rt;
|
|
98183
98183
|
},
|
|
98184
98184
|
swipe({
|
|
@@ -98187,8 +98187,8 @@ const SUPPORT = {
|
|
|
98187
98187
|
duration: vt = DEFAULT_SWIPE_DURATION
|
|
98188
98188
|
} = {}) {
|
|
98189
98189
|
return {
|
|
98190
|
-
velocity: this.transform(V.toVector(bt)),
|
|
98191
|
-
distance: this.transform(V.toVector(pt)),
|
|
98190
|
+
velocity: this.transform(V$1.toVector(bt)),
|
|
98191
|
+
distance: this.transform(V$1.toVector(pt)),
|
|
98192
98192
|
duration: vt
|
|
98193
98193
|
};
|
|
98194
98194
|
},
|
|
@@ -98232,7 +98232,7 @@ class PinchEngine extends Engine {
|
|
|
98232
98232
|
movement: vt,
|
|
98233
98233
|
lastOffset: _t
|
|
98234
98234
|
} = this.state;
|
|
98235
|
-
pt === "wheel" ? this.state.offset = V.add(vt, _t) : this.state.offset = [(1 + vt[0]) * _t[0], vt[1] + _t[1]];
|
|
98235
|
+
pt === "wheel" ? this.state.offset = V$1.add(vt, _t) : this.state.offset = [(1 + vt[0]) * _t[0], vt[1] + _t[1]];
|
|
98236
98236
|
}
|
|
98237
98237
|
computeMovement() {
|
|
98238
98238
|
const {
|
|
@@ -98322,7 +98322,7 @@ class PinchEngine extends Engine {
|
|
|
98322
98322
|
const vt = this.state;
|
|
98323
98323
|
this.computeValues([pt.scale, pt.rotation]), vt.origin = [pt.clientX, pt.clientY];
|
|
98324
98324
|
const _t = vt._movement;
|
|
98325
|
-
vt._movement = [pt.scale - 1, pt.rotation], vt._delta = V.sub(vt._movement, _t), this.compute(pt), this.emit();
|
|
98325
|
+
vt._movement = [pt.scale - 1, pt.rotation], vt._delta = V$1.sub(vt._movement, _t), this.compute(pt), this.emit();
|
|
98326
98326
|
}
|
|
98327
98327
|
gestureEnd(pt) {
|
|
98328
98328
|
this.state._active && (this.state._active = !1, this.compute(pt), this.emit());
|
|
@@ -98337,7 +98337,7 @@ class PinchEngine extends Engine {
|
|
|
98337
98337
|
wheelChange(pt) {
|
|
98338
98338
|
"uv" in pt || pt.cancelable && pt.preventDefault();
|
|
98339
98339
|
const _t = this.state;
|
|
98340
|
-
_t._delta = [-wheelValues(pt)[1] / PINCH_WHEEL_RATIO * _t.offset[0], 0], V.addTo(_t._movement, _t._delta), clampStateInternalMovementToBounds(_t), this.state.origin = [pt.clientX, pt.clientY], this.compute(pt), this.emit();
|
|
98340
|
+
_t._delta = [-wheelValues(pt)[1] / PINCH_WHEEL_RATIO * _t.offset[0], 0], V$1.addTo(_t._movement, _t._delta), clampStateInternalMovementToBounds(_t), this.state.origin = [pt.clientX, pt.clientY], this.compute(pt), this.emit();
|
|
98341
98341
|
}
|
|
98342
98342
|
wheelEnd() {
|
|
98343
98343
|
this.state._active && (this.state._active = !1, this.compute(), this.emit());
|
|
@@ -98387,7 +98387,7 @@ const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigRe
|
|
|
98387
98387
|
return typeof vt != "function" && typeof _t != "function" ? [$t(), Rt()] : (Ft) => [$t(Ft), Rt(Ft)];
|
|
98388
98388
|
},
|
|
98389
98389
|
threshold(bt, pt, vt) {
|
|
98390
|
-
return this.lockDirection = vt.axis === "lock", V.toVector(bt, this.lockDirection ? [0.1, 3] : 0);
|
|
98390
|
+
return this.lockDirection = vt.axis === "lock", V$1.toVector(bt, this.lockDirection ? [0.1, 3] : 0);
|
|
98391
98391
|
},
|
|
98392
98392
|
modifierKey(bt) {
|
|
98393
98393
|
return bt === void 0 ? "ctrlKey" : bt;
|
|
@@ -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
|
|
@@ -99937,12 +99937,12 @@ lib.useDeviceData = useDeviceData;
|
|
|
99937
99937
|
lib.useDeviceSelectors = useDeviceSelectors;
|
|
99938
99938
|
lib.useMobileOrientation = useMobileOrientation;
|
|
99939
99939
|
lib.withOrientationChange = withOrientationChange;
|
|
99940
|
-
var a$
|
|
99940
|
+
var a$4 = Object.defineProperty, e$1 = Object.getOwnPropertySymbols, n$4 = Object.prototype.hasOwnProperty, s$3 = Object.prototype.propertyIsEnumerable, i$3 = (bt, pt, vt) => pt in bt ? a$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, r$4 = (bt, pt) => {
|
|
99941
99941
|
for (var vt in pt || (pt = {}))
|
|
99942
|
-
n$4.call(pt, vt) && i$
|
|
99942
|
+
n$4.call(pt, vt) && i$3(bt, vt, pt[vt]);
|
|
99943
99943
|
if (e$1)
|
|
99944
99944
|
for (var vt of e$1(pt))
|
|
99945
|
-
s$3.call(pt, vt) && i$
|
|
99945
|
+
s$3.call(pt, vt) && i$3(bt, vt, pt[vt]);
|
|
99946
99946
|
return bt;
|
|
99947
99947
|
};
|
|
99948
99948
|
const m$5 = (bt) => /* @__PURE__ */ jsxRuntimeExports.jsx("video", r$4({
|
|
@@ -99963,7 +99963,7 @@ function c$6(bt) {
|
|
|
99963
99963
|
vt += pt[_t];
|
|
99964
99964
|
return vt;
|
|
99965
99965
|
}
|
|
99966
|
-
function p$
|
|
99966
|
+
function p$9(bt) {
|
|
99967
99967
|
var pt;
|
|
99968
99968
|
const vt = (() => {
|
|
99969
99969
|
try {
|
|
@@ -99977,18 +99977,18 @@ 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$6 = Object.defineProperty, k$4 = Object.defineProperties, I$5 = Object.getOwnPropertyDescriptors, f$
|
|
99980
|
+
var w$6 = Object.defineProperty, k$4 = Object.defineProperties, I$5 = Object.getOwnPropertyDescriptors, f$9 = Object.getOwnPropertySymbols, y$4 = Object.prototype.hasOwnProperty, M$3 = Object.prototype.propertyIsEnumerable, d$8 = (bt, pt, vt) => pt in bt ? w$6(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
|
-
y$
|
|
99983
|
-
if (f$
|
|
99984
|
-
for (var vt of f$
|
|
99982
|
+
y$4.call(pt, vt) && d$8(bt, vt, pt[vt]);
|
|
99983
|
+
if (f$9)
|
|
99984
|
+
for (var vt of f$9(pt))
|
|
99985
99985
|
M$3.call(pt, vt) && d$8(bt, vt, pt[vt]);
|
|
99986
99986
|
return bt;
|
|
99987
|
-
}, a$
|
|
99988
|
-
const E$
|
|
99987
|
+
}, a$3 = (bt, pt) => k$4(bt, I$5(pt));
|
|
99988
|
+
const E$4 = (bt) => {
|
|
99989
99989
|
const [pt, vt] = reactExports.useState(!1), [_t, $t] = reactExports.useState();
|
|
99990
99990
|
return reactExports.useEffect(() => {
|
|
99991
|
-
bt.src && $t(p$
|
|
99991
|
+
bt.src && $t(p$9(bt.src));
|
|
99992
99992
|
}, [bt.src]), _t == "video" ? /* @__PURE__ */ jsxRuntimeExports.jsx(c$7, {
|
|
99993
99993
|
src: bt.src,
|
|
99994
99994
|
controls: !0
|
|
@@ -100001,14 +100001,14 @@ 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: () => {
|
|
100008
100008
|
vt(!1);
|
|
100009
100009
|
}
|
|
100010
100010
|
})]
|
|
100011
|
-
}) : /* @__PURE__ */ jsxRuntimeExports.jsx(i$
|
|
100011
|
+
}) : /* @__PURE__ */ jsxRuntimeExports.jsx(i$4, a$3(r$3({
|
|
100012
100012
|
style: {
|
|
100013
100013
|
maxWidth: "100%"
|
|
100014
100014
|
},
|
|
@@ -100019,7 +100019,7 @@ const E$3 = (bt) => {
|
|
|
100019
100019
|
}, bt), {
|
|
100020
100020
|
onClick: (Rt) => {
|
|
100021
100021
|
var Ft, Pt, Bt;
|
|
100022
|
-
(Bt = bt.onClick) == null || Bt.call(bt, a$
|
|
100022
|
+
(Bt = bt.onClick) == null || Bt.call(bt, a$3(r$3({}, Rt), {
|
|
100023
100023
|
target: (Pt = (Ft = Rt.target) == null ? void 0 : Ft.offsetParent) == null ? void 0 : Pt.children[0]
|
|
100024
100024
|
}));
|
|
100025
100025
|
},
|
|
@@ -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) {
|
|
@@ -102354,7 +102354,7 @@ ctx.Prism = {
|
|
|
102354
102354
|
manual: !0,
|
|
102355
102355
|
disableWorkerMessageHandler: !0
|
|
102356
102356
|
};
|
|
102357
|
-
var h$
|
|
102357
|
+
var h$7 = hastscript, decode$3 = parseEntities_1, Prism = prismCoreExports, markup = markup_1, css = css_1, clike = clike_1, js$1 = javascript_1;
|
|
102358
102358
|
restore();
|
|
102359
102359
|
var own = {}.hasOwnProperty;
|
|
102360
102360
|
function Refractor() {
|
|
@@ -102424,7 +102424,7 @@ function stringify(bt, pt, vt) {
|
|
|
102424
102424
|
attributes: {},
|
|
102425
102425
|
language: pt,
|
|
102426
102426
|
parent: vt
|
|
102427
|
-
}, bt.alias && (_t.classes = _t.classes.concat(bt.alias)), refract.hooks.run("wrap", _t), h$
|
|
102427
|
+
}, bt.alias && (_t.classes = _t.classes.concat(bt.alias)), refract.hooks.run("wrap", _t), h$7(_t.tag + "." + _t.classes.join("."), attributes(_t.attributes), _t.content));
|
|
102428
102428
|
}
|
|
102429
102429
|
function stringifyAll(bt, pt) {
|
|
102430
102430
|
for (var vt = [], _t = bt.length, $t = -1, Rt; ++$t < _t; )
|
|
@@ -120569,7 +120569,7 @@ const d$7 = (bt) => l$4(void 0, [bt], function* ({
|
|
|
120569
120569
|
pt && setTimeout(() => vt(void 0), 2e3);
|
|
120570
120570
|
}, [pt]), pt ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
120571
120571
|
className: "copy-tip",
|
|
120572
|
-
children: pt === "success" ? /* @__PURE__ */ jsxRuntimeExports.jsx(p$
|
|
120572
|
+
children: pt === "success" ? /* @__PURE__ */ jsxRuntimeExports.jsx(p$a, {
|
|
120573
120573
|
style: {
|
|
120574
120574
|
color: "rgba(48, 191, 19, 1)"
|
|
120575
120575
|
}
|
|
@@ -120595,29 +120595,29 @@ 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$8 = Object.defineProperties, h$6 = Object.getOwnPropertyDescriptors, t$3 = Object.getOwnPropertySymbols, g$7 = Object.prototype.hasOwnProperty, p$8 = Object.prototype.propertyIsEnumerable, w$5 = (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$
|
|
120601
|
-
if (t$
|
|
120602
|
-
for (var vt of t$
|
|
120603
|
-
p$
|
|
120600
|
+
g$7.call(pt, vt) && w$5(bt, vt, pt[vt]);
|
|
120601
|
+
if (t$3)
|
|
120602
|
+
for (var vt of t$3(pt))
|
|
120603
|
+
p$8.call(pt, vt) && w$5(bt, vt, pt[vt]);
|
|
120604
120604
|
return bt;
|
|
120605
|
-
}, m$4 = (bt, pt) => f$
|
|
120605
|
+
}, m$4 = (bt, pt) => f$8(bt, h$6(pt)), u$8 = (bt, pt) => {
|
|
120606
120606
|
var vt = {};
|
|
120607
120607
|
for (var _t in bt)
|
|
120608
|
-
g$
|
|
120609
|
-
if (bt != null && t$
|
|
120610
|
-
for (var _t of t$
|
|
120611
|
-
pt.indexOf(_t) < 0 && p$
|
|
120608
|
+
g$7.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120609
|
+
if (bt != null && t$3)
|
|
120610
|
+
for (var _t of t$3(bt))
|
|
120611
|
+
pt.indexOf(_t) < 0 && p$8.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,28 +120651,28 @@ const L$1 = (bt) => {
|
|
|
120651
120651
|
}, Ft), {
|
|
120652
120652
|
children: Rt
|
|
120653
120653
|
}));
|
|
120654
|
-
}, y$
|
|
120655
|
-
var j$1 = Object.defineProperty, v$
|
|
120654
|
+
}, y$3 = L$2;
|
|
120655
|
+
var j$1 = Object.defineProperty, v$3 = Object.defineProperties, A$4 = Object.getOwnPropertyDescriptors, w$4 = Object.getOwnPropertySymbols, f$7 = 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
|
-
f$
|
|
120657
|
+
f$7.call(pt, vt) && d$5(bt, vt, pt[vt]);
|
|
120658
120658
|
if (w$4)
|
|
120659
120659
|
for (var vt of w$4(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$3(bt, A$4(pt)), x$5 = (bt, pt) => {
|
|
120663
120663
|
var vt = {};
|
|
120664
120664
|
for (var _t in bt)
|
|
120665
|
-
f$
|
|
120665
|
+
f$7.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120666
120666
|
if (bt != null && w$4)
|
|
120667
120667
|
for (var _t of w$4(bt))
|
|
120668
120668
|
pt.indexOf(_t) < 0 && m$3.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120669
120669
|
return vt;
|
|
120670
120670
|
};
|
|
120671
|
-
const p$
|
|
120671
|
+
const p$7 = (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), {
|
|
@@ -120691,21 +120691,21 @@ const p$8 = (bt) => {
|
|
|
120691
120691
|
});
|
|
120692
120692
|
}
|
|
120693
120693
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("a", c$5({}, Rt));
|
|
120694
|
-
}, M$2 = p$
|
|
120695
|
-
var c$4 = Object.defineProperty, C$
|
|
120694
|
+
}, M$2 = p$7;
|
|
120695
|
+
var c$4 = Object.defineProperty, C$1 = Object.defineProperties, T$3 = Object.getOwnPropertyDescriptors, m$2 = Object.getOwnPropertySymbols, u$6 = Object.prototype.hasOwnProperty, h$5 = Object.prototype.propertyIsEnumerable, g$6 = (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$6(bt, vt, pt[vt]);
|
|
120698
120698
|
if (m$2)
|
|
120699
120699
|
for (var vt of m$2(pt))
|
|
120700
|
-
h$
|
|
120700
|
+
h$5.call(pt, vt) && g$6(bt, vt, pt[vt]);
|
|
120701
120701
|
return bt;
|
|
120702
|
-
}, n$3 = (bt, pt) => C$
|
|
120702
|
+
}, n$3 = (bt, pt) => C$1(bt, T$3(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
|
-
pt.indexOf(_t) < 0 && h$
|
|
120708
|
+
pt.indexOf(_t) < 0 && h$5.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120709
120709
|
return vt;
|
|
120710
120710
|
};
|
|
120711
120711
|
function K$2(bt) {
|
|
@@ -120728,7 +120728,7 @@ const $$2 = (bt) => {
|
|
|
120728
120728
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(B$1, d$4(d$4({}, Gt), $t == null ? void 0 : $t.img));
|
|
120729
120729
|
},
|
|
120730
120730
|
code(Gt) {
|
|
120731
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(y$
|
|
120731
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(y$3, d$4(d$4({}, Gt), $t == null ? void 0 : $t.code));
|
|
120732
120732
|
},
|
|
120733
120733
|
video(Gt) {
|
|
120734
120734
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(c$7, d$4(d$4({}, Gt), $t == null ? void 0 : $t.video));
|
|
@@ -120757,13 +120757,13 @@ 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}}.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}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.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}.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-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%)}.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-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}.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}: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);
|
|
120764
120764
|
}
|
|
120765
120765
|
})();
|
|
120766
|
-
var n$2 = Object.defineProperty, f$
|
|
120766
|
+
var n$2 = Object.defineProperty, f$6 = (bt, pt, vt) => pt in bt ? n$2(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, r$2 = (bt, pt, vt) => (f$6(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt);
|
|
120767
120767
|
const o$2 = class Dm {
|
|
120768
120768
|
constructor(pt, vt = !1) {
|
|
120769
120769
|
this.prefix = pt, this.open = vt;
|
|
@@ -120788,18 +120788,18 @@ const o$2 = class Dm {
|
|
|
120788
120788
|
}
|
|
120789
120789
|
};
|
|
120790
120790
|
r$2(o$2, "debug", !1);
|
|
120791
|
-
let t$
|
|
120792
|
-
var
|
|
120791
|
+
let t$2 = o$2;
|
|
120792
|
+
var u$5 = Object.defineProperty, f$5 = Object.defineProperties, v$2 = Object.getOwnPropertyDescriptors, n$1 = Object.getOwnPropertySymbols, p$6 = Object.prototype.hasOwnProperty, h$4 = Object.prototype.propertyIsEnumerable, g$5 = (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
|
-
p$
|
|
120794
|
+
p$6.call(pt, vt) && g$5(bt, vt, pt[vt]);
|
|
120795
120795
|
if (n$1)
|
|
120796
120796
|
for (var vt of n$1(pt))
|
|
120797
|
-
h$
|
|
120797
|
+
h$4.call(pt, vt) && g$5(bt, vt, pt[vt]);
|
|
120798
120798
|
return bt;
|
|
120799
|
-
}, l$3 = (bt, pt) =>
|
|
120800
|
-
const R$5 = new t$
|
|
120801
|
-
var
|
|
120802
|
-
let
|
|
120799
|
+
}, l$3 = (bt, pt) => f$5(bt, v$2(pt));
|
|
120800
|
+
const R$5 = new t$2("[Config] ");
|
|
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$2 = {
|
|
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$2.debug = (bt == null ? void 0 : bt.debug) || !1, i$2 = l$3(c$3(c$3({}, i$2), bt), {
|
|
120817
|
+
apiRoot: (bt == null ? void 0 : bt.apiRoot) || i$2.apiRoot || (bt != null && bt.env ? s$1[bt.env || "prod"] : i$2.apiRoot),
|
|
120818
|
+
// 应用未注册插件时 param.plugins 为 undefined,避免覆盖默认空表
|
|
120819
|
+
plugins: (vt = (pt = bt == null ? void 0 : bt.plugins) != null ? pt : i$2.plugins) != null ? vt : {}
|
|
120820
|
+
}), t$2.debug && R$5.log("updated", i$2);
|
|
120818
120821
|
}
|
|
120819
120822
|
const _hasBuffer = typeof Buffer == "function", _TD = typeof TextDecoder == "function" ? new TextDecoder() : void 0;
|
|
120820
120823
|
typeof TextEncoder == "function" && new TextEncoder();
|
|
@@ -120839,22 +120842,28 @@ const b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
|
120839
120842
|
for (let Rt = 0; Rt < bt.length; )
|
|
120840
120843
|
pt = b64tab[bt.charAt(Rt++)] << 18 | b64tab[bt.charAt(Rt++)] << 12 | (_t = b64tab[bt.charAt(Rt++)]) << 6 | ($t = b64tab[bt.charAt(Rt++)]), vt += _t === 64 ? _fromCC(pt >> 16 & 255) : $t === 64 ? _fromCC(pt >> 16 & 255, pt >> 8 & 255) : _fromCC(pt >> 16 & 255, pt >> 8 & 255, pt & 255);
|
|
120841
120844
|
return vt;
|
|
120842
|
-
}, _atob = typeof atob == "function" ? (bt) => atob(_tidyB64(bt)) : _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("binary") : atobPolyfill, _toUint8Array = _hasBuffer ? (bt) => _U8Afrom(Buffer.from(bt, "base64")) : (bt) => _U8Afrom(_atob(bt).split("").map((pt) => pt.charCodeAt(0))), _decode = _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("utf8") : _TD ? (bt) => _TD.decode(_toUint8Array(bt)) : (bt) => btou(_atob(bt)), _unURI = (bt) => _tidyB64(bt.replace(/[-_]/g, (pt) => pt == "-" ? "+" : "/")), decode$2 = (bt) => _decode(_unURI(bt)),
|
|
120843
|
-
const pt =
|
|
120845
|
+
}, _atob = typeof atob == "function" ? (bt) => atob(_tidyB64(bt)) : _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("binary") : atobPolyfill, _toUint8Array = _hasBuffer ? (bt) => _U8Afrom(Buffer.from(bt, "base64")) : (bt) => _U8Afrom(_atob(bt).split("").map((pt) => pt.charCodeAt(0))), _decode = _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("utf8") : _TD ? (bt) => _TD.decode(_toUint8Array(bt)) : (bt) => btou(_atob(bt)), _unURI = (bt) => _tidyB64(bt.replace(/[-_]/g, (pt) => pt == "-" ? "+" : "/")), decode$2 = (bt) => _decode(_unURI(bt)), t$1 = (bt) => JSON.parse(decode$2(bt.split(".")[1])), w$3 = (bt) => {
|
|
120846
|
+
const pt = t$1(bt).exp;
|
|
120844
120847
|
return (/* @__PURE__ */ new Date()).valueOf() / 1e3 >= pt;
|
|
120845
|
-
},
|
|
120846
|
-
|
|
120848
|
+
}, f$4 = (bt) => bt == null ? void 0 : bt.replace(/[\r\n]+/gm, ""), T$2 = (bt) => bt.replace(/\\|\\/g, ""), g$4 = (bt, pt, vt, _t) => {
|
|
120849
|
+
if (bt !== !0)
|
|
120850
|
+
return null;
|
|
120851
|
+
const $t = (pt == null ? void 0 : pt.includeUserQuestion) === !0, Rt = (pt == null ? void 0 : pt.includeAiAnswer) === !0 || !$t, Ft = [];
|
|
120852
|
+
return $t && Ft.push(`用户问题:${_t}`), Rt && Ft.push(`AI回答:${vt}`), Ft.join(`
|
|
120853
|
+
`);
|
|
120854
|
+
};
|
|
120855
|
+
var d$3 = Object.defineProperty, h$3 = Object.defineProperties, x$3 = Object.getOwnPropertyDescriptors, c$2 = 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
120856
|
for (var vt in pt || (pt = {}))
|
|
120848
|
-
E$
|
|
120849
|
-
if (c$
|
|
120850
|
-
for (var vt of c$
|
|
120857
|
+
E$3.call(pt, vt) && a$2(bt, vt, pt[vt]);
|
|
120858
|
+
if (c$2)
|
|
120859
|
+
for (var vt of c$2(pt))
|
|
120851
120860
|
I$4.call(pt, vt) && a$2(bt, vt, pt[vt]);
|
|
120852
120861
|
return bt;
|
|
120853
|
-
}, p$5 = (bt, pt) => h$
|
|
120862
|
+
}, p$5 = (bt, pt) => h$3(bt, x$3(pt));
|
|
120854
120863
|
function z(bt, pt, vt) {
|
|
120855
120864
|
const _t = (Bt) => {
|
|
120856
120865
|
var qt;
|
|
120857
|
-
return pt && (
|
|
120866
|
+
return pt && (w$3(pt) && vt(403, "aiotToken is timeout"), Bt.headers = (qt = Bt.headers) != null ? qt : {}, Bt.headers = p$5(f$3({}, Bt.headers), {
|
|
120858
120867
|
Authorization: pt ? `Bearer ${pt}` : ""
|
|
120859
120868
|
})), Bt;
|
|
120860
120869
|
};
|
|
@@ -123188,18 +123197,18 @@ Object.assign(lookup, {
|
|
|
123188
123197
|
io: lookup,
|
|
123189
123198
|
connect: lookup
|
|
123190
123199
|
});
|
|
123191
|
-
var r$1 = /* @__PURE__ */ ((bt) => (bt[bt.Normal = 0] = "Normal", bt[bt.Debug = 1] = "Debug", bt))(r$1 || {}), u$
|
|
123200
|
+
var r$1 = /* @__PURE__ */ ((bt) => (bt[bt.Normal = 0] = "Normal", bt[bt.Debug = 1] = "Debug", bt))(r$1 || {}), u$4 = Object.defineProperty, v$1 = 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
123201
|
for (var vt in pt || (pt = {}))
|
|
123193
123202
|
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]);
|
|
123203
|
+
if (v$1)
|
|
123204
|
+
for (var vt of v$1(pt))
|
|
123205
|
+
L$1.call(pt, vt) && l$2(bt, vt, pt[vt]);
|
|
123197
123206
|
return bt;
|
|
123198
|
-
}, h$
|
|
123199
|
-
const i$1 = new t$
|
|
123207
|
+
}, h$2 = (bt, pt, vt) => (l$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt);
|
|
123208
|
+
const i$1 = new t$2("[EventBus] ");
|
|
123200
123209
|
let $$1 = class {
|
|
123201
123210
|
constructor(pt = !1) {
|
|
123202
|
-
h$
|
|
123211
|
+
h$2(this, "eventListenerMap", {}), pt && i$1.disable();
|
|
123203
123212
|
}
|
|
123204
123213
|
getEventListenerMap() {
|
|
123205
123214
|
return a$1({}, this.eventListenerMap);
|
|
@@ -123241,14 +123250,14 @@ let $$1 = class {
|
|
|
123241
123250
|
this.eventListenerMap = {};
|
|
123242
123251
|
}
|
|
123243
123252
|
};
|
|
123244
|
-
var
|
|
123253
|
+
var C = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOwnPropertyDescriptors, E$2 = Object.getOwnPropertySymbols, R$4 = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable, b$5 = (bt, pt, vt) => pt in bt ? C(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$2 = (bt, pt) => {
|
|
123245
123254
|
for (var vt in pt || (pt = {}))
|
|
123246
|
-
|
|
123247
|
-
if (E$
|
|
123248
|
-
for (var vt of E$
|
|
123249
|
-
|
|
123255
|
+
R$4.call(pt, vt) && b$5(bt, vt, pt[vt]);
|
|
123256
|
+
if (E$2)
|
|
123257
|
+
for (var vt of E$2(pt))
|
|
123258
|
+
O.call(pt, vt) && b$5(bt, vt, pt[vt]);
|
|
123250
123259
|
return bt;
|
|
123251
|
-
}, 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),
|
|
123260
|
+
}, 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), c$1 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
123252
123261
|
var Rt = (Bt) => {
|
|
123253
123262
|
try {
|
|
123254
123263
|
Pt(vt.next(Bt));
|
|
@@ -123264,9 +123273,9 @@ var Q = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOw
|
|
|
123264
123273
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
123265
123274
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
123266
123275
|
});
|
|
123267
|
-
const
|
|
123268
|
-
var
|
|
123269
|
-
class
|
|
123276
|
+
const V = 100, u$3 = new t$2("[Session] ");
|
|
123277
|
+
var Y = /* @__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))(Y || {});
|
|
123278
|
+
class te {
|
|
123270
123279
|
/**
|
|
123271
123280
|
* Session 类的构造函数,用于初始化会话实例。
|
|
123272
123281
|
* @param token - 用户的身份验证令牌,用于解析应用 ID。
|
|
@@ -123277,19 +123286,19 @@ class ee {
|
|
|
123277
123286
|
* @param client - Bot 客户端实例,可选参数。
|
|
123278
123287
|
*/
|
|
123279
123288
|
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 =
|
|
123289
|
+
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 = t$1(pt).rid || i$2.applicationId, this.cvforceApi = this.getService(), Rt && (this._application = Rt), this.event.emit("init", {
|
|
123281
123290
|
applicationId: this._applicationId,
|
|
123282
123291
|
sessionId: vt
|
|
123283
123292
|
}), this.loadApplicationInfo().then(() => {
|
|
123284
123293
|
var Pt;
|
|
123285
123294
|
if (vt)
|
|
123286
|
-
this._id = vt, this.event.emit("data:loading"), _t ? (this.data = _t, $t || (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) =>
|
|
123295
|
+
this._id = vt, this.event.emit("data:loading"), _t ? (this.data = _t, $t || (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) => c$1(this, null, function* () {
|
|
123287
123296
|
this.data = Bt, this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, vt);
|
|
123288
|
-
})).then(() =>
|
|
123297
|
+
})).then(() => c$1(this, null, function* () {
|
|
123289
123298
|
this.messages = [], yield this.fetchMessages(), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data);
|
|
123290
|
-
})))) : (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) =>
|
|
123299
|
+
})))) : (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) => c$1(this, null, function* () {
|
|
123291
123300
|
this.data = Bt, this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, vt);
|
|
123292
|
-
})).then(() =>
|
|
123301
|
+
})).then(() => c$1(this, null, function* () {
|
|
123293
123302
|
this.messages = [], yield this.fetchMessages(), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), this._dataLoading = !1, this._dataLoaded = !0;
|
|
123294
123303
|
})));
|
|
123295
123304
|
else {
|
|
@@ -123303,18 +123312,18 @@ class ee {
|
|
|
123303
123312
|
netOpen: _t == null ? void 0 : _t.netOpen,
|
|
123304
123313
|
knowledgeIdList: (Pt = _t == null ? void 0 : _t.knowledges) == null ? void 0 : Pt.map((qt) => qt.id),
|
|
123305
123314
|
applicationId: this._applicationId
|
|
123306
|
-
}).then((qt) =>
|
|
123315
|
+
}).then((qt) => c$1(this, null, function* () {
|
|
123307
123316
|
var Ht;
|
|
123308
123317
|
this._id = qt.id, this.data = I$3(f$2({}, qt), {
|
|
123309
123318
|
knowledges: _t == null ? void 0 : _t.knowledges
|
|
123310
123319
|
}), this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id);
|
|
123311
123320
|
try {
|
|
123312
|
-
yield (() =>
|
|
123321
|
+
yield (() => c$1(this, null, function* () {
|
|
123313
123322
|
if (_t != null && _t.knowledges)
|
|
123314
123323
|
return this.setKnowledges((_t == null ? void 0 : _t.knowledges) || void 0);
|
|
123315
123324
|
}))();
|
|
123316
123325
|
} catch (Gt) {
|
|
123317
|
-
u$
|
|
123326
|
+
u$3.error(Gt);
|
|
123318
123327
|
}
|
|
123319
123328
|
yield (() => {
|
|
123320
123329
|
if (_t != null && _t.promptVariables) {
|
|
@@ -123328,16 +123337,16 @@ class ee {
|
|
|
123328
123337
|
return this.setPromptVariables(Gt || []);
|
|
123329
123338
|
} else
|
|
123330
123339
|
return;
|
|
123331
|
-
})(), this.event.emit("data:created", this.data), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), ((Ht = this.application) == null ? void 0 : Ht.type) !== i$
|
|
123340
|
+
})(), this.event.emit("data:created", this.data), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), ((Ht = this.application) == null ? void 0 : Ht.type) !== i$6.Agent && (this._ready = !0, this.event.emit("ready"));
|
|
123332
123341
|
}));
|
|
123333
123342
|
}
|
|
123334
123343
|
});
|
|
123335
123344
|
}
|
|
123336
123345
|
fetchData() {
|
|
123337
|
-
return
|
|
123346
|
+
return c$1(this, null, function* () {
|
|
123338
123347
|
if (!this.data)
|
|
123339
123348
|
throw Error("session data is not loaded");
|
|
123340
|
-
return yield this.cvforceApi.getSession(this.applicationId, this.data.id).then((pt) =>
|
|
123349
|
+
return yield this.cvforceApi.getSession(this.applicationId, this.data.id).then((pt) => c$1(this, null, function* () {
|
|
123341
123350
|
return this.data = pt, this.event.emit("data:updated", this.data), pt;
|
|
123342
123351
|
}));
|
|
123343
123352
|
});
|
|
@@ -123377,7 +123386,7 @@ class ee {
|
|
|
123377
123386
|
return this.data.knowledges || void 0;
|
|
123378
123387
|
}
|
|
123379
123388
|
setKnowledges(pt) {
|
|
123380
|
-
return
|
|
123389
|
+
return c$1(this, null, function* () {
|
|
123381
123390
|
if (!this.data)
|
|
123382
123391
|
throw Error("session data is not loaded");
|
|
123383
123392
|
if ((pt || []).some((vt) => Array.isArray(vt.fileIds) && vt.fileIds.length === 0))
|
|
@@ -123386,8 +123395,8 @@ class ee {
|
|
|
123386
123395
|
var $t, Rt;
|
|
123387
123396
|
const Ft = (Rt = ($t = _t.fileIds) == null ? void 0 : $t.length) != null ? Rt : 0;
|
|
123388
123397
|
return vt + (Ft > 0 ? Ft : 1);
|
|
123389
|
-
}, 0) >
|
|
123390
|
-
throw Error(`knowledges and fileIds total count cannot exceed ${
|
|
123398
|
+
}, 0) > V)
|
|
123399
|
+
throw Error(`knowledges and fileIds total count cannot exceed ${V}`);
|
|
123391
123400
|
return yield this.cvforceApi.patchSessionsId(this._applicationId, this.data.id, {
|
|
123392
123401
|
knowledges: pt
|
|
123393
123402
|
}), this.data.knowledges = pt, this.event.emit("data:updated", this.data), this.event.emit("data:updated:knowledges", {
|
|
@@ -123400,7 +123409,7 @@ class ee {
|
|
|
123400
123409
|
throw Error("session id is not defined");
|
|
123401
123410
|
if (!this.data)
|
|
123402
123411
|
throw Error("session data is not loaded");
|
|
123403
|
-
const pt = this.promptVariables.filter((vt) => vt.status === L$
|
|
123412
|
+
const pt = this.promptVariables.filter((vt) => vt.status === L$3.Quoted).filter((vt) => !vt.value);
|
|
123404
123413
|
if (pt.length)
|
|
123405
123414
|
throw Error(`在提示词中被引用的变量值不能为空, 请检查以下变量: ${pt.map((vt) => vt.key).join(", ")}`);
|
|
123406
123415
|
}
|
|
@@ -123408,7 +123417,7 @@ class ee {
|
|
|
123408
123417
|
return this._promptVariables.filter((pt) => !(pt.type === k$5.User && pt.key === "query") && !(pt.type === k$5.System && pt.key === "datetime"));
|
|
123409
123418
|
}
|
|
123410
123419
|
setPromptVariables(pt) {
|
|
123411
|
-
return
|
|
123420
|
+
return c$1(this, null, function* () {
|
|
123412
123421
|
const vt = pt == null ? void 0 : pt.map(($t) => $t.type ? $t : I$3(f$2({}, $t), {
|
|
123413
123422
|
type: "instruction"
|
|
123414
123423
|
})), _t = this._promptVariables.map(($t) => {
|
|
@@ -123445,9 +123454,9 @@ class ee {
|
|
|
123445
123454
|
* @returns 如果设置成功,返回最终的网络访问开关状态;若不满足设置条件,则提前返回 undefined
|
|
123446
123455
|
*/
|
|
123447
123456
|
setNetOpen(pt) {
|
|
123448
|
-
return
|
|
123457
|
+
return c$1(this, null, function* () {
|
|
123449
123458
|
var vt, _t, $t;
|
|
123450
|
-
if (u$
|
|
123459
|
+
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$6.Agent) {
|
|
123451
123460
|
console.warn("Agent Application Sessions are disabled to setNetOpen.");
|
|
123452
123461
|
return;
|
|
123453
123462
|
}
|
|
@@ -123460,20 +123469,20 @@ class ee {
|
|
|
123460
123469
|
return yield this.cvforceApi.patchSessionsId(this._applicationId, this.data.id, {
|
|
123461
123470
|
netOpen: pt ? 1 : 2
|
|
123462
123471
|
/* disable */
|
|
123463
|
-
}), this.data.netOpen = pt, u$
|
|
123472
|
+
}), 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
123473
|
netOpen: pt
|
|
123465
123474
|
}), pt;
|
|
123466
123475
|
});
|
|
123467
123476
|
}
|
|
123468
123477
|
getService() {
|
|
123469
|
-
return z(
|
|
123478
|
+
return z(i$2.apiRoot, this.token, (pt, vt) => {
|
|
123470
123479
|
const _t = new Error("data request error", {
|
|
123471
123480
|
cause: {
|
|
123472
123481
|
status: pt,
|
|
123473
123482
|
message: vt
|
|
123474
123483
|
}
|
|
123475
123484
|
});
|
|
123476
|
-
u$
|
|
123485
|
+
u$3.error(_t), this.event.emit("error", _t);
|
|
123477
123486
|
});
|
|
123478
123487
|
}
|
|
123479
123488
|
addEventListener(pt, vt, _t = !1) {
|
|
@@ -123494,13 +123503,13 @@ class ee {
|
|
|
123494
123503
|
* @returns Promise<false|Message[]>
|
|
123495
123504
|
*/
|
|
123496
123505
|
fetchMessages() {
|
|
123497
|
-
return
|
|
123506
|
+
return c$1(this, arguments, function* (pt = {}) {
|
|
123498
123507
|
var vt, _t;
|
|
123499
123508
|
const $t = {
|
|
123500
123509
|
pageSize: this._loadingMessagesSize
|
|
123501
123510
|
};
|
|
123502
123511
|
if (this._id) {
|
|
123503
|
-
pt = f$2(f$2({}, $t), pt), this.event.emit("history:loading"), u$
|
|
123512
|
+
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
123513
|
const Rt = yield this.cvforceApi.getChatHistorySessionId(this._applicationId, this._id, pt), Ft = Rt.map((Bt, qt) => {
|
|
123505
123514
|
var Ht, Gt;
|
|
123506
123515
|
let Zt = [], Jt;
|
|
@@ -123524,7 +123533,7 @@ class ee {
|
|
|
123524
123533
|
this.messages.splice(Bt, qt - Bt + 1, ...Ft);
|
|
123525
123534
|
}
|
|
123526
123535
|
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$
|
|
123536
|
+
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
123537
|
} else {
|
|
123529
123538
|
const Rt = new Error(
|
|
123530
123539
|
"session id is not defined"
|
|
@@ -123533,46 +123542,46 @@ class ee {
|
|
|
123533
123542
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
123534
123543
|
// }
|
|
123535
123544
|
);
|
|
123536
|
-
return u$
|
|
123545
|
+
return u$3.error(Rt), this.event.emit("error", Rt), !1;
|
|
123537
123546
|
}
|
|
123538
123547
|
});
|
|
123539
123548
|
}
|
|
123540
123549
|
rename(pt) {
|
|
123541
|
-
return
|
|
123550
|
+
return c$1(this, null, function* () {
|
|
123542
123551
|
if (!this._id)
|
|
123543
123552
|
throw Error("session is not created yet");
|
|
123544
123553
|
if (pt.trim() === "")
|
|
123545
123554
|
throw Error("name is empty");
|
|
123546
123555
|
return this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123547
123556
|
name: pt
|
|
123548
|
-
}), u$
|
|
123557
|
+
}), u$3.log("data:updated", this.messages), this.event.emit("data:updated", this.data), this.event.emit("data:updated:name", {
|
|
123549
123558
|
name: pt
|
|
123550
123559
|
}), !0;
|
|
123551
123560
|
});
|
|
123552
123561
|
}
|
|
123553
123562
|
pushMessage(pt) {
|
|
123554
|
-
return
|
|
123555
|
-
this.messages.push(pt), u$
|
|
123563
|
+
return c$1(this, null, function* () {
|
|
123564
|
+
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
123565
|
});
|
|
123557
123566
|
}
|
|
123558
123567
|
reloadSessionInfo() {
|
|
123559
123568
|
if (!this._id)
|
|
123560
123569
|
throw Error("session is not created yet");
|
|
123561
|
-
return this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, this._id).then((pt) =>
|
|
123570
|
+
return this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, this._id).then((pt) => c$1(this, null, function* () {
|
|
123562
123571
|
if (this.data = pt, !this._id)
|
|
123563
123572
|
throw Error("session is not created yet");
|
|
123564
|
-
return this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id), u$
|
|
123565
|
-
})).then(() =>
|
|
123573
|
+
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;
|
|
123574
|
+
})).then(() => c$1(this, null, function* () {
|
|
123566
123575
|
return this.messages = [], yield this.fetchMessages(), this._dataLoading = !1, this._dataLoaded = !0, this.event.emit("data:loaded", this.data), this;
|
|
123567
123576
|
}));
|
|
123568
123577
|
}
|
|
123569
123578
|
reload() {
|
|
123570
|
-
return
|
|
123579
|
+
return c$1(this, null, function* () {
|
|
123571
123580
|
return yield this.reloadSessionInfo(), this.socket ? (this.inactivate(!0), this.activate()) : (this.inactivate(!0), this.activate());
|
|
123572
123581
|
});
|
|
123573
123582
|
}
|
|
123574
123583
|
delete() {
|
|
123575
|
-
return
|
|
123584
|
+
return c$1(this, null, function* () {
|
|
123576
123585
|
if (!this.id) {
|
|
123577
123586
|
const pt = new Error(
|
|
123578
123587
|
"session id is not defined"
|
|
@@ -123581,13 +123590,13 @@ class ee {
|
|
|
123581
123590
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
123582
123591
|
// }
|
|
123583
123592
|
);
|
|
123584
|
-
return u$
|
|
123593
|
+
return u$3.error(pt), this.event.emit("error", pt), !1;
|
|
123585
123594
|
}
|
|
123586
123595
|
return this.event.emit("data:deleting"), yield this.cvforceApi.delSessionsId(this.applicationId, this.id), this.event.emit("data:deleted"), this.destroy();
|
|
123587
123596
|
});
|
|
123588
123597
|
}
|
|
123589
123598
|
activate() {
|
|
123590
|
-
return
|
|
123599
|
+
return c$1(this, null, function* () {
|
|
123591
123600
|
if (this.activing)
|
|
123592
123601
|
return new Promise((vt) => {
|
|
123593
123602
|
this.addEventListener("activated", () => {
|
|
@@ -123598,7 +123607,7 @@ class ee {
|
|
|
123598
123607
|
throw Error("session is not avalible. id is undefined");
|
|
123599
123608
|
this.activing = !0;
|
|
123600
123609
|
const pt = this._id;
|
|
123601
|
-
return this._dataLoading = !0, this._dataLoaded = !1, this.data = yield this.cvforceApi.getSession(this.applicationId, pt).then((vt) =>
|
|
123610
|
+
return this._dataLoading = !0, this._dataLoaded = !1, this.data = yield this.cvforceApi.getSession(this.applicationId, pt).then((vt) => c$1(this, null, function* () {
|
|
123602
123611
|
return this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, pt), vt;
|
|
123603
123612
|
})), this.messages.length || (this.messages = [], yield this.fetchMessages()), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), this._dataLoaded = !0, this._dataLoading = !1, this.inactivating = !1, this.frozen = !0, yield this.prepareConnection(), this.event.emit("activated", this.socket), this.active = !0, this.activing = !1, this;
|
|
123604
123613
|
});
|
|
@@ -123615,8 +123624,8 @@ class ee {
|
|
|
123615
123624
|
return this._loadingMessages;
|
|
123616
123625
|
}
|
|
123617
123626
|
send(pt) {
|
|
123618
|
-
return
|
|
123619
|
-
stream:
|
|
123627
|
+
return c$1(this, arguments, function* (vt, _t = {
|
|
123628
|
+
stream: i$2.stream
|
|
123620
123629
|
}) {
|
|
123621
123630
|
var $t;
|
|
123622
123631
|
try {
|
|
@@ -123625,7 +123634,7 @@ class ee {
|
|
|
123625
123634
|
console.error(rr);
|
|
123626
123635
|
}
|
|
123627
123636
|
const {
|
|
123628
|
-
stream: Rt =
|
|
123637
|
+
stream: Rt = i$2.stream,
|
|
123629
123638
|
referenceFirst: Ft = !1
|
|
123630
123639
|
} = _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
123640
|
if (!Bt && !qt.length && !(Ht != null && Ht.length)) {
|
|
@@ -123636,7 +123645,7 @@ class ee {
|
|
|
123636
123645
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.SendingEmptyContent],
|
|
123637
123646
|
// }
|
|
123638
123647
|
);
|
|
123639
|
-
return u$
|
|
123648
|
+
return u$3.error(rr), this.event.emit("error", rr), !1;
|
|
123640
123649
|
}
|
|
123641
123650
|
if (!this._id) {
|
|
123642
123651
|
const rr = new Error(
|
|
@@ -123646,7 +123655,7 @@ class ee {
|
|
|
123646
123655
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
123647
123656
|
// }
|
|
123648
123657
|
);
|
|
123649
|
-
return u$
|
|
123658
|
+
return u$3.error(rr), this.event.emit("error", rr), !1;
|
|
123650
123659
|
}
|
|
123651
123660
|
if (this.frozen) {
|
|
123652
123661
|
const rr = new Error(
|
|
@@ -123656,7 +123665,7 @@ class ee {
|
|
|
123656
123665
|
// cause: { code: -1, message: 'session is frozen.' },
|
|
123657
123666
|
// }
|
|
123658
123667
|
);
|
|
123659
|
-
return u$
|
|
123668
|
+
return u$3.error(rr), this.event.emit("error", rr), !1;
|
|
123660
123669
|
}
|
|
123661
123670
|
this.frozen = !0, this._stopAnswer = !1;
|
|
123662
123671
|
const Zt = {
|
|
@@ -123678,8 +123687,8 @@ class ee {
|
|
|
123678
123687
|
imageContent: Gt
|
|
123679
123688
|
};
|
|
123680
123689
|
this.pushMessage(Zt), this.event.emit("question:content", Bt);
|
|
123681
|
-
const Kt = (rr) =>
|
|
123682
|
-
if (rr.role !== v$
|
|
123690
|
+
const Kt = (rr) => c$1(this, null, function* () {
|
|
123691
|
+
if (rr.role !== v$4.Robot)
|
|
123683
123692
|
return;
|
|
123684
123693
|
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
123694
|
finialMessage: rr.content
|
|
@@ -123700,7 +123709,7 @@ class ee {
|
|
|
123700
123709
|
}
|
|
123701
123710
|
this.getRelatedQuesion(rr), rr.isLoading = !1;
|
|
123702
123711
|
let ir = this.messages[this.messages.length - 1];
|
|
123703
|
-
if (ir && ir.role === v$
|
|
123712
|
+
if (ir && ir.role === v$4.Robot) {
|
|
123704
123713
|
const sr = f$2(f$2({}, ir), rr);
|
|
123705
123714
|
this.messages[this.messages.length - 1] = sr, this.event.emit("message:updated", sr);
|
|
123706
123715
|
} else
|
|
@@ -123713,39 +123722,50 @@ class ee {
|
|
|
123713
123722
|
})), Zt;
|
|
123714
123723
|
});
|
|
123715
123724
|
}
|
|
123725
|
+
currentUserQuestion() {
|
|
123726
|
+
for (let pt = this.messages.length - 1; pt >= 0; pt -= 1) {
|
|
123727
|
+
const vt = this.messages[pt];
|
|
123728
|
+
if (vt.role === v$4.User)
|
|
123729
|
+
return vt.content || "";
|
|
123730
|
+
}
|
|
123731
|
+
return "";
|
|
123732
|
+
}
|
|
123716
123733
|
getRelatedQuesion(pt) {
|
|
123717
|
-
return
|
|
123734
|
+
return c$1(this, null, function* () {
|
|
123718
123735
|
var vt, _t;
|
|
123719
|
-
if (!pt.content || pt.isSensitive || pt.code !== 200
|
|
123736
|
+
if (!pt.content || pt.isSensitive || pt.code !== 200)
|
|
123737
|
+
return pt;
|
|
123738
|
+
const $t = (vt = this.application) == null ? void 0 : vt.arrange[0], Rt = g$4($t == null ? void 0 : $t.recommendQuestionOpen, $t == null ? void 0 : $t.relatedQuestionApp, pt.content, this.currentUserQuestion());
|
|
123739
|
+
if (Rt === null)
|
|
123720
123740
|
return pt;
|
|
123721
123741
|
this.event.emit("message:relatedQuesion:loading", pt);
|
|
123722
|
-
const
|
|
123723
|
-
content:
|
|
123724
|
-
}).catch((
|
|
123725
|
-
if (
|
|
123726
|
-
const
|
|
123727
|
-
relatedQuesion:
|
|
123742
|
+
const Ft = yield this.cvforceApi.postGeneques({
|
|
123743
|
+
content: Rt
|
|
123744
|
+
}).catch((qt) => null);
|
|
123745
|
+
if (!Ft) {
|
|
123746
|
+
const qt = [], Ht = I$3(f$2({}, pt), {
|
|
123747
|
+
relatedQuesion: qt,
|
|
123728
123748
|
index: -3,
|
|
123729
123749
|
isLoading: !1
|
|
123730
123750
|
});
|
|
123731
123751
|
return this.event.emit("message:relatedQuesion:loaded", {
|
|
123732
|
-
relatedQuesion:
|
|
123733
|
-
}), this.event.emit("message:updated",
|
|
123752
|
+
relatedQuesion: qt
|
|
123753
|
+
}), this.event.emit("message:updated", Ht), Ht;
|
|
123734
123754
|
}
|
|
123735
|
-
const
|
|
123736
|
-
pt.relatedQuesion =
|
|
123737
|
-
const
|
|
123738
|
-
relatedQuesion:
|
|
123755
|
+
const Pt = (_t = Ft.content) == null ? void 0 : _t.split("*").map(f$4).map(T$2).filter((qt) => !!qt);
|
|
123756
|
+
pt.relatedQuesion = Pt, pt.index = -3, pt.isLoading = !1;
|
|
123757
|
+
const Bt = I$3(f$2({}, pt), {
|
|
123758
|
+
relatedQuesion: Pt,
|
|
123739
123759
|
index: -3,
|
|
123740
123760
|
isLoading: !1
|
|
123741
123761
|
});
|
|
123742
|
-
return this.event.emit("message:relatedQuesion:loaded",
|
|
123743
|
-
lastRelatedQuestion:
|
|
123744
|
-
}),
|
|
123762
|
+
return this.event.emit("message:relatedQuesion:loaded", Bt), this.event.emit("message:updated", Bt), this._id && this.cvforceApi.patchSessionsId(this._applicationId, this._id, {
|
|
123763
|
+
lastRelatedQuestion: Pt
|
|
123764
|
+
}), Bt;
|
|
123745
123765
|
});
|
|
123746
123766
|
}
|
|
123747
123767
|
fillMessageReference(pt) {
|
|
123748
|
-
return
|
|
123768
|
+
return c$1(this, null, function* () {
|
|
123749
123769
|
try {
|
|
123750
123770
|
const vt = yield Promise.all(pt.reference.map((_t) => this.cvforceApi.getKnowledgeIdFileId(_t.knowledgeId, _t.docId)));
|
|
123751
123771
|
pt.reference = pt.reference.map((_t, $t) => f$2(f$2({}, _t), vt[$t]));
|
|
@@ -123756,26 +123776,26 @@ class ee {
|
|
|
123756
123776
|
});
|
|
123757
123777
|
}
|
|
123758
123778
|
answerAgain() {
|
|
123759
|
-
return
|
|
123760
|
-
stream:
|
|
123779
|
+
return c$1(this, arguments, function* (pt = {
|
|
123780
|
+
stream: i$2.stream
|
|
123761
123781
|
}) {
|
|
123762
123782
|
const vt = this.messages[this.messages.length - 1];
|
|
123763
123783
|
if (!vt)
|
|
123764
123784
|
throw Error("message list is empty");
|
|
123765
123785
|
this.frozen = !0, this._stopAnswer = !1;
|
|
123766
123786
|
const {
|
|
123767
|
-
stream: _t =
|
|
123787
|
+
stream: _t = i$2.stream
|
|
123768
123788
|
} = pt;
|
|
123769
123789
|
let $t;
|
|
123770
|
-
vt.role !== v$
|
|
123790
|
+
vt.role !== v$4.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
123791
|
const Rt = this.messages[this.messages.length - 1], Ft = {
|
|
123772
123792
|
content: Rt.content,
|
|
123773
123793
|
fileIds: Rt.fileIds,
|
|
123774
123794
|
requestId: Rt.messageId,
|
|
123775
123795
|
stream: _t,
|
|
123776
123796
|
oldMessageId: $t
|
|
123777
|
-
}, Pt = (Bt) =>
|
|
123778
|
-
if (Bt.role === v$
|
|
123797
|
+
}, Pt = (Bt) => c$1(this, null, function* () {
|
|
123798
|
+
if (Bt.role === v$4.Robot && Bt.index === -1) {
|
|
123779
123799
|
switch (this._id && Bt.content && Bt.index && Bt.index < 0 && (this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123780
123800
|
finialMessage: Bt.content
|
|
123781
123801
|
}), this.event.emit("data:updated", this.data), this.event.emit("data:updated:finialMessage", {
|
|
@@ -123802,7 +123822,7 @@ class ee {
|
|
|
123802
123822
|
});
|
|
123803
123823
|
}
|
|
123804
123824
|
setTop(pt) {
|
|
123805
|
-
return
|
|
123825
|
+
return c$1(this, null, function* () {
|
|
123806
123826
|
if (!this._id)
|
|
123807
123827
|
throw Error("session is not avalible. id is undefined");
|
|
123808
123828
|
this.data = yield this.cvforceApi.patchSessionsId(this._applicationId, this._id, {
|
|
@@ -123833,7 +123853,7 @@ class ee {
|
|
|
123833
123853
|
// 消息时间
|
|
123834
123854
|
content: "",
|
|
123835
123855
|
// 消息内容
|
|
123836
|
-
role: v$
|
|
123856
|
+
role: v$4.System,
|
|
123837
123857
|
// 消息角色为系统消息
|
|
123838
123858
|
sessionId: this.id || "",
|
|
123839
123859
|
// 会话 ID
|
|
@@ -123924,7 +123944,7 @@ class ee {
|
|
|
123924
123944
|
* @returns 返回调用 API 提交评论后的响应结果
|
|
123925
123945
|
*/
|
|
123926
123946
|
postMessageComment(pt) {
|
|
123927
|
-
return
|
|
123947
|
+
return c$1(this, null, function* () {
|
|
123928
123948
|
if (!this._applicationId || !this._id)
|
|
123929
123949
|
throw Error("session is not avalible. id is undefined");
|
|
123930
123950
|
return this.cvforceApi.postComments(this._applicationId, this._id, pt).then((vt) => {
|
|
@@ -123955,14 +123975,14 @@ class ee {
|
|
|
123955
123975
|
}), this._id || "";
|
|
123956
123976
|
}
|
|
123957
123977
|
}
|
|
123958
|
-
var
|
|
123978
|
+
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
123979
|
for (var vt in pt || (pt = {}))
|
|
123960
|
-
|
|
123961
|
-
if (
|
|
123962
|
-
for (var vt of
|
|
123963
|
-
|
|
123980
|
+
E$1.call(pt, vt) && A$3(bt, vt, pt[vt]);
|
|
123981
|
+
if (_)
|
|
123982
|
+
for (var vt of _(pt))
|
|
123983
|
+
L.call(pt, vt) && A$3(bt, vt, pt[vt]);
|
|
123964
123984
|
return bt;
|
|
123965
|
-
}, w$2 = (bt, pt) =>
|
|
123985
|
+
}, w$2 = (bt, pt) => T(bt, x$2(pt)), p$3 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
123966
123986
|
var Rt = (Bt) => {
|
|
123967
123987
|
try {
|
|
123968
123988
|
Pt(vt.next(Bt));
|
|
@@ -123978,66 +123998,67 @@ var A$3 = Object.defineProperty, P$1 = Object.defineProperties, b$4 = Object.get
|
|
|
123978
123998
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
123979
123999
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
123980
124000
|
});
|
|
123981
|
-
const
|
|
123982
|
-
class
|
|
124001
|
+
const u$2 = new t$2("[AgentSession] ");
|
|
124002
|
+
let K$1 = class extends te {
|
|
123983
124003
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
123984
124004
|
super(pt, vt, _t, $t, Rt, Ft);
|
|
123985
124005
|
}
|
|
123986
124006
|
prepareConnection() {
|
|
123987
|
-
return new Promise((pt) =>
|
|
124007
|
+
return new Promise((pt) => p$3(this, null, function* () {
|
|
123988
124008
|
this.socket && pt(!0);
|
|
123989
124009
|
const vt = {
|
|
123990
124010
|
version: "1.0",
|
|
123991
|
-
stream: JSON.stringify(
|
|
124011
|
+
stream: JSON.stringify(i$2.stream),
|
|
123992
124012
|
appId: this._applicationId,
|
|
123993
124013
|
sessionId: this.id,
|
|
123994
124014
|
Authorization: `${this.token}`,
|
|
123995
|
-
userMode:
|
|
123996
|
-
}, _t = new URL(
|
|
124015
|
+
userMode: i$2.debug ? r$1.Debug : r$1.Normal
|
|
124016
|
+
}, _t = new URL(i$2.apiRoot), $t = yield lookup(_t.origin, {
|
|
123997
124017
|
path: _t.pathname.replace("api", "socketio") + "/copilot",
|
|
123998
124018
|
query: vt,
|
|
123999
124019
|
transports: ["websocket"]
|
|
124000
124020
|
});
|
|
124001
124021
|
$t.on("connect", () => {
|
|
124002
|
-
|
|
124022
|
+
u$2.log("socket:connect"), this.event.emit("socket:connect"), $t.emit("init");
|
|
124003
124023
|
}), $t.on("disconnect", () => {
|
|
124004
|
-
|
|
124024
|
+
u$2.log("socket:disconnect"), this.event.emit("socket:disconnect"), this._ready = !1;
|
|
124005
124025
|
}), $t.on("ready", (Rt) => {
|
|
124006
124026
|
if (Rt.code === 200)
|
|
124007
|
-
|
|
124027
|
+
u$2.log("ready"), (i$2.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
124028
|
else {
|
|
124009
124029
|
this._ready && (this._ready = !1);
|
|
124010
124030
|
const Ft = new Error(
|
|
124011
|
-
|
|
124031
|
+
Y.SocketConnectionFailed
|
|
124012
124032
|
// , {
|
|
124013
124033
|
// cause: data,
|
|
124014
124034
|
// }
|
|
124015
124035
|
);
|
|
124016
|
-
|
|
124036
|
+
u$2.error("error", Ft), this.event.emit("error", Ft), pt(!1);
|
|
124017
124037
|
}
|
|
124018
|
-
}), $t.on("action", (Rt, Ft) =>
|
|
124038
|
+
}), $t.on("action", (Rt, Ft) => p$3(this, null, function* () {
|
|
124039
|
+
var Pt;
|
|
124019
124040
|
if (this._stopAnswer || !this.id)
|
|
124020
124041
|
return;
|
|
124021
124042
|
const {
|
|
124022
|
-
type:
|
|
124043
|
+
type: Bt,
|
|
124023
124044
|
data: {
|
|
124024
|
-
runnerIsClient:
|
|
124025
|
-
pluginCode:
|
|
124026
|
-
funcCode:
|
|
124027
|
-
parameters:
|
|
124028
|
-
requestBody:
|
|
124029
|
-
}
|
|
124030
|
-
} = Rt,
|
|
124031
|
-
if (!
|
|
124032
|
-
|
|
124033
|
-
messageId:
|
|
124045
|
+
runnerIsClient: qt,
|
|
124046
|
+
pluginCode: Ht,
|
|
124047
|
+
funcCode: Gt,
|
|
124048
|
+
parameters: Zt,
|
|
124049
|
+
requestBody: Jt
|
|
124050
|
+
}
|
|
124051
|
+
} = Rt, Kt = this.messages[this.messages.length - 1];
|
|
124052
|
+
if (!Kt.messageId)
|
|
124053
|
+
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", {
|
|
124054
|
+
messageId: Kt.messageId,
|
|
124034
124055
|
action: Rt
|
|
124035
|
-
}), this.event.emit("message:updated",
|
|
124056
|
+
}), this.event.emit("message:updated", Kt);
|
|
124036
124057
|
else {
|
|
124037
|
-
const
|
|
124058
|
+
const rr = {
|
|
124038
124059
|
messageId: "",
|
|
124039
124060
|
content: "",
|
|
124040
|
-
role: v$
|
|
124061
|
+
role: v$4.Robot,
|
|
124041
124062
|
sessionId: this.id,
|
|
124042
124063
|
reference: [],
|
|
124043
124064
|
searchReference: [],
|
|
@@ -124049,14 +124070,14 @@ class H extends ee {
|
|
|
124049
124070
|
},
|
|
124050
124071
|
isReplying: !0
|
|
124051
124072
|
};
|
|
124052
|
-
this.pushMessage(
|
|
124053
|
-
messageId:
|
|
124073
|
+
this.pushMessage(rr), this.event.emit("message:action", {
|
|
124074
|
+
messageId: rr.messageId,
|
|
124054
124075
|
action: Rt
|
|
124055
124076
|
});
|
|
124056
124077
|
}
|
|
124057
124078
|
if (this.inactivating) {
|
|
124058
|
-
const
|
|
124059
|
-
|
|
124079
|
+
const rr = new Error(
|
|
124080
|
+
Y.Inactive
|
|
124060
124081
|
// {
|
|
124061
124082
|
// cause: {
|
|
124062
124083
|
// code: -1,
|
|
@@ -124065,40 +124086,45 @@ class H extends ee {
|
|
|
124065
124086
|
// },
|
|
124066
124087
|
// }
|
|
124067
124088
|
);
|
|
124068
|
-
|
|
124069
|
-
} else if (
|
|
124070
|
-
|
|
124071
|
-
${JSON.stringify(
|
|
124089
|
+
u$2.warn("error", rr), this.event.emit("error", rr);
|
|
124090
|
+
} else if (Bt === "FUNCTION_CALL" && qt) {
|
|
124091
|
+
u$2.log(`calling function ${Gt} of plugin ${Ht} with argument:
|
|
124092
|
+
${JSON.stringify(Zt)}`);
|
|
124093
|
+
const rr = (Pt = i$2.plugins) == null ? void 0 : Pt[Ht];
|
|
124094
|
+
if (!rr) {
|
|
124072
124095
|
Ft({
|
|
124073
124096
|
code: 404,
|
|
124074
|
-
message: "
|
|
124097
|
+
message: "没有找到插件。"
|
|
124075
124098
|
});
|
|
124076
124099
|
return;
|
|
124077
124100
|
}
|
|
124078
|
-
const
|
|
124079
|
-
typeof
|
|
124080
|
-
|
|
124081
|
-
|
|
124082
|
-
|
|
124083
|
-
|
|
124101
|
+
const ir = rr[Gt];
|
|
124102
|
+
if (typeof ir != "function") {
|
|
124103
|
+
Ft({
|
|
124104
|
+
code: 404,
|
|
124105
|
+
message: "没有找到插件方法。"
|
|
124106
|
+
});
|
|
124107
|
+
return;
|
|
124108
|
+
}
|
|
124109
|
+
let sr = Zt == null ? void 0 : Zt.query;
|
|
124084
124110
|
try {
|
|
124085
|
-
|
|
124086
|
-
} catch (
|
|
124111
|
+
sr = JSON.parse(Zt == null ? void 0 : Zt.query);
|
|
124112
|
+
} catch (ar) {
|
|
124087
124113
|
}
|
|
124088
|
-
|
|
124089
|
-
this._stopAnswer || Ft(...
|
|
124114
|
+
ir(sr, (...ar) => {
|
|
124115
|
+
this._stopAnswer || Ft(...ar);
|
|
124090
124116
|
});
|
|
124091
124117
|
}
|
|
124092
124118
|
})), $t.on("answer", (Rt) => {
|
|
124093
124119
|
if (!this._stopAnswer)
|
|
124094
124120
|
if (Rt.data.code !== 200 && (Rt.data.index = -1), Rt.data.stream || Rt.data.stream === void 0) {
|
|
124095
124121
|
let Ft = this.messages[this.messages.length - 1];
|
|
124096
|
-
if (Ft && Ft.role === v$
|
|
124122
|
+
if (Ft && Ft.role === v$4.Robot)
|
|
124097
124123
|
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
124124
|
else {
|
|
124099
124125
|
const Pt = {
|
|
124100
124126
|
content: "",
|
|
124101
|
-
role: v$
|
|
124127
|
+
role: v$4.Robot,
|
|
124102
124128
|
reference: [],
|
|
124103
124129
|
searchReference: [],
|
|
124104
124130
|
messageId: "",
|
|
@@ -124128,7 +124154,7 @@ class H extends ee {
|
|
|
124128
124154
|
const Pt = d$2({
|
|
124129
124155
|
messageId: "",
|
|
124130
124156
|
content: "",
|
|
124131
|
-
role: v$
|
|
124157
|
+
role: v$4.Robot,
|
|
124132
124158
|
sessionId: this.id,
|
|
124133
124159
|
reference: [],
|
|
124134
124160
|
searchReference: [],
|
|
@@ -124147,7 +124173,7 @@ class H extends ee {
|
|
|
124147
124173
|
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
124174
|
messageId: "",
|
|
124149
124175
|
content: "",
|
|
124150
|
-
role: v$
|
|
124176
|
+
role: v$4.Robot,
|
|
124151
124177
|
sessionId: this.id,
|
|
124152
124178
|
reference: [],
|
|
124153
124179
|
searchReference: [],
|
|
@@ -124160,24 +124186,24 @@ class H extends ee {
|
|
|
124160
124186
|
isReplying: !0
|
|
124161
124187
|
}, Rt.data)), this.event.emit("message:content", Rt.data));
|
|
124162
124188
|
}
|
|
124163
|
-
}), $t.on("reference", (Rt) =>
|
|
124189
|
+
}), $t.on("reference", (Rt) => p$3(this, null, function* () {
|
|
124164
124190
|
if (this._stopAnswer)
|
|
124165
124191
|
return;
|
|
124166
124192
|
if (!this.id) {
|
|
124167
124193
|
const Gt = new Error(
|
|
124168
|
-
|
|
124194
|
+
Y.IdUndefined
|
|
124169
124195
|
// {
|
|
124170
124196
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
124171
124197
|
// }
|
|
124172
124198
|
);
|
|
124173
|
-
|
|
124199
|
+
u$2.error(Gt), this.event.emit("error", Gt), this.frozen = !1;
|
|
124174
124200
|
return;
|
|
124175
124201
|
}
|
|
124176
124202
|
const {
|
|
124177
124203
|
type: Ft,
|
|
124178
124204
|
data: Pt,
|
|
124179
124205
|
requestId: Bt
|
|
124180
|
-
} = Rt, qt = this.messages.findIndex((Gt) => Gt.messageId === Bt && Gt.role === v$
|
|
124206
|
+
} = Rt, qt = this.messages.findIndex((Gt) => Gt.messageId === Bt && Gt.role === v$4.User);
|
|
124181
124207
|
if (qt < 0)
|
|
124182
124208
|
return;
|
|
124183
124209
|
const Ht = qt + 1;
|
|
@@ -124185,7 +124211,7 @@ class H extends ee {
|
|
|
124185
124211
|
const Gt = {
|
|
124186
124212
|
messageId: "",
|
|
124187
124213
|
content: "",
|
|
124188
|
-
role: v$
|
|
124214
|
+
role: v$4.Robot,
|
|
124189
124215
|
sessionId: this.id,
|
|
124190
124216
|
reference: [],
|
|
124191
124217
|
searchReference: [],
|
|
@@ -124208,12 +124234,12 @@ class H extends ee {
|
|
|
124208
124234
|
}));
|
|
124209
124235
|
}
|
|
124210
124236
|
registerMcpFromClientConfig() {
|
|
124211
|
-
return
|
|
124237
|
+
return i$2.mcp ? new Promise((pt, vt) => {
|
|
124212
124238
|
if (!this.socket) {
|
|
124213
124239
|
vt("socket is undefined");
|
|
124214
124240
|
return;
|
|
124215
124241
|
}
|
|
124216
|
-
this.socket.emit("add_mcp_servers",
|
|
124242
|
+
this.socket.emit("add_mcp_servers", i$2.mcp, (_t) => {
|
|
124217
124243
|
_t.code === 200 ? (Object.keys(_t.data).forEach(($t) => {
|
|
124218
124244
|
_t.data[$t].code !== 200 && console.error($t, "MCP Server 注册失败。", _t.data[$t]);
|
|
124219
124245
|
}), pt(!0)) : (console.error("MCP Server 注册失败。", _t), vt(_t));
|
|
@@ -124221,7 +124247,7 @@ class H extends ee {
|
|
|
124221
124247
|
}) : Promise.resolve(!0);
|
|
124222
124248
|
}
|
|
124223
124249
|
addMcpServers(pt) {
|
|
124224
|
-
return
|
|
124250
|
+
return p$3(this, null, function* () {
|
|
124225
124251
|
return this.ready ? this.socket ? new Promise((vt, _t) => {
|
|
124226
124252
|
this.socket && this.socket.emit("add_mcp_servers", pt, ($t) => {
|
|
124227
124253
|
$t.code === 200 ? (Object.keys($t.data).forEach((Rt) => {
|
|
@@ -124232,7 +124258,7 @@ class H extends ee {
|
|
|
124232
124258
|
});
|
|
124233
124259
|
}
|
|
124234
124260
|
listMcpServers() {
|
|
124235
|
-
return
|
|
124261
|
+
return p$3(this, null, function* () {
|
|
124236
124262
|
return this.ready ? this.socket ? new Promise((pt, vt) => {
|
|
124237
124263
|
this.socket && this.socket.emit("list_mcp_servers", (_t) => {
|
|
124238
124264
|
_t.code === 200 ? pt(_t.data) : vt(_t);
|
|
@@ -124241,7 +124267,7 @@ class H extends ee {
|
|
|
124241
124267
|
});
|
|
124242
124268
|
}
|
|
124243
124269
|
sendQuestion(pt, vt) {
|
|
124244
|
-
return
|
|
124270
|
+
return p$3(this, null, function* () {
|
|
124245
124271
|
var _t, $t, Rt;
|
|
124246
124272
|
this.convertKnowledgesToChatFormat(this.knowledges);
|
|
124247
124273
|
let Ft = w$2(d$2({}, pt), {
|
|
@@ -124260,12 +124286,12 @@ class H extends ee {
|
|
|
124260
124286
|
if (!this.active) {
|
|
124261
124287
|
if (yield this.activate(), !this.socket) {
|
|
124262
124288
|
const Pt = new Error(
|
|
124263
|
-
|
|
124289
|
+
Y.SocketConnectionFailed
|
|
124264
124290
|
// {
|
|
124265
124291
|
// cause: { code: -1, message: 'socket is null' },
|
|
124266
124292
|
// }
|
|
124267
124293
|
);
|
|
124268
|
-
return
|
|
124294
|
+
return u$2.warn("error", Pt), this.event.emit("error", Pt), !1;
|
|
124269
124295
|
}
|
|
124270
124296
|
($t = this.socket) == null || $t.emit("question", Ft);
|
|
124271
124297
|
return;
|
|
@@ -124283,7 +124309,7 @@ class H extends ee {
|
|
|
124283
124309
|
fileIds: vt.fileIds
|
|
124284
124310
|
} : vt.id) : [];
|
|
124285
124311
|
}
|
|
124286
|
-
}
|
|
124312
|
+
};
|
|
124287
124313
|
var b$3 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
124288
124314
|
var Rt = (Bt) => {
|
|
124289
124315
|
try {
|
|
@@ -124336,11 +124362,11 @@ function g$3(bt) {
|
|
|
124336
124362
|
};
|
|
124337
124363
|
}
|
|
124338
124364
|
function k$3(bt, pt, vt) {
|
|
124339
|
-
let _t = y$
|
|
124365
|
+
let _t = y$2();
|
|
124340
124366
|
const $t = new TextDecoder();
|
|
124341
124367
|
return function(Rt, Ft, Pt) {
|
|
124342
124368
|
if (Rt.length === 0)
|
|
124343
|
-
vt == null || vt(_t), _t = y$
|
|
124369
|
+
vt == null || vt(_t), _t = y$2();
|
|
124344
124370
|
else if (Ft > 0) {
|
|
124345
124371
|
const Bt = $t.decode(Rt.subarray(0, Ft)), qt = Ft + (Rt[Ft + 1] === 32 ? 2 : 1);
|
|
124346
124372
|
let Ht = $t.decode(Rt.subarray(qt));
|
|
@@ -124368,7 +124394,7 @@ function h$1(bt, pt) {
|
|
|
124368
124394
|
const vt = new Uint8Array(bt.length + pt.length);
|
|
124369
124395
|
return vt.set(bt), vt.set(pt, bt.length), vt;
|
|
124370
124396
|
}
|
|
124371
|
-
function y$
|
|
124397
|
+
function y$2() {
|
|
124372
124398
|
return {
|
|
124373
124399
|
data: "",
|
|
124374
124400
|
event: "",
|
|
@@ -124376,19 +124402,19 @@ function y$1() {
|
|
|
124376
124402
|
retry: void 0
|
|
124377
124403
|
};
|
|
124378
124404
|
}
|
|
124379
|
-
var W$1 = Object.defineProperty, j = Object.defineProperties, k$2 = Object.getOwnPropertyDescriptors, v
|
|
124405
|
+
var W$1 = Object.defineProperty, j = Object.defineProperties, k$2 = Object.getOwnPropertyDescriptors, v = Object.getOwnPropertySymbols, A$2 = Object.prototype.hasOwnProperty, R$3 = Object.prototype.propertyIsEnumerable, I$2 = (bt, pt, vt) => pt in bt ? W$1(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, E = (bt, pt) => {
|
|
124380
124406
|
for (var vt in pt || (pt = {}))
|
|
124381
124407
|
A$2.call(pt, vt) && I$2(bt, vt, pt[vt]);
|
|
124382
|
-
if (v
|
|
124383
|
-
for (var vt of v
|
|
124408
|
+
if (v)
|
|
124409
|
+
for (var vt of v(pt))
|
|
124384
124410
|
R$3.call(pt, vt) && I$2(bt, vt, pt[vt]);
|
|
124385
124411
|
return bt;
|
|
124386
124412
|
}, $ = (bt, pt) => j(bt, k$2(pt)), q = (bt, pt) => {
|
|
124387
124413
|
var vt = {};
|
|
124388
124414
|
for (var _t in bt)
|
|
124389
124415
|
A$2.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
124390
|
-
if (bt != null && v
|
|
124391
|
-
for (var _t of v
|
|
124416
|
+
if (bt != null && v)
|
|
124417
|
+
for (var _t of v(bt))
|
|
124392
124418
|
pt.indexOf(_t) < 0 && R$3.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
124393
124419
|
return vt;
|
|
124394
124420
|
}, B = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -124484,7 +124510,7 @@ var I$1 = Object.defineProperty, A$1 = Object.defineProperties, P = Object.getOw
|
|
|
124484
124510
|
for (var vt of w(pt))
|
|
124485
124511
|
D.call(pt, vt) && R$2(bt, vt, pt[vt]);
|
|
124486
124512
|
return bt;
|
|
124487
|
-
}, y = (bt, pt) => A$1(bt, P(pt)), M = (bt, pt, vt) => (R$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), f$1 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
124513
|
+
}, y$1 = (bt, pt) => A$1(bt, P(pt)), M = (bt, pt, vt) => (R$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), f$1 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
124488
124514
|
var Rt = (Bt) => {
|
|
124489
124515
|
try {
|
|
124490
124516
|
Pt(vt.next(Bt));
|
|
@@ -124500,8 +124526,8 @@ var I$1 = Object.defineProperty, A$1 = Object.defineProperties, P = Object.getOw
|
|
|
124500
124526
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
124501
124527
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
124502
124528
|
});
|
|
124503
|
-
const p$2 = new t$
|
|
124504
|
-
let k$1 = class extends
|
|
124529
|
+
const p$2 = new t$2("[DialogSession] ");
|
|
124530
|
+
let k$1 = class extends te {
|
|
124505
124531
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
124506
124532
|
super(pt, vt, _t, $t, Rt, Ft), M(this, "ctrl", new AbortController());
|
|
124507
124533
|
}
|
|
@@ -124526,10 +124552,10 @@ let k$1 = class extends ee {
|
|
|
124526
124552
|
isAgree: 0
|
|
124527
124553
|
},
|
|
124528
124554
|
isReplying: !1
|
|
124529
|
-
}, Bt = y(u$1({}, _t), {
|
|
124530
|
-
stream:
|
|
124555
|
+
}, Bt = y$1(u$1({}, _t), {
|
|
124556
|
+
stream: i$2.stream
|
|
124531
124557
|
});
|
|
124532
|
-
X(`${
|
|
124558
|
+
X(`${i$2.apiRoot}/chat/v2/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
124533
124559
|
method: "POST",
|
|
124534
124560
|
headers: {
|
|
124535
124561
|
Authorization: `Bearer ${this.token}`,
|
|
@@ -124628,10 +124654,10 @@ let k$1 = class extends ee {
|
|
|
124628
124654
|
thinkingSecs: "",
|
|
124629
124655
|
thinkingStatus: "",
|
|
124630
124656
|
searchingStatus: ""
|
|
124631
|
-
}, qt = y(u$1({}, _t), {
|
|
124632
|
-
stream:
|
|
124657
|
+
}, qt = y$1(u$1({}, _t), {
|
|
124658
|
+
stream: i$2.stream
|
|
124633
124659
|
});
|
|
124634
|
-
X(`${
|
|
124660
|
+
X(`${i$2.apiRoot}/chat/v3/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
124635
124661
|
method: "POST",
|
|
124636
124662
|
headers: {
|
|
124637
124663
|
Authorization: `Bearer ${this.token}`,
|
|
@@ -124663,7 +124689,7 @@ let k$1 = class extends ee {
|
|
|
124663
124689
|
Rt != null && Rt.onerror && Rt.onerror();
|
|
124664
124690
|
},
|
|
124665
124691
|
onclose() {
|
|
124666
|
-
const Ht = y(u$1({}, Bt), {
|
|
124692
|
+
const Ht = y$1(u$1({}, Bt), {
|
|
124667
124693
|
isReplying: !1
|
|
124668
124694
|
});
|
|
124669
124695
|
Rt != null && Rt.onclose && Rt.onclose(Ht);
|
|
@@ -124689,10 +124715,10 @@ let k$1 = class extends ee {
|
|
|
124689
124715
|
fileIds: $t,
|
|
124690
124716
|
referenceFirst: Bt,
|
|
124691
124717
|
oldMessageId: Rt,
|
|
124692
|
-
promptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.User).reduce((Gt, Zt) => y(u$1({}, Gt), {
|
|
124718
|
+
promptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.User).reduce((Gt, Zt) => y$1(u$1({}, Gt), {
|
|
124693
124719
|
[Zt.key]: Zt.value
|
|
124694
124720
|
}), {}),
|
|
124695
|
-
systemPromptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.System).reduce((Gt, Zt) => y(u$1({}, Gt), {
|
|
124721
|
+
systemPromptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.System).reduce((Gt, Zt) => y$1(u$1({}, Gt), {
|
|
124696
124722
|
[Zt.key]: Zt.value
|
|
124697
124723
|
}), {}),
|
|
124698
124724
|
knowledges: qt,
|
|
@@ -124708,7 +124734,7 @@ let k$1 = class extends ee {
|
|
|
124708
124734
|
if (this._stopAnswer)
|
|
124709
124735
|
return;
|
|
124710
124736
|
let Zt = this.messages[this.messages.length - 1];
|
|
124711
|
-
Zt && Zt.role === v$
|
|
124737
|
+
Zt && Zt.role === v$4.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
124738
|
},
|
|
124713
124739
|
onclose: (Gt) => f$1(this, null, function* () {
|
|
124714
124740
|
this._stopAnswer || (p$2.log(Gt, "onclose"), this.event.emit("answer:finish", Gt));
|
|
@@ -124745,7 +124771,7 @@ let k$1 = class extends ee {
|
|
|
124745
124771
|
} : vt.id) : [];
|
|
124746
124772
|
}
|
|
124747
124773
|
};
|
|
124748
|
-
const e = "@glodon-aiot/bot-client-sdk", t = "3.25.
|
|
124774
|
+
const e = "@glodon-aiot/bot-client-sdk", t = "3.25.1-alpha.0", i = "glodoncv", s = "aiot bot client js sdk", n = "module", o = [
|
|
124749
124775
|
"aiot",
|
|
124750
124776
|
"bot",
|
|
124751
124777
|
"bot client",
|
|
@@ -124806,7 +124832,7 @@ const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0-alpha.9", i = "glodoncv", s
|
|
|
124806
124832
|
access: "public",
|
|
124807
124833
|
registry: "https://registry.npmjs.org/"
|
|
124808
124834
|
}, b$1 = {
|
|
124809
|
-
"@glodon-aiot/apis": "^3.25.
|
|
124835
|
+
"@glodon-aiot/apis": "^3.25.1-alpha.0",
|
|
124810
124836
|
axios: "0.24.0",
|
|
124811
124837
|
buffer: "^6.0.3",
|
|
124812
124838
|
dayjs: "^1.11.13",
|
|
@@ -124835,11 +124861,11 @@ const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0-alpha.9", i = "glodoncv", s
|
|
|
124835
124861
|
publishConfig: m$1,
|
|
124836
124862
|
dependencies: b$1
|
|
124837
124863
|
};
|
|
124838
|
-
var k = Object.defineProperty, A = Object.defineProperties, x = Object.getOwnPropertyDescriptors,
|
|
124864
|
+
var k = Object.defineProperty, A = Object.defineProperties, x = Object.getOwnPropertyDescriptors, y = Object.getOwnPropertySymbols, I = Object.prototype.hasOwnProperty, R$1 = Object.prototype.propertyIsEnumerable, g = (bt, pt, vt) => pt in bt ? k(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, p = (bt, pt) => {
|
|
124839
124865
|
for (var vt in pt || (pt = {}))
|
|
124840
124866
|
I.call(pt, vt) && g(bt, vt, pt[vt]);
|
|
124841
|
-
if (
|
|
124842
|
-
for (var vt of
|
|
124867
|
+
if (y)
|
|
124868
|
+
for (var vt of y(pt))
|
|
124843
124869
|
R$1.call(pt, vt) && g(bt, vt, pt[vt]);
|
|
124844
124870
|
return bt;
|
|
124845
124871
|
}, f = (bt, pt) => A(bt, x(pt)), d = (bt, pt, vt) => (g(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), l = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -124858,18 +124884,18 @@ var k = Object.defineProperty, A = Object.defineProperties, x = Object.getOwnPro
|
|
|
124858
124884
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
124859
124885
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
124860
124886
|
});
|
|
124861
|
-
const b = new t$
|
|
124887
|
+
const b = new t$2("[BotClient] ");
|
|
124862
124888
|
class W {
|
|
124863
124889
|
constructor(pt, vt, _t = !0, $t = {
|
|
124864
124890
|
analytics: {
|
|
124865
124891
|
enabled: !1
|
|
124866
124892
|
}
|
|
124867
124893
|
}) {
|
|
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,
|
|
124894
|
+
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 = t$1(pt).rid || i$2.applicationId, !this._applicationId)
|
|
124869
124895
|
throw "token is not vaild";
|
|
124870
124896
|
this.cvforceApi = this.getService(), this.loadApplication().then((Rt) => {
|
|
124871
|
-
|
|
124872
|
-
stream: vt.stream === void 0 ? (Rt == null ? void 0 : Rt.type) === i$
|
|
124897
|
+
x$4(f(p({}, vt), {
|
|
124898
|
+
stream: vt.stream === void 0 ? (Rt == null ? void 0 : Rt.type) === i$6.Dialog || (Rt == null ? void 0 : Rt.type) === i$6.Agent : vt.stream
|
|
124873
124899
|
})), this.event.emit("ready");
|
|
124874
124900
|
});
|
|
124875
124901
|
}
|
|
@@ -124910,9 +124936,9 @@ class W {
|
|
|
124910
124936
|
uiVersion: (vt = this.sdkConfigs.ui) == null ? void 0 : vt.version,
|
|
124911
124937
|
sdkVersion: x$1.version
|
|
124912
124938
|
}
|
|
124913
|
-
).then((Pt) => (typeof Pt.arrange[0].
|
|
124939
|
+
).then((Pt) => (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
124940
|
arrange: [f(p({}, Pt.arrange[0]), {
|
|
124915
|
-
recommendQuestionOpen:
|
|
124941
|
+
recommendQuestionOpen: i$2.loadRelatedQuesions && Pt.arrange[0].recommendQuestionOpen
|
|
124916
124942
|
})]
|
|
124917
124943
|
})));
|
|
124918
124944
|
const Ft = (Rt = ($t = (_t = this._application) == null ? void 0 : _t.arrange) == null ? void 0 : $t[0]) == null ? void 0 : Rt.llmModel;
|
|
@@ -124924,14 +124950,14 @@ class W {
|
|
|
124924
124950
|
});
|
|
124925
124951
|
}
|
|
124926
124952
|
getService() {
|
|
124927
|
-
return this.cvforceApi ? this.cvforceApi : z(
|
|
124953
|
+
return this.cvforceApi ? this.cvforceApi : z(i$2.apiRoot, this.token, (pt, vt) => b.error(vt));
|
|
124928
124954
|
}
|
|
124929
124955
|
get token() {
|
|
124930
124956
|
return this._token;
|
|
124931
124957
|
}
|
|
124932
124958
|
set token(pt) {
|
|
124933
124959
|
this.checkReady(), this._token = pt, this.ready = !1;
|
|
124934
|
-
const vt =
|
|
124960
|
+
const vt = t$1(pt).rid;
|
|
124935
124961
|
this._applicationId !== vt && (this._applicationId = vt, this._application = null, this.loadApplication().then(() => {
|
|
124936
124962
|
this.event.emit("ready");
|
|
124937
124963
|
}), this.clean());
|
|
@@ -124956,9 +124982,9 @@ class W {
|
|
|
124956
124982
|
const Ft = this;
|
|
124957
124983
|
return new Promise((Pt, Bt) => {
|
|
124958
124984
|
const qt = (Ht) => l(this, null, function* () {
|
|
124959
|
-
if (Ht === i$
|
|
124960
|
-
Pt(new
|
|
124961
|
-
else if (Ht === i$
|
|
124985
|
+
if (Ht === i$6.Agent)
|
|
124986
|
+
Pt(new K$1(pt, vt, _t, $t, Rt, Ft));
|
|
124987
|
+
else if (Ht === i$6.Dialog)
|
|
124962
124988
|
Pt(new k$1(pt, vt, _t, $t, Rt, Ft));
|
|
124963
124989
|
else
|
|
124964
124990
|
throw Error(`不支持的应用类型:${Ht}`);
|
|
@@ -133754,10 +133780,10 @@ const DD = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZX
|
|
|
133754
133780
|
transform: Ft
|
|
133755
133781
|
} = reactExports.useContext(qM), Pt = () => zM(void 0, null, function* () {
|
|
133756
133782
|
return Rt ? yield Rt(_t.knowledgeId, _t.docId, _t.textId).catch((Ht) => (console.warn("查询参考文件页码失败,即将打开首页", Ht), 0)) : 0;
|
|
133757
|
-
}), Bt = _t.sourceType === t$
|
|
133783
|
+
}), Bt = _t.sourceType === t$4.WebLink && !!_t.webLink, qt = (
|
|
133758
133784
|
// data?.origin === IFileOrigin.AECPILOT ||
|
|
133759
|
-
_t.sourceType === t$
|
|
133760
|
-
(_t == null ? void 0 : _t.versionInfo) !== a$
|
|
133785
|
+
_t.sourceType === t$4.SourceFile && !!_t.sourceFileName && // data.sourceFileName 标识参考文件存在与否,不能使用其他字段判断
|
|
133786
|
+
(_t == null ? void 0 : _t.versionInfo) !== a$5.ProtectUnauthorize
|
|
133761
133787
|
);
|
|
133762
133788
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(mM, {
|
|
133763
133789
|
className: "session-refer-panel",
|
|
@@ -133776,7 +133802,7 @@ const DD = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZX
|
|
|
133776
133802
|
}),
|
|
133777
133803
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, {
|
|
133778
133804
|
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(nM, {
|
|
133779
|
-
type: _t.sourceType === t$
|
|
133805
|
+
type: _t.sourceType === t$4.WebLink ? "icon-lianjie" : "icon-doc-link",
|
|
133780
133806
|
style: {
|
|
133781
133807
|
fontSize: 16
|
|
133782
133808
|
}
|
|
@@ -133816,11 +133842,11 @@ const DD = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZX
|
|
|
133816
133842
|
service: qt
|
|
133817
133843
|
} = reactExports.useContext(qM), Ht = (Gt, Zt) => {
|
|
133818
133844
|
if (!(!(Gt != null && Gt.knowledgeId) || !(Gt != null && Gt.docId))) {
|
|
133819
|
-
if (Gt.sourceType === t$
|
|
133845
|
+
if (Gt.sourceType === t$4.WebLink) {
|
|
133820
133846
|
window.open(Gt.webLink);
|
|
133821
133847
|
return;
|
|
133822
133848
|
}
|
|
133823
|
-
Gt.sourceType === t$
|
|
133849
|
+
Gt.sourceType === t$4.SourceFile && window.open(`${Ft}?page=${Zt || 0}&url=${encodeURIComponent(Gt.sourceFileUrl)}`);
|
|
133824
133850
|
}
|
|
133825
133851
|
};
|
|
133826
133852
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
@@ -134461,12 +134487,12 @@ const xg = (bt) => {
|
|
|
134461
134487
|
debug: vr,
|
|
134462
134488
|
transform: wr,
|
|
134463
134489
|
popupContainer: Vt
|
|
134464
|
-
} = reactExports.useContext(qM), er = ir.role === n$6.User, tr = ir.role === n$6.Robot, Wt = reactExports.useMemo(() => er && Kt.type === i$
|
|
134490
|
+
} = reactExports.useContext(qM), er = ir.role === n$6.User, tr = ir.role === n$6.Robot, Wt = reactExports.useMemo(() => er && Kt.type === i$6.Agent ? bg(ir.content, ir.files) : {
|
|
134465
134491
|
content: ir.content,
|
|
134466
134492
|
files: ir.files
|
|
134467
134493
|
}, [er, Kt.type, ir.content, ir.files]), {
|
|
134468
134494
|
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$
|
|
134495
|
+
} = 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$6.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
134496
|
maxHeight: Wr,
|
|
134471
134497
|
overflowY: "auto"
|
|
134472
134498
|
} : void 0, Zr = !!Ur && fr;
|
|
@@ -134515,7 +134541,7 @@ const xg = (bt) => {
|
|
|
134515
134541
|
|
|
134516
134542
|
`)
|
|
134517
134543
|
})
|
|
134518
|
-
}), Kt.type === i$
|
|
134544
|
+
}), Kt.type === i$6.Dialog && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134519
134545
|
className: "item-user-file-dialog",
|
|
134520
134546
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Row$1, {
|
|
134521
134547
|
gutter: [12, 12],
|
|
@@ -134578,7 +134604,7 @@ const xg = (bt) => {
|
|
|
134578
134604
|
})
|
|
134579
134605
|
})
|
|
134580
134606
|
})
|
|
134581
|
-
}), Kt.type === i$
|
|
134607
|
+
}), Kt.type === i$6.Agent && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134582
134608
|
className: "item-user-file",
|
|
134583
134609
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Row$1, {
|
|
134584
134610
|
gutter: [12, 12],
|
|
@@ -134739,9 +134765,9 @@ const xg = (bt) => {
|
|
|
134739
134765
|
}),
|
|
134740
134766
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
134741
134767
|
className: "bottom-left",
|
|
134742
|
-
children: [(ir == null ? void 0 : ir.thinkingStatus) === P$
|
|
134768
|
+
children: [(ir == null ? void 0 : ir.thinkingStatus) === P$1.Start && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134743
134769
|
className: "thinking"
|
|
134744
|
-
}), (ir == null ? void 0 : ir.thinkingStatus) === P$
|
|
134770
|
+
}), (ir == null ? void 0 : ir.thinkingStatus) === P$1.End && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134745
134771
|
className: "thinked",
|
|
134746
134772
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tj, {})
|
|
134747
134773
|
})]
|
|
@@ -135389,9 +135415,9 @@ const Pg = (bt) => {
|
|
|
135389
135415
|
cr(Rt instanceof File || Rt == null ? void 0 : Rt.status);
|
|
135390
135416
|
}, [Rt]);
|
|
135391
135417
|
const dr = () => {
|
|
135392
|
-
$t && qt && ur === u$
|
|
135418
|
+
$t && qt && ur === u$9.Processing && qt($t).then((pr) => {
|
|
135393
135419
|
pr !== ur && (ur !== void 0 && Zt && Zt(pr), cr(pr));
|
|
135394
|
-
}).catch((pr) => cr(u$
|
|
135420
|
+
}).catch((pr) => cr(u$9.Failed));
|
|
135395
135421
|
};
|
|
135396
135422
|
return reactExports.useEffect(() => {
|
|
135397
135423
|
dr();
|
|
@@ -135698,7 +135724,7 @@ const Pg = (bt) => {
|
|
|
135698
135724
|
name: Wr.name,
|
|
135699
135725
|
size: Wr.size,
|
|
135700
135726
|
type: 1,
|
|
135701
|
-
origin: v$
|
|
135727
|
+
origin: v$7.AECPILOT
|
|
135702
135728
|
};
|
|
135703
135729
|
mr.current && ((en = Sr(Qr, kr)) == null || en.then((Lr) => hr(Qr, Lr, Wr)));
|
|
135704
135730
|
});
|
|
@@ -137020,7 +137046,7 @@ const qg = (bt) => {
|
|
|
137020
137046
|
mode: rr
|
|
137021
137047
|
} = 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
137048
|
reactExports.useEffect(() => {
|
|
137023
|
-
qt && Jt && ($t && $t.length > _ ? (sr([]), or([])) : (Jt.listPrompt(vt, {
|
|
137049
|
+
qt && Jt && ($t && $t.length > _$1 ? (sr([]), or([])) : (Jt.listPrompt(vt, {
|
|
137024
137050
|
type: "system"
|
|
137025
137051
|
}).then((Vt) => vr(!!Vt.length)), Jt.listPrompt(vt, $t ? {
|
|
137026
137052
|
title: $t
|
|
@@ -137042,7 +137068,7 @@ const qg = (bt) => {
|
|
|
137042
137068
|
});
|
|
137043
137069
|
}, [Jt]);
|
|
137044
137070
|
const wr = () => {
|
|
137045
|
-
if ($t && $t.length > _) {
|
|
137071
|
+
if ($t && $t.length > _$1) {
|
|
137046
137072
|
sr([]), or([]);
|
|
137047
137073
|
return;
|
|
137048
137074
|
}
|
|
@@ -137125,7 +137151,7 @@ class ie {
|
|
|
137125
137151
|
}
|
|
137126
137152
|
const Wi = 10, De = 5, Zj = 20, _j = (bt, pt, vt, _t) => {
|
|
137127
137153
|
let $t = bt;
|
|
137128
|
-
if (_t === i$
|
|
137154
|
+
if (_t === i$6.Agent) {
|
|
137129
137155
|
if (vt && vt.length > 0) {
|
|
137130
137156
|
const Rt = vt.map((Ft) => `[${Ft.name.replace(/\.[^/.]+$/, "")}](${Ft.url})`).join(`
|
|
137131
137157
|
`);
|
|
@@ -137325,7 +137351,7 @@ ${$t}` : $t;
|
|
|
137325
137351
|
message: {
|
|
137326
137352
|
content: Do,
|
|
137327
137353
|
sessionId: ro,
|
|
137328
|
-
role: v$
|
|
137354
|
+
role: v$4.User,
|
|
137329
137355
|
files: bn[ro]
|
|
137330
137356
|
}
|
|
137331
137357
|
}) : ko = !0;
|
|
@@ -137373,7 +137399,7 @@ ${$t}` : $t;
|
|
|
137373
137399
|
message: {
|
|
137374
137400
|
content: zn,
|
|
137375
137401
|
sessionId: ar.id,
|
|
137376
|
-
role: v$
|
|
137402
|
+
role: v$4.User,
|
|
137377
137403
|
files: bn[ar.id]
|
|
137378
137404
|
}
|
|
137379
137405
|
}) : Gn = !0;
|
|
@@ -137398,9 +137424,9 @@ ${$t}` : $t;
|
|
|
137398
137424
|
Ln(!0), fo(!0);
|
|
137399
137425
|
const ko = _j(In, Or, Bn, (ir == null ? void 0 : ir.type) || 0);
|
|
137400
137426
|
let _a;
|
|
137401
|
-
if (ir.type === i$
|
|
137427
|
+
if (ir.type === i$6.Agent)
|
|
137402
137428
|
_a = void 0;
|
|
137403
|
-
else if (ir.type === i$
|
|
137429
|
+
else if (ir.type === i$6.Dialog && (Gn = ir.arrange) != null && Gn.length && ir.arrange[0].visionOpen) {
|
|
137404
137430
|
const vn = Or && Or.length ? Or.filter(Boolean) : [];
|
|
137405
137431
|
_a = vn.length ? vn : void 0;
|
|
137406
137432
|
} else
|
|
@@ -137421,7 +137447,7 @@ ${$t}` : $t;
|
|
|
137421
137447
|
const Uo = new ie("", Do, n$6.System);
|
|
137422
137448
|
Uo.isWaiting = !0, Qr.current = [Uo, ...Qr.current], vr(Qr.current);
|
|
137423
137449
|
const Ml = (Bn == null ? void 0 : Bn.filter((vn) => !vn.localAttachment).map((vn) => vn.id)) || [], Fr = {
|
|
137424
|
-
stream:
|
|
137450
|
+
stream: i$2.stream,
|
|
137425
137451
|
referenceFirst: !1
|
|
137426
137452
|
};
|
|
137427
137453
|
if (yr != null && yr.promptVariables) {
|
|
@@ -137538,7 +137564,7 @@ ${$t}` : $t;
|
|
|
137538
137564
|
return Bn <= 0 ? (Oo("error", "该文件为空,请重新上传"), !1) : Bn > Zj * uj ? (Oo("error", `图片须小于${Zj}M`), !1) : (Lr((zn) => zn.length >= De ? (Oo("warning", `图片最多上传${De}张`), zn) : [...zn, In]), !1);
|
|
137539
137565
|
}, Il = () => {
|
|
137540
137566
|
var In;
|
|
137541
|
-
return (ir.type === i$
|
|
137567
|
+
return (ir.type === i$6.Agent && (yr == null ? void 0 : yr.imageUpload) || ir.type === i$6.Dialog && ((In = ir.arrange) == null ? void 0 : In.length) && !!ir.arrange[0].visionOpen && (yr == null ? void 0 : yr.imageUpload)) && !jr;
|
|
137542
137568
|
}, mn = () => !!ur && (yr == null ? void 0 : yr.fileUpload) && (ir == null ? void 0 : ir.id) && !jr, un = (In) => {
|
|
137543
137569
|
var Bn, zn;
|
|
137544
137570
|
const Gn = Array.from(In || []).filter(Boolean);
|
|
@@ -137554,7 +137580,7 @@ ${$t}` : $t;
|
|
|
137554
137580
|
}
|
|
137555
137581
|
const El = (Go = (Jo = vn.name) == null ? void 0 : Jo.split(".").pop()) == null ? void 0 : Go.toLowerCase();
|
|
137556
137582
|
if (sD(vn)) {
|
|
137557
|
-
Do && ir.type === i$
|
|
137583
|
+
Do && ir.type === i$6.Agent ? _a.push(vn) : Ml++;
|
|
137558
137584
|
return;
|
|
137559
137585
|
}
|
|
137560
137586
|
if (uD.includes(vn.type) || ["pdf", "doc", "docx"].includes(El || "")) {
|
|
@@ -137975,7 +138001,7 @@ ${$t}` : $t;
|
|
|
137975
138001
|
className: "footer-upload-action",
|
|
137976
138002
|
onClick: (In) => In.preventDefault(),
|
|
137977
138003
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsxs(mM, {
|
|
137978
|
-
children: [(ir.type === i$
|
|
138004
|
+
children: [(ir.type === i$6.Agent && (yr == null ? void 0 : yr.imageUpload) || ir.type === i$6.Dialog && ((Ht = ir.arrange) == null ? void 0 : Ht.length) && !!ir.arrange[0].visionOpen && (yr == null ? void 0 : yr.imageUpload)) && /* @__PURE__ */ jsxRuntimeExports.jsx(Kj, {
|
|
137979
138005
|
multiple: !0,
|
|
137980
138006
|
disabled: kr.length >= De || jr,
|
|
137981
138007
|
accept: ".jpg, .png, .jpeg,.bmp",
|
|
@@ -138025,7 +138051,7 @@ ${$t}` : $t;
|
|
|
138025
138051
|
})
|
|
138026
138052
|
}), ur && yr != null && yr.fileUpload && ir != null && ir.id ? /* @__PURE__ */ jsxRuntimeExports.jsx(aD, {
|
|
138027
138053
|
appId: ir == null ? void 0 : ir.id,
|
|
138028
|
-
allowExcelAttachment: ir.type === i$
|
|
138054
|
+
allowExcelAttachment: ir.type === i$6.Agent,
|
|
138029
138055
|
ref: Jn,
|
|
138030
138056
|
isFirstSession: Mo,
|
|
138031
138057
|
docViewerUrl: sr,
|
|
@@ -138077,7 +138103,7 @@ ${$t}` : $t;
|
|
|
138077
138103
|
disabled: jr
|
|
138078
138104
|
})]
|
|
138079
138105
|
}), /* @__PURE__ */ jsxRuntimeExports.jsxs(mM, {
|
|
138080
|
-
children: [(yr == null ? void 0 : yr.connectNetwork) && ir.type === i$
|
|
138106
|
+
children: [(yr == null ? void 0 : yr.connectNetwork) && ir.type === i$6.Dialog && ((Zt = ir.arrange) == null ? void 0 : Zt.length) && !!ir.arrange[0].enableNetOpen && /* @__PURE__ */ jsxRuntimeExports.jsx(MI, {
|
|
138081
138107
|
sessionId: (Jt = ar == null ? void 0 : ar.data) == null ? void 0 : Jt.id,
|
|
138082
138108
|
netStatus: dr,
|
|
138083
138109
|
enable: typeof (Er == null ? void 0 : Er.connectNetwork) == "object" && typeof (Er == null ? void 0 : Er.connectNetwork.diabled) == "boolean" ? !(Er != null && Er.connectNetwork.diabled) : _o,
|
|
@@ -138597,7 +138623,7 @@ ${$t}` : $t;
|
|
|
138597
138623
|
})]
|
|
138598
138624
|
})
|
|
138599
138625
|
});
|
|
138600
|
-
}), nI = "@glodon-aiot/agent-cli-ui", LI = "3.25.
|
|
138626
|
+
}), nI = "@glodon-aiot/agent-cli-ui", LI = "3.25.1-alpha.0", AI = "./dist/es/index.mjs", yI = "./dist/lib/index.js", cI = "./dist/src/index.d.ts", aI = {
|
|
138601
138627
|
import: "./dist/es/index.mjs",
|
|
138602
138628
|
require: "./dist/lib/index.js",
|
|
138603
138629
|
types: "./dist/src/index.d.ts"
|
|
@@ -138619,9 +138645,9 @@ ${$t}` : $t;
|
|
|
138619
138645
|
commit: "cz"
|
|
138620
138646
|
}, OI = {
|
|
138621
138647
|
"@ant-design/icons": "^5.3.4",
|
|
138622
|
-
"@glodon-aiot/apis": "^3.25.
|
|
138623
|
-
"@glodon-aiot/bot-client-sdk": "^3.25.
|
|
138624
|
-
"@glodon-aiot/react-components": "^3.25.
|
|
138648
|
+
"@glodon-aiot/apis": "^3.25.1-alpha.0",
|
|
138649
|
+
"@glodon-aiot/bot-client-sdk": "^3.25.1-alpha.0",
|
|
138650
|
+
"@glodon-aiot/react-components": "^3.25.1-alpha.0",
|
|
138625
138651
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
138626
138652
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
138627
138653
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
@@ -141637,7 +141663,7 @@ function _s(bt) {
|
|
|
141637
141663
|
const Xj = {};
|
|
141638
141664
|
class nn {
|
|
141639
141665
|
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",
|
|
141666
|
+
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$2.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
141667
|
var vt, _t, $t, Rt, Ft;
|
|
141642
141668
|
this._uuid = v4$1();
|
|
141643
141669
|
const {
|
|
@@ -141663,15 +141689,15 @@ class nn {
|
|
|
141663
141689
|
const ur = {};
|
|
141664
141690
|
pt.header !== void 0 && (ur.showHeader = !!pt.header);
|
|
141665
141691
|
const cr = {
|
|
141666
|
-
triggerButton: te$
|
|
141667
|
-
size: te$
|
|
141668
|
-
theme: te$
|
|
141692
|
+
triggerButton: te$2(this.uiConfig.triggerButton, Ht),
|
|
141693
|
+
size: te$2(this.uiConfig.size, uM({}, Gt)),
|
|
141694
|
+
theme: te$2(this.uiConfig.theme, Xj)
|
|
141669
141695
|
};
|
|
141670
|
-
this.updateUIConfig(cr, ur), this.env = Pt || "prod", this.stream = or,
|
|
141696
|
+
this.updateUIConfig(cr, ur), this.env = Pt || "prod", this.stream = or, x$4({
|
|
141671
141697
|
stream: this.stream
|
|
141672
141698
|
}), 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
141699
|
var dr, pr;
|
|
141674
|
-
((pr = (dr = this.botClient) == null ? void 0 : dr.application) == null ? void 0 : pr.type) === i$
|
|
141700
|
+
((pr = (dr = this.botClient) == null ? void 0 : dr.application) == null ? void 0 : pr.type) === i$6.Dialog && (yield this.fetchSilenceDuration()), this.mode = qt;
|
|
141675
141701
|
}));
|
|
141676
141702
|
}
|
|
141677
141703
|
fetchSilenceDuration() {
|
|
@@ -141743,26 +141769,26 @@ class nn {
|
|
|
141743
141769
|
};
|
|
141744
141770
|
if (pt === "inlay") {
|
|
141745
141771
|
const Pt = {
|
|
141746
|
-
triggerButton: te$
|
|
141772
|
+
triggerButton: te$2({
|
|
141747
141773
|
visible: !1
|
|
141748
141774
|
}, this.uiConfig.triggerButton),
|
|
141749
141775
|
open: !0,
|
|
141750
141776
|
resizable: !1,
|
|
141751
|
-
size: te$
|
|
141777
|
+
size: te$2({
|
|
141752
141778
|
width: "100%",
|
|
141753
141779
|
height: "100%",
|
|
141754
141780
|
maxWidth: "100%",
|
|
141755
141781
|
maxHeight: "100%",
|
|
141756
141782
|
minWidth: "100%"
|
|
141757
141783
|
}, this._config.size),
|
|
141758
|
-
theme: te$
|
|
141784
|
+
theme: te$2(this.uiConfig.theme, Xj),
|
|
141759
141785
|
history: !0
|
|
141760
141786
|
};
|
|
141761
141787
|
this.updateUIConfig(Pt, Ft);
|
|
141762
141788
|
} else {
|
|
141763
141789
|
const Pt = {
|
|
141764
141790
|
size: uM(uM(uM({}, this.uiConfig.size), qj.size), this._config.size),
|
|
141765
|
-
theme: te$
|
|
141791
|
+
theme: te$2(this.uiConfig.theme, Xj)
|
|
141766
141792
|
};
|
|
141767
141793
|
this.updateUIConfig(Pt, Ft);
|
|
141768
141794
|
}
|
|
@@ -141826,7 +141852,7 @@ class nn {
|
|
|
141826
141852
|
prefixCls: "gbot-notification"
|
|
141827
141853
|
})));
|
|
141828
141854
|
}, Ft = _t("");
|
|
141829
|
-
return new x$
|
|
141855
|
+
return new x$8(Ft, () => this.token, {
|
|
141830
141856
|
onHttpStatusError: $t,
|
|
141831
141857
|
onAppStatusError: Rt
|
|
141832
141858
|
});
|
|
@@ -141836,7 +141862,7 @@ class nn {
|
|
|
141836
141862
|
this._defatulSessionId = (pt = this.activeSession) == null ? void 0 : pt.id, this.destroy(() => {
|
|
141837
141863
|
this.service = this.setService(), this.rId = this.rId + 1, this._initWrapper(), this.createBotClientSDK().then(() => zM(this, null, function* () {
|
|
141838
141864
|
var vt, _t;
|
|
141839
|
-
((_t = (vt = this.botClient) == null ? void 0 : vt.application) == null ? void 0 : _t.type) === i$
|
|
141865
|
+
((_t = (vt = this.botClient) == null ? void 0 : vt.application) == null ? void 0 : _t.type) === i$6.Dialog && (yield this.fetchSilenceDuration()), this.render();
|
|
141840
141866
|
}));
|
|
141841
141867
|
});
|
|
141842
141868
|
}
|
|
@@ -141883,7 +141909,7 @@ class nn {
|
|
|
141883
141909
|
return zM(this, null, function* () {
|
|
141884
141910
|
return new Promise((pt, vt) => {
|
|
141885
141911
|
if (this.token)
|
|
141886
|
-
|
|
141912
|
+
x$4({
|
|
141887
141913
|
debug: this.uiConfig.debug,
|
|
141888
141914
|
env: this.uiConfig.env,
|
|
141889
141915
|
apiRoot: this.apiUrl
|
|
@@ -141902,7 +141928,7 @@ class nn {
|
|
|
141902
141928
|
}
|
|
141903
141929
|
}), this.botClient.ready ? pt(this.botClient) : this.botClient.addEventListener("ready", () => zM(this, null, function* () {
|
|
141904
141930
|
var _t;
|
|
141905
|
-
this.botClient ? (((_t = this.botClient.application) == null ? void 0 : _t.type) === i$
|
|
141931
|
+
this.botClient ? (((_t = this.botClient.application) == null ? void 0 : _t.type) === i$6.Text && (this.mode = "inlay"), pt(this.botClient)) : vt(this.botClient);
|
|
141906
141932
|
}), !0);
|
|
141907
141933
|
else
|
|
141908
141934
|
throw Error("token is required");
|
|
@@ -141914,7 +141940,7 @@ class nn {
|
|
|
141914
141940
|
var pt, vt, _t, $t, Rt, Ft, Pt, Bt, qt;
|
|
141915
141941
|
if (this.wrapper.style.height = "100%", !((pt = this.botClient) != null && pt.application))
|
|
141916
141942
|
throw Error("application is required");
|
|
141917
|
-
this.botClient.application.type === i$
|
|
141943
|
+
this.botClient.application.type === i$6.Text ? yield Ki(/* @__PURE__ */ jsxRuntimeExports.jsx(Xi, {
|
|
141918
141944
|
getPopupContainer: () => this.uiConfig.getContainer(),
|
|
141919
141945
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Gs, {
|
|
141920
141946
|
rId: this.rId,
|