@supersoniks/concorde 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build-infos.json CHANGED
@@ -1 +1 @@
1
- {"date":1767631224}
1
+ {"date":1768232562}
@@ -1,4 +1,4 @@
1
- (function(H){typeof define=="function"&&define.amd?define(H):H()})((function(){"use strict";var Ot,N,T,Z;let H=class Ut{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,i)=>{const s=i.indexOf("=");return t[i.substring(0,s).trim()]=i.substring(s+1),t},{})}static everyAncestors(t,i){for(;t;){if(!i(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const i=t;if(i.nodeType===1){const s=window.getComputedStyle(i);if(s?.overflowY==="auto"||s?.overflowY==="scroll"||s?.overflowY==="hidden"||s?.overflowX==="auto"||s?.overflowX==="scroll"||s?.overflowX==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,i){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(i))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(i):null}static getApiConfiguration(t){const i=Ut.getAncestorAttributeValue(t,"token"),s=Ut.getAncestorAttributeValue(t,"addHTTPResponse")!=null,e=Ut.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const l=Ut.getAncestorAttributeValue(t,"tokenProvider"),c=Ut.getAncestorAttributeValue(t,"eventsApiToken");i||(o=Ut.getAncestorAttributeValue(t,"userName"),n=Ut.getAncestorAttributeValue(t,"password"));const h=Ut.getAncestorAttributeValue(t,"credentials")||void 0,u=t.getAttribute("cache"),d=t.hasAttribute("blockUntilDone"),g=t.hasAttribute("keepAlive");return{serviceURL:e,token:i,userName:o,password:n,authToken:c,tokenProvider:l,addHTTPResponse:s,credentials:h,cache:u,blockUntilDone:d,keepAlive:g}}static getClosestElement(t,i){for(;!(t.nodeName&&t.nodeName.toLowerCase()===i)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Ut.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async s=>{const e=document.createElement("script");e.src=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}static async loadCSS(t){return new Promise(async s=>{const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}};const Us=r=>{const t=document.documentElement,i=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="lang"&&r()}),s={attributes:!0,attributeFilter:["lang"]};i.observe(t,s)};let cs=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,i="",s="long"){i||(i=H.getLanguage());const e=(h,u)=>[Math.floor(h/u),h%u];function o(h,u,d){return new Intl.NumberFormat(h,{style:"unit",unit:u,unitDisplay:d}).format}const[n,l]=e(t,60),c=[];return n&&c.push(o(i,"hour",s)(n)),l&&c.push(o(i,"minute",s)(l)),new Intl.ListFormat(i,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Wr=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(i=>{setTimeout(i,t)})}},ji="sonic";typeof __SONIC_PREFIX__<"u"&&(ji=__SONIC_PREFIX__);let Fi=ji.replace(/-([a-z])/g,r=>r[1].toUpperCase());const hs=Fi.charAt(0).toUpperCase()+Fi.slice(1);function ds(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function je(r){return typeof r=="object"&&r!=null}let _e="sonic";typeof __SONIC_PREFIX__>"u"&&(_e="sonic");const Vs=_e=="sonic"?"publisher-proxies-data":_e+"-publisher-proxies-data";let Bs=(Ot=class{constructor(t,i,s){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=i||null,this._parentKey_=s,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){for(const t in this._proxies_.keys())t!="_parent_"&&this._proxies_.get(t)?.delete();this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Ot.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(i=>i()),this._is_savable_&&!E.changed){E.changed=!0,E.saveId++;const i=E.saveId;setTimeout(()=>E.getInstance().saveToLocalStorage(i),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const s=this.get();this._assignListeners_.forEach(e=>{e(s)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,i){this._fillListeners_.forEach(s=>{s[t]!==i&&(s[t]=i)}),this._publishTemplateFilling_(t,i)}_publishTemplateFilling_(t,i){this._templateFillListeners_.forEach(s=>{const e=Object.getOwnPropertyDescriptor(s,t);e&&!e.set&&!e.writable||(s.propertyMap&&s.propertyMap[t]&&(t=s.propertyMap[t]),typeof s[t]<"u"&&s[t]!==i&&(s[t]=i))})}onAssign(t,i=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),i&&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 i in this._value_){let s=i;const e=this._value_[i];t.propertyMap&&t.propertyMap[i]&&(s=t.propertyMap[i]),typeof t[i]<"u"&&t[i]!==e&&(t[s]=e)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const i in this._value_){const s=this._value_[i];t[i]!==s&&(t[i]=s)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,i=!1){if(this._value_===t||this._value_&&t&&ds(this._value_)&&ds(t)&&this._value_.__value===t.__value)return!0;this._value_=je(t)?t:{__value:t},this._cachedGet_=void 0;const s=ds(this._value_);if(this._parentKey_&&this.parent){const e=ds(this._value_)?this._value_.__value:this._value_;if(this.parent?.get()==null&&this.parent?.get()==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:e});else{const o=[];o[Number(this._parentKey_)]=e,this.parent.set(o)}else this.parent._value_[this._parentKey_]=e}if(s)return this._proxies_.forEach((e,o)=>{o!="_parent_"&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(i),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const e in this._value_)this._value_[e]===void 0&&delete this._value_[e];if(this._proxies_.forEach((e,o)=>{const n=this._value_[o];o!="_parent_"&&n===void 0&&n!==null&&isNaN(Number(o))&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),je(this._value_))for(const e in this._value_){const o=t[e],l=je(o)?o:{__value:o};if(!this._proxies_.has(e)){this._publishDynamicFilling_(e,o);continue}this._proxies_.get(e)?.set(l,!0),this._publishDynamicFilling_(e,o)}return!0}get(){if(E.modifiedCollectore.length>0&&E.modifiedCollectore[0].add(this),this._cachedGet_!==void 0)return this._cachedGet_;if(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_||(Ot.instancesCounter++,this._instanceCounter_=Ot.instancesCounter),Ot.instances.set(this._instanceCounter_,this),"<"+_e+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+_e+"-publisher-proxy>"}},Ot.instances=new Map,Ot.instancesCounter=0,Ot),E=(N=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],N.instance!=null)throw"Singleton / use getInstance";N.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 s=localStorage.getItem(Vs),e=null;if(s&&(e=await this.decompress(s,"gzip")),e)try{this.localStorageData=JSON.parse(e)}catch{this.localStorageData={}}else s=await this.compress("{}","gzip"),localStorage.setItem(Vs,s),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const l=this.localStorageData[n],c=new Date().getTime()-(l.expirationDelayMs||o);l.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 i=N.instances.get(t);return i||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new N)}return N.instance==null?new N:N.instance}static registerInstance(t,i){N.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),N.instances.set(t,i)}static get(t,i){return N.getInstance().get(t,i)}static collectModifiedPublisher(){N.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return N.modifiedCollectore.shift()}static delete(t){return t?N.getInstance().delete(t):!1}async setLocalData(t,i){await this.isLocalStrorageReady,t.set(this.localStorageData[i+"¤lang_"+H.getLanguage()]?.data||t.get())}get(t,i){const s=i?.localStorageMode==="enabled",e=i?.invalidateOnPageShow===!0;if(!this.publishers.has(t)){const n={},l=new Fe(n);this.set(t,l)}const o=this.publishers.get(t);return s&&this.initialisedData.indexOf(t)===-1&&(i?.expirationDelayMs&&(o._expiration_delay_=i.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,i){this.publishers.set(t,i)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==N.saveId&&t%10!=0))try{if(!N.changed||N.saving)return;N.saving=!0,N.changed=!1;const i=Array.from(this.publishers.keys());let s=!1;for(const e of i){const o=this.publishers.get(e);if(!o?._is_savable_)continue;const n=o?.get();n&&(this.localStorageData[e+"¤lang_"+H.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},s=!0)}if(s){const e=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(Vs,e)}if(N.saving=!1,N.changed){N.saveId++;const e=N.saveId;setTimeout(()=>this.saveToLocalStorage(e),1e3)}}catch{N.saving=!1}}async compress(t,i){const s=new TextEncoder().encode(t),e=window,o=new e.CompressionStream(i),n=o.writable.getWriter();n.write(s),n.close();const l=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(l);let h="";for(let u=0;u<c.length;u++)h+=String.fromCharCode(c[u]);return btoa(h)}async decompress(t,i){const s=atob(t),o=Uint8Array.from(s,u=>u.charCodeAt(0)).buffer,n=window,l=new n.DecompressionStream(i),c=l.writable.getWriter();c.write(o),c.close();const h=await new Response(l.readable).arrayBuffer();return new TextDecoder().decode(h)}},N.buildDate="Mon Jan 05 2026 17:40:24 GMT+0100 (Central European Standard Time)",N.changed=!1,N.saving=!1,N.saveId=0,N.instance=null,N.instances=new Map,N.modifiedCollectore=[],N);if(typeof window<"u"){const r=window;r[hs+"PublisherManager"]=r[hs+"PublisherManager"]||E}const Kr=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 Fe extends Bs{constructor(t,i=null,s){super(t,i,s);const e=new Proxy(this,{get:function(o,n){if(Kr.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>e.get();if(!o._proxies_.has(n)){const l=o._value_[n],c=new Fe(je(l)?l:{__value:l},o,n);c._proxies_.set("_parent_",e),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,l){if(n=="_value_")return o._value_=l,!0;if(n=="_cachedGet_")return o._cachedGet_=l,!0;if(n=="_assignmentId_")return o._assignmentId_=l,!0;if(n=="_is_savable_")return o._is_savable_=l,!0;if(n=="_expiration_delay_")return o._expiration_delay_=l,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=l,!0;if(n=="_instanceCounter_")return o._instanceCounter_=l,!0;if(!o._proxies_.has(n)){const h=new Fe({},o,n);h._proxies_.set("_parent_",e),o._proxies_.set(n,h)}return o._value_[n]!==l&&(o._value_[n]=l,o._publishDynamicFilling_(n,l),o._proxies_.get(n)?.set(je(l)?l:{__value:l})),!0},deleteProperty:function(o,n){return o._publishDynamicFilling_(n,null),o._proxies_.get(n)?.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,l){return l&&"value"in l&&(o._value_[n]=l.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,i){return t[i]}}class Yr extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){this.publisherId=this.getAttribute("publisher")||"",this.publisher=Bs.instances.get(parseInt(this.publisherId)),this.publisher?.onAssign(this.onAssign)}disconnectedCallback(){this.publisher?.offAssign(this.onAssign)}}try{customElements.define(_e+"-publisher-proxy",Yr)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&E.getInstance().invalidateAll()});let us=(T=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(T.observedElements.keys()).forEach(t=>T.unObserve(t)))}static observe(t){if(!t||!T.enabled||T.observedElements.has(t))return;const i=new MutationObserver(T.onMutation),s={};s.childList=!0,s.subtree=!0,s.attributes=!0,s.attributeFilter=["data-bind"],i.observe(t,s),t.querySelectorAll("[data-bind]").forEach(e=>T.addPublisherListeners(e)),T.observedElements.set(t,i)}static unObserve(t){if(!t)return;const i=this.observedElements.get(t);i&&(i.disconnect(),t.querySelectorAll("[data-bind]").forEach(s=>T.removePublisherListeners(s)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.addPublisherListeners(i)):t.childNodes.forEach(i=>T.onAdded(i))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.removePublisherListeners(i)):t.childNodes.forEach(i=>T.onRemoved(i))}static onMutation(t){for(const i of t)switch(i.type){case"attributes":T.addPublisherListeners(i.target);break;case"childList":i.addedNodes.forEach(s=>{T.onAdded(s)}),i.removedNodes.forEach(s=>{T.onRemoved(s)});break}}static removePublisherListeners(t){const i=T.publisherListeners.get(t);i&&(T.publisherListeners.delete(t),i.forEach(s=>{s.publisher?.offAssign(s.onAssign)}))}static getVariablesDescriptor(t){let i=t.match(/(\$(?:\w+\\?\.?)+)/g);return i?i=i.map(s=>s.replace("$","")):i=[t],i=i.filter(s=>s.length>0),{expression:t.replace("\\",""),variables:i.map(s=>s.split(/\b\.\b/).map(e=>e.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(i=>i.name.indexOf("::")==0).map(i=>({propertyToUpdate:i.name.substring(2).replace(/-((html)|\w)/g,e=>e.substring(1).toUpperCase()),bindedVariablesDescriptor:T.getVariablesDescriptor(i.value)})):[]}static getSubPublisher(t,i){if(!i)return t;for(const s of i)if(s!="_self_"){if(!t)return null;t=t[s]}return t}static addPublisherListeners(t){T.removePublisherListeners(t);const i=H.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!i)return;const s=E.getInstance().get(i),e=T.getDataBindItems(t),o=[];e.forEach(n=>{const l=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of l.variables){const u=h;let d=s;d=T.getSubPublisher(s,u);const g=t,m={publisher:d,onAssign:()=>{const v=l.variables.map(D=>T.getSubPublisher(s,D)?.get());let y=l.expression,$=!1;if(v.length==1&&l.variables[0].join(".")==y.substring(1)){let D=v[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<v.length;D++){let p=v[D];const f=l.variables[D];p===null&&($=!0,p=void 0),y=y.replace("$"+f.join("."),p)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=cs.js(y.substring(1));else{const p=y.substring(0,D),f=y.substring(D+1),_=cs[p];y=$?"":_?_(f):y}}else y=$?"":y;g[c]=y}};d?.onAssign(m.onAssign),o.push(m)}}),T.publisherListeners.set(t,o)}},T.observedElements=new Map,T.enabled=!0,T.publisherListeners=new Map,T);us.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=us);let tt=class Kt{static shallowEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n];if(s?l!==c:l!=c)return!1}return!0}static deepEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n],h=Kt.isObject(l)&&Kt.isObject(c),u=s?l!==c:l!=c;if(h&&!Kt.deepEqual(l,c)||!h&&u)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Kt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,i,s=!1){for(const e of i){const o=t[e];if(o===void 0)return;s&&Kt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[e]}return t}static traverseDotNotation(t,i,s=!1){return Kt.traverse(t,i.split("."),s)}static getURLSearchArray(t,i=""){let s=[];for(let e in t){const o=t[e];i&&(e=i+"["+e+"]"),Kt.isObject(o)?s=[...s,...this.getURLSearchArray(o,e)]:s.push(`${e}=${o}`)}return s}static getURLSearchString(t){return Kt.getURLSearchArray(t,"").join("&")}};const pt=tt.traverseDotNotation;/**
1
+ (function(H){typeof define=="function"&&define.amd?define(H):H()})((function(){"use strict";var Ot,N,T,Z;let H=class Ut{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,i)=>{const s=i.indexOf("=");return t[i.substring(0,s).trim()]=i.substring(s+1),t},{})}static everyAncestors(t,i){for(;t;){if(!i(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const i=t;if(i.nodeType===1){const s=window.getComputedStyle(i);if(s?.overflowY==="auto"||s?.overflowY==="scroll"||s?.overflowY==="hidden"||s?.overflowX==="auto"||s?.overflowX==="scroll"||s?.overflowX==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,i){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(i))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(i):null}static getApiConfiguration(t){const i=Ut.getAncestorAttributeValue(t,"token"),s=Ut.getAncestorAttributeValue(t,"addHTTPResponse")!=null,e=Ut.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const l=Ut.getAncestorAttributeValue(t,"tokenProvider"),c=Ut.getAncestorAttributeValue(t,"eventsApiToken");i||(o=Ut.getAncestorAttributeValue(t,"userName"),n=Ut.getAncestorAttributeValue(t,"password"));const h=Ut.getAncestorAttributeValue(t,"credentials")||void 0,u=t.getAttribute("cache"),d=t.hasAttribute("blockUntilDone"),g=t.hasAttribute("keepAlive");return{serviceURL:e,token:i,userName:o,password:n,authToken:c,tokenProvider:l,addHTTPResponse:s,credentials:h,cache:u,blockUntilDone:d,keepAlive:g}}static getClosestElement(t,i){for(;!(t.nodeName&&t.nodeName.toLowerCase()===i)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Ut.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async s=>{const e=document.createElement("script");e.src=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}static async loadCSS(t){return new Promise(async s=>{const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}};const Us=r=>{const t=document.documentElement,i=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="lang"&&r()}),s={attributes:!0,attributeFilter:["lang"]};i.observe(t,s)};let cs=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,i="",s="long"){i||(i=H.getLanguage());const e=(h,u)=>[Math.floor(h/u),h%u];function o(h,u,d){return new Intl.NumberFormat(h,{style:"unit",unit:u,unitDisplay:d}).format}const[n,l]=e(t,60),c=[];return n&&c.push(o(i,"hour",s)(n)),l&&c.push(o(i,"minute",s)(l)),new Intl.ListFormat(i,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Wr=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(i=>{setTimeout(i,t)})}},ji="sonic";typeof __SONIC_PREFIX__<"u"&&(ji=__SONIC_PREFIX__);let Fi=ji.replace(/-([a-z])/g,r=>r[1].toUpperCase());const hs=Fi.charAt(0).toUpperCase()+Fi.slice(1);function ds(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function je(r){return typeof r=="object"&&r!=null}let _e="sonic";typeof __SONIC_PREFIX__>"u"&&(_e="sonic");const Vs=_e=="sonic"?"publisher-proxies-data":_e+"-publisher-proxies-data";let Bs=(Ot=class{constructor(t,i,s){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=i||null,this._parentKey_=s,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){for(const t in this._proxies_.keys())t!="_parent_"&&this._proxies_.get(t)?.delete();this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Ot.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(i=>i()),this._is_savable_&&!E.changed){E.changed=!0,E.saveId++;const i=E.saveId;setTimeout(()=>E.getInstance().saveToLocalStorage(i),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const s=this.get();this._assignListeners_.forEach(e=>{e(s)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,i){this._fillListeners_.forEach(s=>{s[t]!==i&&(s[t]=i)}),this._publishTemplateFilling_(t,i)}_publishTemplateFilling_(t,i){this._templateFillListeners_.forEach(s=>{const e=Object.getOwnPropertyDescriptor(s,t);e&&!e.set&&!e.writable||(s.propertyMap&&s.propertyMap[t]&&(t=s.propertyMap[t]),typeof s[t]<"u"&&s[t]!==i&&(s[t]=i))})}onAssign(t,i=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),i&&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 i in this._value_){let s=i;const e=this._value_[i];t.propertyMap&&t.propertyMap[i]&&(s=t.propertyMap[i]),typeof t[i]<"u"&&t[i]!==e&&(t[s]=e)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const i in this._value_){const s=this._value_[i];t[i]!==s&&(t[i]=s)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,i=!1){if(this._value_===t||this._value_&&t&&ds(this._value_)&&ds(t)&&this._value_.__value===t.__value)return!0;this._value_=je(t)?t:{__value:t},this._cachedGet_=void 0;const s=ds(this._value_);if(this._parentKey_&&this.parent){const e=ds(this._value_)?this._value_.__value:this._value_;if(this.parent?.get()==null&&this.parent?.get()==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:e});else{const o=[];o[Number(this._parentKey_)]=e,this.parent.set(o)}else this.parent._value_[this._parentKey_]=e}if(s)return this._proxies_.forEach((e,o)=>{o!="_parent_"&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(i),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const e in this._value_)this._value_[e]===void 0&&delete this._value_[e];if(this._proxies_.forEach((e,o)=>{const n=this._value_[o];o!="_parent_"&&n===void 0&&n!==null&&isNaN(Number(o))&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),je(this._value_))for(const e in this._value_){const o=t[e],l=je(o)?o:{__value:o};if(!this._proxies_.has(e)){this._publishDynamicFilling_(e,o);continue}this._proxies_.get(e)?.set(l,!0),this._publishDynamicFilling_(e,o)}return!0}get(){if(E.modifiedCollectore.length>0&&E.modifiedCollectore[0].add(this),this._cachedGet_!==void 0)return this._cachedGet_;if(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_||(Ot.instancesCounter++,this._instanceCounter_=Ot.instancesCounter),Ot.instances.set(this._instanceCounter_,this),"<"+_e+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+_e+"-publisher-proxy>"}},Ot.instances=new Map,Ot.instancesCounter=0,Ot),E=(N=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],N.instance!=null)throw"Singleton / use getInstance";N.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 s=localStorage.getItem(Vs),e=null;if(s&&(e=await this.decompress(s,"gzip")),e)try{this.localStorageData=JSON.parse(e)}catch{this.localStorageData={}}else s=await this.compress("{}","gzip"),localStorage.setItem(Vs,s),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const l=this.localStorageData[n],c=new Date().getTime()-(l.expirationDelayMs||o);l.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 i=N.instances.get(t);return i||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new N)}return N.instance==null?new N:N.instance}static registerInstance(t,i){N.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),N.instances.set(t,i)}static get(t,i){return N.getInstance().get(t,i)}static collectModifiedPublisher(){N.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return N.modifiedCollectore.shift()}static delete(t){return t?N.getInstance().delete(t):!1}async setLocalData(t,i){await this.isLocalStrorageReady,t.set(this.localStorageData[i+"¤lang_"+H.getLanguage()]?.data||t.get())}get(t,i){const s=i?.localStorageMode==="enabled",e=i?.invalidateOnPageShow===!0;if(!this.publishers.has(t)){const n={},l=new Fe(n);this.set(t,l)}const o=this.publishers.get(t);return s&&this.initialisedData.indexOf(t)===-1&&(i?.expirationDelayMs&&(o._expiration_delay_=i.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,i){this.publishers.set(t,i)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==N.saveId&&t%10!=0))try{if(!N.changed||N.saving)return;N.saving=!0,N.changed=!1;const i=Array.from(this.publishers.keys());let s=!1;for(const e of i){const o=this.publishers.get(e);if(!o?._is_savable_)continue;const n=o?.get();n&&(this.localStorageData[e+"¤lang_"+H.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},s=!0)}if(s){const e=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(Vs,e)}if(N.saving=!1,N.changed){N.saveId++;const e=N.saveId;setTimeout(()=>this.saveToLocalStorage(e),1e3)}}catch{N.saving=!1}}async compress(t,i){const s=new TextEncoder().encode(t),e=window,o=new e.CompressionStream(i),n=o.writable.getWriter();n.write(s),n.close();const l=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(l);let h="";for(let u=0;u<c.length;u++)h+=String.fromCharCode(c[u]);return btoa(h)}async decompress(t,i){const s=atob(t),o=Uint8Array.from(s,u=>u.charCodeAt(0)).buffer,n=window,l=new n.DecompressionStream(i),c=l.writable.getWriter();c.write(o),c.close();const h=await new Response(l.readable).arrayBuffer();return new TextDecoder().decode(h)}},N.buildDate="Mon Jan 12 2026 16:42:41 GMT+0100 (Central European Standard Time)",N.changed=!1,N.saving=!1,N.saveId=0,N.instance=null,N.instances=new Map,N.modifiedCollectore=[],N);if(typeof window<"u"){const r=window;r[hs+"PublisherManager"]=r[hs+"PublisherManager"]||E}const Kr=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 Fe extends Bs{constructor(t,i=null,s){super(t,i,s);const e=new Proxy(this,{get:function(o,n){if(Kr.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>e.get();if(!o._proxies_.has(n)){const l=o._value_[n],c=new Fe(je(l)?l:{__value:l},o,n);c._proxies_.set("_parent_",e),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,l){if(n=="_value_")return o._value_=l,!0;if(n=="_cachedGet_")return o._cachedGet_=l,!0;if(n=="_assignmentId_")return o._assignmentId_=l,!0;if(n=="_is_savable_")return o._is_savable_=l,!0;if(n=="_expiration_delay_")return o._expiration_delay_=l,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=l,!0;if(n=="_instanceCounter_")return o._instanceCounter_=l,!0;if(!o._proxies_.has(n)){const h=new Fe({},o,n);h._proxies_.set("_parent_",e),o._proxies_.set(n,h)}return o._value_[n]!==l&&(o._value_[n]=l,o._publishDynamicFilling_(n,l),o._proxies_.get(n)?.set(je(l)?l:{__value:l})),!0},deleteProperty:function(o,n){return o._publishDynamicFilling_(n,null),o._proxies_.get(n)?.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,l){return l&&"value"in l&&(o._value_[n]=l.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,i){return t[i]}}class Yr extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){this.publisherId=this.getAttribute("publisher")||"",this.publisher=Bs.instances.get(parseInt(this.publisherId)),this.publisher?.onAssign(this.onAssign)}disconnectedCallback(){this.publisher?.offAssign(this.onAssign)}}try{customElements.define(_e+"-publisher-proxy",Yr)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&E.getInstance().invalidateAll()});let us=(T=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(T.observedElements.keys()).forEach(t=>T.unObserve(t)))}static observe(t){if(!t||!T.enabled||T.observedElements.has(t))return;const i=new MutationObserver(T.onMutation),s={};s.childList=!0,s.subtree=!0,s.attributes=!0,s.attributeFilter=["data-bind"],i.observe(t,s),t.querySelectorAll("[data-bind]").forEach(e=>T.addPublisherListeners(e)),T.observedElements.set(t,i)}static unObserve(t){if(!t)return;const i=this.observedElements.get(t);i&&(i.disconnect(),t.querySelectorAll("[data-bind]").forEach(s=>T.removePublisherListeners(s)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.addPublisherListeners(i)):t.childNodes.forEach(i=>T.onAdded(i))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.removePublisherListeners(i)):t.childNodes.forEach(i=>T.onRemoved(i))}static onMutation(t){for(const i of t)switch(i.type){case"attributes":T.addPublisherListeners(i.target);break;case"childList":i.addedNodes.forEach(s=>{T.onAdded(s)}),i.removedNodes.forEach(s=>{T.onRemoved(s)});break}}static removePublisherListeners(t){const i=T.publisherListeners.get(t);i&&(T.publisherListeners.delete(t),i.forEach(s=>{s.publisher?.offAssign(s.onAssign)}))}static getVariablesDescriptor(t){let i=t.match(/(\$(?:\w+\\?\.?)+)/g);return i?i=i.map(s=>s.replace("$","")):i=[t],i=i.filter(s=>s.length>0),{expression:t.replace("\\",""),variables:i.map(s=>s.split(/\b\.\b/).map(e=>e.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(i=>i.name.indexOf("::")==0).map(i=>({propertyToUpdate:i.name.substring(2).replace(/-((html)|\w)/g,e=>e.substring(1).toUpperCase()),bindedVariablesDescriptor:T.getVariablesDescriptor(i.value)})):[]}static getSubPublisher(t,i){if(!i)return t;for(const s of i)if(s!="_self_"){if(!t)return null;t=t[s]}return t}static addPublisherListeners(t){T.removePublisherListeners(t);const i=H.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!i)return;const s=E.getInstance().get(i),e=T.getDataBindItems(t),o=[];e.forEach(n=>{const l=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of l.variables){const u=h;let d=s;d=T.getSubPublisher(s,u);const g=t,m={publisher:d,onAssign:()=>{const v=l.variables.map(D=>T.getSubPublisher(s,D)?.get());let y=l.expression,$=!1;if(v.length==1&&l.variables[0].join(".")==y.substring(1)){let D=v[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<v.length;D++){let p=v[D];const f=l.variables[D];p===null&&($=!0,p=void 0),y=y.replace("$"+f.join("."),p)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=cs.js(y.substring(1));else{const p=y.substring(0,D),f=y.substring(D+1),_=cs[p];y=$?"":_?_(f):y}}else y=$?"":y;g[c]=y}};d?.onAssign(m.onAssign),o.push(m)}}),T.publisherListeners.set(t,o)}},T.observedElements=new Map,T.enabled=!0,T.publisherListeners=new Map,T);us.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=us);let tt=class Kt{static shallowEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n];if(s?l!==c:l!=c)return!1}return!0}static deepEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n],h=Kt.isObject(l)&&Kt.isObject(c),u=s?l!==c:l!=c;if(h&&!Kt.deepEqual(l,c)||!h&&u)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Kt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,i,s=!1){for(const e of i){const o=t[e];if(o===void 0)return;s&&Kt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[e]}return t}static traverseDotNotation(t,i,s=!1){return Kt.traverse(t,i.split("."),s)}static getURLSearchArray(t,i=""){let s=[];for(let e in t){const o=t[e];i&&(e=i+"["+e+"]"),Kt.isObject(o)?s=[...s,...this.getURLSearchArray(o,e)]:s.push(`${e}=${o}`)}return s}static getURLSearchString(t){return Kt.getURLSearchArray(t,"").join("&")}};const pt=tt.traverseDotNotation;/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -4212,4 +4212,4 @@ ${this.value}</textarea
4212
4212
  --altcha-color-footer-bg: var(--sc-base-100, #000);
4213
4213
  --altcha-max-width: 260px;
4214
4214
  }
4215
- `],js([a()],Ie.prototype,"key",2),js([a()],Ie.prototype,"action",2),js([a({type:Number})],Ie.prototype,"zIndex",2),Ie=js([x(kh)],Ie),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Oh(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function Dh(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Fs(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Oh,r.__onDisconnected__=Dh;const t=r.connectedCallback;r.connectedCallback=function(){t?.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(s=>s(this))};const i=r.disconnectedCallback;r.disconnectedCallback=function(){i?.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(s=>s(this))}}const zs=Symbol("__bindDynamicWatcherStore__"),Ur=Symbol("__bindDynamicWillUpdateHooked__");function Lh(r,t,i){const s=String(t);Eh(r),r[zs]||Object.defineProperty(r,zs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[zs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function Eh(r){const t=Object.getPrototypeOf(r);if(!t||t[Ur])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[zs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Ur]=!0}function Nh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=Vr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function Vr(r){return r.trim().replace(/^this\./,"")}function Th(r,t){let i=!1;const s=(n,l)=>{const c=Vr(l),h=Mh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Mh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Ih(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function jh(r,t){const i=t?.reflect??!1,s=Nh(r),e=s.length>0;return function(o,n){if(!o)return;Fs(o);const l=`__bind_state_${n}`,c=`__bind_${n}_publisher__`,h=i?`__bind_${n}_updating_from_publisher__`:null;if(i){const u=Object.getOwnPropertyDescriptor(o,n),d=`__bind_${n}_value__`,g=`__bind_${n}_updating_from_publisher__`,m=u&&!u.get&&!u.set?u.value:void 0;Object.defineProperty(o,n,{get(){return u?.get?u.get.call(this):(!Object.prototype.hasOwnProperty.call(this,d)&&m!==void 0&&(this[d]=m),this[d])},set(v){u?.set?u.set.call(this,v):this[d]=v,!this[g]&&this[c]&&this[c].set(v)},enumerable:u?.enumerable??!0,configurable:u?.configurable??!0})}o.__onConnected__(u=>{const d=u[l]||(u[l]={cleanupWatchers:[],unsubscribePublisher:null,currentPath:null});d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(v=>v()),d.cleanupWatchers=[],d.currentPath=null;const g=v=>{if(!v){d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.currentPath=null,u[c]=null;return}if(v===d.currentPath)return;d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null);const y=Ih(v);if(!y){d.currentPath=null,u[c]=null;return}const $=D=>{i&&h&&(u[h]=!0),u[n]=D,i&&h&&(u[h]=!1)};y.onAssign($),d.unsubscribePublisher=()=>{y.offAssign($),u[c]===y&&(u[c]=null)},d.currentPath=v,u[c]=y},m=()=>{if(e){const v=Th(u,r);if(!v.ready){g(null);return}g(v.path);return}g(r)};if(e)for(const v of s){const y=Lh(u,v,()=>m());d.cleanupWatchers.push(y)}m()}),o.__onDisconnected__(u=>{const d=u[l];d&&(d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(g=>g()),d.cleanupWatchers=[],d.currentPath=null,u[c]=null)})}}const Rs=Symbol("__onAssignDynamicWatcherStore__"),Br=Symbol("__onAssignDynamicWillUpdateHooked__");function Fh(r,t,i){const s=String(t);zh(r),r[Rs]||Object.defineProperty(r,Rs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[Rs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function zh(r){const t=Object.getPrototypeOf(r);if(!t||t[Br])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[Rs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Br]=!0}function Rh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=qr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function qr(r){return r.trim().replace(/^this\./,"")}function Uh(r,t){let i=!1;const s=(n,l)=>{const c=qr(l),h=Vh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Vh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Bh(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function qh(...r){const t=r.map(i=>{const s=Rh(i);return{originalPath:i,dynamicDependencies:s,isDynamic:s.length>0}});return function(i,s,e){Fs(i);const o="__onAssign_state__";let n;i.__onConnected__(l=>{const c=l[o]||(l[o]={cleanupWatchers:[],configurations:[]});c.cleanupWatchers.forEach(m=>m()),c.cleanupWatchers=[],c.configurations.forEach(m=>{m.unsubscribePublisher&&m.unsubscribePublisher()}),c.configurations=[];const h=[],u=[];for(let m=0;m<r.length;m++){const v=t[m],y=new Set,$=D=>{h[m]=D,h.filter(p=>p!=null).length===r.length&&y.forEach(p=>p(...h))};u.push({publisher:null,onAssign:$,callbacks:y,unsubscribePublisher:null,pathConfig:v,index:m})}const d=(m,v)=>{if(m.unsubscribePublisher&&(m.unsubscribePublisher(),m.unsubscribePublisher=null),h[m.index]=null,m.publisher=null,!v)return;const y=Bh(v);y&&(y.onAssign(m.onAssign),m.unsubscribePublisher=()=>{y.offAssign(m.onAssign),m.publisher===y&&(m.publisher=null)},m.publisher=y)},g=()=>{for(const m of u)if(m.pathConfig.isDynamic){const v=Uh(l,m.pathConfig.originalPath);if(!v.ready){d(m,null);continue}d(m,v.path)}else d(m,m.pathConfig.originalPath)};for(const m of u)if(m.pathConfig.isDynamic)for(const v of m.pathConfig.dynamicDependencies){const y=Fh(l,v,()=>g());c.cleanupWatchers.push(y)}n=e.value.bind(l);for(const m of u)m.callbacks.add(n);g(),c.configurations=u}),i.__onDisconnected__(l=>{const c=l[o];c&&(c.cleanupWatchers.forEach(h=>h()),c.cleanupWatchers=[],c.configurations.forEach(h=>{h.unsubscribePublisher&&h.unsubscribePublisher(),h.callbacks.delete(n)}),c.configurations=[])})}}function Hh(){return function(r,t,i){let s=0;const e=i.value,o=r.constructor.prototype.disconnectedCallback;r.constructor.prototype.disconnectedCallback=function(){o?.apply(this),this.__removeAutoSubscribe__()};const n=r.connectedCallback;r.connectedCallback=function(){n?.call(this),this[t]()},i.value=function(...l){let c=new Set;const h=()=>{s++;const d=s;window.queueMicrotask(()=>{d===s&&this[t]()})};c.forEach(d=>{d.offAssign(h)}),E.collectModifiedPublisher();const u=e.apply(this,l);return c=E.getModifiedPublishers()||new Set,c.forEach(d=>{d.onAssign(h,!1)}),this.__removeAutoSubscribe__=()=>{c.forEach(d=>{d.offAssign(h)})},u}}}function Wh(r){return function(t){Fs(t);for(const i of r){const s=i.split(".");if(s.length===0)continue;const e=s.shift()||"";let o=E.get(e);o=De.traverse(o,s),t.__onConnected__(n=>{o.startTemplateFilling(n)}),t.__onDisconnected__(()=>{})}}}function Kh(r){return function(t,i){t&&(Fs(t),t.__onConnected__(s=>{const e=H.getAncestorAttributeValue(s,r);s[i]=e}))}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:jh,onAssing:qh,ancestorAttribute:Kh,autoSubscribe:Hh,autoFill:Wh},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:rr,dataProvider:No,sub:Lo,subscribe:Do,get:Eo,set:To};const Yh=O,Zh=M;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Yh,SonicModal:Zh};const Xh=window;Xh.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))}));
4215
+ `],js([a()],Ie.prototype,"key",2),js([a()],Ie.prototype,"action",2),js([a({type:Number})],Ie.prototype,"zIndex",2),Ie=js([x(kh)],Ie),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Oh(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function Dh(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Fs(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Oh,r.__onDisconnected__=Dh;const t=r.connectedCallback;r.connectedCallback=function(){t?.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(s=>s(this))};const i=r.disconnectedCallback;r.disconnectedCallback=function(){i?.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(s=>s(this))}}const zs=Symbol("__bindDynamicWatcherStore__"),Ur=Symbol("__bindDynamicWillUpdateHooked__");function Lh(r,t,i){const s=String(t);Eh(r),r[zs]||Object.defineProperty(r,zs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[zs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function Eh(r){const t=Object.getPrototypeOf(r);if(!t||t[Ur])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[zs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Ur]=!0}function Nh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=Vr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function Vr(r){return r.trim().replace(/^this\./,"")}function Th(r,t){let i=!1;const s=(n,l)=>{const c=Vr(l),h=Mh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Mh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Ih(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function jh(r,t){const i=t?.reflect??!1,s=Nh(r),e=s.length>0;return function(o,n){if(!o)return;Fs(o);const l=`__bind_state_${n}`,c=`__bind_${n}_publisher__`,h=i?`__bind_${n}_updating_from_publisher__`:null;if(i){const u=Object.getOwnPropertyDescriptor(o,n),d=`__bind_${n}_value__`,g=`__bind_${n}_updating_from_publisher__`,m=u&&!u.get&&!u.set?u.value:void 0;Object.defineProperty(o,n,{get(){return u?.get?u.get.call(this):(!Object.prototype.hasOwnProperty.call(this,d)&&m!==void 0&&(this[d]=m),this[d])},set(v){u?.set?u.set.call(this,v):this[d]=v,!this[g]&&this[c]&&this[c].set(v)},enumerable:u?.enumerable??!0,configurable:u?.configurable??!0})}o.__onConnected__(u=>{const d=u[l]||(u[l]={cleanupWatchers:[],unsubscribePublisher:null,currentPath:null});d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(v=>v()),d.cleanupWatchers=[],d.currentPath=null;const g=v=>{if(!v){d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.currentPath=null,u[c]=null;return}if(v===d.currentPath)return;d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null);const y=Ih(v);if(!y){d.currentPath=null,u[c]=null;return}const $=D=>{i&&h&&(u[h]=!0),u[n]=D,i&&h&&(u[h]=!1)};y.onAssign($),d.unsubscribePublisher=()=>{y.offAssign($),u[c]===y&&(u[c]=null)},d.currentPath=v,u[c]=y},m=()=>{if(e){const v=Th(u,r);if(!v.ready){g(null);return}g(v.path);return}g(r)};if(e)for(const v of s){const y=Lh(u,v,()=>m());d.cleanupWatchers.push(y)}m()}),o.__onDisconnected__(u=>{const d=u[l];d&&(d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(g=>g()),d.cleanupWatchers=[],d.currentPath=null,u[c]=null)})}}const Rs=Symbol("__onAssignDynamicWatcherStore__"),Br=Symbol("__onAssignDynamicWillUpdateHooked__");function Fh(r,t,i){const s=String(t);zh(r),r[Rs]||Object.defineProperty(r,Rs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[Rs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function zh(r){const t=Object.getPrototypeOf(r);if(!t||t[Br])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[Rs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Br]=!0}function Rh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=qr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function qr(r){return r.trim().replace(/^this\./,"")}function Uh(r,t){let i=!1;const s=(n,l)=>{const c=qr(l),h=Vh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Vh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Bh(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function qh(...r){const t=r.map(i=>{const s=Rh(i);return{originalPath:i,dynamicDependencies:s,isDynamic:s.length>0}});return function(i,s,e){Fs(i);const o=`__onAssign_state_${s}__`;let n;i.__onConnected__(l=>{const c=l[o]||(l[o]={cleanupWatchers:[],configurations:[]});c.cleanupWatchers.forEach(m=>m()),c.cleanupWatchers=[],c.configurations.forEach(m=>{m.unsubscribePublisher&&m.unsubscribePublisher()}),c.configurations=[];const h=[],u=[];for(let m=0;m<r.length;m++){const v=t[m],y=new Set,$=D=>{h[m]=D,h.filter(p=>p!=null).length===r.length&&y.forEach(p=>p(...h))};u.push({publisher:null,onAssign:$,callbacks:y,unsubscribePublisher:null,pathConfig:v,index:m})}const d=(m,v)=>{if(m.unsubscribePublisher&&(m.unsubscribePublisher(),m.unsubscribePublisher=null),h[m.index]=null,m.publisher=null,!v)return;const y=Bh(v);y&&(y.onAssign(m.onAssign),m.unsubscribePublisher=()=>{y.offAssign(m.onAssign),m.publisher===y&&(m.publisher=null)},m.publisher=y)},g=()=>{for(const m of u)if(m.pathConfig.isDynamic){const v=Uh(l,m.pathConfig.originalPath);if(!v.ready){d(m,null);continue}d(m,v.path)}else d(m,m.pathConfig.originalPath)};for(const m of u)if(m.pathConfig.isDynamic)for(const v of m.pathConfig.dynamicDependencies){const y=Fh(l,v,()=>g());c.cleanupWatchers.push(y)}n=e.value.bind(l);for(const m of u)m.callbacks.add(n);g(),c.configurations=u}),i.__onDisconnected__(l=>{const c=l[o];c&&(c.cleanupWatchers.forEach(h=>h()),c.cleanupWatchers=[],c.configurations.forEach(h=>{h.unsubscribePublisher&&h.unsubscribePublisher(),h.callbacks.delete(n)}),c.configurations=[])})}}function Hh(){return function(r,t,i){let s=0;const e=i.value,o=r.constructor.prototype.disconnectedCallback;r.constructor.prototype.disconnectedCallback=function(){o?.apply(this),this.__removeAutoSubscribe__()};const n=r.connectedCallback;r.connectedCallback=function(){n?.call(this),this[t]()},i.value=function(...l){let c=new Set;const h=()=>{s++;const d=s;window.queueMicrotask(()=>{d===s&&this[t]()})};c.forEach(d=>{d.offAssign(h)}),E.collectModifiedPublisher();const u=e.apply(this,l);return c=E.getModifiedPublishers()||new Set,c.forEach(d=>{d.onAssign(h,!1)}),this.__removeAutoSubscribe__=()=>{c.forEach(d=>{d.offAssign(h)})},u}}}function Wh(r){return function(t){Fs(t);for(const i of r){const s=i.split(".");if(s.length===0)continue;const e=s.shift()||"";let o=E.get(e);o=De.traverse(o,s),t.__onConnected__(n=>{o.startTemplateFilling(n)}),t.__onDisconnected__(()=>{})}}}function Kh(r){return function(t,i){t&&(Fs(t),t.__onConnected__(s=>{const e=H.getAncestorAttributeValue(s,r);s[i]=e}))}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:jh,onAssing:qh,ancestorAttribute:Kh,autoSubscribe:Hh,autoFill:Wh},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:rr,dataProvider:No,sub:Lo,subscribe:Do,get:Eo,set:To};const Yh=O,Zh=M;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Yh,SonicModal:Zh};const Xh=window;Xh.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))}));
@@ -557,7 +557,7 @@ let N = (E = class {
557
557
  const h = await new Response(l.readable).arrayBuffer();
558
558
  return new TextDecoder().decode(h);
559
559
  }
560
- }, E.buildDate = "Mon Jan 05 2026 17:40:24 GMT+0100 (Central European Standard Time)", E.changed = !1, E.saving = !1, E.saveId = 0, E.instance = null, E.instances = /* @__PURE__ */ new Map(), E.modifiedCollectore = [], E);
560
+ }, E.buildDate = "Mon Jan 12 2026 16:42:41 GMT+0100 (Central European Standard Time)", E.changed = !1, E.saving = !1, E.saveId = 0, E.instance = null, E.instances = /* @__PURE__ */ new Map(), E.modifiedCollectore = [], E);
561
561
  if (typeof window < "u") {
562
562
  const r = window;
563
563
  r[ms + "PublisherManager"] = r[ms + "PublisherManager"] || N;
@@ -12846,7 +12846,7 @@ function ud(...r) {
12846
12846
  });
