@telia-ace/widget-components-area-flamingo 1.1.26 → 1.1.27-rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,33 +2,33 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const B=globalThis,Q=B.ShadowRoot&&(B.ShadyCSS===void 0||B.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,X=Symbol(),nt=new WeakMap;let $t=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==X)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Q&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=nt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&nt.set(e,t))}return t}toString(){return this.cssText}};const Tt=r=>new $t(typeof r=="string"?r:r+"",void 0,X),P=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,i,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[n+1],r[0]);return new $t(e,r,X)},Ut=(r,t)=>{if(Q)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=B.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},ot=Q?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Tt(e)})(r):r;/**
5
+ */const I=globalThis,Q=I.ShadowRoot&&(I.ShadyCSS===void 0||I.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,X=Symbol(),nt=new WeakMap;let $t=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==X)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Q&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=nt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&nt.set(e,t))}return t}toString(){return this.cssText}};const Rt=r=>new $t(typeof r=="string"?r:r+"",void 0,X),P=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,i,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[n+1],r[0]);return new $t(e,r,X)},Nt=(r,t)=>{if(Q)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=I.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},ot=Q?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Rt(e)})(r):r;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:Nt,defineProperty:Mt,getOwnPropertyDescriptor:kt,getOwnPropertyNames:Rt,getOwnPropertySymbols:Ht,getPrototypeOf:Lt}=Object,_=globalThis,at=_.trustedTypes,jt=at?at.emptyScript:"",Y=_.reactiveElementPolyfillSupport,T=(r,t)=>r,I={toAttribute(r,t){switch(t){case Boolean:r=r?jt:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},tt=(r,t)=>!Nt(r,t),ct={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:tt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),_.litPropertyMetadata??(_.litPropertyMetadata=new WeakMap);class E extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ct){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Mt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=kt(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const c=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ct}static _$Ei(){if(this.hasOwnProperty(T("elementProperties")))return;const t=Lt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(T("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(T("properties"))){const e=this.properties,s=[...Rt(e),...Ht(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(ot(i))}else t!==void 0&&e.push(ot(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$ES??(this._$ES=[])).push(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$ES)==null||e.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ut(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:I).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=s.getPropertyOptions(i),c=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:I;this._$Em=i,this[i]=c.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??tt)(i?n:this[t],e))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$ES)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$ET()}catch(i){throw t=!1,this._$ET(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EO(e,this[e]))),this._$ET()}updated(t){}firstUpdated(t){}}E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[T("elementProperties")]=new Map,E[T("finalized")]=new Map,Y==null||Y({ReactiveElement:E}),(_.reactiveElementVersions??(_.reactiveElementVersions=[])).push("2.0.1");/**
9
+ */const{is:Mt,defineProperty:kt,getOwnPropertyDescriptor:Ht,getOwnPropertyNames:Lt,getOwnPropertySymbols:jt,getPrototypeOf:Dt}=Object,_=globalThis,at=_.trustedTypes,zt=at?at.emptyScript:"",Y=_.reactiveElementPolyfillSupport,U=(r,t)=>r,G={toAttribute(r,t){switch(t){case Boolean:r=r?zt:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},tt=(r,t)=>!Mt(r,t),ct={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:tt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),_.litPropertyMetadata??(_.litPropertyMetadata=new WeakMap);class E extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ct){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&kt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=Ht(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const c=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ct}static _$Ei(){if(this.hasOwnProperty(U("elementProperties")))return;const t=Dt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(U("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(U("properties"))){const e=this.properties,s=[...Lt(e),...jt(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(ot(i))}else t!==void 0&&e.push(ot(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$ES??(this._$ES=[])).push(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$ES)==null||e.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Nt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:G).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=s.getPropertyOptions(i),c=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:G;this._$Em=i,this[i]=c.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??tt)(i?n:this[t],e))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$ES)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$ET()}catch(i){throw t=!1,this._$ET(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EO(e,this[e]))),this._$ET()}updated(t){}firstUpdated(t){}}E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[U("elementProperties")]=new Map,E[U("finalized")]=new Map,Y==null||Y({ReactiveElement:E}),(_.reactiveElementVersions??(_.reactiveElementVersions=[])).push("2.0.1");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const U=globalThis,G=U.trustedTypes,ht=G?G.createPolicy("lit-html",{createHTML:r=>r}):void 0,mt="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+m,Dt=`<${_t}>`,b=document,M=()=>b.createComment(""),k=r=>r===null||typeof r!="object"&&typeof r!="function",yt=Array.isArray,zt=r=>yt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",J=`[
14
- \f\r]`,O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lt=/-->/g,dt=/>/g,y=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,vt=/^(?:script|style|textarea|title)$/i,Bt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),C=Bt(1),w=Symbol.for("lit-noChange"),l=Symbol.for("lit-nothing"),gt=new WeakMap,A=b.createTreeWalker(b,129);function At(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ht!==void 0?ht.createHTML(t):t}const It=(r,t)=>{const e=r.length-1,s=[];let i,n=t===2?"<svg>":"",o=O;for(let c=0;c<e;c++){const a=r[c];let d,p,h=-1,u=0;for(;u<a.length&&(o.lastIndex=u,p=o.exec(a),p!==null);)u=o.lastIndex,o===O?p[1]==="!--"?o=lt:p[1]!==void 0?o=dt:p[2]!==void 0?(vt.test(p[2])&&(i=RegExp("</"+p[2],"g")),o=y):p[3]!==void 0&&(o=y):o===y?p[0]===">"?(o=i??O,h=-1):p[1]===void 0?h=-2:(h=o.lastIndex-p[2].length,d=p[1],o=p[3]===void 0?y:p[3]==='"'?ut:pt):o===ut||o===pt?o=y:o===lt||o===dt?o=O:(o=y,i=void 0);const $=o===y&&r[c+1].startsWith("/>")?" ":"";n+=o===O?a+Dt:h>=0?(s.push(d),a.slice(0,h)+mt+a.slice(h)+m+$):a+m+(h===-2?c:$)}return[At(r,n+(r[e]||"<?>")+(t===2?"</svg>":"")),s]};class R{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const c=t.length-1,a=this.parts,[d,p]=It(t,e);if(this.el=R.createElement(d,s),A.currentNode=this.el.content,e===2){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=A.nextNode())!==null&&a.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const h of i.getAttributeNames())if(h.endsWith(mt)){const u=p[o++],$=i.getAttribute(h).split(m),D=/([.?@])?(.*)/.exec(u);a.push({type:1,index:n,name:D[2],strings:$,ctor:D[1]==="."?Wt:D[1]==="?"?Vt:D[1]==="@"?qt:V}),i.removeAttribute(h)}else h.startsWith(m)&&(a.push({type:6,index:n}),i.removeAttribute(h));if(vt.test(i.tagName)){const h=i.textContent.split(m),u=h.length-1;if(u>0){i.textContent=G?G.emptyScript:"";for(let $=0;$<u;$++)i.append(h[$],M()),A.nextNode(),a.push({type:2,index:++n});i.append(h[u],M())}}}else if(i.nodeType===8)if(i.data===_t)a.push({type:2,index:n});else{let h=-1;for(;(h=i.data.indexOf(m,h+1))!==-1;)a.push({type:7,index:n}),h+=m.length-1}n++}}static createElement(t,e){const s=b.createElement("template");return s.innerHTML=t,s}}function S(r,t,e=r,s){var o,c;if(t===w)return t;let i=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const n=k(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),n===void 0?i=void 0:(i=new n(r),i._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=S(r,i._$AS(r,t.values),i,s)),t}class Gt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??b).importNode(e,!0);A.currentNode=i;let n=A.nextNode(),o=0,c=0,a=s[0];for(;a!==void 0;){if(o===a.index){let d;a.type===2?d=new H(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new Yt(n,this,t)),this._$AV.push(d),a=s[++c]}o!==(a==null?void 0:a.index)&&(n=A.nextNode(),o++)}return A.currentNode=b,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class H{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=l,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),k(t)?t===l||t==null||t===""?(this._$AH!==l&&this._$AR(),this._$AH=l):t!==this._$AH&&t!==w&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):zt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==l&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$(b.createTextNode(t)),this._$AH=t}g(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=R.createElement(At(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const o=new Gt(i,this),c=o.u(this.options);o.p(e),this.$(c),this._$AH=o}}_$AC(t){let e=gt.get(t.strings);return e===void 0&&gt.set(t.strings,e=new R(t)),e}T(t){yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new H(this.k(M()),this.k(M()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class V{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=l,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=l}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(n===void 0)t=S(this,t,e,0),o=!k(t)||t!==this._$AH&&t!==w,o&&(this._$AH=t);else{const c=t;let a,d;for(t=n[0],a=0;a<n.length-1;a++)d=S(this,c[s+a],e,a),d===w&&(d=this._$AH[a]),o||(o=!k(d)||d!==this._$AH[a]),d===l?t=l:t!==l&&(t+=(d??"")+n[a+1]),this._$AH[a]=d}o&&!i&&this.O(t)}O(t){t===l?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Wt extends V{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===l?void 0:t}}class Vt extends V{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==l)}}class qt extends V{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??l)===w)return;const s=this._$AH,i=t===l&&s!==l||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==l&&(s===l||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Yt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const K=U.litHtmlPolyfillSupport;K==null||K(R,H),(U.litHtmlVersions??(U.litHtmlVersions=[])).push("3.0.2");const Jt=(r,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new H(t.insertBefore(M(),n),n,void 0,e??{})}return i._$AI(r),i};/**
13
+ */const R=globalThis,W=R.trustedTypes,ht=W?W.createPolicy("lit-html",{createHTML:r=>r}):void 0,mt="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+m,Bt=`<${_t}>`,w=document,M=()=>w.createComment(""),k=r=>r===null||typeof r!="object"&&typeof r!="function",yt=Array.isArray,It=r=>yt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",J=`[
14
+ \f\r]`,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lt=/-->/g,dt=/>/g,v=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,vt=/^(?:script|style|textarea|title)$/i,Gt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),C=Gt(1),x=Symbol.for("lit-noChange"),l=Symbol.for("lit-nothing"),gt=new WeakMap,A=w.createTreeWalker(w,129);function bt(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ht!==void 0?ht.createHTML(t):t}const Wt=(r,t)=>{const e=r.length-1,s=[];let i,n=t===2?"<svg>":"",o=T;for(let c=0;c<e;c++){const a=r[c];let d,p,h=-1,u=0;for(;u<a.length&&(o.lastIndex=u,p=o.exec(a),p!==null);)u=o.lastIndex,o===T?p[1]==="!--"?o=lt:p[1]!==void 0?o=dt:p[2]!==void 0?(vt.test(p[2])&&(i=RegExp("</"+p[2],"g")),o=v):p[3]!==void 0&&(o=v):o===v?p[0]===">"?(o=i??T,h=-1):p[1]===void 0?h=-2:(h=o.lastIndex-p[2].length,d=p[1],o=p[3]===void 0?v:p[3]==='"'?ut:pt):o===ut||o===pt?o=v:o===lt||o===dt?o=T:(o=v,i=void 0);const $=o===v&&r[c+1].startsWith("/>")?" ":"";n+=o===T?a+Bt:h>=0?(s.push(d),a.slice(0,h)+mt+a.slice(h)+m+$):a+m+(h===-2?c:$)}return[bt(r,n+(r[e]||"<?>")+(t===2?"</svg>":"")),s]};class H{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const c=t.length-1,a=this.parts,[d,p]=Wt(t,e);if(this.el=H.createElement(d,s),A.currentNode=this.el.content,e===2){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=A.nextNode())!==null&&a.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const h of i.getAttributeNames())if(h.endsWith(mt)){const u=p[o++],$=i.getAttribute(h).split(m),z=/([.?@])?(.*)/.exec(u);a.push({type:1,index:n,name:z[2],strings:$,ctor:z[1]==="."?qt:z[1]==="?"?Yt:z[1]==="@"?Jt:q}),i.removeAttribute(h)}else h.startsWith(m)&&(a.push({type:6,index:n}),i.removeAttribute(h));if(vt.test(i.tagName)){const h=i.textContent.split(m),u=h.length-1;if(u>0){i.textContent=W?W.emptyScript:"";for(let $=0;$<u;$++)i.append(h[$],M()),A.nextNode(),a.push({type:2,index:++n});i.append(h[u],M())}}}else if(i.nodeType===8)if(i.data===_t)a.push({type:2,index:n});else{let h=-1;for(;(h=i.data.indexOf(m,h+1))!==-1;)a.push({type:7,index:n}),h+=m.length-1}n++}}static createElement(t,e){const s=w.createElement("template");return s.innerHTML=t,s}}function S(r,t,e=r,s){var o,c;if(t===x)return t;let i=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const n=k(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),n===void 0?i=void 0:(i=new n(r),i._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=S(r,i._$AS(r,t.values),i,s)),t}class Vt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??w).importNode(e,!0);A.currentNode=i;let n=A.nextNode(),o=0,c=0,a=s[0];for(;a!==void 0;){if(o===a.index){let d;a.type===2?d=new L(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new Kt(n,this,t)),this._$AV.push(d),a=s[++c]}o!==(a==null?void 0:a.index)&&(n=A.nextNode(),o++)}return A.currentNode=w,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class L{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=l,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),k(t)?t===l||t==null||t===""?(this._$AH!==l&&this._$AR(),this._$AH=l):t!==this._$AH&&t!==x&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):It(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==l&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$(w.createTextNode(t)),this._$AH=t}g(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=H.createElement(bt(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const o=new Vt(i,this),c=o.u(this.options);o.p(e),this.$(c),this._$AH=o}}_$AC(t){let e=gt.get(t.strings);return e===void 0&&gt.set(t.strings,e=new H(t)),e}T(t){yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new L(this.k(M()),this.k(M()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class q{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=l,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=l}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(n===void 0)t=S(this,t,e,0),o=!k(t)||t!==this._$AH&&t!==x,o&&(this._$AH=t);else{const c=t;let a,d;for(t=n[0],a=0;a<n.length-1;a++)d=S(this,c[s+a],e,a),d===x&&(d=this._$AH[a]),o||(o=!k(d)||d!==this._$AH[a]),d===l?t=l:t!==l&&(t+=(d??"")+n[a+1]),this._$AH[a]=d}o&&!i&&this.O(t)}O(t){t===l?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class qt extends q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===l?void 0:t}}class Yt extends q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==l)}}class Jt extends q{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??l)===x)return;const s=this._$AH,i=t===l&&s!==l||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==l&&(s===l||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Kt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const K=R.litHtmlPolyfillSupport;K==null||K(H,L),(R.litHtmlVersions??(R.litHtmlVersions=[])).push("3.0.2");const Zt=(r,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new L(t.insertBefore(M(),n),n,void 0,e??{})}return i._$AI(r),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */let f=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Jt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return w}};var ft;f._$litElement$=!0,f.finalized=!0,(ft=globalThis.litElementHydrateSupport)==null||ft.call(globalThis,{LitElement:f});const Z=globalThis.litElementPolyfillSupport;Z==null||Z({LitElement:f});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");/**
19
+ */let f=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Zt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return x}};var ft;f._$litElement$=!0,f.finalized=!0,(ft=globalThis.litElementHydrateSupport)==null||ft.call(globalThis,{LitElement:f});const Z=globalThis.litElementPolyfillSupport;Z==null||Z({LitElement:f});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");/**
20
20
  * @license
21
21
  * Copyright 2021 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */function*bt(r,t){if(r!==void 0){let e=0;for(const s of r)yield t(s,e++)}}/**
23
+ */function*At(r,t){if(r!==void 0){let e=0;for(const s of r)yield t(s,e++)}}/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const Kt={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:tt},Zt=(r=Kt,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,r),s==="accessor"){const{name:o}=e;return{set(c){const a=t.get.call(this);t.set.call(this,c),this.requestUpdate(o,a,r)},init(c){return c!==void 0&&this.C(o,void 0,r),c}}}if(s==="setter"){const{name:o}=e;return function(c){const a=this[o];t.call(this,c),this.requestUpdate(o,a,r)}}throw Error("Unsupported decorator location: "+s)};function g(r){return(t,e)=>typeof e=="object"?Zt(r,t,e):((s,i,n)=>{const o=i.hasOwnProperty(n);return i.constructor.createProperty(n,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(i,n):void 0})(r,t,e)}/**
27
+ */const Ft={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:tt},Qt=(r=Ft,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,r),s==="accessor"){const{name:o}=e;return{set(c){const a=t.get.call(this);t.set.call(this,c),this.requestUpdate(o,a,r)},init(c){return c!==void 0&&this.C(o,void 0,r),c}}}if(s==="setter"){const{name:o}=e;return function(c){const a=this[o];t.call(this,c),this.requestUpdate(o,a,r)}}throw Error("Unsupported decorator location: "+s)};function g(r){return(t,e)=>typeof e=="object"?Qt(r,t,e):((s,i,n)=>{const o=i.hasOwnProperty(n);return i.constructor.createProperty(n,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(i,n):void 0})(r,t,e)}/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */function L(r){return g({...r,state:!0,attribute:!1})}/**
31
+ */function O(r){return g({...r,state:!0,attribute:!1})}/**
32
32
  * @license
33
33
  * Copyright 2017 Google LLC
34
34
  * SPDX-License-Identifier: BSD-3-Clause
@@ -36,13 +36,26 @@
36
36
  * @license
37
37
  * Copyright 2018 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */const Ft=xt(class extends Et{constructor(r){var t;if(super(r),r.type!==wt.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 s,i;if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in t)t[n]&&!((s=this.st)!=null&&s.has(n))&&this.it.add(n);return this.render(t)}const e=r.element.classList;for(const n of this.it)n in t||(e.remove(n),this.it.delete(n));for(const n in t){const o=!!t[n];o===this.it.has(n)||(i=this.st)!=null&&i.has(n)||(o?(e.add(n),this.it.add(n)):(e.remove(n),this.it.delete(n)))}return w}}),z=(r,t,e)=>{r&&e.style.setProperty(t,r)},Ct=(r,t)=>{var e,s,i,n;z((e=r.colors)==null?void 0:e.primaryBackground,"--primary-background",t),z((s=r.colors)==null?void 0:s.textOnPrimaryBackground,"--text-on-primary-background",t),z((i=r.colors)==null?void 0:i.secondaryBackground,"--secondary-background",t),z((n=r.colors)==null?void 0:n.textOnSecondaryBackground,"--text-on-secondary-background",t)};var Qt=Object.defineProperty,Xt=Object.getOwnPropertyDescriptor,q=(r,t,e,s)=>{for(var i=s>1?void 0:s?Xt(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&Qt(t,e,i),i};class x extends f{constructor(){super(...arguments),this.active=!1,this.loaded=!1}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding()}_toggleActive(){var t;if(!((t=this.application)!=null&&t.root)){console.warn("Could not activate widget. No root element assigned to widget.");return}this.active=!this.active,this.active?this.application.appendToDOM():this.application.hide()}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&Ct(this.application.settings.branding,this)}async _renderSymbol(){var c,a,d;const t=(c=this.application)==null?void 0:c.branding(),e=(a=t==null?void 0:t.graphics)==null?void 0:a.trigger;if(e)return C` <img src=${e} class="trigger-icon" alt="" /> `;const s=(d=this.application)==null?void 0:d.triggerIcon;if(!s)return l;const i=async p=>await Promise.resolve().then(()=>require("./index-6dd00f59.js")).then(u=>u[p]),{type:n,content:o}=s;switch(n){case"Telia":{const p=await i(o);return p?C`<telia-icon
39
+ */const Xt=xt(class extends Et{constructor(r){var t;if(super(r),r.type!==wt.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 s,i;if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in t)t[n]&&!((s=this.st)!=null&&s.has(n))&&this.it.add(n);return this.render(t)}const e=r.element.classList;for(const n of this.it)n in t||(e.remove(n),this.it.delete(n));for(const n in t){const o=!!t[n];o===this.it.has(n)||(i=this.st)!=null&&i.has(n)||(o?(e.add(n),this.it.add(n)):(e.remove(n),this.it.delete(n)))}return x}}),B=(r,t,e)=>{r&&e.style.setProperty(t,r)},Ct=(r,t)=>{var e,s,i,n;B((e=r.colors)==null?void 0:e.primaryBackground,"--primary-background",t),B((s=r.colors)==null?void 0:s.textOnPrimaryBackground,"--text-on-primary-background",t),B((i=r.colors)==null?void 0:i.secondaryBackground,"--secondary-background",t),B((n=r.colors)==null?void 0:n.textOnSecondaryBackground,"--text-on-secondary-background",t)};/**
40
+ * @license
41
+ * Copyright 2020 Google LLC
42
+ * SPDX-License-Identifier: BSD-3-Clause
43
+ */const te=r=>r.strings===void 0;/**
44
+ * @license
45
+ * Copyright 2017 Google LLC
46
+ * SPDX-License-Identifier: BSD-3-Clause
47
+ */const N=(r,t)=>{var s;const e=r._$AN;if(e===void 0)return!1;for(const i of e)(s=i._$AO)==null||s.call(i,t,!1),N(i,t);return!0},V=r=>{let t,e;do{if((t=r._$AM)===void 0)break;e=t._$AN,e.delete(r),r=t}while((e==null?void 0:e.size)===0)},St=r=>{for(let t;t=r._$AM;r=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(r))break;e.add(r),ie(t)}};function ee(r){this._$AN!==void 0?(V(this),this._$AM=r,St(this)):this._$AM=r}function se(r,t=!1,e=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let n=e;n<s.length;n++)N(s[n],!1),V(s[n]);else s!=null&&(N(s,!1),V(s));else N(this,r)}const ie=r=>{r.type==wt.CHILD&&(r._$AP??(r._$AP=se),r._$AQ??(r._$AQ=ee))};class re extends Et{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),St(this),this.isConnected=t._$AU}_$AO(t,e=!0){var s,i;t!==this.isConnected&&(this.isConnected=t,t?(s=this.reconnected)==null||s.call(this):(i=this.disconnected)==null||i.call(this)),e&&(N(this,t),V(this))}setValue(t){if(te(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}/**
48
+ * @license
49
+ * Copyright 2020 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */const Pt=()=>new ne;class ne{}const F=new WeakMap,Ot=xt(class extends re{render(r){return l}update(r,[t]){var s;const e=t!==this.G;return e&&this.G!==void 0&&this.ot(void 0),(e||this.rt!==this.lt)&&(this.G=t,this.ct=(s=r.options)==null?void 0:s.host,this.ot(this.lt=r.element)),l}ot(r){if(typeof this.G=="function"){const t=this.ct??globalThis;let e=F.get(t);e===void 0&&(e=new WeakMap,F.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ct,void 0),e.set(this.G,r),r!==void 0&&this.G.call(this.ct,r)}else this.G.value=r}get rt(){var r,t;return typeof this.G=="function"?(r=F.get(this.ct??globalThis))==null?void 0:r.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});var oe=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,j=(r,t,e,s)=>{for(var i=s>1?void 0:s?ae(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&oe(t,e,i),i};class y extends f{constructor(){super(...arguments),this.active=!1,this.loaded=!1,this.offset=0,this.buttonRef=Pt()}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding(),this.offset>0&&this.buttonRef.value&&(this.buttonRef.value.style.right=`calc(${this.offset}px + 20px)`)}_toggleActive(){var t;if(!((t=this.application)!=null&&t.root)){console.warn("Could not activate widget. No root element assigned to widget.");return}this.active=!this.active,this.active?this.application.appendToDOM():this.application.hide()}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&Ct(this.application.settings.branding,this)}async _renderSymbol(){var c,a,d;const t=(c=this.application)==null?void 0:c.branding(),e=(a=t==null?void 0:t.graphics)==null?void 0:a.trigger;if(e)return C` <img src=${e} class="trigger-icon" alt="" /> `;const s=(d=this.application)==null?void 0:d.triggerIcon;if(!s)return l;const i=async p=>await Promise.resolve().then(()=>require("./index-6dd00f59.js")).then(u=>u[p]),{type:n,content:o}=s;switch(n){case"Telia":{const p=await i(o);return p?C`<telia-icon
40
52
  class="trigger-icon"
41
53
  svg=${p.svg}
42
54
  size="lg"
43
- ></telia-icon>`:l}default:return l}}render(){return C`<button
44
- class=${Ft({trigger:!0,active:this.active,rendered:this.loaded})}
55
+ ></telia-icon>`:l}default:return l}}setOffset(t){this.offset=t}render(){return C`<button
56
+ class=${Xt({trigger:!0,active:this.active,rendered:this.loaded})}
45
57
  @click=${this._toggleActive}
58
+ ${Ot(this.buttonRef)}
46
59
  >
47
60
  ${this.icon}
48
61
  <span class="trigger-close">
@@ -72,7 +85,7 @@
72
85
  />
73
86
  </svg>
74
87
  </span>
75
- </button>`}}x.styles=[P`
88
+ </button>`}}y.styles=[P`
76
89
  :host {
77
90
  --voca-rem-multiplier: 0.625;
78
91
  display: block;
@@ -144,7 +157,7 @@
144
157
  img {
145
158
  max-width: 100%;
146
159
  }
147
- `];q([g({attribute:!1})],x.prototype,"application",2);q([L()],x.prototype,"active",2);q([L()],x.prototype,"loaded",2);q([L()],x.prototype,"icon",2);var te=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,v=(r,t,e,s)=>{for(var i=s>1?void 0:s?ee(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&te(t,e,i),i};const St=r=>{class t extends r{constructor(){super(...arguments),this.properties={},this.context={},this.layout={},this.nodes=[]}writeProperties(s){this.properties=s}writeLayout(s){this.layout=s}writeContext(s){this.context=s}addChild(s){s.parent=this,this.nodes.push(s)}connectedCallback(){super.connectedCallback(),this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`)}}return t.styles=[P`
160
+ `];j([g({attribute:!1})],y.prototype,"application",2);j([O()],y.prototype,"active",2);j([O()],y.prototype,"loaded",2);j([O()],y.prototype,"icon",2);j([O()],y.prototype,"offset",2);var ce=Object.defineProperty,he=Object.getOwnPropertyDescriptor,b=(r,t,e,s)=>{for(var i=s>1?void 0:s?he(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&ce(t,e,i),i};const Tt=r=>{class t extends r{constructor(){super(...arguments),this.properties={},this.context={},this.layout={},this.nodes=[]}writeProperties(s){this.properties=s}writeLayout(s){this.layout=s}writeContext(s){this.context=s}addChild(s){s.parent=this,this.nodes.push(s)}connectedCallback(){super.connectedCallback(),this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`)}}return t.styles=[P`
148
161
  :host {
149
162
  font-family: var(--font-family);
150
163
  grid-column: span var(--width);
@@ -156,24 +169,12 @@
156
169
  * {
157
170
  box-sizing: border-box;
158
171
  }
159
- `],v([g()],t.prototype,"properties",2),v([g()],t.prototype,"context",2),v([g()],t.prototype,"layout",2),v([g()],t.prototype,"name",2),v([g()],t.prototype,"type",2),v([g({attribute:!1})],t.prototype,"application",2),v([g({attribute:!1})],t.prototype,"parent",2),t};class Pt extends St(f){render(){return C`Non resolved component`}}Pt.styles=[P`
172
+ `],b([g()],t.prototype,"properties",2),b([g()],t.prototype,"context",2),b([g()],t.prototype,"layout",2),b([g()],t.prototype,"name",2),b([g()],t.prototype,"type",2),b([g({attribute:!1})],t.prototype,"application",2),b([g({attribute:!1})],t.prototype,"parent",2),t};class Ut extends Tt(f){render(){return C`Non resolved component`}}Ut.styles=[P`
160
173
  :host {
161
174
  display: block;
162
175
  }
163
- `];/**
164
- * @license
165
- * Copyright 2020 Google LLC
166
- * SPDX-License-Identifier: BSD-3-Clause
167
- */const se=r=>r.strings===void 0;/**
168
- * @license
169
- * Copyright 2017 Google LLC
170
- * SPDX-License-Identifier: BSD-3-Clause
171
- */const N=(r,t)=>{var s;const e=r._$AN;if(e===void 0)return!1;for(const i of e)(s=i._$AO)==null||s.call(i,t,!1),N(i,t);return!0},W=r=>{let t,e;do{if((t=r._$AM)===void 0)break;e=t._$AN,e.delete(r),r=t}while((e==null?void 0:e.size)===0)},Ot=r=>{for(let t;t=r._$AM;r=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(r))break;e.add(r),ne(t)}};function ie(r){this._$AN!==void 0?(W(this),this._$AM=r,Ot(this)):this._$AM=r}function re(r,t=!1,e=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let n=e;n<s.length;n++)N(s[n],!1),W(s[n]);else s!=null&&(N(s,!1),W(s));else N(this,r)}const ne=r=>{r.type==wt.CHILD&&(r._$AP??(r._$AP=re),r._$AQ??(r._$AQ=ie))};class oe extends Et{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),Ot(this),this.isConnected=t._$AU}_$AO(t,e=!0){var s,i;t!==this.isConnected&&(this.isConnected=t,t?(s=this.reconnected)==null||s.call(this):(i=this.disconnected)==null||i.call(this)),e&&(N(this,t),W(this))}setValue(t){if(se(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}/**
172
- * @license
173
- * Copyright 2020 Google LLC
174
- * SPDX-License-Identifier: BSD-3-Clause
175
- */const ae=()=>new ce;class ce{}const F=new WeakMap,he=xt(class extends oe{render(r){return l}update(r,[t]){var s;const e=t!==this.G;return e&&this.G!==void 0&&this.ot(void 0),(e||this.rt!==this.lt)&&(this.G=t,this.ct=(s=r.options)==null?void 0:s.host,this.ot(this.lt=r.element)),l}ot(r){if(typeof this.G=="function"){const t=this.ct??globalThis;let e=F.get(t);e===void 0&&(e=new WeakMap,F.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ct,void 0),e.set(this.G,r),r!==void 0&&this.G.call(this.ct,r)}else this.G.value=r}get rt(){var r,t;return typeof this.G=="function"?(r=F.get(this.ct??globalThis))==null?void 0:r.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});var et=(r=>(r.Inline="inline",r.Trigger="trigger",r))(et||{}),le=Object.defineProperty,de=Object.getOwnPropertyDescriptor,pe=(r,t,e,s)=>{for(var i=s>1?void 0:s?de(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&le(t,e,i),i};class st extends f{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=ae()}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&Ct(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([s,i])=>{e.style.setProperty(`--${s}`,i)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){return this.application.renderStrategy===et.Trigger&&this.renderRoot.host.classList.add("floating"),C`<div class="widget-container" ${he(this.wrapperRef)}>
176
- ${bt(this.nodes,t=>t)}
176
+ `];var et=(r=>(r.Inline="inline",r.Trigger="trigger",r))(et||{}),le=Object.defineProperty,de=Object.getOwnPropertyDescriptor,pe=(r,t,e,s)=>{for(var i=s>1?void 0:s?de(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&le(t,e,i),i};class st extends f{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=Pt()}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&Ct(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([s,i])=>{e.style.setProperty(`--${s}`,i)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){return this.application.renderStrategy===et.Trigger&&this.renderRoot.host.classList.add("floating"),C`<div class="widget-container" ${Ot(this.wrapperRef)}>
177
+ ${At(this.nodes,t=>t)}
177
178
  </div>`}}st.styles=P`
178
179
  :host {
179
180
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
@@ -265,11 +266,11 @@
265
266
  opacity: 0;
266
267
  animation: slideDown 0.3s linear;
267
268
  }
268
- `;pe([g({attribute:!1})],st.prototype,"application",2);var ue=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,it=(r,t,e,s)=>{for(var i=s>1?void 0:s?ge(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&ue(t,e,i),i};class j extends f{constructor(){super(),this.status="deactivated",this.addEventListener("environment-created",this.onEnvironmentCreated)}async connectedCallback(){super.connectedCallback(),await this.getGlobalEnvironment()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("environment-created",this.onEnvironmentCreated)}async onEnvironmentCreated(t){this.widget=t.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const t=globalThis.widgets;t&&(this.widget=t.applications.find(e=>e.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return l;if(this.widget.renderStrategy===et.Trigger){const t=new x;return t.application=this.widget,t}return this.widget.render()}}j.styles=[P`
269
+ `;pe([g({attribute:!1})],st.prototype,"application",2);var ue=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,it=(r,t,e,s)=>{for(var i=s>1?void 0:s?ge(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&ue(t,e,i),i};class D extends f{constructor(){super(),this.status="deactivated",this.addEventListener("environment-created",this.onEnvironmentCreated)}async connectedCallback(){super.connectedCallback(),await this.getGlobalEnvironment()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("environment-created",this.onEnvironmentCreated)}async onEnvironmentCreated(t){this.widget=t.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const t=globalThis.widgets;t&&(this.widget=t.applications.find(e=>e.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return l;if(this.widget.renderStrategy===et.Trigger){const t=new y;return t.application=this.widget,t}return this.widget.render()}}D.styles=[P`
269
270
  :host {
270
271
  display: block;
271
272
  }
272
- `];it([g({attribute:!0})],j.prototype,"name",2);it([L()],j.prototype,"widget",2);it([L()],j.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",x);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",Pt);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",j);const fe=r=>{const t={};return Object.keys(r).forEach(e=>{e.indexOf("css-")>-1&&(t[e]=r[e])}),t},$e=(r,t)=>{const e=fe(t);Object.entries(e).forEach(([s,i])=>{r.style.setProperty(s.replace("css-",""),i)})};class rt extends St(f){constructor(){super(...arguments),this.nodes=[]}render(){var t;return $e(this.renderRoot.host,this.properties),this.renderRoot.host.style.setProperty("--columns",((t=this.properties.columns)==null?void 0:t.toString())||"1"),C`${bt(this.nodes,e=>e)}`}}rt.styles=[P`
273
+ `];it([g({attribute:!0})],D.prototype,"name",2);it([O()],D.prototype,"widget",2);it([O()],D.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",y);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",Ut);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",D);const fe=r=>{const t={};return Object.keys(r).forEach(e=>{e.indexOf("css-")>-1&&(t[e]=r[e])}),t},$e=(r,t)=>{const e=fe(t);Object.entries(e).forEach(([s,i])=>{r.style.setProperty(s.replace("css-",""),i)})};class rt extends Tt(f){constructor(){super(...arguments),this.nodes=[]}render(){var t;return $e(this.renderRoot.host,this.properties),this.renderRoot.host.style.setProperty("--columns",((t=this.properties.columns)==null?void 0:t.toString())||"1"),C`${At(this.nodes,e=>e)}`}}rt.styles=[P`
273
274
  :host {
274
275
  height: 100%;
275
276
  display: grid;
@@ -3,7 +3,7 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const B = globalThis, Q = B.ShadowRoot && (B.ShadyCSS === void 0 || B.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, X = Symbol(), rt = /* @__PURE__ */ new WeakMap();
6
+ const I = globalThis, Q = I.ShadowRoot && (I.ShadyCSS === void 0 || I.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, X = Symbol(), rt = /* @__PURE__ */ new WeakMap();
7
7
  let ft = class {
8
8
  constructor(t, e, s) {
9
9
  if (this._$cssResult$ = !0, s !== X)
@@ -23,7 +23,7 @@ let ft = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const Ot = (r) => new ft(typeof r == "string" ? r : r + "", void 0, X), P = (r, ...t) => {
26
+ const Ut = (r) => new ft(typeof r == "string" ? r : r + "", void 0, X), P = (r, ...t) => {
27
27
  const e = r.length === 1 ? r[0] : t.reduce((s, i, n) => s + ((o) => {
28
28
  if (o._$cssResult$ === !0)
29
29
  return o.cssText;
@@ -32,29 +32,29 @@ const Ot = (r) => new ft(typeof r == "string" ? r : r + "", void 0, X), P = (r,
32
32
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
33
  })(i) + r[n + 1], r[0]);
34
34
  return new ft(e, r, X);
35
- }, Tt = (r, t) => {
35
+ }, Rt = (r, t) => {
36
36
  if (Q)
37
37
  r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else
39
39
  for (const e of t) {
40
- const s = document.createElement("style"), i = B.litNonce;
40
+ const s = document.createElement("style"), i = I.litNonce;
41
41
  i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
42
42
  }
43
43
  }, nt = Q ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
44
44
  let e = "";
45
45
  for (const s of t.cssRules)
46
46
  e += s.cssText;
47
- return Ot(e);
47
+ return Ut(e);
48
48
  })(r) : r;
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- const { is: Ut, defineProperty: Nt, getOwnPropertyDescriptor: kt, getOwnPropertyNames: Mt, getOwnPropertySymbols: Rt, getPrototypeOf: Ht } = Object, _ = globalThis, ot = _.trustedTypes, Lt = ot ? ot.emptyScript : "", Y = _.reactiveElementPolyfillSupport, T = (r, t) => r, I = { toAttribute(r, t) {
54
+ const { is: Nt, defineProperty: kt, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: Ht, getOwnPropertySymbols: Lt, getPrototypeOf: jt } = Object, _ = globalThis, ot = _.trustedTypes, Dt = ot ? ot.emptyScript : "", Y = _.reactiveElementPolyfillSupport, U = (r, t) => r, G = { toAttribute(r, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- r = r ? Lt : null;
57
+ r = r ? Dt : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
@@ -79,7 +79,7 @@ const { is: Ut, defineProperty: Nt, getOwnPropertyDescriptor: kt, getOwnProperty
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, tt = (r, t) => !Ut(r, t), at = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: tt };
82
+ } }, tt = (r, t) => !Nt(r, t), at = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: tt };
83
83
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
84
  class E extends HTMLElement {
85
85
  static addInitializer(t) {
@@ -91,11 +91,11 @@ class E extends HTMLElement {
91
91
  static createProperty(t, e = at) {
92
92
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
93
93
  const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
94
- i !== void 0 && Nt(this.prototype, t, i);
94
+ i !== void 0 && kt(this.prototype, t, i);
95
95
  }
96
96
  }
97
97
  static getPropertyDescriptor(t, e, s) {
98
- const { get: i, set: n } = kt(this.prototype, t) ?? { get() {
98
+ const { get: i, set: n } = Mt(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
100
  }, set(o) {
101
101
  this[e] = o;
@@ -111,16 +111,16 @@ class E extends HTMLElement {
111
111
  return this.elementProperties.get(t) ?? at;
112
112
  }
113
113
  static _$Ei() {
114
- if (this.hasOwnProperty(T("elementProperties")))
114
+ if (this.hasOwnProperty(U("elementProperties")))
115
115
  return;
116
- const t = Ht(this);
116
+ const t = jt(this);
117
117
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
118
118
  }
119
119
  static finalize() {
120
- if (this.hasOwnProperty(T("finalized")))
120
+ if (this.hasOwnProperty(U("finalized")))
121
121
  return;
122
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(T("properties"))) {
123
- const e = this.properties, s = [...Mt(e), ...Rt(e)];
122
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(U("properties"))) {
123
+ const e = this.properties, s = [...Ht(e), ...Lt(e)];
124
124
  for (const i of s)
125
125
  this.createProperty(i, e[i]);
126
126
  }
@@ -175,7 +175,7 @@ class E extends HTMLElement {
175
175
  }
176
176
  createRenderRoot() {
177
177
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
178
- return Tt(t, this.constructor.elementStyles), t;
178
+ return Rt(t, this.constructor.elementStyles), t;
179
179
  }
180
180
  connectedCallback() {
181
181
  var t;
@@ -200,7 +200,7 @@ class E extends HTMLElement {
200
200
  var n;
201
201
  const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
202
202
  if (i !== void 0 && s.reflect === !0) {
203
- const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : I).toAttribute(e, s.type);
203
+ const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : G).toAttribute(e, s.type);
204
204
  this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
205
205
  }
206
206
  }
@@ -208,7 +208,7 @@ class E extends HTMLElement {
208
208
  var n;
209
209
  const s = this.constructor, i = s._$Eh.get(t);
210
210
  if (i !== void 0 && this._$Em !== i) {
211
- const o = s.getPropertyOptions(i), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : I;
211
+ const o = s.getPropertyOptions(i), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : G;
212
212
  this._$Em = i, this[i] = c.fromAttribute(e, o.type), this._$Em = null;
213
213
  }
214
214
  }
@@ -292,40 +292,40 @@ class E extends HTMLElement {
292
292
  firstUpdated(t) {
293
293
  }
294
294
  }
295
- E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[T("elementProperties")] = /* @__PURE__ */ new Map(), E[T("finalized")] = /* @__PURE__ */ new Map(), Y == null || Y({ ReactiveElement: E }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
295
+ E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[U("elementProperties")] = /* @__PURE__ */ new Map(), E[U("finalized")] = /* @__PURE__ */ new Map(), Y == null || Y({ ReactiveElement: E }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
296
296
  /**
297
297
  * @license
298
298
  * Copyright 2017 Google LLC
299
299
  * SPDX-License-Identifier: BSD-3-Clause
300
300
  */
301
- const U = globalThis, G = U.trustedTypes, ct = G ? G.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, $t = "$lit$", m = `lit$${(Math.random() + "").slice(9)}$`, mt = "?" + m, jt = `<${mt}>`, b = document, k = () => b.createComment(""), M = (r) => r === null || typeof r != "object" && typeof r != "function", _t = Array.isArray, Dt = (r) => _t(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", J = `[
302
- \f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ht = /-->/g, lt = />/g, y = RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, pt = /"/g, yt = /^(?:script|style|textarea|title)$/i, zt = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), C = zt(1), w = Symbol.for("lit-noChange"), l = Symbol.for("lit-nothing"), ut = /* @__PURE__ */ new WeakMap(), A = b.createTreeWalker(b, 129);
301
+ const R = globalThis, W = R.trustedTypes, ct = W ? W.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, $t = "$lit$", m = `lit$${(Math.random() + "").slice(9)}$`, mt = "?" + m, zt = `<${mt}>`, w = document, k = () => w.createComment(""), M = (r) => r === null || typeof r != "object" && typeof r != "function", _t = Array.isArray, Bt = (r) => _t(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", J = `[
302
+ \f\r]`, T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ht = /-->/g, lt = />/g, v = RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
303
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, pt = /"/g, yt = /^(?:script|style|textarea|title)$/i, It = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), C = It(1), x = Symbol.for("lit-noChange"), l = Symbol.for("lit-nothing"), ut = /* @__PURE__ */ new WeakMap(), A = w.createTreeWalker(w, 129);
304
304
  function vt(r, t) {
305
305
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
307
  return ct !== void 0 ? ct.createHTML(t) : t;
308
308
  }
309
- const Bt = (r, t) => {
309
+ const Gt = (r, t) => {
310
310
  const e = r.length - 1, s = [];
311
- let i, n = t === 2 ? "<svg>" : "", o = O;
311
+ let i, n = t === 2 ? "<svg>" : "", o = T;
312
312
  for (let c = 0; c < e; c++) {
313
313
  const a = r[c];
314
314
  let d, p, h = -1, u = 0;
315
315
  for (; u < a.length && (o.lastIndex = u, p = o.exec(a), p !== null); )
316
- u = o.lastIndex, o === O ? p[1] === "!--" ? o = ht : p[1] !== void 0 ? o = lt : p[2] !== void 0 ? (yt.test(p[2]) && (i = RegExp("</" + p[2], "g")), o = y) : p[3] !== void 0 && (o = y) : o === y ? p[0] === ">" ? (o = i ?? O, h = -1) : p[1] === void 0 ? h = -2 : (h = o.lastIndex - p[2].length, d = p[1], o = p[3] === void 0 ? y : p[3] === '"' ? pt : dt) : o === pt || o === dt ? o = y : o === ht || o === lt ? o = O : (o = y, i = void 0);
317
- const $ = o === y && r[c + 1].startsWith("/>") ? " " : "";
318
- n += o === O ? a + jt : h >= 0 ? (s.push(d), a.slice(0, h) + $t + a.slice(h) + m + $) : a + m + (h === -2 ? c : $);
316
+ u = o.lastIndex, o === T ? p[1] === "!--" ? o = ht : p[1] !== void 0 ? o = lt : p[2] !== void 0 ? (yt.test(p[2]) && (i = RegExp("</" + p[2], "g")), o = v) : p[3] !== void 0 && (o = v) : o === v ? p[0] === ">" ? (o = i ?? T, h = -1) : p[1] === void 0 ? h = -2 : (h = o.lastIndex - p[2].length, d = p[1], o = p[3] === void 0 ? v : p[3] === '"' ? pt : dt) : o === pt || o === dt ? o = v : o === ht || o === lt ? o = T : (o = v, i = void 0);
317
+ const $ = o === v && r[c + 1].startsWith("/>") ? " " : "";
318
+ n += o === T ? a + zt : h >= 0 ? (s.push(d), a.slice(0, h) + $t + a.slice(h) + m + $) : a + m + (h === -2 ? c : $);
319
319
  }
320
320
  return [vt(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
321
321
  };
322
- class R {
322
+ class H {
323
323
  constructor({ strings: t, _$litType$: e }, s) {
324
324
  let i;
325
325
  this.parts = [];
326
326
  let n = 0, o = 0;
327
- const c = t.length - 1, a = this.parts, [d, p] = Bt(t, e);
328
- if (this.el = R.createElement(d, s), A.currentNode = this.el.content, e === 2) {
327
+ const c = t.length - 1, a = this.parts, [d, p] = Gt(t, e);
328
+ if (this.el = H.createElement(d, s), A.currentNode = this.el.content, e === 2) {
329
329
  const h = this.el.content.firstChild;
330
330
  h.replaceWith(...h.childNodes);
331
331
  }
@@ -334,14 +334,14 @@ class R {
334
334
  if (i.hasAttributes())
335
335
  for (const h of i.getAttributeNames())
336
336
  if (h.endsWith($t)) {
337
- const u = p[o++], $ = i.getAttribute(h).split(m), D = /([.?@])?(.*)/.exec(u);
338
- a.push({ type: 1, index: n, name: D[2], strings: $, ctor: D[1] === "." ? Gt : D[1] === "?" ? Wt : D[1] === "@" ? Vt : V }), i.removeAttribute(h);
337
+ const u = p[o++], $ = i.getAttribute(h).split(m), z = /([.?@])?(.*)/.exec(u);
338
+ a.push({ type: 1, index: n, name: z[2], strings: $, ctor: z[1] === "." ? Vt : z[1] === "?" ? qt : z[1] === "@" ? Yt : q }), i.removeAttribute(h);
339
339
  } else
340
340
  h.startsWith(m) && (a.push({ type: 6, index: n }), i.removeAttribute(h));
341
341
  if (yt.test(i.tagName)) {
342
342
  const h = i.textContent.split(m), u = h.length - 1;
343
343
  if (u > 0) {
344
- i.textContent = G ? G.emptyScript : "";
344
+ i.textContent = W ? W.emptyScript : "";
345
345
  for (let $ = 0; $ < u; $++)
346
346
  i.append(h[$], k()), A.nextNode(), a.push({ type: 2, index: ++n });
347
347
  i.append(h[u], k());
@@ -359,19 +359,19 @@ class R {
359
359
  }
360
360
  }
361
361
  static createElement(t, e) {
362
- const s = b.createElement("template");
362
+ const s = w.createElement("template");
363
363
  return s.innerHTML = t, s;
364
364
  }
365
365
  }
366
366
  function S(r, t, e = r, s) {
367
367
  var o, c;
368
- if (t === w)
368
+ if (t === x)
369
369
  return t;
370
370
  let i = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
371
371
  const n = M(t) ? void 0 : t._$litDirective$;
372
372
  return (i == null ? void 0 : i.constructor) !== n && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), n === void 0 ? i = void 0 : (i = new n(r), i._$AT(r, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = S(r, i._$AS(r, t.values), i, s)), t;
373
373
  }
374
- class It {
374
+ class Wt {
375
375
  constructor(t, e) {
376
376
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
377
377
  }
@@ -382,17 +382,17 @@ class It {
382
382
  return this._$AM._$AU;
383
383
  }
384
384
  u(t) {
385
- const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? b).importNode(e, !0);
385
+ const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? w).importNode(e, !0);
386
386
  A.currentNode = i;
387
387
  let n = A.nextNode(), o = 0, c = 0, a = s[0];
388
388
  for (; a !== void 0; ) {
389
389
  if (o === a.index) {
390
390
  let d;
391
- a.type === 2 ? d = new H(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new qt(n, this, t)), this._$AV.push(d), a = s[++c];
391
+ a.type === 2 ? d = new L(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new Jt(n, this, t)), this._$AV.push(d), a = s[++c];
392
392
  }
393
393
  o !== (a == null ? void 0 : a.index) && (n = A.nextNode(), o++);
394
394
  }
395
- return A.currentNode = b, i;
395
+ return A.currentNode = w, i;
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
@@ -400,7 +400,7 @@ class It {
400
400
  s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
401
401
  }
402
402
  }
403
- class H {
403
+ class L {
404
404
  get _$AU() {
405
405
  var t;
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -420,7 +420,7 @@ class H {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = S(this, t, e), M(t) ? t === l || t == null || t === "" ? (this._$AH !== l && this._$AR(), this._$AH = l) : t !== this._$AH && t !== w && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Dt(t) ? this.T(t) : this._(t);
423
+ t = S(this, t, e), M(t) ? t === l || t == null || t === "" ? (this._$AH !== l && this._$AR(), this._$AH = l) : t !== this._$AH && t !== x && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Bt(t) ? this.T(t) : this._(t);
424
424
  }
425
425
  k(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -429,28 +429,28 @@ class H {
429
429
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== l && M(this._$AH) ? this._$AA.nextSibling.data = t : this.$(b.createTextNode(t)), this._$AH = t;
432
+ this._$AH !== l && M(this._$AH) ? this._$AA.nextSibling.data = t : this.$(w.createTextNode(t)), this._$AH = t;
433
433
  }
434
434
  g(t) {
435
435
  var n;
436
- const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = R.createElement(vt(s.h, s.h[0]), this.options)), s);
436
+ const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = H.createElement(vt(s.h, s.h[0]), this.options)), s);
437
437
  if (((n = this._$AH) == null ? void 0 : n._$AD) === i)
438
438
  this._$AH.p(e);
439
439
  else {
440
- const o = new It(i, this), c = o.u(this.options);
440
+ const o = new Wt(i, this), c = o.u(this.options);
441
441
  o.p(e), this.$(c), this._$AH = o;
442
442
  }
443
443
  }
444
444
  _$AC(t) {
445
445
  let e = ut.get(t.strings);
446
- return e === void 0 && ut.set(t.strings, e = new R(t)), e;
446
+ return e === void 0 && ut.set(t.strings, e = new H(t)), e;
447
447
  }
448
448
  T(t) {
449
449
  _t(this._$AH) || (this._$AH = [], this._$AR());
450
450
  const e = this._$AH;
451
451
  let s, i = 0;
452
452
  for (const n of t)
453
- i === e.length ? e.push(s = new H(this.k(k()), this.k(k()), this, this.options)) : s = e[i], s._$AI(n), i++;
453
+ i === e.length ? e.push(s = new L(this.k(k()), this.k(k()), this, this.options)) : s = e[i], s._$AI(n), i++;
454
454
  i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
455
455
  }
456
456
  _$AR(t = this._$AA.nextSibling, e) {
@@ -465,7 +465,7 @@ class H {
465
465
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
466
466
  }
467
467
  }
468
- class V {
468
+ class q {
469
469
  get tagName() {
470
470
  return this.element.tagName;
471
471
  }
@@ -479,12 +479,12 @@ class V {
479
479
  const n = this.strings;
480
480
  let o = !1;
481
481
  if (n === void 0)
482
- t = S(this, t, e, 0), o = !M(t) || t !== this._$AH && t !== w, o && (this._$AH = t);
482
+ t = S(this, t, e, 0), o = !M(t) || t !== this._$AH && t !== x, o && (this._$AH = t);
483
483
  else {
484
484
  const c = t;
485
485
  let a, d;
486
486
  for (t = n[0], a = 0; a < n.length - 1; a++)
487
- d = S(this, c[s + a], e, a), d === w && (d = this._$AH[a]), o || (o = !M(d) || d !== this._$AH[a]), d === l ? t = l : t !== l && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
487
+ d = S(this, c[s + a], e, a), d === x && (d = this._$AH[a]), o || (o = !M(d) || d !== this._$AH[a]), d === l ? t = l : t !== l && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
488
488
  }
489
489
  o && !i && this.O(t);
490
490
  }
@@ -492,7 +492,7 @@ class V {
492
492
  t === l ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
- class Gt extends V {
495
+ class Vt extends q {
496
496
  constructor() {
497
497
  super(...arguments), this.type = 3;
498
498
  }
@@ -500,7 +500,7 @@ class Gt extends V {
500
500
  this.element[this.name] = t === l ? void 0 : t;
501
501
  }
502
502
  }
503
- class Wt extends V {
503
+ class qt extends q {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
@@ -508,12 +508,12 @@ class Wt extends V {
508
508
  this.element.toggleAttribute(this.name, !!t && t !== l);
509
509
  }
510
510
  }
511
- class Vt extends V {
511
+ class Yt extends q {
512
512
  constructor(t, e, s, i, n) {
513
513
  super(t, e, s, i, n), this.type = 5;
514
514
  }
515
515
  _$AI(t, e = this) {
516
- if ((t = S(this, t, e, 0) ?? l) === w)
516
+ if ((t = S(this, t, e, 0) ?? l) === x)
517
517
  return;
518
518
  const s = this._$AH, i = t === l && s !== l || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== l && (s === l || i);
519
519
  i && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
@@ -523,7 +523,7 @@ class Vt extends V {
523
523
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
524
524
  }
525
525
  }
526
- class qt {
526
+ class Jt {
527
527
  constructor(t, e, s) {
528
528
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
529
529
  }
@@ -534,14 +534,14 @@ class qt {
534
534
  S(this, t);
535
535
  }
536
536
  }
537
- const K = U.litHtmlPolyfillSupport;
538
- K == null || K(R, H), (U.litHtmlVersions ?? (U.litHtmlVersions = [])).push("3.0.2");
539
- const Yt = (r, t, e) => {
537
+ const K = R.litHtmlPolyfillSupport;
538
+ K == null || K(H, L), (R.litHtmlVersions ?? (R.litHtmlVersions = [])).push("3.0.2");
539
+ const Kt = (r, t, e) => {
540
540
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
541
541
  let i = s._$litPart$;
542
542
  if (i === void 0) {
543
543
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
544
- s._$litPart$ = i = new H(t.insertBefore(k(), n), n, void 0, e ?? {});
544
+ s._$litPart$ = i = new L(t.insertBefore(k(), n), n, void 0, e ?? {});
545
545
  }
546
546
  return i._$AI(r), i;
547
547
  };
@@ -561,7 +561,7 @@ let f = class extends E {
561
561
  }
562
562
  update(t) {
563
563
  const e = this.render();
564
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Yt(e, this.renderRoot, this.renderOptions);
564
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Kt(e, this.renderRoot, this.renderOptions);
565
565
  }
566
566
  connectedCallback() {
567
567
  var t;
@@ -572,7 +572,7 @@ let f = class extends E {
572
572
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
573
573
  }
574
574
  render() {
575
- return w;
575
+ return x;
576
576
  }
577
577
  };
578
578
  var gt;
@@ -585,7 +585,7 @@ Z == null || Z({ LitElement: f });
585
585
  * Copyright 2021 Google LLC
586
586
  * SPDX-License-Identifier: BSD-3-Clause
587
587
  */
588
- function* At(r, t) {
588
+ function* bt(r, t) {
589
589
  if (r !== void 0) {
590
590
  let e = 0;
591
591
  for (const s of r)
@@ -597,7 +597,7 @@ function* At(r, t) {
597
597
  * Copyright 2017 Google LLC
598
598
  * SPDX-License-Identifier: BSD-3-Clause
599
599
  */
600
- const Jt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: tt }, Kt = (r = Jt, t, e) => {
600
+ const Zt = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: tt }, Ft = (r = Zt, t, e) => {
601
601
  const { kind: s, metadata: i } = e;
602
602
  let n = globalThis.litPropertyMetadata.get(i);
603
603
  if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), n.set(e.name, r), s === "accessor") {
@@ -619,7 +619,7 @@ const Jt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged:
619
619
  throw Error("Unsupported decorator location: " + s);
620
620
  };
621
621
  function g(r) {
622
- return (t, e) => typeof e == "object" ? Kt(r, t, e) : ((s, i, n) => {
622
+ return (t, e) => typeof e == "object" ? Ft(r, t, e) : ((s, i, n) => {
623
623
  const o = i.hasOwnProperty(n);
624
624
  return i.constructor.createProperty(n, o ? { ...s, wrapped: !0 } : s), o ? Object.getOwnPropertyDescriptor(i, n) : void 0;
625
625
  })(r, t, e);
@@ -629,7 +629,7 @@ function g(r) {
629
629
  * Copyright 2017 Google LLC
630
630
  * SPDX-License-Identifier: BSD-3-Clause
631
631
  */
632
- function L(r) {
632
+ function O(r) {
633
633
  return g({ ...r, state: !0, attribute: !1 });
634
634
  }
635
635
  /**
@@ -637,7 +637,7 @@ function L(r) {
637
637
  * Copyright 2017 Google LLC
638
638
  * SPDX-License-Identifier: BSD-3-Clause
639
639
  */
640
- const bt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (r) => (...t) => ({ _$litDirective$: r, values: t });
640
+ const At = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (r) => (...t) => ({ _$litDirective$: r, values: t });
641
641
  class xt {
642
642
  constructor(t) {
643
643
  }
@@ -659,10 +659,10 @@ class xt {
659
659
  * Copyright 2018 Google LLC
660
660
  * SPDX-License-Identifier: BSD-3-Clause
661
661
  */
662
- const Zt = wt(class extends xt {
662
+ const Qt = wt(class extends xt {
663
663
  constructor(r) {
664
664
  var t;
665
- if (super(r), r.type !== bt.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
665
+ if (super(r), r.type !== At.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
666
666
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
667
667
  }
668
668
  render(r) {
@@ -683,37 +683,151 @@ const Zt = wt(class extends xt {
683
683
  const o = !!t[n];
684
684
  o === this.it.has(n) || (i = this.st) != null && i.has(n) || (o ? (e.add(n), this.it.add(n)) : (e.remove(n), this.it.delete(n)));
685
685
  }
686
- return w;
686
+ return x;
687
687
  }
688
- }), z = (r, t, e) => {
688
+ }), B = (r, t, e) => {
689
689
  r && e.style.setProperty(t, r);
690
690
  }, Et = (r, t) => {
691
691
  var e, s, i, n;
692
- z((e = r.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), z(
692
+ B((e = r.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), B(
693
693
  (s = r.colors) == null ? void 0 : s.textOnPrimaryBackground,
694
694
  "--text-on-primary-background",
695
695
  t
696
- ), z(
696
+ ), B(
697
697
  (i = r.colors) == null ? void 0 : i.secondaryBackground,
698
698
  "--secondary-background",
699
699
  t
700
- ), z(
700
+ ), B(
701
701
  (n = r.colors) == null ? void 0 : n.textOnSecondaryBackground,
702
702
  "--text-on-secondary-background",
703
703
  t
704
704
  );
705
705
  };
706
- var Ft = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, q = (r, t, e, s) => {
707
- for (var i = s > 1 ? void 0 : s ? Qt(t, e) : t, n = r.length - 1, o; n >= 0; n--)
706
+ /**
707
+ * @license
708
+ * Copyright 2020 Google LLC
709
+ * SPDX-License-Identifier: BSD-3-Clause
710
+ */
711
+ const Xt = (r) => r.strings === void 0;
712
+ /**
713
+ * @license
714
+ * Copyright 2017 Google LLC
715
+ * SPDX-License-Identifier: BSD-3-Clause
716
+ */
717
+ const N = (r, t) => {
718
+ var s;
719
+ const e = r._$AN;
720
+ if (e === void 0)
721
+ return !1;
722
+ for (const i of e)
723
+ (s = i._$AO) == null || s.call(i, t, !1), N(i, t);
724
+ return !0;
725
+ }, V = (r) => {
726
+ let t, e;
727
+ do {
728
+ if ((t = r._$AM) === void 0)
729
+ break;
730
+ e = t._$AN, e.delete(r), r = t;
731
+ } while ((e == null ? void 0 : e.size) === 0);
732
+ }, Ct = (r) => {
733
+ for (let t; t = r._$AM; r = t) {
734
+ let e = t._$AN;
735
+ if (e === void 0)
736
+ t._$AN = e = /* @__PURE__ */ new Set();
737
+ else if (e.has(r))
738
+ break;
739
+ e.add(r), se(t);
740
+ }
741
+ };
742
+ function te(r) {
743
+ this._$AN !== void 0 ? (V(this), this._$AM = r, Ct(this)) : this._$AM = r;
744
+ }
745
+ function ee(r, t = !1, e = 0) {
746
+ const s = this._$AH, i = this._$AN;
747
+ if (i !== void 0 && i.size !== 0)
748
+ if (t)
749
+ if (Array.isArray(s))
750
+ for (let n = e; n < s.length; n++)
751
+ N(s[n], !1), V(s[n]);
752
+ else
753
+ s != null && (N(s, !1), V(s));
754
+ else
755
+ N(this, r);
756
+ }
757
+ const se = (r) => {
758
+ r.type == At.CHILD && (r._$AP ?? (r._$AP = ee), r._$AQ ?? (r._$AQ = te));
759
+ };
760
+ class ie extends xt {
761
+ constructor() {
762
+ super(...arguments), this._$AN = void 0;
763
+ }
764
+ _$AT(t, e, s) {
765
+ super._$AT(t, e, s), Ct(this), this.isConnected = t._$AU;
766
+ }
767
+ _$AO(t, e = !0) {
768
+ var s, i;
769
+ t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (i = this.disconnected) == null || i.call(this)), e && (N(this, t), V(this));
770
+ }
771
+ setValue(t) {
772
+ if (Xt(this._$Ct))
773
+ this._$Ct._$AI(t, this);
774
+ else {
775
+ const e = [...this._$Ct._$AH];
776
+ e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
777
+ }
778
+ }
779
+ disconnected() {
780
+ }
781
+ reconnected() {
782
+ }
783
+ }
784
+ /**
785
+ * @license
786
+ * Copyright 2020 Google LLC
787
+ * SPDX-License-Identifier: BSD-3-Clause
788
+ */
789
+ const St = () => new re();
790
+ class re {
791
+ }
792
+ const F = /* @__PURE__ */ new WeakMap(), Pt = wt(class extends ie {
793
+ render(r) {
794
+ return l;
795
+ }
796
+ update(r, [t]) {
797
+ var s;
798
+ const e = t !== this.G;
799
+ return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (s = r.options) == null ? void 0 : s.host, this.ot(this.lt = r.element)), l;
800
+ }
801
+ ot(r) {
802
+ if (typeof this.G == "function") {
803
+ const t = this.ct ?? globalThis;
804
+ let e = F.get(t);
805
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), F.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, r), r !== void 0 && this.G.call(this.ct, r);
806
+ } else
807
+ this.G.value = r;
808
+ }
809
+ get rt() {
810
+ var r, t;
811
+ return typeof this.G == "function" ? (r = F.get(this.ct ?? globalThis)) == null ? void 0 : r.get(this.G) : (t = this.G) == null ? void 0 : t.value;
812
+ }
813
+ disconnected() {
814
+ this.rt === this.lt && this.ot(void 0);
815
+ }
816
+ reconnected() {
817
+ this.ot(this.lt);
818
+ }
819
+ });
820
+ var ne = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, j = (r, t, e, s) => {
821
+ for (var i = s > 1 ? void 0 : s ? oe(t, e) : t, n = r.length - 1, o; n >= 0; n--)
708
822
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
709
- return s && i && Ft(t, e, i), i;
823
+ return s && i && ne(t, e, i), i;
710
824
  };
711
- class x extends f {
825
+ class y extends f {
712
826
  constructor() {
713
- super(...arguments), this.active = !1, this.loaded = !1;
827
+ super(...arguments), this.active = !1, this.loaded = !1, this.offset = 0, this.buttonRef = St();
714
828
  }
715
829
  async connectedCallback() {
716
- super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
830
+ super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding(), this.offset > 0 && this.buttonRef.value && (this.buttonRef.value.style.right = `calc(${this.offset}px + 20px)`);
717
831
  }
718
832
  _toggleActive() {
719
833
  var t;
@@ -753,14 +867,18 @@ class x extends f {
753
867
  return l;
754
868
  }
755
869
  }
870
+ setOffset(t) {
871
+ this.offset = t;
872
+ }
756
873
  render() {
757
874
  return C`<button
758
- class=${Zt({
875
+ class=${Qt({
759
876
  trigger: !0,
760
877
  active: this.active,
761
878
  rendered: this.loaded
762
879
  })}
763
880
  @click=${this._toggleActive}
881
+ ${Pt(this.buttonRef)}
764
882
  >
765
883
  ${this.icon}
766
884
  <span class="trigger-close">
@@ -793,7 +911,7 @@ class x extends f {
793
911
  </button>`;
794
912
  }
795
913
  }
796
- x.styles = [
914
+ y.styles = [
797
915
  P`
798
916
  :host {
799
917
  --voca-rem-multiplier: 0.625;
@@ -868,24 +986,27 @@ x.styles = [
868
986
  }
869
987
  `
870
988
  ];
871
- q([
989
+ j([
872
990
  g({ attribute: !1 })
873
- ], x.prototype, "application", 2);
874
- q([
875
- L()
876
- ], x.prototype, "active", 2);
877
- q([
878
- L()
879
- ], x.prototype, "loaded", 2);
880
- q([
881
- L()
882
- ], x.prototype, "icon", 2);
883
- var Xt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, v = (r, t, e, s) => {
884
- for (var i = s > 1 ? void 0 : s ? te(t, e) : t, n = r.length - 1, o; n >= 0; n--)
991
+ ], y.prototype, "application", 2);
992
+ j([
993
+ O()
994
+ ], y.prototype, "active", 2);
995
+ j([
996
+ O()
997
+ ], y.prototype, "loaded", 2);
998
+ j([
999
+ O()
1000
+ ], y.prototype, "icon", 2);
1001
+ j([
1002
+ O()
1003
+ ], y.prototype, "offset", 2);
1004
+ var ae = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, b = (r, t, e, s) => {
1005
+ for (var i = s > 1 ? void 0 : s ? ce(t, e) : t, n = r.length - 1, o; n >= 0; n--)
885
1006
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
886
- return s && i && Xt(t, e, i), i;
1007
+ return s && i && ae(t, e, i), i;
887
1008
  };
888
- const Ct = (r) => {
1009
+ const Ot = (r) => {
889
1010
  class t extends r {
890
1011
  constructor() {
891
1012
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -924,148 +1045,34 @@ const Ct = (r) => {
924
1045
  box-sizing: border-box;
925
1046
  }
926
1047
  `
927
- ], v([
1048
+ ], b([
928
1049
  g()
929
- ], t.prototype, "properties", 2), v([
1050
+ ], t.prototype, "properties", 2), b([
930
1051
  g()
931
- ], t.prototype, "context", 2), v([
1052
+ ], t.prototype, "context", 2), b([
932
1053
  g()
933
- ], t.prototype, "layout", 2), v([
1054
+ ], t.prototype, "layout", 2), b([
934
1055
  g()
935
- ], t.prototype, "name", 2), v([
1056
+ ], t.prototype, "name", 2), b([
936
1057
  g()
937
- ], t.prototype, "type", 2), v([
1058
+ ], t.prototype, "type", 2), b([
938
1059
  g({ attribute: !1 })
939
- ], t.prototype, "application", 2), v([
1060
+ ], t.prototype, "application", 2), b([
940
1061
  g({ attribute: !1 })
941
1062
  ], t.prototype, "parent", 2), t;
942
1063
  };
943
- class St extends Ct(f) {
1064
+ class Tt extends Ot(f) {
944
1065
  render() {
945
1066
  return C`Non resolved component`;
946
1067
  }
947
1068
  }
948
- St.styles = [
1069
+ Tt.styles = [
949
1070
  P`
950
1071
  :host {
951
1072
  display: block;
952
1073
  }
953
1074
  `
954
1075
  ];
955
- /**
956
- * @license
957
- * Copyright 2020 Google LLC
958
- * SPDX-License-Identifier: BSD-3-Clause
959
- */
960
- const ee = (r) => r.strings === void 0;
961
- /**
962
- * @license
963
- * Copyright 2017 Google LLC
964
- * SPDX-License-Identifier: BSD-3-Clause
965
- */
966
- const N = (r, t) => {
967
- var s;
968
- const e = r._$AN;
969
- if (e === void 0)
970
- return !1;
971
- for (const i of e)
972
- (s = i._$AO) == null || s.call(i, t, !1), N(i, t);
973
- return !0;
974
- }, W = (r) => {
975
- let t, e;
976
- do {
977
- if ((t = r._$AM) === void 0)
978
- break;
979
- e = t._$AN, e.delete(r), r = t;
980
- } while ((e == null ? void 0 : e.size) === 0);
981
- }, Pt = (r) => {
982
- for (let t; t = r._$AM; r = t) {
983
- let e = t._$AN;
984
- if (e === void 0)
985
- t._$AN = e = /* @__PURE__ */ new Set();
986
- else if (e.has(r))
987
- break;
988
- e.add(r), re(t);
989
- }
990
- };
991
- function se(r) {
992
- this._$AN !== void 0 ? (W(this), this._$AM = r, Pt(this)) : this._$AM = r;
993
- }
994
- function ie(r, t = !1, e = 0) {
995
- const s = this._$AH, i = this._$AN;
996
- if (i !== void 0 && i.size !== 0)
997
- if (t)
998
- if (Array.isArray(s))
999
- for (let n = e; n < s.length; n++)
1000
- N(s[n], !1), W(s[n]);
1001
- else
1002
- s != null && (N(s, !1), W(s));
1003
- else
1004
- N(this, r);
1005
- }
1006
- const re = (r) => {
1007
- r.type == bt.CHILD && (r._$AP ?? (r._$AP = ie), r._$AQ ?? (r._$AQ = se));
1008
- };
1009
- class ne extends xt {
1010
- constructor() {
1011
- super(...arguments), this._$AN = void 0;
1012
- }
1013
- _$AT(t, e, s) {
1014
- super._$AT(t, e, s), Pt(this), this.isConnected = t._$AU;
1015
- }
1016
- _$AO(t, e = !0) {
1017
- var s, i;
1018
- t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (i = this.disconnected) == null || i.call(this)), e && (N(this, t), W(this));
1019
- }
1020
- setValue(t) {
1021
- if (ee(this._$Ct))
1022
- this._$Ct._$AI(t, this);
1023
- else {
1024
- const e = [...this._$Ct._$AH];
1025
- e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
1026
- }
1027
- }
1028
- disconnected() {
1029
- }
1030
- reconnected() {
1031
- }
1032
- }
1033
- /**
1034
- * @license
1035
- * Copyright 2020 Google LLC
1036
- * SPDX-License-Identifier: BSD-3-Clause
1037
- */
1038
- const oe = () => new ae();
1039
- class ae {
1040
- }
1041
- const F = /* @__PURE__ */ new WeakMap(), ce = wt(class extends ne {
1042
- render(r) {
1043
- return l;
1044
- }
1045
- update(r, [t]) {
1046
- var s;
1047
- const e = t !== this.G;
1048
- return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (s = r.options) == null ? void 0 : s.host, this.ot(this.lt = r.element)), l;
1049
- }
1050
- ot(r) {
1051
- if (typeof this.G == "function") {
1052
- const t = this.ct ?? globalThis;
1053
- let e = F.get(t);
1054
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), F.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, r), r !== void 0 && this.G.call(this.ct, r);
1055
- } else
1056
- this.G.value = r;
1057
- }
1058
- get rt() {
1059
- var r, t;
1060
- return typeof this.G == "function" ? (r = F.get(this.ct ?? globalThis)) == null ? void 0 : r.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1061
- }
1062
- disconnected() {
1063
- this.rt === this.lt && this.ot(void 0);
1064
- }
1065
- reconnected() {
1066
- this.ot(this.lt);
1067
- }
1068
- });
1069
1076
  var et = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r))(et || {}), he = Object.defineProperty, le = Object.getOwnPropertyDescriptor, de = (r, t, e, s) => {
1070
1077
  for (var i = s > 1 ? void 0 : s ? le(t, e) : t, n = r.length - 1, o; n >= 0; n--)
1071
1078
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
@@ -1073,7 +1080,7 @@ var et = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r)
1073
1080
  };
1074
1081
  class st extends f {
1075
1082
  constructor() {
1076
- super(...arguments), this.nodes = [], this.wrapperRef = oe();
1083
+ super(...arguments), this.nodes = [], this.wrapperRef = St();
1077
1084
  }
1078
1085
  addChild(t) {
1079
1086
  t.parent = this, this.nodes.push(t);
@@ -1096,8 +1103,8 @@ class st extends f {
1096
1103
  this.applyBranding(), this.applyStyles();
1097
1104
  }
1098
1105
  render() {
1099
- return this.application.renderStrategy === et.Trigger && this.renderRoot.host.classList.add("floating"), C`<div class="widget-container" ${ce(this.wrapperRef)}>
1100
- ${At(this.nodes, (t) => t)}
1106
+ return this.application.renderStrategy === et.Trigger && this.renderRoot.host.classList.add("floating"), C`<div class="widget-container" ${Pt(this.wrapperRef)}>
1107
+ ${bt(this.nodes, (t) => t)}
1101
1108
  </div>`;
1102
1109
  }
1103
1110
  }
@@ -1201,7 +1208,7 @@ var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, it = (r, t
1201
1208
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
1202
1209
  return s && i && pe(t, e, i), i;
1203
1210
  };
1204
- class j extends f {
1211
+ class D extends f {
1205
1212
  constructor() {
1206
1213
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
1207
1214
  }
@@ -1227,13 +1234,13 @@ class j extends f {
1227
1234
  if (!this.widget || this.status !== "activated")
1228
1235
  return l;
1229
1236
  if (this.widget.renderStrategy === et.Trigger) {
1230
- const t = new x();
1237
+ const t = new y();
1231
1238
  return t.application = this.widget, t;
1232
1239
  }
1233
1240
  return this.widget.render();
1234
1241
  }
1235
1242
  }
1236
- j.styles = [
1243
+ D.styles = [
1237
1244
  P`
1238
1245
  :host {
1239
1246
  display: block;
@@ -1242,17 +1249,17 @@ j.styles = [
1242
1249
  ];
1243
1250
  it([
1244
1251
  g({ attribute: !0 })
1245
- ], j.prototype, "name", 2);
1252
+ ], D.prototype, "name", 2);
1246
1253
  it([
1247
- L()
1248
- ], j.prototype, "widget", 2);
1254
+ O()
1255
+ ], D.prototype, "widget", 2);
1249
1256
  it([
1250
- L()
1251
- ], j.prototype, "status", 2);
1252
- customElements.get("ace-trigger") || customElements.define("ace-trigger", x);
1253
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", St);
1257
+ O()
1258
+ ], D.prototype, "status", 2);
1259
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", y);
1260
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Tt);
1254
1261
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", st);
1255
- customElements.get("ace-widget") || customElements.define("ace-widget", j);
1262
+ customElements.get("ace-widget") || customElements.define("ace-widget", D);
1256
1263
  const ge = (r) => {
1257
1264
  const t = {};
1258
1265
  return Object.keys(r).forEach((e) => {
@@ -1264,7 +1271,7 @@ const ge = (r) => {
1264
1271
  r.style.setProperty(s.replace("css-", ""), i);
1265
1272
  });
1266
1273
  };
1267
- class $e extends Ct(f) {
1274
+ class $e extends Ot(f) {
1268
1275
  constructor() {
1269
1276
  super(...arguments), this.nodes = [];
1270
1277
  }
@@ -1273,7 +1280,7 @@ class $e extends Ct(f) {
1273
1280
  return fe(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
1274
1281
  "--columns",
1275
1282
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
1276
- ), C`${At(this.nodes, (e) => e)}`;
1283
+ ), C`${bt(this.nodes, (e) => e)}`;
1277
1284
  }
1278
1285
  }
1279
1286
  $e.styles = [
package/area.d.ts CHANGED
@@ -4,6 +4,6 @@ declare const Area_base: (new (...args: any[]) => WidgetComponentType) & typeof
4
4
  export declare class Area extends Area_base {
5
5
  nodes: WidgetComponentType[];
6
6
  static styles: import("lit").CSSResult[];
7
- render(): import("lit").TemplateResult<1>;
7
+ render(): import("lit-html").TemplateResult<1>;
8
8
  }
9
9
  export default Area;
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-1eab87bd.js")))};module.exports=r;
1
+ "use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-a7a242d5.js")))};module.exports=r;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const o = async (e) => {
2
- e.registerComponent("area", import("./area-cc3b34c4.mjs"));
2
+ e.registerComponent("area", import("./area-f93cd792.mjs"));
3
3
  };
4
4
  export {
5
5
  o as default
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-area-flamingo",
3
- "version": "1.1.26",
3
+ "version": "1.1.27-rc.1",
4
4
  "dependencies": {
5
- "@telia-ace/widget-core-flamingo": "1.1.26",
5
+ "@telia-ace/widget-core-flamingo": "1.1.27-rc.1",
6
6
  "lit": "^3.0.2"
7
7
  },
8
8
  "main": "./index.js",