@supersoniks/concorde 3.1.64 → 3.1.66

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.
Files changed (229) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +89 -71
  3. package/concorde-core.es.js +484 -433
  4. package/dist/concorde-core.bundle.js +89 -71
  5. package/dist/concorde-core.es.js +484 -433
  6. package/index.html +0 -0
  7. package/package.json +1 -1
  8. package/scripts/create-search.js +0 -0
  9. package/scripts/generate-routes.js +0 -0
  10. package/src/core/_types/types.ts +0 -0
  11. package/src/core/components/functional/date/date.ts +0 -0
  12. package/src/core/components/functional/functional.ts +0 -0
  13. package/src/core/components/functional/if/if.md +0 -0
  14. package/src/core/components/functional/if/if.test.ts +0 -0
  15. package/src/core/components/functional/list/list.demo.ts +0 -0
  16. package/src/core/components/functional/list/list.spec.ts +0 -0
  17. package/src/core/components/functional/list/list.ts +13 -4
  18. package/src/core/components/functional/queue/queue.demo.ts +0 -0
  19. package/src/core/components/functional/queue/queue.ts +2 -0
  20. package/src/core/components/functional/router/router.demo.ts +0 -0
  21. package/src/core/components/functional/router/router.md +0 -0
  22. package/src/core/components/functional/router/router.spec.ts +0 -0
  23. package/src/core/components/functional/router/router.ts +0 -0
  24. package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
  25. package/src/core/components/functional/states/states.demo.ts +0 -0
  26. package/src/core/components/functional/states/states.md +0 -0
  27. package/src/core/components/functional/states/states.spec.ts +0 -0
  28. package/src/core/components/functional/states/states.ts +0 -0
  29. package/src/core/components/functional/submit/submit.ts +0 -0
  30. package/src/core/components/functional/translation/translation.ts +0 -0
  31. package/src/core/components/ui/_css/scroll.ts +0 -0
  32. package/src/core/components/ui/_css/shadow.ts +0 -0
  33. package/src/core/components/ui/_css/size.ts +0 -0
  34. package/src/core/components/ui/_css/type.ts +0 -0
  35. package/src/core/components/ui/alert/alert.md +0 -0
  36. package/src/core/components/ui/alert/alert.ts +0 -0
  37. package/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  38. package/src/core/components/ui/badge/badge.md +0 -0
  39. package/src/core/components/ui/badge/badge.ts +0 -0
  40. package/src/core/components/ui/button/button.md +0 -0
  41. package/src/core/components/ui/button/button.ts +0 -0
  42. package/src/core/components/ui/captcha/captcha.md +0 -0
  43. package/src/core/components/ui/captcha/captcha.ts +0 -0
  44. package/src/core/components/ui/card/card-footer.ts +0 -0
  45. package/src/core/components/ui/card/card-header-descripton.ts +0 -0
  46. package/src/core/components/ui/card/card-header.ts +0 -0
  47. package/src/core/components/ui/card/card-main.ts +0 -0
  48. package/src/core/components/ui/card/card.md +0 -0
  49. package/src/core/components/ui/card/card.ts +0 -0
  50. package/src/core/components/ui/divider/divider.ts +0 -0
  51. package/src/core/components/ui/form/checkbox/checkbox.md +15 -5
  52. package/src/core/components/ui/form/checkbox/checkbox.ts +1 -1
  53. package/src/core/components/ui/form/css/form-control.ts +1 -2
  54. package/src/core/components/ui/form/fieldset/fieldset.ts +1 -0
  55. package/src/core/components/ui/form/fieldset/legend-description.ts +7 -0
  56. package/src/core/components/ui/form/fieldset/legend.ts +7 -1
  57. package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
  58. package/src/core/components/ui/form/input/input.md +0 -0
  59. package/src/core/components/ui/form/input/input.ts +0 -0
  60. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +0 -0
  61. package/src/core/components/ui/form/radio/radio.md +0 -0
  62. package/src/core/components/ui/form/radio/radio.ts +0 -0
  63. package/src/core/components/ui/form/select/select.md +0 -0
  64. package/src/core/components/ui/form/select/select.ts +10 -5
  65. package/src/core/components/ui/form/switch/switch.md +0 -0
  66. package/src/core/components/ui/form/switch/switch.ts +0 -0
  67. package/src/core/components/ui/form/textarea/textarea.ts +0 -0
  68. package/src/core/components/ui/icon/icon.ts +0 -0
  69. package/src/core/components/ui/icon/icons.ts +0 -0
  70. package/src/core/components/ui/image/image.md +0 -0
  71. package/src/core/components/ui/image/image.ts +0 -0
  72. package/src/core/components/ui/loader/loader.md +0 -0
  73. package/src/core/components/ui/loader/loader.ts +0 -0
  74. package/src/core/components/ui/loader/styles/fixed.ts +0 -0
  75. package/src/core/components/ui/loader/styles/inline.ts +0 -0
  76. package/src/core/components/ui/menu/menu.ts +0 -0
  77. package/src/core/components/ui/modal/modal-actions.ts +0 -0
  78. package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
  79. package/src/core/components/ui/modal/modal-title.ts +0 -0
  80. package/src/core/components/ui/modal/modal.md +0 -0
  81. package/src/core/components/ui/modal/modal.ts +0 -0
  82. package/src/core/components/ui/pop/pop.ts +0 -0
  83. package/src/core/components/ui/progress/progress.ts +0 -0
  84. package/src/core/components/ui/table/table-tbody.ts +0 -0
  85. package/src/core/components/ui/table/table-th.ts +0 -0
  86. package/src/core/components/ui/table/table.ts +0 -0
  87. package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
  88. package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
  89. package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
  90. package/src/core/components/ui/theme/theme.ts +0 -0
  91. package/src/core/components/ui/toast/toast-item.ts +0 -0
  92. package/src/core/components/ui/toast/toast.ts +2 -4
  93. package/src/core/components/ui/tooltip/tooltip.ts +0 -0
  94. package/src/core/components/ui/ui.ts +0 -0
  95. package/src/core/directives/DataProvider.ts +0 -0
  96. package/src/core/directives/Wording.ts +0 -0
  97. package/src/core/mixins/Fetcher.ts +0 -0
  98. package/src/core/mixins/FormCheckable.ts +4 -3
  99. package/src/core/mixins/FormElement.ts +11 -0
  100. package/src/core/mixins/Subscriber.ts +4 -8
  101. package/src/core/mixins/TemplatesContainer.ts +0 -0
  102. package/src/core/utils/HTML.ts +0 -0
  103. package/src/core/utils/LocationHandler.ts +0 -0
  104. package/src/core/utils/Objects.ts +0 -0
  105. package/src/core/utils/PublisherProxy.ts +47 -4
  106. package/src/core/utils/Utils.ts +0 -0
  107. package/src/core/utils/aesCrypto.ts +0 -0
  108. package/src/core/utils/api.ts +0 -0
  109. package/src/core/utils/route.spec.ts +0 -0
  110. package/src/core/utils/route.ts +0 -0
  111. package/src/docs/code.ts +0 -0
  112. package/src/docs/docs.ts +0 -0
  113. package/src/docs/header/header.ts +0 -0
  114. package/src/docs/layout.ts +0 -0
  115. package/src/docs/navigation/navigation.ts +0 -0
  116. package/src/docs/search/docs-search.json +0 -0
  117. package/src/docs/search/markdown-renderer.ts +0 -0
  118. package/src/docs/search/page.ts +0 -0
  119. package/src/docs/search/search.ts +0 -0
  120. package/src/docs/tailwind/css/tailwind.css +0 -0
  121. package/src/docs/tailwind/css.d.ts +0 -0
  122. package/src/index.ts +0 -0
  123. package/src/test-utils/TestUtils.ts +0 -0
  124. package/src/tsconfig-model.json +0 -0
  125. package/src/tsconfig.json +0 -0
  126. package/src/tsconfig.tsbuildinfo +0 -0
  127. package/tailwind.config.js +0 -0
  128. package/templates-test.html +0 -0
  129. package/vite/config.js +0 -0
  130. package/vite.config.mts +0 -0
  131. package/docs/assets/index-D9bBwsCn.js +0 -4537
  132. package/docs/assets/index-DCRPZO3x.css +0 -1
  133. package/docs/css/docs.css +0 -0
  134. package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
  135. package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
  136. package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
  137. package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
  138. package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
  139. package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
  140. package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
  141. package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  142. package/docs/fonts/ClashGrotesk-Light.eot +0 -0
  143. package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
  144. package/docs/fonts/ClashGrotesk-Light.woff +0 -0
  145. package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
  146. package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
  147. package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
  148. package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
  149. package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
  150. package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
  151. package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
  152. package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
  153. package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
  154. package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
  155. package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
  156. package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
  157. package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  158. package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
  159. package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
  160. package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
  161. package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
  162. package/docs/img/concorde-icon.svg +0 -5
  163. package/docs/img/concorde-logo.svg +0 -1
  164. package/docs/img/concorde.png +0 -0
  165. package/docs/img/concorde_def.png +0 -0
  166. package/docs/img/concorde_seuil.png.webp +0 -0
  167. package/docs/img/concorde_seuil_invert.png +0 -0
  168. package/docs/img/paul_metrand.jpg +0 -0
  169. package/docs/img/paul_metrand_xs.jpg +0 -0
  170. package/docs/index.html +0 -93
  171. package/docs/src/core/components/functional/date/date.md +0 -290
  172. package/docs/src/core/components/functional/fetch/fetch.md +0 -117
  173. package/docs/src/core/components/functional/if/if.md +0 -16
  174. package/docs/src/core/components/functional/list/list.md +0 -199
  175. package/docs/src/core/components/functional/mix/mix.md +0 -41
  176. package/docs/src/core/components/functional/queue/queue.md +0 -87
  177. package/docs/src/core/components/functional/router/router.md +0 -108
  178. package/docs/src/core/components/functional/sdui/default-library.json +0 -108
  179. package/docs/src/core/components/functional/sdui/example.json +0 -99
  180. package/docs/src/core/components/functional/sdui/sdui.md +0 -356
  181. package/docs/src/core/components/functional/states/states.md +0 -87
  182. package/docs/src/core/components/functional/submit/submit.md +0 -83
  183. package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
  184. package/docs/src/core/components/functional/value/value.md +0 -35
  185. package/docs/src/core/components/ui/alert/alert.md +0 -121
  186. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  187. package/docs/src/core/components/ui/badge/badge.md +0 -127
  188. package/docs/src/core/components/ui/button/button.md +0 -182
  189. package/docs/src/core/components/ui/captcha/captcha.md +0 -12
  190. package/docs/src/core/components/ui/card/card.md +0 -97
  191. package/docs/src/core/components/ui/divider/divider.md +0 -35
  192. package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -94
  193. package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
  194. package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
  195. package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
  196. package/docs/src/core/components/ui/form/input/input.md +0 -167
  197. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -130
  198. package/docs/src/core/components/ui/form/radio/radio.md +0 -84
  199. package/docs/src/core/components/ui/form/select/select.md +0 -97
  200. package/docs/src/core/components/ui/form/switch/switch.md +0 -84
  201. package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
  202. package/docs/src/core/components/ui/group/group.md +0 -75
  203. package/docs/src/core/components/ui/icon/icon.md +0 -125
  204. package/docs/src/core/components/ui/icon/icons.json +0 -1
  205. package/docs/src/core/components/ui/image/image.md +0 -107
  206. package/docs/src/core/components/ui/link/link.md +0 -43
  207. package/docs/src/core/components/ui/loader/loader.md +0 -67
  208. package/docs/src/core/components/ui/menu/menu.md +0 -288
  209. package/docs/src/core/components/ui/modal/modal.md +0 -123
  210. package/docs/src/core/components/ui/pop/pop.md +0 -79
  211. package/docs/src/core/components/ui/progress/progress.md +0 -63
  212. package/docs/src/core/components/ui/table/table.md +0 -455
  213. package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
  214. package/docs/src/docs/_core-concept/overview.md +0 -57
  215. package/docs/src/docs/_core-concept/subscriber.md +0 -76
  216. package/docs/src/docs/_getting-started/concorde-outside.md +0 -143
  217. package/docs/src/docs/_getting-started/create-a-component.md +0 -137
  218. package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -174
  219. package/docs/src/docs/_getting-started/pubsub.md +0 -150
  220. package/docs/src/docs/_getting-started/start.md +0 -39
  221. package/docs/src/docs/_getting-started/theming.md +0 -91
  222. package/docs/src/docs/search/docs-search.json +0 -3902
  223. package/docs/src/tag-list.json +0 -1
  224. package/docs/src/tsconfig-model.json +0 -23
  225. package/docs/src/tsconfig.json +0 -835
  226. package/docs/svg/regular/plane.svg +0 -1
  227. package/docs/svg/solid/plane.svg +0 -1
  228. package/php/get-challenge.php +0 -34
  229. package/php/some-service.php +0 -42
