@runmedev/react-components 3.15.6-next.2 → 3.15.6-next.3
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.
|
@@ -3,7 +3,7 @@ var df = (r, e, t) => e in r ? uf(r, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var gs = (r, e, t) => df(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { jsx as we, jsxs as ct, Fragment as wi } from "react/jsx-runtime";
|
|
5
5
|
import * as Ct from "react";
|
|
6
|
-
import Wu, { useMemo as
|
|
6
|
+
import Wu, { useMemo as Nt, useEffect as Ot, createContext as ua, useContext as da, useState as Bt, useCallback as $r, memo as ha, useRef as Zr } from "react";
|
|
7
7
|
import { Text as zt, Button as Mn, ScrollArea as fa, Box as on, Card as hf, Flex as br, TextArea as Vo, Callout as Bn, Link as Zu, Container as ff, Heading as pf, Switch as mf, Theme as vf } from "@radix-ui/themes";
|
|
8
8
|
import { file_google_protobuf_wrappers as pa, file_google_protobuf_any as gf, file_google_protobuf_timestamp as bf } from "@bufbuild/protobuf/wkt";
|
|
9
9
|
import { create as Et, fromBinary as ma, toBinary as yf, toJsonString as _f, fromJsonString as wf, fromJson as Gu, toJson as Sf, clone as Cf } from "@bufbuild/protobuf";
|
|
@@ -3427,7 +3427,7 @@ function Jm() {
|
|
|
3427
3427
|
return [E, i(E), x];
|
|
3428
3428
|
}(), Xe = ot[0], Tr = ot[1], ot = ot[2], Tr = Tr && Tr.then, xe = Xe && Xe.constructor, mt = !!ot, dt = function(x, E) {
|
|
3429
3429
|
Lt.push([x, E]), at && (queueMicrotask(Qe), at = !1);
|
|
3430
|
-
}, xt = !0, at = !0, kt = [],
|
|
3430
|
+
}, xt = !0, at = !0, kt = [], Pt = [], Vt = Be, Dt = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Le, pgp: !1, env: {}, finalize: Le }, He = Dt, Lt = [], Tt = 0, Ft = [];
|
|
3431
3431
|
function Te(x) {
|
|
3432
3432
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
3433
3433
|
this._listeners = [], this._lib = !1;
|
|
@@ -3471,7 +3471,7 @@ function Jm() {
|
|
|
3471
3471
|
}
|
|
3472
3472
|
function Ve(x, E) {
|
|
3473
3473
|
var A, N;
|
|
3474
|
-
|
|
3474
|
+
Pt.push(E), x._state === null && (A = x._lib && lt(), E = Vt(E), x._state = !1, x._value = E, N = x, kt.some(function(M) {
|
|
3475
3475
|
return M._value === N._value;
|
|
3476
3476
|
}) || kt.push(N), Ke(x), A && vt());
|
|
3477
3477
|
}
|
|
@@ -3481,7 +3481,7 @@ function Jm() {
|
|
|
3481
3481
|
for (var A = 0, N = E.length; A < N; ++A) st(x, E[A]);
|
|
3482
3482
|
var M = x._PSD;
|
|
3483
3483
|
--M.ref || M.finalize(), Tt === 0 && (++Tt, dt(function() {
|
|
3484
|
-
--Tt == 0 &&
|
|
3484
|
+
--Tt == 0 && Mt();
|
|
3485
3485
|
}, []));
|
|
3486
3486
|
}
|
|
3487
3487
|
function st(x, E) {
|
|
@@ -3494,19 +3494,19 @@ function Jm() {
|
|
|
3494
3494
|
function qe(x, E, A) {
|
|
3495
3495
|
try {
|
|
3496
3496
|
var N, M = E._value;
|
|
3497
|
-
!E._state &&
|
|
3497
|
+
!E._state && Pt.length && (Pt = []), N = Ce && E._consoleTask ? E._consoleTask.run(function() {
|
|
3498
3498
|
return x(M);
|
|
3499
|
-
}) : x(M), E._state ||
|
|
3499
|
+
}) : x(M), E._state || Pt.indexOf(M) !== -1 || function(U) {
|
|
3500
3500
|
for (var q = kt.length; q; ) if (kt[--q]._value === U._value) return kt.splice(q, 1);
|
|
3501
3501
|
}(E), A.resolve(N);
|
|
3502
3502
|
} catch (U) {
|
|
3503
3503
|
A.reject(U);
|
|
3504
3504
|
} finally {
|
|
3505
|
-
--Tt == 0 &&
|
|
3505
|
+
--Tt == 0 && Mt(), --A.psd.ref || A.psd.finalize();
|
|
3506
3506
|
}
|
|
3507
3507
|
}
|
|
3508
3508
|
function Qe() {
|
|
3509
|
-
ur(
|
|
3509
|
+
ur(Dt, function() {
|
|
3510
3510
|
lt() && vt();
|
|
3511
3511
|
});
|
|
3512
3512
|
}
|
|
@@ -3524,7 +3524,7 @@ function Jm() {
|
|
|
3524
3524
|
while (0 < Lt.length);
|
|
3525
3525
|
at = xt = !0;
|
|
3526
3526
|
}
|
|
3527
|
-
function
|
|
3527
|
+
function Mt() {
|
|
3528
3528
|
var x = kt;
|
|
3529
3529
|
kt = [], x.forEach(function(N) {
|
|
3530
3530
|
N._PSD.onunhandled.call(null, N._value, N);
|
|
@@ -3575,7 +3575,7 @@ function Jm() {
|
|
|
3575
3575
|
}, x);
|
|
3576
3576
|
A.then(N, M).finally(clearTimeout.bind(null, U));
|
|
3577
3577
|
}) : this;
|
|
3578
|
-
} }), typeof Symbol < "u" && Symbol.toStringTag && p(Te.prototype, Symbol.toStringTag, "Dexie.Promise"),
|
|
3578
|
+
} }), typeof Symbol < "u" && Symbol.toStringTag && p(Te.prototype, Symbol.toStringTag, "Dexie.Promise"), Dt.env = Gr(), h(Te, { all: function() {
|
|
3579
3579
|
var x = B.apply(null, arguments).map(Cr);
|
|
3580
3580
|
return new Te(function(E, A) {
|
|
3581
3581
|
x.length === 0 && E([]);
|
|
@@ -3622,7 +3622,7 @@ function Jm() {
|
|
|
3622
3622
|
}, Ft.push(function ue() {
|
|
3623
3623
|
ie(), Ft.splice(Ft.indexOf(ue), 1);
|
|
3624
3624
|
}), ++Tt, dt(function() {
|
|
3625
|
-
--Tt == 0 &&
|
|
3625
|
+
--Tt == 0 && Mt();
|
|
3626
3626
|
}, []);
|
|
3627
3627
|
}, q.finalize), x();
|
|
3628
3628
|
}, E, A, N);
|
|
@@ -3659,7 +3659,7 @@ function Jm() {
|
|
|
3659
3659
|
var fe = { awaits: 0, echoes: 0, id: 0 }, Jt = 0, _r = [], wr = 0, Sr = 0, Qr = 0;
|
|
3660
3660
|
function nr(x, E, A, N) {
|
|
3661
3661
|
var M = He, U = Object.create(M);
|
|
3662
|
-
return U.parent = M, U.ref = 0, U.global = !1, U.id = ++Qr,
|
|
3662
|
+
return U.parent = M, U.ref = 0, U.global = !1, U.id = ++Qr, Dt.env, U.env = mt ? { Promise: Te, PromiseProp: { value: Te, configurable: !0, writable: !0 }, all: Te.all, race: Te.race, allSettled: Te.allSettled, any: Te.any, resolve: Te.resolve, reject: Te.reject } : {}, E && c(U, E), ++M.ref, U.finalize = function() {
|
|
3663
3663
|
--this.parent.ref || this.parent.finalize();
|
|
3664
3664
|
}, N = ur(U, x, A, N), U.ref === 0 && U.finalize(), N;
|
|
3665
3665
|
}
|
|
@@ -3684,7 +3684,7 @@ function Jm() {
|
|
|
3684
3684
|
var A, N = He;
|
|
3685
3685
|
(E ? !fe.echoes || wr++ && x === He : !wr || --wr && x === He) || queueMicrotask(E ? (function(M) {
|
|
3686
3686
|
++Sr, fe.echoes && --fe.echoes != 0 || (fe.echoes = fe.awaits = fe.id = 0), _r.push(He), ir(M, !0);
|
|
3687
|
-
}).bind(null, x) : en), x !== He && (He = x, N ===
|
|
3687
|
+
}).bind(null, x) : en), x !== He && (He = x, N === Dt && (Dt.env = Gr()), mt && (A = Dt.env.Promise, E = x.env, (N.global || x.global) && (Object.defineProperty(d, "Promise", E.PromiseProp), A.all = E.all, A.race = E.race, A.resolve = E.resolve, A.reject = E.reject, E.allSettled && (A.allSettled = E.allSettled), E.any && (A.any = E.any))));
|
|
3688
3688
|
}
|
|
3689
3689
|
function Gr() {
|
|
3690
3690
|
var x = d.Promise;
|
|
@@ -5811,7 +5811,7 @@ function Jm() {
|
|
|
5811
5811
|
})), this;
|
|
5812
5812
|
}, Zt.prototype.open = function() {
|
|
5813
5813
|
var x = this;
|
|
5814
|
-
return ur(
|
|
5814
|
+
return ur(Dt, function() {
|
|
5815
5815
|
return ef(x);
|
|
5816
5816
|
});
|
|
5817
5817
|
}, Zt.prototype._close = function() {
|
|
@@ -22458,7 +22458,7 @@ var Kg = {
|
|
|
22458
22458
|
/* harmony export */
|
|
22459
22459
|
eventMouseEnter: () => (
|
|
22460
22460
|
/* binding */
|
|
22461
|
-
|
|
22461
|
+
Pt
|
|
22462
22462
|
),
|
|
22463
22463
|
/* harmony export */
|
|
22464
22464
|
eventMouseLeave: () => (
|
|
@@ -22468,7 +22468,7 @@ var Kg = {
|
|
|
22468
22468
|
/* harmony export */
|
|
22469
22469
|
eventMouseMove: () => (
|
|
22470
22470
|
/* binding */
|
|
22471
|
-
|
|
22471
|
+
Dt
|
|
22472
22472
|
),
|
|
22473
22473
|
/* harmony export */
|
|
22474
22474
|
eventMouseOut: () => (
|
|
@@ -22553,7 +22553,7 @@ var Kg = {
|
|
|
22553
22553
|
/* harmony export */
|
|
22554
22554
|
eventPointerEnter: () => (
|
|
22555
22555
|
/* binding */
|
|
22556
|
-
|
|
22556
|
+
Mt
|
|
22557
22557
|
),
|
|
22558
22558
|
/* harmony export */
|
|
22559
22559
|
eventPointerLeave: () => (
|
|
@@ -22812,7 +22812,7 @@ var Kg = {
|
|
|
22812
22812
|
)
|
|
22813
22813
|
/* harmony export */
|
|
22814
22814
|
});
|
|
22815
|
-
const s = "abort", u = "afterprint", d = "animationcancel", a = "animationend", o = "animationiteration", c = "animationstart", i = "appinstalled", n = "beforeprint", l = "beforeunload", h = "beginEvent", m = "blocked", p = "blur", f = "canplay", v = "canplaythrough", g = "change", b = "chargingchange", y = "chargingtimechange", _ = "click", w = "close", C = "complete", S = "compositionend", j = "compositionstart", k = "compositionupdate", O = "contextmenu", T = "copy", R = "cut", F = "dblclick", G = "devicechange", X = "devicemotion", Y = "deviceorientation", J = "dischargingtimechange", L = "drag", $ = "dragend", B = "dragenter", z = "dragleave", V = "dragover", H = "dragstart", re = "drop", te = "durationchange", Z = "emptied", D = "ended", de = "endevent", Q = "error", Oe = "focus", ge = "focusin", Le = "focusout", Be = "fullscreenchange", rt = "fullscreenerror", Se = "gamepadconnected", Ie = "gamepaddisconnected", se = "gotpointercapture", ee = "hashchange", ae = "lostpointercapture", ye = "input", Ce = "invalid", Ae = "keydown", tt = "keyup", nt = "levelchange", Xe = "load", ot = "loadeddata", xe = "loadedmetadata", mt = "loadend", dt = "loadstart", xt = "message", at = "messageerror", kt = "mousedown",
|
|
22815
|
+
const s = "abort", u = "afterprint", d = "animationcancel", a = "animationend", o = "animationiteration", c = "animationstart", i = "appinstalled", n = "beforeprint", l = "beforeunload", h = "beginEvent", m = "blocked", p = "blur", f = "canplay", v = "canplaythrough", g = "change", b = "chargingchange", y = "chargingtimechange", _ = "click", w = "close", C = "complete", S = "compositionend", j = "compositionstart", k = "compositionupdate", O = "contextmenu", T = "copy", R = "cut", F = "dblclick", G = "devicechange", X = "devicemotion", Y = "deviceorientation", J = "dischargingtimechange", L = "drag", $ = "dragend", B = "dragenter", z = "dragleave", V = "dragover", H = "dragstart", re = "drop", te = "durationchange", Z = "emptied", D = "ended", de = "endevent", Q = "error", Oe = "focus", ge = "focusin", Le = "focusout", Be = "fullscreenchange", rt = "fullscreenerror", Se = "gamepadconnected", Ie = "gamepaddisconnected", se = "gotpointercapture", ee = "hashchange", ae = "lostpointercapture", ye = "input", Ce = "invalid", Ae = "keydown", tt = "keyup", nt = "levelchange", Xe = "load", ot = "loadeddata", xe = "loadedmetadata", mt = "loadend", dt = "loadstart", xt = "message", at = "messageerror", kt = "mousedown", Pt = "mouseenter", Vt = "mouseleave", Dt = "mousemove", He = "mouseout", Lt = "mouseover", Tt = "mouseup", Ft = "notificationclick", Te = "offline", he = "online", Pe = "open", Ve = "orientationchange", Ke = "pagehide", st = "pageshow", qe = "paste", Qe = "pause", lt = "pointercancel", vt = "pointerdown", Mt = "pointerenter", bt = "pointerleave", ut = "pointerlockchange", fe = "pointerlockerror", Jt = "pointermove", _r = "pointerout", wr = "pointerover", Sr = "pointerup", Qr = "play", nr = "playing", pr = "popstate", sr = "progress", Cr = "push", en = "pushsubscriptionchange", ir = "ratechange", Gr = "readystatechange", ur = "repeatevent", Hr = "reset", Lr = "resize", It = "resourcetimingbufferfull", dr = "scroll", qt = "seeked", zr = "seeking", mr = "select", xr = "show", Nr = "slotchange", Pr = "stalled", hr = "start", Dr = "storage", jr = "submit", pn = "success", pt = "suspend", mn = "SVGAbort", vn = "SVGError", gn = "SVGLoad", jt = "SVGResize", ne = "SVGScroll", I = "SVGUnload", P = "SVGZoom", W = "timeout", K = "timeupdate", $e = "touchcancel", Fe = "touchend", Ne = "touchmove", Je = "touchstart", it = "transitionend", St = "unload", vr = "upgradeneeded", gt = "userproximity", xn = "versionchange", os = "visibilitychange", as = "volumechange", Qt = "waiting", Kr = "wheel";
|
|
22816
22816
|
}
|
|
22817
22817
|
),
|
|
22818
22818
|
/***/
|
|
@@ -22856,7 +22856,7 @@ var Kg = {
|
|
|
22856
22856
|
/* harmony export */
|
|
22857
22857
|
keyBackspace: () => (
|
|
22858
22858
|
/* binding */
|
|
22859
|
-
|
|
22859
|
+
Mt
|
|
22860
22860
|
),
|
|
22861
22861
|
/* harmony export */
|
|
22862
22862
|
keyCodeAlt: () => (
|
|
@@ -23186,7 +23186,7 @@ var Kg = {
|
|
|
23186
23186
|
/* harmony export */
|
|
23187
23187
|
keyCodeTilde: () => (
|
|
23188
23188
|
/* binding */
|
|
23189
|
-
|
|
23189
|
+
Pt
|
|
23190
23190
|
),
|
|
23191
23191
|
/* harmony export */
|
|
23192
23192
|
keyCodeWindowsLeft: () => (
|
|
@@ -23196,7 +23196,7 @@ var Kg = {
|
|
|
23196
23196
|
/* harmony export */
|
|
23197
23197
|
keyCodeWindowsOpera: () => (
|
|
23198
23198
|
/* binding */
|
|
23199
|
-
|
|
23199
|
+
Dt
|
|
23200
23200
|
),
|
|
23201
23201
|
/* harmony export */
|
|
23202
23202
|
keyCodeWindowsRight: () => (
|
|
@@ -23259,7 +23259,7 @@ var Kg = {
|
|
|
23259
23259
|
(function(fe) {
|
|
23260
23260
|
fe[fe.alt = 18] = "alt", fe[fe.arrowDown = 40] = "arrowDown", fe[fe.arrowLeft = 37] = "arrowLeft", fe[fe.arrowRight = 39] = "arrowRight", fe[fe.arrowUp = 38] = "arrowUp", fe[fe.back = 8] = "back", fe[fe.backSlash = 220] = "backSlash", fe[fe.break = 19] = "break", fe[fe.capsLock = 20] = "capsLock", fe[fe.closeBracket = 221] = "closeBracket", fe[fe.colon = 186] = "colon", fe[fe.colon2 = 59] = "colon2", fe[fe.comma = 188] = "comma", fe[fe.ctrl = 17] = "ctrl", fe[fe.delete = 46] = "delete", fe[fe.end = 35] = "end", fe[fe.enter = 13] = "enter", fe[fe.equals = 187] = "equals", fe[fe.equals2 = 61] = "equals2", fe[fe.equals3 = 107] = "equals3", fe[fe.escape = 27] = "escape", fe[fe.forwardSlash = 191] = "forwardSlash", fe[fe.function1 = 112] = "function1", fe[fe.function10 = 121] = "function10", fe[fe.function11 = 122] = "function11", fe[fe.function12 = 123] = "function12", fe[fe.function2 = 113] = "function2", fe[fe.function3 = 114] = "function3", fe[fe.function4 = 115] = "function4", fe[fe.function5 = 116] = "function5", fe[fe.function6 = 117] = "function6", fe[fe.function7 = 118] = "function7", fe[fe.function8 = 119] = "function8", fe[fe.function9 = 120] = "function9", fe[fe.home = 36] = "home", fe[fe.insert = 45] = "insert", fe[fe.menu = 93] = "menu", fe[fe.minus = 189] = "minus", fe[fe.minus2 = 109] = "minus2", fe[fe.numLock = 144] = "numLock", fe[fe.numPad0 = 96] = "numPad0", fe[fe.numPad1 = 97] = "numPad1", fe[fe.numPad2 = 98] = "numPad2", fe[fe.numPad3 = 99] = "numPad3", fe[fe.numPad4 = 100] = "numPad4", fe[fe.numPad5 = 101] = "numPad5", fe[fe.numPad6 = 102] = "numPad6", fe[fe.numPad7 = 103] = "numPad7", fe[fe.numPad8 = 104] = "numPad8", fe[fe.numPad9 = 105] = "numPad9", fe[fe.numPadDivide = 111] = "numPadDivide", fe[fe.numPadDot = 110] = "numPadDot", fe[fe.numPadMinus = 109] = "numPadMinus", fe[fe.numPadMultiply = 106] = "numPadMultiply", fe[fe.numPadPlus = 107] = "numPadPlus", fe[fe.openBracket = 219] = "openBracket", fe[fe.pageDown = 34] = "pageDown", fe[fe.pageUp = 33] = "pageUp", fe[fe.period = 190] = "period", fe[fe.print = 44] = "print", fe[fe.quote = 222] = "quote", fe[fe.scrollLock = 145] = "scrollLock", fe[fe.shift = 16] = "shift", fe[fe.space = 32] = "space", fe[fe.tab = 9] = "tab", fe[fe.tilde = 192] = "tilde", fe[fe.windowsLeft = 91] = "windowsLeft", fe[fe.windowsOpera = 219] = "windowsOpera", fe[fe.windowsRight = 92] = "windowsRight";
|
|
23261
23261
|
})(s || (s = {}));
|
|
23262
|
-
const u = 18, d = 40, a = 37, o = 39, c = 38, i = 8, n = 220, l = 19, h = 20, m = 221, p = 186, f = 59, v = 188, g = 17, b = 46, y = 35, _ = 13, w = 187, C = 61, S = 107, j = 27, k = 191, O = 112, T = 121, R = 122, F = 123, G = 113, X = 114, Y = 115, J = 116, L = 117, $ = 118, B = 119, z = 120, V = 36, H = 45, re = 93, te = 189, Z = 109, D = 144, de = 96, Q = 97, Oe = 98, ge = 99, Le = 100, Be = 101, rt = 102, Se = 103, Ie = 104, se = 105, ee = 111, ae = 110, ye = 109, Ce = 106, Ae = 107, tt = 219, nt = 34, Xe = 33, ot = 190, xe = 44, mt = 222, dt = 145, xt = 16, at = 32, kt = 9,
|
|
23262
|
+
const u = 18, d = 40, a = 37, o = 39, c = 38, i = 8, n = 220, l = 19, h = 20, m = 221, p = 186, f = 59, v = 188, g = 17, b = 46, y = 35, _ = 13, w = 187, C = 61, S = 107, j = 27, k = 191, O = 112, T = 121, R = 122, F = 123, G = 113, X = 114, Y = 115, J = 116, L = 117, $ = 118, B = 119, z = 120, V = 36, H = 45, re = 93, te = 189, Z = 109, D = 144, de = 96, Q = 97, Oe = 98, ge = 99, Le = 100, Be = 101, rt = 102, Se = 103, Ie = 104, se = 105, ee = 111, ae = 110, ye = 109, Ce = 106, Ae = 107, tt = 219, nt = 34, Xe = 33, ot = 190, xe = 44, mt = 222, dt = 145, xt = 16, at = 32, kt = 9, Pt = 192, Vt = 91, Dt = 219, He = 92, Lt = "ArrowDown", Tt = "ArrowLeft", Ft = "ArrowRight", Te = "ArrowUp", he = "Enter", Pe = "Escape", Ve = "Home", Ke = "End", st = "F2", qe = "PageDown", Qe = "PageUp", lt = " ", vt = "Tab", Mt = "Backspace", bt = "Delete", ut = {
|
|
23263
23263
|
ArrowDown: Lt,
|
|
23264
23264
|
ArrowLeft: Tt,
|
|
23265
23265
|
ArrowRight: Ft,
|
|
@@ -27416,7 +27416,7 @@ var Kg = {
|
|
|
27416
27416
|
/* harmony export */
|
|
27417
27417
|
panelViewBorder: () => (
|
|
27418
27418
|
/* binding */
|
|
27419
|
-
|
|
27419
|
+
Pt
|
|
27420
27420
|
),
|
|
27421
27421
|
/* harmony export */
|
|
27422
27422
|
progressBackground: () => (
|
|
@@ -27499,7 +27499,7 @@ var Kg = {
|
|
|
27499
27499
|
/*! ./utilities/design-tokens/create.js */
|
|
27500
27500
|
"./node_modules/@vscode/webview-ui-toolkit/dist/utilities/design-tokens/create.js"
|
|
27501
27501
|
);
|
|
27502
|
-
const u = (0, s.create)("background", "--vscode-editor-background").withDefault("#1e1e1e"), d = (0, s.create)("border-width").withDefault(1), a = (0, s.create)("contrast-active-border", "--vscode-contrastActiveBorder").withDefault("#f38518"), o = (0, s.create)("contrast-border", "--vscode-contrastBorder").withDefault("#6fc3df"), c = (0, s.create)("corner-radius").withDefault(0), i = (0, s.create)("corner-radius-round").withDefault(2), n = (0, s.create)("design-unit").withDefault(4), l = (0, s.create)("disabled-opacity").withDefault(0.4), h = (0, s.create)("focus-border", "--vscode-focusBorder").withDefault("#007fd4"), m = (0, s.create)("font-family", "--vscode-font-family").withDefault("-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"), p = (0, s.create)("font-weight", "--vscode-font-weight").withDefault("400"), f = (0, s.create)("foreground", "--vscode-foreground").withDefault("#cccccc"), v = (0, s.create)("input-height").withDefault("26"), g = (0, s.create)("input-min-width").withDefault("100px"), b = (0, s.create)("type-ramp-base-font-size", "--vscode-font-size").withDefault("13px"), y = (0, s.create)("type-ramp-base-line-height").withDefault("normal"), _ = (0, s.create)("type-ramp-minus1-font-size").withDefault("11px"), w = (0, s.create)("type-ramp-minus1-line-height").withDefault("16px"), C = (0, s.create)("type-ramp-minus2-font-size").withDefault("9px"), S = (0, s.create)("type-ramp-minus2-line-height").withDefault("16px"), j = (0, s.create)("type-ramp-plus1-font-size").withDefault("16px"), k = (0, s.create)("type-ramp-plus1-line-height").withDefault("24px"), O = (0, s.create)("scrollbarWidth").withDefault("10px"), T = (0, s.create)("scrollbarHeight").withDefault("10px"), R = (0, s.create)("scrollbar-slider-background", "--vscode-scrollbarSlider-background").withDefault("#79797966"), F = (0, s.create)("scrollbar-slider-hover-background", "--vscode-scrollbarSlider-hoverBackground").withDefault("#646464b3"), G = (0, s.create)("scrollbar-slider-active-background", "--vscode-scrollbarSlider-activeBackground").withDefault("#bfbfbf66"), X = (0, s.create)("badge-background", "--vscode-badge-background").withDefault("#4d4d4d"), Y = (0, s.create)("badge-foreground", "--vscode-badge-foreground").withDefault("#ffffff"), J = (0, s.create)("button-border", "--vscode-button-border").withDefault("transparent"), L = (0, s.create)("button-icon-background").withDefault("transparent"), $ = (0, s.create)("button-icon-corner-radius").withDefault("5px"), B = (0, s.create)("button-icon-outline-offset").withDefault(0), z = (0, s.create)("button-icon-hover-background", "--fake-vscode-token").withDefault("rgba(90, 93, 94, 0.31)"), V = (0, s.create)("button-icon-padding").withDefault("3px"), H = (0, s.create)("button-primary-background", "--vscode-button-background").withDefault("#0e639c"), re = (0, s.create)("button-primary-foreground", "--vscode-button-foreground").withDefault("#ffffff"), te = (0, s.create)("button-primary-hover-background", "--vscode-button-hoverBackground").withDefault("#1177bb"), Z = (0, s.create)("button-secondary-background", "--vscode-button-secondaryBackground").withDefault("#3a3d41"), D = (0, s.create)("button-secondary-foreground", "--vscode-button-secondaryForeground").withDefault("#ffffff"), de = (0, s.create)("button-secondary-hover-background", "--vscode-button-secondaryHoverBackground").withDefault("#45494e"), Q = (0, s.create)("button-padding-horizontal").withDefault("11px"), Oe = (0, s.create)("button-padding-vertical").withDefault("4px"), ge = (0, s.create)("checkbox-background", "--vscode-checkbox-background").withDefault("#3c3c3c"), Le = (0, s.create)("checkbox-border", "--vscode-checkbox-border").withDefault("#3c3c3c"), Be = (0, s.create)("checkbox-corner-radius").withDefault(3), rt = (0, s.create)("checkbox-foreground", "--vscode-checkbox-foreground").withDefault("#f0f0f0"), Se = (0, s.create)("list-active-selection-background", "--vscode-list-activeSelectionBackground").withDefault("#094771"), Ie = (0, s.create)("list-active-selection-foreground", "--vscode-list-activeSelectionForeground").withDefault("#ffffff"), se = (0, s.create)("list-hover-background", "--vscode-list-hoverBackground").withDefault("#2a2d2e"), ee = (0, s.create)("divider-background", "--vscode-settings-dropdownListBorder").withDefault("#454545"), ae = (0, s.create)("dropdown-background", "--vscode-dropdown-background").withDefault("#3c3c3c"), ye = (0, s.create)("dropdown-border", "--vscode-dropdown-border").withDefault("#3c3c3c"), Ce = (0, s.create)("dropdown-foreground", "--vscode-dropdown-foreground").withDefault("#f0f0f0"), Ae = (0, s.create)("dropdown-list-max-height").withDefault("200px"), tt = (0, s.create)("input-background", "--vscode-input-background").withDefault("#3c3c3c"), nt = (0, s.create)("input-foreground", "--vscode-input-foreground").withDefault("#cccccc"), Xe = (0, s.create)("input-placeholder-foreground", "--vscode-input-placeholderForeground").withDefault("#cccccc"), ot = (0, s.create)("link-active-foreground", "--vscode-textLink-activeForeground").withDefault("#3794ff"), xe = (0, s.create)("link-foreground", "--vscode-textLink-foreground").withDefault("#3794ff"), mt = (0, s.create)("progress-background", "--vscode-progressBar-background").withDefault("#0e70c0"), dt = (0, s.create)("panel-tab-active-border", "--vscode-panelTitle-activeBorder").withDefault("#e7e7e7"), xt = (0, s.create)("panel-tab-active-foreground", "--vscode-panelTitle-activeForeground").withDefault("#e7e7e7"), at = (0, s.create)("panel-tab-foreground", "--vscode-panelTitle-inactiveForeground").withDefault("#e7e7e799"), kt = (0, s.create)("panel-view-background", "--vscode-panel-background").withDefault("#1e1e1e"),
|
|
27502
|
+
const u = (0, s.create)("background", "--vscode-editor-background").withDefault("#1e1e1e"), d = (0, s.create)("border-width").withDefault(1), a = (0, s.create)("contrast-active-border", "--vscode-contrastActiveBorder").withDefault("#f38518"), o = (0, s.create)("contrast-border", "--vscode-contrastBorder").withDefault("#6fc3df"), c = (0, s.create)("corner-radius").withDefault(0), i = (0, s.create)("corner-radius-round").withDefault(2), n = (0, s.create)("design-unit").withDefault(4), l = (0, s.create)("disabled-opacity").withDefault(0.4), h = (0, s.create)("focus-border", "--vscode-focusBorder").withDefault("#007fd4"), m = (0, s.create)("font-family", "--vscode-font-family").withDefault("-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"), p = (0, s.create)("font-weight", "--vscode-font-weight").withDefault("400"), f = (0, s.create)("foreground", "--vscode-foreground").withDefault("#cccccc"), v = (0, s.create)("input-height").withDefault("26"), g = (0, s.create)("input-min-width").withDefault("100px"), b = (0, s.create)("type-ramp-base-font-size", "--vscode-font-size").withDefault("13px"), y = (0, s.create)("type-ramp-base-line-height").withDefault("normal"), _ = (0, s.create)("type-ramp-minus1-font-size").withDefault("11px"), w = (0, s.create)("type-ramp-minus1-line-height").withDefault("16px"), C = (0, s.create)("type-ramp-minus2-font-size").withDefault("9px"), S = (0, s.create)("type-ramp-minus2-line-height").withDefault("16px"), j = (0, s.create)("type-ramp-plus1-font-size").withDefault("16px"), k = (0, s.create)("type-ramp-plus1-line-height").withDefault("24px"), O = (0, s.create)("scrollbarWidth").withDefault("10px"), T = (0, s.create)("scrollbarHeight").withDefault("10px"), R = (0, s.create)("scrollbar-slider-background", "--vscode-scrollbarSlider-background").withDefault("#79797966"), F = (0, s.create)("scrollbar-slider-hover-background", "--vscode-scrollbarSlider-hoverBackground").withDefault("#646464b3"), G = (0, s.create)("scrollbar-slider-active-background", "--vscode-scrollbarSlider-activeBackground").withDefault("#bfbfbf66"), X = (0, s.create)("badge-background", "--vscode-badge-background").withDefault("#4d4d4d"), Y = (0, s.create)("badge-foreground", "--vscode-badge-foreground").withDefault("#ffffff"), J = (0, s.create)("button-border", "--vscode-button-border").withDefault("transparent"), L = (0, s.create)("button-icon-background").withDefault("transparent"), $ = (0, s.create)("button-icon-corner-radius").withDefault("5px"), B = (0, s.create)("button-icon-outline-offset").withDefault(0), z = (0, s.create)("button-icon-hover-background", "--fake-vscode-token").withDefault("rgba(90, 93, 94, 0.31)"), V = (0, s.create)("button-icon-padding").withDefault("3px"), H = (0, s.create)("button-primary-background", "--vscode-button-background").withDefault("#0e639c"), re = (0, s.create)("button-primary-foreground", "--vscode-button-foreground").withDefault("#ffffff"), te = (0, s.create)("button-primary-hover-background", "--vscode-button-hoverBackground").withDefault("#1177bb"), Z = (0, s.create)("button-secondary-background", "--vscode-button-secondaryBackground").withDefault("#3a3d41"), D = (0, s.create)("button-secondary-foreground", "--vscode-button-secondaryForeground").withDefault("#ffffff"), de = (0, s.create)("button-secondary-hover-background", "--vscode-button-secondaryHoverBackground").withDefault("#45494e"), Q = (0, s.create)("button-padding-horizontal").withDefault("11px"), Oe = (0, s.create)("button-padding-vertical").withDefault("4px"), ge = (0, s.create)("checkbox-background", "--vscode-checkbox-background").withDefault("#3c3c3c"), Le = (0, s.create)("checkbox-border", "--vscode-checkbox-border").withDefault("#3c3c3c"), Be = (0, s.create)("checkbox-corner-radius").withDefault(3), rt = (0, s.create)("checkbox-foreground", "--vscode-checkbox-foreground").withDefault("#f0f0f0"), Se = (0, s.create)("list-active-selection-background", "--vscode-list-activeSelectionBackground").withDefault("#094771"), Ie = (0, s.create)("list-active-selection-foreground", "--vscode-list-activeSelectionForeground").withDefault("#ffffff"), se = (0, s.create)("list-hover-background", "--vscode-list-hoverBackground").withDefault("#2a2d2e"), ee = (0, s.create)("divider-background", "--vscode-settings-dropdownListBorder").withDefault("#454545"), ae = (0, s.create)("dropdown-background", "--vscode-dropdown-background").withDefault("#3c3c3c"), ye = (0, s.create)("dropdown-border", "--vscode-dropdown-border").withDefault("#3c3c3c"), Ce = (0, s.create)("dropdown-foreground", "--vscode-dropdown-foreground").withDefault("#f0f0f0"), Ae = (0, s.create)("dropdown-list-max-height").withDefault("200px"), tt = (0, s.create)("input-background", "--vscode-input-background").withDefault("#3c3c3c"), nt = (0, s.create)("input-foreground", "--vscode-input-foreground").withDefault("#cccccc"), Xe = (0, s.create)("input-placeholder-foreground", "--vscode-input-placeholderForeground").withDefault("#cccccc"), ot = (0, s.create)("link-active-foreground", "--vscode-textLink-activeForeground").withDefault("#3794ff"), xe = (0, s.create)("link-foreground", "--vscode-textLink-foreground").withDefault("#3794ff"), mt = (0, s.create)("progress-background", "--vscode-progressBar-background").withDefault("#0e70c0"), dt = (0, s.create)("panel-tab-active-border", "--vscode-panelTitle-activeBorder").withDefault("#e7e7e7"), xt = (0, s.create)("panel-tab-active-foreground", "--vscode-panelTitle-activeForeground").withDefault("#e7e7e7"), at = (0, s.create)("panel-tab-foreground", "--vscode-panelTitle-inactiveForeground").withDefault("#e7e7e799"), kt = (0, s.create)("panel-view-background", "--vscode-panel-background").withDefault("#1e1e1e"), Pt = (0, s.create)("panel-view-border", "--vscode-panel-border").withDefault("#80808059"), Vt = (0, s.create)("tag-corner-radius").withDefault("2px");
|
|
27503
27503
|
}
|
|
27504
27504
|
),
|
|
27505
27505
|
/***/
|
|
@@ -37445,7 +37445,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37445
37445
|
let Ke = he === de ? "<svg>" : he === Q ? "<math>" : "", st, qe = F;
|
|
37446
37446
|
for (let lt = 0; lt < Pe; lt++) {
|
|
37447
37447
|
const vt = Te[lt];
|
|
37448
|
-
let
|
|
37448
|
+
let Mt = -1, bt, ut = 0, fe;
|
|
37449
37449
|
for (; ut < vt.length && (qe.lastIndex = ut, fe = qe.exec(vt), fe !== null); )
|
|
37450
37450
|
if (ut = qe.lastIndex, qe === F) {
|
|
37451
37451
|
if (fe[G] === "!--")
|
|
@@ -37456,10 +37456,10 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37456
37456
|
Z.test(fe[X]) && (st = new RegExp(`</${fe[X]}`, "g")), qe = $;
|
|
37457
37457
|
else if (fe[Y] !== void 0)
|
|
37458
37458
|
throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions");
|
|
37459
|
-
} else qe === $ ? fe[B] === ">" ? (qe = st ?? F,
|
|
37460
|
-
console.assert(
|
|
37459
|
+
} else qe === $ ? fe[B] === ">" ? (qe = st ?? F, Mt = -1) : fe[z] === void 0 ? Mt = -2 : (Mt = qe.lastIndex - fe[V].length, bt = fe[z], qe = fe[H] === void 0 ? $ : fe[H] === '"' ? te : re) : qe === te || qe === re ? qe = $ : qe === J || qe === L ? qe = F : (qe = $, st = void 0);
|
|
37460
|
+
console.assert(Mt === -1 || qe === $ || qe === re || qe === te, "unexpected parse state B");
|
|
37461
37461
|
const Jt = qe === $ && Te[lt + 1].startsWith("/>") ? " " : "";
|
|
37462
|
-
Ke += qe === F ? vt + _ :
|
|
37462
|
+
Ke += qe === F ? vt + _ : Mt >= 0 ? (Ve.push(bt), vt.slice(0, Mt) + g + vt.slice(Mt) + b + Jt) : vt + b + (Mt === -2 ? lt : Jt);
|
|
37463
37463
|
}
|
|
37464
37464
|
const Qe = Ke + (Te[Pe] || "<?>") + (he === de ? "</svg>" : he === Q ? "</math>" : "");
|
|
37465
37465
|
return [ot(Te, Qe), Ve];
|
|
@@ -37468,7 +37468,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37468
37468
|
constructor({ strings: he, ["_$litType$"]: Pe }, Ve) {
|
|
37469
37469
|
this.parts = [];
|
|
37470
37470
|
let Ke, st = 0, qe = 0;
|
|
37471
|
-
const Qe = he.length - 1, lt = this.parts, [vt,
|
|
37471
|
+
const Qe = he.length - 1, lt = this.parts, [vt, Mt] = xe(he, Pe);
|
|
37472
37472
|
if (this.el = mt.createElement(vt, Ve), nt.currentNode = this.el.content, Pe === de || Pe === Q) {
|
|
37473
37473
|
const bt = this.el.content.firstChild;
|
|
37474
37474
|
bt.replaceWith(...bt.childNodes);
|
|
@@ -37487,13 +37487,13 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37487
37487
|
if (Ke.hasAttributes())
|
|
37488
37488
|
for (const bt of Ke.getAttributeNames())
|
|
37489
37489
|
if (bt.endsWith(g)) {
|
|
37490
|
-
const ut =
|
|
37490
|
+
const ut = Mt[qe++], fe = Ke.getAttribute(bt).split(b), Jt = /([.?@])?(.*)/.exec(ut);
|
|
37491
37491
|
lt.push({
|
|
37492
37492
|
type: Oe,
|
|
37493
37493
|
index: st,
|
|
37494
37494
|
name: Jt[2],
|
|
37495
37495
|
strings: fe,
|
|
37496
|
-
ctor: Jt[1] === "." ?
|
|
37496
|
+
ctor: Jt[1] === "." ? Pt : Jt[1] === "?" ? Vt : Jt[1] === "@" ? Dt : kt
|
|
37497
37497
|
}), Ke.removeAttribute(bt);
|
|
37498
37498
|
} else bt.startsWith(b) && (lt.push({
|
|
37499
37499
|
type: Se,
|
|
@@ -37518,7 +37518,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37518
37518
|
}
|
|
37519
37519
|
st++;
|
|
37520
37520
|
}
|
|
37521
|
-
if (
|
|
37521
|
+
if (Mt.length !== qe)
|
|
37522
37522
|
throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`' + he.join("${...}") + "`");
|
|
37523
37523
|
a && a({
|
|
37524
37524
|
kind: "template prep",
|
|
@@ -37834,7 +37834,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37834
37834
|
}), i(this.element).setAttribute(this.name, he ?? ""));
|
|
37835
37835
|
}
|
|
37836
37836
|
}
|
|
37837
|
-
class
|
|
37837
|
+
class Pt extends kt {
|
|
37838
37838
|
constructor() {
|
|
37839
37839
|
super(...arguments), this.type = Le;
|
|
37840
37840
|
}
|
|
@@ -37864,7 +37864,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37864
37864
|
}), i(this.element).toggleAttribute(this.name, !!he && he !== Ae);
|
|
37865
37865
|
}
|
|
37866
37866
|
}
|
|
37867
|
-
class
|
|
37867
|
+
class Dt extends kt {
|
|
37868
37868
|
constructor(he, Pe, Ve, Ke, st) {
|
|
37869
37869
|
if (super(he, Pe, Ve, Ke, st), this.type = rt, this.strings !== void 0)
|
|
37870
37870
|
throw new Error(`A \`<${he.localName}>\` has a \`@${Pe}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`);
|
|
@@ -37923,8 +37923,8 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
37923
37923
|
_ChildPart: at,
|
|
37924
37924
|
_AttributePart: kt,
|
|
37925
37925
|
_BooleanAttributePart: Vt,
|
|
37926
|
-
_EventPart:
|
|
37927
|
-
_PropertyPart:
|
|
37926
|
+
_EventPart: Dt,
|
|
37927
|
+
_PropertyPart: Pt,
|
|
37928
37928
|
_ElementPart: He
|
|
37929
37929
|
}, Tt = d.litHtmlPolyfillSupportDevMode;
|
|
37930
37930
|
Tt == null || Tt(mt, at), (d.litHtmlVersions ?? (d.litHtmlVersions = [])).push("3.2.0"), d.litHtmlVersions.length > 1 && c("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
|
|
@@ -38667,12 +38667,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
38667
38667
|
Object.defineProperty(e, "bufferCount", { enumerable: !0, get: function() {
|
|
38668
38668
|
return kt.bufferCount;
|
|
38669
38669
|
} });
|
|
38670
|
-
var
|
|
38670
|
+
var Pt = t(
|
|
38671
38671
|
/*! ./internal/operators/bufferTime */
|
|
38672
38672
|
"./node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js"
|
|
38673
38673
|
);
|
|
38674
38674
|
Object.defineProperty(e, "bufferTime", { enumerable: !0, get: function() {
|
|
38675
|
-
return
|
|
38675
|
+
return Pt.bufferTime;
|
|
38676
38676
|
} });
|
|
38677
38677
|
var Vt = t(
|
|
38678
38678
|
/*! ./internal/operators/bufferToggle */
|
|
@@ -38681,12 +38681,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
38681
38681
|
Object.defineProperty(e, "bufferToggle", { enumerable: !0, get: function() {
|
|
38682
38682
|
return Vt.bufferToggle;
|
|
38683
38683
|
} });
|
|
38684
|
-
var
|
|
38684
|
+
var Dt = t(
|
|
38685
38685
|
/*! ./internal/operators/bufferWhen */
|
|
38686
38686
|
"./node_modules/rxjs/dist/cjs/internal/operators/bufferWhen.js"
|
|
38687
38687
|
);
|
|
38688
38688
|
Object.defineProperty(e, "bufferWhen", { enumerable: !0, get: function() {
|
|
38689
|
-
return
|
|
38689
|
+
return Dt.bufferWhen;
|
|
38690
38690
|
} });
|
|
38691
38691
|
var He = t(
|
|
38692
38692
|
/*! ./internal/operators/catchError */
|
|
@@ -38786,12 +38786,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
38786
38786
|
Object.defineProperty(e, "delay", { enumerable: !0, get: function() {
|
|
38787
38787
|
return vt.delay;
|
|
38788
38788
|
} });
|
|
38789
|
-
var
|
|
38789
|
+
var Mt = t(
|
|
38790
38790
|
/*! ./internal/operators/delayWhen */
|
|
38791
38791
|
"./node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js"
|
|
38792
38792
|
);
|
|
38793
38793
|
Object.defineProperty(e, "delayWhen", { enumerable: !0, get: function() {
|
|
38794
|
-
return
|
|
38794
|
+
return Mt.delayWhen;
|
|
38795
38795
|
} });
|
|
38796
38796
|
var bt = t(
|
|
38797
38797
|
/*! ./internal/operators/dematerialize */
|
|
@@ -48587,12 +48587,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
48587
48587
|
Object.defineProperty(e, "publishReplay", { enumerable: !0, get: function() {
|
|
48588
48588
|
return kt.publishReplay;
|
|
48589
48589
|
} });
|
|
48590
|
-
var
|
|
48590
|
+
var Pt = t(
|
|
48591
48591
|
/*! ../internal/operators/race */
|
|
48592
48592
|
"./node_modules/rxjs/dist/cjs/internal/operators/race.js"
|
|
48593
48593
|
);
|
|
48594
48594
|
Object.defineProperty(e, "race", { enumerable: !0, get: function() {
|
|
48595
|
-
return
|
|
48595
|
+
return Pt.race;
|
|
48596
48596
|
} });
|
|
48597
48597
|
var Vt = t(
|
|
48598
48598
|
/*! ../internal/operators/raceWith */
|
|
@@ -48601,12 +48601,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
48601
48601
|
Object.defineProperty(e, "raceWith", { enumerable: !0, get: function() {
|
|
48602
48602
|
return Vt.raceWith;
|
|
48603
48603
|
} });
|
|
48604
|
-
var
|
|
48604
|
+
var Dt = t(
|
|
48605
48605
|
/*! ../internal/operators/reduce */
|
|
48606
48606
|
"./node_modules/rxjs/dist/cjs/internal/operators/reduce.js"
|
|
48607
48607
|
);
|
|
48608
48608
|
Object.defineProperty(e, "reduce", { enumerable: !0, get: function() {
|
|
48609
|
-
return
|
|
48609
|
+
return Dt.reduce;
|
|
48610
48610
|
} });
|
|
48611
48611
|
var He = t(
|
|
48612
48612
|
/*! ../internal/operators/repeat */
|
|
@@ -48706,12 +48706,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
48706
48706
|
Object.defineProperty(e, "skipLast", { enumerable: !0, get: function() {
|
|
48707
48707
|
return vt.skipLast;
|
|
48708
48708
|
} });
|
|
48709
|
-
var
|
|
48709
|
+
var Mt = t(
|
|
48710
48710
|
/*! ../internal/operators/skipUntil */
|
|
48711
48711
|
"./node_modules/rxjs/dist/cjs/internal/operators/skipUntil.js"
|
|
48712
48712
|
);
|
|
48713
48713
|
Object.defineProperty(e, "skipUntil", { enumerable: !0, get: function() {
|
|
48714
|
-
return
|
|
48714
|
+
return Mt.skipUntil;
|
|
48715
48715
|
} });
|
|
48716
48716
|
var bt = t(
|
|
48717
48717
|
/*! ../internal/operators/skipWhile */
|
|
@@ -51799,7 +51799,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
51799
51799
|
return se.create(this);
|
|
51800
51800
|
}
|
|
51801
51801
|
promise() {
|
|
51802
|
-
return
|
|
51802
|
+
return Dt.create(this, this._def);
|
|
51803
51803
|
}
|
|
51804
51804
|
or(I) {
|
|
51805
51805
|
return ye.create([this, I], this._def);
|
|
@@ -53236,7 +53236,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
53236
53236
|
typeName: Qe.ZodUnion,
|
|
53237
53237
|
...p(I)
|
|
53238
53238
|
});
|
|
53239
|
-
const Ce = (ne) => ne instanceof xt ? Ce(ne.schema) : ne instanceof He ? Ce(ne.innerType()) : ne instanceof at ? [ne.value] : ne instanceof
|
|
53239
|
+
const Ce = (ne) => ne instanceof xt ? Ce(ne.schema) : ne instanceof He ? Ce(ne.innerType()) : ne instanceof at ? [ne.value] : ne instanceof Pt ? ne.options : ne instanceof Vt ? l.util.objectValues(ne.enum) : ne instanceof Ft ? Ce(ne._def.innerType) : ne instanceof ge ? [void 0] : ne instanceof Le ? [null] : ne instanceof Lt ? [void 0, ...Ce(ne.unwrap())] : ne instanceof Tt ? [null, ...Ce(ne.unwrap())] : ne instanceof Pe || ne instanceof Ke ? Ce(ne.unwrap()) : ne instanceof Te ? Ce(ne._def.innerType) : [];
|
|
53240
53240
|
class Ae extends f {
|
|
53241
53241
|
_parse(I) {
|
|
53242
53242
|
const { ctx: P } = this._processInputParams(I);
|
|
@@ -53603,7 +53603,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
53603
53603
|
});
|
|
53604
53604
|
}
|
|
53605
53605
|
const $e = { errorMap: P.common.contextualErrorMap }, Fe = P.data;
|
|
53606
|
-
if (this._def.returns instanceof
|
|
53606
|
+
if (this._def.returns instanceof Dt) {
|
|
53607
53607
|
const Ne = this;
|
|
53608
53608
|
return (0, n.OK)(async function(...Je) {
|
|
53609
53609
|
const it = new o.ZodError([]), St = await Ne._def.args.parseAsync(Je, $e).catch((gt) => {
|
|
@@ -53696,13 +53696,13 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
53696
53696
|
...p(I)
|
|
53697
53697
|
});
|
|
53698
53698
|
function kt(ne, I) {
|
|
53699
|
-
return new
|
|
53699
|
+
return new Pt({
|
|
53700
53700
|
values: ne,
|
|
53701
53701
|
typeName: Qe.ZodEnum,
|
|
53702
53702
|
...p(I)
|
|
53703
53703
|
});
|
|
53704
53704
|
}
|
|
53705
|
-
class
|
|
53705
|
+
class Pt extends f {
|
|
53706
53706
|
constructor() {
|
|
53707
53707
|
super(...arguments), d.set(this, void 0);
|
|
53708
53708
|
}
|
|
@@ -53747,19 +53747,19 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
53747
53747
|
return I;
|
|
53748
53748
|
}
|
|
53749
53749
|
extract(I, P = this._def) {
|
|
53750
|
-
return
|
|
53750
|
+
return Pt.create(I, {
|
|
53751
53751
|
...this._def,
|
|
53752
53752
|
...P
|
|
53753
53753
|
});
|
|
53754
53754
|
}
|
|
53755
53755
|
exclude(I, P = this._def) {
|
|
53756
|
-
return
|
|
53756
|
+
return Pt.create(this.options.filter((W) => !I.includes(W)), {
|
|
53757
53757
|
...this._def,
|
|
53758
53758
|
...P
|
|
53759
53759
|
});
|
|
53760
53760
|
}
|
|
53761
53761
|
}
|
|
53762
|
-
e.ZodEnum =
|
|
53762
|
+
e.ZodEnum = Pt, d = /* @__PURE__ */ new WeakMap(), Pt.create = kt;
|
|
53763
53763
|
class Vt extends f {
|
|
53764
53764
|
constructor() {
|
|
53765
53765
|
super(...arguments), a.set(this, void 0);
|
|
@@ -53793,7 +53793,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
53793
53793
|
typeName: Qe.ZodNativeEnum,
|
|
53794
53794
|
...p(I)
|
|
53795
53795
|
});
|
|
53796
|
-
class
|
|
53796
|
+
class Dt extends f {
|
|
53797
53797
|
unwrap() {
|
|
53798
53798
|
return this._def.type;
|
|
53799
53799
|
}
|
|
@@ -53812,7 +53812,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
53812
53812
|
})));
|
|
53813
53813
|
}
|
|
53814
53814
|
}
|
|
53815
|
-
e.ZodPromise =
|
|
53815
|
+
e.ZodPromise = Dt, Dt.create = (ne, I) => new Dt({
|
|
53816
53816
|
type: ne,
|
|
53817
53817
|
typeName: Qe.ZodPromise,
|
|
53818
53818
|
...p(I)
|
|
@@ -54116,8 +54116,8 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
54116
54116
|
e.instanceof = lt;
|
|
54117
54117
|
const vt = re.create;
|
|
54118
54118
|
e.string = vt;
|
|
54119
|
-
const
|
|
54120
|
-
e.number =
|
|
54119
|
+
const Mt = Z.create;
|
|
54120
|
+
e.number = Mt;
|
|
54121
54121
|
const bt = he.create;
|
|
54122
54122
|
e.nan = bt;
|
|
54123
54123
|
const ut = D.create;
|
|
@@ -54166,11 +54166,11 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
54166
54166
|
e.lazy = mr;
|
|
54167
54167
|
const xr = at.create;
|
|
54168
54168
|
e.literal = xr;
|
|
54169
|
-
const Nr =
|
|
54169
|
+
const Nr = Pt.create;
|
|
54170
54170
|
e.enum = Nr;
|
|
54171
54171
|
const Pr = Vt.create;
|
|
54172
54172
|
e.nativeEnum = Pr;
|
|
54173
|
-
const hr =
|
|
54173
|
+
const hr = Dt.create;
|
|
54174
54174
|
e.promise = hr;
|
|
54175
54175
|
const Dr = He.create;
|
|
54176
54176
|
e.effect = Dr, e.transformer = Dr;
|
|
@@ -54184,7 +54184,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
54184
54184
|
e.pipeline = mn;
|
|
54185
54185
|
const vn = () => vt().optional();
|
|
54186
54186
|
e.ostring = vn;
|
|
54187
|
-
const gn = () =>
|
|
54187
|
+
const gn = () => Mt().optional();
|
|
54188
54188
|
e.onumber = gn;
|
|
54189
54189
|
const jt = () => fe().optional();
|
|
54190
54190
|
e.oboolean = jt, e.coerce = {
|
|
@@ -68864,7 +68864,7 @@ function x0({
|
|
|
68864
68864
|
fontFamily: v = "monospace",
|
|
68865
68865
|
takeFocus: g = !0,
|
|
68866
68866
|
scrollToFit: b = !0
|
|
68867
|
-
} = a, y =
|
|
68867
|
+
} = a, y = Nt(() => !r || u === "" ? null : u, [r, u]), _ = Nt(() => {
|
|
68868
68868
|
if (!(!r || !e || !d.endpoint))
|
|
68869
68869
|
return console.log("Creating stream", r, e, d.endpoint), new $h({
|
|
68870
68870
|
knownID: r,
|
|
@@ -68893,7 +68893,7 @@ function x0({
|
|
|
68893
68893
|
x: 0,
|
|
68894
68894
|
y: 0
|
|
68895
68895
|
});
|
|
68896
|
-
const C =
|
|
68896
|
+
const C = Nt(() => Et(Oo, {
|
|
68897
68897
|
sessionStrategy: zg.MOST_RECENT,
|
|
68898
68898
|
// without this every exec gets its own session
|
|
68899
68899
|
storeStdoutInEnv: !0,
|
|
@@ -68915,7 +68915,7 @@ function x0({
|
|
|
68915
68915
|
// knownName: "the-cell-name",
|
|
68916
68916
|
},
|
|
68917
68917
|
winsize: w
|
|
68918
|
-
}), [r, e, s, w]), S =
|
|
68918
|
+
}), [r, e, s, w]), S = Nt(
|
|
68919
68919
|
() => {
|
|
68920
68920
|
var k;
|
|
68921
68921
|
return {
|
|
@@ -69178,94 +69178,98 @@ const Zh = ua(
|
|
|
69178
69178
|
}, D0 = ({
|
|
69179
69179
|
children: r,
|
|
69180
69180
|
requireAuth: e,
|
|
69181
|
-
webApp: t
|
|
69181
|
+
webApp: t,
|
|
69182
|
+
createAuthInterceptors: s
|
|
69182
69183
|
}) => {
|
|
69183
|
-
const [
|
|
69184
|
-
const
|
|
69185
|
-
if (!
|
|
69184
|
+
const [u, d] = Bt(null), a = Nt(() => {
|
|
69185
|
+
const p = Qo();
|
|
69186
|
+
if (!p)
|
|
69186
69187
|
return "unauthenticated";
|
|
69187
|
-
let
|
|
69188
|
+
let f;
|
|
69188
69189
|
try {
|
|
69189
|
-
return
|
|
69190
|
-
} catch (
|
|
69191
|
-
return console.error("Error decoding token",
|
|
69192
|
-
}
|
|
69193
|
-
}, []),
|
|
69194
|
-
const
|
|
69195
|
-
let
|
|
69196
|
-
t != null && t.runner && (
|
|
69197
|
-
const
|
|
69190
|
+
return f = Vh(p), f.email || f.sub || "unauthenticated";
|
|
69191
|
+
} catch (v) {
|
|
69192
|
+
return console.error("Error decoding token", v), "unauthenticated";
|
|
69193
|
+
}
|
|
69194
|
+
}, []), o = Nt(() => {
|
|
69195
|
+
const p = window.location.hostname === "localhost", f = window.location.protocol === "http:", v = window.location.port === "4173" || window.location.port === "5173", g = p && f && v;
|
|
69196
|
+
let b = new URL(window.location.href);
|
|
69197
|
+
t != null && t.runner && (b = new URL(t.runner));
|
|
69198
|
+
const y = {
|
|
69198
69199
|
requireAuth: !1,
|
|
69199
|
-
agentEndpoint:
|
|
69200
|
+
agentEndpoint: g ? "http://localhost:8080" : window.location.origin,
|
|
69200
69201
|
webApp: {
|
|
69201
|
-
runner:
|
|
69202
|
+
runner: g ? "ws://localhost:8080/ws" : `${b.protocol === "https:" ? "wss:" : "ws:"}//${b.host}/ws`,
|
|
69202
69203
|
reconnect: (t == null ? void 0 : t.reconnect) ?? !0,
|
|
69203
69204
|
invertedOrder: (t == null ? void 0 : t.invertedOrder) ?? !1
|
|
69204
69205
|
}
|
|
69205
69206
|
};
|
|
69206
|
-
return e !== void 0 && (
|
|
69207
|
-
}, [e, t]), [
|
|
69208
|
-
const
|
|
69209
|
-
return
|
|
69207
|
+
return e !== void 0 && (y.requireAuth = e), y;
|
|
69208
|
+
}, [e, t]), [c, i] = Bt(() => {
|
|
69209
|
+
const p = localStorage.getItem("cloudAssistantSettings"), f = p ? JSON.parse(p) : {};
|
|
69210
|
+
return f && f.webApp && f.webApp.reconnect !== void 0 && (f.webApp.reconnect = o.webApp.reconnect), p ? { ...o, ...f } : o;
|
|
69210
69211
|
});
|
|
69211
69212
|
Ot(() => {
|
|
69212
|
-
localStorage.setItem("cloudAssistantSettings", JSON.stringify(
|
|
69213
|
-
}, [
|
|
69214
|
-
const
|
|
69215
|
-
(
|
|
69216
|
-
const
|
|
69217
|
-
const
|
|
69218
|
-
|
|
69213
|
+
localStorage.setItem("cloudAssistantSettings", JSON.stringify(c));
|
|
69214
|
+
}, [c]);
|
|
69215
|
+
const n = $r(
|
|
69216
|
+
(p) => {
|
|
69217
|
+
const f = (v) => {
|
|
69218
|
+
const g = At.from(v);
|
|
69219
|
+
g.code === wt.Unauthenticated && (window.location.href = `/login?error=${encodeURIComponent(g.name)}&error_description=${encodeURIComponent(g.message)}`);
|
|
69219
69220
|
};
|
|
69220
69221
|
return [
|
|
69221
|
-
(
|
|
69222
|
-
const
|
|
69223
|
-
return
|
|
69224
|
-
throw
|
|
69225
|
-
}) :
|
|
69222
|
+
(v) => async (g) => {
|
|
69223
|
+
const b = Qo();
|
|
69224
|
+
return b && g.header.set("Authorization", `Bearer ${b}`), p ? v(g).catch((y) => {
|
|
69225
|
+
throw f(y), y;
|
|
69226
|
+
}) : v(g);
|
|
69226
69227
|
}
|
|
69227
69228
|
];
|
|
69228
69229
|
},
|
|
69229
69230
|
[]
|
|
69230
|
-
),
|
|
69231
|
-
|
|
69231
|
+
), l = Nt(
|
|
69232
|
+
() => s ?? n,
|
|
69233
|
+
[s, n]
|
|
69234
|
+
), h = $r(async () => {
|
|
69235
|
+
if (!c.webApp.runner)
|
|
69232
69236
|
return;
|
|
69233
|
-
|
|
69234
|
-
const
|
|
69237
|
+
d(null);
|
|
69238
|
+
const p = new $h({
|
|
69235
69239
|
knownID: `check_${P0()}`,
|
|
69236
69240
|
runID: Fh(),
|
|
69237
69241
|
sequence: 0,
|
|
69238
69242
|
options: {
|
|
69239
|
-
runnerEndpoint:
|
|
69240
|
-
interceptors:
|
|
69243
|
+
runnerEndpoint: c.webApp.runner,
|
|
69244
|
+
interceptors: l(!1),
|
|
69241
69245
|
autoReconnect: !1
|
|
69242
69246
|
// let it fail, the user is interested in the error
|
|
69243
69247
|
}
|
|
69244
|
-
}),
|
|
69245
|
-
return
|
|
69246
|
-
|
|
69247
|
-
next: (
|
|
69248
|
+
}), f = [];
|
|
69249
|
+
return f.push(
|
|
69250
|
+
p.errors.subscribe({
|
|
69251
|
+
next: (v) => d(v)
|
|
69248
69252
|
})
|
|
69249
|
-
),
|
|
69250
|
-
|
|
69251
|
-
|
|
69252
|
-
`Initial heartbeat latency for streamID ${
|
|
69253
|
-
),
|
|
69253
|
+
), f.push(
|
|
69254
|
+
p.connect(Bh.INITIAL).subscribe((v) => {
|
|
69255
|
+
v !== null && (console.log(
|
|
69256
|
+
`Initial heartbeat latency for streamID ${v.streamID} (${v.readyState === 1 ? "open" : "closed"}): ${v.latency}ms`
|
|
69257
|
+
), p.close());
|
|
69254
69258
|
})
|
|
69255
69259
|
), () => {
|
|
69256
|
-
|
|
69260
|
+
f.forEach((v) => v.unsubscribe());
|
|
69257
69261
|
};
|
|
69258
|
-
}, [
|
|
69262
|
+
}, [s, c.webApp.runner]);
|
|
69259
69263
|
Ot(() => {
|
|
69260
|
-
|
|
69261
|
-
}, [
|
|
69262
|
-
const
|
|
69263
|
-
|
|
69264
|
-
...
|
|
69265
|
-
...
|
|
69264
|
+
h();
|
|
69265
|
+
}, [h]);
|
|
69266
|
+
const m = (p) => {
|
|
69267
|
+
i((f) => ({
|
|
69268
|
+
...f,
|
|
69269
|
+
...p,
|
|
69266
69270
|
webApp: {
|
|
69267
|
-
...
|
|
69268
|
-
...
|
|
69271
|
+
...f.webApp,
|
|
69272
|
+
...p.webApp
|
|
69269
69273
|
}
|
|
69270
69274
|
}));
|
|
69271
69275
|
};
|
|
@@ -69273,13 +69277,13 @@ const Zh = ua(
|
|
|
69273
69277
|
Zh.Provider,
|
|
69274
69278
|
{
|
|
69275
69279
|
value: {
|
|
69276
|
-
principal:
|
|
69277
|
-
checkRunnerAuth:
|
|
69278
|
-
createAuthInterceptors:
|
|
69279
|
-
defaultSettings:
|
|
69280
|
-
runnerError:
|
|
69281
|
-
settings:
|
|
69282
|
-
updateSettings:
|
|
69280
|
+
principal: a,
|
|
69281
|
+
checkRunnerAuth: h,
|
|
69282
|
+
createAuthInterceptors: l,
|
|
69283
|
+
defaultSettings: o,
|
|
69284
|
+
runnerError: u,
|
|
69285
|
+
settings: c,
|
|
69286
|
+
updateSettings: m
|
|
69283
69287
|
},
|
|
69284
69288
|
children: r
|
|
69285
69289
|
}
|
|
@@ -69323,18 +69327,18 @@ function ju(r, e) {
|
|
|
69323
69327
|
return t.length === 0 ? [] : e ? t.reverse() : t;
|
|
69324
69328
|
}
|
|
69325
69329
|
const F0 = ({ children: r }) => {
|
|
69326
|
-
const { settings: e, createAuthInterceptors: t, principal: s } = qr(), [u, d] = Bt(0), [a, o] = Bt(!1), [c, i] = Bt(!1), [n, l] = Bt(), h =
|
|
69330
|
+
const { settings: e, createAuthInterceptors: t, principal: s } = qr(), [u, d] = Bt(0), [a, o] = Bt(!1), [c, i] = Bt(!1), [n, l] = Bt(), h = Nt(() => {
|
|
69327
69331
|
console.log("CODE WAS MODIFIED runnerConnectEndpoint", e.webApp.runner);
|
|
69328
69332
|
const Y = new URL(e.webApp.runner);
|
|
69329
69333
|
return Y.protocol === "ws:" ? Y.protocol = "http:" : Y.protocol = "https:", Y.pathname = "", Y.toString();
|
|
69330
|
-
}, [e.webApp.runner]), m =
|
|
69334
|
+
}, [e.webApp.runner]), m = Nt(() => {
|
|
69331
69335
|
if (s)
|
|
69332
69336
|
return new wv(
|
|
69333
69337
|
"agent",
|
|
69334
69338
|
s,
|
|
69335
69339
|
pc(fm, h, t(!0))
|
|
69336
69340
|
);
|
|
69337
|
-
}, [e.agentEndpoint, s]), p =
|
|
69341
|
+
}, [e.agentEndpoint, s]), p = Nt(
|
|
69338
69342
|
() => e.webApp.invertedOrder,
|
|
69339
69343
|
[e.webApp.invertedOrder]
|
|
69340
69344
|
), { client: f } = M0(), [v, g] = Bt(void 0), b = $r(() => {
|
|
@@ -69392,11 +69396,11 @@ const F0 = ({ children: r }) => {
|
|
|
69392
69396
|
}, [p]), Ot(() => {
|
|
69393
69397
|
y && y({ attemptRestore: !0 });
|
|
69394
69398
|
}, [y]);
|
|
69395
|
-
const _ =
|
|
69399
|
+
const _ = Nt(() => v ? v.positions.map((Y) => v.cells[Y]).filter(
|
|
69396
69400
|
(Y) => !!Y && (Y.kind === Rr.MARKUP || Y.kind === Rr.CODE)
|
|
69397
|
-
) : [], [v]), w =
|
|
69401
|
+
) : [], [v]), w = Nt(() => v ? v.positions.map((Y) => v.cells[Y]).filter(
|
|
69398
69402
|
(Y) => !!Y && Y.kind === Rr.CODE
|
|
69399
|
-
) : [], [v]), C =
|
|
69403
|
+
) : [], [v]), C = Nt(() => v ? v.positions.map((Y) => v.cells[Y]).filter(
|
|
69400
69404
|
(Y) => !!Y && Y.kind === Rr.DOC_RESULTS
|
|
69401
69405
|
) : [], [v]), S = () => ({
|
|
69402
69406
|
chat: _,
|
|
@@ -69583,12 +69587,12 @@ const U0 = Et(Es, {
|
|
|
69583
69587
|
} = qr(), { sendOutputCell: d, saveState: a } = fn(), o = u.invertedOrder, [c, i] = Bt(!1), [n, l] = Bt({
|
|
69584
69588
|
value: "",
|
|
69585
69589
|
runID: ""
|
|
69586
|
-
}), [h, m] = Bt(null), [p, f] = Bt(null), [v, g] = Bt(null), [b, y] = Bt(null), [_, w] = Bt(""), [C, S] = Bt(""), [j, k] = Bt(""), O =
|
|
69590
|
+
}), [h, m] = Bt(null), [p, f] = Bt(null), [v, g] = Bt(null), [b, y] = Bt(null), [_, w] = Bt(""), [C, S] = Bt(""), [j, k] = Bt(""), O = Nt(() => Number(r.metadata[gr.Sequence] ?? 0), [r, p, v]), T = $r(
|
|
69587
69591
|
(te = !1) => {
|
|
69588
69592
|
m(BigInt(Date.now())), w(""), S(""), f(null), g(null), i(te), l({ value: r.value, runID: Fh() });
|
|
69589
69593
|
},
|
|
69590
69594
|
[r]
|
|
69591
|
-
), R =
|
|
69595
|
+
), R = Nt(() => ({
|
|
69592
69596
|
...aa,
|
|
69593
69597
|
className: "rounded-md overflow-hidden",
|
|
69594
69598
|
rows: 14,
|
|
@@ -69606,7 +69610,7 @@ const U0 = Et(Es, {
|
|
|
69606
69610
|
);
|
|
69607
69611
|
};
|
|
69608
69612
|
}, [r.refId, T]);
|
|
69609
|
-
const F =
|
|
69613
|
+
const F = Nt(() => V0({ pid: p, exitCode: v }, _, C), [p, v, _, C, b]);
|
|
69610
69614
|
Ot(() => {
|
|
69611
69615
|
h !== null && (r.outputs = F, r.executionSummary = Et(Kp, {
|
|
69612
69616
|
timing: Et(Gp, {
|
|
@@ -69617,7 +69621,7 @@ const U0 = Et(Es, {
|
|
|
69617
69621
|
success: Number.isFinite(v) && v === 0
|
|
69618
69622
|
}));
|
|
69619
69623
|
}, [r, F, v, O, h]);
|
|
69620
|
-
const G =
|
|
69624
|
+
const G = Nt(() => p === null || v === null || n.runID === "" || !Number.isFinite(p) || !Number.isInteger(v) ? null : r, [r, n.runID, v, p]);
|
|
69621
69625
|
Ot(() => {
|
|
69622
69626
|
!G || j === n.runID || (k(n.runID), d(G));
|
|
69623
69627
|
}, [d, G, n.runID, j]), Ot(() => {
|
|
@@ -69627,17 +69631,17 @@ const U0 = Et(Es, {
|
|
|
69627
69631
|
}, [v, e]), Ot(() => {
|
|
69628
69632
|
r.kind === Rr.CODE && (n.runID !== "" && (r.metadata[gr.LastRunID] = n.runID), p ? r.metadata[gr.Pid] = p.toString() : delete r.metadata[gr.Pid], v !== null && Number.isFinite(v) ? (delete r.metadata[gr.Pid], r.metadata[gr.ExitCode] = v.toString()) : delete r.metadata[gr.ExitCode], a());
|
|
69629
69633
|
}, [p, v, r, a, n.runID]);
|
|
69630
|
-
const X =
|
|
69634
|
+
const X = Nt(() => {
|
|
69631
69635
|
if (r.kind !== Rr.CODE || j !== "")
|
|
69632
69636
|
return;
|
|
69633
69637
|
const te = r.outputs.flatMap((Z) => Z.items).find((Z) => Z.mime === ji.VSCodeNotebookStdOut);
|
|
69634
69638
|
if (te)
|
|
69635
69639
|
return W0.decode(te.data);
|
|
69636
|
-
}, [r.kind, r.outputs, j]), Y =
|
|
69640
|
+
}, [r.kind, r.outputs, j]), Y = Nt(() => {
|
|
69637
69641
|
var Z;
|
|
69638
69642
|
return ((Z = r.metadata) == null ? void 0 : Z[gr.Pid]) ?? "" ? r.metadata[gr.LastRunID] ?? "" : "";
|
|
69639
|
-
}, [r.metadata]), J =
|
|
69640
|
-
`), [n]), L =
|
|
69643
|
+
}, [r.metadata]), J = Nt(() => n.value === "" || n.runID === "" ? [] : n.value.split(`
|
|
69644
|
+
`), [n]), L = Nt(() => n.runID === "" ? Y : n.runID, [n.runID, Y]), $ = Nt(
|
|
69641
69645
|
() => ({
|
|
69642
69646
|
endpoint: u.runner,
|
|
69643
69647
|
reconnect: u.reconnect,
|
|
@@ -69887,7 +69891,7 @@ function Q0({
|
|
|
69887
69891
|
function ey({ cell: r }) {
|
|
69888
69892
|
const { saveState: e, runCodeCell: t } = fn(), [s, u] = Bt(null), [d, a] = Bt(null), o = $r(() => {
|
|
69889
69893
|
t(r);
|
|
69890
|
-
}, [r, t]), c =
|
|
69894
|
+
}, [r, t]), c = Nt(() => {
|
|
69891
69895
|
const i = Number(r.metadata[gr.Sequence]);
|
|
69892
69896
|
return i ? i.toString() : " ";
|
|
69893
69897
|
}, [r, s, d]);
|
|
@@ -70150,7 +70154,7 @@ const sy = () => {
|
|
|
70150
70154
|
const { useColumns: r } = fn(), { files: e } = r(), t = Zr(null), s = () => {
|
|
70151
70155
|
var a;
|
|
70152
70156
|
(a = t.current) == null || a.scrollIntoView({ behavior: "smooth" });
|
|
70153
|
-
}, u =
|
|
70157
|
+
}, u = Nt(() => {
|
|
70154
70158
|
let a = Et(Es, {});
|
|
70155
70159
|
return e.length > 0 && (a = e[e.length - 1]), a;
|
|
70156
70160
|
}, [e]);
|
|
@@ -70188,7 +70192,7 @@ const sy = () => {
|
|
|
70188
70192
|
] });
|
|
70189
70193
|
}, iy = /* @__PURE__ */ wn("ChVnb29nbGUvcnBjL2NvZGUucHJvdG8SCmdvb2dsZS5ycGMqtwIKBENvZGUSBgoCT0sQABINCglDQU5DRUxMRUQQARILCgdVTktOT1dOEAISFAoQSU5WQUxJRF9BUkdVTUVOVBADEhUKEURFQURMSU5FX0VYQ0VFREVEEAQSDQoJTk9UX0ZPVU5EEAUSEgoOQUxSRUFEWV9FWElTVFMQBhIVChFQRVJNSVNTSU9OX0RFTklFRBAHEhMKD1VOQVVUSEVOVElDQVRFRBAQEhYKElJFU09VUkNFX0VYSEFVU1RFRBAIEhcKE0ZBSUxFRF9QUkVDT05ESVRJT04QCRILCgdBQk9SVEVEEAoSEAoMT1VUX09GX1JBTkdFEAsSEQoNVU5JTVBMRU1FTlRFRBAMEgwKCElOVEVSTkFMEA0SDwoLVU5BVkFJTEFCTEUQDhINCglEQVRBX0xPU1MQD0JYCg5jb20uZ29vZ2xlLnJwY0IJQ29kZVByb3RvUAFaM2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvcnBjL2NvZGU7Y29kZaICA1JQQ2IGcHJvdG8z"), oy = /* @__PURE__ */ Mi(iy, 0), la = /* @__PURE__ */ Bi(oy);
|
|
70190
70194
|
function ay() {
|
|
70191
|
-
const { runnerError: r } = qr(), [e] = Ef(), t =
|
|
70195
|
+
const { runnerError: r } = qr(), [e] = Ef(), t = Nt(() => r && !(r instanceof Error) ? la[r.code] ?? r.code : e.get("error"), [r, e]), s = Nt(() => r && !(r instanceof Error) ? r.message : e.get("error_description"), [r, e]), u = () => {
|
|
70192
70196
|
window.location.href = "/oidc/login";
|
|
70193
70197
|
};
|
|
70194
70198
|
return /* @__PURE__ */ ct("div", { className: "flex flex-col items-center justify-center h-full gap-4", children: [
|
|
@@ -70230,7 +70234,7 @@ function cy() {
|
|
|
70230
70234
|
}, [s, d, r]);
|
|
70231
70235
|
const p = () => {
|
|
70232
70236
|
c(u.agentEndpoint), n(u.webApp.runner), h(u.webApp.invertedOrder);
|
|
70233
|
-
}, f =
|
|
70237
|
+
}, f = Nt(() => {
|
|
70234
70238
|
if (s && !(!s || typeof s != "object" || !("message" in s)))
|
|
70235
70239
|
return s.message;
|
|
70236
70240
|
}, [s]), v = o !== e.agentEndpoint || i !== e.webApp.runner || l !== e.webApp.invertedOrder;
|