@supersoniks/concorde 4.7.0 → 4.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- let G = class Ot {
1
+ let G = class wt {
2
2
  /**
3
3
  * retourne la langue de la page courante telle que défini via l'attribut lang de la balise html
4
4
  */
@@ -32,27 +32,55 @@ let G = class Ot {
32
32
  }
33
33
  return null;
34
34
  }
35
+ /** Noms d'attribut DOM à tester (Lit reflect → minuscules, ex. serviceURL → serviceurl). */
36
+ static scopeAttributeNames(t) {
37
+ const i = t.toLowerCase();
38
+ return i === t ? [t] : [t, i];
39
+ }
40
+ static readScopeValueOnElement(t, i) {
41
+ const s = t[i];
42
+ if (typeof s == "string" && s.length > 0)
43
+ return s;
44
+ for (const e of wt.scopeAttributeNames(i))
45
+ if (t.hasAttribute(e)) {
46
+ const o = t.getAttribute(e);
47
+ if (o != null && o.length > 0)
48
+ return o;
49
+ }
50
+ return null;
51
+ }
35
52
  /**
36
- * Va de parent en parent en partant de node pour trouver un attribut
53
+ * Va de parent en parent en partant de node pour trouver un attribut.
54
+ * Si l'attribut n'est pas encore reflété (ex. Lit `@property({ reflect: true })`
55
+ * au premier `connectedCallback`), lit la propriété homonyme sur l'élément.
37
56
  * @param attributeName nom de l'attribut
38
57
  * @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
39
58
  */
40
59
  static getAncestorAttributeValue(t, i) {
41
60
  if (!t) return null;
42
- for (; !("hasAttribute" in t && t.hasAttribute(i)) && (t.parentNode || t.host); )
43
- t = t.parentNode || t.host;
44
- return "hasAttribute" in t ? t.getAttribute(i) : null;
61
+ let s = t;
62
+ for (; s; ) {
63
+ if (s instanceof HTMLElement) {
64
+ const o = wt.readScopeValueOnElement(s, i);
65
+ if (o != null && o.length > 0)
66
+ return o;
67
+ }
68
+ const e = s.parentNode || s.host;
69
+ if (!e) break;
70
+ s = e;
71
+ }
72
+ return null;
45
73
  }
46
74
  /**
47
75
  * Petite fonction utilitaire pour retourner la configuration a passer à l'utilitaire API
48
76
  * Utilisée pour la configuration du wording / de la traduction ainsi que par le mixin fetcher par exemple
49
77
  */
50
78
  static getApiConfiguration(t) {
51
- const i = Ot.getAncestorAttributeValue(t, "token"), s = Ot.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = Ot.getAncestorAttributeValue(t, "serviceURL");
79
+ const i = wt.getAncestorAttributeValue(t, "token"), s = wt.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = wt.getAncestorAttributeValue(t, "serviceURL");
52
80
  let o = null, n = null;
53
- const l = Ot.getAncestorAttributeValue(t, "tokenProvider"), c = Ot.getAncestorAttributeValue(t, "eventsApiToken");
54
- i || (o = Ot.getAncestorAttributeValue(t, "userName"), n = Ot.getAncestorAttributeValue(t, "password"));
55
- const h = Ot.getAncestorAttributeValue(
81
+ const l = wt.getAncestorAttributeValue(t, "tokenProvider"), c = wt.getAncestorAttributeValue(t, "eventsApiToken");
82
+ i || (o = wt.getAncestorAttributeValue(t, "userName"), n = wt.getAncestorAttributeValue(t, "password"));
83
+ const h = wt.getAncestorAttributeValue(
56
84
  t,
57
85
  "credentials"
58
86
  ) || void 0, u = t.getAttribute("cache"), d = t.hasAttribute("blockUntilDone"), m = t.hasAttribute("keepAlive");
@@ -86,7 +114,7 @@ let G = class Ot {
86
114
  * @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
87
115
  */
88
116
  static getClosestForm(t) {
89
- return Ot.getClosestElement(t, "form");
117
+ return wt.getClosestElement(t, "form");
90
118
  }
91
119
  /**
92
120
  * Parcourt les ancêtres (parentNode / shadow host) et collecte ceux dont le tagName
@@ -210,13 +238,13 @@ function Er(r) {
210
238
  }
211
239
  });
212
240
  }
213
- const bo = /\$\{|\{\$/;
214
- function mo(r) {
215
- return bo.test(r);
241
+ const vo = /\$\{|\{\$/;
242
+ function yo(r) {
243
+ return vo.test(r);
216
244
  }
217
245
  function Si(r) {
218
246
  const t = typeof r == "string" ? r : r.path;
219
- if (mo(t))
247
+ if (yo(t))
220
248
  throw new Error(
221
249
  "Static publisher path required for get/set/dp. Use @subscribe, @publish, or @handle for dynamic DataProviderKey paths."
222
250
  );
@@ -307,7 +335,7 @@ let it = class Ut {
307
335
  }
308
336
  };
309
337
  const ut = it.traverseDotNotation;
310
- let go = class {
338
+ let _o = class {
311
339
  static async queueTaskPromise() {
312
340
  return new Promise((t) => {
313
341
  window.queueMicrotask(() => t(null));
@@ -716,13 +744,13 @@ const I = class I {
716
744
  return new TextDecoder().decode(h);
717
745
  }
718
746
  };
719
- I.buildDate = "Wed Jun 03 2026 17:32:46 GMT+0200 (Central European Summer Time)", I.changed = !1, I.saving = !1, I.saveId = 0, I.instance = null, I.instances = /* @__PURE__ */ new Map(), I.modifiedCollectore = [];
747
+ I.buildDate = "Thu Jun 04 2026 17:00:58 GMT+0200 (Central European Summer Time)", I.changed = !1, I.saving = !1, I.saveId = 0, I.instance = null, I.instances = /* @__PURE__ */ new Map(), I.modifiedCollectore = [];
720
748
  let D = I;
721
749
  if (typeof window < "u") {
722
750
  const r = window;
723
751
  r[Ss + "PublisherManager"] = r[Ss + "PublisherManager"] || D;
724
752
  }
725
- const vo = /* @__PURE__ */ new Set([
753
+ const wo = /* @__PURE__ */ new Set([
726
754
  "invalidate",
727
755
  "onInvalidate",
728
756
  "offInvalidate",
@@ -766,7 +794,7 @@ const vo = /* @__PURE__ */ new Set([
766
794
  "_assignmentId_",
767
795
  "_invalidate_on_page_show_"
768
796
  ]);
769
- function yo(r, t) {
797
+ function xo(r, t) {
770
798
  return {
771
799
  /**
772
800
  * Lorsque l'on écrit monConteneur = publisher.maClef ou monConteneur = publisher["maClef"] monConteneur contient :
@@ -774,7 +802,7 @@ function yo(r, t) {
774
802
  * Sinon un autre proxy qui a comme valeur interne la valeur corespondante à la clef dans l'objet.
775
803
  */
776
804
  get: function(i, s) {
777
- if (typeof s == "string" && vo.has(s))
805
+ if (typeof s == "string" && wo.has(s))
778
806
  return r[s];
779
807
  if (s == Symbol.toPrimitive)
780
808
  return () => t().get();
@@ -846,13 +874,13 @@ function yo(r, t) {
846
874
  function oi(r, t = null, i) {
847
875
  const s = new Xe(r, t, i);
848
876
  let e = null;
849
- const o = yo(s, () => e);
877
+ const o = xo(s, () => e);
850
878
  return e = new Proxy(
851
879
  s,
852
880
  o
853
881
  ), e;
854
882
  }
855
- class _o extends HTMLElement {
883
+ class Po extends HTMLElement {
856
884
  constructor() {
857
885
  super(), this.publisherId = "", this.onAssign = (t) => {
858
886
  this.innerHTML = t.toString();
@@ -868,7 +896,7 @@ class _o extends HTMLElement {
868
896
  try {
869
897
  customElements.define(
870
898
  Ae + "-publisher-proxy",
871
- _o
899
+ Po
872
900
  );
873
901
  } catch {
874
902
  }
@@ -886,7 +914,7 @@ const js = (r) => {
886
914
  }
887
915
  return /* @__PURE__ */ new Set([r]);
888
916
  };
889
- function wo(r) {
917
+ function Co(r) {
890
918
  const t = Si(r);
891
919
  return js(t).values().next().value?.get();
892
920
  }
@@ -894,13 +922,13 @@ function Nr(r, t) {
894
922
  const i = Si(r);
895
923
  return js(i).values().next().value;
896
924
  }
897
- function xo(r, t) {
925
+ function $o(r, t) {
898
926
  return Nr(r);
899
927
  }
900
928
  function Rs(r, t) {
901
929
  return Nr(r);
902
930
  }
903
- function Po(r, t) {
931
+ function So(r, t) {
904
932
  const i = Si(r);
905
933
  js(i).values().next().value?.set(t);
906
934
  }
@@ -1025,12 +1053,12 @@ let zs = (T = class {
1025
1053
  const u = h;
1026
1054
  let d = s;
1027
1055
  d = T.getSubPublisher(s, u);
1028
- const m = t, v = {
1056
+ const m = t, y = {
1029
1057
  publisher: d,
1030
1058
  onAssign: () => {
1031
1059
  const p = l.variables.map((k) => T.getSubPublisher(s, k)?.get());
1032
- let y = l.expression, _ = !1;
1033
- if (p.length == 1 && l.variables[0].join(".") == y.substring(1)) {
1060
+ let v = l.expression, _ = !1;
1061
+ if (p.length == 1 && l.variables[0].join(".") == v.substring(1)) {
1034
1062
  let k = p[0];
1035
1063
  k === null && (k = ""), m[c] = k;
1036
1064
  return;
@@ -1038,22 +1066,22 @@ let zs = (T = class {
1038
1066
  for (let k = 0; k < p.length; k++) {
1039
1067
  let f = p[k];
1040
1068
  const b = l.variables[k];
1041
- f === null && (_ = !0, f = void 0), y = y.replace("$" + b.join("."), f);
1069
+ f === null && (_ = !0, f = void 0), v = v.replace("$" + b.join("."), f);
1042
1070
  }
1043
- if (y.indexOf("|") != -1) {
1044
- const k = y.indexOf("|");
1071
+ if (v.indexOf("|") != -1) {
1072
+ const k = v.indexOf("|");
1045
1073
  if (k == 0)
1046
- y = $s.js(y.substring(1));
1074
+ v = $s.js(v.substring(1));
1047
1075
  else {
1048
- const f = y.substring(0, k), b = y.substring(k + 1), w = $s[f];
1049
- y = _ ? "" : w ? w(b) : y;
1076
+ const f = v.substring(0, k), b = v.substring(k + 1), w = $s[f];
1077
+ v = _ ? "" : w ? w(b) : v;
1050
1078
  }
1051
1079
  } else
1052
- y = _ ? "" : y;
1053
- m[c] = y;
1080
+ v = _ ? "" : v;
1081
+ m[c] = v;
1054
1082
  }
1055
1083
  };
1056
- d?.onAssign(v.onAssign), o.push(v);
1084
+ d?.onAssign(y.onAssign), o.push(y);
1057
1085
  }
1058
1086
  }), T.publisherListeners.set(t, o);
1059
1087
  }
@@ -1094,14 +1122,14 @@ let Di = class {
1094
1122
  return this.cssText;
1095
1123
  }
1096
1124
  };
1097
- const Co = (r) => new Di(typeof r == "string" ? r : r + "", void 0, ki), C = (r, ...t) => {
1125
+ const Ao = (r) => new Di(typeof r == "string" ? r : r + "", void 0, ki), C = (r, ...t) => {
1098
1126
  const i = r.length === 1 ? r[0] : t.reduce(((s, e, o) => s + ((n) => {
1099
1127
  if (n._$cssResult$ === !0) return n.cssText;
1100
1128
  if (typeof n == "number") return n;
1101
1129
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1102
1130
  })(e) + r[o + 1]), r[0]);
1103
1131
  return new Di(i, r, ki);
1104
- }, $o = (r, t) => {
1132
+ }, ko = (r, t) => {
1105
1133
  if (Ai) r.adoptedStyleSheets = t.map(((i) => i instanceof CSSStyleSheet ? i : i.styleSheet));
1106
1134
  else for (const i of t) {
1107
1135
  const s = document.createElement("style"), e = Cs.litNonce;
@@ -1110,17 +1138,17 @@ const Co = (r) => new Di(typeof r == "string" ? r : r + "", void 0, ki), C = (r,
1110
1138
  }, Qi = Ai ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
1111
1139
  let i = "";
1112
1140
  for (const s of t.cssRules) i += s.cssText;
1113
- return Co(i);
1141
+ return Ao(i);
1114
1142
  })(r) : r;
1115
1143
  /**
1116
1144
  * @license
1117
1145
  * Copyright 2017 Google LLC
1118
1146
  * SPDX-License-Identifier: BSD-3-Clause
1119
1147
  */
1120
- const { is: So, defineProperty: Ao, getOwnPropertyDescriptor: ko, getOwnPropertyNames: Do, getOwnPropertySymbols: Oo, getPrototypeOf: Lo } = Object, Us = globalThis, Ji = Us.trustedTypes, Eo = Ji ? Ji.emptyScript : "", To = Us.reactiveElementPolyfillSupport, Ke = (r, t) => r, As = { toAttribute(r, t) {
1148
+ const { is: Do, defineProperty: Oo, getOwnPropertyDescriptor: Lo, getOwnPropertyNames: Eo, getOwnPropertySymbols: To, getPrototypeOf: No } = Object, Us = globalThis, Ji = Us.trustedTypes, Io = Ji ? Ji.emptyScript : "", Mo = Us.reactiveElementPolyfillSupport, Ke = (r, t) => r, As = { toAttribute(r, t) {
1121
1149
  switch (t) {
1122
1150
  case Boolean:
1123
- r = r ? Eo : null;
1151
+ r = r ? Io : null;
1124
1152
  break;
1125
1153
  case Object:
1126
1154
  case Array:
@@ -1145,7 +1173,7 @@ const { is: So, defineProperty: Ao, getOwnPropertyDescriptor: ko, getOwnProperty
1145
1173
  }
1146
1174
  }
1147
1175
  return i;
1148
- } }, Oi = (r, t) => !So(r, t), tr = { attribute: !0, type: String, converter: As, reflect: !1, useDefault: !1, hasChanged: Oi };
1176
+ } }, Oi = (r, t) => !Do(r, t), tr = { attribute: !0, type: String, converter: As, reflect: !1, useDefault: !1, hasChanged: Oi };
1149
1177
  Symbol.metadata ??= Symbol("metadata"), Us.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
1150
1178
  let Ce = class extends HTMLElement {
1151
1179
  static addInitializer(t) {
@@ -1157,11 +1185,11 @@ let Ce = class extends HTMLElement {
1157
1185
  static createProperty(t, i = tr) {
1158
1186
  if (i.state && (i.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((i = Object.create(i)).wrapped = !0), this.elementProperties.set(t, i), !i.noAccessor) {
1159
1187
  const s = Symbol(), e = this.getPropertyDescriptor(t, s, i);
1160
- e !== void 0 && Ao(this.prototype, t, e);
1188
+ e !== void 0 && Oo(this.prototype, t, e);
1161
1189
  }
1162
1190
  }
1163
1191
  static getPropertyDescriptor(t, i, s) {
1164
- const { get: e, set: o } = ko(this.prototype, t) ?? { get() {
1192
+ const { get: e, set: o } = Lo(this.prototype, t) ?? { get() {
1165
1193
  return this[i];
1166
1194
  }, set(n) {
1167
1195
  this[i] = n;
@@ -1176,13 +1204,13 @@ let Ce = class extends HTMLElement {
1176
1204
  }
1177
1205
  static _$Ei() {
1178
1206
  if (this.hasOwnProperty(Ke("elementProperties"))) return;
1179
- const t = Lo(this);
1207
+ const t = No(this);
1180
1208
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1181
1209
  }
1182
1210
  static finalize() {
1183
1211
  if (this.hasOwnProperty(Ke("finalized"))) return;
1184
1212
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ke("properties"))) {
1185
- const i = this.properties, s = [...Do(i), ...Oo(i)];
1213
+ const i = this.properties, s = [...Eo(i), ...To(i)];
1186
1214
  for (const e of s) this.createProperty(e, i[e]);
1187
1215
  }
1188
1216
  const t = this[Symbol.metadata];
@@ -1228,7 +1256,7 @@ let Ce = class extends HTMLElement {
1228
1256
  }
1229
1257
  createRenderRoot() {
1230
1258
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1231
- return $o(t, this.constructor.elementStyles), t;
1259
+ return ko(t, this.constructor.elementStyles), t;
1232
1260
  }
1233
1261
  connectedCallback() {
1234
1262
  this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach(((t) => t.hostConnected?.()));
@@ -1328,13 +1356,13 @@ let Ce = class extends HTMLElement {
1328
1356
  firstUpdated(t) {
1329
1357
  }
1330
1358
  };
1331
- Ce.elementStyles = [], Ce.shadowRootOptions = { mode: "open" }, Ce[Ke("elementProperties")] = /* @__PURE__ */ new Map(), Ce[Ke("finalized")] = /* @__PURE__ */ new Map(), To?.({ ReactiveElement: Ce }), (Us.reactiveElementVersions ??= []).push("2.1.1");
1359
+ Ce.elementStyles = [], Ce.shadowRootOptions = { mode: "open" }, Ce[Ke("elementProperties")] = /* @__PURE__ */ new Map(), Ce[Ke("finalized")] = /* @__PURE__ */ new Map(), Mo?.({ ReactiveElement: Ce }), (Us.reactiveElementVersions ??= []).push("2.1.1");
1332
1360
  /**
1333
1361
  * @license
1334
1362
  * Copyright 2017 Google LLC
1335
1363
  * SPDX-License-Identifier: BSD-3-Clause
1336
1364
  */
1337
- const No = { attribute: !0, type: String, converter: As, reflect: !1, hasChanged: Oi }, Io = (r = No, t, i) => {
1365
+ const Fo = { attribute: !0, type: String, converter: As, reflect: !1, hasChanged: Oi }, jo = (r = Fo, t, i) => {
1338
1366
  const { kind: s, metadata: e } = i;
1339
1367
  let o = globalThis.litPropertyMetadata.get(e);
1340
1368
  if (o === void 0 && globalThis.litPropertyMetadata.set(e, o = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), o.set(i.name, r), s === "accessor") {
@@ -1356,7 +1384,7 @@ const No = { attribute: !0, type: String, converter: As, reflect: !1, hasChanged
1356
1384
  throw Error("Unsupported decorator location: " + s);
1357
1385
  };
1358
1386
  function a(r) {
1359
- return (t, i) => typeof i == "object" ? Io(r, t, i) : ((s, e, o) => {
1387
+ return (t, i) => typeof i == "object" ? jo(r, t, i) : ((s, e, o) => {
1360
1388
  const n = e.hasOwnProperty(o);
1361
1389
  return e.constructor.createProperty(o, s), n ? Object.getOwnPropertyDescriptor(e, o) : void 0;
1362
1390
  })(r, t, i);
@@ -1420,22 +1448,22 @@ function ht(r) {
1420
1448
  * Copyright 2017 Google LLC
1421
1449
  * SPDX-License-Identifier: BSD-3-Clause
1422
1450
  */
1423
- const Ei = globalThis, ks = Ei.trustedTypes, er = ks ? ks.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Ir = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, Mr = "?" + Yt, Mo = `<${Mr}>`, ue = document, Qe = () => ue.createComment(""), Je = (r) => r === null || typeof r != "object" && typeof r != "function", Ti = Array.isArray, Fo = (r) => Ti(r) || typeof r?.[Symbol.iterator] == "function", Js = `[
1451
+ const Ei = globalThis, ks = Ei.trustedTypes, er = ks ? ks.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Ir = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, Mr = "?" + Yt, Ro = `<${Mr}>`, ue = document, Qe = () => ue.createComment(""), Je = (r) => r === null || typeof r != "object" && typeof r != "function", Ti = Array.isArray, zo = (r) => Ti(r) || typeof r?.[Symbol.iterator] == "function", Js = `[
1424
1452
  \f\r]`, Ve = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, sr = /-->/g, ir = />/g, ne = RegExp(`>|${Js}(?:([^\\s"'>=/]+)(${Js}*=${Js}*(?:[^
1425
- \f\r"'\`<>=]|("|')|))|$)`, "g"), rr = /'/g, or = /"/g, Fr = /^(?:script|style|textarea|title)$/i, jo = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), g = jo(1), yt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), nr = /* @__PURE__ */ new WeakMap(), he = ue.createTreeWalker(ue, 129);
1453
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), rr = /'/g, or = /"/g, Fr = /^(?:script|style|textarea|title)$/i, Uo = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), g = Uo(1), yt = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), nr = /* @__PURE__ */ new WeakMap(), he = ue.createTreeWalker(ue, 129);
1426
1454
  function jr(r, t) {
1427
1455
  if (!Ti(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
1428
1456
  return er !== void 0 ? er.createHTML(t) : t;
1429
1457
  }
1430
- const Ro = (r, t) => {
1458
+ const Vo = (r, t) => {
1431
1459
  const i = r.length - 1, s = [];
1432
1460
  let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Ve;
1433
1461
  for (let l = 0; l < i; l++) {
1434
1462
  const c = r[l];
1435
1463
  let h, u, d = -1, m = 0;
1436
1464
  for (; m < c.length && (n.lastIndex = m, u = n.exec(c), u !== null); ) m = n.lastIndex, n === Ve ? u[1] === "!--" ? n = sr : u[1] !== void 0 ? n = ir : u[2] !== void 0 ? (Fr.test(u[2]) && (e = RegExp("</" + u[2], "g")), n = ne) : u[3] !== void 0 && (n = ne) : n === ne ? u[0] === ">" ? (n = e ?? Ve, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, h = u[1], n = u[3] === void 0 ? ne : u[3] === '"' ? or : rr) : n === or || n === rr ? n = ne : n === sr || n === ir ? n = Ve : (n = ne, e = void 0);
1437
- const v = n === ne && r[l + 1].startsWith("/>") ? " " : "";
1438
- o += n === Ve ? c + Mo : d >= 0 ? (s.push(h), c.slice(0, d) + Ir + c.slice(d) + Yt + v) : c + Yt + (d === -2 ? l : v);
1465
+ const y = n === ne && r[l + 1].startsWith("/>") ? " " : "";
1466
+ o += n === Ve ? c + Ro : d >= 0 ? (s.push(h), c.slice(0, d) + Ir + c.slice(d) + Yt + y) : c + Yt + (d === -2 ? l : y);
1439
1467
  }
1440
1468
  return [jr(r, o + (r[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
1441
1469
  };
@@ -1444,7 +1472,7 @@ let ni = class Rr {
1444
1472
  let e;
1445
1473
  this.parts = [];
1446
1474
  let o = 0, n = 0;
1447
- const l = t.length - 1, c = this.parts, [h, u] = Ro(t, i);
1475
+ const l = t.length - 1, c = this.parts, [h, u] = Vo(t, i);
1448
1476
  if (this.el = Rr.createElement(h, s), he.currentNode = this.el.content, i === 2 || i === 3) {
1449
1477
  const d = this.el.content.firstChild;
1450
1478
  d.replaceWith(...d.childNodes);
@@ -1452,14 +1480,14 @@ let ni = class Rr {
1452
1480
  for (; (e = he.nextNode()) !== null && c.length < l; ) {
1453
1481
  if (e.nodeType === 1) {
1454
1482
  if (e.hasAttributes()) for (const d of e.getAttributeNames()) if (d.endsWith(Ir)) {
1455
- const m = u[n++], v = e.getAttribute(d).split(Yt), p = /([.?@])?(.*)/.exec(m);
1456
- c.push({ type: 1, index: o, name: p[2], strings: v, ctor: p[1] === "." ? Uo : p[1] === "?" ? Vo : p[1] === "@" ? Bo : Vs }), e.removeAttribute(d);
1483
+ const m = u[n++], y = e.getAttribute(d).split(Yt), p = /([.?@])?(.*)/.exec(m);
1484
+ c.push({ type: 1, index: o, name: p[2], strings: y, ctor: p[1] === "." ? Ho : p[1] === "?" ? qo : p[1] === "@" ? Wo : Vs }), e.removeAttribute(d);
1457
1485
  } else d.startsWith(Yt) && (c.push({ type: 6, index: o }), e.removeAttribute(d));
1458
1486
  if (Fr.test(e.tagName)) {
1459
1487
  const d = e.textContent.split(Yt), m = d.length - 1;
1460
1488
  if (m > 0) {
1461
1489
  e.textContent = ks ? ks.emptyScript : "";
1462
- for (let v = 0; v < m; v++) e.append(d[v], Qe()), he.nextNode(), c.push({ type: 2, index: ++o });
1490
+ for (let y = 0; y < m; y++) e.append(d[y], Qe()), he.nextNode(), c.push({ type: 2, index: ++o });
1463
1491
  e.append(d[m], Qe());
1464
1492
  }
1465
1493
  }
@@ -1482,7 +1510,7 @@ function ke(r, t, i = r, s) {
1482
1510
  const o = Je(t) ? void 0 : t._$litDirective$;
1483
1511
  return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t = ke(r, e._$AS(r, t.values), e, s)), t;
1484
1512
  }
1485
- let zo = class {
1513
+ let Bo = class {
1486
1514
  constructor(t, i) {
1487
1515
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1488
1516
  }
@@ -1499,7 +1527,7 @@ let zo = class {
1499
1527
  for (; c !== void 0; ) {
1500
1528
  if (n === c.index) {
1501
1529
  let h;
1502
- c.type === 2 ? h = new Te(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Ho(o, this, t)), this._$AV.push(h), c = s[++l];
1530
+ c.type === 2 ? h = new Te(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Ko(o, this, t)), this._$AV.push(h), c = s[++l];
1503
1531
  }
1504
1532
  n !== c?.index && (o = he.nextNode(), n++);
1505
1533
  }
@@ -1515,7 +1543,7 @@ class Te {
1515
1543
  return this._$AM?._$AU ?? this._$Cv;
1516
1544
  }
1517
1545
  constructor(t, i, s, e) {
1518
- this.type = 2, this._$AH = S, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
1546
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
1519
1547
  }
1520
1548
  get parentNode() {
1521
1549
  let t = this._$AA.parentNode;
@@ -1529,7 +1557,7 @@ class Te {
1529
1557
  return this._$AB;
1530
1558
  }
1531
1559
  _$AI(t, i = this) {
1532
- t = ke(this, t, i), Je(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Fo(t) ? this.k(t) : this._(t);
1560
+ t = ke(this, t, i), Je(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : zo(t) ? this.k(t) : this._(t);
1533
1561
  }
1534
1562
  O(t) {
1535
1563
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1538,13 +1566,13 @@ class Te {
1538
1566
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1539
1567
  }
1540
1568
  _(t) {
1541
- this._$AH !== S && Je(this._$AH) ? this._$AA.nextSibling.data = t : this.T(ue.createTextNode(t)), this._$AH = t;
1569
+ this._$AH !== A && Je(this._$AH) ? this._$AA.nextSibling.data = t : this.T(ue.createTextNode(t)), this._$AH = t;
1542
1570
  }
1543
1571
  $(t) {
1544
1572
  const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = ni.createElement(jr(s.h, s.h[0]), this.options)), s);
1545
1573
  if (this._$AH?._$AD === e) this._$AH.p(i);
1546
1574
  else {
1547
- const o = new zo(e, this), n = o.u(this.options);
1575
+ const o = new Bo(e, this), n = o.u(this.options);
1548
1576
  o.p(i), this.T(n), this._$AH = o;
1549
1577
  }
1550
1578
  }
@@ -1577,7 +1605,7 @@ class Vs {
1577
1605
  return this._$AM._$AU;
1578
1606
  }
1579
1607
  constructor(t, i, s, e, o) {
1580
- this.type = 1, this._$AH = S, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = S;
1608
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
1581
1609
  }
1582
1610
  _$AI(t, i = this, s, e) {
1583
1611
  const o = this.strings;
@@ -1586,44 +1614,44 @@ class Vs {
1586
1614
  else {
1587
1615
  const l = t;
1588
1616
  let c, h;
1589
- for (t = o[0], c = 0; c < o.length - 1; c++) h = ke(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !Je(h) || h !== this._$AH[c], h === S ? t = S : t !== S && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
1617
+ for (t = o[0], c = 0; c < o.length - 1; c++) h = ke(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !Je(h) || h !== this._$AH[c], h === A ? t = A : t !== A && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
1590
1618
  }
1591
1619
  n && !e && this.j(t);
1592
1620
  }
1593
1621
  j(t) {
1594
- t === S ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1622
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1595
1623
  }
1596
1624
  }
1597
- class Uo extends Vs {
1625
+ class Ho extends Vs {
1598
1626
  constructor() {
1599
1627
  super(...arguments), this.type = 3;
1600
1628
  }
1601
1629
  j(t) {
1602
- this.element[this.name] = t === S ? void 0 : t;
1630
+ this.element[this.name] = t === A ? void 0 : t;
1603
1631
  }
1604
1632
  }
1605
- class Vo extends Vs {
1633
+ class qo extends Vs {
1606
1634
  constructor() {
1607
1635
  super(...arguments), this.type = 4;
1608
1636
  }
1609
1637
  j(t) {
1610
- this.element.toggleAttribute(this.name, !!t && t !== S);
1638
+ this.element.toggleAttribute(this.name, !!t && t !== A);
1611
1639
  }
1612
1640
  }
1613
- class Bo extends Vs {
1641
+ class Wo extends Vs {
1614
1642
  constructor(t, i, s, e, o) {
1615
1643
  super(t, i, s, e, o), this.type = 5;
1616
1644
  }
1617
1645
  _$AI(t, i = this) {
1618
- if ((t = ke(this, t, i, 0) ?? S) === yt) return;
1619
- const s = this._$AH, e = t === S && s !== S || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== S && (s === S || e);
1646
+ if ((t = ke(this, t, i, 0) ?? A) === yt) return;
1647
+ const s = this._$AH, e = t === A && s !== A || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== A && (s === A || e);
1620
1648
  e && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
1621
1649
  }
1622
1650
  handleEvent(t) {
1623
1651
  typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
1624
1652
  }
1625
1653
  }
1626
- class Ho {
1654
+ class Ko {
1627
1655
  constructor(t, i, s) {
1628
1656
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1629
1657
  }
@@ -1634,9 +1662,9 @@ class Ho {
1634
1662
  ke(this, t);
1635
1663
  }
1636
1664
  }
1637
- const qo = { I: Te }, Wo = Ei.litHtmlPolyfillSupport;
1638
- Wo?.(ni, Te), (Ei.litHtmlVersions ??= []).push("3.3.1");
1639
- const Ko = (r, t, i) => {
1665
+ const Yo = { I: Te }, Zo = Ei.litHtmlPolyfillSupport;
1666
+ Zo?.(ni, Te), (Ei.litHtmlVersions ??= []).push("3.3.1");
1667
+ const Go = (r, t, i) => {
1640
1668
  const s = i?.renderBefore ?? t;
1641
1669
  let e = s._$litPart$;
1642
1670
  if (e === void 0) {
@@ -1650,11 +1678,11 @@ const Ko = (r, t, i) => {
1650
1678
  * Copyright 2020 Google LLC
1651
1679
  * SPDX-License-Identifier: BSD-3-Clause
1652
1680
  */
1653
- const { I: Yo } = qo, Zo = (r) => r.strings === void 0, ar = () => document.createComment(""), Be = (r, t, i) => {
1681
+ const { I: Xo } = Yo, Qo = (r) => r.strings === void 0, ar = () => document.createComment(""), Be = (r, t, i) => {
1654
1682
  const s = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
1655
1683
  if (i === void 0) {
1656
1684
  const o = s.insertBefore(ar(), e), n = s.insertBefore(ar(), e);
1657
- i = new Yo(o, n, r, r.options);
1685
+ i = new Xo(o, n, r, r.options);
1658
1686
  } else {
1659
1687
  const o = i._$AB.nextSibling, n = i._$AM, l = n !== r;
1660
1688
  if (l) {
@@ -1670,7 +1698,7 @@ const { I: Yo } = qo, Zo = (r) => r.strings === void 0, ar = () => document.crea
1670
1698
  }
1671
1699
  }
1672
1700
  return i;
1673
- }, ae = (r, t, i = r) => (r._$AI(t, i), r), Go = {}, Xo = (r, t = Go) => r._$AH = t, Qo = (r) => r._$AH, ti = (r) => {
1701
+ }, ae = (r, t, i = r) => (r._$AI(t, i), r), Jo = {}, tn = (r, t = Jo) => r._$AH = t, en = (r) => r._$AH, ti = (r) => {
1674
1702
  r._$AR(), r._$AA.remove();
1675
1703
  };
1676
1704
  /**
@@ -1716,20 +1744,20 @@ const Ye = (r, t) => {
1716
1744
  let i = t._$AN;
1717
1745
  if (i === void 0) t._$AN = i = /* @__PURE__ */ new Set();
1718
1746
  else if (i.has(r)) break;
1719
- i.add(r), en(t);
1747
+ i.add(r), on(t);
1720
1748
  }
1721
1749
  };
1722
- function Jo(r) {
1750
+ function sn(r) {
1723
1751
  this._$AN !== void 0 ? (Ds(this), this._$AM = r, zr(this)) : this._$AM = r;
1724
1752
  }
1725
- function tn(r, t = !1, i = 0) {
1753
+ function rn(r, t = !1, i = 0) {
1726
1754
  const s = this._$AH, e = this._$AN;
1727
1755
  if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(s)) for (let o = i; o < s.length; o++) Ye(s[o], !1), Ds(s[o]);
1728
1756
  else s != null && (Ye(s, !1), Ds(s));
1729
1757
  else Ye(this, r);
1730
1758
  }
1731
- const en = (r) => {
1732
- r.type == _e.CHILD && (r._$AP ??= tn, r._$AQ ??= Jo);
1759
+ const on = (r) => {
1760
+ r.type == _e.CHILD && (r._$AP ??= rn, r._$AQ ??= sn);
1733
1761
  };
1734
1762
  class Ni extends Ne {
1735
1763
  constructor() {
@@ -1742,7 +1770,7 @@ class Ni extends Ne {
1742
1770
  t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (Ye(this, t), Ds(this));
1743
1771
  }
1744
1772
  setValue(t) {
1745
- if (Zo(this._$Ct)) this._$Ct._$AI(t, this);
1773
+ if (Qo(this._$Ct)) this._$Ct._$AI(t, this);
1746
1774
  else {
1747
1775
  const i = [...this._$Ct._$AH];
1748
1776
  i[this._$Ci] = t, this._$Ct._$AI(i, this, 0);
@@ -1769,7 +1797,7 @@ let x = class extends Ce {
1769
1797
  }
1770
1798
  update(t) {
1771
1799
  const i = this.render();
1772
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ko(i, this.renderRoot, this.renderOptions);
1800
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Go(i, this.renderRoot, this.renderOptions);
1773
1801
  }
1774
1802
  connectedCallback() {
1775
1803
  super.connectedCallback(), this._$Do?.setConnected(!0);
@@ -1782,10 +1810,10 @@ let x = class extends Ce {
1782
1810
  }
1783
1811
  };
1784
1812
  x._$litElement$ = !0, x.finalized = !0, Ii.litElementHydrateSupport?.({ LitElement: x });
1785
- const sn = Ii.litElementPolyfillSupport;
1786
- sn?.({ LitElement: x });
1813
+ const nn = Ii.litElementPolyfillSupport;
1814
+ nn?.({ LitElement: x });
1787
1815
  (Ii.litElementVersions ??= []).push("4.2.1");
1788
- function rn(r) {
1816
+ function an(r) {
1789
1817
  if (r == null || typeof r != "object" || Array.isArray(r))
1790
1818
  return r;
1791
1819
  const t = { ...r };
@@ -1885,15 +1913,15 @@ const j = class j {
1885
1913
  if (e.has("limit") && (c = parseInt(e.get("limit") || "0"), u++), e.has("offset") && (h = parseInt(e.get("offset") || "0"), u++), u > 0 && (e.delete("limit"), e.delete("offset")), e.size === 0)
1886
1914
  return n.slice(h, h + c);
1887
1915
  for (const [d, m] of e.entries()) {
1888
- const v = m.split(",").map((p) => p.trim());
1889
- for (const p of v)
1890
- for (const y of n)
1891
- if (typeof y != "object")
1892
- isNaN(+y) ? y.toString().toLowerCase().includes(m.toLowerCase()) && l.push(y) : y === m && l.push(y);
1916
+ const y = m.split(",").map((p) => p.trim());
1917
+ for (const p of y)
1918
+ for (const v of n)
1919
+ if (typeof v != "object")
1920
+ isNaN(+v) ? v.toString().toLowerCase().includes(m.toLowerCase()) && l.push(v) : v === m && l.push(v);
1893
1921
  else {
1894
- const _ = y;
1922
+ const _ = v;
1895
1923
  if (!_[d]) continue;
1896
- isNaN(+_[d]) ? _[d]?.toString().toLowerCase().includes(p.toLowerCase()) && l.push(y) : _[d] === p && l.push(y);
1924
+ isNaN(+_[d]) ? _[d]?.toString().toLowerCase().includes(p.toLowerCase()) && l.push(v) : _[d] === p && l.push(v);
1897
1925
  }
1898
1926
  }
1899
1927
  return l.slice(h, h + c);
@@ -1960,7 +1988,7 @@ const j = class j {
1960
1988
  const s = /dataProvider\((.*?)\)(.*?)$/.test(t), e = await this.get(t, i);
1961
1989
  if (e == null)
1962
1990
  return;
1963
- const o = rn(e), n = this.computeURL(t);
1991
+ const o = an(e), n = this.computeURL(t);
1964
1992
  if (s)
1965
1993
  return {
1966
1994
  request: new Request(n, { method: "GET" }),
@@ -2073,7 +2101,7 @@ let pe = j;
2073
2101
  G.getApiConfiguration(
2074
2102
  document.body || document.documentElement
2075
2103
  );
2076
- const on = async (r, t) => {
2104
+ const ln = async (r, t) => {
2077
2105
  };
2078
2106
  /**
2079
2107
  * @license
@@ -2082,10 +2110,10 @@ const on = async (r, t) => {
2082
2110
  */
2083
2111
  let ai = class extends Ne {
2084
2112
  constructor(t) {
2085
- if (super(t), this.it = S, t.type !== _e.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2113
+ if (super(t), this.it = A, t.type !== _e.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2086
2114
  }
2087
2115
  render(t) {
2088
- if (t === S || t == null) return this._t = void 0, this.it = t;
2116
+ if (t === A || t == null) return this._t = void 0, this.it = t;
2089
2117
  if (t === yt) return t;
2090
2118
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
2091
2119
  if (t === this.it) return this._t;
@@ -2174,14 +2202,14 @@ const R = se(ai), li = /* @__PURE__ */ new Map(), lr = (r) => {
2174
2202
  if (o = V.publisher["wording_" + i].get() != null, !o && i !== "" && (n.keysToTranslate.add(i), V.publisher["wording_" + i].set(cr)), l !== n.callIndex) return;
2175
2203
  const u = Array.from(n.keysToTranslate);
2176
2204
  if (!u.length) return;
2177
- const d = c.split("?"), m = d.shift(), v = (d.length > 0 ? d.join("?") + "&" : "") + "labels[]=" + u.join("&labels[]="), p = m + "?" + v;
2205
+ const d = c.split("?"), m = d.shift(), y = (d.length > 0 ? d.join("?") + "&" : "") + "labels[]=" + u.join("&labels[]="), p = m + "?" + y;
2178
2206
  n.translatedKeys = /* @__PURE__ */ new Set([
2179
2207
  ...n.translatedKeys,
2180
2208
  ...n.keysToTranslate
2181
2209
  ]), n.keysToTranslate.clear();
2182
- const y = await h.get(p);
2183
- for (const _ in y)
2184
- V.publisher["wording_" + _].set(y[_]);
2210
+ const v = await h.get(p);
2211
+ for (const _ in v)
2212
+ V.publisher["wording_" + _].set(v[_]);
2185
2213
  });
2186
2214
  }
2187
2215
  static reloadWordings() {
@@ -2232,11 +2260,11 @@ V.publisher = D.get("sonic-wording", {
2232
2260
  localStorageMode: "enabled"
2233
2261
  }), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
2234
2262
  let $e = V;
2235
- const nn = se($e), an = nn;
2236
- var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, kt = (r, t, i, s) => {
2237
- for (var e = s > 1 ? void 0 : s ? cn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2263
+ const cn = se($e), hn = cn;
2264
+ var dn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, Dt = (r, t, i, s) => {
2265
+ for (var e = s > 1 ? void 0 : s ? un(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2238
2266
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
2239
- return s && e && ln(t, i, e), e;
2267
+ return s && e && dn(t, i, e), e;
2240
2268
  };
2241
2269
  let _s = !1, ei = /* @__PURE__ */ new Set();
2242
2270
  const Q = (r, t) => {
@@ -2388,32 +2416,32 @@ const Q = (r, t) => {
2388
2416
  this.publisher && (this._props && this.publisher.set(this._props), this.noAutoFill || this.publisher.startTemplateFilling(this), this.renderOnPropsInternalChange && this.publisher.onInternalMutation(this.requestUpdate), this.publisher.onAssign(this.onAssign));
2389
2417
  }
2390
2418
  }, e.instanceCounter = 0, e);
2391
- return kt([
2419
+ return Dt([
2392
2420
  a({ type: Number })
2393
- ], i.prototype, "collectDependenciesVersion", 2), kt([
2421
+ ], i.prototype, "collectDependenciesVersion", 2), Dt([
2394
2422
  a({ type: Boolean })
2395
- ], i.prototype, "displayContents", 2), kt([
2423
+ ], i.prototype, "displayContents", 2), Dt([
2396
2424
  a({ type: Boolean })
2397
- ], i.prototype, "noAutoFill", 2), kt([
2425
+ ], i.prototype, "noAutoFill", 2), Dt([
2398
2426
  a({ type: Boolean })
2399
- ], i.prototype, "forceAutoFill", 2), kt([
2427
+ ], i.prototype, "forceAutoFill", 2), Dt([
2400
2428
  a({ type: Object })
2401
- ], i.prototype, "propertyMap", 2), kt([
2429
+ ], i.prototype, "propertyMap", 2), Dt([
2402
2430
  a({ type: String, attribute: "data-title" })
2403
- ], i.prototype, "title", 2), kt([
2431
+ ], i.prototype, "title", 2), Dt([
2404
2432
  a({ reflect: !0 })
2405
- ], i.prototype, "dataProvider", 2), kt([
2433
+ ], i.prototype, "dataProvider", 2), Dt([
2406
2434
  a()
2407
- ], i.prototype, "bindPublisher", 2), kt([
2435
+ ], i.prototype, "bindPublisher", 2), Dt([
2408
2436
  a()
2409
- ], i.prototype, "props", 1), kt([
2437
+ ], i.prototype, "props", 1), Dt([
2410
2438
  E()
2411
2439
  ], i.prototype, "shouldRenderLazy", 2), i;
2412
2440
  };
2413
- var hn = Object.defineProperty, dn = (r, t, i, s) => {
2441
+ var pn = Object.defineProperty, fn = (r, t, i, s) => {
2414
2442
  for (var e = void 0, o = r.length - 1, n; o >= 0; o--)
2415
2443
  (n = r[o]) && (e = n(t, i, e) || e);
2416
- return e && hn(t, i, e), e;
2444
+ return e && pn(t, i, e), e;
2417
2445
  };
2418
2446
  const cs = (r) => {
2419
2447
  class t extends r {
@@ -2429,16 +2457,16 @@ const cs = (r) => {
2429
2457
  ), this.templateList.length == 0 && (this.templateList = s), super.connectedCallback();
2430
2458
  }
2431
2459
  }
2432
- return dn([
2460
+ return fn([
2433
2461
  a({ type: Array })
2434
2462
  ], t.prototype, "templates"), t;
2435
2463
  };
2436
- var un = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, Y = (r, t, i, s) => {
2437
- for (var e = s > 1 ? void 0 : s ? pn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2464
+ var bn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, Y = (r, t, i, s) => {
2465
+ for (var e = s > 1 ? void 0 : s ? mn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2438
2466
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
2439
- return s && e && un(t, i, e), e;
2467
+ return s && e && bn(t, i, e), e;
2440
2468
  };
2441
- const fn = "sonic-date";
2469
+ const gn = "sonic-date";
2442
2470
  $i(() => z.updateComponentsLanguage());
2443
2471
  let z = class extends Q(cs(x)) {
2444
2472
  constructor() {
@@ -2503,7 +2531,7 @@ let z = class extends Q(cs(x)) {
2503
2531
  }
2504
2532
  render() {
2505
2533
  if (!this.renderIf || !this.computedStartDate && !this.now && !this.computedEndDate)
2506
- return S;
2534
+ return A;
2507
2535
  const r = {
2508
2536
  year: this.year || "numeric",
2509
2537
  month: this.month || "short",
@@ -2594,7 +2622,7 @@ Y([
2594
2622
  a({ type: Boolean })
2595
2623
  ], z.prototype, "now", 2);
2596
2624
  z = Y([
2597
- P(fn)
2625
+ P(gn)
2598
2626
  ], z);
2599
2627
  var W;
2600
2628
  let et = (W = class {
@@ -2633,8 +2661,8 @@ let et = (W = class {
2633
2661
  static changeFromComponent(t) {
2634
2662
  const i = t.goBack, s = document.referrer;
2635
2663
  if (i != null) {
2636
- const h = document.location.origin, u = (i || h).toString(), m = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, v = s == "", p = history.length < 3, y = v && p, _ = u != document.location.href;
2637
- if (m && _ || y) {
2664
+ const h = document.location.origin, u = (i || h).toString(), m = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, y = s == "", p = history.length < 3, v = y && p, _ = u != document.location.href;
2665
+ if (m && _ || v) {
2638
2666
  const f = history.state || {};
2639
2667
  f.concorde = f.concorde || {}, f.concorde.hasDoneHistoryBack = !0, history.pushState(f, document.title), history.back(), document.location.replace(u);
2640
2668
  } else
@@ -2677,7 +2705,7 @@ let et = (W = class {
2677
2705
  * Copyright 2018 Google LLC
2678
2706
  * SPDX-License-Identifier: BSD-3-Clause
2679
2707
  */
2680
- const Ur = "important", bn = " !" + Ur, pt = se(class extends Ne {
2708
+ const Ur = "important", vn = " !" + Ur, pt = se(class extends Ne {
2681
2709
  constructor(r) {
2682
2710
  if (super(r), r.type !== _e.ATTRIBUTE || r.name !== "style" || r.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
2683
2711
  }
@@ -2695,17 +2723,17 @@ const Ur = "important", bn = " !" + Ur, pt = se(class extends Ne {
2695
2723
  const e = t[s];
2696
2724
  if (e != null) {
2697
2725
  this.ft.add(s);
2698
- const o = typeof e == "string" && e.endsWith(bn);
2726
+ const o = typeof e == "string" && e.endsWith(vn);
2699
2727
  s.includes("-") || o ? i.setProperty(s, o ? e.slice(0, -11) : e, o ? Ur : "") : i[s] = e;
2700
2728
  }
2701
2729
  }
2702
2730
  return yt;
2703
2731
  }
2704
2732
  });
2705
- var mn = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, Dt = (r, t, i, s) => {
2706
- for (var e = s > 1 ? void 0 : s ? gn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2733
+ var yn = Object.defineProperty, _n = Object.getOwnPropertyDescriptor, Ot = (r, t, i, s) => {
2734
+ for (var e = s > 1 ? void 0 : s ? _n(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2707
2735
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
2708
- return s && e && mn(t, i, e), e;
2736
+ return s && e && yn(t, i, e), e;
2709
2737
  };
2710
2738
  const ws = /* @__PURE__ */ new Map(), Ie = (r) => {
2711
2739
  class t extends r {
@@ -2813,19 +2841,19 @@ const ws = /* @__PURE__ */ new Map(), Ie = (r) => {
2813
2841
  this.addEventListener("keydown", (l) => {
2814
2842
  const c = l;
2815
2843
  if (!["ArrowDown", "ArrowUp"].includes(c.key)) return;
2816
- const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", u = n?.filter((v) => {
2817
- const p = v.shadowRoot?.querySelector(h);
2844
+ const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", u = n?.filter((y) => {
2845
+ const p = y.shadowRoot?.querySelector(h);
2818
2846
  if (!p) return !1;
2819
- const y = window.getComputedStyle(p);
2820
- return y.display !== "none" && y.display !== "" && y.pointerEvents != "none" && y.visibility !== "hidden" && p.getBoundingClientRect().width > 0;
2847
+ const v = window.getComputedStyle(p);
2848
+ return v.display !== "none" && v.display !== "" && v.pointerEvents != "none" && v.visibility !== "hidden" && p.getBoundingClientRect().width > 0;
2821
2849
  });
2822
2850
  let d = null;
2823
2851
  if (c.key == "ArrowDown" && u) {
2824
- const v = u.indexOf(this);
2825
- v == u.length - 1 ? d = u[0] : d = u[v + 1];
2852
+ const y = u.indexOf(this);
2853
+ y == u.length - 1 ? d = u[0] : d = u[y + 1];
2826
2854
  } else if (c.key == "ArrowUp" && u) {
2827
- const v = u.indexOf(this);
2828
- v == 0 ? d = u[u.length - 1] : d = u[v - 1];
2855
+ const y = u.indexOf(this);
2856
+ y == 0 ? d = u[u.length - 1] : d = u[y - 1];
2829
2857
  }
2830
2858
  const m = d?.shadowRoot?.querySelector(
2831
2859
  h
@@ -2856,29 +2884,29 @@ const ws = /* @__PURE__ */ new Map(), Ie = (r) => {
2856
2884
  ), s.offFormInvalidate(this.onFormDataInValidate));
2857
2885
  }
2858
2886
  }
2859
- return Dt([
2887
+ return Ot([
2860
2888
  a({ type: Boolean, reflect: !0 })
2861
- ], t.prototype, "touched", 2), Dt([
2889
+ ], t.prototype, "touched", 2), Ot([
2862
2890
  a({ type: Boolean })
2863
- ], t.prototype, "error", 2), Dt([
2891
+ ], t.prototype, "error", 2), Ot([
2864
2892
  a({ type: Boolean })
2865
- ], t.prototype, "autofocus", 2), Dt([
2893
+ ], t.prototype, "autofocus", 2), Ot([
2866
2894
  a({ type: Boolean })
2867
- ], t.prototype, "required", 2), Dt([
2895
+ ], t.prototype, "required", 2), Ot([
2868
2896
  a({ type: Boolean })
2869
- ], t.prototype, "forceAutoFill", 2), Dt([
2897
+ ], t.prototype, "forceAutoFill", 2), Ot([
2870
2898
  a({ type: Boolean, reflect: !0 })
2871
- ], t.prototype, "disabled", 2), Dt([
2899
+ ], t.prototype, "disabled", 2), Ot([
2872
2900
  a({ type: String, attribute: "data-aria-label" })
2873
- ], t.prototype, "ariaLabel", 2), Dt([
2901
+ ], t.prototype, "ariaLabel", 2), Ot([
2874
2902
  a({ type: String, attribute: "data-aria-labelledby" })
2875
- ], t.prototype, "ariaLabelledby", 2), Dt([
2903
+ ], t.prototype, "ariaLabelledby", 2), Ot([
2876
2904
  a()
2877
- ], t.prototype, "name", 1), Dt([
2905
+ ], t.prototype, "name", 1), Ot([
2878
2906
  a()
2879
2907
  ], t.prototype, "value", 1), t;
2880
2908
  };
2881
- let vn = class ce {
2909
+ let wn = class ce {
2882
2910
  /**
2883
2911
  * Vérifie si les deux tableaux ont le même contenu
2884
2912
  */
@@ -2988,35 +3016,35 @@ let vn = class ce {
2988
3016
  }
2989
3017
  /*eslint-enable @typescript-eslint/no-explicit-any*/
2990
3018
  };
2991
- function yn(r) {
3019
+ function xn(r) {
2992
3020
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
2993
3021
  }
2994
- var We = { exports: {} }, _n = We.exports, hr;
2995
- function wn() {
3022
+ var We = { exports: {} }, Pn = We.exports, hr;
3023
+ function Cn() {
2996
3024
  return hr || (hr = 1, (function(r, t) {
2997
3025
  var i = [].slice;
2998
3026
  (function(s, e) {
2999
3027
  return t !== null ? r.exports = e() : s.UrlPattern = e();
3000
- })(_n, function() {
3001
- var s, e, o, n, l, c, h, u, d, m, v, p, y, _, k;
3028
+ })(Pn, function() {
3029
+ var s, e, o, n, l, c, h, u, d, m, y, p, v, _, k;
3002
3030
  return d = function(f) {
3003
3031
  return f.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
3004
3032
  }, h = function(f, b) {
3005
- var w, A, O;
3006
- for (O = [], w = -1, A = f.length; ++w < A; )
3033
+ var w, S, O;
3034
+ for (O = [], w = -1, S = f.length; ++w < S; )
3007
3035
  O = O.concat(b(f[w]));
3008
3036
  return O;
3009
3037
  }, _ = function(f, b) {
3010
- var w, A, O;
3011
- for (O = "", w = -1, A = f.length; ++w < A; )
3038
+ var w, S, O;
3039
+ for (O = "", w = -1, S = f.length; ++w < S; )
3012
3040
  O += b(f[w]);
3013
3041
  return O;
3014
- }, y = function(f) {
3042
+ }, v = function(f) {
3015
3043
  return new RegExp(f.toString() + "|").exec("").length - 1;
3016
- }, v = function(f, b) {
3017
- var w, A, O, H, Z;
3044
+ }, y = function(f, b) {
3045
+ var w, S, O, H, Z;
3018
3046
  for (H = {}, w = -1, O = f.length; ++w < O; )
3019
- A = f[w], Z = b[w], Z != null && (H[A] != null ? (Array.isArray(H[A]) || (H[A] = [H[A]]), H[A].push(Z)) : H[A] = Z);
3047
+ S = f[w], Z = b[w], Z != null && (H[S] != null ? (Array.isArray(H[S]) || (H[S] = [H[S]]), H[S].push(Z)) : H[S] = Z);
3020
3048
  return H;
3021
3049
  }, s = {}, s.Result = function(f, b) {
3022
3050
  this.value = f, this.rest = b;
@@ -3024,21 +3052,21 @@ function wn() {
3024
3052
  this.tag = f, this.value = b;
3025
3053
  }, s.tag = function(f, b) {
3026
3054
  return function(w) {
3027
- var A, O;
3028
- if (A = b(w), A != null)
3029
- return O = new s.Tagged(f, A.value), new s.Result(O, A.rest);
3055
+ var S, O;
3056
+ if (S = b(w), S != null)
3057
+ return O = new s.Tagged(f, S.value), new s.Result(O, S.rest);
3030
3058
  };
3031
3059
  }, s.regex = function(f) {
3032
3060
  return function(b) {
3033
- var w, A;
3061
+ var w, S;
3034
3062
  if (w = f.exec(b), w != null)
3035
- return A = w[0], new s.Result(A, b.slice(A.length));
3063
+ return S = w[0], new s.Result(S, b.slice(S.length));
3036
3064
  };
3037
3065
  }, s.sequence = function() {
3038
3066
  var f;
3039
3067
  return f = 1 <= arguments.length ? i.call(arguments, 0) : [], function(b) {
3040
- var w, A, O, H, Z, nt;
3041
- for (w = -1, A = f.length, nt = [], H = b; ++w < A; ) {
3068
+ var w, S, O, H, Z, nt;
3069
+ for (w = -1, S = f.length, nt = [], H = b; ++w < S; ) {
3042
3070
  if (O = f[w], Z = O(H), Z == null)
3043
3071
  return;
3044
3072
  nt.push(Z.value), H = Z.rest;
@@ -3048,9 +3076,9 @@ function wn() {
3048
3076
  }, s.pick = function() {
3049
3077
  var f, b;
3050
3078
  return f = arguments[0], b = 2 <= arguments.length ? i.call(arguments, 1) : [], function(w) {
3051
- var A, O;
3079
+ var S, O;
3052
3080
  if (O = s.sequence.apply(s, b)(w), O != null)
3053
- return A = O.value, O.value = A[f], O;
3081
+ return S = O.value, O.value = S[f], O;
3054
3082
  };
3055
3083
  }, s.string = function(f) {
3056
3084
  var b;
@@ -3063,11 +3091,11 @@ function wn() {
3063
3091
  return b = null, function(w) {
3064
3092
  return b == null && (b = f()), b(w);
3065
3093
  };
3066
- }, s.baseMany = function(f, b, w, A, O) {
3094
+ }, s.baseMany = function(f, b, w, S, O) {
3067
3095
  var H, Z, nt, Ue;
3068
3096
  for (nt = O, Ue = w ? "" : []; !(b != null && (H = b(nt), H != null) || (Z = f(nt), Z == null)); )
3069
3097
  w ? Ue += Z.value : Ue.push(Z.value), nt = Z.rest;
3070
- if (!(A && Ue.length === 0))
3098
+ if (!(S && Ue.length === 0))
3071
3099
  return new s.Result(Ue, nt);
3072
3100
  }, s.many1 = function(f) {
3073
3101
  return function(b) {
@@ -3080,8 +3108,8 @@ function wn() {
3080
3108
  }, s.firstChoice = function() {
3081
3109
  var f;
3082
3110
  return f = 1 <= arguments.length ? i.call(arguments, 0) : [], function(b) {
3083
- var w, A, O, H;
3084
- for (w = -1, A = f.length; ++w < A; )
3111
+ var w, S, O, H;
3112
+ for (w = -1, S = f.length; ++w < S; )
3085
3113
  if (O = f[w], H = O(b), H != null)
3086
3114
  return H;
3087
3115
  };
@@ -3136,24 +3164,24 @@ function wn() {
3136
3164
  case "optional":
3137
3165
  return n(f.value);
3138
3166
  }
3139
- }, m = function(f, b, w, A) {
3167
+ }, m = function(f, b, w, S) {
3140
3168
  var O, H, Z, nt;
3141
- if (A == null && (A = !1), nt = f[b], nt == null) {
3142
- if (A)
3169
+ if (S == null && (S = !1), nt = f[b], nt == null) {
3170
+ if (S)
3143
3171
  throw new Error("no values provided for key `" + b + "`");
3144
3172
  return;
3145
3173
  }
3146
3174
  if (O = w[b] || 0, H = Array.isArray(nt) ? nt.length - 1 : 0, O > H) {
3147
- if (A)
3175
+ if (S)
3148
3176
  throw new Error("too few values provided for key `" + b + "`");
3149
3177
  return;
3150
3178
  }
3151
- return Z = Array.isArray(nt) ? nt[O] : nt, A && (w[b] = O + 1), Z;
3179
+ return Z = Array.isArray(nt) ? nt[O] : nt, S && (w[b] = O + 1), Z;
3152
3180
  }, o = function(f, b, w) {
3153
- var A, O;
3181
+ var S, O;
3154
3182
  if (Array.isArray(f)) {
3155
- for (A = -1, O = f.length; ++A < O; )
3156
- if (o(f[A], b, w))
3183
+ for (S = -1, O = f.length; ++S < O; )
3184
+ if (o(f[S], b, w))
3157
3185
  return !0;
3158
3186
  return !1;
3159
3187
  }
@@ -3169,8 +3197,8 @@ function wn() {
3169
3197
  }
3170
3198
  }, k = function(f, b, w) {
3171
3199
  if (Array.isArray(f))
3172
- return _(f, function(A) {
3173
- return k(A, b, w);
3200
+ return _(f, function(S) {
3201
+ return k(S, b, w);
3174
3202
  });
3175
3203
  switch (f.tag) {
3176
3204
  case "wildcard":
@@ -3183,7 +3211,7 @@ function wn() {
3183
3211
  return o(f.value, b, w) ? k(f.value, b, w) : "";
3184
3212
  }
3185
3213
  }, e = function(f, b) {
3186
- var w, A, O, H, Z;
3214
+ var w, S, O, H, Z;
3187
3215
  if (f instanceof e) {
3188
3216
  this.isRegex = f.isRegex, this.regex = f.regex, this.ast = f.ast, this.names = f.names;
3189
3217
  return;
@@ -3194,7 +3222,7 @@ function wn() {
3194
3222
  if (this.regex = f, b != null) {
3195
3223
  if (!Array.isArray(b))
3196
3224
  throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");
3197
- if (w = y(this.regex), b.length !== w)
3225
+ if (w = v(this.regex), b.length !== w)
3198
3226
  throw new Error("regex contains " + w + " groups but array of group names contains " + b.length);
3199
3227
  this.names = b;
3200
3228
  }
@@ -3204,7 +3232,7 @@ function wn() {
3204
3232
  throw new Error("argument must not be the empty string");
3205
3233
  if (Z = f.replace(/\s+/g, ""), Z !== f)
3206
3234
  throw new Error("argument must not contain whitespace");
3207
- if (A = {
3235
+ if (S = {
3208
3236
  escapeChar: b?.escapeChar || u.escapeChar,
3209
3237
  segmentNameStartChar: b?.segmentNameStartChar || u.segmentNameStartChar,
3210
3238
  segmentNameCharset: b?.segmentNameCharset || u.segmentNameCharset,
@@ -3212,26 +3240,26 @@ function wn() {
3212
3240
  optionalSegmentStartChar: b?.optionalSegmentStartChar || u.optionalSegmentStartChar,
3213
3241
  optionalSegmentEndChar: b?.optionalSegmentEndChar || u.optionalSegmentEndChar,
3214
3242
  wildcardChar: b?.wildcardChar || u.wildcardChar
3215
- }, H = p(A), O = H.pattern(f), O == null)
3243
+ }, H = p(S), O = H.pattern(f), O == null)
3216
3244
  throw new Error("couldn't parse pattern");
3217
3245
  if (O.rest !== "")
3218
3246
  throw new Error("could only partially parse pattern");
3219
- this.ast = O.value, this.regex = new RegExp(l(this.ast, A.segmentValueCharset)), this.names = n(this.ast);
3247
+ this.ast = O.value, this.regex = new RegExp(l(this.ast, S.segmentValueCharset)), this.names = n(this.ast);
3220
3248
  }, e.prototype.match = function(f) {
3221
3249
  var b, w;
3222
- return w = this.regex.exec(f), w == null ? null : (b = w.slice(1), this.names ? v(this.names, b) : b);
3250
+ return w = this.regex.exec(f), w == null ? null : (b = w.slice(1), this.names ? y(this.names, b) : b);
3223
3251
  }, e.prototype.stringify = function(f) {
3224
3252
  if (f == null && (f = {}), this.isRegex)
3225
3253
  throw new Error("can't stringify patterns generated from a regex");
3226
3254
  if (f !== Object(f))
3227
3255
  throw new Error("argument must be an object or undefined");
3228
3256
  return k(this.ast, f, {});
3229
- }, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = _, e.regexGroupCount = y, e.keysAndValuesToObject = v, e.P = s, e.newParser = p, e.defaultOptions = u, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = k, e;
3257
+ }, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = _, e.regexGroupCount = v, e.keysAndValuesToObject = y, e.P = s, e.newParser = p, e.defaultOptions = u, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = k, e;
3230
3258
  });
3231
3259
  })(We, We.exports)), We.exports;
3232
3260
  }
3233
- var xn = wn();
3234
- const Vt = /* @__PURE__ */ yn(xn);
3261
+ var $n = Cn();
3262
+ const Vt = /* @__PURE__ */ xn($n);
3235
3263
  class Bs {
3236
3264
  constructor(t) {
3237
3265
  this.path = Bs.normalizePath(t);
@@ -3281,26 +3309,26 @@ class Bs {
3281
3309
  return this.path;
3282
3310
  }
3283
3311
  }
3284
- const Pn = go, Cn = vn, $n = zs, Sn = $s, Zt = G, An = et, hs = it, kn = pe, Dn = Vt;
3312
+ const Sn = _o, An = wn, kn = zs, Dn = $s, Zt = G, On = et, hs = it, Ln = pe, En = Vt;
3285
3313
  window["concorde-utils"] = window["concorde-utils"] || {};
3286
3314
  window["concorde-utils"] = {
3287
- Utils: Pn,
3288
- Arrays: Cn,
3289
- DataBindObserver: $n,
3290
- Format: Sn,
3315
+ Utils: Sn,
3316
+ Arrays: An,
3317
+ DataBindObserver: kn,
3318
+ Format: Dn,
3291
3319
  HTML: Zt,
3292
- LocationHandler: An,
3320
+ LocationHandler: On,
3293
3321
  Objects: hs,
3294
3322
  PublisherManager: D,
3295
- api: kn,
3296
- URLPattern: Dn,
3323
+ api: Ln,
3324
+ URLPattern: En,
3297
3325
  Endpoint: Bs,
3298
3326
  DataProviderKey: Ge
3299
3327
  };
3300
- var On = Object.defineProperty, Ln = Object.getOwnPropertyDescriptor, He = (r, t, i, s) => {
3301
- for (var e = s > 1 ? void 0 : s ? Ln(t, i) : t, o = r.length - 1, n; o >= 0; o--)
3328
+ var Tn = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor, He = (r, t, i, s) => {
3329
+ for (var e = s > 1 ? void 0 : s ? Nn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
3302
3330
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
3303
- return s && e && On(t, i, e), e;
3331
+ return s && e && Tn(t, i, e), e;
3304
3332
  };
3305
3333
  const Mi = (r) => {
3306
3334
  class t extends r {
@@ -3447,7 +3475,7 @@ const Mi = (r) => {
3447
3475
  * Copyright 2018 Google LLC
3448
3476
  * SPDX-License-Identifier: BSD-3-Clause
3449
3477
  */
3450
- const $ = (r) => r ?? S, Nt = C`
3478
+ const $ = (r) => r ?? A, Nt = C`
3451
3479
  /*SIZES*/
3452
3480
  :host {
3453
3481
  --sc-_fs: 1rem;
@@ -3481,12 +3509,12 @@ const $ = (r) => r ?? S, Nt = C`
3481
3509
  --sc-_fs: 1em;
3482
3510
  }
3483
3511
  `;
3484
- var En = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, B = (r, t, i, s) => {
3485
- for (var e = s > 1 ? void 0 : s ? Tn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
3512
+ var In = Object.defineProperty, Mn = Object.getOwnPropertyDescriptor, B = (r, t, i, s) => {
3513
+ for (var e = s > 1 ? void 0 : s ? Mn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
3486
3514
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
3487
- return s && e && En(t, i, e), e;
3515
+ return s && e && In(t, i, e), e;
3488
3516
  };
3489
- const Nn = "sonic-button";
3517
+ const Fn = "sonic-button";
3490
3518
  let M = class extends Mi(Ie(Q(x))) {
3491
3519
  constructor() {
3492
3520
  super(...arguments), this.type = "default", this.variant = "default", this.shape = "default", this.direction = "row", this.alignItems = "center", this.justify = "center", this.minWidth = "0", this.icon = !1, this.download = null, this.autoActive = "partial", this.loading = !1, this.hasPrefix = !1, this.hasSuffix = !1, this._href = "", this.goBack = null, this.pushState = !1, this.active = !1, this.autoRepeat = !1, this.pointerDownTime = 0, this.lastRepeatTime = 0, this.isRepeating = !1, this.handleRepeatend = () => {
@@ -4034,7 +4062,7 @@ B([
4034
4062
  E()
4035
4063
  ], M.prototype, "location", 2);
4036
4064
  M = B([
4037
- P(Nn)
4065
+ P(Fn)
4038
4066
  ], M);
4039
4067
  /**
4040
4068
  * @license
@@ -4061,36 +4089,36 @@ const dr = (r, t, i) => {
4061
4089
  return this.dt(r, t, i).values;
4062
4090
  }
4063
4091
  update(r, [t, i, s]) {
4064
- const e = Qo(r), { values: o, keys: n } = this.dt(t, i, s);
4092
+ const e = en(r), { values: o, keys: n } = this.dt(t, i, s);
4065
4093
  if (!Array.isArray(e)) return this.ut = n, o;
4066
4094
  const l = this.ut ??= [], c = [];
4067
- let h, u, d = 0, m = e.length - 1, v = 0, p = o.length - 1;
4068
- for (; d <= m && v <= p; ) if (e[d] === null) d++;
4095
+ let h, u, d = 0, m = e.length - 1, y = 0, p = o.length - 1;
4096
+ for (; d <= m && y <= p; ) if (e[d] === null) d++;
4069
4097
  else if (e[m] === null) m--;
4070
- else if (l[d] === n[v]) c[v] = ae(e[d], o[v]), d++, v++;
4098
+ else if (l[d] === n[y]) c[y] = ae(e[d], o[y]), d++, y++;
4071
4099
  else if (l[m] === n[p]) c[p] = ae(e[m], o[p]), m--, p--;
4072
4100
  else if (l[d] === n[p]) c[p] = ae(e[d], o[p]), Be(r, c[p + 1], e[d]), d++, p--;
4073
- else if (l[m] === n[v]) c[v] = ae(e[m], o[v]), Be(r, e[d], e[m]), m--, v++;
4074
- else if (h === void 0 && (h = dr(n, v, p), u = dr(l, d, m)), h.has(l[d])) if (h.has(l[m])) {
4075
- const y = u.get(n[v]), _ = y !== void 0 ? e[y] : null;
4101
+ else if (l[m] === n[y]) c[y] = ae(e[m], o[y]), Be(r, e[d], e[m]), m--, y++;
4102
+ else if (h === void 0 && (h = dr(n, y, p), u = dr(l, d, m)), h.has(l[d])) if (h.has(l[m])) {
4103
+ const v = u.get(n[y]), _ = v !== void 0 ? e[v] : null;
4076
4104
  if (_ === null) {
4077
4105
  const k = Be(r, e[d]);
4078
- ae(k, o[v]), c[v] = k;
4079
- } else c[v] = ae(_, o[v]), Be(r, e[d], _), e[y] = null;
4080
- v++;
4106
+ ae(k, o[y]), c[y] = k;
4107
+ } else c[y] = ae(_, o[y]), Be(r, e[d], _), e[v] = null;
4108
+ y++;
4081
4109
  } else ti(e[m]), m--;
4082
4110
  else ti(e[d]), d++;
4083
- for (; v <= p; ) {
4084
- const y = Be(r, c[p + 1]);
4085
- ae(y, o[v]), c[v++] = y;
4111
+ for (; y <= p; ) {
4112
+ const v = Be(r, c[p + 1]);
4113
+ ae(v, o[y]), c[y++] = v;
4086
4114
  }
4087
4115
  for (; d <= m; ) {
4088
- const y = e[d++];
4089
- y !== null && ti(y);
4116
+ const v = e[d++];
4117
+ v !== null && ti(v);
4090
4118
  }
4091
- return this.ut = n, Xo(r, c), yt;
4119
+ return this.ut = n, tn(r, c), yt;
4092
4120
  }
4093
- }), In = /* @__PURE__ */ new WeakMap();
4121
+ }), jn = /* @__PURE__ */ new WeakMap();
4094
4122
  let ur = 0;
4095
4123
  const si = /* @__PURE__ */ new Map(), pr = /* @__PURE__ */ new WeakSet(), fr = () => new Promise(((r) => requestAnimationFrame(r))), br = (r, t) => {
4096
4124
  const i = r - t;
@@ -4114,8 +4142,8 @@ const si = /* @__PURE__ */ new Map(), pr = /* @__PURE__ */ new WeakSet(), fr = (
4114
4142
  t === 0 && (t = 1, i = { height: "1px" });
4115
4143
  const s = mr(r, t);
4116
4144
  return { value: s, overrideFrom: i, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
4117
- } }, Mn = { duration: 333, easing: "ease-in-out" }, Fn = ["left", "top", "width", "height", "opacity", "color", "background"], gr = /* @__PURE__ */ new WeakMap();
4118
- class jn extends Ni {
4145
+ } }, Rn = { duration: 333, easing: "ease-in-out" }, zn = ["left", "top", "width", "height", "opacity", "color", "background"], gr = /* @__PURE__ */ new WeakMap();
4146
+ class Un extends Ni {
4119
4147
  constructor(t) {
4120
4148
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === _e.CHILD) throw Error("The `animate` directive must be used in attribute position.");
4121
4149
  this.createFinished();
@@ -4129,10 +4157,10 @@ class jn extends Ni {
4129
4157
  this.l?.(), this.l = void 0;
4130
4158
  }
4131
4159
  render(t) {
4132
- return S;
4160
+ return A;
4133
4161
  }
4134
4162
  getController() {
4135
- return In.get(this.u);
4163
+ return jn.get(this.u);
4136
4164
  }
4137
4165
  isDisabled() {
4138
4166
  return this.options.disabled || this.getController()?.disabled;
@@ -4144,7 +4172,7 @@ class jn extends Ni {
4144
4172
  p(t) {
4145
4173
  t = t ?? {};
4146
4174
  const i = this.getController();
4147
- i !== void 0 && ((t = { ...i.defaultOptions, ...t }).keyframeOptions = { ...i.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ??= Fn, this.options = t;
4175
+ i !== void 0 && ((t = { ...i.defaultOptions, ...t }).keyframeOptions = { ...i.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ??= zn, this.options = t;
4148
4176
  }
4149
4177
  m() {
4150
4178
  const t = {}, i = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
@@ -4229,7 +4257,7 @@ class jn extends Ni {
4229
4257
  })), t;
4230
4258
  }
4231
4259
  j(t, i = this.O()) {
4232
- const s = { ...Mn };
4260
+ const s = { ...Rn };
4233
4261
  return i.forEach(((e) => Object.assign(s, e.options.keyframeOptions))), Object.assign(s, t), s;
4234
4262
  }
4235
4263
  N(t, i, s) {
@@ -4277,7 +4305,7 @@ class jn extends Ni {
4277
4305
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, i);
4278
4306
  }
4279
4307
  }
4280
- const Rn = se(jn), zn = { cancel: `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4308
+ const Vn = se(Un), Bn = { cancel: `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4281
4309
  <path d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
4282
4310
  </svg>
4283
4311
  `, "check-circled-outline": `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -4313,8 +4341,8 @@ const Rn = se(jn), zn = { cancel: `<svg width="24" height="24" stroke-width="1.5
4313
4341
  <path d="M12 17.01L12.01 16.9989" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
4314
4342
  <path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
4315
4343
  </svg>
4316
- ` }, Un = {
4317
- core: zn
4344
+ ` }, Hn = {
4345
+ core: Bn
4318
4346
  }, xs = /* @__PURE__ */ new Map(), Ze = {
4319
4347
  heroicons: {
4320
4348
  url: "https://cdn.jsdelivr.net/npm/heroicons@2.0.4/24/$prefix/$name.svg",
@@ -4340,17 +4368,17 @@ const Rn = se(jn), zn = { cancel: `<svg width="24" height="24" stroke-width="1.5
4340
4368
  custom: { url: "", defaultPrefix: "" }
4341
4369
  };
4342
4370
  let vr = !1;
4343
- function Vn() {
4371
+ function qn() {
4344
4372
  vr || (Ze.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", Ze.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "", Ze.custom.url && (vr = !0));
4345
4373
  }
4346
- const yr = sessionStorage.getItem("sonicIconsCache"), zt = yr ? JSON.parse(yr) : { icons: {}, names: [] }, Bn = 100, Zi = class Zi {
4374
+ const yr = sessionStorage.getItem("sonicIconsCache"), zt = yr ? JSON.parse(yr) : { icons: {}, names: [] }, Wn = 100, Zi = class Zi {
4347
4375
  };
4348
4376
  Zi.default = {
4349
4377
  get: async (t) => {
4350
4378
  const i = t.library;
4351
4379
  if (!t.name) return "";
4352
- const s = t.name, e = Un;
4353
- if (i == "custom" && Vn(), i && i in Ze) {
4380
+ const s = t.name, e = Hn;
4381
+ if (i == "custom" && qn(), i && i in Ze) {
4354
4382
  const o = Ze[i], n = t.prefix || o.defaultPrefix || "", l = e[i] || {};
4355
4383
  e[i] = l;
4356
4384
  const c = n + "-" + s;
@@ -4365,30 +4393,30 @@ Zi.default = {
4365
4393
  if (!xs.has(h)) {
4366
4394
  const d = new Promise(async (m) => {
4367
4395
  try {
4368
- const v = await fetch(h);
4369
- if (!v.ok) {
4396
+ const y = await fetch(h);
4397
+ if (!y.ok) {
4370
4398
  m("");
4371
4399
  return;
4372
4400
  }
4373
4401
  try {
4374
- const p = v.headers.get("content-type") || "";
4402
+ const p = y.headers.get("content-type") || "";
4375
4403
  if (!p.includes("image/svg+xml") && !p.includes("svg")) {
4376
4404
  m("");
4377
4405
  return;
4378
4406
  }
4379
- const y = await v.text(), _ = /^\s*<svg[\s>]/i.test(y);
4380
- m(_ ? y : "");
4407
+ const v = await y.text(), _ = /^\s*<svg[\s>]/i.test(v);
4408
+ m(_ ? v : "");
4381
4409
  } catch {
4382
4410
  m("");
4383
4411
  }
4384
4412
  } catch {
4385
- on(), m("");
4413
+ ln(), m("");
4386
4414
  }
4387
4415
  });
4388
4416
  xs.set(h, d);
4389
4417
  }
4390
4418
  const u = await xs.get(h);
4391
- if (xs.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (zt.icons[h] = u, zt.names.push(h)), zt.names.length > Bn) {
4419
+ if (xs.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (zt.icons[h] = u, zt.names.push(h)), zt.names.length > Wn) {
4392
4420
  const d = zt.names.shift();
4393
4421
  delete zt.icons[d];
4394
4422
  }
@@ -4398,12 +4426,12 @@ Zi.default = {
4398
4426
  }
4399
4427
  };
4400
4428
  let ci = Zi;
4401
- var Hn = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, ds = (r, t, i, s) => {
4402
- for (var e = s > 1 ? void 0 : s ? qn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4429
+ var Kn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, ds = (r, t, i, s) => {
4430
+ for (var e = s > 1 ? void 0 : s ? Yn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4403
4431
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
4404
- return s && e && Hn(t, i, e), e;
4432
+ return s && e && Kn(t, i, e), e;
4405
4433
  };
4406
- const Wn = "sonic-icon";
4434
+ const Zn = "sonic-icon";
4407
4435
  let fe = class extends x {
4408
4436
  constructor() {
4409
4437
  super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
@@ -4422,7 +4450,7 @@ let fe = class extends x {
4422
4450
  (r.has("name") || r.has("prefix") || r.has("library")) && this.updateIcon(), super.willUpdate(r);
4423
4451
  }
4424
4452
  render() {
4425
- return this.iconText ? this.iconText : S;
4453
+ return this.iconText ? this.iconText : A;
4426
4454
  }
4427
4455
  };
4428
4456
  fe.styles = C`
@@ -4489,7 +4517,7 @@ ds([
4489
4517
  a({ type: String })
4490
4518
  ], fe.prototype, "library", 2);
4491
4519
  fe = ds([
4492
- P(Wn)
4520
+ P(Zn)
4493
4521
  ], fe);
4494
4522
  const us = C`
4495
4523
  .custom-scroll {
@@ -4514,17 +4542,17 @@ const us = C`
4514
4542
  }
4515
4543
  }
4516
4544
  `;
4517
- var Kn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, St = (r, t, i, s) => {
4518
- for (var e = s > 1 ? void 0 : s ? Yn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4545
+ var Gn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, At = (r, t, i, s) => {
4546
+ for (var e = s > 1 ? void 0 : s ? Xn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4519
4547
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
4520
- return s && e && Kn(t, i, e), e;
4548
+ return s && e && Gn(t, i, e), e;
4521
4549
  };
4522
- const Zn = {
4550
+ const Qn = {
4523
4551
  warning: "warning-circled-outline",
4524
4552
  success: "check-circled-outline",
4525
4553
  error: "warning-circled-outline",
4526
4554
  info: "info-empty"
4527
- }, Gn = "sonic-toast-item";
4555
+ }, Jn = "sonic-toast-item";
4528
4556
  let _t = class extends x {
4529
4557
  constructor() {
4530
4558
  super(...arguments), this.title = "", this.id = "", this.text = "", this.status = "", this.ghost = !1, this.preserve = !1, this.dismissForever = !1, this.maxHeight = "10rem", this.visible = !0, this._titleId = "";
@@ -4569,17 +4597,17 @@ let _t = class extends x {
4569
4597
  if (this.dismissForever) {
4570
4598
  const s = localStorage.getItem("sonic-toast-dismissed") || "{}";
4571
4599
  if (JSON.parse(s)[this.id])
4572
- return S;
4600
+ return A;
4573
4601
  }
4574
4602
  if (!this.visible)
4575
- return S;
4603
+ return A;
4576
4604
  const r = this.title ? this.getTitleId() : void 0, t = !this.title && this.text ? this.text.length > 100 ? this.text.substring(0, 100).replace(/\s+\S*$/, "") + "..." : this.text : void 0, i = this.getAriaLive();
4577
4605
  return g`<div
4578
4606
  class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
4579
4607
  role=${this.getAriaRole()}
4580
- aria-live=${i || S}
4608
+ aria-live=${i || A}
4581
4609
  aria-atomic="true"
4582
- aria-label=${t || S}
4610
+ aria-label=${t || A}
4583
4611
  >
4584
4612
  <button
4585
4613
  aria-label=${this.getCloseButtonLabel()}
@@ -4593,7 +4621,7 @@ let _t = class extends x {
4593
4621
  style="max-height: ${this.maxHeight} ;"
4594
4622
  >
4595
4623
  ${this.status && g`<sonic-icon
4596
- name=${Zn[this.status]}
4624
+ name=${Qn[this.status]}
4597
4625
  class="sonic-toast-icon"
4598
4626
  size="2xl"
4599
4627
  aria-hidden="true"
@@ -4814,40 +4842,40 @@ _t.styles = [
4814
4842
  }
4815
4843
  `
4816
4844
  ];
4817
- St([
4845
+ At([
4818
4846
  a({ type: String })
4819
4847
  ], _t.prototype, "title", 2);
4820
- St([
4848
+ At([
4821
4849
  a({ type: String })
4822
4850
  ], _t.prototype, "id", 2);
4823
- St([
4851
+ At([
4824
4852
  a({ type: String })
4825
4853
  ], _t.prototype, "text", 2);
4826
- St([
4854
+ At([
4827
4855
  a({ type: String })
4828
4856
  ], _t.prototype, "status", 2);
4829
- St([
4857
+ At([
4830
4858
  a({ type: Boolean })
4831
4859
  ], _t.prototype, "ghost", 2);
4832
- St([
4860
+ At([
4833
4861
  a({ type: Boolean })
4834
4862
  ], _t.prototype, "preserve", 2);
4835
- St([
4863
+ At([
4836
4864
  a({ type: Boolean })
4837
4865
  ], _t.prototype, "dismissForever", 2);
4838
- St([
4866
+ At([
4839
4867
  a({ type: String })
4840
4868
  ], _t.prototype, "maxHeight", 2);
4841
- St([
4869
+ At([
4842
4870
  E()
4843
4871
  ], _t.prototype, "visible", 2);
4844
- St([
4872
+ At([
4845
4873
  E()
4846
4874
  ], _t.prototype, "_titleId", 2);
4847
- _t = St([
4848
- P(Gn)
4875
+ _t = At([
4876
+ P(Jn)
4849
4877
  ], _t);
4850
- const Xn = C`
4878
+ const ta = C`
4851
4879
  :host {
4852
4880
  /* POLICES */
4853
4881
  /*
@@ -4918,7 +4946,7 @@ const Xn = C`
4918
4946
  --sc-contrast-content: #fff;
4919
4947
  --sc-contrast: #000000;
4920
4948
  }
4921
- `, Qn = C`
4949
+ `, ea = C`
4922
4950
  :host([theme="light"]) {
4923
4951
  /*Boutons*/
4924
4952
  --sc-primary: var(--sc-base-800);
@@ -4972,7 +5000,7 @@ const Xn = C`
4972
5000
  --sc-base-800: var(--sc-dark-base-800, #d9dce0);
4973
5001
  --sc-base-900: var(--sc-dark-base-900, #e5e7eb);
4974
5002
  --sc-base-content: var(--sc-dark-base-content, #e5e7eb);
4975
- `, Jn = C`
5003
+ `, sa = C`
4976
5004
  :host([theme="dark"]) {
4977
5005
  ${_r}
4978
5006
  }
@@ -4983,12 +5011,12 @@ const Xn = C`
4983
5011
  }
4984
5012
  }
4985
5013
  `;
4986
- var ta = Object.defineProperty, ea = Object.getOwnPropertyDescriptor, ps = (r, t, i, s) => {
4987
- for (var e = s > 1 ? void 0 : s ? ea(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5014
+ var ia = Object.defineProperty, ra = Object.getOwnPropertyDescriptor, ps = (r, t, i, s) => {
5015
+ for (var e = s > 1 ? void 0 : s ? ra(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4988
5016
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
4989
- return s && e && ta(t, i, e), e;
5017
+ return s && e && ia(t, i, e), e;
4990
5018
  };
4991
- const sa = "sonic-theme";
5019
+ const oa = "sonic-theme";
4992
5020
  let vt = class extends x {
4993
5021
  constructor() {
4994
5022
  super(), this.background = !1, this.color = !1, this.font = !1, vt.instance = this;
@@ -5052,9 +5080,9 @@ let vt = class extends x {
5052
5080
  }
5053
5081
  };
5054
5082
  vt.styles = [
5055
- Qn,
5056
- Jn,
5057
- Xn,
5083
+ ea,
5084
+ sa,
5085
+ ta,
5058
5086
  C`
5059
5087
  :host([color]) {
5060
5088
  color: var(--sc-base-content, #000);
@@ -5102,14 +5130,14 @@ ps([
5102
5130
  a({ type: Boolean, reflect: !0 })
5103
5131
  ], vt.prototype, "font", 2);
5104
5132
  vt = ps([
5105
- P(sa)
5133
+ P(oa)
5106
5134
  ], vt);
5107
- var ia = Object.defineProperty, ra = Object.getOwnPropertyDescriptor, Vr = (r, t, i, s) => {
5108
- for (var e = s > 1 ? void 0 : s ? ra(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5135
+ var na = Object.defineProperty, aa = Object.getOwnPropertyDescriptor, Vr = (r, t, i, s) => {
5136
+ for (var e = s > 1 ? void 0 : s ? aa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5109
5137
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5110
- return s && e && ia(t, i, e), e;
5138
+ return s && e && na(t, i, e), e;
5111
5139
  };
5112
- const oa = "sonic-toast";
5140
+ const la = "sonic-toast";
5113
5141
  let L = class extends x {
5114
5142
  constructor() {
5115
5143
  super(...arguments), this.toasts = [];
@@ -5149,7 +5177,7 @@ let L = class extends x {
5149
5177
  ?preserve=${s.preserve}
5150
5178
  id=${$(s.id)}
5151
5179
  @hide=${() => this.removeItem(s)}
5152
- ${Rn({
5180
+ ${Vn({
5153
5181
  keyframeOptions: {
5154
5182
  duration: 250,
5155
5183
  easing: "cubic-bezier(0.250, 0.250, 0.420, 1.225)"
@@ -5177,7 +5205,7 @@ let L = class extends x {
5177
5205
  </sonic-toast-item>
5178
5206
  `
5179
5207
  )}
5180
- </div>` : S;
5208
+ </div>` : A;
5181
5209
  }
5182
5210
  static removeAll() {
5183
5211
  if (L.delegateToasts) {
@@ -5272,10 +5300,10 @@ Vr([
5272
5300
  a({ type: Array })
5273
5301
  ], L.prototype, "toasts", 2);
5274
5302
  L = Vr([
5275
- P(oa)
5303
+ P(la)
5276
5304
  ], L);
5277
5305
  typeof window < "u" && (window[Ss + "Toast"] = window[Ss + "Toast"] || L);
5278
- function na() {
5306
+ function ca() {
5279
5307
  const r = (i) => {
5280
5308
  i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "removeItemsByStatus" && L.removeItemsByStatus(i.data.status), i.data.type == "removeTemporaryItems" && L.removeTemporaryItems(), i.data.type == "sonicToastAvailable" && (L.delegateToasts = !0, L.handleExistingToastDelegation()), i.data.type == "addToasts" && (L.getInstance().toasts = [
5281
5309
  ...L.getInstance().toasts,
@@ -5286,14 +5314,14 @@ function na() {
5286
5314
  for (const i of document.querySelectorAll("iframe"))
5287
5315
  i.contentWindow?.postMessage({ type: "sonicToastAvailable" }, "*");
5288
5316
  }
5289
- na();
5290
- var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, qe = (r, t, i, s) => {
5291
- for (var e = s > 1 ? void 0 : s ? la(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5317
+ ca();
5318
+ var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor, qe = (r, t, i, s) => {
5319
+ for (var e = s > 1 ? void 0 : s ? da(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5292
5320
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5293
- return s && e && aa(t, i, e), e;
5321
+ return s && e && ha(t, i, e), e;
5294
5322
  };
5295
- const ca = /* @__PURE__ */ new Set(), ha = /* @__PURE__ */ new Set(), da = (r) => {
5296
- for (const t of ha)
5323
+ const ua = /* @__PURE__ */ new Set(), pa = /* @__PURE__ */ new Set(), fa = (r) => {
5324
+ for (const t of pa)
5297
5325
  t(r);
5298
5326
  }, hi = /* @__PURE__ */ new Set();
5299
5327
  let ri = 0;
@@ -5350,7 +5378,7 @@ const Fi = (r, t) => {
5350
5378
  );
5351
5379
  } catch {
5352
5380
  }
5353
- if (this.handleEndFetching(), this.fetchedData = n, this.api.lastResult && !this.api.lastResult.ok && (this.noErrorsRecordings || ca.add(this), da(this.api.lastResult)), !!this.isConnected) {
5381
+ if (this.handleEndFetching(), this.fetchedData = n, this.api.lastResult && !this.api.lastResult.ok && (this.noErrorsRecordings || ua.add(this), fa(this.api.lastResult)), !!this.isConnected) {
5354
5382
  if (n)
5355
5383
  n._sonic_http_response_ && !n._sonic_http_response_.ok && Object.keys(n).length === 1 && L.add({ text: "Network Error", status: "error" });
5356
5384
  else {
@@ -5429,10 +5457,10 @@ const Fi = (r, t) => {
5429
5457
  a({ type: Number })
5430
5458
  ], i.prototype, "refetchEveryMs", 2), i;
5431
5459
  };
5432
- var ua = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, le = (r, t, i, s) => {
5433
- for (var e = s > 1 ? void 0 : s ? pa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5460
+ var ba = Object.defineProperty, ma = Object.getOwnPropertyDescriptor, le = (r, t, i, s) => {
5461
+ for (var e = s > 1 ? void 0 : s ? ma(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5434
5462
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5435
- return s && e && ua(t, i, e), e;
5463
+ return s && e && ba(t, i, e), e;
5436
5464
  };
5437
5465
  const qs = (r) => {
5438
5466
  class t extends r {
@@ -5479,11 +5507,11 @@ const qs = (r) => {
5479
5507
  ], t.prototype, "tabindex", 2), le([
5480
5508
  a({ type: String })
5481
5509
  ], t.prototype, "autocomplete", 2), t;
5482
- }, Br = Fi, fa = Mi, Hr = Ie, qr = qs, ie = Q, ji = cs;
5510
+ }, Br = Fi, ga = Mi, Hr = Ie, qr = qs, ie = Q, ji = cs;
5483
5511
  window["concorde-mixins"] = window["concorde-mixins"] || {};
5484
5512
  window["concorde-mixins"] = {
5485
5513
  Fetcher: Br,
5486
- FormCheckable: fa,
5514
+ FormCheckable: ga,
5487
5515
  FormElement: Hr,
5488
5516
  FormInput: qr,
5489
5517
  Subscriber: ie,
@@ -5502,26 +5530,26 @@ const Lt = se(class extends Ne {
5502
5530
  return this.vt === r ? yt : (this.vt = r, document.importNode(r.content, !0));
5503
5531
  }
5504
5532
  });
5505
- var ba = Object.defineProperty, ma = Object.getOwnPropertyDescriptor, Wr = (r, t, i, s) => {
5506
- for (var e = s > 1 ? void 0 : s ? ma(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5533
+ var va = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, Wr = (r, t, i, s) => {
5534
+ for (var e = s > 1 ? void 0 : s ? ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5507
5535
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5508
- return s && e && ba(t, i, e), e;
5536
+ return s && e && va(t, i, e), e;
5509
5537
  };
5510
- const ga = "sonic-fetch";
5538
+ const _a = "sonic-fetch";
5511
5539
  let Os = class extends Fi(Q(ji(x))) {
5512
5540
  renderLoader() {
5513
- if (!(this.isLoading && this.loader !== void 0)) return S;
5541
+ if (!(this.isLoading && this.loader !== void 0)) return A;
5514
5542
  const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
5515
5543
  return g`<sonic-loader mode=${r}></sonic-loader>`;
5516
5544
  }
5517
5545
  renderSkeleton() {
5518
5546
  const r = this.templateParts.skeleton;
5519
- return this.isLoading && r ? Lt(r) : S;
5547
+ return this.isLoading && r ? Lt(r) : A;
5520
5548
  }
5521
5549
  render() {
5522
5550
  return g`
5523
5551
  ${this.renderSkeleton()} ${this.renderLoader()}
5524
- ${this.isLoading ? S : g`<slot></slot>`}
5552
+ ${this.isLoading ? A : g`<slot></slot>`}
5525
5553
  `;
5526
5554
  }
5527
5555
  };
@@ -5536,20 +5564,20 @@ Wr([
5536
5564
  a()
5537
5565
  ], Os.prototype, "loader", 2);
5538
5566
  Os = Wr([
5539
- P(ga)
5567
+ P(_a)
5540
5568
  ], Os);
5541
- var va = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, Kr = (r, t, i, s) => {
5542
- for (var e = s > 1 ? void 0 : s ? ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5569
+ var wa = Object.defineProperty, xa = Object.getOwnPropertyDescriptor, Kr = (r, t, i, s) => {
5570
+ for (var e = s > 1 ? void 0 : s ? xa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5543
5571
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5544
- return s && e && va(t, i, e), e;
5572
+ return s && e && wa(t, i, e), e;
5545
5573
  };
5546
- const _a = "sonic-if";
5574
+ const Pa = "sonic-if";
5547
5575
  let Ls = class extends x {
5548
5576
  constructor() {
5549
5577
  super(...arguments), this.condition = !1;
5550
5578
  }
5551
5579
  render() {
5552
- return this.condition ? g` <slot></slot> ` : S;
5580
+ return this.condition ? g` <slot></slot> ` : A;
5553
5581
  }
5554
5582
  };
5555
5583
  Ls.styles = C`
@@ -5561,9 +5589,9 @@ Kr([
5561
5589
  a({ type: Boolean })
5562
5590
  ], Ls.prototype, "condition", 2);
5563
5591
  Ls = Kr([
5564
- P(_a)
5592
+ P(Pa)
5565
5593
  ], Ls);
5566
- const wa = C`
5594
+ const Ca = C`
5567
5595
  :host([align="left"]) .sonic-loader--inline {
5568
5596
  margin-left: 0;
5569
5597
  }
@@ -5630,7 +5658,7 @@ const wa = C`
5630
5658
  transform: translate(24px, 0);
5631
5659
  }
5632
5660
  }
5633
- `, xa = C`
5661
+ `, $a = C`
5634
5662
  @keyframes sonic-loader--fixed {
5635
5663
  0% {
5636
5664
  transform: scale(0);
@@ -5684,12 +5712,12 @@ const wa = C`
5684
5712
  animation: sonic-loader--fixed 1s 0s linear infinite;
5685
5713
  }
5686
5714
  `;
5687
- var Pa = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, Ri = (r, t, i, s) => {
5688
- for (var e = s > 1 ? void 0 : s ? Ca(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5715
+ var Sa = Object.defineProperty, Aa = Object.getOwnPropertyDescriptor, Ri = (r, t, i, s) => {
5716
+ for (var e = s > 1 ? void 0 : s ? Aa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5689
5717
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5690
- return s && e && Pa(t, i, e), e;
5718
+ return s && e && Sa(t, i, e), e;
5691
5719
  };
5692
- const $a = "sonic-loader";
5720
+ const ka = "sonic-loader";
5693
5721
  let tt = class extends x {
5694
5722
  constructor() {
5695
5723
  super(...arguments), this.mode = "fixed", this.noDelay = !1;
@@ -5714,8 +5742,8 @@ let tt = class extends x {
5714
5742
  }
5715
5743
  };
5716
5744
  tt.styles = [
5717
- wa,
5718
- xa,
5745
+ Ca,
5746
+ $a,
5719
5747
  C`
5720
5748
  :host {
5721
5749
  --sc-_loader-bg: var(--sc-primary, currentColor);
@@ -5754,14 +5782,14 @@ Ri([
5754
5782
  a({ type: Boolean })
5755
5783
  ], tt.prototype, "noDelay", 2);
5756
5784
  tt = Ri([
5757
- P($a)
5785
+ P(ka)
5758
5786
  ], tt);
5759
- var Sa = Object.getOwnPropertyDescriptor, Aa = (r, t, i, s) => {
5760
- for (var e = s > 1 ? void 0 : s ? Sa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5787
+ var Da = Object.getOwnPropertyDescriptor, Oa = (r, t, i, s) => {
5788
+ for (var e = s > 1 ? void 0 : s ? Da(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5761
5789
  (n = r[o]) && (e = n(e) || e);
5762
5790
  return e;
5763
5791
  };
5764
- const ka = "sonic-subscriber";
5792
+ const La = "sonic-subscriber";
5765
5793
  let wr = class extends Q(x) {
5766
5794
  constructor() {
5767
5795
  super(...arguments), this.noAutofill = !0;
@@ -5776,16 +5804,16 @@ let wr = class extends Q(x) {
5776
5804
  return g`<slot></slot> `;
5777
5805
  }
5778
5806
  };
5779
- wr = Aa([
5780
- P(ka)
5807
+ wr = Oa([
5808
+ P(La)
5781
5809
  ], wr);
5782
- var Da = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, At = (r, t, i, s) => {
5783
- for (var e = s > 1 ? void 0 : s ? Oa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5810
+ var Ea = Object.defineProperty, Ta = Object.getOwnPropertyDescriptor, kt = (r, t, i, s) => {
5811
+ for (var e = s > 1 ? void 0 : s ? Ta(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5784
5812
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5785
- return s && e && Da(t, i, e), e;
5813
+ return s && e && Ea(t, i, e), e;
5786
5814
  };
5787
- const La = "sonic-list";
5788
- let wt = class extends Fi(Q(cs(x))) {
5815
+ const Na = "sonic-list";
5816
+ let xt = class extends Fi(Q(cs(x))) {
5789
5817
  constructor() {
5790
5818
  super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0, this.loadingSize = { width: 0, height: 0 };
5791
5819
  }
@@ -5803,7 +5831,7 @@ let wt = class extends Fi(Q(cs(x))) {
5803
5831
  super.disconnectedCallback();
5804
5832
  }
5805
5833
  renderLoader() {
5806
- if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return S;
5834
+ if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return A;
5807
5835
  const t = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
5808
5836
  return g`<sonic-loader mode=${t}></sonic-loader>`;
5809
5837
  }
@@ -5811,13 +5839,13 @@ let wt = class extends Fi(Q(cs(x))) {
5811
5839
  if (this.skeleton)
5812
5840
  return this.skeleton();
5813
5841
  const r = this.templateParts.skeleton;
5814
- return this.isLoading && r ? Lt(r) : S;
5842
+ return this.isLoading && r ? Lt(r) : A;
5815
5843
  }
5816
5844
  renderSeparator() {
5817
5845
  if (this.separator)
5818
5846
  return this.separator();
5819
5847
  const r = this.templateParts.separator;
5820
- return r ? Lt(r) : S;
5848
+ return r ? Lt(r) : A;
5821
5849
  }
5822
5850
  renderLoadingState() {
5823
5851
  return g`${this.renderSkeleton()} ${this.renderLoader()} `;
@@ -5902,18 +5930,18 @@ let wt = class extends Fi(Q(cs(x))) {
5902
5930
  const n = this.hasAttribute("extractValues"), l = this.renderSeparator(), c = s?.length || 0, h = s?.slice(this.offset, this.offset + this.limit);
5903
5931
  return g`
5904
5932
  ${h?.map((u, d) => {
5905
- if (u == null) return S;
5906
- let m = d, v = null;
5933
+ if (u == null) return A;
5934
+ let m = d, y = null;
5907
5935
  if (typeof u == "object" && !Array.isArray(u)) {
5908
5936
  n && (m = u?.key);
5909
5937
  const b = u[this.templateKey];
5910
- b && typeof b == "string" && (v = this.templateParts[b]);
5938
+ b && typeof b == "string" && (y = this.templateParts[b]);
5911
5939
  }
5912
- if (m == "_sonic_http_response_" || typeof m != "string" && typeof m != "number") return S;
5913
- const p = d >= c - 1, y = d % 2, _ = this.publisher[m], k = {
5940
+ if (m == "_sonic_http_response_" || typeof m != "string" && typeof m != "number") return A;
5941
+ const p = d >= c - 1, v = d % 2, _ = this.publisher[m], k = {
5914
5942
  key: m,
5915
- even: y == 0,
5916
- odd: y == 1,
5943
+ even: v == 0,
5944
+ odd: v == 1,
5917
5945
  onlyChild: c == 1,
5918
5946
  firstChild: d == 0,
5919
5947
  lastChild: p
@@ -5927,7 +5955,7 @@ let wt = class extends Fi(Q(cs(x))) {
5927
5955
  k,
5928
5956
  m
5929
5957
  );
5930
- return f ? g`${f}${p ? S : l}` : (o++, v && (o = -1), g`
5958
+ return f ? g`${f}${p ? A : l}` : (o++, y && (o = -1), g`
5931
5959
  <sonic-subscriber
5932
5960
  ?debug=${this.defferedDebug === !0}
5933
5961
  .bindPublisher=${function() {
@@ -5936,50 +5964,50 @@ let wt = class extends Fi(Q(cs(x))) {
5936
5964
  .propertyMap?=${this.itemPropertyMap}
5937
5965
  dataProvider="${this.dataProvider}/list-item/${m}"
5938
5966
  >
5939
- ${Lt(v || this.templateList[o % e])}
5967
+ ${Lt(y || this.templateList[o % e])}
5940
5968
  </sonic-subscriber>
5941
- ${p ? S : l}
5969
+ ${p ? A : l}
5942
5970
  `);
5943
5971
  })}
5944
5972
  `;
5945
5973
  }
5946
5974
  };
5947
- At([
5975
+ kt([
5948
5976
  a({ type: Object })
5949
- ], wt.prototype, "itemPropertyMap", 2);
5950
- At([
5977
+ ], xt.prototype, "itemPropertyMap", 2);
5978
+ kt([
5951
5979
  a({ type: String })
5952
- ], wt.prototype, "templateKey", 2);
5953
- At([
5980
+ ], xt.prototype, "templateKey", 2);
5981
+ kt([
5954
5982
  a({ type: String })
5955
- ], wt.prototype, "idKey", 2);
5956
- At([
5983
+ ], xt.prototype, "idKey", 2);
5984
+ kt([
5957
5985
  a()
5958
- ], wt.prototype, "loader", 2);
5959
- At([
5986
+ ], xt.prototype, "loader", 2);
5987
+ kt([
5960
5988
  a()
5961
- ], wt.prototype, "limit", 2);
5962
- At([
5989
+ ], xt.prototype, "limit", 2);
5990
+ kt([
5963
5991
  a()
5964
- ], wt.prototype, "offset", 2);
5965
- At([
5992
+ ], xt.prototype, "offset", 2);
5993
+ kt([
5966
5994
  a({
5967
5995
  type: Function,
5968
5996
  attribute: !1
5969
5997
  })
5970
- ], wt.prototype, "items", 1);
5971
- At([
5998
+ ], xt.prototype, "items", 1);
5999
+ kt([
5972
6000
  a({ type: Function, attribute: !1 })
5973
- ], wt.prototype, "noItems", 2);
5974
- At([
6001
+ ], xt.prototype, "noItems", 2);
6002
+ kt([
5975
6003
  a({ type: Function, attribute: !1 })
5976
- ], wt.prototype, "skeleton", 2);
5977
- At([
6004
+ ], xt.prototype, "skeleton", 2);
6005
+ kt([
5978
6006
  a({ type: Function, attribute: !1 })
5979
- ], wt.prototype, "separator", 2);
5980
- wt = At([
5981
- P(La)
5982
- ], wt);
6007
+ ], xt.prototype, "separator", 2);
6008
+ xt = kt([
6009
+ P(Na)
6010
+ ], xt);
5983
6011
  /**
5984
6012
  * @license
5985
6013
  * Copyright 2021 Google LLC
@@ -5991,12 +6019,12 @@ function* Yr(r, t) {
5991
6019
  for (const s of r) yield t(s, i++);
5992
6020
  }
5993
6021
  }
5994
- var Ea = Object.defineProperty, Ta = Object.getOwnPropertyDescriptor, ot = (r, t, i, s) => {
5995
- for (var e = s > 1 ? void 0 : s ? Ta(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6022
+ var Ia = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, ot = (r, t, i, s) => {
6023
+ for (var e = s > 1 ? void 0 : s ? Ma(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5996
6024
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5997
- return s && e && Ea(t, i, e), e;
6025
+ return s && e && Ia(t, i, e), e;
5998
6026
  };
5999
- const Na = "sonic-queue";
6027
+ const Fa = "sonic-queue";
6000
6028
  let X = class extends Q(x) {
6001
6029
  constructor() {
6002
6030
  super(...arguments), this.templates = null, this.items = null, this.noItems = null, this.skeleton = null, this.lastRequestTime = 0, this.key = "", this.itemPropertyMap = null, this.cache = "default", this.targetRequestDuration = 500, this.limit = 5, this.lazyBoundsRatio = 1, this.offset = 0, this.resultCount = 0, this.noLazyload = !1, this.loader = "inline", this.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
@@ -6097,7 +6125,7 @@ let X = class extends Q(x) {
6097
6125
  }
6098
6126
  render() {
6099
6127
  if (this.storeScrollPosition(), !Array.isArray(this.props))
6100
- return S;
6128
+ return A;
6101
6129
  let r = !this.noLazyload;
6102
6130
  return this.props.length == 1 && (r = !1), this.style.display = "block", g`
6103
6131
  ${Yr(this.props, (t, i) => {
@@ -6187,14 +6215,14 @@ ot([
6187
6215
  a({ type: String })
6188
6216
  ], X.prototype, "idKey", 2);
6189
6217
  X = ot([
6190
- P(Na)
6218
+ P(Fa)
6191
6219
  ], X);
6192
- var Ia = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, Me = (r, t, i, s) => {
6193
- for (var e = s > 1 ? void 0 : s ? Ma(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6220
+ var ja = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, Me = (r, t, i, s) => {
6221
+ for (var e = s > 1 ? void 0 : s ? Ra(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6194
6222
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6195
- return s && e && Ia(t, i, e), e;
6223
+ return s && e && ja(t, i, e), e;
6196
6224
  };
6197
- const Fa = "sonic-submit";
6225
+ const za = "sonic-submit";
6198
6226
  let Gt = class extends Q(x) {
6199
6227
  constructor() {
6200
6228
  super(...arguments), this.submitResultKey = null, this.disabled = !1, this.endPoint = null, this.name = "", this.value = "", this.api = null, this.clickTimeStamp = 0, this.submit = async (r) => {
@@ -6239,8 +6267,8 @@ let Gt = class extends Q(x) {
6239
6267
  case "get":
6240
6268
  const b = new URLSearchParams();
6241
6269
  if (p)
6242
- for (const A in p)
6243
- b.append(A, p[A]);
6270
+ for (const S in p)
6271
+ b.append(S, p[S]);
6244
6272
  const w = "?" + b.toString();
6245
6273
  h = await this.api?.get(d + w, c);
6246
6274
  break;
@@ -6251,10 +6279,10 @@ let Gt = class extends Q(x) {
6251
6279
  tt.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = {
6252
6280
  messages: [{ content: "Network Error", status: "error" }]
6253
6281
  };
6254
- const y = this.getAncestorAttributeValue(
6282
+ const v = this.getAncestorAttributeValue(
6255
6283
  "clearedDataOnSuccess"
6256
6284
  );
6257
- y && y.split(" ").forEach(
6285
+ v && v.split(" ").forEach(
6258
6286
  (b) => D.get(b).set({})
6259
6287
  );
6260
6288
  const _ = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", k = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
@@ -6276,16 +6304,16 @@ let Gt = class extends Q(x) {
6276
6304
  composed: !0
6277
6305
  })
6278
6306
  );
6279
- }, v = (
6307
+ }, y = (
6280
6308
  // TODO Comprendre pourquoi header publisher
6281
6309
  l?.needsCaptchaValidation.get() ? l : t.needsCaptchaValidation.get() ? t : null
6282
6310
  );
6283
- if (v) {
6284
- v.captchaToken.set("request_token");
6285
- const p = (y) => {
6286
- y != "request_token" ? (m(), v.captchaToken.offAssign(p)) : (tt.hide(), this.disabled = !1);
6311
+ if (y) {
6312
+ y.captchaToken.set("request_token");
6313
+ const p = (v) => {
6314
+ v != "request_token" ? (m(), y.captchaToken.offAssign(p)) : (tt.hide(), this.disabled = !1);
6287
6315
  };
6288
- v.captchaToken.onAssign(p);
6316
+ y.captchaToken.onAssign(p);
6289
6317
  } else
6290
6318
  m();
6291
6319
  };
@@ -6347,14 +6375,14 @@ Me([
6347
6375
  a()
6348
6376
  ], Gt.prototype, "value", 2);
6349
6377
  Gt = Me([
6350
- P(Fa)
6378
+ P(za)
6351
6379
  ], Gt);
6352
- var ja = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, fs = (r, t, i, s) => {
6353
- for (var e = s > 1 ? void 0 : s ? Ra(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6380
+ var Ua = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, fs = (r, t, i, s) => {
6381
+ for (var e = s > 1 ? void 0 : s ? Va(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6354
6382
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6355
- return s && e && ja(t, i, e), e;
6383
+ return s && e && Ua(t, i, e), e;
6356
6384
  };
6357
- const za = "sonic-router";
6385
+ const Ba = "sonic-router";
6358
6386
  let De = class extends cs(x) {
6359
6387
  constructor() {
6360
6388
  super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
@@ -6481,14 +6509,14 @@ fs([
6481
6509
  a()
6482
6510
  ], De.prototype, "location", 1);
6483
6511
  De = fs([
6484
- P(za)
6512
+ P(Ba)
6485
6513
  ], De);
6486
- var Ua = Object.getOwnPropertyDescriptor, Va = (r, t, i, s) => {
6487
- for (var e = s > 1 ? void 0 : s ? Ua(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6514
+ var Ha = Object.getOwnPropertyDescriptor, qa = (r, t, i, s) => {
6515
+ for (var e = s > 1 ? void 0 : s ? Ha(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6488
6516
  (n = r[o]) && (e = n(e) || e);
6489
6517
  return e;
6490
6518
  };
6491
- const Ba = "sonic-redirect";
6519
+ const Wa = "sonic-redirect";
6492
6520
  let xr = class extends Q(x) {
6493
6521
  connectedCallback() {
6494
6522
  this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
@@ -6506,15 +6534,15 @@ let xr = class extends Q(x) {
6506
6534
  t && !(it.isObject(t) && t) && et.changeFromComponent(this);
6507
6535
  }
6508
6536
  };
6509
- xr = Va([
6510
- P(Ba)
6537
+ xr = qa([
6538
+ P(Wa)
6511
6539
  ], xr);
6512
- var Ha = Object.defineProperty, qa = Object.getOwnPropertyDescriptor, Ws = (r, t, i, s) => {
6513
- for (var e = s > 1 ? void 0 : s ? qa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6540
+ var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ws = (r, t, i, s) => {
6541
+ for (var e = s > 1 ? void 0 : s ? Ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6514
6542
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6515
- return s && e && Ha(t, i, e), e;
6543
+ return s && e && Ka(t, i, e), e;
6516
6544
  };
6517
- const Wa = "sonic-states";
6545
+ const Za = "sonic-states";
6518
6546
  let ts = class extends Q(cs(x)) {
6519
6547
  constructor() {
6520
6548
  super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
@@ -6613,14 +6641,14 @@ Ws([
6613
6641
  a({ type: Object })
6614
6642
  ], ts.prototype, "states", 2);
6615
6643
  ts = Ws([
6616
- P(Wa)
6644
+ P(Za)
6617
6645
  ], ts);
6618
- var Ka = Object.getOwnPropertyDescriptor, Ya = (r, t, i, s) => {
6619
- for (var e = s > 1 ? void 0 : s ? Ka(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6646
+ var Ga = Object.getOwnPropertyDescriptor, Xa = (r, t, i, s) => {
6647
+ for (var e = s > 1 ? void 0 : s ? Ga(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6620
6648
  (n = r[o]) && (e = n(e) || e);
6621
6649
  return e;
6622
6650
  };
6623
- const Za = "sonic-scope";
6651
+ const Qa = "sonic-scope";
6624
6652
  let Pr = class extends x {
6625
6653
  createRenderRoot() {
6626
6654
  return this;
@@ -6629,21 +6657,21 @@ let Pr = class extends x {
6629
6657
  return g`<slot></slot>`;
6630
6658
  }
6631
6659
  };
6632
- Pr = Ya([
6633
- P(Za)
6660
+ Pr = Xa([
6661
+ P(Qa)
6634
6662
  ], Pr);
6635
- function Ga(r) {
6663
+ function Ja(r) {
6636
6664
  this.__beforeConnectedCallbackCalls__ || (this.__beforeConnectedCallbackCalls__ = /* @__PURE__ */ new Set()), this.__beforeConnectedCallbackCalls__.add(r);
6637
6665
  }
6638
- function Xa(r) {
6666
+ function tl(r) {
6639
6667
  this.__connectedCallbackCalls__ || (this.__connectedCallbackCalls__ = /* @__PURE__ */ new Set()), this.__connectedCallbackCalls__.add(r);
6640
6668
  }
6641
- function Qa(r) {
6669
+ function el(r) {
6642
6670
  this.__disconnectedCallbackCalls__ || (this.__disconnectedCallbackCalls__ = /* @__PURE__ */ new Set()), this.__disconnectedCallbackCalls__.add(r);
6643
6671
  }
6644
6672
  function Fe(r) {
6645
6673
  if (r.__is__setSubscribable__) return;
6646
- r.__is__setSubscribable__ = !0, r.__onBeforeConnected__ = Ga, r.__onConnected__ = Xa, r.__onDisconnected__ = Qa;
6674
+ r.__is__setSubscribable__ = !0, r.__onBeforeConnected__ = Ja, r.__onConnected__ = tl, r.__onDisconnected__ = el;
6647
6675
  const t = r.connectedCallback;
6648
6676
  r.connectedCallback = function() {
6649
6677
  this.__beforeConnectedCallbackCalls__ && this.__beforeConnectedCallbackCalls__.forEach(
@@ -6659,7 +6687,7 @@ function Fe(r) {
6659
6687
  );
6660
6688
  };
6661
6689
  }
6662
- function Ja(r) {
6690
+ function sl(r) {
6663
6691
  return r.trim().replace(/^this\./, "");
6664
6692
  }
6665
6693
  function zi(r, t) {
@@ -6677,7 +6705,7 @@ function zi(r, t) {
6677
6705
  function de(r, t) {
6678
6706
  let i = !1;
6679
6707
  const s = (n, l) => {
6680
- const c = Ja(l), h = zi(r, c);
6708
+ const c = sl(l), h = zi(r, c);
6681
6709
  return h == null ? (i = !0, "") : `${h}`;
6682
6710
  }, e = t.replace(/\$\{([^}]+)\}/g, s).replace(/\{\$([^}]+)\}/g, s).trim();
6683
6711
  if (i || !e.length)
@@ -6703,12 +6731,12 @@ function Zr(r) {
6703
6731
  }
6704
6732
  const es = /* @__PURE__ */ new WeakMap(), ss = /* @__PURE__ */ new Set();
6705
6733
  let Se = null;
6706
- const tl = 8;
6707
- function el(r) {
6734
+ const il = 8;
6735
+ function rl(r) {
6708
6736
  let t = es.get(r);
6709
6737
  return t || (t = /* @__PURE__ */ new Map(), es.set(r, t)), t;
6710
6738
  }
6711
- function sl(r, t) {
6739
+ function ol(r, t) {
6712
6740
  const i = /* @__PURE__ */ new Set();
6713
6741
  for (const [s, e] of t) {
6714
6742
  const o = zi(r, s);
@@ -6716,15 +6744,15 @@ function sl(r, t) {
6716
6744
  }
6717
6745
  return i;
6718
6746
  }
6719
- function il() {
6747
+ function nl() {
6720
6748
  Se = null;
6721
6749
  let r = 0, t = !0;
6722
- for (; t && r < tl; ) {
6750
+ for (; t && r < il; ) {
6723
6751
  t = !1, r += 1;
6724
6752
  for (const i of ss) {
6725
6753
  const s = es.get(i);
6726
6754
  if (!s || s.size === 0) continue;
6727
- const e = sl(
6755
+ const e = ol(
6728
6756
  i,
6729
6757
  s
6730
6758
  );
@@ -6736,13 +6764,13 @@ function il() {
6736
6764
  ), ss.size > 0 && Gr();
6737
6765
  }
6738
6766
  function Gr() {
6739
- Se === null && (Se = requestAnimationFrame(il));
6767
+ Se === null && (Se = requestAnimationFrame(nl));
6740
6768
  }
6741
- function rl() {
6769
+ function al() {
6742
6770
  ss.size === 0 && Se !== null && (cancelAnimationFrame(Se), Se = null);
6743
6771
  }
6744
6772
  function Oe(r, t, i, s, e) {
6745
- const o = String(s), n = el(i);
6773
+ const o = String(s), n = rl(i);
6746
6774
  let l = n.get(o);
6747
6775
  return l || (l = {
6748
6776
  lastValue: zi(i, o),
@@ -6751,7 +6779,7 @@ function Oe(r, t, i, s, e) {
6751
6779
  const c = es.get(i);
6752
6780
  if (!c) return;
6753
6781
  const h = c.get(o);
6754
- h && (h.onChangeHandlers.delete(e), h.onChangeHandlers.size === 0 && c.delete(o), c.size === 0 && (es.delete(i), ss.delete(i), rl()));
6782
+ h && (h.onChangeHandlers.delete(e), h.onChangeHandlers.size === 0 && c.delete(o), c.size === 0 && (es.delete(i), ss.delete(i), al()));
6755
6783
  };
6756
6784
  }
6757
6785
  const Es = {
@@ -6775,7 +6803,7 @@ function is(r) {
6775
6803
  let s = D.get(i);
6776
6804
  return s ? (s = hs.traverse(s, t), s) : null;
6777
6805
  }
6778
- function ol(r, t) {
6806
+ function ll(r, t) {
6779
6807
  const i = t?.reflect ?? !1, s = be(r), e = s.length > 0;
6780
6808
  return function(o, n) {
6781
6809
  if (!o) return;
@@ -6785,10 +6813,10 @@ function ol(r, t) {
6785
6813
  const u = Object.getOwnPropertyDescriptor(
6786
6814
  o,
6787
6815
  n
6788
- ), d = `__bind_${n}_value__`, m = `__bind_${n}_updating_from_publisher__`, v = u && !u.get && !u.set ? u.value : void 0;
6816
+ ), d = `__bind_${n}_value__`, m = `__bind_${n}_updating_from_publisher__`, y = u && !u.get && !u.set ? u.value : void 0;
6789
6817
  Object.defineProperty(o, n, {
6790
6818
  get() {
6791
- return u?.get ? u.get.call(this) : (!Object.prototype.hasOwnProperty.call(this, d) && v !== void 0 && (this[d] = v), this[d]);
6819
+ return u?.get ? u.get.call(this) : (!Object.prototype.hasOwnProperty.call(this, d) && y !== void 0 && (this[d] = y), this[d]);
6792
6820
  },
6793
6821
  set(p) {
6794
6822
  u?.set ? u.set.call(this, p) : this[d] = p, !this[m] && this[c] && this[c].set(p);
@@ -6812,18 +6840,18 @@ function ol(r, t) {
6812
6840
  if (p === d.currentPath)
6813
6841
  return;
6814
6842
  d.unsubscribePublisher && (d.unsubscribePublisher(), d.unsubscribePublisher = null);
6815
- const y = is(p);
6816
- if (!y) {
6843
+ const v = is(p);
6844
+ if (!v) {
6817
6845
  d.currentPath = null, u[c] = null;
6818
6846
  return;
6819
6847
  }
6820
6848
  const _ = (k) => {
6821
6849
  i && h && (u[h] = !0), u[n] = k, i && h && (u[h] = !1);
6822
6850
  };
6823
- y.onAssign(_), d.unsubscribePublisher = () => {
6824
- y.offAssign(_), u[c] === y && (u[c] = null);
6825
- }, d.currentPath = p, u[c] = y;
6826
- }, v = () => {
6851
+ v.onAssign(_), d.unsubscribePublisher = () => {
6852
+ v.offAssign(_), u[c] === v && (u[c] = null);
6853
+ }, d.currentPath = p, u[c] = v;
6854
+ }, y = () => {
6827
6855
  if (e) {
6828
6856
  const p = de(u, r);
6829
6857
  if (!p.ready) {
@@ -6837,16 +6865,16 @@ function ol(r, t) {
6837
6865
  };
6838
6866
  if (e)
6839
6867
  for (const p of s) {
6840
- const y = Oe(
6868
+ const v = Oe(
6841
6869
  Es.watcherStore,
6842
6870
  Es.hooked,
6843
6871
  u,
6844
6872
  p,
6845
- () => v()
6873
+ () => y()
6846
6874
  );
6847
- d.cleanupWatchers.push(y);
6875
+ d.cleanupWatchers.push(v);
6848
6876
  }
6849
- v();
6877
+ y();
6850
6878
  }), o.__onDisconnected__((u) => {
6851
6879
  const d = u[l];
6852
6880
  d && (d.unsubscribePublisher && (d.unsubscribePublisher(), d.unsubscribePublisher = null), d.cleanupWatchers.forEach((m) => m()), d.cleanupWatchers = [], d.currentPath = null, u[c] = null);
@@ -6855,7 +6883,7 @@ function ol(r, t) {
6855
6883
  }
6856
6884
  function Xr(r, t) {
6857
6885
  const i = Zr(r) ? r.path : r;
6858
- return ol(i, t);
6886
+ return ll(i, t);
6859
6887
  }
6860
6888
  function Qr(r) {
6861
6889
  const t = r.path, i = be(t);
@@ -6879,17 +6907,17 @@ function Qr(r) {
6879
6907
  }), s.__onConnected__((h) => {
6880
6908
  const u = h, d = `__publish_state_${e}`, m = u[d] || (u[d] = {
6881
6909
  cleanupWatchers: []
6882
- }), v = () => {
6910
+ }), y = () => {
6883
6911
  let p;
6884
6912
  if (i.length) {
6885
6913
  const _ = de(h, t);
6886
6914
  p = _.ready ? _.path : null;
6887
6915
  } else
6888
6916
  p = t;
6889
- const y = p ? is(p) : void 0;
6890
- if (u[o] = y ?? null, y && e in h) {
6917
+ const v = p ? is(p) : void 0;
6918
+ if (u[o] = v ?? null, v && e in h) {
6891
6919
  const _ = u[e];
6892
- _ !== void 0 && y.set(_);
6920
+ _ !== void 0 && v.set(_);
6893
6921
  }
6894
6922
  };
6895
6923
  if (m.cleanupWatchers.forEach((p) => p()), m.cleanupWatchers = [], i.length)
@@ -6900,38 +6928,38 @@ function Qr(r) {
6900
6928
  Cr.hooked,
6901
6929
  u,
6902
6930
  p,
6903
- v
6931
+ y
6904
6932
  )
6905
6933
  );
6906
- v();
6934
+ y();
6907
6935
  }), s.__onDisconnected__((h) => {
6908
6936
  const u = h, d = `__publish_state_${e}`, m = u[d];
6909
- m?.cleanupWatchers && m.cleanupWatchers.forEach((v) => v()), u[o] = void 0;
6937
+ m?.cleanupWatchers && m.cleanupWatchers.forEach((y) => y()), u[o] = void 0;
6910
6938
  });
6911
6939
  };
6912
6940
  }
6913
6941
  function Jr(r) {
6914
6942
  return Xr(r);
6915
6943
  }
6916
- const nl = {
6944
+ const cl = {
6917
6945
  nullish: (r) => r == null,
6918
6946
  emptyString: (r) => r === "",
6919
6947
  emptyObject: (r) => typeof r == "object" && r !== null && !Array.isArray(r) && Object.keys(r).length === 0,
6920
6948
  emptyArray: (r) => Array.isArray(r) && r.length === 0
6921
6949
  };
6922
- function al(r, t) {
6923
- return t.some((i) => nl[i](r));
6950
+ function hl(r, t) {
6951
+ return t.some((i) => cl[i](r));
6924
6952
  }
6925
- function ll(r, t, i) {
6953
+ function dl(r, t, i) {
6926
6954
  if (!i.dispatchWhenUndefined && r.slice(0, t).filter((e) => e != null).length !== t)
6927
6955
  return !1;
6928
6956
  if (i.skip && i.skip.length > 0) {
6929
6957
  for (let s = 0; s < t; s++)
6930
- if (al(r[s], i.skip)) return !1;
6958
+ if (hl(r[s], i.skip)) return !1;
6931
6959
  }
6932
6960
  return !0;
6933
6961
  }
6934
- function cl(...r) {
6962
+ function ul(...r) {
6935
6963
  return to({}, r);
6936
6964
  }
6937
6965
  function to(r, t) {
@@ -6957,56 +6985,56 @@ function to(r, t) {
6957
6985
  }), h.configurations = [];
6958
6986
  const u = [], d = [];
6959
6987
  for (let p = 0; p < t.length; p++) {
6960
- const y = i[p], _ = /* @__PURE__ */ new Set(), k = (f) => {
6961
- u[p] = f, ll(u, t.length, r) && _.forEach((b) => b(...u));
6988
+ const v = i[p], _ = /* @__PURE__ */ new Set(), k = (f) => {
6989
+ u[p] = f, dl(u, t.length, r) && _.forEach((b) => b(...u));
6962
6990
  };
6963
6991
  d.push({
6964
6992
  publisher: null,
6965
6993
  onAssign: k,
6966
6994
  callbacks: _,
6967
6995
  unsubscribePublisher: null,
6968
- pathConfig: y,
6996
+ pathConfig: v,
6969
6997
  index: p
6970
6998
  });
6971
6999
  }
6972
- const m = (p, y) => {
6973
- if (p.unsubscribePublisher && (p.unsubscribePublisher(), p.unsubscribePublisher = null), u[p.index] = null, p.publisher = null, !y)
7000
+ const m = (p, v) => {
7001
+ if (p.unsubscribePublisher && (p.unsubscribePublisher(), p.unsubscribePublisher = null), u[p.index] = null, p.publisher = null, !v)
6974
7002
  return;
6975
- const _ = is(y);
7003
+ const _ = is(v);
6976
7004
  _ && (_.onAssign(p.onAssign), p.unsubscribePublisher = () => {
6977
7005
  _.offAssign(p.onAssign), p.publisher === _ && (p.publisher = null);
6978
7006
  }, p.publisher = _);
6979
- }, v = () => {
7007
+ }, y = () => {
6980
7008
  for (const p of d)
6981
7009
  if (p.pathConfig.isDynamic) {
6982
- const y = de(
7010
+ const v = de(
6983
7011
  c,
6984
7012
  p.pathConfig.originalPath
6985
7013
  );
6986
- if (!y.ready) {
7014
+ if (!v.ready) {
6987
7015
  m(p, null);
6988
7016
  continue;
6989
7017
  }
6990
- m(p, y.path);
7018
+ m(p, v.path);
6991
7019
  } else
6992
7020
  m(p, p.pathConfig.originalPath);
6993
7021
  };
6994
7022
  for (const p of d)
6995
7023
  if (p.pathConfig.isDynamic)
6996
- for (const y of p.pathConfig.dynamicDependencies) {
7024
+ for (const v of p.pathConfig.dynamicDependencies) {
6997
7025
  const _ = Oe(
6998
7026
  $r.watcherStore,
6999
7027
  $r.hooked,
7000
7028
  c,
7001
- y,
7002
- () => v()
7029
+ v,
7030
+ () => y()
7003
7031
  );
7004
7032
  h.cleanupWatchers.push(_);
7005
7033
  }
7006
7034
  l = o.value.bind(c);
7007
7035
  for (const p of d)
7008
7036
  p.callbacks.add(l);
7009
- v(), h.configurations = d;
7037
+ y(), h.configurations = d;
7010
7038
  }), s.__onDisconnected__((c) => {
7011
7039
  const h = c[n];
7012
7040
  h && (h.cleanupWatchers.forEach((u) => u()), h.cleanupWatchers = [], h.configurations.forEach((u) => {
@@ -7015,11 +7043,11 @@ function to(r, t) {
7015
7043
  });
7016
7044
  };
7017
7045
  }
7018
- function hl(r) {
7046
+ function pl(r) {
7019
7047
  return Object.prototype.toString.call(r) === "[object DataProviderKey]";
7020
7048
  }
7021
- function dl(...r) {
7022
- const t = r[r.length - 1], i = t !== void 0 && !hl(t), s = i ? t : {}, o = (i ? r.slice(0, -1) : r).map((n) => n.path);
7049
+ function fl(...r) {
7050
+ const t = r[r.length - 1], i = t !== void 0 && !pl(t), s = i ? t : {}, o = (i ? r.slice(0, -1) : r).map((n) => n.path);
7023
7051
  return to(
7024
7052
  {
7025
7053
  dispatchWhenUndefined: !s.waitForAllDefined,
@@ -7028,7 +7056,7 @@ function dl(...r) {
7028
7056
  o
7029
7057
  );
7030
7058
  }
7031
- function ul() {
7059
+ function bl() {
7032
7060
  return function(r, t, i) {
7033
7061
  let s = 0;
7034
7062
  const e = i.value, o = r.constructor.prototype.disconnectedCallback;
@@ -7061,7 +7089,7 @@ function ul() {
7061
7089
  };
7062
7090
  };
7063
7091
  }
7064
- function pl(r) {
7092
+ function ml(r) {
7065
7093
  return function(t) {
7066
7094
  Fe(t);
7067
7095
  for (const i of r) {
@@ -7077,7 +7105,7 @@ function pl(r) {
7077
7105
  }
7078
7106
  };
7079
7107
  }
7080
- function fl(r) {
7108
+ function gl(r) {
7081
7109
  return function(t, i) {
7082
7110
  t && (Fe(t), t.__onBeforeConnected__((s) => {
7083
7111
  const e = G.getAncestorAttributeValue(
@@ -7088,22 +7116,76 @@ function fl(r) {
7088
7116
  }));
7089
7117
  };
7090
7118
  }
7091
- function bl(r) {
7119
+ function eo(r) {
7092
7120
  return r instanceof HTMLElement || r instanceof ShadowRoot ? r : null;
7093
7121
  }
7094
- function ml(r) {
7122
+ function vl(r) {
7095
7123
  if (!r || typeof r.get != "function") return null;
7096
7124
  const t = r.get();
7097
7125
  return !t || typeof t != "object" || !("serviceURL" in t) ? null : t;
7098
7126
  }
7099
- function gl(r) {
7100
- const t = bl(r);
7127
+ function so(r) {
7128
+ const t = eo(r);
7101
7129
  return t ? G.getApiConfiguration(t) : null;
7102
7130
  }
7131
+ function io(r) {
7132
+ return typeof r?.serviceURL == "string" && r.serviceURL.length > 0;
7133
+ }
7134
+ const yl = [
7135
+ "serviceURL",
7136
+ "serviceurl",
7137
+ "token",
7138
+ "credentials",
7139
+ "tokenProvider",
7140
+ "tokenprovider",
7141
+ "userName",
7142
+ "username",
7143
+ "password",
7144
+ "eventsApiToken",
7145
+ "eventsapitoken"
7146
+ ];
7147
+ function _l(r) {
7148
+ return r instanceof HTMLElement && typeof r.updateComplete < "u";
7149
+ }
7150
+ function wl(r, t) {
7151
+ if (_l(r)) {
7152
+ let i = !1;
7153
+ return r.updateComplete.then(() => {
7154
+ i || t();
7155
+ }), () => {
7156
+ i = !0;
7157
+ };
7158
+ }
7159
+ return t(), () => {
7160
+ };
7161
+ }
7162
+ function xl(r, t) {
7163
+ const i = eo(r);
7164
+ if (!i) return () => {
7165
+ };
7166
+ let s = !1;
7167
+ const e = () => {
7168
+ s || io(so(r)) && (s = !0, t());
7169
+ };
7170
+ if (e(), s) return () => {
7171
+ };
7172
+ const o = [], n = requestAnimationFrame(() => e());
7173
+ o.push(() => cancelAnimationFrame(n)), queueMicrotask(() => e());
7174
+ const l = new MutationObserver(() => e());
7175
+ let c = i;
7176
+ for (; c; )
7177
+ c instanceof Element && l.observe(c, {
7178
+ attributes: !0,
7179
+ attributeFilter: [...yl]
7180
+ }), c = c.parentNode || c.host;
7181
+ return o.push(() => l.disconnect()), () => {
7182
+ s = !0, o.forEach((h) => h());
7183
+ };
7184
+ }
7103
7185
  function Sr(r) {
7104
7186
  r.configPublisher && r.configMutationHandler && r.configPublisher.offInternalMutation(r.configMutationHandler), r.configPublisher = null, r.configMutationHandler = null;
7105
7187
  }
7106
- function eo(r, t) {
7188
+ function ro(r, t) {
7107
7189
  const i = r.path, s = t?.path, e = be(i), o = s ? be(s) : [], n = [
7108
7190
  .../* @__PURE__ */ new Set([
7109
7191
  ...e,
@@ -7115,54 +7197,60 @@ function eo(r, t) {
7115
7197
  Fe(h);
7116
7198
  const d = `__get_state_${u}`;
7117
7199
  h.__onConnected__((m) => {
7118
- const v = m;
7119
- let p = v[d];
7200
+ const y = m;
7201
+ let p = y[d];
7120
7202
  p || (p = {
7121
7203
  cleanupWatchers: [],
7122
7204
  requestGeneration: 0,
7123
7205
  configPublisher: null,
7124
- configMutationHandler: null
7125
- }, v[d] = p), p.cleanupWatchers.forEach((k) => k()), p.cleanupWatchers = [], p.requestGeneration++;
7126
- const y = () => {
7206
+ configMutationHandler: null,
7207
+ scopeWatchCleanup: null
7208
+ }, y[d] = p), p.cleanupWatchers.forEach((k) => k()), p.cleanupWatchers = [], p.requestGeneration++;
7209
+ const v = () => {
7127
7210
  const k = l ? de(m, i) : { ready: !0, path: i };
7128
7211
  if (!k.ready || !k.path) {
7129
- v[u] = void 0;
7212
+ y[u] = void 0;
7130
7213
  return;
7131
7214
  }
7132
7215
  let f = null;
7133
7216
  if (c && s) {
7134
- const A = de(m, s);
7135
- if (!A.ready || !A.path) {
7136
- v[u] = void 0;
7217
+ const S = de(m, s);
7218
+ if (!S.ready || !S.path) {
7219
+ y[u] = void 0;
7137
7220
  return;
7138
7221
  }
7139
- const O = is(A.path);
7140
- f = ml(O);
7222
+ const O = is(S.path);
7223
+ f = vl(O);
7141
7224
  } else
7142
- f = gl(m);
7143
- if (!f) {
7144
- v[u] = void 0;
7225
+ f = so(m);
7226
+ if (!io(f)) {
7227
+ if (!c && !p.scopeWatchCleanup) {
7228
+ const S = xl(m, v);
7229
+ p.scopeWatchCleanup = S, p.cleanupWatchers.push(() => {
7230
+ S(), p.scopeWatchCleanup = null;
7231
+ });
7232
+ }
7145
7233
  return;
7146
7234
  }
7147
7235
  const b = ++p.requestGeneration;
7148
- new pe(f).getDetailed(k.path).then((A) => {
7149
- b === p.requestGeneration && (v[u] = A);
7236
+ new pe(f).getDetailed(k.path).then((S) => {
7237
+ b === p.requestGeneration && (y[u] = S);
7150
7238
  });
7151
7239
  }, _ = () => {
7152
7240
  if (!c || !s) return;
7153
7241
  Sr(p);
7154
7242
  const k = de(m, s);
7155
7243
  if (!k.ready || !k.path) {
7156
- v[u] = void 0;
7244
+ y[u] = void 0;
7157
7245
  return;
7158
7246
  }
7159
7247
  const f = is(k.path);
7160
7248
  if (!f) {
7161
- v[u] = void 0;
7249
+ y[u] = void 0;
7162
7250
  return;
7163
7251
  }
7164
7252
  const b = () => {
7165
- y();
7253
+ v();
7166
7254
  };
7167
7255
  f.onInternalMutation(b), p.configPublisher = f, p.configMutationHandler = b;
7168
7256
  };
@@ -7179,46 +7267,51 @@ function eo(r, t) {
7179
7267
  }
7180
7268
  _();
7181
7269
  } else {
7182
- if (l)
7183
- for (const k of e) {
7184
- const f = Oe(
7185
- Ps.watcherStore,
7186
- Ps.hooked,
7187
- m,
7188
- k,
7189
- () => y()
7190
- );
7191
- p.cleanupWatchers.push(f);
7192
- }
7193
- y();
7270
+ const k = () => {
7271
+ if (l)
7272
+ for (const f of e) {
7273
+ const b = Oe(
7274
+ Ps.watcherStore,
7275
+ Ps.hooked,
7276
+ m,
7277
+ f,
7278
+ () => v()
7279
+ );
7280
+ p.cleanupWatchers.push(b);
7281
+ }
7282
+ v();
7283
+ };
7284
+ p.cleanupWatchers.push(
7285
+ wl(m, k)
7286
+ );
7194
7287
  }
7195
7288
  }), h.__onDisconnected__((m) => {
7196
- const v = m, p = v[d];
7197
- p && (Sr(p), p.cleanupWatchers.forEach((y) => y()), p.cleanupWatchers = [], p.requestGeneration++, v[u] = void 0);
7289
+ const y = m, p = y[d];
7290
+ p && (Sr(p), p.cleanupWatchers.forEach((v) => v()), p.cleanupWatchers = [], p.requestGeneration++, y[u] = void 0);
7198
7291
  });
7199
7292
  };
7200
7293
  }
7201
- const vl = Qr, yl = Jr, _l = eo;
7294
+ const Pl = Qr, Cl = Jr, $l = ro;
7202
7295
  window["concorde-decorator-subscriber"] = window["concorde-decorator-subscriber"] || {};
7203
7296
  window["concorde-decorator-subscriber"] = {
7204
7297
  bind: Xr,
7205
7298
  publish: Qr,
7206
7299
  subscribe: Jr,
7207
- onAssing: cl,
7208
- handle: dl,
7209
- ancestorAttribute: fl,
7210
- autoSubscribe: ul,
7211
- autoFill: pl,
7212
- get: eo
7213
- };
7214
- var wl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, Ks = (r, t, i, s) => {
7215
- for (var e = s > 1 ? void 0 : s ? xl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7300
+ onAssing: ul,
7301
+ handle: fl,
7302
+ ancestorAttribute: gl,
7303
+ autoSubscribe: bl,
7304
+ autoFill: ml,
7305
+ get: ro
7306
+ };
7307
+ var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Ks = (r, t, i, s) => {
7308
+ for (var e = s > 1 ? void 0 : s ? Al(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7216
7309
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7217
- return s && e && wl(t, i, e), e;
7310
+ return s && e && Sl(t, i, e), e;
7218
7311
  };
7219
- const so = new Bs(
7312
+ const oo = new Bs(
7220
7313
  "communes?limit=$limit&fields=nom,code"
7221
- ), io = new Ge(so.path), Pl = "sonic-example";
7314
+ ), no = new Ge(oo.path), kl = "sonic-example";
7222
7315
  let rs = class extends x {
7223
7316
  constructor() {
7224
7317
  super(...arguments), this.limit = 5;
@@ -7235,39 +7328,39 @@ Ks([
7235
7328
  a({ type: Number })
7236
7329
  ], rs.prototype, "limit", 2);
7237
7330
  Ks([
7238
- _l(so),
7239
- vl(io)
7331
+ $l(oo),
7332
+ Pl(no)
7240
7333
  ], rs.prototype, "geoCommunesPayload", 2);
7241
7334
  Ks([
7242
7335
  E(),
7243
- yl(io.result)
7336
+ Cl(no.result)
7244
7337
  ], rs.prototype, "geoCommunesResult", 2);
7245
7338
  rs = Ks([
7246
- P(Pl)
7339
+ P(kl)
7247
7340
  ], rs);
7248
- const Cl = { tagName: "sonic-checkbox" }, $l = { tagName: "sonic-input", attributes: { type: "date" } }, Sl = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, Al = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, kl = { tagName: "sonic-input", attributes: { type: "password" } }, Dl = { tagName: "sonic-radio" }, Ol = { tagName: "sonic-select" }, Ll = { tagName: "sonic-textarea" }, El = { tagName: "sonic-input", attributes: { type: "text" } }, Tl = { tagName: "sonic-input", attributes: { type: "hidden" } }, Nl = { tagName: "sonic-button" }, Il = { tagName: "sonic-submit", attributes: { onEnterKey: !0 } }, Ml = { tagName: "sonic-submit", attributes: { onClick: !0 }, contentElementSelector: "sonic-button", nodes: [{ libraryKey: "button", attributes: { type: "success" }, nodes: [{ tagName: "sonic-icon", attributes: { name: "check", slot: "prefix" } }] }] }, Fl = { tagName: "sonic-input", attributes: { type: "email" } }, jl = { tagName: "div", attributes: { class: "form-item-container" } }, Rl = { tagName: "sonic-form-layout" }, zl = { tagName: "sonic-form-actions" }, Ul = { tagName: "sonic-password-helper" }, Vl = { tagName: "sonic-same-value-helper" }, Bl = { tagName: "sonic-divider" }, Hl = {
7249
- checkbox: Cl,
7250
- date: $l,
7251
- fieldset: Sl,
7252
- managed_file: Al,
7253
- password: kl,
7254
- radio: Dl,
7255
- select: Ol,
7256
- textarea: Ll,
7257
- textfield: El,
7258
- hidden: Tl,
7259
- button: Nl,
7260
- form: Il,
7261
- submit: Ml,
7262
- email: Fl,
7263
- formItemContainer: jl,
7264
- formLayout: Rl,
7265
- formActions: zl,
7266
- passwordHelper: Ul,
7267
- sameValueHelper: Vl,
7268
- divider: Bl
7269
- };
7270
- class ql {
7341
+ const Dl = { tagName: "sonic-checkbox" }, Ol = { tagName: "sonic-input", attributes: { type: "date" } }, Ll = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, El = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, Tl = { tagName: "sonic-input", attributes: { type: "password" } }, Nl = { tagName: "sonic-radio" }, Il = { tagName: "sonic-select" }, Ml = { tagName: "sonic-textarea" }, Fl = { tagName: "sonic-input", attributes: { type: "text" } }, jl = { tagName: "sonic-input", attributes: { type: "hidden" } }, Rl = { tagName: "sonic-button" }, zl = { tagName: "sonic-submit", attributes: { onEnterKey: !0 } }, Ul = { tagName: "sonic-submit", attributes: { onClick: !0 }, contentElementSelector: "sonic-button", nodes: [{ libraryKey: "button", attributes: { type: "success" }, nodes: [{ tagName: "sonic-icon", attributes: { name: "check", slot: "prefix" } }] }] }, Vl = { tagName: "sonic-input", attributes: { type: "email" } }, Bl = { tagName: "div", attributes: { class: "form-item-container" } }, Hl = { tagName: "sonic-form-layout" }, ql = { tagName: "sonic-form-actions" }, Wl = { tagName: "sonic-password-helper" }, Kl = { tagName: "sonic-same-value-helper" }, Yl = { tagName: "sonic-divider" }, Zl = {
7342
+ checkbox: Dl,
7343
+ date: Ol,
7344
+ fieldset: Ll,
7345
+ managed_file: El,
7346
+ password: Tl,
7347
+ radio: Nl,
7348
+ select: Il,
7349
+ textarea: Ml,
7350
+ textfield: Fl,
7351
+ hidden: jl,
7352
+ button: Rl,
7353
+ form: zl,
7354
+ submit: Ul,
7355
+ email: Vl,
7356
+ formItemContainer: Bl,
7357
+ formLayout: Hl,
7358
+ formActions: ql,
7359
+ passwordHelper: Wl,
7360
+ sameValueHelper: Kl,
7361
+ divider: Yl
7362
+ };
7363
+ class Gl {
7271
7364
  /**
7272
7365
  * Tranform un SDUIDescriptor via une SDUITransformDescription
7273
7366
  * Attention fonction non pure : la sduiDescriptor est modifiée en place.
@@ -7412,12 +7505,12 @@ class ql {
7412
7505
  }));
7413
7506
  }
7414
7507
  }
7415
- var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, Ui = (r, t, i, s) => {
7416
- for (var e = s > 1 ? void 0 : s ? Kl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7508
+ var Xl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, Ui = (r, t, i, s) => {
7509
+ for (var e = s > 1 ? void 0 : s ? Ql(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7417
7510
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7418
- return s && e && Wl(t, i, e), e;
7511
+ return s && e && Xl(t, i, e), e;
7419
7512
  };
7420
- const Yl = "sonic-sdui";
7513
+ const Jl = "sonic-sdui";
7421
7514
  let Ts = class extends Br(ie(x)) {
7422
7515
  constructor() {
7423
7516
  super(...arguments), this.sduiDescriptor = {};
@@ -7444,7 +7537,7 @@ let Ts = class extends Br(ie(x)) {
7444
7537
  async updateContents() {
7445
7538
  if (!this.sduiDescriptor) return;
7446
7539
  const r = {};
7447
- Object.assign(r, Hl, this.sduiDescriptor.library), this.sduiDescriptor.library = r, this.loadAssets(), await this.loadLibrary(), await this.transformSDUIDescriptor(), this.parseRootNodes();
7540
+ Object.assign(r, Zl, this.sduiDescriptor.library), this.sduiDescriptor.library = r, this.loadAssets(), await this.loadLibrary(), await this.transformSDUIDescriptor(), this.parseRootNodes();
7448
7541
  }
7449
7542
  /**
7450
7543
  * Suppressiond du contenu du composant avant le génération de la nouvelle ui
@@ -7470,7 +7563,7 @@ let Ts = class extends Br(ie(x)) {
7470
7563
  async transformSDUIDescriptor() {
7471
7564
  if (!this.hasAttribute("transformation")) return;
7472
7565
  const t = await (await fetch(this.getAttribute("transformation"))).json();
7473
- await new ql().transform(this.sduiDescriptor, t);
7566
+ await new Gl().transform(this.sduiDescriptor, t);
7474
7567
  }
7475
7568
  /**
7476
7569
  * Charge la library à utiliser
@@ -7577,12 +7670,12 @@ Ui([
7577
7670
  a()
7578
7671
  ], Ts.prototype, "messagesKey", 2);
7579
7672
  Ts = Ui([
7580
- P(Yl)
7673
+ P(Jl)
7581
7674
  ], Ts);
7582
- var Zl = Object.defineProperty, Gl = Object.getOwnPropertyDescriptor, ro = (r, t, i, s) => {
7583
- for (var e = s > 1 ? void 0 : s ? Gl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7675
+ var tc = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, ao = (r, t, i, s) => {
7676
+ for (var e = s > 1 ? void 0 : s ? ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7584
7677
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7585
- return s && e && Zl(t, i, e), e;
7678
+ return s && e && tc(t, i, e), e;
7586
7679
  };
7587
7680
  let Ns = class extends ie(x) {
7588
7681
  constructor() {
@@ -7650,18 +7743,18 @@ Ns.styles = [
7650
7743
  }
7651
7744
  `
7652
7745
  ];
7653
- ro([
7746
+ ao([
7654
7747
  a({ type: Object })
7655
7748
  ], Ns.prototype, "composition", 1);
7656
- Ns = ro([
7749
+ Ns = ao([
7657
7750
  P("sonic-mix")
7658
7751
  ], Ns);
7659
- var Xl = Object.getOwnPropertyDescriptor, Ql = (r, t, i, s) => {
7660
- for (var e = s > 1 ? void 0 : s ? Xl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7752
+ var sc = Object.getOwnPropertyDescriptor, ic = (r, t, i, s) => {
7753
+ for (var e = s > 1 ? void 0 : s ? sc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7661
7754
  (n = r[o]) && (e = n(e) || e);
7662
7755
  return e;
7663
7756
  };
7664
- const Jl = "sonic-value";
7757
+ const rc = "sonic-value";
7665
7758
  let Ar = class extends ie(x) {
7666
7759
  connectedCallback() {
7667
7760
  this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
@@ -7671,18 +7764,18 @@ let Ar = class extends ie(x) {
7671
7764
  ><slot name="suffix"></slot>`;
7672
7765
  }
7673
7766
  };
7674
- Ar = Ql([
7675
- P(Jl)
7767
+ Ar = ic([
7768
+ P(rc)
7676
7769
  ], Ar);
7677
- var tc = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, Vi = (r, t, i, s) => {
7678
- for (var e = s > 1 ? void 0 : s ? ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7770
+ var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Vi = (r, t, i, s) => {
7771
+ for (var e = s > 1 ? void 0 : s ? nc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7679
7772
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7680
- return s && e && tc(t, i, e), e;
7773
+ return s && e && oc(t, i, e), e;
7681
7774
  };
7682
- const sc = "sonic-t";
7775
+ const ac = "sonic-t";
7683
7776
  let Is = class extends x {
7684
7777
  render() {
7685
- return this.key ? g`${an(this.key, this.unsafeHTML)}` : S;
7778
+ return this.key ? g`${hn(this.key, this.unsafeHTML)}` : A;
7686
7779
  }
7687
7780
  };
7688
7781
  Vi([
@@ -7692,14 +7785,14 @@ Vi([
7692
7785
  a({ type: Boolean })
7693
7786
  ], Is.prototype, "unsafeHTML", 2);
7694
7787
  Is = Vi([
7695
- P(sc)
7788
+ P(ac)
7696
7789
  ], Is);
7697
- var ic = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, bs = (r, t, i, s) => {
7698
- for (var e = s > 1 ? void 0 : s ? rc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7790
+ var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, bs = (r, t, i, s) => {
7791
+ for (var e = s > 1 ? void 0 : s ? cc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7699
7792
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7700
- return s && e && ic(t, i, e), e;
7793
+ return s && e && lc(t, i, e), e;
7701
7794
  };
7702
- const oc = "sonic-badge";
7795
+ const hc = "sonic-badge";
7703
7796
  let me = class extends x {
7704
7797
  constructor() {
7705
7798
  super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
@@ -7869,9 +7962,9 @@ bs([
7869
7962
  a({ type: Boolean, reflect: !0 })
7870
7963
  ], me.prototype, "ellipsis", 2);
7871
7964
  me = bs([
7872
- P(oc)
7965
+ P(hc)
7873
7966
  ], me);
7874
- class nc {
7967
+ class dc {
7875
7968
  static fixBlankLink(t) {
7876
7969
  const s = typeof require > "u" || typeof process != "object" ? null : require("electron");
7877
7970
  t.target == "_blank" && t.addEventListener("click", () => {
@@ -7879,12 +7972,12 @@ class nc {
7879
7972
  });
7880
7973
  }
7881
7974
  }
7882
- var ac = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, je = (r, t, i, s) => {
7883
- for (var e = s > 1 ? void 0 : s ? lc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7975
+ var uc = Object.defineProperty, pc = Object.getOwnPropertyDescriptor, je = (r, t, i, s) => {
7976
+ for (var e = s > 1 ? void 0 : s ? pc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7884
7977
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7885
- return s && e && ac(t, i, e), e;
7978
+ return s && e && uc(t, i, e), e;
7886
7979
  };
7887
- const cc = "sonic-link";
7980
+ const fc = "sonic-link";
7888
7981
  let Xt = class extends x {
7889
7982
  constructor() {
7890
7983
  super(...arguments), this.href = "", this._location = "", this.ariaLabel = null, this.autoActive = "partial", this._target = null, this.pushState = null;
@@ -7907,7 +8000,7 @@ let Xt = class extends x {
7907
8000
  et.offChange(this), super.disconnectedCallback();
7908
8001
  }
7909
8002
  set target(r) {
7910
- this._target = r, nc.fixBlankLink(this), this.requestUpdate();
8003
+ this._target = r, dc.fixBlankLink(this), this.requestUpdate();
7911
8004
  }
7912
8005
  get target() {
7913
8006
  return this._target;
@@ -7922,7 +8015,7 @@ let Xt = class extends x {
7922
8015
  return this.href ? g`
7923
8016
  <a
7924
8017
  href="${this.href}"
7925
- aria-label=${this.ariaLabel || S}
8018
+ aria-label=${this.ariaLabel || A}
7926
8019
  target=${$(this.target)}
7927
8020
  @click=${this.pushState ? this.handlePushState : null}
7928
8021
  >
@@ -7956,14 +8049,14 @@ je([
7956
8049
  a({ type: Boolean })
7957
8050
  ], Xt.prototype, "pushState", 2);
7958
8051
  Xt = je([
7959
- P(cc)
8052
+ P(fc)
7960
8053
  ], Xt);
7961
- var hc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, Re = (r, t, i, s) => {
7962
- for (var e = s > 1 ? void 0 : s ? dc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8054
+ var bc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, Re = (r, t, i, s) => {
8055
+ for (var e = s > 1 ? void 0 : s ? mc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
7963
8056
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
7964
- return s && e && hc(t, i, e), e;
8057
+ return s && e && bc(t, i, e), e;
7965
8058
  };
7966
- const uc = "sonic-progress";
8059
+ const gc = "sonic-progress";
7967
8060
  let Qt = class extends x {
7968
8061
  constructor() {
7969
8062
  super(...arguments), this.max = 100, this.invert = !1, this.type = "default";
@@ -8110,9 +8203,9 @@ Re([
8110
8203
  a({ type: String, reflect: !0 })
8111
8204
  ], Qt.prototype, "size", 2);
8112
8205
  Qt = Re([
8113
- P(uc)
8206
+ P(gc)
8114
8207
  ], Qt);
8115
- const pc = C`
8208
+ const vc = C`
8116
8209
  .password-toggle {
8117
8210
  color: var(--sc-input-c);
8118
8211
  font-size: var(--sc-input-fs);
@@ -8527,12 +8620,12 @@ const Hi = se(class extends Ne {
8527
8620
  return yt;
8528
8621
  }
8529
8622
  });
8530
- var fc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, U = (r, t, i, s) => {
8531
- for (var e = s > 1 ? void 0 : s ? bc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8623
+ var yc = Object.defineProperty, _c = Object.getOwnPropertyDescriptor, U = (r, t, i, s) => {
8624
+ for (var e = s > 1 ? void 0 : s ? _c(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8532
8625
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
8533
- return s && e && fc(t, i, e), e;
8626
+ return s && e && yc(t, i, e), e;
8534
8627
  };
8535
- const mc = "sonic-input";
8628
+ const wc = "sonic-input";
8536
8629
  let F = class extends qs(Ie(Q(x))) {
8537
8630
  constructor() {
8538
8631
  super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.autoActive = !1, this.active = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
@@ -8681,7 +8774,7 @@ let F = class extends qs(Ie(Q(x))) {
8681
8774
  name="description"
8682
8775
  @slotchange=${this.hasSlotOrProps}
8683
8776
  class="${this.hasDescription ? "form-description" : "hidden"}"
8684
- >${this.description ? g`${R(this.description)}` : S}</slot>
8777
+ >${this.description ? g`${R(this.description)}` : A}</slot>
8685
8778
  <slot name="list"></slot>
8686
8779
  </div>
8687
8780
  `;
@@ -8692,7 +8785,7 @@ F.styles = [
8692
8785
  Bi,
8693
8786
  Ys,
8694
8787
  Zs,
8695
- pc,
8788
+ vc,
8696
8789
  C`
8697
8790
  :host([type="hidden"]) {
8698
8791
  appearance: none !important;
@@ -8785,9 +8878,9 @@ U([
8785
8878
  E()
8786
8879
  ], F.prototype, "isPassword", 2);
8787
8880
  F = U([
8788
- P(mc)
8881
+ P(wc)
8789
8882
  ], F);
8790
- const oo = C`
8883
+ const lo = C`
8791
8884
  /*OMBRE*/
8792
8885
  :host([shadow]) .shadowable,
8793
8886
  :host([shadow="md"]) .shadowable,
@@ -8807,12 +8900,12 @@ const oo = C`
8807
8900
  box-shadow: none;
8808
8901
  }
8809
8902
  `;
8810
- var gc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, It = (r, t, i, s) => {
8811
- for (var e = s > 1 ? void 0 : s ? vc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8903
+ var xc = Object.defineProperty, Pc = Object.getOwnPropertyDescriptor, It = (r, t, i, s) => {
8904
+ for (var e = s > 1 ? void 0 : s ? Pc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8812
8905
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
8813
- return s && e && gc(t, i, e), e;
8906
+ return s && e && xc(t, i, e), e;
8814
8907
  };
8815
- const yc = "sonic-pop";
8908
+ const Cc = "sonic-pop";
8816
8909
  let st = class extends x {
8817
8910
  constructor() {
8818
8911
  super(...arguments), this.open = !1, this.noToggle = !1, this.inline = !1, this.manual = !1, this.shadow = "lg", this.placement = "bottom", this.positioningRuns = !1, this.lastContentX = 0, this.lastContentY = 0, this.resizeObserver = new ResizeObserver(
@@ -8888,27 +8981,27 @@ let st = class extends x {
8888
8981
  ) - e, d = Math.min(
8889
8982
  window.innerHeight,
8890
8983
  l?.bottom || window.innerHeight
8891
- ) - e, m = o.left, v = o.top;
8892
- let p = m, y = v, _ = this.popContent?.getBoundingClientRect();
8893
- const k = v - _.height, f = m - _.width, b = m + o.width, w = v + o.height, A = m + (o.width - _.width) * 0.5, O = v + (o.height - _.height) * 0.5;
8984
+ ) - e, m = o.left, y = o.top;
8985
+ let p = m, v = y, _ = this.popContent?.getBoundingClientRect();
8986
+ const k = y - _.height, f = m - _.width, b = m + o.width, w = y + o.height, S = m + (o.width - _.width) * 0.5, O = y + (o.height - _.height) * 0.5;
8894
8987
  switch (i) {
8895
8988
  case "bottom":
8896
- y = w, s == "center" && (p = A);
8989
+ v = w, s == "center" && (p = S);
8897
8990
  break;
8898
8991
  case "top":
8899
- y = k, s == "center" && (p = A);
8992
+ v = k, s == "center" && (p = S);
8900
8993
  break;
8901
8994
  case "left":
8902
- p = f, s == "center" && (y = O);
8995
+ p = f, s == "center" && (v = O);
8903
8996
  break;
8904
8997
  case "right":
8905
- p = b, s == "center" && (y = O);
8998
+ p = b, s == "center" && (v = O);
8906
8999
  break;
8907
9000
  }
8908
- this.lastContentX += p - _.x, this.lastContentY += y - _.y, Object.assign(this.popContent.style, {
9001
+ this.lastContentX += p - _.x, this.lastContentY += v - _.y, Object.assign(this.popContent.style, {
8909
9002
  left: `${this.lastContentX}px`,
8910
9003
  top: `${this.lastContentY}px`
8911
- }), _ = this.popContent?.getBoundingClientRect(), _.x < c && i == "left" && (p = b), _.y < h && i == "top" && (y = w), _.x + _.width > u && i == "right" && (p = f), _.y + _.height > d && i == "bottom" && (y = k), this.lastContentX += p - _.x, this.lastContentY += y - _.y, Object.assign(this.popContent.style, {
9004
+ }), _ = this.popContent?.getBoundingClientRect(), _.x < c && i == "left" && (p = b), _.y < h && i == "top" && (v = w), _.x + _.width > u && i == "right" && (p = f), _.y + _.height > d && i == "bottom" && (v = k), this.lastContentX += p - _.x, this.lastContentY += v - _.y, Object.assign(this.popContent.style, {
8912
9005
  left: `${this.lastContentX}px`,
8913
9006
  top: `${this.lastContentY}px`
8914
9007
  }), _ = this.popContent?.getBoundingClientRect(), _.x < c && (this.lastContentX += c - _.x), _.y < h && (this.lastContentY += h - _.y), Object.assign(this.popContent.style, {
@@ -8974,7 +9067,7 @@ st.styles = [
8974
9067
  vertical-align: baseline;
8975
9068
  }
8976
9069
  `,
8977
- oo
9070
+ lo
8978
9071
  ];
8979
9072
  It([
8980
9073
  E()
@@ -9004,14 +9097,14 @@ It([
9004
9097
  E()
9005
9098
  ], st.prototype, "triggerElement", 2);
9006
9099
  st = It([
9007
- P(yc)
9100
+ P(Cc)
9008
9101
  ], st);
9009
- var _c = Object.getOwnPropertyDescriptor, wc = (r, t, i, s) => {
9010
- for (var e = s > 1 ? void 0 : s ? _c(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9102
+ var $c = Object.getOwnPropertyDescriptor, Sc = (r, t, i, s) => {
9103
+ for (var e = s > 1 ? void 0 : s ? $c(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9011
9104
  (n = r[o]) && (e = n(e) || e);
9012
9105
  return e;
9013
9106
  };
9014
- const xc = "sonic-menu-item";
9107
+ const Ac = "sonic-menu-item";
9015
9108
  let kr = class extends M {
9016
9109
  constructor() {
9017
9110
  super();
@@ -9022,15 +9115,15 @@ let kr = class extends M {
9022
9115
  !this.hasAttribute("align") && !r && (this.align = "left"), super.connectedCallback();
9023
9116
  }
9024
9117
  };
9025
- kr = wc([
9026
- P(xc)
9118
+ kr = Sc([
9119
+ P(Ac)
9027
9120
  ], kr);
9028
9121
  /**
9029
9122
  * @license
9030
9123
  * Copyright 2021 Google LLC
9031
9124
  * SPDX-License-Identifier: BSD-3-Clause
9032
9125
  */
9033
- class no {
9126
+ class co {
9034
9127
  constructor(t, { target: i, config: s, callback: e, skipInitial: o }) {
9035
9128
  this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, i !== null && this.t.add(i ?? t), this.l = s, this.o = o ?? this.o, this.callback = e, window.ResizeObserver ? (this.u = new ResizeObserver(((n) => {
9036
9129
  this.handleChanges(n), this.h.requestUpdate();
@@ -9058,16 +9151,16 @@ class no {
9058
9151
  this.u.disconnect();
9059
9152
  }
9060
9153
  }
9061
- var Pc = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, dt = (r, t, i, s) => {
9062
- for (var e = s > 1 ? void 0 : s ? Cc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9154
+ var kc = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, dt = (r, t, i, s) => {
9155
+ for (var e = s > 1 ? void 0 : s ? Dc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9063
9156
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9064
- return s && e && Pc(t, i, e), e;
9157
+ return s && e && kc(t, i, e), e;
9065
9158
  };
9066
9159
  let rt = class extends ji(
9067
9160
  qr(Hr(ie(x)))
9068
9161
  ) {
9069
9162
  constructor() {
9070
- super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new no(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
9163
+ super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new co(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
9071
9164
  if (r == "" && this.isSearchParameter()) {
9072
9165
  this.lastValidSearch = "";
9073
9166
  return;
@@ -9209,7 +9302,7 @@ let rt = class extends ji(
9209
9302
  name="nav-arrow-down"
9210
9303
  .size=${this.size}
9211
9304
  ></sonic-icon>
9212
- ` : S}
9305
+ ` : A}
9213
9306
  </sonic-input>
9214
9307
  <sonic-menu
9215
9308
  slot="content"
@@ -9315,12 +9408,12 @@ dt([
9315
9408
  rt = dt([
9316
9409
  P("sonic-input-autocomplete")
9317
9410
  ], rt);
9318
- var $c = Object.defineProperty, Sc = Object.getOwnPropertyDescriptor, bt = (r, t, i, s) => {
9319
- for (var e = s > 1 ? void 0 : s ? Sc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9411
+ var Oc = Object.defineProperty, Lc = Object.getOwnPropertyDescriptor, bt = (r, t, i, s) => {
9412
+ for (var e = s > 1 ? void 0 : s ? Lc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9320
9413
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9321
- return s && e && $c(t, i, e), e;
9414
+ return s && e && Oc(t, i, e), e;
9322
9415
  };
9323
- const Ac = "sonic-password-helper";
9416
+ const Ec = "sonic-password-helper";
9324
9417
  let at = class extends ie(x) {
9325
9418
  constructor() {
9326
9419
  super(...arguments), this.minChars = 8, this.hasNoChar = !0, this.hasEnoughChars = !1, this.hasMinuscule = !1, this.hasMajuscule = !1, this.hasNumber = !1, this.hasSpecialChar = !1, this.wording_password_helper_decription = "Le mot de passe doit contenir au moins :", this.wording_password_helper_min_length = "8 caractères", this.wording_password_helper_lower_case = "1 minuscule", this.wording_password_helper_upper_case = "1 majuscule", this.wording_password_helper_number = "1 chiffre", this.wording_password_helper_special_char = "1 caractère spécial";
@@ -9337,7 +9430,7 @@ let at = class extends ie(x) {
9337
9430
  return t ? g`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : g`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
9338
9431
  }
9339
9432
  render() {
9340
- return this.hasNoChar ? S : g`
9433
+ return this.hasNoChar ? A : g`
9341
9434
  <div>${this.wording_password_helper_decription}</div>
9342
9435
  <div>
9343
9436
  ${this.getIcon(this.hasEnoughChars)}
@@ -9404,14 +9497,14 @@ bt([
9404
9497
  a()
9405
9498
  ], at.prototype, "wording_password_helper_special_char", 2);
9406
9499
  at = bt([
9407
- P(Ac)
9500
+ P(Ec)
9408
9501
  ], at);
9409
- var kc = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
9410
- for (var e = s > 1 ? void 0 : s ? Dc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9502
+ var Tc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
9503
+ for (var e = s > 1 ? void 0 : s ? Nc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9411
9504
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9412
- return s && e && kc(t, i, e), e;
9505
+ return s && e && Tc(t, i, e), e;
9413
9506
  };
9414
- const Oc = "sonic-same-value-helper";
9507
+ const Ic = "sonic-same-value-helper";
9415
9508
  let Jt = class extends ie(x) {
9416
9509
  constructor() {
9417
9510
  super(...arguments), this.descriptionWhenEqual = "Correspondance : oui", this.descriptionWhenNotEqual = "Correspondance : non", this.areEqual = !1, this.hasNoChar = !0;
@@ -9444,7 +9537,7 @@ let Jt = class extends ie(x) {
9444
9537
  }
9445
9538
  //TODO Multilangue
9446
9539
  render() {
9447
- return this.hasNoChar ? S : g`
9540
+ return this.hasNoChar ? A : g`
9448
9541
  <span>
9449
9542
  ${this.areEqual ? R(this.descriptionWhenEqual) : R(this.descriptionWhenNotEqual)}
9450
9543
  </span>
@@ -9470,14 +9563,14 @@ we([
9470
9563
  E()
9471
9564
  ], Jt.prototype, "hasNoChar", 2);
9472
9565
  Jt = we([
9473
- P(Oc)
9566
+ P(Ic)
9474
9567
  ], Jt);
9475
- var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, qt = (r, t, i, s) => {
9476
- for (var e = s > 1 ? void 0 : s ? Ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9568
+ var Mc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, qt = (r, t, i, s) => {
9569
+ for (var e = s > 1 ? void 0 : s ? Fc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9477
9570
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9478
- return s && e && Lc(t, i, e), e;
9571
+ return s && e && Mc(t, i, e), e;
9479
9572
  };
9480
- const Tc = "sonic-checkbox";
9573
+ const jc = "sonic-checkbox";
9481
9574
  let ft = class extends Mi(
9482
9575
  qs(Ie(Q(x)))
9483
9576
  ) {
@@ -9679,14 +9772,14 @@ qt([
9679
9772
  ht({ slot: "description", flatten: !0 })
9680
9773
  ], ft.prototype, "slotDescriptionNodes", 2);
9681
9774
  ft = qt([
9682
- P(Tc)
9775
+ P(jc)
9683
9776
  ], ft);
9684
- var Nc = Object.getOwnPropertyDescriptor, Ic = (r, t, i, s) => {
9685
- for (var e = s > 1 ? void 0 : s ? Nc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9777
+ var Rc = Object.getOwnPropertyDescriptor, zc = (r, t, i, s) => {
9778
+ for (var e = s > 1 ? void 0 : s ? Rc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9686
9779
  (n = r[o]) && (e = n(e) || e);
9687
9780
  return e;
9688
9781
  };
9689
- const Mc = "sonic-radio";
9782
+ const Uc = "sonic-radio";
9690
9783
  let di = class extends ft {
9691
9784
  constructor() {
9692
9785
  super(), this.radio = !0;
@@ -9719,15 +9812,15 @@ di.styles = [
9719
9812
  }
9720
9813
  `
9721
9814
  ];
9722
- di = Ic([
9723
- P(Mc)
9815
+ di = zc([
9816
+ P(Uc)
9724
9817
  ], di);
9725
- var Fc = Object.getOwnPropertyDescriptor, jc = (r, t, i, s) => {
9726
- for (var e = s > 1 ? void 0 : s ? Fc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9818
+ var Vc = Object.getOwnPropertyDescriptor, Bc = (r, t, i, s) => {
9819
+ for (var e = s > 1 ? void 0 : s ? Vc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9727
9820
  (n = r[o]) && (e = n(e) || e);
9728
9821
  return e;
9729
9822
  };
9730
- const Rc = "sonic-switch";
9823
+ const Hc = "sonic-switch";
9731
9824
  let ui = class extends ft {
9732
9825
  constructor() {
9733
9826
  super(), this.unique = !0;
@@ -9802,15 +9895,15 @@ ui.styles = [
9802
9895
  }
9803
9896
  `
9804
9897
  ];
9805
- ui = jc([
9806
- P(Rc)
9898
+ ui = Bc([
9899
+ P(Hc)
9807
9900
  ], ui);
9808
- var zc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, J = (r, t, i, s) => {
9809
- for (var e = s > 1 ? void 0 : s ? Uc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9901
+ var qc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, J = (r, t, i, s) => {
9902
+ for (var e = s > 1 ? void 0 : s ? Wc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9810
9903
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9811
- return s && e && zc(t, i, e), e;
9904
+ return s && e && qc(t, i, e), e;
9812
9905
  };
9813
- const Vc = "sonic-select";
9906
+ const Kc = "sonic-select";
9814
9907
  let K = class extends Ie(Q(x)) {
9815
9908
  constructor() {
9816
9909
  super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
@@ -10061,14 +10154,14 @@ J([
10061
10154
  E()
10062
10155
  ], K.prototype, "hasPrefix", 2);
10063
10156
  K = J([
10064
- P(Vc)
10157
+ P(Kc)
10065
10158
  ], K);
10066
- var Bc = Object.defineProperty, Hc = Object.getOwnPropertyDescriptor, mt = (r, t, i, s) => {
10067
- for (var e = s > 1 ? void 0 : s ? Hc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10159
+ var Yc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, mt = (r, t, i, s) => {
10160
+ for (var e = s > 1 ? void 0 : s ? Zc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10068
10161
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10069
- return s && e && Bc(t, i, e), e;
10162
+ return s && e && Yc(t, i, e), e;
10070
10163
  };
10071
- const qc = "sonic-textarea";
10164
+ const Gc = "sonic-textarea";
10072
10165
  let lt = class extends qs(Ie(Q(x))) {
10073
10166
  constructor() {
10074
10167
  super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
@@ -10197,10 +10290,10 @@ mt([
10197
10290
  E()
10198
10291
  ], lt.prototype, "hasLabel", 2);
10199
10292
  lt = mt([
10200
- P(qc)
10293
+ P(Gc)
10201
10294
  ], lt);
10202
- var Wc = Object.getOwnPropertyDescriptor, Kc = (r, t, i, s) => {
10203
- for (var e = s > 1 ? void 0 : s ? Wc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10295
+ var Xc = Object.getOwnPropertyDescriptor, Qc = (r, t, i, s) => {
10296
+ for (var e = s > 1 ? void 0 : s ? Xc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10204
10297
  (n = r[o]) && (e = n(e) || e);
10205
10298
  return e;
10206
10299
  };
@@ -10229,15 +10322,15 @@ pi.styles = [
10229
10322
  }
10230
10323
  `
10231
10324
  ];
10232
- pi = Kc([
10325
+ pi = Qc([
10233
10326
  P("sonic-legend-description")
10234
10327
  ], pi);
10235
- var Yc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, xe = (r, t, i, s) => {
10236
- for (var e = s > 1 ? void 0 : s ? Zc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10328
+ var Jc = Object.defineProperty, th = Object.getOwnPropertyDescriptor, xe = (r, t, i, s) => {
10329
+ for (var e = s > 1 ? void 0 : s ? th(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10237
10330
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10238
- return s && e && Yc(t, i, e), e;
10331
+ return s && e && Jc(t, i, e), e;
10239
10332
  };
10240
- const Gc = "sonic-legend";
10333
+ const eh = "sonic-legend";
10241
10334
  let Bt = class extends x {
10242
10335
  constructor() {
10243
10336
  super(...arguments), this.forceAutoFill = !1;
@@ -10341,15 +10434,15 @@ xe([
10341
10434
  a({ type: String })
10342
10435
  ], Bt.prototype, "iconPrefix", 2);
10343
10436
  Bt = xe([
10344
- P(Gc)
10437
+ P(eh)
10345
10438
  ], Bt);
10346
- var Xc = Object.defineProperty, Qc = Object.getOwnPropertyDescriptor, Mt = (r, t, i, s) => {
10347
- for (var e = s > 1 ? void 0 : s ? Qc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10439
+ var sh = Object.defineProperty, ih = Object.getOwnPropertyDescriptor, Mt = (r, t, i, s) => {
10440
+ for (var e = s > 1 ? void 0 : s ? ih(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10348
10441
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10349
- return s && e && Xc(t, i, e), e;
10442
+ return s && e && sh(t, i, e), e;
10350
10443
  };
10351
- const Jc = "sonic-fieldset";
10352
- let xt = class extends Q(x) {
10444
+ const rh = "sonic-fieldset";
10445
+ let Pt = class extends Q(x) {
10353
10446
  constructor() {
10354
10447
  super(...arguments), this.disabled = !1, this.variant = "default";
10355
10448
  }
@@ -10364,12 +10457,12 @@ let xt = class extends Q(x) {
10364
10457
  iconName=${$(this.iconName)}
10365
10458
  iconPrefix=${$(this.iconPrefix)}
10366
10459
  iconLibrary=${$(this.iconLibrary)}
10367
- ></sonic-legend>` : S}
10460
+ ></sonic-legend>` : A}
10368
10461
  <slot></slot>
10369
10462
  </fieldset>`;
10370
10463
  }
10371
10464
  };
10372
- xt.styles = [
10465
+ Pt.styles = [
10373
10466
  C`
10374
10467
  :host {
10375
10468
  --sc-fieldset-mt: 0;
@@ -10423,43 +10516,43 @@ xt.styles = [
10423
10516
  ];
10424
10517
  Mt([
10425
10518
  a({ type: Boolean, reflect: !0 })
10426
- ], xt.prototype, "disabled", 2);
10519
+ ], Pt.prototype, "disabled", 2);
10427
10520
  Mt([
10428
10521
  a({ type: String })
10429
- ], xt.prototype, "form", 2);
10522
+ ], Pt.prototype, "form", 2);
10430
10523
  Mt([
10431
10524
  a({ type: String })
10432
- ], xt.prototype, "label", 2);
10525
+ ], Pt.prototype, "label", 2);
10433
10526
  Mt([
10434
10527
  a({ type: String })
10435
- ], xt.prototype, "description", 2);
10528
+ ], Pt.prototype, "description", 2);
10436
10529
  Mt([
10437
10530
  a({ type: String })
10438
- ], xt.prototype, "iconName", 2);
10531
+ ], Pt.prototype, "iconName", 2);
10439
10532
  Mt([
10440
10533
  a({ type: String })
10441
- ], xt.prototype, "iconLibrary", 2);
10534
+ ], Pt.prototype, "iconLibrary", 2);
10442
10535
  Mt([
10443
10536
  a({ type: String })
10444
- ], xt.prototype, "iconPrefix", 2);
10537
+ ], Pt.prototype, "iconPrefix", 2);
10445
10538
  Mt([
10446
10539
  a({ type: Boolean, reflect: !0 })
10447
- ], xt.prototype, "tight", 2);
10540
+ ], Pt.prototype, "tight", 2);
10448
10541
  Mt([
10449
10542
  a({ type: String, reflect: !0 })
10450
- ], xt.prototype, "variant", 2);
10451
- xt = Mt([
10452
- P(Jc)
10453
- ], xt);
10454
- var th = Object.defineProperty, eh = Object.getOwnPropertyDescriptor, qi = (r, t, i, s) => {
10455
- for (var e = s > 1 ? void 0 : s ? eh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10543
+ ], Pt.prototype, "variant", 2);
10544
+ Pt = Mt([
10545
+ P(rh)
10546
+ ], Pt);
10547
+ var oh = Object.defineProperty, nh = Object.getOwnPropertyDescriptor, qi = (r, t, i, s) => {
10548
+ for (var e = s > 1 ? void 0 : s ? nh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10456
10549
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10457
- return s && e && th(t, i, e), e;
10550
+ return s && e && oh(t, i, e), e;
10458
10551
  };
10459
- const sh = "sonic-form-layout";
10552
+ const ah = "sonic-form-layout";
10460
10553
  let os = class extends Q(x) {
10461
10554
  constructor() {
10462
- super(...arguments), this._resizeController = new no(this, {}), this.oneFormElement = !1;
10555
+ super(...arguments), this._resizeController = new co(this, {}), this.oneFormElement = !1;
10463
10556
  }
10464
10557
  onSlotChange() {
10465
10558
  let r = this.slottedElements;
@@ -10521,14 +10614,14 @@ qi([
10521
10614
  a({ type: Boolean })
10522
10615
  ], os.prototype, "oneFormElement", 2);
10523
10616
  os = qi([
10524
- P(sh)
10617
+ P(ah)
10525
10618
  ], os);
10526
- var ih = Object.defineProperty, rh = Object.getOwnPropertyDescriptor, Wi = (r, t, i, s) => {
10527
- for (var e = s > 1 ? void 0 : s ? rh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10619
+ var lh = Object.defineProperty, ch = Object.getOwnPropertyDescriptor, Wi = (r, t, i, s) => {
10620
+ for (var e = s > 1 ? void 0 : s ? ch(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10528
10621
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10529
- return s && e && ih(t, i, e), e;
10622
+ return s && e && lh(t, i, e), e;
10530
10623
  };
10531
- const oh = "sonic-form-actions";
10624
+ const hh = "sonic-form-actions";
10532
10625
  let ns = class extends x {
10533
10626
  constructor() {
10534
10627
  super(...arguments), this.direction = "row", this.justify = "flex-start";
@@ -10560,14 +10653,14 @@ Wi([
10560
10653
  a({ type: String })
10561
10654
  ], ns.prototype, "justify", 2);
10562
10655
  ns = Wi([
10563
- P(oh)
10656
+ P(hh)
10564
10657
  ], ns);
10565
- var nh = Object.defineProperty, ah = Object.getOwnPropertyDescriptor, re = (r, t, i, s) => {
10566
- for (var e = s > 1 ? void 0 : s ? ah(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10658
+ var dh = Object.defineProperty, uh = Object.getOwnPropertyDescriptor, re = (r, t, i, s) => {
10659
+ for (var e = s > 1 ? void 0 : s ? uh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10567
10660
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10568
- return s && e && nh(t, i, e), e;
10661
+ return s && e && dh(t, i, e), e;
10569
10662
  };
10570
- const lh = "sonic-group";
10663
+ const ph = "sonic-group";
10571
10664
  let Et = class extends x {
10572
10665
  constructor() {
10573
10666
  super(...arguments), this.alignItems = "center", this.hasDescription = !1, this.hasLabel = !1;
@@ -10661,15 +10754,15 @@ re([
10661
10754
  E()
10662
10755
  ], Et.prototype, "hasLabel", 2);
10663
10756
  Et = re([
10664
- P(lh)
10757
+ P(ph)
10665
10758
  ], Et);
10666
- var ch = Object.defineProperty, hh = Object.getOwnPropertyDescriptor, Ft = (r, t, i, s) => {
10667
- for (var e = s > 1 ? void 0 : s ? hh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10759
+ var fh = Object.defineProperty, bh = Object.getOwnPropertyDescriptor, Ft = (r, t, i, s) => {
10760
+ for (var e = s > 1 ? void 0 : s ? bh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10668
10761
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10669
- return s && e && ch(t, i, e), e;
10762
+ return s && e && fh(t, i, e), e;
10670
10763
  };
10671
- const dh = "sonic-image";
10672
- let Pt = class extends x {
10764
+ const mh = "sonic-image";
10765
+ let Ct = class extends x {
10673
10766
  constructor() {
10674
10767
  super(...arguments), this.rounded = "none", this.src = "", this.alt = "", this.loading = "lazy", this.ratio = "auto", this.objectPosition = "center center", this.imageRendering = "auto", this.cover = !1;
10675
10768
  }
@@ -10701,7 +10794,7 @@ let Pt = class extends x {
10701
10794
  </div>`;
10702
10795
  }
10703
10796
  };
10704
- Pt.styles = [
10797
+ Ct.styles = [
10705
10798
  C`
10706
10799
  :host {
10707
10800
  --sc-img-radius: 0;
@@ -10780,40 +10873,40 @@ Pt.styles = [
10780
10873
  ];
10781
10874
  Ft([
10782
10875
  a({ type: String })
10783
- ], Pt.prototype, "rounded", 2);
10876
+ ], Ct.prototype, "rounded", 2);
10784
10877
  Ft([
10785
10878
  a({ type: String })
10786
- ], Pt.prototype, "src", 2);
10879
+ ], Ct.prototype, "src", 2);
10787
10880
  Ft([
10788
10881
  a({ type: String })
10789
- ], Pt.prototype, "alt", 2);
10882
+ ], Ct.prototype, "alt", 2);
10790
10883
  Ft([
10791
10884
  a({ type: String })
10792
- ], Pt.prototype, "loading", 2);
10885
+ ], Ct.prototype, "loading", 2);
10793
10886
  Ft([
10794
10887
  a({ type: String, reflect: !0 })
10795
- ], Pt.prototype, "transition", 2);
10888
+ ], Ct.prototype, "transition", 2);
10796
10889
  Ft([
10797
10890
  a({ type: String })
10798
- ], Pt.prototype, "ratio", 2);
10891
+ ], Ct.prototype, "ratio", 2);
10799
10892
  Ft([
10800
10893
  a({ type: String })
10801
- ], Pt.prototype, "objectPosition", 2);
10894
+ ], Ct.prototype, "objectPosition", 2);
10802
10895
  Ft([
10803
10896
  a({ type: String })
10804
- ], Pt.prototype, "imageRendering", 2);
10897
+ ], Ct.prototype, "imageRendering", 2);
10805
10898
  Ft([
10806
10899
  a({ type: Boolean, reflect: !0 })
10807
- ], Pt.prototype, "cover", 2);
10808
- Pt = Ft([
10809
- P(dh)
10810
- ], Pt);
10811
- var uh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, gt = (r, t, i, s) => {
10812
- for (var e = s > 1 ? void 0 : s ? ph(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10900
+ ], Ct.prototype, "cover", 2);
10901
+ Ct = Ft([
10902
+ P(mh)
10903
+ ], Ct);
10904
+ var gh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, gt = (r, t, i, s) => {
10905
+ for (var e = s > 1 ? void 0 : s ? vh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10813
10906
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10814
- return s && e && uh(t, i, e), e;
10907
+ return s && e && gh(t, i, e), e;
10815
10908
  };
10816
- const fh = "sonic-menu";
10909
+ const yh = "sonic-menu";
10817
10910
  let ct = class extends x {
10818
10911
  constructor() {
10819
10912
  super(...arguments), this.direction = "column", this.gap = "var(--sc-menu-gap)", this.align = "left", this.shadow = null, this.moreShape = "circle", this.scrollable = !1, this.observer = null, this.attributeObserver = null, this.minWidth = "0", this.hasMoreElements = !1, this.handleScrollEnd = () => {
@@ -11077,7 +11170,7 @@ ct.styles = [
11077
11170
  );
11078
11171
  }
11079
11172
  `,
11080
- oo
11173
+ lo
11081
11174
  ];
11082
11175
  gt([
11083
11176
  a({ type: String, reflect: !0 })
@@ -11119,14 +11212,14 @@ gt([
11119
11212
  E()
11120
11213
  ], ct.prototype, "hasMoreElements", 2);
11121
11214
  ct = gt([
11122
- P(fh)
11215
+ P(yh)
11123
11216
  ], ct);
11124
- var bh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, ao = (r, t, i, s) => {
11125
- for (var e = s > 1 ? void 0 : s ? mh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11217
+ var _h = Object.defineProperty, wh = Object.getOwnPropertyDescriptor, ho = (r, t, i, s) => {
11218
+ for (var e = s > 1 ? void 0 : s ? wh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11126
11219
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11127
- return s && e && bh(t, i, e), e;
11220
+ return s && e && _h(t, i, e), e;
11128
11221
  };
11129
- const gh = "sonic-modal-actions";
11222
+ const xh = "sonic-modal-actions";
11130
11223
  let Ms = class extends x {
11131
11224
  firstUpdated(r) {
11132
11225
  this.buttons?.forEach((t) => {
@@ -11152,18 +11245,18 @@ Ms.styles = [
11152
11245
  }
11153
11246
  `
11154
11247
  ];
11155
- ao([
11248
+ ho([
11156
11249
  Ee({ selector: "sonic-button" })
11157
11250
  ], Ms.prototype, "buttons", 2);
11158
- Ms = ao([
11159
- P(gh)
11251
+ Ms = ho([
11252
+ P(xh)
11160
11253
  ], Ms);
11161
- var vh = Object.defineProperty, yh = Object.getOwnPropertyDescriptor, Gs = (r, t, i, s) => {
11162
- for (var e = s > 1 ? void 0 : s ? yh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11254
+ var Ph = Object.defineProperty, Ch = Object.getOwnPropertyDescriptor, Gs = (r, t, i, s) => {
11255
+ for (var e = s > 1 ? void 0 : s ? Ch(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11163
11256
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11164
- return s && e && vh(t, i, e), e;
11257
+ return s && e && Ph(t, i, e), e;
11165
11258
  };
11166
- const _h = "sonic-modal-close";
11259
+ const $h = "sonic-modal-close";
11167
11260
  let as = class extends x {
11168
11261
  constructor() {
11169
11262
  super(...arguments), this.translation = {
@@ -11202,14 +11295,14 @@ Gs([
11202
11295
  a()
11203
11296
  ], as.prototype, "type", 2);
11204
11297
  as = Gs([
11205
- P(_h)
11298
+ P($h)
11206
11299
  ], as);
11207
- var wh = Object.getOwnPropertyDescriptor, xh = (r, t, i, s) => {
11208
- for (var e = s > 1 ? void 0 : s ? wh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11300
+ var Sh = Object.getOwnPropertyDescriptor, Ah = (r, t, i, s) => {
11301
+ for (var e = s > 1 ? void 0 : s ? Sh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11209
11302
  (n = r[o]) && (e = n(e) || e);
11210
11303
  return e;
11211
11304
  };
11212
- const Ph = "sonic-modal-content";
11305
+ const kh = "sonic-modal-content";
11213
11306
  let fi = class extends x {
11214
11307
  render() {
11215
11308
  return g`<slot></slot>`;
@@ -11223,15 +11316,15 @@ fi.styles = [
11223
11316
  }
11224
11317
  `
11225
11318
  ];
11226
- fi = xh([
11227
- P(Ph)
11319
+ fi = Ah([
11320
+ P(kh)
11228
11321
  ], fi);
11229
- var Ch = Object.getOwnPropertyDescriptor, $h = (r, t, i, s) => {
11230
- for (var e = s > 1 ? void 0 : s ? Ch(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11322
+ var Dh = Object.getOwnPropertyDescriptor, Oh = (r, t, i, s) => {
11323
+ for (var e = s > 1 ? void 0 : s ? Dh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11231
11324
  (n = r[o]) && (e = n(e) || e);
11232
11325
  return e;
11233
11326
  };
11234
- const Sh = "sonic-modal-subtitle";
11327
+ const Lh = "sonic-modal-subtitle";
11235
11328
  let bi = class extends x {
11236
11329
  render() {
11237
11330
  return g`<slot></slot>`;
@@ -11252,15 +11345,15 @@ bi.styles = [
11252
11345
  }
11253
11346
  `
11254
11347
  ];
11255
- bi = $h([
11256
- P(Sh)
11348
+ bi = Oh([
11349
+ P(Lh)
11257
11350
  ], bi);
11258
- var Ah = Object.getOwnPropertyDescriptor, kh = (r, t, i, s) => {
11259
- for (var e = s > 1 ? void 0 : s ? Ah(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11351
+ var Eh = Object.getOwnPropertyDescriptor, Th = (r, t, i, s) => {
11352
+ for (var e = s > 1 ? void 0 : s ? Eh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11260
11353
  (n = r[o]) && (e = n(e) || e);
11261
11354
  return e;
11262
11355
  };
11263
- const Dh = "sonic-modal-title";
11356
+ const Nh = "sonic-modal-title";
11264
11357
  let mi = class extends x {
11265
11358
  render() {
11266
11359
  return g`<slot></slot>`;
@@ -11282,28 +11375,28 @@ mi.styles = [
11282
11375
  }
11283
11376
  `
11284
11377
  ];
11285
- mi = kh([
11286
- P(Dh)
11378
+ mi = Th([
11379
+ P(Nh)
11287
11380
  ], mi);
11288
11381
  const Dr = /* @__PURE__ */ new WeakMap();
11289
- function Oh(r) {
11382
+ function Ih(r) {
11290
11383
  const t = Dr.get(r);
11291
11384
  if (t) return t;
11292
11385
  const i = new CSSStyleSheet();
11293
11386
  return i.replaceSync(r.cssText), Dr.set(r, i), i;
11294
11387
  }
11295
- function Lh(r) {
11388
+ function Mh(r) {
11296
11389
  return r instanceof Di;
11297
11390
  }
11298
- function lo(r) {
11299
- return r ? (Array.isArray(r) ? r : [r]).flatMap((i) => Array.isArray(i) ? lo(i) : i instanceof CSSStyleSheet ? [i] : Lh(i) ? [Oh(i)] : []) : [];
11391
+ function uo(r) {
11392
+ return r ? (Array.isArray(r) ? r : [r]).flatMap((i) => Array.isArray(i) ? uo(i) : i instanceof CSSStyleSheet ? [i] : Mh(i) ? [Ih(i)] : []) : [];
11300
11393
  }
11301
- var Eh = Object.defineProperty, Th = Object.getOwnPropertyDescriptor, q = (r, t, i, s) => {
11302
- for (var e = s > 1 ? void 0 : s ? Th(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11394
+ var Fh = Object.defineProperty, jh = Object.getOwnPropertyDescriptor, q = (r, t, i, s) => {
11395
+ for (var e = s > 1 ? void 0 : s ? jh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11303
11396
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11304
- return s && e && Eh(t, i, e), e;
11397
+ return s && e && Fh(t, i, e), e;
11305
11398
  };
11306
- const co = "sonic-modal";
11399
+ const po = "sonic-modal";
11307
11400
  let N = class extends Q(x) {
11308
11401
  constructor() {
11309
11402
  super(...arguments), this.forceAction = !1, this.noCloseButton = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._adoptedStyleSheets = [], this._animationConfig = {
@@ -11316,7 +11409,7 @@ let N = class extends Q(x) {
11316
11409
  };
11317
11410
  }
11318
11411
  static create(r) {
11319
- const t = document.createElement(co);
11412
+ const t = document.createElement(po);
11320
11413
  return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.closeButtonType && (t.closeButtonType = r?.closeButtonType), r.styleSheet && (t.styleSheet = r?.styleSheet), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex), vt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
11321
11414
  t.show();
11322
11415
  }), t;
@@ -11385,17 +11478,17 @@ let N = class extends Q(x) {
11385
11478
  ${!this.forceAction && !this.noCloseButton ? g`<sonic-modal-close
11386
11479
  class="${this._animationState == "visible" ? "animate-in" : "animate-out"}"
11387
11480
  type=${$(this.closeButtonType)}
11388
- ></sonic-modal-close>` : S}
11481
+ ></sonic-modal-close>` : A}
11389
11482
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}
11390
11483
  ${this.modalFragment("content")} ${this.modalFragment("actions")}
11391
11484
  <slot></slot>
11392
- </div>` : S}
11485
+ </div>` : A}
11393
11486
  </dialog>
11394
11487
  `;
11395
11488
  }
11396
11489
  syncAdoptedStyleSheets() {
11397
11490
  if (!(this.renderRoot instanceof ShadowRoot)) return;
11398
- const r = lo(this.styleSheet), t = this.renderRoot.adoptedStyleSheets.filter(
11491
+ const r = uo(this.styleSheet), t = this.renderRoot.adoptedStyleSheets.filter(
11399
11492
  (i) => !this._adoptedStyleSheets.includes(i)
11400
11493
  );
11401
11494
  this.renderRoot.adoptedStyleSheets = [
@@ -11405,7 +11498,7 @@ let N = class extends Q(x) {
11405
11498
  }
11406
11499
  modalFragment(r) {
11407
11500
  const t = this.options?.[r];
11408
- if (!t) return S;
11501
+ if (!t) return A;
11409
11502
  let i;
11410
11503
  switch (t instanceof Object ? i = t : i = R(t), r) {
11411
11504
  case "title":
@@ -11417,7 +11510,7 @@ let N = class extends Q(x) {
11417
11510
  case "actions":
11418
11511
  return g`<sonic-modal-actions>${i}</sonic-modal-actions>`;
11419
11512
  default:
11420
- return S;
11513
+ return A;
11421
11514
  }
11422
11515
  }
11423
11516
  // Show the modal
@@ -11485,7 +11578,7 @@ let N = class extends Q(x) {
11485
11578
  delay: d
11486
11579
  }
11487
11580
  )
11488
- )), Promise.all(m.map((v) => v.finished)).then(
11581
+ )), Promise.all(m.map((y) => y.finished)).then(
11489
11582
  () => t()
11490
11583
  );
11491
11584
  });
@@ -11714,22 +11807,22 @@ q([
11714
11807
  E()
11715
11808
  ], N.prototype, "_animationState", 2);
11716
11809
  N = q([
11717
- P(co)
11810
+ P(po)
11718
11811
  ], N);
11719
11812
  typeof window < "u" && (window.SonicModal = N);
11720
- var Nh = Object.defineProperty, Ih = Object.getOwnPropertyDescriptor, jt = (r, t, i, s) => {
11721
- for (var e = s > 1 ? void 0 : s ? Ih(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11813
+ var Rh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, jt = (r, t, i, s) => {
11814
+ for (var e = s > 1 ? void 0 : s ? zh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11722
11815
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11723
- return s && e && Nh(t, i, e), e;
11816
+ return s && e && Rh(t, i, e), e;
11724
11817
  };
11725
- const Mh = {
11818
+ const Uh = {
11726
11819
  warning: "warning-circled-outline",
11727
11820
  success: "check-circled-outline",
11728
11821
  error: "warning-circled-outline",
11729
11822
  info: "info-empty",
11730
11823
  default: "info-empty"
11731
- }, Fh = "sonic-alert";
11732
- let Ct = class extends x {
11824
+ }, Vh = "sonic-alert";
11825
+ let $t = class extends x {
11733
11826
  constructor() {
11734
11827
  super(...arguments), this.label = "", this.noIcon = !1, this.text = "", this.id = (/* @__PURE__ */ new Date()).getTime().toString(), this.dismissible = !1, this.background = !1, this.status = "default", this.dismissForever = !1;
11735
11828
  }
@@ -11743,12 +11836,12 @@ let Ct = class extends x {
11743
11836
  render() {
11744
11837
  return g`
11745
11838
  <slot name="icon" class="${this.noIcon ? "hidden" : ""}"
11746
- >${this.noIcon ? S : g`<div>
11747
- ${this.status && g`<sonic-icon name=${Mh[this.status]}></sonic-icon>`}
11839
+ >${this.noIcon ? A : g`<div>
11840
+ ${this.status && g`<sonic-icon name=${Uh[this.status]}></sonic-icon>`}
11748
11841
  </div>`}</slot
11749
11842
  >
11750
11843
  <div class="content">
11751
- ${this.label ? g`<span class="label">${R(this.label)}</span>` : S}
11844
+ ${this.label ? g`<span class="label">${R(this.label)}</span>` : A}
11752
11845
  <div>${this.text}<slot></slot></div>
11753
11846
  </div>
11754
11847
  ${this.dismissible ? g`<sonic-button
@@ -11759,7 +11852,7 @@ let Ct = class extends x {
11759
11852
  icon
11760
11853
  >
11761
11854
  <sonic-icon name="cancel"></sonic-icon>
11762
- </sonic-button>` : S}
11855
+ </sonic-button>` : A}
11763
11856
  `;
11764
11857
  }
11765
11858
  close() {
@@ -11772,7 +11865,7 @@ let Ct = class extends x {
11772
11865
  }
11773
11866
  }
11774
11867
  };
11775
- Ct.styles = [
11868
+ $t.styles = [
11776
11869
  Nt,
11777
11870
  C`
11778
11871
  :host {
@@ -11865,40 +11958,40 @@ Ct.styles = [
11865
11958
  ];
11866
11959
  jt([
11867
11960
  a({ type: String })
11868
- ], Ct.prototype, "label", 2);
11961
+ ], $t.prototype, "label", 2);
11869
11962
  jt([
11870
11963
  a({ type: Boolean, reflect: !0 })
11871
- ], Ct.prototype, "noIcon", 2);
11964
+ ], $t.prototype, "noIcon", 2);
11872
11965
  jt([
11873
11966
  a({ type: String })
11874
- ], Ct.prototype, "text", 2);
11967
+ ], $t.prototype, "text", 2);
11875
11968
  jt([
11876
11969
  a({ type: String })
11877
- ], Ct.prototype, "id", 2);
11970
+ ], $t.prototype, "id", 2);
11878
11971
  jt([
11879
11972
  a({ type: String, reflect: !0 })
11880
- ], Ct.prototype, "size", 2);
11973
+ ], $t.prototype, "size", 2);
11881
11974
  jt([
11882
11975
  a({ type: Boolean, reflect: !0 })
11883
- ], Ct.prototype, "dismissible", 2);
11976
+ ], $t.prototype, "dismissible", 2);
11884
11977
  jt([
11885
11978
  a({ type: Boolean, reflect: !0 })
11886
- ], Ct.prototype, "background", 2);
11979
+ ], $t.prototype, "background", 2);
11887
11980
  jt([
11888
11981
  a({ type: String, reflect: !0 })
11889
- ], Ct.prototype, "status", 2);
11982
+ ], $t.prototype, "status", 2);
11890
11983
  jt([
11891
11984
  a({ type: Boolean, reflect: !0 })
11892
- ], Ct.prototype, "dismissForever", 2);
11893
- Ct = jt([
11894
- P(Fh)
11895
- ], Ct);
11896
- var jh = Object.defineProperty, Rh = Object.getOwnPropertyDescriptor, ms = (r, t, i, s) => {
11897
- for (var e = s > 1 ? void 0 : s ? Rh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11985
+ ], $t.prototype, "dismissForever", 2);
11986
+ $t = jt([
11987
+ P(Vh)
11988
+ ], $t);
11989
+ var Bh = Object.defineProperty, Hh = Object.getOwnPropertyDescriptor, ms = (r, t, i, s) => {
11990
+ for (var e = s > 1 ? void 0 : s ? Hh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11898
11991
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11899
- return s && e && jh(t, i, e), e;
11992
+ return s && e && Bh(t, i, e), e;
11900
11993
  };
11901
- const zh = "sonic-alert-messages";
11994
+ const qh = "sonic-alert-messages";
11902
11995
  let ge = class extends Q(x) {
11903
11996
  constructor() {
11904
11997
  super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
@@ -11911,8 +12004,8 @@ let ge = class extends Q(x) {
11911
12004
  size=${this.size}
11912
12005
  ?noIcon=${this.noIcon}
11913
12006
  ?background=${this.background}
11914
- ></sonic-alert>` : S)}
11915
- </div>` : S;
12007
+ ></sonic-alert>` : A)}
12008
+ </div>` : A;
11916
12009
  }
11917
12010
  };
11918
12011
  ge.styles = [
@@ -11938,14 +12031,14 @@ ms([
11938
12031
  a({ type: Array })
11939
12032
  ], ge.prototype, "messages", 2);
11940
12033
  ge = ms([
11941
- P(zh)
12034
+ P(qh)
11942
12035
  ], ge);
11943
- var Uh = Object.defineProperty, Vh = Object.getOwnPropertyDescriptor, ho = (r, t, i, s) => {
11944
- for (var e = s > 1 ? void 0 : s ? Vh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12036
+ var Wh = Object.defineProperty, Kh = Object.getOwnPropertyDescriptor, fo = (r, t, i, s) => {
12037
+ for (var e = s > 1 ? void 0 : s ? Kh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11945
12038
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11946
- return s && e && Uh(t, i, e), e;
12039
+ return s && e && Wh(t, i, e), e;
11947
12040
  };
11948
- const Bh = "sonic-toast-message-subscriber";
12041
+ const Yh = "sonic-toast-message-subscriber";
11949
12042
  let gi = class extends Q(x) {
11950
12043
  constructor() {
11951
12044
  super(...arguments), this._messages = [];
@@ -11959,21 +12052,21 @@ let gi = class extends Q(x) {
11959
12052
  });
11960
12053
  }
11961
12054
  render() {
11962
- return S;
12055
+ return A;
11963
12056
  }
11964
12057
  };
11965
- ho([
12058
+ fo([
11966
12059
  a({ type: Array })
11967
12060
  ], gi.prototype, "messages", 1);
11968
- gi = ho([
11969
- P(Bh)
12061
+ gi = fo([
12062
+ P(Yh)
11970
12063
  ], gi);
11971
- var Hh = Object.defineProperty, qh = Object.getOwnPropertyDescriptor, gs = (r, t, i, s) => {
11972
- for (var e = s > 1 ? void 0 : s ? qh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12064
+ var Zh = Object.defineProperty, Gh = Object.getOwnPropertyDescriptor, gs = (r, t, i, s) => {
12065
+ for (var e = s > 1 ? void 0 : s ? Gh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11973
12066
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11974
- return s && e && Hh(t, i, e), e;
12067
+ return s && e && Zh(t, i, e), e;
11975
12068
  };
11976
- const Wh = "sonic-tooltip";
12069
+ const Xh = "sonic-tooltip";
11977
12070
  let ve = class extends x {
11978
12071
  constructor() {
11979
12072
  super(), this.label = "", this.disabled = !1, this.focusable = !1, this.lastKeyWasTab = !1, this.handleKeyDown = (r) => {
@@ -12131,15 +12224,15 @@ gs([
12131
12224
  a({ type: Boolean })
12132
12225
  ], ve.prototype, "focusable", 2);
12133
12226
  ve = gs([
12134
- P(Wh)
12227
+ P(Xh)
12135
12228
  ], ve);
12136
- var Kh = Object.defineProperty, Yh = Object.getOwnPropertyDescriptor, Rt = (r, t, i, s) => {
12137
- for (var e = s > 1 ? void 0 : s ? Yh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12229
+ var Qh = Object.defineProperty, Jh = Object.getOwnPropertyDescriptor, Rt = (r, t, i, s) => {
12230
+ for (var e = s > 1 ? void 0 : s ? Jh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12138
12231
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12139
- return s && e && Kh(t, i, e), e;
12232
+ return s && e && Qh(t, i, e), e;
12140
12233
  };
12141
- const Zh = "sonic-divider";
12142
- let $t = class extends x {
12234
+ const td = "sonic-divider";
12235
+ let St = class extends x {
12143
12236
  constructor() {
12144
12237
  super(...arguments), this.label = "", this.align = "center", this.vertical = !1, this.noMargin = !1, this.dashed = !1, this.dotted = !1;
12145
12238
  }
@@ -12154,7 +12247,7 @@ let $t = class extends x {
12154
12247
  </div>`;
12155
12248
  }
12156
12249
  };
12157
- $t.styles = [
12250
+ St.styles = [
12158
12251
  C`
12159
12252
  :host {
12160
12253
  --sc-divider-my: 0.5rem;
@@ -12290,40 +12383,40 @@ $t.styles = [
12290
12383
  ];
12291
12384
  Rt([
12292
12385
  ht({ flatten: !0 })
12293
- ], $t.prototype, "slotNodes", 2);
12386
+ ], St.prototype, "slotNodes", 2);
12294
12387
  Rt([
12295
12388
  ee("div")
12296
- ], $t.prototype, "divider", 2);
12389
+ ], St.prototype, "divider", 2);
12297
12390
  Rt([
12298
12391
  a({ type: String })
12299
- ], $t.prototype, "label", 2);
12392
+ ], St.prototype, "label", 2);
12300
12393
  Rt([
12301
12394
  a({ type: String, reflect: !0 })
12302
- ], $t.prototype, "size", 2);
12395
+ ], St.prototype, "size", 2);
12303
12396
  Rt([
12304
12397
  a({ type: String, reflect: !0 })
12305
- ], $t.prototype, "align", 2);
12398
+ ], St.prototype, "align", 2);
12306
12399
  Rt([
12307
12400
  a({ type: Boolean, reflect: !0 })
12308
- ], $t.prototype, "vertical", 2);
12401
+ ], St.prototype, "vertical", 2);
12309
12402
  Rt([
12310
12403
  a({ type: Boolean, reflect: !0 })
12311
- ], $t.prototype, "noMargin", 2);
12404
+ ], St.prototype, "noMargin", 2);
12312
12405
  Rt([
12313
12406
  a({ type: Boolean, reflect: !0 })
12314
- ], $t.prototype, "dashed", 2);
12407
+ ], St.prototype, "dashed", 2);
12315
12408
  Rt([
12316
12409
  a({ type: Boolean, reflect: !0 })
12317
- ], $t.prototype, "dotted", 2);
12318
- $t = Rt([
12319
- P(Zh)
12320
- ], $t);
12321
- var Gh = Object.getOwnPropertyDescriptor, Xh = (r, t, i, s) => {
12322
- for (var e = s > 1 ? void 0 : s ? Gh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12410
+ ], St.prototype, "dotted", 2);
12411
+ St = Rt([
12412
+ P(td)
12413
+ ], St);
12414
+ var ed = Object.getOwnPropertyDescriptor, sd = (r, t, i, s) => {
12415
+ for (var e = s > 1 ? void 0 : s ? ed(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12323
12416
  (n = r[o]) && (e = n(e) || e);
12324
12417
  return e;
12325
12418
  };
12326
- const Qh = "sonic-card-header-description";
12419
+ const id = "sonic-card-header-description";
12327
12420
  let vi = class extends x {
12328
12421
  render() {
12329
12422
  return g`<slot></slot>`;
@@ -12340,15 +12433,15 @@ vi.styles = [
12340
12433
  }
12341
12434
  `
12342
12435
  ];
12343
- vi = Xh([
12344
- P(Qh)
12436
+ vi = sd([
12437
+ P(id)
12345
12438
  ], vi);
12346
- var Jh = Object.defineProperty, td = Object.getOwnPropertyDescriptor, Ki = (r, t, i, s) => {
12347
- for (var e = s > 1 ? void 0 : s ? td(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12439
+ var rd = Object.defineProperty, od = Object.getOwnPropertyDescriptor, Ki = (r, t, i, s) => {
12440
+ for (var e = s > 1 ? void 0 : s ? od(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12348
12441
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12349
- return s && e && Jh(t, i, e), e;
12442
+ return s && e && rd(t, i, e), e;
12350
12443
  };
12351
- const ed = "sonic-card-header";
12444
+ const nd = "sonic-card-header";
12352
12445
  let ls = class extends x {
12353
12446
  render() {
12354
12447
  return g`
@@ -12356,7 +12449,7 @@ let ls = class extends x {
12356
12449
  ${R(this.label)}
12357
12450
  ${this.description ? g`<sonic-card-header-description
12358
12451
  >${R(this.description)}</sonic-card-header-description
12359
- >` : S}
12452
+ >` : A}
12360
12453
  <slot></slot>
12361
12454
  </div>
12362
12455
  <slot name="suffix"></slot>
@@ -12411,14 +12504,14 @@ Ki([
12411
12504
  a()
12412
12505
  ], ls.prototype, "description", 2);
12413
12506
  ls = Ki([
12414
- P(ed)
12507
+ P(nd)
12415
12508
  ], ls);
12416
- var sd = Object.getOwnPropertyDescriptor, id = (r, t, i, s) => {
12417
- for (var e = s > 1 ? void 0 : s ? sd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12509
+ var ad = Object.getOwnPropertyDescriptor, ld = (r, t, i, s) => {
12510
+ for (var e = s > 1 ? void 0 : s ? ad(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12418
12511
  (n = r[o]) && (e = n(e) || e);
12419
12512
  return e;
12420
12513
  };
12421
- const rd = "sonic-card-main";
12514
+ const cd = "sonic-card-main";
12422
12515
  let yi = class extends x {
12423
12516
  render() {
12424
12517
  return g`<slot></slot>`;
@@ -12431,15 +12524,15 @@ yi.styles = [
12431
12524
  }
12432
12525
  `
12433
12526
  ];
12434
- yi = id([
12435
- P(rd)
12527
+ yi = ld([
12528
+ P(cd)
12436
12529
  ], yi);
12437
- var od = Object.getOwnPropertyDescriptor, nd = (r, t, i, s) => {
12438
- for (var e = s > 1 ? void 0 : s ? od(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12530
+ var hd = Object.getOwnPropertyDescriptor, dd = (r, t, i, s) => {
12531
+ for (var e = s > 1 ? void 0 : s ? hd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12439
12532
  (n = r[o]) && (e = n(e) || e);
12440
12533
  return e;
12441
12534
  };
12442
- const ad = "sonic-card-footer";
12535
+ const ud = "sonic-card-footer";
12443
12536
  let _i = class extends x {
12444
12537
  render() {
12445
12538
  return g` <slot></slot> `;
@@ -12452,8 +12545,8 @@ _i.styles = [
12452
12545
  }
12453
12546
  `
12454
12547
  ];
12455
- _i = nd([
12456
- P(ad)
12548
+ _i = dd([
12549
+ P(ud)
12457
12550
  ], _i);
12458
12551
  const Yi = C`
12459
12552
  :host {
@@ -12480,7 +12573,7 @@ const Yi = C`
12480
12573
  .inherit-color {
12481
12574
  color: var(--sc-_color);
12482
12575
  }
12483
- `, ld = C`
12576
+ `, pd = C`
12484
12577
  :host {
12485
12578
  --sc-_color: inherit;
12486
12579
  --sc-_bg: inherit;
@@ -12544,12 +12637,12 @@ const Yi = C`
12544
12637
  color: inherit;
12545
12638
  }
12546
12639
  `;
12547
- var cd = Object.defineProperty, hd = Object.getOwnPropertyDescriptor, uo = (r, t, i, s) => {
12548
- for (var e = s > 1 ? void 0 : s ? hd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12640
+ var fd = Object.defineProperty, bd = Object.getOwnPropertyDescriptor, bo = (r, t, i, s) => {
12641
+ for (var e = s > 1 ? void 0 : s ? bd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12549
12642
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12550
- return s && e && cd(t, i, e), e;
12643
+ return s && e && fd(t, i, e), e;
12551
12644
  };
12552
- const dd = "sonic-card";
12645
+ const md = "sonic-card";
12553
12646
  let Fs = class extends x {
12554
12647
  constructor() {
12555
12648
  super(...arguments), this.type = "base";
@@ -12559,7 +12652,7 @@ let Fs = class extends x {
12559
12652
  }
12560
12653
  };
12561
12654
  Fs.styles = [
12562
- ld,
12655
+ pd,
12563
12656
  C`
12564
12657
  * {
12565
12658
  box-sizing: border-box;
@@ -12592,18 +12685,18 @@ Fs.styles = [
12592
12685
  }
12593
12686
  `
12594
12687
  ];
12595
- uo([
12688
+ bo([
12596
12689
  a({ type: String, reflect: !0 })
12597
12690
  ], Fs.prototype, "type", 2);
12598
- Fs = uo([
12599
- P(dd)
12691
+ Fs = bo([
12692
+ P(md)
12600
12693
  ], Fs);
12601
- var ud = Object.defineProperty, pd = Object.getOwnPropertyDescriptor, vs = (r, t, i, s) => {
12602
- for (var e = s > 1 ? void 0 : s ? pd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12694
+ var gd = Object.defineProperty, vd = Object.getOwnPropertyDescriptor, vs = (r, t, i, s) => {
12695
+ for (var e = s > 1 ? void 0 : s ? vd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12603
12696
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12604
- return s && e && ud(t, i, e), e;
12697
+ return s && e && gd(t, i, e), e;
12605
12698
  };
12606
- const fd = "sonic-tr";
12699
+ const yd = "sonic-tr";
12607
12700
  let ye = class extends Q(x) {
12608
12701
  constructor() {
12609
12702
  super(...arguments), this._metadata_ = {};
@@ -12650,14 +12743,14 @@ vs([
12650
12743
  a({ type: Boolean, reflect: !0 })
12651
12744
  ], ye.prototype, "last", 2);
12652
12745
  ye = vs([
12653
- P(fd)
12746
+ P(yd)
12654
12747
  ], ye);
12655
- var bd = Object.defineProperty, md = Object.getOwnPropertyDescriptor, Pe = (r, t, i, s) => {
12656
- for (var e = s > 1 ? void 0 : s ? md(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12748
+ var _d = Object.defineProperty, wd = Object.getOwnPropertyDescriptor, Pe = (r, t, i, s) => {
12749
+ for (var e = s > 1 ? void 0 : s ? wd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12657
12750
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12658
- return s && e && bd(t, i, e), e;
12751
+ return s && e && _d(t, i, e), e;
12659
12752
  };
12660
- const gd = "sonic-th";
12753
+ const xd = "sonic-th";
12661
12754
  let Ht = class extends x {
12662
12755
  render() {
12663
12756
  const r = {
@@ -12722,14 +12815,14 @@ Pe([
12722
12815
  a({ type: String })
12723
12816
  ], Ht.prototype, "width", 2);
12724
12817
  Ht = Pe([
12725
- P(gd)
12818
+ P(xd)
12726
12819
  ], Ht);
12727
- var vd = Object.defineProperty, yd = Object.getOwnPropertyDescriptor, oe = (r, t, i, s) => {
12728
- for (var e = s > 1 ? void 0 : s ? yd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12820
+ var Pd = Object.defineProperty, Cd = Object.getOwnPropertyDescriptor, oe = (r, t, i, s) => {
12821
+ for (var e = s > 1 ? void 0 : s ? Cd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12729
12822
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12730
- return s && e && vd(t, i, e), e;
12823
+ return s && e && Pd(t, i, e), e;
12731
12824
  };
12732
- const _d = "sonic-td";
12825
+ const $d = "sonic-td";
12733
12826
  let Tt = class extends x {
12734
12827
  render() {
12735
12828
  const r = {
@@ -12783,14 +12876,14 @@ oe([
12783
12876
  a({ type: String })
12784
12877
  ], Tt.prototype, "width", 2);
12785
12878
  Tt = oe([
12786
- P(_d)
12879
+ P($d)
12787
12880
  ], Tt);
12788
- var wd = Object.getOwnPropertyDescriptor, xd = (r, t, i, s) => {
12789
- for (var e = s > 1 ? void 0 : s ? wd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12881
+ var Sd = Object.getOwnPropertyDescriptor, Ad = (r, t, i, s) => {
12882
+ for (var e = s > 1 ? void 0 : s ? Sd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12790
12883
  (n = r[o]) && (e = n(e) || e);
12791
12884
  return e;
12792
12885
  };
12793
- const Pd = "sonic-thead";
12886
+ const kd = "sonic-thead";
12794
12887
  let wi = class extends x {
12795
12888
  render() {
12796
12889
  return g`<slot></slot>`;
@@ -12803,15 +12896,15 @@ wi.styles = [
12803
12896
  }
12804
12897
  `
12805
12898
  ];
12806
- wi = xd([
12807
- P(Pd)
12899
+ wi = Ad([
12900
+ P(kd)
12808
12901
  ], wi);
12809
- var Cd = Object.getOwnPropertyDescriptor, $d = (r, t, i, s) => {
12810
- for (var e = s > 1 ? void 0 : s ? Cd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12902
+ var Dd = Object.getOwnPropertyDescriptor, Od = (r, t, i, s) => {
12903
+ for (var e = s > 1 ? void 0 : s ? Dd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12811
12904
  (n = r[o]) && (e = n(e) || e);
12812
12905
  return e;
12813
12906
  };
12814
- const Sd = "sonic-tbody";
12907
+ const Ld = "sonic-tbody";
12815
12908
  let xi = class extends x {
12816
12909
  render() {
12817
12910
  return g`<tbody part="tbody">
@@ -12839,15 +12932,15 @@ xi.styles = [
12839
12932
  }
12840
12933
  `
12841
12934
  ];
12842
- xi = $d([
12843
- P(Sd)
12935
+ xi = Od([
12936
+ P(Ld)
12844
12937
  ], xi);
12845
- var Ad = Object.getOwnPropertyDescriptor, kd = (r, t, i, s) => {
12846
- for (var e = s > 1 ? void 0 : s ? Ad(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12938
+ var Ed = Object.getOwnPropertyDescriptor, Td = (r, t, i, s) => {
12939
+ for (var e = s > 1 ? void 0 : s ? Ed(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12847
12940
  (n = r[o]) && (e = n(e) || e);
12848
12941
  return e;
12849
12942
  };
12850
- const Dd = "sonic-tfoot";
12943
+ const Nd = "sonic-tfoot";
12851
12944
  let Pi = class extends x {
12852
12945
  render() {
12853
12946
  return g`<tfoot>
@@ -12862,15 +12955,15 @@ Pi.styles = [
12862
12955
  }
12863
12956
  `
12864
12957
  ];
12865
- Pi = kd([
12866
- P(Dd)
12958
+ Pi = Td([
12959
+ P(Nd)
12867
12960
  ], Pi);
12868
- var Od = Object.getOwnPropertyDescriptor, Ld = (r, t, i, s) => {
12869
- for (var e = s > 1 ? void 0 : s ? Od(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12961
+ var Id = Object.getOwnPropertyDescriptor, Md = (r, t, i, s) => {
12962
+ for (var e = s > 1 ? void 0 : s ? Id(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12870
12963
  (n = r[o]) && (e = n(e) || e);
12871
12964
  return e;
12872
12965
  };
12873
- const Ed = "sonic-caption";
12966
+ const Fd = "sonic-caption";
12874
12967
  let Ci = class extends x {
12875
12968
  render() {
12876
12969
  return g`<slot></slot>`;
@@ -12886,15 +12979,15 @@ Ci.styles = [
12886
12979
  }
12887
12980
  `
12888
12981
  ];
12889
- Ci = Ld([
12890
- P(Ed)
12982
+ Ci = Md([
12983
+ P(Fd)
12891
12984
  ], Ci);
12892
- var Td = Object.defineProperty, Nd = Object.getOwnPropertyDescriptor, ze = (r, t, i, s) => {
12893
- for (var e = s > 1 ? void 0 : s ? Nd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12985
+ var jd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor, ze = (r, t, i, s) => {
12986
+ for (var e = s > 1 ? void 0 : s ? Rd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12894
12987
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12895
- return s && e && Td(t, i, e), e;
12988
+ return s && e && jd(t, i, e), e;
12896
12989
  };
12897
- const Id = "sonic-table";
12990
+ const zd = "sonic-table";
12898
12991
  let te = class extends x {
12899
12992
  render() {
12900
12993
  const r = {
@@ -12978,35 +13071,35 @@ ze([
12978
13071
  a({ type: String })
12979
13072
  ], te.prototype, "maxHeight", 2);
12980
13073
  te = ze([
12981
- P(Id)
13074
+ P(zd)
12982
13075
  ], te);
12983
- const po = "AES-CBC", Md = 256;
12984
- async function Fd() {
13076
+ const mo = "AES-CBC", Ud = 256;
13077
+ async function Vd() {
12985
13078
  return crypto.subtle.generateKey(
12986
13079
  {
12987
- name: po,
12988
- length: Md
13080
+ name: mo,
13081
+ length: Ud
12989
13082
  },
12990
13083
  !0,
12991
13084
  // extractable
12992
13085
  ["encrypt", "decrypt"]
12993
13086
  );
12994
13087
  }
12995
- function jd(r) {
13088
+ function Bd(r) {
12996
13089
  return btoa(String.fromCharCode(...new Uint8Array(r)));
12997
13090
  }
12998
- async function Rd(r, t, i) {
13091
+ async function Hd(r, t, i) {
12999
13092
  const s = new TextEncoder().encode(r), e = await crypto.subtle.encrypt(
13000
13093
  {
13001
- name: po,
13094
+ name: mo,
13002
13095
  iv: i.buffer
13003
13096
  },
13004
13097
  t,
13005
13098
  s
13006
13099
  );
13007
- return jd(e);
13100
+ return Bd(e);
13008
13101
  }
13009
- const zd = C`
13102
+ const qd = C`
13010
13103
  @keyframes altcha-spinner {
13011
13104
  to {
13012
13105
  transform: rotate(360deg);
@@ -13230,14 +13323,14 @@ const zd = C`
13230
13323
  transform-origin: center;
13231
13324
  }
13232
13325
  `;
13233
- var Ud = Object.defineProperty, Vd = Object.getOwnPropertyDescriptor, Xs = (r, t, i, s) => {
13234
- for (var e = s > 1 ? void 0 : s ? Vd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
13326
+ var Wd = Object.defineProperty, Kd = Object.getOwnPropertyDescriptor, Xs = (r, t, i, s) => {
13327
+ for (var e = s > 1 ? void 0 : s ? Kd(t, i) : t, o = r.length - 1, n; o >= 0; o--)
13235
13328
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
13236
- return s && e && Ud(t, i, e), e;
13329
+ return s && e && Wd(t, i, e), e;
13237
13330
  };
13238
- const Bd = "supersoniks_altcha", Hd = "Si2\\]X8M4!n9DCLd";
13331
+ const Yd = "supersoniks_altcha", Zd = "Si2\\]X8M4!n9DCLd";
13239
13332
  let Or = !1;
13240
- const qd = "sonic-captcha";
13333
+ const Gd = "sonic-captcha";
13241
13334
  let Le = class extends ie(x) {
13242
13335
  constructor() {
13243
13336
  super(...arguments), this.key = "", this.action = null, this.zIndex = 9999, this.onCaptchaTokenChanged = (r) => {
@@ -13273,12 +13366,12 @@ let Le = class extends ie(x) {
13273
13366
  }
13274
13367
  async generateEncryptedKey() {
13275
13368
  if (this.key) return;
13276
- const r = await Fd(), t = new TextEncoder().encode(Hd), i = await Rd(Bd, r, t);
13369
+ const r = await Vd(), t = new TextEncoder().encode(Zd), i = await Hd(Yd, r, t);
13277
13370
  this.key = i;
13278
13371
  }
13279
13372
  render() {
13280
13373
  if (!this.key)
13281
- return S;
13374
+ return A;
13282
13375
  const t = Zt.getLanguage().match("^fr\\b") ? {
13283
13376
  aria: "Visitez altcha.org",
13284
13377
  error: "La vérification a échoué, réessayez plus tard.",
@@ -13314,7 +13407,7 @@ let Le = class extends ie(x) {
13314
13407
  }
13315
13408
  };
13316
13409
  Le.styles = [
13317
- zd,
13410
+ qd,
13318
13411
  C`
13319
13412
  :host {
13320
13413
  --altcha-border-width: var(--sc-border-width, 1px);
@@ -13346,7 +13439,7 @@ Xs([
13346
13439
  a({ type: Number })
13347
13440
  ], Le.prototype, "zIndex", 2);
13348
13441
  Le = Xs([
13349
- P(qd)
13442
+ P(Gd)
13350
13443
  ], Le);
13351
13444
  window.queueMicrotask = window.queueMicrotask || function(r) {
13352
13445
  Promise.resolve().then(r).catch(
@@ -13355,7 +13448,7 @@ window.queueMicrotask = window.queueMicrotask || function(r) {
13355
13448
  })
13356
13449
  );
13357
13450
  };
13358
- class Wd extends Ni {
13451
+ class Xd extends Ni {
13359
13452
  /* eslint-disable @typescript-eslint/no-explicit-any*/
13360
13453
  constructor(t) {
13361
13454
  super(t), this.observables = /* @__PURE__ */ new Set(), this.cleanupWatchers = [], this.onAssign = (i) => {
@@ -13432,22 +13525,22 @@ class Wd extends Ni {
13432
13525
  this.pathTemplate && this.setupSubscription();
13433
13526
  }
13434
13527
  }
13435
- const fo = se(Wd), Kd = fo, Yd = fo;
13528
+ const go = se(Xd), Qd = go, Jd = go;
13436
13529
  window["concorde-directives-data-provider"] = window["concorde-directives-data-provider"] || {};
13437
13530
  window["concorde-directives-data-provider"] = {
13438
13531
  dp: Rs,
13439
- dataProvider: xo,
13440
- sub: Yd,
13441
- subscribe: Kd,
13442
- get: wo,
13443
- set: Po
13532
+ dataProvider: $o,
13533
+ sub: Jd,
13534
+ subscribe: Qd,
13535
+ get: Co,
13536
+ set: So
13444
13537
  };
13445
- const Zd = L, Gd = N;
13538
+ const tu = L, eu = N;
13446
13539
  window["concorde-components"] = window["concorde-components"] || {};
13447
13540
  window["concorde-components"] = {
13448
- SonicToast: Zd,
13449
- SonicModal: Gd
13541
+ SonicToast: tu,
13542
+ SonicModal: eu
13450
13543
  };
13451
- const Xd = window;
13452
- Xd.concordeIsLoaded = !0;
13544
+ const su = window;
13545
+ su.concordeIsLoaded = !0;
13453
13546
  window.dispatchEvent(new CustomEvent("concorde-loaded"));