@inkweave/core 1.1.0 → 1.1.1
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/index.cjs +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +380 -382
- package/dist/index.js.map +1 -1
- package/dist/state/contents.d.ts +0 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,16 +10,14 @@ const Ei = (o) => {
|
|
|
10
10
|
}), n;
|
|
11
11
|
}, da = _i((o) => ({
|
|
12
12
|
contents: [],
|
|
13
|
-
refreshKey: 0,
|
|
14
13
|
setContents: (n) => o({ contents: n }),
|
|
15
14
|
add: (n) => {
|
|
16
15
|
o((a) => ({
|
|
17
16
|
contents: [...a.contents, ...n]
|
|
18
17
|
}));
|
|
19
18
|
},
|
|
20
|
-
clear: () => o({ contents: [] })
|
|
21
|
-
|
|
22
|
-
})), re = Ei(da), fa = "\0ink-divider\0", pa = {
|
|
19
|
+
clear: () => o({ contents: [] })
|
|
20
|
+
})), zn = Ei(da), fa = "\0ink-divider\0", pa = {
|
|
23
21
|
debug: !1,
|
|
24
22
|
linedelay: 0.05
|
|
25
23
|
};
|
|
@@ -85,7 +83,7 @@ z(It, "_functions", /* @__PURE__ */ new Map()), z(It, "excludeKeys", /* @__PURE_
|
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
});
|
|
88
|
-
let
|
|
86
|
+
let Mn = It;
|
|
89
87
|
const wi = (o, n) => {
|
|
90
88
|
if (!o)
|
|
91
89
|
return;
|
|
@@ -97,10 +95,10 @@ const wi = (o, n) => {
|
|
|
97
95
|
after: o.slice(a + 1).trim()
|
|
98
96
|
};
|
|
99
97
|
};
|
|
100
|
-
|
|
98
|
+
Mn.add("clear", (o, n) => {
|
|
101
99
|
n.clear();
|
|
102
100
|
});
|
|
103
|
-
|
|
101
|
+
Mn.add("restart", (o, n) => {
|
|
104
102
|
n.restart();
|
|
105
103
|
});
|
|
106
104
|
const dt = class dt {
|
|
@@ -248,10 +246,10 @@ class ya {
|
|
|
248
246
|
});
|
|
249
247
|
}
|
|
250
248
|
get contents() {
|
|
251
|
-
return
|
|
249
|
+
return zn.getState().contents;
|
|
252
250
|
}
|
|
253
251
|
set contents(n) {
|
|
254
|
-
|
|
252
|
+
zn.getState().setContents(n);
|
|
255
253
|
}
|
|
256
254
|
get choices() {
|
|
257
255
|
return Li.getState().choices;
|
|
@@ -273,18 +271,18 @@ class ya {
|
|
|
273
271
|
for (; this.story.canContinue; ) {
|
|
274
272
|
let f = this.story.Continue() || "";
|
|
275
273
|
this.story.currentTags && (this.story.currentTags.forEach((t) => {
|
|
276
|
-
|
|
274
|
+
Mn.process(this, t), (t === "clear" || t === "restart") && (n.length = 0);
|
|
277
275
|
}), f && this.story.currentTags.length && (f = pi.process(
|
|
278
276
|
f,
|
|
279
277
|
this.story.currentTags
|
|
280
278
|
))), f.trim() && n.push(f);
|
|
281
279
|
}
|
|
282
|
-
|
|
280
|
+
zn.getState().add(n);
|
|
283
281
|
const { currentChoices: a, variablesState: e } = this.story;
|
|
284
282
|
Li.getState().setChoices(a), Sa.getState().setGlobalVars(e);
|
|
285
283
|
}
|
|
286
284
|
choose(n) {
|
|
287
|
-
this.story.ChooseChoiceIndex(n),
|
|
285
|
+
this.story.ChooseChoiceIndex(n), zn.getState().add([fa]), this.continue();
|
|
288
286
|
}
|
|
289
287
|
clear() {
|
|
290
288
|
this.clears.map((n) => {
|
|
@@ -292,7 +290,7 @@ class ya {
|
|
|
292
290
|
});
|
|
293
291
|
}
|
|
294
292
|
restart() {
|
|
295
|
-
this.story.ResetState(), this.clear(),
|
|
293
|
+
this.story.ResetState(), this.clear(), this.continue();
|
|
296
294
|
}
|
|
297
295
|
useEffect() {
|
|
298
296
|
this.effects.map((n) => {
|
|
@@ -315,41 +313,41 @@ function ba(o) {
|
|
|
315
313
|
}
|
|
316
314
|
});
|
|
317
315
|
}
|
|
318
|
-
var hi = {},
|
|
316
|
+
var hi = {}, re = {}, ji;
|
|
319
317
|
function gi() {
|
|
320
|
-
if (ji) return
|
|
321
|
-
ji = 1, Object.defineProperty(
|
|
318
|
+
if (ji) return re;
|
|
319
|
+
ji = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.CompilerOptions = void 0;
|
|
322
320
|
let o = class {
|
|
323
321
|
constructor(a = null, e = [], f = !1, t = null, p = null) {
|
|
324
322
|
this.sourceFilename = a, this.pluginNames = e, this.countAllVisits = f, this.errorHandler = t, this.fileHandler = p;
|
|
325
323
|
}
|
|
326
324
|
};
|
|
327
|
-
return
|
|
325
|
+
return re.CompilerOptions = o, re;
|
|
328
326
|
}
|
|
329
|
-
var
|
|
327
|
+
var se = {}, Mi;
|
|
330
328
|
function _a() {
|
|
331
|
-
if (Mi) return
|
|
332
|
-
Mi = 1, Object.defineProperty(
|
|
329
|
+
if (Mi) return se;
|
|
330
|
+
Mi = 1, Object.defineProperty(se, "__esModule", { value: !0 }), se.DebugSourceRange = void 0;
|
|
333
331
|
let o = class {
|
|
334
332
|
constructor(a, e, f) {
|
|
335
333
|
this.length = a, this.debugMetadata = e, this.text = f;
|
|
336
334
|
}
|
|
337
335
|
};
|
|
338
|
-
return
|
|
336
|
+
return se.DebugSourceRange = o, se;
|
|
339
337
|
}
|
|
340
|
-
var
|
|
338
|
+
var ae = {}, Bi;
|
|
341
339
|
function Pi() {
|
|
342
|
-
if (Bi) return
|
|
343
|
-
Bi = 1, Object.defineProperty(
|
|
340
|
+
if (Bi) return ae;
|
|
341
|
+
Bi = 1, Object.defineProperty(ae, "__esModule", { value: !0 }), ae.ErrorType = void 0;
|
|
344
342
|
var o;
|
|
345
343
|
return (function(n) {
|
|
346
344
|
n[n.Author = 0] = "Author", n[n.Warning = 1] = "Warning", n[n.Error = 2] = "Error";
|
|
347
|
-
})(o || (
|
|
345
|
+
})(o || (ae.ErrorType = o = {})), ae;
|
|
348
346
|
}
|
|
349
|
-
var
|
|
347
|
+
var oe = {}, le = {}, qi;
|
|
350
348
|
function Ea() {
|
|
351
|
-
if (qi) return
|
|
352
|
-
qi = 1, Object.defineProperty(
|
|
349
|
+
if (qi) return le;
|
|
350
|
+
qi = 1, Object.defineProperty(le, "__esModule", { value: !0 }), le.Argument = void 0;
|
|
353
351
|
let o = class {
|
|
354
352
|
constructor(a = null, e = null, f = null) {
|
|
355
353
|
this.identifier = a, this.isByReference = e, this.isDivertTarget = f;
|
|
@@ -358,9 +356,9 @@ function Ea() {
|
|
|
358
356
|
return "Argument";
|
|
359
357
|
}
|
|
360
358
|
};
|
|
361
|
-
return
|
|
359
|
+
return le.Argument = o, le;
|
|
362
360
|
}
|
|
363
|
-
var
|
|
361
|
+
var ue = {}, he = {}, at = {}, Gi;
|
|
364
362
|
function Z() {
|
|
365
363
|
if (Gi) return at;
|
|
366
364
|
Gi = 1, Object.defineProperty(at, "__esModule", { value: !0 }), at.filterUndef = at.isEquatable = at.nullIfUndefined = at.asINamedContentOrNull = at.asBooleanOrThrows = at.asNumberOrThrows = at.asOrThrows = at.asOrNull = void 0;
|
|
@@ -408,8 +406,8 @@ function Z() {
|
|
|
408
406
|
}
|
|
409
407
|
var $i;
|
|
410
408
|
function et() {
|
|
411
|
-
if ($i) return
|
|
412
|
-
$i = 1, Object.defineProperty(
|
|
409
|
+
if ($i) return he;
|
|
410
|
+
$i = 1, Object.defineProperty(he, "__esModule", { value: !0 }), he.ParsedObject = void 0;
|
|
413
411
|
const o = Z();
|
|
414
412
|
class n {
|
|
415
413
|
constructor() {
|
|
@@ -500,12 +498,12 @@ function et() {
|
|
|
500
498
|
}
|
|
501
499
|
}
|
|
502
500
|
}
|
|
503
|
-
return
|
|
501
|
+
return he.ParsedObject = n, he;
|
|
504
502
|
}
|
|
505
503
|
var Ui;
|
|
506
504
|
function Oi() {
|
|
507
|
-
if (Ui) return
|
|
508
|
-
Ui = 1, Object.defineProperty(
|
|
505
|
+
if (Ui) return ue;
|
|
506
|
+
Ui = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.AuthorWarning = void 0;
|
|
509
507
|
const o = et();
|
|
510
508
|
let n = class extends o.ParsedObject {
|
|
511
509
|
constructor(e) {
|
|
@@ -515,9 +513,9 @@ function Oi() {
|
|
|
515
513
|
return "AuthorWarning";
|
|
516
514
|
}
|
|
517
515
|
};
|
|
518
|
-
return
|
|
516
|
+
return ue.AuthorWarning = n, ue;
|
|
519
517
|
}
|
|
520
|
-
var
|
|
518
|
+
var ce = {}, de = {}, Kt = {}, tt = {}, fe = {}, Ht = {}, Ki;
|
|
521
519
|
function St() {
|
|
522
520
|
if (Ki) return Ht;
|
|
523
521
|
Ki = 1, Object.defineProperty(Ht, "__esModule", { value: !0 }), Ht.Path = void 0;
|
|
@@ -631,10 +629,10 @@ function St() {
|
|
|
631
629
|
n.Component = a;
|
|
632
630
|
})(o || (Ht.Path = o = {})), Ht;
|
|
633
631
|
}
|
|
634
|
-
var
|
|
632
|
+
var pe = {}, Hi;
|
|
635
633
|
function ti() {
|
|
636
|
-
if (Hi) return
|
|
637
|
-
Hi = 1, Object.defineProperty(
|
|
634
|
+
if (Hi) return pe;
|
|
635
|
+
Hi = 1, Object.defineProperty(pe, "__esModule", { value: !0 }), pe.Debug = void 0;
|
|
638
636
|
var o;
|
|
639
637
|
return (function(n) {
|
|
640
638
|
function a(f, t, p) {
|
|
@@ -646,7 +644,7 @@ function ti() {
|
|
|
646
644
|
throw typeof t < "u" && console.warn(t), console.trace && console.trace(), new Error("");
|
|
647
645
|
}
|
|
648
646
|
n.Assert = e;
|
|
649
|
-
})(o || (
|
|
647
|
+
})(o || (pe.Debug = o = {})), pe;
|
|
650
648
|
}
|
|
651
649
|
var jt = {}, Ji;
|
|
652
650
|
function ft() {
|
|
@@ -662,8 +660,8 @@ function ft() {
|
|
|
662
660
|
}
|
|
663
661
|
var zi;
|
|
664
662
|
function yt() {
|
|
665
|
-
if (zi) return
|
|
666
|
-
zi = 1, Object.defineProperty(
|
|
663
|
+
if (zi) return fe;
|
|
664
|
+
zi = 1, Object.defineProperty(fe, "__esModule", { value: !0 }), fe.InkObject = void 0;
|
|
667
665
|
const o = St(), n = ot(), a = ti(), e = Z(), f = ft();
|
|
668
666
|
class t {
|
|
669
667
|
constructor() {
|
|
@@ -765,12 +763,12 @@ function yt() {
|
|
|
765
763
|
return r === this;
|
|
766
764
|
}
|
|
767
765
|
}
|
|
768
|
-
return
|
|
766
|
+
return fe.InkObject = t, fe;
|
|
769
767
|
}
|
|
770
|
-
var Mt = {},
|
|
768
|
+
var Mt = {}, me = {}, Xi;
|
|
771
769
|
function Yt() {
|
|
772
|
-
if (Xi) return
|
|
773
|
-
Xi = 1, Object.defineProperty(
|
|
770
|
+
if (Xi) return me;
|
|
771
|
+
Xi = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.StringBuilder = void 0;
|
|
774
772
|
let o = class {
|
|
775
773
|
constructor(a) {
|
|
776
774
|
a = typeof a < "u" ? a.toString() : "", this.string = a;
|
|
@@ -795,7 +793,7 @@ function Yt() {
|
|
|
795
793
|
this.string = "";
|
|
796
794
|
}
|
|
797
795
|
};
|
|
798
|
-
return
|
|
796
|
+
return me.StringBuilder = o, me;
|
|
799
797
|
}
|
|
800
798
|
var Yi;
|
|
801
799
|
function vt() {
|
|
@@ -1138,19 +1136,19 @@ function vt() {
|
|
|
1138
1136
|
};
|
|
1139
1137
|
return Mt.InkList = e, Mt;
|
|
1140
1138
|
}
|
|
1141
|
-
var
|
|
1139
|
+
var ge = {}, Zi;
|
|
1142
1140
|
function ei() {
|
|
1143
|
-
if (Zi) return
|
|
1144
|
-
Zi = 1, Object.defineProperty(
|
|
1141
|
+
if (Zi) return ge;
|
|
1142
|
+
Zi = 1, Object.defineProperty(ge, "__esModule", { value: !0 }), ge.StoryException = void 0;
|
|
1145
1143
|
let o = class extends Error {
|
|
1146
1144
|
constructor(a) {
|
|
1147
1145
|
super(a), this.useEndLineNumber = !1, this.message = a, this.name = "StoryException";
|
|
1148
1146
|
}
|
|
1149
1147
|
};
|
|
1150
|
-
return
|
|
1148
|
+
return ge.StoryException = o, ge;
|
|
1151
1149
|
}
|
|
1152
1150
|
var Nt = {}, Qi;
|
|
1153
|
-
function
|
|
1151
|
+
function Bn() {
|
|
1154
1152
|
if (Qi) return Nt;
|
|
1155
1153
|
Qi = 1, Object.defineProperty(Nt, "__esModule", { value: !0 }), Nt.tryParseFloat = Nt.tryParseInt = Nt.tryGetValueFromMap = void 0;
|
|
1156
1154
|
function o(e, f, t) {
|
|
@@ -1175,7 +1173,7 @@ var tr;
|
|
|
1175
1173
|
function it() {
|
|
1176
1174
|
if (tr) return tt;
|
|
1177
1175
|
tr = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.ValueType = tt.ListValue = tt.VariablePointerValue = tt.DivertTargetValue = tt.StringValue = tt.FloatValue = tt.IntValue = tt.BoolValue = tt.Value = tt.AbstractValue = void 0;
|
|
1178
|
-
const o = yt(), n = St(), a = vt(), e = ei(), f = Z(), t =
|
|
1176
|
+
const o = yt(), n = St(), a = vt(), e = ei(), f = Z(), t = Bn(), p = ft();
|
|
1179
1177
|
class r extends o.InkObject {
|
|
1180
1178
|
static Create(w, F) {
|
|
1181
1179
|
if (F) {
|
|
@@ -1443,10 +1441,10 @@ function it() {
|
|
|
1443
1441
|
I[I.Bool = -1] = "Bool", I[I.Int = 0] = "Int", I[I.Float = 1] = "Float", I[I.List = 2] = "List", I[I.String = 3] = "String", I[I.DivertTarget = 4] = "DivertTarget", I[I.VariablePointer = 5] = "VariablePointer";
|
|
1444
1442
|
})(O || (tt.ValueType = O = {})), tt;
|
|
1445
1443
|
}
|
|
1446
|
-
var
|
|
1444
|
+
var Ce = {}, er;
|
|
1447
1445
|
function wa() {
|
|
1448
|
-
if (er) return
|
|
1449
|
-
er = 1, Object.defineProperty(
|
|
1446
|
+
if (er) return Ce;
|
|
1447
|
+
er = 1, Object.defineProperty(Ce, "__esModule", { value: !0 }), Ce.SearchResult = void 0;
|
|
1450
1448
|
const o = ot();
|
|
1451
1449
|
let n = class ks {
|
|
1452
1450
|
constructor() {
|
|
@@ -1463,13 +1461,13 @@ function wa() {
|
|
|
1463
1461
|
return e.obj = this.obj, e.approximate = this.approximate, e;
|
|
1464
1462
|
}
|
|
1465
1463
|
};
|
|
1466
|
-
return
|
|
1464
|
+
return Ce.SearchResult = n, Ce;
|
|
1467
1465
|
}
|
|
1468
1466
|
var nr;
|
|
1469
1467
|
function ot() {
|
|
1470
1468
|
if (nr) return Kt;
|
|
1471
1469
|
nr = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.Container = void 0;
|
|
1472
|
-
const o = it(), n = ft(), a = Yt(), e = yt(), f = wa(), t = St(), p = ti(), r =
|
|
1470
|
+
const o = it(), n = ft(), a = Yt(), e = yt(), f = wa(), t = St(), p = ti(), r = Bn(), y = Z();
|
|
1473
1471
|
let s = class gt extends e.InkObject {
|
|
1474
1472
|
constructor() {
|
|
1475
1473
|
super(...arguments), this.name = null, this._content = [], this.namedContent = /* @__PURE__ */ new Map(), this.visitsShouldBeCounted = !1, this.turnIndexShouldBeCounted = !1, this.countingAtStartOnly = !1, this._pathToFirstLeafContent = null;
|
|
@@ -1731,8 +1729,8 @@ function pt() {
|
|
|
1731
1729
|
}
|
|
1732
1730
|
var rr;
|
|
1733
1731
|
function Ot() {
|
|
1734
|
-
if (rr) return
|
|
1735
|
-
rr = 1, Object.defineProperty(
|
|
1732
|
+
if (rr) return de;
|
|
1733
|
+
rr = 1, Object.defineProperty(de, "__esModule", { value: !0 }), de.Expression = void 0;
|
|
1736
1734
|
const o = ot(), n = pt(), a = et();
|
|
1737
1735
|
let e = class extends a.ParsedObject {
|
|
1738
1736
|
constructor() {
|
|
@@ -1755,24 +1753,24 @@ function Ot() {
|
|
|
1755
1753
|
return !1;
|
|
1756
1754
|
}
|
|
1757
1755
|
};
|
|
1758
|
-
return
|
|
1756
|
+
return de.Expression = e, de;
|
|
1759
1757
|
}
|
|
1760
|
-
var
|
|
1758
|
+
var ve = {}, Se = {}, sr;
|
|
1761
1759
|
function Zt() {
|
|
1762
|
-
if (sr) return
|
|
1763
|
-
sr = 1, Object.defineProperty(
|
|
1760
|
+
if (sr) return Se;
|
|
1761
|
+
sr = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.Void = void 0;
|
|
1764
1762
|
const o = yt();
|
|
1765
1763
|
let n = class extends o.InkObject {
|
|
1766
1764
|
toString() {
|
|
1767
1765
|
return "Void";
|
|
1768
1766
|
}
|
|
1769
1767
|
};
|
|
1770
|
-
return
|
|
1768
|
+
return Se.Void = n, Se;
|
|
1771
1769
|
}
|
|
1772
1770
|
var ar;
|
|
1773
1771
|
function Ft() {
|
|
1774
|
-
if (ar) return
|
|
1775
|
-
ar = 1, Object.defineProperty(
|
|
1772
|
+
if (ar) return ve;
|
|
1773
|
+
ar = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.NativeFunctionCall = void 0;
|
|
1776
1774
|
const o = it(), n = ei(), a = Zt(), e = vt(), f = yt(), t = Z(), p = ft();
|
|
1777
1775
|
let r = class Ct extends f.InkObject {
|
|
1778
1776
|
static CallWithName(s) {
|
|
@@ -1970,12 +1968,12 @@ function Ft() {
|
|
|
1970
1968
|
return 'Native "' + this.name + '"';
|
|
1971
1969
|
}
|
|
1972
1970
|
};
|
|
1973
|
-
return
|
|
1971
|
+
return ve.NativeFunctionCall = r, r.Add = "+", r.Subtract = "-", r.Divide = "/", r.Multiply = "*", r.Mod = "%", r.Negate = "_", r.Equal = "==", r.Greater = ">", r.Less = "<", r.GreaterThanOrEquals = ">=", r.LessThanOrEquals = "<=", r.NotEquals = "!=", r.Not = "!", r.And = "&&", r.Or = "||", r.Min = "MIN", r.Max = "MAX", r.Pow = "POW", r.Floor = "FLOOR", r.Ceiling = "CEILING", r.Int = "INT", r.Float = "FLOAT", r.Has = "?", r.Hasnt = "!?", r.Intersect = "^", r.ListMin = "LIST_MIN", r.ListMax = "LIST_MAX", r.All = "LIST_ALL", r.Count = "LIST_COUNT", r.ValueOfList = "LIST_VALUE", r.Invert = "LIST_INVERT", r._nativeFunctions = null, ve;
|
|
1974
1972
|
}
|
|
1975
|
-
var
|
|
1973
|
+
var ye = {}, be = {}, or;
|
|
1976
1974
|
function xi() {
|
|
1977
|
-
if (or) return
|
|
1978
|
-
or = 1, Object.defineProperty(
|
|
1975
|
+
if (or) return be;
|
|
1976
|
+
or = 1, Object.defineProperty(be, "__esModule", { value: !0 }), be.NumberExpression = void 0;
|
|
1979
1977
|
const o = Ot(), n = it(), a = Z();
|
|
1980
1978
|
let e = class Ds extends o.Expression {
|
|
1981
1979
|
constructor(t, p) {
|
|
@@ -1994,12 +1992,12 @@ function xi() {
|
|
|
1994
1992
|
return p ? p.subtype == this.subtype && p.value == this.value : !1;
|
|
1995
1993
|
}
|
|
1996
1994
|
};
|
|
1997
|
-
return
|
|
1995
|
+
return be.NumberExpression = e, be;
|
|
1998
1996
|
}
|
|
1999
1997
|
var lr;
|
|
2000
1998
|
function Vs() {
|
|
2001
|
-
if (lr) return
|
|
2002
|
-
lr = 1, Object.defineProperty(
|
|
1999
|
+
if (lr) return ye;
|
|
2000
|
+
lr = 1, Object.defineProperty(ye, "__esModule", { value: !0 }), ye.UnaryExpression = void 0;
|
|
2003
2001
|
const o = Ot(), n = Ft(), a = xi(), e = Z();
|
|
2004
2002
|
let f = class extends o.Expression {
|
|
2005
2003
|
get nativeNameForOp() {
|
|
@@ -2014,7 +2012,7 @@ function Vs() {
|
|
|
2014
2012
|
return "UnaryExpression";
|
|
2015
2013
|
}
|
|
2016
2014
|
};
|
|
2017
|
-
return
|
|
2015
|
+
return ye.UnaryExpression = f, f.WithInner = (t, p) => {
|
|
2018
2016
|
const r = (0, e.asOrNull)(t, a.NumberExpression);
|
|
2019
2017
|
if (r) {
|
|
2020
2018
|
if (p === "-") {
|
|
@@ -2033,12 +2031,12 @@ function Vs() {
|
|
|
2033
2031
|
throw new Error("Unexpected operation or number type");
|
|
2034
2032
|
}
|
|
2035
2033
|
return new f(t, p);
|
|
2036
|
-
},
|
|
2034
|
+
}, ye;
|
|
2037
2035
|
}
|
|
2038
2036
|
var ur;
|
|
2039
2037
|
function Ws() {
|
|
2040
|
-
if (ur) return
|
|
2041
|
-
ur = 1, Object.defineProperty(
|
|
2038
|
+
if (ur) return ce;
|
|
2039
|
+
ur = 1, Object.defineProperty(ce, "__esModule", { value: !0 }), ce.BinaryExpression = void 0;
|
|
2042
2040
|
const o = Ot(), n = Ft(), a = Vs(), e = Z();
|
|
2043
2041
|
let f = class extends o.Expression {
|
|
2044
2042
|
constructor(p, r, y) {
|
|
@@ -2056,12 +2054,12 @@ function Ws() {
|
|
|
2056
2054
|
}
|
|
2057
2055
|
}
|
|
2058
2056
|
};
|
|
2059
|
-
return
|
|
2057
|
+
return ce.BinaryExpression = f, ce;
|
|
2060
2058
|
}
|
|
2061
|
-
var
|
|
2059
|
+
var _e = {}, Ee = {}, hr;
|
|
2062
2060
|
function ni() {
|
|
2063
|
-
if (hr) return
|
|
2064
|
-
hr = 1, Object.defineProperty(
|
|
2061
|
+
if (hr) return Ee;
|
|
2062
|
+
hr = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.CharacterSet = void 0;
|
|
2065
2063
|
let o = class {
|
|
2066
2064
|
constructor(a) {
|
|
2067
2065
|
this.set = /* @__PURE__ */ new Set(), this.Add = (e) => this.set.add(e), this.AddRange = (e, f) => {
|
|
@@ -2079,12 +2077,12 @@ function ni() {
|
|
|
2079
2077
|
}, a && this.AddCharacters(a);
|
|
2080
2078
|
}
|
|
2081
2079
|
};
|
|
2082
|
-
return
|
|
2080
|
+
return Ee.CharacterSet = o, o.FromRange = (n, a) => new o().AddRange(n, a), Ee;
|
|
2083
2081
|
}
|
|
2084
2082
|
var cr;
|
|
2085
2083
|
function Pa() {
|
|
2086
|
-
if (cr) return
|
|
2087
|
-
cr = 1, Object.defineProperty(
|
|
2084
|
+
if (cr) return _e;
|
|
2085
|
+
cr = 1, Object.defineProperty(_e, "__esModule", { value: !0 }), _e.CharacterRange = void 0;
|
|
2088
2086
|
const o = ni();
|
|
2089
2087
|
let n = class {
|
|
2090
2088
|
constructor(e, f, t = []) {
|
|
@@ -2106,12 +2104,12 @@ function Pa() {
|
|
|
2106
2104
|
return this._end;
|
|
2107
2105
|
}
|
|
2108
2106
|
};
|
|
2109
|
-
return
|
|
2107
|
+
return _e.CharacterRange = n, n.Define = (a, e, f = []) => new n(a, e, f), _e;
|
|
2110
2108
|
}
|
|
2111
|
-
var
|
|
2109
|
+
var we = {}, Pe = {}, dr;
|
|
2112
2110
|
function Ti() {
|
|
2113
|
-
if (dr) return
|
|
2114
|
-
dr = 1, Object.defineProperty(
|
|
2111
|
+
if (dr) return Pe;
|
|
2112
|
+
dr = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.ChoicePoint = void 0;
|
|
2115
2113
|
const o = yt(), n = St(), a = ft();
|
|
2116
2114
|
let e = class extends o.InkObject {
|
|
2117
2115
|
constructor(t = !0) {
|
|
@@ -2147,21 +2145,21 @@ function Ti() {
|
|
|
2147
2145
|
return this.pathOnChoice === null ? (0, a.throwNullException)("ChoicePoint.pathOnChoice") : "Choice: -> " + this.pathOnChoice.toString();
|
|
2148
2146
|
}
|
|
2149
2147
|
};
|
|
2150
|
-
return
|
|
2148
|
+
return Pe.ChoicePoint = e, Pe;
|
|
2151
2149
|
}
|
|
2152
|
-
var
|
|
2150
|
+
var Oe = {}, xe = {}, fr;
|
|
2153
2151
|
function Qt() {
|
|
2154
|
-
if (fr) return
|
|
2155
|
-
fr = 1, Object.defineProperty(
|
|
2152
|
+
if (fr) return xe;
|
|
2153
|
+
fr = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.PushPopType = void 0;
|
|
2156
2154
|
var o;
|
|
2157
2155
|
return (function(n) {
|
|
2158
2156
|
n[n.Tunnel = 0] = "Tunnel", n[n.Function = 1] = "Function", n[n.FunctionEvaluationFromGame = 2] = "FunctionEvaluationFromGame";
|
|
2159
|
-
})(o || (
|
|
2157
|
+
})(o || (xe.PushPopType = o = {})), xe;
|
|
2160
2158
|
}
|
|
2161
|
-
var
|
|
2159
|
+
var Te = {}, pr;
|
|
2162
2160
|
function ii() {
|
|
2163
|
-
if (pr) return
|
|
2164
|
-
pr = 1, Object.defineProperty(
|
|
2161
|
+
if (pr) return Te;
|
|
2162
|
+
pr = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.Pointer = void 0;
|
|
2165
2163
|
const o = St();
|
|
2166
2164
|
let n = class Xn {
|
|
2167
2165
|
constructor() {
|
|
@@ -2191,12 +2189,12 @@ function ii() {
|
|
|
2191
2189
|
return new Xn(null, -1);
|
|
2192
2190
|
}
|
|
2193
2191
|
};
|
|
2194
|
-
return
|
|
2192
|
+
return Te.Pointer = n, Te;
|
|
2195
2193
|
}
|
|
2196
2194
|
var mr;
|
|
2197
2195
|
function Rt() {
|
|
2198
|
-
if (mr) return
|
|
2199
|
-
mr = 1, Object.defineProperty(
|
|
2196
|
+
if (mr) return Oe;
|
|
2197
|
+
mr = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.Divert = void 0;
|
|
2200
2198
|
const o = St(), n = Qt(), a = Yt(), e = yt(), f = ii(), t = ot(), p = ft();
|
|
2201
2199
|
class r extends e.InkObject {
|
|
2202
2200
|
get targetPath() {
|
|
@@ -2252,21 +2250,21 @@ function Rt() {
|
|
|
2252
2250
|
}
|
|
2253
2251
|
}
|
|
2254
2252
|
}
|
|
2255
|
-
return
|
|
2253
|
+
return Oe.Divert = r, Oe;
|
|
2256
2254
|
}
|
|
2257
|
-
var
|
|
2255
|
+
var Ne = {}, gr;
|
|
2258
2256
|
function Wt() {
|
|
2259
|
-
if (gr) return
|
|
2260
|
-
gr = 1, Object.defineProperty(
|
|
2257
|
+
if (gr) return Ne;
|
|
2258
|
+
gr = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.SymbolType = void 0;
|
|
2261
2259
|
var o;
|
|
2262
2260
|
return (function(n) {
|
|
2263
2261
|
n[n.Knot = 0] = "Knot", n[n.List = 1] = "List", n[n.ListItem = 2] = "ListItem", n[n.Var = 3] = "Var", n[n.SubFlowAndWeave = 4] = "SubFlowAndWeave", n[n.Arg = 5] = "Arg", n[n.Temp = 6] = "Temp";
|
|
2264
|
-
})(o || (
|
|
2262
|
+
})(o || (Ne.SymbolType = o = {})), Ne;
|
|
2265
2263
|
}
|
|
2266
|
-
var
|
|
2264
|
+
var Ie = {}, Cr;
|
|
2267
2265
|
function Gt() {
|
|
2268
|
-
if (Cr) return
|
|
2269
|
-
Cr = 1, Object.defineProperty(
|
|
2266
|
+
if (Cr) return Ie;
|
|
2267
|
+
Cr = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.VariableAssignment = void 0;
|
|
2270
2268
|
const o = yt();
|
|
2271
2269
|
class n extends o.InkObject {
|
|
2272
2270
|
constructor(e, f) {
|
|
@@ -2276,12 +2274,12 @@ function Gt() {
|
|
|
2276
2274
|
return "VarAssign to " + this.variableName;
|
|
2277
2275
|
}
|
|
2278
2276
|
}
|
|
2279
|
-
return
|
|
2277
|
+
return Ie.VariableAssignment = n, Ie;
|
|
2280
2278
|
}
|
|
2281
2279
|
var vr;
|
|
2282
|
-
function
|
|
2283
|
-
if (vr) return
|
|
2284
|
-
vr = 1, Object.defineProperty(
|
|
2280
|
+
function qn() {
|
|
2281
|
+
if (vr) return we;
|
|
2282
|
+
vr = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.Choice = void 0;
|
|
2285
2283
|
const o = Ti(), n = ot(), a = pt(), e = Rt(), f = it(), t = et(), p = Wt(), r = Gt();
|
|
2286
2284
|
class y extends t.ParsedObject {
|
|
2287
2285
|
get runtimeChoice() {
|
|
@@ -2373,12 +2371,12 @@ function Gn() {
|
|
|
2373
2371
|
super.ResolveReferences(c), this.identifier && (((i = this.identifier) === null || i === void 0 ? void 0 : i.name) || "").length > 0 && c.CheckForNamingCollisions(this, this.identifier, p.SymbolType.SubFlowAndWeave);
|
|
2374
2372
|
}
|
|
2375
2373
|
}
|
|
2376
|
-
return
|
|
2374
|
+
return we.Choice = y, we;
|
|
2377
2375
|
}
|
|
2378
|
-
var
|
|
2376
|
+
var Ae = {}, ci = {}, Fe = {}, Re = {}, Sr;
|
|
2379
2377
|
function Oa() {
|
|
2380
|
-
if (Sr) return
|
|
2381
|
-
Sr = 1, Object.defineProperty(
|
|
2378
|
+
if (Sr) return Re;
|
|
2379
|
+
Sr = 1, Object.defineProperty(Re, "__esModule", { value: !0 }), Re.StringParserElement = void 0;
|
|
2382
2380
|
let o = class Ci {
|
|
2383
2381
|
constructor() {
|
|
2384
2382
|
this.characterIndex = 0, this.characterInLineIndex = 0, this.lineIndex = 0, this.reportedErrorInScope = !1, this.uniqueId = 0, this.customFlags = 0, this.CopyFrom = (a) => {
|
|
@@ -2388,12 +2386,12 @@ function Oa() {
|
|
|
2388
2386
|
};
|
|
2389
2387
|
}
|
|
2390
2388
|
};
|
|
2391
|
-
return
|
|
2389
|
+
return Re.StringParserElement = o, o._uniqueIdCounter = 1e3, Re;
|
|
2392
2390
|
}
|
|
2393
2391
|
var yr;
|
|
2394
2392
|
function xa() {
|
|
2395
|
-
if (yr) return
|
|
2396
|
-
yr = 1, Object.defineProperty(
|
|
2393
|
+
if (yr) return Fe;
|
|
2394
|
+
yr = 1, Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.StringParserState = void 0;
|
|
2397
2395
|
const o = Oa();
|
|
2398
2396
|
let n = class {
|
|
2399
2397
|
get currentElement() {
|
|
@@ -2465,7 +2463,7 @@ function xa() {
|
|
|
2465
2463
|
this._numElements = 1;
|
|
2466
2464
|
}
|
|
2467
2465
|
};
|
|
2468
|
-
return
|
|
2466
|
+
return Fe.StringParserState = n, Fe;
|
|
2469
2467
|
}
|
|
2470
2468
|
var br;
|
|
2471
2469
|
function Ls() {
|
|
@@ -2690,8 +2688,8 @@ function Ls() {
|
|
|
2690
2688
|
}
|
|
2691
2689
|
var _r;
|
|
2692
2690
|
function Ta() {
|
|
2693
|
-
if (_r) return
|
|
2694
|
-
_r = 1, Object.defineProperty(
|
|
2691
|
+
if (_r) return Ae;
|
|
2692
|
+
_r = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.CommentEliminator = void 0;
|
|
2695
2693
|
const o = ni(), n = Ls();
|
|
2696
2694
|
let a = class extends n.StringParser {
|
|
2697
2695
|
constructor() {
|
|
@@ -2715,12 +2713,12 @@ function Ta() {
|
|
|
2715
2713
|
return f;
|
|
2716
2714
|
}
|
|
2717
2715
|
};
|
|
2718
|
-
return
|
|
2716
|
+
return Ae.CommentEliminator = a, Ae;
|
|
2719
2717
|
}
|
|
2720
|
-
var
|
|
2718
|
+
var ke = {}, Er;
|
|
2721
2719
|
function Ni() {
|
|
2722
|
-
if (Er) return
|
|
2723
|
-
Er = 1, Object.defineProperty(
|
|
2720
|
+
if (Er) return ke;
|
|
2721
|
+
Er = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.Conditional = void 0;
|
|
2724
2722
|
const o = ot(), n = pt(), a = et();
|
|
2725
2723
|
let e = class extends a.ParsedObject {
|
|
2726
2724
|
constructor(t, p) {
|
|
@@ -2747,12 +2745,12 @@ function Ni() {
|
|
|
2747
2745
|
super.ResolveReferences(t);
|
|
2748
2746
|
}
|
|
2749
2747
|
};
|
|
2750
|
-
return
|
|
2748
|
+
return ke.Conditional = e, ke;
|
|
2751
2749
|
}
|
|
2752
|
-
var
|
|
2750
|
+
var De = {}, Ve = {}, wr;
|
|
2753
2751
|
function $t() {
|
|
2754
|
-
if (wr) return
|
|
2755
|
-
wr = 1, Object.defineProperty(
|
|
2752
|
+
if (wr) return Ve;
|
|
2753
|
+
wr = 1, Object.defineProperty(Ve, "__esModule", { value: !0 }), Ve.Text = void 0;
|
|
2756
2754
|
const o = et(), n = it();
|
|
2757
2755
|
let a = class extends o.ParsedObject {
|
|
2758
2756
|
constructor(f) {
|
|
@@ -2762,12 +2760,12 @@ function $t() {
|
|
|
2762
2760
|
return "Text";
|
|
2763
2761
|
}
|
|
2764
2762
|
};
|
|
2765
|
-
return
|
|
2763
|
+
return Ve.Text = a, Ve;
|
|
2766
2764
|
}
|
|
2767
|
-
var
|
|
2765
|
+
var We = {}, Le = {}, Pr;
|
|
2768
2766
|
function Ii() {
|
|
2769
|
-
if (Pr) return
|
|
2770
|
-
Pr = 1, Object.defineProperty(
|
|
2767
|
+
if (Pr) return Le;
|
|
2768
|
+
Pr = 1, Object.defineProperty(Le, "__esModule", { value: !0 }), Le.ConstantDeclaration = void 0;
|
|
2771
2769
|
const o = et(), n = Wt();
|
|
2772
2770
|
let a = class extends o.ParsedObject {
|
|
2773
2771
|
get constantName() {
|
|
@@ -2789,21 +2787,21 @@ function Ii() {
|
|
|
2789
2787
|
super.ResolveReferences(f), f.CheckForNamingCollisions(this, this.constantIdentifier, n.SymbolType.Var);
|
|
2790
2788
|
}
|
|
2791
2789
|
};
|
|
2792
|
-
return
|
|
2790
|
+
return Le.ConstantDeclaration = a, Le;
|
|
2793
2791
|
}
|
|
2794
|
-
var
|
|
2795
|
-
function
|
|
2796
|
-
if (Or) return
|
|
2797
|
-
Or = 1, Object.defineProperty(
|
|
2792
|
+
var je = {}, Me = {}, Be = {}, qe = {}, Or;
|
|
2793
|
+
function Gn() {
|
|
2794
|
+
if (Or) return qe;
|
|
2795
|
+
Or = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.FlowLevel = void 0;
|
|
2798
2796
|
var o;
|
|
2799
2797
|
return (function(n) {
|
|
2800
2798
|
n[n.Story = 0] = "Story", n[n.Knot = 1] = "Knot", n[n.Stitch = 2] = "Stitch", n[n.WeavePoint = 3] = "WeavePoint";
|
|
2801
|
-
})(o || (
|
|
2799
|
+
})(o || (qe.FlowLevel = o = {})), qe;
|
|
2802
2800
|
}
|
|
2803
|
-
var
|
|
2801
|
+
var Ge = {}, xr;
|
|
2804
2802
|
function ri() {
|
|
2805
|
-
if (xr) return
|
|
2806
|
-
xr = 1, Object.defineProperty(
|
|
2803
|
+
if (xr) return Ge;
|
|
2804
|
+
xr = 1, Object.defineProperty(Ge, "__esModule", { value: !0 }), Ge.Gather = void 0;
|
|
2807
2805
|
const o = ot(), n = et(), a = Wt();
|
|
2808
2806
|
let e = class extends n.ParsedObject {
|
|
2809
2807
|
get name() {
|
|
@@ -2832,13 +2830,13 @@ function ri() {
|
|
|
2832
2830
|
super.ResolveReferences(t), this.identifier && (this.identifier.name || "").length > 0 && t.CheckForNamingCollisions(this, this.identifier, a.SymbolType.SubFlowAndWeave);
|
|
2833
2831
|
}
|
|
2834
2832
|
};
|
|
2835
|
-
return
|
|
2833
|
+
return Ge.Gather = e, Ge;
|
|
2836
2834
|
}
|
|
2837
|
-
var
|
|
2835
|
+
var $e = {}, Tr;
|
|
2838
2836
|
function te() {
|
|
2839
|
-
if (Tr) return
|
|
2840
|
-
Tr = 1, Object.defineProperty(
|
|
2841
|
-
const o = Z(), n = kt(), a =
|
|
2837
|
+
if (Tr) return $e;
|
|
2838
|
+
Tr = 1, Object.defineProperty($e, "__esModule", { value: !0 }), $e.Path = void 0;
|
|
2839
|
+
const o = Z(), n = kt(), a = Gn(), e = ee();
|
|
2842
2840
|
let f = class {
|
|
2843
2841
|
get baseTargetLevel() {
|
|
2844
2842
|
return this.baseLevelIsAmbiguous ? a.FlowLevel.Story : this._baseTargetLevel;
|
|
@@ -2898,12 +2896,12 @@ function te() {
|
|
|
2898
2896
|
return "Path";
|
|
2899
2897
|
}
|
|
2900
2898
|
};
|
|
2901
|
-
return
|
|
2899
|
+
return $e.Path = f, $e;
|
|
2902
2900
|
}
|
|
2903
|
-
var
|
|
2901
|
+
var Ue = {}, Nr;
|
|
2904
2902
|
function js() {
|
|
2905
|
-
if (Nr) return
|
|
2906
|
-
Nr = 1, Object.defineProperty(
|
|
2903
|
+
if (Nr) return Ue;
|
|
2904
|
+
Nr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.ReturnType = void 0;
|
|
2907
2905
|
const o = et(), n = ot(), a = pt(), e = Zt();
|
|
2908
2906
|
let f = class extends o.ParsedObject {
|
|
2909
2907
|
constructor(p = null) {
|
|
@@ -2916,12 +2914,12 @@ function js() {
|
|
|
2916
2914
|
return "ReturnType";
|
|
2917
2915
|
}
|
|
2918
2916
|
};
|
|
2919
|
-
return
|
|
2917
|
+
return Ue.ReturnType = f, Ue;
|
|
2920
2918
|
}
|
|
2921
|
-
var
|
|
2919
|
+
var Ke = {}, Ir;
|
|
2922
2920
|
function si() {
|
|
2923
|
-
if (Ir) return
|
|
2924
|
-
Ir = 1, Object.defineProperty(
|
|
2921
|
+
if (Ir) return Ke;
|
|
2922
|
+
Ir = 1, Object.defineProperty(Ke, "__esModule", { value: !0 }), Ke.ClosestFlowBase = void 0;
|
|
2925
2923
|
function o(n) {
|
|
2926
2924
|
let a = n.parent;
|
|
2927
2925
|
for (; a; ) {
|
|
@@ -2931,12 +2929,12 @@ function si() {
|
|
|
2931
2929
|
}
|
|
2932
2930
|
return null;
|
|
2933
2931
|
}
|
|
2934
|
-
return
|
|
2932
|
+
return Ke.ClosestFlowBase = o, Ke;
|
|
2935
2933
|
}
|
|
2936
|
-
var
|
|
2934
|
+
var He = {}, Ar;
|
|
2937
2935
|
function Ai() {
|
|
2938
|
-
if (Ar) return
|
|
2939
|
-
Ar = 1, Object.defineProperty(
|
|
2936
|
+
if (Ar) return He;
|
|
2937
|
+
Ar = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.Identifier = void 0;
|
|
2940
2938
|
let o = class Ms {
|
|
2941
2939
|
constructor(a) {
|
|
2942
2940
|
this.debugMetadata = null, this.toString = () => this.name || "undefined identifer", this.name = a;
|
|
@@ -2948,13 +2946,13 @@ function Ai() {
|
|
|
2948
2946
|
return new Ms("DONE");
|
|
2949
2947
|
}
|
|
2950
2948
|
};
|
|
2951
|
-
return
|
|
2949
|
+
return He.Identifier = o, He;
|
|
2952
2950
|
}
|
|
2953
2951
|
var Fr;
|
|
2954
2952
|
function kt() {
|
|
2955
|
-
if (Fr) return
|
|
2956
|
-
Fr = 1, Object.defineProperty(
|
|
2957
|
-
const o =
|
|
2953
|
+
if (Fr) return Be;
|
|
2954
|
+
Fr = 1, Object.defineProperty(Be, "__esModule", { value: !0 }), Be.FlowBase = void 0;
|
|
2955
|
+
const o = qn(), n = Hn(), a = Kn(), e = Gn(), f = ri(), t = et(), p = te(), r = js(), y = ot(), s = Rt(), c = Gt(), i = Wt(), l = ee(), S = si(), P = Ai(), N = Z();
|
|
2958
2956
|
let O = class vi extends t.ParsedObject {
|
|
2959
2957
|
get hasParameters() {
|
|
2960
2958
|
return this.args !== null && this.args.length > 0;
|
|
@@ -3103,12 +3101,12 @@ function kt() {
|
|
|
3103
3101
|
}
|
|
3104
3102
|
}
|
|
3105
3103
|
};
|
|
3106
|
-
return
|
|
3104
|
+
return Be.FlowBase = O, Be;
|
|
3107
3105
|
}
|
|
3108
|
-
var
|
|
3106
|
+
var Je = {}, ze = {}, Xe = {}, Rr;
|
|
3109
3107
|
function Fi() {
|
|
3110
|
-
if (Rr) return
|
|
3111
|
-
Rr = 1, Object.defineProperty(
|
|
3108
|
+
if (Rr) return Xe;
|
|
3109
|
+
Rr = 1, Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.ContentList = void 0;
|
|
3112
3110
|
const o = ot(), n = et(), a = $t(), e = Z();
|
|
3113
3111
|
let f = class extends n.ParsedObject {
|
|
3114
3112
|
get runtimeContainer() {
|
|
@@ -3139,12 +3137,12 @@ function Fi() {
|
|
|
3139
3137
|
return "ContentList";
|
|
3140
3138
|
}
|
|
3141
3139
|
};
|
|
3142
|
-
return
|
|
3140
|
+
return Xe.ContentList = f, Xe;
|
|
3143
3141
|
}
|
|
3144
|
-
var
|
|
3145
|
-
function
|
|
3146
|
-
if (kr) return
|
|
3147
|
-
kr = 1, Object.defineProperty(
|
|
3142
|
+
var Ye = {}, kr;
|
|
3143
|
+
function $n() {
|
|
3144
|
+
if (kr) return Ye;
|
|
3145
|
+
kr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.VariableReference = void 0;
|
|
3148
3146
|
const o = yt(), n = St();
|
|
3149
3147
|
let a = class extends o.InkObject {
|
|
3150
3148
|
get containerForCount() {
|
|
@@ -3163,13 +3161,13 @@ function Un() {
|
|
|
3163
3161
|
return this.name != null ? "var(" + this.name + ")" : "read_count(" + this.pathStringForCount + ")";
|
|
3164
3162
|
}
|
|
3165
3163
|
};
|
|
3166
|
-
return
|
|
3164
|
+
return Ye.VariableReference = a, Ye;
|
|
3167
3165
|
}
|
|
3168
3166
|
var Dr;
|
|
3169
|
-
function
|
|
3170
|
-
if (Dr) return
|
|
3171
|
-
Dr = 1, Object.defineProperty(
|
|
3172
|
-
const o = Fi(), n = Ot(), a = kt(), e = te(), f =
|
|
3167
|
+
function Un() {
|
|
3168
|
+
if (Dr) return ze;
|
|
3169
|
+
Dr = 1, Object.defineProperty(ze, "__esModule", { value: !0 }), ze.VariableReference = void 0;
|
|
3170
|
+
const o = Fi(), n = Ot(), a = kt(), e = te(), f = $n(), t = ee(), p = Ai(), r = Z();
|
|
3173
3171
|
class y extends n.Expression {
|
|
3174
3172
|
// - Normal variables have a single item in their "path"
|
|
3175
3173
|
// - Knot/stitch names for read counts are actual dot-separated paths
|
|
@@ -3229,13 +3227,13 @@ function Kn() {
|
|
|
3229
3227
|
c.ResolveVariableWithName(this.name, this).found || this.Error(`Unresolved variable: ${this.name}`, this);
|
|
3230
3228
|
}
|
|
3231
3229
|
}
|
|
3232
|
-
return
|
|
3230
|
+
return ze.VariableReference = y, ze;
|
|
3233
3231
|
}
|
|
3234
3232
|
var Vr;
|
|
3235
3233
|
function ai() {
|
|
3236
|
-
if (Vr) return
|
|
3237
|
-
Vr = 1, Object.defineProperty(
|
|
3238
|
-
const o = pt(), n =
|
|
3234
|
+
if (Vr) return Je;
|
|
3235
|
+
Vr = 1, Object.defineProperty(Je, "__esModule", { value: !0 }), Je.FunctionCall = void 0;
|
|
3236
|
+
const o = pt(), n = Hn(), a = Kn(), e = Ot(), f = vt(), t = it(), p = Ft(), r = xi(), y = te(), s = it(), c = Un(), i = Z();
|
|
3239
3237
|
let l = class Si extends e.Expression {
|
|
3240
3238
|
get proxyDivert() {
|
|
3241
3239
|
return this._proxyDivert;
|
|
@@ -3363,12 +3361,12 @@ function ai() {
|
|
|
3363
3361
|
}
|
|
3364
3362
|
}
|
|
3365
3363
|
};
|
|
3366
|
-
return
|
|
3364
|
+
return Je.FunctionCall = l, l.IsBuiltIn = (S) => p.NativeFunctionCall.CallExistsWithName(S) ? !0 : S === "CHOICE_COUNT" || S === "TURNS_SINCE" || S === "TURNS" || S === "RANDOM" || S === "SEED_RANDOM" || S === "LIST_VALUE" || S === "LIST_RANDOM" || S === "READ_COUNT", Je;
|
|
3367
3365
|
}
|
|
3368
|
-
var
|
|
3366
|
+
var Ze = {}, Wr;
|
|
3369
3367
|
function Bs() {
|
|
3370
|
-
if (Wr) return
|
|
3371
|
-
Wr = 1, Object.defineProperty(
|
|
3368
|
+
if (Wr) return Ze;
|
|
3369
|
+
Wr = 1, Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.MultipleConditionExpression = void 0;
|
|
3372
3370
|
const o = Ot(), n = Ft();
|
|
3373
3371
|
let a = class extends o.Expression {
|
|
3374
3372
|
get subExpressions() {
|
|
@@ -3385,13 +3383,13 @@ function Bs() {
|
|
|
3385
3383
|
return "MultipleConditionExpression";
|
|
3386
3384
|
}
|
|
3387
3385
|
};
|
|
3388
|
-
return
|
|
3386
|
+
return Ze.MultipleConditionExpression = a, Ze;
|
|
3389
3387
|
}
|
|
3390
3388
|
var Lr;
|
|
3391
|
-
function
|
|
3392
|
-
if (Lr) return
|
|
3393
|
-
Lr = 1, Object.defineProperty(
|
|
3394
|
-
const o = Ws(), n =
|
|
3389
|
+
function Kn() {
|
|
3390
|
+
if (Lr) return Me;
|
|
3391
|
+
Lr = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.DivertTarget = void 0;
|
|
3392
|
+
const o = Ws(), n = qn(), a = Ni(), e = Hs(), f = it(), t = Ot(), p = kt(), r = ai(), y = Bs(), s = Un(), c = Z();
|
|
3395
3393
|
let i = class Yn extends t.Expression {
|
|
3396
3394
|
get runtimeDivert() {
|
|
3397
3395
|
if (!this._runtimeDivert)
|
|
@@ -3457,13 +3455,13 @@ function Hn() {
|
|
|
3457
3455
|
}
|
|
3458
3456
|
}
|
|
3459
3457
|
};
|
|
3460
|
-
return
|
|
3458
|
+
return Me.DivertTarget = i, Me;
|
|
3461
3459
|
}
|
|
3462
3460
|
var jr;
|
|
3463
|
-
function
|
|
3464
|
-
if (jr) return
|
|
3465
|
-
jr = 1, Object.defineProperty(
|
|
3466
|
-
const o = ot(), n = pt(), a = Rt(), e =
|
|
3461
|
+
function Hn() {
|
|
3462
|
+
if (jr) return je;
|
|
3463
|
+
jr = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.Divert = void 0;
|
|
3464
|
+
const o = ot(), n = pt(), a = Rt(), e = Kn(), f = kt(), t = ai(), p = et(), r = te(), y = St(), s = Qt(), c = it(), i = Un(), l = si(), S = Z();
|
|
3467
3465
|
let P = class extends p.ParsedObject {
|
|
3468
3466
|
get runtimeDivert() {
|
|
3469
3467
|
if (!this._runtimeDivert)
|
|
@@ -3631,43 +3629,43 @@ function Jn() {
|
|
|
3631
3629
|
this.isFunctionCall ? super.Error(`Function call ${O}`, I, w) : super.Error(`Divert ${O}`, I, w);
|
|
3632
3630
|
}
|
|
3633
3631
|
};
|
|
3634
|
-
return
|
|
3632
|
+
return je.Divert = P, je;
|
|
3635
3633
|
}
|
|
3636
|
-
var
|
|
3634
|
+
var Qe = {}, Mr;
|
|
3637
3635
|
function Na() {
|
|
3638
|
-
if (Mr) return
|
|
3639
|
-
Mr = 1, Object.defineProperty(
|
|
3636
|
+
if (Mr) return Qe;
|
|
3637
|
+
Mr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.GatherPointToResolve = void 0;
|
|
3640
3638
|
let o = class {
|
|
3641
3639
|
constructor(a, e) {
|
|
3642
3640
|
this.divert = a, this.targetRuntimeObj = e;
|
|
3643
3641
|
}
|
|
3644
3642
|
};
|
|
3645
|
-
return
|
|
3643
|
+
return Qe.GatherPointToResolve = o, Qe;
|
|
3646
3644
|
}
|
|
3647
|
-
var
|
|
3645
|
+
var tn = {}, en = {}, Br;
|
|
3648
3646
|
function Ia() {
|
|
3649
|
-
if (Br) return
|
|
3650
|
-
Br = 1, Object.defineProperty(
|
|
3647
|
+
if (Br) return en;
|
|
3648
|
+
Br = 1, Object.defineProperty(en, "__esModule", { value: !0 }), en.SequenceDivertToResolve = void 0;
|
|
3651
3649
|
let o = class {
|
|
3652
3650
|
constructor(a, e) {
|
|
3653
3651
|
this.divert = a, this.targetContent = e;
|
|
3654
3652
|
}
|
|
3655
3653
|
};
|
|
3656
|
-
return
|
|
3654
|
+
return en.SequenceDivertToResolve = o, en;
|
|
3657
3655
|
}
|
|
3658
|
-
var
|
|
3656
|
+
var nn = {}, qr;
|
|
3659
3657
|
function qs() {
|
|
3660
|
-
if (qr) return
|
|
3661
|
-
qr = 1, Object.defineProperty(
|
|
3658
|
+
if (qr) return nn;
|
|
3659
|
+
qr = 1, Object.defineProperty(nn, "__esModule", { value: !0 }), nn.SequenceType = void 0;
|
|
3662
3660
|
var o;
|
|
3663
3661
|
return (function(n) {
|
|
3664
3662
|
n[n.Stopping = 1] = "Stopping", n[n.Cycle = 2] = "Cycle", n[n.Shuffle = 4] = "Shuffle", n[n.Once = 8] = "Once";
|
|
3665
|
-
})(o || (
|
|
3663
|
+
})(o || (nn.SequenceType = o = {})), nn;
|
|
3666
3664
|
}
|
|
3667
3665
|
var Gr;
|
|
3668
3666
|
function Gs() {
|
|
3669
|
-
if (Gr) return
|
|
3670
|
-
Gr = 1, Object.defineProperty(
|
|
3667
|
+
if (Gr) return tn;
|
|
3668
|
+
Gr = 1, Object.defineProperty(tn, "__esModule", { value: !0 }), tn.Sequence = void 0;
|
|
3671
3669
|
const o = ot(), n = pt(), a = Rt(), e = it(), f = Ft(), t = et(), p = Ia(), r = qs(), y = ee();
|
|
3672
3670
|
let s = class extends t.ParsedObject {
|
|
3673
3671
|
constructor(i, l) {
|
|
@@ -3717,13 +3715,13 @@ function Gs() {
|
|
|
3717
3715
|
l.divert.targetPath = l.targetContent.path;
|
|
3718
3716
|
}
|
|
3719
3717
|
};
|
|
3720
|
-
return
|
|
3718
|
+
return tn.Sequence = s, tn;
|
|
3721
3719
|
}
|
|
3722
|
-
var
|
|
3720
|
+
var rn = {}, $r;
|
|
3723
3721
|
function $s() {
|
|
3724
|
-
if ($r) return
|
|
3725
|
-
$r = 1, Object.defineProperty(
|
|
3726
|
-
const o = ot(), n = pt(), a = Rt(), e = it(), f = et(), t = Zt(), p = Z(), r =
|
|
3722
|
+
if ($r) return rn;
|
|
3723
|
+
$r = 1, Object.defineProperty(rn, "__esModule", { value: !0 }), rn.TunnelOnwards = void 0;
|
|
3724
|
+
const o = ot(), n = pt(), a = Rt(), e = it(), f = et(), t = Zt(), p = Z(), r = $n();
|
|
3727
3725
|
let y = class extends f.ParsedObject {
|
|
3728
3726
|
constructor() {
|
|
3729
3727
|
super(...arguments), this._overrideDivertTarget = null, this._divertAfter = null, this.GenerateRuntimeObject = () => {
|
|
@@ -3768,12 +3766,12 @@ function $s() {
|
|
|
3768
3766
|
super.ResolveReferences(c), this.divertAfter && this.divertAfter.targetContent && (this._overrideDivertTarget.targetPath = this.divertAfter.targetContent.runtimePath);
|
|
3769
3767
|
}
|
|
3770
3768
|
};
|
|
3771
|
-
return
|
|
3769
|
+
return rn.TunnelOnwards = y, rn;
|
|
3772
3770
|
}
|
|
3773
|
-
var
|
|
3771
|
+
var sn = {}, an = {}, on = {}, Ur;
|
|
3774
3772
|
function Us() {
|
|
3775
|
-
if (Ur) return
|
|
3776
|
-
Ur = 1, Object.defineProperty(
|
|
3773
|
+
if (Ur) return on;
|
|
3774
|
+
Ur = 1, Object.defineProperty(on, "__esModule", { value: !0 }), on.ListDefinition = void 0;
|
|
3777
3775
|
const o = vt();
|
|
3778
3776
|
let n = class {
|
|
3779
3777
|
constructor(e, f) {
|
|
@@ -3817,12 +3815,12 @@ function Us() {
|
|
|
3817
3815
|
return t ? { result: t, exists: !0 } : { result: 0, exists: !1 };
|
|
3818
3816
|
}
|
|
3819
3817
|
};
|
|
3820
|
-
return
|
|
3818
|
+
return on.ListDefinition = n, on;
|
|
3821
3819
|
}
|
|
3822
3820
|
var Kr;
|
|
3823
3821
|
function Ri() {
|
|
3824
|
-
if (Kr) return
|
|
3825
|
-
Kr = 1, Object.defineProperty(
|
|
3822
|
+
if (Kr) return an;
|
|
3823
|
+
Kr = 1, Object.defineProperty(an, "__esModule", { value: !0 }), an.ListDefinition = void 0;
|
|
3826
3824
|
const o = vt(), n = vt(), a = Us(), e = it(), f = et(), t = Wt();
|
|
3827
3825
|
class p extends f.ParsedObject {
|
|
3828
3826
|
get typeName() {
|
|
@@ -3862,13 +3860,13 @@ function Ri() {
|
|
|
3862
3860
|
super.ResolveReferences(y), y.CheckForNamingCollisions(this, this.identifier, t.SymbolType.List);
|
|
3863
3861
|
}
|
|
3864
3862
|
}
|
|
3865
|
-
return
|
|
3863
|
+
return an.ListDefinition = p, an;
|
|
3866
3864
|
}
|
|
3867
3865
|
var Hr;
|
|
3868
3866
|
function Ks() {
|
|
3869
|
-
if (Hr) return
|
|
3870
|
-
Hr = 1, Object.defineProperty(
|
|
3871
|
-
const o = ot(), n = si(), a = Ri(), e = et(), f = Wt(), t = Gt(), p =
|
|
3867
|
+
if (Hr) return sn;
|
|
3868
|
+
Hr = 1, Object.defineProperty(sn, "__esModule", { value: !0 }), sn.VariableAssignment = void 0;
|
|
3869
|
+
const o = ot(), n = si(), a = Ri(), e = et(), f = Wt(), t = Gt(), p = Un(), r = Z();
|
|
3872
3870
|
let y = class extends e.ParsedObject {
|
|
3873
3871
|
get variableName() {
|
|
3874
3872
|
return this.variableIdentifier.name;
|
|
@@ -3899,13 +3897,13 @@ function Ks() {
|
|
|
3899
3897
|
}
|
|
3900
3898
|
}
|
|
3901
3899
|
};
|
|
3902
|
-
return
|
|
3900
|
+
return sn.VariableAssignment = y, sn;
|
|
3903
3901
|
}
|
|
3904
3902
|
var Jr;
|
|
3905
3903
|
function ee() {
|
|
3906
|
-
if (Jr) return
|
|
3907
|
-
Jr = 1, Object.defineProperty(
|
|
3908
|
-
const o = Oi(), n =
|
|
3904
|
+
if (Jr) return We;
|
|
3905
|
+
Jr = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.Weave = void 0;
|
|
3906
|
+
const o = Oi(), n = qn(), a = Ni(), e = Ii(), f = ot(), t = Hn(), p = Rt(), r = Kn(), y = kt(), s = ri(), c = Na(), i = et(), l = Gs(), S = $t(), P = $s(), N = Ks(), O = Z();
|
|
3909
3907
|
let I = class qt extends i.ParsedObject {
|
|
3910
3908
|
// Containers can be chained as multiple gather points
|
|
3911
3909
|
// get created as the same indentation level.
|
|
@@ -4174,12 +4172,12 @@ function ee() {
|
|
|
4174
4172
|
this.CheckForWeavePointNamingCollisions();
|
|
4175
4173
|
}
|
|
4176
4174
|
};
|
|
4177
|
-
return
|
|
4175
|
+
return We.Weave = I, We;
|
|
4178
4176
|
}
|
|
4179
4177
|
var zr;
|
|
4180
4178
|
function Hs() {
|
|
4181
|
-
if (zr) return
|
|
4182
|
-
zr = 1, Object.defineProperty(
|
|
4179
|
+
if (zr) return De;
|
|
4180
|
+
zr = 1, Object.defineProperty(De, "__esModule", { value: !0 }), De.ConditionalSingleBranch = void 0;
|
|
4183
4181
|
const o = ot(), n = pt(), a = Rt(), e = et(), f = Ft(), t = it(), p = $t(), r = ee(), y = Z();
|
|
4184
4182
|
let s = class extends e.ParsedObject {
|
|
4185
4183
|
// When each branch has its own expression like a switch statement,
|
|
@@ -4219,21 +4217,21 @@ function Hs() {
|
|
|
4219
4217
|
this._conditionalDivert.targetPath = this._contentContainer.path, super.ResolveReferences(i);
|
|
4220
4218
|
}
|
|
4221
4219
|
};
|
|
4222
|
-
return
|
|
4220
|
+
return De.ConditionalSingleBranch = s, De;
|
|
4223
4221
|
}
|
|
4224
|
-
var
|
|
4222
|
+
var ln = {}, Xr;
|
|
4225
4223
|
function Aa() {
|
|
4226
|
-
if (Xr) return
|
|
4227
|
-
Xr = 1, Object.defineProperty(
|
|
4224
|
+
if (Xr) return ln;
|
|
4225
|
+
Xr = 1, Object.defineProperty(ln, "__esModule", { value: !0 }), ln.CustomFlags = void 0;
|
|
4228
4226
|
var o;
|
|
4229
4227
|
return (function(n) {
|
|
4230
4228
|
n[n.ParsingString = 1] = "ParsingString", n[n.TagActive = 2] = "TagActive";
|
|
4231
|
-
})(o || (
|
|
4229
|
+
})(o || (ln.CustomFlags = o = {})), ln;
|
|
4232
4230
|
}
|
|
4233
|
-
var
|
|
4231
|
+
var un = {}, Yr;
|
|
4234
4232
|
function Fa() {
|
|
4235
|
-
if (Yr) return
|
|
4236
|
-
Yr = 1, Object.defineProperty(
|
|
4233
|
+
if (Yr) return un;
|
|
4234
|
+
Yr = 1, Object.defineProperty(un, "__esModule", { value: !0 }), un.DebugMetadata = void 0;
|
|
4237
4235
|
let o = class Js {
|
|
4238
4236
|
constructor() {
|
|
4239
4237
|
this.startLineNumber = 0, this.endLineNumber = 0, this.startCharacterNumber = 0, this.endCharacterNumber = 0, this.fileName = null, this.sourceName = null;
|
|
@@ -4246,12 +4244,12 @@ function Fa() {
|
|
|
4246
4244
|
return this.fileName !== null ? `line ${this.startLineNumber} of ${this.fileName}"` : "line " + this.startLineNumber;
|
|
4247
4245
|
}
|
|
4248
4246
|
};
|
|
4249
|
-
return
|
|
4247
|
+
return un.DebugMetadata = o, un;
|
|
4250
4248
|
}
|
|
4251
|
-
var
|
|
4249
|
+
var hn = {}, Zr;
|
|
4252
4250
|
function Ra() {
|
|
4253
|
-
if (Zr) return
|
|
4254
|
-
Zr = 1, Object.defineProperty(
|
|
4251
|
+
if (Zr) return hn;
|
|
4252
|
+
Zr = 1, Object.defineProperty(hn, "__esModule", { value: !0 }), hn.ExternalDeclaration = void 0;
|
|
4255
4253
|
const o = et();
|
|
4256
4254
|
let n = class extends o.ParsedObject {
|
|
4257
4255
|
get name() {
|
|
@@ -4269,35 +4267,35 @@ function Ra() {
|
|
|
4269
4267
|
return `EXTERNAL ${(e = this.identifier) === null || e === void 0 ? void 0 : e.name}`;
|
|
4270
4268
|
}
|
|
4271
4269
|
};
|
|
4272
|
-
return
|
|
4270
|
+
return hn.ExternalDeclaration = n, hn;
|
|
4273
4271
|
}
|
|
4274
|
-
var
|
|
4272
|
+
var cn = {}, Qr;
|
|
4275
4273
|
function ka() {
|
|
4276
|
-
if (Qr) return
|
|
4277
|
-
Qr = 1, Object.defineProperty(
|
|
4274
|
+
if (Qr) return cn;
|
|
4275
|
+
Qr = 1, Object.defineProperty(cn, "__esModule", { value: !0 }), cn.FlowDecl = void 0;
|
|
4278
4276
|
let o = class {
|
|
4279
4277
|
constructor(a, e, f) {
|
|
4280
4278
|
this.name = a, this.args = e, this.isFunction = f;
|
|
4281
4279
|
}
|
|
4282
4280
|
};
|
|
4283
|
-
return
|
|
4281
|
+
return cn.FlowDecl = o, cn;
|
|
4284
4282
|
}
|
|
4285
|
-
var
|
|
4283
|
+
var dn = {}, fn = {}, ts;
|
|
4286
4284
|
function zs() {
|
|
4287
|
-
if (ts) return
|
|
4288
|
-
ts = 1, Object.defineProperty(
|
|
4285
|
+
if (ts) return fn;
|
|
4286
|
+
ts = 1, Object.defineProperty(fn, "__esModule", { value: !0 }), fn.Wrap = void 0;
|
|
4289
4287
|
const o = et();
|
|
4290
4288
|
let n = class extends o.ParsedObject {
|
|
4291
4289
|
constructor(e) {
|
|
4292
4290
|
super(), this._objToWrap = e, this.GenerateRuntimeObject = () => this._objToWrap;
|
|
4293
4291
|
}
|
|
4294
4292
|
};
|
|
4295
|
-
return
|
|
4293
|
+
return fn.Wrap = n, fn;
|
|
4296
4294
|
}
|
|
4297
4295
|
var es;
|
|
4298
4296
|
function Da() {
|
|
4299
|
-
if (es) return
|
|
4300
|
-
es = 1, Object.defineProperty(
|
|
4297
|
+
if (es) return dn;
|
|
4298
|
+
es = 1, Object.defineProperty(dn, "__esModule", { value: !0 }), dn.Glue = void 0;
|
|
4301
4299
|
const o = zs();
|
|
4302
4300
|
class n extends o.Wrap {
|
|
4303
4301
|
constructor(e) {
|
|
@@ -4307,25 +4305,25 @@ function Da() {
|
|
|
4307
4305
|
return "Glue";
|
|
4308
4306
|
}
|
|
4309
4307
|
}
|
|
4310
|
-
return
|
|
4308
|
+
return dn.Glue = n, dn;
|
|
4311
4309
|
}
|
|
4312
|
-
var
|
|
4310
|
+
var pn = {}, ns;
|
|
4313
4311
|
function ki() {
|
|
4314
|
-
if (ns) return
|
|
4315
|
-
ns = 1, Object.defineProperty(
|
|
4312
|
+
if (ns) return pn;
|
|
4313
|
+
ns = 1, Object.defineProperty(pn, "__esModule", { value: !0 }), pn.Glue = void 0;
|
|
4316
4314
|
const o = yt();
|
|
4317
4315
|
let n = class extends o.InkObject {
|
|
4318
4316
|
toString() {
|
|
4319
4317
|
return "Glue";
|
|
4320
4318
|
}
|
|
4321
4319
|
};
|
|
4322
|
-
return
|
|
4320
|
+
return pn.Glue = n, pn;
|
|
4323
4321
|
}
|
|
4324
|
-
var
|
|
4322
|
+
var mn = {}, is;
|
|
4325
4323
|
function Va() {
|
|
4326
|
-
if (is) return
|
|
4327
|
-
is = 1, Object.defineProperty(
|
|
4328
|
-
const o = Fi(), n = Ot(), a = kt(), e = Ft(), f = it(), t = Gt(), p =
|
|
4324
|
+
if (is) return mn;
|
|
4325
|
+
is = 1, Object.defineProperty(mn, "__esModule", { value: !0 }), mn.IncDecExpression = void 0;
|
|
4326
|
+
const o = Fi(), n = Ot(), a = kt(), e = Ft(), f = it(), t = Gt(), p = $n(), r = ee();
|
|
4329
4327
|
let y = class extends n.Expression {
|
|
4330
4328
|
constructor(c, i, l) {
|
|
4331
4329
|
super(), this.varIdentifier = c, this._runtimeAssignment = null, this.expression = null, this.GenerateIntoContainer = (S) => {
|
|
@@ -4351,12 +4349,12 @@ function Va() {
|
|
|
4351
4349
|
return this.isInc ? "increment" : "decrement";
|
|
4352
4350
|
}
|
|
4353
4351
|
};
|
|
4354
|
-
return
|
|
4352
|
+
return mn.IncDecExpression = y, mn;
|
|
4355
4353
|
}
|
|
4356
|
-
var
|
|
4354
|
+
var gn = {}, rs;
|
|
4357
4355
|
function Xs() {
|
|
4358
|
-
if (rs) return
|
|
4359
|
-
rs = 1, Object.defineProperty(
|
|
4356
|
+
if (rs) return gn;
|
|
4357
|
+
rs = 1, Object.defineProperty(gn, "__esModule", { value: !0 }), gn.IncludedFile = void 0;
|
|
4360
4358
|
const o = et();
|
|
4361
4359
|
let n = class extends o.ParsedObject {
|
|
4362
4360
|
constructor(e) {
|
|
@@ -4366,24 +4364,24 @@ function Xs() {
|
|
|
4366
4364
|
return "IncludedFile";
|
|
4367
4365
|
}
|
|
4368
4366
|
};
|
|
4369
|
-
return
|
|
4367
|
+
return gn.IncludedFile = n, gn;
|
|
4370
4368
|
}
|
|
4371
|
-
var
|
|
4369
|
+
var Cn = {}, ss;
|
|
4372
4370
|
function Wa() {
|
|
4373
|
-
if (ss) return
|
|
4374
|
-
ss = 1, Object.defineProperty(
|
|
4371
|
+
if (ss) return Cn;
|
|
4372
|
+
ss = 1, Object.defineProperty(Cn, "__esModule", { value: !0 }), Cn.InfixOperator = void 0;
|
|
4375
4373
|
let o = class {
|
|
4376
4374
|
constructor(a, e, f) {
|
|
4377
4375
|
this.type = a, this.precedence = e, this.requireWhitespace = f, this.toString = () => this.type;
|
|
4378
4376
|
}
|
|
4379
4377
|
};
|
|
4380
|
-
return
|
|
4378
|
+
return Cn.InfixOperator = o, Cn;
|
|
4381
4379
|
}
|
|
4382
|
-
var
|
|
4380
|
+
var vn = {}, as;
|
|
4383
4381
|
function Ys() {
|
|
4384
|
-
if (as) return
|
|
4385
|
-
as = 1, Object.defineProperty(
|
|
4386
|
-
const o = kt(), n =
|
|
4382
|
+
if (as) return vn;
|
|
4383
|
+
as = 1, Object.defineProperty(vn, "__esModule", { value: !0 }), vn.Knot = void 0;
|
|
4384
|
+
const o = kt(), n = Gn();
|
|
4387
4385
|
let a = class extends o.FlowBase {
|
|
4388
4386
|
get flowLevel() {
|
|
4389
4387
|
return n.FlowLevel.Knot;
|
|
@@ -4406,12 +4404,12 @@ function Ys() {
|
|
|
4406
4404
|
}
|
|
4407
4405
|
}
|
|
4408
4406
|
};
|
|
4409
|
-
return
|
|
4407
|
+
return vn.Knot = a, vn;
|
|
4410
4408
|
}
|
|
4411
|
-
var
|
|
4409
|
+
var Sn = {}, os;
|
|
4412
4410
|
function La() {
|
|
4413
|
-
if (os) return
|
|
4414
|
-
os = 1, Object.defineProperty(
|
|
4411
|
+
if (os) return Sn;
|
|
4412
|
+
os = 1, Object.defineProperty(Sn, "__esModule", { value: !0 }), Sn.List = void 0;
|
|
4415
4413
|
const o = Ot(), n = vt(), a = vt(), e = it();
|
|
4416
4414
|
let f = class extends o.Expression {
|
|
4417
4415
|
constructor(p) {
|
|
@@ -4443,12 +4441,12 @@ function La() {
|
|
|
4443
4441
|
return "List";
|
|
4444
4442
|
}
|
|
4445
4443
|
};
|
|
4446
|
-
return
|
|
4444
|
+
return Sn.List = f, Sn;
|
|
4447
4445
|
}
|
|
4448
|
-
var
|
|
4446
|
+
var yn = {}, ls;
|
|
4449
4447
|
function Zs() {
|
|
4450
|
-
if (ls) return
|
|
4451
|
-
ls = 1, Object.defineProperty(
|
|
4448
|
+
if (ls) return yn;
|
|
4449
|
+
ls = 1, Object.defineProperty(yn, "__esModule", { value: !0 }), yn.ListElementDefinition = void 0;
|
|
4452
4450
|
const o = et(), n = Wt();
|
|
4453
4451
|
let a = class extends o.ParsedObject {
|
|
4454
4452
|
get fullName() {
|
|
@@ -4474,22 +4472,22 @@ function Zs() {
|
|
|
4474
4472
|
super.ResolveReferences(f), f.CheckForNamingCollisions(this, this.indentifier, n.SymbolType.ListItem);
|
|
4475
4473
|
}
|
|
4476
4474
|
};
|
|
4477
|
-
return
|
|
4475
|
+
return yn.ListElementDefinition = a, yn;
|
|
4478
4476
|
}
|
|
4479
|
-
var
|
|
4477
|
+
var bn = {}, us;
|
|
4480
4478
|
function Qs() {
|
|
4481
|
-
if (us) return
|
|
4482
|
-
us = 1, Object.defineProperty(
|
|
4479
|
+
if (us) return bn;
|
|
4480
|
+
us = 1, Object.defineProperty(bn, "__esModule", { value: !0 }), bn.StatementLevel = void 0;
|
|
4483
4481
|
var o;
|
|
4484
4482
|
return (function(n) {
|
|
4485
4483
|
n[n.InnerBlock = 0] = "InnerBlock", n[n.Stitch = 1] = "Stitch", n[n.Knot = 2] = "Knot", n[n.Top = 3] = "Top";
|
|
4486
|
-
})(o || (
|
|
4484
|
+
})(o || (bn.StatementLevel = o = {})), bn;
|
|
4487
4485
|
}
|
|
4488
|
-
var
|
|
4486
|
+
var _n = {}, hs;
|
|
4489
4487
|
function ta() {
|
|
4490
|
-
if (hs) return
|
|
4491
|
-
hs = 1, Object.defineProperty(
|
|
4492
|
-
const o = kt(), n =
|
|
4488
|
+
if (hs) return _n;
|
|
4489
|
+
hs = 1, Object.defineProperty(_n, "__esModule", { value: !0 }), _n.Stitch = void 0;
|
|
4490
|
+
const o = kt(), n = Gn();
|
|
4493
4491
|
let a = class extends o.FlowBase {
|
|
4494
4492
|
get flowLevel() {
|
|
4495
4493
|
return n.FlowLevel.Stitch;
|
|
@@ -4501,12 +4499,12 @@ function ta() {
|
|
|
4501
4499
|
return "Stitch";
|
|
4502
4500
|
}
|
|
4503
4501
|
};
|
|
4504
|
-
return
|
|
4502
|
+
return _n.Stitch = a, _n;
|
|
4505
4503
|
}
|
|
4506
|
-
var
|
|
4504
|
+
var En = {}, di = {}, wn = {}, Pn = {}, cs;
|
|
4507
4505
|
function Di() {
|
|
4508
|
-
if (cs) return
|
|
4509
|
-
cs = 1, Object.defineProperty(
|
|
4506
|
+
if (cs) return Pn;
|
|
4507
|
+
cs = 1, Object.defineProperty(Pn, "__esModule", { value: !0 }), Pn.Tag = void 0;
|
|
4510
4508
|
const o = yt();
|
|
4511
4509
|
class n extends o.InkObject {
|
|
4512
4510
|
constructor(e) {
|
|
@@ -4516,12 +4514,12 @@ function Di() {
|
|
|
4516
4514
|
return "# " + this.text;
|
|
4517
4515
|
}
|
|
4518
4516
|
}
|
|
4519
|
-
return
|
|
4517
|
+
return Pn.Tag = n, Pn;
|
|
4520
4518
|
}
|
|
4521
|
-
var
|
|
4519
|
+
var On = {}, ds;
|
|
4522
4520
|
function na() {
|
|
4523
|
-
if (ds) return
|
|
4524
|
-
ds = 1, Object.defineProperty(
|
|
4521
|
+
if (ds) return On;
|
|
4522
|
+
ds = 1, Object.defineProperty(On, "__esModule", { value: !0 }), On.Choice = void 0;
|
|
4525
4523
|
const o = St(), n = ft(), a = yt();
|
|
4526
4524
|
let e = class ea extends a.InkObject {
|
|
4527
4525
|
constructor() {
|
|
@@ -4538,12 +4536,12 @@ function na() {
|
|
|
4538
4536
|
return t.text = this.text, t.sourcePath = this.sourcePath, t.index = this.index, t.targetPath = this.targetPath, t.originalThreadIndex = this.originalThreadIndex, t.isInvisibleDefault = this.isInvisibleDefault, this.threadAtGeneration !== null && (t.threadAtGeneration = this.threadAtGeneration.Copy()), t;
|
|
4539
4537
|
}
|
|
4540
4538
|
};
|
|
4541
|
-
return
|
|
4539
|
+
return On.Choice = e, On;
|
|
4542
4540
|
}
|
|
4543
|
-
var
|
|
4541
|
+
var xn = {}, fs;
|
|
4544
4542
|
function ia() {
|
|
4545
|
-
if (fs) return
|
|
4546
|
-
fs = 1, Object.defineProperty(
|
|
4543
|
+
if (fs) return xn;
|
|
4544
|
+
fs = 1, Object.defineProperty(xn, "__esModule", { value: !0 }), xn.ListDefinitionsOrigin = void 0;
|
|
4547
4545
|
const o = vt(), n = it(), a = ft();
|
|
4548
4546
|
let e = class {
|
|
4549
4547
|
constructor(t) {
|
|
@@ -4577,13 +4575,13 @@ function ia() {
|
|
|
4577
4575
|
return typeof p < "u" ? p : null;
|
|
4578
4576
|
}
|
|
4579
4577
|
};
|
|
4580
|
-
return
|
|
4578
|
+
return xn.ListDefinitionsOrigin = e, xn;
|
|
4581
4579
|
}
|
|
4582
4580
|
var ps;
|
|
4583
|
-
function
|
|
4584
|
-
if (ps) return
|
|
4585
|
-
ps = 1, Object.defineProperty(
|
|
4586
|
-
const o = ot(), n = it(), a = ki(), e = pt(), f = Qt(), t = Rt(), p = Ti(), r =
|
|
4581
|
+
function Jn() {
|
|
4582
|
+
if (ps) return wn;
|
|
4583
|
+
ps = 1, Object.defineProperty(wn, "__esModule", { value: !0 }), wn.JsonSerialisation = void 0;
|
|
4584
|
+
const o = ot(), n = it(), a = ki(), e = pt(), f = Qt(), t = Rt(), p = Ti(), r = $n(), y = Gt(), s = Ft(), c = Zt(), i = Di(), l = St(), S = na(), P = Us(), N = ia(), O = vt(), I = Z(), w = ft();
|
|
4587
4585
|
let F = class Zn {
|
|
4588
4586
|
static JArrayToRuntimeObjList(m, g = !1) {
|
|
4589
4587
|
let v = m.length;
|
|
@@ -4922,21 +4920,21 @@ function zn() {
|
|
|
4922
4920
|
return new N.ListDefinitionsOrigin(v);
|
|
4923
4921
|
}
|
|
4924
4922
|
};
|
|
4925
|
-
return
|
|
4923
|
+
return wn.JsonSerialisation = F, F._controlCommandNames = (() => {
|
|
4926
4924
|
let k = [];
|
|
4927
4925
|
k[e.ControlCommand.CommandType.EvalStart] = "ev", k[e.ControlCommand.CommandType.EvalOutput] = "out", k[e.ControlCommand.CommandType.EvalEnd] = "/ev", k[e.ControlCommand.CommandType.Duplicate] = "du", k[e.ControlCommand.CommandType.PopEvaluatedValue] = "pop", k[e.ControlCommand.CommandType.PopFunction] = "~ret", k[e.ControlCommand.CommandType.PopTunnel] = "->->", k[e.ControlCommand.CommandType.BeginString] = "str", k[e.ControlCommand.CommandType.EndString] = "/str", k[e.ControlCommand.CommandType.NoOp] = "nop", k[e.ControlCommand.CommandType.ChoiceCount] = "choiceCnt", k[e.ControlCommand.CommandType.Turns] = "turn", k[e.ControlCommand.CommandType.TurnsSince] = "turns", k[e.ControlCommand.CommandType.ReadCount] = "readc", k[e.ControlCommand.CommandType.Random] = "rnd", k[e.ControlCommand.CommandType.SeedRandom] = "srnd", k[e.ControlCommand.CommandType.VisitIndex] = "visit", k[e.ControlCommand.CommandType.SequenceShuffleIndex] = "seq", k[e.ControlCommand.CommandType.StartThread] = "thread", k[e.ControlCommand.CommandType.Done] = "done", k[e.ControlCommand.CommandType.End] = "end", k[e.ControlCommand.CommandType.ListFromInt] = "listInt", k[e.ControlCommand.CommandType.ListRange] = "range", k[e.ControlCommand.CommandType.ListRandom] = "lrnd", k[e.ControlCommand.CommandType.BeginTag] = "#", k[e.ControlCommand.CommandType.EndTag] = "/#";
|
|
4928
4926
|
for (let m = 0; m < e.ControlCommand.CommandType.TOTAL_VALUES; ++m)
|
|
4929
4927
|
if (k[m] == null)
|
|
4930
4928
|
throw new Error("Control command not accounted for in serialisation");
|
|
4931
4929
|
return k;
|
|
4932
|
-
})(),
|
|
4930
|
+
})(), wn;
|
|
4933
4931
|
}
|
|
4934
|
-
var
|
|
4932
|
+
var Tn = {}, zt = {}, ms;
|
|
4935
4933
|
function ra() {
|
|
4936
4934
|
if (ms) return zt;
|
|
4937
4935
|
ms = 1, Object.defineProperty(zt, "__esModule", { value: !0 }), zt.CallStack = void 0;
|
|
4938
|
-
const o = Qt(), n = St(), a = oi(), e =
|
|
4939
|
-
let c = class
|
|
4936
|
+
const o = Qt(), n = St(), a = oi(), e = Jn(), f = it(), t = Yt(), p = ii(), r = ti(), y = Bn(), s = ft();
|
|
4937
|
+
let c = class jn {
|
|
4940
4938
|
get elements() {
|
|
4941
4939
|
return this.callStack;
|
|
4942
4940
|
}
|
|
@@ -4972,13 +4970,13 @@ function ra() {
|
|
|
4972
4970
|
}
|
|
4973
4971
|
}
|
|
4974
4972
|
Reset() {
|
|
4975
|
-
this._threads = [], this._threads.push(new
|
|
4973
|
+
this._threads = [], this._threads.push(new jn.Thread()), this._threads[0].callstack.push(new jn.Element(o.PushPopType.Tunnel, this._startOfRoot));
|
|
4976
4974
|
}
|
|
4977
4975
|
SetJsonToken(l, S) {
|
|
4978
4976
|
this._threads.length = 0;
|
|
4979
4977
|
let P = l.threads;
|
|
4980
4978
|
for (let N of P) {
|
|
4981
|
-
let O = N, I = new
|
|
4979
|
+
let O = N, I = new jn.Thread(O, S);
|
|
4982
4980
|
this._threads.push(I);
|
|
4983
4981
|
}
|
|
4984
4982
|
this._threadCounter = parseInt(l.threadCounter), this._startOfRoot = p.Pointer.StartOf(S.rootContentContainer);
|
|
@@ -5012,7 +5010,7 @@ function ra() {
|
|
|
5012
5010
|
return this.currentElement.type == o.PushPopType.FunctionEvaluationFromGame;
|
|
5013
5011
|
}
|
|
5014
5012
|
Push(l, S = 0, P = 0) {
|
|
5015
|
-
let N = new
|
|
5013
|
+
let N = new jn.Element(l, this.currentElement.currentPointer, !1);
|
|
5016
5014
|
N.evaluationStackHeightWhenPushed = S, N.functionStartInOutputStream = P, this.callStack.push(N);
|
|
5017
5015
|
}
|
|
5018
5016
|
CanPop(l = null) {
|
|
@@ -5135,11 +5133,11 @@ function ra() {
|
|
|
5135
5133
|
i.Thread = S;
|
|
5136
5134
|
})(c || (zt.CallStack = c = {})), zt;
|
|
5137
5135
|
}
|
|
5138
|
-
var
|
|
5136
|
+
var Nn = {}, gs;
|
|
5139
5137
|
function ja() {
|
|
5140
|
-
if (gs) return
|
|
5141
|
-
gs = 1, Object.defineProperty(
|
|
5142
|
-
const o = it(), n = ei(), a =
|
|
5138
|
+
if (gs) return Nn;
|
|
5139
|
+
gs = 1, Object.defineProperty(Nn, "__esModule", { value: !0 }), Nn.VariablesState = void 0;
|
|
5140
|
+
const o = it(), n = ei(), a = Jn(), e = Z(), f = Bn(), t = ft();
|
|
5143
5141
|
function p() {
|
|
5144
5142
|
return class {
|
|
5145
5143
|
};
|
|
@@ -5359,12 +5357,12 @@ function ja() {
|
|
|
5359
5357
|
this.variableChangedEventCallbacks.push(s);
|
|
5360
5358
|
}
|
|
5361
5359
|
};
|
|
5362
|
-
return
|
|
5360
|
+
return Nn.VariablesState = r, r.dontSaveDefaultValues = !0, Nn;
|
|
5363
5361
|
}
|
|
5364
|
-
var
|
|
5362
|
+
var In = {}, Cs;
|
|
5365
5363
|
function aa() {
|
|
5366
|
-
if (Cs) return
|
|
5367
|
-
Cs = 1, Object.defineProperty(
|
|
5364
|
+
if (Cs) return In;
|
|
5365
|
+
Cs = 1, Object.defineProperty(In, "__esModule", { value: !0 }), In.PRNG = void 0;
|
|
5368
5366
|
let o = class {
|
|
5369
5367
|
constructor(a) {
|
|
5370
5368
|
this.seed = a % 2147483647, this.seed <= 0 && (this.seed += 2147483646);
|
|
@@ -5376,12 +5374,12 @@ function aa() {
|
|
|
5376
5374
|
return (this.next() - 1) / 2147483646;
|
|
5377
5375
|
}
|
|
5378
5376
|
};
|
|
5379
|
-
return
|
|
5377
|
+
return In.PRNG = o, In;
|
|
5380
5378
|
}
|
|
5381
|
-
var
|
|
5379
|
+
var An = {}, vs;
|
|
5382
5380
|
function Ma() {
|
|
5383
|
-
if (vs) return
|
|
5384
|
-
vs = 1, Object.defineProperty(
|
|
5381
|
+
if (vs) return An;
|
|
5382
|
+
vs = 1, Object.defineProperty(An, "__esModule", { value: !0 }), An.StatePatch = void 0;
|
|
5385
5383
|
let o = class {
|
|
5386
5384
|
get globals() {
|
|
5387
5385
|
return this._globals;
|
|
@@ -5424,7 +5422,7 @@ function Ma() {
|
|
|
5424
5422
|
return this._turnIndices.has(a) ? { result: this._turnIndices.get(a), exists: !0 } : { result: e, exists: !1 };
|
|
5425
5423
|
}
|
|
5426
5424
|
};
|
|
5427
|
-
return
|
|
5425
|
+
return An.StatePatch = o, An;
|
|
5428
5426
|
}
|
|
5429
5427
|
var Xt = {}, Ss;
|
|
5430
5428
|
function oa() {
|
|
@@ -5625,11 +5623,11 @@ function oa() {
|
|
|
5625
5623
|
})(e = n.Writer || (n.Writer = {}));
|
|
5626
5624
|
})(o || (Xt.SimpleJson = o = {})), Xt;
|
|
5627
5625
|
}
|
|
5628
|
-
var
|
|
5626
|
+
var Fn = {}, ys;
|
|
5629
5627
|
function Ba() {
|
|
5630
|
-
if (ys) return
|
|
5631
|
-
ys = 1, Object.defineProperty(
|
|
5632
|
-
const o = ra(), n =
|
|
5628
|
+
if (ys) return Fn;
|
|
5629
|
+
ys = 1, Object.defineProperty(Fn, "__esModule", { value: !0 }), Fn.Flow = void 0;
|
|
5630
|
+
const o = ra(), n = Jn(), a = ft();
|
|
5633
5631
|
let e = class {
|
|
5634
5632
|
constructor() {
|
|
5635
5633
|
let t = arguments[0], p = arguments[1];
|
|
@@ -5668,13 +5666,13 @@ function Ba() {
|
|
|
5668
5666
|
}
|
|
5669
5667
|
}
|
|
5670
5668
|
};
|
|
5671
|
-
return
|
|
5669
|
+
return Fn.Flow = e, Fn;
|
|
5672
5670
|
}
|
|
5673
5671
|
var bs;
|
|
5674
5672
|
function qa() {
|
|
5675
|
-
if (bs) return
|
|
5676
|
-
bs = 1, Object.defineProperty(
|
|
5677
|
-
const o = ra(), n = ja(), a = it(), e = Qt(), f = Di(), t = ki(), p = St(), r = pt(), y = Yt(), s =
|
|
5673
|
+
if (bs) return Tn;
|
|
5674
|
+
bs = 1, Object.defineProperty(Tn, "__esModule", { value: !0 }), Tn.StoryState = void 0;
|
|
5675
|
+
const o = ra(), n = ja(), a = it(), e = Qt(), f = Di(), t = ki(), p = St(), r = pt(), y = Yt(), s = Jn(), c = aa(), i = Zt(), l = ii(), S = Bn(), P = Z(), N = ti(), O = ft(), I = oi(), w = Ma(), F = oa(), k = Ba(), m = vt();
|
|
5678
5676
|
let g = class la {
|
|
5679
5677
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5680
5678
|
ToJson(u = !1) {
|
|
@@ -6258,12 +6256,12 @@ function qa() {
|
|
|
6258
6256
|
this._outputStreamTextDirty = !0, this._outputStreamTagsDirty = !0;
|
|
6259
6257
|
}
|
|
6260
6258
|
};
|
|
6261
|
-
return
|
|
6259
|
+
return Tn.StoryState = g, Tn;
|
|
6262
6260
|
}
|
|
6263
|
-
var
|
|
6261
|
+
var Rn = {}, _s;
|
|
6264
6262
|
function Ga() {
|
|
6265
|
-
if (_s) return
|
|
6266
|
-
_s = 1, Object.defineProperty(
|
|
6263
|
+
if (_s) return Rn;
|
|
6264
|
+
_s = 1, Object.defineProperty(Rn, "__esModule", { value: !0 }), Rn.Stopwatch = void 0;
|
|
6267
6265
|
class o {
|
|
6268
6266
|
constructor() {
|
|
6269
6267
|
this.startTime = void 0;
|
|
@@ -6278,22 +6276,22 @@ function Ga() {
|
|
|
6278
6276
|
this.startTime = void 0;
|
|
6279
6277
|
}
|
|
6280
6278
|
}
|
|
6281
|
-
return
|
|
6279
|
+
return Rn.Stopwatch = o, Rn;
|
|
6282
6280
|
}
|
|
6283
|
-
var
|
|
6281
|
+
var kn = {}, Es;
|
|
6284
6282
|
function $a() {
|
|
6285
|
-
if (Es) return
|
|
6286
|
-
Es = 1, Object.defineProperty(
|
|
6283
|
+
if (Es) return kn;
|
|
6284
|
+
Es = 1, Object.defineProperty(kn, "__esModule", { value: !0 }), kn.ErrorType = void 0;
|
|
6287
6285
|
var o;
|
|
6288
6286
|
return (function(n) {
|
|
6289
6287
|
n[n.Author = 0] = "Author", n[n.Warning = 1] = "Warning", n[n.Error = 2] = "Error";
|
|
6290
|
-
})(o || (
|
|
6288
|
+
})(o || (kn.ErrorType = o = {})), kn;
|
|
6291
6289
|
}
|
|
6292
6290
|
var ws;
|
|
6293
6291
|
function oi() {
|
|
6294
6292
|
return ws || (ws = 1, (function(o) {
|
|
6295
6293
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.Story = o.InkList = void 0;
|
|
6296
|
-
const n = ot(), a = yt(), e =
|
|
6294
|
+
const n = ot(), a = yt(), e = Jn(), f = qa(), t = pt(), p = Qt(), r = Ti(), y = na(), s = Rt(), c = it(), i = St(), l = Zt(), S = Di(), P = Gt(), N = $n(), O = Ft(), I = ei(), w = aa(), F = Yt(), k = ia(), m = Ga(), g = ii(), v = vt(), u = Z(), h = ft(), b = oa(), R = $a();
|
|
6297
6295
|
var V = vt();
|
|
6298
6296
|
Object.defineProperty(o, "InkList", { enumerable: !0, get: function() {
|
|
6299
6297
|
return V.InkList;
|
|
@@ -7228,9 +7226,9 @@ function oi() {
|
|
|
7228
7226
|
}
|
|
7229
7227
|
var Ps;
|
|
7230
7228
|
function Ua() {
|
|
7231
|
-
if (Ps) return
|
|
7232
|
-
Ps = 1, Object.defineProperty(
|
|
7233
|
-
const o = Oi(), n = Ii(), a = ot(), e = pt(), f = Pi(), t = kt(), p =
|
|
7229
|
+
if (Ps) return En;
|
|
7230
|
+
Ps = 1, Object.defineProperty(En, "__esModule", { value: !0 }), En.Story = void 0;
|
|
7231
|
+
const o = Oi(), n = Ii(), a = ot(), e = pt(), f = Pi(), t = kt(), p = Gn(), r = Xs(), y = Ri(), s = Zs(), c = oi(), i = Wt(), l = $t(), S = Gt(), P = Z(), N = si(), O = ai(), I = te();
|
|
7234
7232
|
class w extends t.FlowBase {
|
|
7235
7233
|
get flowLevel() {
|
|
7236
7234
|
return p.FlowLevel.Story;
|
|
@@ -7408,7 +7406,7 @@ function Ua() {
|
|
|
7408
7406
|
k.splice(0, 0, ...m);
|
|
7409
7407
|
}
|
|
7410
7408
|
}
|
|
7411
|
-
return
|
|
7409
|
+
return En.Story = w, w.IsReservedKeyword = (F) => {
|
|
7412
7410
|
switch (F) {
|
|
7413
7411
|
case "true":
|
|
7414
7412
|
case "false":
|
|
@@ -7423,12 +7421,12 @@ function Ua() {
|
|
|
7423
7421
|
return !0;
|
|
7424
7422
|
}
|
|
7425
7423
|
return !1;
|
|
7426
|
-
},
|
|
7424
|
+
}, En;
|
|
7427
7425
|
}
|
|
7428
|
-
var
|
|
7426
|
+
var Dn = {}, Os;
|
|
7429
7427
|
function Ka() {
|
|
7430
|
-
if (Os) return
|
|
7431
|
-
Os = 1, Object.defineProperty(
|
|
7428
|
+
if (Os) return Dn;
|
|
7429
|
+
Os = 1, Object.defineProperty(Dn, "__esModule", { value: !0 }), Dn.StringExpression = void 0;
|
|
7432
7430
|
const o = pt(), n = Ot(), a = $t(), e = Z();
|
|
7433
7431
|
let f = class ua extends n.Expression {
|
|
7434
7432
|
get isSingleString() {
|
|
@@ -7459,7 +7457,7 @@ function Ka() {
|
|
|
7459
7457
|
return y === s;
|
|
7460
7458
|
}
|
|
7461
7459
|
};
|
|
7462
|
-
return
|
|
7460
|
+
return Dn.StringExpression = f, Dn;
|
|
7463
7461
|
}
|
|
7464
7462
|
var Bt = {}, xs;
|
|
7465
7463
|
function Ha() {
|
|
@@ -7486,10 +7484,10 @@ function Ha() {
|
|
|
7486
7484
|
}
|
|
7487
7485
|
return Bt.LegacyTag = f, Bt;
|
|
7488
7486
|
}
|
|
7489
|
-
var
|
|
7487
|
+
var Vn = {}, Ts;
|
|
7490
7488
|
function Ja() {
|
|
7491
|
-
if (Ts) return
|
|
7492
|
-
Ts = 1, Object.defineProperty(
|
|
7489
|
+
if (Ts) return Vn;
|
|
7490
|
+
Ts = 1, Object.defineProperty(Vn, "__esModule", { value: !0 }), Vn.DefaultFileHandler = void 0;
|
|
7493
7491
|
let o = class {
|
|
7494
7492
|
constructor(a) {
|
|
7495
7493
|
this.rootPath = a, this.ResolveInkFilename = () => {
|
|
@@ -7499,13 +7497,13 @@ function Ja() {
|
|
|
7499
7497
|
};
|
|
7500
7498
|
}
|
|
7501
7499
|
};
|
|
7502
|
-
return
|
|
7500
|
+
return Vn.DefaultFileHandler = o, Vn;
|
|
7503
7501
|
}
|
|
7504
7502
|
var Ns;
|
|
7505
7503
|
function Is() {
|
|
7506
|
-
if (Ns) return
|
|
7507
|
-
Ns = 1, Object.defineProperty(
|
|
7508
|
-
const o = Ea(), n = Oi(), a = Ws(), e = Pa(), f = ni(), t =
|
|
7504
|
+
if (Ns) return oe;
|
|
7505
|
+
Ns = 1, Object.defineProperty(oe, "__esModule", { value: !0 }), oe.InkParser = void 0;
|
|
7506
|
+
const o = Ea(), n = Oi(), a = Ws(), e = Pa(), f = ni(), t = qn(), p = Ta(), r = Ni(), y = Hs(), s = Fi(), c = Ii(), i = Aa(), l = Fa(), S = Hn(), P = Kn(), N = Ot(), O = Ra(), I = ka(), w = ai(), F = ri(), k = Da(), m = ki(), g = Va(), v = Xs(), u = Wa(), h = Ys(), b = La(), R = Ri(), V = Zs(), j = Bs(), L = et(), C = te(), E = js(), x = Gs(), A = qs(), W = Qs(), M = ta(), G = Ua(), K = Ka(), Q = Ls(), ut = Ha(), Y = $t(), mt = $s(), rt = Ks(), _t = Un(), Dt = Vs(), Et = Z(), Vt = Ai(), xt = xi(), Ut = Pi(), li = Ja();
|
|
7509
7507
|
let B = class bi extends Q.StringParser {
|
|
7510
7508
|
/**
|
|
7511
7509
|
* Begin base InkParser section.
|
|
@@ -8416,7 +8414,7 @@ Error:${U}`);
|
|
|
8416
8414
|
))), this.tagActive = !1);
|
|
8417
8415
|
}
|
|
8418
8416
|
};
|
|
8419
|
-
return
|
|
8417
|
+
return oe.InkParser = B, B.LatinBasic = e.CharacterRange.Define("A", "z", new f.CharacterSet().AddRange("[", "`")), B.LatinExtendedA = e.CharacterRange.Define(
|
|
8420
8418
|
"Ā",
|
|
8421
8419
|
"ſ"
|
|
8422
8420
|
// no excludes here
|
|
@@ -8436,13 +8434,13 @@ Error:${U}`);
|
|
|
8436
8434
|
B.Korean,
|
|
8437
8435
|
B.Latin1Supplement,
|
|
8438
8436
|
B.Chinese
|
|
8439
|
-
],
|
|
8437
|
+
], oe;
|
|
8440
8438
|
}
|
|
8441
|
-
var
|
|
8439
|
+
var Wn = {}, As;
|
|
8442
8440
|
function za() {
|
|
8443
|
-
if (As) return
|
|
8444
|
-
As = 1, Object.defineProperty(
|
|
8445
|
-
const o =
|
|
8441
|
+
if (As) return Wn;
|
|
8442
|
+
As = 1, Object.defineProperty(Wn, "__esModule", { value: !0 }), Wn.GenerateStoryStats = void 0;
|
|
8443
|
+
const o = qn(), n = Hn(), a = ri(), e = Ys(), f = ta(), t = $t();
|
|
8446
8444
|
function p(r) {
|
|
8447
8445
|
let y = r.FindAll(t.Text)(), s = 0;
|
|
8448
8446
|
for (const N of y) {
|
|
@@ -8463,12 +8461,12 @@ function za() {
|
|
|
8463
8461
|
choices: l.length
|
|
8464
8462
|
};
|
|
8465
8463
|
}
|
|
8466
|
-
return
|
|
8464
|
+
return Wn.GenerateStoryStats = p, Wn;
|
|
8467
8465
|
}
|
|
8468
|
-
var
|
|
8466
|
+
var Ln = {}, Fs;
|
|
8469
8467
|
function Xa() {
|
|
8470
|
-
if (Fs) return
|
|
8471
|
-
Fs = 1, Object.defineProperty(
|
|
8468
|
+
if (Fs) return Ln;
|
|
8469
|
+
Fs = 1, Object.defineProperty(Ln, "__esModule", { value: !0 }), Ln.JsonFileHandler = void 0;
|
|
8472
8470
|
let o = class {
|
|
8473
8471
|
constructor(a) {
|
|
8474
8472
|
this.fileHierarchy = a, this.ResolveInkFilename = (e) => {
|
|
@@ -8482,7 +8480,7 @@ function Xa() {
|
|
|
8482
8480
|
};
|
|
8483
8481
|
}
|
|
8484
8482
|
};
|
|
8485
|
-
return
|
|
8483
|
+
return Ln.JsonFileHandler = o, Ln;
|
|
8486
8484
|
}
|
|
8487
8485
|
var Rs;
|
|
8488
8486
|
function Ya() {
|
|
@@ -8626,9 +8624,9 @@ export {
|
|
|
8626
8624
|
ya as InkStory,
|
|
8627
8625
|
pi as Parser,
|
|
8628
8626
|
fi as Patches,
|
|
8629
|
-
|
|
8627
|
+
Mn as Tags,
|
|
8630
8628
|
Li as choicesStore,
|
|
8631
|
-
|
|
8629
|
+
zn as contentsStore,
|
|
8632
8630
|
sl as createInkStory,
|
|
8633
8631
|
Ei as createSelectors,
|
|
8634
8632
|
Sa as variablesStore
|