@dendelion/paper-camp 0.33.1 → 0.35.0
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/{phase-progress.cMGsSLa8.js → phase-progress.6EDoT9B0.js} +224 -231
- package/dist/chunks/{phase-progress.cMGsSLa8.js.map → phase-progress.6EDoT9B0.js.map} +1 -1
- package/dist/cli/index.js +1950 -1909
- package/dist/cli/index.js.map +1 -1
- package/dist/core/index.js +118 -119
- package/dist/core/night-findings.d.ts +5 -1
- package/dist/core/night-findings.d.ts.map +1 -1
- package/dist/core/night-gate.d.ts +3 -1
- package/dist/core/night-gate.d.ts.map +1 -1
- package/dist/core/night-health.d.ts +4 -4
- package/dist/core/night-health.d.ts.map +1 -1
- package/dist/core/night-suggestions.d.ts.map +1 -1
- package/dist/core/serialize/entity-file.d.ts +0 -1
- package/dist/core/serialize/entity-file.d.ts.map +1 -1
- package/dist/toolbar/toolbar.js +137 -137
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/toolbar/toolbar.js
CHANGED
|
@@ -10757,11 +10757,87 @@ function cv({
|
|
|
10757
10757
|
);
|
|
10758
10758
|
}
|
|
10759
10759
|
S.createContext(null);
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10760
|
+
async function dv(e, t) {
|
|
10761
|
+
try {
|
|
10762
|
+
return (await t("/api/package-name")).ok;
|
|
10763
|
+
} catch {
|
|
10764
|
+
return !1;
|
|
10765
|
+
}
|
|
10766
|
+
}
|
|
10767
|
+
const bl = "paper-camp.projects", zs = "paper-camp.activeProjectId", _v = "paper-camp.runtimes", pv = "paper-camp.activeRuntimeUrl";
|
|
10768
|
+
function fv(e) {
|
|
10769
|
+
return e.runtimeUrl;
|
|
10770
|
+
}
|
|
10771
|
+
function ip(e) {
|
|
10772
|
+
if (!e) return [];
|
|
10773
|
+
const t = JSON.parse(e);
|
|
10774
|
+
return Array.isArray(t) ? t : [];
|
|
10775
|
+
}
|
|
10776
|
+
function mv(e) {
|
|
10777
|
+
return !!e && typeof e == "object" && typeof e.runtimeUrl == "string";
|
|
10778
|
+
}
|
|
10779
|
+
function ap(e) {
|
|
10780
|
+
if (e.getItem(bl) !== null) return;
|
|
10781
|
+
const t = ip(e.getItem(_v));
|
|
10782
|
+
if (t.length === 0) return;
|
|
10783
|
+
e.setItem(bl, JSON.stringify(t));
|
|
10784
|
+
const r = e.getItem(pv);
|
|
10785
|
+
r && e.setItem(zs, r);
|
|
10786
|
+
}
|
|
10787
|
+
function Ts(e) {
|
|
10788
|
+
return e ? (ap(e), ip(e.getItem(bl)).filter(mv)) : [];
|
|
10789
|
+
}
|
|
10790
|
+
function hv(e, t) {
|
|
10791
|
+
e == null || e.setItem(bl, JSON.stringify(t));
|
|
10792
|
+
}
|
|
10793
|
+
function gv(e) {
|
|
10794
|
+
return Ts(e);
|
|
10795
|
+
}
|
|
10796
|
+
function bv(e) {
|
|
10797
|
+
return e ? (ap(e), e.getItem(zs)) : null;
|
|
10763
10798
|
}
|
|
10764
|
-
|
|
10799
|
+
function vv(e, t) {
|
|
10800
|
+
var i;
|
|
10801
|
+
const r = Ts(t), n = (i = r.find((a) => a.runtimeUrl === e.runtimeUrl)) == null ? void 0 : i.label, o = {
|
|
10802
|
+
runtimeUrl: e.runtimeUrl,
|
|
10803
|
+
pairingToken: e.pairingToken,
|
|
10804
|
+
label: n
|
|
10805
|
+
}, l = r.filter((a) => a.runtimeUrl !== e.runtimeUrl);
|
|
10806
|
+
return l.push(o), hv(t, l), o;
|
|
10807
|
+
}
|
|
10808
|
+
function yv(e, t) {
|
|
10809
|
+
const r = Ts(t).find((n) => fv(n) === e);
|
|
10810
|
+
return r ? (t == null || t.setItem(zs, e), r) : null;
|
|
10811
|
+
}
|
|
10812
|
+
const xv = "runtime", wv = "token";
|
|
10813
|
+
function kv(e) {
|
|
10814
|
+
return { runtimeUrl: e.runtimeUrl, pairingToken: e.pairingToken, label: e.label };
|
|
10815
|
+
}
|
|
10816
|
+
function Cv(e) {
|
|
10817
|
+
const t = new URLSearchParams((e == null ? void 0 : e.search) ?? "");
|
|
10818
|
+
return {
|
|
10819
|
+
runtimeUrl: t.get(xv) ?? "",
|
|
10820
|
+
pairingToken: t.get(wv)
|
|
10821
|
+
};
|
|
10822
|
+
}
|
|
10823
|
+
function Sv(e, t) {
|
|
10824
|
+
vv(t, e), yv(t.runtimeUrl, e);
|
|
10825
|
+
}
|
|
10826
|
+
function Ev(e, t) {
|
|
10827
|
+
const r = Cv(e);
|
|
10828
|
+
if (r.runtimeUrl)
|
|
10829
|
+
return Sv(t, r), r;
|
|
10830
|
+
const n = bv(t), o = n ? gv(t).find((l) => l.runtimeUrl === n) : null;
|
|
10831
|
+
return o ? kv(o) : { runtimeUrl: "", pairingToken: null };
|
|
10832
|
+
}
|
|
10833
|
+
const zv = Ev(
|
|
10834
|
+
typeof window > "u" ? null : window.location,
|
|
10835
|
+
typeof window > "u" ? null : window.localStorage
|
|
10836
|
+
), Tv = "data-paper-camp-mount";
|
|
10837
|
+
function Pv(e) {
|
|
10838
|
+
return (e == null ? void 0 : e.getAttribute(Tv)) ?? "";
|
|
10839
|
+
}
|
|
10840
|
+
const Fv = typeof document > "u" ? "" : Pv(document.getElementById("root")), jv = {}, ic = (e) => {
|
|
10765
10841
|
let t;
|
|
10766
10842
|
const r = /* @__PURE__ */ new Set(), n = (c, p) => {
|
|
10767
10843
|
const d = typeof c == "function" ? c(t) : c;
|
|
@@ -10770,34 +10846,34 @@ const pv = typeof document > "u" ? "" : _v(document.getElementById("root")), fv
|
|
|
10770
10846
|
t = p ?? (typeof d != "object" || d === null) ? d : Object.assign({}, t, d), r.forEach((m) => m(t, g));
|
|
10771
10847
|
}
|
|
10772
10848
|
}, o = () => t, s = { setState: n, getState: o, getInitialState: () => u, subscribe: (c) => (r.add(c), () => r.delete(c)), destroy: () => {
|
|
10773
|
-
(
|
|
10849
|
+
(jv ? "production" : void 0) !== "production" && console.warn(
|
|
10774
10850
|
"[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
|
|
10775
10851
|
), r.clear();
|
|
10776
10852
|
} }, u = t = e(n, o, s);
|
|
10777
10853
|
return s;
|
|
10778
|
-
},
|
|
10854
|
+
}, Mv = (e) => e ? ic(e) : ic, sp = {}, { useDebugValue: Nv } = Fp, { useSyncExternalStoreWithSelector: Rv } = x0;
|
|
10779
10855
|
let ac = !1;
|
|
10780
|
-
const
|
|
10781
|
-
function
|
|
10782
|
-
(
|
|
10856
|
+
const Lv = (e) => e;
|
|
10857
|
+
function Av(e, t = Lv, r) {
|
|
10858
|
+
(sp ? "production" : void 0) !== "production" && r && !ac && (console.warn(
|
|
10783
10859
|
"[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
|
|
10784
10860
|
), ac = !0);
|
|
10785
|
-
const n =
|
|
10861
|
+
const n = Rv(
|
|
10786
10862
|
e.subscribe,
|
|
10787
10863
|
e.getState,
|
|
10788
10864
|
e.getServerState || e.getInitialState,
|
|
10789
10865
|
t,
|
|
10790
10866
|
r
|
|
10791
10867
|
);
|
|
10792
|
-
return
|
|
10868
|
+
return Nv(n), n;
|
|
10793
10869
|
}
|
|
10794
|
-
const
|
|
10795
|
-
(
|
|
10870
|
+
const Iv = (e) => {
|
|
10871
|
+
(sp ? "production" : void 0) !== "production" && typeof e != "function" && console.warn(
|
|
10796
10872
|
"[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
|
|
10797
10873
|
);
|
|
10798
|
-
const t = typeof e == "function" ?
|
|
10874
|
+
const t = typeof e == "function" ? Mv(e) : e, r = (n, o) => Av(t, n, o);
|
|
10799
10875
|
return Object.assign(r, t), r;
|
|
10800
|
-
},
|
|
10876
|
+
}, Ov = (e) => Iv, Bv = async (e) => {
|
|
10801
10877
|
const t = await G(N(`/api/checks/run?name=${encodeURIComponent(e)}`), {
|
|
10802
10878
|
method: "POST"
|
|
10803
10879
|
});
|
|
@@ -10822,9 +10898,9 @@ function Ve(e, t) {
|
|
|
10822
10898
|
await t(...r), await e().loadAgentStatus();
|
|
10823
10899
|
};
|
|
10824
10900
|
}
|
|
10825
|
-
let
|
|
10826
|
-
const sc = () => `preview-${++
|
|
10827
|
-
function
|
|
10901
|
+
let Dv = 0;
|
|
10902
|
+
const sc = () => `preview-${++Dv}`;
|
|
10903
|
+
function $v(e, t) {
|
|
10828
10904
|
return {
|
|
10829
10905
|
agentAuthStatus: null,
|
|
10830
10906
|
loadAgentAuthStatus: ce(
|
|
@@ -10853,7 +10929,7 @@ function Cv(e, t) {
|
|
|
10853
10929
|
return !0;
|
|
10854
10930
|
}))
|
|
10855
10931
|
for (const c of ["lint", "test", "Consistency"])
|
|
10856
|
-
|
|
10932
|
+
Bv(c).catch(() => {
|
|
10857
10933
|
});
|
|
10858
10934
|
const i = t().pendingReconcile, a = i ? r.find((c) => c.taskKind === "reconcile" && c.planId === i.planId) : void 0;
|
|
10859
10935
|
i && a && (a.status === "done" ? (await t().loadPlans(), e((c) => ({
|
|
@@ -10953,25 +11029,25 @@ function Cv(e, t) {
|
|
|
10953
11029
|
batchReconcileConsumed: !1
|
|
10954
11030
|
};
|
|
10955
11031
|
}
|
|
10956
|
-
const
|
|
11032
|
+
const Wv = 3e4, Uv = async () => {
|
|
10957
11033
|
const e = await fetch(N("/api/capacity/refresh"), {
|
|
10958
11034
|
method: "POST",
|
|
10959
|
-
signal: AbortSignal.timeout(
|
|
11035
|
+
signal: AbortSignal.timeout(Wv)
|
|
10960
11036
|
});
|
|
10961
11037
|
if (!e.ok) return null;
|
|
10962
11038
|
const t = await e.json();
|
|
10963
11039
|
return t.snapshot && t.capturedAt ? { snapshot: t.snapshot, capturedAt: t.capturedAt } : null;
|
|
10964
11040
|
};
|
|
10965
|
-
function
|
|
11041
|
+
function Gv(e) {
|
|
10966
11042
|
return {
|
|
10967
11043
|
probedCapacity: null,
|
|
10968
11044
|
refreshCapacity: async () => {
|
|
10969
|
-
const t = await
|
|
11045
|
+
const t = await Uv().catch(() => null);
|
|
10970
11046
|
t && e({ probedCapacity: t });
|
|
10971
11047
|
}
|
|
10972
11048
|
};
|
|
10973
11049
|
}
|
|
10974
|
-
function
|
|
11050
|
+
function Vv(e) {
|
|
10975
11051
|
return {
|
|
10976
11052
|
chatThread: null,
|
|
10977
11053
|
chatLoading: !1,
|
|
@@ -10985,7 +11061,7 @@ function Tv(e) {
|
|
|
10985
11061
|
)
|
|
10986
11062
|
};
|
|
10987
11063
|
}
|
|
10988
|
-
function
|
|
11064
|
+
function Qv(e, t) {
|
|
10989
11065
|
return {
|
|
10990
11066
|
diffFiles: null,
|
|
10991
11067
|
diffLoadFailed: !1,
|
|
@@ -11010,13 +11086,13 @@ function Pv(e, t) {
|
|
|
11010
11086
|
expandDiffPath: (r) => t().setDiffCollapsed(r, !1)
|
|
11011
11087
|
};
|
|
11012
11088
|
}
|
|
11013
|
-
const
|
|
11089
|
+
const Hv = async () => {
|
|
11014
11090
|
const e = await G(N("/api/releases"));
|
|
11015
11091
|
if (!e.ok) throw new Error("Failed to load releases");
|
|
11016
11092
|
const { versions: t } = await e.json();
|
|
11017
11093
|
return t;
|
|
11018
11094
|
};
|
|
11019
|
-
function
|
|
11095
|
+
function Xv(e, t) {
|
|
11020
11096
|
return {
|
|
11021
11097
|
repoDocs: [],
|
|
11022
11098
|
repoDocsLoading: !0,
|
|
@@ -11045,7 +11121,7 @@ function jv(e, t) {
|
|
|
11045
11121
|
loadReleaseVersions: async () => {
|
|
11046
11122
|
e({ releaseVersionsLoading: !0 });
|
|
11047
11123
|
try {
|
|
11048
|
-
const r = await
|
|
11124
|
+
const r = await Hv();
|
|
11049
11125
|
e({ releaseVersions: r, releaseVersionsLoading: !1 });
|
|
11050
11126
|
} catch {
|
|
11051
11127
|
e({ releaseVersions: [], releaseVersionsLoading: !1 });
|
|
@@ -11055,7 +11131,7 @@ function jv(e, t) {
|
|
|
11055
11131
|
setActiveReleaseVersion: (r) => e({ activeReleaseVersion: r })
|
|
11056
11132
|
};
|
|
11057
11133
|
}
|
|
11058
|
-
function
|
|
11134
|
+
function Kv(e, t) {
|
|
11059
11135
|
return {
|
|
11060
11136
|
ideaEntries: [],
|
|
11061
11137
|
loadIdeas: ce(
|
|
@@ -11076,7 +11152,7 @@ function Mv(e, t) {
|
|
|
11076
11152
|
}
|
|
11077
11153
|
};
|
|
11078
11154
|
}
|
|
11079
|
-
function
|
|
11155
|
+
function qv(e, t) {
|
|
11080
11156
|
return {
|
|
11081
11157
|
nightReport: [],
|
|
11082
11158
|
loadNightReport: ce(e, ah, (r) => ({ nightReport: r.groups })),
|
|
@@ -11089,7 +11165,7 @@ function Nv(e, t) {
|
|
|
11089
11165
|
}
|
|
11090
11166
|
};
|
|
11091
11167
|
}
|
|
11092
|
-
function
|
|
11168
|
+
function Yv(e, t) {
|
|
11093
11169
|
return {
|
|
11094
11170
|
notifications: null,
|
|
11095
11171
|
notificationsLoading: !1,
|
|
@@ -11118,7 +11194,7 @@ function Rv(e, t) {
|
|
|
11118
11194
|
}
|
|
11119
11195
|
};
|
|
11120
11196
|
}
|
|
11121
|
-
function
|
|
11197
|
+
function Jv(e) {
|
|
11122
11198
|
return {
|
|
11123
11199
|
parkedQuestions: null,
|
|
11124
11200
|
parkedQuestionsLoading: !1,
|
|
@@ -11132,35 +11208,35 @@ function Lv(e) {
|
|
|
11132
11208
|
)
|
|
11133
11209
|
};
|
|
11134
11210
|
}
|
|
11135
|
-
const
|
|
11136
|
-
function
|
|
11211
|
+
const Zv = 14 * 24 * 60 * 60 * 1e3;
|
|
11212
|
+
function up(e) {
|
|
11137
11213
|
try {
|
|
11138
11214
|
const t = localStorage.getItem(e);
|
|
11139
11215
|
if (!t) return null;
|
|
11140
11216
|
const r = JSON.parse(t);
|
|
11141
|
-
return Date.now() - r.storedAt >
|
|
11217
|
+
return Date.now() - r.storedAt > Zv ? (localStorage.removeItem(e), null) : r.value;
|
|
11142
11218
|
} catch {
|
|
11143
11219
|
return null;
|
|
11144
11220
|
}
|
|
11145
11221
|
}
|
|
11146
|
-
function
|
|
11222
|
+
function cp(e, t) {
|
|
11147
11223
|
try {
|
|
11148
11224
|
const r = { value: t, storedAt: Date.now() };
|
|
11149
11225
|
localStorage.setItem(e, JSON.stringify(r));
|
|
11150
11226
|
} catch {
|
|
11151
11227
|
}
|
|
11152
11228
|
}
|
|
11153
|
-
const
|
|
11154
|
-
function
|
|
11155
|
-
return
|
|
11229
|
+
const dp = "plan-filters", _p = "detail-view";
|
|
11230
|
+
function ey() {
|
|
11231
|
+
return up(dp) ?? N_;
|
|
11156
11232
|
}
|
|
11157
|
-
function
|
|
11158
|
-
return
|
|
11233
|
+
function ty() {
|
|
11234
|
+
return up(_p) ?? "details";
|
|
11159
11235
|
}
|
|
11160
11236
|
function gt(e) {
|
|
11161
|
-
return
|
|
11237
|
+
return cp(dp, e), e;
|
|
11162
11238
|
}
|
|
11163
|
-
function
|
|
11239
|
+
function ry(e) {
|
|
11164
11240
|
return {
|
|
11165
11241
|
plans: null,
|
|
11166
11242
|
plansLoading: !1,
|
|
@@ -11172,7 +11248,7 @@ function Bv(e) {
|
|
|
11172
11248
|
(t) => ({ plansError: String(t) }),
|
|
11173
11249
|
"plansLoading"
|
|
11174
11250
|
),
|
|
11175
|
-
planFilters:
|
|
11251
|
+
planFilters: ey(),
|
|
11176
11252
|
togglePlanStatus: (t) => e((r) => ({
|
|
11177
11253
|
planFilters: gt({
|
|
11178
11254
|
...r.planFilters,
|
|
@@ -11217,14 +11293,14 @@ function Bv(e) {
|
|
|
11217
11293
|
groupBySubject: !t.planFilters.groupBySubject
|
|
11218
11294
|
})
|
|
11219
11295
|
})),
|
|
11220
|
-
detailView:
|
|
11296
|
+
detailView: ty(),
|
|
11221
11297
|
setDetailView: (t) => {
|
|
11222
|
-
|
|
11298
|
+
cp(_p, t), e({ detailView: t });
|
|
11223
11299
|
}
|
|
11224
11300
|
};
|
|
11225
11301
|
}
|
|
11226
11302
|
const uc = { horizons: [], statuses: [], search: "" };
|
|
11227
|
-
function
|
|
11303
|
+
function ny(e, t) {
|
|
11228
11304
|
return {
|
|
11229
11305
|
roadmap: null,
|
|
11230
11306
|
roadmapLoading: !1,
|
|
@@ -11253,86 +11329,10 @@ function Dv(e, t) {
|
|
|
11253
11329
|
clearRoadmapFilters: () => e({ roadmapFilters: uc })
|
|
11254
11330
|
};
|
|
11255
11331
|
}
|
|
11256
|
-
|
|
11257
|
-
try {
|
|
11258
|
-
return (await t("/api/package-name")).ok;
|
|
11259
|
-
} catch {
|
|
11260
|
-
return !1;
|
|
11261
|
-
}
|
|
11262
|
-
}
|
|
11263
|
-
const bl = "paper-camp.projects", zs = "paper-camp.activeProjectId", Wv = "paper-camp.runtimes", Uv = "paper-camp.activeRuntimeUrl";
|
|
11264
|
-
function Gv(e) {
|
|
11265
|
-
return e.runtimeUrl;
|
|
11266
|
-
}
|
|
11267
|
-
function dp(e) {
|
|
11268
|
-
if (!e) return [];
|
|
11269
|
-
const t = JSON.parse(e);
|
|
11270
|
-
return Array.isArray(t) ? t : [];
|
|
11271
|
-
}
|
|
11272
|
-
function Vv(e) {
|
|
11273
|
-
return !!e && typeof e == "object" && typeof e.runtimeUrl == "string";
|
|
11274
|
-
}
|
|
11275
|
-
function _p(e) {
|
|
11276
|
-
if (e.getItem(bl) !== null) return;
|
|
11277
|
-
const t = dp(e.getItem(Wv));
|
|
11278
|
-
if (t.length === 0) return;
|
|
11279
|
-
e.setItem(bl, JSON.stringify(t));
|
|
11280
|
-
const r = e.getItem(Uv);
|
|
11281
|
-
r && e.setItem(zs, r);
|
|
11282
|
-
}
|
|
11283
|
-
function Ts(e) {
|
|
11284
|
-
return e ? (_p(e), dp(e.getItem(bl)).filter(Vv)) : [];
|
|
11285
|
-
}
|
|
11286
|
-
function Qv(e, t) {
|
|
11287
|
-
e == null || e.setItem(bl, JSON.stringify(t));
|
|
11288
|
-
}
|
|
11289
|
-
function Hv(e) {
|
|
11290
|
-
return Ts(e);
|
|
11291
|
-
}
|
|
11292
|
-
function Xv(e) {
|
|
11293
|
-
return e ? (_p(e), e.getItem(zs)) : null;
|
|
11294
|
-
}
|
|
11295
|
-
function Kv(e, t) {
|
|
11296
|
-
var i;
|
|
11297
|
-
const r = Ts(t), n = (i = r.find((a) => a.runtimeUrl === e.runtimeUrl)) == null ? void 0 : i.label, o = {
|
|
11298
|
-
runtimeUrl: e.runtimeUrl,
|
|
11299
|
-
pairingToken: e.pairingToken,
|
|
11300
|
-
label: n
|
|
11301
|
-
}, l = r.filter((a) => a.runtimeUrl !== e.runtimeUrl);
|
|
11302
|
-
return l.push(o), Qv(t, l), o;
|
|
11303
|
-
}
|
|
11304
|
-
function qv(e, t) {
|
|
11305
|
-
const r = Ts(t).find((n) => Gv(n) === e);
|
|
11306
|
-
return r ? (t == null || t.setItem(zs, e), r) : null;
|
|
11307
|
-
}
|
|
11308
|
-
const Yv = "runtime", Jv = "token";
|
|
11309
|
-
function Zv(e) {
|
|
11310
|
-
return { runtimeUrl: e.runtimeUrl, pairingToken: e.pairingToken, label: e.label };
|
|
11311
|
-
}
|
|
11312
|
-
function ey(e) {
|
|
11313
|
-
const t = new URLSearchParams((e == null ? void 0 : e.search) ?? "");
|
|
11314
|
-
return {
|
|
11315
|
-
runtimeUrl: t.get(Yv) ?? "",
|
|
11316
|
-
pairingToken: t.get(Jv)
|
|
11317
|
-
};
|
|
11318
|
-
}
|
|
11319
|
-
function ty(e, t) {
|
|
11320
|
-
Kv(t, e), qv(t.runtimeUrl, e);
|
|
11321
|
-
}
|
|
11322
|
-
function ry(e, t) {
|
|
11323
|
-
const r = ey(e);
|
|
11324
|
-
if (r.runtimeUrl)
|
|
11325
|
-
return ty(t, r), r;
|
|
11326
|
-
const n = Xv(t), o = n ? Hv(t).find((l) => l.runtimeUrl === n) : null;
|
|
11327
|
-
return o ? Zv(o) : { runtimeUrl: "", pairingToken: null };
|
|
11328
|
-
}
|
|
11329
|
-
const ny = ry(
|
|
11330
|
-
typeof window > "u" ? null : window.location,
|
|
11331
|
-
typeof window > "u" ? null : window.localStorage
|
|
11332
|
-
), wi = !!pv, oy = !!ny.runtimeUrl, ly = 15e3, cc = 2, iy = 1500, ay = (e) => new Promise((t) => setTimeout(t, e));
|
|
11332
|
+
const wi = !!Fv, oy = !!zv.runtimeUrl, ly = 15e3, cc = 2, iy = 1500, ay = (e) => new Promise((t) => setTimeout(t, e));
|
|
11333
11333
|
let ki;
|
|
11334
11334
|
function sy() {
|
|
11335
|
-
return ki || (ki =
|
|
11335
|
+
return ki || (ki = dv("", (e) => fetch(N(e)))), ki;
|
|
11336
11336
|
}
|
|
11337
11337
|
async function uy() {
|
|
11338
11338
|
for (let e = 0; e <= cc; e++) {
|
|
@@ -11497,21 +11497,21 @@ function my(e) {
|
|
|
11497
11497
|
setActiveLogEntryTitle: (t) => e({ activeLogEntryTitle: t })
|
|
11498
11498
|
};
|
|
11499
11499
|
}
|
|
11500
|
-
|
|
11501
|
-
...
|
|
11502
|
-
...
|
|
11503
|
-
...
|
|
11504
|
-
...
|
|
11505
|
-
...
|
|
11500
|
+
Ov()((e, t) => ({
|
|
11501
|
+
...Gv(e),
|
|
11502
|
+
...Vv(e),
|
|
11503
|
+
...ry(e),
|
|
11504
|
+
...ny(e),
|
|
11505
|
+
...Kv(e, t),
|
|
11506
11506
|
...fy(e, t),
|
|
11507
|
-
...
|
|
11507
|
+
...qv(e, t),
|
|
11508
11508
|
...my(e),
|
|
11509
|
-
...
|
|
11509
|
+
...Xv(e, t),
|
|
11510
11510
|
...py(e, t),
|
|
11511
|
-
|
|
11512
|
-
...
|
|
11513
|
-
...
|
|
11514
|
-
...
|
|
11511
|
+
...$v(e, t),
|
|
11512
|
+
...Qv(e, t),
|
|
11513
|
+
...Jv(e),
|
|
11514
|
+
...Yv(e, t),
|
|
11515
11515
|
...cy(e)
|
|
11516
11516
|
}));
|
|
11517
11517
|
const dc = "✖";
|