meyi-insight-ui-dev 1.0.27 → 1.0.28

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/index.mjs CHANGED
@@ -21127,7 +21127,7 @@ function wl({
21127
21127
  }
21128
21128
  );
21129
21129
  }
21130
- function yt({
21130
+ function mt({
21131
21131
  column: e,
21132
21132
  title: t,
21133
21133
  className: n
@@ -21189,7 +21189,7 @@ function WS(e) {
21189
21189
  const GH = (e) => [
21190
21190
  {
21191
21191
  accessorKey: "aliasId",
21192
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "ID" }),
21192
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "ID" }),
21193
21193
  cell: ({ row: t }) => {
21194
21194
  const n = t.original.aliasId || t.original.alias_id;
21195
21195
  return /* @__PURE__ */ i.jsx(qt, { variant: "outline", className: "text-[10px] font-medium", children: n ? `INC-${String(n).padStart(3, "0")}` : "-" });
@@ -21197,22 +21197,22 @@ const GH = (e) => [
21197
21197
  },
21198
21198
  {
21199
21199
  accessorKey: "name",
21200
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Name" }),
21200
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Name" }),
21201
21201
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "max-w-[200px] truncate font-medium text-sm", children: t.getValue("name") })
21202
21202
  },
21203
21203
  {
21204
21204
  accessorKey: "source",
21205
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Source" }),
21205
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Source" }),
21206
21206
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx(qt, { variant: "outline", className: "text-[10px] font-medium uppercase", children: t.getValue("source") })
21207
21207
  },
21208
21208
  {
21209
21209
  accessorKey: "resourceName",
21210
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Resource" }),
21210
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Resource" }),
21211
21211
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "truncate text-sm", children: t.original.resourceName || "—" })
21212
21212
  },
