@telia-ace/widget-components-area-flamingo 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@ var X = (n, t, e) => new Promise((s, i) => {
26
26
  }, a = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(r, o);
27
27
  a((e = e.apply(n, t)).next());
28
28
  });
29
- import { j as wt, T as xt } from "./index-8a6e2355.js";
29
+ import { L as wt, j as xt } from "./index-7968aed1.js";
30
30
  /**
31
31
  * @license
32
32
  * Copyright 2021 Google LLC
@@ -702,6 +702,16 @@ let E = class extends C {
702
702
  constructor() {
703
703
  super(...arguments), this.componentChildren = [], this.properties = {};
704
704
  }
705
+ // ${animate({
706
+ // keyframeOptions: {
707
+ // // duration: 10000,
708
+ // },
709
+ // // properties: ['visibility'],
710
+ // in: flyBelow,
711
+ // out: flyAbove,
712
+ // stabilizeOut: true,
713
+ // skipInitial: false,
714
+ // })}
705
715
  render() {
706
716
  var n;
707
717
  return ht` <div
@@ -740,4 +750,4 @@ export {
740
750
  E as AreaComponent,
741
751
  ie as default
742
752
  };
743
- //# sourceMappingURL=area-84fcc97f.js.map
753
+ //# sourceMappingURL=area-c83b55bc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"area-c83b55bc.js","sources":["../../../node_modules/.pnpm/@lit-labs+context@0.4.0/node_modules/@lit-labs/context/lib/context-request-event.js","../../../node_modules/.pnpm/@lit-labs+context@0.4.0/node_modules/@lit-labs/context/lib/controllers/context-consumer.js","../../../node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit-labs+context@0.4.0/node_modules/@lit-labs/context/lib/decorators/consume.js","../../../node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/lit-html@2.8.0/node_modules/lit-html/lit-html.js","../../../node_modules/.pnpm/lit-element@3.3.3/node_modules/lit-element/lit-element.js","../../../node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/decorators/custom-element.js","../../../node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@1.6.3/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","../src/area.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nclass s extends Event{constructor(s,t,e){super(\"context-request\",{bubbles:!0,composed:!0}),this.context=s,this.callback=t,this.subscribe=null!=e&&e}}export{s as ContextRequestEvent};\n//# sourceMappingURL=context-request-event.js.map\n","import{ContextRequestEvent as t}from\"../context-request-event.js\";\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class s{constructor(t,s,i,h){var e;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(t,s)=>{this.unsubscribe&&(this.unsubscribe!==s&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=t,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(t,s)),this.unsubscribe=s},this.host=t,void 0!==s.context){const t=s;this.context=t.context,this.callback=t.callback,this.subscribe=null!==(e=t.subscribe)&&void 0!==e&&e}else this.context=s,this.callback=i,this.subscribe=null!=h&&h;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new t(this.context,this.t,this.subscribe))}}export{s as ContextConsumer};\n//# sourceMappingURL=context-consumer.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,o)=>{Object.defineProperty(t,o,e)},t=(e,t)=>({kind:\"method\",placement:\"prototype\",key:t.key,descriptor:e}),o=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:\"method\",placement:\"prototype\",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n)}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n)}};export{o as decorateProperty,e as legacyPrototypeMethod,t as standardPrototypeMethod};\n//# sourceMappingURL=base.js.map\n","import{decorateProperty as e}from\"@lit/reactive-element/decorators/base.js\";import{ContextConsumer as r}from\"../controllers/context-consumer.js\";\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function t({context:t,subscribe:o}){return e({finisher:(e,c)=>{e.addInitializer((e=>{new r(e,{context:t,callback:r=>{e[c]=r},subscribe:o})}))}})}export{t as consume};\n//# sourceMappingURL=consume.js.map\n","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=window,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),n=new WeakMap;class o{constructor(t,e,n){if(this._$cssResult$=!0,n!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new o(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[n+1]),t[0]);return new o(n,t,s)},S=(s,n)=>{e?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement(\"style\"),o=t.litNonce;void 0!==o&&n.setAttribute(\"nonce\",o),n.textContent=e.cssText,s.appendChild(n)}))},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{o as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as i}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var s;const e=window,r=e.trustedTypes,h=r?r.emptyScript:\"\",o=e.reactiveElementPolyfillSupport,n={toAttribute(t,i){switch(i){case Boolean:t=t?h:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},a=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:n,reflect:!1,hasChanged:a},d=\"finalized\";class u extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e))})),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=\"symbol\"==typeof t?Symbol():\"__\"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty(d))return!1;this[d]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty(\"properties\")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(t(i))}else void 0!==i&&s.push(t(i));return s}static _$Ep(t,i){const s=i.attribute;return!1===s?void 0:\"string\"==typeof s?s:\"string\"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,s){this._$AK(t,s)}_$EO(t,i,s=l){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:\"open\"},null==o||o({ReactiveElement:u}),(null!==(s=e.reactiveElementVersions)&&void 0!==s?s:e.reactiveElementVersions=[]).push(\"1.6.3\");export{u as ReactiveElement,n as defaultConverter,a as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar t;const i=window,s=i.trustedTypes,e=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,o=\"$lit$\",n=`lit$${(Math.random()+\"\").slice(9)}$`,l=\"?\"+n,h=`<${l}>`,r=document,u=()=>r.createComment(\"\"),d=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,c=Array.isArray,v=t=>c(t)||\"function\"==typeof(null==t?void 0:t[Symbol.iterator]),a=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${a}(?:([^\\\\s\"'>=/]+)(${a}*=${a}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),g=/'/g,$=/\"/g,y=/^(?:script|style|textarea|title)$/i,w=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=w(1),b=w(2),T=Symbol.for(\"lit-noChange\"),A=Symbol.for(\"lit-nothing\"),E=new WeakMap,C=r.createTreeWalker(r,129,null,!1);function P(t,i){if(!Array.isArray(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==e?e.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?\"<svg>\":\"\",u=f;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f?\"!--\"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(l=RegExp(\"</\"+c[2],\"g\")),u=p):void 0!==c[3]&&(u=p):u===p?\">\"===c[0]?(u=null!=l?l:f,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p:'\"'===c[3]?$:g):u===$||u===g?u=p:u===_||u===m?u=f:(u=p,l=void 0);const w=u===p&&t[i+1].startsWith(\"/>\")?\" \":\"\";r+=u===f?s+h:v>=0?(e.push(d),s.slice(0,v)+o+s.slice(v)+n+w):s+n+(-2===v?(e.push(void 0),i):w)}return[P(t,r+(t[s]||\"<?>\")+(2===i?\"</svg>\":\"\")),e]};class N{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V(t,i);if(this.el=N.createElement(a,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(h=C.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o)||i.startsWith(n)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o).split(n),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:\".\"===i[1]?H:\"?\"===i[1]?L:\"@\"===i[1]?z:k})}else v.push({type:6,index:r})}for(const i of t)h.removeAttribute(i)}if(y.test(h.tagName)){const t=h.textContent.split(n),i=t.length-1;if(i>0){h.textContent=s?s.emptyScript:\"\";for(let s=0;s<i;s++)h.append(t[s],u()),C.nextNode(),v.push({type:2,index:++r});h.append(t[i],u())}}}else if(8===h.nodeType)if(h.data===l)v.push({type:2,index:r});else{let t=-1;for(;-1!==(t=h.data.indexOf(n,t+1));)v.push({type:7,index:r}),t+=n.length-1}r++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d(i)?void 0:i._$litDirective$;return(null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S(t,r._$AS(t,i.values),r,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z(n,this,t)),this._$AV.push(i),u=e[++h]}l!==(null==u?void 0:u.index)&&(n=C.nextNode(),l++)}return C.currentNode=r,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{constructor(t,i,s,e){var o;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),d(t)?t===A||null==t||\"\"===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&d(this._$AH)?this._$AA.nextSibling.data=t:this.$(r.createTextNode(t)),this._$AH=t}g(t){var i;const{values:s,_$litType$:e}=t,o=\"number\"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N.createElement(P(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else{const t=new M(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new N(t)),i}T(t){c(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R(this.k(u()),this.k(u()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class k{constructor(t,i,s,e,o){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===A?t=A:t!==A&&(t+=(null!=h?h:\"\")+o[l+1]),this._$AH[l]=h}n&&!e&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const I=s?s.emptyScript:\"\";class L extends k{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class z extends k{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5}_$AI(t,i=this){var s;if((t=null!==(s=S(this,t,i,0))&&void 0!==s?s:A)===T)return;const e=this._$AH,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,s;\"function\"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const j={O:o,P:n,A:l,C:1,M:V,L:M,R:v,D:S,I:R,V:k,H:L,N:z,U:H,F:Z},B=i.litHtmlPolyfillSupport;null==B||B(N,R),(null!==(t=i.litHtmlVersions)&&void 0!==t?t:i.litHtmlVersions=[]).push(\"2.8.0\");const D=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R(i.insertBefore(u(),t),t,void 0,null!=s?s:{})}return l._$AI(t),l};export{j as _$LH,x as html,T as noChange,A as nothing,D as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as t}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as e,noChange as i}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var l,o;const r=t;class s extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=e(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return i}}s.finalized=!0,s._$litElement$=!0,null===(l=globalThis.litElementHydrateSupport)||void 0===l||l.call(globalThis,{LitElement:s});const n=globalThis.litElementPolyfillSupport;null==n||n({LitElement:s});const h={_$AK:(t,e,i)=>{t._$AK(e,i)},_$AL:t=>t._$AL};(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push(\"3.3.3\");export{s as LitElement,r as UpdatingElement,h as _$LE};\n//# sourceMappingURL=lit-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=e=>n=>\"function\"==typeof n?((e,n)=>(customElements.define(e,n),n))(e,n):((e,n)=>{const{kind:t,elements:s}=n;return{kind:t,elements:s,finisher(n){customElements.define(e,n)}}})(e,n);export{e as customElement};\n//# sourceMappingURL=custom-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst i=(i,e)=>\"method\"===e.kind&&e.descriptor&&!(\"value\"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i)}}:{kind:\"field\",key:Symbol(),placement:\"own\",descriptor:{},originalKey:e.key,initializer(){\"function\"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,i)}},e=(i,e,n)=>{e.constructor.createProperty(n,i)};function n(n){return(t,o)=>void 0!==o?e(n,t,o):i(n,t)}export{n as property};\n//# sourceMappingURL=property.js.map\n","import{decorateProperty as o}from\"./base.js\";\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var n;const e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(o,n)=>o.assignedElements(n):(o,n)=>o.assignedNodes(n).filter((o=>o.nodeType===Node.ELEMENT_NODE));function l(n){const{slot:l,selector:t}=null!=n?n:{};return o({descriptor:o=>({get(){var o;const r=\"slot\"+(l?`[name=${l}]`:\":not([name])\"),i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(r),s=null!=i?e(i,n):[];return t?s.filter((o=>o.matches(t))):s},enumerable:!0,configurable:!0})})}export{l as queryAssignedElements};\n//# sourceMappingURL=query-assigned-elements.js.map\n","import { consume } from '@lit-labs/context';\r\nimport { LitElement, css, html } from 'lit';\r\nimport { customElement, property } from 'lit/decorators.js';\r\n// import { animate, flyBelow, flyAbove } from '@lit-labs/motion';\r\n\r\nimport {\r\n childrenContext,\r\n propertiesCtx,\r\n} from '@telia-ace/widget-runtime-flamingo';\r\nimport { ComponentDescriptor } from '@telia-ace/widget-core';\r\n\r\n@customElement('area-component')\r\nexport class AreaComponent extends LitElement {\r\n static override styles = css`\r\n .grid {\r\n display: grid;\r\n justify-content: center;\r\n grid-auto-rows: max-content;\r\n grid-template-columns: repeat(var(--columns), 1fr);\r\n }\r\n `;\r\n\r\n @consume({ context: childrenContext })\r\n @property({ attribute: false })\r\n public componentChildren: ComponentDescriptor[] = [];\r\n\r\n @consume({ context: propertiesCtx })\r\n @property({ attribute: false })\r\n public properties: Record<string, any> = {};\r\n\r\n // ${animate({\r\n // keyframeOptions: {\r\n // // duration: 10000,\r\n // },\r\n // // properties: ['visibility'],\r\n // in: flyBelow,\r\n // out: flyAbove,\r\n // stabilizeOut: true,\r\n // skipInitial: false,\r\n // })}\r\n override render() {\r\n return html` <div\r\n class=\"grid\"\r\n style=${`--columns: ${this.properties.columns?.toString() || '1'};`}\r\n >\r\n ${this.componentChildren.map(\r\n (child) => html`\r\n <widget-component entry=${child.id}></widget-component>\r\n `\r\n )}\r\n </div>`;\r\n }\r\n}\r\n\r\nexport default AreaComponent;\r\n"],"names":["s","t","e","s$4","i","h","o","n","r","__spreadProps","__spreadValues","c","o$3","S","a","l","d","u$1","__async","u","v","f","_","m","p","g","$","y","w","x","T","A","E","C","P","V","N","H","L","z","k","M","R","Z","I","B","D","AreaComponent","LitElement","html","_a","child","css","__decorateClass","consume","childrenContext","property","propertiesCtx","customElement","AreaComponent$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;SAKA,cAAgB,MAAK;AAAA,EAAC,YAAYA,GAAEC,GAAEC,GAAE;AAAC,UAAM,mBAAkB,EAAC,SAAQ,IAAG,UAAS,GAAE,CAAC,GAAE,KAAK,UAAQF,GAAE,KAAK,WAASC,GAAE,KAAK,YAAgBC,KAAN,QAASA;AAAA,EAAC;AAAC;ACJpJ;AAAA;AAAA;AAAA;AAAA;AAIA,IAAAC,KAAG,M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,KAAeZ;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10]}
@@ -1 +1 @@
1
- {"version":3,"file":"area.d.ts","sourceRoot":"","sources":["../src/area.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAM5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,qBACa,aAAc,SAAQ,UAAU;IAC3C,OAAgB,MAAM,0BAOpB;IAIK,iBAAiB,EAAE,mBAAmB,EAAE,CAAM;IAI9C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAEnC,MAAM;CAYhB;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"area.d.ts","sourceRoot":"","sources":["../src/area.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAQ5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,qBACa,aAAc,SAAQ,UAAU;IAC3C,OAAgB,MAAM,0BAOpB;IAIK,iBAAiB,EAAE,mBAAmB,EAAE,CAAM;IAI9C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAYnC,MAAM;CAYhB;AAED,eAAe,aAAa,CAAC"}
@@ -11,7 +11,7 @@ const F = (t, e, s, ...n) => {
11
11
  console.error(r, ...n);
12
12
  break;
13
13
  }
14
- }, Te = (t) => {
14
+ }, _e = (t) => {
15
15
  const e = t.container || t;
16
16
  return {
17
17
  info: (s, ...n) => F(e, "info", s, ...n),
@@ -19,8 +19,8 @@ const F = (t, e, s, ...n) => {
19
19
  error: (s, ...n) => F(e, "error", s, ...n)
20
20
  };
21
21
  };
22
- var T = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))(T || {}), C = /* @__PURE__ */ ((t) => (t.Pre = "pre", t.Post = "post", t))(C || {});
23
- const _e = (t, e, s, n) => {
22
+ var _ = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))(_ || {}), C = /* @__PURE__ */ ((t) => (t.Pre = "pre", t.Post = "post", t))(C || {});
23
+ const Te = (t, e, s, n) => {
24
24
  try {
25
25
  const r = new e(s, n);
26
26
  return {
@@ -54,12 +54,12 @@ let Ie = class {
54
54
  createCommand(t, e, s) {
55
55
  let n;
56
56
  typeof e == "function" ? n = {
57
- scope: T.Widget,
57
+ scope: _.Widget,
58
58
  stage: C.Post,
59
59
  defaultArgs: void 0,
60
60
  handlerResolver: e
61
61
  } : n = {
62
- scope: pe(e.scope, T.Widget),
62
+ scope: pe(e.scope, _.Widget),
63
63
  stage: pe(e.stage, C.Post),
64
64
  defaultArgs: e.defaultArgs,
65
65
  handlerResolver: s
@@ -74,14 +74,14 @@ let Ie = class {
74
74
  return this.part;
75
75
  }
76
76
  };
77
- const Q = (t) => {
77
+ const Y = (t) => {
78
78
  const e = new Ie({});
79
79
  return t(e), e.get();
80
80
  };
81
- Q((t) => {
81
+ Y((t) => {
82
82
  t.createCommand(
83
83
  "types.register",
84
- { scope: T.Implementation, stage: C.Pre },
84
+ { scope: _.Implementation, stage: C.Pre },
85
85
  (e) => (s, n) => {
86
86
  e.container.get("$types")[s] = n;
87
87
  }
@@ -116,7 +116,7 @@ Q((t) => {
116
116
  a
117
117
  ) : n;
118
118
  try {
119
- const u = _e(
119
+ const u = Te(
120
120
  i,
121
121
  a,
122
122
  o,
@@ -124,7 +124,7 @@ Q((t) => {
124
124
  );
125
125
  o.get("$plugins").push(u), h && u.invoke("initialize", null);
126
126
  } catch (u) {
127
- Te(e).warn("Error when initializing plugin", u);
127
+ _e(e).warn("Error when initializing plugin", u);
128
128
  }
129
129
  };
130
130
  e.container.get("$instance") ? p(!0) : e.events.subscribeOnce("widget:instance-created", () => p(!1));
@@ -232,14 +232,14 @@ const w = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1
232
232
  function Z() {
233
233
  return w() + w() + "-" + w() + "-" + w() + "-" + w() + "-" + w() + w() + w();
234
234
  }
235
- var Je = Object.defineProperty, Me = Object.defineProperties, ze = Object.getOwnPropertyDescriptors, ue = Object.getOwnPropertySymbols, Ve = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, de = (t, e, s) => e in t ? Je(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, Re = (t, e) => {
235
+ var Je = Object.defineProperty, Ve = Object.defineProperties, ze = Object.getOwnPropertyDescriptors, ue = Object.getOwnPropertySymbols, Me = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, de = (t, e, s) => e in t ? Je(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, Le = (t, e) => {
236
236
  for (var s in e || (e = {}))
237
- Ve.call(e, s) && de(t, s, e[s]);
237
+ Me.call(e, s) && de(t, s, e[s]);
238
238
  if (ue)
239
239
  for (var s of ue(e))
240
240
  Fe.call(e, s) && de(t, s, e[s]);
241
241
  return t;
242
- }, Le = (t, e) => Me(t, ze(e));
242
+ }, Re = (t, e) => Ve(t, ze(e));
243
243
  const qe = (t) => {
244
244
  const e = [];
245
245
  return [
@@ -346,12 +346,12 @@ class He {
346
346
  }), this.actions.dispose();
347
347
  }
348
348
  }
349
- const Ke = (t, e, s) => {
349
+ const Be = (t, e, s) => {
350
350
  const n = t.concat(), r = (o, i, a) => {
351
351
  let c = !0;
352
352
  if (n.length) {
353
353
  const p = n.shift(), h = (l, d) => (c = !1, r(l, Object.assign({}, i, d), a));
354
- return Promise.resolve(p(o, h, a)).then((l) => Le(Re({}, l), {
354
+ return Promise.resolve(p(o, h, a)).then((l) => Re(Le({}, l), {
355
355
  cancelled: c
356
356
  }));
357
357
  }
@@ -396,7 +396,7 @@ let te = class {
396
396
  c,
397
397
  this.ns
398
398
  );
399
- return Ke(a, e, p).then((h) => {
399
+ return Be(a, e, p).then((h) => {
400
400
  const { data: l = {}, options: d, cancelled: u } = h;
401
401
  return Promise.resolve(
402
402
  u ? {} : o.fn(l, d, p)
@@ -430,7 +430,7 @@ let te = class {
430
430
  this.subscriptions.forEach((t) => t());
431
431
  }
432
432
  };
433
- Q((t) => {
433
+ Y((t) => {
434
434
  t.createCommand("components", (e) => (s) => {
435
435
  e.events.subscribeOnce("components:platform-created", (n, { platform: r }) => {
436
436
  s.handlers && s.handlers.forEach(([o, i]) => {
@@ -534,27 +534,27 @@ const Ce = (t, e, s) => {
534
534
  const n = e[t.id] || "default", r = t.children[n];
535
535
  Ce(r, e, s);
536
536
  }
537
- }, R = (t, e) => {
537
+ }, L = (t, e) => {
538
538
  const s = [];
539
539
  return se(t, e, (n) => {
540
540
  s.push(n);
541
541
  }), s;
542
- }, Be = (t, e, s) => {
542
+ }, Ue = (t, e, s) => {
543
543
  let n;
544
544
  return se(t, e, (r) => {
545
545
  if (s(r))
546
546
  return n = r, !0;
547
547
  }), n;
548
548
  };
549
- let Ue = class {
549
+ let Ke = class {
550
550
  constructor(t, e, s) {
551
551
  this.root = t, this.switches = e, this.all = [], this.visible = [], this.detached = [], s.subscribe("components:node-appended", (n, r) => {
552
- this.all.push(r.node), this.visible = R(t, e);
552
+ this.all.push(r.node), this.visible = L(t, e);
553
553
  }), s.subscribe("components:node-removed", (n, r) => {
554
554
  let o = this.all.indexOf(r.node);
555
- o > -1 && this.all.splice(o, 1), o = this.visible.indexOf(r.node), o > -1 && this.visible.splice(o, 1), this.visible = R(t, e);
555
+ o > -1 && this.all.splice(o, 1), o = this.visible.indexOf(r.node), o > -1 && this.visible.splice(o, 1), this.visible = L(t, e);
556
556
  }), s.subscribe("components:node-switched", (n, r) => {
557
- this.visible = R(t, e);
557
+ this.visible = L(t, e);
558
558
  });
559
559
  }
560
560
  query(t = {}) {
@@ -564,9 +564,9 @@ let Ue = class {
564
564
  }), e;
565
565
  }
566
566
  get(t) {
567
- return Be(this.root, this.switches, (e) => e.id === t) || this.detached.find((e) => e.id === t);
567
+ return Ue(this.root, this.switches, (e) => e.id === t) || this.detached.find((e) => e.id === t);
568
568
  }
569
- }, Xe = class {
569
+ }, Ge = class {
570
570
  constructor() {
571
571
  this.handlers = /* @__PURE__ */ new Map();
572
572
  }
@@ -577,35 +577,35 @@ let Ue = class {
577
577
  return this.handlers.get(t);
578
578
  }
579
579
  };
580
- const Ge = (t) => {
580
+ const Qe = (t) => {
581
581
  let e = t, s = 0;
582
582
  for (; e.parent; )
583
583
  s = s + 1, e = e.parent;
584
584
  return s;
585
- }, Ye = (t) => t.map(([e, s]) => [Ge(e), e, s]).sort(([e], [s]) => e - s).map(([, e, s]) => [e, s]), L = (t) => t instanceof Date ? !1 : t && typeof t == "object" && !Array.isArray(t), v = (t, ...e) => {
585
+ }, Xe = (t) => t.map(([e, s]) => [Qe(e), e, s]).sort(([e], [s]) => e - s).map(([, e, s]) => [e, s]), R = (t) => t instanceof Date ? !1 : t && typeof t == "object" && !Array.isArray(t), v = (t, ...e) => {
586
586
  if (!e.length)
587
587
  return t;
588
588
  const s = e.shift();
589
- if (L(t) && L(s))
589
+ if (R(t) && R(s))
590
590
  for (const n in s)
591
- L(s[n]) ? (t[n] || Object.assign(t, { [n]: {} }), v(t[n], s[n])) : Object.assign(t, { [n]: s[n] });
591
+ R(s[n]) ? (t[n] || Object.assign(t, { [n]: {} }), v(t[n], s[n])) : Object.assign(t, { [n]: s[n] });
592
592
  return v(t, ...e);
593
- }, Qe = (t, e) => !t || t === "all" ? !0 : t.some((s) => e.indexOf(s) > -1), Ze = (t, e) => {
593
+ }, Ye = (t, e) => !t || t === "all" ? !0 : t.some((s) => e.indexOf(s) > -1), Ze = (t, e) => {
594
594
  let s = [], n = [], r;
595
595
  const o = () => {
596
596
  process.env.NODE_ENV !== "production" && console.time("state-processor.flush");
597
- const a = /* @__PURE__ */ new Map(), c = Ye(s.map((h, l) => [h, n[l]])), p = (h, l) => {
597
+ const a = /* @__PURE__ */ new Map(), c = Xe(s.map((h, l) => [h, n[l]])), p = (h, l) => {
598
598
  var d;
599
- const u = a.get(h) || {}, P = l.context && !u.context, M = l.properties && !u.properties, z = l.layout && !u.layout;
599
+ const u = a.get(h) || {}, P = l.context && !u.context, V = l.properties && !u.properties, z = l.layout && !u.layout;
600
600
  a.set(h, {
601
601
  context: u.context || P,
602
- properties: u.properties || M,
602
+ properties: u.properties || V,
603
603
  layout: u.layout || z
604
- }), M && (h.attributes.properties = {}), z && (h.attributes.layout = {}), P && (h.attributes.context = v({}, (d = h.parent) == null ? void 0 : d.attributes.context));
604
+ }), V && (h.attributes.properties = {}), z && (h.attributes.layout = {}), P && (h.attributes.context = v({}, (d = h.parent) == null ? void 0 : d.attributes.context));
605
605
  const ae = [], ce = [], he = [];
606
606
  if (h.changesets.forEach((y) => {
607
- const [f, V] = y;
608
- Qe(V.breakpoints, t.breakpoints) && (M && (typeof f.properties == "function" ? ae.push(
607
+ const [f, M] = y;
608
+ Ye(M.breakpoints, t.breakpoints) && (V && (typeof f.properties == "function" ? ae.push(
609
609
  f.properties
610
610
  ) : v(h.attributes.properties, f.properties)), z && (typeof f.layout == "function" ? ce.push(f.layout) : v(h.attributes.layout, f.layout)), P && (typeof f.context == "function" ? he.push(f.context) : v(h.attributes.context, f.context)));
611
611
  }), ae.forEach((y) => {
@@ -618,8 +618,8 @@ const Ge = (t) => {
618
618
  const y = t.getBranch(h), f = l.recursive ? l : {
619
619
  context: !!P
620
620
  };
621
- h.getChildren(y).forEach((V) => {
622
- p(V, f);
621
+ h.getChildren(y).forEach((M) => {
622
+ p(M, f);
623
623
  });
624
624
  }
625
625
  };
@@ -640,9 +640,9 @@ const Ge = (t) => {
640
640
  };
641
641
  let et = class {
642
642
  constructor(t, e = {}) {
643
- this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new Xe(), this.events = t.events.createChild(this);
643
+ this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new Ge(), this.events = t.events.createChild(this);
644
644
  const s = new me(this.events, "root");
645
- s.name = `root-${t.name}`, this.nodes = new Ue(s, this.switches, this.events);
645
+ s.name = `root-${t.name}`, this.nodes = new Ke(s, this.switches, this.events);
646
646
  const n = this.processNode = Ze(this, (r) => {
647
647
  const o = Array.from(r.keys());
648
648
  process.env.NODE_ENV !== "production" && console.info(`STATE PROCESSOR: ${o.length} node(s) processed:
@@ -851,7 +851,7 @@ const ot = (t, e, s, n = {}) => ye(t, s).then((r) => (process.env.NODE_ENV !== "
851
851
  duration: p
852
852
  } = n, h = ct();
853
853
  return h[a][e] = Ee(o, s, p), c === b.Cookie ? dt(t, h) : gt(t, c, h);
854
- })))), it = (t, e, s = b.Session) => (oe(t), typeof e == "undefined" ? (process.env.NODE_ENV !== "production" && g.warn("readStorage: Undefined key passed when reading storage. ", e, s), Promise.resolve(void 0)) : s === b.Cookie ? ut(t).then((n) => Y(n, e)) : mt(t, s).then((n) => Y(n, e))), E = (t) => !!Object.entries(t).filter(([e, s]) => typeof s != "undefined").length, q = (t) => Object.entries(t).filter(([e, s]) => typeof s != "undefined").forEach(([e, { value: s }]) => {
854
+ })))), it = (t, e, s = b.Session) => (oe(t), typeof e == "undefined" ? (process.env.NODE_ENV !== "production" && g.warn("readStorage: Undefined key passed when reading storage. ", e, s), Promise.resolve(void 0)) : s === b.Cookie ? ut(t).then((n) => X(n, e)) : mt(t, s).then((n) => X(n, e))), E = (t) => !!Object.entries(t).filter(([e, s]) => typeof s != "undefined").length, q = (t) => Object.entries(t).filter(([e, s]) => typeof s != "undefined").forEach(([e, { value: s }]) => {
855
855
  typeof s == "undefined" && delete t[e];
856
856
  }), xe = (t, e) => {
857
857
  const s = {
@@ -879,7 +879,7 @@ const ot = (t, e, s, n = {}) => ye(t, s).then((r) => (process.env.NODE_ENV !== "
879
879
  }, H = (t) => {
880
880
  const e = new RegExp(`(?:^|;)\\s?${t}=(.*?)(?:;|$)`, "i"), s = document.cookie.match(e);
881
881
  return s && s[1] && JSON.parse(s[1]) || void 0;
882
- }, K = (t, e, s) => {
882
+ }, B = (t, e, s) => {
883
883
  const n = `${t}=${JSON.stringify(e).trim()}`, r = `expires=${new Date(s).toUTCString()}`, o = "path=/", i = "SameSite=None;Secure";
884
884
  return document.cookie = `${n}; ${r}; ${o}; ${i}`;
885
885
  }, re = (t) => {
@@ -891,22 +891,22 @@ const ot = (t, e, s, n = {}) => ye(t, s).then((r) => (process.env.NODE_ENV !== "
891
891
  };
892
892
  }, ke = (t, e) => {
893
893
  const s = re(t), n = xe(s, e), [r, o, i] = J(t), { tenant: a, implementation: c, widget: p } = n, h = at(e), l = ie({ days: -1 });
894
- K(r, a, E(a) ? h : l), K(
894
+ B(r, a, E(a) ? h : l), B(
895
895
  o,
896
896
  c,
897
897
  E(c) ? h : l
898
- ), K(i, p, E(p) ? h : l);
899
- }, _ = (t, e) => {
898
+ ), B(i, p, E(p) ? h : l);
899
+ }, T = (t, e) => {
900
900
  const [s, n, r] = J(t), o = e.getItem(s) || "{}", i = e.getItem(n) || "{}", a = e.getItem(r) || "{}";
901
901
  return {
902
902
  tenant: JSON.parse(o),
903
903
  implementation: JSON.parse(i),
904
904
  widget: JSON.parse(a)
905
905
  };
906
- }, G = (t, e, s) => {
907
- const n = _(t, e), r = xe(n, s), [o, i, a] = J(t), { tenant: c, implementation: p, widget: h } = r;
906
+ }, Q = (t, e, s) => {
907
+ const n = T(t, e), r = xe(n, s), [o, i, a] = J(t), { tenant: c, implementation: p, widget: h } = r;
908
908
  E(c) ? e.setItem(o, JSON.stringify(c)) : e.removeItem(o), E(p) ? e.setItem(i, JSON.stringify(p)) : e.removeItem(i), E(h) ? e.setItem(a, JSON.stringify(h)) : e.removeItem(a);
909
- }, ct = () => ({ tenant: {}, implementation: {}, widget: {} }), ht = (t) => t ? !!t && /* @__PURE__ */ new Date() > new Date(t) : !1, Y = (t, e) => {
909
+ }, ct = () => ({ tenant: {}, implementation: {}, widget: {} }), ht = (t) => t ? !!t && /* @__PURE__ */ new Date() > new Date(t) : !1, X = (t, e) => {
910
910
  const s = t.widget[e] || t.implementation[e] || t.tenant[e];
911
911
  return s == null ? void 0 : s.value;
912
912
  }, Ee = (t, e, s) => s ? {
@@ -927,22 +927,22 @@ const ot = (t, e, s, n = {}) => ye(t, s).then((r) => (process.env.NODE_ENV !== "
927
927
  }, ye = (t, e) => it(t, "storagePolicy", b.Cookie).then(
928
928
  (s = [m.Necessary]) => !!e && s.indexOf(e) === -1
929
929
  ), lt = (t = [m.Necessary], e) => !!e && t.indexOf(e) === -1, oe = (t) => {
930
- const e = re(t), s = _(t, window.localStorage), n = _(t, sessionStorage), r = Y(e, "storagePolicy"), [o, i, a] = [
930
+ const e = re(t), s = T(t, window.localStorage), n = T(t, sessionStorage), r = X(e, "storagePolicy"), [o, i, a] = [
931
931
  e,
932
932
  s,
933
933
  n
934
934
  ].map((c) => pt(c, r));
935
- ke(t, o), G(t, window.localStorage, i), G(t, window.sessionStorage, a);
935
+ ke(t, o), Q(t, window.localStorage, i), Q(t, window.sessionStorage, a);
936
936
  }, ie = (t = { days: 30 }) => {
937
937
  const { days: e = 0, hours: s = 0, minutes: n = 0, seconds: r = 0 } = t, o = /* @__PURE__ */ new Date();
938
938
  return o.setTime(o.getTime() + s * 60 * 60 * 1e3), o.setTime(o.getTime() + e * 24 * 60 * 60 * 1e3), o.setTime(o.getTime() + n * 60 * 1e3), o.setTime(o.getTime() + r * 1e3), o.toISOString();
939
939
  }, ut = (t) => W(document)(() => re(t)), dt = (t, e) => W(document)(() => ke(t, e)), mt = (t, e) => {
940
940
  const s = e === b.Local ? window.localStorage : window.sessionStorage;
941
- return W(s)(() => _(t, s));
941
+ return W(s)(() => T(t, s));
942
942
  }, gt = (t, e, s) => {
943
943
  const n = e === b.Local ? window.localStorage : window.sessionStorage;
944
- return W(n)(() => G(t, n, s));
945
- }, B = (t, e, s, ...n) => {
944
+ return W(n)(() => Q(t, n, s));
945
+ }, U = (t, e, s, ...n) => {
946
946
  const r = `[${t.get("$environment").name || "webprovisions"}] ${s}`;
947
947
  switch (e) {
948
948
  case "info":
@@ -958,9 +958,9 @@ const ot = (t, e, s, n = {}) => ye(t, s).then((r) => (process.env.NODE_ENV !== "
958
958
  }, ft = (t) => {
959
959
  const e = t.container || t;
960
960
  return {
961
- info: (s, ...n) => B(e, "info", s, ...n),
962
- warn: (s, ...n) => B(e, "warning", s, ...n),
963
- error: (s, ...n) => B(e, "error", s, ...n)
961
+ info: (s, ...n) => U(e, "info", s, ...n),
962
+ warn: (s, ...n) => U(e, "warning", s, ...n),
963
+ error: (s, ...n) => U(e, "error", s, ...n)
964
964
  };
965
965
  };
966
966
  var I = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))(I || {}), x = /* @__PURE__ */ ((t) => (t.Pre = "pre", t.Post = "post", t))(x || {});
@@ -1206,7 +1206,7 @@ function Ot(t) {
1206
1206
  function A(t) {
1207
1207
  return t.charAt(0) === "/";
1208
1208
  }
1209
- function U(t, e) {
1209
+ function K(t, e) {
1210
1210
  for (var s = e, n = s + 1, r = t.length; n < r; s += 1, n += 1)
1211
1211
  t[s] = t[n];
1212
1212
  t.pop();
@@ -1223,7 +1223,7 @@ function Pt(t) {
1223
1223
  a = !1;
1224
1224
  for (var p = 0, h = n.length; h >= 0; h--) {
1225
1225
  var l = n[h];
1226
- l === "." ? U(n, h) : l === ".." ? (U(n, h), p++) : p && (U(n, h), p--);
1226
+ l === "." ? K(n, h) : l === ".." ? (K(n, h), p++) : p && (K(n, h), p--);
1227
1227
  }
1228
1228
  if (!i)
1229
1229
  for (; p--; p)
@@ -1275,7 +1275,7 @@ Ae($t);
1275
1275
  function Ae(t) {
1276
1276
  return t && t.__esModule ? t : { default: t };
1277
1277
  }
1278
- Q((t) => {
1278
+ Y((t) => {
1279
1279
  t.createCommand("routing", (e) => (s) => {
1280
1280
  const n = {
1281
1281
  mode: s.mode
@@ -1283,7 +1283,7 @@ Q((t) => {
1283
1283
  s.basePath && (n.basePath = s.basePath), e.container.register("routingSettings", n);
1284
1284
  });
1285
1285
  });
1286
- const X = (t, e, s, ...n) => {
1286
+ const G = (t, e, s, ...n) => {
1287
1287
  const r = `[${t.get("$environment").name || "webprovisions"}] ${s}`;
1288
1288
  switch (e) {
1289
1289
  case "info":
@@ -1299,9 +1299,9 @@ const X = (t, e, s, ...n) => {
1299
1299
  }, Nt = (t) => {
1300
1300
  const e = t.container || t;
1301
1301
  return {
1302
- info: (s, ...n) => X(e, "info", s, ...n),
1303
- warn: (s, ...n) => X(e, "warning", s, ...n),
1304
- error: (s, ...n) => X(e, "error", s, ...n)
1302
+ info: (s, ...n) => G(e, "info", s, ...n),
1303
+ warn: (s, ...n) => G(e, "warning", s, ...n),
1304
+ error: (s, ...n) => G(e, "error", s, ...n)
1305
1305
  };
1306
1306
  };
1307
1307
  var $ = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))($ || {}), O = /* @__PURE__ */ ((t) => (t.Pre = "pre", t.Post = "post", t))(O || {});
@@ -1454,17 +1454,17 @@ je((t) => {
1454
1454
  }
1455
1455
  );
1456
1456
  });
1457
- const Tt = (t, e, s, n, r) => t.getAsync("componentResolver").then((o) => (o.registerComponent(e, s), tt(t, e, n || (() => {
1458
- }), e, r))), _t = "children", It = "properties", Dt = (t) => Tt(
1457
+ const Tt = "children", It = "properties", _t = (t, e, s, n, r) => t.getAsync("componentResolver").then((o) => (o.registerComponent(e, s), tt(t, e, n || (() => {
1458
+ }), e, r))), Dt = (t) => _t(
1459
1459
  t,
1460
1460
  "area",
1461
- import("./area-84fcc97f.js"),
1461
+ import("./area-c83b55bc.js"),
1462
1462
  (e) => {
1463
1463
  }
1464
1464
  );
1465
1465
  export {
1466
1466
  Dt as A,
1467
- It as T,
1468
- _t as j
1467
+ Tt as L,
1468
+ It as j
1469
1469
  };
1470
- //# sourceMappingURL=index-8a6e2355.js.map
1470
+ //# sourceMappingURL=index-7968aed1.js.map