@florid-kit/components 0.9.29 → 0.9.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -45,7 +45,7 @@ const Ee = (o) => new ye(typeof o == "string" ? o : o + "", void 0, Vt), v = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Ae, defineProperty: Le, getOwnPropertyDescriptor: Be, getOwnPropertyNames: Pe, getOwnPropertySymbols: Oe, getPrototypeOf: ze } = Object, X = globalThis, le = X.trustedTypes, Ie = le ? le.emptyScript : "", It = X.reactiveElementPolyfillSupport, pt = (o, t) => o, At = { toAttribute(o, t) {
48
+ const { is: Ae, defineProperty: Be, getOwnPropertyDescriptor: Le, getOwnPropertyNames: Pe, getOwnPropertySymbols: ze, getPrototypeOf: Oe } = Object, X = globalThis, le = X.trustedTypes, Ie = le ? le.emptyScript : "", It = X.reactiveElementPolyfillSupport, pt = (o, t) => o, At = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? Ie : null;
@@ -85,11 +85,11 @@ let at = class extends HTMLElement {
85
85
  static createProperty(t, e = ce) {
86
86
  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) {
87
87
  const n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
88
- i !== void 0 && Le(this.prototype, t, i);
88
+ i !== void 0 && Be(this.prototype, t, i);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, e, n) {
92
- const { get: i, set: r } = Be(this.prototype, t) ?? { get() {
92
+ const { get: i, set: r } = Le(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(s) {
95
95
  this[e] = s;
@@ -104,13 +104,13 @@ let at = class extends HTMLElement {
104
104
  }
105
105
  static _$Ei() {
106
106
  if (this.hasOwnProperty(pt("elementProperties"))) return;
107
- const t = ze(this);
107
+ const t = Oe(this);
108
108
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
109
109
  }
110
110
  static finalize() {
111
111
  if (this.hasOwnProperty(pt("finalized"))) return;
112
112
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(pt("properties"))) {
113
- const e = this.properties, n = [...Pe(e), ...Oe(e)];
113
+ const e = this.properties, n = [...Pe(e), ...ze(e)];
114
114
  for (const i of n) this.createProperty(i, e[i]);
115
115
  }
116
116
  const t = this[Symbol.metadata];
@@ -282,7 +282,7 @@ at.elementStyles = [], at.shadowRootOptions = { mode: "open" }, at[pt("elementPr
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const ut = globalThis, Lt = ut.trustedTypes, he = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, me = "$lit$", G = `lit$${Math.random().toFixed(9).slice(2)}$`, xe = "?" + G, De = `<${xe}>`, it = document, ft = () => it.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", Zt = Array.isArray, He = (o) => Zt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Dt = `[
285
+ const ut = globalThis, Bt = ut.trustedTypes, he = Bt ? Bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, me = "$lit$", G = `lit$${Math.random().toFixed(9).slice(2)}$`, xe = "?" + G, De = `<${xe}>`, it = document, ft = () => it.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", Zt = Array.isArray, He = (o) => Zt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Dt = `[
286
286
  \f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, de = /-->/g, pe = />/g, tt = RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
287
287
  \f\r"'\`<>=]|("|')|))|$)`, "g"), ue = /'/g, ve = /"/g, we = /^(?:script|style|textarea|title)$/i, Me = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Me(1), Y = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), fe = /* @__PURE__ */ new WeakMap(), et = it.createTreeWalker(it, 129);
288
288
  function $e(o, t) {
@@ -320,7 +320,7 @@ class bt {
320
320
  if (we.test(i.tagName)) {
321
321
  const f = i.textContent.split(G), N = f.length - 1;
322
322
  if (N > 0) {
323
- i.textContent = Lt ? Lt.emptyScript : "";
323
+ i.textContent = Bt ? Bt.emptyScript : "";
324
324
  for (let W = 0; W < N; W++) i.append(f[W], ft()), et.nextNode(), h.push({ type: 2, index: ++r });
325
325
  i.append(f[N], ft());
326
326
  }
@@ -362,7 +362,7 @@ class je {
362
362
  for (; h !== void 0; ) {
363
363
  if (s === h.index) {
364
364
  let m;
365
- h.type === 2 ? m = new kt(r, r.nextSibling, this, t) : h.type === 1 ? m = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (m = new Ne(r, this, t)), this._$AV.push(m), h = n[++c];
365
+ h.type === 2 ? m = new _t(r, r.nextSibling, this, t) : h.type === 1 ? m = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (m = new Ne(r, this, t)), this._$AV.push(m), h = n[++c];
366
366
  }
367
367
  s !== (h == null ? void 0 : h.index) && (r = et.nextNode(), s++);
368
368
  }
@@ -373,7 +373,7 @@ class je {
373
373
  for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
- class kt {
376
+ class _t {
377
377
  get _$AU() {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -421,7 +421,7 @@ class kt {
421
421
  Zt(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
423
  let n, i = 0;
424
- for (const r of t) i === e.length ? e.push(n = new kt(this.O(ft()), this.O(ft()), this, this.options)) : n = e[i], n._$AI(r), i++;
424
+ for (const r of t) i === e.length ? e.push(n = new _t(this.O(ft()), this.O(ft()), this, this.options)) : n = e[i], n._$AI(r), i++;
425
425
  i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
@@ -503,13 +503,13 @@ class Ne {
503
503
  }
504
504
  }
505
505
  const Ht = ut.litHtmlPolyfillSupport;
506
- Ht == null || Ht(bt, kt), (ut.litHtmlVersions ?? (ut.litHtmlVersions = [])).push("3.3.0");
506
+ Ht == null || Ht(bt, _t), (ut.litHtmlVersions ?? (ut.litHtmlVersions = [])).push("3.3.0");
507
507
  const Ve = (o, t, e) => {
508
508
  const n = (e == null ? void 0 : e.renderBefore) ?? t;
509
509
  let i = n._$litPart$;
510
510
  if (i === void 0) {
511
511
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
- n._$litPart$ = i = new kt(t.insertBefore(ft(), r), r, void 0, e ?? {});
512
+ n._$litPart$ = i = new _t(t.insertBefore(ft(), r), r, void 0, e ?? {});
513
513
  }
514
514
  return i._$AI(o), i;
515
515
  };
@@ -610,7 +610,7 @@ const Ke = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorat
610
610
  * Copyright 2017 Google LLC
611
611
  * SPDX-License-Identifier: BSD-3-Clause
612
612
  */
613
- function _e(o, t) {
613
+ function ke(o, t) {
614
614
  return (e, n, i) => {
615
615
  const r = (s) => {
616
616
  var c;
@@ -767,10 +767,10 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
767
767
  `, $o = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
768
768
  <path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.16602 6.1084V12H8.84668V6.1084H7.16602ZM8.00684 2.64062C7.45497 2.64062 7.01096 3.09591 7.01074 3.63574C7.01074 4.18774 7.45484 4.63184 8.00684 4.63184C8.55862 4.63159 9.00195 4.18759 9.00195 3.63574C9.00174 3.09606 8.55849 2.64088 8.00684 2.64062Z" fill="#4572A6"/>
769
769
  </svg>
770
- `, _o = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
770
+ `, ko = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
771
771
  <path d="M16.0003 10.1648C16.0003 13.2904 13.4583 15.8332 10.3336 15.8332H7.00026C6.81617 15.8332 6.66693 15.6839 6.66693 15.4997C6.66693 15.3156 6.81617 15.1663 7.00026 15.1663H10.3336C13.0909 15.1663 15.3336 12.923 15.3336 10.1648C15.3336 7.40663 13.0909 5.16328 10.3336 5.16328H1.13826L3.90226 7.92812C4.0326 8.05831 4.03275 8.26955 3.9026 8.39993C3.77244 8.5303 3.56127 8.53045 3.43093 8.40026L0.0975955 5.06592C-0.0325318 4.93571 -0.0325318 4.72465 0.0975955 4.59444L3.43093 1.2601C3.56172 1.13374 3.76962 1.13555 3.8982 1.26416C4.02678 1.39278 4.02859 1.60075 3.90226 1.73158L1.13826 4.49641H10.3336C13.4583 4.49641 16.0003 7.03918 16.0003 10.1648Z" fill="#001022"/>
772
772
  </svg>
773
- `, ko = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
773
+ `, _o = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
774
774
  <path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
775
775
  </svg>`, V = {
776
776
  wishlist: Ge,
@@ -796,8 +796,8 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
796
796
  pause: go,
797
797
  mapDualArrow: bo,
798
798
  swipeDualArrow: mo,
799
- backToBag: _o,
800
- checkbox: ko
799
+ backToBag: ko,
800
+ checkbox: _o
801
801
  }, Co = {
802
802
  strikeDiagonal: yo
803
803
  }, Eo = {
@@ -855,7 +855,7 @@ jt.directiveName = "unsafeHTML", jt.resultType = 1;
855
855
  class Ft extends jt {
856
856
  }
857
857
  Ft.directiveName = "unsafeSVG", Ft.resultType = 2;
858
- const $ = Xt(Ft);
858
+ const k = Xt(Ft);
859
859
  /**
860
860
  * @license
861
861
  * Copyright 2020 Google LLC
@@ -873,42 +873,42 @@ const vt = (o, t) => {
873
873
  if (e === void 0) return !1;
874
874
  for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), vt(i, t);
875
875
  return !0;
876
- }, Bt = (o) => {
876
+ }, Lt = (o) => {
877
877
  let t, e;
878
878
  do {
879
879
  if ((t = o._$AM) === void 0) break;
880
880
  e = t._$AN, e.delete(o), o = t;
881
881
  } while ((e == null ? void 0 : e.size) === 0);
882
- }, ke = (o) => {
882
+ }, _e = (o) => {
883
883
  for (let t; t = o._$AM; o = t) {
884
884
  let e = t._$AN;
885
885
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
886
886
  else if (e.has(o)) break;
887
- e.add(o), Bo(t);
887
+ e.add(o), Lo(t);
888
888
  }
889
889
  };
890
890
  function Ao(o) {
891
- this._$AN !== void 0 ? (Bt(this), this._$AM = o, ke(this)) : this._$AM = o;
891
+ this._$AN !== void 0 ? (Lt(this), this._$AM = o, _e(this)) : this._$AM = o;
892
892
  }
893
- function Lo(o, t = !1, e = 0) {
893
+ function Bo(o, t = !1, e = 0) {
894
894
  const n = this._$AH, i = this._$AN;
895
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) vt(n[r], !1), Bt(n[r]);
896
- else n != null && (vt(n, !1), Bt(n));
895
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) vt(n[r], !1), Lt(n[r]);
896
+ else n != null && (vt(n, !1), Lt(n));
897
897
  else vt(this, o);
898
898
  }
899
- const Bo = (o) => {
900
- o.type == Gt.CHILD && (o._$AP ?? (o._$AP = Lo), o._$AQ ?? (o._$AQ = Ao));
899
+ const Lo = (o) => {
900
+ o.type == Gt.CHILD && (o._$AP ?? (o._$AP = Bo), o._$AQ ?? (o._$AQ = Ao));
901
901
  };
902
902
  class Po extends Yt {
903
903
  constructor() {
904
904
  super(...arguments), this._$AN = void 0;
905
905
  }
906
906
  _$AT(t, e, n) {
907
- super._$AT(t, e, n), ke(this), this.isConnected = t._$AU;
907
+ super._$AT(t, e, n), _e(this), this.isConnected = t._$AU;
908
908
  }
909
909
  _$AO(t, e = !0) {
910
910
  var n, i;
911
- t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (vt(this, t), Bt(this));
911
+ t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (vt(this, t), Lt(this));
912
912
  }
913
913
  setValue(t) {
914
914
  if (So(this._$Ct)) this._$Ct._$AI(t, this);
@@ -922,7 +922,7 @@ class Po extends Yt {
922
922
  reconnected() {
923
923
  }
924
924
  }
925
- class Oo extends Po {
925
+ class zo extends Po {
926
926
  constructor() {
927
927
  super(...arguments), this.prevData = {};
928
928
  }
@@ -949,7 +949,7 @@ class Oo extends Po {
949
949
  (!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
950
950
  }
951
951
  }
952
- class zo extends Oo {
952
+ class Oo extends zo {
953
953
  constructor() {
954
954
  super(...arguments), this.eventData = {};
955
955
  }
@@ -993,7 +993,7 @@ class zo extends Oo {
993
993
  }
994
994
  }
995
995
  }
996
- class Io extends zo {
996
+ class Io extends Oo {
997
997
  apply(t) {
998
998
  if (!t)
999
999
  return;
@@ -1048,13 +1048,13 @@ const ge = Xt(Io);
1048
1048
  * Copyright 2018 Google LLC
1049
1049
  * SPDX-License-Identifier: BSD-3-Clause
1050
1050
  */
1051
- const S = (o) => o ?? d;
1052
- var Do = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
1051
+ const A = (o) => o ?? d;
1052
+ var Do = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
1053
1053
  for (var i = n > 1 ? void 0 : n ? Ho(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1054
1054
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1055
1055
  return n && i && Do(t, e, i), i;
1056
1056
  };
1057
- let A = class extends p {
1057
+ let B = class extends p {
1058
1058
  constructor() {
1059
1059
  super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "wishlist", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
1060
1060
  }
@@ -1066,23 +1066,23 @@ let A = class extends p {
1066
1066
  return l`
1067
1067
  ${this.type === "span" ? l`
1068
1068
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
1069
- ${$(e)}
1069
+ ${k(e)}
1070
1070
  </span>
1071
1071
  ` : l`
1072
1072
  <button
1073
1073
  type="button"
1074
- aria-label=${S(i)}
1074
+ aria-label=${A(i)}
1075
1075
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
1076
1076
  ?disabled="${this.disabled}"
1077
1077
  >
1078
- ${$(e)}
1078
+ ${k(e)}
1079
1079
  ${n}
1080
1080
  </button>
1081
1081
  `}
1082
1082
  `;
1083
1083
  }
1084
1084
  };
1085
- A.styles = v`
1085
+ B.styles = v`
1086
1086
  :host {
1087
1087
  display: inline-flex;
1088
1088
  justify-content: center;
@@ -1294,36 +1294,36 @@ A.styles = v`
1294
1294
  display: none;
1295
1295
  }
1296
1296
  `;
1297
- M([
1297
+ T([
1298
1298
  a({ type: String, reflect: !0 })
1299
- ], A.prototype, "bgstyle", 2);
1300
- M([
1299
+ ], B.prototype, "bgstyle", 2);
1300
+ T([
1301
1301
  a({ type: String, reflect: !0 })
1302
- ], A.prototype, "size", 2);
1303
- M([
1302
+ ], B.prototype, "size", 2);
1303
+ T([
1304
1304
  a({ type: String, reflect: !0 })
1305
- ], A.prototype, "status", 2);
1306
- M([
1305
+ ], B.prototype, "status", 2);
1306
+ T([
1307
1307
  a({ type: String, reflect: !0 })
1308
- ], A.prototype, "type", 2);
1309
- M([
1308
+ ], B.prototype, "type", 2);
1309
+ T([
1310
1310
  a({ type: String })
1311
- ], A.prototype, "strokewidth", 2);
1312
- M([
1311
+ ], B.prototype, "strokewidth", 2);
1312
+ T([
1313
1313
  a({ type: String })
1314
- ], A.prototype, "icon", 2);
1315
- M([
1314
+ ], B.prototype, "icon", 2);
1315
+ T([
1316
1316
  a({ type: Boolean, reflect: !0 })
1317
- ], A.prototype, "disabled", 2);
1318
- M([
1317
+ ], B.prototype, "disabled", 2);
1318
+ T([
1319
1319
  a({ type: Boolean })
1320
- ], A.prototype, "showSrLabel", 2);
1321
- M([
1320
+ ], B.prototype, "showSrLabel", 2);
1321
+ T([
1322
1322
  a({ type: String })
1323
- ], A.prototype, "srLabel", 2);
1324
- A = M([
1323
+ ], B.prototype, "srLabel", 2);
1324
+ B = T([
1325
1325
  g("o-icon-button")
1326
- ], A);
1326
+ ], B);
1327
1327
  var Mo = Object.defineProperty, To = Object.getOwnPropertyDescriptor, b = (o, t, e, n) => {
1328
1328
  for (var i = n > 1 ? void 0 : n ? To(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1329
1329
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -1897,7 +1897,7 @@ let y = class extends Ro {
1897
1897
  "<svg",
1898
1898
  '<svg aria-hidden="true" focusable="false" part="svg"'
1899
1899
  );
1900
- return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${$(e)}</span>`;
1900
+ return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${k(e)}</span>`;
1901
1901
  }
1902
1902
  renderButton() {
1903
1903
  const o = this.text || this.textsecond;
@@ -2191,7 +2191,7 @@ x([
2191
2191
  y = x([
2192
2192
  g("o-button")
2193
2193
  ], y);
2194
- var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Ot = (o, t, e, n) => {
2194
+ var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, zt = (o, t, e, n) => {
2195
2195
  for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2196
2196
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2197
2197
  return n && i && Uo(t, e, i), i;
@@ -2223,7 +2223,7 @@ let ct = class extends p {
2223
2223
  return l`
2224
2224
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
2225
2225
  <span class="sr-only">${this.label}</span>
2226
- ${$(o)}
2226
+ ${k(o)}
2227
2227
  </button>
2228
2228
  `;
2229
2229
  }
@@ -2302,16 +2302,16 @@ ct.styles = v`
2302
2302
  white-space: nowrap !important;
2303
2303
  }
2304
2304
  `;
2305
- Ot([
2305
+ zt([
2306
2306
  a({ type: String, reflect: !0 })
2307
2307
  ], ct.prototype, "status", 2);
2308
- Ot([
2308
+ zt([
2309
2309
  a({ type: String, reflect: !0 })
2310
2310
  ], ct.prototype, "ariaDescribedBy", 2);
2311
- Ot([
2311
+ zt([
2312
2312
  a({ type: String, reflect: !0 })
2313
2313
  ], ct.prototype, "label", 2);
2314
- ct = Ot([
2314
+ ct = zt([
2315
2315
  g("o-wishlist-button")
2316
2316
  ], ct);
2317
2317
  var Vo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, st = (o, t, e, n) => {
@@ -2335,7 +2335,7 @@ let q = class extends p {
2335
2335
  return l`
2336
2336
  <a
2337
2337
  href="${o}"
2338
- target="${S(this.target || void 0)}"
2338
+ target="${A(this.target || void 0)}"
2339
2339
  @click="${this._handleClick}"
2340
2340
  >
2341
2341
  ${this.endIcon && this.reverseEndIcon ? l`
@@ -2470,7 +2470,7 @@ st([
2470
2470
  q = st([
2471
2471
  g("o-link")
2472
2472
  ], q);
2473
- var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, zt = (o, t, e, n) => {
2473
+ var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, Ot = (o, t, e, n) => {
2474
2474
  for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2475
2475
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2476
2476
  return n && i && Zo(t, e, i), i;
@@ -2494,7 +2494,7 @@ let ht = class extends p {
2494
2494
  <div class="rating">
2495
2495
  <div class="stars">
2496
2496
  ${o.map(
2497
- (t) => l`<span class="star">${$(V[t] ?? "")}</span>`
2497
+ (t) => l`<span class="star">${k(V[t] ?? "")}</span>`
2498
2498
  )}
2499
2499
  </div>
2500
2500
  ${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
@@ -2536,16 +2536,16 @@ ht.styles = v`
2536
2536
  cursor: pointer;
2537
2537
  }
2538
2538
  `;
2539
- zt([
2539
+ Ot([
2540
2540
  a({ type: Number })
2541
2541
  ], ht.prototype, "rating", 2);
2542
- zt([
2542
+ Ot([
2543
2543
  a({ type: String })
2544
2544
  ], ht.prototype, "reviewCount", 2);
2545
- zt([
2545
+ Ot([
2546
2546
  a({ type: String })
2547
2547
  ], ht.prototype, "href", 2);
2548
- ht = zt([
2548
+ ht = Ot([
2549
2549
  g("o-rating")
2550
2550
  ], ht);
2551
2551
  var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, Q = (o, t, e, n) => {
@@ -2553,7 +2553,7 @@ var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, Q = (o, t,
2553
2553
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2554
2554
  return n && i && Wo(t, e, i), i;
2555
2555
  };
2556
- let H = class extends p {
2556
+ let M = class extends p {
2557
2557
  constructor() {
2558
2558
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
2559
2559
  <o-icon-button
@@ -2644,7 +2644,7 @@ let H = class extends p {
2644
2644
  `;
2645
2645
  }
2646
2646
  };
2647
- H.styles = v`
2647
+ M.styles = v`
2648
2648
  :host {
2649
2649
  display: flex;
2650
2650
  gap: 5px;
@@ -2752,28 +2752,28 @@ H.styles = v`
2752
2752
  `;
2753
2753
  Q([
2754
2754
  a({ type: Array })
2755
- ], H.prototype, "thumbnails", 2);
2755
+ ], M.prototype, "thumbnails", 2);
2756
2756
  Q([
2757
2757
  a({ type: Number })
2758
- ], H.prototype, "activeIndex", 2);
2758
+ ], M.prototype, "activeIndex", 2);
2759
2759
  Q([
2760
2760
  a({ type: Array })
2761
- ], H.prototype, "disabledIndexes", 2);
2761
+ ], M.prototype, "disabledIndexes", 2);
2762
2762
  Q([
2763
2763
  a({ type: String })
2764
- ], H.prototype, "maxWidth", 2);
2764
+ ], M.prototype, "maxWidth", 2);
2765
2765
  Q([
2766
2766
  a({ type: String })
2767
- ], H.prototype, "altressource", 2);
2767
+ ], M.prototype, "altressource", 2);
2768
2768
  Q([
2769
2769
  a({ type: Object })
2770
- ], H.prototype, "swiperInstance", 2);
2770
+ ], M.prototype, "swiperInstance", 2);
2771
2771
  Q([
2772
2772
  J()
2773
- ], H.prototype, "focusedIndex", 2);
2774
- H = Q([
2773
+ ], M.prototype, "focusedIndex", 2);
2774
+ M = Q([
2775
2775
  g("thumbnail-navigation")
2776
- ], H);
2776
+ ], M);
2777
2777
  var Xo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Jt = (o, t, e, n) => {
2778
2778
  for (var i = n > 1 ? void 0 : n ? Yo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2779
2779
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -2981,7 +2981,7 @@ var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Z = (o, t,
2981
2981
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2982
2982
  return n && i && ti(t, e, i), i;
2983
2983
  };
2984
- let I = class extends p {
2984
+ let D = class extends p {
2985
2985
  constructor() {
2986
2986
  super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
2987
2987
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3092,10 +3092,10 @@ let I = class extends p {
3092
3092
  ${e.url ? l`
3093
3093
  <a href="${e.url}">
3094
3094
  <span>${e.label}</span>
3095
- ${e.value === this.value ? l`<span class="check">${$(o)}</span>` : null}
3095
+ ${e.value === this.value ? l`<span class="check">${k(o)}</span>` : null}
3096
3096
  </a>` : l`
3097
3097
  <span>${e.label}</span>
3098
- ${e.value === this.value ? l`<span class="check">${$(o)}</span>` : null}`}
3098
+ ${e.value === this.value ? l`<span class="check">${k(o)}</span>` : null}`}
3099
3099
  </li>`
3100
3100
  )}
3101
3101
  </ul>` : null}
@@ -3104,7 +3104,7 @@ let I = class extends p {
3104
3104
  `;
3105
3105
  }
3106
3106
  };
3107
- I.styles = v`
3107
+ D.styles = v`
3108
3108
  :host {
3109
3109
  display: inline-block;
3110
3110
  position: relative;
@@ -3246,31 +3246,31 @@ I.styles = v`
3246
3246
  `;
3247
3247
  Z([
3248
3248
  a({ type: Array, reflect: !0 })
3249
- ], I.prototype, "options", 2);
3249
+ ], D.prototype, "options", 2);
3250
3250
  Z([
3251
3251
  a({ type: String, reflect: !0 })
3252
- ], I.prototype, "value", 2);
3252
+ ], D.prototype, "value", 2);
3253
3253
  Z([
3254
3254
  a({ type: String, reflect: !0 })
3255
- ], I.prototype, "name", 2);
3255
+ ], D.prototype, "name", 2);
3256
3256
  Z([
3257
3257
  a({ type: Boolean, reflect: !0 })
3258
- ], I.prototype, "disabled", 2);
3258
+ ], D.prototype, "disabled", 2);
3259
3259
  Z([
3260
3260
  a({ type: String, reflect: !0 })
3261
- ], I.prototype, "width", 2);
3261
+ ], D.prototype, "width", 2);
3262
3262
  Z([
3263
3263
  J()
3264
- ], I.prototype, "open", 2);
3264
+ ], D.prototype, "open", 2);
3265
3265
  Z([
3266
3266
  J()
3267
- ], I.prototype, "activeIndex", 2);
3267
+ ], D.prototype, "activeIndex", 2);
3268
3268
  Z([
3269
3269
  J()
3270
- ], I.prototype, "menuWidth", 2);
3271
- I = Z([
3270
+ ], D.prototype, "menuWidth", 2);
3271
+ D = Z([
3272
3272
  g("o-dropdown")
3273
- ], I);
3273
+ ], D);
3274
3274
  var oi = Object.getOwnPropertyDescriptor, ii = (o, t, e, n) => {
3275
3275
  for (var i = n > 1 ? void 0 : n ? oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3276
3276
  (s = o[r]) && (i = s(i) || i);
@@ -3336,7 +3336,7 @@ Rt.styles = v`
3336
3336
  Rt = ii([
3337
3337
  g("o-dots")
3338
3338
  ], Rt);
3339
- var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3339
+ var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
3340
3340
  for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3341
3341
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3342
3342
  return n && i && ni(t, e, i), i;
@@ -3425,7 +3425,7 @@ let L = class extends p {
3425
3425
  ?disabled=${this.disabled}
3426
3426
  class="btn-dropdown"
3427
3427
  >
3428
- <img alt="${S(t == null ? void 0 : t.label)}" src="${S(t == null ? void 0 : t.imgurl)}" />
3428
+ <img alt="${A(t == null ? void 0 : t.label)}" src="${A(t == null ? void 0 : t.imgurl)}" />
3429
3429
  <span id="dropdown-label" class="label">
3430
3430
  ${t ? t.label : "Select an option"}
3431
3431
  </span>
@@ -3460,13 +3460,13 @@ let L = class extends p {
3460
3460
  class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3461
3461
  @click=${() => this.selectOption(e)}
3462
3462
  >
3463
- <a href="${S(e.url)}">
3464
- <img alt="${S(e.label)}" src="${S(e.imgurl)}" />
3463
+ <a href="${A(e.url)}">
3464
+ <img alt="${A(e.label)}" src="${A(e.imgurl)}" />
3465
3465
  <span class="label">${e.label}</span>
3466
3466
  <div class="right">
3467
- <span class="additional-text">${S(e.additionaltext)}</span>
3467
+ <span class="additional-text">${A(e.additionaltext)}</span>
3468
3468
  ${e.value === this.value && !e.additionaltext ? l`
3469
- <span class="check">${$(o)}</span>` : null}
3469
+ <span class="check">${k(o)}</span>` : null}
3470
3470
  </div>
3471
3471
  </a>
3472
3472
  </li>
@@ -3654,34 +3654,34 @@ L.styles = v`
3654
3654
  display: none;
3655
3655
  }
3656
3656
  `;
3657
- T([
3657
+ j([
3658
3658
  a({ type: Array, reflect: !0 })
3659
3659
  ], L.prototype, "options", 2);
3660
- T([
3660
+ j([
3661
3661
  a({ type: String, reflect: !0 })
3662
3662
  ], L.prototype, "value", 2);
3663
- T([
3663
+ j([
3664
3664
  a({ type: String, reflect: !0 })
3665
3665
  ], L.prototype, "name", 2);
3666
- T([
3666
+ j([
3667
3667
  a({ type: String, reflect: !0 })
3668
3668
  ], L.prototype, "additionaltext", 2);
3669
- T([
3669
+ j([
3670
3670
  a({ type: Boolean, reflect: !0 })
3671
3671
  ], L.prototype, "disabled", 2);
3672
- T([
3672
+ j([
3673
3673
  a({ type: String, reflect: !0 })
3674
3674
  ], L.prototype, "width", 2);
3675
- T([
3675
+ j([
3676
3676
  J()
3677
3677
  ], L.prototype, "open", 2);
3678
- T([
3678
+ j([
3679
3679
  J()
3680
3680
  ], L.prototype, "activeIndex", 2);
3681
- T([
3681
+ j([
3682
3682
  J()
3683
3683
  ], L.prototype, "menuWidth", 2);
3684
- L = T([
3684
+ L = j([
3685
3685
  g("o-dropdown-variant")
3686
3686
  ], L);
3687
3687
  /**
@@ -3732,13 +3732,13 @@ let xt = class extends p {
3732
3732
  width: `${this.imageSize}px`,
3733
3733
  height: `${this.imageSize}px`
3734
3734
  }, n = this.option && this.option.title ? o(this.option.title) : "", i = this.option && this.option.description ? o(this.option.description) : "", r = l`
3735
- ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(n)}" aria-hidden="true" style=${ai(e)} />` : ""}
3735
+ ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${A(n)}" aria-hidden="true" style=${ai(e)} />` : ""}
3736
3736
  <div class="m-reassurance-content">
3737
- <h3 class="a-reassurance-text">${S(n)}</h3>
3738
- <p class="a-reassurance-description">${S(i)}</p>
3737
+ <h3 class="a-reassurance-text">${A(n)}</h3>
3738
+ <p class="a-reassurance-description">${A(i)}</p>
3739
3739
  </div>
3740
3740
  `;
3741
- return t ? l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
3741
+ return t ? l`<a href="${A(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
3742
3742
  }
3743
3743
  };
3744
3744
  xt.styles = v`
@@ -3838,7 +3838,7 @@ var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, K = (o, t,
3838
3838
  return n && i && hi(t, e, i), i;
3839
3839
  };
3840
3840
  const pi = Wt(p);
3841
- let B = class extends pi {
3841
+ let P = class extends pi {
3842
3842
  constructor() {
3843
3843
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
3844
3844
  }
@@ -3861,7 +3861,7 @@ let B = class extends pi {
3861
3861
  `;
3862
3862
  }
3863
3863
  };
3864
- B.styles = v`
3864
+ P.styles = v`
3865
3865
  :host {
3866
3866
  cursor: pointer;
3867
3867
  display: inline-flex;
@@ -3953,31 +3953,31 @@ B.styles = v`
3953
3953
  `;
3954
3954
  K([
3955
3955
  a({ type: String, reflect: !0 })
3956
- ], B.prototype, "link", 2);
3956
+ ], P.prototype, "link", 2);
3957
3957
  K([
3958
3958
  a({ reflect: !0 })
3959
- ], B.prototype, "name", 2);
3959
+ ], P.prototype, "name", 2);
3960
3960
  K([
3961
3961
  a({ reflect: !0 })
3962
- ], B.prototype, "value", 2);
3962
+ ], P.prototype, "value", 2);
3963
3963
  K([
3964
3964
  a({ type: String })
3965
- ], B.prototype, "text", 2);
3965
+ ], P.prototype, "text", 2);
3966
3966
  K([
3967
3967
  a({ type: String, reflect: !0 })
3968
- ], B.prototype, "size", 2);
3968
+ ], P.prototype, "size", 2);
3969
3969
  K([
3970
3970
  a({ type: Boolean, reflect: !0 })
3971
- ], B.prototype, "selected", 2);
3971
+ ], P.prototype, "selected", 2);
3972
3972
  K([
3973
3973
  a({ type: Boolean, reflect: !0 })
3974
- ], B.prototype, "fullwidth", 2);
3974
+ ], P.prototype, "fullwidth", 2);
3975
3975
  K([
3976
3976
  a({ type: Boolean, reflect: !0 })
3977
- ], B.prototype, "inactive", 2);
3978
- B = K([
3977
+ ], P.prototype, "inactive", 2);
3978
+ P = K([
3979
3979
  g("o-chip")
3980
- ], B);
3980
+ ], P);
3981
3981
  var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
3982
3982
  for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3983
3983
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -3988,7 +3988,7 @@ let wt = class extends p {
3988
3988
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
3989
3989
  }
3990
3990
  onChipSelected(o) {
3991
- const t = o.target instanceof B ? o.target : null;
3991
+ const t = o.target instanceof P ? o.target : null;
3992
3992
  t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
3993
3993
  e !== t && (e.selected = !1);
3994
3994
  }));
@@ -4016,13 +4016,13 @@ ee([
4016
4016
  wt = ee([
4017
4017
  g("o-chipset")
4018
4018
  ], wt);
4019
- var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
4019
+ var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, F = (o, t, e, n) => {
4020
4020
  for (var i = n > 1 ? void 0 : n ? gi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4021
4021
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4022
4022
  return n && i && fi(t, e, i), i;
4023
4023
  };
4024
4024
  const bi = Wt(p);
4025
- let P = class extends bi {
4025
+ let z = class extends bi {
4026
4026
  constructor() {
4027
4027
  super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
4028
4028
  }
@@ -4038,14 +4038,14 @@ let P = class extends bi {
4038
4038
  "<svg",
4039
4039
  '<svg aria-hidden="true" focusable="false" part="svg"'
4040
4040
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
4041
- return l`<span class="cross-icon">${$(o)}</span>`;
4041
+ return l`<span class="cross-icon">${k(o)}</span>`;
4042
4042
  }
4043
4043
  strikeThroughImg() {
4044
4044
  const o = Co[this.strikethroughImgName].replace(
4045
4045
  "<svg",
4046
4046
  '<svg aria-hidden="true" focusable="false" part="strikethrough"'
4047
4047
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
4048
- return $(o);
4048
+ return k(o);
4049
4049
  }
4050
4050
  render() {
4051
4051
  const o = this.text;
@@ -4072,7 +4072,7 @@ let P = class extends bi {
4072
4072
  `;
4073
4073
  }
4074
4074
  };
4075
- P.styles = v`
4075
+ z.styles = v`
4076
4076
  :host {
4077
4077
  cursor: pointer;
4078
4078
  display: inline-flex;
@@ -4198,37 +4198,37 @@ P.styles = v`
4198
4198
  }
4199
4199
  }
4200
4200
  `;
4201
- j([
4201
+ F([
4202
4202
  a({ reflect: !0 })
4203
- ], P.prototype, "name", 2);
4204
- j([
4203
+ ], z.prototype, "name", 2);
4204
+ F([
4205
4205
  a({ reflect: !0 })
4206
- ], P.prototype, "value", 2);
4207
- j([
4206
+ ], z.prototype, "value", 2);
4207
+ F([
4208
4208
  a({ type: String, reflect: !0 })
4209
- ], P.prototype, "type", 2);
4210
- j([
4209
+ ], z.prototype, "type", 2);
4210
+ F([
4211
4211
  a({ type: String, reflect: !0 })
4212
- ], P.prototype, "href", 2);
4213
- j([
4212
+ ], z.prototype, "href", 2);
4213
+ F([
4214
4214
  a({ type: String, reflect: !0, attribute: "data-href" })
4215
- ], P.prototype, "dataHref", 2);
4216
- j([
4215
+ ], z.prototype, "dataHref", 2);
4216
+ F([
4217
4217
  a({ type: String })
4218
- ], P.prototype, "text", 2);
4219
- j([
4218
+ ], z.prototype, "text", 2);
4219
+ F([
4220
4220
  a({ type: Boolean, reflect: !0 })
4221
- ], P.prototype, "selected", 2);
4222
- j([
4221
+ ], z.prototype, "selected", 2);
4222
+ F([
4223
4223
  a({ type: Boolean, reflect: !0 })
4224
- ], P.prototype, "disabled", 2);
4225
- j([
4224
+ ], z.prototype, "disabled", 2);
4225
+ F([
4226
4226
  a({ type: Boolean, reflect: !0 })
4227
- ], P.prototype, "fullwidth", 2);
4228
- P = j([
4227
+ ], z.prototype, "fullwidth", 2);
4228
+ z = F([
4229
4229
  g("o-filter-chip")
4230
- ], P);
4231
- var yi = Object.defineProperty, F = (o, t, e, n) => {
4230
+ ], z);
4231
+ var yi = Object.defineProperty, R = (o, t, e, n) => {
4232
4232
  for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
4233
4233
  (s = o[r]) && (i = s(t, e, i) || i);
4234
4234
  return i && yi(t, e, i), i;
@@ -4380,38 +4380,38 @@ ne.styles = v`
4380
4380
  cursor: pointer;
4381
4381
  }
4382
4382
  `;
4383
- let k = ne;
4384
- F([
4383
+ let C = ne;
4384
+ R([
4385
4385
  a({ type: String })
4386
- ], k.prototype, "type");
4387
- F([
4386
+ ], C.prototype, "type");
4387
+ R([
4388
4388
  a({ type: String })
4389
- ], k.prototype, "titleProduct");
4390
- F([
4389
+ ], C.prototype, "titleProduct");
4390
+ R([
4391
4391
  a({ type: String })
4392
- ], k.prototype, "volume");
4393
- F([
4392
+ ], C.prototype, "volume");
4393
+ R([
4394
4394
  a({ type: String })
4395
- ], k.prototype, "perLiter");
4396
- F([
4395
+ ], C.prototype, "perLiter");
4396
+ R([
4397
4397
  a({ type: String })
4398
- ], k.prototype, "mainPrice");
4399
- F([
4398
+ ], C.prototype, "mainPrice");
4399
+ R([
4400
4400
  a({ type: String })
4401
- ], k.prototype, "imageUrl");
4402
- F([
4401
+ ], C.prototype, "imageUrl");
4402
+ R([
4403
4403
  a({ type: String })
4404
- ], k.prototype, "altImage");
4405
- F([
4404
+ ], C.prototype, "altImage");
4405
+ R([
4406
4406
  a({ type: Boolean })
4407
- ], k.prototype, "fullwidth");
4408
- F([
4407
+ ], C.prototype, "fullwidth");
4408
+ R([
4409
4409
  a({ type: String })
4410
- ], k.prototype, "tagText");
4411
- F([
4410
+ ], C.prototype, "tagText");
4411
+ R([
4412
4412
  a({ type: Function })
4413
- ], k.prototype, "onClickTile");
4414
- customElements.define("mini-tile", k);
4413
+ ], C.prototype, "onClickTile");
4414
+ customElements.define("mini-tile", C);
4415
4415
  var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
4416
4416
  for (var i = n > 1 ? void 0 : n ? xi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4417
4417
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -4473,7 +4473,7 @@ oe([
4473
4473
  $t = oe([
4474
4474
  g("o-badge")
4475
4475
  ], $t);
4476
- var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, z = (o, t, e, n) => {
4476
+ var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, I = (o, t, e, n) => {
4477
4477
  for (var i = n > 1 ? void 0 : n ? $i(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4478
4478
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4479
4479
  return n && i && wi(t, e, i), i;
@@ -4526,7 +4526,7 @@ let _ = class extends p {
4526
4526
  return l`
4527
4527
  <div class="o-toast">
4528
4528
  <div class="o-toast-icon">
4529
- ${$(t)}
4529
+ ${k(t)}
4530
4530
  </div>
4531
4531
  <div class="o-toast-text">
4532
4532
  ${this.text}
@@ -4620,48 +4620,48 @@ _.styles = v`
4620
4620
  height: 16px;
4621
4621
  }
4622
4622
  `;
4623
- z([
4623
+ I([
4624
4624
  a({ type: String, reflect: !0 })
4625
4625
  ], _.prototype, "icon", 2);
4626
- z([
4626
+ I([
4627
4627
  a({ type: String, reflect: !0 })
4628
4628
  ], _.prototype, "text", 2);
4629
- z([
4629
+ I([
4630
4630
  a({ type: String, reflect: !0 })
4631
4631
  ], _.prototype, "verticalanchor", 2);
4632
- z([
4632
+ I([
4633
4633
  a({ type: String, reflect: !0 })
4634
4634
  ], _.prototype, "horizontalanchor", 2);
4635
- z([
4635
+ I([
4636
4636
  a({ type: Number, reflect: !0 })
4637
4637
  ], _.prototype, "verticaloffset", 2);
4638
- z([
4638
+ I([
4639
4639
  a({ type: Number, reflect: !0 })
4640
4640
  ], _.prototype, "horizontaloffset", 2);
4641
- z([
4641
+ I([
4642
4642
  a({ type: Number, reflect: !0 })
4643
4643
  ], _.prototype, "animationduration", 2);
4644
- z([
4644
+ I([
4645
4645
  a({ type: String, reflect: !0 })
4646
4646
  ], _.prototype, "animationaxis", 2);
4647
- z([
4647
+ I([
4648
4648
  a({ type: Boolean, reflect: !0 })
4649
4649
  ], _.prototype, "animated", 2);
4650
- z([
4650
+ I([
4651
4651
  a({ type: Number, reflect: !0 })
4652
4652
  ], _.prototype, "lifeduration", 2);
4653
- z([
4653
+ I([
4654
4654
  a({ type: Boolean, reflect: !0 })
4655
4655
  ], _.prototype, "multiline", 2);
4656
- _ = z([
4656
+ _ = I([
4657
4657
  g("o-toast")
4658
4658
  ], _);
4659
- var _i = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
4660
- for (var i = n > 1 ? void 0 : n ? ki(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4659
+ var ki = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
4660
+ for (var i = n > 1 ? void 0 : n ? _i(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4661
4661
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4662
- return n && i && _i(t, e, i), i;
4662
+ return n && i && ki(t, e, i), i;
4663
4663
  };
4664
- let Ci = 0, C = class extends p {
4664
+ let Ci = 0, E = class extends p {
4665
4665
  constructor() {
4666
4666
  super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++Ci}`);
4667
4667
  }
@@ -4678,7 +4678,7 @@ let Ci = 0, C = class extends p {
4678
4678
  this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
4679
4679
  }
4680
4680
  render() {
4681
- const o = $(V.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = $(V.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
4681
+ const o = k(V.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = k(V.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
4682
4682
  return l`
4683
4683
  <input
4684
4684
  type="checkbox"
@@ -4701,7 +4701,7 @@ let Ci = 0, C = class extends p {
4701
4701
  `;
4702
4702
  }
4703
4703
  };
4704
- C.styles = v`
4704
+ E.styles = v`
4705
4705
  :host {
4706
4706
  display: inline-flex;
4707
4707
  align-items: center;
@@ -4805,40 +4805,40 @@ C.styles = v`
4805
4805
  stroke: var(--color-border-white);
4806
4806
  }
4807
4807
  `;
4808
- D([
4808
+ H([
4809
4809
  a({ type: Boolean, reflect: !0 })
4810
- ], C.prototype, "checked", 2);
4811
- D([
4810
+ ], E.prototype, "checked", 2);
4811
+ H([
4812
4812
  a({ type: Boolean, reflect: !0 })
4813
- ], C.prototype, "indeterminate", 2);
4814
- D([
4813
+ ], E.prototype, "indeterminate", 2);
4814
+ H([
4815
4815
  a({ type: Boolean, reflect: !0 })
4816
- ], C.prototype, "disabled", 2);
4817
- D([
4816
+ ], E.prototype, "disabled", 2);
4817
+ H([
4818
4818
  a({ type: String, reflect: !0 })
4819
- ], C.prototype, "size", 2);
4820
- D([
4819
+ ], E.prototype, "size", 2);
4820
+ H([
4821
4821
  a({ type: Boolean })
4822
- ], C.prototype, "showLabel", 2);
4823
- D([
4822
+ ], E.prototype, "showLabel", 2);
4823
+ H([
4824
4824
  a({ type: String })
4825
- ], C.prototype, "label", 2);
4826
- D([
4825
+ ], E.prototype, "label", 2);
4826
+ H([
4827
4827
  a({ type: String })
4828
- ], C.prototype, "name", 2);
4829
- D([
4828
+ ], E.prototype, "name", 2);
4829
+ H([
4830
4830
  a({ type: String })
4831
- ], C.prototype, "value", 2);
4832
- D([
4831
+ ], E.prototype, "value", 2);
4832
+ H([
4833
4833
  a({ type: String, reflect: !0 })
4834
- ], C.prototype, "inputId", 2);
4835
- D([
4836
- _e("input")
4837
- ], C.prototype, "inputEl", 2);
4838
- C = D([
4834
+ ], E.prototype, "inputId", 2);
4835
+ H([
4836
+ ke("input")
4837
+ ], E.prototype, "inputEl", 2);
4838
+ E = H([
4839
4839
  g("o-checkbox")
4840
- ], C);
4841
- var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, R = (o, t, e, n) => {
4840
+ ], E);
4841
+ var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
4842
4842
  for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4843
4843
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4844
4844
  return n && i && Ei(t, e, i), i;
@@ -4967,38 +4967,38 @@ O.styles = v`
4967
4967
  height: 0;
4968
4968
  }
4969
4969
  `;
4970
- R([
4970
+ U([
4971
4971
  a({ type: Boolean, reflect: !0 })
4972
4972
  ], O.prototype, "checked", 2);
4973
- R([
4973
+ U([
4974
4974
  a({ type: Boolean, reflect: !0 })
4975
4975
  ], O.prototype, "disabled", 2);
4976
- R([
4976
+ U([
4977
4977
  a({ type: String, reflect: !0 })
4978
4978
  ], O.prototype, "size", 2);
4979
- R([
4979
+ U([
4980
4980
  a({ type: Boolean })
4981
4981
  ], O.prototype, "showLabel", 2);
4982
- R([
4982
+ U([
4983
4983
  a({ type: String })
4984
4984
  ], O.prototype, "label", 2);
4985
- R([
4985
+ U([
4986
4986
  a({ type: String })
4987
4987
  ], O.prototype, "name", 2);
4988
- R([
4988
+ U([
4989
4989
  a({ type: String })
4990
4990
  ], O.prototype, "value", 2);
4991
- R([
4991
+ U([
4992
4992
  a({ type: String, reflect: !0 })
4993
4993
  ], O.prototype, "inputId", 2);
4994
- R([
4995
- _e("input")
4994
+ U([
4995
+ ke("input")
4996
4996
  ], O.prototype, "inputEl", 2);
4997
- O = R([
4997
+ O = U([
4998
4998
  g("o-radio")
4999
4999
  ], O);
5000
- var Li = Object.getOwnPropertyDescriptor, Bi = (o, t, e, n) => {
5001
- for (var i = n > 1 ? void 0 : n ? Li(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5000
+ var Bi = Object.getOwnPropertyDescriptor, Li = (o, t, e, n) => {
5001
+ for (var i = n > 1 ? void 0 : n ? Bi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5002
5002
  (s = o[r]) && (i = s(i) || i);
5003
5003
  return i;
5004
5004
  };
@@ -5025,15 +5025,15 @@ Ut.styles = v`
5025
5025
  padding: var(--spacing-4-xs);
5026
5026
  }
5027
5027
  `;
5028
- Ut = Bi([
5028
+ Ut = Li([
5029
5029
  g("o-breadcrumbs")
5030
5030
  ], Ut);
5031
- var Pi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
5032
- for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5031
+ var Pi = Object.defineProperty, zi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
5032
+ for (var i = n > 1 ? void 0 : n ? zi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5033
5033
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5034
5034
  return n && i && Pi(t, e, i), i;
5035
5035
  };
5036
- let _t = class extends p {
5036
+ let kt = class extends p {
5037
5037
  constructor() {
5038
5038
  super(...arguments), this.href = "", this.active = !1;
5039
5039
  }
@@ -5054,7 +5054,7 @@ let _t = class extends p {
5054
5054
  `;
5055
5055
  }
5056
5056
  };
5057
- _t.styles = v`
5057
+ kt.styles = v`
5058
5058
  :host(:not([active]))::after {
5059
5059
  content: "/";
5060
5060
  margin: 0 0.5rem;
@@ -5096,17 +5096,17 @@ _t.styles = v`
5096
5096
  `;
5097
5097
  ie([
5098
5098
  a({ type: String })
5099
- ], _t.prototype, "href", 2);
5099
+ ], kt.prototype, "href", 2);
5100
5100
  ie([
5101
5101
  a({ type: Boolean, reflect: !0 })
5102
- ], _t.prototype, "active", 2);
5103
- _t = ie([
5102
+ ], kt.prototype, "active", 2);
5103
+ kt = ie([
5104
5104
  g("o-breadcrumb")
5105
- ], _t);
5106
- var zi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Ct = (o, t, e, n) => {
5105
+ ], kt);
5106
+ var Oi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Ct = (o, t, e, n) => {
5107
5107
  for (var i = n > 1 ? void 0 : n ? Ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5108
5108
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5109
- return n && i && zi(t, e, i), i;
5109
+ return n && i && Oi(t, e, i), i;
5110
5110
  };
5111
5111
  let nt = class extends p {
5112
5112
  constructor() {
@@ -5260,14 +5260,14 @@ const Di = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5260
5260
  id="path52"
5261
5261
  style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
5262
5262
  d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;
5263
- var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
5263
+ var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, S = (o, t, e, n) => {
5264
5264
  for (var i = n > 1 ? void 0 : n ? Mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5265
5265
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5266
5266
  return n && i && Hi(t, e, i), i;
5267
5267
  };
5268
5268
  const re = class re extends p {
5269
5269
  constructor() {
5270
- super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
5270
+ super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.background = "", this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this.showBackButton = !1, this.contrast = !1, this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
5271
5271
  var n;
5272
5272
  if (!this.open || !this.closeOnBackdrop) return;
5273
5273
  const e = t.composedPath()[0];
@@ -5287,6 +5287,10 @@ const re = class re extends p {
5287
5287
  document.removeEventListener("keydown", this._onKeydown), super.disconnectedCallback();
5288
5288
  }
5289
5289
  updated(t) {
5290
+ if (t.has("background") || t.has("backgroundUrl")) {
5291
+ let e = "";
5292
+ this.background && this.background.trim() ? e = this.background.trim() : this.backgroundUrl && this.backgroundUrl.trim() && (e = `url('${this.backgroundUrl.trim()}') center/cover no-repeat`), this.style.setProperty("--_bg", e);
5293
+ }
5290
5294
  if (t.has("open") && this.lockScroll) {
5291
5295
  const e = document == null ? void 0 : document.body;
5292
5296
  e && (e.style.overflow = this.open ? "hidden" : ""), this.open ? this.updateComplete.then(() => {
@@ -5298,6 +5302,9 @@ const re = class re extends p {
5298
5302
  _onKeydown(t) {
5299
5303
  this.open && this.closeOnEsc && t.key === "Escape" && (t.preventDefault(), this._requestClose("esc"));
5300
5304
  }
5305
+ _onBackClick() {
5306
+ this.dispatchEvent(new CustomEvent("back", { bubbles: !0, composed: !0 }));
5307
+ }
5301
5308
  _requestClose(t) {
5302
5309
  const e = new CustomEvent("request-close", {
5303
5310
  bubbles: !0,
@@ -5312,26 +5319,39 @@ const re = class re extends p {
5312
5319
  data-close-btn
5313
5320
  icon="cross"
5314
5321
  size="large"
5315
- bgstyle="none-light"
5322
+ bgstyle="none-${this.contrast ? "contrast" : "light"}"
5316
5323
  status="empty"
5317
5324
  type="button"
5318
5325
  aria-label="Close"
5319
5326
  @click=${() => this._requestClose("button")}
5320
5327
  ></o-icon-button>
5321
5328
  ` : l`
5322
- <button
5323
- class="close"
5324
- data-close-btn
5325
- aria-label="Close"
5326
- @click=${() => this._requestClose("button")}
5327
- >×</button>
5329
+ <button class="close" data-close-btn aria-label="Close" @click=${() => this._requestClose("button")}>×</button>
5328
5330
  `;
5329
5331
  }
5332
+ _renderBackButton() {
5333
+ return l`
5334
+ <div part="back">
5335
+ <o-icon-button
5336
+ icon="arrowLeft"
5337
+ size="large"
5338
+ status="empty"
5339
+ class="return-btn"
5340
+ bgstyle="none-${this.contrast ? "contrast" : "light"}"
5341
+ data-role="back"
5342
+ @click=${() => this._onBackClick()}
5343
+ @keydown=${() => this._onBackClick()}
5344
+ srlabel="Go back"
5345
+ ?showsrlabel=${!0}
5346
+ tabindex="-1"
5347
+ ></o-icon-button>
5348
+ </div>
5349
+ `;
5350
+ }
5330
5351
  render() {
5331
- const t = this.backgroundUrl ? `--_bg-image: url('${this.backgroundUrl}')` : "";
5332
5352
  return l`
5333
5353
  ${this.open ? l`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>` : null}
5334
- <div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" style=${t} @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
5354
+ <div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
5335
5355
  <section
5336
5356
  class="dialog"
5337
5357
  part="dialog"
@@ -5341,12 +5361,11 @@ const re = class re extends p {
5341
5361
  aria-labelledby=${this.title ? this._labelId : void 0}
5342
5362
  >
5343
5363
  <header part="header">
5364
+ ${this.showBackButton ? this._renderBackButton() : null}
5344
5365
  <div class="brand">
5345
- <span slot="logo">${$(Di)}</span>
5346
- </div>
5347
- <div part="close">
5348
- ${this._renderCloseButton()}
5366
+ <span slot="logo${this.contrast ? "-contrast" : ""}">${k(Di)}</span>
5349
5367
  </div>
5368
+ <div part="close${this.contrast ? "-contrast" : ""}">${this._renderCloseButton()}</div>
5350
5369
  </header>
5351
5370
  <main part="body">
5352
5371
  <slot></slot>
@@ -5373,7 +5392,6 @@ re.styles = v`
5373
5392
  position: relative;
5374
5393
  display: block;
5375
5394
  }
5376
-
5377
5395
  :host([open]) { display: block; }
5378
5396
 
5379
5397
  .backdrop {
@@ -5390,14 +5408,13 @@ re.styles = v`
5390
5408
  place-items: center;
5391
5409
  padding: 0;
5392
5410
  }
5393
-
5394
5411
  .dialog-wrapper.intro-pagedesigner {
5395
- height: 100vh;
5396
- max-height: 900px;
5397
- position: relative;
5412
+ height: 100vh;
5413
+ max-height: 900px;
5414
+ position: relative;
5398
5415
  }
5399
5416
 
5400
- /* Default: FULLSCREEN */
5417
+ /* FULLSCREEN */
5401
5418
  .dialog {
5402
5419
  position: relative;
5403
5420
  width: 100%;
@@ -5412,12 +5429,11 @@ re.styles = v`
5412
5429
  background: var(--color-container-bg-white, #fff);
5413
5430
  }
5414
5431
 
5415
- /* Background image layer */
5416
5432
  .dialog::before {
5417
5433
  content: '';
5418
5434
  position: absolute;
5419
5435
  inset: 0;
5420
- background-image: var(--_bg-image);
5436
+ background: var(--_bg, none);
5421
5437
  background-size: cover;
5422
5438
  background-position: center;
5423
5439
  opacity: 1;
@@ -5438,76 +5454,29 @@ re.styles = v`
5438
5454
  to bottom,
5439
5455
  var(--popin-top-gradient-color, rgba(0, 0, 0, 1)) -168px,
5440
5456
  rgba(0, 0, 0, 0)
5441
- );
5457
+ );
5442
5458
  z-index: 2;
5443
5459
  }
5444
5460
 
5445
- .brand {
5446
- display: inline-flex;
5447
- align-items: center;
5448
- gap: var(--spacing-s, 8px);
5449
- }
5450
- ::slotted([slot="logo"]) {
5451
- display: inline-flex;
5452
- height: 28px; /* tweak as needed */
5453
- line-height: 0;
5454
- }
5455
-
5456
- [slot="logo"] svg {
5457
- width: 176px;
5458
- height: auto;
5459
- }
5461
+ .brand { display: inline-flex; align-items: center; gap: var(--spacing-s, 8px); }
5462
+ ::slotted([slot="logo"]) { display: inline-flex; height: 28px; line-height: 0; }
5463
+ [slot="logo"] svg, [slot="logo-contrast"] svg { width: 176px; height: auto; }
5464
+ [slot="logo"] svg path { fill: #fff !important; }
5460
5465
 
5461
- [slot="logo"] svg path {
5462
- fill: #fff !important;
5463
- }
5464
-
5465
- [part="close"] {
5466
- position: absolute;
5467
- top: 16px;
5468
- right: 36px;
5469
- }
5466
+ [part="close"] { position: absolute; top: 16px; right: 36px; }
5467
+ [part="close-contrast"] { position: absolute; top: 16px; right: var(--spacing-l); }
5468
+ [part="back"] { position: absolute; top: 16px; left: var(--spacing-l); }
5469
+ @media (max-width: 767px) { [part="close"] { right: 8px; top: 22px; } }
5470
5470
 
5471
- @media (max-width: 767px) {
5472
- [part="close"] {
5473
- right: 8px;
5474
- top: 22px;
5475
- }
5476
- }
5471
+ .close { font: inherit; border: 0; background: transparent; cursor: pointer;
5472
+ width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
5477
5473
 
5478
- .close {
5479
- font: inherit;
5480
- border: 0;
5481
- background: transparent;
5482
- cursor: pointer;
5483
- width: 36px; height: 36px;
5484
- border-radius: 999px;
5485
- display: grid; place-items: center;
5486
- }
5487
-
5488
- main[part="body"] {
5489
- position: relative;
5490
- z-index: 1;
5491
- padding: 0;
5492
- overflow: auto;
5493
- height: 100%;
5494
- }
5474
+ main[part="body"] { position: relative; z-index: 1; padding: 0; overflow: auto; height: 100%; }
5495
5475
 
5496
5476
  /* Variant: dialog */
5497
- :host([variant="dialog"]) .dialog {
5498
- width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px)));
5499
- max-height: min(86vh, 100%);
5500
- border-radius: var(--_radius);
5501
- box-shadow: var(--_shadow);
5502
- }
5503
-
5504
- :host([variant="dialog"]) .dialog-wrapper {
5505
- place-items: center;
5506
- }
5507
-
5508
- :host([variant="dialog"]) main[part="body"] {
5509
- height: auto;
5510
- }
5477
+ :host([variant="dialog"]) .dialog { width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px))); max-height: min(86vh, 100%); border-radius: var(--_radius); box-shadow: var(--_shadow); }
5478
+ :host([variant="dialog"]) .dialog-wrapper { place-items: center; }
5479
+ :host([variant="dialog"]) main[part="body"] { height: auto; }
5511
5480
 
5512
5481
  /* Open animation */
5513
5482
  :host([open]) .dialog { animation: popin-in .18s ease; }
@@ -5515,37 +5484,45 @@ re.styles = v`
5515
5484
  from { transform: translateY(10px) scale(.98); opacity: 0; }
5516
5485
  to { transform: translateY(0) scale(1); opacity: 1; }
5517
5486
  }
5518
-
5519
5487
  `;
5520
- let E = re;
5521
- U([
5488
+ let $ = re;
5489
+ S([
5522
5490
  a({ type: Boolean, reflect: !0 })
5523
- ], E.prototype, "ispagedesigner", 2);
5524
- U([
5491
+ ], $.prototype, "ispagedesigner", 2);
5492
+ S([
5525
5493
  a({ type: String, reflect: !0 })
5526
- ], E.prototype, "classPopin", 1);
5527
- U([
5494
+ ], $.prototype, "classPopin", 1);
5495
+ S([
5528
5496
  a({ type: Boolean, reflect: !0 })
5529
- ], E.prototype, "open", 2);
5530
- U([
5531
- a({ type: String, attribute: "background-url" })
5532
- ], E.prototype, "backgroundUrl", 2);
5533
- U([
5497
+ ], $.prototype, "open", 2);
5498
+ S([
5499
+ a({ type: String, reflect: !0 })
5500
+ ], $.prototype, "background", 2);
5501
+ S([
5502
+ a({ type: String, attribute: "background-url", reflect: !0 })
5503
+ ], $.prototype, "backgroundUrl", 2);
5504
+ S([
5534
5505
  a({ type: Boolean, attribute: "close-on-esc" })
5535
- ], E.prototype, "closeOnEsc", 2);
5536
- U([
5506
+ ], $.prototype, "closeOnEsc", 2);
5507
+ S([
5537
5508
  a({ type: Boolean, attribute: "close-on-backdrop" })
5538
- ], E.prototype, "closeOnBackdrop", 2);
5539
- U([
5509
+ ], $.prototype, "closeOnBackdrop", 2);
5510
+ S([
5540
5511
  a({ type: Boolean, attribute: "lock-scroll" })
5541
- ], E.prototype, "lockScroll", 2);
5542
- U([
5512
+ ], $.prototype, "lockScroll", 2);
5513
+ S([
5543
5514
  a({ type: String, reflect: !0 })
5544
- ], E.prototype, "variant", 2);
5545
- U([
5515
+ ], $.prototype, "variant", 2);
5516
+ S([
5546
5517
  a({ type: String, attribute: "max-width" })
5547
- ], E.prototype, "maxWidth", 2);
5548
- U([
5518
+ ], $.prototype, "maxWidth", 2);
5519
+ S([
5520
+ a({ type: Boolean, reflect: !0 })
5521
+ ], $.prototype, "showBackButton", 2);
5522
+ S([
5523
+ a({ type: Boolean, reflect: !0 })
5524
+ ], $.prototype, "contrast", 2);
5525
+ S([
5549
5526
  J()
5550
- ], E.prototype, "_labelId", 2);
5551
- customElements.define("o-popin", E);
5527
+ ], $.prototype, "_labelId", 2);
5528
+ customElements.define("o-popin", $);