21213
21213
  {
21214
21214
  accessorKey: "accountId",
21215
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Account" }),
21215
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Account" }),
21216
21216
  cell: ({ row: t }) => {
21217
21217
  const n = t.getValue("accountId");
21218
21218
  return /* @__PURE__ */ i.jsx("div", { className: "truncate text-sm", children: n || "—" });
@@ -21220,7 +21220,7 @@ const GH = (e) => [
21220
21220
  },
21221
21221
  {
21222
21222
  accessorKey: "projectTag",
21223
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Project Tag" }),
21223
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Project Tag" }),
21224
21224
  cell: ({ row: t }) => {
21225
21225
  const n = t.getValue("projectTag");
21226
21226
  return n ? /* @__PURE__ */ i.jsx(qt, { variant: "secondary", children: n }) : /* @__PURE__ */ i.jsx("span", { className: "text-muted-foreground text-xs", children: "—" });
@@ -21228,7 +21228,7 @@ const GH = (e) => [
21228
21228
  },
21229
21229
  {
21230
21230
  id: "assignee",
21231
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Assigned" }),
21231
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Assigned" }),
21232
21232
  cell: ({ row: t }) => {
21233
21233
  const n = t.original;
21234
21234
  return /* @__PURE__ */ i.jsx("div", { className: "p-1 -m-1 rounded-md", children: /* @__PURE__ */ i.jsx(R_, { assigneeIds: n.assigneeIds, className: "text-xs" }) });
@@ -21236,17 +21236,17 @@ const GH = (e) => [
21236
21236
  },
21237
21237
  {
21238
21238
  accessorKey: "status",
21239
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Status" }),
21239
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Status" }),
21240
21240
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx(Vm, { status: t.original.status || "open" })
21241
21241
  },
21242
21242
  {
21243
21243
  accessorKey: "createdAt",
21244
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Created At" }),
21244
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Created At" }),
21245
21245
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "text-sm text-muted-foreground whitespace-nowrap tabular-nums", children: WS(t.getValue("createdAt")) })
21246
21246
  },
21247
21247
  {
21248
21248
  accessorKey: "analysisCompletedAt",
21249
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Completed At" }),
21249
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Completed At" }),
21250
21250
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "text-sm text-muted-foreground whitespace-nowrap tabular-nums", children: WS(t.getValue("analysisCompletedAt") || t.original.resolvedAt) })
21251
21251
  },
21252
21252
  {
@@ -24480,10 +24480,10 @@ const mV = [
24480
24480
  "removeListener"
24481
24481
  // used by the Node.js EventEmitter
24482
24482
  ];
24483
- var bt;
24483
+ var yt;
24484
24484
  (function(e) {
24485
24485
  e[e.CONNECT = 0] = "CONNECT", e[e.DISCONNECT = 1] = "DISCONNECT", e[e.EVENT = 2] = "EVENT", e[e.ACK = 3] = "ACK", e[e.CONNECT_ERROR = 4] = "CONNECT_ERROR", e[e.BINARY_EVENT = 5] = "BINARY_EVENT", e[e.BINARY_ACK = 6] = "BINARY_ACK";
24486
- })(bt || (bt = {}));
24486
+ })(yt || (yt = {}));
24487
24487
  class hV {
24488
24488
  /**
24489
24489
  * Encoder constructor
@@ -24500,8 +24500,8 @@ class hV {
24500
24500
  * @param {Object} obj - packet object
24501
24501
  */
24502
24502
  encode(t) {
24503
- return (t.type === bt.EVENT || t.type === bt.ACK) && Qc(t) ? this.encodeAsBinary({
24504
- type: t.type === bt.EVENT ? bt.BINARY_EVENT : bt.BINARY_ACK,
24503
+ return (t.type === yt.EVENT || t.type === yt.ACK) && Qc(t) ? this.encodeAsBinary({
24504
+ type: t.type === yt.EVENT ? yt.BINARY_EVENT : yt.BINARY_ACK,
24505
24505
  nsp: t.nsp,
24506
24506
  data: t.data,
24507
24507
  id: t.id
@@ -24512,7 +24512,7 @@ class hV {
24512
24512
  */
24513
24513
  encodeAsString(t) {
24514
24514
  let n = "" + t.type;
24515
- return (t.type === bt.BINARY_EVENT || t.type === bt.BINARY_ACK) && (n += t.attachments + "-"), t.nsp && t.nsp !== "/" && (n += t.nsp + ","), t.id != null && (n += t.id), t.data != null && (n += JSON.stringify(t.data, this.replacer)), n;
24515
+ return (t.type === yt.BINARY_EVENT || t.type === yt.BINARY_ACK) && (n += t.attachments + "-"), t.nsp && t.nsp !== "/" && (n += t.nsp + ","), t.id != null && (n += t.id), t.data != null && (n += JSON.stringify(t.data, this.replacer)), n;
24516
24516
  }
24517
24517
  /**
24518
24518
  * Encode packet as 'buffer sequence' by removing blobs, and
@@ -24545,8 +24545,8 @@ class ab extends Yt {
24545
24545
  if (this.reconstructor)
24546
24546
  throw new Error("got plaintext data when reconstructing a packet");
24547
24547
  n = this.decodeString(t);
24548
- const r = n.type === bt.BINARY_EVENT;
24549
- r || n.type === bt.BINARY_ACK ? (n.type = r ? bt.EVENT : bt.ACK, this.reconstructor = new gV(n), n.attachments === 0 && super.emitReserved("decoded", n)) : super.emitReserved("decoded", n);
24548
+ const r = n.type === yt.BINARY_EVENT;
24549
+ r || n.type === yt.BINARY_ACK ? (n.type = r ? yt.EVENT : yt.ACK, this.reconstructor = new gV(n), n.attachments === 0 && super.emitReserved("decoded", n)) : super.emitReserved("decoded", n);
24550
24550
  } else if (rb(t) || t.base64)
24551
24551
  if (this.reconstructor)
24552
24552
  n = this.reconstructor.takeBinaryData(t), n && (this.reconstructor = null, super.emitReserved("decoded", n));
@@ -24566,9 +24566,9 @@ class ab extends Yt {
24566
24566
  const r = {
24567
24567
  type: Number(t.charAt(0))
24568
24568
  };
24569
- if (bt[r.type] === void 0)
24569
+ if (yt[r.type] === void 0)
24570
24570
  throw new Error("unknown packet type " + r.type);
24571
- if (r.type === bt.BINARY_EVENT || r.type === bt.BINARY_ACK) {
24571
+ if (r.type === yt.BINARY_EVENT || r.type === yt.BINARY_ACK) {
24572
24572
  const s = n + 1;
24573
24573
  for (; t.charAt(++n) !== "-" && n != t.length; )
24574
24574
  ;
@@ -24621,17 +24621,17 @@ class ab extends Yt {
24621
24621
  }
24622
24622
  static isPayloadValid(t, n) {
24623
24623
  switch (t) {
24624
- case bt.CONNECT:
24624
+ case yt.CONNECT:
24625
24625
  return iw(n);
24626
- case bt.DISCONNECT:
24626
+ case yt.DISCONNECT:
24627
24627
  return n === void 0;
24628
- case bt.CONNECT_ERROR:
24628
+ case yt.CONNECT_ERROR:
24629
24629
  return typeof n == "string" || iw(n);
24630
- case bt.EVENT:
24631
- case bt.BINARY_EVENT:
24630
+ case yt.EVENT:
24631
+ case yt.BINARY_EVENT:
24632
24632
  return Array.isArray(n) && (typeof n[0] == "number" || typeof n[0] == "string" && mV.indexOf(n[0]) === -1);
24633
- case bt.ACK:
24634
- case bt.BINARY_ACK:
24633
+ case yt.ACK:
24634
+ case yt.BINARY_ACK:
24635
24635
  return Array.isArray(n);
24636
24636
  }
24637
24637
  }
@@ -24679,7 +24679,7 @@ const yV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24679
24679
  Decoder: ab,
24680
24680
  Encoder: hV,
24681
24681
  get PacketType() {
24682
- return bt;
24682
+ return yt;
24683
24683
  }
24684
24684
  }, Symbol.toStringTag, { value: "Module" }));
24685
24685
  function cr(e, t, n) {
@@ -24817,7 +24817,7 @@ class hI extends Yt {
24817
24817
  if (n.unshift(t), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
24818
24818
  return this._addToQueue(n), this;
24819
24819
  const o = {
24820
- type: bt.EVENT,
24820
+ type: yt.EVENT,
24821
24821
  data: n
24822
24822
  };
24823
24823
  if (o.options = {}, o.options.compress = this.flags.compress !== !1, typeof n[n.length - 1] == "function") {
@@ -24925,7 +24925,7 @@ class hI extends Yt {
24925
24925
  */
24926
24926
  _sendConnectPacket(t) {
24927
24927
  this.packet({
24928
- type: bt.CONNECT,
24928
+ type: yt.CONNECT,
24929
24929
  data: this._pid ? Object.assign({ pid: this._pid, offset: this._lastOffset }, t) : t
24930
24930
  });
24931
24931
  }
@@ -24971,21 +24971,21 @@ class hI extends Yt {
24971
24971
  onpacket(t) {
24972
24972
  if (t.nsp === this.nsp)
24973
24973
  switch (t.type) {
24974
- case bt.CONNECT:
24974
+ case yt.CONNECT:
24975
24975
  t.data && t.data.sid ? this.onconnect(t.data.sid, t.data.pid) : this.emitReserved("connect_error", new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));
24976
24976
  break;
24977
- case bt.EVENT:
24978
- case bt.BINARY_EVENT:
24977
+ case yt.EVENT:
24978
+ case yt.BINARY_EVENT:
24979
24979
  this.onevent(t);
24980
24980
  break;
24981
- case bt.ACK:
24982
- case bt.BINARY_ACK:
24981
+ case yt.ACK:
24982
+ case yt.BINARY_ACK:
24983
24983
  this.onack(t);
24984
24984
  break;
24985
- case bt.DISCONNECT:
24985
+ case yt.DISCONNECT:
24986
24986
  this.ondisconnect();
24987
24987
  break;
24988
- case bt.CONNECT_ERROR:
24988
+ case yt.CONNECT_ERROR:
24989
24989
  this.destroy();
24990
24990
  const r = new Error(t.data.message);
24991
24991
  r.data = t.data.data, this.emitReserved("connect_error", r);
@@ -25020,7 +25020,7 @@ class hI extends Yt {
25020
25020
  let r = !1;
25021
25021
  return function(...a) {
25022
25022
  r || (r = !0, n.packet({
25023
- type: bt.ACK,
25023
+ type: yt.ACK,
25024
25024
  id: t,
25025
25025
  data: a
25026
25026
  }));
@@ -25089,7 +25089,7 @@ class hI extends Yt {
25089
25089
  * @return self
25090
25090
  */
25091
25091
  disconnect() {
25092
- return this.connected && this.packet({ type: bt.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
25092
+ return this.connected && this.packet({ type: yt.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
25093
25093
  }
25094
25094
  /**
25095
25095
  * Alias for {@link disconnect()}.
@@ -29525,7 +29525,7 @@ function mW(e) {
29525
29525
  const bw = [
29526
29526
  {
29527
29527
  accessorKey: "createdAt",
29528
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Created Date" }),
29528
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Created Date" }),
29529
29529
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: "font-mono text-xs whitespace-nowrap", children: new Date(e.original.createdAt).toLocaleString("en-US", {
29530
29530
  month: "short",
29531
29531
  day: "numeric",
@@ -29537,17 +29537,17 @@ const bw = [
29537
29537
  },
29538
29538
  {
29539
29539
  accessorKey: "alertName",
29540
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Alarm name" }),
29540
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Alarm name" }),
29541
29541
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("strong", { className: "text-sm", children: e.original.alertName })
29542
29542
  },
29543
29543
  {
29544
29544
  accessorKey: "severity",
29545
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Severity" }),
29545
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Severity" }),
29546
29546
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: `im-severity-pill ${mW(e.original.severity)}`, children: e.original.severity })
29547
29547
  },
29548
29548
  {
29549
29549
  accessorKey: "status",
29550
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "State" }),
29550
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "State" }),
29551
29551
  cell: ({ row: e }) => {
29552
29552
  const t = (e.original.status || "firing").toLowerCase(), n = ["open", "firing", "active"].includes(t), r = t === "suppressed", a = t === "converted", s = t === "resolved" || t === "closed";
29553
29553
  let o = "Firing", l = "im-state-firing";
@@ -29557,13 +29557,37 @@ const bw = [
29557
29557
  {
29558
29558
  id: "resource",
29559
29559
  accessorFn: (e) => e.resourceName || e.resourceId || "",
29560
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Resource" }),
29560
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Resource" }),
29561
29561
  cell: ({ row: e }) => /* @__PURE__ */ i.jsxs("span", { className: "font-mono text-sm", children: [
29562
29562
  e.original.resourceName || e.original.resourceId,
29563
29563
  " · ",
29564
29564
  e.original.resourceType
29565
29565
  ] })
29566
29566
  },
29567
+ {
29568
+ accessorKey: "accountId",
29569
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Account ID" }),
29570
+ cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: "font-mono text-xs text-muted-foreground", children: e.original.accountId || e.original.additionalConfiguration?.accountId || "—" })
29571
+ },
29572
+ {
29573
+ id: "tags",
29574
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Tags" }),
29575
+ cell: ({ row: e }) => {
29576
+ const t = e.original, n = t.additionalConfiguration?.tags || t.tags || {}, r = Object.entries(n);
29577
+ return r.length === 0 && !t.projectTag ? /* @__PURE__ */ i.jsx("span", { className: "text-muted-foreground text-xs", children: "—" }) : /* @__PURE__ */ i.jsxs("div", { className: "flex flex-wrap gap-1 max-w-[220px]", children: [
29578
+ t.projectTag && /* @__PURE__ */ i.jsx("span", { className: "inline-flex items-center px-1.5 py-0.5 rounded text-[11px] bg-primary/10 text-primary font-medium", children: t.projectTag }),
29579
+ r.slice(0, 2).map(([a, s]) => /* @__PURE__ */ i.jsxs("span", { className: "inline-flex items-center px-1.5 py-0.5 rounded text-[11px] bg-secondary text-secondary-foreground font-mono", children: [
29580
+ a,
29581
+ ":",
29582
+ s
29583
+ ] }, a)),
29584
+ r.length > 2 && /* @__PURE__ */ i.jsxs("span", { className: "text-[10px] text-muted-foreground self-center", children: [
29585
+ "+",
29586
+ r.length - 2
29587
+ ] })
29588
+ ] });
29589
+ }
29590
+ },
29567
29591
  {
29568
29592
  id: "action",
29569
29593
  header: () => /* @__PURE__ */ i.jsx("span", { children: "Action" }),
@@ -29692,22 +29716,22 @@ function yW({
29692
29716
  const yw = [
29693
29717
  {
29694
29718
  accessorKey: "timestamp",
29695
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Timestamp" }),
29719
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Timestamp" }),
29696
29720
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: "font-mono text-sm", children: new Date(e.original.timestamp).toLocaleTimeString() })
29697
29721
  },
29698
29722
  {
29699
29723
  accessorKey: "httpStatus",
29700
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "HTTP" }),
29724
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "HTTP" }),
29701
29725
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: e.original.httpStatus >= 400 ? "im-danger-text font-mono" : "im-success-text font-mono", children: e.original.httpStatus })
29702
29726
  },
29703
29727
  {
29704
29728
  accessorKey: "sourceIp",
29705
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Source IP" }),
29729
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Source IP" }),
29706
29730
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: "font-mono text-sm", children: e.original.sourceIp })
29707
29731
  },
29708
29732
  {
29709
29733
  accessorKey: "payloadSize",
29710
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Payload" }),
29734
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Payload" }),
29711
29735
  cell: ({ row: e }) => /* @__PURE__ */ i.jsxs("span", { className: "font-mono text-sm", children: [
29712
29736
  (e.original.payloadSize / 1024).toFixed(1),
29713
29737
  " KB"
@@ -29715,7 +29739,7 @@ const yw = [
29715
29739
  },
29716
29740
  {
29717
29741
  accessorKey: "result",
29718
- header: ({ column: e }) => /* @__PURE__ */ i.jsx(yt, { column: e, title: "Result" }),
29742
+ header: ({ column: e }) => /* @__PURE__ */ i.jsx(mt, { column: e, title: "Result" }),
29719
29743
  cell: ({ row: e }) => /* @__PURE__ */ i.jsx("span", { className: e.original.result === "normalised" ? "im-result-good" : "im-result-warn", children: e.original.result })
29720
29744
  }
29721
29745
  ];
@@ -32514,22 +32538,30 @@ function Aw(e) {
32514
32538
  const TY = (e) => [
32515
32539
  {
32516
32540
  accessorKey: "alertName",
32517
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Name" }),
32541
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Name" }),
32518
32542
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "max-w-[300px] truncate font-medium text-sm", children: t.getValue("alertName") })
32519
32543
  },
32520
32544
  {
32521
32545
  accessorKey: "sourceName",
32522
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Source" }),
32546
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Source" }),
32523
32547
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "truncate text-muted-foreground", children: t.getValue("sourceName") || "—" })
32524
32548
  },
32525
32549
  {
32526
32550
  accessorKey: "resourceName",
32527
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Resource" }),
32551
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Resource" }),
32528
32552
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "truncate", children: t.getValue("resourceName") || "—" })
32529
32553
  },
32554
+ {
32555
+ accessorKey: "accountId",
32556
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Account ID" }),
32557
+ cell: ({ row: t }) => {
32558
+ const n = t.original.accountId || t.original.additionalConfiguration?.accountId;
32559
+ return /* @__PURE__ */ i.jsx("div", { className: "truncate font-mono text-xs text-muted-foreground", children: n || "—" });
32560
+ }
32561
+ },
32530
32562
  {
32531
32563
  id: "groupName",
32532
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Group" }),
32564
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Group" }),
32533
32565
  cell: ({ row: t }) => {
32534
32566
  const r = t.original.additionalConfiguration?.groupName;
32535
32567
  return /* @__PURE__ */ i.jsx("div", { className: "truncate text-muted-foreground", children: r || "—" });
@@ -32537,7 +32569,7 @@ const TY = (e) => [
32537
32569
  },
32538
32570
  {
32539
32571
  accessorKey: "projectTag",
32540
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Project Tag" }),
32572
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Project Tag" }),
32541
32573
  cell: ({ row: t }) => {
32542
32574
  const n = t.getValue("projectTag");
32543
32575
  return n ? /* @__PURE__ */ i.jsx("code", { className: "text-xs bg-muted px-1.5 py-0.5 rounded", children: n }) : /* @__PURE__ */ i.jsx("span", { className: "text-muted-foreground", children: "—" });
@@ -32545,7 +32577,7 @@ const TY = (e) => [
32545
32577
  },
32546
32578
  {
32547
32579
  accessorKey: "severity",
32548
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Severity" }),
32580
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Severity" }),
32549
32581
  cell: ({ row: t }) => {
32550
32582
  const n = t.getValue("severity"), a = {
32551
32583
  critical: "bg-red-500/15 text-red-500 border-red-500/30",
@@ -32558,7 +32590,7 @@ const TY = (e) => [
32558
32590
  },
32559
32591
  {
32560
32592
  id: "downTime",
32561
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Down Time" }),
32593
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Down Time" }),
32562
32594
  cell: ({ row: t }) => {
32563
32595
  const n = t.original.downTime;
32564
32596
  return /* @__PURE__ */ i.jsx("div", { className: "text-muted-foreground tabular-nums", children: Aw(n) });
@@ -32566,7 +32598,7 @@ const TY = (e) => [
32566
32598
  },
32567
32599
  {
32568
32600
  accessorKey: "createdAt",
32569
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Created At" }),
32601
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Created At" }),
32570
32602
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "text-muted-foreground tabular-nums", children: Aw(t.getValue("createdAt")) })
32571
32603
  },
32572
32604
  {
@@ -32948,7 +32980,7 @@ function GI(e) {
32948
32980
  return r < 24 ? `${r}h ago` : `${Math.floor(r / 24)}d ago`;
32949
32981
  }
32950
32982
  function DY({ alert: e }) {
32951
- const t = e.severity === "critical" ? "P1" : e.severity === "high" ? "P2" : e.severity === "medium" ? "P3" : "P4";
32983
+ const t = e.severity === "critical" ? "P1" : e.severity === "high" ? "P2" : e.severity === "medium" ? "P3" : "P4", n = e.accountId || e.additionalConfiguration?.accountId, r = e.additionalConfiguration?.tags || e.tags || {}, a = r && typeof r == "object" && Object.keys(r).length > 0;
32952
32984
  return /* @__PURE__ */ i.jsxs("div", { className: "im-inc-overview", children: [
32953
32985
  /* @__PURE__ */ i.jsxs("div", { className: "im-inc-card", children: [
32954
32986
  /* @__PURE__ */ i.jsx("div", { className: "im-inc-card-title", children: "Alert summary" }),
@@ -32978,14 +33010,29 @@ function DY({ alert: e }) {
32978
33010
  ")"
32979
33011
  ] })
32980
33012
  ] }),
33013
+ n && /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
33014
+ /* @__PURE__ */ i.jsx("span", { children: "Account ID" }),
33015
+ /* @__PURE__ */ i.jsx("span", { className: "im-mono font-semibold", children: n })
33016
+ ] }),
32981
33017
  /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
32982
33018
  /* @__PURE__ */ i.jsx("span", { children: "Received" }),
32983
33019
  /* @__PURE__ */ i.jsx("span", { children: new Date(e.createdAt).toLocaleString() })
32984
33020
  ] }),
32985
33021
  /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
32986
- /* @__PURE__ */ i.jsx("span", { children: "Labels" }),
33022
+ /* @__PURE__ */ i.jsx("span", { children: "Project Tag" }),
32987
33023
  /* @__PURE__ */ i.jsx("span", { children: e.projectTag ? /* @__PURE__ */ i.jsx("span", { className: "im-inc-label-chip", children: e.projectTag }) : "—" })
32988
33024
  ] }),
33025
+ a && /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
33026
+ /* @__PURE__ */ i.jsx("span", { children: "Tags" }),
33027
+ /* @__PURE__ */ i.jsx("div", { className: "flex flex-wrap gap-1.5 justify-end", children: Object.entries(r).map(([s, o]) => /* @__PURE__ */ i.jsxs("span", { className: "inline-flex items-center px-2 py-0.5 rounded text-xs bg-secondary text-secondary-foreground font-mono", children: [
33028
+ /* @__PURE__ */ i.jsxs("span", { className: "text-muted-foreground mr-1", children: [
33029
+ s,
33030
+ ":"
33031
+ ] }),
33032
+ " ",
33033
+ String(o)
33034
+ ] }, s)) })
33035
+ ] }),
32989
33036
  e.additionalConfiguration?.groupName && /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
32990
33037
  /* @__PURE__ */ i.jsx("span", { children: "Group Name" }),
32991
33038
  /* @__PURE__ */ i.jsx("span", { className: "im-mono", children: e.additionalConfiguration.groupName })
@@ -32994,10 +33041,10 @@ function DY({ alert: e }) {
32994
33041
  ] }),
32995
33042
  e.additionalConfiguration && typeof e.additionalConfiguration == "object" && Object.keys(e.additionalConfiguration).length > 0 && /* @__PURE__ */ i.jsxs("div", { className: "im-inc-card", children: [
32996
33043
  /* @__PURE__ */ i.jsx("div", { className: "im-inc-card-title", children: "Extended Context" }),
32997
- /* @__PURE__ */ i.jsx("div", { className: "im-inc-meta-rows", children: Object.entries(e.additionalConfiguration).filter(([n, r]) => n !== "groupName" && n !== "commonLabels" && n !== "groupLabels" && r).map(([n, r]) => /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
32998
- /* @__PURE__ */ i.jsx("span", { children: n.replace(/([A-Z])/g, " $1").trim().replace(/^\w/, (a) => a.toUpperCase()) }),
32999
- /* @__PURE__ */ i.jsx("span", { className: "im-mono", children: String(r) })
33000
- ] }, n)) })
33044
+ /* @__PURE__ */ i.jsx("div", { className: "im-inc-meta-rows", children: Object.entries(e.additionalConfiguration).filter(([s, o]) => s !== "groupName" && s !== "commonLabels" && s !== "groupLabels" && s !== "tags" && s !== "accountId" && o).map(([s, o]) => /* @__PURE__ */ i.jsxs("div", { className: "im-inc-meta-row", children: [
33045
+ /* @__PURE__ */ i.jsx("span", { children: s.replace(/([A-Z])/g, " $1").trim().replace(/^\w/, (l) => l.toUpperCase()) }),
33046
+ /* @__PURE__ */ i.jsx("span", { className: "im-mono", children: String(o) })
33047
+ ] }, s)) })
33001
33048
  ] })
