react-semaphor 0.0.434 → 0.0.435
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/chunks/{index-DysmhXPG.js → index-B612-ynh.js} +311 -270
- package/dist/chunks/{index-TEaQlZ9a.js → index-BlK7tJI5.js} +2 -2
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +77 -77
- package/dist/index.js +3314 -3166
- package/dist/style.css +1 -1
- package/dist/types/dashboard.d.ts +3 -0
- package/dist/types/main.d.ts +7 -0
- package/dist/types/surfboard.d.ts +3 -0
- package/dist/types/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -13593,6 +13593,11 @@ const fr = tx()(
|
|
|
13593
13593
|
activeCardId: ""
|
|
13594
13594
|
},
|
|
13595
13595
|
actions: {
|
|
13596
|
+
setQueryConfig: (n) => {
|
|
13597
|
+
e((r) => {
|
|
13598
|
+
r.card.queryConfig = n;
|
|
13599
|
+
});
|
|
13600
|
+
},
|
|
13596
13601
|
addOrderByColumn: (n) => {
|
|
13597
13602
|
e((r) => {
|
|
13598
13603
|
var o;
|
|
@@ -13635,6 +13640,14 @@ const fr = tx()(
|
|
|
13635
13640
|
};
|
|
13636
13641
|
});
|
|
13637
13642
|
},
|
|
13643
|
+
setPivotByColumns: (n) => {
|
|
13644
|
+
e((r) => {
|
|
13645
|
+
r.card.queryConfig = {
|
|
13646
|
+
...r.card.queryConfig,
|
|
13647
|
+
pivotColumns: n
|
|
13648
|
+
};
|
|
13649
|
+
});
|
|
13650
|
+
},
|
|
13638
13651
|
updateEditorFilterValue: (n, r, o) => {
|
|
13639
13652
|
e((i) => {
|
|
13640
13653
|
var s, l, c, u, d;
|
|
@@ -13726,6 +13739,22 @@ const fr = tx()(
|
|
|
13726
13739
|
};
|
|
13727
13740
|
});
|
|
13728
13741
|
},
|
|
13742
|
+
removeColumnFromPivotBy: (n) => {
|
|
13743
|
+
e((r) => {
|
|
13744
|
+
var o, i, a, s;
|
|
13745
|
+
r.card.queryConfig = {
|
|
13746
|
+
...r.card.queryConfig,
|
|
13747
|
+
pivotColumns: (i = (o = r.card.queryConfig) == null ? void 0 : o.pivotColumns) == null ? void 0 : i.filter(
|
|
13748
|
+
(l) => l.id !== n
|
|
13749
|
+
)
|
|
13750
|
+
}, r.card.queryConfig = {
|
|
13751
|
+
...r.card.queryConfig,
|
|
13752
|
+
orderBy: (s = (a = r.card.queryConfig) == null ? void 0 : a.orderBy) == null ? void 0 : s.filter(
|
|
13753
|
+
(l) => l.columnId !== n
|
|
13754
|
+
)
|
|
13755
|
+
};
|
|
13756
|
+
});
|
|
13757
|
+
},
|
|
13729
13758
|
setGroupByColumns: (n) => {
|
|
13730
13759
|
e((r) => {
|
|
13731
13760
|
r.card.queryConfig = {
|
|
@@ -13757,6 +13786,17 @@ const fr = tx()(
|
|
|
13757
13786
|
};
|
|
13758
13787
|
});
|
|
13759
13788
|
},
|
|
13789
|
+
updatePivotByColumn: (n, r) => {
|
|
13790
|
+
e((o) => {
|
|
13791
|
+
var i, a;
|
|
13792
|
+
o.card.queryConfig = {
|
|
13793
|
+
...o.card.queryConfig,
|
|
13794
|
+
pivotColumns: (a = (i = o.card.queryConfig) == null ? void 0 : i.pivotColumns) == null ? void 0 : a.map(
|
|
13795
|
+
(s) => s.id === n ? r : s
|
|
13796
|
+
)
|
|
13797
|
+
};
|
|
13798
|
+
});
|
|
13799
|
+
},
|
|
13760
13800
|
removeColumnFromGroupBy: (n) => {
|
|
13761
13801
|
e((r) => {
|
|
13762
13802
|
var o, i, a, s;
|
|
@@ -14188,9 +14228,9 @@ function aa(e) {
|
|
|
14188
14228
|
refetchInterval: h
|
|
14189
14229
|
});
|
|
14190
14230
|
function b() {
|
|
14191
|
-
var
|
|
14192
|
-
const M = (
|
|
14193
|
-
return !!(M && (M == null ? void 0 : M.length) > 0 || T && (T == null ? void 0 : T.length) > 0);
|
|
14231
|
+
var W, $, O;
|
|
14232
|
+
const M = (W = e.queryConfig) == null ? void 0 : W.metricColumns, T = ($ = e.queryConfig) == null ? void 0 : $.groupByColumns, I = (O = e.queryConfig) == null ? void 0 : O.pivotColumns;
|
|
14233
|
+
return !!(M && (M == null ? void 0 : M.length) > 0 || T && (T == null ? void 0 : T.length) > 0 || I && (I == null ? void 0 : I.length) > 0);
|
|
14194
14234
|
}
|
|
14195
14235
|
const v = {
|
|
14196
14236
|
databaseName: (e == null ? void 0 : e.lastSelectedDatabase) || "",
|
|
@@ -40761,9 +40801,9 @@ let uw = /* @__PURE__ */ new Map(), Gu = /* @__PURE__ */ new Map();
|
|
|
40761
40801
|
function Zk(e) {
|
|
40762
40802
|
var t;
|
|
40763
40803
|
let n = (t = Gu.get(e)) != null ? t : 0;
|
|
40764
|
-
return Gu.set(e, n + 1), n !== 0 ? () =>
|
|
40804
|
+
return Gu.set(e, n + 1), n !== 0 ? () => eP(e) : (uw.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => eP(e));
|
|
40765
40805
|
}
|
|
40766
|
-
function
|
|
40806
|
+
function eP(e) {
|
|
40767
40807
|
var t;
|
|
40768
40808
|
let n = (t = Gu.get(e)) != null ? t : 1;
|
|
40769
40809
|
if (n === 1 ? Gu.delete(e) : Gu.set(e, n - 1), n !== 1) return;
|
|
@@ -40870,7 +40910,7 @@ function bae(e, t, n, r) {
|
|
|
40870
40910
|
return window.addEventListener(t, i, r), () => window.removeEventListener(t, i, r);
|
|
40871
40911
|
}, [e, t, r]);
|
|
40872
40912
|
}
|
|
40873
|
-
const
|
|
40913
|
+
const tP = 30;
|
|
40874
40914
|
function yae(e, t, n) {
|
|
40875
40915
|
let r = wS(e, "outside-click"), o = Ks(n), i = _e(function(l, c) {
|
|
40876
40916
|
if (l.defaultPrevented) return;
|
|
@@ -40896,7 +40936,7 @@ function yae(e, t, n) {
|
|
|
40896
40936
|
s.current.x = l.touches[0].clientX, s.current.y = l.touches[0].clientY;
|
|
40897
40937
|
}, !0), au(r, "touchend", (l) => {
|
|
40898
40938
|
let c = { x: l.changedTouches[0].clientX, y: l.changedTouches[0].clientY };
|
|
40899
|
-
if (!(Math.abs(c.x - s.current.x) >=
|
|
40939
|
+
if (!(Math.abs(c.x - s.current.x) >= tP || Math.abs(c.y - s.current.y) >= tP)) return i(l, () => l.target instanceof HTMLElement ? l.target : null);
|
|
40900
40940
|
}, !0), bae(r, "blur", (l) => i(l, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
40901
40941
|
}
|
|
40902
40942
|
function Mm(...e) {
|
|
@@ -41036,24 +41076,24 @@ function Rae(e, t, n = () => [document.body]) {
|
|
|
41036
41076
|
return { containers: [...(i = o.containers) != null ? i : [], n] };
|
|
41037
41077
|
});
|
|
41038
41078
|
}
|
|
41039
|
-
function
|
|
41079
|
+
function nP(e) {
|
|
41040
41080
|
return [e.screenX, e.screenY];
|
|
41041
41081
|
}
|
|
41042
41082
|
function kae() {
|
|
41043
41083
|
let e = de([-1, -1]);
|
|
41044
41084
|
return { wasMoved(t) {
|
|
41045
|
-
let n =
|
|
41085
|
+
let n = nP(t);
|
|
41046
41086
|
return e.current[0] === n[0] && e.current[1] === n[1] ? !1 : (e.current = n, !0);
|
|
41047
41087
|
}, update(t) {
|
|
41048
|
-
e.current =
|
|
41088
|
+
e.current = nP(t);
|
|
41049
41089
|
} };
|
|
41050
41090
|
}
|
|
41051
41091
|
function Pae(e = 0) {
|
|
41052
41092
|
let [t, n] = ge(e), r = _e((l) => n(l), [t]), o = _e((l) => n((c) => c | l), [t]), i = _e((l) => (t & l) === l, [t]), a = _e((l) => n((c) => c & ~l), [n]), s = _e((l) => n((c) => c ^ l), [n]);
|
|
41053
41093
|
return { flags: t, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: s };
|
|
41054
41094
|
}
|
|
41055
|
-
var
|
|
41056
|
-
typeof process < "u" && typeof globalThis < "u" && typeof Element < "u" && ((
|
|
41095
|
+
var rP, oP;
|
|
41096
|
+
typeof process < "u" && typeof globalThis < "u" && typeof Element < "u" && ((rP = process == null ? void 0 : process.env) == null ? void 0 : rP.NODE_ENV) === "test" && typeof ((oP = Element == null ? void 0 : Element.prototype) == null ? void 0 : oP.getAnimations) > "u" && (Element.prototype.getAnimations = function() {
|
|
41057
41097
|
return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.", "Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.", "", "Example usage:", "```js", "import { mockAnimationsApi } from 'jsdom-testing-mocks'", "mockAnimationsApi()", "```"].join(`
|
|
41058
41098
|
`)), [];
|
|
41059
41099
|
});
|
|
@@ -41124,7 +41164,7 @@ function Nae(e, { container: t, accept: n, walk: r }) {
|
|
|
41124
41164
|
for (; u.nextNode(); ) l(u.currentNode);
|
|
41125
41165
|
}, [t, e, o, i]);
|
|
41126
41166
|
}
|
|
41127
|
-
function
|
|
41167
|
+
function iP(e, t) {
|
|
41128
41168
|
let n = de([]), r = je(e);
|
|
41129
41169
|
fe(() => {
|
|
41130
41170
|
let o = [...n.current];
|
|
@@ -41161,18 +41201,18 @@ function H5(e) {
|
|
|
41161
41201
|
}, []);
|
|
41162
41202
|
}
|
|
41163
41203
|
var fw = typeof document < "u" ? Sc : fe;
|
|
41164
|
-
let
|
|
41165
|
-
const
|
|
41204
|
+
let aP = !1, zae = 0;
|
|
41205
|
+
const sP = () => (
|
|
41166
41206
|
// Ensure the id is unique with multiple independent versions of Floating UI
|
|
41167
41207
|
// on <React 18
|
|
41168
41208
|
"floating-ui-" + Math.random().toString(36).slice(2, 6) + zae++
|
|
41169
41209
|
);
|
|
41170
41210
|
function Bae() {
|
|
41171
|
-
const [e, t] = _.useState(() =>
|
|
41211
|
+
const [e, t] = _.useState(() => aP ? sP() : void 0);
|
|
41172
41212
|
return fw(() => {
|
|
41173
|
-
e == null && t(
|
|
41213
|
+
e == null && t(sP());
|
|
41174
41214
|
}, []), _.useEffect(() => {
|
|
41175
|
-
|
|
41215
|
+
aP = !0;
|
|
41176
41216
|
}, []), e;
|
|
41177
41217
|
}
|
|
41178
41218
|
const Vae = j5.useId, jae = Vae || Bae;
|
|
@@ -41310,14 +41350,14 @@ function Jae(e) {
|
|
|
41310
41350
|
elements: b
|
|
41311
41351
|
}), [f, m, b, v]);
|
|
41312
41352
|
}
|
|
41313
|
-
const
|
|
41353
|
+
const lP = "active", cP = "selected";
|
|
41314
41354
|
function Ty(e, t, n) {
|
|
41315
41355
|
const r = /* @__PURE__ */ new Map(), o = n === "item";
|
|
41316
41356
|
let i = e;
|
|
41317
41357
|
if (o && e) {
|
|
41318
41358
|
const {
|
|
41319
|
-
[
|
|
41320
|
-
[
|
|
41359
|
+
[lP]: a,
|
|
41360
|
+
[cP]: s,
|
|
41321
41361
|
...l
|
|
41322
41362
|
} = e;
|
|
41323
41363
|
i = l;
|
|
@@ -41333,7 +41373,7 @@ function Ty(e, t, n) {
|
|
|
41333
41373
|
return typeof s == "function" ? e ? s(e) : null : s;
|
|
41334
41374
|
}).concat(e).reduce((a, s) => (s && Object.entries(s).forEach((l) => {
|
|
41335
41375
|
let [c, u] = l;
|
|
41336
|
-
if (!(o && [
|
|
41376
|
+
if (!(o && [lP, cP].includes(c)))
|
|
41337
41377
|
if (c.indexOf("on") === 0) {
|
|
41338
41378
|
if (r.has(c) || r.set(c, []), typeof u == "function") {
|
|
41339
41379
|
var d;
|
|
@@ -41369,7 +41409,7 @@ function Zae(e) {
|
|
|
41369
41409
|
getItemProps: a
|
|
41370
41410
|
}), [o, i, a]);
|
|
41371
41411
|
}
|
|
41372
|
-
function
|
|
41412
|
+
function uP(e, t) {
|
|
41373
41413
|
return {
|
|
41374
41414
|
...e,
|
|
41375
41415
|
rects: {
|
|
@@ -41406,7 +41446,7 @@ const ese = (e) => ({
|
|
|
41406
41446
|
const w = {
|
|
41407
41447
|
...t,
|
|
41408
41448
|
...await M1(-f.offsetTop - h.clientTop - d.reference.height / 2 - f.offsetHeight / 2 - i).fn(t)
|
|
41409
|
-
}, S = await ry(
|
|
41449
|
+
}, S = await ry(uP(w, p.scrollHeight + g + h.clientTop), u), x = await ry(w, {
|
|
41410
41450
|
...u,
|
|
41411
41451
|
elementContext: "reference"
|
|
41412
41452
|
}), C = Vn(0, S.top), E = w.y + C, M = (p.scrollHeight > p.clientHeight ? (T) => T : yd)(Vn(0, p.scrollHeight + (m && v || b ? g * 2 : 0) - C - Vn(0, S.bottom)));
|
|
@@ -41414,7 +41454,7 @@ const ese = (e) => ({
|
|
|
41414
41454
|
const T = p.offsetHeight < f.offsetHeight * Ri(s, n.current.length) - 1 || x.top >= -l || x.bottom >= -l;
|
|
41415
41455
|
Ss.flushSync(() => o(T));
|
|
41416
41456
|
}
|
|
41417
|
-
return r && (r.current = await ry(
|
|
41457
|
+
return r && (r.current = await ry(uP({
|
|
41418
41458
|
...w,
|
|
41419
41459
|
y: E
|
|
41420
41460
|
}, p.offsetHeight + g + h.clientTop), u)), {
|
|
@@ -41507,7 +41547,7 @@ function ise(e = null) {
|
|
|
41507
41547
|
let r = rt(vf);
|
|
41508
41548
|
return Ee(() => [r.setFloating, e ? r.styles : {}], [r.setFloating, e, r.styles]);
|
|
41509
41549
|
}
|
|
41510
|
-
let
|
|
41550
|
+
let dP = 4;
|
|
41511
41551
|
function ase({ children: e, enabled: t = !0 }) {
|
|
41512
41552
|
let [n, r] = ge(null), [o, i] = ge(0), a = de(null), [s, l] = ge(null);
|
|
41513
41553
|
sse(s);
|
|
@@ -41515,12 +41555,12 @@ function ase({ children: e, enabled: t = !0 }) {
|
|
|
41515
41555
|
Xt(() => {
|
|
41516
41556
|
c && i(0);
|
|
41517
41557
|
}, [c]);
|
|
41518
|
-
let { refs: b, floatingStyles: v, context: w } = Jae({ open: c, placement: g === "selection" ? m === "center" ? "bottom" : `bottom-${m}` : m === "center" ? `${g}` : `${g}-${m}`, strategy: "absolute", transform: !1, middleware: [M1({ mainAxis: g === "selection" ? 0 : d, crossAxis: h }), EI({ padding: f }), g !== "selection" && RI({ padding: f }), g === "selection" && p ? ese({ ...p, padding: f, overflowRef: a, offset: o, minItemsVisible:
|
|
41558
|
+
let { refs: b, floatingStyles: v, context: w } = Jae({ open: c, placement: g === "selection" ? m === "center" ? "bottom" : `bottom-${m}` : m === "center" ? `${g}` : `${g}-${m}`, strategy: "absolute", transform: !1, middleware: [M1({ mainAxis: g === "selection" ? 0 : d, crossAxis: h }), EI({ padding: f }), g !== "selection" && RI({ padding: f }), g === "selection" && p ? ese({ ...p, padding: f, overflowRef: a, offset: o, minItemsVisible: dP, referenceOverflowThreshold: f, onFallbackChange(T) {
|
|
41519
41559
|
var I, W;
|
|
41520
41560
|
if (!T) return;
|
|
41521
41561
|
let $ = w.elements.floating;
|
|
41522
41562
|
if (!$) return;
|
|
41523
|
-
let O = parseFloat(getComputedStyle($).scrollPaddingBottom) || 0, A = Math.min(
|
|
41563
|
+
let O = parseFloat(getComputedStyle($).scrollPaddingBottom) || 0, A = Math.min(dP, $.childElementCount), F = 0, L = 0;
|
|
41524
41564
|
for (let B of (W = (I = w.elements.floating) == null ? void 0 : I.childNodes) != null ? W : []) if (B instanceof HTMLElement) {
|
|
41525
41565
|
let P = B.offsetTop, j = P + B.clientHeight + O, N = $.scrollTop, R = N + $.clientHeight;
|
|
41526
41566
|
if (P >= N && j <= R) A--;
|
|
@@ -41567,7 +41607,7 @@ function Iy(e, t, n = void 0) {
|
|
|
41567
41607
|
if (typeof l == "number") return [l, null];
|
|
41568
41608
|
if (typeof l == "string") {
|
|
41569
41609
|
if (!c) return [n, null];
|
|
41570
|
-
let u =
|
|
41610
|
+
let u = fP(l, c);
|
|
41571
41611
|
return [u, (d) => {
|
|
41572
41612
|
let h = W5(l);
|
|
41573
41613
|
{
|
|
@@ -41583,7 +41623,7 @@ function Iy(e, t, n = void 0) {
|
|
|
41583
41623
|
}
|
|
41584
41624
|
}
|
|
41585
41625
|
if (!g) return;
|
|
41586
|
-
let m =
|
|
41626
|
+
let m = fP(l, c);
|
|
41587
41627
|
u !== m && (d(m), u = m);
|
|
41588
41628
|
});
|
|
41589
41629
|
}
|
|
@@ -41607,7 +41647,7 @@ function W5(e) {
|
|
|
41607
41647
|
}
|
|
41608
41648
|
return [];
|
|
41609
41649
|
}
|
|
41610
|
-
function
|
|
41650
|
+
function fP(e, t) {
|
|
41611
41651
|
let n = document.createElement("div");
|
|
41612
41652
|
t.appendChild(n), n.style.setProperty("margin-top", "0px", "important"), n.style.setProperty("margin-top", e, "important");
|
|
41613
41653
|
let r = parseFloat(window.getComputedStyle(n).marginTop) || 0;
|
|
@@ -41649,7 +41689,7 @@ function hse(e) {
|
|
|
41649
41689
|
throw new Error("Unexpected object: " + e);
|
|
41650
41690
|
}
|
|
41651
41691
|
var cn = ((e) => (e[e.First = 0] = "First", e[e.Previous = 1] = "Previous", e[e.Next = 2] = "Next", e[e.Last = 3] = "Last", e[e.Specific = 4] = "Specific", e[e.Nothing = 5] = "Nothing", e))(cn || {});
|
|
41652
|
-
function
|
|
41692
|
+
function hP(e, t) {
|
|
41653
41693
|
let n = t.resolveItems();
|
|
41654
41694
|
if (n.length <= 0) return null;
|
|
41655
41695
|
let r = t.resolveActiveIndex(), o = r ?? -1;
|
|
@@ -41772,7 +41812,7 @@ let Tse = { 1(e) {
|
|
|
41772
41812
|
var n, r, o, i;
|
|
41773
41813
|
if ((n = e.dataRef.current) != null && n.disabled || e.optionsElement && !((r = e.dataRef.current) != null && r.optionsPropsRef.current.static) && e.comboboxState === 1) return e;
|
|
41774
41814
|
if (e.virtual) {
|
|
41775
|
-
let { options: c, disabled: u } = e.virtual, d = t.focus === cn.Specific ? t.idx :
|
|
41815
|
+
let { options: c, disabled: u } = e.virtual, d = t.focus === cn.Specific ? t.idx : hP(t, { resolveItems: () => c, resolveActiveIndex: () => {
|
|
41776
41816
|
var f, p;
|
|
41777
41817
|
return (p = (f = e.activeOptionIndex) != null ? f : c.findIndex((g) => !u(g))) != null ? p : null;
|
|
41778
41818
|
}, resolveDisabled: u, resolveId() {
|
|
@@ -41785,7 +41825,7 @@ let Tse = { 1(e) {
|
|
|
41785
41825
|
let c = a.options.findIndex((u) => !u.dataRef.current.disabled);
|
|
41786
41826
|
c !== -1 && (a.activeOptionIndex = c);
|
|
41787
41827
|
}
|
|
41788
|
-
let s = t.focus === cn.Specific ? t.idx :
|
|
41828
|
+
let s = t.focus === cn.Specific ? t.idx : hP(t, { resolveItems: () => a.options, resolveActiveIndex: () => a.activeOptionIndex, resolveId: (c) => c.id, resolveDisabled: (c) => c.dataRef.current.disabled }), l = (i = t.trigger) != null ? i : 2;
|
|
41789
41829
|
return e.activeOptionIndex === s && e.activationTrigger === l ? e : { ...e, ...a, isTyping: !1, activeOptionIndex: s, activationTrigger: l, __demoMode: !1 };
|
|
41790
41830
|
}, 4: (e, t) => {
|
|
41791
41831
|
var n, r, o;
|
|
@@ -41930,7 +41970,7 @@ function $se(e, t) {
|
|
|
41930
41970
|
var R;
|
|
41931
41971
|
return typeof f == "function" && s.value !== void 0 ? (R = f(s.value)) != null ? R : "" : typeof s.value == "string" ? s.value : "";
|
|
41932
41972
|
}, [s.value, f]);
|
|
41933
|
-
|
|
41973
|
+
iP(([R, H], [q, G]) => {
|
|
41934
41974
|
if (s.isTyping) return;
|
|
41935
41975
|
let V = v.current;
|
|
41936
41976
|
V && ((G === 0 && H === 1 || R !== q) && (V.value = R), requestAnimationFrame(() => {
|
|
@@ -41938,7 +41978,7 @@ function $se(e, t) {
|
|
|
41938
41978
|
let { selectionStart: U, selectionEnd: K } = V;
|
|
41939
41979
|
Math.abs((K ?? 0) - (U ?? 0)) === 0 && U === 0 && V.setSelectionRange(V.value.length, V.value.length);
|
|
41940
41980
|
}));
|
|
41941
|
-
}, [E, s.comboboxState, S, s.isTyping]),
|
|
41981
|
+
}, [E, s.comboboxState, S, s.isTyping]), iP(([R], [H]) => {
|
|
41942
41982
|
if (R === 0 && H === 1) {
|
|
41943
41983
|
if (s.isTyping) return;
|
|
41944
41984
|
let q = v.current;
|
|
@@ -43462,9 +43502,9 @@ const {
|
|
|
43462
43502
|
useMemo: Rle,
|
|
43463
43503
|
useRef: hr,
|
|
43464
43504
|
useState: Al
|
|
43465
|
-
} = _,
|
|
43505
|
+
} = _, pP = _[`useId${Math.random()}`.slice(0, 5)], kle = Ele, Tm = _le(null);
|
|
43466
43506
|
Tm.displayName = "PanelGroupContext";
|
|
43467
|
-
const xs = kle, Ple = typeof
|
|
43507
|
+
const xs = kle, Ple = typeof pP == "function" ? pP : () => null;
|
|
43468
43508
|
let Dle = 0;
|
|
43469
43509
|
function OS(e = null) {
|
|
43470
43510
|
const t = Ple(), n = hr(e || t || null);
|
|
@@ -43646,16 +43686,16 @@ function Ile(e, t, n) {
|
|
|
43646
43686
|
function Ale(e, t) {
|
|
43647
43687
|
if (e === t) throw new Error("Cannot compare node with itself");
|
|
43648
43688
|
const n = {
|
|
43649
|
-
a:
|
|
43650
|
-
b:
|
|
43689
|
+
a: bP(e),
|
|
43690
|
+
b: bP(t)
|
|
43651
43691
|
};
|
|
43652
43692
|
let r;
|
|
43653
43693
|
for (; n.a.at(-1) === n.b.at(-1); )
|
|
43654
43694
|
e = n.a.pop(), t = n.b.pop(), r = e;
|
|
43655
43695
|
Je(r, "Stacking order can only be calculated for elements with a common ancestor");
|
|
43656
43696
|
const o = {
|
|
43657
|
-
a:
|
|
43658
|
-
b:
|
|
43697
|
+
a: mP(gP(n.a)),
|
|
43698
|
+
b: mP(gP(n.b))
|
|
43659
43699
|
};
|
|
43660
43700
|
if (o.a === o.b) {
|
|
43661
43701
|
const i = r.childNodes, a = {
|
|
@@ -43681,7 +43721,7 @@ function Lle(e) {
|
|
|
43681
43721
|
const t = getComputedStyle(e);
|
|
43682
43722
|
return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || Fle(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || Nle.test(t.willChange) || t.webkitOverflowScrolling === "touch");
|
|
43683
43723
|
}
|
|
43684
|
-
function
|
|
43724
|
+
function gP(e) {
|
|
43685
43725
|
let t = e.length;
|
|
43686
43726
|
for (; t--; ) {
|
|
43687
43727
|
const n = e[t];
|
|
@@ -43689,10 +43729,10 @@ function g2(e) {
|
|
|
43689
43729
|
}
|
|
43690
43730
|
return null;
|
|
43691
43731
|
}
|
|
43692
|
-
function
|
|
43732
|
+
function mP(e) {
|
|
43693
43733
|
return e && Number(getComputedStyle(e).zIndex) || 0;
|
|
43694
43734
|
}
|
|
43695
|
-
function
|
|
43735
|
+
function bP(e) {
|
|
43696
43736
|
const t = [];
|
|
43697
43737
|
for (; e; )
|
|
43698
43738
|
t.push(e), e = RF(e);
|
|
@@ -43727,7 +43767,7 @@ function zle(e, t, n, r, o) {
|
|
|
43727
43767
|
}
|
|
43728
43768
|
};
|
|
43729
43769
|
}
|
|
43730
|
-
function
|
|
43770
|
+
function yP(e) {
|
|
43731
43771
|
const {
|
|
43732
43772
|
target: t
|
|
43733
43773
|
} = e, {
|
|
@@ -43828,7 +43868,7 @@ function ug() {
|
|
|
43828
43868
|
const {
|
|
43829
43869
|
body: n
|
|
43830
43870
|
} = t;
|
|
43831
|
-
n.removeEventListener("contextmenu", dl), n.removeEventListener("pointerdown",
|
|
43871
|
+
n.removeEventListener("contextmenu", dl), n.removeEventListener("pointerdown", yP), n.removeEventListener("pointerleave", su), n.removeEventListener("pointermove", su);
|
|
43832
43872
|
}), window.removeEventListener("pointerup", dl), window.removeEventListener("pointercancel", dl), Ed.size > 0 && (Nl ? (uo.length > 0 && Hi.forEach((e, t) => {
|
|
43833
43873
|
const {
|
|
43834
43874
|
body: n
|
|
@@ -43838,7 +43878,7 @@ function ug() {
|
|
|
43838
43878
|
const {
|
|
43839
43879
|
body: n
|
|
43840
43880
|
} = t;
|
|
43841
|
-
e > 0 && (n.addEventListener("pointerdown",
|
|
43881
|
+
e > 0 && (n.addEventListener("pointerdown", yP, {
|
|
43842
43882
|
capture: !0
|
|
43843
43883
|
}), n.addEventListener("pointermove", su));
|
|
43844
43884
|
}));
|
|
@@ -44152,7 +44192,7 @@ function Wle({
|
|
|
44152
44192
|
};
|
|
44153
44193
|
}, [i, e, t, n, r, o, a]);
|
|
44154
44194
|
}
|
|
44155
|
-
function
|
|
44195
|
+
function vP(e, t) {
|
|
44156
44196
|
if (e.length !== t.length)
|
|
44157
44197
|
return !1;
|
|
44158
44198
|
for (let n = 0; n < e.length; n++)
|
|
@@ -44296,7 +44336,7 @@ function Kle(e, t = 10) {
|
|
|
44296
44336
|
}, t);
|
|
44297
44337
|
};
|
|
44298
44338
|
}
|
|
44299
|
-
function
|
|
44339
|
+
function wP(e) {
|
|
44300
44340
|
try {
|
|
44301
44341
|
if (typeof localStorage < "u")
|
|
44302
44342
|
e.getItem = (t) => localStorage.getItem(t), e.setItem = (t, n) => {
|
|
@@ -44353,7 +44393,7 @@ function Qle(e, t, n, r, o) {
|
|
|
44353
44393
|
console.error(c);
|
|
44354
44394
|
}
|
|
44355
44395
|
}
|
|
44356
|
-
function
|
|
44396
|
+
function xP({
|
|
44357
44397
|
layout: e,
|
|
44358
44398
|
panelConstraints: t
|
|
44359
44399
|
}) {
|
|
@@ -44393,11 +44433,11 @@ function x2({
|
|
|
44393
44433
|
return n;
|
|
44394
44434
|
}
|
|
44395
44435
|
const Jle = 100, Ru = {
|
|
44396
|
-
getItem: (e) => (
|
|
44436
|
+
getItem: (e) => (wP(Ru), Ru.getItem(e)),
|
|
44397
44437
|
setItem: (e, t) => {
|
|
44398
|
-
|
|
44438
|
+
wP(Ru), Ru.setItem(e, t);
|
|
44399
44439
|
}
|
|
44400
|
-
},
|
|
44440
|
+
}, SP = {};
|
|
44401
44441
|
function $F({
|
|
44402
44442
|
autoSaveId: e = null,
|
|
44403
44443
|
children: t,
|
|
@@ -44443,11 +44483,11 @@ function $F({
|
|
|
44443
44483
|
} = C.current, {
|
|
44444
44484
|
layout: q,
|
|
44445
44485
|
panelDataArray: G
|
|
44446
|
-
} = E.current, V =
|
|
44486
|
+
} = E.current, V = xP({
|
|
44447
44487
|
layout: R,
|
|
44448
44488
|
panelConstraints: G.map((U) => U.constraints)
|
|
44449
44489
|
});
|
|
44450
|
-
|
|
44490
|
+
vP(q, V) || (b(V), E.current.layout = V, H && H(V), fl(G, V, w.current));
|
|
44451
44491
|
}
|
|
44452
44492
|
}), []), xs(() => {
|
|
44453
44493
|
C.current.autoSaveId = e, C.current.direction = r, C.current.dragState = p, C.current.id = h, C.current.onLayout = a, C.current.storage = l;
|
|
@@ -44466,8 +44506,8 @@ function $F({
|
|
|
44466
44506
|
if (e) {
|
|
44467
44507
|
if (m.length === 0 || m.length !== R.length)
|
|
44468
44508
|
return;
|
|
44469
|
-
let H =
|
|
44470
|
-
H == null && (H = Kle(Qle, Jle),
|
|
44509
|
+
let H = SP[e];
|
|
44510
|
+
H == null && (H = Kle(Qle, Jle), SP[e] = H);
|
|
44471
44511
|
const q = [...R], G = new Map(S.current);
|
|
44472
44512
|
H(e, q, G, m, l);
|
|
44473
44513
|
}
|
|
@@ -44592,11 +44632,11 @@ function $F({
|
|
|
44592
44632
|
U == null && (U = Gle({
|
|
44593
44633
|
panelDataArray: V
|
|
44594
44634
|
}));
|
|
44595
|
-
const K =
|
|
44635
|
+
const K = xP({
|
|
44596
44636
|
layout: U,
|
|
44597
44637
|
panelConstraints: V.map((ee) => ee.constraints)
|
|
44598
44638
|
});
|
|
44599
|
-
|
|
44639
|
+
vP(G, K) || (b(K), E.current.layout = K, H && H(K), fl(V, K, w.current));
|
|
44600
44640
|
}
|
|
44601
44641
|
}), xs(() => {
|
|
44602
44642
|
const R = E.current;
|
|
@@ -44929,7 +44969,7 @@ const ece = ({
|
|
|
44929
44969
|
),
|
|
44930
44970
|
...t
|
|
44931
44971
|
}
|
|
44932
|
-
),
|
|
44972
|
+
), CP = SF, iSe = ({
|
|
44933
44973
|
withHandle: e,
|
|
44934
44974
|
className: t,
|
|
44935
44975
|
...n
|
|
@@ -45525,14 +45565,14 @@ function Ice(e, t) {
|
|
|
45525
45565
|
).trim();
|
|
45526
45566
|
}
|
|
45527
45567
|
const Ace = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Nce = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Fce = {};
|
|
45528
|
-
function
|
|
45568
|
+
function _P(e, t) {
|
|
45529
45569
|
return (Fce.jsx ? Nce : Ace).test(e);
|
|
45530
45570
|
}
|
|
45531
45571
|
const Lce = /[ \t\n\f\r]/g;
|
|
45532
45572
|
function $ce(e) {
|
|
45533
|
-
return typeof e == "object" ? e.type === "text" ?
|
|
45573
|
+
return typeof e == "object" ? e.type === "text" ? EP(e.value) : !1 : EP(e);
|
|
45534
45574
|
}
|
|
45535
|
-
function
|
|
45575
|
+
function EP(e) {
|
|
45536
45576
|
return e.replace(Lce, "") === "";
|
|
45537
45577
|
}
|
|
45538
45578
|
class xf {
|
|
@@ -45621,15 +45661,15 @@ class XS extends wr {
|
|
|
45621
45661
|
*/
|
|
45622
45662
|
constructor(t, n, r, o) {
|
|
45623
45663
|
let i = -1;
|
|
45624
|
-
if (super(t, n),
|
|
45664
|
+
if (super(t, n), RP(this, "space", o), typeof r == "number")
|
|
45625
45665
|
for (; ++i < Ly.length; ) {
|
|
45626
45666
|
const a = Ly[i];
|
|
45627
|
-
|
|
45667
|
+
RP(this, Ly[i], (r & mw[a]) === mw[a]);
|
|
45628
45668
|
}
|
|
45629
45669
|
}
|
|
45630
45670
|
}
|
|
45631
45671
|
XS.prototype.defined = !0;
|
|
45632
|
-
function
|
|
45672
|
+
function RP(e, t, n) {
|
|
45633
45673
|
n && (e[t] = n);
|
|
45634
45674
|
}
|
|
45635
45675
|
function Lc(e) {
|
|
@@ -46670,7 +46710,7 @@ const Bce = Lc({
|
|
|
46670
46710
|
xLinkTitle: "xlinkTitle",
|
|
46671
46711
|
xLinkType: "xlinkType",
|
|
46672
46712
|
xmlnsXLink: "xmlnsXlink"
|
|
46673
|
-
}, Hce = /[A-Z]/g,
|
|
46713
|
+
}, Hce = /[A-Z]/g, kP = /-[a-z]/g, Wce = /^data[-\w.:]+$/i;
|
|
46674
46714
|
function Uce(e, t) {
|
|
46675
46715
|
const n = gw(t);
|
|
46676
46716
|
let r = t, o = wr;
|
|
@@ -46678,11 +46718,11 @@ function Uce(e, t) {
|
|
|
46678
46718
|
return e.property[e.normal[n]];
|
|
46679
46719
|
if (n.length > 4 && n.slice(0, 4) === "data" && Wce.test(t)) {
|
|
46680
46720
|
if (t.charAt(4) === "-") {
|
|
46681
|
-
const i = t.slice(5).replace(
|
|
46721
|
+
const i = t.slice(5).replace(kP, Gce);
|
|
46682
46722
|
r = "data" + i.charAt(0).toUpperCase() + i.slice(1);
|
|
46683
46723
|
} else {
|
|
46684
46724
|
const i = t.slice(4);
|
|
46685
|
-
if (!
|
|
46725
|
+
if (!kP.test(i)) {
|
|
46686
46726
|
let a = i.replace(Hce, qce);
|
|
46687
46727
|
a.charAt(0) !== "-" && (a = "-" + a), t = "data" + a;
|
|
46688
46728
|
}
|
|
@@ -46701,8 +46741,8 @@ const Yce = AL([FL, Bce, zL, BL, VL], "html"), QS = AL([FL, Vce, zL, BL, VL], "s
|
|
|
46701
46741
|
function Kce(e) {
|
|
46702
46742
|
return e.join(" ").trim();
|
|
46703
46743
|
}
|
|
46704
|
-
var JS = {},
|
|
46705
|
-
`,
|
|
46744
|
+
var JS = {}, PP = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xce = /\n/g, Qce = /^\s*/, Jce = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Zce = /^:\s*/, eue = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, tue = /^[;\s]*/, nue = /^\s+|\s+$/g, rue = `
|
|
46745
|
+
`, DP = "/", OP = "*", Ua = "", oue = "comment", iue = "declaration", aue = function(e, t) {
|
|
46706
46746
|
if (typeof e != "string")
|
|
46707
46747
|
throw new TypeError("First argument must be a string");
|
|
46708
46748
|
if (!e) return [];
|
|
@@ -46748,8 +46788,8 @@ var JS = {}, P2 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xce = /\n/g, Qce = /^\s*/,
|
|
|
46748
46788
|
}
|
|
46749
46789
|
function d() {
|
|
46750
46790
|
var p = i();
|
|
46751
|
-
if (!(
|
|
46752
|
-
for (var g = 2; Ua != e.charAt(g) && (
|
|
46791
|
+
if (!(DP != e.charAt(0) || OP != e.charAt(1))) {
|
|
46792
|
+
for (var g = 2; Ua != e.charAt(g) && (OP != e.charAt(g) || DP != e.charAt(g + 1)); )
|
|
46753
46793
|
++g;
|
|
46754
46794
|
if (g += 2, Ua === e.charAt(g - 1))
|
|
46755
46795
|
return s("End of comment missing");
|
|
@@ -46766,8 +46806,8 @@ var JS = {}, P2 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xce = /\n/g, Qce = /^\s*/,
|
|
|
46766
46806
|
if (d(), !l(Zce)) return s("property missing ':'");
|
|
46767
46807
|
var m = l(eue), b = p({
|
|
46768
46808
|
type: iue,
|
|
46769
|
-
property:
|
|
46770
|
-
value: m ?
|
|
46809
|
+
property: MP(g[0].replace(PP, Ua)),
|
|
46810
|
+
value: m ? MP(m[0].replace(PP, Ua)) : Ua
|
|
46771
46811
|
});
|
|
46772
46812
|
return l(tue), b;
|
|
46773
46813
|
}
|
|
@@ -46781,7 +46821,7 @@ var JS = {}, P2 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xce = /\n/g, Qce = /^\s*/,
|
|
|
46781
46821
|
}
|
|
46782
46822
|
return c(), f();
|
|
46783
46823
|
};
|
|
46784
|
-
function
|
|
46824
|
+
function MP(e) {
|
|
46785
46825
|
return e ? e.replace(nue, Ua) : Ua;
|
|
46786
46826
|
}
|
|
46787
46827
|
var sue = mi && mi.__importDefault || function(e) {
|
|
@@ -46809,10 +46849,10 @@ var uue = /^--[a-zA-Z0-9_-]+$/, due = /-([a-z])/g, fue = /^[^-]+$/, hue = /^-(we
|
|
|
46809
46849
|
return !e || fue.test(e) || uue.test(e);
|
|
46810
46850
|
}, mue = function(e, t) {
|
|
46811
46851
|
return t.toUpperCase();
|
|
46812
|
-
},
|
|
46852
|
+
}, TP = function(e, t) {
|
|
46813
46853
|
return "".concat(t, "-");
|
|
46814
46854
|
}, bue = function(e, t) {
|
|
46815
|
-
return t === void 0 && (t = {}), gue(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(pue,
|
|
46855
|
+
return t === void 0 && (t = {}), gue(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(pue, TP) : e = e.replace(hue, TP), e.replace(due, mue));
|
|
46816
46856
|
};
|
|
46817
46857
|
$m.camelCase = bue;
|
|
46818
46858
|
var yue = mi && mi.__importDefault || function(e) {
|
|
@@ -46845,15 +46885,15 @@ function Cue(e) {
|
|
|
46845
46885
|
return { start: t, end: n };
|
|
46846
46886
|
}
|
|
46847
46887
|
function Yu(e) {
|
|
46848
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ?
|
|
46888
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? IP(e.position) : "start" in e || "end" in e ? IP(e) : "line" in e || "column" in e ? yw(e) : "";
|
|
46849
46889
|
}
|
|
46850
46890
|
function yw(e) {
|
|
46851
|
-
return
|
|
46891
|
+
return AP(e && e.line) + ":" + AP(e && e.column);
|
|
46852
46892
|
}
|
|
46853
|
-
function
|
|
46893
|
+
function IP(e) {
|
|
46854
46894
|
return yw(e && e.start) + "-" + yw(e && e.end);
|
|
46855
46895
|
}
|
|
46856
|
-
function
|
|
46896
|
+
function AP(e) {
|
|
46857
46897
|
return e && typeof e == "number" ? e : 1;
|
|
46858
46898
|
}
|
|
46859
46899
|
class qn extends Error {
|
|
@@ -47182,7 +47222,7 @@ function GL(e, t, n) {
|
|
|
47182
47222
|
const o = t.split(".");
|
|
47183
47223
|
let i = -1, a;
|
|
47184
47224
|
for (; ++i < o.length; ) {
|
|
47185
|
-
const s =
|
|
47225
|
+
const s = _P(o[i]) ? { type: "Identifier", name: o[i] } : { type: "Literal", value: o[i] };
|
|
47186
47226
|
a = a ? {
|
|
47187
47227
|
type: "MemberExpression",
|
|
47188
47228
|
object: a,
|
|
@@ -47193,7 +47233,7 @@ function GL(e, t, n) {
|
|
|
47193
47233
|
}
|
|
47194
47234
|
r = a;
|
|
47195
47235
|
} else
|
|
47196
|
-
r =
|
|
47236
|
+
r = _P(t) && !/^[a-z]/.test(t) ? { type: "Identifier", name: t } : { type: "Literal", value: t };
|
|
47197
47237
|
if (r.type === "Literal") {
|
|
47198
47238
|
const o = (
|
|
47199
47239
|
/** @type {string | number} */
|
|
@@ -47265,11 +47305,11 @@ function YL(e, t, n) {
|
|
|
47265
47305
|
if (t && "alt" in e && e.alt)
|
|
47266
47306
|
return e.alt;
|
|
47267
47307
|
if ("children" in e)
|
|
47268
|
-
return
|
|
47308
|
+
return NP(e.children, t, n);
|
|
47269
47309
|
}
|
|
47270
|
-
return Array.isArray(e) ?
|
|
47310
|
+
return Array.isArray(e) ? NP(e, t, n) : "";
|
|
47271
47311
|
}
|
|
47272
|
-
function
|
|
47312
|
+
function NP(e, t, n) {
|
|
47273
47313
|
const r = [];
|
|
47274
47314
|
let o = -1;
|
|
47275
47315
|
for (; ++o < e.length; )
|
|
@@ -47279,11 +47319,11 @@ function N2(e, t, n) {
|
|
|
47279
47319
|
function que(e) {
|
|
47280
47320
|
return !!(e && typeof e == "object");
|
|
47281
47321
|
}
|
|
47282
|
-
const
|
|
47322
|
+
const FP = document.createElement("i");
|
|
47283
47323
|
function rC(e) {
|
|
47284
47324
|
const t = "&" + e + ";";
|
|
47285
|
-
|
|
47286
|
-
const n =
|
|
47325
|
+
FP.innerHTML = t;
|
|
47326
|
+
const n = FP.textContent;
|
|
47287
47327
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
|
47288
47328
|
}
|
|
47289
47329
|
function Uo(e, t, n, r) {
|
|
@@ -47298,7 +47338,7 @@ function Uo(e, t, n, r) {
|
|
|
47298
47338
|
function Ur(e, t) {
|
|
47299
47339
|
return e.length > 0 ? (Uo(e, e.length, 0, t), e) : t;
|
|
47300
47340
|
}
|
|
47301
|
-
const
|
|
47341
|
+
const LP = {}.hasOwnProperty;
|
|
47302
47342
|
function Gue(e) {
|
|
47303
47343
|
const t = {};
|
|
47304
47344
|
let n = -1;
|
|
@@ -47309,11 +47349,11 @@ function Gue(e) {
|
|
|
47309
47349
|
function Yue(e, t) {
|
|
47310
47350
|
let n;
|
|
47311
47351
|
for (n in t) {
|
|
47312
|
-
const o = (
|
|
47352
|
+
const o = (LP.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n];
|
|
47313
47353
|
let a;
|
|
47314
47354
|
if (i)
|
|
47315
47355
|
for (a in i) {
|
|
47316
|
-
|
|
47356
|
+
LP.call(o, a) || (o[a] = []);
|
|
47317
47357
|
const s = i[a];
|
|
47318
47358
|
Kue(
|
|
47319
47359
|
// @ts-expect-error Looks like a list.
|
|
@@ -47435,7 +47475,7 @@ function nde(e) {
|
|
|
47435
47475
|
}
|
|
47436
47476
|
const rde = {
|
|
47437
47477
|
tokenize: ode
|
|
47438
|
-
}, $
|
|
47478
|
+
}, $P = {
|
|
47439
47479
|
tokenize: ide
|
|
47440
47480
|
};
|
|
47441
47481
|
function ode(e) {
|
|
@@ -47477,7 +47517,7 @@ function ode(e) {
|
|
|
47477
47517
|
return p(w);
|
|
47478
47518
|
t.interrupt = !!(o.currentConstruct && !o._gfmTableDynamicInterruptHack);
|
|
47479
47519
|
}
|
|
47480
|
-
return t.containerState = {}, e.check($
|
|
47520
|
+
return t.containerState = {}, e.check($P, u, d)(w);
|
|
47481
47521
|
}
|
|
47482
47522
|
function u(w) {
|
|
47483
47523
|
return o && v(), b(r), h(w);
|
|
@@ -47486,7 +47526,7 @@ function ode(e) {
|
|
|
47486
47526
|
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, p(w);
|
|
47487
47527
|
}
|
|
47488
47528
|
function h(w) {
|
|
47489
|
-
return t.containerState = {}, e.attempt($
|
|
47529
|
+
return t.containerState = {}, e.attempt($P, f, p)(w);
|
|
47490
47530
|
}
|
|
47491
47531
|
function f(w) {
|
|
47492
47532
|
return r++, n.push([t.currentConstruct, t.containerState]), h(w);
|
|
@@ -47553,7 +47593,7 @@ function ode(e) {
|
|
|
47553
47593
|
function ide(e, t, n) {
|
|
47554
47594
|
return At(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
47555
47595
|
}
|
|
47556
|
-
function
|
|
47596
|
+
function zP(e) {
|
|
47557
47597
|
if (e === null || yr(e) || ede(e))
|
|
47558
47598
|
return 1;
|
|
47559
47599
|
if (Zue(e))
|
|
@@ -47588,7 +47628,7 @@ function ade(e, t) {
|
|
|
47588
47628
|
}, h = {
|
|
47589
47629
|
...e[n][1].start
|
|
47590
47630
|
};
|
|
47591
|
-
|
|
47631
|
+
BP(d, -l), BP(h, l), a = {
|
|
47592
47632
|
type: l > 1 ? "strongSequence" : "emphasisSequence",
|
|
47593
47633
|
start: d,
|
|
47594
47634
|
end: {
|
|
@@ -47629,7 +47669,7 @@ function ade(e, t) {
|
|
|
47629
47669
|
return e;
|
|
47630
47670
|
}
|
|
47631
47671
|
function sde(e, t) {
|
|
47632
|
-
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, o =
|
|
47672
|
+
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, o = zP(r);
|
|
47633
47673
|
let i;
|
|
47634
47674
|
return a;
|
|
47635
47675
|
function a(l) {
|
|
@@ -47638,11 +47678,11 @@ function sde(e, t) {
|
|
|
47638
47678
|
function s(l) {
|
|
47639
47679
|
if (l === i)
|
|
47640
47680
|
return e.consume(l), s;
|
|
47641
|
-
const c = e.exit("attentionSequence"), u =
|
|
47681
|
+
const c = e.exit("attentionSequence"), u = zP(l), d = !u || u === 2 && o || n.includes(l), h = !o || o === 2 && u || n.includes(r);
|
|
47642
47682
|
return c._open = !!(i === 42 ? d : d && (o || !h)), c._close = !!(i === 42 ? h : h && (u || !d)), t(l);
|
|
47643
47683
|
}
|
|
47644
47684
|
}
|
|
47645
|
-
function
|
|
47685
|
+
function BP(e, t) {
|
|
47646
47686
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
|
47647
47687
|
}
|
|
47648
47688
|
const lde = {
|
|
@@ -47772,10 +47812,10 @@ function gde(e, t, n) {
|
|
|
47772
47812
|
return a(d) && o++ < i ? (e.consume(d), u) : n(d);
|
|
47773
47813
|
}
|
|
47774
47814
|
}
|
|
47775
|
-
const
|
|
47815
|
+
const VP = {
|
|
47776
47816
|
partial: !0,
|
|
47777
47817
|
tokenize: bde
|
|
47778
|
-
},
|
|
47818
|
+
}, jP = {
|
|
47779
47819
|
concrete: !0,
|
|
47780
47820
|
name: "codeFenced",
|
|
47781
47821
|
tokenize: mde
|
|
@@ -47798,7 +47838,7 @@ function mde(e, t, n) {
|
|
|
47798
47838
|
return C === s ? (a++, e.consume(C), u) : a < 3 ? n(C) : (e.exit("codeFencedFenceSequence"), ht(C) ? At(e, d, "whitespace")(C) : d(C));
|
|
47799
47839
|
}
|
|
47800
47840
|
function d(C) {
|
|
47801
|
-
return C === null || Ne(C) ? (e.exit("codeFencedFence"), r.interrupt ? t(C) : e.check(
|
|
47841
|
+
return C === null || Ne(C) ? (e.exit("codeFencedFence"), r.interrupt ? t(C) : e.check(VP, g, S)(C)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
47802
47842
|
contentType: "string"
|
|
47803
47843
|
}), h(C));
|
|
47804
47844
|
}
|
|
@@ -47823,7 +47863,7 @@ function mde(e, t, n) {
|
|
|
47823
47863
|
return i > 0 && ht(C) ? At(e, v, "linePrefix", i + 1)(C) : v(C);
|
|
47824
47864
|
}
|
|
47825
47865
|
function v(C) {
|
|
47826
|
-
return C === null || Ne(C) ? e.check(
|
|
47866
|
+
return C === null || Ne(C) ? e.check(VP, g, S)(C) : (e.enter("codeFlowValue"), w(C));
|
|
47827
47867
|
}
|
|
47828
47868
|
function w(C) {
|
|
47829
47869
|
return C === null || Ne(C) ? (e.exit("codeFlowValue"), v(C)) : (e.consume(C), w);
|
|
@@ -48470,7 +48510,7 @@ const Vde = [
|
|
|
48470
48510
|
"tr",
|
|
48471
48511
|
"track",
|
|
48472
48512
|
"ul"
|
|
48473
|
-
],
|
|
48513
|
+
], HP = ["pre", "script", "style", "textarea"], jde = {
|
|
48474
48514
|
concrete: !0,
|
|
48475
48515
|
name: "htmlFlow",
|
|
48476
48516
|
resolveTo: Ude,
|
|
@@ -48517,7 +48557,7 @@ function qde(e, t, n) {
|
|
|
48517
48557
|
function m(R) {
|
|
48518
48558
|
if (R === null || R === 47 || R === 62 || yr(R)) {
|
|
48519
48559
|
const H = R === 47, q = a.toLowerCase();
|
|
48520
|
-
return !H && !i &&
|
|
48560
|
+
return !H && !i && HP.includes(q) ? (o = 1, r.interrupt ? t(R) : I(R)) : Vde.includes(a.toLowerCase()) ? (o = 6, H ? (e.consume(R), b) : r.interrupt ? t(R) : I(R)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(R) : i ? v(R) : w(R));
|
|
48521
48561
|
}
|
|
48522
48562
|
return R === 45 || Mr(R) ? (e.consume(R), a += String.fromCharCode(R), m) : n(R);
|
|
48523
48563
|
}
|
|
@@ -48575,7 +48615,7 @@ function qde(e, t, n) {
|
|
|
48575
48615
|
function L(R) {
|
|
48576
48616
|
if (R === 62) {
|
|
48577
48617
|
const H = a.toLowerCase();
|
|
48578
|
-
return
|
|
48618
|
+
return HP.includes(H) ? (e.consume(R), j) : I(R);
|
|
48579
48619
|
}
|
|
48580
48620
|
return Mo(R) && a.length < 8 ? (e.consume(R), a += String.fromCharCode(R), L) : I(R);
|
|
48581
48621
|
}
|
|
@@ -48992,7 +49032,7 @@ function yfe(e, t, n) {
|
|
|
48992
49032
|
return !ht(i) && a && a[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
|
|
48993
49033
|
}
|
|
48994
49034
|
}
|
|
48995
|
-
const
|
|
49035
|
+
const WP = {
|
|
48996
49036
|
name: "setextUnderline",
|
|
48997
49037
|
resolveTo: vfe,
|
|
48998
49038
|
tokenize: wfe
|
|
@@ -49185,12 +49225,12 @@ const kfe = {
|
|
|
49185
49225
|
}, Ofe = {
|
|
49186
49226
|
35: $de,
|
|
49187
49227
|
42: dp,
|
|
49188
|
-
45: [
|
|
49228
|
+
45: [WP, dp],
|
|
49189
49229
|
60: jde,
|
|
49190
|
-
61:
|
|
49230
|
+
61: WP,
|
|
49191
49231
|
95: dp,
|
|
49192
|
-
96:
|
|
49193
|
-
126:
|
|
49232
|
+
96: jP,
|
|
49233
|
+
126: jP
|
|
49194
49234
|
}, Mfe = {
|
|
49195
49235
|
38: JL,
|
|
49196
49236
|
92: QL
|
|
@@ -49469,7 +49509,7 @@ function Vfe(e) {
|
|
|
49469
49509
|
;
|
|
49470
49510
|
return e;
|
|
49471
49511
|
}
|
|
49472
|
-
const
|
|
49512
|
+
const UP = /[\0\t\n\r]/g;
|
|
49473
49513
|
function jfe() {
|
|
49474
49514
|
let e = 1, t = "", n = !0, r;
|
|
49475
49515
|
return o;
|
|
@@ -49477,7 +49517,7 @@ function jfe() {
|
|
|
49477
49517
|
const l = [];
|
|
49478
49518
|
let c, u, d, h, f;
|
|
49479
49519
|
for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)), d = 0, t = "", n && (i.charCodeAt(0) === 65279 && d++, n = void 0); d < i.length; ) {
|
|
49480
|
-
if (
|
|
49520
|
+
if (UP.lastIndex = d, c = UP.exec(i), h = c && c.index !== void 0 ? c.index : i.length, f = i.charCodeAt(h), !c) {
|
|
49481
49521
|
t = i.slice(d);
|
|
49482
49522
|
break;
|
|
49483
49523
|
}
|
|
@@ -49656,7 +49696,7 @@ function Gfe(e) {
|
|
|
49656
49696
|
}
|
|
49657
49697
|
if (Se.tokenStack.length > 0) {
|
|
49658
49698
|
const Lt = Se.tokenStack[Se.tokenStack.length - 1];
|
|
49659
|
-
(Lt[1] ||
|
|
49699
|
+
(Lt[1] || qP).call(Se, void 0, Lt[0]);
|
|
49660
49700
|
}
|
|
49661
49701
|
for (ce.position = {
|
|
49662
49702
|
start: Li(ne.length > 0 ? ne[0][1].start : {
|
|
@@ -49751,7 +49791,7 @@ function Gfe(e) {
|
|
|
49751
49791
|
function c(ne, ce) {
|
|
49752
49792
|
const Se = this.stack.pop(), Pe = this.tokenStack.pop();
|
|
49753
49793
|
if (Pe)
|
|
49754
|
-
Pe[0].type !== ne.type && (ce ? ce.call(this, ne, Pe[0]) : (Pe[1] ||
|
|
49794
|
+
Pe[0].type !== ne.type && (ce ? ce.call(this, ne, Pe[0]) : (Pe[1] || qP).call(this, ne, Pe[0]));
|
|
49755
49795
|
else throw new Error("Cannot close `" + ne.type + "` (" + Yu({
|
|
49756
49796
|
start: ne.start,
|
|
49757
49797
|
end: ne.end
|
|
@@ -50075,7 +50115,7 @@ function Yfe(e, t) {
|
|
|
50075
50115
|
}
|
|
50076
50116
|
}
|
|
50077
50117
|
}
|
|
50078
|
-
function
|
|
50118
|
+
function qP(e, t) {
|
|
50079
50119
|
throw e ? new Error("Cannot close `" + e.type + "` (" + Yu({
|
|
50080
50120
|
start: e.start,
|
|
50081
50121
|
end: e.end
|
|
@@ -50381,28 +50421,28 @@ function bhe(e, t) {
|
|
|
50381
50421
|
};
|
|
50382
50422
|
return e.patch(t, n), e.applyData(t, n);
|
|
50383
50423
|
}
|
|
50384
|
-
const
|
|
50424
|
+
const GP = 9, YP = 32;
|
|
50385
50425
|
function yhe(e) {
|
|
50386
50426
|
const t = String(e), n = /\r?\n|\r/g;
|
|
50387
50427
|
let r = n.exec(t), o = 0;
|
|
50388
50428
|
const i = [];
|
|
50389
50429
|
for (; r; )
|
|
50390
50430
|
i.push(
|
|
50391
|
-
|
|
50431
|
+
KP(t.slice(o, r.index), o > 0, !0),
|
|
50392
50432
|
r[0]
|
|
50393
50433
|
), o = r.index + r[0].length, r = n.exec(t);
|
|
50394
|
-
return i.push(
|
|
50434
|
+
return i.push(KP(t.slice(o), o > 0, !1)), i.join("");
|
|
50395
50435
|
}
|
|
50396
|
-
function
|
|
50436
|
+
function KP(e, t, n) {
|
|
50397
50437
|
let r = 0, o = e.length;
|
|
50398
50438
|
if (t) {
|
|
50399
50439
|
let i = e.codePointAt(r);
|
|
50400
|
-
for (; i ===
|
|
50440
|
+
for (; i === GP || i === YP; )
|
|
50401
50441
|
r++, i = e.codePointAt(r);
|
|
50402
50442
|
}
|
|
50403
50443
|
if (n) {
|
|
50404
50444
|
let i = e.codePointAt(o - 1);
|
|
50405
|
-
for (; i ===
|
|
50445
|
+
for (; i === GP || i === YP; )
|
|
50406
50446
|
o--, i = e.codePointAt(o - 1);
|
|
50407
50447
|
}
|
|
50408
50448
|
return o > r ? e.slice(r, o) : "";
|
|
@@ -50452,7 +50492,7 @@ const xhe = {
|
|
|
50452
50492
|
};
|
|
50453
50493
|
function Ah() {
|
|
50454
50494
|
}
|
|
50455
|
-
const c4 = -1, Bm = 0, Xu = 1, hg = 2, aC = 3, sC = 4, lC = 5, cC = 6, u4 = 7, d4 = 8,
|
|
50495
|
+
const c4 = -1, Bm = 0, Xu = 1, hg = 2, aC = 3, sC = 4, lC = 5, cC = 6, u4 = 7, d4 = 8, XP = typeof self == "object" ? self : globalThis, She = (e, t) => {
|
|
50456
50496
|
const n = (o, i) => (e.set(i, o), o), r = (o) => {
|
|
50457
50497
|
if (e.has(o))
|
|
50458
50498
|
return e.get(o);
|
|
@@ -50493,7 +50533,7 @@ const c4 = -1, Bm = 0, Xu = 1, hg = 2, aC = 3, sC = 4, lC = 5, cC = 6, u4 = 7, d
|
|
|
50493
50533
|
}
|
|
50494
50534
|
case u4: {
|
|
50495
50535
|
const { name: s, message: l } = a;
|
|
50496
|
-
return n(new
|
|
50536
|
+
return n(new XP[s](l), o);
|
|
50497
50537
|
}
|
|
50498
50538
|
case d4:
|
|
50499
50539
|
return n(BigInt(a), o);
|
|
@@ -50506,10 +50546,10 @@ const c4 = -1, Bm = 0, Xu = 1, hg = 2, aC = 3, sC = 4, lC = 5, cC = 6, u4 = 7, d
|
|
|
50506
50546
|
return n(new DataView(s), a);
|
|
50507
50547
|
}
|
|
50508
50548
|
}
|
|
50509
|
-
return n(new
|
|
50549
|
+
return n(new XP[i](a), o);
|
|
50510
50550
|
};
|
|
50511
50551
|
return r;
|
|
50512
|
-
},
|
|
50552
|
+
}, QP = (e) => She(/* @__PURE__ */ new Map(), e)(0), hl = "", { toString: Che } = {}, { keys: _he } = Object, cu = (e) => {
|
|
50513
50553
|
const t = typeof e;
|
|
50514
50554
|
if (t !== "object" || !e)
|
|
50515
50555
|
return [Bm, t];
|
|
@@ -50607,13 +50647,13 @@ const c4 = -1, Bm = 0, Xu = 1, hg = 2, aC = 3, sC = 4, lC = 5, cC = 6, u4 = 7, d
|
|
|
50607
50647
|
return o([s, { name: l, message: c }], a);
|
|
50608
50648
|
};
|
|
50609
50649
|
return i;
|
|
50610
|
-
},
|
|
50650
|
+
}, JP = (e, { json: t, lossy: n } = {}) => {
|
|
50611
50651
|
const r = [];
|
|
50612
50652
|
return Ehe(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
|
|
50613
50653
|
}, pg = typeof structuredClone == "function" ? (
|
|
50614
50654
|
/* c8 ignore start */
|
|
50615
|
-
(e, t) => t && ("json" in t || "lossy" in t) ?
|
|
50616
|
-
) : (e, t) =>
|
|
50655
|
+
(e, t) => t && ("json" in t || "lossy" in t) ? QP(JP(e, t)) : structuredClone(e)
|
|
50656
|
+
) : (e, t) => QP(JP(e, t));
|
|
50617
50657
|
function Rhe(e, t) {
|
|
50618
50658
|
const n = [{ type: "text", value: "↩" }];
|
|
50619
50659
|
return t > 1 && n.push({
|
|
@@ -50778,7 +50818,7 @@ function The() {
|
|
|
50778
50818
|
function Ihe(e) {
|
|
50779
50819
|
return e !== null && typeof e == "object" && "type" in e;
|
|
50780
50820
|
}
|
|
50781
|
-
const h4 = [], Ahe = !0,
|
|
50821
|
+
const h4 = [], Ahe = !0, ZP = !1, Nhe = "skip";
|
|
50782
50822
|
function Fhe(e, t, n, r) {
|
|
50783
50823
|
let o;
|
|
50784
50824
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : o = t;
|
|
@@ -50804,7 +50844,7 @@ function Fhe(e, t, n, r) {
|
|
|
50804
50844
|
return h;
|
|
50805
50845
|
function h() {
|
|
50806
50846
|
let f = h4, p, g, m;
|
|
50807
|
-
if ((!t || i(l, c, u[u.length - 1] || void 0)) && (f = Lhe(n(l, u)), f[0] ===
|
|
50847
|
+
if ((!t || i(l, c, u[u.length - 1] || void 0)) && (f = Lhe(n(l, u)), f[0] === ZP))
|
|
50808
50848
|
return f;
|
|
50809
50849
|
if ("children" in l && l.children) {
|
|
50810
50850
|
const b = (
|
|
@@ -50814,7 +50854,7 @@ function Fhe(e, t, n, r) {
|
|
|
50814
50854
|
if (b.children && f[0] !== Nhe)
|
|
50815
50855
|
for (g = (r ? b.children.length : -1) + a, m = u.concat(b); g > -1 && g < b.children.length; ) {
|
|
50816
50856
|
const v = b.children[g];
|
|
50817
|
-
if (p = s(v, g, m)(), p[0] ===
|
|
50857
|
+
if (p = s(v, g, m)(), p[0] === ZP)
|
|
50818
50858
|
return p;
|
|
50819
50859
|
g = typeof p[1] == "number" ? p[1] : g + a;
|
|
50820
50860
|
}
|
|
@@ -50876,9 +50916,9 @@ function zhe(e, t) {
|
|
|
50876
50916
|
for (; ++f < h.length; ) {
|
|
50877
50917
|
const p = s.one(h[f], u);
|
|
50878
50918
|
if (p) {
|
|
50879
|
-
if (f && h[f - 1].type === "break" && (!Array.isArray(p) && p.type === "text" && (p.value =
|
|
50919
|
+
if (f && h[f - 1].type === "break" && (!Array.isArray(p) && p.type === "text" && (p.value = e2(p.value)), !Array.isArray(p) && p.type === "element")) {
|
|
50880
50920
|
const g = p.children[0];
|
|
50881
|
-
g && g.type === "text" && (g.value =
|
|
50921
|
+
g && g.type === "text" && (g.value = e2(g.value));
|
|
50882
50922
|
}
|
|
50883
50923
|
Array.isArray(p) ? d.push(...p) : d.push(p);
|
|
50884
50924
|
}
|
|
@@ -50924,13 +50964,13 @@ function Hhe(e, t) {
|
|
|
50924
50964
|
return t && e.length > 0 && n.push({ type: "text", value: `
|
|
50925
50965
|
` }), n;
|
|
50926
50966
|
}
|
|
50927
|
-
function
|
|
50967
|
+
function e2(e) {
|
|
50928
50968
|
let t = 0, n = e.charCodeAt(t);
|
|
50929
50969
|
for (; n === 9 || n === 32; )
|
|
50930
50970
|
t++, n = e.charCodeAt(t);
|
|
50931
50971
|
return e.slice(t);
|
|
50932
50972
|
}
|
|
50933
|
-
function
|
|
50973
|
+
function t2(e, t) {
|
|
50934
50974
|
const n = zhe(e, t), r = n.one(e, void 0), o = Phe(n), i = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
|
|
50935
50975
|
return o && i.children.push({ type: "text", value: `
|
|
50936
50976
|
` }, o), i;
|
|
@@ -50939,23 +50979,23 @@ function Whe(e, t) {
|
|
|
50939
50979
|
return e && "run" in e ? async function(n, r) {
|
|
50940
50980
|
const o = (
|
|
50941
50981
|
/** @type {HastRoot} */
|
|
50942
|
-
|
|
50982
|
+
t2(n, { file: r, ...t })
|
|
50943
50983
|
);
|
|
50944
50984
|
await e.run(o, r);
|
|
50945
50985
|
} : function(n, r) {
|
|
50946
50986
|
return (
|
|
50947
50987
|
/** @type {HastRoot} */
|
|
50948
|
-
|
|
50988
|
+
t2(n, { file: r, ...e || t })
|
|
50949
50989
|
);
|
|
50950
50990
|
};
|
|
50951
50991
|
}
|
|
50952
|
-
function
|
|
50992
|
+
function n2(e) {
|
|
50953
50993
|
if (e)
|
|
50954
50994
|
throw e;
|
|
50955
50995
|
}
|
|
50956
|
-
var fp = Object.prototype.hasOwnProperty, g4 = Object.prototype.toString,
|
|
50996
|
+
var fp = Object.prototype.hasOwnProperty, g4 = Object.prototype.toString, r2 = Object.defineProperty, o2 = Object.getOwnPropertyDescriptor, i2 = function(t) {
|
|
50957
50997
|
return typeof Array.isArray == "function" ? Array.isArray(t) : g4.call(t) === "[object Array]";
|
|
50958
|
-
},
|
|
50998
|
+
}, a2 = function(t) {
|
|
50959
50999
|
if (!t || g4.call(t) !== "[object Object]")
|
|
50960
51000
|
return !1;
|
|
50961
51001
|
var n = fp.call(t, "constructor"), r = t.constructor && t.constructor.prototype && fp.call(t.constructor.prototype, "isPrototypeOf");
|
|
@@ -50965,18 +51005,18 @@ var fp = Object.prototype.hasOwnProperty, g4 = Object.prototype.toString, rP = O
|
|
|
50965
51005
|
for (o in t)
|
|
50966
51006
|
;
|
|
50967
51007
|
return typeof o > "u" || fp.call(t, o);
|
|
50968
|
-
},
|
|
50969
|
-
|
|
51008
|
+
}, s2 = function(t, n) {
|
|
51009
|
+
r2 && n.name === "__proto__" ? r2(t, n.name, {
|
|
50970
51010
|
enumerable: !0,
|
|
50971
51011
|
configurable: !0,
|
|
50972
51012
|
value: n.newValue,
|
|
50973
51013
|
writable: !0
|
|
50974
51014
|
}) : t[n.name] = n.newValue;
|
|
50975
|
-
},
|
|
51015
|
+
}, l2 = function(t, n) {
|
|
50976
51016
|
if (n === "__proto__")
|
|
50977
51017
|
if (fp.call(t, n)) {
|
|
50978
|
-
if (
|
|
50979
|
-
return
|
|
51018
|
+
if (o2)
|
|
51019
|
+
return o2(t, n).value;
|
|
50980
51020
|
} else return;
|
|
50981
51021
|
return t[n];
|
|
50982
51022
|
}, Uhe = function e() {
|
|
@@ -50984,7 +51024,7 @@ var fp = Object.prototype.hasOwnProperty, g4 = Object.prototype.toString, rP = O
|
|
|
50984
51024
|
for (typeof s == "boolean" && (u = s, s = arguments[1] || {}, l = 2), (s == null || typeof s != "object" && typeof s != "function") && (s = {}); l < c; ++l)
|
|
50985
51025
|
if (t = arguments[l], t != null)
|
|
50986
51026
|
for (n in t)
|
|
50987
|
-
r =
|
|
51027
|
+
r = l2(s, n), o = l2(t, n), s !== o && (u && o && (a2(o) || (i = i2(o))) ? (i ? (i = !1, a = r && i2(r) ? r : []) : a = r && a2(r) ? r : {}, s2(s, { name: n, newValue: e(u, a, o) })) : typeof o < "u" && s2(s, { name: n, newValue: o }));
|
|
50988
51028
|
return s;
|
|
50989
51029
|
};
|
|
50990
51030
|
const Vy = /* @__PURE__ */ ma(Uhe);
|
|
@@ -51293,7 +51333,7 @@ class m4 {
|
|
|
51293
51333
|
* Nothing.
|
|
51294
51334
|
*/
|
|
51295
51335
|
set dirname(t) {
|
|
51296
|
-
|
|
51336
|
+
c2(this.basename, "dirname"), this.path = Co.join(t || "", this.basename);
|
|
51297
51337
|
}
|
|
51298
51338
|
/**
|
|
51299
51339
|
* Get the extname (including dot) (example: `'.js'`).
|
|
@@ -51317,7 +51357,7 @@ class m4 {
|
|
|
51317
51357
|
* Nothing.
|
|
51318
51358
|
*/
|
|
51319
51359
|
set extname(t) {
|
|
51320
|
-
if (Hy(t, "extname"),
|
|
51360
|
+
if (Hy(t, "extname"), c2(this.dirname, "extname"), t) {
|
|
51321
51361
|
if (t.codePointAt(0) !== 46)
|
|
51322
51362
|
throw new Error("`extname` must start with `.`");
|
|
51323
51363
|
if (t.includes(".", 1))
|
|
@@ -51594,7 +51634,7 @@ function Wy(e, t) {
|
|
|
51594
51634
|
if (!e)
|
|
51595
51635
|
throw new Error("`" + t + "` cannot be empty");
|
|
51596
51636
|
}
|
|
51597
|
-
function
|
|
51637
|
+
function c2(e, t) {
|
|
51598
51638
|
if (!e)
|
|
51599
51639
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
|
51600
51640
|
}
|
|
@@ -51872,9 +51912,9 @@ class uC extends ipe {
|
|
|
51872
51912
|
*/
|
|
51873
51913
|
processSync(t) {
|
|
51874
51914
|
let n = !1, r;
|
|
51875
|
-
return this.freeze(), Uy("processSync", this.parser || this.Parser), qy("processSync", this.compiler || this.Compiler), this.process(t, o),
|
|
51915
|
+
return this.freeze(), Uy("processSync", this.parser || this.Parser), qy("processSync", this.compiler || this.Compiler), this.process(t, o), d2("processSync", "process", n), r;
|
|
51876
51916
|
function o(i, a) {
|
|
51877
|
-
n = !0,
|
|
51917
|
+
n = !0, n2(i), r = a;
|
|
51878
51918
|
}
|
|
51879
51919
|
}
|
|
51880
51920
|
/**
|
|
@@ -51916,7 +51956,7 @@ class uC extends ipe {
|
|
|
51916
51956
|
* transformed tree.
|
|
51917
51957
|
*/
|
|
51918
51958
|
run(t, n, r) {
|
|
51919
|
-
|
|
51959
|
+
u2(t), this.freeze();
|
|
51920
51960
|
const o = this.transformers;
|
|
51921
51961
|
return !r && typeof n == "function" && (r = n, n = void 0), r ? i(void 0, r) : new Promise(i);
|
|
51922
51962
|
function i(a, s) {
|
|
@@ -51950,9 +51990,9 @@ class uC extends ipe {
|
|
|
51950
51990
|
*/
|
|
51951
51991
|
runSync(t, n) {
|
|
51952
51992
|
let r = !1, o;
|
|
51953
|
-
return this.run(t, n, i),
|
|
51993
|
+
return this.run(t, n, i), d2("runSync", "run", r), o;
|
|
51954
51994
|
function i(a, s) {
|
|
51955
|
-
|
|
51995
|
+
n2(a), o = s, r = !0;
|
|
51956
51996
|
}
|
|
51957
51997
|
}
|
|
51958
51998
|
/**
|
|
@@ -51987,7 +52027,7 @@ class uC extends ipe {
|
|
|
51987
52027
|
stringify(t, n) {
|
|
51988
52028
|
this.freeze();
|
|
51989
52029
|
const r = Fh(n), o = this.compiler || this.Compiler;
|
|
51990
|
-
return qy("stringify", o),
|
|
52030
|
+
return qy("stringify", o), u2(t), o(t, r);
|
|
51991
52031
|
}
|
|
51992
52032
|
/**
|
|
51993
52033
|
* Configure the processor to use a plugin, a list of usable values, or a
|
|
@@ -52119,11 +52159,11 @@ function Gy(e, t) {
|
|
|
52119
52159
|
"Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
|
|
52120
52160
|
);
|
|
52121
52161
|
}
|
|
52122
|
-
function
|
|
52162
|
+
function u2(e) {
|
|
52123
52163
|
if (!Cw(e) || typeof e.type != "string")
|
|
52124
52164
|
throw new TypeError("Expected node, got `" + e + "`");
|
|
52125
52165
|
}
|
|
52126
|
-
function
|
|
52166
|
+
function d2(e, t, n) {
|
|
52127
52167
|
if (!n)
|
|
52128
52168
|
throw new Error(
|
|
52129
52169
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
|
@@ -52141,7 +52181,7 @@ function cpe(e) {
|
|
|
52141
52181
|
function upe(e) {
|
|
52142
52182
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
52143
52183
|
}
|
|
52144
|
-
const dpe = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
|
|
52184
|
+
const dpe = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", f2 = [], h2 = { allowDangerousHtml: !0 }, fpe = /^(https?|ircs?|mailto|xmpp)$/i, hpe = [
|
|
52145
52185
|
{ from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
|
|
52146
52186
|
{ from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
|
|
52147
52187
|
{
|
|
@@ -52179,7 +52219,7 @@ function ppe(e) {
|
|
|
52179
52219
|
return bpe(t.runSync(t.parse(n), n), e);
|
|
52180
52220
|
}
|
|
52181
52221
|
function gpe(e) {
|
|
52182
|
-
const t = e.rehypePlugins ||
|
|
52222
|
+
const t = e.rehypePlugins || f2, n = e.remarkPlugins || f2, r = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...h2 } : h2;
|
|
52183
52223
|
return spe().use(Kfe).use(n).use(Whe, r).use(t);
|
|
52184
52224
|
}
|
|
52185
52225
|
function mpe(e) {
|
|
@@ -52238,12 +52278,12 @@ function ype(e) {
|
|
|
52238
52278
|
fpe.test(e.slice(0, t)) ? e : ""
|
|
52239
52279
|
);
|
|
52240
52280
|
}
|
|
52241
|
-
var vpe = Object.create, jm = Object.defineProperty, wpe = Object.defineProperties, xpe = Object.getOwnPropertyDescriptor, Spe = Object.getOwnPropertyDescriptors, b4 = Object.getOwnPropertyNames, gg = Object.getOwnPropertySymbols, Cpe = Object.getPrototypeOf, dC = Object.prototype.hasOwnProperty, y4 = Object.prototype.propertyIsEnumerable,
|
|
52281
|
+
var vpe = Object.create, jm = Object.defineProperty, wpe = Object.defineProperties, xpe = Object.getOwnPropertyDescriptor, Spe = Object.getOwnPropertyDescriptors, b4 = Object.getOwnPropertyNames, gg = Object.getOwnPropertySymbols, Cpe = Object.getPrototypeOf, dC = Object.prototype.hasOwnProperty, y4 = Object.prototype.propertyIsEnumerable, p2 = (e, t, n) => t in e ? jm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $o = (e, t) => {
|
|
52242
52282
|
for (var n in t || (t = {}))
|
|
52243
|
-
dC.call(t, n) &&
|
|
52283
|
+
dC.call(t, n) && p2(e, n, t[n]);
|
|
52244
52284
|
if (gg)
|
|
52245
52285
|
for (var n of gg(t))
|
|
52246
|
-
y4.call(t, n) &&
|
|
52286
|
+
y4.call(t, n) && p2(e, n, t[n]);
|
|
52247
52287
|
return e;
|
|
52248
52288
|
}, Hm = (e, t) => wpe(e, Spe(t)), v4 = (e, t) => {
|
|
52249
52289
|
var n = {};
|
|
@@ -54924,7 +54964,7 @@ var Dpe = {
|
|
|
54924
54964
|
},
|
|
54925
54965
|
[t]
|
|
54926
54966
|
);
|
|
54927
|
-
}, mge = /\r\n|\r|\n/,
|
|
54967
|
+
}, mge = /\r\n|\r|\n/, g2 = (e) => {
|
|
54928
54968
|
e.length === 0 ? e.push({
|
|
54929
54969
|
types: ["plain"],
|
|
54930
54970
|
content: `
|
|
@@ -54932,7 +54972,7 @@ var Dpe = {
|
|
|
54932
54972
|
empty: !0
|
|
54933
54973
|
}) : e.length === 1 && e[0].content === "" && (e[0].content = `
|
|
54934
54974
|
`, e[0].empty = !0);
|
|
54935
|
-
},
|
|
54975
|
+
}, m2 = (e, t) => {
|
|
54936
54976
|
const n = e.length;
|
|
54937
54977
|
return n > 0 && e[n - 1] === t ? e : e.concat(t);
|
|
54938
54978
|
}, bge = (e) => {
|
|
@@ -54943,7 +54983,7 @@ var Dpe = {
|
|
|
54943
54983
|
for (; (i = r[a]++) < o[a]; ) {
|
|
54944
54984
|
let c, u = t[a];
|
|
54945
54985
|
const h = n[a][i];
|
|
54946
|
-
if (typeof h == "string" ? (u = a > 0 ? u : ["plain"], c = h) : (u =
|
|
54986
|
+
if (typeof h == "string" ? (u = a > 0 ? u : ["plain"], c = h) : (u = m2(u, h.type), h.alias && (u = m2(u, h.alias)), c = h.content), typeof c != "string") {
|
|
54947
54987
|
a++, t.push(u), n.push(c), r.push(0), o.push(c.length);
|
|
54948
54988
|
continue;
|
|
54949
54989
|
}
|
|
@@ -54953,24 +54993,24 @@ var Dpe = {
|
|
|
54953
54993
|
content: f[0]
|
|
54954
54994
|
});
|
|
54955
54995
|
for (let g = 1; g < p; g++)
|
|
54956
|
-
|
|
54996
|
+
g2(s), l.push(s = []), s.push({
|
|
54957
54997
|
types: u,
|
|
54958
54998
|
content: f[g]
|
|
54959
54999
|
});
|
|
54960
55000
|
}
|
|
54961
55001
|
a--, t.pop(), n.pop(), r.pop(), o.pop();
|
|
54962
55002
|
}
|
|
54963
|
-
return
|
|
54964
|
-
},
|
|
55003
|
+
return g2(s), l;
|
|
55004
|
+
}, b2 = bge, yge = ({ prism: e, code: t, grammar: n, language: r }) => Ee(() => {
|
|
54965
55005
|
if (n == null)
|
|
54966
|
-
return
|
|
55006
|
+
return b2([t]);
|
|
54967
55007
|
const o = {
|
|
54968
55008
|
code: t,
|
|
54969
55009
|
grammar: n,
|
|
54970
55010
|
language: r,
|
|
54971
55011
|
tokens: []
|
|
54972
55012
|
};
|
|
54973
|
-
return e.hooks.run("before-tokenize", o), o.tokens = e.tokenize(t, n), e.hooks.run("after-tokenize", o),
|
|
55013
|
+
return e.hooks.run("before-tokenize", o), o.tokens = e.tokenize(t, n), e.hooks.run("after-tokenize", o), b2(o.tokens);
|
|
54974
55014
|
}, [
|
|
54975
55015
|
t,
|
|
54976
55016
|
n,
|
|
@@ -55488,7 +55528,7 @@ var E4 = "AI_InvalidArgumentError", R4 = `vercel.ai.error.${E4}`, $ge = Symbol.f
|
|
|
55488
55528
|
}
|
|
55489
55529
|
};
|
|
55490
55530
|
k4 = $ge;
|
|
55491
|
-
var P4 = "AI_JSONParseError", D4 = `vercel.ai.error.${P4}`, Bge = Symbol.for(D4), O4,
|
|
55531
|
+
var P4 = "AI_JSONParseError", D4 = `vercel.ai.error.${P4}`, Bge = Symbol.for(D4), O4, y2 = class extends xc {
|
|
55492
55532
|
constructor({ text: e, cause: t }) {
|
|
55493
55533
|
super({
|
|
55494
55534
|
name: P4,
|
|
@@ -55532,7 +55572,7 @@ Error message: ${_4(n)}`,
|
|
|
55532
55572
|
}
|
|
55533
55573
|
};
|
|
55534
55574
|
I4 = Vge;
|
|
55535
|
-
var
|
|
55575
|
+
var v2 = jge;
|
|
55536
55576
|
let Hge = (e, t = 21) => (n = t) => {
|
|
55537
55577
|
let r = "", o = n | 0;
|
|
55538
55578
|
for (; o--; )
|
|
@@ -55540,7 +55580,7 @@ let Hge = (e, t = 21) => (n = t) => {
|
|
|
55540
55580
|
return r;
|
|
55541
55581
|
};
|
|
55542
55582
|
var zc = { exports: {} };
|
|
55543
|
-
const Wge = typeof Buffer < "u",
|
|
55583
|
+
const Wge = typeof Buffer < "u", w2 = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/, x2 = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
|
|
55544
55584
|
function A4(e, t, n) {
|
|
55545
55585
|
n == null && t !== null && typeof t == "object" && (n = t, t = void 0), Wge && Buffer.isBuffer(e) && (e = e.toString()), e && e.charCodeAt(0) === 65279 && (e = e.slice(1));
|
|
55546
55586
|
const r = JSON.parse(e, t);
|
|
@@ -55550,12 +55590,12 @@ function A4(e, t, n) {
|
|
|
55550
55590
|
if (o === "ignore" && i === "ignore")
|
|
55551
55591
|
return r;
|
|
55552
55592
|
if (o !== "ignore" && i !== "ignore") {
|
|
55553
|
-
if (
|
|
55593
|
+
if (w2.test(e) === !1 && x2.test(e) === !1)
|
|
55554
55594
|
return r;
|
|
55555
55595
|
} else if (o !== "ignore" && i === "ignore") {
|
|
55556
|
-
if (
|
|
55596
|
+
if (w2.test(e) === !1)
|
|
55557
55597
|
return r;
|
|
55558
|
-
} else if (
|
|
55598
|
+
} else if (x2.test(e) === !1)
|
|
55559
55599
|
return r;
|
|
55560
55600
|
return N4(r, { protoAction: o, constructorAction: i, safe: n && n.safe });
|
|
55561
55601
|
}
|
|
@@ -55656,16 +55696,16 @@ function Zge({
|
|
|
55656
55696
|
const r = n.validate(e);
|
|
55657
55697
|
return r.success ? r : {
|
|
55658
55698
|
success: !1,
|
|
55659
|
-
error:
|
|
55699
|
+
error: v2.wrap({ value: e, cause: r.error })
|
|
55660
55700
|
};
|
|
55661
55701
|
} catch (r) {
|
|
55662
55702
|
return {
|
|
55663
55703
|
success: !1,
|
|
55664
|
-
error:
|
|
55704
|
+
error: v2.wrap({ value: e, cause: r })
|
|
55665
55705
|
};
|
|
55666
55706
|
}
|
|
55667
55707
|
}
|
|
55668
|
-
function
|
|
55708
|
+
function S2({
|
|
55669
55709
|
text: e,
|
|
55670
55710
|
schema: t
|
|
55671
55711
|
}) {
|
|
@@ -55678,7 +55718,7 @@ function SP({
|
|
|
55678
55718
|
} catch (n) {
|
|
55679
55719
|
return {
|
|
55680
55720
|
success: !1,
|
|
55681
|
-
error:
|
|
55721
|
+
error: y2.isInstance(n) ? n : new y2({ text: e, cause: n })
|
|
55682
55722
|
};
|
|
55683
55723
|
}
|
|
55684
55724
|
}
|
|
@@ -56014,8 +56054,8 @@ function nme(e) {
|
|
|
56014
56054
|
function rme(e) {
|
|
56015
56055
|
if (e === void 0)
|
|
56016
56056
|
return { value: void 0, state: "undefined-input" };
|
|
56017
|
-
let t =
|
|
56018
|
-
return t.success ? { value: t.value, state: "successful-parse" } : (t =
|
|
56057
|
+
let t = S2({ text: e });
|
|
56058
|
+
return t.success ? { value: t.value, state: "successful-parse" } : (t = S2({ text: nme(e) }), t.success ? { value: t.value, state: "repaired-parse" } : { value: void 0, state: "failed-parse" });
|
|
56019
56059
|
}
|
|
56020
56060
|
var ome = {
|
|
56021
56061
|
code: "0",
|
|
@@ -56668,7 +56708,7 @@ function Mw(e, t) {
|
|
|
56668
56708
|
return !1;
|
|
56669
56709
|
return !0;
|
|
56670
56710
|
}
|
|
56671
|
-
async function
|
|
56711
|
+
async function C2(e) {
|
|
56672
56712
|
if (!e)
|
|
56673
56713
|
return [];
|
|
56674
56714
|
if (e instanceof FileList)
|
|
@@ -56740,8 +56780,8 @@ function Tme({
|
|
|
56740
56780
|
);
|
|
56741
56781
|
}
|
|
56742
56782
|
var $4 = ex();
|
|
56743
|
-
const z4 = 0, B4 = 1, V4 = 2,
|
|
56744
|
-
var
|
|
56783
|
+
const z4 = 0, B4 = 1, V4 = 2, _2 = 3;
|
|
56784
|
+
var E2 = Object.prototype.hasOwnProperty;
|
|
56745
56785
|
function Tw(e, t) {
|
|
56746
56786
|
var n, r;
|
|
56747
56787
|
if (e === t) return !0;
|
|
@@ -56756,7 +56796,7 @@ function Tw(e, t) {
|
|
|
56756
56796
|
if (!n || typeof e == "object") {
|
|
56757
56797
|
r = 0;
|
|
56758
56798
|
for (n in e)
|
|
56759
|
-
if (
|
|
56799
|
+
if (E2.call(e, n) && ++r && !E2.call(t, n) || !(n in t) || !Tw(e[n], t[n])) return !1;
|
|
56760
56800
|
return Object.keys(t).length === r;
|
|
56761
56801
|
}
|
|
56762
56802
|
}
|
|
@@ -56814,7 +56854,7 @@ const Nme = () => Nw, [Fw, Lw] = Cf && window.addEventListener ? [
|
|
|
56814
56854
|
}, Bme = {
|
|
56815
56855
|
initFocus: Lme,
|
|
56816
56856
|
initReconnect: $me
|
|
56817
|
-
},
|
|
56857
|
+
}, R2 = !Q.useId, Id = !Cf || Ime, Vme = (e) => Ame() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Xy = Id ? fe : Sc, Qy = typeof navigator < "u" && navigator.connection, k2 = !Id && Qy && ([
|
|
56818
56858
|
"slow-2g",
|
|
56819
56859
|
"2g"
|
|
56820
56860
|
].includes(Qy.effectiveType) || Qy.saveData), $h = /* @__PURE__ */ new WeakMap(), Jy = (e, t) => Iw.prototype.toString.call(e) === `[object ${t}]`;
|
|
@@ -56933,7 +56973,7 @@ async function W4(...e) {
|
|
|
56933
56973
|
return x;
|
|
56934
56974
|
}
|
|
56935
56975
|
}
|
|
56936
|
-
const
|
|
56976
|
+
const P2 = (e, t) => {
|
|
56937
56977
|
for (const n in e)
|
|
56938
56978
|
e[n][0] && e[n][0](t);
|
|
56939
56979
|
}, Wme = (e, t) => {
|
|
@@ -56959,7 +56999,7 @@ const PP = (e, t) => {
|
|
|
56959
56999
|
l,
|
|
56960
57000
|
s
|
|
56961
57001
|
]), !Id)) {
|
|
56962
|
-
const u = n.initFocus(setTimeout.bind(er,
|
|
57002
|
+
const u = n.initFocus(setTimeout.bind(er, P2.bind(er, r, z4))), d = n.initReconnect(setTimeout.bind(er, P2.bind(er, r, B4)));
|
|
56963
57003
|
i = () => {
|
|
56964
57004
|
u && u(), d && d(), gi.delete(e);
|
|
56965
57005
|
};
|
|
@@ -56993,10 +57033,10 @@ const PP = (e, t) => {
|
|
|
56993
57033
|
revalidateIfStale: !0,
|
|
56994
57034
|
shouldRetryOnError: !0,
|
|
56995
57035
|
// timeouts
|
|
56996
|
-
errorRetryInterval:
|
|
57036
|
+
errorRetryInterval: k2 ? 1e4 : 5e3,
|
|
56997
57037
|
focusThrottleInterval: 5 * 1e3,
|
|
56998
57038
|
dedupingInterval: 2 * 1e3,
|
|
56999
|
-
loadingTimeout:
|
|
57039
|
+
loadingTimeout: k2 ? 5e3 : 3e3,
|
|
57000
57040
|
// providers
|
|
57001
57041
|
compare: qme,
|
|
57002
57042
|
isPaused: () => !1,
|
|
@@ -57111,7 +57151,7 @@ const Zy = Q.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
57111
57151
|
if (!b || !te || S.current || k().isPaused())
|
|
57112
57152
|
return !1;
|
|
57113
57153
|
let he, me, Re = !0;
|
|
57114
|
-
const ye = ie || {}, xe = !g[b] || !ye.dedupe, De = () =>
|
|
57154
|
+
const ye = ie || {}, xe = !g[b] || !ye.dedupe, De = () => R2 ? !S.current && b === x.current && w.current : b === x.current, tt = {
|
|
57115
57155
|
isValidating: !1,
|
|
57116
57156
|
isLoading: !1
|
|
57117
57157
|
}, Ft = () => {
|
|
@@ -57145,7 +57185,7 @@ const Zy = Q.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
57145
57185
|
const ne = k(), { shouldRetryOnError: ce } = ne;
|
|
57146
57186
|
ne.isPaused() || (tt.error = Ot, xe && De() && (ne.onError(Ot, b, ne), (ce === !0 || To(ce) && ce(Ot)) && (!k().revalidateOnFocus || !k().revalidateOnReconnect || D()) && ne.onErrorRetry(Ot, b, ne, (Se) => {
|
|
57147
57187
|
const Pe = f[b];
|
|
57148
|
-
Pe && Pe[0] && Pe[0](
|
|
57188
|
+
Pe && Pe[0] && Pe[0](_2, Se);
|
|
57149
57189
|
}, {
|
|
57150
57190
|
retryCount: (ye.retryCount || 0) + 1,
|
|
57151
57191
|
dedupe: !0
|
|
@@ -57189,7 +57229,7 @@ const Zy = Q.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
57189
57229
|
else {
|
|
57190
57230
|
if (Re == V4)
|
|
57191
57231
|
return ee();
|
|
57192
|
-
if (Re ==
|
|
57232
|
+
if (Re == _2)
|
|
57193
57233
|
return ee(ye);
|
|
57194
57234
|
}
|
|
57195
57235
|
});
|
|
@@ -57218,7 +57258,7 @@ const Zy = Q.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
57218
57258
|
d,
|
|
57219
57259
|
b
|
|
57220
57260
|
]), L8(q), i && lt(N) && b) {
|
|
57221
|
-
if (!
|
|
57261
|
+
if (!R2 && Id)
|
|
57222
57262
|
throw new Error("Fallback data is required when using Suspense in SSR.");
|
|
57223
57263
|
C.current = t, E.current = n, S.current = !1;
|
|
57224
57264
|
const ie = m[b];
|
|
@@ -57262,7 +57302,7 @@ function sbe(e, t) {
|
|
|
57262
57302
|
}
|
|
57263
57303
|
var lbe = sbe;
|
|
57264
57304
|
const cbe = /* @__PURE__ */ ma(lbe);
|
|
57265
|
-
function
|
|
57305
|
+
function D2(e, t) {
|
|
57266
57306
|
return t != null ? cbe(e, t) : e;
|
|
57267
57307
|
}
|
|
57268
57308
|
function ube(e) {
|
|
@@ -57329,7 +57369,7 @@ function dbe({
|
|
|
57329
57369
|
try {
|
|
57330
57370
|
const ye = new AbortController();
|
|
57331
57371
|
L.current = ye;
|
|
57332
|
-
const xe =
|
|
57372
|
+
const xe = D2(D, v), De = D2(
|
|
57333
57373
|
I,
|
|
57334
57374
|
v
|
|
57335
57375
|
), tt = M.current;
|
|
@@ -57443,7 +57483,7 @@ function dbe({
|
|
|
57443
57483
|
experimental_attachments: he
|
|
57444
57484
|
} = {}) => {
|
|
57445
57485
|
var me, Re;
|
|
57446
|
-
const ye = await
|
|
57486
|
+
const ye = await C2(
|
|
57447
57487
|
he
|
|
57448
57488
|
), xe = M.current.concat({
|
|
57449
57489
|
...re,
|
|
@@ -57492,7 +57532,7 @@ function dbe({
|
|
|
57492
57532
|
...B.current,
|
|
57493
57533
|
...ie
|
|
57494
57534
|
});
|
|
57495
|
-
const he = await
|
|
57535
|
+
const he = await C2(
|
|
57496
57536
|
Z.experimental_attachments
|
|
57497
57537
|
), Re = {
|
|
57498
57538
|
messages: M.current.concat({
|
|
@@ -57901,13 +57941,13 @@ var Pbe = "MenuLabel", e3 = _.forwardRef(
|
|
|
57901
57941
|
}
|
|
57902
57942
|
);
|
|
57903
57943
|
e3.displayName = Pbe;
|
|
57904
|
-
var mg = "MenuItem",
|
|
57944
|
+
var mg = "MenuItem", O2 = "menu.itemSelect", Um = _.forwardRef(
|
|
57905
57945
|
(e, t) => {
|
|
57906
57946
|
const { disabled: n = !1, onSelect: r, ...o } = e, i = _.useRef(null), a = Ef(mg, e.__scopeMenu), s = wC(mg, e.__scopeMenu), l = $e(t, i), c = _.useRef(!1), u = () => {
|
|
57907
57947
|
const d = i.current;
|
|
57908
57948
|
if (!n && d) {
|
|
57909
|
-
const h = new CustomEvent(
|
|
57910
|
-
d.addEventListener(
|
|
57949
|
+
const h = new CustomEvent(O2, { bubbles: !0, cancelable: !0 });
|
|
57950
|
+
d.addEventListener(O2, (f) => r == null ? void 0 : r(f), { once: !0 }), XD(d, h), h.defaultPrevented ? c.current = !1 : a.onClose();
|
|
57911
57951
|
}
|
|
57912
57952
|
};
|
|
57913
57953
|
return /* @__PURE__ */ y(
|
|
@@ -58770,7 +58810,7 @@ Yye(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-ic
|
|
|
58770
58810
|
function Bh(e) {
|
|
58771
58811
|
return e.label !== void 0;
|
|
58772
58812
|
}
|
|
58773
|
-
var Kye = 3, Xye = "32px", Qye = "16px",
|
|
58813
|
+
var Kye = 3, Xye = "32px", Qye = "16px", M2 = 4e3, Jye = 356, Zye = 14, eve = 20, tve = 200;
|
|
58774
58814
|
function to(...e) {
|
|
58775
58815
|
return e.filter(Boolean).join(" ");
|
|
58776
58816
|
}
|
|
@@ -58780,10 +58820,10 @@ function nve(e) {
|
|
|
58780
58820
|
}
|
|
58781
58821
|
var rve = (e) => {
|
|
58782
58822
|
var t, n, r, o, i, a, s, l, c, u, d;
|
|
58783
|
-
let { invert: h, toast: f, unstyled: p, interacting: g, setHeights: m, visibleToasts: b, heights: v, index: w, toasts: S, expanded: x, removeToast: C, defaultRichColors: E, closeButton: k, style: D, cancelButtonStyle: M, actionButtonStyle: T, className: I = "", descriptionClassName: W = "", duration: $, position: O, gap: A, loadingIcon: F, expandByDefault: L, classNames: B, icons: P, closeButtonAriaLabel: j = "Close toast", pauseWhenPageIsHidden: N } = e, [R, H] = Q.useState(null), [q, G] = Q.useState(null), [V, U] = Q.useState(!1), [K, ee] = Q.useState(!1), [re, Z] = Q.useState(!1), [ie, te] = Q.useState(!1), [he, me] = Q.useState(!1), [Re, ye] = Q.useState(0), [xe, De] = Q.useState(0), tt = Q.useRef(f.duration || $ ||
|
|
58823
|
+
let { invert: h, toast: f, unstyled: p, interacting: g, setHeights: m, visibleToasts: b, heights: v, index: w, toasts: S, expanded: x, removeToast: C, defaultRichColors: E, closeButton: k, style: D, cancelButtonStyle: M, actionButtonStyle: T, className: I = "", descriptionClassName: W = "", duration: $, position: O, gap: A, loadingIcon: F, expandByDefault: L, classNames: B, icons: P, closeButtonAriaLabel: j = "Close toast", pauseWhenPageIsHidden: N } = e, [R, H] = Q.useState(null), [q, G] = Q.useState(null), [V, U] = Q.useState(!1), [K, ee] = Q.useState(!1), [re, Z] = Q.useState(!1), [ie, te] = Q.useState(!1), [he, me] = Q.useState(!1), [Re, ye] = Q.useState(0), [xe, De] = Q.useState(0), tt = Q.useRef(f.duration || $ || M2), Ft = Q.useRef(null), Ke = Q.useRef(null), In = w === 0, Ot = w + 1 <= b, ne = f.type, ce = f.dismissible !== !1, Se = f.className || "", Pe = f.descriptionClassName || "", Ue = Q.useMemo(() => v.findIndex((ke) => ke.toastId === f.id) || 0, [v, f.id]), Lt = Q.useMemo(() => {
|
|
58784
58824
|
var ke;
|
|
58785
58825
|
return (ke = f.closeButton) != null ? ke : k;
|
|
58786
|
-
}, [f.closeButton, k]), An = Q.useMemo(() => f.duration || $ ||
|
|
58826
|
+
}, [f.closeButton, k]), An = Q.useMemo(() => f.duration || $ || M2, [f.duration, $]), Cn = Q.useRef(0), Nn = Q.useRef(0), an = Q.useRef(0), Et = Q.useRef(null), [$r, _n] = O.split("-"), Zs = Q.useMemo(() => v.reduce((ke, Be, Xe) => Xe >= Ue ? ke : ke + Be.height, 0), [v, Ue]), Ea = Bye(), Zo = f.invert || h, Qt = ne === "loading";
|
|
58787
58827
|
Nn.current = Q.useMemo(() => Ue * A + Zs, [Ue, Zs]), Q.useEffect(() => {
|
|
58788
58828
|
tt.current = An;
|
|
58789
58829
|
}, [An]), Q.useEffect(() => {
|
|
@@ -58859,7 +58899,7 @@ var rve = (e) => {
|
|
|
58859
58899
|
Bh(f.action) && ((Xe = (Be = f.action).onClick) == null || Xe.call(Be, ke), !ke.defaultPrevented && mt());
|
|
58860
58900
|
}, className: to(B == null ? void 0 : B.actionButton, (d = f == null ? void 0 : f.classNames) == null ? void 0 : d.actionButton) }, f.action.label) : null));
|
|
58861
58901
|
};
|
|
58862
|
-
function
|
|
58902
|
+
function T2() {
|
|
58863
58903
|
if (typeof window > "u" || typeof document > "u") return "ltr";
|
|
58864
58904
|
let e = document.documentElement.getAttribute("dir");
|
|
58865
58905
|
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
|
|
@@ -58879,7 +58919,7 @@ function ove(e, t) {
|
|
|
58879
58919
|
}), n;
|
|
58880
58920
|
}
|
|
58881
58921
|
var mSe = Tn(function(e, t) {
|
|
58882
|
-
let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: i, closeButton: a, className: s, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: h, style: f, visibleToasts: p = Kye, toastOptions: g, dir: m =
|
|
58922
|
+
let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: i, closeButton: a, className: s, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: h, style: f, visibleToasts: p = Kye, toastOptions: g, dir: m = T2(), gap: b = Zye, loadingIcon: v, icons: w, containerAriaLabel: S = "Notifications", pauseWhenPageIsHidden: x } = e, [C, E] = Q.useState([]), k = Q.useMemo(() => Array.from(new Set([r].concat(C.filter((N) => N.position).map((N) => N.position)))), [C, r]), [D, M] = Q.useState([]), [T, I] = Q.useState(!1), [W, $] = Q.useState(!1), [O, A] = Q.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), F = Q.useRef(null), L = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), B = Q.useRef(null), P = Q.useRef(!1), j = Q.useCallback((N) => {
|
|
58883
58923
|
E((R) => {
|
|
58884
58924
|
var H;
|
|
58885
58925
|
return (H = R.find((q) => q.id === N.id)) != null && H.delete || dr.dismiss(N.id), R.filter(({ id: q }) => q !== N.id);
|
|
@@ -58933,7 +58973,7 @@ var mSe = Tn(function(e, t) {
|
|
|
58933
58973
|
}, [F.current]), Q.createElement("section", { ref: t, "aria-label": `${S} ${L}`, tabIndex: -1, "aria-live": "polite", "aria-relevant": "additions text", "aria-atomic": "false", suppressHydrationWarning: !0 }, k.map((N, R) => {
|
|
58934
58974
|
var H;
|
|
58935
58975
|
let [q, G] = N.split("-");
|
|
58936
|
-
return C.length ? Q.createElement("ol", { key: N, dir: m === "auto" ?
|
|
58976
|
+
return C.length ? Q.createElement("ol", { key: N, dir: m === "auto" ? T2() : m, tabIndex: -1, ref: F, className: s, "data-sonner-toaster": !0, "data-theme": O, "data-y-position": q, "data-lifted": T && C.length > 1 && !i, "data-x-position": G, style: { "--front-toast-height": `${((H = D[0]) == null ? void 0 : H.height) || 0}px`, "--width": `${Jye}px`, "--gap": `${b}px`, ...f, ...ove(l, c) }, onBlur: (V) => {
|
|
58937
58977
|
P.current && !V.currentTarget.contains(V.relatedTarget) && (P.current = !1, B.current && (B.current.focus({ preventScroll: !0 }), B.current = null));
|
|
58938
58978
|
}, onFocus: (V) => {
|
|
58939
58979
|
V.target instanceof HTMLElement && V.target.dataset.dismissible === "false" || P.current || (P.current = !0, B.current = V.relatedTarget);
|
|
@@ -59134,7 +59174,7 @@ function ave() {
|
|
|
59134
59174
|
);
|
|
59135
59175
|
}
|
|
59136
59176
|
return l ? /* @__PURE__ */ J(ece, { className: "grow", direction: "horizontal", children: [
|
|
59137
|
-
/* @__PURE__ */ y(
|
|
59177
|
+
/* @__PURE__ */ y(CP, { children: S() }),
|
|
59138
59178
|
e === !0 && /* @__PURE__ */ J(pt, { children: [
|
|
59139
59179
|
/* @__PURE__ */ y(
|
|
59140
59180
|
tce,
|
|
@@ -59145,7 +59185,7 @@ function ave() {
|
|
|
59145
59185
|
}
|
|
59146
59186
|
),
|
|
59147
59187
|
/* @__PURE__ */ y(
|
|
59148
|
-
|
|
59188
|
+
CP,
|
|
59149
59189
|
{
|
|
59150
59190
|
"data-role": "dashboard-assistant-panel",
|
|
59151
59191
|
onResize: m,
|
|
@@ -59252,21 +59292,21 @@ const pve = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ y(
|
|
|
59252
59292
|
}
|
|
59253
59293
|
));
|
|
59254
59294
|
pve.displayName = jS.displayName;
|
|
59255
|
-
var
|
|
59295
|
+
var I2 = 1, gve = 0.9, mve = 0.8, bve = 0.17, tv = 0.1, nv = 0.999, yve = 0.9999, vve = 0.99, wve = /[\\\/_+.#"@\[\(\{&]/, xve = /[\\\/_+.#"@\[\(\{&]/g, Sve = /[\s-]/, j3 = /[\s-]/g;
|
|
59256
59296
|
function Hw(e, t, n, r, o, i, a) {
|
|
59257
|
-
if (i === t.length) return o === e.length ?
|
|
59297
|
+
if (i === t.length) return o === e.length ? I2 : vve;
|
|
59258
59298
|
var s = `${o},${i}`;
|
|
59259
59299
|
if (a[s] !== void 0) return a[s];
|
|
59260
|
-
for (var l = r.charAt(i), c = n.indexOf(l, o), u = 0, d, h, f, p; c >= 0; ) d = Hw(e, t, n, r, c + 1, i + 1, a), d > u && (c === o ? d *=
|
|
59300
|
+
for (var l = r.charAt(i), c = n.indexOf(l, o), u = 0, d, h, f, p; c >= 0; ) d = Hw(e, t, n, r, c + 1, i + 1, a), d > u && (c === o ? d *= I2 : wve.test(e.charAt(c - 1)) ? (d *= mve, f = e.slice(o, c - 1).match(xve), f && o > 0 && (d *= Math.pow(nv, f.length))) : Sve.test(e.charAt(c - 1)) ? (d *= gve, p = e.slice(o, c - 1).match(j3), p && o > 0 && (d *= Math.pow(nv, p.length))) : (d *= bve, o > 0 && (d *= Math.pow(nv, c - o))), e.charAt(c) !== t.charAt(i) && (d *= yve)), (d < tv && n.charAt(c - 1) === r.charAt(i + 1) || r.charAt(i + 1) === r.charAt(i) && n.charAt(c - 1) !== r.charAt(i)) && (h = Hw(e, t, n, r, c + 1, i + 2, a), h * tv > d && (d = h * tv)), d > u && (u = d), c = n.indexOf(l, c + 1);
|
|
59261
59301
|
return a[s] = u, u;
|
|
59262
59302
|
}
|
|
59263
|
-
function
|
|
59303
|
+
function A2(e) {
|
|
59264
59304
|
return e.toLowerCase().replace(j3, " ");
|
|
59265
59305
|
}
|
|
59266
59306
|
function Cve(e, t, n) {
|
|
59267
|
-
return e = n && n.length > 0 ? `${e + " " + n.join(" ")}` : e, Hw(e, t,
|
|
59307
|
+
return e = n && n.length > 0 ? `${e + " " + n.join(" ")}` : e, Hw(e, t, A2(e), A2(t), 0, 0, {});
|
|
59268
59308
|
}
|
|
59269
|
-
var uu = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', _ve = '[cmdk-group-heading=""]', RC = '[cmdk-item=""]',
|
|
59309
|
+
var uu = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', _ve = '[cmdk-group-heading=""]', RC = '[cmdk-item=""]', N2 = `${RC}:not([aria-disabled="true"])`, Ww = "cmdk-item-select", qa = "data-value", Eve = (e, t, n) => Cve(e, t, n), H3 = _.createContext(void 0), Rf = () => _.useContext(H3), W3 = _.createContext(void 0), kC = () => _.useContext(W3), U3 = _.createContext(void 0), q3 = _.forwardRef((e, t) => {
|
|
59270
59310
|
let n = ml(() => {
|
|
59271
59311
|
var N, R;
|
|
59272
59312
|
return { search: "", value: (R = (N = e.value) != null ? N : e.defaultValue) != null ? R : "", filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
|
|
@@ -59370,7 +59410,7 @@ var uu = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', _ve = '[cmdk-group-hea
|
|
|
59370
59410
|
}
|
|
59371
59411
|
function O() {
|
|
59372
59412
|
var N;
|
|
59373
|
-
return Array.from(((N = x.current) == null ? void 0 : N.querySelectorAll(
|
|
59413
|
+
return Array.from(((N = x.current) == null ? void 0 : N.querySelectorAll(N2)) || []);
|
|
59374
59414
|
}
|
|
59375
59415
|
function A(N) {
|
|
59376
59416
|
let R = O()[N];
|
|
@@ -59383,7 +59423,7 @@ var uu = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', _ve = '[cmdk-group-hea
|
|
|
59383
59423
|
}
|
|
59384
59424
|
function L(N) {
|
|
59385
59425
|
let R = $(), H = R == null ? void 0 : R.closest(uu), q;
|
|
59386
|
-
for (; H && !q; ) H = N > 0 ? Ave(H, uu) : Nve(H, uu), q = H == null ? void 0 : H.querySelector(
|
|
59426
|
+
for (; H && !q; ) H = N > 0 ? Ave(H, uu) : Nve(H, uu), q = H == null ? void 0 : H.querySelector(N2);
|
|
59387
59427
|
q ? E.setState("value", q.getAttribute(qa)) : F(N);
|
|
59388
59428
|
}
|
|
59389
59429
|
let B = () => A(O().length - 1), P = (N) => {
|
|
@@ -59642,14 +59682,15 @@ const qve = tx((e) => ({
|
|
|
59642
59682
|
insertIndex: null,
|
|
59643
59683
|
previewGroupByColumns: [],
|
|
59644
59684
|
previewMetricColumns: [],
|
|
59645
|
-
|
|
59685
|
+
previewPivotColumns: [],
|
|
59646
59686
|
previewFilterColumns: [],
|
|
59647
59687
|
actions: {
|
|
59648
59688
|
setActiveId: (t) => e({ activeId: t }),
|
|
59649
59689
|
setInsertIndex: (t) => e({ insertIndex: t }),
|
|
59650
59690
|
setPreviewGroupByColumns: (t) => e({ previewGroupByColumns: t }),
|
|
59651
59691
|
setPreviewMetricColumns: (t) => e({ previewMetricColumns: t }),
|
|
59652
|
-
setPreviewFilterColumns: (t) => e({ previewFilterColumns: t })
|
|
59692
|
+
setPreviewFilterColumns: (t) => e({ previewFilterColumns: t }),
|
|
59693
|
+
setPreviewPivotColumns: (t) => e({ previewPivotColumns: t })
|
|
59653
59694
|
}
|
|
59654
59695
|
})), vSe = () => qve((e) => e.actions);
|
|
59655
59696
|
function Gve() {
|
|
@@ -59855,9 +59896,9 @@ const Vs = /* @__PURE__ */ Object.freeze({
|
|
|
59855
59896
|
return t + " " + n + "ms " + r;
|
|
59856
59897
|
}
|
|
59857
59898
|
}
|
|
59858
|
-
}),
|
|
59899
|
+
}), F2 = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
59859
59900
|
function Qve(e) {
|
|
59860
|
-
return e.matches(
|
|
59901
|
+
return e.matches(F2) ? e : e.querySelector(F2);
|
|
59861
59902
|
}
|
|
59862
59903
|
const Jve = {
|
|
59863
59904
|
display: "none"
|
|
@@ -60225,7 +60266,7 @@ function jc(e, t) {
|
|
|
60225
60266
|
right: l
|
|
60226
60267
|
};
|
|
60227
60268
|
}
|
|
60228
|
-
function
|
|
60269
|
+
function L2(e) {
|
|
60229
60270
|
return jc(e, {
|
|
60230
60271
|
ignoreTransform: !0
|
|
60231
60272
|
});
|
|
@@ -60450,7 +60491,7 @@ var Hr;
|
|
|
60450
60491
|
(function(e) {
|
|
60451
60492
|
e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
|
|
60452
60493
|
})(Hr || (Hr = {}));
|
|
60453
|
-
function $
|
|
60494
|
+
function $2(e) {
|
|
60454
60495
|
e.preventDefault();
|
|
60455
60496
|
}
|
|
60456
60497
|
function k0e(e) {
|
|
@@ -60640,10 +60681,10 @@ l6.activators = [{
|
|
|
60640
60681
|
return !1;
|
|
60641
60682
|
}
|
|
60642
60683
|
}];
|
|
60643
|
-
function
|
|
60684
|
+
function z2(e) {
|
|
60644
60685
|
return !!(e && "distance" in e);
|
|
60645
60686
|
}
|
|
60646
|
-
function
|
|
60687
|
+
function B2(e) {
|
|
60647
60688
|
return !!(e && "delay" in e);
|
|
60648
60689
|
}
|
|
60649
60690
|
class TC {
|
|
@@ -60669,18 +60710,18 @@ class TC {
|
|
|
60669
60710
|
} = this;
|
|
60670
60711
|
if (this.listeners.add(t.move.name, this.handleMove, {
|
|
60671
60712
|
passive: !1
|
|
60672
|
-
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(Hr.Resize, this.handleCancel), this.windowListeners.add(Hr.DragStart, $
|
|
60713
|
+
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(Hr.Resize, this.handleCancel), this.windowListeners.add(Hr.DragStart, $2), this.windowListeners.add(Hr.VisibilityChange, this.handleCancel), this.windowListeners.add(Hr.ContextMenu, $2), this.documentListeners.add(Hr.Keydown, this.handleKeydown), n) {
|
|
60673
60714
|
if (r != null && r({
|
|
60674
60715
|
event: this.props.event,
|
|
60675
60716
|
activeNode: this.props.activeNode,
|
|
60676
60717
|
options: this.props.options
|
|
60677
60718
|
}))
|
|
60678
60719
|
return this.handleStart();
|
|
60679
|
-
if (
|
|
60720
|
+
if (B2(n)) {
|
|
60680
60721
|
this.timeoutId = setTimeout(this.handleStart, n.delay), this.handlePending(n);
|
|
60681
60722
|
return;
|
|
60682
60723
|
}
|
|
60683
|
-
if (
|
|
60724
|
+
if (z2(n)) {
|
|
60684
60725
|
this.handlePending(n);
|
|
60685
60726
|
return;
|
|
60686
60727
|
}
|
|
@@ -60723,13 +60764,13 @@ class TC {
|
|
|
60723
60764
|
return;
|
|
60724
60765
|
const l = (n = xg(t)) != null ? n : mo, c = wg(o, l);
|
|
60725
60766
|
if (!r && s) {
|
|
60726
|
-
if (
|
|
60767
|
+
if (z2(s)) {
|
|
60727
60768
|
if (s.tolerance != null && av(c, s.tolerance))
|
|
60728
60769
|
return this.handleCancel();
|
|
60729
60770
|
if (av(c, s.distance))
|
|
60730
60771
|
return this.handleStart();
|
|
60731
60772
|
}
|
|
60732
|
-
if (
|
|
60773
|
+
if (B2(s) && av(c, s.tolerance))
|
|
60733
60774
|
return this.handleCancel();
|
|
60734
60775
|
this.handlePending(s, c);
|
|
60735
60776
|
return;
|
|
@@ -61026,7 +61067,7 @@ var Gw;
|
|
|
61026
61067
|
(function(e) {
|
|
61027
61068
|
e.Optimized = "optimized";
|
|
61028
61069
|
})(Gw || (Gw = {}));
|
|
61029
|
-
const
|
|
61070
|
+
const V2 = /* @__PURE__ */ new Map();
|
|
61030
61071
|
function $0e(e, t) {
|
|
61031
61072
|
let {
|
|
61032
61073
|
dragging: n,
|
|
@@ -61041,8 +61082,8 @@ function $0e(e, t) {
|
|
|
61041
61082
|
b === void 0 && (b = []), !h.current && a((v) => v === null ? b : v.concat(b.filter((w) => !v.includes(w))));
|
|
61042
61083
|
}, [h]), p = de(null), g = Pf((b) => {
|
|
61043
61084
|
if (d && !n)
|
|
61044
|
-
return
|
|
61045
|
-
if (!b || b ===
|
|
61085
|
+
return V2;
|
|
61086
|
+
if (!b || b === V2 || u.current !== e || i != null) {
|
|
61046
61087
|
const v = /* @__PURE__ */ new Map();
|
|
61047
61088
|
for (let w of e) {
|
|
61048
61089
|
if (!w)
|
|
@@ -61139,7 +61180,7 @@ function Xm(e) {
|
|
|
61139
61180
|
function V0e(e) {
|
|
61140
61181
|
return new MC(jc(e), e);
|
|
61141
61182
|
}
|
|
61142
|
-
function
|
|
61183
|
+
function j2(e, t, n) {
|
|
61143
61184
|
t === void 0 && (t = V0e);
|
|
61144
61185
|
const [r, o] = ge(null);
|
|
61145
61186
|
function i() {
|
|
@@ -61182,9 +61223,9 @@ function j0e(e) {
|
|
|
61182
61223
|
const t = IC(e);
|
|
61183
61224
|
return J3(e, t);
|
|
61184
61225
|
}
|
|
61185
|
-
const
|
|
61226
|
+
const H2 = [];
|
|
61186
61227
|
function H0e(e) {
|
|
61187
|
-
const t = de(e), n = Pf((r) => e ? r && r !==
|
|
61228
|
+
const t = de(e), n = Pf((r) => e ? r && r !== H2 && e && t.current && e.parentNode === t.current.parentNode ? r : OC(e) : H2, [e]);
|
|
61188
61229
|
return fe(() => {
|
|
61189
61230
|
t.current = e;
|
|
61190
61231
|
}, [e]), n;
|
|
@@ -61217,7 +61258,7 @@ function W0e(e) {
|
|
|
61217
61258
|
}
|
|
61218
61259
|
}, [o, e]), Ee(() => e.length ? t ? Array.from(t.values()).reduce((i, a) => zl(i, a), mo) : i6(e) : mo, [e, t]);
|
|
61219
61260
|
}
|
|
61220
|
-
function
|
|
61261
|
+
function W2(e, t) {
|
|
61221
61262
|
t === void 0 && (t = []);
|
|
61222
61263
|
const n = de(null);
|
|
61223
61264
|
return fe(
|
|
@@ -61271,12 +61312,12 @@ function q0e(e, t) {
|
|
|
61271
61312
|
function u6(e) {
|
|
61272
61313
|
return Ee(() => e ? b0e(e) : null, [e]);
|
|
61273
61314
|
}
|
|
61274
|
-
const
|
|
61315
|
+
const U2 = [];
|
|
61275
61316
|
function G0e(e, t) {
|
|
61276
61317
|
t === void 0 && (t = jc);
|
|
61277
|
-
const [n] = e, r = u6(n ? rr(n) : null), [o, i] = ge(
|
|
61318
|
+
const [n] = e, r = u6(n ? rr(n) : null), [o, i] = ge(U2);
|
|
61278
61319
|
function a() {
|
|
61279
|
-
i(() => e.length ? e.map((l) => r6(l) ? r : new MC(t(l), l)) :
|
|
61320
|
+
i(() => e.length ? e.map((l) => r6(l) ? r : new MC(t(l), l)) : U2);
|
|
61280
61321
|
}
|
|
61281
61322
|
const s = Xm({
|
|
61282
61323
|
callback: a
|
|
@@ -61334,10 +61375,10 @@ const K0e = [{
|
|
|
61334
61375
|
current: {}
|
|
61335
61376
|
}, hp = {
|
|
61336
61377
|
draggable: {
|
|
61337
|
-
measure:
|
|
61378
|
+
measure: L2
|
|
61338
61379
|
},
|
|
61339
61380
|
droppable: {
|
|
61340
|
-
measure:
|
|
61381
|
+
measure: L2,
|
|
61341
61382
|
strategy: $d.WhileDragging,
|
|
61342
61383
|
frequency: Gw.Optimized
|
|
61343
61384
|
},
|
|
@@ -61672,7 +61713,7 @@ const SSe = /* @__PURE__ */ Wd(function(t) {
|
|
|
61672
61713
|
initialRect: K,
|
|
61673
61714
|
measure: N.draggable.measure
|
|
61674
61715
|
});
|
|
61675
|
-
const ee =
|
|
61716
|
+
const ee = j2(G, N.draggable.measure, K), re = j2(G ? G.parentElement : null), Z = de({
|
|
61676
61717
|
activatorEvent: null,
|
|
61677
61718
|
active: null,
|
|
61678
61719
|
activeNode: G,
|
|
@@ -61705,7 +61746,7 @@ const SSe = /* @__PURE__ */ Wd(function(t) {
|
|
|
61705
61746
|
scrollableAncestors: De,
|
|
61706
61747
|
scrollableAncestorRects: tt,
|
|
61707
61748
|
windowRect: xe
|
|
61708
|
-
}), Ke = V ? zl(V, D) : null, In = W0e(De), Ot =
|
|
61749
|
+
}), Ke = V ? zl(V, D) : null, In = W0e(De), Ot = W2(In), ne = W2(In, [ee]), ce = zl(Ft, Ot), Se = me ? p0e(me, Ft) : null, Pe = W && Se ? d({
|
|
61709
61750
|
active: W,
|
|
61710
61751
|
collisionRect: Se,
|
|
61711
61752
|
droppableRects: R,
|
|
@@ -62003,7 +62044,7 @@ const SSe = /* @__PURE__ */ Wd(function(t) {
|
|
|
62003
62044
|
enabled: En
|
|
62004
62045
|
};
|
|
62005
62046
|
}
|
|
62006
|
-
}), rwe = /* @__PURE__ */ St(null),
|
|
62047
|
+
}), rwe = /* @__PURE__ */ St(null), q2 = "button", owe = "Draggable";
|
|
62007
62048
|
function iwe(e) {
|
|
62008
62049
|
let {
|
|
62009
62050
|
id: t,
|
|
@@ -62020,7 +62061,7 @@ function iwe(e) {
|
|
|
62020
62061
|
draggableNodes: d,
|
|
62021
62062
|
over: h
|
|
62022
62063
|
} = rt(Of), {
|
|
62023
|
-
role: f =
|
|
62064
|
+
role: f = q2,
|
|
62024
62065
|
roleDescription: p = "draggable",
|
|
62025
62066
|
tabIndex: g = 0
|
|
62026
62067
|
} = o ?? {}, m = (l == null ? void 0 : l.id) === t, b = rt(m ? Qm : rwe), [v, w] = yg(), [S, x] = yg(), C = q0e(a, t), E = Ld(n);
|
|
@@ -62042,7 +62083,7 @@ function iwe(e) {
|
|
|
62042
62083
|
role: f,
|
|
62043
62084
|
tabIndex: g,
|
|
62044
62085
|
"aria-disabled": r,
|
|
62045
|
-
"aria-pressed": m && f ===
|
|
62086
|
+
"aria-pressed": m && f === q2 ? !0 : void 0,
|
|
62046
62087
|
"aria-roledescription": p,
|
|
62047
62088
|
"aria-describedby": u.draggable
|
|
62048
62089
|
}), [r, f, g, m, p, u.draggable]);
|
|
@@ -62358,11 +62399,11 @@ function vwe(e) {
|
|
|
62358
62399
|
});
|
|
62359
62400
|
};
|
|
62360
62401
|
}
|
|
62361
|
-
let
|
|
62402
|
+
let G2 = 0;
|
|
62362
62403
|
function wwe(e) {
|
|
62363
62404
|
return Ee(() => {
|
|
62364
62405
|
if (e != null)
|
|
62365
|
-
return
|
|
62406
|
+
return G2++, G2;
|
|
62366
62407
|
}, [e]);
|
|
62367
62408
|
}
|
|
62368
62409
|
const CSe = /* @__PURE__ */ Q.memo((e) => {
|
|
@@ -62557,7 +62598,7 @@ function Rwe(e, t, n) {
|
|
|
62557
62598
|
writable: !0
|
|
62558
62599
|
}) : e[t] = n, e;
|
|
62559
62600
|
}
|
|
62560
|
-
function
|
|
62601
|
+
function Y2(e, t) {
|
|
62561
62602
|
var n = Object.keys(e);
|
|
62562
62603
|
if (Object.getOwnPropertySymbols) {
|
|
62563
62604
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -62567,12 +62608,12 @@ function YP(e, t) {
|
|
|
62567
62608
|
}
|
|
62568
62609
|
return n;
|
|
62569
62610
|
}
|
|
62570
|
-
function
|
|
62611
|
+
function K2(e) {
|
|
62571
62612
|
for (var t = 1; t < arguments.length; t++) {
|
|
62572
62613
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
62573
|
-
t % 2 ?
|
|
62614
|
+
t % 2 ? Y2(Object(n), !0).forEach(function(r) {
|
|
62574
62615
|
Rwe(e, r, n[r]);
|
|
62575
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
62616
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y2(Object(n)).forEach(function(r) {
|
|
62576
62617
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
62577
62618
|
});
|
|
62578
62619
|
}
|
|
@@ -62621,13 +62662,13 @@ function Mwe(e, t) {
|
|
|
62621
62662
|
}
|
|
62622
62663
|
function Twe(e, t) {
|
|
62623
62664
|
if (e) {
|
|
62624
|
-
if (typeof e == "string") return
|
|
62665
|
+
if (typeof e == "string") return X2(e, t);
|
|
62625
62666
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
62626
62667
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
62627
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
62668
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return X2(e, t);
|
|
62628
62669
|
}
|
|
62629
62670
|
}
|
|
62630
|
-
function
|
|
62671
|
+
function X2(e, t) {
|
|
62631
62672
|
(t == null || t > e.length) && (t = e.length);
|
|
62632
62673
|
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
62633
62674
|
return r;
|
|
@@ -62644,7 +62685,7 @@ function Awe(e, t, n) {
|
|
|
62644
62685
|
writable: !0
|
|
62645
62686
|
}) : e[t] = n, e;
|
|
62646
62687
|
}
|
|
62647
|
-
function
|
|
62688
|
+
function Q2(e, t) {
|
|
62648
62689
|
var n = Object.keys(e);
|
|
62649
62690
|
if (Object.getOwnPropertySymbols) {
|
|
62650
62691
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -62654,12 +62695,12 @@ function QP(e, t) {
|
|
|
62654
62695
|
}
|
|
62655
62696
|
return n;
|
|
62656
62697
|
}
|
|
62657
|
-
function
|
|
62698
|
+
function J2(e) {
|
|
62658
62699
|
for (var t = 1; t < arguments.length; t++) {
|
|
62659
62700
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
62660
|
-
t % 2 ?
|
|
62701
|
+
t % 2 ? Q2(Object(n), !0).forEach(function(r) {
|
|
62661
62702
|
Awe(e, r, n[r]);
|
|
62662
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
62703
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q2(Object(n)).forEach(function(r) {
|
|
62663
62704
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
62664
62705
|
});
|
|
62665
62706
|
}
|
|
@@ -62753,7 +62794,7 @@ function Uwe(e, t) {
|
|
|
62753
62794
|
return zd(t) ? t(e.current) : t;
|
|
62754
62795
|
}
|
|
62755
62796
|
function qwe(e, t) {
|
|
62756
|
-
return e.current =
|
|
62797
|
+
return e.current = J2(J2({}, e.current), t), t;
|
|
62757
62798
|
}
|
|
62758
62799
|
function Gwe(e, t, n) {
|
|
62759
62800
|
return zd(t) ? t(e.current) : Object.keys(n).forEach(function(r) {
|
|
@@ -62783,7 +62824,7 @@ function Qwe(e) {
|
|
|
62783
62824
|
return {}.toString.call(e).includes("Object");
|
|
62784
62825
|
}
|
|
62785
62826
|
function Jwe(e) {
|
|
62786
|
-
return e ||
|
|
62827
|
+
return e || Z2("configIsRequired"), Qwe(e) || Z2("configType"), e.urls ? (Zwe(), {
|
|
62787
62828
|
paths: {
|
|
62788
62829
|
vs: e.urls.monacoBase
|
|
62789
62830
|
}
|
|
@@ -62809,7 +62850,7 @@ var x6 = {
|
|
|
62809
62850
|
|
|
62810
62851
|
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
62811
62852
|
`
|
|
62812
|
-
},
|
|
62853
|
+
}, Z2 = Xwe(exe)(x6), txe = {
|
|
62813
62854
|
config: Jwe
|
|
62814
62855
|
}, nxe = function() {
|
|
62815
62856
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
@@ -62823,7 +62864,7 @@ var x6 = {
|
|
|
62823
62864
|
function S6(e, t) {
|
|
62824
62865
|
return Object.keys(t).forEach(function(n) {
|
|
62825
62866
|
t[n] instanceof Object && e[n] && Object.assign(t[n], S6(e[n], t[n]));
|
|
62826
|
-
}),
|
|
62867
|
+
}), K2(K2({}, e), t);
|
|
62827
62868
|
}
|
|
62828
62869
|
var rxe = {
|
|
62829
62870
|
type: "cancelation",
|
|
@@ -63911,7 +63952,7 @@ export {
|
|
|
63911
63952
|
ZV as aT,
|
|
63912
63953
|
Dn as aU,
|
|
63913
63954
|
ece as aV,
|
|
63914
|
-
|
|
63955
|
+
CP as aW,
|
|
63915
63956
|
iSe as aX,
|
|
63916
63957
|
$V as aY,
|
|
63917
63958
|
wV as aZ,
|