ds-one 0.3.0-alpha.4 → 0.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ var nr = Object.defineProperty, or = (t, e, r) => e in t ? nr(t, e, { enumerable
5
5
  if (Object(e) !== e)
6
6
  throw TypeError('Cannot use the "in" operator on this value');
7
7
  return t.has(e);
8
- }, re = (t, e, r) => {
8
+ }, ae = (t, e, r) => {
9
9
  if (e.has(t))
10
10
  throw TypeError("Cannot add the same private member more than once");
11
11
  e instanceof WeakSet ? e.add(t) : e.set(t, r);
@@ -17,7 +17,7 @@ var nr = Object.defineProperty, or = (t, e, r) => e in t ? nr(t, e, { enumerable
17
17
  * Use of this source code is governed by an MIT-style license that can be
18
18
  * found in the LICENSE file at https://angular.io/license
19
19
  */
20
- function Pt(t, e) {
20
+ function Bt(t, e) {
21
21
  return Object.is(t, e);
22
22
  }
23
23
  /**
@@ -27,7 +27,7 @@ function Pt(t, e) {
27
27
  * Use of this source code is governed by an MIT-style license that can be
28
28
  * found in the LICENSE file at https://angular.io/license
29
29
  */
30
- let m = null, R = !1, ie = 1;
30
+ let m = null, R = !1, ne = 1;
31
31
  const se = /* @__PURE__ */ Symbol("SIGNAL");
32
32
  function z(t) {
33
33
  const e = m;
@@ -75,15 +75,15 @@ function Ce(t) {
75
75
  m.producerNode[e] !== t && (m.producerNode[e] = t, m.producerIndexOfThis[e] = Me(m) ? Rt(t, m, e) : 0), m.producerLastReadVersion[e] = t.version;
76
76
  }
77
77
  function cr() {
78
- ie++;
78
+ ne++;
79
79
  }
80
- function Bt(t) {
81
- if (!(!t.dirty && t.lastCleanEpoch === ie)) {
80
+ function Pt(t) {
81
+ if (!(!t.dirty && t.lastCleanEpoch === ne)) {
82
82
  if (!t.producerMustRecompute(t) && !vr(t)) {
83
- t.dirty = !1, t.lastCleanEpoch = ie;
83
+ t.dirty = !1, t.lastCleanEpoch = ne;
84
84
  return;
85
85
  }
86
- t.producerRecomputeValue(t), t.dirty = !1, t.lastCleanEpoch = ie;
86
+ t.producerRecomputeValue(t), t.dirty = !1, t.lastCleanEpoch = ne;
87
87
  }
88
88
  }
89
89
  function Dt(t) {
@@ -121,7 +121,7 @@ function vr(t) {
121
121
  I(t);
122
122
  for (let e = 0; e < t.producerNode.length; e++) {
123
123
  const r = t.producerNode[e], a = t.producerLastReadVersion[e];
124
- if (a !== r.version || (Bt(r), a !== r.version))
124
+ if (a !== r.version || (Pt(r), a !== r.version))
125
125
  return !0;
126
126
  }
127
127
  return !1;
@@ -169,31 +169,31 @@ function rt(t) {
169
169
  * Use of this source code is governed by an MIT-style license that can be
170
170
  * found in the LICENSE file at https://angular.io/license
171
171
  */
172
- function jt(t) {
173
- if (Bt(t), Ce(t), t.value === Te)
172
+ function Ut(t) {
173
+ if (Pt(t), Ce(t), t.value === Te)
174
174
  throw t.error;
175
175
  return t.value;
176
176
  }
177
177
  function fr(t) {
178
178
  const e = Object.create(mr);
179
179
  e.computation = t;
180
- const r = () => jt(e);
180
+ const r = () => Ut(e);
181
181
  return r[se] = e, r;
182
182
  }
183
- const Ae = /* @__PURE__ */ Symbol("UNSET"), Se = /* @__PURE__ */ Symbol("COMPUTING"), Te = /* @__PURE__ */ Symbol("ERRORED"), mr = {
183
+ const Ae = /* @__PURE__ */ Symbol("UNSET"), He = /* @__PURE__ */ Symbol("COMPUTING"), Te = /* @__PURE__ */ Symbol("ERRORED"), mr = {
184
184
  ...tt,
185
185
  value: Ae,
186
186
  dirty: !0,
187
187
  error: null,
188
- equal: Pt,
188
+ equal: Bt,
189
189
  producerMustRecompute(t) {
190
- return t.value === Ae || t.value === Se;
190
+ return t.value === Ae || t.value === He;
191
191
  },
192
192
  producerRecomputeValue(t) {
193
- if (t.value === Se)
193
+ if (t.value === He)
194
194
  throw new Error("Detected cycle in computations.");
195
195
  const e = t.value;
196
- t.value = Se;
196
+ t.value = He;
197
197
  const r = pr(t);
198
198
  let a, i = !1;
199
199
  try {
@@ -245,7 +245,7 @@ function Lr(t, e) {
245
245
  }
246
246
  const Er = {
247
247
  ...tt,
248
- equal: Pt,
248
+ equal: Bt,
249
249
  value: void 0
250
250
  };
251
251
  function kr(t) {
@@ -268,12 +268,12 @@ function kr(t) {
268
268
  * limitations under the License.
269
269
  */
270
270
  const b = Symbol("node");
271
- var F;
271
+ var K;
272
272
  ((t) => {
273
273
  var e, r, a, i;
274
274
  class n {
275
275
  constructor(d, u = {}) {
276
- re(this, r), $e(this, e);
276
+ ae(this, r), $e(this, e);
277
277
  const c = xr(d)[se];
278
278
  if (this[b] = c, c.wrapper = this, u) {
279
279
  const y = u.equals;
@@ -299,7 +299,7 @@ var F;
299
299
  // Create a Signal which evaluates to the value returned by the callback.
300
300
  // Callback is called with this signal as the parameter.
301
301
  constructor(d, u) {
302
- re(this, i), $e(this, a);
302
+ ae(this, i), $e(this, a);
303
303
  const c = fr(d)[se];
304
304
  if (c.consumerAllowSignalWrites = !0, this[b] = c, c.wrapper = this, u) {
305
305
  const y = u.equals;
@@ -309,7 +309,7 @@ var F;
309
309
  get() {
310
310
  if (!(0, t.isComputed)(this))
311
311
  throw new TypeError("Wrong receiver type for Signal.Computed.prototype.get");
312
- return jt(this[b]);
312
+ return Ut(this[b]);
313
313
  }
314
314
  }
315
315
  a = b, i = /* @__PURE__ */ new WeakSet(), t.isComputed = (s) => typeof s == "object" && _e(i, s), t.Computed = o, ((s) => {
@@ -357,7 +357,7 @@ var F;
357
357
  // if it hasn't already been called since the last `watch` call.
358
358
  // No signals may be read or written during the notify.
359
359
  constructor(p) {
360
- re(this, u), re(this, v), $e(this, d);
360
+ ae(this, u), ae(this, v), $e(this, d);
361
361
  let h = Object.create(tt);
362
362
  h.wrapper = this, h.consumerMarkedDirty = p, h.consumerIsAlwaysLive = !0, h.consumerAllowSignalWrites = !1, h.producerNode = [], this[b] = h;
363
363
  }
@@ -371,10 +371,10 @@ var F;
371
371
  vt(this, v, c).call(this, p);
372
372
  const h = this[b];
373
373
  h.dirty = !1;
374
- const C = z(h);
375
- for (const te of p)
376
- Ce(te[b]);
377
- z(C);
374
+ const L = z(h);
375
+ for (const re of p)
376
+ Ce(re[b]);
377
+ z(L);
378
378
  }
379
379
  // Remove these signals from the watched set (e.g., for an effect which is disposed)
380
380
  unwatch(...p) {
@@ -383,13 +383,13 @@ var F;
383
383
  vt(this, v, c).call(this, p);
384
384
  const h = this[b];
385
385
  I(h);
386
- for (let C = h.producerNode.length - 1; C >= 0; C--)
387
- if (p.includes(h.producerNode[C].wrapper)) {
388
- Le(h.producerNode[C], h.producerIndexOfThis[C]);
389
- const te = h.producerNode.length - 1;
390
- if (h.producerNode[C] = h.producerNode[te], h.producerIndexOfThis[C] = h.producerIndexOfThis[te], h.producerNode.length--, h.producerIndexOfThis.length--, h.nextProducerIndex--, C < h.producerNode.length) {
391
- const ir = h.producerIndexOfThis[C], gt = h.producerNode[C];
392
- rt(gt), gt.liveConsumerIndexOfThis[ir] = C;
386
+ for (let L = h.producerNode.length - 1; L >= 0; L--)
387
+ if (p.includes(h.producerNode[L].wrapper)) {
388
+ Le(h.producerNode[L], h.producerIndexOfThis[L]);
389
+ const re = h.producerNode.length - 1;
390
+ if (h.producerNode[L] = h.producerNode[re], h.producerIndexOfThis[L] = h.producerIndexOfThis[re], h.producerNode.length--, h.producerIndexOfThis.length--, h.nextProducerIndex--, L < h.producerNode.length) {
391
+ const ir = h.producerIndexOfThis[L], gt = h.producerNode[L];
392
+ rt(gt), gt.liveConsumerIndexOfThis[ir] = L;
393
393
  }
394
394
  }
395
395
  }
@@ -412,7 +412,7 @@ var F;
412
412
  }
413
413
  s.currentComputed = ar, s.watched = Symbol("watched"), s.unwatched = Symbol("unwatched");
414
414
  })(t.subtle || (t.subtle = {}));
415
- })(F || (F = {}));
415
+ })(K || (K = {}));
416
416
  /**
417
417
  * @license
418
418
  * Copyright 2023 Google LLC
@@ -448,38 +448,38 @@ let Ar = class {
448
448
  * Copyright 2017 Google LLC
449
449
  * SPDX-License-Identifier: BSD-3-Clause
450
450
  */
451
- const j = globalThis, le = j.trustedTypes, ft = le ? le.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Ut = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, qt = "?" + $, Sr = `<${qt}>`, H = document, K = () => H.createComment(""), G = (t) => t === null || typeof t != "object" && typeof t != "function", at = Array.isArray, Vr = (t) => at(t) || typeof t?.[Symbol.iterator] == "function", Ve = `[
452
- \f\r]`, B = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, mt = /-->/g, wt = />/g, S = RegExp(`>|${Ve}(?:([^\\s"'>=/]+)(${Ve}*=${Ve}*(?:[^
453
- \f\r"'\`<>=]|("|')|))|$)`, "g"), yt = /'/g, bt = /"/g, Wt = /^(?:script|style|textarea|title)$/i, Hr = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), l = Hr(1), M = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), xt = /* @__PURE__ */ new WeakMap(), V = H.createTreeWalker(H, 129);
451
+ const U = globalThis, le = U.trustedTypes, ft = le ? le.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, jt = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, qt = "?" + $, Hr = `<${qt}>`, V = document, G = () => V.createComment(""), J = (t) => t === null || typeof t != "object" && typeof t != "function", at = Array.isArray, Sr = (t) => at(t) || typeof t?.[Symbol.iterator] == "function", Se = `[
452
+ \f\r]`, P = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, mt = /-->/g, wt = />/g, H = RegExp(`>|${Se}(?:([^\\s"'>=/]+)(${Se}*=${Se}*(?:[^
453
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), yt = /'/g, bt = /"/g, Wt = /^(?:script|style|textarea|title)$/i, Vr = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), l = Vr(1), M = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), xt = /* @__PURE__ */ new WeakMap(), S = V.createTreeWalker(V, 129);
454
454
  function Ft(t, e) {
455
455
  if (!at(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
456
456
  return ft !== void 0 ? ft.createHTML(e) : e;
457
457
  }
458
458
  const Mr = (t, e) => {
459
459
  const r = t.length - 1, a = [];
460
- let i, n = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = B;
460
+ let i, n = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = P;
461
461
  for (let s = 0; s < r; s++) {
462
462
  const d = t[s];
463
463
  let u, v, c = -1, y = 0;
464
- for (; y < d.length && (o.lastIndex = y, v = o.exec(d), v !== null); ) y = o.lastIndex, o === B ? v[1] === "!--" ? o = mt : v[1] !== void 0 ? o = wt : v[2] !== void 0 ? (Wt.test(v[2]) && (i = RegExp("</" + v[2], "g")), o = S) : v[3] !== void 0 && (o = S) : o === S ? v[0] === ">" ? (o = i ?? B, c = -1) : v[1] === void 0 ? c = -2 : (c = o.lastIndex - v[2].length, u = v[1], o = v[3] === void 0 ? S : v[3] === '"' ? bt : yt) : o === bt || o === yt ? o = S : o === mt || o === wt ? o = B : (o = S, i = void 0);
465
- const k = o === S && t[s + 1].startsWith("/>") ? " " : "";
466
- n += o === B ? d + Sr : c >= 0 ? (a.push(u), d.slice(0, c) + Ut + d.slice(c) + $ + k) : d + $ + (c === -2 ? s : k);
464
+ for (; y < d.length && (o.lastIndex = y, v = o.exec(d), v !== null); ) y = o.lastIndex, o === P ? v[1] === "!--" ? o = mt : v[1] !== void 0 ? o = wt : v[2] !== void 0 ? (Wt.test(v[2]) && (i = RegExp("</" + v[2], "g")), o = H) : v[3] !== void 0 && (o = H) : o === H ? v[0] === ">" ? (o = i ?? P, c = -1) : v[1] === void 0 ? c = -2 : (c = o.lastIndex - v[2].length, u = v[1], o = v[3] === void 0 ? H : v[3] === '"' ? bt : yt) : o === bt || o === yt ? o = H : o === mt || o === wt ? o = P : (o = H, i = void 0);
465
+ const k = o === H && t[s + 1].startsWith("/>") ? " " : "";
466
+ n += o === P ? d + Hr : c >= 0 ? (a.push(u), d.slice(0, c) + jt + d.slice(c) + $ + k) : d + $ + (c === -2 ? s : k);
467
467
  }
468
468
  return [Ft(t, n + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), a];
469
469
  };
470
- class J {
470
+ class Y {
471
471
  constructor({ strings: e, _$litType$: r }, a) {
472
472
  let i;
473
473
  this.parts = [];
474
474
  let n = 0, o = 0;
475
475
  const s = e.length - 1, d = this.parts, [u, v] = Mr(e, r);
476
- if (this.el = J.createElement(u, a), V.currentNode = this.el.content, r === 2 || r === 3) {
476
+ if (this.el = Y.createElement(u, a), S.currentNode = this.el.content, r === 2 || r === 3) {
477
477
  const c = this.el.content.firstChild;
478
478
  c.replaceWith(...c.childNodes);
479
479
  }
480
- for (; (i = V.nextNode()) !== null && d.length < s; ) {
480
+ for (; (i = S.nextNode()) !== null && d.length < s; ) {
481
481
  if (i.nodeType === 1) {
482
- if (i.hasAttributes()) for (const c of i.getAttributeNames()) if (c.endsWith(Ut)) {
482
+ if (i.hasAttributes()) for (const c of i.getAttributeNames()) if (c.endsWith(jt)) {
483
483
  const y = v[o++], k = i.getAttribute(c).split($), T = /([.?@])?(.*)/.exec(y);
484
484
  d.push({ type: 1, index: n, name: T[2], strings: k, ctor: T[1] === "." ? Nr : T[1] === "?" ? Zr : T[1] === "@" ? zr : Ee }), i.removeAttribute(c);
485
485
  } else c.startsWith($) && (d.push({ type: 6, index: n }), i.removeAttribute(c));
@@ -487,8 +487,8 @@ class J {
487
487
  const c = i.textContent.split($), y = c.length - 1;
488
488
  if (y > 0) {
489
489
  i.textContent = le ? le.emptyScript : "";
490
- for (let k = 0; k < y; k++) i.append(c[k], K()), V.nextNode(), d.push({ type: 2, index: ++n });
491
- i.append(c[y], K());
490
+ for (let k = 0; k < y; k++) i.append(c[k], G()), S.nextNode(), d.push({ type: 2, index: ++n });
491
+ i.append(c[y], G());
492
492
  }
493
493
  }
494
494
  } else if (i.nodeType === 8) if (i.data === qt) d.push({ type: 2, index: n });
@@ -500,14 +500,14 @@ class J {
500
500
  }
501
501
  }
502
502
  static createElement(e, r) {
503
- const a = H.createElement("template");
503
+ const a = V.createElement("template");
504
504
  return a.innerHTML = e, a;
505
505
  }
506
506
  }
507
507
  function O(t, e, r = t, a) {
508
508
  if (e === M) return e;
509
509
  let i = a !== void 0 ? r._$Co?.[a] : r._$Cl;
510
- const n = G(e) ? void 0 : e._$litDirective$;
510
+ const n = J(e) ? void 0 : e._$litDirective$;
511
511
  return i?.constructor !== n && (i?._$AO?.(!1), n === void 0 ? i = void 0 : (i = new n(t), i._$AT(t, r, a)), a !== void 0 ? (r._$Co ?? (r._$Co = []))[a] = i : r._$Cl = i), i !== void 0 && (e = O(t, i._$AS(t, e.values), i, a)), e;
512
512
  }
513
513
  class Tr {
@@ -521,24 +521,24 @@ class Tr {
521
521
  return this._$AM._$AU;
522
522
  }
523
523
  u(e) {
524
- const { el: { content: r }, parts: a } = this._$AD, i = (e?.creationScope ?? H).importNode(r, !0);
525
- V.currentNode = i;
526
- let n = V.nextNode(), o = 0, s = 0, d = a[0];
524
+ const { el: { content: r }, parts: a } = this._$AD, i = (e?.creationScope ?? V).importNode(r, !0);
525
+ S.currentNode = i;
526
+ let n = S.nextNode(), o = 0, s = 0, d = a[0];
527
527
  for (; d !== void 0; ) {
528
528
  if (o === d.index) {
529
529
  let u;
530
- d.type === 2 ? u = new Q(n, n.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (u = new Ir(n, this, e)), this._$AV.push(u), d = a[++s];
530
+ d.type === 2 ? u = new ee(n, n.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (u = new Ir(n, this, e)), this._$AV.push(u), d = a[++s];
531
531
  }
532
- o !== d?.index && (n = V.nextNode(), o++);
532
+ o !== d?.index && (n = S.nextNode(), o++);
533
533
  }
534
- return V.currentNode = H, i;
534
+ return S.currentNode = V, i;
535
535
  }
536
536
  p(e) {
537
537
  let r = 0;
538
538
  for (const a of this._$AV) a !== void 0 && (a.strings !== void 0 ? (a._$AI(e, a, r), r += a.strings.length - 2) : a._$AI(e[r])), r++;
539
539
  }
540
540
  }
541
- class Q {
541
+ class ee {
542
542
  get _$AU() {
543
543
  return this._$AM?._$AU ?? this._$Cv;
544
544
  }
@@ -557,7 +557,7 @@ class Q {
557
557
  return this._$AB;
558
558
  }
559
559
  _$AI(e, r = this) {
560
- e = O(this, e, r), G(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== M && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Vr(e) ? this.k(e) : this._(e);
560
+ e = O(this, e, r), J(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== M && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Sr(e) ? this.k(e) : this._(e);
561
561
  }
562
562
  O(e) {
563
563
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -566,10 +566,10 @@ class Q {
566
566
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
567
567
  }
568
568
  _(e) {
569
- this._$AH !== w && G(this._$AH) ? this._$AA.nextSibling.data = e : this.T(H.createTextNode(e)), this._$AH = e;
569
+ this._$AH !== w && J(this._$AH) ? this._$AA.nextSibling.data = e : this.T(V.createTextNode(e)), this._$AH = e;
570
570
  }
571
571
  $(e) {
572
- const { values: r, _$litType$: a } = e, i = typeof a == "number" ? this._$AC(e) : (a.el === void 0 && (a.el = J.createElement(Ft(a.h, a.h[0]), this.options)), a);
572
+ const { values: r, _$litType$: a } = e, i = typeof a == "number" ? this._$AC(e) : (a.el === void 0 && (a.el = Y.createElement(Ft(a.h, a.h[0]), this.options)), a);
573
573
  if (this._$AH?._$AD === i) this._$AH.p(r);
574
574
  else {
575
575
  const n = new Tr(i, this), o = n.u(this.options);
@@ -578,13 +578,13 @@ class Q {
578
578
  }
579
579
  _$AC(e) {
580
580
  let r = xt.get(e.strings);
581
- return r === void 0 && xt.set(e.strings, r = new J(e)), r;
581
+ return r === void 0 && xt.set(e.strings, r = new Y(e)), r;
582
582
  }
583
583
  k(e) {
584
584
  at(this._$AH) || (this._$AH = [], this._$AR());
585
585
  const r = this._$AH;
586
586
  let a, i = 0;
587
- for (const n of e) i === r.length ? r.push(a = new Q(this.O(K()), this.O(K()), this, this.options)) : a = r[i], a._$AI(n), i++;
587
+ for (const n of e) i === r.length ? r.push(a = new ee(this.O(G()), this.O(G()), this, this.options)) : a = r[i], a._$AI(n), i++;
588
588
  i < r.length && (this._$AR(a && a._$AB.nextSibling, i), r.length = i);
589
589
  }
590
590
  _$AR(e = this._$AA.nextSibling, r) {
@@ -610,11 +610,11 @@ class Ee {
610
610
  _$AI(e, r = this, a, i) {
611
611
  const n = this.strings;
612
612
  let o = !1;
613
- if (n === void 0) e = O(this, e, r, 0), o = !G(e) || e !== this._$AH && e !== M, o && (this._$AH = e);
613
+ if (n === void 0) e = O(this, e, r, 0), o = !J(e) || e !== this._$AH && e !== M, o && (this._$AH = e);
614
614
  else {
615
615
  const s = e;
616
616
  let d, u;
617
- for (e = n[0], d = 0; d < n.length - 1; d++) u = O(this, s[a + d], r, d), u === M && (u = this._$AH[d]), o || (o = !G(u) || u !== this._$AH[d]), u === w ? e = w : e !== w && (e += (u ?? "") + n[d + 1]), this._$AH[d] = u;
617
+ for (e = n[0], d = 0; d < n.length - 1; d++) u = O(this, s[a + d], r, d), u === M && (u = this._$AH[d]), o || (o = !J(u) || u !== this._$AH[d]), u === w ? e = w : e !== w && (e += (u ?? "") + n[d + 1]), this._$AH[d] = u;
618
618
  }
619
619
  o && !i && this.j(e);
620
620
  }
@@ -662,14 +662,14 @@ class Ir {
662
662
  O(this, e);
663
663
  }
664
664
  }
665
- const Or = j.litHtmlPolyfillSupport;
666
- Or?.(J, Q), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.3.1");
667
- const Pr = (t, e, r) => {
665
+ const Or = U.litHtmlPolyfillSupport;
666
+ Or?.(Y, ee), (U.litHtmlVersions ?? (U.litHtmlVersions = [])).push("3.3.1");
667
+ const Br = (t, e, r) => {
668
668
  const a = r?.renderBefore ?? e;
669
669
  let i = a._$litPart$;
670
670
  if (i === void 0) {
671
671
  const n = r?.renderBefore ?? null;
672
- a._$litPart$ = i = new Q(e.insertBefore(K(), n), n, void 0, r ?? {});
672
+ a._$litPart$ = i = new ee(e.insertBefore(G(), n), n, void 0, r ?? {});
673
673
  }
674
674
  return i._$AI(t), i;
675
675
  };
@@ -678,14 +678,14 @@ const Pr = (t, e, r) => {
678
678
  * Copyright 2023 Google LLC
679
679
  * SPDX-License-Identifier: BSD-3-Clause
680
680
  */
681
- F.State;
682
- F.Computed;
683
- const it = (t, e) => new F.State(t, e), Br = {
681
+ K.State;
682
+ K.Computed;
683
+ const it = (t, e) => new K.State(t, e), Pr = {
684
684
  mode: "auto",
685
685
  baseWidth: 280,
686
686
  minScale: 0.75,
687
687
  maxScale: 2
688
- }, P = it(1), Y = it(Br);
688
+ }, B = it(1), X = it(Pr);
689
689
  function nt() {
690
690
  if (typeof navigator > "u" || typeof window > "u")
691
691
  return !1;
@@ -707,7 +707,7 @@ function Dr() {
707
707
  screenHeight: o
708
708
  };
709
709
  }
710
- function Rr(t, e = Y.get()) {
710
+ function Rr(t, e = X.get()) {
711
711
  if (e.mode === "fixed")
712
712
  return 1;
713
713
  const r = t / e.baseWidth, a = Math.max(
@@ -717,43 +717,43 @@ function Rr(t, e = Y.get()) {
717
717
  return Number(a.toFixed(3));
718
718
  }
719
719
  function Ta(t) {
720
- const r = { ...Y.get(), ...t };
721
- Y.set(r), typeof window < "u" && Kt();
720
+ const r = { ...X.get(), ...t };
721
+ X.set(r), typeof window < "u" && Kt();
722
722
  }
723
723
  function Kt() {
724
724
  if (typeof window > "u" || typeof document > "u")
725
725
  return;
726
726
  if (!nt()) {
727
- P.set(1), document.documentElement.style.setProperty("--sf", "1"), window.dispatchEvent(
727
+ B.set(1), document.documentElement.style.setProperty("--sf", "1"), window.dispatchEvent(
728
728
  new CustomEvent("scaling-changed", {
729
- detail: { scalingFactor: 1, config: Y.get() }
729
+ detail: { scalingFactor: 1, config: X.get() }
730
730
  })
731
731
  );
732
732
  return;
733
733
  }
734
- const e = document.documentElement.clientWidth, r = Y.get(), a = Rr(e, r);
735
- P.set(a), document.documentElement.style.setProperty("--sf", a.toString()), window.dispatchEvent(
734
+ const e = document.documentElement.clientWidth, r = X.get(), a = Rr(e, r);
735
+ B.set(a), document.documentElement.style.setProperty("--sf", a.toString()), window.dispatchEvent(
736
736
  new CustomEvent("scaling-changed", {
737
737
  detail: { scalingFactor: a, config: r }
738
738
  })
739
739
  );
740
740
  }
741
741
  function Na() {
742
- return P.get();
742
+ return B.get();
743
743
  }
744
744
  function Za(t) {
745
- return t * P.get();
745
+ return t * B.get();
746
746
  }
747
747
  function za(t) {
748
- const e = P.get();
748
+ const e = B.get();
749
749
  return e === 0 ? t : t / e;
750
750
  }
751
- function ae() {
751
+ function ie() {
752
752
  const t = Dr();
753
753
  if (typeof document > "u")
754
754
  return t;
755
755
  t.isMobile ? (document.documentElement.classList.add("mobile"), document.documentElement.classList.remove("desktop")) : (document.documentElement.classList.add("desktop"), document.documentElement.classList.remove("mobile")), Kt();
756
- const e = P.get();
756
+ const e = B.get();
757
757
  return t.isMobile ? console.log(
758
758
  `[DS one] Mobile device detected - ${t.deviceType} (${t.screenWidth}x${t.screenHeight}), scaling factor: ${e.toFixed(2)}`
759
759
  ) : console.log(
@@ -771,15 +771,15 @@ function ae() {
771
771
  }
772
772
  if (typeof window < "u") {
773
773
  document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
774
- ae();
775
- }) : ae();
774
+ ie();
775
+ }) : ie();
776
776
  let t;
777
777
  window.addEventListener("resize", () => {
778
778
  clearTimeout(t), t = setTimeout(() => {
779
- ae();
779
+ ie();
780
780
  }, 100);
781
781
  }), window.addEventListener("orientationchange", () => {
782
- setTimeout(ae, 100);
782
+ setTimeout(ie, 100);
783
783
  });
784
784
  }
785
785
  function Ia() {
@@ -853,7 +853,7 @@ function Ia() {
853
853
  o
854
854
  );
855
855
  }
856
- let jr = {};
856
+ let Ur = {};
857
857
  const Gt = [
858
858
  "da",
859
859
  "de",
@@ -865,7 +865,7 @@ const Gt = [
865
865
  "pt",
866
866
  "sv",
867
867
  "zh"
868
- ], Ur = new Map(
868
+ ], jr = new Map(
869
869
  Gt.map((t, e) => [t, e])
870
870
  ), Ct = {
871
871
  da: "Danish",
@@ -964,15 +964,15 @@ async function _t() {
964
964
  ), !1;
965
965
  }
966
966
  function ke() {
967
- return typeof window < "u" && window.DS_ONE_TRANSLATIONS ? window.DS_ONE_TRANSLATIONS : jr;
967
+ return typeof window < "u" && window.DS_ONE_TRANSLATIONS ? window.DS_ONE_TRANSLATIONS : Ur;
968
968
  }
969
969
  let _ = ke();
970
970
  const E = "en";
971
- function ee(t) {
971
+ function te(t) {
972
972
  return t ? t.toLowerCase().split(/[-_]/)[0] ?? "" : "";
973
973
  }
974
974
  function At(t) {
975
- const e = ee(t), r = Ur.get(e);
975
+ const e = te(t), r = jr.get(e);
976
976
  return typeof r == "number" ? r : Gt.length;
977
977
  }
978
978
  function Yt(t) {
@@ -992,7 +992,7 @@ function Gr(t, e) {
992
992
  const i = e.replace("_", "-"), n = a.of(i);
993
993
  if (n && n !== i)
994
994
  return n;
995
- const o = a.of(ee(i));
995
+ const o = a.of(te(i));
996
996
  if (o)
997
997
  return o;
998
998
  } catch {
@@ -1005,7 +1005,7 @@ function Jr(t) {
1005
1005
  const e = t.toLowerCase().replace("_", "-"), r = Ct[e];
1006
1006
  if (r)
1007
1007
  return r;
1008
- const a = ee(e);
1008
+ const a = te(e);
1009
1009
  return Ct[a];
1010
1010
  }
1011
1011
  function Yr(t, e = {}) {
@@ -1025,10 +1025,10 @@ function Yr(t, e = {}) {
1025
1025
  const i = Jr(t);
1026
1026
  if (i)
1027
1027
  return i;
1028
- const n = ee(t);
1028
+ const n = te(t);
1029
1029
  return n ? n.toUpperCase() : t;
1030
1030
  }
1031
- const St = {
1031
+ const Ht = {
1032
1032
  da: "da",
1033
1033
  "da-dk": "da",
1034
1034
  de: "de",
@@ -1056,13 +1056,13 @@ const St = {
1056
1056
  "zh-tw": "zh",
1057
1057
  "zh-hant": "zh"
1058
1058
  };
1059
- function Vt(t) {
1059
+ function St(t) {
1060
1060
  if (!t)
1061
1061
  return null;
1062
- const e = t.toLowerCase().replace("_", "-"), r = St[e];
1062
+ const e = t.toLowerCase().replace("_", "-"), r = Ht[e];
1063
1063
  if (r)
1064
1064
  return r;
1065
- const a = ee(e), i = St[a];
1065
+ const a = te(e), i = Ht[a];
1066
1066
  return i || t;
1067
1067
  }
1068
1068
  function Xr() {
@@ -1070,13 +1070,13 @@ function Xr() {
1070
1070
  return E;
1071
1071
  const t = navigator.language;
1072
1072
  if (t) {
1073
- const e = Vt(t);
1073
+ const e = St(t);
1074
1074
  if (e)
1075
1075
  return e;
1076
1076
  }
1077
1077
  if (Array.isArray(navigator.languages))
1078
1078
  for (const e of navigator.languages) {
1079
- const r = Vt(e);
1079
+ const r = St(e);
1080
1080
  if (r)
1081
1081
  return r;
1082
1082
  }
@@ -1085,7 +1085,7 @@ function Xr() {
1085
1085
  typeof window < "u" && window.localStorage?.getItem(
1086
1086
  "ds-one:language"
1087
1087
  );
1088
- const L = {
1088
+ const C = {
1089
1089
  value: localStorage.getItem("language") || Xr(),
1090
1090
  set: function(t) {
1091
1091
  this.value = t, localStorage.setItem("language", t), window.dispatchEvent(
@@ -1102,7 +1102,7 @@ typeof window < "u" && (document.readyState === "loading" ? document.addEventLis
1102
1102
  }) : _t());
1103
1103
  typeof window < "u" && window.addEventListener("translations-ready", () => {
1104
1104
  _ = ke(), window.dispatchEvent(new CustomEvent("translations-loaded"));
1105
- const t = L.value;
1105
+ const t = C.value;
1106
1106
  window.dispatchEvent(
1107
1107
  new CustomEvent("language-changed", {
1108
1108
  detail: { language: t },
@@ -1113,7 +1113,7 @@ typeof window < "u" && window.addEventListener("translations-ready", () => {
1113
1113
  });
1114
1114
  setTimeout(() => {
1115
1115
  window.dispatchEvent(new CustomEvent("translations-loaded"));
1116
- const t = L.value;
1116
+ const t = C.value;
1117
1117
  window.dispatchEvent(
1118
1118
  new CustomEvent("language-changed", {
1119
1119
  detail: { language: t },
@@ -1122,22 +1122,22 @@ setTimeout(() => {
1122
1122
  })
1123
1123
  );
1124
1124
  }, 100);
1125
- function U(t) {
1126
- const e = L.value;
1125
+ function j(t) {
1126
+ const e = C.value;
1127
1127
  return _?.[e]?.[t] ? _[e][t] : e !== E && _?.[E]?.[t] ? _[E][t] : (console.warn(
1128
1128
  `[DS one (Internationalization)] No translation found for key "${t}"`
1129
1129
  ), t);
1130
1130
  }
1131
- function Oa(t, e = L.value) {
1131
+ function Oa(t, e = C.value) {
1132
1132
  if (!t)
1133
1133
  return !1;
1134
1134
  const r = _?.[e];
1135
1135
  return !!(r && Object.prototype.hasOwnProperty.call(r, t) || e !== E && _?.[E] && Object.prototype.hasOwnProperty.call(_[E], t));
1136
1136
  }
1137
- function ne(t) {
1138
- return U(t);
1137
+ function q(t) {
1138
+ return j(t);
1139
1139
  }
1140
- function Pa() {
1140
+ function Ba() {
1141
1141
  const t = ke();
1142
1142
  if (t && Object.keys(t).length > 0) {
1143
1143
  const e = Object.keys(t);
@@ -1145,11 +1145,11 @@ function Pa() {
1145
1145
  }
1146
1146
  return Promise.resolve([E]);
1147
1147
  }
1148
- function Ht() {
1148
+ function Vt() {
1149
1149
  const t = ke();
1150
1150
  return t && Object.keys(t).length > 0 ? Yt(Object.keys(t)) : [E];
1151
1151
  }
1152
- function Ba(t, e) {
1152
+ function Pa(t, e) {
1153
1153
  console.log(
1154
1154
  `Loading additional translations for ${t}:`,
1155
1155
  Object.keys(e).length,
@@ -1157,7 +1157,7 @@ function Ba(t, e) {
1157
1157
  );
1158
1158
  }
1159
1159
  function Mt(t) {
1160
- localStorage.setItem("language", t), L.set(t), window.dispatchEvent(
1160
+ localStorage.setItem("language", t), C.set(t), window.dispatchEvent(
1161
1161
  new CustomEvent("language-changed", {
1162
1162
  detail: { language: t },
1163
1163
  bubbles: !0,
@@ -1208,9 +1208,9 @@ function ea() {
1208
1208
  const t = window.localStorage?.getItem("ds-one:theme");
1209
1209
  return t === "light" || t === "dark" ? t : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
1210
1210
  }
1211
- const X = it(ea());
1211
+ const Q = it(ea());
1212
1212
  function ta(t) {
1213
- if (t !== X.get() && (X.set(t), typeof window < "u")) {
1213
+ if (t !== Q.get() && (Q.set(t), typeof window < "u")) {
1214
1214
  try {
1215
1215
  window.localStorage?.setItem("ds-one:theme", t);
1216
1216
  } catch (r) {
@@ -1223,7 +1223,7 @@ function ta(t) {
1223
1223
  }
1224
1224
  }
1225
1225
  if (typeof window < "u") {
1226
- const t = X.get(), e = window.document?.documentElement;
1226
+ const t = Q.get(), e = window.document?.documentElement;
1227
1227
  e && (e.classList.remove("light-theme", "dark-theme"), e.classList.add(`${t}-theme`));
1228
1228
  }
1229
1229
  /**
@@ -1273,7 +1273,7 @@ const x = (t) => new Xt(typeof t == "string" ? t : t + "", void 0, st), lt = (t,
1273
1273
  * Copyright 2017 Google LLC
1274
1274
  * SPDX-License-Identifier: BSD-3-Clause
1275
1275
  */
1276
- const { is: aa, defineProperty: ia, getOwnPropertyDescriptor: na, getOwnPropertyNames: oa, getOwnPropertySymbols: sa, getPrototypeOf: la } = Object, A = globalThis, Zt = A.trustedTypes, da = Zt ? Zt.emptyScript : "", ca = A.reactiveElementPolyfillSupport, q = (t, e) => t, Ne = { toAttribute(t, e) {
1276
+ const { is: aa, defineProperty: ia, getOwnPropertyDescriptor: na, getOwnPropertyNames: oa, getOwnPropertySymbols: sa, getPrototypeOf: la } = Object, A = globalThis, Zt = A.trustedTypes, da = Zt ? Zt.emptyScript : "", ca = A.reactiveElementPolyfillSupport, W = (t, e) => t, Ne = { toAttribute(t, e) {
1277
1277
  switch (e) {
1278
1278
  case Boolean:
1279
1279
  t = t ? da : null;
@@ -1331,13 +1331,13 @@ class Z extends HTMLElement {
1331
1331
  return this.elementProperties.get(e) ?? zt;
1332
1332
  }
1333
1333
  static _$Ei() {
1334
- if (this.hasOwnProperty(q("elementProperties"))) return;
1334
+ if (this.hasOwnProperty(W("elementProperties"))) return;
1335
1335
  const e = la(this);
1336
1336
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1337
1337
  }
1338
1338
  static finalize() {
1339
- if (this.hasOwnProperty(q("finalized"))) return;
1340
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(q("properties"))) {
1339
+ if (this.hasOwnProperty(W("finalized"))) return;
1340
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(W("properties"))) {
1341
1341
  const r = this.properties, a = [...oa(r), ...sa(r)];
1342
1342
  for (const i of a) this.createProperty(i, r[i]);
1343
1343
  }
@@ -1484,13 +1484,13 @@ class Z extends HTMLElement {
1484
1484
  firstUpdated(e) {
1485
1485
  }
1486
1486
  }
1487
- Z.elementStyles = [], Z.shadowRootOptions = { mode: "open" }, Z[q("elementProperties")] = /* @__PURE__ */ new Map(), Z[q("finalized")] = /* @__PURE__ */ new Map(), ca?.({ ReactiveElement: Z }), (A.reactiveElementVersions ?? (A.reactiveElementVersions = [])).push("2.1.1");
1487
+ Z.elementStyles = [], Z.shadowRootOptions = { mode: "open" }, Z[W("elementProperties")] = /* @__PURE__ */ new Map(), Z[W("finalized")] = /* @__PURE__ */ new Map(), ca?.({ ReactiveElement: Z }), (A.reactiveElementVersions ?? (A.reactiveElementVersions = [])).push("2.1.1");
1488
1488
  /**
1489
1489
  * @license
1490
1490
  * Copyright 2017 Google LLC
1491
1491
  * SPDX-License-Identifier: BSD-3-Clause
1492
1492
  */
1493
- const W = globalThis;
1493
+ const F = globalThis;
1494
1494
  class f extends Z {
1495
1495
  constructor() {
1496
1496
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -1502,7 +1502,7 @@ class f extends Z {
1502
1502
  }
1503
1503
  update(e) {
1504
1504
  const r = this.render();
1505
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Pr(r, this.renderRoot, this.renderOptions);
1505
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Br(r, this.renderRoot, this.renderOptions);
1506
1506
  }
1507
1507
  connectedCallback() {
1508
1508
  super.connectedCallback(), this._$Do?.setConnected(!0);
@@ -1514,11 +1514,11 @@ class f extends Z {
1514
1514
  return M;
1515
1515
  }
1516
1516
  }
1517
- f._$litElement$ = !0, f.finalized = !0, W.litElementHydrateSupport?.({ LitElement: f });
1518
- const ha = W.litElementPolyfillSupport;
1517
+ f._$litElement$ = !0, f.finalized = !0, F.litElementHydrateSupport?.({ LitElement: f });
1518
+ const ha = F.litElementPolyfillSupport;
1519
1519
  ha?.({ LitElement: f });
1520
- (W.litElementVersions ?? (W.litElementVersions = [])).push("4.2.1");
1521
- const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-start;height:calc(16px * var(--sf));font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:calc(var(--type-lineheight-default) * var(--sf));letter-spacing:calc(var(--type-letterspacing-default) * var(--sf));text-align:left;text-transform:var(--text-transform-default);text-decoration:var(--text-decoration-default);vertical-align:middle;white-space:nowrap}:host([data-language="ja"]){font-family:var(--typeface-regular-jp)}:host([data-language="zh"]),:host([data-language="zh-hant"]){font-family:var(--typeface-regular-zh-hant);font-weight:800}:host([data-language="zh-hans"]){font-family:var(--typeface-regular-zh-hans);font-weight:800}', dt = class dt extends f {
1520
+ (F.litElementVersions ?? (F.litElementVersions = [])).push("4.2.1");
1521
+ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-start;height:calc(16px * var(--sf));font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:calc(var(--type-lineheight-default) * var(--sf));letter-spacing:calc(var(--type-letterspacing-default) * var(--sf));text-align:left;text-transform:var(--text-transform-default);text-decoration:var(--text-decoration-default);vertical-align:middle;white-space:nowrap;color:inherit}:host([data-language="ja"]){font-family:var(--typeface-regular-jp)}:host([data-language="zh"]),:host([data-language="zh-hant"]){font-family:var(--typeface-regular-zh-hant);font-weight:800}:host([data-language="zh-hans"]){font-family:var(--typeface-regular-zh-hans);font-weight:800}:host span{color:inherit}', dt = class dt extends f {
1522
1522
  static get properties() {
1523
1523
  return {
1524
1524
  text: { type: String, reflect: !0 },
@@ -1526,14 +1526,14 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-st
1526
1526
  };
1527
1527
  }
1528
1528
  constructor() {
1529
- super(), this.text = "", this._text = "", this._currentLanguage = L.value, this.boundHandlers = {
1529
+ super(), this.text = "", this._text = "", this._currentLanguage = C.value, this.boundHandlers = {
1530
1530
  languageChanged: (() => {
1531
- console.log("Language changed event received in ds-text"), this._currentLanguage = L.value, this._updateLanguageAttribute(), this._loadText(), this.requestUpdate();
1531
+ console.log("Language changed event received in ds-text"), this._currentLanguage = C.value, this._updateLanguageAttribute(), this._loadText(), this.requestUpdate();
1532
1532
  })
1533
1533
  };
1534
1534
  }
1535
1535
  connectedCallback() {
1536
- super.connectedCallback(), this._currentLanguage = L.value, this._updateLanguageAttribute(), this._loadText(), window.addEventListener(
1536
+ super.connectedCallback(), this._currentLanguage = C.value, this._updateLanguageAttribute(), this._loadText(), window.addEventListener(
1537
1537
  "language-changed",
1538
1538
  this.boundHandlers.languageChanged
1539
1539
  ), window.addEventListener(
@@ -1554,7 +1554,7 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-st
1554
1554
  super.updated(e), e.has("text") && this._loadText();
1555
1555
  }
1556
1556
  _updateLanguageAttribute() {
1557
- const r = (this._currentLanguage || L.value || "").toLowerCase().split(/[-_]/).filter(Boolean), a = r[0] || "";
1557
+ const r = (this._currentLanguage || C.value || "").toLowerCase().split(/[-_]/).filter(Boolean), a = r[0] || "";
1558
1558
  if (a === "ja") {
1559
1559
  this.setAttribute("data-language", "ja");
1560
1560
  return;
@@ -1572,7 +1572,7 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-st
1572
1572
  return;
1573
1573
  }
1574
1574
  try {
1575
- const e = ne(this.text);
1575
+ const e = q(this.text);
1576
1576
  this._text = e || this.text;
1577
1577
  } catch (e) {
1578
1578
  console.error("Error loading text for text:", this.text, e), this._text = this.text;
@@ -1586,7 +1586,7 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:flex-st
1586
1586
  dt.styles = x(ua);
1587
1587
  let Ze = dt;
1588
1588
  customElements.define("ds-text", Ze);
1589
- const pa = ":host{display:inline-flex;min-width:0;flex:0 1 auto;max-width:100%;overflow:hidden}button{max-height:calc(var(--08) * var(--sf));height:calc(var(--08) * var(--sf));min-height:calc(var(--08) * var(--sf));width:100%;max-width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:flex-start;border:none;cursor:pointer;padding:0;color:var(--button-color, var(--button-text-color));font-family:var(--typeface-regular);-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-color:transparent;text-decoration:none}button ds-text,button ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;text-align:left;justify-content:flex-start}button[primary]{background-color:var(--accent-color);color:var(--button-text-color);text-decoration-line:none;font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}button[secondary]{background-color:var(--button-background-color-secondary);color:var(--button-text-color);font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}.loading{opacity:.7}", de = class de extends f {
1589
+ const pa = ":host{display:inline-flex;min-width:0;flex:0 1 auto;max-width:100%;overflow:hidden}button{max-height:calc(var(--08) * var(--sf));height:calc(var(--08) * var(--sf));min-height:calc(var(--08) * var(--sf));width:100%;max-width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:flex-start;border:none;cursor:pointer;padding:0;color:var(--button-color, var(--button-text-color));font-family:var(--typeface-regular);-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-color:transparent;text-decoration:none}button ds-text,button ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;text-align:left;justify-content:flex-start;color:inherit}button[primary]{background-color:var(--accent-color);color:var(--button-text-color-on-light, var(--black));text-decoration-line:none;font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}button[secondary]{background-color:var(--button-background-color-secondary);color:var(--button-text-color-on-light, var(--black));font-family:var(--typeface-regular);padding:0 calc(.5px * var(--sf))}.loading{opacity:.7}", de = class de extends f {
1590
1590
  constructor() {
1591
1591
  super(), this.primary = !1, this.secondary = !1, this.disabled = !1, this.blank = !1, this.language = "en-US", this.text = "", this.href = "", this._loading = !1;
1592
1592
  }
@@ -1646,7 +1646,7 @@ const ga = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%
1646
1646
  if (this.href && this.href !== "#") return this.href;
1647
1647
  if (this.mailto)
1648
1648
  try {
1649
- const e = this.subject ? ne(this.subject) || this.subject : "Issue report", r = this.describe ? ne(this.describe) || this.describe : "Describe the issue:", a = this.appVersion ? ne(this.appVersion) || this.appVersion : "App version:", i = `${r}
1649
+ const e = this.subject ? q(this.subject) || this.subject : "Issue report", r = this.describe ? q(this.describe) || this.describe : "Describe the issue:", a = this.appVersion ? q(this.appVersion) || this.appVersion : "App version:", i = `${r}
1650
1650
 
1651
1651
 
1652
1652
  ${a} ${this.version || ""}`;
@@ -1802,7 +1802,7 @@ customElements.define("ds-card", Oe);
1802
1802
  * Copyright 2017 Google LLC
1803
1803
  * SPDX-License-Identifier: BSD-3-Clause
1804
1804
  */
1805
- class Pe extends Ar {
1805
+ class Be extends Ar {
1806
1806
  constructor(e) {
1807
1807
  if (super(e), this.it = w, e.type !== $r.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1808
1808
  }
@@ -1816,8 +1816,8 @@ class Pe extends Ar {
1816
1816
  return r.raw = r, this._t = { _$litType$: this.constructor.resultType, strings: r, values: [] };
1817
1817
  }
1818
1818
  }
1819
- Pe.directiveName = "unsafeHTML", Pe.resultType = 1;
1820
- const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-items:center;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1));color:var(--icon-color, currentColor);background:transparent}:host([variant="glyph"]),:host(:not([variant])){color:var(--icon-color, currentColor);background:transparent}:host([variant="primary"]){color:var(--icon-color, var(--button-text-color, currentColor));background:var(--accent-color)}:host([variant="secondary"]){color:var(--icon-color, var(--icon-color, currentColor));background:var( --icon-background, light-dark(var(--slate-light, #e6e6e6), var(--slate-dark, #3c3c3c)) )}svg{display:block;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1))}', ma = {
1819
+ Be.directiveName = "unsafeHTML", Be.resultType = 1;
1820
+ const va = _r(Be), fa = ':host{display:inline-flex;justify-content:center;align-items:center;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1));color:var(--icon-color, currentColor);background:transparent}:host([variant="glyph"]),:host(:not([variant])){color:var(--icon-color, currentColor);background:transparent}:host([variant="primary"]){color:var(--icon-color, var(--button-text-color, currentColor));background:var(--accent-color)}:host([variant="secondary"]){color:var(--icon-color, var(--icon-color, currentColor));background:var( --icon-background, light-dark(var(--slate-light, #e6e6e6), var(--slate-dark, #3c3c3c)) )}svg{display:block;width:calc(14px * var(--sf, 1));height:calc(14px * var(--sf, 1))}', ma = {
1821
1821
  "1x": `<svg width="9" height="8" viewBox="0 0 9 8" fill="none" xmlns="http://www.w3.org/2000/svg">
1822
1822
  <path d="M2.20008 2.1176C1.96088 2.3776 1.48248 2.5024 1.09768 2.5024H0.848083V1.4H1.01448C1.68008 1.4 2.21048 1.0464 2.41848 0.307999H3.39608V7.692H2.20008V2.1176Z" fill="#2A2A2A"/>
1823
1823
  <path d="M4.27992 7.692L5.81912 4.9776L4.39432 2.492H5.68392L6.30792 3.7816C6.41192 3.9896 6.48472 4.1456 6.52632 4.312H6.54712C6.57832 4.156 6.65112 3.9792 6.75512 3.7712L7.33752 2.492H8.60632L7.21272 5.0088L8.75192 7.692H7.44152L6.72392 6.2672C6.61992 6.0592 6.53672 5.872 6.50552 5.7368H6.48472C6.45352 5.8512 6.37032 6.0488 6.25592 6.2672L5.53832 7.692H4.27992Z" fill="#2A2A2A"/>
@@ -1945,6 +1945,9 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
1945
1945
  </svg>`,
1946
1946
  email: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="11" viewBox="0 0 16 11" fill="none">
1947
1947
  <path fill-rule="evenodd" clip-rule="evenodd" d="M14.0871 0.989435L0.930906 0.988037L0.930542 11L13.0753 11H14.0871V0.989435ZM7.50709 8.0566L1.94249 2.49201L1.94248 9.98814H13.0753V2.48839L7.50709 8.0566ZM2.85116 2L7.50709 6.65593L12.1515 1.99952L2.85116 2Z" fill="currentColor"/>
1948
+ </svg>`,
1949
+ exercise: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1950
+ <path d="M9.11131 4.50523C8.89226 4.50523 8.69548 4.45325 8.52098 4.3493C8.34648 4.24163 8.20539 4.10054 8.09772 3.92604C7.99377 3.75154 7.94179 3.55662 7.94179 3.34128C7.94179 3.12594 7.99377 2.93102 8.09772 2.75652C8.20539 2.5783 8.34648 2.43722 8.52098 2.33326C8.69548 2.2293 8.89226 2.17732 9.11131 2.17732C9.32665 2.17732 9.52157 2.2293 9.69607 2.33326C9.87057 2.43722 10.0098 2.5783 10.1138 2.75652C10.2214 2.93102 10.2753 3.12594 10.2753 3.34128C10.2753 3.55662 10.2214 3.75154 10.1138 3.92604C10.0098 4.10054 9.87057 4.24163 9.69607 4.3493C9.52157 4.45325 9.32665 4.50523 9.11131 4.50523ZM7.29019 9.12207C7.13797 9.03668 6.98389 8.94386 6.82795 8.84361C6.67202 8.73965 6.55692 8.60228 6.48267 8.43149C6.40841 8.25699 6.41584 8.01938 6.50494 7.71864L6.9282 6.19269C6.9579 6.09616 6.94305 6.0219 6.88365 5.96992C6.82424 5.91794 6.7537 5.89567 6.67202 5.90309L5.93132 5.95322L5.70855 7.49031C5.66029 7.83559 5.48022 7.99524 5.16834 7.96925C5.01983 7.9544 4.90659 7.89314 4.82862 7.78547C4.75066 7.67409 4.72281 7.53486 4.74509 7.36778L5.00127 5.47984C5.01983 5.3239 5.07738 5.19952 5.17391 5.1067C5.27044 5.01388 5.39482 4.9619 5.54705 4.95077L7.40715 4.82268C7.89723 4.78555 8.30193 4.83753 8.62123 4.97861C8.94052 5.11598 9.22084 5.34989 9.46217 5.68033L10.3755 6.94453L11.701 6.3542C11.8495 6.28737 11.985 6.27251 12.1075 6.30964C12.2338 6.34677 12.3284 6.43402 12.3915 6.57139C12.4584 6.70877 12.4658 6.83871 12.4138 6.96123C12.3618 7.08376 12.2597 7.17843 12.1075 7.24526L10.4256 7.9971C10.3143 8.04908 10.1992 8.05836 10.0803 8.02495C9.96525 7.99153 9.87429 7.92284 9.80746 7.81889L9.21713 6.9668C9.16143 6.88512 9.09089 6.84985 9.0055 6.86099C8.9201 6.87213 8.86441 6.92596 8.83842 7.0225L8.44301 8.38137L10.4312 9.68456C10.5834 9.7848 10.6688 9.9296 10.6874 10.119C10.7059 10.3083 10.6503 10.4568 10.5203 10.5645L8.69362 12.1183C8.54511 12.2445 8.3966 12.3021 8.24809 12.2909C8.10329 12.2835 7.98634 12.2297 7.89723 12.1294C7.81184 12.0292 7.77286 11.9085 7.78028 11.7674C7.78771 11.6226 7.86382 11.4908 8.00862 11.372L9.30066 10.2526L7.29019 9.12207ZM3.73707 13.6999C3.6294 13.6034 3.56814 13.4772 3.55329 13.3212C3.54215 13.1653 3.60712 13.0186 3.74821 12.8813L5.53034 11.1103L6.15409 8.89373C6.25062 9.01997 6.37128 9.13878 6.51608 9.25016C6.66088 9.35783 6.83352 9.46736 7.03401 9.57874L7.2178 9.68456L6.50494 11.5224C6.46039 11.6338 6.42326 11.7117 6.39356 11.7563C6.36386 11.7971 6.31188 11.8547 6.23762 11.9289L4.51675 13.6275C4.38309 13.7575 4.24572 13.8224 4.10463 13.8224C3.96355 13.8262 3.84103 13.7853 3.73707 13.6999Z" fill="currentColor"/>
1948
1951
  </svg>`,
1949
1952
  expand: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
1950
1953
  <path d="M0 5.81415V0H5.80924L5.81842 0.990424H1.70698L11.0089 10.2943L10.9997 6.18585H12V12H6.19076L6.18158 11.0096H10.293L0.99115 1.70573L1.00033 5.81415H0Z" fill="currentColor"/>
@@ -2015,6 +2018,14 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2015
2018
  </svg>`,
2016
2019
  left: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="9" viewBox="0 0 16 9" fill="none">
2017
2020
  <path d="M1.90697 3.60594H15.0636V4.61651L1.90734 4.61791L4.81456 7.52513L4.10774 8.21898L-1.23978e-05 4.11123L4.11122 0L4.81855 0.707338L1.90697 3.60594Z" fill="currentColor"/>
2021
+ </svg>`,
2022
+ life: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2023
+ <path d="M3.76595 12.3556L12.2336 12.3556V13.3529L4.76332 13.3529L3.76595 13.3529V12.3556Z" fill="currentColor"/>
2024
+ <path d="M4.76332 13.3529L3.76595 13.3529V7.16597L4.76329 7.16597L4.76332 13.3529Z" fill="currentColor"/>
2025
+ <path d="M12.2336 13.3529H11.2363L11.2363 7.16599L12.2336 7.16597V13.3529Z" fill="currentColor"/>
2026
+ <path d="M11.6251 6.4395H10.6278L10.6278 4.16374L11.6251 4.16372V6.4395Z" fill="currentColor"/>
2027
+ <path d="M7.99993 2.64708L13.4713 8.11835L12.7661 8.82358L7.2947 3.35231L7.99993 2.64708Z" fill="currentColor"/>
2028
+ <path d="M3.23393 8.82358L2.52869 8.11832L7.99993 2.64708L8.70517 3.3523L3.23393 8.82358Z" fill="currentColor"/>
2018
2029
  </svg>`,
2019
2030
  lock: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2020
2031
  <path fill-rule="evenodd" clip-rule="evenodd" d="M8 2.60742C9.53669 2.60746 10.7822 3.85296 10.7822 5.38965V7.64746H11.5996V13.3926H4.40039V7.64746H5.21777V5.38965C5.21779 3.85295 6.4633 2.60744 8 2.60742ZM8 3.62695C7.02663 3.62697 6.23733 4.41628 6.2373 5.38965V7.64746H9.7627V5.38965C9.76267 4.41629 8.97336 3.62699 8 3.62695Z" fill="#1E1E1E"/>
@@ -2051,12 +2062,21 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2051
2062
  </svg>`,
2052
2063
  plus: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2053
2064
  <path d="M8.50235 2.6739L8.4996 7.5035L13.3334 7.51044L13.325 8.50193L8.49328 8.49569L8.49951 13.3274L7.49764 13.3268L7.50039 8.49717L2.66663 8.49024L2.67503 7.49875L7.50672 7.50499L7.50117 2.67261L8.50235 2.6739Z" fill="#1E1E1E"/>
2065
+ </svg>`,
2066
+ rewind: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2067
+ <path d="M12.0098 8.4352C12.0098 6.22054 10.2147 4.42544 8 4.42544V5.44497C9.65133 5.44497 10.9902 6.78387 10.9902 8.4352C10.9902 10.0865 9.65133 11.4254 8 11.4254C6.34867 11.4254 5.00977 10.0865 5.00977 8.4352H3.99023C3.99023 10.6499 5.78534 12.445 8 12.445C10.2147 12.445 12.0098 10.6499 12.0098 8.4352Z" fill="#1E1E1E"/>
2068
+ <path d="M10.8353 5.59987C9.26933 4.03387 6.73067 4.03387 5.16467 5.59987L5.88559 6.32079C7.05325 5.15312 8.94675 5.15312 10.1144 6.32079C11.2821 7.48845 11.2821 9.38195 10.1144 10.5496C8.94675 11.7173 7.05325 11.7173 5.88559 10.5496L5.16467 11.2705C6.73067 12.8365 9.26933 12.8365 10.8353 11.2705C12.4013 9.70453 12.4013 7.16587 10.8353 5.59987Z" fill="#1E1E1E"/>
2069
+ <path d="M5.15847 5.59315L5.8743 6.30846H7.93002V7.29888H4.16732V3.53894H5.16306L5.15847 5.59315Z" fill="#1E1E1E"/>
2054
2070
  </svg>`,
2055
2071
  right: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2056
2072
  <path d="M13.1566 8.60594H0V9.61651L13.1562 9.61791L10.249 12.5251L10.9558 13.219L15.0636 9.11123L10.9524 5L10.245 5.70734L13.1566 8.60594Z" fill="#1E1E1E"/>
2057
2073
  </svg>`,
2058
2074
  row: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2059
2075
  <path d="M3.87698 4.67614L8.01617 0.536957L12.1488 4.66961L11.4503 5.38124L8.5254 2.45639L8.49306 13.5436L11.4114 10.6122L12.123 11.3239L7.98382 15.463L3.85117 11.3304L4.54974 10.6188L7.47459 13.5436L7.50693 2.45639L4.58861 5.38777L3.87698 4.67614Z" fill="#1E1E1E"/>
2076
+ </svg>`,
2077
+ school: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2078
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.48751 11.2972L10.4354 11.2964H5.49535L5.48751 11.2972Z" fill="currentColor"/>
2079
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.49535 13.0423C4.81691 13.0423 4.2588 12.5265 4.19152 11.8658L4.18468 4.00851C4.18468 3.42828 4.65521 2.95775 5.23544 2.95775H10.7646C11.3448 2.95775 11.8153 3.42829 11.8153 4.00851V10.4123C11.8153 10.7646 11.6092 11.0692 11.3109 11.2115V12.1689C11.5526 12.169 11.7527 12.3649 11.7527 12.6066C11.7527 12.8483 11.5526 13.0421 11.3109 13.0423H5.49535ZM5.06017 11.7316C5.06017 11.5214 5.20914 11.3456 5.40729 11.3049L5.48751 11.2972L5.49535 11.2964H10.4354V12.1668H5.49535L5.40729 12.1574C5.20923 12.1167 5.06023 11.9417 5.06017 11.7316ZM10.798 4.09446H5.20187V5.49349H10.798V4.09446Z" fill="currentColor"/>
2060
2080
  </svg>`,
2061
2081
  sdown: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2062
2082
  <path d="M8.50361 11.1717L8.50222 2.92134L7.49165 2.92134L7.49165 11.1713L4.58442 8.26409L3.89058 8.97091L7.99833 13.0787L12.1096 8.96744L11.4022 8.2601L8.50361 11.1717Z" fill="#1E1E1E"/>
@@ -2146,6 +2166,9 @@ const va = _r(Pe), fa = ':host{display:inline-flex;justify-content:center;align-
2146
2166
  </svg>`,
2147
2167
  up: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2148
2168
  <path d="M7.49645 3.48222V16H8.50702L8.50841 3.48259L11.4156 6.38982L12.1095 5.68299L8.00173 1.57524L3.8905 5.68647L4.59784 6.39381L7.49645 3.48222Z" fill="#1E1E1E"/>
2169
+ </svg>`,
2170
+ work: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2171
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M13.8153 4.78289C13.8153 4.20267 13.3448 3.73213 12.7646 3.73213H8H3.23544C2.65521 3.73213 2.18468 4.20267 2.18468 4.78289V7.31419H13.8153L13.8153 4.78289ZM2.18468 8V11.2171C2.18468 11.7973 2.65521 12.2679 3.23544 12.2679H12.7646C13.3448 12.2679 13.8153 11.7973 13.8153 11.2171L13.8153 8L9.33239 7.98014V8.63222C9.33239 8.92233 9.09712 9.1576 8.807 9.1576H8H7.19299C6.90287 9.1576 6.66761 8.92233 6.66761 8.63222V7.98014L2.18468 8Z" fill="currentColor"/>
2149
2172
  </svg>`
2150
2173
  }, ue = class ue extends f {
2151
2174
  constructor() {
@@ -2169,11 +2192,11 @@ ue.properties = {
2169
2192
  type: { type: String, reflect: !0 },
2170
2193
  variant: { type: String, reflect: !0 }
2171
2194
  }, ue.styles = x(fa);
2172
- let Be = ue;
2173
- customElements.define("ds-icon", Be);
2195
+ let Pe = ue;
2196
+ customElements.define("ds-icon", Pe);
2174
2197
  const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-flex;align-items:center}", ya = (t) => {
2175
2198
  localStorage.setItem("accentColor", t);
2176
- }, De = () => localStorage.getItem("accentColor") || "--sharp-blue", He = () => {
2199
+ }, De = () => localStorage.getItem("accentColor") || "--sharp-blue", Ve = () => {
2177
2200
  const t = De();
2178
2201
  document.documentElement.style.setProperty("--accent-color", `var(${t})`);
2179
2202
  }, ba = (t) => {
@@ -2224,11 +2247,11 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2224
2247
  }
2225
2248
  async initializeValues() {
2226
2249
  if (this.type === "language") {
2227
- const e = Ht();
2228
- this.values = e, this.currentValue = L.value;
2250
+ const e = Vt();
2251
+ this.values = e, this.currentValue = C.value;
2229
2252
  } else if (this.type === "theme") {
2230
2253
  this.values = ["light", "dark"];
2231
- const e = X.get();
2254
+ const e = Q.get();
2232
2255
  this.currentValue = e;
2233
2256
  } else if (this.type === "accent-color") {
2234
2257
  this.values = [
@@ -2242,7 +2265,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2242
2265
  "--yellow"
2243
2266
  ];
2244
2267
  const e = De();
2245
- this.currentValue = e, He();
2268
+ this.currentValue = e, Ve();
2246
2269
  } else if (this.type === "notes-style-medium") {
2247
2270
  this.values = ["default", "big", "gallery"];
2248
2271
  const e = It();
@@ -2269,14 +2292,14 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2269
2292
  }
2270
2293
  async setupInitialValue() {
2271
2294
  if (this.type === "language") {
2272
- const e = L.value;
2295
+ const e = C.value;
2273
2296
  this.currentValue = e;
2274
2297
  } else if (this.type === "theme") {
2275
- const e = X.get();
2298
+ const e = Q.get();
2276
2299
  this.currentValue = e;
2277
2300
  } else if (this.type === "accent-color") {
2278
2301
  const e = De();
2279
- this.currentValue = e, He();
2302
+ this.currentValue = e, Ve();
2280
2303
  } else if (this.type === "notes-style-medium") {
2281
2304
  const e = It();
2282
2305
  this.currentValue = e;
@@ -2328,7 +2351,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2328
2351
  this.currentValue = i, ta(i), N({ theme: i });
2329
2352
  } else if (this.type === "accent-color") {
2330
2353
  const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2331
- this.currentValue = i, ya(i), He(), N({ accentColor: i }), window.dispatchEvent(
2354
+ this.currentValue = i, ya(i), Ve(), N({ accentColor: i }), window.dispatchEvent(
2332
2355
  new CustomEvent("accent-color-changed", {
2333
2356
  detail: { color: i }
2334
2357
  })
@@ -2361,11 +2384,11 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2361
2384
  getValueDisplay(e) {
2362
2385
  if (this.type === "language")
2363
2386
  return Yr(e, {
2364
- locale: L.value
2387
+ locale: C.value
2365
2388
  });
2366
2389
  if (this.type === "theme") {
2367
2390
  if (this.translationsReady) {
2368
- const r = U(e);
2391
+ const r = j(e);
2369
2392
  if (r && r !== e)
2370
2393
  return r;
2371
2394
  }
@@ -2377,7 +2400,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2377
2400
  return this.getNotesStyleIcon(e);
2378
2401
  if (this.type === "page-style") {
2379
2402
  if (this.translationsReady) {
2380
- const r = U(e === "note" ? "Note" : "Page");
2403
+ const r = j(e === "note" ? "Note" : "Page");
2381
2404
  if (r && r !== (e === "note" ? "Note" : "Page"))
2382
2405
  return r;
2383
2406
  }
@@ -2411,7 +2434,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2411
2434
  "--pink": "Pink"
2412
2435
  }[e];
2413
2436
  if (a && this.translationsReady) {
2414
- const i = U(a);
2437
+ const i = j(a);
2415
2438
  if (i && i !== a)
2416
2439
  return i;
2417
2440
  }
@@ -2464,7 +2487,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2464
2487
  }
2465
2488
  handleTranslationsLoaded() {
2466
2489
  if (this.translationsReady = !0, this.type === "language") {
2467
- const e = Ht();
2490
+ const e = Vt();
2468
2491
  this.values = e;
2469
2492
  }
2470
2493
  this.setupInitialValue();
@@ -2492,11 +2515,14 @@ const xa = ":host{display:inline;font-family:var(--typeface-regular, var(--typef
2492
2515
  }
2493
2516
  };
2494
2517
  ht.styles = x(xa);
2495
- let je = ht;
2496
- customElements.define("ds-date", je);
2518
+ let Ue = ht;
2519
+ customElements.define("ds-date", Ue);
2497
2520
  const Ca = ':host{display:block;width:100%;--gap-size: var(--unit);height:var(--gap-size);flex:0 0 auto}:host([tenth]){--gap-size: var(--tenth)}:host([quarter]){--gap-size: var(--quarter)}:host([half]){--gap-size: var(--half)}:host([eight-tenth]){--gap-size: var(--eight-tenth)}:host([unit]){--gap-size: var(--unit)}:host([double]){--gap-size: var(--double)}:host([triple]){--gap-size: var(--triple)}:host([quad]){--gap-size: var(--quad)}:host([oct]){--gap-size: var(--oct)}:host([dozen]){--gap-size: var(--dozen)}:host([size="01"]){--gap-size: var(--01)}:host([size="025"]){--gap-size: var(--025)}:host([size="05"]){--gap-size: var(--05)}:host([size="08"]){--gap-size: var(--08)}:host([size="1"]){--gap-size: var(--1)}:host([size="2"]){--gap-size: var(--2)}:host([size="3"]){--gap-size: var(--3)}:host([size="4"]){--gap-size: var(--4)}:host([size="8"]){--gap-size: var(--8)}:host([size="12"]){--gap-size: var(--12)}', pe = class pe extends f {
2498
2521
  constructor() {
2499
- super(), this.size = "";
2522
+ super();
2523
+ }
2524
+ updated(e) {
2525
+ super.updated(e), e.has("size") && (!this.size || this.size === "") && this.removeAttribute("size");
2500
2526
  }
2501
2527
  render() {
2502
2528
  return l``;
@@ -2506,11 +2532,50 @@ pe.properties = {
2506
2532
  /** Raw scale token selector ("01", "025", "05", "08", "1", "2", "3", "4", "8", "12") */
2507
2533
  size: { type: String, reflect: !0 }
2508
2534
  }, pe.styles = x(Ca);
2509
- let Ue = pe;
2510
- customElements.define("ds-gap", Ue);
2535
+ let je = pe;
2536
+ customElements.define("ds-gap", je);
2511
2537
  const La = ':host{display:block;width:100%}.input-wrapper{display:flex;flex-direction:column;gap:calc(var(--025) * var(--sf, 1));width:100%}label{font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));color:var(--text-color-secondary)}.input-container{position:relative;display:flex;align-items:center;width:100%}input{background:var(--base-light-grey, #e8e8e8);border:none;padding:0 calc(2px * var(--sf, 1));font-size:var(--type-size-default);font-family:var(--typeface-regular, "GT-America-Standard-Regular");color:var(--base-darker-grey, #797979);line-height:calc(16px * var(--sf, 1));letter-spacing:calc(-.4px * var(--sf, 1));opacity:.5;height:calc(unit * var(--sf, 1));width:100%;box-sizing:border-box;outline:none;transition:border-color .2s ease,box-shadow .2s ease}input:focus{outline:none;opacity:1;color:var(--base-slate, #1e1e1e)}input::placeholder{color:var(--base-darker-grey, #797979);opacity:.5}input:disabled{cursor:not-allowed;opacity:.5}input:read-only{background-color:var(--input-readonly-background, #fafafa)}:host([variant="filled"]) input{background-color:var( --input-filled-background, var(--surface-color-secondary, #f5f5f5) );border:none;border-bottom:2px solid var(--border-color, #ccc);border-radius:calc(var(--025) * var(--sf, 1)) calc(var(--025) * var(--sf, 1)) 0 0}:host([variant="filled"]) input:focus{border-bottom-color:var(--accent-color, #007aff);box-shadow:none}:host([variant="outlined"]) input{background-color:transparent;border:2px solid var(--border-color, #ccc)}:host([variant="outlined"]) input:focus{border-color:var(--accent-color, #007aff)}.error-message{font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));color:var(--error-color, #ff3b30);margin-top:calc(var(--025) * var(--sf, 1))}:host([required]) label:after{content:" *";color:var(--error-color, #ff3b30)}input.has-error{border-color:var(--error-color, #ff3b30)}input.has-error:focus{box-shadow:0 0 0 2px #ff3b3033}', ge = class ge extends f {
2512
2538
  constructor() {
2513
- super(), this.type = "text", this.name = "", this.value = "", this.placeholder = "", this.placeholderKey = "", this.label = "", this.labelText = "", this.disabled = !1, this.readonly = !1, this.required = !1, this.autofocus = !1, this.autocomplete = "off", this.pattern = "", this.minlength = 0, this.maxlength = 0, this.min = "", this.max = "", this.step = "", this.variant = "default", this.error = "", this.errorText = "", this._focused = !1;
2539
+ super(), this.type = "text", this.name = "", this.value = "", this.placeholder = "", this.placeholderKey = "", this.label = "", this.labelText = "", this.disabled = !1, this.readonly = !1, this.required = !1, this.autofocus = !1, this.autocomplete = "off", this.pattern = "", this.minlength = 0, this.maxlength = 0, this.min = "", this.max = "", this.step = "", this.variant = "default", this.error = "", this.errorText = "", this._focused = !1, this._placeholder = "", this._currentLanguage = C.value, this.boundHandlers = {
2540
+ languageChanged: (() => {
2541
+ this._currentLanguage = C.value, this._loadPlaceholder(), this.requestUpdate();
2542
+ })
2543
+ };
2544
+ }
2545
+ connectedCallback() {
2546
+ super.connectedCallback(), this._currentLanguage = C.value, this._loadPlaceholder(), window.addEventListener(
2547
+ "language-changed",
2548
+ this.boundHandlers.languageChanged
2549
+ ), window.addEventListener(
2550
+ "translations-loaded",
2551
+ this.boundHandlers.languageChanged
2552
+ );
2553
+ }
2554
+ disconnectedCallback() {
2555
+ super.disconnectedCallback(), window.removeEventListener(
2556
+ "language-changed",
2557
+ this.boundHandlers.languageChanged
2558
+ ), window.removeEventListener(
2559
+ "translations-loaded",
2560
+ this.boundHandlers.languageChanged
2561
+ );
2562
+ }
2563
+ updated(e) {
2564
+ super.updated(e), (e.has("placeholder") || e.has("placeholderKey")) && this._loadPlaceholder();
2565
+ }
2566
+ _loadPlaceholder() {
2567
+ const e = this.placeholderKey || this.placeholder;
2568
+ if (!e) {
2569
+ this._placeholder = "", this.requestUpdate();
2570
+ return;
2571
+ }
2572
+ try {
2573
+ const r = q(e);
2574
+ this._placeholder = r || e;
2575
+ } catch {
2576
+ this._placeholder = e;
2577
+ }
2578
+ this.requestUpdate();
2514
2579
  }
2515
2580
  _handleInput(e) {
2516
2581
  const r = e.target;
@@ -2561,7 +2626,7 @@ const La = ':host{display:block;width:100%}.input-wrapper{display:flex;flex-dire
2561
2626
  .type=${this.type}
2562
2627
  .name=${this.name}
2563
2628
  .value=${this.value}
2564
- .placeholder=${this.placeholder}
2629
+ .placeholder=${this._placeholder || this.placeholder}
2565
2630
  ?disabled=${this.disabled}
2566
2631
  ?readonly=${this.readonly}
2567
2632
  ?required=${this.required}
@@ -2611,7 +2676,9 @@ ge.properties = {
2611
2676
  variant: { type: String, reflect: !0 },
2612
2677
  error: { type: String },
2613
2678
  errorText: { type: String, attribute: "error-text" },
2614
- _focused: { type: Boolean, state: !0 }
2679
+ _focused: { type: Boolean, state: !0 },
2680
+ _placeholder: { type: String, state: !0 },
2681
+ _currentLanguage: { type: String, state: !0 }
2615
2682
  }, ge.styles = x(La);
2616
2683
  let qe = ge;
2617
2684
  customElements.define("ds-input", qe);
@@ -2666,7 +2733,7 @@ const Ea = ':host{position:relative;display:inline-block}.slot-wrapper{display:i
2666
2733
  return;
2667
2734
  }
2668
2735
  try {
2669
- const e = U(this.text);
2736
+ const e = j(this.text);
2670
2737
  this._text = e && e !== this.text ? e : this.defaultValue || this.text;
2671
2738
  } catch (e) {
2672
2739
  console.error("ds-tooltip: error loading text for text", this.text, e), this._text = this.defaultValue || this.text;
@@ -2961,15 +3028,15 @@ ye.properties = {
2961
3028
  }, ye.styles = x(Aa);
2962
3029
  let Ye = ye;
2963
3030
  customElements.define("ds-table", Ye);
2964
- const Sa = ":host{display:flex;width:100%;max-width:100%;flex-direction:column;background-color:var(--background-color);box-sizing:border-box}:host ::slotted(*){max-width:100%;box-sizing:border-box}@media (max-width: 820px){:host{width:100%;max-width:100%}}@media (min-width: 821px){:host{max-width:1000px;margin-left:auto;margin-right:auto;width:100%}}", pt = class pt extends f {
3031
+ const Ha = ":host{display:flex;width:100%;max-width:100%;flex-direction:column;background-color:var(--background-color);box-sizing:border-box}:host ::slotted(*){max-width:100%;box-sizing:border-box}@media (max-width: 820px){:host{width:100%;max-width:100%}}@media (min-width: 821px){:host{max-width:1000px;margin-left:auto;margin-right:auto;width:100%}}", pt = class pt extends f {
2965
3032
  render() {
2966
3033
  return l`<slot></slot>`;
2967
3034
  }
2968
3035
  };
2969
- pt.styles = x(Sa);
3036
+ pt.styles = x(Ha);
2970
3037
  let Xe = pt;
2971
3038
  customElements.define("ds-container", Xe);
2972
- const Va = ':host{margin-top:.5px!important;margin-left:.5px!important;display:grid;width:1440px;height:1280px;grid-template-columns:repeat(auto-fill,19px);grid-template-rows:repeat(auto-fill,19px);gap:1px;row-rule:calc(1px * var(--sf)) solid var(--grid-color);column-rule:calc(1px * var(--sf)) solid var(--grid-color);outline:calc(1px * var(--sf)) solid light-dark(var(--sharp-blue),var(--yellow));position:fixed;top:0;left:50%;transform:translate(-50%);pointer-events:none;z-index:300}:host(.mobile){width:calc(100% - calc(1px * var(--sf)));max-width:100vw;margin-left:.5px!important;margin-top:0!important;box-sizing:border-box;position:fixed;top:calc(.5px * var(--sf));left:50%;transform:translate(-50%);pointer-events:none;z-index:300;gap:calc(1px * var(--sf));grid-template-columns:repeat(14,calc(19px * var(--sf)));grid-template-rows:repeat(auto-fill,calc(19px * var(--sf)))}:host([align="left"]){left:0;transform:none}:host([align="center"]){left:50%;transform:translate(-50%)}:host([align="right"]){left:auto;right:0;transform:none}', be = class be extends f {
3039
+ const Sa = ':host{margin-top:.5px!important;margin-left:.5px!important;display:grid;width:1440px;height:1280px;grid-template-columns:repeat(auto-fill,19px);grid-template-rows:repeat(auto-fill,19px);gap:1px;row-rule:calc(1px * var(--sf)) solid var(--grid-color);column-rule:calc(1px * var(--sf)) solid var(--grid-color);outline:calc(1px * var(--sf)) solid light-dark(var(--sharp-blue),var(--yellow));position:fixed;top:0;left:50%;transform:translate(-50%);pointer-events:none;z-index:300}:host(.mobile){width:calc(100% - calc(1px * var(--sf)));max-width:100vw;margin-left:.5px!important;margin-top:0!important;box-sizing:border-box;position:fixed;top:calc(.5px * var(--sf));left:50%;transform:translate(-50%);pointer-events:none;z-index:300;gap:calc(1px * var(--sf));grid-template-columns:repeat(14,calc(19px * var(--sf)));grid-template-rows:repeat(auto-fill,calc(19px * var(--sf)))}:host([align="left"]){left:0;transform:none}:host([align="center"]){left:50%;transform:translate(-50%)}:host([align="right"]){left:auto;right:0;transform:none}', be = class be extends f {
2973
3040
  connectedCallback() {
2974
3041
  super.connectedCallback(), this.updateMobileClass(), this.resizeObserver = () => {
2975
3042
  this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(() => {
@@ -2989,10 +3056,10 @@ const Va = ':host{margin-top:.5px!important;margin-left:.5px!important;display:g
2989
3056
  };
2990
3057
  be.properties = {
2991
3058
  align: { type: String }
2992
- }, be.styles = x(Va);
3059
+ }, be.styles = x(Sa);
2993
3060
  let Qe = be;
2994
3061
  customElements.define("ds-grid", Qe);
2995
- const Ha = ':host{display:grid;position:relative;width:100%}slot{display:contents}:host([mode="portfolio"]){--portfolio-cols: 120px 480px 40px;--portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;--portfolio-areas: "square . ." ". title ." ". header ." ". projects ." ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";--portfolio-overlay-cols: 120px 480px;--portfolio-overlay-areas: "square ." ". title" ". header" ". projects" ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";grid-template-columns:var(--portfolio-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-areas);min-height:600px;background-color:#a5a5a508;max-width:640px;margin:0}:host([mode="portfolio"]) .view-overlay{grid-template-columns:var(--portfolio-overlay-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-overlay-areas)}:host([mode="company"]){--company-cols: auto 400px auto;--company-rows: 80px 20px 20px 120px 20px 120px;--company-areas: ". . ." ". header ." ". . ." ". content ." ". . ." ". footer .";grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0;max-width:100%}:host([mode="company"]) .view-overlay{grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0}:host([align="left"]),:host([mode="portfolio"][align="left"]),:host([mode="company"][align="left"]),:host([mode="app"][align="left"]){margin:0;justify-self:start}:host([align="center"]),:host([mode="portfolio"][align="center"]),:host([mode="company"][align="center"]),:host([mode="app"][align="center"]){margin:0 auto;justify-self:center}:host([align="right"]),:host([mode="portfolio"][align="right"]),:host([mode="company"][align="right"]),:host([mode="app"][align="right"]){margin:0 0 0 auto;justify-self:end}:host([mode="app"]){--app-cols: 100%;--app-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";--app-overlay-cols: 100%;--app-overlay-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-overlay-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";grid-template-columns:var(--app-cols);grid-template-rows:var(--app-rows);grid-template-areas:var(--app-areas);min-height:100vh;background-color:transparent;width:calc(240px * var(--sf, 1));max-width:calc(240px * var(--sf, 1));margin:0 auto}:host([mode="app"]) .view-overlay{grid-template-columns:var(--app-overlay-cols);grid-template-rows:var(--app-overlay-rows);grid-template-areas:var(--app-overlay-areas)}.view-overlay{position:absolute;margin-left:-1px;inset:0;pointer-events:none;z-index:1000;display:grid}.view-area{display:flex;width:calc(240px * var(--sf, 1));height:100%;align-items:center;justify-content:center;font-family:var(--typeface-regular);font-size:calc(var(--type-size-default) * var(--05));color:color-mix(in srgb,var(--tuned-red) 25%,transparent);background-color:color-mix(in srgb,var(--accent-color) 25%,transparent);opacity:1}:host([mode="portfolio"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="portfolio"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="portfolio"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="portfolio"]) .view-area:nth-of-type(4){border-color:var(--apple-green)}:host([mode="portfolio"]) .view-area:nth-of-type(5){border-color:var(--pink)}:host([mode="portfolio"]) .view-area:nth-of-type(6){border-color:var(--orange)}:host([mode="portfolio"]) .view-area:nth-of-type(7){border-color:var(--zenith-blue)}:host([mode="company"]) .view-area:nth-of-type(1){border-color:var(--tuned-red)}:host([mode="company"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="company"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="app"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(2){background-color:color-mix(in srgb,var(--sharp-blue) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(3){background-color:color-mix(in srgb,var(--yellow) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(4){background-color:color-mix(in srgb,var(--apple-green) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(5){background-color:color-mix(in srgb,var(--pink) 25%,transparent)}.view-square{grid-area:square}.view-title{grid-area:title}.view-header{grid-area:header}.view-projects{grid-area:projects}.view-bio{grid-area:bio}.view-nav{grid-area:nav}.view-footer{grid-area:footer}.view-content{grid-area:content}.view-banner{grid-area:banner}.view-main{grid-area:main}.view-page-dots{grid-area:page-dots}', xe = class xe extends f {
3062
+ const Va = ':host{display:grid;position:relative;width:100%}slot{display:contents}:host([mode="portfolio"]){--portfolio-cols: 120px 480px 40px;--portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;--portfolio-areas: "square . ." ". title ." ". header ." ". projects ." ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";--portfolio-overlay-cols: 120px 480px;--portfolio-overlay-areas: "square ." ". title" ". header" ". projects" ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";grid-template-columns:var(--portfolio-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-areas);min-height:600px;background-color:#a5a5a508;max-width:640px;margin:0}:host([mode="portfolio"]) .view-overlay{grid-template-columns:var(--portfolio-overlay-cols);grid-template-rows:var(--portfolio-rows);grid-template-areas:var(--portfolio-overlay-areas)}:host([mode="company"]){--company-cols: auto 400px auto;--company-rows: 80px 20px 20px 120px 20px 120px;--company-areas: ". . ." ". header ." ". . ." ". content ." ". . ." ". footer .";grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0;max-width:100%}:host([mode="company"]) .view-overlay{grid-template-columns:var(--company-cols);grid-template-rows:var(--company-rows);grid-template-areas:var(--company-areas);gap:0}:host([align="left"]),:host([mode="portfolio"][align="left"]),:host([mode="company"][align="left"]),:host([mode="app"][align="left"]){margin:0;justify-self:start}:host([align="center"]),:host([mode="portfolio"][align="center"]),:host([mode="company"][align="center"]),:host([mode="app"][align="center"]){margin:0 auto;justify-self:center}:host([align="right"]),:host([mode="portfolio"][align="right"]),:host([mode="company"][align="right"]),:host([mode="app"][align="right"]){margin:0 0 0 auto;justify-self:end}:host([mode="app"]){--app-cols: 100%;--app-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";--app-overlay-cols: 100%;--app-overlay-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));--app-overlay-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";grid-template-columns:var(--app-cols);grid-template-rows:var(--app-rows);grid-template-areas:var(--app-areas);min-height:100vh;background-color:transparent;width:calc(240px * var(--sf, 1));max-width:calc(240px * var(--sf, 1));margin:0 auto}:host([mode="app"]) .view-overlay{grid-template-columns:var(--app-overlay-cols);grid-template-rows:var(--app-overlay-rows);grid-template-areas:var(--app-overlay-areas)}.view-overlay{position:absolute;margin-left:-1px;inset:0;pointer-events:none;z-index:1000;display:grid}.view-area{display:flex;width:calc(240px * var(--sf, 1));height:100%;align-items:center;justify-content:center;font-family:var(--typeface-regular);font-size:calc(var(--type-size-default) * var(--05));color:color-mix(in srgb,var(--tuned-red) 25%,transparent);background-color:color-mix(in srgb,var(--accent-color) 25%,transparent);opacity:1}:host([mode="portfolio"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="portfolio"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="portfolio"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="portfolio"]) .view-area:nth-of-type(4){border-color:var(--apple-green)}:host([mode="portfolio"]) .view-area:nth-of-type(5){border-color:var(--pink)}:host([mode="portfolio"]) .view-area:nth-of-type(6){border-color:var(--orange)}:host([mode="portfolio"]) .view-area:nth-of-type(7){border-color:var(--zenith-blue)}:host([mode="company"]) .view-area:nth-of-type(1){border-color:var(--tuned-red)}:host([mode="company"]) .view-area:nth-of-type(2){border-color:var(--sharp-blue)}:host([mode="company"]) .view-area:nth-of-type(3){border-color:var(--yellow)}:host([mode="app"]) .view-area:nth-of-type(1){background-color:color-mix(in srgb,var(--tuned-red) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(2){background-color:color-mix(in srgb,var(--sharp-blue) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(3){background-color:color-mix(in srgb,var(--yellow) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(4){background-color:color-mix(in srgb,var(--apple-green) 25%,transparent)}:host([mode="app"]) .view-area:nth-of-type(5){background-color:color-mix(in srgb,var(--pink) 25%,transparent)}.view-square{grid-area:square}.view-title{grid-area:title}.view-header{grid-area:header}.view-projects{grid-area:projects}.view-bio{grid-area:bio}.view-nav{grid-area:nav}.view-footer{grid-area:footer}.view-content{grid-area:content}.view-banner{grid-area:banner}.view-main{grid-area:main}.view-page-dots{grid-area:page-dots}', xe = class xe extends f {
2996
3063
  constructor() {
2997
3064
  super(...arguments), this.mode = "portfolio";
2998
3065
  }
@@ -3144,7 +3211,7 @@ xe.properties = {
3144
3211
  align: { type: String },
3145
3212
  view: { type: Boolean }
3146
3213
  }, xe.styles = [
3147
- x(Ha),
3214
+ x(Va),
3148
3215
  lt`
3149
3216
  :host {
3150
3217
  display: grid;
@@ -3904,12 +3971,12 @@ export {
3904
3971
  Oe as Card,
3905
3972
  Xe as Container,
3906
3973
  Re as Cycle,
3907
- je as DateComponent,
3974
+ Ue as DateComponent,
3908
3975
  Ye as DsTable,
3909
3976
  Ge as Form,
3910
- Ue as Gap,
3977
+ je as Gap,
3911
3978
  Qe as Grid,
3912
- Be as Icon,
3979
+ Pe as Icon,
3913
3980
  qe as Input,
3914
3981
  et as Layout,
3915
3982
  Je as List,
@@ -3918,28 +3985,28 @@ export {
3918
3985
  We as Tooltip,
3919
3986
  Ia as applike,
3920
3987
  Rr as calculateScalingFactor,
3921
- L as currentLanguage,
3922
- X as currentTheme,
3988
+ C as currentLanguage,
3989
+ Q as currentTheme,
3923
3990
  nt as detectMobileDevice,
3924
- Pa as getAvailableLanguages,
3925
- Ht as getAvailableLanguagesSync,
3991
+ Ba as getAvailableLanguages,
3992
+ Vt as getAvailableLanguagesSync,
3926
3993
  Xr as getBrowserLanguage,
3927
3994
  Dr as getDeviceInfo,
3928
3995
  Yr as getLanguageDisplayName,
3929
3996
  Da as getPriceLabel,
3930
3997
  Na as getScalingFactor,
3931
- ne as getText,
3998
+ q as getText,
3932
3999
  Oa as hasTranslation,
3933
- ae as initDeviceDetection,
3934
- Ba as loadTranslations,
4000
+ ie as initDeviceDetection,
4001
+ Pa as loadTranslations,
3935
4002
  N as savePreferences,
3936
4003
  Za as scale,
3937
- Y as scalingConfig,
3938
- P as scalingFactor,
4004
+ X as scalingConfig,
4005
+ B as scalingFactor,
3939
4006
  Mt as setLanguage,
3940
4007
  Ta as setScalingConfig,
3941
4008
  ta as setTheme,
3942
- U as translate,
4009
+ j as translate,
3943
4010
  za as unscale,
3944
4011
  Kt as updateScalingFactor
3945
4012
  };