@dxs-ts/eveli-ide 0.0.45 → 0.0.46
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/build/index.d.ts +102 -102
- package/build/index.js +106 -106
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -970,108 +970,6 @@ declare namespace HdesClient {
|
|
|
970
970
|
}
|
|
971
971
|
|
|
972
972
|
|
|
973
|
-
declare namespace WrenchComposerApi {
|
|
974
|
-
interface Nav {
|
|
975
|
-
value?: string | null;
|
|
976
|
-
}
|
|
977
|
-
interface TabData {
|
|
978
|
-
nav?: Nav;
|
|
979
|
-
withNav(nav: Nav): TabData;
|
|
980
|
-
}
|
|
981
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
982
|
-
}
|
|
983
|
-
interface DebugSession {
|
|
984
|
-
error?: HdesApi.StoreError;
|
|
985
|
-
debug?: HdesApi.DebugResponse;
|
|
986
|
-
csv?: string;
|
|
987
|
-
json?: string;
|
|
988
|
-
selected: HdesApi.EntityId;
|
|
989
|
-
inputType: DebugInputType;
|
|
990
|
-
}
|
|
991
|
-
type DebugInputType = "CSV" | "JSON";
|
|
992
|
-
interface DebugSessions {
|
|
993
|
-
selected?: HdesApi.EntityId;
|
|
994
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
995
|
-
}
|
|
996
|
-
interface PageUpdate {
|
|
997
|
-
saved: boolean;
|
|
998
|
-
origin: HdesApi.Entity<any>;
|
|
999
|
-
value: HdesApi.AstCommand[];
|
|
1000
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1001
|
-
}
|
|
1002
|
-
interface Session {
|
|
1003
|
-
site: HdesApi.Site;
|
|
1004
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1005
|
-
debug: DebugSessions;
|
|
1006
|
-
branchName?: string;
|
|
1007
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1008
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1009
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1010
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1011
|
-
withDebug(page: DebugSession): Session;
|
|
1012
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
1013
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1014
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1015
|
-
withBranch(branchName?: string): Session;
|
|
1016
|
-
withSite(site: HdesApi.Site): Session;
|
|
1017
|
-
}
|
|
1018
|
-
interface Actions {
|
|
1019
|
-
handleLoad(): Promise<void>;
|
|
1020
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1021
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
1022
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1023
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1024
|
-
handleBranchUpdate(branchName?: string): void;
|
|
1025
|
-
}
|
|
1026
|
-
interface ContextType {
|
|
1027
|
-
session: Session;
|
|
1028
|
-
actions: Actions;
|
|
1029
|
-
service: HdesApi.Service;
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
declare namespace WrenchComposerApi {
|
|
1035
|
-
class ImmutableTabData implements TabData {
|
|
1036
|
-
private _nav;
|
|
1037
|
-
constructor(props: {
|
|
1038
|
-
nav: Nav;
|
|
1039
|
-
});
|
|
1040
|
-
get nav(): Nav;
|
|
1041
|
-
withNav(nav: Nav): ImmutableTabData;
|
|
1042
|
-
}
|
|
1043
|
-
const createTab: (props: {
|
|
1044
|
-
nav: Nav;
|
|
1045
|
-
page?: HdesApi.Entity<any>;
|
|
1046
|
-
}) => ImmutableTabData;
|
|
1047
|
-
const ComposerContext: React.Context<ContextType>;
|
|
1048
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1049
|
-
const useComposer: () => {
|
|
1050
|
-
session: Session;
|
|
1051
|
-
service: HdesApi.Service;
|
|
1052
|
-
actions: Actions;
|
|
1053
|
-
site: HdesApi.Site;
|
|
1054
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1055
|
-
};
|
|
1056
|
-
const useSite: () => HdesApi.Site;
|
|
1057
|
-
const useBranchName: () => string | undefined;
|
|
1058
|
-
const useSession: () => Session;
|
|
1059
|
-
const useNav: () => {
|
|
1060
|
-
handleInTab: (props: {
|
|
1061
|
-
article: HdesApi.Entity<any>;
|
|
1062
|
-
}) => void;
|
|
1063
|
-
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1064
|
-
};
|
|
1065
|
-
const useDebug: () => {
|
|
1066
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1067
|
-
};
|
|
1068
|
-
const Provider: React.FC<{
|
|
1069
|
-
children: React.ReactNode;
|
|
1070
|
-
service: HdesApi.Service;
|
|
1071
|
-
}>;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
973
|
declare namespace StencilComposerApi {
|
|
1076
974
|
interface SearchData {
|
|
1077
975
|
values: readonly SearchDataEntry[];
|
|
@@ -1229,6 +1127,108 @@ declare namespace StencilComposerApi {
|
|
|
1229
1127
|
}>;
|
|
1230
1128
|
}
|
|
1231
1129
|
|
|
1130
|
+
|
|
1131
|
+
declare namespace WrenchComposerApi {
|
|
1132
|
+
interface Nav {
|
|
1133
|
+
value?: string | null;
|
|
1134
|
+
}
|
|
1135
|
+
interface TabData {
|
|
1136
|
+
nav?: Nav;
|
|
1137
|
+
withNav(nav: Nav): TabData;
|
|
1138
|
+
}
|
|
1139
|
+
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1140
|
+
}
|
|
1141
|
+
interface DebugSession {
|
|
1142
|
+
error?: HdesApi.StoreError;
|
|
1143
|
+
debug?: HdesApi.DebugResponse;
|
|
1144
|
+
csv?: string;
|
|
1145
|
+
json?: string;
|
|
1146
|
+
selected: HdesApi.EntityId;
|
|
1147
|
+
inputType: DebugInputType;
|
|
1148
|
+
}
|
|
1149
|
+
type DebugInputType = "CSV" | "JSON";
|
|
1150
|
+
interface DebugSessions {
|
|
1151
|
+
selected?: HdesApi.EntityId;
|
|
1152
|
+
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1153
|
+
}
|
|
1154
|
+
interface PageUpdate {
|
|
1155
|
+
saved: boolean;
|
|
1156
|
+
origin: HdesApi.Entity<any>;
|
|
1157
|
+
value: HdesApi.AstCommand[];
|
|
1158
|
+
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1159
|
+
}
|
|
1160
|
+
interface Session {
|
|
1161
|
+
site: HdesApi.Site;
|
|
1162
|
+
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1163
|
+
debug: DebugSessions;
|
|
1164
|
+
branchName?: string;
|
|
1165
|
+
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1166
|
+
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1167
|
+
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1168
|
+
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1169
|
+
withDebug(page: DebugSession): Session;
|
|
1170
|
+
withPage(page: HdesApi.EntityId): Session;
|
|
1171
|
+
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1172
|
+
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1173
|
+
withBranch(branchName?: string): Session;
|
|
1174
|
+
withSite(site: HdesApi.Site): Session;
|
|
1175
|
+
}
|
|
1176
|
+
interface Actions {
|
|
1177
|
+
handleLoad(): Promise<void>;
|
|
1178
|
+
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1179
|
+
handleDebugUpdate(debug: DebugSession): void;
|
|
1180
|
+
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1181
|
+
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1182
|
+
handleBranchUpdate(branchName?: string): void;
|
|
1183
|
+
}
|
|
1184
|
+
interface ContextType {
|
|
1185
|
+
session: Session;
|
|
1186
|
+
actions: Actions;
|
|
1187
|
+
service: HdesApi.Service;
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
declare namespace WrenchComposerApi {
|
|
1193
|
+
class ImmutableTabData implements TabData {
|
|
1194
|
+
private _nav;
|
|
1195
|
+
constructor(props: {
|
|
1196
|
+
nav: Nav;
|
|
1197
|
+
});
|
|
1198
|
+
get nav(): Nav;
|
|
1199
|
+
withNav(nav: Nav): ImmutableTabData;
|
|
1200
|
+
}
|
|
1201
|
+
const createTab: (props: {
|
|
1202
|
+
nav: Nav;
|
|
1203
|
+
page?: HdesApi.Entity<any>;
|
|
1204
|
+
}) => ImmutableTabData;
|
|
1205
|
+
const ComposerContext: React.Context<ContextType>;
|
|
1206
|
+
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1207
|
+
const useComposer: () => {
|
|
1208
|
+
session: Session;
|
|
1209
|
+
service: HdesApi.Service;
|
|
1210
|
+
actions: Actions;
|
|
1211
|
+
site: HdesApi.Site;
|
|
1212
|
+
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1213
|
+
};
|
|
1214
|
+
const useSite: () => HdesApi.Site;
|
|
1215
|
+
const useBranchName: () => string | undefined;
|
|
1216
|
+
const useSession: () => Session;
|
|
1217
|
+
const useNav: () => {
|
|
1218
|
+
handleInTab: (props: {
|
|
1219
|
+
article: HdesApi.Entity<any>;
|
|
1220
|
+
}) => void;
|
|
1221
|
+
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1222
|
+
};
|
|
1223
|
+
const useDebug: () => {
|
|
1224
|
+
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1225
|
+
};
|
|
1226
|
+
const Provider: React.FC<{
|
|
1227
|
+
children: React.ReactNode;
|
|
1228
|
+
service: HdesApi.Service;
|
|
1229
|
+
}>;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
1232
|
declare namespace Decision {
|
|
1233
1233
|
const Table: import("react").FC<{
|
|
1234
1234
|
ast: import("../../client").HdesApi.AstDecision;
|
package/build/index.js
CHANGED
|
@@ -24100,7 +24100,7 @@ function n6(e) {
|
|
|
24100
24100
|
break;
|
|
24101
24101
|
return Te;
|
|
24102
24102
|
}
|
|
24103
|
-
function
|
|
24103
|
+
function lt() {
|
|
24104
24104
|
for (var Te = ""; K < V && !$(")"); )
|
|
24105
24105
|
if ($("\\")) {
|
|
24106
24106
|
if (Y(), fe() && !s)
|
|
@@ -24245,7 +24245,7 @@ function n6(e) {
|
|
|
24245
24245
|
} else if (Xe.type === "String")
|
|
24246
24246
|
it = {
|
|
24247
24247
|
type: "String",
|
|
24248
|
-
value:
|
|
24248
|
+
value: lt()
|
|
24249
24249
|
}, re(it.value, "Expected ".concat(Re, " argument value."));
|
|
24250
24250
|
else if (Xe.type === "Selector")
|
|
24251
24251
|
it = ft(!0);
|
|
@@ -34294,7 +34294,7 @@ function l7(e) {
|
|
|
34294
34294
|
autolink: s(yt),
|
|
34295
34295
|
autolinkProtocol: N,
|
|
34296
34296
|
autolinkEmail: N,
|
|
34297
|
-
atxHeading: s(
|
|
34297
|
+
atxHeading: s(lt),
|
|
34298
34298
|
blockQuote: s(te),
|
|
34299
34299
|
characterEscape: N,
|
|
34300
34300
|
characterReference: N,
|
|
@@ -34329,7 +34329,7 @@ function l7(e) {
|
|
|
34329
34329
|
referenceString: o,
|
|
34330
34330
|
resourceDestinationString: o,
|
|
34331
34331
|
resourceTitleString: o,
|
|
34332
|
-
setextHeading: s(
|
|
34332
|
+
setextHeading: s(lt),
|
|
34333
34333
|
strong: s(Oe),
|
|
34334
34334
|
thematicBreak: s(ze)
|
|
34335
34335
|
},
|
|
@@ -34726,7 +34726,7 @@ function l7(e) {
|
|
|
34726
34726
|
children: []
|
|
34727
34727
|
};
|
|
34728
34728
|
}
|
|
34729
|
-
function
|
|
34729
|
+
function lt() {
|
|
34730
34730
|
return {
|
|
34731
34731
|
type: "heading",
|
|
34732
34732
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -41867,7 +41867,7 @@ var j$ = /* @__PURE__ */ le.forwardRef((e, t) => {
|
|
|
41867
41867
|
barPopup: Ht({}, W$(K.barPopup))
|
|
41868
41868
|
}), Ge = (Ve) => Z({
|
|
41869
41869
|
height: Ve
|
|
41870
|
-
}),
|
|
41870
|
+
}), lt = (Ve) => {
|
|
41871
41871
|
if (_ && _(Ve.target.value, Ve, K), T && T.onChange && T.onChange(Ve), K.textarea && K.textarea instanceof HTMLTextAreaElement && N) {
|
|
41872
41872
|
var ct = new CS(K.textarea), ft = ct.getState() || {};
|
|
41873
41873
|
N(Ht({}, ft, {
|
|
@@ -41900,7 +41900,7 @@ var j$ = /* @__PURE__ */ le.forwardRef((e, t) => {
|
|
|
41900
41900
|
prefixCls: i,
|
|
41901
41901
|
autoFocus: h
|
|
41902
41902
|
}, T, {
|
|
41903
|
-
onChange:
|
|
41903
|
+
onChange: lt,
|
|
41904
41904
|
renderTextarea: (F == null ? void 0 : F.textarea) || U,
|
|
41905
41905
|
onScroll: (Ve) => ie(Ve, "text")
|
|
41906
41906
|
})), /(live|preview)/.test(K.preview || "") && te]
|
|
@@ -48002,7 +48002,7 @@ const NX = ({ site: e }) => {
|
|
|
48002
48002
|
] })
|
|
48003
48003
|
}
|
|
48004
48004
|
);
|
|
48005
|
-
}, ac = { tag: "eveli-ide-0.0.
|
|
48005
|
+
}, ac = { tag: "eveli-ide-0.0.46", built: "07/11/2024" }, LX = (e, t, n) => {
|
|
48006
48006
|
var i, r, s, o, l, a, u, d;
|
|
48007
48007
|
return [
|
|
48008
48008
|
{
|
|
@@ -48616,7 +48616,7 @@ function zc() {
|
|
|
48616
48616
|
}
|
|
48617
48617
|
var Se = 50, je = { toString: function() {
|
|
48618
48618
|
return "CodeMirror.Pass";
|
|
48619
|
-
} }, Ge = { scroll: !1 },
|
|
48619
|
+
} }, Ge = { scroll: !1 }, lt = { origin: "*mouse" }, Ve = { origin: "+move" };
|
|
48620
48620
|
function ct(c, b, I) {
|
|
48621
48621
|
for (var A = 0, D = 0; ; ) {
|
|
48622
48622
|
var B = c.indexOf(" ", A);
|
|
@@ -48726,8 +48726,8 @@ function zc() {
|
|
|
48726
48726
|
rt == "m" ? ke[$e] = Qe : Qe = rt;
|
|
48727
48727
|
}
|
|
48728
48728
|
for (var at = 0, ot = ve; at < Ae; ++at) {
|
|
48729
|
-
var
|
|
48730
|
-
|
|
48729
|
+
var ut = ke[at];
|
|
48730
|
+
ut == "1" && ot == "r" ? ke[at] = "n" : B.test(ut) && (ot = ut, ut == "r" && (ke[at] = "R"));
|
|
48731
48731
|
}
|
|
48732
48732
|
for (var bt = 1, mt = ke[0]; bt < Ae - 1; ++bt) {
|
|
48733
48733
|
var Dt = ke[bt];
|
|
@@ -49399,8 +49399,8 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
49399
49399
|
if (!Q) {
|
|
49400
49400
|
var at = b.text.length - 2, ot;
|
|
49401
49401
|
if (at > 0 && G)
|
|
49402
|
-
for (var
|
|
49403
|
-
G[
|
|
49402
|
+
for (var ut = 0; ut < G.length; ++ut)
|
|
49403
|
+
G[ut].to == null && (ot || (ot = [])).push(new ki(G[ut].marker, null, null));
|
|
49404
49404
|
for (var bt = 0; bt < at; ++bt)
|
|
49405
49405
|
rt.push(ot);
|
|
49406
49406
|
rt.push(q);
|
|
@@ -49667,8 +49667,8 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
49667
49667
|
A && (at += A), D && (at += D);
|
|
49668
49668
|
var ot = P("span", [he], at, B);
|
|
49669
49669
|
if (j)
|
|
49670
|
-
for (var
|
|
49671
|
-
j.hasOwnProperty(
|
|
49670
|
+
for (var ut in j)
|
|
49671
|
+
j.hasOwnProperty(ut) && ut != "style" && ut != "class" && ot.setAttribute(ut, j[ut]);
|
|
49672
49672
|
return c.content.appendChild(ot);
|
|
49673
49673
|
}
|
|
49674
49674
|
c.content.appendChild(he);
|
|
@@ -49709,20 +49709,20 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
49709
49709
|
for (var G = D.length, q = 0, Q = 1, he = "", ve, Ae, ke = 0, Be, $e, Qe, rt, at; ; ) {
|
|
49710
49710
|
if (ke == q) {
|
|
49711
49711
|
Be = $e = Qe = Ae = "", at = null, rt = null, ke = 1 / 0;
|
|
49712
|
-
for (var ot = [],
|
|
49712
|
+
for (var ot = [], ut = void 0, bt = 0; bt < A.length; ++bt) {
|
|
49713
49713
|
var mt = A[bt], Dt = mt.marker;
|
|
49714
49714
|
if (Dt.type == "bookmark" && mt.from == q && Dt.widgetNode)
|
|
49715
49715
|
ot.push(Dt);
|
|
49716
49716
|
else if (mt.from <= q && (mt.to == null || mt.to > q || Dt.collapsed && mt.to == q && mt.from == q)) {
|
|
49717
|
-
if (mt.to != null && mt.to != q && ke > mt.to && (ke = mt.to, $e = ""), Dt.className && (Be += " " + Dt.className), Dt.css && (Ae = (Ae ? Ae + ";" : "") + Dt.css), Dt.startStyle && mt.from == q && (Qe += " " + Dt.startStyle), Dt.endStyle && mt.to == ke && (
|
|
49717
|
+
if (mt.to != null && mt.to != q && ke > mt.to && (ke = mt.to, $e = ""), Dt.className && (Be += " " + Dt.className), Dt.css && (Ae = (Ae ? Ae + ";" : "") + Dt.css), Dt.startStyle && mt.from == q && (Qe += " " + Dt.startStyle), Dt.endStyle && mt.to == ke && (ut || (ut = [])).push(Dt.endStyle, mt.to), Dt.title && ((at || (at = {})).title = Dt.title), Dt.attributes)
|
|
49718
49718
|
for (var cn in Dt.attributes)
|
|
49719
49719
|
(at || (at = {}))[cn] = Dt.attributes[cn];
|
|
49720
49720
|
Dt.collapsed && (!rt || ru(rt.marker, Dt) < 0) && (rt = mt);
|
|
49721
49721
|
} else mt.from > q && ke > mt.from && (ke = mt.from);
|
|
49722
49722
|
}
|
|
49723
|
-
if (
|
|
49724
|
-
for (var si = 0; si <
|
|
49725
|
-
|
|
49723
|
+
if (ut)
|
|
49724
|
+
for (var si = 0; si < ut.length; si += 2)
|
|
49725
|
+
ut[si + 1] == ke && ($e += " " + ut[si]);
|
|
49726
49726
|
if (!rt || rt.from == q)
|
|
49727
49727
|
for (var Cn = 0; Cn < ot.length; ++Cn)
|
|
49728
49728
|
_p(b, 0, ot[Cn]);
|
|
@@ -50070,13 +50070,13 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
50070
50070
|
}
|
|
50071
50071
|
for (var ke = Q.top - b.rect.top, Be = Q.bottom - b.rect.top, $e = (ke + Be) / 2, Qe = b.view.measure.heights, rt = 0; rt < Qe.length - 1 && !($e < Qe[rt]); rt++)
|
|
50072
50072
|
;
|
|
50073
|
-
var at = rt ? Qe[rt - 1] : 0, ot = Qe[rt],
|
|
50073
|
+
var at = rt ? Qe[rt - 1] : 0, ot = Qe[rt], ut = {
|
|
50074
50074
|
left: (q == "right" ? Q.right : Q.left) - b.rect.left,
|
|
50075
50075
|
right: (q == "left" ? Q.left : Q.right) - b.rect.left,
|
|
50076
50076
|
top: at,
|
|
50077
50077
|
bottom: ot
|
|
50078
50078
|
};
|
|
50079
|
-
return !Q.left && !Q.right && (
|
|
50079
|
+
return !Q.left && !Q.right && (ut.bogus = !0), c.options.singleCursorHeightPerLine || (ut.rtop = ke, ut.rbottom = Be), ut;
|
|
50080
50080
|
}
|
|
50081
50081
|
function Pb(c, b) {
|
|
50082
50082
|
if (!window.screen || screen.logicalXDPI == null || screen.logicalXDPI == screen.deviceXDPI || !ms(c))
|
|
@@ -50225,8 +50225,8 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
50225
50225
|
Be = Ae + (ot ? 0 : 1), Qe = ot ? "after" : "before", $e = at ? ke.left : ke.right;
|
|
50226
50226
|
} else {
|
|
50227
50227
|
!Q && (Be == q || Be == G) && Be++, Qe = Be == 0 ? "after" : Be == b.text.length ? "before" : Rr(c, B, Be - (Q ? 1 : 0)).bottom + j <= D == Q ? "after" : "before";
|
|
50228
|
-
var
|
|
50229
|
-
$e =
|
|
50228
|
+
var ut = Ui(c, Ye(I, Be, Qe), "line", b, B);
|
|
50229
|
+
$e = ut.left, rt = D < ut.top ? -1 : D >= ut.bottom ? 1 : 0;
|
|
50230
50230
|
}
|
|
50231
50231
|
return Be = Ct(b.text, Be, 1), hu(I, Be, Qe, rt, A - $e);
|
|
50232
50232
|
}
|
|
@@ -50452,12 +50452,12 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
50452
50452
|
}
|
|
50453
50453
|
function Up(c, b, I) {
|
|
50454
50454
|
var A = c.display, D = c.doc, B = document.createDocumentFragment(), j = uu(c.display), G = j.left, q = Math.max(A.sizerWidth, Es(c) - A.sizer.offsetLeft) - j.right, Q = D.direction == "ltr";
|
|
50455
|
-
function he(ot,
|
|
50456
|
-
|
|
50457
|
-
top: ` +
|
|
50458
|
-
height: ` + (mt -
|
|
50455
|
+
function he(ot, ut, bt, mt) {
|
|
50456
|
+
ut < 0 && (ut = 0), ut = Math.round(ut), mt = Math.round(mt), B.appendChild(P("div", null, "CodeMirror-selected", "position: absolute; left: " + ot + `px;
|
|
50457
|
+
top: ` + ut + "px; width: " + (bt ?? q - ot) + `px;
|
|
50458
|
+
height: ` + (mt - ut) + "px"));
|
|
50459
50459
|
}
|
|
50460
|
-
function ve(ot,
|
|
50460
|
+
function ve(ot, ut, bt) {
|
|
50461
50461
|
var mt = pt(D, ot), Dt = mt.text.length, cn, si;
|
|
50462
50462
|
function Cn(Vn, rr) {
|
|
50463
50463
|
return du(c, Ye(ot, Vn), "div", mt, rr);
|
|
@@ -50467,8 +50467,8 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
50467
50467
|
return Cn(Dn, Yn)[Yn];
|
|
50468
50468
|
}
|
|
50469
50469
|
var ir = Xt(mt, D.direction);
|
|
50470
|
-
return sn(ir,
|
|
50471
|
-
var Yn = mi == "ltr", Dn = Cn(Vn, Yn ? "left" : "right"), or = Cn(rr - 1, Yn ? "right" : "left"), Iu =
|
|
50470
|
+
return sn(ir, ut || 0, bt ?? Dt, function(Vn, rr, mi, Qn) {
|
|
50471
|
+
var Yn = mi == "ltr", Dn = Cn(Vn, Yn ? "left" : "right"), or = Cn(rr - 1, Yn ? "right" : "left"), Iu = ut == null && Vn == 0, da = bt == null && rr == Dt, Ni = Qn == 0, Go = !ir || Qn == ir.length - 1;
|
|
50472
50472
|
if (or.top - Dn.top <= 3) {
|
|
50473
50473
|
var ai = (Q ? Iu : da) && Ni, a0 = (Q ? da : Iu) && Go, Is = ai ? G : (Yn ? Dn : or).left, el = a0 ? q : (Yn ? or : Dn).right;
|
|
50474
50474
|
he(Is, Dn.top, el - Is, Dn.bottom);
|
|
@@ -51219,13 +51219,13 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
51219
51219
|
function D(at) {
|
|
51220
51220
|
return I ? I[at] : null;
|
|
51221
51221
|
}
|
|
51222
|
-
function B(at, ot,
|
|
51223
|
-
Eb(at, ot,
|
|
51222
|
+
function B(at, ot, ut) {
|
|
51223
|
+
Eb(at, ot, ut, A), $n(at, "change", at, b);
|
|
51224
51224
|
}
|
|
51225
51225
|
function j(at, ot) {
|
|
51226
|
-
for (var
|
|
51227
|
-
|
|
51228
|
-
return
|
|
51226
|
+
for (var ut = [], bt = at; bt < ot; ++bt)
|
|
51227
|
+
ut.push(new Js(Q[bt], D(bt), A));
|
|
51228
|
+
return ut;
|
|
51229
51229
|
}
|
|
51230
51230
|
var G = b.from, q = b.to, Q = b.text, he = pt(c, G.line), ve = pt(c, q.line), Ae = st(Q), ke = D(Q.length - 1), Be = q.line - G.line;
|
|
51231
51231
|
if (b.full)
|
|
@@ -51558,8 +51558,8 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
51558
51558
|
var rt = $e ? kd(c, Qe) : st(G);
|
|
51559
51559
|
Id(c, Qe, rt, xt(c, Qe)), !$e && c.cm && c.cm.scrollIntoView({ from: Qe.from, to: Wo(Qe) });
|
|
51560
51560
|
var at = [];
|
|
51561
|
-
jo(c, function(ot,
|
|
51562
|
-
!
|
|
51561
|
+
jo(c, function(ot, ut) {
|
|
51562
|
+
!ut && Ee(at, ot.history) == -1 && (Hx(ot.history, Qe), at.push(ot.history)), Id(ot, Qe, null, xt(ot, Qe));
|
|
51563
51563
|
});
|
|
51564
51564
|
}, ke = B.changes.length - 1; ke >= 0; --ke) {
|
|
51565
51565
|
var Be = Ae(ke);
|
|
@@ -52761,12 +52761,12 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
52761
52761
|
}
|
|
52762
52762
|
}
|
|
52763
52763
|
var Be = function(rt, at, ot) {
|
|
52764
|
-
for (var
|
|
52764
|
+
for (var ut = function(cn, si) {
|
|
52765
52765
|
return si ? new Ye(I.line, G(cn, 1), "before") : new Ye(I.line, cn, "after");
|
|
52766
52766
|
}; rt >= 0 && rt < D.length; rt += at) {
|
|
52767
52767
|
var bt = D[rt], mt = at > 0 == (bt.level != 1), Dt = mt ? ot.begin : G(ot.end, -1);
|
|
52768
52768
|
if (bt.from <= Dt && Dt < bt.to || (Dt = mt ? bt.from : G(bt.to, -1), ot.begin <= Dt && Dt < ot.end))
|
|
52769
|
-
return
|
|
52769
|
+
return ut(Dt, mt);
|
|
52770
52770
|
}
|
|
52771
52771
|
}, $e = Be(B + A, A, he);
|
|
52772
52772
|
if ($e)
|
|
@@ -53208,41 +53208,41 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
53208
53208
|
B,
|
|
53209
53209
|
Pr(c, Q.slice(0, G).concat(Q.slice(G + 1)), 0),
|
|
53210
53210
|
{ scroll: !1, origin: "*mouse" }
|
|
53211
|
-
), q = B.sel) : Xb(B, G, j,
|
|
53211
|
+
), q = B.sel) : Xb(B, G, j, lt) : (G = 0, Ii(B, new On([j], 0), lt), q = B.sel);
|
|
53212
53212
|
var ve = I;
|
|
53213
53213
|
function Ae(ot) {
|
|
53214
53214
|
if (wt(ve, ot) != 0)
|
|
53215
53215
|
if (ve = ot, A.unit == "rectangle") {
|
|
53216
|
-
for (var
|
|
53216
|
+
for (var ut = [], bt = c.options.tabSize, mt = ye(pt(B, I.line).text, I.ch, bt), Dt = ye(pt(B, ot.line).text, ot.ch, bt), cn = Math.min(mt, Dt), si = Math.max(mt, Dt), Cn = Math.min(I.line, ot.line), vr = Math.min(c.lastLine(), Math.max(I.line, ot.line)); Cn <= vr; Cn++) {
|
|
53217
53217
|
var ir = pt(B, Cn).text, Vn = ct(ir, cn, bt);
|
|
53218
|
-
cn == si ?
|
|
53218
|
+
cn == si ? ut.push(new Zt(Ye(Cn, Vn), Ye(Cn, Vn))) : ir.length > Vn && ut.push(new Zt(Ye(Cn, Vn), Ye(Cn, ct(ir, si, bt))));
|
|
53219
53219
|
}
|
|
53220
|
-
|
|
53220
|
+
ut.length || ut.push(new Zt(I, I)), Ii(
|
|
53221
53221
|
B,
|
|
53222
|
-
Pr(c, q.ranges.slice(0, G).concat(
|
|
53222
|
+
Pr(c, q.ranges.slice(0, G).concat(ut), G),
|
|
53223
53223
|
{ origin: "*mouse", scroll: !1 }
|
|
53224
53224
|
), c.scrollIntoView(ot);
|
|
53225
53225
|
} else {
|
|
53226
53226
|
var rr = j, mi = ok(c, ot, A.unit), Qn = rr.anchor, Yn;
|
|
53227
53227
|
wt(mi.anchor, Qn) > 0 ? (Yn = mi.head, Qn = Gr(rr.from(), mi.anchor)) : (Yn = mi.anchor, Qn = Bi(rr.to(), mi.head));
|
|
53228
53228
|
var Dn = q.ranges.slice(0);
|
|
53229
|
-
Dn[G] = kM(c, new Zt(vt(B, Qn), Yn)), Ii(B, Pr(c, Dn, G),
|
|
53229
|
+
Dn[G] = kM(c, new Zt(vt(B, Qn), Yn)), Ii(B, Pr(c, Dn, G), lt);
|
|
53230
53230
|
}
|
|
53231
53231
|
}
|
|
53232
53232
|
var ke = D.wrapper.getBoundingClientRect(), Be = 0;
|
|
53233
53233
|
function $e(ot) {
|
|
53234
|
-
var
|
|
53234
|
+
var ut = ++Be, bt = Bo(c, ot, !0, A.unit == "rectangle");
|
|
53235
53235
|
if (bt)
|
|
53236
53236
|
if (wt(bt, ve) != 0) {
|
|
53237
53237
|
c.curOp.focus = Z(ue(c)), Ae(bt);
|
|
53238
53238
|
var mt = yu(D, B);
|
|
53239
53239
|
(bt.line >= mt.to || bt.line < mt.from) && setTimeout(Mt(c, function() {
|
|
53240
|
-
Be ==
|
|
53240
|
+
Be == ut && $e(ot);
|
|
53241
53241
|
}), 150);
|
|
53242
53242
|
} else {
|
|
53243
53243
|
var Dt = ot.clientY < ke.top ? -20 : ot.clientY > ke.bottom ? 20 : 0;
|
|
53244
53244
|
Dt && setTimeout(Mt(c, function() {
|
|
53245
|
-
Be ==
|
|
53245
|
+
Be == ut && (D.scroller.scrollTop += Dt, $e(ot));
|
|
53246
53246
|
}), 50);
|
|
53247
53247
|
}
|
|
53248
53248
|
}
|
|
@@ -53973,11 +53973,11 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
53973
53973
|
function he(at) {
|
|
53974
53974
|
var ot;
|
|
53975
53975
|
if (A == "codepoint") {
|
|
53976
|
-
var
|
|
53977
|
-
if (isNaN(
|
|
53976
|
+
var ut = G.text.charCodeAt(b.ch + (I > 0 ? 0 : -1));
|
|
53977
|
+
if (isNaN(ut))
|
|
53978
53978
|
ot = null;
|
|
53979
53979
|
else {
|
|
53980
|
-
var bt = I > 0 ?
|
|
53980
|
+
var bt = I > 0 ? ut >= 55296 && ut < 56320 : ut >= 56320 && ut < 57343;
|
|
53981
53981
|
ot = new Ye(b.line, Math.max(0, Math.min(G.text.length, b.ch + I * (bt ? 2 : 1))), -I);
|
|
53982
53982
|
}
|
|
53983
53983
|
} else D ? ot = pM(c.cm, G, b, I) : ot = Qb(G, b, I);
|
|
@@ -54191,10 +54191,10 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
54191
54191
|
break;
|
|
54192
54192
|
for (var ke = 0, Be = 0, $e = ve[0], Qe = Ae[0], rt = Math.min($e.length, Qe.length); ke < rt && $e.charCodeAt(ke) == Qe.charCodeAt(ke); )
|
|
54193
54193
|
++ke;
|
|
54194
|
-
for (var at = st(ve), ot = st(Ae),
|
|
54194
|
+
for (var at = st(ve), ot = st(Ae), ut = Math.min(
|
|
54195
54195
|
at.length - (ve.length == 1 ? ke : 0),
|
|
54196
54196
|
ot.length - (Ae.length == 1 ? ke : 0)
|
|
54197
|
-
); Be <
|
|
54197
|
+
); Be < ut && at.charCodeAt(at.length - Be - 1) == ot.charCodeAt(ot.length - Be - 1); )
|
|
54198
54198
|
++Be;
|
|
54199
54199
|
if (ve.length == 1 && Ae.length == 1 && j == A.line)
|
|
54200
54200
|
for (; ke && ke > A.ch && at.charCodeAt(at.length - Be - 1) == ot.charCodeAt(ot.length - Be - 1); )
|
|
@@ -54328,11 +54328,11 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
54328
54328
|
var q = c.measure, Q = q.maps;
|
|
54329
54329
|
function he(Qe, rt, at) {
|
|
54330
54330
|
for (var ot = -1; ot < (Q ? Q.length : 0); ot++)
|
|
54331
|
-
for (var
|
|
54332
|
-
var mt =
|
|
54331
|
+
for (var ut = ot < 0 ? q.map : Q[ot], bt = 0; bt < ut.length; bt += 3) {
|
|
54332
|
+
var mt = ut[bt + 2];
|
|
54333
54333
|
if (mt == Qe || mt == rt) {
|
|
54334
|
-
var Dt = Lt(ot < 0 ? c.line : c.rest[ot]), cn =
|
|
54335
|
-
return (at < 0 || mt != Qe) && (cn =
|
|
54334
|
+
var Dt = Lt(ot < 0 ? c.line : c.rest[ot]), cn = ut[bt] + at;
|
|
54335
|
+
return (at < 0 || mt != Qe) && (cn = ut[bt + (at ? 1 : 0)]), Ye(Dt, cn);
|
|
54336
54336
|
}
|
|
54337
54337
|
}
|
|
54338
54338
|
}
|
|
@@ -54972,13 +54972,13 @@ b`.split(/\n/).length != 3 ? function(c) {
|
|
|
54972
54972
|
},
|
|
54973
54973
|
data: T
|
|
54974
54974
|
})), S.options.closeOnUnfocus) {
|
|
54975
|
-
var
|
|
54975
|
+
var lt;
|
|
54976
54976
|
x.on("blur", this.onBlur = function() {
|
|
54977
|
-
|
|
54977
|
+
lt = setTimeout(function() {
|
|
54978
54978
|
S.close();
|
|
54979
54979
|
}, 100);
|
|
54980
54980
|
}), x.on("focus", this.onFocus = function() {
|
|
54981
|
-
clearTimeout(
|
|
54981
|
+
clearTimeout(lt);
|
|
54982
54982
|
});
|
|
54983
54983
|
}
|
|
54984
54984
|
x.on("scroll", this.onScroll = function() {
|
|
@@ -56316,12 +56316,12 @@ function qX() {
|
|
|
56316
56316
|
return Oe instanceof V;
|
|
56317
56317
|
}, Ge = function(Oe, Me, ze) {
|
|
56318
56318
|
return Oe === ie && Ge(re, Me, ze), h(Oe), Me = C(Me, !0), h(ze), o(ae, Me) ? (ze.enumerable ? (o(Oe, J) && Oe[J][Me] && (Oe[J][Me] = !1), ze = N(ze, { enumerable: _(0, !1) })) : (o(Oe, J) || P(Oe, J, _(1, {})), Oe[J][Me] = !0), Ee(Oe, Me, ze)) : P(Oe, Me, ze);
|
|
56319
|
-
},
|
|
56319
|
+
}, lt = function(Oe, Me) {
|
|
56320
56320
|
h(Oe);
|
|
56321
56321
|
for (var ze, Ce = g(Me = E(Me)), Te = 0, Re = Ce.length; Re > Te; ) Ge(Oe, ze = Ce[Te++], Me[ze]);
|
|
56322
56322
|
return Oe;
|
|
56323
56323
|
}, Ve = function(Oe, Me) {
|
|
56324
|
-
return Me === void 0 ? N(Oe) :
|
|
56324
|
+
return Me === void 0 ? N(Oe) : lt(N(Oe), Me);
|
|
56325
56325
|
}, ct = function(Oe) {
|
|
56326
56326
|
var Me = Y.call(this, Oe = C(Oe, !0));
|
|
56327
56327
|
return this === ie && o(ae, Oe) && !o(re, Oe) ? !1 : Me || !o(this, Oe) || !o(ae, Oe) || o(this, J) && this[J][Oe] ? Me : !0;
|
|
@@ -56359,7 +56359,7 @@ function qX() {
|
|
|
56359
56359
|
te = !0;
|
|
56360
56360
|
}, useSimple: function() {
|
|
56361
56361
|
te = !1;
|
|
56362
|
-
} }), a(a.S + a.F * !fe, "Object", { create: Ve, defineProperty: Ge, defineProperties:
|
|
56362
|
+
} }), a(a.S + a.F * !fe, "Object", { create: Ve, defineProperty: Ge, defineProperties: lt, getOwnPropertyDescriptor: ft, getOwnPropertyNames: yt, getOwnPropertySymbols: st }), K && a(a.S + a.F * (!fe || p(function() {
|
|
56363
56363
|
var Oe = V();
|
|
56364
56364
|
return Z([Oe]) != "[null]" || Z({ a: Oe }) != "{}" || Z(Object(Oe)) != "{}";
|
|
56365
56365
|
})), "JSON", { stringify: function(Oe) {
|
|
@@ -56653,7 +56653,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
56653
56653
|
} else if (M = re(M), P(this[M])) return this[M](W);
|
|
56654
56654
|
return this;
|
|
56655
56655
|
}
|
|
56656
|
-
function
|
|
56656
|
+
function lt(M, W, X) {
|
|
56657
56657
|
var se = "" + Math.abs(M), we = W - se.length, Ie = M >= 0;
|
|
56658
56658
|
return (Ie ? X ? "+" : "" : "-") + Math.pow(10, Math.max(0, we)).toString().substr(1) + se;
|
|
56659
56659
|
}
|
|
@@ -56662,7 +56662,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
56662
56662
|
typeof se == "string" && (we = function() {
|
|
56663
56663
|
return this[se]();
|
|
56664
56664
|
}), M && (Qi[M] = we), W && (Qi[W[0]] = function() {
|
|
56665
|
-
return
|
|
56665
|
+
return lt(we.apply(this, arguments), W[1], W[2]);
|
|
56666
56666
|
}), X && (Qi[X] = function() {
|
|
56667
56667
|
return this.localeData().ordinal(we.apply(this, arguments), M);
|
|
56668
56668
|
});
|
|
@@ -57129,7 +57129,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
57129
57129
|
function kt(M, W) {
|
|
57130
57130
|
Ve(M, 0, 0, function() {
|
|
57131
57131
|
var X = this.utcOffset(), se = "+";
|
|
57132
|
-
return 0 > X && (X = -X, se = "-"), se +
|
|
57132
|
+
return 0 > X && (X = -X, se = "-"), se + lt(~~(X / 60), 2) + W + lt(~~X % 60, 2);
|
|
57133
57133
|
});
|
|
57134
57134
|
}
|
|
57135
57135
|
function $t(M, W) {
|
|
@@ -57608,13 +57608,13 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
57608
57608
|
});
|
|
57609
57609
|
var Ub = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), xs = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), ks = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Hb = Va, zb = Va, Wb = Va;
|
|
57610
57610
|
Ve("H", ["HH", 2], 0, "hour"), Ve("h", ["hh", 2], 0, Ar), Ve("k", ["kk", 2], 0, Ra), Ve("hmm", 0, 0, function() {
|
|
57611
|
-
return "" + Ar.apply(this) +
|
|
57611
|
+
return "" + Ar.apply(this) + lt(this.minutes(), 2);
|
|
57612
57612
|
}), Ve("hmmss", 0, 0, function() {
|
|
57613
|
-
return "" + Ar.apply(this) +
|
|
57613
|
+
return "" + Ar.apply(this) + lt(this.minutes(), 2) + lt(this.seconds(), 2);
|
|
57614
57614
|
}), Ve("Hmm", 0, 0, function() {
|
|
57615
|
-
return "" + this.hours() +
|
|
57615
|
+
return "" + this.hours() + lt(this.minutes(), 2);
|
|
57616
57616
|
}), Ve("Hmmss", 0, 0, function() {
|
|
57617
|
-
return "" + this.hours() +
|
|
57617
|
+
return "" + this.hours() + lt(this.minutes(), 2) + lt(this.seconds(), 2);
|
|
57618
57618
|
}), ho("a", !0), ho("A", !1), ae("hour", "h"), fe("hour", 13), Le("a", iu), Le("A", iu), Le("H", an), Le("h", an), Le("k", an), Le("HH", an, Ji), Le("hh", an, Ji), Le("kk", an, Ji), Le("hmm", $a), Le("hmmss", Up), Le("Hmm", $a), Le("Hmmss", Up), ze(["H", "HH"], Sn), ze(["k", "kk"], function(M, W, X) {
|
|
57619
57619
|
var se = O(M);
|
|
57620
57620
|
W[Sn] = se === 24 ? 0 : se;
|
|
@@ -58450,8 +58450,8 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
58450
58450
|
Z.lineWidth = 1, _ = new v(F, U, ie.min), N = new v(F, U, ie.max), this._line3d(Z, _, N, this.axisColor);
|
|
58451
58451
|
}
|
|
58452
58452
|
if (this.showXAxis) {
|
|
58453
|
-
var
|
|
58454
|
-
Z.lineWidth = 1,
|
|
58453
|
+
var lt, Ve;
|
|
58454
|
+
Z.lineWidth = 1, lt = new v(ae.min, re.min, ie.min), Ve = new v(ae.max, re.min, ie.min), this._line3d(Z, lt, Ve, this.axisColor), lt = new v(ae.min, re.max, ie.min), Ve = new v(ae.max, re.max, ie.min), this._line3d(Z, lt, Ve, this.axisColor);
|
|
58455
58455
|
}
|
|
58456
58456
|
this.showYAxis && (Z.lineWidth = 1, _ = new v(ae.min, re.min, ie.min), N = new v(ae.min, re.max, ie.min), this._line3d(Z, _, N, this.axisColor), _ = new v(ae.max, re.min, ie.min), N = new v(ae.max, re.max, ie.min), this._line3d(Z, _, N, this.axisColor));
|
|
58457
58457
|
var ct = this.xLabel;
|
|
@@ -59369,9 +59369,9 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
59369
59369
|
this.touch = new Ee(this.manager, ne), this.mouse = new ie(this.manager, ne), this.primaryTouch = null, this.lastTouches = [];
|
|
59370
59370
|
}
|
|
59371
59371
|
function Ge(ne, ce) {
|
|
59372
|
-
ne & jn ? (this.primaryTouch = ce.changedPointers[0].identifier,
|
|
59372
|
+
ne & jn ? (this.primaryTouch = ce.changedPointers[0].identifier, lt.call(this, ce)) : ne & (bn | hi) && lt.call(this, ce);
|
|
59373
59373
|
}
|
|
59374
|
-
function
|
|
59374
|
+
function lt(ne) {
|
|
59375
59375
|
var ce = ne.changedPointers[0];
|
|
59376
59376
|
if (ce.identifier === this.primaryTouch) {
|
|
59377
59377
|
var xe = { x: ce.clientX, y: ce.clientY };
|
|
@@ -63538,8 +63538,8 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
63538
63538
|
}, o.prototype._updateValueRange = function(te) {
|
|
63539
63539
|
var Ee, Se = void 0, je = void 0, Ge = 0;
|
|
63540
63540
|
for (Ee in te) if (te.hasOwnProperty(Ee)) {
|
|
63541
|
-
var
|
|
63542
|
-
|
|
63541
|
+
var lt = te[Ee].getValue();
|
|
63542
|
+
lt !== void 0 && (Se = Se === void 0 ? lt : Math.min(lt, Se), je = je === void 0 ? lt : Math.max(lt, je), Ge += lt);
|
|
63543
63543
|
}
|
|
63544
63544
|
if (Se !== void 0 && je !== void 0) for (Ee in te) te.hasOwnProperty(Ee) && te[Ee].setValueRange(Se, je, Ge);
|
|
63545
63545
|
}, o.prototype.isActive = function() {
|
|
@@ -63842,8 +63842,8 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
63842
63842
|
}
|
|
63843
63843
|
Object.defineProperty(i, "__esModule", { value: !0 });
|
|
63844
63844
|
var o = r(62), l = s(o), a = r(119), u = s(a), d = r(120), p = s(d), f = r(164), m = s(f), y = r(169), v = s(y), k = r(180), S = s(k), T = r(182), g = s(T), x = r(183), h = s(x), E = r(184), C = s(E), _ = r(186), N = s(_), O = r(187), R = s(O), L = r(188), F = s(L), U = r(189), P = s(U), z = r(190), V = s(z), K = r(191), Z = s(K), $ = r(192), J = s($), pe = r(193), Y = s(pe), ue = r(194), ae = s(ue), re = r(126), ie = (s(re), r(1)), fe = function() {
|
|
63845
|
-
function ye(te, Ee, Se, je, Ge,
|
|
63846
|
-
u.default(this, ye), this.options = ie.bridgeObject(Ge), this.globalOptions = Ge, this.defaultOptions =
|
|
63845
|
+
function ye(te, Ee, Se, je, Ge, lt, Ve) {
|
|
63846
|
+
u.default(this, ye), this.options = ie.bridgeObject(Ge), this.globalOptions = Ge, this.defaultOptions = lt, this.nodeOptions = Ve, this.body = Ee, this.edges = [], this.id = void 0, this.imagelist = Se, this.grouplist = je, this.x = void 0, this.y = void 0, this.baseSize = this.options.size, this.baseFontSize = this.options.font.size, this.predefinedPosition = !1, this.selected = !1, this.hover = !1, this.labelModule = new m.default(this.body, this.options, !1), this.setOptions(te);
|
|
63847
63847
|
}
|
|
63848
63848
|
return p.default(ye, [{ key: "attachEdge", value: function(te) {
|
|
63849
63849
|
this.edges.indexOf(te) === -1 && this.edges.push(te);
|
|
@@ -63946,8 +63946,8 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
63946
63946
|
if (this.options.value !== void 0) {
|
|
63947
63947
|
var je = this.options.scaling.customScalingFunction(te, Ee, Se, this.options.value), Ge = this.options.scaling.max - this.options.scaling.min;
|
|
63948
63948
|
if (this.options.scaling.label.enabled === !0) {
|
|
63949
|
-
var
|
|
63950
|
-
this.options.font.size = this.options.scaling.label.min + je *
|
|
63949
|
+
var lt = this.options.scaling.label.max - this.options.scaling.label.min;
|
|
63950
|
+
this.options.font.size = this.options.scaling.label.min + je * lt;
|
|
63951
63951
|
}
|
|
63952
63952
|
this.options.size = this.options.scaling.min + je * Ge;
|
|
63953
63953
|
} else this.options.size = this.baseSize, this.options.font.size = this.baseFontSize;
|
|
@@ -63967,8 +63967,8 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
63967
63967
|
} }], [{ key: "parseOptions", value: function(te, Ee) {
|
|
63968
63968
|
var Se = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, je = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, Ge = ["color", "font", "fixed", "shadow"];
|
|
63969
63969
|
if (ie.selectiveNotDeepExtend(Ge, te, Ee, Se), ie.mergeOptions(te, Ee, "shadow", Se, je), Ee.color !== void 0 && Ee.color !== null) {
|
|
63970
|
-
var
|
|
63971
|
-
ie.fillIfDefined(te.color,
|
|
63970
|
+
var lt = ie.parseColor(Ee.color);
|
|
63971
|
+
ie.fillIfDefined(te.color, lt);
|
|
63972
63972
|
} else Se === !0 && Ee.color === null && (te.color = ie.bridgeObject(je.color));
|
|
63973
63973
|
Ee.fixed !== void 0 && Ee.fixed !== null && (typeof Ee.fixed == "boolean" ? (te.fixed.x = Ee.fixed, te.fixed.y = Ee.fixed) : (Ee.fixed.x !== void 0 && typeof Ee.fixed.x == "boolean" && (te.fixed.x = Ee.fixed.x), Ee.fixed.y !== void 0 && typeof Ee.fixed.y == "boolean" && (te.fixed.y = Ee.fixed.y))), Ee.font !== void 0 && Ee.font !== null ? m.default.parseOptions(te.font, Ee) : Se === !0 && Ee.font === null && (te.font = ie.bridgeObject(je.font)), Ee.scaling !== void 0 && ie.mergeOptions(te.scaling, Ee.scaling, "label", Se, je.scaling);
|
|
63974
63974
|
} }]), ye;
|
|
@@ -64188,8 +64188,8 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
64188
64188
|
else for (var fe = 0; R > fe; fe++) {
|
|
64189
64189
|
var ye = this.getFormattingValues(g, x, h, "normal");
|
|
64190
64190
|
if (this.fontOptions.maxWdt > 0) for (var te = O[fe].split(" "), Ee = "", Se = { width: 0 }, je = void 0, Ge = 0; Ge < te.length; ) {
|
|
64191
|
-
var
|
|
64192
|
-
je = Se, Se = g.measureText(Ee +
|
|
64191
|
+
var lt = Ee === "" ? "" : " ";
|
|
64192
|
+
je = Se, Se = g.measureText(Ee + lt + te[Ge]), Se.width > this.fontOptions.maxWdt && je.width != 0 ? (_.addAndAccumulate(N, Ee, ye.font, ye.color, je.width, ye.size, ye.vadjust, "normal", ye.strokeWidth, ye.strokeColor), E = _[N].width > E ? _[N].width : E, C += _[N].height, Ee = "", N++) : (Ee = Ee + lt + te[Ge], Ge === te.length - 1 && (_.addAndAccumulate(N, Ee, ye.font, ye.color, Se.width, ye.size, ye.vadjust, "normal", ye.strokeWidth, ye.strokeColor), E = _[N].width > E ? _[N].width : E, C += _[N].height, N++), Ge++);
|
|
64193
64193
|
}
|
|
64194
64194
|
else {
|
|
64195
64195
|
var Ve = O[fe], ct = g.measureText(Ve);
|
|
@@ -65827,7 +65827,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
65827
65827
|
}
|
|
65828
65828
|
ae.cleanup(), ae.disconnect(), delete this.body.edges[ae.id];
|
|
65829
65829
|
}
|
|
65830
|
-
for (var
|
|
65830
|
+
for (var lt in O) O.hasOwnProperty(lt) && this._restoreEdge(O[lt]);
|
|
65831
65831
|
delete this.body.nodes[h], C === !0 && this.body.emitter.emit("_dataChanged");
|
|
65832
65832
|
} }, { key: "getNodesInCluster", value: function(h) {
|
|
65833
65833
|
var E = [];
|
|
@@ -66708,7 +66708,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
66708
66708
|
}, F = function(ue) {
|
|
66709
66709
|
var ae = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1e9, re = 1e9, ie = 1e9, fe = 1e9, ye = -1e9;
|
|
66710
66710
|
for (var te in ue) if (ue.hasOwnProperty(te)) {
|
|
66711
|
-
var Ee = h.body.nodes[te], Se = h.hierarchicalLevels[Ee.id], je = h._getPositionForHierarchy(Ee), Ge = h._getSpaceAroundNode(Ee, ue),
|
|
66711
|
+
var Ee = h.body.nodes[te], Se = h.hierarchicalLevels[Ee.id], je = h._getPositionForHierarchy(Ee), Ge = h._getSpaceAroundNode(Ee, ue), lt = u.default(Ge, 2), Ve = lt[0], ct = lt[1];
|
|
66712
66712
|
re = Math.min(Ve, re), ie = Math.min(ct, ie), ae >= Se && (fe = Math.min(je, fe), ye = Math.max(je, ye));
|
|
66713
66713
|
}
|
|
66714
66714
|
return [fe, ye, re, ie];
|
|
@@ -66741,9 +66741,9 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
66741
66741
|
if (ye > h.options.hierarchical.nodeSpacing) {
|
|
66742
66742
|
var te = {}, Ee = {};
|
|
66743
66743
|
L(ue, te), L(ae, Ee);
|
|
66744
|
-
var Se = P(ue, ae), je = F(te, Se), Ge = u.default(je, 4),
|
|
66744
|
+
var Se = P(ue, ae), je = F(te, Se), Ge = u.default(je, 4), lt = (Ge[0], Ge[1]), Ve = (Ge[2], Ge[3], F(Ee, Se)), ct = u.default(Ve, 4), ft = ct[0], yt = (ct[1], ct[2]), st = (ct[3], Math.abs(lt - ft));
|
|
66745
66745
|
if (st > h.options.hierarchical.nodeSpacing) {
|
|
66746
|
-
var Le =
|
|
66746
|
+
var Le = lt - ft + h.options.hierarchical.nodeSpacing;
|
|
66747
66747
|
Le < -yt + h.options.hierarchical.nodeSpacing && (Le = -yt + h.options.hierarchical.nodeSpacing), 0 > Le && (h._shiftBlock(ae.id, Le), E = !0, re === !0 && h._centerParent(ae));
|
|
66748
66748
|
}
|
|
66749
66749
|
}
|
|
@@ -66755,7 +66755,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
66755
66755
|
te[ie[Se].id] = Ge, h.hierarchicalLevels[Ge.id] < fe && Ee.push(je);
|
|
66756
66756
|
}
|
|
66757
66757
|
}
|
|
66758
|
-
var
|
|
66758
|
+
var lt = function(Le, Ze) {
|
|
66759
66759
|
for (var Oe = 0, Me = 0; Me < Ze.length; Me++) if (te[Ze[Me].id] !== void 0) {
|
|
66760
66760
|
var ze = h._getPositionForHierarchy(te[Ze[Me].id]) - Le;
|
|
66761
66761
|
Oe += ze / Math.sqrt(ze * ze + ye);
|
|
@@ -66769,7 +66769,7 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
66769
66769
|
return Oe;
|
|
66770
66770
|
}, ct = function(Le, Ze) {
|
|
66771
66771
|
for (var Oe = h._getPositionForHierarchy(ae), Me = {}, ze = 0; Le > ze; ze++) {
|
|
66772
|
-
var Ce =
|
|
66772
|
+
var Ce = lt(Oe, Ze), Te = Ve(Oe, Ze), Re = 40, Xe = Math.max(-Re, Math.min(Re, Math.round(Ce / Te)));
|
|
66773
66773
|
if (Oe -= Xe, Me[Oe] !== void 0) break;
|
|
66774
66774
|
Me[Oe] = ze;
|
|
66775
66775
|
}
|
|
@@ -67598,14 +67598,14 @@ Arguments: ` + Array.prototype.slice.call(we).join("") + `
|
|
|
67598
67598
|
fe.edges.forEach(function(Ee) {
|
|
67599
67599
|
var Se, je;
|
|
67600
67600
|
Se = Ee.from instanceof Object ? Ee.from.nodes : { id: Ee.from }, je = Ee.to instanceof Object ? Ee.to.nodes : { id: Ee.to }, Ee.from instanceof Object && Ee.from.edges && Ee.from.edges.forEach(function(Ge) {
|
|
67601
|
-
var
|
|
67602
|
-
ye.edges.push(
|
|
67603
|
-
}), R(Se, je, function(Ge,
|
|
67604
|
-
var Ve = v(ye, Ge.id,
|
|
67601
|
+
var lt = te(Ge);
|
|
67602
|
+
ye.edges.push(lt);
|
|
67603
|
+
}), R(Se, je, function(Ge, lt) {
|
|
67604
|
+
var Ve = v(ye, Ge.id, lt.id, Ee.type, Ee.attr), ct = te(Ve);
|
|
67605
67605
|
ye.edges.push(ct);
|
|
67606
67606
|
}), Ee.to instanceof Object && Ee.to.edges && Ee.to.edges.forEach(function(Ge) {
|
|
67607
|
-
var
|
|
67608
|
-
ye.edges.push(
|
|
67607
|
+
var lt = te(Ge);
|
|
67608
|
+
ye.edges.push(lt);
|
|
67609
67609
|
});
|
|
67610
67610
|
});
|
|
67611
67611
|
}
|
|
@@ -67921,14 +67921,14 @@ function fZ() {
|
|
|
67921
67921
|
case p:
|
|
67922
67922
|
return Ge;
|
|
67923
67923
|
default:
|
|
67924
|
-
var
|
|
67925
|
-
switch (
|
|
67924
|
+
var lt = Ge && Ge.$$typeof;
|
|
67925
|
+
switch (lt) {
|
|
67926
67926
|
case l:
|
|
67927
67927
|
case d:
|
|
67928
67928
|
case y:
|
|
67929
67929
|
case m:
|
|
67930
67930
|
case o:
|
|
67931
|
-
return
|
|
67931
|
+
return lt;
|
|
67932
67932
|
default:
|
|
67933
67933
|
return je;
|
|
67934
67934
|
}
|
|
@@ -69454,7 +69454,7 @@ function vZ() {
|
|
|
69454
69454
|
function Ge(Le, Ze, Oe) {
|
|
69455
69455
|
return O && Oe > 1 && (U || !u.skipRearg[Le]) ? ie(Ze, u.methodRearg[Le] || u.aryRearg[Oe]) : Ze;
|
|
69456
69456
|
}
|
|
69457
|
-
function
|
|
69457
|
+
function lt(Le, Ze) {
|
|
69458
69458
|
for (var Oe = -1, Me = (Ze = ye(Ze)).length, ze = Me - 1, Ce = Z(Object(Le)), Te = Ce; Te != null && ++Oe < Me; ) {
|
|
69459
69459
|
var Re = Ze[Oe], Xe = Te[Re];
|
|
69460
69460
|
Xe == null || ue(Xe) || Y(Xe) || ae(Xe) || (Te[Re] = Z(Oe == ze ? Xe : Object(Xe))), Te = Te[Re];
|
|
@@ -69483,7 +69483,7 @@ function vZ() {
|
|
|
69483
69483
|
return function(Xe) {
|
|
69484
69484
|
return Re({}, Xe);
|
|
69485
69485
|
};
|
|
69486
|
-
}(Ze)) : u.mutate.set[ze] && (Ce = y(Ze,
|
|
69486
|
+
}(Ze)) : u.mutate.set[ze] && (Ce = y(Ze, lt))), J(te, function(Re) {
|
|
69487
69487
|
return J(u.aryMethod[Re], function(Xe) {
|
|
69488
69488
|
if (ze == Xe) {
|
|
69489
69489
|
var it = u.methodSpread[ze], Ct = it && it.afterRearg;
|
|
@@ -81659,16 +81659,16 @@ const Ene = () => {
|
|
|
81659
81659
|
}
|
|
81660
81660
|
return "-";
|
|
81661
81661
|
}, k = ({ title: re, address: ie, id: fe, keywords: ye }) => {
|
|
81662
|
-
var Se;
|
|
81662
|
+
var Se, je;
|
|
81663
81663
|
const te = qn(
|
|
81664
81664
|
// @ts-ignore
|
|
81665
|
-
() => gk((
|
|
81665
|
+
() => gk((Ge, lt) => /* @__PURE__ */ w(I3, { to: { pathname: ie }, ref: lt, ...Ge })),
|
|
81666
81666
|
[ie]
|
|
81667
81667
|
);
|
|
81668
81668
|
if (!ie)
|
|
81669
81669
|
return /* @__PURE__ */ w(le.Fragment, { children: re });
|
|
81670
81670
|
const Ee = /* @__PURE__ */ w(uN, { href: "#", component: te, children: re });
|
|
81671
|
-
return fe && r.includes(fe) ? ye && ye[0].includes("Protected") ? /* @__PURE__ */ ee(ge, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81671
|
+
return fe && r.includes(fe) ? ye && ((Se = ye[0]) != null && Se.includes("Protected")) ? /* @__PURE__ */ ee(ge, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81672
81672
|
Ee,
|
|
81673
81673
|
/* @__PURE__ */ ee(ge, { display: "flex", children: [
|
|
81674
81674
|
/* @__PURE__ */ w(Ek, { color: "secondary", fontSize: "small" }),
|
|
@@ -81677,7 +81677,7 @@ const Ene = () => {
|
|
|
81677
81677
|
] }) : /* @__PURE__ */ ee(ge, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81678
81678
|
Ee,
|
|
81679
81679
|
/* @__PURE__ */ w(wk, { fontSize: "small", color: "secondary" })
|
|
81680
|
-
] }) : ye && ((
|
|
81680
|
+
] }) : ye && ((je = ye[0]) != null && je.includes("Protected")) ? /* @__PURE__ */ ee(ge, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81681
81681
|
Ee,
|
|
81682
81682
|
/* @__PURE__ */ w(Ek, { color: "secondary", fontSize: "small" })
|
|
81683
81683
|
] }) : Ee;
|