@supersoniks/concorde 3.1.85 → 3.1.87

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 (225) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +23 -14
  3. package/concorde-core.es.js +24 -15
  4. package/dist/concorde-core.bundle.js +23 -14
  5. package/dist/concorde-core.es.js +24 -15
  6. package/index.html +0 -0
  7. package/package.json +4 -4
  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.spec.ts +0 -0
  16. package/src/core/components/functional/queue/queue.demo.ts +0 -0
  17. package/src/core/components/functional/router/router.demo.ts +0 -0
  18. package/src/core/components/functional/router/router.md +0 -0
  19. package/src/core/components/functional/router/router.spec.ts +0 -0
  20. package/src/core/components/functional/router/router.ts +0 -0
  21. package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
  22. package/src/core/components/functional/states/states.demo.ts +0 -0
  23. package/src/core/components/functional/states/states.md +0 -0
  24. package/src/core/components/functional/states/states.spec.ts +0 -0
  25. package/src/core/components/functional/states/states.ts +0 -0
  26. package/src/core/components/functional/submit/submit.ts +0 -0
  27. package/src/core/components/functional/translation/translation.ts +0 -0
  28. package/src/core/components/ui/_css/scroll.ts +0 -0
  29. package/src/core/components/ui/_css/shadow.ts +0 -0
  30. package/src/core/components/ui/_css/size.ts +0 -0
  31. package/src/core/components/ui/_css/type.ts +0 -0
  32. package/src/core/components/ui/alert/alert.md +0 -0
  33. package/src/core/components/ui/alert/alert.ts +0 -0
  34. package/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  35. package/src/core/components/ui/badge/badge.md +0 -0
  36. package/src/core/components/ui/badge/badge.ts +0 -0
  37. package/src/core/components/ui/button/button.md +0 -0
  38. package/src/core/components/ui/button/button.ts +0 -0
  39. package/src/core/components/ui/captcha/captcha.md +0 -0
  40. package/src/core/components/ui/captcha/captcha.ts +1 -1
  41. package/src/core/components/ui/card/card-footer.ts +0 -0
  42. package/src/core/components/ui/card/card-header-descripton.ts +0 -0
  43. package/src/core/components/ui/card/card-header.ts +0 -0
  44. package/src/core/components/ui/card/card-main.ts +0 -0
  45. package/src/core/components/ui/card/card.md +0 -0
  46. package/src/core/components/ui/card/card.ts +0 -0
  47. package/src/core/components/ui/divider/divider.ts +0 -0
  48. package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
  49. package/src/core/components/ui/form/checkbox/checkbox.ts +0 -0
  50. package/src/core/components/ui/form/css/form-control.ts +0 -0
  51. package/src/core/components/ui/form/fieldset/fieldset.ts +0 -0
  52. package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
  53. package/src/core/components/ui/form/fieldset/legend.ts +0 -0
  54. package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
  55. package/src/core/components/ui/form/input/input.md +0 -0
  56. package/src/core/components/ui/form/input/input.ts +1 -1
  57. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
  58. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +10 -2
  59. package/src/core/components/ui/form/radio/radio.md +0 -0
  60. package/src/core/components/ui/form/radio/radio.ts +0 -0
  61. package/src/core/components/ui/form/select/select.md +0 -0
  62. package/src/core/components/ui/form/switch/switch.md +0 -0
  63. package/src/core/components/ui/form/switch/switch.ts +0 -0
  64. package/src/core/components/ui/form/textarea/textarea.ts +0 -0
  65. package/src/core/components/ui/icon/icon.ts +10 -9
  66. package/src/core/components/ui/icon/icons.ts +0 -0
  67. package/src/core/components/ui/image/image.md +0 -0
  68. package/src/core/components/ui/image/image.ts +0 -0
  69. package/src/core/components/ui/loader/loader.md +0 -0
  70. package/src/core/components/ui/loader/loader.ts +0 -0
  71. package/src/core/components/ui/loader/styles/fixed.ts +0 -0
  72. package/src/core/components/ui/loader/styles/inline.ts +0 -0
  73. package/src/core/components/ui/menu/menu.ts +0 -0
  74. package/src/core/components/ui/modal/modal-actions.ts +0 -0
  75. package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
  76. package/src/core/components/ui/modal/modal-title.ts +0 -0
  77. package/src/core/components/ui/modal/modal.md +0 -0
  78. package/src/core/components/ui/modal/modal.ts +0 -0
  79. package/src/core/components/ui/pop/pop.md +0 -0
  80. package/src/core/components/ui/progress/progress.ts +0 -0
  81. package/src/core/components/ui/table/table-tbody.ts +0 -0
  82. package/src/core/components/ui/table/table-th.ts +0 -0
  83. package/src/core/components/ui/table/table.ts +0 -0
  84. package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
  85. package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
  86. package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
  87. package/src/core/components/ui/theme/theme.ts +0 -0
  88. package/src/core/components/ui/toast/toast-item.ts +0 -0
  89. package/src/core/components/ui/toast/toast.ts +0 -0
  90. package/src/core/components/ui/tooltip/tooltip.ts +0 -0
  91. package/src/core/components/ui/ui.ts +0 -0
  92. package/src/core/directives/DataProvider.ts +0 -0
  93. package/src/core/directives/Wording.ts +0 -0
  94. package/src/core/mixins/Fetcher.ts +0 -0
  95. package/src/core/mixins/FormCheckable.ts +0 -0
  96. package/src/core/mixins/FormElement.ts +2 -2
  97. package/src/core/mixins/TemplatesContainer.ts +0 -0
  98. package/src/core/utils/HTML.ts +0 -0
  99. package/src/core/utils/LocationHandler.ts +0 -0
  100. package/src/core/utils/Objects.ts +0 -0
  101. package/src/core/utils/PublisherProxy.ts +0 -0
  102. package/src/core/utils/Utils.ts +0 -0
  103. package/src/core/utils/aesCrypto.ts +0 -0
  104. package/src/core/utils/api.ts +0 -0
  105. package/src/core/utils/route.spec.ts +0 -0
  106. package/src/core/utils/route.ts +0 -0
  107. package/src/docs/code.ts +0 -0
  108. package/src/docs/docs.ts +0 -0
  109. package/src/docs/header/header.ts +0 -0
  110. package/src/docs/layout.ts +0 -0
  111. package/src/docs/navigation/navigation.ts +0 -0
  112. package/src/docs/search/docs-search.json +0 -0
  113. package/src/docs/search/markdown-renderer.ts +0 -0
  114. package/src/docs/search/page.ts +0 -0
  115. package/src/docs/search/search.ts +0 -0
  116. package/src/docs/tailwind/css/tailwind.css +0 -0
  117. package/src/docs/tailwind/css.d.ts +0 -0
  118. package/src/index.ts +0 -0
  119. package/src/test-utils/TestUtils.ts +0 -0
  120. package/src/tsconfig-model.json +0 -0
  121. package/src/tsconfig.json +6 -6
  122. package/src/tsconfig.tsbuildinfo +1 -1
  123. package/tailwind.config.js +0 -0
  124. package/templates-test.html +0 -0
  125. package/vite/config.js +0 -0
  126. package/docs/assets/index-C0K6xugr.css +0 -1
  127. package/docs/assets/index-Dgl1lJQo.js +0 -4861
  128. package/docs/css/docs.css +0 -0
  129. package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
  130. package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
  131. package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
  132. package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
  133. package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
  134. package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
  135. package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
  136. package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  137. package/docs/fonts/ClashGrotesk-Light.eot +0 -0
  138. package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
  139. package/docs/fonts/ClashGrotesk-Light.woff +0 -0
  140. package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
  141. package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
  142. package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
  143. package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
  144. package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
  145. package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
  146. package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
  147. package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
  148. package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
  149. package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
  150. package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
  151. package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
  152. package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  153. package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
  154. package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
  155. package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
  156. package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
  157. package/docs/img/concorde-icon.svg +0 -5
  158. package/docs/img/concorde-logo.svg +0 -1
  159. package/docs/img/concorde.png +0 -0
  160. package/docs/img/concorde_def.png +0 -0
  161. package/docs/img/concorde_seuil.png.webp +0 -0
  162. package/docs/img/concorde_seuil_invert.png +0 -0
  163. package/docs/img/paul_metrand.jpg +0 -0
  164. package/docs/img/paul_metrand_xs.jpg +0 -0
  165. package/docs/index.html +0 -93
  166. package/docs/src/core/components/functional/date/date.md +0 -290
  167. package/docs/src/core/components/functional/fetch/fetch.md +0 -117
  168. package/docs/src/core/components/functional/if/if.md +0 -16
  169. package/docs/src/core/components/functional/list/list.md +0 -199
  170. package/docs/src/core/components/functional/mix/mix.md +0 -41
  171. package/docs/src/core/components/functional/queue/queue.md +0 -87
  172. package/docs/src/core/components/functional/router/router.md +0 -129
  173. package/docs/src/core/components/functional/sdui/default-library.json +0 -108
  174. package/docs/src/core/components/functional/sdui/example.json +0 -99
  175. package/docs/src/core/components/functional/sdui/sdui.md +0 -356
  176. package/docs/src/core/components/functional/states/states.md +0 -87
  177. package/docs/src/core/components/functional/submit/submit.md +0 -83
  178. package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
  179. package/docs/src/core/components/functional/value/value.md +0 -35
  180. package/docs/src/core/components/ui/alert/alert.md +0 -121
  181. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  182. package/docs/src/core/components/ui/badge/badge.md +0 -127
  183. package/docs/src/core/components/ui/button/button.md +0 -182
  184. package/docs/src/core/components/ui/captcha/captcha.md +0 -24
  185. package/docs/src/core/components/ui/card/card.md +0 -97
  186. package/docs/src/core/components/ui/divider/divider.md +0 -35
  187. package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -104
  188. package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
  189. package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
  190. package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
  191. package/docs/src/core/components/ui/form/input/input.md +0 -167
  192. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -131
  193. package/docs/src/core/components/ui/form/radio/radio.md +0 -84
  194. package/docs/src/core/components/ui/form/select/select.md +0 -97
  195. package/docs/src/core/components/ui/form/switch/switch.md +0 -84
  196. package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
  197. package/docs/src/core/components/ui/group/group.md +0 -75
  198. package/docs/src/core/components/ui/icon/icon.md +0 -125
  199. package/docs/src/core/components/ui/icon/icons.json +0 -1
  200. package/docs/src/core/components/ui/image/image.md +0 -107
  201. package/docs/src/core/components/ui/link/link.md +0 -43
  202. package/docs/src/core/components/ui/loader/loader.md +0 -67
  203. package/docs/src/core/components/ui/menu/menu.md +0 -288
  204. package/docs/src/core/components/ui/modal/modal.md +0 -123
  205. package/docs/src/core/components/ui/pop/pop.md +0 -96
  206. package/docs/src/core/components/ui/progress/progress.md +0 -63
  207. package/docs/src/core/components/ui/table/table.md +0 -455
  208. package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
  209. package/docs/src/docs/_core-concept/overview.md +0 -57
  210. package/docs/src/docs/_core-concept/subscriber.md +0 -76
  211. package/docs/src/docs/_getting-started/concorde-outside.md +0 -143
  212. package/docs/src/docs/_getting-started/create-a-component.md +0 -137
  213. package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -174
  214. package/docs/src/docs/_getting-started/pubsub.md +0 -150
  215. package/docs/src/docs/_getting-started/start.md +0 -39
  216. package/docs/src/docs/_getting-started/theming.md +0 -91
  217. package/docs/src/docs/search/docs-search.json +0 -3917
  218. package/docs/src/tag-list.json +0 -1
  219. package/docs/src/tsconfig-model.json +0 -23
  220. package/docs/src/tsconfig.json +0 -918
  221. package/docs/svg/regular/plane.svg +0 -1
  222. package/docs/svg/solid/plane.svg +0 -1
  223. package/php/get-challenge.php +0 -34
  224. package/php/some-service.php +0 -42
  225. /package/src/core/components/ui/captcha/{actchaStyles.ts → altchaStyles.ts} +0 -0
