botc-character-sheet 0.15.1 → 0.16.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.
@@ -1 +1 @@
1
- {"version":3,"file":"FancyDoc.d.ts","sourceRoot":"","sources":["../src/FancyDoc.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGnE,OAAO,gBAAgB,CAAC;AAExB,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,aAAa,gCA0DvE"}
1
+ {"version":3,"file":"FancyDoc.d.ts","sourceRoot":"","sources":["../src/FancyDoc.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGnE,OAAO,gBAAgB,CAAC;AAExB,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,aAAa,gCA2DvE"}
@@ -4,7 +4,8 @@ interface JinxesSectionProps {
4
4
  jinxes: Jinx[];
5
5
  allCharacters: ResolvedCharacter[];
6
6
  fabledAndLoric: FabledOrLoric[];
7
+ bootleggerRules: string[];
7
8
  }
8
- export declare function JinxesAndSpecial({ jinxes, allCharacters, fabledAndLoric, }: JinxesSectionProps): import("preact").JSX.Element;
9
+ export declare function JinxesAndSpecial({ jinxes, allCharacters, fabledAndLoric, bootleggerRules, }: JinxesSectionProps): import("preact").JSX.Element | null;
9
10
  export {};
10
11
  //# sourceMappingURL=JinxesAndSpecial.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JinxesAndSpecial.d.ts","sourceRoot":"","sources":["../../src/components/JinxesAndSpecial.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,UAAU,kBAAkB;IAC1B,MAAM,EAAE,IAAI,EAAE,CAAC;IACf,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,aAAa,EACb,cAAc,GACf,EAAE,kBAAkB,gCAoDpB"}
1
+ {"version":3,"file":"JinxesAndSpecial.d.ts","sourceRoot":"","sources":["../../src/components/JinxesAndSpecial.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,UAAU,kBAAkB;IAC1B,MAAM,EAAE,IAAI,EAAE,CAAC;IACf,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,aAAa,EACb,cAAc,EACd,eAAe,GAChB,EAAE,kBAAkB,uCAgGpB"}
package/dist/index.js CHANGED
@@ -1,31 +1,31 @@
1
- import { options as j, Fragment as m } from "preact";
2
- var W = 0;
1
+ import { options as N, Fragment as f } from "preact";
2
+ var C = 0;
3
3
  function e(i, t, a, r, n, h) {
4
4
  t || (t = {});
5
- var l, s, o = t;
6
- if ("ref" in o) for (s in o = {}, t) s == "ref" ? l = t[s] : o[s] = t[s];
7
- var c = { type: i, props: o, key: a, ref: l, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --W, __i: -1, __u: 0, __source: n, __self: h };
8
- if (typeof i == "function" && (l = i.defaultProps)) for (s in l) o[s] === void 0 && (o[s] = l[s]);
9
- return j.vnode && j.vnode(c), c;
5
+ var l, o, s = t;
6
+ if ("ref" in s) for (o in s = {}, t) o == "ref" ? l = t[o] : s[o] = t[o];
7
+ var c = { type: i, props: s, key: a, ref: l, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --C, __i: -1, __u: 0, __source: n, __self: h };
8
+ if (typeof i == "function" && (l = i.defaultProps)) for (o in l) s[o] === void 0 && (s[o] = l[o]);
9
+ return N.vnode && N.vnode(c), c;
10
10
  }
11
- function E(i) {
11
+ function z(i) {
12
12
  if (i.startsWith("#") && (i = i.slice(1)), i.length === 3 && (i = i.split("").map((n) => n + n).join("")), i.length !== 6)
13
13
  throw new Error("Invalid HEX color.");
14
14
  const t = parseInt(i.slice(0, 2), 16), a = parseInt(i.slice(2, 4), 16), r = parseInt(i.slice(4, 6), 16);
15
15
  return [t, a, r];
16
16
  }
17
- function C(i, t, a) {
17
+ function H(i, t, a) {
18
18
  const r = (n) => {
19
19
  const h = n.toString(16);
20
20
  return h.length === 1 ? "0" + h : h;
21
21
  };
22
22
  return `#${r(i)}${r(t)}${r(a)}`;
23
23
  }
24
- function z(i, t) {
25
- const [a, r, n] = E(i), h = Math.round(a * t), l = Math.round(r * t), s = Math.round(n * t);
26
- return C(h, l, s);
24
+ function R(i, t) {
25
+ const [a, r, n] = z(i), h = Math.round(a * t), l = Math.round(r * t), o = Math.round(n * t);
26
+ return H(h, l, o);
27
27
  }
28
- const f = {
28
+ const b = {
29
29
  townsfolk: "#00469e",
30
30
  outsider: "#00469e",
31
31
  minion: "#580709",
@@ -34,14 +34,14 @@ const f = {
34
34
  traveller: "#390758ff",
35
35
  loric: "#1f5807"
36
36
  };
37
- function w(i) {
37
+ function j(i) {
38
38
  return Array.isArray(i) ? i : [i];
39
39
  }
40
- function D(i, t = 20) {
40
+ function O(i, t = 20) {
41
41
  if (i.length === 0)
42
42
  return "transparent";
43
43
  if (i.length === 1) {
44
- const r = z(i[0], 0.4);
44
+ const r = R(i[0], 0.4);
45
45
  return `linear-gradient(${t}deg, ${i[0]} 50%, ${r})`;
46
46
  }
47
47
  const a = i.map((r, n) => {
@@ -50,8 +50,8 @@ function D(i, t = 20) {
50
50
  }).join(", ");
51
51
  return `linear-gradient(${t}deg, ${a})`;
52
52
  }
53
- function I(i, t = 90) {
54
- const a = w(i);
53
+ function S(i, t = 90) {
54
+ const a = j(i);
55
55
  if (a.length === 1)
56
56
  return a[0];
57
57
  const r = a.map((n, h) => {
@@ -60,46 +60,87 @@ function I(i, t = 90) {
60
60
  }).join(", ");
61
61
  return `linear-gradient(${t}deg, ${r})`;
62
62
  }
63
- function R({
63
+ function _({
64
64
  jinxes: i,
65
65
  allCharacters: t,
66
- fabledAndLoric: a
66
+ fabledAndLoric: a,
67
+ bootleggerRules: r
67
68
  }) {
68
- const r = new Map(
69
- t.map((o) => [o.id.toLowerCase(), o])
70
- ), n = i.length > 4, h = n ? Math.ceil(i.length / 2) : i.length;
71
- let l, s;
72
- return a.length ? (l = i.map((o, c) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `lc-${c}`)), s = a.map((o, c) => /* @__PURE__ */ e(H, { item: o }, `rc-${c}`))) : n ? (l = i.slice(0, h).map((o, c) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `lc-${c}`)), s = i.slice(h).map((o, c) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `rc-${c}`))) : l = i.map((o, c) => /* @__PURE__ */ e(p, { jinx: o, charMap: r }, `lc-${c}`)), /* @__PURE__ */ e("div", { className: "jinxes-section", children: [
69
+ const n = new Map(
70
+ t.map((m) => [m.id.toLowerCase(), m])
71
+ ), h = i.length > 0 && a.length > 0, l = i.length > 0 && a.length === 0, o = i.length === 0 && a.length > 0, s = [...i, ...a], c = h || i.length > 4 || a.length > 4, d = c ? Math.ceil(s.length / 2) : s.length;
72
+ let y, u;
73
+ if (h)
74
+ y = i.map((m, g) => /* @__PURE__ */ e(x, { jinx: m, charMap: n }, `lc-${g}`)), u = a.map((m, g) => /* @__PURE__ */ e(
75
+ v,
76
+ {
77
+ item: m,
78
+ bootleggerRules: r
79
+ },
80
+ `rc-${g}`
81
+ ));
82
+ else if (l && c)
83
+ y = i.slice(0, d).map((m, g) => /* @__PURE__ */ e(x, { jinx: m, charMap: n }, `lc-${g}`)), u = i.slice(d).map((m, g) => /* @__PURE__ */ e(x, { jinx: m, charMap: n }, `rc-${g}`));
84
+ else if (o && c)
85
+ y = a.slice(0, d).map((m, g) => /* @__PURE__ */ e(
86
+ v,
87
+ {
88
+ item: m,
89
+ bootleggerRules: r
90
+ },
91
+ `lc-${g}`
92
+ )), u = a.slice(d).map((m, g) => /* @__PURE__ */ e(
93
+ v,
94
+ {
95
+ item: m,
96
+ bootleggerRules: r
97
+ },
98
+ `rc-${g}`
99
+ ));
100
+ else if (l)
101
+ y = i.map((m, g) => /* @__PURE__ */ e(x, { jinx: m, charMap: n }, `lc-${g}`));
102
+ else if (o)
103
+ y = a.map((m, g) => /* @__PURE__ */ e(
104
+ v,
105
+ {
106
+ item: m,
107
+ bootleggerRules: r
108
+ },
109
+ `lc-${g}`
110
+ ));
111
+ else
112
+ return null;
113
+ return /* @__PURE__ */ e("div", { className: "jinxes-section", children: [
73
114
  /* @__PURE__ */ e("h2", { className: "section-title" }),
74
- s ? /* @__PURE__ */ e("div", { className: "jinxes-list jinxes-two-columns", children: [
115
+ u ? /* @__PURE__ */ e("div", { className: "jinxes-list jinxes-two-columns", children: [
75
116
  /* @__PURE__ */ e("div", { className: "jinx-column", children: [
76
- ...l
117
+ ...y
77
118
  ] }),
78
119
  /* @__PURE__ */ e("div", { className: "jinx-column", children: [
79
- ...s
120
+ ...u
80
121
  ] })
81
122
  ] }) : /* @__PURE__ */ e("div", { className: "jinxes-list", children: [
82
- ...l
123
+ ...y
83
124
  ] })
84
125
  ] });
85
126
  }
86
- const p = ({ charMap: i, jinx: t }) => {
127
+ const x = ({ charMap: i, jinx: t }) => {
87
128
  const a = i.get(t.characters[0]), r = i.get(t.characters[1]);
88
129
  return /* @__PURE__ */ e("div", { className: "jinx-item", children: [
89
130
  /* @__PURE__ */ e("div", { className: "jinx-icons", children: [
90
- a && /* @__PURE__ */ e("div", { className: "jinx-icon-wrapper", children: b(a) ? /* @__PURE__ */ e(
131
+ a && /* @__PURE__ */ e("div", { className: "jinx-icon-wrapper", children: w(a) ? /* @__PURE__ */ e(
91
132
  "img",
92
133
  {
93
- src: b(a),
134
+ src: w(a),
94
135
  alt: a.name,
95
136
  className: "jinx-icon"
96
137
  }
97
138
  ) : /* @__PURE__ */ e("div", { className: "jinx-icon-placeholder", children: a.name.charAt(0) }) }),
98
139
  /* @__PURE__ */ e("span", { className: "jinx-divider" }),
99
- r && /* @__PURE__ */ e("div", { className: "jinx-icon-wrapper", children: b(r) ? /* @__PURE__ */ e(
140
+ r && /* @__PURE__ */ e("div", { className: "jinx-icon-wrapper", children: w(r) ? /* @__PURE__ */ e(
100
141
  "img",
101
142
  {
102
- src: b(r),
143
+ src: w(r),
103
144
  alt: r.name,
104
145
  className: "jinx-icon"
105
146
  }
@@ -108,20 +149,25 @@ const p = ({ charMap: i, jinx: t }) => {
108
149
  /* @__PURE__ */ e("p", { className: "jinx-text", children: t.jinx })
109
150
  ] });
110
151
  };
111
- function H({ item: i }) {
152
+ function v({
153
+ item: i,
154
+ bootleggerRules: t
155
+ }) {
156
+ const a = i.name.toLowerCase() === "bootlegger";
112
157
  return /* @__PURE__ */ e("div", { className: "jinx-item loric", children: [
113
158
  /* @__PURE__ */ e("div", { className: "loric-spacer" }),
114
159
  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) }),
115
160
  /* @__PURE__ */ e("div", { className: "loric-text-container", children: [
116
161
  /* @__PURE__ */ e("p", { className: "jinx-text loric-name", children: i.name }),
117
- /* @__PURE__ */ e("p", { className: "jinx-text loric-text", children: i.note })
162
+ /* @__PURE__ */ e("p", { className: "jinx-text loric-text", children: i.note }),
163
+ a && t.map((r, n) => /* @__PURE__ */ e("p", { className: "jinx-text loric-text", children: r }, `bootlegger-rule-${n}`))
118
164
  ] })
119
165
  ] });
120
166
  }
121
- function b(i) {
167
+ function w(i) {
122
168
  return i.wiki_image ? i.wiki_image : i.image ? typeof i.image == "string" ? i.image : i.image[0] : null;
123
169
  }
124
- const _ = [
170
+ const B = [
125
171
  {
126
172
  characters: [
127
173
  "alchemist",
@@ -1118,9 +1164,9 @@ function G(i) {
1118
1164
  }
1119
1165
  return t;
1120
1166
  }
1121
- function B(i, t = !1) {
1167
+ function $(i, t = !1) {
1122
1168
  const a = new Set(i.map((n) => n.id.toLowerCase())), r = [];
1123
- for (const n of _) {
1169
+ for (const n of B) {
1124
1170
  const [h, l] = n.characters;
1125
1171
  a.has(h) && a.has(l) && (t && n.oldJinx ? r.push({
1126
1172
  characters: n.characters,
@@ -1134,16 +1180,16 @@ function B(i, t = !1) {
1134
1180
  const h = typeof n == "object" && n !== null, l = "jinxes" in n;
1135
1181
  if (!h || !l) continue;
1136
1182
  console.log("char.jinxes:", n.jinxes);
1137
- const s = n, o = s.id.toLowerCase();
1138
- if (a.has(o) && s.jinxes)
1139
- for (const c of s.jinxes) {
1183
+ const o = n, s = o.id.toLowerCase();
1184
+ if (a.has(s) && o.jinxes)
1185
+ for (const c of o.jinxes) {
1140
1186
  const d = c.id.toLowerCase();
1141
1187
  if (console.log(`${n.id} is jinxed with ${d}`), a.has(d) || (console.log("characterIds doesnt contain charId", d), console.log("characterIds:", a)), a.has(d)) {
1142
1188
  const y = r.some(
1143
- (g) => g.characters[0] === o && g.characters[1] === d || g.characters[0] === d && g.characters[1] === o
1189
+ (u) => u.characters[0] === s && u.characters[1] === d || u.characters[0] === d && u.characters[1] === s
1144
1190
  );
1145
1191
  console.log("Jinx already exists:", y), y || r.push({
1146
- characters: [o, d],
1192
+ characters: [s, d],
1147
1193
  jinx: c.reason
1148
1194
  });
1149
1195
  }
@@ -1151,8 +1197,8 @@ function B(i, t = !1) {
1151
1197
  }
1152
1198
  return r;
1153
1199
  }
1154
- const k = (i) => i.wiki_image ? i.wiki_image : i.image ? typeof i.image == "string" ? i.image : i.image[0] : null;
1155
- function S(i, t, a) {
1200
+ const M = (i) => i.wiki_image ? i.wiki_image : i.image ? typeof i.image == "string" ? i.image : i.image[0] : null;
1201
+ function J(i, t, a) {
1156
1202
  const r = [];
1157
1203
  return t.forEach((n) => {
1158
1204
  n.characters[0] === i.id ? r.push(n.characters[1]) : n.characters[1] === i.id && r.push(n.characters[0]);
@@ -1160,7 +1206,7 @@ function S(i, t, a) {
1160
1206
  (n) => r.includes(n.id)
1161
1207
  );
1162
1208
  }
1163
- function $({
1209
+ function V({
1164
1210
  title: i,
1165
1211
  author: t,
1166
1212
  characters: a,
@@ -1168,45 +1214,46 @@ function $({
1168
1214
  jinxes: n = [],
1169
1215
  showSwirls: h = !0,
1170
1216
  includeMargins: l = !1,
1171
- solidTitle: s = !1,
1172
- iconScale: o = 1.6,
1217
+ solidTitle: o = !1,
1218
+ iconScale: s = 1.6,
1173
1219
  appearance: c = "normal",
1174
1220
  fabledOrLoric: d = [],
1175
- inlineJinxIcons: y = !1
1221
+ inlineJinxIcons: y = !1,
1222
+ bootleggerRules: u = []
1176
1223
  }) {
1177
- const g = [
1224
+ const m = [
1178
1225
  {
1179
1226
  key: "townsfolk",
1180
1227
  title: "Townsfolk",
1181
1228
  chars: a.townsfolk,
1182
- color: f.townsfolk
1229
+ color: b.townsfolk
1183
1230
  },
1184
1231
  {
1185
1232
  key: "outsider",
1186
1233
  title: "Outsiders",
1187
1234
  chars: a.outsider,
1188
- color: f.outsider
1235
+ color: b.outsider
1189
1236
  },
1190
1237
  {
1191
1238
  key: "minion",
1192
1239
  title: "Minions",
1193
1240
  chars: a.minion,
1194
- color: f.minion
1241
+ color: b.minion
1195
1242
  },
1196
1243
  {
1197
1244
  key: "demon",
1198
1245
  title: "Demons",
1199
1246
  chars: a.demon,
1200
- color: f.demon
1247
+ color: b.demon
1201
1248
  }
1202
- ].filter((u) => u.chars.length > 0), T = w(r), A = D(T, 20), P = ["character-sheet", c !== "normal" ? `appearance-${c}` : ""].filter(Boolean).join(" ");
1249
+ ].filter((p) => p.chars.length > 0), g = j(r), P = O(g, 20), W = ["character-sheet", c !== "normal" ? `appearance-${c}` : ""].filter(Boolean).join(" ");
1203
1250
  return /* @__PURE__ */ e(
1204
1251
  "div",
1205
1252
  {
1206
- className: P,
1253
+ className: W,
1207
1254
  id: "character-sheet",
1208
1255
  style: {
1209
- "--header-gradient": A,
1256
+ "--header-gradient": P,
1210
1257
  transform: l ? "scale(0.952)" : void 0
1211
1258
  },
1212
1259
  children: [
@@ -1217,26 +1264,26 @@ function $({
1217
1264
  src: "/images/parchment_texture_a4_lightened.jpg"
1218
1265
  }
1219
1266
  ),
1220
- /* @__PURE__ */ e(F, { color: r }),
1267
+ /* @__PURE__ */ e(U, { color: r }),
1221
1268
  /* @__PURE__ */ e("div", { className: "sheet-content", children: [
1222
1269
  /* @__PURE__ */ e(
1223
- V,
1270
+ F,
1224
1271
  {
1225
1272
  showSwirls: h,
1226
1273
  title: i,
1227
1274
  author: t,
1228
- solidHeader: s
1275
+ solidHeader: o
1229
1276
  }
1230
1277
  ),
1231
1278
  /* @__PURE__ */ e("div", { className: "characters-grid", children: [
1232
- g.map((u, O) => /* @__PURE__ */ e(m, { children: [
1279
+ m.map((p, E) => /* @__PURE__ */ e(f, { children: [
1233
1280
  /* @__PURE__ */ e(
1234
- U,
1281
+ Y,
1235
1282
  {
1236
- title: u.title.toUpperCase(),
1237
- characters: u.chars,
1238
- charNameColor: u.color,
1239
- iconScale: o,
1283
+ title: p.title.toUpperCase(),
1284
+ characters: p.chars,
1285
+ charNameColor: p.color,
1286
+ iconScale: s,
1240
1287
  jinxes: n,
1241
1288
  allCharacters: [
1242
1289
  ...a.townsfolk,
@@ -1246,14 +1293,14 @@ function $({
1246
1293
  ],
1247
1294
  inlineJinxIcons: y
1248
1295
  },
1249
- u.key
1296
+ p.key
1250
1297
  ),
1251
- O < g.length - 1 && /* @__PURE__ */ e("img", { src: "/images/divider.png", className: "section-divider" })
1298
+ E < m.length - 1 && /* @__PURE__ */ e("img", { src: "/images/divider.png", className: "section-divider" })
1252
1299
  ] })),
1253
- (n.length > 0 || d.length > 0) && /* @__PURE__ */ e(m, { children: [
1300
+ (n.length > 0 || d.length > 0) && /* @__PURE__ */ e(f, { children: [
1254
1301
  /* @__PURE__ */ e("img", { src: "/images/divider.png", className: "section-divider" }),
1255
1302
  /* @__PURE__ */ e(
1256
- R,
1303
+ _,
1257
1304
  {
1258
1305
  fabledAndLoric: d,
1259
1306
  jinxes: n,
@@ -1262,7 +1309,8 @@ function $({
1262
1309
  ...a.outsider,
1263
1310
  ...a.minion,
1264
1311
  ...a.demon
1265
- ]
1312
+ ],
1313
+ bootleggerRules: u
1266
1314
  }
1267
1315
  )
1268
1316
  ] })
@@ -1280,13 +1328,13 @@ function $({
1280
1328
  }
1281
1329
  );
1282
1330
  }
1283
- function V({
1331
+ function F({
1284
1332
  showSwirls: i,
1285
1333
  title: t,
1286
1334
  author: a,
1287
1335
  solidHeader: r = !1
1288
1336
  }) {
1289
- return /* @__PURE__ */ e(m, { children: [
1337
+ return /* @__PURE__ */ e(f, { children: [
1290
1338
  /* @__PURE__ */ e("h1", { className: "sheet-header", children: [
1291
1339
  i && /* @__PURE__ */ e(
1292
1340
  "img",
@@ -1318,8 +1366,8 @@ function V({
1318
1366
  ] })
1319
1367
  ] });
1320
1368
  }
1321
- function F({ color: i }) {
1322
- const t = I(i, 180);
1369
+ function U({ color: i }) {
1370
+ const t = S(i, 180);
1323
1371
  return /* @__PURE__ */ e("div", { className: "sidebar-container", children: [
1324
1372
  /* @__PURE__ */ e("div", { className: "sidebar-background" }),
1325
1373
  /* @__PURE__ */ e(
@@ -1331,7 +1379,7 @@ function F({ color: i }) {
1331
1379
  )
1332
1380
  ] });
1333
1381
  }
1334
- function U({
1382
+ function Y({
1335
1383
  title: i,
1336
1384
  characters: t,
1337
1385
  charNameColor: a,
@@ -1340,53 +1388,53 @@ function U({
1340
1388
  allCharacters: h,
1341
1389
  inlineJinxIcons: l
1342
1390
  }) {
1343
- const s = t.length > 8 ? "space-between" : t.length % 2 === 0 ? "space-around" : "flex-start";
1391
+ const o = t.length > 8 ? "space-between" : t.length % 2 === 0 ? "space-around" : "flex-start";
1344
1392
  return /* @__PURE__ */ e("div", { className: "character-section", children: [
1345
1393
  /* @__PURE__ */ e("h2", { className: "section-title", children: i }),
1346
1394
  /* @__PURE__ */ e("div", { className: "character-list", children: [
1347
- /* @__PURE__ */ e("div", { className: "character-column", style: { justifyContent: s }, children: t.slice(0, Math.ceil(t.length / 2)).map((o) => /* @__PURE__ */ e(
1348
- N,
1395
+ /* @__PURE__ */ e("div", { className: "character-column", style: { justifyContent: o }, children: t.slice(0, Math.ceil(t.length / 2)).map((s) => /* @__PURE__ */ e(
1396
+ D,
1349
1397
  {
1350
- character: o,
1398
+ character: s,
1351
1399
  color: a,
1352
1400
  iconScale: r,
1353
- jinxedCharacters: S(o, n, h),
1401
+ jinxedCharacters: J(s, n, h),
1354
1402
  inlineJinxIcons: l
1355
1403
  },
1356
- o.id
1404
+ s.id
1357
1405
  )) }),
1358
- /* @__PURE__ */ e("div", { className: "character-column", style: { justifyContent: s }, children: t.slice(Math.ceil(t.length / 2), t.length).map((o) => /* @__PURE__ */ e(
1359
- N,
1406
+ /* @__PURE__ */ e("div", { className: "character-column", style: { justifyContent: o }, children: t.slice(Math.ceil(t.length / 2), t.length).map((s) => /* @__PURE__ */ e(
1407
+ D,
1360
1408
  {
1361
- character: o,
1409
+ character: s,
1362
1410
  color: a,
1363
1411
  iconScale: r,
1364
- jinxedCharacters: S(o, n, h),
1412
+ jinxedCharacters: J(s, n, h),
1365
1413
  inlineJinxIcons: l
1366
1414
  },
1367
- o.id
1415
+ s.id
1368
1416
  )) })
1369
1417
  ] })
1370
1418
  ] });
1371
1419
  }
1372
- function N({
1420
+ function D({
1373
1421
  character: i,
1374
1422
  color: t,
1375
1423
  iconScale: a,
1376
1424
  jinxedCharacters: r,
1377
1425
  inlineJinxIcons: n
1378
1426
  }) {
1379
- const h = (s) => {
1380
- const o = s.match(/^(.*?)(\[.*?\])$/);
1381
- if (o) {
1382
- const [, c, d] = o;
1383
- return /* @__PURE__ */ e(m, { children: [
1427
+ const h = (o) => {
1428
+ const s = o.match(/^(.*?)(\[.*?\])$/);
1429
+ if (s) {
1430
+ const [, c, d] = s;
1431
+ return /* @__PURE__ */ e(f, { children: [
1384
1432
  c,
1385
1433
  /* @__PURE__ */ e("strong", { className: "setup-ability", children: d })
1386
1434
  ] });
1387
1435
  }
1388
- return s;
1389
- }, l = k(i);
1436
+ return o;
1437
+ }, l = M(i);
1390
1438
  return /* @__PURE__ */ e("div", { className: "character-card", children: [
1391
1439
  /* @__PURE__ */ e("div", { className: "character-icon-wrapper", children: l ? /* @__PURE__ */ e(
1392
1440
  "img",
@@ -1407,25 +1455,25 @@ function N({
1407
1455
  /* @__PURE__ */ e("div", { className: "character-info", children: [
1408
1456
  /* @__PURE__ */ e("h3", { className: "character-name", style: { color: t }, children: [
1409
1457
  i.name,
1410
- n && r.length > 0 && /* @__PURE__ */ e("span", { className: "inline-jinx-icons", children: r.map((s) => {
1411
- const o = k(s);
1412
- return o ? /* @__PURE__ */ e(
1458
+ n && r.length > 0 && /* @__PURE__ */ e("span", { className: "inline-jinx-icons", children: r.map((o) => {
1459
+ const s = M(o);
1460
+ return s ? /* @__PURE__ */ e(
1413
1461
  "img",
1414
1462
  {
1415
- src: o,
1416
- alt: s.name,
1463
+ src: s,
1464
+ alt: o.name,
1417
1465
  className: "inline-jinx-icon",
1418
- title: `Jinxed with ${s.name}`
1466
+ title: `Jinxed with ${o.name}`
1419
1467
  },
1420
- s.id
1468
+ o.id
1421
1469
  ) : /* @__PURE__ */ e(
1422
1470
  "span",
1423
1471
  {
1424
1472
  className: "inline-jinx-icon-placeholder",
1425
- title: `Jinxed with ${s.name}`,
1426
- children: s.name.charAt(0)
1473
+ title: `Jinxed with ${o.name}`,
1474
+ children: o.name.charAt(0)
1427
1475
  },
1428
- s.id
1476
+ o.id
1429
1477
  );
1430
1478
  }) })
1431
1479
  ] }),
@@ -1433,7 +1481,7 @@ function N({
1433
1481
  ] })
1434
1482
  ] });
1435
1483
  }
1436
- const M = /* @__PURE__ */ new Set([
1484
+ const L = /* @__PURE__ */ new Set([
1437
1485
  "the",
1438
1486
  "of",
1439
1487
  "in",
@@ -1453,12 +1501,12 @@ const M = /* @__PURE__ */ new Set([
1453
1501
  "upon",
1454
1502
  "after",
1455
1503
  "before"
1456
- ]), x = (i, t) => M.has(i) || t === 0 && M.has(i.toLowerCase()), Y = (i) => i.split(/\s+/).reduce((t, a, r, n) => {
1457
- const h = x(a, r), l = r > 0 && x(n[r - 1], r - 1);
1504
+ ]), I = (i, t) => L.has(i) || t === 0 && L.has(i.toLowerCase()), Z = (i) => i.split(/\s+/).reduce((t, a, r, n) => {
1505
+ const h = I(a, r), l = r > 0 && I(n[r - 1], r - 1);
1458
1506
  if (r === 0 || h !== l) {
1459
- const o = [];
1460
- for (let d = r; d < n.length && x(n[d], d) === h; d++)
1461
- o.push(n[d]);
1507
+ const s = [];
1508
+ for (let d = r; d < n.length && I(n[d], d) === h; d++)
1509
+ s.push(n[d]);
1462
1510
  const c = t.length > 0;
1463
1511
  t.push(
1464
1512
  /* @__PURE__ */ e(
@@ -1467,7 +1515,7 @@ const M = /* @__PURE__ */ new Set([
1467
1515
  className: h ? "minor-word" : void 0,
1468
1516
  children: [
1469
1517
  c && " ",
1470
- o.join(" ")
1518
+ s.join(" ")
1471
1519
  ]
1472
1520
  },
1473
1521
  r
@@ -1476,22 +1524,22 @@ const M = /* @__PURE__ */ new Set([
1476
1524
  }
1477
1525
  return t;
1478
1526
  }, []);
1479
- function v(i) {
1527
+ function k(i) {
1480
1528
  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;
1481
1529
  }
1482
- const Z = (i) => {
1530
+ const K = (i) => {
1483
1531
  const t = i.nightOrders.first, a = i.nightOrders.other;
1484
1532
  return /* @__PURE__ */ e("div", { class: "night-orders-container", children: [
1485
1533
  /* @__PURE__ */ e("div", { class: "night-order", children: [
1486
1534
  /* @__PURE__ */ e("p", { children: "First Night:" }),
1487
- /* @__PURE__ */ e("div", { class: "icon-row", children: t.map((r) => /* @__PURE__ */ e("img", { src: v(r), class: "icon" })) })
1535
+ /* @__PURE__ */ e("div", { class: "icon-row", children: t.map((r) => /* @__PURE__ */ e("img", { src: k(r), class: "icon" })) })
1488
1536
  ] }),
1489
1537
  /* @__PURE__ */ e("div", { class: "night-order", children: [
1490
1538
  /* @__PURE__ */ e("p", { children: "Other Nights:" }),
1491
- /* @__PURE__ */ e("div", { class: "icon-row", children: a.map((r) => /* @__PURE__ */ e("img", { src: v(r), class: "icon" })) })
1539
+ /* @__PURE__ */ e("div", { class: "icon-row", children: a.map((r) => /* @__PURE__ */ e("img", { src: k(r), class: "icon" })) })
1492
1540
  ] })
1493
1541
  ] });
1494
- }, K = {
1542
+ }, q = {
1495
1543
  5: [3, 0, 1, 1],
1496
1544
  6: [3, 1, 1, 1],
1497
1545
  7: [5, 0, 1, 1],
@@ -1503,7 +1551,7 @@ const Z = (i) => {
1503
1551
  13: [9, 0, 3, 1],
1504
1552
  14: [9, 1, 3, 1],
1505
1553
  "15+": [9, 2, 3, 1]
1506
- }, q = () => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e("div", { className: "player-count-container", children: [
1554
+ }, X = () => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e("div", { className: "player-count-container", children: [
1507
1555
  /* @__PURE__ */ e("div", { className: "count-column titles", children: [
1508
1556
  /* @__PURE__ */ e("div", { className: "row-title", children: "Players" }),
1509
1557
  /* @__PURE__ */ e("div", { className: "row-title good-count", children: "Townsfolk" }),
@@ -1511,14 +1559,14 @@ const Z = (i) => {
1511
1559
  /* @__PURE__ */ e("div", { className: "row-title evil-count", children: "Minions" }),
1512
1560
  /* @__PURE__ */ e("div", { className: "row-title evil-count", children: "Demons" })
1513
1561
  ] }),
1514
- Object.entries(K).map(([i, t]) => /* @__PURE__ */ e("div", { className: "count-column", children: [
1562
+ Object.entries(q).map(([i, t]) => /* @__PURE__ */ e("div", { className: "count-column", children: [
1515
1563
  /* @__PURE__ */ e("div", { className: "player-count", children: i }),
1516
1564
  /* @__PURE__ */ e("div", { className: "good-count", children: t[0] }),
1517
1565
  /* @__PURE__ */ e("div", { className: "good-count", children: t[1] }),
1518
1566
  /* @__PURE__ */ e("div", { className: "evil-count", children: t[2] }),
1519
1567
  /* @__PURE__ */ e("div", { className: "evil-count", children: t[3] })
1520
1568
  ] }))
1521
- ] }) }), X = ({
1569
+ ] }) }), Q = ({
1522
1570
  title: i,
1523
1571
  color: t,
1524
1572
  includeMargins: a,
@@ -1527,13 +1575,13 @@ const Z = (i) => {
1527
1575
  nightOrders: h = { first: [], other: [] },
1528
1576
  displayPlayerCounts: l = !0
1529
1577
  }) => {
1530
- const s = () => {
1578
+ const o = () => {
1531
1579
  const c = i.split("&");
1532
- return c.map((d, y) => /* @__PURE__ */ e(m, { children: [
1533
- r ? Y(d) : d,
1580
+ return c.map((d, y) => /* @__PURE__ */ e(f, { children: [
1581
+ r ? Z(d) : d,
1534
1582
  y < c.length - 1 && /* @__PURE__ */ e("span", { className: "ampersand", children: "&" })
1535
1583
  ] }));
1536
- }, o = I(t, 180);
1584
+ }, s = S(t, 180);
1537
1585
  return /* @__PURE__ */ e(
1538
1586
  "div",
1539
1587
  {
@@ -1542,39 +1590,39 @@ const Z = (i) => {
1542
1590
  transform: a ? "scale(0.952)" : void 0
1543
1591
  },
1544
1592
  children: [
1545
- /* @__PURE__ */ e("div", { className: "sheet-background", children: /* @__PURE__ */ e("div", { className: "title-container", children: /* @__PURE__ */ e("h1", { children: s() }) }) }),
1593
+ /* @__PURE__ */ e("div", { className: "sheet-background", children: /* @__PURE__ */ e("div", { className: "title-container", children: /* @__PURE__ */ e("h1", { children: o() }) }) }),
1546
1594
  /* @__PURE__ */ e(
1547
1595
  "div",
1548
1596
  {
1549
1597
  className: "sheet-back-overlay",
1550
- style: { background: o }
1598
+ style: { background: s }
1551
1599
  }
1552
1600
  ),
1553
1601
  /* @__PURE__ */ e("div", { className: "back-info-container", children: [
1554
- l && /* @__PURE__ */ e(q, {}),
1555
- n && /* @__PURE__ */ e(Z, { nightOrders: h })
1602
+ l && /* @__PURE__ */ e(X, {}),
1603
+ n && /* @__PURE__ */ e(K, { nightOrders: h })
1556
1604
  ] })
1557
1605
  ]
1558
1606
  }
1559
1607
  );
1560
- }, Q = (i) => /* @__PURE__ */ e(m, { children: [
1561
- /* @__PURE__ */ e(J, { ...i, children: [
1608
+ }, ee = (i) => /* @__PURE__ */ e(f, { children: [
1609
+ /* @__PURE__ */ e(T, { ...i, children: [
1562
1610
  /* @__PURE__ */ e("div", { className: "night-sheet-heading", children: [
1563
1611
  /* @__PURE__ */ e("h3", { className: "night-title", children: "First Night" }),
1564
1612
  /* @__PURE__ */ e("h3", { className: "script-title", children: i.title })
1565
1613
  ] }),
1566
- /* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.firstNightOrder.map((t) => /* @__PURE__ */ e(L, { entry: t, night: "first" })) })
1614
+ /* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.firstNightOrder.map((t) => /* @__PURE__ */ e(A, { entry: t, night: "first" })) })
1567
1615
  ] }),
1568
- /* @__PURE__ */ e(J, { ...i, children: [
1616
+ /* @__PURE__ */ e(T, { ...i, children: [
1569
1617
  /* @__PURE__ */ e("div", { className: "night-sheet-heading", children: [
1570
1618
  /* @__PURE__ */ e("h3", { className: "night-title", children: "Other Nights" }),
1571
1619
  /* @__PURE__ */ e("h3", { className: "script-title", children: i.title })
1572
1620
  ] }),
1573
- /* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.otherNightOrder.map((t) => /* @__PURE__ */ e(L, { entry: t, night: "other" })) })
1621
+ /* @__PURE__ */ e("div", { className: "night-sheet-order", children: i.otherNightOrder.map((t) => /* @__PURE__ */ e(A, { entry: t, night: "other" })) })
1574
1622
  ] })
1575
- ] }), J = (i) => {
1576
- const t = w(i.color), a = D(t, 20), r = I(i.color, 180);
1577
- return /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(
1623
+ ] }), T = (i) => {
1624
+ const t = j(i.color), a = O(t, 20), r = S(i.color, 180);
1625
+ return /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(
1578
1626
  "div",
1579
1627
  {
1580
1628
  className: "night-sheet",
@@ -1609,30 +1657,30 @@ const Z = (i) => {
1609
1657
  ]
1610
1658
  }
1611
1659
  ) });
1612
- }, ee = () => /* @__PURE__ */ e("img", { className: "reminder-icon", src: "/images/reminder.png" }), L = (i) => {
1613
- const t = v(i.entry), { reminderText: a, name: r } = ie(i.entry, i.night), n = typeof i.entry == "string" ? "#222" : f[i.entry.team];
1660
+ }, ie = () => /* @__PURE__ */ e("img", { className: "reminder-icon", src: "/images/reminder.png" }), A = (i) => {
1661
+ const t = k(i.entry), { reminderText: a, name: r } = te(i.entry, i.night), n = typeof i.entry == "string" ? "#222" : b[i.entry.team];
1614
1662
  if (!a)
1615
- return console.warn("No reminder text found for:", i.entry), /* @__PURE__ */ e(m, {});
1616
- const h = (s) => s.split(":reminder:").map((o, c) => c % 2 === 0 ? o : /* @__PURE__ */ e(ee, {}));
1663
+ return console.warn("No reminder text found for:", i.entry), /* @__PURE__ */ e(f, {});
1664
+ const h = (o) => o.split(":reminder:").map((s, c) => c % 2 === 0 ? s : /* @__PURE__ */ e(ie, {}));
1617
1665
  return /* @__PURE__ */ e("div", { className: "night-sheet-entry", children: [
1618
1666
  /* @__PURE__ */ e("img", { src: t }),
1619
1667
  /* @__PURE__ */ e("div", { className: "night-sheet-entry-text", children: [
1620
1668
  /* @__PURE__ */ e("p", { className: "reminder-name", style: { color: n }, children: r }),
1621
- /* @__PURE__ */ e("p", { className: "reminder-text", children: ((s) => {
1622
- const o = s.split("*").map((c, d) => d % 2 === 0 ? c : /* @__PURE__ */ e("strong", { children: c })).map((c) => typeof c == "string" ? h(c) : c);
1623
- return /* @__PURE__ */ e(m, { children: o });
1669
+ /* @__PURE__ */ e("p", { className: "reminder-text", children: ((o) => {
1670
+ const s = o.split("*").map((c, d) => d % 2 === 0 ? c : /* @__PURE__ */ e("strong", { children: c })).map((c) => typeof c == "string" ? h(c) : c);
1671
+ return /* @__PURE__ */ e(f, { children: s });
1624
1672
  })(a) })
1625
1673
  ] })
1626
1674
  ] });
1627
- }, ie = (i, t) => {
1675
+ }, te = (i, t) => {
1628
1676
  if (typeof i == "object") {
1629
1677
  const a = t === "first" ? i.firstNightReminder : i.otherNightReminder, r = i.name;
1630
1678
  return { reminderText: a, name: r };
1631
1679
  } else {
1632
- const a = te[i], r = t === "first" ? a.first : a.other ?? "", n = a.name;
1680
+ const a = ae[i], r = t === "first" ? a.first : a.other ?? "", n = a.name;
1633
1681
  return { reminderText: r, name: n };
1634
1682
  }
1635
- }, te = {
1683
+ }, ae = {
1636
1684
  dusk: {
1637
1685
  first: "Start the Night Phase.",
1638
1686
  name: "Dusk",
@@ -1652,7 +1700,7 @@ const Z = (i) => {
1652
1700
  name: "Minion Info"
1653
1701
  }
1654
1702
  };
1655
- function ae(i) {
1703
+ function ne(i) {
1656
1704
  const t = i.filter((n) => n.team === "fabled");
1657
1705
  return [
1658
1706
  ...i.filter((n) => n.team === "loric").map((n) => ({
@@ -1667,35 +1715,36 @@ function ae(i) {
1667
1715
  }))
1668
1716
  ];
1669
1717
  }
1670
- function oe({ script: i, options: t, nightOrders: a }) {
1718
+ function se({ script: i, options: t, nightOrders: a }) {
1671
1719
  var r;
1672
1720
  return /* @__PURE__ */ e("div", { className: "sheet-wrapper", children: [
1673
1721
  Array(t.numberOfCharacterSheets).fill(!0).map((n, h) => {
1674
- var l, s, o;
1722
+ var l, o, s, c;
1675
1723
  return /* @__PURE__ */ e("div", { className: h === 0 ? "" : "print-only", children: [
1676
1724
  /* @__PURE__ */ e(
1677
- $,
1725
+ V,
1678
1726
  {
1679
1727
  title: ((l = i.metadata) == null ? void 0 : l.name) || "Custom Script",
1680
- author: t.showAuthor ? (s = i.metadata) == null ? void 0 : s.author : void 0,
1728
+ author: t.showAuthor ? (o = i.metadata) == null ? void 0 : o.author : void 0,
1681
1729
  characters: G(i.characters),
1682
1730
  color: t.color,
1683
- jinxes: t.showJinxes ? B(i.characters, t.useOldJinxes) : [],
1684
- fabledOrLoric: ae(i.characters),
1731
+ jinxes: t.showJinxes ? $(i.characters, t.useOldJinxes) : [],
1732
+ fabledOrLoric: ne(i.characters),
1685
1733
  showSwirls: t.showSwirls,
1686
1734
  includeMargins: t.includeMargins,
1687
1735
  solidTitle: t.solidTitle,
1688
1736
  iconScale: t.iconScale,
1689
1737
  appearance: t.appearance,
1690
- inlineJinxIcons: t.inlineJinxIcons
1738
+ inlineJinxIcons: t.inlineJinxIcons,
1739
+ bootleggerRules: (s = i.metadata) == null ? void 0 : s.bootlegger
1691
1740
  }
1692
1741
  ),
1693
1742
  /* @__PURE__ */ e("div", { style: "break-after:page;" }),
1694
- t.showBackingSheet && /* @__PURE__ */ e(m, { children: [
1743
+ t.showBackingSheet && /* @__PURE__ */ e(f, { children: [
1695
1744
  /* @__PURE__ */ e(
1696
- X,
1745
+ Q,
1697
1746
  {
1698
- title: ((o = i.metadata) == null ? void 0 : o.name) || "Custom Script",
1747
+ title: ((c = i.metadata) == null ? void 0 : c.name) || "Custom Script",
1699
1748
  color: t.color,
1700
1749
  includeMargins: t.includeMargins,
1701
1750
  nightOrders: a,
@@ -1708,9 +1757,9 @@ function oe({ script: i, options: t, nightOrders: a }) {
1708
1757
  ] })
1709
1758
  ] });
1710
1759
  }),
1711
- t.showNightSheet && /* @__PURE__ */ e(m, { children: [
1760
+ t.showNightSheet && /* @__PURE__ */ e(f, { children: [
1712
1761
  /* @__PURE__ */ e(
1713
- Q,
1762
+ ee,
1714
1763
  {
1715
1764
  firstNightOrder: a.first,
1716
1765
  otherNightOrder: a.other,
@@ -1724,11 +1773,11 @@ function oe({ script: i, options: t, nightOrders: a }) {
1724
1773
  ] });
1725
1774
  }
1726
1775
  export {
1727
- $ as CharacterSheet,
1728
- oe as FancyDoc,
1729
- Q as NightSheet,
1730
- X as SheetBack,
1731
- z as darken,
1732
- E as parseRgb,
1733
- C as rgbString
1776
+ V as CharacterSheet,
1777
+ se as FancyDoc,
1778
+ ee as NightSheet,
1779
+ Q as SheetBack,
1780
+ R as darken,
1781
+ z as parseRgb,
1782
+ H as rgbString
1734
1783
  };
@@ -13,7 +13,8 @@ interface CharacterSheetProps {
13
13
  appearance?: "normal" | "compact" | "super-compact" | "mega-compact";
14
14
  fabledOrLoric?: FabledOrLoric[];
15
15
  inlineJinxIcons?: boolean;
16
+ bootleggerRules?: string[];
16
17
  }
17
- export declare function CharacterSheet({ title, author, characters, color, jinxes, showSwirls, includeMargins, solidTitle, iconScale, appearance, fabledOrLoric, inlineJinxIcons, }: CharacterSheetProps): import("preact").JSX.Element;
18
+ export declare function CharacterSheet({ title, author, characters, color, jinxes, showSwirls, includeMargins, solidTitle, iconScale, appearance, fabledOrLoric, inlineJinxIcons, bootleggerRules, }: CharacterSheetProps): import("preact").JSX.Element;
18
19
  export {};
19
20
  //# sourceMappingURL=CharacterSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CharacterSheet.d.ts","sourceRoot":"","sources":["../../src/pages/CharacterSheet.tsx"],"names":[],"mappings":"AAOA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAIvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,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;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;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,EAClB,eAAuB,GACxB,EAAE,mBAAmB,gCA+GrB"}
1
+ {"version":3,"file":"CharacterSheet.d.ts","sourceRoot":"","sources":["../../src/pages/CharacterSheet.tsx"],"names":[],"mappings":"AAOA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAIvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,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;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;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,EAClB,eAAuB,EACvB,eAAoB,GACrB,EAAE,mBAAmB,gCAgHrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botc-character-sheet",
3
- "version": "0.15.1",
3
+ "version": "0.16.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",