@telia-ace/widget-components-copyright-flamingo 1.1.113-rc.5 → 1.1.113

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,20 +1,20 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var dt=function(s,t){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])},dt(s,t)};function z(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");dt(s,t);function e(){this.constructor=s}s.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function ut(s){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&s[t],i=0;if(e)return e.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&i>=s.length&&(s=void 0),{value:s&&s[i++],done:!s}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function pt(s,t){var e=typeof Symbol=="function"&&s[Symbol.iterator];if(!e)return s;var i=e.call(s),r,n=[],o;try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)n.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return n}function ft(s,t,e){if(e||arguments.length===2)for(var i=0,r=t.length,n;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return s.concat(n||Array.prototype.slice.call(t))}function b(s){return typeof s=="function"}function ne(s){var t=function(i){Error.call(i),i.stack=new Error().stack},e=s(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var st=ne(function(s){return function(e){s(this),this.message=e?e.length+` errors occurred during unsubscription:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var dt=function(s,t){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])},dt(s,t)};function D(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");dt(s,t);function e(){this.constructor=s}s.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function ut(s){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&s[t],i=0;if(e)return e.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&i>=s.length&&(s=void 0),{value:s&&s[i++],done:!s}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function pt(s,t){var e=typeof Symbol=="function"&&s[Symbol.iterator];if(!e)return s;var i=e.call(s),r,n=[],o;try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)n.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return n}function ft(s,t,e){if(e||arguments.length===2)for(var i=0,r=t.length,n;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return s.concat(n||Array.prototype.slice.call(t))}function b(s){return typeof s=="function"}function ne(s){var t=function(i){Error.call(i),i.stack=new Error().stack},e=s(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var st=ne(function(s){return function(e){s(this),this.message=e?e.length+` errors occurred during unsubscription:
2
2
  `+e.map(function(i,r){return r+1+") "+i.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=e}});function gt(s,t){if(s){var e=s.indexOf(t);0<=e&&s.splice(e,1)}}var et=function(){function s(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return s.prototype.unsubscribe=function(){var t,e,i,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=ut(o),c=a.next();!c.done;c=a.next()){var l=c.value;l.remove(this)}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);var h=this.initialTeardown;if(b(h))try{h()}catch(v){n=v instanceof st?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=ut(d),f=p.next();!f.done;f=p.next()){var k=f.value;try{Ht(k)}catch(v){n=n??[],v instanceof st?n=ft(ft([],pt(n)),pt(v.errors)):n.push(v)}}}catch(v){i={error:v}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(i)throw i.error}}}if(n)throw new st(n)}},s.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Ht(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},s.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},s.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},s.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&gt(e,t)},s.prototype.remove=function(t){var e=this._finalizers;e&&gt(e,t),t instanceof s&&t._removeParent(this)},s.EMPTY=function(){var t=new s;return t.closed=!0,t}(),s}(),oe=et.EMPTY;function ae(s){return s instanceof et||s&&"closed"in s&&b(s.remove)&&b(s.add)&&b(s.unsubscribe)}function Ht(s){b(s)?s():s.unsubscribe()}var Ce={Promise:void 0},Ee={setTimeout:function(s,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,ft([s,t],pt(e)))},clearTimeout:function(s){return clearTimeout(s)},delegate:void 0};function Se(s){Ee.setTimeout(function(){throw s})}function Lt(){}function W(s){s()}var ce=function(s){z(t,s);function t(e){var i=s.call(this)||this;return i.isStopped=!1,e?(i.destination=e,ae(e)&&e.add(i)):i.destination=ke,i}return t.create=function(e,i,r){return new vt(e,i,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,s.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(et),Pe=function(){function s(t){this.partialObserver=t}return s.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){Z(i)}},s.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){Z(i)}else Z(t)},s.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Z(e)}},s}(),vt=function(s){z(t,s);function t(e,i,r){var n=s.call(this)||this,o;return b(e)||!e?o={next:e??void 0,error:i??void 0,complete:r??void 0}:o=e,n.destination=new Pe(o),n}return t}(ce);function Z(s){Se(s)}function Oe(s){throw s}var ke={closed:!0,next:Lt,error:Oe,complete:Lt},Te=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Me(s){return s}function He(s){return s.length===0?Me:s.length===1?s[0]:function(e){return s.reduce(function(i,r){return r(i)},e)}}var Ut=function(){function s(t){t&&(this._subscribe=t)}return s.prototype.lift=function(t){var e=new s;return e.source=this,e.operator=t,e},s.prototype.subscribe=function(t,e,i){var r=this,n=Ue(t)?t:new vt(t,e,i);return W(function(){var o=r,a=o.operator,c=o.source;n.add(a?a.call(n,c):c?r._subscribe(n):r._trySubscribe(n))}),n},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(t,e){var i=this;return e=Rt(e),new e(function(r,n){var o=new vt({next:function(a){try{t(a)}catch(c){n(c),o.unsubscribe()}},error:n,complete:r});i.subscribe(o)})},s.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},s.prototype[Te]=function(){return this},s.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return He(t)(this)},s.prototype.toPromise=function(t){var e=this;return t=Rt(t),new t(function(i,r){var n;e.subscribe(function(o){return n=o},function(o){return r(o)},function(){return i(n)})})},s.create=function(t){return new s(t)},s}();function Rt(s){var t;return(t=s??Ce.Promise)!==null&&t!==void 0?t:Promise}function Le(s){return s&&b(s.next)&&b(s.error)&&b(s.complete)}function Ue(s){return s&&s instanceof ce||Le(s)&&ae(s)}var Re=ne(function(s){return function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),bt=function(s){z(t,s);function t(){var e=s.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new jt(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Re},t.prototype.next=function(e){var i=this;W(function(){var r,n;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var o=ut(i.currentObservers),a=o.next();!a.done;a=o.next()){var c=a.value;c.next(e)}}catch(l){r={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var r=i.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),s.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,r=this,n=r.hasError,o=r.isStopped,a=r.observers;return n||o?oe:(this.currentObservers=null,a.push(e),new et(function(){i.currentObservers=null,gt(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,r=i.hasError,n=i.thrownError,o=i.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new Ut;return e.source=this,e},t.create=function(e,i){return new jt(e,i)},t}(Ut),jt=function(s){z(t,s);function t(e,i){var r=s.call(this)||this;return r.destination=e,r.source=i,r}return t.prototype.next=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.next)===null||r===void 0||r.call(i,e)},t.prototype.error=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.error)===null||r===void 0||r.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,r;return(r=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&r!==void 0?r:oe},t}(bt),le=function(s){z(t,s);function t(e){var i=s.call(this)||this;return i._value=e,i}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var i=s.prototype._subscribe.call(this,e);return!i.closed&&e.next(this._value),i},t.prototype.getValue=function(){var e=this,i=e.hasError,r=e.thrownError,n=e._value;if(i)throw r;return this._throwIfClosed(),n},t.prototype.next=function(e){s.prototype.next.call(this,this._value=e)},t}(bt);/**
3
+ `):"",this.name="UnsubscriptionError",this.errors=e}});function gt(s,t){if(s){var e=s.indexOf(t);0<=e&&s.splice(e,1)}}var et=function(){function s(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return s.prototype.unsubscribe=function(){var t,e,i,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=ut(o),c=a.next();!c.done;c=a.next()){var h=c.value;h.remove(this)}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(b(l))try{l()}catch(v){n=v instanceof st?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=ut(d),f=p.next();!f.done;f=p.next()){var k=f.value;try{Ht(k)}catch(v){n=n??[],v instanceof st?n=ft(ft([],pt(n)),pt(v.errors)):n.push(v)}}}catch(v){i={error:v}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(i)throw i.error}}}if(n)throw new st(n)}},s.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Ht(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},s.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},s.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},s.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&gt(e,t)},s.prototype.remove=function(t){var e=this._finalizers;e&&gt(e,t),t instanceof s&&t._removeParent(this)},s.EMPTY=function(){var t=new s;return t.closed=!0,t}(),s}(),oe=et.EMPTY;function ae(s){return s instanceof et||s&&"closed"in s&&b(s.remove)&&b(s.add)&&b(s.unsubscribe)}function Ht(s){b(s)?s():s.unsubscribe()}var Ce={Promise:void 0},Ee={setTimeout:function(s,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,ft([s,t],pt(e)))},clearTimeout:function(s){return clearTimeout(s)},delegate:void 0};function Se(s){Ee.setTimeout(function(){throw s})}function Lt(){}function W(s){s()}var ce=function(s){D(t,s);function t(e){var i=s.call(this)||this;return i.isStopped=!1,e?(i.destination=e,ae(e)&&e.add(i)):i.destination=ke,i}return t.create=function(e,i,r){return new vt(e,i,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,s.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(et),Pe=function(){function s(t){this.partialObserver=t}return s.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){Z(i)}},s.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){Z(i)}else Z(t)},s.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Z(e)}},s}(),vt=function(s){D(t,s);function t(e,i,r){var n=s.call(this)||this,o;return b(e)||!e?o={next:e??void 0,error:i??void 0,complete:r??void 0}:o=e,n.destination=new Pe(o),n}return t}(ce);function Z(s){Se(s)}function Oe(s){throw s}var ke={closed:!0,next:Lt,error:Oe,complete:Lt},Te=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Me(s){return s}function He(s){return s.length===0?Me:s.length===1?s[0]:function(e){return s.reduce(function(i,r){return r(i)},e)}}var Ut=function(){function s(t){t&&(this._subscribe=t)}return s.prototype.lift=function(t){var e=new s;return e.source=this,e.operator=t,e},s.prototype.subscribe=function(t,e,i){var r=this,n=Ue(t)?t:new vt(t,e,i);return W(function(){var o=r,a=o.operator,c=o.source;n.add(a?a.call(n,c):c?r._subscribe(n):r._trySubscribe(n))}),n},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(t,e){var i=this;return e=Rt(e),new e(function(r,n){var o=new vt({next:function(a){try{t(a)}catch(c){n(c),o.unsubscribe()}},error:n,complete:r});i.subscribe(o)})},s.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},s.prototype[Te]=function(){return this},s.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return He(t)(this)},s.prototype.toPromise=function(t){var e=this;return t=Rt(t),new t(function(i,r){var n;e.subscribe(function(o){return n=o},function(o){return r(o)},function(){return i(n)})})},s.create=function(t){return new s(t)},s}();function Rt(s){var t;return(t=s??Ce.Promise)!==null&&t!==void 0?t:Promise}function Le(s){return s&&b(s.next)&&b(s.error)&&b(s.complete)}function Ue(s){return s&&s instanceof ce||Le(s)&&ae(s)}var Re=ne(function(s){return function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),bt=function(s){D(t,s);function t(){var e=s.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new jt(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Re},t.prototype.next=function(e){var i=this;W(function(){var r,n;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var o=ut(i.currentObservers),a=o.next();!a.done;a=o.next()){var c=a.value;c.next(e)}}catch(h){r={error:h}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var r=i.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),s.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,r=this,n=r.hasError,o=r.isStopped,a=r.observers;return n||o?oe:(this.currentObservers=null,a.push(e),new et(function(){i.currentObservers=null,gt(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,r=i.hasError,n=i.thrownError,o=i.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new Ut;return e.source=this,e},t.create=function(e,i){return new jt(e,i)},t}(Ut),jt=function(s){D(t,s);function t(e,i){var r=s.call(this)||this;return r.destination=e,r.source=i,r}return t.prototype.next=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.next)===null||r===void 0||r.call(i,e)},t.prototype.error=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.error)===null||r===void 0||r.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,r;return(r=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&r!==void 0?r:oe},t}(bt),he=function(s){D(t,s);function t(e){var i=s.call(this)||this;return i._value=e,i}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var i=s.prototype._subscribe.call(this,e);return!i.closed&&e.next(this._value),i},t.prototype.getValue=function(){var e=this,i=e.hasError,r=e.thrownError,n=e._value;if(i)throw r;return this._throwIfClosed(),n},t.prototype.next=function(e){s.prototype.next.call(this,this._value=e)},t}(bt);/**
4
4
  * @license
5
5
  * Copyright 2019 Google LLC
6
6
  * SPDX-License-Identifier: BSD-3-Clause
7
- */const q=globalThis,$t=q.ShadowRoot&&(q.ShadyCSS===void 0||q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_t=Symbol(),Nt=new WeakMap;let he=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==_t)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($t&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=Nt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&Nt.set(e,t))}return t}toString(){return this.cssText}};const je=s=>new he(typeof s=="string"?s:s+"",void 0,_t),O=(s,...t)=>{const e=s.length===1?s[0]:t.reduce((i,r,n)=>i+(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.")})(r)+s[n+1],s[0]);return new he(e,s,_t)},Ne=(s,t)=>{if($t)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),r=q.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=e.cssText,s.appendChild(i)}},It=$t?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return je(e)})(s):s;/**
7
+ */const q=globalThis,$t=q.ShadowRoot&&(q.ShadyCSS===void 0||q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_t=Symbol(),Nt=new WeakMap;let le=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==_t)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($t&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=Nt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&Nt.set(e,t))}return t}toString(){return this.cssText}};const je=s=>new le(typeof s=="string"?s:s+"",void 0,_t),O=(s,...t)=>{const e=s.length===1?s[0]:t.reduce((i,r,n)=>i+(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.")})(r)+s[n+1],s[0]);return new le(e,s,_t)},Ne=(s,t)=>{if($t)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),r=q.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=e.cssText,s.appendChild(i)}},It=$t?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return je(e)})(s):s;/**
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */const{is:Ie,defineProperty:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:Fe,getOwnPropertySymbols:ze,getPrototypeOf:De}=Object,w=globalThis,Bt=w.trustedTypes,Ye=Bt?Bt.emptyScript:"",rt=w.reactiveElementPolyfillSupport,R=(s,t)=>s,K={toAttribute(s,t){switch(t){case Boolean:s=s?Ye:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},wt=(s,t)=>!Ie(s,t),Vt={attribute:!0,type:String,converter:K,reflect:!1,hasChanged:wt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),w.litPropertyMetadata??(w.litPropertyMetadata=new WeakMap);let T=class 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=Vt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);r!==void 0&&Be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:n}=Ve(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return r==null?void 0:r.call(this)},set(o){const a=r==null?void 0:r.call(this);n.call(this,o),this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Vt}static _$Ei(){if(this.hasOwnProperty(R("elementProperties")))return;const t=De(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(R("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(R("properties"))){const e=this.properties,i=[...Fe(e),...ze(e)];for(const r of i)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,r]of e)this.elementProperties.set(i,r)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const r=this._$Eu(e,i);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const r of i)e.unshift(It(r))}else t!==void 0&&e.push(It(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i: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._$ES=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._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ne(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var n;const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(r!==void 0&&i.reflect===!0){const o=(((n=i.converter)==null?void 0:n.toAttribute)!==void 0?i.converter:K).toAttribute(e,i.type);this._$Em=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){var n;const i=this.constructor,r=i._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const o=i.getPropertyOptions(r),a=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:K;this._$Em=r,this[r]=a.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,i){if(t!==void 0){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??wt)(this[t],e))return;this.P(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[n,o]of r)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)}),this.update(e)):this._$EU()}catch(r){throw t=!1,this._$EU(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var r;return(r=i.hostUpdated)==null?void 0:r.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[R("elementProperties")]=new Map,T[R("finalized")]=new Map,rt==null||rt({ReactiveElement:T}),(w.reactiveElementVersions??(w.reactiveElementVersions=[])).push("2.0.4");/**
11
+ */const{is:Ie,defineProperty:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:ze,getOwnPropertySymbols:De,getPrototypeOf:Fe}=Object,w=globalThis,Bt=w.trustedTypes,Ye=Bt?Bt.emptyScript:"",rt=w.reactiveElementPolyfillSupport,R=(s,t)=>s,K={toAttribute(s,t){switch(t){case Boolean:s=s?Ye:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},wt=(s,t)=>!Ie(s,t),Vt={attribute:!0,type:String,converter:K,reflect:!1,hasChanged:wt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),w.litPropertyMetadata??(w.litPropertyMetadata=new WeakMap);let T=class 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=Vt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);r!==void 0&&Be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:n}=Ve(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return r==null?void 0:r.call(this)},set(o){const a=r==null?void 0:r.call(this);n.call(this,o),this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Vt}static _$Ei(){if(this.hasOwnProperty(R("elementProperties")))return;const t=Fe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(R("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(R("properties"))){const e=this.properties,i=[...ze(e),...De(e)];for(const r of i)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,r]of e)this.elementProperties.set(i,r)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const r=this._$Eu(e,i);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const r of i)e.unshift(It(r))}else t!==void 0&&e.push(It(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i: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._$ES=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._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ne(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var n;const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(r!==void 0&&i.reflect===!0){const o=(((n=i.converter)==null?void 0:n.toAttribute)!==void 0?i.converter:K).toAttribute(e,i.type);this._$Em=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){var n;const i=this.constructor,r=i._$Eh.get(t);if(r!==void 0&&this._$Em!==r){const o=i.getPropertyOptions(r),a=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:K;this._$Em=r,this[r]=a.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,i){if(t!==void 0){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??wt)(this[t],e))return;this.P(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[n,o]of r)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)}),this.update(e)):this._$EU()}catch(r){throw t=!1,this._$EU(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var r;return(r=i.hostUpdated)==null?void 0:r.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}};T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[R("elementProperties")]=new Map,T[R("finalized")]=new Map,rt==null||rt({ReactiveElement:T}),(w.reactiveElementVersions??(w.reactiveElementVersions=[])).push("2.0.4");/**
12
12
  * @license
13
13
  * Copyright 2017 Google LLC
14
14
  * SPDX-License-Identifier: BSD-3-Clause
15
- */const j=globalThis,G=j.trustedTypes,Ft=G?G.createPolicy("lit-html",{createHTML:s=>s}):void 0,de="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,ue="?"+_,Ze=`<${ue}>`,S=document,I=()=>S.createComment(""),B=s=>s===null||typeof s!="object"&&typeof s!="function",xt=Array.isArray,We=s=>xt(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",nt=`[
16
- \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zt=/-->/g,Dt=/>/g,x=RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
17
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Yt=/'/g,Zt=/"/g,pe=/^(?:script|style|textarea|title)$/i,fe=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),C=fe(1),qe=fe(2),P=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Wt=new WeakMap,E=S.createTreeWalker(S,129);function ge(s,t){if(!xt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(t):t}const Ke=(s,t)=>{const e=s.length-1,i=[];let r,n=t===2?"<svg>":t===3?"<math>":"",o=U;for(let a=0;a<e;a++){const c=s[a];let l,h,d=-1,p=0;for(;p<c.length&&(o.lastIndex=p,h=o.exec(c),h!==null);)p=o.lastIndex,o===U?h[1]==="!--"?o=zt:h[1]!==void 0?o=Dt:h[2]!==void 0?(pe.test(h[2])&&(r=RegExp("</"+h[2],"g")),o=x):h[3]!==void 0&&(o=x):o===x?h[0]===">"?(o=r??U,d=-1):h[1]===void 0?d=-2:(d=o.lastIndex-h[2].length,l=h[1],o=h[3]===void 0?x:h[3]==='"'?Zt:Yt):o===Zt||o===Yt?o=x:o===zt||o===Dt?o=U:(o=x,r=void 0);const f=o===x&&s[a+1].startsWith("/>")?" ":"";n+=o===U?c+Ze:d>=0?(i.push(l),c.slice(0,d)+de+c.slice(d)+_+f):c+_+(d===-2?a:f)}return[ge(s,n+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};let mt=class ve{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let n=0,o=0;const a=t.length-1,c=this.parts,[l,h]=Ke(t,e);if(this.el=ve.createElement(l,i),E.currentNode=this.el.content,e===2||e===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(r=E.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const d of r.getAttributeNames())if(d.endsWith(de)){const p=h[o++],f=r.getAttribute(d).split(_),k=/([.?@])?(.*)/.exec(p);c.push({type:1,index:n,name:k[2],strings:f,ctor:k[1]==="."?Xe:k[1]==="?"?Je:k[1]==="@"?Qe:it}),r.removeAttribute(d)}else d.startsWith(_)&&(c.push({type:6,index:n}),r.removeAttribute(d));if(pe.test(r.tagName)){const d=r.textContent.split(_),p=d.length-1;if(p>0){r.textContent=G?G.emptyScript:"";for(let f=0;f<p;f++)r.append(d[f],I()),E.nextNode(),c.push({type:2,index:++n});r.append(d[p],I())}}}else if(r.nodeType===8)if(r.data===ue)c.push({type:2,index:n});else{let d=-1;for(;(d=r.data.indexOf(_,d+1))!==-1;)c.push({type:7,index:n}),d+=_.length-1}n++}}static createElement(t,e){const i=S.createElement("template");return i.innerHTML=t,i}};function M(s,t,e=s,i){var o,a;if(t===P)return t;let r=i!==void 0?(o=e._$Co)==null?void 0:o[i]:e._$Cl;const n=B(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==n&&((a=r==null?void 0:r._$AO)==null||a.call(r,!1),n===void 0?r=void 0:(r=new n(s),r._$AT(s,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=r:e._$Cl=r),r!==void 0&&(t=M(s,r._$AS(s,t.values),r,i)),t}class Ge{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:i}=this._$AD,r=((t==null?void 0:t.creationScope)??S).importNode(e,!0);E.currentNode=r;let n=E.nextNode(),o=0,a=0,c=i[0];for(;c!==void 0;){if(o===c.index){let l;c.type===2?l=new D(n,n.nextSibling,this,t):c.type===1?l=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(l=new ti(n,this,t)),this._$AV.push(l),c=i[++a]}o!==(c==null?void 0:c.index)&&(n=E.nextNode(),o++)}return E.currentNode=S,r}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=(r==null?void 0:r.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=M(this,t,e),B(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==P&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):We(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=mt.createElement(ge(i.h,i.h[0]),this.options)),i);if(((n=this._$AH)==null?void 0:n._$AD)===r)this._$AH.p(e);else{const o=new Ge(r,this),a=o.u(this.options);o.p(e),this.T(a),this._$AH=o}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new mt(t)),e}k(t){xt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of t)r===e.length?e.push(i=new D(this.O(I()),this.O(I()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class it{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=u}_$AI(t,e=this,i,r){const n=this.strings;let o=!1;if(n===void 0)t=M(this,t,e,0),o=!B(t)||t!==this._$AH&&t!==P,o&&(this._$AH=t);else{const a=t;let c,l;for(t=n[0],c=0;c<n.length-1;c++)l=M(this,a[i+c],e,c),l===P&&(l=this._$AH[c]),o||(o=!B(l)||l!==this._$AH[c]),l===u?t=u:t!==u&&(t+=(l??"")+n[c+1]),this._$AH[c]=l}o&&!r&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Xe extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}}class Je extends it{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}}class Qe extends it{constructor(t,e,i,r,n){super(t,e,i,r,n),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??u)===P)return;const i=this._$AH,r=t===u&&i!==u||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==u&&(i===u||r);r&&this.element.removeEventListener(this.name,this,i),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 ti{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const ot=j.litHtmlPolyfillSupport;ot==null||ot(mt,D),(j.litHtmlVersions??(j.litHtmlVersions=[])).push("3.2.1");const ei=(s,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const n=(e==null?void 0:e.renderBefore)??null;i._$litPart$=r=new D(t.insertBefore(I(),n),n,void 0,e??{})}return r._$AI(s),r};/**
15
+ */const j=globalThis,G=j.trustedTypes,zt=G?G.createPolicy("lit-html",{createHTML:s=>s}):void 0,de="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,ue="?"+_,Ze=`<${ue}>`,S=document,I=()=>S.createComment(""),B=s=>s===null||typeof s!="object"&&typeof s!="function",xt=Array.isArray,We=s=>xt(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",nt=`[
16
+ \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ft=/>/g,x=RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
17
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Yt=/'/g,Zt=/"/g,pe=/^(?:script|style|textarea|title)$/i,fe=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),C=fe(1),qe=fe(2),P=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Wt=new WeakMap,E=S.createTreeWalker(S,129);function ge(s,t){if(!xt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}const Ke=(s,t)=>{const e=s.length-1,i=[];let r,n=t===2?"<svg>":t===3?"<math>":"",o=U;for(let a=0;a<e;a++){const c=s[a];let h,l,d=-1,p=0;for(;p<c.length&&(o.lastIndex=p,l=o.exec(c),l!==null);)p=o.lastIndex,o===U?l[1]==="!--"?o=Dt:l[1]!==void 0?o=Ft:l[2]!==void 0?(pe.test(l[2])&&(r=RegExp("</"+l[2],"g")),o=x):l[3]!==void 0&&(o=x):o===x?l[0]===">"?(o=r??U,d=-1):l[1]===void 0?d=-2:(d=o.lastIndex-l[2].length,h=l[1],o=l[3]===void 0?x:l[3]==='"'?Zt:Yt):o===Zt||o===Yt?o=x:o===Dt||o===Ft?o=U:(o=x,r=void 0);const f=o===x&&s[a+1].startsWith("/>")?" ":"";n+=o===U?c+Ze:d>=0?(i.push(h),c.slice(0,d)+de+c.slice(d)+_+f):c+_+(d===-2?a:f)}return[ge(s,n+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};let mt=class ve{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let n=0,o=0;const a=t.length-1,c=this.parts,[h,l]=Ke(t,e);if(this.el=ve.createElement(h,i),E.currentNode=this.el.content,e===2||e===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(r=E.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const d of r.getAttributeNames())if(d.endsWith(de)){const p=l[o++],f=r.getAttribute(d).split(_),k=/([.?@])?(.*)/.exec(p);c.push({type:1,index:n,name:k[2],strings:f,ctor:k[1]==="."?Xe:k[1]==="?"?Je:k[1]==="@"?Qe:it}),r.removeAttribute(d)}else d.startsWith(_)&&(c.push({type:6,index:n}),r.removeAttribute(d));if(pe.test(r.tagName)){const d=r.textContent.split(_),p=d.length-1;if(p>0){r.textContent=G?G.emptyScript:"";for(let f=0;f<p;f++)r.append(d[f],I()),E.nextNode(),c.push({type:2,index:++n});r.append(d[p],I())}}}else if(r.nodeType===8)if(r.data===ue)c.push({type:2,index:n});else{let d=-1;for(;(d=r.data.indexOf(_,d+1))!==-1;)c.push({type:7,index:n}),d+=_.length-1}n++}}static createElement(t,e){const i=S.createElement("template");return i.innerHTML=t,i}};function M(s,t,e=s,i){var o,a;if(t===P)return t;let r=i!==void 0?(o=e._$Co)==null?void 0:o[i]:e._$Cl;const n=B(t)?void 0:t._$litDirective$;return(r==null?void 0:r.constructor)!==n&&((a=r==null?void 0:r._$AO)==null||a.call(r,!1),n===void 0?r=void 0:(r=new n(s),r._$AT(s,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=r:e._$Cl=r),r!==void 0&&(t=M(s,r._$AS(s,t.values),r,i)),t}class Ge{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:i}=this._$AD,r=((t==null?void 0:t.creationScope)??S).importNode(e,!0);E.currentNode=r;let n=E.nextNode(),o=0,a=0,c=i[0];for(;c!==void 0;){if(o===c.index){let h;c.type===2?h=new F(n,n.nextSibling,this,t):c.type===1?h=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(h=new ti(n,this,t)),this._$AV.push(h),c=i[++a]}o!==(c==null?void 0:c.index)&&(n=E.nextNode(),o++)}return E.currentNode=S,r}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class F{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=(r==null?void 0:r.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=M(this,t,e),B(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==P&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):We(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=mt.createElement(ge(i.h,i.h[0]),this.options)),i);if(((n=this._$AH)==null?void 0:n._$AD)===r)this._$AH.p(e);else{const o=new Ge(r,this),a=o.u(this.options);o.p(e),this.T(a),this._$AH=o}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new mt(t)),e}k(t){xt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of t)r===e.length?e.push(i=new F(this.O(I()),this.O(I()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class it{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=u}_$AI(t,e=this,i,r){const n=this.strings;let o=!1;if(n===void 0)t=M(this,t,e,0),o=!B(t)||t!==this._$AH&&t!==P,o&&(this._$AH=t);else{const a=t;let c,h;for(t=n[0],c=0;c<n.length-1;c++)h=M(this,a[i+c],e,c),h===P&&(h=this._$AH[c]),o||(o=!B(h)||h!==this._$AH[c]),h===u?t=u:t!==u&&(t+=(h??"")+n[c+1]),this._$AH[c]=h}o&&!r&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Xe extends it{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}}class Je extends it{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}}class Qe extends it{constructor(t,e,i,r,n){super(t,e,i,r,n),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??u)===P)return;const i=this._$AH,r=t===u&&i!==u||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==u&&(i===u||r);r&&this.element.removeEventListener(this.name,this,i),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 ti{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const ot=j.litHtmlPolyfillSupport;ot==null||ot(mt,F),(j.litHtmlVersions??(j.litHtmlVersions=[])).push("3.2.1");const ei=(s,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const n=(e==null?void 0:e.renderBefore)??null;i._$litPart$=r=new F(t.insertBefore(I(),n),n,void 0,e??{})}return r._$AI(s),r};/**
18
18
  * @license
19
19
  * Copyright 2017 Google LLC
20
20
  * SPDX-License-Identifier: BSD-3-Clause
@@ -54,17 +54,17 @@
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
- */const N=(s,t)=>{var i;const e=s._$AN;if(e===void 0)return!1;for(const r of e)(i=r._$AO)==null||i.call(r,t,!1),N(r,t);return!0},J=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},ye=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),li(t)}};function ai(s){this._$AN!==void 0?(J(this),this._$AM=s,ye(this)):this._$AM=s}function ci(s,t=!1,e=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let n=e;n<i.length;n++)N(i[n],!1),J(i[n]);else i!=null&&(N(i,!1),J(i));else N(this,s)}const li=s=>{s.type==At.CHILD&&(s._$AP??(s._$AP=ci),s._$AQ??(s._$AQ=ai))};class be extends me{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),ye(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,r;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(r=this.disconnected)==null||r.call(this)),e&&(N(this,t),J(this))}setValue(t){if(oi(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(){}}const hi=new WeakMap;let qt=0;const ct=new Map,Kt=new WeakSet,Gt=()=>new Promise(s=>requestAnimationFrame(s)),di=[{transform:"translateX(100%) scale(0)",opacity:0}],Xt=(s,t)=>{const e=s-t;return e===0?void 0:e},Jt=(s,t)=>{const e=s/t;return e===1?void 0:e},lt={left:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateX(${e}px)`}},top:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateY(${e}px)`}},width:(s,t)=>{let e;t===0&&(t=1,e={width:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(s,t)=>{let e;t===0&&(t=1,e={height:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},ui={duration:333,easing:"ease-in-out"},pi=["left","top","width","height","opacity","color","background"],Qt=new WeakMap;class fi extends be{constructor(t){if(super(t),this.t=!1,this.i=null,this.o=null,this.h=!0,this.shouldLog=!1,t.type===At.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var t;(t=this.resolveFinished)==null||t.call(this),this.finished=new Promise(e=>{this.l=e})}async resolveFinished(){var t;(t=this.l)==null||t.call(this),this.l=void 0}render(t){return u}getController(){return hi.get(this.u)}isDisabled(){var t;return this.options.disabled||((t=this.getController())==null?void 0:t.disabled)}update(t,[e]){var r;const i=this.u===void 0;return i&&(this.u=(r=t.options)==null?void 0:r.host,this.u.addController(this),this.u.updateComplete.then(n=>this.t=!0),this.element=t.element,Qt.set(this.element,this)),this.optionsOrCallback=e,(i||typeof e!="function")&&this.p(e),this.render(e)}p(t){t=t??{};const e=this.getController();e!==void 0&&((t={...e.defaultOptions,...t}).keyframeOptions={...e.defaultOptions.keyframeOptions,...t.keyframeOptions}),t.properties??(t.properties=pi),this.options=t}m(){const t={},e=this.element.getBoundingClientRect(),i=getComputedStyle(this.element);return this.options.properties.forEach(r=>{const n=e[r]??(lt[r]?void 0:i[r]),o=Number(n);t[r]=isNaN(o)?n+"":o}),t}v(){let t,e=!0;return this.options.guard&&(t=this.options.guard(),e=((i,r)=>{if(Array.isArray(i)){if(Array.isArray(r)&&r.length===i.length&&i.every((n,o)=>n===r[o]))return!1}else if(r===i)return!1;return!0})(t,this._)),this.h=this.t&&!this.isDisabled()&&!this.isAnimating()&&e&&this.element.isConnected,this.h&&(this._=Array.isArray(t)?Array.from(t):t),this.h}hostUpdate(){typeof this.optionsOrCallback=="function"&&this.p(this.optionsOrCallback()),this.v()&&(this.A=this.m(),this.i=this.i??this.element.parentNode,this.o=this.element.nextSibling)}async hostUpdated(){if(!this.h||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await Gt;const e=this.O(),i=this.j(this.options.keyframeOptions,e),r=this.m();if(this.A!==void 0){const{from:n,to:o}=this.N(this.A,r,e);this.log("measured",[this.A,r,n,o]),t=this.calculateKeyframes(n,o)}else{const n=ct.get(this.options.inId);if(n){ct.delete(this.options.inId);const{from:o,to:a}=this.N(n,r,e);t=this.calculateKeyframes(o,a),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,qt++,t.forEach(c=>c.zIndex=qt)}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,i)}resetStyles(){this.P!==void 0&&(this.element.setAttribute("style",this.P??""),this.P=void 0)}commitStyles(){var t,e;this.P=this.element.getAttribute("style"),(t=this.webAnimation)==null||t.commitStyles(),(e=this.webAnimation)==null||e.cancel()}reconnected(){}async disconnected(){var e;if(!this.h||(this.options.id!==void 0&&ct.set(this.options.id,this.A),this.options.out===void 0))return;if(this.prepare(),await Gt(),(e=this.i)==null?void 0:e.isConnected){const i=this.o&&this.o.parentNode===this.i?this.o:null;if(this.i.insertBefore(this.element,i),this.options.stabilizeOut){const r=this.m();this.log("stabilizing out");const n=this.A.left-r.left,o=this.A.top-r.top;getComputedStyle(this.element).position!=="static"||n===0&&o===0||(this.element.style.position="relative"),n!==0&&(this.element.style.left=n+"px"),o!==0&&(this.element.style.top=o+"px")}}const t=this.j(this.options.keyframeOptions);await this.animate(this.options.out,t),this.element.remove()}prepare(){this.createFinished()}start(){var t,e;(e=(t=this.options).onStart)==null||e.call(t,this)}didFinish(t){var e,i;t&&((i=(e=this.options).onComplete)==null||i.call(e,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}O(){const t=[];for(let e=this.element.parentNode;e;e=e==null?void 0:e.parentNode){const i=Qt.get(e);i&&!i.isDisabled()&&i&&t.push(i)}return t}get isHostRendered(){const t=Kt.has(this.u);return t||this.u.updateComplete.then(()=>{Kt.add(this.u)}),t}j(t,e=this.O()){const i={...ui};return e.forEach(r=>Object.assign(i,r.options.keyframeOptions)),Object.assign(i,t),i}N(t,e,i){t={...t},e={...e};const r=i.map(a=>a.animatingProperties).filter(a=>a!==void 0);let n=1,o=1;return r.length>0&&(r.forEach(a=>{a.width&&(n/=a.width),a.height&&(o/=a.height)}),t.left!==void 0&&e.left!==void 0&&(t.left=n*t.left,e.left=n*e.left),t.top!==void 0&&e.top!==void 0&&(t.top=o*t.top,e.top=o*e.top)),{from:t,to:e}}calculateKeyframes(t,e,i=!1){const r={},n={};let o=!1;const a={};for(const c in e){const l=t[c],h=e[c];if(c in lt){const d=lt[c];if(l===void 0||h===void 0)continue;const p=d(l,h);p.transform!==void 0&&(a[c]=p.value,o=!0,r.transform=`${r.transform??""} ${p.transform}`,p.overrideFrom!==void 0&&Object.assign(r,p.overrideFrom))}else l!==h&&l!==void 0&&h!==void 0&&(o=!0,r[c]=l,n[c]=h)}return r.transformOrigin=n.transformOrigin=i?"center center":"top left",this.animatingProperties=a,o?[r,n]:void 0}async animate(t,e=this.options.keyframeOptions){this.start(),this.frames=t;let i=!1;if(!this.isAnimating()&&!this.isDisabled()&&(this.options.onFrames&&(this.frames=t=this.options.onFrames(this),this.log("modified frames",t)),t!==void 0)){this.log("animate",[t,e]),i=!0,this.webAnimation=this.element.animate(t,e);const r=this.getController();r==null||r.add(this);try{await this.webAnimation.finished}catch{}r==null||r.remove(this)}return this.didFinish(i),i}isAnimating(){var t,e;return((t=this.webAnimation)==null?void 0:t.playState)==="running"||((e=this.webAnimation)==null?void 0:e.pending)}log(t,e){this.shouldLog&&!this.isDisabled()&&console.log(t,this.options.id,e)}}const gi=Ct(fi),vi={name:"question",svg:'<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>'};/**
57
+ */const N=(s,t)=>{var i;const e=s._$AN;if(e===void 0)return!1;for(const r of e)(i=r._$AO)==null||i.call(r,t,!1),N(r,t);return!0},J=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},ye=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),hi(t)}};function ai(s){this._$AN!==void 0?(J(this),this._$AM=s,ye(this)):this._$AM=s}function ci(s,t=!1,e=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let n=e;n<i.length;n++)N(i[n],!1),J(i[n]);else i!=null&&(N(i,!1),J(i));else N(this,s)}const hi=s=>{s.type==At.CHILD&&(s._$AP??(s._$AP=ci),s._$AQ??(s._$AQ=ai))};class be extends me{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),ye(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,r;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(r=this.disconnected)==null||r.call(this)),e&&(N(this,t),J(this))}setValue(t){if(oi(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(){}}const li=new WeakMap;let qt=0;const ct=new Map,Kt=new WeakSet,Gt=()=>new Promise(s=>requestAnimationFrame(s)),di=[{transform:"translateX(100%) scale(0)",opacity:0}],Xt=(s,t)=>{const e=s-t;return e===0?void 0:e},Jt=(s,t)=>{const e=s/t;return e===1?void 0:e},ht={left:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateX(${e}px)`}},top:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateY(${e}px)`}},width:(s,t)=>{let e;t===0&&(t=1,e={width:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(s,t)=>{let e;t===0&&(t=1,e={height:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},ui={duration:333,easing:"ease-in-out"},pi=["left","top","width","height","opacity","color","background"],Qt=new WeakMap;class fi extends be{constructor(t){if(super(t),this.t=!1,this.i=null,this.o=null,this.h=!0,this.shouldLog=!1,t.type===At.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var t;(t=this.resolveFinished)==null||t.call(this),this.finished=new Promise(e=>{this.l=e})}async resolveFinished(){var t;(t=this.l)==null||t.call(this),this.l=void 0}render(t){return u}getController(){return li.get(this.u)}isDisabled(){var t;return this.options.disabled||((t=this.getController())==null?void 0:t.disabled)}update(t,[e]){var r;const i=this.u===void 0;return i&&(this.u=(r=t.options)==null?void 0:r.host,this.u.addController(this),this.u.updateComplete.then(n=>this.t=!0),this.element=t.element,Qt.set(this.element,this)),this.optionsOrCallback=e,(i||typeof e!="function")&&this.p(e),this.render(e)}p(t){t=t??{};const e=this.getController();e!==void 0&&((t={...e.defaultOptions,...t}).keyframeOptions={...e.defaultOptions.keyframeOptions,...t.keyframeOptions}),t.properties??(t.properties=pi),this.options=t}m(){const t={},e=this.element.getBoundingClientRect(),i=getComputedStyle(this.element);return this.options.properties.forEach(r=>{const n=e[r]??(ht[r]?void 0:i[r]),o=Number(n);t[r]=isNaN(o)?n+"":o}),t}v(){let t,e=!0;return this.options.guard&&(t=this.options.guard(),e=((i,r)=>{if(Array.isArray(i)){if(Array.isArray(r)&&r.length===i.length&&i.every((n,o)=>n===r[o]))return!1}else if(r===i)return!1;return!0})(t,this._)),this.h=this.t&&!this.isDisabled()&&!this.isAnimating()&&e&&this.element.isConnected,this.h&&(this._=Array.isArray(t)?Array.from(t):t),this.h}hostUpdate(){typeof this.optionsOrCallback=="function"&&this.p(this.optionsOrCallback()),this.v()&&(this.A=this.m(),this.i=this.i??this.element.parentNode,this.o=this.element.nextSibling)}async hostUpdated(){if(!this.h||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await Gt;const e=this.O(),i=this.j(this.options.keyframeOptions,e),r=this.m();if(this.A!==void 0){const{from:n,to:o}=this.N(this.A,r,e);this.log("measured",[this.A,r,n,o]),t=this.calculateKeyframes(n,o)}else{const n=ct.get(this.options.inId);if(n){ct.delete(this.options.inId);const{from:o,to:a}=this.N(n,r,e);t=this.calculateKeyframes(o,a),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,qt++,t.forEach(c=>c.zIndex=qt)}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,i)}resetStyles(){this.P!==void 0&&(this.element.setAttribute("style",this.P??""),this.P=void 0)}commitStyles(){var t,e;this.P=this.element.getAttribute("style"),(t=this.webAnimation)==null||t.commitStyles(),(e=this.webAnimation)==null||e.cancel()}reconnected(){}async disconnected(){var e;if(!this.h||(this.options.id!==void 0&&ct.set(this.options.id,this.A),this.options.out===void 0))return;if(this.prepare(),await Gt(),(e=this.i)==null?void 0:e.isConnected){const i=this.o&&this.o.parentNode===this.i?this.o:null;if(this.i.insertBefore(this.element,i),this.options.stabilizeOut){const r=this.m();this.log("stabilizing out");const n=this.A.left-r.left,o=this.A.top-r.top;getComputedStyle(this.element).position!=="static"||n===0&&o===0||(this.element.style.position="relative"),n!==0&&(this.element.style.left=n+"px"),o!==0&&(this.element.style.top=o+"px")}}const t=this.j(this.options.keyframeOptions);await this.animate(this.options.out,t),this.element.remove()}prepare(){this.createFinished()}start(){var t,e;(e=(t=this.options).onStart)==null||e.call(t,this)}didFinish(t){var e,i;t&&((i=(e=this.options).onComplete)==null||i.call(e,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}O(){const t=[];for(let e=this.element.parentNode;e;e=e==null?void 0:e.parentNode){const i=Qt.get(e);i&&!i.isDisabled()&&i&&t.push(i)}return t}get isHostRendered(){const t=Kt.has(this.u);return t||this.u.updateComplete.then(()=>{Kt.add(this.u)}),t}j(t,e=this.O()){const i={...ui};return e.forEach(r=>Object.assign(i,r.options.keyframeOptions)),Object.assign(i,t),i}N(t,e,i){t={...t},e={...e};const r=i.map(a=>a.animatingProperties).filter(a=>a!==void 0);let n=1,o=1;return r.length>0&&(r.forEach(a=>{a.width&&(n/=a.width),a.height&&(o/=a.height)}),t.left!==void 0&&e.left!==void 0&&(t.left=n*t.left,e.left=n*e.left),t.top!==void 0&&e.top!==void 0&&(t.top=o*t.top,e.top=o*e.top)),{from:t,to:e}}calculateKeyframes(t,e,i=!1){const r={},n={};let o=!1;const a={};for(const c in e){const h=t[c],l=e[c];if(c in ht){const d=ht[c];if(h===void 0||l===void 0)continue;const p=d(h,l);p.transform!==void 0&&(a[c]=p.value,o=!0,r.transform=`${r.transform??""} ${p.transform}`,p.overrideFrom!==void 0&&Object.assign(r,p.overrideFrom))}else h!==l&&h!==void 0&&l!==void 0&&(o=!0,r[c]=h,n[c]=l)}return r.transformOrigin=n.transformOrigin=i?"center center":"top left",this.animatingProperties=a,o?[r,n]:void 0}async animate(t,e=this.options.keyframeOptions){this.start(),this.frames=t;let i=!1;if(!this.isAnimating()&&!this.isDisabled()&&(this.options.onFrames&&(this.frames=t=this.options.onFrames(this),this.log("modified frames",t)),t!==void 0)){this.log("animate",[t,e]),i=!0,this.webAnimation=this.element.animate(t,e);const r=this.getController();r==null||r.add(this);try{await this.webAnimation.finished}catch{}r==null||r.remove(this)}return this.didFinish(i),i}isAnimating(){var t,e;return((t=this.webAnimation)==null?void 0:t.playState)==="running"||((e=this.webAnimation)==null?void 0:e.pending)}log(t,e){this.shouldLog&&!this.isDisabled()&&console.log(t,this.options.id,e)}}const gi=Ct(fi),vi={name:"question",svg:'<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>'};/**
58
58
  * @license
59
59
  * Copyright 2018 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const te=Ct(class extends me{constructor(s){var t;if(super(s),s.type!==At.ATTRIBUTE||s.name!=="class"||((t=s.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(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){var i,r;if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in t)t[n]&&!((i=this.nt)!=null&&i.has(n))&&this.st.add(n);return this.render(t)}const e=s.element.classList;for(const n of this.st)n in t||(e.remove(n),this.st.delete(n));for(const n in t){const o=!!t[n];o===this.st.has(n)||(r=this.nt)!=null&&r.has(n)||(o?(e.add(n),this.st.add(n)):(e.remove(n),this.st.delete(n)))}return P}}),y=(s,t,e)=>{s&&e.style.setProperty(t,s)},$e=(s,t)=>{var e,i,r,n,o,a,c,l,h;y((e=s.colors)==null?void 0:e.primaryBackground,"--primary-background",t),y((i=s.colors)==null?void 0:i.textOnPrimaryBackground,"--text-on-primary-background",t),y((r=s.colors)==null?void 0:r.secondaryBackground,"--secondary-background",t),y((n=s.colors)==null?void 0:n.textOnSecondaryBackground,"--text-on-secondary-background",t),y((o=s.colors)==null?void 0:o.interactiveDestructiveBackground,"--destructive-color",t),y((a=s.colors)==null?void 0:a.interactiveTextOnDestructiveBackground,"--text-on-destructive-color",t),y((c=s.colors)==null?void 0:c.interactivePrimaryBackground,"--interactive-primary-background",t),y((l=s.colors)==null?void 0:l.interactiveTextOnPrimaryBackground,"--interactive-text-on-primary-background",t),y((h=s.colors)==null?void 0:h.focusColor,"--focus-color",t)};/**
61
+ */const te=Ct(class extends me{constructor(s){var t;if(super(s),s.type!==At.ATTRIBUTE||s.name!=="class"||((t=s.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(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){var i,r;if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in t)t[n]&&!((i=this.nt)!=null&&i.has(n))&&this.st.add(n);return this.render(t)}const e=s.element.classList;for(const n of this.st)n in t||(e.remove(n),this.st.delete(n));for(const n in t){const o=!!t[n];o===this.st.has(n)||(r=this.nt)!=null&&r.has(n)||(o?(e.add(n),this.st.add(n)):(e.remove(n),this.st.delete(n)))}return P}}),y=(s,t,e)=>{s&&e.style.setProperty(t,s)},$e=(s,t)=>{var e,i,r,n,o,a,c,h,l;y((e=s.colors)==null?void 0:e.primaryBackground,"--primary-background",t),y((i=s.colors)==null?void 0:i.textOnPrimaryBackground,"--text-on-primary-background",t),y((r=s.colors)==null?void 0:r.secondaryBackground,"--secondary-background",t),y((n=s.colors)==null?void 0:n.textOnSecondaryBackground,"--text-on-secondary-background",t),y((o=s.colors)==null?void 0:o.interactiveDestructiveBackground,"--destructive-color",t),y((a=s.colors)==null?void 0:a.interactiveTextOnDestructiveBackground,"--text-on-destructive-color",t),y((c=s.colors)==null?void 0:c.interactivePrimaryBackground,"--interactive-primary-background",t),y((h=s.colors)==null?void 0:h.interactiveTextOnPrimaryBackground,"--interactive-text-on-primary-background",t),y((l=s.colors)==null?void 0:l.focusColor,"--focus-color",t)};/**
62
62
  * @license
63
63
  * Copyright 2020 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
- */const _e=()=>new mi;class mi{}const ht=new WeakMap,we=Ct(class extends be{render(s){return u}update(s,[t]){var i;const e=t!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=t,this.ht=(i=s.options)==null?void 0:i.host,this.rt(this.ct=s.element)),u}rt(s){if(this.isConnected||(s=void 0),typeof this.Y=="function"){const t=this.ht??globalThis;let e=ht.get(t);e===void 0&&(e=new WeakMap,ht.set(t,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,s),s!==void 0&&this.Y.call(this.ht,s)}else this.Y.value=s}get lt(){var s,t;return typeof this.Y=="function"?(s=ht.get(this.ht??globalThis))==null?void 0:s.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var yi=Object.defineProperty,Y=(s,t,e,i)=>{for(var r=void 0,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=o(t,e,r)||r);return r&&yi(t,e,r),r};const Pt=class Pt extends m{constructor(){super(...arguments),this.active=!1,this.triggerVisible=!0,this.loaded=!1,this.containerRef=_e(),this.widgetActive$=new le(!1),this.componentIsDestroyed$=new bt}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding()}disconnectedCallback(){super.disconnectedCallback(),this.componentIsDestroyed$.next(),this.componentIsDestroyed$.complete()}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.notify("widget-set-active",{widgetId:this.application.id,active:!0}),this.widgetActive$.next(!0),this.hideTrigger()):(this.application.hide(),this.notify("widget-set-active",{widgetId:this.application.id,active:!1}),this.widgetActive$.next(!1),this.showTrigger())}notify(t,e={}){window!=null&&window.parent&&window.parent.postMessage({type:t,data:e},"*")}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&$e(this.application.settings.branding,this)}async _renderSymbol(){var a,c,l;const t=(a=this.application)==null?void 0:a.branding(),e=(c=t==null?void 0:t.graphics)==null?void 0:c.trigger;if(e)return C` <img src=${e} class="trigger-icon" alt="" /> `;const i=(l=this.application)==null?void 0:l.triggerIcon;if(!i)return u;const r=async h=>vi,{type:n,content:o}=i;switch(n){case"Telia":{const h=await r();return h?C`<telia-icon
65
+ */const _e=()=>new mi;class mi{}const lt=new WeakMap,we=Ct(class extends be{render(s){return u}update(s,[t]){var i;const e=t!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=t,this.ht=(i=s.options)==null?void 0:i.host,this.rt(this.ct=s.element)),u}rt(s){if(this.isConnected||(s=void 0),typeof this.Y=="function"){const t=this.ht??globalThis;let e=lt.get(t);e===void 0&&(e=new WeakMap,lt.set(t,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,s),s!==void 0&&this.Y.call(this.ht,s)}else this.Y.value=s}get lt(){var s,t;return typeof this.Y=="function"?(s=lt.get(this.ht??globalThis))==null?void 0:s.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var yi=Object.defineProperty,Y=(s,t,e,i)=>{for(var r=void 0,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=o(t,e,r)||r);return r&&yi(t,e,r),r};const Pt=class Pt extends m{constructor(){super(...arguments),this.active=!1,this.triggerVisible=!0,this.loaded=!1,this.containerRef=_e(),this.widgetActive$=new he(!1),this.componentIsDestroyed$=new bt}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding()}disconnectedCallback(){super.disconnectedCallback(),this.componentIsDestroyed$.next(),this.componentIsDestroyed$.complete()}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.notify("widget-set-active",{widgetId:this.application.id,active:!0}),this.widgetActive$.next(!0),this.hideTrigger()):(this.application.hide(),this.notify("widget-set-active",{widgetId:this.application.id,active:!1}),this.widgetActive$.next(!1),this.showTrigger())}notify(t,e={}){window!=null&&window.parent&&window.parent.postMessage({type:t,data:e},"*")}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&$e(this.application.settings.branding,this)}async _renderSymbol(){var a,c,h;const t=(a=this.application)==null?void 0:a.branding(),e=(c=t==null?void 0:t.graphics)==null?void 0:c.trigger;if(e)return C` <img src=${e} class="trigger-icon" alt="" /> `;const i=(h=this.application)==null?void 0:h.triggerIcon;if(!i)return u;const r=async l=>vi,{type:n,content:o}=i;switch(n){case"Telia":{const l=await r();return l?C`<telia-icon
66
66
  class="trigger-icon"
67
- svg=${h.svg}
67
+ svg=${l.svg}
68
68
  size="lg"
69
69
  ></telia-icon>`:u}default:return u}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,i,r;return C`<div
70
70
  class=${te({"trigger-container":!0,hidden:!this.triggerVisible})}
@@ -280,11 +280,11 @@
280
280
  * @license
281
281
  * Copyright 2021 Google LLC
282
282
  * SPDX-License-Identifier: BSD-3-Clause
283
- */let xi=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}};class ee extends wi{constructor(t,e,i){var r,n;super(e.context!==void 0?e.initialValue:i),this.onContextRequest=o=>{if(o.context!==this.context)return;const a=o.contextTarget??o.composedPath()[0];a!==this.host&&(o.stopPropagation(),this.addCallback(o.callback,a,o.subscribe))},this.onProviderRequest=o=>{if(o.context!==this.context||(o.contextTarget??o.composedPath()[0])===this.host)return;const a=new Set;for(const[c,{consumerHost:l}]of this.subscriptions)a.has(c)||(a.add(c),l.dispatchEvent(new _i(this.context,l,c,!0)));o.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(n=(r=this.host).addController)==null||n.call(r,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new xi(this.context,this.host))}}/**
283
+ */let xi=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}};class ee extends wi{constructor(t,e,i){var r,n;super(e.context!==void 0?e.initialValue:i),this.onContextRequest=o=>{if(o.context!==this.context)return;const a=o.contextTarget??o.composedPath()[0];a!==this.host&&(o.stopPropagation(),this.addCallback(o.callback,a,o.subscribe))},this.onProviderRequest=o=>{if(o.context!==this.context||(o.contextTarget??o.composedPath()[0])===this.host)return;const a=new Set;for(const[c,{consumerHost:h}]of this.subscriptions)a.has(c)||(a.add(c),h.dispatchEvent(new _i(this.context,h,c,!0)));o.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(n=(r=this.host).addController)==null||n.call(r,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new xi(this.context,this.host))}}/**
284
284
  * @license
285
285
  * Copyright 2017 Google LLC
286
286
  * SPDX-License-Identifier: BSD-3-Clause
287
- */function Ai({context:s}){return(t,e)=>{const i=new WeakMap;if(typeof e=="object")return e.addInitializer(function(){i.set(this,new ee(this,{context:s}))}),{get(){return t.get.call(this)},set(r){var n;return(n=i.get(this))==null||n.setValue(r),t.set.call(this,r)},init(r){var n;return(n=i.get(this))==null||n.setValue(r),r}};{t.constructor.addInitializer(o=>{i.set(o,new ee(o,{context:s}))});const r=Object.getOwnPropertyDescriptor(t,e);let n;if(r===void 0){const o=new WeakMap;n={get(){return o.get(this)},set(a){i.get(this).setValue(a),o.set(this,a)},configurable:!0,enumerable:!0}}else{const o=r.set;n={...r,set(a){i.get(this).setValue(a),o==null||o.call(this,a)}}}return void Object.defineProperty(t,e,n)}}}var Ci=Object.defineProperty,Ae=(s,t,e,i)=>{for(var r=void 0,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=o(t,e,r)||r);return r&&Ci(t,e,r),r};const Ei="application",kt=class kt extends m{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=_e(),this.fullscreen=!1,this.isReady=new le(!1)}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&$e(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([i,r])=>{e.style.setProperty(`--${i}`,r)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){var i,r;const t=this.application.settings.components.conversation;return((r=(i=t==null?void 0:t.properties)==null?void 0:i.chat)==null?void 0:r.isThirdPartyWidget)?this.renderRoot.host.classList.add("third-party"):this.application.renderStrategy===V.Trigger&&(this.renderRoot.host.classList.add("floating"),this.application.anchor==="BottomLeft"?this.renderRoot.host.classList.add("bottom-left"):this.application.anchor==="BottomRight"&&this.renderRoot.host.classList.add("bottom-right")),this.application.fullscreen&&this.renderRoot.host.classList.add("fullscreen"),window.self!==window.top&&this.renderRoot.host.classList.add("embedded"),C`<div class="widget-container" ${we(this.wrapperRef)}>
287
+ */function Ai({context:s}){return(t,e)=>{const i=new WeakMap;if(typeof e=="object")return e.addInitializer(function(){i.set(this,new ee(this,{context:s}))}),{get(){return t.get.call(this)},set(r){var n;return(n=i.get(this))==null||n.setValue(r),t.set.call(this,r)},init(r){var n;return(n=i.get(this))==null||n.setValue(r),r}};{t.constructor.addInitializer(o=>{i.set(o,new ee(o,{context:s}))});const r=Object.getOwnPropertyDescriptor(t,e);let n;if(r===void 0){const o=new WeakMap;n={get(){return o.get(this)},set(a){i.get(this).setValue(a),o.set(this,a)},configurable:!0,enumerable:!0}}else{const o=r.set;n={...r,set(a){i.get(this).setValue(a),o==null||o.call(this,a)}}}return void Object.defineProperty(t,e,n)}}}var Ci=Object.defineProperty,Ae=(s,t,e,i)=>{for(var r=void 0,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=o(t,e,r)||r);return r&&Ci(t,e,r),r};const Ei="application",kt=class kt extends m{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=_e(),this.fullscreen=!1,this.isReady=new he(!1)}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&$e(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([i,r])=>{e.style.setProperty(`--${i}`,r)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){var i,r;const t=this.application.settings.components.conversation;return((r=(i=t==null?void 0:t.properties)==null?void 0:i.chat)==null?void 0:r.isThirdPartyWidget)?this.renderRoot.host.classList.add("third-party"):this.application.renderStrategy===V.Trigger&&(this.renderRoot.host.classList.add("floating"),this.application.anchor==="BottomLeft"?this.renderRoot.host.classList.add("bottom-left"):this.application.anchor==="BottomRight"&&this.renderRoot.host.classList.add("bottom-right")),this.application.fullscreen&&this.renderRoot.host.classList.add("fullscreen"),window.self!==window.top&&this.renderRoot.host.classList.add("embedded"),C`<div class="widget-container" ${we(this.wrapperRef)}>
288
288
  ${$i(this.nodes,n=>n)}
289
289
  </div>`}};kt.styles=O`
290
290
  :host {
@@ -302,20 +302,7 @@
302
302
  --gray-color: #f3f3f8;
303
303
  --white-color: #fff;
304
304
  --gray-dark-color: #a6a6a6;
305
-
306
- --text-weak: #00000070;
307
- --text-medium: #0000009E;
308
- --text-default: #000000CC
309
- --text-weak-negative: #FFFFFF5E;
310
- --text-medium-negative: #FFFFFFA8;
311
- --text-default-negative: #FFFFFFF2;
312
-
313
- --border-color-weak: #00000029;
314
- --border-color-medium: #00000054;
315
- --border-color-strong: #0000008a;
316
- --border-color-weak-negative: #ffffff29;
317
- --border-color-medium-negative: #ffffff54;
318
- --border-color-strong-negative: #ffffff8a;
305
+ --black-border-color: #00000054;
319
306
 
320
307
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
321
308
  --border-radius: var(--spacing-sm);
@@ -451,11 +438,11 @@
451
438
  :host(.expanded.embedded) {
452
439
  animation: none;
453
440
  }
454
- `;let F=kt;Ae([g({attribute:!0})],F.prototype,"fullscreen");Ae([g({attribute:!1}),Ai({context:Ei})],F.prototype,"application");const tt=class tt{constructor(t=tt.endpoint){this._endpoint=t}async getSite(t){const i=await(await fetch(t)).json();return i?{id:i.id,triggers:i.triggers||[],apps:(i.widgets||[]).map(r=>{let n=V.Trigger;r.renderStrategy.toLowerCase()==="inline"&&(n=V.Inline);const o=r.widgetId?r.widgetId:r.id,a=typeof r.autoActivate=="boolean"?r.autoActivate:!1,c=typeof r.anchor=="string"?r.anchor:"BottomRight",l=typeof r.triggerIcon=="string"?r.triggerIcon:"question";return{id:o,widgetId:o,renderStrategy:n,autoActivate:a,anchor:c,triggerIcon:{type:"Telia",content:l}}})}:null}async getWidget(t){const i=await(await fetch(`${this._endpoint}/widget/${t}`)).json();return i?{name:i.name,config:JSON.parse(i.configuration)}:null}};tt.endpoint="https://widgets.ace.teliacompany.net/api";let ie=tt;var Si=Object.defineProperty,Et=(s,t,e,i)=>{for(var r=void 0,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=o(t,e,r)||r);return r&&Si(t,e,r),r};const Tt=class Tt extends m{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 u;if(this.widget.renderStrategy===V.Trigger){const t=new $;return t.application=this.widget,t}return this.widget.render()}};Tt.styles=[O`
441
+ `;let z=kt;Ae([g({attribute:!0})],z.prototype,"fullscreen");Ae([g({attribute:!1}),Ai({context:Ei})],z.prototype,"application");const tt=class tt{constructor(t=tt.endpoint){this._endpoint=t}async getSite(t){const i=await(await fetch(t)).json();return i?{id:i.id,triggers:i.triggers||[],apps:(i.widgets||[]).map(r=>{let n=V.Trigger;r.renderStrategy.toLowerCase()==="inline"&&(n=V.Inline);const o=r.widgetId?r.widgetId:r.id,a=typeof r.autoActivate=="boolean"?r.autoActivate:!1,c=typeof r.anchor=="string"?r.anchor:"BottomRight",h=typeof r.triggerIcon=="string"?r.triggerIcon:"question";return{id:o,widgetId:o,renderStrategy:n,autoActivate:a,anchor:c,triggerIcon:{type:"Telia",content:h}}})}:null}async getWidget(t){const i=await(await fetch(`${this._endpoint}/widget/${t}`)).json();return i?{name:i.name,config:JSON.parse(i.configuration)}:null}};tt.endpoint="https://widgets.ace.teliacompany.net/api";let ie=tt;var Si=Object.defineProperty,Et=(s,t,e,i)=>{for(var r=void 0,n=s.length-1,o;n>=0;n--)(o=s[n])&&(r=o(t,e,r)||r);return r&&Si(t,e,r),r};const Tt=class Tt extends m{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 u;if(this.widget.renderStrategy===V.Trigger){const t=new $;return t.application=this.widget,t}return this.widget.render()}};Tt.styles=[O`
455
442
  :host {
456
443
  display: block;
457
444
  }
458
- `];let H=Tt;Et([g({attribute:!0})],H.prototype,"name");Et([L()],H.prototype,"widget");Et([L()],H.prototype,"status");customElements.get("ace-trigger-slot")||customElements.define("ace-trigger-slot",X);customElements.get("ace-trigger")||customElements.define("ace-trigger",$);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",yt);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",F);customElements.get("ace-widget")||customElements.define("ace-widget",H);const Pi=qe`
445
+ `];let H=Tt;Et([g({attribute:!0})],H.prototype,"name");Et([L()],H.prototype,"widget");Et([L()],H.prototype,"status");customElements.get("ace-trigger-slot")||customElements.define("ace-trigger-slot",X);customElements.get("ace-trigger")||customElements.define("ace-trigger",$);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",yt);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",z);customElements.get("ace-widget")||customElements.define("ace-widget",H);const Pi=qe`
459
446
  <g clip-path="url(#clip0_119_1665)">
460
447
  <path d="M16.9321 27.4656C11.5983 29.6245 8.54568 28.9365 6.85856 27.5904L6.83398 27.5712C9.44534 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z" fill="#990AE3"/>
461
448
  <path d="M20.9805 22.4843C25.1369 20.0779 28.8809 15.9968 30.0615 13.0869C30.397 10.6784 30.4654 10.3744 30.506 7.72479C30.5113 7.35786 30.4889 7.00586 30.4547 6.66879C30.2122 10.56 25.1743 15.4528 18.5092 18.6496C10.4689 22.5056 4.43734 23.5435 1.74585 20.6027C2.68077 22.4459 3.29407 23.3408 4.34545 24.7083C7.45044 27.4539 13.9852 26.5355 20.9805 22.4843Z" fill="#990AE3"/>
@@ -1,14 +1,14 @@
1
- var ht = function(s, t) {
2
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var lt = function(s, t) {
2
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
5
  for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
6
- }, ht(s, t);
6
+ }, lt(s, t);
7
7
  };
8
- function z(s, t) {
8
+ function D(s, t) {
9
9
  if (typeof t != "function" && t !== null)
10
10
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
11
- ht(s, t);
11
+ lt(s, t);
12
12
  function e() {
13
13
  this.constructor = s;
14
14
  }
@@ -83,8 +83,8 @@ var tt = function() {
83
83
  if (this._parentage = null, Array.isArray(o))
84
84
  try {
85
85
  for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
86
- var l = c.value;
87
- l.remove(this);
86
+ var h = c.value;
87
+ h.remove(this);
88
88
  }
89
89
  } catch (v) {
90
90
  t = { error: v };
@@ -97,10 +97,10 @@ var tt = function() {
97
97
  }
98
98
  else
99
99
  o.remove(this);
100
- var h = this.initialTeardown;
101
- if (b(h))
100
+ var l = this.initialTeardown;
101
+ if (b(l))
102
102
  try {
103
- h();
103
+ l();
104
104
  } catch (v) {
105
105
  n = v instanceof it ? v.errors : [v];
106
106
  }
@@ -109,9 +109,9 @@ var tt = function() {
109
109
  this._finalizers = null;
110
110
  try {
111
111
  for (var p = dt(d), f = p.next(); !f.done; f = p.next()) {
112
- var O = f.value;
112
+ var k = f.value;
113
113
  try {
114
- Mt(O);
114
+ Mt(k);
115
115
  } catch (v) {
116
116
  n = n ?? [], v instanceof it ? n = pt(pt([], ut(n)), ut(v.errors)) : n.push(v);
117
117
  }
@@ -189,10 +189,10 @@ function W(s) {
189
189
  s();
190
190
  }
191
191
  var ce = function(s) {
192
- z(t, s);
192
+ D(t, s);
193
193
  function t(e) {
194
194
  var i = s.call(this) || this;
195
- return i.isStopped = !1, e ? (i.destination = e, ae(e) && e.add(i)) : i.destination = Oe, i;
195
+ return i.isStopped = !1, e ? (i.destination = e, ae(e) && e.add(i)) : i.destination = ke, i;
196
196
  }
197
197
  return t.create = function(e, i, r) {
198
198
  return new gt(e, i, r);
@@ -251,7 +251,7 @@ var ce = function(s) {
251
251
  }
252
252
  }, s;
253
253
  }(), gt = function(s) {
254
- z(t, s);
254
+ D(t, s);
255
255
  function t(e, i, r) {
256
256
  var n = s.call(this) || this, o;
257
257
  return b(e) || !e ? o = {
@@ -265,13 +265,13 @@ var ce = function(s) {
265
265
  function Z(s) {
266
266
  Se(s);
267
267
  }
268
- function ke(s) {
268
+ function Oe(s) {
269
269
  throw s;
270
270
  }
271
- var Oe = {
271
+ var ke = {
272
272
  closed: !0,
273
273
  next: Ht,
274
- error: ke,
274
+ error: Oe,
275
275
  complete: Ht
276
276
  }, Te = function() {
277
277
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
@@ -361,7 +361,7 @@ var Re = ne(function(s) {
361
361
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
362
362
  };
363
363
  }), yt = function(s) {
364
- z(t, s);
364
+ D(t, s);
365
365
  function t() {
366
366
  var e = s.call(this) || this;
367
367
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
@@ -383,8 +383,8 @@ var Re = ne(function(s) {
383
383
  var c = a.value;
384
384
  c.next(e);
385
385
  }
386
- } catch (l) {
387
- r = { error: l };
386
+ } catch (h) {
387
+ r = { error: h };
388
388
  } finally {
389
389
  try {
390
390
  a && !a.done && (n = o.return) && n.call(o);
@@ -440,7 +440,7 @@ var Re = ne(function(s) {
440
440
  return new Rt(e, i);
441
441
  }, t;
442
442
  }(Lt), Rt = function(s) {
443
- z(t, s);
443
+ D(t, s);
444
444
  function t(e, i) {
445
445
  var r = s.call(this) || this;
446
446
  return r.destination = e, r.source = i, r;
@@ -458,8 +458,8 @@ var Re = ne(function(s) {
458
458
  var i, r;
459
459
  return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : oe;
460
460
  }, t;
461
- }(yt), le = function(s) {
462
- z(t, s);
461
+ }(yt), he = function(s) {
462
+ D(t, s);
463
463
  function t(e) {
464
464
  var i = s.call(this) || this;
465
465
  return i._value = e, i;
@@ -488,7 +488,7 @@ var Re = ne(function(s) {
488
488
  * SPDX-License-Identifier: BSD-3-Clause
489
489
  */
490
490
  const q = globalThis, bt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
491
- let he = class {
491
+ let le = class {
492
492
  constructor(t, e, i) {
493
493
  if (this._$cssResult$ = !0, i !== $t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
494
494
  this.cssText = t, this.t = e;
@@ -506,13 +506,13 @@ let he = class {
506
506
  return this.cssText;
507
507
  }
508
508
  };
509
- const Ne = (s) => new he(typeof s == "string" ? s : s + "", void 0, $t), k = (s, ...t) => {
509
+ const Ne = (s) => new le(typeof s == "string" ? s : s + "", void 0, $t), O = (s, ...t) => {
510
510
  const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
511
511
  if (o._$cssResult$ === !0) return o.cssText;
512
512
  if (typeof o == "number") return o;
513
513
  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.");
514
514
  })(r) + s[n + 1], s[0]);
515
- return new he(e, s, $t);
515
+ return new le(e, s, $t);
516
516
  }, je = (s, t) => {
517
517
  if (bt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
518
518
  else for (const e of t) {
@@ -529,7 +529,7 @@ const Ne = (s) => new he(typeof s == "string" ? s : s + "", void 0, $t), k = (s,
529
529
  * Copyright 2017 Google LLC
530
530
  * SPDX-License-Identifier: BSD-3-Clause
531
531
  */
532
- const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnPropertyNames: Fe, getOwnPropertySymbols: ze, getPrototypeOf: De } = Object, w = globalThis, It = w.trustedTypes, Ye = It ? It.emptyScript : "", st = w.reactiveElementPolyfillSupport, R = (s, t) => s, K = { toAttribute(s, t) {
532
+ const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnPropertyNames: ze, getOwnPropertySymbols: De, getPrototypeOf: Fe } = Object, w = globalThis, It = w.trustedTypes, Ye = It ? It.emptyScript : "", st = w.reactiveElementPolyfillSupport, R = (s, t) => s, K = { toAttribute(s, t) {
533
533
  switch (t) {
534
534
  case Boolean:
535
535
  s = s ? Ye : null;
@@ -590,13 +590,13 @@ let T = class extends HTMLElement {
590
590
  }
591
591
  static _$Ei() {
592
592
  if (this.hasOwnProperty(R("elementProperties"))) return;
593
- const t = De(this);
593
+ const t = Fe(this);
594
594
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
595
595
  }
596
596
  static finalize() {
597
597
  if (this.hasOwnProperty(R("finalized"))) return;
598
598
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
599
- const e = this.properties, i = [...Fe(e), ...ze(e)];
599
+ const e = this.properties, i = [...ze(e), ...De(e)];
600
600
  for (const r of i) this.createProperty(r, e[r]);
601
601
  }
602
602
  const t = this[Symbol.metadata];
@@ -764,8 +764,8 @@ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProper
764
764
  * SPDX-License-Identifier: BSD-3-Clause
765
765
  */
766
766
  const N = globalThis, G = N.trustedTypes, Vt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, de = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, ue = "?" + _, Ze = `<${ue}>`, S = document, I = () => S.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", wt = Array.isArray, We = (s) => wt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", rt = `[
767
- \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ft = /-->/g, zt = />/g, x = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
768
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, Yt = /"/g, pe = /^(?:script|style|textarea|title)$/i, fe = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = fe(1), qe = fe(2), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
767
+ \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zt = /-->/g, Dt = />/g, x = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
768
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ft = /'/g, Yt = /"/g, pe = /^(?:script|style|textarea|title)$/i, fe = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = fe(1), qe = fe(2), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
769
769
  function ge(s, t) {
770
770
  if (!wt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
771
771
  return Vt !== void 0 ? Vt.createHTML(t) : t;
@@ -775,10 +775,10 @@ const Ke = (s, t) => {
775
775
  let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
776
776
  for (let a = 0; a < e; a++) {
777
777
  const c = s[a];
778
- let l, h, d = -1, p = 0;
779
- for (; p < c.length && (o.lastIndex = p, h = o.exec(c), h !== null); ) p = o.lastIndex, o === U ? h[1] === "!--" ? o = Ft : h[1] !== void 0 ? o = zt : h[2] !== void 0 ? (pe.test(h[2]) && (r = RegExp("</" + h[2], "g")), o = x) : h[3] !== void 0 && (o = x) : o === x ? h[0] === ">" ? (o = r ?? U, d = -1) : h[1] === void 0 ? d = -2 : (d = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? x : h[3] === '"' ? Yt : Dt) : o === Yt || o === Dt ? o = x : o === Ft || o === zt ? o = U : (o = x, r = void 0);
778
+ let h, l, d = -1, p = 0;
779
+ for (; p < c.length && (o.lastIndex = p, l = o.exec(c), l !== null); ) p = o.lastIndex, o === U ? l[1] === "!--" ? o = zt : l[1] !== void 0 ? o = Dt : l[2] !== void 0 ? (pe.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = x) : l[3] !== void 0 && (o = x) : o === x ? l[0] === ">" ? (o = r ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? x : l[3] === '"' ? Yt : Ft) : o === Yt || o === Ft ? o = x : o === zt || o === Dt ? o = U : (o = x, r = void 0);
780
780
  const f = o === x && s[a + 1].startsWith("/>") ? " " : "";
781
- n += o === U ? c + Ze : d >= 0 ? (i.push(l), c.slice(0, d) + de + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
781
+ n += o === U ? c + Ze : d >= 0 ? (i.push(h), c.slice(0, d) + de + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
782
782
  }
783
783
  return [ge(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
784
784
  };
@@ -787,16 +787,16 @@ let vt = class ve {
787
787
  let r;
788
788
  this.parts = [];
789
789
  let n = 0, o = 0;
790
- const a = t.length - 1, c = this.parts, [l, h] = Ke(t, e);
791
- if (this.el = ve.createElement(l, i), E.currentNode = this.el.content, e === 2 || e === 3) {
790
+ const a = t.length - 1, c = this.parts, [h, l] = Ke(t, e);
791
+ if (this.el = ve.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
792
792
  const d = this.el.content.firstChild;
793
793
  d.replaceWith(...d.childNodes);
794
794
  }
795
795
  for (; (r = E.nextNode()) !== null && c.length < a; ) {
796
796
  if (r.nodeType === 1) {
797
797
  if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(de)) {
798
- const p = h[o++], f = r.getAttribute(d).split(_), O = /([.?@])?(.*)/.exec(p);
799
- c.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Xe : O[1] === "?" ? Je : O[1] === "@" ? Qe : et }), r.removeAttribute(d);
798
+ const p = l[o++], f = r.getAttribute(d).split(_), k = /([.?@])?(.*)/.exec(p);
799
+ c.push({ type: 1, index: n, name: k[2], strings: f, ctor: k[1] === "." ? Xe : k[1] === "?" ? Je : k[1] === "@" ? Qe : et }), r.removeAttribute(d);
800
800
  } else d.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
801
801
  if (pe.test(r.tagName)) {
802
802
  const d = r.textContent.split(_), p = d.length - 1;
@@ -842,8 +842,8 @@ class Ge {
842
842
  let n = E.nextNode(), o = 0, a = 0, c = i[0];
843
843
  for (; c !== void 0; ) {
844
844
  if (o === c.index) {
845
- let l;
846
- c.type === 2 ? l = new D(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new ti(n, this, t)), this._$AV.push(l), c = i[++a];
845
+ let h;
846
+ c.type === 2 ? h = new F(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ti(n, this, t)), this._$AV.push(h), c = i[++a];
847
847
  }
848
848
  o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
849
849
  }
@@ -854,7 +854,7 @@ class Ge {
854
854
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
855
855
  }
856
856
  }
857
- class D {
857
+ class F {
858
858
  get _$AU() {
859
859
  var t;
860
860
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -902,7 +902,7 @@ class D {
902
902
  wt(this._$AH) || (this._$AH = [], this._$AR());
903
903
  const e = this._$AH;
904
904
  let i, r = 0;
905
- for (const n of t) r === e.length ? e.push(i = new D(this.O(I()), this.O(I()), this, this.options)) : i = e[r], i._$AI(n), r++;
905
+ for (const n of t) r === e.length ? e.push(i = new F(this.O(I()), this.O(I()), this, this.options)) : i = e[r], i._$AI(n), r++;
906
906
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
907
907
  }
908
908
  _$AR(t = this._$AA.nextSibling, e) {
@@ -933,8 +933,8 @@ class et {
933
933
  if (n === void 0) t = M(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
934
934
  else {
935
935
  const a = t;
936
- let c, l;
937
- for (t = n[0], c = 0; c < n.length - 1; c++) l = M(this, a[i + c], e, c), l === P && (l = this._$AH[c]), o || (o = !B(l) || l !== this._$AH[c]), l === u ? t = u : t !== u && (t += (l ?? "") + n[c + 1]), this._$AH[c] = l;
936
+ let c, h;
937
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
938
938
  }
939
939
  o && !r && this.j(t);
940
940
  }
@@ -984,13 +984,13 @@ class ti {
984
984
  }
985
985
  }
986
986
  const nt = N.litHtmlPolyfillSupport;
987
- nt == null || nt(vt, D), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
987
+ nt == null || nt(vt, F), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
988
988
  const ei = (s, t, e) => {
989
989
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
990
990
  let r = i._$litPart$;
991
991
  if (r === void 0) {
992
992
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
993
- i._$litPart$ = r = new D(t.insertBefore(I(), n), n, void 0, e ?? {});
993
+ i._$litPart$ = r = new F(t.insertBefore(I(), n), n, void 0, e ?? {});
994
994
  }
995
995
  return r._$AI(s), r;
996
996
  };
@@ -1087,7 +1087,7 @@ const Et = class Et extends m {
1087
1087
  }
1088
1088
  };
1089
1089
  Et.styles = [
1090
- k`
1090
+ O`
1091
1091
  :host {
1092
1092
  position: fixed;
1093
1093
  display: flex;
@@ -1159,7 +1159,7 @@ const j = (s, t) => {
1159
1159
  let e = t._$AN;
1160
1160
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1161
1161
  else if (e.has(s)) break;
1162
- e.add(s), li(t);
1162
+ e.add(s), hi(t);
1163
1163
  }
1164
1164
  };
1165
1165
  function ai(s) {
@@ -1171,7 +1171,7 @@ function ci(s, t = !1, e = 0) {
1171
1171
  else i != null && (j(i, !1), J(i));
1172
1172
  else j(this, s);
1173
1173
  }
1174
- const li = (s) => {
1174
+ const hi = (s) => {
1175
1175
  s.type == xt.CHILD && (s._$AP ?? (s._$AP = ci), s._$AQ ?? (s._$AQ = ai));
1176
1176
  };
1177
1177
  class be extends me {
@@ -1197,7 +1197,7 @@ class be extends me {
1197
1197
  reconnected() {
1198
1198
  }
1199
1199
  }
1200
- const hi = /* @__PURE__ */ new WeakMap();
1200
+ const li = /* @__PURE__ */ new WeakMap();
1201
1201
  let Wt = 0;
1202
1202
  const at = /* @__PURE__ */ new Map(), qt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((s) => requestAnimationFrame(s)), di = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Gt = (s, t) => {
1203
1203
  const e = s - t;
@@ -1241,7 +1241,7 @@ class fi extends be {
1241
1241
  return u;
1242
1242
  }
1243
1243
  getController() {
1244
- return hi.get(this.u);
1244
+ return li.get(this.u);
1245
1245
  }
1246
1246
  isDisabled() {
1247
1247
  var t;
@@ -1360,13 +1360,13 @@ class fi extends be {
1360
1360
  let o = !1;
1361
1361
  const a = {};
1362
1362
  for (const c in e) {
1363
- const l = t[c], h = e[c];
1363
+ const h = t[c], l = e[c];
1364
1364
  if (c in ct) {
1365
1365
  const d = ct[c];
1366
- if (l === void 0 || h === void 0) continue;
1367
- const p = d(l, h);
1366
+ if (h === void 0 || l === void 0) continue;
1367
+ const p = d(h, l);
1368
1368
  p.transform !== void 0 && (a[c] = p.value, o = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
1369
- } else l !== h && l !== void 0 && h !== void 0 && (o = !0, r[c] = l, n[c] = h);
1369
+ } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1370
1370
  }
1371
1371
  return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
1372
1372
  }
@@ -1425,7 +1425,7 @@ const Qt = At(class extends me {
1425
1425
  }), y = (s, t, e) => {
1426
1426
  s && e.style.setProperty(t, s);
1427
1427
  }, $e = (s, t) => {
1428
- var e, i, r, n, o, a, c, l, h;
1428
+ var e, i, r, n, o, a, c, h, l;
1429
1429
  y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1430
1430
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1431
1431
  "--text-on-primary-background",
@@ -1451,10 +1451,10 @@ const Qt = At(class extends me {
1451
1451
  "--interactive-primary-background",
1452
1452
  t
1453
1453
  ), y(
1454
- (l = s.colors) == null ? void 0 : l.interactiveTextOnPrimaryBackground,
1454
+ (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1455
1455
  "--interactive-text-on-primary-background",
1456
1456
  t
1457
- ), y((h = s.colors) == null ? void 0 : h.focusColor, "--focus-color", t);
1457
+ ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1458
1458
  };
1459
1459
  /**
1460
1460
  * @license
@@ -1464,7 +1464,7 @@ const Qt = At(class extends me {
1464
1464
  const _e = () => new mi();
1465
1465
  class mi {
1466
1466
  }
1467
- const lt = /* @__PURE__ */ new WeakMap(), we = At(class extends be {
1467
+ const ht = /* @__PURE__ */ new WeakMap(), we = At(class extends be {
1468
1468
  render(s) {
1469
1469
  return u;
1470
1470
  }
@@ -1476,13 +1476,13 @@ const lt = /* @__PURE__ */ new WeakMap(), we = At(class extends be {
1476
1476
  rt(s) {
1477
1477
  if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1478
1478
  const t = this.ht ?? globalThis;
1479
- let e = lt.get(t);
1480
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1479
+ let e = ht.get(t);
1480
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1481
1481
  } else this.Y.value = s;
1482
1482
  }
1483
1483
  get lt() {
1484
1484
  var s, t;
1485
- return typeof this.Y == "function" ? (s = lt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1485
+ return typeof this.Y == "function" ? (s = ht.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1486
1486
  }
1487
1487
  disconnected() {
1488
1488
  this.lt === this.ct && this.rt(void 0);
@@ -1498,7 +1498,7 @@ var yi = Object.defineProperty, Y = (s, t, e, i) => {
1498
1498
  };
1499
1499
  const St = class St extends m {
1500
1500
  constructor() {
1501
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = _e(), this.widgetActive$ = new le(!1), this.componentIsDestroyed$ = new yt();
1501
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = _e(), this.widgetActive$ = new he(!1), this.componentIsDestroyed$ = new yt();
1502
1502
  }
1503
1503
  async connectedCallback() {
1504
1504
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1536,20 +1536,20 @@ const St = class St extends m {
1536
1536
  (t = this.application) != null && t.settings && $e(this.application.settings.branding, this);
1537
1537
  }
1538
1538
  async _renderSymbol() {
1539
- var a, c, l;
1539
+ var a, c, h;
1540
1540
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1541
1541
  if (e)
1542
1542
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1543
- const i = (l = this.application) == null ? void 0 : l.triggerIcon;
1543
+ const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1544
1544
  if (!i)
1545
1545
  return u;
1546
- const r = async (h) => vi, { type: n, content: o } = i;
1546
+ const r = async (l) => vi, { type: n, content: o } = i;
1547
1547
  switch (n) {
1548
1548
  case "Telia": {
1549
- const h = await r();
1550
- return h ? C`<telia-icon
1549
+ const l = await r();
1550
+ return l ? C`<telia-icon
1551
1551
  class="trigger-icon"
1552
- svg=${h.svg}
1552
+ svg=${l.svg}
1553
1553
  size="lg"
1554
1554
  ></telia-icon>` : u;
1555
1555
  }
@@ -1630,7 +1630,7 @@ const St = class St extends m {
1630
1630
  }
1631
1631
  };
1632
1632
  St.styles = [
1633
- k`
1633
+ O`
1634
1634
  :host {
1635
1635
  --voca-rem-multiplier: 0.625;
1636
1636
  --trigger-label-bg: #f5e0ff;
@@ -1808,7 +1808,7 @@ const xe = (s) => {
1808
1808
  };
1809
1809
  e.styles = [
1810
1810
  // (superClass as unknown as typeof LitElement).styles ?? [],
1811
- k`
1811
+ O`
1812
1812
  :host {
1813
1813
  font-family: var(--font-family);
1814
1814
  grid-column: span var(--width);
@@ -1844,7 +1844,7 @@ const xe = (s) => {
1844
1844
  }
1845
1845
  };
1846
1846
  Pt.styles = [
1847
- k`
1847
+ O`
1848
1848
  :host {
1849
1849
  display: block;
1850
1850
  }
@@ -1931,7 +1931,7 @@ class te extends wi {
1931
1931
  }, this.onProviderRequest = (o) => {
1932
1932
  if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
1933
1933
  const a = /* @__PURE__ */ new Set();
1934
- for (const [c, { consumerHost: l }] of this.subscriptions) a.has(c) || (a.add(c), l.dispatchEvent(new _i(this.context, l, c, !0)));
1934
+ for (const [c, { consumerHost: h }] of this.subscriptions) a.has(c) || (a.add(c), h.dispatchEvent(new _i(this.context, h, c, !0)));
1935
1935
  o.stopPropagation();
1936
1936
  }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (r = this.host).addController) == null || n.call(r, this);
1937
1937
  }
@@ -1989,9 +1989,9 @@ var Ci = Object.defineProperty, Ae = (s, t, e, i) => {
1989
1989
  (o = s[n]) && (r = o(t, e, r) || r);
1990
1990
  return r && Ci(t, e, r), r;
1991
1991
  };
1992
- const Ei = "application", kt = class kt extends m {
1992
+ const Ei = "application", Ot = class Ot extends m {
1993
1993
  constructor() {
1994
- super(...arguments), this.nodes = [], this.wrapperRef = _e(), this.fullscreen = !1, this.isReady = new le(!1);
1994
+ super(...arguments), this.nodes = [], this.wrapperRef = _e(), this.fullscreen = !1, this.isReady = new he(!1);
1995
1995
  }
1996
1996
  addChild(t) {
1997
1997
  t.parent = this, this.nodes.push(t);
@@ -2021,7 +2021,7 @@ const Ei = "application", kt = class kt extends m {
2021
2021
  </div>`;
2022
2022
  }
2023
2023
  };
2024
- kt.styles = k`
2024
+ Ot.styles = O`
2025
2025
  :host {
2026
2026
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2027
2027
  --spacing-xs: 0.2rem;
@@ -2037,20 +2037,7 @@ kt.styles = k`
2037
2037
  --gray-color: #f3f3f8;
2038
2038
  --white-color: #fff;
2039
2039
  --gray-dark-color: #a6a6a6;
2040
-
2041
- --text-weak: #00000070;
2042
- --text-medium: #0000009E;
2043
- --text-default: #000000CC
2044
- --text-weak-negative: #FFFFFF5E;
2045
- --text-medium-negative: #FFFFFFA8;
2046
- --text-default-negative: #FFFFFFF2;
2047
-
2048
- --border-color-weak: #00000029;
2049
- --border-color-medium: #00000054;
2050
- --border-color-strong: #0000008a;
2051
- --border-color-weak-negative: #ffffff29;
2052
- --border-color-medium-negative: #ffffff54;
2053
- --border-color-strong-negative: #ffffff8a;
2040
+ --black-border-color: #00000054;
2054
2041
 
2055
2042
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
2056
2043
  --border-radius: var(--spacing-sm);
@@ -2187,14 +2174,14 @@ kt.styles = k`
2187
2174
  animation: none;
2188
2175
  }
2189
2176
  `;
2190
- let F = kt;
2177
+ let z = Ot;
2191
2178
  Ae([
2192
2179
  g({ attribute: !0 })
2193
- ], F.prototype, "fullscreen");
2180
+ ], z.prototype, "fullscreen");
2194
2181
  Ae([
2195
2182
  g({ attribute: !1 }),
2196
2183
  Ai({ context: Ei })
2197
- ], F.prototype, "application");
2184
+ ], z.prototype, "application");
2198
2185
  const Q = class Q {
2199
2186
  // TODO:
2200
2187
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
@@ -2209,7 +2196,7 @@ const Q = class Q {
2209
2196
  apps: (i.widgets || []).map((r) => {
2210
2197
  let n = V.Trigger;
2211
2198
  r.renderStrategy.toLowerCase() === "inline" && (n = V.Inline);
2212
- const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", l = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2199
+ const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", h = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2213
2200
  return {
2214
2201
  id: o,
2215
2202
  widgetId: o,
@@ -2218,7 +2205,7 @@ const Q = class Q {
2218
2205
  anchor: c,
2219
2206
  triggerIcon: {
2220
2207
  type: "Telia",
2221
- content: l
2208
+ content: h
2222
2209
  }
2223
2210
  };
2224
2211
  })
@@ -2239,7 +2226,7 @@ var Si = Object.defineProperty, Ct = (s, t, e, i) => {
2239
2226
  (o = s[n]) && (r = o(t, e, r) || r);
2240
2227
  return r && Si(t, e, r), r;
2241
2228
  };
2242
- const Ot = class Ot extends m {
2229
+ const kt = class kt extends m {
2243
2230
  constructor() {
2244
2231
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2245
2232
  }
@@ -2271,14 +2258,14 @@ const Ot = class Ot extends m {
2271
2258
  return this.widget.render();
2272
2259
  }
2273
2260
  };
2274
- Ot.styles = [
2275
- k`
2261
+ kt.styles = [
2262
+ O`
2276
2263
  :host {
2277
2264
  display: block;
2278
2265
  }
2279
2266
  `
2280
2267
  ];
2281
- let H = Ot;
2268
+ let H = kt;
2282
2269
  Ct([
2283
2270
  g({ attribute: !0 })
2284
2271
  ], H.prototype, "name");
@@ -2291,7 +2278,7 @@ Ct([
2291
2278
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
2292
2279
  customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2293
2280
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", mt);
2294
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", F);
2281
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2295
2282
  customElements.get("ace-widget") || customElements.define("ace-widget", H);
2296
2283
  const Pi = qe`
2297
2284
  <g clip-path="url(#clip0_119_1665)">
@@ -2337,7 +2324,7 @@ const Pi = qe`
2337
2324
  };
2338
2325
  Tt.styles = [
2339
2326
  ie.styles || [],
2340
- k`
2327
+ O`
2341
2328
  :host {
2342
2329
  --copyright-text-color: var(--text-on-primary-background);
2343
2330
  }
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-CYTTRWKp.js")))};module.exports=o;
1
+ "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-BZfm6CzR.js")))};module.exports=o;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const t = async (o) => {
2
- o.registerComponent("copyright", import("./copyright-D2fvCpc2.mjs"));
2
+ o.registerComponent("copyright", import("./copyright-DMV1Bo7e.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-copyright-flamingo",
3
- "version": "1.1.113-rc.5",
3
+ "version": "1.1.113",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.113-rc.5"
6
+ "@telia-ace/widget-core-flamingo": "1.1.113"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",