@telia-ace/widget-components-widget-header-flamingo 1.1.18 → 1.1.19-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=async e=>{e.registerComponent("widget-header",Promise.resolve().then(()=>require("./widget-header-39365179.js")))};module.exports=r;
1
+ "use strict";const r=async e=>{e.registerComponent("widget-header",Promise.resolve().then(()=>require("./widget-header-9c00066d.js")))};module.exports=r;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const t = async (e) => {
2
- e.registerComponent("widget-header", import("./widget-header-f7808b3a.mjs"));
2
+ e.registerComponent("widget-header", import("./widget-header-cd44011a.mjs"));
3
3
  };
4
4
  export {
5
5
  t as default
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-widget-header-flamingo",
3
- "version": "1.1.18",
3
+ "version": "1.1.19-rc.1",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.18"
6
+ "@telia-ace/widget-core-flamingo": "1.1.19-rc.1"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",
@@ -6,21 +6,21 @@
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:kt,defineProperty:Nt,getOwnPropertyDescriptor:Mt,getOwnPropertyNames:Ht,getOwnPropertySymbols:Rt,getPrototypeOf:Lt}=Object,_=globalThis,at=_.trustedTypes,zt=at?at.emptyScript:"",Y=_.reactiveElementPolyfillSupport,O=(r,t)=>r,I={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)=>!kt(r,t),ht={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=ht){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&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=Mt(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 h=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ht}static _$Ei(){if(this.hasOwnProperty(O("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(O("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(O("properties"))){const e=this.properties,s=[...Ht(e),...Rt(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),h=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]=h.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[O("elementProperties")]=new Map,E[O("finalized")]=new Map,Y==null||Y({ReactiveElement:E}),(_.reactiveElementVersions??(_.reactiveElementVersions=[])).push("2.0.1");/**
9
+ */const{is:kt,defineProperty:Nt,getOwnPropertyDescriptor:Mt,getOwnPropertyNames:Ht,getOwnPropertySymbols:Rt,getPrototypeOf:Lt}=Object,_=globalThis,at=_.trustedTypes,zt=at?at.emptyScript:"",Y=_.reactiveElementPolyfillSupport,O=(r,t)=>r,I={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)=>!kt(r,t),ct={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:tt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),_.litPropertyMetadata??(_.litPropertyMetadata=new WeakMap);class C 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&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=Mt(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(O("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(O("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(O("properties"))){const e=this.properties,s=[...Ht(e),...Rt(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){}}C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[O("elementProperties")]=new Map,C[O("finalized")]=new Map,Y==null||Y({ReactiveElement:C}),(_.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,W=U.trustedTypes,ct=W?W.createPolicy("lit-html",{createHTML:r=>r}):void 0,mt="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+m,Dt=`<${_t}>`,b=document,N=()=>b.createComment(""),M=r=>r===null||typeof r!="object"&&typeof r!="function",vt=Array.isArray,Bt=r=>vt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",J=`[
13
+ */const U=globalThis,W=U.trustedTypes,ht=W?W.createPolicy("lit-html",{createHTML:r=>r}):void 0,mt="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+m,Dt=`<${_t}>`,w=document,N=()=>w.createComment(""),M=r=>r===null||typeof r!="object"&&typeof r!="function",yt=Array.isArray,Bt=r=>yt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",J=`[
14
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,yt=/^(?:script|style|textarea|title)$/i,jt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),C=jt(1),w=Symbol.for("lit-noChange"),c=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 ct!==void 0?ct.createHTML(t):t}const It=(r,t)=>{const e=r.length-1,s=[];let i,n=t===2?"<svg>":"",o=T;for(let h=0;h<e;h++){const a=r[h];let d,p,l=-1,g=0;for(;g<a.length&&(o.lastIndex=g,p=o.exec(a),p!==null);)g=o.lastIndex,o===T?p[1]==="!--"?o=lt:p[1]!==void 0?o=dt: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,l=-1):p[1]===void 0?l=-2:(l=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[h+1].startsWith("/>")?" ":"";n+=o===T?a+Dt:l>=0?(s.push(d),a.slice(0,l)+mt+a.slice(l)+m+$):a+m+(l===-2?h:$)}return[At(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 h=t.length-1,a=this.parts,[d,p]=It(t,e);if(this.el=H.createElement(d,s),A.currentNode=this.el.content,e===2){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=A.nextNode())!==null&&a.length<h;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(mt)){const g=p[o++],$=i.getAttribute(l).split(m),D=/([.?@])?(.*)/.exec(g);a.push({type:1,index:n,name:D[2],strings:$,ctor:D[1]==="."?Gt:D[1]==="?"?Vt:D[1]==="@"?qt:V}),i.removeAttribute(l)}else l.startsWith(m)&&(a.push({type:6,index:n}),i.removeAttribute(l));if(yt.test(i.tagName)){const l=i.textContent.split(m),g=l.length-1;if(g>0){i.textContent=W?W.emptyScript:"";for(let $=0;$<g;$++)i.append(l[$],N()),A.nextNode(),a.push({type:2,index:++n});i.append(l[g],N())}}}else if(i.nodeType===8)if(i.data===_t)a.push({type:2,index:n});else{let l=-1;for(;(l=i.data.indexOf(m,l+1))!==-1;)a.push({type:7,index:n}),l+=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,h;if(t===w)return t;let i=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const n=M(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((h=i==null?void 0:i._$AO)==null||h.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 Wt{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,h=0,a=s[0];for(;a!==void 0;){if(o===a.index){let d;a.type===2?d=new R(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[++h]}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 R{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=c,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),M(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==w&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Bt(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!==c&&M(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=H.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 Wt(i,this),h=o.u(this.options);o.p(e),this.$(h),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){vt(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 R(this.k(N()),this.k(N()),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=c,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=c}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(n===void 0)t=S(this,t,e,0),o=!M(t)||t!==this._$AH&&t!==w,o&&(this._$AH=t);else{const h=t;let a,d;for(t=n[0],a=0;a<n.length-1;a++)d=S(this,h[s+a],e,a),d===w&&(d=this._$AH[a]),o||(o=!M(d)||d!==this._$AH[a]),d===c?t=c:t!==c&&(t+=(d??"")+n[a+1]),this._$AH[a]=d}o&&!i&&this.O(t)}O(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Gt extends V{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===c?void 0:t}}class Vt extends V{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}}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)??c)===w)return;const s=this._$AH,i=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==c&&(s===c||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(H,R),(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 R(t.insertBefore(N(),n),n,void 0,e??{})}return i._$AI(r),i};/**
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,vt=/^(?:script|style|textarea|title)$/i,jt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),y=jt(1),x=Symbol.for("lit-noChange"),l=Symbol.for("lit-nothing"),gt=new WeakMap,b=w.createTreeWalker(w,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=T;for(let c=0;c<e;c++){const a=r[c];let d,p,h=-1,g=0;for(;g<a.length&&(o.lastIndex=g,p=o.exec(a),p!==null);)g=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+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 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]=It(t,e);if(this.el=H.createElement(d,s),b.currentNode=this.el.content,e===2){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=b.nextNode())!==null&&a.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const h of i.getAttributeNames())if(h.endsWith(mt)){const g=p[o++],$=i.getAttribute(h).split(m),D=/([.?@])?(.*)/.exec(g);a.push({type:1,index:n,name:D[2],strings:$,ctor:D[1]==="."?Gt: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),g=h.length-1;if(g>0){i.textContent=W?W.emptyScript:"";for(let $=0;$<g;$++)i.append(h[$],N()),b.nextNode(),a.push({type:2,index:++n});i.append(h[g],N())}}}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=M(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 Wt{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);b.currentNode=i;let n=b.nextNode(),o=0,c=0,a=s[0];for(;a!==void 0;){if(o===a.index){let d;a.type===2?d=new R(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=b.nextNode(),o++)}return b.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 R{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),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)}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&&M(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(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 Wt(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 R(this.k(N()),this.k(N()),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=!M(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=!M(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 Gt 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)===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 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(H,R),(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 R(t.insertBefore(N(),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 C{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 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 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */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(h){const a=t.get.call(this);t.set.call(this,h),this.requestUpdate(o,a,r)},init(h){return h!==void 0&&this.C(o,void 0,r),h}}}if(s==="setter"){const{name:o}=e;return function(h){const a=this[o];t.call(this,h),this.requestUpdate(o,a,r)}}throw Error("Unsupported decorator location: "+s)};function u(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)}/**
23
+ */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 u(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)}/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
@@ -32,11 +32,11 @@
32
32
  * @license
33
33
  * Copyright 2018 Google LLC
34
34
  * SPDX-License-Identifier: BSD-3-Clause
35
- */const Qt=wt(class extends xt{constructor(r){var t;if(super(r),r.type!==bt.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}}),B=(r,t,e)=>{r&&e.style.setProperty(t,r)},Et=(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)};var Ft=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&&Ft(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&&Et(this.application.settings.branding,this)}async _renderSymbol(){var n;const t=(n=this.application)==null?void 0:n.triggerIcon;if(!t)return c;const e=async o=>await Promise.resolve().then(()=>require("./index-6dd00f59.js")).then(a=>a[o]),{type:s,content:i}=t;switch(s){case"Telia":{const o=await e(i);return o?C`<telia-icon
35
+ */const Qt=wt(class extends xt{constructor(r){var t;if(super(r),r.type!==bt.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)},Et=(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)};var Ft=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&&Ft(t,e,i),i};class E 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&&Et(this.application.settings.branding,this)}async _renderSymbol(){var c,a;const t=(c=this.application)==null?void 0:c.branding(),e=t==null?void 0:t.graphics.trigger;if(e)return y` <img src=${e} class="trigger-icon" alt="" /> `;const s=(a=this.application)==null?void 0:a.triggerIcon;if(!s)return l;const i=async d=>await Promise.resolve().then(()=>require("./index-6dd00f59.js")).then(h=>h[d]),{type:n,content:o}=s;switch(n){case"Telia":{const d=await i(o);return d?y`<telia-icon
36
36
  class="trigger-icon"
37
- svg=${o.svg}
37
+ svg=${d.svg}
38
38
  size="lg"
39
- ></telia-icon>`:c}default:return c}}render(){return C`<button
39
+ ></telia-icon>`:l}default:return l}}render(){return y`<button
40
40
  class=${Qt({trigger:!0,active:this.active,rendered:this.loaded})}
41
41
  @click=${this._toggleActive}
42
42
  >
@@ -68,7 +68,7 @@
68
68
  />
69
69
  </svg>
70
70
  </span>
71
- </button>`}}x.styles=[P`
71
+ </button>`}}E.styles=[P`
72
72
  :host {
73
73
  --voca-rem-multiplier: 0.625;
74
74
  display: block;
@@ -136,7 +136,11 @@
136
136
  align-items: center;
137
137
  fill: var(--trigger-text-color, var(--text-on-primary-background));
138
138
  }
139
- `];q([u({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,y=(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 Ct=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`
139
+
140
+ img {
141
+ max-width: 100%;
142
+ }
143
+ `];q([u({attribute:!1})],E.prototype,"application",2);q([L()],E.prototype,"active",2);q([L()],E.prototype,"loaded",2);q([L()],E.prototype,"icon",2);var te=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,A=(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 Ct=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`
140
144
  :host {
141
145
  font-family: var(--font-family);
142
146
  grid-column: span var(--width);
@@ -148,7 +152,7 @@
148
152
  * {
149
153
  box-sizing: border-box;
150
154
  }
151
- `],y([u()],t.prototype,"properties",2),y([u()],t.prototype,"context",2),y([u()],t.prototype,"layout",2),y([u()],t.prototype,"name",2),y([u()],t.prototype,"type",2),y([u({attribute:!1})],t.prototype,"application",2),y([u({attribute:!1})],t.prototype,"parent",2),t};class St extends Ct(f){render(){return C`Non resolved component`}}St.styles=[P`
155
+ `],A([u()],t.prototype,"properties",2),A([u()],t.prototype,"context",2),A([u()],t.prototype,"layout",2),A([u()],t.prototype,"name",2),A([u()],t.prototype,"type",2),A([u({attribute:!1})],t.prototype,"application",2),A([u({attribute:!1})],t.prototype,"parent",2),t};class St extends Ct(f){render(){return y`Non resolved component`}}St.styles=[P`
152
156
  :host {
153
157
  display: block;
154
158
  }
@@ -164,11 +168,11 @@
164
168
  * @license
165
169
  * Copyright 2020 Google LLC
166
170
  * SPDX-License-Identifier: BSD-3-Clause
167
- */const ae=()=>new he;class he{}const Q=new WeakMap,ce=wt(class extends oe{render(r){return c}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)),c}ot(r){if(typeof this.G=="function"){const t=this.ct??globalThis;let e=Q.get(t);e===void 0&&(e=new WeakMap,Q.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=Q.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)}});/**
171
+ */const ae=()=>new ce;class ce{}const Q=new WeakMap,he=wt(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=Q.get(t);e===void 0&&(e=new WeakMap,Q.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=Q.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)}});/**
168
172
  * @license
169
173
  * Copyright 2021 Google LLC
170
174
  * SPDX-License-Identifier: BSD-3-Clause
171
- */function*le(r,t){if(r!==void 0){let e=0;for(const s of r)yield t(s,e++)}}var et=(r=>(r.Inline="inline",r.Trigger="trigger",r))(et||{}),de=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,ue=(r,t,e,s)=>{for(var i=s>1?void 0:s?pe(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&&de(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){const t=this.application.settings;t!=null&&t.branding&&Et(t.branding,this.wrapperRef.value)}}firstUpdated(t){this.applyBranding()}render(){return this.application.renderStrategy===et.Trigger&&this.renderRoot.host.classList.add("floating"),C`<div class="widget-container" ${ce(this.wrapperRef)}>
175
+ */function*le(r,t){if(r!==void 0){let e=0;for(const s of r)yield t(s,e++)}}var et=(r=>(r.Inline="inline",r.Trigger="trigger",r))(et||{}),de=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,ue=(r,t,e,s)=>{for(var i=s>1?void 0:s?pe(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&&de(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){const t=this.application.settings;t!=null&&t.branding&&Et(t.branding,this.wrapperRef.value)}}firstUpdated(t){this.applyBranding()}render(){return this.application.renderStrategy===et.Trigger&&this.renderRoot.host.classList.add("floating"),y`<div class="widget-container" ${he(this.wrapperRef)}>
172
176
  ${le(this.nodes,t=>t)}
173
177
  </div>`}}st.styles=P`
174
178
  :host {
@@ -248,22 +252,29 @@
248
252
  opacity: 0;
249
253
  animation: slideDown 0.3s linear;
250
254
  }
251
- `;ue([u({attribute:!1})],st.prototype,"application",2);var ge=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,it=(r,t,e,s)=>{for(var i=s>1?void 0:s?fe(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&&ge(t,e,i),i};class z 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 c;if(this.widget.renderStrategy===et.Trigger){const t=new x;return t.application=this.widget,t}return this.widget.render()}}z.styles=[P`
255
+ `;ue([u({attribute:!1})],st.prototype,"application",2);var ge=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,it=(r,t,e,s)=>{for(var i=s>1?void 0:s?fe(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&&ge(t,e,i),i};class z 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 E;return t.application=this.widget,t}return this.widget.render()}}z.styles=[P`
252
256
  :host {
253
257
  display: block;
254
258
  }
255
- `];it([u({attribute:!0})],z.prototype,"name",2);it([L()],z.prototype,"widget",2);it([L()],z.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",x);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",St);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",z);const Tt=Ct(f);class rt extends Tt{render(){return C` <div class="widget-header">
259
+ `];it([u({attribute:!0})],z.prototype,"name",2);it([L()],z.prototype,"widget",2);it([L()],z.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",E);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",St);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",z);const Tt=Ct(f);class rt extends Tt{render(){var s;const t=this.application.branding(),e=(s=t==null?void 0:t.graphics)==null?void 0:s.logotype;return y` <div class="widget-header">
256
260
  <!-- <telia-icon svg={aiRobot.svg} size="lg"></telia-icon> -->
261
+ ${e?y` <img src=${e} class="logotype" alt="" />`:l}
262
+
257
263
  <div>
258
264
  <h1>${this.properties.header}</h1>
259
265
 
260
- ${this.properties.tagline?C`<p>${this.properties.tagline}</p>`:c}
266
+ ${this.properties.tagline?y`<p>${this.properties.tagline}</p>`:l}
261
267
  </div>
262
268
  </div>`}}rt.styles=[Tt.styles||[],P`
263
269
  :host {
264
270
  --header-text-color: var(--text-on-primary-background);
265
271
  }
266
272
 
273
+ img {
274
+ max-width: 140px;
275
+ max-height: 80%;
276
+ }
277
+
267
278
  .widget-header {
268
279
  background-color: transparent;
269
280
  color: var(--header-text-color);
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
6
  const j = globalThis, F = j.ShadowRoot && (j.ShadyCSS === void 0 || j.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, X = Symbol(), rt = /* @__PURE__ */ new WeakMap();
7
- let ft = class {
7
+ let $t = class {
8
8
  constructor(t, e, s) {
9
9
  if (this._$cssResult$ = !0, s !== X)
10
10
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -23,7 +23,7 @@ let ft = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const Tt = (r) => new ft(typeof r == "string" ? r : r + "", void 0, X), P = (r, ...t) => {
26
+ const Tt = (r) => new $t(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;
@@ -31,7 +31,7 @@ const Tt = (r) => new ft(typeof r == "string" ? r : r + "", void 0, X), P = (r,
31
31
  return o;
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
- return new ft(e, r, X);
34
+ return new $t(e, r, X);
35
35
  }, Ot = (r, t) => {
36
36
  if (F)
37
37
  r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
@@ -81,7 +81,7 @@ const { is: Ut, defineProperty: kt, getOwnPropertyDescriptor: Nt, getOwnProperty
81
81
  return e;
82
82
  } }, tt = (r, t) => !Ut(r, t), at = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: tt };
83
83
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
- class E extends HTMLElement {
84
+ class C extends HTMLElement {
85
85
  static addInitializer(t) {
86
86
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
87
87
  }
@@ -103,8 +103,8 @@ class E extends HTMLElement {
103
103
  return { get() {
104
104
  return i == null ? void 0 : i.call(this);
105
105
  }, set(o) {
106
- const h = i == null ? void 0 : i.call(this);
107
- n.call(this, o), this.requestUpdate(t, h, s);
106
+ const c = i == null ? void 0 : i.call(this);
107
+ n.call(this, o), this.requestUpdate(t, c, s);
108
108
  }, configurable: !0, enumerable: !0 };
109
109
  }
110
110
  static getPropertyOptions(t) {
@@ -208,8 +208,8 @@ 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), h = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : I;
212
- this._$Em = i, this[i] = h.fromAttribute(e, o.type), this._$Em = null;
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;
212
+ this._$Em = i, this[i] = c.fromAttribute(e, o.type), this._$Em = null;
213
213
  }
214
214
  }
215
215
  requestUpdate(t, e, s, i = !1, n) {
@@ -292,84 +292,84 @@ class E extends HTMLElement {
292
292
  firstUpdated(t) {
293
293
  }
294
294
  }
295
- E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[O("elementProperties")] = /* @__PURE__ */ new Map(), E[O("finalized")] = /* @__PURE__ */ new Map(), Y == null || Y({ ReactiveElement: E }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
295
+ C.elementStyles = [], C.shadowRootOptions = { mode: "open" }, C[O("elementProperties")] = /* @__PURE__ */ new Map(), C[O("finalized")] = /* @__PURE__ */ new Map(), Y == null || Y({ ReactiveElement: C }), (_.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, W = U.trustedTypes, ht = W ? W.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, $t = "$lit$", m = `lit$${(Math.random() + "").slice(9)}$`, mt = "?" + m, zt = `<${mt}>`, b = document, N = () => 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]`, T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ct = /-->/g, lt = />/g, v = RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, pt = /"/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"), c = Symbol.for("lit-nothing"), ut = /* @__PURE__ */ new WeakMap(), A = b.createTreeWalker(b, 129);
304
- function yt(r, t) {
301
+ const U = globalThis, W = U.trustedTypes, ct = W ? W.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ft = "$lit$", m = `lit$${(Math.random() + "").slice(9)}$`, mt = "?" + m, zt = `<${mt}>`, w = document, N = () => w.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]`, 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, Bt = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), y = Bt(1), x = Symbol.for("lit-noChange"), l = Symbol.for("lit-nothing"), ut = /* @__PURE__ */ new WeakMap(), b = w.createTreeWalker(w, 129);
304
+ function vt(r, t) {
305
305
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
- return ht !== void 0 ? ht.createHTML(t) : t;
307
+ return ct !== void 0 ? ct.createHTML(t) : t;
308
308
  }
309
309
  const jt = (r, t) => {
310
310
  const e = r.length - 1, s = [];
311
311
  let i, n = t === 2 ? "<svg>" : "", o = T;
312
- for (let h = 0; h < e; h++) {
313
- const a = r[h];
314
- let d, p, l = -1, g = 0;
312
+ for (let c = 0; c < e; c++) {
313
+ const a = r[c];
314
+ let d, p, h = -1, g = 0;
315
315
  for (; g < a.length && (o.lastIndex = g, p = o.exec(a), p !== null); )
316
- g = o.lastIndex, o === T ? p[1] === "!--" ? o = ct : p[1] !== void 0 ? o = lt : 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, l = -1) : p[1] === void 0 ? l = -2 : (l = 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 === ct || o === lt ? o = T : (o = v, i = void 0);
317
- const $ = o === v && r[h + 1].startsWith("/>") ? " " : "";
318
- n += o === T ? a + zt : l >= 0 ? (s.push(d), a.slice(0, l) + $t + a.slice(l) + m + $) : a + m + (l === -2 ? h : $);
316
+ g = 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 f = o === v && r[c + 1].startsWith("/>") ? " " : "";
318
+ n += o === T ? a + zt : h >= 0 ? (s.push(d), a.slice(0, h) + ft + a.slice(h) + m + f) : a + m + (h === -2 ? c : f);
319
319
  }
320
- return [yt(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
320
+ return [vt(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
321
321
  };
322
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 h = t.length - 1, a = this.parts, [d, p] = jt(t, e);
328
- if (this.el = H.createElement(d, s), A.currentNode = this.el.content, e === 2) {
329
- const l = this.el.content.firstChild;
330
- l.replaceWith(...l.childNodes);
327
+ const c = t.length - 1, a = this.parts, [d, p] = jt(t, e);
328
+ if (this.el = H.createElement(d, s), b.currentNode = this.el.content, e === 2) {
329
+ const h = this.el.content.firstChild;
330
+ h.replaceWith(...h.childNodes);
331
331
  }
332
- for (; (i = A.nextNode()) !== null && a.length < h; ) {
332
+ for (; (i = b.nextNode()) !== null && a.length < c; ) {
333
333
  if (i.nodeType === 1) {
334
334
  if (i.hasAttributes())
335
- for (const l of i.getAttributeNames())
336
- if (l.endsWith($t)) {
337
- const g = p[o++], $ = i.getAttribute(l).split(m), D = /([.?@])?(.*)/.exec(g);
338
- a.push({ type: 1, index: n, name: D[2], strings: $, ctor: D[1] === "." ? Wt : D[1] === "?" ? Gt : D[1] === "@" ? Vt : V }), i.removeAttribute(l);
335
+ for (const h of i.getAttributeNames())
336
+ if (h.endsWith(ft)) {
337
+ const g = p[o++], f = i.getAttribute(h).split(m), D = /([.?@])?(.*)/.exec(g);
338
+ a.push({ type: 1, index: n, name: D[2], strings: f, ctor: D[1] === "." ? Wt : D[1] === "?" ? Gt : D[1] === "@" ? Vt : V }), i.removeAttribute(h);
339
339
  } else
340
- l.startsWith(m) && (a.push({ type: 6, index: n }), i.removeAttribute(l));
341
- if (vt.test(i.tagName)) {
342
- const l = i.textContent.split(m), g = l.length - 1;
340
+ h.startsWith(m) && (a.push({ type: 6, index: n }), i.removeAttribute(h));
341
+ if (yt.test(i.tagName)) {
342
+ const h = i.textContent.split(m), g = h.length - 1;
343
343
  if (g > 0) {
344
344
  i.textContent = W ? W.emptyScript : "";
345
- for (let $ = 0; $ < g; $++)
346
- i.append(l[$], N()), A.nextNode(), a.push({ type: 2, index: ++n });
347
- i.append(l[g], N());
345
+ for (let f = 0; f < g; f++)
346
+ i.append(h[f], N()), b.nextNode(), a.push({ type: 2, index: ++n });
347
+ i.append(h[g], N());
348
348
  }
349
349
  }
350
350
  } else if (i.nodeType === 8)
351
351
  if (i.data === mt)
352
352
  a.push({ type: 2, index: n });
353
353
  else {
354
- let l = -1;
355
- for (; (l = i.data.indexOf(m, l + 1)) !== -1; )
356
- a.push({ type: 7, index: n }), l += m.length - 1;
354
+ let h = -1;
355
+ for (; (h = i.data.indexOf(m, h + 1)) !== -1; )
356
+ a.push({ type: 7, index: n }), h += m.length - 1;
357
357
  }
358
358
  n++;
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
- var o, h;
368
- if (t === w)
367
+ var o, c;
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
- return (i == null ? void 0 : i.constructor) !== n && ((h = i == null ? void 0 : i._$AO) == null || h.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;
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
374
  class It {
375
375
  constructor(t, e) {
@@ -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);
386
- A.currentNode = i;
387
- let n = A.nextNode(), o = 0, h = 0, a = s[0];
385
+ const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? w).importNode(e, !0);
386
+ b.currentNode = i;
387
+ let n = b.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 R(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[++h];
391
+ a.type === 2 ? d = new R(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];
392
392
  }
393
- o !== (a == null ? void 0 : a.index) && (n = A.nextNode(), o++);
393
+ o !== (a == null ? void 0 : a.index) && (n = b.nextNode(), o++);
394
394
  }
395
- return A.currentNode = b, i;
395
+ return b.currentNode = w, i;
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
@@ -406,7 +406,7 @@ class R {
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
407
407
  }
408
408
  constructor(t, e, s, i) {
409
- this.type = 2, this._$AH = c, 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;
409
+ 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;
410
410
  }
411
411
  get parentNode() {
412
412
  let t = this._$AA.parentNode;
@@ -420,7 +420,7 @@ class R {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = S(this, t, e), M(t) ? t === c || t == null || t === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : 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) : Dt(t) ? this.T(t) : this._(t);
424
424
  }
425
425
  k(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -429,16 +429,16 @@ class R {
429
429
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== c && 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 = H.createElement(yt(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), h = o.u(this.options);
441
- o.p(e), this.$(h), this._$AH = o;
440
+ const o = new It(i, this), c = o.u(this.options);
441
+ o.p(e), this.$(c), this._$AH = o;
442
442
  }
443
443
  }
444
444
  _$AC(t) {
@@ -473,23 +473,23 @@ class V {
473
473
  return this._$AM._$AU;
474
474
  }
475
475
  constructor(t, e, s, i, n) {
476
- this.type = 1, this._$AH = c, 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 = c;
476
+ 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;
477
477
  }
478
478
  _$AI(t, e = this, s, i) {
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
- const h = t;
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, h[s + a], e, a), d === w && (d = this._$AH[a]), o || (o = !M(d) || d !== this._$AH[a]), d === c ? t = c : t !== c && (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
  }
491
491
  O(t) {
492
- t === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
492
+ t === l ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
495
  class Wt extends V {
@@ -497,7 +497,7 @@ class Wt extends V {
497
497
  super(...arguments), this.type = 3;
498
498
  }
499
499
  O(t) {
500
- this.element[this.name] = t === c ? void 0 : t;
500
+ this.element[this.name] = t === l ? void 0 : t;
501
501
  }
502
502
  }
503
503
  class Gt extends V {
@@ -505,7 +505,7 @@ class Gt extends V {
505
505
  super(...arguments), this.type = 4;
506
506
  }
507
507
  O(t) {
508
- this.element.toggleAttribute(this.name, !!t && t !== c);
508
+ this.element.toggleAttribute(this.name, !!t && t !== l);
509
509
  }
510
510
  }
511
511
  class Vt extends V {
@@ -513,9 +513,9 @@ class Vt extends V {
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) ?? c) === w)
516
+ if ((t = S(this, t, e, 0) ?? l) === x)
517
517
  return;
518
- const s = this._$AH, i = t === c && s !== c || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== c && (s === c || i);
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;
520
520
  }
521
521
  handleEvent(t) {
@@ -550,7 +550,7 @@ const Yt = (r, t, e) => {
550
550
  * Copyright 2017 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- let f = class extends E {
553
+ let $ = class extends C {
554
554
  constructor() {
555
555
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
556
556
  }
@@ -572,13 +572,13 @@ 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;
579
- f._$litElement$ = !0, f.finalized = !0, (gt = globalThis.litElementHydrateSupport) == null || gt.call(globalThis, { LitElement: f });
579
+ $._$litElement$ = !0, $.finalized = !0, (gt = globalThis.litElementHydrateSupport) == null || gt.call(globalThis, { LitElement: $ });
580
580
  const Z = globalThis.litElementPolyfillSupport;
581
- Z == null || Z({ LitElement: f });
581
+ Z == null || Z({ LitElement: $ });
582
582
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
583
583
  /**
584
584
  * @license
@@ -590,18 +590,18 @@ const Jt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged:
590
590
  let n = globalThis.litPropertyMetadata.get(i);
591
591
  if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), n.set(e.name, r), s === "accessor") {
592
592
  const { name: o } = e;
593
- return { set(h) {
593
+ return { set(c) {
594
594
  const a = t.get.call(this);
595
- t.set.call(this, h), this.requestUpdate(o, a, r);
596
- }, init(h) {
597
- return h !== void 0 && this.C(o, void 0, r), h;
595
+ t.set.call(this, c), this.requestUpdate(o, a, r);
596
+ }, init(c) {
597
+ return c !== void 0 && this.C(o, void 0, r), c;
598
598
  } };
599
599
  }
600
600
  if (s === "setter") {
601
601
  const { name: o } = e;
602
- return function(h) {
602
+ return function(c) {
603
603
  const a = this[o];
604
- t.call(this, h), this.requestUpdate(o, a, r);
604
+ t.call(this, c), this.requestUpdate(o, a, r);
605
605
  };
606
606
  }
607
607
  throw Error("Unsupported decorator location: " + s);
@@ -671,7 +671,7 @@ const Zt = bt(class extends wt {
671
671
  const o = !!t[n];
672
672
  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)));
673
673
  }
674
- return w;
674
+ return x;
675
675
  }
676
676
  }), B = (r, t, e) => {
677
677
  r && e.style.setProperty(t, r);
@@ -696,7 +696,7 @@ var Qt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, q = (r, t,
696
696
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
697
697
  return s && i && Qt(t, e, i), i;
698
698
  };
699
- class x extends f {
699
+ class E extends $ {
700
700
  constructor() {
701
701
  super(...arguments), this.active = !1, this.loaded = !1;
702
702
  }
@@ -718,28 +718,31 @@ class x extends f {
718
718
  (t = this.application) != null && t.settings && xt(this.application.settings.branding, this);
719
719
  }
720
720
  async _renderSymbol() {
721
- var n;
722
- const t = (n = this.application) == null ? void 0 : n.triggerIcon;
723
- if (!t)
724
- return c;
725
- const e = async (o) => await import("./index-5087564d.mjs").then(
726
- (a) => a[o]
727
- ), { type: s, content: i } = t;
728
- switch (s) {
721
+ var c, a;
722
+ const t = (c = this.application) == null ? void 0 : c.branding(), e = t == null ? void 0 : t.graphics.trigger;
723
+ if (e)
724
+ return y` <img src=${e} class="trigger-icon" alt="" /> `;
725
+ const s = (a = this.application) == null ? void 0 : a.triggerIcon;
726
+ if (!s)
727
+ return l;
728
+ const i = async (d) => await import("./index-5087564d.mjs").then(
729
+ (h) => h[d]
730
+ ), { type: n, content: o } = s;
731
+ switch (n) {
729
732
  case "Telia": {
730
- const o = await e(i);
731
- return o ? C`<telia-icon
733
+ const d = await i(o);
734
+ return d ? y`<telia-icon
732
735
  class="trigger-icon"
733
- svg=${o.svg}
736
+ svg=${d.svg}
734
737
  size="lg"
735
- ></telia-icon>` : c;
738
+ ></telia-icon>` : l;
736
739
  }
737
740
  default:
738
- return c;
741
+ return l;
739
742
  }
740
743
  }
741
744
  render() {
742
- return C`<button
745
+ return y`<button
743
746
  class=${Zt({
744
747
  trigger: !0,
745
748
  active: this.active,
@@ -778,7 +781,7 @@ class x extends f {
778
781
  </button>`;
779
782
  }
780
783
  }
781
- x.styles = [
784
+ E.styles = [
782
785
  P`
783
786
  :host {
784
787
  --voca-rem-multiplier: 0.625;
@@ -847,21 +850,25 @@ x.styles = [
847
850
  align-items: center;
848
851
  fill: var(--trigger-text-color, var(--text-on-primary-background));
849
852
  }
853
+
854
+ img {
855
+ max-width: 100%;
856
+ }
850
857
  `
851
858
  ];
852
859
  q([
853
860
  u({ attribute: !1 })
854
- ], x.prototype, "application", 2);
861
+ ], E.prototype, "application", 2);
855
862
  q([
856
863
  L()
857
- ], x.prototype, "active", 2);
864
+ ], E.prototype, "active", 2);
858
865
  q([
859
866
  L()
860
- ], x.prototype, "loaded", 2);
867
+ ], E.prototype, "loaded", 2);
861
868
  q([
862
869
  L()
863
- ], x.prototype, "icon", 2);
864
- var Xt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, y = (r, t, e, s) => {
870
+ ], E.prototype, "icon", 2);
871
+ var Xt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, A = (r, t, e, s) => {
865
872
  for (var i = s > 1 ? void 0 : s ? te(t, e) : t, n = r.length - 1, o; n >= 0; n--)
866
873
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
867
874
  return s && i && Xt(t, e, i), i;
@@ -905,25 +912,25 @@ const Et = (r) => {
905
912
  box-sizing: border-box;
906
913
  }
907
914
  `
908
- ], y([
915
+ ], A([
909
916
  u()
910
- ], t.prototype, "properties", 2), y([
917
+ ], t.prototype, "properties", 2), A([
911
918
  u()
912
- ], t.prototype, "context", 2), y([
919
+ ], t.prototype, "context", 2), A([
913
920
  u()
914
- ], t.prototype, "layout", 2), y([
921
+ ], t.prototype, "layout", 2), A([
915
922
  u()
916
- ], t.prototype, "name", 2), y([
923
+ ], t.prototype, "name", 2), A([
917
924
  u()
918
- ], t.prototype, "type", 2), y([
925
+ ], t.prototype, "type", 2), A([
919
926
  u({ attribute: !1 })
920
- ], t.prototype, "application", 2), y([
927
+ ], t.prototype, "application", 2), A([
921
928
  u({ attribute: !1 })
922
929
  ], t.prototype, "parent", 2), t;
923
930
  };
924
- class Ct extends Et(f) {
931
+ class Ct extends Et($) {
925
932
  render() {
926
- return C`Non resolved component`;
933
+ return y`Non resolved component`;
927
934
  }
928
935
  }
929
936
  Ct.styles = [
@@ -1019,14 +1026,14 @@ class ne extends wt {
1019
1026
  const oe = () => new ae();
1020
1027
  class ae {
1021
1028
  }
1022
- const Q = /* @__PURE__ */ new WeakMap(), he = bt(class extends ne {
1029
+ const Q = /* @__PURE__ */ new WeakMap(), ce = bt(class extends ne {
1023
1030
  render(r) {
1024
- return c;
1031
+ return l;
1025
1032
  }
1026
1033
  update(r, [t]) {
1027
1034
  var s;
1028
1035
  const e = t !== this.G;
1029
- 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)), c;
1036
+ 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;
1030
1037
  }
1031
1038
  ot(r) {
1032
1039
  if (typeof this.G == "function") {
@@ -1052,7 +1059,7 @@ const Q = /* @__PURE__ */ new WeakMap(), he = bt(class extends ne {
1052
1059
  * Copyright 2021 Google LLC
1053
1060
  * SPDX-License-Identifier: BSD-3-Clause
1054
1061
  */
1055
- function* ce(r, t) {
1062
+ function* he(r, t) {
1056
1063
  if (r !== void 0) {
1057
1064
  let e = 0;
1058
1065
  for (const s of r)
@@ -1064,7 +1071,7 @@ var et = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r)
1064
1071
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
1065
1072
  return s && i && le(t, e, i), i;
1066
1073
  };
1067
- class st extends f {
1074
+ class st extends $ {
1068
1075
  constructor() {
1069
1076
  super(...arguments), this.nodes = [], this.wrapperRef = oe();
1070
1077
  }
@@ -1081,8 +1088,8 @@ class st extends f {
1081
1088
  this.applyBranding();
1082
1089
  }
1083
1090
  render() {
1084
- return this.application.renderStrategy === et.Trigger && this.renderRoot.host.classList.add("floating"), C`<div class="widget-container" ${he(this.wrapperRef)}>
1085
- ${ce(this.nodes, (t) => t)}
1091
+ return this.application.renderStrategy === et.Trigger && this.renderRoot.host.classList.add("floating"), y`<div class="widget-container" ${ce(this.wrapperRef)}>
1092
+ ${he(this.nodes, (t) => t)}
1086
1093
  </div>`;
1087
1094
  }
1088
1095
  }
@@ -1173,7 +1180,7 @@ var ue = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, it = (r, t
1173
1180
  (o = r[n]) && (i = (s ? o(t, e, i) : o(i)) || i);
1174
1181
  return s && i && ue(t, e, i), i;
1175
1182
  };
1176
- class z extends f {
1183
+ class z extends $ {
1177
1184
  constructor() {
1178
1185
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
1179
1186
  }
@@ -1197,9 +1204,9 @@ class z extends f {
1197
1204
  }
1198
1205
  render() {
1199
1206
  if (!this.widget || this.status !== "activated")
1200
- return c;
1207
+ return l;
1201
1208
  if (this.widget.renderStrategy === et.Trigger) {
1202
- const t = new x();
1209
+ const t = new E();
1203
1210
  return t.application = this.widget, t;
1204
1211
  }
1205
1212
  return this.widget.render();
@@ -1221,30 +1228,39 @@ it([
1221
1228
  it([
1222
1229
  L()
1223
1230
  ], z.prototype, "status", 2);
1224
- customElements.get("ace-trigger") || customElements.define("ace-trigger", x);
1231
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", E);
1225
1232
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Ct);
1226
1233
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", st);
1227
1234
  customElements.get("ace-widget") || customElements.define("ace-widget", z);
1228
- const Pt = Et(f);
1229
- class fe extends Pt {
1235
+ const Pt = Et($);
1236
+ class $e extends Pt {
1230
1237
  render() {
1231
- return C` <div class="widget-header">
1238
+ var s;
1239
+ const t = this.application.branding(), e = (s = t == null ? void 0 : t.graphics) == null ? void 0 : s.logotype;
1240
+ return y` <div class="widget-header">
1232
1241
  <!-- <telia-icon svg={aiRobot.svg} size="lg"></telia-icon> -->
1242
+ ${e ? y` <img src=${e} class="logotype" alt="" />` : l}
1243
+
1233
1244
  <div>
1234
1245
  <h1>${this.properties.header}</h1>
1235
1246
 
1236
- ${this.properties.tagline ? C`<p>${this.properties.tagline}</p>` : c}
1247
+ ${this.properties.tagline ? y`<p>${this.properties.tagline}</p>` : l}
1237
1248
  </div>
1238
1249
  </div>`;
1239
1250
  }
1240
1251
  }
1241
- fe.styles = [
1252
+ $e.styles = [
1242
1253
  Pt.styles || [],
1243
1254
  P`
1244
1255
  :host {
1245
1256
  --header-text-color: var(--text-on-primary-background);
1246
1257
  }
1247
1258
 
1259
+ img {
1260
+ max-width: 140px;
1261
+ max-height: 80%;
1262
+ }
1263
+
1248
1264
  .widget-header {
1249
1265
  background-color: transparent;
1250
1266
  color: var(--header-text-color);
@@ -1269,6 +1285,6 @@ fe.styles = [
1269
1285
  `
1270
1286
  ];
1271
1287
  export {
1272
- fe as WidgetHeader,
1273
- fe as default
1288
+ $e as WidgetHeader,
1289
+ $e as default
1274
1290
  };