ds-one 0.3.0-alpha.3 → 0.3.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- var or = Object.defineProperty, nr = (t, e, r) => e in t ? or(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, $e = (t, e, r) => (nr(t, typeof e != "symbol" ? e + "" : e, r), r), sr = (t, e, r) => {
1
+ var nr = Object.defineProperty, or = (t, e, r) => e in t ? nr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, $e = (t, e, r) => (or(t, typeof e != "symbol" ? e + "" : e, r), r), sr = (t, e, r) => {
2
2
  if (!e.has(t))
3
3
  throw TypeError("Cannot " + r);
4
4
  }, _e = (t, e) => {
@@ -9,7 +9,7 @@ var or = Object.defineProperty, nr = (t, e, r) => e in t ? or(t, e, { enumerable
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);
12
- }, ft = (t, e, r) => (sr(t, e, "access private method"), r);
12
+ }, vt = (t, e, r) => (sr(t, e, "access private method"), r);
13
13
  /**
14
14
  * @license
15
15
  * Copyright Google LLC All Rights Reserved.
@@ -17,7 +17,7 @@ var or = Object.defineProperty, nr = (t, e, r) => e in t ? or(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, ae = 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
+ ae++;
79
79
  }
80
- function Bt(t) {
81
- if (!(!t.dirty && t.lastCleanEpoch === ie)) {
82
- if (!t.producerMustRecompute(t) && !fr(t)) {
83
- t.dirty = !1, t.lastCleanEpoch = ie;
80
+ function Pt(t) {
81
+ if (!(!t.dirty && t.lastCleanEpoch === ae)) {
82
+ if (!t.producerMustRecompute(t) && !vr(t)) {
83
+ t.dirty = !1, t.lastCleanEpoch = ae;
84
84
  return;
85
85
  }
86
- t.producerRecomputeValue(t), t.dirty = !1, t.lastCleanEpoch = ie;
86
+ t.producerRecomputeValue(t), t.dirty = !1, t.lastCleanEpoch = ae;
87
87
  }
88
88
  }
89
89
  function Dt(t) {
@@ -117,21 +117,21 @@ function gr(t, e) {
117
117
  t.producerNode.pop(), t.producerLastReadVersion.pop(), t.producerIndexOfThis.pop();
118
118
  }
119
119
  }
120
- function fr(t) {
120
+ function vr(t) {
121
121
  I(t);
122
122
  for (let e = 0; e < t.producerNode.length; e++) {
123
- const r = t.producerNode[e], a = t.producerLastReadVersion[e];
124
- if (a !== r.version || (Bt(r), a !== r.version))
123
+ const r = t.producerNode[e], i = t.producerLastReadVersion[e];
124
+ if (i !== r.version || (Pt(r), i !== r.version))
125
125
  return !0;
126
126
  }
127
127
  return !1;
128
128
  }
129
129
  function Rt(t, e, r) {
130
- var a;
130
+ var i;
131
131
  if (rt(t), I(t), t.liveConsumerNode.length === 0) {
132
- (a = t.watched) == null || a.call(t.wrapper);
133
- for (let i = 0; i < t.producerNode.length; i++)
134
- t.producerIndexOfThis[i] = Rt(t.producerNode[i], t, i);
132
+ (i = t.watched) == null || i.call(t.wrapper);
133
+ for (let a = 0; a < t.producerNode.length; a++)
134
+ t.producerIndexOfThis[a] = Rt(t.producerNode[a], t, a);
135
135
  }
136
136
  return t.liveConsumerIndexOfThis.push(r), t.liveConsumerNode.push(e) - 1;
137
137
  }
@@ -143,13 +143,13 @@ function Le(t, e) {
143
143
  );
144
144
  if (t.liveConsumerNode.length === 1) {
145
145
  (r = t.unwatched) == null || r.call(t.wrapper);
146
- for (let i = 0; i < t.producerNode.length; i++)
147
- Le(t.producerNode[i], t.producerIndexOfThis[i]);
146
+ for (let a = 0; a < t.producerNode.length; a++)
147
+ Le(t.producerNode[a], t.producerIndexOfThis[a]);
148
148
  }
149
- const a = t.liveConsumerNode.length - 1;
150
- if (t.liveConsumerNode[e] = t.liveConsumerNode[a], t.liveConsumerIndexOfThis[e] = t.liveConsumerIndexOfThis[a], t.liveConsumerNode.length--, t.liveConsumerIndexOfThis.length--, e < t.liveConsumerNode.length) {
151
- const i = t.liveConsumerIndexOfThis[e], o = t.liveConsumerNode[e];
152
- I(o), o.producerIndexOfThis[i] = e;
149
+ const i = t.liveConsumerNode.length - 1;
150
+ if (t.liveConsumerNode[e] = t.liveConsumerNode[i], t.liveConsumerIndexOfThis[e] = t.liveConsumerIndexOfThis[i], t.liveConsumerNode.length--, t.liveConsumerIndexOfThis.length--, e < t.liveConsumerNode.length) {
151
+ const a = t.liveConsumerIndexOfThis[e], n = t.liveConsumerNode[e];
152
+ I(n), n.producerIndexOfThis[a] = e;
153
153
  }
154
154
  }
155
155
  function Me(t) {
@@ -170,11 +170,11 @@ function rt(t) {
170
170
  * found in the LICENSE file at https://angular.io/license
171
171
  */
172
172
  function jt(t) {
173
- if (Bt(t), Ce(t), t.value === Te)
173
+ if (Pt(t), Ce(t), t.value === Te)
174
174
  throw t.error;
175
175
  return t.value;
176
176
  }
177
- function vr(t) {
177
+ function fr(t) {
178
178
  const e = Object.create(mr);
179
179
  e.computation = t;
180
180
  const r = () => jt(e);
@@ -185,7 +185,7 @@ const Ae = /* @__PURE__ */ Symbol("UNSET"), Se = /* @__PURE__ */ Symbol("COMPUTI
185
185
  value: Ae,
186
186
  dirty: !0,
187
187
  error: null,
188
- equal: Pt,
188
+ equal: Bt,
189
189
  producerMustRecompute(t) {
190
190
  return t.value === Ae || t.value === Se;
191
191
  },
@@ -195,19 +195,19 @@ const Ae = /* @__PURE__ */ Symbol("UNSET"), Se = /* @__PURE__ */ Symbol("COMPUTI
195
195
  const e = t.value;
196
196
  t.value = Se;
197
197
  const r = pr(t);
198
- let a, i = !1;
198
+ let i, a = !1;
199
199
  try {
200
- a = t.computation.call(t.wrapper), i = e !== Ae && e !== Te && t.equal.call(t.wrapper, e, a);
201
- } catch (o) {
202
- a = Te, t.error = o;
200
+ i = t.computation.call(t.wrapper), a = e !== Ae && e !== Te && t.equal.call(t.wrapper, e, i);
201
+ } catch (n) {
202
+ i = Te, t.error = n;
203
203
  } finally {
204
204
  gr(t, r);
205
205
  }
206
- if (i) {
206
+ if (a) {
207
207
  t.value = e;
208
208
  return;
209
209
  }
210
- t.value = a, t.version++;
210
+ t.value = i, t.version++;
211
211
  }
212
212
  };
213
213
  /**
@@ -220,9 +220,9 @@ const Ae = /* @__PURE__ */ Symbol("UNSET"), Se = /* @__PURE__ */ Symbol("COMPUTI
220
220
  function wr() {
221
221
  throw new Error();
222
222
  }
223
- let br = wr;
224
- function yr() {
225
- br();
223
+ let yr = wr;
224
+ function br() {
225
+ yr();
226
226
  }
227
227
  /**
228
228
  * @license
@@ -241,11 +241,11 @@ function Cr() {
241
241
  return Ce(this), this.value;
242
242
  }
243
243
  function Lr(t, e) {
244
- hr() || yr(), t.equal.call(t.wrapper, t.value, e) || (t.value = e, kr(t));
244
+ hr() || br(), t.equal.call(t.wrapper, t.value, e) || (t.value = e, kr(t));
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) {
@@ -267,54 +267,54 @@ function kr(t) {
267
267
  * See the License for the specific language governing permissions and
268
268
  * limitations under the License.
269
269
  */
270
- const y = Symbol("node");
270
+ const b = Symbol("node");
271
271
  var F;
272
272
  ((t) => {
273
- var e, r, a, i;
274
- class o {
273
+ var e, r, i, a;
274
+ class n {
275
275
  constructor(d, u = {}) {
276
276
  re(this, r), $e(this, e);
277
277
  const c = xr(d)[se];
278
- if (this[y] = c, c.wrapper = this, u) {
279
- const b = u.equals;
280
- b && (c.equal = b), c.watched = u[t.subtle.watched], c.unwatched = u[t.subtle.unwatched];
278
+ if (this[b] = c, c.wrapper = this, u) {
279
+ const y = u.equals;
280
+ y && (c.equal = y), c.watched = u[t.subtle.watched], c.unwatched = u[t.subtle.unwatched];
281
281
  }
282
282
  }
283
283
  get() {
284
284
  if (!(0, t.isState)(this))
285
285
  throw new TypeError("Wrong receiver type for Signal.State.prototype.get");
286
- return Cr.call(this[y]);
286
+ return Cr.call(this[b]);
287
287
  }
288
288
  set(d) {
289
289
  if (!(0, t.isState)(this))
290
290
  throw new TypeError("Wrong receiver type for Signal.State.prototype.set");
291
291
  if (dr())
292
292
  throw new Error("Writes to signals not permitted during Watcher callback");
293
- const u = this[y];
293
+ const u = this[b];
294
294
  Lr(u, d);
295
295
  }
296
296
  }
297
- e = y, r = /* @__PURE__ */ new WeakSet(), t.isState = (s) => typeof s == "object" && _e(r, s), t.State = o;
298
- class n {
297
+ e = b, r = /* @__PURE__ */ new WeakSet(), t.isState = (s) => typeof s == "object" && _e(r, s), t.State = n;
298
+ class o {
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);
303
- const c = vr(d)[se];
304
- if (c.consumerAllowSignalWrites = !0, this[y] = c, c.wrapper = this, u) {
305
- const b = u.equals;
306
- b && (c.equal = b), c.watched = u[t.subtle.watched], c.unwatched = u[t.subtle.unwatched];
302
+ re(this, a), $e(this, i);
303
+ const c = fr(d)[se];
304
+ if (c.consumerAllowSignalWrites = !0, this[b] = c, c.wrapper = this, u) {
305
+ const y = u.equals;
306
+ y && (c.equal = y), c.watched = u[t.subtle.watched], c.unwatched = u[t.subtle.unwatched];
307
307
  }
308
308
  }
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[y]);
312
+ return jt(this[b]);
313
313
  }
314
314
  }
315
- a = y, i = /* @__PURE__ */ new WeakSet(), t.isComputed = (s) => typeof s == "object" && _e(i, s), t.Computed = n, ((s) => {
316
- var d, u, f, c;
317
- function b(g) {
315
+ i = b, a = /* @__PURE__ */ new WeakSet(), t.isComputed = (s) => typeof s == "object" && _e(a, s), t.Computed = o, ((s) => {
316
+ var d, u, v, c;
317
+ function y(g) {
318
318
  let p, h = null;
319
319
  try {
320
320
  h = z(null), p = g();
@@ -323,32 +323,32 @@ var F;
323
323
  }
324
324
  return p;
325
325
  }
326
- s.untrack = b;
326
+ s.untrack = y;
327
327
  function k(g) {
328
328
  var p;
329
329
  if (!(0, t.isComputed)(g) && !(0, t.isWatcher)(g))
330
330
  throw new TypeError("Called introspectSources without a Computed or Watcher argument");
331
- return ((p = g[y].producerNode) == null ? void 0 : p.map((h) => h.wrapper)) ?? [];
331
+ return ((p = g[b].producerNode) == null ? void 0 : p.map((h) => h.wrapper)) ?? [];
332
332
  }
333
333
  s.introspectSources = k;
334
334
  function T(g) {
335
335
  var p;
336
336
  if (!(0, t.isComputed)(g) && !(0, t.isState)(g))
337
337
  throw new TypeError("Called introspectSinks without a Signal argument");
338
- return ((p = g[y].liveConsumerNode) == null ? void 0 : p.map((h) => h.wrapper)) ?? [];
338
+ return ((p = g[b].liveConsumerNode) == null ? void 0 : p.map((h) => h.wrapper)) ?? [];
339
339
  }
340
340
  s.introspectSinks = T;
341
341
  function er(g) {
342
342
  if (!(0, t.isComputed)(g) && !(0, t.isState)(g))
343
343
  throw new TypeError("Called hasSinks without a Signal argument");
344
- const p = g[y].liveConsumerNode;
344
+ const p = g[b].liveConsumerNode;
345
345
  return p ? p.length > 0 : !1;
346
346
  }
347
347
  s.hasSinks = er;
348
348
  function tr(g) {
349
349
  if (!(0, t.isComputed)(g) && !(0, t.isWatcher)(g))
350
350
  throw new TypeError("Called hasSources without a Computed or Watcher argument");
351
- const p = g[y].producerNode;
351
+ const p = g[b].producerNode;
352
352
  return p ? p.length > 0 : !1;
353
353
  }
354
354
  s.hasSources = tr;
@@ -357,9 +357,9 @@ 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, f), $e(this, d);
360
+ re(this, u), re(this, v), $e(this, d);
361
361
  let h = Object.create(tt);
362
- h.wrapper = this, h.consumerMarkedDirty = p, h.consumerIsAlwaysLive = !0, h.consumerAllowSignalWrites = !1, h.producerNode = [], this[y] = h;
362
+ h.wrapper = this, h.consumerMarkedDirty = p, h.consumerIsAlwaysLive = !0, h.consumerAllowSignalWrites = !1, h.producerNode = [], this[b] = h;
363
363
  }
364
364
  // Add these signals to the Watcher's set, and set the watcher to run its
365
365
  // notify callback next time any signal in the set (or one of its dependencies) changes.
@@ -368,28 +368,28 @@ var F;
368
368
  watch(...p) {
369
369
  if (!(0, t.isWatcher)(this))
370
370
  throw new TypeError("Called unwatch without Watcher receiver");
371
- ft(this, f, c).call(this, p);
372
- const h = this[y];
371
+ vt(this, v, c).call(this, p);
372
+ const h = this[b];
373
373
  h.dirty = !1;
374
374
  const C = z(h);
375
375
  for (const te of p)
376
- Ce(te[y]);
376
+ Ce(te[b]);
377
377
  z(C);
378
378
  }
379
379
  // Remove these signals from the watched set (e.g., for an effect which is disposed)
380
380
  unwatch(...p) {
381
381
  if (!(0, t.isWatcher)(this))
382
382
  throw new TypeError("Called unwatch without Watcher receiver");
383
- ft(this, f, c).call(this, p);
384
- const h = this[y];
383
+ vt(this, v, c).call(this, p);
384
+ const h = this[b];
385
385
  I(h);
386
386
  for (let C = h.producerNode.length - 1; C >= 0; C--)
387
387
  if (p.includes(h.producerNode[C].wrapper)) {
388
388
  Le(h.producerNode[C], h.producerIndexOfThis[C]);
389
389
  const te = h.producerNode.length - 1;
390
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;
391
+ const ar = h.producerIndexOfThis[C], gt = h.producerNode[C];
392
+ rt(gt), gt.liveConsumerIndexOfThis[ar] = C;
393
393
  }
394
394
  }
395
395
  }
@@ -398,19 +398,19 @@ var F;
398
398
  getPending() {
399
399
  if (!(0, t.isWatcher)(this))
400
400
  throw new TypeError("Called getPending without Watcher receiver");
401
- return this[y].producerNode.filter((h) => h.dirty).map((h) => h.wrapper);
401
+ return this[b].producerNode.filter((h) => h.dirty).map((h) => h.wrapper);
402
402
  }
403
403
  }
404
- d = y, u = /* @__PURE__ */ new WeakSet(), f = /* @__PURE__ */ new WeakSet(), c = function(g) {
404
+ d = b, u = /* @__PURE__ */ new WeakSet(), v = /* @__PURE__ */ new WeakSet(), c = function(g) {
405
405
  for (const p of g)
406
406
  if (!(0, t.isComputed)(p) && !(0, t.isState)(p))
407
407
  throw new TypeError("Called watch/unwatch without a Computed or State argument");
408
408
  }, t.isWatcher = (g) => _e(u, g), s.Watcher = rr;
409
- function ar() {
409
+ function ir() {
410
410
  var g;
411
411
  return (g = lr()) == null ? void 0 : g.wrapper;
412
412
  }
413
- s.currentComputed = ar, s.watched = Symbol("watched"), s.unwatched = Symbol("unwatched");
413
+ s.currentComputed = ir, s.watched = Symbol("watched"), s.unwatched = Symbol("unwatched");
414
414
  })(t.subtle || (t.subtle = {}));
415
415
  })(F || (F = {}));
416
416
  /**
@@ -433,8 +433,8 @@ let Ar = class {
433
433
  get _$AU() {
434
434
  return this._$AM._$AU;
435
435
  }
436
- _$AT(e, r, a) {
437
- this._$Ct = e, this._$AM = r, this._$Ci = a;
436
+ _$AT(e, r, i) {
437
+ this._$Ct = e, this._$AM = r, this._$Ci = i;
438
438
  }
439
439
  _$AS(e, r) {
440
440
  return this.update(e, r);
@@ -448,67 +448,67 @@ 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, vt = 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"), bt = /'/g, yt = /"/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 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}>`, V = document, K = () => V.createComment(""), G = (t) => t === null || typeof t != "object" && typeof t != "function", it = Array.isArray, Hr = (t) => it(t) || typeof t?.[Symbol.iterator] == "function", He = `[
452
+ \f\r]`, P = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, mt = /-->/g, wt = />/g, S = RegExp(`>|${He}(?:([^\\s"'>=/]+)(${He}*=${He}*(?:[^
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(), H = V.createTreeWalker(V, 129);
454
454
  function Ft(t, e) {
455
- if (!at(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
456
- return vt !== void 0 ? vt.createHTML(e) : e;
455
+ if (!it(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
456
+ return ft !== void 0 ? ft.createHTML(e) : e;
457
457
  }
458
458
  const Mr = (t, e) => {
459
- const r = t.length - 1, a = [];
460
- let i, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = B;
459
+ const r = t.length - 1, i = [];
460
+ let a, 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
- let u, f, c = -1, b = 0;
464
- for (; b < d.length && (n.lastIndex = b, f = n.exec(d), f !== null); ) b = n.lastIndex, n === B ? f[1] === "!--" ? n = mt : f[1] !== void 0 ? n = wt : f[2] !== void 0 ? (Wt.test(f[2]) && (i = RegExp("</" + f[2], "g")), n = S) : f[3] !== void 0 && (n = S) : n === S ? f[0] === ">" ? (n = i ?? B, c = -1) : f[1] === void 0 ? c = -2 : (c = n.lastIndex - f[2].length, u = f[1], n = f[3] === void 0 ? S : f[3] === '"' ? yt : bt) : n === yt || n === bt ? n = S : n === mt || n === wt ? n = B : (n = S, i = void 0);
465
- const k = n === S && t[s + 1].startsWith("/>") ? " " : "";
466
- o += n === B ? d + Sr : c >= 0 ? (a.push(u), d.slice(0, c) + Ut + d.slice(c) + $ + k) : d + $ + (c === -2 ? s : k);
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 === P ? v[1] === "!--" ? o = mt : v[1] !== void 0 ? o = wt : v[2] !== void 0 ? (Wt.test(v[2]) && (a = RegExp("</" + v[2], "g")), o = S) : v[3] !== void 0 && (o = S) : o === S ? v[0] === ">" ? (o = a ?? P, 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 = P : (o = S, a = void 0);
465
+ const k = o === S && t[s + 1].startsWith("/>") ? " " : "";
466
+ n += o === P ? d + Sr : c >= 0 ? (i.push(u), d.slice(0, c) + Ut + d.slice(c) + $ + k) : d + $ + (c === -2 ? s : k);
467
467
  }
468
- return [Ft(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), a];
468
+ return [Ft(t, n + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
469
469
  };
470
470
  class J {
471
- constructor({ strings: e, _$litType$: r }, a) {
472
- let i;
471
+ constructor({ strings: e, _$litType$: r }, i) {
472
+ let a;
473
473
  this.parts = [];
474
- let o = 0, n = 0;
475
- const s = e.length - 1, d = this.parts, [u, f] = Mr(e, r);
476
- if (this.el = J.createElement(u, a), V.currentNode = this.el.content, r === 2 || r === 3) {
474
+ let n = 0, o = 0;
475
+ const s = e.length - 1, d = this.parts, [u, v] = Mr(e, r);
476
+ if (this.el = J.createElement(u, i), H.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; ) {
481
- if (i.nodeType === 1) {
482
- if (i.hasAttributes()) for (const c of i.getAttributeNames()) if (c.endsWith(Ut)) {
483
- const b = f[n++], k = i.getAttribute(c).split($), T = /([.?@])?(.*)/.exec(b);
484
- d.push({ type: 1, index: o, name: T[2], strings: k, ctor: T[1] === "." ? Nr : T[1] === "?" ? Zr : T[1] === "@" ? zr : Ee }), i.removeAttribute(c);
485
- } else c.startsWith($) && (d.push({ type: 6, index: o }), i.removeAttribute(c));
486
- if (Wt.test(i.tagName)) {
487
- const c = i.textContent.split($), b = c.length - 1;
488
- if (b > 0) {
489
- i.textContent = le ? le.emptyScript : "";
490
- for (let k = 0; k < b; k++) i.append(c[k], K()), V.nextNode(), d.push({ type: 2, index: ++o });
491
- i.append(c[b], K());
480
+ for (; (a = H.nextNode()) !== null && d.length < s; ) {
481
+ if (a.nodeType === 1) {
482
+ if (a.hasAttributes()) for (const c of a.getAttributeNames()) if (c.endsWith(Ut)) {
483
+ const y = v[o++], k = a.getAttribute(c).split($), T = /([.?@])?(.*)/.exec(y);
484
+ d.push({ type: 1, index: n, name: T[2], strings: k, ctor: T[1] === "." ? Nr : T[1] === "?" ? Zr : T[1] === "@" ? zr : Ee }), a.removeAttribute(c);
485
+ } else c.startsWith($) && (d.push({ type: 6, index: n }), a.removeAttribute(c));
486
+ if (Wt.test(a.tagName)) {
487
+ const c = a.textContent.split($), y = c.length - 1;
488
+ if (y > 0) {
489
+ a.textContent = le ? le.emptyScript : "";
490
+ for (let k = 0; k < y; k++) a.append(c[k], K()), H.nextNode(), d.push({ type: 2, index: ++n });
491
+ a.append(c[y], K());
492
492
  }
493
493
  }
494
- } else if (i.nodeType === 8) if (i.data === qt) d.push({ type: 2, index: o });
494
+ } else if (a.nodeType === 8) if (a.data === qt) d.push({ type: 2, index: n });
495
495
  else {
496
496
  let c = -1;
497
- for (; (c = i.data.indexOf($, c + 1)) !== -1; ) d.push({ type: 7, index: o }), c += $.length - 1;
497
+ for (; (c = a.data.indexOf($, c + 1)) !== -1; ) d.push({ type: 7, index: n }), c += $.length - 1;
498
498
  }
499
- o++;
499
+ n++;
500
500
  }
501
501
  }
502
502
  static createElement(e, r) {
503
- const a = H.createElement("template");
504
- return a.innerHTML = e, a;
503
+ const i = V.createElement("template");
504
+ return i.innerHTML = e, i;
505
505
  }
506
506
  }
507
- function O(t, e, r = t, a) {
507
+ function O(t, e, r = t, i) {
508
508
  if (e === M) return e;
509
- let i = a !== void 0 ? r._$Co?.[a] : r._$Cl;
510
- const o = G(e) ? void 0 : e._$litDirective$;
511
- return i?.constructor !== o && (i?._$AO?.(!1), o === void 0 ? i = void 0 : (i = new o(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;
509
+ let a = i !== void 0 ? r._$Co?.[i] : r._$Cl;
510
+ const n = G(e) ? void 0 : e._$litDirective$;
511
+ return a?.constructor !== n && (a?._$AO?.(!1), n === void 0 ? a = void 0 : (a = new n(t), a._$AT(t, r, i)), i !== void 0 ? (r._$Co ?? (r._$Co = []))[i] = a : r._$Cl = a), a !== void 0 && (e = O(t, a._$AS(t, e.values), a, i)), e;
512
512
  }
513
513
  class Tr {
514
514
  constructor(e, r) {
@@ -521,29 +521,29 @@ 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 o = V.nextNode(), n = 0, s = 0, d = a[0];
524
+ const { el: { content: r }, parts: i } = this._$AD, a = (e?.creationScope ?? V).importNode(r, !0);
525
+ H.currentNode = a;
526
+ let n = H.nextNode(), o = 0, s = 0, d = i[0];
527
527
  for (; d !== void 0; ) {
528
- if (n === d.index) {
528
+ if (o === d.index) {
529
529
  let u;
530
- d.type === 2 ? u = new Q(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new Ir(o, this, e)), this._$AV.push(u), d = a[++s];
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 = i[++s];
531
531
  }
532
- n !== d?.index && (o = V.nextNode(), n++);
532
+ o !== d?.index && (n = H.nextNode(), o++);
533
533
  }
534
- return V.currentNode = H, i;
534
+ return H.currentNode = V, a;
535
535
  }
536
536
  p(e) {
537
537
  let r = 0;
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++;
538
+ for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, r), r += i.strings.length - 2) : i._$AI(e[r])), r++;
539
539
  }
540
540
  }
541
541
  class Q {
542
542
  get _$AU() {
543
543
  return this._$AM?._$AU ?? this._$Cv;
544
544
  }
545
- constructor(e, r, a, i) {
546
- this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = a, this.options = i, this._$Cv = i?.isConnected ?? !0;
545
+ constructor(e, r, i, a) {
546
+ this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = i, this.options = a, this._$Cv = a?.isConnected ?? !0;
547
547
  }
548
548
  get parentNode() {
549
549
  let e = this._$AA.parentNode;
@@ -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), 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) : Hr(e) ? this.k(e) : this._(e);
561
561
  }
562
562
  O(e) {
563
563
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -566,14 +566,14 @@ 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 && G(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);
573
- if (this._$AH?._$AD === i) this._$AH.p(r);
572
+ const { values: r, _$litType$: i } = e, a = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = J.createElement(Ft(i.h, i.h[0]), this.options)), i);
573
+ if (this._$AH?._$AD === a) this._$AH.p(r);
574
574
  else {
575
- const o = new Tr(i, this), n = o.u(this.options);
576
- o.p(r), this.T(n), this._$AH = o;
575
+ const n = new Tr(a, this), o = n.u(this.options);
576
+ n.p(r), this.T(o), this._$AH = n;
577
577
  }
578
578
  }
579
579
  _$AC(e) {
@@ -581,16 +581,16 @@ class Q {
581
581
  return r === void 0 && xt.set(e.strings, r = new J(e)), r;
582
582
  }
583
583
  k(e) {
584
- at(this._$AH) || (this._$AH = [], this._$AR());
584
+ it(this._$AH) || (this._$AH = [], this._$AR());
585
585
  const r = this._$AH;
586
- let a, i = 0;
587
- for (const o of e) i === r.length ? r.push(a = new Q(this.O(K()), this.O(K()), this, this.options)) : a = r[i], a._$AI(o), i++;
588
- i < r.length && (this._$AR(a && a._$AB.nextSibling, i), r.length = i);
586
+ let i, a = 0;
587
+ for (const n of e) a === r.length ? r.push(i = new Q(this.O(K()), this.O(K()), this, this.options)) : i = r[a], i._$AI(n), a++;
588
+ a < r.length && (this._$AR(i && i._$AB.nextSibling, a), r.length = a);
589
589
  }
590
590
  _$AR(e = this._$AA.nextSibling, r) {
591
591
  for (this._$AP?.(!1, !0, r); e !== this._$AB; ) {
592
- const a = e.nextSibling;
593
- e.remove(), e = a;
592
+ const i = e.nextSibling;
593
+ e.remove(), e = i;
594
594
  }
595
595
  }
596
596
  setConnected(e) {
@@ -604,19 +604,19 @@ class Ee {
604
604
  get _$AU() {
605
605
  return this._$AM._$AU;
606
606
  }
607
- constructor(e, r, a, i, o) {
608
- this.type = 1, this._$AH = w, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = o, a.length > 2 || a[0] !== "" || a[1] !== "" ? (this._$AH = Array(a.length - 1).fill(new String()), this.strings = a) : this._$AH = w;
607
+ constructor(e, r, i, a, n) {
608
+ this.type = 1, this._$AH = w, this._$AN = void 0, this.element = e, this.name = r, this._$AM = a, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = w;
609
609
  }
610
- _$AI(e, r = this, a, i) {
611
- const o = this.strings;
612
- let n = !1;
613
- if (o === void 0) e = O(this, e, r, 0), n = !G(e) || e !== this._$AH && e !== M, n && (this._$AH = e);
610
+ _$AI(e, r = this, i, a) {
611
+ const n = this.strings;
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);
614
614
  else {
615
615
  const s = e;
616
616
  let d, u;
617
- for (e = o[0], d = 0; d < o.length - 1; d++) u = O(this, s[a + d], r, d), u === M && (u = this._$AH[d]), n || (n = !G(u) || u !== this._$AH[d]), u === w ? e = w : e !== w && (e += (u ?? "") + o[d + 1]), this._$AH[d] = u;
617
+ for (e = n[0], d = 0; d < n.length - 1; d++) u = O(this, s[i + 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;
618
618
  }
619
- n && !i && this.j(e);
619
+ o && !a && this.j(e);
620
620
  }
621
621
  j(e) {
622
622
  e === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
@@ -639,21 +639,21 @@ class Zr extends Ee {
639
639
  }
640
640
  }
641
641
  class zr extends Ee {
642
- constructor(e, r, a, i, o) {
643
- super(e, r, a, i, o), this.type = 5;
642
+ constructor(e, r, i, a, n) {
643
+ super(e, r, i, a, n), this.type = 5;
644
644
  }
645
645
  _$AI(e, r = this) {
646
646
  if ((e = O(this, e, r, 0) ?? w) === M) return;
647
- const a = this._$AH, i = e === w && a !== w || e.capture !== a.capture || e.once !== a.once || e.passive !== a.passive, o = e !== w && (a === w || i);
648
- i && this.element.removeEventListener(this.name, this, a), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
647
+ const i = this._$AH, a = e === w && i !== w || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, n = e !== w && (i === w || a);
648
+ a && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
649
649
  }
650
650
  handleEvent(e) {
651
651
  typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
652
652
  }
653
653
  }
654
654
  class Ir {
655
- constructor(e, r, a) {
656
- this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = a;
655
+ constructor(e, r, i) {
656
+ this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = i;
657
657
  }
658
658
  get _$AU() {
659
659
  return this._$AM._$AU;
@@ -664,14 +664,14 @@ class Ir {
664
664
  }
665
665
  const Or = j.litHtmlPolyfillSupport;
666
666
  Or?.(J, Q), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.3.1");
667
- const Pr = (t, e, r) => {
668
- const a = r?.renderBefore ?? e;
669
- let i = a._$litPart$;
670
- if (i === void 0) {
671
- const o = r?.renderBefore ?? null;
672
- a._$litPart$ = i = new Q(e.insertBefore(K(), o), o, void 0, r ?? {});
673
- }
674
- return i._$AI(t), i;
667
+ const Br = (t, e, r) => {
668
+ const i = r?.renderBefore ?? e;
669
+ let a = i._$litPart$;
670
+ if (a === void 0) {
671
+ const n = r?.renderBefore ?? null;
672
+ i._$litPart$ = a = new Q(e.insertBefore(K(), n), n, void 0, r ?? {});
673
+ }
674
+ return a._$AI(t), a;
675
675
  };
676
676
  /**
677
677
  * @license
@@ -680,80 +680,80 @@ const Pr = (t, e, r) => {
680
680
  */
681
681
  F.State;
682
682
  F.Computed;
683
- const it = (t, e) => new F.State(t, e), Br = {
683
+ const at = (t, e) => new F.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);
689
- function ot() {
688
+ }, B = at(1), Y = at(Pr);
689
+ function nt() {
690
690
  if (typeof navigator > "u" || typeof window > "u")
691
691
  return !1;
692
- const t = navigator, e = window, r = t && (t.userAgent || t.vendor) || e && e.opera || "", a = /Mobile|Android|iP(ad|hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)|Windows Phone|Phone|Tablet/i.test(
692
+ const t = navigator, e = window, r = t && (t.userAgent || t.vendor) || e && e.opera || "", i = /Mobile|Android|iP(ad|hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)|Windows Phone|Phone|Tablet/i.test(
693
693
  r
694
- ), o = (t && t.maxTouchPoints || 0) > 1, n = e ? Math.min(e.innerWidth || 0, e.innerHeight || 0) <= 820 : !1;
695
- return a || o && n;
694
+ ), n = (t && t.maxTouchPoints || 0) > 1, o = e ? Math.min(e.innerWidth || 0, e.innerHeight || 0) <= 820 : !1;
695
+ return i || n && o;
696
696
  }
697
697
  function Dr() {
698
- const t = ot(), e = navigator, r = window, i = (e && e.maxTouchPoints || 0) > 1, o = typeof document < "u" ? document.documentElement.clientWidth : r?.innerWidth || 0, n = typeof document < "u" ? document.documentElement.clientHeight : r?.innerHeight || 0, s = t && Math.min(o, n) >= 600;
698
+ const t = nt(), e = navigator, r = window, a = (e && e.maxTouchPoints || 0) > 1, n = typeof document < "u" ? document.documentElement.clientWidth : r?.innerWidth || 0, o = typeof document < "u" ? document.documentElement.clientHeight : r?.innerHeight || 0, s = t && Math.min(n, o) >= 600;
699
699
  return {
700
700
  isMobile: t,
701
701
  isTablet: s,
702
702
  isDesktop: !t,
703
- isTouchCapable: i,
703
+ isTouchCapable: a,
704
704
  deviceType: t ? s ? "tablet" : "mobile" : "desktop",
705
705
  userAgent: e && (e.userAgent || e.vendor) || "",
706
- screenWidth: o,
707
- screenHeight: n
706
+ screenWidth: n,
707
+ screenHeight: o
708
708
  };
709
709
  }
710
710
  function Rr(t, e = Y.get()) {
711
711
  if (e.mode === "fixed")
712
712
  return 1;
713
- const r = t / e.baseWidth, a = Math.max(
713
+ const r = t / e.baseWidth, i = Math.max(
714
714
  e.minScale,
715
715
  Math.min(e.maxScale, r)
716
716
  );
717
- return Number(a.toFixed(3));
717
+ return Number(i.toFixed(3));
718
718
  }
719
- function Ta(t) {
719
+ function Ti(t) {
720
720
  const r = { ...Y.get(), ...t };
721
721
  Y.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
- if (!ot()) {
727
- P.set(1), document.documentElement.style.setProperty("--sf", "1"), window.dispatchEvent(
726
+ if (!nt()) {
727
+ B.set(1), document.documentElement.style.setProperty("--sf", "1"), window.dispatchEvent(
728
728
  new CustomEvent("scaling-changed", {
729
729
  detail: { scalingFactor: 1, config: Y.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 = Y.get(), i = Rr(e, r);
735
+ B.set(i), document.documentElement.style.setProperty("--sf", i.toString()), window.dispatchEvent(
736
736
  new CustomEvent("scaling-changed", {
737
- detail: { scalingFactor: a, config: r }
737
+ detail: { scalingFactor: i, config: r }
738
738
  })
739
739
  );
740
740
  }
741
- function Na() {
742
- return P.get();
741
+ function Ni() {
742
+ return B.get();
743
743
  }
744
- function Za(t) {
745
- return t * P.get();
744
+ function Zi(t) {
745
+ return t * B.get();
746
746
  }
747
- function za(t) {
748
- const e = P.get();
747
+ function zi(t) {
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,18 +771,18 @@ 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
- function Ia() {
785
+ function Ii() {
786
786
  if (typeof document > "u" || typeof window > "u")
787
787
  return;
788
788
  let t = document.querySelector('meta[name="viewport"]');
@@ -803,8 +803,8 @@ function Ia() {
803
803
  `;
804
804
  const r = document.getElementById("ds-one-applike-style");
805
805
  r && r.remove(), document.head.appendChild(e);
806
- let a = 0, i = 0;
807
- const o = (s) => {
806
+ let i = 0, a = 0;
807
+ const n = (s) => {
808
808
  if (s instanceof TouchEvent) {
809
809
  if (s.touches.length > 1) {
810
810
  s.preventDefault(), s.stopPropagation();
@@ -812,17 +812,17 @@ function Ia() {
812
812
  }
813
813
  const d = Date.now();
814
814
  if (s.type === "touchstart") {
815
- if (d - a < 300) {
815
+ if (d - i < 300) {
816
816
  s.preventDefault(), s.stopPropagation();
817
817
  return;
818
818
  }
819
- i = d;
819
+ a = d;
820
820
  } else if (s.type === "touchend") {
821
- if (d - i < 300 && d - a < 300) {
821
+ if (d - a < 300 && d - i < 300) {
822
822
  s.preventDefault(), s.stopPropagation();
823
823
  return;
824
824
  }
825
- a = d;
825
+ i = d;
826
826
  } else if (s.type === "touchmove" && s.touches.length > 1) {
827
827
  s.preventDefault(), s.stopPropagation();
828
828
  return;
@@ -832,25 +832,25 @@ function Ia() {
832
832
  s.preventDefault(), s.stopPropagation();
833
833
  return;
834
834
  }
835
- }, n = { passive: !1, capture: !0 };
836
- document.addEventListener("touchstart", o, n), document.addEventListener("touchmove", o, n), document.addEventListener("touchend", o, n), document.addEventListener("touchcancel", o, n), document.addEventListener("wheel", o, n), document.addEventListener(
835
+ }, o = { passive: !1, capture: !0 };
836
+ document.addEventListener("touchstart", n, o), document.addEventListener("touchmove", n, o), document.addEventListener("touchend", n, o), document.addEventListener("touchcancel", n, o), document.addEventListener("wheel", n, o), document.addEventListener(
837
837
  "gesturestart",
838
838
  (s) => {
839
839
  s.preventDefault(), s.stopPropagation();
840
840
  },
841
- n
841
+ o
842
842
  ), document.addEventListener(
843
843
  "gesturechange",
844
844
  (s) => {
845
845
  s.preventDefault(), s.stopPropagation();
846
846
  },
847
- n
847
+ o
848
848
  ), document.addEventListener(
849
849
  "gestureend",
850
850
  (s) => {
851
851
  s.preventDefault(), s.stopPropagation();
852
852
  },
853
- n
853
+ o
854
854
  );
855
855
  }
856
856
  let jr = {};
@@ -914,14 +914,14 @@ function qr() {
914
914
  const r = document.querySelector('meta[name="ds-one:translations"]')?.getAttribute("content");
915
915
  if (r)
916
916
  return r;
917
- const a = document.querySelector('link[rel="ds-one-translations"]')?.getAttribute("href");
918
- return a || null;
917
+ const i = document.querySelector('link[rel="ds-one-translations"]')?.getAttribute("href");
918
+ return i || null;
919
919
  }
920
920
  function Wr() {
921
- const t = [], e = typeof window < "u" ? window.DS_ONE_TRANSLATIONS_FILE : null, r = qr(), a = $t(e ?? "");
922
- a && t.push(a);
923
- const i = $t(r ?? "");
924
- return i && !t.includes(i) && t.push(i), t.length === 0 && t.push(Jt), t;
921
+ const t = [], e = typeof window < "u" ? window.DS_ONE_TRANSLATIONS_FILE : null, r = qr(), i = $t(e ?? "");
922
+ i && t.push(i);
923
+ const a = $t(r ?? "");
924
+ return a && !t.includes(a) && t.push(a), t.length === 0 && t.push(Jt), t;
925
925
  }
926
926
  function Fr(t) {
927
927
  return !t || typeof t != "object" ? !1 : Object.values(t).every(
@@ -954,9 +954,9 @@ async function _t() {
954
954
  if (!r)
955
955
  continue;
956
956
  window.DS_ONE_TRANSLATIONS = r;
957
- const a = Object.keys(r);
957
+ const i = Object.keys(r);
958
958
  return console.log(
959
- `[DS one] External translations loaded from ${e}: ${a.length} language(s) – ${a.join(", ")}`
959
+ `[DS one] External translations loaded from ${e}: ${i.length} language(s) – ${i.join(", ")}`
960
960
  ), window.dispatchEvent(new CustomEvent("translations-ready")), !0;
961
961
  }
962
962
  return console.info(
@@ -977,24 +977,24 @@ function At(t) {
977
977
  }
978
978
  function Yt(t) {
979
979
  return [...t].sort((e, r) => {
980
- const a = At(e), i = At(r);
981
- return a !== i ? a - i : e.localeCompare(r);
980
+ const i = At(e), a = At(r);
981
+ return i !== a ? i - a : e.localeCompare(r);
982
982
  });
983
983
  }
984
984
  function Gr(t, e) {
985
985
  const r = t?.replace("_", "-");
986
986
  if (r)
987
987
  try {
988
- let a = Lt.get(r);
989
- a || (a = new Intl.DisplayNames([r], {
988
+ let i = Lt.get(r);
989
+ i || (i = new Intl.DisplayNames([r], {
990
990
  type: "language"
991
- }), Lt.set(r, a));
992
- const i = e.replace("_", "-"), o = a.of(i);
993
- if (o && o !== i)
994
- return o;
995
- const n = a.of(ee(i));
996
- if (n)
991
+ }), Lt.set(r, i));
992
+ const a = e.replace("_", "-"), n = i.of(a);
993
+ if (n && n !== a)
997
994
  return n;
995
+ const o = i.of(ee(a));
996
+ if (o)
997
+ return o;
998
998
  } catch {
999
999
  Et || (console.info(
1000
1000
  "[DS one] Intl.DisplayNames is not available, using fallback language names."
@@ -1005,28 +1005,28 @@ 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);
1009
- return Ct[a];
1008
+ const i = ee(e);
1009
+ return Ct[i];
1010
1010
  }
1011
1011
  function Yr(t, e = {}) {
1012
1012
  if (!t)
1013
1013
  return "";
1014
1014
  const r = [];
1015
1015
  e.locale && r.push(e.locale), typeof navigator < "u" && (Array.isArray(navigator.languages) && r.push(...navigator.languages), navigator.language && r.push(navigator.language)), r.push(E), r.push("en");
1016
- const a = /* @__PURE__ */ new Set();
1017
- for (const n of r) {
1018
- if (!n || a.has(n))
1016
+ const i = /* @__PURE__ */ new Set();
1017
+ for (const o of r) {
1018
+ if (!o || i.has(o))
1019
1019
  continue;
1020
- a.add(n);
1021
- const s = Gr(n, t);
1020
+ i.add(o);
1021
+ const s = Gr(o, t);
1022
1022
  if (s)
1023
1023
  return s;
1024
1024
  }
1025
- const i = Jr(t);
1026
- if (i)
1027
- return i;
1028
- const o = ee(t);
1029
- return o ? o.toUpperCase() : t;
1025
+ const a = Jr(t);
1026
+ if (a)
1027
+ return a;
1028
+ const n = ee(t);
1029
+ return n ? n.toUpperCase() : t;
1030
1030
  }
1031
1031
  const St = {
1032
1032
  da: "da",
@@ -1056,27 +1056,27 @@ const St = {
1056
1056
  "zh-tw": "zh",
1057
1057
  "zh-hant": "zh"
1058
1058
  };
1059
- function Vt(t) {
1059
+ function Ht(t) {
1060
1060
  if (!t)
1061
1061
  return null;
1062
1062
  const e = t.toLowerCase().replace("_", "-"), r = St[e];
1063
1063
  if (r)
1064
1064
  return r;
1065
- const a = ee(e), i = St[a];
1066
- return i || t;
1065
+ const i = ee(e), a = St[i];
1066
+ return a || t;
1067
1067
  }
1068
1068
  function Xr() {
1069
1069
  if (typeof navigator > "u")
1070
1070
  return E;
1071
1071
  const t = navigator.language;
1072
1072
  if (t) {
1073
- const e = Vt(t);
1073
+ const e = Ht(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 = Ht(e);
1080
1080
  if (r)
1081
1081
  return r;
1082
1082
  }
@@ -1128,16 +1128,16 @@ function U(t) {
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 Oi(t, e = L.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 oe(t) {
1137
+ function ne(t) {
1138
1138
  return U(t);
1139
1139
  }
1140
- function Pa() {
1140
+ function Bi() {
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 Pi(t, e) {
1153
1153
  console.log(
1154
1154
  `Loading additional translations for ${t}:`,
1155
1155
  Object.keys(e).length,
@@ -1168,8 +1168,8 @@ function Mt(t) {
1168
1168
  function N(t) {
1169
1169
  if (!(typeof window > "u"))
1170
1170
  try {
1171
- const e = window.localStorage?.getItem("ds-one:preferences"), a = { ...e ? JSON.parse(e) : {}, ...t };
1172
- window.localStorage?.setItem("ds-one:preferences", JSON.stringify(a));
1171
+ const e = window.localStorage?.getItem("ds-one:preferences"), i = { ...e ? JSON.parse(e) : {}, ...t };
1172
+ window.localStorage?.setItem("ds-one:preferences", JSON.stringify(i));
1173
1173
  } catch (e) {
1174
1174
  console.warn("ds-one: unable to persist preferences", e);
1175
1175
  }
@@ -1186,30 +1186,30 @@ const Qr = {
1186
1186
  ja: "¥",
1187
1187
  ko: "₩"
1188
1188
  };
1189
- function Da(t) {
1189
+ function Di(t) {
1190
1190
  const { language: e, country: r } = t;
1191
1191
  if (r) {
1192
- const i = r.toUpperCase();
1193
- if (i === "US" || i === "USA")
1192
+ const a = r.toUpperCase();
1193
+ if (a === "US" || a === "USA")
1194
1194
  return "$";
1195
- if (i === "GB" || i === "UK")
1195
+ if (a === "GB" || a === "UK")
1196
1196
  return "£";
1197
- if (i === "JP" || i === "JPN" || i === "CN" || i === "CHN")
1197
+ if (a === "JP" || a === "JPN" || a === "CN" || a === "CHN")
1198
1198
  return "¥";
1199
- if (i === "KR" || i === "KOR")
1199
+ if (a === "KR" || a === "KOR")
1200
1200
  return "₩";
1201
1201
  }
1202
- const a = e.toLowerCase().split(/[-_]/)[0];
1203
- return Qr[a] || "$";
1202
+ const i = e.toLowerCase().split(/[-_]/)[0];
1203
+ return Qr[i] || "$";
1204
1204
  }
1205
- function ea() {
1205
+ function ei() {
1206
1206
  if (typeof window > "u")
1207
1207
  return "light";
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());
1212
- function ta(t) {
1211
+ const X = at(ei());
1212
+ function ti(t) {
1213
1213
  if (t !== X.get() && (X.set(t), typeof window < "u")) {
1214
1214
  try {
1215
1215
  window.localStorage?.setItem("ds-one:theme", t);
@@ -1231,18 +1231,18 @@ if (typeof window < "u") {
1231
1231
  * Copyright 2019 Google LLC
1232
1232
  * SPDX-License-Identifier: BSD-3-Clause
1233
1233
  */
1234
- const ne = globalThis, nt = ne.ShadowRoot && (ne.ShadyCSS === void 0 || ne.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, st = Symbol(), Tt = /* @__PURE__ */ new WeakMap();
1234
+ const oe = globalThis, ot = oe.ShadowRoot && (oe.ShadyCSS === void 0 || oe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, st = Symbol(), Tt = /* @__PURE__ */ new WeakMap();
1235
1235
  let Xt = class {
1236
- constructor(e, r, a) {
1237
- if (this._$cssResult$ = !0, a !== st) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1236
+ constructor(e, r, i) {
1237
+ if (this._$cssResult$ = !0, i !== st) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1238
1238
  this.cssText = e, this.t = r;
1239
1239
  }
1240
1240
  get styleSheet() {
1241
1241
  let e = this.o;
1242
1242
  const r = this.t;
1243
- if (nt && e === void 0) {
1244
- const a = r !== void 0 && r.length === 1;
1245
- a && (e = Tt.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), a && Tt.set(r, e));
1243
+ if (ot && e === void 0) {
1244
+ const i = r !== void 0 && r.length === 1;
1245
+ i && (e = Tt.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && Tt.set(r, e));
1246
1246
  }
1247
1247
  return e;
1248
1248
  }
@@ -1251,21 +1251,21 @@ let Xt = class {
1251
1251
  }
1252
1252
  };
1253
1253
  const x = (t) => new Xt(typeof t == "string" ? t : t + "", void 0, st), lt = (t, ...e) => {
1254
- const r = t.length === 1 ? t[0] : e.reduce(((a, i, o) => a + ((n) => {
1255
- if (n._$cssResult$ === !0) return n.cssText;
1256
- if (typeof n == "number") return n;
1257
- throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1258
- })(i) + t[o + 1]), t[0]);
1254
+ const r = t.length === 1 ? t[0] : e.reduce(((i, a, n) => i + ((o) => {
1255
+ if (o._$cssResult$ === !0) return o.cssText;
1256
+ if (typeof o == "number") return o;
1257
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1258
+ })(a) + t[n + 1]), t[0]);
1259
1259
  return new Xt(r, t, st);
1260
- }, ra = (t, e) => {
1261
- if (nt) t.adoptedStyleSheets = e.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet));
1260
+ }, ri = (t, e) => {
1261
+ if (ot) t.adoptedStyleSheets = e.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet));
1262
1262
  else for (const r of e) {
1263
- const a = document.createElement("style"), i = ne.litNonce;
1264
- i !== void 0 && a.setAttribute("nonce", i), a.textContent = r.cssText, t.appendChild(a);
1263
+ const i = document.createElement("style"), a = oe.litNonce;
1264
+ a !== void 0 && i.setAttribute("nonce", a), i.textContent = r.cssText, t.appendChild(i);
1265
1265
  }
1266
- }, Nt = nt ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
1266
+ }, Nt = ot ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
1267
1267
  let r = "";
1268
- for (const a of e.cssRules) r += a.cssText;
1268
+ for (const i of e.cssRules) r += i.cssText;
1269
1269
  return x(r);
1270
1270
  })(t) : t;
1271
1271
  /**
@@ -1273,10 +1273,10 @@ 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: oa, getOwnPropertyNames: na, 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: ii, defineProperty: ai, getOwnPropertyDescriptor: ni, getOwnPropertyNames: oi, getOwnPropertySymbols: si, getPrototypeOf: li } = Object, A = globalThis, Zt = A.trustedTypes, di = Zt ? Zt.emptyScript : "", ci = A.reactiveElementPolyfillSupport, q = (t, e) => t, Ne = { toAttribute(t, e) {
1277
1277
  switch (e) {
1278
1278
  case Boolean:
1279
- t = t ? da : null;
1279
+ t = t ? di : null;
1280
1280
  break;
1281
1281
  case Object:
1282
1282
  case Array:
@@ -1301,7 +1301,7 @@ const { is: aa, defineProperty: ia, getOwnPropertyDescriptor: oa, getOwnProperty
1301
1301
  }
1302
1302
  }
1303
1303
  return r;
1304
- } }, Qt = (t, e) => !aa(t, e), zt = { attribute: !0, type: String, converter: Ne, reflect: !1, useDefault: !1, hasChanged: Qt };
1304
+ } }, Qt = (t, e) => !ii(t, e), zt = { attribute: !0, type: String, converter: Ne, reflect: !1, useDefault: !1, hasChanged: Qt };
1305
1305
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), A.litPropertyMetadata ?? (A.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1306
1306
  class Z extends HTMLElement {
1307
1307
  static addInitializer(e) {
@@ -1312,19 +1312,19 @@ class Z extends HTMLElement {
1312
1312
  }
1313
1313
  static createProperty(e, r = zt) {
1314
1314
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
1315
- const a = Symbol(), i = this.getPropertyDescriptor(e, a, r);
1316
- i !== void 0 && ia(this.prototype, e, i);
1315
+ const i = Symbol(), a = this.getPropertyDescriptor(e, i, r);
1316
+ a !== void 0 && ai(this.prototype, e, a);
1317
1317
  }
1318
1318
  }
1319
- static getPropertyDescriptor(e, r, a) {
1320
- const { get: i, set: o } = oa(this.prototype, e) ?? { get() {
1319
+ static getPropertyDescriptor(e, r, i) {
1320
+ const { get: a, set: n } = ni(this.prototype, e) ?? { get() {
1321
1321
  return this[r];
1322
- }, set(n) {
1323
- this[r] = n;
1322
+ }, set(o) {
1323
+ this[r] = o;
1324
1324
  } };
1325
- return { get: i, set(n) {
1326
- const s = i?.call(this);
1327
- o?.call(this, n), this.requestUpdate(e, s, a);
1325
+ return { get: a, set(o) {
1326
+ const s = a?.call(this);
1327
+ n?.call(this, o), this.requestUpdate(e, s, i);
1328
1328
  }, configurable: !0, enumerable: !0 };
1329
1329
  }
1330
1330
  static getPropertyOptions(e) {
@@ -1332,38 +1332,38 @@ class Z extends HTMLElement {
1332
1332
  }
1333
1333
  static _$Ei() {
1334
1334
  if (this.hasOwnProperty(q("elementProperties"))) return;
1335
- const e = la(this);
1335
+ const e = li(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
1339
  if (this.hasOwnProperty(q("finalized"))) return;
1340
1340
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(q("properties"))) {
1341
- const r = this.properties, a = [...na(r), ...sa(r)];
1342
- for (const i of a) this.createProperty(i, r[i]);
1341
+ const r = this.properties, i = [...oi(r), ...si(r)];
1342
+ for (const a of i) this.createProperty(a, r[a]);
1343
1343
  }
1344
1344
  const e = this[Symbol.metadata];
1345
1345
  if (e !== null) {
1346
1346
  const r = litPropertyMetadata.get(e);
1347
- if (r !== void 0) for (const [a, i] of r) this.elementProperties.set(a, i);
1347
+ if (r !== void 0) for (const [i, a] of r) this.elementProperties.set(i, a);
1348
1348
  }
1349
1349
  this._$Eh = /* @__PURE__ */ new Map();
1350
- for (const [r, a] of this.elementProperties) {
1351
- const i = this._$Eu(r, a);
1352
- i !== void 0 && this._$Eh.set(i, r);
1350
+ for (const [r, i] of this.elementProperties) {
1351
+ const a = this._$Eu(r, i);
1352
+ a !== void 0 && this._$Eh.set(a, r);
1353
1353
  }
1354
1354
  this.elementStyles = this.finalizeStyles(this.styles);
1355
1355
  }
1356
1356
  static finalizeStyles(e) {
1357
1357
  const r = [];
1358
1358
  if (Array.isArray(e)) {
1359
- const a = new Set(e.flat(1 / 0).reverse());
1360
- for (const i of a) r.unshift(Nt(i));
1359
+ const i = new Set(e.flat(1 / 0).reverse());
1360
+ for (const a of i) r.unshift(Nt(a));
1361
1361
  } else e !== void 0 && r.push(Nt(e));
1362
1362
  return r;
1363
1363
  }
1364
1364
  static _$Eu(e, r) {
1365
- const a = r.attribute;
1366
- return a === !1 ? void 0 : typeof a == "string" ? a : typeof e == "string" ? e.toLowerCase() : void 0;
1365
+ const i = r.attribute;
1366
+ return i === !1 ? void 0 : typeof i == "string" ? i : typeof e == "string" ? e.toLowerCase() : void 0;
1367
1367
  }
1368
1368
  constructor() {
1369
1369
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -1379,12 +1379,12 @@ class Z extends HTMLElement {
1379
1379
  }
1380
1380
  _$E_() {
1381
1381
  const e = /* @__PURE__ */ new Map(), r = this.constructor.elementProperties;
1382
- for (const a of r.keys()) this.hasOwnProperty(a) && (e.set(a, this[a]), delete this[a]);
1382
+ for (const i of r.keys()) this.hasOwnProperty(i) && (e.set(i, this[i]), delete this[i]);
1383
1383
  e.size > 0 && (this._$Ep = e);
1384
1384
  }
1385
1385
  createRenderRoot() {
1386
1386
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1387
- return ra(e, this.constructor.elementStyles), e;
1387
+ return ri(e, this.constructor.elementStyles), e;
1388
1388
  }
1389
1389
  connectedCallback() {
1390
1390
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), this._$EO?.forEach(((e) => e.hostConnected?.()));
@@ -1394,35 +1394,35 @@ class Z extends HTMLElement {
1394
1394
  disconnectedCallback() {
1395
1395
  this._$EO?.forEach(((e) => e.hostDisconnected?.()));
1396
1396
  }
1397
- attributeChangedCallback(e, r, a) {
1398
- this._$AK(e, a);
1397
+ attributeChangedCallback(e, r, i) {
1398
+ this._$AK(e, i);
1399
1399
  }
1400
1400
  _$ET(e, r) {
1401
- const a = this.constructor.elementProperties.get(e), i = this.constructor._$Eu(e, a);
1402
- if (i !== void 0 && a.reflect === !0) {
1403
- const o = (a.converter?.toAttribute !== void 0 ? a.converter : Ne).toAttribute(r, a.type);
1404
- this._$Em = e, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
1401
+ const i = this.constructor.elementProperties.get(e), a = this.constructor._$Eu(e, i);
1402
+ if (a !== void 0 && i.reflect === !0) {
1403
+ const n = (i.converter?.toAttribute !== void 0 ? i.converter : Ne).toAttribute(r, i.type);
1404
+ this._$Em = e, n == null ? this.removeAttribute(a) : this.setAttribute(a, n), this._$Em = null;
1405
1405
  }
1406
1406
  }
1407
1407
  _$AK(e, r) {
1408
- const a = this.constructor, i = a._$Eh.get(e);
1409
- if (i !== void 0 && this._$Em !== i) {
1410
- const o = a.getPropertyOptions(i), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : Ne;
1411
- this._$Em = i;
1412
- const s = n.fromAttribute(r, o.type);
1413
- this[i] = s ?? this._$Ej?.get(i) ?? s, this._$Em = null;
1408
+ const i = this.constructor, a = i._$Eh.get(e);
1409
+ if (a !== void 0 && this._$Em !== a) {
1410
+ const n = i.getPropertyOptions(a), o = typeof n.converter == "function" ? { fromAttribute: n.converter } : n.converter?.fromAttribute !== void 0 ? n.converter : Ne;
1411
+ this._$Em = a;
1412
+ const s = o.fromAttribute(r, n.type);
1413
+ this[a] = s ?? this._$Ej?.get(a) ?? s, this._$Em = null;
1414
1414
  }
1415
1415
  }
1416
- requestUpdate(e, r, a) {
1416
+ requestUpdate(e, r, i) {
1417
1417
  if (e !== void 0) {
1418
- const i = this.constructor, o = this[e];
1419
- if (a ?? (a = i.getPropertyOptions(e)), !((a.hasChanged ?? Qt)(o, r) || a.useDefault && a.reflect && o === this._$Ej?.get(e) && !this.hasAttribute(i._$Eu(e, a)))) return;
1420
- this.C(e, r, a);
1418
+ const a = this.constructor, n = this[e];
1419
+ if (i ?? (i = a.getPropertyOptions(e)), !((i.hasChanged ?? Qt)(n, r) || i.useDefault && i.reflect && n === this._$Ej?.get(e) && !this.hasAttribute(a._$Eu(e, i)))) return;
1420
+ this.C(e, r, i);
1421
1421
  }
1422
1422
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
1423
1423
  }
1424
- C(e, r, { useDefault: a, reflect: i, wrapped: o }, n) {
1425
- a && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(e) && (this._$Ej.set(e, n ?? r ?? this[e]), o !== !0 || n !== void 0) || (this._$AL.has(e) || (this.hasUpdated || a || (r = void 0), this._$AL.set(e, r)), i === !0 && this._$Em !== e && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(e));
1424
+ C(e, r, { useDefault: i, reflect: a, wrapped: n }, o) {
1425
+ i && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(e) && (this._$Ej.set(e, o ?? r ?? this[e]), n !== !0 || o !== void 0) || (this._$AL.has(e) || (this.hasUpdated || i || (r = void 0), this._$AL.set(e, r)), a === !0 && this._$Em !== e && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(e));
1426
1426
  }
1427
1427
  async _$EP() {
1428
1428
  this.isUpdatePending = !0;
@@ -1441,21 +1441,21 @@ class Z extends HTMLElement {
1441
1441
  if (!this.isUpdatePending) return;
1442
1442
  if (!this.hasUpdated) {
1443
1443
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
1444
- for (const [i, o] of this._$Ep) this[i] = o;
1444
+ for (const [a, n] of this._$Ep) this[a] = n;
1445
1445
  this._$Ep = void 0;
1446
1446
  }
1447
- const a = this.constructor.elementProperties;
1448
- if (a.size > 0) for (const [i, o] of a) {
1449
- const { wrapped: n } = o, s = this[i];
1450
- n !== !0 || this._$AL.has(i) || s === void 0 || this.C(i, void 0, o, s);
1447
+ const i = this.constructor.elementProperties;
1448
+ if (i.size > 0) for (const [a, n] of i) {
1449
+ const { wrapped: o } = n, s = this[a];
1450
+ o !== !0 || this._$AL.has(a) || s === void 0 || this.C(a, void 0, n, s);
1451
1451
  }
1452
1452
  }
1453
1453
  let e = !1;
1454
1454
  const r = this._$AL;
1455
1455
  try {
1456
- e = this.shouldUpdate(r), e ? (this.willUpdate(r), this._$EO?.forEach(((a) => a.hostUpdate?.())), this.update(r)) : this._$EM();
1457
- } catch (a) {
1458
- throw e = !1, this._$EM(), a;
1456
+ e = this.shouldUpdate(r), e ? (this.willUpdate(r), this._$EO?.forEach(((i) => i.hostUpdate?.())), this.update(r)) : this._$EM();
1457
+ } catch (i) {
1458
+ throw e = !1, this._$EM(), i;
1459
1459
  }
1460
1460
  e && this._$AE(r);
1461
1461
  }
@@ -1484,14 +1484,14 @@ 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[q("elementProperties")] = /* @__PURE__ */ new Map(), Z[q("finalized")] = /* @__PURE__ */ new Map(), ci?.({ 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
1493
  const W = globalThis;
1494
- class v extends Z {
1494
+ class f extends Z {
1495
1495
  constructor() {
1496
1496
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1497
1497
  }
@@ -1502,7 +1502,7 @@ class v 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,21 +1514,19 @@ class v extends Z {
1514
1514
  return M;
1515
1515
  }
1516
1516
  }
1517
- v._$litElement$ = !0, v.finalized = !0, W.litElementHydrateSupport?.({ LitElement: v });
1518
- const ha = W.litElementPolyfillSupport;
1519
- ha?.({ LitElement: v });
1517
+ f._$litElement$ = !0, f.finalized = !0, W.litElementHydrateSupport?.({ LitElement: f });
1518
+ const hi = W.litElementPolyfillSupport;
1519
+ hi?.({ LitElement: f });
1520
1520
  (W.litElementVersions ?? (W.litElementVersions = [])).push("4.2.1");
1521
- const ua = ':host{display:inline-flex;align-items:center;justify-content:center;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:center;text-transform:var(--text-transform-default);text-decoration:var(--text-decoration-default);vertical-align:middle}: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 v {
1521
+ const ui = ':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 {
1522
1522
  static get properties() {
1523
1523
  return {
1524
1524
  text: { type: String, reflect: !0 },
1525
- fallback: { type: String, reflect: !0 },
1526
- // Kept for backward compatibility
1527
1525
  _text: { type: String, state: !0 }
1528
1526
  };
1529
1527
  }
1530
1528
  constructor() {
1531
- super(), this.text = "", this.fallback = "", this._text = "", this._currentLanguage = L.value, this.boundHandlers = {
1529
+ super(), this.text = "", this._text = "", this._currentLanguage = L.value, this.boundHandlers = {
1532
1530
  languageChanged: (() => {
1533
1531
  console.log("Language changed event received in ds-text"), this._currentLanguage = L.value, this._updateLanguageAttribute(), this._loadText(), this.requestUpdate();
1534
1532
  })
@@ -1556,28 +1554,28 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:center;
1556
1554
  super.updated(e), e.has("text") && this._loadText();
1557
1555
  }
1558
1556
  _updateLanguageAttribute() {
1559
- const r = (this._currentLanguage || L.value || "").toLowerCase().split(/[-_]/).filter(Boolean), a = r[0] || "";
1560
- if (a === "ja") {
1557
+ const r = (this._currentLanguage || L.value || "").toLowerCase().split(/[-_]/).filter(Boolean), i = r[0] || "";
1558
+ if (i === "ja") {
1561
1559
  this.setAttribute("data-language", "ja");
1562
1560
  return;
1563
1561
  }
1564
- if (a === "zh") {
1565
- const i = r.includes("hans") || r.includes("cn") || r.includes("sg"), o = r.includes("hant") || r.includes("tw") || r.includes("hk") || r.includes("mo");
1566
- i ? this.setAttribute("data-language", "zh-hans") : o ? this.setAttribute("data-language", "zh-hant") : this.setAttribute("data-language", "zh");
1562
+ if (i === "zh") {
1563
+ const a = r.includes("hans") || r.includes("cn") || r.includes("sg"), n = r.includes("hant") || r.includes("tw") || r.includes("hk") || r.includes("mo");
1564
+ a ? this.setAttribute("data-language", "zh-hans") : n ? this.setAttribute("data-language", "zh-hant") : this.setAttribute("data-language", "zh");
1567
1565
  return;
1568
1566
  }
1569
1567
  this.removeAttribute("data-language");
1570
1568
  }
1571
1569
  _loadText() {
1572
1570
  if (!this.text) {
1573
- this._text = this.fallback || "", this._updateLanguageAttribute(), this.requestUpdate();
1571
+ this._text = "", this._updateLanguageAttribute(), this.requestUpdate();
1574
1572
  return;
1575
1573
  }
1576
1574
  try {
1577
- const e = oe(this.text);
1578
- this._text = e || this.fallback || this.text;
1575
+ const e = ne(this.text);
1576
+ this._text = e || this.text;
1579
1577
  } catch (e) {
1580
- console.error("Error loading text for text:", this.text, e), this._text = this.fallback || this.text;
1578
+ console.error("Error loading text for text:", this.text, e), this._text = this.text;
1581
1579
  }
1582
1580
  this._updateLanguageAttribute(), this.requestUpdate();
1583
1581
  }
@@ -1585,31 +1583,26 @@ const ua = ':host{display:inline-flex;align-items:center;justify-content:center;
1585
1583
  return l`<span>${this._text || this.text}</span>`;
1586
1584
  }
1587
1585
  };
1588
- dt.styles = x(ua);
1586
+ dt.styles = x(ui);
1589
1587
  let Ze = dt;
1590
1588
  customElements.define("ds-text", Ze);
1591
- const pa = "button{max-height:calc(var(--08) * var(--sf));height:calc(var(--08) * var(--sf));min-height:calc(var(--08) * var(--sf));width:fit-content;display:inline-flex;align-items:center;justify-content:center;border:none;cursor:pointer;padding:0 calc(.5px * var(--sf));color:var(--button-text-color);font-family:var(--typeface-regular);-webkit-tap-highlight-color:transparent}button.title{background-color:var(--button-background-color-secondary);color:var(--button-text-color)}button.primary{background-color:var(--accent-color);color:var(--button-text-color);text-decoration-line:none;font-family:var(--typeface-regular)}button.secondary{background-color:var(--button-background-color-secondary);color:var(--button-text-color);font-family:var(--typeface-regular)}button.text{background-color:transparent;color:var(--button-color, var(--button-text-color));font-family:var(--typeface-regular);padding:0;text-decoration:none}button.text:hover{opacity:.8;text-decoration:none}button[bold]{font-weight:var(--type-weight-bold);font-family:var(--typeface-medium)}button[no-background]{background-color:transparent;max-height:var(--1);padding:0;color:var(--button-color, var(--button-text-color-secondary))}button[no-background][bold]{font-weight:var(--type-weight-bold);font-family:var(--typeface-medium);color:var(--button-color, var(--button-text-color-secondary))}.loading{opacity:.7}", de = class de extends v {
1589
+ const pi = ":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 {
1592
1590
  constructor() {
1593
- super(), this.variant = "title", this.disabled = !1, this.bold = !1, this["no-background"] = !1, this.blank = !1, this.text = "", this.fallback = "", this.language = "en-US", this.defaultText = "", this.href = "", this._loading = !1;
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;
1594
1592
  }
1595
1593
  connectedCallback() {
1596
1594
  super.connectedCallback();
1597
1595
  }
1598
1596
  render() {
1599
- const e = this.text || this.defaultText || this.fallback;
1597
+ const e = this.text;
1600
1598
  return l`
1601
1599
  <button
1602
- class=${this.variant}
1600
+ ?primary=${this.primary}
1601
+ ?secondary=${this.secondary}
1603
1602
  ?disabled=${this.disabled}
1604
- ?bold=${this.bold}
1605
- ?no-background=${this["no-background"]}
1606
1603
  @click=${this._handleClick}
1607
1604
  >
1608
- ${e ? l`<ds-text
1609
- .text=${this.text}
1610
- .defaultValue=${this.defaultText}
1611
- .fallback=${this.fallback}
1612
- ></ds-text>` : l`<slot></slot>`}
1605
+ ${e ? l`<ds-text .text=${this.text}></ds-text>` : l`<slot></slot>`}
1613
1606
  </button>
1614
1607
  `;
1615
1608
  }
@@ -1625,25 +1618,18 @@ const pa = "button{max-height:calc(var(--08) * var(--sf));height:calc(var(--08)
1625
1618
  }
1626
1619
  };
1627
1620
  de.properties = {
1628
- variant: { type: String, reflect: !0 },
1621
+ primary: { type: Boolean, reflect: !0 },
1622
+ secondary: { type: Boolean, reflect: !0 },
1629
1623
  disabled: { type: Boolean, reflect: !0 },
1630
- bold: { type: Boolean, reflect: !0 },
1631
- "no-background": {
1632
- type: Boolean,
1633
- reflect: !0,
1634
- attribute: "no-background"
1635
- },
1636
1624
  blank: { type: Boolean, reflect: !0 },
1637
- text: { type: String },
1638
- fallback: { type: String },
1639
1625
  language: { type: String },
1640
- defaultText: { type: String, attribute: "default-text" },
1626
+ text: { type: String },
1641
1627
  href: { type: String },
1642
1628
  _loading: { type: Boolean, state: !0 }
1643
- }, de.styles = x(pa);
1629
+ }, de.styles = x(pi);
1644
1630
  let ze = de;
1645
1631
  customElements.define("ds-button", ze);
1646
- const ga = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%;height:calc(var(--unit) * var(--sf, 1));align-items:center;justify-content:space-between;padding:0 calc(var(--unit) * var(--sf, 1));box-sizing:border-box;z-index:9999}:host([variant="warning"]){background-color:color-mix(in srgb,var(--yellow) 50%,transparent);--banner-text-color: color-mix(in srgb, var(--black) 50%, transparent);--banner-action-color: var(--slate)}:host([variant="info"]){background-color:rgba(var(--sharp-blue-rgb, 0, 122, 255),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="success"]){background-color:rgba(var(--apple-green-rgb, 52, 199, 89),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="error"]){background-color:rgba(var(--tuned-red-rgb, 255, 59, 48),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--slate, #1e1e1e)}.text-wrapper{flex:1;cursor:pointer;user-select:none}.text-wrapper ds-text,.text-wrapper .version{color:var(--banner-text-color)}.action-wrapper{font-size:calc(12px * var(--sf, 1))}.action-wrapper a{color:var(--banner-action-color);text-decoration:none;font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));cursor:pointer;pointer-events:auto;display:inline-block}.action-wrapper a:hover{opacity:.8}.action-wrapper ds-text{color:var(--banner-action-color);font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));pointer-events:none}', ce = class ce extends v {
1632
+ const gi = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%;height:calc(var(--unit) * var(--sf, 1));align-items:center;justify-content:space-between;padding:0 calc(var(--unit) * var(--sf, 1));box-sizing:border-box;z-index:9999}:host([variant="warning"]){background-color:color-mix(in srgb,var(--yellow) 50%,transparent);--banner-text-color: color-mix(in srgb, var(--black) 50%, transparent);--banner-action-color: var(--slate)}:host([variant="info"]){background-color:rgba(var(--sharp-blue-rgb, 0, 122, 255),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="success"]){background-color:rgba(var(--apple-green-rgb, 52, 199, 89),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--white, #fff)}:host([variant="error"]){background-color:rgba(var(--tuned-red-rgb, 255, 59, 48),.7);--banner-text-color: var(--white, #fff);--banner-action-color: var(--slate, #1e1e1e)}.text-wrapper{flex:1;cursor:pointer;user-select:none}.text-wrapper ds-text,.text-wrapper .version{color:var(--banner-text-color)}.action-wrapper{font-size:calc(12px * var(--sf, 1))}.action-wrapper a{color:var(--banner-action-color);text-decoration:none;font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));cursor:pointer;pointer-events:auto;display:inline-block}.action-wrapper a:hover{opacity:.8}.action-wrapper ds-text{color:var(--banner-action-color);font-family:var(--typeface-regular);font-size:calc(12px * var(--sf, 1));pointer-events:none}', ce = class ce extends f {
1647
1633
  constructor() {
1648
1634
  super(...arguments), this.text = "", this.action = "", this.href = "", this.mailto = "", this.subject = "", this.describe = "", this.appVersion = "", this.variant = "warning", this.version = "", this._showVersion = !1, this._boundUpdate = () => this.requestUpdate();
1649
1635
  }
@@ -1660,11 +1646,11 @@ const ga = ':host{display:flex;position:absolute;top:0;left:0;right:0;width:100%
1660
1646
  if (this.href && this.href !== "#") return this.href;
1661
1647
  if (this.mailto)
1662
1648
  try {
1663
- const e = this.subject ? oe(this.subject) || this.subject : "Issue report", r = this.describe ? oe(this.describe) || this.describe : "Describe the issue:", a = this.appVersion ? oe(this.appVersion) || this.appVersion : "App version:", i = `${r}
1649
+ const e = this.subject ? ne(this.subject) || this.subject : "Issue report", r = this.describe ? ne(this.describe) || this.describe : "Describe the issue:", i = this.appVersion ? ne(this.appVersion) || this.appVersion : "App version:", a = `${r}
1664
1650
 
1665
1651
 
1666
- ${a} ${this.version || ""}`;
1667
- return `mailto:${this.mailto}?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(i)}`;
1652
+ ${i} ${this.version || ""}`;
1653
+ return `mailto:${this.mailto}?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(a)}`;
1668
1654
  } catch {
1669
1655
  return `mailto:${this.mailto}?subject=Issue%20report&body=Describe%20the%20issue%3A%0A%0A%0AApp%20version%3A%20${this.version || ""}`;
1670
1656
  }
@@ -1697,10 +1683,10 @@ ce.properties = {
1697
1683
  variant: { type: String },
1698
1684
  version: { type: String },
1699
1685
  _showVersion: { type: Boolean, state: !0 }
1700
- }, ce.styles = x(ga);
1686
+ }, ce.styles = x(gi);
1701
1687
  let Ie = ce;
1702
1688
  customElements.define("ds-banner", Ie);
1703
- const he = class he extends v {
1689
+ const he = class he extends f {
1704
1690
  constructor() {
1705
1691
  super(), this.variant = "default", this.elevation = 1, this.interactive = !1, this.disabled = !1, this.padding = "medium";
1706
1692
  }
@@ -1816,7 +1802,7 @@ customElements.define("ds-card", Oe);
1816
1802
  * Copyright 2017 Google LLC
1817
1803
  * SPDX-License-Identifier: BSD-3-Clause
1818
1804
  */
1819
- class Pe extends Ar {
1805
+ class Be extends Ar {
1820
1806
  constructor(e) {
1821
1807
  if (super(e), this.it = w, e.type !== $r.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1822
1808
  }
@@ -1830,8 +1816,8 @@ class Pe extends Ar {
1830
1816
  return r.raw = r, this._t = { _$litType$: this.constructor.resultType, strings: r, values: [] };
1831
1817
  }
1832
1818
  }
1833
- Pe.directiveName = "unsafeHTML", Pe.resultType = 1;
1834
- const fa = _r(Pe), va = ':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 vi = _r(Be), fi = ':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))}', mi = {
1835
1821
  "1x": `<svg width="9" height="8" viewBox="0 0 9 8" fill="none" xmlns="http://www.w3.org/2000/svg">
1836
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"/>
1837
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"/>
@@ -1959,6 +1945,9 @@ const fa = _r(Pe), va = ':host{display:inline-flex;justify-content:center;align-
1959
1945
  </svg>`,
1960
1946
  email: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="11" viewBox="0 0 16 11" fill="none">
1961
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"/>
1962
1951
  </svg>`,
1963
1952
  expand: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
1964
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"/>
@@ -2029,6 +2018,14 @@ const fa = _r(Pe), va = ':host{display:inline-flex;justify-content:center;align-
2029
2018
  </svg>`,
2030
2019
  left: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="9" viewBox="0 0 16 9" fill="none">
2031
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"/>
2032
2029
  </svg>`,
2033
2030
  lock: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2034
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"/>
@@ -2071,6 +2068,10 @@ const fa = _r(Pe), va = ':host{display:inline-flex;justify-content:center;align-
2071
2068
  </svg>`,
2072
2069
  row: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2073
2070
  <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"/>
2071
+ </svg>`,
2072
+ school: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2073
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.48751 11.2972L10.4354 11.2964H5.49535L5.48751 11.2972Z" fill="currentColor"/>
2074
+ <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"/>
2074
2075
  </svg>`,
2075
2076
  sdown: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2076
2077
  <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"/>
@@ -2160,8 +2161,11 @@ const fa = _r(Pe), va = ':host{display:inline-flex;justify-content:center;align-
2160
2161
  </svg>`,
2161
2162
  up: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2162
2163
  <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"/>
2164
+ </svg>`,
2165
+ work: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2166
+ <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"/>
2163
2167
  </svg>`
2164
- }, ue = class ue extends v {
2168
+ }, ue = class ue extends f {
2165
2169
  constructor() {
2166
2170
  super(...arguments), this._type = "", this.variant = "glyph";
2167
2171
  }
@@ -2175,26 +2179,26 @@ const fa = _r(Pe), va = ':host{display:inline-flex;justify-content:center;align-
2175
2179
  render() {
2176
2180
  if (!this._type)
2177
2181
  return l`<slot></slot>`;
2178
- const e = ma[this._type.toLowerCase()];
2179
- return e ? l`${fa(e)}` : l`<slot></slot>`;
2182
+ const e = mi[this._type.toLowerCase()];
2183
+ return e ? l`${vi(e)}` : l`<slot></slot>`;
2180
2184
  }
2181
2185
  };
2182
2186
  ue.properties = {
2183
2187
  type: { type: String, reflect: !0 },
2184
2188
  variant: { type: String, reflect: !0 }
2185
- }, ue.styles = x(va);
2186
- let Be = ue;
2187
- customElements.define("ds-icon", Be);
2188
- const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-flex;align-items:center;gap:var(--025)}.color-preview{width:var(--05);height:var(--05);border-radius:999px;border:1px solid color-mix(in srgb,var(--text-color-primary) 20%,transparent);flex:0 0 auto}", ba = (t) => {
2189
+ }, ue.styles = x(fi);
2190
+ let Pe = ue;
2191
+ customElements.define("ds-icon", Pe);
2192
+ const wi = ":host{display:inline-flex;align-items:center}.cycle{display:inline-flex;align-items:center}", yi = (t) => {
2189
2193
  localStorage.setItem("accentColor", t);
2190
- }, De = () => localStorage.getItem("accentColor") || "--sharp-blue", He = () => {
2194
+ }, De = () => localStorage.getItem("accentColor") || "--sharp-blue", Ve = () => {
2191
2195
  const t = De();
2192
2196
  document.documentElement.style.setProperty("--accent-color", `var(${t})`);
2193
- }, ya = (t) => {
2197
+ }, bi = (t) => {
2194
2198
  localStorage.setItem("notesStyleMedium", t);
2195
2199
  }, It = () => localStorage.getItem("notesStyleMedium") || "note", Ot = (t) => {
2196
2200
  localStorage.setItem("pageStyle", t);
2197
- }, D = () => localStorage.getItem("pageStyle") || "note", ct = class ct extends v {
2201
+ }, D = () => localStorage.getItem("pageStyle") || "note", ct = class ct extends f {
2198
2202
  // Define reactive properties using Lit's property system
2199
2203
  static get properties() {
2200
2204
  return {
@@ -2238,7 +2242,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2238
2242
  }
2239
2243
  async initializeValues() {
2240
2244
  if (this.type === "language") {
2241
- const e = Ht();
2245
+ const e = Vt();
2242
2246
  this.values = e, this.currentValue = L.value;
2243
2247
  } else if (this.type === "theme") {
2244
2248
  this.values = ["light", "dark"];
@@ -2256,7 +2260,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2256
2260
  "--yellow"
2257
2261
  ];
2258
2262
  const e = De();
2259
- this.currentValue = e, He();
2263
+ this.currentValue = e, Ve();
2260
2264
  } else if (this.type === "notes-style-medium") {
2261
2265
  this.values = ["default", "big", "gallery"];
2262
2266
  const e = It();
@@ -2272,14 +2276,14 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2272
2276
  }
2273
2277
  ensureThemeInitialized() {
2274
2278
  if (!localStorage.getItem("theme")) {
2275
- const a = window.matchMedia(
2279
+ const i = window.matchMedia(
2276
2280
  "(prefers-color-scheme: dark)"
2277
2281
  ).matches ? "dark" : "light";
2278
- localStorage.setItem("theme", a), document.documentElement.classList.add(`${a}-theme`);
2282
+ localStorage.setItem("theme", i), document.documentElement.classList.add(`${i}-theme`);
2279
2283
  }
2280
2284
  }
2281
- attributeChangedCallback(e, r, a) {
2282
- super.attributeChangedCallback(e, r, a), e === "type" && r !== a && this.initializeValues();
2285
+ attributeChangedCallback(e, r, i) {
2286
+ super.attributeChangedCallback(e, r, i), e === "type" && r !== i && this.initializeValues();
2283
2287
  }
2284
2288
  async setupInitialValue() {
2285
2289
  if (this.type === "language") {
@@ -2290,7 +2294,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2290
2294
  this.currentValue = e;
2291
2295
  } else if (this.type === "accent-color") {
2292
2296
  const e = De();
2293
- this.currentValue = e, He();
2297
+ this.currentValue = e, Ve();
2294
2298
  } else if (this.type === "notes-style-medium") {
2295
2299
  const e = It();
2296
2300
  this.currentValue = e;
@@ -2329,43 +2333,43 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2329
2333
  handleButtonClick(e) {
2330
2334
  if (e.preventDefault(), e.stopPropagation(), !this.disabled) {
2331
2335
  if (this.type === "language") {
2332
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2333
- this.currentValue = i, document.startViewTransition ? document.startViewTransition(() => {
2334
- Mt(i);
2335
- }) : Mt(i), N({ language: i }), window.dispatchEvent(
2336
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2337
+ this.currentValue = a, document.startViewTransition ? document.startViewTransition(() => {
2338
+ Mt(a);
2339
+ }) : Mt(a), N({ language: a }), window.dispatchEvent(
2336
2340
  new CustomEvent("language-changed", {
2337
- detail: { language: i }
2341
+ detail: { language: a }
2338
2342
  })
2339
2343
  );
2340
2344
  } else if (this.type === "theme") {
2341
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2342
- this.currentValue = i, ta(i), N({ theme: i });
2345
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2346
+ this.currentValue = a, ti(a), N({ theme: a });
2343
2347
  } else if (this.type === "accent-color") {
2344
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2345
- this.currentValue = i, ba(i), He(), N({ accentColor: i }), window.dispatchEvent(
2348
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2349
+ this.currentValue = a, yi(a), Ve(), N({ accentColor: a }), window.dispatchEvent(
2346
2350
  new CustomEvent("accent-color-changed", {
2347
- detail: { color: i }
2351
+ detail: { color: a }
2348
2352
  })
2349
2353
  );
2350
2354
  } else if (this.type === "notes-style-medium") {
2351
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2352
- this.currentValue = i, ya(i), N({ notesStyleMedium: i }), window.dispatchEvent(
2355
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2356
+ this.currentValue = a, bi(a), N({ notesStyleMedium: a }), window.dispatchEvent(
2353
2357
  new CustomEvent("notes-style-medium-changed", {
2354
- detail: { style: i }
2358
+ detail: { style: a }
2355
2359
  })
2356
2360
  );
2357
2361
  } else if (this.type === "page-style") {
2358
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2359
- this.currentValue = i, Ot(i), N({ pageStyle: i }), window.dispatchEvent(
2362
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2363
+ this.currentValue = a, Ot(a), N({ pageStyle: a }), window.dispatchEvent(
2360
2364
  new CustomEvent("page-style-changed", {
2361
- detail: { behavior: i }
2365
+ detail: { behavior: a }
2362
2366
  })
2363
2367
  );
2364
2368
  } else if (this.type === "icon-only") {
2365
- const a = (this.values.indexOf(this.currentValue) + 1) % this.values.length, i = this.values[a];
2366
- this.currentValue = i, Ot(i), N({ pageStyle: i }), window.dispatchEvent(
2369
+ const i = (this.values.indexOf(this.currentValue) + 1) % this.values.length, a = this.values[i];
2370
+ this.currentValue = a, Ot(a), N({ pageStyle: a }), window.dispatchEvent(
2367
2371
  new CustomEvent("page-style-changed", {
2368
- detail: { behavior: i }
2372
+ detail: { behavior: a }
2369
2373
  })
2370
2374
  );
2371
2375
  }
@@ -2414,7 +2418,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2414
2418
  }[e] || e.replace("--", "").replace("-", " ");
2415
2419
  }
2416
2420
  getColorName(e) {
2417
- const a = {
2421
+ const i = {
2418
2422
  "--tuned-red": "Red",
2419
2423
  "--orange": "Orange",
2420
2424
  "--yellow": "Yellow",
@@ -2424,10 +2428,10 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2424
2428
  "--sharp-blue": "Blue",
2425
2429
  "--pink": "Pink"
2426
2430
  }[e];
2427
- if (a && this.translationsReady) {
2428
- const i = U(a);
2429
- if (i && i !== a)
2430
- return i;
2431
+ if (i && this.translationsReady) {
2432
+ const a = U(i);
2433
+ if (a && a !== i)
2434
+ return a;
2431
2435
  }
2432
2436
  return e.replace("--", "").replace("-", " ");
2433
2437
  }
@@ -2438,7 +2442,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2438
2442
  return l`
2439
2443
  <div class="cycle">
2440
2444
  <ds-button
2441
- variant=${this.variant || (this.type === "language" || this.type === "theme" ? "secondary" : "primary")}
2445
+ variant=${this.type === "accent-color" ? "primary" : this.variant || (this.type === "language" || this.type === "theme" ? "secondary" : "primary")}
2442
2446
  ?disabled=${this.disabled}
2443
2447
  @click=${this.handleButtonClick}
2444
2448
  >
@@ -2448,7 +2452,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2448
2452
  >` : this.type === "language" ? l`<ds-text
2449
2453
  text=${this.getValueDisplay(this.currentValue)}
2450
2454
  ></ds-text>` : this.type === "theme" ? l`<ds-text
2451
- text=${this.currentValue}
2455
+ text=${this.currentValue === "light" ? "Light" : "Dark"}
2452
2456
  ></ds-text>` : this.type === "accent-color" ? l`<ds-text
2453
2457
  text=${this.getColorKey(this.currentValue)}
2454
2458
  ></ds-text>` : this.type === "page-style" ? l`<ds-text
@@ -2457,13 +2461,6 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2457
2461
  text=${this.getValueDisplay(this.currentValue)}
2458
2462
  ></ds-text>`}
2459
2463
  </ds-button>
2460
-
2461
- ${this.type === "accent-color" ? l`
2462
- <div
2463
- class="color-preview"
2464
- style="background-color: var(${this.currentValue})"
2465
- ></div>
2466
- ` : ""}
2467
2464
  </div>
2468
2465
  `;
2469
2466
  }
@@ -2485,7 +2482,7 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2485
2482
  }
2486
2483
  handleTranslationsLoaded() {
2487
2484
  if (this.translationsReady = !0, this.type === "language") {
2488
- const e = Ht();
2485
+ const e = Vt();
2489
2486
  this.values = e;
2490
2487
  }
2491
2488
  this.setupInitialValue();
@@ -2503,19 +2500,19 @@ const wa = ":host{display:inline-flex;align-items:center}.cycle{display:inline-f
2503
2500
  this.setupInitialValue();
2504
2501
  }
2505
2502
  };
2506
- ct.styles = x(wa);
2503
+ ct.styles = x(wi);
2507
2504
  let Re = ct;
2508
2505
  customElements.define("ds-cycle", Re);
2509
- const xa = ":host{display:inline;font-family:var(--typeface-regular, var(--typeface-regular-regular));font-size:inherit;color:inherit}", ht = class ht extends v {
2506
+ const xi = ":host{display:inline;font-family:var(--typeface-regular, var(--typeface-regular-regular));font-size:inherit;color:inherit}", ht = class ht extends f {
2510
2507
  render() {
2511
2508
  const e = (/* @__PURE__ */ new Date()).getFullYear();
2512
2509
  return l`<span>${e}</span>`;
2513
2510
  }
2514
2511
  };
2515
- ht.styles = x(xa);
2512
+ ht.styles = x(xi);
2516
2513
  let je = ht;
2517
2514
  customElements.define("ds-date", je);
2518
- 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 v {
2515
+ const Ci = ':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 {
2519
2516
  constructor() {
2520
2517
  super(), this.size = "";
2521
2518
  }
@@ -2526,10 +2523,10 @@ const Ca = ':host{display:block;width:100%;--gap-size: var(--unit);height:var(--
2526
2523
  pe.properties = {
2527
2524
  /** Raw scale token selector ("01", "025", "05", "08", "1", "2", "3", "4", "8", "12") */
2528
2525
  size: { type: String, reflect: !0 }
2529
- }, pe.styles = x(Ca);
2526
+ }, pe.styles = x(Ci);
2530
2527
  let Ue = pe;
2531
2528
  customElements.define("ds-gap", Ue);
2532
- 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 v {
2529
+ const Li = ':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 {
2533
2530
  constructor() {
2534
2531
  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;
2535
2532
  }
@@ -2633,10 +2630,10 @@ ge.properties = {
2633
2630
  error: { type: String },
2634
2631
  errorText: { type: String, attribute: "error-text" },
2635
2632
  _focused: { type: Boolean, state: !0 }
2636
- }, ge.styles = x(La);
2633
+ }, ge.styles = x(Li);
2637
2634
  let qe = ge;
2638
2635
  customElements.define("ds-input", qe);
2639
- const Ea = ':host{position:relative;display:inline-block}.slot-wrapper{display:inline-flex;align-items:center}.bubble{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;bottom:100%;transform:translate(-50%,calc(-2px * var(--sf)));z-index:1000;pointer-events:none;height:calc(var(--08) * var(--sf));opacity:0;transition:opacity .12s ease,transform .12s ease;background-color:light-dark(var(--black),var(--white));color:light-dark(var(--white),var(--black));border-radius:0;font-size:var(--type-size-default);padding:0px calc(1px * var(--sf));font-family:var( --typeface-regular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif );font-weight:500;white-space:nowrap;min-width:max-content}.bubble.visible{opacity:1}', fe = class fe extends v {
2636
+ const Ei = ':host{position:relative;display:inline-block}.slot-wrapper{display:inline-flex;align-items:center}.bubble{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;bottom:100%;transform:translate(-50%,calc(-2px * var(--sf)));z-index:1000;pointer-events:none;height:calc(var(--08) * var(--sf));opacity:0;transition:opacity .12s ease,transform .12s ease;background-color:light-dark(var(--black),var(--white));color:light-dark(var(--white),var(--black));border-radius:0;font-size:var(--type-size-default);padding:0px calc(1px * var(--sf));font-family:var( --typeface-regular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif );font-weight:500;white-space:nowrap;min-width:max-content}.bubble.visible{opacity:1}', ve = class ve extends f {
2640
2637
  constructor() {
2641
2638
  super(), this.text = "", this.defaultValue = "", this._text = "", this._visible = !1, this.boundWindowHandlers = {
2642
2639
  languageChanged: (() => {
@@ -2702,15 +2699,15 @@ const Ea = ':host{position:relative;display:inline-block}.slot-wrapper{display:i
2702
2699
  `;
2703
2700
  }
2704
2701
  };
2705
- fe.properties = {
2702
+ ve.properties = {
2706
2703
  text: { type: String, reflect: !0 },
2707
2704
  defaultValue: { type: String, reflect: !0, attribute: "default-value" },
2708
2705
  _text: { state: !0 },
2709
2706
  _visible: { state: !0 }
2710
- }, fe.styles = x(Ea);
2711
- let We = fe;
2707
+ }, ve.styles = x(Ei);
2708
+ let We = ve;
2712
2709
  customElements.define("ds-tooltip", We);
2713
- const ka = ":host{display:flex;flex-direction:row;align-items:end}:host([fill]){justify-content:space-between;height:calc(var(--1) * var(--sf))}:host([centered]){justify-content:center;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}:host([end]){justify-content:flex-end;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}", ve = class ve extends v {
2710
+ const ki = ":host{display:flex;flex-direction:row;align-items:end}:host([fill]){justify-content:space-between;height:calc(var(--1) * var(--sf));width:100%}:host([centered]){justify-content:center;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}:host([end]){justify-content:flex-end;height:calc(var(--1) * var(--sf));gap:calc(var(--025) * var(--sf))}", fe = class fe extends f {
2714
2711
  constructor() {
2715
2712
  super(), this.fill = !1, this.centered = !1, this.end = !1;
2716
2713
  }
@@ -2718,22 +2715,22 @@ const ka = ":host{display:flex;flex-direction:row;align-items:end}:host([fill]){
2718
2715
  return l`<slot></slot>`;
2719
2716
  }
2720
2717
  };
2721
- ve.properties = {
2718
+ fe.properties = {
2722
2719
  fill: { type: Boolean, reflect: !0 },
2723
2720
  centered: { type: Boolean, reflect: !0 },
2724
2721
  end: { type: Boolean, reflect: !0 }
2725
- }, ve.styles = x(ka);
2726
- let Fe = ve;
2722
+ }, fe.styles = x(ki);
2723
+ let Fe = fe;
2727
2724
  customElements.define("ds-row", Fe);
2728
- const $a = ":host{display:block;width:calc(240px * var(--sf));color:var(--text-color-primary)}details{width:100%}summary{cursor:pointer;user-select:none;list-style:none;outline:none}summary::-webkit-details-marker{display:none}.summaryRow{width:100%}ds-icon.chevron{transform:rotate(0);transition:transform .14s ease}details[open] ds-icon.chevron{transform:rotate(180deg)}.detailsBody{padding-top:calc(var(--half) * var(--sf))}.detailsText{display:block;white-space:normal;text-align:left}", me = class me extends v {
2725
+ const $i = ":host{display:block;width:calc(240px * var(--sf));color:var(--text-color-primary)}details{width:100%}summary{cursor:pointer;user-select:none;list-style:none;outline:none}summary::-webkit-details-marker{display:none}.summaryRow{width:100%}ds-icon.chevron{transform:rotate(0);transition:transform .14s ease}details[open] ds-icon.chevron{transform:rotate(180deg)}.detailsBody{padding-top:calc(var(--half) * var(--sf))}.detailsText{display:block;white-space:normal;text-align:left}", me = class me extends f {
2729
2726
  constructor() {
2730
2727
  super(), this.summary = "", this.details = "", this.open = !1, this._hasSlottedContent = !1;
2731
2728
  }
2732
2729
  _handleSlotChange(e) {
2733
- const i = e.target.assignedNodes({ flatten: !0 }).some(
2734
- (o) => o.nodeType === Node.ELEMENT_NODE || o.nodeType === Node.TEXT_NODE && o.textContent?.trim()
2730
+ const a = e.target.assignedNodes({ flatten: !0 }).some(
2731
+ (n) => n.nodeType === Node.ELEMENT_NODE || n.nodeType === Node.TEXT_NODE && n.textContent?.trim()
2735
2732
  );
2736
- this._hasSlottedContent = i;
2733
+ this._hasSlottedContent = a;
2737
2734
  }
2738
2735
  render() {
2739
2736
  return l`
@@ -2773,10 +2770,10 @@ me.properties = {
2773
2770
  details: { type: String },
2774
2771
  open: { type: Boolean, reflect: !0 },
2775
2772
  _hasSlottedContent: { type: Boolean, state: !0 }
2776
- }, me.styles = x($a);
2773
+ }, me.styles = x($i);
2777
2774
  let Ke = me;
2778
2775
  customElements.define("ds-accordion", Ke);
2779
- const we = class we extends v {
2776
+ const we = class we extends f {
2780
2777
  constructor() {
2781
2778
  super(), this.action = "", this.method = "post", this.name = "", this.novalidate = !1, this.autocomplete = "on", this._isSubmitting = !1;
2782
2779
  }
@@ -2784,19 +2781,19 @@ const we = class we extends v {
2784
2781
  * Get all form data as an object
2785
2782
  */
2786
2783
  getFormData() {
2787
- const e = {}, a = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2788
- for (const i of a)
2789
- this._collectFormData(i, e);
2784
+ const e = {}, i = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2785
+ for (const a of i)
2786
+ this._collectFormData(a, e);
2790
2787
  return e;
2791
2788
  }
2792
2789
  _collectFormData(e, r) {
2793
- const a = e.getAttribute("name") || e.name;
2794
- if (a) {
2795
- const o = e.value;
2796
- o !== void 0 && (e instanceof HTMLInputElement && (e.type === "checkbox" || e.type === "radio") ? e.type === "checkbox" ? r[a] = e.checked : e.type === "radio" && e.checked && (r[a] = o) : r[a] = o);
2790
+ const i = e.getAttribute("name") || e.name;
2791
+ if (i) {
2792
+ const n = e.value;
2793
+ n !== void 0 && (e instanceof HTMLInputElement && (e.type === "checkbox" || e.type === "radio") ? e.type === "checkbox" ? r[i] = e.checked : e.type === "radio" && e.checked && (r[i] = n) : r[i] = n);
2797
2794
  }
2798
- (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((o) => {
2799
- this._collectFormData(o, r);
2795
+ (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((n) => {
2796
+ this._collectFormData(n, r);
2800
2797
  });
2801
2798
  }
2802
2799
  /**
@@ -2809,19 +2806,19 @@ const we = class we extends v {
2809
2806
  };
2810
2807
  if (this.novalidate)
2811
2808
  return e;
2812
- const a = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2813
- for (const i of a)
2814
- this._validateElement(i, e);
2809
+ const i = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2810
+ for (const a of i)
2811
+ this._validateElement(a, e);
2815
2812
  return e;
2816
2813
  }
2817
2814
  _validateElement(e, r) {
2818
- const a = e.getAttribute("name") || e.name;
2815
+ const i = e.getAttribute("name") || e.name;
2819
2816
  if (e.tagName.toLowerCase() === "ds-input") {
2820
- const o = e;
2821
- o.required && !o.value && (r.valid = !1, r.errors[a || "unknown"] = "This field is required");
2817
+ const n = e;
2818
+ n.required && !n.value && (r.valid = !1, r.errors[i || "unknown"] = "This field is required");
2822
2819
  }
2823
- (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e.checkValidity() || (r.valid = !1, r.errors[a || "unknown"] = e.validationMessage)), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((o) => {
2824
- this._validateElement(o, r);
2820
+ (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e.checkValidity() || (r.valid = !1, r.errors[i || "unknown"] = e.validationMessage)), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((n) => {
2821
+ this._validateElement(n, r);
2825
2822
  });
2826
2823
  }
2827
2824
  /**
@@ -2829,13 +2826,13 @@ const we = class we extends v {
2829
2826
  */
2830
2827
  reset() {
2831
2828
  const r = this.shadowRoot?.querySelector("slot")?.assignedElements({ flatten: !0 }) || [];
2832
- for (const a of r)
2833
- this._resetElement(a);
2829
+ for (const i of r)
2830
+ this._resetElement(i);
2834
2831
  this.dispatchEvent(new CustomEvent("form-reset", { bubbles: !0 }));
2835
2832
  }
2836
2833
  _resetElement(e) {
2837
- (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e instanceof HTMLInputElement && e.type === "checkbox" ? e.checked = !1 : e.value = ""), e.tagName.toLowerCase() === "ds-input" && (e.value = ""), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((a) => {
2838
- this._resetElement(a);
2834
+ (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement) && (e instanceof HTMLInputElement && e.type === "checkbox" ? e.checked = !1 : e.value = ""), e.tagName.toLowerCase() === "ds-input" && (e.value = ""), (e.shadowRoot?.querySelectorAll("*") || e.querySelectorAll("*")).forEach((i) => {
2835
+ this._resetElement(i);
2839
2836
  });
2840
2837
  }
2841
2838
  /**
@@ -2862,7 +2859,7 @@ const we = class we extends v {
2862
2859
  })
2863
2860
  ), this.action)
2864
2861
  try {
2865
- const a = await fetch(this.action, {
2862
+ const i = await fetch(this.action, {
2866
2863
  method: this.method.toUpperCase(),
2867
2864
  headers: {
2868
2865
  "Content-Type": "application/json"
@@ -2871,14 +2868,14 @@ const we = class we extends v {
2871
2868
  });
2872
2869
  this.dispatchEvent(
2873
2870
  new CustomEvent("form-response", {
2874
- detail: { response: a, data: r },
2871
+ detail: { response: i, data: r },
2875
2872
  bubbles: !0
2876
2873
  })
2877
2874
  );
2878
- } catch (a) {
2875
+ } catch (i) {
2879
2876
  this.dispatchEvent(
2880
2877
  new CustomEvent("form-error", {
2881
- detail: { error: a, data: r },
2878
+ detail: { error: i, data: r },
2882
2879
  bubbles: !0
2883
2880
  })
2884
2881
  );
@@ -2938,15 +2935,15 @@ we.properties = {
2938
2935
  `;
2939
2936
  let Ge = we;
2940
2937
  customElements.define("ds-form", Ge);
2941
- const _a = ":host{display:flex;flex-direction:column;gap:0;width:100%}", ut = class ut extends v {
2938
+ const _i = ":host{display:flex;flex-direction:column;gap:0;width:100%}", ut = class ut extends f {
2942
2939
  render() {
2943
2940
  return l`<slot></slot>`;
2944
2941
  }
2945
2942
  };
2946
- ut.styles = x(_a);
2943
+ ut.styles = x(_i);
2947
2944
  let Je = ut;
2948
2945
  customElements.define("ds-list", Je);
2949
- const Aa = ":host{display:block;width:100%}.table-container{display:flex;flex-direction:column;width:100%}.table-header{display:grid;grid-template-columns:160px 80px 80px 80px;height:20px;width:400px}.table-body{display:grid;grid-template-columns:160px 80px 80px 80px;border:1px solid var(--black);width:400px}.header-cell{height:20px;display:flex;align-items:center;justify-content:left;padding:0 2px;font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.data-cell{height:20px;margin-top:-1px;display:flex;align-items:center;justify-content:left;outline:1px solid var(--black);font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.status-cell{background-color:var(--apple-green);text-align:center}.product-cell{text-align:left;justify-content:flex-start}.users-cell,.retention-cell{text-align:center}@media (max-width: 480px){.table-header,.table-body{width:100%;grid-template-columns:1fr 60px 60px 60px}}", be = class be extends v {
2946
+ const Ai = ":host{display:block;width:100%}.table-container{display:flex;flex-direction:column;width:100%}.table-header{display:grid;grid-template-columns:160px 80px 80px 80px;height:20px;width:400px}.table-body{display:grid;grid-template-columns:160px 80px 80px 80px;border:1px solid var(--black);width:400px}.header-cell{height:20px;display:flex;align-items:center;justify-content:left;padding:0 2px;font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.data-cell{height:20px;margin-top:-1px;display:flex;align-items:center;justify-content:left;outline:1px solid var(--black);font-family:var(--typeface-regular);font-size:var(--type-size-default);font-weight:var(--type-weight-default);line-height:var(--type-lineheight-default);color:var(--black);letter-spacing:-.26px}.status-cell{background-color:var(--apple-green);text-align:center}.product-cell{text-align:left;justify-content:flex-start}.users-cell,.retention-cell{text-align:center}@media (max-width: 480px){.table-header,.table-body{width:100%;grid-template-columns:1fr 60px 60px 60px}}", ye = class ye extends f {
2950
2947
  constructor() {
2951
2948
  super(), this.data = [], this.columns = ["Product", "Users", "Retention"], this.showStatus = !0;
2952
2949
  }
@@ -2975,22 +2972,22 @@ const Aa = ":host{display:block;width:100%}.table-container{display:flex;flex-di
2975
2972
  `;
2976
2973
  }
2977
2974
  };
2978
- be.properties = {
2975
+ ye.properties = {
2979
2976
  data: { type: Array },
2980
2977
  columns: { type: Array },
2981
2978
  showStatus: { type: Boolean, attribute: "show-status" }
2982
- }, be.styles = x(Aa);
2983
- let Ye = be;
2979
+ }, ye.styles = x(Ai);
2980
+ let Ye = ye;
2984
2981
  customElements.define("ds-table", Ye);
2985
- 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 v {
2982
+ const Si = ":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 {
2986
2983
  render() {
2987
2984
  return l`<slot></slot>`;
2988
2985
  }
2989
2986
  };
2990
- pt.styles = x(Sa);
2987
+ pt.styles = x(Si);
2991
2988
  let Xe = pt;
2992
2989
  customElements.define("ds-container", Xe);
2993
- 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}', ye = class ye extends v {
2990
+ const Hi = ':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 {
2994
2991
  connectedCallback() {
2995
2992
  super.connectedCallback(), this.updateMobileClass(), this.resizeObserver = () => {
2996
2993
  this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(() => {
@@ -3002,51 +2999,36 @@ const Va = ':host{margin-top:.5px!important;margin-left:.5px!important;display:g
3002
2999
  super.disconnectedCallback(), this.resizeObserver && window.removeEventListener("resize", this.resizeObserver), this.resizeTimeout && clearTimeout(this.resizeTimeout);
3003
3000
  }
3004
3001
  updateMobileClass() {
3005
- ot() ? (this.classList.add("mobile"), this.classList.remove("desktop")) : (this.classList.add("desktop"), this.classList.remove("mobile"));
3002
+ nt() ? (this.classList.add("mobile"), this.classList.remove("desktop")) : (this.classList.add("desktop"), this.classList.remove("mobile"));
3006
3003
  }
3007
3004
  render() {
3008
3005
  return l``;
3009
3006
  }
3010
3007
  };
3011
- ye.properties = {
3008
+ be.properties = {
3012
3009
  align: { type: String }
3013
- }, ye.styles = x(Va);
3014
- let Qe = ye;
3010
+ }, be.styles = x(Hi);
3011
+ let Qe = be;
3015
3012
  customElements.define("ds-grid", Qe);
3016
- 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 v {
3013
+ const Vi = ':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 {
3017
3014
  constructor() {
3018
3015
  super(...arguments), this.mode = "portfolio";
3019
3016
  }
3020
3017
  render() {
3021
- const e = this.view || this.mode === "view", r = this.mode === "portfolio", a = this.mode === "company", i = this.mode === "app", o = this.mode === "list", n = this.mode === "home";
3018
+ const e = this.view || this.mode === "view", r = this.mode === "portfolio", i = this.mode === "company", a = this.mode === "app", n = this.mode === "list", o = this.mode === "home", s = this.mode === "settings";
3022
3019
  return l`
3023
3020
  <slot></slot>
3024
3021
  ${e ? l`
3025
3022
  <div class="view-overlay">
3026
- ${n ? l`
3023
+ ${s ? l`
3027
3024
  <div class="view-area view-banner">
3028
3025
  <div class="grid-area-label">
3029
3026
  <ds-text text="banner"></ds-text>
3030
3027
  </div>
3031
3028
  </div>
3032
- <div class="view-area view-header">
3029
+ <div class="view-area view-settings">
3033
3030
  <div class="grid-area-label">
3034
- <ds-text text="header"></ds-text>
3035
- </div>
3036
- </div>
3037
- <div class="view-area view-message">
3038
- <div class="grid-area-label">
3039
- <ds-text text="message"></ds-text>
3040
- </div>
3041
- </div>
3042
- <div class="view-area view-lists">
3043
- <div class="grid-area-label">
3044
- <ds-text text="lists"></ds-text>
3045
- </div>
3046
- </div>
3047
- <div class="view-area view-footer">
3048
- <div class="grid-area-label">
3049
- <ds-text text="footer"></ds-text>
3031
+ <ds-text text="settings"></ds-text>
3050
3032
  </div>
3051
3033
  </div>
3052
3034
  ` : o ? l`
@@ -3060,12 +3042,22 @@ const Ha = ':host{display:grid;position:relative;width:100%}slot{display:content
3060
3042
  <ds-text text="header"></ds-text>
3061
3043
  </div>
3062
3044
  </div>
3063
- <div class="view-area view-board">
3045
+ <div class="view-area view-message">
3046
+ <div class="grid-area-label">
3047
+ <ds-text text="message"></ds-text>
3048
+ </div>
3049
+ </div>
3050
+ <div class="view-area view-lists">
3051
+ <div class="grid-area-label">
3052
+ <ds-text text="lists"></ds-text>
3053
+ </div>
3054
+ </div>
3055
+ <div class="view-area view-footer">
3064
3056
  <div class="grid-area-label">
3065
- <ds-text text="board"></ds-text>
3057
+ <ds-text text="footer"></ds-text>
3066
3058
  </div>
3067
3059
  </div>
3068
- ` : i ? l`
3060
+ ` : n ? l`
3069
3061
  <div class="view-area view-banner">
3070
3062
  <div class="grid-area-label">
3071
3063
  <ds-text text="banner"></ds-text>
@@ -3076,30 +3068,30 @@ const Ha = ':host{display:grid;position:relative;width:100%}slot{display:content
3076
3068
  <ds-text text="header"></ds-text>
3077
3069
  </div>
3078
3070
  </div>
3079
- <div class="view-area view-main">
3071
+ <div class="view-area view-board">
3080
3072
  <div class="grid-area-label">
3081
- <ds-text text="main"></ds-text>
3082
- </div>
3083
- </div>
3084
- <div class="view-area view-page-dots">
3085
- <div class="grid-area-label">
3086
- <ds-text text="page-dots"></ds-text>
3087
- </div>
3088
- </div>
3089
- <div class="view-area view-footer">
3090
- <div class="grid-area-label">
3091
- <ds-text text="footer"></ds-text>
3073
+ <ds-text text="board"></ds-text>
3092
3074
  </div>
3093
3075
  </div>
3094
3076
  ` : a ? l`
3077
+ <div class="view-area view-banner">
3078
+ <div class="grid-area-label">
3079
+ <ds-text text="banner"></ds-text>
3080
+ </div>
3081
+ </div>
3095
3082
  <div class="view-area view-header">
3096
3083
  <div class="grid-area-label">
3097
3084
  <ds-text text="header"></ds-text>
3098
3085
  </div>
3099
3086
  </div>
3100
- <div class="view-area view-content">
3087
+ <div class="view-area view-main">
3101
3088
  <div class="grid-area-label">
3102
- <ds-text text="content"></ds-text>
3089
+ <ds-text text="main"></ds-text>
3090
+ </div>
3091
+ </div>
3092
+ <div class="view-area view-page-dots">
3093
+ <div class="grid-area-label">
3094
+ <ds-text text="page-dots"></ds-text>
3103
3095
  </div>
3104
3096
  </div>
3105
3097
  <div class="view-area view-footer">
@@ -3107,35 +3099,15 @@ const Ha = ':host{display:grid;position:relative;width:100%}slot{display:content
3107
3099
  <ds-text text="footer"></ds-text>
3108
3100
  </div>
3109
3101
  </div>
3110
- ` : r ? l`
3111
- <div class="view-area view-square">
3112
- <div class="grid-area-label">
3113
- <ds-text text="square"></ds-text>
3114
- </div>
3115
- </div>
3116
- <div class="view-area view-title">
3117
- <div class="grid-area-label">
3118
- <ds-text text="title"></ds-text>
3119
- </div>
3120
- </div>
3102
+ ` : i ? l`
3121
3103
  <div class="view-area view-header">
3122
3104
  <div class="grid-area-label">
3123
3105
  <ds-text text="header"></ds-text>
3124
3106
  </div>
3125
3107
  </div>
3126
- <div class="view-area view-projects">
3127
- <div class="grid-area-label">
3128
- <ds-text text="projects"></ds-text>
3129
- </div>
3130
- </div>
3131
- <div class="view-area view-bio">
3108
+ <div class="view-area view-content">
3132
3109
  <div class="grid-area-label">
3133
- <ds-text text="bio"></ds-text>
3134
- </div>
3135
- </div>
3136
- <div class="view-area view-nav">
3137
- <div class="grid-area-label">
3138
- <ds-text text="nav"></ds-text>
3110
+ <ds-text text="content"></ds-text>
3139
3111
  </div>
3140
3112
  </div>
3141
3113
  <div class="view-area view-footer">
@@ -3143,7 +3115,43 @@ const Ha = ':host{display:grid;position:relative;width:100%}slot{display:content
3143
3115
  <ds-text text="footer"></ds-text>
3144
3116
  </div>
3145
3117
  </div>
3146
- ` : ""}
3118
+ ` : r ? l`
3119
+ <div class="view-area view-square">
3120
+ <div class="grid-area-label">
3121
+ <ds-text text="square"></ds-text>
3122
+ </div>
3123
+ </div>
3124
+ <div class="view-area view-title">
3125
+ <div class="grid-area-label">
3126
+ <ds-text text="title"></ds-text>
3127
+ </div>
3128
+ </div>
3129
+ <div class="view-area view-header">
3130
+ <div class="grid-area-label">
3131
+ <ds-text text="header"></ds-text>
3132
+ </div>
3133
+ </div>
3134
+ <div class="view-area view-projects">
3135
+ <div class="grid-area-label">
3136
+ <ds-text text="projects"></ds-text>
3137
+ </div>
3138
+ </div>
3139
+ <div class="view-area view-bio">
3140
+ <div class="grid-area-label">
3141
+ <ds-text text="bio"></ds-text>
3142
+ </div>
3143
+ </div>
3144
+ <div class="view-area view-nav">
3145
+ <div class="grid-area-label">
3146
+ <ds-text text="nav"></ds-text>
3147
+ </div>
3148
+ </div>
3149
+ <div class="view-area view-footer">
3150
+ <div class="grid-area-label">
3151
+ <ds-text text="footer"></ds-text>
3152
+ </div>
3153
+ </div>
3154
+ ` : ""}
3147
3155
  </div>
3148
3156
  ` : ""}
3149
3157
  `;
@@ -3154,570 +3162,755 @@ xe.properties = {
3154
3162
  align: { type: String },
3155
3163
  view: { type: Boolean }
3156
3164
  }, xe.styles = [
3157
- x(Ha),
3165
+ x(Vi),
3158
3166
  lt`
3159
- :host {
3160
- display: grid;
3161
- position: relative;
3162
- width: 100%;
3163
- }
3167
+ :host {
3168
+ display: grid;
3169
+ position: relative;
3170
+ width: 100%;
3171
+ }
3164
3172
 
3165
- slot {
3166
- display: contents;
3167
- }
3168
-
3169
- :host([mode="portfolio"]) {
3170
- --portfolio-cols: 120px 480px 40px;
3171
- --portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;
3172
- --portfolio-areas: "square . ." ". title ." ". header ." ". projects ."
3173
- ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";
3174
- --portfolio-overlay-cols: 120px 480px;
3175
- --portfolio-overlay-areas: "square ." ". title" ". header" ". projects"
3176
- ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";
3177
- grid-template-columns: var(--portfolio-cols);
3178
- grid-template-rows: var(--portfolio-rows);
3179
- grid-template-areas: var(--portfolio-areas);
3180
- min-height: 600px;
3181
- background-color: rgba(165, 165, 165, 0.03);
3182
- max-width: 640px;
3183
- margin: 0;
3184
- }
3185
-
3186
- :host([mode="portfolio"]) .view-overlay {
3187
- grid-template-columns: var(--portfolio-overlay-cols);
3188
- grid-template-rows: var(--portfolio-rows);
3189
- grid-template-areas: var(--portfolio-overlay-areas);
3190
- }
3191
-
3192
- :host([mode="company"]) {
3193
- --company-cols: auto 400px auto;
3194
- --company-rows: 80px 20px 20px 120px 20px 120px;
3195
- --company-areas: ". . ." ". header ." ". . ." ". content ." ". . ."
3196
- ". footer .";
3197
- grid-template-columns: var(--company-cols);
3198
- grid-template-rows: var(--company-rows);
3199
- grid-template-areas: var(--company-areas);
3200
- gap: 0;
3201
- max-width: 100%;
3202
- }
3203
-
3204
- :host([mode="company"]) .view-overlay {
3205
- grid-template-columns: var(--company-cols);
3206
- grid-template-rows: var(--company-rows);
3207
- grid-template-areas: var(--company-areas);
3208
- gap: 0;
3209
- }
3210
-
3211
- :host([align="left"]),
3212
- :host([mode="portfolio"][align="left"]),
3213
- :host([mode="company"][align="left"]),
3214
- :host([mode="app"][align="left"]),
3215
- :host([mode="list"][align="left"]),
3216
- :host([mode="home"][align="left"]) {
3217
- margin: 0;
3218
- justify-self: start;
3219
- }
3220
-
3221
- :host([align="center"]),
3222
- :host([mode="portfolio"][align="center"]),
3223
- :host([mode="company"][align="center"]),
3224
- :host([mode="app"][align="center"]),
3225
- :host([mode="list"][align="center"]),
3226
- :host([mode="home"][align="center"]) {
3227
- margin: 0 auto;
3228
- justify-self: center;
3229
- }
3230
-
3231
- :host([align="right"]),
3232
- :host([mode="portfolio"][align="right"]),
3233
- :host([mode="company"][align="right"]),
3234
- :host([mode="app"][align="right"]),
3235
- :host([mode="list"][align="right"]),
3236
- :host([mode="home"][align="right"]) {
3237
- margin: 0 0 0 auto;
3238
- justify-self: end;
3239
- }
3240
-
3241
- /* App mode - Base */
3242
- :host([mode="app"]) {
3243
- --app-cols: 100%;
3244
- --app-overlay-cols: 100%;
3245
- grid-template-columns: var(--app-cols);
3246
- grid-template-rows: var(--app-layout);
3247
- grid-template-areas: var(--app-layout-areas);
3248
- min-height: 100vh;
3249
- background-color: transparent;
3250
- width: calc(240px * var(--sf, 1));
3251
- max-width: calc(240px * var(--sf, 1));
3252
- margin: 0 auto;
3253
- }
3254
-
3255
- :host([mode="app"]) .view-overlay {
3256
- grid-template-columns: var(--app-overlay-cols);
3257
- grid-template-rows: var(--app-layout);
3258
- grid-template-areas: var(--app-layout-areas);
3259
- }
3260
-
3261
- /* List mode - Base */
3262
- :host([mode="list"]) {
3263
- --list-cols: 100%;
3264
- --list-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
3265
- calc(var(--unit) * var(--sf)) calc(var(--twenty) * var(--sf));
3266
- --list-areas: "banner" "." "header" "board";
3267
- --list-overlay-cols: 100%;
3268
- --list-overlay-rows: calc(var(--unit) * var(--sf))
3269
- calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
3270
- calc(var(--twenty) * var(--sf));
3271
- --list-overlay-areas: "banner" "." "header" "board";
3272
- grid-template-columns: var(--list-cols);
3273
- grid-template-rows: var(--list-rows);
3274
- grid-template-areas: var(--list-areas);
3275
- min-height: 100vh;
3276
- background-color: transparent;
3277
- width: calc(240px * var(--sf, 1));
3278
- max-width: calc(240px * var(--sf, 1));
3279
- margin: 0 auto;
3280
- }
3281
-
3282
- :host([mode="list"]) .view-overlay {
3283
- grid-template-columns: var(--list-overlay-cols);
3284
- grid-template-rows: var(--list-overlay-rows);
3285
- grid-template-areas: var(--list-overlay-areas);
3286
- }
3287
-
3288
- /* Home mode - Base */
3289
- :host([mode="home"]) {
3290
- --home-cols: 100%;
3291
- --home-areas: "banner" "." "header" "." "message" "lists" "." "footer";
3292
- --home-overlay-cols: 100%;
3293
- --home-overlay-areas: "banner" "." "header" "." "message" "lists" "."
3294
- "footer";
3295
- grid-template-columns: var(--home-cols);
3296
- grid-template-rows: var(--home-layout);
3297
- grid-template-areas: var(--home-areas);
3298
- min-height: 100vh;
3299
- background-color: transparent;
3300
- width: calc(240px * var(--sf, 1));
3301
- max-width: calc(240px * var(--sf, 1));
3302
- margin: 0 auto;
3303
- }
3173
+ slot {
3174
+ display: contents;
3175
+ }
3304
3176
 
3305
- :host([mode="home"]) .view-overlay {
3306
- grid-template-columns: var(--home-overlay-cols);
3307
- grid-template-rows: var(--home-layout);
3308
- grid-template-areas: var(--home-overlay-areas);
3309
- }
3177
+ :host([mode="portfolio"]) {
3178
+ --portfolio-cols: 120px 480px 40px;
3179
+ --portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px
3180
+ 120px;
3181
+ --portfolio-areas: "square . ." ". title ." ". header ." ". projects ."
3182
+ ". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";
3183
+ --portfolio-overlay-cols: 120px 480px;
3184
+ --portfolio-overlay-areas: "square ." ". title" ". header" ". projects"
3185
+ ". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";
3186
+ grid-template-columns: var(--portfolio-cols);
3187
+ grid-template-rows: var(--portfolio-rows);
3188
+ grid-template-areas: var(--portfolio-areas);
3189
+ min-height: 600px;
3190
+ background-color: rgba(165, 165, 165, 0.03);
3191
+ max-width: 640px;
3192
+ margin: 0;
3193
+ }
3310
3194
 
3311
- .view-overlay {
3312
- position: absolute;
3313
- margin-left: -1px;
3314
- top: 0;
3315
- left: 0;
3316
- right: 0;
3317
- bottom: 0;
3318
- pointer-events: none;
3319
- z-index: 1000;
3320
- display: grid;
3321
- }
3195
+ :host([mode="portfolio"]) .view-overlay {
3196
+ grid-template-columns: var(--portfolio-overlay-cols);
3197
+ grid-template-rows: var(--portfolio-rows);
3198
+ grid-template-areas: var(--portfolio-overlay-areas);
3199
+ }
3322
3200
 
3323
- .view-area {
3324
- display: flex;
3325
- width: calc(240px * var(--sf, 1));
3326
- height: 100%;
3327
- align-items: center;
3328
- justify-content: center;
3329
- font-family: var(--typeface-regular);
3330
- font-size: calc(var(--type-size-default) * var(--05));
3331
- color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3332
- background-color: color-mix(
3333
- in srgb,
3334
- var(--accent-color) 25%,
3335
- transparent
3336
- );
3337
- opacity: 1;
3338
- position: relative;
3339
- }
3340
-
3341
- .grid-area-label {
3342
- position: absolute;
3343
- top: calc(-20px * var(--sf, 1));
3344
- left: 0;
3345
- height: calc(20px * var(--sf, 1));
3346
- width: fit-content;
3347
- display: inline-flex;
3348
- align-items: center;
3349
- justify-content: center;
3350
- padding: 0 calc(4px * var(--sf, 1));
3351
- border-radius: calc(2px * var(--sf, 1));
3352
- z-index: 10000;
3353
- pointer-events: none;
3354
- white-space: nowrap;
3355
- }
3201
+ :host([mode="company"]) {
3202
+ --company-cols: auto 400px auto;
3203
+ --company-rows: 80px 20px 20px 120px 20px 120px;
3204
+ --company-areas: ". . ." ". header ." ". . ." ". content ." ". . ."
3205
+ ". footer .";
3206
+ grid-template-columns: var(--company-cols);
3207
+ grid-template-rows: var(--company-rows);
3208
+ grid-template-areas: var(--company-areas);
3209
+ gap: 0;
3210
+ max-width: 100%;
3211
+ }
3356
3212
 
3357
- /* Banner label stays inside the area (first item) */
3358
- :host([mode="app"]) .view-area.view-banner .grid-area-label,
3359
- :host([mode="list"]) .view-area.view-banner .grid-area-label,
3360
- :host([mode="home"]) .view-area.view-banner .grid-area-label,
3361
- :host([mode="company"]) .view-area.view-header .grid-area-label,
3362
- :host([mode="portfolio"]) .view-area.view-square .grid-area-label {
3363
- top: 0;
3364
- }
3213
+ :host([mode="company"]) .view-overlay {
3214
+ grid-template-columns: var(--company-cols);
3215
+ grid-template-rows: var(--company-rows);
3216
+ grid-template-areas: var(--company-areas);
3217
+ gap: 0;
3218
+ }
3365
3219
 
3366
- .grid-area-label ds-text {
3367
- font-size: calc(11px * var(--sf, 1));
3368
- line-height: 1;
3369
- color: white;
3370
- text-transform: lowercase;
3371
- }
3220
+ :host([align="left"]),
3221
+ :host([mode="portfolio"][align="left"]),
3222
+ :host([mode="company"][align="left"]),
3223
+ :host([mode="app"][align="left"]),
3224
+ :host([mode="list"][align="left"]),
3225
+ :host([mode="home"][align="left"]),
3226
+ :host([mode="settings"][align="left"]) {
3227
+ margin: 0;
3228
+ justify-self: start;
3229
+ }
3372
3230
 
3373
- :host([mode="portfolio"]) .view-area:nth-of-type(1) {
3374
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3375
- }
3376
- :host([mode="portfolio"]) .view-area:nth-of-type(1) .grid-area-label {
3377
- background-image:
3378
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3379
- linear-gradient(
3380
- 90deg,
3381
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3382
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3383
- );
3384
- }
3385
- :host([mode="portfolio"]) .view-area:nth-of-type(2) {
3386
- border-color: var(--sharp-blue);
3387
- }
3388
- :host([mode="portfolio"]) .view-area:nth-of-type(2) .grid-area-label {
3389
- background-image:
3390
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3391
- linear-gradient(
3392
- 90deg,
3393
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3394
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3395
- );
3396
- }
3397
- :host([mode="portfolio"]) .view-area:nth-of-type(3) {
3398
- border-color: var(--yellow);
3399
- }
3400
- :host([mode="portfolio"]) .view-area:nth-of-type(3) .grid-area-label {
3401
- background-image:
3402
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3403
- linear-gradient(
3404
- 90deg,
3405
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
3406
- color-mix(in srgb, var(--yellow) 70%, black) 100%
3407
- );
3408
- }
3409
- :host([mode="portfolio"]) .view-area:nth-of-type(4) {
3410
- border-color: var(--apple-green);
3411
- }
3412
- :host([mode="portfolio"]) .view-area:nth-of-type(4) .grid-area-label {
3413
- background-image:
3414
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3415
- linear-gradient(
3416
- 90deg,
3417
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3418
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
3419
- );
3420
- }
3421
- :host([mode="portfolio"]) .view-area:nth-of-type(5) {
3422
- border-color: var(--pink);
3423
- }
3424
- :host([mode="portfolio"]) .view-area:nth-of-type(5) .grid-area-label {
3425
- background-image:
3426
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3427
- linear-gradient(
3428
- 90deg,
3429
- color-mix(in srgb, var(--pink) 70%, black) 0%,
3430
- color-mix(in srgb, var(--pink) 70%, black) 100%
3431
- );
3432
- }
3433
- :host([mode="portfolio"]) .view-area:nth-of-type(6) {
3434
- border-color: var(--orange);
3435
- }
3436
- :host([mode="portfolio"]) .view-area:nth-of-type(6) .grid-area-label {
3437
- background-image:
3438
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3439
- linear-gradient(
3440
- 90deg,
3441
- color-mix(in srgb, var(--orange) 70%, black) 0%,
3442
- color-mix(in srgb, var(--orange) 70%, black) 100%
3443
- );
3444
- }
3445
- :host([mode="portfolio"]) .view-area:nth-of-type(7) {
3446
- border-color: var(--zenith-blue);
3447
- }
3448
- :host([mode="portfolio"]) .view-area:nth-of-type(7) .grid-area-label {
3449
- background-image:
3450
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3451
- linear-gradient(
3452
- 90deg,
3453
- color-mix(in srgb, var(--zenith-blue) 70%, black) 0%,
3454
- color-mix(in srgb, var(--zenith-blue) 70%, black) 100%
3455
- );
3456
- }
3231
+ :host([align="center"]),
3232
+ :host([mode="portfolio"][align="center"]),
3233
+ :host([mode="company"][align="center"]),
3234
+ :host([mode="app"][align="center"]),
3235
+ :host([mode="list"][align="center"]),
3236
+ :host([mode="home"][align="center"]),
3237
+ :host([mode="settings"][align="center"]) {
3238
+ margin: 0 auto;
3239
+ justify-self: center;
3240
+ }
3457
3241
 
3458
- :host([mode="company"]) .view-area:nth-of-type(1) {
3459
- border-color: var(--tuned-red);
3460
- }
3461
- :host([mode="company"]) .view-area:nth-of-type(1) .grid-area-label {
3462
- background-image:
3463
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3464
- linear-gradient(
3465
- 90deg,
3466
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3467
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3468
- );
3469
- }
3470
- :host([mode="company"]) .view-area:nth-of-type(2) {
3471
- border-color: var(--sharp-blue);
3472
- }
3473
- :host([mode="company"]) .view-area:nth-of-type(2) .grid-area-label {
3474
- background-image:
3475
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3476
- linear-gradient(
3477
- 90deg,
3478
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3479
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3480
- );
3481
- }
3482
- :host([mode="company"]) .view-area:nth-of-type(3) {
3483
- border-color: var(--yellow);
3484
- }
3485
- :host([mode="company"]) .view-area:nth-of-type(3) .grid-area-label {
3486
- background-image:
3487
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3488
- linear-gradient(
3489
- 90deg,
3490
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
3491
- color-mix(in srgb, var(--yellow) 70%, black) 100%
3492
- );
3493
- }
3242
+ :host([align="right"]),
3243
+ :host([mode="portfolio"][align="right"]),
3244
+ :host([mode="company"][align="right"]),
3245
+ :host([mode="app"][align="right"]),
3246
+ :host([mode="list"][align="right"]),
3247
+ :host([mode="home"][align="right"]),
3248
+ :host([mode="settings"][align="right"]) {
3249
+ margin: 0 0 0 auto;
3250
+ justify-self: end;
3251
+ }
3494
3252
 
3495
- :host([mode="app"]) .view-area:nth-of-type(1) {
3496
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3497
- }
3498
- :host([mode="app"]) .view-area:nth-of-type(1) .grid-area-label {
3499
- background-image:
3500
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3501
- linear-gradient(
3502
- 90deg,
3503
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3504
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3505
- );
3506
- }
3507
- :host([mode="app"]) .view-area:nth-of-type(2) {
3508
- background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
3509
- }
3510
- :host([mode="app"]) .view-area:nth-of-type(2) .grid-area-label {
3511
- background-image:
3512
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3513
- linear-gradient(
3514
- 90deg,
3515
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3516
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3517
- );
3518
- }
3519
- :host([mode="app"]) .view-area:nth-of-type(3) {
3520
- background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
3521
- }
3522
- :host([mode="app"]) .view-area:nth-of-type(3) .grid-area-label {
3523
- background-image:
3524
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3525
- linear-gradient(
3526
- 90deg,
3527
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
3528
- color-mix(in srgb, var(--yellow) 70%, black) 100%
3529
- );
3530
- }
3531
- :host([mode="app"]) .view-area:nth-of-type(4) {
3532
- background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
3533
- }
3534
- :host([mode="app"]) .view-area:nth-of-type(4) .grid-area-label {
3535
- background-image:
3536
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3537
- linear-gradient(
3538
- 90deg,
3539
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3540
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
3541
- );
3542
- }
3543
- :host([mode="app"]) .view-area:nth-of-type(5) {
3544
- background-color: color-mix(in srgb, var(--pink) 25%, transparent);
3545
- }
3546
- :host([mode="app"]) .view-area:nth-of-type(5) .grid-area-label {
3547
- background-image:
3548
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3549
- linear-gradient(
3550
- 90deg,
3551
- color-mix(in srgb, var(--pink) 70%, black) 0%,
3552
- color-mix(in srgb, var(--pink) 70%, black) 100%
3553
- );
3554
- }
3253
+ /* App mode - Base */
3254
+ :host([mode="app"]) {
3255
+ --app-cols: 100%;
3256
+ --app-overlay-cols: 100%;
3257
+ grid-template-columns: var(--app-cols);
3258
+ grid-template-rows: var(--app-layout);
3259
+ grid-template-areas: var(--app-layout-areas);
3260
+ min-height: 100vh;
3261
+ background-color: transparent;
3262
+ width: calc(240px * var(--sf, 1));
3263
+ max-width: calc(240px * var(--sf, 1));
3264
+ margin: 0 auto;
3265
+ }
3555
3266
 
3556
- :host([mode="list"]) .view-area:nth-of-type(1) {
3557
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3558
- }
3559
- :host([mode="list"]) .view-area:nth-of-type(1) .grid-area-label {
3560
- background-image:
3561
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3562
- linear-gradient(
3563
- 90deg,
3564
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3565
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3566
- );
3567
- }
3568
- :host([mode="list"]) .view-area:nth-of-type(2) {
3569
- background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
3570
- }
3571
- :host([mode="list"]) .view-area:nth-of-type(2) .grid-area-label {
3572
- background-image:
3573
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3574
- linear-gradient(
3575
- 90deg,
3576
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3577
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3267
+ :host([mode="app"]) .view-overlay {
3268
+ grid-template-columns: var(--app-overlay-cols);
3269
+ grid-template-rows: var(--app-layout);
3270
+ grid-template-areas: var(--app-layout-areas);
3271
+ }
3272
+
3273
+ /* List mode - Base */
3274
+ :host([mode="list"]) {
3275
+ --list-cols: 100%;
3276
+ --list-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
3277
+ calc(var(--unit) * var(--sf)) calc(var(--twenty) * var(--sf));
3278
+ --list-areas: "banner" "." "header" "board";
3279
+ --list-overlay-cols: 100%;
3280
+ --list-overlay-rows: calc(var(--unit) * var(--sf))
3281
+ calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
3282
+ calc(var(--twenty) * var(--sf));
3283
+ --list-overlay-areas: "banner" "." "header" "board";
3284
+ grid-template-columns: var(--list-cols);
3285
+ grid-template-rows: var(--list-rows);
3286
+ grid-template-areas: var(--list-areas);
3287
+ min-height: 100vh;
3288
+ background-color: transparent;
3289
+ width: calc(240px * var(--sf, 1));
3290
+ max-width: calc(240px * var(--sf, 1));
3291
+ margin: 0 auto;
3292
+ }
3293
+
3294
+ :host([mode="list"]) .view-overlay {
3295
+ grid-template-columns: var(--list-overlay-cols);
3296
+ grid-template-rows: var(--list-overlay-rows);
3297
+ grid-template-areas: var(--list-overlay-areas);
3298
+ }
3299
+
3300
+ /* Home mode - Base */
3301
+ :host([mode="home"]) {
3302
+ --home-cols: 100%;
3303
+ --home-areas: "banner" "." "header" "." "lists";
3304
+ --home-overlay-cols: 100%;
3305
+ --home-overlay-areas: "banner" "." "header" "." "lists";
3306
+ grid-template-columns: var(--home-cols);
3307
+ grid-template-rows: var(--home-layout);
3308
+ grid-template-areas: var(--home-areas);
3309
+ min-height: 100vh;
3310
+ background-color: transparent;
3311
+ width: calc(240px * var(--sf, 1));
3312
+ max-width: calc(240px * var(--sf, 1));
3313
+ margin: 0 auto;
3314
+ }
3315
+
3316
+ :host([mode="home"]) .view-overlay {
3317
+ grid-template-columns: var(--home-overlay-cols);
3318
+ grid-template-rows: var(--home-layout);
3319
+ grid-template-areas: var(--home-overlay-areas);
3320
+ }
3321
+
3322
+ /* Settings mode - Base */
3323
+ :host([mode="settings"]) {
3324
+ --settings-cols: 100%;
3325
+ --settings-overlay-cols: 100%;
3326
+ grid-template-columns: var(--settings-cols);
3327
+ grid-template-rows: var(--settings-layout);
3328
+ grid-template-areas: var(--settings-layout-areas);
3329
+ min-height: 100vh;
3330
+ background-color: transparent;
3331
+ width: calc(240px * var(--sf, 1));
3332
+ max-width: calc(240px * var(--sf, 1));
3333
+ margin: 0 auto;
3334
+ }
3335
+
3336
+ :host([mode="settings"]) .view-overlay {
3337
+ grid-template-columns: var(--settings-overlay-cols);
3338
+ grid-template-rows: var(--settings-layout);
3339
+ grid-template-areas: var(--settings-layout-areas);
3340
+ }
3341
+
3342
+ .view-overlay {
3343
+ position: absolute;
3344
+ margin-left: -1px;
3345
+ top: 0;
3346
+ left: 0;
3347
+ right: 0;
3348
+ bottom: 0;
3349
+ pointer-events: none;
3350
+ z-index: 1000;
3351
+ display: grid;
3352
+ }
3353
+
3354
+ .view-area {
3355
+ display: flex;
3356
+ width: calc(240px * var(--sf, 1));
3357
+ height: 100%;
3358
+ align-items: center;
3359
+ justify-content: center;
3360
+ font-family: var(--typeface-regular);
3361
+ font-size: calc(var(--type-size-default) * var(--05));
3362
+ color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3363
+ background-color: color-mix(
3364
+ in srgb,
3365
+ var(--accent-color) 25%,
3366
+ transparent
3578
3367
  );
3579
- }
3580
- :host([mode="list"]) .view-area:nth-of-type(3) {
3581
- background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
3582
- }
3583
- :host([mode="list"]) .view-area:nth-of-type(3) .grid-area-label {
3584
- background-image:
3585
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3586
- linear-gradient(
3587
- 90deg,
3588
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
3589
- color-mix(in srgb, var(--yellow) 70%, black) 100%
3368
+ opacity: 1;
3369
+ position: relative;
3370
+ }
3371
+
3372
+ .grid-area-label {
3373
+ position: absolute;
3374
+ top: calc(-20px * var(--sf, 1));
3375
+ left: 0;
3376
+ height: calc(20px * var(--sf, 1));
3377
+ width: fit-content;
3378
+ display: inline-flex;
3379
+ align-items: center;
3380
+ justify-content: center;
3381
+ padding: 0 calc(4px * var(--sf, 1));
3382
+ border-radius: calc(2px * var(--sf, 1));
3383
+ z-index: 10000;
3384
+ pointer-events: none;
3385
+ white-space: nowrap;
3386
+ }
3387
+
3388
+ /* Banner label stays inside the area (first item) */
3389
+ :host([mode="app"]) .view-area.view-banner .grid-area-label,
3390
+ :host([mode="list"]) .view-area.view-banner .grid-area-label,
3391
+ :host([mode="home"]) .view-area.view-banner .grid-area-label,
3392
+ :host([mode="settings"]) .view-area.view-banner .grid-area-label,
3393
+ :host([mode="company"]) .view-area.view-header .grid-area-label,
3394
+ :host([mode="portfolio"]) .view-area.view-square .grid-area-label {
3395
+ top: 0;
3396
+ }
3397
+
3398
+ .grid-area-label ds-text {
3399
+ font-size: calc(11px * var(--sf, 1));
3400
+ line-height: 1;
3401
+ color: white;
3402
+ text-transform: lowercase;
3403
+ }
3404
+
3405
+ :host([mode="portfolio"]) .view-area:nth-of-type(1) {
3406
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3407
+ }
3408
+ :host([mode="portfolio"]) .view-area:nth-of-type(1) .grid-area-label {
3409
+ background-image:
3410
+ linear-gradient(
3411
+ 90deg,
3412
+ rgba(0, 0, 0, 0.2) 0%,
3413
+ rgba(0, 0, 0, 0.2) 100%
3414
+ ),
3415
+ linear-gradient(
3416
+ 90deg,
3417
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3418
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3419
+ );
3420
+ }
3421
+ :host([mode="portfolio"]) .view-area:nth-of-type(2) {
3422
+ border-color: var(--sharp-blue);
3423
+ }
3424
+ :host([mode="portfolio"]) .view-area:nth-of-type(2) .grid-area-label {
3425
+ background-image:
3426
+ linear-gradient(
3427
+ 90deg,
3428
+ rgba(0, 0, 0, 0.2) 0%,
3429
+ rgba(0, 0, 0, 0.2) 100%
3430
+ ),
3431
+ linear-gradient(
3432
+ 90deg,
3433
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3434
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3435
+ );
3436
+ }
3437
+ :host([mode="portfolio"]) .view-area:nth-of-type(3) {
3438
+ border-color: var(--yellow);
3439
+ }
3440
+ :host([mode="portfolio"]) .view-area:nth-of-type(3) .grid-area-label {
3441
+ background-image:
3442
+ linear-gradient(
3443
+ 90deg,
3444
+ rgba(0, 0, 0, 0.2) 0%,
3445
+ rgba(0, 0, 0, 0.2) 100%
3446
+ ),
3447
+ linear-gradient(
3448
+ 90deg,
3449
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
3450
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
3451
+ );
3452
+ }
3453
+ :host([mode="portfolio"]) .view-area:nth-of-type(4) {
3454
+ border-color: var(--apple-green);
3455
+ }
3456
+ :host([mode="portfolio"]) .view-area:nth-of-type(4) .grid-area-label {
3457
+ background-image:
3458
+ linear-gradient(
3459
+ 90deg,
3460
+ rgba(0, 0, 0, 0.2) 0%,
3461
+ rgba(0, 0, 0, 0.2) 100%
3462
+ ),
3463
+ linear-gradient(
3464
+ 90deg,
3465
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3466
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
3467
+ );
3468
+ }
3469
+ :host([mode="portfolio"]) .view-area:nth-of-type(5) {
3470
+ border-color: var(--pink);
3471
+ }
3472
+ :host([mode="portfolio"]) .view-area:nth-of-type(5) .grid-area-label {
3473
+ background-image:
3474
+ linear-gradient(
3475
+ 90deg,
3476
+ rgba(0, 0, 0, 0.2) 0%,
3477
+ rgba(0, 0, 0, 0.2) 100%
3478
+ ),
3479
+ linear-gradient(
3480
+ 90deg,
3481
+ color-mix(in srgb, var(--pink) 70%, black) 0%,
3482
+ color-mix(in srgb, var(--pink) 70%, black) 100%
3483
+ );
3484
+ }
3485
+ :host([mode="portfolio"]) .view-area:nth-of-type(6) {
3486
+ border-color: var(--orange);
3487
+ }
3488
+ :host([mode="portfolio"]) .view-area:nth-of-type(6) .grid-area-label {
3489
+ background-image:
3490
+ linear-gradient(
3491
+ 90deg,
3492
+ rgba(0, 0, 0, 0.2) 0%,
3493
+ rgba(0, 0, 0, 0.2) 100%
3494
+ ),
3495
+ linear-gradient(
3496
+ 90deg,
3497
+ color-mix(in srgb, var(--orange) 70%, black) 0%,
3498
+ color-mix(in srgb, var(--orange) 70%, black) 100%
3499
+ );
3500
+ }
3501
+ :host([mode="portfolio"]) .view-area:nth-of-type(7) {
3502
+ border-color: var(--zenith-blue);
3503
+ }
3504
+ :host([mode="portfolio"]) .view-area:nth-of-type(7) .grid-area-label {
3505
+ background-image:
3506
+ linear-gradient(
3507
+ 90deg,
3508
+ rgba(0, 0, 0, 0.2) 0%,
3509
+ rgba(0, 0, 0, 0.2) 100%
3510
+ ),
3511
+ linear-gradient(
3512
+ 90deg,
3513
+ color-mix(in srgb, var(--zenith-blue) 70%, black) 0%,
3514
+ color-mix(in srgb, var(--zenith-blue) 70%, black) 100%
3515
+ );
3516
+ }
3517
+
3518
+ :host([mode="company"]) .view-area:nth-of-type(1) {
3519
+ border-color: var(--tuned-red);
3520
+ }
3521
+ :host([mode="company"]) .view-area:nth-of-type(1) .grid-area-label {
3522
+ background-image:
3523
+ linear-gradient(
3524
+ 90deg,
3525
+ rgba(0, 0, 0, 0.2) 0%,
3526
+ rgba(0, 0, 0, 0.2) 100%
3527
+ ),
3528
+ linear-gradient(
3529
+ 90deg,
3530
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3531
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3532
+ );
3533
+ }
3534
+ :host([mode="company"]) .view-area:nth-of-type(2) {
3535
+ border-color: var(--sharp-blue);
3536
+ }
3537
+ :host([mode="company"]) .view-area:nth-of-type(2) .grid-area-label {
3538
+ background-image:
3539
+ linear-gradient(
3540
+ 90deg,
3541
+ rgba(0, 0, 0, 0.2) 0%,
3542
+ rgba(0, 0, 0, 0.2) 100%
3543
+ ),
3544
+ linear-gradient(
3545
+ 90deg,
3546
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3547
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3548
+ );
3549
+ }
3550
+ :host([mode="company"]) .view-area:nth-of-type(3) {
3551
+ border-color: var(--yellow);
3552
+ }
3553
+ :host([mode="company"]) .view-area:nth-of-type(3) .grid-area-label {
3554
+ background-image:
3555
+ linear-gradient(
3556
+ 90deg,
3557
+ rgba(0, 0, 0, 0.2) 0%,
3558
+ rgba(0, 0, 0, 0.2) 100%
3559
+ ),
3560
+ linear-gradient(
3561
+ 90deg,
3562
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
3563
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
3564
+ );
3565
+ }
3566
+
3567
+ :host([mode="app"]) .view-area:nth-of-type(1) {
3568
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3569
+ }
3570
+ :host([mode="app"]) .view-area:nth-of-type(1) .grid-area-label {
3571
+ background-image:
3572
+ linear-gradient(
3573
+ 90deg,
3574
+ rgba(0, 0, 0, 0.2) 0%,
3575
+ rgba(0, 0, 0, 0.2) 100%
3576
+ ),
3577
+ linear-gradient(
3578
+ 90deg,
3579
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3580
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3581
+ );
3582
+ }
3583
+ :host([mode="app"]) .view-area:nth-of-type(2) {
3584
+ background-color: color-mix(
3585
+ in srgb,
3586
+ var(--sharp-blue) 25%,
3587
+ transparent
3590
3588
  );
3591
- }
3592
- :host([mode="list"]) .view-area:nth-of-type(4) {
3593
- background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
3594
- }
3595
- :host([mode="list"]) .view-area:nth-of-type(4) .grid-area-label {
3596
- background-image:
3597
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3598
- linear-gradient(
3599
- 90deg,
3600
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3601
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
3589
+ }
3590
+ :host([mode="app"]) .view-area:nth-of-type(2) .grid-area-label {
3591
+ background-image:
3592
+ linear-gradient(
3593
+ 90deg,
3594
+ rgba(0, 0, 0, 0.2) 0%,
3595
+ rgba(0, 0, 0, 0.2) 100%
3596
+ ),
3597
+ linear-gradient(
3598
+ 90deg,
3599
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3600
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3601
+ );
3602
+ }
3603
+ :host([mode="app"]) .view-area:nth-of-type(3) {
3604
+ background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
3605
+ }
3606
+ :host([mode="app"]) .view-area:nth-of-type(3) .grid-area-label {
3607
+ background-image:
3608
+ linear-gradient(
3609
+ 90deg,
3610
+ rgba(0, 0, 0, 0.2) 0%,
3611
+ rgba(0, 0, 0, 0.2) 100%
3612
+ ),
3613
+ linear-gradient(
3614
+ 90deg,
3615
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
3616
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
3617
+ );
3618
+ }
3619
+ :host([mode="app"]) .view-area:nth-of-type(4) {
3620
+ background-color: color-mix(
3621
+ in srgb,
3622
+ var(--apple-green) 25%,
3623
+ transparent
3602
3624
  );
3603
- }
3625
+ }
3626
+ :host([mode="app"]) .view-area:nth-of-type(4) .grid-area-label {
3627
+ background-image:
3628
+ linear-gradient(
3629
+ 90deg,
3630
+ rgba(0, 0, 0, 0.2) 0%,
3631
+ rgba(0, 0, 0, 0.2) 100%
3632
+ ),
3633
+ linear-gradient(
3634
+ 90deg,
3635
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3636
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
3637
+ );
3638
+ }
3639
+ :host([mode="app"]) .view-area:nth-of-type(5) {
3640
+ background-color: color-mix(in srgb, var(--pink) 25%, transparent);
3641
+ }
3642
+ :host([mode="app"]) .view-area:nth-of-type(5) .grid-area-label {
3643
+ background-image:
3644
+ linear-gradient(
3645
+ 90deg,
3646
+ rgba(0, 0, 0, 0.2) 0%,
3647
+ rgba(0, 0, 0, 0.2) 100%
3648
+ ),
3649
+ linear-gradient(
3650
+ 90deg,
3651
+ color-mix(in srgb, var(--pink) 70%, black) 0%,
3652
+ color-mix(in srgb, var(--pink) 70%, black) 100%
3653
+ );
3654
+ }
3604
3655
 
3605
- :host([mode="home"]) .view-area:nth-of-type(1) {
3606
- background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3607
- }
3608
- :host([mode="home"]) .view-area:nth-of-type(1) .grid-area-label {
3609
- background-image:
3610
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3611
- linear-gradient(
3612
- 90deg,
3613
- color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3614
- color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3615
- );
3616
- }
3617
- :host([mode="home"]) .view-area:nth-of-type(2) {
3618
- background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
3619
- }
3620
- :host([mode="home"]) .view-area:nth-of-type(2) .grid-area-label {
3621
- background-image:
3622
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3623
- linear-gradient(
3624
- 90deg,
3625
- color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3626
- color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3656
+ :host([mode="list"]) .view-area:nth-of-type(1) {
3657
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3658
+ }
3659
+ :host([mode="list"]) .view-area:nth-of-type(1) .grid-area-label {
3660
+ background-image:
3661
+ linear-gradient(
3662
+ 90deg,
3663
+ rgba(0, 0, 0, 0.2) 0%,
3664
+ rgba(0, 0, 0, 0.2) 100%
3665
+ ),
3666
+ linear-gradient(
3667
+ 90deg,
3668
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3669
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3670
+ );
3671
+ }
3672
+ :host([mode="list"]) .view-area:nth-of-type(2) {
3673
+ background-color: color-mix(
3674
+ in srgb,
3675
+ var(--sharp-blue) 25%,
3676
+ transparent
3627
3677
  );
3628
- }
3629
- :host([mode="home"]) .view-area:nth-of-type(3) {
3630
- background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
3631
- }
3632
- :host([mode="home"]) .view-area:nth-of-type(3) .grid-area-label {
3633
- background-image:
3634
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3635
- linear-gradient(
3636
- 90deg,
3637
- color-mix(in srgb, var(--yellow) 70%, black) 0%,
3638
- color-mix(in srgb, var(--yellow) 70%, black) 100%
3678
+ }
3679
+ :host([mode="list"]) .view-area:nth-of-type(2) .grid-area-label {
3680
+ background-image:
3681
+ linear-gradient(
3682
+ 90deg,
3683
+ rgba(0, 0, 0, 0.2) 0%,
3684
+ rgba(0, 0, 0, 0.2) 100%
3685
+ ),
3686
+ linear-gradient(
3687
+ 90deg,
3688
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3689
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3690
+ );
3691
+ }
3692
+ :host([mode="list"]) .view-area:nth-of-type(3) {
3693
+ background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
3694
+ }
3695
+ :host([mode="list"]) .view-area:nth-of-type(3) .grid-area-label {
3696
+ background-image:
3697
+ linear-gradient(
3698
+ 90deg,
3699
+ rgba(0, 0, 0, 0.2) 0%,
3700
+ rgba(0, 0, 0, 0.2) 100%
3701
+ ),
3702
+ linear-gradient(
3703
+ 90deg,
3704
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
3705
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
3706
+ );
3707
+ }
3708
+ :host([mode="list"]) .view-area:nth-of-type(4) {
3709
+ background-color: color-mix(
3710
+ in srgb,
3711
+ var(--apple-green) 25%,
3712
+ transparent
3639
3713
  );
3640
- }
3641
- :host([mode="home"]) .view-area:nth-of-type(4) {
3642
- background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
3643
- }
3644
- :host([mode="home"]) .view-area:nth-of-type(4) .grid-area-label {
3645
- background-image:
3646
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3647
- linear-gradient(
3648
- 90deg,
3649
- color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3650
- color-mix(in srgb, var(--apple-green) 70%, black) 100%
3714
+ }
3715
+ :host([mode="list"]) .view-area:nth-of-type(4) .grid-area-label {
3716
+ background-image:
3717
+ linear-gradient(
3718
+ 90deg,
3719
+ rgba(0, 0, 0, 0.2) 0%,
3720
+ rgba(0, 0, 0, 0.2) 100%
3721
+ ),
3722
+ linear-gradient(
3723
+ 90deg,
3724
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3725
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
3726
+ );
3727
+ }
3728
+
3729
+ :host([mode="home"]) .view-area:nth-of-type(1) {
3730
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3731
+ }
3732
+ :host([mode="home"]) .view-area:nth-of-type(1) .grid-area-label {
3733
+ background-image:
3734
+ linear-gradient(
3735
+ 90deg,
3736
+ rgba(0, 0, 0, 0.2) 0%,
3737
+ rgba(0, 0, 0, 0.2) 100%
3738
+ ),
3739
+ linear-gradient(
3740
+ 90deg,
3741
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3742
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3743
+ );
3744
+ }
3745
+ :host([mode="home"]) .view-area:nth-of-type(2) {
3746
+ background-color: color-mix(
3747
+ in srgb,
3748
+ var(--sharp-blue) 25%,
3749
+ transparent
3651
3750
  );
3652
- }
3653
- :host([mode="home"]) .view-area:nth-of-type(5) {
3654
- background-color: color-mix(in srgb, var(--pink) 25%, transparent);
3655
- }
3656
- :host([mode="home"]) .view-area:nth-of-type(5) .grid-area-label {
3657
- background-image:
3658
- linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
3659
- linear-gradient(
3660
- 90deg,
3661
- color-mix(in srgb, var(--pink) 70%, black) 0%,
3662
- color-mix(in srgb, var(--pink) 70%, black) 100%
3751
+ }
3752
+ :host([mode="home"]) .view-area:nth-of-type(2) .grid-area-label {
3753
+ background-image:
3754
+ linear-gradient(
3755
+ 90deg,
3756
+ rgba(0, 0, 0, 0.2) 0%,
3757
+ rgba(0, 0, 0, 0.2) 100%
3758
+ ),
3759
+ linear-gradient(
3760
+ 90deg,
3761
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3762
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3763
+ );
3764
+ }
3765
+ :host([mode="home"]) .view-area:nth-of-type(3) {
3766
+ background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
3767
+ }
3768
+ :host([mode="home"]) .view-area:nth-of-type(3) .grid-area-label {
3769
+ background-image:
3770
+ linear-gradient(
3771
+ 90deg,
3772
+ rgba(0, 0, 0, 0.2) 0%,
3773
+ rgba(0, 0, 0, 0.2) 100%
3774
+ ),
3775
+ linear-gradient(
3776
+ 90deg,
3777
+ color-mix(in srgb, var(--yellow) 70%, black) 0%,
3778
+ color-mix(in srgb, var(--yellow) 70%, black) 100%
3779
+ );
3780
+ }
3781
+ :host([mode="home"]) .view-area:nth-of-type(4) {
3782
+ background-color: color-mix(
3783
+ in srgb,
3784
+ var(--apple-green) 25%,
3785
+ transparent
3663
3786
  );
3664
- }
3787
+ }
3788
+ :host([mode="home"]) .view-area:nth-of-type(4) .grid-area-label {
3789
+ background-image:
3790
+ linear-gradient(
3791
+ 90deg,
3792
+ rgba(0, 0, 0, 0.2) 0%,
3793
+ rgba(0, 0, 0, 0.2) 100%
3794
+ ),
3795
+ linear-gradient(
3796
+ 90deg,
3797
+ color-mix(in srgb, var(--apple-green) 70%, black) 0%,
3798
+ color-mix(in srgb, var(--apple-green) 70%, black) 100%
3799
+ );
3800
+ }
3801
+ :host([mode="home"]) .view-area:nth-of-type(5) {
3802
+ background-color: color-mix(in srgb, var(--pink) 25%, transparent);
3803
+ }
3804
+ :host([mode="home"]) .view-area:nth-of-type(5) .grid-area-label {
3805
+ background-image:
3806
+ linear-gradient(
3807
+ 90deg,
3808
+ rgba(0, 0, 0, 0.2) 0%,
3809
+ rgba(0, 0, 0, 0.2) 100%
3810
+ ),
3811
+ linear-gradient(
3812
+ 90deg,
3813
+ color-mix(in srgb, var(--pink) 70%, black) 0%,
3814
+ color-mix(in srgb, var(--pink) 70%, black) 100%
3815
+ );
3816
+ }
3665
3817
 
3666
- .view-square {
3667
- grid-area: square;
3668
- }
3818
+ .view-square {
3819
+ grid-area: square;
3820
+ }
3669
3821
 
3670
- .view-title {
3671
- grid-area: title;
3672
- }
3822
+ .view-title {
3823
+ grid-area: title;
3824
+ }
3673
3825
 
3674
- .view-header {
3675
- grid-area: header;
3676
- }
3826
+ .view-header {
3827
+ grid-area: header;
3828
+ }
3677
3829
 
3678
- .view-projects {
3679
- grid-area: projects;
3680
- }
3830
+ .view-projects {
3831
+ grid-area: projects;
3832
+ }
3681
3833
 
3682
- .view-bio {
3683
- grid-area: bio;
3684
- }
3834
+ .view-bio {
3835
+ grid-area: bio;
3836
+ }
3685
3837
 
3686
- .view-nav {
3687
- grid-area: nav;
3688
- }
3838
+ .view-nav {
3839
+ grid-area: nav;
3840
+ }
3689
3841
 
3690
- .view-footer {
3691
- grid-area: footer;
3692
- }
3842
+ .view-footer {
3843
+ grid-area: footer;
3844
+ }
3693
3845
 
3694
- .view-content {
3695
- grid-area: content;
3696
- }
3846
+ .view-content {
3847
+ grid-area: content;
3848
+ }
3697
3849
 
3698
- .view-banner {
3699
- grid-area: banner;
3700
- }
3850
+ .view-banner {
3851
+ grid-area: banner;
3852
+ }
3701
3853
 
3702
- .view-main {
3703
- grid-area: main;
3704
- }
3854
+ .view-main {
3855
+ grid-area: main;
3856
+ }
3705
3857
 
3706
- .view-page-dots {
3707
- grid-area: page-dots;
3708
- }
3858
+ .view-page-dots {
3859
+ grid-area: page-dots;
3860
+ }
3709
3861
 
3710
- .view-board {
3711
- grid-area: board;
3712
- }
3862
+ .view-board {
3863
+ grid-area: board;
3864
+ }
3713
3865
 
3714
- .view-message {
3715
- grid-area: message;
3716
- }
3866
+ .view-message {
3867
+ grid-area: message;
3868
+ }
3717
3869
 
3718
- .view-lists {
3719
- grid-area: lists;
3720
- }
3870
+ .view-lists {
3871
+ grid-area: lists;
3872
+ }
3873
+
3874
+ .view-settings {
3875
+ grid-area: settings;
3876
+ }
3877
+
3878
+ :host([mode="settings"]) .view-area:nth-of-type(1) {
3879
+ background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
3880
+ }
3881
+ :host([mode="settings"]) .view-area:nth-of-type(1) .grid-area-label {
3882
+ background-image:
3883
+ linear-gradient(
3884
+ 90deg,
3885
+ rgba(0, 0, 0, 0.2) 0%,
3886
+ rgba(0, 0, 0, 0.2) 100%
3887
+ ),
3888
+ linear-gradient(
3889
+ 90deg,
3890
+ color-mix(in srgb, var(--tuned-red) 70%, black) 0%,
3891
+ color-mix(in srgb, var(--tuned-red) 70%, black) 100%
3892
+ );
3893
+ }
3894
+ :host([mode="settings"]) .view-area:nth-of-type(2) {
3895
+ background-color: color-mix(
3896
+ in srgb,
3897
+ var(--sharp-blue) 25%,
3898
+ transparent
3899
+ );
3900
+ }
3901
+ :host([mode="settings"]) .view-area:nth-of-type(2) .grid-area-label {
3902
+ background-image:
3903
+ linear-gradient(
3904
+ 90deg,
3905
+ rgba(0, 0, 0, 0.2) 0%,
3906
+ rgba(0, 0, 0, 0.2) 100%
3907
+ ),
3908
+ linear-gradient(
3909
+ 90deg,
3910
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 0%,
3911
+ color-mix(in srgb, var(--sharp-blue) 70%, black) 100%
3912
+ );
3913
+ }
3721
3914
  `
3722
3915
  ];
3723
3916
  let et = xe;
@@ -3734,38 +3927,38 @@ export {
3734
3927
  Ge as Form,
3735
3928
  Ue as Gap,
3736
3929
  Qe as Grid,
3737
- Be as Icon,
3930
+ Pe as Icon,
3738
3931
  qe as Input,
3739
3932
  et as Layout,
3740
3933
  Je as List,
3741
3934
  Fe as Row,
3742
3935
  Ze as Text,
3743
3936
  We as Tooltip,
3744
- Ia as applike,
3937
+ Ii as applike,
3745
3938
  Rr as calculateScalingFactor,
3746
3939
  L as currentLanguage,
3747
3940
  X as currentTheme,
3748
- ot as detectMobileDevice,
3749
- Pa as getAvailableLanguages,
3750
- Ht as getAvailableLanguagesSync,
3941
+ nt as detectMobileDevice,
3942
+ Bi as getAvailableLanguages,
3943
+ Vt as getAvailableLanguagesSync,
3751
3944
  Xr as getBrowserLanguage,
3752
3945
  Dr as getDeviceInfo,
3753
3946
  Yr as getLanguageDisplayName,
3754
- Da as getPriceLabel,
3755
- Na as getScalingFactor,
3756
- oe as getText,
3757
- Oa as hasTranslation,
3758
- ae as initDeviceDetection,
3759
- Ba as loadTranslations,
3947
+ Di as getPriceLabel,
3948
+ Ni as getScalingFactor,
3949
+ ne as getText,
3950
+ Oi as hasTranslation,
3951
+ ie as initDeviceDetection,
3952
+ Pi as loadTranslations,
3760
3953
  N as savePreferences,
3761
- Za as scale,
3954
+ Zi as scale,
3762
3955
  Y as scalingConfig,
3763
- P as scalingFactor,
3956
+ B as scalingFactor,
3764
3957
  Mt as setLanguage,
3765
- Ta as setScalingConfig,
3766
- ta as setTheme,
3958
+ Ti as setScalingConfig,
3959
+ ti as setTheme,
3767
3960
  U as translate,
3768
- za as unscale,
3961
+ zi as unscale,
3769
3962
  Kt as updateScalingFactor
3770
3963
  };
3771
3964
  //# sourceMappingURL=ds-one.bundle.min.js.map