claude-discover 1.10.0 → 1.10.2
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/bin/claude/statusline.mjs +125 -124
- package/bin/update.mjs +33 -0
- package/out/main/main.js +155 -20
- package/out/preload/preload.cjs +3 -1
- package/out/renderer/assets/{index-x_-ZeUa3.js → index-BV8MRn7r.js} +831 -674
- package/out/renderer/assets/{index-DnYN00T3.css → index-CR3tCQfY.css} +192 -303
- package/out/renderer/assets/{vendors-D2DMOduT.js → vendors-CF1AEHsu.js} +479 -340
- package/out/renderer/assets/wave-D-wH63sc.svg +3 -0
- package/out/renderer/index.html +3 -3
- package/package.json +7 -3
|
@@ -12199,15 +12199,15 @@ function requireReactDomClient_production() {
|
|
|
12199
12199
|
viewTransitionAnimations.push(animation);
|
|
12200
12200
|
animation = effect3.getKeyframes();
|
|
12201
12201
|
for (var height = pseudoElement = void 0, unchangedDimensions = true, j2 = 0; j2 < animation.length; j2++) {
|
|
12202
|
-
var keyframe = animation[j2],
|
|
12203
|
-
if (void 0 === pseudoElement) pseudoElement =
|
|
12204
|
-
else if (pseudoElement !==
|
|
12202
|
+
var keyframe = animation[j2], w2 = keyframe.width;
|
|
12203
|
+
if (void 0 === pseudoElement) pseudoElement = w2;
|
|
12204
|
+
else if (pseudoElement !== w2) {
|
|
12205
12205
|
unchangedDimensions = false;
|
|
12206
12206
|
break;
|
|
12207
12207
|
}
|
|
12208
|
-
|
|
12209
|
-
if (void 0 === height) height =
|
|
12210
|
-
else if (height !==
|
|
12208
|
+
w2 = keyframe.height;
|
|
12209
|
+
if (void 0 === height) height = w2;
|
|
12210
|
+
else if (height !== w2) {
|
|
12211
12211
|
unchangedDimensions = false;
|
|
12212
12212
|
break;
|
|
12213
12213
|
}
|
|
@@ -15487,8 +15487,8 @@ function popperGenerator(generatorOptions) {
|
|
|
15487
15487
|
popper: listScrollParents(popper2)
|
|
15488
15488
|
};
|
|
15489
15489
|
var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers2, state.options.modifiers)));
|
|
15490
|
-
state.orderedModifiers = orderedModifiers.filter(function(
|
|
15491
|
-
return
|
|
15490
|
+
state.orderedModifiers = orderedModifiers.filter(function(m2) {
|
|
15491
|
+
return m2.enabled;
|
|
15492
15492
|
});
|
|
15493
15493
|
runModifierEffects();
|
|
15494
15494
|
return instance.update();
|
|
@@ -16988,7 +16988,7 @@ function be(e) {
|
|
|
16988
16988
|
};
|
|
16989
16989
|
});
|
|
16990
16990
|
}
|
|
16991
|
-
function C(e, t = "Assertion error") {
|
|
16991
|
+
function C$1(e, t = "Assertion error") {
|
|
16992
16992
|
if (!e)
|
|
16993
16993
|
throw Error(t);
|
|
16994
16994
|
}
|
|
@@ -17034,7 +17034,7 @@ function Lt({
|
|
|
17034
17034
|
const { x: a, y: r2 } = Je(o, u), l = e === "horizontal" ? a : r2;
|
|
17035
17035
|
l < s && (s = l, i = u);
|
|
17036
17036
|
}
|
|
17037
|
-
return C(i, "No rect found"), i;
|
|
17037
|
+
return C$1(i, "No rect found"), i;
|
|
17038
17038
|
}
|
|
17039
17039
|
let de;
|
|
17040
17040
|
function Ct() {
|
|
@@ -17045,23 +17045,23 @@ function Ze(e) {
|
|
|
17045
17045
|
n,
|
|
17046
17046
|
Array.from(t.children).filter(Ye).map((z) => ({ element: z }))
|
|
17047
17047
|
).map(({ element: z }) => z), u = [];
|
|
17048
|
-
let a = false, r2 = false, l = -1, c2 = -1,
|
|
17048
|
+
let a = false, r2 = false, l = -1, c2 = -1, m2 = 0, p2, S = [];
|
|
17049
17049
|
{
|
|
17050
17050
|
let z = -1;
|
|
17051
|
-
for (const
|
|
17052
|
-
|
|
17051
|
+
for (const f2 of s)
|
|
17052
|
+
f2.hasAttribute("data-panel") && (z++, f2.hasAttribute("data-disabled") || (m2++, l === -1 && (l = z), c2 = z));
|
|
17053
17053
|
}
|
|
17054
|
-
if (
|
|
17054
|
+
if (m2 > 1) {
|
|
17055
17055
|
let z = -1;
|
|
17056
|
-
for (const
|
|
17057
|
-
if (
|
|
17056
|
+
for (const f2 of s)
|
|
17057
|
+
if (f2.hasAttribute("data-panel")) {
|
|
17058
17058
|
z++;
|
|
17059
|
-
const
|
|
17060
|
-
(h) => h.element ===
|
|
17059
|
+
const d2 = o.find(
|
|
17060
|
+
(h) => h.element === f2
|
|
17061
17061
|
);
|
|
17062
|
-
if (
|
|
17062
|
+
if (d2) {
|
|
17063
17063
|
if (p2) {
|
|
17064
|
-
const h = p2.element.getBoundingClientRect(), y =
|
|
17064
|
+
const h = p2.element.getBoundingClientRect(), y = f2.getBoundingClientRect();
|
|
17065
17065
|
let b;
|
|
17066
17066
|
if (r2) {
|
|
17067
17067
|
const v = n === "horizontal" ? new DOMRect(
|
|
@@ -17074,24 +17074,24 @@ function Ze(e) {
|
|
|
17074
17074
|
h.bottom,
|
|
17075
17075
|
h.width,
|
|
17076
17076
|
0
|
|
17077
|
-
),
|
|
17077
|
+
), g2 = n === "horizontal" ? new DOMRect(y.left, y.top, 0, y.height) : new DOMRect(y.left, y.top, y.width, 0);
|
|
17078
17078
|
switch (S.length) {
|
|
17079
17079
|
case 0: {
|
|
17080
17080
|
b = [
|
|
17081
17081
|
v,
|
|
17082
|
-
|
|
17082
|
+
g2
|
|
17083
17083
|
];
|
|
17084
17084
|
break;
|
|
17085
17085
|
}
|
|
17086
17086
|
case 1: {
|
|
17087
|
-
const
|
|
17087
|
+
const w2 = S[0], E = Lt({
|
|
17088
17088
|
orientation: n,
|
|
17089
17089
|
rects: [h, y],
|
|
17090
|
-
targetRect:
|
|
17090
|
+
targetRect: w2.element.getBoundingClientRect()
|
|
17091
17091
|
});
|
|
17092
17092
|
b = [
|
|
17093
|
-
|
|
17094
|
-
E === h ?
|
|
17093
|
+
w2,
|
|
17094
|
+
E === h ? g2 : v
|
|
17095
17095
|
];
|
|
17096
17096
|
break;
|
|
17097
17097
|
}
|
|
@@ -17115,44 +17115,44 @@ function Ze(e) {
|
|
|
17115
17115
|
)
|
|
17116
17116
|
];
|
|
17117
17117
|
for (const v of b) {
|
|
17118
|
-
let
|
|
17119
|
-
const
|
|
17120
|
-
if (
|
|
17121
|
-
const L =
|
|
17122
|
-
|
|
17123
|
-
|
|
17124
|
-
|
|
17125
|
-
|
|
17126
|
-
|
|
17118
|
+
let g2 = "width" in v ? v : v.element.getBoundingClientRect();
|
|
17119
|
+
const w2 = Ct() ? e.resizeTargetMinimumSize.coarse : e.resizeTargetMinimumSize.fine;
|
|
17120
|
+
if (g2.width < w2) {
|
|
17121
|
+
const L = w2 - g2.width;
|
|
17122
|
+
g2 = new DOMRect(
|
|
17123
|
+
g2.x - L / 2,
|
|
17124
|
+
g2.y,
|
|
17125
|
+
g2.width + L,
|
|
17126
|
+
g2.height
|
|
17127
17127
|
);
|
|
17128
17128
|
}
|
|
17129
|
-
if (
|
|
17130
|
-
const L =
|
|
17131
|
-
|
|
17132
|
-
|
|
17133
|
-
|
|
17134
|
-
|
|
17135
|
-
|
|
17129
|
+
if (g2.height < w2) {
|
|
17130
|
+
const L = w2 - g2.height;
|
|
17131
|
+
g2 = new DOMRect(
|
|
17132
|
+
g2.x,
|
|
17133
|
+
g2.y - L / 2,
|
|
17134
|
+
g2.width,
|
|
17135
|
+
g2.height + L
|
|
17136
17136
|
);
|
|
17137
17137
|
}
|
|
17138
17138
|
const E = z <= l || z > c2;
|
|
17139
17139
|
!a && !E && u.push({
|
|
17140
17140
|
group: e,
|
|
17141
17141
|
groupSize: ne({ group: e }),
|
|
17142
|
-
panels: [p2,
|
|
17142
|
+
panels: [p2, d2],
|
|
17143
17143
|
separator: "width" in v ? void 0 : v,
|
|
17144
|
-
rect:
|
|
17144
|
+
rect: g2
|
|
17145
17145
|
}), a = false;
|
|
17146
17146
|
}
|
|
17147
17147
|
}
|
|
17148
|
-
r2 = false, p2 =
|
|
17148
|
+
r2 = false, p2 = d2, S = [];
|
|
17149
17149
|
}
|
|
17150
|
-
} else if (
|
|
17151
|
-
|
|
17152
|
-
const
|
|
17153
|
-
(h) => h.element ===
|
|
17150
|
+
} else if (f2.hasAttribute("data-separator")) {
|
|
17151
|
+
f2.ariaDisabled !== null && (a = true);
|
|
17152
|
+
const d2 = i.find(
|
|
17153
|
+
(h) => h.element === f2
|
|
17154
17154
|
);
|
|
17155
|
-
|
|
17155
|
+
d2 ? S.push(d2) : (p2 = void 0, S = []);
|
|
17156
17156
|
} else
|
|
17157
17157
|
r2 = true;
|
|
17158
17158
|
}
|
|
@@ -17395,7 +17395,7 @@ function Ot(e, t) {
|
|
|
17395
17395
|
let o;
|
|
17396
17396
|
for (; n.a.at(-1) === n.b.at(-1); )
|
|
17397
17397
|
o = n.a.pop(), n.b.pop();
|
|
17398
|
-
C(
|
|
17398
|
+
C$1(
|
|
17399
17399
|
o,
|
|
17400
17400
|
"Stacking order can only be calculated for elements with a common ancestor"
|
|
17401
17401
|
);
|
|
@@ -17430,7 +17430,7 @@ function Ae(e) {
|
|
|
17430
17430
|
let t = e.length;
|
|
17431
17431
|
for (; t--; ) {
|
|
17432
17432
|
const n = e[t];
|
|
17433
|
-
if (C(n, "Missing node"), Ft(n)) return n;
|
|
17433
|
+
if (C$1(n, "Missing node"), Ft(n)) return n;
|
|
17434
17434
|
}
|
|
17435
17435
|
return null;
|
|
17436
17436
|
}
|
|
@@ -17532,159 +17532,159 @@ function ae({
|
|
|
17532
17532
|
}) {
|
|
17533
17533
|
if (D(e, 0))
|
|
17534
17534
|
return t;
|
|
17535
|
-
const u = s === "imperative-api", a = Object.values(t), r2 = Object.values(i), l = [...a], [c2,
|
|
17536
|
-
C(c2 != null, "Invalid first pivot index"), C(
|
|
17535
|
+
const u = s === "imperative-api", a = Object.values(t), r2 = Object.values(i), l = [...a], [c2, m2] = o;
|
|
17536
|
+
C$1(c2 != null, "Invalid first pivot index"), C$1(m2 != null, "Invalid second pivot index");
|
|
17537
17537
|
let p2 = 0;
|
|
17538
17538
|
switch (s) {
|
|
17539
17539
|
case "keyboard": {
|
|
17540
17540
|
{
|
|
17541
|
-
const
|
|
17542
|
-
C(
|
|
17543
|
-
|
|
17544
|
-
`Panel constraints not found for index ${
|
|
17541
|
+
const f2 = e < 0 ? m2 : c2, d2 = n[f2];
|
|
17542
|
+
C$1(
|
|
17543
|
+
d2,
|
|
17544
|
+
`Panel constraints not found for index ${f2}`
|
|
17545
17545
|
);
|
|
17546
17546
|
const {
|
|
17547
17547
|
collapsedSize: h = 0,
|
|
17548
17548
|
collapsible: y,
|
|
17549
17549
|
minSize: b = 0
|
|
17550
|
-
} =
|
|
17550
|
+
} = d2;
|
|
17551
17551
|
if (y) {
|
|
17552
|
-
const v = a[
|
|
17553
|
-
if (C(
|
|
17552
|
+
const v = a[f2];
|
|
17553
|
+
if (C$1(
|
|
17554
17554
|
v != null,
|
|
17555
|
-
`Previous layout not found for panel index ${
|
|
17555
|
+
`Previous layout not found for panel index ${f2}`
|
|
17556
17556
|
), D(v, h)) {
|
|
17557
|
-
const
|
|
17558
|
-
A(
|
|
17557
|
+
const g2 = b - v;
|
|
17558
|
+
A(g2, Math.abs(e)) > 0 && (e = e < 0 ? 0 - g2 : g2);
|
|
17559
17559
|
}
|
|
17560
17560
|
}
|
|
17561
17561
|
}
|
|
17562
17562
|
{
|
|
17563
|
-
const
|
|
17564
|
-
C(
|
|
17565
|
-
|
|
17566
|
-
`No panel constraints found for index ${
|
|
17563
|
+
const f2 = e < 0 ? c2 : m2, d2 = n[f2];
|
|
17564
|
+
C$1(
|
|
17565
|
+
d2,
|
|
17566
|
+
`No panel constraints found for index ${f2}`
|
|
17567
17567
|
);
|
|
17568
17568
|
const {
|
|
17569
17569
|
collapsedSize: h = 0,
|
|
17570
17570
|
collapsible: y,
|
|
17571
17571
|
minSize: b = 0
|
|
17572
|
-
} =
|
|
17572
|
+
} = d2;
|
|
17573
17573
|
if (y) {
|
|
17574
|
-
const v = a[
|
|
17575
|
-
if (C(
|
|
17574
|
+
const v = a[f2];
|
|
17575
|
+
if (C$1(
|
|
17576
17576
|
v != null,
|
|
17577
|
-
`Previous layout not found for panel index ${
|
|
17577
|
+
`Previous layout not found for panel index ${f2}`
|
|
17578
17578
|
), D(v, b)) {
|
|
17579
|
-
const
|
|
17580
|
-
A(
|
|
17579
|
+
const g2 = v - h;
|
|
17580
|
+
A(g2, Math.abs(e)) > 0 && (e = e < 0 ? 0 - g2 : g2);
|
|
17581
17581
|
}
|
|
17582
17582
|
}
|
|
17583
17583
|
}
|
|
17584
17584
|
break;
|
|
17585
17585
|
}
|
|
17586
17586
|
default: {
|
|
17587
|
-
const
|
|
17588
|
-
C(
|
|
17589
|
-
|
|
17590
|
-
`Panel constraints not found for index ${
|
|
17587
|
+
const f2 = e < 0 ? m2 : c2, d2 = n[f2];
|
|
17588
|
+
C$1(
|
|
17589
|
+
d2,
|
|
17590
|
+
`Panel constraints not found for index ${f2}`
|
|
17591
17591
|
);
|
|
17592
|
-
const h = a[
|
|
17592
|
+
const h = a[f2], { collapsible: y, collapsedSize: b, minSize: v } = d2;
|
|
17593
17593
|
if (y && A(h, v) < 0)
|
|
17594
17594
|
if (e > 0) {
|
|
17595
|
-
const
|
|
17596
|
-
A(E, v) < 0 && (e = A(e,
|
|
17595
|
+
const g2 = v - b, w2 = g2 / 2, E = h + e;
|
|
17596
|
+
A(E, v) < 0 && (e = A(e, w2) <= 0 ? 0 : g2);
|
|
17597
17597
|
} else {
|
|
17598
|
-
const
|
|
17599
|
-
A(E, v) < 0 && (e = A(100 + e,
|
|
17598
|
+
const g2 = v - b, w2 = 100 - g2 / 2, E = h - e;
|
|
17599
|
+
A(E, v) < 0 && (e = A(100 + e, w2) > 0 ? 0 : -g2);
|
|
17600
17600
|
}
|
|
17601
17601
|
break;
|
|
17602
17602
|
}
|
|
17603
17603
|
}
|
|
17604
17604
|
{
|
|
17605
|
-
const
|
|
17606
|
-
let
|
|
17605
|
+
const f2 = e < 0 ? 1 : -1;
|
|
17606
|
+
let d2 = e < 0 ? m2 : c2, h = 0;
|
|
17607
17607
|
for (; ; ) {
|
|
17608
|
-
const b = a[
|
|
17609
|
-
C(
|
|
17608
|
+
const b = a[d2];
|
|
17609
|
+
C$1(
|
|
17610
17610
|
b != null,
|
|
17611
|
-
`Previous layout not found for panel index ${
|
|
17611
|
+
`Previous layout not found for panel index ${d2}`
|
|
17612
17612
|
);
|
|
17613
|
-
const
|
|
17613
|
+
const g2 = Z({
|
|
17614
17614
|
overrideDisabledPanels: u,
|
|
17615
|
-
panelConstraints: n[
|
|
17615
|
+
panelConstraints: n[d2],
|
|
17616
17616
|
prevSize: b,
|
|
17617
17617
|
size: 100
|
|
17618
17618
|
}) - b;
|
|
17619
|
-
if (h +=
|
|
17619
|
+
if (h += g2, d2 += f2, d2 < 0 || d2 >= n.length)
|
|
17620
17620
|
break;
|
|
17621
17621
|
}
|
|
17622
17622
|
const y = Math.min(Math.abs(e), Math.abs(h));
|
|
17623
17623
|
e = e < 0 ? 0 - y : y;
|
|
17624
17624
|
}
|
|
17625
17625
|
{
|
|
17626
|
-
let
|
|
17627
|
-
for (;
|
|
17628
|
-
const h = Math.abs(e) - Math.abs(p2), y = a[
|
|
17629
|
-
C(
|
|
17626
|
+
let d2 = e < 0 ? c2 : m2;
|
|
17627
|
+
for (; d2 >= 0 && d2 < n.length; ) {
|
|
17628
|
+
const h = Math.abs(e) - Math.abs(p2), y = a[d2];
|
|
17629
|
+
C$1(
|
|
17630
17630
|
y != null,
|
|
17631
|
-
`Previous layout not found for panel index ${
|
|
17631
|
+
`Previous layout not found for panel index ${d2}`
|
|
17632
17632
|
);
|
|
17633
17633
|
const b = y - h, v = Z({
|
|
17634
17634
|
overrideDisabledPanels: u,
|
|
17635
|
-
panelConstraints: n[
|
|
17635
|
+
panelConstraints: n[d2],
|
|
17636
17636
|
prevSize: y,
|
|
17637
17637
|
size: b
|
|
17638
17638
|
});
|
|
17639
|
-
if (!D(y, v) && (p2 += y - v, l[
|
|
17639
|
+
if (!D(y, v) && (p2 += y - v, l[d2] = v, p2.toFixed(3).localeCompare(Math.abs(e).toFixed(3), void 0, {
|
|
17640
17640
|
numeric: true
|
|
17641
17641
|
}) >= 0))
|
|
17642
17642
|
break;
|
|
17643
|
-
e < 0 ?
|
|
17643
|
+
e < 0 ? d2-- : d2++;
|
|
17644
17644
|
}
|
|
17645
17645
|
}
|
|
17646
17646
|
if ($t(r2, l))
|
|
17647
17647
|
return i;
|
|
17648
17648
|
{
|
|
17649
|
-
const
|
|
17650
|
-
C(
|
|
17651
|
-
|
|
17652
|
-
`Previous layout not found for panel index ${
|
|
17649
|
+
const f2 = e < 0 ? m2 : c2, d2 = a[f2];
|
|
17650
|
+
C$1(
|
|
17651
|
+
d2 != null,
|
|
17652
|
+
`Previous layout not found for panel index ${f2}`
|
|
17653
17653
|
);
|
|
17654
|
-
const h =
|
|
17654
|
+
const h = d2 + p2, y = Z({
|
|
17655
17655
|
overrideDisabledPanels: u,
|
|
17656
|
-
panelConstraints: n[
|
|
17657
|
-
prevSize:
|
|
17656
|
+
panelConstraints: n[f2],
|
|
17657
|
+
prevSize: d2,
|
|
17658
17658
|
size: h
|
|
17659
17659
|
});
|
|
17660
|
-
if (l[
|
|
17661
|
-
let b = h - y,
|
|
17662
|
-
for (;
|
|
17663
|
-
const
|
|
17664
|
-
C(
|
|
17665
|
-
|
|
17666
|
-
`Previous layout not found for panel index ${
|
|
17660
|
+
if (l[f2] = y, !D(y, h)) {
|
|
17661
|
+
let b = h - y, g2 = e < 0 ? m2 : c2;
|
|
17662
|
+
for (; g2 >= 0 && g2 < n.length; ) {
|
|
17663
|
+
const w2 = l[g2];
|
|
17664
|
+
C$1(
|
|
17665
|
+
w2 != null,
|
|
17666
|
+
`Previous layout not found for panel index ${g2}`
|
|
17667
17667
|
);
|
|
17668
|
-
const E =
|
|
17668
|
+
const E = w2 + b, L = Z({
|
|
17669
17669
|
overrideDisabledPanels: u,
|
|
17670
|
-
panelConstraints: n[
|
|
17671
|
-
prevSize:
|
|
17670
|
+
panelConstraints: n[g2],
|
|
17671
|
+
prevSize: w2,
|
|
17672
17672
|
size: E
|
|
17673
17673
|
});
|
|
17674
|
-
if (D(
|
|
17674
|
+
if (D(w2, L) || (b -= L - w2, l[g2] = L), D(b, 0))
|
|
17675
17675
|
break;
|
|
17676
|
-
e > 0 ?
|
|
17676
|
+
e > 0 ? g2-- : g2++;
|
|
17677
17677
|
}
|
|
17678
17678
|
}
|
|
17679
17679
|
}
|
|
17680
17680
|
const S = Object.values(l).reduce(
|
|
17681
|
-
(
|
|
17681
|
+
(f2, d2) => d2 + f2,
|
|
17682
17682
|
0
|
|
17683
17683
|
);
|
|
17684
17684
|
if (!D(S, 100, 0.1))
|
|
17685
17685
|
return i;
|
|
17686
17686
|
const z = Object.keys(i);
|
|
17687
|
-
return l.reduce((
|
|
17687
|
+
return l.reduce((f2, d2, h) => (f2[z[h]] = d2, f2), {});
|
|
17688
17688
|
}
|
|
17689
17689
|
function K(e, t) {
|
|
17690
17690
|
if (Object.keys(e).length !== Object.keys(t).length)
|
|
@@ -17709,16 +17709,16 @@ function X({
|
|
|
17709
17709
|
if (!D(i, 100) && o.length > 0)
|
|
17710
17710
|
for (let a = 0; a < t.length; a++) {
|
|
17711
17711
|
const r2 = o[a];
|
|
17712
|
-
C(r2 != null, `No layout data found for index ${a}`);
|
|
17712
|
+
C$1(r2 != null, `No layout data found for index ${a}`);
|
|
17713
17713
|
const l = 100 / i * r2;
|
|
17714
17714
|
o[a] = l;
|
|
17715
17715
|
}
|
|
17716
17716
|
let s = 0;
|
|
17717
17717
|
for (let a = 0; a < t.length; a++) {
|
|
17718
17718
|
const r2 = n[a];
|
|
17719
|
-
C(r2 != null, `No layout data found for index ${a}`);
|
|
17719
|
+
C$1(r2 != null, `No layout data found for index ${a}`);
|
|
17720
17720
|
const l = o[a];
|
|
17721
|
-
C(l != null, `No layout data found for index ${a}`);
|
|
17721
|
+
C$1(l != null, `No layout data found for index ${a}`);
|
|
17722
17722
|
const c2 = Z({
|
|
17723
17723
|
overrideDisabledPanels: true,
|
|
17724
17724
|
panelConstraints: t[a],
|
|
@@ -17730,7 +17730,7 @@ function X({
|
|
|
17730
17730
|
if (!D(s, 0))
|
|
17731
17731
|
for (let a = 0; a < t.length; a++) {
|
|
17732
17732
|
const r2 = o[a];
|
|
17733
|
-
C(r2 != null, `No layout data found for index ${a}`);
|
|
17733
|
+
C$1(r2 != null, `No layout data found for index ${a}`);
|
|
17734
17734
|
const l = r2 + s, c2 = Z({
|
|
17735
17735
|
overrideDisabledPanels: true,
|
|
17736
17736
|
panelConstraints: t[a],
|
|
@@ -17753,7 +17753,7 @@ function at({
|
|
|
17753
17753
|
l,
|
|
17754
17754
|
{
|
|
17755
17755
|
defaultLayoutDeferred: c2,
|
|
17756
|
-
derivedPanelConstraints:
|
|
17756
|
+
derivedPanelConstraints: m2,
|
|
17757
17757
|
layout: p2,
|
|
17758
17758
|
groupSize: S,
|
|
17759
17759
|
separatorToPanels: z
|
|
@@ -17762,7 +17762,7 @@ function at({
|
|
|
17762
17762
|
if (l.id === e)
|
|
17763
17763
|
return {
|
|
17764
17764
|
defaultLayoutDeferred: c2,
|
|
17765
|
-
derivedPanelConstraints:
|
|
17765
|
+
derivedPanelConstraints: m2,
|
|
17766
17766
|
group: l,
|
|
17767
17767
|
groupSize: S,
|
|
17768
17768
|
layout: p2,
|
|
@@ -17790,11 +17790,11 @@ function at({
|
|
|
17790
17790
|
nextSize: r2,
|
|
17791
17791
|
panels: l,
|
|
17792
17792
|
prevLayout: c2,
|
|
17793
|
-
derivedPanelConstraints:
|
|
17793
|
+
derivedPanelConstraints: m2
|
|
17794
17794
|
}) => {
|
|
17795
|
-
const p2 = s(), S = l.findIndex((h) => h.id === t), z = S === 0,
|
|
17796
|
-
if (
|
|
17797
|
-
const b =
|
|
17795
|
+
const p2 = s(), S = l.findIndex((h) => h.id === t), z = S === 0, f2 = S === l.length - 1;
|
|
17796
|
+
if (f2 && r2 < p2 && (z || l.slice(0, S).every((h, y) => {
|
|
17797
|
+
const b = m2[y];
|
|
17798
17798
|
return b?.collapsible && D(b.collapsedSize, c2[b.panelId]);
|
|
17799
17799
|
}))) {
|
|
17800
17800
|
const h = l.slice(0, S).reduce((y, b) => y + c2[b.id], 0);
|
|
@@ -17804,10 +17804,10 @@ function at({
|
|
|
17804
17804
|
};
|
|
17805
17805
|
}
|
|
17806
17806
|
return ae({
|
|
17807
|
-
delta:
|
|
17807
|
+
delta: f2 ? p2 - r2 : r2 - p2,
|
|
17808
17808
|
initialLayout: c2,
|
|
17809
|
-
panelConstraints:
|
|
17810
|
-
pivotIndices:
|
|
17809
|
+
panelConstraints: m2,
|
|
17810
|
+
pivotIndices: f2 ? [S - 1, S] : [S, S + 1],
|
|
17811
17811
|
prevLayout: c2,
|
|
17812
17812
|
trigger: "imperative-api"
|
|
17813
17813
|
});
|
|
@@ -17817,45 +17817,45 @@ function at({
|
|
|
17817
17817
|
return;
|
|
17818
17818
|
const {
|
|
17819
17819
|
defaultLayoutDeferred: c2,
|
|
17820
|
-
derivedPanelConstraints:
|
|
17820
|
+
derivedPanelConstraints: m2,
|
|
17821
17821
|
group: p2,
|
|
17822
17822
|
groupSize: S,
|
|
17823
17823
|
layout: z,
|
|
17824
|
-
separatorToPanels:
|
|
17825
|
-
} = n(),
|
|
17824
|
+
separatorToPanels: f2
|
|
17825
|
+
} = n(), d2 = u({
|
|
17826
17826
|
nextSize: r2,
|
|
17827
17827
|
panels: p2.panels,
|
|
17828
17828
|
prevLayout: z,
|
|
17829
|
-
derivedPanelConstraints:
|
|
17829
|
+
derivedPanelConstraints: m2
|
|
17830
17830
|
}), h = X({
|
|
17831
|
-
layout:
|
|
17832
|
-
panelConstraints:
|
|
17831
|
+
layout: d2,
|
|
17832
|
+
panelConstraints: m2
|
|
17833
17833
|
});
|
|
17834
17834
|
K(z, h) || j(p2, {
|
|
17835
17835
|
defaultLayoutDeferred: c2,
|
|
17836
|
-
derivedPanelConstraints:
|
|
17836
|
+
derivedPanelConstraints: m2,
|
|
17837
17837
|
groupSize: S,
|
|
17838
17838
|
layout: h,
|
|
17839
|
-
separatorToPanels:
|
|
17839
|
+
separatorToPanels: f2
|
|
17840
17840
|
});
|
|
17841
17841
|
};
|
|
17842
17842
|
return {
|
|
17843
17843
|
collapse: () => {
|
|
17844
|
-
const { collapsible: r2, collapsedSize: l } = o(), { mutableValues: c2 } = i(),
|
|
17845
|
-
r2 &&
|
|
17844
|
+
const { collapsible: r2, collapsedSize: l } = o(), { mutableValues: c2 } = i(), m2 = s();
|
|
17845
|
+
r2 && m2 !== l && (c2.expandToSize = m2, a(l));
|
|
17846
17846
|
},
|
|
17847
17847
|
expand: () => {
|
|
17848
|
-
const { collapsible: r2, collapsedSize: l, minSize: c2 } = o(), { mutableValues:
|
|
17848
|
+
const { collapsible: r2, collapsedSize: l, minSize: c2 } = o(), { mutableValues: m2 } = i(), p2 = s();
|
|
17849
17849
|
if (r2 && p2 === l) {
|
|
17850
|
-
let S =
|
|
17850
|
+
let S = m2.expandToSize ?? c2;
|
|
17851
17851
|
S === 0 && (S = 1), a(S);
|
|
17852
17852
|
}
|
|
17853
17853
|
},
|
|
17854
17854
|
getSize: () => {
|
|
17855
|
-
const { group: r2 } = n(), l = s(), { element: c2 } = i(),
|
|
17855
|
+
const { group: r2 } = n(), l = s(), { element: c2 } = i(), m2 = r2.orientation === "horizontal" ? c2.offsetWidth : c2.offsetHeight;
|
|
17856
17856
|
return {
|
|
17857
17857
|
asPercentage: l,
|
|
17858
|
-
inPixels:
|
|
17858
|
+
inPixels: m2
|
|
17859
17859
|
};
|
|
17860
17860
|
},
|
|
17861
17861
|
isCollapsed: () => {
|
|
@@ -17863,11 +17863,11 @@ function at({
|
|
|
17863
17863
|
return r2 && D(l, c2);
|
|
17864
17864
|
},
|
|
17865
17865
|
resize: (r2) => {
|
|
17866
|
-
const { group: l } = n(), { element: c2 } = i(),
|
|
17867
|
-
groupSize:
|
|
17866
|
+
const { group: l } = n(), { element: c2 } = i(), m2 = ne({ group: l }), p2 = oe({
|
|
17867
|
+
groupSize: m2,
|
|
17868
17868
|
panelElement: c2,
|
|
17869
17869
|
styleProp: r2
|
|
17870
|
-
}), S = T(p2 /
|
|
17870
|
+
}), S = T(p2 / m2 * 100);
|
|
17871
17871
|
a(S);
|
|
17872
17872
|
}
|
|
17873
17873
|
};
|
|
@@ -17939,12 +17939,12 @@ function lt({
|
|
|
17939
17939
|
}
|
|
17940
17940
|
function B(e, t) {
|
|
17941
17941
|
const n = he(e), o = H(n.id, true), i = n.separators.find(
|
|
17942
|
-
(
|
|
17942
|
+
(m2) => m2.element === e
|
|
17943
17943
|
);
|
|
17944
|
-
C(i, "Matching separator not found");
|
|
17944
|
+
C$1(i, "Matching separator not found");
|
|
17945
17945
|
const s = o.separatorToPanels.get(i);
|
|
17946
|
-
C(s, "Matching panels not found");
|
|
17947
|
-
const u = s.map((
|
|
17946
|
+
C$1(s, "Matching panels not found");
|
|
17947
|
+
const u = s.map((m2) => n.panels.indexOf(m2)), r2 = lt({ groupId: n.id }).getLayout(), l = ae({
|
|
17948
17948
|
delta: t,
|
|
17949
17949
|
initialLayout: r2,
|
|
17950
17950
|
panelConstraints: o.derivedPanelConstraints,
|
|
@@ -18002,14 +18002,14 @@ function $e(e) {
|
|
|
18002
18002
|
const o = he(t), i = H(o.id, true), { derivedPanelConstraints: s, layout: u, separatorToPanels: a } = i, r2 = o.separators.find(
|
|
18003
18003
|
(p2) => p2.element === t
|
|
18004
18004
|
);
|
|
18005
|
-
C(r2, "Matching separator not found");
|
|
18005
|
+
C$1(r2, "Matching separator not found");
|
|
18006
18006
|
const l = a.get(r2);
|
|
18007
|
-
C(l, "Matching panels not found");
|
|
18008
|
-
const c2 = l[0],
|
|
18007
|
+
C$1(l, "Matching panels not found");
|
|
18008
|
+
const c2 = l[0], m2 = s.find(
|
|
18009
18009
|
(p2) => p2.panelId === c2.id
|
|
18010
18010
|
);
|
|
18011
|
-
if (C(
|
|
18012
|
-
const p2 = u[c2.id], S =
|
|
18011
|
+
if (C$1(m2, "Panel metadata not found"), m2.collapsible) {
|
|
18012
|
+
const p2 = u[c2.id], S = m2.collapsedSize === p2 ? o.mutableState.expandedPanelSizes[c2.id] ?? m2.minSize : m2.collapsedSize;
|
|
18013
18013
|
B(t, S - p2);
|
|
18014
18014
|
}
|
|
18015
18015
|
break;
|
|
@@ -18021,7 +18021,7 @@ function $e(e) {
|
|
|
18021
18021
|
), s = Array.from(i).findIndex(
|
|
18022
18022
|
(r2) => r2 === e.currentTarget
|
|
18023
18023
|
);
|
|
18024
|
-
C(s !== null, "Index not found");
|
|
18024
|
+
C$1(s !== null, "Index not found");
|
|
18025
18025
|
const u = e.shiftKey ? s > 0 ? s - 1 : i.length - 1 : s + 1 < i.length ? s + 1 : 0;
|
|
18026
18026
|
i[u].focus({
|
|
18027
18027
|
preventScroll: true
|
|
@@ -18068,37 +18068,37 @@ function ut({
|
|
|
18068
18068
|
}) {
|
|
18069
18069
|
let a = 0;
|
|
18070
18070
|
n.forEach((l) => {
|
|
18071
|
-
const { group: c2, groupSize:
|
|
18072
|
-
let
|
|
18073
|
-
s ? p2 === "horizontal" ?
|
|
18074
|
-
const
|
|
18075
|
-
if (!
|
|
18071
|
+
const { group: c2, groupSize: m2 } = l, { orientation: p2, panels: S } = c2, { disableCursor: z } = c2.mutableState;
|
|
18072
|
+
let f2 = 0;
|
|
18073
|
+
s ? p2 === "horizontal" ? f2 = (t.clientX - s.x) / m2 * 100 : f2 = (t.clientY - s.y) / m2 * 100 : p2 === "horizontal" ? f2 = t.clientX < 0 ? -100 : 100 : f2 = t.clientY < 0 ? -100 : 100;
|
|
18074
|
+
const d2 = o.get(c2), h = i.get(c2);
|
|
18075
|
+
if (!d2 || !h)
|
|
18076
18076
|
return;
|
|
18077
18077
|
const {
|
|
18078
18078
|
defaultLayoutDeferred: y,
|
|
18079
18079
|
derivedPanelConstraints: b,
|
|
18080
18080
|
groupSize: v,
|
|
18081
|
-
layout:
|
|
18082
|
-
separatorToPanels:
|
|
18081
|
+
layout: g2,
|
|
18082
|
+
separatorToPanels: w2
|
|
18083
18083
|
} = h;
|
|
18084
|
-
if (b &&
|
|
18084
|
+
if (b && g2 && w2) {
|
|
18085
18085
|
const E = ae({
|
|
18086
|
-
delta:
|
|
18087
|
-
initialLayout:
|
|
18086
|
+
delta: f2,
|
|
18087
|
+
initialLayout: d2,
|
|
18088
18088
|
panelConstraints: b,
|
|
18089
18089
|
pivotIndices: l.panels.map((L) => S.indexOf(L)),
|
|
18090
|
-
prevLayout:
|
|
18090
|
+
prevLayout: g2,
|
|
18091
18091
|
trigger: "mouse-or-touch"
|
|
18092
18092
|
});
|
|
18093
|
-
if (K(E,
|
|
18094
|
-
if (
|
|
18093
|
+
if (K(E, g2)) {
|
|
18094
|
+
if (f2 !== 0 && !z)
|
|
18095
18095
|
switch (p2) {
|
|
18096
18096
|
case "horizontal": {
|
|
18097
|
-
a |=
|
|
18097
|
+
a |= f2 < 0 ? et : tt;
|
|
18098
18098
|
break;
|
|
18099
18099
|
}
|
|
18100
18100
|
case "vertical": {
|
|
18101
|
-
a |=
|
|
18101
|
+
a |= f2 < 0 ? nt : ot;
|
|
18102
18102
|
break;
|
|
18103
18103
|
}
|
|
18104
18104
|
}
|
|
@@ -18108,7 +18108,7 @@ function ut({
|
|
|
18108
18108
|
derivedPanelConstraints: b,
|
|
18109
18109
|
groupSize: v,
|
|
18110
18110
|
layout: E,
|
|
18111
|
-
separatorToPanels:
|
|
18111
|
+
separatorToPanels: w2
|
|
18112
18112
|
});
|
|
18113
18113
|
}
|
|
18114
18114
|
});
|
|
@@ -18250,20 +18250,20 @@ function Ut({
|
|
|
18250
18250
|
return o;
|
|
18251
18251
|
let i = 0, s = 0, u = false;
|
|
18252
18252
|
const a = /* @__PURE__ */ new Map(), r2 = [];
|
|
18253
|
-
for (const
|
|
18254
|
-
const p2 = o[
|
|
18255
|
-
switch (
|
|
18253
|
+
for (const m2 of e.panels) {
|
|
18254
|
+
const p2 = o[m2.id] ?? 0;
|
|
18255
|
+
switch (m2.panelConstraints.groupResizeBehavior) {
|
|
18256
18256
|
case "preserve-pixel-size": {
|
|
18257
18257
|
u = true;
|
|
18258
18258
|
const S = p2 / 100 * n, z = T(
|
|
18259
18259
|
S / t * 100
|
|
18260
18260
|
);
|
|
18261
|
-
a.set(
|
|
18261
|
+
a.set(m2.id, z), i += z;
|
|
18262
18262
|
break;
|
|
18263
18263
|
}
|
|
18264
18264
|
case "preserve-relative-size":
|
|
18265
18265
|
default: {
|
|
18266
|
-
r2.push(
|
|
18266
|
+
r2.push(m2.id), s += p2;
|
|
18267
18267
|
break;
|
|
18268
18268
|
}
|
|
18269
18269
|
}
|
|
@@ -18271,21 +18271,21 @@ function Ut({
|
|
|
18271
18271
|
if (!u || r2.length === 0)
|
|
18272
18272
|
return o;
|
|
18273
18273
|
const l = 100 - i, c2 = { ...o };
|
|
18274
|
-
if (a.forEach((
|
|
18275
|
-
c2[p2] =
|
|
18274
|
+
if (a.forEach((m2, p2) => {
|
|
18275
|
+
c2[p2] = m2;
|
|
18276
18276
|
}), s > 0)
|
|
18277
|
-
for (const
|
|
18278
|
-
const p2 = o[
|
|
18279
|
-
c2[
|
|
18277
|
+
for (const m2 of r2) {
|
|
18278
|
+
const p2 = o[m2] ?? 0;
|
|
18279
|
+
c2[m2] = T(
|
|
18280
18280
|
p2 / s * l
|
|
18281
18281
|
);
|
|
18282
18282
|
}
|
|
18283
18283
|
else {
|
|
18284
|
-
const
|
|
18284
|
+
const m2 = T(
|
|
18285
18285
|
l / r2.length
|
|
18286
18286
|
);
|
|
18287
18287
|
for (const p2 of r2)
|
|
18288
|
-
c2[p2] =
|
|
18288
|
+
c2[p2] = m2;
|
|
18289
18289
|
}
|
|
18290
18290
|
return c2;
|
|
18291
18291
|
}
|
|
@@ -18301,13 +18301,13 @@ function Bt(e, t) {
|
|
|
18301
18301
|
const J = /* @__PURE__ */ new Map();
|
|
18302
18302
|
function Wt(e) {
|
|
18303
18303
|
let t = true;
|
|
18304
|
-
C(
|
|
18304
|
+
C$1(
|
|
18305
18305
|
e.element.ownerDocument.defaultView,
|
|
18306
18306
|
"Cannot register an unmounted Group"
|
|
18307
18307
|
);
|
|
18308
|
-
const n = e.element.ownerDocument.defaultView.ResizeObserver, o = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), s = new n((
|
|
18309
|
-
for (const
|
|
18310
|
-
const { borderBoxSize: h, target: y } =
|
|
18308
|
+
const n = e.element.ownerDocument.defaultView.ResizeObserver, o = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), s = new n((f2) => {
|
|
18309
|
+
for (const d2 of f2) {
|
|
18310
|
+
const { borderBoxSize: h, target: y } = d2;
|
|
18311
18311
|
if (y === e.element) {
|
|
18312
18312
|
if (t) {
|
|
18313
18313
|
const b = ne({ group: e });
|
|
@@ -18316,23 +18316,23 @@ function Wt(e) {
|
|
|
18316
18316
|
const v = H(e.id);
|
|
18317
18317
|
if (!v)
|
|
18318
18318
|
return;
|
|
18319
|
-
const
|
|
18319
|
+
const g2 = be(e), w2 = v.defaultLayoutDeferred ? We(g2) : v.layout, E = Ut({
|
|
18320
18320
|
group: e,
|
|
18321
18321
|
nextGroupSize: b,
|
|
18322
18322
|
prevGroupSize: v.groupSize,
|
|
18323
|
-
prevLayout:
|
|
18323
|
+
prevLayout: w2
|
|
18324
18324
|
}), L = X({
|
|
18325
18325
|
layout: E,
|
|
18326
|
-
panelConstraints:
|
|
18326
|
+
panelConstraints: g2
|
|
18327
18327
|
});
|
|
18328
18328
|
if (!v.defaultLayoutDeferred && K(v.layout, L) && Vt(
|
|
18329
18329
|
v.derivedPanelConstraints,
|
|
18330
|
-
|
|
18330
|
+
g2
|
|
18331
18331
|
) && v.groupSize === b)
|
|
18332
18332
|
continue;
|
|
18333
18333
|
j(e, {
|
|
18334
18334
|
defaultLayoutDeferred: false,
|
|
18335
|
-
derivedPanelConstraints:
|
|
18335
|
+
derivedPanelConstraints: g2,
|
|
18336
18336
|
groupSize: b,
|
|
18337
18337
|
layout: L,
|
|
18338
18338
|
separatorToPanels: v.separatorToPanels
|
|
@@ -18342,16 +18342,16 @@ function Wt(e) {
|
|
|
18342
18342
|
jt(e, y, h);
|
|
18343
18343
|
}
|
|
18344
18344
|
});
|
|
18345
|
-
s.observe(e.element), e.panels.forEach((
|
|
18346
|
-
C(
|
|
18347
|
-
!o.has(
|
|
18348
|
-
`Panel ids must be unique; id "${
|
|
18349
|
-
), o.add(
|
|
18345
|
+
s.observe(e.element), e.panels.forEach((f2) => {
|
|
18346
|
+
C$1(
|
|
18347
|
+
!o.has(f2.id),
|
|
18348
|
+
`Panel ids must be unique; id "${f2.id}" was used more than once`
|
|
18349
|
+
), o.add(f2.id), f2.onResize && s.observe(f2.element);
|
|
18350
18350
|
});
|
|
18351
|
-
const u = ne({ group: e }), a = be(e), r2 = e.panels.map(({ id:
|
|
18351
|
+
const u = ne({ group: e }), a = be(e), r2 = e.panels.map(({ id: f2 }) => f2).join(",");
|
|
18352
18352
|
let l = e.mutableState.defaultLayout;
|
|
18353
18353
|
l && (Bt(e.panels, l) || (l = void 0));
|
|
18354
|
-
const c2 = e.mutableState.layouts[r2] ?? l ?? We(a),
|
|
18354
|
+
const c2 = e.mutableState.layouts[r2] ?? l ?? We(a), m2 = X({
|
|
18355
18355
|
layout: c2,
|
|
18356
18356
|
panelConstraints: a
|
|
18357
18357
|
}), p2 = e.element.ownerDocument;
|
|
@@ -18360,25 +18360,25 @@ function Wt(e) {
|
|
|
18360
18360
|
(J.get(p2) ?? 0) + 1
|
|
18361
18361
|
);
|
|
18362
18362
|
const S = /* @__PURE__ */ new Map();
|
|
18363
|
-
return Ze(e).forEach((
|
|
18364
|
-
|
|
18363
|
+
return Ze(e).forEach((f2) => {
|
|
18364
|
+
f2.separator && S.set(f2.separator, f2.panels);
|
|
18365
18365
|
}), j(e, {
|
|
18366
18366
|
defaultLayoutDeferred: u === 0,
|
|
18367
18367
|
derivedPanelConstraints: a,
|
|
18368
18368
|
groupSize: u,
|
|
18369
|
-
layout:
|
|
18369
|
+
layout: m2,
|
|
18370
18370
|
separatorToPanels: S
|
|
18371
|
-
}), e.separators.forEach((
|
|
18372
|
-
C(
|
|
18373
|
-
!i.has(
|
|
18374
|
-
`Separator ids must be unique; id "${
|
|
18375
|
-
), i.add(
|
|
18371
|
+
}), e.separators.forEach((f2) => {
|
|
18372
|
+
C$1(
|
|
18373
|
+
!i.has(f2.id),
|
|
18374
|
+
`Separator ids must be unique; id "${f2.id}" was used more than once`
|
|
18375
|
+
), i.add(f2.id), f2.element.addEventListener("keydown", $e);
|
|
18376
18376
|
}), J.get(p2) === 1 && (p2.addEventListener("contextmenu", Ge, true), p2.addEventListener("dblclick", _e, true), p2.addEventListener("pointerdown", je, true), p2.addEventListener("pointerleave", He), p2.addEventListener("pointermove", Ve), p2.addEventListener("pointerout", Ue), p2.addEventListener("pointerup", Be, true)), function() {
|
|
18377
18377
|
t = false, J.set(
|
|
18378
18378
|
p2,
|
|
18379
18379
|
Math.max(0, (J.get(p2) ?? 0) - 1)
|
|
18380
|
-
), kt(e), e.separators.forEach((
|
|
18381
|
-
|
|
18380
|
+
), kt(e), e.separators.forEach((d2) => {
|
|
18381
|
+
d2.element.removeEventListener("keydown", $e);
|
|
18382
18382
|
}), J.get(p2) || (p2.removeEventListener(
|
|
18383
18383
|
"contextmenu",
|
|
18384
18384
|
Ge,
|
|
@@ -18461,7 +18461,7 @@ function qt({
|
|
|
18461
18461
|
onLayoutChange: r2,
|
|
18462
18462
|
onLayoutChanged: l,
|
|
18463
18463
|
orientation: c2 = "horizontal",
|
|
18464
|
-
resizeTargetMinimumSize:
|
|
18464
|
+
resizeTargetMinimumSize: m2 = {
|
|
18465
18465
|
coarse: 20,
|
|
18466
18466
|
fine: 10
|
|
18467
18467
|
},
|
|
@@ -18471,19 +18471,19 @@ function qt({
|
|
|
18471
18471
|
const z = reactExports.useRef({
|
|
18472
18472
|
onLayoutChange: {},
|
|
18473
18473
|
onLayoutChanged: {}
|
|
18474
|
-
}),
|
|
18474
|
+
}), f2 = re$1((x) => {
|
|
18475
18475
|
K(z.current.onLayoutChange, x) || (z.current.onLayoutChange = x, r2?.(x));
|
|
18476
|
-
}),
|
|
18476
|
+
}), d2 = re$1(
|
|
18477
18477
|
(x, P) => {
|
|
18478
18478
|
K(z.current.onLayoutChanged, x) || (z.current.onLayoutChanged = x, l?.(x, { isUserInteraction: P }));
|
|
18479
18479
|
}
|
|
18480
|
-
), h = Ce(a), y = reactExports.useRef(null), [b, v] = Kt(),
|
|
18480
|
+
), h = Ce(a), y = reactExports.useRef(null), [b, v] = Kt(), g2 = reactExports.useRef({
|
|
18481
18481
|
lastExpandedPanelSizes: {},
|
|
18482
18482
|
layouts: {},
|
|
18483
18483
|
panels: [],
|
|
18484
|
-
resizeTargetMinimumSize:
|
|
18484
|
+
resizeTargetMinimumSize: m2,
|
|
18485
18485
|
separators: []
|
|
18486
|
-
}),
|
|
18486
|
+
}), w2 = Re(y, s);
|
|
18487
18487
|
Xt(h, u);
|
|
18488
18488
|
const E = re$1(
|
|
18489
18489
|
(x, P) => {
|
|
@@ -18520,7 +18520,7 @@ function qt({
|
|
|
18520
18520
|
id: h,
|
|
18521
18521
|
orientation: c2,
|
|
18522
18522
|
registerPanel: (x) => {
|
|
18523
|
-
const P =
|
|
18523
|
+
const P = g2.current;
|
|
18524
18524
|
return P.panels = ze(c2, [
|
|
18525
18525
|
...P.panels,
|
|
18526
18526
|
x
|
|
@@ -18531,7 +18531,7 @@ function qt({
|
|
|
18531
18531
|
};
|
|
18532
18532
|
},
|
|
18533
18533
|
registerSeparator: (x) => {
|
|
18534
|
-
const P =
|
|
18534
|
+
const P = g2.current;
|
|
18535
18535
|
return P.separators = ze(c2, [
|
|
18536
18536
|
...P.separators,
|
|
18537
18537
|
x
|
|
@@ -18542,7 +18542,7 @@ function qt({
|
|
|
18542
18542
|
};
|
|
18543
18543
|
},
|
|
18544
18544
|
updatePanelProps: (x, { disabled: P }) => {
|
|
18545
|
-
const R =
|
|
18545
|
+
const R = g2.current.panels.find(
|
|
18546
18546
|
(U) => U.id === x
|
|
18547
18547
|
);
|
|
18548
18548
|
R && (R.panelConstraints.disabled = P);
|
|
@@ -18556,7 +18556,7 @@ function qt({
|
|
|
18556
18556
|
disabled: P,
|
|
18557
18557
|
disableDoubleClick: I
|
|
18558
18558
|
}) => {
|
|
18559
|
-
const M =
|
|
18559
|
+
const M = g2.current.separators.find(
|
|
18560
18560
|
(k) => k.id === x
|
|
18561
18561
|
);
|
|
18562
18562
|
M && (M.disabled = P, M.disableDoubleClick = I);
|
|
@@ -18568,7 +18568,7 @@ function qt({
|
|
|
18568
18568
|
const x = y.current;
|
|
18569
18569
|
if (x === null)
|
|
18570
18570
|
return;
|
|
18571
|
-
const P =
|
|
18571
|
+
const P = g2.current;
|
|
18572
18572
|
let I;
|
|
18573
18573
|
if (L.defaultLayout !== void 0 && Object.keys(L.defaultLayout).length === P.panels.length) {
|
|
18574
18574
|
I = {};
|
|
@@ -18584,8 +18584,8 @@ function qt({
|
|
|
18584
18584
|
mutableState: {
|
|
18585
18585
|
defaultLayout: I,
|
|
18586
18586
|
disableCursor: !!L.disableCursor,
|
|
18587
|
-
expandedPanelSizes:
|
|
18588
|
-
layouts:
|
|
18587
|
+
expandedPanelSizes: g2.current.lastExpandedPanelSizes,
|
|
18588
|
+
layouts: g2.current.layouts
|
|
18589
18589
|
},
|
|
18590
18590
|
orientation: c2,
|
|
18591
18591
|
panels: P.panels,
|
|
@@ -18594,7 +18594,7 @@ function qt({
|
|
|
18594
18594
|
};
|
|
18595
18595
|
N.current = R;
|
|
18596
18596
|
const M = Wt(R), { defaultLayoutDeferred: k, derivedPanelConstraints: U, layout: le } = H(R.id, true);
|
|
18597
|
-
!k && U.length > 0 && (
|
|
18597
|
+
!k && U.length > 0 && (f2(le), d2(le, false));
|
|
18598
18598
|
const ue = we(h, (_) => {
|
|
18599
18599
|
const { defaultLayoutDeferred: Y, derivedPanelConstraints: ce, layout: fe } = _.next;
|
|
18600
18600
|
if (Y || ce.length === 0)
|
|
@@ -18616,7 +18616,7 @@ function qt({
|
|
|
18616
18616
|
}
|
|
18617
18617
|
});
|
|
18618
18618
|
const dt = W().state !== "active";
|
|
18619
|
-
|
|
18619
|
+
f2(fe), dt && d2(fe, _.isUserInteraction);
|
|
18620
18620
|
});
|
|
18621
18621
|
return () => {
|
|
18622
18622
|
N.current = null, M(), ue();
|
|
@@ -18624,8 +18624,8 @@ function qt({
|
|
|
18624
18624
|
}, [
|
|
18625
18625
|
i,
|
|
18626
18626
|
h,
|
|
18627
|
-
|
|
18628
|
-
|
|
18627
|
+
d2,
|
|
18628
|
+
f2,
|
|
18629
18629
|
c2,
|
|
18630
18630
|
b,
|
|
18631
18631
|
L
|
|
@@ -18640,7 +18640,7 @@ function qt({
|
|
|
18640
18640
|
"data-group": true,
|
|
18641
18641
|
"data-testid": h,
|
|
18642
18642
|
id: h,
|
|
18643
|
-
ref:
|
|
18643
|
+
ref: w2,
|
|
18644
18644
|
style: {
|
|
18645
18645
|
height: "100%",
|
|
18646
18646
|
width: "100%",
|
|
@@ -18711,9 +18711,9 @@ function an({
|
|
|
18711
18711
|
() => o.getItem(a)
|
|
18712
18712
|
), l = reactExports.useMemo(() => {
|
|
18713
18713
|
if (r2) {
|
|
18714
|
-
const
|
|
18714
|
+
const d2 = JSON.parse(r2), h = Object.values(d2);
|
|
18715
18715
|
if (Array.from(h).every((y) => typeof y == "number"))
|
|
18716
|
-
return
|
|
18716
|
+
return d2;
|
|
18717
18717
|
}
|
|
18718
18718
|
}, [r2]), c2 = reactExports.useMemo(() => {
|
|
18719
18719
|
if (!l)
|
|
@@ -18722,9 +18722,9 @@ function an({
|
|
|
18722
18722
|
panelIds: n,
|
|
18723
18723
|
storage: o
|
|
18724
18724
|
});
|
|
18725
|
-
}, [l, u, n, o]),
|
|
18726
|
-
const
|
|
18727
|
-
|
|
18725
|
+
}, [l, u, n, o]), m2 = l ?? c2, p2 = reactExports.useRef(null), S = reactExports.useCallback(() => {
|
|
18726
|
+
const d2 = p2.current;
|
|
18727
|
+
d2 && (p2.current = null, clearTimeout(d2));
|
|
18728
18728
|
}, []);
|
|
18729
18729
|
reactExports.useLayoutEffect(() => () => {
|
|
18730
18730
|
S();
|
|
@@ -18735,14 +18735,14 @@ function an({
|
|
|
18735
18735
|
// layout the user is currently looking at. Consumers that only want to
|
|
18736
18736
|
// persist on user interaction should branch on `isUserInteraction` in
|
|
18737
18737
|
// their own callback (see #716) rather than via this hook.
|
|
18738
|
-
(
|
|
18738
|
+
(d2, h) => {
|
|
18739
18739
|
if (t && !h.isUserInteraction)
|
|
18740
18740
|
return;
|
|
18741
18741
|
S();
|
|
18742
18742
|
let y;
|
|
18743
|
-
s ? y = me(u, Object.keys(
|
|
18743
|
+
s ? y = me(u, Object.keys(d2)) : y = me(u, []);
|
|
18744
18744
|
try {
|
|
18745
|
-
o.setItem(y, JSON.stringify(
|
|
18745
|
+
o.setItem(y, JSON.stringify(d2));
|
|
18746
18746
|
} catch (b) {
|
|
18747
18747
|
console.error(b);
|
|
18748
18748
|
}
|
|
@@ -18754,10 +18754,10 @@ function an({
|
|
|
18754
18754
|
t,
|
|
18755
18755
|
o
|
|
18756
18756
|
]
|
|
18757
|
-
),
|
|
18758
|
-
(
|
|
18759
|
-
S(), e === 0 ? z(
|
|
18760
|
-
z(
|
|
18757
|
+
), f2 = reactExports.useCallback(
|
|
18758
|
+
(d2) => {
|
|
18759
|
+
S(), e === 0 ? z(d2, { isUserInteraction: false }) : p2.current = setTimeout(() => {
|
|
18760
|
+
z(d2, { isUserInteraction: false });
|
|
18761
18761
|
}, e);
|
|
18762
18762
|
},
|
|
18763
18763
|
[S, e, z]
|
|
@@ -18766,13 +18766,13 @@ function an({
|
|
|
18766
18766
|
/**
|
|
18767
18767
|
* Pass this value to `Group` as the `defaultLayout` prop.
|
|
18768
18768
|
*/
|
|
18769
|
-
defaultLayout:
|
|
18769
|
+
defaultLayout: m2,
|
|
18770
18770
|
/**
|
|
18771
18771
|
* Attach this callback on the `Group` as the `onLayoutChange` prop.
|
|
18772
18772
|
*
|
|
18773
18773
|
* @deprecated Use the {@link onLayoutChanged} prop instead.
|
|
18774
18774
|
*/
|
|
18775
|
-
onLayoutChange:
|
|
18775
|
+
onLayoutChange: f2,
|
|
18776
18776
|
/**
|
|
18777
18777
|
* Attach this callback on the `Group` as the `onLayoutChanged` prop.
|
|
18778
18778
|
*/
|
|
@@ -18785,7 +18785,7 @@ function Jt() {
|
|
|
18785
18785
|
}
|
|
18786
18786
|
function Me() {
|
|
18787
18787
|
const e = reactExports.useContext(ct);
|
|
18788
|
-
return C(
|
|
18788
|
+
return C$1(
|
|
18789
18789
|
e,
|
|
18790
18790
|
"Group Context not found; did you render a Panel or Separator outside of a Group?"
|
|
18791
18791
|
), e;
|
|
@@ -18820,22 +18820,22 @@ function Qt({
|
|
|
18820
18820
|
id: r2,
|
|
18821
18821
|
maxSize: l = "100%",
|
|
18822
18822
|
minSize: c2 = "0%",
|
|
18823
|
-
onResize:
|
|
18823
|
+
onResize: m2,
|
|
18824
18824
|
panelRef: p2,
|
|
18825
18825
|
style: S,
|
|
18826
18826
|
...z
|
|
18827
18827
|
}) {
|
|
18828
|
-
const
|
|
18828
|
+
const f2 = !!r2, d2 = Ce(r2), h = Ee({
|
|
18829
18829
|
disabled: s
|
|
18830
18830
|
}), y = reactExports.useRef(null), b = Re(y, u), {
|
|
18831
18831
|
getPanelStyles: v,
|
|
18832
|
-
id:
|
|
18833
|
-
orientation:
|
|
18832
|
+
id: g2,
|
|
18833
|
+
orientation: w2,
|
|
18834
18834
|
registerPanel: E,
|
|
18835
18835
|
updatePanelProps: L
|
|
18836
|
-
} = Me(), G =
|
|
18836
|
+
} = Me(), G = m2 !== null, N = re$1(
|
|
18837
18837
|
(R, M, k) => {
|
|
18838
|
-
|
|
18838
|
+
m2?.(R, r2, k);
|
|
18839
18839
|
}
|
|
18840
18840
|
);
|
|
18841
18841
|
q(() => {
|
|
@@ -18843,8 +18843,8 @@ function Qt({
|
|
|
18843
18843
|
if (R !== null) {
|
|
18844
18844
|
const M = {
|
|
18845
18845
|
element: R,
|
|
18846
|
-
id:
|
|
18847
|
-
idIsStable:
|
|
18846
|
+
id: d2,
|
|
18847
|
+
idIsStable: f2,
|
|
18848
18848
|
mutableValues: {
|
|
18849
18849
|
expandToSize: void 0,
|
|
18850
18850
|
prevSize: void 0
|
|
@@ -18868,22 +18868,22 @@ function Qt({
|
|
|
18868
18868
|
o,
|
|
18869
18869
|
i,
|
|
18870
18870
|
G,
|
|
18871
|
-
|
|
18872
|
-
|
|
18871
|
+
d2,
|
|
18872
|
+
f2,
|
|
18873
18873
|
l,
|
|
18874
18874
|
c2,
|
|
18875
18875
|
N,
|
|
18876
18876
|
E,
|
|
18877
18877
|
h
|
|
18878
18878
|
]), reactExports.useEffect(() => {
|
|
18879
|
-
L(
|
|
18880
|
-
}, [s,
|
|
18879
|
+
L(d2, { disabled: s });
|
|
18880
|
+
}, [s, d2, L]), Zt(d2, p2);
|
|
18881
18881
|
const x = () => {
|
|
18882
|
-
const R = v(
|
|
18882
|
+
const R = v(g2, d2);
|
|
18883
18883
|
if (R)
|
|
18884
18884
|
return JSON.stringify(R);
|
|
18885
18885
|
}, P = reactExports.useSyncExternalStore(
|
|
18886
|
-
(R) => we(
|
|
18886
|
+
(R) => we(g2, R),
|
|
18887
18887
|
x,
|
|
18888
18888
|
x
|
|
18889
18889
|
);
|
|
@@ -18898,8 +18898,8 @@ function Qt({
|
|
|
18898
18898
|
...z,
|
|
18899
18899
|
"data-disabled": s || void 0,
|
|
18900
18900
|
"data-panel": true,
|
|
18901
|
-
"data-testid":
|
|
18902
|
-
id:
|
|
18901
|
+
"data-testid": d2,
|
|
18902
|
+
id: d2,
|
|
18903
18903
|
ref: b,
|
|
18904
18904
|
style: {
|
|
18905
18905
|
...en,
|
|
@@ -18923,7 +18923,7 @@ function Qt({
|
|
|
18923
18923
|
// but still allow users to scroll content within panels in the non-resizing direction
|
|
18924
18924
|
// NOTE This is not an inherited style
|
|
18925
18925
|
// See github.com/bvaughn/react-resizable-panels/issues/662
|
|
18926
|
-
touchAction:
|
|
18926
|
+
touchAction: w2 === "horizontal" ? "pan-y" : "pan-x"
|
|
18927
18927
|
},
|
|
18928
18928
|
children: e
|
|
18929
18929
|
}
|
|
@@ -18996,22 +18996,22 @@ function nn({
|
|
|
18996
18996
|
const r2 = Ce(s), l = Ee({
|
|
18997
18997
|
disabled: n,
|
|
18998
18998
|
disableDoubleClick: o
|
|
18999
|
-
}), [c2,
|
|
18999
|
+
}), [c2, m2] = reactExports.useState({}), [p2, S] = reactExports.useState("inactive"), [z, f2] = reactExports.useState(false), d2 = reactExports.useRef(null), h = Re(d2, i), {
|
|
19000
19000
|
disableCursor: y,
|
|
19001
19001
|
id: b,
|
|
19002
19002
|
orientation: v,
|
|
19003
|
-
registerSeparator:
|
|
19004
|
-
updateSeparatorProps:
|
|
19003
|
+
registerSeparator: g2,
|
|
19004
|
+
updateSeparatorProps: w2
|
|
19005
19005
|
} = Me(), E = v === "horizontal" ? "vertical" : "horizontal";
|
|
19006
19006
|
q(() => {
|
|
19007
|
-
const N =
|
|
19007
|
+
const N = d2.current;
|
|
19008
19008
|
if (N !== null) {
|
|
19009
19009
|
const x = {
|
|
19010
19010
|
disabled: l.disabled,
|
|
19011
19011
|
disableDoubleClick: l.disableDoubleClick,
|
|
19012
19012
|
element: N,
|
|
19013
19013
|
id: r2
|
|
19014
|
-
}, P =
|
|
19014
|
+
}, P = g2(x), I = Rt(
|
|
19015
19015
|
(M) => {
|
|
19016
19016
|
S(
|
|
19017
19017
|
M.next.state !== "inactive" && M.next.hitRegions.some(
|
|
@@ -19027,7 +19027,7 @@ function nn({
|
|
|
19027
19027
|
const _ = ue[0], Y = k.findIndex(
|
|
19028
19028
|
(ce) => ce.panelId === _.id
|
|
19029
19029
|
);
|
|
19030
|
-
|
|
19030
|
+
m2(
|
|
19031
19031
|
tn({
|
|
19032
19032
|
layout: U,
|
|
19033
19033
|
panelConstraints: k,
|
|
@@ -19042,9 +19042,9 @@ function nn({
|
|
|
19042
19042
|
I(), R(), P();
|
|
19043
19043
|
};
|
|
19044
19044
|
}
|
|
19045
|
-
}, [b, r2,
|
|
19046
|
-
|
|
19047
|
-
}, [n, o, r2,
|
|
19045
|
+
}, [b, r2, g2, l]), reactExports.useEffect(() => {
|
|
19046
|
+
w2(r2, { disabled: n, disableDoubleClick: o });
|
|
19047
|
+
}, [n, o, r2, w2]);
|
|
19048
19048
|
let L;
|
|
19049
19049
|
n && !y && (L = "not-allowed");
|
|
19050
19050
|
let G;
|
|
@@ -19074,8 +19074,8 @@ function nn({
|
|
|
19074
19074
|
"data-separator": G,
|
|
19075
19075
|
"data-testid": r2,
|
|
19076
19076
|
id: r2,
|
|
19077
|
-
onBlur: () =>
|
|
19078
|
-
onFocus: () =>
|
|
19077
|
+
onBlur: () => f2(false),
|
|
19078
|
+
onFocus: () => f2(true),
|
|
19079
19079
|
ref: h,
|
|
19080
19080
|
role: "separator",
|
|
19081
19081
|
style: {
|
|
@@ -22677,7 +22677,34 @@ function createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {
|
|
|
22677
22677
|
}
|
|
22678
22678
|
return Component;
|
|
22679
22679
|
}
|
|
22680
|
-
const __iconData$
|
|
22680
|
+
const __iconData$a = {
|
|
22681
|
+
name: "arrow-down-to-line",
|
|
22682
|
+
size: 24,
|
|
22683
|
+
node: [
|
|
22684
|
+
["path", { d: "M12 17V3", key: "1cwfxf" }],
|
|
22685
|
+
["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
|
|
22686
|
+
["path", { d: "M19 21H5", key: "150jfl" }]
|
|
22687
|
+
]
|
|
22688
|
+
};
|
|
22689
|
+
__iconData$a.node;
|
|
22690
|
+
const ArrowDownToLine = createLucideIcon(__iconData$a);
|
|
22691
|
+
const __iconData$9 = {
|
|
22692
|
+
name: "brain",
|
|
22693
|
+
size: 24,
|
|
22694
|
+
node: [
|
|
22695
|
+
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
22696
|
+
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
22697
|
+
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
22698
|
+
["path", { d: "M17.997 5.125a4 4 0 0 1 2.526 5.77", key: "iwvgf7" }],
|
|
22699
|
+
["path", { d: "M18 18a4 4 0 0 0 2-7.464", key: "efp6ie" }],
|
|
22700
|
+
["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
|
|
22701
|
+
["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
|
|
22702
|
+
["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
|
|
22703
|
+
]
|
|
22704
|
+
};
|
|
22705
|
+
__iconData$9.node;
|
|
22706
|
+
const Brain = createLucideIcon(__iconData$9);
|
|
22707
|
+
const __iconData$8 = {
|
|
22681
22708
|
name: "clock",
|
|
22682
22709
|
size: 24,
|
|
22683
22710
|
node: [
|
|
@@ -22685,9 +22712,9 @@ const __iconData$6 = {
|
|
|
22685
22712
|
["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
|
|
22686
22713
|
]
|
|
22687
22714
|
};
|
|
22688
|
-
__iconData$
|
|
22689
|
-
const Clock = createLucideIcon(__iconData$
|
|
22690
|
-
const __iconData$
|
|
22715
|
+
__iconData$8.node;
|
|
22716
|
+
const Clock = createLucideIcon(__iconData$8);
|
|
22717
|
+
const __iconData$7 = {
|
|
22691
22718
|
name: "dollar-sign",
|
|
22692
22719
|
size: 24,
|
|
22693
22720
|
node: [
|
|
@@ -22695,9 +22722,9 @@ const __iconData$5 = {
|
|
|
22695
22722
|
["path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6", key: "1b0p4s" }]
|
|
22696
22723
|
]
|
|
22697
22724
|
};
|
|
22698
|
-
__iconData$
|
|
22699
|
-
const DollarSign = createLucideIcon(__iconData$
|
|
22700
|
-
const __iconData$
|
|
22725
|
+
__iconData$7.node;
|
|
22726
|
+
const DollarSign = createLucideIcon(__iconData$7);
|
|
22727
|
+
const __iconData$6 = {
|
|
22701
22728
|
name: "gauge",
|
|
22702
22729
|
size: 24,
|
|
22703
22730
|
node: [
|
|
@@ -22705,9 +22732,20 @@ const __iconData$4 = {
|
|
|
22705
22732
|
["path", { d: "M3.34 19a10 10 0 1 1 17.32 0", key: "19p75a" }]
|
|
22706
22733
|
]
|
|
22707
22734
|
};
|
|
22708
|
-
__iconData$
|
|
22709
|
-
const Gauge = createLucideIcon(__iconData$
|
|
22710
|
-
const __iconData$
|
|
22735
|
+
__iconData$6.node;
|
|
22736
|
+
const Gauge = createLucideIcon(__iconData$6);
|
|
22737
|
+
const __iconData$5 = {
|
|
22738
|
+
name: "globe",
|
|
22739
|
+
size: 24,
|
|
22740
|
+
node: [
|
|
22741
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
22742
|
+
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
22743
|
+
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
22744
|
+
]
|
|
22745
|
+
};
|
|
22746
|
+
__iconData$5.node;
|
|
22747
|
+
const Globe = createLucideIcon(__iconData$5);
|
|
22748
|
+
const __iconData$4 = {
|
|
22711
22749
|
name: "hourglass",
|
|
22712
22750
|
size: 24,
|
|
22713
22751
|
node: [
|
|
@@ -22729,8 +22767,19 @@ const __iconData$3 = {
|
|
|
22729
22767
|
]
|
|
22730
22768
|
]
|
|
22731
22769
|
};
|
|
22770
|
+
__iconData$4.node;
|
|
22771
|
+
const Hourglass = createLucideIcon(__iconData$4);
|
|
22772
|
+
const __iconData$3 = {
|
|
22773
|
+
name: "laptop-minimal",
|
|
22774
|
+
size: 24,
|
|
22775
|
+
node: [
|
|
22776
|
+
["rect", { width: "18", height: "12", x: "3", y: "4", rx: "2", ry: "2", key: "1qhy41" }],
|
|
22777
|
+
["line", { x1: "2", x2: "22", y1: "20", y2: "20", key: "ni3hll" }]
|
|
22778
|
+
],
|
|
22779
|
+
aliases: ["laptop-2"]
|
|
22780
|
+
};
|
|
22732
22781
|
__iconData$3.node;
|
|
22733
|
-
const
|
|
22782
|
+
const LaptopMinimal = createLucideIcon(__iconData$3);
|
|
22734
22783
|
const __iconData$2 = {
|
|
22735
22784
|
name: "message-square",
|
|
22736
22785
|
size: 24,
|
|
@@ -25312,12 +25361,12 @@ function requireCjs$2() {
|
|
|
25312
25361
|
}
|
|
25313
25362
|
}
|
|
25314
25363
|
function match2(re2) {
|
|
25315
|
-
var
|
|
25316
|
-
if (!
|
|
25317
|
-
var str =
|
|
25364
|
+
var m2 = re2.exec(style);
|
|
25365
|
+
if (!m2) return;
|
|
25366
|
+
var str = m2[0];
|
|
25318
25367
|
updatePosition(str);
|
|
25319
25368
|
style = style.slice(str.length);
|
|
25320
|
-
return
|
|
25369
|
+
return m2;
|
|
25321
25370
|
}
|
|
25322
25371
|
function whitespace2() {
|
|
25323
25372
|
match2(WHITESPACE_REGEX);
|
|
@@ -30715,11 +30764,11 @@ function compiler(options) {
|
|
|
30715
30764
|
};
|
|
30716
30765
|
}
|
|
30717
30766
|
}
|
|
30718
|
-
function point(
|
|
30767
|
+
function point(d2) {
|
|
30719
30768
|
return {
|
|
30720
|
-
line:
|
|
30721
|
-
column:
|
|
30722
|
-
offset:
|
|
30769
|
+
line: d2.line,
|
|
30770
|
+
column: d2.column,
|
|
30771
|
+
offset: d2.offset
|
|
30723
30772
|
};
|
|
30724
30773
|
}
|
|
30725
30774
|
function configure(combined, extensions) {
|
|
@@ -31706,8 +31755,8 @@ function ok() {
|
|
|
31706
31755
|
function looksLikeANode(value) {
|
|
31707
31756
|
return value !== null && typeof value === "object" && "type" in value;
|
|
31708
31757
|
}
|
|
31709
|
-
function color(
|
|
31710
|
-
return
|
|
31758
|
+
function color(d2) {
|
|
31759
|
+
return d2;
|
|
31711
31760
|
}
|
|
31712
31761
|
const empty = [];
|
|
31713
31762
|
const CONTINUE = true;
|
|
@@ -34978,8 +35027,8 @@ const phrasing = (
|
|
|
34978
35027
|
])
|
|
34979
35028
|
);
|
|
34980
35029
|
function root(node2, _, state, info) {
|
|
34981
|
-
const hasPhrasing = node2.children.some(function(
|
|
34982
|
-
return phrasing(
|
|
35030
|
+
const hasPhrasing = node2.children.some(function(d2) {
|
|
35031
|
+
return phrasing(d2);
|
|
34983
35032
|
});
|
|
34984
35033
|
const container = hasPhrasing ? state.containerPhrasing : state.containerFlow;
|
|
34985
35034
|
return container.call(state, node2, info);
|
|
@@ -35091,8 +35140,8 @@ function enterTable(token) {
|
|
|
35091
35140
|
this.enter(
|
|
35092
35141
|
{
|
|
35093
35142
|
type: "table",
|
|
35094
|
-
align: align.map(function(
|
|
35095
|
-
return
|
|
35143
|
+
align: align.map(function(d2) {
|
|
35144
|
+
return d2 === "none" ? null : d2;
|
|
35096
35145
|
}),
|
|
35097
35146
|
children: []
|
|
35098
35147
|
},
|
|
@@ -41328,14 +41377,14 @@ function javascript$1(hljs) {
|
|
|
41328
41377
|
response.ignoreMatch();
|
|
41329
41378
|
}
|
|
41330
41379
|
}
|
|
41331
|
-
let
|
|
41380
|
+
let m2;
|
|
41332
41381
|
const afterMatch = match2.input.substring(afterMatchIndex);
|
|
41333
|
-
if (
|
|
41382
|
+
if (m2 = afterMatch.match(/^\s*=/)) {
|
|
41334
41383
|
response.ignoreMatch();
|
|
41335
41384
|
return;
|
|
41336
41385
|
}
|
|
41337
|
-
if (
|
|
41338
|
-
if (
|
|
41386
|
+
if (m2 = afterMatch.match(/^\s+extends\s+/)) {
|
|
41387
|
+
if (m2.index === 0) {
|
|
41339
41388
|
response.ignoreMatch();
|
|
41340
41389
|
return;
|
|
41341
41390
|
}
|
|
@@ -43456,8 +43505,8 @@ function markdown(hljs) {
|
|
|
43456
43505
|
ITALIC,
|
|
43457
43506
|
BOLD_WITHOUT_ITALIC,
|
|
43458
43507
|
ITALIC_WITHOUT_BOLD
|
|
43459
|
-
].forEach((
|
|
43460
|
-
|
|
43508
|
+
].forEach((m2) => {
|
|
43509
|
+
m2.contains = m2.contains.concat(CONTAINABLE);
|
|
43461
43510
|
});
|
|
43462
43511
|
CONTAINABLE = CONTAINABLE.concat(BOLD, ITALIC);
|
|
43463
43512
|
const HEADER = {
|
|
@@ -44288,11 +44337,11 @@ function php(hljs) {
|
|
|
44288
44337
|
begin: /<<<[ \t]*(?:(\w+)|"(\w+)")\n/,
|
|
44289
44338
|
end: /[ \t]*(\w+)\b/,
|
|
44290
44339
|
contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),
|
|
44291
|
-
"on:begin": (
|
|
44292
|
-
resp.data._beginMatch =
|
|
44340
|
+
"on:begin": (m2, resp) => {
|
|
44341
|
+
resp.data._beginMatch = m2[1] || m2[2];
|
|
44293
44342
|
},
|
|
44294
|
-
"on:end": (
|
|
44295
|
-
if (resp.data._beginMatch !==
|
|
44343
|
+
"on:end": (m2, resp) => {
|
|
44344
|
+
if (resp.data._beginMatch !== m2[1]) resp.ignoreMatch();
|
|
44296
44345
|
}
|
|
44297
44346
|
};
|
|
44298
44347
|
const NOWDOC = hljs.END_SAME_AS_BEGIN({
|
|
@@ -48917,14 +48966,14 @@ function javascript(hljs) {
|
|
|
48917
48966
|
response.ignoreMatch();
|
|
48918
48967
|
}
|
|
48919
48968
|
}
|
|
48920
|
-
let
|
|
48969
|
+
let m2;
|
|
48921
48970
|
const afterMatch = match2.input.substring(afterMatchIndex);
|
|
48922
|
-
if (
|
|
48971
|
+
if (m2 = afterMatch.match(/^\s*=/)) {
|
|
48923
48972
|
response.ignoreMatch();
|
|
48924
48973
|
return;
|
|
48925
48974
|
}
|
|
48926
|
-
if (
|
|
48927
|
-
if (
|
|
48975
|
+
if (m2 = afterMatch.match(/^\s+extends\s+/)) {
|
|
48976
|
+
if (m2.index === 0) {
|
|
48928
48977
|
response.ignoreMatch();
|
|
48929
48978
|
return;
|
|
48930
48979
|
}
|
|
@@ -49494,7 +49543,7 @@ function typescript(hljs) {
|
|
|
49494
49543
|
begin: "@" + IDENT_RE$12
|
|
49495
49544
|
};
|
|
49496
49545
|
const swapMode = (mode, label, replacement) => {
|
|
49497
|
-
const indx = mode.contains.findIndex((
|
|
49546
|
+
const indx = mode.contains.findIndex((m2) => m2.label === label);
|
|
49498
49547
|
if (indx === -1) {
|
|
49499
49548
|
throw new Error("can not find mode to replace");
|
|
49500
49549
|
}
|
|
@@ -49525,7 +49574,7 @@ function typescript(hljs) {
|
|
|
49525
49574
|
]);
|
|
49526
49575
|
swapMode(tsLanguage, "shebang", hljs.SHEBANG());
|
|
49527
49576
|
swapMode(tsLanguage, "use_strict", USE_STRICT);
|
|
49528
|
-
const functionDeclaration = tsLanguage.contains.find((
|
|
49577
|
+
const functionDeclaration = tsLanguage.contains.find((m2) => m2.label === "func.def");
|
|
49529
49578
|
functionDeclaration.relevance = 0;
|
|
49530
49579
|
Object.assign(tsLanguage, {
|
|
49531
49580
|
name: "TypeScript",
|
|
@@ -50583,8 +50632,8 @@ function requireCore() {
|
|
|
50583
50632
|
end: /$/,
|
|
50584
50633
|
relevance: 0,
|
|
50585
50634
|
/** @type {ModeCallback} */
|
|
50586
|
-
"on:begin": (
|
|
50587
|
-
if (
|
|
50635
|
+
"on:begin": (m2, resp) => {
|
|
50636
|
+
if (m2.index !== 0) resp.ignoreMatch();
|
|
50588
50637
|
}
|
|
50589
50638
|
}, opts);
|
|
50590
50639
|
};
|
|
@@ -50729,12 +50778,12 @@ function requireCore() {
|
|
|
50729
50778
|
mode,
|
|
50730
50779
|
{
|
|
50731
50780
|
/** @type {ModeCallback} */
|
|
50732
|
-
"on:begin": (
|
|
50733
|
-
resp.data._beginMatch =
|
|
50781
|
+
"on:begin": (m2, resp) => {
|
|
50782
|
+
resp.data._beginMatch = m2[1];
|
|
50734
50783
|
},
|
|
50735
50784
|
/** @type {ModeCallback} */
|
|
50736
|
-
"on:end": (
|
|
50737
|
-
if (resp.data._beginMatch !==
|
|
50785
|
+
"on:end": (m2, resp) => {
|
|
50786
|
+
if (resp.data._beginMatch !== m2[1]) resp.ignoreMatch();
|
|
50738
50787
|
}
|
|
50739
50788
|
}
|
|
50740
50789
|
);
|
|
@@ -51011,15 +51060,15 @@ function requireCore() {
|
|
|
51011
51060
|
}
|
|
51012
51061
|
/** @param {string} s */
|
|
51013
51062
|
exec(s) {
|
|
51014
|
-
const
|
|
51015
|
-
|
|
51016
|
-
let result =
|
|
51063
|
+
const m2 = this.getMatcher(this.regexIndex);
|
|
51064
|
+
m2.lastIndex = this.lastIndex;
|
|
51065
|
+
let result = m2.exec(s);
|
|
51017
51066
|
if (this.resumingScanAtSamePosition()) {
|
|
51018
51067
|
if (result && result.index === this.lastIndex) ;
|
|
51019
51068
|
else {
|
|
51020
|
-
const
|
|
51021
|
-
|
|
51022
|
-
result =
|
|
51069
|
+
const m22 = this.getMatcher(0);
|
|
51070
|
+
m22.lastIndex = this.lastIndex + 1;
|
|
51071
|
+
result = m22.exec(s);
|
|
51023
51072
|
}
|
|
51024
51073
|
}
|
|
51025
51074
|
if (result) {
|
|
@@ -51978,8 +52027,8 @@ class HastEmitter {
|
|
|
51978
52027
|
*/
|
|
51979
52028
|
openNode(name2) {
|
|
51980
52029
|
const self2 = this;
|
|
51981
|
-
const className = name2.split(".").map(function(
|
|
51982
|
-
return i ?
|
|
52030
|
+
const className = name2.split(".").map(function(d2, i) {
|
|
52031
|
+
return i ? d2 + "_".repeat(i) : self2.options.classPrefix + d2;
|
|
51983
52032
|
});
|
|
51984
52033
|
const current = this.stack[this.stack.length - 1];
|
|
51985
52034
|
const child = {
|
|
@@ -53504,7 +53553,7 @@ var KeyValues = (props) => {
|
|
|
53504
53553
|
return null;
|
|
53505
53554
|
}
|
|
53506
53555
|
var isMyArray = Array.isArray(value);
|
|
53507
|
-
var entries = isMyArray ? Object.entries(value).map((
|
|
53556
|
+
var entries = isMyArray ? Object.entries(value).map((m2) => [Number(m2[0]), m2[1]]) : Object.entries(value);
|
|
53508
53557
|
if (objectSortKeys) {
|
|
53509
53558
|
entries = objectSortKeys === true ? entries.sort((_ref, _ref2) => {
|
|
53510
53559
|
var a = _ref[0];
|
|
@@ -54067,23 +54116,113 @@ var vscodeTheme = {
|
|
|
54067
54116
|
"--w-rjv-type-nan-color": "#859900",
|
|
54068
54117
|
"--w-rjv-type-undefined-color": "#569cd6"
|
|
54069
54118
|
};
|
|
54119
|
+
const f = reactExports.createContext(null);
|
|
54120
|
+
function m({
|
|
54121
|
+
children: r2,
|
|
54122
|
+
didCatch: e,
|
|
54123
|
+
error: t,
|
|
54124
|
+
resetErrorBoundary: o
|
|
54125
|
+
}) {
|
|
54126
|
+
const n = reactExports.useMemo(
|
|
54127
|
+
() => ({ didCatch: e, error: t, resetErrorBoundary: o }),
|
|
54128
|
+
[e, t, o]
|
|
54129
|
+
);
|
|
54130
|
+
return reactExports.createElement(f.Provider, { value: n }, r2);
|
|
54131
|
+
}
|
|
54132
|
+
const d = {
|
|
54133
|
+
didCatch: false,
|
|
54134
|
+
error: null
|
|
54135
|
+
};
|
|
54136
|
+
class C extends reactExports.Component {
|
|
54137
|
+
constructor(e) {
|
|
54138
|
+
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = d;
|
|
54139
|
+
}
|
|
54140
|
+
static getDerivedStateFromError(e) {
|
|
54141
|
+
return { didCatch: true, error: e };
|
|
54142
|
+
}
|
|
54143
|
+
resetErrorBoundary(...e) {
|
|
54144
|
+
const { didCatch: t } = this.state;
|
|
54145
|
+
t && (this.props.onReset?.({
|
|
54146
|
+
args: e,
|
|
54147
|
+
reason: "imperative-api"
|
|
54148
|
+
}), this.setState(d));
|
|
54149
|
+
}
|
|
54150
|
+
componentDidCatch(e, t) {
|
|
54151
|
+
this.props.onError?.(e, t);
|
|
54152
|
+
}
|
|
54153
|
+
componentDidUpdate(e, t) {
|
|
54154
|
+
const { didCatch: o } = this.state, { resetKeys: n } = this.props;
|
|
54155
|
+
o && t.didCatch && g(e.resetKeys, n) && (this.props.onReset?.({
|
|
54156
|
+
next: n,
|
|
54157
|
+
prev: e.resetKeys,
|
|
54158
|
+
reason: "keys"
|
|
54159
|
+
}), this.setState(d));
|
|
54160
|
+
}
|
|
54161
|
+
render() {
|
|
54162
|
+
const { children: e, fallbackRender: t, FallbackComponent: o, fallback: n } = this.props, { didCatch: s, error: a } = this.state;
|
|
54163
|
+
let c2 = e;
|
|
54164
|
+
if (s) {
|
|
54165
|
+
const u = {
|
|
54166
|
+
error: a,
|
|
54167
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
54168
|
+
};
|
|
54169
|
+
if (typeof t == "function")
|
|
54170
|
+
c2 = t(u);
|
|
54171
|
+
else if (o)
|
|
54172
|
+
c2 = reactExports.createElement(o, u);
|
|
54173
|
+
else if ("fallback" in this.props)
|
|
54174
|
+
c2 = n;
|
|
54175
|
+
else
|
|
54176
|
+
throw a;
|
|
54177
|
+
}
|
|
54178
|
+
return reactExports.createElement(
|
|
54179
|
+
m,
|
|
54180
|
+
{
|
|
54181
|
+
didCatch: s,
|
|
54182
|
+
error: a,
|
|
54183
|
+
resetErrorBoundary: this.resetErrorBoundary
|
|
54184
|
+
},
|
|
54185
|
+
c2
|
|
54186
|
+
);
|
|
54187
|
+
}
|
|
54188
|
+
}
|
|
54189
|
+
function g(r2 = [], e = []) {
|
|
54190
|
+
return r2.length !== e.length || r2.some((t, o) => !Object.is(t, e[o]));
|
|
54191
|
+
}
|
|
54192
|
+
function w(r2) {
|
|
54193
|
+
switch (typeof r2) {
|
|
54194
|
+
case "object": {
|
|
54195
|
+
if (r2 !== null && "message" in r2 && typeof r2.message == "string")
|
|
54196
|
+
return r2.message;
|
|
54197
|
+
break;
|
|
54198
|
+
}
|
|
54199
|
+
case "string":
|
|
54200
|
+
return r2;
|
|
54201
|
+
}
|
|
54202
|
+
}
|
|
54070
54203
|
var reactDomExports = requireReactDom();
|
|
54071
54204
|
export {
|
|
54072
|
-
|
|
54073
|
-
|
|
54205
|
+
w as A,
|
|
54206
|
+
Brain as B,
|
|
54074
54207
|
Clock as C,
|
|
54075
54208
|
DollarSign as D,
|
|
54076
|
-
|
|
54077
|
-
|
|
54209
|
+
tippy as E,
|
|
54210
|
+
reactDomExports as F,
|
|
54078
54211
|
Gauge as G,
|
|
54079
54212
|
Hourglass as H,
|
|
54080
|
-
|
|
54213
|
+
ArrowDownToLine as I,
|
|
54081
54214
|
JsonView as J,
|
|
54082
|
-
|
|
54215
|
+
an as K,
|
|
54216
|
+
LaptopMinimal as L,
|
|
54083
54217
|
MessageSquare as M,
|
|
54218
|
+
qt as N,
|
|
54219
|
+
nn as O,
|
|
54220
|
+
parse$1 as P,
|
|
54084
54221
|
Qt as Q,
|
|
54085
54222
|
React as R,
|
|
54223
|
+
delegate as S,
|
|
54086
54224
|
Terminal as T,
|
|
54225
|
+
clientExports as U,
|
|
54087
54226
|
Zap as Z,
|
|
54088
54227
|
startOfMonth as a,
|
|
54089
54228
|
startOfDay as b,
|
|
@@ -54108,7 +54247,7 @@ export {
|
|
|
54108
54247
|
rehypeHighlight as u,
|
|
54109
54248
|
remarkGfm as v,
|
|
54110
54249
|
defaultUrlTransform as w,
|
|
54111
|
-
|
|
54112
|
-
|
|
54113
|
-
|
|
54250
|
+
Globe as x,
|
|
54251
|
+
vscodeTheme as y,
|
|
54252
|
+
C as z
|
|
54114
54253
|
};
|