mc-react-library 0.7.0 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import "./main.css";
2
- import nn, { useState as Z, useRef as kt, useEffect as W } from "react";
3
- var At = { exports: {} }, $ = {};
2
+ import mn, { useState as E, useRef as Mt, useEffect as nt, useMemo as Yn } from "react";
3
+ import { fromOptimade as Gn, fromStructureData as Kn, fromJSON as Ot, toJSON as gn, parseStructure as sn } from "matsci-parse";
4
+ var Zt = { exports: {} }, _t = {};
4
5
  /**
5
6
  * @license React
6
7
  * react-jsx-runtime.production.min.js
@@ -10,21 +11,21 @@ var At = { exports: {} }, $ = {};
10
11
  * This source code is licensed under the MIT license found in the
11
12
  * LICENSE file in the root directory of this source tree.
12
13
  */
13
- var $t;
14
- function Jn() {
15
- if ($t) return $;
16
- $t = 1;
17
- var t = nn, e = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function _(a, u, l) {
19
- var f, d = {}, p = null, b = null;
20
- l !== void 0 && (p = "" + l), u.key !== void 0 && (p = "" + u.key), u.ref !== void 0 && (b = u.ref);
21
- for (f in u) i.call(u, f) && !m.hasOwnProperty(f) && (d[f] = u[f]);
22
- if (a && a.defaultProps) for (f in u = a.defaultProps, u) d[f] === void 0 && (d[f] = u[f]);
23
- return { $$typeof: e, type: a, key: p, ref: b, props: d, _owner: s.current };
14
+ var an;
15
+ function Qn() {
16
+ if (an) return _t;
17
+ an = 1;
18
+ var t = mn, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function m(a, g, l) {
20
+ var p, d = {}, f = null, b = null;
21
+ l !== void 0 && (f = "" + l), g.key !== void 0 && (f = "" + g.key), g.ref !== void 0 && (b = g.ref);
22
+ for (p in g) s.call(g, p) && !_.hasOwnProperty(p) && (d[p] = g[p]);
23
+ if (a && a.defaultProps) for (p in g = a.defaultProps, g) d[p] === void 0 && (d[p] = g[p]);
24
+ return { $$typeof: r, type: a, key: f, ref: b, props: d, _owner: i.current };
24
25
  }
25
- return $.Fragment = o, $.jsx = _, $.jsxs = _, $;
26
+ return _t.Fragment = o, _t.jsx = m, _t.jsxs = m, _t;
26
27
  }
27
- var tt = {};
28
+ var mt = {};
28
29
  /**
29
30
  * @license React
30
31
  * react-jsx-runtime.development.js
@@ -34,91 +35,91 @@ var tt = {};
34
35
  * This source code is licensed under the MIT license found in the
35
36
  * LICENSE file in the root directory of this source tree.
36
37
  */
37
- var tn;
38
- function Vn() {
39
- return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
40
- var t = nn, e = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), a = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), v = Symbol.iterator, R = "@@iterator";
41
- function A(n) {
38
+ var cn;
39
+ function Wn() {
40
+ return cn || (cn = 1, process.env.NODE_ENV !== "production" && function() {
41
+ var t = mn, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
42
+ function P(n) {
42
43
  if (n === null || typeof n != "object")
43
44
  return null;
44
- var c = v && n[v] || n[R];
45
+ var c = x && n[x] || n[S];
45
46
  return typeof c == "function" ? c : null;
46
47
  }
47
- var k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function N(n) {
48
+ var j = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
49
+ function I(n) {
49
50
  {
50
- for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0), h = 1; h < c; h++)
51
- g[h - 1] = arguments[h];
52
- z("error", n, g);
51
+ for (var c = arguments.length, u = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
52
+ u[v - 1] = arguments[v];
53
+ O("error", n, u);
53
54
  }
54
55
  }
55
- function z(n, c, g) {
56
+ function O(n, c, u) {
56
57
  {
57
- var h = k.ReactDebugCurrentFrame, x = h.getStackAddendum();
58
- x !== "" && (c += "%s", g = g.concat([x]));
59
- var w = g.map(function(P) {
60
- return String(P);
58
+ var v = j.ReactDebugCurrentFrame, k = v.getStackAddendum();
59
+ k !== "" && (c += "%s", u = u.concat([k]));
60
+ var C = u.map(function(A) {
61
+ return String(A);
61
62
  });
62
- w.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, w);
63
+ C.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, C);
63
64
  }
64
65
  }
65
- var I = !1, E = !1, un = !1, gn = !1, dn = !1, jt;
66
- jt = Symbol.for("react.module.reference");
67
- function pn(n) {
68
- return !!(typeof n == "string" || typeof n == "function" || n === i || n === m || dn || n === s || n === l || n === f || gn || n === b || I || E || un || typeof n == "object" && n !== null && (n.$$typeof === p || n.$$typeof === d || n.$$typeof === _ || n.$$typeof === a || n.$$typeof === u || // This needs to include all possible module reference object
66
+ var Z = !1, pt = !1, J = !1, ht = !1, it = !1, st;
67
+ st = Symbol.for("react.module.reference");
68
+ function ft(n) {
69
+ return !!(typeof n == "string" || typeof n == "function" || n === s || n === _ || it || n === i || n === l || n === p || ht || n === b || Z || pt || J || typeof n == "object" && n !== null && (n.$$typeof === f || n.$$typeof === d || n.$$typeof === m || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
69
70
  // types supported by any Flight configuration anywhere since
70
71
  // we don't know which Flight build this will end up being used
71
72
  // with.
72
- n.$$typeof === jt || n.getModuleId !== void 0));
73
+ n.$$typeof === st || n.getModuleId !== void 0));
73
74
  }
74
- function hn(n, c, g) {
75
- var h = n.displayName;
76
- if (h)
77
- return h;
78
- var x = c.displayName || c.name || "";
79
- return x !== "" ? g + "(" + x + ")" : g;
75
+ function K(n, c, u) {
76
+ var v = n.displayName;
77
+ if (v)
78
+ return v;
79
+ var k = c.displayName || c.name || "";
80
+ return k !== "" ? u + "(" + k + ")" : u;
80
81
  }
81
- function Rt(n) {
82
+ function vt(n) {
82
83
  return n.displayName || "Context";
83
84
  }
84
- function H(n) {
85
+ function z(n) {
85
86
  if (n == null)
86
87
  return null;
87
- if (typeof n.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
88
+ if (typeof n.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
88
89
  return n.displayName || n.name || null;
89
90
  if (typeof n == "string")
90
91
  return n;
91
92
  switch (n) {
92
- case i:
93
+ case s:
93
94
  return "Fragment";
94
95
  case o:
95
96
  return "Portal";
96
- case m:
97
+ case _:
97
98
  return "Profiler";
98
- case s:
99
+ case i:
99
100
  return "StrictMode";
100
101
  case l:
101
102
  return "Suspense";
102
- case f:
103
+ case p:
103
104
  return "SuspenseList";
104
105
  }
105
106
  if (typeof n == "object")
106
107
  switch (n.$$typeof) {
107
108
  case a:
108
109
  var c = n;
109
- return Rt(c) + ".Consumer";
110
- case _:
111
- var g = n;
112
- return Rt(g._context) + ".Provider";
113
- case u:
114
- return hn(n, n.render, "ForwardRef");
110
+ return vt(c) + ".Consumer";
111
+ case m:
112
+ var u = n;
113
+ return vt(u._context) + ".Provider";
114
+ case g:
115
+ return K(n, n.render, "ForwardRef");
115
116
  case d:
116
- var h = n.displayName || null;
117
- return h !== null ? h : H(n.type) || "Memo";
118
- case p: {
119
- var x = n, w = x._payload, P = x._init;
117
+ var v = n.displayName || null;
118
+ return v !== null ? v : z(n.type) || "Memo";
119
+ case f: {
120
+ var k = n, C = k._payload, A = k._init;
120
121
  try {
121
- return H(P(w));
122
+ return z(A(C));
122
123
  } catch {
123
124
  return null;
124
125
  }
@@ -126,18 +127,18 @@ function Vn() {
126
127
  }
127
128
  return null;
128
129
  }
129
- var L = Object.assign, X = 0, It, St, Ft, zt, Et, Bt, Tt;
130
- function Mt() {
130
+ var V = Object.assign, Q = 0, yt, Pt, at, ct, h, y, R;
131
+ function B() {
131
132
  }
132
- Mt.__reactDisabledLog = !0;
133
- function fn() {
133
+ B.__reactDisabledLog = !0;
134
+ function W() {
134
135
  {
135
- if (X === 0) {
136
- It = console.log, St = console.info, Ft = console.warn, zt = console.error, Et = console.group, Bt = console.groupCollapsed, Tt = console.groupEnd;
136
+ if (Q === 0) {
137
+ yt = console.log, Pt = console.info, at = console.warn, ct = console.error, h = console.group, y = console.groupCollapsed, R = console.groupEnd;
137
138
  var n = {
138
139
  configurable: !0,
139
140
  enumerable: !0,
140
- value: Mt,
141
+ value: B,
141
142
  writable: !0
142
143
  };
143
144
  Object.defineProperties(console, {
@@ -150,332 +151,332 @@ function Vn() {
150
151
  groupEnd: n
151
152
  });
152
153
  }
153
- X++;
154
+ Q++;
154
155
  }
155
156
  }
156
- function bn() {
157
+ function Pn() {
157
158
  {
158
- if (X--, X === 0) {
159
+ if (Q--, Q === 0) {
159
160
  var n = {
160
161
  configurable: !0,
161
162
  enumerable: !0,
162
163
  writable: !0
163
164
  };
164
165
  Object.defineProperties(console, {
165
- log: L({}, n, {
166
- value: It
166
+ log: V({}, n, {
167
+ value: yt
167
168
  }),
168
- info: L({}, n, {
169
- value: St
169
+ info: V({}, n, {
170
+ value: Pt
170
171
  }),
171
- warn: L({}, n, {
172
- value: Ft
172
+ warn: V({}, n, {
173
+ value: at
173
174
  }),
174
- error: L({}, n, {
175
- value: zt
175
+ error: V({}, n, {
176
+ value: ct
176
177
  }),
177
- group: L({}, n, {
178
- value: Et
178
+ group: V({}, n, {
179
+ value: h
179
180
  }),
180
- groupCollapsed: L({}, n, {
181
- value: Bt
181
+ groupCollapsed: V({}, n, {
182
+ value: y
182
183
  }),
183
- groupEnd: L({}, n, {
184
- value: Tt
184
+ groupEnd: V({}, n, {
185
+ value: R
185
186
  })
186
187
  });
187
188
  }
188
- X < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
+ Q < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
190
  }
190
191
  }
191
- var ut = k.ReactCurrentDispatcher, gt;
192
- function rt(n, c, g) {
192
+ var Rt = j.ReactCurrentDispatcher, St;
193
+ function bt(n, c, u) {
193
194
  {
194
- if (gt === void 0)
195
+ if (St === void 0)
195
196
  try {
196
197
  throw Error();
197
- } catch (x) {
198
- var h = x.stack.trim().match(/\n( *(at )?)/);
199
- gt = h && h[1] || "";
198
+ } catch (k) {
199
+ var v = k.stack.trim().match(/\n( *(at )?)/);
200
+ St = v && v[1] || "";
200
201
  }
201
202
  return `
202
- ` + gt + n;
203
+ ` + St + n;
203
204
  }
204
205
  }
205
- var dt = !1, ot;
206
+ var It = !1, xt;
206
207
  {
207
- var yn = typeof WeakMap == "function" ? WeakMap : Map;
208
- ot = new yn();
208
+ var bn = typeof WeakMap == "function" ? WeakMap : Map;
209
+ xt = new bn();
209
210
  }
210
- function Dt(n, c) {
211
- if (!n || dt)
211
+ function Jt(n, c) {
212
+ if (!n || It)
212
213
  return "";
213
214
  {
214
- var g = ot.get(n);
215
- if (g !== void 0)
216
- return g;
215
+ var u = xt.get(n);
216
+ if (u !== void 0)
217
+ return u;
217
218
  }
218
- var h;
219
- dt = !0;
220
- var x = Error.prepareStackTrace;
219
+ var v;
220
+ It = !0;
221
+ var k = Error.prepareStackTrace;
221
222
  Error.prepareStackTrace = void 0;
222
- var w;
223
- w = ut.current, ut.current = null, fn();
223
+ var C;
224
+ C = Rt.current, Rt.current = null, W();
224
225
  try {
225
226
  if (c) {
226
- var P = function() {
227
+ var A = function() {
227
228
  throw Error();
228
229
  };
229
- if (Object.defineProperty(P.prototype, "props", {
230
+ if (Object.defineProperty(A.prototype, "props", {
230
231
  set: function() {
231
232
  throw Error();
232
233
  }
233
234
  }), typeof Reflect == "object" && Reflect.construct) {
234
235
  try {
235
- Reflect.construct(P, []);
236
- } catch (F) {
237
- h = F;
236
+ Reflect.construct(A, []);
237
+ } catch (D) {
238
+ v = D;
238
239
  }
239
- Reflect.construct(n, [], P);
240
+ Reflect.construct(n, [], A);
240
241
  } else {
241
242
  try {
242
- P.call();
243
- } catch (F) {
244
- h = F;
243
+ A.call();
244
+ } catch (D) {
245
+ v = D;
245
246
  }
246
- n.call(P.prototype);
247
+ n.call(A.prototype);
247
248
  }
248
249
  } else {
249
250
  try {
250
251
  throw Error();
251
- } catch (F) {
252
- h = F;
252
+ } catch (D) {
253
+ v = D;
253
254
  }
254
255
  n();
255
256
  }
256
- } catch (F) {
257
- if (F && h && typeof F.stack == "string") {
258
- for (var y = F.stack.split(`
259
- `), S = h.stack.split(`
260
- `), C = y.length - 1, j = S.length - 1; C >= 1 && j >= 0 && y[C] !== S[j]; )
261
- j--;
262
- for (; C >= 1 && j >= 0; C--, j--)
263
- if (y[C] !== S[j]) {
264
- if (C !== 1 || j !== 1)
257
+ } catch (D) {
258
+ if (D && v && typeof D.stack == "string") {
259
+ for (var w = D.stack.split(`
260
+ `), T = v.stack.split(`
261
+ `), N = w.length - 1, F = T.length - 1; N >= 1 && F >= 0 && w[N] !== T[F]; )
262
+ F--;
263
+ for (; N >= 1 && F >= 0; N--, F--)
264
+ if (w[N] !== T[F]) {
265
+ if (N !== 1 || F !== 1)
265
266
  do
266
- if (C--, j--, j < 0 || y[C] !== S[j]) {
267
- var B = `
268
- ` + y[C].replace(" at new ", " at ");
269
- return n.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", n.displayName)), typeof n == "function" && ot.set(n, B), B;
267
+ if (N--, F--, F < 0 || w[N] !== T[F]) {
268
+ var L = `
269
+ ` + w[N].replace(" at new ", " at ");
270
+ return n.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", n.displayName)), typeof n == "function" && xt.set(n, L), L;
270
271
  }
271
- while (C >= 1 && j >= 0);
272
+ while (N >= 1 && F >= 0);
272
273
  break;
273
274
  }
274
275
  }
275
276
  } finally {
276
- dt = !1, ut.current = w, bn(), Error.prepareStackTrace = x;
277
+ It = !1, Rt.current = C, Pn(), Error.prepareStackTrace = k;
277
278
  }
278
- var K = n ? n.displayName || n.name : "", U = K ? rt(K) : "";
279
- return typeof n == "function" && ot.set(n, U), U;
279
+ var rt = n ? n.displayName || n.name : "", X = rt ? bt(rt) : "";
280
+ return typeof n == "function" && xt.set(n, X), X;
280
281
  }
281
- function Pn(n, c, g) {
282
- return Dt(n, !1);
282
+ function xn(n, c, u) {
283
+ return Jt(n, !1);
283
284
  }
284
- function vn(n) {
285
+ function wn(n) {
285
286
  var c = n.prototype;
286
287
  return !!(c && c.isReactComponent);
287
288
  }
288
- function it(n, c, g) {
289
+ function wt(n, c, u) {
289
290
  if (n == null)
290
291
  return "";
291
292
  if (typeof n == "function")
292
- return Dt(n, vn(n));
293
+ return Jt(n, wn(n));
293
294
  if (typeof n == "string")
294
- return rt(n);
295
+ return bt(n);
295
296
  switch (n) {
296
297
  case l:
297
- return rt("Suspense");
298
- case f:
299
- return rt("SuspenseList");
298
+ return bt("Suspense");
299
+ case p:
300
+ return bt("SuspenseList");
300
301
  }
301
302
  if (typeof n == "object")
302
303
  switch (n.$$typeof) {
303
- case u:
304
- return Pn(n.render);
304
+ case g:
305
+ return xn(n.render);
305
306
  case d:
306
- return it(n.type, c, g);
307
- case p: {
308
- var h = n, x = h._payload, w = h._init;
307
+ return wt(n.type, c, u);
308
+ case f: {
309
+ var v = n, k = v._payload, C = v._init;
309
310
  try {
310
- return it(w(x), c, g);
311
+ return wt(C(k), c, u);
311
312
  } catch {
312
313
  }
313
314
  }
314
315
  }
315
316
  return "";
316
317
  }
317
- var q = Object.prototype.hasOwnProperty, Zt = {}, Ot = k.ReactDebugCurrentFrame;
318
- function st(n) {
318
+ var lt = Object.prototype.hasOwnProperty, Vt = {}, Yt = j.ReactDebugCurrentFrame;
319
+ function At(n) {
319
320
  if (n) {
320
- var c = n._owner, g = it(n.type, n._source, c ? c.type : null);
321
- Ot.setExtraStackFrame(g);
321
+ var c = n._owner, u = wt(n.type, n._source, c ? c.type : null);
322
+ Yt.setExtraStackFrame(u);
322
323
  } else
323
- Ot.setExtraStackFrame(null);
324
+ Yt.setExtraStackFrame(null);
324
325
  }
325
- function xn(n, c, g, h, x) {
326
+ function An(n, c, u, v, k) {
326
327
  {
327
- var w = Function.call.bind(q);
328
- for (var P in n)
329
- if (w(n, P)) {
330
- var y = void 0;
328
+ var C = Function.call.bind(lt);
329
+ for (var A in n)
330
+ if (C(n, A)) {
331
+ var w = void 0;
331
332
  try {
332
- if (typeof n[P] != "function") {
333
- var S = Error((h || "React class") + ": " + g + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw S.name = "Invariant Violation", S;
333
+ if (typeof n[A] != "function") {
334
+ var T = Error((v || "React class") + ": " + u + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ throw T.name = "Invariant Violation", T;
335
336
  }
336
- y = n[P](c, P, h, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (C) {
338
- y = C;
337
+ w = n[A](c, A, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
+ } catch (N) {
339
+ w = N;
339
340
  }
340
- y && !(y instanceof Error) && (st(x), N("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", g, P, typeof y), st(null)), y instanceof Error && !(y.message in Zt) && (Zt[y.message] = !0, st(x), N("Failed %s type: %s", g, y.message), st(null));
341
+ w && !(w instanceof Error) && (At(k), I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, A, typeof w), At(null)), w instanceof Error && !(w.message in Vt) && (Vt[w.message] = !0, At(k), I("Failed %s type: %s", u, w.message), At(null));
341
342
  }
342
343
  }
343
344
  }
344
- var An = Array.isArray;
345
- function pt(n) {
346
- return An(n);
345
+ var kn = Array.isArray;
346
+ function Nt(n) {
347
+ return kn(n);
347
348
  }
348
- function wn(n) {
349
+ function jn(n) {
349
350
  {
350
- var c = typeof Symbol == "function" && Symbol.toStringTag, g = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
351
- return g;
351
+ var c = typeof Symbol == "function" && Symbol.toStringTag, u = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
352
+ return u;
352
353
  }
353
354
  }
354
- function kn(n) {
355
+ function Cn(n) {
355
356
  try {
356
- return Ht(n), !1;
357
+ return Gt(n), !1;
357
358
  } catch {
358
359
  return !0;
359
360
  }
360
361
  }
361
- function Ht(n) {
362
+ function Gt(n) {
362
363
  return "" + n;
363
364
  }
364
- function Lt(n) {
365
- if (kn(n))
366
- return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wn(n)), Ht(n);
365
+ function Kt(n) {
366
+ if (Cn(n))
367
+ return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jn(n)), Gt(n);
367
368
  }
368
- var Ut = k.ReactCurrentOwner, Nn = {
369
+ var Qt = j.ReactCurrentOwner, Rn = {
369
370
  key: !0,
370
371
  ref: !0,
371
372
  __self: !0,
372
373
  __source: !0
373
- }, Jt, Vt;
374
- function Cn(n) {
375
- if (q.call(n, "ref")) {
374
+ }, Wt, Xt;
375
+ function Sn(n) {
376
+ if (lt.call(n, "ref")) {
376
377
  var c = Object.getOwnPropertyDescriptor(n, "ref").get;
377
378
  if (c && c.isReactWarning)
378
379
  return !1;
379
380
  }
380
381
  return n.ref !== void 0;
381
382
  }
382
- function jn(n) {
383
- if (q.call(n, "key")) {
383
+ function In(n) {
384
+ if (lt.call(n, "key")) {
384
385
  var c = Object.getOwnPropertyDescriptor(n, "key").get;
385
386
  if (c && c.isReactWarning)
386
387
  return !1;
387
388
  }
388
389
  return n.key !== void 0;
389
390
  }
390
- function Rn(n, c) {
391
- typeof n.ref == "string" && Ut.current;
391
+ function Nn(n, c) {
392
+ typeof n.ref == "string" && Qt.current;
392
393
  }
393
- function In(n, c) {
394
+ function Fn(n, c) {
394
395
  {
395
- var g = function() {
396
- Jt || (Jt = !0, N("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
396
+ var u = function() {
397
+ Wt || (Wt = !0, I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
397
398
  };
398
- g.isReactWarning = !0, Object.defineProperty(n, "key", {
399
- get: g,
399
+ u.isReactWarning = !0, Object.defineProperty(n, "key", {
400
+ get: u,
400
401
  configurable: !0
401
402
  });
402
403
  }
403
404
  }
404
- function Sn(n, c) {
405
+ function En(n, c) {
405
406
  {
406
- var g = function() {
407
- Vt || (Vt = !0, N("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
407
+ var u = function() {
408
+ Xt || (Xt = !0, I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
408
409
  };
409
- g.isReactWarning = !0, Object.defineProperty(n, "ref", {
410
- get: g,
410
+ u.isReactWarning = !0, Object.defineProperty(n, "ref", {
411
+ get: u,
411
412
  configurable: !0
412
413
  });
413
414
  }
414
415
  }
415
- var Fn = function(n, c, g, h, x, w, P) {
416
- var y = {
416
+ var zn = function(n, c, u, v, k, C, A) {
417
+ var w = {
417
418
  // This tag allows us to uniquely identify this as a React Element
418
- $$typeof: e,
419
+ $$typeof: r,
419
420
  // Built-in properties that belong on the element
420
421
  type: n,
421
422
  key: c,
422
- ref: g,
423
- props: P,
423
+ ref: u,
424
+ props: A,
424
425
  // Record the component responsible for creating this element.
425
- _owner: w
426
+ _owner: C
426
427
  };
427
- return y._store = {}, Object.defineProperty(y._store, "validated", {
428
+ return w._store = {}, Object.defineProperty(w._store, "validated", {
428
429
  configurable: !1,
429
430
  enumerable: !1,
430
431
  writable: !0,
431
432
  value: !1
432
- }), Object.defineProperty(y, "_self", {
433
+ }), Object.defineProperty(w, "_self", {
433
434
  configurable: !1,
434
435
  enumerable: !1,
435
436
  writable: !1,
436
- value: h
437
- }), Object.defineProperty(y, "_source", {
437
+ value: v
438
+ }), Object.defineProperty(w, "_source", {
438
439
  configurable: !1,
439
440
  enumerable: !1,
440
441
  writable: !1,
441
- value: x
442
- }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
442
+ value: k
443
+ }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
443
444
  };
444
- function zn(n, c, g, h, x) {
445
+ function Bn(n, c, u, v, k) {
445
446
  {
446
- var w, P = {}, y = null, S = null;
447
- g !== void 0 && (Lt(g), y = "" + g), jn(c) && (Lt(c.key), y = "" + c.key), Cn(c) && (S = c.ref, Rn(c, x));
448
- for (w in c)
449
- q.call(c, w) && !Nn.hasOwnProperty(w) && (P[w] = c[w]);
447
+ var C, A = {}, w = null, T = null;
448
+ u !== void 0 && (Kt(u), w = "" + u), In(c) && (Kt(c.key), w = "" + c.key), Sn(c) && (T = c.ref, Nn(c, k));
449
+ for (C in c)
450
+ lt.call(c, C) && !Rn.hasOwnProperty(C) && (A[C] = c[C]);
450
451
  if (n && n.defaultProps) {
451
- var C = n.defaultProps;
452
- for (w in C)
453
- P[w] === void 0 && (P[w] = C[w]);
452
+ var N = n.defaultProps;
453
+ for (C in N)
454
+ A[C] === void 0 && (A[C] = N[C]);
454
455
  }
455
- if (y || S) {
456
- var j = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
457
- y && In(P, j), S && Sn(P, j);
456
+ if (w || T) {
457
+ var F = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
458
+ w && Fn(A, F), T && En(A, F);
458
459
  }
459
- return Fn(n, y, S, x, h, Ut.current, P);
460
+ return zn(n, w, T, k, v, Qt.current, A);
460
461
  }
461
462
  }
462
- var ht = k.ReactCurrentOwner, Yt = k.ReactDebugCurrentFrame;
463
- function G(n) {
463
+ var Ft = j.ReactCurrentOwner, qt = j.ReactDebugCurrentFrame;
464
+ function et(n) {
464
465
  if (n) {
465
- var c = n._owner, g = it(n.type, n._source, c ? c.type : null);
466
- Yt.setExtraStackFrame(g);
466
+ var c = n._owner, u = wt(n.type, n._source, c ? c.type : null);
467
+ qt.setExtraStackFrame(u);
467
468
  } else
468
- Yt.setExtraStackFrame(null);
469
+ qt.setExtraStackFrame(null);
469
470
  }
470
- var ft;
471
- ft = !1;
472
- function bt(n) {
473
- return typeof n == "object" && n !== null && n.$$typeof === e;
471
+ var Et;
472
+ Et = !1;
473
+ function zt(n) {
474
+ return typeof n == "object" && n !== null && n.$$typeof === r;
474
475
  }
475
- function Gt() {
476
+ function $t() {
476
477
  {
477
- if (ht.current) {
478
- var n = H(ht.current.type);
478
+ if (Ft.current) {
479
+ var n = z(Ft.current.type);
479
480
  if (n)
480
481
  return `
481
482
 
@@ -484,246 +485,246 @@ Check the render method of \`` + n + "`.";
484
485
  return "";
485
486
  }
486
487
  }
487
- function En(n) {
488
+ function Tn(n) {
488
489
  return "";
489
490
  }
490
- var Kt = {};
491
- function Bn(n) {
491
+ var tn = {};
492
+ function Dn(n) {
492
493
  {
493
- var c = Gt();
494
+ var c = $t();
494
495
  if (!c) {
495
- var g = typeof n == "string" ? n : n.displayName || n.name;
496
- g && (c = `
496
+ var u = typeof n == "string" ? n : n.displayName || n.name;
497
+ u && (c = `
497
498
 
498
- Check the top-level render call using <` + g + ">.");
499
+ Check the top-level render call using <` + u + ">.");
499
500
  }
500
501
  return c;
501
502
  }
502
503
  }
503
- function Qt(n, c) {
504
+ function nn(n, c) {
504
505
  {
505
506
  if (!n._store || n._store.validated || n.key != null)
506
507
  return;
507
508
  n._store.validated = !0;
508
- var g = Bn(c);
509
- if (Kt[g])
509
+ var u = Dn(c);
510
+ if (tn[u])
510
511
  return;
511
- Kt[g] = !0;
512
- var h = "";
513
- n && n._owner && n._owner !== ht.current && (h = " It was passed a child from " + H(n._owner.type) + "."), G(n), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, h), G(null);
512
+ tn[u] = !0;
513
+ var v = "";
514
+ n && n._owner && n._owner !== Ft.current && (v = " It was passed a child from " + z(n._owner.type) + "."), et(n), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), et(null);
514
515
  }
515
516
  }
516
- function Wt(n, c) {
517
+ function en(n, c) {
517
518
  {
518
519
  if (typeof n != "object")
519
520
  return;
520
- if (pt(n))
521
- for (var g = 0; g < n.length; g++) {
522
- var h = n[g];
523
- bt(h) && Qt(h, c);
521
+ if (Nt(n))
522
+ for (var u = 0; u < n.length; u++) {
523
+ var v = n[u];
524
+ zt(v) && nn(v, c);
524
525
  }
525
- else if (bt(n))
526
+ else if (zt(n))
526
527
  n._store && (n._store.validated = !0);
527
528
  else if (n) {
528
- var x = A(n);
529
- if (typeof x == "function" && x !== n.entries)
530
- for (var w = x.call(n), P; !(P = w.next()).done; )
531
- bt(P.value) && Qt(P.value, c);
529
+ var k = P(n);
530
+ if (typeof k == "function" && k !== n.entries)
531
+ for (var C = k.call(n), A; !(A = C.next()).done; )
532
+ zt(A.value) && nn(A.value, c);
532
533
  }
533
534
  }
534
535
  }
535
- function Tn(n) {
536
+ function On(n) {
536
537
  {
537
538
  var c = n.type;
538
539
  if (c == null || typeof c == "string")
539
540
  return;
540
- var g;
541
+ var u;
541
542
  if (typeof c == "function")
542
- g = c.propTypes;
543
- else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
543
+ u = c.propTypes;
544
+ else if (typeof c == "object" && (c.$$typeof === g || // Note: Memo only checks outer props here.
544
545
  // Inner props are checked in the reconciler.
545
546
  c.$$typeof === d))
546
- g = c.propTypes;
547
+ u = c.propTypes;
547
548
  else
548
549
  return;
549
- if (g) {
550
- var h = H(c);
551
- xn(g, n.props, "prop", h, n);
552
- } else if (c.PropTypes !== void 0 && !ft) {
553
- ft = !0;
554
- var x = H(c);
555
- N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
550
+ if (u) {
551
+ var v = z(c);
552
+ An(u, n.props, "prop", v, n);
553
+ } else if (c.PropTypes !== void 0 && !Et) {
554
+ Et = !0;
555
+ var k = z(c);
556
+ I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
556
557
  }
557
- typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
+ typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
558
559
  }
559
560
  }
560
- function Mn(n) {
561
+ function Zn(n) {
561
562
  {
562
- for (var c = Object.keys(n.props), g = 0; g < c.length; g++) {
563
- var h = c[g];
564
- if (h !== "children" && h !== "key") {
565
- G(n), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), G(null);
563
+ for (var c = Object.keys(n.props), u = 0; u < c.length; u++) {
564
+ var v = c[u];
565
+ if (v !== "children" && v !== "key") {
566
+ et(n), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), et(null);
566
567
  break;
567
568
  }
568
569
  }
569
- n.ref !== null && (G(n), N("Invalid attribute `ref` supplied to `React.Fragment`."), G(null));
570
+ n.ref !== null && (et(n), I("Invalid attribute `ref` supplied to `React.Fragment`."), et(null));
570
571
  }
571
572
  }
572
- var Xt = {};
573
- function qt(n, c, g, h, x, w) {
573
+ var rn = {};
574
+ function on(n, c, u, v, k, C) {
574
575
  {
575
- var P = pn(n);
576
- if (!P) {
577
- var y = "";
578
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
579
- var S = En();
580
- S ? y += S : y += Gt();
581
- var C;
582
- n === null ? C = "null" : pt(n) ? C = "array" : n !== void 0 && n.$$typeof === e ? (C = "<" + (H(n.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : C = typeof n, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, y);
576
+ var A = ft(n);
577
+ if (!A) {
578
+ var w = "";
579
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
+ var T = Tn();
581
+ T ? w += T : w += $t();
582
+ var N;
583
+ n === null ? N = "null" : Nt(n) ? N = "array" : n !== void 0 && n.$$typeof === r ? (N = "<" + (z(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : N = typeof n, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, w);
583
584
  }
584
- var j = zn(n, c, g, x, w);
585
- if (j == null)
586
- return j;
587
- if (P) {
588
- var B = c.children;
589
- if (B !== void 0)
590
- if (h)
591
- if (pt(B)) {
592
- for (var K = 0; K < B.length; K++)
593
- Wt(B[K], n);
594
- Object.freeze && Object.freeze(B);
585
+ var F = Bn(n, c, u, k, C);
586
+ if (F == null)
587
+ return F;
588
+ if (A) {
589
+ var L = c.children;
590
+ if (L !== void 0)
591
+ if (v)
592
+ if (Nt(L)) {
593
+ for (var rt = 0; rt < L.length; rt++)
594
+ en(L[rt], n);
595
+ Object.freeze && Object.freeze(L);
595
596
  } else
596
- N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
597
+ I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
597
598
  else
598
- Wt(B, n);
599
+ en(L, n);
599
600
  }
600
- if (q.call(c, "key")) {
601
- var U = H(n), F = Object.keys(c).filter(function(Un) {
602
- return Un !== "key";
603
- }), yt = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
604
- if (!Xt[U + yt]) {
605
- var Ln = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
606
- N(`A props object containing a "key" prop is being spread into JSX:
601
+ if (lt.call(c, "key")) {
602
+ var X = z(n), D = Object.keys(c).filter(function(Vn) {
603
+ return Vn !== "key";
604
+ }), Bt = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
605
+ if (!rn[X + Bt]) {
606
+ var Jn = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
607
+ I(`A props object containing a "key" prop is being spread into JSX:
607
608
  let props = %s;
608
609
  <%s {...props} />
609
610
  React keys must be passed directly to JSX without using spread:
610
611
  let props = %s;
611
- <%s key={someKey} {...props} />`, yt, U, Ln, U), Xt[U + yt] = !0;
612
+ <%s key={someKey} {...props} />`, Bt, X, Jn, X), rn[X + Bt] = !0;
612
613
  }
613
614
  }
614
- return n === i ? Mn(j) : Tn(j), j;
615
+ return n === s ? Zn(F) : On(F), F;
615
616
  }
616
617
  }
617
- function Dn(n, c, g) {
618
- return qt(n, c, g, !0);
618
+ function Ln(n, c, u) {
619
+ return on(n, c, u, !0);
619
620
  }
620
- function Zn(n, c, g) {
621
- return qt(n, c, g, !1);
621
+ function Mn(n, c, u) {
622
+ return on(n, c, u, !1);
622
623
  }
623
- var On = Zn, Hn = Dn;
624
- tt.Fragment = i, tt.jsx = On, tt.jsxs = Hn;
625
- }()), tt;
624
+ var Hn = Mn, Un = Ln;
625
+ mt.Fragment = s, mt.jsx = Hn, mt.jsxs = Un;
626
+ }()), mt;
626
627
  }
627
- process.env.NODE_ENV === "production" ? At.exports = Jn() : At.exports = Vn();
628
- var r = At.exports;
629
- const Yn = "_button_qg5kh_1", Gn = {
630
- button: Yn
628
+ process.env.NODE_ENV === "production" ? Zt.exports = Qn() : Zt.exports = Wn();
629
+ var e = Zt.exports;
630
+ const Xn = "_button_qg5kh_1", qn = {
631
+ button: Xn
631
632
  };
632
- function ri({ className: t = "", ...e }) {
633
- return /* @__PURE__ */ r.jsx("button", { className: `${Gn.button} ${t}`, ...e, children: "TEST" });
633
+ function li({ className: t = "", ...r }) {
634
+ return /* @__PURE__ */ e.jsx("button", { className: `${qn.button} ${t}`, ...r, children: "TEST" });
634
635
  }
635
- const Kn = "_archive_doicitation_y1o5i_1", Qn = "_doi_badge_y1o5i_9", Wn = "_doi_left_y1o5i_13", Xn = "_doi_right_y1o5i_27", at = {
636
- archive_doicitation: Kn,
637
- doi_badge: Qn,
638
- doi_left: Wn,
639
- doi_right: Xn
640
- }, oi = ({
636
+ const $n = "_archive_doicitation_y1o5i_1", te = "_doi_badge_y1o5i_9", ne = "_doi_left_y1o5i_13", ee = "_doi_right_y1o5i_27", kt = {
637
+ archive_doicitation: $n,
638
+ doi_badge: te,
639
+ doi_left: ne,
640
+ doi_right: ee
641
+ }, _i = ({
641
642
  doi_id: t,
642
- doi: e,
643
+ doi: r,
643
644
  label: o = "DOI",
644
- color: i = "#a2cbff",
645
- className: s = "",
646
- ...m
645
+ color: s = "#a2cbff",
646
+ className: i = "",
647
+ ..._
647
648
  }) => {
648
- let _ = "";
649
- return t != null ? _ = `10.24435/materialscloud:${t}` : _ = e, /* @__PURE__ */ r.jsx("div", { className: `${at.archive_doicitation} ${s}`, ...m, children: /* @__PURE__ */ r.jsxs("span", { className: at.doi_badge, children: [
650
- /* @__PURE__ */ r.jsx("span", { className: at.doi_left, children: o }),
651
- /* @__PURE__ */ r.jsx(
649
+ let m = "";
650
+ return t != null ? m = `10.24435/materialscloud:${t}` : m = r, /* @__PURE__ */ e.jsx("div", { className: `${kt.archive_doicitation} ${i}`, ..._, children: /* @__PURE__ */ e.jsxs("span", { className: kt.doi_badge, children: [
651
+ /* @__PURE__ */ e.jsx("span", { className: kt.doi_left, children: o }),
652
+ /* @__PURE__ */ e.jsx(
652
653
  "a",
653
654
  {
654
- href: `https://doi.org/${_}`,
655
- className: at.doi_right,
655
+ href: `https://doi.org/${m}`,
656
+ className: kt.doi_right,
656
657
  target: "_blank",
657
- style: { backgroundColor: i },
658
- children: _
658
+ style: { backgroundColor: s },
659
+ children: m
659
660
  }
660
661
  )
661
662
  ] }) });
662
- }, nt = (...t) => t.filter(Boolean).join(" ");
663
- function qn(t) {
664
- const e = t == null ? void 0 : t.type, o = (e == null ? void 0 : e.displayName) || (e == null ? void 0 : e.name) || (typeof e == "string" ? e : "");
663
+ }, gt = (...t) => t.filter(Boolean).join(" ");
664
+ function re(t) {
665
+ const r = t == null ? void 0 : t.type, o = (r == null ? void 0 : r.displayName) || (r == null ? void 0 : r.name) || (typeof r == "string" ? r : "");
665
666
  return typeof o == "string" && o.toLowerCase().includes("popover");
666
667
  }
667
- function $n(t) {
668
- let e = t;
669
- for (; e && typeof e == "object" && "props" in e && qn(e); )
670
- e = e.props.children;
671
- return e;
668
+ function oe(t) {
669
+ let r = t;
670
+ for (; r && typeof r == "object" && "props" in r && re(r); )
671
+ r = r.props.children;
672
+ return r;
672
673
  }
673
- function ii({
674
+ function mi({
674
675
  popover: t,
675
- content: e,
676
+ content: r,
676
677
  placement: o = "top",
677
- className: i,
678
- classes: s = {},
679
- children: m = "?",
680
- ..._
678
+ className: s,
679
+ classes: i = {},
680
+ children: _ = "?",
681
+ ...m
681
682
  }) {
682
- const [a, u] = Z(!1), l = kt(null), f = e !== void 0 ? e : t, d = f != null;
683
- return W(() => {
683
+ const [a, g] = E(!1), l = Mt(null), p = r !== void 0 ? r : t, d = p != null;
684
+ return nt(() => {
684
685
  if (!a || !d) return;
685
- const p = (v) => {
686
- l.current && !l.current.contains(v.target) && u(!1);
687
- }, b = (v) => {
688
- v.key === "Escape" && u(!1);
686
+ const f = (x) => {
687
+ l.current && !l.current.contains(x.target) && g(!1);
688
+ }, b = (x) => {
689
+ x.key === "Escape" && g(!1);
689
690
  };
690
- return document.addEventListener("pointerdown", p), document.addEventListener("keydown", b), () => {
691
- document.removeEventListener("pointerdown", p), document.removeEventListener("keydown", b);
691
+ return document.addEventListener("pointerdown", f), document.addEventListener("keydown", b), () => {
692
+ document.removeEventListener("pointerdown", f), document.removeEventListener("keydown", b);
692
693
  };
693
- }, [a, d]), d ? /* @__PURE__ */ r.jsxs(
694
+ }, [a, d]), d ? /* @__PURE__ */ e.jsxs(
694
695
  "div",
695
696
  {
696
697
  ref: l,
697
- className: nt("help-button", i, s.root),
698
- ..._,
698
+ className: gt("help-button", s, i.root),
699
+ ...m,
699
700
  children: [
700
- /* @__PURE__ */ r.jsx(
701
+ /* @__PURE__ */ e.jsx(
701
702
  "button",
702
703
  {
703
704
  type: "button",
704
- className: nt("help-button__trigger", s.trigger),
705
- onClick: () => u((p) => !p),
705
+ className: gt("help-button__trigger", i.trigger),
706
+ onClick: () => g((f) => !f),
706
707
  "aria-expanded": a,
707
708
  "aria-haspopup": "dialog",
708
- children: m
709
+ children: _
709
710
  }
710
711
  ),
711
- a && /* @__PURE__ */ r.jsx(
712
+ a && /* @__PURE__ */ e.jsx(
712
713
  "div",
713
714
  {
714
715
  role: "dialog",
715
716
  "data-placement": o,
716
- className: nt("help-button__popover", s.popover),
717
- children: $n(f)
717
+ className: gt("help-button__popover", i.popover),
718
+ children: oe(p)
718
719
  }
719
720
  )
720
721
  ]
721
722
  }
722
- ) : /* @__PURE__ */ r.jsx("div", { className: nt("help-button", i, s.root), ..._, children: /* @__PURE__ */ r.jsx("span", { className: nt("help-button__trigger", s.trigger), children: m }) });
723
+ ) : /* @__PURE__ */ e.jsx("div", { className: gt("help-button", s, i.root), ...m, children: /* @__PURE__ */ e.jsx("span", { className: gt("help-button__trigger", i.trigger), children: _ }) });
723
724
  }
724
- const te = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='36.012337'%20height='31.802971'%20viewBox='0%200%2036.012336%2031.802972'%20id='svg9098'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='mclogo-split-rotate-v9.svg'%3e%3cdefs%20id='defs9100'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='11.2'%20inkscape:cx='14.890099'%20inkscape:cy='23.051314'%20inkscape:document-units='px'%20inkscape:current-layer='g9'%20showgrid='false'%20units='px'%20inkscape:window-width='1680'%20inkscape:window-height='940'%20inkscape:window-x='0'%20inkscape:window-y='1'%20inkscape:window-maximized='1'%20fit-margin-top='3'%20fit-margin-left='3'%20fit-margin-right='3'%20fit-margin-bottom='5'%20/%3e%3cmetadata%20id='metadata9103'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(3.0066849,-1015.2422)'%3e%3cg%20id='mctriangle'%20transform='matrix(1.1533275,0,0,1.1556928,-379.094,391.20844)'%3e%3cg%20transform='translate(2975.41,266.50511)'%20style='display:inline;stroke:%23d21f15;stroke-width:0.86616874;stroke-opacity:1'%20id='layer6'%20/%3e%3cg%20id='g9'%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9220'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9224'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9228'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9232'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9236'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9240'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9244'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9248'%20/%3e%3cellipse%20ry='0.25958455'%20rx='0.26011693'%20cy='553.91522'%20cx='341.70126'%20id='ref'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.4000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20/%3e%3cpath%20id='mctriangleonly'%20d='M%20335.13723,550.18801%20338.41923,555.66439%20341.70129,561.14077%20344.98332,555.66439%20348.26535,550.18801%20341.70129,550.18801%20Z'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.91575587;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20cy='550.02032'%20cx='348.39252'%20id='circle7840-5'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20cy='550.02032'%20cx='335.01007'%20id='circle7842-0'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20id='circle7844-5'%20cx='341.70132'%20cy='561.30841'%20r='1.4070433'%20/%3e%3ccircle%20r='1.4070433'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0'%20id='movingcircle'%20cx='335.01007'%20cy='550.02032'%3e%3canimateTransform%20id='anim1'%20repeatCount='indefinite'%20begin='0s'%20dur='1s'%20values='0.0%200.0;13.38245%200.0;6.69125%2011.28809;0.0%200.0'%20type='translate'%20attributeName='transform'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
725
- function si({ className: t = "", style: e, ...o }) {
726
- return /* @__PURE__ */ r.jsx(
725
+ const ie = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='36.012337'%20height='31.802971'%20viewBox='0%200%2036.012336%2031.802972'%20id='svg9098'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='mclogo-split-rotate-v9.svg'%3e%3cdefs%20id='defs9100'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='11.2'%20inkscape:cx='14.890099'%20inkscape:cy='23.051314'%20inkscape:document-units='px'%20inkscape:current-layer='g9'%20showgrid='false'%20units='px'%20inkscape:window-width='1680'%20inkscape:window-height='940'%20inkscape:window-x='0'%20inkscape:window-y='1'%20inkscape:window-maximized='1'%20fit-margin-top='3'%20fit-margin-left='3'%20fit-margin-right='3'%20fit-margin-bottom='5'%20/%3e%3cmetadata%20id='metadata9103'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(3.0066849,-1015.2422)'%3e%3cg%20id='mctriangle'%20transform='matrix(1.1533275,0,0,1.1556928,-379.094,391.20844)'%3e%3cg%20transform='translate(2975.41,266.50511)'%20style='display:inline;stroke:%23d21f15;stroke-width:0.86616874;stroke-opacity:1'%20id='layer6'%20/%3e%3cg%20id='g9'%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9220'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9224'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9228'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9232'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9236'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9240'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9244'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9248'%20/%3e%3cellipse%20ry='0.25958455'%20rx='0.26011693'%20cy='553.91522'%20cx='341.70126'%20id='ref'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.4000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20/%3e%3cpath%20id='mctriangleonly'%20d='M%20335.13723,550.18801%20338.41923,555.66439%20341.70129,561.14077%20344.98332,555.66439%20348.26535,550.18801%20341.70129,550.18801%20Z'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.91575587;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20cy='550.02032'%20cx='348.39252'%20id='circle7840-5'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20cy='550.02032'%20cx='335.01007'%20id='circle7842-0'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20id='circle7844-5'%20cx='341.70132'%20cy='561.30841'%20r='1.4070433'%20/%3e%3ccircle%20r='1.4070433'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0'%20id='movingcircle'%20cx='335.01007'%20cy='550.02032'%3e%3canimateTransform%20id='anim1'%20repeatCount='indefinite'%20begin='0s'%20dur='1s'%20values='0.0%200.0;13.38245%200.0;6.69125%2011.28809;0.0%200.0'%20type='translate'%20attributeName='transform'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
726
+ function gi({ className: t = "", style: r, ...o }) {
727
+ return /* @__PURE__ */ e.jsx(
727
728
  "div",
728
729
  {
729
730
  className: t,
@@ -731,13 +732,13 @@ function si({ className: t = "", style: e, ...o }) {
731
732
  background: "transparent",
732
733
  border: "none",
733
734
  textAlign: "center",
734
- ...e
735
+ ...r
735
736
  },
736
737
  ...o,
737
- children: /* @__PURE__ */ r.jsx(
738
+ children: /* @__PURE__ */ e.jsx(
738
739
  "img",
739
740
  {
740
- src: te,
741
+ src: ie,
741
742
  alt: "Materials Cloud spinner",
742
743
  style: {
743
744
  width: "100%",
@@ -750,8 +751,8 @@ function si({ className: t = "", style: e, ...o }) {
750
751
  }
751
752
  );
752
753
  }
753
- function en({ className: t = "h-4 w-4", ...e }) {
754
- return /* @__PURE__ */ r.jsxs(
754
+ function un({ className: t = "h-4 w-4", ...r }) {
755
+ return /* @__PURE__ */ e.jsxs(
755
756
  "svg",
756
757
  {
757
758
  viewBox: "0 0 24 24",
@@ -762,16 +763,16 @@ function en({ className: t = "h-4 w-4", ...e }) {
762
763
  strokeLinejoin: "round",
763
764
  className: t,
764
765
  "aria-hidden": "true",
765
- ...e,
766
+ ...r,
766
767
  children: [
767
- /* @__PURE__ */ r.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
768
- /* @__PURE__ */ r.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
768
+ /* @__PURE__ */ e.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
769
+ /* @__PURE__ */ e.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
769
770
  ]
770
771
  }
771
772
  );
772
773
  }
773
- function rn({ className: t = "h-4 w-4", ...e }) {
774
- return /* @__PURE__ */ r.jsx(
774
+ function dn({ className: t = "h-4 w-4", ...r }) {
775
+ return /* @__PURE__ */ e.jsx(
775
776
  "svg",
776
777
  {
777
778
  viewBox: "0 0 24 24",
@@ -782,13 +783,13 @@ function rn({ className: t = "h-4 w-4", ...e }) {
782
783
  strokeLinejoin: "round",
783
784
  className: t,
784
785
  "aria-hidden": "true",
785
- ...e,
786
- children: /* @__PURE__ */ r.jsx("path", { d: "M20 6 9 17l-5-5" })
786
+ ...r,
787
+ children: /* @__PURE__ */ e.jsx("path", { d: "M20 6 9 17l-5-5" })
787
788
  }
788
789
  );
789
790
  }
790
- function Nt({ className: t = "h-4 w-4", ...e }) {
791
- return /* @__PURE__ */ r.jsxs(
791
+ function Ht({ className: t = "h-4 w-4", ...r }) {
792
+ return /* @__PURE__ */ e.jsxs(
792
793
  "svg",
793
794
  {
794
795
  viewBox: "0 0 24 24",
@@ -799,17 +800,17 @@ function Nt({ className: t = "h-4 w-4", ...e }) {
799
800
  strokeLinejoin: "round",
800
801
  className: t,
801
802
  "aria-hidden": "true",
802
- ...e,
803
+ ...r,
803
804
  children: [
804
- /* @__PURE__ */ r.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
805
- /* @__PURE__ */ r.jsx("polyline", { points: "7 10 12 15 17 10" }),
806
- /* @__PURE__ */ r.jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
805
+ /* @__PURE__ */ e.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
806
+ /* @__PURE__ */ e.jsx("polyline", { points: "7 10 12 15 17 10" }),
807
+ /* @__PURE__ */ e.jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })
807
808
  ]
808
809
  }
809
810
  );
810
811
  }
811
- function ne({ className: t = "h-4 w-4", ...e }) {
812
- return /* @__PURE__ */ r.jsxs(
812
+ function se({ className: t = "h-4 w-4", ...r }) {
813
+ return /* @__PURE__ */ e.jsxs(
813
814
  "svg",
814
815
  {
815
816
  viewBox: "0 0 24 24",
@@ -820,85 +821,85 @@ function ne({ className: t = "h-4 w-4", ...e }) {
820
821
  strokeLinejoin: "round",
821
822
  className: t,
822
823
  "aria-hidden": "true",
823
- ...e,
824
+ ...r,
824
825
  children: [
825
- /* @__PURE__ */ r.jsx("path", { d: "M12 16V4m0 0L7 9m5-5 5 5" }),
826
- /* @__PURE__ */ r.jsx("path", { d: "M5 14v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4" })
826
+ /* @__PURE__ */ e.jsx("path", { d: "M12 16V4m0 0L7 9m5-5 5 5" }),
827
+ /* @__PURE__ */ e.jsx("path", { d: "M5 14v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4" })
827
828
  ]
828
829
  }
829
830
  );
830
831
  }
831
- const J = (...t) => t.filter(Boolean).join(" "), ee = [
832
+ const q = (...t) => t.filter(Boolean).join(" "), ae = [
832
833
  { format: "cif", label: "CIF" },
833
834
  { format: "xsf", label: "XSF" },
834
835
  { format: "xyz", label: "XYZ" }
835
836
  ];
836
- function ai({
837
+ function ui({
837
838
  aiida_rest_url: t,
838
- uuid: e,
839
+ uuid: r,
839
840
  download_formats: o,
840
- title: i = "Download",
841
- className: s,
842
- classes: m = {},
843
- ..._
841
+ title: s = "Download",
842
+ className: i,
843
+ classes: _ = {},
844
+ ...m
844
845
  }) {
845
- const [a, u] = Z(!1), l = kt(null), f = `${t}/nodes/${e}/download`, d = o || ee;
846
- return W(() => {
846
+ const [a, g] = E(!1), l = Mt(null), p = `${t}/nodes/${r}/download`, d = o || ae;
847
+ return nt(() => {
847
848
  if (!a) return;
848
- const p = (v) => {
849
- l.current && !l.current.contains(v.target) && u(!1);
850
- }, b = (v) => {
851
- v.key === "Escape" && u(!1);
849
+ const f = (x) => {
850
+ l.current && !l.current.contains(x.target) && g(!1);
851
+ }, b = (x) => {
852
+ x.key === "Escape" && g(!1);
852
853
  };
853
- return document.addEventListener("pointerdown", p), document.addEventListener("keydown", b), () => {
854
- document.removeEventListener("pointerdown", p), document.removeEventListener("keydown", b);
854
+ return document.addEventListener("pointerdown", f), document.addEventListener("keydown", b), () => {
855
+ document.removeEventListener("pointerdown", f), document.removeEventListener("keydown", b);
855
856
  };
856
- }, [a]), /* @__PURE__ */ r.jsxs(
857
+ }, [a]), /* @__PURE__ */ e.jsxs(
857
858
  "div",
858
859
  {
859
860
  ref: l,
860
- className: J("struct-download", s, m.root),
861
- ..._,
861
+ className: q("struct-download", i, _.root),
862
+ ...m,
862
863
  children: [
863
- /* @__PURE__ */ r.jsx(
864
+ /* @__PURE__ */ e.jsx(
864
865
  "button",
865
866
  {
866
867
  type: "button",
867
- title: i,
868
+ title: s,
868
869
  "aria-expanded": a,
869
870
  "aria-haspopup": "menu",
870
- onClick: () => u((p) => !p),
871
- className: J("struct-download__button", m.button),
872
- children: /* @__PURE__ */ r.jsx(
873
- Nt,
871
+ onClick: () => g((f) => !f),
872
+ className: q("struct-download__button", _.button),
873
+ children: /* @__PURE__ */ e.jsx(
874
+ Ht,
874
875
  {
875
- className: J("struct-download__icon", m.icon)
876
+ className: q("struct-download__icon", _.icon)
876
877
  }
877
878
  )
878
879
  }
879
880
  ),
880
- a && /* @__PURE__ */ r.jsx("div", { className: J("struct-download__dropdown", m.dropdown), children: /* @__PURE__ */ r.jsx(
881
+ a && /* @__PURE__ */ e.jsx("div", { className: q("struct-download__dropdown", _.dropdown), children: /* @__PURE__ */ e.jsx(
881
882
  "ul",
882
883
  {
883
884
  role: "menu",
884
- className: J("struct-download__menu", m.menu),
885
- children: d.map(({ format: p, label: b }) => /* @__PURE__ */ r.jsx(
885
+ className: q("struct-download__menu", _.menu),
886
+ children: d.map(({ format: f, label: b }) => /* @__PURE__ */ e.jsx(
886
887
  "li",
887
888
  {
888
889
  role: "none",
889
- className: J(m.menuItem),
890
- onClick: () => u(!1),
891
- children: /* @__PURE__ */ r.jsx(
890
+ className: q(_.menuItem),
891
+ onClick: () => g(!1),
892
+ children: /* @__PURE__ */ e.jsx(
892
893
  "a",
893
894
  {
894
895
  role: "menuitem",
895
- href: `${f}?download_format=${p}`,
896
- className: J(m.menuLink),
896
+ href: `${p}?download_format=${f}`,
897
+ className: q(_.menuLink),
897
898
  children: b
898
899
  }
899
900
  )
900
901
  },
901
- p
902
+ f
902
903
  ))
903
904
  }
904
905
  ) })
@@ -906,272 +907,272 @@ function ai({
906
907
  }
907
908
  );
908
909
  }
909
- const re = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACACAYAAADUHPECAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAdTAAAHUwAGRbQIfAAAAB3RJTUUH4QoMEAcil62xzQAAGc9JREFUeNrtnXl8XVW1x7/r3JvcJC1tgdKWUqADs0CTAk6AAh+GgAzyBBUUKQ8R6GDx4Ud9j6YVWkCeAio2pSLqQxyK4gTSBBApVJDCo4lMMjQpHaAphVI6ZLrnrPfHOjeEtknOvfece8/N5/0+H/j00yb77L3P7+y99tpr/ZYwyKFzRgMCquAIeDoCmARMBmqAQ4B9gD2B3YCU/6udwBbgbWAd8BLwT+A54BUcbxOeYz8pINe1FXuokUKK3YGooHNHgwco4MgwVKcAJwPHAQdhxCjPstlu4B3gFeAx4GFgBcpmxJ4l8wcnYQYdUXT2aDIvDWFf4CzgM8DRwLCQH/ce8CzwO5D7cHQ1nv2DzBtchBk0RFGaoO60DEnGAhcAFwOHAYmIH+8BLwB3Ab/GtiqY14hQXeypCQWDgig6Z4zZIFABfBq4CjgGcArcFQ94Bvg+8EegHRSZt6HYU5Q3Sp4oWjfaSCJyAPCfwOeAIUXu1jZgMXAjyGuoh8wvbbKUNFG0bjSgAnIqcAMwpdh92gErgP/CcxtxElrKdkvJEkXrRoE6ZYheDFwH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k7MsZkuWzPEwnrRULO3wYeHKv7VXr3qoy5YZU0uOpk+N8qNgFfrwautM2E+1JqEyPxeRIT8VUtcdjIQfZxi5vA97AhIv/BiwFeQXUovAUk8PIA6F99VMaU6gHKpkmNSXIODXVySnA4f5EjPIno9KfkLQ/0E1Y2shrWFJaM8qLKrpe/GRyD/hnXIzVfHH7SvD8uXJU8GQMcAiWTH4kFnC+NxbxVoUfCYIlS2/GUoFXYf6tJuA5RNeg4htqYqevK8JJrvg/1r/N4lnuwIgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMTAtMTJUMTY6MDc6MzQrMDI6MDB1PnpAAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTEwLTEyVDE2OjA3OjM0KzAyOjAwBGPC/AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=", jt = (...t) => t.filter(Boolean).join(" ");
911
+ function di({
911
912
  explore_url: t,
912
- uuid: e,
913
+ uuid: r,
913
914
  placement: o = "bottom",
914
- tooltip: i,
915
- className: s,
916
- classes: m = {},
917
- ..._
915
+ tooltip: s,
916
+ className: i,
917
+ classes: _ = {},
918
+ ...m
918
919
  }) {
919
- const a = `${t}/details/${e}?nodeType=NODE`;
920
- return /* @__PURE__ */ r.jsxs("span", { className: mt("explore-button", s, m.root), ..._, children: [
921
- /* @__PURE__ */ r.jsx(
920
+ const a = `${t}/details/${r}?nodeType=NODE`;
921
+ return /* @__PURE__ */ e.jsxs("span", { className: jt("explore-button", i, _.root), ...m, children: [
922
+ /* @__PURE__ */ e.jsx(
922
923
  "a",
923
924
  {
924
925
  href: a,
925
926
  target: "_blank",
926
927
  rel: "noreferrer",
927
- className: mt("explore-button__link", m.link),
928
- children: /* @__PURE__ */ r.jsx(
928
+ className: jt("explore-button__link", _.link),
929
+ children: /* @__PURE__ */ e.jsx(
929
930
  "img",
930
931
  {
931
- src: re,
932
+ src: ce,
932
933
  alt: "Explore provenance",
933
- className: mt("explore-button__logo", m.logo)
934
+ className: jt("explore-button__logo", _.logo)
934
935
  }
935
936
  )
936
937
  }
937
938
  ),
938
- /* @__PURE__ */ r.jsx(
939
+ /* @__PURE__ */ e.jsx(
939
940
  "span",
940
941
  {
941
942
  role: "tooltip",
942
943
  "data-placement": o,
943
- className: mt("explore-button__tooltip", m.tooltip),
944
- children: i ?? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
944
+ className: jt("explore-button__tooltip", _.tooltip),
945
+ children: s ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
945
946
  "Browse provenance",
946
- /* @__PURE__ */ r.jsx("br", {}),
947
- e
947
+ /* @__PURE__ */ e.jsx("br", {}),
948
+ r
948
949
  ] })
949
950
  }
950
951
  )
951
952
  ] });
952
953
  }
953
- const oe = "_toggleSwitchWrapper_i81zd_2", ie = "_toggleLabel_i81zd_11", se = "_toggleSwitchContainer_i81zd_16", ae = "_toggleSwitch_i81zd_2", me = "_thumb_i81zd_34", ce = "_toggled_i81zd_46", V = {
954
- toggleSwitchWrapper: oe,
955
- toggleLabel: ie,
956
- toggleSwitchContainer: se,
957
- toggleSwitch: ae,
958
- thumb: me,
959
- toggled: ce
954
+ const le = "_toggleSwitchWrapper_i81zd_2", _e = "_toggleLabel_i81zd_11", me = "_toggleSwitchContainer_i81zd_16", ge = "_toggleSwitch_i81zd_2", ue = "_thumb_i81zd_34", de = "_toggled_i81zd_46", $ = {
955
+ toggleSwitchWrapper: le,
956
+ toggleLabel: _e,
957
+ toggleSwitchContainer: me,
958
+ toggleSwitch: ge,
959
+ thumb: ue,
960
+ toggled: de
960
961
  };
961
- function ci({
962
+ function pi({
962
963
  switchLength: t = "50px",
963
- labelLeft: e = "Left",
964
+ labelLeft: r = "Left",
964
965
  labelRight: o = "Right",
965
- fontSize: i = "12px",
966
- toggled: s,
967
- onToggle: m = () => {
966
+ fontSize: s = "12px",
967
+ toggled: i,
968
+ onToggle: _ = () => {
968
969
  },
969
- labelClassName: _ = "",
970
+ labelClassName: m = "",
970
971
  containerClassName: a = "",
971
- switchClassName: u = "",
972
+ switchClassName: g = "",
972
973
  thumbClassName: l = "",
973
- ...f
974
+ ...p
974
975
  }) {
975
- const [d, p] = Z(!1), b = s !== void 0, v = b ? s : d;
976
- W(() => {
977
- b && p(s);
978
- }, [s, b]);
979
- const R = () => {
980
- const A = !v;
981
- b || p(A), m(A);
976
+ const [d, f] = E(!1), b = i !== void 0, x = b ? i : d;
977
+ nt(() => {
978
+ b && f(i);
979
+ }, [i, b]);
980
+ const S = () => {
981
+ const P = !x;
982
+ b || f(P), _(P);
982
983
  };
983
- return /* @__PURE__ */ r.jsxs(
984
+ return /* @__PURE__ */ e.jsxs(
984
985
  "div",
985
986
  {
986
- className: `${V.toggleSwitchWrapper} ${a}`,
987
- style: { fontSize: i },
988
- ...f,
987
+ className: `${$.toggleSwitchWrapper} ${a}`,
988
+ style: { fontSize: s },
989
+ ...p,
989
990
  children: [
990
- /* @__PURE__ */ r.jsx("span", { className: `${V.toggleLabel} ${_}`, children: e }),
991
- /* @__PURE__ */ r.jsx("div", { className: V.toggleSwitchContainer, children: /* @__PURE__ */ r.jsx(
991
+ /* @__PURE__ */ e.jsx("span", { className: `${$.toggleLabel} ${m}`, children: r }),
992
+ /* @__PURE__ */ e.jsx("div", { className: $.toggleSwitchContainer, children: /* @__PURE__ */ e.jsx(
992
993
  "button",
993
994
  {
994
995
  type: "button",
995
- className: `${V.toggleSwitch} ${v ? V.toggled : ""} ${u}`,
996
- onClick: R,
996
+ className: `${$.toggleSwitch} ${x ? $.toggled : ""} ${g}`,
997
+ onClick: S,
997
998
  style: { "--switch-length": t },
998
- children: /* @__PURE__ */ r.jsx("div", { className: `${V.thumb} ${l}` })
999
+ children: /* @__PURE__ */ e.jsx("div", { className: `${$.thumb} ${l}` })
999
1000
  }
1000
1001
  ) }),
1001
- /* @__PURE__ */ r.jsx("span", { className: `${V.toggleLabel} ${_}`, children: o })
1002
+ /* @__PURE__ */ e.jsx("span", { className: `${$.toggleLabel} ${m}`, children: o })
1002
1003
  ]
1003
1004
  }
1004
1005
  );
1005
1006
  }
1006
- const le = "_card_6y0jx_1", _e = "_header_6y0jx_13", ue = "_body_6y0jx_18", ge = "_footer_6y0jx_23", ct = {
1007
- card: le,
1008
- header: _e,
1009
- body: ue,
1010
- footer: ge
1007
+ const pe = "_card_6y0jx_1", he = "_header_6y0jx_13", fe = "_body_6y0jx_18", ve = "_footer_6y0jx_23", Ct = {
1008
+ card: pe,
1009
+ header: he,
1010
+ body: fe,
1011
+ footer: ve
1011
1012
  };
1012
- function li({
1013
+ function hi({
1013
1014
  children: t,
1014
- header: e,
1015
+ header: r,
1015
1016
  footer: o,
1016
- className: i = "",
1017
- childrenClassName: s = "",
1018
- style: m,
1019
- scrollable: _ = !1,
1017
+ className: s = "",
1018
+ childrenClassName: i = "",
1019
+ style: _,
1020
+ scrollable: m = !1,
1020
1021
  maxHeight: a,
1021
- ...u
1022
+ ...g
1022
1023
  }) {
1023
- return /* @__PURE__ */ r.jsxs(
1024
+ return /* @__PURE__ */ e.jsxs(
1024
1025
  "div",
1025
1026
  {
1026
- className: `${ct.card} ${i}`,
1027
+ className: `${Ct.card} ${s}`,
1027
1028
  style: {
1028
- ...m,
1029
- ..._ ? {
1029
+ ..._,
1030
+ ...m ? {
1030
1031
  maxHeight: a ?? 400,
1031
1032
  overflow: "auto"
1032
1033
  } : {}
1033
1034
  },
1034
- ...u,
1035
+ ...g,
1035
1036
  children: [
1036
- e && /* @__PURE__ */ r.jsx("div", { className: ct.header, children: e }),
1037
- /* @__PURE__ */ r.jsx("div", { className: `${ct.body} ${s}`, children: t }),
1038
- o && /* @__PURE__ */ r.jsx("div", { className: ct.footer, children: o })
1037
+ r && /* @__PURE__ */ e.jsx("div", { className: Ct.header, children: r }),
1038
+ /* @__PURE__ */ e.jsx("div", { className: `${Ct.body} ${i}`, children: t }),
1039
+ o && /* @__PURE__ */ e.jsx("div", { className: Ct.footer, children: o })
1039
1040
  ]
1040
1041
  }
1041
1042
  );
1042
1043
  }
1043
- const O = (...t) => t.filter(Boolean).join(" ");
1044
- function _i({
1044
+ const Y = (...t) => t.filter(Boolean).join(" ");
1045
+ function ye({
1045
1046
  onFile: t,
1046
- accept: e,
1047
+ accept: r,
1047
1048
  fileName: o,
1048
- disabled: i = !1,
1049
- title: s = "Drop your file here",
1050
- subtitle: m,
1051
- replaceHint: _ = "Click or drop another file to replace it",
1049
+ disabled: s = !1,
1050
+ title: i = "Drop your file here",
1051
+ subtitle: _,
1052
+ replaceHint: m = "Click or drop another file to replace it",
1052
1053
  hint: a,
1053
- className: u,
1054
+ className: g,
1054
1055
  classes: l = {},
1055
- ...f
1056
+ ...p
1056
1057
  }) {
1057
- const d = kt(null), [p, b] = Z(!1), v = (A) => {
1058
- !A || i || t == null || t(A);
1059
- }, R = (A) => {
1060
- var k;
1061
- A.preventDefault(), b(!1), v((k = A.dataTransfer.files) == null ? void 0 : k[0]);
1058
+ const d = Mt(null), [f, b] = E(!1), x = (P) => {
1059
+ !P || s || t == null || t(P);
1060
+ }, S = (P) => {
1061
+ var j;
1062
+ P.preventDefault(), b(!1), x((j = P.dataTransfer.files) == null ? void 0 : j[0]);
1062
1063
  };
1063
- return /* @__PURE__ */ r.jsxs("div", { className: O("mc-dropzone", u, l.root), ...f, children: [
1064
- /* @__PURE__ */ r.jsx(
1064
+ return /* @__PURE__ */ e.jsxs("div", { className: Y("mc-dropzone", g, l.root), ...p, children: [
1065
+ /* @__PURE__ */ e.jsx(
1065
1066
  "input",
1066
1067
  {
1067
1068
  ref: d,
1068
1069
  type: "file",
1069
- accept: e,
1070
- disabled: i,
1071
- className: O(l.input),
1072
- onChange: (A) => {
1073
- var k;
1074
- v((k = A.target.files) == null ? void 0 : k[0]), A.target.value = "";
1070
+ accept: r,
1071
+ disabled: s,
1072
+ className: Y(l.input),
1073
+ onChange: (P) => {
1074
+ var j;
1075
+ x((j = P.target.files) == null ? void 0 : j[0]), P.target.value = "";
1075
1076
  },
1076
1077
  hidden: !0
1077
1078
  }
1078
1079
  ),
1079
- /* @__PURE__ */ r.jsxs(
1080
+ /* @__PURE__ */ e.jsxs(
1080
1081
  "button",
1081
1082
  {
1082
1083
  type: "button",
1083
- disabled: i,
1084
+ disabled: s,
1084
1085
  onClick: () => {
1085
- var A;
1086
- return (A = d.current) == null ? void 0 : A.click();
1086
+ var P;
1087
+ return (P = d.current) == null ? void 0 : P.click();
1087
1088
  },
1088
- onDragOver: (A) => {
1089
- A.preventDefault(), b(!0);
1089
+ onDragOver: (P) => {
1090
+ P.preventDefault(), b(!0);
1090
1091
  },
1091
1092
  onDragLeave: () => b(!1),
1092
- onDrop: R,
1093
- className: O(
1093
+ onDrop: S,
1094
+ className: Y(
1094
1095
  "mc-dropzone__button",
1095
- p && "mc-dropzone__button--dragging",
1096
+ f && "mc-dropzone__button--dragging",
1096
1097
  l.button
1097
1098
  ),
1098
1099
  children: [
1099
- /* @__PURE__ */ r.jsx("span", { className: O("mc-dropzone__icon", l.icon), children: /* @__PURE__ */ r.jsx(ne, { className: "mc-dropzone__icon-svg" }) }),
1100
- o ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1101
- /* @__PURE__ */ r.jsx("p", { className: O("mc-dropzone__title", l.fileName), children: o }),
1102
- /* @__PURE__ */ r.jsx("p", { className: O("mc-dropzone__subtitle", l.subtitle), children: _ })
1103
- ] }) : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1104
- /* @__PURE__ */ r.jsx("p", { className: O("mc-dropzone__title", l.title), children: s }),
1105
- /* @__PURE__ */ r.jsx("p", { className: O("mc-dropzone__subtitle", l.subtitle), children: m ?? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1100
+ /* @__PURE__ */ e.jsx("span", { className: Y("mc-dropzone__icon", l.icon), children: /* @__PURE__ */ e.jsx(se, { className: "mc-dropzone__icon-svg" }) }),
1101
+ o ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1102
+ /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__title", l.fileName), children: o }),
1103
+ /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__subtitle", l.subtitle), children: m })
1104
+ ] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1105
+ /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__title", l.title), children: i }),
1106
+ /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__subtitle", l.subtitle), children: _ ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1106
1107
  "or",
1107
1108
  " ",
1108
- /* @__PURE__ */ r.jsx("span", { className: "mc-dropzone__browse", children: "browse your files" })
1109
+ /* @__PURE__ */ e.jsx("span", { className: "mc-dropzone__browse", children: "browse your files" })
1109
1110
  ] }) }),
1110
- a && /* @__PURE__ */ r.jsx("p", { className: O("mc-dropzone__hint", l.hint), children: a })
1111
+ a && /* @__PURE__ */ e.jsx("p", { className: Y("mc-dropzone__hint", l.hint), children: a })
1111
1112
  ] })
1112
1113
  ]
1113
1114
  }
1114
1115
  )
1115
1116
  ] });
1116
1117
  }
1117
- const T = (...t) => t.filter(Boolean).join(" ");
1118
- function de(t) {
1118
+ const M = (...t) => t.filter(Boolean).join(" ");
1119
+ function Pe(t) {
1119
1120
  if (!t) return null;
1120
- const e = new Date(t);
1121
- return Number.isNaN(e.getTime()) ? String(t) : e.toLocaleString();
1121
+ const r = new Date(t);
1122
+ return Number.isNaN(r.getTime()) ? String(t) : r.toLocaleString();
1122
1123
  }
1123
- function ui({
1124
+ function be({
1124
1125
  entries: t = [],
1125
- onLoad: e,
1126
+ onLoad: r,
1126
1127
  onDelete: o,
1127
- onClear: i,
1128
- title: s = "History",
1129
- clearLabel: m = "Clear all",
1130
- loadLabel: _ = "Load",
1128
+ onClear: s,
1129
+ title: i = "History",
1130
+ clearLabel: _ = "Clear all",
1131
+ loadLabel: m = "Load",
1131
1132
  deleteLabel: a = "Delete",
1132
- className: u,
1133
+ className: g,
1133
1134
  classes: l = {},
1134
- ...f
1135
+ ...p
1135
1136
  }) {
1136
- return t.length === 0 ? null : /* @__PURE__ */ r.jsxs("div", { className: T("mc-history", u, l.root), ...f, children: [
1137
- /* @__PURE__ */ r.jsxs("div", { className: T("mc-history__header", l.header), children: [
1138
- /* @__PURE__ */ r.jsx("p", { className: T("mc-history__title", l.title), children: s }),
1139
- i && /* @__PURE__ */ r.jsx(
1137
+ return t.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: M("mc-history", g, l.root), ...p, children: [
1138
+ /* @__PURE__ */ e.jsxs("div", { className: M("mc-history__header", l.header), children: [
1139
+ /* @__PURE__ */ e.jsx("p", { className: M("mc-history__title", l.title), children: i }),
1140
+ s && /* @__PURE__ */ e.jsx(
1140
1141
  "button",
1141
1142
  {
1142
1143
  type: "button",
1143
- onClick: i,
1144
- className: T("mc-history__clear", l.clearButton),
1145
- children: m
1144
+ onClick: s,
1145
+ className: M("mc-history__clear", l.clearButton),
1146
+ children: _
1146
1147
  }
1147
1148
  )
1148
1149
  ] }),
1149
- /* @__PURE__ */ r.jsx("ul", { className: T("mc-history__list", l.list), children: t.map((d) => /* @__PURE__ */ r.jsxs(
1150
+ /* @__PURE__ */ e.jsx("ul", { className: M("mc-history__list", l.list), children: t.map((d) => /* @__PURE__ */ e.jsxs(
1150
1151
  "li",
1151
1152
  {
1152
- className: T("mc-history__item", l.item),
1153
+ className: M("mc-history__item", l.item),
1153
1154
  children: [
1154
- /* @__PURE__ */ r.jsxs("div", { className: T("mc-history__details", l.details), children: [
1155
- /* @__PURE__ */ r.jsx("p", { className: T("mc-history__name", l.fileName), children: d.fileName }),
1156
- d.date && /* @__PURE__ */ r.jsx("p", { className: T("mc-history__date", l.date), children: de(d.date) })
1155
+ /* @__PURE__ */ e.jsxs("div", { className: M("mc-history__details", l.details), children: [
1156
+ /* @__PURE__ */ e.jsx("p", { className: M("mc-history__name", l.fileName), children: d.fileName }),
1157
+ d.date && /* @__PURE__ */ e.jsx("p", { className: M("mc-history__date", l.date), children: Pe(d.date) })
1157
1158
  ] }),
1158
- d.format && /* @__PURE__ */ r.jsx("span", { className: T("mc-history__format", l.format), children: String(d.format).toUpperCase() }),
1159
- e && /* @__PURE__ */ r.jsx(
1159
+ d.format && /* @__PURE__ */ e.jsx("span", { className: M("mc-history__format", l.format), children: String(d.format).toUpperCase() }),
1160
+ r && /* @__PURE__ */ e.jsx(
1160
1161
  "button",
1161
1162
  {
1162
1163
  type: "button",
1163
- onClick: () => e(d),
1164
- className: T("mc-history__load", l.loadButton),
1165
- children: _
1164
+ onClick: () => r(d),
1165
+ className: M("mc-history__load", l.loadButton),
1166
+ children: m
1166
1167
  }
1167
1168
  ),
1168
- o && /* @__PURE__ */ r.jsx(
1169
+ o && /* @__PURE__ */ e.jsx(
1169
1170
  "button",
1170
1171
  {
1171
1172
  type: "button",
1172
1173
  onClick: () => o(d.id),
1173
1174
  "aria-label": `${a} ${d.fileName}`,
1174
- className: T("mc-history__delete", l.deleteButton),
1175
+ className: M("mc-history__delete", l.deleteButton),
1175
1176
  children: a
1176
1177
  }
1177
1178
  )
@@ -1181,1044 +1182,192 @@ function ui({
1181
1182
  )) })
1182
1183
  ] });
1183
1184
  }
1184
- var lt = {
1185
- 1: {
1186
- atomicNumber: 1,
1187
- symbol: "H",
1188
- name: "Hydrogen",
1189
- mass: 1.00794
1190
- },
1191
- 2: {
1192
- atomicNumber: 2,
1193
- symbol: "He",
1194
- name: "Helium",
1195
- mass: 4.002602
1196
- },
1197
- 3: {
1198
- atomicNumber: 3,
1199
- symbol: "Li",
1200
- name: "Lithium",
1201
- mass: 6.941
1202
- },
1203
- 4: {
1204
- atomicNumber: 4,
1205
- symbol: "Be",
1206
- name: "Beryllium",
1207
- mass: 9.012182
1208
- },
1209
- 5: {
1210
- atomicNumber: 5,
1211
- symbol: "B",
1212
- name: "Boron",
1213
- mass: 10.811
1214
- },
1215
- 6: {
1216
- atomicNumber: 6,
1217
- symbol: "C",
1218
- name: "Carbon",
1219
- mass: 12.0107
1220
- },
1221
- 7: {
1222
- atomicNumber: 7,
1223
- symbol: "N",
1224
- name: "Nitrogen",
1225
- mass: 14.0067
1226
- },
1227
- 8: {
1228
- atomicNumber: 8,
1229
- symbol: "O",
1230
- name: "Oxygen",
1231
- mass: 15.9994
1232
- },
1233
- 9: {
1234
- atomicNumber: 9,
1235
- symbol: "F",
1236
- name: "Fluorine",
1237
- mass: 18.9984032
1238
- },
1239
- 10: {
1240
- atomicNumber: 10,
1241
- symbol: "Ne",
1242
- name: "Neon",
1243
- mass: 20.1797
1244
- },
1245
- 11: {
1246
- atomicNumber: 11,
1247
- symbol: "Na",
1248
- name: "Sodium",
1249
- mass: 22.98976928
1250
- },
1251
- 12: {
1252
- atomicNumber: 12,
1253
- symbol: "Mg",
1254
- name: "Magnesium",
1255
- mass: 24.305
1256
- },
1257
- 13: {
1258
- atomicNumber: 13,
1259
- symbol: "Al",
1260
- name: "Aluminium",
1261
- mass: 26.9815386
1262
- },
1263
- 14: {
1264
- atomicNumber: 14,
1265
- symbol: "Si",
1266
- name: "Silicon",
1267
- mass: 28.0855
1268
- },
1269
- 15: {
1270
- atomicNumber: 15,
1271
- symbol: "P",
1272
- name: "Phosphorus",
1273
- mass: 30.973762
1274
- },
1275
- 16: {
1276
- atomicNumber: 16,
1277
- symbol: "S",
1278
- name: "Sulfur",
1279
- mass: 32.065
1280
- },
1281
- 17: {
1282
- atomicNumber: 17,
1283
- symbol: "Cl",
1284
- name: "Chlorine",
1285
- mass: 35.453
1286
- },
1287
- 18: {
1288
- atomicNumber: 18,
1289
- symbol: "Ar",
1290
- name: "Argon",
1291
- mass: 39.948
1292
- },
1293
- 19: {
1294
- atomicNumber: 19,
1295
- symbol: "K",
1296
- name: "Potassium",
1297
- mass: 39.0983
1298
- },
1299
- 20: {
1300
- atomicNumber: 20,
1301
- symbol: "Ca",
1302
- name: "Calcium",
1303
- mass: 40.078
1304
- },
1305
- 21: {
1306
- atomicNumber: 21,
1307
- symbol: "Sc",
1308
- name: "Scandium",
1309
- mass: 44.955912
1310
- },
1311
- 22: {
1312
- atomicNumber: 22,
1313
- symbol: "Ti",
1314
- name: "Titanium",
1315
- mass: 47.867
1316
- },
1317
- 23: {
1318
- atomicNumber: 23,
1319
- symbol: "V",
1320
- name: "Vanadium",
1321
- mass: 50.9415
1322
- },
1323
- 24: {
1324
- atomicNumber: 24,
1325
- symbol: "Cr",
1326
- name: "Chromium",
1327
- mass: 51.9961
1328
- },
1329
- 25: {
1330
- atomicNumber: 25,
1331
- symbol: "Mn",
1332
- name: "Manganese",
1333
- mass: 54.938045
1334
- },
1335
- 26: {
1336
- atomicNumber: 26,
1337
- symbol: "Fe",
1338
- name: "Iron",
1339
- mass: 55.845
1340
- },
1341
- 27: {
1342
- atomicNumber: 27,
1343
- symbol: "Co",
1344
- name: "Cobalt",
1345
- mass: 58.933195
1346
- },
1347
- 28: {
1348
- atomicNumber: 28,
1349
- symbol: "Ni",
1350
- name: "Nickel",
1351
- mass: 58.6934
1352
- },
1353
- 29: {
1354
- atomicNumber: 29,
1355
- symbol: "Cu",
1356
- name: "Copper",
1357
- mass: 63.546
1358
- },
1359
- 30: {
1360
- atomicNumber: 30,
1361
- symbol: "Zn",
1362
- name: "Zinc",
1363
- mass: 65.38
1364
- },
1365
- 31: {
1366
- atomicNumber: 31,
1367
- symbol: "Ga",
1368
- name: "Gallium",
1369
- mass: 69.723
1370
- },
1371
- 32: {
1372
- atomicNumber: 32,
1373
- symbol: "Ge",
1374
- name: "Germanium",
1375
- mass: 72.63
1376
- },
1377
- 33: {
1378
- atomicNumber: 33,
1379
- symbol: "As",
1380
- name: "Arsenic",
1381
- mass: 74.9216
1382
- },
1383
- 34: {
1384
- atomicNumber: 34,
1385
- symbol: "Se",
1386
- name: "Selenium",
1387
- mass: 78.96
1388
- },
1389
- 35: {
1390
- atomicNumber: 35,
1391
- symbol: "Br",
1392
- name: "Bromine",
1393
- mass: 79.904
1394
- },
1395
- 36: {
1396
- atomicNumber: 36,
1397
- symbol: "Kr",
1398
- name: "Krypton",
1399
- mass: 83.798
1400
- },
1401
- 37: {
1402
- atomicNumber: 37,
1403
- symbol: "Rb",
1404
- name: "Rubidium",
1405
- mass: 85.4678
1406
- },
1407
- 38: {
1408
- atomicNumber: 38,
1409
- symbol: "Sr",
1410
- name: "Strontium",
1411
- mass: 87.62
1412
- },
1413
- 39: {
1414
- atomicNumber: 39,
1415
- symbol: "Y",
1416
- name: "Yttrium",
1417
- mass: 88.90585
1418
- },
1419
- 40: {
1420
- atomicNumber: 40,
1421
- symbol: "Zr",
1422
- name: "Zirconium",
1423
- mass: 91.224
1424
- },
1425
- 41: {
1426
- atomicNumber: 41,
1427
- symbol: "Nb",
1428
- name: "Niobium",
1429
- mass: 92.90638
1430
- },
1431
- 42: {
1432
- atomicNumber: 42,
1433
- symbol: "Mo",
1434
- name: "Molybdenum",
1435
- mass: 95.96
1436
- },
1437
- 43: {
1438
- atomicNumber: 43,
1439
- symbol: "Tc",
1440
- name: "Technetium",
1441
- mass: 98
1442
- },
1443
- 44: {
1444
- atomicNumber: 44,
1445
- symbol: "Ru",
1446
- name: "Ruthenium",
1447
- mass: 101.07
1448
- },
1449
- 45: {
1450
- atomicNumber: 45,
1451
- symbol: "Rh",
1452
- name: "Rhodium",
1453
- mass: 102.9055
1454
- },
1455
- 46: {
1456
- atomicNumber: 46,
1457
- symbol: "Pd",
1458
- name: "Palladium",
1459
- mass: 106.42
1460
- },
1461
- 47: {
1462
- atomicNumber: 47,
1463
- symbol: "Ag",
1464
- name: "Silver",
1465
- mass: 107.8682
1466
- },
1467
- 48: {
1468
- atomicNumber: 48,
1469
- symbol: "Cd",
1470
- name: "Cadmium",
1471
- mass: 112.411
1472
- },
1473
- 49: {
1474
- atomicNumber: 49,
1475
- symbol: "In",
1476
- name: "Indium",
1477
- mass: 114.818
1478
- },
1479
- 50: {
1480
- atomicNumber: 50,
1481
- symbol: "Sn",
1482
- name: "Tin",
1483
- mass: 118.71
1484
- },
1485
- 51: {
1486
- atomicNumber: 51,
1487
- symbol: "Sb",
1488
- name: "Antimony",
1489
- mass: 121.76
1490
- },
1491
- 52: {
1492
- atomicNumber: 52,
1493
- symbol: "Te",
1494
- name: "Tellurium",
1495
- mass: 127.6
1496
- },
1497
- 53: {
1498
- atomicNumber: 53,
1499
- symbol: "I",
1500
- name: "Iodine",
1501
- mass: 126.90447
1502
- },
1503
- 54: {
1504
- atomicNumber: 54,
1505
- symbol: "Xe",
1506
- name: "Xenon",
1507
- mass: 131.293
1508
- },
1509
- 55: {
1510
- atomicNumber: 55,
1511
- symbol: "Cs",
1512
- name: "Cesium",
1513
- mass: 132.9054519
1514
- },
1515
- 56: {
1516
- atomicNumber: 56,
1517
- symbol: "Ba",
1518
- name: "Barium",
1519
- mass: 137.327
1520
- },
1521
- 57: {
1522
- atomicNumber: 57,
1523
- symbol: "La",
1524
- name: "Lanthanum",
1525
- mass: 138.90547
1526
- },
1527
- 58: {
1528
- atomicNumber: 58,
1529
- symbol: "Ce",
1530
- name: "Cerium",
1531
- mass: 140.116
1532
- },
1533
- 59: {
1534
- atomicNumber: 59,
1535
- symbol: "Pr",
1536
- name: "Praseodymium",
1537
- mass: 140.90765
1538
- },
1539
- 60: {
1540
- atomicNumber: 60,
1541
- symbol: "Nd",
1542
- name: "Neodymium",
1543
- mass: 144.242
1544
- },
1545
- 61: {
1546
- atomicNumber: 61,
1547
- symbol: "Pm",
1548
- name: "Promethium",
1549
- mass: 145
1550
- },
1551
- 62: {
1552
- atomicNumber: 62,
1553
- symbol: "Sm",
1554
- name: "Samarium",
1555
- mass: 150.36
1556
- },
1557
- 63: {
1558
- atomicNumber: 63,
1559
- symbol: "Eu",
1560
- name: "Europium",
1561
- mass: 151.964
1562
- },
1563
- 64: {
1564
- atomicNumber: 64,
1565
- symbol: "Gd",
1566
- name: "Gadolinium",
1567
- mass: 157.25
1568
- },
1569
- 65: {
1570
- atomicNumber: 65,
1571
- symbol: "Tb",
1572
- name: "Terbium",
1573
- mass: 158.92535
1574
- },
1575
- 66: {
1576
- atomicNumber: 66,
1577
- symbol: "Dy",
1578
- name: "Dysprosium",
1579
- mass: 162.5
1580
- },
1581
- 67: {
1582
- atomicNumber: 67,
1583
- symbol: "Ho",
1584
- name: "Holmium",
1585
- mass: 164.93032
1586
- },
1587
- 68: {
1588
- atomicNumber: 68,
1589
- symbol: "Er",
1590
- name: "Erbium",
1591
- mass: 167.259
1592
- },
1593
- 69: {
1594
- atomicNumber: 69,
1595
- symbol: "Tm",
1596
- name: "Thulium",
1597
- mass: 168.93421
1598
- },
1599
- 70: {
1600
- atomicNumber: 70,
1601
- symbol: "Yb",
1602
- name: "Ytterbium",
1603
- mass: 173.054
1604
- },
1605
- 71: {
1606
- atomicNumber: 71,
1607
- symbol: "Lu",
1608
- name: "Lutetium",
1609
- mass: 174.9668
1610
- },
1611
- 72: {
1612
- atomicNumber: 72,
1613
- symbol: "Hf",
1614
- name: "Hafnium",
1615
- mass: 178.49
1616
- },
1617
- 73: {
1618
- atomicNumber: 73,
1619
- symbol: "Ta",
1620
- name: "Tantalum",
1621
- mass: 180.94788
1622
- },
1623
- 74: {
1624
- atomicNumber: 74,
1625
- symbol: "W",
1626
- name: "Tungsten",
1627
- mass: 183.84
1628
- },
1629
- 75: {
1630
- atomicNumber: 75,
1631
- symbol: "Re",
1632
- name: "Rhenium",
1633
- mass: 186.207
1634
- },
1635
- 76: {
1636
- atomicNumber: 76,
1637
- symbol: "Os",
1638
- name: "Osmium",
1639
- mass: 190.23
1640
- },
1641
- 77: {
1642
- atomicNumber: 77,
1643
- symbol: "Ir",
1644
- name: "Iridium",
1645
- mass: 192.217
1646
- },
1647
- 78: {
1648
- atomicNumber: 78,
1649
- symbol: "Pt",
1650
- name: "Platinum",
1651
- mass: 195.084
1652
- },
1653
- 79: {
1654
- atomicNumber: 79,
1655
- symbol: "Au",
1656
- name: "Gold",
1657
- mass: 196.966569
1658
- },
1659
- 80: {
1660
- atomicNumber: 80,
1661
- symbol: "Hg",
1662
- name: "Mercury",
1663
- mass: 200.59
1664
- },
1665
- 81: {
1666
- atomicNumber: 81,
1667
- symbol: "Tl",
1668
- name: "Thallium",
1669
- mass: 204.3833
1670
- },
1671
- 82: {
1672
- atomicNumber: 82,
1673
- symbol: "Pb",
1674
- name: "Lead",
1675
- mass: 207.2
1676
- },
1677
- 83: {
1678
- atomicNumber: 83,
1679
- symbol: "Bi",
1680
- name: "Bismuth",
1681
- mass: 208.9804
1682
- },
1683
- 84: {
1684
- atomicNumber: 84,
1685
- symbol: "Po",
1686
- name: "Polonium",
1687
- mass: 209
1688
- },
1689
- 85: {
1690
- atomicNumber: 85,
1691
- symbol: "At",
1692
- name: "Astatine",
1693
- mass: 210
1694
- },
1695
- 86: {
1696
- atomicNumber: 86,
1697
- symbol: "Rn",
1698
- name: "Radon",
1699
- mass: 222
1700
- },
1701
- 87: {
1702
- atomicNumber: 87,
1703
- symbol: "Fr",
1704
- name: "Francium",
1705
- mass: 223
1706
- },
1707
- 88: {
1708
- atomicNumber: 88,
1709
- symbol: "Ra",
1710
- name: "Radium",
1711
- mass: 226
1712
- },
1713
- 89: {
1714
- atomicNumber: 89,
1715
- symbol: "Ac",
1716
- name: "Actinium",
1717
- mass: 227
1718
- },
1719
- 90: {
1720
- atomicNumber: 90,
1721
- symbol: "Th",
1722
- name: "Thorium",
1723
- mass: 232.03806
1724
- },
1725
- 91: {
1726
- atomicNumber: 91,
1727
- symbol: "Pa",
1728
- name: "Protactinium",
1729
- mass: 231.03588
1730
- },
1731
- 92: {
1732
- atomicNumber: 92,
1733
- symbol: "U",
1734
- name: "Uranium",
1735
- mass: 238.02891
1736
- },
1737
- 93: {
1738
- atomicNumber: 93,
1739
- symbol: "Np",
1740
- name: "Neptunium",
1741
- mass: 237
1742
- },
1743
- 94: {
1744
- atomicNumber: 94,
1745
- symbol: "Pu",
1746
- name: "Plutonium",
1747
- mass: 244
1748
- },
1749
- 95: {
1750
- atomicNumber: 95,
1751
- symbol: "Am",
1752
- name: "Americium",
1753
- mass: 243
1754
- },
1755
- 96: {
1756
- atomicNumber: 96,
1757
- symbol: "Cm",
1758
- name: "Curium",
1759
- mass: 247
1760
- },
1761
- 97: {
1762
- atomicNumber: 97,
1763
- symbol: "Bk",
1764
- name: "Berkelium",
1765
- mass: 247
1766
- },
1767
- 98: {
1768
- atomicNumber: 98,
1769
- symbol: "Cf",
1770
- name: "Californium",
1771
- mass: 251
1772
- },
1773
- 99: {
1774
- atomicNumber: 99,
1775
- symbol: "Es",
1776
- name: "Einsteinium",
1777
- mass: 252
1778
- },
1779
- 100: {
1780
- atomicNumber: 100,
1781
- symbol: "Fm",
1782
- name: "Fermium",
1783
- mass: 257
1784
- },
1785
- 101: {
1786
- atomicNumber: 101,
1787
- symbol: "Md",
1788
- name: "Mendelevium",
1789
- mass: 258
1790
- },
1791
- 102: {
1792
- atomicNumber: 102,
1793
- symbol: "No",
1794
- name: "Nobelium",
1795
- mass: 259
1796
- },
1797
- 103: {
1798
- atomicNumber: 103,
1799
- symbol: "Lr",
1800
- name: "Lawrencium",
1801
- mass: 262
1802
- },
1803
- 104: {
1804
- atomicNumber: 104,
1805
- symbol: "Rf",
1806
- name: "Rutherfordium",
1807
- mass: 267
1808
- },
1809
- 105: {
1810
- atomicNumber: 105,
1811
- symbol: "Db",
1812
- name: "Dubnium",
1813
- mass: 268
1814
- },
1815
- 106: {
1816
- atomicNumber: 106,
1817
- symbol: "Sg",
1818
- name: "Seaborgium",
1819
- mass: 269
1820
- },
1821
- 107: {
1822
- atomicNumber: 107,
1823
- symbol: "Bh",
1824
- name: "Bohrium",
1825
- mass: 270
1826
- },
1827
- 108: {
1828
- atomicNumber: 108,
1829
- symbol: "Hs",
1830
- name: "Hassium",
1831
- mass: 269
1832
- },
1833
- 109: {
1834
- atomicNumber: 109,
1835
- symbol: "Mt",
1836
- name: "Meitnerium",
1837
- mass: 278
1838
- },
1839
- 110: {
1840
- atomicNumber: 110,
1841
- symbol: "Ds",
1842
- name: "Darmstadtium",
1843
- mass: 281
1844
- },
1845
- 111: {
1846
- atomicNumber: 111,
1847
- symbol: "Rg",
1848
- name: "Roentgenium",
1849
- mass: 281
1850
- },
1851
- 112: {
1852
- atomicNumber: 112,
1853
- symbol: "Cn",
1854
- name: "Copernicium",
1855
- mass: 285
1856
- },
1857
- 113: {
1858
- atomicNumber: 113,
1859
- symbol: "Nh",
1860
- name: "Nihonium",
1861
- mass: 286
1862
- },
1863
- 114: {
1864
- atomicNumber: 114,
1865
- symbol: "Fl",
1866
- name: "Flerovium",
1867
- mass: 289
1868
- },
1869
- 115: {
1870
- atomicNumber: 115,
1871
- symbol: "Mc",
1872
- name: "Moscovium",
1873
- mass: 288
1874
- },
1875
- 116: {
1876
- atomicNumber: 116,
1877
- symbol: "Lv",
1878
- name: "Livermorium",
1879
- mass: 293
1880
- },
1881
- 117: {
1882
- atomicNumber: 117,
1883
- symbol: "Ts",
1884
- name: "Tennessine",
1885
- mass: 294
1886
- },
1887
- 118: {
1888
- atomicNumber: 118,
1889
- symbol: "Og",
1890
- name: "Oganesson",
1891
- mass: 294
1892
- }
1893
- };
1894
- Object.values(lt).reduce((t, e) => (t[e.symbol] = e, t), {});
1895
- new Map(Object.values(lt).map((t) => [t.symbol, t.atomicNumber]));
1896
- new Map(Object.values(lt).map((t) => [t.atomicNumber, t.symbol]));
1897
- function _t(t, e, o) {
1898
- let i = t * e, s = o ? Float64Array.from(o) : new Float64Array(i);
1899
- if (s.length !== i) throw Error(`Expected ${i} values, got ${s.length}`);
1900
- return {
1901
- rows: t,
1902
- cols: e,
1903
- data: s
1904
- };
1905
- }
1906
- function pe(t) {
1907
- return Math.abs(t) < 1e-12 ? 0 : t;
1908
- }
1909
- function on(t) {
1910
- let e = t instanceof Float64Array ? Array.from(t) : "data" in t ? Array.from(t.data) : t, o;
1911
- if (e.length === 3) {
1912
- let [i, s, m] = e;
1913
- o = new Float64Array([
1914
- i,
1915
- 0,
1916
- 0,
1917
- 0,
1918
- s,
1919
- 0,
1920
- 0,
1921
- 0,
1922
- m
1923
- ]);
1924
- } else if (e.length === 9) {
1925
- o = /* @__PURE__ */ new Float64Array(9);
1926
- for (let i = 0; i < 9; i++) o[i] = pe(e[i]);
1927
- } else throw Error("Lattice requires 3 or 9 values");
1928
- return { basis: _t(3, 3, o) };
1929
- }
1930
- function he(t, e) {
1931
- if (t.cols !== e.rows) throw Error("Invalid matrix multiplication dimensions");
1932
- let o = _t(t.rows, e.cols), i = t.rows, s = t.cols, m = e.cols, _ = t.data, a = e.data, u = o.data;
1933
- for (let l = 0; l < i; l++) {
1934
- let f = l * s, d = l * m;
1935
- for (let p = 0; p < s; p++) {
1936
- let b = _[f + p], v = p * m;
1937
- for (let R = 0; R < m; R++) u[d + R] += b * a[v + R];
1938
- }
1939
- }
1940
- return o;
1941
- }
1942
- function fe(t) {
1943
- if (t.rows !== 3 || t.cols !== 3) throw Error("Expected 3x3 matrix");
1944
- let e = t.data[0], o = t.data[1], i = t.data[2], s = t.data[3], m = t.data[4], _ = t.data[5], a = t.data[6], u = t.data[7], l = t.data[8], f = m * l - _ * u, d = _ * a - s * l, p = s * u - m * a, b = i * u - o * l, v = e * l - i * a, R = o * a - e * u, A = o * _ - i * m, k = i * s - e * _, N = e * m - o * s, z = e * f + o * d + i * p;
1945
- if (Math.abs(z) < 1e-12) throw Error("Singular matrix");
1946
- let I = 1 / z, E = _t(3, 3);
1947
- return E.data[0] = f * I, E.data[1] = b * I, E.data[2] = A * I, E.data[3] = d * I, E.data[4] = v * I, E.data[5] = k * I, E.data[6] = p * I, E.data[7] = R * I, E.data[8] = N * I, E;
1948
- }
1949
- function be(t) {
1950
- let e = t.rows, o = t.cols, i = t.data, s = _t(o, e), m = s.data;
1951
- for (let _ = 0; _ < e; _++) {
1952
- let a = _ * o;
1953
- for (let u = 0; u < o; u++) m[u * e + _] = i[a + u];
1954
- }
1955
- return s;
1956
- }
1957
- function ye(t) {
1958
- return fe(t.basis);
1959
- }
1960
- function sn(t, e) {
1961
- let o = {
1962
- rows: 3,
1963
- cols: 1,
1964
- data: e
1965
- }, i = he(be(ye(t)), o);
1966
- return new Float64Array([
1967
- i.data[0],
1968
- i.data[1],
1969
- i.data[2]
1970
- ]);
1971
- }
1972
- function Pe(t) {
1973
- let e = on([
1974
- ...t.cell[0],
1975
- ...t.cell[1],
1976
- ...t.cell[2]
1977
- ]), o = new Map(t.kinds.map((i) => [i.name, i]));
1978
- return {
1979
- lattice: e,
1980
- sites: t.sites.map((i) => {
1981
- let s = o.get(i.kind_name);
1982
- if (!s) throw Error(`Unknown kind "${i.kind_name}"`);
1983
- return {
1984
- species: { symbol: s.symbols[0] },
1985
- frac: sn(e, new Float64Array(i.position))
1986
- };
1987
- })
1988
- };
1989
- }
1990
- function ve(t) {
1991
- let e = on([
1992
- ...t.attributes.lattice_vectors[0],
1993
- ...t.attributes.lattice_vectors[1],
1994
- ...t.attributes.lattice_vectors[2]
1995
- ]), o = t.attributes.cartesian_site_positions, i = t.attributes.species_at_sites;
1996
- return {
1997
- lattice: e,
1998
- sites: o.map((s, m) => ({
1999
- species: { symbol: i[m] },
2000
- frac: sn(e, new Float64Array(s))
2001
- }))
2002
- };
2003
- }
2004
- function an(t, e, o, i, s) {
2005
- let m = (u) => (s == null ? void 0 : s[u]) ?? u, _ = m(e), a = m(o);
2006
- return _ === a ? t : t * i[_] / i[a];
2007
- }
2008
- function xe(t, e, o, i, s) {
2009
- return t.map((m) => an(m, e, o, i, s));
2010
- }
2011
- var Pt = {
2012
- eV: 1,
2013
- Hartree: 27.2114,
2014
- Rydberg: 13.6057,
2015
- "kJ/mol": 0.0103643,
2016
- "kcal/mol": 0.0433641
2017
- }, vt = {
2018
- Ha: "Hartree",
2019
- Ry: "Rydberg",
2020
- ev: "eV",
2021
- electronvolt: "eV"
2022
- }, mn = {
2023
- conversions: Pt,
2024
- aliases: vt,
2025
- convert(t, e, o) {
2026
- return an(t, e, o, Pt, vt);
2027
- },
2028
- convertArray(t, e, o) {
2029
- return xe(t, e, o, Pt, vt);
2030
- }
2031
- };
2032
- mn.convert(1, "Hartree", "Rydberg");
2033
- mn.convert(1, "Rydberg", "Hartree");
2034
- var Ae = /* @__PURE__ */ new Map();
2035
- for (let [t, e] of Object.entries(lt)) Ae.set(e.symbol, Number(t));
2036
- function we(t) {
1185
+ function pn(t) {
2037
1186
  var o;
2038
- const e = (o = String(t).match(
1187
+ const r = (o = String(t).match(
2039
1188
  /[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/
2040
1189
  )) == null ? void 0 : o[0];
2041
- return e ? e.split("-")[0] : null;
1190
+ return r ? r.split("-")[0] : null;
2042
1191
  }
2043
- function ke(t) {
2044
- var e;
2045
- return ((e = t == null ? void 0 : t.data) == null ? void 0 : e.attributes) ?? (t == null ? void 0 : t.data) ?? t;
1192
+ function xe(t) {
1193
+ var r;
1194
+ return ((r = t == null ? void 0 : t.data) == null ? void 0 : r.attributes) ?? (t == null ? void 0 : t.data) ?? t;
2046
1195
  }
2047
- function Ne(t) {
2048
- const e = (t == null ? void 0 : t.data) ?? t;
2049
- return Array.isArray(e) ? e[0] : e;
1196
+ function we(t) {
1197
+ const r = (t == null ? void 0 : t.data) ?? t;
1198
+ return Array.isArray(r) ? r[0] : r;
2050
1199
  }
2051
- function gi({
1200
+ function Ae({
2052
1201
  onLoaded: t,
2053
- onError: e,
1202
+ onError: r,
2054
1203
  fromURL: o,
2055
- format: i,
2056
- autoLoad: s = !0
1204
+ format: s,
1205
+ autoLoad: i = !0
2057
1206
  }) {
2058
- return W(() => {
2059
- if (!s) return;
2060
- const m = new URLSearchParams(window.location.search), _ = o ?? m.get("fromURL");
2061
- if (!_) return;
2062
- const a = i ?? m.get("format"), u = m.get("tag");
2063
- fetch(_).then((l) => l.json()).then((l) => {
2064
- const f = a === "optimade" ? { structure: ve(Ne(l)), format: a } : {
2065
- structure: Pe(ke(l)),
1207
+ return nt(() => {
1208
+ if (!i) return;
1209
+ const _ = new URLSearchParams(window.location.search), m = o ?? _.get("fromURL");
1210
+ if (!m) return;
1211
+ const a = s ?? _.get("format"), g = _.get("tag");
1212
+ fetch(m).then((l) => l.json()).then((l) => {
1213
+ const p = a === "optimade" ? { structure: Gn(we(l)), format: a } : {
1214
+ structure: Kn(xe(l)),
2066
1215
  format: "aiida"
2067
- }, d = u ?? we(_) ?? new URL(_).pathname.split("/").filter(Boolean).pop() ?? _;
2068
- t == null || t({ ...f, fileName: d, sourceUrl: _ });
1216
+ }, d = g ?? pn(m) ?? new URL(m).pathname.split("/").filter(Boolean).pop() ?? m;
1217
+ t == null || t({ ...p, fileName: d, sourceUrl: m });
2069
1218
  }).catch(
2070
- (l) => e == null ? void 0 : e(l instanceof Error ? l.message : String(l))
1219
+ (l) => r == null ? void 0 : r(l instanceof Error ? l.message : String(l))
2071
1220
  );
2072
1221
  }, []), null;
2073
1222
  }
2074
- const Ce = "#", Y = (...t) => t.filter(Boolean).join(" ");
2075
- function xt() {
1223
+ const ke = "#", tt = (...t) => t.filter(Boolean).join(" ");
1224
+ function Tt() {
2076
1225
  const t = typeof window < "u" ? window.location.hash : "";
2077
- return t.startsWith(Ce) ? t.slice(1) : t;
1226
+ return t.startsWith(ke) ? t.slice(1) : t;
2078
1227
  }
2079
- function di({
1228
+ function je({
2080
1229
  hash: t,
2081
- open: e,
1230
+ open: r,
2082
1231
  onClose: o,
2083
- title: i,
2084
- children: s,
2085
- maxWidth: m = "48rem",
2086
- className: _,
1232
+ title: s,
1233
+ children: i,
1234
+ maxWidth: _ = "48rem",
1235
+ className: m,
2087
1236
  classes: a = {},
2088
- ...u
1237
+ ...g
2089
1238
  }) {
2090
- const [l, f] = Z(() => xt() === t);
2091
- W(() => {
2092
- if (e !== void 0) return;
2093
- const v = () => f(xt() === t);
2094
- return v(), window.addEventListener("hashchange", v), () => window.removeEventListener("hashchange", v);
2095
- }, [t, e]);
2096
- const p = e !== void 0 ? e : l, b = () => {
1239
+ const [l, p] = E(() => Tt() === t);
1240
+ nt(() => {
1241
+ if (r !== void 0) return;
1242
+ const x = () => p(Tt() === t);
1243
+ return x(), window.addEventListener("hashchange", x), () => window.removeEventListener("hashchange", x);
1244
+ }, [t, r]);
1245
+ const f = r !== void 0 ? r : l, b = () => {
2097
1246
  if (o) {
2098
1247
  o();
2099
1248
  return;
2100
1249
  }
2101
- xt() === t && window.history.replaceState(
1250
+ Tt() === t && window.history.replaceState(
2102
1251
  null,
2103
1252
  "",
2104
1253
  window.location.pathname + window.location.search
2105
- ), f(!1);
1254
+ ), p(!1);
2106
1255
  };
2107
- return W(() => {
2108
- if (!p) return;
2109
- const v = (R) => {
2110
- R.key === "Escape" && b();
1256
+ return nt(() => {
1257
+ if (!f) return;
1258
+ const x = (S) => {
1259
+ S.key === "Escape" && b();
2111
1260
  };
2112
- return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
2113
- }, [p, o, t]), p ? /* @__PURE__ */ r.jsx(
1261
+ return document.addEventListener("keydown", x), () => document.removeEventListener("keydown", x);
1262
+ }, [f, o, t]), f ? /* @__PURE__ */ e.jsx(
2114
1263
  "div",
2115
1264
  {
2116
- className: Y("hash-modal", _, a.root),
1265
+ className: tt("hash-modal", m, a.root),
2117
1266
  onClick: b,
2118
- ...u,
2119
- children: /* @__PURE__ */ r.jsxs(
1267
+ ...g,
1268
+ children: /* @__PURE__ */ e.jsxs(
2120
1269
  "div",
2121
1270
  {
2122
- className: Y("hash-modal__dialog", a.dialog),
2123
- style: { "--hash-modal-max-width": m },
2124
- onClick: (v) => v.stopPropagation(),
1271
+ className: tt("hash-modal__dialog", a.dialog),
1272
+ style: { "--hash-modal-max-width": _ },
1273
+ onClick: (x) => x.stopPropagation(),
2125
1274
  role: "dialog",
2126
1275
  "aria-modal": "true",
2127
1276
  children: [
2128
- /* @__PURE__ */ r.jsxs("div", { className: Y("hash-modal__header", a.header), children: [
2129
- /* @__PURE__ */ r.jsx("h2", { className: Y("hash-modal__title", a.title), children: i }),
2130
- /* @__PURE__ */ r.jsx(
1277
+ /* @__PURE__ */ e.jsxs("div", { className: tt("hash-modal__header", a.header), children: [
1278
+ /* @__PURE__ */ e.jsx("h2", { className: tt("hash-modal__title", a.title), children: s }),
1279
+ /* @__PURE__ */ e.jsx(
2131
1280
  "button",
2132
1281
  {
2133
1282
  type: "button",
2134
1283
  onClick: b,
2135
1284
  "aria-label": "Close",
2136
- className: Y("hash-modal__close", a.closeButton),
2137
- children: /* @__PURE__ */ r.jsx(
1285
+ className: tt("hash-modal__close", a.closeButton),
1286
+ children: /* @__PURE__ */ e.jsx(
2138
1287
  "svg",
2139
1288
  {
2140
1289
  viewBox: "0 0 24 24",
2141
1290
  fill: "none",
2142
- className: Y("hash-modal__close-icon", a.closeIcon),
1291
+ className: tt("hash-modal__close-icon", a.closeIcon),
2143
1292
  stroke: "currentColor",
2144
1293
  strokeWidth: "2",
2145
1294
  "aria-hidden": "true",
2146
- children: /* @__PURE__ */ r.jsx("path", { d: "M6 6l12 12M18 6L6 18", strokeLinecap: "round" })
1295
+ children: /* @__PURE__ */ e.jsx("path", { d: "M6 6l12 12M18 6L6 18", strokeLinecap: "round" })
2147
1296
  }
2148
1297
  )
2149
1298
  }
2150
1299
  )
2151
1300
  ] }),
2152
- /* @__PURE__ */ r.jsx("div", { className: Y("hash-modal__body", a.body), children: s })
1301
+ /* @__PURE__ */ e.jsx("div", { className: tt("hash-modal__body", a.body), children: i })
2153
1302
  ]
2154
1303
  }
2155
1304
  )
2156
1305
  }
2157
1306
  ) : null;
2158
1307
  }
2159
- const M = (...t) => t.filter(Boolean).join(" ");
2160
- function pi({
1308
+ const H = (...t) => t.filter(Boolean).join(" ");
1309
+ function fi({
2161
1310
  title: t,
2162
- text: e,
1311
+ text: r,
2163
1312
  filename: o = "text.txt",
2164
- open: i,
2165
- onToggle: s,
2166
- className: m,
2167
- classes: _ = {},
1313
+ open: s,
1314
+ onToggle: i,
1315
+ className: _,
1316
+ classes: m = {},
2168
1317
  ...a
2169
1318
  }) {
2170
- const [u, l] = Z(!0), [f, d] = Z(!1), p = i !== void 0 ? i : u, b = () => {
2171
- const A = !p;
2172
- s ? s(A) : l(A);
2173
- }, v = async (A) => {
2174
- A.stopPropagation();
1319
+ const [g, l] = E(!0), [p, d] = E(!1), f = s !== void 0 ? s : g, b = () => {
1320
+ const P = !f;
1321
+ i ? i(P) : l(P);
1322
+ }, x = async (P) => {
1323
+ P.stopPropagation();
2175
1324
  try {
2176
- await navigator.clipboard.writeText(e), d(!0), setTimeout(() => {
1325
+ await navigator.clipboard.writeText(r), d(!0), setTimeout(() => {
2177
1326
  d(!1);
2178
1327
  }, 1500);
2179
1328
  } catch {
2180
1329
  d(!1);
2181
1330
  }
2182
- }, R = (A) => {
2183
- A.stopPropagation();
2184
- const k = new Blob([e], {
1331
+ }, S = (P) => {
1332
+ P.stopPropagation();
1333
+ const j = new Blob([r], {
2185
1334
  type: "text/plain;charset=utf-8"
2186
- }), N = URL.createObjectURL(k), z = document.createElement("a");
2187
- z.href = N, z.download = o, document.body.appendChild(z), z.click(), z.remove(), URL.revokeObjectURL(N);
1335
+ }), I = URL.createObjectURL(j), O = document.createElement("a");
1336
+ O.href = I, O.download = o, document.body.appendChild(O), O.click(), O.remove(), URL.revokeObjectURL(I);
2188
1337
  };
2189
- return /* @__PURE__ */ r.jsxs(
1338
+ return /* @__PURE__ */ e.jsxs(
2190
1339
  "div",
2191
1340
  {
2192
- className: M(
1341
+ className: H(
2193
1342
  "mc-acc",
2194
1343
  "text-renderer",
2195
- p && "mc-acc--open",
2196
- p && "text-renderer--open",
2197
- m,
2198
- _.root
1344
+ f && "mc-acc--open",
1345
+ f && "text-renderer--open",
1346
+ _,
1347
+ m.root
2199
1348
  ),
2200
1349
  ...a,
2201
1350
  children: [
2202
- /* @__PURE__ */ r.jsxs("div", { className: M("text-renderer__header", _.header), children: [
2203
- /* @__PURE__ */ r.jsxs(
1351
+ /* @__PURE__ */ e.jsxs("div", { className: H("text-renderer__header", m.header), children: [
1352
+ /* @__PURE__ */ e.jsxs(
2204
1353
  "button",
2205
1354
  {
2206
1355
  type: "button",
2207
1356
  onClick: b,
2208
- className: M("text-renderer__toggle", _.toggle),
2209
- "aria-expanded": p,
1357
+ className: H("text-renderer__toggle", m.toggle),
1358
+ "aria-expanded": f,
2210
1359
  children: [
2211
- /* @__PURE__ */ r.jsx("span", { className: M("text-renderer__title", _.title), children: t }),
2212
- /* @__PURE__ */ r.jsx(
1360
+ /* @__PURE__ */ e.jsx("span", { className: H("text-renderer__title", m.title), children: t }),
1361
+ /* @__PURE__ */ e.jsx(
2213
1362
  "span",
2214
1363
  {
2215
- className: M(
1364
+ className: H(
2216
1365
  "mc-acc__chevron",
2217
1366
  "text-renderer__chevron",
2218
- p && "mc-acc__chevron--open",
2219
- _.chevron
1367
+ f && "mc-acc__chevron--open",
1368
+ m.chevron
2220
1369
  ),
2221
- children: /* @__PURE__ */ r.jsx(
1370
+ children: /* @__PURE__ */ e.jsx(
2222
1371
  "svg",
2223
1372
  {
2224
1373
  viewBox: "0 0 20 20",
@@ -2227,7 +1376,7 @@ function pi({
2227
1376
  strokeWidth: "2",
2228
1377
  className: "mc-acc__chevron-icon",
2229
1378
  "aria-hidden": "true",
2230
- children: /* @__PURE__ */ r.jsx(
1379
+ children: /* @__PURE__ */ e.jsx(
2231
1380
  "path",
2232
1381
  {
2233
1382
  d: "M5 7.5 10 12.5 15 7.5",
@@ -2242,61 +1391,61 @@ function pi({
2242
1391
  ]
2243
1392
  }
2244
1393
  ),
2245
- /* @__PURE__ */ r.jsxs("div", { className: M("text-renderer__actions", _.actions), children: [
2246
- /* @__PURE__ */ r.jsxs(
1394
+ /* @__PURE__ */ e.jsxs("div", { className: H("text-renderer__actions", m.actions), children: [
1395
+ /* @__PURE__ */ e.jsxs(
2247
1396
  "button",
2248
1397
  {
2249
1398
  type: "button",
2250
- onClick: v,
2251
- className: M(
1399
+ onClick: x,
1400
+ className: H(
2252
1401
  "text-renderer__action",
2253
1402
  "text-renderer__copy-button",
2254
- _.action,
2255
- _.copyButton
1403
+ m.action,
1404
+ m.copyButton
2256
1405
  ),
2257
1406
  children: [
2258
- f ? /* @__PURE__ */ r.jsx(rn, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ r.jsx(en, { className: "text-renderer__action-icon" }),
2259
- /* @__PURE__ */ r.jsx("span", { children: f ? "Copied!" : "Copy" })
1407
+ p ? /* @__PURE__ */ e.jsx(dn, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ e.jsx(un, { className: "text-renderer__action-icon" }),
1408
+ /* @__PURE__ */ e.jsx("span", { children: p ? "Copied!" : "Copy" })
2260
1409
  ]
2261
1410
  }
2262
1411
  ),
2263
- /* @__PURE__ */ r.jsxs(
1412
+ /* @__PURE__ */ e.jsxs(
2264
1413
  "button",
2265
1414
  {
2266
1415
  type: "button",
2267
- onClick: R,
2268
- className: M(
1416
+ onClick: S,
1417
+ className: H(
2269
1418
  "text-renderer__action",
2270
1419
  "text-renderer__download-button",
2271
- _.action,
2272
- _.downloadButton
1420
+ m.action,
1421
+ m.downloadButton
2273
1422
  ),
2274
1423
  children: [
2275
- /* @__PURE__ */ r.jsx(Nt, { className: "text-renderer__action-icon" }),
2276
- /* @__PURE__ */ r.jsx("span", { children: "Download" })
1424
+ /* @__PURE__ */ e.jsx(Ht, { className: "text-renderer__action-icon" }),
1425
+ /* @__PURE__ */ e.jsx("span", { children: "Download" })
2277
1426
  ]
2278
1427
  }
2279
1428
  )
2280
1429
  ] })
2281
1430
  ] }),
2282
- /* @__PURE__ */ r.jsx(
1431
+ /* @__PURE__ */ e.jsx(
2283
1432
  "div",
2284
1433
  {
2285
- className: M(
1434
+ className: H(
2286
1435
  "mc-acc__collapse",
2287
1436
  "text-renderer__content-wrapper",
2288
- p && "mc-acc__collapse--open",
2289
- _.contentWrapper
1437
+ f && "mc-acc__collapse--open",
1438
+ m.contentWrapper
2290
1439
  ),
2291
- children: /* @__PURE__ */ r.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ r.jsx(
1440
+ children: /* @__PURE__ */ e.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ e.jsx(
2292
1441
  "div",
2293
1442
  {
2294
- className: M(
1443
+ className: H(
2295
1444
  "mc-acc__panel",
2296
1445
  "text-renderer__content",
2297
- _.content
1446
+ m.content
2298
1447
  ),
2299
- children: /* @__PURE__ */ r.jsx("div", { className: M("text-renderer__scroll", _.scroll), children: /* @__PURE__ */ r.jsx("pre", { className: M("text-renderer__pre", _.pre), children: e }) })
1448
+ children: /* @__PURE__ */ e.jsx("div", { className: H("text-renderer__scroll", m.scroll), children: /* @__PURE__ */ e.jsx("pre", { className: H("text-renderer__pre", m.pre), children: r }) })
2300
1449
  }
2301
1450
  ) })
2302
1451
  }
@@ -2305,70 +1454,70 @@ function pi({
2305
1454
  }
2306
1455
  );
2307
1456
  }
2308
- const D = (...t) => t.filter(Boolean).join(" ");
2309
- function hi({
1457
+ const U = (...t) => t.filter(Boolean).join(" ");
1458
+ function vi({
2310
1459
  title: t,
2311
- text: e,
1460
+ text: r,
2312
1461
  filename: o = "text.txt",
2313
- open: i,
2314
- onToggle: s,
2315
- extraActions: m,
2316
- className: _,
1462
+ open: s,
1463
+ onToggle: i,
1464
+ extraActions: _,
1465
+ className: m,
2317
1466
  classes: a = {},
2318
- ...u
1467
+ ...g
2319
1468
  }) {
2320
- const [l, f] = Z(!0), [d, p] = Z(!1), b = i !== void 0 ? i : l, v = () => {
2321
- const k = !b;
2322
- s ? s(k) : f(k);
2323
- }, R = async (k) => {
2324
- k.stopPropagation();
1469
+ const [l, p] = E(!0), [d, f] = E(!1), b = s !== void 0 ? s : l, x = () => {
1470
+ const j = !b;
1471
+ i ? i(j) : p(j);
1472
+ }, S = async (j) => {
1473
+ j.stopPropagation();
2325
1474
  try {
2326
- await navigator.clipboard.writeText(e), p(!0), setTimeout(() => {
2327
- p(!1);
1475
+ await navigator.clipboard.writeText(r), f(!0), setTimeout(() => {
1476
+ f(!1);
2328
1477
  }, 1500);
2329
1478
  } catch {
2330
- p(!1);
1479
+ f(!1);
2331
1480
  }
2332
- }, A = (k) => {
2333
- k.stopPropagation();
2334
- const N = new Blob([e], {
1481
+ }, P = (j) => {
1482
+ j.stopPropagation();
1483
+ const I = new Blob([r], {
2335
1484
  type: "text/plain;charset=utf-8"
2336
- }), z = URL.createObjectURL(N), I = document.createElement("a");
2337
- I.href = z, I.download = o, document.body.appendChild(I), I.click(), I.remove(), URL.revokeObjectURL(z);
1485
+ }), O = URL.createObjectURL(I), Z = document.createElement("a");
1486
+ Z.href = O, Z.download = o, document.body.appendChild(Z), Z.click(), Z.remove(), URL.revokeObjectURL(O);
2338
1487
  };
2339
- return /* @__PURE__ */ r.jsxs(
1488
+ return /* @__PURE__ */ e.jsxs(
2340
1489
  "div",
2341
1490
  {
2342
- className: D(
1491
+ className: U(
2343
1492
  "mc-acc",
2344
1493
  "text-renderer",
2345
1494
  b && "mc-acc--open",
2346
1495
  b && "text-renderer--open",
2347
- _,
1496
+ m,
2348
1497
  a.root
2349
1498
  ),
2350
- ...u,
1499
+ ...g,
2351
1500
  children: [
2352
- /* @__PURE__ */ r.jsxs("div", { className: D("text-renderer__header", a.header), children: [
2353
- /* @__PURE__ */ r.jsxs(
1501
+ /* @__PURE__ */ e.jsxs("div", { className: U("text-renderer__header", a.header), children: [
1502
+ /* @__PURE__ */ e.jsxs(
2354
1503
  "button",
2355
1504
  {
2356
1505
  type: "button",
2357
- onClick: v,
2358
- className: D("text-renderer__toggle", a.toggle),
1506
+ onClick: x,
1507
+ className: U("text-renderer__toggle", a.toggle),
2359
1508
  "aria-expanded": b,
2360
1509
  children: [
2361
- /* @__PURE__ */ r.jsx("span", { className: D("text-renderer__title", a.title), children: t }),
2362
- /* @__PURE__ */ r.jsx(
1510
+ /* @__PURE__ */ e.jsx("span", { className: U("text-renderer__title", a.title), children: t }),
1511
+ /* @__PURE__ */ e.jsx(
2363
1512
  "span",
2364
1513
  {
2365
- className: D(
1514
+ className: U(
2366
1515
  "mc-acc__chevron",
2367
1516
  "text-renderer__chevron",
2368
1517
  b && "mc-acc__chevron--open",
2369
1518
  a.chevron
2370
1519
  ),
2371
- children: /* @__PURE__ */ r.jsx(
1520
+ children: /* @__PURE__ */ e.jsx(
2372
1521
  "svg",
2373
1522
  {
2374
1523
  viewBox: "0 0 20 20",
@@ -2377,7 +1526,7 @@ function hi({
2377
1526
  strokeWidth: "2",
2378
1527
  className: "mc-acc__chevron-icon",
2379
1528
  "aria-hidden": "true",
2380
- children: /* @__PURE__ */ r.jsx(
1529
+ children: /* @__PURE__ */ e.jsx(
2381
1530
  "path",
2382
1531
  {
2383
1532
  d: "M5 7.5 10 12.5 15 7.5",
@@ -2392,62 +1541,62 @@ function hi({
2392
1541
  ]
2393
1542
  }
2394
1543
  ),
2395
- /* @__PURE__ */ r.jsxs("div", { className: D("text-renderer__actions", a.actions), children: [
2396
- /* @__PURE__ */ r.jsxs(
1544
+ /* @__PURE__ */ e.jsxs("div", { className: U("text-renderer__actions", a.actions), children: [
1545
+ /* @__PURE__ */ e.jsxs(
2397
1546
  "button",
2398
1547
  {
2399
1548
  type: "button",
2400
- onClick: R,
2401
- className: D(
1549
+ onClick: S,
1550
+ className: U(
2402
1551
  "text-renderer__action",
2403
1552
  "text-renderer__copy-button",
2404
1553
  a.action,
2405
1554
  a.copyButton
2406
1555
  ),
2407
1556
  children: [
2408
- d ? /* @__PURE__ */ r.jsx(rn, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ r.jsx(en, { className: "text-renderer__action-icon" }),
2409
- /* @__PURE__ */ r.jsx("span", { children: d ? "Copied!" : "Copy" })
1557
+ d ? /* @__PURE__ */ e.jsx(dn, { className: "text-renderer__action-icon" }) : /* @__PURE__ */ e.jsx(un, { className: "text-renderer__action-icon" }),
1558
+ /* @__PURE__ */ e.jsx("span", { children: d ? "Copied!" : "Copy" })
2410
1559
  ]
2411
1560
  }
2412
1561
  ),
2413
- /* @__PURE__ */ r.jsxs(
1562
+ /* @__PURE__ */ e.jsxs(
2414
1563
  "button",
2415
1564
  {
2416
1565
  type: "button",
2417
- onClick: A,
2418
- className: D(
1566
+ onClick: P,
1567
+ className: U(
2419
1568
  "text-renderer__action",
2420
1569
  "text-renderer__download-button",
2421
1570
  a.action,
2422
1571
  a.downloadButton
2423
1572
  ),
2424
1573
  children: [
2425
- /* @__PURE__ */ r.jsx(Nt, { className: "text-renderer__action-icon" }),
2426
- /* @__PURE__ */ r.jsx("span", { children: "Download" })
1574
+ /* @__PURE__ */ e.jsx(Ht, { className: "text-renderer__action-icon" }),
1575
+ /* @__PURE__ */ e.jsx("span", { children: "Download" })
2427
1576
  ]
2428
1577
  }
2429
1578
  ),
2430
- m
1579
+ _
2431
1580
  ] })
2432
1581
  ] }),
2433
- /* @__PURE__ */ r.jsx(
1582
+ /* @__PURE__ */ e.jsx(
2434
1583
  "div",
2435
1584
  {
2436
- className: D(
1585
+ className: U(
2437
1586
  "mc-acc__collapse",
2438
1587
  "text-renderer__content-wrapper",
2439
1588
  b && "mc-acc__collapse--open",
2440
1589
  a.contentWrapper
2441
1590
  ),
2442
- children: /* @__PURE__ */ r.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ r.jsx(
1591
+ children: /* @__PURE__ */ e.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ e.jsx(
2443
1592
  "div",
2444
1593
  {
2445
- className: D(
1594
+ className: U(
2446
1595
  "mc-acc__panel",
2447
1596
  "text-renderer__content",
2448
1597
  a.content
2449
1598
  ),
2450
- children: /* @__PURE__ */ r.jsx("div", { className: D("text-renderer__scroll", a.scroll), children: /* @__PURE__ */ r.jsx("pre", { className: D("text-renderer__pre", a.pre), children: e }) })
1599
+ children: /* @__PURE__ */ e.jsx("div", { className: U("text-renderer__scroll", a.scroll), children: /* @__PURE__ */ e.jsx("pre", { className: U("text-renderer__pre", a.pre), children: r }) })
2451
1600
  }
2452
1601
  ) })
2453
1602
  }
@@ -2456,52 +1605,52 @@ function hi({
2456
1605
  }
2457
1606
  );
2458
1607
  }
2459
- const Q = (...t) => t.filter(Boolean).join(" ");
2460
- function fi({
1608
+ const ot = (...t) => t.filter(Boolean).join(" ");
1609
+ function yi({
2461
1610
  title: t,
2462
- children: e,
1611
+ children: r,
2463
1612
  className: o = "",
2464
- open: i,
2465
- onToggle: s,
2466
- classes: m = {},
2467
- ..._
1613
+ open: s,
1614
+ onToggle: i,
1615
+ classes: _ = {},
1616
+ ...m
2468
1617
  }) {
2469
- const [a, u] = Z(!0), l = i !== void 0 ? i : a, f = () => {
1618
+ const [a, g] = E(!0), l = s !== void 0 ? s : a, p = () => {
2470
1619
  const d = !l;
2471
- s ? s(d) : u(d);
1620
+ i ? i(d) : g(d);
2472
1621
  };
2473
- return /* @__PURE__ */ r.jsxs(
1622
+ return /* @__PURE__ */ e.jsxs(
2474
1623
  "div",
2475
1624
  {
2476
- className: Q(
1625
+ className: ot(
2477
1626
  "mc-acc",
2478
1627
  "info-accordion",
2479
1628
  l && "mc-acc--open",
2480
1629
  l && "info-accordion--open",
2481
1630
  o,
2482
- m.root
1631
+ _.root
2483
1632
  ),
2484
- ..._,
1633
+ ...m,
2485
1634
  children: [
2486
- /* @__PURE__ */ r.jsxs(
1635
+ /* @__PURE__ */ e.jsxs(
2487
1636
  "button",
2488
1637
  {
2489
1638
  type: "button",
2490
- onClick: f,
2491
- className: Q("info-accordion__toggle", m.toggle),
1639
+ onClick: p,
1640
+ className: ot("info-accordion__toggle", _.toggle),
2492
1641
  "aria-expanded": l,
2493
1642
  children: [
2494
- /* @__PURE__ */ r.jsx("span", { className: Q("info-accordion__title", m.title), children: t }),
2495
- /* @__PURE__ */ r.jsx(
1643
+ /* @__PURE__ */ e.jsx("span", { className: ot("info-accordion__title", _.title), children: t }),
1644
+ /* @__PURE__ */ e.jsx(
2496
1645
  "span",
2497
1646
  {
2498
- className: Q(
1647
+ className: ot(
2499
1648
  "mc-acc__chevron",
2500
1649
  "info-accordion__chevron",
2501
1650
  l && "mc-acc__chevron--open",
2502
- m.chevron
1651
+ _.chevron
2503
1652
  ),
2504
- children: /* @__PURE__ */ r.jsx(
1653
+ children: /* @__PURE__ */ e.jsx(
2505
1654
  "svg",
2506
1655
  {
2507
1656
  viewBox: "0 0 20 20",
@@ -2510,7 +1659,7 @@ function fi({
2510
1659
  strokeWidth: "2",
2511
1660
  className: "mc-acc__chevron-icon",
2512
1661
  "aria-hidden": "true",
2513
- children: /* @__PURE__ */ r.jsx(
1662
+ children: /* @__PURE__ */ e.jsx(
2514
1663
  "path",
2515
1664
  {
2516
1665
  d: "M5 7.5 10 12.5 15 7.5",
@@ -2525,24 +1674,24 @@ function fi({
2525
1674
  ]
2526
1675
  }
2527
1676
  ),
2528
- /* @__PURE__ */ r.jsx(
1677
+ /* @__PURE__ */ e.jsx(
2529
1678
  "div",
2530
1679
  {
2531
- className: Q(
1680
+ className: ot(
2532
1681
  "mc-acc__collapse",
2533
1682
  "info-accordion__content-wrapper",
2534
1683
  l && "mc-acc__collapse--open",
2535
- m.contentWrapper
1684
+ _.contentWrapper
2536
1685
  ),
2537
- children: /* @__PURE__ */ r.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ r.jsx(
1686
+ children: /* @__PURE__ */ e.jsx("div", { className: "mc-acc__collapse-inner", children: /* @__PURE__ */ e.jsx(
2538
1687
  "div",
2539
1688
  {
2540
- className: Q(
1689
+ className: ot(
2541
1690
  "mc-acc__panel",
2542
1691
  "info-accordion__content",
2543
- m.content
1692
+ _.content
2544
1693
  ),
2545
- children: e
1694
+ children: r
2546
1695
  }
2547
1696
  ) })
2548
1697
  }
@@ -2551,658 +1700,981 @@ function fi({
2551
1700
  }
2552
1701
  );
2553
1702
  }
2554
- function bi(t) {
2555
- return t.split(/(\d+)/).map((o, i) => o.match(/\d+/) ? /* @__PURE__ */ r.jsx("sub", { children: o }, i) : o);
2556
- }
2557
- const je = {
2558
- display: "inline-block",
2559
- position: "relative"
2560
- }, Re = {
2561
- position: "absolute",
2562
- top: "0.15em",
2563
- left: 0,
2564
- right: 0,
2565
- borderTop: "0.1em solid black",
2566
- height: 0,
2567
- zIndex: 1
2568
- };
2569
- function yi(t) {
2570
- let e = !1, o = !1;
2571
- return /* @__PURE__ */ r.jsx("span", { children: t.split("").map((i, s) => i == "-" ? (o = !0, null) : i == "_" ? (e = !0, null) : o ? (o = !1, /* @__PURE__ */ r.jsxs("span", { style: je, children: [
2572
- /* @__PURE__ */ r.jsx("span", { style: Re }),
2573
- i
2574
- ] }, s)) : e ? (e = !1, /* @__PURE__ */ r.jsx("sub", { children: i }, s)) : i) });
2575
- }
2576
- function Pi(t, { maxEntries: e = 50 } = {}) {
1703
+ function Ce(t, { maxEntries: r = 50 } = {}) {
2577
1704
  function o() {
2578
1705
  try {
2579
1706
  const a = localStorage.getItem(t);
2580
1707
  if (!a) return [];
2581
- const u = JSON.parse(a);
2582
- return Array.isArray(u) ? u : [];
1708
+ const g = JSON.parse(a);
1709
+ return Array.isArray(g) ? g : [];
2583
1710
  } catch {
2584
1711
  return [];
2585
1712
  }
2586
1713
  }
2587
- function i(a) {
1714
+ function s(a) {
2588
1715
  try {
2589
1716
  return localStorage.setItem(
2590
1717
  t,
2591
- JSON.stringify(a.slice(0, e))
1718
+ JSON.stringify(a.slice(0, r))
2592
1719
  ), !0;
2593
1720
  } catch {
2594
1721
  return !1;
2595
1722
  }
2596
1723
  }
2597
- function s(a) {
2598
- const u = [a, ...o().filter((l) => l.id !== a.id)].slice(
1724
+ function i(a) {
1725
+ const g = [a, ...o().filter((l) => l.id !== a.id)].slice(
2599
1726
  0,
2600
- e
1727
+ r
1728
+ );
1729
+ return s(g), g;
1730
+ }
1731
+ function _(a) {
1732
+ const g = o().filter((l) => l.id !== a);
1733
+ return s(g), g;
1734
+ }
1735
+ function m() {
1736
+ return s([]), [];
1737
+ }
1738
+ return { load: o, save: s, add: i, remove: _, clear: m };
1739
+ }
1740
+ const hn = "structure", Re = 1, Pi = ({ structure: t, fileName: r }) => ({
1741
+ kind: hn,
1742
+ version: Re,
1743
+ fileName: r,
1744
+ structure: gn(t)
1745
+ });
1746
+ function Se(t) {
1747
+ if ((t == null ? void 0 : t.kind) !== hn || !t.structure)
1748
+ throw new Error("this link does not hold a structure");
1749
+ return { structure: Ot(t.structure), fileName: t.fileName };
1750
+ }
1751
+ function Ie() {
1752
+ return /* @__PURE__ */ e.jsxs("div", { className: "mc-structure-upload__terms", children: [
1753
+ /* @__PURE__ */ e.jsx("h3", { children: "Links To Other Web Sites" }),
1754
+ /* @__PURE__ */ e.jsx("p", { children: "Our Service may contain links to third-party web sites or services that are not owned or controlled by us. We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any third party web sites or services. You further acknowledge and agree that we shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such web sites or services." }),
1755
+ /* @__PURE__ */ e.jsx("p", { children: "We strongly advise you to read the terms and conditions and privacy policies of any third-party web sites or services that you visit." }),
1756
+ /* @__PURE__ */ e.jsx("h3", { children: "Changes" }),
1757
+ /* @__PURE__ */ e.jsx("p", { children: "We reserve the right, at our sole discretion, to modify or replace these Terms at any time. By continuing to access or use our Service after those revisions become effective, you agree to be bound by the revised terms. If you do not agree to the new terms, please stop using the Service." }),
1758
+ /* @__PURE__ */ e.jsx("h3", { children: "Contact Us" }),
1759
+ /* @__PURE__ */ e.jsx("p", { children: "If you have any questions about these Terms, please contact us." })
1760
+ ] });
1761
+ }
1762
+ const G = (...t) => t.filter(Boolean).join(" "), Ne = (t) => t.split(/[?#]/)[0].split("/").pop();
1763
+ function bi({
1764
+ onStructureParsed: t,
1765
+ validate: r,
1766
+ historyKey: o,
1767
+ historyTitle: s = "Previously uploaded structures",
1768
+ examples: i = [],
1769
+ examplesTitle: _ = "Otherwise, pick an example",
1770
+ label: m = "Upload a crystal structure",
1771
+ title: a = "Drop your crystal structure here",
1772
+ accept: g = ".cif,.xyz,.vasp,.poscar,.xsf,.in,.pwi",
1773
+ hint: l = "CIF, XYZ, POSCAR, XSF and Quantum ESPRESSO files",
1774
+ terms: p = /* @__PURE__ */ e.jsx(Ie, {}),
1775
+ termsTitle: d = "Terms of service",
1776
+ shareStore: f,
1777
+ className: b,
1778
+ classes: x = {},
1779
+ ...S
1780
+ }) {
1781
+ const P = Yn(
1782
+ () => o ? Ce(o) : null,
1783
+ [o]
1784
+ ), [j, I] = E(null), [O, Z] = E(null), [pt, J] = E(null), [ht, it] = E(() => (P == null ? void 0 : P.load()) ?? []), [st, ft] = E(null), [K] = E(() => {
1785
+ try {
1786
+ const h = new URLSearchParams(window.location.search).get("fromURL"), y = h && pn(h);
1787
+ return y && (P == null ? void 0 : P.load().find((R) => R.fileName === y)) || null;
1788
+ } catch {
1789
+ return null;
1790
+ }
1791
+ }), vt = ({ fileName: h, format: y, structure: R }, { unique: B = !1 } = {}) => {
1792
+ P && (B && P.load().some((W) => W.fileName === h) || it(
1793
+ P.add({
1794
+ id: crypto.randomUUID(),
1795
+ fileName: h,
1796
+ format: y,
1797
+ date: (/* @__PURE__ */ new Date()).toISOString(),
1798
+ structure: gn(R)
1799
+ })
1800
+ ));
1801
+ }, z = (h, { remember: y = !0, fromLink: R = !1 } = {}) => {
1802
+ J(null);
1803
+ try {
1804
+ r == null || r(h.structure);
1805
+ } catch (B) {
1806
+ return J((B == null ? void 0 : B.message) ?? String(B)), !1;
1807
+ }
1808
+ return R || f == null || f.syncAddressBar(null), t == null || t(h), y && vt(h, { unique: R }), !0;
1809
+ };
1810
+ nt(() => {
1811
+ K && z(
1812
+ {
1813
+ format: K.format,
1814
+ structure: Ot(K.structure),
1815
+ fileName: K.fileName
1816
+ },
1817
+ { remember: !1, fromLink: !0 }
1818
+ );
1819
+ const h = f == null ? void 0 : f.idFromLocation();
1820
+ if (!h) return;
1821
+ let y = !1;
1822
+ return Z("shared structure"), f.fetch(h).then((R) => {
1823
+ if (y) return;
1824
+ const { structure: B, fileName: W } = Se(R);
1825
+ z(
1826
+ { format: "shared", structure: B, fileName: W ?? h, shareId: h },
1827
+ { fromLink: !0 }
1828
+ );
1829
+ }).catch((R) => {
1830
+ y || J(`Loading shared structure failed: ${R.message}`);
1831
+ }).finally(() => {
1832
+ y || Z(null);
1833
+ }), () => {
1834
+ y = !0;
1835
+ };
1836
+ }, []);
1837
+ const V = async (h) => {
1838
+ if (h) {
1839
+ I(h), J(null), Z(h.name);
1840
+ try {
1841
+ const y = await h.text(), { format: R, structure: B } = sn(y, {
1842
+ fileName: h.name
1843
+ });
1844
+ z({ format: R, structure: B, fileName: h.name });
1845
+ } catch (y) {
1846
+ J((y == null ? void 0 : y.message) ?? String(y));
1847
+ } finally {
1848
+ Z(null);
1849
+ }
1850
+ }
1851
+ }, Q = ({ structure: h, format: y, fileName: R }) => {
1852
+ z({ format: y, structure: h, fileName: R }, { fromLink: !0 });
1853
+ }, yt = (h) => {
1854
+ try {
1855
+ z(
1856
+ {
1857
+ format: h.format,
1858
+ structure: Ot(h.structure),
1859
+ fileName: h.fileName
1860
+ },
1861
+ { remember: !1 }
1862
+ );
1863
+ } catch (y) {
1864
+ J((y == null ? void 0 : y.message) ?? String(y));
1865
+ }
1866
+ }, Pt = async (h) => {
1867
+ J(null), ft(h.url);
1868
+ try {
1869
+ const y = await fetch(h.url);
1870
+ if (!y.ok) throw new Error(`Failed to load example (${y.status})`);
1871
+ const R = h.fileName ?? Ne(h.url), { format: B, structure: W } = sn(await y.text(), {
1872
+ fileName: R
1873
+ });
1874
+ z({ format: B, structure: W, fileName: R }, { remember: !1 });
1875
+ } catch (y) {
1876
+ J((y == null ? void 0 : y.message) ?? String(y));
1877
+ } finally {
1878
+ ft(null);
1879
+ }
1880
+ }, at = i.some((h) => h.family) ? Object.entries(
1881
+ i.reduce((h, y) => {
1882
+ var R;
1883
+ return (h[R = y.family ?? "Other"] || (h[R] = [])).push(y), h;
1884
+ }, {})
1885
+ ) : null, ct = (h) => /* @__PURE__ */ e.jsx("option", { value: h.url, children: h.label }, h.url);
1886
+ return /* @__PURE__ */ e.jsxs("div", { className: G("mc-structure-upload", b, x.root), ...S, children: [
1887
+ /* @__PURE__ */ e.jsx("label", { className: G("mc-structure-upload__label", x.label), children: m }),
1888
+ /* @__PURE__ */ e.jsx(
1889
+ ye,
1890
+ {
1891
+ accept: g,
1892
+ fileName: j == null ? void 0 : j.name,
1893
+ onFile: V,
1894
+ title: a,
1895
+ hint: l
1896
+ }
1897
+ ),
1898
+ p && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1899
+ /* @__PURE__ */ e.jsxs("p", { className: G("mc-structure-upload__agree", x.agree), children: [
1900
+ "By continuing you agree to our ",
1901
+ /* @__PURE__ */ e.jsx("a", { href: "#terms", children: d })
1902
+ ] }),
1903
+ /* @__PURE__ */ e.jsx(je, { hash: "terms", title: d, children: p })
1904
+ ] }),
1905
+ O && /* @__PURE__ */ e.jsxs("p", { className: G("mc-structure-upload__status", x.status), children: [
1906
+ /* @__PURE__ */ e.jsx("span", { className: "mc-structure-upload__spinner" }),
1907
+ "Loading ",
1908
+ O,
1909
+ "…"
1910
+ ] }),
1911
+ pt && /* @__PURE__ */ e.jsx("p", { className: G("mc-structure-upload__error", x.error), children: pt }),
1912
+ /* @__PURE__ */ e.jsx(
1913
+ Ae,
1914
+ {
1915
+ autoLoad: !K,
1916
+ onLoaded: Q,
1917
+ onError: (h) => J(h)
1918
+ }
1919
+ ),
1920
+ i.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: G("mc-structure-upload__examples", x.examples), children: [
1921
+ /* @__PURE__ */ e.jsx("p", { className: "mc-structure-upload__examples-title", children: _ }),
1922
+ /* @__PURE__ */ e.jsxs(
1923
+ "select",
1924
+ {
1925
+ value: "",
1926
+ onChange: (h) => {
1927
+ const y = i.find((R) => R.url === h.target.value);
1928
+ y && Pt(y);
1929
+ },
1930
+ disabled: st !== null,
1931
+ className: G("mc-structure-upload__select", x.select),
1932
+ children: [
1933
+ /* @__PURE__ */ e.jsx("option", { value: "", children: st ? "Loading example…" : "Select an example…" }),
1934
+ at ? at.map(([h, y]) => /* @__PURE__ */ e.jsx("optgroup", { label: h, children: y.map(ct) }, h)) : i.map(ct)
1935
+ ]
1936
+ }
1937
+ )
1938
+ ] }),
1939
+ ht.length > 0 && /* @__PURE__ */ e.jsx(
1940
+ be,
1941
+ {
1942
+ className: G("mc-structure-upload__history", x.history),
1943
+ title: s,
1944
+ entries: ht,
1945
+ onLoad: yt,
1946
+ onDelete: (h) => it(P.remove(h)),
1947
+ onClear: () => it(P.clear())
1948
+ }
1949
+ )
1950
+ ] });
1951
+ }
1952
+ const ut = (...t) => t.filter(Boolean).join(" "), ln = { status: "idle" };
1953
+ function xi({
1954
+ store: t,
1955
+ data: r,
1956
+ toDocument: o = (p) => p,
1957
+ shareId: s,
1958
+ onShared: i,
1959
+ label: _ = "Share",
1960
+ busyLabel: m = "Sharing…",
1961
+ className: a,
1962
+ classes: g = {},
1963
+ ...l
1964
+ }) {
1965
+ const [p, d] = E(ln), [f, b] = E(r);
1966
+ if (r !== f && (b(r), d(ln)), !(t != null && t.enabled) || !r) return null;
1967
+ const x = async () => {
1968
+ d({ status: "uploading" });
1969
+ try {
1970
+ const S = p.id ?? s ?? await t.upload(o(r));
1971
+ t.syncAddressBar(S), S !== s && (i == null || i(S));
1972
+ const P = t.linkFor(S);
1973
+ let j = !1;
1974
+ try {
1975
+ await navigator.clipboard.writeText(P), j = !0;
1976
+ } catch {
1977
+ }
1978
+ d({ status: "done", id: S, link: P, copied: j });
1979
+ } catch (S) {
1980
+ d({ status: "error", message: (S == null ? void 0 : S.message) ?? String(S) });
1981
+ }
1982
+ };
1983
+ return /* @__PURE__ */ e.jsxs("div", { className: ut("mc-share", a, g.root), ...l, children: [
1984
+ /* @__PURE__ */ e.jsx(
1985
+ "button",
1986
+ {
1987
+ type: "button",
1988
+ onClick: x,
1989
+ disabled: p.status === "uploading",
1990
+ className: ut("mc-share__button", g.button),
1991
+ children: p.status === "uploading" ? m : _
1992
+ }
1993
+ ),
1994
+ p.status === "done" && /* @__PURE__ */ e.jsxs("span", { className: ut("mc-share__link", g.link), children: [
1995
+ p.copied ? "Link copied: " : "Link: ",
1996
+ /* @__PURE__ */ e.jsx("a", { href: p.link, children: p.link })
1997
+ ] }),
1998
+ p.status === "error" && /* @__PURE__ */ e.jsxs("span", { className: ut("mc-share__error", g.error), children: [
1999
+ "Sharing failed: ",
2000
+ p.message
2001
+ ] }),
2002
+ t.name !== "production" && /* @__PURE__ */ e.jsxs("span", { className: ut("mc-share__store", g.store), children: [
2003
+ "(",
2004
+ t.name,
2005
+ " share store)"
2006
+ ] })
2007
+ ] });
2008
+ }
2009
+ function wi(t) {
2010
+ return t.split(/(\d+)/).map((o, s) => o.match(/\d+/) ? /* @__PURE__ */ e.jsx("sub", { children: o }, s) : o);
2011
+ }
2012
+ const Fe = {
2013
+ display: "inline-block",
2014
+ position: "relative"
2015
+ }, Ee = {
2016
+ position: "absolute",
2017
+ top: "0.15em",
2018
+ left: 0,
2019
+ right: 0,
2020
+ borderTop: "0.1em solid black",
2021
+ height: 0,
2022
+ zIndex: 1
2023
+ };
2024
+ function Ai(t) {
2025
+ let r = !1, o = !1;
2026
+ return /* @__PURE__ */ e.jsx("span", { children: t.split("").map((s, i) => s == "-" ? (o = !0, null) : s == "_" ? (r = !0, null) : o ? (o = !1, /* @__PURE__ */ e.jsxs("span", { style: Fe, children: [
2027
+ /* @__PURE__ */ e.jsx("span", { style: Ee }),
2028
+ s
2029
+ ] }, i)) : r ? (r = !1, /* @__PURE__ */ e.jsx("sub", { children: s }, i)) : s) });
2030
+ }
2031
+ const Dt = {
2032
+ dev: "https://kv-store.dev.materialscloud.org",
2033
+ production: "https://kv-store.materialscloud.org"
2034
+ }, ze = /^[A-Za-z0-9_-]+$/, _n = () => window.location.origin + window.location.pathname;
2035
+ function ki(t) {
2036
+ const r = t ? Dt[t] ?? (/^https?:\/\//.test(t) ? t : null) : null;
2037
+ if (t && !r)
2038
+ throw new Error(
2039
+ `Unknown share store '${t}' (expected: ${Object.keys(Dt).join(", ")} or a URL)`
2040
+ );
2041
+ const o = r !== null, s = o ? Dt[t] ? t : r : null, i = o ? `${r.replace(/\/+$/, "")}/api/shares` : null;
2042
+ function _() {
2043
+ if (!o) return null;
2044
+ const d = [...new URLSearchParams(window.location.search)].find(
2045
+ ([f, b]) => b === "" && ze.test(f)
2601
2046
  );
2602
- return i(u), u;
2047
+ return d ? d[0] : null;
2603
2048
  }
2604
- function m(a) {
2605
- const u = o().filter((l) => l.id !== a);
2606
- return i(u), u;
2049
+ const m = (p) => `${_n()}?${p}`;
2050
+ function a(p) {
2051
+ if (!o) return;
2052
+ const d = p ? m(p) : _n();
2053
+ window.history.replaceState(null, "", d + window.location.hash);
2607
2054
  }
2608
- function _() {
2609
- return i([]), [];
2055
+ async function g(p) {
2056
+ if (!o) throw new Error("sharing is not enabled");
2057
+ const d = await fetch(i, {
2058
+ method: "POST",
2059
+ headers: { "Content-Type": "application/json" },
2060
+ body: JSON.stringify(p)
2061
+ });
2062
+ if (d.status === 413) throw new Error("this data is too large to share");
2063
+ if (!d.ok) throw new Error(`share service returned ${d.status}`);
2064
+ const { id: f } = await d.json();
2065
+ return f;
2610
2066
  }
2611
- return { load: o, save: i, add: s, remove: m, clear: _ };
2067
+ async function l(p) {
2068
+ if (!o) throw new Error("sharing is not enabled");
2069
+ const d = await fetch(`${i}/${encodeURIComponent(p)}`);
2070
+ if (d.status === 404)
2071
+ throw new Error("shared data not found (links expire after 30 days)");
2072
+ if (!d.ok) throw new Error(`could not load shared data (${d.status})`);
2073
+ return d.json();
2074
+ }
2075
+ return {
2076
+ enabled: o,
2077
+ name: s,
2078
+ idFromLocation: _,
2079
+ linkFor: m,
2080
+ syncAddressBar: a,
2081
+ upload: g,
2082
+ fetch: l
2083
+ };
2612
2084
  }
2613
- function cn(t) {
2614
- return Math.sqrt(t.reduce((e, o) => e + o * o, 0));
2085
+ function fn(t) {
2086
+ return Math.sqrt(t.reduce((r, o) => r + o * o, 0));
2615
2087
  }
2616
- function ln(t, e) {
2617
- return t.reduce((o, i, s) => o + i * e[s], 0);
2088
+ function vn(t, r) {
2089
+ return t.reduce((o, s, i) => o + s * r[i], 0);
2618
2090
  }
2619
- function Ie(t) {
2620
- return t[0].map((e, o) => t.map((i) => i[o]));
2091
+ function Be(t) {
2092
+ return t[0].map((r, o) => t.map((s) => s[o]));
2621
2093
  }
2622
- function Se(t, e) {
2623
- return t.map((o) => o.map((i) => i * e));
2094
+ function Te(t, r) {
2095
+ return t.map((o) => o.map((s) => s * r));
2624
2096
  }
2625
- function Fe(t) {
2097
+ function De(t) {
2626
2098
  return Array.from(
2627
2099
  { length: t },
2628
- (e, o) => Array.from({ length: t }, (i, s) => o === s ? 1 : 0)
2100
+ (r, o) => Array.from({ length: t }, (s, i) => o === i ? 1 : 0)
2629
2101
  );
2630
2102
  }
2631
- function ze(t, e) {
2632
- for (var o = [], i = 0; i < t.length; i++) {
2633
- o[i] = [];
2634
- for (var s = 0; s < e[0].length; s++) {
2635
- for (var m = 0, _ = 0; _ < t[0].length; _++)
2636
- m += t[i][_] * e[_][s];
2637
- o[i][s] = m;
2103
+ function Oe(t, r) {
2104
+ for (var o = [], s = 0; s < t.length; s++) {
2105
+ o[s] = [];
2106
+ for (var i = 0; i < r[0].length; i++) {
2107
+ for (var _ = 0, m = 0; m < t[0].length; m++)
2108
+ _ += t[s][m] * r[m][i];
2109
+ o[s][i] = _;
2638
2110
  }
2639
2111
  }
2640
2112
  return o;
2641
2113
  }
2642
- function Ee(t) {
2643
- const e = t.length, o = t.map((s) => cn(s)), i = Array.from({ length: e }, () => Array(e).fill(0));
2644
- for (let s = 0; s < e; s++)
2645
- for (let m = 0; m < e; m++) {
2646
- if (s === m) {
2647
- i[s][m] = 0;
2114
+ function Ze(t) {
2115
+ const r = t.length, o = t.map((i) => fn(i)), s = Array.from({ length: r }, () => Array(r).fill(0));
2116
+ for (let i = 0; i < r; i++)
2117
+ for (let _ = 0; _ < r; _++) {
2118
+ if (i === _) {
2119
+ s[i][_] = 0;
2648
2120
  continue;
2649
2121
  }
2650
- const _ = ln(t[s], t[m]), a = o[s], u = o[m];
2651
- if (a > 0 && u > 0) {
2652
- let l = _ / (a * u);
2122
+ const m = vn(t[i], t[_]), a = o[i], g = o[_];
2123
+ if (a > 0 && g > 0) {
2124
+ let l = m / (a * g);
2653
2125
  l = Math.max(-1, Math.min(1, l));
2654
- const f = Math.acos(l);
2655
- i[s][m] = f * (180 / Math.PI);
2126
+ const p = Math.acos(l);
2127
+ s[i][_] = p * (180 / Math.PI);
2656
2128
  } else
2657
- i[s][m] = null;
2129
+ s[i][_] = null;
2658
2130
  }
2659
- return { lengths: o, angles: i };
2131
+ return { lengths: o, angles: s };
2660
2132
  }
2661
- function Be(t) {
2662
- const e = t.length, o = t.map((s) => s.slice()), i = Array.from(
2663
- { length: e },
2664
- (s, m) => Array.from({ length: e }, (_, a) => m === a ? 1 : 0)
2133
+ function Le(t) {
2134
+ const r = t.length, o = t.map((i) => i.slice()), s = Array.from(
2135
+ { length: r },
2136
+ (i, _) => Array.from({ length: r }, (m, a) => _ === a ? 1 : 0)
2665
2137
  );
2666
- for (let s = 0; s < e; s++) {
2667
- let m = s;
2668
- for (let a = s + 1; a < e; a++)
2669
- Math.abs(o[a][s]) > Math.abs(o[m][s]) && (m = a);
2670
- if ([o[s], o[m]] = [o[m], o[s]], [i[s], i[m]] = [i[m], i[s]], o[s][s] === 0)
2138
+ for (let i = 0; i < r; i++) {
2139
+ let _ = i;
2140
+ for (let a = i + 1; a < r; a++)
2141
+ Math.abs(o[a][i]) > Math.abs(o[_][i]) && (_ = a);
2142
+ if ([o[i], o[_]] = [o[_], o[i]], [s[i], s[_]] = [s[_], s[i]], o[i][i] === 0)
2671
2143
  throw new Error("Matrix is singular and cannot be inverted.");
2672
- const _ = o[s][s];
2673
- for (let a = 0; a < e; a++)
2674
- o[s][a] /= _, i[s][a] /= _;
2675
- for (let a = 0; a < e; a++) {
2676
- if (a === s) continue;
2677
- const u = o[a][s];
2678
- for (let l = 0; l < e; l++)
2679
- o[a][l] -= u * o[s][l], i[a][l] -= u * i[s][l];
2144
+ const m = o[i][i];
2145
+ for (let a = 0; a < r; a++)
2146
+ o[i][a] /= m, s[i][a] /= m;
2147
+ for (let a = 0; a < r; a++) {
2148
+ if (a === i) continue;
2149
+ const g = o[a][i];
2150
+ for (let l = 0; l < r; l++)
2151
+ o[a][l] -= g * o[i][l], s[a][l] -= g * s[i][l];
2680
2152
  }
2681
2153
  }
2682
- return i;
2154
+ return s;
2683
2155
  }
2684
- function _n(t) {
2685
- const e = t.length;
2686
- if (e === 1) return t[0][0];
2687
- if (e === 2)
2156
+ function yn(t) {
2157
+ const r = t.length;
2158
+ if (r === 1) return t[0][0];
2159
+ if (r === 2)
2688
2160
  return t[0][0] * t[1][1] - t[0][1] * t[1][0];
2689
2161
  let o = 0;
2690
- for (let i = 0; i < e; i++) {
2691
- const s = t.slice(1).map((_) => _.filter((a, u) => u !== i)), m = i % 2 === 0 ? 1 : -1;
2692
- o += m * t[0][i] * _n(s);
2162
+ for (let s = 0; s < r; s++) {
2163
+ const i = t.slice(1).map((m) => m.filter((a, g) => g !== s)), _ = s % 2 === 0 ? 1 : -1;
2164
+ o += _ * t[0][s] * yn(i);
2693
2165
  }
2694
2166
  return o;
2695
2167
  }
2696
- const vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2168
+ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2697
2169
  __proto__: null,
2698
- determinant: _n,
2699
- dot: ln,
2700
- getMatrixParams: Ee,
2701
- identityMatrix: Fe,
2702
- invertMatrix: Be,
2703
- multiplyMatrices: ze,
2704
- norm: cn,
2705
- scalarMultiply: Se,
2706
- transpose: Ie
2707
- }, Symbol.toStringTag, { value: "Module" })), Te = {
2170
+ determinant: yn,
2171
+ dot: vn,
2172
+ getMatrixParams: Ze,
2173
+ identityMatrix: De,
2174
+ invertMatrix: Le,
2175
+ multiplyMatrices: Oe,
2176
+ norm: fn,
2177
+ scalarMultiply: Te,
2178
+ transpose: Be
2179
+ }, Symbol.toStringTag, { value: "Module" })), Me = {
2708
2180
  Z: 1,
2709
2181
  mz: 1.00794
2710
- }, Me = {
2182
+ }, He = {
2711
2183
  Z: 2,
2712
2184
  mz: 4.002602
2713
- }, De = {
2185
+ }, Ue = {
2714
2186
  Z: 3,
2715
2187
  mz: 6.941
2716
- }, Ze = {
2188
+ }, Je = {
2717
2189
  Z: 4,
2718
2190
  mz: 9.012182
2719
- }, Oe = {
2191
+ }, Ve = {
2720
2192
  Z: 5,
2721
2193
  mz: 10.811
2722
- }, He = {
2194
+ }, Ye = {
2723
2195
  Z: 6,
2724
2196
  mz: 12.0107
2725
- }, Le = {
2197
+ }, Ge = {
2726
2198
  Z: 7,
2727
2199
  mz: 14.0067
2728
- }, Ue = {
2200
+ }, Ke = {
2729
2201
  Z: 8,
2730
2202
  mz: 15.9994
2731
- }, Je = {
2203
+ }, Qe = {
2732
2204
  Z: 9,
2733
2205
  mz: 18.9984032
2734
- }, Ve = {
2206
+ }, We = {
2735
2207
  Z: 10,
2736
2208
  mz: 20.1797
2737
- }, Ye = {
2209
+ }, Xe = {
2738
2210
  Z: 11,
2739
2211
  mz: 22.98976928
2740
- }, Ge = {
2212
+ }, qe = {
2741
2213
  Z: 12,
2742
2214
  mz: 24.305
2743
- }, Ke = {
2215
+ }, $e = {
2744
2216
  Z: 13,
2745
2217
  mz: 26.9815386
2746
- }, Qe = {
2218
+ }, tr = {
2747
2219
  Z: 14,
2748
2220
  mz: 28.0855
2749
- }, We = {
2221
+ }, nr = {
2750
2222
  Z: 15,
2751
2223
  mz: 30.973762
2752
- }, Xe = {
2224
+ }, er = {
2753
2225
  Z: 16,
2754
2226
  mz: 32.065
2755
- }, qe = {
2227
+ }, rr = {
2756
2228
  Z: 17,
2757
2229
  mz: 35.453
2758
- }, $e = {
2230
+ }, or = {
2759
2231
  Z: 18,
2760
2232
  mz: 39.948
2761
- }, tr = {
2233
+ }, ir = {
2762
2234
  Z: 19,
2763
2235
  mz: 39.0983
2764
- }, nr = {
2236
+ }, sr = {
2765
2237
  Z: 20,
2766
2238
  mz: 40.078
2767
- }, er = {
2239
+ }, ar = {
2768
2240
  Z: 21,
2769
2241
  mz: 44.955912
2770
- }, rr = {
2242
+ }, cr = {
2771
2243
  Z: 22,
2772
2244
  mz: 47.867
2773
- }, or = {
2245
+ }, lr = {
2774
2246
  Z: 23,
2775
2247
  mz: 50.9415
2776
- }, ir = {
2248
+ }, _r = {
2777
2249
  Z: 24,
2778
2250
  mz: 51.9961
2779
- }, sr = {
2251
+ }, mr = {
2780
2252
  Z: 25,
2781
2253
  mz: 54.938045
2782
- }, ar = {
2254
+ }, gr = {
2783
2255
  Z: 26,
2784
2256
  mz: 55.845
2785
- }, mr = {
2257
+ }, ur = {
2786
2258
  Z: 27,
2787
2259
  mz: 58.933195
2788
- }, cr = {
2260
+ }, dr = {
2789
2261
  Z: 28,
2790
2262
  mz: 58.6934
2791
- }, lr = {
2263
+ }, pr = {
2792
2264
  Z: 29,
2793
2265
  mz: 63.546
2794
- }, _r = {
2266
+ }, hr = {
2795
2267
  Z: 30,
2796
2268
  mz: 65.409
2797
- }, ur = {
2269
+ }, fr = {
2798
2270
  Z: 31,
2799
2271
  mz: 69.723
2800
- }, gr = {
2272
+ }, vr = {
2801
2273
  Z: 32,
2802
2274
  mz: 72.64
2803
- }, dr = {
2275
+ }, yr = {
2804
2276
  Z: 33,
2805
2277
  mz: 74.9216
2806
- }, pr = {
2278
+ }, Pr = {
2807
2279
  Z: 34,
2808
2280
  mz: 78.96
2809
- }, hr = {
2281
+ }, br = {
2810
2282
  Z: 35,
2811
2283
  mz: 79.904
2812
- }, fr = {
2284
+ }, xr = {
2813
2285
  Z: 36,
2814
2286
  mz: 83.798
2815
- }, br = {
2287
+ }, wr = {
2816
2288
  Z: 37,
2817
2289
  mz: 85.4678
2818
- }, yr = {
2290
+ }, Ar = {
2819
2291
  Z: 38,
2820
2292
  mz: 87.62
2821
- }, Pr = {
2293
+ }, kr = {
2822
2294
  Z: 39,
2823
2295
  mz: 88.90585
2824
- }, vr = {
2296
+ }, jr = {
2825
2297
  Z: 40,
2826
2298
  mz: 91.224
2827
- }, xr = {
2299
+ }, Cr = {
2828
2300
  Z: 41,
2829
2301
  mz: 92.90638
2830
- }, Ar = {
2302
+ }, Rr = {
2831
2303
  Z: 42,
2832
2304
  mz: 95.94
2833
- }, wr = {
2305
+ }, Sr = {
2834
2306
  Z: 43,
2835
2307
  mz: 98
2836
- }, kr = {
2308
+ }, Ir = {
2837
2309
  Z: 44,
2838
2310
  mz: 101.07
2839
2311
  }, Nr = {
2840
2312
  Z: 45,
2841
2313
  mz: 102.9055
2842
- }, Cr = {
2314
+ }, Fr = {
2843
2315
  Z: 46,
2844
2316
  mz: 106.42
2845
- }, jr = {
2317
+ }, Er = {
2846
2318
  Z: 47,
2847
2319
  mz: 107.8682
2848
- }, Rr = {
2320
+ }, zr = {
2849
2321
  Z: 48,
2850
2322
  mz: 112.411
2851
- }, Ir = {
2323
+ }, Br = {
2852
2324
  Z: 49,
2853
2325
  mz: 114.818
2854
- }, Sr = {
2326
+ }, Tr = {
2855
2327
  Z: 50,
2856
2328
  mz: 118.71
2857
- }, Fr = {
2329
+ }, Dr = {
2858
2330
  Z: 51,
2859
2331
  mz: 121.76
2860
- }, zr = {
2332
+ }, Or = {
2861
2333
  Z: 52,
2862
2334
  mz: 127.6
2863
- }, Er = {
2335
+ }, Zr = {
2864
2336
  Z: 53,
2865
2337
  mz: 126.90447
2866
- }, Br = {
2338
+ }, Lr = {
2867
2339
  Z: 54,
2868
2340
  mz: 131.293
2869
- }, Tr = {
2341
+ }, Mr = {
2870
2342
  Z: 55,
2871
2343
  mz: 132.9054519
2872
- }, Mr = {
2344
+ }, Hr = {
2873
2345
  Z: 56,
2874
2346
  mz: 137.327
2875
- }, Dr = {
2347
+ }, Ur = {
2876
2348
  Z: 57,
2877
2349
  mz: 138.90547
2878
- }, Zr = {
2350
+ }, Jr = {
2879
2351
  Z: 58,
2880
2352
  mz: 140.116
2881
- }, Or = {
2353
+ }, Vr = {
2882
2354
  Z: 59,
2883
2355
  mz: 140.90765
2884
- }, Hr = {
2356
+ }, Yr = {
2885
2357
  Z: 60,
2886
2358
  mz: 144.242
2887
- }, Lr = {
2359
+ }, Gr = {
2888
2360
  Z: 61,
2889
2361
  mz: 145
2890
- }, Ur = {
2362
+ }, Kr = {
2891
2363
  Z: 62,
2892
2364
  mz: 150.36
2893
- }, Jr = {
2365
+ }, Qr = {
2894
2366
  Z: 63,
2895
2367
  mz: 151.964
2896
- }, Vr = {
2368
+ }, Wr = {
2897
2369
  Z: 64,
2898
2370
  mz: 157.25
2899
- }, Yr = {
2371
+ }, Xr = {
2900
2372
  Z: 65,
2901
2373
  mz: 158.92535
2902
- }, Gr = {
2374
+ }, qr = {
2903
2375
  Z: 66,
2904
2376
  mz: 162.5
2905
- }, Kr = {
2377
+ }, $r = {
2906
2378
  Z: 67,
2907
2379
  mz: 164.93032
2908
- }, Qr = {
2380
+ }, to = {
2909
2381
  Z: 68,
2910
2382
  mz: 167.259
2911
- }, Wr = {
2383
+ }, no = {
2912
2384
  Z: 69,
2913
2385
  mz: 168.93421
2914
- }, Xr = {
2386
+ }, eo = {
2915
2387
  Z: 70,
2916
2388
  mz: 173.04
2917
- }, qr = {
2389
+ }, ro = {
2918
2390
  Z: 71,
2919
2391
  mz: 174.967
2920
- }, $r = {
2392
+ }, oo = {
2921
2393
  Z: 72,
2922
2394
  mz: 178.49
2923
- }, to = {
2395
+ }, io = {
2924
2396
  Z: 73,
2925
2397
  mz: 180.94788
2926
- }, no = {
2398
+ }, so = {
2927
2399
  Z: 74,
2928
2400
  mz: 183.84
2929
- }, eo = {
2401
+ }, ao = {
2930
2402
  Z: 75,
2931
2403
  mz: 186.207
2932
- }, ro = {
2404
+ }, co = {
2933
2405
  Z: 76,
2934
2406
  mz: 190.23
2935
- }, oo = {
2407
+ }, lo = {
2936
2408
  Z: 77,
2937
2409
  mz: 192.217
2938
- }, io = {
2410
+ }, _o = {
2939
2411
  Z: 78,
2940
2412
  mz: 195.084
2941
- }, so = {
2413
+ }, mo = {
2942
2414
  Z: 79,
2943
2415
  mz: 196.966569
2944
- }, ao = {
2416
+ }, go = {
2945
2417
  Z: 80,
2946
2418
  mz: 200.59
2947
- }, mo = {
2419
+ }, uo = {
2948
2420
  Z: 81,
2949
2421
  mz: 204.3833
2950
- }, co = {
2422
+ }, po = {
2951
2423
  Z: 82,
2952
2424
  mz: 207.2
2953
- }, lo = {
2425
+ }, ho = {
2954
2426
  Z: 83,
2955
2427
  mz: 208.9804
2956
- }, _o = {
2428
+ }, fo = {
2957
2429
  Z: 84,
2958
2430
  mz: 210
2959
- }, uo = {
2431
+ }, vo = {
2960
2432
  Z: 85,
2961
2433
  mz: 210
2962
- }, go = {
2434
+ }, yo = {
2963
2435
  Z: 86,
2964
2436
  mz: 220
2965
- }, po = {
2437
+ }, Po = {
2966
2438
  Z: 87,
2967
2439
  mz: 223
2968
- }, ho = {
2440
+ }, bo = {
2969
2441
  Z: 88,
2970
2442
  mz: 226
2971
- }, fo = {
2443
+ }, xo = {
2972
2444
  Z: 89,
2973
2445
  mz: 227
2974
- }, bo = {
2446
+ }, wo = {
2975
2447
  Z: 90,
2976
2448
  mz: 232.03806
2977
- }, yo = {
2449
+ }, Ao = {
2978
2450
  Z: 91,
2979
2451
  mz: 231.03588
2980
- }, Po = {
2452
+ }, ko = {
2981
2453
  Z: 92,
2982
2454
  mz: 238.02891
2983
- }, vo = {
2455
+ }, jo = {
2984
2456
  Z: 93,
2985
2457
  mz: 237
2986
- }, xo = {
2458
+ }, Co = {
2987
2459
  Z: 94,
2988
2460
  mz: 244
2989
- }, Ao = {
2461
+ }, Ro = {
2990
2462
  Z: 95,
2991
2463
  mz: 243
2992
- }, wo = {
2464
+ }, So = {
2993
2465
  Z: 96,
2994
2466
  mz: 247
2995
- }, ko = {
2467
+ }, Io = {
2996
2468
  Z: 97,
2997
2469
  mz: 247
2998
2470
  }, No = {
2999
2471
  Z: 98,
3000
2472
  mz: 251
3001
- }, Co = {
2473
+ }, Fo = {
3002
2474
  Z: 99,
3003
2475
  mz: 252
3004
- }, jo = {
2476
+ }, Eo = {
3005
2477
  Z: 100,
3006
2478
  mz: 257
3007
- }, Ro = {
2479
+ }, zo = {
3008
2480
  Z: 101,
3009
2481
  mz: 258
3010
- }, Io = {
2482
+ }, Bo = {
3011
2483
  Z: 102,
3012
2484
  mz: 259
3013
- }, So = {
2485
+ }, To = {
3014
2486
  Z: 103,
3015
2487
  mz: 262
3016
- }, Fo = {
2488
+ }, Do = {
3017
2489
  Z: 104,
3018
2490
  mz: 267
3019
- }, zo = {
2491
+ }, Oo = {
3020
2492
  Z: 105,
3021
2493
  mz: 268
3022
- }, Eo = {
2494
+ }, Zo = {
3023
2495
  Z: 106,
3024
2496
  mz: 269
3025
- }, Bo = {
2497
+ }, Lo = {
3026
2498
  Z: 107,
3027
2499
  mz: 270
3028
- }, To = {
2500
+ }, Mo = {
3029
2501
  Z: 108,
3030
2502
  mz: 270
3031
- }, Mo = {
2503
+ }, Ho = {
3032
2504
  Z: 109,
3033
2505
  mz: 278
3034
- }, Do = {
2506
+ }, Uo = {
3035
2507
  Z: 110,
3036
2508
  mz: 281
3037
- }, Zo = {
2509
+ }, Jo = {
3038
2510
  Z: 111,
3039
2511
  mz: 282
3040
- }, Oo = {
2512
+ }, Vo = {
3041
2513
  Z: 112,
3042
2514
  mz: 285
3043
- }, Ho = {
2515
+ }, Yo = {
3044
2516
  Z: 113,
3045
2517
  mz: 286
3046
- }, Lo = {
2518
+ }, Go = {
3047
2519
  Z: 114,
3048
2520
  mz: 289
3049
- }, Uo = {
2521
+ }, Ko = {
3050
2522
  Z: 115,
3051
2523
  mz: 290
3052
- }, Jo = {
2524
+ }, Qo = {
3053
2525
  Z: 116,
3054
2526
  mz: 293
3055
- }, Vo = {
2527
+ }, Wo = {
3056
2528
  Z: 117,
3057
2529
  mz: 294
3058
- }, Yo = {
2530
+ }, Xo = {
3059
2531
  Z: 118,
3060
2532
  mz: 294
3061
- }, Go = {
3062
- H: Te,
3063
- He: Me,
3064
- Li: De,
3065
- Be: Ze,
3066
- B: Oe,
3067
- C: He,
3068
- N: Le,
3069
- O: Ue,
3070
- F: Je,
3071
- Ne: Ve,
3072
- Na: Ye,
3073
- Mg: Ge,
3074
- Al: Ke,
3075
- Si: Qe,
3076
- P: We,
3077
- S: Xe,
3078
- Cl: qe,
3079
- Ar: $e,
3080
- K: tr,
3081
- Ca: nr,
3082
- Sc: er,
3083
- Ti: rr,
3084
- V: or,
3085
- Cr: ir,
3086
- Mn: sr,
3087
- Fe: ar,
3088
- Co: mr,
3089
- Ni: cr,
3090
- Cu: lr,
3091
- Zn: _r,
3092
- Ga: ur,
3093
- Ge: gr,
3094
- As: dr,
3095
- Se: pr,
3096
- Br: hr,
3097
- Kr: fr,
3098
- Rb: br,
3099
- Sr: yr,
3100
- Y: Pr,
3101
- Zr: vr,
3102
- Nb: xr,
3103
- Mo: Ar,
3104
- Tc: wr,
3105
- Ru: kr,
2533
+ }, qo = {
2534
+ H: Me,
2535
+ He,
2536
+ Li: Ue,
2537
+ Be: Je,
2538
+ B: Ve,
2539
+ C: Ye,
2540
+ N: Ge,
2541
+ O: Ke,
2542
+ F: Qe,
2543
+ Ne: We,
2544
+ Na: Xe,
2545
+ Mg: qe,
2546
+ Al: $e,
2547
+ Si: tr,
2548
+ P: nr,
2549
+ S: er,
2550
+ Cl: rr,
2551
+ Ar: or,
2552
+ K: ir,
2553
+ Ca: sr,
2554
+ Sc: ar,
2555
+ Ti: cr,
2556
+ V: lr,
2557
+ Cr: _r,
2558
+ Mn: mr,
2559
+ Fe: gr,
2560
+ Co: ur,
2561
+ Ni: dr,
2562
+ Cu: pr,
2563
+ Zn: hr,
2564
+ Ga: fr,
2565
+ Ge: vr,
2566
+ As: yr,
2567
+ Se: Pr,
2568
+ Br: br,
2569
+ Kr: xr,
2570
+ Rb: wr,
2571
+ Sr: Ar,
2572
+ Y: kr,
2573
+ Zr: jr,
2574
+ Nb: Cr,
2575
+ Mo: Rr,
2576
+ Tc: Sr,
2577
+ Ru: Ir,
3106
2578
  Rh: Nr,
3107
- Pd: Cr,
3108
- Ag: jr,
3109
- Cd: Rr,
3110
- In: Ir,
3111
- Sn: Sr,
3112
- Sb: Fr,
3113
- Te: zr,
3114
- I: Er,
3115
- Xe: Br,
3116
- Cs: Tr,
3117
- Ba: Mr,
3118
- La: Dr,
3119
- Ce: Zr,
3120
- Pr: Or,
3121
- Nd: Hr,
3122
- Pm: Lr,
3123
- Sm: Ur,
3124
- Eu: Jr,
3125
- Gd: Vr,
3126
- Tb: Yr,
3127
- Dy: Gr,
3128
- Ho: Kr,
3129
- Er: Qr,
3130
- Tm: Wr,
3131
- Yb: Xr,
3132
- Lu: qr,
3133
- Hf: $r,
3134
- Ta: to,
3135
- W: no,
3136
- Re: eo,
3137
- Os: ro,
3138
- Ir: oo,
3139
- Pt: io,
3140
- Au: so,
3141
- Hg: ao,
3142
- Tl: mo,
3143
- Pb: co,
3144
- Bi: lo,
3145
- Po: _o,
3146
- At: uo,
3147
- Rn: go,
3148
- Fr: po,
3149
- Ra: ho,
3150
- Ac: fo,
3151
- Th: bo,
3152
- Pa: yo,
3153
- U: Po,
3154
- Np: vo,
3155
- Pu: xo,
3156
- Am: Ao,
3157
- Cm: wo,
3158
- Bk: ko,
2579
+ Pd: Fr,
2580
+ Ag: Er,
2581
+ Cd: zr,
2582
+ In: Br,
2583
+ Sn: Tr,
2584
+ Sb: Dr,
2585
+ Te: Or,
2586
+ I: Zr,
2587
+ Xe: Lr,
2588
+ Cs: Mr,
2589
+ Ba: Hr,
2590
+ La: Ur,
2591
+ Ce: Jr,
2592
+ Pr: Vr,
2593
+ Nd: Yr,
2594
+ Pm: Gr,
2595
+ Sm: Kr,
2596
+ Eu: Qr,
2597
+ Gd: Wr,
2598
+ Tb: Xr,
2599
+ Dy: qr,
2600
+ Ho: $r,
2601
+ Er: to,
2602
+ Tm: no,
2603
+ Yb: eo,
2604
+ Lu: ro,
2605
+ Hf: oo,
2606
+ Ta: io,
2607
+ W: so,
2608
+ Re: ao,
2609
+ Os: co,
2610
+ Ir: lo,
2611
+ Pt: _o,
2612
+ Au: mo,
2613
+ Hg: go,
2614
+ Tl: uo,
2615
+ Pb: po,
2616
+ Bi: ho,
2617
+ Po: fo,
2618
+ At: vo,
2619
+ Rn: yo,
2620
+ Fr: Po,
2621
+ Ra: bo,
2622
+ Ac: xo,
2623
+ Th: wo,
2624
+ Pa: Ao,
2625
+ U: ko,
2626
+ Np: jo,
2627
+ Pu: Co,
2628
+ Am: Ro,
2629
+ Cm: So,
2630
+ Bk: Io,
3159
2631
  Cf: No,
3160
- Es: Co,
3161
- Fm: jo,
3162
- Md: Ro,
3163
- No: Io,
3164
- Lr: So,
3165
- Rf: Fo,
3166
- Db: zo,
3167
- Sg: Eo,
3168
- Bh: Bo,
3169
- Hs: To,
3170
- Mt: Mo,
3171
- Ds: Do,
3172
- Rg: Zo,
3173
- Cn: Oo,
3174
- Nh: Ho,
3175
- Fl: Lo,
3176
- Mc: Uo,
3177
- Lv: Jo,
3178
- Ts: Vo,
3179
- Og: Yo
2632
+ Es: Fo,
2633
+ Fm: Eo,
2634
+ Md: zo,
2635
+ No: Bo,
2636
+ Lr: To,
2637
+ Rf: Do,
2638
+ Db: Oo,
2639
+ Sg: Zo,
2640
+ Bh: Lo,
2641
+ Hs: Mo,
2642
+ Mt: Ho,
2643
+ Ds: Uo,
2644
+ Rg: Jo,
2645
+ Cn: Vo,
2646
+ Nh: Yo,
2647
+ Fl: Go,
2648
+ Mc: Ko,
2649
+ Lv: Qo,
2650
+ Ts: Wo,
2651
+ Og: Xo
3180
2652
  };
3181
- function Ko(t) {
3182
- var e = t.split(/(?=[A-Z])/), o = 0;
3183
- return e.forEach((i) => {
3184
- let s = i.match(/\d+/), m = s == null ? 1 : parseInt(s[0]);
3185
- o += m;
2653
+ function $o(t) {
2654
+ var r = t.split(/(?=[A-Z])/), o = 0;
2655
+ return r.forEach((s) => {
2656
+ let i = s.match(/\d+/), _ = i == null ? 1 : parseInt(i[0]);
2657
+ o += _;
3186
2658
  }), o;
3187
2659
  }
3188
- function Qo(t) {
2660
+ function ti(t) {
3189
2661
  return t.split(/(?=[A-Z])/).length;
3190
2662
  }
3191
- function Wo(t, e) {
2663
+ function ni(t, r) {
3192
2664
  var o = t.split(/(?=[A-Z])/);
3193
- let i = 0;
3194
- return o.forEach((s) => {
2665
+ let s = 0;
2666
+ return o.forEach((i) => {
3195
2667
  var l;
3196
- const m = s.match(/([a-zA-Z]+)(\d*)/), _ = m[1], a = parseInt(m[2] || "1"), u = ((l = Go[_]) == null ? void 0 : l.mz) || 0;
3197
- i += u * a;
3198
- }), Math.round(i * 1e4 / (e.value * 6.0223));
2668
+ const _ = i.match(/([a-zA-Z]+)(\d*)/), m = _[1], a = parseInt(_[2] || "1"), g = ((l = qo[m]) == null ? void 0 : l.mz) || 0;
2669
+ s += g * a;
2670
+ }), Math.round(s * 1e4 / (r.value * 6.0223));
3199
2671
  }
3200
- const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2672
+ const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3201
2673
  __proto__: null,
3202
- calculateDensity: Wo,
3203
- countNumberOfAtoms: Ko,
3204
- countNumberOfElements: Qo
3205
- }, Symbol.toStringTag, { value: "Module" })), wt = {
2674
+ calculateDensity: ni,
2675
+ countNumberOfAtoms: $o,
2676
+ countNumberOfElements: ti
2677
+ }, Symbol.toStringTag, { value: "Module" })), Lt = {
3206
2678
  1: {
3207
2679
  pg_int: "1",
3208
2680
  sg_int: "P1",
@@ -4353,14 +3825,14 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4353
3825
  sg_int: "Ia-3d",
4354
3826
  sg_int_short: "Ia-3d"
4355
3827
  }
4356
- }, Ct = {
3828
+ }, Ut = {
4357
3829
  a: "triclinic",
4358
3830
  m: "monoclinic",
4359
3831
  o: "orthorhombic",
4360
3832
  t: "tetragonal",
4361
3833
  h: "hexagonal",
4362
3834
  c: "cubic"
4363
- }, Xo = {
3835
+ }, ei = {
4364
3836
  aP: "triclinic",
4365
3837
  mP: "simple monoclinic",
4366
3838
  mS: "base-centered monoclinic",
@@ -4376,39 +3848,39 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4376
3848
  cI: "body-centered cubic",
4377
3849
  cF: "face-centered cubic"
4378
3850
  };
4379
- function et(t) {
3851
+ function dt(t) {
4380
3852
  if (t < 1 || t > 230)
4381
3853
  throw new Error(`Invalid space group number ${t}`);
4382
3854
  return t < 3 ? "a" : t < 16 ? "m" : t < 75 ? "o" : t < 143 ? "t" : t < 195 ? "h" : "c";
4383
3855
  }
4384
- function qo(t) {
4385
- return t > 142 && t < 168 ? "trigonal" : Ct[et(t)];
3856
+ function ri(t) {
3857
+ return t > 142 && t < 168 ? "trigonal" : Ut[dt(t)];
4386
3858
  }
4387
- function $o(t) {
4388
- return [146, 148, 155, 160, 161, 166, 167].includes(t) ? "rhombohedral" : Ct[et(t)];
3859
+ function oi(t) {
3860
+ return [146, 148, 155, 160, 161, 166, 167].includes(t) ? "rhombohedral" : Ut[dt(t)];
4389
3861
  }
4390
- function ti(t) {
4391
- let e = wt[t.toString()].sg_int_short.charAt(0), o = e;
4392
- ["A", "C"].includes(e) && (o = "S");
4393
- let i = et(t) + o;
4394
- return [i, Xo[i]];
3862
+ function ii(t) {
3863
+ let r = Lt[t.toString()].sg_int_short.charAt(0), o = r;
3864
+ ["A", "C"].includes(r) && (o = "S");
3865
+ let s = dt(t) + o;
3866
+ return [s, ei[s]];
4395
3867
  }
4396
- function Ai(t) {
3868
+ function Ri(t) {
4397
3869
  if (t < 1 || t > 230)
4398
3870
  throw new Error(`Invalid space group number ${t}`);
4399
- let e = ti(t);
3871
+ let r = ii(t);
4400
3872
  return {
4401
- space_group_symbol: wt[t.toString()].sg_int_short,
4402
- point_group_symbol: wt[t.toString()].pg_int,
4403
- crystal_family_pearson: et(t),
4404
- crystal_family: Ct[et(t)],
4405
- crystal_system: qo(t),
4406
- lattice_system: $o(t),
4407
- bravais_lattice_pearson: e[0],
4408
- bravais_lattice: e[1]
3873
+ space_group_symbol: Lt[t.toString()].sg_int_short,
3874
+ point_group_symbol: Lt[t.toString()].pg_int,
3875
+ crystal_family_pearson: dt(t),
3876
+ crystal_family: Ut[dt(t)],
3877
+ crystal_system: ri(t),
3878
+ lattice_system: oi(t),
3879
+ bravais_lattice_pearson: r[0],
3880
+ bravais_lattice: r[1]
4409
3881
  };
4410
3882
  }
4411
- function wi(t) {
3883
+ function Si(t) {
4412
3884
  return t.includes("P") ? [
4413
3885
  [1, 0, 0],
4414
3886
  [0, 1, 0],
@@ -4444,27 +3916,33 @@ function wi(t) {
4444
3916
  ]);
4445
3917
  }
4446
3918
  export {
4447
- oi as DoiBadge,
4448
- mi as ExploreButton,
4449
- di as HashModal,
4450
- ii as HelpButton,
4451
- pi as McCopyAccordion,
4452
- hi as McCopyExtraAccordion,
4453
- _i as McDropzone,
4454
- ui as McHistoryList,
4455
- fi as McInfoAccordion,
4456
- li as McloudCard,
4457
- si as McloudSpinner,
4458
- gi as RemoteStructureLoader,
4459
- ai as StructDownloadButton,
4460
- ri as TestButton,
4461
- ci as ToggleSwitch,
4462
- Pi as createHistoryStore,
4463
- bi as formatChemicalFormula,
4464
- yi as formatSpaceGroupSymbol,
4465
- xi as formula,
4466
- wi as getPrimToConvMatrix,
4467
- Ai as getSymmetryInfo,
4468
- vi as matrix,
4469
- we as shortHashForUrl
3919
+ _i as DoiBadge,
3920
+ di as ExploreButton,
3921
+ je as HashModal,
3922
+ mi as HelpButton,
3923
+ fi as McCopyAccordion,
3924
+ vi as McCopyExtraAccordion,
3925
+ ye as McDropzone,
3926
+ be as McHistoryList,
3927
+ yi as McInfoAccordion,
3928
+ xi as McShareButton,
3929
+ bi as McStructureUpload,
3930
+ hi as McloudCard,
3931
+ gi as McloudSpinner,
3932
+ Ae as RemoteStructureLoader,
3933
+ Dt as SHARE_STORES,
3934
+ ui as StructDownloadButton,
3935
+ li as TestButton,
3936
+ pi as ToggleSwitch,
3937
+ Ce as createHistoryStore,
3938
+ ki as createShareStore,
3939
+ wi as formatChemicalFormula,
3940
+ Ai as formatSpaceGroupSymbol,
3941
+ Ci as formula,
3942
+ Se as fromStructureShare,
3943
+ Si as getPrimToConvMatrix,
3944
+ Ri as getSymmetryInfo,
3945
+ ji as matrix,
3946
+ pn as shortHashForUrl,
3947
+ Pi as toStructureShare
4470
3948
  };