@infinilabs/entity-ui 0.0.2 → 0.0.4

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/entity-ui.js CHANGED
@@ -1,8 +1,9 @@
1
- import Ve, { useState as Le, useRef as _t } from "react";
2
- import { Breadcrumb as bt, Tag as Ye, Progress as xt, Button as Rt, Popover as jt, Skeleton as Et, Avatar as We } from "antd";
3
- import * as ze from "lucide-react";
4
- import { ExternalLink as wt, Tags as Ct } from "lucide-react";
5
- var xe = { exports: {} }, X = {};
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._entityCard_1xtgw_1{width:400px;padding:16px;overflow:auto;border-radius:5px;background-color:#fff;color:#101010;font-size:14px;text-align:center;box-shadow:0 0 10px #0000004d;font-family:-regular}._pcCover_1xtgw_15{display:flex;align-items:center;justify-content:center;margin-bottom:25px;overflow:hidden;border-radius:3px;background-color:#bbbbbbb0}._pcCover_1xtgw_15 img{width:100%;height:auto;display:block}._pcSection_1xtgw_31{width:100%;padding-bottom:16px;display:flex;align-items:center}._pcBreadcrumbSep_1xtgw_38{font-size:12px;color:#999}._pcBasic_1xtgw_43{display:flex;gap:8px;flex-wrap:wrap}._pcBasicRow_1xtgw_49{width:100%;display:flex;align-items:center;justify-content:space-between}._pcBasicRowLeft_1xtgw_56{display:flex;align-items:center;gap:8px}._pcLinkIconRight_1xtgw_61{display:flex;align-items:center;justify-content:center;width:30px;height:20px;text-decoration:none;background-color:#fafafa;border-radius:4px}._pcColorSwatch_1xtgw_72{width:7px;height:16px}._pcIconDot_1xtgw_77{width:18px;height:18px}._pcTitleLink_1xtgw_82{display:inline-flex;align-items:center;gap:8px;padding:2px 8px;border:2px solid #027ffe;border-radius:4px;color:#027ffe;font-weight:500;text-decoration:none;line-height:1.6}._pcTitleLink_1xtgw_82:hover{background:#1677ff0f}._pcTitleText_1xtgw_99{display:inline-flex;align-items:center;color:#027ffe;font-size:16px}._pcSubTitleText_1xtgw_106{display:inline-flex;align-items:center;color:#999;font-size:16px}._pcExternalIcon_1xtgw_113{font-size:12px;color:#027ffe;margin-left:2px}._pcProperties_1xtgw_119{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;row-gap:12px;align-items:start}._pcProperty_1xtgw_127{display:flex;align-items:center;gap:4px;min-height:24px;min-width:0;box-sizing:border-box;font-size:12px;color:#999}._pcTagsRow_1xtgw_138{display:inline-flex;flex-wrap:wrap;gap:4px}._pcTag_1xtgw_138{padding:2px 6px;border-radius:4px;background:#f2f3f5;color:#555;font-size:12px}._pcDetails_1xtgw_151{width:100%;display:flex;flex-direction:column;gap:12px}._pcRow_1xtgw_157{display:grid;column-gap:8px;row-gap:12px;width:100%}._pcCol_1xtgw_72{width:100%;padding:10px 8px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left;border-radius:5px;background-color:#fafafa;color:#101010;font-size:14px;font-family:-regular;border:1px solid rgba(245,245,245,1)}._pcColLabel_1xtgw_179{color:#999;font-size:12px}._pcColValue_1xtgw_183{font-size:16px;color:#027ffe}._pcProgressText_1xtgw_188{font-size:10px;color:#027ffe}._entityLabel_1xtgw_194{width:100%;overflow:hidden}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import Ye, { useState as We, useRef as xt } from "react";
3
+ import { Breadcrumb as _t, Tag as ze, Progress as bt, Button as wt, Popover as Rt, Skeleton as jt, Avatar as $e } from "antd";
4
+ import * as Je from "lucide-react";
5
+ import { ExternalLink as Et, Tags as Ct } from "lucide-react";
6
+ var be = { exports: {} }, X = {};
6
7
  /**
7
8
  * @license React
8
9
  * react-jsx-runtime.production.min.js
@@ -12,17 +13,17 @@ var xe = { exports: {} }, X = {};
12
13
  * This source code is licensed under the MIT license found in the
13
14
  * LICENSE file in the root directory of this source tree.
14
15
  */
15
- var $e;
16
+ var Be;
16
17
  function Tt() {
17
- if ($e) return X;
18
- $e = 1;
19
- var t = Ve, v = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
20
- function m(R, u, j) {
21
- var b, S = {}, C = null, O = null;
22
- j !== void 0 && (C = "" + j), u.key !== void 0 && (C = "" + u.key), u.ref !== void 0 && (O = u.ref);
23
- for (b in u) c.call(u, b) && !g.hasOwnProperty(b) && (S[b] = u[b]);
24
- if (R && R.defaultProps) for (b in u = R.defaultProps, u) S[b] === void 0 && (S[b] = u[b]);
25
- return { $$typeof: v, type: R, key: C, ref: O, props: S, _owner: s.current };
18
+ if (Be) return X;
19
+ Be = 1;
20
+ var t = Ye, v = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function m(w, u, R) {
22
+ var _, S = {}, C = null, O = null;
23
+ R !== void 0 && (C = "" + R), u.key !== void 0 && (C = "" + u.key), u.ref !== void 0 && (O = u.ref);
24
+ for (_ in u) c.call(u, _) && !g.hasOwnProperty(_) && (S[_] = u[_]);
25
+ if (w && w.defaultProps) for (_ in u = w.defaultProps, u) S[_] === void 0 && (S[_] = u[_]);
26
+ return { $$typeof: v, type: w, key: C, ref: O, props: S, _owner: s.current };
26
27
  }
27
28
  return X.Fragment = f, X.jsx = m, X.jsxs = m, X;
28
29
  }
@@ -36,25 +37,25 @@ var Z = {};
36
37
  * This source code is licensed under the MIT license found in the
37
38
  * LICENSE file in the root directory of this source tree.
38
39
  */
39
- var Be;
40
+ var Me;
40
41
  function St() {
41
- return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
42
- var t = Ve, v = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), R = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), W = Symbol.iterator, ae = "@@iterator";
42
+ return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var t = Ye, v = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), w = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, ae = "@@iterator";
43
44
  function ce(e) {
44
45
  if (e === null || typeof e != "object")
45
46
  return null;
46
- var r = W && e[W] || e[ae];
47
+ var r = $ && e[$] || e[ae];
47
48
  return typeof r == "function" ? r : null;
48
49
  }
