@urnetwork/elements 0.0.1-beta.5 → 2026.4.4-905345430

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,11 +1,11 @@
1
- import { css as c, LitElement as p, html as h } from "lit";
2
- import { unsafeStatic as ct, html as pt } from "lit/static-html.js";
1
+ import { css as c, LitElement as d, html as h } from "lit";
2
+ import { unsafeStatic as at, html as ht } from "lit/static-html.js";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2017 Google LLC
6
6
  * SPDX-License-Identifier: BSD-3-Clause
7
7
  */
8
- const d = (i) => (t, e) => {
8
+ const u = (i) => (t, e) => {
9
9
  e !== void 0 ? e.addInitializer(() => {
10
10
  customElements.define(i, t);
11
11
  }) : customElements.define(i, t);
@@ -15,10 +15,10 @@ const d = (i) => (t, e) => {
15
15
  * Copyright 2019 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- const D = globalThis, V = D.ShadowRoot && (D.ShadyCSS === void 0 || D.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, rt = Symbol(), J = /* @__PURE__ */ new WeakMap();
19
- let dt = class {
18
+ const D = globalThis, V = D.ShadowRoot && (D.ShadyCSS === void 0 || D.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), G = /* @__PURE__ */ new WeakMap();
19
+ let ct = class {
20
20
  constructor(t, e, o) {
21
- if (this._$cssResult$ = !0, o !== rt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
21
+ if (this._$cssResult$ = !0, o !== et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
22
22
  this.cssText = t, this.t = e;
23
23
  }
24
24
  get styleSheet() {
@@ -26,7 +26,7 @@ let dt = class {
26
26
  const e = this.t;
27
27
  if (V && t === void 0) {
28
28
  const o = e !== void 0 && e.length === 1;
29
- o && (t = J.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && J.set(e, t));
29
+ o && (t = G.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && G.set(e, t));
30
30
  }
31
31
  return t;
32
32
  }
@@ -34,26 +34,26 @@ let dt = class {
34
34
  return this.cssText;
35
35
  }
36
36
  };
37
- const ut = (i) => new dt(typeof i == "string" ? i : i + "", void 0, rt), ft = (i, t) => {
37
+ const pt = (i) => new ct(typeof i == "string" ? i : i + "", void 0, et), dt = (i, t) => {
38
38
  if (V) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
39
39
  else for (const e of t) {
40
40
  const o = document.createElement("style"), r = D.litNonce;
41
41
  r !== void 0 && o.setAttribute("nonce", r), o.textContent = e.cssText, i.appendChild(o);
42
42
  }
43
- }, Y = V ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
43
+ }, J = V ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
44
44
  let e = "";
45
45
  for (const o of t.cssRules) e += o.cssText;
46
- return ut(e);
46
+ return pt(e);
47
47
  })(i) : i;
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
52
  */
53
- const { is: vt, defineProperty: mt, getOwnPropertyDescriptor: gt, getOwnPropertyNames: bt, getOwnPropertySymbols: yt, getPrototypeOf: wt } = Object, y = globalThis, X = y.trustedTypes, Ct = X ? X.emptyScript : "", T = y.reactiveElementPolyfillSupport, E = (i, t) => i, H = { toAttribute(i, t) {
53
+ const { is: ut, defineProperty: ft, getOwnPropertyDescriptor: vt, getOwnPropertyNames: mt, getOwnPropertySymbols: gt, getPrototypeOf: bt } = Object, y = globalThis, Y = y.trustedTypes, yt = Y ? Y.emptyScript : "", T = y.reactiveElementPolyfillSupport, P = (i, t) => i, H = { toAttribute(i, t) {
54
54
  switch (t) {
55
55
  case Boolean:
56
- i = i ? Ct : null;
56
+ i = i ? yt : null;
57
57
  break;
58
58
  case Object:
59
59
  case Array:
@@ -78,44 +78,44 @@ const { is: vt, defineProperty: mt, getOwnPropertyDescriptor: gt, getOwnProperty
78
78
  }
79
79
  }
80
80
  return e;
81
- } }, K = (i, t) => !vt(i, t), Q = { attribute: !0, type: String, converter: H, reflect: !1, useDefault: !1, hasChanged: K };
81
+ } }, K = (i, t) => !ut(i, t), X = { attribute: !0, type: String, converter: H, reflect: !1, useDefault: !1, hasChanged: K };
82
82
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), y.litPropertyMetadata ?? (y.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
83
- class M extends HTMLElement {
83
+ class S extends HTMLElement {
84
84
  static addInitializer(t) {
85
85
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
86
86
  }
87
87
  static get observedAttributes() {
88
88
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
89
89
  }
90
- static createProperty(t, e = Q) {
90
+ static createProperty(t, e = X) {
91
91
  if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
92
92
  const o = Symbol(), r = this.getPropertyDescriptor(t, o, e);
93
- r !== void 0 && mt(this.prototype, t, r);
93
+ r !== void 0 && ft(this.prototype, t, r);
94
94
  }
95
95
  }
96
96
  static getPropertyDescriptor(t, e, o) {
97
- const { get: r, set: s } = gt(this.prototype, t) ?? { get() {
97
+ const { get: r, set: l } = vt(this.prototype, t) ?? { get() {
98
98
  return this[e];
99
- }, set(l) {
100
- this[e] = l;
99
+ }, set(s) {
100
+ this[e] = s;
101
101
  } };
102
- return { get: r, set(l) {
102
+ return { get: r, set(s) {
103
103
  const a = r == null ? void 0 : r.call(this);
104
- s == null || s.call(this, l), this.requestUpdate(t, a, o);
104
+ l == null || l.call(this, s), this.requestUpdate(t, a, o);
105
105
  }, configurable: !0, enumerable: !0 };
106
106
  }
107
107
  static getPropertyOptions(t) {
108
- return this.elementProperties.get(t) ?? Q;
108
+ return this.elementProperties.get(t) ?? X;
109
109
  }
110
110
  static _$Ei() {
111
- if (this.hasOwnProperty(E("elementProperties"))) return;
112
- const t = wt(this);
111
+ if (this.hasOwnProperty(P("elementProperties"))) return;
112
+ const t = bt(this);
113
113
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
114
114
  }
115
115
  static finalize() {
116
- if (this.hasOwnProperty(E("finalized"))) return;
117
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(E("properties"))) {
118
- const e = this.properties, o = [...bt(e), ...yt(e)];
116
+ if (this.hasOwnProperty(P("finalized"))) return;
117
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(P("properties"))) {
118
+ const e = this.properties, o = [...mt(e), ...gt(e)];
119
119
  for (const r of o) this.createProperty(r, e[r]);
120
120
  }
121
121
  const t = this[Symbol.metadata];
@@ -134,8 +134,8 @@ class M extends HTMLElement {
134
134
  const e = [];
135
135
  if (Array.isArray(t)) {
136
136
  const o = new Set(t.flat(1 / 0).reverse());
137
- for (const r of o) e.unshift(Y(r));
138
- } else t !== void 0 && e.push(Y(t));
137
+ for (const r of o) e.unshift(J(r));
138
+ } else t !== void 0 && e.push(J(t));
139
139
  return e;
140
140
  }
141
141
  static _$Eu(t, e) {
@@ -164,7 +164,7 @@ class M extends HTMLElement {
164
164
  }
165
165
  createRenderRoot() {
166
166
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
167
- return ft(t, this.constructor.elementStyles), t;
167
+ return dt(t, this.constructor.elementStyles), t;
168
168
  }
169
169
  connectedCallback() {
170
170
  var t;
@@ -186,34 +186,34 @@ class M extends HTMLElement {
186
186
  this._$AK(t, o);
187
187
  }
188
188
  _$ET(t, e) {
189
- var s;
189
+ var l;
190
190
  const o = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, o);
191
191
  if (r !== void 0 && o.reflect === !0) {
192
- const l = (((s = o.converter) == null ? void 0 : s.toAttribute) !== void 0 ? o.converter : H).toAttribute(e, o.type);
193
- this._$Em = t, l == null ? this.removeAttribute(r) : this.setAttribute(r, l), this._$Em = null;
192
+ const s = (((l = o.converter) == null ? void 0 : l.toAttribute) !== void 0 ? o.converter : H).toAttribute(e, o.type);
193
+ this._$Em = t, s == null ? this.removeAttribute(r) : this.setAttribute(r, s), this._$Em = null;
194
194
  }
195
195
  }
196
196
  _$AK(t, e) {
197
- var s, l;
197
+ var l, s;
198
198
  const o = this.constructor, r = o._$Eh.get(t);
199
199
  if (r !== void 0 && this._$Em !== r) {
200
- const a = o.getPropertyOptions(r), v = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((s = a.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? a.converter : H;
200
+ const a = o.getPropertyOptions(r), v = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((l = a.converter) == null ? void 0 : l.fromAttribute) !== void 0 ? a.converter : H;
201
201
  this._$Em = r;
202
202
  const B = v.fromAttribute(e, a.type);
203
- this[r] = B ?? ((l = this._$Ej) == null ? void 0 : l.get(r)) ?? B, this._$Em = null;
203
+ this[r] = B ?? ((s = this._$Ej) == null ? void 0 : s.get(r)) ?? B, this._$Em = null;
204
204
  }
205
205
  }
206
- requestUpdate(t, e, o, r = !1, s) {
207
- var l;
206
+ requestUpdate(t, e, o, r = !1, l) {
207
+ var s;
208
208
  if (t !== void 0) {
209
209
  const a = this.constructor;
210
- if (r === !1 && (s = this[t]), o ?? (o = a.getPropertyOptions(t)), !((o.hasChanged ?? K)(s, e) || o.useDefault && o.reflect && s === ((l = this._$Ej) == null ? void 0 : l.get(t)) && !this.hasAttribute(a._$Eu(t, o)))) return;
210
+ if (r === !1 && (l = this[t]), o ?? (o = a.getPropertyOptions(t)), !((o.hasChanged ?? K)(l, e) || o.useDefault && o.reflect && l === ((s = this._$Ej) == null ? void 0 : s.get(t)) && !this.hasAttribute(a._$Eu(t, o)))) return;
211
211
  this.C(t, e, o);
212
212
  }
213
213
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
214
214
  }
215
- C(t, e, { useDefault: o, reflect: r, wrapped: s }, l) {
216
- o && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, l ?? e ?? this[t]), s !== !0 || l !== void 0) || (this._$AL.has(t) || (this.hasUpdated || o || (e = void 0), this._$AL.set(t, e)), r === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
215
+ C(t, e, { useDefault: o, reflect: r, wrapped: l }, s) {
216
+ o && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), l !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || o || (e = void 0), this._$AL.set(t, e)), r === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
217
217
  }
218
218
  async _$EP() {
219
219
  this.isUpdatePending = !0;
@@ -233,21 +233,21 @@ class M extends HTMLElement {
233
233
  if (!this.isUpdatePending) return;
234
234
  if (!this.hasUpdated) {
235
235
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
236
- for (const [s, l] of this._$Ep) this[s] = l;
236
+ for (const [l, s] of this._$Ep) this[l] = s;
237
237
  this._$Ep = void 0;
238
238
  }
239
239
  const r = this.constructor.elementProperties;
240
- if (r.size > 0) for (const [s, l] of r) {
241
- const { wrapped: a } = l, v = this[s];
242
- a !== !0 || this._$AL.has(s) || v === void 0 || this.C(s, void 0, l, v);
240
+ if (r.size > 0) for (const [l, s] of r) {
241
+ const { wrapped: a } = s, v = this[l];
242
+ a !== !0 || this._$AL.has(l) || v === void 0 || this.C(l, void 0, s, v);
243
243
  }
244
244
  }
245
245
  let t = !1;
246
246
  const e = this._$AL;
247
247
  try {
248
248
  t = this.shouldUpdate(e), t ? (this.willUpdate(e), (o = this._$EO) == null || o.forEach((r) => {
249
- var s;
250
- return (s = r.hostUpdate) == null ? void 0 : s.call(r);
249
+ var l;
250
+ return (l = r.hostUpdate) == null ? void 0 : l.call(r);
251
251
  }), this.update(e)) : this._$EM();
252
252
  } catch (r) {
253
253
  throw t = !1, this._$EM(), r;
@@ -283,37 +283,37 @@ class M extends HTMLElement {
283
283
  firstUpdated(t) {
284
284
  }
285
285
  }
286
- M.elementStyles = [], M.shadowRootOptions = { mode: "open" }, M[E("elementProperties")] = /* @__PURE__ */ new Map(), M[E("finalized")] = /* @__PURE__ */ new Map(), T == null || T({ ReactiveElement: M }), (y.reactiveElementVersions ?? (y.reactiveElementVersions = [])).push("2.1.2");
286
+ S.elementStyles = [], S.shadowRootOptions = { mode: "open" }, S[P("elementProperties")] = /* @__PURE__ */ new Map(), S[P("finalized")] = /* @__PURE__ */ new Map(), T == null || T({ ReactiveElement: S }), (y.reactiveElementVersions ?? (y.reactiveElementVersions = [])).push("2.1.2");
287
287
  /**
288
288
  * @license
289
289
  * Copyright 2017 Google LLC
290
290
  * SPDX-License-Identifier: BSD-3-Clause
291
291
  */
292
- const kt = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: K }, _t = (i = kt, t, e) => {
292
+ const wt = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: K }, Ct = (i = wt, t, e) => {
293
293
  const { kind: o, metadata: r } = e;
294
- let s = globalThis.litPropertyMetadata.get(r);
295
- if (s === void 0 && globalThis.litPropertyMetadata.set(r, s = /* @__PURE__ */ new Map()), o === "setter" && ((i = Object.create(i)).wrapped = !0), s.set(e.name, i), o === "accessor") {
296
- const { name: l } = e;
294
+ let l = globalThis.litPropertyMetadata.get(r);
295
+ if (l === void 0 && globalThis.litPropertyMetadata.set(r, l = /* @__PURE__ */ new Map()), o === "setter" && ((i = Object.create(i)).wrapped = !0), l.set(e.name, i), o === "accessor") {
296
+ const { name: s } = e;
297
297
  return { set(a) {
298
298
  const v = t.get.call(this);
299
- t.set.call(this, a), this.requestUpdate(l, v, i, !0, a);
299
+ t.set.call(this, a), this.requestUpdate(s, v, i, !0, a);
300
300
  }, init(a) {
301
- return a !== void 0 && this.C(l, void 0, i, a), a;
301
+ return a !== void 0 && this.C(s, void 0, i, a), a;
302
302
  } };
303
303
  }
304
304
  if (o === "setter") {
305
- const { name: l } = e;
305
+ const { name: s } = e;
306
306
  return function(a) {
307
- const v = this[l];
308
- t.call(this, a), this.requestUpdate(l, v, i, !0, a);
307
+ const v = this[s];
308
+ t.call(this, a), this.requestUpdate(s, v, i, !0, a);
309
309
  };
310
310
  }
311
311
  throw Error("Unsupported decorator location: " + o);
312
312
  };
313
313
  function n(i) {
314
- return (t, e) => typeof e == "object" ? _t(i, t, e) : ((o, r, s) => {
315
- const l = r.hasOwnProperty(s);
316
- return r.constructor.createProperty(s, o), l ? Object.getOwnPropertyDescriptor(r, s) : void 0;
314
+ return (t, e) => typeof e == "object" ? Ct(i, t, e) : ((o, r, l) => {
315
+ const s = r.hasOwnProperty(l);
316
+ return r.constructor.createProperty(l, o), s ? Object.getOwnPropertyDescriptor(r, l) : void 0;
317
317
  })(i, t, e);
318
318
  }
319
319
  /**
@@ -321,74 +321,161 @@ function n(i) {
321
321
  * Copyright 2017 Google LLC
322
322
  * SPDX-License-Identifier: BSD-3-Clause
323
323
  */
324
- const $t = (i, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(i, t, e), e);
324
+ const kt = (i, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(i, t, e), e);
325
325
  /**
326
326
  * @license
327
327
  * Copyright 2017 Google LLC
328
328
  * SPDX-License-Identifier: BSD-3-Clause
329
329
  */
330
- function ot(i, t) {
330
+ function rt(i, t) {
331
331
  return (e, o, r) => {
332
- const s = (l) => {
332
+ const l = (s) => {
333
333
  var a;
334
- return ((a = l.renderRoot) == null ? void 0 : a.querySelector(i)) ?? null;
334
+ return ((a = s.renderRoot) == null ? void 0 : a.querySelector(i)) ?? null;
335
335
  };
336
- return $t(e, o, { get() {
337
- return s(this);
336
+ return kt(e, o, { get() {
337
+ return l(this);
338
338
  } });
339
339
  };
340
340
  }
341
- var xt = Object.defineProperty, Mt = Object.getOwnPropertyDescriptor, W = (i, t, e, o) => {
342
- for (var r = o > 1 ? void 0 : o ? Mt(t, e) : t, s = i.length - 1, l; s >= 0; s--)
343
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
344
- return o && r && xt(t, e, r), r;
341
+ const O = c`
342
+ :host {
343
+ display: inline-block;
344
+ }
345
+
346
+ svg {
347
+ width: 100%;
348
+ height: 100%;
349
+ display: block;
350
+ }
351
+ `, $t = c`
352
+ :host {
353
+ width: auto;
354
+ height: auto;
355
+ }
356
+
357
+ svg {
358
+ transform-origin: center;
359
+ animation: loading-step 1s steps(8, end) infinite;
360
+ }
361
+
362
+ @keyframes loading-step {
363
+ from {
364
+ transform: rotate(0deg);
365
+ }
366
+ to {
367
+ transform: rotate(360deg);
368
+ }
369
+ }
370
+ `;
371
+ var _t = Object.defineProperty, xt = Object.getOwnPropertyDescriptor, F = (i, t, e, o) => {
372
+ for (var r = o > 1 ? void 0 : o ? xt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
373
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
374
+ return o && r && _t(t, e, r), r;
345
375
  };
346
- let P = class extends p {
376
+ let _ = class extends d {
347
377
  constructor() {
348
- super(...arguments), this.size = 40, this.color = "gray-dark";
349
- }
350
- get borderColor() {
351
- return this.color === "white" ? "var(--ur-color-white, #f8f8f8)" : "var(--ur-color-gray-dark, #909090)";
378
+ super(...arguments), this.size = 1.6, this.color = "var(--ur-color-gray-dark)";
352
379
  }
353
380
  render() {
354
- return h`<div
355
- class="spinner"
356
- style="
357
- width: ${this.size}px;
358
- height: ${this.size}px;
359
- border-color: ${this.borderColor};
360
- border-top-color: transparent;
361
- "
362
- ></div>`;
381
+ const i = `width: ${this.size}rem; height: ${this.size}rem; color: ${this.color};`;
382
+ return h`
383
+ <svg
384
+ xmlns="http://www.w3.org/2000/svg"
385
+ viewBox="0 0 32 32"
386
+ id="Interface-Essential-Loading-Circle-2--Streamline-Pixel"
387
+ style="${i}"
388
+ >
389
+ <desc>
390
+ Interface Essential Loading Circle 2 Streamline Icon:
391
+ https://streamlinehq.com
392
+ </desc>
393
+ <title>interface-essential-loading-circle-2</title>
394
+ <g>
395
+ <path
396
+ d="m30.47 16.76 -3.05 0 0 -3.05 3.05 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.58 1.52 0 0 1.52 4.57 0 0 -1.52 1.53 0 0 -4.58 -1.53 0 0 3.05z"
397
+ fill="currentColor"
398
+ stroke-width="1"
399
+ ></path>
400
+ <path
401
+ d="M27.42 22.86h1.53v4.57h-1.53Z"
402
+ fill="currentColor"
403
+ stroke-width="1"
404
+ ></path>
405
+ <path
406
+ d="m22.85 21.33 0 1.53 -1.52 0 0 4.57 1.52 0 0 1.52 4.57 0 0 -1.52 -3.04 0 0 -4.57 3.04 0 0 -1.53 -4.57 0z"
407
+ fill="currentColor"
408
+ stroke-width="1"
409
+ ></path>
410
+ <path
411
+ d="m27.42 10.67 0 -1.53 1.53 0 0 -4.57 -1.53 0 0 3.05 -1.52 0 0 -1.53 -1.52 0 0 -1.52 3.04 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0z"
412
+ fill="currentColor"
413
+ stroke-width="1"
414
+ ></path>
415
+ <path
416
+ d="M18.28 25.9h1.52v4.58h-1.52Z"
417
+ fill="currentColor"
418
+ stroke-width="1"
419
+ ></path>
420
+ <path
421
+ d="m19.8 1.52 -1.52 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
422
+ fill="currentColor"
423
+ stroke-width="1"
424
+ ></path>
425
+ <path
426
+ d="M13.71 30.48h4.57V32h-4.57Z"
427
+ fill="currentColor"
428
+ stroke-width="1"
429
+ ></path>
430
+ <path
431
+ d="M13.71 24.38h4.57v1.52h-4.57Z"
432
+ fill="currentColor"
433
+ stroke-width="1"
434
+ ></path>
435
+ <path
436
+ d="M12.19 25.9h1.52v4.58h-1.52Z"
437
+ fill="currentColor"
438
+ stroke-width="1"
439
+ ></path>
440
+ <path
441
+ d="m9.14 28.95 0 -1.52 1.52 0 0 -4.57 -1.52 0 0 -1.53 -4.57 0 0 1.53 3.04 0 0 4.57 -3.04 0 0 1.52 4.57 0z"
442
+ fill="currentColor"
443
+ stroke-width="1"
444
+ ></path>
445
+ <path
446
+ d="m10.66 4.57 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.04 0 0 1.52 -1.52 0 0 1.53 -1.52 0 0 -3.05 -1.53 0 0 4.57 1.53 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
447
+ fill="currentColor"
448
+ stroke-width="1"
449
+ ></path>
450
+ <path
451
+ d="M3.04 22.86h1.53v4.57H3.04Z"
452
+ fill="currentColor"
453
+ stroke-width="1"
454
+ ></path>
455
+ <path
456
+ d="m1.52 19.81 4.57 0 0 -1.52 1.52 0 0 -4.58 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.05 0 0 3.05 -3.05 0 0 -3.05 -1.52 0 0 4.58 1.52 0 0 1.52z"
457
+ fill="currentColor"
458
+ stroke-width="1"
459
+ ></path>
460
+ </g>
461
+ </svg>
462
+ `;
363
463
  }
364
464
  };
365
- P.styles = c`
366
- .spinner {
367
- border: 3px solid var(--ur-color-white);
368
- border-top: 3px solid transparent;
369
- border-radius: 50%;
370
- animation: spin 1s linear infinite;
371
- }
372
-
373
- @keyframes spin {
374
- 0% {
375
- transform: rotate(0deg);
376
- }
377
- 100% {
378
- transform: rotate(360deg);
379
- }
380
- }
381
- `;
382
- W([
465
+ _.styles = [O, $t];
466
+ F([
467
+ n({ type: String })
468
+ ], _.prototype, "iconTitle", 2);
469
+ F([
383
470
  n({ type: Number })
384
- ], P.prototype, "size", 2);
385
- W([
471
+ ], _.prototype, "size", 2);
472
+ F([
386
473
  n({ type: String })
387
- ], P.prototype, "color", 2);
388
- P = W([
389
- d("ur-spinner")
390
- ], P);
391
- const St = c`
474
+ ], _.prototype, "color", 2);
475
+ _ = F([
476
+ u("ur-icon-spinner")
477
+ ], _);
478
+ const Mt = c`
392
479
  button {
393
480
  font-family: "PpNeueBitBold", system-ui, sans-serif;
394
481
  font-size: 1.4rem;
@@ -466,13 +553,13 @@ const St = c`
466
553
  display: block;
467
554
  }
468
555
  `;
469
- var Et = Object.defineProperty, Pt = Object.getOwnPropertyDescriptor, C = (i, t, e, o) => {
470
- for (var r = o > 1 ? void 0 : o ? Pt(t, e) : t, s = i.length - 1, l; s >= 0; s--)
471
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
472
- return o && r && Et(t, e, r), r;
556
+ var St = Object.defineProperty, Et = Object.getOwnPropertyDescriptor, C = (i, t, e, o) => {
557
+ for (var r = o > 1 ? void 0 : o ? Et(t, e) : t, l = i.length - 1, s; l >= 0; l--)
558
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
559
+ return o && r && St(t, e, r), r;
473
560
  };
474
- const Se = ["primary", "secondary"], Ee = ["button", "submit", "reset"];
475
- let m = class extends p {
561
+ const $e = ["primary", "secondary"], _e = ["button", "submit", "reset"];
562
+ let m = class extends d {
476
563
  constructor() {
477
564
  super(...arguments), this.variant = "primary", this.disabled = !1, this.fullWidth = !1, this.loading = !1, this.buttonType = "button";
478
565
  }
@@ -487,15 +574,18 @@ let m = class extends p {
487
574
  ?disabled=${this.disabled || this.loading}
488
575
  >
489
576
  <span class="button-content"><slot></slot></span>
490
- <span class="button-spinner"
491
- ><ur-spinner size=${8} color="white"></ur-spinner
492
- ></span>
577
+ <span class="button-spinner">
578
+ <ur-icon-spinner
579
+ size=${1}
580
+ color="var(--ur-color-white)"
581
+ ></ur-icon-spinner>
582
+ </span>
493
583
  </button>
494
584
  `;
495
585
  }
496
586
  };
497
587
  m.formAssociated = !0;
498
- m.styles = St;
588
+ m.styles = Mt;
499
589
  C([
500
590
  n({ type: Function })
501
591
  ], m.prototype, "onClick", 2);
@@ -515,9 +605,9 @@ C([
515
605
  n({ type: String })
516
606
  ], m.prototype, "buttonType", 2);
517
607
  m = C([
518
- d("ur-button")
608
+ u("ur-button")
519
609
  ], m);
520
- const Zt = c`
610
+ const Pt = c`
521
611
  :host {
522
612
  display: block;
523
613
  font-family: var(--font-family-base, system-ui, sans-serif);
@@ -632,7 +722,7 @@ const Zt = c`
632
722
  right: 0.75rem;
633
723
  pointer-events: none;
634
724
  }
635
- `, Ot = c`
725
+ `, Zt = c`
636
726
  :host {
637
727
  display: block;
638
728
  width: 16px;
@@ -645,12 +735,12 @@ const Zt = c`
645
735
  display: block;
646
736
  }
647
737
  `;
648
- var Bt = Object.getOwnPropertyDescriptor, Dt = (i, t, e, o) => {
649
- for (var r = o > 1 ? void 0 : o ? Bt(t, e) : t, s = i.length - 1, l; s >= 0; s--)
650
- (l = i[s]) && (r = l(r) || r);
738
+ var Ot = Object.getOwnPropertyDescriptor, Bt = (i, t, e, o) => {
739
+ for (var r = o > 1 ? void 0 : o ? Ot(t, e) : t, l = i.length - 1, s; l >= 0; l--)
740
+ (s = i[l]) && (r = s(r) || r);
651
741
  return r;
652
742
  };
653
- let U = class extends p {
743
+ let U = class extends d {
654
744
  render() {
655
745
  return h`
656
746
  <svg
@@ -789,16 +879,16 @@ let U = class extends p {
789
879
  `;
790
880
  }
791
881
  };
792
- U.styles = Ot;
793
- U = Dt([
794
- d("ur-icon-warning")
882
+ U.styles = Zt;
883
+ U = Bt([
884
+ u("ur-icon-warning")
795
885
  ], U);
796
- var Ht = Object.defineProperty, At = Object.getOwnPropertyDescriptor, f = (i, t, e, o) => {
797
- for (var r = o > 1 ? void 0 : o ? At(t, e) : t, s = i.length - 1, l; s >= 0; s--)
798
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
799
- return o && r && Ht(t, e, r), r;
886
+ var Dt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, f = (i, t, e, o) => {
887
+ for (var r = o > 1 ? void 0 : o ? Ht(t, e) : t, l = i.length - 1, s; l >= 0; l--)
888
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
889
+ return o && r && Dt(t, e, r), r;
800
890
  };
801
- const Pe = [
891
+ const xe = [
802
892
  "text",
803
893
  "email",
804
894
  "password",
@@ -807,7 +897,7 @@ const Pe = [
807
897
  "url",
808
898
  "number"
809
899
  ];
810
- let u = class extends p {
900
+ let p = class extends d {
811
901
  constructor() {
812
902
  super(...arguments), this.value = "", this.placeholder = "", this.type = "text", this.disabled = !1, this.readonly = !1, this.loading = !1, this.name = "", this.label = "", this.hint = "", this.invalid = !1, this.required = !1;
813
903
  }
@@ -866,7 +956,7 @@ let u = class extends p {
866
956
  @keydown=${this.handleKeyDown}
867
957
  />
868
958
 
869
- ${this.loading ? h`<ur-spinner class="input-spinner" size="8"></ur-spinner>` : ""}
959
+ ${this.loading ? h`<ur-icon-spinner class="input-spinner" size="0.8"></ur-spinner>` : ""}
870
960
  ${this.invalid && !this.loading ? h`<ur-icon-warning
871
961
  class="input-error-icon"
872
962
  style="color: var(--ur-color-coral)"
@@ -880,50 +970,50 @@ let u = class extends p {
880
970
  `;
881
971
  }
882
972
  };
883
- u.styles = Zt;
973
+ p.styles = Pt;
884
974
  f([
885
975
  n({ type: String })
886
- ], u.prototype, "value", 2);
976
+ ], p.prototype, "value", 2);
887
977
  f([
888
978
  n({ type: String })
889
- ], u.prototype, "placeholder", 2);
979
+ ], p.prototype, "placeholder", 2);
890
980
  f([
891
981
  n({ type: String })
892
- ], u.prototype, "type", 2);
982
+ ], p.prototype, "type", 2);
893
983
  f([
894
984
  n({ type: Boolean, reflect: !0 })
895
- ], u.prototype, "disabled", 2);
985
+ ], p.prototype, "disabled", 2);
896
986
  f([
897
987
  n({ type: Boolean, reflect: !0 })
898
- ], u.prototype, "readonly", 2);
988
+ ], p.prototype, "readonly", 2);
899
989
  f([
900
990
  n({ type: Boolean, reflect: !0 })
901
- ], u.prototype, "loading", 2);
991
+ ], p.prototype, "loading", 2);
902
992
  f([
903
993
  n({ type: String })
904
- ], u.prototype, "name", 2);
994
+ ], p.prototype, "name", 2);
905
995
  f([
906
996
  n({ type: String })
907
- ], u.prototype, "label", 2);
997
+ ], p.prototype, "label", 2);
908
998
  f([
909
999
  n({ type: String })
910
- ], u.prototype, "hint", 2);
1000
+ ], p.prototype, "hint", 2);
911
1001
  f([
912
1002
  n({ type: Boolean, reflect: !0 })
913
- ], u.prototype, "invalid", 2);
1003
+ ], p.prototype, "invalid", 2);
914
1004
  f([
915
1005
  n({ type: Boolean, reflect: !0 })
916
- ], u.prototype, "required", 2);
1006
+ ], p.prototype, "required", 2);
917
1007
  f([
918
1008
  n({ type: Number })
919
- ], u.prototype, "minLength", 2);
1009
+ ], p.prototype, "minLength", 2);
920
1010
  f([
921
1011
  n({ type: Number })
922
- ], u.prototype, "maxLength", 2);
923
- u = f([
924
- d("ur-input")
925
- ], u);
926
- const zt = c`
1012
+ ], p.prototype, "maxLength", 2);
1013
+ p = f([
1014
+ u("ur-input")
1015
+ ], p);
1016
+ const At = c`
927
1017
  /* Base styles that apply to all variants */
928
1018
  :host {
929
1019
  display: inline-block;
@@ -999,13 +1089,13 @@ const zt = c`
999
1089
  text-align: right;
1000
1090
  }
1001
1091
  `;
1002
- var jt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, x = (i, t, e, o) => {
1003
- for (var r = o > 1 ? void 0 : o ? Ft(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1004
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
1005
- return o && r && jt(t, e, r), r;
1092
+ var zt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, M = (i, t, e, o) => {
1093
+ for (var r = o > 1 ? void 0 : o ? jt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1094
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
1095
+ return o && r && zt(t, e, r), r;
1006
1096
  };
1007
- const Ze = ["header", "subheader", "body", "small"];
1008
- let w = class extends p {
1097
+ const Me = ["header", "subheader", "body", "small"];
1098
+ let w = class extends d {
1009
1099
  constructor() {
1010
1100
  super(...arguments), this.variant = "body", this.bold = !1, this.italic = !1;
1011
1101
  }
@@ -1024,30 +1114,30 @@ let w = class extends p {
1024
1114
  }
1025
1115
  }
1026
1116
  render() {
1027
- const i = ct(this.getElementTag()), t = this.color ? `color: ${this.color};` : "";
1028
- return pt`<${i} class="text" style="${t}"><slot></slot></${i}>`;
1117
+ const i = at(this.getElementTag()), t = this.color ? `color: ${this.color};` : "";
1118
+ return ht`<${i} class="text" style="${t}"><slot></slot></${i}>`;
1029
1119
  }
1030
1120
  };
1031
- w.styles = zt;
1032
- x([
1121
+ w.styles = At;
1122
+ M([
1033
1123
  n({ type: String, reflect: !0 })
1034
1124
  ], w.prototype, "variant", 2);
1035
- x([
1125
+ M([
1036
1126
  n({ type: String })
1037
1127
  ], w.prototype, "color", 2);
1038
- x([
1128
+ M([
1039
1129
  n({ type: Boolean, reflect: !0 })
1040
1130
  ], w.prototype, "bold", 2);
1041
- x([
1131
+ M([
1042
1132
  n({ type: Boolean, reflect: !0 })
1043
1133
  ], w.prototype, "italic", 2);
1044
- x([
1134
+ M([
1045
1135
  n({ type: String, reflect: !0 })
1046
1136
  ], w.prototype, "align", 2);
1047
- w = x([
1048
- d("ur-text")
1137
+ w = M([
1138
+ u("ur-text")
1049
1139
  ], w);
1050
- const It = c`
1140
+ const Ft = c`
1051
1141
  :host {
1052
1142
  font-family: "PpNeueBitBold", system-ui, sans-serif;
1053
1143
  font-size: 1.4rem;
@@ -1068,7 +1158,7 @@ const It = c`
1068
1158
  button:hover {
1069
1159
  color: var(--ur-color-green);
1070
1160
  }
1071
- `, Tt = c`
1161
+ `, It = c`
1072
1162
  :host {
1073
1163
  display: inline-block;
1074
1164
  width: 1em;
@@ -1081,12 +1171,12 @@ const It = c`
1081
1171
  display: block;
1082
1172
  }
1083
1173
  `;
1084
- var Ut = Object.getOwnPropertyDescriptor, Lt = (i, t, e, o) => {
1085
- for (var r = o > 1 ? void 0 : o ? Ut(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1086
- (l = i[s]) && (r = l(r) || r);
1174
+ var Tt = Object.getOwnPropertyDescriptor, Ut = (i, t, e, o) => {
1175
+ for (var r = o > 1 ? void 0 : o ? Tt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1176
+ (s = i[l]) && (r = s(r) || r);
1087
1177
  return r;
1088
1178
  };
1089
- let L = class extends p {
1179
+ let L = class extends d {
1090
1180
  render() {
1091
1181
  return h`
1092
1182
  <svg
@@ -1230,16 +1320,16 @@ let L = class extends p {
1230
1320
  `;
1231
1321
  }
1232
1322
  };
1233
- L.styles = Tt;
1234
- L = Lt([
1235
- d("ur-icon-back")
1323
+ L.styles = It;
1324
+ L = Ut([
1325
+ u("ur-icon-back")
1236
1326
  ], L);
1237
- var Nt = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, G = (i, t, e, o) => {
1238
- for (var r = o > 1 ? void 0 : o ? Rt(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1239
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
1240
- return o && r && Nt(t, e, r), r;
1327
+ var Lt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, W = (i, t, e, o) => {
1328
+ for (var r = o > 1 ? void 0 : o ? Nt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1329
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
1330
+ return o && r && Lt(t, e, r), r;
1241
1331
  };
1242
- let Z = class extends p {
1332
+ let Z = class extends d {
1243
1333
  constructor() {
1244
1334
  super(...arguments), this.label = "Back";
1245
1335
  }
@@ -1255,17 +1345,17 @@ let Z = class extends p {
1255
1345
  `;
1256
1346
  }
1257
1347
  };
1258
- Z.styles = It;
1259
- G([
1348
+ Z.styles = Ft;
1349
+ W([
1260
1350
  n({ type: Function })
1261
1351
  ], Z.prototype, "onClick", 2);
1262
- G([
1352
+ W([
1263
1353
  n({ type: String })
1264
1354
  ], Z.prototype, "label", 2);
1265
- Z = G([
1266
- d("ur-back-button")
1355
+ Z = W([
1356
+ u("ur-back-button")
1267
1357
  ], Z);
1268
- const qt = c`
1358
+ const Rt = c`
1269
1359
  :host {
1270
1360
  display: list-item;
1271
1361
  width: 100%;
@@ -1314,17 +1404,7 @@ const qt = c`
1314
1404
  border-radius: 50%;
1315
1405
  margin-right: var(--ur-space-sm);
1316
1406
  }
1317
- `, O = c`
1318
- :host {
1319
- display: inline-block;
1320
- }
1321
-
1322
- svg {
1323
- width: 100%;
1324
- height: 100%;
1325
- display: block;
1326
- }
1327
- `, Vt = c`
1407
+ `, qt = c`
1328
1408
  :host {
1329
1409
  width: 1.2em;
1330
1410
  height: 1.2em;
@@ -1334,12 +1414,12 @@ const qt = c`
1334
1414
  color: var(--ur-color-yellow-light);
1335
1415
  }
1336
1416
  `;
1337
- var Kt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, it = (i, t, e, o) => {
1338
- for (var r = o > 1 ? void 0 : o ? Wt(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1339
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
1340
- return o && r && Kt(t, e, r), r;
1417
+ var Vt = Object.defineProperty, Kt = Object.getOwnPropertyDescriptor, ot = (i, t, e, o) => {
1418
+ for (var r = o > 1 ? void 0 : o ? Kt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1419
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
1420
+ return o && r && Vt(t, e, r), r;
1341
1421
  };
1342
- let A = class extends p {
1422
+ let A = class extends d {
1343
1423
  render() {
1344
1424
  return h`
1345
1425
  <svg
@@ -1505,14 +1585,14 @@ let A = class extends p {
1505
1585
  `;
1506
1586
  }
1507
1587
  };
1508
- A.styles = [O, Vt];
1509
- it([
1588
+ A.styles = [O, qt];
1589
+ ot([
1510
1590
  n({ type: String })
1511
1591
  ], A.prototype, "iconTitle", 2);
1512
- A = it([
1513
- d("ur-icon-network-instability")
1592
+ A = ot([
1593
+ u("ur-icon-network-instability")
1514
1594
  ], A);
1515
- const Gt = c`
1595
+ const Wt = c`
1516
1596
  :host {
1517
1597
  width: 1.2em;
1518
1598
  height: 1.2em;
@@ -1522,12 +1602,12 @@ const Gt = c`
1522
1602
  color: var(--ur-color-green);
1523
1603
  }
1524
1604
  `;
1525
- var Jt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, st = (i, t, e, o) => {
1526
- for (var r = o > 1 ? void 0 : o ? Yt(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1527
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
1528
- return o && r && Jt(t, e, r), r;
1605
+ var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, it = (i, t, e, o) => {
1606
+ for (var r = o > 1 ? void 0 : o ? Jt(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1607
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
1608
+ return o && r && Gt(t, e, r), r;
1529
1609
  };
1530
- let z = class extends p {
1610
+ let z = class extends d {
1531
1611
  render() {
1532
1612
  return h`
1533
1613
  <svg
@@ -1694,14 +1774,14 @@ let z = class extends p {
1694
1774
  `;
1695
1775
  }
1696
1776
  };
1697
- z.styles = [O, Gt];
1698
- st([
1777
+ z.styles = [O, Wt];
1778
+ it([
1699
1779
  n({ type: String })
1700
1780
  ], z.prototype, "iconTitle", 2);
1701
- z = st([
1702
- d("ur-icon-privacy")
1781
+ z = it([
1782
+ u("ur-icon-privacy")
1703
1783
  ], z);
1704
- const S = {
1784
+ const E = {
1705
1785
  is: "639A88",
1706
1786
  ee: "78C0E0",
1707
1787
  ca: "449DD1",
@@ -1770,17 +1850,17 @@ const S = {
1770
1850
  rs: "FF495C",
1771
1851
  al: "E4B363"
1772
1852
  };
1773
- function tt(i) {
1853
+ function Q(i) {
1774
1854
  const t = i.replace("#", ""), e = parseInt(t, 16);
1775
1855
  return [e >> 16 & 255, e >> 8 & 255, e & 255];
1776
1856
  }
1777
- function Xt(i, t, e) {
1857
+ function Yt(i, t, e) {
1778
1858
  return "#" + [i, t, e].map((o) => {
1779
1859
  const r = o.toString(16);
1780
1860
  return r.length === 1 ? "0" + r : r;
1781
1861
  }).join("");
1782
1862
  }
1783
- function Qt(i) {
1863
+ function Xt(i) {
1784
1864
  let t = 0;
1785
1865
  for (let e = 0; e < i.length; e++) {
1786
1866
  const o = i.charCodeAt(e);
@@ -1788,26 +1868,26 @@ function Qt(i) {
1788
1868
  }
1789
1869
  return Math.abs(t);
1790
1870
  }
1791
- function et(i, t) {
1792
- return t === 0 ? 0 : (Qt(i) & 255) % t;
1871
+ function tt(i, t) {
1872
+ return t === 0 ? 0 : (Xt(i) & 255) % t;
1793
1873
  }
1794
- function te(i, t) {
1795
- const [e, o, r] = tt(i), [s, l, a] = tt(t), v = Math.round((e + s) / 2), B = Math.round((o + l) / 2), ht = Math.round((r + a) / 2);
1796
- return Xt(v, B, ht);
1874
+ function Qt(i, t) {
1875
+ const [e, o, r] = Q(i), [l, s, a] = Q(t), v = Math.round((e + l) / 2), B = Math.round((o + s) / 2), nt = Math.round((r + a) / 2);
1876
+ return Yt(v, B, nt);
1797
1877
  }
1798
1878
  function lt(i) {
1799
1879
  const t = i.toLowerCase();
1800
- if (S[t])
1801
- return "#" + S[t];
1802
- const e = Object.keys(S).sort(), o = et(t, e.length), r = et(t + "salt", e.length), s = S[e[o]], l = S[e[r]];
1803
- return te(s, l);
1880
+ if (E[t])
1881
+ return "#" + E[t];
1882
+ const e = Object.keys(E).sort(), o = tt(t, e.length), r = tt(t + "salt", e.length), l = E[e[o]], s = E[e[r]];
1883
+ return Qt(l, s);
1804
1884
  }
1805
- var ee = Object.defineProperty, re = Object.getOwnPropertyDescriptor, k = (i, t, e, o) => {
1806
- for (var r = o > 1 ? void 0 : o ? re(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1807
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
1808
- return o && r && ee(t, e, r), r;
1885
+ var te = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, k = (i, t, e, o) => {
1886
+ for (var r = o > 1 ? void 0 : o ? ee(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1887
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
1888
+ return o && r && te(t, e, r), r;
1809
1889
  };
1810
- let g = class extends p {
1890
+ let g = class extends d {
1811
1891
  constructor() {
1812
1892
  super(...arguments), this.name = "", this.providerCount = 0, this.unstable = !1, this.strongPrivacy = !1;
1813
1893
  }
@@ -1850,7 +1930,7 @@ let g = class extends p {
1850
1930
  `;
1851
1931
  }
1852
1932
  };
1853
- g.styles = qt;
1933
+ g.styles = Rt;
1854
1934
  k([
1855
1935
  n({ type: String })
1856
1936
  ], g.prototype, "locationKey", 2);
@@ -1870,126 +1950,9 @@ k([
1870
1950
  n({ type: Function })
1871
1951
  ], g.prototype, "onClick", 2);
1872
1952
  g = k([
1873
- d("ur-location-list-item")
1953
+ u("ur-location-list-item")
1874
1954
  ], g);
1875
- const oe = c`
1876
- :host {
1877
- width: 1.6em;
1878
- height: 1.6em;
1879
- }
1880
-
1881
- svg {
1882
- color: var(--ur-color-gray-dark);
1883
- transform-origin: center;
1884
- animation: loading-step 1s steps(8, end) infinite;
1885
- }
1886
-
1887
- @keyframes loading-step {
1888
- from {
1889
- transform: rotate(0deg);
1890
- }
1891
- to {
1892
- transform: rotate(360deg);
1893
- }
1894
- }
1895
- `;
1896
- var ie = Object.defineProperty, se = Object.getOwnPropertyDescriptor, nt = (i, t, e, o) => {
1897
- for (var r = o > 1 ? void 0 : o ? se(t, e) : t, s = i.length - 1, l; s >= 0; s--)
1898
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
1899
- return o && r && ie(t, e, r), r;
1900
- };
1901
- let j = class extends p {
1902
- render() {
1903
- return h`
1904
- <svg
1905
- xmlns="http://www.w3.org/2000/svg"
1906
- viewBox="0 0 32 32"
1907
- id="Interface-Essential-Loading-Circle-2--Streamline-Pixel"
1908
- >
1909
- <desc>
1910
- Interface Essential Loading Circle 2 Streamline Icon:
1911
- https://streamlinehq.com
1912
- </desc>
1913
- <title>interface-essential-loading-circle-2</title>
1914
- <g>
1915
- <path
1916
- d="m30.47 16.76 -3.05 0 0 -3.05 3.05 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.58 1.52 0 0 1.52 4.57 0 0 -1.52 1.53 0 0 -4.58 -1.53 0 0 3.05z"
1917
- fill="currentColor"
1918
- stroke-width="1"
1919
- ></path>
1920
- <path
1921
- d="M27.42 22.86h1.53v4.57h-1.53Z"
1922
- fill="currentColor"
1923
- stroke-width="1"
1924
- ></path>
1925
- <path
1926
- d="m22.85 21.33 0 1.53 -1.52 0 0 4.57 1.52 0 0 1.52 4.57 0 0 -1.52 -3.04 0 0 -4.57 3.04 0 0 -1.53 -4.57 0z"
1927
- fill="currentColor"
1928
- stroke-width="1"
1929
- ></path>
1930
- <path
1931
- d="m27.42 10.67 0 -1.53 1.53 0 0 -4.57 -1.53 0 0 3.05 -1.52 0 0 -1.53 -1.52 0 0 -1.52 3.04 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0z"
1932
- fill="currentColor"
1933
- stroke-width="1"
1934
- ></path>
1935
- <path
1936
- d="M18.28 25.9h1.52v4.58h-1.52Z"
1937
- fill="currentColor"
1938
- stroke-width="1"
1939
- ></path>
1940
- <path
1941
- d="m19.8 1.52 -1.52 0 0 -1.52 -4.57 0 0 1.52 -1.52 0 0 4.57 1.52 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
1942
- fill="currentColor"
1943
- stroke-width="1"
1944
- ></path>
1945
- <path
1946
- d="M13.71 30.48h4.57V32h-4.57Z"
1947
- fill="currentColor"
1948
- stroke-width="1"
1949
- ></path>
1950
- <path
1951
- d="M13.71 24.38h4.57v1.52h-4.57Z"
1952
- fill="currentColor"
1953
- stroke-width="1"
1954
- ></path>
1955
- <path
1956
- d="M12.19 25.9h1.52v4.58h-1.52Z"
1957
- fill="currentColor"
1958
- stroke-width="1"
1959
- ></path>
1960
- <path
1961
- d="m9.14 28.95 0 -1.52 1.52 0 0 -4.57 -1.52 0 0 -1.53 -4.57 0 0 1.53 3.04 0 0 4.57 -3.04 0 0 1.52 4.57 0z"
1962
- fill="currentColor"
1963
- stroke-width="1"
1964
- ></path>
1965
- <path
1966
- d="m10.66 4.57 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.04 0 0 1.52 -1.52 0 0 1.53 -1.52 0 0 -3.05 -1.53 0 0 4.57 1.53 0 0 1.53 4.57 0 0 -1.53 1.52 0 0 -4.57z"
1967
- fill="currentColor"
1968
- stroke-width="1"
1969
- ></path>
1970
- <path
1971
- d="M3.04 22.86h1.53v4.57H3.04Z"
1972
- fill="currentColor"
1973
- stroke-width="1"
1974
- ></path>
1975
- <path
1976
- d="m1.52 19.81 4.57 0 0 -1.52 1.52 0 0 -4.58 -1.52 0 0 -1.52 -4.57 0 0 1.52 3.05 0 0 3.05 -3.05 0 0 -3.05 -1.52 0 0 4.58 1.52 0 0 1.52z"
1977
- fill="currentColor"
1978
- stroke-width="1"
1979
- ></path>
1980
- </g>
1981
- </svg>
1982
- `;
1983
- }
1984
- };
1985
- j.styles = [O, oe];
1986
- nt([
1987
- n({ type: String })
1988
- ], j.prototype, "iconTitle", 2);
1989
- j = nt([
1990
- d("ur-icon-spinner")
1991
- ], j);
1992
- const le = c`
1955
+ const re = c`
1993
1956
  :host {
1994
1957
  width: 1.2em;
1995
1958
  height: 1.2em;
@@ -2003,12 +1966,12 @@ const le = c`
2003
1966
  color: var(--ur-color-green);
2004
1967
  }
2005
1968
  `;
2006
- var ne = Object.getOwnPropertyDescriptor, ae = (i, t, e, o) => {
2007
- for (var r = o > 1 ? void 0 : o ? ne(t, e) : t, s = i.length - 1, l; s >= 0; s--)
2008
- (l = i[s]) && (r = l(r) || r);
1969
+ var oe = Object.getOwnPropertyDescriptor, ie = (i, t, e, o) => {
1970
+ for (var r = o > 1 ? void 0 : o ? oe(t, e) : t, l = i.length - 1, s; l >= 0; l--)
1971
+ (s = i[l]) && (r = s(r) || r);
2009
1972
  return r;
2010
1973
  };
2011
- let N = class extends p {
1974
+ let N = class extends d {
2012
1975
  render() {
2013
1976
  return h`
2014
1977
  <svg
@@ -2097,11 +2060,11 @@ let N = class extends p {
2097
2060
  `;
2098
2061
  }
2099
2062
  };
2100
- N.styles = [O, le];
2101
- N = ae([
2102
- d("ur-icon-hamburger")
2063
+ N.styles = [O, re];
2064
+ N = ie([
2065
+ u("ur-icon-hamburger")
2103
2066
  ], N);
2104
- const he = c`
2067
+ const le = c`
2105
2068
  :host {
2106
2069
  width: 1.8em;
2107
2070
  height: 1.8em;
@@ -2115,12 +2078,12 @@ const he = c`
2115
2078
  color: var(--ur-color-green);
2116
2079
  }*/
2117
2080
  `;
2118
- var ce = Object.getOwnPropertyDescriptor, pe = (i, t, e, o) => {
2119
- for (var r = o > 1 ? void 0 : o ? ce(t, e) : t, s = i.length - 1, l; s >= 0; s--)
2120
- (l = i[s]) && (r = l(r) || r);
2081
+ var se = Object.getOwnPropertyDescriptor, ne = (i, t, e, o) => {
2082
+ for (var r = o > 1 ? void 0 : o ? se(t, e) : t, l = i.length - 1, s; l >= 0; l--)
2083
+ (s = i[l]) && (r = s(r) || r);
2121
2084
  return r;
2122
2085
  };
2123
- let R = class extends p {
2086
+ let R = class extends d {
2124
2087
  render() {
2125
2088
  return h`
2126
2089
  <svg
@@ -2157,11 +2120,11 @@ let R = class extends p {
2157
2120
  `;
2158
2121
  }
2159
2122
  };
2160
- R.styles = [O, he];
2161
- R = pe([
2162
- d("ur-icon-connect-globe")
2123
+ R.styles = [O, le];
2124
+ R = ne([
2125
+ u("ur-icon-connect-globe")
2163
2126
  ], R);
2164
- const de = c`
2127
+ const ae = c`
2165
2128
  :host {
2166
2129
  display: inline-block;
2167
2130
  position: relative;
@@ -2194,12 +2157,12 @@ const de = c`
2194
2157
  flex-flow: column;
2195
2158
  }
2196
2159
  `;
2197
- var ue = Object.defineProperty, fe = Object.getOwnPropertyDescriptor, I = (i, t, e, o) => {
2198
- for (var r = o > 1 ? void 0 : o ? fe(t, e) : t, s = i.length - 1, l; s >= 0; s--)
2199
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
2200
- return o && r && ue(t, e, r), r;
2160
+ var he = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, I = (i, t, e, o) => {
2161
+ for (var r = o > 1 ? void 0 : o ? ce(t, e) : t, l = i.length - 1, s; l >= 0; l--)
2162
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
2163
+ return o && r && he(t, e, r), r;
2201
2164
  };
2202
- let $ = class extends p {
2165
+ let x = class extends d {
2203
2166
  constructor() {
2204
2167
  super(...arguments), this.open = !1, this._handleButtonClick = (i) => {
2205
2168
  i.stopPropagation(), this.open = !this.open, this.open && this._updatePosition();
@@ -2223,9 +2186,9 @@ let $ = class extends p {
2223
2186
  const i = this._buttonSlot.assignedElements();
2224
2187
  if (i.length === 0) return;
2225
2188
  const e = i[0].getBoundingClientRect(), o = this._menuItems.getBoundingClientRect();
2226
- let r = e.bottom + 8, s = e.left;
2227
- const l = window.innerWidth, a = window.innerHeight;
2228
- s + o.width > l - 8 && (s = e.right - o.width), s < 8 && (s = 8), r + o.height > a - 8 && (r = e.top - o.height - 8), this._menuItems.style.top = `${r}px`, this._menuItems.style.left = `${s}px`;
2189
+ let r = e.bottom + 8, l = e.left;
2190
+ const s = window.innerWidth, a = window.innerHeight;
2191
+ l + o.width > s - 8 && (l = e.right - o.width), l < 8 && (l = 8), r + o.height > a - 8 && (r = e.top - o.height - 8), this._menuItems.style.top = `${r}px`, this._menuItems.style.left = `${l}px`;
2229
2192
  });
2230
2193
  }
2231
2194
  render() {
@@ -2245,20 +2208,20 @@ let $ = class extends p {
2245
2208
  `;
2246
2209
  }
2247
2210
  };
2248
- $.styles = de;
2211
+ x.styles = ae;
2249
2212
  I([
2250
2213
  n({ type: Boolean, reflect: !0 })
2251
- ], $.prototype, "open", 2);
2214
+ ], x.prototype, "open", 2);
2252
2215
  I([
2253
- ot(".menu-button-slot")
2254
- ], $.prototype, "_buttonSlot", 2);
2216
+ rt(".menu-button-slot")
2217
+ ], x.prototype, "_buttonSlot", 2);
2255
2218
  I([
2256
- ot(".menu-items")
2257
- ], $.prototype, "_menuItems", 2);
2258
- $ = I([
2259
- d("ur-menu")
2260
- ], $);
2261
- const ve = c`
2219
+ rt(".menu-items")
2220
+ ], x.prototype, "_menuItems", 2);
2221
+ x = I([
2222
+ u("ur-menu")
2223
+ ], x);
2224
+ const pe = c`
2262
2225
  :host {
2263
2226
  display: inline-block;
2264
2227
  }
@@ -2286,12 +2249,12 @@ const ve = c`
2286
2249
  outline-offset: 2px;
2287
2250
  }
2288
2251
  `;
2289
- var me = Object.getOwnPropertyDescriptor, ge = (i, t, e, o) => {
2290
- for (var r = o > 1 ? void 0 : o ? me(t, e) : t, s = i.length - 1, l; s >= 0; s--)
2291
- (l = i[s]) && (r = l(r) || r);
2252
+ var de = Object.getOwnPropertyDescriptor, ue = (i, t, e, o) => {
2253
+ for (var r = o > 1 ? void 0 : o ? de(t, e) : t, l = i.length - 1, s; l >= 0; l--)
2254
+ (s = i[l]) && (r = s(r) || r);
2292
2255
  return r;
2293
2256
  };
2294
- let q = class extends p {
2257
+ let q = class extends d {
2295
2258
  render() {
2296
2259
  return h`
2297
2260
  <button class="button" part="button">
@@ -2300,11 +2263,11 @@ let q = class extends p {
2300
2263
  `;
2301
2264
  }
2302
2265
  };
2303
- q.styles = ve;
2304
- q = ge([
2305
- d("ur-menu-button")
2266
+ q.styles = pe;
2267
+ q = ue([
2268
+ u("ur-menu-button")
2306
2269
  ], q);
2307
- const be = c`
2270
+ const fe = c`
2308
2271
  :host {
2309
2272
  width: 100%;
2310
2273
  box-sizing: border-box;
@@ -2330,12 +2293,12 @@ const be = c`
2330
2293
  border-bottom: 1px solid var(--ur-color-border, rgba(255, 255, 255, 0.1));
2331
2294
  }
2332
2295
  `;
2333
- var ye = Object.defineProperty, we = Object.getOwnPropertyDescriptor, at = (i, t, e, o) => {
2334
- for (var r = o > 1 ? void 0 : o ? we(t, e) : t, s = i.length - 1, l; s >= 0; s--)
2335
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
2336
- return o && r && ye(t, e, r), r;
2296
+ var ve = Object.defineProperty, me = Object.getOwnPropertyDescriptor, st = (i, t, e, o) => {
2297
+ for (var r = o > 1 ? void 0 : o ? me(t, e) : t, l = i.length - 1, s; l >= 0; l--)
2298
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
2299
+ return o && r && ve(t, e, r), r;
2337
2300
  };
2338
- let F = class extends p {
2301
+ let j = class extends d {
2339
2302
  constructor() {
2340
2303
  super(...arguments), this.disabled = !1, this._handleClick = (i) => {
2341
2304
  if (this.disabled) {
@@ -2359,14 +2322,14 @@ let F = class extends p {
2359
2322
  `;
2360
2323
  }
2361
2324
  };
2362
- F.styles = be;
2363
- at([
2325
+ j.styles = fe;
2326
+ st([
2364
2327
  n({ type: Boolean })
2365
- ], F.prototype, "disabled", 2);
2366
- F = at([
2367
- d("ur-menu-item")
2368
- ], F);
2369
- const Ce = c`
2328
+ ], j.prototype, "disabled", 2);
2329
+ j = st([
2330
+ u("ur-menu-item")
2331
+ ], j);
2332
+ const ge = c`
2370
2333
  :host {
2371
2334
  width: 100%;
2372
2335
  box-sizing: border-box;
@@ -2398,12 +2361,12 @@ const Ce = c`
2398
2361
  margin-right: 0.3rem;
2399
2362
  }
2400
2363
  `;
2401
- var ke = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, _ = (i, t, e, o) => {
2402
- for (var r = o > 1 ? void 0 : o ? _e(t, e) : t, s = i.length - 1, l; s >= 0; s--)
2403
- (l = i[s]) && (r = (o ? l(t, e, r) : l(r)) || r);
2404
- return o && r && ke(t, e, r), r;
2364
+ var be = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, $ = (i, t, e, o) => {
2365
+ for (var r = o > 1 ? void 0 : o ? ye(t, e) : t, l = i.length - 1, s; l >= 0; l--)
2366
+ (s = i[l]) && (r = (o ? s(t, e, r) : s(r)) || r);
2367
+ return o && r && be(t, e, r), r;
2405
2368
  };
2406
- let b = class extends p {
2369
+ let b = class extends d {
2407
2370
  constructor() {
2408
2371
  super(...arguments), this.name = "Best available provider", this.providerCount = 0, this.unstable = !1, this.strongPrivacy = !1;
2409
2372
  }
@@ -2448,47 +2411,46 @@ let b = class extends p {
2448
2411
  `;
2449
2412
  }
2450
2413
  };
2451
- b.styles = Ce;
2452
- _([
2414
+ b.styles = ge;
2415
+ $([
2453
2416
  n({ type: String })
2454
2417
  ], b.prototype, "locationKey", 2);
2455
- _([
2418
+ $([
2456
2419
  n({ type: String })
2457
2420
  ], b.prototype, "name", 2);
2458
- _([
2421
+ $([
2459
2422
  n({ type: Number })
2460
2423
  ], b.prototype, "providerCount", 2);
2461
- _([
2424
+ $([
2462
2425
  n({ type: Boolean })
2463
2426
  ], b.prototype, "unstable", 2);
2464
- _([
2427
+ $([
2465
2428
  n({ type: Boolean })
2466
2429
  ], b.prototype, "strongPrivacy", 2);
2467
- _([
2430
+ $([
2468
2431
  n({ type: Function })
2469
2432
  ], b.prototype, "onClick", 2);
2470
- b = _([
2471
- d("ur-selected-location")
2433
+ b = $([
2434
+ u("ur-selected-location")
2472
2435
  ], b);
2473
2436
  export {
2474
- Ee as B,
2475
- Pe as I,
2437
+ _e as B,
2438
+ xe as I,
2476
2439
  g as L,
2477
- $ as M,
2440
+ x as M,
2478
2441
  b as S,
2479
- Ze as T,
2480
- Se as a,
2442
+ Me as T,
2443
+ $e as a,
2481
2444
  Z as b,
2482
2445
  m as c,
2483
2446
  R as d,
2484
2447
  N as e,
2485
2448
  A as f,
2486
2449
  z as g,
2487
- j as h,
2450
+ _ as h,
2488
2451
  U as i,
2489
- u as j,
2452
+ p as j,
2490
2453
  q as k,
2491
- F as l,
2492
- P as m,
2493
- w as n
2454
+ j as l,
2455
+ w as m
2494
2456
  };