@@ -175,13 +175,13 @@ function $s(r) {
175
175
  function Ye(r) {
176
176
  return typeof r == "object" && r != null;
177
177
  }
178
- let Ee = "sonic";
179
- typeof __SONIC_PREFIX__ > "u" && (Ee = "sonic" + Math.floor(Math.random() * 1e6));
180
- const si = Ee == "sonic" ? "publisher-proxies-data" : Ee + "-publisher-proxies-data";
178
+ let Le = "sonic";
179
+ typeof __SONIC_PREFIX__ > "u" && (Le = "sonic" + Math.floor(Math.random() * 1e6));
180
+ const si = Le == "sonic" ? "publisher-proxies-data" : Le + "-publisher-proxies-data";
181
181
  var Dt;
182
182
  let Ii = (Dt = class {
183
183
  constructor(t, s, i) {
184
- for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._expiration_delay_ = 1e3 * 60 * 60 * 12, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = t, this.parent = s || null, this._parentKey_ = i, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
184
+ for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._expiration_delay_ = 1e3 * 60 * 60 * 12, this._invalidate_on_page_show_ = !1, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = t, this.parent = s || null, this._parentKey_ = i, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
185
185
  this.root = this.root.parent;
186
186
  }
187
187
  /**
@@ -203,11 +203,11 @@ let Ii = (Dt = class {
203
203
  _publishInternalMutation_(t = !1) {
204
204
  if (this._mutationListeners_.forEach(
205
205
  (s) => s()
206
- ), this._is_savable_ && !M.changed) {
207
- M.changed = !0, M.saveId++;
208
- const s = M.saveId;
206
+ ), this._is_savable_ && !N.changed) {
207
+ N.changed = !0, N.saveId++;
208
+ const s = N.saveId;
209
209
  setTimeout(
210
- () => M.getInstance().saveToLocalStorage(s),
210
+ () => N.getInstance().saveToLocalStorage(s),
211
211
  1e3
212
212
  );
213
213
  }
@@ -355,7 +355,9 @@ let Ii = (Dt = class {
355
355
  this.parent._value_[this._parentKey_] = a;
356
356
  }
357
357
  if (i)
358
- return this._publishAssignement_(s), this.parent && this._parentKey_ && this.parent._publishDynamicFilling_(
358
+ return this._proxies_.forEach((a, c) => {
359
+ c != "_parent_" && (a.set(null), this._publishDynamicFilling_(c, null));
360
+ }), this._publishAssignement_(s), this.parent && this._parentKey_ && this.parent._publishDynamicFilling_(
359
361
  this._parentKey_,
360
362
  this._value_.__value
361
363
  ), !0;
@@ -380,7 +382,7 @@ let Ii = (Dt = class {
380
382
  }
381
383
  get() {
382
384
  if (this._cachedGet_ !== void 0) return this._cachedGet_;
383
- if (M.modifiedCollectore.length > 0 && M.modifiedCollectore[0].add(this), Object.prototype.hasOwnProperty.call(this._value_, "__value")) {
385
+ if (N.modifiedCollectore.length > 0 && N.modifiedCollectore[0].add(this), Object.prototype.hasOwnProperty.call(this._value_, "__value")) {
384
386
  const t = this._value_.__value;
385
387
  return this._cachedGet_ = t ?? null;
386
388
  }
@@ -390,15 +392,20 @@ let Ii = (Dt = class {
390
392
  * retourner le webcomponent auquel le proxy est associé
391
393
  */
392
394
  get $tag() {
393
- return this._instanceCounter_ || (Dt.instancesCounter++, this._instanceCounter_ = Dt.instancesCounter), Dt.instances.set(this._instanceCounter_, this), "<" + Ee + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Ee + "-publisher-proxy>";
395
+ return this._instanceCounter_ || (Dt.instancesCounter++, this._instanceCounter_ = Dt.instancesCounter), Dt.instances.set(this._instanceCounter_, this), "<" + Le + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Le + "-publisher-proxy>";
394
396
  }
395
397
  }, Dt.instances = /* @__PURE__ */ new Map(), Dt.instancesCounter = 0, Dt);
396
398
  var k;
397
- let M = (k = class {
399
+ let N = (k = class {
398
400
  constructor() {
399
401
  if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], k.instance != null) throw "Singleton / use getInstance";
400
402
  k.instance = this, this.isLocalStrorageReady = this.cleanStorageData();
401
403
  }
404
+ invalidateAll() {
405
+ this.publishers.forEach((t) => {
406
+ t._invalidate_on_page_show_ && t.invalidate();
407
+ });
408
+ }
402
409
  async cleanStorageData() {
403
410
  return new Promise((t) => {
404
411
  (async () => {
@@ -476,13 +483,13 @@ let M = (k = class {
476
483
  );
477
484
  }
478
485
  get(t, s) {
479
- const i = (s == null ? void 0 : s.localStorageMode) === "enabled";
486
+ const i = (s == null ? void 0 : s.localStorageMode) === "enabled", e = (s == null ? void 0 : s.invalidateOnPageShow) === !0;
480
487
  if (!this.publishers.has(t)) {
481
- const o = {}, n = new ts(o);
482
- this.set(t, n);
488
+ const n = {}, a = new ts(n);
489
+ this.set(t, a);
483
490
  }
484
- const e = this.publishers.get(t);
485
- return i && this.initialisedData.indexOf(t) === -1 && (s != null && s.expirationDelayMs && (e._expiration_delay_ = s.expirationDelayMs), e._is_savable_ = !0, this.initialisedData.push(t), this.setLocalData(e, t)), this.publishers.get(t);
491
+ const o = this.publishers.get(t);
492
+ return i && this.initialisedData.indexOf(t) === -1 && (s != null && s.expirationDelayMs && (o._expiration_delay_ = s.expirationDelayMs), o._is_savable_ = !0, this.initialisedData.push(t), this.setLocalData(o, t)), e && (o._invalidate_on_page_show_ = e), this.publishers.get(t);
486
493
  }
487
494
  /**
488
495
  * Remplace un publisher pour l'id fourni par un autre.
@@ -556,10 +563,10 @@ let M = (k = class {
556
563
  const h = await new Response(a.readable).arrayBuffer();
557
564
  return new TextDecoder().decode(h);
558
565
  }
559
- }, k.buildDate = "Mon Mar 10 2025 10:45:39 GMT+0100 (Central European Standard Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
566
+ }, k.buildDate = "Mon Apr 28 2025 09:43:53 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
560
567
  if (typeof window < "u") {
561
568
  const r = window;
562
- r[Ds + "PublisherManager"] = r[Ds + "PublisherManager"] || M;
569
+ r[Ds + "PublisherManager"] = r[Ds + "PublisherManager"] || N;
563
570
  }
564
571
  const jo = /* @__PURE__ */ new Set([
565
572
  "invalidate",
@@ -602,7 +609,8 @@ const jo = /* @__PURE__ */ new Set([
602
609
  "_expiration_delay_",
603
610
  "_lockInternalMutationPublishing_",
604
611
  "_instanceCounter_",
605
- "_assignmentId_"
612
+ "_assignmentId_",
613
+ "_invalidate_on_page_show_"
606
614
  ]);
607
615
  class ts extends Ii {
608
616
  constructor(t, s = null, i) {
@@ -643,6 +651,8 @@ class ts extends Ii {
643
651
  return o._is_savable_ = a, !0;
644
652
  if (n == "_expiration_delay_")
645
653
  return o._expiration_delay_ = a, !0;
654
+ if (n == "_invalidate_on_page_show_")
655
+ return o._invalidate_on_page_show_ = a, !0;
646
656
  if (n == "_instanceCounter_")
647
657
  return o._instanceCounter_ = a, !0;
648
658
  if (!o._proxies_.has(n)) {
@@ -700,11 +710,14 @@ class Fo extends HTMLElement {
700
710
  }
701
711
  try {
702
712
  customElements.define(
703
- Ee + "-publisher-proxy",
713
+ Le + "-publisher-proxy",
704
714
  Fo
705
715
  );
706
716
  } catch {
707
717
  }
718
+ window.addEventListener("pageshow", (r) => {
719
+ r.persisted && N.getInstance().invalidateAll();
720
+ });
708
721
  var L;
709
722
  let qs = (L = class {
710
723
  static disable() {
@@ -817,7 +830,7 @@ let qs = (L = class {
817
830
  "dataProvider"
818
831
  );
819
832
  if (!s) return;
820
- const i = M.getInstance().get(s), e = L.getDataBindItems(t), o = [];
833
+ const i = N.getInstance().get(s), e = L.getDataBindItems(t), o = [];
821
834
  e.forEach((n) => {
822
835
  const a = n.bindedVariablesDescriptor, c = n.propertyToUpdate;
823
836
  for (const h of a.variables) {
@@ -1031,7 +1044,7 @@ const { is: Uo, defineProperty: Vo, getOwnPropertyDescriptor: Ho, getOwnProperty
1031
1044
  return s;
1032
1045
  } }, zi = (r, t) => !Uo(r, t), hr = { attribute: !0, type: String, converter: ks, reflect: !1, hasChanged: zi };
1033
1046
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Qt.litPropertyMetadata ?? (Qt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1034
- let ke = class extends HTMLElement {
1047
+ let De = class extends HTMLElement {
1035
1048
  static addInitializer(t) {
1036
1049
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
1037
1050
  }
@@ -1229,7 +1242,7 @@ let ke = class extends HTMLElement {
1229
1242
  firstUpdated(t) {
1230
1243
  }
1231
1244
  };
1232
- ke.elementStyles = [], ke.shadowRootOptions = { mode: "open" }, ke[Ze("elementProperties")] = /* @__PURE__ */ new Map(), ke[Ze("finalized")] = /* @__PURE__ */ new Map(), ii == null || ii({ ReactiveElement: ke }), (Qt.reactiveElementVersions ?? (Qt.reactiveElementVersions = [])).push("2.0.4");
1245
+ De.elementStyles = [], De.shadowRootOptions = { mode: "open" }, De[Ze("elementProperties")] = /* @__PURE__ */ new Map(), De[Ze("finalized")] = /* @__PURE__ */ new Map(), ii == null || ii({ ReactiveElement: De }), (Qt.reactiveElementVersions ?? (Qt.reactiveElementVersions = [])).push("2.0.4");
1233
1246
  /**
1234
1247
  * @license
1235
1248
  * Copyright 2017 Google LLC
@@ -1267,7 +1280,7 @@ function l(r) {
1267
1280
  * Copyright 2017 Google LLC
1268
1281
  * SPDX-License-Identifier: BSD-3-Clause
1269
1282
  */
1270
- function N(r) {
1283
+ function T(r) {
1271
1284
  return l({ ...r, state: !0, attribute: !1 });
1272
1285
  }
1273
1286
  /**
@@ -1328,7 +1341,7 @@ function dt(r) {
1328
1341
  * SPDX-License-Identifier: BSD-3-Clause
1329
1342
  */
1330
1343
  const Ge = globalThis, Ls = Ge.trustedTypes, dr = Ls ? Ls.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Ui = "$lit$", Bt = `lit$${Math.random().toFixed(9).slice(2)}$`, Vi = "?" + Bt, Go = `<${Vi}>`, me = document, es = () => me.createComment(""), ss = (r) => r === null || typeof r != "object" && typeof r != "function", Hi = Array.isArray, Kr = (r) => Hi(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ri = `[
1331
- \f\r]`, Be = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, pr = /-->/g, ur = />/g, le = RegExp(`>|${ri}(?:([^\\s"'>=/]+)(${ri}*=${ri}*(?:[^
1344
+ \f\r]`, He = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, pr = /-->/g, ur = />/g, le = RegExp(`>|${ri}(?:([^\\s"'>=/]+)(${ri}*=${ri}*(?:[^
1332
1345
  \f\r"'\`<>=]|("|')|))|$)`, "g"), fr = /'/g, mr = /"/g, Yr = /^(?:script|style|textarea|title)$/i, Xo = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), m = Xo(1), _t = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), gr = /* @__PURE__ */ new WeakMap(), ue = me.createTreeWalker(me, 129);
1333
1346
  function Zr(r, t) {
1334
1347
  if (!Hi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
@@ -1336,13 +1349,13 @@ function Zr(r, t) {
1336
1349
  }
1337
1350
  const Gr = (r, t) => {
1338
1351
  const s = r.length - 1, i = [];
1339
- let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Be;
1352
+ let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = He;
1340
1353
  for (let a = 0; a < s; a++) {
1341
1354
  const c = r[a];
1342
1355
  let h, d, p = -1, g = 0;
1343
- for (; g < c.length && (n.lastIndex = g, d = n.exec(c), d !== null); ) g = n.lastIndex, n === Be ? d[1] === "!--" ? n = pr : d[1] !== void 0 ? n = ur : d[2] !== void 0 ? (Yr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = le) : d[3] !== void 0 && (n = le) : n === le ? d[0] === ">" ? (n = e ?? Be, p = -1) : d[1] === void 0 ? p = -2 : (p = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? le : d[3] === '"' ? mr : fr) : n === mr || n === fr ? n = le : n === pr || n === ur ? n = Be : (n = le, e = void 0);
1356
+ for (; g < c.length && (n.lastIndex = g, d = n.exec(c), d !== null); ) g = n.lastIndex, n === He ? d[1] === "!--" ? n = pr : d[1] !== void 0 ? n = ur : d[2] !== void 0 ? (Yr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = le) : d[3] !== void 0 && (n = le) : n === le ? d[0] === ">" ? (n = e ?? He, p = -1) : d[1] === void 0 ? p = -2 : (p = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? le : d[3] === '"' ? mr : fr) : n === mr || n === fr ? n = le : n === pr || n === ur ? n = He : (n = le, e = void 0);
1344
1357
  const v = n === le && r[a + 1].startsWith("/>") ? " " : "";
1345
- o += n === Be ? c + Go : p >= 0 ? (i.push(h), c.slice(0, p) + Ui + c.slice(p) + Bt + v) : c + Bt + (p === -2 ? a : v);
1358
+ o += n === He ? c + Go : p >= 0 ? (i.push(h), c.slice(0, p) + Ui + c.slice(p) + Bt + v) : c + Bt + (p === -2 ? a : v);
1346
1359
  }
1347
1360
  return [Zr(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
1348
1361
  };
@@ -1561,7 +1574,7 @@ const Jo = (r, t, s) => {
1561
1574
  * Copyright 2020 Google LLC
1562
1575
  * SPDX-License-Identifier: BSD-3-Clause
1563
1576
  */
1564
- const { I: tn } = Qo, en = (r) => r.strings === void 0, br = () => document.createComment(""), qe = (r, t, s) => {
1577
+ const { I: tn } = Qo, en = (r) => r.strings === void 0, br = () => document.createComment(""), Be = (r, t, s) => {
1565
1578
  var o;
1566
1579
  const i = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
1567
1580
  if (s === void 0) {
@@ -1597,8 +1610,8 @@ const { I: tn } = Qo, en = (r) => r.strings === void 0, br = () => document.crea
1597
1610
  * Copyright 2017 Google LLC
1598
1611
  * SPDX-License-Identifier: BSD-3-Clause
1599
1612
  */
1600
- const je = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ae = (r) => (...t) => ({ _$litDirective$: r, values: t });
1601
- let Fe = class {
1613
+ const Ie = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ae = (r) => (...t) => ({ _$litDirective$: r, values: t });
1614
+ let je = class {
1602
1615
  constructor(t) {
1603
1616
  }
1604
1617
  get _$AU() {
@@ -1649,9 +1662,9 @@ function an(r, t = !1, s = 0) {
1649
1662
  else Xe(this, r);
1650
1663
  }
1651
1664
  const ln = (r) => {
1652
- r.type == je.CHILD && (r._$AP ?? (r._$AP = an), r._$AQ ?? (r._$AQ = nn));
1665
+ r.type == Ie.CHILD && (r._$AP ?? (r._$AP = an), r._$AQ ?? (r._$AQ = nn));
1653
1666
  };
1654
- let oo = class extends Fe {
1667
+ let oo = class extends je {
1655
1668
  constructor() {
1656
1669
  super(...arguments), this._$AN = void 0;
1657
1670
  }
@@ -1679,7 +1692,7 @@ let oo = class extends Fe {
1679
1692
  * Copyright 2017 Google LLC
1680
1693
  * SPDX-License-Identifier: BSD-3-Clause
1681
1694
  */
1682
- let w = class extends ke {
1695
+ let w = class extends De {
1683
1696
  constructor() {
1684
1697
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1685
1698
  }
@@ -1712,11 +1725,11 @@ ai == null || ai({ LitElement: w });
1712
1725
  function Ks(r) {
1713
1726
  if (typeof r == "function") {
1714
1727
  const t = r;
1715
- return M.collectModifiedPublisher(), t(), M.getModifiedPublishers() || /* @__PURE__ */ new Set();
1728
+ return N.collectModifiedPublisher(), t(), N.getModifiedPublishers() || /* @__PURE__ */ new Set();
1716
1729
  }
1717
1730
  if (typeof r == "string") {
1718
1731
  const t = r.split("."), s = t.shift() || "";
1719
- let i = M.get(s);
1732
+ let i = N.get(s);
1720
1733
  i = et.traverse(i, t);
1721
1734
  const e = /* @__PURE__ */ new Set();
1722
1735
  return e.add(i), e;
@@ -1814,7 +1827,7 @@ const no = Ae(cn), hn = no, dn = no, pn = (r) => {
1814
1827
  s.method,
1815
1828
  s.additionalHeaders
1816
1829
  ));
1817
- const n = M.get("sonic-api");
1830
+ const n = N.get("sonic-api");
1818
1831
  return n.lastResponse = {
1819
1832
  http: t,
1820
1833
  processed: o
@@ -1864,7 +1877,7 @@ const no = Ae(cn), hn = no, dn = no, pn = (r) => {
1864
1877
  */
1865
1878
  async localGet(t, s) {
1866
1879
  var p;
1867
- const i = M.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
1880
+ const i = N.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
1868
1881
  let n = [];
1869
1882
  Array.isArray(o) ? n = o : n = [o];
1870
1883
  const a = [];
@@ -2024,7 +2037,7 @@ const no = Ae(cn), hn = no, dn = no, pn = (r) => {
2024
2037
  }
2025
2038
  };
2026
2039
  z.loadingGetPromises = /* @__PURE__ */ new Map(), z.tokens = /* @__PURE__ */ new Map(), z.invalidTokens = [], z.failledTokenUpdates = /* @__PURE__ */ new Map(), z.firstCallDoneFlags = /* @__PURE__ */ new Map();
2027
- let Ne = z;
2040
+ let Ee = z;
2028
2041
  tt.getApiConfiguration(
2029
2042
  document.body || document.documentElement
2030
2043
  );
@@ -2035,9 +2048,9 @@ const mn = async (r, t) => {
2035
2048
  * Copyright 2017 Google LLC
2036
2049
  * SPDX-License-Identifier: BSD-3-Clause
2037
2050
  */
2038
- let mi = class extends Fe {
2051
+ let mi = class extends je {
2039
2052
  constructor(t) {
2040
- if (super(t), this.it = A, t.type !== je.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2053
+ if (super(t), this.it = A, t.type !== Ie.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2041
2054
  }
2042
2055
  render(t) {
2043
2056
  if (t === A || t == null) return this._t = void 0, this.it = t;
@@ -2070,7 +2083,7 @@ const R = Ae(mi), gi = /* @__PURE__ */ new Map(), vr = (r) => {
2070
2083
  break;
2071
2084
  }
2072
2085
  return o || (o = {
2073
- api: new Ne(t),
2086
+ api: new Ee(t),
2074
2087
  keysToTranslate: /* @__PURE__ */ new Set(),
2075
2088
  translatedKeys: /* @__PURE__ */ new Set(),
2076
2089
  wordingProvider: s,
@@ -2094,7 +2107,7 @@ const R = Ae(mi), gi = /* @__PURE__ */ new Map(), vr = (r) => {
2094
2107
  return this.useUnsafeHTML = s, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), _t;
2095
2108
  }
2096
2109
  static async callApi(t, s, i = !0, e) {
2097
- if (await M.getInstance().isLocalStrorageReady, B.firstCall) {
2110
+ if (await N.getInstance().isLocalStrorageReady, B.firstCall) {
2098
2111
  B.firstCall = !1, Mi(B.reloadWordings);
2099
2112
  const d = Object.keys(B.publisher.get());
2100
2113
  for (const p of d)
@@ -2183,18 +2196,18 @@ const R = Ae(mi), gi = /* @__PURE__ */ new Map(), vr = (r) => {
2183
2196
  this.key && this.subscribe(this.key);
2184
2197
  }
2185
2198
  };
2186
- B.publisher = M.get("sonic-wording", {
2199
+ B.publisher = N.get("sonic-wording", {
2187
2200
  localStorageMode: "enabled"
2188
2201
  }), B.firstCall = !0, B.versionProviderHandlers = /* @__PURE__ */ new Map();
2189
- let Le = B;
2190
- const gn = Ae(Le), bn = gn;
2202
+ let ke = B;
2203
+ const gn = Ae(ke), bn = gn;
2191
2204
  var vn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, Lt = (r, t, s, i) => {
2192
2205
  for (var e = i > 1 ? void 0 : i ? yn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2193
2206
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2194
2207
  return i && e && vn(t, s, e), e;
2195
2208
  };
2196
2209
  let xs = !1, li = /* @__PURE__ */ new Set();
2197
- const G = (r, t) => {
2210
+ const X = (r, t) => {
2198
2211
  var e;
2199
2212
  const s = (e = class extends r {
2200
2213
  constructor(...n) {
@@ -2253,7 +2266,7 @@ const G = (r, t) => {
2253
2266
  }
2254
2267
  disconnectedCallback() {
2255
2268
  var n;
2256
- this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)), Le.publisher.stopTemplateFilling(this), this.onAssign && ((n = this.publisher) == null || n.offAssign(this.onAssign));
2269
+ this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)), ke.publisher.stopTemplateFilling(this), this.onAssign && ((n = this.publisher) == null || n.offAssign(this.onAssign));
2257
2270
  }
2258
2271
  addDebugger() {
2259
2272
  var n;
@@ -2306,8 +2319,8 @@ const G = (r, t) => {
2306
2319
  async initWording() {
2307
2320
  const n = Object.getOwnPropertyNames(this.constructor.prototype);
2308
2321
  for (const a of n)
2309
- a.indexOf("wording_") == 0 && Le.callApi(this, a.substring(8));
2310
- Le.publisher.startTemplateFilling(this);
2322
+ a.indexOf("wording_") == 0 && ke.callApi(this, a.substring(8));
2323
+ ke.publisher.startTemplateFilling(this);
2311
2324
  }
2312
2325
  /**
2313
2326
  *
@@ -2323,13 +2336,14 @@ const G = (r, t) => {
2323
2336
  initPublisher() {
2324
2337
  if (!document) return;
2325
2338
  this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate), this.onAssign && this.publisher.offAssign(this.onAssign));
2326
- const n = M.getInstance();
2339
+ const n = N.getInstance();
2327
2340
  this.dataProvider || (this.dataProvider = this.getAncestorAttributeValue("dataProvider"));
2328
2341
  let a = this.dataProvider;
2329
2342
  if (!a && this._props && (this.dataProvider = a = "__subscriber__" + e.instanceCounter), a) {
2330
2343
  this.bindPublisher && n.set(a, this.bindPublisher());
2331
2344
  let c = n.get(a, {
2332
- localStorageMode: this.getAttribute("localStorage") || "disabled"
2345
+ localStorageMode: this.getAttribute("localStorage") || "disabled",
2346
+ invalidateOnPageShow: this.hasAttribute("invalidateOnPageShow")
2333
2347
  });
2334
2348
  if (this.dataProvider = a, this.hasAttribute("subDataProvider")) {
2335
2349
  const h = this.getAttribute(
@@ -2364,7 +2378,7 @@ const G = (r, t) => {
2364
2378
  ], s.prototype, "bindPublisher", 2), Lt([
2365
2379
  l()
2366
2380
  ], s.prototype, "props", 1), Lt([
2367
- N()
2381
+ T()
2368
2382
  ], s.prototype, "shouldRenderLazy", 2), s;
2369
2383
  };
2370
2384
  var _n = Object.defineProperty, wn = (r, t, s, i) => {
@@ -2397,7 +2411,7 @@ var $n = Object.defineProperty, xn = Object.getOwnPropertyDescriptor, Z = (r, t,
2397
2411
  };
2398
2412
  const Pn = "sonic-date";
2399
2413
  Mi(() => U.updateComponentsLanguage());
2400
- let U = class extends G(ds(w)) {
2414
+ let U = class extends X(ds(w)) {
2401
2415
  constructor() {
2402
2416
  super(...arguments), this.pageLanguage = "fr", this.duAu = [], this._wording_billet_periode_validite = "", this.designMode = null, this.time_zone = null, this.date = null, this.date_string = null, this.start_date_string = null, this.end_date_string = null, this.start_date = 0, this.computedStartDate = 0, this.end_date = 0, this.computedEndDate = 0, this.hide_hours = !1, this.era = "", this.year = "numeric", this.month = "short", this.day = "2-digit", this.weekday = "short", this.hour = "2-digit", this.hour12 = !1, this.minute = "2-digit", this.language = "", this.renderIf = !0, this.now = !1, this.startDateObject = /* @__PURE__ */ new Date(), this.endDateObject = /* @__PURE__ */ new Date();
2403
2417
  }
@@ -2638,10 +2652,10 @@ let at = (K = class {
2638
2652
  * Copyright 2018 Google LLC
2639
2653
  * SPDX-License-Identifier: BSD-3-Clause
2640
2654
  */
2641
- const co = "important", An = " !" + co, gt = Ae(class extends Fe {
2655
+ const co = "important", An = " !" + co, gt = Ae(class extends je {
2642
2656
  constructor(r) {
2643
2657
  var t;
2644
- if (super(r), r.type !== je.ATTRIBUTE || r.name !== "style" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
2658
+ if (super(r), r.type !== Ie.ATTRIBUTE || r.name !== "style" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
2645
2659
  }
2646
2660
  render(r) {
2647
2661
  return Object.keys(r).reduce((t, s) => {
@@ -2669,7 +2683,7 @@ var Cn = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, Et = (r, t
2669
2683
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2670
2684
  return i && e && Cn(t, s, e), e;
2671
2685
  };
2672
- const Ps = /* @__PURE__ */ new Map(), ze = (r) => {
2686
+ const Ps = /* @__PURE__ */ new Map(), Fe = (r) => {
2673
2687
  class t extends r {
2674
2688
  constructor(...i) {
2675
2689
  super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = null, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
@@ -2689,11 +2703,14 @@ const Ps = /* @__PURE__ */ new Map(), ze = (r) => {
2689
2703
  }
2690
2704
  validateFormElement() {
2691
2705
  }
2706
+ unsetOnDisconnect() {
2707
+ return this.hasAttribute("unsetOnDisconnect");
2708
+ }
2692
2709
  updateDataValue() {
2693
2710
  this.getAttribute("name") && this.getFormPublisher() && (this.setFormPublisherValue(this.getValueForFormPublisher()), this.setFormValueFromPublisher(this.getFormPublisherValue()));
2694
2711
  }
2695
2712
  getFormPublisher() {
2696
- return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ? M.get(this.formDataProvider) : null;
2713
+ return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ? N.get(this.formDataProvider) : null;
2697
2714
  }
2698
2715
  setFormPublisherValue(i) {
2699
2716
  const e = this.getFormPublisher();
@@ -2806,8 +2823,11 @@ const Ps = /* @__PURE__ */ new Map(), ze = (r) => {
2806
2823
  "formDataProvider"
2807
2824
  ), super.connectedCallback(), this.addKeyboardNavigation();
2808
2825
  }
2826
+ unset() {
2827
+ this.value = null;
2828
+ }
2809
2829
  disconnectedCallback() {
2810
- super.disconnectedCallback(), this._name && this.publisher && pt(this.publisher, this._name).offAssign(
2830
+ this.unsetOnDisconnect() && this.unset(), super.disconnectedCallback(), this._name && this.publisher && pt(this.publisher, this._name).offAssign(
2811
2831
  this.onValueAssign
2812
2832
  );
2813
2833
  const i = this.getFormPublisher();
@@ -3024,11 +3044,11 @@ var bi = { exports: {} };
3024
3044
  return u == null && (u = f()), u(_);
3025
3045
  };
3026
3046
  }, i.baseMany = function(f, u, _, C, O) {
3027
- var E, H, W, St;
3028
- for (W = O, St = _ ? "" : []; !(u != null && (E = u(W), E != null) || (H = f(W), H == null)); )
3029
- _ ? St += H.value : St.push(H.value), W = H.rest;
3030
- if (!(C && St.length === 0))
3031
- return new i.Result(St, W);
3047
+ var E, H, W, Ot;
3048
+ for (W = O, Ot = _ ? "" : []; !(u != null && (E = u(W), E != null) || (H = f(W), H == null)); )
3049
+ _ ? Ot += H.value : Ot.push(H.value), W = H.rest;
3050
+ if (!(C && Ot.length === 0))
3051
+ return new i.Result(Ot, W);
3032
3052
  }, i.many1 = function(f) {
3033
3053
  return function(u) {
3034
3054
  return i.baseMany(f, null, !1, !0, u);
@@ -3190,7 +3210,7 @@ var bi = { exports: {} };
3190
3210
  });
3191
3211
  })(bi, bi.exports);
3192
3212
  var Ln = bi.exports;
3193
- const qt = /* @__PURE__ */ kn(Ln), En = Io, Nn = On, Tn = qs, Mn = Os, Jt = tt, In = at, ps = et, jn = ts, it = M, Fn = Ne, zn = qt;
3213
+ const qt = /* @__PURE__ */ kn(Ln), En = Io, Nn = On, Tn = qs, Mn = Os, Jt = tt, In = at, ps = et, jn = ts, it = N, Fn = Ee, zn = qt;
3194
3214
  window["concorde-utils"] = window["concorde-utils"] || {};
3195
3215
  window["concorde-utils"] = {
3196
3216
  Utils: En,
@@ -3205,7 +3225,7 @@ window["concorde-utils"] = {
3205
3225
  api: Fn,
3206
3226
  URLPattern: zn
3207
3227
  };
3208
- var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, De = (r, t, s, i) => {
3228
+ var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, qe = (r, t, s, i) => {
3209
3229
  for (var e = i > 1 ? void 0 : i ? Un(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3210
3230
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
3211
3231
  return i && e && Rn(t, s, e), e;
@@ -3213,7 +3233,7 @@ var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, De = (r, t
3213
3233
  const Bi = (r) => {
3214
3234
  class t extends r {
3215
3235
  constructor() {
3216
- super(...arguments), this._value = "", this.forceAutoFill = !1, this.unique = null, this.radio = null, this.unCheckOnDisconnect = !1, this._checked = null, this.updateAllChecked = () => {
3236
+ super(...arguments), this._value = "", this.forceAutoFill = !1, this.unique = null, this.radio = null, this._checked = null, this.updateAllChecked = () => {
3217
3237
  var n;
3218
3238
  const i = this.getAttribute("name"), e = this.getCheckAllPublisher(), o = this.getFormPublisher();
3219
3239
  if (e != null && e.hasCheckAll.get() && !this.checksAll() && e && o && i) {
@@ -3230,7 +3250,7 @@ const Bi = (r) => {
3230
3250
  a.indexOf(d) == -1 && (h -= 1);
3231
3251
  h == c.length && (e.checkMode = "allChecked"), h == 0 && (e.checkMode = "noneChecked");
3232
3252
  }
3233
- c.indexOf(this.value) == -1 && (this.checked = null);
3253
+ c.indexOf(this.value) == -1 && this.unsetOnDisconnect() && (this.checked = null);
3234
3254
  }
3235
3255
  }, this.onChecksAllRequest = (i) => {
3236
3256
  this.removeAttribute("allChecked"), this.removeAttribute("indeterminate"), i == "allChecked" && (this.checked = !0, this.setAttribute("allChecked", "")), i == "noneChecked" && (this.checked = null), i == "someUnchecked" && (this.checksAll() && (this.checked = "indeterminate"), this.setAttribute("indeterminate", ""));
@@ -3316,6 +3336,9 @@ const Bi = (r) => {
3316
3336
  i + "/" + e + "/_available_values_"
3317
3337
  );
3318
3338
  }
3339
+ unset() {
3340
+ this.checked = null;
3341
+ }
3319
3342
  disconnectedCallback() {
3320
3343
  super.disconnectedCallback();
3321
3344
  const i = this.getCheckAllPublisher();
@@ -3337,17 +3360,15 @@ const Bi = (r) => {
3337
3360
  ])), this.hasAttribute("checked") && (!this.publisher || this.publisher.get().checked !== !1) && setTimeout(() => this.checked = !0, 1);
3338
3361
  }
3339
3362
  }
3340
- return De([
3363
+ return qe([
3341
3364
  l()
3342
- ], t.prototype, "value", 1), De([
3365
+ ], t.prototype, "value", 1), qe([
3343
3366
  l()
3344
- ], t.prototype, "forceAutoFill", 2), De([
3345
- l({ type: Boolean })
3346
- ], t.prototype, "unique", 2), De([
3367
+ ], t.prototype, "forceAutoFill", 2), qe([
3347
3368
  l({ type: Boolean })
3348
- ], t.prototype, "radio", 2), De([
3369
+ ], t.prototype, "unique", 2), qe([
3349
3370
  l({ type: Boolean })
3350
- ], t.prototype, "unCheckOnDisconnect", 2), De([
3371
+ ], t.prototype, "radio", 2), qe([
3351
3372
  l()
3352
3373
  ], t.prototype, "checked", 1), t;
3353
3374
  };
@@ -3356,7 +3377,7 @@ const Bi = (r) => {
3356
3377
  * Copyright 2018 Google LLC
3357
3378
  * SPDX-License-Identifier: BSD-3-Clause
3358
3379
  */
3359
- const P = (r) => r ?? A, It = x`
3380
+ const P = (r) => r ?? A, jt = x`
3360
3381
  /*SIZES*/
3361
3382
  :host {
3362
3383
  --sc-_fs: 1rem;
@@ -3396,7 +3417,7 @@ var Vn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, q = (r, t,
3396
3417
  return i && e && Vn(t, s, e), e;
3397
3418
  };
3398
3419
  const Bn = "sonic-button";
3399
- let I = class extends Bi(ze(G(w))) {
3420
+ let I = class extends Bi(Fe(X(w))) {
3400
3421
  constructor() {
3401
3422
  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 = () => {
3402
3423
  window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
@@ -3495,7 +3516,7 @@ let I = class extends Bi(ze(G(w))) {
3495
3516
  }
3496
3517
  };
3497
3518
  I.styles = [
3498
- It,
3519
+ jt,
3499
3520
  x`
3500
3521
  * {
3501
3522
  box-sizing: border-box;
@@ -3904,10 +3925,10 @@ q([
3904
3925
  l({ type: Boolean, reflect: !0 })
3905
3926
  ], I.prototype, "loading", 2);
3906
3927
  q([
3907
- N()
3928
+ T()
3908
3929
  ], I.prototype, "hasPrefix", 2);
3909
3930
  q([
3910
- N()
3931
+ T()
3911
3932
  ], I.prototype, "hasSuffix", 2);
3912
3933
  q([
3913
3934
  Pe({ flatten: !0, slot: "prefix" })
@@ -3940,7 +3961,7 @@ q([
3940
3961
  l({ type: Boolean, attribute: "data-aria-expanded" })
3941
3962
  ], I.prototype, "sonicAriaExpanded", 2);
3942
3963
  q([
3943
- N()
3964
+ T()
3944
3965
  ], I.prototype, "location", 2);
3945
3966
  I = q([
3946
3967
  $(Bn)
@@ -3954,9 +3975,9 @@ const _r = (r, t, s) => {
3954
3975
  const i = /* @__PURE__ */ new Map();
3955
3976
  for (let e = t; e <= s; e++) i.set(r[e], e);
3956
3977
  return i;
3957
- }, Ys = Ae(class extends Fe {
3978
+ }, Ys = Ae(class extends je {
3958
3979
  constructor(r) {
3959
- if (super(r), r.type !== je.CHILD) throw Error("repeat() can only be used in text expressions");
3980
+ if (super(r), r.type !== Ie.CHILD) throw Error("repeat() can only be used in text expressions");
3960
3981
  }
3961
3982
  dt(r, t, s) {
3962
3983
  let i;
@@ -3978,19 +3999,19 @@ const _r = (r, t, s) => {
3978
3999
  else if (e[g] === null) g--;
3979
4000
  else if (a[p] === n[v]) c[v] = ce(e[p], o[v]), p++, v++;
3980
4001
  else if (a[g] === n[b]) c[b] = ce(e[g], o[b]), g--, b--;
3981
- else if (a[p] === n[b]) c[b] = ce(e[p], o[b]), qe(r, c[b + 1], e[p]), p++, b--;
3982
- else if (a[g] === n[v]) c[v] = ce(e[g], o[v]), qe(r, e[p], e[g]), g--, v++;
4002
+ else if (a[p] === n[b]) c[b] = ce(e[p], o[b]), Be(r, c[b + 1], e[p]), p++, b--;
4003
+ else if (a[g] === n[v]) c[v] = ce(e[g], o[v]), Be(r, e[p], e[g]), g--, v++;
3983
4004
  else if (h === void 0 && (h = _r(n, v, b), d = _r(a, p, g)), h.has(a[p])) if (h.has(a[g])) {
3984
4005
  const y = d.get(n[v]), S = y !== void 0 ? e[y] : null;
3985
4006
  if (S === null) {
3986
- const D = qe(r, e[p]);
4007
+ const D = Be(r, e[p]);
3987
4008
  ce(D, o[v]), c[v] = D;
3988
- } else c[v] = ce(S, o[v]), qe(r, e[p], S), e[y] = null;
4009
+ } else c[v] = ce(S, o[v]), Be(r, e[p], S), e[y] = null;
3989
4010
  v++;
3990
4011
  } else ni(e[g]), g--;
3991
4012
  else ni(e[p]), p++;
3992
4013
  for (; v <= b; ) {
3993
- const y = qe(r, c[b + 1]);
4014
+ const y = Be(r, c[b + 1]);
3994
4015
  ce(y, o[v]), c[v++] = y;
3995
4016
  }
3996
4017
  for (; p <= g; ) {
@@ -4061,12 +4082,12 @@ class os {
4061
4082
  return i.innerHTML = t, i;
4062
4083
  }
4063
4084
  }
4064
- function Te(r, t, s = r, i) {
4085
+ function Ne(r, t, s = r, i) {
4065
4086
  var n, a;
4066
4087
  if (t === rs) return t;
4067
4088
  let e = i !== void 0 ? (n = s.o) == null ? void 0 : n[i] : s.l;
4068
4089
  const o = is(t) ? void 0 : t._$litDirective$;
4069
- return (e == null ? void 0 : e.constructor) !== o && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s.o ?? (s.o = []))[i] = e : s.l = e), e !== void 0 && (t = Te(r, e._$AS(r, t.values), e, i)), t;
4090
+ return (e == null ? void 0 : e.constructor) !== o && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s.o ?? (s.o = []))[i] = e : s.l = e), e !== void 0 && (t = Ne(r, e._$AS(r, t.values), e, i)), t;
4070
4091
  }
4071
4092
  let Yn = class {
4072
4093
  constructor(t, s) {
@@ -4116,7 +4137,7 @@ class Zs {
4116
4137
  return this._$AB;
4117
4138
  }
4118
4139
  _$AI(t, s = this) {
4119
- t = Te(this, t, s), is(t) ? t === J || t == null || t === "" ? (this._$AH !== J && this._$AR(), this._$AH = J) : t !== this._$AH && t !== rs && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Wn(t) ? this.k(t) : this._(t);
4140
+ t = Ne(this, t, s), is(t) ? t === J || t == null || t === "" ? (this._$AH !== J && this._$AR(), this._$AH = J) : t !== this._$AH && t !== rs && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Wn(t) ? this.k(t) : this._(t);
4120
4141
  }
4121
4142
  O(t) {
4122
4143
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -4172,11 +4193,11 @@ class Gs {
4172
4193
  _$AI(t, s = this, i, e) {
4173
4194
  const o = this.strings;
4174
4195
  let n = !1;
4175
- if (o === void 0) t = Te(this, t, s, 0), n = !is(t) || t !== this._$AH && t !== rs, n && (this._$AH = t);
4196
+ if (o === void 0) t = Ne(this, t, s, 0), n = !is(t) || t !== this._$AH && t !== rs, n && (this._$AH = t);
4176
4197
  else {
4177
4198
  const a = t;
4178
4199
  let c, h;
4179
- for (t = o[0], c = 0; c < o.length - 1; c++) h = Te(this, a[i + c], s, c), h === rs && (h = this._$AH[c]), n || (n = !is(h) || h !== this._$AH[c]), h === J ? t = J : t !== J && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
4200
+ for (t = o[0], c = 0; c < o.length - 1; c++) h = Ne(this, a[i + c], s, c), h === rs && (h = this._$AH[c]), n || (n = !is(h) || h !== this._$AH[c]), h === J ? t = J : t !== J && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
4180
4201
  }
4181
4202
  n && !e && this.j(t);
4182
4203
  }
@@ -4205,7 +4226,7 @@ class Xn extends Gs {
4205
4226
  super(t, s, i, e, o), this.type = 5;
4206
4227
  }
4207
4228
  _$AI(t, s = this) {
4208
- if ((t = Te(this, t, s, 0) ?? J) === rs) return;
4229
+ if ((t = Ne(this, t, s, 0) ?? J) === rs) return;
4209
4230
  const i = this._$AH, e = t === J && i !== J || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== J && (i === J || e);
4210
4231
  e && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
4211
4232
  }
@@ -4222,7 +4243,7 @@ class Qn {
4222
4243
  return this._$AM._$AU;
4223
4244
  }
4224
4245
  _$AI(t) {
4225
- Te(this, t);
4246
+ Ne(this, t);
4226
4247
  }
4227
4248
  }
4228
4249
  const hi = Qe.litHtmlPolyfillSupport;
@@ -4714,7 +4735,7 @@ ve.styles = x`
4714
4735
  }
4715
4736
  `;
4716
4737
  us([
4717
- N()
4738
+ T()
4718
4739
  ], ve.prototype, "iconText", 2);
4719
4740
  us([
4720
4741
  l({ type: String })
@@ -4751,7 +4772,7 @@ const fs = x`
4751
4772
  }
4752
4773
  }
4753
4774
  `;
4754
- var ba = Object.defineProperty, va = Object.getOwnPropertyDescriptor, jt = (r, t, s, i) => {
4775
+ var ba = Object.defineProperty, va = Object.getOwnPropertyDescriptor, Ft = (r, t, s, i) => {
4755
4776
  for (var e = i > 1 ? void 0 : i ? va(t, s) : t, o = r.length - 1, n; o >= 0; o--)
4756
4777
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
4757
4778
  return i && e && ba(t, s, e), e;
@@ -5007,34 +5028,34 @@ $t.styles = [
5007
5028
  }
5008
5029
  `
5009
5030
  ];
5010
- jt([
5031
+ Ft([
5011
5032
  l({ type: String })
5012
5033
  ], $t.prototype, "title", 2);
5013
- jt([
5034
+ Ft([
5014
5035
  l({ type: String })
5015
5036
  ], $t.prototype, "id", 2);
5016
- jt([
5037
+ Ft([
5017
5038
  l({ type: String })
5018
5039
  ], $t.prototype, "text", 2);
5019
- jt([
5040
+ Ft([
5020
5041
  l({ type: String })
5021
5042
  ], $t.prototype, "status", 2);
5022
- jt([
5043
+ Ft([
5023
5044
  l({ type: Boolean })
5024
5045
  ], $t.prototype, "ghost", 2);
5025
- jt([
5046
+ Ft([
5026
5047
  l({ type: Boolean })
5027
5048
  ], $t.prototype, "preserve", 2);
5028
- jt([
5049
+ Ft([
5029
5050
  l({ type: Boolean })
5030
5051
  ], $t.prototype, "dismissForever", 2);
5031
- jt([
5052
+ Ft([
5032
5053
  l({ type: String })
5033
5054
  ], $t.prototype, "maxHeight", 2);
5034
- jt([
5035
- N()
5055
+ Ft([
5056
+ T()
5036
5057
  ], $t.prototype, "visible", 2);
5037
- $t = jt([
5058
+ $t = Ft([
5038
5059
  $(_a)
5039
5060
  ], $t);
5040
5061
  const wa = x`
@@ -5304,7 +5325,7 @@ var Sa = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, bo = (r, t
5304
5325
  return i && e && Sa(t, s, e), e;
5305
5326
  };
5306
5327
  const Da = "sonic-toast";
5307
- let T = class extends w {
5328
+ let M = class extends w {
5308
5329
  constructor() {
5309
5330
  super(...arguments), this.toasts = [];
5310
5331
  }
@@ -5329,7 +5350,7 @@ let T = class extends w {
5329
5350
  zIndex: "10000",
5330
5351
  maxWidth: "64ch",
5331
5352
  flexDirection: "column-reverse"
5332
- }), T.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${gt(s)}>
5353
+ }), M.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${gt(s)}>
5333
5354
  ${Ys(
5334
5355
  this.toasts,
5335
5356
  (i) => i.id,
@@ -5374,22 +5395,22 @@ let T = class extends w {
5374
5395
  </div>` : A;
5375
5396
  }
5376
5397
  static removeAll() {
5377
- if (T.delegateToasts) {
5378
- T.handleExistingToastDelegation(), window.parent.postMessage({ type: "removeAllToasts" }, "*");
5398
+ if (M.delegateToasts) {
5399
+ M.handleExistingToastDelegation(), window.parent.postMessage({ type: "removeAllToasts" }, "*");
5379
5400
  return;
5380
5401
  }
5381
- const t = T.getInstance();
5402
+ const t = M.getInstance();
5382
5403
  t && (t.toasts = t.toasts.filter((s) => s.ghost));
5383
5404
  }
5384
5405
  static getInstance() {
5385
- return T.instance || (T.instance = document.createElement("sonic-toast"), yt.getPopContainer().prepend(T.instance)), T.instance;
5406
+ return M.instance || (M.instance = document.createElement("sonic-toast"), yt.getPopContainer().prepend(M.instance)), M.instance;
5386
5407
  }
5387
5408
  static add(t) {
5388
- if (T.delegateToasts) {
5389
- T.handleExistingToastDelegation(), window.parent.postMessage({ type: "addToast", toast: t }, "*");
5409
+ if (M.delegateToasts) {
5410
+ M.handleExistingToastDelegation(), window.parent.postMessage({ type: "addToast", toast: t }, "*");
5390
5411
  return;
5391
5412
  }
5392
- const s = T.getInstance(), i = t.id ?? (/* @__PURE__ */ new Date()).valueOf(), o = new RegExp(
5413
+ const s = M.getInstance(), i = t.id ?? (/* @__PURE__ */ new Date()).valueOf(), o = new RegExp(
5393
5414
  "</a>|</.*?button>|</.*?input>|</.*?textarea>|</.*?select>"
5394
5415
  ).test(t.text), n = {
5395
5416
  id: i,
@@ -5418,21 +5439,21 @@ let T = class extends w {
5418
5439
  }
5419
5440
  static handleExistingToastDelegation() {
5420
5441
  if (!this.delegateToasts) return;
5421
- const t = T.getInstance();
5442
+ const t = M.getInstance();
5422
5443
  window.parent.postMessage(
5423
5444
  { type: "addToasts", toasts: t.toasts },
5424
5445
  "*"
5425
5446
  ), t.toasts = [];
5426
5447
  }
5427
5448
  static removeItem(t) {
5428
- if (T.delegateToasts) {
5429
- T.handleExistingToastDelegation(), window.parent.postMessage(
5449
+ if (M.delegateToasts) {
5450
+ M.handleExistingToastDelegation(), window.parent.postMessage(
5430
5451
  { type: "removeToast", toast: t },
5431
5452
  "*"
5432
5453
  );
5433
5454
  return;
5434
5455
  }
5435
- const s = T.getInstance();
5456
+ const s = M.getInstance();
5436
5457
  s && s.removeItem(t);
5437
5458
  }
5438
5459
  // Remove Toast
@@ -5440,21 +5461,21 @@ let T = class extends w {
5440
5461
  t && (this.toasts = this.toasts.filter((s) => (s = { ...s }, delete s.id, !et.shallowEqual(s, t, !1))));
5441
5462
  }
5442
5463
  };
5443
- T.delegateToasts = !1;
5464
+ M.delegateToasts = !1;
5444
5465
  bo([
5445
5466
  l({ type: Array })
5446
- ], T.prototype, "toasts", 2);
5447
- T = bo([
5467
+ ], M.prototype, "toasts", 2);
5468
+ M = bo([
5448
5469
  $(Da)
5449
- ], T);
5450
- typeof window < "u" && (window[Ds + "Toast"] = window[Ds + "Toast"] || T);
5470
+ ], M);
5471
+ typeof window < "u" && (window[Ds + "Toast"] = window[Ds + "Toast"] || M);
5451
5472
  function ka() {
5452
5473
  var s;
5453
5474
  const r = (i) => {
5454
- i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "sonicToastAvailable" && (T.delegateToasts = !0, T.handleExistingToastDelegation()), i.data.type == "addToasts" && (T.getInstance().toasts = [
5455
- ...T.getInstance().toasts,
5475
+ i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "sonicToastAvailable" && (M.delegateToasts = !0, M.handleExistingToastDelegation()), i.data.type == "addToasts" && (M.getInstance().toasts = [
5476
+ ...M.getInstance().toasts,
5456
5477
  ...i.data.toasts
5457
- ]), i.data.type == "removeAllToasts" && T.removeAll(), i.data.type == "removeToast" && T.removeItem(i.data.toast), i.data.type == "addToast" && T.add(i.data.toast);
5478
+ ]), i.data.type == "removeAllToasts" && M.removeAll(), i.data.type == "removeToast" && M.removeItem(i.data.toast), i.data.type == "addToast" && M.add(i.data.toast);
5458
5479
  }, t = window.parent != window;
5459
5480
  if (window.addEventListener("message", r, !1), t && window.parent.postMessage({ type: "querySonicToastAvailability" }, "*"), !t)
5460
5481
  for (const i of document.querySelectorAll("iframe"))
@@ -5504,7 +5525,7 @@ const Wi = (r, t) => {
5504
5525
  * Un Toast est affiché si le chargement échoue
5505
5526
  */
5506
5527
  async _fetchData() {
5507
- if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ne(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await it.getInstance().isLocalStrorageReady, !this.isConnected)) return;
5528
+ if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ee(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await it.getInstance().isLocalStrorageReady, !this.isConnected)) return;
5508
5529
  const e = it.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
5509
5530
  this.isLoading = !0, et.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
5510
5531
  this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
@@ -5515,7 +5536,7 @@ const Wi = (r, t) => {
5515
5536
  );
5516
5537
  if (this.fetchedData = o, this.api.lastResult && !this.api.lastResult.ok && (this.noErrorsRecordings || Na.add(this), Ma(this.api.lastResult)), !!this.isConnected) {
5517
5538
  if (o)
5518
- o._sonic_http_response_ && !o._sonic_http_response_.ok && Object.keys(o).length === 1 && T.add({ text: "Network Error", status: "error" });
5539
+ o._sonic_http_response_ && !o._sonic_http_response_.ok && Object.keys(o).length === 1 && M.add({ text: "Network Error", status: "error" });
5519
5540
  else {
5520
5541
  this.isLoading = !1, this.refetchEveryMs && this.isConnected && (this.refetchTimeOutId = setTimeout(
5521
5542
  () => this._fetchData(),
@@ -5646,7 +5667,7 @@ const Xs = (r) => {
5646
5667
  ], t.prototype, "tabindex", 2), de([
5647
5668
  l({ type: String })
5648
5669
  ], t.prototype, "autocomplete", 2), t;
5649
- }, vo = Wi, Fa = Bi, yo = ze, _o = Xs, oe = G, Ki = ds;
5670
+ }, vo = Wi, Fa = Bi, yo = Fe, _o = Xs, oe = X, Ki = ds;
5650
5671
  window["concorde-mixins"] = window["concorde-mixins"] || {};
5651
5672
  window["concorde-mixins"] = {
5652
5673
  Fetcher: vo,
@@ -5661,9 +5682,9 @@ window["concorde-mixins"] = {
5661
5682
  * Copyright 2020 Google LLC
5662
5683
  * SPDX-License-Identifier: BSD-3-Clause
5663
5684
  */
5664
- const Ot = Ae(class extends Fe {
5685
+ const Tt = Ae(class extends je {
5665
5686
  constructor(r) {
5666
- if (super(r), r.type !== je.CHILD) throw Error("templateContent can only be used in child bindings");
5687
+ if (super(r), r.type !== Ie.CHILD) throw Error("templateContent can only be used in child bindings");
5667
5688
  }
5668
5689
  render(r) {
5669
5690
  return this.vt === r ? _t : (this.vt = r, document.importNode(r.content, !0));
@@ -5675,7 +5696,7 @@ var za = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, wo = (r, t
5675
5696
  return i && e && za(t, s, e), e;
5676
5697
  };
5677
5698
  const Ua = "sonic-fetch";
5678
- let js = class extends Wi(G(Ki(w))) {
5699
+ let js = class extends Wi(X(Ki(w))) {
5679
5700
  renderLoader() {
5680
5701
  if (!(this.isLoading && this.loader !== void 0)) return A;
5681
5702
  const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
@@ -5683,7 +5704,7 @@ let js = class extends Wi(G(Ki(w))) {
5683
5704
  }
5684
5705
  renderSkeleton() {
5685
5706
  const r = this.templateParts.skeleton;
5686
- return this.isLoading && r ? Ot(r) : A;
5707
+ return this.isLoading && r ? Tt(r) : A;
5687
5708
  }
5688
5709
  render() {
5689
5710
  return m`
@@ -5857,17 +5878,17 @@ var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Yi = (r, t
5857
5878
  return i && e && Ka(t, s, e), e;
5858
5879
  };
5859
5880
  const Za = "sonic-loader";
5860
- let rt = class extends w {
5881
+ let ot = class extends w {
5861
5882
  constructor() {
5862
5883
  super(...arguments), this.mode = "fixed", this.noDelay = !1;
5863
5884
  }
5864
5885
  static show(r) {
5865
- rt.loader || (rt.loader = document.createElement("sonic-loader"));
5866
- const t = rt.loader;
5867
- r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = yt.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t), rt.callCounter++;
5886
+ ot.loader || (ot.loader = document.createElement("sonic-loader"));
5887
+ const t = ot.loader;
5888
+ r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = yt.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t), ot.callCounter++;
5868
5889
  }
5869
5890
  static hide() {
5870
- rt.callCounter--, !(rt.callCounter > 0) && rt.loader && rt.loader.remove();
5891
+ ot.callCounter--, !(ot.callCounter > 0) && ot.loader && ot.loader.remove();
5871
5892
  }
5872
5893
  render() {
5873
5894
  return m`<div
@@ -5880,7 +5901,7 @@ let rt = class extends w {
5880
5901
  </div>`;
5881
5902
  }
5882
5903
  };
5883
- rt.styles = [
5904
+ ot.styles = [
5884
5905
  qa,
5885
5906
  Wa,
5886
5907
  x`
@@ -5913,23 +5934,23 @@ rt.styles = [
5913
5934
  }
5914
5935
  `
5915
5936
  ];
5916
- rt.callCounter = 0;
5937
+ ot.callCounter = 0;
5917
5938
  Yi([
5918
5939
  l({ type: String })
5919
- ], rt.prototype, "mode", 2);
5940
+ ], ot.prototype, "mode", 2);
5920
5941
  Yi([
5921
5942
  l({ type: Boolean })
5922
- ], rt.prototype, "noDelay", 2);
5923
- rt = Yi([
5943
+ ], ot.prototype, "noDelay", 2);
5944
+ ot = Yi([
5924
5945
  $(Za)
5925
- ], rt);
5946
+ ], ot);
5926
5947
  var Ga = Object.defineProperty, Xa = Object.getOwnPropertyDescriptor, Qa = (r, t, s, i) => {
5927
5948
  for (var e = i > 1 ? void 0 : i ? Xa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5928
5949
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5929
5950
  return i && e && Ga(t, s, e), e;
5930
5951
  };
5931
5952
  const Ja = "sonic-subscriber";
5932
- let Fr = class extends G(w) {
5953
+ let Fr = class extends X(w) {
5933
5954
  constructor() {
5934
5955
  super(...arguments), this.noAutofill = !0;
5935
5956
  }
@@ -5946,13 +5967,13 @@ let Fr = class extends G(w) {
5946
5967
  Fr = Qa([
5947
5968
  $(Ja)
5948
5969
  ], Fr);
5949
- var tl = Object.defineProperty, el = Object.getOwnPropertyDescriptor, Ft = (r, t, s, i) => {
5970
+ var tl = Object.defineProperty, el = Object.getOwnPropertyDescriptor, kt = (r, t, s, i) => {
5950
5971
  for (var e = i > 1 ? void 0 : i ? el(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5951
5972
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5952
5973
  return i && e && tl(t, s, e), e;
5953
5974
  };
5954
5975
  const sl = "sonic-list";
5955
- let kt = class extends Wi(G(ds(w))) {
5976
+ let xt = class extends Wi(X(ds(w))) {
5956
5977
  constructor() {
5957
5978
  super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0, this.loadingSize = { width: 0, height: 0 };
5958
5979
  }
@@ -5971,7 +5992,13 @@ let kt = class extends Wi(G(ds(w))) {
5971
5992
  if (this.skeleton)
5972
5993
  return this.skeleton();
5973
5994
  const r = this.templateParts.skeleton;
5974
- return this.isLoading && r ? Ot(r) : A;
5995
+ return this.isLoading && r ? Tt(r) : A;
5996
+ }
5997
+ renderSeparator() {
5998
+ if (this.separator)
5999
+ return this.separator();
6000
+ const r = this.templateParts.separator;
6001
+ return r ? Tt(r) : A;
5975
6002
  }
5976
6003
  renderLoadingState() {
5977
6004
  return m`${this.renderSkeleton()} ${this.renderLoader()} `;
@@ -6049,11 +6076,11 @@ let kt = class extends Wi(G(ds(w))) {
6049
6076
  if (this.noItems)
6050
6077
  return this.noItems();
6051
6078
  if (this.templateParts["no-items"] = this.templateParts["no-items"] || this.templateParts["no-item"], this.templateParts["no-items"])
6052
- return Ot(this.templateParts["no-items"]);
6079
+ return Tt(this.templateParts["no-items"]);
6053
6080
  }
6054
6081
  const e = this.templateList.length;
6055
6082
  let o = -1;
6056
- const n = this.hasAttribute("extractValues"), a = this.templateParts.separator, c = (i == null ? void 0 : i.length) || 0, h = i == null ? void 0 : i.slice(this.offset, this.offset + this.limit);
6083
+ const n = this.hasAttribute("extractValues"), a = this.renderSeparator(), c = (i == null ? void 0 : i.length) || 0, h = i == null ? void 0 : i.slice(this.offset, this.offset + this.limit);
6057
6084
  return m`
6058
6085
  ${h == null ? void 0 : h.map((d, p) => {
6059
6086
  if (d == null) return A;
@@ -6081,7 +6108,7 @@ let kt = class extends Wi(G(ds(w))) {
6081
6108
  D,
6082
6109
  g
6083
6110
  );
6084
- return f ? m`${f}${a && !b ? Ot(a) : A}` : (o++, v && (o = -1), m`
6111
+ return f ? m`${f}${b ? A : a}` : (o++, v && (o = -1), m`
6085
6112
  <sonic-subscriber
6086
6113
  ?debug=${this.defferedDebug === !0}
6087
6114
  .bindPublisher=${function() {
@@ -6090,44 +6117,47 @@ let kt = class extends Wi(G(ds(w))) {
6090
6117
  .propertyMap?=${this.itemPropertyMap}
6091
6118
  dataProvider="${this.dataProvider}/list-item/${g}"
6092
6119
  >
6093
- ${Ot(v || this.templateList[o % e])}
6120
+ ${Tt(v || this.templateList[o % e])}
6094
6121
  </sonic-subscriber>
6095
- ${a && !b ? Ot(a) : A}
6122
+ ${b ? A : a}
6096
6123
  `);
6097
6124
  })}
6098
6125
  `;
6099
6126
  }
6100
6127
  };
6101
- Ft([
6128
+ kt([
6102
6129
  l({ type: Object })
6103
- ], kt.prototype, "itemPropertyMap", 2);
6104
- Ft([
6130
+ ], xt.prototype, "itemPropertyMap", 2);
6131
+ kt([
6105
6132
  l({ type: String })
6106
- ], kt.prototype, "templateKey", 2);
6107
- Ft([
6133
+ ], xt.prototype, "templateKey", 2);
6134
+ kt([
6108
6135
  l({ type: String })
6109
- ], kt.prototype, "idKey", 2);
6110
- Ft([
6136
+ ], xt.prototype, "idKey", 2);
6137
+ kt([
6111
6138
  l()
6112
- ], kt.prototype, "loader", 2);
6113
- Ft([
6139
+ ], xt.prototype, "loader", 2);
6140
+ kt([
6114
6141
  l()
6115
- ], kt.prototype, "limit", 2);
6116
- Ft([
6142
+ ], xt.prototype, "limit", 2);
6143
+ kt([
6117
6144
  l()
6118
- ], kt.prototype, "offset", 2);
6119
- Ft([
6145
+ ], xt.prototype, "offset", 2);
6146
+ kt([
6120
6147
  l({ type: Object })
6121
- ], kt.prototype, "items", 2);
6122
- Ft([
6148
+ ], xt.prototype, "items", 2);
6149
+ kt([
6123
6150
  l({ type: Object })
6124
- ], kt.prototype, "noItems", 2);
6125
- Ft([
6151
+ ], xt.prototype, "noItems", 2);
6152
+ kt([
6153
+ l({ type: Object })
6154
+ ], xt.prototype, "skeleton", 2);
6155
+ kt([
6126
6156
  l({ type: Object })
6127
- ], kt.prototype, "skeleton", 2);
6128
- kt = Ft([
6157
+ ], xt.prototype, "separator", 2);
6158
+ xt = kt([
6129
6159
  $(sl)
6130
- ], kt);
6160
+ ], xt);
6131
6161
  /**
6132
6162
  * @license
6133
6163
  * Copyright 2021 Google LLC
@@ -6139,13 +6169,13 @@ function* xo(r, t) {
6139
6169
  for (const i of r) yield t(i, s++);
6140
6170
  }
6141
6171
  }
6142
- var il = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, nt = (r, t, s, i) => {
6172
+ var il = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, rt = (r, t, s, i) => {
6143
6173
  for (var e = i > 1 ? void 0 : i ? rl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6144
6174
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6145
6175
  return i && e && il(t, s, e), e;
6146
6176
  };
6147
6177
  const ol = "sonic-queue";
6148
- let X = class extends G(w) {
6178
+ let G = class extends X(w) {
6149
6179
  constructor() {
6150
6180
  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 = () => {
6151
6181
  var n;
@@ -6160,27 +6190,27 @@ let X = class extends G(w) {
6160
6190
  if (!(o == this.searchHash && !this.isFirstRequest)) {
6161
6191
  this.searchHash = o;
6162
6192
  for (const a of this.listDataProviders)
6163
- M.delete(a);
6193
+ N.delete(a);
6164
6194
  this.listDataProviders = [], clearTimeout(this.filterTimeoutId), this.filterTimeoutId = setTimeout(
6165
6195
  async () => {
6166
6196
  const a = this.resultCount;
6167
- this.props = null, this.requestId++, this.resultCount = a, await M.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
6197
+ this.props = null, this.requestId++, this.resultCount = a, await N.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
6168
6198
  },
6169
6199
  this.isFirstRequest ? 0 : this.filterTimeoutMs
6170
6200
  ), this.isFirstRequest = !1;
6171
6201
  }
6172
- }, this.dataProviderExpression = "", this.idKey = "id", this.listDataProviders = [], this.nextHadEvent = !1, this.storedScrollY = 0, this.storedScrollX = 0;
6202
+ }, this.dataProviderExpression = "", this.invalidateOnPageShow = !1, this.idKey = "id", this.listDataProviders = [], this.nextHadEvent = !1, this.storedScrollY = 0, this.storedScrollX = 0;
6173
6203
  }
6174
6204
  disconnectedCallback() {
6175
6205
  var r;
6176
6206
  for (const t of this.listDataProviders)
6177
- M.delete(t), this.listDataProviders = [];
6207
+ N.delete(t), this.listDataProviders = [];
6178
6208
  (r = this.filterPublisher) == null || r.offInternalMutation(this.updateFilteredContent), this.props = null, this.limit = 5, this.offset = 0, this.resultCount = 0, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.nextHadEvent = !1, this.publisher.set({}), super.disconnectedCallback();
6179
6209
  }
6180
6210
  async connectedCallback() {
6181
- this.instanceId = X.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
6211
+ this.instanceId = G.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
6182
6212
  this.getAttribute("filterTimeoutMs") || "400"
6183
- ), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = Jt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await M.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
6213
+ ), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = Jt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await N.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
6184
6214
  this.querySelectorAll("template")
6185
6215
  )), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
6186
6216
  }
@@ -6191,7 +6221,7 @@ let X = class extends G(w) {
6191
6221
  this.next();
6192
6222
  return;
6193
6223
  }
6194
- this.filterPublisher = M.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
6224
+ this.filterPublisher = N.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
6195
6225
  }
6196
6226
  storeScrollPosition() {
6197
6227
  this.isSafari() && (this.storedScrollX = window.scrollX, this.storedScrollY = window.scrollY);
@@ -6265,6 +6295,7 @@ let X = class extends G(w) {
6265
6295
  displayContents
6266
6296
  lazyBoundsRatio=${this.lazyBoundsRatio}
6267
6297
  ?lazyload=${r}
6298
+ ?invalidateOnPageShow=${this.invalidateOnPageShow}
6268
6299
  localStorage=${this.localStorage}
6269
6300
  requestId=${this.requestId}
6270
6301
  .itemPropertyMap=${this.itemPropertyMap}
@@ -6286,75 +6317,78 @@ let X = class extends G(w) {
6286
6317
  `;
6287
6318
  }
6288
6319
  };
6289
- X.instanceCounter = 0;
6290
- nt([
6320
+ G.instanceCounter = 0;
6321
+ rt([
6291
6322
  l({ type: Array })
6292
- ], X.prototype, "templates", 2);
6293
- nt([
6323
+ ], G.prototype, "templates", 2);
6324
+ rt([
6294
6325
  l({ type: Object })
6295
- ], X.prototype, "items", 2);
6296
- nt([
6326
+ ], G.prototype, "items", 2);
6327
+ rt([
6297
6328
  l({ type: Object })
6298
- ], X.prototype, "noItems", 2);
6299
- nt([
6329
+ ], G.prototype, "noItems", 2);
6330
+ rt([
6300
6331
  l({ type: Object })
6301
- ], X.prototype, "skeleton", 2);
6302
- nt([
6332
+ ], G.prototype, "skeleton", 2);
6333
+ rt([
6303
6334
  l({ type: Object })
6304
- ], X.prototype, "itemPropertyMap", 2);
6305
- nt([
6335
+ ], G.prototype, "itemPropertyMap", 2);
6336
+ rt([
6306
6337
  l()
6307
- ], X.prototype, "cache", 2);
6308
- nt([
6338
+ ], G.prototype, "cache", 2);
6339
+ rt([
6309
6340
  l()
6310
- ], X.prototype, "targetRequestDuration", 2);
6311
- nt([
6341
+ ], G.prototype, "targetRequestDuration", 2);
6342
+ rt([
6312
6343
  l()
6313
- ], X.prototype, "limit", 2);
6314
- nt([
6344
+ ], G.prototype, "limit", 2);
6345
+ rt([
6315
6346
  l()
6316
- ], X.prototype, "lazyBoundsRatio", 2);
6317
- nt([
6347
+ ], G.prototype, "lazyBoundsRatio", 2);
6348
+ rt([
6318
6349
  l()
6319
- ], X.prototype, "offset", 2);
6320
- nt([
6350
+ ], G.prototype, "offset", 2);
6351
+ rt([
6321
6352
  l()
6322
- ], X.prototype, "resultCount", 2);
6323
- nt([
6353
+ ], G.prototype, "resultCount", 2);
6354
+ rt([
6324
6355
  l({ type: Boolean })
6325
- ], X.prototype, "noLazyload", 2);
6326
- nt([
6356
+ ], G.prototype, "noLazyload", 2);
6357
+ rt([
6327
6358
  l({ type: String })
6328
- ], X.prototype, "loader", 2);
6329
- nt([
6359
+ ], G.prototype, "loader", 2);
6360
+ rt([
6330
6361
  l()
6331
- ], X.prototype, "filteredFields", 2);
6332
- nt([
6362
+ ], G.prototype, "filteredFields", 2);
6363
+ rt([
6333
6364
  l({ type: String })
6334
- ], X.prototype, "dataProviderExpression", 2);
6335
- nt([
6365
+ ], G.prototype, "dataProviderExpression", 2);
6366
+ rt([
6367
+ l({ type: Boolean })
6368
+ ], G.prototype, "invalidateOnPageShow", 2);
6369
+ rt([
6336
6370
  l({ type: String })
6337
- ], X.prototype, "idKey", 2);
6338
- X = nt([
6371
+ ], G.prototype, "idKey", 2);
6372
+ G = rt([
6339
6373
  $(ol)
6340
- ], X);
6341
- var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, Re = (r, t, s, i) => {
6374
+ ], G);
6375
+ var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, ze = (r, t, s, i) => {
6342
6376
  for (var e = i > 1 ? void 0 : i ? al(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6343
6377
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6344
6378
  return i && e && nl(t, s, e), e;
6345
6379
  };
6346
6380
  const ll = "sonic-submit";
6347
- let te = class extends G(w) {
6381
+ let te = class extends X(w) {
6348
6382
  constructor() {
6349
6383
  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) => {
6350
6384
  var b;
6351
6385
  if (this.disabled || r instanceof KeyboardEvent && r.key !== "Enter") return;
6352
6386
  r instanceof MouseEvent && r.stopPropagation();
6353
- const t = M.getInstance().get(
6387
+ const t = N.getInstance().get(
6354
6388
  this.getAncestorAttributeValue("formDataProvider")
6355
6389
  );
6356
6390
  if (t.isFormValid = !0, t.invalidateForm(), !t.isFormValid.get()) return;
6357
- if (this.disabled = !0, rt.show(), t.isFormValid, this.hasAttribute("native")) {
6391
+ if (this.disabled = !0, ot.show(), t.isFormValid, this.hasAttribute("native")) {
6358
6392
  this.submitNativeForm();
6359
6393
  return;
6360
6394
  }
@@ -6362,12 +6396,12 @@ let te = class extends G(w) {
6362
6396
  delete o.isFormValid;
6363
6397
  const n = this.getAncestorAttributeValue(
6364
6398
  "headersDataProvider"
6365
- ), a = n ? M.getInstance().get(n) : null;
6399
+ ), a = n ? N.getInstance().get(n) : null;
6366
6400
  let c = {};
6367
6401
  a && (c = a.get());
6368
6402
  let h = null;
6369
6403
  const d = this.getAncestorAttributeValue("dataProvider"), p = this.endPoint || d, g = async () => {
6370
- var _, C, O, E, H, W, St, rr;
6404
+ var _, C, O, E, H, W, Ot, rr;
6371
6405
  const y = { ...o };
6372
6406
  if (delete y.needsCaptchaValidation, delete c.needsCaptchaValidation, e)
6373
6407
  h = await ((_ = this.api) == null ? void 0 : _.submitFormData(
@@ -6399,15 +6433,15 @@ let te = class extends G(w) {
6399
6433
  h = await ((W = this.api) == null ? void 0 : W.post(p, y, c));
6400
6434
  break;
6401
6435
  }
6402
- rt.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = { messages: [{ content: "Network Error", status: "error" }] };
6436
+ ot.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = { messages: [{ content: "Network Error", status: "error" }] };
6403
6437
  const S = this.getAncestorAttributeValue(
6404
6438
  "clearedDataOnSuccess"
6405
6439
  );
6406
6440
  S && S.split(" ").forEach(
6407
- (ws) => M.get(ws).set({})
6441
+ (ws) => N.get(ws).set({})
6408
6442
  );
6409
6443
  const D = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", f = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
6410
- (rr = (St = this.api) == null ? void 0 : St.lastResult) != null && rr.ok && y[D] && y[f] && this.saveCredentials(
6444
+ (rr = (Ot = this.api) == null ? void 0 : Ot.lastResult) != null && rr.ok && y[D] && y[f] && this.saveCredentials(
6411
6445
  y[D],
6412
6446
  y[f]
6413
6447
  ), this.submitResultKey && (h = et.traverse(
@@ -6418,7 +6452,7 @@ let te = class extends G(w) {
6418
6452
  const u = this.getAncestorAttributeValue(
6419
6453
  "submitResultDataProvider"
6420
6454
  );
6421
- u && M.get(u).set(h), this.disabled = !1, this.dispatchEvent(
6455
+ u && N.get(u).set(h), this.disabled = !1, this.dispatchEvent(
6422
6456
  new CustomEvent("submit", {
6423
6457
  detail: h,
6424
6458
  bubbles: !0,
@@ -6432,7 +6466,7 @@ let te = class extends G(w) {
6432
6466
  if (v) {
6433
6467
  v.captchaToken = "request_token";
6434
6468
  const y = (S) => {
6435
- S != "request_token" ? (g(), v.captchaToken.offAssign(y)) : (rt.hide(), this.disabled = !1);
6469
+ S != "request_token" ? (g(), v.captchaToken.offAssign(y)) : (ot.hide(), this.disabled = !1);
6436
6470
  };
6437
6471
  v.captchaToken.onAssign(y);
6438
6472
  } else
@@ -6440,12 +6474,12 @@ let te = class extends G(w) {
6440
6474
  };
6441
6475
  }
6442
6476
  connectedCallback() {
6443
- this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ne(this.getApiConfiguration());
6477
+ this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ee(this.getApiConfiguration());
6444
6478
  }
6445
6479
  submitNativeForm() {
6446
6480
  const r = Jt.getClosestForm(this);
6447
6481
  if (!r) return;
6448
- const t = this.getAncestorAttributeValue("formDataProvider"), s = { ...M.get(t).get() };
6482
+ const t = this.getAncestorAttributeValue("formDataProvider"), s = { ...N.get(t).get() };
6449
6483
  delete s.needsCaptchaValidation;
6450
6484
  for (const e in s) {
6451
6485
  if (e == "isFormValid") continue;
@@ -6480,22 +6514,22 @@ te.styles = x`
6480
6514
  user-select: none;
6481
6515
  }
6482
6516
  `;
6483
- Re([
6517
+ ze([
6484
6518
  l({ type: String })
6485
6519
  ], te.prototype, "submitResultKey", 2);
6486
- Re([
6520
+ ze([
6487
6521
  l({ type: Boolean })
6488
6522
  ], te.prototype, "disabled", 2);
6489
- Re([
6523
+ ze([
6490
6524
  l({ type: String })
6491
6525
  ], te.prototype, "endPoint", 2);
6492
- Re([
6526
+ ze([
6493
6527
  l()
6494
6528
  ], te.prototype, "name", 2);
6495
- Re([
6529
+ ze([
6496
6530
  l()
6497
6531
  ], te.prototype, "value", 2);
6498
- te = Re([
6532
+ te = ze([
6499
6533
  $(ll)
6500
6534
  ], te);
6501
6535
  var cl = Object.defineProperty, hl = Object.getOwnPropertyDescriptor, gs = (r, t, s, i) => {
@@ -6504,7 +6538,7 @@ var cl = Object.defineProperty, hl = Object.getOwnPropertyDescriptor, gs = (r, t
6504
6538
  return i && e && cl(t, s, e), e;
6505
6539
  };
6506
6540
  const dl = "sonic-router";
6507
- let Me = class extends ds(w) {
6541
+ let Te = class extends ds(w) {
6508
6542
  constructor() {
6509
6543
  super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
6510
6544
  document.location.origin,
@@ -6611,36 +6645,36 @@ let Me = class extends ds(w) {
6611
6645
  style="display:contents"
6612
6646
  dataProvider="${e}"
6613
6647
  >
6614
- ${Ot(s)}
6648
+ ${Tt(s)}
6615
6649
  </div>`;
6616
6650
  }
6617
- return Ot(s);
6651
+ return Tt(s);
6618
6652
  }
6619
6653
  )}`;
6620
6654
  }
6621
6655
  };
6622
6656
  gs([
6623
6657
  l({ type: String })
6624
- ], Me.prototype, "fallBackRoute", 2);
6658
+ ], Te.prototype, "fallBackRoute", 2);
6625
6659
  gs([
6626
6660
  l({ type: Object })
6627
- ], Me.prototype, "routes", 2);
6661
+ ], Te.prototype, "routes", 2);
6628
6662
  gs([
6629
6663
  l({ type: String })
6630
- ], Me.prototype, "basePath", 2);
6664
+ ], Te.prototype, "basePath", 2);
6631
6665
  gs([
6632
6666
  l()
6633
- ], Me.prototype, "location", 1);
6634
- Me = gs([
6667
+ ], Te.prototype, "location", 1);
6668
+ Te = gs([
6635
6669
  $(dl)
6636
- ], Me);
6670
+ ], Te);
6637
6671
  var pl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, fl = (r, t, s, i) => {
6638
6672
  for (var e = i > 1 ? void 0 : i ? ul(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6639
6673
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6640
6674
  return i && e && pl(t, s, e), e;
6641
6675
  };
6642
6676
  const ml = "sonic-redirect";
6643
- let zr = class extends G(w) {
6677
+ let zr = class extends X(w) {
6644
6678
  connectedCallback() {
6645
6679
  this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
6646
6680
  }
@@ -6666,7 +6700,7 @@ var gl = Object.defineProperty, bl = Object.getOwnPropertyDescriptor, Qs = (r, t
6666
6700
  return i && e && gl(t, s, e), e;
6667
6701
  };
6668
6702
  const vl = "sonic-states";
6669
- let ns = class extends G(ds(w)) {
6703
+ let ns = class extends X(ds(w)) {
6670
6704
  constructor() {
6671
6705
  super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
6672
6706
  this.state = r, this.requestUpdate();
@@ -6749,10 +6783,10 @@ let ns = class extends G(ds(w)) {
6749
6783
  style="display:contents"
6750
6784
  dataProvider="${n}"
6751
6785
  >
6752
- ${Ot(i)}
6786
+ ${Tt(i)}
6753
6787
  </div>`;
6754
6788
  }
6755
- return Ot(i);
6789
+ return Tt(i);
6756
6790
  }
6757
6791
  )}`;
6758
6792
  }
@@ -6792,7 +6826,7 @@ var xl = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, Po = (r, t
6792
6826
  return i && e && xl(t, s, e), e;
6793
6827
  };
6794
6828
  const Al = "sonic-example";
6795
- let _i = class extends G(w) {
6829
+ let _i = class extends X(w) {
6796
6830
  constructor() {
6797
6831
  super(...arguments), this.text = "Example";
6798
6832
  }
@@ -7368,7 +7402,7 @@ let ye = class extends w {
7368
7402
  }
7369
7403
  };
7370
7404
  ye.styles = [
7371
- It,
7405
+ jt,
7372
7406
  x`
7373
7407
  :host {
7374
7408
  --sc-badge-gap: 0.3em;
@@ -7534,7 +7568,7 @@ class cc {
7534
7568
  });
7535
7569
  }
7536
7570
  }
7537
- var hc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, Ue = (r, t, s, i) => {
7571
+ var hc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, Re = (r, t, s, i) => {
7538
7572
  for (var e = i > 1 ? void 0 : i ? dc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
7539
7573
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
7540
7574
  return i && e && hc(t, s, e), e;
@@ -7596,25 +7630,25 @@ ee.styles = [
7596
7630
  }
7597
7631
  `
7598
7632
  ];
7599
- Ue([
7633
+ Re([
7600
7634
  l({ type: String })
7601
7635
  ], ee.prototype, "href", 2);
7602
- Ue([
7636
+ Re([
7603
7637
  l({ type: String, attribute: "data-aria-label" })
7604
7638
  ], ee.prototype, "ariaLabel", 2);
7605
- Ue([
7639
+ Re([
7606
7640
  l({ type: String })
7607
7641
  ], ee.prototype, "autoActive", 2);
7608
- Ue([
7642
+ Re([
7609
7643
  l({ type: String })
7610
7644
  ], ee.prototype, "target", 1);
7611
- Ue([
7645
+ Re([
7612
7646
  l({ type: Boolean })
7613
7647
  ], ee.prototype, "pushState", 2);
7614
- ee = Ue([
7648
+ ee = Re([
7615
7649
  $(pc)
7616
7650
  ], ee);
7617
- var uc = Object.defineProperty, fc = Object.getOwnPropertyDescriptor, Ve = (r, t, s, i) => {
7651
+ var uc = Object.defineProperty, fc = Object.getOwnPropertyDescriptor, Ue = (r, t, s, i) => {
7618
7652
  for (var e = i > 1 ? void 0 : i ? fc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
7619
7653
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
7620
7654
  return i && e && uc(t, s, e), e;
@@ -7635,7 +7669,7 @@ let se = class extends w {
7635
7669
  }
7636
7670
  };
7637
7671
  se.styles = [
7638
- It,
7672
+ jt,
7639
7673
  x`
7640
7674
  :host {
7641
7675
  --sc-progress-bg: var(
@@ -7749,22 +7783,22 @@ se.styles = [
7749
7783
  }
7750
7784
  `
7751
7785
  ];
7752
- Ve([
7786
+ Ue([
7753
7787
  l({ type: Number })
7754
7788
  ], se.prototype, "value", 2);
7755
- Ve([
7789
+ Ue([
7756
7790
  l({ type: Number })
7757
7791
  ], se.prototype, "max", 2);
7758
- Ve([
7792
+ Ue([
7759
7793
  l({ type: Boolean })
7760
7794
  ], se.prototype, "invert", 2);
7761
- Ve([
7795
+ Ue([
7762
7796
  l({ type: String, reflect: !0 })
7763
7797
  ], se.prototype, "type", 2);
7764
- Ve([
7798
+ Ue([
7765
7799
  l({ type: String, reflect: !0 })
7766
7800
  ], se.prototype, "size", 2);
7767
- se = Ve([
7801
+ se = Ue([
7768
7802
  $(mc)
7769
7803
  ], se);
7770
7804
  const gc = x`
@@ -8007,8 +8041,7 @@ const gc = x`
8007
8041
  :host(:not([disabled])) .form-element:hover,
8008
8042
  .form-element:focus-visible,
8009
8043
  .form-element:focus {
8010
- filter: brightness(0.97);
8011
- outline: none;
8044
+ background-color: hsl(from var(--sc-input-bg) h s calc(l * 0.97));
8012
8045
  }
8013
8046
 
8014
8047
  .form-label {
@@ -8161,10 +8194,10 @@ const gc = x`
8161
8194
  * Copyright 2018 Google LLC
8162
8195
  * SPDX-License-Identifier: BSD-3-Clause
8163
8196
  */
8164
- const Qi = Ae(class extends Fe {
8197
+ const Qi = Ae(class extends je {
8165
8198
  constructor(r) {
8166
8199
  var t;
8167
- if (super(r), r.type !== je.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
8200
+ if (super(r), r.type !== Ie.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
8168
8201
  }
8169
8202
  render(r) {
8170
8203
  return " " + Object.keys(r).filter((t) => r[t]).join(" ") + " ";
@@ -8191,7 +8224,7 @@ var bc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, V = (r, t,
8191
8224
  return i && e && bc(t, s, e), e;
8192
8225
  };
8193
8226
  const yc = "sonic-input";
8194
- let j = class extends Xs(ze(G(w))) {
8227
+ let j = class extends Xs(Fe(X(w))) {
8195
8228
  constructor() {
8196
8229
  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;
8197
8230
  }
@@ -8323,7 +8356,7 @@ let j = class extends Xs(ze(G(w))) {
8323
8356
  }
8324
8357
  };
8325
8358
  j.styles = [
8326
- It,
8359
+ jt,
8327
8360
  Xi,
8328
8361
  Js,
8329
8362
  ti,
@@ -8405,19 +8438,19 @@ V([
8405
8438
  xe("input")
8406
8439
  ], j.prototype, "input", 2);
8407
8440
  V([
8408
- N()
8441
+ T()
8409
8442
  ], j.prototype, "hasDescription", 2);
8410
8443
  V([
8411
- N()
8444
+ T()
8412
8445
  ], j.prototype, "hasLabel", 2);
8413
8446
  V([
8414
- N()
8447
+ T()
8415
8448
  ], j.prototype, "hasSuffix", 2);
8416
8449
  V([
8417
- N()
8450
+ T()
8418
8451
  ], j.prototype, "hasPrefix", 2);
8419
8452
  V([
8420
- N()
8453
+ T()
8421
8454
  ], j.prototype, "isPassword", 2);
8422
8455
  j = V([
8423
8456
  $(yc)
@@ -8448,7 +8481,7 @@ var _c = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, Yt = (r, t
8448
8481
  return i && e && _c(t, s, e), e;
8449
8482
  };
8450
8483
  const $c = "sonic-pop";
8451
- let ot = class extends w {
8484
+ let nt = class extends w {
8452
8485
  constructor() {
8453
8486
  super(...arguments), this.open = !1, this.noToggle = !1, this.inline = !1, this.shadow = "lg", this.placement = "bottom", this.positioningRuns = !1, this.lastContentX = 0, this.lastContentY = 0, this.resizeObserver = new ResizeObserver(
8454
8487
  () => this.computePosition(this.placement)
@@ -8490,7 +8523,7 @@ let ot = class extends w {
8490
8523
  }
8491
8524
  _handleClosePop(r) {
8492
8525
  const t = r.composedPath(), s = t[0];
8493
- ot.pops.forEach((i) => {
8526
+ nt.pops.forEach((i) => {
8494
8527
  const e = t.includes(i), o = t.includes(
8495
8528
  i.querySelector('[slot="content"]')
8496
8529
  ), n = tt.getAncestorAttributeValue(s, "data-on-select") === "keep";
@@ -8498,7 +8531,7 @@ let ot = class extends w {
8498
8531
  });
8499
8532
  }
8500
8533
  connectedCallback() {
8501
- super.connectedCallback(), ot.pops.size == 0 && (document.addEventListener("pointerdown", this._handleClosePop), document.addEventListener("click", this._handleClosePop), document.addEventListener("keydown", this._handleKeyDown)), ot.pops.add(this);
8534
+ super.connectedCallback(), nt.pops.size == 0 && (document.addEventListener("pointerdown", this._handleClosePop), document.addEventListener("click", this._handleClosePop), document.addEventListener("keydown", this._handleKeyDown)), nt.pops.add(this);
8502
8535
  }
8503
8536
  // /*
8504
8537
  // On attends le premier rendu pour observer les changements de taille car popup content n'est pas encore défini sinon
@@ -8507,10 +8540,10 @@ let ot = class extends w {
8507
8540
  super.firstUpdated(r), this.resizeObserver.observe(this.popContent);
8508
8541
  }
8509
8542
  disconnectedCallback() {
8510
- this.popContent && this.resizeObserver.unobserve(this.popContent), super.disconnectedCallback(), ot.pops.delete(this), ot.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop), document.removeEventListener("keydown", this._handleKeyDown));
8543
+ this.popContent && this.resizeObserver.unobserve(this.popContent), super.disconnectedCallback(), nt.pops.delete(this), nt.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop), document.removeEventListener("keydown", this._handleKeyDown));
8511
8544
  }
8512
8545
  computePosition(r) {
8513
- var E, H, W, St;
8546
+ var E, H, W, Ot;
8514
8547
  const t = r.split(" "), s = t[0];
8515
8548
  let i = t[1], e = (E = this.popContent) == null ? void 0 : E.getBoundingClientRect();
8516
8549
  const o = 5, n = this.getBoundingClientRect(), a = tt.getScrollableAncestor(
@@ -8547,7 +8580,7 @@ let ot = class extends w {
8547
8580
  }), e = (W = this.popContent) == null ? void 0 : W.getBoundingClientRect(), e.x < h && (this.lastContentX += h - e.x), e.y < d && (this.lastContentY += d - e.y), Object.assign(this.popContent.style, {
8548
8581
  left: `${this.lastContentX}px`,
8549
8582
  top: `${this.lastContentY}px`
8550
- }), e = (St = this.popContent) == null ? void 0 : St.getBoundingClientRect(), e.x + e.width > p && (this.lastContentX += p - (e.x + e.width)), e.y + e.height > g && (this.lastContentY += g - (e.y + e.height)), Object.assign(this.popContent.style, {
8583
+ }), e = (Ot = this.popContent) == null ? void 0 : Ot.getBoundingClientRect(), e.x + e.width > p && (this.lastContentX += p - (e.x + e.width)), e.y + e.height > g && (this.lastContentY += g - (e.y + e.height)), Object.assign(this.popContent.style, {
8551
8584
  left: `${this.lastContentX}px`,
8552
8585
  top: `${this.lastContentY}px`
8553
8586
  });
@@ -8570,8 +8603,8 @@ let ot = class extends w {
8570
8603
  `;
8571
8604
  }
8572
8605
  };
8573
- ot.pops = /* @__PURE__ */ new Set();
8574
- ot.styles = [
8606
+ nt.pops = /* @__PURE__ */ new Set();
8607
+ nt.styles = [
8575
8608
  x`
8576
8609
  :host {
8577
8610
  display: inline-block;
@@ -8608,32 +8641,32 @@ ot.styles = [
8608
8641
  Co
8609
8642
  ];
8610
8643
  Yt([
8611
- N()
8612
- ], ot.prototype, "open", 2);
8644
+ T()
8645
+ ], nt.prototype, "open", 2);
8613
8646
  Yt([
8614
8647
  xe("slot:not([name=content])")
8615
- ], ot.prototype, "popBtn", 2);
8648
+ ], nt.prototype, "popBtn", 2);
8616
8649
  Yt([
8617
8650
  xe("slot[name=content]")
8618
- ], ot.prototype, "popContent", 2);
8651
+ ], nt.prototype, "popContent", 2);
8619
8652
  Yt([
8620
8653
  l({ type: Boolean })
8621
- ], ot.prototype, "noToggle", 2);
8654
+ ], nt.prototype, "noToggle", 2);
8622
8655
  Yt([
8623
8656
  l({ type: Boolean, reflect: !0 })
8624
- ], ot.prototype, "inline", 2);
8657
+ ], nt.prototype, "inline", 2);
8625
8658
  Yt([
8626
8659
  l({ type: String, reflect: !0 })
8627
- ], ot.prototype, "shadow", 2);
8660
+ ], nt.prototype, "shadow", 2);
8628
8661
  Yt([
8629
8662
  l({ type: String })
8630
- ], ot.prototype, "placement", 2);
8663
+ ], nt.prototype, "placement", 2);
8631
8664
  Yt([
8632
- N()
8633
- ], ot.prototype, "triggerElement", 2);
8634
- ot = Yt([
8665
+ T()
8666
+ ], nt.prototype, "triggerElement", 2);
8667
+ nt = Yt([
8635
8668
  $($c)
8636
- ], ot);
8669
+ ], nt);
8637
8670
  var xc = Object.defineProperty, Pc = Object.getOwnPropertyDescriptor, Ac = (r, t, s, i) => {
8638
8671
  for (var e = i > 1 ? void 0 : i ? Pc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
8639
8672
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -8918,10 +8951,10 @@ bt([
8918
8951
  dt({ slot: "prefix", flatten: !0 })
8919
8952
  ], lt.prototype, "slotInputPrefixNodes", 2);
8920
8953
  bt([
8921
- N()
8954
+ T()
8922
8955
  ], lt.prototype, "hasInputPrefix", 2);
8923
8956
  bt([
8924
- N()
8957
+ T()
8925
8958
  ], lt.prototype, "isPopVisible", 2);
8926
8959
  lt = bt([
8927
8960
  $("sonic-input-autocomplete")
@@ -8979,22 +9012,22 @@ mt([
8979
9012
  l()
8980
9013
  ], ct.prototype, "minChars", 2);
8981
9014
  mt([
8982
- N()
9015
+ T()
8983
9016
  ], ct.prototype, "hasNoChar", 2);
8984
9017
  mt([
8985
- N()
9018
+ T()
8986
9019
  ], ct.prototype, "hasEnoughChars", 2);
8987
9020
  mt([
8988
- N()
9021
+ T()
8989
9022
  ], ct.prototype, "hasMinuscule", 2);
8990
9023
  mt([
8991
- N()
9024
+ T()
8992
9025
  ], ct.prototype, "hasMajuscule", 2);
8993
9026
  mt([
8994
- N()
9027
+ T()
8995
9028
  ], ct.prototype, "hasNumber", 2);
8996
9029
  mt([
8997
- N()
9030
+ T()
8998
9031
  ], ct.prototype, "hasSpecialChar", 2);
8999
9032
  mt([
9000
9033
  l()
@@ -9075,10 +9108,10 @@ Ce([
9075
9108
  l()
9076
9109
  ], ie.prototype, "descriptionWhenNotEqual", 2);
9077
9110
  Ce([
9078
- N()
9111
+ T()
9079
9112
  ], ie.prototype, "areEqual", 2);
9080
9113
  Ce([
9081
- N()
9114
+ T()
9082
9115
  ], ie.prototype, "hasNoChar", 2);
9083
9116
  ie = Ce([
9084
9117
  $(Tc)
@@ -9090,7 +9123,7 @@ var Mc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Zt = (r, t
9090
9123
  };
9091
9124
  const jc = "sonic-checkbox";
9092
9125
  let ut = class extends Bi(
9093
- Xs(ze(G(w)))
9126
+ Xs(Fe(X(w)))
9094
9127
  ) {
9095
9128
  constructor() {
9096
9129
  super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
@@ -9141,7 +9174,7 @@ let ut = class extends Bi(
9141
9174
  }
9142
9175
  };
9143
9176
  ut.styles = [
9144
- It,
9177
+ jt,
9145
9178
  x`
9146
9179
  :host {
9147
9180
  --sc-checkbox-border-width: var(--sc-form-border-width);
@@ -9249,7 +9282,7 @@ ut.styles = [
9249
9282
 
9250
9283
  /*INPUT HOVER*/
9251
9284
  :host(:not([disabled])) label:hover input {
9252
- filter: brightness(0.97);
9285
+ background-color: hsl(from var(--sc-input-bg) h s calc(l * 0.97));
9253
9286
  }
9254
9287
 
9255
9288
  ::slotted(a) {
@@ -9419,7 +9452,7 @@ var Wc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Q = (r, t,
9419
9452
  return i && e && Wc(t, s, e), e;
9420
9453
  };
9421
9454
  const Yc = "sonic-select";
9422
- let Y = class extends ze(G(w)) {
9455
+ let Y = class extends Fe(X(w)) {
9423
9456
  constructor() {
9424
9457
  super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
9425
9458
  const r = this.querySelectorAll(
@@ -9554,7 +9587,7 @@ let Y = class extends ze(G(w)) {
9554
9587
  }
9555
9588
  };
9556
9589
  Y.styles = [
9557
- It,
9590
+ jt,
9558
9591
  Xi,
9559
9592
  Js,
9560
9593
  ti,
@@ -9568,14 +9601,15 @@ Y.styles = [
9568
9601
  }
9569
9602
 
9570
9603
  @supports selector(:has(*)) {
9571
- :host(:not([disabled])) .form-element:not(:has(option:only-child)) {
9572
- padding-right: max(1.275em, calc(1.5 * var(--sc-input-px)));
9604
+ :host([align="left"]:not([disabled]))
9605
+ .form-element:not(:has(option:only-child)) {
9606
+ padding-right: max(1.5em, calc(1.5 * var(--sc-input-px)));
9573
9607
  }
9574
9608
  }
9575
9609
  /*Firefox etc.*/
9576
9610
  @supports not selector(:has(*)) {
9577
- :host(:not([disabled])) .form-element {
9578
- padding-right: max(1.275em, calc(1.5 * var(--sc-input-px)));
9611
+ :host([align="left"]:not([disabled])) .form-element {
9612
+ padding-right: max(1.5em, calc(1.5 * var(--sc-input-px)));
9579
9613
  }
9580
9614
  }
9581
9615
 
@@ -9586,11 +9620,12 @@ Y.styles = [
9586
9620
 
9587
9621
  sonic-icon {
9588
9622
  position: absolute;
9589
- right: calc(0.8 * var(--sc-input-px));
9590
9623
  top: 50%;
9591
9624
  pointer-events: none;
9592
9625
  transform: translateY(-50%);
9593
9626
  color: var(--sc-input-c);
9627
+ right: 0.1em;
9628
+ width: 1.275em;
9594
9629
  }
9595
9630
 
9596
9631
  option {
@@ -9603,6 +9638,9 @@ Y.styles = [
9603
9638
  background: transparent;
9604
9639
  padding: 0;
9605
9640
  }
9641
+ :host([multiple]) sonic-icon {
9642
+ display: none !important;
9643
+ }
9606
9644
  `
9607
9645
  ];
9608
9646
  Q([
@@ -9651,16 +9689,16 @@ Q([
9651
9689
  dt({ slot: "prefix", flatten: !0 })
9652
9690
  ], Y.prototype, "slotPrefixNodes", 2);
9653
9691
  Q([
9654
- N()
9692
+ T()
9655
9693
  ], Y.prototype, "hasDescription", 2);
9656
9694
  Q([
9657
- N()
9695
+ T()
9658
9696
  ], Y.prototype, "hasLabel", 2);
9659
9697
  Q([
9660
- N()
9698
+ T()
9661
9699
  ], Y.prototype, "hasSuffix", 2);
9662
9700
  Q([
9663
- N()
9701
+ T()
9664
9702
  ], Y.prototype, "hasPrefix", 2);
9665
9703
  Y = Q([
9666
9704
  $(Yc)
@@ -9671,7 +9709,7 @@ var Zc = Object.defineProperty, Gc = Object.getOwnPropertyDescriptor, vt = (r, t
9671
9709
  return i && e && Zc(t, s, e), e;
9672
9710
  };
9673
9711
  const Xc = "sonic-textarea";
9674
- let ht = class extends Xs(ze(G(w))) {
9712
+ let ht = class extends Xs(Fe(X(w))) {
9675
9713
  constructor() {
9676
9714
  super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
9677
9715
  }
@@ -9749,7 +9787,7 @@ ${this.value}</textarea
9749
9787
  }
9750
9788
  };
9751
9789
  ht.styles = [
9752
- It,
9790
+ jt,
9753
9791
  Xi,
9754
9792
  Js,
9755
9793
  ti,
@@ -9795,10 +9833,10 @@ vt([
9795
9833
  dt({ slot: "description", flatten: !0 })
9796
9834
  ], ht.prototype, "slotDescriptionNodes", 2);
9797
9835
  vt([
9798
- N()
9836
+ T()
9799
9837
  ], ht.prototype, "hasDescription", 2);
9800
9838
  vt([
9801
- N()
9839
+ T()
9802
9840
  ], ht.prototype, "hasLabel", 2);
9803
9841
  ht = vt([
9804
9842
  $(Xc)
@@ -9823,6 +9861,13 @@ xi.styles = [
9823
9861
  font-weight: var(--sc-font-weight-base, 400);
9824
9862
  font-style: var(--sc-font-style-base, normal);
9825
9863
  margin-top: 0.2em;
9864
+ container-type: inline-size;
9865
+ }
9866
+
9867
+ @container (max-inline-size: 28rem) {
9868
+ :host {
9869
+ font-size: 1rem;
9870
+ }
9826
9871
  }
9827
9872
  `
9828
9873
  ];
@@ -9886,8 +9931,14 @@ Wt.styles = [
9886
9931
  --sc-legend-color: var(--sc-base-content, #000);
9887
9932
  display: flex;
9888
9933
  width: 100%;
9934
+ container-type: inline-size;
9889
9935
  }
9890
9936
 
9937
+ @container (max-inline-size: 28rem) {
9938
+ legend {
9939
+ --sc-legend-font-size: 1.3rem;
9940
+ }
9941
+ }
9891
9942
  legend {
9892
9943
  font-size: var(--sc-legend-font-size);
9893
9944
  font-weight: var(--sc-legend-font-weight);
@@ -9899,7 +9950,7 @@ Wt.styles = [
9899
9950
  display: flex;
9900
9951
  width: 100%;
9901
9952
  align-items: flex-start;
9902
- gap: 0.5em;
9953
+ gap: 0.35em;
9903
9954
  }
9904
9955
 
9905
9956
  slot[name="suffix"] {
@@ -9940,7 +9991,7 @@ var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, zt = (r, t
9940
9991
  return i && e && rh(t, s, e), e;
9941
9992
  };
9942
9993
  const nh = "sonic-fieldset";
9943
- let xt = class extends G(w) {
9994
+ let Pt = class extends X(w) {
9944
9995
  constructor() {
9945
9996
  super(...arguments), this.disabled = !1, this.variant = "default";
9946
9997
  }
@@ -9960,7 +10011,7 @@ let xt = class extends G(w) {
9960
10011
  </fieldset>`;
9961
10012
  }
9962
10013
  };
9963
- xt.styles = [
10014
+ Pt.styles = [
9964
10015
  x`
9965
10016
  :host {
9966
10017
  --sc-fieldset-mt: 0;
@@ -10014,41 +10065,41 @@ xt.styles = [
10014
10065
  ];
10015
10066
  zt([
10016
10067
  l({ type: Boolean, reflect: !0 })
10017
- ], xt.prototype, "disabled", 2);
10068
+ ], Pt.prototype, "disabled", 2);
10018
10069
  zt([
10019
10070
  l({ type: String })
10020
- ], xt.prototype, "form", 2);
10071
+ ], Pt.prototype, "form", 2);
10021
10072
  zt([
10022
10073
  l({ type: String })
10023
- ], xt.prototype, "label", 2);
10074
+ ], Pt.prototype, "label", 2);
10024
10075
  zt([
10025
10076
  l({ type: String })
10026
- ], xt.prototype, "description", 2);
10077
+ ], Pt.prototype, "description", 2);
10027
10078
  zt([
10028
10079
  l({ type: String })
10029
- ], xt.prototype, "iconName", 2);
10080
+ ], Pt.prototype, "iconName", 2);
10030
10081
  zt([
10031
10082
  l({ type: String })
10032
- ], xt.prototype, "iconLibrary", 2);
10083
+ ], Pt.prototype, "iconLibrary", 2);
10033
10084
  zt([
10034
10085
  l({ type: String })
10035
- ], xt.prototype, "iconPrefix", 2);
10086
+ ], Pt.prototype, "iconPrefix", 2);
10036
10087
  zt([
10037
10088
  l({ type: Boolean, reflect: !0 })
10038
- ], xt.prototype, "tight", 2);
10089
+ ], Pt.prototype, "tight", 2);
10039
10090
  zt([
10040
10091
  l({ type: String, reflect: !0 })
10041
- ], xt.prototype, "variant", 2);
10042
- xt = zt([
10092
+ ], Pt.prototype, "variant", 2);
10093
+ Pt = zt([
10043
10094
  $(nh)
10044
- ], xt);
10095
+ ], Pt);
10045
10096
  var ah = Object.defineProperty, lh = Object.getOwnPropertyDescriptor, Ji = (r, t, s, i) => {
10046
10097
  for (var e = i > 1 ? void 0 : i ? lh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10047
10098
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10048
10099
  return i && e && ah(t, s, e), e;
10049
10100
  };
10050
10101
  const ch = "sonic-form-layout";
10051
- let as = class extends G(w) {
10102
+ let as = class extends X(w) {
10052
10103
  constructor() {
10053
10104
  super(...arguments), this._resizeController = new So(this, {}), this.oneFormElement = !1;
10054
10105
  }
@@ -10159,7 +10210,7 @@ var uh = Object.defineProperty, fh = Object.getOwnPropertyDescriptor, ne = (r, t
10159
10210
  return i && e && uh(t, s, e), e;
10160
10211
  };
10161
10212
  const mh = "sonic-group";
10162
- let Tt = class extends w {
10213
+ let Mt = class extends w {
10163
10214
  constructor() {
10164
10215
  super(...arguments), this.alignItems = "center", this.hasDescription = !1, this.hasLabel = !1;
10165
10216
  }
@@ -10205,8 +10256,8 @@ let Tt = class extends w {
10205
10256
  </slot>`;
10206
10257
  }
10207
10258
  };
10208
- Tt.styles = [
10209
- It,
10259
+ Mt.styles = [
10260
+ jt,
10210
10261
  Js,
10211
10262
  ti,
10212
10263
  x`
@@ -10233,35 +10284,35 @@ Tt.styles = [
10233
10284
  ];
10234
10285
  ne([
10235
10286
  l({ type: String })
10236
- ], Tt.prototype, "alignItems", 2);
10287
+ ], Mt.prototype, "alignItems", 2);
10237
10288
  ne([
10238
10289
  l({ type: String })
10239
- ], Tt.prototype, "label", 2);
10290
+ ], Mt.prototype, "label", 2);
10240
10291
  ne([
10241
10292
  l({ type: String })
10242
- ], Tt.prototype, "description", 2);
10293
+ ], Mt.prototype, "description", 2);
10243
10294
  ne([
10244
10295
  dt({ slot: "label", flatten: !0 })
10245
- ], Tt.prototype, "slotLabelNodes", 2);
10296
+ ], Mt.prototype, "slotLabelNodes", 2);
10246
10297
  ne([
10247
10298
  dt({ slot: "description", flatten: !0 })
10248
- ], Tt.prototype, "slotDescriptionNodes", 2);
10299
+ ], Mt.prototype, "slotDescriptionNodes", 2);
10249
10300
  ne([
10250
- N()
10251
- ], Tt.prototype, "hasDescription", 2);
10301
+ T()
10302
+ ], Mt.prototype, "hasDescription", 2);
10252
10303
  ne([
10253
- N()
10254
- ], Tt.prototype, "hasLabel", 2);
10255
- Tt = ne([
10304
+ T()
10305
+ ], Mt.prototype, "hasLabel", 2);
10306
+ Mt = ne([
10256
10307
  $(mh)
10257
- ], Tt);
10308
+ ], Mt);
10258
10309
  var gh = Object.defineProperty, bh = Object.getOwnPropertyDescriptor, Rt = (r, t, s, i) => {
10259
10310
  for (var e = i > 1 ? void 0 : i ? bh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10260
10311
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10261
10312
  return i && e && gh(t, s, e), e;
10262
10313
  };
10263
10314
  const vh = "sonic-image";
10264
- let Pt = class extends w {
10315
+ let At = class extends w {
10265
10316
  constructor() {
10266
10317
  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;
10267
10318
  }
@@ -10294,7 +10345,7 @@ let Pt = class extends w {
10294
10345
  </div>`;
10295
10346
  }
10296
10347
  };
10297
- Pt.styles = [
10348
+ At.styles = [
10298
10349
  x`
10299
10350
  :host {
10300
10351
  --sc-img-radius: 0;
@@ -10373,34 +10424,34 @@ Pt.styles = [
10373
10424
  ];
10374
10425
  Rt([
10375
10426
  l({ type: String })
10376
- ], Pt.prototype, "rounded", 2);
10427
+ ], At.prototype, "rounded", 2);
10377
10428
  Rt([
10378
10429
  l({ type: String })
10379
- ], Pt.prototype, "src", 2);
10430
+ ], At.prototype, "src", 2);
10380
10431
  Rt([
10381
10432
  l({ type: String })
10382
- ], Pt.prototype, "alt", 2);
10433
+ ], At.prototype, "alt", 2);
10383
10434
  Rt([
10384
10435
  l({ type: String })
10385
- ], Pt.prototype, "loading", 2);
10436
+ ], At.prototype, "loading", 2);
10386
10437
  Rt([
10387
10438
  l({ type: String, reflect: !0 })
10388
- ], Pt.prototype, "transition", 2);
10439
+ ], At.prototype, "transition", 2);
10389
10440
  Rt([
10390
10441
  l({ type: String })
10391
- ], Pt.prototype, "ratio", 2);
10442
+ ], At.prototype, "ratio", 2);
10392
10443
  Rt([
10393
10444
  l({ type: String })
10394
- ], Pt.prototype, "objectPosition", 2);
10445
+ ], At.prototype, "objectPosition", 2);
10395
10446
  Rt([
10396
10447
  l({ type: String })
10397
- ], Pt.prototype, "imageRendering", 2);
10448
+ ], At.prototype, "imageRendering", 2);
10398
10449
  Rt([
10399
10450
  l({ type: Boolean, reflect: !0 })
10400
- ], Pt.prototype, "cover", 2);
10401
- Pt = Rt([
10451
+ ], At.prototype, "cover", 2);
10452
+ At = Rt([
10402
10453
  $(vh)
10403
- ], Pt);
10454
+ ], At);
10404
10455
  var yh = Object.defineProperty, _h = Object.getOwnPropertyDescriptor, wt = (r, t, s, i) => {
10405
10456
  for (var e = i > 1 ? void 0 : i ? _h(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10406
10457
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -10652,7 +10703,7 @@ wt([
10652
10703
  Pe({ slot: "more", selector: "*" })
10653
10704
  ], ft.prototype, "moreElements", 2);
10654
10705
  wt([
10655
- N()
10706
+ T()
10656
10707
  ], ft.prototype, "hasMoreElements", 2);
10657
10708
  ft = wt([
10658
10709
  $(wh)
@@ -10820,7 +10871,7 @@ var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, st = (r, t
10820
10871
  return i && e && Rh(t, s, e), e;
10821
10872
  };
10822
10873
  const ko = "sonic-modal";
10823
- let F = class extends G(w) {
10874
+ let F = class extends X(w) {
10824
10875
  constructor() {
10825
10876
  super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.padding = "var(--sc-modal-py) var(--sc-modal-px)", this.maxWidth = "var(--sc-modal-max-w) ", this.maxHeight = "var(--sc-modal-max-h) ", this.width = "100%", this.height = "auto", this.zIndex = "var(--sc-modal-z-index)", this.fullScreen = !1, this.visible = !1;
10826
10877
  }
@@ -11167,7 +11218,7 @@ const Bh = {
11167
11218
  info: "info-empty",
11168
11219
  default: "info-empty"
11169
11220
  }, qh = "sonic-alert";
11170
- let At = class extends w {
11221
+ let Ct = class extends w {
11171
11222
  constructor() {
11172
11223
  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;
11173
11224
  }
@@ -11210,8 +11261,8 @@ let At = class extends w {
11210
11261
  }
11211
11262
  }
11212
11263
  };
11213
- At.styles = [
11214
- It,
11264
+ Ct.styles = [
11265
+ jt,
11215
11266
  x`
11216
11267
  :host {
11217
11268
  --sc_color: var(--sc-base-content, #000);
@@ -11303,41 +11354,41 @@ At.styles = [
11303
11354
  ];
11304
11355
  Ut([
11305
11356
  l({ type: String })
11306
- ], At.prototype, "label", 2);
11357
+ ], Ct.prototype, "label", 2);
11307
11358
  Ut([
11308
11359
  l({ type: Boolean, reflect: !0 })
11309
- ], At.prototype, "noIcon", 2);
11360
+ ], Ct.prototype, "noIcon", 2);
11310
11361
  Ut([
11311
11362
  l({ type: String })
11312
- ], At.prototype, "text", 2);
11363
+ ], Ct.prototype, "text", 2);
11313
11364
  Ut([
11314
11365
  l({ type: String })
11315
- ], At.prototype, "id", 2);
11366
+ ], Ct.prototype, "id", 2);
11316
11367
  Ut([
11317
11368
  l({ type: String, reflect: !0 })
11318
- ], At.prototype, "size", 2);
11369
+ ], Ct.prototype, "size", 2);
11319
11370
  Ut([
11320
11371
  l({ type: Boolean, reflect: !0 })
11321
- ], At.prototype, "dismissible", 2);
11372
+ ], Ct.prototype, "dismissible", 2);
11322
11373
  Ut([
11323
11374
  l({ type: Boolean, reflect: !0 })
11324
- ], At.prototype, "background", 2);
11375
+ ], Ct.prototype, "background", 2);
11325
11376
  Ut([
11326
11377
  l({ type: String, reflect: !0 })
11327
- ], At.prototype, "status", 2);
11378
+ ], Ct.prototype, "status", 2);
11328
11379
  Ut([
11329
11380
  l({ type: Boolean, reflect: !0 })
11330
- ], At.prototype, "dismissForever", 2);
11331
- At = Ut([
11381
+ ], Ct.prototype, "dismissForever", 2);
11382
+ Ct = Ut([
11332
11383
  $(qh)
11333
- ], At);
11384
+ ], Ct);
11334
11385
  var Wh = Object.defineProperty, Kh = Object.getOwnPropertyDescriptor, vs = (r, t, s, i) => {
11335
11386
  for (var e = i > 1 ? void 0 : i ? Kh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11336
11387
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11337
11388
  return i && e && Wh(t, s, e), e;
11338
11389
  };
11339
11390
  const Yh = "sonic-alert-messages";
11340
- let _e = class extends G(w) {
11391
+ let _e = class extends X(w) {
11341
11392
  constructor() {
11342
11393
  super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
11343
11394
  }
@@ -11385,7 +11436,7 @@ var Zh = Object.defineProperty, Gh = Object.getOwnPropertyDescriptor, Lo = (r, t
11385
11436
  return i && e && Zh(t, s, e), e;
11386
11437
  };
11387
11438
  const Xh = "sonic-toast-message-subscriber";
11388
- let Si = class extends G(w) {
11439
+ let Si = class extends X(w) {
11389
11440
  constructor() {
11390
11441
  super(...arguments), this._messages = [];
11391
11442
  }
@@ -11394,7 +11445,7 @@ let Si = class extends G(w) {
11394
11445
  }
11395
11446
  set messages(r) {
11396
11447
  this._messages = r, this.messages && r.forEach((t) => {
11397
- t.type == "public" && T.add({ text: t.content || "", status: t.status });
11448
+ t.type == "public" && M.add({ text: t.content || "", status: t.status });
11398
11449
  });
11399
11450
  }
11400
11451
  render() {
@@ -11553,7 +11604,7 @@ var ed = Object.defineProperty, sd = Object.getOwnPropertyDescriptor, Vt = (r, t
11553
11604
  return i && e && ed(t, s, e), e;
11554
11605
  };
11555
11606
  const id = "sonic-divider";
11556
- let Ct = class extends w {
11607
+ let St = class extends w {
11557
11608
  constructor() {
11558
11609
  super(...arguments), this.label = "", this.align = "center", this.vertical = !1, this.noMargin = !1, this.dashed = !1, this.dotted = !1;
11559
11610
  }
@@ -11569,7 +11620,7 @@ let Ct = class extends w {
11569
11620
  </div>`;
11570
11621
  }
11571
11622
  };
11572
- Ct.styles = [
11623
+ St.styles = [
11573
11624
  x`
11574
11625
  :host {
11575
11626
  --sc-divider-my: 0.5rem;
@@ -11705,34 +11756,34 @@ Ct.styles = [
11705
11756
  ];
11706
11757
  Vt([
11707
11758
  dt({ flatten: !0 })
11708
- ], Ct.prototype, "slotNodes", 2);
11759
+ ], St.prototype, "slotNodes", 2);
11709
11760
  Vt([
11710
11761
  xe("div")
11711
- ], Ct.prototype, "divider", 2);
11762
+ ], St.prototype, "divider", 2);
11712
11763
  Vt([
11713
11764
  l({ type: String })
11714
- ], Ct.prototype, "label", 2);
11765
+ ], St.prototype, "label", 2);
11715
11766
  Vt([
11716
11767
  l({ type: String, reflect: !0 })
11717
- ], Ct.prototype, "size", 2);
11768
+ ], St.prototype, "size", 2);
11718
11769
  Vt([
11719
11770
  l({ type: String, reflect: !0 })
11720
- ], Ct.prototype, "align", 2);
11771
+ ], St.prototype, "align", 2);
11721
11772
  Vt([
11722
11773
  l({ type: Boolean, reflect: !0 })
11723
- ], Ct.prototype, "vertical", 2);
11774
+ ], St.prototype, "vertical", 2);
11724
11775
  Vt([
11725
11776
  l({ type: Boolean, reflect: !0 })
11726
- ], Ct.prototype, "noMargin", 2);
11777
+ ], St.prototype, "noMargin", 2);
11727
11778
  Vt([
11728
11779
  l({ type: Boolean, reflect: !0 })
11729
- ], Ct.prototype, "dashed", 2);
11780
+ ], St.prototype, "dashed", 2);
11730
11781
  Vt([
11731
11782
  l({ type: Boolean, reflect: !0 })
11732
- ], Ct.prototype, "dotted", 2);
11733
- Ct = Vt([
11783
+ ], St.prototype, "dotted", 2);
11784
+ St = Vt([
11734
11785
  $(id)
11735
- ], Ct);
11786
+ ], St);
11736
11787
  var rd = Object.defineProperty, od = Object.getOwnPropertyDescriptor, nd = (r, t, s, i) => {
11737
11788
  for (var e = i > 1 ? void 0 : i ? od(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11738
11789
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -12019,7 +12070,7 @@ var xd = Object.defineProperty, Pd = Object.getOwnPropertyDescriptor, _s = (r, t
12019
12070
  return i && e && xd(t, s, e), e;
12020
12071
  };
12021
12072
  const Ad = "sonic-tr";
12022
- let $e = class extends G(w) {
12073
+ let $e = class extends X(w) {
12023
12074
  constructor() {
12024
12075
  super(...arguments), this._metadata_ = {};
12025
12076
  }
@@ -12145,7 +12196,7 @@ var Dd = Object.defineProperty, kd = Object.getOwnPropertyDescriptor, ae = (r, t
12145
12196
  return i && e && Dd(t, s, e), e;
12146
12197
  };
12147
12198
  const Ld = "sonic-td";
12148
- let Mt = class extends w {
12199
+ let It = class extends w {
12149
12200
  render() {
12150
12201
  const r = {
12151
12202
  textAlign: this.align,
@@ -12159,7 +12210,7 @@ let Mt = class extends w {
12159
12210
  </td>`;
12160
12211
  }
12161
12212
  };
12162
- Mt.styles = [
12213
+ It.styles = [
12163
12214
  sr,
12164
12215
  x`
12165
12216
  :host {
@@ -12178,28 +12229,28 @@ Mt.styles = [
12178
12229
  ];
12179
12230
  ae([
12180
12231
  l({ type: Number })
12181
- ], Mt.prototype, "colSpan", 2);
12232
+ ], It.prototype, "colSpan", 2);
12182
12233
  ae([
12183
12234
  l({ type: Number })
12184
- ], Mt.prototype, "rowSpan", 2);
12235
+ ], It.prototype, "rowSpan", 2);
12185
12236
  ae([
12186
12237
  l({ type: String })
12187
- ], Mt.prototype, "align", 2);
12238
+ ], It.prototype, "align", 2);
12188
12239
  ae([
12189
12240
  l({ type: String })
12190
- ], Mt.prototype, "vAlign", 2);
12241
+ ], It.prototype, "vAlign", 2);
12191
12242
  ae([
12192
12243
  l({ type: String })
12193
- ], Mt.prototype, "minWidth", 2);
12244
+ ], It.prototype, "minWidth", 2);
12194
12245
  ae([
12195
12246
  l({ type: String })
12196
- ], Mt.prototype, "maxWidth", 2);
12247
+ ], It.prototype, "maxWidth", 2);
12197
12248
  ae([
12198
12249
  l({ type: String })
12199
- ], Mt.prototype, "width", 2);
12200
- Mt = ae([
12250
+ ], It.prototype, "width", 2);
12251
+ It = ae([
12201
12252
  $(Ld)
12202
- ], Mt);
12253
+ ], It);
12203
12254
  var Ed = Object.defineProperty, Nd = Object.getOwnPropertyDescriptor, Td = (r, t, s, i) => {
12204
12255
  for (var e = i > 1 ? void 0 : i ? Nd(t, s) : t, o = r.length - 1, n; o >= 0; o--)
12205
12256
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -12304,7 +12355,7 @@ Ti.styles = [
12304
12355
  Ti = Wd([
12305
12356
  $(Kd)
12306
12357
  ], Ti);
12307
- var Yd = Object.defineProperty, Zd = Object.getOwnPropertyDescriptor, He = (r, t, s, i) => {
12358
+ var Yd = Object.defineProperty, Zd = Object.getOwnPropertyDescriptor, Ve = (r, t, s, i) => {
12308
12359
  for (var e = i > 1 ? void 0 : i ? Zd(t, s) : t, o = r.length - 1, n; o >= 0; o--)
12309
12360
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
12310
12361
  return i && e && Yd(t, s, e), e;
@@ -12329,7 +12380,7 @@ let re = class extends w {
12329
12380
  };
12330
12381
  re.styles = [
12331
12382
  fs,
12332
- It,
12383
+ jt,
12333
12384
  x`
12334
12385
  :host {
12335
12386
  --sc-table-fw: var(--sc-font-weight-base, 400);
@@ -12377,22 +12428,22 @@ re.styles = [
12377
12428
  }
12378
12429
  `
12379
12430
  ];
12380
- He([
12431
+ Ve([
12381
12432
  l({ type: String, reflect: !0 })
12382
12433
  ], re.prototype, "size", 2);
12383
- He([
12434
+ Ve([
12384
12435
  l({ type: Boolean, reflect: !0 })
12385
12436
  ], re.prototype, "bordered", 2);
12386
- He([
12437
+ Ve([
12387
12438
  l({ type: Boolean, reflect: !0 })
12388
12439
  ], re.prototype, "rounded", 2);
12389
- He([
12440
+ Ve([
12390
12441
  l({ type: Boolean, reflect: !0 })
12391
12442
  ], re.prototype, "noCustomScroll", 2);
12392
- He([
12443
+ Ve([
12393
12444
  l({ type: String })
12394
12445
  ], re.prototype, "maxHeight", 2);
12395
- re = He([
12446
+ re = Ve([
12396
12447
  $(Gd)
12397
12448
  ], re);
12398
12449
  const No = "AES-CBC", Xd = 256;
@@ -12429,7 +12480,7 @@ var ep = Object.defineProperty, sp = Object.getOwnPropertyDescriptor, ei = (r, t
12429
12480
  const ip = "supersoniks_altcha", rp = "Si2\\]X8M4!n9DCLd";
12430
12481
  let Hr = !1;
12431
12482
  const op = "sonic-captcha";
12432
- let Ie = class extends oe(w) {
12483
+ let Me = class extends oe(w) {
12433
12484
  constructor() {
12434
12485
  super(...arguments), this.key = "", this.action = null, this.zIndex = 9999, this.onCaptchaTokenChanged = (r) => {
12435
12486
  r == "request_token" && (this.formPublisher && (this.formPublisher.captchaToken = ""), this.requestToken());
@@ -12503,7 +12554,7 @@ let Ie = class extends oe(w) {
12503
12554
  `;
12504
12555
  }
12505
12556
  };
12506
- Ie.styles = [
12557
+ Me.styles = [
12507
12558
  x`
12508
12559
  :host {
12509
12560
  --altcha-border-width: var(--sc-border-width, 1px);
@@ -12526,16 +12577,16 @@ Ie.styles = [
12526
12577
  ];
12527
12578
  ei([
12528
12579
  l()
12529
- ], Ie.prototype, "key", 2);
12580
+ ], Me.prototype, "key", 2);
12530
12581
  ei([
12531
12582
  l()
12532
- ], Ie.prototype, "action", 2);
12583
+ ], Me.prototype, "action", 2);
12533
12584
  ei([
12534
12585
  l({ type: Number })
12535
- ], Ie.prototype, "zIndex", 2);
12536
- Ie = ei([
12586
+ ], Me.prototype, "zIndex", 2);
12587
+ Me = ei([
12537
12588
  $(op)
12538
- ], Ie);
12589
+ ], Me);
12539
12590
  window.queueMicrotask = window.queueMicrotask || function(r) {
12540
12591
  Promise.resolve().then(r).catch(
12541
12592
  (t) => setTimeout(() => {
@@ -12567,7 +12618,7 @@ function lp(r) {
12567
12618
  return function() {
12568
12619
  };
12569
12620
  const s = t.shift() || "";
12570
- let i = M.get(s);
12621
+ let i = N.get(s);
12571
12622
  return i = ps.traverse(i, t), function(e, o) {
12572
12623
  if (!e) return;
12573
12624
  let n;
@@ -12587,7 +12638,7 @@ function cp(...r) {
12587
12638
  if (o.length == 0)
12588
12639
  continue;
12589
12640
  const n = o.shift() || "";
12590
- let a = M.get(n);
12641
+ let a = N.get(n);
12591
12642
  a = ps.traverse(a, o);
12592
12643
  const c = /* @__PURE__ */ new Set(), h = (d) => {
12593
12644
  t[i] = d, t.filter((p) => p !== null).length == r.length && c.forEach((p) => p(...t));
@@ -12620,7 +12671,7 @@ window["concorde-directives-data-provider"] = {
12620
12671
  get: pn,
12621
12672
  set: fn
12622
12673
  };
12623
- const hp = T, dp = F;
12674
+ const hp = M, dp = F;
12624
12675
  window["concorde-components"] = window["concorde-components"] || {};
12625
12676
  window["concorde-components"] = {
12626
12677
  SonicToast: hp,