(e)
| 10052 | } |
| 10053 | class Hd extends Ed { |
| 10054 | run(e) { |
| 10055 | const t = e.children.filter((e) => e instanceof Sd), |
| 10056 | n = {}; |
| 10057 | for (const e of t) { |
| 10058 | const t = d(e.groupBy); |
| 10059 | (t in n || (n[t] = []), n[t].push(e)); |
| 10060 | } |
| 10061 | for (const t of D(n)) { |
| 10062 | const i = n[t]; |
| 10063 | if (i.length > 1) { |
| 10064 | const t = i.pop(); |
| 10065 | for (const n of i) |
| 10066 | t.merge(n) && |
| 10067 | (e.removeChild(n), |
| 10068 | (n.parent = t), |
| 10069 | n.remove(), |
| 10070 | this.setModified()); |
| 10071 | } |
| 10072 | } |
| 10073 | } |
| 10074 | } |
| 10075 | class Gd extends Ed { |
| 10076 | constructor(e) { |
nothing calls this directly
no test coverage detected