@telia-ace/widget-components-copyright-flamingo 1.1.12 → 1.1.13

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.
@@ -1,3 +1,2 @@
1
- import { Container } from '@webprovisions/platform';
2
- export declare const CopyrightComponent: (container: Container) => Promise<void>;
3
- export default CopyrightComponent;
1
+ import { Application } from '@telia-ace/widget-core-flamingo';
2
+ export declare const CopyrightComponent: (app: Application) => Promise<void>;
@@ -0,0 +1,399 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */const j=globalThis,Q=j.ShadowRoot&&(j.ShadyCSS===void 0||j.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),S=(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)},Ot=(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=j.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;/**
6
+ * @license
7
+ * Copyright 2017 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ */const{is:Ht,defineProperty:Ut,getOwnPropertyDescriptor:zt,getOwnPropertyNames:kt,getOwnPropertySymbols:Nt,getPrototypeOf:Rt}=Object,m=globalThis,ct=m.trustedTypes,Dt=ct?ct.emptyScript:"",q=m.reactiveElementPolyfillSupport,M=(r,t)=>r,I={toAttribute(r,t){switch(t){case Boolean:r=r?Dt: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)=>!Ht(r,t),at={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:tt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),m.litPropertyMetadata??(m.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=at){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&&Ut(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=zt(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 a=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??at}static _$Ei(){if(this.hasOwnProperty(M("elementProperties")))return;const t=Rt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(M("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(M("properties"))){const e=this.properties,s=[...kt(e),...Nt(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 Ot(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),a=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]=a.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[M("elementProperties")]=new Map,E[M("finalized")]=new Map,q==null||q({ReactiveElement:E}),(m.reactiveElementVersions??(m.reactiveElementVersions=[])).push("2.0.1");/**
10
+ * @license
11
+ * Copyright 2017 Google LLC
12
+ * SPDX-License-Identifier: BSD-3-Clause
13
+ */const T=globalThis,V=T.trustedTypes,ht=V?V.createPolicy("lit-html",{createHTML:r=>r}):void 0,vt="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,mt="?"+v,Lt=`<${mt}>`,A=document,H=()=>A.createComment(""),U=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",Y=`[
14
+ \f\r]`,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lt=/-->/g,dt=/>/g,_=RegExp(`>|${Y}(?:([^\\s"'>=/]+)(${Y}*=${Y}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,yt=/^(?:script|style|textarea|title)$/i,jt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),z=jt(1),w=Symbol.for("lit-noChange"),l=Symbol.for("lit-nothing"),gt=new WeakMap,b=A.createTreeWalker(A,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 It=(r,t)=>{const e=r.length-1,s=[];let i,n=t===2?"<svg>":"",o=P;for(let a=0;a<e;a++){const c=r[a];let d,p,h=-1,g=0;for(;g<c.length&&(o.lastIndex=g,p=o.exec(c),p!==null);)g=o.lastIndex,o===P?p[1]==="!--"?o=lt:p[1]!==void 0?o=dt:p[2]!==void 0?(yt.test(p[2])&&(i=RegExp("</"+p[2],"g")),o=_):p[3]!==void 0&&(o=_):o===_?p[0]===">"?(o=i??P,h=-1):p[1]===void 0?h=-2:(h=o.lastIndex-p[2].length,d=p[1],o=p[3]===void 0?_:p[3]==='"'?ut:pt):o===ut||o===pt?o=_:o===lt||o===dt?o=P:(o=_,i=void 0);const $=o===_&&r[a+1].startsWith("/>")?" ":"";n+=o===P?c+Lt:h>=0?(s.push(d),c.slice(0,h)+vt+c.slice(h)+v+$):c+v+(h===-2?a:$)}return[bt(r,n+(r[e]||"<?>")+(t===2?"</svg>":"")),s]};class k{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const a=t.length-1,c=this.parts,[d,p]=It(t,e);if(this.el=k.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&&c.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(const h of i.getAttributeNames())if(h.endsWith(vt)){const g=p[o++],$=i.getAttribute(h).split(v),L=/([.?@])?(.*)/.exec(g);c.push({type:1,index:n,name:L[2],strings:$,ctor:L[1]==="."?Gt:L[1]==="?"?Wt:L[1]==="@"?Ft:W}),i.removeAttribute(h)}else h.startsWith(v)&&(c.push({type:6,index:n}),i.removeAttribute(h));if(yt.test(i.tagName)){const h=i.textContent.split(v),g=h.length-1;if(g>0){i.textContent=V?V.emptyScript:"";for(let $=0;$<g;$++)i.append(h[$],H()),b.nextNode(),c.push({type:2,index:++n});i.append(h[g],H())}}}else if(i.nodeType===8)if(i.data===mt)c.push({type:2,index:n});else{let h=-1;for(;(h=i.data.indexOf(v,h+1))!==-1;)c.push({type:7,index:n}),h+=v.length-1}n++}}static createElement(t,e){const s=A.createElement("template");return s.innerHTML=t,s}}function C(r,t,e=r,s){var o,a;if(t===w)return t;let i=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const n=U(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.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=C(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)??A).importNode(e,!0);b.currentNode=i;let n=b.nextNode(),o=0,a=0,c=s[0];for(;c!==void 0;){if(o===c.index){let d;c.type===2?d=new N(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new qt(n,this,t)),this._$AV.push(d),c=s[++a]}o!==(c==null?void 0:c.index)&&(n=b.nextNode(),o++)}return b.currentNode=A,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 N{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=C(this,t,e),U(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):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&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.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=k.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),a=o.u(this.options);o.p(e),this.$(a),this._$AH=o}}_$AC(t){let e=gt.get(t.strings);return e===void 0&&gt.set(t.strings,e=new k(t)),e}T(t){_t(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 N(this.k(H()),this.k(H()),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 W{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=C(this,t,e,0),o=!U(t)||t!==this._$AH&&t!==w,o&&(this._$AH=t);else{const a=t;let c,d;for(t=n[0],c=0;c<n.length-1;c++)d=C(this,a[s+c],e,c),d===w&&(d=this._$AH[c]),o||(o=!U(d)||d!==this._$AH[c]),d===l?t=l:t!==l&&(t+=(d??"")+n[c+1]),this._$AH[c]=d}o&&!i&&this.O(t)}O(t){t===l?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Gt extends W{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===l?void 0:t}}class Wt extends W{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==l)}}class Ft extends W{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=C(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 qt{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){C(this,t)}}const J=T.litHtmlPolyfillSupport;J==null||J(k,N),(T.litHtmlVersions??(T.litHtmlVersions=[])).push("3.0.2");const Yt=(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 N(t.insertBefore(H(),n),n,void 0,e??{})}return i._$AI(r),i};/**
16
+ * @license
17
+ * Copyright 2017 Google LLC
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=Yt(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 K=globalThis.litElementPolyfillSupport;K==null||K({LitElement:f});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");/**
20
+ * @license
21
+ * Copyright 2017 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */const Jt={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:tt},Kt=(r=Jt,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(a){const c=t.get.call(this);t.set.call(this,a),this.requestUpdate(o,c,r)},init(a){return a!==void 0&&this.C(o,void 0,r),a}}}if(s==="setter"){const{name:o}=e;return function(a){const c=this[o];t.call(this,a),this.requestUpdate(o,c,r)}}throw Error("Unsupported decorator location: "+s)};function u(r){return(t,e)=>typeof e=="object"?Kt(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
+ * @license
25
+ * Copyright 2017 Google LLC
26
+ * SPDX-License-Identifier: BSD-3-Clause
27
+ */function R(r){return u({...r,state:!0,attribute:!1})}/**
28
+ * @license
29
+ * Copyright 2017 Google LLC
30
+ * SPDX-License-Identifier: BSD-3-Clause
31
+ */const At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wt=r=>(...t)=>({_$litDirective$:r,values:t});class xt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}/**
32
+ * @license
33
+ * Copyright 2018 Google LLC
34
+ * SPDX-License-Identifier: BSD-3-Clause
35
+ */const Zt=wt(class extends xt{constructor(r){var t;if(super(r),r.type!==At.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 Qt=Object.defineProperty,Xt=Object.getOwnPropertyDescriptor,F=(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.removeFromDOM()}_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 l;const e=async o=>await Promise.resolve().then(()=>require("./index-6dd00f59.js")).then(c=>c[o]),{type:s,content:i}=t;switch(s){case"Telia":{const o=await e(i);return o?z`<telia-icon
36
+ class="trigger-icon"
37
+ svg=${o.svg}
38
+ size="lg"
39
+ ></telia-icon>`:l}default:return l}}render(){return z`<button
40
+ class=${Zt({trigger:!0,active:this.active,rendered:this.loaded})}
41
+ @click=${this._toggleActive}
42
+ >
43
+ ${this.icon}
44
+ <span class="trigger-close">
45
+ <svg
46
+ width="18"
47
+ height="9"
48
+ viewBox="0 0 18 9"
49
+ fill="none"
50
+ xmlns="http://www.w3.org/2000/svg"
51
+ >
52
+ <path
53
+ d="M9 9C8.81794 9.00045 8.63759 8.96634 8.46939 8.89965C8.3012 8.83295 8.14851 8.735 8.02015 8.61145L0.194523 1.12367C0.068294 0.99862 -0.00155266 0.831133 2.61958e-05 0.657285C0.00160506 0.483436 0.0744832 0.317136 0.202964 0.194202C0.331445 0.0712675 0.505249 0.00153576 0.686941 2.50649e-05C0.868634 -0.00148563 1.04368 0.0653456 1.17437 0.186125L9 7.6739L16.8256 0.186125C16.9563 0.0653456 17.1314 -0.00148563 17.3131 2.50649e-05C17.4948 0.00153576 17.6686 0.0712675 17.797 0.194202C17.9255 0.317136 17.9984 0.483436 18 0.657285C18.0016 0.831133 17.9317 0.99862 17.8055 1.12367L9.97985 8.61145C9.85149 8.735 9.6988 8.83295 9.53061 8.89965C9.36241 8.96634 9.18206 9.00045 9 9Z"
54
+ fill="white"
55
+ />
56
+ </svg>
57
+ </span>
58
+ <span class="trigger-loader">
59
+ <svg viewBox="25 25 50 50">
60
+ <circle
61
+ cx="50"
62
+ cy="50"
63
+ r="20"
64
+ fill="none"
65
+ stroke="#000"
66
+ stroke-width="2"
67
+ stroke-miterlimit="10"
68
+ />
69
+ </svg>
70
+ </span>
71
+ </button>`}}x.styles=[S`
72
+ :host {
73
+ --voca-rem-multiplier: 0.625;
74
+ display: block;
75
+ box-sizing: border-box;
76
+ }
77
+
78
+ .trigger {
79
+ position: fixed;
80
+ transform: scale(0);
81
+ box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
82
+ bottom: 20px;
83
+ right: 20px;
84
+ z-index: 5;
85
+ display: flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ border: none;
89
+ line-height: 55px;
90
+ height: 55px;
91
+ width: 55px;
92
+ border-radius: 55px;
93
+ cursor: pointer;
94
+ background-color: var(--trigger-bg, var(--primary-background));
95
+ font-family: Lato;
96
+ text-decoration: none;
97
+ border: 3px dashed transparent;
98
+ box-sizing: border-box;
99
+ transition: transform 200ms ease-out;
100
+ }
101
+ .trigger:hover {
102
+ transform: scale(1.1) !important;
103
+ }
104
+ .trigger.rendered {
105
+ transform: scale(1);
106
+ }
107
+ .trigger.active .trigger-icon {
108
+ opacity: 0;
109
+ transform: rotate(-180deg) scale(0);
110
+ }
111
+ .trigger.active .trigger-close {
112
+ opacity: 1;
113
+ transform: rotate(0deg) scale(1);
114
+ }
115
+
116
+ .trigger-icon {
117
+ display: inline-block;
118
+ line-height: inherit;
119
+ text-align: center;
120
+ opacity: 1;
121
+ transform: rotate(0deg) scale(1);
122
+ transition: opacity 200ms ease-out, transform 200ms ease-out;
123
+ color: var(--trigger-text-color, var(--text-on-primary-background));
124
+ }
125
+ .trigger-close {
126
+ opacity: 0;
127
+ transition: transform 200ms ease-out;
128
+ transform: rotate(180deg) scale(0);
129
+ position: absolute;
130
+ top: 0;
131
+ bottom: 0;
132
+ left: 0;
133
+ right: 0;
134
+ display: flex;
135
+ justify-content: center;
136
+ align-items: center;
137
+ fill: var(--trigger-text-color, var(--text-on-primary-background));
138
+ }
139
+ `];F([u({attribute:!1})],x.prototype,"application",2);F([R()],x.prototype,"active",2);F([R()],x.prototype,"loaded",2);F([R()],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=[S`
140
+ :host {
141
+ font-family: var(--font-family);
142
+ grid-column: span var(--width);
143
+ max-width: 100%;
144
+ overflow: hidden;
145
+ box-sizing: border-box;
146
+ display: block;
147
+ }
148
+ * {
149
+ box-sizing: border-box;
150
+ }
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 z`Non resolved component`}}St.styles=[S`
152
+ :host {
153
+ display: block;
154
+ }
155
+ `];/**
156
+ * @license
157
+ * Copyright 2020 Google LLC
158
+ * SPDX-License-Identifier: BSD-3-Clause
159
+ */const se=r=>r.strings===void 0;/**
160
+ * @license
161
+ * Copyright 2017 Google LLC
162
+ * SPDX-License-Identifier: BSD-3-Clause
163
+ */const O=(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),O(i,t);return!0},G=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)},Pt=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?(G(this),this._$AM=r,Pt(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++)O(s[n],!1),G(s[n]);else s!=null&&(O(s,!1),G(s));else O(this,r)}const ne=r=>{r.type==At.CHILD&&(r._$AP??(r._$AP=re),r._$AQ??(r._$AQ=ie))};class oe extends xt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),Pt(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&&(O(this,t),G(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(){}}/**
164
+ * @license
165
+ * Copyright 2020 Google LLC
166
+ * SPDX-License-Identifier: BSD-3-Clause
167
+ */const ce=()=>new ae;class ae{}const Z=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=Z.get(t);e===void 0&&(e=new WeakMap,Z.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=Z.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
+ * @license
169
+ * Copyright 2021 Google LLC
170
+ * 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=ce()}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"),z`<div class="widget-container" ${he(this.wrapperRef)}>
172
+ ${le(this.nodes,t=>t)}
173
+ </div>`}}st.styles=S`
174
+ :host {
175
+ --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
176
+ --spacing-xs: 0.2rem;
177
+ --spacing-sm: 0.5rem;
178
+ --spacing-md: 1rem;
179
+ --spacing-lg: 1.2rem;
180
+ --spacing-xl: 1.8rem;
181
+
182
+ --text-color: #222222;
183
+ --link-color: #990ae3;
184
+ --gray-color: #f3f3f8;
185
+ --gray-dark-color: #a6a6a6;
186
+
187
+ --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
188
+ --border-radius: var(--spacing-sm);
189
+ --border-radius-sm: var(--spacing-sm);
190
+ }
191
+ :host {
192
+ --voca-rem-multiplier: 0.625;
193
+ box-sizing: border-box;
194
+ display: block;
195
+ }
196
+
197
+ :host(.floating) {
198
+ position: fixed;
199
+ z-index: 6;
200
+ inset: auto 20px 95px auto;
201
+ max-height: calc(100vh - 120px);
202
+ width: 400px;
203
+ height: 700px;
204
+ }
205
+ :host(.floating) .widget-container {
206
+ box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
207
+ border-radius: 0.7rem;
208
+ }
209
+ :host(.inline) {
210
+ height: 100%;
211
+ position: fixed;
212
+ inset: 0 0 0 0;
213
+ }
214
+
215
+ * {
216
+ box-sizing: border-box;
217
+ }
218
+ .widget-container {
219
+ height: 100%;
220
+ background-color: var(--primary-background);
221
+ padding: 0 var(--spacing-sm);
222
+ }
223
+ .widget-container.expanded {
224
+ opacity: 1;
225
+ animation: slideUp 0.5s;
226
+ }
227
+ .widget-container.hidden {
228
+ opacity: 0;
229
+ animation: slideDown 0.5s;
230
+ }
231
+ @keyframes slideDown {
232
+ from {
233
+ transform: translateY(0);
234
+ opacity: 1;
235
+ }
236
+ to {
237
+ transform: translateY(100%);
238
+ opacity: 0;
239
+ }
240
+ }
241
+ @keyframes slideUp {
242
+ from {
243
+ transform: translateY(100%);
244
+ opacity: 0;
245
+ }
246
+ to {
247
+ transform: translateY(0);
248
+ opacity: 1;
249
+ }
250
+ }
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 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 x;return t.application=this.widget,t}return this.widget.render()}}D.styles=[S`
252
+ :host {
253
+ display: block;
254
+ }
255
+ `];it([u({attribute:!0})],D.prototype,"name",2);it([R()],D.prototype,"widget",2);it([R()],D.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",D);const Mt=Ct(f);class rt extends Mt{render(){return z` <div class="copyright">
256
+ <a
257
+ aria-label="Powered by Telia ACE"
258
+ href="https://ace-showcase.com"
259
+ target="_blank"
260
+ rel="noopener noreferrer"
261
+ >
262
+ <svg
263
+ version="1.1"
264
+ xmlns="http://www.w3.org/2000/svg"
265
+ xlink:href="http://www.w3.org/1999/xlink"
266
+ viewBox="0 0 1000 150"
267
+ class="compact"
268
+ >
269
+ <g>
270
+ <path
271
+ d="M107.5,47.9c5.3,0,9.3,1.4,12,4.1s4.1,6.5,4.1,11.4c0,4.9-1.4,8.7-4.1,11.5c-2.7,2.7-6.7,4.1-12,4h-16v21.5h-7V47.9H107.5z
272
+ M105.2,73.1c4,0,6.9-0.8,8.7-2.4c1.8-1.7,2.8-4.1,2.8-7.2c0-3.1-0.9-5.5-2.8-7.2c-1.8-1.6-4.7-2.5-8.7-2.5H91.5v19.3H105.2z"
273
+ />
274
+ <path
275
+ d="M130.8,63.9c1.1-3.3,2.6-6.2,4.7-8.8c2.1-2.5,4.7-4.6,7.9-6.1c3.1-1.5,6.8-2.3,11-2.3c4.2,0,7.8,0.8,11,2.3
276
+ c3.1,1.5,5.8,3.6,7.9,6.1c2.1,2.6,3.7,5.5,4.7,8.8c1.1,3.3,1.6,6.8,1.6,10.3c0,3.6-0.5,7-1.6,10.3c-1.1,3.3-2.6,6.2-4.7,8.8
277
+ c-2.1,2.6-4.7,4.6-7.9,6.1c-3.1,1.5-6.8,2.2-11,2.2c-4.2,0-7.8-0.7-11-2.2c-3.1-1.5-5.8-3.5-7.9-6.1c-2.1-2.5-3.7-5.5-4.7-8.8
278
+ c-1.1-3.3-1.6-6.8-1.6-10.3C129.2,70.6,129.8,67.2,130.8,63.9z M137.2,82c0.7,2.6,1.8,4.9,3.2,7c1.5,2.1,3.4,3.7,5.7,5
279
+ c2.3,1.3,5.1,1.9,8.2,1.9c3.2,0,5.9-0.6,8.2-1.9c2.3-1.2,4.2-2.9,5.7-5c1.5-2.1,2.5-4.4,3.2-7c0.7-2.6,1-5.2,1-7.8s-0.3-5.3-1-7.8
280
+ c-0.7-2.6-1.8-4.9-3.2-7s-3.4-3.7-5.7-5c-2.3-1.3-5.1-1.9-8.2-1.9c-3.2,0-5.9,0.6-8.2,1.9c-2.3,1.3-4.2,2.9-5.7,5s-2.6,4.4-3.2,7
281
+ c-0.7,2.6-1,5.2-1,7.8S136.6,79.5,137.2,82z"
282
+ />
283
+ <path
284
+ d="M228.2,100.5l-12-44.1h-0.1L204,100.5h-7.3l-13.5-52.5h7.1l10.3,43.7h0.1l11.8-43.7h7.6l11.6,43.7h0.1l10.7-43.7h7
285
+ l-14,52.5H228.2z"
286
+ />
287
+ <path
288
+ d="M292.5,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2h29.5v5.9h-36.5V47.9H292.5z"
289
+ />
290
+ <path
291
+ d="M325.8,47.9c5,0,8.9,1.2,11.7,3.7c2.8,2.5,4.2,5.8,4.2,10.1c0,3.2-0.7,6-2.2,8.4c-1.4,2.4-3.8,4-7,4.9v0.1
292
+ c1.5,0.3,2.8,0.8,3.7,1.5c1,0.7,1.7,1.5,2.3,2.5c0.6,1,1,2,1.3,3.2c0.3,1.2,0.5,2.4,0.6,3.7c0.1,1.3,0.2,2.6,0.2,3.9
293
+ c0,1.3,0.2,2.6,0.4,3.9c0.2,1.3,0.5,2.5,0.8,3.6c0.4,1.2,0.9,2.2,1.7,3.1h-7.8c-0.5-0.5-0.8-1.3-1-2.2c-0.2-0.9-0.3-2-0.3-3.1
294
+ c0-1.2-0.1-2.4-0.1-3.7c0-1.3-0.2-2.6-0.4-3.9c-0.2-1.3-0.4-2.5-0.7-3.6c-0.3-1.2-0.8-2.2-1.4-3c-0.6-0.9-1.5-1.5-2.5-2.1
295
+ c-1-0.5-2.4-0.8-4.1-0.8h-17.1v22.4h-7V47.9H325.8z M327.3,71.8c1.5-0.2,2.8-0.7,3.9-1.4c1.1-0.7,2-1.7,2.6-2.9
296
+ c0.7-1.2,1-2.8,1-4.7c0-2.6-0.7-4.8-2.2-6.5c-1.5-1.7-3.9-2.5-7.1-2.5h-17.4v18.3h14.6C324.3,72.2,325.8,72,327.3,71.8z"
297
+ />
298
+ <path
299
+ d="M387.8,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2H388v5.9h-36.5V47.9H387.8z"
300
+ />
301
+ <path
302
+ d="M414.5,47.9c8.1,0,14.3,2.1,18.7,6.2c4.4,4.1,6.5,10.4,6.5,18.8c0,4.4-0.5,8.3-1.5,11.7c-1,3.4-2.5,6.3-4.6,8.6
303
+ s-4.7,4.1-7.9,5.3c-3.2,1.2-7,1.8-11.3,1.8h-18V47.9H414.5z M415.1,94.6c0.8,0,1.8-0.1,2.9-0.2c1.2-0.1,2.4-0.4,3.8-0.9
304
+ c1.3-0.5,2.6-1.1,3.9-2c1.3-0.9,2.5-2.1,3.5-3.6c1-1.5,1.9-3.4,2.5-5.7c0.7-2.3,1-5,1-8.3c0-3.1-0.3-5.9-0.9-8.4
305
+ c-0.6-2.5-1.6-4.6-3-6.3c-1.4-1.7-3.2-3.1-5.4-4c-2.2-0.9-4.9-1.4-8.2-1.4h-11.8v40.8H415.1z"
306
+ />
307
+ <path
308
+ d="M487.8,47.9c1.1,0,2.3,0,3.6,0c1.3,0,2.6,0.1,3.9,0.2c1.3,0.1,2.5,0.3,3.6,0.6c1.1,0.2,2,0.6,2.8,1.1
309
+ c1.7,1,3.2,2.5,4.4,4.3c1.2,1.8,1.8,4,1.8,6.7c0,2.8-0.7,5.2-2,7.2c-1.3,2-3.3,3.5-5.8,4.5v0.1c3.2,0.7,5.7,2.2,7.4,4.4
310
+ c1.7,2.3,2.6,5,2.6,8.2c0,1.9-0.3,3.8-1,5.6c-0.7,1.8-1.7,3.4-3.1,4.8c-1.3,1.4-3,2.5-5,3.4c-2,0.9-4.3,1.3-6.9,1.3h-25.4V47.9
311
+ H487.8z M489.7,70.5c4,0,6.8-0.7,8.6-2.1c1.7-1.4,2.6-3.5,2.6-6.3c0-1.9-0.3-3.3-0.9-4.4c-0.6-1.1-1.4-1.9-2.4-2.5
312
+ c-1-0.6-2.2-1-3.6-1.1c-1.3-0.2-2.8-0.3-4.3-0.3h-14v16.7H489.7z M493.2,94.6c3.1,0,5.5-0.8,7.2-2.5c1.7-1.7,2.6-4,2.6-6.9
313
+ c0-1.7-0.3-3.1-1-4.3c-0.6-1.1-1.5-2-2.5-2.7c-1.1-0.7-2.3-1.1-3.6-1.4c-1.4-0.3-2.8-0.4-4.3-0.4h-16v18.2H493.2z"
314
+ />
315
+ <path
316
+ d="M540.8,100.5h-7V79l-20.3-31h8.3l15.7,25l15.4-25h7.9l-20.1,31V100.5z"
317
+ />
318
+ </g>
319
+ <g class="telia">
320
+ <path
321
+ fill="#9924DF"
322
+ d="M597.5,59.6h-10.1c-2.6,0-5.1-4.5-5.1-5.9c0-2.4,3.8-4.8,7.4-4.8h30.1c1.9,0,2.9,0.9,2.9,2.6c0,4-2.6,8-5.1,8
323
+ h-9.8v33.2c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V59.6z"
324
+ />
325
+ <path
326
+ fill="#9924DF"
327
+ d="M633.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
328
+ c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
329
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H633.6z"
330
+ />
331
+ <path
332
+ fill="#9924DF"
333
+ d="M675.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v39h19.1
334
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H675.6z"
335
+ />
336
+ <path
337
+ fill="#9924DF"
338
+ d="M708.4,53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v41.7c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V53.3z"
339
+ />
340
+ <path
341
+ fill="#9924DF"
342
+ d="M756.9,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3l15.1-40.9
343
+ c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
344
+ c-1.3,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L756.9,90.2z M753.9,81.4l-7.4-21.3L739,81.4H753.9z"
345
+ />
346
+ <path
347
+ fill="#9924DF"
348
+ d="M820.5,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3L803,52.8
349
+ c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
350
+ c-1.2,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L820.5,90.2z M817.4,81.4l-7.4-21.3l-7.5,21.3H817.4z"
351
+ />
352
+ <path
353
+ fill="#9924DF"
354
+ d="M860.4,101.6c-9.6,0-17.8-5.4-22.1-13.4c-2.1-4-3.2-8.3-3.2-12.9c0-10.2,5.5-19.1,13.7-23.8
355
+ c4-2.4,8.5-3.5,13.1-3.5c5.1,0,9.7,1.3,13.8,3.8c0.7,0.4,1.1,1.2,1.1,2.2c0,3.6-2.4,7.4-4.6,7.4c-0.5,0-1.1-0.1-1.8-0.5
356
+ c-3-1.5-5.9-2.3-8.7-2.3c-6.2,0-11.3,3.2-13.8,8.1c-1.3,2.5-2,5.2-2,8.2c0,6.3,3,11.5,7.7,14.1c2.3,1.4,4.9,2.1,7.7,2.1
357
+ c3.2,0,6.4-0.7,9.6-2.1c1.7-0.7,3-1.1,4-1.1c1.8,0,2.6,0.9,2.6,2.6c0,2.6-1.2,5.3-2.9,6.8C871.4,99.7,865.6,101.6,860.4,101.6z"
358
+ />
359
+ <path
360
+ fill="#9924DF"
361
+ d="M889.3,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
362
+ c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
363
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z"
364
+ />
365
+ </g>
366
+ </svg>
367
+ </a>
368
+ </div>`}}rt.styles=[Mt.styles||[],S`
369
+ :host {
370
+ --copyright-text-color: var(--text-on-primary-background);
371
+ }
372
+
373
+ .copyright {
374
+ padding: var(--spacing-md);
375
+ box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
376
+ z-index: 6;
377
+ background-color: transparent;
378
+ }
379
+
380
+ a {
381
+ display: flex;
382
+ justify-content: center;
383
+ align-items: center;
384
+ outline: none;
385
+ }
386
+
387
+ svg {
388
+ opacity: 0.8;
389
+ width: 145px;
390
+ }
391
+
392
+ svg.compact {
393
+ width: 130px;
394
+ }
395
+
396
+ path {
397
+ fill: var(--copyright-text-color);
398
+ }
399
+ `];exports.Copyright=rt;exports.default=rt;
package/copyright.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from 'lit';
2
- declare const WidgetElement: (new (...args: any[]) => import("libs/runtime/src/mixins/widget-component.mixin").WidgetComponentInterface) & typeof LitElement;
3
- export declare class CopyrightComponent extends WidgetElement {
2
+ declare const WidgetElement: (new (...args: any[]) => import("@telia-ace/widget-core-flamingo").WidgetComponentType) & typeof LitElement;
3
+ export declare class Copyright extends WidgetElement {
4
4
  static styles: import("lit").CSSResultGroup[];
5
5
  render(): import("lit").TemplateResult<1>;
6
6
  }
7
- export default CopyrightComponent;
7
+ export default Copyright;
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import CopyrightComponent from './copyright-component';
1
+ import { CopyrightComponent } from './copyright-component';
2
2
  export default CopyrightComponent;
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index-4c45498d.js");module.exports=e.CopyrightComponent;
1
+ "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-ddec0863.js")))};module.exports=o;
package/index.mjs CHANGED
@@ -1,4 +1,6 @@
1
- import { C as f } from "./index-5b2b77e5.mjs";
1
+ const t = async (o) => {
2
+ o.registerComponent("copyright", import("./copyright-37a74589.mjs"));
3
+ };
2
4
  export {
3
- f as default
5
+ t as default
4
6
  };
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-copyright-flamingo",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "dependencies": {
5
- "@telia-ace/widget-runtime-flamingo": "1.1.12",
6
- "@webprovisions/platform": "^1.1.3",
7
- "lit": "^3.0.2"
5
+ "lit": "^3.0.2",
6
+ "@telia-ace/widget-core-flamingo": "1.1.13"
8
7
  },
9
8
  "main": "./index.js",
10
9
  "module": "./index.mjs",