49
50
  var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
- function E(e) {
51
+ function j(e) {
51
52
  {
52
53
  for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
53
54
  i[o - 1] = arguments[o];
54
- Re("error", e, i);
55
+ we("error", e, i);
55
56
  }
56
57
  }
57
- function Re(e, r, i) {
58
+ function we(e, r, i) {
58
59
  {
59
60
  var o = A.ReactDebugCurrentFrame, p = o.getStackAddendum();
60
61
  p !== "" && (r += "%s", i = i.concat([p]));
@@ -66,8 +67,8 @@ function St() {
66
67
  }
67
68
  var ue = !1, fe = !1, Q = !1, pe = !1, he = !1, d;
68
69
  d = Symbol.for("react.module.reference");
69
- function $(e) {
70
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === g || he || e === s || e === j || e === b || pe || e === O || ue || fe || Q || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === S || e.$$typeof === m || e.$$typeof === R || e.$$typeof === u || // This needs to include all possible module reference object
70
+ function B(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === g || he || e === s || e === R || e === _ || pe || e === O || ue || fe || Q || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === S || e.$$typeof === m || e.$$typeof === w || e.$$typeof === u || // This needs to include all possible module reference object
71
72
  // types supported by any Flight configuration anywhere since
72
73
  // we don't know which Flight build this will end up being used
73
74
  // with.
@@ -86,7 +87,7 @@ function St() {
86
87
  function I(e) {
87
88
  if (e == null)
88
89
  return null;
89
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
+ if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
91
  return e.displayName || e.name || null;
91
92
  if (typeof e == "string")
92
93
  return e;
@@ -99,14 +100,14 @@ function St() {
99
100
  return "Profiler";
100
101
  case s:
101
102
  return "StrictMode";
102
- case j:
103
+ case R:
103
104
  return "Suspense";
104
- case b:
105
+ case _:
105
106
  return "SuspenseList";
106
107
  }
107
108
  if (typeof e == "object")
108
109
  switch (e.$$typeof) {
109
- case R:
110
+ case w:
110
111
  var r = e;
111
112
  return ee(r) + ".Consumer";
112
113
  case m:
@@ -128,14 +129,14 @@ function St() {
128
129
  }
129
130
  return null;
130
131
  }
131
- var F = Object.assign, D = 0, te, V, Y, z, J, P, re;
132
+ var F = Object.assign, L = 0, te, Y, z, J, q, P, re;
132
133
  function ne() {
133
134
  }
134
135
  ne.__reactDisabledLog = !0;
135
136
  function ie() {
136
137
  {
137
- if (D === 0) {
138
- te = console.log, V = console.info, Y = console.warn, z = console.error, J = console.group, P = console.groupCollapsed, re = console.groupEnd;
138
+ if (L === 0) {
139
+ te = console.log, Y = console.info, z = console.warn, J = console.error, q = console.group, P = console.groupCollapsed, re = console.groupEnd;
139
140
  var e = {
140
141
  configurable: !0,
141
142
  enumerable: !0,
@@ -152,12 +153,12 @@ function St() {
152
153
  groupEnd: e
153
154
  });
154
155
  }
155
- D++;
156
+ L++;
156
157
  }
157
158
  }
158
159
  function ge() {
159
160
  {
160
- if (D--, D === 0) {
161
+ if (L--, L === 0) {
161
162
  var e = {
162
163
  configurable: !0,
163
164
  enumerable: !0,
@@ -168,16 +169,16 @@ function St() {
168
169
  value: te
169
170
  }),
170
171
  info: F({}, e, {
171
- value: V
172
+ value: Y
172
173
  }),
173
174
  warn: F({}, e, {
174
- value: Y
175
+ value: z
175
176
  }),
176
177
  error: F({}, e, {
177
- value: z
178
+ value: J
178
179
  }),
179
180
  group: F({}, e, {
180
- value: J
181
+ value: q
181
182
  }),
182
183
  groupCollapsed: F({}, e, {
183
184
  value: P
@@ -187,11 +188,11 @@ function St() {
187
188
  })
188
189
  });
189
190
  }
190
- D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ L < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
192
  }
192
193
  }
193
194
  var H = A.ReactCurrentDispatcher, K;
194
- function B(e, r, i) {
195
+ function M(e, r, i) {
195
196
  {
196
197
  if (K === void 0)
197
198
  try {
@@ -204,21 +205,21 @@ function St() {
204
205
  ` + K + e;
205
206
  }
206
207
  }
207
- var q = !1, N;
208
+ var N = !1, D;
208
209
  {
209
210
  var oe = typeof WeakMap == "function" ? WeakMap : Map;
210
- N = new oe();
211
+ D = new oe();
211
212
  }
212
- function je(e, r) {
213
- if (!e || q)
213
+ function Re(e, r) {
214
+ if (!e || N)
214
215
  return "";
215
216
  {
216
- var i = N.get(e);
217
+ var i = D.get(e);
217
218
  if (i !== void 0)
218
219
  return i;
219
220
  }
220
221
  var o;
221
- q = !0;
222
+ N = !0;
222
223
  var p = Error.prepareStackTrace;
223
224
  Error.prepareStackTrace = void 0;
224
225
  var y;
@@ -258,30 +259,30 @@ function St() {
258
259
  } catch (T) {
259
260
  if (T && o && typeof T.stack == "string") {
260
261
  for (var l = T.stack.split(`
261
- `), w = o.stack.split(`
262
- `), _ = l.length - 1, x = w.length - 1; _ >= 1 && x >= 0 && l[_] !== w[x]; )
263
- x--;
264
- for (; _ >= 1 && x >= 0; _--, x--)
265
- if (l[_] !== w[x]) {
266
- if (_ !== 1 || x !== 1)
262
+ `), E = o.stack.split(`
263
+ `), x = l.length - 1, b = E.length - 1; x >= 1 && b >= 0 && l[x] !== E[b]; )
264
+ b--;
265
+ for (; x >= 1 && b >= 0; x--, b--)
266
+ if (l[x] !== E[b]) {
267
+ if (x !== 1 || b !== 1)
267
268
  do
268
- if (_--, x--, x < 0 || l[_] !== w[x]) {
269
+ if (x--, b--, b < 0 || l[x] !== E[b]) {
269
270
  var k = `
270
- ` + l[_].replace(" at new ", " at ");
271
- return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, k), k;
271
+ ` + l[x].replace(" at new ", " at ");
272
+ return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && D.set(e, k), k;
272
273
  }
273
- while (_ >= 1 && x >= 0);
274
+ while (x >= 1 && b >= 0);
274
275
  break;
275
276
  }
276
277
  }
277
278
  } finally {
278
- q = !1, H.current = y, ge(), Error.prepareStackTrace = p;
279
+ N = !1, H.current = y, ge(), Error.prepareStackTrace = p;
279
280
  }
280
- var U = e ? e.displayName || e.name : "", L = U ? B(U) : "";
281
- return typeof e == "function" && N.set(e, L), L;
281
+ var V = e ? e.displayName || e.name : "", W = V ? M(V) : "";
282
+ return typeof e == "function" && D.set(e, W), W;
282
283
  }
283
284
  function Ke(e, r, i) {
284
- return je(e, !1);
285
+ return Re(e, !1);
285
286
  }
286
287
  function Ge(e) {
287
288
  var r = e.prototype;
@@ -291,14 +292,14 @@ function St() {
291
292
  if (e == null)
292
293
  return "";
293
294
  if (typeof e == "function")
294
- return je(e, Ge(e));
295
+ return Re(e, Ge(e));
295
296
  if (typeof e == "string")
296
- return B(e);
297
+ return M(e);
297
298
  switch (e) {
298
- case j:
299
- return B("Suspense");
300
- case b:
301
- return B("SuspenseList");
299
+ case R:
300
+ return M("Suspense");
301
+ case _:
302
+ return M("SuspenseList");
302
303
  }
303
304
  if (typeof e == "object")
304
305
  switch (e.$$typeof) {
@@ -316,13 +317,13 @@ function St() {
316
317
  }
317
318
  return "";
318
319
  }
319
- var G = Object.prototype.hasOwnProperty, Ee = {}, we = A.ReactDebugCurrentFrame;
320
+ var G = Object.prototype.hasOwnProperty, je = {}, Ee = A.ReactDebugCurrentFrame;
320
321
  function le(e) {
321
322
  if (e) {
322
323
  var r = e._owner, i = se(e.type, e._source, r ? r.type : null);
323
- we.setExtraStackFrame(i);
324
+ Ee.setExtraStackFrame(i);
324
325
  } else
325
- we.setExtraStackFrame(null);
326
+ Ee.setExtraStackFrame(null);
326
327
  }
327
328
  function Xe(e, r, i, o, p) {
328
329
  {
@@ -332,14 +333,14 @@ function St() {
332
333
  var l = void 0;
333
334
  try {
334
335
  if (typeof e[a] != "function") {
335
- var w = Error((o || "React class") + ": " + i + " type `" + a + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[a] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
- throw w.name = "Invariant Violation", w;
336
+ var E = Error((o || "React class") + ": " + i + " type `" + a + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[a] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw E.name = "Invariant Violation", E;
337
338
  }
338
339
  l = e[a](r, a, o, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
- } catch (_) {
340
- l = _;
340
+ } catch (x) {
341
+ l = x;
341
342
  }
342
- l && !(l instanceof Error) && (le(p), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", i, a, typeof l), le(null)), l instanceof Error && !(l.message in Ee) && (Ee[l.message] = !0, le(p), E("Failed %s type: %s", i, l.message), le(null));
343
+ l && !(l instanceof Error) && (le(p), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", i, a, typeof l), le(null)), l instanceof Error && !(l.message in je) && (je[l.message] = !0, le(p), j("Failed %s type: %s", i, l.message), le(null));
343
344
  }
344
345
  }
345
346
  }
@@ -365,7 +366,7 @@ function St() {
365
366
  }
366
367
  function Te(e) {
367
368
  if (et(e))
368
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), Ce(e);
369
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), Ce(e);
369
370
  }
370
371
  var Se = A.ReactCurrentOwner, tt = {
371
372
  key: !0,
@@ -395,7 +396,7 @@ function St() {
395
396
  function ot(e, r) {
396
397
  {
397
398
  var i = function() {
398
- Pe || (Pe = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
399
+ Pe || (Pe = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
399
400
  };
400
401
  i.isReactWarning = !0, Object.defineProperty(e, "key", {
401
402
  get: i,
@@ -406,7 +407,7 @@ function St() {
406
407
  function st(e, r) {
407
408
  {
408
409
  var i = function() {
409
- ke || (ke = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
410
+ ke || (ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
410
411
  };
411
412
  i.isReactWarning = !0, Object.defineProperty(e, "ref", {
412
413
  get: i,
@@ -445,24 +446,24 @@ function St() {
445
446
  };
446
447
  function at(e, r, i, o, p) {
447
448
  {
448
- var y, a = {}, l = null, w = null;
449
- i !== void 0 && (Te(i), l = "" + i), nt(r) && (Te(r.key), l = "" + r.key), rt(r) && (w = r.ref, it(r, p));
449
+ var y, a = {}, l = null, E = null;
450
+ i !== void 0 && (Te(i), l = "" + i), nt(r) && (Te(r.key), l = "" + r.key), rt(r) && (E = r.ref, it(r, p));
450
451
  for (y in r)
451
452
  G.call(r, y) && !tt.hasOwnProperty(y) && (a[y] = r[y]);
452
453
  if (e && e.defaultProps) {
453
- var _ = e.defaultProps;
454
- for (y in _)
455
- a[y] === void 0 && (a[y] = _[y]);
454
+ var x = e.defaultProps;
455
+ for (y in x)
456
+ a[y] === void 0 && (a[y] = x[y]);
456
457
  }
457
- if (l || w) {
458
- var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
459
- l && ot(a, x), w && st(a, x);
458
+ if (l || E) {
459
+ var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
+ l && ot(a, b), E && st(a, b);
460
461
  }
461
- return lt(e, l, w, p, o, Se.current, a);
462
+ return lt(e, l, E, p, o, Se.current, a);
462
463
  }
463
464
  }
464
465
  var ye = A.ReactCurrentOwner, Oe = A.ReactDebugCurrentFrame;
465
- function M(e) {
466
+ function U(e) {
466
467
  if (e) {
467
468
  var r = e._owner, i = se(e.type, e._source, r ? r.type : null);
468
469
  Oe.setExtraStackFrame(i);
@@ -471,7 +472,7 @@ function St() {
471
472
  }
472
473
  var de;
473
474
  de = !1;
474
- function _e(e) {
475
+ function xe(e) {
475
476
  return typeof e == "object" && e !== null && e.$$typeof === v;
476
477
  }
477
478
  function Ie() {
@@ -512,25 +513,25 @@ Check the top-level render call using <` + i + ">.");
512
513
  return;
513
514
  Ae[i] = !0;
514
515
  var o = "";
515
- e && e._owner && e._owner !== ye.current && (o = " It was passed a child from " + I(e._owner.type) + "."), M(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, o), M(null);
516
+ e && e._owner && e._owner !== ye.current && (o = " It was passed a child from " + I(e._owner.type) + "."), U(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, o), U(null);
516
517
  }
517
518
  }
518
- function qe(e, r) {
519
+ function Ne(e, r) {
519
520
  {
520
521
  if (typeof e != "object")
521
522
  return;
522
523
  if (me(e))
523
524
  for (var i = 0; i < e.length; i++) {
524
525
  var o = e[i];
525
- _e(o) && Fe(o, r);
526
+ xe(o) && Fe(o, r);
526
527
  }
527
- else if (_e(e))
528
+ else if (xe(e))
528
529
  e._store && (e._store.validated = !0);
529
530
  else if (e) {
530
531
  var p = ce(e);
531
532
  if (typeof p == "function" && p !== e.entries)
532
533
  for (var y = p.call(e), a; !(a = y.next()).done; )
533
- _e(a.value) && Fe(a.value, r);
534
+ xe(a.value) && Fe(a.value, r);
534
535
  }
535
536
  }
536
537
  }
@@ -554,9 +555,9 @@ Check the top-level render call using <` + i + ">.");
554
555
  } else if (r.PropTypes !== void 0 && !de) {
555
556
  de = !0;
556
557
  var p = I(r);
557
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
558
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
558
559
  }
559
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
561
  }
561
562
  }
562
563
  function pt(e) {
@@ -564,93 +565,93 @@ Check the top-level render call using <` + i + ">.");
564
565
  for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
565
566
  var o = r[i];
566
567
  if (o !== "children" && o !== "key") {
567
- M(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), M(null);
568
+ U(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), U(null);
568
569
  break;
569
570
  }
570
571
  }
571
- e.ref !== null && (M(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
572
+ e.ref !== null && (U(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
572
573
  }
573
574
  }
574
- var Ne = {};
575
- function De(e, r, i, o, p, y) {
575
+ var De = {};
576
+ function Le(e, r, i, o, p, y) {
576
577
  {
577
- var a = $(e);
578
+ var a = B(e);
578
579
  if (!a) {
579
580
  var l = "";
580
581
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
581
- var w = ct();
582
- w ? l += w : l += Ie();
583
- var _;
584
- e === null ? _ = "null" : me(e) ? _ = "array" : e !== void 0 && e.$$typeof === v ? (_ = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, l);
582
+ var E = ct();
583
+ E ? l += E : l += Ie();
584
+ var x;
585
+ e === null ? x = "null" : me(e) ? x = "array" : e !== void 0 && e.$$typeof === v ? (x = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, l);
585
586
  }
586
- var x = at(e, r, i, p, y);
587
- if (x == null)
588
- return x;
587
+ var b = at(e, r, i, p, y);
588
+ if (b == null)
589
+ return b;
589
590
  if (a) {
590
591
  var k = r.children;
591
592
  if (k !== void 0)
592
593
  if (o)
593
594
  if (me(k)) {
594
- for (var U = 0; U < k.length; U++)
595
- qe(k[U], e);
595
+ for (var V = 0; V < k.length; V++)
596
+ Ne(k[V], e);
596
597
  Object.freeze && Object.freeze(k);
597
598
  } else
598
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
600
  else
600
- qe(k, e);
601
+ Ne(k, e);
601
602
  }
602
603
  if (G.call(r, "key")) {
603
- var L = I(e), T = Object.keys(r).filter(function(dt) {
604
+ var W = I(e), T = Object.keys(r).filter(function(dt) {
604
605
  return dt !== "key";
605
- }), be = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
606
- if (!Ne[L + be]) {
606
+ }), _e = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!De[W + _e]) {
607
608
  var yt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
608
- E(`A props object containing a "key" prop is being spread into JSX:
609
+ j(`A props object containing a "key" prop is being spread into JSX:
609
610
  let props = %s;
610
611
  <%s {...props} />
611
612
  React keys must be passed directly to JSX without using spread:
612
613
  let props = %s;
613
- <%s key={someKey} {...props} />`, be, L, yt, L), Ne[L + be] = !0;
614
+ <%s key={someKey} {...props} />`, _e, W, yt, W), De[W + _e] = !0;
614
615
  }
615
616
  }
616
- return e === c ? pt(x) : ft(x), x;
617
+ return e === c ? pt(b) : ft(b), b;
617
618
  }
618
619
  }
619
620
  function ht(e, r, i) {
620
- return De(e, r, i, !0);
621
+ return Le(e, r, i, !0);
621
622
  }
622
623
  function vt(e, r, i) {
623
- return De(e, r, i, !1);
624
+ return Le(e, r, i, !1);
624
625
  }
625
626
  var gt = vt, mt = ht;
626
627
  Z.Fragment = c, Z.jsx = gt, Z.jsxs = mt;
627
628
  }()), Z;
628
629
  }
629
- process.env.NODE_ENV === "production" ? xe.exports = Tt() : xe.exports = St();
630
- var n = xe.exports;
631
- const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqftp_31", It = "_pcBreadcrumbSep_qqftp_38", At = "_pcBasic_qqftp_43", Ft = "_pcBasicRow_qqftp_50", qt = "_pcBasicRowLeft_qqftp_57", Nt = "_pcLinkIconRight_qqftp_62", Dt = "_pcColorSwatch_qqftp_73", Lt = "_pcTitleText_qqftp_100", Wt = "_pcSubTitleText_qqftp_107", $t = "_pcProperties_qqftp_120", Bt = "_pcProperty_qqftp_128", Mt = "_pcTagsRow_qqftp_139", Ut = "_pcDetails_qqftp_152", Vt = "_pcRow_qqftp_158", Yt = "_pcCol_qqftp_73", zt = "_pcColLabel_qqftp_180", Jt = "_pcColValue_qqftp_184", Ht = "_pcProgressText_qqftp_189", Kt = "_entityLabel_qqftp_195", h = {
630
+ process.env.NODE_ENV === "production" ? be.exports = Tt() : be.exports = St();
631
+ var n = be.exports;
632
+ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xtgw_31", It = "_pcBreadcrumbSep_1xtgw_38", At = "_pcBasic_1xtgw_43", Ft = "_pcBasicRow_1xtgw_49", Nt = "_pcBasicRowLeft_1xtgw_56", Dt = "_pcLinkIconRight_1xtgw_61", Lt = "_pcColorSwatch_1xtgw_72", Wt = "_pcTitleText_1xtgw_99", $t = "_pcSubTitleText_1xtgw_106", Bt = "_pcProperties_1xtgw_119", Mt = "_pcProperty_1xtgw_127", Ut = "_pcTagsRow_1xtgw_138", Vt = "_pcDetails_1xtgw_151", Yt = "_pcRow_1xtgw_157", zt = "_pcCol_1xtgw_72", Jt = "_pcColLabel_1xtgw_179", qt = "_pcColValue_1xtgw_183", Ht = "_pcProgressText_1xtgw_188", Kt = "_entityLabel_1xtgw_194", h = {
632
633
  entityCard: Pt,
633
634
  pcCover: kt,
634
635
  pcSection: Ot,
635
636
  pcBreadcrumbSep: It,
636
637
  pcBasic: At,
637
638
  pcBasicRow: Ft,
638
- pcBasicRowLeft: qt,
639
- pcLinkIconRight: Nt,
640
- pcColorSwatch: Dt,
641
- pcTitleText: Lt,
642
- pcSubTitleText: Wt,
643
- pcProperties: $t,
644
- pcProperty: Bt,
645
- pcTagsRow: Mt,
646
- pcDetails: Ut,
647
- pcRow: Vt,
648
- pcCol: Yt,
649
- pcColLabel: zt,
650
- pcColValue: Jt,
639
+ pcBasicRowLeft: Nt,
640
+ pcLinkIconRight: Dt,
641
+ pcColorSwatch: Lt,
642
+ pcTitleText: Wt,
643
+ pcSubTitleText: $t,
644
+ pcProperties: Bt,
645
+ pcProperty: Mt,
646
+ pcTagsRow: Ut,
647
+ pcDetails: Vt,
648
+ pcRow: Yt,
649
+ pcCol: zt,
650
+ pcColLabel: Jt,
651
+ pcColValue: qt,
651
652
  pcProgressText: Ht,
652
653
  entityLabel: Kt
653
- }, Me = (t) => {
654
+ }, Ue = (t) => {
654
655
  if (!t) return null;
655
656
  const v = t.trim(), s = {
656
657
  user: "User",
@@ -662,12 +663,12 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
662
663
  time: "Clock",
663
664
  tags: "Tag"
664
665
  }[v] ?? v.replace(/(^\w|-\w)/g, (m) => m.replace("-", "").toUpperCase());
665
- return ze[s] || null;
666
+ return Je[s] || null;
666
667
  }, Gt = (t, v) => {
667
668
  const f = typeof t == "number" ? t : typeof t == "string" ? parseFloat(t) : NaN, c = isFinite(f) ? f <= 1 ? Math.max(0, Math.min(1, f)) * 100 : Math.max(0, Math.min(100, f)) : 0;
668
669
  return /* @__PURE__ */ n.jsxs("div", { className: h.pcProgress, children: [
669
670
  /* @__PURE__ */ n.jsx(
670
- xt,
671
+ bt,
671
672
  {
672
673
  percent: c,
673
674
  showInfo: !1,
@@ -677,8 +678,8 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
677
678
  ),
678
679
  (v == null ? void 0 : v.text) && /* @__PURE__ */ n.jsx("div", { className: h.pcProgressText, children: v.text })
679
680
  ] });
680
- }, Je = (t) => !Array.isArray(t) || t.length === 0 ? null : /* @__PURE__ */ n.jsx("div", { className: h.pcTagsRow, children: t.map((v, f) => /* @__PURE__ */ n.jsx(
681
- Ye,
681
+ }, qe = (t) => !Array.isArray(t) || t.length === 0 ? null : /* @__PURE__ */ n.jsx("div", { className: h.pcTagsRow, children: t.map((v, f) => /* @__PURE__ */ n.jsx(
682
+ ze,
682
683
  {
683
684
  color: "default",
684
685
  style: {
@@ -693,7 +694,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
693
694
  `${v}-${f}`
694
695
  )) }), Xt = (t) => {
695
696
  const { view: v, value: f, payload: c } = t;
696
- return v === "percent_bar" ? Gt(f, c) : v === "tags" ? Je(Array.isArray(f) ? f : []) : /* @__PURE__ */ n.jsx("div", { className: h.pcColValue, children: String(f ?? "") });
697
+ return v === "percent_bar" ? Gt(f, c) : v === "tags" ? qe(Array.isArray(f) ? f : []) : /* @__PURE__ */ n.jsx("div", { className: h.pcColValue, children: String(f ?? "") });
697
698
  }, He = ({
698
699
  data: t
699
700
  }) => {
@@ -708,7 +709,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
708
709
  }
709
710
  ),
710
711
  Array.isArray(t == null ? void 0 : t.categories) && t.categories.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx(
711
- bt,
712
+ _t,
712
713
  {
713
714
  items: t.categories.map((s, g) => ({
714
715
  key: `${s}-${g}`,
@@ -743,7 +744,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
743
744
  style: { objectFit: "contain" }
744
745
  }
745
746
  );
746
- const g = Me(s);
747
+ const g = Ue(s);
747
748
  return g ? /* @__PURE__ */ n.jsx(g, { className: h.pcIcon, size: 18, strokeWidth: 2 }) : null;
748
749
  })(),
749
750
  (t == null ? void 0 : t.title) && /* @__PURE__ */ n.jsx("span", { className: h.pcTitleText, title: t.title, children: t.title }),
@@ -762,7 +763,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
762
763
  title: t.url,
763
764
  className: h.pcLinkIconRight,
764
765
  children: /* @__PURE__ */ n.jsx(
765
- wt,
766
+ Et,
766
767
  {
767
768
  style: { width: 12, height: 12, color: "#027FFE" }
768
769
  }
@@ -770,10 +771,10 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
770
771
  }
771
772
  )
772
773
  ] }) }),
773
- Array.isArray(t == null ? void 0 : t.properties) && t.properties.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx("div", { className: h.pcProperties, children: t.properties.map((s, g) => {
774
- const m = Me(s.icon), R = () => {
774
+ Array.isArray(t == null ? void 0 : t.properties) && t.properties.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, style: { paddingTop: 25 }, children: /* @__PURE__ */ n.jsx("div", { className: h.pcProperties, children: t.properties.map((s, g) => {
775
+ const m = Ue(s.icon), w = () => {
775
776
  if (s.view === "tags")
776
- return Je(Array.isArray(s.value) ? s.value : []);
777
+ return qe(Array.isArray(s.value) ? s.value : []);
777
778
  if (s.view === "datetime_with_time_zone") {
778
779
  const u = String(s.value ?? "");
779
780
  return /* @__PURE__ */ n.jsx("span", { className: h.pcPropertyValue, children: u });
@@ -789,30 +790,30 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
789
790
  strokeWidth: 2
790
791
  }
791
792
  ),
792
- R()
793
+ w()
793
794
  ] }, g);
794
795
  }) }) }),
795
796
  Array.isArray((c = (f = t == null ? void 0 : t.details) == null ? void 0 : f.table) == null ? void 0 : c.rows) && t.details.table.rows.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx("div", { className: h.pcDetails, children: t.details.table.rows.map((s, g) => {
796
797
  const m = Array.isArray(s.columns) ? s.columns.filter(
797
798
  (u) => u && (u.label !== void 0 || u.value !== void 0)
798
- ) : [], R = m.length;
799
+ ) : [], w = m.length;
799
800
  return /* @__PURE__ */ n.jsx(
800
801
  "div",
801
802
  {
802
803
  className: h.pcRow,
803
804
  style: {
804
- gridTemplateColumns: R <= 1 ? "1fr" : "repeat(2, minmax(0, 1fr))"
805
+ gridTemplateColumns: w <= 1 ? "1fr" : "repeat(2, minmax(0, 1fr))"
805
806
  },
806
- children: m.map((u, j) => /* @__PURE__ */ n.jsxs("div", { className: h.pcCol, children: [
807
+ children: m.map((u, R) => /* @__PURE__ */ n.jsxs("div", { className: h.pcCol, children: [
807
808
  Xt(u),
808
809
  u.label && /* @__PURE__ */ n.jsx("div", { className: h.pcColLabel, children: u.label })
809
- ] }, j))
810
+ ] }, R))
810
811
  },
811
812
  g
812
813
  );
813
814
  }) }) }),
814
815
  Array.isArray(t == null ? void 0 : t.tags) && t.tags.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: t.tags.map((s, g) => /* @__PURE__ */ n.jsx(
815
- Ye,
816
+ ze,
816
817
  {
817
818
  style: {
818
819
  display: "inline-flex",
@@ -836,48 +837,48 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
836
837
  actions: s = [],
837
838
  footer: g,
838
839
  triggerType: m = "hover",
839
- popupMode: R = "modal",
840
+ popupMode: w = "modal",
840
841
  trigger: u,
841
- open: j,
842
- onOpenChange: b,
842
+ open: R,
843
+ onOpenChange: _,
843
844
  modalTitle: S,
844
845
  width: C,
845
846
  placement: O = "right",
846
- data: W,
847
+ data: $,
847
848
  hoverOpenDelay: ae = 500,
848
849
  closeDelay: ce = 200,
849
850
  autoPlacement: A = !1,
850
- hoverAutoClose: E = !1,
851
- hoverAutoCloseDelay: Re = 2e3
851
+ hoverAutoClose: j = !1,
852
+ hoverAutoCloseDelay: we = 2e3
852
853
  }) => {
853
- var V, Y, z, J;
854
- const [ue, fe] = Le(!1), Q = typeof j == "boolean", pe = Q ? j : ue, he = (P) => {
855
- Q ? b == null || b(P) : fe(P);
856
- }, d = W, $ = _t(null), [ve, ee] = Le(O), I = () => {
857
- if (!$.current) return;
858
- const P = $.current.getBoundingClientRect(), re = window.innerWidth, ne = window.innerHeight, ie = (() => {
854
+ var Y, z, J, q;
855
+ const [ue, fe] = We(!1), Q = typeof R == "boolean", pe = Q ? R : ue, he = (P) => {
856
+ Q ? _ == null || _(P) : fe(P);
857
+ }, d = $, B = xt(null), [ve, ee] = We(O), I = () => {
858
+ if (!B.current) return;
859
+ const P = B.current.getBoundingClientRect(), re = window.innerWidth, ne = window.innerHeight, ie = (() => {
859
860
  var oe;
860
- const N = (typeof C == "number" ? C : void 0) ?? ((oe = d == null ? void 0 : d.style) == null ? void 0 : oe.width);
861
- return N ? typeof N == "string" ? parseInt(N, 10) || 376 : N : 376;
862
- })(), ge = 300, H = re - P.right, K = P.left, B = ne - P.bottom;
861
+ const D = (typeof C == "number" ? C : void 0) ?? ((oe = d == null ? void 0 : d.style) == null ? void 0 : oe.width);
862
+ return D ? typeof D == "string" ? parseInt(D, 10) || 376 : D : 376;
863
+ })(), ge = 300, H = re - P.right, K = P.left, M = ne - P.bottom;
863
864
  P.top;
864
- let q = O;
865
- H >= ie ? q = "right" : K >= ie ? q = "left" : B >= ge ? q = "bottom" : q = "top", ee(q);
866
- }, F = /* @__PURE__ */ n.jsx(Rt, { type: "default", children: `打开:${(d == null ? void 0 : d.title) ?? t ?? "详情"}` }), D = /* @__PURE__ */ n.jsx("span", { ref: $, style: { display: "inline-block" }, children: u ?? F }), te = /* @__PURE__ */ n.jsx(
867
- jt,
865
+ let N = O;
866
+ H >= ie ? N = "right" : K >= ie ? N = "left" : M >= ge ? N = "bottom" : N = "top", ee(N);
867
+ }, F = /* @__PURE__ */ n.jsx(wt, { type: "default", children: `打开:${(d == null ? void 0 : d.title) ?? t ?? "详情"}` }), L = /* @__PURE__ */ n.jsx("span", { ref: B, style: { display: "inline-block" }, children: u ?? F }), te = /* @__PURE__ */ n.jsx(
868
+ Rt,
868
869
  {
869
870
  content: /* @__PURE__ */ n.jsx(
870
871
  "div",
871
872
  {
872
873
  className: h.entityCard,
873
874
  style: {
874
- width: (V = d == null ? void 0 : d.style) == null ? void 0 : V.width,
875
- height: (Y = d == null ? void 0 : d.style) == null ? void 0 : Y.height,
876
- maxWidth: (z = d == null ? void 0 : d.style) == null ? void 0 : z.max_width,
877
- maxHeight: (J = d == null ? void 0 : d.style) == null ? void 0 : J.max_height
875
+ width: (Y = d == null ? void 0 : d.style) == null ? void 0 : Y.width,
876
+ height: (z = d == null ? void 0 : d.style) == null ? void 0 : z.height,
877
+ maxWidth: (J = d == null ? void 0 : d.style) == null ? void 0 : J.max_width,
878
+ maxHeight: (q = d == null ? void 0 : d.style) == null ? void 0 : q.max_height
878
879
  },
879
880
  children: d != null && d.id ? /* @__PURE__ */ n.jsx(He, { data: d }) : /* @__PURE__ */ n.jsx(
880
- Et,
881
+ jt,
881
882
  {
882
883
  active: !0,
883
884
  title: !1,
@@ -896,9 +897,9 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
896
897
  mouseEnterDelay: m === "hover" ? ae / 1e3 : 0,
897
898
  mouseLeaveDelay: m === "hover" ? ce / 1e3 : 0,
898
899
  autoAdjustOverflow: !0,
899
- getPopupContainer: () => $.current || document.body,
900
+ getPopupContainer: () => B.current || document.body,
900
901
  overlayInnerStyle: { padding: 0 },
901
- children: D
902
+ children: L
902
903
  }
903
904
  );
904
905
  return /* @__PURE__ */ n.jsx(n.Fragment, { children: te });
@@ -913,7 +914,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
913
914
  time: "Clock",
914
915
  tags: "Tag"
915
916
  }[v] ?? v.replace(/(^\w|-\w)/g, (g) => g.replace("-", "").toUpperCase());
916
- return ze[c] || null;
917
+ return Je[c] || null;
917
918
  }, Qt = (t) => {
918
919
  if (t) {
919
920
  if (/^mailto:/i.test(t))
@@ -924,7 +925,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
924
925
  }
925
926
  return t;
926
927
  }
927
- }, Ue = () => /* @__PURE__ */ n.jsxs(
928
+ }, Ve = () => /* @__PURE__ */ n.jsxs(
928
929
  "span",
929
930
  {
930
931
  style: {
@@ -962,32 +963,32 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
962
963
  ]
963
964
  }
964
965
  ), er = ({ data: t }) => {
965
- var b, S;
966
- if (!t || !t.title && !t.icon && !t.subtitle && !t.color && !t.url) return /* @__PURE__ */ n.jsx(Ue, {});
967
- const f = (b = t == null ? void 0 : t.icon) == null ? void 0 : b.trim(), c = (S = t == null ? void 0 : t.title) == null ? void 0 : S.trim(), s = Qt(t == null ? void 0 : t.url), g = !!f, m = !!c, R = !!s, u = !!(t != null && t.color) || !!(t != null && t.subtitle), j = (C = 20) => {
966
+ var _, S;
967
+ if (!t || !t.title && !t.icon && !t.subtitle && !t.color && !t.url) return /* @__PURE__ */ n.jsx(Ve, {});
968
+ const f = (_ = t == null ? void 0 : t.icon) == null ? void 0 : _.trim(), c = (S = t == null ? void 0 : t.title) == null ? void 0 : S.trim(), s = Qt(t == null ? void 0 : t.url), g = !!f, m = !!c, w = !!s, u = !!(t != null && t.color) || !!(t != null && t.subtitle), R = (C = 20) => {
968
969
  if (f && /^https?:\/\//i.test(f))
969
- return /* @__PURE__ */ n.jsx(We, { size: C, src: f });
970
- const O = Zt(f || "user"), W = Math.max(8, C - 4);
971
- return /* @__PURE__ */ n.jsx(We, { size: C, icon: O ? /* @__PURE__ */ n.jsx(O, { size: W }) : void 0 });
970
+ return /* @__PURE__ */ n.jsx($e, { size: C, src: f });
971
+ const O = Zt(f || "user"), $ = Math.max(8, C - 4);
972
+ return /* @__PURE__ */ n.jsx($e, { size: C, icon: O ? /* @__PURE__ */ n.jsx(O, { size: $ }) : void 0 });
972
973
  };
973
- return g && m && !R && !u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
974
- j(),
974
+ return g && m && !w && !u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
975
+ R(),
975
976
  /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500, lineHeight: "20px" }, title: c, children: c })
976
- ] }) : g && !m && !R && !u ? /* @__PURE__ */ n.jsx("span", { style: { display: "inline-flex" }, children: j() }) : !g && m && !R && !u ? /* @__PURE__ */ n.jsx(
977
+ ] }) : g && !m && !w && !u ? /* @__PURE__ */ n.jsx("span", { style: { display: "inline-flex" }, children: R() }) : !g && m && !w && !u ? /* @__PURE__ */ n.jsx(
977
978
  "span",
978
979
  {
979
980
  style: { display: "inline-block", color: "#027FFE", fontWeight: 500 },
980
981
  title: c,
981
982
  children: c
982
983
  }
983
- ) : g && m && R ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
984
- j(40),
984
+ ) : g && m && w ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
985
+ R(40),
985
986
  /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", flexDirection: "column", justifyContent: "space-between" }, children: [
986
987
  /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }),
987
988
  /* @__PURE__ */ n.jsx("span", { style: { color: "#888", fontSize: 12 }, title: s, children: s })
988
989
  ] })
989
990
  ] }) : g && m && u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
990
- j(40),
991
+ R(40),
991
992
  /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", flexDirection: "column", justifyContent: "space-between" }, children: [
992
993
  /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }),
993
994
  /* @__PURE__ */ n.jsxs(
@@ -1019,7 +1020,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
1019
1020
  }
1020
1021
  )
1021
1022
  ] })
1022
- ] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(Ue, {});
1023
+ ] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(Ve, {});
1023
1024
  };
1024
1025
  function or({ data: t }) {
1025
1026
  var f, c, s, g;