@pie-players/pie-tool-periodic-table 0.1.4 → 0.1.6

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,139 +1,145 @@
1
- var as = Object.defineProperty;
2
- var Ti = (e) => {
1
+ var ms = Object.defineProperty;
2
+ var Li = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var cs = (e, n, t) => n in e ? as(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
6
- var j = (e, n, t) => cs(e, typeof n != "symbol" ? n + "" : n, t), Xt = (e, n, t) => n.has(e) || Ti("Cannot " + t);
7
- var c = (e, n, t) => (Xt(e, n, "read from private field"), t ? t.call(e) : n.get(e)), v = (e, n, t) => n.has(e) ? Ti("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t), b = (e, n, t, i) => (Xt(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), B = (e, n, t) => (Xt(e, n, "access private method"), t);
8
- var Ji;
9
- typeof window < "u" && ((Ji = window.__svelte ?? (window.__svelte = {})).v ?? (Ji.v = /* @__PURE__ */ new Set())).add("5");
10
- const us = 1, ds = 2, qi = 4, ps = 8, fs = 16, _s = 2, Yi = "[", Nt = "[!", di = "]", Pn = {}, U = /* @__PURE__ */ Symbol(), ms = "http://www.w3.org/1999/xhtml", Vt = !1;
11
- var Vi = Array.isArray, ys = Array.prototype.indexOf, In = Array.prototype.includes, jt = Array.from, St = Object.keys, Et = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, hs = Object.getOwnPropertyDescriptors, gs = Object.prototype, bs = Array.prototype, Qi = Object.getPrototypeOf, Ni = Object.isExtensible;
12
- function vs(e) {
5
+ var hs = (e, n, t) => n in e ? ms(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
6
+ var L = (e, n, t) => hs(e, typeof n != "symbol" ? n + "" : n, t), Ht = (e, n, t) => n.has(e) || Li("Cannot " + t);
7
+ var l = (e, n, t) => (Ht(e, n, "read from private field"), t ? t.call(e) : n.get(e)), v = (e, n, t) => n.has(e) ? Li("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t), b = (e, n, t, i) => (Ht(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), B = (e, n, t) => (Ht(e, n, "access private method"), t);
8
+ var to;
9
+ typeof window < "u" && ((to = window.__svelte ?? (window.__svelte = {})).v ?? (to.v = /* @__PURE__ */ new Set())).add("5");
10
+ const gs = 1, ys = 2, io = 4, bs = 8, vs = 16, ws = 2, ci = "[", Ct = "[!", ui = "]", Nn = {}, X = /* @__PURE__ */ Symbol(), oo = "http://www.w3.org/1999/xhtml", Wt = !1;
11
+ var so = Array.isArray, xs = Array.prototype.indexOf, Ln = Array.prototype.includes, Tt = Array.from, xt = Object.keys, kt = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, ks = Object.getOwnPropertyDescriptors, Ss = Object.prototype, Es = Array.prototype, ro = Object.getPrototypeOf, ji = Object.isExtensible;
12
+ const $s = () => {
13
+ };
14
+ function As(e) {
13
15
  for (var n = 0; n < e.length; n++)
14
16
  e[n]();
15
17
  }
16
- function Zi() {
18
+ function lo() {
17
19
  var e, n, t = new Promise((i, o) => {
18
20
  e = i, n = o;
19
21
  });
20
22
  return { promise: t, resolve: e, reject: n };
21
23
  }
22
- const X = 2, $t = 4, Lt = 8, eo = 1 << 24, qe = 16, we = 32, ln = 64, pi = 128, fe = 512, H = 1024, Y = 2048, Ye = 4096, le = 8192, Xe = 16384, Mt = 32768, Bn = 65536, ji = 1 << 17, no = 1 << 18, Sn = 1 << 19, ws = 1 << 20, Ge = 1 << 25, wn = 32768, Qt = 1 << 21, fi = 1 << 22, on = 1 << 23, gt = /* @__PURE__ */ Symbol("$state"), xs = /* @__PURE__ */ Symbol("legacy props"), ks = /* @__PURE__ */ Symbol(""), Rn = new class extends Error {
24
+ const K = 2, qn = 4, Rt = 8, ao = 1 << 24, Ve = 16, Se = 32, sn = 64, co = 128, fe = 512, G = 1024, W = 2048, ke = 4096, le = 8192, Xe = 16384, Bn = 32768, jn = 65536, Mi = 1 << 17, uo = 1 << 18, xn = 1 << 19, Cs = 1 << 20, Fe = 1 << 25, bn = 65536, Vt = 1 << 21, di = 1 << 22, nn = 1 << 23, ht = /* @__PURE__ */ Symbol("$state"), Ts = /* @__PURE__ */ Symbol("legacy props"), Rs = /* @__PURE__ */ Symbol(""), an = new class extends Error {
23
25
  constructor() {
24
26
  super(...arguments);
25
- j(this, "name", "StaleReactionError");
26
- j(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
27
+ L(this, "name", "StaleReactionError");
28
+ L(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
27
29
  }
28
- }(), at = 3, Xn = 8;
29
- function Ss(e) {
30
+ }(), zs = /* @__PURE__ */ globalThis.document?.contentType.includes("xml") ?? !1, it = 3, Gn = 8;
31
+ function Ns(e) {
30
32
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
31
33
  }
32
- function Es() {
34
+ function Ls() {
33
35
  throw new Error("https://svelte.dev/e/async_derived_orphan");
34
36
  }
35
- function $s(e) {
37
+ function js(e, n, t) {
38
+ throw new Error("https://svelte.dev/e/each_key_duplicate");
39
+ }
40
+ function Ms(e) {
36
41
  throw new Error("https://svelte.dev/e/effect_in_teardown");
37
42
  }
38
- function As() {
43
+ function Os() {
39
44
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
40
45
  }
41
- function zs(e) {
46
+ function Ds(e) {
42
47
  throw new Error("https://svelte.dev/e/effect_orphan");
43
48
  }
44
- function Rs() {
49
+ function Is() {
45
50
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
46
51
  }
47
- function Cs() {
52
+ function Ps() {
48
53
  throw new Error("https://svelte.dev/e/hydration_failed");
49
54
  }
50
- function Ts() {
55
+ function Bs() {
51
56
  throw new Error("https://svelte.dev/e/state_descriptors_fixed");
52
57
  }
53
- function Ns() {
58
+ function Gs() {
54
59
  throw new Error("https://svelte.dev/e/state_prototype_fixed");
55
60
  }
56
- function js() {
61
+ function Hs() {
57
62
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
58
63
  }
59
- function Ls() {
64
+ function Fs() {
60
65
  throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
61
66
  }
62
- function Ot(e) {
67
+ function zt(e) {
63
68
  console.warn("https://svelte.dev/e/hydration_mismatch");
64
69
  }
65
- function Ms() {
70
+ function Us() {
66
71
  console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
67
72
  }
68
- let S = !1;
73
+ let E = !1;
69
74
  function Ue(e) {
70
- S = e;
75
+ E = e;
71
76
  }
72
- let E;
73
- function J(e) {
77
+ let $;
78
+ function q(e) {
74
79
  if (e === null)
75
- throw Ot(), Pn;
76
- return E = e;
80
+ throw zt(), Nn;
81
+ return $ = e;
77
82
  }
78
- function Dt() {
79
- return J(/* @__PURE__ */ Te(E));
83
+ function Nt() {
84
+ return q(/* @__PURE__ */ Le($));
80
85
  }
81
- function k(e) {
82
- if (S) {
83
- if (/* @__PURE__ */ Te(E) !== null)
84
- throw Ot(), Pn;
85
- E = e;
86
+ function S(e) {
87
+ if (E) {
88
+ if (/* @__PURE__ */ Le($) !== null)
89
+ throw zt(), Nn;
90
+ $ = e;
86
91
  }
87
92
  }
88
- function Os(e = 1) {
89
- if (S) {
90
- for (var n = e, t = E; n--; )
93
+ function Xs(e = 1) {
94
+ if (E) {
95
+ for (var n = e, t = $; n--; )
91
96
  t = /** @type {TemplateNode} */
92
- /* @__PURE__ */ Te(t);
93
- E = t;
97
+ /* @__PURE__ */ Le(t);
98
+ $ = t;
94
99
  }
95
100
  }
96
- function At(e = !0) {
97
- for (var n = 0, t = E; ; ) {
98
- if (t.nodeType === Xn) {
101
+ function St(e = !0) {
102
+ for (var n = 0, t = $; ; ) {
103
+ if (t.nodeType === Gn) {
99
104
  var i = (
100
105
  /** @type {Comment} */
101
106
  t.data
102
107
  );
103
- if (i === di) {
108
+ if (i === ui) {
104
109
  if (n === 0) return t;
105
110
  n -= 1;
106
- } else (i === Yi || i === Nt) && (n += 1);
111
+ } else (i === ci || i === Ct || // "[1", "[2", etc. for if blocks
112
+ i[0] === "[" && !isNaN(Number(i.slice(1)))) && (n += 1);
107
113
  }
108
114
  var o = (
109
115
  /** @type {TemplateNode} */
110
- /* @__PURE__ */ Te(t)
116
+ /* @__PURE__ */ Le(t)
111
117
  );
112
118
  e && t.remove(), t = o;
113
119
  }
114
120
  }
115
- function to(e) {
116
- if (!e || e.nodeType !== Xn)
117
- throw Ot(), Pn;
121
+ function po(e) {
122
+ if (!e || e.nodeType !== Gn)
123
+ throw zt(), Nn;
118
124
  return (
119
125
  /** @type {Comment} */
120
126
  e.data
121
127
  );
122
128
  }
123
- function io(e) {
129
+ function fo(e) {
124
130
  return e === this.v;
125
131
  }
126
- function Ds(e, n) {
132
+ function Ks(e, n) {
127
133
  return e != e ? n == n : e !== n || e !== null && typeof e == "object" || typeof e == "function";
128
134
  }
129
- function oo(e) {
130
- return !Ds(e, this.v);
135
+ function _o(e) {
136
+ return !Ks(e, this.v);
131
137
  }
132
- let Ps = !1, ae = null;
133
- function Hn(e) {
138
+ let Ws = !1, ae = null;
139
+ function Mn(e) {
134
140
  ae = e;
135
141
  }
136
- function so(e, n = !1, t) {
142
+ function mo(e, n = !1, t) {
137
143
  ae = {
138
144
  p: ae,
139
145
  i: !1,
@@ -144,7 +150,7 @@ function so(e, n = !1, t) {
144
150
  l: null
145
151
  };
146
152
  }
147
- function ro(e) {
153
+ function ho(e) {
148
154
  var n = (
149
155
  /** @type {ComponentContext} */
150
156
  ae
@@ -152,158 +158,182 @@ function ro(e) {
152
158
  if (t !== null) {
153
159
  n.e = null;
154
160
  for (var i of t)
155
- To(i);
161
+ Bo(i);
156
162
  }
157
163
  return e !== void 0 && (n.x = e), n.i = !0, ae = n.p, e ?? /** @type {T} */
158
164
  {};
159
165
  }
160
- function lo() {
166
+ function go() {
161
167
  return !0;
162
168
  }
163
- let dn = [];
164
- function ao() {
165
- var e = dn;
166
- dn = [], vs(e);
169
+ let cn = [];
170
+ function yo() {
171
+ var e = cn;
172
+ cn = [], As(e);
167
173
  }
168
174
  function Ke(e) {
169
- if (dn.length === 0 && !et) {
170
- var n = dn;
175
+ if (cn.length === 0 && !Vn) {
176
+ var n = cn;
171
177
  queueMicrotask(() => {
172
- n === dn && ao();
178
+ n === cn && yo();
173
179
  });
174
180
  }
175
- dn.push(e);
181
+ cn.push(e);
176
182
  }
177
- function Is() {
178
- for (; dn.length > 0; )
179
- ao();
183
+ function Vs() {
184
+ for (; cn.length > 0; )
185
+ yo();
180
186
  }
181
- function co(e) {
182
- var n = $;
187
+ function bo(e) {
188
+ var n = A;
183
189
  if (n === null)
184
- return w.f |= on, e;
185
- if ((n.f & Mt) === 0) {
186
- if ((n.f & pi) === 0)
187
- throw e;
188
- n.b.error(e);
189
- } else
190
- Fn(e, n);
190
+ return w.f |= nn, e;
191
+ if ((n.f & Bn) === 0 && (n.f & qn) === 0)
192
+ throw e;
193
+ On(e, n);
191
194
  }
192
- function Fn(e, n) {
195
+ function On(e, n) {
193
196
  for (; n !== null; ) {
194
- if ((n.f & pi) !== 0)
197
+ if ((n.f & co) !== 0) {
198
+ if ((n.f & Bn) === 0)
199
+ throw e;
195
200
  try {
196
201
  n.b.error(e);
197
202
  return;
198
203
  } catch (t) {
199
204
  e = t;
200
205
  }
206
+ }
201
207
  n = n.parent;
202
208
  }
203
209
  throw e;
204
210
  }
205
- const Bs = -7169;
206
- function P(e, n) {
207
- e.f = e.f & Bs | n;
211
+ const Js = -7169;
212
+ function j(e, n) {
213
+ e.f = e.f & Js | n;
208
214
  }
209
- function _i(e) {
210
- (e.f & fe) !== 0 || e.deps === null ? P(e, H) : P(e, Ye);
215
+ function pi(e) {
216
+ (e.f & fe) !== 0 || e.deps === null ? j(e, G) : j(e, ke);
211
217
  }
212
- function uo(e) {
218
+ function vo(e) {
213
219
  if (e !== null)
214
220
  for (const n of e)
215
- (n.f & X) === 0 || (n.f & wn) === 0 || (n.f ^= wn, uo(
221
+ (n.f & K) === 0 || (n.f & bn) === 0 || (n.f ^= bn, vo(
216
222
  /** @type {Derived} */
217
223
  n.deps
218
224
  ));
219
225
  }
220
- function po(e, n, t) {
221
- (e.f & Y) !== 0 ? n.add(e) : (e.f & Ye) !== 0 && t.add(e), uo(e.deps), P(e, H);
226
+ function wo(e, n, t) {
227
+ (e.f & W) !== 0 ? n.add(e) : (e.f & ke) !== 0 && t.add(e), vo(e.deps), j(e, G);
222
228
  }
223
- const _t = /* @__PURE__ */ new Set();
224
- let N = null, be = null, re = [], Pt = null, Zt = !1, et = !1;
225
- var Tn, Nn, fn, jn, it, ot, _n, Ln, Ce, ei, ni, fo;
229
+ const dt = /* @__PURE__ */ new Set();
230
+ let N = null, ve = null, ee = [], Lt = null, Jt = !1, Vn = !1;
231
+ var En, $n, dn, An, Qn, Zn, pn, Ie, Cn, Ne, qt, Yt, xo;
226
232
  const xi = class xi {
227
233
  constructor() {
228
- v(this, Ce);
229
- j(this, "committed", !1);
234
+ v(this, Ne);
235
+ L(this, "committed", !1);
230
236
  /**
231
237
  * The current values of any sources that are updated in this batch
232
238
  * They keys of this map are identical to `this.#previous`
233
239
  * @type {Map<Source, any>}
234
240
  */
235
- j(this, "current", /* @__PURE__ */ new Map());
241
+ L(this, "current", /* @__PURE__ */ new Map());
236
242
  /**
237
243
  * The values of any sources that are updated in this batch _before_ those updates took place.
238
244
  * They keys of this map are identical to `this.#current`
239
245
  * @type {Map<Source, any>}
240
246
  */
241
- j(this, "previous", /* @__PURE__ */ new Map());
247
+ L(this, "previous", /* @__PURE__ */ new Map());
242
248
  /**
243
249
  * When the batch is committed (and the DOM is updated), we need to remove old branches
244
250
  * and append new ones by calling the functions added inside (if/each/key/etc) blocks
245
251
  * @type {Set<() => void>}
246
252
  */
247
- v(this, Tn, /* @__PURE__ */ new Set());
253
+ v(this, En, /* @__PURE__ */ new Set());
248
254
  /**
249
255
  * If a fork is discarded, we need to destroy any effects that are no longer needed
250
256
  * @type {Set<(batch: Batch) => void>}
251
257
  */
252
- v(this, Nn, /* @__PURE__ */ new Set());
258
+ v(this, $n, /* @__PURE__ */ new Set());
253
259
  /**
254
260
  * The number of async effects that are currently in flight
255
261
  */
256
- v(this, fn, 0);
262
+ v(this, dn, 0);
257
263
  /**
258
264
  * The number of async effects that are currently in flight, _not_ inside a pending boundary
259
265
  */
260
- v(this, jn, 0);
266
+ v(this, An, 0);
261
267
  /**
262
268
  * A deferred that resolves when the batch is committed, used with `settled()`
263
269
  * TODO replace with Promise.withResolvers once supported widely enough
264
270
  * @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
265
271
  */
266
- v(this, it, null);
272
+ v(this, Qn, null);
267
273
  /**
268
274
  * Deferred effects (which run after async work has completed) that are DIRTY
269
275
  * @type {Set<Effect>}
270
276
  */
271
- v(this, ot, /* @__PURE__ */ new Set());
277
+ v(this, Zn, /* @__PURE__ */ new Set());
272
278
  /**
273
279
  * Deferred effects that are MAYBE_DIRTY
274
280
  * @type {Set<Effect>}
275
281
  */
276
- v(this, _n, /* @__PURE__ */ new Set());
282
+ v(this, pn, /* @__PURE__ */ new Set());
277
283
  /**
278
- * A set of branches that still exist, but will be destroyed when this batch
279
- * is committed — we skip over these during `process`
280
- * @type {Set<Effect>}
284
+ * A map of branches that still exist, but will be destroyed when this batch
285
+ * is committed — we skip over these during `process`.
286
+ * The value contains child effects that were dirty/maybe_dirty before being reset,
287
+ * so they can be rescheduled if the branch survives.
288
+ * @type {Map<Effect, { d: Effect[], m: Effect[] }>}
281
289
  */
282
- j(this, "skipped_effects", /* @__PURE__ */ new Set());
283
- j(this, "is_fork", !1);
284
- v(this, Ln, !1);
290
+ v(this, Ie, /* @__PURE__ */ new Map());
291
+ L(this, "is_fork", !1);
292
+ v(this, Cn, !1);
285
293
  }
286
294
  is_deferred() {
287
- return this.is_fork || c(this, jn) > 0;
295
+ return this.is_fork || l(this, An) > 0;
296
+ }
297
+ /**
298
+ * Add an effect to the #skipped_branches map and reset its children
299
+ * @param {Effect} effect
300
+ */
301
+ skip_effect(n) {
302
+ l(this, Ie).has(n) || l(this, Ie).set(n, { d: [], m: [] });
303
+ }
304
+ /**
305
+ * Remove an effect from the #skipped_branches map and reschedule
306
+ * any tracked dirty/maybe_dirty child effects
307
+ * @param {Effect} effect
308
+ */
309
+ unskip_effect(n) {
310
+ var t = l(this, Ie).get(n);
311
+ if (t) {
312
+ l(this, Ie).delete(n);
313
+ for (var i of t.d)
314
+ j(i, W), we(i);
315
+ for (i of t.m)
316
+ j(i, ke), we(i);
317
+ }
288
318
  }
289
319
  /**
290
320
  *
291
321
  * @param {Effect[]} root_effects
292
322
  */
293
323
  process(n) {
294
- re = [], this.apply();
324
+ ee = [], this.apply();
295
325
  var t = [], i = [];
296
326
  for (const o of n)
297
- B(this, Ce, ei).call(this, o, t, i);
327
+ B(this, Ne, qt).call(this, o, t, i);
298
328
  if (this.is_deferred()) {
299
- B(this, Ce, ni).call(this, i), B(this, Ce, ni).call(this, t);
300
- for (const o of this.skipped_effects)
301
- ho(o);
329
+ B(this, Ne, Yt).call(this, i), B(this, Ne, Yt).call(this, t);
330
+ for (const [o, s] of l(this, Ie))
331
+ $o(o, s);
302
332
  } else {
303
- for (const o of c(this, Tn)) o();
304
- c(this, Tn).clear(), c(this, fn) === 0 && B(this, Ce, fo).call(this), N = null, Li(i), Li(t), c(this, it)?.resolve();
333
+ for (const o of l(this, En)) o();
334
+ l(this, En).clear(), l(this, dn) === 0 && B(this, Ne, xo).call(this), N = null, Oi(i), Oi(t), l(this, Qn)?.resolve();
305
335
  }
306
- be = null;
336
+ ve = null;
307
337
  }
308
338
  /**
309
339
  * Associate a change to a given source with the current
@@ -312,63 +342,63 @@ const xi = class xi {
312
342
  * @param {any} value
313
343
  */
314
344
  capture(n, t) {
315
- t !== U && !this.previous.has(n) && this.previous.set(n, t), (n.f & on) === 0 && (this.current.set(n, n.v), be?.set(n, n.v));
345
+ t !== X && !this.previous.has(n) && this.previous.set(n, t), (n.f & nn) === 0 && (this.current.set(n, n.v), ve?.set(n, n.v));
316
346
  }
317
347
  activate() {
318
348
  N = this, this.apply();
319
349
  }
320
350
  deactivate() {
321
- N === this && (N = null, be = null);
351
+ N === this && (N = null, ve = null);
322
352
  }
323
353
  flush() {
324
- if (this.activate(), re.length > 0) {
325
- if (_o(), N !== null && N !== this)
354
+ if (this.activate(), ee.length > 0) {
355
+ if (ko(), N !== null && N !== this)
326
356
  return;
327
- } else c(this, fn) === 0 && this.process([]);
357
+ } else l(this, dn) === 0 && this.process([]);
328
358
  this.deactivate();
329
359
  }
330
360
  discard() {
331
- for (const n of c(this, Nn)) n(this);
332
- c(this, Nn).clear();
361
+ for (const n of l(this, $n)) n(this);
362
+ l(this, $n).clear();
333
363
  }
334
364
  /**
335
365
  *
336
366
  * @param {boolean} blocking
337
367
  */
338
368
  increment(n) {
339
- b(this, fn, c(this, fn) + 1), n && b(this, jn, c(this, jn) + 1);
369
+ b(this, dn, l(this, dn) + 1), n && b(this, An, l(this, An) + 1);
340
370
  }
341
371
  /**
342
372
  *
343
373
  * @param {boolean} blocking
344
374
  */
345
375
  decrement(n) {
346
- b(this, fn, c(this, fn) - 1), n && b(this, jn, c(this, jn) - 1), !c(this, Ln) && (b(this, Ln, !0), Ke(() => {
347
- b(this, Ln, !1), this.is_deferred() ? re.length > 0 && this.flush() : this.revive();
376
+ b(this, dn, l(this, dn) - 1), n && b(this, An, l(this, An) - 1), !l(this, Cn) && (b(this, Cn, !0), Ke(() => {
377
+ b(this, Cn, !1), this.is_deferred() ? ee.length > 0 && this.flush() : this.revive();
348
378
  }));
349
379
  }
350
380
  revive() {
351
- for (const n of c(this, ot))
352
- c(this, _n).delete(n), P(n, Y), Je(n);
353
- for (const n of c(this, _n))
354
- P(n, Ye), Je(n);
381
+ for (const n of l(this, Zn))
382
+ l(this, pn).delete(n), j(n, W), we(n);
383
+ for (const n of l(this, pn))
384
+ j(n, ke), we(n);
355
385
  this.flush();
356
386
  }
357
387
  /** @param {() => void} fn */
358
388
  oncommit(n) {
359
- c(this, Tn).add(n);
389
+ l(this, En).add(n);
360
390
  }
361
391
  /** @param {(batch: Batch) => void} fn */
362
392
  ondiscard(n) {
363
- c(this, Nn).add(n);
393
+ l(this, $n).add(n);
364
394
  }
365
395
  settled() {
366
- return (c(this, it) ?? b(this, it, Zi())).promise;
396
+ return (l(this, Qn) ?? b(this, Qn, lo())).promise;
367
397
  }
368
398
  static ensure() {
369
399
  if (N === null) {
370
400
  const n = N = new xi();
371
- _t.add(N), et || Ke(() => {
401
+ dt.add(N), Vn || Ke(() => {
372
402
  N === n && n.flush();
373
403
  });
374
404
  }
@@ -377,19 +407,19 @@ const xi = class xi {
377
407
  apply() {
378
408
  }
379
409
  };
380
- Tn = new WeakMap(), Nn = new WeakMap(), fn = new WeakMap(), jn = new WeakMap(), it = new WeakMap(), ot = new WeakMap(), _n = new WeakMap(), Ln = new WeakMap(), Ce = new WeakSet(), /**
410
+ En = new WeakMap(), $n = new WeakMap(), dn = new WeakMap(), An = new WeakMap(), Qn = new WeakMap(), Zn = new WeakMap(), pn = new WeakMap(), Ie = new WeakMap(), Cn = new WeakMap(), Ne = new WeakSet(), /**
381
411
  * Traverse the effect tree, executing effects or stashing
382
412
  * them for later execution as appropriate
383
413
  * @param {Effect} root
384
414
  * @param {Effect[]} effects
385
415
  * @param {Effect[]} render_effects
386
416
  */
387
- ei = function(n, t, i) {
388
- n.f ^= H;
417
+ qt = function(n, t, i) {
418
+ n.f ^= G;
389
419
  for (var o = n.first, s = null; o !== null; ) {
390
- var r = o.f, l = (r & (we | ln)) !== 0, a = l && (r & H) !== 0, u = a || (r & le) !== 0 || this.skipped_effects.has(o);
420
+ var r = o.f, a = (r & (Se | sn)) !== 0, c = a && (r & G) !== 0, u = c || (r & le) !== 0 || l(this, Ie).has(o);
391
421
  if (!u && o.fn !== null) {
392
- l ? o.f ^= H : s !== null && (r & ($t | Lt | eo)) !== 0 ? s.b.defer_effect(o) : (r & $t) !== 0 ? t.push(o) : ct(o) && ((r & qe) !== 0 && c(this, _n).add(o), tt(o));
422
+ a ? o.f ^= G : s !== null && (r & (qn | Rt | ao)) !== 0 ? s.b.defer_effect(o) : (r & qn) !== 0 ? t.push(o) : ot(o) && ((r & Ve) !== 0 && l(this, pn).add(o), Pn(o));
393
423
  var d = o.first;
394
424
  if (d !== null) {
395
425
  o = d;
@@ -403,137 +433,137 @@ ei = function(n, t, i) {
403
433
  }, /**
404
434
  * @param {Effect[]} effects
405
435
  */
406
- ni = function(n) {
436
+ Yt = function(n) {
407
437
  for (var t = 0; t < n.length; t += 1)
408
- po(n[t], c(this, ot), c(this, _n));
409
- }, fo = function() {
438
+ wo(n[t], l(this, Zn), l(this, pn));
439
+ }, xo = function() {
410
440
  var o;
411
- if (_t.size > 1) {
441
+ if (dt.size > 1) {
412
442
  this.previous.clear();
413
- var n = be, t = !0;
414
- for (const s of _t) {
443
+ var n = ve, t = !0;
444
+ for (const s of dt) {
415
445
  if (s === this) {
416
446
  t = !1;
417
447
  continue;
418
448
  }
419
449
  const r = [];
420
- for (const [a, u] of this.current) {
421
- if (s.current.has(a))
422
- if (t && u !== s.current.get(a))
423
- s.current.set(a, u);
450
+ for (const [c, u] of this.current) {
451
+ if (s.current.has(c))
452
+ if (t && u !== s.current.get(c))
453
+ s.current.set(c, u);
424
454
  else
425
455
  continue;
426
- r.push(a);
456
+ r.push(c);
427
457
  }
428
458
  if (r.length === 0)
429
459
  continue;
430
- const l = [...s.current.keys()].filter((a) => !this.current.has(a));
431
- if (l.length > 0) {
432
- var i = re;
433
- re = [];
434
- const a = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
460
+ const a = [...s.current.keys()].filter((c) => !this.current.has(c));
461
+ if (a.length > 0) {
462
+ var i = ee;
463
+ ee = [];
464
+ const c = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
435
465
  for (const d of r)
436
- mo(d, l, a, u);
437
- if (re.length > 0) {
466
+ So(d, a, c, u);
467
+ if (ee.length > 0) {
438
468
  N = s, s.apply();
439
- for (const d of re)
440
- B(o = s, Ce, ei).call(o, d, [], []);
469
+ for (const d of ee)
470
+ B(o = s, Ne, qt).call(o, d, [], []);
441
471
  s.deactivate();
442
472
  }
443
- re = i;
473
+ ee = i;
444
474
  }
445
475
  }
446
- N = null, be = n;
476
+ N = null, ve = n;
447
477
  }
448
- this.committed = !0, _t.delete(this);
478
+ this.committed = !0, dt.delete(this);
449
479
  };
450
480
  let We = xi;
451
- function bt(e) {
452
- var n = et;
453
- et = !0;
481
+ function gt(e) {
482
+ var n = Vn;
483
+ Vn = !0;
454
484
  try {
455
485
  for (var t; ; ) {
456
- if (Is(), re.length === 0 && (N?.flush(), re.length === 0))
457
- return Pt = null, /** @type {T} */
486
+ if (Vs(), ee.length === 0 && (N?.flush(), ee.length === 0))
487
+ return Lt = null, /** @type {T} */
458
488
  t;
459
- _o();
489
+ ko();
460
490
  }
461
491
  } finally {
462
- et = n;
492
+ Vn = n;
463
493
  }
464
494
  }
465
- function _o() {
466
- Zt = !0;
495
+ function ko() {
496
+ Jt = !0;
467
497
  var e = null;
468
498
  try {
469
- for (var n = 0; re.length > 0; ) {
499
+ for (var n = 0; ee.length > 0; ) {
470
500
  var t = We.ensure();
471
501
  if (n++ > 1e3) {
472
502
  var i, o;
473
- Hs();
503
+ qs();
474
504
  }
475
- t.process(re), sn.clear();
505
+ t.process(ee), tn.clear();
476
506
  }
477
507
  } finally {
478
- Zt = !1, Pt = null;
508
+ ee = [], Jt = !1, Lt = null;
479
509
  }
480
510
  }
481
- function Hs() {
511
+ function qs() {
482
512
  try {
483
- Rs();
513
+ Is();
484
514
  } catch (e) {
485
- Fn(e, Pt);
515
+ On(e, Lt);
486
516
  }
487
517
  }
488
- let Pe = null;
489
- function Li(e) {
518
+ let De = null;
519
+ function Oi(e) {
490
520
  var n = e.length;
491
521
  if (n !== 0) {
492
522
  for (var t = 0; t < n; ) {
493
523
  var i = e[t++];
494
- if ((i.f & (Xe | le)) === 0 && ct(i) && (Pe = /* @__PURE__ */ new Set(), tt(i), i.deps === null && i.first === null && i.nodes === null && (i.teardown === null && i.ac === null ? Mo(i) : i.fn = null), Pe?.size > 0)) {
495
- sn.clear();
496
- for (const o of Pe) {
524
+ if ((i.f & (Xe | le)) === 0 && ot(i) && (De = /* @__PURE__ */ new Set(), Pn(i), i.deps === null && i.first === null && i.nodes === null && i.teardown === null && i.ac === null && Fo(i), De?.size > 0)) {
525
+ tn.clear();
526
+ for (const o of De) {
497
527
  if ((o.f & (Xe | le)) !== 0) continue;
498
528
  const s = [o];
499
529
  let r = o.parent;
500
530
  for (; r !== null; )
501
- Pe.has(r) && (Pe.delete(r), s.push(r)), r = r.parent;
502
- for (let l = s.length - 1; l >= 0; l--) {
503
- const a = s[l];
504
- (a.f & (Xe | le)) === 0 && tt(a);
531
+ De.has(r) && (De.delete(r), s.push(r)), r = r.parent;
532
+ for (let a = s.length - 1; a >= 0; a--) {
533
+ const c = s[a];
534
+ (c.f & (Xe | le)) === 0 && Pn(c);
505
535
  }
506
536
  }
507
- Pe.clear();
537
+ De.clear();
508
538
  }
509
539
  }
510
- Pe = null;
540
+ De = null;
511
541
  }
512
542
  }
513
- function mo(e, n, t, i) {
543
+ function So(e, n, t, i) {
514
544
  if (!t.has(e) && (t.add(e), e.reactions !== null))
515
545
  for (const o of e.reactions) {
516
546
  const s = o.f;
517
- (s & X) !== 0 ? mo(
547
+ (s & K) !== 0 ? So(
518
548
  /** @type {Derived} */
519
549
  o,
520
550
  n,
521
551
  t,
522
552
  i
523
- ) : (s & (fi | qe)) !== 0 && (s & Y) === 0 && yo(o, n, i) && (P(o, Y), Je(
553
+ ) : (s & (di | Ve)) !== 0 && (s & W) === 0 && Eo(o, n, i) && (j(o, W), we(
524
554
  /** @type {Effect} */
525
555
  o
526
556
  ));
527
557
  }
528
558
  }
529
- function yo(e, n, t) {
559
+ function Eo(e, n, t) {
530
560
  const i = t.get(e);
531
561
  if (i !== void 0) return i;
532
562
  if (e.deps !== null)
533
563
  for (const o of e.deps) {
534
- if (In.call(n, o))
564
+ if (Ln.call(n, o))
535
565
  return !0;
536
- if ((o.f & X) !== 0 && yo(
566
+ if ((o.f & K) !== 0 && Eo(
537
567
  /** @type {Derived} */
538
568
  o,
539
569
  n,
@@ -547,80 +577,80 @@ function yo(e, n, t) {
547
577
  }
548
578
  return t.set(e, !1), !1;
549
579
  }
550
- function Je(e) {
551
- for (var n = Pt = e; n.parent !== null; ) {
580
+ function we(e) {
581
+ for (var n = Lt = e; n.parent !== null; ) {
552
582
  n = n.parent;
553
583
  var t = n.f;
554
- if (Zt && n === $ && (t & qe) !== 0 && (t & no) === 0)
584
+ if (Jt && n === A && (t & Ve) !== 0 && (t & uo) === 0)
555
585
  return;
556
- if ((t & (ln | we)) !== 0) {
557
- if ((t & H) === 0) return;
558
- n.f ^= H;
586
+ if ((t & (sn | Se)) !== 0) {
587
+ if ((t & G) === 0) return;
588
+ n.f ^= G;
559
589
  }
560
590
  }
561
- re.push(n);
591
+ ee.push(n);
562
592
  }
563
- function ho(e) {
564
- if (!((e.f & we) !== 0 && (e.f & H) !== 0)) {
565
- P(e, H);
566
- for (var n = e.first; n !== null; )
567
- ho(n), n = n.next;
593
+ function $o(e, n) {
594
+ if (!((e.f & Se) !== 0 && (e.f & G) !== 0)) {
595
+ (e.f & W) !== 0 ? n.d.push(e) : (e.f & ke) !== 0 && n.m.push(e), j(e, G);
596
+ for (var t = e.first; t !== null; )
597
+ $o(t, n), t = t.next;
568
598
  }
569
599
  }
570
- function Fs(e) {
571
- let n = 0, t = xn(0), i;
600
+ function Ys(e) {
601
+ let n = 0, t = vn(0), i;
572
602
  return () => {
573
- hi() && (_(t), gi(() => (n === 0 && (i = wi(() => e(() => nt(t)))), n += 1, () => {
603
+ hi() && (_(t), gi(() => (n === 0 && (i = wi(() => e(() => Jn(t)))), n += 1, () => {
574
604
  Ke(() => {
575
- n -= 1, n === 0 && (i?.(), i = void 0, nt(t));
605
+ n -= 1, n === 0 && (i?.(), i = void 0, Jn(t));
576
606
  });
577
607
  })));
578
608
  };
579
609
  }
580
- var Gs = Bn | Sn | pi;
581
- function Us(e, n, t) {
582
- new Xs(e, n, t);
610
+ var Qs = jn | xn | co;
611
+ function Zs(e, n, t) {
612
+ new er(e, n, t);
583
613
  }
584
- var oe, st, Ee, mn, $e, ue, Q, Ae, Ie, nn, yn, Be, Mn, hn, On, Dn, He, Ct, L, go, bo, ti, vt, wt, ii;
585
- class Xs {
614
+ var se, et, Ae, fn, Ce, ue, Z, Te, Pe, Ze, _n, Be, Tn, mn, Rn, zn, Ge, $t, M, Ao, Co, Qt, yt, bt, Zt;
615
+ class er {
586
616
  /**
587
617
  * @param {TemplateNode} node
588
618
  * @param {BoundaryProps} props
589
619
  * @param {((anchor: Node) => void)} children
590
620
  */
591
621
  constructor(n, t, i) {
592
- v(this, L);
622
+ v(this, M);
593
623
  /** @type {Boundary | null} */
594
- j(this, "parent");
595
- j(this, "is_pending", !1);
624
+ L(this, "parent");
625
+ L(this, "is_pending", !1);
596
626
  /** @type {TemplateNode} */
597
- v(this, oe);
627
+ v(this, se);
598
628
  /** @type {TemplateNode | null} */
599
- v(this, st, S ? E : null);
629
+ v(this, et, E ? $ : null);
600
630
  /** @type {BoundaryProps} */
601
- v(this, Ee);
631
+ v(this, Ae);
602
632
  /** @type {((anchor: Node) => void)} */
603
- v(this, mn);
633
+ v(this, fn);
604
634
  /** @type {Effect} */
605
- v(this, $e);
635
+ v(this, Ce);
606
636
  /** @type {Effect | null} */
607
637
  v(this, ue, null);
608
638
  /** @type {Effect | null} */
609
- v(this, Q, null);
639
+ v(this, Z, null);
610
640
  /** @type {Effect | null} */
611
- v(this, Ae, null);
641
+ v(this, Te, null);
612
642
  /** @type {DocumentFragment | null} */
613
- v(this, Ie, null);
643
+ v(this, Pe, null);
614
644
  /** @type {TemplateNode | null} */
615
- v(this, nn, null);
616
- v(this, yn, 0);
645
+ v(this, Ze, null);
646
+ v(this, _n, 0);
617
647
  v(this, Be, 0);
618
- v(this, Mn, !1);
619
- v(this, hn, !1);
648
+ v(this, Tn, !1);
649
+ v(this, mn, !1);
620
650
  /** @type {Set<Effect>} */
621
- v(this, On, /* @__PURE__ */ new Set());
651
+ v(this, Rn, /* @__PURE__ */ new Set());
622
652
  /** @type {Set<Effect>} */
623
- v(this, Dn, /* @__PURE__ */ new Set());
653
+ v(this, zn, /* @__PURE__ */ new Set());
624
654
  /**
625
655
  * A source containing the number of pending async deriveds/expressions.
626
656
  * Only created if `$effect.pending()` is used inside the boundary,
@@ -628,37 +658,37 @@ class Xs {
628
658
  * calls followed by no-op flushes
629
659
  * @type {Source<number> | null}
630
660
  */
631
- v(this, He, null);
632
- v(this, Ct, Fs(() => (b(this, He, xn(c(this, yn))), () => {
633
- b(this, He, null);
661
+ v(this, Ge, null);
662
+ v(this, $t, Ys(() => (b(this, Ge, vn(l(this, _n))), () => {
663
+ b(this, Ge, null);
634
664
  })));
635
- b(this, oe, n), b(this, Ee, t), b(this, mn, i), this.parent = /** @type {Effect} */
636
- $.b, this.is_pending = !!c(this, Ee).pending, b(this, $e, bi(() => {
637
- if ($.b = this, S) {
638
- const s = c(this, st);
639
- Dt(), /** @type {Comment} */
640
- s.nodeType === Xn && /** @type {Comment} */
641
- s.data === Nt ? B(this, L, bo).call(this) : (B(this, L, go).call(this), c(this, Be) === 0 && (this.is_pending = !1));
665
+ b(this, se, n), b(this, Ae, t), b(this, fn, i), this.parent = /** @type {Effect} */
666
+ A.b, this.is_pending = !!l(this, Ae).pending, b(this, Ce, yi(() => {
667
+ if (A.b = this, E) {
668
+ const s = l(this, et);
669
+ Nt(), /** @type {Comment} */
670
+ s.nodeType === Gn && /** @type {Comment} */
671
+ s.data === Ct ? B(this, M, Co).call(this) : (B(this, M, Ao).call(this), l(this, Be) === 0 && (this.is_pending = !1));
642
672
  } else {
643
- var o = B(this, L, ti).call(this);
673
+ var o = B(this, M, Qt).call(this);
644
674
  try {
645
675
  b(this, ue, pe(() => i(o)));
646
676
  } catch (s) {
647
677
  this.error(s);
648
678
  }
649
- c(this, Be) > 0 ? B(this, L, wt).call(this) : this.is_pending = !1;
679
+ l(this, Be) > 0 ? B(this, M, bt).call(this) : this.is_pending = !1;
650
680
  }
651
681
  return () => {
652
- c(this, nn)?.remove();
682
+ l(this, Ze)?.remove();
653
683
  };
654
- }, Gs)), S && b(this, oe, E);
684
+ }, Qs)), E && b(this, se, $);
655
685
  }
656
686
  /**
657
687
  * Defer an effect inside a pending boundary until the boundary resolves
658
688
  * @param {Effect} effect
659
689
  */
660
690
  defer_effect(n) {
661
- po(n, c(this, On), c(this, Dn));
691
+ wo(n, l(this, Rn), l(this, zn));
662
692
  }
663
693
  /**
664
694
  * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
@@ -668,7 +698,7 @@ class Xs {
668
698
  return !this.is_pending && (!this.parent || this.parent.is_rendered());
669
699
  }
670
700
  has_pending_snippet() {
671
- return !!c(this, Ee).pending;
701
+ return !!l(this, Ae).pending;
672
702
  }
673
703
  /**
674
704
  * Update the source that powers `$effect.pending()` inside this boundary,
@@ -677,199 +707,199 @@ class Xs {
677
707
  * @param {1 | -1} d
678
708
  */
679
709
  update_pending_count(n) {
680
- B(this, L, ii).call(this, n), b(this, yn, c(this, yn) + n), !(!c(this, He) || c(this, Mn)) && (b(this, Mn, !0), Ke(() => {
681
- b(this, Mn, !1), c(this, He) && Gn(c(this, He), c(this, yn));
710
+ B(this, M, Zt).call(this, n), b(this, _n, l(this, _n) + n), !(!l(this, Ge) || l(this, Tn)) && (b(this, Tn, !0), Ke(() => {
711
+ b(this, Tn, !1), l(this, Ge) && Dn(l(this, Ge), l(this, _n));
682
712
  }));
683
713
  }
684
714
  get_effect_pending() {
685
- return c(this, Ct).call(this), _(
715
+ return l(this, $t).call(this), _(
686
716
  /** @type {Source<number>} */
687
- c(this, He)
717
+ l(this, Ge)
688
718
  );
689
719
  }
690
720
  /** @param {unknown} error */
691
721
  error(n) {
692
- var t = c(this, Ee).onerror;
693
- let i = c(this, Ee).failed;
694
- if (c(this, hn) || !t && !i)
722
+ var t = l(this, Ae).onerror;
723
+ let i = l(this, Ae).failed;
724
+ if (l(this, mn) || !t && !i)
695
725
  throw n;
696
- c(this, ue) && (q(c(this, ue)), b(this, ue, null)), c(this, Q) && (q(c(this, Q)), b(this, Q, null)), c(this, Ae) && (q(c(this, Ae)), b(this, Ae, null)), S && (J(
726
+ l(this, ue) && (Y(l(this, ue)), b(this, ue, null)), l(this, Z) && (Y(l(this, Z)), b(this, Z, null)), l(this, Te) && (Y(l(this, Te)), b(this, Te, null)), E && (q(
697
727
  /** @type {TemplateNode} */
698
- c(this, st)
699
- ), Os(), J(At()));
728
+ l(this, et)
729
+ ), Xs(), q(St()));
700
730
  var o = !1, s = !1;
701
731
  const r = () => {
702
732
  if (o) {
703
- Ms();
733
+ Us();
704
734
  return;
705
735
  }
706
- o = !0, s && Ls(), We.ensure(), b(this, yn, 0), c(this, Ae) !== null && bn(c(this, Ae), () => {
707
- b(this, Ae, null);
708
- }), this.is_pending = this.has_pending_snippet(), b(this, ue, B(this, L, vt).call(this, () => (b(this, hn, !1), pe(() => c(this, mn).call(this, c(this, oe)))))), c(this, Be) > 0 ? B(this, L, wt).call(this) : this.is_pending = !1;
736
+ o = !0, s && Fs(), We.ensure(), b(this, _n, 0), l(this, Te) !== null && gn(l(this, Te), () => {
737
+ b(this, Te, null);
738
+ }), this.is_pending = this.has_pending_snippet(), b(this, ue, B(this, M, yt).call(this, () => (b(this, mn, !1), pe(() => l(this, fn).call(this, l(this, se)))))), l(this, Be) > 0 ? B(this, M, bt).call(this) : this.is_pending = !1;
709
739
  };
710
740
  Ke(() => {
711
741
  try {
712
742
  s = !0, t?.(n, r), s = !1;
713
- } catch (l) {
714
- Fn(l, c(this, $e) && c(this, $e).parent);
743
+ } catch (a) {
744
+ On(a, l(this, Ce) && l(this, Ce).parent);
715
745
  }
716
- i && b(this, Ae, B(this, L, vt).call(this, () => {
717
- We.ensure(), b(this, hn, !0);
746
+ i && b(this, Te, B(this, M, yt).call(this, () => {
747
+ We.ensure(), b(this, mn, !0);
718
748
  try {
719
749
  return pe(() => {
720
750
  i(
721
- c(this, oe),
751
+ l(this, se),
722
752
  () => n,
723
753
  () => r
724
754
  );
725
755
  });
726
- } catch (l) {
727
- return Fn(
728
- l,
756
+ } catch (a) {
757
+ return On(
758
+ a,
729
759
  /** @type {Effect} */
730
- c(this, $e).parent
760
+ l(this, Ce).parent
731
761
  ), null;
732
762
  } finally {
733
- b(this, hn, !1);
763
+ b(this, mn, !1);
734
764
  }
735
765
  }));
736
766
  });
737
767
  }
738
768
  }
739
- oe = new WeakMap(), st = new WeakMap(), Ee = new WeakMap(), mn = new WeakMap(), $e = new WeakMap(), ue = new WeakMap(), Q = new WeakMap(), Ae = new WeakMap(), Ie = new WeakMap(), nn = new WeakMap(), yn = new WeakMap(), Be = new WeakMap(), Mn = new WeakMap(), hn = new WeakMap(), On = new WeakMap(), Dn = new WeakMap(), He = new WeakMap(), Ct = new WeakMap(), L = new WeakSet(), go = function() {
769
+ se = new WeakMap(), et = new WeakMap(), Ae = new WeakMap(), fn = new WeakMap(), Ce = new WeakMap(), ue = new WeakMap(), Z = new WeakMap(), Te = new WeakMap(), Pe = new WeakMap(), Ze = new WeakMap(), _n = new WeakMap(), Be = new WeakMap(), Tn = new WeakMap(), mn = new WeakMap(), Rn = new WeakMap(), zn = new WeakMap(), Ge = new WeakMap(), $t = new WeakMap(), M = new WeakSet(), Ao = function() {
740
770
  try {
741
- b(this, ue, pe(() => c(this, mn).call(this, c(this, oe))));
771
+ b(this, ue, pe(() => l(this, fn).call(this, l(this, se))));
742
772
  } catch (n) {
743
773
  this.error(n);
744
774
  }
745
- }, bo = function() {
746
- const n = c(this, Ee).pending;
747
- n && (b(this, Q, pe(() => n(c(this, oe)))), Ke(() => {
748
- var t = B(this, L, ti).call(this);
749
- b(this, ue, B(this, L, vt).call(this, () => (We.ensure(), pe(() => c(this, mn).call(this, t))))), c(this, Be) > 0 ? B(this, L, wt).call(this) : (bn(
775
+ }, Co = function() {
776
+ const n = l(this, Ae).pending;
777
+ n && (b(this, Z, pe(() => n(l(this, se)))), Ke(() => {
778
+ var t = B(this, M, Qt).call(this);
779
+ b(this, ue, B(this, M, yt).call(this, () => (We.ensure(), pe(() => l(this, fn).call(this, t))))), l(this, Be) > 0 ? B(this, M, bt).call(this) : (gn(
750
780
  /** @type {Effect} */
751
- c(this, Q),
781
+ l(this, Z),
752
782
  () => {
753
- b(this, Q, null);
783
+ b(this, Z, null);
754
784
  }
755
785
  ), this.is_pending = !1);
756
786
  }));
757
- }, ti = function() {
758
- var n = c(this, oe);
759
- return this.is_pending && (b(this, nn, ee()), c(this, oe).before(c(this, nn)), n = c(this, nn)), n;
787
+ }, Qt = function() {
788
+ var n = l(this, se);
789
+ return this.is_pending && (b(this, Ze, te()), l(this, se).before(l(this, Ze)), n = l(this, Ze)), n;
760
790
  }, /**
761
791
  * @param {() => Effect | null} fn
762
792
  */
763
- vt = function(n) {
764
- var t = $, i = w, o = ae;
765
- Re(c(this, $e)), me(c(this, $e)), Hn(c(this, $e).ctx);
793
+ yt = function(n) {
794
+ var t = A, i = w, o = ae;
795
+ ze(l(this, Ce)), me(l(this, Ce)), Mn(l(this, Ce).ctx);
766
796
  try {
767
797
  return n();
768
798
  } catch (s) {
769
- return co(s), null;
799
+ return bo(s), null;
770
800
  } finally {
771
- Re(t), me(i), Hn(o);
801
+ ze(t), me(i), Mn(o);
772
802
  }
773
- }, wt = function() {
803
+ }, bt = function() {
774
804
  const n = (
775
805
  /** @type {(anchor: Node) => void} */
776
- c(this, Ee).pending
806
+ l(this, Ae).pending
777
807
  );
778
- c(this, ue) !== null && (b(this, Ie, document.createDocumentFragment()), c(this, Ie).append(
808
+ l(this, ue) !== null && (b(this, Pe, document.createDocumentFragment()), l(this, Pe).append(
779
809
  /** @type {TemplateNode} */
780
- c(this, nn)
781
- ), Po(c(this, ue), c(this, Ie))), c(this, Q) === null && b(this, Q, pe(() => n(c(this, oe))));
810
+ l(this, Ze)
811
+ ), Ko(l(this, ue), l(this, Pe))), l(this, Z) === null && b(this, Z, pe(() => n(l(this, se))));
782
812
  }, /**
783
813
  * Updates the pending count associated with the currently visible pending snippet,
784
814
  * if any, such that we can replace the snippet with content once work is done
785
815
  * @param {1 | -1} d
786
816
  */
787
- ii = function(n) {
817
+ Zt = function(n) {
788
818
  var t;
789
819
  if (!this.has_pending_snippet()) {
790
- this.parent && B(t = this.parent, L, ii).call(t, n);
820
+ this.parent && B(t = this.parent, M, Zt).call(t, n);
791
821
  return;
792
822
  }
793
- if (b(this, Be, c(this, Be) + n), c(this, Be) === 0) {
823
+ if (b(this, Be, l(this, Be) + n), l(this, Be) === 0) {
794
824
  this.is_pending = !1;
795
- for (const i of c(this, On))
796
- P(i, Y), Je(i);
797
- for (const i of c(this, Dn))
798
- P(i, Ye), Je(i);
799
- c(this, On).clear(), c(this, Dn).clear(), c(this, Q) && bn(c(this, Q), () => {
800
- b(this, Q, null);
801
- }), c(this, Ie) && (c(this, oe).before(c(this, Ie)), b(this, Ie, null));
825
+ for (const i of l(this, Rn))
826
+ j(i, W), we(i);
827
+ for (const i of l(this, zn))
828
+ j(i, ke), we(i);
829
+ l(this, Rn).clear(), l(this, zn).clear(), l(this, Z) && gn(l(this, Z), () => {
830
+ b(this, Z, null);
831
+ }), l(this, Pe) && (l(this, se).before(l(this, Pe)), b(this, Pe, null));
802
832
  }
803
833
  };
804
- function Ks(e, n, t, i) {
805
- const o = It;
834
+ function nr(e, n, t, i) {
835
+ const o = jt;
806
836
  var s = e.filter((p) => !p.settled);
807
837
  if (t.length === 0 && s.length === 0) {
808
838
  i(n.map(o));
809
839
  return;
810
840
  }
811
- var r = N, l = (
841
+ var r = N, a = (
812
842
  /** @type {Effect} */
813
- $
814
- ), a = Ws(), u = s.length === 1 ? s[0].promise : s.length > 1 ? Promise.all(s.map((p) => p.promise)) : null;
843
+ A
844
+ ), c = tr(), u = s.length === 1 ? s[0].promise : s.length > 1 ? Promise.all(s.map((p) => p.promise)) : null;
815
845
  function d(p) {
816
- a();
846
+ c();
817
847
  try {
818
848
  i(p);
819
- } catch (y) {
820
- (l.f & Xe) === 0 && Fn(y, l);
849
+ } catch (h) {
850
+ (a.f & Xe) === 0 && On(h, a);
821
851
  }
822
- r?.deactivate(), oi();
852
+ r?.deactivate(), ei();
823
853
  }
824
854
  if (t.length === 0) {
825
855
  u.then(() => d(n.map(o)));
826
856
  return;
827
857
  }
828
858
  function m() {
829
- a(), Promise.all(t.map((p) => /* @__PURE__ */ Js(p))).then((p) => d([...n.map(o), ...p])).catch((p) => Fn(p, l));
859
+ c(), Promise.all(t.map((p) => /* @__PURE__ */ ir(p))).then((p) => d([...n.map(o), ...p])).catch((p) => On(p, a));
830
860
  }
831
861
  u ? u.then(m) : m();
832
862
  }
833
- function Ws() {
834
- var e = $, n = w, t = ae, i = N;
863
+ function tr() {
864
+ var e = A, n = w, t = ae, i = N;
835
865
  return function(s = !0) {
836
- Re(e), me(n), Hn(t), s && i?.activate();
866
+ ze(e), me(n), Mn(t), s && i?.activate();
837
867
  };
838
868
  }
839
- function oi() {
840
- Re(null), me(null), Hn(null);
869
+ function ei() {
870
+ ze(null), me(null), Mn(null);
841
871
  }
842
872
  // @__NO_SIDE_EFFECTS__
843
- function It(e) {
844
- var n = X | Y, t = w !== null && (w.f & X) !== 0 ? (
873
+ function jt(e) {
874
+ var n = K | W, t = w !== null && (w.f & K) !== 0 ? (
845
875
  /** @type {Derived} */
846
876
  w
847
877
  ) : null;
848
- return $ !== null && ($.f |= Sn), {
878
+ return A !== null && (A.f |= xn), {
849
879
  ctx: ae,
850
880
  deps: null,
851
881
  effects: null,
852
- equals: io,
882
+ equals: fo,
853
883
  f: n,
854
884
  fn: e,
855
885
  reactions: null,
856
886
  rv: 0,
857
887
  v: (
858
888
  /** @type {V} */
859
- U
889
+ X
860
890
  ),
861
891
  wv: 0,
862
- parent: t ?? $,
892
+ parent: t ?? A,
863
893
  ac: null
864
894
  };
865
895
  }
866
896
  // @__NO_SIDE_EFFECTS__
867
- function Js(e, n, t) {
897
+ function ir(e, n, t) {
868
898
  let i = (
869
899
  /** @type {Effect | null} */
870
- $
900
+ A
871
901
  );
872
- i === null && Es();
902
+ i === null && Ls();
873
903
  var o = (
874
904
  /** @type {Boundary} */
875
905
  i.b
@@ -877,44 +907,44 @@ function Js(e, n, t) {
877
907
  /** @type {Promise<V>} */
878
908
  /** @type {unknown} */
879
909
  void 0
880
- ), r = xn(
910
+ ), r = vn(
881
911
  /** @type {V} */
882
- U
883
- ), l = !w, a = /* @__PURE__ */ new Map();
884
- return tr(() => {
885
- var u = Zi();
912
+ X
913
+ ), a = !w, c = /* @__PURE__ */ new Map();
914
+ return _r(() => {
915
+ var u = lo();
886
916
  s = u.promise;
887
917
  try {
888
918
  Promise.resolve(e()).then(u.resolve, u.reject).then(() => {
889
- d === N && d.committed && d.deactivate(), oi();
919
+ d === N && d.committed && d.deactivate(), ei();
890
920
  });
891
- } catch (y) {
892
- u.reject(y), oi();
921
+ } catch (h) {
922
+ u.reject(h), ei();
893
923
  }
894
924
  var d = (
895
925
  /** @type {Batch} */
896
926
  N
897
927
  );
898
- if (l) {
928
+ if (a) {
899
929
  var m = o.is_rendered();
900
- o.update_pending_count(1), d.increment(m), a.get(d)?.reject(Rn), a.delete(d), a.set(d, u);
930
+ o.update_pending_count(1), d.increment(m), c.get(d)?.reject(an), c.delete(d), c.set(d, u);
901
931
  }
902
- const p = (y, h = void 0) => {
903
- if (d.activate(), h)
904
- h !== Rn && (r.f |= on, Gn(r, h));
932
+ const p = (h, g = void 0) => {
933
+ if (d.activate(), g)
934
+ g !== an && (r.f |= nn, Dn(r, g));
905
935
  else {
906
- (r.f & on) !== 0 && (r.f ^= on), Gn(r, y);
907
- for (const [C, f] of a) {
908
- if (a.delete(C), C === d) break;
909
- f.reject(Rn);
936
+ (r.f & nn) !== 0 && (r.f ^= nn), Dn(r, h);
937
+ for (const [k, f] of c) {
938
+ if (c.delete(k), k === d) break;
939
+ f.reject(an);
910
940
  }
911
941
  }
912
- l && (o.update_pending_count(-1), d.decrement(m));
942
+ a && (o.update_pending_count(-1), d.decrement(m));
913
943
  };
914
- u.promise.then(p, (y) => p(null, y || "unknown"));
915
- }), Co(() => {
916
- for (const u of a.values())
917
- u.reject(Rn);
944
+ u.promise.then(p, (h) => p(null, h || "unknown"));
945
+ }), Po(() => {
946
+ for (const u of c.values())
947
+ u.reject(an);
918
948
  }), new Promise((u) => {
919
949
  function d(m) {
920
950
  function p() {
@@ -926,29 +956,29 @@ function Js(e, n, t) {
926
956
  });
927
957
  }
928
958
  // @__NO_SIDE_EFFECTS__
929
- function Mi(e) {
930
- const n = /* @__PURE__ */ It(e);
931
- return Io(n), n;
959
+ function Di(e) {
960
+ const n = /* @__PURE__ */ jt(e);
961
+ return Wo(n), n;
932
962
  }
933
963
  // @__NO_SIDE_EFFECTS__
934
- function qs(e) {
935
- const n = /* @__PURE__ */ It(e);
936
- return n.equals = oo, n;
964
+ function or(e) {
965
+ const n = /* @__PURE__ */ jt(e);
966
+ return n.equals = _o, n;
937
967
  }
938
- function vo(e) {
968
+ function sr(e) {
939
969
  var n = e.effects;
940
970
  if (n !== null) {
941
971
  e.effects = null;
942
972
  for (var t = 0; t < n.length; t += 1)
943
- q(
973
+ Y(
944
974
  /** @type {Effect} */
945
975
  n[t]
946
976
  );
947
977
  }
948
978
  }
949
- function Ys(e) {
979
+ function rr(e) {
950
980
  for (var n = e.parent; n !== null; ) {
951
- if ((n.f & X) === 0)
981
+ if ((n.f & K) === 0)
952
982
  return (n.f & Xe) === 0 ? (
953
983
  /** @type {Effect} */
954
984
  n
@@ -957,162 +987,172 @@ function Ys(e) {
957
987
  }
958
988
  return null;
959
989
  }
960
- function mi(e) {
961
- var n, t = $;
962
- Re(Ys(e));
990
+ function fi(e) {
991
+ var n, t = A;
992
+ ze(rr(e));
963
993
  try {
964
- e.f &= ~wn, vo(e), n = Go(e);
994
+ e.f &= ~bn, sr(e), n = Yo(e);
965
995
  } finally {
966
- Re(t);
996
+ ze(t);
967
997
  }
968
998
  return n;
969
999
  }
970
- function wo(e) {
971
- var n = mi(e);
972
- if (!e.equals(n) && (e.wv = Ho(), (!N?.is_fork || e.deps === null) && (e.v = n, e.deps === null))) {
973
- P(e, H);
1000
+ function To(e) {
1001
+ var n = fi(e);
1002
+ if (!e.equals(n) && (e.wv = Jo(), (!N?.is_fork || e.deps === null) && (e.v = n, e.deps === null))) {
1003
+ j(e, G);
974
1004
  return;
975
1005
  }
976
- rn || (be !== null ? (hi() || N?.is_fork) && be.set(e, n) : _i(e));
1006
+ on || (ve !== null ? (hi() || N?.is_fork) && ve.set(e, n) : pi(e));
1007
+ }
1008
+ function lr(e) {
1009
+ if (e.effects !== null)
1010
+ for (const n of e.effects)
1011
+ (n.teardown || n.ac) && (n.teardown?.(), n.ac?.abort(an), n.teardown = $s, n.ac = null, Yn(n, 0), bi(n));
977
1012
  }
978
- let si = /* @__PURE__ */ new Set();
979
- const sn = /* @__PURE__ */ new Map();
980
- let xo = !1;
981
- function xn(e, n) {
1013
+ function Ro(e) {
1014
+ if (e.effects !== null)
1015
+ for (const n of e.effects)
1016
+ n.teardown && Pn(n);
1017
+ }
1018
+ let ni = /* @__PURE__ */ new Set();
1019
+ const tn = /* @__PURE__ */ new Map();
1020
+ let zo = !1;
1021
+ function vn(e, n) {
982
1022
  var t = {
983
1023
  f: 0,
984
1024
  // TODO ideally we could skip this altogether, but it causes type errors
985
1025
  v: e,
986
1026
  reactions: null,
987
- equals: io,
1027
+ equals: fo,
988
1028
  rv: 0,
989
1029
  wv: 0
990
1030
  };
991
1031
  return t;
992
1032
  }
993
1033
  // @__NO_SIDE_EFFECTS__
994
- function O(e, n) {
995
- const t = xn(e);
996
- return Io(t), t;
1034
+ function D(e, n) {
1035
+ const t = vn(e);
1036
+ return Wo(t), t;
997
1037
  }
998
1038
  // @__NO_SIDE_EFFECTS__
999
- function ko(e, n = !1, t = !0) {
1000
- const i = xn(e);
1001
- return n || (i.equals = oo), i;
1039
+ function No(e, n = !1, t = !0) {
1040
+ const i = vn(e);
1041
+ return n || (i.equals = _o), i;
1002
1042
  }
1003
- function D(e, n, t = !1) {
1043
+ function I(e, n, t = !1) {
1004
1044
  w !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
1005
1045
  // to ensure we error if state is set inside an inspect effect
1006
- (!ve || (w.f & ji) !== 0) && lo() && (w.f & (X | qe | fi | ji)) !== 0 && (_e === null || !In.call(_e, e)) && js();
1007
- let i = t ? tn(n) : n;
1008
- return Gn(e, i);
1046
+ (!xe || (w.f & Mi) !== 0) && go() && (w.f & (K | Ve | di | Mi)) !== 0 && (_e === null || !Ln.call(_e, e)) && Hs();
1047
+ let i = t ? en(n) : n;
1048
+ return Dn(e, i);
1009
1049
  }
1010
- function Gn(e, n) {
1050
+ function Dn(e, n) {
1011
1051
  if (!e.equals(n)) {
1012
1052
  var t = e.v;
1013
- rn ? sn.set(e, n) : sn.set(e, t), e.v = n;
1053
+ on ? tn.set(e, n) : tn.set(e, t), e.v = n;
1014
1054
  var i = We.ensure();
1015
- if (i.capture(e, t), (e.f & X) !== 0) {
1055
+ if (i.capture(e, t), (e.f & K) !== 0) {
1016
1056
  const o = (
1017
1057
  /** @type {Derived} */
1018
1058
  e
1019
1059
  );
1020
- (e.f & Y) !== 0 && mi(o), _i(o);
1060
+ (e.f & W) !== 0 && fi(o), pi(o);
1021
1061
  }
1022
- e.wv = Ho(), So(e, Y), $ !== null && ($.f & H) !== 0 && ($.f & (we | ln)) === 0 && (ce === null ? sr([e]) : ce.push(e)), !i.is_fork && si.size > 0 && !xo && Vs();
1062
+ e.wv = Jo(), Lo(e, W), A !== null && (A.f & G) !== 0 && (A.f & (Se | sn)) === 0 && (ce === null ? gr([e]) : ce.push(e)), !i.is_fork && ni.size > 0 && !zo && ar();
1023
1063
  }
1024
1064
  return n;
1025
1065
  }
1026
- function Vs() {
1027
- xo = !1;
1028
- for (const e of si)
1029
- (e.f & H) !== 0 && P(e, Ye), ct(e) && tt(e);
1030
- si.clear();
1066
+ function ar() {
1067
+ zo = !1;
1068
+ for (const e of ni)
1069
+ (e.f & G) !== 0 && j(e, ke), ot(e) && Pn(e);
1070
+ ni.clear();
1031
1071
  }
1032
- function nt(e) {
1033
- D(e, e.v + 1);
1072
+ function Jn(e) {
1073
+ I(e, e.v + 1);
1034
1074
  }
1035
- function So(e, n) {
1075
+ function Lo(e, n) {
1036
1076
  var t = e.reactions;
1037
1077
  if (t !== null)
1038
1078
  for (var i = t.length, o = 0; o < i; o++) {
1039
- var s = t[o], r = s.f, l = (r & Y) === 0;
1040
- if (l && P(s, n), (r & X) !== 0) {
1041
- var a = (
1079
+ var s = t[o], r = s.f, a = (r & W) === 0;
1080
+ if (a && j(s, n), (r & K) !== 0) {
1081
+ var c = (
1042
1082
  /** @type {Derived} */
1043
1083
  s
1044
1084
  );
1045
- be?.delete(a), (r & wn) === 0 && (r & fe && (s.f |= wn), So(a, Ye));
1046
- } else l && ((r & qe) !== 0 && Pe !== null && Pe.add(
1085
+ ve?.delete(c), (r & bn) === 0 && (r & fe && (s.f |= bn), Lo(c, ke));
1086
+ } else a && ((r & Ve) !== 0 && De !== null && De.add(
1047
1087
  /** @type {Effect} */
1048
1088
  s
1049
- ), Je(
1089
+ ), we(
1050
1090
  /** @type {Effect} */
1051
1091
  s
1052
1092
  ));
1053
1093
  }
1054
1094
  }
1055
- function tn(e) {
1056
- if (typeof e != "object" || e === null || gt in e)
1095
+ function en(e) {
1096
+ if (typeof e != "object" || e === null || ht in e)
1057
1097
  return e;
1058
- const n = Qi(e);
1059
- if (n !== gs && n !== bs)
1098
+ const n = ro(e);
1099
+ if (n !== Ss && n !== Es)
1060
1100
  return e;
1061
- var t = /* @__PURE__ */ new Map(), i = Vi(e), o = /* @__PURE__ */ O(0), s = vn, r = (l) => {
1062
- if (vn === s)
1063
- return l();
1064
- var a = w, u = vn;
1065
- me(null), Pi(s);
1066
- var d = l();
1067
- return me(a), Pi(u), d;
1101
+ var t = /* @__PURE__ */ new Map(), i = so(e), o = /* @__PURE__ */ D(0), s = yn, r = (a) => {
1102
+ if (yn === s)
1103
+ return a();
1104
+ var c = w, u = yn;
1105
+ me(null), Bi(s);
1106
+ var d = a();
1107
+ return me(c), Bi(u), d;
1068
1108
  };
1069
- return i && t.set("length", /* @__PURE__ */ O(
1109
+ return i && t.set("length", /* @__PURE__ */ D(
1070
1110
  /** @type {any[]} */
1071
1111
  e.length
1072
1112
  )), new Proxy(
1073
1113
  /** @type {any} */
1074
1114
  e,
1075
1115
  {
1076
- defineProperty(l, a, u) {
1077
- (!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Ts();
1078
- var d = t.get(a);
1079
- return d === void 0 ? d = r(() => {
1080
- var m = /* @__PURE__ */ O(u.value);
1081
- return t.set(a, m), m;
1082
- }) : D(d, u.value, !0), !0;
1116
+ defineProperty(a, c, u) {
1117
+ (!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Bs();
1118
+ var d = t.get(c);
1119
+ return d === void 0 ? r(() => {
1120
+ var m = /* @__PURE__ */ D(u.value);
1121
+ return t.set(c, m), m;
1122
+ }) : I(d, u.value, !0), !0;
1083
1123
  },
1084
- deleteProperty(l, a) {
1085
- var u = t.get(a);
1124
+ deleteProperty(a, c) {
1125
+ var u = t.get(c);
1086
1126
  if (u === void 0) {
1087
- if (a in l) {
1088
- const d = r(() => /* @__PURE__ */ O(U));
1089
- t.set(a, d), nt(o);
1127
+ if (c in a) {
1128
+ const d = r(() => /* @__PURE__ */ D(X));
1129
+ t.set(c, d), Jn(o);
1090
1130
  }
1091
1131
  } else
1092
- D(u, U), nt(o);
1132
+ I(u, X), Jn(o);
1093
1133
  return !0;
1094
1134
  },
1095
- get(l, a, u) {
1096
- if (a === gt)
1135
+ get(a, c, u) {
1136
+ if (c === ht)
1097
1137
  return e;
1098
- var d = t.get(a), m = a in l;
1099
- if (d === void 0 && (!m || Cn(l, a)?.writable) && (d = r(() => {
1100
- var y = tn(m ? l[a] : U), h = /* @__PURE__ */ O(y);
1101
- return h;
1102
- }), t.set(a, d)), d !== void 0) {
1138
+ var d = t.get(c), m = c in a;
1139
+ if (d === void 0 && (!m || Sn(a, c)?.writable) && (d = r(() => {
1140
+ var h = en(m ? a[c] : X), g = /* @__PURE__ */ D(h);
1141
+ return g;
1142
+ }), t.set(c, d)), d !== void 0) {
1103
1143
  var p = _(d);
1104
- return p === U ? void 0 : p;
1144
+ return p === X ? void 0 : p;
1105
1145
  }
1106
- return Reflect.get(l, a, u);
1146
+ return Reflect.get(a, c, u);
1107
1147
  },
1108
- getOwnPropertyDescriptor(l, a) {
1109
- var u = Reflect.getOwnPropertyDescriptor(l, a);
1148
+ getOwnPropertyDescriptor(a, c) {
1149
+ var u = Reflect.getOwnPropertyDescriptor(a, c);
1110
1150
  if (u && "value" in u) {
1111
- var d = t.get(a);
1151
+ var d = t.get(c);
1112
1152
  d && (u.value = _(d));
1113
1153
  } else if (u === void 0) {
1114
- var m = t.get(a), p = m?.v;
1115
- if (m !== void 0 && p !== U)
1154
+ var m = t.get(c), p = m?.v;
1155
+ if (m !== void 0 && p !== X)
1116
1156
  return {
1117
1157
  enumerable: !0,
1118
1158
  configurable: !0,
@@ -1122,182 +1162,188 @@ function tn(e) {
1122
1162
  }
1123
1163
  return u;
1124
1164
  },
1125
- has(l, a) {
1126
- if (a === gt)
1165
+ has(a, c) {
1166
+ if (c === ht)
1127
1167
  return !0;
1128
- var u = t.get(a), d = u !== void 0 && u.v !== U || Reflect.has(l, a);
1129
- if (u !== void 0 || $ !== null && (!d || Cn(l, a)?.writable)) {
1168
+ var u = t.get(c), d = u !== void 0 && u.v !== X || Reflect.has(a, c);
1169
+ if (u !== void 0 || A !== null && (!d || Sn(a, c)?.writable)) {
1130
1170
  u === void 0 && (u = r(() => {
1131
- var p = d ? tn(l[a]) : U, y = /* @__PURE__ */ O(p);
1132
- return y;
1133
- }), t.set(a, u));
1171
+ var p = d ? en(a[c]) : X, h = /* @__PURE__ */ D(p);
1172
+ return h;
1173
+ }), t.set(c, u));
1134
1174
  var m = _(u);
1135
- if (m === U)
1175
+ if (m === X)
1136
1176
  return !1;
1137
1177
  }
1138
1178
  return d;
1139
1179
  },
1140
- set(l, a, u, d) {
1141
- var m = t.get(a), p = a in l;
1142
- if (i && a === "length")
1143
- for (var y = u; y < /** @type {Source<number>} */
1144
- m.v; y += 1) {
1145
- var h = t.get(y + "");
1146
- h !== void 0 ? D(h, U) : y in l && (h = r(() => /* @__PURE__ */ O(U)), t.set(y + "", h));
1180
+ set(a, c, u, d) {
1181
+ var m = t.get(c), p = c in a;
1182
+ if (i && c === "length")
1183
+ for (var h = u; h < /** @type {Source<number>} */
1184
+ m.v; h += 1) {
1185
+ var g = t.get(h + "");
1186
+ g !== void 0 ? I(g, X) : h in a && (g = r(() => /* @__PURE__ */ D(X)), t.set(h + "", g));
1147
1187
  }
1148
1188
  if (m === void 0)
1149
- (!p || Cn(l, a)?.writable) && (m = r(() => /* @__PURE__ */ O(void 0)), D(m, tn(u)), t.set(a, m));
1189
+ (!p || Sn(a, c)?.writable) && (m = r(() => /* @__PURE__ */ D(void 0)), I(m, en(u)), t.set(c, m));
1150
1190
  else {
1151
- p = m.v !== U;
1152
- var C = r(() => tn(u));
1153
- D(m, C);
1191
+ p = m.v !== X;
1192
+ var k = r(() => en(u));
1193
+ I(m, k);
1154
1194
  }
1155
- var f = Reflect.getOwnPropertyDescriptor(l, a);
1195
+ var f = Reflect.getOwnPropertyDescriptor(a, c);
1156
1196
  if (f?.set && f.set.call(d, u), !p) {
1157
- if (i && typeof a == "string") {
1158
- var g = (
1197
+ if (i && typeof c == "string") {
1198
+ var y = (
1159
1199
  /** @type {Source<number>} */
1160
1200
  t.get("length")
1161
- ), K = Number(a);
1162
- Number.isInteger(K) && K >= g.v && D(g, K + 1);
1201
+ ), V = Number(c);
1202
+ Number.isInteger(V) && V >= y.v && I(y, V + 1);
1163
1203
  }
1164
- nt(o);
1204
+ Jn(o);
1165
1205
  }
1166
1206
  return !0;
1167
1207
  },
1168
- ownKeys(l) {
1208
+ ownKeys(a) {
1169
1209
  _(o);
1170
- var a = Reflect.ownKeys(l).filter((m) => {
1210
+ var c = Reflect.ownKeys(a).filter((m) => {
1171
1211
  var p = t.get(m);
1172
- return p === void 0 || p.v !== U;
1212
+ return p === void 0 || p.v !== X;
1173
1213
  });
1174
1214
  for (var [u, d] of t)
1175
- d.v !== U && !(u in l) && a.push(u);
1176
- return a;
1215
+ d.v !== X && !(u in a) && c.push(u);
1216
+ return c;
1177
1217
  },
1178
1218
  setPrototypeOf() {
1179
- Ns();
1219
+ Gs();
1180
1220
  }
1181
1221
  }
1182
1222
  );
1183
1223
  }
1184
- var Oi, Eo, $o, Ao;
1185
- function ri() {
1186
- if (Oi === void 0) {
1187
- Oi = window, Eo = /Firefox/.test(navigator.userAgent);
1224
+ var Ii, jo, Mo, Oo;
1225
+ function ti() {
1226
+ if (Ii === void 0) {
1227
+ Ii = window, jo = /Firefox/.test(navigator.userAgent);
1188
1228
  var e = Element.prototype, n = Node.prototype, t = Text.prototype;
1189
- $o = Cn(n, "firstChild").get, Ao = Cn(n, "nextSibling").get, Ni(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), Ni(t) && (t.__t = void 0);
1229
+ Mo = Sn(n, "firstChild").get, Oo = Sn(n, "nextSibling").get, ji(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), ji(t) && (t.__t = void 0);
1190
1230
  }
1191
1231
  }
1192
- function ee(e = "") {
1232
+ function te(e = "") {
1193
1233
  return document.createTextNode(e);
1194
1234
  }
1195
1235
  // @__NO_SIDE_EFFECTS__
1196
- function Un(e) {
1236
+ function In(e) {
1197
1237
  return (
1198
1238
  /** @type {TemplateNode | null} */
1199
- $o.call(e)
1239
+ Mo.call(e)
1200
1240
  );
1201
1241
  }
1202
1242
  // @__NO_SIDE_EFFECTS__
1203
- function Te(e) {
1243
+ function Le(e) {
1204
1244
  return (
1205
1245
  /** @type {TemplateNode | null} */
1206
- Ao.call(e)
1246
+ Oo.call(e)
1207
1247
  );
1208
1248
  }
1209
- function z(e, n) {
1210
- if (!S)
1211
- return /* @__PURE__ */ Un(e);
1212
- var t = /* @__PURE__ */ Un(E);
1249
+ function T(e, n) {
1250
+ if (!E)
1251
+ return /* @__PURE__ */ In(e);
1252
+ var t = /* @__PURE__ */ In($);
1213
1253
  if (t === null)
1214
- t = E.appendChild(ee());
1215
- else if (n && t.nodeType !== at) {
1216
- var i = ee();
1217
- return t?.before(i), J(i), i;
1254
+ t = $.appendChild(te());
1255
+ else if (n && t.nodeType !== it) {
1256
+ var i = te();
1257
+ return t?.before(i), q(i), i;
1218
1258
  }
1219
- return n && Bt(
1259
+ return n && Mt(
1220
1260
  /** @type {Text} */
1221
1261
  t
1222
- ), J(t), t;
1262
+ ), q(t), t;
1223
1263
  }
1224
- function Kt(e, n = !1) {
1225
- if (!S) {
1226
- var t = /* @__PURE__ */ Un(e);
1227
- return t instanceof Comment && t.data === "" ? /* @__PURE__ */ Te(t) : t;
1264
+ function cr(e, n = !1) {
1265
+ if (!E) {
1266
+ var t = /* @__PURE__ */ In(e);
1267
+ return t instanceof Comment && t.data === "" ? /* @__PURE__ */ Le(t) : t;
1228
1268
  }
1229
1269
  if (n) {
1230
- if (E?.nodeType !== at) {
1231
- var i = ee();
1232
- return E?.before(i), J(i), i;
1270
+ if ($?.nodeType !== it) {
1271
+ var i = te();
1272
+ return $?.before(i), q(i), i;
1233
1273
  }
1234
- Bt(
1274
+ Mt(
1235
1275
  /** @type {Text} */
1236
- E
1276
+ $
1237
1277
  );
1238
1278
  }
1239
- return E;
1279
+ return $;
1240
1280
  }
1241
- function M(e, n = 1, t = !1) {
1242
- let i = S ? E : e;
1281
+ function O(e, n = 1, t = !1) {
1282
+ let i = E ? $ : e;
1243
1283
  for (var o; n--; )
1244
1284
  o = i, i = /** @type {TemplateNode} */
1245
- /* @__PURE__ */ Te(i);
1246
- if (!S)
1285
+ /* @__PURE__ */ Le(i);
1286
+ if (!E)
1247
1287
  return i;
1248
1288
  if (t) {
1249
- if (i?.nodeType !== at) {
1250
- var s = ee();
1251
- return i === null ? o?.after(s) : i.before(s), J(s), s;
1289
+ if (i?.nodeType !== it) {
1290
+ var s = te();
1291
+ return i === null ? o?.after(s) : i.before(s), q(s), s;
1252
1292
  }
1253
- Bt(
1293
+ Mt(
1254
1294
  /** @type {Text} */
1255
1295
  i
1256
1296
  );
1257
1297
  }
1258
- return J(i), i;
1298
+ return q(i), i;
1259
1299
  }
1260
- function zo(e) {
1300
+ function Do(e) {
1261
1301
  e.textContent = "";
1262
1302
  }
1263
- function Ro() {
1303
+ function Io() {
1264
1304
  return !1;
1265
1305
  }
1266
- function Bt(e) {
1306
+ function _i(e, n, t) {
1307
+ return (
1308
+ /** @type {T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[T] : Element} */
1309
+ document.createElementNS(oo, e, void 0)
1310
+ );
1311
+ }
1312
+ function Mt(e) {
1267
1313
  if (
1268
1314
  /** @type {string} */
1269
1315
  e.nodeValue.length < 65536
1270
1316
  )
1271
1317
  return;
1272
1318
  let n = e.nextSibling;
1273
- for (; n !== null && n.nodeType === at; )
1319
+ for (; n !== null && n.nodeType === it; )
1274
1320
  n.remove(), e.nodeValue += /** @type {string} */
1275
1321
  n.nodeValue, n = e.nextSibling;
1276
1322
  }
1277
- function yi(e) {
1278
- var n = w, t = $;
1279
- me(null), Re(null);
1323
+ function mi(e) {
1324
+ var n = w, t = A;
1325
+ me(null), ze(null);
1280
1326
  try {
1281
1327
  return e();
1282
1328
  } finally {
1283
- me(n), Re(t);
1329
+ me(n), ze(t);
1284
1330
  }
1285
1331
  }
1286
- function Qs(e) {
1287
- $ === null && (w === null && zs(), As()), rn && $s();
1332
+ function ur(e) {
1333
+ A === null && (w === null && Ds(), Os()), on && Ms();
1288
1334
  }
1289
- function Zs(e, n) {
1335
+ function dr(e, n) {
1290
1336
  var t = n.last;
1291
1337
  t === null ? n.last = n.first = e : (t.next = e, e.prev = t, n.last = e);
1292
1338
  }
1293
- function Ne(e, n, t) {
1294
- var i = $;
1339
+ function je(e, n, t) {
1340
+ var i = A;
1295
1341
  i !== null && (i.f & le) !== 0 && (e |= le);
1296
1342
  var o = {
1297
1343
  ctx: ae,
1298
1344
  deps: null,
1299
1345
  nodes: null,
1300
- f: e | Y | fe,
1346
+ f: e | W | fe,
1301
1347
  first: null,
1302
1348
  fn: n,
1303
1349
  last: null,
@@ -1311,14 +1357,14 @@ function Ne(e, n, t) {
1311
1357
  };
1312
1358
  if (t)
1313
1359
  try {
1314
- tt(o), o.f |= Mt;
1315
- } catch (l) {
1316
- throw q(o), l;
1360
+ Pn(o);
1361
+ } catch (a) {
1362
+ throw Y(o), a;
1317
1363
  }
1318
- else n !== null && Je(o);
1364
+ else n !== null && we(o);
1319
1365
  var s = o;
1320
1366
  if (t && s.deps === null && s.teardown === null && s.nodes === null && s.first === s.last && // either `null`, or a singular child
1321
- (s.f & Sn) === 0 && (s = s.first, (e & qe) !== 0 && (e & Bn) !== 0 && s !== null && (s.f |= Bn)), s !== null && (s.parent = i, i !== null && Zs(s, i), w !== null && (w.f & X) !== 0 && (e & ln) === 0)) {
1367
+ (s.f & xn) === 0 && (s = s.first, (e & Ve) !== 0 && (e & jn) !== 0 && s !== null && (s.f |= jn)), s !== null && (s.parent = i, i !== null && dr(s, i), w !== null && (w.f & K) !== 0 && (e & sn) === 0)) {
1322
1368
  var r = (
1323
1369
  /** @type {Derived} */
1324
1370
  w
@@ -1328,18 +1374,18 @@ function Ne(e, n, t) {
1328
1374
  return o;
1329
1375
  }
1330
1376
  function hi() {
1331
- return w !== null && !ve;
1377
+ return w !== null && !xe;
1332
1378
  }
1333
- function Co(e) {
1334
- const n = Ne(Lt, null, !1);
1335
- return P(n, H), n.teardown = e, n;
1379
+ function Po(e) {
1380
+ const n = je(Rt, null, !1);
1381
+ return j(n, G), n.teardown = e, n;
1336
1382
  }
1337
- function li(e) {
1338
- Qs();
1383
+ function ii(e) {
1384
+ ur();
1339
1385
  var n = (
1340
1386
  /** @type {Effect} */
1341
- $.f
1342
- ), t = !w && (n & we) !== 0 && (n & Mt) === 0;
1387
+ A.f
1388
+ ), t = !w && (n & Se) !== 0 && (n & Bn) === 0;
1343
1389
  if (t) {
1344
1390
  var i = (
1345
1391
  /** @type {ComponentContext} */
@@ -1347,140 +1393,140 @@ function li(e) {
1347
1393
  );
1348
1394
  (i.e ?? (i.e = [])).push(e);
1349
1395
  } else
1350
- return To(e);
1396
+ return Bo(e);
1351
1397
  }
1352
- function To(e) {
1353
- return Ne($t | ws, e, !1);
1398
+ function Bo(e) {
1399
+ return je(qn | Cs, e, !1);
1354
1400
  }
1355
- function er(e) {
1401
+ function pr(e) {
1356
1402
  We.ensure();
1357
- const n = Ne(ln | Sn, e, !0);
1403
+ const n = je(sn | xn, e, !0);
1358
1404
  return () => {
1359
- q(n);
1405
+ Y(n);
1360
1406
  };
1361
1407
  }
1362
- function nr(e) {
1408
+ function fr(e) {
1363
1409
  We.ensure();
1364
- const n = Ne(ln | Sn, e, !0);
1410
+ const n = je(sn | xn, e, !0);
1365
1411
  return (t = {}) => new Promise((i) => {
1366
- t.outro ? bn(n, () => {
1367
- q(n), i(void 0);
1368
- }) : (q(n), i(void 0));
1412
+ t.outro ? gn(n, () => {
1413
+ Y(n), i(void 0);
1414
+ }) : (Y(n), i(void 0));
1369
1415
  });
1370
1416
  }
1371
- function No(e) {
1372
- return Ne($t, e, !1);
1417
+ function Go(e) {
1418
+ return je(qn, e, !1);
1373
1419
  }
1374
- function tr(e) {
1375
- return Ne(fi | Sn, e, !0);
1420
+ function _r(e) {
1421
+ return je(di | xn, e, !0);
1376
1422
  }
1377
1423
  function gi(e, n = 0) {
1378
- return Ne(Lt | n, e, !0);
1424
+ return je(Rt | n, e, !0);
1379
1425
  }
1380
- function mt(e, n = [], t = [], i = []) {
1381
- Ks(i, n, t, (o) => {
1382
- Ne(Lt, () => e(...o.map(_)), !0);
1426
+ function pt(e, n = [], t = [], i = []) {
1427
+ nr(i, n, t, (o) => {
1428
+ je(Rt, () => e(...o.map(_)), !0);
1383
1429
  });
1384
1430
  }
1385
- function bi(e, n = 0) {
1386
- var t = Ne(qe | n, e, !0);
1431
+ function yi(e, n = 0) {
1432
+ var t = je(Ve | n, e, !0);
1387
1433
  return t;
1388
1434
  }
1389
1435
  function pe(e) {
1390
- return Ne(we | Sn, e, !0);
1436
+ return je(Se | xn, e, !0);
1391
1437
  }
1392
- function jo(e) {
1438
+ function Ho(e) {
1393
1439
  var n = e.teardown;
1394
1440
  if (n !== null) {
1395
- const t = rn, i = w;
1396
- Di(!0), me(null);
1441
+ const t = on, i = w;
1442
+ Pi(!0), me(null);
1397
1443
  try {
1398
1444
  n.call(null);
1399
1445
  } finally {
1400
- Di(t), me(i);
1446
+ Pi(t), me(i);
1401
1447
  }
1402
1448
  }
1403
1449
  }
1404
- function Lo(e, n = !1) {
1450
+ function bi(e, n = !1) {
1405
1451
  var t = e.first;
1406
1452
  for (e.first = e.last = null; t !== null; ) {
1407
1453
  const o = t.ac;
1408
- o !== null && yi(() => {
1409
- o.abort(Rn);
1454
+ o !== null && mi(() => {
1455
+ o.abort(an);
1410
1456
  });
1411
1457
  var i = t.next;
1412
- (t.f & ln) !== 0 ? t.parent = null : q(t, n), t = i;
1458
+ (t.f & sn) !== 0 ? t.parent = null : Y(t, n), t = i;
1413
1459
  }
1414
1460
  }
1415
- function ir(e) {
1461
+ function mr(e) {
1416
1462
  for (var n = e.first; n !== null; ) {
1417
1463
  var t = n.next;
1418
- (n.f & we) === 0 && q(n), n = t;
1464
+ (n.f & Se) === 0 && Y(n), n = t;
1419
1465
  }
1420
1466
  }
1421
- function q(e, n = !0) {
1467
+ function Y(e, n = !0) {
1422
1468
  var t = !1;
1423
- (n || (e.f & no) !== 0) && e.nodes !== null && e.nodes.end !== null && (or(
1469
+ (n || (e.f & uo) !== 0) && e.nodes !== null && e.nodes.end !== null && (hr(
1424
1470
  e.nodes.start,
1425
1471
  /** @type {TemplateNode} */
1426
1472
  e.nodes.end
1427
- ), t = !0), Lo(e, n && !t), zt(e, 0), P(e, Xe);
1473
+ ), t = !0), bi(e, n && !t), Yn(e, 0), j(e, Xe);
1428
1474
  var i = e.nodes && e.nodes.t;
1429
1475
  if (i !== null)
1430
1476
  for (const s of i)
1431
1477
  s.stop();
1432
- jo(e);
1478
+ Ho(e);
1433
1479
  var o = e.parent;
1434
- o !== null && o.first !== null && Mo(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = null;
1480
+ o !== null && o.first !== null && Fo(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = null;
1435
1481
  }
1436
- function or(e, n) {
1482
+ function hr(e, n) {
1437
1483
  for (; e !== null; ) {
1438
- var t = e === n ? null : /* @__PURE__ */ Te(e);
1484
+ var t = e === n ? null : /* @__PURE__ */ Le(e);
1439
1485
  e.remove(), e = t;
1440
1486
  }
1441
1487
  }
1442
- function Mo(e) {
1488
+ function Fo(e) {
1443
1489
  var n = e.parent, t = e.prev, i = e.next;
1444
1490
  t !== null && (t.next = i), i !== null && (i.prev = t), n !== null && (n.first === e && (n.first = i), n.last === e && (n.last = t));
1445
1491
  }
1446
- function bn(e, n, t = !0) {
1492
+ function gn(e, n, t = !0) {
1447
1493
  var i = [];
1448
- Oo(e, i, !0);
1494
+ Uo(e, i, !0);
1449
1495
  var o = () => {
1450
- t && q(e), n && n();
1496
+ t && Y(e), n && n();
1451
1497
  }, s = i.length;
1452
1498
  if (s > 0) {
1453
1499
  var r = () => --s || o();
1454
- for (var l of i)
1455
- l.out(r);
1500
+ for (var a of i)
1501
+ a.out(r);
1456
1502
  } else
1457
1503
  o();
1458
1504
  }
1459
- function Oo(e, n, t) {
1505
+ function Uo(e, n, t) {
1460
1506
  if ((e.f & le) === 0) {
1461
1507
  e.f ^= le;
1462
1508
  var i = e.nodes && e.nodes.t;
1463
1509
  if (i !== null)
1464
- for (const l of i)
1465
- (l.is_global || t) && n.push(l);
1510
+ for (const a of i)
1511
+ (a.is_global || t) && n.push(a);
1466
1512
  for (var o = e.first; o !== null; ) {
1467
- var s = o.next, r = (o.f & Bn) !== 0 || // If this is a branch effect without a block effect parent,
1513
+ var s = o.next, r = (o.f & jn) !== 0 || // If this is a branch effect without a block effect parent,
1468
1514
  // it means the parent block effect was pruned. In that case,
1469
1515
  // transparency information was transferred to the branch effect.
1470
- (o.f & we) !== 0 && (e.f & qe) !== 0;
1471
- Oo(o, n, r ? t : !1), o = s;
1516
+ (o.f & Se) !== 0 && (e.f & Ve) !== 0;
1517
+ Uo(o, n, r ? t : !1), o = s;
1472
1518
  }
1473
1519
  }
1474
1520
  }
1475
1521
  function vi(e) {
1476
- Do(e, !0);
1522
+ Xo(e, !0);
1477
1523
  }
1478
- function Do(e, n) {
1524
+ function Xo(e, n) {
1479
1525
  if ((e.f & le) !== 0) {
1480
- e.f ^= le, (e.f & H) === 0 && (P(e, Y), Je(e));
1526
+ e.f ^= le, (e.f & G) === 0 && (j(e, W), we(e));
1481
1527
  for (var t = e.first; t !== null; ) {
1482
- var i = t.next, o = (t.f & Bn) !== 0 || (t.f & we) !== 0;
1483
- Do(t, o ? n : !1), t = i;
1528
+ var i = t.next, o = (t.f & jn) !== 0 || (t.f & Se) !== 0;
1529
+ Xo(t, o ? n : !1), t = i;
1484
1530
  }
1485
1531
  var s = e.nodes && e.nodes.t;
1486
1532
  if (s !== null)
@@ -1488,54 +1534,54 @@ function Do(e, n) {
1488
1534
  (r.is_global || n) && r.in();
1489
1535
  }
1490
1536
  }
1491
- function Po(e, n) {
1537
+ function Ko(e, n) {
1492
1538
  if (e.nodes)
1493
1539
  for (var t = e.nodes.start, i = e.nodes.end; t !== null; ) {
1494
- var o = t === i ? null : /* @__PURE__ */ Te(t);
1540
+ var o = t === i ? null : /* @__PURE__ */ Le(t);
1495
1541
  n.append(t), t = o;
1496
1542
  }
1497
1543
  }
1498
- let xt = !1, rn = !1;
1499
- function Di(e) {
1500
- rn = e;
1544
+ let vt = !1, on = !1;
1545
+ function Pi(e) {
1546
+ on = e;
1501
1547
  }
1502
- let w = null, ve = !1;
1548
+ let w = null, xe = !1;
1503
1549
  function me(e) {
1504
1550
  w = e;
1505
1551
  }
1506
- let $ = null;
1507
- function Re(e) {
1508
- $ = e;
1552
+ let A = null;
1553
+ function ze(e) {
1554
+ A = e;
1509
1555
  }
1510
1556
  let _e = null;
1511
- function Io(e) {
1557
+ function Wo(e) {
1512
1558
  w !== null && (_e === null ? _e = [e] : _e.push(e));
1513
1559
  }
1514
- let Z = null, ie = 0, ce = null;
1515
- function sr(e) {
1560
+ let ne = null, oe = 0, ce = null;
1561
+ function gr(e) {
1516
1562
  ce = e;
1517
1563
  }
1518
- let Bo = 1, pn = 0, vn = pn;
1519
- function Pi(e) {
1520
- vn = e;
1564
+ let Vo = 1, un = 0, yn = un;
1565
+ function Bi(e) {
1566
+ yn = e;
1521
1567
  }
1522
- function Ho() {
1523
- return ++Bo;
1568
+ function Jo() {
1569
+ return ++Vo;
1524
1570
  }
1525
- function ct(e) {
1571
+ function ot(e) {
1526
1572
  var n = e.f;
1527
- if ((n & Y) !== 0)
1573
+ if ((n & W) !== 0)
1528
1574
  return !0;
1529
- if (n & X && (e.f &= ~wn), (n & Ye) !== 0) {
1575
+ if (n & K && (e.f &= ~bn), (n & ke) !== 0) {
1530
1576
  for (var t = (
1531
1577
  /** @type {Value[]} */
1532
1578
  e.deps
1533
1579
  ), i = t.length, o = 0; o < i; o++) {
1534
1580
  var s = t[o];
1535
- if (ct(
1581
+ if (ot(
1536
1582
  /** @type {Derived} */
1537
1583
  s
1538
- ) && wo(
1584
+ ) && To(
1539
1585
  /** @type {Derived} */
1540
1586
  s
1541
1587
  ), s.wv > e.wv)
@@ -1543,168 +1589,171 @@ function ct(e) {
1543
1589
  }
1544
1590
  (n & fe) !== 0 && // During time traveling we don't want to reset the status so that
1545
1591
  // traversal of the graph in the other batches still happens
1546
- be === null && P(e, H);
1592
+ ve === null && j(e, G);
1547
1593
  }
1548
1594
  return !1;
1549
1595
  }
1550
- function Fo(e, n, t = !0) {
1596
+ function qo(e, n, t = !0) {
1551
1597
  var i = e.reactions;
1552
- if (i !== null && !(_e !== null && In.call(_e, e)))
1598
+ if (i !== null && !(_e !== null && Ln.call(_e, e)))
1553
1599
  for (var o = 0; o < i.length; o++) {
1554
1600
  var s = i[o];
1555
- (s.f & X) !== 0 ? Fo(
1601
+ (s.f & K) !== 0 ? qo(
1556
1602
  /** @type {Derived} */
1557
1603
  s,
1558
1604
  n,
1559
1605
  !1
1560
- ) : n === s && (t ? P(s, Y) : (s.f & H) !== 0 && P(s, Ye), Je(
1606
+ ) : n === s && (t ? j(s, W) : (s.f & G) !== 0 && j(s, ke), we(
1561
1607
  /** @type {Effect} */
1562
1608
  s
1563
1609
  ));
1564
1610
  }
1565
1611
  }
1566
- function Go(e) {
1567
- var C;
1568
- var n = Z, t = ie, i = ce, o = w, s = _e, r = ae, l = ve, a = vn, u = e.f;
1569
- Z = /** @type {null | Value[]} */
1570
- null, ie = 0, ce = null, w = (u & (we | ln)) === 0 ? e : null, _e = null, Hn(e.ctx), ve = !1, vn = ++pn, e.ac !== null && (yi(() => {
1571
- e.ac.abort(Rn);
1612
+ function Yo(e) {
1613
+ var k;
1614
+ var n = ne, t = oe, i = ce, o = w, s = _e, r = ae, a = xe, c = yn, u = e.f;
1615
+ ne = /** @type {null | Value[]} */
1616
+ null, oe = 0, ce = null, w = (u & (Se | sn)) === 0 ? e : null, _e = null, Mn(e.ctx), xe = !1, yn = ++un, e.ac !== null && (mi(() => {
1617
+ e.ac.abort(an);
1572
1618
  }), e.ac = null);
1573
1619
  try {
1574
- e.f |= Qt;
1620
+ e.f |= Vt;
1575
1621
  var d = (
1576
1622
  /** @type {Function} */
1577
1623
  e.fn
1578
- ), m = d(), p = e.deps, y = N?.is_fork;
1579
- if (Z !== null) {
1580
- var h;
1581
- if (y || zt(e, ie), p !== null && ie > 0)
1582
- for (p.length = ie + Z.length, h = 0; h < Z.length; h++)
1583
- p[ie + h] = Z[h];
1624
+ ), m = d();
1625
+ e.f |= Bn;
1626
+ var p = e.deps, h = N?.is_fork;
1627
+ if (ne !== null) {
1628
+ var g;
1629
+ if (h || Yn(e, oe), p !== null && oe > 0)
1630
+ for (p.length = oe + ne.length, g = 0; g < ne.length; g++)
1631
+ p[oe + g] = ne[g];
1584
1632
  else
1585
- e.deps = p = Z;
1633
+ e.deps = p = ne;
1586
1634
  if (hi() && (e.f & fe) !== 0)
1587
- for (h = ie; h < p.length; h++)
1588
- ((C = p[h]).reactions ?? (C.reactions = [])).push(e);
1589
- } else !y && p !== null && ie < p.length && (zt(e, ie), p.length = ie);
1590
- if (lo() && ce !== null && !ve && p !== null && (e.f & (X | Ye | Y)) === 0)
1591
- for (h = 0; h < /** @type {Source[]} */
1592
- ce.length; h++)
1593
- Fo(
1594
- ce[h],
1635
+ for (g = oe; g < p.length; g++)
1636
+ ((k = p[g]).reactions ?? (k.reactions = [])).push(e);
1637
+ } else !h && p !== null && oe < p.length && (Yn(e, oe), p.length = oe);
1638
+ if (go() && ce !== null && !xe && p !== null && (e.f & (K | ke | W)) === 0)
1639
+ for (g = 0; g < /** @type {Source[]} */
1640
+ ce.length; g++)
1641
+ qo(
1642
+ ce[g],
1595
1643
  /** @type {Effect} */
1596
1644
  e
1597
1645
  );
1598
1646
  if (o !== null && o !== e) {
1599
- if (pn++, o.deps !== null)
1647
+ if (un++, o.deps !== null)
1600
1648
  for (let f = 0; f < t; f += 1)
1601
- o.deps[f].rv = pn;
1649
+ o.deps[f].rv = un;
1602
1650
  if (n !== null)
1603
1651
  for (const f of n)
1604
- f.rv = pn;
1652
+ f.rv = un;
1605
1653
  ce !== null && (i === null ? i = ce : i.push(.../** @type {Source[]} */
1606
1654
  ce));
1607
1655
  }
1608
- return (e.f & on) !== 0 && (e.f ^= on), m;
1656
+ return (e.f & nn) !== 0 && (e.f ^= nn), m;
1609
1657
  } catch (f) {
1610
- return co(f);
1658
+ return bo(f);
1611
1659
  } finally {
1612
- e.f ^= Qt, Z = n, ie = t, ce = i, w = o, _e = s, Hn(r), ve = l, vn = a;
1660
+ e.f ^= Vt, ne = n, oe = t, ce = i, w = o, _e = s, Mn(r), xe = a, yn = c;
1613
1661
  }
1614
1662
  }
1615
- function rr(e, n) {
1663
+ function yr(e, n) {
1616
1664
  let t = n.reactions;
1617
1665
  if (t !== null) {
1618
- var i = ys.call(t, e);
1666
+ var i = xs.call(t, e);
1619
1667
  if (i !== -1) {
1620
1668
  var o = t.length - 1;
1621
1669
  o === 0 ? t = n.reactions = null : (t[i] = t[o], t.pop());
1622
1670
  }
1623
1671
  }
1624
- if (t === null && (n.f & X) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
1672
+ if (t === null && (n.f & K) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
1625
1673
  // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
1626
1674
  // allows us to skip the expensive work of disconnecting and immediately reconnecting it
1627
- (Z === null || !In.call(Z, n))) {
1675
+ (ne === null || !Ln.call(ne, n))) {
1628
1676
  var s = (
1629
1677
  /** @type {Derived} */
1630
1678
  n
1631
1679
  );
1632
- (s.f & fe) !== 0 && (s.f ^= fe, s.f &= ~wn), _i(s), vo(s), zt(s, 0);
1680
+ (s.f & fe) !== 0 && (s.f ^= fe, s.f &= ~bn), pi(s), lr(s), Yn(s, 0);
1633
1681
  }
1634
1682
  }
1635
- function zt(e, n) {
1683
+ function Yn(e, n) {
1636
1684
  var t = e.deps;
1637
1685
  if (t !== null)
1638
1686
  for (var i = n; i < t.length; i++)
1639
- rr(e, t[i]);
1687
+ yr(e, t[i]);
1640
1688
  }
1641
- function tt(e) {
1689
+ function Pn(e) {
1642
1690
  var n = e.f;
1643
1691
  if ((n & Xe) === 0) {
1644
- P(e, H);
1645
- var t = $, i = xt;
1646
- $ = e, xt = !0;
1692
+ j(e, G);
1693
+ var t = A, i = vt;
1694
+ A = e, vt = !0;
1647
1695
  try {
1648
- (n & (qe | eo)) !== 0 ? ir(e) : Lo(e), jo(e);
1649
- var o = Go(e);
1650
- e.teardown = typeof o == "function" ? o : null, e.wv = Bo;
1696
+ (n & (Ve | ao)) !== 0 ? mr(e) : bi(e), Ho(e);
1697
+ var o = Yo(e);
1698
+ e.teardown = typeof o == "function" ? o : null, e.wv = Vo;
1651
1699
  var s;
1652
- Vt && Ps && (e.f & Y) !== 0 && e.deps;
1700
+ Wt && Ws && (e.f & W) !== 0 && e.deps;
1653
1701
  } finally {
1654
- xt = i, $ = t;
1702
+ vt = i, A = t;
1655
1703
  }
1656
1704
  }
1657
1705
  }
1658
1706
  function _(e) {
1659
- var n = e.f, t = (n & X) !== 0;
1660
- if (w !== null && !ve) {
1661
- var i = $ !== null && ($.f & Xe) !== 0;
1662
- if (!i && (_e === null || !In.call(_e, e))) {
1707
+ var n = e.f, t = (n & K) !== 0;
1708
+ if (w !== null && !xe) {
1709
+ var i = A !== null && (A.f & Xe) !== 0;
1710
+ if (!i && (_e === null || !Ln.call(_e, e))) {
1663
1711
  var o = w.deps;
1664
- if ((w.f & Qt) !== 0)
1665
- e.rv < pn && (e.rv = pn, Z === null && o !== null && o[ie] === e ? ie++ : Z === null ? Z = [e] : Z.push(e));
1712
+ if ((w.f & Vt) !== 0)
1713
+ e.rv < un && (e.rv = un, ne === null && o !== null && o[oe] === e ? oe++ : ne === null ? ne = [e] : ne.push(e));
1666
1714
  else {
1667
1715
  (w.deps ?? (w.deps = [])).push(e);
1668
1716
  var s = e.reactions;
1669
- s === null ? e.reactions = [w] : In.call(s, w) || s.push(w);
1717
+ s === null ? e.reactions = [w] : Ln.call(s, w) || s.push(w);
1670
1718
  }
1671
1719
  }
1672
1720
  }
1673
- if (rn && sn.has(e))
1674
- return sn.get(e);
1721
+ if (on && tn.has(e))
1722
+ return tn.get(e);
1675
1723
  if (t) {
1676
1724
  var r = (
1677
1725
  /** @type {Derived} */
1678
1726
  e
1679
1727
  );
1680
- if (rn) {
1681
- var l = r.v;
1682
- return ((r.f & H) === 0 && r.reactions !== null || Xo(r)) && (l = mi(r)), sn.set(r, l), l;
1728
+ if (on) {
1729
+ var a = r.v;
1730
+ return ((r.f & G) === 0 && r.reactions !== null || Zo(r)) && (a = fi(r)), tn.set(r, a), a;
1683
1731
  }
1684
- var a = (r.f & fe) === 0 && !ve && w !== null && (xt || (w.f & fe) !== 0), u = r.deps === null;
1685
- ct(r) && (a && (r.f |= fe), wo(r)), a && !u && Uo(r);
1732
+ var c = (r.f & fe) === 0 && !xe && w !== null && (vt || (w.f & fe) !== 0), u = (r.f & Bn) === 0;
1733
+ ot(r) && (c && (r.f |= fe), To(r)), c && !u && (Ro(r), Qo(r));
1686
1734
  }
1687
- if (be?.has(e))
1688
- return be.get(e);
1689
- if ((e.f & on) !== 0)
1735
+ if (ve?.has(e))
1736
+ return ve.get(e);
1737
+ if ((e.f & nn) !== 0)
1690
1738
  throw e.v;
1691
1739
  return e.v;
1692
1740
  }
1693
- function Uo(e) {
1694
- if (e.deps !== null) {
1695
- e.f |= fe;
1741
+ function Qo(e) {
1742
+ if (e.f |= fe, e.deps !== null)
1696
1743
  for (const n of e.deps)
1697
- (n.reactions ?? (n.reactions = [])).push(e), (n.f & X) !== 0 && (n.f & fe) === 0 && Uo(
1744
+ (n.reactions ?? (n.reactions = [])).push(e), (n.f & K) !== 0 && (n.f & fe) === 0 && (Ro(
1698
1745
  /** @type {Derived} */
1699
1746
  n
1700
- );
1701
- }
1747
+ ), Qo(
1748
+ /** @type {Derived} */
1749
+ n
1750
+ ));
1702
1751
  }
1703
- function Xo(e) {
1704
- if (e.v === U) return !0;
1752
+ function Zo(e) {
1753
+ if (e.v === X) return !0;
1705
1754
  if (e.deps === null) return !1;
1706
1755
  for (const n of e.deps)
1707
- if (sn.has(n) || (n.f & X) !== 0 && Xo(
1756
+ if (tn.has(n) || (n.f & K) !== 0 && Zo(
1708
1757
  /** @type {Derived} */
1709
1758
  n
1710
1759
  ))
@@ -1712,40 +1761,40 @@ function Xo(e) {
1712
1761
  return !1;
1713
1762
  }
1714
1763
  function wi(e) {
1715
- var n = ve;
1764
+ var n = xe;
1716
1765
  try {
1717
- return ve = !0, e();
1766
+ return xe = !0, e();
1718
1767
  } finally {
1719
- ve = n;
1768
+ xe = n;
1720
1769
  }
1721
1770
  }
1722
- const Ko = /* @__PURE__ */ new Set(), ai = /* @__PURE__ */ new Set();
1723
- function lr(e, n, t, i = {}) {
1771
+ const es = /* @__PURE__ */ new Set(), oi = /* @__PURE__ */ new Set();
1772
+ function br(e, n, t, i = {}) {
1724
1773
  function o(s) {
1725
- if (i.capture || Qn.call(n, s), !s.cancelBubble)
1726
- return yi(() => t?.call(this, s));
1774
+ if (i.capture || si.call(n, s), !s.cancelBubble)
1775
+ return mi(() => t?.call(this, s));
1727
1776
  }
1728
1777
  return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Ke(() => {
1729
1778
  n.addEventListener(e, o, i);
1730
1779
  }) : n.addEventListener(e, o, i), o;
1731
1780
  }
1732
- function ar(e, n, t, i, o) {
1733
- var s = { capture: i, passive: o }, r = lr(e, n, t, s);
1781
+ function vr(e, n, t, i, o) {
1782
+ var s = { capture: i, passive: o }, r = br(e, n, t, s);
1734
1783
  (n === document.body || // @ts-ignore
1735
1784
  n === window || // @ts-ignore
1736
1785
  n === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
1737
- n instanceof HTMLMediaElement) && Co(() => {
1786
+ n instanceof HTMLMediaElement) && Po(() => {
1738
1787
  n.removeEventListener(e, r, s);
1739
1788
  });
1740
1789
  }
1741
- function cr(e) {
1790
+ function wr(e) {
1742
1791
  for (var n = 0; n < e.length; n++)
1743
- Ko.add(e[n]);
1744
- for (var t of ai)
1792
+ es.add(e[n]);
1793
+ for (var t of oi)
1745
1794
  t(e);
1746
1795
  }
1747
- let Ii = null;
1748
- function Qn(e) {
1796
+ let Gi = null;
1797
+ function si(e) {
1749
1798
  var n = this, t = (
1750
1799
  /** @type {Node} */
1751
1800
  n.ownerDocument
@@ -1753,11 +1802,11 @@ function Qn(e) {
1753
1802
  /** @type {null | Element} */
1754
1803
  o[0] || e.target
1755
1804
  );
1756
- Ii = e;
1757
- var r = 0, l = Ii === e && e.__root;
1758
- if (l) {
1759
- var a = o.indexOf(l);
1760
- if (a !== -1 && (n === document || n === /** @type {any} */
1805
+ Gi = e;
1806
+ var r = 0, a = Gi === e && e.__root;
1807
+ if (a) {
1808
+ var c = o.indexOf(a);
1809
+ if (c !== -1 && (n === document || n === /** @type {any} */
1761
1810
  window)) {
1762
1811
  e.__root = n;
1763
1812
  return;
@@ -1765,97 +1814,110 @@ function Qn(e) {
1765
1814
  var u = o.indexOf(n);
1766
1815
  if (u === -1)
1767
1816
  return;
1768
- a <= u && (r = a);
1817
+ c <= u && (r = c);
1769
1818
  }
1770
1819
  if (s = /** @type {Element} */
1771
1820
  o[r] || e.target, s !== n) {
1772
- Et(e, "currentTarget", {
1821
+ kt(e, "currentTarget", {
1773
1822
  configurable: !0,
1774
1823
  get() {
1775
1824
  return s || t;
1776
1825
  }
1777
1826
  });
1778
- var d = w, m = $;
1779
- me(null), Re(null);
1827
+ var d = w, m = A;
1828
+ me(null), ze(null);
1780
1829
  try {
1781
- for (var p, y = []; s !== null; ) {
1782
- var h = s.assignedSlot || s.parentNode || /** @type {any} */
1830
+ for (var p, h = []; s !== null; ) {
1831
+ var g = s.assignedSlot || s.parentNode || /** @type {any} */
1783
1832
  s.host || null;
1784
1833
  try {
1785
- var C = s["__" + i];
1786
- C != null && (!/** @type {any} */
1834
+ var k = s["__" + i];
1835
+ k != null && (!/** @type {any} */
1787
1836
  s.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
1788
1837
  // -> the target could not have been disabled because it emits the event in the first place
1789
- e.target === s) && C.call(s, e);
1838
+ e.target === s) && k.call(s, e);
1790
1839
  } catch (f) {
1791
- p ? y.push(f) : p = f;
1840
+ p ? h.push(f) : p = f;
1792
1841
  }
1793
- if (e.cancelBubble || h === n || h === null)
1842
+ if (e.cancelBubble || g === n || g === null)
1794
1843
  break;
1795
- s = h;
1844
+ s = g;
1796
1845
  }
1797
1846
  if (p) {
1798
- for (let f of y)
1847
+ for (let f of h)
1799
1848
  queueMicrotask(() => {
1800
1849
  throw f;
1801
1850
  });
1802
1851
  throw p;
1803
1852
  }
1804
1853
  } finally {
1805
- e.__root = n, delete e.currentTarget, me(d), Re(m);
1854
+ e.__root = n, delete e.currentTarget, me(d), ze(m);
1806
1855
  }
1807
1856
  }
1808
1857
  }
1809
- function ur(e) {
1810
- var n = document.createElement("template");
1811
- return n.innerHTML = e.replaceAll("<!>", "<!---->"), n.content;
1858
+ const xr = /* @__PURE__ */ globalThis?.window?.trustedTypes?.createPolicy(
1859
+ "svelte-trusted-html",
1860
+ {
1861
+ /** @param {string} html */
1862
+ createHTML: (e) => e
1863
+ }
1864
+ );
1865
+ function kr(e) {
1866
+ return (
1867
+ /** @type {string} */
1868
+ xr?.createHTML(e) ?? e
1869
+ );
1812
1870
  }
1813
- function kn(e, n) {
1871
+ function Sr(e, n = !1) {
1872
+ var t = _i("template");
1873
+ return e = e.replaceAll("<!>", "<!---->"), t.innerHTML = n ? kr(e) : e, t.content;
1874
+ }
1875
+ function wn(e, n) {
1814
1876
  var t = (
1815
1877
  /** @type {Effect} */
1816
- $
1878
+ A
1817
1879
  );
1818
1880
  t.nodes === null && (t.nodes = { start: e, end: n, a: null, t: null });
1819
1881
  }
1820
1882
  // @__NO_SIDE_EFFECTS__
1821
- function Kn(e, n) {
1822
- var t = (n & _s) !== 0, i, o = !e.startsWith("<!>");
1883
+ function Hn(e, n) {
1884
+ var t = (n & ws) !== 0, i, o = !e.startsWith("<!>");
1823
1885
  return () => {
1824
- if (S)
1825
- return kn(E, null), E;
1826
- i === void 0 && (i = ur(o ? e : "<!>" + e), i = /** @type {TemplateNode} */
1827
- /* @__PURE__ */ Un(i));
1886
+ if (E)
1887
+ return wn($, null), $;
1888
+ i === void 0 && (i = Sr(o ? e : "<!>" + e, !0), i = /** @type {TemplateNode} */
1889
+ /* @__PURE__ */ In(i));
1828
1890
  var s = (
1829
1891
  /** @type {TemplateNode} */
1830
- t || Eo ? document.importNode(i, !0) : i.cloneNode(!0)
1892
+ t || jo ? document.importNode(i, !0) : i.cloneNode(!0)
1831
1893
  );
1832
- return kn(s, s), s;
1894
+ return wn(s, s), s;
1833
1895
  };
1834
1896
  }
1835
- function Wt(e = "") {
1836
- if (!S) {
1837
- var n = ee(e + "");
1838
- return kn(n, n), n;
1897
+ function Ft(e = "") {
1898
+ if (!E) {
1899
+ var n = te(e + "");
1900
+ return wn(n, n), n;
1839
1901
  }
1840
- var t = E;
1841
- return t.nodeType !== at ? (t.before(t = ee()), J(t)) : Bt(
1902
+ var t = $;
1903
+ return t.nodeType !== it ? (t.before(t = te()), q(t)) : Mt(
1842
1904
  /** @type {Text} */
1843
1905
  t
1844
- ), kn(t, t), t;
1906
+ ), wn(t, t), t;
1845
1907
  }
1846
- function Jt() {
1847
- if (S)
1848
- return kn(E, null), E;
1849
- var e = document.createDocumentFragment(), n = document.createComment(""), t = ee();
1850
- return e.append(n, t), kn(n, t), e;
1908
+ function Er() {
1909
+ if (E)
1910
+ return wn($, null), $;
1911
+ var e = document.createDocumentFragment(), n = document.createComment(""), t = te();
1912
+ return e.append(n, t), wn(n, t), e;
1851
1913
  }
1852
- function te(e, n) {
1853
- if (S) {
1914
+ function ye(e, n) {
1915
+ if (E) {
1854
1916
  var t = (
1855
1917
  /** @type {Effect & { nodes: EffectNodes }} */
1856
- $
1918
+ A
1857
1919
  );
1858
- ((t.f & Mt) === 0 || t.nodes.end === null) && (t.nodes.end = E), Dt();
1920
+ ((t.f & Bn) === 0 || t.nodes.end === null) && (t.nodes.end = $), Nt();
1859
1921
  return;
1860
1922
  }
1861
1923
  e !== null && e.before(
@@ -1863,61 +1925,64 @@ function te(e, n) {
1863
1925
  n
1864
1926
  );
1865
1927
  }
1866
- const dr = ["touchstart", "touchmove"];
1867
- function pr(e) {
1868
- return dr.includes(e);
1928
+ const $r = ["touchstart", "touchmove"];
1929
+ function Ar(e) {
1930
+ return $r.includes(e);
1869
1931
  }
1870
- function he(e, n) {
1932
+ function ge(e, n) {
1871
1933
  var t = n == null ? "" : typeof n == "object" ? n + "" : n;
1872
1934
  t !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = t, e.nodeValue = t + "");
1873
1935
  }
1874
- function Wo(e, n) {
1875
- return Jo(e, n);
1936
+ function ns(e, n) {
1937
+ return ts(e, n);
1876
1938
  }
1877
- function fr(e, n) {
1878
- ri(), n.intro = n.intro ?? !1;
1879
- const t = n.target, i = S, o = E;
1939
+ function Cr(e, n) {
1940
+ ti(), n.intro = n.intro ?? !1;
1941
+ const t = n.target, i = E, o = $;
1880
1942
  try {
1881
- for (var s = /* @__PURE__ */ Un(t); s && (s.nodeType !== Xn || /** @type {Comment} */
1882
- s.data !== Yi); )
1883
- s = /* @__PURE__ */ Te(s);
1943
+ for (var s = /* @__PURE__ */ In(t); s && (s.nodeType !== Gn || /** @type {Comment} */
1944
+ s.data !== ci); )
1945
+ s = /* @__PURE__ */ Le(s);
1884
1946
  if (!s)
1885
- throw Pn;
1886
- Ue(!0), J(
1947
+ throw Nn;
1948
+ Ue(!0), q(
1887
1949
  /** @type {Comment} */
1888
1950
  s
1889
1951
  );
1890
- const r = Jo(e, { ...n, anchor: s });
1952
+ const r = ts(e, { ...n, anchor: s });
1891
1953
  return Ue(!1), /** @type {Exports} */
1892
1954
  r;
1893
1955
  } catch (r) {
1894
1956
  if (r instanceof Error && r.message.split(`
1895
- `).some((l) => l.startsWith("https://svelte.dev/e/")))
1957
+ `).some((a) => a.startsWith("https://svelte.dev/e/")))
1896
1958
  throw r;
1897
- return r !== Pn && console.warn("Failed to hydrate: ", r), n.recover === !1 && Cs(), ri(), zo(t), Ue(!1), Wo(e, n);
1959
+ return r !== Nn && console.warn("Failed to hydrate: ", r), n.recover === !1 && Ps(), ti(), Do(t), Ue(!1), ns(e, n);
1898
1960
  } finally {
1899
- Ue(i), J(o);
1961
+ Ue(i), q(o);
1900
1962
  }
1901
1963
  }
1902
- const zn = /* @__PURE__ */ new Map();
1903
- function Jo(e, { target: n, anchor: t, props: i = {}, events: o, context: s, intro: r = !0 }) {
1904
- ri();
1905
- var l = /* @__PURE__ */ new Set(), a = (m) => {
1964
+ const ft = /* @__PURE__ */ new Map();
1965
+ function ts(e, { target: n, anchor: t, props: i = {}, events: o, context: s, intro: r = !0 }) {
1966
+ ti();
1967
+ var a = /* @__PURE__ */ new Set(), c = (m) => {
1906
1968
  for (var p = 0; p < m.length; p++) {
1907
- var y = m[p];
1908
- if (!l.has(y)) {
1909
- l.add(y);
1910
- var h = pr(y);
1911
- n.addEventListener(y, Qn, { passive: h });
1912
- var C = zn.get(y);
1913
- C === void 0 ? (document.addEventListener(y, Qn, { passive: h }), zn.set(y, 1)) : zn.set(y, C + 1);
1969
+ var h = m[p];
1970
+ if (!a.has(h)) {
1971
+ a.add(h);
1972
+ var g = Ar(h);
1973
+ for (const y of [n, document]) {
1974
+ var k = ft.get(y);
1975
+ k === void 0 && (k = /* @__PURE__ */ new Map(), ft.set(y, k));
1976
+ var f = k.get(h);
1977
+ f === void 0 ? (y.addEventListener(h, si, { passive: g }), k.set(h, 1)) : k.set(h, f + 1);
1978
+ }
1914
1979
  }
1915
1980
  }
1916
1981
  };
1917
- a(jt(Ko)), ai.add(a);
1918
- var u = void 0, d = nr(() => {
1919
- var m = t ?? n.appendChild(ee());
1920
- return Us(
1982
+ c(Tt(es)), oi.add(c);
1983
+ var u = void 0, d = fr(() => {
1984
+ var m = t ?? n.appendChild(te());
1985
+ return Zs(
1921
1986
  /** @type {TemplateNode} */
1922
1987
  m,
1923
1988
  {
@@ -1925,53 +1990,53 @@ function Jo(e, { target: n, anchor: t, props: i = {}, events: o, context: s, int
1925
1990
  }
1926
1991
  },
1927
1992
  (p) => {
1928
- if (s) {
1929
- so({});
1930
- var y = (
1931
- /** @type {ComponentContext} */
1932
- ae
1933
- );
1934
- y.c = s;
1935
- }
1936
- if (o && (i.$$events = o), S && kn(
1993
+ mo({});
1994
+ var h = (
1995
+ /** @type {ComponentContext} */
1996
+ ae
1997
+ );
1998
+ if (s && (h.c = s), o && (i.$$events = o), E && wn(
1937
1999
  /** @type {TemplateNode} */
1938
2000
  p,
1939
2001
  null
1940
- ), u = e(p, i) || {}, S && ($.nodes.end = E, E === null || E.nodeType !== Xn || /** @type {Comment} */
1941
- E.data !== di))
1942
- throw Ot(), Pn;
1943
- s && ro();
2002
+ ), u = e(p, i) || {}, E && (A.nodes.end = $, $ === null || $.nodeType !== Gn || /** @type {Comment} */
2003
+ $.data !== ui))
2004
+ throw zt(), Nn;
2005
+ ho();
1944
2006
  }
1945
2007
  ), () => {
1946
- for (var p of l) {
1947
- n.removeEventListener(p, Qn);
1948
- var y = (
1949
- /** @type {number} */
1950
- zn.get(p)
1951
- );
1952
- --y === 0 ? (document.removeEventListener(p, Qn), zn.delete(p)) : zn.set(p, y);
1953
- }
1954
- ai.delete(a), m !== t && m.parentNode?.removeChild(m);
2008
+ for (var p of a)
2009
+ for (const k of [n, document]) {
2010
+ var h = (
2011
+ /** @type {Map<string, number>} */
2012
+ ft.get(k)
2013
+ ), g = (
2014
+ /** @type {number} */
2015
+ h.get(p)
2016
+ );
2017
+ --g == 0 ? (k.removeEventListener(p, si), h.delete(p), h.size === 0 && ft.delete(k)) : h.set(p, g);
2018
+ }
2019
+ oi.delete(c), m !== t && m.parentNode?.removeChild(m);
1955
2020
  };
1956
2021
  });
1957
- return ci.set(u, d), u;
2022
+ return ri.set(u, d), u;
1958
2023
  }
1959
- let ci = /* @__PURE__ */ new WeakMap();
1960
- function _r(e, n) {
1961
- const t = ci.get(e);
1962
- return t ? (ci.delete(e), t(n)) : Promise.resolve();
2024
+ let ri = /* @__PURE__ */ new WeakMap();
2025
+ function Tr(e, n) {
2026
+ const t = ri.get(e);
2027
+ return t ? (ri.delete(e), t(n)) : Promise.resolve();
1963
2028
  }
1964
- var ge, ze, se, gn, rt, lt, Tt;
1965
- class mr {
2029
+ var be, Re, re, hn, nt, tt, At;
2030
+ class Rr {
1966
2031
  /**
1967
2032
  * @param {TemplateNode} anchor
1968
2033
  * @param {boolean} transition
1969
2034
  */
1970
2035
  constructor(n, t = !0) {
1971
2036
  /** @type {TemplateNode} */
1972
- j(this, "anchor");
2037
+ L(this, "anchor");
1973
2038
  /** @type {Map<Batch, Key>} */
1974
- v(this, ge, /* @__PURE__ */ new Map());
2039
+ v(this, be, /* @__PURE__ */ new Map());
1975
2040
  /**
1976
2041
  * Map of keys to effects that are currently rendered in the DOM.
1977
2042
  * These effects are visible and actively part of the document tree.
@@ -1986,69 +2051,69 @@ class mr {
1986
2051
  * Can result in the entries `true->Effect` and `false->Effect`
1987
2052
  * @type {Map<Key, Effect>}
1988
2053
  */
1989
- v(this, ze, /* @__PURE__ */ new Map());
2054
+ v(this, Re, /* @__PURE__ */ new Map());
1990
2055
  /**
1991
2056
  * Similar to #onscreen with respect to the keys, but contains branches that are not yet
1992
2057
  * in the DOM, because their insertion is deferred.
1993
2058
  * @type {Map<Key, Branch>}
1994
2059
  */
1995
- v(this, se, /* @__PURE__ */ new Map());
2060
+ v(this, re, /* @__PURE__ */ new Map());
1996
2061
  /**
1997
2062
  * Keys of effects that are currently outroing
1998
2063
  * @type {Set<Key>}
1999
2064
  */
2000
- v(this, gn, /* @__PURE__ */ new Set());
2065
+ v(this, hn, /* @__PURE__ */ new Set());
2001
2066
  /**
2002
2067
  * Whether to pause (i.e. outro) on change, or destroy immediately.
2003
2068
  * This is necessary for `<svelte:element>`
2004
2069
  */
2005
- v(this, rt, !0);
2006
- v(this, lt, () => {
2070
+ v(this, nt, !0);
2071
+ v(this, tt, () => {
2007
2072
  var n = (
2008
2073
  /** @type {Batch} */
2009
2074
  N
2010
2075
  );
2011
- if (c(this, ge).has(n)) {
2076
+ if (l(this, be).has(n)) {
2012
2077
  var t = (
2013
2078
  /** @type {Key} */
2014
- c(this, ge).get(n)
2015
- ), i = c(this, ze).get(t);
2079
+ l(this, be).get(n)
2080
+ ), i = l(this, Re).get(t);
2016
2081
  if (i)
2017
- vi(i), c(this, gn).delete(t);
2082
+ vi(i), l(this, hn).delete(t);
2018
2083
  else {
2019
- var o = c(this, se).get(t);
2020
- o && (c(this, ze).set(t, o.effect), c(this, se).delete(t), o.fragment.lastChild.remove(), this.anchor.before(o.fragment), i = o.effect);
2084
+ var o = l(this, re).get(t);
2085
+ o && (l(this, Re).set(t, o.effect), l(this, re).delete(t), o.fragment.lastChild.remove(), this.anchor.before(o.fragment), i = o.effect);
2021
2086
  }
2022
- for (const [s, r] of c(this, ge)) {
2023
- if (c(this, ge).delete(s), s === n)
2087
+ for (const [s, r] of l(this, be)) {
2088
+ if (l(this, be).delete(s), s === n)
2024
2089
  break;
2025
- const l = c(this, se).get(r);
2026
- l && (q(l.effect), c(this, se).delete(r));
2090
+ const a = l(this, re).get(r);
2091
+ a && (Y(a.effect), l(this, re).delete(r));
2027
2092
  }
2028
- for (const [s, r] of c(this, ze)) {
2029
- if (s === t || c(this, gn).has(s)) continue;
2030
- const l = () => {
2031
- if (Array.from(c(this, ge).values()).includes(s)) {
2093
+ for (const [s, r] of l(this, Re)) {
2094
+ if (s === t || l(this, hn).has(s)) continue;
2095
+ const a = () => {
2096
+ if (Array.from(l(this, be).values()).includes(s)) {
2032
2097
  var u = document.createDocumentFragment();
2033
- Po(r, u), u.append(ee()), c(this, se).set(s, { effect: r, fragment: u });
2098
+ Ko(r, u), u.append(te()), l(this, re).set(s, { effect: r, fragment: u });
2034
2099
  } else
2035
- q(r);
2036
- c(this, gn).delete(s), c(this, ze).delete(s);
2100
+ Y(r);
2101
+ l(this, hn).delete(s), l(this, Re).delete(s);
2037
2102
  };
2038
- c(this, rt) || !i ? (c(this, gn).add(s), bn(r, l, !1)) : l();
2103
+ l(this, nt) || !i ? (l(this, hn).add(s), gn(r, a, !1)) : a();
2039
2104
  }
2040
2105
  }
2041
2106
  });
2042
2107
  /**
2043
2108
  * @param {Batch} batch
2044
2109
  */
2045
- v(this, Tt, (n) => {
2046
- c(this, ge).delete(n);
2047
- const t = Array.from(c(this, ge).values());
2048
- for (const [i, o] of c(this, se))
2049
- t.includes(i) || (q(o.effect), c(this, se).delete(i));
2110
+ v(this, At, (n) => {
2111
+ l(this, be).delete(n);
2112
+ const t = Array.from(l(this, be).values());
2113
+ for (const [i, o] of l(this, re))
2114
+ t.includes(i) || (Y(o.effect), l(this, re).delete(i));
2050
2115
  });
2051
- this.anchor = n, b(this, rt, t);
2116
+ this.anchor = n, b(this, nt, t);
2052
2117
  }
2053
2118
  /**
2054
2119
  *
@@ -2059,32 +2124,32 @@ class mr {
2059
2124
  var i = (
2060
2125
  /** @type {Batch} */
2061
2126
  N
2062
- ), o = Ro();
2063
- if (t && !c(this, ze).has(n) && !c(this, se).has(n))
2127
+ ), o = Io();
2128
+ if (t && !l(this, Re).has(n) && !l(this, re).has(n))
2064
2129
  if (o) {
2065
- var s = document.createDocumentFragment(), r = ee();
2066
- s.append(r), c(this, se).set(n, {
2130
+ var s = document.createDocumentFragment(), r = te();
2131
+ s.append(r), l(this, re).set(n, {
2067
2132
  effect: pe(() => t(r)),
2068
2133
  fragment: s
2069
2134
  });
2070
2135
  } else
2071
- c(this, ze).set(
2136
+ l(this, Re).set(
2072
2137
  n,
2073
2138
  pe(() => t(this.anchor))
2074
2139
  );
2075
- if (c(this, ge).set(i, n), o) {
2076
- for (const [l, a] of c(this, ze))
2077
- l === n ? i.skipped_effects.delete(a) : i.skipped_effects.add(a);
2078
- for (const [l, a] of c(this, se))
2079
- l === n ? i.skipped_effects.delete(a.effect) : i.skipped_effects.add(a.effect);
2080
- i.oncommit(c(this, lt)), i.ondiscard(c(this, Tt));
2140
+ if (l(this, be).set(i, n), o) {
2141
+ for (const [a, c] of l(this, Re))
2142
+ a === n ? i.unskip_effect(c) : i.skip_effect(c);
2143
+ for (const [a, c] of l(this, re))
2144
+ a === n ? i.unskip_effect(c.effect) : i.skip_effect(c.effect);
2145
+ i.oncommit(l(this, tt)), i.ondiscard(l(this, At));
2081
2146
  } else
2082
- S && (this.anchor = E), c(this, lt).call(this);
2147
+ E && (this.anchor = $), l(this, tt).call(this);
2083
2148
  }
2084
2149
  }
2085
- ge = new WeakMap(), ze = new WeakMap(), se = new WeakMap(), gn = new WeakMap(), rt = new WeakMap(), lt = new WeakMap(), Tt = new WeakMap();
2086
- function yr(e) {
2087
- ae === null && Ss(), li(() => {
2150
+ be = new WeakMap(), Re = new WeakMap(), re = new WeakMap(), hn = new WeakMap(), nt = new WeakMap(), tt = new WeakMap(), At = new WeakMap();
2151
+ function zr(e) {
2152
+ ae === null && Ns(), ii(() => {
2088
2153
  const n = wi(e);
2089
2154
  if (typeof n == "function") return (
2090
2155
  /** @type {() => void} */
@@ -2092,34 +2157,35 @@ function yr(e) {
2092
2157
  );
2093
2158
  });
2094
2159
  }
2095
- function qn(e, n, t = !1) {
2096
- S && Dt();
2097
- var i = new mr(e), o = t ? Bn : 0;
2098
- function s(r, l) {
2099
- if (S) {
2100
- const u = to(e) === Nt;
2101
- if (r === u) {
2102
- var a = At();
2103
- J(a), i.anchor = a, Ue(!1), i.ensure(r, l), Ue(!0);
2160
+ function Ut(e, n, t = !1) {
2161
+ E && Nt();
2162
+ var i = new Rr(e), o = t ? jn : 0;
2163
+ function s(r, a) {
2164
+ if (E) {
2165
+ const d = po(e);
2166
+ var c;
2167
+ if (d === ci ? c = 0 : d === Ct ? c = !1 : c = parseInt(d.substring(1)), r !== c) {
2168
+ var u = St();
2169
+ q(u), i.anchor = u, Ue(!1), i.ensure(r, a), Ue(!0);
2104
2170
  return;
2105
2171
  }
2106
2172
  }
2107
- i.ensure(r, l);
2173
+ i.ensure(r, a);
2108
2174
  }
2109
- bi(() => {
2175
+ yi(() => {
2110
2176
  var r = !1;
2111
- n((l, a = !0) => {
2112
- r = !0, s(a, l);
2177
+ n((a, c = 0) => {
2178
+ r = !0, s(c, a);
2113
2179
  }), r || s(!1, null);
2114
2180
  }, o);
2115
2181
  }
2116
- function Bi(e, n) {
2182
+ function Hi(e, n) {
2117
2183
  return n;
2118
2184
  }
2119
- function hr(e, n, t) {
2120
- for (var i = [], o = n.length, s, r = n.length, l = 0; l < o; l++) {
2121
- let m = n[l];
2122
- bn(
2185
+ function Nr(e, n, t) {
2186
+ for (var i = [], o = n.length, s, r = n.length, a = 0; a < o; a++) {
2187
+ let m = n[a];
2188
+ gn(
2123
2189
  m,
2124
2190
  () => {
2125
2191
  if (s) {
@@ -2128,7 +2194,7 @@ function hr(e, n, t) {
2128
2194
  /** @type {Set<EachOutroGroup>} */
2129
2195
  e.outrogroups
2130
2196
  );
2131
- ui(jt(s.done)), p.delete(s), p.size === 0 && (e.outrogroups = null);
2197
+ li(Tt(s.done)), p.delete(s), p.size === 0 && (e.outrogroups = null);
2132
2198
  }
2133
2199
  } else
2134
2200
  r -= 1;
@@ -2137,8 +2203,8 @@ function hr(e, n, t) {
2137
2203
  );
2138
2204
  }
2139
2205
  if (r === 0) {
2140
- var a = i.length === 0 && t !== null;
2141
- if (a) {
2206
+ var c = i.length === 0 && t !== null;
2207
+ if (c) {
2142
2208
  var u = (
2143
2209
  /** @type {Element} */
2144
2210
  t
@@ -2146,147 +2212,147 @@ function hr(e, n, t) {
2146
2212
  /** @type {Element} */
2147
2213
  u.parentNode
2148
2214
  );
2149
- zo(d), d.append(u), e.items.clear();
2215
+ Do(d), d.append(u), e.items.clear();
2150
2216
  }
2151
- ui(n, !a);
2217
+ li(n, !c);
2152
2218
  } else
2153
2219
  s = {
2154
2220
  pending: new Set(n),
2155
2221
  done: /* @__PURE__ */ new Set()
2156
2222
  }, (e.outrogroups ?? (e.outrogroups = /* @__PURE__ */ new Set())).add(s);
2157
2223
  }
2158
- function ui(e, n = !0) {
2224
+ function li(e, n = !0) {
2159
2225
  for (var t = 0; t < e.length; t++)
2160
- q(e[t], n);
2226
+ Y(e[t], n);
2161
2227
  }
2162
- var Hi;
2163
- function yt(e, n, t, i, o, s = null) {
2164
- var r = e, l = /* @__PURE__ */ new Map(), a = (n & qi) !== 0;
2165
- if (a) {
2228
+ var Fi;
2229
+ function _t(e, n, t, i, o, s = null) {
2230
+ var r = e, a = /* @__PURE__ */ new Map(), c = (n & io) !== 0;
2231
+ if (c) {
2166
2232
  var u = (
2167
2233
  /** @type {Element} */
2168
2234
  e
2169
2235
  );
2170
- r = S ? J(/* @__PURE__ */ Un(u)) : u.appendChild(ee());
2171
- }
2172
- S && Dt();
2173
- var d = null, m = /* @__PURE__ */ qs(() => {
2174
- var g = t();
2175
- return Vi(g) ? g : g == null ? [] : jt(g);
2176
- }), p, y = !0;
2177
- function h() {
2178
- f.fallback = d, gr(f, p, r, n, i), d !== null && (p.length === 0 ? (d.f & Ge) === 0 ? vi(d) : (d.f ^= Ge, Zn(d, null, r)) : bn(d, () => {
2236
+ r = E ? q(/* @__PURE__ */ In(u)) : u.appendChild(te());
2237
+ }
2238
+ E && Nt();
2239
+ var d = null, m = /* @__PURE__ */ or(() => {
2240
+ var y = t();
2241
+ return so(y) ? y : y == null ? [] : Tt(y);
2242
+ }), p, h = !0;
2243
+ function g() {
2244
+ f.fallback = d, Lr(f, p, r, n, i), d !== null && (p.length === 0 ? (d.f & Fe) === 0 ? vi(d) : (d.f ^= Fe, Wn(d, null, r)) : gn(d, () => {
2179
2245
  d = null;
2180
2246
  }));
2181
2247
  }
2182
- var C = bi(() => {
2248
+ var k = yi(() => {
2183
2249
  p = /** @type {V[]} */
2184
2250
  _(m);
2185
- var g = p.length;
2186
- let K = !1;
2187
- if (S) {
2188
- var Ve = to(r) === Nt;
2189
- Ve !== (g === 0) && (r = At(), J(r), Ue(!1), K = !0);
2251
+ var y = p.length;
2252
+ let V = !1;
2253
+ if (E) {
2254
+ var Je = po(r) === Ct;
2255
+ Je !== (y === 0) && (r = St(), q(r), Ue(!1), V = !0);
2190
2256
  }
2191
- for (var ne = /* @__PURE__ */ new Set(), je = (
2257
+ for (var Q = /* @__PURE__ */ new Set(), Me = (
2192
2258
  /** @type {Batch} */
2193
2259
  N
2194
- ), Le = Ro(), W = 0; W < g; W += 1) {
2195
- S && E.nodeType === Xn && /** @type {Comment} */
2196
- E.data === di && (r = /** @type {Comment} */
2197
- E, K = !0, Ue(!1));
2198
- var xe = p[W], Qe = i(xe, W), I = y ? null : l.get(Qe);
2199
- I ? (I.v && Gn(I.v, xe), I.i && Gn(I.i, W), Le && je.skipped_effects.delete(I.e)) : (I = br(
2200
- l,
2201
- y ? r : Hi ?? (Hi = ee()),
2202
- xe,
2203
- Qe,
2204
- W,
2260
+ ), Oe = Io(), J = 0; J < y; J += 1) {
2261
+ E && $.nodeType === Gn && /** @type {Comment} */
2262
+ $.data === ui && (r = /** @type {Comment} */
2263
+ $, V = !0, Ue(!1));
2264
+ var Ee = p[J], qe = i(Ee, J), P = h ? null : a.get(qe);
2265
+ P ? (P.v && Dn(P.v, Ee), P.i && Dn(P.i, J), Oe && Me.unskip_effect(P.e)) : (P = jr(
2266
+ a,
2267
+ h ? r : Fi ?? (Fi = te()),
2268
+ Ee,
2269
+ qe,
2270
+ J,
2205
2271
  o,
2206
2272
  n,
2207
2273
  t
2208
- ), y || (I.e.f |= Ge), l.set(Qe, I)), ne.add(Qe);
2274
+ ), h || (P.e.f |= Fe), a.set(qe, P)), Q.add(qe);
2209
2275
  }
2210
- if (g === 0 && s && !d && (y ? d = pe(() => s(r)) : (d = pe(() => s(Hi ?? (Hi = ee()))), d.f |= Ge)), S && g > 0 && J(At()), !y)
2211
- if (Le) {
2212
- for (const [ut, Ht] of l)
2213
- ne.has(ut) || je.skipped_effects.add(Ht.e);
2214
- je.oncommit(h), je.ondiscard(() => {
2276
+ if (y === 0 && s && !d && (h ? d = pe(() => s(r)) : (d = pe(() => s(Fi ?? (Fi = te()))), d.f |= Fe)), y > Q.size && js(), E && y > 0 && q(St()), !h)
2277
+ if (Oe) {
2278
+ for (const [st, Ot] of a)
2279
+ Q.has(st) || Me.skip_effect(Ot.e);
2280
+ Me.oncommit(g), Me.ondiscard(() => {
2215
2281
  });
2216
2282
  } else
2217
- h();
2218
- K && Ue(!0), _(m);
2219
- }), f = { effect: C, items: l, outrogroups: null, fallback: d };
2220
- y = !1, S && (r = E);
2283
+ g();
2284
+ V && Ue(!0), _(m);
2285
+ }), f = { effect: k, items: a, outrogroups: null, fallback: d };
2286
+ h = !1, E && (r = $);
2221
2287
  }
2222
- function Yn(e) {
2223
- for (; e !== null && (e.f & we) === 0; )
2288
+ function Xn(e) {
2289
+ for (; e !== null && (e.f & Se) === 0; )
2224
2290
  e = e.next;
2225
2291
  return e;
2226
2292
  }
2227
- function gr(e, n, t, i, o) {
2228
- var s = (i & ps) !== 0, r = n.length, l = e.items, a = Yn(e.effect.first), u, d = null, m, p = [], y = [], h, C, f, g;
2293
+ function Lr(e, n, t, i, o) {
2294
+ var s = (i & bs) !== 0, r = n.length, a = e.items, c = Xn(e.effect.first), u, d = null, m, p = [], h = [], g, k, f, y;
2229
2295
  if (s)
2230
- for (g = 0; g < r; g += 1)
2231
- h = n[g], C = o(h, g), f = /** @type {EachItem} */
2232
- l.get(C).e, (f.f & Ge) === 0 && (f.nodes?.a?.measure(), (m ?? (m = /* @__PURE__ */ new Set())).add(f));
2233
- for (g = 0; g < r; g += 1) {
2234
- if (h = n[g], C = o(h, g), f = /** @type {EachItem} */
2235
- l.get(C).e, e.outrogroups !== null)
2236
- for (const I of e.outrogroups)
2237
- I.pending.delete(f), I.done.delete(f);
2238
- if ((f.f & Ge) !== 0)
2239
- if (f.f ^= Ge, f === a)
2240
- Zn(f, null, t);
2296
+ for (y = 0; y < r; y += 1)
2297
+ g = n[y], k = o(g, y), f = /** @type {EachItem} */
2298
+ a.get(k).e, (f.f & Fe) === 0 && (f.nodes?.a?.measure(), (m ?? (m = /* @__PURE__ */ new Set())).add(f));
2299
+ for (y = 0; y < r; y += 1) {
2300
+ if (g = n[y], k = o(g, y), f = /** @type {EachItem} */
2301
+ a.get(k).e, e.outrogroups !== null)
2302
+ for (const P of e.outrogroups)
2303
+ P.pending.delete(f), P.done.delete(f);
2304
+ if ((f.f & Fe) !== 0)
2305
+ if (f.f ^= Fe, f === c)
2306
+ Wn(f, null, t);
2241
2307
  else {
2242
- var K = d ? d.next : a;
2243
- f === e.effect.last && (e.effect.last = f.prev), f.prev && (f.prev.next = f.next), f.next && (f.next.prev = f.prev), en(e, d, f), en(e, f, K), Zn(f, K, t), d = f, p = [], y = [], a = Yn(d.next);
2308
+ var V = d ? d.next : c;
2309
+ f === e.effect.last && (e.effect.last = f.prev), f.prev && (f.prev.next = f.next), f.next && (f.next.prev = f.prev), Qe(e, d, f), Qe(e, f, V), Wn(f, V, t), d = f, p = [], h = [], c = Xn(d.next);
2244
2310
  continue;
2245
2311
  }
2246
- if ((f.f & le) !== 0 && (vi(f), s && (f.nodes?.a?.unfix(), (m ?? (m = /* @__PURE__ */ new Set())).delete(f))), f !== a) {
2312
+ if ((f.f & le) !== 0 && (vi(f), s && (f.nodes?.a?.unfix(), (m ?? (m = /* @__PURE__ */ new Set())).delete(f))), f !== c) {
2247
2313
  if (u !== void 0 && u.has(f)) {
2248
- if (p.length < y.length) {
2249
- var Ve = y[0], ne;
2250
- d = Ve.prev;
2251
- var je = p[0], Le = p[p.length - 1];
2252
- for (ne = 0; ne < p.length; ne += 1)
2253
- Zn(p[ne], Ve, t);
2254
- for (ne = 0; ne < y.length; ne += 1)
2255
- u.delete(y[ne]);
2256
- en(e, je.prev, Le.next), en(e, d, je), en(e, Le, Ve), a = Ve, d = Le, g -= 1, p = [], y = [];
2314
+ if (p.length < h.length) {
2315
+ var Je = h[0], Q;
2316
+ d = Je.prev;
2317
+ var Me = p[0], Oe = p[p.length - 1];
2318
+ for (Q = 0; Q < p.length; Q += 1)
2319
+ Wn(p[Q], Je, t);
2320
+ for (Q = 0; Q < h.length; Q += 1)
2321
+ u.delete(h[Q]);
2322
+ Qe(e, Me.prev, Oe.next), Qe(e, d, Me), Qe(e, Oe, Je), c = Je, d = Oe, y -= 1, p = [], h = [];
2257
2323
  } else
2258
- u.delete(f), Zn(f, a, t), en(e, f.prev, f.next), en(e, f, d === null ? e.effect.first : d.next), en(e, d, f), d = f;
2324
+ u.delete(f), Wn(f, c, t), Qe(e, f.prev, f.next), Qe(e, f, d === null ? e.effect.first : d.next), Qe(e, d, f), d = f;
2259
2325
  continue;
2260
2326
  }
2261
- for (p = [], y = []; a !== null && a !== f; )
2262
- (u ?? (u = /* @__PURE__ */ new Set())).add(a), y.push(a), a = Yn(a.next);
2263
- if (a === null)
2327
+ for (p = [], h = []; c !== null && c !== f; )
2328
+ (u ?? (u = /* @__PURE__ */ new Set())).add(c), h.push(c), c = Xn(c.next);
2329
+ if (c === null)
2264
2330
  continue;
2265
2331
  }
2266
- (f.f & Ge) === 0 && p.push(f), d = f, a = Yn(f.next);
2332
+ (f.f & Fe) === 0 && p.push(f), d = f, c = Xn(f.next);
2267
2333
  }
2268
2334
  if (e.outrogroups !== null) {
2269
- for (const I of e.outrogroups)
2270
- I.pending.size === 0 && (ui(jt(I.done)), e.outrogroups?.delete(I));
2335
+ for (const P of e.outrogroups)
2336
+ P.pending.size === 0 && (li(Tt(P.done)), e.outrogroups?.delete(P));
2271
2337
  e.outrogroups.size === 0 && (e.outrogroups = null);
2272
2338
  }
2273
- if (a !== null || u !== void 0) {
2274
- var W = [];
2339
+ if (c !== null || u !== void 0) {
2340
+ var J = [];
2275
2341
  if (u !== void 0)
2276
2342
  for (f of u)
2277
- (f.f & le) === 0 && W.push(f);
2278
- for (; a !== null; )
2279
- (a.f & le) === 0 && a !== e.fallback && W.push(a), a = Yn(a.next);
2280
- var xe = W.length;
2281
- if (xe > 0) {
2282
- var Qe = (i & qi) !== 0 && r === 0 ? t : null;
2343
+ (f.f & le) === 0 && J.push(f);
2344
+ for (; c !== null; )
2345
+ (c.f & le) === 0 && c !== e.fallback && J.push(c), c = Xn(c.next);
2346
+ var Ee = J.length;
2347
+ if (Ee > 0) {
2348
+ var qe = (i & io) !== 0 && r === 0 ? t : null;
2283
2349
  if (s) {
2284
- for (g = 0; g < xe; g += 1)
2285
- W[g].nodes?.a?.measure();
2286
- for (g = 0; g < xe; g += 1)
2287
- W[g].nodes?.a?.fix();
2350
+ for (y = 0; y < Ee; y += 1)
2351
+ J[y].nodes?.a?.measure();
2352
+ for (y = 0; y < Ee; y += 1)
2353
+ J[y].nodes?.a?.fix();
2288
2354
  }
2289
- hr(e, W, Qe);
2355
+ Nr(e, J, qe);
2290
2356
  }
2291
2357
  }
2292
2358
  s && Ke(() => {
@@ -2295,36 +2361,36 @@ function gr(e, n, t, i, o) {
2295
2361
  f.nodes?.a?.apply();
2296
2362
  });
2297
2363
  }
2298
- function br(e, n, t, i, o, s, r, l) {
2299
- var a = (r & us) !== 0 ? (r & fs) === 0 ? /* @__PURE__ */ ko(t, !1, !1) : xn(t) : null, u = (r & ds) !== 0 ? xn(o) : null;
2364
+ function jr(e, n, t, i, o, s, r, a) {
2365
+ var c = (r & gs) !== 0 ? (r & vs) === 0 ? /* @__PURE__ */ No(t, !1, !1) : vn(t) : null, u = (r & ys) !== 0 ? vn(o) : null;
2300
2366
  return {
2301
- v: a,
2367
+ v: c,
2302
2368
  i: u,
2303
- e: pe(() => (s(n, a ?? t, u ?? o, l), () => {
2369
+ e: pe(() => (s(n, c ?? t, u ?? o, a), () => {
2304
2370
  e.delete(i);
2305
2371
  }))
2306
2372
  };
2307
2373
  }
2308
- function Zn(e, n, t) {
2374
+ function Wn(e, n, t) {
2309
2375
  if (e.nodes)
2310
- for (var i = e.nodes.start, o = e.nodes.end, s = n && (n.f & Ge) === 0 ? (
2376
+ for (var i = e.nodes.start, o = e.nodes.end, s = n && (n.f & Fe) === 0 ? (
2311
2377
  /** @type {EffectNodes} */
2312
2378
  n.nodes.start
2313
2379
  ) : t; i !== null; ) {
2314
2380
  var r = (
2315
2381
  /** @type {TemplateNode} */
2316
- /* @__PURE__ */ Te(i)
2382
+ /* @__PURE__ */ Le(i)
2317
2383
  );
2318
2384
  if (s.before(i), i === o)
2319
2385
  return;
2320
2386
  i = r;
2321
2387
  }
2322
2388
  }
2323
- function en(e, n, t) {
2389
+ function Qe(e, n, t) {
2324
2390
  n === null ? e.effect.first = t : n.next = t, t === null ? e.effect.last = n : t.prev = n;
2325
2391
  }
2326
- function vr(e, n) {
2327
- No(() => {
2392
+ function Mr(e, n) {
2393
+ Go(() => {
2328
2394
  var t = e.getRootNode(), i = (
2329
2395
  /** @type {ShadowRoot} */
2330
2396
  t.host ? (
@@ -2337,14 +2403,14 @@ function vr(e, n) {
2337
2403
  )
2338
2404
  );
2339
2405
  if (!i.querySelector("#" + n.hash)) {
2340
- const o = document.createElement("style");
2406
+ const o = _i("style");
2341
2407
  o.id = n.hash, o.textContent = n.code, i.appendChild(o);
2342
2408
  }
2343
2409
  });
2344
2410
  }
2345
- const Fi = [...`
2411
+ const Ui = [...`
2346
2412
  \r\f \v\uFEFF`];
2347
- function wr(e, n, t) {
2413
+ function Or(e, n, t) {
2348
2414
  var i = e == null ? "" : "" + e;
2349
2415
  if (n && (i = i ? i + " " + n : n), t) {
2350
2416
  for (var o in t)
@@ -2352,116 +2418,116 @@ function wr(e, n, t) {
2352
2418
  i = i ? i + " " + o : o;
2353
2419
  else if (i.length)
2354
2420
  for (var s = o.length, r = 0; (r = i.indexOf(o, r)) >= 0; ) {
2355
- var l = r + s;
2356
- (r === 0 || Fi.includes(i[r - 1])) && (l === i.length || Fi.includes(i[l])) ? i = (r === 0 ? "" : i.substring(0, r)) + i.substring(l + 1) : r = l;
2421
+ var a = r + s;
2422
+ (r === 0 || Ui.includes(i[r - 1])) && (a === i.length || Ui.includes(i[a])) ? i = (r === 0 ? "" : i.substring(0, r)) + i.substring(a + 1) : r = a;
2357
2423
  }
2358
2424
  }
2359
2425
  return i === "" ? null : i;
2360
2426
  }
2361
- function xr(e, n) {
2427
+ function Dr(e, n) {
2362
2428
  return e == null ? null : String(e);
2363
2429
  }
2364
- function ht(e, n, t, i, o, s) {
2430
+ function mt(e, n, t, i, o, s) {
2365
2431
  var r = e.__className;
2366
- if (S || r !== t || r === void 0) {
2367
- var l = wr(t, i, s);
2368
- (!S || l !== e.getAttribute("class")) && (l == null ? e.removeAttribute("class") : e.className = l), e.__className = t;
2432
+ if (E || r !== t || r === void 0) {
2433
+ var a = Or(t, i, s);
2434
+ (!E || a !== e.getAttribute("class")) && (a == null ? e.removeAttribute("class") : e.className = a), e.__className = t;
2369
2435
  } else if (s && o !== s)
2370
- for (var a in s) {
2371
- var u = !!s[a];
2372
- (o == null || u !== !!o[a]) && e.classList.toggle(a, u);
2436
+ for (var c in s) {
2437
+ var u = !!s[c];
2438
+ (o == null || u !== !!o[c]) && e.classList.toggle(c, u);
2373
2439
  }
2374
2440
  return s;
2375
2441
  }
2376
- function qt(e, n, t, i) {
2442
+ function Xt(e, n, t, i) {
2377
2443
  var o = e.__style;
2378
- if (S || o !== n) {
2379
- var s = xr(n);
2380
- (!S || s !== e.getAttribute("style")) && (s == null ? e.removeAttribute("style") : e.style.cssText = s), e.__style = n;
2444
+ if (E || o !== n) {
2445
+ var s = Dr(n);
2446
+ (!E || s !== e.getAttribute("style")) && (s == null ? e.removeAttribute("style") : e.style.cssText = s), e.__style = n;
2381
2447
  }
2382
2448
  return i;
2383
2449
  }
2384
- const kr = /* @__PURE__ */ Symbol("is custom element"), Sr = /* @__PURE__ */ Symbol("is html");
2385
- function Vn(e, n, t, i) {
2386
- var o = Er(e);
2387
- S && (o[n] = e.getAttribute(n), n === "src" || n === "srcset" || n === "href" && e.nodeName === "LINK") || o[n] !== (o[n] = t) && (n === "loading" && (e[ks] = t), t == null ? e.removeAttribute(n) : typeof t != "string" && $r(e).includes(n) ? e[n] = t : e.setAttribute(n, t));
2450
+ const Ir = /* @__PURE__ */ Symbol("is custom element"), Pr = /* @__PURE__ */ Symbol("is html"), Br = zs ? "link" : "LINK";
2451
+ function Kn(e, n, t, i) {
2452
+ var o = Gr(e);
2453
+ E && (o[n] = e.getAttribute(n), n === "src" || n === "srcset" || n === "href" && e.nodeName === Br) || o[n] !== (o[n] = t) && (n === "loading" && (e[Rs] = t), t == null ? e.removeAttribute(n) : typeof t != "string" && Hr(e).includes(n) ? e[n] = t : e.setAttribute(n, t));
2388
2454
  }
2389
- function Er(e) {
2455
+ function Gr(e) {
2390
2456
  return (
2391
2457
  /** @type {Record<string | symbol, unknown>} **/
2392
2458
  // @ts-expect-error
2393
2459
  e.__attributes ?? (e.__attributes = {
2394
- [kr]: e.nodeName.includes("-"),
2395
- [Sr]: e.namespaceURI === ms
2460
+ [Ir]: e.nodeName.includes("-"),
2461
+ [Pr]: e.namespaceURI === oo
2396
2462
  })
2397
2463
  );
2398
2464
  }
2399
- var Gi = /* @__PURE__ */ new Map();
2400
- function $r(e) {
2401
- var n = e.getAttribute("is") || e.nodeName, t = Gi.get(n);
2465
+ var Xi = /* @__PURE__ */ new Map();
2466
+ function Hr(e) {
2467
+ var n = e.getAttribute("is") || e.nodeName, t = Xi.get(n);
2402
2468
  if (t) return t;
2403
- Gi.set(n, t = []);
2469
+ Xi.set(n, t = []);
2404
2470
  for (var i, o = e, s = Element.prototype; s !== o; ) {
2405
- i = hs(o);
2471
+ i = ks(o);
2406
2472
  for (var r in i)
2407
2473
  i[r].set && t.push(r);
2408
- o = Qi(o);
2474
+ o = ro(o);
2409
2475
  }
2410
2476
  return t;
2411
2477
  }
2412
- function Ui(e, n) {
2413
- return e === n || e?.[gt] === n;
2478
+ function Ki(e, n) {
2479
+ return e === n || e?.[ht] === n;
2414
2480
  }
2415
- function Ar(e = {}, n, t, i) {
2416
- return No(() => {
2481
+ function Fr(e = {}, n, t, i) {
2482
+ return Go(() => {
2417
2483
  var o, s;
2418
2484
  return gi(() => {
2419
2485
  o = s, s = [], wi(() => {
2420
- e !== t(...s) && (n(e, ...s), o && Ui(t(...o), e) && n(null, ...o));
2486
+ e !== t(...s) && (n(e, ...s), o && Ki(t(...o), e) && n(null, ...o));
2421
2487
  });
2422
2488
  }), () => {
2423
2489
  Ke(() => {
2424
- s && Ui(t(...s), e) && n(null, ...s);
2490
+ s && Ki(t(...s), e) && n(null, ...s);
2425
2491
  });
2426
2492
  };
2427
2493
  }), e;
2428
2494
  }
2429
- function Yt(e, n, t, i) {
2495
+ function Kt(e, n, t, i) {
2430
2496
  var o = (
2431
2497
  /** @type {V} */
2432
2498
  i
2433
2499
  ), s = !0, r = () => (s && (s = !1, o = /** @type {V} */
2434
- i), o), l;
2435
- l = /** @type {V} */
2436
- e[n], l === void 0 && i !== void 0 && (l = r());
2437
- var a;
2438
- a = () => {
2500
+ i), o), a;
2501
+ a = /** @type {V} */
2502
+ e[n], a === void 0 && i !== void 0 && (a = r());
2503
+ var c;
2504
+ c = () => {
2439
2505
  var p = (
2440
2506
  /** @type {V} */
2441
2507
  e[n]
2442
2508
  );
2443
2509
  return p === void 0 ? r() : (s = !0, p);
2444
2510
  };
2445
- var u = !1, d = /* @__PURE__ */ It(() => (u = !1, a())), m = (
2511
+ var u = !1, d = /* @__PURE__ */ jt(() => (u = !1, c())), m = (
2446
2512
  /** @type {Effect} */
2447
- $
2513
+ A
2448
2514
  );
2449
2515
  return (
2450
2516
  /** @type {() => V} */
2451
- (function(p, y) {
2517
+ (function(p, h) {
2452
2518
  if (arguments.length > 0) {
2453
- const h = y ? _(d) : p;
2454
- return D(d, h), u = !0, o !== void 0 && (o = h), p;
2519
+ const g = h ? _(d) : p;
2520
+ return I(d, g), u = !0, o !== void 0 && (o = g), p;
2455
2521
  }
2456
- return rn && u || (m.f & Xe) !== 0 ? d.v : _(d);
2522
+ return on && u || (m.f & Xe) !== 0 ? d.v : _(d);
2457
2523
  })
2458
2524
  );
2459
2525
  }
2460
- function zr(e) {
2461
- return new Rr(e);
2526
+ function Ur(e) {
2527
+ return new Xr(e);
2462
2528
  }
2463
- var Fe, de;
2464
- class Rr {
2529
+ var He, de;
2530
+ class Xr {
2465
2531
  /**
2466
2532
  * @param {ComponentConstructorOptions & {
2467
2533
  * component: any;
@@ -2469,12 +2535,12 @@ class Rr {
2469
2535
  */
2470
2536
  constructor(n) {
2471
2537
  /** @type {any} */
2472
- v(this, Fe);
2538
+ v(this, He);
2473
2539
  /** @type {Record<string, any>} */
2474
2540
  v(this, de);
2475
2541
  var t = /* @__PURE__ */ new Map(), i = (s, r) => {
2476
- var l = /* @__PURE__ */ ko(r, !1, !1);
2477
- return t.set(s, l), l;
2542
+ var a = /* @__PURE__ */ No(r, !1, !1);
2543
+ return t.set(s, a), a;
2478
2544
  };
2479
2545
  const o = new Proxy(
2480
2546
  { ...n.props || {}, $$events: {} },
@@ -2483,42 +2549,42 @@ class Rr {
2483
2549
  return _(t.get(r) ?? i(r, Reflect.get(s, r)));
2484
2550
  },
2485
2551
  has(s, r) {
2486
- return r === xs ? !0 : (_(t.get(r) ?? i(r, Reflect.get(s, r))), Reflect.has(s, r));
2552
+ return r === Ts ? !0 : (_(t.get(r) ?? i(r, Reflect.get(s, r))), Reflect.has(s, r));
2487
2553
  },
2488
- set(s, r, l) {
2489
- return D(t.get(r) ?? i(r, l), l), Reflect.set(s, r, l);
2554
+ set(s, r, a) {
2555
+ return I(t.get(r) ?? i(r, a), a), Reflect.set(s, r, a);
2490
2556
  }
2491
2557
  }
2492
2558
  );
2493
- b(this, de, (n.hydrate ? fr : Wo)(n.component, {
2559
+ b(this, de, (n.hydrate ? Cr : ns)(n.component, {
2494
2560
  target: n.target,
2495
2561
  anchor: n.anchor,
2496
2562
  props: o,
2497
2563
  context: n.context,
2498
2564
  intro: n.intro ?? !1,
2499
2565
  recover: n.recover
2500
- })), (!n?.props?.$$host || n.sync === !1) && bt(), b(this, Fe, o.$$events);
2501
- for (const s of Object.keys(c(this, de)))
2502
- s === "$set" || s === "$destroy" || s === "$on" || Et(this, s, {
2566
+ })), (!n?.props?.$$host || n.sync === !1) && gt(), b(this, He, o.$$events);
2567
+ for (const s of Object.keys(l(this, de)))
2568
+ s === "$set" || s === "$destroy" || s === "$on" || kt(this, s, {
2503
2569
  get() {
2504
- return c(this, de)[s];
2570
+ return l(this, de)[s];
2505
2571
  },
2506
2572
  /** @param {any} value */
2507
2573
  set(r) {
2508
- c(this, de)[s] = r;
2574
+ l(this, de)[s] = r;
2509
2575
  },
2510
2576
  enumerable: !0
2511
2577
  });
2512
- c(this, de).$set = /** @param {Record<string, any>} next */
2578
+ l(this, de).$set = /** @param {Record<string, any>} next */
2513
2579
  (s) => {
2514
2580
  Object.assign(o, s);
2515
- }, c(this, de).$destroy = () => {
2516
- _r(c(this, de));
2581
+ }, l(this, de).$destroy = () => {
2582
+ Tr(l(this, de));
2517
2583
  };
2518
2584
  }
2519
2585
  /** @param {Record<string, any>} props */
2520
2586
  $set(n) {
2521
- c(this, de).$set(n);
2587
+ l(this, de).$set(n);
2522
2588
  }
2523
2589
  /**
2524
2590
  * @param {string} event
@@ -2526,22 +2592,22 @@ class Rr {
2526
2592
  * @returns {any}
2527
2593
  */
2528
2594
  $on(n, t) {
2529
- c(this, Fe)[n] = c(this, Fe)[n] || [];
2595
+ l(this, He)[n] = l(this, He)[n] || [];
2530
2596
  const i = (...o) => t.call(this, ...o);
2531
- return c(this, Fe)[n].push(i), () => {
2532
- c(this, Fe)[n] = c(this, Fe)[n].filter(
2597
+ return l(this, He)[n].push(i), () => {
2598
+ l(this, He)[n] = l(this, He)[n].filter(
2533
2599
  /** @param {any} fn */
2534
2600
  (o) => o !== i
2535
2601
  );
2536
2602
  };
2537
2603
  }
2538
2604
  $destroy() {
2539
- c(this, de).$destroy();
2605
+ l(this, de).$destroy();
2540
2606
  }
2541
2607
  }
2542
- Fe = new WeakMap(), de = new WeakMap();
2543
- let qo;
2544
- typeof HTMLElement == "function" && (qo = class extends HTMLElement {
2608
+ He = new WeakMap(), de = new WeakMap();
2609
+ let is;
2610
+ typeof HTMLElement == "function" && (is = class extends HTMLElement {
2545
2611
  /**
2546
2612
  * @param {*} $$componentCtor
2547
2613
  * @param {*} $$slots
@@ -2550,27 +2616,27 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
2550
2616
  constructor(n, t, i) {
2551
2617
  super();
2552
2618
  /** The Svelte component constructor */
2553
- j(this, "$$ctor");
2619
+ L(this, "$$ctor");
2554
2620
  /** Slots */
2555
- j(this, "$$s");
2621
+ L(this, "$$s");
2556
2622
  /** @type {any} The Svelte component instance */
2557
- j(this, "$$c");
2623
+ L(this, "$$c");
2558
2624
  /** Whether or not the custom element is connected */
2559
- j(this, "$$cn", !1);
2625
+ L(this, "$$cn", !1);
2560
2626
  /** @type {Record<string, any>} Component props data */
2561
- j(this, "$$d", {});
2627
+ L(this, "$$d", {});
2562
2628
  /** `true` if currently in the process of reflecting component props back to attributes */
2563
- j(this, "$$r", !1);
2629
+ L(this, "$$r", !1);
2564
2630
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
2565
- j(this, "$$p_d", {});
2631
+ L(this, "$$p_d", {});
2566
2632
  /** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
2567
- j(this, "$$l", {});
2633
+ L(this, "$$l", {});
2568
2634
  /** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
2569
- j(this, "$$l_u", /* @__PURE__ */ new Map());
2635
+ L(this, "$$l_u", /* @__PURE__ */ new Map());
2570
2636
  /** @type {any} The managed render effect for reflecting attributes */
2571
- j(this, "$$me");
2637
+ L(this, "$$me");
2572
2638
  /** @type {ShadowRoot | null} The ShadowRoot of the custom element */
2573
- j(this, "$$shadowRoot", null);
2639
+ L(this, "$$shadowRoot", null);
2574
2640
  this.$$ctor = n, this.$$s = t, i && (this.$$shadowRoot = this.attachShadow(i));
2575
2641
  }
2576
2642
  /**
@@ -2600,22 +2666,22 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
2600
2666
  if (this.$$cn = !0, !this.$$c) {
2601
2667
  let n = function(o) {
2602
2668
  return (s) => {
2603
- const r = document.createElement("slot");
2604
- o !== "default" && (r.name = o), te(s, r);
2669
+ const r = _i("slot");
2670
+ o !== "default" && (r.name = o), ye(s, r);
2605
2671
  };
2606
2672
  };
2607
2673
  if (await Promise.resolve(), !this.$$cn || this.$$c)
2608
2674
  return;
2609
- const t = {}, i = Cr(this);
2675
+ const t = {}, i = Kr(this);
2610
2676
  for (const o of this.$$s)
2611
2677
  o in i && (o === "default" && !this.$$d.children ? (this.$$d.children = n(o), t.default = !0) : t[o] = n(o));
2612
2678
  for (const o of this.attributes) {
2613
2679
  const s = this.$$g_p(o.name);
2614
- s in this.$$d || (this.$$d[s] = kt(s, o.value, this.$$p_d, "toProp"));
2680
+ s in this.$$d || (this.$$d[s] = wt(s, o.value, this.$$p_d, "toProp"));
2615
2681
  }
2616
2682
  for (const o in this.$$p_d)
2617
2683
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
2618
- this.$$c = zr({
2684
+ this.$$c = Ur({
2619
2685
  component: this.$$ctor,
2620
2686
  target: this.$$shadowRoot || this,
2621
2687
  props: {
@@ -2623,13 +2689,13 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
2623
2689
  $$slots: t,
2624
2690
  $$host: this
2625
2691
  }
2626
- }), this.$$me = er(() => {
2692
+ }), this.$$me = pr(() => {
2627
2693
  gi(() => {
2628
2694
  this.$$r = !0;
2629
- for (const o of St(this.$$c)) {
2695
+ for (const o of xt(this.$$c)) {
2630
2696
  if (!this.$$p_d[o]?.reflect) continue;
2631
2697
  this.$$d[o] = this.$$c[o];
2632
- const s = kt(
2698
+ const s = wt(
2633
2699
  o,
2634
2700
  this.$$d[o],
2635
2701
  this.$$p_d,
@@ -2656,7 +2722,7 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
2656
2722
  * @param {string} newValue
2657
2723
  */
2658
2724
  attributeChangedCallback(n, t, i) {
2659
- this.$$r || (n = this.$$g_p(n), this.$$d[n] = kt(n, i, this.$$p_d, "toProp"), this.$$c?.$set({ [n]: this.$$d[n] }));
2725
+ this.$$r || (n = this.$$g_p(n), this.$$d[n] = wt(n, i, this.$$p_d, "toProp"), this.$$c?.$set({ [n]: this.$$d[n] }));
2660
2726
  }
2661
2727
  disconnectedCallback() {
2662
2728
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -2667,12 +2733,12 @@ typeof HTMLElement == "function" && (qo = class extends HTMLElement {
2667
2733
  * @param {string} attribute_name
2668
2734
  */
2669
2735
  $$g_p(n) {
2670
- return St(this.$$p_d).find(
2736
+ return xt(this.$$p_d).find(
2671
2737
  (t) => this.$$p_d[t].attribute === n || !this.$$p_d[t].attribute && t.toLowerCase() === n
2672
2738
  ) || n;
2673
2739
  }
2674
2740
  });
2675
- function kt(e, n, t, i) {
2741
+ function wt(e, n, t, i) {
2676
2742
  const o = t[e]?.type;
2677
2743
  if (n = o === "Boolean" && typeof n != "boolean" ? n != null : n, !i || !t[e])
2678
2744
  return n;
@@ -2702,7 +2768,7 @@ function kt(e, n, t, i) {
2702
2768
  return n;
2703
2769
  }
2704
2770
  }
2705
- function Cr(e) {
2771
+ function Kr(e) {
2706
2772
  const n = {};
2707
2773
  return e.childNodes.forEach((t) => {
2708
2774
  n[
@@ -2711,95 +2777,278 @@ function Cr(e) {
2711
2777
  ] = !0;
2712
2778
  }), n;
2713
2779
  }
2714
- function Tr(e, n, t, i, o, s) {
2715
- let r = class extends qo {
2780
+ function Wr(e, n, t, i, o, s) {
2781
+ let r = class extends is {
2716
2782
  constructor() {
2717
2783
  super(e, t, o), this.$$p_d = n;
2718
2784
  }
2719
2785
  static get observedAttributes() {
2720
- return St(n).map(
2721
- (l) => (n[l].attribute || l).toLowerCase()
2786
+ return xt(n).map(
2787
+ (a) => (n[a].attribute || a).toLowerCase()
2722
2788
  );
2723
2789
  }
2724
2790
  };
2725
- return St(n).forEach((l) => {
2726
- Et(r.prototype, l, {
2791
+ return xt(n).forEach((a) => {
2792
+ kt(r.prototype, a, {
2727
2793
  get() {
2728
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
2794
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
2729
2795
  },
2730
- set(a) {
2731
- a = kt(l, a, n), this.$$d[l] = a;
2796
+ set(c) {
2797
+ c = wt(a, c, n), this.$$d[a] = c;
2732
2798
  var u = this.$$c;
2733
2799
  if (u) {
2734
- var d = Cn(u, l)?.get;
2735
- d ? u[l] = a : u.$set({ [l]: a });
2800
+ var d = Sn(u, a)?.get;
2801
+ d ? u[a] = c : u.$set({ [a]: c });
2736
2802
  }
2737
2803
  }
2738
2804
  });
2739
- }), i.forEach((l) => {
2740
- Et(r.prototype, l, {
2805
+ }), i.forEach((a) => {
2806
+ kt(r.prototype, a, {
2741
2807
  get() {
2742
- return this.$$c?.[l];
2808
+ return this.$$c?.[a];
2743
2809
  }
2744
2810
  });
2745
2811
  }), e.element = /** @type {any} */
2746
2812
  r, r;
2747
2813
  }
2748
- var Xi;
2814
+ var Wi;
2749
2815
  (function(e) {
2750
2816
  e.TTS_WORD = "tts-word", e.TTS_SENTENCE = "tts-sentence", e.ANNOTATION = "annotation";
2751
- })(Xi || (Xi = {}));
2752
- var Ki;
2817
+ })(Wi || (Wi = {}));
2818
+ var Vi;
2753
2819
  (function(e) {
2754
- e.YELLOW = "yellow", e.GREEN = "green", e.BLUE = "blue", e.PINK = "pink", e.ORANGE = "orange";
2755
- })(Ki || (Ki = {}));
2756
- const Nr = {
2757
- // Standard QTI 3.0 PNP supports
2758
- textToSpeech: "pie-tool-text-to-speech",
2759
- calculator: "pie-tool-calculator",
2760
- ruler: "pie-tool-ruler",
2761
- protractor: "pie-tool-protractor",
2762
- highlighter: "pie-tool-annotation-toolbar",
2763
- lineReader: "pie-tool-line-reader",
2764
- magnifier: "pie-tool-magnifier",
2765
- colorContrast: "pie-theme-contrast",
2766
- answerMasking: "pie-tool-answer-eliminator",
2767
- dictionaryLookup: "pie-tool-dictionary",
2768
- // Common extensions (not in QTI standard but widely used)
2769
- graphingCalculator: "pie-tool-calculator",
2770
- scientificCalculator: "pie-tool-calculator",
2771
- basicCalculator: "pie-tool-calculator"
2820
+ e.YELLOW = "yellow", e.GREEN = "green", e.BLUE = "blue", e.PINK = "pink", e.ORANGE = "orange", e.UNDERLINE = "underline";
2821
+ })(Vi || (Vi = {}));
2822
+ const Vr = {
2823
+ /**
2824
+ * Visual accessibility features
2825
+ * For students with low vision, color blindness, or visual processing needs
2826
+ */
2827
+ visual: {
2828
+ // Magnification and zoom
2829
+ magnification: "magnification",
2830
+ screenMagnifier: "screenMagnifier",
2831
+ zoomable: "zoomable",
2832
+ // Color and contrast
2833
+ highContrastDisplay: "highContrastDisplay",
2834
+ highContrastAudio: "highContrastAudio",
2835
+ colorContrast: "colorContrast",
2836
+ invertColors: "invertColors",
2837
+ // Display customization
2838
+ displayTransformability: "displayTransformability",
2839
+ largePrint: "largePrint",
2840
+ fontEnlargement: "fontEnlargement",
2841
+ resizeText: "resizeText",
2842
+ // Visual alternatives
2843
+ alternativeText: "alternativeText",
2844
+ longDescription: "longDescription",
2845
+ describedMath: "describedMath",
2846
+ tactileGraphic: "tactileGraphic",
2847
+ tactileObject: "tactileObject"
2848
+ },
2849
+ /**
2850
+ * Auditory accessibility features
2851
+ * For students who are deaf, hard of hearing, or benefit from audio
2852
+ */
2853
+ auditory: {
2854
+ // Audio output
2855
+ audioDescription: "audioDescription",
2856
+ textToSpeech: "textToSpeech",
2857
+ readAloud: "readAloud",
2858
+ humanVoice: "humanVoice",
2859
+ syntheticVoice: "syntheticVoice",
2860
+ // Speech control
2861
+ speechRate: "speechRate",
2862
+ speechVolume: "speechVolume",
2863
+ voicePitch: "voicePitch",
2864
+ // Visual alternatives for audio
2865
+ captions: "captions",
2866
+ closedCaptions: "closedCaptions",
2867
+ openCaptions: "openCaptions",
2868
+ transcript: "transcript",
2869
+ signLanguage: "signLanguage",
2870
+ subtitles: "subtitles",
2871
+ // Audio adjustments
2872
+ audioControl: "audioControl",
2873
+ noBackgroundAudio: "noBackgroundAudio"
2874
+ },
2875
+ /**
2876
+ * Motor/physical accessibility features
2877
+ * For students with limited mobility or motor control
2878
+ */
2879
+ motor: {
2880
+ // Input alternatives
2881
+ keyboardControl: "keyboardControl",
2882
+ mouseControl: "mouseControl",
2883
+ touchControl: "touchControl",
2884
+ voiceControl: "voiceControl",
2885
+ switchControl: "switchControl",
2886
+ eyeGazeControl: "eyeGazeControl",
2887
+ // Keyboard features
2888
+ singleSwitchAccess: "singleSwitchAccess",
2889
+ stickyKeys: "stickyKeys",
2890
+ keyboardShortcuts: "keyboardShortcuts",
2891
+ // Timing
2892
+ timingControl: "timingControl",
2893
+ unlimitedTime: "unlimitedTime",
2894
+ extendedTime: "extendedTime",
2895
+ pauseControl: "pauseControl"
2896
+ },
2897
+ /**
2898
+ * Cognitive/learning accessibility features
2899
+ * For students with learning disabilities, ADHD, autism, etc.
2900
+ */
2901
+ cognitive: {
2902
+ // Content simplification
2903
+ simplifiedLanguage: "simplifiedLanguage",
2904
+ reducedComplexity: "reducedComplexity",
2905
+ structuralNavigation: "structuralNavigation",
2906
+ tableOfContents: "tableOfContents",
2907
+ // Focus and attention
2908
+ reducedDistraction: "reducedDistraction",
2909
+ noFlashing: "noFlashing",
2910
+ pauseAnimation: "pauseAnimation",
2911
+ // Organization and support
2912
+ annotations: "annotations",
2913
+ bookmarking: "bookmarking",
2914
+ highlighting: "highlighting",
2915
+ guidedNavigation: "guidedNavigation",
2916
+ // Tools
2917
+ calculator: "calculator",
2918
+ dictionary: "dictionary",
2919
+ thesaurus: "thesaurus",
2920
+ spellingAssistance: "spellingAssistance",
2921
+ grammarAssistance: "grammarAssistance"
2922
+ },
2923
+ /**
2924
+ * Reading support features
2925
+ * For students with dyslexia or reading challenges
2926
+ */
2927
+ reading: {
2928
+ // Text presentation
2929
+ lineSpacing: "lineSpacing",
2930
+ wordSpacing: "wordSpacing",
2931
+ letterSpacing: "letterSpacing",
2932
+ fontFamily: "fontFamily",
2933
+ readingMask: "readingMask",
2934
+ readingGuide: "readingGuide",
2935
+ readingRuler: "readingRuler",
2936
+ // Highlighting and emphasis
2937
+ wordHighlighting: "wordHighlighting",
2938
+ lineHighlighting: "lineHighlighting",
2939
+ focusIndicator: "focusIndicator",
2940
+ // Content support
2941
+ printableResource: "printableResource",
2942
+ braille: "braille",
2943
+ nemeth: "nemeth",
2944
+ refreshableBraille: "refreshableBraille"
2945
+ },
2946
+ /**
2947
+ * Navigation features
2948
+ * For efficient content navigation
2949
+ */
2950
+ navigation: {
2951
+ // Structure
2952
+ index: "index",
2953
+ pageNavigation: "pageNavigation",
2954
+ skipContent: "skipContent",
2955
+ breadcrumbs: "breadcrumbs",
2956
+ // Search
2957
+ searchable: "searchable",
2958
+ fullTextSearch: "fullTextSearch"
2959
+ },
2960
+ /**
2961
+ * Linguistic features
2962
+ * For language support
2963
+ */
2964
+ linguistic: {
2965
+ // Languages
2966
+ multilingualText: "multilingualText",
2967
+ translatedText: "translatedText",
2968
+ glossary: "glossary",
2969
+ // Sign language
2970
+ signLanguageInterpretation: "signLanguageInterpretation",
2971
+ visualLanguage: "visualLanguage"
2972
+ },
2973
+ /**
2974
+ * Assessment-specific features
2975
+ * Features specific to test-taking environments
2976
+ */
2977
+ assessment: {
2978
+ // Tools
2979
+ protractor: "protractor",
2980
+ ruler: "ruler",
2981
+ graph: "graph",
2982
+ graphingCalculator: "graphingCalculator",
2983
+ periodicTable: "periodicTable",
2984
+ formulaSheet: "formulaSheet",
2985
+ // Answer support
2986
+ answerMasking: "answerMasking",
2987
+ answerEliminator: "answerEliminator",
2988
+ strikethrough: "strikethrough",
2989
+ // Item features
2990
+ itemGlossary: "itemGlossary",
2991
+ tutorialAvailable: "tutorialAvailable"
2992
+ }
2772
2993
  };
2773
- Object.fromEntries(Object.entries(Nr).map(([e, n]) => [n, e]));
2774
- var Rt;
2994
+ Object.values(Vr).flatMap((e) => Object.values(e));
2995
+ var Et;
2775
2996
  (function(e) {
2776
2997
  e[e.BASE = 0] = "BASE", e[e.TOOL = 1e3] = "TOOL", e[e.MODAL = 2e3] = "MODAL", e[e.CONTROL = 3e3] = "CONTROL", e[e.HIGHLIGHT = 4e3] = "HIGHLIGHT";
2777
- })(Rt || (Rt = {}));
2778
- var Wi;
2998
+ })(Et || (Et = {}));
2999
+ var Ji;
2779
3000
  (function(e) {
2780
3001
  e.IDLE = "idle", e.LOADING = "loading", e.PLAYING = "playing", e.PAUSED = "paused", e.ERROR = "error";
2781
- })(Wi || (Wi = {}));
2782
- const jr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, Yo = "https://proxy.pie-api.com", Lr = `${Yo}/bundles/`;
2783
- function Vo(e) {
3002
+ })(Ji || (Ji = {}));
3003
+ const Jr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, os = "https://proxy.pie-api.com", qr = `${os}/bundles/`;
3004
+ function ss(e) {
2784
3005
  try {
2785
- const n = jr?.[e];
2786
- if (typeof n == "string" && n.length > 0) return n;
3006
+ const n = Jr?.[e];
3007
+ if (typeof n == "string" && n.length > 0)
3008
+ return n;
2787
3009
  } catch {
2788
3010
  }
2789
3011
  }
2790
- typeof window < "u" && window.PIE_BUILDER_ORIGIN_URL || Vo("PUBLIC_BUILDER_ORIGIN_URL");
2791
- typeof window < "u" && window.PIE_BUILDER_BUNDLE_URL || Vo("PUBLIC_BUILDER_BUNDLE_URL");
2792
- var Qo = /* @__PURE__ */ ((e) => (e.player = "player.js", e.clientPlayer = "client-player.js", e.editor = "editor.js", e))(Qo || {});
3012
+ typeof window < "u" && window.PIE_BUILDER_ORIGIN_URL || ss("PUBLIC_BUILDER_ORIGIN_URL");
3013
+ typeof window < "u" && window.PIE_BUILDER_BUNDLE_URL || ss("PUBLIC_BUILDER_BUNDLE_URL");
3014
+ var ai;
3015
+ (function(e) {
3016
+ e.player = "player.js", e.clientPlayer = "client-player.js", e.editor = "editor.js";
3017
+ })(ai || (ai = {}));
3018
+ var qi;
3019
+ (function(e) {
3020
+ e.loading = "loading", e.loaded = "loaded";
3021
+ })(qi || (qi = {}));
2793
3022
  typeof window < "u" && !window.pieHelpers && (window.pieHelpers = {
2794
3023
  loadingScripts: {},
2795
3024
  loadingPromises: {}
2796
3025
  });
2797
- Qo.player;
2798
- const Mr = /* @__PURE__ */ JSON.parse('[{"name":"Hydrogen","atomic_mass":1.008,"boil":20.271,"category":"diatomic nonmetal","density":0.08988,"discovered_by":"Henry Cavendish","melt":13.99,"molar_heat":28.836,"named_by":"Antoine Lavoisier","number":1,"period":1,"group":1,"phase":"Gas","symbol":"H","xpos":1,"ypos":1,"wxpos":1,"wypos":1,"shells":[1],"electron_configuration":"1s1","electron_configuration_semantic":"1s1","electron_affinity":72.769,"electronegativity_pauling":2.2,"ionization_energies":[1312],"block":"s"},{"name":"Helium","atomic_mass":4.0026022,"boil":4.222,"category":"noble gas","density":0.1786,"discovered_by":"Pierre Janssen","melt":0.95,"molar_heat":null,"named_by":null,"number":2,"period":1,"group":18,"phase":"Gas","symbol":"He","xpos":18,"ypos":1,"wxpos":32,"wypos":1,"shells":[2],"electron_configuration":"1s2","electron_configuration_semantic":"1s2","electron_affinity":-48,"electronegativity_pauling":null,"ionization_energies":[2372.3,5250.5],"block":"s"},{"name":"Lithium","atomic_mass":6.94,"boil":1603,"category":"alkali metal","density":0.534,"discovered_by":"Johan August Arfwedson","melt":453.65,"molar_heat":24.86,"named_by":null,"number":3,"period":2,"group":1,"phase":"Solid","symbol":"Li","xpos":1,"ypos":2,"wxpos":1,"wypos":2,"shells":[2,1],"electron_configuration":"1s2 2s1","electron_configuration_semantic":"[He] 2s1","electron_affinity":59.6326,"electronegativity_pauling":0.98,"ionization_energies":[520.2,7298.1,11815],"block":"s"},{"name":"Beryllium","atomic_mass":9.01218315,"boil":2742,"category":"alkaline earth metal","density":1.85,"discovered_by":"Louis Nicolas Vauquelin","melt":1560,"molar_heat":16.443,"named_by":null,"number":4,"period":2,"group":2,"phase":"Solid","symbol":"Be","xpos":2,"ypos":2,"wxpos":2,"wypos":2,"shells":[2,2],"electron_configuration":"1s2 2s2","electron_configuration_semantic":"[He] 2s2","electron_affinity":-48,"electronegativity_pauling":1.57,"ionization_energies":[899.5,1757.1,14848.7,21006.6],"block":"s"},{"name":"Boron","atomic_mass":10.81,"boil":4200,"category":"metalloid","density":2.08,"discovered_by":"Joseph Louis Gay-Lussac","melt":2349,"molar_heat":11.087,"named_by":null,"number":5,"period":2,"group":13,"phase":"Solid","symbol":"B","xpos":13,"ypos":2,"wxpos":27,"wypos":2,"shells":[2,3],"electron_configuration":"1s2 2s2 2p1","electron_configuration_semantic":"[He] 2s2 2p1","electron_affinity":26.989,"electronegativity_pauling":2.04,"ionization_energies":[800.6,2427.1,3659.7,25025.8,32826.7],"block":"p"},{"name":"Carbon","atomic_mass":12.011,"boil":null,"category":"polyatomic nonmetal","density":1.821,"discovered_by":"Ancient Egypt","melt":null,"molar_heat":8.517,"named_by":null,"number":6,"period":2,"group":14,"phase":"Solid","symbol":"C","xpos":14,"ypos":2,"wxpos":28,"wypos":2,"shells":[2,4],"electron_configuration":"1s2 2s2 2p2","electron_configuration_semantic":"[He] 2s2 2p2","electron_affinity":121.7763,"electronegativity_pauling":2.55,"ionization_energies":[1086.5,2352.6,4620.5,6222.7,37831,47277],"block":"p"},{"name":"Nitrogen","atomic_mass":14.007,"boil":77.355,"category":"diatomic nonmetal","density":1.251,"discovered_by":"Daniel Rutherford","melt":63.15,"molar_heat":null,"named_by":"Jean-Antoine Chaptal","number":7,"period":2,"group":15,"phase":"Gas","symbol":"N","xpos":15,"ypos":2,"wxpos":29,"wypos":2,"shells":[2,5],"electron_configuration":"1s2 2s2 2p3","electron_configuration_semantic":"[He] 2s2 2p3","electron_affinity":-6.8,"electronegativity_pauling":3.04,"ionization_energies":[1402.3,2856,4578.1,7475,9444.9,53266.6,64360],"block":"p"},{"name":"Oxygen","atomic_mass":15.999,"boil":90.188,"category":"diatomic nonmetal","density":1.429,"discovered_by":"Carl Wilhelm Scheele","melt":54.36,"molar_heat":null,"named_by":"Antoine Lavoisier","number":8,"period":2,"group":16,"phase":"Gas","symbol":"O","xpos":16,"ypos":2,"wxpos":30,"wypos":2,"shells":[2,6],"electron_configuration":"1s2 2s2 2p4","electron_configuration_semantic":"[He] 2s2 2p4","electron_affinity":140.976,"electronegativity_pauling":3.44,"ionization_energies":[1313.9,3388.3,5300.5,7469.2,10989.5,13326.5,71330,84078],"block":"p"},{"name":"Fluorine","atomic_mass":18.9984031636,"boil":85.03,"category":"diatomic nonmetal","density":1.696,"discovered_by":"André-Marie Ampère","melt":53.48,"molar_heat":null,"named_by":"Humphry Davy","number":9,"period":2,"group":17,"phase":"Gas","symbol":"F","xpos":17,"ypos":2,"wxpos":31,"wypos":2,"shells":[2,7],"electron_configuration":"1s2 2s2 2p5","electron_configuration_semantic":"[He] 2s2 2p5","electron_affinity":328.1649,"electronegativity_pauling":3.98,"ionization_energies":[1681,3374.2,6050.4,8407.7,11022.7,15164.1,17868,92038.1,106434.3],"block":"p"},{"name":"Neon","atomic_mass":20.17976,"boil":27.104,"category":"noble gas","density":0.9002,"discovered_by":"Morris Travers","melt":24.56,"molar_heat":null,"named_by":null,"number":10,"period":2,"group":18,"phase":"Gas","symbol":"Ne","xpos":18,"ypos":2,"wxpos":32,"wypos":2,"shells":[2,8],"electron_configuration":"1s2 2s2 2p6","electron_configuration_semantic":"[He] 2s2 2p6","electron_affinity":-116,"electronegativity_pauling":null,"ionization_energies":[2080.7,3952.3,6122,9371,12177,15238,19999,23069.5,115379.5,131432],"block":"p"},{"name":"Sodium","atomic_mass":22.989769282,"boil":1156.09,"category":"alkali metal","density":0.968,"discovered_by":"Humphry Davy","melt":370.944,"molar_heat":28.23,"named_by":null,"number":11,"period":3,"group":1,"phase":"Solid","symbol":"Na","xpos":1,"ypos":3,"wxpos":1,"wypos":3,"shells":[2,8,1],"electron_configuration":"1s2 2s2 2p6 3s1","electron_configuration_semantic":"[Ne] 3s1","electron_affinity":52.867,"electronegativity_pauling":0.93,"ionization_energies":[495.8,4562,6910.3,9543,13354,16613,20117,25496,28932,141362,159076],"block":"s"},{"name":"Magnesium","atomic_mass":24.305,"boil":1363,"category":"alkaline earth metal","density":1.738,"discovered_by":"Joseph Black","melt":923,"molar_heat":24.869,"named_by":null,"number":12,"period":3,"group":2,"phase":"Solid","symbol":"Mg","xpos":2,"ypos":3,"wxpos":2,"wypos":3,"shells":[2,8,2],"electron_configuration":"1s2 2s2 2p6 3s2","electron_configuration_semantic":"[Ne] 3s2","electron_affinity":-40,"electronegativity_pauling":1.31,"ionization_energies":[737.7,1450.7,7732.7,10542.5,13630,18020,21711,25661,31653,35458,169988,189368],"block":"s"},{"name":"Aluminium","atomic_mass":26.98153857,"boil":2743,"category":"post-transition metal","density":2.7,"discovered_by":null,"melt":933.47,"molar_heat":24.2,"named_by":"Humphry Davy","number":13,"period":3,"group":13,"phase":"Solid","symbol":"Al","xpos":13,"ypos":3,"wxpos":27,"wypos":3,"shells":[2,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p1","electron_configuration_semantic":"[Ne] 3s2 3p1","electron_affinity":41.762,"electronegativity_pauling":1.61,"ionization_energies":[577.5,1816.7,2744.8,11577,14842,18379,23326,27465,31853,38473,42647,201266,222316],"block":"p"},{"name":"Silicon","atomic_mass":28.085,"boil":3538,"category":"metalloid","density":2.329,"discovered_by":"Jöns Jacob Berzelius","melt":1687,"molar_heat":19.789,"named_by":"Thomas Thomson (chemist)","number":14,"period":3,"group":14,"phase":"Solid","symbol":"Si","xpos":14,"ypos":3,"wxpos":28,"wypos":3,"shells":[2,8,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p2","electron_configuration_semantic":"[Ne] 3s2 3p2","electron_affinity":134.0684,"electronegativity_pauling":1.9,"ionization_energies":[786.5,1577.1,3231.6,4355.5,16091,19805,23780,29287,33878,38726,45962,50502,235196,257923],"block":"p"},{"name":"Phosphorus","atomic_mass":30.9737619985,"boil":null,"category":"polyatomic nonmetal","density":1.823,"discovered_by":"Hennig Brand","melt":null,"molar_heat":23.824,"named_by":null,"number":15,"period":3,"group":15,"phase":"Solid","symbol":"P","xpos":15,"ypos":3,"wxpos":29,"wypos":3,"shells":[2,8,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p3","electron_configuration_semantic":"[Ne] 3s2 3p3","electron_affinity":72.037,"electronegativity_pauling":2.19,"ionization_energies":[1011.8,1907,2914.1,4963.6,6273.9,21267,25431,29872,35905,40950,46261,54110,59024,271791,296195],"block":"p"},{"name":"Sulfur","atomic_mass":32.06,"boil":717.8,"category":"polyatomic nonmetal","density":2.07,"discovered_by":"Ancient china","melt":388.36,"molar_heat":22.75,"named_by":null,"number":16,"period":3,"group":16,"phase":"Solid","symbol":"S","xpos":16,"ypos":3,"wxpos":30,"wypos":3,"shells":[2,8,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p4","electron_configuration_semantic":"[Ne] 3s2 3p4","electron_affinity":200.4101,"electronegativity_pauling":2.58,"ionization_energies":[999.6,2252,3357,4556,7004.3,8495.8,27107,31719,36621,43177,48710,54460,62930,68216,311048,337138],"block":"p"},{"name":"Chlorine","atomic_mass":35.45,"boil":239.11,"category":"diatomic nonmetal","density":3.2,"discovered_by":"Carl Wilhelm Scheele","melt":171.6,"molar_heat":null,"named_by":null,"number":17,"period":3,"group":17,"phase":"Gas","symbol":"Cl","xpos":17,"ypos":3,"wxpos":31,"wypos":3,"shells":[2,8,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p5","electron_configuration_semantic":"[Ne] 3s2 3p5","electron_affinity":348.575,"electronegativity_pauling":3.16,"ionization_energies":[1251.2,2298,3822,5158.6,6542,9362,11018,33604,38600,43961,51068,57119,63363,72341,78095,352994,380760],"block":"p"},{"name":"Argon","atomic_mass":39.9481,"boil":87.302,"category":"noble gas","density":1.784,"discovered_by":"Lord Rayleigh","melt":83.81,"molar_heat":null,"named_by":null,"number":18,"period":3,"group":18,"phase":"Gas","symbol":"Ar","xpos":18,"ypos":3,"wxpos":32,"wypos":3,"shells":[2,8,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6","electron_configuration_semantic":"[Ne] 3s2 3p6","electron_affinity":-96,"electronegativity_pauling":null,"ionization_energies":[1520.6,2665.8,3931,5771,7238,8781,11995,13842,40760,46186,52002,59653,66199,72918,82473,88576,397605,427066],"block":"p"},{"name":"Potassium","atomic_mass":39.09831,"boil":1032,"category":"alkali metal","density":0.862,"discovered_by":"Humphry Davy","melt":336.7,"molar_heat":29.6,"named_by":null,"number":19,"period":4,"group":1,"phase":"Solid","symbol":"K","xpos":1,"ypos":4,"wxpos":1,"wypos":4,"shells":[2,8,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1","electron_configuration_semantic":"[Ar] 4s1","electron_affinity":48.383,"electronegativity_pauling":0.82,"ionization_energies":[418.8,3052,4420,5877,7975,9590,11343,14944,16963.7,48610,54490,60730,68950,75900,83080,93400,99710,444880,476063],"block":"s"},{"name":"Calcium","atomic_mass":40.0784,"boil":1757,"category":"alkaline earth metal","density":1.55,"discovered_by":"Humphry Davy","melt":1115,"molar_heat":25.929,"named_by":null,"number":20,"period":4,"group":2,"phase":"Solid","symbol":"Ca","xpos":2,"ypos":4,"wxpos":2,"wypos":4,"shells":[2,8,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2","electron_configuration_semantic":"[Ar] 4s2","electron_affinity":2.37,"electronegativity_pauling":1,"ionization_energies":[589.8,1145.4,4912.4,6491,8153,10496,12270,14206,18191,20385,57110,63410,70110,78890,86310,94000,104900,111711,494850,527762],"block":"s"},{"name":"Scandium","atomic_mass":44.9559085,"boil":3109,"category":"transition metal","density":2.985,"discovered_by":"Lars Fredrik Nilson","melt":1814,"molar_heat":25.52,"named_by":null,"number":21,"period":4,"group":3,"phase":"Solid","symbol":"Sc","xpos":3,"ypos":4,"wxpos":17,"wypos":4,"shells":[2,8,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d1","electron_configuration_semantic":"[Ar] 3d1 4s2","electron_affinity":18,"electronegativity_pauling":1.36,"ionization_energies":[633.1,1235,2388.6,7090.6,8843,10679,13310,15250,17370,21726,24102,66320,73010,80160,89490,97400,105600,117000,124270,547530,582163],"block":"d"},{"name":"Titanium","atomic_mass":47.8671,"boil":3560,"category":"transition metal","density":4.506,"discovered_by":"William Gregor","melt":1941,"molar_heat":25.06,"named_by":"Martin Heinrich Klaproth","number":22,"period":4,"group":4,"phase":"Solid","symbol":"Ti","xpos":4,"ypos":4,"wxpos":18,"wypos":4,"shells":[2,8,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d2","electron_configuration_semantic":"[Ar] 3d2 4s2","electron_affinity":7.289,"electronegativity_pauling":1.54,"ionization_energies":[658.8,1309.8,2652.5,4174.6,9581,11533,13590,16440,18530,20833,25575,28125,76015,83280,90880,100700,109100,117800,129900,137530,602930,639294],"block":"d"},{"name":"Vanadium","atomic_mass":50.94151,"boil":3680,"category":"transition metal","density":6,"discovered_by":"Andrés Manuel del Río","melt":2183,"molar_heat":24.89,"named_by":"Isotopes of vanadium","number":23,"period":4,"group":5,"phase":"Solid","symbol":"V","xpos":5,"ypos":4,"wxpos":19,"wypos":4,"shells":[2,8,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d3","electron_configuration_semantic":"[Ar] 3d3 4s2","electron_affinity":50.911,"electronegativity_pauling":1.63,"ionization_energies":[650.9,1414,2830,4507,6298.7,12363,14530,16730,19860,22240,24670,29730,32446,86450,94170,102300,112700,121600,130700,143400,151440,661050,699144],"block":"d"},{"name":"Chromium","atomic_mass":51.99616,"boil":2944,"category":"transition metal","density":7.19,"discovered_by":"Louis Nicolas Vauquelin","melt":2180,"molar_heat":23.35,"named_by":null,"number":24,"period":4,"group":6,"phase":"Solid","symbol":"Cr","xpos":6,"ypos":4,"wxpos":20,"wypos":4,"shells":[2,8,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d5","electron_configuration_semantic":"[Ar] 3d5 4s1","electron_affinity":65.21,"electronegativity_pauling":1.66,"ionization_energies":[652.9,1590.6,2987,4743,6702,8744.9,15455,17820,20190,23580,26130,28750,34230,37066,97510,105800,114300,125300,134700,144300,157700,166090,721870,761733],"block":"d"},{"name":"Manganese","atomic_mass":54.9380443,"boil":2334,"category":"transition metal","density":7.21,"discovered_by":"Torbern Olof Bergman","melt":1519,"molar_heat":26.32,"named_by":null,"number":25,"period":4,"group":7,"phase":"Solid","symbol":"Mn","xpos":7,"ypos":4,"wxpos":21,"wypos":4,"shells":[2,8,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d5","electron_configuration_semantic":"[Ar] 3d5 4s2","electron_affinity":-50,"electronegativity_pauling":1.55,"ionization_energies":[717.3,1509,3248,4940,6990,9220,11500,18770,21400,23960,27590,30330,33150,38880,41987,109480,118100,127100,138600,148500,158600,172500,181380,785450,827067],"block":"d"},{"name":"Iron","atomic_mass":55.8452,"boil":3134,"category":"transition metal","density":7.874,"discovered_by":"5000 BC","melt":1811,"molar_heat":25.1,"named_by":null,"number":26,"period":4,"group":8,"phase":"Solid","symbol":"Fe","xpos":8,"ypos":4,"wxpos":22,"wypos":4,"shells":[2,8,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d6","electron_configuration_semantic":"[Ar] 3d6 4s2","electron_affinity":14.785,"electronegativity_pauling":1.83,"ionization_energies":[762.5,1561.9,2957,5290,7240,9560,12060,14580,22540,25290,28000,31920,34830,37840,44100,47206,122200,131000,140500,152600,163000,173600,188100,195200,851800,895161],"block":"d"},{"name":"Cobalt","atomic_mass":58.9331944,"boil":3200,"category":"transition metal","density":8.9,"discovered_by":"Georg Brandt","melt":1768,"molar_heat":24.81,"named_by":null,"number":27,"period":4,"group":9,"phase":"Solid","symbol":"Co","xpos":9,"ypos":4,"wxpos":23,"wypos":4,"shells":[2,8,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d7","electron_configuration_semantic":"[Ar] 3d7 4s2","electron_affinity":63.898,"electronegativity_pauling":1.88,"ionization_energies":[760.4,1648,3232,4950,7670,9840,12440,15230,17959,26570,29400,32400,36600,39700,42800,49396,52737,134810,145170,154700,167400,178100,189300,204500,214100,920870,966023],"block":"d"},{"name":"Nickel","atomic_mass":58.69344,"boil":3003,"category":"transition metal","density":8.908,"discovered_by":"Axel Fredrik Cronstedt","melt":1728,"molar_heat":26.07,"named_by":null,"number":28,"period":4,"group":10,"phase":"Solid","symbol":"Ni","xpos":10,"ypos":4,"wxpos":24,"wypos":4,"shells":[2,8,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d8","electron_configuration_semantic":"[Ar] 3d8 4s2","electron_affinity":111.65,"electronegativity_pauling":1.91,"ionization_energies":[737.1,1753,3395,5300,7339,10400,12800,15600,18600,21670,30970,34000,37100,41500,44800,48100,55101,58570,148700,159000,169400,182700,194000,205600,221400,231490,992718,1039668],"block":"d"},{"name":"Copper","atomic_mass":63.5463,"boil":2835,"category":"transition metal","density":8.96,"discovered_by":"Middle East","melt":1357.77,"molar_heat":24.44,"named_by":null,"number":29,"period":4,"group":11,"phase":"Solid","symbol":"Cu","xpos":11,"ypos":4,"wxpos":25,"wypos":4,"shells":[2,8,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d10","electron_configuration_semantic":"[Ar] 3d10 4s1","electron_affinity":119.235,"electronegativity_pauling":1.9,"ionization_energies":[745.5,1957.9,3555,5536,7700,9900,13400,16000,19200,22400,25600,35600,38700,42000,46700,50200,53700,61100,64702,163700,174100,184900,198800,210500,222700,239100,249660,1067358,1116105],"block":"d"},{"name":"Zinc","atomic_mass":65.382,"boil":1180,"category":"transition metal","density":7.14,"discovered_by":"India","melt":692.68,"molar_heat":25.47,"named_by":null,"number":30,"period":4,"group":12,"phase":"Solid","symbol":"Zn","xpos":12,"ypos":4,"wxpos":26,"wypos":4,"shells":[2,8,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10","electron_configuration_semantic":"[Ar] 3d10 4s2","electron_affinity":-58,"electronegativity_pauling":1.65,"ionization_energies":[906.4,1733.3,3833,5731,7970,10400,12900,16800,19600,23000,26400,29990,40490,43800,47300,52300,55900,59700,67300,71200,179100],"block":"d"},{"name":"Gallium","atomic_mass":69.7231,"boil":2673,"category":"post-transition metal","density":5.91,"discovered_by":"Lecoq de Boisbaudran","melt":302.9146,"molar_heat":25.86,"named_by":null,"number":31,"period":4,"group":13,"phase":"Solid","symbol":"Ga","xpos":13,"ypos":4,"wxpos":27,"wypos":4,"shells":[2,8,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p1","electron_configuration_semantic":"[Ar] 3d10 4s2 4p1","electron_affinity":41,"electronegativity_pauling":1.81,"ionization_energies":[578.8,1979.3,2963,6180],"block":"p"},{"name":"Germanium","atomic_mass":72.6308,"boil":3106,"category":"metalloid","density":5.323,"discovered_by":"Clemens Winkler","melt":1211.4,"molar_heat":23.222,"named_by":null,"number":32,"period":4,"group":14,"phase":"Solid","symbol":"Ge","xpos":14,"ypos":4,"wxpos":28,"wypos":4,"shells":[2,8,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p2","electron_configuration_semantic":"[Ar] 3d10 4s2 4p2","electron_affinity":118.9352,"electronegativity_pauling":2.01,"ionization_energies":[762,1537.5,3302.1,4411,9020],"block":"p"},{"name":"Arsenic","atomic_mass":74.9215956,"boil":null,"category":"metalloid","density":5.727,"discovered_by":"Bronze Age","melt":null,"molar_heat":24.64,"named_by":null,"number":33,"period":4,"group":15,"phase":"Solid","symbol":"As","xpos":15,"ypos":4,"wxpos":29,"wypos":4,"shells":[2,8,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p3","electron_configuration_semantic":"[Ar] 3d10 4s2 4p3","electron_affinity":77.65,"electronegativity_pauling":2.18,"ionization_energies":[947,1798,2735,4837,6043,12310],"block":"p"},{"name":"Selenium","atomic_mass":78.9718,"boil":958,"category":"polyatomic nonmetal","density":4.81,"discovered_by":"Jöns Jakob Berzelius","melt":494,"molar_heat":25.363,"named_by":null,"number":34,"period":4,"group":16,"phase":"Solid","symbol":"Se","xpos":16,"ypos":4,"wxpos":30,"wypos":4,"shells":[2,8,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p4","electron_configuration_semantic":"[Ar] 3d10 4s2 4p4","electron_affinity":194.9587,"electronegativity_pauling":2.55,"ionization_energies":[941,2045,2973.7,4144,6590,7880,14990],"block":"p"},{"name":"Bromine","atomic_mass":79.904,"boil":332,"category":"diatomic nonmetal","density":3.1028,"discovered_by":"Antoine Jérôme Balard","melt":265.8,"molar_heat":null,"named_by":null,"number":35,"period":4,"group":17,"phase":"Liquid","symbol":"Br","xpos":17,"ypos":4,"wxpos":31,"wypos":4,"shells":[2,8,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p5","electron_configuration_semantic":"[Ar] 3d10 4s2 4p5","electron_affinity":324.537,"electronegativity_pauling":2.96,"ionization_energies":[1139.9,2103,3470,4560,5760,8550,9940,18600],"block":"p"},{"name":"Krypton","atomic_mass":83.7982,"boil":119.93,"category":"noble gas","density":3.749,"discovered_by":"William Ramsay","melt":115.78,"molar_heat":null,"named_by":null,"number":36,"period":4,"group":18,"phase":"Gas","symbol":"Kr","xpos":18,"ypos":4,"wxpos":32,"wypos":4,"shells":[2,8,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6","electron_configuration_semantic":"[Ar] 3d10 4s2 4p6","electron_affinity":-96,"electronegativity_pauling":3,"ionization_energies":[1350.8,2350.4,3565,5070,6240,7570,10710,12138,22274,25880,29700,33800,37700,43100,47500,52200,57100,61800,75800,80400,85300,90400,96300,101400,111100,116290,282500,296200,311400,326200],"block":"p"},{"name":"Rubidium","atomic_mass":85.46783,"boil":961,"category":"alkali metal","density":1.532,"discovered_by":"Robert Bunsen","melt":312.45,"molar_heat":31.06,"named_by":null,"number":37,"period":5,"group":1,"phase":"Solid","symbol":"Rb","xpos":1,"ypos":5,"wxpos":1,"wypos":5,"shells":[2,8,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1","electron_configuration_semantic":"[Kr] 5s1","electron_affinity":46.884,"electronegativity_pauling":0.82,"ionization_energies":[403,2633,3860,5080,6850,8140,9570,13120,14500,26740],"block":"s"},{"name":"Strontium","atomic_mass":87.621,"boil":1650,"category":"alkaline earth metal","density":2.64,"discovered_by":"William Cruickshank (chemist)","melt":1050,"molar_heat":26.4,"named_by":null,"number":38,"period":5,"group":2,"phase":"Solid","symbol":"Sr","xpos":2,"ypos":5,"wxpos":2,"wypos":5,"shells":[2,8,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2","electron_configuration_semantic":"[Kr] 5s2","electron_affinity":5.023,"electronegativity_pauling":0.95,"ionization_energies":[549.5,1064.2,4138,5500,6910,8760,10230,11800,15600,17100,31270],"block":"s"},{"name":"Yttrium","atomic_mass":88.905842,"boil":3203,"category":"transition metal","density":4.472,"discovered_by":"Johan Gadolin","melt":1799,"molar_heat":26.53,"named_by":null,"number":39,"period":5,"group":3,"phase":"Solid","symbol":"Y","xpos":3,"ypos":5,"wxpos":17,"wypos":5,"shells":[2,8,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d1","electron_configuration_semantic":"[Kr] 4d1 5s2","electron_affinity":29.6,"electronegativity_pauling":1.22,"ionization_energies":[600,1180,1980,5847,7430,8970,11190,12450,14110,18400,19900,36090],"block":"d"},{"name":"Zirconium","atomic_mass":91.2242,"boil":4650,"category":"transition metal","density":6.52,"discovered_by":"Martin Heinrich Klaproth","melt":2128,"molar_heat":25.36,"named_by":null,"number":40,"period":5,"group":4,"phase":"Solid","symbol":"Zr","xpos":4,"ypos":5,"wxpos":18,"wypos":5,"shells":[2,8,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d2","electron_configuration_semantic":"[Kr] 4d2 5s2","electron_affinity":41.806,"electronegativity_pauling":1.33,"ionization_energies":[640.1,1270,2218,3313,7752,9500],"block":"d"},{"name":"Niobium","atomic_mass":92.906372,"boil":5017,"category":"transition metal","density":8.57,"discovered_by":"Charles Hatchett","melt":2750,"molar_heat":24.6,"named_by":null,"number":41,"period":5,"group":5,"phase":"Solid","symbol":"Nb","xpos":5,"ypos":5,"wxpos":19,"wypos":5,"shells":[2,8,18,12,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d4","electron_configuration_semantic":"[Kr] 4d4 5s1","electron_affinity":88.516,"electronegativity_pauling":1.6,"ionization_energies":[652.1,1380,2416,3700,4877,9847,12100],"block":"d"},{"name":"Molybdenum","atomic_mass":95.951,"boil":4912,"category":"transition metal","density":10.28,"discovered_by":"Carl Wilhelm Scheele","melt":2896,"molar_heat":24.06,"named_by":null,"number":42,"period":5,"group":6,"phase":"Solid","symbol":"Mo","xpos":6,"ypos":5,"wxpos":20,"wypos":5,"shells":[2,8,18,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d5","electron_configuration_semantic":"[Kr] 4d5 5s1","electron_affinity":72.1,"electronegativity_pauling":2.16,"ionization_energies":[684.3,1560,2618,4480,5257,6640.8,12125,13860,15835,17980,20190,22219,26930,29196,52490,55000,61400,67700,74000,80400,87000,93400,98420,104400,121900,127700,133800,139800,148100,154500],"block":"d"},{"name":"Technetium","atomic_mass":98,"boil":4538,"category":"transition metal","density":11,"discovered_by":"Emilio Segrè","melt":2430,"molar_heat":24.27,"named_by":null,"number":43,"period":5,"group":7,"phase":"Solid","symbol":"Tc","xpos":7,"ypos":5,"wxpos":21,"wypos":5,"shells":[2,8,18,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d5","electron_configuration_semantic":"[Kr] 4d5 5s2","electron_affinity":53,"electronegativity_pauling":1.9,"ionization_energies":[702,1470,2850],"block":"d"},{"name":"Ruthenium","atomic_mass":101.072,"boil":4423,"category":"transition metal","density":12.45,"discovered_by":"Karl Ernst Claus","melt":2607,"molar_heat":24.06,"named_by":null,"number":44,"period":5,"group":8,"phase":"Solid","symbol":"Ru","xpos":8,"ypos":5,"wxpos":22,"wypos":5,"shells":[2,8,18,15,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d7","electron_configuration_semantic":"[Kr] 4d7 5s1","electron_affinity":100.96,"electronegativity_pauling":2.2,"ionization_energies":[710.2,1620,2747],"block":"d"},{"name":"Rhodium","atomic_mass":102.905502,"boil":3968,"category":"transition metal","density":12.41,"discovered_by":"William Hyde Wollaston","melt":2237,"molar_heat":24.98,"named_by":null,"number":45,"period":5,"group":9,"phase":"Solid","symbol":"Rh","xpos":9,"ypos":5,"wxpos":23,"wypos":5,"shells":[2,8,18,16,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d8","electron_configuration_semantic":"[Kr] 4d8 5s1","electron_affinity":110.27,"electronegativity_pauling":2.28,"ionization_energies":[719.7,1740,2997],"block":"d"},{"name":"Palladium","atomic_mass":106.421,"boil":3236,"category":"transition metal","density":12.023,"discovered_by":"William Hyde Wollaston","melt":1828.05,"molar_heat":25.98,"named_by":null,"number":46,"period":5,"group":10,"phase":"Solid","symbol":"Pd","xpos":10,"ypos":5,"wxpos":24,"wypos":5,"shells":[2,8,18,18],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10","electron_configuration_semantic":"[Kr] 4d10","electron_affinity":54.24,"electronegativity_pauling":2.2,"ionization_energies":[804.4,1870,3177],"block":"d"},{"name":"Silver","atomic_mass":107.86822,"boil":2435,"category":"transition metal","density":10.49,"discovered_by":"unknown, before 5000 BC","melt":1234.93,"molar_heat":25.35,"named_by":null,"number":47,"period":5,"group":11,"phase":"Solid","symbol":"Ag","xpos":11,"ypos":5,"wxpos":25,"wypos":5,"shells":[2,8,18,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d10","electron_configuration_semantic":"[Kr] 4d10 5s1","electron_affinity":125.862,"electronegativity_pauling":1.93,"ionization_energies":[731,2070,3361],"block":"d"},{"name":"Cadmium","atomic_mass":112.4144,"boil":1040,"category":"transition metal","density":8.65,"discovered_by":"Karl Samuel Leberecht Hermann","melt":594.22,"molar_heat":26.02,"named_by":"Isotopes of cadmium","number":48,"period":5,"group":12,"phase":"Solid","symbol":"Cd","xpos":12,"ypos":5,"wxpos":26,"wypos":5,"shells":[2,8,18,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10","electron_configuration_semantic":"[Kr] 4d10 5s2","electron_affinity":-68,"electronegativity_pauling":1.69,"ionization_energies":[867.8,1631.4,3616],"block":"d"},{"name":"Indium","atomic_mass":114.8181,"boil":2345,"category":"post-transition metal","density":7.31,"discovered_by":"Ferdinand Reich","melt":429.7485,"molar_heat":26.74,"named_by":null,"number":49,"period":5,"group":13,"phase":"Solid","symbol":"In","xpos":13,"ypos":5,"wxpos":27,"wypos":5,"shells":[2,8,18,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p1","electron_configuration_semantic":"[Kr] 4d10 5s2 5p1","electron_affinity":37.043,"electronegativity_pauling":1.78,"ionization_energies":[558.3,1820.7,2704,5210],"block":"p"},{"name":"Tin","atomic_mass":118.7107,"boil":2875,"category":"post-transition metal","density":7.365,"discovered_by":"unknown, before 3500 BC","melt":505.08,"molar_heat":27.112,"named_by":null,"number":50,"period":5,"group":14,"phase":"Solid","symbol":"Sn","xpos":14,"ypos":5,"wxpos":28,"wypos":5,"shells":[2,8,18,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p2","electron_configuration_semantic":"[Kr] 4d10 5s2 5p2","electron_affinity":107.2984,"electronegativity_pauling":1.96,"ionization_energies":[708.6,1411.8,2943,3930.3,7456],"block":"p"},{"name":"Antimony","atomic_mass":121.7601,"boil":1908,"category":"metalloid","density":6.697,"discovered_by":"unknown, before 3000 BC","melt":903.78,"molar_heat":25.23,"named_by":null,"number":51,"period":5,"group":15,"phase":"Solid","symbol":"Sb","xpos":15,"ypos":5,"wxpos":29,"wypos":5,"shells":[2,8,18,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p3","electron_configuration_semantic":"[Kr] 4d10 5s2 5p3","electron_affinity":101.059,"electronegativity_pauling":2.05,"ionization_energies":[834,1594.9,2440,4260,5400,10400],"block":"p"},{"name":"Tellurium","atomic_mass":127.603,"boil":1261,"category":"metalloid","density":6.24,"discovered_by":"Franz-Joseph Müller von Reichenstein","melt":722.66,"molar_heat":25.73,"named_by":null,"number":52,"period":5,"group":16,"phase":"Solid","symbol":"Te","xpos":16,"ypos":5,"wxpos":30,"wypos":5,"shells":[2,8,18,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p4","electron_configuration_semantic":"[Kr] 4d10 5s2 5p4","electron_affinity":190.161,"electronegativity_pauling":2.1,"ionization_energies":[869.3,1790,2698,3610,5668,6820,13200],"block":"p"},{"name":"Iodine","atomic_mass":126.904473,"boil":457.4,"category":"diatomic nonmetal","density":4.933,"discovered_by":"Bernard Courtois","melt":386.85,"molar_heat":null,"named_by":null,"number":53,"period":5,"group":17,"phase":"Solid","symbol":"I","xpos":17,"ypos":5,"wxpos":31,"wypos":5,"shells":[2,8,18,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p5","electron_configuration_semantic":"[Kr] 4d10 5s2 5p5","electron_affinity":295.1531,"electronegativity_pauling":2.66,"ionization_energies":[1008.4,1845.9,3180],"block":"p"},{"name":"Xenon","atomic_mass":131.2936,"boil":165.051,"category":"noble gas","density":5.894,"discovered_by":"William Ramsay","melt":161.4,"molar_heat":null,"named_by":null,"number":54,"period":5,"group":18,"phase":"Gas","symbol":"Xe","xpos":18,"ypos":5,"wxpos":32,"wypos":5,"shells":[2,8,18,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6","electron_configuration_semantic":"[Kr] 4d10 5s2 5p6","electron_affinity":-77,"electronegativity_pauling":2.6,"ionization_energies":[1170.4,2046.4,3099.4],"block":"p"},{"name":"Cesium","atomic_mass":132.905451966,"boil":944,"category":"alkali metal","density":1.93,"discovered_by":"Robert Bunsen","melt":301.7,"molar_heat":32.21,"named_by":null,"number":55,"period":6,"group":1,"phase":"Solid","symbol":"Cs","xpos":1,"ypos":6,"wxpos":1,"wypos":6,"shells":[2,8,18,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1","electron_configuration_semantic":"[Xe] 6s1","electron_affinity":45.505,"electronegativity_pauling":0.79,"ionization_energies":[375.7,2234.3,3400],"block":"s"},{"name":"Barium","atomic_mass":137.3277,"boil":2118,"category":"alkaline earth metal","density":3.51,"discovered_by":"Carl Wilhelm Scheele","melt":1000,"molar_heat":28.07,"named_by":null,"number":56,"period":6,"group":2,"phase":"Solid","symbol":"Ba","xpos":2,"ypos":6,"wxpos":2,"wypos":6,"shells":[2,8,18,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2","electron_configuration_semantic":"[Xe] 6s2","electron_affinity":13.954,"electronegativity_pauling":0.89,"ionization_energies":[502.9,965.2,3600],"block":"s"},{"name":"Lanthanum","atomic_mass":138.905477,"boil":3737,"category":"lanthanide","density":6.162,"discovered_by":"Carl Gustaf Mosander","melt":1193,"molar_heat":27.11,"named_by":null,"number":57,"period":6,"group":3,"phase":"Solid","symbol":"La","xpos":3,"ypos":9,"wxpos":3,"wypos":6,"shells":[2,8,18,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1","electron_configuration_semantic":"[Xe] 5d16s2","electron_affinity":53,"electronegativity_pauling":1.1,"ionization_energies":[538.1,1067,1850.3,4819,5940],"block":"f"},{"name":"Cerium","atomic_mass":140.1161,"boil":3716,"category":"lanthanide","density":6.77,"discovered_by":"Martin Heinrich Klaproth","melt":1068,"molar_heat":26.94,"named_by":null,"number":58,"period":6,"group":3,"phase":"Solid","symbol":"Ce","xpos":4,"ypos":9,"wxpos":4,"wypos":6,"shells":[2,8,18,19,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1 4f1","electron_configuration_semantic":"[Xe] 4f1 5d1 6s2","electron_affinity":55,"electronegativity_pauling":1.12,"ionization_energies":[534.4,1050,1949,3547,6325,7490],"block":"f"},{"name":"Praseodymium","atomic_mass":140.907662,"boil":3403,"category":"lanthanide","density":6.77,"discovered_by":"Carl Auer von Welsbach","melt":1208,"molar_heat":27.2,"named_by":null,"number":59,"period":6,"group":3,"phase":"Solid","symbol":"Pr","xpos":5,"ypos":9,"wxpos":5,"wypos":6,"shells":[2,8,18,21,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f3","electron_configuration_semantic":"[Xe] 4f3 6s2","electron_affinity":93,"electronegativity_pauling":1.13,"ionization_energies":[527,1020,2086,3761,5551],"block":"f"},{"name":"Neodymium","atomic_mass":144.2423,"boil":3347,"category":"lanthanide","density":7.01,"discovered_by":"Carl Auer von Welsbach","melt":1297,"molar_heat":27.45,"named_by":null,"number":60,"period":6,"group":3,"phase":"Solid","symbol":"Nd","xpos":6,"ypos":9,"wxpos":6,"wypos":6,"shells":[2,8,18,22,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f4","electron_configuration_semantic":"[Xe] 4f4 6s2","electron_affinity":184.87,"electronegativity_pauling":1.14,"ionization_energies":[533.1,1040,2130,3900],"block":"f"},{"name":"Promethium","atomic_mass":145,"boil":3273,"category":"lanthanide","density":7.26,"discovered_by":"Chien Shiung Wu","melt":1315,"molar_heat":null,"named_by":"Isotopes of promethium","number":61,"period":6,"group":3,"phase":"Solid","symbol":"Pm","xpos":7,"ypos":9,"wxpos":7,"wypos":6,"shells":[2,8,18,23,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f5","electron_configuration_semantic":"[Xe] 4f5 6s2","electron_affinity":12.45,"electronegativity_pauling":1.13,"ionization_energies":[540,1050,2150,3970],"block":"f"},{"name":"Samarium","atomic_mass":150.362,"boil":2173,"category":"lanthanide","density":7.52,"discovered_by":"Lecoq de Boisbaudran","melt":1345,"molar_heat":29.54,"named_by":null,"number":62,"period":6,"group":3,"phase":"Solid","symbol":"Sm","xpos":8,"ypos":9,"wxpos":8,"wypos":6,"shells":[2,8,18,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f6","electron_configuration_semantic":"[Xe] 4f6 6s2","electron_affinity":15.63,"electronegativity_pauling":1.17,"ionization_energies":[544.5,1070,2260,3990],"block":"f"},{"name":"Europium","atomic_mass":151.9641,"boil":1802,"category":"lanthanide","density":5.264,"discovered_by":"Eugène-Anatole Demarçay","melt":1099,"molar_heat":27.66,"named_by":null,"number":63,"period":6,"group":3,"phase":"Solid","symbol":"Eu","xpos":9,"ypos":9,"wxpos":9,"wypos":6,"shells":[2,8,18,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7","electron_configuration_semantic":"[Xe] 4f7 6s2","electron_affinity":11.2,"electronegativity_pauling":1.2,"ionization_energies":[547.1,1085,2404,4120],"block":"f"},{"name":"Gadolinium","atomic_mass":157.253,"boil":3273,"category":"lanthanide","density":7.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1585,"molar_heat":37.03,"named_by":null,"number":64,"period":6,"group":3,"phase":"Solid","symbol":"Gd","xpos":10,"ypos":9,"wxpos":10,"wypos":6,"shells":[2,8,18,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7 5d1","electron_configuration_semantic":"[Xe] 4f7 5d1 6s2","electron_affinity":13.22,"electronegativity_pauling":1.2,"ionization_energies":[593.4,1170,1990,4250],"block":"f"},{"name":"Terbium","atomic_mass":158.925352,"boil":3396,"category":"lanthanide","density":8.23,"discovered_by":"Carl Gustaf Mosander","melt":1629,"molar_heat":28.91,"named_by":null,"number":65,"period":6,"group":3,"phase":"Solid","symbol":"Tb","xpos":11,"ypos":9,"wxpos":11,"wypos":6,"shells":[2,8,18,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f9","electron_configuration_semantic":"[Xe] 4f9 6s2","electron_affinity":112.4,"electronegativity_pauling":1.1,"ionization_energies":[565.8,1110,2114,3839],"block":"f"},{"name":"Dysprosium","atomic_mass":162.5001,"boil":2840,"category":"lanthanide","density":8.54,"discovered_by":"Lecoq de Boisbaudran","melt":1680,"molar_heat":27.7,"named_by":null,"number":66,"period":6,"group":3,"phase":"Solid","symbol":"Dy","xpos":12,"ypos":9,"wxpos":12,"wypos":6,"shells":[2,8,18,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f10","electron_configuration_semantic":"[Xe] 4f10 6s2","electron_affinity":33.96,"electronegativity_pauling":1.22,"ionization_energies":[573,1130,2200,3990],"block":"f"},{"name":"Holmium","atomic_mass":164.930332,"boil":2873,"category":"lanthanide","density":8.79,"discovered_by":"Marc Delafontaine","melt":1734,"molar_heat":27.15,"named_by":null,"number":67,"period":6,"group":3,"phase":"Solid","symbol":"Ho","xpos":13,"ypos":9,"wxpos":13,"wypos":6,"shells":[2,8,18,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f11","electron_configuration_semantic":"[Xe] 4f11 6s2","electron_affinity":32.61,"electronegativity_pauling":1.23,"ionization_energies":[581,1140,2204,4100],"block":"f"},{"name":"Erbium","atomic_mass":167.2593,"boil":3141,"category":"lanthanide","density":9.066,"discovered_by":"Carl Gustaf Mosander","melt":1802,"molar_heat":28.12,"named_by":null,"number":68,"period":6,"group":3,"phase":"Solid","symbol":"Er","xpos":14,"ypos":9,"wxpos":14,"wypos":6,"shells":[2,8,18,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f12","electron_configuration_semantic":"[Xe] 4f12 6s2","electron_affinity":30.1,"electronegativity_pauling":1.24,"ionization_energies":[589.3,1150,2194,4120],"block":"f"},{"name":"Thulium","atomic_mass":168.934222,"boil":2223,"category":"lanthanide","density":9.32,"discovered_by":"Per Teodor Cleve","melt":1818,"molar_heat":27.03,"named_by":null,"number":69,"period":6,"group":3,"phase":"Solid","symbol":"Tm","xpos":15,"ypos":9,"wxpos":15,"wypos":6,"shells":[2,8,18,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f13","electron_configuration_semantic":"[Xe] 4f13 6s2","electron_affinity":99,"electronegativity_pauling":1.25,"ionization_energies":[596.7,1160,2285,4120],"block":"f"},{"name":"Ytterbium","atomic_mass":173.0451,"boil":1469,"category":"lanthanide","density":6.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1097,"molar_heat":26.74,"named_by":null,"number":70,"period":6,"group":3,"phase":"Solid","symbol":"Yb","xpos":16,"ypos":9,"wxpos":16,"wypos":6,"shells":[2,8,18,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14","electron_configuration_semantic":"[Xe] 4f14 6s2","electron_affinity":-1.93,"electronegativity_pauling":1.1,"ionization_energies":[603.4,1174.8,2417,4203],"block":"f"},{"name":"Lutetium","atomic_mass":174.96681,"boil":3675,"category":"lanthanide","density":9.841,"discovered_by":"Georges Urbain","melt":1925,"molar_heat":26.86,"named_by":null,"number":71,"period":6,"group":3,"phase":"Solid","symbol":"Lu","xpos":17,"ypos":9,"wxpos":17,"wypos":6,"shells":[2,8,18,32,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d1","electron_configuration_semantic":"[Xe] 4f14 5d1 6s2","electron_affinity":33.4,"electronegativity_pauling":1.27,"ionization_energies":[523.5,1340,2022.3,4370,6445],"block":"d"},{"name":"Hafnium","atomic_mass":178.492,"boil":4876,"category":"transition metal","density":13.31,"discovered_by":"Dirk Coster","melt":2506,"molar_heat":25.73,"named_by":null,"number":72,"period":6,"group":4,"phase":"Solid","symbol":"Hf","xpos":4,"ypos":6,"wxpos":18,"wypos":6,"shells":[2,8,18,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d2","electron_configuration_semantic":"[Xe] 4f14 5d2 6s2","electron_affinity":17.18,"electronegativity_pauling":1.3,"ionization_energies":[658.5,1440,2250,3216],"block":"d"},{"name":"Tantalum","atomic_mass":180.947882,"boil":5731,"category":"transition metal","density":16.69,"discovered_by":"Anders Gustaf Ekeberg","melt":3290,"molar_heat":25.36,"named_by":null,"number":73,"period":6,"group":5,"phase":"Solid","symbol":"Ta","xpos":5,"ypos":6,"wxpos":19,"wypos":6,"shells":[2,8,18,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d3","electron_configuration_semantic":"[Xe] 4f14 5d3 6s2","electron_affinity":31,"electronegativity_pauling":1.5,"ionization_energies":[761,1500],"block":"d"},{"name":"Tungsten","atomic_mass":183.841,"boil":6203,"category":"transition metal","density":19.25,"discovered_by":"Carl Wilhelm Scheele","melt":3695,"molar_heat":24.27,"named_by":null,"number":74,"period":6,"group":6,"phase":"Solid","symbol":"W","xpos":6,"ypos":6,"wxpos":20,"wypos":6,"shells":[2,8,18,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d4","electron_configuration_semantic":"[Xe] 4f14 5d4 6s2","electron_affinity":78.76,"electronegativity_pauling":2.36,"ionization_energies":[770,1700],"block":"d"},{"name":"Rhenium","atomic_mass":186.2071,"boil":5869,"category":"transition metal","density":21.02,"discovered_by":"Masataka Ogawa","melt":3459,"molar_heat":25.48,"named_by":"Walter Noddack","number":75,"period":6,"group":7,"phase":"Solid","symbol":"Re","xpos":7,"ypos":6,"wxpos":21,"wypos":6,"shells":[2,8,18,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d5","electron_configuration_semantic":"[Xe] 4f14 5d5 6s2","electron_affinity":5.8273,"electronegativity_pauling":1.9,"ionization_energies":[760,1260,2510,3640],"block":"d"},{"name":"Osmium","atomic_mass":190.233,"boil":5285,"category":"transition metal","density":22.59,"discovered_by":"Smithson Tennant","melt":3306,"molar_heat":24.7,"named_by":null,"number":76,"period":6,"group":8,"phase":"Solid","symbol":"Os","xpos":8,"ypos":6,"wxpos":22,"wypos":6,"shells":[2,8,18,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d6","electron_configuration_semantic":"[Xe] 4f14 5d6 6s2","electron_affinity":103.99,"electronegativity_pauling":2.2,"ionization_energies":[840,1600],"block":"d"},{"name":"Iridium","atomic_mass":192.2173,"boil":4403,"category":"transition metal","density":22.56,"discovered_by":"Smithson Tennant","melt":2719,"molar_heat":25.1,"named_by":null,"number":77,"period":6,"group":9,"phase":"Solid","symbol":"Ir","xpos":9,"ypos":6,"wxpos":23,"wypos":6,"shells":[2,8,18,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d7","electron_configuration_semantic":"[Xe] 4f14 5d7 6s2","electron_affinity":150.94,"electronegativity_pauling":2.2,"ionization_energies":[880,1600],"block":"d"},{"name":"Platinum","atomic_mass":195.0849,"boil":4098,"category":"transition metal","density":21.45,"discovered_by":"Antonio de Ulloa","melt":2041.4,"molar_heat":25.86,"named_by":null,"number":78,"period":6,"group":10,"phase":"Solid","symbol":"Pt","xpos":10,"ypos":6,"wxpos":24,"wypos":6,"shells":[2,8,18,32,17,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d9","electron_configuration_semantic":"[Xe] 4f14 5d9 6s1","electron_affinity":205.041,"electronegativity_pauling":2.28,"ionization_energies":[870,1791],"block":"d"},{"name":"Gold","atomic_mass":196.9665695,"boil":3243,"category":"transition metal","density":19.3,"discovered_by":"Middle East","melt":1337.33,"molar_heat":25.418,"named_by":null,"number":79,"period":6,"group":11,"phase":"Solid","symbol":"Au","xpos":11,"ypos":6,"wxpos":25,"wypos":6,"shells":[2,8,18,32,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s1","electron_affinity":222.747,"electronegativity_pauling":2.54,"ionization_energies":[890.1,1980],"block":"d"},{"name":"Mercury","atomic_mass":200.5923,"boil":629.88,"category":"transition metal","density":13.534,"discovered_by":"unknown, before 2000 BCE","melt":234.321,"molar_heat":27.983,"named_by":null,"number":80,"period":6,"group":12,"phase":"Liquid","symbol":"Hg","xpos":12,"ypos":6,"wxpos":26,"wypos":6,"shells":[2,8,18,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2","electron_affinity":-48,"electronegativity_pauling":2,"ionization_energies":[1007.1,1810,3300],"block":"d"},{"name":"Thallium","atomic_mass":204.38,"boil":1746,"category":"post-transition metal","density":11.85,"discovered_by":"William Crookes","melt":577,"molar_heat":26.32,"named_by":null,"number":81,"period":6,"group":13,"phase":"Solid","symbol":"Tl","xpos":13,"ypos":6,"wxpos":27,"wypos":6,"shells":[2,8,18,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p1","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p1","electron_affinity":36.4,"electronegativity_pauling":1.62,"ionization_energies":[589.4,1971,2878],"block":"p"},{"name":"Lead","atomic_mass":207.21,"boil":2022,"category":"post-transition metal","density":11.34,"discovered_by":"Middle East","melt":600.61,"molar_heat":26.65,"named_by":null,"number":82,"period":6,"group":14,"phase":"Solid","symbol":"Pb","xpos":14,"ypos":6,"wxpos":28,"wypos":6,"shells":[2,8,18,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p2","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p2","electron_affinity":34.4204,"electronegativity_pauling":1.87,"ionization_energies":[715.6,1450.5,3081.5,4083,6640],"block":"p"},{"name":"Bismuth","atomic_mass":208.980401,"boil":1837,"category":"post-transition metal","density":9.78,"discovered_by":"Claude François Geoffroy","melt":544.7,"molar_heat":25.52,"named_by":null,"number":83,"period":6,"group":15,"phase":"Solid","symbol":"Bi","xpos":15,"ypos":6,"wxpos":29,"wypos":6,"shells":[2,8,18,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p3","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p3","electron_affinity":90.924,"electronegativity_pauling":2.02,"ionization_energies":[703,1610,2466,4370,5400,8520],"block":"p"},{"name":"Polonium","atomic_mass":209,"boil":1235,"category":"post-transition metal","density":9.196,"discovered_by":"Pierre Curie","melt":527,"molar_heat":26.4,"named_by":null,"number":84,"period":6,"group":16,"phase":"Solid","symbol":"Po","xpos":16,"ypos":6,"wxpos":30,"wypos":6,"shells":[2,8,18,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p4","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p4","electron_affinity":136,"electronegativity_pauling":2,"ionization_energies":[812.1],"block":"p"},{"name":"Astatine","atomic_mass":210,"boil":610,"category":"metalloid","density":6.35,"discovered_by":"Dale R. Corson","melt":575,"molar_heat":null,"named_by":null,"number":85,"period":6,"group":17,"phase":"Solid","symbol":"At","xpos":17,"ypos":6,"wxpos":31,"wypos":6,"shells":[2,8,18,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p5","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p5","electron_affinity":233,"electronegativity_pauling":2.2,"ionization_energies":[899.003],"block":"p"},{"name":"Radon","atomic_mass":222,"boil":211.5,"category":"noble gas","density":9.73,"discovered_by":"Friedrich Ernst Dorn","melt":202,"molar_heat":null,"named_by":null,"number":86,"period":6,"group":18,"phase":"Gas","symbol":"Rn","xpos":18,"ypos":6,"wxpos":32,"wypos":6,"shells":[2,8,18,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p6","electron_affinity":-68,"electronegativity_pauling":2.2,"ionization_energies":[1037],"block":"p"},{"name":"Francium","atomic_mass":223,"boil":950,"category":"alkali metal","density":1.87,"discovered_by":"Marguerite Perey","melt":300,"molar_heat":null,"named_by":null,"number":87,"period":7,"group":1,"phase":"Solid","symbol":"Fr","xpos":1,"ypos":7,"wxpos":1,"wypos":7,"shells":[2,8,18,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s1","electron_configuration_semantic":"[Rn] 7s1","electron_affinity":46.89,"electronegativity_pauling":0.79,"ionization_energies":[380],"block":"s"},{"name":"Radium","atomic_mass":226,"boil":2010,"category":"alkaline earth metal","density":5.5,"discovered_by":"Pierre Curie","melt":1233,"molar_heat":null,"named_by":null,"number":88,"period":7,"group":2,"phase":"Solid","symbol":"Ra","xpos":2,"ypos":7,"wxpos":2,"wypos":7,"shells":[2,8,18,32,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2","electron_configuration_semantic":"[Rn] 7s2","electron_affinity":9.6485,"electronegativity_pauling":0.9,"ionization_energies":[509.3,979],"block":"s"},{"name":"Actinium","atomic_mass":227,"boil":3500,"category":"actinide","density":10,"discovered_by":"Friedrich Oskar Giesel","melt":1500,"molar_heat":27.2,"named_by":null,"number":89,"period":7,"group":3,"phase":"Solid","symbol":"Ac","xpos":3,"ypos":10,"wxpos":3,"wypos":7,"shells":[2,8,18,32,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d1","electron_configuration_semantic":"[Rn] 6d1 7s2","electron_affinity":33.77,"electronegativity_pauling":1.1,"ionization_energies":[499,1170],"block":"f"},{"name":"Thorium","atomic_mass":232.03774,"boil":5061,"category":"actinide","density":11.724,"discovered_by":"Jöns Jakob Berzelius","melt":2023,"molar_heat":26.23,"named_by":null,"number":90,"period":7,"group":3,"phase":"Solid","symbol":"Th","xpos":4,"ypos":10,"wxpos":4,"wypos":7,"shells":[2,8,18,32,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d2","electron_configuration_semantic":"[Rn] 6d2 7s2","electron_affinity":112.72,"electronegativity_pauling":1.3,"ionization_energies":[587,1110,1930,2780],"block":"f"},{"name":"Protactinium","atomic_mass":231.035882,"boil":4300,"category":"actinide","density":15.37,"discovered_by":"William Crookes","melt":1841,"molar_heat":null,"named_by":"Otto Hahn","number":91,"period":7,"group":3,"phase":"Solid","symbol":"Pa","xpos":5,"ypos":10,"wxpos":5,"wypos":7,"shells":[2,8,18,32,20,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f2 6d1","electron_configuration_semantic":"[Rn] 5f2 6d1 7s2","electron_affinity":53.03,"electronegativity_pauling":1.5,"ionization_energies":[568],"block":"f"},{"name":"Uranium","atomic_mass":238.028913,"boil":4404,"category":"actinide","density":19.1,"discovered_by":"Martin Heinrich Klaproth","melt":1405.3,"molar_heat":27.665,"named_by":null,"number":92,"period":7,"group":3,"phase":"Solid","symbol":"U","xpos":6,"ypos":10,"wxpos":6,"wypos":7,"shells":[2,8,18,32,21,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f3 6d1","electron_configuration_semantic":"[Rn] 5f3 6d1 7s2","electron_affinity":50.94,"electronegativity_pauling":1.38,"ionization_energies":[597.6,1420],"block":"f"},{"name":"Neptunium","atomic_mass":237,"boil":4447,"category":"actinide","density":20.45,"discovered_by":"Edwin McMillan","melt":912,"molar_heat":29.46,"named_by":null,"number":93,"period":7,"group":3,"phase":"Solid","symbol":"Np","xpos":7,"ypos":10,"wxpos":7,"wypos":7,"shells":[2,8,18,32,22,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f4 6d1","electron_configuration_semantic":"[Rn] 5f4 6d1 7s2","electron_affinity":45.85,"electronegativity_pauling":1.36,"ionization_energies":[604.5],"block":"f"},{"name":"Plutonium","atomic_mass":244,"boil":3505,"category":"actinide","density":19.816,"discovered_by":"Glenn T. Seaborg","melt":912.5,"molar_heat":35.5,"named_by":null,"number":94,"period":7,"group":3,"phase":"Solid","symbol":"Pu","xpos":8,"ypos":10,"wxpos":8,"wypos":7,"shells":[2,8,18,32,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f6","electron_configuration_semantic":"[Rn] 5f6 7s2","electron_affinity":-48.33,"electronegativity_pauling":1.28,"ionization_energies":[584.7],"block":"f"},{"name":"Americium","atomic_mass":243,"boil":2880,"category":"actinide","density":12,"discovered_by":"Glenn T. Seaborg","melt":1449,"molar_heat":62.7,"named_by":null,"number":95,"period":7,"group":3,"phase":"Solid","symbol":"Am","xpos":9,"ypos":10,"wxpos":9,"wypos":7,"shells":[2,8,18,32,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7","electron_configuration_semantic":"[Rn] 5f7 7s2","electron_affinity":9.93,"electronegativity_pauling":1.13,"ionization_energies":[578],"block":"f"},{"name":"Curium","atomic_mass":247,"boil":3383,"category":"actinide","density":13.51,"discovered_by":"Glenn T. Seaborg","melt":1613,"molar_heat":null,"named_by":null,"number":96,"period":7,"group":3,"phase":"Solid","symbol":"Cm","xpos":10,"ypos":10,"wxpos":10,"wypos":7,"shells":[2,8,18,32,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7 6d1","electron_configuration_semantic":"[Rn] 5f7 6d1 7s2","electron_affinity":27.17,"electronegativity_pauling":1.28,"ionization_energies":[581],"block":"f"},{"name":"Berkelium","atomic_mass":247,"boil":2900,"category":"actinide","density":14.78,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1259,"molar_heat":null,"named_by":null,"number":97,"period":7,"group":3,"phase":"Solid","symbol":"Bk","xpos":11,"ypos":10,"wxpos":11,"wypos":7,"shells":[2,8,18,32,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f9","electron_configuration_semantic":"[Rn] 5f9 7s2","electron_affinity":-165.24,"electronegativity_pauling":1.3,"ionization_energies":[601],"block":"f"},{"name":"Californium","atomic_mass":251,"boil":1743,"category":"actinide","density":15.1,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1173,"molar_heat":null,"named_by":null,"number":98,"period":7,"group":3,"phase":"Solid","symbol":"Cf","xpos":12,"ypos":10,"wxpos":12,"wypos":7,"shells":[2,8,18,32,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f10","electron_configuration_semantic":"[Rn] 5f10 7s2","electron_affinity":-97.31,"electronegativity_pauling":1.3,"ionization_energies":[608],"block":"f"},{"name":"Einsteinium","atomic_mass":252,"boil":1269,"category":"actinide","density":8.84,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1133,"molar_heat":null,"named_by":null,"number":99,"period":7,"group":3,"phase":"Solid","symbol":"Es","xpos":13,"ypos":10,"wxpos":13,"wypos":7,"shells":[2,8,18,32,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f11","electron_configuration_semantic":"[Rn] 5f11 7s2","electron_affinity":-28.6,"electronegativity_pauling":1.3,"ionization_energies":[619],"block":"f"},{"name":"Fermium","atomic_mass":257,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1800,"molar_heat":null,"named_by":null,"number":100,"period":7,"group":3,"phase":"Solid","symbol":"Fm","xpos":14,"ypos":10,"wxpos":14,"wypos":7,"shells":[2,8,18,32,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f12","electron_configuration_semantic":"[Rn] 5f12 7s2","electron_affinity":33.96,"electronegativity_pauling":1.3,"ionization_energies":[627],"block":"f"},{"name":"Mendelevium","atomic_mass":258,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1100,"molar_heat":null,"named_by":null,"number":101,"period":7,"group":3,"phase":"Solid","symbol":"Md","xpos":15,"ypos":10,"wxpos":15,"wypos":7,"shells":[2,8,18,32,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f13","electron_configuration_semantic":"[Rn] 5f13 7s2","electron_affinity":93.91,"electronegativity_pauling":1.3,"ionization_energies":[635],"block":"f"},{"name":"Nobelium","atomic_mass":259,"boil":null,"category":"actinide","density":null,"discovered_by":"Joint Institute for Nuclear Research","melt":1100,"molar_heat":null,"named_by":null,"number":102,"period":7,"group":3,"phase":"Solid","symbol":"No","xpos":16,"ypos":10,"wxpos":16,"wypos":7,"shells":[2,8,18,32,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14","electron_configuration_semantic":"[Rn] 5f14 7s2","electron_affinity":-223.22,"electronegativity_pauling":1.3,"ionization_energies":[642],"block":"f"},{"name":"Lawrencium","atomic_mass":266,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1900,"molar_heat":null,"named_by":null,"number":103,"period":7,"group":3,"phase":"Solid","symbol":"Lr","xpos":17,"ypos":10,"wxpos":17,"wypos":7,"shells":[2,8,18,32,32,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 7p1","electron_configuration_semantic":"[Rn] 5f14 7s2 7p1","electron_affinity":-30.04,"electronegativity_pauling":1.3,"ionization_energies":[470],"block":"d"},{"name":"Rutherfordium","atomic_mass":267,"boil":5800,"category":"transition metal","density":23.2,"discovered_by":"Joint Institute for Nuclear Research","melt":2400,"molar_heat":null,"named_by":null,"number":104,"period":7,"group":4,"phase":"Solid","symbol":"Rf","xpos":4,"ypos":7,"wxpos":18,"wypos":7,"shells":[2,8,18,32,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d2","electron_configuration_semantic":"[Rn] 5f14 6d2 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[580],"block":"d"},{"name":"Dubnium","atomic_mass":268,"boil":null,"category":"transition metal","density":29.3,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":105,"period":7,"group":5,"phase":"Solid","symbol":"Db","xpos":5,"ypos":7,"wxpos":19,"wypos":7,"shells":[2,8,18,32,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d3","electron_configuration_semantic":"*[Rn] 5f14 6d3 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Seaborgium","atomic_mass":269,"boil":null,"category":"transition metal","density":35,"discovered_by":"Lawrence Berkeley National Laboratory","melt":null,"molar_heat":null,"named_by":null,"number":106,"period":7,"group":6,"phase":"Solid","symbol":"Sg","xpos":6,"ypos":7,"wxpos":20,"wypos":7,"shells":[2,8,18,32,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d4","electron_configuration_semantic":"*[Rn] 5f14 6d4 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Bohrium","atomic_mass":270,"boil":null,"category":"transition metal","density":37.1,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":107,"period":7,"group":7,"phase":"Solid","symbol":"Bh","xpos":7,"ypos":7,"wxpos":21,"wypos":7,"shells":[2,8,18,32,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d5","electron_configuration_semantic":"*[Rn] 5f14 6d5 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Hassium","atomic_mass":269,"boil":null,"category":"transition metal","density":40.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":126,"molar_heat":null,"named_by":null,"number":108,"period":7,"group":8,"phase":"Solid","symbol":"Hs","xpos":8,"ypos":7,"wxpos":22,"wypos":7,"shells":[2,8,18,32,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d6","electron_configuration_semantic":"*[Rn] 5f14 6d6 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Meitnerium","atomic_mass":278,"boil":null,"category":"unknown, probably transition metal","density":37.4,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":109,"period":7,"group":9,"phase":"Solid","symbol":"Mt","xpos":9,"ypos":7,"wxpos":23,"wypos":7,"shells":[2,8,18,32,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d7","electron_configuration_semantic":"*[Rn] 5f14 6d7 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Darmstadtium","atomic_mass":281,"boil":null,"category":"unknown, probably transition metal","density":34.8,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":110,"period":7,"group":10,"phase":"Solid","symbol":"Ds","xpos":10,"ypos":7,"wxpos":24,"wypos":7,"shells":[2,8,18,32,32,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d8","electron_configuration_semantic":"*[Rn] 5f14 6d9 7s1","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Roentgenium","atomic_mass":282,"boil":null,"category":"unknown, probably transition metal","density":28.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":111,"period":7,"group":11,"phase":"Solid","symbol":"Rg","xpos":11,"ypos":7,"wxpos":25,"wypos":7,"shells":[2,8,18,32,32,17,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d9","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s1","electron_affinity":151,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Copernicium","atomic_mass":285,"boil":3570,"category":"transition metal","density":14,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":112,"period":7,"group":12,"phase":"Liquid","symbol":"Cn","xpos":12,"ypos":7,"wxpos":26,"wypos":7,"shells":[2,8,18,32,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Nihonium","atomic_mass":286,"boil":1430,"category":"unknown, probably transition metal","density":16,"discovered_by":"RIKEN","melt":700,"molar_heat":null,"named_by":null,"number":113,"period":7,"group":13,"phase":"Solid","symbol":"Nh","xpos":13,"ypos":7,"wxpos":27,"wypos":7,"shells":[2,8,18,32,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p1","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p1","electron_affinity":66.6,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Flerovium","atomic_mass":289,"boil":420,"category":"post-transition metal","density":14,"discovered_by":"Joint Institute for Nuclear Research","melt":340,"molar_heat":null,"named_by":null,"number":114,"period":7,"group":14,"phase":"Solid","symbol":"Fl","xpos":14,"ypos":7,"wxpos":28,"wypos":7,"shells":[2,8,18,32,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p2","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Moscovium","atomic_mass":289,"boil":1400,"category":"unknown, probably post-transition metal","density":13.5,"discovered_by":"Joint Institute for Nuclear Research","melt":670,"molar_heat":null,"named_by":null,"number":115,"period":7,"group":15,"phase":"Solid","symbol":"Mc","xpos":15,"ypos":7,"wxpos":29,"wypos":7,"shells":[2,8,18,32,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p3","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p3","electron_affinity":35.3,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Livermorium","atomic_mass":293,"boil":1085,"category":"unknown, probably post-transition metal","density":12.9,"discovered_by":"Joint Institute for Nuclear Research","melt":709,"molar_heat":null,"named_by":null,"number":116,"period":7,"group":16,"phase":"Solid","symbol":"Lv","xpos":16,"ypos":7,"wxpos":30,"wypos":7,"shells":[2,8,18,32,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p4","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p4","electron_affinity":74.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Tennessine","atomic_mass":294,"boil":883,"category":"unknown, probably metalloid","density":7.17,"discovered_by":"Joint Institute for Nuclear Research","melt":723,"molar_heat":null,"named_by":null,"number":117,"period":7,"group":17,"phase":"Solid","symbol":"Ts","xpos":17,"ypos":7,"wxpos":31,"wypos":7,"shells":[2,8,18,32,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p5","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p5","electron_affinity":165.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Oganesson","atomic_mass":294,"boil":350,"category":"unknown, predicted to be noble gas","density":4.95,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":118,"period":7,"group":18,"phase":"Solid","symbol":"Og","xpos":18,"ypos":7,"wxpos":32,"wypos":7,"shells":[2,8,18,32,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p6","electron_affinity":5.40318,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Ununennium","atomic_mass":315,"boil":630,"category":"unknown, but predicted to be an alkali metal","density":3,"discovered_by":"GSI Helmholtz Centre for Heavy Ion Research","melt":null,"molar_heat":null,"named_by":null,"number":119,"period":8,"group":1,"phase":"Solid","symbol":"Uue","xpos":1,"ypos":8,"wxpos":1,"wypos":8,"shells":[2,8,18,32,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6 8s1","electron_configuration_semantic":"*[Uuo] 8s1","electron_affinity":63.87,"electronegativity_pauling":null,"ionization_energies":[],"block":"s"}]'), Or = {
2799
- elements: Mr
3026
+ var Yi;
3027
+ (function(e) {
3028
+ e.SAVE = "save", e.MODEL = "model", e.SCORE = "score", e.MANUAL_SCORE = "manual-score";
3029
+ })(Yi || (Yi = {}));
3030
+ var Qi;
3031
+ (function(e) {
3032
+ e.AUTO = "auto", e.MANUAL = "manual";
3033
+ })(Qi || (Qi = {}));
3034
+ var Zi;
3035
+ (function(e) {
3036
+ e.GATHER = "gather", e.VIEW = "view", e.EVALUATE = "evaluate";
3037
+ })(Zi || (Zi = {}));
3038
+ var eo;
3039
+ (function(e) {
3040
+ e.PENDING = "pending", e.IN_PROGRESS = "in_progress", e.COMPLETED = "completed", e.FAILED = "failed";
3041
+ })(eo || (eo = {}));
3042
+ var no;
3043
+ (function(e) {
3044
+ e[e.ROOT = 0] = "ROOT", e[e.SUBJECT = 1] = "SUBJECT", e[e.LEVEL = 2] = "LEVEL", e[e.STANDARD = 3] = "STANDARD";
3045
+ })(no || (no = {}));
3046
+ ai.player;
3047
+ const Yr = /* @__PURE__ */ JSON.parse('[{"name":"Hydrogen","atomic_mass":1.008,"boil":20.271,"category":"diatomic nonmetal","density":0.08988,"discovered_by":"Henry Cavendish","melt":13.99,"molar_heat":28.836,"named_by":"Antoine Lavoisier","number":1,"period":1,"group":1,"phase":"Gas","symbol":"H","xpos":1,"ypos":1,"wxpos":1,"wypos":1,"shells":[1],"electron_configuration":"1s1","electron_configuration_semantic":"1s1","electron_affinity":72.769,"electronegativity_pauling":2.2,"ionization_energies":[1312],"block":"s"},{"name":"Helium","atomic_mass":4.0026022,"boil":4.222,"category":"noble gas","density":0.1786,"discovered_by":"Pierre Janssen","melt":0.95,"molar_heat":null,"named_by":null,"number":2,"period":1,"group":18,"phase":"Gas","symbol":"He","xpos":18,"ypos":1,"wxpos":32,"wypos":1,"shells":[2],"electron_configuration":"1s2","electron_configuration_semantic":"1s2","electron_affinity":-48,"electronegativity_pauling":null,"ionization_energies":[2372.3,5250.5],"block":"s"},{"name":"Lithium","atomic_mass":6.94,"boil":1603,"category":"alkali metal","density":0.534,"discovered_by":"Johan August Arfwedson","melt":453.65,"molar_heat":24.86,"named_by":null,"number":3,"period":2,"group":1,"phase":"Solid","symbol":"Li","xpos":1,"ypos":2,"wxpos":1,"wypos":2,"shells":[2,1],"electron_configuration":"1s2 2s1","electron_configuration_semantic":"[He] 2s1","electron_affinity":59.6326,"electronegativity_pauling":0.98,"ionization_energies":[520.2,7298.1,11815],"block":"s"},{"name":"Beryllium","atomic_mass":9.01218315,"boil":2742,"category":"alkaline earth metal","density":1.85,"discovered_by":"Louis Nicolas Vauquelin","melt":1560,"molar_heat":16.443,"named_by":null,"number":4,"period":2,"group":2,"phase":"Solid","symbol":"Be","xpos":2,"ypos":2,"wxpos":2,"wypos":2,"shells":[2,2],"electron_configuration":"1s2 2s2","electron_configuration_semantic":"[He] 2s2","electron_affinity":-48,"electronegativity_pauling":1.57,"ionization_energies":[899.5,1757.1,14848.7,21006.6],"block":"s"},{"name":"Boron","atomic_mass":10.81,"boil":4200,"category":"metalloid","density":2.08,"discovered_by":"Joseph Louis Gay-Lussac","melt":2349,"molar_heat":11.087,"named_by":null,"number":5,"period":2,"group":13,"phase":"Solid","symbol":"B","xpos":13,"ypos":2,"wxpos":27,"wypos":2,"shells":[2,3],"electron_configuration":"1s2 2s2 2p1","electron_configuration_semantic":"[He] 2s2 2p1","electron_affinity":26.989,"electronegativity_pauling":2.04,"ionization_energies":[800.6,2427.1,3659.7,25025.8,32826.7],"block":"p"},{"name":"Carbon","atomic_mass":12.011,"boil":null,"category":"polyatomic nonmetal","density":1.821,"discovered_by":"Ancient Egypt","melt":null,"molar_heat":8.517,"named_by":null,"number":6,"period":2,"group":14,"phase":"Solid","symbol":"C","xpos":14,"ypos":2,"wxpos":28,"wypos":2,"shells":[2,4],"electron_configuration":"1s2 2s2 2p2","electron_configuration_semantic":"[He] 2s2 2p2","electron_affinity":121.7763,"electronegativity_pauling":2.55,"ionization_energies":[1086.5,2352.6,4620.5,6222.7,37831,47277],"block":"p"},{"name":"Nitrogen","atomic_mass":14.007,"boil":77.355,"category":"diatomic nonmetal","density":1.251,"discovered_by":"Daniel Rutherford","melt":63.15,"molar_heat":null,"named_by":"Jean-Antoine Chaptal","number":7,"period":2,"group":15,"phase":"Gas","symbol":"N","xpos":15,"ypos":2,"wxpos":29,"wypos":2,"shells":[2,5],"electron_configuration":"1s2 2s2 2p3","electron_configuration_semantic":"[He] 2s2 2p3","electron_affinity":-6.8,"electronegativity_pauling":3.04,"ionization_energies":[1402.3,2856,4578.1,7475,9444.9,53266.6,64360],"block":"p"},{"name":"Oxygen","atomic_mass":15.999,"boil":90.188,"category":"diatomic nonmetal","density":1.429,"discovered_by":"Carl Wilhelm Scheele","melt":54.36,"molar_heat":null,"named_by":"Antoine Lavoisier","number":8,"period":2,"group":16,"phase":"Gas","symbol":"O","xpos":16,"ypos":2,"wxpos":30,"wypos":2,"shells":[2,6],"electron_configuration":"1s2 2s2 2p4","electron_configuration_semantic":"[He] 2s2 2p4","electron_affinity":140.976,"electronegativity_pauling":3.44,"ionization_energies":[1313.9,3388.3,5300.5,7469.2,10989.5,13326.5,71330,84078],"block":"p"},{"name":"Fluorine","atomic_mass":18.9984031636,"boil":85.03,"category":"diatomic nonmetal","density":1.696,"discovered_by":"André-Marie Ampère","melt":53.48,"molar_heat":null,"named_by":"Humphry Davy","number":9,"period":2,"group":17,"phase":"Gas","symbol":"F","xpos":17,"ypos":2,"wxpos":31,"wypos":2,"shells":[2,7],"electron_configuration":"1s2 2s2 2p5","electron_configuration_semantic":"[He] 2s2 2p5","electron_affinity":328.1649,"electronegativity_pauling":3.98,"ionization_energies":[1681,3374.2,6050.4,8407.7,11022.7,15164.1,17868,92038.1,106434.3],"block":"p"},{"name":"Neon","atomic_mass":20.17976,"boil":27.104,"category":"noble gas","density":0.9002,"discovered_by":"Morris Travers","melt":24.56,"molar_heat":null,"named_by":null,"number":10,"period":2,"group":18,"phase":"Gas","symbol":"Ne","xpos":18,"ypos":2,"wxpos":32,"wypos":2,"shells":[2,8],"electron_configuration":"1s2 2s2 2p6","electron_configuration_semantic":"[He] 2s2 2p6","electron_affinity":-116,"electronegativity_pauling":null,"ionization_energies":[2080.7,3952.3,6122,9371,12177,15238,19999,23069.5,115379.5,131432],"block":"p"},{"name":"Sodium","atomic_mass":22.989769282,"boil":1156.09,"category":"alkali metal","density":0.968,"discovered_by":"Humphry Davy","melt":370.944,"molar_heat":28.23,"named_by":null,"number":11,"period":3,"group":1,"phase":"Solid","symbol":"Na","xpos":1,"ypos":3,"wxpos":1,"wypos":3,"shells":[2,8,1],"electron_configuration":"1s2 2s2 2p6 3s1","electron_configuration_semantic":"[Ne] 3s1","electron_affinity":52.867,"electronegativity_pauling":0.93,"ionization_energies":[495.8,4562,6910.3,9543,13354,16613,20117,25496,28932,141362,159076],"block":"s"},{"name":"Magnesium","atomic_mass":24.305,"boil":1363,"category":"alkaline earth metal","density":1.738,"discovered_by":"Joseph Black","melt":923,"molar_heat":24.869,"named_by":null,"number":12,"period":3,"group":2,"phase":"Solid","symbol":"Mg","xpos":2,"ypos":3,"wxpos":2,"wypos":3,"shells":[2,8,2],"electron_configuration":"1s2 2s2 2p6 3s2","electron_configuration_semantic":"[Ne] 3s2","electron_affinity":-40,"electronegativity_pauling":1.31,"ionization_energies":[737.7,1450.7,7732.7,10542.5,13630,18020,21711,25661,31653,35458,169988,189368],"block":"s"},{"name":"Aluminium","atomic_mass":26.98153857,"boil":2743,"category":"post-transition metal","density":2.7,"discovered_by":null,"melt":933.47,"molar_heat":24.2,"named_by":"Humphry Davy","number":13,"period":3,"group":13,"phase":"Solid","symbol":"Al","xpos":13,"ypos":3,"wxpos":27,"wypos":3,"shells":[2,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p1","electron_configuration_semantic":"[Ne] 3s2 3p1","electron_affinity":41.762,"electronegativity_pauling":1.61,"ionization_energies":[577.5,1816.7,2744.8,11577,14842,18379,23326,27465,31853,38473,42647,201266,222316],"block":"p"},{"name":"Silicon","atomic_mass":28.085,"boil":3538,"category":"metalloid","density":2.329,"discovered_by":"Jöns Jacob Berzelius","melt":1687,"molar_heat":19.789,"named_by":"Thomas Thomson (chemist)","number":14,"period":3,"group":14,"phase":"Solid","symbol":"Si","xpos":14,"ypos":3,"wxpos":28,"wypos":3,"shells":[2,8,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p2","electron_configuration_semantic":"[Ne] 3s2 3p2","electron_affinity":134.0684,"electronegativity_pauling":1.9,"ionization_energies":[786.5,1577.1,3231.6,4355.5,16091,19805,23780,29287,33878,38726,45962,50502,235196,257923],"block":"p"},{"name":"Phosphorus","atomic_mass":30.9737619985,"boil":null,"category":"polyatomic nonmetal","density":1.823,"discovered_by":"Hennig Brand","melt":null,"molar_heat":23.824,"named_by":null,"number":15,"period":3,"group":15,"phase":"Solid","symbol":"P","xpos":15,"ypos":3,"wxpos":29,"wypos":3,"shells":[2,8,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p3","electron_configuration_semantic":"[Ne] 3s2 3p3","electron_affinity":72.037,"electronegativity_pauling":2.19,"ionization_energies":[1011.8,1907,2914.1,4963.6,6273.9,21267,25431,29872,35905,40950,46261,54110,59024,271791,296195],"block":"p"},{"name":"Sulfur","atomic_mass":32.06,"boil":717.8,"category":"polyatomic nonmetal","density":2.07,"discovered_by":"Ancient china","melt":388.36,"molar_heat":22.75,"named_by":null,"number":16,"period":3,"group":16,"phase":"Solid","symbol":"S","xpos":16,"ypos":3,"wxpos":30,"wypos":3,"shells":[2,8,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p4","electron_configuration_semantic":"[Ne] 3s2 3p4","electron_affinity":200.4101,"electronegativity_pauling":2.58,"ionization_energies":[999.6,2252,3357,4556,7004.3,8495.8,27107,31719,36621,43177,48710,54460,62930,68216,311048,337138],"block":"p"},{"name":"Chlorine","atomic_mass":35.45,"boil":239.11,"category":"diatomic nonmetal","density":3.2,"discovered_by":"Carl Wilhelm Scheele","melt":171.6,"molar_heat":null,"named_by":null,"number":17,"period":3,"group":17,"phase":"Gas","symbol":"Cl","xpos":17,"ypos":3,"wxpos":31,"wypos":3,"shells":[2,8,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p5","electron_configuration_semantic":"[Ne] 3s2 3p5","electron_affinity":348.575,"electronegativity_pauling":3.16,"ionization_energies":[1251.2,2298,3822,5158.6,6542,9362,11018,33604,38600,43961,51068,57119,63363,72341,78095,352994,380760],"block":"p"},{"name":"Argon","atomic_mass":39.9481,"boil":87.302,"category":"noble gas","density":1.784,"discovered_by":"Lord Rayleigh","melt":83.81,"molar_heat":null,"named_by":null,"number":18,"period":3,"group":18,"phase":"Gas","symbol":"Ar","xpos":18,"ypos":3,"wxpos":32,"wypos":3,"shells":[2,8,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6","electron_configuration_semantic":"[Ne] 3s2 3p6","electron_affinity":-96,"electronegativity_pauling":null,"ionization_energies":[1520.6,2665.8,3931,5771,7238,8781,11995,13842,40760,46186,52002,59653,66199,72918,82473,88576,397605,427066],"block":"p"},{"name":"Potassium","atomic_mass":39.09831,"boil":1032,"category":"alkali metal","density":0.862,"discovered_by":"Humphry Davy","melt":336.7,"molar_heat":29.6,"named_by":null,"number":19,"period":4,"group":1,"phase":"Solid","symbol":"K","xpos":1,"ypos":4,"wxpos":1,"wypos":4,"shells":[2,8,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1","electron_configuration_semantic":"[Ar] 4s1","electron_affinity":48.383,"electronegativity_pauling":0.82,"ionization_energies":[418.8,3052,4420,5877,7975,9590,11343,14944,16963.7,48610,54490,60730,68950,75900,83080,93400,99710,444880,476063],"block":"s"},{"name":"Calcium","atomic_mass":40.0784,"boil":1757,"category":"alkaline earth metal","density":1.55,"discovered_by":"Humphry Davy","melt":1115,"molar_heat":25.929,"named_by":null,"number":20,"period":4,"group":2,"phase":"Solid","symbol":"Ca","xpos":2,"ypos":4,"wxpos":2,"wypos":4,"shells":[2,8,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2","electron_configuration_semantic":"[Ar] 4s2","electron_affinity":2.37,"electronegativity_pauling":1,"ionization_energies":[589.8,1145.4,4912.4,6491,8153,10496,12270,14206,18191,20385,57110,63410,70110,78890,86310,94000,104900,111711,494850,527762],"block":"s"},{"name":"Scandium","atomic_mass":44.9559085,"boil":3109,"category":"transition metal","density":2.985,"discovered_by":"Lars Fredrik Nilson","melt":1814,"molar_heat":25.52,"named_by":null,"number":21,"period":4,"group":3,"phase":"Solid","symbol":"Sc","xpos":3,"ypos":4,"wxpos":17,"wypos":4,"shells":[2,8,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d1","electron_configuration_semantic":"[Ar] 3d1 4s2","electron_affinity":18,"electronegativity_pauling":1.36,"ionization_energies":[633.1,1235,2388.6,7090.6,8843,10679,13310,15250,17370,21726,24102,66320,73010,80160,89490,97400,105600,117000,124270,547530,582163],"block":"d"},{"name":"Titanium","atomic_mass":47.8671,"boil":3560,"category":"transition metal","density":4.506,"discovered_by":"William Gregor","melt":1941,"molar_heat":25.06,"named_by":"Martin Heinrich Klaproth","number":22,"period":4,"group":4,"phase":"Solid","symbol":"Ti","xpos":4,"ypos":4,"wxpos":18,"wypos":4,"shells":[2,8,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d2","electron_configuration_semantic":"[Ar] 3d2 4s2","electron_affinity":7.289,"electronegativity_pauling":1.54,"ionization_energies":[658.8,1309.8,2652.5,4174.6,9581,11533,13590,16440,18530,20833,25575,28125,76015,83280,90880,100700,109100,117800,129900,137530,602930,639294],"block":"d"},{"name":"Vanadium","atomic_mass":50.94151,"boil":3680,"category":"transition metal","density":6,"discovered_by":"Andrés Manuel del Río","melt":2183,"molar_heat":24.89,"named_by":"Isotopes of vanadium","number":23,"period":4,"group":5,"phase":"Solid","symbol":"V","xpos":5,"ypos":4,"wxpos":19,"wypos":4,"shells":[2,8,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d3","electron_configuration_semantic":"[Ar] 3d3 4s2","electron_affinity":50.911,"electronegativity_pauling":1.63,"ionization_energies":[650.9,1414,2830,4507,6298.7,12363,14530,16730,19860,22240,24670,29730,32446,86450,94170,102300,112700,121600,130700,143400,151440,661050,699144],"block":"d"},{"name":"Chromium","atomic_mass":51.99616,"boil":2944,"category":"transition metal","density":7.19,"discovered_by":"Louis Nicolas Vauquelin","melt":2180,"molar_heat":23.35,"named_by":null,"number":24,"period":4,"group":6,"phase":"Solid","symbol":"Cr","xpos":6,"ypos":4,"wxpos":20,"wypos":4,"shells":[2,8,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d5","electron_configuration_semantic":"[Ar] 3d5 4s1","electron_affinity":65.21,"electronegativity_pauling":1.66,"ionization_energies":[652.9,1590.6,2987,4743,6702,8744.9,15455,17820,20190,23580,26130,28750,34230,37066,97510,105800,114300,125300,134700,144300,157700,166090,721870,761733],"block":"d"},{"name":"Manganese","atomic_mass":54.9380443,"boil":2334,"category":"transition metal","density":7.21,"discovered_by":"Torbern Olof Bergman","melt":1519,"molar_heat":26.32,"named_by":null,"number":25,"period":4,"group":7,"phase":"Solid","symbol":"Mn","xpos":7,"ypos":4,"wxpos":21,"wypos":4,"shells":[2,8,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d5","electron_configuration_semantic":"[Ar] 3d5 4s2","electron_affinity":-50,"electronegativity_pauling":1.55,"ionization_energies":[717.3,1509,3248,4940,6990,9220,11500,18770,21400,23960,27590,30330,33150,38880,41987,109480,118100,127100,138600,148500,158600,172500,181380,785450,827067],"block":"d"},{"name":"Iron","atomic_mass":55.8452,"boil":3134,"category":"transition metal","density":7.874,"discovered_by":"5000 BC","melt":1811,"molar_heat":25.1,"named_by":null,"number":26,"period":4,"group":8,"phase":"Solid","symbol":"Fe","xpos":8,"ypos":4,"wxpos":22,"wypos":4,"shells":[2,8,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d6","electron_configuration_semantic":"[Ar] 3d6 4s2","electron_affinity":14.785,"electronegativity_pauling":1.83,"ionization_energies":[762.5,1561.9,2957,5290,7240,9560,12060,14580,22540,25290,28000,31920,34830,37840,44100,47206,122200,131000,140500,152600,163000,173600,188100,195200,851800,895161],"block":"d"},{"name":"Cobalt","atomic_mass":58.9331944,"boil":3200,"category":"transition metal","density":8.9,"discovered_by":"Georg Brandt","melt":1768,"molar_heat":24.81,"named_by":null,"number":27,"period":4,"group":9,"phase":"Solid","symbol":"Co","xpos":9,"ypos":4,"wxpos":23,"wypos":4,"shells":[2,8,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d7","electron_configuration_semantic":"[Ar] 3d7 4s2","electron_affinity":63.898,"electronegativity_pauling":1.88,"ionization_energies":[760.4,1648,3232,4950,7670,9840,12440,15230,17959,26570,29400,32400,36600,39700,42800,49396,52737,134810,145170,154700,167400,178100,189300,204500,214100,920870,966023],"block":"d"},{"name":"Nickel","atomic_mass":58.69344,"boil":3003,"category":"transition metal","density":8.908,"discovered_by":"Axel Fredrik Cronstedt","melt":1728,"molar_heat":26.07,"named_by":null,"number":28,"period":4,"group":10,"phase":"Solid","symbol":"Ni","xpos":10,"ypos":4,"wxpos":24,"wypos":4,"shells":[2,8,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d8","electron_configuration_semantic":"[Ar] 3d8 4s2","electron_affinity":111.65,"electronegativity_pauling":1.91,"ionization_energies":[737.1,1753,3395,5300,7339,10400,12800,15600,18600,21670,30970,34000,37100,41500,44800,48100,55101,58570,148700,159000,169400,182700,194000,205600,221400,231490,992718,1039668],"block":"d"},{"name":"Copper","atomic_mass":63.5463,"boil":2835,"category":"transition metal","density":8.96,"discovered_by":"Middle East","melt":1357.77,"molar_heat":24.44,"named_by":null,"number":29,"period":4,"group":11,"phase":"Solid","symbol":"Cu","xpos":11,"ypos":4,"wxpos":25,"wypos":4,"shells":[2,8,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s1 3d10","electron_configuration_semantic":"[Ar] 3d10 4s1","electron_affinity":119.235,"electronegativity_pauling":1.9,"ionization_energies":[745.5,1957.9,3555,5536,7700,9900,13400,16000,19200,22400,25600,35600,38700,42000,46700,50200,53700,61100,64702,163700,174100,184900,198800,210500,222700,239100,249660,1067358,1116105],"block":"d"},{"name":"Zinc","atomic_mass":65.382,"boil":1180,"category":"transition metal","density":7.14,"discovered_by":"India","melt":692.68,"molar_heat":25.47,"named_by":null,"number":30,"period":4,"group":12,"phase":"Solid","symbol":"Zn","xpos":12,"ypos":4,"wxpos":26,"wypos":4,"shells":[2,8,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10","electron_configuration_semantic":"[Ar] 3d10 4s2","electron_affinity":-58,"electronegativity_pauling":1.65,"ionization_energies":[906.4,1733.3,3833,5731,7970,10400,12900,16800,19600,23000,26400,29990,40490,43800,47300,52300,55900,59700,67300,71200,179100],"block":"d"},{"name":"Gallium","atomic_mass":69.7231,"boil":2673,"category":"post-transition metal","density":5.91,"discovered_by":"Lecoq de Boisbaudran","melt":302.9146,"molar_heat":25.86,"named_by":null,"number":31,"period":4,"group":13,"phase":"Solid","symbol":"Ga","xpos":13,"ypos":4,"wxpos":27,"wypos":4,"shells":[2,8,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p1","electron_configuration_semantic":"[Ar] 3d10 4s2 4p1","electron_affinity":41,"electronegativity_pauling":1.81,"ionization_energies":[578.8,1979.3,2963,6180],"block":"p"},{"name":"Germanium","atomic_mass":72.6308,"boil":3106,"category":"metalloid","density":5.323,"discovered_by":"Clemens Winkler","melt":1211.4,"molar_heat":23.222,"named_by":null,"number":32,"period":4,"group":14,"phase":"Solid","symbol":"Ge","xpos":14,"ypos":4,"wxpos":28,"wypos":4,"shells":[2,8,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p2","electron_configuration_semantic":"[Ar] 3d10 4s2 4p2","electron_affinity":118.9352,"electronegativity_pauling":2.01,"ionization_energies":[762,1537.5,3302.1,4411,9020],"block":"p"},{"name":"Arsenic","atomic_mass":74.9215956,"boil":null,"category":"metalloid","density":5.727,"discovered_by":"Bronze Age","melt":null,"molar_heat":24.64,"named_by":null,"number":33,"period":4,"group":15,"phase":"Solid","symbol":"As","xpos":15,"ypos":4,"wxpos":29,"wypos":4,"shells":[2,8,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p3","electron_configuration_semantic":"[Ar] 3d10 4s2 4p3","electron_affinity":77.65,"electronegativity_pauling":2.18,"ionization_energies":[947,1798,2735,4837,6043,12310],"block":"p"},{"name":"Selenium","atomic_mass":78.9718,"boil":958,"category":"polyatomic nonmetal","density":4.81,"discovered_by":"Jöns Jakob Berzelius","melt":494,"molar_heat":25.363,"named_by":null,"number":34,"period":4,"group":16,"phase":"Solid","symbol":"Se","xpos":16,"ypos":4,"wxpos":30,"wypos":4,"shells":[2,8,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p4","electron_configuration_semantic":"[Ar] 3d10 4s2 4p4","electron_affinity":194.9587,"electronegativity_pauling":2.55,"ionization_energies":[941,2045,2973.7,4144,6590,7880,14990],"block":"p"},{"name":"Bromine","atomic_mass":79.904,"boil":332,"category":"diatomic nonmetal","density":3.1028,"discovered_by":"Antoine Jérôme Balard","melt":265.8,"molar_heat":null,"named_by":null,"number":35,"period":4,"group":17,"phase":"Liquid","symbol":"Br","xpos":17,"ypos":4,"wxpos":31,"wypos":4,"shells":[2,8,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p5","electron_configuration_semantic":"[Ar] 3d10 4s2 4p5","electron_affinity":324.537,"electronegativity_pauling":2.96,"ionization_energies":[1139.9,2103,3470,4560,5760,8550,9940,18600],"block":"p"},{"name":"Krypton","atomic_mass":83.7982,"boil":119.93,"category":"noble gas","density":3.749,"discovered_by":"William Ramsay","melt":115.78,"molar_heat":null,"named_by":null,"number":36,"period":4,"group":18,"phase":"Gas","symbol":"Kr","xpos":18,"ypos":4,"wxpos":32,"wypos":4,"shells":[2,8,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6","electron_configuration_semantic":"[Ar] 3d10 4s2 4p6","electron_affinity":-96,"electronegativity_pauling":3,"ionization_energies":[1350.8,2350.4,3565,5070,6240,7570,10710,12138,22274,25880,29700,33800,37700,43100,47500,52200,57100,61800,75800,80400,85300,90400,96300,101400,111100,116290,282500,296200,311400,326200],"block":"p"},{"name":"Rubidium","atomic_mass":85.46783,"boil":961,"category":"alkali metal","density":1.532,"discovered_by":"Robert Bunsen","melt":312.45,"molar_heat":31.06,"named_by":null,"number":37,"period":5,"group":1,"phase":"Solid","symbol":"Rb","xpos":1,"ypos":5,"wxpos":1,"wypos":5,"shells":[2,8,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1","electron_configuration_semantic":"[Kr] 5s1","electron_affinity":46.884,"electronegativity_pauling":0.82,"ionization_energies":[403,2633,3860,5080,6850,8140,9570,13120,14500,26740],"block":"s"},{"name":"Strontium","atomic_mass":87.621,"boil":1650,"category":"alkaline earth metal","density":2.64,"discovered_by":"William Cruickshank (chemist)","melt":1050,"molar_heat":26.4,"named_by":null,"number":38,"period":5,"group":2,"phase":"Solid","symbol":"Sr","xpos":2,"ypos":5,"wxpos":2,"wypos":5,"shells":[2,8,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2","electron_configuration_semantic":"[Kr] 5s2","electron_affinity":5.023,"electronegativity_pauling":0.95,"ionization_energies":[549.5,1064.2,4138,5500,6910,8760,10230,11800,15600,17100,31270],"block":"s"},{"name":"Yttrium","atomic_mass":88.905842,"boil":3203,"category":"transition metal","density":4.472,"discovered_by":"Johan Gadolin","melt":1799,"molar_heat":26.53,"named_by":null,"number":39,"period":5,"group":3,"phase":"Solid","symbol":"Y","xpos":3,"ypos":5,"wxpos":17,"wypos":5,"shells":[2,8,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d1","electron_configuration_semantic":"[Kr] 4d1 5s2","electron_affinity":29.6,"electronegativity_pauling":1.22,"ionization_energies":[600,1180,1980,5847,7430,8970,11190,12450,14110,18400,19900,36090],"block":"d"},{"name":"Zirconium","atomic_mass":91.2242,"boil":4650,"category":"transition metal","density":6.52,"discovered_by":"Martin Heinrich Klaproth","melt":2128,"molar_heat":25.36,"named_by":null,"number":40,"period":5,"group":4,"phase":"Solid","symbol":"Zr","xpos":4,"ypos":5,"wxpos":18,"wypos":5,"shells":[2,8,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d2","electron_configuration_semantic":"[Kr] 4d2 5s2","electron_affinity":41.806,"electronegativity_pauling":1.33,"ionization_energies":[640.1,1270,2218,3313,7752,9500],"block":"d"},{"name":"Niobium","atomic_mass":92.906372,"boil":5017,"category":"transition metal","density":8.57,"discovered_by":"Charles Hatchett","melt":2750,"molar_heat":24.6,"named_by":null,"number":41,"period":5,"group":5,"phase":"Solid","symbol":"Nb","xpos":5,"ypos":5,"wxpos":19,"wypos":5,"shells":[2,8,18,12,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d4","electron_configuration_semantic":"[Kr] 4d4 5s1","electron_affinity":88.516,"electronegativity_pauling":1.6,"ionization_energies":[652.1,1380,2416,3700,4877,9847,12100],"block":"d"},{"name":"Molybdenum","atomic_mass":95.951,"boil":4912,"category":"transition metal","density":10.28,"discovered_by":"Carl Wilhelm Scheele","melt":2896,"molar_heat":24.06,"named_by":null,"number":42,"period":5,"group":6,"phase":"Solid","symbol":"Mo","xpos":6,"ypos":5,"wxpos":20,"wypos":5,"shells":[2,8,18,13,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d5","electron_configuration_semantic":"[Kr] 4d5 5s1","electron_affinity":72.1,"electronegativity_pauling":2.16,"ionization_energies":[684.3,1560,2618,4480,5257,6640.8,12125,13860,15835,17980,20190,22219,26930,29196,52490,55000,61400,67700,74000,80400,87000,93400,98420,104400,121900,127700,133800,139800,148100,154500],"block":"d"},{"name":"Technetium","atomic_mass":98,"boil":4538,"category":"transition metal","density":11,"discovered_by":"Emilio Segrè","melt":2430,"molar_heat":24.27,"named_by":null,"number":43,"period":5,"group":7,"phase":"Solid","symbol":"Tc","xpos":7,"ypos":5,"wxpos":21,"wypos":5,"shells":[2,8,18,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d5","electron_configuration_semantic":"[Kr] 4d5 5s2","electron_affinity":53,"electronegativity_pauling":1.9,"ionization_energies":[702,1470,2850],"block":"d"},{"name":"Ruthenium","atomic_mass":101.072,"boil":4423,"category":"transition metal","density":12.45,"discovered_by":"Karl Ernst Claus","melt":2607,"molar_heat":24.06,"named_by":null,"number":44,"period":5,"group":8,"phase":"Solid","symbol":"Ru","xpos":8,"ypos":5,"wxpos":22,"wypos":5,"shells":[2,8,18,15,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d7","electron_configuration_semantic":"[Kr] 4d7 5s1","electron_affinity":100.96,"electronegativity_pauling":2.2,"ionization_energies":[710.2,1620,2747],"block":"d"},{"name":"Rhodium","atomic_mass":102.905502,"boil":3968,"category":"transition metal","density":12.41,"discovered_by":"William Hyde Wollaston","melt":2237,"molar_heat":24.98,"named_by":null,"number":45,"period":5,"group":9,"phase":"Solid","symbol":"Rh","xpos":9,"ypos":5,"wxpos":23,"wypos":5,"shells":[2,8,18,16,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d8","electron_configuration_semantic":"[Kr] 4d8 5s1","electron_affinity":110.27,"electronegativity_pauling":2.28,"ionization_energies":[719.7,1740,2997],"block":"d"},{"name":"Palladium","atomic_mass":106.421,"boil":3236,"category":"transition metal","density":12.023,"discovered_by":"William Hyde Wollaston","melt":1828.05,"molar_heat":25.98,"named_by":null,"number":46,"period":5,"group":10,"phase":"Solid","symbol":"Pd","xpos":10,"ypos":5,"wxpos":24,"wypos":5,"shells":[2,8,18,18],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10","electron_configuration_semantic":"[Kr] 4d10","electron_affinity":54.24,"electronegativity_pauling":2.2,"ionization_energies":[804.4,1870,3177],"block":"d"},{"name":"Silver","atomic_mass":107.86822,"boil":2435,"category":"transition metal","density":10.49,"discovered_by":"unknown, before 5000 BC","melt":1234.93,"molar_heat":25.35,"named_by":null,"number":47,"period":5,"group":11,"phase":"Solid","symbol":"Ag","xpos":11,"ypos":5,"wxpos":25,"wypos":5,"shells":[2,8,18,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d10","electron_configuration_semantic":"[Kr] 4d10 5s1","electron_affinity":125.862,"electronegativity_pauling":1.93,"ionization_energies":[731,2070,3361],"block":"d"},{"name":"Cadmium","atomic_mass":112.4144,"boil":1040,"category":"transition metal","density":8.65,"discovered_by":"Karl Samuel Leberecht Hermann","melt":594.22,"molar_heat":26.02,"named_by":"Isotopes of cadmium","number":48,"period":5,"group":12,"phase":"Solid","symbol":"Cd","xpos":12,"ypos":5,"wxpos":26,"wypos":5,"shells":[2,8,18,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10","electron_configuration_semantic":"[Kr] 4d10 5s2","electron_affinity":-68,"electronegativity_pauling":1.69,"ionization_energies":[867.8,1631.4,3616],"block":"d"},{"name":"Indium","atomic_mass":114.8181,"boil":2345,"category":"post-transition metal","density":7.31,"discovered_by":"Ferdinand Reich","melt":429.7485,"molar_heat":26.74,"named_by":null,"number":49,"period":5,"group":13,"phase":"Solid","symbol":"In","xpos":13,"ypos":5,"wxpos":27,"wypos":5,"shells":[2,8,18,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p1","electron_configuration_semantic":"[Kr] 4d10 5s2 5p1","electron_affinity":37.043,"electronegativity_pauling":1.78,"ionization_energies":[558.3,1820.7,2704,5210],"block":"p"},{"name":"Tin","atomic_mass":118.7107,"boil":2875,"category":"post-transition metal","density":7.365,"discovered_by":"unknown, before 3500 BC","melt":505.08,"molar_heat":27.112,"named_by":null,"number":50,"period":5,"group":14,"phase":"Solid","symbol":"Sn","xpos":14,"ypos":5,"wxpos":28,"wypos":5,"shells":[2,8,18,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p2","electron_configuration_semantic":"[Kr] 4d10 5s2 5p2","electron_affinity":107.2984,"electronegativity_pauling":1.96,"ionization_energies":[708.6,1411.8,2943,3930.3,7456],"block":"p"},{"name":"Antimony","atomic_mass":121.7601,"boil":1908,"category":"metalloid","density":6.697,"discovered_by":"unknown, before 3000 BC","melt":903.78,"molar_heat":25.23,"named_by":null,"number":51,"period":5,"group":15,"phase":"Solid","symbol":"Sb","xpos":15,"ypos":5,"wxpos":29,"wypos":5,"shells":[2,8,18,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p3","electron_configuration_semantic":"[Kr] 4d10 5s2 5p3","electron_affinity":101.059,"electronegativity_pauling":2.05,"ionization_energies":[834,1594.9,2440,4260,5400,10400],"block":"p"},{"name":"Tellurium","atomic_mass":127.603,"boil":1261,"category":"metalloid","density":6.24,"discovered_by":"Franz-Joseph Müller von Reichenstein","melt":722.66,"molar_heat":25.73,"named_by":null,"number":52,"period":5,"group":16,"phase":"Solid","symbol":"Te","xpos":16,"ypos":5,"wxpos":30,"wypos":5,"shells":[2,8,18,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p4","electron_configuration_semantic":"[Kr] 4d10 5s2 5p4","electron_affinity":190.161,"electronegativity_pauling":2.1,"ionization_energies":[869.3,1790,2698,3610,5668,6820,13200],"block":"p"},{"name":"Iodine","atomic_mass":126.904473,"boil":457.4,"category":"diatomic nonmetal","density":4.933,"discovered_by":"Bernard Courtois","melt":386.85,"molar_heat":null,"named_by":null,"number":53,"period":5,"group":17,"phase":"Solid","symbol":"I","xpos":17,"ypos":5,"wxpos":31,"wypos":5,"shells":[2,8,18,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p5","electron_configuration_semantic":"[Kr] 4d10 5s2 5p5","electron_affinity":295.1531,"electronegativity_pauling":2.66,"ionization_energies":[1008.4,1845.9,3180],"block":"p"},{"name":"Xenon","atomic_mass":131.2936,"boil":165.051,"category":"noble gas","density":5.894,"discovered_by":"William Ramsay","melt":161.4,"molar_heat":null,"named_by":null,"number":54,"period":5,"group":18,"phase":"Gas","symbol":"Xe","xpos":18,"ypos":5,"wxpos":32,"wypos":5,"shells":[2,8,18,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6","electron_configuration_semantic":"[Kr] 4d10 5s2 5p6","electron_affinity":-77,"electronegativity_pauling":2.6,"ionization_energies":[1170.4,2046.4,3099.4],"block":"p"},{"name":"Cesium","atomic_mass":132.905451966,"boil":944,"category":"alkali metal","density":1.93,"discovered_by":"Robert Bunsen","melt":301.7,"molar_heat":32.21,"named_by":null,"number":55,"period":6,"group":1,"phase":"Solid","symbol":"Cs","xpos":1,"ypos":6,"wxpos":1,"wypos":6,"shells":[2,8,18,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1","electron_configuration_semantic":"[Xe] 6s1","electron_affinity":45.505,"electronegativity_pauling":0.79,"ionization_energies":[375.7,2234.3,3400],"block":"s"},{"name":"Barium","atomic_mass":137.3277,"boil":2118,"category":"alkaline earth metal","density":3.51,"discovered_by":"Carl Wilhelm Scheele","melt":1000,"molar_heat":28.07,"named_by":null,"number":56,"period":6,"group":2,"phase":"Solid","symbol":"Ba","xpos":2,"ypos":6,"wxpos":2,"wypos":6,"shells":[2,8,18,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2","electron_configuration_semantic":"[Xe] 6s2","electron_affinity":13.954,"electronegativity_pauling":0.89,"ionization_energies":[502.9,965.2,3600],"block":"s"},{"name":"Lanthanum","atomic_mass":138.905477,"boil":3737,"category":"lanthanide","density":6.162,"discovered_by":"Carl Gustaf Mosander","melt":1193,"molar_heat":27.11,"named_by":null,"number":57,"period":6,"group":3,"phase":"Solid","symbol":"La","xpos":3,"ypos":9,"wxpos":3,"wypos":6,"shells":[2,8,18,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1","electron_configuration_semantic":"[Xe] 5d16s2","electron_affinity":53,"electronegativity_pauling":1.1,"ionization_energies":[538.1,1067,1850.3,4819,5940],"block":"f"},{"name":"Cerium","atomic_mass":140.1161,"boil":3716,"category":"lanthanide","density":6.77,"discovered_by":"Martin Heinrich Klaproth","melt":1068,"molar_heat":26.94,"named_by":null,"number":58,"period":6,"group":3,"phase":"Solid","symbol":"Ce","xpos":4,"ypos":9,"wxpos":4,"wypos":6,"shells":[2,8,18,19,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1 4f1","electron_configuration_semantic":"[Xe] 4f1 5d1 6s2","electron_affinity":55,"electronegativity_pauling":1.12,"ionization_energies":[534.4,1050,1949,3547,6325,7490],"block":"f"},{"name":"Praseodymium","atomic_mass":140.907662,"boil":3403,"category":"lanthanide","density":6.77,"discovered_by":"Carl Auer von Welsbach","melt":1208,"molar_heat":27.2,"named_by":null,"number":59,"period":6,"group":3,"phase":"Solid","symbol":"Pr","xpos":5,"ypos":9,"wxpos":5,"wypos":6,"shells":[2,8,18,21,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f3","electron_configuration_semantic":"[Xe] 4f3 6s2","electron_affinity":93,"electronegativity_pauling":1.13,"ionization_energies":[527,1020,2086,3761,5551],"block":"f"},{"name":"Neodymium","atomic_mass":144.2423,"boil":3347,"category":"lanthanide","density":7.01,"discovered_by":"Carl Auer von Welsbach","melt":1297,"molar_heat":27.45,"named_by":null,"number":60,"period":6,"group":3,"phase":"Solid","symbol":"Nd","xpos":6,"ypos":9,"wxpos":6,"wypos":6,"shells":[2,8,18,22,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f4","electron_configuration_semantic":"[Xe] 4f4 6s2","electron_affinity":184.87,"electronegativity_pauling":1.14,"ionization_energies":[533.1,1040,2130,3900],"block":"f"},{"name":"Promethium","atomic_mass":145,"boil":3273,"category":"lanthanide","density":7.26,"discovered_by":"Chien Shiung Wu","melt":1315,"molar_heat":null,"named_by":"Isotopes of promethium","number":61,"period":6,"group":3,"phase":"Solid","symbol":"Pm","xpos":7,"ypos":9,"wxpos":7,"wypos":6,"shells":[2,8,18,23,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f5","electron_configuration_semantic":"[Xe] 4f5 6s2","electron_affinity":12.45,"electronegativity_pauling":1.13,"ionization_energies":[540,1050,2150,3970],"block":"f"},{"name":"Samarium","atomic_mass":150.362,"boil":2173,"category":"lanthanide","density":7.52,"discovered_by":"Lecoq de Boisbaudran","melt":1345,"molar_heat":29.54,"named_by":null,"number":62,"period":6,"group":3,"phase":"Solid","symbol":"Sm","xpos":8,"ypos":9,"wxpos":8,"wypos":6,"shells":[2,8,18,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f6","electron_configuration_semantic":"[Xe] 4f6 6s2","electron_affinity":15.63,"electronegativity_pauling":1.17,"ionization_energies":[544.5,1070,2260,3990],"block":"f"},{"name":"Europium","atomic_mass":151.9641,"boil":1802,"category":"lanthanide","density":5.264,"discovered_by":"Eugène-Anatole Demarçay","melt":1099,"molar_heat":27.66,"named_by":null,"number":63,"period":6,"group":3,"phase":"Solid","symbol":"Eu","xpos":9,"ypos":9,"wxpos":9,"wypos":6,"shells":[2,8,18,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7","electron_configuration_semantic":"[Xe] 4f7 6s2","electron_affinity":11.2,"electronegativity_pauling":1.2,"ionization_energies":[547.1,1085,2404,4120],"block":"f"},{"name":"Gadolinium","atomic_mass":157.253,"boil":3273,"category":"lanthanide","density":7.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1585,"molar_heat":37.03,"named_by":null,"number":64,"period":6,"group":3,"phase":"Solid","symbol":"Gd","xpos":10,"ypos":9,"wxpos":10,"wypos":6,"shells":[2,8,18,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7 5d1","electron_configuration_semantic":"[Xe] 4f7 5d1 6s2","electron_affinity":13.22,"electronegativity_pauling":1.2,"ionization_energies":[593.4,1170,1990,4250],"block":"f"},{"name":"Terbium","atomic_mass":158.925352,"boil":3396,"category":"lanthanide","density":8.23,"discovered_by":"Carl Gustaf Mosander","melt":1629,"molar_heat":28.91,"named_by":null,"number":65,"period":6,"group":3,"phase":"Solid","symbol":"Tb","xpos":11,"ypos":9,"wxpos":11,"wypos":6,"shells":[2,8,18,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f9","electron_configuration_semantic":"[Xe] 4f9 6s2","electron_affinity":112.4,"electronegativity_pauling":1.1,"ionization_energies":[565.8,1110,2114,3839],"block":"f"},{"name":"Dysprosium","atomic_mass":162.5001,"boil":2840,"category":"lanthanide","density":8.54,"discovered_by":"Lecoq de Boisbaudran","melt":1680,"molar_heat":27.7,"named_by":null,"number":66,"period":6,"group":3,"phase":"Solid","symbol":"Dy","xpos":12,"ypos":9,"wxpos":12,"wypos":6,"shells":[2,8,18,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f10","electron_configuration_semantic":"[Xe] 4f10 6s2","electron_affinity":33.96,"electronegativity_pauling":1.22,"ionization_energies":[573,1130,2200,3990],"block":"f"},{"name":"Holmium","atomic_mass":164.930332,"boil":2873,"category":"lanthanide","density":8.79,"discovered_by":"Marc Delafontaine","melt":1734,"molar_heat":27.15,"named_by":null,"number":67,"period":6,"group":3,"phase":"Solid","symbol":"Ho","xpos":13,"ypos":9,"wxpos":13,"wypos":6,"shells":[2,8,18,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f11","electron_configuration_semantic":"[Xe] 4f11 6s2","electron_affinity":32.61,"electronegativity_pauling":1.23,"ionization_energies":[581,1140,2204,4100],"block":"f"},{"name":"Erbium","atomic_mass":167.2593,"boil":3141,"category":"lanthanide","density":9.066,"discovered_by":"Carl Gustaf Mosander","melt":1802,"molar_heat":28.12,"named_by":null,"number":68,"period":6,"group":3,"phase":"Solid","symbol":"Er","xpos":14,"ypos":9,"wxpos":14,"wypos":6,"shells":[2,8,18,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f12","electron_configuration_semantic":"[Xe] 4f12 6s2","electron_affinity":30.1,"electronegativity_pauling":1.24,"ionization_energies":[589.3,1150,2194,4120],"block":"f"},{"name":"Thulium","atomic_mass":168.934222,"boil":2223,"category":"lanthanide","density":9.32,"discovered_by":"Per Teodor Cleve","melt":1818,"molar_heat":27.03,"named_by":null,"number":69,"period":6,"group":3,"phase":"Solid","symbol":"Tm","xpos":15,"ypos":9,"wxpos":15,"wypos":6,"shells":[2,8,18,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f13","electron_configuration_semantic":"[Xe] 4f13 6s2","electron_affinity":99,"electronegativity_pauling":1.25,"ionization_energies":[596.7,1160,2285,4120],"block":"f"},{"name":"Ytterbium","atomic_mass":173.0451,"boil":1469,"category":"lanthanide","density":6.9,"discovered_by":"Jean Charles Galissard de Marignac","melt":1097,"molar_heat":26.74,"named_by":null,"number":70,"period":6,"group":3,"phase":"Solid","symbol":"Yb","xpos":16,"ypos":9,"wxpos":16,"wypos":6,"shells":[2,8,18,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14","electron_configuration_semantic":"[Xe] 4f14 6s2","electron_affinity":-1.93,"electronegativity_pauling":1.1,"ionization_energies":[603.4,1174.8,2417,4203],"block":"f"},{"name":"Lutetium","atomic_mass":174.96681,"boil":3675,"category":"lanthanide","density":9.841,"discovered_by":"Georges Urbain","melt":1925,"molar_heat":26.86,"named_by":null,"number":71,"period":6,"group":3,"phase":"Solid","symbol":"Lu","xpos":17,"ypos":9,"wxpos":17,"wypos":6,"shells":[2,8,18,32,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d1","electron_configuration_semantic":"[Xe] 4f14 5d1 6s2","electron_affinity":33.4,"electronegativity_pauling":1.27,"ionization_energies":[523.5,1340,2022.3,4370,6445],"block":"d"},{"name":"Hafnium","atomic_mass":178.492,"boil":4876,"category":"transition metal","density":13.31,"discovered_by":"Dirk Coster","melt":2506,"molar_heat":25.73,"named_by":null,"number":72,"period":6,"group":4,"phase":"Solid","symbol":"Hf","xpos":4,"ypos":6,"wxpos":18,"wypos":6,"shells":[2,8,18,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d2","electron_configuration_semantic":"[Xe] 4f14 5d2 6s2","electron_affinity":17.18,"electronegativity_pauling":1.3,"ionization_energies":[658.5,1440,2250,3216],"block":"d"},{"name":"Tantalum","atomic_mass":180.947882,"boil":5731,"category":"transition metal","density":16.69,"discovered_by":"Anders Gustaf Ekeberg","melt":3290,"molar_heat":25.36,"named_by":null,"number":73,"period":6,"group":5,"phase":"Solid","symbol":"Ta","xpos":5,"ypos":6,"wxpos":19,"wypos":6,"shells":[2,8,18,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d3","electron_configuration_semantic":"[Xe] 4f14 5d3 6s2","electron_affinity":31,"electronegativity_pauling":1.5,"ionization_energies":[761,1500],"block":"d"},{"name":"Tungsten","atomic_mass":183.841,"boil":6203,"category":"transition metal","density":19.25,"discovered_by":"Carl Wilhelm Scheele","melt":3695,"molar_heat":24.27,"named_by":null,"number":74,"period":6,"group":6,"phase":"Solid","symbol":"W","xpos":6,"ypos":6,"wxpos":20,"wypos":6,"shells":[2,8,18,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d4","electron_configuration_semantic":"[Xe] 4f14 5d4 6s2","electron_affinity":78.76,"electronegativity_pauling":2.36,"ionization_energies":[770,1700],"block":"d"},{"name":"Rhenium","atomic_mass":186.2071,"boil":5869,"category":"transition metal","density":21.02,"discovered_by":"Masataka Ogawa","melt":3459,"molar_heat":25.48,"named_by":"Walter Noddack","number":75,"period":6,"group":7,"phase":"Solid","symbol":"Re","xpos":7,"ypos":6,"wxpos":21,"wypos":6,"shells":[2,8,18,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d5","electron_configuration_semantic":"[Xe] 4f14 5d5 6s2","electron_affinity":5.8273,"electronegativity_pauling":1.9,"ionization_energies":[760,1260,2510,3640],"block":"d"},{"name":"Osmium","atomic_mass":190.233,"boil":5285,"category":"transition metal","density":22.59,"discovered_by":"Smithson Tennant","melt":3306,"molar_heat":24.7,"named_by":null,"number":76,"period":6,"group":8,"phase":"Solid","symbol":"Os","xpos":8,"ypos":6,"wxpos":22,"wypos":6,"shells":[2,8,18,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d6","electron_configuration_semantic":"[Xe] 4f14 5d6 6s2","electron_affinity":103.99,"electronegativity_pauling":2.2,"ionization_energies":[840,1600],"block":"d"},{"name":"Iridium","atomic_mass":192.2173,"boil":4403,"category":"transition metal","density":22.56,"discovered_by":"Smithson Tennant","melt":2719,"molar_heat":25.1,"named_by":null,"number":77,"period":6,"group":9,"phase":"Solid","symbol":"Ir","xpos":9,"ypos":6,"wxpos":23,"wypos":6,"shells":[2,8,18,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d7","electron_configuration_semantic":"[Xe] 4f14 5d7 6s2","electron_affinity":150.94,"electronegativity_pauling":2.2,"ionization_energies":[880,1600],"block":"d"},{"name":"Platinum","atomic_mass":195.0849,"boil":4098,"category":"transition metal","density":21.45,"discovered_by":"Antonio de Ulloa","melt":2041.4,"molar_heat":25.86,"named_by":null,"number":78,"period":6,"group":10,"phase":"Solid","symbol":"Pt","xpos":10,"ypos":6,"wxpos":24,"wypos":6,"shells":[2,8,18,32,17,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d9","electron_configuration_semantic":"[Xe] 4f14 5d9 6s1","electron_affinity":205.041,"electronegativity_pauling":2.28,"ionization_energies":[870,1791],"block":"d"},{"name":"Gold","atomic_mass":196.9665695,"boil":3243,"category":"transition metal","density":19.3,"discovered_by":"Middle East","melt":1337.33,"molar_heat":25.418,"named_by":null,"number":79,"period":6,"group":11,"phase":"Solid","symbol":"Au","xpos":11,"ypos":6,"wxpos":25,"wypos":6,"shells":[2,8,18,32,18,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s1","electron_affinity":222.747,"electronegativity_pauling":2.54,"ionization_energies":[890.1,1980],"block":"d"},{"name":"Mercury","atomic_mass":200.5923,"boil":629.88,"category":"transition metal","density":13.534,"discovered_by":"unknown, before 2000 BCE","melt":234.321,"molar_heat":27.983,"named_by":null,"number":80,"period":6,"group":12,"phase":"Liquid","symbol":"Hg","xpos":12,"ypos":6,"wxpos":26,"wypos":6,"shells":[2,8,18,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2","electron_affinity":-48,"electronegativity_pauling":2,"ionization_energies":[1007.1,1810,3300],"block":"d"},{"name":"Thallium","atomic_mass":204.38,"boil":1746,"category":"post-transition metal","density":11.85,"discovered_by":"William Crookes","melt":577,"molar_heat":26.32,"named_by":null,"number":81,"period":6,"group":13,"phase":"Solid","symbol":"Tl","xpos":13,"ypos":6,"wxpos":27,"wypos":6,"shells":[2,8,18,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p1","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p1","electron_affinity":36.4,"electronegativity_pauling":1.62,"ionization_energies":[589.4,1971,2878],"block":"p"},{"name":"Lead","atomic_mass":207.21,"boil":2022,"category":"post-transition metal","density":11.34,"discovered_by":"Middle East","melt":600.61,"molar_heat":26.65,"named_by":null,"number":82,"period":6,"group":14,"phase":"Solid","symbol":"Pb","xpos":14,"ypos":6,"wxpos":28,"wypos":6,"shells":[2,8,18,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p2","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p2","electron_affinity":34.4204,"electronegativity_pauling":1.87,"ionization_energies":[715.6,1450.5,3081.5,4083,6640],"block":"p"},{"name":"Bismuth","atomic_mass":208.980401,"boil":1837,"category":"post-transition metal","density":9.78,"discovered_by":"Claude François Geoffroy","melt":544.7,"molar_heat":25.52,"named_by":null,"number":83,"period":6,"group":15,"phase":"Solid","symbol":"Bi","xpos":15,"ypos":6,"wxpos":29,"wypos":6,"shells":[2,8,18,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p3","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p3","electron_affinity":90.924,"electronegativity_pauling":2.02,"ionization_energies":[703,1610,2466,4370,5400,8520],"block":"p"},{"name":"Polonium","atomic_mass":209,"boil":1235,"category":"post-transition metal","density":9.196,"discovered_by":"Pierre Curie","melt":527,"molar_heat":26.4,"named_by":null,"number":84,"period":6,"group":16,"phase":"Solid","symbol":"Po","xpos":16,"ypos":6,"wxpos":30,"wypos":6,"shells":[2,8,18,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p4","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p4","electron_affinity":136,"electronegativity_pauling":2,"ionization_energies":[812.1],"block":"p"},{"name":"Astatine","atomic_mass":210,"boil":610,"category":"metalloid","density":6.35,"discovered_by":"Dale R. Corson","melt":575,"molar_heat":null,"named_by":null,"number":85,"period":6,"group":17,"phase":"Solid","symbol":"At","xpos":17,"ypos":6,"wxpos":31,"wypos":6,"shells":[2,8,18,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p5","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p5","electron_affinity":233,"electronegativity_pauling":2.2,"ionization_energies":[899.003],"block":"p"},{"name":"Radon","atomic_mass":222,"boil":211.5,"category":"noble gas","density":9.73,"discovered_by":"Friedrich Ernst Dorn","melt":202,"molar_heat":null,"named_by":null,"number":86,"period":6,"group":18,"phase":"Gas","symbol":"Rn","xpos":18,"ypos":6,"wxpos":32,"wypos":6,"shells":[2,8,18,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6","electron_configuration_semantic":"[Xe] 4f14 5d10 6s2 6p6","electron_affinity":-68,"electronegativity_pauling":2.2,"ionization_energies":[1037],"block":"p"},{"name":"Francium","atomic_mass":223,"boil":950,"category":"alkali metal","density":1.87,"discovered_by":"Marguerite Perey","melt":300,"molar_heat":null,"named_by":null,"number":87,"period":7,"group":1,"phase":"Solid","symbol":"Fr","xpos":1,"ypos":7,"wxpos":1,"wypos":7,"shells":[2,8,18,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s1","electron_configuration_semantic":"[Rn] 7s1","electron_affinity":46.89,"electronegativity_pauling":0.79,"ionization_energies":[380],"block":"s"},{"name":"Radium","atomic_mass":226,"boil":2010,"category":"alkaline earth metal","density":5.5,"discovered_by":"Pierre Curie","melt":1233,"molar_heat":null,"named_by":null,"number":88,"period":7,"group":2,"phase":"Solid","symbol":"Ra","xpos":2,"ypos":7,"wxpos":2,"wypos":7,"shells":[2,8,18,32,18,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2","electron_configuration_semantic":"[Rn] 7s2","electron_affinity":9.6485,"electronegativity_pauling":0.9,"ionization_energies":[509.3,979],"block":"s"},{"name":"Actinium","atomic_mass":227,"boil":3500,"category":"actinide","density":10,"discovered_by":"Friedrich Oskar Giesel","melt":1500,"molar_heat":27.2,"named_by":null,"number":89,"period":7,"group":3,"phase":"Solid","symbol":"Ac","xpos":3,"ypos":10,"wxpos":3,"wypos":7,"shells":[2,8,18,32,18,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d1","electron_configuration_semantic":"[Rn] 6d1 7s2","electron_affinity":33.77,"electronegativity_pauling":1.1,"ionization_energies":[499,1170],"block":"f"},{"name":"Thorium","atomic_mass":232.03774,"boil":5061,"category":"actinide","density":11.724,"discovered_by":"Jöns Jakob Berzelius","melt":2023,"molar_heat":26.23,"named_by":null,"number":90,"period":7,"group":3,"phase":"Solid","symbol":"Th","xpos":4,"ypos":10,"wxpos":4,"wypos":7,"shells":[2,8,18,32,18,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d2","electron_configuration_semantic":"[Rn] 6d2 7s2","electron_affinity":112.72,"electronegativity_pauling":1.3,"ionization_energies":[587,1110,1930,2780],"block":"f"},{"name":"Protactinium","atomic_mass":231.035882,"boil":4300,"category":"actinide","density":15.37,"discovered_by":"William Crookes","melt":1841,"molar_heat":null,"named_by":"Otto Hahn","number":91,"period":7,"group":3,"phase":"Solid","symbol":"Pa","xpos":5,"ypos":10,"wxpos":5,"wypos":7,"shells":[2,8,18,32,20,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f2 6d1","electron_configuration_semantic":"[Rn] 5f2 6d1 7s2","electron_affinity":53.03,"electronegativity_pauling":1.5,"ionization_energies":[568],"block":"f"},{"name":"Uranium","atomic_mass":238.028913,"boil":4404,"category":"actinide","density":19.1,"discovered_by":"Martin Heinrich Klaproth","melt":1405.3,"molar_heat":27.665,"named_by":null,"number":92,"period":7,"group":3,"phase":"Solid","symbol":"U","xpos":6,"ypos":10,"wxpos":6,"wypos":7,"shells":[2,8,18,32,21,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f3 6d1","electron_configuration_semantic":"[Rn] 5f3 6d1 7s2","electron_affinity":50.94,"electronegativity_pauling":1.38,"ionization_energies":[597.6,1420],"block":"f"},{"name":"Neptunium","atomic_mass":237,"boil":4447,"category":"actinide","density":20.45,"discovered_by":"Edwin McMillan","melt":912,"molar_heat":29.46,"named_by":null,"number":93,"period":7,"group":3,"phase":"Solid","symbol":"Np","xpos":7,"ypos":10,"wxpos":7,"wypos":7,"shells":[2,8,18,32,22,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f4 6d1","electron_configuration_semantic":"[Rn] 5f4 6d1 7s2","electron_affinity":45.85,"electronegativity_pauling":1.36,"ionization_energies":[604.5],"block":"f"},{"name":"Plutonium","atomic_mass":244,"boil":3505,"category":"actinide","density":19.816,"discovered_by":"Glenn T. Seaborg","melt":912.5,"molar_heat":35.5,"named_by":null,"number":94,"period":7,"group":3,"phase":"Solid","symbol":"Pu","xpos":8,"ypos":10,"wxpos":8,"wypos":7,"shells":[2,8,18,32,24,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f6","electron_configuration_semantic":"[Rn] 5f6 7s2","electron_affinity":-48.33,"electronegativity_pauling":1.28,"ionization_energies":[584.7],"block":"f"},{"name":"Americium","atomic_mass":243,"boil":2880,"category":"actinide","density":12,"discovered_by":"Glenn T. Seaborg","melt":1449,"molar_heat":62.7,"named_by":null,"number":95,"period":7,"group":3,"phase":"Solid","symbol":"Am","xpos":9,"ypos":10,"wxpos":9,"wypos":7,"shells":[2,8,18,32,25,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7","electron_configuration_semantic":"[Rn] 5f7 7s2","electron_affinity":9.93,"electronegativity_pauling":1.13,"ionization_energies":[578],"block":"f"},{"name":"Curium","atomic_mass":247,"boil":3383,"category":"actinide","density":13.51,"discovered_by":"Glenn T. Seaborg","melt":1613,"molar_heat":null,"named_by":null,"number":96,"period":7,"group":3,"phase":"Solid","symbol":"Cm","xpos":10,"ypos":10,"wxpos":10,"wypos":7,"shells":[2,8,18,32,25,9,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7 6d1","electron_configuration_semantic":"[Rn] 5f7 6d1 7s2","electron_affinity":27.17,"electronegativity_pauling":1.28,"ionization_energies":[581],"block":"f"},{"name":"Berkelium","atomic_mass":247,"boil":2900,"category":"actinide","density":14.78,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1259,"molar_heat":null,"named_by":null,"number":97,"period":7,"group":3,"phase":"Solid","symbol":"Bk","xpos":11,"ypos":10,"wxpos":11,"wypos":7,"shells":[2,8,18,32,27,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f9","electron_configuration_semantic":"[Rn] 5f9 7s2","electron_affinity":-165.24,"electronegativity_pauling":1.3,"ionization_energies":[601],"block":"f"},{"name":"Californium","atomic_mass":251,"boil":1743,"category":"actinide","density":15.1,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1173,"molar_heat":null,"named_by":null,"number":98,"period":7,"group":3,"phase":"Solid","symbol":"Cf","xpos":12,"ypos":10,"wxpos":12,"wypos":7,"shells":[2,8,18,32,28,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f10","electron_configuration_semantic":"[Rn] 5f10 7s2","electron_affinity":-97.31,"electronegativity_pauling":1.3,"ionization_energies":[608],"block":"f"},{"name":"Einsteinium","atomic_mass":252,"boil":1269,"category":"actinide","density":8.84,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1133,"molar_heat":null,"named_by":null,"number":99,"period":7,"group":3,"phase":"Solid","symbol":"Es","xpos":13,"ypos":10,"wxpos":13,"wypos":7,"shells":[2,8,18,32,29,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f11","electron_configuration_semantic":"[Rn] 5f11 7s2","electron_affinity":-28.6,"electronegativity_pauling":1.3,"ionization_energies":[619],"block":"f"},{"name":"Fermium","atomic_mass":257,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1800,"molar_heat":null,"named_by":null,"number":100,"period":7,"group":3,"phase":"Solid","symbol":"Fm","xpos":14,"ypos":10,"wxpos":14,"wypos":7,"shells":[2,8,18,32,30,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f12","electron_configuration_semantic":"[Rn] 5f12 7s2","electron_affinity":33.96,"electronegativity_pauling":1.3,"ionization_energies":[627],"block":"f"},{"name":"Mendelevium","atomic_mass":258,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1100,"molar_heat":null,"named_by":null,"number":101,"period":7,"group":3,"phase":"Solid","symbol":"Md","xpos":15,"ypos":10,"wxpos":15,"wypos":7,"shells":[2,8,18,32,31,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f13","electron_configuration_semantic":"[Rn] 5f13 7s2","electron_affinity":93.91,"electronegativity_pauling":1.3,"ionization_energies":[635],"block":"f"},{"name":"Nobelium","atomic_mass":259,"boil":null,"category":"actinide","density":null,"discovered_by":"Joint Institute for Nuclear Research","melt":1100,"molar_heat":null,"named_by":null,"number":102,"period":7,"group":3,"phase":"Solid","symbol":"No","xpos":16,"ypos":10,"wxpos":16,"wypos":7,"shells":[2,8,18,32,32,8,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14","electron_configuration_semantic":"[Rn] 5f14 7s2","electron_affinity":-223.22,"electronegativity_pauling":1.3,"ionization_energies":[642],"block":"f"},{"name":"Lawrencium","atomic_mass":266,"boil":null,"category":"actinide","density":null,"discovered_by":"Lawrence Berkeley National Laboratory","melt":1900,"molar_heat":null,"named_by":null,"number":103,"period":7,"group":3,"phase":"Solid","symbol":"Lr","xpos":17,"ypos":10,"wxpos":17,"wypos":7,"shells":[2,8,18,32,32,8,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 7p1","electron_configuration_semantic":"[Rn] 5f14 7s2 7p1","electron_affinity":-30.04,"electronegativity_pauling":1.3,"ionization_energies":[470],"block":"d"},{"name":"Rutherfordium","atomic_mass":267,"boil":5800,"category":"transition metal","density":23.2,"discovered_by":"Joint Institute for Nuclear Research","melt":2400,"molar_heat":null,"named_by":null,"number":104,"period":7,"group":4,"phase":"Solid","symbol":"Rf","xpos":4,"ypos":7,"wxpos":18,"wypos":7,"shells":[2,8,18,32,32,10,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d2","electron_configuration_semantic":"[Rn] 5f14 6d2 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[580],"block":"d"},{"name":"Dubnium","atomic_mass":268,"boil":null,"category":"transition metal","density":29.3,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":105,"period":7,"group":5,"phase":"Solid","symbol":"Db","xpos":5,"ypos":7,"wxpos":19,"wypos":7,"shells":[2,8,18,32,32,11,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d3","electron_configuration_semantic":"*[Rn] 5f14 6d3 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Seaborgium","atomic_mass":269,"boil":null,"category":"transition metal","density":35,"discovered_by":"Lawrence Berkeley National Laboratory","melt":null,"molar_heat":null,"named_by":null,"number":106,"period":7,"group":6,"phase":"Solid","symbol":"Sg","xpos":6,"ypos":7,"wxpos":20,"wypos":7,"shells":[2,8,18,32,32,12,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d4","electron_configuration_semantic":"*[Rn] 5f14 6d4 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Bohrium","atomic_mass":270,"boil":null,"category":"transition metal","density":37.1,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":107,"period":7,"group":7,"phase":"Solid","symbol":"Bh","xpos":7,"ypos":7,"wxpos":21,"wypos":7,"shells":[2,8,18,32,32,13,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d5","electron_configuration_semantic":"*[Rn] 5f14 6d5 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Hassium","atomic_mass":269,"boil":null,"category":"transition metal","density":40.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":126,"molar_heat":null,"named_by":null,"number":108,"period":7,"group":8,"phase":"Solid","symbol":"Hs","xpos":8,"ypos":7,"wxpos":22,"wypos":7,"shells":[2,8,18,32,32,14,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d6","electron_configuration_semantic":"*[Rn] 5f14 6d6 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Meitnerium","atomic_mass":278,"boil":null,"category":"unknown, probably transition metal","density":37.4,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":109,"period":7,"group":9,"phase":"Solid","symbol":"Mt","xpos":9,"ypos":7,"wxpos":23,"wypos":7,"shells":[2,8,18,32,32,15,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d7","electron_configuration_semantic":"*[Rn] 5f14 6d7 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Darmstadtium","atomic_mass":281,"boil":null,"category":"unknown, probably transition metal","density":34.8,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":110,"period":7,"group":10,"phase":"Solid","symbol":"Ds","xpos":10,"ypos":7,"wxpos":24,"wypos":7,"shells":[2,8,18,32,32,16,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d8","electron_configuration_semantic":"*[Rn] 5f14 6d9 7s1","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Roentgenium","atomic_mass":282,"boil":null,"category":"unknown, probably transition metal","density":28.7,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":111,"period":7,"group":11,"phase":"Solid","symbol":"Rg","xpos":11,"ypos":7,"wxpos":25,"wypos":7,"shells":[2,8,18,32,32,17,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d9","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s1","electron_affinity":151,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Copernicium","atomic_mass":285,"boil":3570,"category":"transition metal","density":14,"discovered_by":"Gesellschaft für Schwerionenforschung","melt":null,"molar_heat":null,"named_by":null,"number":112,"period":7,"group":12,"phase":"Liquid","symbol":"Cn","xpos":12,"ypos":7,"wxpos":26,"wypos":7,"shells":[2,8,18,32,32,18,2],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"d"},{"name":"Nihonium","atomic_mass":286,"boil":1430,"category":"unknown, probably transition metal","density":16,"discovered_by":"RIKEN","melt":700,"molar_heat":null,"named_by":null,"number":113,"period":7,"group":13,"phase":"Solid","symbol":"Nh","xpos":13,"ypos":7,"wxpos":27,"wypos":7,"shells":[2,8,18,32,32,18,3],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p1","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p1","electron_affinity":66.6,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Flerovium","atomic_mass":289,"boil":420,"category":"post-transition metal","density":14,"discovered_by":"Joint Institute for Nuclear Research","melt":340,"molar_heat":null,"named_by":null,"number":114,"period":7,"group":14,"phase":"Solid","symbol":"Fl","xpos":14,"ypos":7,"wxpos":28,"wypos":7,"shells":[2,8,18,32,32,18,4],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p2","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p2","electron_affinity":null,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Moscovium","atomic_mass":289,"boil":1400,"category":"unknown, probably post-transition metal","density":13.5,"discovered_by":"Joint Institute for Nuclear Research","melt":670,"molar_heat":null,"named_by":null,"number":115,"period":7,"group":15,"phase":"Solid","symbol":"Mc","xpos":15,"ypos":7,"wxpos":29,"wypos":7,"shells":[2,8,18,32,32,18,5],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p3","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p3","electron_affinity":35.3,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Livermorium","atomic_mass":293,"boil":1085,"category":"unknown, probably post-transition metal","density":12.9,"discovered_by":"Joint Institute for Nuclear Research","melt":709,"molar_heat":null,"named_by":null,"number":116,"period":7,"group":16,"phase":"Solid","symbol":"Lv","xpos":16,"ypos":7,"wxpos":30,"wypos":7,"shells":[2,8,18,32,32,18,6],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p4","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p4","electron_affinity":74.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Tennessine","atomic_mass":294,"boil":883,"category":"unknown, probably metalloid","density":7.17,"discovered_by":"Joint Institute for Nuclear Research","melt":723,"molar_heat":null,"named_by":null,"number":117,"period":7,"group":17,"phase":"Solid","symbol":"Ts","xpos":17,"ypos":7,"wxpos":31,"wypos":7,"shells":[2,8,18,32,32,18,7],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p5","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p5","electron_affinity":165.9,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Oganesson","atomic_mass":294,"boil":350,"category":"unknown, predicted to be noble gas","density":4.95,"discovered_by":"Joint Institute for Nuclear Research","melt":null,"molar_heat":null,"named_by":null,"number":118,"period":7,"group":18,"phase":"Solid","symbol":"Og","xpos":18,"ypos":7,"wxpos":32,"wypos":7,"shells":[2,8,18,32,32,18,8],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6","electron_configuration_semantic":"*[Rn] 5f14 6d10 7s2 7p6","electron_affinity":5.40318,"electronegativity_pauling":null,"ionization_energies":[],"block":"p"},{"name":"Ununennium","atomic_mass":315,"boil":630,"category":"unknown, but predicted to be an alkali metal","density":3,"discovered_by":"GSI Helmholtz Centre for Heavy Ion Research","melt":null,"molar_heat":null,"named_by":null,"number":119,"period":8,"group":1,"phase":"Solid","symbol":"Uue","xpos":1,"ypos":8,"wxpos":1,"wypos":8,"shells":[2,8,18,32,32,18,8,1],"electron_configuration":"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6 8s1","electron_configuration_semantic":"*[Uuo] 8s1","electron_affinity":63.87,"electronegativity_pauling":null,"ionization_energies":[],"block":"s"}]'), Qr = {
3048
+ elements: Yr
2800
3049
  };
2801
- var Dr = /* @__PURE__ */ Kn("<button> </button>"), Pr = /* @__PURE__ */ Kn('<div class="element-overview svelte-1h56j87" style="grid-row: 2 / span 2; grid-column: 3 / span 10;" aria-live="polite"><div><div class="left-col svelte-1h56j87"><div class="symbol-center svelte-1h56j87"> </div> <div class="element-name svelte-1h56j87"> </div></div> <div class="right-col svelte-1h56j87"><div class="top-row svelte-1h56j87"><div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Atomic Mass</div> <div class="value svelte-1h56j87"> </div></div> <div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Atomic No</div> <div class="value svelte-1h56j87"> </div></div></div> <div class="bottom-row svelte-1h56j87"><div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Electron Config</div> <div class="value svelte-1h56j87"> </div></div> <div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Phase</div> <div class="value svelte-1h56j87"> </div></div></div></div></div></div>'), Ir = /* @__PURE__ */ Kn('<button tabindex="0"><div class="atomic-number svelte-1h56j87"> </div> <div class="symbol svelte-1h56j87"> </div> <div class="name svelte-1h56j87"> </div> <div class="atomic-mass svelte-1h56j87"> </div></button>'), Br = /* @__PURE__ */ Kn('<div class="group-label svelte-1h56j87"></div>'), Hr = /* @__PURE__ */ Kn('<div class="period-label svelte-1h56j87"><!></div>'), Fr = /* @__PURE__ */ Kn('<div class="periodic-table-container svelte-1h56j87" role="dialog" tabindex="-1" aria-label="Periodic Table - Click elements to view details"><div class="periodic-table-header svelte-1h56j87"><h3 id="periodic-table-title" class="periodic-table-title svelte-1h56j87">Periodic Table</h3> <div class="header-controls svelte-1h56j87"><button class="close-btn svelte-1h56j87" aria-label="Close periodic table"><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></button></div></div> <div class="periodic-table-content svelte-1h56j87"><div class="periodic-table-wrapper svelte-1h56j87"><div class="periodic-table svelte-1h56j87" role="grid" aria-labelledby="periodic-table-title"><div class="element-category-header category-badge-row svelte-1h56j87" role="presentation" style="grid-row: 1; grid-column: 2 / span 16;"><button aria-label="Show all elements">All Elements</button> <!></div> <!> <!></div> <div class="group-labels svelte-1h56j87" aria-hidden="true"></div> <div class="period-labels svelte-1h56j87" aria-hidden="true"></div></div></div></div>');
2802
- const Gr = {
3050
+ var Zr = /* @__PURE__ */ Hn("<button> </button>"), el = /* @__PURE__ */ Hn('<div class="element-overview svelte-1h56j87" style="grid-row: 2 / span 2; grid-column: 3 / span 10;" aria-live="polite"><div><div class="left-col svelte-1h56j87"><div class="symbol-center svelte-1h56j87"> </div> <div class="element-name svelte-1h56j87"> </div></div> <div class="right-col svelte-1h56j87"><div class="top-row svelte-1h56j87"><div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Atomic Mass</div> <div class="value svelte-1h56j87"> </div></div> <div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Atomic No</div> <div class="value svelte-1h56j87"> </div></div></div> <div class="bottom-row svelte-1h56j87"><div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Electron Config</div> <div class="value svelte-1h56j87"> </div></div> <div class="info-block svelte-1h56j87"><div class="label svelte-1h56j87">Phase</div> <div class="value svelte-1h56j87"> </div></div></div></div></div></div>'), nl = /* @__PURE__ */ Hn('<button tabindex="0"><div class="atomic-number svelte-1h56j87"> </div> <div class="symbol svelte-1h56j87"> </div> <div class="name svelte-1h56j87"> </div> <div class="atomic-mass svelte-1h56j87"> </div></button>'), tl = /* @__PURE__ */ Hn('<div class="group-label svelte-1h56j87"></div>'), il = /* @__PURE__ */ Hn('<div class="period-label svelte-1h56j87"><!></div>'), ol = /* @__PURE__ */ Hn('<div class="periodic-table-container svelte-1h56j87" role="dialog" tabindex="-1" aria-label="Periodic Table - Click elements to view details"><div class="periodic-table-header svelte-1h56j87"><h3 id="periodic-table-title" class="periodic-table-title svelte-1h56j87">Periodic Table</h3> <div class="header-controls svelte-1h56j87"><button class="close-btn svelte-1h56j87" aria-label="Close periodic table"><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></button></div></div> <div class="periodic-table-content svelte-1h56j87"><div class="periodic-table-wrapper svelte-1h56j87"><div class="periodic-table svelte-1h56j87" role="grid" aria-labelledby="periodic-table-title"><div class="element-category-header category-badge-row svelte-1h56j87" role="presentation" style="grid-row: 1; grid-column: 2 / span 16;"><button aria-label="Show all elements">All Elements</button> <!></div> <!> <!></div> <div class="group-labels svelte-1h56j87" aria-hidden="true"></div> <div class="period-labels svelte-1h56j87" aria-hidden="true"></div></div></div></div>');
3051
+ const sl = {
2803
3052
  hash: "svelte-1h56j87",
2804
3053
  code: `.periodic-table-container.svelte-1h56j87 {position:fixed;background:white;box-shadow:0 10px 40px rgba(0, 0, 0, 0.3);user-select:none;touch-action:none;border-radius:12px;overflow:visible; /* Changed from hidden to visible to show all content without clipping */z-index:2000; /* ZIndexLayer.MODAL */min-width:1100px; /* Match default width */display:flex;flex-direction:column;}
2805
3054
 
@@ -2828,25 +3077,25 @@ const Gr = {
2828
3077
 
2829
3078
  /* Category-based background colors (matching production implementation) */.alkali-metal.svelte-1h56j87 {background-color:#ff9e9e;}.alkaline-earth-metal.svelte-1h56j87 {background-color:#ffdc8a;}.alkaline-earth.svelte-1h56j87 {background-color:#ffdc8a; /* Also handle without "-metal" suffix */}.lanthanide.svelte-1h56j87 {background-color:#f9a8d4;}.actinide.svelte-1h56j87 {background-color:#e0aaff;}.transition-metal.svelte-1h56j87 {background-color:#a3d8f4;}.post-transition-metal.svelte-1h56j87 {background-color:#b4f8c8;}.metalloid.svelte-1h56j87 {background-color:#d9f99d;}.diatomic-nonmetal.svelte-1h56j87 {background-color:#f5f5f5;}.noble-gas.svelte-1h56j87 {background-color:#c4b5fd;}.polyatomic-nonmetal.svelte-1h56j87 {background-color:#fbcfe8;}.nonmetal.svelte-1h56j87 {background-color:#f0f0f0; /* Production implementation also has this */}.halogen.svelte-1h56j87 {background-color:#8ef5d0; /* Production implementation has halogen color */}.unknown.svelte-1h56j87 {background-color:#f5f5f5;}`
2830
3079
  };
2831
- function Ur(e, n) {
2832
- so(n, !0), vr(e, Gr);
2833
- let t = Yt(n, "visible", 7, !1), i = Yt(n, "toolId", 7, "periodicTable"), o = Yt(n, "coordinator");
3080
+ function rl(e, n) {
3081
+ mo(n, !0), Mr(e, sl);
3082
+ let t = Kt(n, "visible", 7, !1), i = Kt(n, "toolId", 7, "periodicTable"), o = Kt(n, "coordinator");
2834
3083
  const s = typeof window < "u";
2835
- let r = /* @__PURE__ */ O(void 0), l = /* @__PURE__ */ O(!1), a = /* @__PURE__ */ O(tn(s ? window.innerWidth / 2 : 400)), u = /* @__PURE__ */ O(tn(s ? window.innerHeight / 2 : 300)), d = /* @__PURE__ */ O(
3084
+ let r = /* @__PURE__ */ D(void 0), a = /* @__PURE__ */ D(!1), c = /* @__PURE__ */ D(en(s ? window.innerWidth / 2 : 400)), u = /* @__PURE__ */ D(en(s ? window.innerHeight / 2 : 300)), d = /* @__PURE__ */ D(
2836
3085
  1100
2837
3086
  // Increased to show all 18 columns without horizontal scrolling
2838
- ), m = /* @__PURE__ */ O(
3087
+ ), m = /* @__PURE__ */ D(
2839
3088
  750
2840
3089
  // Increased to show all 10 rows without vertical scrolling
2841
- ), p = /* @__PURE__ */ O(0), y = /* @__PURE__ */ O(0), h = /* @__PURE__ */ O(!1);
2842
- const C = Or.elements;
2843
- let f = /* @__PURE__ */ O(tn(
2844
- C[0] || null
3090
+ ), p = /* @__PURE__ */ D(0), h = /* @__PURE__ */ D(0), g = /* @__PURE__ */ D(!1);
3091
+ const k = Qr.elements;
3092
+ let f = /* @__PURE__ */ D(en(
3093
+ k[0] || null
2845
3094
  // Initialize with Hydrogen
2846
- )), g = /* @__PURE__ */ O("All");
2847
- function K(x) {
2848
- const T = x.toLowerCase();
2849
- return T.indexOf("unknown") !== -1 ? "Unknown" : {
3095
+ )), y = /* @__PURE__ */ D("All");
3096
+ function V(x) {
3097
+ const z = x.toLowerCase();
3098
+ return z.indexOf("unknown") !== -1 ? "Unknown" : {
2850
3099
  "alkali metal": "Alkali Metal",
2851
3100
  "alkaline earth": "Alkaline Earth Metal",
2852
3101
  "alkaline earth metal": "Alkaline Earth Metal",
@@ -2863,220 +3112,194 @@ function Ur(e, n) {
2863
3112
  actinide: "Actinide",
2864
3113
  metal: "Post-transition Metal"
2865
3114
  // Some elements might just be 'metal'
2866
- }[T] || x;
3115
+ }[z] || x;
2867
3116
  }
2868
- function Ve(x) {
2869
- return x.split(" ").map((T) => T.charAt(0).toUpperCase() + T.slice(1)).join(" ");
3117
+ function Je(x) {
3118
+ return x.split(" ").map((z) => z.charAt(0).toUpperCase() + z.slice(1)).join(" ");
2870
3119
  }
2871
- let ne = /* @__PURE__ */ Mi(() => {
3120
+ let Q = /* @__PURE__ */ Di(() => {
2872
3121
  const x = /* @__PURE__ */ new Set();
2873
- return C.forEach((T) => {
2874
- T.category && x.add(K(T.category));
3122
+ return k.forEach((z) => {
3123
+ z.category && x.add(V(z.category));
2875
3124
  }), Array.from(x).sort();
2876
- }), je = /* @__PURE__ */ Mi(() => _(g) === "All" ? C : C.filter((x) => K(x.category) === _(g)));
2877
- function Le(x) {
2878
- D(f, x, !0);
3125
+ }), Me = /* @__PURE__ */ Di(() => _(y) === "All" ? k : k.filter((x) => V(x.category) === _(y)));
3126
+ function Oe(x) {
3127
+ I(f, x, !0);
2879
3128
  }
2880
- function W(x) {
2881
- D(g, x, !0);
3129
+ function J(x) {
3130
+ I(y, x, !0);
2882
3131
  }
2883
- function xe() {
3132
+ function Ee() {
2884
3133
  o()?.hideTool(i());
2885
3134
  }
2886
- function Qe(x) {
2887
- const T = x.target;
2888
- T.closest(".periodic-table-header") && (T.closest("button") || (D(l, !0), D(p, x.clientX - _(a)), D(y, x.clientY - _(u)), _(r) && (_(r).setPointerCapture(x.pointerId), o()?.bringToFront(_(r)))));
3135
+ function qe(x) {
3136
+ const z = x.target;
3137
+ z.closest(".periodic-table-header") && (z.closest("button") || (I(a, !0), I(p, x.clientX - _(c)), I(h, x.clientY - _(u)), _(r) && (_(r).setPointerCapture(x.pointerId), o()?.bringToFront(_(r)))));
2889
3138
  }
2890
- function I(x) {
2891
- if (!_(l)) return;
2892
- let T = x.clientX - _(p), En = x.clientY - _(y);
2893
- const Wn = (_(r)?.offsetWidth || _(d)) / 2, dt = (_(r)?.offsetHeight || _(m)) / 2;
2894
- D(a, Math.max(Wn, Math.min(T, window.innerWidth - Wn)), !0), D(u, Math.max(dt, Math.min(En, window.innerHeight - dt)), !0);
3139
+ function P(x) {
3140
+ if (!_(a)) return;
3141
+ let z = x.clientX - _(p), kn = x.clientY - _(h);
3142
+ const Fn = (_(r)?.offsetWidth || _(d)) / 2, rt = (_(r)?.offsetHeight || _(m)) / 2;
3143
+ I(c, Math.max(Fn, Math.min(z, window.innerWidth - Fn)), !0), I(u, Math.max(rt, Math.min(kn, window.innerHeight - rt)), !0);
2895
3144
  }
2896
- function ut(x) {
2897
- _(l) && _(r) && (D(l, !1), _(r).releasePointerCapture(x.pointerId));
3145
+ function st(x) {
3146
+ _(a) && _(r) && (I(a, !1), _(r).releasePointerCapture(x.pointerId));
2898
3147
  }
2899
- function Ht(x) {
2900
- x.key === "Escape" && xe();
3148
+ function Ot(x) {
3149
+ x.key === "Escape" && Ee();
2901
3150
  }
2902
- li(() => {
2903
- o() && i() && !_(h) && (_(r) ? o().registerTool(i(), "Periodic Table", _(r), Rt.MODAL) : o().registerTool(i(), "Periodic Table", void 0, Rt.MODAL), D(h, !0));
2904
- }), li(() => {
3151
+ ii(() => {
3152
+ o() && i() && !_(g) && (_(r) ? o().registerTool(i(), "Periodic Table", _(r), Et.MODAL) : o().registerTool(i(), "Periodic Table", void 0, Et.MODAL), I(g, !0));
3153
+ }), ii(() => {
2905
3154
  o() && _(r) && i() && (o().updateToolElement(i(), _(r)), o().bringToFront(_(r)));
2906
- }), yr(() => () => {
3155
+ }), zr(() => () => {
2907
3156
  o() && i() && o().unregisterTool(i());
2908
3157
  });
2909
- var Zo = {
3158
+ var rs = {
2910
3159
  get visible() {
2911
3160
  return t();
2912
3161
  },
2913
3162
  set visible(x = !1) {
2914
- t(x), bt();
3163
+ t(x), gt();
2915
3164
  },
2916
3165
  get toolId() {
2917
3166
  return i();
2918
3167
  },
2919
3168
  set toolId(x = "periodicTable") {
2920
- i(x), bt();
3169
+ i(x), gt();
2921
3170
  },
2922
3171
  get coordinator() {
2923
3172
  return o();
2924
3173
  },
2925
3174
  set coordinator(x) {
2926
- o(x), bt();
3175
+ o(x), gt();
2927
3176
  }
2928
- }, ki = Jt(), es = Kt(ki);
3177
+ }, ki = Er(), ls = cr(ki);
2929
3178
  {
2930
- var ns = (x) => {
2931
- var T = Fr();
2932
- T.__pointerdown = Qe, T.__pointermove = I, T.__pointerup = ut, T.__keydown = Ht;
2933
- var En = z(T), Wn = M(z(En), 2), dt = z(Wn);
2934
- dt.__click = xe, k(Wn), k(En);
2935
- var Si = M(En, 2), Ei = z(Si), Ft = z(Ei), Gt = z(Ft), pt = z(Gt);
3179
+ var as = (x) => {
3180
+ var z = ol();
3181
+ z.__pointerdown = qe, z.__pointermove = P, z.__pointerup = st, z.__keydown = Ot;
3182
+ var kn = T(z), Fn = O(T(kn), 2), rt = T(Fn);
3183
+ rt.__click = Ee, S(Fn), S(kn);
3184
+ var Si = O(kn, 2), Ei = T(Si), Dt = T(Ei), It = T(Dt), lt = T(It);
2936
3185
  let $i;
2937
- pt.__click = () => W("All");
2938
- var ts = M(pt, 2);
2939
- yt(ts, 16, () => _(ne), (F) => F, (F, A) => {
2940
- var R = Dr();
2941
- let G;
2942
- R.__click = () => W(A);
2943
- var ye = z(R, !0);
2944
- k(R), mt(
2945
- (an, ke) => {
2946
- G = ht(R, 1, `category-badge ${an ?? ""}`, "svelte-1h56j87", G, { active: _(g) === A }), Vn(R, "aria-label", `Filter by ${A ?? ""}`), Vn(R, "aria-pressed", _(g) === A), he(ye, ke);
3186
+ lt.__click = () => J("All");
3187
+ var cs = O(lt, 2);
3188
+ _t(cs, 16, () => _(Q), (H) => H, (H, C) => {
3189
+ var R = Zr();
3190
+ let F;
3191
+ R.__click = () => J(C);
3192
+ var he = T(R, !0);
3193
+ S(R), pt(
3194
+ (rn, $e) => {
3195
+ F = mt(R, 1, `category-badge ${rn ?? ""}`, "svelte-1h56j87", F, { active: _(y) === C }), Kn(R, "aria-label", `Filter by ${C ?? ""}`), Kn(R, "aria-pressed", _(y) === C), ge(he, $e);
2947
3196
  },
2948
3197
  [
2949
- () => A.replace(" ", "-").toLowerCase(),
2950
- () => Ve(A)
3198
+ () => C.replace(" ", "-").toLowerCase(),
3199
+ () => Je(C)
2951
3200
  ]
2952
- ), te(F, R);
2953
- }), k(Gt);
2954
- var Ai = M(Gt, 2);
3201
+ ), ye(H, R);
3202
+ }), S(It);
3203
+ var Ai = O(It, 2);
2955
3204
  {
2956
- var is = (F) => {
2957
- var A = Pr(), R = z(A), G = z(R), ye = z(G), an = z(ye, !0);
2958
- k(ye);
2959
- var ke = M(ye, 2), Me = z(ke, !0);
2960
- k(ke), k(G);
2961
- var Oe = M(G, 2), cn = z(Oe), Ze = z(cn), $n = M(z(Ze), 2), V = z($n, !0);
2962
- k($n), k(Ze);
2963
- var De = M(Ze, 2), An = M(z(De), 2), Jn = z(An, !0);
2964
- k(An), k(De), k(cn);
2965
- var ft = M(cn, 2), Se = z(ft), un = M(z(Se), 2), ss = z(un, !0);
2966
- k(un), k(Se);
2967
- var Ri = M(Se, 2), Ci = M(z(Ri), 2), rs = z(Ci, !0);
2968
- k(Ci), k(Ri), k(ft), k(Oe), k(R), k(A), mt(
2969
- (ls) => {
2970
- ht(R, 1, `selected-element-box grid-layout ${ls ?? ""}`, "svelte-1h56j87"), he(an, _(f).symbol), he(Me, _(f).name), he(V, _(f).atomic_mass), he(Jn, _(f).number), he(ss, _(f).electron_configuration_semantic), he(rs, _(f).phase);
3205
+ var us = (H) => {
3206
+ var C = el(), R = T(C), F = T(R), he = T(F), rn = T(he, !0);
3207
+ S(he);
3208
+ var $e = O(he, 2), Un = T($e, !0);
3209
+ S($e), S(F);
3210
+ var Ye = O(F, 2), U = T(Ye), ie = T(U), at = O(T(ie), 2), ln = T(at, !0);
3211
+ S(at), S(ie);
3212
+ var ct = O(ie, 2), ut = O(T(ct), 2), Bt = T(ut, !0);
3213
+ S(ut), S(ct), S(U);
3214
+ var Ti = O(U, 2), Gt = T(Ti), Ri = O(T(Gt), 2), ps = T(Ri, !0);
3215
+ S(Ri), S(Gt);
3216
+ var zi = O(Gt, 2), Ni = O(T(zi), 2), fs = T(Ni, !0);
3217
+ S(Ni), S(zi), S(Ti), S(Ye), S(R), S(C), pt(
3218
+ (_s) => {
3219
+ mt(R, 1, `selected-element-box grid-layout ${_s ?? ""}`, "svelte-1h56j87"), ge(rn, _(f).symbol), ge(Un, _(f).name), ge(ln, _(f).atomic_mass), ge(Bt, _(f).number), ge(ps, _(f).electron_configuration_semantic), ge(fs, _(f).phase);
2971
3220
  },
2972
3221
  [
2973
- () => K(_(f).category).replace(" ", "-").toLowerCase()
3222
+ () => V(_(f).category).replace(" ", "-").toLowerCase()
2974
3223
  ]
2975
- ), te(F, A);
3224
+ ), ye(H, C);
2976
3225
  };
2977
- qn(Ai, (F) => {
2978
- _(f) && F(is);
3226
+ Ut(Ai, (H) => {
3227
+ _(f) && H(us);
2979
3228
  });
2980
3229
  }
2981
- var os = M(Ai, 2);
2982
- yt(os, 17, () => _(je), (F) => F.symbol, (F, A) => {
2983
- var R = Ir();
2984
- let G;
2985
- R.__click = () => Le(_(A)), R.__keydown = (V) => {
2986
- (V.key === "Enter" || V.key === " ") && (V.preventDefault(), Le(_(A)));
3230
+ var ds = O(Ai, 2);
3231
+ _t(ds, 17, () => _(Me), (H) => H.symbol, (H, C) => {
3232
+ var R = nl();
3233
+ let F;
3234
+ R.__click = () => Oe(_(C)), R.__keydown = (ln) => {
3235
+ (ln.key === "Enter" || ln.key === " ") && (ln.preventDefault(), Oe(_(C)));
2987
3236
  };
2988
- var ye = z(R), an = z(ye, !0);
2989
- k(ye);
2990
- var ke = M(ye, 2), Me = z(ke, !0);
2991
- k(ke);
2992
- var Oe = M(ke, 2), cn = z(Oe, !0);
2993
- k(Oe);
2994
- var Ze = M(Oe, 2), $n = z(Ze, !0);
2995
- k(Ze), k(R), mt(
2996
- (V, De, An, Jn) => {
2997
- G = ht(R, 1, `element ${V ?? ""}`, "svelte-1h56j87", G, De), qt(R, `grid-row: ${_(A).ypos ?? ""}; grid-column: ${_(A).xpos ?? ""};`), Vn(R, "title", _(A).name), Vn(R, "aria-label", `${_(A).name ?? ""}, Symbol: ${_(A).symbol ?? ""}, Atomic number: ${_(A).number ?? ""}, Atomic mass: ${An ?? ""}, Category: ${_(A).category ?? ""}`), he(an, _(A).number), he(Me, _(A).symbol), he(cn, _(A).name), he($n, Jn);
3237
+ var he = T(R), rn = T(he, !0);
3238
+ S(he);
3239
+ var $e = O(he, 2), Un = T($e, !0);
3240
+ S($e);
3241
+ var Ye = O($e, 2), U = T(Ye, !0);
3242
+ S(Ye);
3243
+ var ie = O(Ye, 2), at = T(ie, !0);
3244
+ S(ie), S(R), pt(
3245
+ (ln, ct, ut, Bt) => {
3246
+ F = mt(R, 1, `element ${ln ?? ""}`, "svelte-1h56j87", F, ct), Xt(R, `grid-row: ${_(C).ypos ?? ""}; grid-column: ${_(C).xpos ?? ""};`), Kn(R, "title", _(C).name), Kn(R, "aria-label", `${_(C).name ?? ""}, Symbol: ${_(C).symbol ?? ""}, Atomic number: ${_(C).number ?? ""}, Atomic mass: ${ut ?? ""}, Category: ${_(C).category ?? ""}`), ge(rn, _(C).number), ge(Un, _(C).symbol), ge(U, _(C).name), ge(at, Bt);
2998
3247
  },
2999
3248
  [
3000
- () => K(_(A).category).replace(" ", "-").toLowerCase(),
3249
+ () => V(_(C).category).replace(" ", "-").toLowerCase(),
3001
3250
  () => ({
3002
- selected: _(f)?.symbol === _(A).symbol,
3003
- dim: _(g) !== "All" && K(_(A).category) !== _(g)
3251
+ selected: _(f)?.symbol === _(C).symbol,
3252
+ dim: _(y) !== "All" && V(_(C).category) !== _(y)
3004
3253
  }),
3005
- () => _(A).atomic_mass.toFixed(3),
3006
- () => _(A).atomic_mass.toFixed(3)
3254
+ () => _(C).atomic_mass.toFixed(3),
3255
+ () => _(C).atomic_mass.toFixed(3)
3007
3256
  ]
3008
- ), te(F, R);
3009
- }), k(Ft);
3010
- var Ut = M(Ft, 2);
3011
- yt(Ut, 20, () => Array(18), Bi, (F, A, R) => {
3012
- var G = Br();
3013
- qt(G, `left: ${R * 5.555555555555555}%; width: 5.555555555555555%;`), G.textContent = R + 1, te(F, G);
3014
- }), k(Ut);
3015
- var zi = M(Ut, 2);
3016
- yt(zi, 20, () => Array(10), Bi, (F, A, R) => {
3017
- var G = Hr(), ye = z(G);
3257
+ ), ye(H, R);
3258
+ }), S(Dt);
3259
+ var Pt = O(Dt, 2);
3260
+ _t(Pt, 20, () => Array(18), Hi, (H, C, R) => {
3261
+ var F = tl();
3262
+ Xt(F, `left: ${R * 5.555555555555555}%; width: 5.555555555555555%;`), F.textContent = R + 1, ye(H, F);
3263
+ }), S(Pt);
3264
+ var Ci = O(Pt, 2);
3265
+ _t(Ci, 20, () => Array(10), Hi, (H, C, R) => {
3266
+ var F = il(), he = T(F);
3018
3267
  {
3019
- var an = (Me) => {
3020
- }, ke = (Me) => {
3021
- var Oe = Jt(), cn = Kt(Oe);
3022
- {
3023
- var Ze = (V) => {
3024
- var De = Wt("6");
3025
- te(V, De);
3026
- }, $n = (V) => {
3027
- var De = Jt(), An = Kt(De);
3028
- {
3029
- var Jn = (Se) => {
3030
- var un = Wt("7");
3031
- te(Se, un);
3032
- }, ft = (Se) => {
3033
- var un = Wt();
3034
- un.nodeValue = R - 2, te(Se, un);
3035
- };
3036
- qn(
3037
- An,
3038
- (Se) => {
3039
- R === 9 ? Se(Jn) : Se(ft, !1);
3040
- },
3041
- !0
3042
- );
3043
- }
3044
- te(V, De);
3045
- };
3046
- qn(
3047
- cn,
3048
- (V) => {
3049
- R === 8 ? V(Ze) : V($n, !1);
3050
- },
3051
- !0
3052
- );
3053
- }
3054
- te(Me, Oe);
3268
+ var rn = (U) => {
3269
+ }, $e = (U) => {
3270
+ var ie = Ft("6");
3271
+ ye(U, ie);
3272
+ }, Un = (U) => {
3273
+ var ie = Ft("7");
3274
+ ye(U, ie);
3275
+ }, Ye = (U) => {
3276
+ var ie = Ft();
3277
+ ie.nodeValue = R - 2, ye(U, ie);
3055
3278
  };
3056
- qn(ye, (Me) => {
3057
- R < 3 ? Me(an) : Me(ke, !1);
3279
+ Ut(he, (U) => {
3280
+ R < 3 ? U(rn) : R === 8 ? U($e, 1) : R === 9 ? U(Un, 2) : U(Ye, !1);
3058
3281
  });
3059
3282
  }
3060
- k(G), te(F, G);
3061
- }), k(zi), k(Ei), k(Si), k(T), Ar(T, (F) => D(r, F), () => _(r)), mt(() => {
3062
- qt(T, `left: ${_(a) ?? ""}px; top: ${_(u) ?? ""}px; width: ${_(d) ?? ""}px; height: ${_(m) ?? ""}px; transform: translate(-50%, -50%);`), $i = ht(pt, 1, "category-badge svelte-1h56j87", null, $i, { active: _(g) === "All" }), Vn(pt, "aria-pressed", _(g) === "All");
3063
- }), ar("lostpointercapture", T, ut), te(x, T);
3283
+ S(F), ye(H, F);
3284
+ }), S(Ci), S(Ei), S(Si), S(z), Fr(z, (H) => I(r, H), () => _(r)), pt(() => {
3285
+ Xt(z, `left: ${_(c) ?? ""}px; top: ${_(u) ?? ""}px; width: ${_(d) ?? ""}px; height: ${_(m) ?? ""}px; transform: translate(-50%, -50%);`), $i = mt(lt, 1, "category-badge svelte-1h56j87", null, $i, { active: _(y) === "All" }), Kn(lt, "aria-pressed", _(y) === "All");
3286
+ }), vr("lostpointercapture", z, st), ye(x, z);
3064
3287
  };
3065
- qn(es, (x) => {
3066
- t() && x(ns);
3288
+ Ut(ls, (x) => {
3289
+ t() && x(as);
3067
3290
  });
3068
3291
  }
3069
- return te(e, ki), ro(Zo);
3292
+ return ye(e, ki), ho(rs);
3070
3293
  }
3071
- cr([
3294
+ wr([
3072
3295
  "pointerdown",
3073
3296
  "pointermove",
3074
3297
  "pointerup",
3075
3298
  "keydown",
3076
3299
  "click"
3077
3300
  ]);
3078
- customElements.define("pie-tool-periodic-table", Tr(
3079
- Ur,
3301
+ customElements.define("pie-tool-periodic-table", Wr(
3302
+ rl,
3080
3303
  {
3081
3304
  visible: { attribute: "visible", type: "Boolean" },
3082
3305
  toolId: { attribute: "tool-id", type: "String" },
@@ -3086,6 +3309,6 @@ customElements.define("pie-tool-periodic-table", Tr(
3086
3309
  []
3087
3310
  ));
3088
3311
  export {
3089
- Ur as default
3312
+ rl as default
3090
3313
  };
3091
3314
  //# sourceMappingURL=tool-periodic-table.js.map