12847
12847
  return function(i, s, e) {
12848
12848
  Rs(i);
12849
- const o = "__onAssign_state__";
12849
+ const o = `__onAssign_state_${s}__`;
12850
12850
  let n;
12851
12851
  i.__onConnected__((l) => {
12852
12852
  const c = l[o] || (l[o] = {
@@ -1,4 +1,4 @@
1
- (function(H){typeof define=="function"&&define.amd?define(H):H()})((function(){"use strict";var Ot,N,T,Z;let H=class Ut{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,i)=>{const s=i.indexOf("=");return t[i.substring(0,s).trim()]=i.substring(s+1),t},{})}static everyAncestors(t,i){for(;t;){if(!i(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const i=t;if(i.nodeType===1){const s=window.getComputedStyle(i);if(s?.overflowY==="auto"||s?.overflowY==="scroll"||s?.overflowY==="hidden"||s?.overflowX==="auto"||s?.overflowX==="scroll"||s?.overflowX==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,i){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(i))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(i):null}static getApiConfiguration(t){const i=Ut.getAncestorAttributeValue(t,"token"),s=Ut.getAncestorAttributeValue(t,"addHTTPResponse")!=null,e=Ut.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const l=Ut.getAncestorAttributeValue(t,"tokenProvider"),c=Ut.getAncestorAttributeValue(t,"eventsApiToken");i||(o=Ut.getAncestorAttributeValue(t,"userName"),n=Ut.getAncestorAttributeValue(t,"password"));const h=Ut.getAncestorAttributeValue(t,"credentials")||void 0,u=t.getAttribute("cache"),d=t.hasAttribute("blockUntilDone"),g=t.hasAttribute("keepAlive");return{serviceURL:e,token:i,userName:o,password:n,authToken:c,tokenProvider:l,addHTTPResponse:s,credentials:h,cache:u,blockUntilDone:d,keepAlive:g}}static getClosestElement(t,i){for(;!(t.nodeName&&t.nodeName.toLowerCase()===i)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Ut.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async s=>{const e=document.createElement("script");e.src=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}static async loadCSS(t){return new Promise(async s=>{const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}};const Us=r=>{const t=document.documentElement,i=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="lang"&&r()}),s={attributes:!0,attributeFilter:["lang"]};i.observe(t,s)};let cs=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,i="",s="long"){i||(i=H.getLanguage());const e=(h,u)=>[Math.floor(h/u),h%u];function o(h,u,d){return new Intl.NumberFormat(h,{style:"unit",unit:u,unitDisplay:d}).format}const[n,l]=e(t,60),c=[];return n&&c.push(o(i,"hour",s)(n)),l&&c.push(o(i,"minute",s)(l)),new Intl.ListFormat(i,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Wr=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(i=>{setTimeout(i,t)})}},ji="sonic";typeof __SONIC_PREFIX__<"u"&&(ji=__SONIC_PREFIX__);let Fi=ji.replace(/-([a-z])/g,r=>r[1].toUpperCase());const hs=Fi.charAt(0).toUpperCase()+Fi.slice(1);function ds(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function je(r){return typeof r=="object"&&r!=null}let _e="sonic";typeof __SONIC_PREFIX__>"u"&&(_e="sonic");const Vs=_e=="sonic"?"publisher-proxies-data":_e+"-publisher-proxies-data";let Bs=(Ot=class{constructor(t,i,s){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=i||null,this._parentKey_=s,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){for(const t in this._proxies_.keys())t!="_parent_"&&this._proxies_.get(t)?.delete();this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Ot.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(i=>i()),this._is_savable_&&!E.changed){E.changed=!0,E.saveId++;const i=E.saveId;setTimeout(()=>E.getInstance().saveToLocalStorage(i),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const s=this.get();this._assignListeners_.forEach(e=>{e(s)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,i){this._fillListeners_.forEach(s=>{s[t]!==i&&(s[t]=i)}),this._publishTemplateFilling_(t,i)}_publishTemplateFilling_(t,i){this._templateFillListeners_.forEach(s=>{const e=Object.getOwnPropertyDescriptor(s,t);e&&!e.set&&!e.writable||(s.propertyMap&&s.propertyMap[t]&&(t=s.propertyMap[t]),typeof s[t]<"u"&&s[t]!==i&&(s[t]=i))})}onAssign(t,i=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),i&&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 i in this._value_){let s=i;const e=this._value_[i];t.propertyMap&&t.propertyMap[i]&&(s=t.propertyMap[i]),typeof t[i]<"u"&&t[i]!==e&&(t[s]=e)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const i in this._value_){const s=this._value_[i];t[i]!==s&&(t[i]=s)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,i=!1){if(this._value_===t||this._value_&&t&&ds(this._value_)&&ds(t)&&this._value_.__value===t.__value)return!0;this._value_=je(t)?t:{__value:t},this._cachedGet_=void 0;const s=ds(this._value_);if(this._parentKey_&&this.parent){const e=ds(this._value_)?this._value_.__value:this._value_;if(this.parent?.get()==null&&this.parent?.get()==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:e});else{const o=[];o[Number(this._parentKey_)]=e,this.parent.set(o)}else this.parent._value_[this._parentKey_]=e}if(s)return this._proxies_.forEach((e,o)=>{o!="_parent_"&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(i),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const e in this._value_)this._value_[e]===void 0&&delete this._value_[e];if(this._proxies_.forEach((e,o)=>{const n=this._value_[o];o!="_parent_"&&n===void 0&&n!==null&&isNaN(Number(o))&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),je(this._value_))for(const e in this._value_){const o=t[e],l=je(o)?o:{__value:o};if(!this._proxies_.has(e)){this._publishDynamicFilling_(e,o);continue}this._proxies_.get(e)?.set(l,!0),this._publishDynamicFilling_(e,o)}return!0}get(){if(E.modifiedCollectore.length>0&&E.modifiedCollectore[0].add(this),this._cachedGet_!==void 0)return this._cachedGet_;if(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_||(Ot.instancesCounter++,this._instanceCounter_=Ot.instancesCounter),Ot.instances.set(this._instanceCounter_,this),"<"+_e+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+_e+"-publisher-proxy>"}},Ot.instances=new Map,Ot.instancesCounter=0,Ot),E=(N=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],N.instance!=null)throw"Singleton / use getInstance";N.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 s=localStorage.getItem(Vs),e=null;if(s&&(e=await this.decompress(s,"gzip")),e)try{this.localStorageData=JSON.parse(e)}catch{this.localStorageData={}}else s=await this.compress("{}","gzip"),localStorage.setItem(Vs,s),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const l=this.localStorageData[n],c=new Date().getTime()-(l.expirationDelayMs||o);l.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 i=N.instances.get(t);return i||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new N)}return N.instance==null?new N:N.instance}static registerInstance(t,i){N.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),N.instances.set(t,i)}static get(t,i){return N.getInstance().get(t,i)}static collectModifiedPublisher(){N.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return N.modifiedCollectore.shift()}static delete(t){return t?N.getInstance().delete(t):!1}async setLocalData(t,i){await this.isLocalStrorageReady,t.set(this.localStorageData[i+"¤lang_"+H.getLanguage()]?.data||t.get())}get(t,i){const s=i?.localStorageMode==="enabled",e=i?.invalidateOnPageShow===!0;if(!this.publishers.has(t)){const n={},l=new Fe(n);this.set(t,l)}const o=this.publishers.get(t);return s&&this.initialisedData.indexOf(t)===-1&&(i?.expirationDelayMs&&(o._expiration_delay_=i.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,i){this.publishers.set(t,i)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==N.saveId&&t%10!=0))try{if(!N.changed||N.saving)return;N.saving=!0,N.changed=!1;const i=Array.from(this.publishers.keys());let s=!1;for(const e of i){const o=this.publishers.get(e);if(!o?._is_savable_)continue;const n=o?.get();n&&(this.localStorageData[e+"¤lang_"+H.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},s=!0)}if(s){const e=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(Vs,e)}if(N.saving=!1,N.changed){N.saveId++;const e=N.saveId;setTimeout(()=>this.saveToLocalStorage(e),1e3)}}catch{N.saving=!1}}async compress(t,i){const s=new TextEncoder().encode(t),e=window,o=new e.CompressionStream(i),n=o.writable.getWriter();n.write(s),n.close();const l=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(l);let h="";for(let u=0;u<c.length;u++)h+=String.fromCharCode(c[u]);return btoa(h)}async decompress(t,i){const s=atob(t),o=Uint8Array.from(s,u=>u.charCodeAt(0)).buffer,n=window,l=new n.DecompressionStream(i),c=l.writable.getWriter();c.write(o),c.close();const h=await new Response(l.readable).arrayBuffer();return new TextDecoder().decode(h)}},N.buildDate="Mon Jan 05 2026 17:40:24 GMT+0100 (Central European Standard Time)",N.changed=!1,N.saving=!1,N.saveId=0,N.instance=null,N.instances=new Map,N.modifiedCollectore=[],N);if(typeof window<"u"){const r=window;r[hs+"PublisherManager"]=r[hs+"PublisherManager"]||E}const Kr=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 Fe extends Bs{constructor(t,i=null,s){super(t,i,s);const e=new Proxy(this,{get:function(o,n){if(Kr.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>e.get();if(!o._proxies_.has(n)){const l=o._value_[n],c=new Fe(je(l)?l:{__value:l},o,n);c._proxies_.set("_parent_",e),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,l){if(n=="_value_")return o._value_=l,!0;if(n=="_cachedGet_")return o._cachedGet_=l,!0;if(n=="_assignmentId_")return o._assignmentId_=l,!0;if(n=="_is_savable_")return o._is_savable_=l,!0;if(n=="_expiration_delay_")return o._expiration_delay_=l,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=l,!0;if(n=="_instanceCounter_")return o._instanceCounter_=l,!0;if(!o._proxies_.has(n)){const h=new Fe({},o,n);h._proxies_.set("_parent_",e),o._proxies_.set(n,h)}return o._value_[n]!==l&&(o._value_[n]=l,o._publishDynamicFilling_(n,l),o._proxies_.get(n)?.set(je(l)?l:{__value:l})),!0},deleteProperty:function(o,n){return o._publishDynamicFilling_(n,null),o._proxies_.get(n)?.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,l){return l&&"value"in l&&(o._value_[n]=l.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,i){return t[i]}}class Yr extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){this.publisherId=this.getAttribute("publisher")||"",this.publisher=Bs.instances.get(parseInt(this.publisherId)),this.publisher?.onAssign(this.onAssign)}disconnectedCallback(){this.publisher?.offAssign(this.onAssign)}}try{customElements.define(_e+"-publisher-proxy",Yr)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&E.getInstance().invalidateAll()});let us=(T=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(T.observedElements.keys()).forEach(t=>T.unObserve(t)))}static observe(t){if(!t||!T.enabled||T.observedElements.has(t))return;const i=new MutationObserver(T.onMutation),s={};s.childList=!0,s.subtree=!0,s.attributes=!0,s.attributeFilter=["data-bind"],i.observe(t,s),t.querySelectorAll("[data-bind]").forEach(e=>T.addPublisherListeners(e)),T.observedElements.set(t,i)}static unObserve(t){if(!t)return;const i=this.observedElements.get(t);i&&(i.disconnect(),t.querySelectorAll("[data-bind]").forEach(s=>T.removePublisherListeners(s)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.addPublisherListeners(i)):t.childNodes.forEach(i=>T.onAdded(i))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.removePublisherListeners(i)):t.childNodes.forEach(i=>T.onRemoved(i))}static onMutation(t){for(const i of t)switch(i.type){case"attributes":T.addPublisherListeners(i.target);break;case"childList":i.addedNodes.forEach(s=>{T.onAdded(s)}),i.removedNodes.forEach(s=>{T.onRemoved(s)});break}}static removePublisherListeners(t){const i=T.publisherListeners.get(t);i&&(T.publisherListeners.delete(t),i.forEach(s=>{s.publisher?.offAssign(s.onAssign)}))}static getVariablesDescriptor(t){let i=t.match(/(\$(?:\w+\\?\.?)+)/g);return i?i=i.map(s=>s.replace("$","")):i=[t],i=i.filter(s=>s.length>0),{expression:t.replace("\\",""),variables:i.map(s=>s.split(/\b\.\b/).map(e=>e.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(i=>i.name.indexOf("::")==0).map(i=>({propertyToUpdate:i.name.substring(2).replace(/-((html)|\w)/g,e=>e.substring(1).toUpperCase()),bindedVariablesDescriptor:T.getVariablesDescriptor(i.value)})):[]}static getSubPublisher(t,i){if(!i)return t;for(const s of i)if(s!="_self_"){if(!t)return null;t=t[s]}return t}static addPublisherListeners(t){T.removePublisherListeners(t);const i=H.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!i)return;const s=E.getInstance().get(i),e=T.getDataBindItems(t),o=[];e.forEach(n=>{const l=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of l.variables){const u=h;let d=s;d=T.getSubPublisher(s,u);const g=t,m={publisher:d,onAssign:()=>{const v=l.variables.map(D=>T.getSubPublisher(s,D)?.get());let y=l.expression,$=!1;if(v.length==1&&l.variables[0].join(".")==y.substring(1)){let D=v[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<v.length;D++){let p=v[D];const f=l.variables[D];p===null&&($=!0,p=void 0),y=y.replace("$"+f.join("."),p)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=cs.js(y.substring(1));else{const p=y.substring(0,D),f=y.substring(D+1),_=cs[p];y=$?"":_?_(f):y}}else y=$?"":y;g[c]=y}};d?.onAssign(m.onAssign),o.push(m)}}),T.publisherListeners.set(t,o)}},T.observedElements=new Map,T.enabled=!0,T.publisherListeners=new Map,T);us.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=us);let tt=class Kt{static shallowEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n];if(s?l!==c:l!=c)return!1}return!0}static deepEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n],h=Kt.isObject(l)&&Kt.isObject(c),u=s?l!==c:l!=c;if(h&&!Kt.deepEqual(l,c)||!h&&u)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Kt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,i,s=!1){for(const e of i){const o=t[e];if(o===void 0)return;s&&Kt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[e]}return t}static traverseDotNotation(t,i,s=!1){return Kt.traverse(t,i.split("."),s)}static getURLSearchArray(t,i=""){let s=[];for(let e in t){const o=t[e];i&&(e=i+"["+e+"]"),Kt.isObject(o)?s=[...s,...this.getURLSearchArray(o,e)]:s.push(`${e}=${o}`)}return s}static getURLSearchString(t){return Kt.getURLSearchArray(t,"").join("&")}};const pt=tt.traverseDotNotation;/**
1
+ (function(H){typeof define=="function"&&define.amd?define(H):H()})((function(){"use strict";var Ot,N,T,Z;let H=class Ut{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,i)=>{const s=i.indexOf("=");return t[i.substring(0,s).trim()]=i.substring(s+1),t},{})}static everyAncestors(t,i){for(;t;){if(!i(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const i=t;if(i.nodeType===1){const s=window.getComputedStyle(i);if(s?.overflowY==="auto"||s?.overflowY==="scroll"||s?.overflowY==="hidden"||s?.overflowX==="auto"||s?.overflowX==="scroll"||s?.overflowX==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,i){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(i))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(i):null}static getApiConfiguration(t){const i=Ut.getAncestorAttributeValue(t,"token"),s=Ut.getAncestorAttributeValue(t,"addHTTPResponse")!=null,e=Ut.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const l=Ut.getAncestorAttributeValue(t,"tokenProvider"),c=Ut.getAncestorAttributeValue(t,"eventsApiToken");i||(o=Ut.getAncestorAttributeValue(t,"userName"),n=Ut.getAncestorAttributeValue(t,"password"));const h=Ut.getAncestorAttributeValue(t,"credentials")||void 0,u=t.getAttribute("cache"),d=t.hasAttribute("blockUntilDone"),g=t.hasAttribute("keepAlive");return{serviceURL:e,token:i,userName:o,password:n,authToken:c,tokenProvider:l,addHTTPResponse:s,credentials:h,cache:u,blockUntilDone:d,keepAlive:g}}static getClosestElement(t,i){for(;!(t.nodeName&&t.nodeName.toLowerCase()===i)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Ut.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async s=>{const e=document.createElement("script");e.src=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}static async loadCSS(t){return new Promise(async s=>{const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,e.onload=()=>s(!0),e.onerror=()=>s(!0),document.head.appendChild(e)})}};const Us=r=>{const t=document.documentElement,i=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="lang"&&r()}),s={attributes:!0,attributeFilter:["lang"]};i.observe(t,s)};let cs=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,i="",s="long"){i||(i=H.getLanguage());const e=(h,u)=>[Math.floor(h/u),h%u];function o(h,u,d){return new Intl.NumberFormat(h,{style:"unit",unit:u,unitDisplay:d}).format}const[n,l]=e(t,60),c=[];return n&&c.push(o(i,"hour",s)(n)),l&&c.push(o(i,"minute",s)(l)),new Intl.ListFormat(i,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Wr=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(i=>{setTimeout(i,t)})}},ji="sonic";typeof __SONIC_PREFIX__<"u"&&(ji=__SONIC_PREFIX__);let Fi=ji.replace(/-([a-z])/g,r=>r[1].toUpperCase());const hs=Fi.charAt(0).toUpperCase()+Fi.slice(1);function ds(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function je(r){return typeof r=="object"&&r!=null}let _e="sonic";typeof __SONIC_PREFIX__>"u"&&(_e="sonic");const Vs=_e=="sonic"?"publisher-proxies-data":_e+"-publisher-proxies-data";let Bs=(Ot=class{constructor(t,i,s){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=i||null,this._parentKey_=s,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){for(const t in this._proxies_.keys())t!="_parent_"&&this._proxies_.get(t)?.delete();this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Ot.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(i=>i()),this._is_savable_&&!E.changed){E.changed=!0,E.saveId++;const i=E.saveId;setTimeout(()=>E.getInstance().saveToLocalStorage(i),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const s=this.get();this._assignListeners_.forEach(e=>{e(s)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,i){this._fillListeners_.forEach(s=>{s[t]!==i&&(s[t]=i)}),this._publishTemplateFilling_(t,i)}_publishTemplateFilling_(t,i){this._templateFillListeners_.forEach(s=>{const e=Object.getOwnPropertyDescriptor(s,t);e&&!e.set&&!e.writable||(s.propertyMap&&s.propertyMap[t]&&(t=s.propertyMap[t]),typeof s[t]<"u"&&s[t]!==i&&(s[t]=i))})}onAssign(t,i=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),i&&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 i in this._value_){let s=i;const e=this._value_[i];t.propertyMap&&t.propertyMap[i]&&(s=t.propertyMap[i]),typeof t[i]<"u"&&t[i]!==e&&(t[s]=e)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const i in this._value_){const s=this._value_[i];t[i]!==s&&(t[i]=s)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,i=!1){if(this._value_===t||this._value_&&t&&ds(this._value_)&&ds(t)&&this._value_.__value===t.__value)return!0;this._value_=je(t)?t:{__value:t},this._cachedGet_=void 0;const s=ds(this._value_);if(this._parentKey_&&this.parent){const e=ds(this._value_)?this._value_.__value:this._value_;if(this.parent?.get()==null&&this.parent?.get()==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:e});else{const o=[];o[Number(this._parentKey_)]=e,this.parent.set(o)}else this.parent._value_[this._parentKey_]=e}if(s)return this._proxies_.forEach((e,o)=>{o!="_parent_"&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(i),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const e in this._value_)this._value_[e]===void 0&&delete this._value_[e];if(this._proxies_.forEach((e,o)=>{const n=this._value_[o];o!="_parent_"&&n===void 0&&n!==null&&isNaN(Number(o))&&(e.set(null),this._publishDynamicFilling_(o,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),je(this._value_))for(const e in this._value_){const o=t[e],l=je(o)?o:{__value:o};if(!this._proxies_.has(e)){this._publishDynamicFilling_(e,o);continue}this._proxies_.get(e)?.set(l,!0),this._publishDynamicFilling_(e,o)}return!0}get(){if(E.modifiedCollectore.length>0&&E.modifiedCollectore[0].add(this),this._cachedGet_!==void 0)return this._cachedGet_;if(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_||(Ot.instancesCounter++,this._instanceCounter_=Ot.instancesCounter),Ot.instances.set(this._instanceCounter_,this),"<"+_e+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+_e+"-publisher-proxy>"}},Ot.instances=new Map,Ot.instancesCounter=0,Ot),E=(N=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],N.instance!=null)throw"Singleton / use getInstance";N.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 s=localStorage.getItem(Vs),e=null;if(s&&(e=await this.decompress(s,"gzip")),e)try{this.localStorageData=JSON.parse(e)}catch{this.localStorageData={}}else s=await this.compress("{}","gzip"),localStorage.setItem(Vs,s),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const l=this.localStorageData[n],c=new Date().getTime()-(l.expirationDelayMs||o);l.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 i=N.instances.get(t);return i||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new N)}return N.instance==null?new N:N.instance}static registerInstance(t,i){N.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),N.instances.set(t,i)}static get(t,i){return N.getInstance().get(t,i)}static collectModifiedPublisher(){N.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return N.modifiedCollectore.shift()}static delete(t){return t?N.getInstance().delete(t):!1}async setLocalData(t,i){await this.isLocalStrorageReady,t.set(this.localStorageData[i+"¤lang_"+H.getLanguage()]?.data||t.get())}get(t,i){const s=i?.localStorageMode==="enabled",e=i?.invalidateOnPageShow===!0;if(!this.publishers.has(t)){const n={},l=new Fe(n);this.set(t,l)}const o=this.publishers.get(t);return s&&this.initialisedData.indexOf(t)===-1&&(i?.expirationDelayMs&&(o._expiration_delay_=i.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,i){this.publishers.set(t,i)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==N.saveId&&t%10!=0))try{if(!N.changed||N.saving)return;N.saving=!0,N.changed=!1;const i=Array.from(this.publishers.keys());let s=!1;for(const e of i){const o=this.publishers.get(e);if(!o?._is_savable_)continue;const n=o?.get();n&&(this.localStorageData[e+"¤lang_"+H.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},s=!0)}if(s){const e=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(Vs,e)}if(N.saving=!1,N.changed){N.saveId++;const e=N.saveId;setTimeout(()=>this.saveToLocalStorage(e),1e3)}}catch{N.saving=!1}}async compress(t,i){const s=new TextEncoder().encode(t),e=window,o=new e.CompressionStream(i),n=o.writable.getWriter();n.write(s),n.close();const l=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(l);let h="";for(let u=0;u<c.length;u++)h+=String.fromCharCode(c[u]);return btoa(h)}async decompress(t,i){const s=atob(t),o=Uint8Array.from(s,u=>u.charCodeAt(0)).buffer,n=window,l=new n.DecompressionStream(i),c=l.writable.getWriter();c.write(o),c.close();const h=await new Response(l.readable).arrayBuffer();return new TextDecoder().decode(h)}},N.buildDate="Mon Jan 12 2026 16:42:41 GMT+0100 (Central European Standard Time)",N.changed=!1,N.saving=!1,N.saveId=0,N.instance=null,N.instances=new Map,N.modifiedCollectore=[],N);if(typeof window<"u"){const r=window;r[hs+"PublisherManager"]=r[hs+"PublisherManager"]||E}const Kr=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 Fe extends Bs{constructor(t,i=null,s){super(t,i,s);const e=new Proxy(this,{get:function(o,n){if(Kr.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>e.get();if(!o._proxies_.has(n)){const l=o._value_[n],c=new Fe(je(l)?l:{__value:l},o,n);c._proxies_.set("_parent_",e),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,l){if(n=="_value_")return o._value_=l,!0;if(n=="_cachedGet_")return o._cachedGet_=l,!0;if(n=="_assignmentId_")return o._assignmentId_=l,!0;if(n=="_is_savable_")return o._is_savable_=l,!0;if(n=="_expiration_delay_")return o._expiration_delay_=l,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=l,!0;if(n=="_instanceCounter_")return o._instanceCounter_=l,!0;if(!o._proxies_.has(n)){const h=new Fe({},o,n);h._proxies_.set("_parent_",e),o._proxies_.set(n,h)}return o._value_[n]!==l&&(o._value_[n]=l,o._publishDynamicFilling_(n,l),o._proxies_.get(n)?.set(je(l)?l:{__value:l})),!0},deleteProperty:function(o,n){return o._publishDynamicFilling_(n,null),o._proxies_.get(n)?.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,l){return l&&"value"in l&&(o._value_[n]=l.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,i){return t[i]}}class Yr extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){this.publisherId=this.getAttribute("publisher")||"",this.publisher=Bs.instances.get(parseInt(this.publisherId)),this.publisher?.onAssign(this.onAssign)}disconnectedCallback(){this.publisher?.offAssign(this.onAssign)}}try{customElements.define(_e+"-publisher-proxy",Yr)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&E.getInstance().invalidateAll()});let us=(T=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(T.observedElements.keys()).forEach(t=>T.unObserve(t)))}static observe(t){if(!t||!T.enabled||T.observedElements.has(t))return;const i=new MutationObserver(T.onMutation),s={};s.childList=!0,s.subtree=!0,s.attributes=!0,s.attributeFilter=["data-bind"],i.observe(t,s),t.querySelectorAll("[data-bind]").forEach(e=>T.addPublisherListeners(e)),T.observedElements.set(t,i)}static unObserve(t){if(!t)return;const i=this.observedElements.get(t);i&&(i.disconnect(),t.querySelectorAll("[data-bind]").forEach(s=>T.removePublisherListeners(s)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.addPublisherListeners(i)):t.childNodes.forEach(i=>T.onAdded(i))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&T.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(i=>T.removePublisherListeners(i)):t.childNodes.forEach(i=>T.onRemoved(i))}static onMutation(t){for(const i of t)switch(i.type){case"attributes":T.addPublisherListeners(i.target);break;case"childList":i.addedNodes.forEach(s=>{T.onAdded(s)}),i.removedNodes.forEach(s=>{T.onRemoved(s)});break}}static removePublisherListeners(t){const i=T.publisherListeners.get(t);i&&(T.publisherListeners.delete(t),i.forEach(s=>{s.publisher?.offAssign(s.onAssign)}))}static getVariablesDescriptor(t){let i=t.match(/(\$(?:\w+\\?\.?)+)/g);return i?i=i.map(s=>s.replace("$","")):i=[t],i=i.filter(s=>s.length>0),{expression:t.replace("\\",""),variables:i.map(s=>s.split(/\b\.\b/).map(e=>e.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(i=>i.name.indexOf("::")==0).map(i=>({propertyToUpdate:i.name.substring(2).replace(/-((html)|\w)/g,e=>e.substring(1).toUpperCase()),bindedVariablesDescriptor:T.getVariablesDescriptor(i.value)})):[]}static getSubPublisher(t,i){if(!i)return t;for(const s of i)if(s!="_self_"){if(!t)return null;t=t[s]}return t}static addPublisherListeners(t){T.removePublisherListeners(t);const i=H.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!i)return;const s=E.getInstance().get(i),e=T.getDataBindItems(t),o=[];e.forEach(n=>{const l=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of l.variables){const u=h;let d=s;d=T.getSubPublisher(s,u);const g=t,m={publisher:d,onAssign:()=>{const v=l.variables.map(D=>T.getSubPublisher(s,D)?.get());let y=l.expression,$=!1;if(v.length==1&&l.variables[0].join(".")==y.substring(1)){let D=v[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<v.length;D++){let p=v[D];const f=l.variables[D];p===null&&($=!0,p=void 0),y=y.replace("$"+f.join("."),p)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=cs.js(y.substring(1));else{const p=y.substring(0,D),f=y.substring(D+1),_=cs[p];y=$?"":_?_(f):y}}else y=$?"":y;g[c]=y}};d?.onAssign(m.onAssign),o.push(m)}}),T.publisherListeners.set(t,o)}},T.observedElements=new Map,T.enabled=!0,T.publisherListeners=new Map,T);us.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=us);let tt=class Kt{static shallowEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n];if(s?l!==c:l!=c)return!1}return!0}static deepEqual(t,i,s=!0){const e=Object.keys(t),o=Object.keys(i);if(e.length!==o.length&&s)return!1;for(const n of e){const l=t[n],c=i[n],h=Kt.isObject(l)&&Kt.isObject(c),u=s?l!==c:l!=c;if(h&&!Kt.deepEqual(l,c)||!h&&u)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Kt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,i,s=!1){for(const e of i){const o=t[e];if(o===void 0)return;s&&Kt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[e]}return t}static traverseDotNotation(t,i,s=!1){return Kt.traverse(t,i.split("."),s)}static getURLSearchArray(t,i=""){let s=[];for(let e in t){const o=t[e];i&&(e=i+"["+e+"]"),Kt.isObject(o)?s=[...s,...this.getURLSearchArray(o,e)]:s.push(`${e}=${o}`)}return s}static getURLSearchString(t){return Kt.getURLSearchArray(t,"").join("&")}};const pt=tt.traverseDotNotation;/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -4212,4 +4212,4 @@ ${this.value}</textarea
4212
4212
  --altcha-color-footer-bg: var(--sc-base-100, #000);
4213
4213
  --altcha-max-width: 260px;
4214
4214
  }
4215
- `],js([a()],Ie.prototype,"key",2),js([a()],Ie.prototype,"action",2),js([a({type:Number})],Ie.prototype,"zIndex",2),Ie=js([x(kh)],Ie),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Oh(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function Dh(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Fs(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Oh,r.__onDisconnected__=Dh;const t=r.connectedCallback;r.connectedCallback=function(){t?.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(s=>s(this))};const i=r.disconnectedCallback;r.disconnectedCallback=function(){i?.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(s=>s(this))}}const zs=Symbol("__bindDynamicWatcherStore__"),Ur=Symbol("__bindDynamicWillUpdateHooked__");function Lh(r,t,i){const s=String(t);Eh(r),r[zs]||Object.defineProperty(r,zs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[zs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function Eh(r){const t=Object.getPrototypeOf(r);if(!t||t[Ur])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[zs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Ur]=!0}function Nh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=Vr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function Vr(r){return r.trim().replace(/^this\./,"")}function Th(r,t){let i=!1;const s=(n,l)=>{const c=Vr(l),h=Mh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Mh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Ih(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function jh(r,t){const i=t?.reflect??!1,s=Nh(r),e=s.length>0;return function(o,n){if(!o)return;Fs(o);const l=`__bind_state_${n}`,c=`__bind_${n}_publisher__`,h=i?`__bind_${n}_updating_from_publisher__`:null;if(i){const u=Object.getOwnPropertyDescriptor(o,n),d=`__bind_${n}_value__`,g=`__bind_${n}_updating_from_publisher__`,m=u&&!u.get&&!u.set?u.value:void 0;Object.defineProperty(o,n,{get(){return u?.get?u.get.call(this):(!Object.prototype.hasOwnProperty.call(this,d)&&m!==void 0&&(this[d]=m),this[d])},set(v){u?.set?u.set.call(this,v):this[d]=v,!this[g]&&this[c]&&this[c].set(v)},enumerable:u?.enumerable??!0,configurable:u?.configurable??!0})}o.__onConnected__(u=>{const d=u[l]||(u[l]={cleanupWatchers:[],unsubscribePublisher:null,currentPath:null});d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(v=>v()),d.cleanupWatchers=[],d.currentPath=null;const g=v=>{if(!v){d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.currentPath=null,u[c]=null;return}if(v===d.currentPath)return;d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null);const y=Ih(v);if(!y){d.currentPath=null,u[c]=null;return}const $=D=>{i&&h&&(u[h]=!0),u[n]=D,i&&h&&(u[h]=!1)};y.onAssign($),d.unsubscribePublisher=()=>{y.offAssign($),u[c]===y&&(u[c]=null)},d.currentPath=v,u[c]=y},m=()=>{if(e){const v=Th(u,r);if(!v.ready){g(null);return}g(v.path);return}g(r)};if(e)for(const v of s){const y=Lh(u,v,()=>m());d.cleanupWatchers.push(y)}m()}),o.__onDisconnected__(u=>{const d=u[l];d&&(d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(g=>g()),d.cleanupWatchers=[],d.currentPath=null,u[c]=null)})}}const Rs=Symbol("__onAssignDynamicWatcherStore__"),Br=Symbol("__onAssignDynamicWillUpdateHooked__");function Fh(r,t,i){const s=String(t);zh(r),r[Rs]||Object.defineProperty(r,Rs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[Rs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function zh(r){const t=Object.getPrototypeOf(r);if(!t||t[Br])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[Rs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Br]=!0}function Rh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=qr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function qr(r){return r.trim().replace(/^this\./,"")}function Uh(r,t){let i=!1;const s=(n,l)=>{const c=qr(l),h=Vh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Vh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Bh(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function qh(...r){const t=r.map(i=>{const s=Rh(i);return{originalPath:i,dynamicDependencies:s,isDynamic:s.length>0}});return function(i,s,e){Fs(i);const o="__onAssign_state__";let n;i.__onConnected__(l=>{const c=l[o]||(l[o]={cleanupWatchers:[],configurations:[]});c.cleanupWatchers.forEach(m=>m()),c.cleanupWatchers=[],c.configurations.forEach(m=>{m.unsubscribePublisher&&m.unsubscribePublisher()}),c.configurations=[];const h=[],u=[];for(let m=0;m<r.length;m++){const v=t[m],y=new Set,$=D=>{h[m]=D,h.filter(p=>p!=null).length===r.length&&y.forEach(p=>p(...h))};u.push({publisher:null,onAssign:$,callbacks:y,unsubscribePublisher:null,pathConfig:v,index:m})}const d=(m,v)=>{if(m.unsubscribePublisher&&(m.unsubscribePublisher(),m.unsubscribePublisher=null),h[m.index]=null,m.publisher=null,!v)return;const y=Bh(v);y&&(y.onAssign(m.onAssign),m.unsubscribePublisher=()=>{y.offAssign(m.onAssign),m.publisher===y&&(m.publisher=null)},m.publisher=y)},g=()=>{for(const m of u)if(m.pathConfig.isDynamic){const v=Uh(l,m.pathConfig.originalPath);if(!v.ready){d(m,null);continue}d(m,v.path)}else d(m,m.pathConfig.originalPath)};for(const m of u)if(m.pathConfig.isDynamic)for(const v of m.pathConfig.dynamicDependencies){const y=Fh(l,v,()=>g());c.cleanupWatchers.push(y)}n=e.value.bind(l);for(const m of u)m.callbacks.add(n);g(),c.configurations=u}),i.__onDisconnected__(l=>{const c=l[o];c&&(c.cleanupWatchers.forEach(h=>h()),c.cleanupWatchers=[],c.configurations.forEach(h=>{h.unsubscribePublisher&&h.unsubscribePublisher(),h.callbacks.delete(n)}),c.configurations=[])})}}function Hh(){return function(r,t,i){let s=0;const e=i.value,o=r.constructor.prototype.disconnectedCallback;r.constructor.prototype.disconnectedCallback=function(){o?.apply(this),this.__removeAutoSubscribe__()};const n=r.connectedCallback;r.connectedCallback=function(){n?.call(this),this[t]()},i.value=function(...l){let c=new Set;const h=()=>{s++;const d=s;window.queueMicrotask(()=>{d===s&&this[t]()})};c.forEach(d=>{d.offAssign(h)}),E.collectModifiedPublisher();const u=e.apply(this,l);return c=E.getModifiedPublishers()||new Set,c.forEach(d=>{d.onAssign(h,!1)}),this.__removeAutoSubscribe__=()=>{c.forEach(d=>{d.offAssign(h)})},u}}}function Wh(r){return function(t){Fs(t);for(const i of r){const s=i.split(".");if(s.length===0)continue;const e=s.shift()||"";let o=E.get(e);o=De.traverse(o,s),t.__onConnected__(n=>{o.startTemplateFilling(n)}),t.__onDisconnected__(()=>{})}}}function Kh(r){return function(t,i){t&&(Fs(t),t.__onConnected__(s=>{const e=H.getAncestorAttributeValue(s,r);s[i]=e}))}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:jh,onAssing:qh,ancestorAttribute:Kh,autoSubscribe:Hh,autoFill:Wh},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:rr,dataProvider:No,sub:Lo,subscribe:Do,get:Eo,set:To};const Yh=O,Zh=M;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Yh,SonicModal:Zh};const Xh=window;Xh.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))}));
4215
+ `],js([a()],Ie.prototype,"key",2),js([a()],Ie.prototype,"action",2),js([a({type:Number})],Ie.prototype,"zIndex",2),Ie=js([x(kh)],Ie),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Oh(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function Dh(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Fs(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Oh,r.__onDisconnected__=Dh;const t=r.connectedCallback;r.connectedCallback=function(){t?.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(s=>s(this))};const i=r.disconnectedCallback;r.disconnectedCallback=function(){i?.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(s=>s(this))}}const zs=Symbol("__bindDynamicWatcherStore__"),Ur=Symbol("__bindDynamicWillUpdateHooked__");function Lh(r,t,i){const s=String(t);Eh(r),r[zs]||Object.defineProperty(r,zs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[zs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function Eh(r){const t=Object.getPrototypeOf(r);if(!t||t[Ur])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[zs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Ur]=!0}function Nh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=Vr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function Vr(r){return r.trim().replace(/^this\./,"")}function Th(r,t){let i=!1;const s=(n,l)=>{const c=Vr(l),h=Mh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Mh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Ih(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function jh(r,t){const i=t?.reflect??!1,s=Nh(r),e=s.length>0;return function(o,n){if(!o)return;Fs(o);const l=`__bind_state_${n}`,c=`__bind_${n}_publisher__`,h=i?`__bind_${n}_updating_from_publisher__`:null;if(i){const u=Object.getOwnPropertyDescriptor(o,n),d=`__bind_${n}_value__`,g=`__bind_${n}_updating_from_publisher__`,m=u&&!u.get&&!u.set?u.value:void 0;Object.defineProperty(o,n,{get(){return u?.get?u.get.call(this):(!Object.prototype.hasOwnProperty.call(this,d)&&m!==void 0&&(this[d]=m),this[d])},set(v){u?.set?u.set.call(this,v):this[d]=v,!this[g]&&this[c]&&this[c].set(v)},enumerable:u?.enumerable??!0,configurable:u?.configurable??!0})}o.__onConnected__(u=>{const d=u[l]||(u[l]={cleanupWatchers:[],unsubscribePublisher:null,currentPath:null});d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(v=>v()),d.cleanupWatchers=[],d.currentPath=null;const g=v=>{if(!v){d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.currentPath=null,u[c]=null;return}if(v===d.currentPath)return;d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null);const y=Ih(v);if(!y){d.currentPath=null,u[c]=null;return}const $=D=>{i&&h&&(u[h]=!0),u[n]=D,i&&h&&(u[h]=!1)};y.onAssign($),d.unsubscribePublisher=()=>{y.offAssign($),u[c]===y&&(u[c]=null)},d.currentPath=v,u[c]=y},m=()=>{if(e){const v=Th(u,r);if(!v.ready){g(null);return}g(v.path);return}g(r)};if(e)for(const v of s){const y=Lh(u,v,()=>m());d.cleanupWatchers.push(y)}m()}),o.__onDisconnected__(u=>{const d=u[l];d&&(d.unsubscribePublisher&&(d.unsubscribePublisher(),d.unsubscribePublisher=null),d.cleanupWatchers.forEach(g=>g()),d.cleanupWatchers=[],d.currentPath=null,u[c]=null)})}}const Rs=Symbol("__onAssignDynamicWatcherStore__"),Br=Symbol("__onAssignDynamicWillUpdateHooked__");function Fh(r,t,i){const s=String(t);zh(r),r[Rs]||Object.defineProperty(r,Rs,{value:new Map,enumerable:!1,configurable:!1,writable:!1});const e=r[Rs];e.has(s)||e.set(s,new Set);const o=e.get(s);return o.add(i),()=>{o.delete(i),o.size===0&&e.delete(s)}}function zh(r){const t=Object.getPrototypeOf(r);if(!t||t[Br])return;const i=Object.prototype.hasOwnProperty.call(t,"willUpdate")?t.willUpdate:Object.getPrototypeOf(t)?.willUpdate;t.willUpdate=function(s){const e=this[Rs];e&&e.size>0&&(s&&s.size>0?s.forEach((o,n)=>{const l=e.get(String(n));l&&l.forEach(c=>c())}):e.forEach(o=>o.forEach(n=>n()))),i?.call(this,s)},t[Br]=!0}function Rh(r){const t=[/\$\{([^}]+)\}/g,/\{\$([^}]+)\}/g],i=new Set;for(const s of t){let e;for(;(e=s.exec(r))!==null;){const o=qr(e[1]);if(!o)continue;const[n]=o.split(".");n&&i.add(n)}}return Array.from(i)}function qr(r){return r.trim().replace(/^this\./,"")}function Uh(r,t){let i=!1;const s=(n,l)=>{const c=qr(l),h=Vh(r,c);return h==null?(i=!0,""):`${h}`},e=t.replace(/\$\{([^}]+)\}/g,s).replace(/\{\$([^}]+)\}/g,s).trim();if(i||!e.length)return{ready:!1,path:null};const o=e.split(".").filter(Boolean);return o.length===0||!o[0]?{ready:!1,path:null}:{ready:!0,path:e}}function Vh(r,t){if(!t)return;const i=t.split(".").filter(Boolean);if(i.length===0)return;let s=r;for(const e of i){if(s==null||typeof s!="object")return;s=s[e]}return s}function Bh(r){const t=r.split(".").filter(e=>e.length>0);if(t.length===0)return null;const i=t.shift()||"";if(!i)return null;let s=E.get(i);return s?(s=De.traverse(s,t),s):null}function qh(...r){const t=r.map(i=>{const s=Rh(i);return{originalPath:i,dynamicDependencies:s,isDynamic:s.length>0}});return function(i,s,e){Fs(i);const o=`__onAssign_state_${s}__`;let n;i.__onConnected__(l=>{const c=l[o]||(l[o]={cleanupWatchers:[],configurations:[]});c.cleanupWatchers.forEach(m=>m()),c.cleanupWatchers=[],c.configurations.forEach(m=>{m.unsubscribePublisher&&m.unsubscribePublisher()}),c.configurations=[];const h=[],u=[];for(let m=0;m<r.length;m++){const v=t[m],y=new Set,$=D=>{h[m]=D,h.filter(p=>p!=null).length===r.length&&y.forEach(p=>p(...h))};u.push({publisher:null,onAssign:$,callbacks:y,unsubscribePublisher:null,pathConfig:v,index:m})}const d=(m,v)=>{if(m.unsubscribePublisher&&(m.unsubscribePublisher(),m.unsubscribePublisher=null),h[m.index]=null,m.publisher=null,!v)return;const y=Bh(v);y&&(y.onAssign(m.onAssign),m.unsubscribePublisher=()=>{y.offAssign(m.onAssign),m.publisher===y&&(m.publisher=null)},m.publisher=y)},g=()=>{for(const m of u)if(m.pathConfig.isDynamic){const v=Uh(l,m.pathConfig.originalPath);if(!v.ready){d(m,null);continue}d(m,v.path)}else d(m,m.pathConfig.originalPath)};for(const m of u)if(m.pathConfig.isDynamic)for(const v of m.pathConfig.dynamicDependencies){const y=Fh(l,v,()=>g());c.cleanupWatchers.push(y)}n=e.value.bind(l);for(const m of u)m.callbacks.add(n);g(),c.configurations=u}),i.__onDisconnected__(l=>{const c=l[o];c&&(c.cleanupWatchers.forEach(h=>h()),c.cleanupWatchers=[],c.configurations.forEach(h=>{h.unsubscribePublisher&&h.unsubscribePublisher(),h.callbacks.delete(n)}),c.configurations=[])})}}function Hh(){return function(r,t,i){let s=0;const e=i.value,o=r.constructor.prototype.disconnectedCallback;r.constructor.prototype.disconnectedCallback=function(){o?.apply(this),this.__removeAutoSubscribe__()};const n=r.connectedCallback;r.connectedCallback=function(){n?.call(this),this[t]()},i.value=function(...l){let c=new Set;const h=()=>{s++;const d=s;window.queueMicrotask(()=>{d===s&&this[t]()})};c.forEach(d=>{d.offAssign(h)}),E.collectModifiedPublisher();const u=e.apply(this,l);return c=E.getModifiedPublishers()||new Set,c.forEach(d=>{d.onAssign(h,!1)}),this.__removeAutoSubscribe__=()=>{c.forEach(d=>{d.offAssign(h)})},u}}}function Wh(r){return function(t){Fs(t);for(const i of r){const s=i.split(".");if(s.length===0)continue;const e=s.shift()||"";let o=E.get(e);o=De.traverse(o,s),t.__onConnected__(n=>{o.startTemplateFilling(n)}),t.__onDisconnected__(()=>{})}}}function Kh(r){return function(t,i){t&&(Fs(t),t.__onConnected__(s=>{const e=H.getAncestorAttributeValue(s,r);s[i]=e}))}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:jh,onAssing:qh,ancestorAttribute:Kh,autoSubscribe:Hh,autoFill:Wh},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:rr,dataProvider:No,sub:Lo,subscribe:Do,get:Eo,set:To};const Yh=O,Zh=M;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Yh,SonicModal:Zh};const Xh=window;Xh.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))}));
@@ -557,7 +557,7 @@ let N = (E = class {
557
557
  const h = await new Response(l.readable).arrayBuffer();
558
558
  return new TextDecoder().decode(h);
559
559
  }
560
- }, E.buildDate = "Mon Jan 05 2026 17:40:24 GMT+0100 (Central European Standard Time)", E.changed = !1, E.saving = !1, E.saveId = 0, E.instance = null, E.instances = /* @__PURE__ */ new Map(), E.modifiedCollectore = [], E);
560
+ }, E.buildDate = "Mon Jan 12 2026 16:42:41 GMT+0100 (Central European Standard Time)", E.changed = !1, E.saving = !1, E.saveId = 0, E.instance = null, E.instances = /* @__PURE__ */ new Map(), E.modifiedCollectore = [], E);
561
561
  if (typeof window < "u") {
562
562
  const r = window;
563
563
  r[ms + "PublisherManager"] = r[ms + "PublisherManager"] || N;
@@ -12846,7 +12846,7 @@ function ud(...r) {
12846
12846
  });
12847
12847
  return function(i, s, e) {
12848
12848
  Rs(i);
12849
- const o = "__onAssign_state__";
12849
+ const o = `__onAssign_state_${s}__`;
12850
12850
  let n;
12851
12851
  i.__onConnected__((l) => {
12852
12852
  const c = l[o] || (l[o] = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersoniks/concorde",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "",
@@ -43,12 +43,14 @@ function registerDynamicWatcher(
43
43
  function ensureWillUpdateHook(instance: any) {
44
44
  const proto = Object.getPrototypeOf(instance);
45
45
  if (!proto || proto[dynamicWillUpdateHookedStore]) return;
46
+
46
47
  const originalWillUpdate = Object.prototype.hasOwnProperty.call(
47
48
  proto,
48
49
  "willUpdate"
49
50
  )
50
51
  ? proto.willUpdate
51
52
  : Object.getPrototypeOf(proto)?.willUpdate;
53
+
52
54
  proto.willUpdate = function (changedProperties?: Map<unknown, unknown>) {
53
55
  const handlers = this[dynamicWatcherStore] as
54
56
  | Map<string, Set<() => void>>
@@ -175,7 +177,7 @@ export function onAssign(...values: Array<string>) {
175
177
  descriptor: PropertyDescriptor
176
178
  ) {
177
179
  setSubscribable(target);
178
- const stateKey = `__onAssign_state__`;
180
+ const stateKey = `__onAssign_state_${_propertyKey}__`;
179
181
  let callback: Callback;
180
182
 
181
183
  (target as ConnectedComponent).__onConnected__((component) => {
@@ -138,7 +138,7 @@ export class DemoOnAssignDynamic extends LitElement {
138
138
  //
139
139
  @state() user: any = null;
140
140
  @state() userSettings: any = null;
141
-
141
+ //
142
142
  @onAssign("${dataProvider}.${userIndex}", "${dataProvider}Settings.${userIndex}")
143
143
  handleUserDataReady(user: any, settings: any) {
144
144
  this.user = user;
@@ -168,7 +168,7 @@ export class DemoOnAssignDynamic extends LitElement {
168
168
  settingsPublisher,
169
169
  [String(this.userIndex)]
170
170
  ) as PublisherProxy;
171
-
171
+ //
172
172
  if (userPublisher && settingPublisher) {
173
173
  // Générer de nouvelles données aléatoires
174
174
  const randomNames = [
@@ -178,7 +178,7 @@ export class DemoOnAssignDynamic extends LitElement {
178
178
  ];
179
179
  const randomThemes = ["light", "dark", "auto"];
180
180
  const randomLanguages = ["en", "fr", "es"];
181
-
181
+ //
182
182
  const randomName =
183
183
  randomNames[Math.floor(Math.random() * randomNames.length)];
184
184
  const randomEmail = `${randomName.firstName.toLowerCase()}.${randomName.lastName.toLowerCase()}@example.com`;
@@ -186,7 +186,7 @@ export class DemoOnAssignDynamic extends LitElement {
186
186
  randomThemes[Math.floor(Math.random() * randomThemes.length)];
187
187
  const randomLanguage =
188
188
  randomLanguages[Math.floor(Math.random() * randomLanguages.length)];
189
-
189
+ //
190
190
  // Mettre à jour l'utilisateur directement
191
191
  const currentUser = userPublisher.get() || {};
192
192
  userPublisher.set({
@@ -195,7 +195,7 @@ export class DemoOnAssignDynamic extends LitElement {
195
195
  lastName: randomName.lastName,
196
196
  email: randomEmail,
197
197
  });
198
-
198
+ //
199
199
  // Mettre à jour les settings directement
200
200
  settingPublisher.set({
201
201
  theme: randomTheme,
@@ -4344,6 +4344,21 @@
4344
4344
  }
4345
4345
  }
4346
4346
  },
4347
+ {
4348
+ "search": " }\n //\n render() {\n return html &lt;div class=&quot;flex flex-col gap-2&quot;&gt; &lt;sonic-select .value=${this.dataProvider} label=&quot;Users set&quot; @change=${this.updateDataProvider} &gt; &lt;option value=&quot;demoUsers&quot;&gt;First set of users&lt;/option&gt; &lt;option value=&quot;demoUsersAlt&quot;&gt;Second set of users&lt;/option&gt; &lt;/sonic-select&gt; &lt;sonic-input type=&quot;number&quot; .value=${this.userIndex} @input=${this.updateUserIndex} min=&quot;0&quot; max=&quot;9&quot; label=&quot;Index&quot; class=&quot;block&quot; &gt; &lt;/sonic-input&gt; &lt;sonic-button @click=${this.updateCurrentUserData} &gt;Update current user data&lt;/sonic-button &gt; &lt;div class=&quot;flex flex-col gap-2 border p-2&quot;&gt; &lt;div&gt; &lt;sonic-icon name=&quot;user&quot; library=&quot;heroicons&quot;&gt;&lt;/sonic-icon&gt; ${this.user?.firstName} ${this.user?.lastName} &lt;/div&gt; &lt;div&gt; &lt;sonic-icon name=&quot;envelope&quot; library=&quot;heroicons&quot;&gt;&lt;/sonic-icon&gt; ${this.user?.email} &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; ;\n }\n",
4349
+ "files": {
4350
+ "docs/_misc/bind.md": {
4351
+ "title": "@bind",
4352
+ "hashes": {
4353
+ "dynamic-path-driven-by-class-properties": {
4354
+ "count": 1,
4355
+ "title": "Dynamic path driven by class properties",
4356
+ "type": "paragraph"
4357
+ }
4358
+ }
4359
+ }
4360
+ }
4361
+ },
4347
4362
  {
4348
4363
  "search": "⚠️ Use a classic string literal: @bind(&quot;${dataProvider}.${profileId}.info.title&quot;). Do not use a template literal (backticks), otherwise JavaScript would try to interpolate the value immediately.\n",
4349
4364
  "files": {
@@ -4371,6 +4386,16 @@
4371
4386
  "type": "paragraph"
4372
4387
  }
4373
4388
  }
4389
+ },
4390
+ "docs/_misc/on-assign.md": {
4391
+ "title": "@onAssign",
4392
+ "hashes": {
4393
+ "dynamic-path-driven-by-class-properties": {
4394
+ "count": 1,
4395
+ "title": "Dynamic path driven by class properties",
4396
+ "type": "paragraph"
4397
+ }
4398
+ }
4374
4399
  }
4375
4400
  }
4376
4401
  },
@@ -4434,6 +4459,66 @@
4434
4459
  }
4435
4460
  }
4436
4461
  },
4462
+ {
4463
+ "search": "You can now build the paths dynamically by referencing the host class properties inside the strings passed to @onAssign. Two placeholder syntaxes are supported:\n",
4464
+ "files": {
4465
+ "docs/_misc/on-assign.md": {
4466
+ "title": "@onAssign",
4467
+ "hashes": {
4468
+ "dynamic-path-driven-by-class-properties": {
4469
+ "count": 1,
4470
+ "title": "Dynamic path driven by class properties",
4471
+ "type": "paragraph"
4472
+ }
4473
+ }
4474
+ }
4475
+ }
4476
+ },
4477
+ {
4478
+ "search": "Each placeholder is replaced at runtime with the current value of the corresponding property. @onAssign automatically watches those properties and:\n",
4479
+ "files": {
4480
+ "docs/_misc/on-assign.md": {
4481
+ "title": "@onAssign",
4482
+ "hashes": {
4483
+ "dynamic-path-driven-by-class-properties": {
4484
+ "count": 1,
4485
+ "title": "Dynamic path driven by class properties",
4486
+ "type": "paragraph"
4487
+ }
4488
+ }
4489
+ }
4490
+ }
4491
+ },
4492
+ {
4493
+ "search": " }\n //\n render() {\n return html &lt;div class=&quot;flex flex-col gap-2&quot;&gt; &lt;sonic-select label=&quot;Users set&quot; @change=${this.updateDataProvider}&gt; &lt;option value=&quot;demoUsers&quot;&gt;First set of users&lt;/option&gt; &lt;option value=&quot;demoUsersAlt&quot;&gt;Second set of users&lt;/option&gt; &lt;/sonic-select&gt; &lt;sonic-input type=&quot;number&quot; .value=${this.userIndex} @input=${this.updateUserIndex} min=&quot;0&quot; max=&quot;9&quot; label=&quot;Index&quot; class=&quot;block&quot; &gt; &lt;/sonic-input&gt; &lt;sonic-button @click=${this.updateCurrentUserData} &gt;Update current user data&lt;/sonic-button &gt; &lt;div class=&quot;flex flex-col gap-2 border p-2&quot;&gt; &lt;div&gt; &lt;sonic-icon name=&quot;user&quot; library=&quot;heroicons&quot;&gt;&lt;/sonic-icon&gt; ${this.user?.firstName} ${this.user?.lastName} &lt;/div&gt; &lt;div&gt; &lt;sonic-icon name=&quot;envelope&quot; library=&quot;heroicons&quot;&gt;&lt;/sonic-icon&gt; ${this.user?.email} &lt;/div&gt; &lt;div&gt; Theme: ${this.userSettings?.theme} | Language: ${this.userSettings?.language} &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; ;\n }\n}\n \n\n",
4494
+ "files": {
4495
+ "docs/_misc/on-assign.md": {
4496
+ "title": "@onAssign",
4497
+ "hashes": {
4498
+ "dynamic-path-driven-by-class-properties": {
4499
+ "count": 1,
4500
+ "title": "Dynamic path driven by class properties",
4501
+ "type": "paragraph"
4502
+ }
4503
+ }
4504
+ }
4505
+ }
4506
+ },
4507
+ {
4508
+ "search": "⚠️ Use classic string literals: @onAssign(&quot;${dataProvider}.${profileId}&quot;, &quot;settings.${profileId}&quot;). Do not use template literals (backticks), otherwise JavaScript would try to interpolate the value immediately.\n",
4509
+ "files": {
4510
+ "docs/_misc/on-assign.md": {
4511
+ "title": "@onAssign",
4512
+ "hashes": {
4513
+ "dynamic-path-driven-by-class-properties": {
4514
+ "count": 1,
4515
+ "title": "Dynamic path driven by class properties",
4516
+ "type": "paragraph"
4517
+ }
4518
+ }
4519
+ }
4520
+ }
4521
+ },
4437
4522
  {
4438
4523
  "search": "Templates Demo",
4439
4524
  "files": {