@supersoniks/concorde 3.1.99 → 3.1.100

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":1756989833}
1
+ {"date":1758094488}
@@ -1,4 +1,4 @@
1
- (function(K){typeof define=="function"&&define.amd?define(K):K()})(function(){"use strict";var Dt,E,N,So,t,X;let K=class Bt{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,e)=>{const i=e.indexOf("=");return t[e.substring(0,i).trim()]=e.substring(i+1),t},{})}static everyAncestors(t,e){for(;t;){if(!e(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const e=t;if(e.nodeType===1){const i=window.getComputedStyle(e);if((i==null?void 0:i.overflowY)==="auto"||(i==null?void 0:i.overflowY)==="scroll"||(i==null?void 0:i.overflowY)==="hidden"||(i==null?void 0:i.overflowX)==="auto"||(i==null?void 0:i.overflowX)==="scroll"||(i==null?void 0:i.overflowX)==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,e){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(e))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(e):null}static getApiConfiguration(t){const e=Bt.getAncestorAttributeValue(t,"token"),i=Bt.getAncestorAttributeValue(t,"addHTTPResponse")!=null,s=Bt.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const a=Bt.getAncestorAttributeValue(t,"tokenProvider"),c=Bt.getAncestorAttributeValue(t,"eventsApiToken");e||(o=Bt.getAncestorAttributeValue(t,"userName"),n=Bt.getAncestorAttributeValue(t,"password"));const h=Bt.getAncestorAttributeValue(t,"credentials")||void 0,d=t.getAttribute("cache"),p=t.hasAttribute("blockUntilDone");return{serviceURL:s,token:e,userName:o,password:n,authToken:c,tokenProvider:a,addHTTPResponse:i,credentials:h,cache:d,blockUntilDone:p}}static getClosestElement(t,e){for(;!(t.nodeName&&t.nodeName.toLowerCase()===e)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Bt.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async i=>{const s=document.createElement("script");s.src=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}static async loadCSS(t){return new Promise(async i=>{const s=document.createElement("link");s.type="text/css",s.rel="stylesheet",s.href=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}};const ei=r=>{const t=document.documentElement,e=new MutationObserver(s=>{for(let o of s)o.type==="attributes"&&o.attributeName==="lang"&&r()}),i={attributes:!0,attributeFilter:["lang"]};e.observe(t,i)};let ws=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,e="",i="long"){e||(e=K.getLanguage());const s=(h,d)=>[Math.floor(h/d),h%d];function o(h,d,p){return new Intl.NumberFormat(h,{style:"unit",unit:d,unitDisplay:p}).format}const[n,a]=s(t,60),c=[];return n&&c.push(o(e,"hour",i)(n)),a&&c.push(o(e,"minute",i)(a)),new Intl.ListFormat(e,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Eo=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(e=>{setTimeout(e,t)})}},rr="sonic";typeof __SONIC_PREFIX__<"u"&&(rr=__SONIC_PREFIX__);let or=rr.replace(/-([a-z])/g,r=>r[1].toUpperCase());const xs=or.charAt(0).toUpperCase()+or.slice(1);function $s(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function Be(r){return typeof r=="object"&&r!=null}let Se="sonic";typeof __SONIC_PREFIX__>"u"&&(Se="sonic"+Math.floor(Math.random()*1e6));const si=Se=="sonic"?"publisher-proxies-data":Se+"-publisher-proxies-data";let ii=(Dt=class{constructor(t,e,i){for(this._proxies_=new Map,this._is_savable_=!1,this._expiration_delay_=1e3*60*60*12,this._invalidate_on_page_show_=!1,this._invalidateListeners_=new Set,this._formInvalidateListeners_=new Set,this._assignListeners_=new Set,this._mutationListeners_=new Set,this._fillListeners_=new Set,this._templateFillListeners_=new Set,this._lockInternalMutationPublishing_=!1,this._instanceCounter_=0,this._assignmentId_=0,this._value_=t,this.parent=e||null,this._parentKey_=i,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){var t;for(const e in this._proxies_.keys())e!="_parent_"&&((t=this._proxies_.get(e))==null||t.delete());this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Dt.instances.delete(this._instanceCounter_)}hasListener(){return this._templateFillListeners_.size>0||this._assignListeners_.size>0||this._invalidateListeners_.size>0||this._formInvalidateListeners_.size>0||this._mutationListeners_.size>0||this._fillListeners_.size>0}_publishInternalMutation_(t=!1){if(this._mutationListeners_.forEach(e=>e()),this._is_savable_&&!T.changed){T.changed=!0,T.saveId++;const e=T.saveId;setTimeout(()=>T.getInstance().saveToLocalStorage(e),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const i=this.get();this._assignListeners_.forEach(s=>{s(i)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,e){this._fillListeners_.forEach(i=>{i[t]!==e&&(i[t]=e)}),this._publishTemplateFilling_(t,e)}_publishTemplateFilling_(t,e){this._templateFillListeners_.forEach(i=>{const s=Object.getOwnPropertyDescriptor(i,t);s&&!s.set&&!s.writable||(i.propertyMap&&i.propertyMap[t]&&(t=i.propertyMap[t]),typeof i[t]<"u"&&i[t]!==e&&(i[t]=e))})}onAssign(t,e=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),e&&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 e in this._value_){let i=e;const s=this._value_[e];t.propertyMap&&t.propertyMap[e]&&(i=t.propertyMap[e]),typeof t[e]<"u"&&t[e]!==s&&(t[i]=s)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const e in this._value_){const i=this._value_[e];t[e]!==i&&(t[e]=i)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,e=!1){var s,o,n;if(this._value_===t||this._value_&&t&&$s(this._value_)&&$s(t)&&this._value_.__value===t.__value)return!0;this._value_=Be(t)?t:{__value:t},this._cachedGet_=void 0;const i=$s(this._value_);if(this._parentKey_&&this.parent){const a=$s(this._value_)?this._value_.__value:this._value_;if(((s=this.parent)==null?void 0:s.get())==null&&((o=this.parent)==null?void 0:o.get())==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:a});else{const c=[];c[Number(this._parentKey_)]=a,this.parent.set(c)}else this.parent._value_[this._parentKey_]=a}if(i)return this._proxies_.forEach((a,c)=>{c!="_parent_"&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(e),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const a in this._value_)this._value_[a]===void 0&&delete this._value_[a];if(this._proxies_.forEach((a,c)=>{const h=this._value_[c];c!="_parent_"&&h===void 0&&h!==null&&isNaN(Number(c))&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),Be(this._value_))for(const a in this._value_){const c=t[a],d=Be(c)?c:{__value:c};if(!this._proxies_.has(a)){this._publishDynamicFilling_(a,c);continue}(n=this._proxies_.get(a))==null||n.set(d,!0),this._publishDynamicFilling_(a,c)}return!0}get(){if(this._cachedGet_!==void 0)return this._cachedGet_;if(T.modifiedCollectore.length>0&&T.modifiedCollectore[0].add(this),Object.prototype.hasOwnProperty.call(this._value_,"__value")){const t=this._value_.__value;return this._cachedGet_=t??null}return this._cachedGet_=this._value_!=null?this._value_:null}get $tag(){return this._instanceCounter_||(Dt.instancesCounter++,this._instanceCounter_=Dt.instancesCounter),Dt.instances.set(this._instanceCounter_,this),"<"+Se+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+Se+"-publisher-proxy>"}},Dt.instances=new Map,Dt.instancesCounter=0,Dt),T=(E=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],E.instance!=null)throw"Singleton / use getInstance";E.instance=this,this.isLocalStrorageReady=this.cleanStorageData()}invalidateAll(){this.publishers.forEach(t=>{t._invalidate_on_page_show_&&t.invalidate()})}async cleanStorageData(){return new Promise(t=>{(async()=>{try{let i=localStorage.getItem(si),s=null;if(i&&(s=await this.decompress(i,"gzip")),s)try{this.localStorageData=JSON.parse(s)}catch{this.localStorageData={}}else i=await this.compress("{}","gzip"),localStorage.setItem(si,i),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const a=this.localStorageData[n],c=new Date().getTime()-(a.expirationDelayMs||o);a.lastModifiationMS<c&&delete this.localStorageData[n]}t(!0)}catch{window.requestAnimationFrame(()=>{t(!1)}),console.warn("no publisher cache in this browser")}})()})}static getInstance(t){if(t){const e=E.instances.get(t);return e||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new E)}return E.instance==null?new E:E.instance}static registerInstance(t,e){E.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),E.instances.set(t,e)}static get(t,e){return E.getInstance().get(t,e)}static collectModifiedPublisher(){E.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return E.modifiedCollectore.shift()}static delete(t){return t?E.getInstance().delete(t):!1}async setLocalData(t,e){var i;await this.isLocalStrorageReady,t.set(((i=this.localStorageData[e+"¤lang_"+K.getLanguage()])==null?void 0:i.data)||t.get())}get(t,e){const i=(e==null?void 0:e.localStorageMode)==="enabled",s=(e==null?void 0:e.invalidateOnPageShow)===!0;if(!this.publishers.has(t)){const n={},a=new He(n);this.set(t,a)}const o=this.publishers.get(t);return i&&this.initialisedData.indexOf(t)===-1&&(e!=null&&e.expirationDelayMs&&(o._expiration_delay_=e.expirationDelayMs),o._is_savable_=!0,this.initialisedData.push(t),this.setLocalData(o,t)),s&&(o._invalidate_on_page_show_=s),this.publishers.get(t)}set(t,e){this.publishers.set(t,e)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==E.saveId&&t%10!=0))try{if(!E.changed||E.saving)return;E.saving=!0,E.changed=!1;const e=Array.from(this.publishers.keys());let i=!1;for(const s of e){const o=this.publishers.get(s);if(!(o!=null&&o._is_savable_))continue;const n=o==null?void 0:o.get();n&&(this.localStorageData[s+"¤lang_"+K.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},i=!0)}if(i){const s=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(si,s)}if(E.saving=!1,E.changed){E.saveId++;const s=E.saveId;setTimeout(()=>this.saveToLocalStorage(s),1e3)}}catch{E.saving=!1}}async compress(t,e){const i=new TextEncoder().encode(t),s=window,o=new s.CompressionStream(e),n=o.writable.getWriter();n.write(i),n.close();const a=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(a);let h="";for(let d=0;d<c.length;d++)h+=String.fromCharCode(c[d]);return btoa(h)}async decompress(t,e){const i=atob(t),o=Uint8Array.from(i,d=>d.charCodeAt(0)).buffer,n=window,a=new n.DecompressionStream(e),c=a.writable.getWriter();c.write(o),c.close();const h=await new Response(a.readable).arrayBuffer();return new TextDecoder().decode(h)}},E.buildDate="Thu Sep 04 2025 14:43:53 GMT+0200 (Central European Summer Time)",E.changed=!1,E.saving=!1,E.saveId=0,E.instance=null,E.instances=new Map,E.modifiedCollectore=[],E);if(typeof window<"u"){const r=window;r[xs+"PublisherManager"]=r[xs+"PublisherManager"]||T}const No=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 He extends ii{constructor(t,e=null,i){super(t,e,i);const s=new Proxy(this,{get:function(o,n){if(No.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>s.get();if(!o._proxies_.has(n)){const a=o._value_[n],c=new He(Be(a)?a:{__value:a},o,n);c._proxies_.set("_parent_",s),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,a){var h;if(n=="_value_")return o._value_=a,!0;if(n=="_cachedGet_")return o._cachedGet_=a,!0;if(n=="_assignmentId_")return o._assignmentId_=a,!0;if(n=="_is_savable_")return o._is_savable_=a,!0;if(n=="_expiration_delay_")return o._expiration_delay_=a,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=a,!0;if(n=="_instanceCounter_")return o._instanceCounter_=a,!0;if(!o._proxies_.has(n)){const d=new He({},o,n);d._proxies_.set("_parent_",s),o._proxies_.set(n,d)}return o._value_[n]!==a&&(o._value_[n]=a,o._publishDynamicFilling_(n,a),(h=o._proxies_.get(n))==null||h.set(Be(a)?a:{__value:a})),!0},deleteProperty:function(o,n){var a;return o._publishDynamicFilling_(n,null),(a=o._proxies_.get(n))==null||a.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,a){return a&&"value"in a&&(o._value_[n]=a.value),!0},getOwnPropertyDescriptor:function(o,n){return{enumerable:!0,configurable:!0}},ownKeys:function(o){return o._value_.__value?Object.keys(o._value_.__value):Object.keys(o._value_)}});return s}getProperty(t,e){return t[e]}}class To extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){var t;this.publisherId=this.getAttribute("publisher")||"",this.publisher=ii.instances.get(parseInt(this.publisherId)),(t=this.publisher)==null||t.onAssign(this.onAssign)}disconnectedCallback(){var t;(t=this.publisher)==null||t.offAssign(this.onAssign)}}try{customElements.define(Se+"-publisher-proxy",To)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&T.getInstance().invalidateAll()});let Ps=(N=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(N.observedElements.keys()).forEach(t=>N.unObserve(t)))}static observe(t){if(!t||!N.enabled||N.observedElements.has(t))return;const e=new MutationObserver(N.onMutation),i={};i.childList=!0,i.subtree=!0,i.attributes=!0,i.attributeFilter=["data-bind"],e.observe(t,i),t.querySelectorAll("[data-bind]").forEach(s=>N.addPublisherListeners(s)),N.observedElements.set(t,e)}static unObserve(t){if(!t)return;const e=this.observedElements.get(t);e&&(e.disconnect(),t.querySelectorAll("[data-bind]").forEach(i=>N.removePublisherListeners(i)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.addPublisherListeners(e)):t.childNodes.forEach(e=>N.onAdded(e))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.removePublisherListeners(e)):t.childNodes.forEach(e=>N.onRemoved(e))}static onMutation(t){for(const e of t)switch(e.type){case"attributes":N.addPublisherListeners(e.target);break;case"childList":e.addedNodes.forEach(i=>{N.onAdded(i)}),e.removedNodes.forEach(i=>{N.onRemoved(i)});break}}static removePublisherListeners(t){const e=N.publisherListeners.get(t);e&&(N.publisherListeners.delete(t),e.forEach(i=>{var s;(s=i.publisher)==null||s.offAssign(i.onAssign)}))}static getVariablesDescriptor(t){let e=t.match(/(\$(?:\w+\\?\.?)+)/g);return e?e=e.map(i=>i.replace("$","")):e=[t],e=e.filter(i=>i.length>0),{expression:t.replace("\\",""),variables:e.map(i=>i.split(/\b\.\b/).map(s=>s.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(e=>e.name.indexOf("::")==0).map(e=>({propertyToUpdate:e.name.substring(2).replace(/-((html)|\w)/g,s=>s.substring(1).toUpperCase()),bindedVariablesDescriptor:N.getVariablesDescriptor(e.value)})):[]}static getSubPublisher(t,e){if(!e)return t;for(const i of e)if(i!="_self_"){if(!t)return null;t=t[i]}return t}static addPublisherListeners(t){N.removePublisherListeners(t);const e=K.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!e)return;const i=T.getInstance().get(e),s=N.getDataBindItems(t),o=[];s.forEach(n=>{const a=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of a.variables){const d=h;let p=i;p=N.getSubPublisher(i,d);const g=t,v={publisher:p,onAssign:()=>{const b=a.variables.map(D=>{var f;return(f=N.getSubPublisher(i,D))==null?void 0:f.get()});let y=a.expression,_=!1;if(b.length==1&&a.variables[0].join(".")==y.substring(1)){let D=b[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<b.length;D++){let f=b[D];const u=a.variables[D];f===null&&(_=!0,f=void 0),y=y.replace("$"+u.join("."),f)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=ws.js(y.substring(1));else{const f=y.substring(0,D),u=y.substring(D+1),w=ws[f];y=_?"":w?w(u):y}}else y=_?"":y;g[c]=y}};p==null||p.onAssign(v.onAssign),o.push(v)}}),N.publisherListeners.set(t,o)}},N.observedElements=new Map,N.enabled=!0,N.publisherListeners=new Map,N);Ps.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=Ps);let et=class Zt{static shallowEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n];if(i?a!==c:a!=c)return!1}return!0}static deepEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n],h=Zt.isObject(a)&&Zt.isObject(c),d=i?a!==c:a!=c;if(h&&!Zt.deepEqual(a,c)||!h&&d)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Zt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,e,i=!1){for(const s of e){const o=t[s];if(o===void 0)return;i&&Zt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[s]}return t}static traverseDotNotation(t,e,i=!1){return Zt.traverse(t,e.split("."),i)}static getURLSearchArray(t,e=""){let i=[];for(let s in t){const o=t[s];e&&(s=e+"["+s+"]"),Zt.isObject(o)?i=[...i,...this.getURLSearchArray(o,s)]:i.push(`${s}=${o}`)}return i}static getURLSearchString(t){return Zt.getURLSearchArray(t,"").join("&")}};const pt=et.traverseDotNotation;/**
1
+ (function(K){typeof define=="function"&&define.amd?define(K):K()})(function(){"use strict";var Dt,E,N,So,t,X;let K=class Bt{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,e)=>{const i=e.indexOf("=");return t[e.substring(0,i).trim()]=e.substring(i+1),t},{})}static everyAncestors(t,e){for(;t;){if(!e(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const e=t;if(e.nodeType===1){const i=window.getComputedStyle(e);if((i==null?void 0:i.overflowY)==="auto"||(i==null?void 0:i.overflowY)==="scroll"||(i==null?void 0:i.overflowY)==="hidden"||(i==null?void 0:i.overflowX)==="auto"||(i==null?void 0:i.overflowX)==="scroll"||(i==null?void 0:i.overflowX)==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,e){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(e))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(e):null}static getApiConfiguration(t){const e=Bt.getAncestorAttributeValue(t,"token"),i=Bt.getAncestorAttributeValue(t,"addHTTPResponse")!=null,s=Bt.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const a=Bt.getAncestorAttributeValue(t,"tokenProvider"),c=Bt.getAncestorAttributeValue(t,"eventsApiToken");e||(o=Bt.getAncestorAttributeValue(t,"userName"),n=Bt.getAncestorAttributeValue(t,"password"));const h=Bt.getAncestorAttributeValue(t,"credentials")||void 0,d=t.getAttribute("cache"),p=t.hasAttribute("blockUntilDone");return{serviceURL:s,token:e,userName:o,password:n,authToken:c,tokenProvider:a,addHTTPResponse:i,credentials:h,cache:d,blockUntilDone:p}}static getClosestElement(t,e){for(;!(t.nodeName&&t.nodeName.toLowerCase()===e)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Bt.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async i=>{const s=document.createElement("script");s.src=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}static async loadCSS(t){return new Promise(async i=>{const s=document.createElement("link");s.type="text/css",s.rel="stylesheet",s.href=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}};const ei=r=>{const t=document.documentElement,e=new MutationObserver(s=>{for(let o of s)o.type==="attributes"&&o.attributeName==="lang"&&r()}),i={attributes:!0,attributeFilter:["lang"]};e.observe(t,i)};let ws=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,e="",i="long"){e||(e=K.getLanguage());const s=(h,d)=>[Math.floor(h/d),h%d];function o(h,d,p){return new Intl.NumberFormat(h,{style:"unit",unit:d,unitDisplay:p}).format}const[n,a]=s(t,60),c=[];return n&&c.push(o(e,"hour",i)(n)),a&&c.push(o(e,"minute",i)(a)),new Intl.ListFormat(e,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Eo=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(e=>{setTimeout(e,t)})}},rr="sonic";typeof __SONIC_PREFIX__<"u"&&(rr=__SONIC_PREFIX__);let or=rr.replace(/-([a-z])/g,r=>r[1].toUpperCase());const xs=or.charAt(0).toUpperCase()+or.slice(1);function $s(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function Be(r){return typeof r=="object"&&r!=null}let Se="sonic";typeof __SONIC_PREFIX__>"u"&&(Se="sonic"+Math.floor(Math.random()*1e6));const si=Se=="sonic"?"publisher-proxies-data":Se+"-publisher-proxies-data";let ii=(Dt=class{constructor(t,e,i){for(this._proxies_=new Map,this._is_savable_=!1,this._expiration_delay_=1e3*60*60*12,this._invalidate_on_page_show_=!1,this._invalidateListeners_=new Set,this._formInvalidateListeners_=new Set,this._assignListeners_=new Set,this._mutationListeners_=new Set,this._fillListeners_=new Set,this._templateFillListeners_=new Set,this._lockInternalMutationPublishing_=!1,this._instanceCounter_=0,this._assignmentId_=0,this._value_=t,this.parent=e||null,this._parentKey_=i,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){var t;for(const e in this._proxies_.keys())e!="_parent_"&&((t=this._proxies_.get(e))==null||t.delete());this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Dt.instances.delete(this._instanceCounter_)}hasListener(){return this._templateFillListeners_.size>0||this._assignListeners_.size>0||this._invalidateListeners_.size>0||this._formInvalidateListeners_.size>0||this._mutationListeners_.size>0||this._fillListeners_.size>0}_publishInternalMutation_(t=!1){if(this._mutationListeners_.forEach(e=>e()),this._is_savable_&&!T.changed){T.changed=!0,T.saveId++;const e=T.saveId;setTimeout(()=>T.getInstance().saveToLocalStorage(e),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const i=this.get();this._assignListeners_.forEach(s=>{s(i)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,e){this._fillListeners_.forEach(i=>{i[t]!==e&&(i[t]=e)}),this._publishTemplateFilling_(t,e)}_publishTemplateFilling_(t,e){this._templateFillListeners_.forEach(i=>{const s=Object.getOwnPropertyDescriptor(i,t);s&&!s.set&&!s.writable||(i.propertyMap&&i.propertyMap[t]&&(t=i.propertyMap[t]),typeof i[t]<"u"&&i[t]!==e&&(i[t]=e))})}onAssign(t,e=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),e&&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 e in this._value_){let i=e;const s=this._value_[e];t.propertyMap&&t.propertyMap[e]&&(i=t.propertyMap[e]),typeof t[e]<"u"&&t[e]!==s&&(t[i]=s)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const e in this._value_){const i=this._value_[e];t[e]!==i&&(t[e]=i)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,e=!1){var s,o,n;if(this._value_===t||this._value_&&t&&$s(this._value_)&&$s(t)&&this._value_.__value===t.__value)return!0;this._value_=Be(t)?t:{__value:t},this._cachedGet_=void 0;const i=$s(this._value_);if(this._parentKey_&&this.parent){const a=$s(this._value_)?this._value_.__value:this._value_;if(((s=this.parent)==null?void 0:s.get())==null&&((o=this.parent)==null?void 0:o.get())==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:a});else{const c=[];c[Number(this._parentKey_)]=a,this.parent.set(c)}else this.parent._value_[this._parentKey_]=a}if(i)return this._proxies_.forEach((a,c)=>{c!="_parent_"&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(e),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const a in this._value_)this._value_[a]===void 0&&delete this._value_[a];if(this._proxies_.forEach((a,c)=>{const h=this._value_[c];c!="_parent_"&&h===void 0&&h!==null&&isNaN(Number(c))&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),Be(this._value_))for(const a in this._value_){const c=t[a],d=Be(c)?c:{__value:c};if(!this._proxies_.has(a)){this._publishDynamicFilling_(a,c);continue}(n=this._proxies_.get(a))==null||n.set(d,!0),this._publishDynamicFilling_(a,c)}return!0}get(){if(this._cachedGet_!==void 0)return this._cachedGet_;if(T.modifiedCollectore.length>0&&T.modifiedCollectore[0].add(this),Object.prototype.hasOwnProperty.call(this._value_,"__value")){const t=this._value_.__value;return this._cachedGet_=t??null}return this._cachedGet_=this._value_!=null?this._value_:null}get $tag(){return this._instanceCounter_||(Dt.instancesCounter++,this._instanceCounter_=Dt.instancesCounter),Dt.instances.set(this._instanceCounter_,this),"<"+Se+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+Se+"-publisher-proxy>"}},Dt.instances=new Map,Dt.instancesCounter=0,Dt),T=(E=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],E.instance!=null)throw"Singleton / use getInstance";E.instance=this,this.isLocalStrorageReady=this.cleanStorageData()}invalidateAll(){this.publishers.forEach(t=>{t._invalidate_on_page_show_&&t.invalidate()})}async cleanStorageData(){return new Promise(t=>{(async()=>{try{let i=localStorage.getItem(si),s=null;if(i&&(s=await this.decompress(i,"gzip")),s)try{this.localStorageData=JSON.parse(s)}catch{this.localStorageData={}}else i=await this.compress("{}","gzip"),localStorage.setItem(si,i),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const a=this.localStorageData[n],c=new Date().getTime()-(a.expirationDelayMs||o);a.lastModifiationMS<c&&delete this.localStorageData[n]}t(!0)}catch{window.requestAnimationFrame(()=>{t(!1)}),console.warn("no publisher cache in this browser")}})()})}static getInstance(t){if(t){const e=E.instances.get(t);return e||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new E)}return E.instance==null?new E:E.instance}static registerInstance(t,e){E.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),E.instances.set(t,e)}static get(t,e){return E.getInstance().get(t,e)}static collectModifiedPublisher(){E.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return E.modifiedCollectore.shift()}static delete(t){return t?E.getInstance().delete(t):!1}async setLocalData(t,e){var i;await this.isLocalStrorageReady,t.set(((i=this.localStorageData[e+"¤lang_"+K.getLanguage()])==null?void 0:i.data)||t.get())}get(t,e){const i=(e==null?void 0:e.localStorageMode)==="enabled",s=(e==null?void 0:e.invalidateOnPageShow)===!0;if(!this.publishers.has(t)){const n={},a=new He(n);this.set(t,a)}const o=this.publishers.get(t);return i&&this.initialisedData.indexOf(t)===-1&&(e!=null&&e.expirationDelayMs&&(o._expiration_delay_=e.expirationDelayMs),o._is_savable_=!0,this.initialisedData.push(t),this.setLocalData(o,t)),s&&(o._invalidate_on_page_show_=s),this.publishers.get(t)}set(t,e){this.publishers.set(t,e)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==E.saveId&&t%10!=0))try{if(!E.changed||E.saving)return;E.saving=!0,E.changed=!1;const e=Array.from(this.publishers.keys());let i=!1;for(const s of e){const o=this.publishers.get(s);if(!(o!=null&&o._is_savable_))continue;const n=o==null?void 0:o.get();n&&(this.localStorageData[s+"¤lang_"+K.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},i=!0)}if(i){const s=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(si,s)}if(E.saving=!1,E.changed){E.saveId++;const s=E.saveId;setTimeout(()=>this.saveToLocalStorage(s),1e3)}}catch{E.saving=!1}}async compress(t,e){const i=new TextEncoder().encode(t),s=window,o=new s.CompressionStream(e),n=o.writable.getWriter();n.write(i),n.close();const a=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(a);let h="";for(let d=0;d<c.length;d++)h+=String.fromCharCode(c[d]);return btoa(h)}async decompress(t,e){const i=atob(t),o=Uint8Array.from(i,d=>d.charCodeAt(0)).buffer,n=window,a=new n.DecompressionStream(e),c=a.writable.getWriter();c.write(o),c.close();const h=await new Response(a.readable).arrayBuffer();return new TextDecoder().decode(h)}},E.buildDate="Wed Sep 17 2025 09:34:47 GMT+0200 (Central European Summer Time)",E.changed=!1,E.saving=!1,E.saveId=0,E.instance=null,E.instances=new Map,E.modifiedCollectore=[],E);if(typeof window<"u"){const r=window;r[xs+"PublisherManager"]=r[xs+"PublisherManager"]||T}const No=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 He extends ii{constructor(t,e=null,i){super(t,e,i);const s=new Proxy(this,{get:function(o,n){if(No.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>s.get();if(!o._proxies_.has(n)){const a=o._value_[n],c=new He(Be(a)?a:{__value:a},o,n);c._proxies_.set("_parent_",s),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,a){var h;if(n=="_value_")return o._value_=a,!0;if(n=="_cachedGet_")return o._cachedGet_=a,!0;if(n=="_assignmentId_")return o._assignmentId_=a,!0;if(n=="_is_savable_")return o._is_savable_=a,!0;if(n=="_expiration_delay_")return o._expiration_delay_=a,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=a,!0;if(n=="_instanceCounter_")return o._instanceCounter_=a,!0;if(!o._proxies_.has(n)){const d=new He({},o,n);d._proxies_.set("_parent_",s),o._proxies_.set(n,d)}return o._value_[n]!==a&&(o._value_[n]=a,o._publishDynamicFilling_(n,a),(h=o._proxies_.get(n))==null||h.set(Be(a)?a:{__value:a})),!0},deleteProperty:function(o,n){var a;return o._publishDynamicFilling_(n,null),(a=o._proxies_.get(n))==null||a.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,a){return a&&"value"in a&&(o._value_[n]=a.value),!0},getOwnPropertyDescriptor:function(o,n){return{enumerable:!0,configurable:!0}},ownKeys:function(o){return o._value_.__value?Object.keys(o._value_.__value):Object.keys(o._value_)}});return s}getProperty(t,e){return t[e]}}class To extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){var t;this.publisherId=this.getAttribute("publisher")||"",this.publisher=ii.instances.get(parseInt(this.publisherId)),(t=this.publisher)==null||t.onAssign(this.onAssign)}disconnectedCallback(){var t;(t=this.publisher)==null||t.offAssign(this.onAssign)}}try{customElements.define(Se+"-publisher-proxy",To)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&T.getInstance().invalidateAll()});let Ps=(N=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(N.observedElements.keys()).forEach(t=>N.unObserve(t)))}static observe(t){if(!t||!N.enabled||N.observedElements.has(t))return;const e=new MutationObserver(N.onMutation),i={};i.childList=!0,i.subtree=!0,i.attributes=!0,i.attributeFilter=["data-bind"],e.observe(t,i),t.querySelectorAll("[data-bind]").forEach(s=>N.addPublisherListeners(s)),N.observedElements.set(t,e)}static unObserve(t){if(!t)return;const e=this.observedElements.get(t);e&&(e.disconnect(),t.querySelectorAll("[data-bind]").forEach(i=>N.removePublisherListeners(i)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.addPublisherListeners(e)):t.childNodes.forEach(e=>N.onAdded(e))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.removePublisherListeners(e)):t.childNodes.forEach(e=>N.onRemoved(e))}static onMutation(t){for(const e of t)switch(e.type){case"attributes":N.addPublisherListeners(e.target);break;case"childList":e.addedNodes.forEach(i=>{N.onAdded(i)}),e.removedNodes.forEach(i=>{N.onRemoved(i)});break}}static removePublisherListeners(t){const e=N.publisherListeners.get(t);e&&(N.publisherListeners.delete(t),e.forEach(i=>{var s;(s=i.publisher)==null||s.offAssign(i.onAssign)}))}static getVariablesDescriptor(t){let e=t.match(/(\$(?:\w+\\?\.?)+)/g);return e?e=e.map(i=>i.replace("$","")):e=[t],e=e.filter(i=>i.length>0),{expression:t.replace("\\",""),variables:e.map(i=>i.split(/\b\.\b/).map(s=>s.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(e=>e.name.indexOf("::")==0).map(e=>({propertyToUpdate:e.name.substring(2).replace(/-((html)|\w)/g,s=>s.substring(1).toUpperCase()),bindedVariablesDescriptor:N.getVariablesDescriptor(e.value)})):[]}static getSubPublisher(t,e){if(!e)return t;for(const i of e)if(i!="_self_"){if(!t)return null;t=t[i]}return t}static addPublisherListeners(t){N.removePublisherListeners(t);const e=K.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!e)return;const i=T.getInstance().get(e),s=N.getDataBindItems(t),o=[];s.forEach(n=>{const a=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of a.variables){const d=h;let p=i;p=N.getSubPublisher(i,d);const g=t,v={publisher:p,onAssign:()=>{const b=a.variables.map(D=>{var f;return(f=N.getSubPublisher(i,D))==null?void 0:f.get()});let y=a.expression,_=!1;if(b.length==1&&a.variables[0].join(".")==y.substring(1)){let D=b[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<b.length;D++){let f=b[D];const u=a.variables[D];f===null&&(_=!0,f=void 0),y=y.replace("$"+u.join("."),f)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=ws.js(y.substring(1));else{const f=y.substring(0,D),u=y.substring(D+1),w=ws[f];y=_?"":w?w(u):y}}else y=_?"":y;g[c]=y}};p==null||p.onAssign(v.onAssign),o.push(v)}}),N.publisherListeners.set(t,o)}},N.observedElements=new Map,N.enabled=!0,N.publisherListeners=new Map,N);Ps.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=Ps);let et=class Zt{static shallowEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n];if(i?a!==c:a!=c)return!1}return!0}static deepEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n],h=Zt.isObject(a)&&Zt.isObject(c),d=i?a!==c:a!=c;if(h&&!Zt.deepEqual(a,c)||!h&&d)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Zt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,e,i=!1){for(const s of e){const o=t[s];if(o===void 0)return;i&&Zt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[s]}return t}static traverseDotNotation(t,e,i=!1){return Zt.traverse(t,e.split("."),i)}static getURLSearchArray(t,e=""){let i=[];for(let s in t){const o=t[s];e&&(s=e+"["+s+"]"),Zt.isObject(o)?i=[...i,...this.getURLSearchArray(o,s)]:i.push(`${s}=${o}`)}return i}static getURLSearchString(t){return Zt.getURLSearchArray(t,"").join("&")}};const pt=et.traverseDotNotation;/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -106,7 +106,7 @@
106
106
  :host([size="inherit"]) {
107
107
  --sc-_fs: 1em;
108
108
  }
109
- `;var jn=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,B=(r,t,e,i)=>{for(var s=i>1?void 0:i?Fn(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&jn(t,e,s),s};const zn="sonic-button";let I=class extends wi(Me(G(x))){constructor(){super(...arguments),this.type="default",this.variant="default",this.shape="default",this.direction="row",this.alignItems="center",this.justify="center",this.minWidth="0",this.icon=!1,this.download=null,this.autoActive="partial",this.loading=!1,this.hasPrefix=!1,this.hasSuffix=!1,this._href="",this.goBack=null,this.pushState=!1,this.active=!1,this.autoRepeat=!1,this.pointerDownTime=0,this.lastRepeatTime=0,this.isRepeating=!1,this.handleRepeatend=()=>{window.removeEventListener("pointerup",this.handleRepeatend),window.removeEventListener("blur",this.handleRepeatend),this.autoRepeat&&(this.isRepeating=!1)},this.location=""}set href(r){this._href=r;const t=this._href.toString();t&&t.indexOf("http")!=0?it.onChange(this):it.offChange(this),this.requestUpdate()}get href(){return this._href}handleNavigation(r){r.preventDefault(),it.changeFromComponent(this)}handleChange(r){if(!((r==null?void 0:r.type)=="click"&&this.autoRepeat)&&(super.handleChange(),(this.pushState||this.goBack!==null)&&(r==null||r.preventDefault(),r==null||r.stopPropagation(),it.changeFromComponent(this)),this.hasAttribute("reset"))){const t=this.getAttribute("reset"),e=t?rt.get(t):this.getFormPublisher();e&&e.set({})}}handleRepeatStart(r){this.autoRepeat&&(this.handleChange(r),this.pointerDownTime=Date.now(),this.isRepeating=!0,this.repeat()),window.addEventListener("pointerup",this.handleRepeatend),window.addEventListener("blur",this.handleRepeatend)}repeat(){if(this.isRepeating){if(this.hasAttribute("disabled")){this.isRepeating=!1;return}window.requestAnimationFrame(this.repeat.bind(this)),!(Date.now()-this.pointerDownTime<500)&&(Date.now()-this.lastRepeatTime<100||(this.handleChange(),this.lastRepeatTime=Date.now()))}}connectedCallback(){super.connectedCallback()}setCheckedValue(r){if(this.name){if(r?this.setAttribute("active","true"):this.removeAttribute("active"),r==this._checked)return;super.setCheckedValue(r)}}disconnectedCallback(){it.offChange(this),super.disconnectedCallback()}willUpdate(r){(r.has("href")||r.has("autoActive"))&&it.updateComponentActiveState(this),r.has("location")&&it.updateComponentActiveState(this)}render(){const r={flexDirection:this.direction,alignItems:this.alignItems,justifyContent:this.justify,align:this.align,minWidth:this.minWidth},t=m`
109
+ `;var jn=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,B=(r,t,e,i)=>{for(var s=i>1?void 0:i?Fn(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&jn(t,e,s),s};const zn="sonic-button";let j=class extends wi(Me(G(x))){constructor(){super(...arguments),this.type="default",this.variant="default",this.shape="default",this.direction="row",this.alignItems="center",this.justify="center",this.minWidth="0",this.icon=!1,this.download=null,this.autoActive="partial",this.loading=!1,this.hasPrefix=!1,this.hasSuffix=!1,this._href="",this.goBack=null,this.pushState=!1,this.active=!1,this.autoRepeat=!1,this.pointerDownTime=0,this.lastRepeatTime=0,this.isRepeating=!1,this.handleRepeatend=()=>{window.removeEventListener("pointerup",this.handleRepeatend),window.removeEventListener("blur",this.handleRepeatend),this.autoRepeat&&(this.isRepeating=!1)},this.location=""}set href(r){this._href=r;const t=this._href.toString();t&&t.indexOf("http")!=0?it.onChange(this):it.offChange(this),this.requestUpdate()}get href(){return this._href}handleNavigation(r){r.preventDefault(),it.changeFromComponent(this)}handleChange(r){if(!((r==null?void 0:r.type)=="click"&&this.autoRepeat)&&(super.handleChange(),(this.pushState||this.goBack!==null)&&(r==null||r.preventDefault(),r==null||r.stopPropagation(),it.changeFromComponent(this)),this.hasAttribute("reset"))){const t=this.getAttribute("reset"),e=t?rt.get(t):this.getFormPublisher();e&&e.set({})}}handleRepeatStart(r){this.autoRepeat&&(this.handleChange(r),this.pointerDownTime=Date.now(),this.isRepeating=!0,this.repeat()),window.addEventListener("pointerup",this.handleRepeatend),window.addEventListener("blur",this.handleRepeatend)}repeat(){if(this.isRepeating){if(this.hasAttribute("disabled")){this.isRepeating=!1;return}window.requestAnimationFrame(this.repeat.bind(this)),!(Date.now()-this.pointerDownTime<500)&&(Date.now()-this.lastRepeatTime<100||(this.handleChange(),this.lastRepeatTime=Date.now()))}}connectedCallback(){super.connectedCallback()}setCheckedValue(r){if(this.name){if(r?this.setAttribute("active","true"):this.removeAttribute("active"),r==this._checked)return;super.setCheckedValue(r)}}disconnectedCallback(){it.offChange(this),super.disconnectedCallback()}willUpdate(r){(r.has("href")||r.has("autoActive"))&&it.updateComponentActiveState(this),r.has("location")&&it.updateComponentActiveState(this)}render(){const r={flexDirection:this.direction,alignItems:this.alignItems,justifyContent:this.justify,align:this.align,minWidth:this.minWidth},t=m`
110
110
  <button
111
111
  part="button"
112
112
  class=${this.hasPrefix||this.hasSuffix?"has-prefix-or-suffix":""}
@@ -140,7 +140,7 @@
140
140
  aria-labelledby=${C(this.ariaLabelledby)}
141
141
  @click=${this.pushState||this.goBack!==null?this.handleNavigation:null}
142
142
  >${t}</a
143
- >`:m`${t}`}onSlotChange(){var r,t;this.hasPrefix=!!((r=this.prefixes)!=null&&r.length),this.hasSuffix=!!((t=this.suffixes)!=null&&t.length)}};I.styles=[Nt,P`
143
+ >`:m`${t}`}onSlotChange(){var r,t;this.hasPrefix=!!((r=this.prefixes)!=null&&r.length),this.hasSuffix=!!((t=this.suffixes)!=null&&t.length)}};j.styles=[Nt,P`
144
144
  * {
145
145
  box-sizing: border-box;
146
146
  }
@@ -506,7 +506,7 @@
506
506
  transform: translate(-50%, -50%) rotate(359deg);
507
507
  }
508
508
  }
509
- `],B([l({type:String,reflect:!0})],I.prototype,"type",2),B([l({type:String,reflect:!0})],I.prototype,"variant",2),B([l({type:String,reflect:!0})],I.prototype,"size",2),B([l({type:String,reflect:!0})],I.prototype,"shape",2),B([l({type:String})],I.prototype,"direction",2),B([l({type:String,reflect:!0})],I.prototype,"alignItems",2),B([l({type:String})],I.prototype,"justify",2),B([l({type:String,reflect:!0})],I.prototype,"align",2),B([l({type:String})],I.prototype,"minWidth",2),B([l({type:Boolean,reflect:!0})],I.prototype,"icon",2),B([l({type:String})],I.prototype,"download",2),B([l({type:String})],I.prototype,"autoActive",2),B([l({type:Boolean,reflect:!0})],I.prototype,"loading",2),B([L()],I.prototype,"hasPrefix",2),B([L()],I.prototype,"hasSuffix",2),B([ke({flatten:!0,slot:"prefix"})],I.prototype,"prefixes",2),B([ke({flatten:!0,slot:"suffix"})],I.prototype,"suffixes",2),B([l({type:String})],I.prototype,"target",2),B([l({type:String})],I.prototype,"href",1),B([l({type:String})],I.prototype,"goBack",2),B([l({type:Boolean})],I.prototype,"pushState",2),B([l({type:Boolean,reflect:!0})],I.prototype,"active",2),B([l({type:Boolean,reflect:!0})],I.prototype,"autoRepeat",2),B([l({type:String,attribute:"data-aria-controls"})],I.prototype,"ariaControls",2),B([l({type:Boolean,attribute:"data-aria-expanded"})],I.prototype,"sonicAriaExpanded",2),B([L()],I.prototype,"location",2),I=B([$(zn)],I);/**
509
+ `],B([l({type:String,reflect:!0})],j.prototype,"type",2),B([l({type:String,reflect:!0})],j.prototype,"variant",2),B([l({type:String,reflect:!0})],j.prototype,"size",2),B([l({type:String,reflect:!0})],j.prototype,"shape",2),B([l({type:String})],j.prototype,"direction",2),B([l({type:String,reflect:!0})],j.prototype,"alignItems",2),B([l({type:String})],j.prototype,"justify",2),B([l({type:String,reflect:!0})],j.prototype,"align",2),B([l({type:String})],j.prototype,"minWidth",2),B([l({type:Boolean,reflect:!0})],j.prototype,"icon",2),B([l({type:String})],j.prototype,"download",2),B([l({type:String})],j.prototype,"autoActive",2),B([l({type:Boolean,reflect:!0})],j.prototype,"loading",2),B([L()],j.prototype,"hasPrefix",2),B([L()],j.prototype,"hasSuffix",2),B([ke({flatten:!0,slot:"prefix"})],j.prototype,"prefixes",2),B([ke({flatten:!0,slot:"suffix"})],j.prototype,"suffixes",2),B([l({type:String})],j.prototype,"target",2),B([l({type:String})],j.prototype,"href",1),B([l({type:String})],j.prototype,"goBack",2),B([l({type:Boolean})],j.prototype,"pushState",2),B([l({type:Boolean,reflect:!0})],j.prototype,"active",2),B([l({type:Boolean,reflect:!0})],j.prototype,"autoRepeat",2),B([l({type:String,attribute:"data-aria-controls"})],j.prototype,"ariaControls",2),B([l({type:Boolean,attribute:"data-aria-expanded"})],j.prototype,"sonicAriaExpanded",2),B([L()],j.prototype,"location",2),j=B([$(zn)],j);/**
510
510
  * @license
511
511
  * Copyright 2017 Google LLC
512
512
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1953,7 +1953,7 @@
1953
1953
  * @license
1954
1954
  * Copyright 2018 Google LLC
1955
1955
  * SPDX-License-Identifier: BSD-3-Clause
1956
- */const ji=ue(class extends Ee{constructor(r){var t;if(super(r),r.type!==Le.ATTRIBUTE||r.name!=="class"||((t=r.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){var i,s;if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!((i=this.nt)!=null&&i.has(o))&&this.st.add(o);return this.render(t)}const e=r.element.classList;for(const o of this.st)o in t||(e.remove(o),this.st.delete(o));for(const o in t){const n=!!t[o];n===this.st.has(o)||(s=this.nt)!=null&&s.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return yt}});var Wl=Object.defineProperty,Kl=Object.getOwnPropertyDescriptor,U=(r,t,e,i)=>{for(var s=i>1?void 0:i?Kl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Wl(t,e,s),s};const Yl="sonic-input";let j=class extends Us(Me(G(x))){constructor(){super(...arguments),this.readonly=!1,this.inlineContent=!1,this.disableInlineContentFocus=!1,this.showPasswordToggle=!1,this.autoActive=!1,this.active=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1,this.isPassword=!1}connectedCallback(){if(super.connectedCallback(),this.hasSlotOrProps(),this.hasAttribute("sameValueAs")){this.sameValueAsName=this.getAttribute("sameValueAs"),this.sameValueAsHandle=t=>this.pattern=this.escapeRegExp(t);const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].onAssign(this.sameValueAsHandle)}this.type=="password"&&(this.isPassword=!0,this.showPasswordToggle=!0,this.inlineContent=!0)}disconnectedCallback(){if(super.disconnectedCallback(),this.hasAttribute("sameValueAs")&&this.sameValueAsName){const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].offAssign(this.sameValueAsHandle)}}escapeRegExp(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}willUpdate(r){this.hasSlotOrProps(),this.autoActive&&r.has("value")&&(this.active=!!this.value),super.willUpdate(r)}setSelectionRange(r,t){this.input.setSelectionRange(r,t)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}inlineContentFocus(){var r;!this.inlineContent||this.disableInlineContentFocus||(r=this.input)==null||r.focus()}handleChange(r){if(!this.hasAttribute("inputDelayMs")){super.handleChange(r);return}this.changeTimeoutId&&clearTimeout(this.changeTimeoutId),this.changeTimeoutId=setTimeout(()=>super.handleChange(r),parseInt(this.getAttribute("inputDelayMs")))}togglePasswordVisibility(r){r.preventDefault(),r.stopPropagation(),this.isPassword=!this.isPassword,this._type=this.isPassword?"password":"text"}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix,"no-suffix":!this.hasSuffix,"no-prefix":!this.hasPrefix};return m`
1956
+ */const ji=ue(class extends Ee{constructor(r){var t;if(super(r),r.type!==Le.ATTRIBUTE||r.name!=="class"||((t=r.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){var i,s;if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!((i=this.nt)!=null&&i.has(o))&&this.st.add(o);return this.render(t)}const e=r.element.classList;for(const o of this.st)o in t||(e.remove(o),this.st.delete(o));for(const o in t){const n=!!t[o];n===this.st.has(o)||(s=this.nt)!=null&&s.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return yt}});var Wl=Object.defineProperty,Kl=Object.getOwnPropertyDescriptor,U=(r,t,e,i)=>{for(var s=i>1?void 0:i?Kl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Wl(t,e,s),s};const Yl="sonic-input";let F=class extends Us(Me(G(x))){constructor(){super(...arguments),this.readonly=!1,this.inlineContent=!1,this.disableInlineContentFocus=!1,this.showPasswordToggle=!1,this.autoActive=!1,this.active=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1,this.isPassword=!1}connectedCallback(){if(super.connectedCallback(),this.hasSlotOrProps(),this.hasAttribute("sameValueAs")){this.sameValueAsName=this.getAttribute("sameValueAs"),this.sameValueAsHandle=t=>this.pattern=this.escapeRegExp(t);const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].onAssign(this.sameValueAsHandle)}this.type=="password"&&(this.isPassword=!0,this.showPasswordToggle=!0,this.inlineContent=!0)}disconnectedCallback(){if(super.disconnectedCallback(),this.hasAttribute("sameValueAs")&&this.sameValueAsName){const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].offAssign(this.sameValueAsHandle)}}escapeRegExp(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}willUpdate(r){this.hasSlotOrProps(),this.autoActive&&r.has("value")&&(this.active=!!this.value),super.willUpdate(r)}setSelectionRange(r,t){this.input.setSelectionRange(r,t)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}inlineContentFocus(){var r;!this.inlineContent||this.disableInlineContentFocus||(r=this.input)==null||r.focus()}handleChange(r){if(!this.hasAttribute("inputDelayMs")){super.handleChange(r);return}this.changeTimeoutId&&clearTimeout(this.changeTimeoutId),this.changeTimeoutId=setTimeout(()=>super.handleChange(r),parseInt(this.getAttribute("inputDelayMs")))}togglePasswordVisibility(r){r.preventDefault(),r.stopPropagation(),this.isPassword=!this.isPassword,this._type=this.isPassword?"password":"text"}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix,"no-suffix":!this.hasSuffix,"no-prefix":!this.hasPrefix};return m`
1957
1957
  <label for="${this.id||"form-element"}" class="${this.hasLabel?"form-label":"hidden"}"
1958
1958
  >${this.label?z(this.label):""}<slot
1959
1959
  name="label"
@@ -2018,7 +2018,7 @@
2018
2018
  >${this.description?m`${z(this.description)}`:A}</slot>
2019
2019
  <slot name="list"></slot>
2020
2020
  </div>
2021
- `}};j.styles=[Nt,Ii,Ys,Zs,ql,P`
2021
+ `}};F.styles=[Nt,Ii,Ys,Zs,ql,P`
2022
2022
  :host([type="hidden"]) {
2023
2023
  appearance: none !important;
2024
2024
  display: none !important;
@@ -2026,7 +2026,7 @@
2026
2026
  :host > .form-control {
2027
2027
  position: relative;
2028
2028
  }
2029
- `],U([l({type:String,reflect:!0})],j.prototype,"size",2),U([l({type:String})],j.prototype,"inputmode",2),U([l({type:String})],j.prototype,"list",2),U([l({type:String})],j.prototype,"placeholder",2),U([l({type:String})],j.prototype,"pattern",2),U([l({type:String})],j.prototype,"min",2),U([l({type:String})],j.prototype,"max",2),U([l({type:Boolean,reflect:!0})],j.prototype,"readonly",2),U([l({type:Number})],j.prototype,"step",2),U([l({type:Number})],j.prototype,"minlength",2),U([l({type:Number})],j.prototype,"maxlength",2),U([l({type:String})],j.prototype,"src",2),U([l({type:Boolean,reflect:!0})],j.prototype,"inlineContent",2),U([l({type:Boolean})],j.prototype,"disableInlineContentFocus",2),U([l({type:Boolean})],j.prototype,"showPasswordToggle",2),U([l({type:Boolean})],j.prototype,"autoActive",2),U([l({type:Boolean,reflect:!0})],j.prototype,"active",2),U([ct({slot:"label",flatten:!0})],j.prototype,"slotLabelNodes",2),U([ct({slot:"description",flatten:!0})],j.prototype,"slotDescriptionNodes",2),U([ct({slot:"suffix",flatten:!0})],j.prototype,"slotSuffixNodes",2),U([ct({slot:"prefix",flatten:!0})],j.prototype,"slotPrefixNodes",2),U([De("input")],j.prototype,"input",2),U([L()],j.prototype,"hasDescription",2),U([L()],j.prototype,"hasLabel",2),U([L()],j.prototype,"hasSuffix",2),U([L()],j.prototype,"hasPrefix",2),U([L()],j.prototype,"isPassword",2),j=U([$(Yl)],j);const bo=P`
2029
+ `],U([l({type:String,reflect:!0})],F.prototype,"size",2),U([l({type:String})],F.prototype,"inputmode",2),U([l({type:String})],F.prototype,"list",2),U([l({type:String})],F.prototype,"placeholder",2),U([l({type:String})],F.prototype,"pattern",2),U([l({type:String})],F.prototype,"min",2),U([l({type:String})],F.prototype,"max",2),U([l({type:Boolean,reflect:!0})],F.prototype,"readonly",2),U([l({type:Number})],F.prototype,"step",2),U([l({type:Number})],F.prototype,"minlength",2),U([l({type:Number})],F.prototype,"maxlength",2),U([l({type:String})],F.prototype,"src",2),U([l({type:Boolean,reflect:!0})],F.prototype,"inlineContent",2),U([l({type:Boolean})],F.prototype,"disableInlineContentFocus",2),U([l({type:Boolean})],F.prototype,"showPasswordToggle",2),U([l({type:Boolean})],F.prototype,"autoActive",2),U([l({type:Boolean,reflect:!0})],F.prototype,"active",2),U([ct({slot:"label",flatten:!0})],F.prototype,"slotLabelNodes",2),U([ct({slot:"description",flatten:!0})],F.prototype,"slotDescriptionNodes",2),U([ct({slot:"suffix",flatten:!0})],F.prototype,"slotSuffixNodes",2),U([ct({slot:"prefix",flatten:!0})],F.prototype,"slotPrefixNodes",2),U([De("input")],F.prototype,"input",2),U([L()],F.prototype,"hasDescription",2),U([L()],F.prototype,"hasLabel",2),U([L()],F.prototype,"hasSuffix",2),U([L()],F.prototype,"hasPrefix",2),U([L()],F.prototype,"isPassword",2),F=U([$(Yl)],F);const bo=P`
2030
2030
  /*OMBRE*/
2031
2031
  :host([shadow]) .shadowable,
2032
2032
  :host([shadow="md"]) .shadowable,
@@ -2091,7 +2091,7 @@
2091
2091
  :host([inline]) {
2092
2092
  vertical-align: baseline;
2093
2093
  }
2094
- `,bo],It([L()],nt.prototype,"open",2),It([De("slot:not([name=content])")],nt.prototype,"popBtn",2),It([De("slot[name=content]")],nt.prototype,"popContent",2),It([l({type:Boolean})],nt.prototype,"noToggle",2),It([l({type:Boolean,reflect:!0})],nt.prototype,"inline",2),It([l({type:Boolean})],nt.prototype,"manual",2),It([l({type:String,reflect:!0})],nt.prototype,"shadow",2),It([l({type:String})],nt.prototype,"placement",2),It([L()],nt.prototype,"triggerElement",2),nt=It([$(Gl)],nt);var Ql=Object.defineProperty,Jl=Object.getOwnPropertyDescriptor,tc=(r,t,e,i)=>{for(var s=i>1?void 0:i?Jl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ql(t,e,s),s};const ec="sonic-menu-item";let vo=class extends I{constructor(){super()}connectedCallback(){this.hasAttribute("variant")||(this.variant="ghost"),this.hasAttribute("type")||(this.type="default"),this.hasAttribute("shape")||(this.shape="block");const r=this.shape==="square"||this.shape==="circle";!this.hasAttribute("align")&&!r&&(this.align="left"),super.connectedCallback()}};vo=tc([$(ec)],vo);/**
2094
+ `,bo],It([L()],nt.prototype,"open",2),It([De("slot:not([name=content])")],nt.prototype,"popBtn",2),It([De("slot[name=content]")],nt.prototype,"popContent",2),It([l({type:Boolean})],nt.prototype,"noToggle",2),It([l({type:Boolean,reflect:!0})],nt.prototype,"inline",2),It([l({type:Boolean})],nt.prototype,"manual",2),It([l({type:String,reflect:!0})],nt.prototype,"shadow",2),It([l({type:String})],nt.prototype,"placement",2),It([L()],nt.prototype,"triggerElement",2),nt=It([$(Gl)],nt);var Ql=Object.defineProperty,Jl=Object.getOwnPropertyDescriptor,tc=(r,t,e,i)=>{for(var s=i>1?void 0:i?Jl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ql(t,e,s),s};const ec="sonic-menu-item";let vo=class extends j{constructor(){super()}connectedCallback(){this.hasAttribute("variant")||(this.variant="ghost"),this.hasAttribute("type")||(this.type="default"),this.hasAttribute("shape")||(this.shape="block");const r=this.shape==="square"||this.shape==="circle";!this.hasAttribute("align")&&!r&&(this.align="left"),super.connectedCallback()}};vo=tc([$(ec)],vo);/**
2095
2095
  * @license
2096
2096
  * Copyright 2021 Google LLC
2097
2097
  * SPDX-License-Identifier: BSD-3-Clause
@@ -2436,7 +2436,7 @@
2436
2436
  input + sonic-icon {
2437
2437
  display: none;
2438
2438
  }
2439
- `],zi=yc([$(_c)],zi);var wc=Object.defineProperty,xc=Object.getOwnPropertyDescriptor,J=(r,t,e,i)=>{for(var s=i>1?void 0:i?xc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&wc(t,e,s),s};const $c="sonic-select";let Z=class extends Me(G(x)){constructor(){super(...arguments),this.valueKey="value",this.wordingKey="wording",this.multiple=!1,this.status="default",this._options=[],this.hasDoneFirstUpdate=!1,this._value="",this.updateOptions=()=>{const r=this.querySelectorAll("option");r.length>0&&(this.options=Array.from(r).map(t=>({value:t.value,wording:t.text,selected:t.hasAttribute("selected")})))},this.forceAutoFill=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1}set options(r){this._options=r;for(const e of r)e.selected&&(this.value=e[this.valueKey]||"");!(this.value||this.getAttribute("value"))&&this._options.length>0&&(this.value=this._options[0][this.valueKey]),this.requestUpdate()}get options(){return this._options}firstUpdated(r){this.hasDoneFirstUpdate=!0,super.firstUpdated(r)}set value(r){r==null&&!this.hasDoneFirstUpdate||(r||(r=""),this._value!=r&&(this._value=r,this.updateFormPublisherValue(),this.requestUpdate()))}get value(){return this._value}updateFormPublisherValue(){this.setFormPublisherValue(this.value)}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps(),this.updateOptions()}get description(){return this._description}set description(r){this.hasAttribute("description")&&!this.forceAutoFill&&(r=this.getAttribute("description")),this._description=r,this.requestUpdate()}get label(){return this._label}set label(r){this.hasAttribute("label")&&!this.forceAutoFill&&(r=this.getAttribute("label")),this._label=r,this.requestUpdate()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("select");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix};return m`
2439
+ `],zi=yc([$(_c)],zi);var wc=Object.defineProperty,xc=Object.getOwnPropertyDescriptor,tt=(r,t,e,i)=>{for(var s=i>1?void 0:i?xc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&wc(t,e,s),s};const $c="sonic-select";let Z=class extends Me(G(x)){constructor(){super(...arguments),this.valueKey="value",this.wordingKey="wording",this.multiple=!1,this.status="default",this._options=[],this.hasDoneFirstUpdate=!1,this._value="",this.updateOptions=()=>{const r=this.querySelectorAll("option");r.length>0&&(this.options=Array.from(r).map(t=>({value:t.value,wording:t.text,selected:t.hasAttribute("selected")})))},this.forceAutoFill=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1}set options(r){this._options=r;for(const e of r)e.selected&&(this.value=e[this.valueKey]||"");!(this.value||this.getAttribute("value"))&&this._options.length>0&&(this.value=this._options[0][this.valueKey]),this.requestUpdate()}get options(){return this._options}firstUpdated(r){this.hasDoneFirstUpdate=!0,super.firstUpdated(r)}set value(r){r==null&&!this.hasDoneFirstUpdate||(r||(r=""),this._value!=r&&(this._value=r,this.updateFormPublisherValue(),this.requestUpdate()))}get value(){return this._value}updateFormPublisherValue(){this.setFormPublisherValue(this.value)}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps(),this.updateOptions()}get description(){return this._description}set description(r){this.hasAttribute("description")&&!this.forceAutoFill&&(r=this.getAttribute("description")),this._description=r,this.requestUpdate()}get label(){return this._label}set label(r){this.hasAttribute("label")&&!this.forceAutoFill&&(r=this.getAttribute("label")),this._label=r,this.requestUpdate()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("select");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix};return m`
2440
2440
  <label
2441
2441
  for="form-element"
2442
2442
  class="${this.hasLabel?"form-label":"hidden"}"
@@ -2540,7 +2540,7 @@
2540
2540
  :host([multiple]) sonic-icon {
2541
2541
  display: none !important;
2542
2542
  }
2543
- `],J([l({type:String})],Z.prototype,"valueKey",2),J([l({type:String})],Z.prototype,"wordingKey",2),J([l({type:Boolean})],Z.prototype,"multiple",2),J([l({type:String,reflect:!0})],Z.prototype,"size",2),J([l({type:Number})],Z.prototype,"selectSize",2),J([l({type:String,reflect:!0})],Z.prototype,"status",2),J([l({type:Array})],Z.prototype,"options",1),J([l({reflect:!0})],Z.prototype,"value",1),J([l({type:Boolean})],Z.prototype,"forceAutoFill",2),J([l()],Z.prototype,"description",1),J([l()],Z.prototype,"label",1),J([ct({slot:"label",flatten:!0})],Z.prototype,"slotLabelNodes",2),J([ct({slot:"description",flatten:!0})],Z.prototype,"slotDescriptionNodes",2),J([ct({slot:"suffix",flatten:!0})],Z.prototype,"slotSuffixNodes",2),J([ct({slot:"prefix",flatten:!0})],Z.prototype,"slotPrefixNodes",2),J([L()],Z.prototype,"hasDescription",2),J([L()],Z.prototype,"hasLabel",2),J([L()],Z.prototype,"hasSuffix",2),J([L()],Z.prototype,"hasPrefix",2),Z=J([$($c)],Z);var Pc=Object.defineProperty,Cc=Object.getOwnPropertyDescriptor,vt=(r,t,e,i)=>{for(var s=i>1?void 0:i?Cc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Pc(t,e,s),s};const Ac="sonic-textarea";let dt=class extends Us(Me(G(x))){constructor(){super(...arguments),this.size="md",this.readonly=!1,this.resize="vertical",this.hasDescription=!1,this.hasLabel=!1}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("textarea");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={resize:this.resize};return m`
2543
+ `],tt([l({type:String})],Z.prototype,"valueKey",2),tt([l({type:String})],Z.prototype,"wordingKey",2),tt([l({type:Boolean})],Z.prototype,"multiple",2),tt([l({type:String,reflect:!0})],Z.prototype,"size",2),tt([l({type:Number})],Z.prototype,"selectSize",2),tt([l({type:String,reflect:!0})],Z.prototype,"status",2),tt([l({type:Array})],Z.prototype,"options",1),tt([l({reflect:!0})],Z.prototype,"value",1),tt([l({type:Boolean})],Z.prototype,"forceAutoFill",2),tt([l()],Z.prototype,"description",1),tt([l()],Z.prototype,"label",1),tt([ct({slot:"label",flatten:!0})],Z.prototype,"slotLabelNodes",2),tt([ct({slot:"description",flatten:!0})],Z.prototype,"slotDescriptionNodes",2),tt([ct({slot:"suffix",flatten:!0})],Z.prototype,"slotSuffixNodes",2),tt([ct({slot:"prefix",flatten:!0})],Z.prototype,"slotPrefixNodes",2),tt([L()],Z.prototype,"hasDescription",2),tt([L()],Z.prototype,"hasLabel",2),tt([L()],Z.prototype,"hasSuffix",2),tt([L()],Z.prototype,"hasPrefix",2),Z=tt([$($c)],Z);var Pc=Object.defineProperty,Cc=Object.getOwnPropertyDescriptor,vt=(r,t,e,i)=>{for(var s=i>1?void 0:i?Cc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Pc(t,e,s),s};const Ac="sonic-textarea";let dt=class extends Us(Me(G(x))){constructor(){super(...arguments),this.size="md",this.readonly=!1,this.resize="vertical",this.hasDescription=!1,this.hasLabel=!1}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("textarea");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={resize:this.resize};return m`
2544
2544
  <label
2545
2545
  for="${this.id||"form-element"}"
2546
2546
  class="${this.hasLabel?"form-label":"hidden"}"
@@ -3073,7 +3073,7 @@ ${this.value}</textarea
3073
3073
  font-weight: var(--sc-headings-font-weight, 700);
3074
3074
  font-style: var(--sc-headings-font-style, normal);
3075
3075
  }
3076
- `],Wi=uh([$(fh)],Wi);var mh=Object.defineProperty,gh=Object.getOwnPropertyDescriptor,tt=(r,t,e,i)=>{for(var s=i>1?void 0:i?gh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&mh(t,e,s),s};const wo="sonic-modal";let F=class extends G(x){constructor(){super(...arguments),this.forceAction=!1,this.removeOnHide=!1,this.removeHashOnHide=!1,this.align="left",this.maxWidth="min(100vw, 40rem)",this.maxHeight="90vh",this.width="100%",this.height="fit-content",this.effect="slide",this.fullScreen=!1,this.visible=!1,this.closeOnLocationChange=!1,this.location="",this._animationState="hidden",this._animationConfig={quartOut:"cubic-bezier(0.165, 0.84, 0.44, 1)",quadOut:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",linear:"linear",translateY:"translateY(2.5rem)",durationIn:300,durationOut:300}}static create(r){const t=document.createElement(wo);return t.options=r,r.removeHashOnHide===!0&&t.setAttribute("removeHashOnHide","true"),r.removeOnHide===!0&&t.setAttribute("removeOnHide","true"),r.closeOnLocationChange===!0&&t.setAttribute("closeOnLocationChange","true"),r.maxWidth&&(t.maxWidth=r==null?void 0:r.maxWidth),r.width&&(t.width=r==null?void 0:r.width),r.maxHeight&&(t.maxHeight=r==null?void 0:r.maxHeight),r.height&&(t.height=r==null?void 0:r.height),r.forceAction&&(t.forceAction=!0),r.fullScreen&&(t.fullScreen=r==null?void 0:r.fullScreen),r.effect&&(t.effect=r==null?void 0:r.effect),r.paddingX&&(t.paddingX=r==null?void 0:r.paddingX),r.paddingY&&(t.paddingY=r==null?void 0:r.paddingY),r.zIndex&&(t.zIndex=r==null?void 0:r.zIndex),_t.getPopContainer().appendChild(t),t.updateComplete.then(()=>{t.show()}),t}connectedCallback(){F.modals.push(this),it.onChange(this),super.connectedCallback()}disconnectedCallback(){it.offChange(this),F.modals.splice(F.modals.indexOf(this),1),this.removeEventListener("keydown",this.handleEscape),super.disconnectedCallback()}firstUpdated(){this.addEventListener("keydown",this.handleEscape)}willUpdate(r){if(this.closeOnLocationChange&&r.has("location")){const t=r.get("location");t&&this.location&&this.location!==t&&setTimeout(()=>{this.hide()},50)}r.has("zIndex")&&this.style.setProperty("--sc_z-index",this.zIndex||"990"),r.has("paddingX")&&this.style.setProperty("--sc-modal-px",this.paddingX||""),r.has("paddingY")&&this.style.setProperty("--sc-modal-py",this.paddingY||""),super.willUpdate(r)}updated(r){const t=!r.get("visible")&&this.visible,e=r.get("visible")&&!this.visible;t&&this._animationState==="hidden"?this.show():e&&this._animationState==="visible"&&this.hide()}handleOverlayClick(r){!this.forceAction&&this._animationState==="visible"&&this.hide()}render(){const r={maxWidth:this.maxWidth,maxHeight:this.maxHeight,width:this.width,height:this.height,pointerEvents:this._animationState==="visible"?"auto":"none"},t={display:this.fullScreen?"none":"block",pointerEvents:this._animationState==="visible"?"auto":"none"};return m`
3076
+ `],Wi=uh([$(fh)],Wi);var mh=Object.defineProperty,gh=Object.getOwnPropertyDescriptor,J=(r,t,e,i)=>{for(var s=i>1?void 0:i?gh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&mh(t,e,s),s};const wo="sonic-modal";let I=class extends G(x){constructor(){super(...arguments),this.forceAction=!1,this.noCloseButton=!1,this.removeOnHide=!1,this.removeHashOnHide=!1,this.align="left",this.maxWidth="min(100vw, 40rem)",this.maxHeight="90vh",this.width="100%",this.height="fit-content",this.effect="slide",this.fullScreen=!1,this.visible=!1,this.closeOnLocationChange=!1,this.location="",this._animationState="hidden",this._animationConfig={quartOut:"cubic-bezier(0.165, 0.84, 0.44, 1)",quadOut:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",linear:"linear",translateY:"translateY(2.5rem)",durationIn:300,durationOut:300}}static create(r){const t=document.createElement(wo);return t.options=r,r.removeHashOnHide===!0&&t.setAttribute("removeHashOnHide","true"),r.removeOnHide===!0&&t.setAttribute("removeOnHide","true"),r.closeOnLocationChange===!0&&t.setAttribute("closeOnLocationChange","true"),r.maxWidth&&(t.maxWidth=r==null?void 0:r.maxWidth),r.width&&(t.width=r==null?void 0:r.width),r.maxHeight&&(t.maxHeight=r==null?void 0:r.maxHeight),r.height&&(t.height=r==null?void 0:r.height),r.forceAction&&(t.forceAction=!0),r.fullScreen&&(t.fullScreen=r==null?void 0:r.fullScreen),r.effect&&(t.effect=r==null?void 0:r.effect),r.noCloseButton&&(t.noCloseButton=!0),r.paddingX&&(t.paddingX=r==null?void 0:r.paddingX),r.paddingY&&(t.paddingY=r==null?void 0:r.paddingY),r.zIndex&&(t.zIndex=r==null?void 0:r.zIndex),_t.getPopContainer().appendChild(t),t.updateComplete.then(()=>{t.show()}),t}connectedCallback(){I.modals.push(this),it.onChange(this),super.connectedCallback()}disconnectedCallback(){it.offChange(this),I.modals.splice(I.modals.indexOf(this),1),this.removeEventListener("keydown",this.handleEscape),super.disconnectedCallback()}firstUpdated(){this.addEventListener("keydown",this.handleEscape)}willUpdate(r){if(this.closeOnLocationChange&&r.has("location")){const t=r.get("location");t&&this.location&&this.location!==t&&setTimeout(()=>{this.hide()},50)}r.has("zIndex")&&this.style.setProperty("--sc_z-index",this.zIndex||"990"),r.has("paddingX")&&this.style.setProperty("--sc-modal-px",this.paddingX||""),r.has("paddingY")&&this.style.setProperty("--sc-modal-py",this.paddingY||""),super.willUpdate(r)}updated(r){const t=!r.get("visible")&&this.visible,e=r.get("visible")&&!this.visible;t&&this._animationState==="hidden"?this.show():e&&this._animationState==="visible"&&this.hide()}handleOverlayClick(r){!this.forceAction&&this._animationState==="visible"&&this.hide()}render(){const r={maxWidth:this.maxWidth,maxHeight:this.maxHeight,width:this.width,height:this.height,pointerEvents:this._animationState==="visible"?"auto":"none"},t={display:this.fullScreen?"none":"block",pointerEvents:this._animationState==="visible"?"auto":"none"};return m`
3077
3077
  <div
3078
3078
  id="backdrop"
3079
3079
  @click=${this.handleOverlayClick}
@@ -3087,13 +3087,13 @@ ${this.value}</textarea
3087
3087
  style=${bt(r)}
3088
3088
  >
3089
3089
  ${this._animationState!=="hidden"?m`<div id="modal-content">
3090
- ${this.forceAction?A:m`<sonic-modal-close></sonic-modal-close>`}
3090
+ ${!this.forceAction&&!this.noCloseButton?m`<sonic-modal-close></sonic-modal-close>`:A}
3091
3091
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}
3092
3092
  ${this.modalFragment("content")} ${this.modalFragment("actions")}
3093
3093
  <slot></slot>
3094
3094
  </div>`:A}
3095
3095
  </dialog>
3096
- `}modalFragment(r){var i;const t=(i=this.options)==null?void 0:i[r];if(!t)return A;let e;switch(t instanceof Object?e=t:e=z(t),r){case"title":return m`<sonic-modal-title>${e}</sonic-modal-title>`;case"subtitle":return m`<sonic-modal-subtitle>${e}</sonic-modal-subtitle>`;case"content":return m`<sonic-modal-content>${e}</sonic-modal-content>`;case"actions":return m`<sonic-modal-actions>${e}</sonic-modal-actions>`;default:return A}}async show(){this._modalElement.show(),this._animationState="in",await this.animation("in"),this._animationState="visible",this.visible=!0,this.dispatchEvent(new CustomEvent("show")),this._modalElement.focus()}async hide(){this._animationState="out",this.dispatchEvent(new CustomEvent("hide")),await this.animation("out"),this._modalElement.close(),this._animationState="hidden",this.visible=!1,this.hasAttribute("resetDataProviderOnHide")&&rt.get(this.getAttribute("resetDataProviderOnHide")).set({}),this.removeHashOnHide&&window.history.replaceState({},"",window.location.pathname),this.removeOnHide&&this.remove(),this.dispatchEvent(new CustomEvent("hidden"))}async dispose(){await this.hide(),this.remove()}static disposeAll(){F.modals.forEach(r=>{r.dispose()})}handleEscape(r){if(r.key==="Escape"){r.preventDefault();const t=F.modals.filter(e=>e._animationState!=="hidden"&&!e.forceAction);t.length>0&&t[t.length-1].hide()}}animation(r){return new Promise(t=>{const{quartOut:e,linear:i,translateY:s,durationIn:o,durationOut:n,quadOut:a}=this._animationConfig,c=this._modalElement;if(!c)return t();const h=r==="in",d=h?o:n,p=!this.fullScreen&&h?100:0;this.fullScreen||(h?this.style.setProperty("--sc_backdrop-opacity","0.8"):setTimeout(()=>{this.style.setProperty("--sc_backdrop-opacity","0")},150));const g=[];this.effect==="slide"&&(g.push(c.animate([{transform:h?s:"translateY(0)"},{transform:h?"translateY(0)":s}],{duration:d,easing:h?e:a,fill:"both",delay:p})),g.push(c.animate([{opacity:h?0:1},{opacity:h?1:0}],{duration:d,easing:i,fill:"both",delay:p}))),Promise.all(g.map(v=>v.finished)).then(()=>t())})}};F.styles=[cs,P`
3096
+ `}modalFragment(r){var i;const t=(i=this.options)==null?void 0:i[r];if(!t)return A;let e;switch(t instanceof Object?e=t:e=z(t),r){case"title":return m`<sonic-modal-title>${e}</sonic-modal-title>`;case"subtitle":return m`<sonic-modal-subtitle>${e}</sonic-modal-subtitle>`;case"content":return m`<sonic-modal-content>${e}</sonic-modal-content>`;case"actions":return m`<sonic-modal-actions>${e}</sonic-modal-actions>`;default:return A}}async show(){this._modalElement.show(),this._animationState="in",await this.animation("in"),this._animationState="visible",this.visible=!0,this.dispatchEvent(new CustomEvent("show")),this._modalElement.focus()}async hide(){this._animationState="out",this.dispatchEvent(new CustomEvent("hide")),await this.animation("out"),this._modalElement.close(),this._animationState="hidden",this.visible=!1,this.hasAttribute("resetDataProviderOnHide")&&rt.get(this.getAttribute("resetDataProviderOnHide")).set({}),this.removeHashOnHide&&window.history.replaceState({},"",window.location.pathname),this.removeOnHide&&this.remove(),this.dispatchEvent(new CustomEvent("hidden"))}async dispose(){await this.hide(),this.remove()}static disposeAll(){I.modals.forEach(r=>{r.dispose()})}handleEscape(r){if(r.key==="Escape"){r.preventDefault();const t=I.modals.filter(e=>e._animationState!=="hidden"&&!e.forceAction);t.length>0&&t[t.length-1].hide()}}animation(r){return new Promise(t=>{const{quartOut:e,linear:i,translateY:s,durationIn:o,durationOut:n,quadOut:a}=this._animationConfig,c=this._modalElement;if(!c)return t();const h=r==="in",d=h?o:n,p=!this.fullScreen&&h?100:0;this.fullScreen||(h?this.style.setProperty("--sc_backdrop-opacity","0.8"):setTimeout(()=>{this.style.setProperty("--sc_backdrop-opacity","0")},150));const g=[];this.effect==="slide"&&(g.push(c.animate([{transform:h?s:"translateY(0)"},{transform:h?"translateY(0)":s}],{duration:d,easing:h?e:a,fill:"both",delay:p})),g.push(c.animate([{opacity:h?0:1},{opacity:h?1:0}],{duration:d,easing:i,fill:"both",delay:p}))),Promise.all(g.map(v=>v.finished)).then(()=>t())})}};I.styles=[cs,P`
3097
3097
  :host {
3098
3098
  --sc-modal-py: 2.5rem;
3099
3099
  --sc-modal-px: 1.5rem;
@@ -3227,7 +3227,7 @@ ${this.value}</textarea
3227
3227
  :host([rounded="none"]) #modal {
3228
3228
  --sc-img-radius: 0 !important;
3229
3229
  }
3230
- `],F.modals=[],tt([l({type:Boolean})],F.prototype,"forceAction",2),tt([l({type:Boolean})],F.prototype,"removeOnHide",2),tt([l({type:Boolean})],F.prototype,"removeHashOnHide",2),tt([l({type:String,reflect:!0})],F.prototype,"align",2),tt([l({type:String})],F.prototype,"paddingX",2),tt([l({type:String})],F.prototype,"paddingY",2),tt([l({type:String})],F.prototype,"maxWidth",2),tt([l({type:String})],F.prototype,"maxHeight",2),tt([l({type:String})],F.prototype,"zIndex",2),tt([l({type:String})],F.prototype,"width",2),tt([l({type:String})],F.prototype,"height",2),tt([l({type:String})],F.prototype,"effect",2),tt([l({type:Object})],F.prototype,"options",2),tt([l({type:Boolean,reflect:!0})],F.prototype,"fullScreen",2),tt([l({type:Boolean,reflect:!0})],F.prototype,"visible",2),tt([De("#modal")],F.prototype,"_modalElement",2),tt([l({type:Boolean})],F.prototype,"closeOnLocationChange",2),tt([L()],F.prototype,"location",2),tt([L()],F.prototype,"_animationState",2),F=tt([$(wo)],F),typeof window<"u"&&(window.SonicModal=F);var bh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,Rt=(r,t,e,i)=>{for(var s=i>1?void 0:i?vh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&bh(t,e,s),s};const yh={warning:"warning-circled-outline",success:"check-circled-outline",error:"warning-circled-outline",info:"info-empty",default:"info-empty"},_h="sonic-alert";let At=class extends x{constructor(){super(...arguments),this.label="",this.noIcon=!1,this.text="",this.id=new Date().getTime().toString(),this.dismissible=!1,this.background=!1,this.status="default",this.dismissForever=!1}connectedCallback(){if(this.dismissForever){const r=localStorage.getItem("sonic-alert-dismissed")||"{}";JSON.parse(r)[this.id]&&this.remove()}super.connectedCallback()}render(){return m`
3230
+ `],I.modals=[],J([l({type:Boolean})],I.prototype,"forceAction",2),J([l({type:Boolean})],I.prototype,"noCloseButton",2),J([l({type:Boolean})],I.prototype,"removeOnHide",2),J([l({type:Boolean})],I.prototype,"removeHashOnHide",2),J([l({type:String,reflect:!0})],I.prototype,"align",2),J([l({type:String})],I.prototype,"paddingX",2),J([l({type:String})],I.prototype,"paddingY",2),J([l({type:String})],I.prototype,"maxWidth",2),J([l({type:String})],I.prototype,"maxHeight",2),J([l({type:String})],I.prototype,"zIndex",2),J([l({type:String})],I.prototype,"width",2),J([l({type:String})],I.prototype,"height",2),J([l({type:String})],I.prototype,"effect",2),J([l({type:Object})],I.prototype,"options",2),J([l({type:Boolean,reflect:!0})],I.prototype,"fullScreen",2),J([l({type:Boolean,reflect:!0})],I.prototype,"visible",2),J([De("#modal")],I.prototype,"_modalElement",2),J([l({type:Boolean})],I.prototype,"closeOnLocationChange",2),J([L()],I.prototype,"location",2),J([L()],I.prototype,"_animationState",2),I=J([$(wo)],I),typeof window<"u"&&(window.SonicModal=I);var bh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,Rt=(r,t,e,i)=>{for(var s=i>1?void 0:i?vh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&bh(t,e,s),s};const yh={warning:"warning-circled-outline",success:"check-circled-outline",error:"warning-circled-outline",info:"info-empty",default:"info-empty"},_h="sonic-alert";let At=class extends x{constructor(){super(...arguments),this.label="",this.noIcon=!1,this.text="",this.id=new Date().getTime().toString(),this.dismissible=!1,this.background=!1,this.status="default",this.dismissForever=!1}connectedCallback(){if(this.dismissForever){const r=localStorage.getItem("sonic-alert-dismissed")||"{}";JSON.parse(r)[this.id]&&this.remove()}super.connectedCallback()}render(){return m`
3231
3231
  <slot name="icon" class="${this.noIcon?"hidden":""}"
3232
3232
  >${this.noIcon?A:m`<div>
3233
3233
  ${this.status&&m`<sonic-icon name=${yh[this.status]}></sonic-icon>`}
@@ -4183,4 +4183,4 @@ ${this.value}</textarea
4183
4183
  --altcha-color-footer-bg: var(--sc-base-100, #000);
4184
4184
  --altcha-max-width: 260px;
4185
4185
  }
4186
- `],Js([l()],Ve.prototype,"key",2),Js([l()],Ve.prototype,"action",2),Js([l({type:Number})],Ve.prototype,"zIndex",2),Ve=Js([$(Md)],Ve),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Id(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function jd(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Ao(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Id,r.__onDisconnected__=jd;const t=r.connectedCallback;r.connectedCallback=function(){t.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(i=>i(this))};const e=r.disconnectedCallback;r.disconnectedCallback=function(){e.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(i=>i(this))}}function Fd(r){const t=r.split(".");if(t.length==0)return function(){};const e=t.shift()||"";let i=T.get(e);return i=ts.traverse(i,t),function(s,o){if(!s)return;let n;Ao(s),s.__onConnected__(a=>{n=c=>{a[o]=c},i.onAssign(n)}),s.__onDisconnected__(()=>{i.offAssign(n)})}}function zd(...r){const t=[],e=[];for(let i=0;i<r.length;i++){const o=r[i].split(".");if(o.length==0)continue;const n=o.shift()||"";let a=T.get(n);a=ts.traverse(a,o);const c=new Set,h=d=>{t[i]=d,t.filter(p=>p!==null).length==r.length&&c.forEach(p=>p(...t))};e.push({publisher:a,onAssign:h,callbacks:c})}return function(i,s,o){Ao(i);let n;i.__onConnected__(a=>{for(const c of e)n=o.value.bind(a),c.callbacks.add(n),c.publisher.onAssign(c.onAssign)}),i.__onDisconnected__(()=>{for(const a of e)a.callbacks.delete(n),a.publisher.offAssign(a.onAssign)})}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:Fd,onAssing:zd},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:Lr,dataProvider:cn,sub:an,subscribe:nn,get:ln,set:hn};const Rd=k,Ud=F;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Rd,SonicModal:Ud};const Vd=window;Vd.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))});
4186
+ `],Js([l()],Ve.prototype,"key",2),Js([l()],Ve.prototype,"action",2),Js([l({type:Number})],Ve.prototype,"zIndex",2),Ve=Js([$(Md)],Ve),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Id(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function jd(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Ao(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Id,r.__onDisconnected__=jd;const t=r.connectedCallback;r.connectedCallback=function(){t.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(i=>i(this))};const e=r.disconnectedCallback;r.disconnectedCallback=function(){e.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(i=>i(this))}}function Fd(r){const t=r.split(".");if(t.length==0)return function(){};const e=t.shift()||"";let i=T.get(e);return i=ts.traverse(i,t),function(s,o){if(!s)return;let n;Ao(s),s.__onConnected__(a=>{n=c=>{a[o]=c},i.onAssign(n)}),s.__onDisconnected__(()=>{i.offAssign(n)})}}function zd(...r){const t=[],e=[];for(let i=0;i<r.length;i++){const o=r[i].split(".");if(o.length==0)continue;const n=o.shift()||"";let a=T.get(n);a=ts.traverse(a,o);const c=new Set,h=d=>{t[i]=d,t.filter(p=>p!==null).length==r.length&&c.forEach(p=>p(...t))};e.push({publisher:a,onAssign:h,callbacks:c})}return function(i,s,o){Ao(i);let n;i.__onConnected__(a=>{for(const c of e)n=o.value.bind(a),c.callbacks.add(n),c.publisher.onAssign(c.onAssign)}),i.__onDisconnected__(()=>{for(const a of e)a.callbacks.delete(n),a.publisher.offAssign(a.onAssign)})}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:Fd,onAssing:zd},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:Lr,dataProvider:cn,sub:an,subscribe:nn,get:ln,set:hn};const Rd=k,Ud=I;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Rd,SonicModal:Ud};const Vd=window;Vd.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))});
@@ -559,7 +559,7 @@ let M = (L = class {
559
559
  const h = await new Response(a.readable).arrayBuffer();
560
560
  return new TextDecoder().decode(h);
561
561
  }
562
- }, L.buildDate = "Thu Sep 04 2025 14:43:53 GMT+0200 (Central European Summer Time)", L.changed = !1, L.saving = !1, L.saveId = 0, L.instance = null, L.instances = /* @__PURE__ */ new Map(), L.modifiedCollectore = [], L);
562
+ }, L.buildDate = "Wed Sep 17 2025 09:34:47 GMT+0200 (Central European Summer Time)", L.changed = !1, L.saving = !1, L.saveId = 0, L.instance = null, L.instances = /* @__PURE__ */ new Map(), L.modifiedCollectore = [], L);
563
563
  if (typeof window < "u") {
564
564
  const r = window;
565
565
  r[Os + "PublisherManager"] = r[Os + "PublisherManager"] || M;
@@ -9522,7 +9522,7 @@ wi.styles = [
9522
9522
  wi = Vc([
9523
9523
  $(Bc)
9524
9524
  ], wi);
9525
- var Hc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, Q = (r, t, e, i) => {
9525
+ var Hc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, J = (r, t, e, i) => {
9526
9526
  for (var s = i > 1 ? void 0 : i ? qc(t, e) : t, o = r.length - 1, n; o >= 0; o--)
9527
9527
  (n = r[o]) && (s = (i ? n(t, e, s) : n(s)) || s);
9528
9528
  return i && s && Hc(t, e, s), s;
@@ -9722,64 +9722,64 @@ Y.styles = [
9722
9722
  }
9723
9723
  `
9724
9724
  ];
9725
- Q([
9725
+ J([
9726
9726
  l({ type: String })
9727
9727
  ], Y.prototype, "valueKey", 2);
9728
- Q([
9728
+ J([
9729
9729
  l({ type: String })
9730
9730
  ], Y.prototype, "wordingKey", 2);
9731
- Q([
9731
+ J([
9732
9732
  l({ type: Boolean })
9733
9733
  ], Y.prototype, "multiple", 2);
9734
- Q([
9734
+ J([
9735
9735
  l({ type: String, reflect: !0 })
9736
9736
  ], Y.prototype, "size", 2);
9737
- Q([
9737
+ J([
9738
9738
  l({ type: Number })
9739
9739
  ], Y.prototype, "selectSize", 2);
9740
- Q([
9740
+ J([
9741
9741
  l({ type: String, reflect: !0 })
9742
9742
  ], Y.prototype, "status", 2);
9743
- Q([
9743
+ J([
9744
9744
  l({ type: Array })
9745
9745
  ], Y.prototype, "options", 1);
9746
- Q([
9746
+ J([
9747
9747
  l({ reflect: !0 })
9748
9748
  ], Y.prototype, "value", 1);
9749
- Q([
9749
+ J([
9750
9750
  l({ type: Boolean })
9751
9751
  ], Y.prototype, "forceAutoFill", 2);
9752
- Q([
9752
+ J([
9753
9753
  l()
9754
9754
  ], Y.prototype, "description", 1);
9755
- Q([
9755
+ J([
9756
9756
  l()
9757
9757
  ], Y.prototype, "label", 1);
9758
- Q([
9758
+ J([
9759
9759
  dt({ slot: "label", flatten: !0 })
9760
9760
  ], Y.prototype, "slotLabelNodes", 2);
9761
- Q([
9761
+ J([
9762
9762
  dt({ slot: "description", flatten: !0 })
9763
9763
  ], Y.prototype, "slotDescriptionNodes", 2);
9764
- Q([
9764
+ J([
9765
9765
  dt({ slot: "suffix", flatten: !0 })
9766
9766
  ], Y.prototype, "slotSuffixNodes", 2);
9767
- Q([
9767
+ J([
9768
9768
  dt({ slot: "prefix", flatten: !0 })
9769
9769
  ], Y.prototype, "slotPrefixNodes", 2);
9770
- Q([
9770
+ J([
9771
9771
  E()
9772
9772
  ], Y.prototype, "hasDescription", 2);
9773
- Q([
9773
+ J([
9774
9774
  E()
9775
9775
  ], Y.prototype, "hasLabel", 2);
9776
- Q([
9776
+ J([
9777
9777
  E()
9778
9778
  ], Y.prototype, "hasSuffix", 2);
9779
- Q([
9779
+ J([
9780
9780
  E()
9781
9781
  ], Y.prototype, "hasPrefix", 2);
9782
- Y = Q([
9782
+ Y = J([
9783
9783
  $(Wc)
9784
9784
  ], Y);
9785
9785
  var Kc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, vt = (r, t, e, i) => {
@@ -10949,7 +10949,7 @@ Ci.styles = [
10949
10949
  Ci = Ih([
10950
10950
  $(jh)
10951
10951
  ], Ci);
10952
- var Fh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, J = (r, t, e, i) => {
10952
+ var Fh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, Q = (r, t, e, i) => {
10953
10953
  for (var s = i > 1 ? void 0 : i ? zh(t, e) : t, o = r.length - 1, n; o >= 0; o--)
10954
10954
  (n = r[o]) && (s = (i ? n(t, e, s) : n(s)) || s);
10955
10955
  return i && s && Fh(t, e, s), s;
@@ -10957,7 +10957,7 @@ var Fh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, J = (r, t,
10957
10957
  const So = "sonic-modal";
10958
10958
  let I = class extends G(x) {
10959
10959
  constructor() {
10960
- super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
10960
+ super(...arguments), this.forceAction = !1, this.noCloseButton = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
10961
10961
  quartOut: "cubic-bezier(0.165, 0.84, 0.44, 1)",
10962
10962
  quadOut: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
10963
10963
  linear: "linear",
@@ -10968,7 +10968,7 @@ let I = class extends G(x) {
10968
10968
  }
10969
10969
  static create(r) {
10970
10970
  const t = document.createElement(So);
10971
- return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.paddingX && (t.paddingX = r == null ? void 0 : r.paddingX), r.paddingY && (t.paddingY = r == null ? void 0 : r.paddingY), r.zIndex && (t.zIndex = r == null ? void 0 : r.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
10971
+ return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.noCloseButton && (t.noCloseButton = !0), r.paddingX && (t.paddingX = r == null ? void 0 : r.paddingX), r.paddingY && (t.paddingY = r == null ? void 0 : r.paddingY), r.zIndex && (t.zIndex = r == null ? void 0 : r.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
10972
10972
  t.show();
10973
10973
  }), t;
10974
10974
  }
@@ -11033,7 +11033,7 @@ let I = class extends G(x) {
11033
11033
  style=${bt(r)}
11034
11034
  >
11035
11035
  ${this._animationState !== "hidden" ? g`<div id="modal-content">
11036
- ${this.forceAction ? A : g`<sonic-modal-close></sonic-modal-close>`}
11036
+ ${!this.forceAction && !this.noCloseButton ? g`<sonic-modal-close></sonic-modal-close>` : A}
11037
11037
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}
11038
11038
  ${this.modalFragment("content")} ${this.modalFragment("actions")}
11039
11039
  <slot></slot>
@@ -11269,64 +11269,67 @@ I.styles = [
11269
11269
  `
11270
11270
  ];
11271
11271
  I.modals = [];
11272
- J([
11272
+ Q([
11273
11273
  l({ type: Boolean })
11274
11274
  ], I.prototype, "forceAction", 2);
11275
- J([
11275
+ Q([
11276
+ l({ type: Boolean })
11277
+ ], I.prototype, "noCloseButton", 2);
11278
+ Q([
11276
11279
  l({ type: Boolean })
11277
11280
  ], I.prototype, "removeOnHide", 2);
11278
- J([
11281
+ Q([
11279
11282
  l({ type: Boolean })
11280
11283
  ], I.prototype, "removeHashOnHide", 2);
11281
- J([
11284
+ Q([
11282
11285
  l({ type: String, reflect: !0 })
11283
11286
  ], I.prototype, "align", 2);
11284
- J([
11287
+ Q([
11285
11288
  l({ type: String })
11286
11289
  ], I.prototype, "paddingX", 2);
11287
- J([
11290
+ Q([
11288
11291
  l({ type: String })
11289
11292
  ], I.prototype, "paddingY", 2);
11290
- J([
11293
+ Q([
11291
11294
  l({ type: String })
11292
11295
  ], I.prototype, "maxWidth", 2);
11293
- J([
11296
+ Q([
11294
11297
  l({ type: String })
11295
11298
  ], I.prototype, "maxHeight", 2);
11296
- J([
11299
+ Q([
11297
11300
  l({ type: String })
11298
11301
  ], I.prototype, "zIndex", 2);
11299
- J([
11302
+ Q([
11300
11303
  l({ type: String })
11301
11304
  ], I.prototype, "width", 2);
11302
- J([
11305
+ Q([
11303
11306
  l({ type: String })
11304
11307
  ], I.prototype, "height", 2);
11305
- J([
11308
+ Q([
11306
11309
  l({ type: String })
11307
11310
  ], I.prototype, "effect", 2);
11308
- J([
11311
+ Q([
11309
11312
  l({ type: Object })
11310
11313
  ], I.prototype, "options", 2);
11311
- J([
11314
+ Q([
11312
11315
  l({ type: Boolean, reflect: !0 })
11313
11316
  ], I.prototype, "fullScreen", 2);
11314
- J([
11317
+ Q([
11315
11318
  l({ type: Boolean, reflect: !0 })
11316
11319
  ], I.prototype, "visible", 2);
11317
- J([
11320
+ Q([
11318
11321
  Te("#modal")
11319
11322
  ], I.prototype, "_modalElement", 2);
11320
- J([
11323
+ Q([
11321
11324
  l({ type: Boolean })
11322
11325
  ], I.prototype, "closeOnLocationChange", 2);
11323
- J([
11326
+ Q([
11324
11327
  E()
11325
11328
  ], I.prototype, "location", 2);
11326
- J([
11329
+ Q([
11327
11330
  E()
11328
11331
  ], I.prototype, "_animationState", 2);
11329
- I = J([
11332
+ I = Q([
11330
11333
  $(So)
11331
11334
  ], I);
11332
11335
  typeof window < "u" && (window.SonicModal = I);
@@ -1,4 +1,4 @@
1
- (function(K){typeof define=="function"&&define.amd?define(K):K()})(function(){"use strict";var Dt,E,N,So,t,X;let K=class Bt{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,e)=>{const i=e.indexOf("=");return t[e.substring(0,i).trim()]=e.substring(i+1),t},{})}static everyAncestors(t,e){for(;t;){if(!e(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const e=t;if(e.nodeType===1){const i=window.getComputedStyle(e);if((i==null?void 0:i.overflowY)==="auto"||(i==null?void 0:i.overflowY)==="scroll"||(i==null?void 0:i.overflowY)==="hidden"||(i==null?void 0:i.overflowX)==="auto"||(i==null?void 0:i.overflowX)==="scroll"||(i==null?void 0:i.overflowX)==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,e){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(e))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(e):null}static getApiConfiguration(t){const e=Bt.getAncestorAttributeValue(t,"token"),i=Bt.getAncestorAttributeValue(t,"addHTTPResponse")!=null,s=Bt.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const a=Bt.getAncestorAttributeValue(t,"tokenProvider"),c=Bt.getAncestorAttributeValue(t,"eventsApiToken");e||(o=Bt.getAncestorAttributeValue(t,"userName"),n=Bt.getAncestorAttributeValue(t,"password"));const h=Bt.getAncestorAttributeValue(t,"credentials")||void 0,d=t.getAttribute("cache"),p=t.hasAttribute("blockUntilDone");return{serviceURL:s,token:e,userName:o,password:n,authToken:c,tokenProvider:a,addHTTPResponse:i,credentials:h,cache:d,blockUntilDone:p}}static getClosestElement(t,e){for(;!(t.nodeName&&t.nodeName.toLowerCase()===e)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Bt.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async i=>{const s=document.createElement("script");s.src=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}static async loadCSS(t){return new Promise(async i=>{const s=document.createElement("link");s.type="text/css",s.rel="stylesheet",s.href=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}};const ei=r=>{const t=document.documentElement,e=new MutationObserver(s=>{for(let o of s)o.type==="attributes"&&o.attributeName==="lang"&&r()}),i={attributes:!0,attributeFilter:["lang"]};e.observe(t,i)};let ws=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,e="",i="long"){e||(e=K.getLanguage());const s=(h,d)=>[Math.floor(h/d),h%d];function o(h,d,p){return new Intl.NumberFormat(h,{style:"unit",unit:d,unitDisplay:p}).format}const[n,a]=s(t,60),c=[];return n&&c.push(o(e,"hour",i)(n)),a&&c.push(o(e,"minute",i)(a)),new Intl.ListFormat(e,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Eo=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(e=>{setTimeout(e,t)})}},rr="sonic";typeof __SONIC_PREFIX__<"u"&&(rr=__SONIC_PREFIX__);let or=rr.replace(/-([a-z])/g,r=>r[1].toUpperCase());const xs=or.charAt(0).toUpperCase()+or.slice(1);function $s(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function Be(r){return typeof r=="object"&&r!=null}let Se="sonic";typeof __SONIC_PREFIX__>"u"&&(Se="sonic"+Math.floor(Math.random()*1e6));const si=Se=="sonic"?"publisher-proxies-data":Se+"-publisher-proxies-data";let ii=(Dt=class{constructor(t,e,i){for(this._proxies_=new Map,this._is_savable_=!1,this._expiration_delay_=1e3*60*60*12,this._invalidate_on_page_show_=!1,this._invalidateListeners_=new Set,this._formInvalidateListeners_=new Set,this._assignListeners_=new Set,this._mutationListeners_=new Set,this._fillListeners_=new Set,this._templateFillListeners_=new Set,this._lockInternalMutationPublishing_=!1,this._instanceCounter_=0,this._assignmentId_=0,this._value_=t,this.parent=e||null,this._parentKey_=i,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){var t;for(const e in this._proxies_.keys())e!="_parent_"&&((t=this._proxies_.get(e))==null||t.delete());this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Dt.instances.delete(this._instanceCounter_)}hasListener(){return this._templateFillListeners_.size>0||this._assignListeners_.size>0||this._invalidateListeners_.size>0||this._formInvalidateListeners_.size>0||this._mutationListeners_.size>0||this._fillListeners_.size>0}_publishInternalMutation_(t=!1){if(this._mutationListeners_.forEach(e=>e()),this._is_savable_&&!T.changed){T.changed=!0,T.saveId++;const e=T.saveId;setTimeout(()=>T.getInstance().saveToLocalStorage(e),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const i=this.get();this._assignListeners_.forEach(s=>{s(i)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,e){this._fillListeners_.forEach(i=>{i[t]!==e&&(i[t]=e)}),this._publishTemplateFilling_(t,e)}_publishTemplateFilling_(t,e){this._templateFillListeners_.forEach(i=>{const s=Object.getOwnPropertyDescriptor(i,t);s&&!s.set&&!s.writable||(i.propertyMap&&i.propertyMap[t]&&(t=i.propertyMap[t]),typeof i[t]<"u"&&i[t]!==e&&(i[t]=e))})}onAssign(t,e=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),e&&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 e in this._value_){let i=e;const s=this._value_[e];t.propertyMap&&t.propertyMap[e]&&(i=t.propertyMap[e]),typeof t[e]<"u"&&t[e]!==s&&(t[i]=s)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const e in this._value_){const i=this._value_[e];t[e]!==i&&(t[e]=i)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,e=!1){var s,o,n;if(this._value_===t||this._value_&&t&&$s(this._value_)&&$s(t)&&this._value_.__value===t.__value)return!0;this._value_=Be(t)?t:{__value:t},this._cachedGet_=void 0;const i=$s(this._value_);if(this._parentKey_&&this.parent){const a=$s(this._value_)?this._value_.__value:this._value_;if(((s=this.parent)==null?void 0:s.get())==null&&((o=this.parent)==null?void 0:o.get())==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:a});else{const c=[];c[Number(this._parentKey_)]=a,this.parent.set(c)}else this.parent._value_[this._parentKey_]=a}if(i)return this._proxies_.forEach((a,c)=>{c!="_parent_"&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(e),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const a in this._value_)this._value_[a]===void 0&&delete this._value_[a];if(this._proxies_.forEach((a,c)=>{const h=this._value_[c];c!="_parent_"&&h===void 0&&h!==null&&isNaN(Number(c))&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),Be(this._value_))for(const a in this._value_){const c=t[a],d=Be(c)?c:{__value:c};if(!this._proxies_.has(a)){this._publishDynamicFilling_(a,c);continue}(n=this._proxies_.get(a))==null||n.set(d,!0),this._publishDynamicFilling_(a,c)}return!0}get(){if(this._cachedGet_!==void 0)return this._cachedGet_;if(T.modifiedCollectore.length>0&&T.modifiedCollectore[0].add(this),Object.prototype.hasOwnProperty.call(this._value_,"__value")){const t=this._value_.__value;return this._cachedGet_=t??null}return this._cachedGet_=this._value_!=null?this._value_:null}get $tag(){return this._instanceCounter_||(Dt.instancesCounter++,this._instanceCounter_=Dt.instancesCounter),Dt.instances.set(this._instanceCounter_,this),"<"+Se+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+Se+"-publisher-proxy>"}},Dt.instances=new Map,Dt.instancesCounter=0,Dt),T=(E=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],E.instance!=null)throw"Singleton / use getInstance";E.instance=this,this.isLocalStrorageReady=this.cleanStorageData()}invalidateAll(){this.publishers.forEach(t=>{t._invalidate_on_page_show_&&t.invalidate()})}async cleanStorageData(){return new Promise(t=>{(async()=>{try{let i=localStorage.getItem(si),s=null;if(i&&(s=await this.decompress(i,"gzip")),s)try{this.localStorageData=JSON.parse(s)}catch{this.localStorageData={}}else i=await this.compress("{}","gzip"),localStorage.setItem(si,i),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const a=this.localStorageData[n],c=new Date().getTime()-(a.expirationDelayMs||o);a.lastModifiationMS<c&&delete this.localStorageData[n]}t(!0)}catch{window.requestAnimationFrame(()=>{t(!1)}),console.warn("no publisher cache in this browser")}})()})}static getInstance(t){if(t){const e=E.instances.get(t);return e||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new E)}return E.instance==null?new E:E.instance}static registerInstance(t,e){E.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),E.instances.set(t,e)}static get(t,e){return E.getInstance().get(t,e)}static collectModifiedPublisher(){E.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return E.modifiedCollectore.shift()}static delete(t){return t?E.getInstance().delete(t):!1}async setLocalData(t,e){var i;await this.isLocalStrorageReady,t.set(((i=this.localStorageData[e+"¤lang_"+K.getLanguage()])==null?void 0:i.data)||t.get())}get(t,e){const i=(e==null?void 0:e.localStorageMode)==="enabled",s=(e==null?void 0:e.invalidateOnPageShow)===!0;if(!this.publishers.has(t)){const n={},a=new He(n);this.set(t,a)}const o=this.publishers.get(t);return i&&this.initialisedData.indexOf(t)===-1&&(e!=null&&e.expirationDelayMs&&(o._expiration_delay_=e.expirationDelayMs),o._is_savable_=!0,this.initialisedData.push(t),this.setLocalData(o,t)),s&&(o._invalidate_on_page_show_=s),this.publishers.get(t)}set(t,e){this.publishers.set(t,e)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==E.saveId&&t%10!=0))try{if(!E.changed||E.saving)return;E.saving=!0,E.changed=!1;const e=Array.from(this.publishers.keys());let i=!1;for(const s of e){const o=this.publishers.get(s);if(!(o!=null&&o._is_savable_))continue;const n=o==null?void 0:o.get();n&&(this.localStorageData[s+"¤lang_"+K.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},i=!0)}if(i){const s=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(si,s)}if(E.saving=!1,E.changed){E.saveId++;const s=E.saveId;setTimeout(()=>this.saveToLocalStorage(s),1e3)}}catch{E.saving=!1}}async compress(t,e){const i=new TextEncoder().encode(t),s=window,o=new s.CompressionStream(e),n=o.writable.getWriter();n.write(i),n.close();const a=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(a);let h="";for(let d=0;d<c.length;d++)h+=String.fromCharCode(c[d]);return btoa(h)}async decompress(t,e){const i=atob(t),o=Uint8Array.from(i,d=>d.charCodeAt(0)).buffer,n=window,a=new n.DecompressionStream(e),c=a.writable.getWriter();c.write(o),c.close();const h=await new Response(a.readable).arrayBuffer();return new TextDecoder().decode(h)}},E.buildDate="Thu Sep 04 2025 14:43:53 GMT+0200 (Central European Summer Time)",E.changed=!1,E.saving=!1,E.saveId=0,E.instance=null,E.instances=new Map,E.modifiedCollectore=[],E);if(typeof window<"u"){const r=window;r[xs+"PublisherManager"]=r[xs+"PublisherManager"]||T}const No=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 He extends ii{constructor(t,e=null,i){super(t,e,i);const s=new Proxy(this,{get:function(o,n){if(No.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>s.get();if(!o._proxies_.has(n)){const a=o._value_[n],c=new He(Be(a)?a:{__value:a},o,n);c._proxies_.set("_parent_",s),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,a){var h;if(n=="_value_")return o._value_=a,!0;if(n=="_cachedGet_")return o._cachedGet_=a,!0;if(n=="_assignmentId_")return o._assignmentId_=a,!0;if(n=="_is_savable_")return o._is_savable_=a,!0;if(n=="_expiration_delay_")return o._expiration_delay_=a,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=a,!0;if(n=="_instanceCounter_")return o._instanceCounter_=a,!0;if(!o._proxies_.has(n)){const d=new He({},o,n);d._proxies_.set("_parent_",s),o._proxies_.set(n,d)}return o._value_[n]!==a&&(o._value_[n]=a,o._publishDynamicFilling_(n,a),(h=o._proxies_.get(n))==null||h.set(Be(a)?a:{__value:a})),!0},deleteProperty:function(o,n){var a;return o._publishDynamicFilling_(n,null),(a=o._proxies_.get(n))==null||a.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,a){return a&&"value"in a&&(o._value_[n]=a.value),!0},getOwnPropertyDescriptor:function(o,n){return{enumerable:!0,configurable:!0}},ownKeys:function(o){return o._value_.__value?Object.keys(o._value_.__value):Object.keys(o._value_)}});return s}getProperty(t,e){return t[e]}}class To extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){var t;this.publisherId=this.getAttribute("publisher")||"",this.publisher=ii.instances.get(parseInt(this.publisherId)),(t=this.publisher)==null||t.onAssign(this.onAssign)}disconnectedCallback(){var t;(t=this.publisher)==null||t.offAssign(this.onAssign)}}try{customElements.define(Se+"-publisher-proxy",To)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&T.getInstance().invalidateAll()});let Ps=(N=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(N.observedElements.keys()).forEach(t=>N.unObserve(t)))}static observe(t){if(!t||!N.enabled||N.observedElements.has(t))return;const e=new MutationObserver(N.onMutation),i={};i.childList=!0,i.subtree=!0,i.attributes=!0,i.attributeFilter=["data-bind"],e.observe(t,i),t.querySelectorAll("[data-bind]").forEach(s=>N.addPublisherListeners(s)),N.observedElements.set(t,e)}static unObserve(t){if(!t)return;const e=this.observedElements.get(t);e&&(e.disconnect(),t.querySelectorAll("[data-bind]").forEach(i=>N.removePublisherListeners(i)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.addPublisherListeners(e)):t.childNodes.forEach(e=>N.onAdded(e))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.removePublisherListeners(e)):t.childNodes.forEach(e=>N.onRemoved(e))}static onMutation(t){for(const e of t)switch(e.type){case"attributes":N.addPublisherListeners(e.target);break;case"childList":e.addedNodes.forEach(i=>{N.onAdded(i)}),e.removedNodes.forEach(i=>{N.onRemoved(i)});break}}static removePublisherListeners(t){const e=N.publisherListeners.get(t);e&&(N.publisherListeners.delete(t),e.forEach(i=>{var s;(s=i.publisher)==null||s.offAssign(i.onAssign)}))}static getVariablesDescriptor(t){let e=t.match(/(\$(?:\w+\\?\.?)+)/g);return e?e=e.map(i=>i.replace("$","")):e=[t],e=e.filter(i=>i.length>0),{expression:t.replace("\\",""),variables:e.map(i=>i.split(/\b\.\b/).map(s=>s.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(e=>e.name.indexOf("::")==0).map(e=>({propertyToUpdate:e.name.substring(2).replace(/-((html)|\w)/g,s=>s.substring(1).toUpperCase()),bindedVariablesDescriptor:N.getVariablesDescriptor(e.value)})):[]}static getSubPublisher(t,e){if(!e)return t;for(const i of e)if(i!="_self_"){if(!t)return null;t=t[i]}return t}static addPublisherListeners(t){N.removePublisherListeners(t);const e=K.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!e)return;const i=T.getInstance().get(e),s=N.getDataBindItems(t),o=[];s.forEach(n=>{const a=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of a.variables){const d=h;let p=i;p=N.getSubPublisher(i,d);const g=t,v={publisher:p,onAssign:()=>{const b=a.variables.map(D=>{var f;return(f=N.getSubPublisher(i,D))==null?void 0:f.get()});let y=a.expression,_=!1;if(b.length==1&&a.variables[0].join(".")==y.substring(1)){let D=b[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<b.length;D++){let f=b[D];const u=a.variables[D];f===null&&(_=!0,f=void 0),y=y.replace("$"+u.join("."),f)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=ws.js(y.substring(1));else{const f=y.substring(0,D),u=y.substring(D+1),w=ws[f];y=_?"":w?w(u):y}}else y=_?"":y;g[c]=y}};p==null||p.onAssign(v.onAssign),o.push(v)}}),N.publisherListeners.set(t,o)}},N.observedElements=new Map,N.enabled=!0,N.publisherListeners=new Map,N);Ps.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=Ps);let et=class Zt{static shallowEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n];if(i?a!==c:a!=c)return!1}return!0}static deepEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n],h=Zt.isObject(a)&&Zt.isObject(c),d=i?a!==c:a!=c;if(h&&!Zt.deepEqual(a,c)||!h&&d)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Zt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,e,i=!1){for(const s of e){const o=t[s];if(o===void 0)return;i&&Zt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[s]}return t}static traverseDotNotation(t,e,i=!1){return Zt.traverse(t,e.split("."),i)}static getURLSearchArray(t,e=""){let i=[];for(let s in t){const o=t[s];e&&(s=e+"["+s+"]"),Zt.isObject(o)?i=[...i,...this.getURLSearchArray(o,s)]:i.push(`${s}=${o}`)}return i}static getURLSearchString(t){return Zt.getURLSearchArray(t,"").join("&")}};const pt=et.traverseDotNotation;/**
1
+ (function(K){typeof define=="function"&&define.amd?define(K):K()})(function(){"use strict";var Dt,E,N,So,t,X;let K=class Bt{static getLanguage(){const t=document.documentElement.lang;return localStorage.getItem("SonicSelectedLanguage")||t}static getCookies(){return document.cookie.split(";").reduce((t,e)=>{const i=e.indexOf("=");return t[e.substring(0,i).trim()]=e.substring(i+1),t},{})}static everyAncestors(t,e){for(;t;){if(!e(t))return;t=t.parentNode||t.host}}static getScrollableAncestor(t){for(;t;){const e=t;if(e.nodeType===1){const i=window.getComputedStyle(e);if((i==null?void 0:i.overflowY)==="auto"||(i==null?void 0:i.overflowY)==="scroll"||(i==null?void 0:i.overflowY)==="hidden"||(i==null?void 0:i.overflowX)==="auto"||(i==null?void 0:i.overflowX)==="scroll"||(i==null?void 0:i.overflowX)==="hidden")return t}t=t.parentNode||t.host}return null}static getAncestorAttributeValue(t,e){if(!t)return null;for(;!("hasAttribute"in t&&t.hasAttribute(e))&&(t.parentNode||t.host);)t=t.parentNode||t.host;return"hasAttribute"in t?t.getAttribute(e):null}static getApiConfiguration(t){const e=Bt.getAncestorAttributeValue(t,"token"),i=Bt.getAncestorAttributeValue(t,"addHTTPResponse")!=null,s=Bt.getAncestorAttributeValue(t,"serviceURL");let o=null,n=null;const a=Bt.getAncestorAttributeValue(t,"tokenProvider"),c=Bt.getAncestorAttributeValue(t,"eventsApiToken");e||(o=Bt.getAncestorAttributeValue(t,"userName"),n=Bt.getAncestorAttributeValue(t,"password"));const h=Bt.getAncestorAttributeValue(t,"credentials")||void 0,d=t.getAttribute("cache"),p=t.hasAttribute("blockUntilDone");return{serviceURL:s,token:e,userName:o,password:n,authToken:c,tokenProvider:a,addHTTPResponse:i,credentials:h,cache:d,blockUntilDone:p}}static getClosestElement(t,e){for(;!(t.nodeName&&t.nodeName.toLowerCase()===e)&&(t.parentNode||t.host);)t=t.parentNode||t.host;return t.nodeName?t:null}static getClosestForm(t){return Bt.getClosestElement(t,"form")}static async loadJS(t){return new Promise(async i=>{const s=document.createElement("script");s.src=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}static async loadCSS(t){return new Promise(async i=>{const s=document.createElement("link");s.type="text/css",s.rel="stylesheet",s.href=t,s.onload=()=>i(!0),s.onerror=()=>i(!0),document.head.appendChild(s)})}};const ei=r=>{const t=document.documentElement,e=new MutationObserver(s=>{for(let o of s)o.type==="attributes"&&o.attributeName==="lang"&&r()}),i={attributes:!0,attributeFilter:["lang"]};e.observe(t,i)};let ws=class{static ucFirst(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.substring(1)}static minutesDuration(t,e="",i="long"){e||(e=K.getLanguage());const s=(h,d)=>[Math.floor(h/d),h%d];function o(h,d,p){return new Intl.NumberFormat(h,{style:"unit",unit:d,unitDisplay:p}).format}const[n,a]=s(t,60),c=[];return n&&c.push(o(e,"hour",i)(n)),a&&c.push(o(e,"minute",i)(a)),new Intl.ListFormat(e,{style:"long",type:"conjunction"}).format(c)}static js(t){try{return Function("return "+t)()}catch{return""}}},Eo=class{static async queueTaskPromise(){return new Promise(t=>{window.queueMicrotask(()=>t(null))})}static async delayPromise(t){return new Promise(e=>{setTimeout(e,t)})}},rr="sonic";typeof __SONIC_PREFIX__<"u"&&(rr=__SONIC_PREFIX__);let or=rr.replace(/-([a-z])/g,r=>r[1].toUpperCase());const xs=or.charAt(0).toUpperCase()+or.slice(1);function $s(r){return Object.prototype.hasOwnProperty.call(r,"__value")}function Be(r){return typeof r=="object"&&r!=null}let Se="sonic";typeof __SONIC_PREFIX__>"u"&&(Se="sonic"+Math.floor(Math.random()*1e6));const si=Se=="sonic"?"publisher-proxies-data":Se+"-publisher-proxies-data";let ii=(Dt=class{constructor(t,e,i){for(this._proxies_=new Map,this._is_savable_=!1,this._expiration_delay_=1e3*60*60*12,this._invalidate_on_page_show_=!1,this._invalidateListeners_=new Set,this._formInvalidateListeners_=new Set,this._assignListeners_=new Set,this._mutationListeners_=new Set,this._fillListeners_=new Set,this._templateFillListeners_=new Set,this._lockInternalMutationPublishing_=!1,this._instanceCounter_=0,this._assignmentId_=0,this._value_=t,this.parent=e||null,this._parentKey_=i,this.root=this,this._instanceCounter_=0;this.root.parent;)this.root=this.root.parent}delete(){var t;for(const e in this._proxies_.keys())e!="_parent_"&&((t=this._proxies_.get(e))==null||t.delete());this._invalidateListeners_.clear(),this._formInvalidateListeners_.clear(),this._assignListeners_.clear(),this._mutationListeners_.clear(),this._fillListeners_.clear(),this._templateFillListeners_.clear(),this._proxies_.clear(),Dt.instances.delete(this._instanceCounter_)}hasListener(){return this._templateFillListeners_.size>0||this._assignListeners_.size>0||this._invalidateListeners_.size>0||this._formInvalidateListeners_.size>0||this._mutationListeners_.size>0||this._fillListeners_.size>0}_publishInternalMutation_(t=!1){if(this._mutationListeners_.forEach(e=>e()),this._is_savable_&&!T.changed){T.changed=!0,T.saveId++;const e=T.saveId;setTimeout(()=>T.getInstance().saveToLocalStorage(e),1e3)}t||this.parent&&this.parent._publishInternalMutation_()}async _publishAssignement_(t=!1){if(this._assignmentId_++,this._assignmentId_!==this._assignmentId_)return;const i=this.get();this._assignListeners_.forEach(s=>{s(i)}),this._publishInternalMutation_(t)}_publishInvalidation_(){this._invalidateListeners_.forEach(t=>t())}_publishFormInvalidation_(){this._formInvalidateListeners_.forEach(t=>t())}_publishDynamicFilling_(t,e){this._fillListeners_.forEach(i=>{i[t]!==e&&(i[t]=e)}),this._publishTemplateFilling_(t,e)}_publishTemplateFilling_(t,e){this._templateFillListeners_.forEach(i=>{const s=Object.getOwnPropertyDescriptor(i,t);s&&!s.set&&!s.writable||(i.propertyMap&&i.propertyMap[t]&&(t=i.propertyMap[t]),typeof i[t]<"u"&&i[t]!==e&&(i[t]=e))})}onAssign(t,e=!0){typeof t=="function"&&(this._assignListeners_.has(t)||(this._assignListeners_.add(t),e&&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 e in this._value_){let i=e;const s=this._value_[e];t.propertyMap&&t.propertyMap[e]&&(i=t.propertyMap[e]),typeof t[e]<"u"&&t[e]!==s&&(t[i]=s)}}stopTemplateFilling(t){this._templateFillListeners_.delete(t)}startDynamicFilling(t){this._fillListeners_.add(t);for(const e in this._value_){const i=this._value_[e];t[e]!==i&&(t[e]=i)}}stopDynamicFilling(t){this._fillListeners_.delete(t)}set(t,e=!1){var s,o,n;if(this._value_===t||this._value_&&t&&$s(this._value_)&&$s(t)&&this._value_.__value===t.__value)return!0;this._value_=Be(t)?t:{__value:t},this._cachedGet_=void 0;const i=$s(this._value_);if(this._parentKey_&&this.parent){const a=$s(this._value_)?this._value_.__value:this._value_;if(((s=this.parent)==null?void 0:s.get())==null&&((o=this.parent)==null?void 0:o.get())==null)if(isNaN(Number(this._parentKey_)))this.parent.set({[this._parentKey_]:a});else{const c=[];c[Number(this._parentKey_)]=a,this.parent.set(c)}else this.parent._value_[this._parentKey_]=a}if(i)return this._proxies_.forEach((a,c)=>{c!="_parent_"&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(e),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_.__value),!0;for(const a in this._value_)this._value_[a]===void 0&&delete this._value_[a];if(this._proxies_.forEach((a,c)=>{const h=this._value_[c];c!="_parent_"&&h===void 0&&h!==null&&isNaN(Number(c))&&(a.set(null),this._publishDynamicFilling_(c,null))}),this._publishAssignement_(),this.parent&&this._parentKey_&&this.parent._publishDynamicFilling_(this._parentKey_,this._value_),Be(this._value_))for(const a in this._value_){const c=t[a],d=Be(c)?c:{__value:c};if(!this._proxies_.has(a)){this._publishDynamicFilling_(a,c);continue}(n=this._proxies_.get(a))==null||n.set(d,!0),this._publishDynamicFilling_(a,c)}return!0}get(){if(this._cachedGet_!==void 0)return this._cachedGet_;if(T.modifiedCollectore.length>0&&T.modifiedCollectore[0].add(this),Object.prototype.hasOwnProperty.call(this._value_,"__value")){const t=this._value_.__value;return this._cachedGet_=t??null}return this._cachedGet_=this._value_!=null?this._value_:null}get $tag(){return this._instanceCounter_||(Dt.instancesCounter++,this._instanceCounter_=Dt.instancesCounter),Dt.instances.set(this._instanceCounter_,this),"<"+Se+'-publisher-proxy publisher="'+this._instanceCounter_+'"></'+Se+"-publisher-proxy>"}},Dt.instances=new Map,Dt.instancesCounter=0,Dt),T=(E=class{constructor(){if(this.enabledLocaStorageProxies=[],this.publishers=new Map,this.localStorageData={},this.isLocalStrorageReady=null,this.initialisedData=[],E.instance!=null)throw"Singleton / use getInstance";E.instance=this,this.isLocalStrorageReady=this.cleanStorageData()}invalidateAll(){this.publishers.forEach(t=>{t._invalidate_on_page_show_&&t.invalidate()})}async cleanStorageData(){return new Promise(t=>{(async()=>{try{let i=localStorage.getItem(si),s=null;if(i&&(s=await this.decompress(i,"gzip")),s)try{this.localStorageData=JSON.parse(s)}catch{this.localStorageData={}}else i=await this.compress("{}","gzip"),localStorage.setItem(si,i),this.localStorageData={};const o=1e3*60*60*12;for(const n in this.localStorageData){const a=this.localStorageData[n],c=new Date().getTime()-(a.expirationDelayMs||o);a.lastModifiationMS<c&&delete this.localStorageData[n]}t(!0)}catch{window.requestAnimationFrame(()=>{t(!1)}),console.warn("no publisher cache in this browser")}})()})}static getInstance(t){if(t){const e=E.instances.get(t);return e||(console.warn("No PublisherManager instance registered with id:",t,"creating new one"),new E)}return E.instance==null?new E:E.instance}static registerInstance(t,e){E.instances.has(t)&&console.warn("PublisherManager instance already registered with id: ",t),E.instances.set(t,e)}static get(t,e){return E.getInstance().get(t,e)}static collectModifiedPublisher(){E.modifiedCollectore.unshift(new Set)}static getModifiedPublishers(){return E.modifiedCollectore.shift()}static delete(t){return t?E.getInstance().delete(t):!1}async setLocalData(t,e){var i;await this.isLocalStrorageReady,t.set(((i=this.localStorageData[e+"¤lang_"+K.getLanguage()])==null?void 0:i.data)||t.get())}get(t,e){const i=(e==null?void 0:e.localStorageMode)==="enabled",s=(e==null?void 0:e.invalidateOnPageShow)===!0;if(!this.publishers.has(t)){const n={},a=new He(n);this.set(t,a)}const o=this.publishers.get(t);return i&&this.initialisedData.indexOf(t)===-1&&(e!=null&&e.expirationDelayMs&&(o._expiration_delay_=e.expirationDelayMs),o._is_savable_=!0,this.initialisedData.push(t),this.setLocalData(o,t)),s&&(o._invalidate_on_page_show_=s),this.publishers.get(t)}set(t,e){this.publishers.set(t,e)}delete(t){return this.publishers.has(t)?(this.publishers.delete(t),!0):!1}async saveToLocalStorage(t=0){if(!(t!==E.saveId&&t%10!=0))try{if(!E.changed||E.saving)return;E.saving=!0,E.changed=!1;const e=Array.from(this.publishers.keys());let i=!1;for(const s of e){const o=this.publishers.get(s);if(!(o!=null&&o._is_savable_))continue;const n=o==null?void 0:o.get();n&&(this.localStorageData[s+"¤lang_"+K.getLanguage()]={lastModifiationMS:new Date().getTime(),expirationDelayMs:o._expiration_delay_,data:n},i=!0)}if(i){const s=await this.compress(JSON.stringify(this.localStorageData),"gzip");localStorage.setItem(si,s)}if(E.saving=!1,E.changed){E.saveId++;const s=E.saveId;setTimeout(()=>this.saveToLocalStorage(s),1e3)}}catch{E.saving=!1}}async compress(t,e){const i=new TextEncoder().encode(t),s=window,o=new s.CompressionStream(e),n=o.writable.getWriter();n.write(i),n.close();const a=await new Response(o.readable).arrayBuffer(),c=new Uint8Array(a);let h="";for(let d=0;d<c.length;d++)h+=String.fromCharCode(c[d]);return btoa(h)}async decompress(t,e){const i=atob(t),o=Uint8Array.from(i,d=>d.charCodeAt(0)).buffer,n=window,a=new n.DecompressionStream(e),c=a.writable.getWriter();c.write(o),c.close();const h=await new Response(a.readable).arrayBuffer();return new TextDecoder().decode(h)}},E.buildDate="Wed Sep 17 2025 09:34:47 GMT+0200 (Central European Summer Time)",E.changed=!1,E.saving=!1,E.saveId=0,E.instance=null,E.instances=new Map,E.modifiedCollectore=[],E);if(typeof window<"u"){const r=window;r[xs+"PublisherManager"]=r[xs+"PublisherManager"]||T}const No=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 He extends ii{constructor(t,e=null,i){super(t,e,i);const s=new Proxy(this,{get:function(o,n){if(No.has(n))return o[n];if(n==Symbol.toPrimitive)return()=>s.get();if(!o._proxies_.has(n)){const a=o._value_[n],c=new He(Be(a)?a:{__value:a},o,n);c._proxies_.set("_parent_",s),o._proxies_.set(n,c)}return o._proxies_.get(n)},set:function(o,n,a){var h;if(n=="_value_")return o._value_=a,!0;if(n=="_cachedGet_")return o._cachedGet_=a,!0;if(n=="_assignmentId_")return o._assignmentId_=a,!0;if(n=="_is_savable_")return o._is_savable_=a,!0;if(n=="_expiration_delay_")return o._expiration_delay_=a,!0;if(n=="_invalidate_on_page_show_")return o._invalidate_on_page_show_=a,!0;if(n=="_instanceCounter_")return o._instanceCounter_=a,!0;if(!o._proxies_.has(n)){const d=new He({},o,n);d._proxies_.set("_parent_",s),o._proxies_.set(n,d)}return o._value_[n]!==a&&(o._value_[n]=a,o._publishDynamicFilling_(n,a),(h=o._proxies_.get(n))==null||h.set(Be(a)?a:{__value:a})),!0},deleteProperty:function(o,n){var a;return o._publishDynamicFilling_(n,null),(a=o._proxies_.get(n))==null||a.set(null),delete o._value_[n]},has:function(o,n){return n in o._value_&&n!="_lockInternalMutationPublishing_"},defineProperty:function(o,n,a){return a&&"value"in a&&(o._value_[n]=a.value),!0},getOwnPropertyDescriptor:function(o,n){return{enumerable:!0,configurable:!0}},ownKeys:function(o){return o._value_.__value?Object.keys(o._value_.__value):Object.keys(o._value_)}});return s}getProperty(t,e){return t[e]}}class To extends HTMLElement{constructor(){super(),this.publisherId="",this.onAssign=t=>{this.innerHTML=t.toString()}}connectedCallback(){var t;this.publisherId=this.getAttribute("publisher")||"",this.publisher=ii.instances.get(parseInt(this.publisherId)),(t=this.publisher)==null||t.onAssign(this.onAssign)}disconnectedCallback(){var t;(t=this.publisher)==null||t.offAssign(this.onAssign)}}try{customElements.define(Se+"-publisher-proxy",To)}catch{}window.addEventListener("pageshow",r=>{r.persisted&&T.getInstance().invalidateAll()});let Ps=(N=class{static disable(){this.enabled&&(this.enabled=!1,Array.from(N.observedElements.keys()).forEach(t=>N.unObserve(t)))}static observe(t){if(!t||!N.enabled||N.observedElements.has(t))return;const e=new MutationObserver(N.onMutation),i={};i.childList=!0,i.subtree=!0,i.attributes=!0,i.attributeFilter=["data-bind"],e.observe(t,i),t.querySelectorAll("[data-bind]").forEach(s=>N.addPublisherListeners(s)),N.observedElements.set(t,e)}static unObserve(t){if(!t)return;const e=this.observedElements.get(t);e&&(e.disconnect(),t.querySelectorAll("[data-bind]").forEach(i=>N.removePublisherListeners(i)))}static onAdded(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.addPublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.addPublisherListeners(e)):t.childNodes.forEach(e=>N.onAdded(e))}static onRemoved(t){t.hasAttribute&&t.hasAttribute("data-bind")&&N.removePublisherListeners(t),t.querySelectorAll?t.querySelectorAll("[data-bind]").forEach(e=>N.removePublisherListeners(e)):t.childNodes.forEach(e=>N.onRemoved(e))}static onMutation(t){for(const e of t)switch(e.type){case"attributes":N.addPublisherListeners(e.target);break;case"childList":e.addedNodes.forEach(i=>{N.onAdded(i)}),e.removedNodes.forEach(i=>{N.onRemoved(i)});break}}static removePublisherListeners(t){const e=N.publisherListeners.get(t);e&&(N.publisherListeners.delete(t),e.forEach(i=>{var s;(s=i.publisher)==null||s.offAssign(i.onAssign)}))}static getVariablesDescriptor(t){let e=t.match(/(\$(?:\w+\\?\.?)+)/g);return e?e=e.map(i=>i.replace("$","")):e=[t],e=e.filter(i=>i.length>0),{expression:t.replace("\\",""),variables:e.map(i=>i.split(/\b\.\b/).map(s=>s.replace("\\","")))}}static getDataBindItems(t){return"attributes"in t?Array.from(t.attributes).filter(e=>e.name.indexOf("::")==0).map(e=>({propertyToUpdate:e.name.substring(2).replace(/-((html)|\w)/g,s=>s.substring(1).toUpperCase()),bindedVariablesDescriptor:N.getVariablesDescriptor(e.value)})):[]}static getSubPublisher(t,e){if(!e)return t;for(const i of e)if(i!="_self_"){if(!t)return null;t=t[i]}return t}static addPublisherListeners(t){N.removePublisherListeners(t);const e=K.getAncestorAttributeValue(t.parentNode||t.host||t,"dataProvider");if(!e)return;const i=T.getInstance().get(e),s=N.getDataBindItems(t),o=[];s.forEach(n=>{const a=n.bindedVariablesDescriptor,c=n.propertyToUpdate;for(const h of a.variables){const d=h;let p=i;p=N.getSubPublisher(i,d);const g=t,v={publisher:p,onAssign:()=>{const b=a.variables.map(D=>{var f;return(f=N.getSubPublisher(i,D))==null?void 0:f.get()});let y=a.expression,_=!1;if(b.length==1&&a.variables[0].join(".")==y.substring(1)){let D=b[0];D===null&&(D=""),g[c]=D;return}for(let D=0;D<b.length;D++){let f=b[D];const u=a.variables[D];f===null&&(_=!0,f=void 0),y=y.replace("$"+u.join("."),f)}if(y.indexOf("|")!=-1){const D=y.indexOf("|");if(D==0)y=ws.js(y.substring(1));else{const f=y.substring(0,D),u=y.substring(D+1),w=ws[f];y=_?"":w?w(u):y}}else y=_?"":y;g[c]=y}};p==null||p.onAssign(v.onAssign),o.push(v)}}),N.publisherListeners.set(t,o)}},N.observedElements=new Map,N.enabled=!0,N.publisherListeners=new Map,N);Ps.observe(document.documentElement),window.SonicDataBindObserver||(window.SonicDataBindObserver=Ps);let et=class Zt{static shallowEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n];if(i?a!==c:a!=c)return!1}return!0}static deepEqual(t,e,i=!0){const s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length&&i)return!1;for(const n of s){const a=t[n],c=e[n],h=Zt.isObject(a)&&Zt.isObject(c),d=i?a!==c:a!=c;if(h&&!Zt.deepEqual(a,c)||!h&&d)return!1}return!0}static isObject(t){return t!=null&&typeof t=="object"}static isUndefindOrNull(t){return t==null}static isEmpty(t){return Zt.isUndefindOrNull(t)?!0:Object.keys(t).length===0}static traverse(t,e,i=!1){for(const s of e){const o=t[s];if(o===void 0)return;i&&Zt.isObject(o)?t=Object.assign(Array.isArray(o)?[]:{},t,o):t=t[s]}return t}static traverseDotNotation(t,e,i=!1){return Zt.traverse(t,e.split("."),i)}static getURLSearchArray(t,e=""){let i=[];for(let s in t){const o=t[s];e&&(s=e+"["+s+"]"),Zt.isObject(o)?i=[...i,...this.getURLSearchArray(o,s)]:i.push(`${s}=${o}`)}return i}static getURLSearchString(t){return Zt.getURLSearchArray(t,"").join("&")}};const pt=et.traverseDotNotation;/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -106,7 +106,7 @@
106
106
  :host([size="inherit"]) {
107
107
  --sc-_fs: 1em;
108
108
  }
109
- `;var jn=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,B=(r,t,e,i)=>{for(var s=i>1?void 0:i?Fn(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&jn(t,e,s),s};const zn="sonic-button";let I=class extends wi(Me(G(x))){constructor(){super(...arguments),this.type="default",this.variant="default",this.shape="default",this.direction="row",this.alignItems="center",this.justify="center",this.minWidth="0",this.icon=!1,this.download=null,this.autoActive="partial",this.loading=!1,this.hasPrefix=!1,this.hasSuffix=!1,this._href="",this.goBack=null,this.pushState=!1,this.active=!1,this.autoRepeat=!1,this.pointerDownTime=0,this.lastRepeatTime=0,this.isRepeating=!1,this.handleRepeatend=()=>{window.removeEventListener("pointerup",this.handleRepeatend),window.removeEventListener("blur",this.handleRepeatend),this.autoRepeat&&(this.isRepeating=!1)},this.location=""}set href(r){this._href=r;const t=this._href.toString();t&&t.indexOf("http")!=0?it.onChange(this):it.offChange(this),this.requestUpdate()}get href(){return this._href}handleNavigation(r){r.preventDefault(),it.changeFromComponent(this)}handleChange(r){if(!((r==null?void 0:r.type)=="click"&&this.autoRepeat)&&(super.handleChange(),(this.pushState||this.goBack!==null)&&(r==null||r.preventDefault(),r==null||r.stopPropagation(),it.changeFromComponent(this)),this.hasAttribute("reset"))){const t=this.getAttribute("reset"),e=t?rt.get(t):this.getFormPublisher();e&&e.set({})}}handleRepeatStart(r){this.autoRepeat&&(this.handleChange(r),this.pointerDownTime=Date.now(),this.isRepeating=!0,this.repeat()),window.addEventListener("pointerup",this.handleRepeatend),window.addEventListener("blur",this.handleRepeatend)}repeat(){if(this.isRepeating){if(this.hasAttribute("disabled")){this.isRepeating=!1;return}window.requestAnimationFrame(this.repeat.bind(this)),!(Date.now()-this.pointerDownTime<500)&&(Date.now()-this.lastRepeatTime<100||(this.handleChange(),this.lastRepeatTime=Date.now()))}}connectedCallback(){super.connectedCallback()}setCheckedValue(r){if(this.name){if(r?this.setAttribute("active","true"):this.removeAttribute("active"),r==this._checked)return;super.setCheckedValue(r)}}disconnectedCallback(){it.offChange(this),super.disconnectedCallback()}willUpdate(r){(r.has("href")||r.has("autoActive"))&&it.updateComponentActiveState(this),r.has("location")&&it.updateComponentActiveState(this)}render(){const r={flexDirection:this.direction,alignItems:this.alignItems,justifyContent:this.justify,align:this.align,minWidth:this.minWidth},t=m`
109
+ `;var jn=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,B=(r,t,e,i)=>{for(var s=i>1?void 0:i?Fn(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&jn(t,e,s),s};const zn="sonic-button";let j=class extends wi(Me(G(x))){constructor(){super(...arguments),this.type="default",this.variant="default",this.shape="default",this.direction="row",this.alignItems="center",this.justify="center",this.minWidth="0",this.icon=!1,this.download=null,this.autoActive="partial",this.loading=!1,this.hasPrefix=!1,this.hasSuffix=!1,this._href="",this.goBack=null,this.pushState=!1,this.active=!1,this.autoRepeat=!1,this.pointerDownTime=0,this.lastRepeatTime=0,this.isRepeating=!1,this.handleRepeatend=()=>{window.removeEventListener("pointerup",this.handleRepeatend),window.removeEventListener("blur",this.handleRepeatend),this.autoRepeat&&(this.isRepeating=!1)},this.location=""}set href(r){this._href=r;const t=this._href.toString();t&&t.indexOf("http")!=0?it.onChange(this):it.offChange(this),this.requestUpdate()}get href(){return this._href}handleNavigation(r){r.preventDefault(),it.changeFromComponent(this)}handleChange(r){if(!((r==null?void 0:r.type)=="click"&&this.autoRepeat)&&(super.handleChange(),(this.pushState||this.goBack!==null)&&(r==null||r.preventDefault(),r==null||r.stopPropagation(),it.changeFromComponent(this)),this.hasAttribute("reset"))){const t=this.getAttribute("reset"),e=t?rt.get(t):this.getFormPublisher();e&&e.set({})}}handleRepeatStart(r){this.autoRepeat&&(this.handleChange(r),this.pointerDownTime=Date.now(),this.isRepeating=!0,this.repeat()),window.addEventListener("pointerup",this.handleRepeatend),window.addEventListener("blur",this.handleRepeatend)}repeat(){if(this.isRepeating){if(this.hasAttribute("disabled")){this.isRepeating=!1;return}window.requestAnimationFrame(this.repeat.bind(this)),!(Date.now()-this.pointerDownTime<500)&&(Date.now()-this.lastRepeatTime<100||(this.handleChange(),this.lastRepeatTime=Date.now()))}}connectedCallback(){super.connectedCallback()}setCheckedValue(r){if(this.name){if(r?this.setAttribute("active","true"):this.removeAttribute("active"),r==this._checked)return;super.setCheckedValue(r)}}disconnectedCallback(){it.offChange(this),super.disconnectedCallback()}willUpdate(r){(r.has("href")||r.has("autoActive"))&&it.updateComponentActiveState(this),r.has("location")&&it.updateComponentActiveState(this)}render(){const r={flexDirection:this.direction,alignItems:this.alignItems,justifyContent:this.justify,align:this.align,minWidth:this.minWidth},t=m`
110
110
  <button
111
111
  part="button"
112
112
  class=${this.hasPrefix||this.hasSuffix?"has-prefix-or-suffix":""}
@@ -140,7 +140,7 @@
140
140
  aria-labelledby=${C(this.ariaLabelledby)}
141
141
  @click=${this.pushState||this.goBack!==null?this.handleNavigation:null}
142
142
  >${t}</a
143
- >`:m`${t}`}onSlotChange(){var r,t;this.hasPrefix=!!((r=this.prefixes)!=null&&r.length),this.hasSuffix=!!((t=this.suffixes)!=null&&t.length)}};I.styles=[Nt,P`
143
+ >`:m`${t}`}onSlotChange(){var r,t;this.hasPrefix=!!((r=this.prefixes)!=null&&r.length),this.hasSuffix=!!((t=this.suffixes)!=null&&t.length)}};j.styles=[Nt,P`
144
144
  * {
145
145
  box-sizing: border-box;
146
146
  }
@@ -506,7 +506,7 @@
506
506
  transform: translate(-50%, -50%) rotate(359deg);
507
507
  }
508
508
  }
509
- `],B([l({type:String,reflect:!0})],I.prototype,"type",2),B([l({type:String,reflect:!0})],I.prototype,"variant",2),B([l({type:String,reflect:!0})],I.prototype,"size",2),B([l({type:String,reflect:!0})],I.prototype,"shape",2),B([l({type:String})],I.prototype,"direction",2),B([l({type:String,reflect:!0})],I.prototype,"alignItems",2),B([l({type:String})],I.prototype,"justify",2),B([l({type:String,reflect:!0})],I.prototype,"align",2),B([l({type:String})],I.prototype,"minWidth",2),B([l({type:Boolean,reflect:!0})],I.prototype,"icon",2),B([l({type:String})],I.prototype,"download",2),B([l({type:String})],I.prototype,"autoActive",2),B([l({type:Boolean,reflect:!0})],I.prototype,"loading",2),B([L()],I.prototype,"hasPrefix",2),B([L()],I.prototype,"hasSuffix",2),B([ke({flatten:!0,slot:"prefix"})],I.prototype,"prefixes",2),B([ke({flatten:!0,slot:"suffix"})],I.prototype,"suffixes",2),B([l({type:String})],I.prototype,"target",2),B([l({type:String})],I.prototype,"href",1),B([l({type:String})],I.prototype,"goBack",2),B([l({type:Boolean})],I.prototype,"pushState",2),B([l({type:Boolean,reflect:!0})],I.prototype,"active",2),B([l({type:Boolean,reflect:!0})],I.prototype,"autoRepeat",2),B([l({type:String,attribute:"data-aria-controls"})],I.prototype,"ariaControls",2),B([l({type:Boolean,attribute:"data-aria-expanded"})],I.prototype,"sonicAriaExpanded",2),B([L()],I.prototype,"location",2),I=B([$(zn)],I);/**
509
+ `],B([l({type:String,reflect:!0})],j.prototype,"type",2),B([l({type:String,reflect:!0})],j.prototype,"variant",2),B([l({type:String,reflect:!0})],j.prototype,"size",2),B([l({type:String,reflect:!0})],j.prototype,"shape",2),B([l({type:String})],j.prototype,"direction",2),B([l({type:String,reflect:!0})],j.prototype,"alignItems",2),B([l({type:String})],j.prototype,"justify",2),B([l({type:String,reflect:!0})],j.prototype,"align",2),B([l({type:String})],j.prototype,"minWidth",2),B([l({type:Boolean,reflect:!0})],j.prototype,"icon",2),B([l({type:String})],j.prototype,"download",2),B([l({type:String})],j.prototype,"autoActive",2),B([l({type:Boolean,reflect:!0})],j.prototype,"loading",2),B([L()],j.prototype,"hasPrefix",2),B([L()],j.prototype,"hasSuffix",2),B([ke({flatten:!0,slot:"prefix"})],j.prototype,"prefixes",2),B([ke({flatten:!0,slot:"suffix"})],j.prototype,"suffixes",2),B([l({type:String})],j.prototype,"target",2),B([l({type:String})],j.prototype,"href",1),B([l({type:String})],j.prototype,"goBack",2),B([l({type:Boolean})],j.prototype,"pushState",2),B([l({type:Boolean,reflect:!0})],j.prototype,"active",2),B([l({type:Boolean,reflect:!0})],j.prototype,"autoRepeat",2),B([l({type:String,attribute:"data-aria-controls"})],j.prototype,"ariaControls",2),B([l({type:Boolean,attribute:"data-aria-expanded"})],j.prototype,"sonicAriaExpanded",2),B([L()],j.prototype,"location",2),j=B([$(zn)],j);/**
510
510
  * @license
511
511
  * Copyright 2017 Google LLC
512
512
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1953,7 +1953,7 @@
1953
1953
  * @license
1954
1954
  * Copyright 2018 Google LLC
1955
1955
  * SPDX-License-Identifier: BSD-3-Clause
1956
- */const ji=ue(class extends Ee{constructor(r){var t;if(super(r),r.type!==Le.ATTRIBUTE||r.name!=="class"||((t=r.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){var i,s;if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!((i=this.nt)!=null&&i.has(o))&&this.st.add(o);return this.render(t)}const e=r.element.classList;for(const o of this.st)o in t||(e.remove(o),this.st.delete(o));for(const o in t){const n=!!t[o];n===this.st.has(o)||(s=this.nt)!=null&&s.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return yt}});var Wl=Object.defineProperty,Kl=Object.getOwnPropertyDescriptor,U=(r,t,e,i)=>{for(var s=i>1?void 0:i?Kl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Wl(t,e,s),s};const Yl="sonic-input";let j=class extends Us(Me(G(x))){constructor(){super(...arguments),this.readonly=!1,this.inlineContent=!1,this.disableInlineContentFocus=!1,this.showPasswordToggle=!1,this.autoActive=!1,this.active=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1,this.isPassword=!1}connectedCallback(){if(super.connectedCallback(),this.hasSlotOrProps(),this.hasAttribute("sameValueAs")){this.sameValueAsName=this.getAttribute("sameValueAs"),this.sameValueAsHandle=t=>this.pattern=this.escapeRegExp(t);const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].onAssign(this.sameValueAsHandle)}this.type=="password"&&(this.isPassword=!0,this.showPasswordToggle=!0,this.inlineContent=!0)}disconnectedCallback(){if(super.disconnectedCallback(),this.hasAttribute("sameValueAs")&&this.sameValueAsName){const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].offAssign(this.sameValueAsHandle)}}escapeRegExp(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}willUpdate(r){this.hasSlotOrProps(),this.autoActive&&r.has("value")&&(this.active=!!this.value),super.willUpdate(r)}setSelectionRange(r,t){this.input.setSelectionRange(r,t)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}inlineContentFocus(){var r;!this.inlineContent||this.disableInlineContentFocus||(r=this.input)==null||r.focus()}handleChange(r){if(!this.hasAttribute("inputDelayMs")){super.handleChange(r);return}this.changeTimeoutId&&clearTimeout(this.changeTimeoutId),this.changeTimeoutId=setTimeout(()=>super.handleChange(r),parseInt(this.getAttribute("inputDelayMs")))}togglePasswordVisibility(r){r.preventDefault(),r.stopPropagation(),this.isPassword=!this.isPassword,this._type=this.isPassword?"password":"text"}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix,"no-suffix":!this.hasSuffix,"no-prefix":!this.hasPrefix};return m`
1956
+ */const ji=ue(class extends Ee{constructor(r){var t;if(super(r),r.type!==Le.ATTRIBUTE||r.name!=="class"||((t=r.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){var i,s;if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!((i=this.nt)!=null&&i.has(o))&&this.st.add(o);return this.render(t)}const e=r.element.classList;for(const o of this.st)o in t||(e.remove(o),this.st.delete(o));for(const o in t){const n=!!t[o];n===this.st.has(o)||(s=this.nt)!=null&&s.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return yt}});var Wl=Object.defineProperty,Kl=Object.getOwnPropertyDescriptor,U=(r,t,e,i)=>{for(var s=i>1?void 0:i?Kl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Wl(t,e,s),s};const Yl="sonic-input";let F=class extends Us(Me(G(x))){constructor(){super(...arguments),this.readonly=!1,this.inlineContent=!1,this.disableInlineContentFocus=!1,this.showPasswordToggle=!1,this.autoActive=!1,this.active=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1,this.isPassword=!1}connectedCallback(){if(super.connectedCallback(),this.hasSlotOrProps(),this.hasAttribute("sameValueAs")){this.sameValueAsName=this.getAttribute("sameValueAs"),this.sameValueAsHandle=t=>this.pattern=this.escapeRegExp(t);const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].onAssign(this.sameValueAsHandle)}this.type=="password"&&(this.isPassword=!0,this.showPasswordToggle=!0,this.inlineContent=!0)}disconnectedCallback(){if(super.disconnectedCallback(),this.hasAttribute("sameValueAs")&&this.sameValueAsName){const r=this.getFormPublisher();if(!r)return;r[this.sameValueAsName].offAssign(this.sameValueAsHandle)}}escapeRegExp(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}willUpdate(r){this.hasSlotOrProps(),this.autoActive&&r.has("value")&&(this.active=!!this.value),super.willUpdate(r)}setSelectionRange(r,t){this.input.setSelectionRange(r,t)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}inlineContentFocus(){var r;!this.inlineContent||this.disableInlineContentFocus||(r=this.input)==null||r.focus()}handleChange(r){if(!this.hasAttribute("inputDelayMs")){super.handleChange(r);return}this.changeTimeoutId&&clearTimeout(this.changeTimeoutId),this.changeTimeoutId=setTimeout(()=>super.handleChange(r),parseInt(this.getAttribute("inputDelayMs")))}togglePasswordVisibility(r){r.preventDefault(),r.stopPropagation(),this.isPassword=!this.isPassword,this._type=this.isPassword?"password":"text"}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix,"no-suffix":!this.hasSuffix,"no-prefix":!this.hasPrefix};return m`
1957
1957
  <label for="${this.id||"form-element"}" class="${this.hasLabel?"form-label":"hidden"}"
1958
1958
  >${this.label?z(this.label):""}<slot
1959
1959
  name="label"
@@ -2018,7 +2018,7 @@
2018
2018
  >${this.description?m`${z(this.description)}`:A}</slot>
2019
2019
  <slot name="list"></slot>
2020
2020
  </div>
2021
- `}};j.styles=[Nt,Ii,Ys,Zs,ql,P`
2021
+ `}};F.styles=[Nt,Ii,Ys,Zs,ql,P`
2022
2022
  :host([type="hidden"]) {
2023
2023
  appearance: none !important;
2024
2024
  display: none !important;
@@ -2026,7 +2026,7 @@
2026
2026
  :host > .form-control {
2027
2027
  position: relative;
2028
2028
  }
2029
- `],U([l({type:String,reflect:!0})],j.prototype,"size",2),U([l({type:String})],j.prototype,"inputmode",2),U([l({type:String})],j.prototype,"list",2),U([l({type:String})],j.prototype,"placeholder",2),U([l({type:String})],j.prototype,"pattern",2),U([l({type:String})],j.prototype,"min",2),U([l({type:String})],j.prototype,"max",2),U([l({type:Boolean,reflect:!0})],j.prototype,"readonly",2),U([l({type:Number})],j.prototype,"step",2),U([l({type:Number})],j.prototype,"minlength",2),U([l({type:Number})],j.prototype,"maxlength",2),U([l({type:String})],j.prototype,"src",2),U([l({type:Boolean,reflect:!0})],j.prototype,"inlineContent",2),U([l({type:Boolean})],j.prototype,"disableInlineContentFocus",2),U([l({type:Boolean})],j.prototype,"showPasswordToggle",2),U([l({type:Boolean})],j.prototype,"autoActive",2),U([l({type:Boolean,reflect:!0})],j.prototype,"active",2),U([ct({slot:"label",flatten:!0})],j.prototype,"slotLabelNodes",2),U([ct({slot:"description",flatten:!0})],j.prototype,"slotDescriptionNodes",2),U([ct({slot:"suffix",flatten:!0})],j.prototype,"slotSuffixNodes",2),U([ct({slot:"prefix",flatten:!0})],j.prototype,"slotPrefixNodes",2),U([De("input")],j.prototype,"input",2),U([L()],j.prototype,"hasDescription",2),U([L()],j.prototype,"hasLabel",2),U([L()],j.prototype,"hasSuffix",2),U([L()],j.prototype,"hasPrefix",2),U([L()],j.prototype,"isPassword",2),j=U([$(Yl)],j);const bo=P`
2029
+ `],U([l({type:String,reflect:!0})],F.prototype,"size",2),U([l({type:String})],F.prototype,"inputmode",2),U([l({type:String})],F.prototype,"list",2),U([l({type:String})],F.prototype,"placeholder",2),U([l({type:String})],F.prototype,"pattern",2),U([l({type:String})],F.prototype,"min",2),U([l({type:String})],F.prototype,"max",2),U([l({type:Boolean,reflect:!0})],F.prototype,"readonly",2),U([l({type:Number})],F.prototype,"step",2),U([l({type:Number})],F.prototype,"minlength",2),U([l({type:Number})],F.prototype,"maxlength",2),U([l({type:String})],F.prototype,"src",2),U([l({type:Boolean,reflect:!0})],F.prototype,"inlineContent",2),U([l({type:Boolean})],F.prototype,"disableInlineContentFocus",2),U([l({type:Boolean})],F.prototype,"showPasswordToggle",2),U([l({type:Boolean})],F.prototype,"autoActive",2),U([l({type:Boolean,reflect:!0})],F.prototype,"active",2),U([ct({slot:"label",flatten:!0})],F.prototype,"slotLabelNodes",2),U([ct({slot:"description",flatten:!0})],F.prototype,"slotDescriptionNodes",2),U([ct({slot:"suffix",flatten:!0})],F.prototype,"slotSuffixNodes",2),U([ct({slot:"prefix",flatten:!0})],F.prototype,"slotPrefixNodes",2),U([De("input")],F.prototype,"input",2),U([L()],F.prototype,"hasDescription",2),U([L()],F.prototype,"hasLabel",2),U([L()],F.prototype,"hasSuffix",2),U([L()],F.prototype,"hasPrefix",2),U([L()],F.prototype,"isPassword",2),F=U([$(Yl)],F);const bo=P`
2030
2030
  /*OMBRE*/
2031
2031
  :host([shadow]) .shadowable,
2032
2032
  :host([shadow="md"]) .shadowable,
@@ -2091,7 +2091,7 @@
2091
2091
  :host([inline]) {
2092
2092
  vertical-align: baseline;
2093
2093
  }
2094
- `,bo],It([L()],nt.prototype,"open",2),It([De("slot:not([name=content])")],nt.prototype,"popBtn",2),It([De("slot[name=content]")],nt.prototype,"popContent",2),It([l({type:Boolean})],nt.prototype,"noToggle",2),It([l({type:Boolean,reflect:!0})],nt.prototype,"inline",2),It([l({type:Boolean})],nt.prototype,"manual",2),It([l({type:String,reflect:!0})],nt.prototype,"shadow",2),It([l({type:String})],nt.prototype,"placement",2),It([L()],nt.prototype,"triggerElement",2),nt=It([$(Gl)],nt);var Ql=Object.defineProperty,Jl=Object.getOwnPropertyDescriptor,tc=(r,t,e,i)=>{for(var s=i>1?void 0:i?Jl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ql(t,e,s),s};const ec="sonic-menu-item";let vo=class extends I{constructor(){super()}connectedCallback(){this.hasAttribute("variant")||(this.variant="ghost"),this.hasAttribute("type")||(this.type="default"),this.hasAttribute("shape")||(this.shape="block");const r=this.shape==="square"||this.shape==="circle";!this.hasAttribute("align")&&!r&&(this.align="left"),super.connectedCallback()}};vo=tc([$(ec)],vo);/**
2094
+ `,bo],It([L()],nt.prototype,"open",2),It([De("slot:not([name=content])")],nt.prototype,"popBtn",2),It([De("slot[name=content]")],nt.prototype,"popContent",2),It([l({type:Boolean})],nt.prototype,"noToggle",2),It([l({type:Boolean,reflect:!0})],nt.prototype,"inline",2),It([l({type:Boolean})],nt.prototype,"manual",2),It([l({type:String,reflect:!0})],nt.prototype,"shadow",2),It([l({type:String})],nt.prototype,"placement",2),It([L()],nt.prototype,"triggerElement",2),nt=It([$(Gl)],nt);var Ql=Object.defineProperty,Jl=Object.getOwnPropertyDescriptor,tc=(r,t,e,i)=>{for(var s=i>1?void 0:i?Jl(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ql(t,e,s),s};const ec="sonic-menu-item";let vo=class extends j{constructor(){super()}connectedCallback(){this.hasAttribute("variant")||(this.variant="ghost"),this.hasAttribute("type")||(this.type="default"),this.hasAttribute("shape")||(this.shape="block");const r=this.shape==="square"||this.shape==="circle";!this.hasAttribute("align")&&!r&&(this.align="left"),super.connectedCallback()}};vo=tc([$(ec)],vo);/**
2095
2095
  * @license
2096
2096
  * Copyright 2021 Google LLC
2097
2097
  * SPDX-License-Identifier: BSD-3-Clause
@@ -2436,7 +2436,7 @@
2436
2436
  input + sonic-icon {
2437
2437
  display: none;
2438
2438
  }
2439
- `],zi=yc([$(_c)],zi);var wc=Object.defineProperty,xc=Object.getOwnPropertyDescriptor,J=(r,t,e,i)=>{for(var s=i>1?void 0:i?xc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&wc(t,e,s),s};const $c="sonic-select";let Z=class extends Me(G(x)){constructor(){super(...arguments),this.valueKey="value",this.wordingKey="wording",this.multiple=!1,this.status="default",this._options=[],this.hasDoneFirstUpdate=!1,this._value="",this.updateOptions=()=>{const r=this.querySelectorAll("option");r.length>0&&(this.options=Array.from(r).map(t=>({value:t.value,wording:t.text,selected:t.hasAttribute("selected")})))},this.forceAutoFill=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1}set options(r){this._options=r;for(const e of r)e.selected&&(this.value=e[this.valueKey]||"");!(this.value||this.getAttribute("value"))&&this._options.length>0&&(this.value=this._options[0][this.valueKey]),this.requestUpdate()}get options(){return this._options}firstUpdated(r){this.hasDoneFirstUpdate=!0,super.firstUpdated(r)}set value(r){r==null&&!this.hasDoneFirstUpdate||(r||(r=""),this._value!=r&&(this._value=r,this.updateFormPublisherValue(),this.requestUpdate()))}get value(){return this._value}updateFormPublisherValue(){this.setFormPublisherValue(this.value)}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps(),this.updateOptions()}get description(){return this._description}set description(r){this.hasAttribute("description")&&!this.forceAutoFill&&(r=this.getAttribute("description")),this._description=r,this.requestUpdate()}get label(){return this._label}set label(r){this.hasAttribute("label")&&!this.forceAutoFill&&(r=this.getAttribute("label")),this._label=r,this.requestUpdate()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("select");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix};return m`
2439
+ `],zi=yc([$(_c)],zi);var wc=Object.defineProperty,xc=Object.getOwnPropertyDescriptor,tt=(r,t,e,i)=>{for(var s=i>1?void 0:i?xc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&wc(t,e,s),s};const $c="sonic-select";let Z=class extends Me(G(x)){constructor(){super(...arguments),this.valueKey="value",this.wordingKey="wording",this.multiple=!1,this.status="default",this._options=[],this.hasDoneFirstUpdate=!1,this._value="",this.updateOptions=()=>{const r=this.querySelectorAll("option");r.length>0&&(this.options=Array.from(r).map(t=>({value:t.value,wording:t.text,selected:t.hasAttribute("selected")})))},this.forceAutoFill=!1,this.hasDescription=!1,this.hasLabel=!1,this.hasSuffix=!1,this.hasPrefix=!1}set options(r){this._options=r;for(const e of r)e.selected&&(this.value=e[this.valueKey]||"");!(this.value||this.getAttribute("value"))&&this._options.length>0&&(this.value=this._options[0][this.valueKey]),this.requestUpdate()}get options(){return this._options}firstUpdated(r){this.hasDoneFirstUpdate=!0,super.firstUpdated(r)}set value(r){r==null&&!this.hasDoneFirstUpdate||(r||(r=""),this._value!=r&&(this._value=r,this.updateFormPublisherValue(),this.requestUpdate()))}get value(){return this._value}updateFormPublisherValue(){this.setFormPublisherValue(this.value)}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps(),this.updateOptions()}get description(){return this._description}set description(r){this.hasAttribute("description")&&!this.forceAutoFill&&(r=this.getAttribute("description")),this._description=r,this.requestUpdate()}get label(){return this._label}set label(r){this.hasAttribute("label")&&!this.forceAutoFill&&(r=this.getAttribute("label")),this._label=r,this.requestUpdate()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t,e,i;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length),this.hasSuffix=!!((e=this.slotSuffixNodes)!=null&&e.length),this.hasPrefix=!!((i=this.slotPrefixNodes)!=null&&i.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("select");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={"has-prefix":this.hasPrefix,"has-suffix":this.hasSuffix};return m`
2440
2440
  <label
2441
2441
  for="form-element"
2442
2442
  class="${this.hasLabel?"form-label":"hidden"}"
@@ -2540,7 +2540,7 @@
2540
2540
  :host([multiple]) sonic-icon {
2541
2541
  display: none !important;
2542
2542
  }
2543
- `],J([l({type:String})],Z.prototype,"valueKey",2),J([l({type:String})],Z.prototype,"wordingKey",2),J([l({type:Boolean})],Z.prototype,"multiple",2),J([l({type:String,reflect:!0})],Z.prototype,"size",2),J([l({type:Number})],Z.prototype,"selectSize",2),J([l({type:String,reflect:!0})],Z.prototype,"status",2),J([l({type:Array})],Z.prototype,"options",1),J([l({reflect:!0})],Z.prototype,"value",1),J([l({type:Boolean})],Z.prototype,"forceAutoFill",2),J([l()],Z.prototype,"description",1),J([l()],Z.prototype,"label",1),J([ct({slot:"label",flatten:!0})],Z.prototype,"slotLabelNodes",2),J([ct({slot:"description",flatten:!0})],Z.prototype,"slotDescriptionNodes",2),J([ct({slot:"suffix",flatten:!0})],Z.prototype,"slotSuffixNodes",2),J([ct({slot:"prefix",flatten:!0})],Z.prototype,"slotPrefixNodes",2),J([L()],Z.prototype,"hasDescription",2),J([L()],Z.prototype,"hasLabel",2),J([L()],Z.prototype,"hasSuffix",2),J([L()],Z.prototype,"hasPrefix",2),Z=J([$($c)],Z);var Pc=Object.defineProperty,Cc=Object.getOwnPropertyDescriptor,vt=(r,t,e,i)=>{for(var s=i>1?void 0:i?Cc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Pc(t,e,s),s};const Ac="sonic-textarea";let dt=class extends Us(Me(G(x))){constructor(){super(...arguments),this.size="md",this.readonly=!1,this.resize="vertical",this.hasDescription=!1,this.hasLabel=!1}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("textarea");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={resize:this.resize};return m`
2543
+ `],tt([l({type:String})],Z.prototype,"valueKey",2),tt([l({type:String})],Z.prototype,"wordingKey",2),tt([l({type:Boolean})],Z.prototype,"multiple",2),tt([l({type:String,reflect:!0})],Z.prototype,"size",2),tt([l({type:Number})],Z.prototype,"selectSize",2),tt([l({type:String,reflect:!0})],Z.prototype,"status",2),tt([l({type:Array})],Z.prototype,"options",1),tt([l({reflect:!0})],Z.prototype,"value",1),tt([l({type:Boolean})],Z.prototype,"forceAutoFill",2),tt([l()],Z.prototype,"description",1),tt([l()],Z.prototype,"label",1),tt([ct({slot:"label",flatten:!0})],Z.prototype,"slotLabelNodes",2),tt([ct({slot:"description",flatten:!0})],Z.prototype,"slotDescriptionNodes",2),tt([ct({slot:"suffix",flatten:!0})],Z.prototype,"slotSuffixNodes",2),tt([ct({slot:"prefix",flatten:!0})],Z.prototype,"slotPrefixNodes",2),tt([L()],Z.prototype,"hasDescription",2),tt([L()],Z.prototype,"hasLabel",2),tt([L()],Z.prototype,"hasSuffix",2),tt([L()],Z.prototype,"hasPrefix",2),Z=tt([$($c)],Z);var Pc=Object.defineProperty,Cc=Object.getOwnPropertyDescriptor,vt=(r,t,e,i)=>{for(var s=i>1?void 0:i?Cc(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Pc(t,e,s),s};const Ac="sonic-textarea";let dt=class extends Us(Me(G(x))){constructor(){super(...arguments),this.size="md",this.readonly=!1,this.resize="vertical",this.hasDescription=!1,this.hasLabel=!1}connectedCallback(){super.connectedCallback(),this.hasSlotOrProps()}willUpdate(r){this.hasSlotOrProps(),super.willUpdate(r)}hasSlotOrProps(){var r,t;this.hasLabel=!!(this.label||(r=this.slotLabelNodes)!=null&&r.length),this.hasDescription=!!(this.description||(t=this.slotDescriptionNodes)!=null&&t.length)}validateFormElement(){var e;const r=(e=this.shadowRoot)==null?void 0:e.querySelector("textarea");if(!r||r.checkValidity())return;const t=this.getFormPublisher();t&&(t.isFormValid=!1),r.reportValidity()}render(){const r={resize:this.resize};return m`
2544
2544
  <label
2545
2545
  for="${this.id||"form-element"}"
2546
2546
  class="${this.hasLabel?"form-label":"hidden"}"
@@ -3073,7 +3073,7 @@ ${this.value}</textarea
3073
3073
  font-weight: var(--sc-headings-font-weight, 700);
3074
3074
  font-style: var(--sc-headings-font-style, normal);
3075
3075
  }
3076
- `],Wi=uh([$(fh)],Wi);var mh=Object.defineProperty,gh=Object.getOwnPropertyDescriptor,tt=(r,t,e,i)=>{for(var s=i>1?void 0:i?gh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&mh(t,e,s),s};const wo="sonic-modal";let F=class extends G(x){constructor(){super(...arguments),this.forceAction=!1,this.removeOnHide=!1,this.removeHashOnHide=!1,this.align="left",this.maxWidth="min(100vw, 40rem)",this.maxHeight="90vh",this.width="100%",this.height="fit-content",this.effect="slide",this.fullScreen=!1,this.visible=!1,this.closeOnLocationChange=!1,this.location="",this._animationState="hidden",this._animationConfig={quartOut:"cubic-bezier(0.165, 0.84, 0.44, 1)",quadOut:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",linear:"linear",translateY:"translateY(2.5rem)",durationIn:300,durationOut:300}}static create(r){const t=document.createElement(wo);return t.options=r,r.removeHashOnHide===!0&&t.setAttribute("removeHashOnHide","true"),r.removeOnHide===!0&&t.setAttribute("removeOnHide","true"),r.closeOnLocationChange===!0&&t.setAttribute("closeOnLocationChange","true"),r.maxWidth&&(t.maxWidth=r==null?void 0:r.maxWidth),r.width&&(t.width=r==null?void 0:r.width),r.maxHeight&&(t.maxHeight=r==null?void 0:r.maxHeight),r.height&&(t.height=r==null?void 0:r.height),r.forceAction&&(t.forceAction=!0),r.fullScreen&&(t.fullScreen=r==null?void 0:r.fullScreen),r.effect&&(t.effect=r==null?void 0:r.effect),r.paddingX&&(t.paddingX=r==null?void 0:r.paddingX),r.paddingY&&(t.paddingY=r==null?void 0:r.paddingY),r.zIndex&&(t.zIndex=r==null?void 0:r.zIndex),_t.getPopContainer().appendChild(t),t.updateComplete.then(()=>{t.show()}),t}connectedCallback(){F.modals.push(this),it.onChange(this),super.connectedCallback()}disconnectedCallback(){it.offChange(this),F.modals.splice(F.modals.indexOf(this),1),this.removeEventListener("keydown",this.handleEscape),super.disconnectedCallback()}firstUpdated(){this.addEventListener("keydown",this.handleEscape)}willUpdate(r){if(this.closeOnLocationChange&&r.has("location")){const t=r.get("location");t&&this.location&&this.location!==t&&setTimeout(()=>{this.hide()},50)}r.has("zIndex")&&this.style.setProperty("--sc_z-index",this.zIndex||"990"),r.has("paddingX")&&this.style.setProperty("--sc-modal-px",this.paddingX||""),r.has("paddingY")&&this.style.setProperty("--sc-modal-py",this.paddingY||""),super.willUpdate(r)}updated(r){const t=!r.get("visible")&&this.visible,e=r.get("visible")&&!this.visible;t&&this._animationState==="hidden"?this.show():e&&this._animationState==="visible"&&this.hide()}handleOverlayClick(r){!this.forceAction&&this._animationState==="visible"&&this.hide()}render(){const r={maxWidth:this.maxWidth,maxHeight:this.maxHeight,width:this.width,height:this.height,pointerEvents:this._animationState==="visible"?"auto":"none"},t={display:this.fullScreen?"none":"block",pointerEvents:this._animationState==="visible"?"auto":"none"};return m`
3076
+ `],Wi=uh([$(fh)],Wi);var mh=Object.defineProperty,gh=Object.getOwnPropertyDescriptor,J=(r,t,e,i)=>{for(var s=i>1?void 0:i?gh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&mh(t,e,s),s};const wo="sonic-modal";let I=class extends G(x){constructor(){super(...arguments),this.forceAction=!1,this.noCloseButton=!1,this.removeOnHide=!1,this.removeHashOnHide=!1,this.align="left",this.maxWidth="min(100vw, 40rem)",this.maxHeight="90vh",this.width="100%",this.height="fit-content",this.effect="slide",this.fullScreen=!1,this.visible=!1,this.closeOnLocationChange=!1,this.location="",this._animationState="hidden",this._animationConfig={quartOut:"cubic-bezier(0.165, 0.84, 0.44, 1)",quadOut:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",linear:"linear",translateY:"translateY(2.5rem)",durationIn:300,durationOut:300}}static create(r){const t=document.createElement(wo);return t.options=r,r.removeHashOnHide===!0&&t.setAttribute("removeHashOnHide","true"),r.removeOnHide===!0&&t.setAttribute("removeOnHide","true"),r.closeOnLocationChange===!0&&t.setAttribute("closeOnLocationChange","true"),r.maxWidth&&(t.maxWidth=r==null?void 0:r.maxWidth),r.width&&(t.width=r==null?void 0:r.width),r.maxHeight&&(t.maxHeight=r==null?void 0:r.maxHeight),r.height&&(t.height=r==null?void 0:r.height),r.forceAction&&(t.forceAction=!0),r.fullScreen&&(t.fullScreen=r==null?void 0:r.fullScreen),r.effect&&(t.effect=r==null?void 0:r.effect),r.noCloseButton&&(t.noCloseButton=!0),r.paddingX&&(t.paddingX=r==null?void 0:r.paddingX),r.paddingY&&(t.paddingY=r==null?void 0:r.paddingY),r.zIndex&&(t.zIndex=r==null?void 0:r.zIndex),_t.getPopContainer().appendChild(t),t.updateComplete.then(()=>{t.show()}),t}connectedCallback(){I.modals.push(this),it.onChange(this),super.connectedCallback()}disconnectedCallback(){it.offChange(this),I.modals.splice(I.modals.indexOf(this),1),this.removeEventListener("keydown",this.handleEscape),super.disconnectedCallback()}firstUpdated(){this.addEventListener("keydown",this.handleEscape)}willUpdate(r){if(this.closeOnLocationChange&&r.has("location")){const t=r.get("location");t&&this.location&&this.location!==t&&setTimeout(()=>{this.hide()},50)}r.has("zIndex")&&this.style.setProperty("--sc_z-index",this.zIndex||"990"),r.has("paddingX")&&this.style.setProperty("--sc-modal-px",this.paddingX||""),r.has("paddingY")&&this.style.setProperty("--sc-modal-py",this.paddingY||""),super.willUpdate(r)}updated(r){const t=!r.get("visible")&&this.visible,e=r.get("visible")&&!this.visible;t&&this._animationState==="hidden"?this.show():e&&this._animationState==="visible"&&this.hide()}handleOverlayClick(r){!this.forceAction&&this._animationState==="visible"&&this.hide()}render(){const r={maxWidth:this.maxWidth,maxHeight:this.maxHeight,width:this.width,height:this.height,pointerEvents:this._animationState==="visible"?"auto":"none"},t={display:this.fullScreen?"none":"block",pointerEvents:this._animationState==="visible"?"auto":"none"};return m`
3077
3077
  <div
3078
3078
  id="backdrop"
3079
3079
  @click=${this.handleOverlayClick}
@@ -3087,13 +3087,13 @@ ${this.value}</textarea
3087
3087
  style=${bt(r)}
3088
3088
  >
3089
3089
  ${this._animationState!=="hidden"?m`<div id="modal-content">
3090
- ${this.forceAction?A:m`<sonic-modal-close></sonic-modal-close>`}
3090
+ ${!this.forceAction&&!this.noCloseButton?m`<sonic-modal-close></sonic-modal-close>`:A}
3091
3091
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}
3092
3092
  ${this.modalFragment("content")} ${this.modalFragment("actions")}
3093
3093
  <slot></slot>
3094
3094
  </div>`:A}
3095
3095
  </dialog>
3096
- `}modalFragment(r){var i;const t=(i=this.options)==null?void 0:i[r];if(!t)return A;let e;switch(t instanceof Object?e=t:e=z(t),r){case"title":return m`<sonic-modal-title>${e}</sonic-modal-title>`;case"subtitle":return m`<sonic-modal-subtitle>${e}</sonic-modal-subtitle>`;case"content":return m`<sonic-modal-content>${e}</sonic-modal-content>`;case"actions":return m`<sonic-modal-actions>${e}</sonic-modal-actions>`;default:return A}}async show(){this._modalElement.show(),this._animationState="in",await this.animation("in"),this._animationState="visible",this.visible=!0,this.dispatchEvent(new CustomEvent("show")),this._modalElement.focus()}async hide(){this._animationState="out",this.dispatchEvent(new CustomEvent("hide")),await this.animation("out"),this._modalElement.close(),this._animationState="hidden",this.visible=!1,this.hasAttribute("resetDataProviderOnHide")&&rt.get(this.getAttribute("resetDataProviderOnHide")).set({}),this.removeHashOnHide&&window.history.replaceState({},"",window.location.pathname),this.removeOnHide&&this.remove(),this.dispatchEvent(new CustomEvent("hidden"))}async dispose(){await this.hide(),this.remove()}static disposeAll(){F.modals.forEach(r=>{r.dispose()})}handleEscape(r){if(r.key==="Escape"){r.preventDefault();const t=F.modals.filter(e=>e._animationState!=="hidden"&&!e.forceAction);t.length>0&&t[t.length-1].hide()}}animation(r){return new Promise(t=>{const{quartOut:e,linear:i,translateY:s,durationIn:o,durationOut:n,quadOut:a}=this._animationConfig,c=this._modalElement;if(!c)return t();const h=r==="in",d=h?o:n,p=!this.fullScreen&&h?100:0;this.fullScreen||(h?this.style.setProperty("--sc_backdrop-opacity","0.8"):setTimeout(()=>{this.style.setProperty("--sc_backdrop-opacity","0")},150));const g=[];this.effect==="slide"&&(g.push(c.animate([{transform:h?s:"translateY(0)"},{transform:h?"translateY(0)":s}],{duration:d,easing:h?e:a,fill:"both",delay:p})),g.push(c.animate([{opacity:h?0:1},{opacity:h?1:0}],{duration:d,easing:i,fill:"both",delay:p}))),Promise.all(g.map(v=>v.finished)).then(()=>t())})}};F.styles=[cs,P`
3096
+ `}modalFragment(r){var i;const t=(i=this.options)==null?void 0:i[r];if(!t)return A;let e;switch(t instanceof Object?e=t:e=z(t),r){case"title":return m`<sonic-modal-title>${e}</sonic-modal-title>`;case"subtitle":return m`<sonic-modal-subtitle>${e}</sonic-modal-subtitle>`;case"content":return m`<sonic-modal-content>${e}</sonic-modal-content>`;case"actions":return m`<sonic-modal-actions>${e}</sonic-modal-actions>`;default:return A}}async show(){this._modalElement.show(),this._animationState="in",await this.animation("in"),this._animationState="visible",this.visible=!0,this.dispatchEvent(new CustomEvent("show")),this._modalElement.focus()}async hide(){this._animationState="out",this.dispatchEvent(new CustomEvent("hide")),await this.animation("out"),this._modalElement.close(),this._animationState="hidden",this.visible=!1,this.hasAttribute("resetDataProviderOnHide")&&rt.get(this.getAttribute("resetDataProviderOnHide")).set({}),this.removeHashOnHide&&window.history.replaceState({},"",window.location.pathname),this.removeOnHide&&this.remove(),this.dispatchEvent(new CustomEvent("hidden"))}async dispose(){await this.hide(),this.remove()}static disposeAll(){I.modals.forEach(r=>{r.dispose()})}handleEscape(r){if(r.key==="Escape"){r.preventDefault();const t=I.modals.filter(e=>e._animationState!=="hidden"&&!e.forceAction);t.length>0&&t[t.length-1].hide()}}animation(r){return new Promise(t=>{const{quartOut:e,linear:i,translateY:s,durationIn:o,durationOut:n,quadOut:a}=this._animationConfig,c=this._modalElement;if(!c)return t();const h=r==="in",d=h?o:n,p=!this.fullScreen&&h?100:0;this.fullScreen||(h?this.style.setProperty("--sc_backdrop-opacity","0.8"):setTimeout(()=>{this.style.setProperty("--sc_backdrop-opacity","0")},150));const g=[];this.effect==="slide"&&(g.push(c.animate([{transform:h?s:"translateY(0)"},{transform:h?"translateY(0)":s}],{duration:d,easing:h?e:a,fill:"both",delay:p})),g.push(c.animate([{opacity:h?0:1},{opacity:h?1:0}],{duration:d,easing:i,fill:"both",delay:p}))),Promise.all(g.map(v=>v.finished)).then(()=>t())})}};I.styles=[cs,P`
3097
3097
  :host {
3098
3098
  --sc-modal-py: 2.5rem;
3099
3099
  --sc-modal-px: 1.5rem;
@@ -3227,7 +3227,7 @@ ${this.value}</textarea
3227
3227
  :host([rounded="none"]) #modal {
3228
3228
  --sc-img-radius: 0 !important;
3229
3229
  }
3230
- `],F.modals=[],tt([l({type:Boolean})],F.prototype,"forceAction",2),tt([l({type:Boolean})],F.prototype,"removeOnHide",2),tt([l({type:Boolean})],F.prototype,"removeHashOnHide",2),tt([l({type:String,reflect:!0})],F.prototype,"align",2),tt([l({type:String})],F.prototype,"paddingX",2),tt([l({type:String})],F.prototype,"paddingY",2),tt([l({type:String})],F.prototype,"maxWidth",2),tt([l({type:String})],F.prototype,"maxHeight",2),tt([l({type:String})],F.prototype,"zIndex",2),tt([l({type:String})],F.prototype,"width",2),tt([l({type:String})],F.prototype,"height",2),tt([l({type:String})],F.prototype,"effect",2),tt([l({type:Object})],F.prototype,"options",2),tt([l({type:Boolean,reflect:!0})],F.prototype,"fullScreen",2),tt([l({type:Boolean,reflect:!0})],F.prototype,"visible",2),tt([De("#modal")],F.prototype,"_modalElement",2),tt([l({type:Boolean})],F.prototype,"closeOnLocationChange",2),tt([L()],F.prototype,"location",2),tt([L()],F.prototype,"_animationState",2),F=tt([$(wo)],F),typeof window<"u"&&(window.SonicModal=F);var bh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,Rt=(r,t,e,i)=>{for(var s=i>1?void 0:i?vh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&bh(t,e,s),s};const yh={warning:"warning-circled-outline",success:"check-circled-outline",error:"warning-circled-outline",info:"info-empty",default:"info-empty"},_h="sonic-alert";let At=class extends x{constructor(){super(...arguments),this.label="",this.noIcon=!1,this.text="",this.id=new Date().getTime().toString(),this.dismissible=!1,this.background=!1,this.status="default",this.dismissForever=!1}connectedCallback(){if(this.dismissForever){const r=localStorage.getItem("sonic-alert-dismissed")||"{}";JSON.parse(r)[this.id]&&this.remove()}super.connectedCallback()}render(){return m`
3230
+ `],I.modals=[],J([l({type:Boolean})],I.prototype,"forceAction",2),J([l({type:Boolean})],I.prototype,"noCloseButton",2),J([l({type:Boolean})],I.prototype,"removeOnHide",2),J([l({type:Boolean})],I.prototype,"removeHashOnHide",2),J([l({type:String,reflect:!0})],I.prototype,"align",2),J([l({type:String})],I.prototype,"paddingX",2),J([l({type:String})],I.prototype,"paddingY",2),J([l({type:String})],I.prototype,"maxWidth",2),J([l({type:String})],I.prototype,"maxHeight",2),J([l({type:String})],I.prototype,"zIndex",2),J([l({type:String})],I.prototype,"width",2),J([l({type:String})],I.prototype,"height",2),J([l({type:String})],I.prototype,"effect",2),J([l({type:Object})],I.prototype,"options",2),J([l({type:Boolean,reflect:!0})],I.prototype,"fullScreen",2),J([l({type:Boolean,reflect:!0})],I.prototype,"visible",2),J([De("#modal")],I.prototype,"_modalElement",2),J([l({type:Boolean})],I.prototype,"closeOnLocationChange",2),J([L()],I.prototype,"location",2),J([L()],I.prototype,"_animationState",2),I=J([$(wo)],I),typeof window<"u"&&(window.SonicModal=I);var bh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,Rt=(r,t,e,i)=>{for(var s=i>1?void 0:i?vh(t,e):t,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&bh(t,e,s),s};const yh={warning:"warning-circled-outline",success:"check-circled-outline",error:"warning-circled-outline",info:"info-empty",default:"info-empty"},_h="sonic-alert";let At=class extends x{constructor(){super(...arguments),this.label="",this.noIcon=!1,this.text="",this.id=new Date().getTime().toString(),this.dismissible=!1,this.background=!1,this.status="default",this.dismissForever=!1}connectedCallback(){if(this.dismissForever){const r=localStorage.getItem("sonic-alert-dismissed")||"{}";JSON.parse(r)[this.id]&&this.remove()}super.connectedCallback()}render(){return m`
3231
3231
  <slot name="icon" class="${this.noIcon?"hidden":""}"
3232
3232
  >${this.noIcon?A:m`<div>
3233
3233
  ${this.status&&m`<sonic-icon name=${yh[this.status]}></sonic-icon>`}
@@ -4183,4 +4183,4 @@ ${this.value}</textarea
4183
4183
  --altcha-color-footer-bg: var(--sc-base-100, #000);
4184
4184
  --altcha-max-width: 260px;
4185
4185
  }
4186
- `],Js([l()],Ve.prototype,"key",2),Js([l()],Ve.prototype,"action",2),Js([l({type:Number})],Ve.prototype,"zIndex",2),Ve=Js([$(Md)],Ve),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Id(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function jd(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Ao(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Id,r.__onDisconnected__=jd;const t=r.connectedCallback;r.connectedCallback=function(){t.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(i=>i(this))};const e=r.disconnectedCallback;r.disconnectedCallback=function(){e.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(i=>i(this))}}function Fd(r){const t=r.split(".");if(t.length==0)return function(){};const e=t.shift()||"";let i=T.get(e);return i=ts.traverse(i,t),function(s,o){if(!s)return;let n;Ao(s),s.__onConnected__(a=>{n=c=>{a[o]=c},i.onAssign(n)}),s.__onDisconnected__(()=>{i.offAssign(n)})}}function zd(...r){const t=[],e=[];for(let i=0;i<r.length;i++){const o=r[i].split(".");if(o.length==0)continue;const n=o.shift()||"";let a=T.get(n);a=ts.traverse(a,o);const c=new Set,h=d=>{t[i]=d,t.filter(p=>p!==null).length==r.length&&c.forEach(p=>p(...t))};e.push({publisher:a,onAssign:h,callbacks:c})}return function(i,s,o){Ao(i);let n;i.__onConnected__(a=>{for(const c of e)n=o.value.bind(a),c.callbacks.add(n),c.publisher.onAssign(c.onAssign)}),i.__onDisconnected__(()=>{for(const a of e)a.callbacks.delete(n),a.publisher.offAssign(a.onAssign)})}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:Fd,onAssing:zd},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:Lr,dataProvider:cn,sub:an,subscribe:nn,get:ln,set:hn};const Rd=k,Ud=F;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Rd,SonicModal:Ud};const Vd=window;Vd.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))});
4186
+ `],Js([l()],Ve.prototype,"key",2),Js([l()],Ve.prototype,"action",2),Js([l({type:Number})],Ve.prototype,"zIndex",2),Ve=Js([$(Md)],Ve),window.queueMicrotask=window.queueMicrotask||function(r){Promise.resolve().then(r).catch(t=>setTimeout(()=>{throw t}))};function Id(r){this.__connectedCallbackCalls__||(this.__connectedCallbackCalls__=new Set),this.__connectedCallbackCalls__.add(r)}function jd(r){this.__disconnectedCallbackCalls__||(this.__disconnectedCallbackCalls__=new Set),this.__disconnectedCallbackCalls__.add(r)}function Ao(r){if(r.__is__setSubscribable__)return;r.__is__setSubscribable__=!0,r.__onConnected__=Id,r.__onDisconnected__=jd;const t=r.connectedCallback;r.connectedCallback=function(){t.call(this),this.__connectedCallbackCalls__&&this.__connectedCallbackCalls__.forEach(i=>i(this))};const e=r.disconnectedCallback;r.disconnectedCallback=function(){e.call(this),this.__disconnectedCallbackCalls__&&this.__disconnectedCallbackCalls__.forEach(i=>i(this))}}function Fd(r){const t=r.split(".");if(t.length==0)return function(){};const e=t.shift()||"";let i=T.get(e);return i=ts.traverse(i,t),function(s,o){if(!s)return;let n;Ao(s),s.__onConnected__(a=>{n=c=>{a[o]=c},i.onAssign(n)}),s.__onDisconnected__(()=>{i.offAssign(n)})}}function zd(...r){const t=[],e=[];for(let i=0;i<r.length;i++){const o=r[i].split(".");if(o.length==0)continue;const n=o.shift()||"";let a=T.get(n);a=ts.traverse(a,o);const c=new Set,h=d=>{t[i]=d,t.filter(p=>p!==null).length==r.length&&c.forEach(p=>p(...t))};e.push({publisher:a,onAssign:h,callbacks:c})}return function(i,s,o){Ao(i);let n;i.__onConnected__(a=>{for(const c of e)n=o.value.bind(a),c.callbacks.add(n),c.publisher.onAssign(c.onAssign)}),i.__onDisconnected__(()=>{for(const a of e)a.callbacks.delete(n),a.publisher.offAssign(a.onAssign)})}}window["concorde-decorator-subscriber"]=window["concorde-decorator-subscriber"]||{},window["concorde-decorator-subscriber"]={bind:Fd,onAssing:zd},window["concorde-directives-data-provider"]=window["concorde-directives-data-provider"]||{},window["concorde-directives-data-provider"]={dp:Lr,dataProvider:cn,sub:an,subscribe:nn,get:ln,set:hn};const Rd=k,Ud=I;window["concorde-components"]=window["concorde-components"]||{},window["concorde-components"]={SonicToast:Rd,SonicModal:Ud};const Vd=window;Vd.concordeIsLoaded=!0,window.dispatchEvent(new CustomEvent("concorde-loaded"))});
@@ -559,7 +559,7 @@ let M = (L = class {
559
559
  const h = await new Response(a.readable).arrayBuffer();
560
560
  return new TextDecoder().decode(h);
561
561
  }
562
- }, L.buildDate = "Thu Sep 04 2025 14:43:53 GMT+0200 (Central European Summer Time)", L.changed = !1, L.saving = !1, L.saveId = 0, L.instance = null, L.instances = /* @__PURE__ */ new Map(), L.modifiedCollectore = [], L);
562
+ }, L.buildDate = "Wed Sep 17 2025 09:34:47 GMT+0200 (Central European Summer Time)", L.changed = !1, L.saving = !1, L.saveId = 0, L.instance = null, L.instances = /* @__PURE__ */ new Map(), L.modifiedCollectore = [], L);
563
563
  if (typeof window < "u") {
564
564
  const r = window;
565
565
  r[Os + "PublisherManager"] = r[Os + "PublisherManager"] || M;
@@ -9522,7 +9522,7 @@ wi.styles = [
9522
9522
  wi = Vc([
9523
9523
  $(Bc)
9524
9524
  ], wi);
9525
- var Hc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, Q = (r, t, e, i) => {
9525
+ var Hc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, J = (r, t, e, i) => {
9526
9526
  for (var s = i > 1 ? void 0 : i ? qc(t, e) : t, o = r.length - 1, n; o >= 0; o--)
9527
9527
  (n = r[o]) && (s = (i ? n(t, e, s) : n(s)) || s);
9528
9528
  return i && s && Hc(t, e, s), s;
@@ -9722,64 +9722,64 @@ Y.styles = [
9722
9722
  }
9723
9723
  `
9724
9724
  ];
9725
- Q([
9725
+ J([
9726
9726
  l({ type: String })
9727
9727
  ], Y.prototype, "valueKey", 2);
9728
- Q([
9728
+ J([
9729
9729
  l({ type: String })
9730
9730
  ], Y.prototype, "wordingKey", 2);
9731
- Q([
9731
+ J([
9732
9732
  l({ type: Boolean })
9733
9733
  ], Y.prototype, "multiple", 2);
9734
- Q([
9734
+ J([
9735
9735
  l({ type: String, reflect: !0 })
9736
9736
  ], Y.prototype, "size", 2);
9737
- Q([
9737
+ J([
9738
9738
  l({ type: Number })
9739
9739
  ], Y.prototype, "selectSize", 2);
9740
- Q([
9740
+ J([
9741
9741
  l({ type: String, reflect: !0 })
9742
9742
  ], Y.prototype, "status", 2);
9743
- Q([
9743
+ J([
9744
9744
  l({ type: Array })
9745
9745
  ], Y.prototype, "options", 1);
9746
- Q([
9746
+ J([
9747
9747
  l({ reflect: !0 })
9748
9748
  ], Y.prototype, "value", 1);
9749
- Q([
9749
+ J([
9750
9750
  l({ type: Boolean })
9751
9751
  ], Y.prototype, "forceAutoFill", 2);
9752
- Q([
9752
+ J([
9753
9753
  l()
9754
9754
  ], Y.prototype, "description", 1);
9755
- Q([
9755
+ J([
9756
9756
  l()
9757
9757
  ], Y.prototype, "label", 1);
9758
- Q([
9758
+ J([
9759
9759
  dt({ slot: "label", flatten: !0 })
9760
9760
  ], Y.prototype, "slotLabelNodes", 2);
9761
- Q([
9761
+ J([
9762
9762
  dt({ slot: "description", flatten: !0 })
9763
9763
  ], Y.prototype, "slotDescriptionNodes", 2);
9764
- Q([
9764
+ J([
9765
9765
  dt({ slot: "suffix", flatten: !0 })
9766
9766
  ], Y.prototype, "slotSuffixNodes", 2);
9767
- Q([
9767
+ J([
9768
9768
  dt({ slot: "prefix", flatten: !0 })
9769
9769
  ], Y.prototype, "slotPrefixNodes", 2);
9770
- Q([
9770
+ J([
9771
9771
  E()
9772
9772
  ], Y.prototype, "hasDescription", 2);
9773
- Q([
9773
+ J([
9774
9774
  E()
9775
9775
  ], Y.prototype, "hasLabel", 2);
9776
- Q([
9776
+ J([
9777
9777
  E()
9778
9778
  ], Y.prototype, "hasSuffix", 2);
9779
- Q([
9779
+ J([
9780
9780
  E()
9781
9781
  ], Y.prototype, "hasPrefix", 2);
9782
- Y = Q([
9782
+ Y = J([
9783
9783
  $(Wc)
9784
9784
  ], Y);
9785
9785
  var Kc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, vt = (r, t, e, i) => {
@@ -10949,7 +10949,7 @@ Ci.styles = [
10949
10949
  Ci = Ih([
10950
10950
  $(jh)
10951
10951
  ], Ci);
10952
- var Fh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, J = (r, t, e, i) => {
10952
+ var Fh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, Q = (r, t, e, i) => {
10953
10953
  for (var s = i > 1 ? void 0 : i ? zh(t, e) : t, o = r.length - 1, n; o >= 0; o--)
10954
10954
  (n = r[o]) && (s = (i ? n(t, e, s) : n(s)) || s);
10955
10955
  return i && s && Fh(t, e, s), s;
@@ -10957,7 +10957,7 @@ var Fh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, J = (r, t,
10957
10957
  const So = "sonic-modal";
10958
10958
  let I = class extends G(x) {
10959
10959
  constructor() {
10960
- super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
10960
+ super(...arguments), this.forceAction = !1, this.noCloseButton = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
10961
10961
  quartOut: "cubic-bezier(0.165, 0.84, 0.44, 1)",
10962
10962
  quadOut: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
10963
10963
  linear: "linear",
@@ -10968,7 +10968,7 @@ let I = class extends G(x) {
10968
10968
  }
10969
10969
  static create(r) {
10970
10970
  const t = document.createElement(So);
10971
- return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.paddingX && (t.paddingX = r == null ? void 0 : r.paddingX), r.paddingY && (t.paddingY = r == null ? void 0 : r.paddingY), r.zIndex && (t.zIndex = r == null ? void 0 : r.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
10971
+ return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.noCloseButton && (t.noCloseButton = !0), r.paddingX && (t.paddingX = r == null ? void 0 : r.paddingX), r.paddingY && (t.paddingY = r == null ? void 0 : r.paddingY), r.zIndex && (t.zIndex = r == null ? void 0 : r.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
10972
10972
  t.show();
10973
10973
  }), t;
10974
10974
  }
@@ -11033,7 +11033,7 @@ let I = class extends G(x) {
11033
11033
  style=${bt(r)}
11034
11034
  >
11035
11035
  ${this._animationState !== "hidden" ? g`<div id="modal-content">
11036
- ${this.forceAction ? A : g`<sonic-modal-close></sonic-modal-close>`}
11036
+ ${!this.forceAction && !this.noCloseButton ? g`<sonic-modal-close></sonic-modal-close>` : A}
11037
11037
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}
11038
11038
  ${this.modalFragment("content")} ${this.modalFragment("actions")}
11039
11039
  <slot></slot>
@@ -11269,64 +11269,67 @@ I.styles = [
11269
11269
  `
11270
11270
  ];
11271
11271
  I.modals = [];
11272
- J([
11272
+ Q([
11273
11273
  l({ type: Boolean })
11274
11274
  ], I.prototype, "forceAction", 2);
11275
- J([
11275
+ Q([
11276
+ l({ type: Boolean })
11277
+ ], I.prototype, "noCloseButton", 2);
11278
+ Q([
11276
11279
  l({ type: Boolean })
11277
11280
  ], I.prototype, "removeOnHide", 2);
11278
- J([
11281
+ Q([
11279
11282
  l({ type: Boolean })
11280
11283
  ], I.prototype, "removeHashOnHide", 2);
11281
- J([
11284
+ Q([
11282
11285
  l({ type: String, reflect: !0 })
11283
11286
  ], I.prototype, "align", 2);
11284
- J([
11287
+ Q([
11285
11288
  l({ type: String })
11286
11289
  ], I.prototype, "paddingX", 2);
11287
- J([
11290
+ Q([
11288
11291
  l({ type: String })
11289
11292
  ], I.prototype, "paddingY", 2);
11290
- J([
11293
+ Q([
11291
11294
  l({ type: String })
11292
11295
  ], I.prototype, "maxWidth", 2);
11293
- J([
11296
+ Q([
11294
11297
  l({ type: String })
11295
11298
  ], I.prototype, "maxHeight", 2);
11296
- J([
11299
+ Q([
11297
11300
  l({ type: String })
11298
11301
  ], I.prototype, "zIndex", 2);
11299
- J([
11302
+ Q([
11300
11303
  l({ type: String })
11301
11304
  ], I.prototype, "width", 2);
11302
- J([
11305
+ Q([
11303
11306
  l({ type: String })
11304
11307
  ], I.prototype, "height", 2);
11305
- J([
11308
+ Q([
11306
11309
  l({ type: String })
11307
11310
  ], I.prototype, "effect", 2);
11308
- J([
11311
+ Q([
11309
11312
  l({ type: Object })
11310
11313
  ], I.prototype, "options", 2);
11311
- J([
11314
+ Q([
11312
11315
  l({ type: Boolean, reflect: !0 })
11313
11316
  ], I.prototype, "fullScreen", 2);
11314
- J([
11317
+ Q([
11315
11318
  l({ type: Boolean, reflect: !0 })
11316
11319
  ], I.prototype, "visible", 2);
11317
- J([
11320
+ Q([
11318
11321
  Te("#modal")
11319
11322
  ], I.prototype, "_modalElement", 2);
11320
- J([
11323
+ Q([
11321
11324
  l({ type: Boolean })
11322
11325
  ], I.prototype, "closeOnLocationChange", 2);
11323
- J([
11326
+ Q([
11324
11327
  E()
11325
11328
  ], I.prototype, "location", 2);
11326
- J([
11329
+ Q([
11327
11330
  E()
11328
11331
  ], I.prototype, "_animationState", 2);
11329
- I = J([
11332
+ I = Q([
11330
11333
  $(So)
11331
11334
  ], I);
11332
11335
  typeof window < "u" && (window.SonicModal = I);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersoniks/concorde",
3
- "version": "3.1.99",
3
+ "version": "3.1.100",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "",
@@ -37,6 +37,7 @@ declare type ModalCreateOptions = {
37
37
  fullScreen?: boolean;
38
38
  effect?: effectType;
39
39
  closeOnLocationChange?: boolean;
40
+ noCloseButton?: boolean;
40
41
  };
41
42
 
42
43
  type effectType = "fade" | "slide" | "none";
@@ -185,6 +186,7 @@ export class Modal extends Subscriber(LitElement) {
185
186
  ];
186
187
  static modals: Array<Modal> = [];
187
188
  @property({ type: Boolean }) forceAction = false;
189
+ @property({ type: Boolean }) noCloseButton = false;
188
190
  @property({ type: Boolean }) removeOnHide = false;
189
191
  @property({ type: Boolean }) removeHashOnHide = false;
190
192
  @property({ type: String, reflect: true }) align:
@@ -235,7 +237,7 @@ export class Modal extends Subscriber(LitElement) {
235
237
  if (options.forceAction) modal.forceAction = true;
236
238
  if (options.fullScreen) modal.fullScreen = options?.fullScreen;
237
239
  if (options.effect) modal.effect = options?.effect;
238
-
240
+ if (options.noCloseButton) modal.noCloseButton = true;
239
241
  if (options.paddingX) modal.paddingX = options?.paddingX;
240
242
  if (options.paddingY) modal.paddingY = options?.paddingY;
241
243
  if (options.zIndex) modal.zIndex = options?.zIndex;
@@ -352,7 +354,7 @@ export class Modal extends Subscriber(LitElement) {
352
354
  >
353
355
  ${this._animationState !== "hidden"
354
356
  ? html`<div id="modal-content">
355
- ${!this.forceAction
357
+ ${!this.forceAction && !this.noCloseButton
356
358
  ? html`<sonic-modal-close></sonic-modal-close>`
357
359
  : nothing}
358
360
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}