33002
33049
  ] });
33003
33050
  }
@@ -33342,17 +33389,17 @@ const UY = {
33342
33389
  }, $Y = (e) => [
33343
33390
  {
33344
33391
  accessorKey: "sopId",
33345
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "ID" }),
33392
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "ID" }),
33346
33393
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "font-medium text-xs text-muted-foreground", children: t.getValue("sopId") })
33347
33394
  },
33348
33395
  {
33349
33396
  accessorKey: "title",
33350
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Name" }),
33397
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Name" }),
33351
33398
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "max-w-[200px] truncate font-medium text-sm", children: t.getValue("title") })
33352
33399
  },
33353
33400
  {
33354
33401
  accessorKey: "alertType",
33355
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Alert Type" }),
33402
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Alert Type" }),
33356
33403
  cell: ({ row: t }) => {
33357
33404
  const n = t.getValue("alertType");
33358
33405
  return n ? /* @__PURE__ */ i.jsx("span", { className: "text-sm underline-offset-2 hover:underline", children: n }) : /* @__PURE__ */ i.jsx("span", { className: "text-muted-foreground", children: "—" });
@@ -33360,7 +33407,7 @@ const UY = {
33360
33407
  },
33361
33408
  {
33362
33409
  accessorKey: "severity",
33363
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Severity" }),
33410
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Severity" }),
33364
33411
  cell: ({ row: t }) => {
33365
33412
  const n = t.getValue("severity");
33366
33413
  return n ? /* @__PURE__ */ i.jsxs(qt, { variant: "outline", className: `text-[11px] capitalize ${UY[n] ?? ""}`, children: [
@@ -33371,12 +33418,12 @@ const UY = {
33371
33418
  },
33372
33419
  {
33373
33420
  accessorKey: "updatedAt",
33374
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Updated At" }),
33421
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Updated At" }),
33375
33422
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "text-sm text-muted-foreground whitespace-nowrap tabular-nums", children: Rw(t.getValue("updatedAt")) })
33376
33423
  },
33377
33424
  {
33378
33425
  accessorKey: "createdAt",
33379
- header: ({ column: t }) => /* @__PURE__ */ i.jsx(yt, { column: t, title: "Created At" }),
33426
+ header: ({ column: t }) => /* @__PURE__ */ i.jsx(mt, { column: t, title: "Created At" }),
33380
33427
  cell: ({ row: t }) => /* @__PURE__ */ i.jsx("div", { className: "text-sm text-muted-foreground whitespace-nowrap tabular-nums", children: Rw(t.getValue("createdAt")) })
33381
33428
  },
33382
33429
  {
@@ -34062,14 +34109,14 @@ function WY({ onViewSop: e }) {
34062
34109
  )
34063
34110
  ] });
34064
34111
  }
34065
- function mt() {
34066
- return mt = Object.assign ? Object.assign.bind() : function(e) {
34112
+ function ht() {
34113
+ return ht = Object.assign ? Object.assign.bind() : function(e) {
34067
34114
  for (var t = 1; t < arguments.length; t++) {
34068
34115
  var n = arguments[t];
34069
34116
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
34070
34117
  }
34071
34118
  return e;
34072
- }, mt.apply(null, arguments);
34119
+ }, ht.apply(null, arguments);
34073
34120
  }
34074
34121
  const Al = (
34075
34122
  // Note: overloads in JSDoc can’t yet use different `@template`s.
@@ -34281,9 +34328,9 @@ function aK() {
34281
34328
  }
34282
34329
  var iK = aK();
34283
34330
  const sK = /* @__PURE__ */ Gu(iK);
34284
- gt.displayName = "clike";
34285
- gt.aliases = [];
34286
- function gt(e) {
34331
+ bt.displayName = "clike";
34332
+ bt.aliases = [];
34333
+ function bt(e) {
34287
34334
  e.languages.clike = {
34288
34335
  comment: [
34289
34336
  {
@@ -34319,7 +34366,7 @@ function gt(e) {
34319
34366
  br.displayName = "c";
34320
34367
  br.aliases = [];
34321
34368
  function br(e) {
34322
- e.register(gt), e.languages.c = e.languages.extend("clike", {
34369
+ e.register(bt), e.languages.c = e.languages.extend("clike", {
34323
34370
  comment: {
34324
34371
  pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
34325
34372
  greedy: !0
@@ -34732,7 +34779,7 @@ function _l(e) {
34732
34779
  Ii.displayName = "csharp";
34733
34780
  Ii.aliases = ["cs", "dotnet"];
34734
34781
  function Ii(e) {
34735
- e.register(gt), (function(t) {
34782
+ e.register(bt), (function(t) {
34736
34783
  function n(k, V) {
34737
34784
  return k.replace(/<<(\d+)>>/g, function(Z, I) {
34738
34785
  return "(?:" + V[+I] + ")";
@@ -35399,7 +35446,7 @@ function Kd(e) {
35399
35446
  Xd.displayName = "go";
35400
35447
  Xd.aliases = [];
35401
35448
  function Xd(e) {
35402
- e.register(gt), e.languages.go = e.languages.extend("clike", {
35449
+ e.register(bt), e.languages.go = e.languages.extend("clike", {
35403
35450
  string: {
35404
35451
  pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,
35405
35452
  lookbehind: !0,
@@ -35471,7 +35518,7 @@ function Zd(e) {
35471
35518
  Di.displayName = "java";
35472
35519
  Di.aliases = [];
35473
35520
  function Di(e) {
35474
- e.register(gt), (function(t) {
35521
+ e.register(bt), (function(t) {
35475
35522
  var n = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, r = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, a = {
35476
35523
  pattern: RegExp(
35477
35524
  /(^|[^\w.])/.source + r + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source
@@ -35697,7 +35744,7 @@ function Qd(e) {
35697
35744
  un.displayName = "javascript";
35698
35745
  un.aliases = ["js"];
35699
35746
  function un(e) {
35700
- e.register(gt), e.languages.javascript = e.languages.extend("clike", {
35747
+ e.register(bt), e.languages.javascript = e.languages.extend("clike", {
35701
35748
  "class-name": [
35702
35749
  e.languages.clike["class-name"],
35703
35750
  {
@@ -35860,7 +35907,7 @@ function Ls(e) {
35860
35907
  Jd.displayName = "kotlin";
35861
35908
  Jd.aliases = ["kt", "kts"];
35862
35909
  function Jd(e) {
35863
- e.register(gt), (function(t) {
35910
+ e.register(bt), (function(t) {
35864
35911
  t.languages.kotlin = t.languages.extend("clike", {
35865
35912
  keyword: {
35866
35913
  // The lookbehind prevents wrong highlighting of e.g. kotlin.properties.get
@@ -37065,7 +37112,7 @@ function ip(e) {
37065
37112
  Li.displayName = "ruby";
37066
37113
  Li.aliases = ["rb"];
37067
37114
  function Li(e) {
37068
- e.register(gt), (function(t) {
37115
+ e.register(bt), (function(t) {
37069
37116
  t.languages.ruby = t.languages.extend("clike", {
37070
37117
  comment: {
37071
37118
  pattern: /#.*|^=begin\s[\s\S]*?^=end/m,
@@ -39917,7 +39964,7 @@ function FK(e) {
39917
39964
  Object.hasOwn(e, t) && (e[t] = NK(e[t]));
39918
39965
  return e;
39919
39966
  }
39920
- O.register(gt);
39967
+ O.register(bt);
39921
39968
  O.register(br);
39922
39969
  O.register(ki);
39923
39970
  O.register(Yd);
@@ -40281,7 +40328,7 @@ function gb(e) {
40281
40328
  bb.displayName = "apex";
40282
40329
  bb.aliases = [];
40283
40330
  function bb(e) {
40284
- e.register(gt), e.register(js), (function(t) {
40331
+ e.register(bt), e.register(js), (function(t) {
40285
40332
  var n = /\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i, r = /\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(
40286
40333
  /<keyword>/g,
40287
40334
  function() {
@@ -41497,7 +41544,7 @@ function Mb(e) {
41497
41544
  Pb.displayName = "birb";
41498
41545
  Pb.aliases = [];
41499
41546
  function Pb(e) {
41500
- e.register(gt), e.languages.birb = e.languages.extend("clike", {
41547
+ e.register(bt), e.languages.birb = e.languages.extend("clike", {
41501
41548
  string: {
41502
41549
  pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
41503
41550
  greedy: !0
@@ -41826,7 +41873,7 @@ function Gb(e) {
41826
41873
  Vb.displayName = "cfscript";
41827
41874
  Vb.aliases = ["cfc"];
41828
41875
  function Vb(e) {
41829
- e.register(gt), e.languages.cfscript = e.languages.extend("clike", {
41876
+ e.register(bt), e.languages.cfscript = e.languages.extend("clike", {
41830
41877
  comment: [
41831
41878
  {
41832
41879
  pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
@@ -41868,7 +41915,7 @@ function Vb(e) {
41868
41915
  Wb.displayName = "chaiscript";
41869
41916
  Wb.aliases = [];
41870
41917
  function Wb(e) {
41871
- e.register(gt), e.register(ki), e.languages.chaiscript = e.languages.extend("clike", {
41918
+ e.register(bt), e.register(ki), e.languages.chaiscript = e.languages.extend("clike", {
41872
41919
  string: {
41873
41920
  pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,
41874
41921
  lookbehind: !0,
@@ -42759,7 +42806,7 @@ function l0(e) {
42759
42806
  c0.displayName = "d";
42760
42807
  c0.aliases = [];
42761
42808
  function c0(e) {
42762
- e.register(gt), e.languages.d = e.languages.extend("clike", {
42809
+ e.register(bt), e.languages.d = e.languages.extend("clike", {
42763
42810
  comment: [
42764
42811
  {
42765
42812
  // Shebang
@@ -42839,7 +42886,7 @@ function c0(e) {
42839
42886
  u0.displayName = "dart";
42840
42887
  u0.aliases = [];
42841
42888
  function u0(e) {
42842
- e.register(gt), (function(t) {
42889
+ e.register(bt), (function(t) {
42843
42890
  var n = [
42844
42891
  /\b(?:async|sync|yield)\*/,
42845
42892
  /\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/
@@ -43740,7 +43787,7 @@ function A0(e) {
43740
43787
  _0.displayName = "fsharp";
43741
43788
  _0.aliases = [];
43742
43789
  function _0(e) {
43743
- e.register(gt), e.languages.fsharp = e.languages.extend("clike", {
43790
+ e.register(bt), e.languages.fsharp = e.languages.extend("clike", {
43744
43791
  comment: [
43745
43792
  {
43746
43793
  pattern: /(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,
@@ -44766,7 +44813,7 @@ function k0(e) {
44766
44813
  I0.displayName = "firestore-security-rules";
44767
44814
  I0.aliases = [];
44768
44815
  function I0(e) {
44769
- e.register(gt), e.languages["firestore-security-rules"] = e.languages.extend(
44816
+ e.register(bt), e.languages["firestore-security-rules"] = e.languages.extend(
44770
44817
  "clike",
44771
44818
  {
44772
44819
  comment: /\/\/.*/,
@@ -44990,7 +45037,7 @@ function L0(e) {
44990
45037
  j0.displayName = "gml";
44991
45038
  j0.aliases = ["gamemakerlanguage"];
44992
45039
  function j0(e) {
44993
- e.register(gt), e.languages.gamemakerlanguage = e.languages.gml = e.languages.extend("clike", {
45040
+ e.register(bt), e.languages.gamemakerlanguage = e.languages.gml = e.languages.extend("clike", {
44994
45041
  keyword: /\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,
44995
45042
  number: /(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,
44996
45043
  operator: /--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,
@@ -45439,7 +45486,7 @@ function W0(e) {
45439
45486
  q0.displayName = "gradle";
45440
45487
  q0.aliases = [];
45441
45488
  function q0(e) {
45442
- e.register(gt), (function(t) {
45489
+ e.register(bt), (function(t) {
45443
45490
  var n = {
45444
45491
  pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,
45445
45492
  lookbehind: !0,
@@ -45619,7 +45666,7 @@ function Y0(e) {
45619
45666
  K0.displayName = "groovy";
45620
45667
  K0.aliases = [];
45621
45668
  function K0(e) {
45622
- e.register(gt), (function(t) {
45669
+ e.register(bt), (function(t) {
45623
45670
  var n = {
45624
45671
  pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,
45625
45672
  lookbehind: !0,
@@ -46188,7 +46235,7 @@ function jl(e) {
46188
46235
  J0.displayName = "haxe";
46189
46236
  J0.aliases = [];
46190
46237
  function J0(e) {
46191
- e.register(gt), e.languages.haxe = e.languages.extend("clike", {
46238
+ e.register(bt), e.languages.haxe = e.languages.extend("clike", {
46192
46239
  string: {
46193
46240
  // Strings can be multi-line
46194
46241
  pattern: /"(?:[^"\\]|\\[\s\S])*"/,
@@ -47284,7 +47331,7 @@ function yy(e) {
47284
47331
  xy.displayName = "jolie";
47285
47332
  xy.aliases = [];
47286
47333
  function xy(e) {
47287
- e.register(gt), e.languages.jolie = e.languages.extend("clike", {
47334
+ e.register(bt), e.languages.jolie = e.languages.extend("clike", {
47288
47335
  string: {
47289
47336
  pattern: /(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,
47290
47337
  lookbehind: !0,
@@ -48196,7 +48243,7 @@ function Oy(e) {
48196
48243
  Ly.displayName = "latte";
48197
48244
  Ly.aliases = [];
48198
48245
  function Ly(e) {
48199
- e.register(gt), e.register(dn), e.register(Oi), (function(t) {
48246
+ e.register(bt), e.register(dn), e.register(Oi), (function(t) {
48200
48247
  t.languages.latte = {
48201
48248
  comment: /^\{\*[\s\S]*/,
48202
48249
  "latte-tag": {
@@ -51262,7 +51309,7 @@ function Nx(e) {
51262
51309
  Cx.displayName = "processing";
51263
51310
  Cx.aliases = [];
51264
51311
  function Cx(e) {
51265
- e.register(gt), e.languages.processing = e.languages.extend("clike", {
51312
+ e.register(bt), e.languages.processing = e.languages.extend("clike", {
51266
51313
  keyword: /\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,
51267
51314
  // Spaces are allowed between function name and parenthesis
51268
51315
  function: /\b\w+(?=\s*\()/,
@@ -51410,7 +51457,7 @@ function Rx(e) {
51410
51457
  kx.displayName = "protobuf";
51411
51458
  kx.aliases = [];
51412
51459
  function kx(e) {
51413
- e.register(gt), (function(t) {
51460
+ e.register(bt), (function(t) {
51414
51461
  var n = /\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;
51415
51462
  t.languages.protobuf = t.languages.extend("clike", {
51416
51463
  "class-name": [
@@ -52031,7 +52078,7 @@ function jx(e) {
52031
52078
  Mx.displayName = "purebasic";
52032
52079
  Mx.aliases = ["pbfasm"];
52033
52080
  function Mx(e) {
52034
- e.register(gt), e.languages.purebasic = e.languages.extend("clike", {
52081
+ e.register(bt), e.languages.purebasic = e.languages.extend("clike", {
52035
52082
  comment: /;.*/,
52036
52083
  keyword: /\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,
52037
52084
  function: /\b\w+(?:\.\w+)?\s*(?=\()/,
@@ -52119,7 +52166,7 @@ function Px(e) {
52119
52166
  Fx.displayName = "qsharp";
52120
52167
  Fx.aliases = ["qs"];
52121
52168
  function Fx(e) {
52122
- e.register(gt), (function(t) {
52169
+ e.register(bt), (function(t) {
52123
52170
  function n(m, h) {
52124
52171
  return m.replace(/<<(\d+)>>/g, function(g, b) {
52125
52172
  return "(?:" + h[+b] + ")";
@@ -52346,7 +52393,7 @@ function Ux(e) {
52346
52393
  $x.displayName = "qore";
52347
52394
  $x.aliases = [];
52348
52395
  function $x(e) {
52349
- e.register(gt), e.languages.qore = e.languages.extend("clike", {
52396
+ e.register(bt), e.languages.qore = e.languages.extend("clike", {
52350
52397
  comment: {
52351
52398
  pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,
52352
52399
  lookbehind: !0
@@ -52585,7 +52632,7 @@ function Gx(e) {
52585
52632
  Vx.displayName = "reason";
52586
52633
  Vx.aliases = [];
52587
52634
  function Vx(e) {
52588
- e.register(gt), e.languages.reason = e.languages.extend("clike", {
52635
+ e.register(bt), e.languages.reason = e.languages.extend("clike", {
52589
52636
  string: {
52590
52637
  pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
52591
52638
  greedy: !0
@@ -53779,7 +53826,7 @@ function aE(e) {
53779
53826
  iE.displayName = "solidity";
53780
53827
  iE.aliases = ["sol"];
53781
53828
  function iE(e) {
53782
- e.register(gt), e.languages.solidity = e.languages.extend("clike", {
53829
+ e.register(bt), e.languages.solidity = e.languages.extend("clike", {
53783
53830
  "class-name": {
53784
53831
  pattern: /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,
53785
53832
  lookbehind: !0
@@ -54028,7 +54075,7 @@ function cE(e) {
54028
54075
  uE.displayName = "sqf";
54029
54076
  uE.aliases = [];
54030
54077
  function uE(e) {
54031
- e.register(gt), e.languages.sqf = e.languages.extend("clike", {
54078
+ e.register(bt), e.languages.sqf = e.languages.extend("clike", {
54032
54079
  string: {
54033
54080
  pattern: /"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,
54034
54081
  greedy: !0
@@ -54062,7 +54109,7 @@ function uE(e) {
54062
54109
  dE.displayName = "squirrel";
54063
54110
  dE.aliases = [];
54064
54111
  function dE(e) {
54065
- e.register(gt), e.languages.squirrel = e.languages.extend("clike", {
54112
+ e.register(bt), e.languages.squirrel = e.languages.extend("clike", {
54066
54113
  comment: [
54067
54114
  e.languages.clike.comment[0],
54068
54115
  {
@@ -54496,7 +54543,7 @@ function EE(e) {
54496
54543
  vE.displayName = "tt2";
54497
54544
  vE.aliases = [];
54498
54545
  function vE(e) {
54499
- e.register(gt), e.register(dn), (function(t) {
54546
+ e.register(bt), e.register(dn), (function(t) {
54500
54547
  t.languages.tt2 = t.languages.extend("clike", {
54501
54548
  comment: /#.*|\[%#[\s\S]*?%\]/,
54502
54549
  keyword: /\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,
@@ -54834,7 +54881,7 @@ function CE(e) {
54834
54881
  AE.displayName = "v";
54835
54882
  AE.aliases = [];
54836
54883
  function AE(e) {
54837
- e.register(gt), (function(t) {
54884
+ e.register(bt), (function(t) {
54838
54885
  var n = {
54839
54886
  pattern: /[\s\S]+/,
54840
54887
  inside: null
@@ -54911,7 +54958,7 @@ function AE(e) {
54911
54958
  _E.displayName = "vala";
54912
54959
  _E.aliases = [];
54913
54960
  function _E(e) {
54914
- e.register(gt), e.languages.vala = e.languages.extend("clike", {
54961
+ e.register(bt), e.languages.vala = e.languages.extend("clike", {
54915
54962
  // Classes copied from prism-csharp
54916
54963
  "class-name": [
54917
54964
  {
@@ -55991,7 +56038,7 @@ function WE(e) {
55991
56038
  }
55992
56039
  O.register(sn);
55993
56040
  O.register(Ha);
55994
- O.register(gt);
56041
+ O.register(bt);
55995
56042
  O.register(Qd);
55996
56043
  O.register(un);
55997
56044
  O.register(cb);
@@ -64975,7 +65022,7 @@ function nt(e) {
64975
65022
  function At(e) {
64976
65023
  return e !== null && (e < 0 || e === 32);
64977
65024
  }
64978
- function ht(e) {
65025
+ function gt(e) {
64979
65026
  return e === -2 || e === -1 || e === 32;
64980
65027
  }
64981
65028
  const wp = za(new RegExp("\\p{P}|\\p{S}", "u")), yi = za(/\s/);
@@ -65009,10 +65056,10 @@ function xt(e, t, n, r) {
65009
65056
  let s = 0;
65010
65057
  return o;
65011
65058
  function o(c) {
65012
- return ht(c) ? (e.enter(n), l(c)) : t(c);
65059
+ return gt(c) ? (e.enter(n), l(c)) : t(c);
65013
65060
  }
65014
65061
  function l(c) {
65015
- return ht(c) && s++ < a ? (e.consume(c), l) : (e.exit(n), t(c));
65062
+ return gt(c) && s++ < a ? (e.consume(c), l) : (e.exit(n), t(c));
65016
65063
  }
65017
65064
  }
65018
65065
  const Zee = {
@@ -65305,7 +65352,7 @@ const $l = {
65305
65352
  function ste(e, t, n) {
65306
65353
  return r;
65307
65354
  function r(s) {
65308
- return ht(s) ? xt(e, a, "linePrefix")(s) : a(s);
65355
+ return gt(s) ? xt(e, a, "linePrefix")(s) : a(s);
65309
65356
  }
65310
65357
  function a(s) {
65311
65358
  return s === null || nt(s) ? t(s) : n(s);
@@ -65332,14 +65379,14 @@ function ote(e, t, n) {
65332
65379
  return n(o);
65333
65380
  }
65334
65381
  function s(o) {
65335
- return ht(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(o));
65382
+ return gt(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(o));
65336
65383
  }
65337
65384
  }
65338
65385
  function lte(e, t, n) {
65339
65386
  const r = this;
65340
65387
  return a;
65341
65388
  function a(o) {
65342
- return ht(o) ? xt(e, s, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : s(o);
65389
+ return gt(o) ? xt(e, s, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : s(o);
65343
65390
  }
65344
65391
  function s(o) {
65345
65392
  return e.attempt(gD, t, n)(o);
@@ -65409,7 +65456,7 @@ function pte(e, t, n) {
65409
65456
  return s = R && R[1].type === "linePrefix" ? R[2].sliceSerialize(R[1], !0).length : 0, l = N, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), p(N);
65410
65457
  }
65411
65458
  function p(N) {
65412
- return N === l ? (o++, e.consume(N), p) : o < 3 ? n(N) : (e.exit("codeFencedFenceSequence"), ht(N) ? xt(e, d, "whitespace")(N) : d(N));
65459
+ return N === l ? (o++, e.consume(N), p) : o < 3 ? n(N) : (e.exit("codeFencedFenceSequence"), gt(N) ? xt(e, d, "whitespace")(N) : d(N));
65413
65460
  }
65414
65461
  function d(N) {
65415
65462
  return N === null || nt(N) ? (e.exit("codeFencedFence"), r.interrupt ? t(N) : e.check(OT, g, T)(N)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -65417,7 +65464,7 @@ function pte(e, t, n) {
65417
65464
  }), f(N));
65418
65465
  }
65419
65466
  function f(N) {
65420
- return N === null || nt(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(N)) : ht(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), xt(e, m, "whitespace")(N)) : N === 96 && N === l ? n(N) : (e.consume(N), f);
65467
+ return N === null || nt(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(N)) : gt(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), xt(e, m, "whitespace")(N)) : N === 96 && N === l ? n(N) : (e.consume(N), f);
65421
65468
  }
65422
65469
  function m(N) {
65423
65470
  return N === null || nt(N) ? d(N) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -65434,7 +65481,7 @@ function pte(e, t, n) {
65434
65481
  return e.enter("lineEnding"), e.consume(N), e.exit("lineEnding"), y;
65435
65482
  }
65436
65483
  function y(N) {
65437
- return s > 0 && ht(N) ? xt(e, S, "linePrefix", s + 1)(N) : S(N);
65484
+ return s > 0 && gt(N) ? xt(e, S, "linePrefix", s + 1)(N) : S(N);
65438
65485
  }
65439
65486
  function S(N) {
65440
65487
  return N === null || nt(N) ? e.check(OT, g, T)(N) : (e.enter("codeFlowValue"), w(N));
@@ -65452,13 +65499,13 @@ function pte(e, t, n) {
65452
65499
  return N.enter("lineEnding"), N.consume(j), N.exit("lineEnding"), P;
65453
65500
  }
65454
65501
  function P(j) {
65455
- return N.enter("codeFencedFence"), ht(j) ? xt(N, $, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(j) : $(j);
65502
+ return N.enter("codeFencedFence"), gt(j) ? xt(N, $, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(j) : $(j);
65456
65503
  }
65457
65504
  function $(j) {
65458
65505
  return j === l ? (N.enter("codeFencedFenceSequence"), G(j)) : D(j);
65459
65506
  }
65460
65507
  function G(j) {
65461
- return j === l ? (L++, N.consume(j), G) : L >= o ? (N.exit("codeFencedFenceSequence"), ht(j) ? xt(N, z, "whitespace")(j) : z(j)) : D(j);
65508
+ return j === l ? (L++, N.consume(j), G) : L >= o ? (N.exit("codeFencedFenceSequence"), gt(j) ? xt(N, z, "whitespace")(j) : z(j)) : D(j);
65462
65509
  }
65463
65510
  function z(j) {
65464
65511
  return j === null || nt(j) ? (N.exit("codeFencedFence"), R(j)) : D(j);
@@ -65864,7 +65911,7 @@ function vD(e, t, n, r, a, s) {
65864
65911
  }), d(m));
65865
65912
  }
65866
65913
  function d(m) {
65867
- return m === null || m === 91 || m === 93 || nt(m) || l++ > 999 ? (e.exit("chunkString"), p(m)) : (e.consume(m), c || (c = !ht(m)), m === 92 ? f : d);
65914
+ return m === null || m === 91 || m === 93 || nt(m) || l++ > 999 ? (e.exit("chunkString"), p(m)) : (e.consume(m), c || (c = !gt(m)), m === 92 ? f : d);
65868
65915
  }
65869
65916
  function f(m) {
65870
65917
  return m === 91 || m === 92 || m === 93 ? (e.consume(m), l++, d) : d(m);
@@ -65895,7 +65942,7 @@ function Oo(e, t) {
65895
65942
  let n;
65896
65943
  return r;
65897
65944
  function r(a) {
65898
- return nt(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : ht(a) ? xt(e, r, n ? "linePrefix" : "lineSuffix")(a) : t(a);
65945
+ return nt(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : gt(a) ? xt(e, r, n ? "linePrefix" : "lineSuffix")(a) : t(a);
65899
65946
  }
65900
65947
  }
65901
65948
  const _te = {
@@ -65947,7 +65994,7 @@ function kte(e, t, n) {
65947
65994
  return e.attempt(Rte, d, d)(m);
65948
65995
  }
65949
65996
  function d(m) {
65950
- return ht(m) ? xt(e, f, "whitespace")(m) : f(m);
65997
+ return gt(m) ? xt(e, f, "whitespace")(m) : f(m);
65951
65998
  }
65952
65999
  function f(m) {
65953
66000
  return m === null || nt(m) ? (e.exit("definition"), r.parser.defined.push(a), t(m)) : n(m);
@@ -65962,7 +66009,7 @@ function Ite(e, t, n) {
65962
66009
  return SD(e, s, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(l);
65963
66010
  }
65964
66011
  function s(l) {
65965
- return ht(l) ? xt(e, o, "whitespace")(l) : o(l);
66012
+ return gt(l) ? xt(e, o, "whitespace")(l) : o(l);
65966
66013
  }
65967
66014
  function o(l) {
65968
66015
  return l === null || nt(l) ? t(l) : n(l);
@@ -66012,7 +66059,7 @@ function Mte(e, t, n) {
66012
66059
  return p === 35 && r++ < 6 ? (e.consume(p), o) : p === null || At(p) ? (e.exit("atxHeadingSequence"), l(p)) : n(p);
66013
66060
  }
66014
66061
  function l(p) {
66015
- return p === 35 ? (e.enter("atxHeadingSequence"), c(p)) : p === null || nt(p) ? (e.exit("atxHeading"), t(p)) : ht(p) ? xt(e, l, "whitespace")(p) : (e.enter("atxHeadingText"), u(p));
66062
+ return p === 35 ? (e.enter("atxHeadingSequence"), c(p)) : p === null || nt(p) ? (e.exit("atxHeading"), t(p)) : gt(p) ? xt(e, l, "whitespace")(p) : (e.enter("atxHeadingText"), u(p));
66016
66063
  }
66017
66064
  function c(p) {
66018
66065
  return p === 35 ? (e.consume(p), c) : (e.exit("atxHeadingSequence"), l(p));
@@ -66139,19 +66186,19 @@ function Hte(e, t, n) {
66139
66186
  return I === 62 ? (e.consume(I), r.interrupt ? t : $) : n(I);
66140
66187
  }
66141
66188
  function S(I) {
66142
- return ht(I) ? (e.consume(I), S) : C(I);
66189
+ return gt(I) ? (e.consume(I), S) : C(I);
66143
66190
  }
66144
66191
  function w(I) {
66145
- return I === 47 ? (e.consume(I), C) : I === 58 || I === 95 || Sn(I) ? (e.consume(I), T) : ht(I) ? (e.consume(I), w) : C(I);
66192
+ return I === 47 ? (e.consume(I), C) : I === 58 || I === 95 || Sn(I) ? (e.consume(I), T) : gt(I) ? (e.consume(I), w) : C(I);
66146
66193
  }
66147
66194
  function T(I) {
66148
66195
  return I === 45 || I === 46 || I === 58 || I === 95 || gn(I) ? (e.consume(I), T) : A(I);
66149
66196
  }
66150
66197
  function A(I) {
66151
- return I === 61 ? (e.consume(I), N) : ht(I) ? (e.consume(I), A) : w(I);
66198
+ return I === 61 ? (e.consume(I), N) : gt(I) ? (e.consume(I), A) : w(I);
66152
66199
  }
66153
66200
  function N(I) {
66154
- return I === null || I === 60 || I === 61 || I === 62 || I === 96 ? n(I) : I === 34 || I === 39 ? (e.consume(I), c = I, R) : ht(I) ? (e.consume(I), N) : D(I);
66201
+ return I === null || I === 60 || I === 61 || I === 62 || I === 96 ? n(I) : I === 34 || I === 39 ? (e.consume(I), c = I, R) : gt(I) ? (e.consume(I), N) : D(I);
66155
66202
  }
66156
66203
  function R(I) {
66157
66204
  return I === c ? (e.consume(I), c = null, L) : I === null || nt(I) ? n(I) : (e.consume(I), R);
@@ -66160,13 +66207,13 @@ function Hte(e, t, n) {
66160
66207
  return I === null || I === 34 || I === 39 || I === 47 || I === 60 || I === 61 || I === 62 || I === 96 || At(I) ? A(I) : (e.consume(I), D);
66161
66208
  }
66162
66209
  function L(I) {
66163
- return I === 47 || I === 62 || ht(I) ? w(I) : n(I);
66210
+ return I === 47 || I === 62 || gt(I) ? w(I) : n(I);
66164
66211
  }
66165
66212
  function C(I) {
66166
66213
  return I === 62 ? (e.consume(I), P) : n(I);
66167
66214
  }
66168
66215
  function P(I) {
66169
- return I === null || nt(I) ? $(I) : ht(I) ? (e.consume(I), P) : n(I);
66216
+ return I === null || nt(I) ? $(I) : gt(I) ? (e.consume(I), P) : n(I);
66170
66217
  }
66171
66218
  function $(I) {
66172
66219
  return I === 45 && a === 2 ? (e.consume(I), W) : I === 60 && a === 1 ? (e.consume(I), ae) : I === 62 && a === 4 ? (e.consume(I), V) : I === 63 && a === 3 ? (e.consume(I), k) : I === 93 && a === 5 ? (e.consume(I), H) : nt(I) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(Bte, Z, G)(I)) : I === null || nt(I) ? (e.exit("htmlFlowData"), G(I)) : (e.consume(I), $);
@@ -66280,22 +66327,22 @@ function Wte(e, t, n) {
66280
66327
  return k === 45 || gn(k) ? (e.consume(k), N) : R(k);
66281
66328
  }
66282
66329
  function R(k) {
66283
- return nt(k) ? (o = R, ae(k)) : ht(k) ? (e.consume(k), R) : W(k);
66330
+ return nt(k) ? (o = R, ae(k)) : gt(k) ? (e.consume(k), R) : W(k);
66284
66331
  }
66285
66332
  function D(k) {
66286
66333
  return k === 45 || gn(k) ? (e.consume(k), D) : k === 47 || k === 62 || At(k) ? L(k) : n(k);
66287
66334
  }
66288
66335
  function L(k) {
66289
- return k === 47 ? (e.consume(k), W) : k === 58 || k === 95 || Sn(k) ? (e.consume(k), C) : nt(k) ? (o = L, ae(k)) : ht(k) ? (e.consume(k), L) : W(k);
66336
+ return k === 47 ? (e.consume(k), W) : k === 58 || k === 95 || Sn(k) ? (e.consume(k), C) : nt(k) ? (o = L, ae(k)) : gt(k) ? (e.consume(k), L) : W(k);
66290
66337
  }
66291
66338
  function C(k) {
66292
66339
  return k === 45 || k === 46 || k === 58 || k === 95 || gn(k) ? (e.consume(k), C) : P(k);
66293
66340
  }
66294
66341
  function P(k) {
66295
- return k === 61 ? (e.consume(k), $) : nt(k) ? (o = P, ae(k)) : ht(k) ? (e.consume(k), P) : L(k);
66342
+ return k === 61 ? (e.consume(k), $) : nt(k) ? (o = P, ae(k)) : gt(k) ? (e.consume(k), P) : L(k);
66296
66343
  }
66297
66344
  function $(k) {
66298
- return k === null || k === 60 || k === 61 || k === 62 || k === 96 ? n(k) : k === 34 || k === 39 ? (e.consume(k), a = k, G) : nt(k) ? (o = $, ae(k)) : ht(k) ? (e.consume(k), $) : (e.consume(k), z);
66345
+ return k === null || k === 60 || k === 61 || k === 62 || k === 96 ? n(k) : k === 34 || k === 39 ? (e.consume(k), a = k, G) : nt(k) ? (o = $, ae(k)) : gt(k) ? (e.consume(k), $) : (e.consume(k), z);
66299
66346
  }
66300
66347
  function G(k) {
66301
66348
  return k === a ? (e.consume(k), a = void 0, j) : k === null ? n(k) : nt(k) ? (o = G, ae(k)) : (e.consume(k), G);
@@ -66313,7 +66360,7 @@ function Wte(e, t, n) {
66313
66360
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), B;
66314
66361
  }
66315
66362
  function B(k) {
66316
- return ht(k) ? xt(e, H, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(k) : H(k);
66363
+ return gt(k) ? xt(e, H, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(k) : H(k);
66317
66364
  }
66318
66365
  function H(k) {
66319
66366
  return e.enter("htmlTextData"), o(k);
@@ -66520,7 +66567,7 @@ function one(e, t, n) {
66520
66567
  return u === a ? (e.enter("thematicBreakSequence"), c(u)) : r >= 3 && (u === null || nt(u)) ? (e.exit("thematicBreak"), t(u)) : n(u);
66521
66568
  }
66522
66569
  function c(u) {
66523
- return u === a ? (e.consume(u), r++, c) : (e.exit("thematicBreakSequence"), ht(u) ? xt(e, l, "whitespace")(u) : l(u));
66570
+ return u === a ? (e.consume(u), r++, c) : (e.exit("thematicBreakSequence"), gt(u) ? xt(e, l, "whitespace")(u) : l(u));
66524
66571
  }
66525
66572
  }
66526
66573
  const Rn = {
@@ -66568,7 +66615,7 @@ function une(e, t, n) {
66568
66615
  return r.containerState.initialBlankLine = !0, s++, f(m);
66569
66616
  }
66570
66617
  function d(m) {
66571
- return ht(m) ? (e.enter("listItemPrefixWhitespace"), e.consume(m), e.exit("listItemPrefixWhitespace"), f) : n(m);
66618
+ return gt(m) ? (e.enter("listItemPrefixWhitespace"), e.consume(m), e.exit("listItemPrefixWhitespace"), f) : n(m);
66572
66619
  }
66573
66620
  function f(m) {
66574
66621
  return r.containerState.size = s + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(m);
@@ -66581,7 +66628,7 @@ function dne(e, t, n) {
66581
66628
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, xt(e, t, "listItemIndent", r.containerState.size + 1)(l);
66582
66629
  }
66583
66630
  function s(l) {
66584
- return r.containerState.furtherBlankLines || !ht(l) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(l)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(cne, t, o)(l));
66631
+ return r.containerState.furtherBlankLines || !gt(l) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(l)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(cne, t, o)(l));
66585
66632
  }
66586
66633
  function o(l) {
66587
66634
  return r.containerState._closeFlow = !0, r.interrupt = void 0, xt(e, e.attempt(Rn, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(l);
@@ -66603,7 +66650,7 @@ function mne(e, t, n) {
66603
66650
  return xt(e, a, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
66604
66651
  function a(s) {
66605
66652
  const o = r.events[r.events.length - 1];
66606
- return !ht(s) && o && o[1].type === "listItemPrefixWhitespace" ? t(s) : n(s);
66653
+ return !gt(s) && o && o[1].type === "listItemPrefixWhitespace" ? t(s) : n(s);
66607
66654
  }
66608
66655
  }
66609
66656
  const MT = {
@@ -66652,7 +66699,7 @@ function gne(e, t, n) {
66652
66699
  return e.enter("setextHeadingLineSequence"), l(u);
66653
66700
  }
66654
66701
  function l(u) {
66655
- return u === a ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), ht(u) ? xt(e, c, "lineSuffix")(u) : c(u));
66702
+ return u === a ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), gt(u) ? xt(e, c, "lineSuffix")(u) : c(u));
66656
66703
  }
66657
66704
  function c(u) {
66658
66705
  return u === null || nt(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u);
@@ -71308,7 +71355,7 @@ function nse(e, t, n) {
71308
71355
  return C === 124 || (o = !0, s += 1), p(C);
71309
71356
  }
71310
71357
  function p(C) {
71311
- return C === null ? n(C) : nt(C) ? s > 1 ? (s = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), m) : n(C) : ht(C) ? xt(e, p, "whitespace")(C) : (s += 1, o && (o = !1, a += 1), C === 124 ? (e.enter("tableCellDivider"), e.consume(C), e.exit("tableCellDivider"), o = !0, p) : (e.enter("data"), d(C)));
71358
+ return C === null ? n(C) : nt(C) ? s > 1 ? (s = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), m) : n(C) : gt(C) ? xt(e, p, "whitespace")(C) : (s += 1, o && (o = !1, a += 1), C === 124 ? (e.enter("tableCellDivider"), e.consume(C), e.exit("tableCellDivider"), o = !0, p) : (e.enter("data"), d(C)));
71312
71359
  }
71313
71360
  function d(C) {
71314
71361
  return C === null || C === 124 || At(C) ? (e.exit("data"), p(C)) : (e.consume(C), C === 92 ? f : d);
@@ -71317,13 +71364,13 @@ function nse(e, t, n) {
71317
71364
  return C === 92 || C === 124 ? (e.consume(C), d) : d(C);
71318
71365
  }
71319
71366
  function m(C) {
71320
- return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(C) : (e.enter("tableDelimiterRow"), o = !1, ht(C) ? xt(e, h, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(C) : h(C));
71367
+ return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(C) : (e.enter("tableDelimiterRow"), o = !1, gt(C) ? xt(e, h, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(C) : h(C));
71321
71368
  }
71322
71369
  function h(C) {
71323
71370
  return C === 45 || C === 58 ? b(C) : C === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(C), e.exit("tableCellDivider"), g) : A(C);
71324
71371
  }
71325
71372
  function g(C) {
71326
- return ht(C) ? xt(e, b, "whitespace")(C) : b(C);
71373
+ return gt(C) ? xt(e, b, "whitespace")(C) : b(C);
71327
71374
  }
71328
71375
  function b(C) {
71329
71376
  return C === 58 ? (s += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(C), e.exit("tableDelimiterMarker"), y) : C === 45 ? (s += 1, y(C)) : C === null || nt(C) ? T(C) : A(C);
@@ -71335,7 +71382,7 @@ function nse(e, t, n) {
71335
71382
  return C === 45 ? (e.consume(C), S) : C === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(C), e.exit("tableDelimiterMarker"), w) : (e.exit("tableDelimiterFiller"), w(C));
71336
71383
  }
71337
71384
  function w(C) {
71338
- return ht(C) ? xt(e, T, "whitespace")(C) : T(C);
71385
+ return gt(C) ? xt(e, T, "whitespace")(C) : T(C);
71339
71386
  }
71340
71387
  function T(C) {
71341
71388
  return C === 124 ? h(C) : C === null || nt(C) ? !o || a !== s ? A(C) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(C)) : A(C);
@@ -71347,7 +71394,7 @@ function nse(e, t, n) {
71347
71394
  return e.enter("tableRow"), R(C);
71348
71395
  }
71349
71396
  function R(C) {
71350
- return C === 124 ? (e.enter("tableCellDivider"), e.consume(C), e.exit("tableCellDivider"), R) : C === null || nt(C) ? (e.exit("tableRow"), t(C)) : ht(C) ? xt(e, R, "whitespace")(C) : (e.enter("data"), D(C));
71397
+ return C === 124 ? (e.enter("tableCellDivider"), e.consume(C), e.exit("tableCellDivider"), R) : C === null || nt(C) ? (e.exit("tableRow"), t(C)) : gt(C) ? xt(e, R, "whitespace")(C) : (e.enter("data"), D(C));
71351
71398
  }
71352
71399
  function D(C) {
71353
71400
  return C === null || C === 124 || At(C) ? (e.exit("data"), R(C)) : (e.consume(C), C === 92 ? L : D);
@@ -71442,7 +71489,7 @@ function sse(e, t, n) {
71442
71489
  return c === 93 ? (e.enter("taskListCheckMarker"), e.consume(c), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), l) : n(c);
71443
71490
  }
71444
71491
  function l(c) {
71445
- return nt(c) ? t(c) : ht(c) ? e.check({
71492
+ return nt(c) ? t(c) : gt(c) ? e.check({
71446
71493
  tokenize: ose
71447
71494
  }, t, n)(c) : n(c);
71448
71495
  }
@@ -71594,7 +71641,7 @@ const Ese = /* @__PURE__ */ we.forwardRef((e, t) => {
71594
71641
  var l = e.skipHtml, c = l === void 0 ? !0 : l, u = e.onScroll, p = e.onMouseOver, d = e.pluginsFilter;
71595
71642
  e.rehypeRewrite;
71596
71643
  var f = e.wrapperElement, m = f === void 0 ? {} : f, h = e.warpperElement, g = h === void 0 ? {} : h, b = e.urlTransform, y = nl(e, yse), S = we.useRef(null);
71597
- ON(t, () => mt({}, e, {
71644
+ ON(t, () => ht({}, e, {
71598
71645
  mdp: S
71599
71646
  }), [S, e]);
71600
71647
  var w = (r || "") + " " + (a || "");
@@ -71603,15 +71650,15 @@ const Ese = /* @__PURE__ */ we.forwardRef((e, t) => {
71603
71650
  allowElement: (D, L, C) => y.allowElement ? y.allowElement(D, L, C) : /^[A-Za-z0-9]+$/.test(D.tagName)
71604
71651
  };
71605
71652
  c || T.push(lD);
71606
- var N = [fse, ...y.remarkPlugins || [], use], R = mt({}, g, m);
71607
- return /* @__PURE__ */ i.jsx("div", mt({
71653
+ var N = [fse, ...y.remarkPlugins || [], use], R = ht({}, g, m);
71654
+ return /* @__PURE__ */ i.jsx("div", ht({
71608
71655
  ref: S,
71609
71656
  onScroll: u,
71610
71657
  onMouseOver: p
71611
71658
  }, R, {
71612
71659
  className: w,
71613
71660
  style: o,
71614
- children: /* @__PURE__ */ i.jsx(Zre, mt({}, A, y, {
71661
+ children: /* @__PURE__ */ i.jsx(Zre, ht({}, A, y, {
71615
71662
  skipHtml: !c,
71616
71663
  urlTransform: b || xse,
71617
71664
  rehypePlugins: d ? d("rehype", T) : T,
@@ -71623,7 +71670,7 @@ const Ese = /* @__PURE__ */ we.forwardRef((e, t) => {
71623
71670
  var vse = function(t) {
71624
71671
  return (n) => {
71625
71672
  jn(n, (r) => {
71626
- r.type === "element" && r.tagName === "code" && r.data && r.data.meta && (r.properties = mt({}, r.properties, {
71673
+ r.type === "element" && r.tagName === "code" && r.data && r.data.meta && (r.properties = ht({}, r.properties, {
71627
71674
  "data-meta": String(r.data.meta)
71628
71675
  }));
71629
71676
  });
@@ -71927,7 +71974,7 @@ function Pse(e) {
71927
71974
  var Fse = (e, t) => (n, r, a) => {
71928
71975
  if (n.type === "element" && a && a.type === "root" && /h(1|2|3|4|5|6)/.test(n.tagName)) {
71929
71976
  var s = n.children && n.children[0];
71930
- s && s.properties && s.properties.ariaHidden === "true" && (s.properties = mt({
71977
+ s && s.properties && s.properties.ariaHidden === "true" && (s.properties = ht({
71931
71978
  class: "anchor"
71932
71979
  }, s.properties), s.children = [Mse]);
71933
71980
  }
@@ -71945,7 +71992,7 @@ const Use = /* @__PURE__ */ we.forwardRef((e, t) => {
71945
71992
  }], ...e.rehypePlugins || [], [o2, {
71946
71993
  ignoreMissing: !0
71947
71994
  }]];
71948
- return /* @__PURE__ */ i.jsx(Ese, mt({}, e, {
71995
+ return /* @__PURE__ */ i.jsx(Ese, ht({}, e, {
71949
71996
  rehypePlugins: r,
71950
71997
  ref: t
71951
71998
  }));
@@ -73003,7 +73050,7 @@ function nle(e) {
73003
73050
  }
73004
73051
  const rle = RD().use(eoe).use(nle).freeze();
73005
73052
  function ale(e, t) {
73006
- return mt({}, e, t);
73053
+ return ht({}, e, t);
73007
73054
  }
73008
73055
  var Fi = /* @__PURE__ */ we.createContext({
73009
73056
  markdown: ""
@@ -73047,7 +73094,7 @@ function sle(e) {
73047
73094
  }
73048
73095
  function lO(e, t) {
73049
73096
  return e === void 0 && (e = []), t === void 0 && (t = {}), e.forEach((n) => {
73050
- n.children && Array.isArray(n.children) ? t = mt({}, t, lO(n.children || [])) : n.keyCommand && n.shortcuts && n.execute && (t[n.shortcuts.toLocaleLowerCase()] = n);
73097
+ n.children && Array.isArray(n.children) ? t = ht({}, t, lO(n.children || [])) : n.keyCommand && n.shortcuts && n.execute && (t[n.shortcuts.toLocaleLowerCase()] = n);
73051
73098
  }), t;
73052
73099
  }
73053
73100
  function cO(e, t, n, r, a) {
@@ -73399,7 +73446,7 @@ function ple(e) {
73399
73446
  if (e == null) throw new TypeError("Cannot destructure " + e);
73400
73447
  }
73401
73448
  var fle = (e, t) => {
73402
- var n = mt({
73449
+ var n = ht({
73403
73450
  children: e,
73404
73451
  icon: /* @__PURE__ */ i.jsx("svg", {
73405
73452
  width: "12",
@@ -73416,8 +73463,8 @@ var fle = (e, t) => {
73416
73463
  keyCommand: "group"
73417
73464
  });
73418
73465
  return Array.isArray(n.children) && (n.children = n.children.map((r) => {
73419
- var a = mt({}, (ple(r), r));
73420
- return a.parent = n, mt({}, a);
73466
+ var a = ht({}, (ple(r), r));
73467
+ return a.parent = n, ht({}, a);
73421
73468
  })), n;
73422
73469
  }, mle = {
73423
73470
  name: "hr",
@@ -73881,7 +73928,7 @@ function Gs(e) {
73881
73928
  suffix: s
73882
73929
  });
73883
73930
  }
73884
- mt({}, fO, {
73931
+ ht({}, fO, {
73885
73932
  icon: /* @__PURE__ */ i.jsx("svg", {
73886
73933
  width: "12",
73887
73934
  height: "12",
@@ -74134,7 +74181,7 @@ class xv {
74134
74181
  return this.textArea ? Hu(this.textArea) : !1;
74135
74182
  }
74136
74183
  executeCommand(t, n, r, a) {
74137
- t.execute && t.execute(mt({
74184
+ t.execute && t.execute(ht({
74138
74185
  command: t
74139
74186
  }, Hu(this.textArea)), this.textApi, n, r, a);
74140
74187
  }
@@ -74284,7 +74331,7 @@ function Gle(e) {
74284
74331
  };
74285
74332
  return Ue(() => (b.current && b.current.addEventListener("keydown", w), () => {
74286
74333
  b.current && b.current.removeEventListener("keydown", w);
74287
- }), []), /* @__PURE__ */ i.jsx("textarea", mt({
74334
+ }), []), /* @__PURE__ */ i.jsx("textarea", ht({
74288
74335
  autoComplete: "off",
74289
74336
  autoCorrect: "off",
74290
74337
  autoCapitalize: "off",
@@ -74307,7 +74354,7 @@ function Wle(e) {
74307
74354
  var o = s || {}, l = o.prefixCls, c = o.className, u = o.onScroll, p = o.renderTextarea, d = nl(o, Vle), f = xi(Fi), m = f.markdown, h = f.scrollTop, g = f.commands, b = f.minHeight, y = f.highlightEnable, S = f.extraCommands, w = f.dispatch, T = we.useRef(null), A = we.useRef(), N = /* @__PURE__ */ we.createRef();
74308
74355
  Ue(() => {
74309
74356
  var D = {};
74310
- N.current && (D.textareaWarp = N.current || void 0, N.current.scrollTop = h || 0), w && w(mt({}, D));
74357
+ N.current && (D.textareaWarp = N.current || void 0, N.current.scrollTop = h || 0), w && w(ht({}, D));
74311
74358
  }, []), Ue(() => {
74312
74359
  if (T.current && w) {
74313
74360
  var D = new xv(T.current);
@@ -74330,7 +74377,7 @@ function Wle(e) {
74330
74377
  style: r ? {
74331
74378
  minHeight: b
74332
74379
  } : void 0,
74333
- children: p ? /* @__PURE__ */ we.cloneElement(p(mt({}, d, {
74380
+ children: p ? /* @__PURE__ */ we.cloneElement(p(ht({}, d, {
74334
74381
  value: m,
74335
74382
  autoComplete: "off",
74336
74383
  autoCorrect: "off",
@@ -74355,7 +74402,7 @@ function Wle(e) {
74355
74402
  }) : /* @__PURE__ */ i.jsxs(LN, {
74356
74403
  children: [n && y && /* @__PURE__ */ i.jsx(n, {
74357
74404
  prefixCls: l
74358
- }), /* @__PURE__ */ i.jsx(Gle, mt({
74405
+ }), /* @__PURE__ */ i.jsx(Gle, ht({
74359
74406
  prefixCls: l
74360
74407
  }, d, {
74361
74408
  style: R
@@ -74375,7 +74422,7 @@ function Yle(e) {
74375
74422
  () => /* @__PURE__ */ i.jsx("div", {
74376
74423
  className: n + "-toolbar-child " + (r && c[r] ? "active" : ""),
74377
74424
  onClick: (u) => u.stopPropagation(),
74378
- children: Array.isArray(a) ? /* @__PURE__ */ i.jsx(mO, mt({
74425
+ children: Array.isArray(a) ? /* @__PURE__ */ i.jsx(mO, ht({
74379
74426
  commands: a
74380
74427
  }, e, {
74381
74428
  isChild: !0
@@ -74390,13 +74437,13 @@ function pN(e) {
74390
74437
  function f(m, h) {
74391
74438
  if (p) {
74392
74439
  var g = {
74393
- barPopup: mt({}, l)
74440
+ barPopup: ht({}, l)
74394
74441
  };
74395
74442
  m.keyCommand === "preview" && (g.preview = m.value), m.keyCommand === "fullscreen" && (g.fullscreen = !a), e.commands && m.keyCommand === "group" ? e.commands.forEach((b) => {
74396
74443
  h === b.groupName ? g.barPopup[h] = !0 : b.keyCommand && (g.barPopup[b.groupName] = !1);
74397
74444
  }) : (h || m.parent) && Object.keys(g.barPopup || {}).forEach((b) => {
74398
74445
  g.barPopup[b] = !1;
74399
- }), Object.keys(g).length && p(mt({}, g)), u && u.executeCommand(m);
74446
+ }), Object.keys(g).length && p(ht({}, g)), u && u.executeCommand(m);
74400
74447
  }
74401
74448
  }
74402
74449
  return Ue(() => {
@@ -74404,7 +74451,7 @@ function pN(e) {
74404
74451
  }, [a, d, n]), /* @__PURE__ */ i.jsx("ul", {
74405
74452
  children: (e.commands || []).map((m, h) => {
74406
74453
  if (m.keyCommand === "divider")
74407
- return /* @__PURE__ */ i.jsx("li", mt({}, m.liProps, {
74454
+ return /* @__PURE__ */ i.jsx("li", ht({}, m.liProps, {
74408
74455
  className: t + "-toolbar-divider"
74409
74456
  }), h);
74410
74457
  if (!m.keyCommand) return /* @__PURE__ */ i.jsx(LN, {}, h);
@@ -74417,9 +74464,9 @@ function pN(e) {
74417
74464
  }),
74418
74465
  dispatch: p
74419
74466
  }) : void 0, y = l && s && s === "preview" && !/(preview|fullscreen)/.test(m.keyCommand), S = c?.toolbar || m.render, w = S && typeof S == "function" ? S(m, !!y, f, h) : null;
74420
- return /* @__PURE__ */ i.jsxs("li", mt({}, m.liProps, {
74467
+ return /* @__PURE__ */ i.jsxs("li", ht({}, m.liProps, {
74421
74468
  className: g ? "active" : "",
74422
- children: [w && /* @__PURE__ */ we.isValidElement(w) && w, !w && !m.buttonProps && m.icon, !w && m.buttonProps && /* @__PURE__ */ we.createElement("button", mt({
74469
+ children: [w && /* @__PURE__ */ we.isValidElement(w) && w, !w && !m.buttonProps && m.icon, !w && m.buttonProps && /* @__PURE__ */ we.createElement("button", ht({
74423
74470
  type: "button",
74424
74471
  key: h,
74425
74472
  disabled: y,
@@ -74444,9 +74491,9 @@ function mO(e) {
74444
74491
  var t = e, n = t.prefixCls, r = t.isChild, a = t.className, s = xi(Fi), o = s.commands, l = s.extraCommands;
74445
74492
  return /* @__PURE__ */ i.jsxs("div", {
74446
74493
  className: n + "-toolbar " + a,
74447
- children: [/* @__PURE__ */ i.jsx(pN, mt({}, e, {
74494
+ children: [/* @__PURE__ */ i.jsx(pN, ht({}, e, {
74448
74495
  commands: e.commands || o || []
74449
- })), !r && /* @__PURE__ */ i.jsx(pN, mt({}, e, {
74496
+ })), !r && /* @__PURE__ */ i.jsx(pN, ht({}, e, {
74450
74497
  commands: l || []
74451
74498
  }))]
74452
74499
  });
@@ -74541,12 +74588,12 @@ function Qle(e) {
74541
74588
  fullscreen: j,
74542
74589
  barPopup: {}
74543
74590
  }), He = ke[0], Ge = ke[1], le = vt(null), Re = vt(null), Ze = vt(R);
74544
- ON(c, () => mt({}, He, {
74591
+ ON(c, () => ht({}, He, {
74545
74592
  container: le.current,
74546
74593
  dispatch: Ge
74547
74594
  })), Et(() => Ze.current = R, [R]), Ue(() => {
74548
74595
  var be = {};
74549
- le.current && (be.container = le.current || void 0), be.markdown = m || "", be.barPopup = {}, Ge && Ge(mt({}, He, be));
74596
+ le.current && (be.container = le.current || void 0), be.markdown = m || "", be.barPopup = {}, Ge && Ge(ht({}, He, be));
74550
74597
  }, []);
74551
74598
  var rt = [f, "wmde-markdown-var", y ? d + "-" + y : null, d, He.preview ? d + "-show-" + He.preview : null, He.fullscreen ? d + "-fullscreen" : null].filter(Boolean).join(" ").trim();
74552
74599
  Et(() => m !== He.markdown && Ge({
@@ -74601,7 +74648,7 @@ function Qle(e) {
74601
74648
  }, de = d + "-preview " + (H.className || ""), Ae = (be) => he(be, "preview"), _ = Et(() => /* @__PURE__ */ i.jsx("div", {
74602
74649
  ref: Re,
74603
74650
  className: de,
74604
- children: /* @__PURE__ */ i.jsx(r, mt({}, H, {
74651
+ children: /* @__PURE__ */ i.jsx(r, ht({}, H, {
74605
74652
  onScroll: Ae,
74606
74653
  source: He.markdown || ""
74607
74654
  }))
@@ -74612,16 +74659,16 @@ function Qle(e) {
74612
74659
  onScroll: Ae,
74613
74660
  children: X
74614
74661
  }));
74615
- var ge = mt({}, Tt.style, {
74662
+ var ge = ht({}, Tt.style, {
74616
74663
  height: He.height || "100%"
74617
74664
  }), oe = () => Ge({
74618
- barPopup: mt({}, Zle(He.barPopup))
74665
+ barPopup: ht({}, Zle(He.barPopup))
74619
74666
  }), ye = (be) => Ge({
74620
74667
  height: be
74621
74668
  }), Te = (be) => {
74622
74669
  if (te && te(be.target.value, be, He), k && k.onChange && k.onChange(be), He.textarea && He.textarea instanceof HTMLTextAreaElement && _e) {
74623
74670
  var Pe = new xv(He.textarea), xe = Pe.getState() || {};
74624
- _e(mt({}, xe, {
74671
+ _e(ht({}, xe, {
74625
74672
  lineCount: be.target.value.split(`
74626
74673
  `).length,
74627
74674
  length: be.target.value.length
@@ -74629,10 +74676,10 @@ function Qle(e) {
74629
74676
  }
74630
74677
  };
74631
74678
  return /* @__PURE__ */ i.jsx(Fi.Provider, {
74632
- value: mt({}, He, {
74679
+ value: ht({}, He, {
74633
74680
  dispatch: Ge
74634
74681
  }),
74635
- children: /* @__PURE__ */ i.jsxs("div", mt({
74682
+ children: /* @__PURE__ */ i.jsxs("div", ht({
74636
74683
  ref: le,
74637
74684
  className: rt
74638
74685
  }, Tt, {
@@ -74646,7 +74693,7 @@ function Qle(e) {
74646
74693
  placement: "top"
74647
74694
  }), /* @__PURE__ */ i.jsxs("div", {
74648
74695
  className: d + "-content",
74649
- children: [/(edit|live)/.test(He.preview || "") && /* @__PURE__ */ i.jsx(a, mt({
74696
+ children: [/(edit|live)/.test(He.preview || "") && /* @__PURE__ */ i.jsx(a, ht({
74650
74697
  className: d + "-input",
74651
74698
  prefixCls: d,
74652
74699
  autoFocus: Q