botc-character-sheet 0.12.1 → 0.13.0-beta.2
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/components/NightOrderPanel.d.ts +7 -0
- package/dist/components/NightOrderPanel.d.ts.map +1 -0
- package/dist/components/PlayerCount.d.ts +2 -0
- package/dist/components/PlayerCount.d.ts.map +1 -0
- package/dist/index.js +199 -170
- package/dist/pages/CharacterSheet.d.ts +1 -1
- package/dist/pages/CharacterSheet.d.ts.map +1 -1
- package/dist/pages/SheetBack.d.ts +4 -4
- package/dist/pages/SheetBack.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/scriptUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NightOrders } from "../types";
|
|
2
|
+
type NightOrderPanelProps = {
|
|
3
|
+
nightOrders: NightOrders;
|
|
4
|
+
};
|
|
5
|
+
export declare const NightOrderPanel: (props: NightOrderPanelProps) => import("preact").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=NightOrderPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NightOrderPanel.d.ts","sourceRoot":"","sources":["../../src/components/NightOrderPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,OAAO,uBAAuB,CAAC;AAE/B,KAAK,oBAAoB,GAAG;IAC1B,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,iCAuB1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayerCount.d.ts","sourceRoot":"","sources":["../../src/components/PlayerCount.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAgB3B,eAAO,MAAM,WAAW,oCAuBvB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { options as
|
|
1
|
+
import { options as w, Fragment as m } from "preact";
|
|
2
2
|
var J = 0;
|
|
3
|
-
function e(i, t, n, r, a,
|
|
3
|
+
function e(i, t, n, r, a, s) {
|
|
4
4
|
t || (t = {});
|
|
5
|
-
var
|
|
6
|
-
if ("ref" in o) for (
|
|
7
|
-
var
|
|
8
|
-
if (typeof i == "function" && (
|
|
9
|
-
return
|
|
5
|
+
var c, h, o = t;
|
|
6
|
+
if ("ref" in o) for (h in o = {}, t) h == "ref" ? c = t[h] : o[h] = t[h];
|
|
7
|
+
var l = { type: i, props: o, key: n, ref: c, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --J, __i: -1, __u: 0, __source: a, __self: s };
|
|
8
|
+
if (typeof i == "function" && (c = i.defaultProps)) for (h in c) o[h] === void 0 && (o[h] = c[h]);
|
|
9
|
+
return w.vnode && w.vnode(l), l;
|
|
10
10
|
}
|
|
11
11
|
function D(i) {
|
|
12
12
|
if (i.startsWith("#") && (i = i.slice(1)), i.length === 3 && (i = i.split("").map((a) => a + a).join("")), i.length !== 6)
|
|
@@ -16,14 +16,14 @@ function D(i) {
|
|
|
16
16
|
}
|
|
17
17
|
function T(i, t, n) {
|
|
18
18
|
const r = (a) => {
|
|
19
|
-
const
|
|
20
|
-
return
|
|
19
|
+
const s = a.toString(16);
|
|
20
|
+
return s.length === 1 ? "0" + s : s;
|
|
21
21
|
};
|
|
22
22
|
return `#${r(i)}${r(t)}${r(n)}`;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
const [n, r, a] = D(i),
|
|
26
|
-
return T(c, h
|
|
24
|
+
function M(i, t) {
|
|
25
|
+
const [n, r, a] = D(i), s = Math.round(n * t), c = Math.round(r * t), h = Math.round(a * t);
|
|
26
|
+
return T(s, c, h);
|
|
27
27
|
}
|
|
28
28
|
const f = {
|
|
29
29
|
townsfolk: "#00469e",
|
|
@@ -41,19 +41,19 @@ function A({
|
|
|
41
41
|
}) {
|
|
42
42
|
const r = new Map(
|
|
43
43
|
t.map((o) => [o.id.toLowerCase(), o])
|
|
44
|
-
), a = i.length > 4,
|
|
45
|
-
let
|
|
46
|
-
return n.length ? (
|
|
44
|
+
), a = i.length > 4, s = a ? Math.ceil(i.length / 2) : i.length;
|
|
45
|
+
let c, h;
|
|
46
|
+
return n.length ? (c = i.map((o, l) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `lc-${l}`)), h = n.map((o, l) => /* @__PURE__ */ e(P, { item: o }, `rc-${l}`))) : a ? (c = i.slice(0, s).map((o, l) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `lc-${l}`)), h = i.slice(s).map((o, l) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `rc-${l}`))) : c = i.map((o, l) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `lc-${l}`)), /* @__PURE__ */ e("div", { className: "jinxes-section", children: [
|
|
47
47
|
/* @__PURE__ */ e("h2", { className: "section-title" }),
|
|
48
|
-
|
|
48
|
+
h ? /* @__PURE__ */ e("div", { className: "jinxes-list jinxes-two-columns", children: [
|
|
49
49
|
/* @__PURE__ */ e("div", { className: "jinx-column", children: [
|
|
50
|
-
...
|
|
50
|
+
...c
|
|
51
51
|
] }),
|
|
52
52
|
/* @__PURE__ */ e("div", { className: "jinx-column", children: [
|
|
53
|
-
...
|
|
53
|
+
...h
|
|
54
54
|
] })
|
|
55
55
|
] }) : /* @__PURE__ */ e("div", { className: "jinxes-list", children: [
|
|
56
|
-
...
|
|
56
|
+
...c
|
|
57
57
|
] })
|
|
58
58
|
] });
|
|
59
59
|
}
|
|
@@ -82,7 +82,7 @@ const p = ({ charMap: i, jinx: t }) => {
|
|
|
82
82
|
/* @__PURE__ */ e("p", { className: "jinx-text", children: t.jinx })
|
|
83
83
|
] });
|
|
84
84
|
};
|
|
85
|
-
function
|
|
85
|
+
function P({ item: i }) {
|
|
86
86
|
return /* @__PURE__ */ e("div", { className: "jinx-item loric", children: [
|
|
87
87
|
/* @__PURE__ */ e("div", { className: "loric-spacer" }),
|
|
88
88
|
i.image ? /* @__PURE__ */ e("img", { src: i.image, alt: i.name, className: "jinx-icon loric" }) : /* @__PURE__ */ e("div", { className: "jinx-icon-placeholder", children: i.name.charAt(0) }),
|
|
@@ -95,17 +95,17 @@ function W({ item: i }) {
|
|
|
95
95
|
function b(i) {
|
|
96
96
|
return i.wiki_image ? i.wiki_image : i.image ? typeof i.image == "string" ? i.image : i.image[0] : null;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function W({
|
|
99
99
|
title: i,
|
|
100
100
|
author: t,
|
|
101
101
|
characters: n,
|
|
102
102
|
color: r = "#4a5568",
|
|
103
103
|
jinxes: a = [],
|
|
104
|
-
showSwirls:
|
|
105
|
-
includeMargins:
|
|
106
|
-
solidTitle:
|
|
104
|
+
showSwirls: s = !0,
|
|
105
|
+
includeMargins: c = !1,
|
|
106
|
+
solidTitle: h = !1,
|
|
107
107
|
iconScale: o = 1.6,
|
|
108
|
-
appearance:
|
|
108
|
+
appearance: l = "normal",
|
|
109
109
|
fabledOrLoric: d = []
|
|
110
110
|
}) {
|
|
111
111
|
const u = [
|
|
@@ -133,16 +133,16 @@ function P({
|
|
|
133
133
|
chars: n.demon,
|
|
134
134
|
color: f.demon
|
|
135
135
|
}
|
|
136
|
-
].filter((y) => y.chars.length > 0), g =
|
|
136
|
+
].filter((y) => y.chars.length > 0), g = M(r, 0.4), N = `character-sheet ${l !== "normal" ? `appearance-${l}` : ""}`.trim();
|
|
137
137
|
return /* @__PURE__ */ e(
|
|
138
138
|
"div",
|
|
139
139
|
{
|
|
140
|
-
className:
|
|
140
|
+
className: N,
|
|
141
141
|
id: "character-sheet",
|
|
142
142
|
style: {
|
|
143
143
|
"--header-color-light": r,
|
|
144
144
|
"--header-color-dark": g,
|
|
145
|
-
transform:
|
|
145
|
+
transform: c ? "scale(0.952)" : void 0
|
|
146
146
|
},
|
|
147
147
|
children: [
|
|
148
148
|
/* @__PURE__ */ e(
|
|
@@ -155,31 +155,30 @@ function P({
|
|
|
155
155
|
/* @__PURE__ */ e(E, { color: r }),
|
|
156
156
|
/* @__PURE__ */ e("div", { className: "sheet-content", children: [
|
|
157
157
|
/* @__PURE__ */ e(
|
|
158
|
-
|
|
158
|
+
O,
|
|
159
159
|
{
|
|
160
|
-
showSwirls:
|
|
160
|
+
showSwirls: s,
|
|
161
161
|
title: i,
|
|
162
162
|
author: t,
|
|
163
|
-
solidHeader:
|
|
163
|
+
solidHeader: h
|
|
164
164
|
}
|
|
165
165
|
),
|
|
166
166
|
/* @__PURE__ */ e("div", { className: "characters-grid", children: [
|
|
167
|
-
u.map((y,
|
|
167
|
+
u.map((y, L) => /* @__PURE__ */ e(m, { children: [
|
|
168
168
|
/* @__PURE__ */ e(
|
|
169
|
-
|
|
169
|
+
C,
|
|
170
170
|
{
|
|
171
171
|
title: y.title.toUpperCase(),
|
|
172
172
|
characters: y.chars,
|
|
173
173
|
sidebarColor: r,
|
|
174
174
|
charNameColor: y.color,
|
|
175
|
-
iconScale: o
|
|
176
|
-
appearance: s
|
|
175
|
+
iconScale: o
|
|
177
176
|
},
|
|
178
177
|
y.key
|
|
179
178
|
),
|
|
180
|
-
|
|
179
|
+
L < u.length - 1 && /* @__PURE__ */ e("img", { src: "/images/divider.png", className: "section-divider" })
|
|
181
180
|
] })),
|
|
182
|
-
a.length > 0 && /* @__PURE__ */ e(m, { children: [
|
|
181
|
+
(a.length > 0 || d.length > 0) && /* @__PURE__ */ e(m, { children: [
|
|
183
182
|
/* @__PURE__ */ e("img", { src: "/images/divider.png", className: "section-divider" }),
|
|
184
183
|
/* @__PURE__ */ e(
|
|
185
184
|
A,
|
|
@@ -209,7 +208,7 @@ function P({
|
|
|
209
208
|
}
|
|
210
209
|
);
|
|
211
210
|
}
|
|
212
|
-
function
|
|
211
|
+
function O({
|
|
213
212
|
showSwirls: i,
|
|
214
213
|
title: t,
|
|
215
214
|
author: n,
|
|
@@ -253,84 +252,77 @@ function E({ color: i }) {
|
|
|
253
252
|
/* @__PURE__ */ e("div", { className: "sidebar-overlay", style: { backgroundColor: i } })
|
|
254
253
|
] });
|
|
255
254
|
}
|
|
256
|
-
function
|
|
255
|
+
function C({
|
|
257
256
|
title: i,
|
|
258
257
|
characters: t,
|
|
259
258
|
charNameColor: n,
|
|
260
|
-
iconScale: r
|
|
261
|
-
appearance: a = "normal"
|
|
259
|
+
iconScale: r
|
|
262
260
|
}) {
|
|
263
|
-
const
|
|
261
|
+
const a = t.length > 8 ? "space-between" : "flex-start";
|
|
264
262
|
return /* @__PURE__ */ e("div", { className: "character-section", children: [
|
|
265
263
|
/* @__PURE__ */ e("h2", { className: "section-title", children: i }),
|
|
266
264
|
/* @__PURE__ */ e("div", { className: "character-list", children: [
|
|
267
|
-
/* @__PURE__ */ e("div", { className: "character-column", children: t.slice(0, Math.ceil(t.length / 2)).map((
|
|
268
|
-
|
|
265
|
+
/* @__PURE__ */ e("div", { className: "character-column", children: t.slice(0, Math.ceil(t.length / 2)).map((s) => /* @__PURE__ */ e(
|
|
266
|
+
I,
|
|
269
267
|
{
|
|
270
|
-
character:
|
|
268
|
+
character: s,
|
|
271
269
|
color: n,
|
|
272
|
-
iconScale: r
|
|
273
|
-
appearance: a
|
|
270
|
+
iconScale: r
|
|
274
271
|
},
|
|
275
|
-
|
|
272
|
+
s.id
|
|
276
273
|
)) }),
|
|
277
|
-
/* @__PURE__ */ e("div", { className: "character-column", style: { justifyContent:
|
|
278
|
-
|
|
274
|
+
/* @__PURE__ */ e("div", { className: "character-column", style: { justifyContent: a }, children: t.slice(Math.ceil(t.length / 2), t.length).map((s) => /* @__PURE__ */ e(
|
|
275
|
+
I,
|
|
279
276
|
{
|
|
280
|
-
character:
|
|
277
|
+
character: s,
|
|
281
278
|
color: n,
|
|
282
|
-
iconScale: r
|
|
283
|
-
appearance: a
|
|
279
|
+
iconScale: r
|
|
284
280
|
},
|
|
285
|
-
|
|
281
|
+
s.id
|
|
286
282
|
)) })
|
|
287
283
|
] })
|
|
288
284
|
] });
|
|
289
285
|
}
|
|
290
|
-
function
|
|
286
|
+
function I({
|
|
291
287
|
character: i,
|
|
292
288
|
color: t,
|
|
293
|
-
iconScale: n
|
|
294
|
-
appearance: r = "normal"
|
|
289
|
+
iconScale: n
|
|
295
290
|
}) {
|
|
296
|
-
const
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
299
|
-
const [,
|
|
291
|
+
const r = () => i.wiki_image ? i.wiki_image : i.image ? typeof i.image == "string" ? i.image : i.image[0] : null, a = (c) => {
|
|
292
|
+
const h = c.match(/^(.*?)(\[.*?\])$/);
|
|
293
|
+
if (h) {
|
|
294
|
+
const [, o, l] = h;
|
|
300
295
|
return /* @__PURE__ */ e(m, { children: [
|
|
301
|
-
|
|
302
|
-
/* @__PURE__ */ e("strong", { className: "setup-ability", children:
|
|
296
|
+
o,
|
|
297
|
+
/* @__PURE__ */ e("strong", { className: "setup-ability", children: l })
|
|
303
298
|
] });
|
|
304
299
|
}
|
|
305
|
-
return
|
|
306
|
-
},
|
|
307
|
-
return /* @__PURE__ */ e("div", { className:
|
|
308
|
-
/* @__PURE__ */ e("div", { className: "character-icon-wrapper", children:
|
|
300
|
+
return c;
|
|
301
|
+
}, s = r();
|
|
302
|
+
return /* @__PURE__ */ e("div", { className: "character-card", children: [
|
|
303
|
+
/* @__PURE__ */ e("div", { className: "character-icon-wrapper", children: s ? /* @__PURE__ */ e(
|
|
309
304
|
"img",
|
|
310
305
|
{
|
|
311
|
-
src:
|
|
306
|
+
src: s,
|
|
312
307
|
alt: i.name,
|
|
313
|
-
className:
|
|
308
|
+
className: "character-icon",
|
|
314
309
|
style: { scale: n.toString() }
|
|
315
310
|
}
|
|
316
311
|
) : /* @__PURE__ */ e(
|
|
317
312
|
"div",
|
|
318
313
|
{
|
|
319
|
-
className:
|
|
314
|
+
className: "character-icon-placeholder",
|
|
320
315
|
style: { color: t, scale: n.toString() },
|
|
321
316
|
children: i.name.charAt(0)
|
|
322
317
|
}
|
|
323
318
|
) }),
|
|
324
319
|
/* @__PURE__ */ e("div", { className: "character-info", children: [
|
|
325
|
-
/* @__PURE__ */ e("h3", { className:
|
|
326
|
-
/* @__PURE__ */ e("p", { className:
|
|
320
|
+
/* @__PURE__ */ e("h3", { className: "character-name", style: { color: t }, children: i.name }),
|
|
321
|
+
/* @__PURE__ */ e("p", { className: "character-ability", children: a(i.ability) })
|
|
327
322
|
] })
|
|
328
323
|
] });
|
|
329
324
|
}
|
|
330
|
-
|
|
331
|
-
return typeof i == "string" ? i === "dawn" ? "/images/dawn-icon.png" : i === "dusk" ? "/images/dusk-icon.png" : i === "minioninfo" ? "/images/minioninfo.png" : "/images/demoninfo.png" : typeof i.image == "string" ? i.image : Array.isArray(i.image) && i.image.length ? i.image[0] : i.wiki_image;
|
|
332
|
-
}
|
|
333
|
-
const k = /* @__PURE__ */ new Set([
|
|
325
|
+
const j = /* @__PURE__ */ new Set([
|
|
334
326
|
"the",
|
|
335
327
|
"of",
|
|
336
328
|
"in",
|
|
@@ -350,20 +342,20 @@ const k = /* @__PURE__ */ new Set([
|
|
|
350
342
|
"upon",
|
|
351
343
|
"after",
|
|
352
344
|
"before"
|
|
353
|
-
]),
|
|
354
|
-
const
|
|
355
|
-
if (r === 0 ||
|
|
345
|
+
]), x = (i, t) => j.has(i) || t === 0 && j.has(i.toLowerCase()), z = (i) => i.split(/\s+/).reduce((t, n, r, a) => {
|
|
346
|
+
const s = x(n, r), c = r > 0 && x(a[r - 1], r - 1);
|
|
347
|
+
if (r === 0 || s !== c) {
|
|
356
348
|
const o = [];
|
|
357
|
-
for (let d = r; d < a.length &&
|
|
349
|
+
for (let d = r; d < a.length && x(a[d], d) === s; d++)
|
|
358
350
|
o.push(a[d]);
|
|
359
|
-
const
|
|
351
|
+
const l = t.length > 0;
|
|
360
352
|
t.push(
|
|
361
353
|
/* @__PURE__ */ e(
|
|
362
354
|
"span",
|
|
363
355
|
{
|
|
364
|
-
className:
|
|
356
|
+
className: s ? "minor-word" : void 0,
|
|
365
357
|
children: [
|
|
366
|
-
|
|
358
|
+
l && " ",
|
|
367
359
|
o.join(" ")
|
|
368
360
|
]
|
|
369
361
|
},
|
|
@@ -372,14 +364,57 @@ const k = /* @__PURE__ */ new Set([
|
|
|
372
364
|
);
|
|
373
365
|
}
|
|
374
366
|
return t;
|
|
375
|
-
}, [])
|
|
367
|
+
}, []);
|
|
368
|
+
function v(i) {
|
|
369
|
+
return typeof i == "string" ? i === "dawn" ? "/images/dawn-icon.png" : i === "dusk" ? "/images/dusk-icon.png" : i === "minioninfo" ? "/images/minioninfo.png" : "/images/demoninfo.png" : typeof i.image == "string" ? i.image : Array.isArray(i.image) && i.image.length ? i.image[0] : i.wiki_image;
|
|
370
|
+
}
|
|
371
|
+
const R = (i) => {
|
|
372
|
+
const t = i.nightOrders.first, n = i.nightOrders.other;
|
|
373
|
+
return /* @__PURE__ */ e("div", { class: "night-orders-container", children: [
|
|
374
|
+
/* @__PURE__ */ e("div", { class: "night-order", children: [
|
|
375
|
+
/* @__PURE__ */ e("p", { children: "First Night:" }),
|
|
376
|
+
/* @__PURE__ */ e("div", { class: "icon-row", children: t.map((r) => /* @__PURE__ */ e("img", { src: v(r), class: "icon" })) })
|
|
377
|
+
] }),
|
|
378
|
+
/* @__PURE__ */ e("div", { class: "night-order", children: [
|
|
379
|
+
/* @__PURE__ */ e("p", { children: "Other Nights:" }),
|
|
380
|
+
/* @__PURE__ */ e("div", { class: "icon-row", children: n.map((r) => /* @__PURE__ */ e("img", { src: v(r), class: "icon" })) })
|
|
381
|
+
] })
|
|
382
|
+
] });
|
|
383
|
+
}, H = {
|
|
384
|
+
5: [3, 0, 1, 1],
|
|
385
|
+
6: [3, 1, 1, 1],
|
|
386
|
+
7: [5, 0, 1, 1],
|
|
387
|
+
8: [5, 1, 1, 1],
|
|
388
|
+
9: [5, 2, 1, 1],
|
|
389
|
+
10: [7, 0, 2, 1],
|
|
390
|
+
11: [7, 1, 2, 1],
|
|
391
|
+
12: [7, 2, 2, 1],
|
|
392
|
+
13: [9, 0, 3, 1],
|
|
393
|
+
14: [9, 1, 3, 1],
|
|
394
|
+
"15+": [9, 2, 3, 1]
|
|
395
|
+
}, _ = () => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("div", { className: "player-count-container", children: [
|
|
396
|
+
/* @__PURE__ */ e("div", { className: "count-column titles", children: [
|
|
397
|
+
/* @__PURE__ */ e("div", { className: "row-title", children: "Players" }),
|
|
398
|
+
/* @__PURE__ */ e("div", { className: "row-title good-count", children: "Townsfolk" }),
|
|
399
|
+
/* @__PURE__ */ e("div", { className: "row-title good-count", children: "Outsiders" }),
|
|
400
|
+
/* @__PURE__ */ e("div", { className: "row-title evil-count", children: "Minions" }),
|
|
401
|
+
/* @__PURE__ */ e("div", { className: "row-title evil-count", children: "Demons" })
|
|
402
|
+
] }),
|
|
403
|
+
Object.entries(H).map(([i, t]) => /* @__PURE__ */ e("div", { className: "count-column", children: [
|
|
404
|
+
/* @__PURE__ */ e("div", { className: "player-count", children: i }),
|
|
405
|
+
/* @__PURE__ */ e("div", { className: "good-count", children: t[0] }),
|
|
406
|
+
/* @__PURE__ */ e("div", { className: "good-count", children: t[1] }),
|
|
407
|
+
/* @__PURE__ */ e("div", { className: "evil-count", children: t[2] }),
|
|
408
|
+
/* @__PURE__ */ e("div", { className: "evil-count", children: t[3] })
|
|
409
|
+
] }))
|
|
410
|
+
] }) }), G = ({
|
|
376
411
|
title: i,
|
|
377
412
|
color: t,
|
|
378
413
|
includeMargins: n,
|
|
379
414
|
formatMinorWords: r = !1,
|
|
380
415
|
displayNightOrder: a = !1,
|
|
381
|
-
|
|
382
|
-
|
|
416
|
+
nightOrders: s = { first: [], other: [] },
|
|
417
|
+
displayPlayerCounts: c = !0
|
|
383
418
|
}) => /* @__PURE__ */ e(
|
|
384
419
|
"div",
|
|
385
420
|
{
|
|
@@ -388,57 +423,43 @@ const k = /* @__PURE__ */ new Set([
|
|
|
388
423
|
transform: n ? "scale(0.952)" : void 0
|
|
389
424
|
},
|
|
390
425
|
children: [
|
|
391
|
-
/* @__PURE__ */ e("div", { className: "sheet-background", children:
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
})() }) }),
|
|
399
|
-
a && /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("div", { className: "night-order-container", children: [
|
|
400
|
-
/* @__PURE__ */ e("div", { className: "night-order", children: [
|
|
401
|
-
/* @__PURE__ */ e("span", { children: "First Night:" }),
|
|
402
|
-
/* @__PURE__ */ e("div", { className: "night-icons", children: c.map((o) => {
|
|
403
|
-
const s = w(o);
|
|
404
|
-
return s && /* @__PURE__ */ e("img", { src: s, class: "night-order-icon" });
|
|
405
|
-
}) })
|
|
406
|
-
] }),
|
|
407
|
-
/* @__PURE__ */ e("div", { className: "night-order", children: [
|
|
408
|
-
/* @__PURE__ */ e("span", { children: "Other Nights:" }),
|
|
409
|
-
/* @__PURE__ */ e("div", { className: "night-icons", children: h.map((o) => {
|
|
410
|
-
const s = w(o);
|
|
411
|
-
return s && /* @__PURE__ */ e("img", { src: s, class: "night-order-icon" });
|
|
412
|
-
}) })
|
|
413
|
-
] })
|
|
414
|
-
] }) })
|
|
415
|
-
] }),
|
|
426
|
+
/* @__PURE__ */ e("div", { className: "sheet-background", children: /* @__PURE__ */ e("div", { className: "title-container", children: /* @__PURE__ */ e("h1", { children: (() => {
|
|
427
|
+
const o = i.split("&");
|
|
428
|
+
return o.map((l, d) => /* @__PURE__ */ e(m, { children: [
|
|
429
|
+
r ? z(l) : l,
|
|
430
|
+
d < o.length - 1 && /* @__PURE__ */ e("span", { className: "ampersand", children: "&" })
|
|
431
|
+
] }));
|
|
432
|
+
})() }) }) }),
|
|
416
433
|
/* @__PURE__ */ e(
|
|
417
434
|
"div",
|
|
418
435
|
{
|
|
419
436
|
className: "sheet-back-overlay",
|
|
420
437
|
style: { backgroundColor: t }
|
|
421
438
|
}
|
|
422
|
-
)
|
|
439
|
+
),
|
|
440
|
+
/* @__PURE__ */ e("div", { className: "back-info-container", children: [
|
|
441
|
+
c && /* @__PURE__ */ e(_, {}),
|
|
442
|
+
a && /* @__PURE__ */ e(R, { nightOrders: s })
|
|
443
|
+
] })
|
|
423
444
|
]
|
|
424
445
|
}
|
|
425
|
-
),
|
|
426
|
-
/* @__PURE__ */ e(
|
|
446
|
+
), B = (i) => /* @__PURE__ */ e(m, { children: [
|
|
447
|
+
/* @__PURE__ */ e(k, { ...i, children: [
|
|
427
448
|
/* @__PURE__ */ e("div", { className: "night-sheet-heading", children: [
|
|
428
449
|
/* @__PURE__ */ e("h3", { className: "night-title", children: "First Night" }),
|
|
429
450
|
/* @__PURE__ */ e("h3", { className: "script-title", children: i.title })
|
|
430
451
|
] }),
|
|
431
|
-
/* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.firstNightOrder.map((t) => /* @__PURE__ */ e(
|
|
452
|
+
/* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.firstNightOrder.map((t) => /* @__PURE__ */ e(S, { entry: t, night: "first" })) })
|
|
432
453
|
] }),
|
|
433
|
-
/* @__PURE__ */ e(
|
|
454
|
+
/* @__PURE__ */ e(k, { ...i, children: [
|
|
434
455
|
/* @__PURE__ */ e("div", { className: "night-sheet-heading", children: [
|
|
435
456
|
/* @__PURE__ */ e("h3", { className: "night-title", children: "Other Nights" }),
|
|
436
457
|
/* @__PURE__ */ e("h3", { className: "script-title", children: i.title })
|
|
437
458
|
] }),
|
|
438
|
-
/* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.otherNightOrder.map((t) => /* @__PURE__ */ e(
|
|
459
|
+
/* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.otherNightOrder.map((t) => /* @__PURE__ */ e(S, { entry: t, night: "other" })) })
|
|
439
460
|
] })
|
|
440
|
-
] }),
|
|
441
|
-
const t =
|
|
461
|
+
] }), k = (i) => {
|
|
462
|
+
const t = M(i.color, 0.4);
|
|
442
463
|
return /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(
|
|
443
464
|
"div",
|
|
444
465
|
{
|
|
@@ -475,30 +496,30 @@ const k = /* @__PURE__ */ new Set([
|
|
|
475
496
|
]
|
|
476
497
|
}
|
|
477
498
|
) });
|
|
478
|
-
},
|
|
479
|
-
const t =
|
|
499
|
+
}, V = () => /* @__PURE__ */ e("img", { className: "reminder-icon", src: "/images/reminder.png" }), S = (i) => {
|
|
500
|
+
const t = v(i.entry), { reminderText: n, name: r } = F(i.entry, i.night), a = typeof i.entry == "string" ? "#222" : f[i.entry.team];
|
|
480
501
|
if (!n)
|
|
481
502
|
return console.warn("No reminder text found for:", i.entry), /* @__PURE__ */ e(m, {});
|
|
482
|
-
const
|
|
503
|
+
const s = (h) => h.split(":reminder:").map((o, l) => l % 2 === 0 ? o : /* @__PURE__ */ e(V, {}));
|
|
483
504
|
return /* @__PURE__ */ e("div", { className: "night-sheet-entry", children: [
|
|
484
505
|
/* @__PURE__ */ e("img", { src: t }),
|
|
485
506
|
/* @__PURE__ */ e("div", { className: "night-sheet-entry-text", children: [
|
|
486
507
|
/* @__PURE__ */ e("p", { className: "reminder-name", style: { color: a }, children: r }),
|
|
487
|
-
/* @__PURE__ */ e("p", { className: "reminder-text", children: ((
|
|
488
|
-
const o =
|
|
508
|
+
/* @__PURE__ */ e("p", { className: "reminder-text", children: ((h) => {
|
|
509
|
+
const o = h.split("*").map((l, d) => d % 2 === 0 ? l : /* @__PURE__ */ e("strong", { children: l })).map((l) => typeof l == "string" ? s(l) : l);
|
|
489
510
|
return /* @__PURE__ */ e(m, { children: o });
|
|
490
511
|
})(n) })
|
|
491
512
|
] })
|
|
492
513
|
] });
|
|
493
|
-
},
|
|
514
|
+
}, F = (i, t) => {
|
|
494
515
|
if (typeof i == "object") {
|
|
495
516
|
const n = t === "first" ? i.firstNightReminder : i.otherNightReminder, r = i.name;
|
|
496
517
|
return { reminderText: n, name: r };
|
|
497
518
|
} else {
|
|
498
|
-
const n =
|
|
519
|
+
const n = $[i], r = t === "first" ? n.first : n.other ?? "", a = n.name;
|
|
499
520
|
return { reminderText: r, name: a };
|
|
500
521
|
}
|
|
501
|
-
},
|
|
522
|
+
}, $ = {
|
|
502
523
|
dusk: {
|
|
503
524
|
first: "Start the Night Phase.",
|
|
504
525
|
name: "Dusk",
|
|
@@ -518,22 +539,22 @@ const k = /* @__PURE__ */ new Set([
|
|
|
518
539
|
name: "Minion Info"
|
|
519
540
|
}
|
|
520
541
|
};
|
|
521
|
-
function
|
|
522
|
-
const t = i.filter((a) => a.team === "fabled")
|
|
542
|
+
function U(i) {
|
|
543
|
+
const t = i.filter((a) => a.team === "fabled");
|
|
523
544
|
return [
|
|
524
|
-
...
|
|
545
|
+
...i.filter((a) => a.team === "loric").map((a) => ({
|
|
525
546
|
name: a.name,
|
|
526
547
|
note: a.ability,
|
|
527
548
|
image: a.wiki_image ?? (Array.isArray(a.image) ? a.image[0] : a.image)
|
|
528
549
|
})),
|
|
529
|
-
...
|
|
550
|
+
...t.map((a) => ({
|
|
530
551
|
name: a.name,
|
|
531
552
|
note: a.ability,
|
|
532
553
|
image: a.wiki_image ?? (Array.isArray(a.image) ? a.image[0] : a.image)
|
|
533
554
|
}))
|
|
534
555
|
];
|
|
535
556
|
}
|
|
536
|
-
const
|
|
557
|
+
const Y = [
|
|
537
558
|
{
|
|
538
559
|
characters: [
|
|
539
560
|
"alchemist",
|
|
@@ -1505,7 +1526,7 @@ const F = [
|
|
|
1505
1526
|
oldJinx: "If the Exorcist chooses the Yaggababble, the Yaggababble ability does not kill tonight."
|
|
1506
1527
|
}
|
|
1507
1528
|
];
|
|
1508
|
-
function
|
|
1529
|
+
function Z(i) {
|
|
1509
1530
|
const t = {
|
|
1510
1531
|
townsfolk: [],
|
|
1511
1532
|
outsider: [],
|
|
@@ -1516,14 +1537,18 @@ function $(i) {
|
|
|
1516
1537
|
loric: []
|
|
1517
1538
|
};
|
|
1518
1539
|
for (const n of i)
|
|
1519
|
-
|
|
1540
|
+
try {
|
|
1541
|
+
t[n.team].push(n);
|
|
1542
|
+
} catch {
|
|
1543
|
+
console.error("Unknown team for:", n);
|
|
1544
|
+
}
|
|
1520
1545
|
return t;
|
|
1521
1546
|
}
|
|
1522
|
-
function
|
|
1547
|
+
function K(i, t = !1) {
|
|
1523
1548
|
const n = new Set(i.map((a) => a.id.toLowerCase())), r = [];
|
|
1524
|
-
for (const a of
|
|
1525
|
-
const [
|
|
1526
|
-
n.has(
|
|
1549
|
+
for (const a of Y) {
|
|
1550
|
+
const [s, c] = a.characters;
|
|
1551
|
+
n.has(s) && n.has(c) && (t && a.oldJinx ? r.push({
|
|
1527
1552
|
characters: a.characters,
|
|
1528
1553
|
jinx: a.oldJinx
|
|
1529
1554
|
}) : r.push({
|
|
@@ -1532,37 +1557,41 @@ function Z(i, t = !1) {
|
|
|
1532
1557
|
}));
|
|
1533
1558
|
}
|
|
1534
1559
|
for (const a of i) {
|
|
1535
|
-
const
|
|
1536
|
-
if (!
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1560
|
+
const s = typeof a == "object" && a !== null, c = "jinxes" in a;
|
|
1561
|
+
if (!s || !c) continue;
|
|
1562
|
+
console.log("char.jinxes:", a.jinxes);
|
|
1563
|
+
const h = a, o = h.id.toLowerCase();
|
|
1564
|
+
if (n.has(o) && h.jinxes)
|
|
1565
|
+
for (const l of h.jinxes) {
|
|
1566
|
+
const d = l.id.toLowerCase();
|
|
1567
|
+
if (console.log(`${a.id} is jinxed with ${d}`), n.has(d) || (console.log("characterIds doesnt contain charId", d), console.log("characterIds:", n)), n.has(d)) {
|
|
1568
|
+
const u = r.some(
|
|
1569
|
+
(g) => g.characters[0] === o && g.characters[1] === d || g.characters[0] === d && g.characters[1] === o
|
|
1570
|
+
);
|
|
1571
|
+
console.log("Jinx already exists:", u), u || r.push({
|
|
1572
|
+
characters: [o, d],
|
|
1573
|
+
jinx: l.reason
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1547
1576
|
}
|
|
1548
1577
|
}
|
|
1549
1578
|
return r;
|
|
1550
1579
|
}
|
|
1551
|
-
function
|
|
1552
|
-
var a,
|
|
1580
|
+
function Q({ script: i, options: t, nightOrders: n }) {
|
|
1581
|
+
var a, s;
|
|
1553
1582
|
return /* @__PURE__ */ e("div", { className: "sheet-wrapper", children: [
|
|
1554
1583
|
Array(1).fill(!0).map(() => {
|
|
1555
|
-
var
|
|
1584
|
+
var c, h;
|
|
1556
1585
|
return /* @__PURE__ */ e(m, { children: [
|
|
1557
1586
|
/* @__PURE__ */ e(
|
|
1558
|
-
|
|
1587
|
+
W,
|
|
1559
1588
|
{
|
|
1560
|
-
title: ((
|
|
1561
|
-
author: t.showAuthor ? (
|
|
1562
|
-
characters:
|
|
1589
|
+
title: ((c = i.metadata) == null ? void 0 : c.name) || "Custom Script",
|
|
1590
|
+
author: t.showAuthor ? (h = i.metadata) == null ? void 0 : h.author : void 0,
|
|
1591
|
+
characters: Z(i.characters),
|
|
1563
1592
|
color: t.color,
|
|
1564
|
-
jinxes: t.showJinxes ?
|
|
1565
|
-
fabledOrLoric:
|
|
1593
|
+
jinxes: t.showJinxes ? K(i.characters, t.useOldJinxes) : [],
|
|
1594
|
+
fabledOrLoric: U(i.characters),
|
|
1566
1595
|
showSwirls: t.showSwirls,
|
|
1567
1596
|
includeMargins: t.includeMargins,
|
|
1568
1597
|
solidTitle: t.solidTitle,
|
|
@@ -1575,27 +1604,27 @@ function U({ script: i, options: t, nightOrders: n }) {
|
|
|
1575
1604
|
}),
|
|
1576
1605
|
t.showBackingSheet && /* @__PURE__ */ e(m, { children: [
|
|
1577
1606
|
/* @__PURE__ */ e(
|
|
1578
|
-
|
|
1607
|
+
G,
|
|
1579
1608
|
{
|
|
1580
1609
|
title: ((a = i.metadata) == null ? void 0 : a.name) || "Custom Script",
|
|
1581
1610
|
color: t.color,
|
|
1582
1611
|
includeMargins: t.includeMargins,
|
|
1583
|
-
|
|
1584
|
-
otherNightOrder: n.other,
|
|
1612
|
+
nightOrders: n,
|
|
1585
1613
|
formatMinorWords: t.formatMinorWords,
|
|
1586
|
-
displayNightOrder: t.displayNightOrder
|
|
1614
|
+
displayNightOrder: t.displayNightOrder,
|
|
1615
|
+
displayPlayerCounts: t.displayPlayerCounts
|
|
1587
1616
|
}
|
|
1588
1617
|
),
|
|
1589
1618
|
/* @__PURE__ */ e("div", { style: "break-after:page;" })
|
|
1590
1619
|
] }),
|
|
1591
1620
|
t.showNightSheet && /* @__PURE__ */ e(m, { children: [
|
|
1592
1621
|
/* @__PURE__ */ e(
|
|
1593
|
-
|
|
1622
|
+
B,
|
|
1594
1623
|
{
|
|
1595
1624
|
firstNightOrder: n.first,
|
|
1596
1625
|
otherNightOrder: n.other,
|
|
1597
1626
|
includeMargins: t.includeMargins,
|
|
1598
|
-
title: ((
|
|
1627
|
+
title: ((s = i.metadata) == null ? void 0 : s.name) || "Custom Script",
|
|
1599
1628
|
color: t.color
|
|
1600
1629
|
}
|
|
1601
1630
|
),
|
|
@@ -1604,11 +1633,11 @@ function U({ script: i, options: t, nightOrders: n }) {
|
|
|
1604
1633
|
] });
|
|
1605
1634
|
}
|
|
1606
1635
|
export {
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1636
|
+
W as CharacterSheet,
|
|
1637
|
+
Q as FancyDoc,
|
|
1638
|
+
B as NightSheet,
|
|
1639
|
+
G as SheetBack,
|
|
1640
|
+
M as darken,
|
|
1612
1641
|
D as parseRgb,
|
|
1613
1642
|
T as rgbString
|
|
1614
1643
|
};
|
|
@@ -10,7 +10,7 @@ interface CharacterSheetProps {
|
|
|
10
10
|
includeMargins?: boolean;
|
|
11
11
|
solidTitle?: boolean;
|
|
12
12
|
iconScale?: number;
|
|
13
|
-
appearance?: "normal" | "compact" | "super-compact";
|
|
13
|
+
appearance?: "normal" | "compact" | "super-compact" | "mega-compact";
|
|
14
14
|
fabledOrLoric?: FabledOrLoric[];
|
|
15
15
|
}
|
|
16
16
|
export declare function CharacterSheet({ title, author, characters, color, jinxes, showSwirls, includeMargins, solidTitle, iconScale, appearance, fabledOrLoric, }: CharacterSheetProps): import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CharacterSheet.d.ts","sourceRoot":"","sources":["../../src/pages/CharacterSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,IAAI,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"CharacterSheet.d.ts","sourceRoot":"","sources":["../../src/pages/CharacterSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,IAAI,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC;IACrE,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;CACjC;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,MAAM,EACN,UAAU,EACV,KAAiB,EACjB,MAAW,EACX,UAAiB,EACjB,cAAsB,EACtB,UAAkB,EAClB,SAAe,EACf,UAAqB,EACrB,aAAkB,GACnB,EAAE,mBAAmB,gCAqGrB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NightOrders } from "../types";
|
|
2
2
|
type SheetBackProps = {
|
|
3
3
|
title: string;
|
|
4
4
|
color: string;
|
|
5
5
|
includeMargins: boolean;
|
|
6
6
|
formatMinorWords?: boolean;
|
|
7
7
|
displayNightOrder?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
displayPlayerCounts?: boolean;
|
|
9
|
+
nightOrders?: NightOrders;
|
|
10
10
|
};
|
|
11
|
-
export declare const SheetBack: ({ title, color, includeMargins, formatMinorWords, displayNightOrder,
|
|
11
|
+
export declare const SheetBack: ({ title, color, includeMargins, formatMinorWords, displayNightOrder, nightOrders, displayPlayerCounts, }: SheetBackProps) => import("preact").JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=SheetBack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetBack.d.ts","sourceRoot":"","sources":["../../src/pages/SheetBack.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SheetBack.d.ts","sourceRoot":"","sources":["../../src/pages/SheetBack.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAKvC,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,0GAQvB,cAAc,iCAoChB,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.character-sheet{width:210mm;min-height:297mm;max-height:297mm;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#2d3748;display:flex;overflow:hidden;isolation:isolate}.character-sheet-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0}.sidebar-container{position:relative}.sidebar-background{background-image:url(/images/sidebar-desaturated-small.jpg);background-size:105mm;width:15mm;height:100%;flex-shrink:0}.sidebar-overlay{position:absolute;top:0;left:0;width:15mm;height:100%;background-color:#0003;pointer-events:none;mix-blend-mode:multiply}.sidebar-section{flex:1;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;text-orientation:mixed;padding:3mm 0}.sidebar-label{font-size:3.5mm;font-weight:600;letter-spacing:.5mm;color:#eee;text-shadow:.3mm .3mm .5mm rgba(0,0,0,.3)}.sheet-content{position:relative;padding:5mm 0 3mm;display:flex;flex-direction:column;min-width:0}.character-column-spacer{min-height:13mm}.sheet-header-container{display:flex;align-items:center}.sheet-header{text-align:center;margin:0 0 4mm;padding:0 10mm;display:flex;align-items:center;justify-content:center}.sheet-header span{font-weight:lighter;letter-spacing:0mm;filter:drop-shadow(.2mm .1mm 0 #222d) drop-shadow(0mm 0mm .1mm #2228);word-spacing:-3mm;background:linear-gradient(-20deg,var(--header-color-light) 50%,var(--header-color-dark));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-family:Unlovable,serif;font-weight:100;font-size:14mm;padding:2mm 4mm;margin:0 -4mm;mix-blend-mode:multiply}.swirl-divider{width:35mm;mix-blend-mode:soft-light}.flip{transform:scaleX(-1)}.sheet-author{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.5mm;font-weight:700;text-align:center;margin:-5mm 0 3mm;color:#333}.characters-grid{display:flex;flex-direction:column;gap:2.5mm;flex:1;padding:0 10mm 0 0}.character-section{display:flex;break-inside:avoid;min-height:20mm}.section-title{font-family:Dumbledor,serif;font-weight:lighter;padding:0 3.5mm;color:#eee;margin:-2mm 0 -2mm -15mm;min-width:15mm;text-align:center;z-index:1;text-orientation:upright;writing-mode:vertical-lr;letter-spacing:-.6mm;font-size:4mm;line-height:2;filter:drop-shadow(.1mm .1mm .3mm #222a) drop-shadow(-.1mm .1mm .3mm #2228) drop-shadow(.1mm -.1mm .3mm #222a) drop-shadow(-.1mm -.1mm .3mm #222a)}.section-divider{height:.8mm;opacity:1;margin-left:-50%;width:150%;mix-blend-mode:soft-light}.character-list{display:flex;margin-left:8mm;gap:5mm}.character-column{flex:1 1 0px;display:flex;flex-direction:column;justify-content:space-between}.character-card{display:flex;align-items:center;gap:2.5mm;break-inside:avoid;margin-bottom:2.5mm}.character-info{padding-left:2mm;display:flex;flex-direction:column}.character-icon-wrapper{display:flex;flex-shrink:0}.character-icon,.character-icon-placeholder{width:13mm;max-height:13mm;object-fit:contain}.character-icon-placeholder{display:flex;align-items:center;justify-content:center;color:#eee;font-weight:700;font-size:6mm}.character-name{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.5mm;font-weight:700;margin:0 0 .5mm;color:#1a202c}.character-ability{font-family:Trade Gothic,Trade Gothic Next,Helvetica Neue,Arial,sans-serif;font-size:3.1mm;line-height:1.2;margin:0;color:#222;display:inline-block}.character-card.compact{margin-bottom:1mm}.character-ability.super-compact{font-size:2.7mm}.character-name.super-compact{font-size:3.2mm}.character-icon.super-compact,.character-icon-placeholder.super-compact{width:12mm;max-height:12mm}.character-card.super-compact{margin-bottom:.5mm}.sheet-footer{text-align:center;font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.5mm;color:#222;opacity:.7}.asterisk{font-size:5mm}.author-credit{position:absolute;bottom:3mm;right:3mm;font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.2mm;color:#222;opacity:.6;text-align:right}.author-credit p{font-size:2.5mm;margin:0}.setup-ability{display:inline-block;white-space:normal;font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif}.jinxes-section{display:flex;break-inside:avoid;margin-top:1mm}.jinxes-list{margin-left:8mm;display:flex;flex-direction:column;width:100%}.jinxes-two-columns{flex-direction:row;gap:5mm}.jinx-column{flex:1;display:flex;flex-direction:column}.jinx-item{display:flex;gap:2.5mm;align-items:center;break-inside:avoid;margin-bottom:2mm}.jinx-icons{display:flex;gap:1mm;flex-shrink:0;align-items:center}.jinx-icon-wrapper{display:flex;flex-shrink:0;align-items:center}.jinx-icon,.jinx-icon-placeholder{width:3.5mm;height:3.5mm;object-fit:contain;scale:2.8}.jinx-icon-placeholder{display:flex;align-items:center;justify-content:center;color:#eee;font-weight:700;font-size:2mm}.jinx-divider{font-family:Dumbledor,serif;font-size:4.6mm;color:#1a202c;line-height:3.5mm;margin:0 .5mm}.jinx-text{font-family:Trade Gothic,Trade Gothic Next,Helvetica Neue,Arial,sans-serif;font-size:2.6mm;line-height:1.2;margin:0;color:#222;padding-top:.5mm}.jinx-item.loric{margin-bottom:1mm}.loric-name{font-family:Goudy Old Style;font-size:3mm;padding-top:0}.loric-spacer{min-width:4mm}.sheet-backing{position:relative;width:210mm;min-height:297mm;max-height:297mm}.sheet-background{width:210mm;min-height:297mm;max-height:297mm;background-image:url(/images/sidebar-desaturated-small.jpg);background-repeat:repeat;background-size:105mm;display:flex;flex-direction:column;align-items:center;justify-content:center}.sheet-back-overlay{position:absolute;top:0;left:0;width:100%;height:100%;mix-blend-mode:multiply;pointer-events:none}.sheet-backing h1{font-family:Unlovable,serif;mix-blend-mode:normal;font-weight:100;font-size:30mm;color:#ae9d7f;text-wrap:wrap;z-index:1;flex-shrink:1;text-align:center;padding:10mm;background-image:url(/images/parchment_texture.jpg);background-clip:text;-webkit-background-clip:text;color:transparent;background-size:100mm;filter:drop-shadow(.5mm .5mm black) drop-shadow(0mm 0mm 1mm black);word-spacing:-10mm;flex:0 1 130mm;display:flex;flex-wrap:wrap;justify-content:center}.sheet-backing h1 .ampersand{font-size:45mm;line-height:30mm;vertical-align:-5mm}.night-order-container{position:absolute;background-image:url(/images/parchment_texture.jpg);background-position:0 -50%;left:0;bottom:20mm;font-family:Dumbledor;z-index:1;background-size:200mm;padding:4mm;box-shadow:inset 0 0 5px #000;display:flex;flex-direction:column;gap:5mm;max-width:185mm}.night-order{z-index:1;display:flex;gap:2mm}.night-order span{color:#222;height:6mm;display:flex;align-items:center;justify-content:flex-end;flex:0 0 23mm}.night-icons{z-index:1;display:flex;align-items:center;gap:2mm;flex-wrap:wrap}.night-order-icon{width:6mm;scale:2.1;filter:drop-shadow(0px 0px 2px #2224)}.title-container{z-index:1;display:flex;justify-content:center}.minor-word{padding:0 8mm;font-size:15mm;word-spacing:-6mm;display:flex}.night-sheet{width:210mm;min-height:297mm;max-height:297mm;display:flex;flex-direction:column;position:relative;overflow:hidden;color:#222}.night-sheet-heading{display:flex;align-items:center;justify-content:space-between}.night-sheet .night-title{font-family:Dumbledor;font-size:7mm;margin:0}.night-sheet .script-title{font-family:Unlovable,serif;font-weight:lighter;background:linear-gradient(-20deg,var(--header-color-light) 50%,var(--header-color-dark));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:11mm;line-height:7mm;margin:-3mm;padding:3mm}.night-sheet .sheet-content{padding:15mm;gap:5mm}.night-sheet-order{display:flex;flex-direction:column}.night-sheet-entry{display:flex;align-items:center;margin-bottom:1mm}.reminder-name{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-weight:700;font-size:3mm}.reminder-text{font-family:Trade Gothic;font-size:2.6mm}.night-sheet-entry p{margin:0}.night-sheet-entry p strong{font-family:Trade Gothic Bold}.night-sheet-entry>img{width:6mm;height:6mm;flex-shrink:0;scale:2;margin-right:2.5mm}.reminder-icon{width:10px;scale:1;opacity:.8;margin-right:4px;margin-bottom:-2px}.info-author-credit{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.2mm;color:#222;opacity:.6;text-align:right;margin-bottom:3mm;margin-right:3mm}.info-author-credit p{font-size:2.5mm;margin:0}.info-footer-container{position:relative}.info-footer-background{background-image:url(/images/sidebar-desaturated-small.jpg);background-size:105mm;width:100%;height:20mm}.info-footer-overlay{position:absolute;top:0;left:0;width:100%;height:20mm;background-color:#0003;mix-blend-mode:multiply}.spacer{flex:1 0 0px}
|
|
1
|
+
.character-sheet{width:210mm;min-height:297mm;max-height:297mm;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#2d3748;display:flex;overflow:hidden;isolation:isolate}.character-sheet-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0}.sidebar-container{position:relative}.sidebar-background{background-image:url(/images/sidebar-desaturated-small.jpg);background-size:105mm;width:15mm;height:100%;flex-shrink:0}.sidebar-overlay{position:absolute;top:0;left:0;width:15mm;height:100%;background-color:#0003;pointer-events:none;mix-blend-mode:multiply}.sidebar-section{flex:1;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;text-orientation:mixed;padding:3mm 0}.sidebar-label{font-size:3.5mm;font-weight:600;letter-spacing:.5mm;color:#eee;text-shadow:.3mm .3mm .5mm rgba(0,0,0,.3)}.sheet-content{position:relative;padding:5mm 0 3mm;display:flex;flex-direction:column;min-width:0}.character-column-spacer{min-height:13mm}.sheet-header-container{display:flex;align-items:center}.sheet-header{text-align:center;margin:0 0 4mm;padding:0 10mm;display:flex;align-items:center;justify-content:center}.sheet-header span{font-weight:lighter;letter-spacing:0mm;filter:drop-shadow(.2mm .1mm 0 #222d) drop-shadow(0mm 0mm .1mm #2228);word-spacing:-3mm;background:linear-gradient(-20deg,var(--header-color-light) 50%,var(--header-color-dark));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-family:Unlovable,serif;font-weight:100;font-size:14mm;padding:2mm 8mm;margin:0 -8mm;mix-blend-mode:multiply}.swirl-divider{width:35mm;mix-blend-mode:soft-light}.flip{transform:scaleX(-1)}.sheet-author{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.5mm;font-weight:700;text-align:center;margin:-5mm 0 3mm;color:#333}.characters-grid{display:flex;flex-direction:column;gap:2.5mm;flex:1;padding:0 10mm 0 0}.character-section{display:flex;break-inside:avoid;min-height:20mm}.section-title{font-family:Dumbledor,serif;font-weight:lighter;padding:0 3.5mm;color:#eee;margin:-2mm 0 -2mm -15mm;min-width:15mm;text-align:center;z-index:1;text-orientation:upright;writing-mode:vertical-lr;letter-spacing:-.6mm;font-size:4mm;line-height:2;filter:drop-shadow(.1mm .1mm .3mm #222a) drop-shadow(-.1mm .1mm .3mm #2228) drop-shadow(.1mm -.1mm .3mm #222a) drop-shadow(-.1mm -.1mm .3mm #222a)}.section-divider{height:.8mm;opacity:1;margin-left:-50%;width:150%;mix-blend-mode:soft-light}.character-list{display:flex;margin-left:8mm;gap:5mm}.character-column{flex:1 1 0px;display:flex;flex-direction:column;justify-content:space-between}.character-card{display:flex;align-items:center;gap:2.5mm;break-inside:avoid;margin-bottom:2.5mm}.character-info{padding-left:2mm;display:flex;flex-direction:column}.character-icon-wrapper{display:flex;flex-shrink:0}.character-icon,.character-icon-placeholder{width:13mm;max-height:13mm;object-fit:contain}.character-icon-placeholder{display:flex;align-items:center;justify-content:center;color:#eee;font-weight:700;font-size:6mm}.character-name{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.5mm;font-weight:700;margin:0 0 .5mm;color:#1a202c}.character-ability{font-family:Trade Gothic,Trade Gothic Next,Helvetica Neue,Arial,sans-serif;font-size:3.1mm;line-height:1.2;margin:0;color:#222;display:inline-block}.appearance-compact .character-card{margin-bottom:1mm}.appearance-compact .sheet-header span{font-size:13mm}.appearance-super-compact .character-ability{font-size:2.7mm}.appearance-super-compact .character-name{font-size:3.2mm}.appearance-super-compact .character-icon,.appearance-super-compact .character-icon-placeholder{width:12mm;max-height:12mm}.appearance-super-compact .character-card{margin-bottom:.5mm}.appearance-super-compact .sheet-header span{font-size:12mm}.appearance-mega-compact .character-ability{font-size:2.4mm}.appearance-mega-compact .character-name{font-size:2.8mm}.appearance-mega-compact .sheet-header span{font-size:11mm}.appearance-mega-compact .character-icon,.appearance-mega-compact .character-icon-placeholder{width:11mm;max-height:11mm}.appearance-mega-compact .character-card{margin-bottom:.3mm}.sheet-footer{text-align:center;font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.5mm;color:#222;opacity:.7}.asterisk{font-size:5mm}.author-credit{position:absolute;bottom:3mm;right:3mm;font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.2mm;color:#222;opacity:.6;text-align:right}.author-credit p{font-size:2.5mm;margin:0}.setup-ability{display:inline-block;white-space:normal;font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif}.jinxes-section{display:flex;break-inside:avoid;margin-top:1mm}.jinxes-list{margin-left:8mm;display:flex;flex-direction:column;width:100%}.jinxes-two-columns{flex-direction:row;gap:5mm}.jinx-column{flex:1;display:flex;flex-direction:column}.jinx-item{display:flex;gap:2.5mm;align-items:center;break-inside:avoid;margin-bottom:2mm}.jinx-icons{display:flex;gap:1mm;flex-shrink:0;align-items:center}.jinx-icon-wrapper{display:flex;flex-shrink:0;align-items:center}.jinx-icon,.jinx-icon-placeholder{width:3.5mm;height:3.5mm;object-fit:contain;scale:2.8}.jinx-icon-placeholder{display:flex;align-items:center;justify-content:center;color:#eee;font-weight:700;font-size:2mm}.jinx-divider{font-family:Dumbledor,serif;font-size:4.6mm;color:#1a202c;line-height:3.5mm;margin:0 .5mm}.jinx-text{font-family:Trade Gothic,Trade Gothic Next,Helvetica Neue,Arial,sans-serif;font-size:2.6mm;line-height:1.2;margin:0;color:#222;padding-top:.5mm}.jinx-text.loric-text{padding-top:0}.jinx-item.loric{margin-bottom:1mm}.loric-name{font-family:Goudy Old Style;font-size:3mm;padding-top:0}.loric-spacer{min-width:4mm}.sheet-backing{position:relative;width:210mm;min-height:297mm;max-height:297mm}.sheet-background{width:210mm;min-height:297mm;max-height:297mm;background-image:url(/images/sidebar-desaturated-small.jpg);background-repeat:repeat;background-size:105mm;display:flex;flex-direction:column;align-items:center;justify-content:center}.sheet-back-overlay{position:absolute;top:0;left:0;width:100%;height:100%;mix-blend-mode:multiply;pointer-events:none}.sheet-backing h1{font-family:Unlovable,serif;mix-blend-mode:normal;font-weight:100;font-size:30mm;color:#ae9d7f;text-wrap:wrap;z-index:1;flex-shrink:1;text-align:center;padding:10mm;background-image:url(/images/parchment_texture.jpg);background-clip:text;-webkit-background-clip:text;color:transparent;background-size:100mm;filter:drop-shadow(.5mm .5mm black) drop-shadow(0mm 0mm 1mm black);word-spacing:-10mm;flex:0 1 130mm;display:flex;flex-wrap:wrap;justify-content:center}.sheet-backing h1 .ampersand{font-size:45mm;line-height:30mm;vertical-align:-5mm}.back-info-container{position:absolute;display:flex;gap:10mm;align-items:center;bottom:0;flex-direction:column-reverse;justify-content:space-between;height:100%;width:100%;padding:20mm}.title-container{z-index:1;display:flex;justify-content:center}.minor-word{padding:0 8mm;font-size:15mm;word-spacing:-6mm;display:flex}.night-orders-container{background-image:url(/images/parchment_texture.jpg);background-position:0 -50%;font-family:Dumbledor;z-index:1;background-size:200mm;box-shadow:inset 0 0 5px #000;padding:2mm}.night-orders-container p{width:26mm;text-align:end;margin:0;flex-shrink:0;color:#222;font-size:5mm}.night-order:not(:last-child){margin-bottom:2mm}.night-order{padding:2mm;display:flex;align-items:center;gap:2mm}.icon-row{box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:2mm;row-gap:4mm}.icon{width:6mm;box-sizing:border-box;scale:2.1;filter:drop-shadow(0px 0px 2px #2224)}.player-count-container{background-image:url(/images/parchment_texture.jpg);background-position:0 -50%;font-family:Dumbledor;z-index:1;background-size:200mm;padding:4mm;box-shadow:inset 0 0 5px #000;display:flex;gap:5mm;max-width:130mm;flex-direction:row;color:#222;font-size:6mm}.count-column{display:flex;flex-direction:column;align-items:center}.count-column.titles{align-items:end}.good-count{color:#00469e}.evil-count{color:#580709}.night-sheet{width:210mm;min-height:297mm;max-height:297mm;display:flex;flex-direction:column;position:relative;overflow:hidden;color:#222}.night-sheet-heading{display:flex;align-items:center;justify-content:space-between}.night-sheet .night-title{font-family:Dumbledor;font-size:7mm;margin:0}.night-sheet .script-title{font-family:Unlovable,serif;font-weight:lighter;background:linear-gradient(-20deg,var(--header-color-light) 50%,var(--header-color-dark));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:11mm;line-height:9mm;margin:-20mm -7mm;padding:7mm;max-width:50%;text-align:center;word-spacing:-4mm;filter:drop-shadow(.2mm .1mm 0 #222d) drop-shadow(0mm 0mm .1mm #2228)}.night-sheet .sheet-content{padding:15mm;gap:5mm}.night-sheet-order{display:flex;flex-direction:column}.night-sheet-entry{display:flex;align-items:center;margin-bottom:1mm}.reminder-name{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-weight:700;font-size:3mm}.reminder-text{font-family:Trade Gothic;font-size:2.6mm}.night-sheet-entry p{margin:0}.night-sheet-entry p strong{font-family:Trade Gothic Bold}.night-sheet-entry>img{width:6mm;height:6mm;flex-shrink:0;scale:2;margin-right:2.5mm}.reminder-icon{width:10px;scale:1;opacity:.8;margin-right:4px;margin-bottom:-2px}.info-author-credit{font-family:Goudy Old Style,Goudy Oldstyle,Goudy,Georgia,serif;font-size:3.2mm;color:#222;opacity:.6;text-align:right;margin-bottom:3mm;margin-right:3mm}.info-author-credit p{font-size:2.5mm;margin:0}.info-footer-container{position:relative}.info-footer-background{background-image:url(/images/sidebar-desaturated-small.jpg);background-size:105mm;width:100%;height:20mm}.info-footer-overlay{position:absolute;top:0;left:0;width:100%;height:20mm;background-color:#0003;mix-blend-mode:multiply}.spacer{flex:1 0 0px}
|
package/dist/types.d.ts
CHANGED
|
@@ -33,12 +33,13 @@ export interface ScriptOptions {
|
|
|
33
33
|
showSwirls: boolean;
|
|
34
34
|
includeMargins: boolean;
|
|
35
35
|
solidTitle: boolean;
|
|
36
|
-
appearance: "normal" | "compact" | "super-compact";
|
|
36
|
+
appearance: "normal" | "compact" | "super-compact" | "mega-compact";
|
|
37
37
|
showBackingSheet: boolean;
|
|
38
38
|
showNightSheet: boolean;
|
|
39
39
|
iconScale: number;
|
|
40
40
|
formatMinorWords: boolean;
|
|
41
41
|
displayNightOrder: boolean;
|
|
42
|
+
displayPlayerCounts: boolean;
|
|
42
43
|
}
|
|
43
44
|
export interface ParsedScript {
|
|
44
45
|
metadata: ScriptMetadata | null;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG3E,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,QAAQ,CAAC;AAEb,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,IAAI;IACnB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,WAAW,CAAC;AAE9D,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,QAAQ,GAAG,SAAS,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG3E,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,QAAQ,CAAC;AAEb,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,IAAI;IACnB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,WAAW,CAAC;AAE9D,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,QAAQ,GAAG,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC;IACpE,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,eAAe,EAAE,CAAC;CAC/B;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scriptUtils.d.ts","sourceRoot":"","sources":["../../src/utils/scriptUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGtE,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,iBAAiB,EAAE,GAC9B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"scriptUtils.d.ts","sourceRoot":"","sources":["../../src/utils/scriptUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGtE,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,iBAAiB,EAAE,GAC9B,iBAAiB,CAoBnB;AAED,wBAAgB,UAAU,CACxB,UAAU,EAAE,iBAAiB,EAAE,EAC/B,YAAY,UAAQ,GACnB,IAAI,EAAE,CAmER"}
|