package/build-infos.json CHANGED
@@ -1 +1 @@
1
- {"date":1753197450}
1
+ {"date":1754295566}
@@ -1,4 +1,4 @@
1
- (function(K){typeof define=="function"&&define.amd?define(K):K()})(function(){"use strict";var Dt,k,E,ko,t,X;let K=class Ht{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,s)=>{const i=s.indexOf("=");return t[s.substring(0,i).trim()]=s.substring(i+1),t},{})}static everyAncestors(t,s){for(;t;){if(!s(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const s=t;if(s.nodeType===1){const i=window.getComputedStyle(s);if((i==null?void 0:i.overflowY)==="auto"||(i==null?void 0:i.overflowY)==="scroll"||(i==null?void 0:i.overflowY)==="hidden"||(i==null?void 0:i.overflowX)==="auto"||(i==null?void 0:i.overflowX)==="scroll"||(i==null?void 0:i.overflowX)==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,s){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(s))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(s):null}static getApiConfiguration(t){const s=Ht.getAncestorAttributeValue(t,"token"),i=Ht.getAncestorAttributeValue(t,"addHTTPResponse")!=null,e=Ht.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const a=Ht.getAncestorAttributeValue(t,"tokenProvider"),c=Ht.getAncestorAttributeValue(t,"eventsApiToken");s||(o=Ht.getAncestorAttributeValue(t,"userName"),n=Ht.getAncestorAttributeValue(t,"password"));const h=Ht.getAncestorAttributeValue(t,"credentials")||void 0,d=t.getAttribute("cache"),p=t.hasAttribute("blockUntilDone");return{serviceURL:e,token:s,userName:o,password:n,authToken:c,tokenProvider:a,addHTTPResponse:i,credentials:h,cache:d,blockUntilDone:p}}static getClosestElement(t,s){for(;!(t.nodeName&&t.nodeName.toLowerCase()===s)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Ht.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async i=>{const e=document.createElement("script");e.src=t,e.onload=()=>i(!0),e.onerror=()=>i(!0),document.head.appendChild(e)})}static async loadCSS(t){return new Promise(async i=>{const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,e.onload=()=>i(!0),e.onerror=()=>i(!0),document.head.appendChild(e)})}};const si=r=>{const t=document.documentElement,s=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="lang"&&r()}),i={attributes:!0,attributeFilter:["lang"]};s.observe(t,i)};let ws=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,s="",i="long"){s||(s=K.getLanguage());const e=(h,d)=>[Math.floor(h/d),h%d];function o(h,d,p){return new Intl.NumberFormat(h,{style:"unit",unit:d,unitDisplay:p}).format}const[n,a]=e(t,60),c=[];return n&&c.push(o(s,"hour",i)(n)),a&&c.push(o(s,"minute",i)(a)),new Intl.ListFormat(s,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Mo=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(s=>{setTimeout(s,t)})}},rr="sonic";typeof __SONIC_PREFIX__<"u"&&(rr=__SONIC_PREFIX__);let or=rr.replace(/-([a-z])/g,r=>r[1].toUpperCase());const xs=or.charAt(0).toUpperCase()+or.slice(1);function $s(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function He(r){return typeof r=="object"&&r!=null}let De="sonic";typeof __SONIC_PREFIX__>"u"&&(De="sonic"+Math.floor(Math.random()*1e6));const ii=De=="sonic"?"publisher-proxies-data":De+"-publisher-proxies-data";let ri=(Dt=class{constructor(t,s,i){for(this._proxies_=new Map,this._is_savable_=!1,this._expiration_delay_=1e3*60*60*12,this._invalidate_on_page_show_=!1,this._invalidateListeners_=new Set,this._formInvalidateListeners_=new Set,this._assignListeners_=new Set,this._mutationListeners_=new Set,this._fillListeners_=new Set,this._templateFillListeners_=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;)this.root=this.root.parent}delete(){var t;for(const s in this._proxies_.keys())s!="_parent_"&&((t=this._proxies_.get(s))==null||t.delete());this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Dt.instances.delete(this._instanceCounter_)}hasListener(){return this._templateFillListeners_.size>0||this._assignListeners_.size>0||this._invalidateListeners_.size>0||this._formInvalidateListeners_.size>0||this._mutationListeners_.size>0||this._fillListeners_.size>0}_publishInternalMutation_(t=!1){if(this._mutationListeners_.forEach(s=>s()),this._is_savable_&&!N.changed){N.changed=!0,N.saveId++;const s=N.saveId;setTimeout(()=>N.getInstance().saveToLocalStorage(s),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const i=this.get();this._assignListeners_.forEach(e=>{e(i)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,s){this._fillListeners_.forEach(i=>{i[t]!==s&&(i[t]=s)}),this._publishTemplateFilling_(t,s)}_publishTemplateFilling_(t,s){this._templateFillListeners_.forEach(i=>{const e=Object.getOwnPropertyDescriptor(i,t);e&&!e.set&&!e.writable||(i.propertyMap&&i.propertyMap[t]&&(t=i.propertyMap[t]),typeof i[t]<"u"&&i[t]!==s&&(i[t]=s))})}onAssign(t,s=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),s&&t(this.get())))}offAssign(t){this._assignListeners_.delete(t)}onInvalidate(t){typeof t=="function"&&this._invalidateListeners_.add(t)}offInvalidate(t){typeof t=="function"&&this._invalidateListeners_.delete(t)}invalidate(){this._publishInvalidation_()}onFormInvalidate(t){typeof t=="function"&&this._formInvalidateListeners_.add(t)}offFormInvalidate(t){typeof t=="function"&&this._formInvalidateListeners_.delete(t)}invalidateForm(){this._publishFormInvalidation_()}onInternalMutation(t){typeof t=="function"&&(this._mutationListeners_.add(t),t())}offInternalMutation(t){typeof t=="function"&&this._mutationListeners_.delete(t)}startTemplateFilling(t){if(this._templateFillListeners_.add(t),typeof this._value_=="object")for(const s in this._value_){let i=s;const e=this._value_[s];t.propertyMap&&t.propertyMap[s]&&(i=t.propertyMap[s]),typeof t[s]<"u"&&t[s]!==e&&(t[i]=e)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const s in this._value_){const i=this._value_[s];t[s]!==i&&(t[s]=i)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,s=!1){var e,o,n;if(this._value_===t||this._value_&&t&&$s(this._value_)&&$s(t)&&this._value_.__value===t.__value)return!0;this._value_=He(t)?t:{__value:t},this._cachedGet_=void 0;const i=$s(this._value_);if(this._parentKey_&&this.parent){const a=$s(this._value_)?this._value_.__value:this._value_;if(((e=this.parent)==null?void 0:e.get())==null&&((o=this.parent)==null?void 0:o.get())==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:a});else{const c=[];c[Number(this._parentKey_)]=a,this.parent.set(c)}else this.parent._value_[this._parentKey_]=a}if(i)return this._proxies_.forEach((a,c)=>{c!="_parent_"&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(s),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const a in this._value_)this._value_[a]===void 0&&delete this._value_[a];if(this._proxies_.forEach((a,c)=>{const h=this._value_[c];c!="_parent_"&&h===void 0&&h!==null&&isNaN(Number(c))&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),He(this._value_))for(const a in this._value_){const c=t[a],d=He(c)?c:{__value:c};if(!this._proxies_.has(a)){this._publishDynamicFilling_(a,c);continue}(n=this._proxies_.get(a))==null||n.set(d,!0),this._publishDynamicFilling_(a,c)}return!0}get(){if(this._cachedGet_!==void 0)return this._cachedGet_;if(N.modifiedCollectore.length>0&&N.modifiedCollectore[0].add(this),Object.prototype.hasOwnProperty.call(this._value_,"__value")){const t=this._value_.__value;return this._cachedGet_=t??null}return this._cachedGet_=this._value_!=null?this._value_:null}get $tag(){return this._instanceCounter_||(Dt.instancesCounter++,this._instanceCounter_=Dt.instancesCounter),Dt.instances.set(this._instanceCounter_,this),"<"+De+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+De+"-publisher-proxy>"}},Dt.instances=new Map,Dt.instancesCounter=0,Dt),N=(k=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],k.instance!=null)throw"Singleton / use getInstance";k.instance=this,this.isLocalStrorageReady=this.cleanStorageData()}invalidateAll(){this.publishers.forEach(t=>{t._invalidate_on_page_show_&&t.invalidate()})}async cleanStorageData(){return new Promise(t=>{(async()=>{try{let i=localStorage.getItem(ii),e=null;if(i&&(e=await this.decompress(i,"gzip")),e)try{this.localStorageData=JSON.parse(e)}catch{this.localStorageData={}}else i=await this.compress("{}","gzip"),localStorage.setItem(ii,i),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const a=this.localStorageData[n],c=new Date().getTime()-(a.expirationDelayMs||o);a.lastModifiationMS<c&&delete this.localStorageData[n]}t(!0)}catch{window.requestAnimationFrame(()=>{t(!1)}),console.warn("no publisher cache in this browser")}})()})}static getInstance(t){if(t){const s=k.instances.get(t);return s||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new k)}return k.instance==null?new k:k.instance}static registerInstance(t,s){k.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),k.instances.set(t,s)}static get(t,s){return k.getInstance().get(t,s)}static collectModifiedPublisher(){k.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return k.modifiedCollectore.shift()}static delete(t){return t?k.getInstance().delete(t):!1}async setLocalData(t,s){var i;await this.isLocalStrorageReady,t.set(((i=this.localStorageData[s+"¤lang_"+K.getLanguage()])==null?void 0:i.data)||t.get())}get(t,s){const i=(s==null?void 0:s.localStorageMode)==="enabled",e=(s==null?void 0:s.invalidateOnPageShow)===!0;if(!this.publishers.has(t)){const n={},a=new Be(n);this.set(t,a)}const o=this.publishers.get(t);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)}set(t,s){this.publishers.set(t,s)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==k.saveId&&t%10!=0))try{if(!k.changed||k.saving)return;k.saving=!0,k.changed=!1;const s=Array.from(this.publishers.keys());let i=!1;for(const e of s){const o=this.publishers.get(e);if(!(o!=null&&o._is_savable_))continue;const n=o==null?void 0:o.get();n&&(this.localStorageData[e+"¤lang_"+K.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},i=!0)}if(i){const e=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(ii,e)}if(k.saving=!1,k.changed){k.saveId++;const e=k.saveId;setTimeout(()=>this.saveToLocalStorage(e),1e3)}}catch{k.saving=!1}}async compress(t,s){const i=new TextEncoder().encode(t),e=window,o=new e.CompressionStream(s),n=o.writable.getWriter();n.write(i),n.close();const a=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(a);let h="";for(let d=0;d<c.length;d++)h+=String.fromCharCode(c[d]);return btoa(h)}async decompress(t,s){const i=atob(t),o=Uint8Array.from(i,d=>d.charCodeAt(0)).buffer,n=window,a=new n.DecompressionStream(s),c=a.writable.getWriter();c.write(o),c.close();const h=await new Response(a.readable).arrayBuffer();return new TextDecoder().decode(h)}},k.buildDate="Tue Jul 22 2025 17:17:30 GMT+0200 (Central European Summer Time)",k.changed=!1,k.saving=!1,k.saveId=0,k.instance=null,k.instances=new Map,k.modifiedCollectore=[],k);if(typeof window<"u"){const r=window;r[xs+"PublisherManager"]=r[xs+"PublisherManager"]||N}const Io=new Set(["invalidate","onInvalidate","offInvalidate","invalidateForm","onFormInvalidate","offFormInvalidate","onAssign","offAssign","startDynamicFilling","stopDynamicFilling","startTemplateFilling","stopTemplateFilling","onInternalMutation","offInternalMutation","set","get","$tag","_cachedGet_","_templateFillListeners_","_fillListeners_","_assignListeners_","_invalidateListeners_","_formInvalidateListeners_","_publishInternalMutation_","hasListener","delete","_mutationListeners_","_publishDynamicFilling_","_publishInvalidation_","_publishFormInvalidation_","_publishTemplateFilling_","_publishAssignement_","_proxies_","parent","_parentKey_","_value_","_is_savable_","_expiration_delay_","_lockInternalMutationPublishing_","_instanceCounter_","_assignmentId_","_invalidate_on_page_show_"]);class Be extends ri{constructor(t,s=null,i){super(t,s,i);const e=new Proxy(this,{get:function(o,n){if(Io.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>e.get();if(!o._proxies_.has(n)){const a=o._value_[n],c=new Be(He(a)?a:{__value:a},o,n);c._proxies_.set("_parent_",e),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,a){var h;if(n=="_value_")return o._value_=a,!0;if(n=="_cachedGet_")return o._cachedGet_=a,!0;if(n=="_assignmentId_")return o._assignmentId_=a,!0;if(n=="_is_savable_")return o._is_savable_=a,!0;if(n=="_expiration_delay_")return o._expiration_delay_=a,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=a,!0;if(n=="_instanceCounter_")return o._instanceCounter_=a,!0;if(!o._proxies_.has(n)){const d=new Be({},o,n);d._proxies_.set("_parent_",e),o._proxies_.set(n,d)}return o._value_[n]!==a&&(o._value_[n]=a,o._publishDynamicFilling_(n,a),(h=o._proxies_.get(n))==null||h.set(He(a)?a:{__value:a})),!0},deleteProperty:function(o,n){var a;return o._publishDynamicFilling_(n,null),(a=o._proxies_.get(n))==null||a.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,a){return a&&"value"in a&&(o._value_[n]=a.value),!0},getOwnPropertyDescriptor:function(o,n){return{enumerable:!0,configurable:!0}},ownKeys:function(o){return o._value_.__value?Object.keys(o._value_.__value):Object.keys(o._value_)}});return e}getProperty(t,s){return t[s]}}class jo extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){var t;this.publisherId=this.getAttribute("publisher")||"",this.publisher=ri.instances.get(parseInt(this.publisherId)),(t=this.publisher)==null||t.onAssign(this.onAssign)}disconnectedCallback(){var t;(t=this.publisher)==null||t.offAssign(this.onAssign)}}try{customElements.define(De+"-publisher-proxy",jo)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&N.getInstance().invalidateAll()});let Ps=(E=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(E.observedElements.keys()).forEach(t=>E.unObserve(t)))}static observe(t){if(!t||!E.enabled||E.observedElements.has(t))return;const s=new MutationObserver(E.onMutation),i={};i.childList=!0,i.subtree=!0,i.attributes=!0,i.attributeFilter=["data-bind"],s.observe(t,i),t.querySelectorAll("[data-bind]").forEach(e=>E.addPublisherListeners(e)),E.observedElements.set(t,s)}static unObserve(t){if(!t)return;const s=this.observedElements.get(t);s&&(s.disconnect(),t.querySelectorAll("[data-bind]").forEach(i=>E.removePublisherListeners(i)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&E.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(s=>E.addPublisherListeners(s)):t.childNodes.forEach(s=>E.onAdded(s))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&E.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(s=>E.removePublisherListeners(s)):t.childNodes.forEach(s=>E.onRemoved(s))}static onMutation(t){for(const s of t)switch(s.type){case"attributes":E.addPublisherListeners(s.target);break;case"childList":s.addedNodes.forEach(i=>{E.onAdded(i)}),s.removedNodes.forEach(i=>{E.onRemoved(i)});break}}static removePublisherListeners(t){const s=E.publisherListeners.get(t);s&&(E.publisherListeners.delete(t),s.forEach(i=>{var e;(e=i.publisher)==null||e.offAssign(i.onAssign)}))}static getVariablesDescriptor(t){let s=t.match(/(\$(?:\w+\\?\.?)+)/g);return s?s=s.map(i=>i.replace("$","")):s=[t],s=s.filter(i=>i.length>0),{expression:t.replace("\\",""),variables:s.map(i=>i.split(/\b\.\b/).map(e=>e.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(s=>s.name.indexOf("::")==0).map(s=>({propertyToUpdate:s.name.substring(2).replace(/-((html)|\w)/g,e=>e.substring(1).toUpperCase()),bindedVariablesDescriptor:E.getVariablesDescriptor(s.value)})):[]}static getSubPublisher(t,s){if(!s)return t;for(const i of s)if(i!="_self_"){if(!t)return null;t=t[i]}return t}static addPublisherListeners(t){E.removePublisherListeners(t);const s=K.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!s)return;const i=N.getInstance().get(s),e=E.getDataBindItems(t),o=[];e.forEach(n=>{const a=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of a.variables){const d=h;let p=i;p=E.getSubPublisher(i,d);const g=t,v={publisher:p,onAssign:()=>{const b=a.variables.map(D=>{var f;return(f=E.getSubPublisher(i,D))==null?void 0:f.get()});let y=a.expression,_=!1;if(b.length==1&&a.variables[0].join(".")==y.substring(1)){let D=b[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<b.length;D++){let f=b[D];const u=a.variables[D];f===null&&(_=!0,f=void 0),y=y.replace("$"+u.join("."),f)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=ws.js(y.substring(1));else{const f=y.substring(0,D),u=y.substring(D+1),w=ws[f];y=_?"":w?w(u):y}}else y=_?"":y;g[c]=y}};p==null||p.onAssign(v.onAssign),o.push(v)}}),E.publisherListeners.set(t,o)}},E.observedElements=new Map,E.enabled=!0,E.publisherListeners=new Map,E);Ps.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=Ps);let tt=class Zt{static shallowEqual(t,s,i=!0){const e=Object.keys(t),o=Object.keys(s);if(e.length!==o.length&&i)return!1;for(const n of e){const a=t[n],c=s[n];if(i?a!==c:a!=c)return!1}return!0}static deepEqual(t,s,i=!0){const e=Object.keys(t),o=Object.keys(s);if(e.length!==o.length&&i)return!1;for(const n of e){const a=t[n],c=s[n],h=Zt.isObject(a)&&Zt.isObject(c),d=i?a!==c:a!=c;if(h&&!Zt.deepEqual(a,c)||!h&&d)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Zt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,s,i=!1){for(const e of s){const o=t[e];if(o===void 0)return;i&&Zt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[e]}return t}static traverseDotNotation(t,s,i=!1){return Zt.traverse(t,s.split("."),i)}static getURLSearchArray(t,s=""){let i=[];for(let e in t){const o=t[e];s&&(e=s+"["+e+"]"),Zt.isObject(o)?i=[...i,...this.getURLSearchArray(o,e)]:i.push(`${e}=${o}`)}return i}static getURLSearchString(t){return Zt.getURLSearchArray(t,"").join("&")}};const pt=tt.traverseDotNotation;/**
1
+ (function(K){typeof define=="function"&&define.amd?define(K):K()})(function(){"use strict";var Dt,k,E,ko,t,X;let K=class Ht{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,s)=>{const i=s.indexOf("=");return t[s.substring(0,i).trim()]=s.substring(i+1),t},{})}static everyAncestors(t,s){for(;t;){if(!s(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const s=t;if(s.nodeType===1){const i=window.getComputedStyle(s);if((i==null?void 0:i.overflowY)==="auto"||(i==null?void 0:i.overflowY)==="scroll"||(i==null?void 0:i.overflowY)==="hidden"||(i==null?void 0:i.overflowX)==="auto"||(i==null?void 0:i.overflowX)==="scroll"||(i==null?void 0:i.overflowX)==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,s){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(s))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(s):null}static getApiConfiguration(t){const s=Ht.getAncestorAttributeValue(t,"token"),i=Ht.getAncestorAttributeValue(t,"addHTTPResponse")!=null,e=Ht.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const a=Ht.getAncestorAttributeValue(t,"tokenProvider"),c=Ht.getAncestorAttributeValue(t,"eventsApiToken");s||(o=Ht.getAncestorAttributeValue(t,"userName"),n=Ht.getAncestorAttributeValue(t,"password"));const h=Ht.getAncestorAttributeValue(t,"credentials")||void 0,d=t.getAttribute("cache"),p=t.hasAttribute("blockUntilDone");return{serviceURL:e,token:s,userName:o,password:n,authToken:c,tokenProvider:a,addHTTPResponse:i,credentials:h,cache:d,blockUntilDone:p}}static getClosestElement(t,s){for(;!(t.nodeName&&t.nodeName.toLowerCase()===s)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Ht.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async i=>{const e=document.createElement("script");e.src=t,e.onload=()=>i(!0),e.onerror=()=>i(!0),document.head.appendChild(e)})}static async loadCSS(t){return new Promise(async i=>{const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,e.onload=()=>i(!0),e.onerror=()=>i(!0),document.head.appendChild(e)})}};const si=r=>{const t=document.documentElement,s=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="lang"&&r()}),i={attributes:!0,attributeFilter:["lang"]};s.observe(t,i)};let ws=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,s="",i="long"){s||(s=K.getLanguage());const e=(h,d)=>[Math.floor(h/d),h%d];function o(h,d,p){return new Intl.NumberFormat(h,{style:"unit",unit:d,unitDisplay:p}).format}const[n,a]=e(t,60),c=[];return n&&c.push(o(s,"hour",i)(n)),a&&c.push(o(s,"minute",i)(a)),new Intl.ListFormat(s,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Mo=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(s=>{setTimeout(s,t)})}},rr="sonic";typeof __SONIC_PREFIX__<"u"&&(rr=__SONIC_PREFIX__);let or=rr.replace(/-([a-z])/g,r=>r[1].toUpperCase());const xs=or.charAt(0).toUpperCase()+or.slice(1);function $s(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function He(r){return typeof r=="object"&&r!=null}let De="sonic";typeof __SONIC_PREFIX__>"u"&&(De="sonic"+Math.floor(Math.random()*1e6));const ii=De=="sonic"?"publisher-proxies-data":De+"-publisher-proxies-data";let ri=(Dt=class{constructor(t,s,i){for(this._proxies_=new Map,this._is_savable_=!1,this._expiration_delay_=1e3*60*60*12,this._invalidate_on_page_show_=!1,this._invalidateListeners_=new Set,this._formInvalidateListeners_=new Set,this._assignListeners_=new Set,this._mutationListeners_=new Set,this._fillListeners_=new Set,this._templateFillListeners_=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;)this.root=this.root.parent}delete(){var t;for(const s in this._proxies_.keys())s!="_parent_"&&((t=this._proxies_.get(s))==null||t.delete());this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Dt.instances.delete(this._instanceCounter_)}hasListener(){return this._templateFillListeners_.size>0||this._assignListeners_.size>0||this._invalidateListeners_.size>0||this._formInvalidateListeners_.size>0||this._mutationListeners_.size>0||this._fillListeners_.size>0}_publishInternalMutation_(t=!1){if(this._mutationListeners_.forEach(s=>s()),this._is_savable_&&!N.changed){N.changed=!0,N.saveId++;const s=N.saveId;setTimeout(()=>N.getInstance().saveToLocalStorage(s),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const i=this.get();this._assignListeners_.forEach(e=>{e(i)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,s){this._fillListeners_.forEach(i=>{i[t]!==s&&(i[t]=s)}),this._publishTemplateFilling_(t,s)}_publishTemplateFilling_(t,s){this._templateFillListeners_.forEach(i=>{const e=Object.getOwnPropertyDescriptor(i,t);e&&!e.set&&!e.writable||(i.propertyMap&&i.propertyMap[t]&&(t=i.propertyMap[t]),typeof i[t]<"u"&&i[t]!==s&&(i[t]=s))})}onAssign(t,s=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),s&&t(this.get())))}offAssign(t){this._assignListeners_.delete(t)}onInvalidate(t){typeof t=="function"&&this._invalidateListeners_.add(t)}offInvalidate(t){typeof t=="function"&&this._invalidateListeners_.delete(t)}invalidate(){this._publishInvalidation_()}onFormInvalidate(t){typeof t=="function"&&this._formInvalidateListeners_.add(t)}offFormInvalidate(t){typeof t=="function"&&this._formInvalidateListeners_.delete(t)}invalidateForm(){this._publishFormInvalidation_()}onInternalMutation(t){typeof t=="function"&&(this._mutationListeners_.add(t),t())}offInternalMutation(t){typeof t=="function"&&this._mutationListeners_.delete(t)}startTemplateFilling(t){if(this._templateFillListeners_.add(t),typeof this._value_=="object")for(const s in this._value_){let i=s;const e=this._value_[s];t.propertyMap&&t.propertyMap[s]&&(i=t.propertyMap[s]),typeof t[s]<"u"&&t[s]!==e&&(t[i]=e)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const s in this._value_){const i=this._value_[s];t[s]!==i&&(t[s]=i)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,s=!1){var e,o,n;if(this._value_===t||this._value_&&t&&$s(this._value_)&&$s(t)&&this._value_.__value===t.__value)return!0;this._value_=He(t)?t:{__value:t},this._cachedGet_=void 0;const i=$s(this._value_);if(this._parentKey_&&this.parent){const a=$s(this._value_)?this._value_.__value:this._value_;if(((e=this.parent)==null?void 0:e.get())==null&&((o=this.parent)==null?void 0:o.get())==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:a});else{const c=[];c[Number(this._parentKey_)]=a,this.parent.set(c)}else this.parent._value_[this._parentKey_]=a}if(i)return this._proxies_.forEach((a,c)=>{c!="_parent_"&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(s),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const a in this._value_)this._value_[a]===void 0&&delete this._value_[a];if(this._proxies_.forEach((a,c)=>{const h=this._value_[c];c!="_parent_"&&h===void 0&&h!==null&&isNaN(Number(c))&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),He(this._value_))for(const a in this._value_){const c=t[a],d=He(c)?c:{__value:c};if(!this._proxies_.has(a)){this._publishDynamicFilling_(a,c);continue}(n=this._proxies_.get(a))==null||n.set(d,!0),this._publishDynamicFilling_(a,c)}return!0}get(){if(this._cachedGet_!==void 0)return this._cachedGet_;if(N.modifiedCollectore.length>0&&N.modifiedCollectore[0].add(this),Object.prototype.hasOwnProperty.call(this._value_,"__value")){const t=this._value_.__value;return this._cachedGet_=t??null}return this._cachedGet_=this._value_!=null?this._value_:null}get $tag(){return this._instanceCounter_||(Dt.instancesCounter++,this._instanceCounter_=Dt.instancesCounter),Dt.instances.set(this._instanceCounter_,this),"<"+De+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+De+"-publisher-proxy>"}},Dt.instances=new Map,Dt.instancesCounter=0,Dt),N=(k=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],k.instance!=null)throw"Singleton / use getInstance";k.instance=this,this.isLocalStrorageReady=this.cleanStorageData()}invalidateAll(){this.publishers.forEach(t=>{t._invalidate_on_page_show_&&t.invalidate()})}async cleanStorageData(){return new Promise(t=>{(async()=>{try{let i=localStorage.getItem(ii),e=null;if(i&&(e=await this.decompress(i,"gzip")),e)try{this.localStorageData=JSON.parse(e)}catch{this.localStorageData={}}else i=await this.compress("{}","gzip"),localStorage.setItem(ii,i),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const a=this.localStorageData[n],c=new Date().getTime()-(a.expirationDelayMs||o);a.lastModifiationMS<c&&delete this.localStorageData[n]}t(!0)}catch{window.requestAnimationFrame(()=>{t(!1)}),console.warn("no publisher cache in this browser")}})()})}static getInstance(t){if(t){const s=k.instances.get(t);return s||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new k)}return k.instance==null?new k:k.instance}static registerInstance(t,s){k.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),k.instances.set(t,s)}static get(t,s){return k.getInstance().get(t,s)}static collectModifiedPublisher(){k.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return k.modifiedCollectore.shift()}static delete(t){return t?k.getInstance().delete(t):!1}async setLocalData(t,s){var i;await this.isLocalStrorageReady,t.set(((i=this.localStorageData[s+"¤lang_"+K.getLanguage()])==null?void 0:i.data)||t.get())}get(t,s){const i=(s==null?void 0:s.localStorageMode)==="enabled",e=(s==null?void 0:s.invalidateOnPageShow)===!0;if(!this.publishers.has(t)){const n={},a=new Be(n);this.set(t,a)}const o=this.publishers.get(t);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)}set(t,s){this.publishers.set(t,s)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==k.saveId&&t%10!=0))try{if(!k.changed||k.saving)return;k.saving=!0,k.changed=!1;const s=Array.from(this.publishers.keys());let i=!1;for(const e of s){const o=this.publishers.get(e);if(!(o!=null&&o._is_savable_))continue;const n=o==null?void 0:o.get();n&&(this.localStorageData[e+"¤lang_"+K.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},i=!0)}if(i){const e=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(ii,e)}if(k.saving=!1,k.changed){k.saveId++;const e=k.saveId;setTimeout(()=>this.saveToLocalStorage(e),1e3)}}catch{k.saving=!1}}async compress(t,s){const i=new TextEncoder().encode(t),e=window,o=new e.CompressionStream(s),n=o.writable.getWriter();n.write(i),n.close();const a=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(a);let h="";for(let d=0;d<c.length;d++)h+=String.fromCharCode(c[d]);return btoa(h)}async decompress(t,s){const i=atob(t),o=Uint8Array.from(i,d=>d.charCodeAt(0)).buffer,n=window,a=new n.DecompressionStream(s),c=a.writable.getWriter();c.write(o),c.close();const h=await new Response(a.readable).arrayBuffer();return new TextDecoder().decode(h)}},k.buildDate="Mon Aug 04 2025 10:19:26 GMT+0200 (Central European Summer Time)",k.changed=!1,k.saving=!1,k.saveId=0,k.instance=null,k.instances=new Map,k.modifiedCollectore=[],k);if(typeof window<"u"){const r=window;r[xs+"PublisherManager"]=r[xs+"PublisherManager"]||N}const Io=new Set(["invalidate","onInvalidate","offInvalidate","invalidateForm","onFormInvalidate","offFormInvalidate","onAssign","offAssign","startDynamicFilling","stopDynamicFilling","startTemplateFilling","stopTemplateFilling","onInternalMutation","offInternalMutation","set","get","$tag","_cachedGet_","_templateFillListeners_","_fillListeners_","_assignListeners_","_invalidateListeners_","_formInvalidateListeners_","_publishInternalMutation_","hasListener","delete","_mutationListeners_","_publishDynamicFilling_","_publishInvalidation_","_publishFormInvalidation_","_publishTemplateFilling_","_publishAssignement_","_proxies_","parent","_parentKey_","_value_","_is_savable_","_expiration_delay_","_lockInternalMutationPublishing_","_instanceCounter_","_assignmentId_","_invalidate_on_page_show_"]);class Be extends ri{constructor(t,s=null,i){super(t,s,i);const e=new Proxy(this,{get:function(o,n){if(Io.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>e.get();if(!o._proxies_.has(n)){const a=o._value_[n],c=new Be(He(a)?a:{__value:a},o,n);c._proxies_.set("_parent_",e),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,a){var h;if(n=="_value_")return o._value_=a,!0;if(n=="_cachedGet_")return o._cachedGet_=a,!0;if(n=="_assignmentId_")return o._assignmentId_=a,!0;if(n=="_is_savable_")return o._is_savable_=a,!0;if(n=="_expiration_delay_")return o._expiration_delay_=a,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=a,!0;if(n=="_instanceCounter_")return o._instanceCounter_=a,!0;if(!o._proxies_.has(n)){const d=new Be({},o,n);d._proxies_.set("_parent_",e),o._proxies_.set(n,d)}return o._value_[n]!==a&&(o._value_[n]=a,o._publishDynamicFilling_(n,a),(h=o._proxies_.get(n))==null||h.set(He(a)?a:{__value:a})),!0},deleteProperty:function(o,n){var a;return o._publishDynamicFilling_(n,null),(a=o._proxies_.get(n))==null||a.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,a){return a&&"value"in a&&(o._value_[n]=a.value),!0},getOwnPropertyDescriptor:function(o,n){return{enumerable:!0,configurable:!0}},ownKeys:function(o){return o._value_.__value?Object.keys(o._value_.__value):Object.keys(o._value_)}});return e}getProperty(t,s){return t[s]}}class jo extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){var t;this.publisherId=this.getAttribute("publisher")||"",this.publisher=ri.instances.get(parseInt(this.publisherId)),(t=this.publisher)==null||t.onAssign(this.onAssign)}disconnectedCallback(){var t;(t=this.publisher)==null||t.offAssign(this.onAssign)}}try{customElements.define(De+"-publisher-proxy",jo)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&N.getInstance().invalidateAll()});let Ps=(E=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(E.observedElements.keys()).forEach(t=>E.unObserve(t)))}static observe(t){if(!t||!E.enabled||E.observedElements.has(t))return;const s=new MutationObserver(E.onMutation),i={};i.childList=!0,i.subtree=!0,i.attributes=!0,i.attributeFilter=["data-bind"],s.observe(t,i),t.querySelectorAll("[data-bind]").forEach(e=>E.addPublisherListeners(e)),E.observedElements.set(t,s)}static unObserve(t){if(!t)return;const s=this.observedElements.get(t);s&&(s.disconnect(),t.querySelectorAll("[data-bind]").forEach(i=>E.removePublisherListeners(i)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&E.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(s=>E.addPublisherListeners(s)):t.childNodes.forEach(s=>E.onAdded(s))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&E.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(s=>E.removePublisherListeners(s)):t.childNodes.forEach(s=>E.onRemoved(s))}static onMutation(t){for(const s of t)switch(s.type){case"attributes":E.addPublisherListeners(s.target);break;case"childList":s.addedNodes.forEach(i=>{E.onAdded(i)}),s.removedNodes.forEach(i=>{E.onRemoved(i)});break}}static removePublisherListeners(t){const s=E.publisherListeners.get(t);s&&(E.publisherListeners.delete(t),s.forEach(i=>{var e;(e=i.publisher)==null||e.offAssign(i.onAssign)}))}static getVariablesDescriptor(t){let s=t.match(/(\$(?:\w+\\?\.?)+)/g);return s?s=s.map(i=>i.replace("$","")):s=[t],s=s.filter(i=>i.length>0),{expression:t.replace("\\",""),variables:s.map(i=>i.split(/\b\.\b/).map(e=>e.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(s=>s.name.indexOf("::")==0).map(s=>({propertyToUpdate:s.name.substring(2).replace(/-((html)|\w)/g,e=>e.substring(1).toUpperCase()),bindedVariablesDescriptor:E.getVariablesDescriptor(s.value)})):[]}static getSubPublisher(t,s){if(!s)return t;for(const i of s)if(i!="_self_"){if(!t)return null;t=t[i]}return t}static addPublisherListeners(t){E.removePublisherListeners(t);const s=K.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!s)return;const i=N.getInstance().get(s),e=E.getDataBindItems(t),o=[];e.forEach(n=>{const a=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of a.variables){const d=h;let p=i;p=E.getSubPublisher(i,d);const g=t,v={publisher:p,onAssign:()=>{const b=a.variables.map(D=>{var f;return(f=E.getSubPublisher(i,D))==null?void 0:f.get()});let y=a.expression,_=!1;if(b.length==1&&a.variables[0].join(".")==y.substring(1)){let D=b[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<b.length;D++){let f=b[D];const u=a.variables[D];f===null&&(_=!0,f=void 0),y=y.replace("$"+u.join("."),f)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=ws.js(y.substring(1));else{const f=y.substring(0,D),u=y.substring(D+1),w=ws[f];y=_?"":w?w(u):y}}else y=_?"":y;g[c]=y}};p==null||p.onAssign(v.onAssign),o.push(v)}}),E.publisherListeners.set(t,o)}},E.observedElements=new Map,E.enabled=!0,E.publisherListeners=new Map,E);Ps.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=Ps);let tt=class Zt{static shallowEqual(t,s,i=!0){const e=Object.keys(t),o=Object.keys(s);if(e.length!==o.length&&i)return!1;for(const n of e){const a=t[n],c=s[n];if(i?a!==c:a!=c)return!1}return!0}static deepEqual(t,s,i=!0){const e=Object.keys(t),o=Object.keys(s);if(e.length!==o.length&&i)return!1;for(const n of e){const a=t[n],c=s[n],h=Zt.isObject(a)&&Zt.isObject(c),d=i?a!==c:a!=c;if(h&&!Zt.deepEqual(a,c)||!h&&d)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Zt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,s,i=!1){for(const e of s){const o=t[e];if(o===void 0)return;i&&Zt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[e]}return t}static traverseDotNotation(t,s,i=!1){return Zt.traverse(t,s.split("."),i)}static getURLSearchArray(t,s=""){let i=[];for(let e in t){const o=t[e];s&&(e=s+"["+e+"]"),Zt.isObject(o)?i=[...i,...this.getURLSearchArray(o,e)]:i.push(`${e}=${o}`)}return i}static getURLSearchString(t){return Zt.getURLSearchArray(t,"").join("&")}};const pt=tt.traverseDotNotation;/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -69,7 +69,7 @@
69
69
  * @license
70
70
  * Copyright 2018 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
- */const Tr="important",$n=" !"+Tr,bt=me(class extends Ee{constructor(r){var t;if(super(r),r.type!==Le.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.")}render(r){return Object.keys(r).reduce((t,s)=>{const i=r[s];return i==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[t]){const{style:s}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const i of this.ft)t[i]==null&&(this.ft.delete(i),i.includes("-")?s.removeProperty(i):s[i]=null);for(const i in t){const e=t[i];if(e!=null){this.ft.add(i);const o=typeof e=="string"&&e.endsWith($n);i.includes("-")||o?s.setProperty(i,o?e.slice(0,-11):e,o?Tr:""):s[i]=e}}return yt}});var Pn=Object.defineProperty,An=Object.getOwnPropertyDescriptor,Et=(r,t,s,i)=>{for(var e=i>1?void 0:i?An(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&Pn(t,s,e),e};const Es=new Map,Me=r=>{class t extends r{constructor(...i){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=>{this.setValueFromPublisher(e)},this.onFormValueAssign=async e=>{this.setFormValueFromPublisher(e)},this.onFormDataInValidate=()=>{const e=this.getFormPublisher();e&&e.isFormValid.get()&&this.validateFormElement()}}get name(){return this._name}set name(i){this.hasAttribute("name")&&!this.forceAutoFill&&(i=this.getAttribute("name")),this._name=i,this.requestUpdate()}validateFormElement(){}unsetOnDisconnect(){return this.hasAttribute("unsetOnDisconnect")}updateDataValue(){this.getAttribute("name")&&this.getFormPublisher()&&(this.setFormPublisherValue(this.getValueForFormPublisher()),this.setFormValueFromPublisher(this.getFormPublisherValue()))}getFormPublisher(){return this.formDataProvider||(this.formDataProvider=this.getAncestorAttributeValue("formDataProvider")),this.formDataProvider?N.get(this.formDataProvider):null}setFormPublisherValue(i){const e=this.getFormPublisher();e&&pt(e,this.name).set(i)}getFormPublisherValue(){const i=this.getFormPublisher();return i?pt(i,this.name).get():null}getValueForFormPublisher(){return this.value}setValueFromPublisher(i){this.value=i}setFormValueFromPublisher(i){this.value=i}get value(){return this._value}set value(i){i==null&&(i=""),tt.isObject(i)&&Object.prototype.hasOwnProperty.call(i,"__value")&&i._value==null&&(i=""),this._value!=i&&(this._value=i,this.updateDataValue(),this.requestUpdate())}initPublisher(){let i=this.getFormPublisher();const e=this.hasAncestorAttribute("initFromPublisher")&&this._name&&this.getFormPublisherValue()?this.getFormPublisherValue():this.getAttribute("value");this._name&&this.publisher&&pt(this.publisher,this._name).offAssign(this.onValueAssign),this._name&&i&&pt(i,this._name).offAssign(this.onFormValueAssign),super.initPublisher(),this.name||(this._name=this.getAttribute("name")),this.value||(this._value=this.getAttribute("value")),this.publisher&&this._name&&pt(this.publisher,this._name).onAssign(this.onValueAssign),i=this.getFormPublisher(),this._name&&i&&(pt(i,this._name).onAssign(this.onFormValueAssign),i.onFormInvalidate(this.onFormDataInValidate)),this.updateDataValue(),e&&(this.value=e)}handleBlur(){this.touched=!0}handleChange(i){this.value=i.target.value;const e=new Event("change");this.dispatchEvent(e)}addKeyboardNavigation(){const i=this.getAncestorAttributeValue("data-keyboard-nav");if(!i)return;const e=i.split(" "),o=e[0];if(!o)return;for(const a of e){Es.has(a)||Es.set(a,[]);const c=Es.get(a);(c==null?void 0:c.indexOf(this))==-1&&c.push(this)}const n=Es.get(o);this.addEventListener("keydown",a=>{var v;const c=a;if(!["ArrowDown","ArrowUp"].includes(c.key))return;const h="input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])",d=n==null?void 0:n.filter(b=>{var D;const y=(D=b.shadowRoot)==null?void 0:D.querySelector(h);if(!y)return!1;const _=window.getComputedStyle(y);return _.display!=="none"&&_.display!==""&&_.pointerEvents!="none"&&_.visibility!=="hidden"&&y.getBoundingClientRect().width>0});let p=null;if(c.key=="ArrowDown"&&d){const b=d.indexOf(this);b==d.length-1?p=d[0]:p=d[b+1]}else if(c.key=="ArrowUp"&&d){const b=d.indexOf(this);b==0?p=d[d.length-1]:p=d[b-1]}const g=(v=p==null?void 0:p.shadowRoot)==null?void 0:v.querySelector(h);g&&g.focus&&(g.focus(),a.preventDefault(),a.stopPropagation())})}focus(){var e;const i=(e=this.shadowRoot)==null?void 0:e.querySelector("[data-form-element], button");i==null||i.focus()}connectedCallback(){this.formDataProvider=this.getAncestorAttributeValue("formDataProvider"),super.connectedCallback(),this.addKeyboardNavigation()}unset(){this.value=null}disconnectedCallback(){this.unsetOnDisconnect()&&this.unset(),super.disconnectedCallback(),this._name&&this.publisher&&pt(this.publisher,this._name).offAssign(this.onValueAssign);const i=this.getFormPublisher();this._name&&i&&(pt(i,this._name).offAssign(this.onFormValueAssign),i.offFormInvalidate(this.onFormDataInValidate))}}return Et([l({type:Boolean,reflect:!0})],t.prototype,"touched",2),Et([l({type:Boolean})],t.prototype,"error",2),Et([l({type:Boolean})],t.prototype,"autofocus",2),Et([l({type:Boolean})],t.prototype,"required",2),Et([l({type:Boolean})],t.prototype,"forceAutoFill",2),Et([l({type:Boolean})],t.prototype,"disabled",2),Et([l({type:String,attribute:"data-aria-label"})],t.prototype,"ariaLabel",2),Et([l({type:String,attribute:"data-aria-labelledby"})],t.prototype,"ariaLabelledby",2),Et([l()],t.prototype,"name",1),Et([l()],t.prototype,"value",1),t};let Cn=class Oe{static areEqual(t,s){return t.length===s.length?t.every((i,e)=>i===s[e]):!1}static from2d(t){return{to1D:()=>{let s=[];return t.forEach(i=>s=s.concat(i)),this.from(s)}}}static from(t){return{get:()=>t||[],everyItem:()=>({has:()=>({same:()=>({value:()=>({forKey:s=>{if(t.length<1)return!0;const i=(t[0]||{})[s];return t.every(e=>(e||{})[s]==i)}})})}),value:()=>({forKey:s=>Oe.from(t.map(i=>i[s]))}),copy:()=>({fromKey:s=>({toKey:i=>{t.forEach(e=>{e[i]=Array.isArray(e[s])?[...e[s]]:typeof e[s]=="object"&&e[s]!=null?{...e[s]}:e[s]})}})})}),map:s=>Oe.from(t.map(s)),filter:s=>Oe.from(t.filter(s)),find:s=>t.find(s),some:s=>t.some(s),every:s=>t.every(s),group:()=>({byKey:s=>{const i=[],e=new Map;for(const o of t){const n=o[s];if(!e.has(n)){const a=i.length;e.set(n,a);const c={items:[]};c[s]=n,i.push(c)}i[e.get(n)].items.push(o)}return Oe.from(i)}}),without:()=>({duplicates:()=>({forKey:s=>{const i=[...new Set(t.map(e=>e[s]))];return Oe.from(i.map(e=>t.find(o=>o[s]==e)))}}),itemsIn:s=>({havingSameValue:()=>({forKey:i=>{const e=(o,n)=>a=>o[n]!=a[n];return Oe.from(t.filter(o=>s.every(e(o,i))))}})})})}}};var Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function On(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var wi={exports:{}};(function(r,t){var s=[].slice;(function(i,e){return t!==null?r.exports=e():i.UrlPattern=e()})(Sn,function(){var i,e,o,n,a,c,h,d,p,g,v,b,y,_,D;return p=function(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},h=function(f,u){var w,S,O;for(O=[],w=-1,S=f.length;++w<S;)O=O.concat(u(f[w]));return O},_=function(f,u){var w,S,O;for(O="",w=-1,S=f.length;++w<S;)O+=u(f[w]);return O},y=function(f){return new RegExp(f.toString()+"|").exec("").length-1},v=function(f,u){var w,S,O,T,q;for(T={},w=-1,O=f.length;++w<O;)S=f[w],q=u[w],q!=null&&(T[S]!=null?(Array.isArray(T[S])||(T[S]=[T[S]]),T[S].push(q)):T[S]=q);return T},i={},i.Result=function(f,u){this.value=f,this.rest=u},i.Tagged=function(f,u){this.tag=f,this.value=u},i.tag=function(f,u){return function(w){var S,O;if(S=u(w),S!=null)return O=new i.Tagged(f,S.value),new i.Result(O,S.rest)}},i.regex=function(f){return function(u){var w,S;if(w=f.exec(u),w!=null)return S=w[0],new i.Result(S,u.slice(S.length))}},i.sequence=function(){var f;return f=1<=arguments.length?s.call(arguments,0):[],function(u){var w,S,O,T,q,W;for(w=-1,S=f.length,W=[],T=u;++w<S;){if(O=f[w],q=O(T),q==null)return;W.push(q.value),T=q.rest}return new i.Result(W,T)}},i.pick=function(){var f,u;return f=arguments[0],u=2<=arguments.length?s.call(arguments,1):[],function(w){var S,O;if(O=i.sequence.apply(i,u)(w),O!=null)return S=O.value,O.value=S[f],O}},i.string=function(f){var u;return u=f.length,function(w){if(w.slice(0,u)===f)return new i.Result(f,w.slice(u))}},i.lazy=function(f){var u;return u=null,function(w){return u==null&&(u=f()),u(w)}},i.baseMany=function(f,u,w,S,O){var T,q,W,kt;for(W=O,kt=w?"":[];!(u!=null&&(T=u(W),T!=null)||(q=f(W),q==null));)w?kt+=q.value:kt.push(q.value),W=q.rest;if(!(S&&kt.length===0))return new i.Result(kt,W)},i.many1=function(f){return function(u){return i.baseMany(f,null,!1,!0,u)}},i.concatMany1Till=function(f,u){return function(w){return i.baseMany(f,u,!0,!0,w)}},i.firstChoice=function(){var f;return f=1<=arguments.length?s.call(arguments,0):[],function(u){var w,S,O,T;for(w=-1,S=f.length;++w<S;)if(O=f[w],T=O(u),T!=null)return T}},b=function(f){var u;return u={},u.wildcard=i.tag("wildcard",i.string(f.wildcardChar)),u.optional=i.tag("optional",i.pick(1,i.string(f.optionalSegmentStartChar),i.lazy(function(){return u.pattern}),i.string(f.optionalSegmentEndChar))),u.name=i.regex(new RegExp("^["+f.segmentNameCharset+"]+")),u.named=i.tag("named",i.pick(1,i.string(f.segmentNameStartChar),i.lazy(function(){return u.name}))),u.escapedChar=i.pick(1,i.string(f.escapeChar),i.regex(/^./)),u.static=i.tag("static",i.concatMany1Till(i.firstChoice(i.lazy(function(){return u.escapedChar}),i.regex(/^./)),i.firstChoice(i.string(f.segmentNameStartChar),i.string(f.optionalSegmentStartChar),i.string(f.optionalSegmentEndChar),u.wildcard))),u.token=i.lazy(function(){return i.firstChoice(u.wildcard,u.optional,u.named,u.static)}),u.pattern=i.many1(i.lazy(function(){return u.token})),u},d={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},c=function(f,u){if(Array.isArray(f))return _(f,function(w){return c(w,u)});switch(f.tag){case"wildcard":return"(.*?)";case"named":return"(["+u+"]+)";case"static":return p(f.value);case"optional":return"(?:"+c(f.value,u)+")?"}},a=function(f,u){return u==null&&(u=d.segmentValueCharset),"^"+c(f,u)+"$"},n=function(f){if(Array.isArray(f))return h(f,n);switch(f.tag){case"wildcard":return["_"];case"named":return[f.value];case"static":return[];case"optional":return n(f.value)}},g=function(f,u,w,S){var O,T,q,W;if(S==null&&(S=!1),W=f[u],W==null){if(S)throw new Error("no values provided for key `"+u+"`");return}if(O=w[u]||0,T=Array.isArray(W)?W.length-1:0,O>T){if(S)throw new Error("too few values provided for key `"+u+"`");return}return q=Array.isArray(W)?W[O]:W,S&&(w[u]=O+1),q},o=function(f,u,w){var S,O;if(Array.isArray(f)){for(S=-1,O=f.length;++S<O;)if(o(f[S],u,w))return!0;return!1}switch(f.tag){case"wildcard":return g(u,"_",w,!1)!=null;case"named":return g(u,f.value,w,!1)!=null;case"static":return!1;case"optional":return o(f.value,u,w)}},D=function(f,u,w){if(Array.isArray(f))return _(f,function(S){return D(S,u,w)});switch(f.tag){case"wildcard":return g(u,"_",w,!0);case"named":return g(u,f.value,w,!0);case"static":return f.value;case"optional":return o(f.value,u,w)?D(f.value,u,w):""}},e=function(f,u){var w,S,O,T,q;if(f instanceof e){this.isRegex=f.isRegex,this.regex=f.regex,this.ast=f.ast,this.names=f.names;return}if(this.isRegex=f instanceof RegExp,!(typeof f=="string"||this.isRegex))throw new TypeError("argument must be a regex or a string");if(this.isRegex){if(this.regex=f,u!=null){if(!Array.isArray(u))throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");if(w=y(this.regex),u.length!==w)throw new Error("regex contains "+w+" groups but array of group names contains "+u.length);this.names=u}return}if(f==="")throw new Error("argument must not be the empty string");if(q=f.replace(/\s+/g,""),q!==f)throw new Error("argument must not contain whitespace");if(S={escapeChar:(u!=null?u.escapeChar:void 0)||d.escapeChar,segmentNameStartChar:(u!=null?u.segmentNameStartChar:void 0)||d.segmentNameStartChar,segmentNameCharset:(u!=null?u.segmentNameCharset:void 0)||d.segmentNameCharset,segmentValueCharset:(u!=null?u.segmentValueCharset:void 0)||d.segmentValueCharset,optionalSegmentStartChar:(u!=null?u.optionalSegmentStartChar:void 0)||d.optionalSegmentStartChar,optionalSegmentEndChar:(u!=null?u.optionalSegmentEndChar:void 0)||d.optionalSegmentEndChar,wildcardChar:(u!=null?u.wildcardChar:void 0)||d.wildcardChar},T=b(S),O=T.pattern(f),O==null)throw new Error("couldn't parse pattern");if(O.rest!=="")throw new Error("could only partially parse pattern");this.ast=O.value,this.regex=new RegExp(a(this.ast,S.segmentValueCharset)),this.names=n(this.ast)},e.prototype.match=function(f){var u,w;return w=this.regex.exec(f),w==null?null:(u=w.slice(1),this.names?v(this.names,u):u)},e.prototype.stringify=function(f){if(f==null&&(f={}),this.isRegex)throw new Error("can't stringify patterns generated from a regex");if(f!==Object(f))throw new Error("argument must be an object or undefined");return D(this.ast,f,{})},e.escapeForRegex=p,e.concatMap=h,e.stringConcatMap=_,e.regexGroupCount=y,e.keysAndValuesToObject=v,e.P=i,e.newParser=b,e.defaultOptions=d,e.astNodeToRegexString=a,e.astNodeToNames=n,e.getParam=g,e.astNodeContainsSegmentsForProvidedParams=o,e.stringify=D,e})})(wi,wi.exports);var Dn=wi.exports;const qt=On(Dn),kn=Mo,Ln=Cn,En=Ps,Nn=ws,Gt=K,Tn=ct,ts=tt,Mn=Be,it=N,In=Ne,jn=qt;window["concorde-utils"]=window["concorde-utils"]||{},window["concorde-utils"]={Utils:kn,Arrays:Ln,DataBindObserver:En,Format:Nn,HTML:Gt,LocationHandler:Tn,Objects:ts,PublisherProxy:Mn,PublisherManager:it,api:In,URLPattern:jn};var Fn=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,es=(r,t,s,i)=>{for(var e=i>1?void 0:i?zn(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&Fn(t,s,e),e};const xi=r=>{class t extends r{constructor(){super(...arguments),this._value="",this.forceAutoFill=!1,this.unique=null,this.radio=null,this._checked=null,this.updateAllChecked=()=>{var n;const i=this.getAttribute("name"),e=this.getCheckAllPublisher(),o=this.getFormPublisher();if(e!=null&&e.hasCheckAll.get()&&!this.checksAll()&&e&&o&&i){if((n=this.getFormPublisherValue())!=null&&n.length)(this.checked===null||e.checkMode.get()=="noneChecked"||e.checkMode.get()==null)&&(e.checkMode="someUnchecked");else{e.checkMode="noneChecked";return}const a=this.getFormPublisherValue(),c=e.values.get();if(c&&c.length){let h=c.length;for(const d of c)a.indexOf(d)==-1&&(h-=1);h==c.length&&(e.checkMode="allChecked"),h==0&&(e.checkMode="noneChecked")}c.indexOf(this.value)==-1&&this.unsetOnDisconnect()&&(this.checked=null)}},this.onChecksAllRequest=i=>{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",""))}}get value(){return this._value}set value(i){if(this.value==i||(this.hasAttribute("value")&&!this.forceAutoFill&&(i=this.getAttribute("value")),this._value==i)||i==null||(this._value=i,!this.value))return;if(this.getFormPublisher()&&this.name){let o=this.getFormPublisherValue();(this.radio||this.unique)&&(this.checked=o==i?!0:null),Array.isArray(o)||(o=[]),o.indexOf(i)!=-1&&(this.checked=!0)}this.checked==!0&&this.updateDataValue(),this.requestUpdate()}get checked(){return this._checked}set checked(i){if(this.setCheckedValue(i),this.checksAll()){const e=this.getCheckAllPublisher();e&&(this.checked===!0?e.checkMode="allChecked":this.checked===null&&(e.checkMode="noneChecked",this.getFormPublisher()&&this.setFormPublisherValue([])))}this.requestUpdate()}validateFormElement(){var o;const i=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!i||i.checkValidity())return;const e=this.getFormPublisher();if(e){const n=this.getFormPublisherValue();if((this.unique||this.radio)&&n!==null&&n!==void 0&&n.toString().length>0)return;e.isFormValid=!1,i.reportValidity()}}checksAll(){return this.hasAttribute("checksAll")}setCheckedValue(i){this._checked!=i&&(this._checked=i,this.updateDataValue(),this.requestUpdate(),setTimeout(()=>this.updateAllChecked(),1))}handleChange(){const i=this.checked===!0?this.radio?!0:null:!0;this.checked=i;const e=new Event("change");this.dispatchEvent(e)}getValueForFormPublisher(){let i=this.getFormPublisherValue();if(this.radio)return this.checked===!0&&this.value!=null?this.value:i;if(this.unique)return this.checked===!0&&this.value!=null?this.value:null;Array.isArray(i)||(i=[]);const e=i.slice(0),o=e.indexOf(this.value);return this.checked===!0&&o===-1&&!this.checksAll()&&e.push(this.value),this.checked===null&&o!==-1&&e.splice(o,1),e}setFormValueFromPublisher(i){if(this.unique||this.radio){this.checked=this.value==i?!0:null;return}Array.isArray(i)||(i=[]),!this.checksAll()&&(this.checked=i.indexOf(this.value)!==-1?!0:null)}getCheckAllPublisher(){this.formDataProvider||(this.formDataProvider=this.getAncestorAttributeValue("formDataProvider"));const i=this.formDataProvider,e=this.getAttribute("name");return!i||!e?null:it.get(i+"/"+e+"/_available_values_")}unset(){this.checked=null}disconnectedCallback(){super.disconnectedCallback();const i=this.getCheckAllPublisher();if(i&&(i.checkMode.offAssign(this.onChecksAllRequest),!this.checksAll())){const e=i.values.get().slice(0),o=e.indexOf(this.value);o!=-1&&(e.splice(o,1),i.values=e)}setTimeout(()=>this.updateAllChecked(),1)}connectedCallback(){if(super.connectedCallback(),this.getFormPublisher()&&this.name){const o=this.getFormPublisherValue();o&&Array.isArray(o)&&o.indexOf(this.value)!==-1&&(this.checked=!0)}const e=this.getCheckAllPublisher();e&&(e.checkMode.onAssign(this.onChecksAllRequest),this.checksAll()&&(e.hasCheckAll=!0),e.values.get()||(e.values=[]),this.checksAll()||(e.values=[...e.values.get(),this.value])),this.hasAttribute("checked")&&(!this.publisher||this.publisher.get().checked!==!1)&&setTimeout(()=>this.checked=!0,1)}}return es([l()],t.prototype,"value",1),es([l()],t.prototype,"forceAutoFill",2),es([l({type:Boolean})],t.prototype,"unique",2),es([l({type:Boolean})],t.prototype,"radio",2),es([l()],t.prototype,"checked",1),t};/**
72
+ */const Tr="important",$n=" !"+Tr,bt=me(class extends Ee{constructor(r){var t;if(super(r),r.type!==Le.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.")}render(r){return Object.keys(r).reduce((t,s)=>{const i=r[s];return i==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(r,[t]){const{style:s}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const i of this.ft)t[i]==null&&(this.ft.delete(i),i.includes("-")?s.removeProperty(i):s[i]=null);for(const i in t){const e=t[i];if(e!=null){this.ft.add(i);const o=typeof e=="string"&&e.endsWith($n);i.includes("-")||o?s.setProperty(i,o?e.slice(0,-11):e,o?Tr:""):s[i]=e}}return yt}});var Pn=Object.defineProperty,An=Object.getOwnPropertyDescriptor,Et=(r,t,s,i)=>{for(var e=i>1?void 0:i?An(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&Pn(t,s,e),e};const Es=new Map,Me=r=>{class t extends r{constructor(...i){super(),this.touched=!1,this.error=!1,this.autofocus=!1,this.required=!1,this.forceAutoFill=!1,this.disabled=!1,this.formDataProvider="",this._name="",this._value="",this.onValueAssign=e=>{this.setValueFromPublisher(e)},this.onFormValueAssign=async e=>{this.setFormValueFromPublisher(e)},this.onFormDataInValidate=()=>{const e=this.getFormPublisher();e&&e.isFormValid.get()&&this.validateFormElement()}}get name(){return this._name}set name(i){this.hasAttribute("name")&&!this.forceAutoFill&&(i=this.getAttribute("name")),this._name=i,this.requestUpdate()}validateFormElement(){}unsetOnDisconnect(){return this.hasAttribute("unsetOnDisconnect")}updateDataValue(){this.getAttribute("name")&&this.getFormPublisher()&&(this.setFormPublisherValue(this.getValueForFormPublisher()),this.setFormValueFromPublisher(this.getFormPublisherValue()))}getFormPublisher(){return this.formDataProvider||(this.formDataProvider=this.getAncestorAttributeValue("formDataProvider")),this.formDataProvider?N.get(this.formDataProvider):null}setFormPublisherValue(i){const e=this.getFormPublisher();e&&pt(e,this.name).set(i)}getFormPublisherValue(){const i=this.getFormPublisher();return i?pt(i,this.name).get():null}getValueForFormPublisher(){return this.value}setValueFromPublisher(i){this.value=i}setFormValueFromPublisher(i){this.value=i}get value(){return this._value}set value(i){i==null&&(i=""),tt.isObject(i)&&Object.prototype.hasOwnProperty.call(i,"__value")&&i._value==null&&(i=""),this._value!=i&&(this._value=i,this.updateDataValue(),this.requestUpdate())}initPublisher(){let i=this.getFormPublisher();const e=this.hasAncestorAttribute("initFromPublisher")&&this._name&&this.getFormPublisherValue()?this.getFormPublisherValue():this.getAttribute("value");this._name&&this.publisher&&pt(this.publisher,this._name).offAssign(this.onValueAssign),this._name&&i&&pt(i,this._name).offAssign(this.onFormValueAssign),super.initPublisher(),this.name||(this._name=this.getAttribute("name")),this.value||(this._value=this.getAttribute("value")),this.publisher&&this._name&&pt(this.publisher,this._name).onAssign(this.onValueAssign),i=this.getFormPublisher(),this._name&&i&&(pt(i,this._name).onAssign(this.onFormValueAssign),i.onFormInvalidate(this.onFormDataInValidate)),this.updateDataValue(),e&&(this.value=e)}handleBlur(){this.touched=!0}handleChange(i){this.value=i.target.value;const e=new Event("change");this.dispatchEvent(e)}addKeyboardNavigation(){const i=this.getAncestorAttributeValue("data-keyboard-nav");if(!i)return;const e=i.split(" "),o=e[0];if(!o)return;for(const a of e){Es.has(a)||Es.set(a,[]);const c=Es.get(a);(c==null?void 0:c.indexOf(this))==-1&&c.push(this)}const n=Es.get(o);this.addEventListener("keydown",a=>{var v;const c=a;if(!["ArrowDown","ArrowUp"].includes(c.key))return;const h="input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])",d=n==null?void 0:n.filter(b=>{var D;const y=(D=b.shadowRoot)==null?void 0:D.querySelector(h);if(!y)return!1;const _=window.getComputedStyle(y);return _.display!=="none"&&_.display!==""&&_.pointerEvents!="none"&&_.visibility!=="hidden"&&y.getBoundingClientRect().width>0});let p=null;if(c.key=="ArrowDown"&&d){const b=d.indexOf(this);b==d.length-1?p=d[0]:p=d[b+1]}else if(c.key=="ArrowUp"&&d){const b=d.indexOf(this);b==0?p=d[d.length-1]:p=d[b-1]}const g=(v=p==null?void 0:p.shadowRoot)==null?void 0:v.querySelector(h);g&&g.focus&&(g.focus(),a.preventDefault(),a.stopPropagation())})}focus(){var e;const i=(e=this.shadowRoot)==null?void 0:e.querySelector("[data-form-element], button");i==null||i.focus()}connectedCallback(){this.formDataProvider=this.getAncestorAttributeValue("formDataProvider"),super.connectedCallback(),this.addKeyboardNavigation()}unset(){this.value=null}disconnectedCallback(){this.unsetOnDisconnect()&&this.unset(),super.disconnectedCallback(),this._name&&this.publisher&&pt(this.publisher,this._name).offAssign(this.onValueAssign);const i=this.getFormPublisher();this._name&&i&&(pt(i,this._name).offAssign(this.onFormValueAssign),i.offFormInvalidate(this.onFormDataInValidate))}}return Et([l({type:Boolean,reflect:!0})],t.prototype,"touched",2),Et([l({type:Boolean})],t.prototype,"error",2),Et([l({type:Boolean})],t.prototype,"autofocus",2),Et([l({type:Boolean})],t.prototype,"required",2),Et([l({type:Boolean})],t.prototype,"forceAutoFill",2),Et([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),Et([l({type:String,attribute:"data-aria-label"})],t.prototype,"ariaLabel",2),Et([l({type:String,attribute:"data-aria-labelledby"})],t.prototype,"ariaLabelledby",2),Et([l()],t.prototype,"name",1),Et([l()],t.prototype,"value",1),t};let Cn=class Oe{static areEqual(t,s){return t.length===s.length?t.every((i,e)=>i===s[e]):!1}static from2d(t){return{to1D:()=>{let s=[];return t.forEach(i=>s=s.concat(i)),this.from(s)}}}static from(t){return{get:()=>t||[],everyItem:()=>({has:()=>({same:()=>({value:()=>({forKey:s=>{if(t.length<1)return!0;const i=(t[0]||{})[s];return t.every(e=>(e||{})[s]==i)}})})}),value:()=>({forKey:s=>Oe.from(t.map(i=>i[s]))}),copy:()=>({fromKey:s=>({toKey:i=>{t.forEach(e=>{e[i]=Array.isArray(e[s])?[...e[s]]:typeof e[s]=="object"&&e[s]!=null?{...e[s]}:e[s]})}})})}),map:s=>Oe.from(t.map(s)),filter:s=>Oe.from(t.filter(s)),find:s=>t.find(s),some:s=>t.some(s),every:s=>t.every(s),group:()=>({byKey:s=>{const i=[],e=new Map;for(const o of t){const n=o[s];if(!e.has(n)){const a=i.length;e.set(n,a);const c={items:[]};c[s]=n,i.push(c)}i[e.get(n)].items.push(o)}return Oe.from(i)}}),without:()=>({duplicates:()=>({forKey:s=>{const i=[...new Set(t.map(e=>e[s]))];return Oe.from(i.map(e=>t.find(o=>o[s]==e)))}}),itemsIn:s=>({havingSameValue:()=>({forKey:i=>{const e=(o,n)=>a=>o[n]!=a[n];return Oe.from(t.filter(o=>s.every(e(o,i))))}})})})}}};var Sn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function On(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var wi={exports:{}};(function(r,t){var s=[].slice;(function(i,e){return t!==null?r.exports=e():i.UrlPattern=e()})(Sn,function(){var i,e,o,n,a,c,h,d,p,g,v,b,y,_,D;return p=function(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},h=function(f,u){var w,S,O;for(O=[],w=-1,S=f.length;++w<S;)O=O.concat(u(f[w]));return O},_=function(f,u){var w,S,O;for(O="",w=-1,S=f.length;++w<S;)O+=u(f[w]);return O},y=function(f){return new RegExp(f.toString()+"|").exec("").length-1},v=function(f,u){var w,S,O,T,q;for(T={},w=-1,O=f.length;++w<O;)S=f[w],q=u[w],q!=null&&(T[S]!=null?(Array.isArray(T[S])||(T[S]=[T[S]]),T[S].push(q)):T[S]=q);return T},i={},i.Result=function(f,u){this.value=f,this.rest=u},i.Tagged=function(f,u){this.tag=f,this.value=u},i.tag=function(f,u){return function(w){var S,O;if(S=u(w),S!=null)return O=new i.Tagged(f,S.value),new i.Result(O,S.rest)}},i.regex=function(f){return function(u){var w,S;if(w=f.exec(u),w!=null)return S=w[0],new i.Result(S,u.slice(S.length))}},i.sequence=function(){var f;return f=1<=arguments.length?s.call(arguments,0):[],function(u){var w,S,O,T,q,W;for(w=-1,S=f.length,W=[],T=u;++w<S;){if(O=f[w],q=O(T),q==null)return;W.push(q.value),T=q.rest}return new i.Result(W,T)}},i.pick=function(){var f,u;return f=arguments[0],u=2<=arguments.length?s.call(arguments,1):[],function(w){var S,O;if(O=i.sequence.apply(i,u)(w),O!=null)return S=O.value,O.value=S[f],O}},i.string=function(f){var u;return u=f.length,function(w){if(w.slice(0,u)===f)return new i.Result(f,w.slice(u))}},i.lazy=function(f){var u;return u=null,function(w){return u==null&&(u=f()),u(w)}},i.baseMany=function(f,u,w,S,O){var T,q,W,kt;for(W=O,kt=w?"":[];!(u!=null&&(T=u(W),T!=null)||(q=f(W),q==null));)w?kt+=q.value:kt.push(q.value),W=q.rest;if(!(S&&kt.length===0))return new i.Result(kt,W)},i.many1=function(f){return function(u){return i.baseMany(f,null,!1,!0,u)}},i.concatMany1Till=function(f,u){return function(w){return i.baseMany(f,u,!0,!0,w)}},i.firstChoice=function(){var f;return f=1<=arguments.length?s.call(arguments,0):[],function(u){var w,S,O,T;for(w=-1,S=f.length;++w<S;)if(O=f[w],T=O(u),T!=null)return T}},b=function(f){var u;return u={},u.wildcard=i.tag("wildcard",i.string(f.wildcardChar)),u.optional=i.tag("optional",i.pick(1,i.string(f.optionalSegmentStartChar),i.lazy(function(){return u.pattern}),i.string(f.optionalSegmentEndChar))),u.name=i.regex(new RegExp("^["+f.segmentNameCharset+"]+")),u.named=i.tag("named",i.pick(1,i.string(f.segmentNameStartChar),i.lazy(function(){return u.name}))),u.escapedChar=i.pick(1,i.string(f.escapeChar),i.regex(/^./)),u.static=i.tag("static",i.concatMany1Till(i.firstChoice(i.lazy(function(){return u.escapedChar}),i.regex(/^./)),i.firstChoice(i.string(f.segmentNameStartChar),i.string(f.optionalSegmentStartChar),i.string(f.optionalSegmentEndChar),u.wildcard))),u.token=i.lazy(function(){return i.firstChoice(u.wildcard,u.optional,u.named,u.static)}),u.pattern=i.many1(i.lazy(function(){return u.token})),u},d={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},c=function(f,u){if(Array.isArray(f))return _(f,function(w){return c(w,u)});switch(f.tag){case"wildcard":return"(.*?)";case"named":return"(["+u+"]+)";case"static":return p(f.value);case"optional":return"(?:"+c(f.value,u)+")?"}},a=function(f,u){return u==null&&(u=d.segmentValueCharset),"^"+c(f,u)+"$"},n=function(f){if(Array.isArray(f))return h(f,n);switch(f.tag){case"wildcard":return["_"];case"named":return[f.value];case"static":return[];case"optional":return n(f.value)}},g=function(f,u,w,S){var O,T,q,W;if(S==null&&(S=!1),W=f[u],W==null){if(S)throw new Error("no values provided for key `"+u+"`");return}if(O=w[u]||0,T=Array.isArray(W)?W.length-1:0,O>T){if(S)throw new Error("too few values provided for key `"+u+"`");return}return q=Array.isArray(W)?W[O]:W,S&&(w[u]=O+1),q},o=function(f,u,w){var S,O;if(Array.isArray(f)){for(S=-1,O=f.length;++S<O;)if(o(f[S],u,w))return!0;return!1}switch(f.tag){case"wildcard":return g(u,"_",w,!1)!=null;case"named":return g(u,f.value,w,!1)!=null;case"static":return!1;case"optional":return o(f.value,u,w)}},D=function(f,u,w){if(Array.isArray(f))return _(f,function(S){return D(S,u,w)});switch(f.tag){case"wildcard":return g(u,"_",w,!0);case"named":return g(u,f.value,w,!0);case"static":return f.value;case"optional":return o(f.value,u,w)?D(f.value,u,w):""}},e=function(f,u){var w,S,O,T,q;if(f instanceof e){this.isRegex=f.isRegex,this.regex=f.regex,this.ast=f.ast,this.names=f.names;return}if(this.isRegex=f instanceof RegExp,!(typeof f=="string"||this.isRegex))throw new TypeError("argument must be a regex or a string");if(this.isRegex){if(this.regex=f,u!=null){if(!Array.isArray(u))throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");if(w=y(this.regex),u.length!==w)throw new Error("regex contains "+w+" groups but array of group names contains "+u.length);this.names=u}return}if(f==="")throw new Error("argument must not be the empty string");if(q=f.replace(/\s+/g,""),q!==f)throw new Error("argument must not contain whitespace");if(S={escapeChar:(u!=null?u.escapeChar:void 0)||d.escapeChar,segmentNameStartChar:(u!=null?u.segmentNameStartChar:void 0)||d.segmentNameStartChar,segmentNameCharset:(u!=null?u.segmentNameCharset:void 0)||d.segmentNameCharset,segmentValueCharset:(u!=null?u.segmentValueCharset:void 0)||d.segmentValueCharset,optionalSegmentStartChar:(u!=null?u.optionalSegmentStartChar:void 0)||d.optionalSegmentStartChar,optionalSegmentEndChar:(u!=null?u.optionalSegmentEndChar:void 0)||d.optionalSegmentEndChar,wildcardChar:(u!=null?u.wildcardChar:void 0)||d.wildcardChar},T=b(S),O=T.pattern(f),O==null)throw new Error("couldn't parse pattern");if(O.rest!=="")throw new Error("could only partially parse pattern");this.ast=O.value,this.regex=new RegExp(a(this.ast,S.segmentValueCharset)),this.names=n(this.ast)},e.prototype.match=function(f){var u,w;return w=this.regex.exec(f),w==null?null:(u=w.slice(1),this.names?v(this.names,u):u)},e.prototype.stringify=function(f){if(f==null&&(f={}),this.isRegex)throw new Error("can't stringify patterns generated from a regex");if(f!==Object(f))throw new Error("argument must be an object or undefined");return D(this.ast,f,{})},e.escapeForRegex=p,e.concatMap=h,e.stringConcatMap=_,e.regexGroupCount=y,e.keysAndValuesToObject=v,e.P=i,e.newParser=b,e.defaultOptions=d,e.astNodeToRegexString=a,e.astNodeToNames=n,e.getParam=g,e.astNodeContainsSegmentsForProvidedParams=o,e.stringify=D,e})})(wi,wi.exports);var Dn=wi.exports;const qt=On(Dn),kn=Mo,Ln=Cn,En=Ps,Nn=ws,Gt=K,Tn=ct,ts=tt,Mn=Be,it=N,In=Ne,jn=qt;window["concorde-utils"]=window["concorde-utils"]||{},window["concorde-utils"]={Utils:kn,Arrays:Ln,DataBindObserver:En,Format:Nn,HTML:Gt,LocationHandler:Tn,Objects:ts,PublisherProxy:Mn,PublisherManager:it,api:In,URLPattern:jn};var Fn=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,es=(r,t,s,i)=>{for(var e=i>1?void 0:i?zn(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&Fn(t,s,e),e};const xi=r=>{class t extends r{constructor(){super(...arguments),this._value="",this.forceAutoFill=!1,this.unique=null,this.radio=null,this._checked=null,this.updateAllChecked=()=>{var n;const i=this.getAttribute("name"),e=this.getCheckAllPublisher(),o=this.getFormPublisher();if(e!=null&&e.hasCheckAll.get()&&!this.checksAll()&&e&&o&&i){if((n=this.getFormPublisherValue())!=null&&n.length)(this.checked===null||e.checkMode.get()=="noneChecked"||e.checkMode.get()==null)&&(e.checkMode="someUnchecked");else{e.checkMode="noneChecked";return}const a=this.getFormPublisherValue(),c=e.values.get();if(c&&c.length){let h=c.length;for(const d of c)a.indexOf(d)==-1&&(h-=1);h==c.length&&(e.checkMode="allChecked"),h==0&&(e.checkMode="noneChecked")}c.indexOf(this.value)==-1&&this.unsetOnDisconnect()&&(this.checked=null)}},this.onChecksAllRequest=i=>{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",""))}}get value(){return this._value}set value(i){if(this.value==i||(this.hasAttribute("value")&&!this.forceAutoFill&&(i=this.getAttribute("value")),this._value==i)||i==null||(this._value=i,!this.value))return;if(this.getFormPublisher()&&this.name){let o=this.getFormPublisherValue();(this.radio||this.unique)&&(this.checked=o==i?!0:null),Array.isArray(o)||(o=[]),o.indexOf(i)!=-1&&(this.checked=!0)}this.checked==!0&&this.updateDataValue(),this.requestUpdate()}get checked(){return this._checked}set checked(i){if(this.setCheckedValue(i),this.checksAll()){const e=this.getCheckAllPublisher();e&&(this.checked===!0?e.checkMode="allChecked":this.checked===null&&(e.checkMode="noneChecked",this.getFormPublisher()&&this.setFormPublisherValue([])))}this.requestUpdate()}validateFormElement(){var o;const i=(o=this.shadowRoot)==null?void 0:o.querySelector("input");if(!i||i.checkValidity())return;const e=this.getFormPublisher();if(e){const n=this.getFormPublisherValue();if((this.unique||this.radio)&&n!==null&&n!==void 0&&n.toString().length>0)return;e.isFormValid=!1,i.reportValidity()}}checksAll(){return this.hasAttribute("checksAll")}setCheckedValue(i){this._checked!=i&&(this._checked=i,this.updateDataValue(),this.requestUpdate(),setTimeout(()=>this.updateAllChecked(),1))}handleChange(){const i=this.checked===!0?this.radio?!0:null:!0;this.checked=i;const e=new Event("change");this.dispatchEvent(e)}getValueForFormPublisher(){let i=this.getFormPublisherValue();if(this.radio)return this.checked===!0&&this.value!=null?this.value:i;if(this.unique)return this.checked===!0&&this.value!=null?this.value:null;Array.isArray(i)||(i=[]);const e=i.slice(0),o=e.indexOf(this.value);return this.checked===!0&&o===-1&&!this.checksAll()&&e.push(this.value),this.checked===null&&o!==-1&&e.splice(o,1),e}setFormValueFromPublisher(i){if(this.unique||this.radio){this.checked=this.value==i?!0:null;return}Array.isArray(i)||(i=[]),!this.checksAll()&&(this.checked=i.indexOf(this.value)!==-1?!0:null)}getCheckAllPublisher(){this.formDataProvider||(this.formDataProvider=this.getAncestorAttributeValue("formDataProvider"));const i=this.formDataProvider,e=this.getAttribute("name");return!i||!e?null:it.get(i+"/"+e+"/_available_values_")}unset(){this.checked=null}disconnectedCallback(){super.disconnectedCallback();const i=this.getCheckAllPublisher();if(i&&(i.checkMode.offAssign(this.onChecksAllRequest),!this.checksAll())){const e=i.values.get().slice(0),o=e.indexOf(this.value);o!=-1&&(e.splice(o,1),i.values=e)}setTimeout(()=>this.updateAllChecked(),1)}connectedCallback(){if(super.connectedCallback(),this.getFormPublisher()&&this.name){const o=this.getFormPublisherValue();o&&Array.isArray(o)&&o.indexOf(this.value)!==-1&&(this.checked=!0)}const e=this.getCheckAllPublisher();e&&(e.checkMode.onAssign(this.onChecksAllRequest),this.checksAll()&&(e.hasCheckAll=!0),e.values.get()||(e.values=[]),this.checksAll()||(e.values=[...e.values.get(),this.value])),this.hasAttribute("checked")&&(!this.publisher||this.publisher.get().checked!==!1)&&setTimeout(()=>this.checked=!0,1)}}return es([l()],t.prototype,"value",1),es([l()],t.prototype,"forceAutoFill",2),es([l({type:Boolean})],t.prototype,"unique",2),es([l({type:Boolean})],t.prototype,"radio",2),es([l()],t.prototype,"checked",1),t};/**
73
73
  * @license
74
74
  * Copyright 2018 Google LLC
75
75
  * SPDX-License-Identifier: BSD-3-Clause
@@ -571,9 +571,10 @@
571
571
  vertical-align: -0.125em;
572
572
  flex-shrink: 0;
573
573
  }
574
+
574
575
  svg {
575
- height: var(--sc-icon-size, 1em);
576
- width: 1.4em;
576
+ height: var(--_sc-icon-size, 1em);
577
+ width: calc(var(--_sc-icon-size, 1em) * 1.4);
577
578
  overflow: visible;
578
579
  }
579
580
 
@@ -586,31 +587,31 @@
586
587
  }
587
588
 
588
589
  :host([size="2xs"]) svg {
589
- --sc-icon-size: 0.625em;
590
+ --_sc-icon-size: 0.625em;
590
591
  }
591
592
 
592
593
  :host([size="xs"]) svg {
593
- --sc-icon-size: 0.75em;
594
+ --_sc-icon-size: 0.75em;
594
595
  }
595
596
 
596
597
  :host([size="sm"]) svg {
597
- --sc-icon-size: 0.875em;
598
+ --_sc-icon-size: 0.875em;
598
599
  }
599
600
 
600
601
  :host([size="lg"]) svg {
601
- --sc-icon-size: 1.25em;
602
+ --_sc-icon-size: 1.25em;
602
603
  }
603
604
 
604
605
  :host([size="xl"]) svg {
605
- --sc-icon-size: 1.5em;
606
+ --_sc-icon-size: 1.5em;
606
607
  }
607
608
 
608
609
  :host([size="2xl"]) svg {
609
- --sc-icon-size: 2em;
610
+ --_sc-icon-size: 2em;
610
611
  }
611
612
 
612
613
  :host([size="3xl"]) svg {
613
- --sc-icon-size: 2.8em;
614
+ --_sc-icon-size: 2.8em;
614
615
  }
615
616
  `,ls([L()],ye.prototype,"iconText",2),ls([l({type:String})],ye.prototype,"name",2),ls([l({type:String})],ye.prototype,"prefix",2),ls([l({type:String})],ye.prototype,"library",2),ye=ls([$(ua)],ye);const cs=P`
616
617
  .custom-scroll {
@@ -2023,7 +2024,7 @@
2023
2024
  :host > .form-control {
2024
2025
  position: relative;
2025
2026
  }
2026
- `],U([l({type:String,reflect:!0})],j.prototype,"size",2),U([l({type:String})],j.prototype,"inputmode",2),U([l({type:String})],j.prototype,"list",2),U([l({type:String})],j.prototype,"placeholder",2),U([l({type:String})],j.prototype,"pattern",2),U([l({type:String})],j.prototype,"min",2),U([l({type:String})],j.prototype,"max",2),U([l({type:Boolean})],j.prototype,"readonly",2),U([l({type:Number})],j.prototype,"step",2),U([l({type:Number})],j.prototype,"minlength",2),U([l({type:Number})],j.prototype,"maxlength",2),U([l({type:String})],j.prototype,"src",2),U([l({type:Boolean,reflect:!0})],j.prototype,"inlineContent",2),U([l({type:Boolean})],j.prototype,"disableInlineContentFocus",2),U([l({type:Boolean})],j.prototype,"showPasswordToggle",2),U([l({type:Boolean})],j.prototype,"autoActive",2),U([l({type:Boolean,reflect:!0})],j.prototype,"active",2),U([lt({slot:"label",flatten:!0})],j.prototype,"slotLabelNodes",2),U([lt({slot:"description",flatten:!0})],j.prototype,"slotDescriptionNodes",2),U([lt({slot:"suffix",flatten:!0})],j.prototype,"slotSuffixNodes",2),U([lt({slot:"prefix",flatten:!0})],j.prototype,"slotPrefixNodes",2),U([le("input")],j.prototype,"input",2),U([L()],j.prototype,"hasDescription",2),U([L()],j.prototype,"hasLabel",2),U([L()],j.prototype,"hasSuffix",2),U([L()],j.prototype,"hasPrefix",2),U([L()],j.prototype,"isPassword",2),j=U([$(Xl)],j);const yo=P`
2027
+ `],U([l({type:String,reflect:!0})],j.prototype,"size",2),U([l({type:String})],j.prototype,"inputmode",2),U([l({type:String})],j.prototype,"list",2),U([l({type:String})],j.prototype,"placeholder",2),U([l({type:String})],j.prototype,"pattern",2),U([l({type:String})],j.prototype,"min",2),U([l({type:String})],j.prototype,"max",2),U([l({type:Boolean,reflect:!0})],j.prototype,"readonly",2),U([l({type:Number})],j.prototype,"step",2),U([l({type:Number})],j.prototype,"minlength",2),U([l({type:Number})],j.prototype,"maxlength",2),U([l({type:String})],j.prototype,"src",2),U([l({type:Boolean,reflect:!0})],j.prototype,"inlineContent",2),U([l({type:Boolean})],j.prototype,"disableInlineContentFocus",2),U([l({type:Boolean})],j.prototype,"showPasswordToggle",2),U([l({type:Boolean})],j.prototype,"autoActive",2),U([l({type:Boolean,reflect:!0})],j.prototype,"active",2),U([lt({slot:"label",flatten:!0})],j.prototype,"slotLabelNodes",2),U([lt({slot:"description",flatten:!0})],j.prototype,"slotDescriptionNodes",2),U([lt({slot:"suffix",flatten:!0})],j.prototype,"slotSuffixNodes",2),U([lt({slot:"prefix",flatten:!0})],j.prototype,"slotPrefixNodes",2),U([le("input")],j.prototype,"input",2),U([L()],j.prototype,"hasDescription",2),U([L()],j.prototype,"hasLabel",2),U([L()],j.prototype,"hasSuffix",2),U([L()],j.prototype,"hasPrefix",2),U([L()],j.prototype,"isPassword",2),j=U([$(Xl)],j);const yo=P`
2027
2028
  /*OMBRE*/
2028
2029
  :host([shadow]) .shadowable,
2029
2030
  :host([shadow="md"]) .shadowable,
@@ -2095,6 +2096,7 @@
2095
2096
  */class wo{constructor(t,{target:s,config:i,callback:e,skipInitial:o}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,s!==null&&this.t.add(s??t),this.l=i,this.o=o??this.o,this.callback=e,window.ResizeObserver?(this.u=new ResizeObserver(n=>{this.handleChanges(n),this.h.requestUpdate()}),t.addController(this)):console.warn("ResizeController error: browser does not support ResizeObserver.")}handleChanges(t){var s;this.value=(s=this.callback)==null?void 0:s.call(this,t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){!this.o&&this.i&&this.handleChanges([]),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}var rc=Object.defineProperty,oc=Object.getOwnPropertyDescriptor,ut=(r,t,s,i)=>{for(var e=i>1?void 0:i?oc(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&rc(t,s,e),e};let at=class extends Ei(lo(ao(te(x)))){constructor(){super(...arguments),this.size="md",this.placeholder="",this.filteredFields="",this.readonly=null,this.dataProviderExpression="",this.minSearchLength=0,this.key="",this.searchParameter="",this.propertyName="",this.hasInputPrefix=!1,this._resizeController=new wo(this,{}),this.isPopVisible=!1,this.searchDataProvider="",this.initSearchDataProvider="",this.queueDataProvider="",this.initQueueDataProvider="",this.lastValidSearch="",this.updateSearchParameter=r=>{var s;if(r==""&&this.isSearchParameter()){this.lastValidSearch="";return}this.queryQueueListItem(this.queueDataProvider,this.findSelection,this.setSearchFromSelection)===!1&&this.isSearchParameter()&&(this.lastValidSearch=r,(s=this.searchPublisher)==null||s.set(this.lastValidSearch))},this.updatePopContentVisibility=r=>{this.isPopVisible=((r==null?void 0:r.length)||0)>=this.minSearchLength},this.initSearchParameter=()=>{this.queryQueueListItem(this.initQueueDataProvider,this.findSelection,this.setSearchFromSelection)},this.selectListItem=r=>{var s;const t=this.propertyName==="_self"?r:r[this.propertyName||this.name];(s=this.formValuePublisher)==null||s.set(t)},this.findSearchedItem=r=>{var s;return(this.propertyName==="_self"?r:r[this.propertyName||this.searchParameter||this.name])==((s=this.searchPublisher)==null?void 0:s.get())},this.findSelection=r=>(this.propertyName==="_self"?r:r[this.propertyName||this.name])==this.value,this.setSearchFromSelection=r=>{var t;this.lastValidSearch=this.propertyName==="_self"?r:r[this.searchParameter||this.propertyName||this.name],this.isSearchParameter()&&((t=this.searchPublisher)==null||t.set(this.lastValidSearch))},this.updateActiveSelection=()=>{var r,t,s;this.queryQueueListItem(this.queueDataProvider,this.findSearchedItem,this.selectListItem),!this.select&&this.lastValidSearch&&this.lastValidSearch!=((r=this.searchPublisher)==null?void 0:r.get())&&((t=this.formValuePublisher)!=null&&t.get())&&((s=this.formValuePublisher)==null||s.set(""))}}hasSlotOrProps(){var r;this.hasInputPrefix=!!((r=this.slotInputPrefixNodes)!=null&&r.length)}isSearchParameter(){return!this.searchParameter||this.searchParameter===this.name}connectedCallback(){var e,o,n,a;super.connectedCallback();const r=this.searchParameter||this.name,t=this.getAncestorAttributeValue("formDataProvider"),s=t+"__"+this.name+"__autocomplete";this.initSearchDataProvider=`${s}_init_search__`,this.initQueueDataProvider=`${s}_init_queue__`,this.searchDataProvider=`${s}_search__`,this.queueDataProvider=`${s}_queue__`;const i=it.get;this.searchPublisher=i(this.searchDataProvider)[r],this.formValuePublisher=pt(i(t),this.name),this.countPublisher=i(this.queueDataProvider).resultCount,this.initCountPublisher=i(this.initQueueDataProvider).resultCount,this.value&&(it.get(this.initSearchDataProvider)[this.name]=this.value),(e=this.initCountPublisher)==null||e.onAssign(this.initSearchParameter),(o=this.formValuePublisher)==null||o.onAssign(this.updateSearchParameter),(n=this.countPublisher)==null||n.onAssign(this.updateActiveSelection),(a=this.searchPublisher)==null||a.onAssign(this.updatePopContentVisibility)}disconnectedCallback(){var t,s,i,e;super.disconnectedCallback(),(t=this.initCountPublisher)==null||t.offAssign(this.initSearchParameter),(s=this.formValuePublisher)==null||s.offAssign(this.updateSearchParameter),(i=this.countPublisher)==null||i.offAssign(this.updateActiveSelection);const r=it.get;r(this.initSearchDataProvider).delete(),r(this.initQueueDataProvider).delete(),r(this.searchDataProvider).delete(),r(this.queueDataProvider).delete(),(e=this.searchPublisher)==null||e.offAssign(this.updatePopContentVisibility)}queryQueueListItem(r,t,s){const i=it.get(r);let e,o=i.get();if(!o||!Array.isArray(o)||!o.length)return!1;for(const n of o){let a=it.get(n.dataProvider).get();if(Array.isArray(a)&&(e=a.find(t),e))break}return e?(s(e),!0):!1}setSelectionRange(r,t){var s;(s=this.querySelector("sonic-input"))==null||s.setSelectionRange(r,t)}handleHide(){var r,t,s;if(this.select){if(((r=this.searchPublisher)==null?void 0:r.get())==""){this.lastValidSearch="",(t=this.formValuePublisher)==null||t.set("");return}(s=this.searchPublisher)==null||s.set(this.lastValidSearch)}}getInputValue(){var r;return this.isSearchParameter()?(r=this.searchPublisher)==null?void 0:r.get():this.lastValidSearch}render(){return m`
2096
2097
  <sonic-pop noToggle style="display:block;" @hide=${this.handleHide}>
2097
2098
  <sonic-input
2099
+ class="form-element"
2098
2100
  dataProvider="${this.initSearchDataProvider+Math.random()}"
2099
2101
  noAutofill
2100
2102
  formDataProvider="${this.searchDataProvider}"
@@ -2160,16 +2162,23 @@
2160
2162
  display: block;
2161
2163
  }
2162
2164
  /**disable mouse if there is an attribute readonly */
2163
- :host([readonly]) {
2165
+ :host([readonly]),
2166
+ :host([disabled]) {
2164
2167
  pointer-events: none;
2168
+ cursor: not-allowed;
2169
+ user-select: none;
2165
2170
  }
2171
+ :host([disabled]) {
2172
+ opacity: 0.43;
2173
+ }
2174
+
2166
2175
  sonic-menu {
2167
2176
  display: block;
2168
2177
  max-height: clamp(12rem, 20vh, 20rem);
2169
2178
  min-width: 14rem;
2170
2179
  width: 100%;
2171
2180
  }
2172
- `],ut([l({type:String})],at.prototype,"size",2),ut([l({type:String})],at.prototype,"placeholder",2),ut([l()],at.prototype,"filteredFields",2),ut([l({type:Boolean})],at.prototype,"readonly",2),ut([l({type:String})],at.prototype,"dataProviderExpression",2),ut([l({type:Number})],at.prototype,"minSearchLength",2),ut([l({type:Boolean})],at.prototype,"select",2),ut([l({type:String})],at.prototype,"key",2),ut([l({type:String})],at.prototype,"searchParameter",2),ut([l({type:String})],at.prototype,"propertyName",2),ut([lt({slot:"prefix",flatten:!0})],at.prototype,"slotInputPrefixNodes",2),ut([L()],at.prototype,"hasInputPrefix",2),ut([L()],at.prototype,"isPopVisible",2),ut([L()],at.prototype,"lastValidSearch",2),at=ut([$("sonic-input-autocomplete")],at);var nc=Object.defineProperty,ac=Object.getOwnPropertyDescriptor,ft=(r,t,s,i)=>{for(var e=i>1?void 0:i?ac(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&nc(t,s,e),e};const lc="sonic-password-helper";let ht=class extends te(x){constructor(){super(...arguments),this.minChars=8,this.hasNoChar=!0,this.hasEnoughChars=!1,this.hasMinuscule=!1,this.hasMajuscule=!1,this.hasNumber=!1,this.hasSpecialChar=!1,this.wording_password_helper_decription="Le mot de passe doit contenir au moins :",this.wording_password_helper_min_length="8 caractères",this.wording_password_helper_lower_case="1 minuscule",this.wording_password_helper_upper_case="1 majuscule",this.wording_password_helper_number="1 chiffre",this.wording_password_helper_special_char="1 caractère spécial"}connectedCallback(){super.connectedCallback(),this.name&&(this.checkValue=t=>{t?(this.hasNoChar=t.length==0,this.hasEnoughChars=t.length>this.minChars):(this.hasNoChar=!0,this.hasEnoughChars=!1),this.hasMinuscule=/[a-z]/.test(t),this.hasMajuscule=/[A-Z]/.test(t),this.hasNumber=/[0-9]/.test(t),this.hasSpecialChar=/[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(t)},it.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].onAssign(this.checkValue))}disconnectedCallback(){this.checkValue&&this.name&&it.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].offAssign(this.checkValue),super.disconnectedCallback()}getIcon(t){return t?m`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>`:m`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`}render(){return this.hasNoChar?C:m`
2181
+ `],ut([l({type:String})],at.prototype,"size",2),ut([l({type:String})],at.prototype,"placeholder",2),ut([l()],at.prototype,"filteredFields",2),ut([l({type:Boolean,reflect:!0})],at.prototype,"readonly",2),ut([l({type:String})],at.prototype,"dataProviderExpression",2),ut([l({type:Number})],at.prototype,"minSearchLength",2),ut([l({type:Boolean})],at.prototype,"select",2),ut([l({type:String})],at.prototype,"key",2),ut([l({type:String})],at.prototype,"searchParameter",2),ut([l({type:String})],at.prototype,"propertyName",2),ut([lt({slot:"prefix",flatten:!0})],at.prototype,"slotInputPrefixNodes",2),ut([L()],at.prototype,"hasInputPrefix",2),ut([L()],at.prototype,"isPopVisible",2),ut([L()],at.prototype,"lastValidSearch",2),at=ut([$("sonic-input-autocomplete")],at);var nc=Object.defineProperty,ac=Object.getOwnPropertyDescriptor,ft=(r,t,s,i)=>{for(var e=i>1?void 0:i?ac(t,s):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(e=(i?n(t,s,e):n(e))||e);return i&&e&&nc(t,s,e),e};const lc="sonic-password-helper";let ht=class extends te(x){constructor(){super(...arguments),this.minChars=8,this.hasNoChar=!0,this.hasEnoughChars=!1,this.hasMinuscule=!1,this.hasMajuscule=!1,this.hasNumber=!1,this.hasSpecialChar=!1,this.wording_password_helper_decription="Le mot de passe doit contenir au moins :",this.wording_password_helper_min_length="8 caractères",this.wording_password_helper_lower_case="1 minuscule",this.wording_password_helper_upper_case="1 majuscule",this.wording_password_helper_number="1 chiffre",this.wording_password_helper_special_char="1 caractère spécial"}connectedCallback(){super.connectedCallback(),this.name&&(this.checkValue=t=>{t?(this.hasNoChar=t.length==0,this.hasEnoughChars=t.length>this.minChars):(this.hasNoChar=!0,this.hasEnoughChars=!1),this.hasMinuscule=/[a-z]/.test(t),this.hasMajuscule=/[A-Z]/.test(t),this.hasNumber=/[0-9]/.test(t),this.hasSpecialChar=/[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(t)},it.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].onAssign(this.checkValue))}disconnectedCallback(){this.checkValue&&this.name&&it.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].offAssign(this.checkValue),super.disconnectedCallback()}getIcon(t){return t?m`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>`:m`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`}render(){return this.hasNoChar?C:m`
2173
2182
  <div>${this.wording_password_helper_decription}</div>
2174
2183
  <div>
2175
2184
  ${this.getIcon(this.hasEnoughChars)}
@@ -559,7 +559,7 @@ let T = (k = class {
559
559
  const h = await new Response(a.readable).arrayBuffer();
560
560
  return new TextDecoder().decode(h);
561
561
  }
562
- }, k.buildDate = "Tue Jul 22 2025 17:17:30 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);
562
+ }, k.buildDate = "Mon Aug 04 2025 10:19:26 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);
563
563
  if (typeof window < "u") {
564
564
  const r = window;
565
565
  r[Ds + "PublisherManager"] = r[Ds + "PublisherManager"] || T;
@@ -2682,7 +2682,7 @@ var Cn = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, Et = (r, t
2682
2682
  const Ps = /* @__PURE__ */ new Map(), Fe = (r) => {
2683
2683
  class t extends r {
2684
2684
  constructor(...i) {
2685
- 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) => {
2685
+ super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = !1, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
2686
2686
  this.setValueFromPublisher(e);
2687
2687
  }, this.onFormValueAssign = async (e) => {
2688
2688
  this.setFormValueFromPublisher(e);
@@ -2843,7 +2843,7 @@ const Ps = /* @__PURE__ */ new Map(), Fe = (r) => {
2843
2843
  ], t.prototype, "required", 2), Et([
2844
2844
  l({ type: Boolean })
2845
2845
  ], t.prototype, "forceAutoFill", 2), Et([
2846
- l({ type: Boolean })
2846
+ l({ type: Boolean, reflect: !0 })
2847
2847
  ], t.prototype, "disabled", 2), Et([
2848
2848
  l({ type: String, attribute: "data-aria-label" })
2849
2849
  ], t.prototype, "ariaLabel", 2), Et([
@@ -4688,9 +4688,10 @@ ve.styles = P`
4688
4688
  vertical-align: -0.125em;
4689
4689
  flex-shrink: 0;
4690
4690
  }
4691
+
4691
4692
  svg {
4692
- height: var(--sc-icon-size, 1em);
4693
- width: 1.4em;
4693
+ height: var(--_sc-icon-size, 1em);
4694
+ width: calc(var(--_sc-icon-size, 1em) * 1.4);
4694
4695
  overflow: visible;
4695
4696
  }
4696
4697
 
@@ -4703,31 +4704,31 @@ ve.styles = P`
4703
4704
  }
4704
4705
 
4705
4706
  :host([size="2xs"]) svg {
4706
- --sc-icon-size: 0.625em;
4707
+ --_sc-icon-size: 0.625em;
4707
4708
  }
4708
4709
 
4709
4710
  :host([size="xs"]) svg {
4710
- --sc-icon-size: 0.75em;
4711
+ --_sc-icon-size: 0.75em;
4711
4712
  }
4712
4713
 
4713
4714
  :host([size="sm"]) svg {
4714
- --sc-icon-size: 0.875em;
4715
+ --_sc-icon-size: 0.875em;
4715
4716
  }
4716
4717
 
4717
4718
  :host([size="lg"]) svg {
4718
- --sc-icon-size: 1.25em;
4719
+ --_sc-icon-size: 1.25em;
4719
4720
  }
4720
4721
 
4721
4722
  :host([size="xl"]) svg {
4722
- --sc-icon-size: 1.5em;
4723
+ --_sc-icon-size: 1.5em;
4723
4724
  }
4724
4725
 
4725
4726
  :host([size="2xl"]) svg {
4726
- --sc-icon-size: 2em;
4727
+ --_sc-icon-size: 2em;
4727
4728
  }
4728
4729
 
4729
4730
  :host([size="3xl"]) svg {
4730
- --sc-icon-size: 2.8em;
4731
+ --_sc-icon-size: 2.8em;
4731
4732
  }
4732
4733
  `;
4733
4734
  us([
@@ -8425,7 +8426,7 @@ V([
8425
8426
  l({ type: String })
8426
8427
  ], j.prototype, "max", 2);
8427
8428
  V([
8428
- l({ type: Boolean })
8429
+ l({ type: Boolean, reflect: !0 })
8429
8430
  ], j.prototype, "readonly", 2);
8430
8431
  V([
8431
8432
  l({ type: Number })
@@ -8876,6 +8877,7 @@ let at = class extends Ki(
8876
8877
  return m`
8877
8878
  <sonic-pop noToggle style="display:block;" @hide=${this.handleHide}>
8878
8879
  <sonic-input
8880
+ class="form-element"
8879
8881
  dataProvider="${this.initSearchDataProvider + Math.random()}"
8880
8882
  noAutofill
8881
8883
  formDataProvider="${this.searchDataProvider}"
@@ -8946,9 +8948,16 @@ at.styles = [
8946
8948
  display: block;
8947
8949
  }
8948
8950
  /**disable mouse if there is an attribute readonly */
8949
- :host([readonly]) {
8951
+ :host([readonly]),
8952
+ :host([disabled]) {
8950
8953
  pointer-events: none;
8954
+ cursor: not-allowed;
8955
+ user-select: none;
8956
+ }
8957
+ :host([disabled]) {
8958
+ opacity: 0.43;
8951
8959
  }
8960
+
8952
8961
  sonic-menu {
8953
8962
  display: block;
8954
8963
  max-height: clamp(12rem, 20vh, 20rem);
@@ -8967,7 +8976,7 @@ mt([
8967
8976
  l()
8968
8977
  ], at.prototype, "filteredFields", 2);
8969
8978
  mt([
8970
- l({ type: Boolean })
8979
+ l({ type: Boolean, reflect: !0 })
8971
8980
  ], at.prototype, "readonly", 2);
8972
8981
  mt([
8973
8982
  l({ type: String })