@florid-kit/components 0.9.29 → 0.9.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -6,13 +6,13 @@
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:Ae,defineProperty:Le,getOwnPropertyDescriptor:Be,getOwnPropertyNames:Pe,getOwnPropertySymbols:Oe,getPrototypeOf:ze}=Object,X=globalThis,le=X.trustedTypes,Ie=le?le.emptyScript:"",It=X.reactiveElementPolyfillSupport,pt=(o,t)=>o,At={toAttribute(o,t){switch(t){case Boolean:o=o?Ie:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},qt=(o,t)=>!Ae(o,t),ce={attribute:!0,type:String,converter:At,reflect:!1,useDefault:!1,hasChanged:qt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),X.litPropertyMetadata??(X.litPropertyMetadata=new WeakMap);let at=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=ce){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(t,n,e);i!==void 0&&Le(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){const{get:i,set:r}=Be(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:i,set(s){const c=i==null?void 0:i.call(this);r==null||r.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ce}static _$Ei(){if(this.hasOwnProperty(pt("elementProperties")))return;const t=ze(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(pt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(pt("properties"))){const e=this.properties,n=[...Pe(e),...Oe(e)];for(const i of n)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[n,i]of e)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[e,n]of this.elementProperties){const i=this._$Eu(e,n);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const i of n)e.unshift(ae(i))}else t!==void 0&&e.push(ae(t));return e}static _$Eu(t,e){const n=e.attribute;return n===!1?void 0:typeof n=="string"?n: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 n of e.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Se(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 n;return(n=e.hostConnected)==null?void 0:n.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var n;return(n=e.hostDisconnected)==null?void 0:n.call(e)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ET(t,e){var r;const n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){const s=(((r=n.converter)==null?void 0:r.toAttribute)!==void 0?n.converter:At).toAttribute(e,n.type);this._$Em=t,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(t,e){var r,s;const n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const c=n.getPropertyOptions(i),h=typeof c.converter=="function"?{fromAttribute:c.converter}:((r=c.converter)==null?void 0:r.fromAttribute)!==void 0?c.converter:At;this._$Em=i,this[i]=h.fromAttribute(e,c.type)??((s=this._$Ej)==null?void 0:s.get(i))??null,this._$Em=null}}requestUpdate(t,e,n){var i;if(t!==void 0){const r=this.constructor,s=this[t];if(n??(n=r.getPropertyOptions(t)),!((n.hasChanged??qt)(s,e)||n.useDefault&&n.reflect&&s===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(r._$Eu(t,n))))return;this.C(t,e,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:n,reflect:i,wrapped:r},s){n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),r!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){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 n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[r,s]of i){const{wrapped:c}=s,h=this[r];c!==!0||this._$AL.has(r)||h===void 0||this.C(r,void 0,s,h)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(i=>{var r;return(r=i.hostUpdate)==null?void 0:r.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(n=>{var i;return(i=n.hostUpdated)==null?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[pt("elementProperties")]=new Map,at[pt("finalized")]=new Map,It==null||It({ReactiveElement:at}),(X.reactiveElementVersions??(X.reactiveElementVersions=[])).push("2.1.0");/**
9
+ */const{is:Ae,defineProperty:Be,getOwnPropertyDescriptor:Le,getOwnPropertyNames:Pe,getOwnPropertySymbols:ze,getPrototypeOf:Oe}=Object,X=globalThis,le=X.trustedTypes,Ie=le?le.emptyScript:"",It=X.reactiveElementPolyfillSupport,pt=(o,t)=>o,At={toAttribute(o,t){switch(t){case Boolean:o=o?Ie:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},qt=(o,t)=>!Ae(o,t),ce={attribute:!0,type:String,converter:At,reflect:!1,useDefault:!1,hasChanged:qt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),X.litPropertyMetadata??(X.litPropertyMetadata=new WeakMap);let at=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=ce){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(t,n,e);i!==void 0&&Be(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){const{get:i,set:r}=Le(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:i,set(s){const c=i==null?void 0:i.call(this);r==null||r.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ce}static _$Ei(){if(this.hasOwnProperty(pt("elementProperties")))return;const t=Oe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(pt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(pt("properties"))){const e=this.properties,n=[...Pe(e),...ze(e)];for(const i of n)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[n,i]of e)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[e,n]of this.elementProperties){const i=this._$Eu(e,n);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const i of n)e.unshift(ae(i))}else t!==void 0&&e.push(ae(t));return e}static _$Eu(t,e){const n=e.attribute;return n===!1?void 0:typeof n=="string"?n: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 n of e.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Se(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 n;return(n=e.hostConnected)==null?void 0:n.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var n;return(n=e.hostDisconnected)==null?void 0:n.call(e)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ET(t,e){var r;const n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){const s=(((r=n.converter)==null?void 0:r.toAttribute)!==void 0?n.converter:At).toAttribute(e,n.type);this._$Em=t,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(t,e){var r,s;const n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const c=n.getPropertyOptions(i),h=typeof c.converter=="function"?{fromAttribute:c.converter}:((r=c.converter)==null?void 0:r.fromAttribute)!==void 0?c.converter:At;this._$Em=i,this[i]=h.fromAttribute(e,c.type)??((s=this._$Ej)==null?void 0:s.get(i))??null,this._$Em=null}}requestUpdate(t,e,n){var i;if(t!==void 0){const r=this.constructor,s=this[t];if(n??(n=r.getPropertyOptions(t)),!((n.hasChanged??qt)(s,e)||n.useDefault&&n.reflect&&s===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(r._$Eu(t,n))))return;this.C(t,e,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:n,reflect:i,wrapped:r},s){n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),r!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){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 n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[r,s]of i){const{wrapped:c}=s,h=this[r];c!==!0||this._$AL.has(r)||h===void 0||this.C(r,void 0,s,h)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(i=>{var r;return(r=i.hostUpdate)==null?void 0:r.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(n=>{var i;return(i=n.hostUpdated)==null?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[pt("elementProperties")]=new Map,at[pt("finalized")]=new Map,It==null||It({ReactiveElement:at}),(X.reactiveElementVersions??(X.reactiveElementVersions=[])).push("2.1.0");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const ut=globalThis,Lt=ut.trustedTypes,he=Lt?Lt.createPolicy("lit-html",{createHTML:o=>o}):void 0,me="$lit$",G=`lit$${Math.random().toFixed(9).slice(2)}$`,xe="?"+G,De=`<${xe}>`,it=document,ft=()=>it.createComment(""),gt=o=>o===null||typeof o!="object"&&typeof o!="function",Zt=Array.isArray,He=o=>Zt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Dt=`[
13
+ */const ut=globalThis,Bt=ut.trustedTypes,he=Bt?Bt.createPolicy("lit-html",{createHTML:o=>o}):void 0,me="$lit$",G=`lit$${Math.random().toFixed(9).slice(2)}$`,xe="?"+G,De=`<${xe}>`,it=document,ft=()=>it.createComment(""),gt=o=>o===null||typeof o!="object"&&typeof o!="function",Zt=Array.isArray,He=o=>Zt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Dt=`[
14
14
  \f\r]`,dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,de=/-->/g,pe=/>/g,tt=RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ue=/'/g,ve=/"/g,we=/^(?:script|style|textarea|title)$/i,Me=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=Me(1),Y=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),fe=new WeakMap,et=it.createTreeWalker(it,129);function $e(o,t){if(!Zt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return he!==void 0?he.createHTML(t):t}const Te=(o,t)=>{const e=o.length-1,n=[];let i,r=t===2?"<svg>":t===3?"<math>":"",s=dt;for(let c=0;c<e;c++){const h=o[c];let m,w,f=-1,N=0;for(;N<h.length&&(s.lastIndex=N,w=s.exec(h),w!==null);)N=s.lastIndex,s===dt?w[1]==="!--"?s=de:w[1]!==void 0?s=pe:w[2]!==void 0?(we.test(w[2])&&(i=RegExp("</"+w[2],"g")),s=tt):w[3]!==void 0&&(s=tt):s===tt?w[0]===">"?(s=i??dt,f=-1):w[1]===void 0?f=-2:(f=s.lastIndex-w[2].length,m=w[1],s=w[3]===void 0?tt:w[3]==='"'?ve:ue):s===ve||s===ue?s=tt:s===de||s===pe?s=dt:(s=tt,i=void 0);const W=s===tt&&o[c+1].startsWith("/>")?" ":"";r+=s===dt?h+De:f>=0?(n.push(m),h.slice(0,f)+me+h.slice(f)+G+W):h+G+(f===-2?c:W)}return[$e(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class bt{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,s=0;const c=t.length-1,h=this.parts,[m,w]=Te(t,e);if(this.el=bt.createElement(m,n),et.currentNode=this.el.content,e===2||e===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=et.nextNode())!==null&&h.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const f of i.getAttributeNames())if(f.endsWith(me)){const N=w[s++],W=i.getAttribute(f).split(G),Et=/([.?@])?(.*)/.exec(N);h.push({type:1,index:r,name:Et[2],strings:W,ctor:Et[1]==="."?Fe:Et[1]==="?"?Re:Et[1]==="@"?Ue:Pt}),i.removeAttribute(f)}else f.startsWith(G)&&(h.push({type:6,index:r}),i.removeAttribute(f));if(we.test(i.tagName)){const f=i.textContent.split(G),N=f.length-1;if(N>0){i.textContent=Lt?Lt.emptyScript:"";for(let W=0;W<N;W++)i.append(f[W],ft()),et.nextNode(),h.push({type:2,index:++r});i.append(f[N],ft())}}}else if(i.nodeType===8)if(i.data===xe)h.push({type:2,index:r});else{let f=-1;for(;(f=i.data.indexOf(G,f+1))!==-1;)h.push({type:7,index:r}),f+=G.length-1}r++}}static createElement(t,e){const n=it.createElement("template");return n.innerHTML=t,n}}function lt(o,t,e=o,n){var s,c;if(t===Y)return t;let i=n!==void 0?(s=e._$Co)==null?void 0:s[n]:e._$Cl;const r=gt(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==r&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,n)),n!==void 0?(e._$Co??(e._$Co=[]))[n]=i:e._$Cl=i),i!==void 0&&(t=lt(o,i._$AS(o,t.values),i,n)),t}class je{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:n}=this._$AD,i=((t==null?void 0:t.creationScope)??it).importNode(e,!0);et.currentNode=i;let r=et.nextNode(),s=0,c=0,h=n[0];for(;h!==void 0;){if(s===h.index){let m;h.type===2?m=new kt(r,r.nextSibling,this,t):h.type===1?m=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(m=new Ne(r,this,t)),this._$AV.push(m),h=n[++c]}s!==(h==null?void 0:h.index)&&(r=et.nextNode(),s++)}return et.currentNode=it,i}p(t){let e=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class kt{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,n,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=lt(this,t,e),gt(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==Y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):He(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!==d&&gt(this._$AH)?this._$AA.nextSibling.data=t:this.T(it.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=bt.createElement($e(n.h,n.h[0]),this.options)),n);if(((r=this._$AH)==null?void 0:r._$AD)===i)this._$AH.p(e);else{const s=new je(i,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=fe.get(t.strings);return e===void 0&&fe.set(t.strings,e=new bt(t)),e}k(t){Zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new kt(this.O(ft()),this.O(ft()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class Pt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,i,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=d}_$AI(t,e=this,n,i){const r=this.strings;let s=!1;if(r===void 0)t=lt(this,t,e,0),s=!gt(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const c=t;let h,m;for(t=r[0],h=0;h<r.length-1;h++)m=lt(this,c[n+h],e,h),m===Y&&(m=this._$AH[h]),s||(s=!gt(m)||m!==this._$AH[h]),m===d?t=d:t!==d&&(t+=(m??"")+r[h+1]),this._$AH[h]=m}s&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Fe extends Pt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Re extends Pt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Ue extends Pt{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){if((t=lt(this,t,e,0)??d)===Y)return;const n=this._$AH,i=t===d&&n!==d||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==d&&(n===d||i);i&&this.element.removeEventListener(this.name,this,n),r&&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 Ne{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}}const Ht=ut.litHtmlPolyfillSupport;Ht==null||Ht(bt,kt),(ut.litHtmlVersions??(ut.litHtmlVersions=[])).push("3.3.0");const Ve=(o,t,e)=>{const n=(e==null?void 0:e.renderBefore)??t;let i=n._$litPart$;if(i===void 0){const r=(e==null?void 0:e.renderBefore)??null;n._$litPart$=i=new kt(t.insertBefore(ft(),r),r,void 0,e??{})}return i._$AI(o),i};/**
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ue=/'/g,ve=/"/g,we=/^(?:script|style|textarea|title)$/i,Me=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=Me(1),Y=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),fe=new WeakMap,et=it.createTreeWalker(it,129);function $e(o,t){if(!Zt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return he!==void 0?he.createHTML(t):t}const Te=(o,t)=>{const e=o.length-1,n=[];let i,r=t===2?"<svg>":t===3?"<math>":"",s=dt;for(let c=0;c<e;c++){const h=o[c];let m,w,f=-1,N=0;for(;N<h.length&&(s.lastIndex=N,w=s.exec(h),w!==null);)N=s.lastIndex,s===dt?w[1]==="!--"?s=de:w[1]!==void 0?s=pe:w[2]!==void 0?(we.test(w[2])&&(i=RegExp("</"+w[2],"g")),s=tt):w[3]!==void 0&&(s=tt):s===tt?w[0]===">"?(s=i??dt,f=-1):w[1]===void 0?f=-2:(f=s.lastIndex-w[2].length,m=w[1],s=w[3]===void 0?tt:w[3]==='"'?ve:ue):s===ve||s===ue?s=tt:s===de||s===pe?s=dt:(s=tt,i=void 0);const W=s===tt&&o[c+1].startsWith("/>")?" ":"";r+=s===dt?h+De:f>=0?(n.push(m),h.slice(0,f)+me+h.slice(f)+G+W):h+G+(f===-2?c:W)}return[$e(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class bt{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,s=0;const c=t.length-1,h=this.parts,[m,w]=Te(t,e);if(this.el=bt.createElement(m,n),et.currentNode=this.el.content,e===2||e===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=et.nextNode())!==null&&h.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const f of i.getAttributeNames())if(f.endsWith(me)){const N=w[s++],W=i.getAttribute(f).split(G),Et=/([.?@])?(.*)/.exec(N);h.push({type:1,index:r,name:Et[2],strings:W,ctor:Et[1]==="."?Fe:Et[1]==="?"?Re:Et[1]==="@"?Ue:Pt}),i.removeAttribute(f)}else f.startsWith(G)&&(h.push({type:6,index:r}),i.removeAttribute(f));if(we.test(i.tagName)){const f=i.textContent.split(G),N=f.length-1;if(N>0){i.textContent=Bt?Bt.emptyScript:"";for(let W=0;W<N;W++)i.append(f[W],ft()),et.nextNode(),h.push({type:2,index:++r});i.append(f[N],ft())}}}else if(i.nodeType===8)if(i.data===xe)h.push({type:2,index:r});else{let f=-1;for(;(f=i.data.indexOf(G,f+1))!==-1;)h.push({type:7,index:r}),f+=G.length-1}r++}}static createElement(t,e){const n=it.createElement("template");return n.innerHTML=t,n}}function lt(o,t,e=o,n){var s,c;if(t===Y)return t;let i=n!==void 0?(s=e._$Co)==null?void 0:s[n]:e._$Cl;const r=gt(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==r&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,n)),n!==void 0?(e._$Co??(e._$Co=[]))[n]=i:e._$Cl=i),i!==void 0&&(t=lt(o,i._$AS(o,t.values),i,n)),t}class je{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:n}=this._$AD,i=((t==null?void 0:t.creationScope)??it).importNode(e,!0);et.currentNode=i;let r=et.nextNode(),s=0,c=0,h=n[0];for(;h!==void 0;){if(s===h.index){let m;h.type===2?m=new _t(r,r.nextSibling,this,t):h.type===1?m=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(m=new Ne(r,this,t)),this._$AV.push(m),h=n[++c]}s!==(h==null?void 0:h.index)&&(r=et.nextNode(),s++)}return et.currentNode=it,i}p(t){let e=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class _t{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,n,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=lt(this,t,e),gt(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==Y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):He(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!==d&&gt(this._$AH)?this._$AA.nextSibling.data=t:this.T(it.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=bt.createElement($e(n.h,n.h[0]),this.options)),n);if(((r=this._$AH)==null?void 0:r._$AD)===i)this._$AH.p(e);else{const s=new je(i,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=fe.get(t.strings);return e===void 0&&fe.set(t.strings,e=new bt(t)),e}k(t){Zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new _t(this.O(ft()),this.O(ft()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class Pt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,i,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=d}_$AI(t,e=this,n,i){const r=this.strings;let s=!1;if(r===void 0)t=lt(this,t,e,0),s=!gt(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const c=t;let h,m;for(t=r[0],h=0;h<r.length-1;h++)m=lt(this,c[n+h],e,h),m===Y&&(m=this._$AH[h]),s||(s=!gt(m)||m!==this._$AH[h]),m===d?t=d:t!==d&&(t+=(m??"")+r[h+1]),this._$AH[h]=m}s&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Fe extends Pt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Re extends Pt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Ue extends Pt{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){if((t=lt(this,t,e,0)??d)===Y)return;const n=this._$AH,i=t===d&&n!==d||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==d&&(n===d||i);i&&this.element.removeEventListener(this.name,this,n),r&&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 Ne{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}}const Ht=ut.litHtmlPolyfillSupport;Ht==null||Ht(bt,_t),(ut.litHtmlVersions??(ut.litHtmlVersions=[])).push("3.3.0");const Ve=(o,t,e)=>{const n=(e==null?void 0:e.renderBefore)??t;let i=n._$litPart$;if(i===void 0){const r=(e==null?void 0:e.renderBefore)??null;n._$litPart$=i=new _t(t.insertBefore(ft(),r),r,void 0,e??{})}return i._$AI(o),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
36
36
  * @license
37
37
  * Copyright 2017 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */function _e(o,t){return(e,n,i)=>{const r=s=>{var c;return((c=s.renderRoot)==null?void 0:c.querySelector(o))??null};return Ke(e,n,{get(){return r(this)}})}}const rt=v`
39
+ */function ke(o,t){return(e,n,i)=>{const r=s=>{var c;return((c=s.renderRoot)==null?void 0:c.querySelector(o))??null};return Ke(e,n,{get(){return r(this)}})}}const rt=v`
40
40
  outline: 1px dashed var(--color-border-primary);
41
41
  outline-offset: 2px;
42
42
  `;v`
@@ -141,12 +141,12 @@
141
141
  `,$o=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
142
142
  <path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.16602 6.1084V12H8.84668V6.1084H7.16602ZM8.00684 2.64062C7.45497 2.64062 7.01096 3.09591 7.01074 3.63574C7.01074 4.18774 7.45484 4.63184 8.00684 4.63184C8.55862 4.63159 9.00195 4.18759 9.00195 3.63574C9.00174 3.09606 8.55849 2.64088 8.00684 2.64062Z" fill="#4572A6"/>
143
143
  </svg>
144
- `,_o=`<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
144
+ `,ko=`<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
145
145
  <path d="M16.0003 10.1648C16.0003 13.2904 13.4583 15.8332 10.3336 15.8332H7.00026C6.81617 15.8332 6.66693 15.6839 6.66693 15.4997C6.66693 15.3156 6.81617 15.1663 7.00026 15.1663H10.3336C13.0909 15.1663 15.3336 12.923 15.3336 10.1648C15.3336 7.40663 13.0909 5.16328 10.3336 5.16328H1.13826L3.90226 7.92812C4.0326 8.05831 4.03275 8.26955 3.9026 8.39993C3.77244 8.5303 3.56127 8.53045 3.43093 8.40026L0.0975955 5.06592C-0.0325318 4.93571 -0.0325318 4.72465 0.0975955 4.59444L3.43093 1.2601C3.56172 1.13374 3.76962 1.13555 3.8982 1.26416C4.02678 1.39278 4.02859 1.60075 3.90226 1.73158L1.13826 4.49641H10.3336C13.4583 4.49641 16.0003 7.03918 16.0003 10.1648Z" fill="#001022"/>
146
146
  </svg>
147
- `,ko=`<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
147
+ `,_o=`<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
148
148
  <path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
149
- </svg>`,V={wishlist:Ge,playerv:Xe,chevronRight:Ye,chevronLeft:Je,icoPlus:so,icoMinus:ao,"star-0":Qe,"star-25":to,"star-50":eo,"star-75":oo,"star-100":io,cross:no,search:ro,arrowLeft:lo,arrowTop:co,cart:ho,notifyme:po,triangledown:uo,triangleup:vo,checkstroke:fo,pause:go,mapDualArrow:bo,swipeDualArrow:mo,backToBag:_o,checkbox:ko},Co={strikeDiagonal:yo},Eo={success:xo,error:wo,info:$o};/**
149
+ </svg>`,V={wishlist:Ge,playerv:Xe,chevronRight:Ye,chevronLeft:Je,icoPlus:so,icoMinus:ao,"star-0":Qe,"star-25":to,"star-50":eo,"star-75":oo,"star-100":io,cross:no,search:ro,arrowLeft:lo,arrowTop:co,cart:ho,notifyme:po,triangledown:uo,triangleup:vo,checkstroke:fo,pause:go,mapDualArrow:bo,swipeDualArrow:mo,backToBag:ko,checkbox:_o},Co={strikeDiagonal:yo},Eo={success:xo,error:wo,info:$o};/**
150
150
  * @license
151
151
  * Copyright 2017 Google LLC
152
152
  * SPDX-License-Identifier: BSD-3-Clause
@@ -158,7 +158,7 @@
158
158
  * @license
159
159
  * Copyright 2017 Google LLC
160
160
  * SPDX-License-Identifier: BSD-3-Clause
161
- */class Ft extends jt{}Ft.directiveName="unsafeSVG",Ft.resultType=2;const $=Xt(Ft);/**
161
+ */class Ft extends jt{}Ft.directiveName="unsafeSVG",Ft.resultType=2;const k=Xt(Ft);/**
162
162
  * @license
163
163
  * Copyright 2020 Google LLC
164
164
  * SPDX-License-Identifier: BSD-3-Clause
@@ -166,27 +166,27 @@
166
166
  * @license
167
167
  * Copyright 2017 Google LLC
168
168
  * SPDX-License-Identifier: BSD-3-Clause
169
- */const vt=(o,t)=>{var n;const e=o._$AN;if(e===void 0)return!1;for(const i of e)(n=i._$AO)==null||n.call(i,t,!1),vt(i,t);return!0},Bt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while((e==null?void 0:e.size)===0)},ke=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Bo(t)}};function Ao(o){this._$AN!==void 0?(Bt(this),this._$AM=o,ke(this)):this._$AM=o}function Lo(o,t=!1,e=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let r=e;r<n.length;r++)vt(n[r],!1),Bt(n[r]);else n!=null&&(vt(n,!1),Bt(n));else vt(this,o)}const Bo=o=>{o.type==Gt.CHILD&&(o._$AP??(o._$AP=Lo),o._$AQ??(o._$AQ=Ao))};class Po extends Yt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),ke(this),this.isConnected=t._$AU}_$AO(t,e=!0){var n,i;t!==this.isConnected&&(this.isConnected=t,t?(n=this.reconnected)==null||n.call(this):(i=this.disconnected)==null||i.call(this)),e&&(vt(this,t),Bt(this))}setValue(t){if(So(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(){}}class Oo extends Po{constructor(){super(...arguments),this.prevData={}}render(t){return d}update(t,[e]){var n;this.element!==t.element&&(this.element=t.element),this.host=((n=t.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(e),this.groom(e),this.prevData={...e}}apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];r!==e[i]&&(n[i]=r)}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&(n[i]=void 0)}}class zo extends Oo{constructor(){super(...arguments),this.eventData={}}apply(t){if(t)for(const e in t){const n=t[e];n!==this.eventData[e]&&this.applyEvent(e,n)}}applyEvent(t,e){const{prevData:n,element:i}=this;this.eventData[t]=e,n[t]&&i.removeEventListener(t,this,e),i.addEventListener(t,this,e)}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&this.groomEvent(i,e[i])}groomEvent(t,e){const{element:n}=this;delete this.eventData[t],n.removeEventListener(t,this,e)}handleEvent(t){const e=this.eventData[t.type];typeof e=="function"?e.call(this.host,t):e.handleEvent(t)}disconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.removeEventListener(i,this,r)}}reconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.addEventListener(i,this,r)}}}class Io extends zo{apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];if(r===e[i])continue;const s=i.slice(1);switch(i[0]){case"@":this.eventData[s]=r,this.applyEvent(s,r);break;case".":n[s]=r;break;case"?":r?n.setAttribute(s,""):n.removeAttribute(s);break;default:r!=null?n.setAttribute(i,String(r)):n.removeAttribute(i);break}}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e){const r=i.slice(1);if(!t||!(i in t)&&n[r]===e[i])switch(i[0]){case"@":this.groomEvent(r,e[i]);break;case".":n[r]=void 0;break;case"?":n.removeAttribute(r);break;default:n.removeAttribute(i);break}}}}const ge=Xt(Io);/**
169
+ */const vt=(o,t)=>{var n;const e=o._$AN;if(e===void 0)return!1;for(const i of e)(n=i._$AO)==null||n.call(i,t,!1),vt(i,t);return!0},Lt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while((e==null?void 0:e.size)===0)},_e=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Lo(t)}};function Ao(o){this._$AN!==void 0?(Lt(this),this._$AM=o,_e(this)):this._$AM=o}function Bo(o,t=!1,e=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let r=e;r<n.length;r++)vt(n[r],!1),Lt(n[r]);else n!=null&&(vt(n,!1),Lt(n));else vt(this,o)}const Lo=o=>{o.type==Gt.CHILD&&(o._$AP??(o._$AP=Bo),o._$AQ??(o._$AQ=Ao))};class Po extends Yt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),_e(this),this.isConnected=t._$AU}_$AO(t,e=!0){var n,i;t!==this.isConnected&&(this.isConnected=t,t?(n=this.reconnected)==null||n.call(this):(i=this.disconnected)==null||i.call(this)),e&&(vt(this,t),Lt(this))}setValue(t){if(So(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(){}}class zo extends Po{constructor(){super(...arguments),this.prevData={}}render(t){return d}update(t,[e]){var n;this.element!==t.element&&(this.element=t.element),this.host=((n=t.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(e),this.groom(e),this.prevData={...e}}apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];r!==e[i]&&(n[i]=r)}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&(n[i]=void 0)}}class Oo extends zo{constructor(){super(...arguments),this.eventData={}}apply(t){if(t)for(const e in t){const n=t[e];n!==this.eventData[e]&&this.applyEvent(e,n)}}applyEvent(t,e){const{prevData:n,element:i}=this;this.eventData[t]=e,n[t]&&i.removeEventListener(t,this,e),i.addEventListener(t,this,e)}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&this.groomEvent(i,e[i])}groomEvent(t,e){const{element:n}=this;delete this.eventData[t],n.removeEventListener(t,this,e)}handleEvent(t){const e=this.eventData[t.type];typeof e=="function"?e.call(this.host,t):e.handleEvent(t)}disconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.removeEventListener(i,this,r)}}reconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.addEventListener(i,this,r)}}}class Io extends Oo{apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];if(r===e[i])continue;const s=i.slice(1);switch(i[0]){case"@":this.eventData[s]=r,this.applyEvent(s,r);break;case".":n[s]=r;break;case"?":r?n.setAttribute(s,""):n.removeAttribute(s);break;default:r!=null?n.setAttribute(i,String(r)):n.removeAttribute(i);break}}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e){const r=i.slice(1);if(!t||!(i in t)&&n[r]===e[i])switch(i[0]){case"@":this.groomEvent(r,e[i]);break;case".":n[r]=void 0;break;case"?":n.removeAttribute(r);break;default:n.removeAttribute(i);break}}}}const ge=Xt(Io);/**
170
170
  * @license
171
171
  * Copyright 2018 Google LLC
172
172
  * SPDX-License-Identifier: BSD-3-Clause
173
- */const S=o=>o??d;var Do=Object.defineProperty,Ho=Object.getOwnPropertyDescriptor,M=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ho(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Do(t,e,i),i};let A=class extends p{constructor(){super(...arguments),this.bgstyle="background-light",this.size="medium",this.status="empty",this.type="button",this.strokewidth="1",this.icon="wishlist",this.disabled=!1,this.showSrLabel=!1,this.srLabel=""}updated(o){super.updated(o),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){const o=V[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"'),n=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
173
+ */const A=o=>o??d;var Do=Object.defineProperty,Ho=Object.getOwnPropertyDescriptor,T=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ho(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Do(t,e,i),i};let B=class extends p{constructor(){super(...arguments),this.bgstyle="background-light",this.size="medium",this.status="empty",this.type="button",this.strokewidth="1",this.icon="wishlist",this.disabled=!1,this.showSrLabel=!1,this.srLabel=""}updated(o){super.updated(o),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){const o=V[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"'),n=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
174
174
  ${this.type==="span"?l`
175
175
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
176
- ${$(e)}
176
+ ${k(e)}
177
177
  </span>
178
178
  `:l`
179
179
  <button
180
180
  type="button"
181
- aria-label=${S(i)}
181
+ aria-label=${A(i)}
182
182
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
183
183
  ?disabled="${this.disabled}"
184
184
  >
185
- ${$(e)}
185
+ ${k(e)}
186
186
  ${n}
187
187
  </button>
188
188
  `}
189
- `}};A.styles=v`
189
+ `}};B.styles=v`
190
190
  :host {
191
191
  display: inline-flex;
192
192
  justify-content: center;
@@ -397,7 +397,7 @@
397
397
  .sr-only {
398
398
  display: none;
399
399
  }
400
- `;M([a({type:String,reflect:!0})],A.prototype,"bgstyle",2);M([a({type:String,reflect:!0})],A.prototype,"size",2);M([a({type:String,reflect:!0})],A.prototype,"status",2);M([a({type:String,reflect:!0})],A.prototype,"type",2);M([a({type:String})],A.prototype,"strokewidth",2);M([a({type:String})],A.prototype,"icon",2);M([a({type:Boolean,reflect:!0})],A.prototype,"disabled",2);M([a({type:Boolean})],A.prototype,"showSrLabel",2);M([a({type:String})],A.prototype,"srLabel",2);A=M([g("o-icon-button")],A);var Mo=Object.defineProperty,To=Object.getOwnPropertyDescriptor,b=(o,t,e,n)=>{for(var i=n>1?void 0:n?To(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Mo(t,e,i),i};let u=class extends p{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.headerTitleClassName="panel-title",this.labelDialog="",this.closeButtonLabel="Close the modal",this.goBackButtonLabel="Go back to",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.firstButtonProps={},this.onFirstButtonClickClose=!1,this.secondButtonLabel="",this.secondButtonVariant="secondary",this.secondButtonProps={},this.onSecondButtonClickClose=!1,this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.showDetail=!1,this.isHidingDetail=!1,this.previousFocusedElement=null,this._onOpenDetail=async o=>{var e,n;const t=((e=o.detail)==null?void 0:e.origin)??document.activeElement;if(this._detailOriginEl=t,this._detailOriginClass=(t==null?void 0:t.className)??"",this.showDetail=!0,this.showHeaderStartIcon=!0,await this.updateComplete,this._detailOriginClass){const i=(n=this.shadowRoot)==null?void 0:n.querySelector(".detail-view");i&&i.setAttribute("fromelement",this._detailOriginClass)}this._setPriceTabindex(),await this.focusDetailReturnBtn()},this._detailOriginEl=null,this._detailOriginClass="",this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))},this.handleClosePanel=o=>{if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;o.preventDefault(),o.stopPropagation();const t=o.currentTarget,e=(t==null?void 0:t.getAttribute("data-role"))==="back";if(this.showDetail&&e){this.isHidingDetail=!0;const n=this.renderRoot.querySelector(".content"),i=async()=>{this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1,await this.updateComplete,this._restoreFocusToOrigin()};if(n){this.showHeaderStartIcon=!1;const r=()=>{this.showDetail=!1,this.isHidingDetail=!1,n.removeEventListener("animationend",r),i()};n.addEventListener("animationend",r)}else this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1;return}this.closePanel()},this._onDetailSlotChange=o=>{const n=o.target.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll("img")))[0];n&&(n.setAttribute("role","img"),n.hasAttribute("tabindex")||n.setAttribute("tabindex","-1"))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),this.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0}),this.addEventListener("open-detail",this._onOpenDetail)}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback(),this.removeEventListener("open-detail",this._onOpenDetail)}async focusDetailReturnBtn(){var i,r,s,c,h;await this.updateComplete;const o=this.getDeepActiveElement(document);if(o&&o!==document.body)try{o.blur()}catch{}await new Promise(requestAnimationFrame);const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".detail-view .return-btn");if(!t)return;t.updateComplete&&await t.updateComplete,(c=(s=((r=t.shadowRoot)==null?void 0:r.querySelector("button"))??t)==null?void 0:s.focus)==null||c.call(s,{preventScroll:!0});const n=(h=this.shadowRoot)==null?void 0:h.querySelector('.panel[role="dialog"]');n&&n.setAttribute("aria-label",this.headerTitle)}_setPriceTabindex(){var n;const o=(n=this.shadowRoot)==null?void 0:n.querySelector('slot[name="detail"]');if(!o)return;const e=o.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll(".m-product-price-standard")));for(const i of e)i.hasAttribute("tabindex")||i.setAttribute("tabindex","0")}_restoreFocusToOrigin(){var t,e;const o=this._detailOriginEl;!o||!document.contains(o)||((e=(t=document.activeElement)==null?void 0:t.blur)==null||e.call(t),requestAnimationFrame(()=>{var i;o.classList.add("a--tabfocus"),(((i=o.shadowRoot)==null?void 0:i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])'))??null??o).focus({preventScroll:!0})}))}getDeepActiveElement(o=this.shadowRoot){let t=o.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}trapFocus(o){if(o.key!=="Tab")return;const t=this.getDeepActiveElement(),e=this.renderRoot.querySelector(".close-btn");if(!o.shiftKey&&e&&e.contains(t)){o.preventDefault();const n=this.renderRoot.querySelector(".o-whats-inside--content p");n==null||n.focus()}}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");if(!o)return[];function t(i){return!(i.disabled||i.hasAttribute("disabled")||i.hasAttribute("tabindex")&&i.getAttribute("tabindex")==="-1")}function e(i){var s;const r=[i.matches(u.focusablesSelector)?i:[]];if(!["o-icon-button","o-button"].includes(i.tagName.toLowerCase())){const c=Array.from(i instanceof HTMLSlotElement?i.assignedElements({flatten:!0}):[]).filter(t).flatMap(e),h=Array.from(((s=i.shadowRoot)==null?void 0:s.querySelectorAll("*"))||[]).filter(t).flatMap(e);r.push(...c,...h)}return r.flat()}return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e)}openPanel(){this.removeAttribute("hidden"),this.getBoundingClientRect(),this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open");const o=this.renderRoot.querySelector(".panel");o&&o.setAttribute("aria-modal","true"),this.updateComplete.then(()=>{var t,e,n,i;if(this.showHeader){const r=((t=this.shadowRoot)==null?void 0:t.querySelector(".panel .close-btn"))||null,s=((e=r==null?void 0:r.shadowRoot)==null?void 0:e.querySelector("button"))||null;s&&((n=s.focus)==null||n.call(s))}else{const r=this.getFocusableElements()[0];(i=r==null?void 0:r.focus)==null||i.call(r)}}),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}closePanel(){var t,e,n,i,r;this.open=!1,this.showDetail=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),((t=this.previousFocusedElement)==null?void 0:t.tagName.toLowerCase())==="o-button"?(i=(n=(e=this.previousFocusedElement.shadowRoot)==null?void 0:e.querySelector(".button"))==null?void 0:n.focus)==null||i.call(n):(r=this.previousFocusedElement)==null||r.focus();const o=this.renderRoot.querySelector(".panel");o&&o.removeAttribute("aria-modal"),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onFirstButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("firstbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"first",target:o.target}})))}handleSecondClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onSecondButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("secondbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"second",target:o.target}})))}updated(){this.style.setProperty("--z-overlay",`${this.zIndex||99}`),this.style.setProperty("--z-panel",`${this.zIndex?this.zIndex+1:99}`),this.open||setTimeout(()=>{this.setAttribute("hidden","hidden")},500)}render(){const o=this.showHeader?l`
400
+ `;T([a({type:String,reflect:!0})],B.prototype,"bgstyle",2);T([a({type:String,reflect:!0})],B.prototype,"size",2);T([a({type:String,reflect:!0})],B.prototype,"status",2);T([a({type:String,reflect:!0})],B.prototype,"type",2);T([a({type:String})],B.prototype,"strokewidth",2);T([a({type:String})],B.prototype,"icon",2);T([a({type:Boolean,reflect:!0})],B.prototype,"disabled",2);T([a({type:Boolean})],B.prototype,"showSrLabel",2);T([a({type:String})],B.prototype,"srLabel",2);B=T([g("o-icon-button")],B);var Mo=Object.defineProperty,To=Object.getOwnPropertyDescriptor,b=(o,t,e,n)=>{for(var i=n>1?void 0:n?To(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Mo(t,e,i),i};let u=class extends p{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.headerTitleClassName="panel-title",this.labelDialog="",this.closeButtonLabel="Close the modal",this.goBackButtonLabel="Go back to",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.firstButtonProps={},this.onFirstButtonClickClose=!1,this.secondButtonLabel="",this.secondButtonVariant="secondary",this.secondButtonProps={},this.onSecondButtonClickClose=!1,this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.showDetail=!1,this.isHidingDetail=!1,this.previousFocusedElement=null,this._onOpenDetail=async o=>{var e,n;const t=((e=o.detail)==null?void 0:e.origin)??document.activeElement;if(this._detailOriginEl=t,this._detailOriginClass=(t==null?void 0:t.className)??"",this.showDetail=!0,this.showHeaderStartIcon=!0,await this.updateComplete,this._detailOriginClass){const i=(n=this.shadowRoot)==null?void 0:n.querySelector(".detail-view");i&&i.setAttribute("fromelement",this._detailOriginClass)}this._setPriceTabindex(),await this.focusDetailReturnBtn()},this._detailOriginEl=null,this._detailOriginClass="",this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))},this.handleClosePanel=o=>{if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;o.preventDefault(),o.stopPropagation();const t=o.currentTarget,e=(t==null?void 0:t.getAttribute("data-role"))==="back";if(this.showDetail&&e){this.isHidingDetail=!0;const n=this.renderRoot.querySelector(".content"),i=async()=>{this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1,await this.updateComplete,this._restoreFocusToOrigin()};if(n){this.showHeaderStartIcon=!1;const r=()=>{this.showDetail=!1,this.isHidingDetail=!1,n.removeEventListener("animationend",r),i()};n.addEventListener("animationend",r)}else this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1;return}this.closePanel()},this._onDetailSlotChange=o=>{const n=o.target.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll("img")))[0];n&&(n.setAttribute("role","img"),n.hasAttribute("tabindex")||n.setAttribute("tabindex","-1"))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),this.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0}),this.addEventListener("open-detail",this._onOpenDetail)}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback(),this.removeEventListener("open-detail",this._onOpenDetail)}async focusDetailReturnBtn(){var i,r,s,c,h;await this.updateComplete;const o=this.getDeepActiveElement(document);if(o&&o!==document.body)try{o.blur()}catch{}await new Promise(requestAnimationFrame);const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".detail-view .return-btn");if(!t)return;t.updateComplete&&await t.updateComplete,(c=(s=((r=t.shadowRoot)==null?void 0:r.querySelector("button"))??t)==null?void 0:s.focus)==null||c.call(s,{preventScroll:!0});const n=(h=this.shadowRoot)==null?void 0:h.querySelector('.panel[role="dialog"]');n&&n.setAttribute("aria-label",this.headerTitle)}_setPriceTabindex(){var n;const o=(n=this.shadowRoot)==null?void 0:n.querySelector('slot[name="detail"]');if(!o)return;const e=o.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll(".m-product-price-standard")));for(const i of e)i.hasAttribute("tabindex")||i.setAttribute("tabindex","0")}_restoreFocusToOrigin(){var t,e;const o=this._detailOriginEl;!o||!document.contains(o)||((e=(t=document.activeElement)==null?void 0:t.blur)==null||e.call(t),requestAnimationFrame(()=>{var i;o.classList.add("a--tabfocus"),(((i=o.shadowRoot)==null?void 0:i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])'))??null??o).focus({preventScroll:!0})}))}getDeepActiveElement(o=this.shadowRoot){let t=o.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}trapFocus(o){if(o.key!=="Tab")return;const t=this.getDeepActiveElement(),e=this.renderRoot.querySelector(".close-btn");if(!o.shiftKey&&e&&e.contains(t)){o.preventDefault();const n=this.renderRoot.querySelector(".o-whats-inside--content p");n==null||n.focus()}}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");if(!o)return[];function t(i){return!(i.disabled||i.hasAttribute("disabled")||i.hasAttribute("tabindex")&&i.getAttribute("tabindex")==="-1")}function e(i){var s;const r=[i.matches(u.focusablesSelector)?i:[]];if(!["o-icon-button","o-button"].includes(i.tagName.toLowerCase())){const c=Array.from(i instanceof HTMLSlotElement?i.assignedElements({flatten:!0}):[]).filter(t).flatMap(e),h=Array.from(((s=i.shadowRoot)==null?void 0:s.querySelectorAll("*"))||[]).filter(t).flatMap(e);r.push(...c,...h)}return r.flat()}return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e)}openPanel(){this.removeAttribute("hidden"),this.getBoundingClientRect(),this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open");const o=this.renderRoot.querySelector(".panel");o&&o.setAttribute("aria-modal","true"),this.updateComplete.then(()=>{var t,e,n,i;if(this.showHeader){const r=((t=this.shadowRoot)==null?void 0:t.querySelector(".panel .close-btn"))||null,s=((e=r==null?void 0:r.shadowRoot)==null?void 0:e.querySelector("button"))||null;s&&((n=s.focus)==null||n.call(s))}else{const r=this.getFocusableElements()[0];(i=r==null?void 0:r.focus)==null||i.call(r)}}),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}closePanel(){var t,e,n,i,r;this.open=!1,this.showDetail=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),((t=this.previousFocusedElement)==null?void 0:t.tagName.toLowerCase())==="o-button"?(i=(n=(e=this.previousFocusedElement.shadowRoot)==null?void 0:e.querySelector(".button"))==null?void 0:n.focus)==null||i.call(n):(r=this.previousFocusedElement)==null||r.focus();const o=this.renderRoot.querySelector(".panel");o&&o.removeAttribute("aria-modal"),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onFirstButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("firstbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"first",target:o.target}})))}handleSecondClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onSecondButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("secondbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"second",target:o.target}})))}updated(){this.style.setProperty("--z-overlay",`${this.zIndex||99}`),this.style.setProperty("--z-panel",`${this.zIndex?this.zIndex+1:99}`),this.open||setTimeout(()=>{this.setAttribute("hidden","hidden")},500)}render(){const o=this.showHeader?l`
401
401
  <div tabindex="-1" class="header ${this.showDetail?"detail-view-header":""}">
402
402
  ${this.showHeaderStartIcon?l`
403
403
  <o-icon-button
@@ -680,7 +680,7 @@
680
680
  .detail-content {
681
681
  padding: var(--spacing-xl);
682
682
  }
683
- `;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";b([a({type:Boolean,reflect:!0})],u.prototype,"open",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitleClassName",2);b([a({type:String,reflect:!0})],u.prototype,"labelDialog",2);b([a({type:String,reflect:!0})],u.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"goBackButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"firstButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onFirstButtonClickClose",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"secondButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onSecondButtonClickClose",2);b([a({type:Boolean,reflect:!0})],u.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],u.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],u.prototype,"initialized",2);b([a({type:Boolean})],u.prototype,"showDetail",2);b([a({type:Boolean})],u.prototype,"isHidingDetail",2);u=b([g("o-side-panel")],u);var jo=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,x=(o,t,e,n)=>{for(var i=n>1?void 0:n?Fo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&jo(t,e,i),i};const Ro=Wt(p);let y=class extends Ro{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="",this.endIconModel="",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target="",this.underlined=!1,this.withbadge=!1}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[Kt].form}handleClick(o){if(!(o instanceof KeyboardEvent&&!["Enter"," "].includes(o.key))&&this.panelTarget){const t=document.getElementById(this.panelTarget);t instanceof u&&(t!=null&&t.openPanel)&&typeof t.openPanel=="function"?(o.preventDefault(),t.openPanel()):console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`)}}render(){return this.href?this.renderLink():this.renderButton()}renderIcon(o){const t=o==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=V[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${$(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
683
+ `;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";b([a({type:Boolean,reflect:!0})],u.prototype,"open",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitleClassName",2);b([a({type:String,reflect:!0})],u.prototype,"labelDialog",2);b([a({type:String,reflect:!0})],u.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"goBackButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"firstButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onFirstButtonClickClose",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"secondButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onSecondButtonClickClose",2);b([a({type:Boolean,reflect:!0})],u.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],u.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],u.prototype,"initialized",2);b([a({type:Boolean})],u.prototype,"showDetail",2);b([a({type:Boolean})],u.prototype,"isHidingDetail",2);u=b([g("o-side-panel")],u);var jo=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,x=(o,t,e,n)=>{for(var i=n>1?void 0:n?Fo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&jo(t,e,i),i};const Ro=Wt(p);let y=class extends Ro{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="",this.endIconModel="",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target="",this.underlined=!1,this.withbadge=!1}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[Kt].form}handleClick(o){if(!(o instanceof KeyboardEvent&&!["Enter"," "].includes(o.key))&&this.panelTarget){const t=document.getElementById(this.panelTarget);t instanceof u&&(t!=null&&t.openPanel)&&typeof t.openPanel=="function"?(o.preventDefault(),t.openPanel()):console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`)}}render(){return this.href?this.renderLink():this.renderButton()}renderIcon(o){const t=o==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=V[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${k(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
684
684
  <button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}>
685
685
  ${this.startIcon?this.renderIcon("start"):d}
686
686
  ${o?l`
@@ -909,10 +909,10 @@
909
909
  transform: translateX(4px);
910
910
  }
911
911
  //End icon movment on hover
912
- `;x([a()],y.prototype,"type",2);x([a()],y.prototype,"value",2);x([a({type:String,reflect:!0})],y.prototype,"variant",2);x([a({type:String})],y.prototype,"text",2);x([a({type:String})],y.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],y.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],y.prototype,"disabled",2);x([a({type:String})],y.prototype,"startIconModel",2);x([a({type:String})],y.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],y.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],y.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget"})],y.prototype,"panelTarget",2);x([a({type:String})],y.prototype,"href",2);x([a({type:String})],y.prototype,"target",2);x([a({type:Boolean,reflect:!0})],y.prototype,"underlined",2);x([a({type:Boolean,reflect:!0})],y.prototype,"withbadge",2);y=x([g("o-button")],y);var Uo=Object.defineProperty,No=Object.getOwnPropertyDescriptor,Ot=(o,t,e,n)=>{for(var i=n>1?void 0:n?No(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Uo(t,e,i),i};let ct=class extends p{constructor(){super(...arguments),this.status="empty",this.ariaDescribedBy="a-product-name",this.label="Add to wishlist",this.toggleStatus=()=>{this.status=this.status==="empty"?"filled":"empty",this.setAttribute("aria-pressed",String(this.status==="filled")),this.dispatchEvent(new CustomEvent("wishlist-toggle",{detail:{status:this.status},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("aria-pressed",String(this.status==="filled"))}firstUpdated(){this.addEventListener("click",this.toggleStatus),this.addEventListener("keydown",this.handleKeydown)}handleKeydown(o){(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.toggleStatus())}render(){const o=V.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
912
+ `;x([a()],y.prototype,"type",2);x([a()],y.prototype,"value",2);x([a({type:String,reflect:!0})],y.prototype,"variant",2);x([a({type:String})],y.prototype,"text",2);x([a({type:String})],y.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],y.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],y.prototype,"disabled",2);x([a({type:String})],y.prototype,"startIconModel",2);x([a({type:String})],y.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],y.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],y.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget"})],y.prototype,"panelTarget",2);x([a({type:String})],y.prototype,"href",2);x([a({type:String})],y.prototype,"target",2);x([a({type:Boolean,reflect:!0})],y.prototype,"underlined",2);x([a({type:Boolean,reflect:!0})],y.prototype,"withbadge",2);y=x([g("o-button")],y);var Uo=Object.defineProperty,No=Object.getOwnPropertyDescriptor,zt=(o,t,e,n)=>{for(var i=n>1?void 0:n?No(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Uo(t,e,i),i};let ct=class extends p{constructor(){super(...arguments),this.status="empty",this.ariaDescribedBy="a-product-name",this.label="Add to wishlist",this.toggleStatus=()=>{this.status=this.status==="empty"?"filled":"empty",this.setAttribute("aria-pressed",String(this.status==="filled")),this.dispatchEvent(new CustomEvent("wishlist-toggle",{detail:{status:this.status},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("aria-pressed",String(this.status==="filled"))}firstUpdated(){this.addEventListener("click",this.toggleStatus),this.addEventListener("keydown",this.handleKeydown)}handleKeydown(o){(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.toggleStatus())}render(){const o=V.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
913
913
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
914
914
  <span class="sr-only">${this.label}</span>
915
- ${$(o)}
915
+ ${k(o)}
916
916
  </button>
917
917
  `}setStatus(o){this.status=o,this.setAttribute("aria-pressed",String(this.status==="filled")),this.requestUpdate()}setAriaDescribedBy(o){this.ariaDescribedBy=o,this.requestUpdate()}setLabel(o){this.label=o,this.requestUpdate()}};ct.styles=v`
918
918
  :host {
@@ -978,10 +978,10 @@
978
978
  width: 0.1rem !important;
979
979
  white-space: nowrap !important;
980
980
  }
981
- `;Ot([a({type:String,reflect:!0})],ct.prototype,"status",2);Ot([a({type:String,reflect:!0})],ct.prototype,"ariaDescribedBy",2);Ot([a({type:String,reflect:!0})],ct.prototype,"label",2);ct=Ot([g("o-wishlist-button")],ct);var Vo=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,st=(o,t,e,n)=>{for(var i=n>1?void 0:n?qo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Vo(t,e,i),i};let q=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault(),this.dispatchEvent(new CustomEvent("click",{detail:{href:this.href},bubbles:!0,composed:!0}))}render(){const o=this.href||"#";return l`
981
+ `;zt([a({type:String,reflect:!0})],ct.prototype,"status",2);zt([a({type:String,reflect:!0})],ct.prototype,"ariaDescribedBy",2);zt([a({type:String,reflect:!0})],ct.prototype,"label",2);ct=zt([g("o-wishlist-button")],ct);var Vo=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,st=(o,t,e,n)=>{for(var i=n>1?void 0:n?qo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Vo(t,e,i),i};let q=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault(),this.dispatchEvent(new CustomEvent("click",{detail:{href:this.href},bubbles:!0,composed:!0}))}render(){const o=this.href||"#";return l`
982
982
  <a
983
983
  href="${o}"
984
- target="${S(this.target||void 0)}"
984
+ target="${A(this.target||void 0)}"
985
985
  @click="${this._handleClick}"
986
986
  >
987
987
  ${this.endIcon&&this.reverseEndIcon?l`
@@ -1091,10 +1091,10 @@
1091
1091
  height: 1px;
1092
1092
  }
1093
1093
  /* End of underline effect */
1094
- `;st([a({type:String})],q.prototype,"href",2);st([a({type:String})],q.prototype,"target",2);st([a({type:String,reflect:!0})],q.prototype,"template",2);st([a({type:Boolean,reflect:!0})],q.prototype,"inverse",2);st([a({type:Boolean,reflect:!0})],q.prototype,"endIcon",2);st([a({type:Boolean,reflect:!0})],q.prototype,"reverseEndIcon",2);q=st([g("o-link")],q);var Zo=Object.defineProperty,Ko=Object.getOwnPropertyDescriptor,zt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ko(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Zo(t,e,i),i};let ht=class extends p{constructor(){super(...arguments),this.rating=0}getStarKeys(){const o=[];for(let t=0;t<5;t++){const e=this.rating-t;let n;e>=1?n=100:e<=0?n=0:n=Math.round(e*100/25)*25,o.push(`star-${n}`)}return o}render(){const o=this.getStarKeys();return l`
1094
+ `;st([a({type:String})],q.prototype,"href",2);st([a({type:String})],q.prototype,"target",2);st([a({type:String,reflect:!0})],q.prototype,"template",2);st([a({type:Boolean,reflect:!0})],q.prototype,"inverse",2);st([a({type:Boolean,reflect:!0})],q.prototype,"endIcon",2);st([a({type:Boolean,reflect:!0})],q.prototype,"reverseEndIcon",2);q=st([g("o-link")],q);var Zo=Object.defineProperty,Ko=Object.getOwnPropertyDescriptor,Ot=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ko(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Zo(t,e,i),i};let ht=class extends p{constructor(){super(...arguments),this.rating=0}getStarKeys(){const o=[];for(let t=0;t<5;t++){const e=this.rating-t;let n;e>=1?n=100:e<=0?n=0:n=Math.round(e*100/25)*25,o.push(`star-${n}`)}return o}render(){const o=this.getStarKeys();return l`
1095
1095
  <div class="rating">
1096
1096
  <div class="stars">
1097
- ${o.map(t=>l`<span class="star">${$(V[t]??"")}</span>`)}
1097
+ ${o.map(t=>l`<span class="star">${k(V[t]??"")}</span>`)}
1098
1098
  </div>
1099
1099
  ${this.reviewCount!=null&&this.href!=null?l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>`:null}
1100
1100
  </div>
@@ -1131,7 +1131,7 @@
1131
1131
  text-decoration: underline;
1132
1132
  cursor: pointer;
1133
1133
  }
1134
- `;zt([a({type:Number})],ht.prototype,"rating",2);zt([a({type:String})],ht.prototype,"reviewCount",2);zt([a({type:String})],ht.prototype,"href",2);ht=zt([g("o-rating")],ht);var Wo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,Q=(o,t,e,n)=>{for(var i=n>1?void 0:n?Go(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Wo(t,e,i),i};let H=class extends p{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
1134
+ `;Ot([a({type:Number})],ht.prototype,"rating",2);Ot([a({type:String})],ht.prototype,"reviewCount",2);Ot([a({type:String})],ht.prototype,"href",2);ht=Ot([g("o-rating")],ht);var Wo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,Q=(o,t,e,n)=>{for(var i=n>1?void 0:n?Go(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Wo(t,e,i),i};let M=class extends p{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
1135
1135
  <o-icon-button
1136
1136
  icon="playerv"
1137
1137
  size="xsmall"
@@ -1160,7 +1160,7 @@
1160
1160
  </li>
1161
1161
  `})}
1162
1162
  </ul>
1163
- `}};H.styles=v`
1163
+ `}};M.styles=v`
1164
1164
  :host {
1165
1165
  display: flex;
1166
1166
  gap: 5px;
@@ -1265,7 +1265,7 @@
1265
1265
  height: 0;
1266
1266
  width: 0;
1267
1267
  }
1268
- `;Q([a({type:Array})],H.prototype,"thumbnails",2);Q([a({type:Number})],H.prototype,"activeIndex",2);Q([a({type:Array})],H.prototype,"disabledIndexes",2);Q([a({type:String})],H.prototype,"maxWidth",2);Q([a({type:String})],H.prototype,"altressource",2);Q([a({type:Object})],H.prototype,"swiperInstance",2);Q([J()],H.prototype,"focusedIndex",2);H=Q([g("thumbnail-navigation")],H);var Xo=Object.defineProperty,Yo=Object.getOwnPropertyDescriptor,Jt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Yo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Xo(t,e,i),i};let yt=class extends p{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1268
+ `;Q([a({type:Array})],M.prototype,"thumbnails",2);Q([a({type:Number})],M.prototype,"activeIndex",2);Q([a({type:Array})],M.prototype,"disabledIndexes",2);Q([a({type:String})],M.prototype,"maxWidth",2);Q([a({type:String})],M.prototype,"altressource",2);Q([a({type:Object})],M.prototype,"swiperInstance",2);Q([J()],M.prototype,"focusedIndex",2);M=Q([g("thumbnail-navigation")],M);var Xo=Object.defineProperty,Yo=Object.getOwnPropertyDescriptor,Jt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Yo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Xo(t,e,i),i};let yt=class extends p{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1269
1269
  <span class="tag ${this.bgstyle}"><slot></slot></span>
1270
1270
  `}};yt.styles=v`
1271
1271
  .tag {
@@ -1421,7 +1421,7 @@
1421
1421
  border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
1422
1422
  }
1423
1423
 
1424
- `;Qt([a({type:String,reflect:!0})],mt.prototype,"type",2);Qt([a({type:String,reflect:!0})],mt.prototype,"text",2);mt=Qt([g("o-tooltip")],mt);var ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,Z=(o,t,e,n)=>{for(var i=n>1?void 0:n?ei(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ti(t,e,i),i};let I=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>{this._focusActiveOption()})}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(o){this.options.length>0&&(this.options.some(e=>e.value===this.value)||(this.value=this.options[0].value))}render(){const o=V.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1424
+ `;Qt([a({type:String,reflect:!0})],mt.prototype,"type",2);Qt([a({type:String,reflect:!0})],mt.prototype,"text",2);mt=Qt([g("o-tooltip")],mt);var ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,Z=(o,t,e,n)=>{for(var i=n>1?void 0:n?ei(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ti(t,e,i),i};let D=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>{this._focusActiveOption()})}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(o){this.options.length>0&&(this.options.some(e=>e.value===this.value)||(this.value=this.options[0].value))}render(){const o=V.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1425
1425
  <button
1426
1426
  role="combobox"
1427
1427
  aria-haspopup="listbox"
@@ -1461,15 +1461,15 @@
1461
1461
  ${e.url?l`
1462
1462
  <a href="${e.url}">
1463
1463
  <span>${e.label}</span>
1464
- ${e.value===this.value?l`<span class="check">${$(o)}</span>`:null}
1464
+ ${e.value===this.value?l`<span class="check">${k(o)}</span>`:null}
1465
1465
  </a>`:l`
1466
1466
  <span>${e.label}</span>
1467
- ${e.value===this.value?l`<span class="check">${$(o)}</span>`:null}`}
1467
+ ${e.value===this.value?l`<span class="check">${k(o)}</span>`:null}`}
1468
1468
  </li>`)}
1469
1469
  </ul>`:null}
1470
1470
 
1471
1471
  <input type="hidden" name="${this.name}" .value="${this.value}" />
1472
- `}};I.styles=v`
1472
+ `}};D.styles=v`
1473
1473
  :host {
1474
1474
  display: inline-block;
1475
1475
  position: relative;
@@ -1608,7 +1608,7 @@
1608
1608
  input[type="hidden"] {
1609
1609
  display: none;
1610
1610
  }
1611
- `;Z([a({type:Array,reflect:!0})],I.prototype,"options",2);Z([a({type:String,reflect:!0})],I.prototype,"value",2);Z([a({type:String,reflect:!0})],I.prototype,"name",2);Z([a({type:Boolean,reflect:!0})],I.prototype,"disabled",2);Z([a({type:String,reflect:!0})],I.prototype,"width",2);Z([J()],I.prototype,"open",2);Z([J()],I.prototype,"activeIndex",2);Z([J()],I.prototype,"menuWidth",2);I=Z([g("o-dropdown")],I);var oi=Object.getOwnPropertyDescriptor,ii=(o,t,e,n)=>{for(var i=n>1?void 0:n?oi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let Rt=class extends p{render(){return l` <span class="dots"></span> `}};Rt.styles=v`
1611
+ `;Z([a({type:Array,reflect:!0})],D.prototype,"options",2);Z([a({type:String,reflect:!0})],D.prototype,"value",2);Z([a({type:String,reflect:!0})],D.prototype,"name",2);Z([a({type:Boolean,reflect:!0})],D.prototype,"disabled",2);Z([a({type:String,reflect:!0})],D.prototype,"width",2);Z([J()],D.prototype,"open",2);Z([J()],D.prototype,"activeIndex",2);Z([J()],D.prototype,"menuWidth",2);D=Z([g("o-dropdown")],D);var oi=Object.getOwnPropertyDescriptor,ii=(o,t,e,n)=>{for(var i=n>1?void 0:n?oi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let Rt=class extends p{render(){return l` <span class="dots"></span> `}};Rt.styles=v`
1612
1612
  :host {
1613
1613
  display: flex;
1614
1614
  align-items: center;
@@ -1659,7 +1659,7 @@
1659
1659
  background-color: var(--color-container-action-primary-pressed);
1660
1660
  }
1661
1661
  }
1662
- `;Rt=ii([g("o-dots")],Rt);var ni=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,T=(o,t,e,n)=>{for(var i=n>1?void 0:n?ri(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ni(t,e,i),i};let L=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.additionaltext="+X variant(s)",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>this._focusActiveOption())}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(){this.options.length>0&&(this.options.some(t=>t.value===this.value)||(this.value=this.options[0].value))}render(){const o=V.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1662
+ `;Rt=ii([g("o-dots")],Rt);var ni=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,j=(o,t,e,n)=>{for(var i=n>1?void 0:n?ri(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ni(t,e,i),i};let L=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.additionaltext="+X variant(s)",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>this._focusActiveOption())}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(){this.options.length>0&&(this.options.some(t=>t.value===this.value)||(this.value=this.options[0].value))}render(){const o=V.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1663
1663
  <button
1664
1664
  role="combobox"
1665
1665
  aria-haspopup="listbox"
@@ -1673,7 +1673,7 @@
1673
1673
  ?disabled=${this.disabled}
1674
1674
  class="btn-dropdown"
1675
1675
  >
1676
- <img alt="${S(t==null?void 0:t.label)}" src="${S(t==null?void 0:t.imgurl)}" />
1676
+ <img alt="${A(t==null?void 0:t.label)}" src="${A(t==null?void 0:t.imgurl)}" />
1677
1677
  <span id="dropdown-label" class="label">
1678
1678
  ${t?t.label:"Select an option"}
1679
1679
  </span>
@@ -1707,13 +1707,13 @@
1707
1707
  class="${n===this.activeIndex?"active":""} ${e.disabled?"disabled":""}"
1708
1708
  @click=${()=>this.selectOption(e)}
1709
1709
  >
1710
- <a href="${S(e.url)}">
1711
- <img alt="${S(e.label)}" src="${S(e.imgurl)}" />
1710
+ <a href="${A(e.url)}">
1711
+ <img alt="${A(e.label)}" src="${A(e.imgurl)}" />
1712
1712
  <span class="label">${e.label}</span>
1713
1713
  <div class="right">
1714
- <span class="additional-text">${S(e.additionaltext)}</span>
1714
+ <span class="additional-text">${A(e.additionaltext)}</span>
1715
1715
  ${e.value===this.value&&!e.additionaltext?l`
1716
- <span class="check">${$(o)}</span>`:null}
1716
+ <span class="check">${k(o)}</span>`:null}
1717
1717
  </div>
1718
1718
  </a>
1719
1719
  </li>
@@ -1896,17 +1896,17 @@
1896
1896
  input[type="hidden"] {
1897
1897
  display: none;
1898
1898
  }
1899
- `;T([a({type:Array,reflect:!0})],L.prototype,"options",2);T([a({type:String,reflect:!0})],L.prototype,"value",2);T([a({type:String,reflect:!0})],L.prototype,"name",2);T([a({type:String,reflect:!0})],L.prototype,"additionaltext",2);T([a({type:Boolean,reflect:!0})],L.prototype,"disabled",2);T([a({type:String,reflect:!0})],L.prototype,"width",2);T([J()],L.prototype,"open",2);T([J()],L.prototype,"activeIndex",2);T([J()],L.prototype,"menuWidth",2);L=T([g("o-dropdown-variant")],L);/**
1899
+ `;j([a({type:Array,reflect:!0})],L.prototype,"options",2);j([a({type:String,reflect:!0})],L.prototype,"value",2);j([a({type:String,reflect:!0})],L.prototype,"name",2);j([a({type:String,reflect:!0})],L.prototype,"additionaltext",2);j([a({type:Boolean,reflect:!0})],L.prototype,"disabled",2);j([a({type:String,reflect:!0})],L.prototype,"width",2);j([J()],L.prototype,"open",2);j([J()],L.prototype,"activeIndex",2);j([J()],L.prototype,"menuWidth",2);L=j([g("o-dropdown-variant")],L);/**
1900
1900
  * @license
1901
1901
  * Copyright 2018 Google LLC
1902
1902
  * SPDX-License-Identifier: BSD-3-Clause
1903
1903
  */const Ce="important",si=" !"+Ce,ai=Xt(class extends Yt{constructor(o){var t;if(super(o),o.type!==Gt.ATTRIBUTE||o.name!=="style"||((t=o.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{const n=o[e];return n==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[t]){const{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?e.removeProperty(n):e[n]=null);for(const n in t){const i=t[n];if(i!=null){this.ft.add(n);const r=typeof i=="string"&&i.endsWith(si);n.includes("-")||r?e.setProperty(n,r?i.slice(0,-11):i,r?Ce:""):e[n]=i}}return Y}});var li=Object.defineProperty,ci=Object.getOwnPropertyDescriptor,te=(o,t,e,n)=>{for(var i=n>1?void 0:n?ci(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&li(t,e,i),i};let xt=class extends p{constructor(){super(...arguments),this.option={},this.imageSize=64}render(){const o=s=>{const c=document.createElement("textarea");return c.innerHTML=s,c.value},t=this.option&&this.option.clickable,e={width:`${this.imageSize}px`,height:`${this.imageSize}px`},n=this.option&&this.option.title?o(this.option.title):"",i=this.option&&this.option.description?o(this.option.description):"",r=l`
1904
- ${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${S(n)}" aria-hidden="true" style=${ai(e)} />`:""}
1904
+ ${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${A(n)}" aria-hidden="true" style=${ai(e)} />`:""}
1905
1905
  <div class="m-reassurance-content">
1906
- <h3 class="a-reassurance-text">${S(n)}</h3>
1907
- <p class="a-reassurance-description">${S(i)}</p>
1906
+ <h3 class="a-reassurance-text">${A(n)}</h3>
1907
+ <p class="a-reassurance-description">${A(i)}</p>
1908
1908
  </div>
1909
- `;return t?l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${r}</a>`:l`<div class="reassurance-item">${r}</div>`}};xt.styles=v`
1909
+ `;return t?l`<a href="${A(this.option.url)}" class="reassurance-item clickable">${r}</a>`:l`<div class="reassurance-item">${r}</div>`}};xt.styles=v`
1910
1910
  :host {
1911
1911
  display: inline-block;
1912
1912
  position: relative;
@@ -1987,7 +1987,7 @@
1987
1987
  overflow: hidden;
1988
1988
  }
1989
1989
  }
1990
- `;te([a({type:Object,reflect:!0})],xt.prototype,"option",2);te([a({type:Number,reflect:!0})],xt.prototype,"imageSize",2);xt=te([g("o-reassurance")],xt);var hi=Object.defineProperty,di=Object.getOwnPropertyDescriptor,K=(o,t,e,n)=>{for(var i=n>1?void 0:n?di(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&hi(t,e,i),i};const pi=Wt(p);let B=class extends pi{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1,this.inactive=!1}handleClick(o){this.selected||(this.selected=!0);const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}render(){const o=this.text;return this.link?l`
1990
+ `;te([a({type:Object,reflect:!0})],xt.prototype,"option",2);te([a({type:Number,reflect:!0})],xt.prototype,"imageSize",2);xt=te([g("o-reassurance")],xt);var hi=Object.defineProperty,di=Object.getOwnPropertyDescriptor,K=(o,t,e,n)=>{for(var i=n>1?void 0:n?di(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&hi(t,e,i),i};const pi=Wt(p);let P=class extends pi{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1,this.inactive=!1}handleClick(o){this.selected||(this.selected=!0);const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}render(){const o=this.text;return this.link?l`
1991
1991
  <a href="${this.link}" class="o-chip" tabindex="${this.inactive?"-1":"0"}" aria-hidden="${this.inactive?"true":"false"}">
1992
1992
  ${o?this.text:l`<slot></slot>`}
1993
1993
  </a>
@@ -1996,7 +1996,7 @@
1996
1996
  aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
1997
1997
  ${o?this.text:l`<slot></slot>`}
1998
1998
  </button>
1999
- `}};B.styles=v`
1999
+ `}};P.styles=v`
2000
2000
  :host {
2001
2001
  cursor: pointer;
2002
2002
  display: inline-flex;
@@ -2085,7 +2085,7 @@
2085
2085
  display: inline-flex;
2086
2086
  align-items: center;
2087
2087
  }
2088
- `;K([a({type:String,reflect:!0})],B.prototype,"link",2);K([a({reflect:!0})],B.prototype,"name",2);K([a({reflect:!0})],B.prototype,"value",2);K([a({type:String})],B.prototype,"text",2);K([a({type:String,reflect:!0})],B.prototype,"size",2);K([a({type:Boolean,reflect:!0})],B.prototype,"selected",2);K([a({type:Boolean,reflect:!0})],B.prototype,"fullwidth",2);K([a({type:Boolean,reflect:!0})],B.prototype,"inactive",2);B=K([g("o-chip")],B);var ui=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,ee=(o,t,e,n)=>{for(var i=n>1?void 0:n?vi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ui(t,e,i),i};let wt=class extends p{constructor(){super(),this.name="",this.value="",this.addEventListener("selected",this.onChipSelected)}onChipSelected(o){const t=o.target instanceof B?o.target:null;t!=null&&t.link||(this.name=(t==null?void 0:t.name)||"",this.value=(t==null?void 0:t.value)||"",this.querySelectorAll("o-chip").forEach(e=>{e!==t&&(e.selected=!1)}))}render(){return l`
2088
+ `;K([a({type:String,reflect:!0})],P.prototype,"link",2);K([a({reflect:!0})],P.prototype,"name",2);K([a({reflect:!0})],P.prototype,"value",2);K([a({type:String})],P.prototype,"text",2);K([a({type:String,reflect:!0})],P.prototype,"size",2);K([a({type:Boolean,reflect:!0})],P.prototype,"selected",2);K([a({type:Boolean,reflect:!0})],P.prototype,"fullwidth",2);K([a({type:Boolean,reflect:!0})],P.prototype,"inactive",2);P=K([g("o-chip")],P);var ui=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,ee=(o,t,e,n)=>{for(var i=n>1?void 0:n?vi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ui(t,e,i),i};let wt=class extends p{constructor(){super(),this.name="",this.value="",this.addEventListener("selected",this.onChipSelected)}onChipSelected(o){const t=o.target instanceof P?o.target:null;t!=null&&t.link||(this.name=(t==null?void 0:t.name)||"",this.value=(t==null?void 0:t.value)||"",this.querySelectorAll("o-chip").forEach(e=>{e!==t&&(e.selected=!1)}))}render(){return l`
2089
2089
  <slot></slot>
2090
2090
  `}};wt.styles=v`
2091
2091
  :host {
@@ -2094,7 +2094,7 @@
2094
2094
  flex-wrap: wrap;
2095
2095
  gap: var(--spacing-s);
2096
2096
  }
2097
- `;ee([a({reflect:!0})],wt.prototype,"name",2);ee([a({reflect:!0})],wt.prototype,"value",2);wt=ee([g("o-chipset")],wt);var fi=Object.defineProperty,gi=Object.getOwnPropertyDescriptor,j=(o,t,e,n)=>{for(var i=n>1?void 0:n?gi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&fi(t,e,i),i};const bi=Wt(p);let P=class extends bi{constructor(){super(...arguments),this.name="",this.value="",this.type="",this.text="",this.selected=!1,this.disabled=!1,this.fullwidth=!1,this.crossIconName="cross",this.strikethroughImgName="strikeDiagonal"}handleClick(o){if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;this.selected=!this.selected;const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}crossIcon(){const o=V[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${$(o)}</span>`}strikeThroughImg(){const o=Co[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return $(o)}render(){const o=this.text;return l`${this.type==="link"?l`
2097
+ `;ee([a({reflect:!0})],wt.prototype,"name",2);ee([a({reflect:!0})],wt.prototype,"value",2);wt=ee([g("o-chipset")],wt);var fi=Object.defineProperty,gi=Object.getOwnPropertyDescriptor,F=(o,t,e,n)=>{for(var i=n>1?void 0:n?gi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&fi(t,e,i),i};const bi=Wt(p);let z=class extends bi{constructor(){super(...arguments),this.name="",this.value="",this.type="",this.text="",this.selected=!1,this.disabled=!1,this.fullwidth=!1,this.crossIconName="cross",this.strikethroughImgName="strikeDiagonal"}handleClick(o){if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;this.selected=!this.selected;const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}crossIcon(){const o=V[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${k(o)}</span>`}strikeThroughImg(){const o=Co[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return k(o)}render(){const o=this.text;return l`${this.type==="link"?l`
2098
2098
  <a role="button" tabindex="0" class="button" href=${this.href} ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}
2099
2099
  aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
2100
2100
  ${o?l`
@@ -2114,7 +2114,7 @@
2114
2114
  </button>
2115
2115
  `}
2116
2116
  ${this.disabled?this.strikeThroughImg():d}
2117
- `}};P.styles=v`
2117
+ `}};z.styles=v`
2118
2118
  :host {
2119
2119
  cursor: pointer;
2120
2120
  display: inline-flex;
@@ -2239,7 +2239,7 @@
2239
2239
  stroke-linecap: round;
2240
2240
  }
2241
2241
  }
2242
- `;j([a({reflect:!0})],P.prototype,"name",2);j([a({reflect:!0})],P.prototype,"value",2);j([a({type:String,reflect:!0})],P.prototype,"type",2);j([a({type:String,reflect:!0})],P.prototype,"href",2);j([a({type:String,reflect:!0,attribute:"data-href"})],P.prototype,"dataHref",2);j([a({type:String})],P.prototype,"text",2);j([a({type:Boolean,reflect:!0})],P.prototype,"selected",2);j([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2);j([a({type:Boolean,reflect:!0})],P.prototype,"fullwidth",2);P=j([g("o-filter-chip")],P);var yi=Object.defineProperty,F=(o,t,e,n)=>{for(var i=void 0,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(t,e,i)||i);return i&&yi(t,e,i),i};const ne=class ne extends p{constructor(){super(...arguments),this.type="cart | chevron",this.titleProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.imageUrl="https://placehold.co/56x70",this.altImage="",this.fullwidth=!1,this.tagText=""}onClick(){typeof this.onClickTile=="function"&&this.onClickTile()}get icons(){return this.type==="chevron"?l`
2242
+ `;F([a({reflect:!0})],z.prototype,"name",2);F([a({reflect:!0})],z.prototype,"value",2);F([a({type:String,reflect:!0})],z.prototype,"type",2);F([a({type:String,reflect:!0})],z.prototype,"href",2);F([a({type:String,reflect:!0,attribute:"data-href"})],z.prototype,"dataHref",2);F([a({type:String})],z.prototype,"text",2);F([a({type:Boolean,reflect:!0})],z.prototype,"selected",2);F([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);F([a({type:Boolean,reflect:!0})],z.prototype,"fullwidth",2);z=F([g("o-filter-chip")],z);var yi=Object.defineProperty,R=(o,t,e,n)=>{for(var i=void 0,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(t,e,i)||i);return i&&yi(t,e,i),i};const ne=class ne extends p{constructor(){super(...arguments),this.type="cart | chevron",this.titleProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.imageUrl="https://placehold.co/56x70",this.altImage="",this.fullwidth=!1,this.tagText=""}onClick(){typeof this.onClickTile=="function"&&this.onClickTile()}get icons(){return this.type==="chevron"?l`
2243
2243
  <o-icon-button
2244
2244
  @click=${this.onClick}
2245
2245
  icon="chevronRight"
@@ -2371,7 +2371,7 @@
2371
2371
  .fullpointer {
2372
2372
  cursor: pointer;
2373
2373
  }
2374
- `;let k=ne;F([a({type:String})],k.prototype,"type");F([a({type:String})],k.prototype,"titleProduct");F([a({type:String})],k.prototype,"volume");F([a({type:String})],k.prototype,"perLiter");F([a({type:String})],k.prototype,"mainPrice");F([a({type:String})],k.prototype,"imageUrl");F([a({type:String})],k.prototype,"altImage");F([a({type:Boolean})],k.prototype,"fullwidth");F([a({type:String})],k.prototype,"tagText");F([a({type:Function})],k.prototype,"onClickTile");customElements.define("mini-tile",k);var mi=Object.defineProperty,xi=Object.getOwnPropertyDescriptor,oe=(o,t,e,n)=>{for(var i=n>1?void 0:n?xi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&mi(t,e,i),i};let $t=class extends p{constructor(){super(...arguments),this.variant="cart",this.text=""}render(){return l`
2374
+ `;let C=ne;R([a({type:String})],C.prototype,"type");R([a({type:String})],C.prototype,"titleProduct");R([a({type:String})],C.prototype,"volume");R([a({type:String})],C.prototype,"perLiter");R([a({type:String})],C.prototype,"mainPrice");R([a({type:String})],C.prototype,"imageUrl");R([a({type:String})],C.prototype,"altImage");R([a({type:Boolean})],C.prototype,"fullwidth");R([a({type:String})],C.prototype,"tagText");R([a({type:Function})],C.prototype,"onClickTile");customElements.define("mini-tile",C);var mi=Object.defineProperty,xi=Object.getOwnPropertyDescriptor,oe=(o,t,e,n)=>{for(var i=n>1?void 0:n?xi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&mi(t,e,i),i};let $t=class extends p{constructor(){super(...arguments),this.variant="cart",this.text=""}render(){return l`
2375
2375
  <span class="badge">
2376
2376
  ${this.text?this.text:l`<slot></slot>`}
2377
2377
  </span>
@@ -2409,10 +2409,10 @@
2409
2409
  color: var(--text-color);
2410
2410
  }
2411
2411
 
2412
- `;oe([a({type:String,reflect:!0})],$t.prototype,"variant",2);oe([a({type:String})],$t.prototype,"text",2);$t=oe([g("o-badge")],$t);var wi=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,z=(o,t,e,n)=>{for(var i=n>1?void 0:n?$i(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&wi(t,e,i),i};let _=class extends p{constructor(){super(...arguments),this.icon="info",this.text="Sample text",this.verticalanchor="top",this.horizontalanchor="right",this.verticaloffset=24,this.horizontaloffset=24,this.animationduration=500,this.animationaxis="horizontal",this.animated=!0,this.lifeduration=5e3,this.multiline=!1}attributeChangedCallback(o,t,e){super.attributeChangedCallback(o,t,e),o=="verticaloffset"&&this.style.setProperty("--vertical-offset",e+"px"),o=="horizontaloffset"&&this.style.setProperty("--horizontal-offset",e+"px"),o=="animationduration"&&this.style.setProperty("--animation-duration",e+"ms")}selfCloseAfterDelay(){var o=this;setTimeout(function(){o.animated=!0,o.selfClose()},this.lifeduration)}selfClose(){var o=this;setTimeout(function(){o.remove()},this.animationduration+200)}connectedCallback(){var o=this;super.connectedCallback(),setTimeout(()=>{o.animated=!1,this.selfCloseAfterDelay()},600)}firstUpdated(){var n,i;var o=this;const t=(n=this.renderRoot)==null?void 0:n.querySelector("o-icon-button"),e=(i=this.renderRoot)==null?void 0:i.querySelector(".o-toast-text");if(e!=null){const r=window.getComputedStyle(e),s=parseInt(r.getPropertyValue("line-height").replace("px","")),c=parseInt(r.getPropertyValue("height").replace("px",""));!isNaN(s)&&!isNaN(c)&&c>s&&(this.multiline=!0)}t!=null&&t.addEventListener("click",function(){o.remove()})}render(){const t=Eo[this.icon].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"');return l`
2412
+ `;oe([a({type:String,reflect:!0})],$t.prototype,"variant",2);oe([a({type:String})],$t.prototype,"text",2);$t=oe([g("o-badge")],$t);var wi=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,I=(o,t,e,n)=>{for(var i=n>1?void 0:n?$i(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&wi(t,e,i),i};let _=class extends p{constructor(){super(...arguments),this.icon="info",this.text="Sample text",this.verticalanchor="top",this.horizontalanchor="right",this.verticaloffset=24,this.horizontaloffset=24,this.animationduration=500,this.animationaxis="horizontal",this.animated=!0,this.lifeduration=5e3,this.multiline=!1}attributeChangedCallback(o,t,e){super.attributeChangedCallback(o,t,e),o=="verticaloffset"&&this.style.setProperty("--vertical-offset",e+"px"),o=="horizontaloffset"&&this.style.setProperty("--horizontal-offset",e+"px"),o=="animationduration"&&this.style.setProperty("--animation-duration",e+"ms")}selfCloseAfterDelay(){var o=this;setTimeout(function(){o.animated=!0,o.selfClose()},this.lifeduration)}selfClose(){var o=this;setTimeout(function(){o.remove()},this.animationduration+200)}connectedCallback(){var o=this;super.connectedCallback(),setTimeout(()=>{o.animated=!1,this.selfCloseAfterDelay()},600)}firstUpdated(){var n,i;var o=this;const t=(n=this.renderRoot)==null?void 0:n.querySelector("o-icon-button"),e=(i=this.renderRoot)==null?void 0:i.querySelector(".o-toast-text");if(e!=null){const r=window.getComputedStyle(e),s=parseInt(r.getPropertyValue("line-height").replace("px","")),c=parseInt(r.getPropertyValue("height").replace("px",""));!isNaN(s)&&!isNaN(c)&&c>s&&(this.multiline=!0)}t!=null&&t.addEventListener("click",function(){o.remove()})}render(){const t=Eo[this.icon].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"');return l`
2413
2413
  <div class="o-toast">
2414
2414
  <div class="o-toast-icon">
2415
- ${$(t)}
2415
+ ${k(t)}
2416
2416
  </div>
2417
2417
  <div class="o-toast-text">
2418
2418
  ${this.text}
@@ -2502,7 +2502,7 @@
2502
2502
  .o-toast-icon {
2503
2503
  height: 16px;
2504
2504
  }
2505
- `;z([a({type:String,reflect:!0})],_.prototype,"icon",2);z([a({type:String,reflect:!0})],_.prototype,"text",2);z([a({type:String,reflect:!0})],_.prototype,"verticalanchor",2);z([a({type:String,reflect:!0})],_.prototype,"horizontalanchor",2);z([a({type:Number,reflect:!0})],_.prototype,"verticaloffset",2);z([a({type:Number,reflect:!0})],_.prototype,"horizontaloffset",2);z([a({type:Number,reflect:!0})],_.prototype,"animationduration",2);z([a({type:String,reflect:!0})],_.prototype,"animationaxis",2);z([a({type:Boolean,reflect:!0})],_.prototype,"animated",2);z([a({type:Number,reflect:!0})],_.prototype,"lifeduration",2);z([a({type:Boolean,reflect:!0})],_.prototype,"multiline",2);_=z([g("o-toast")],_);var _i=Object.defineProperty,ki=Object.getOwnPropertyDescriptor,D=(o,t,e,n)=>{for(var i=n>1?void 0:n?ki(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&_i(t,e,i),i};let Ci=0,C=class extends p{constructor(){super(),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Checkbox",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-checkbox-${++Ci}`)}toggle(){this.disabled||(this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked,this.inputEl.indeterminate=this.indeterminate)}updated(o){this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.toggle())}render(){const o=$(V.checkbox.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"')),t=$(V.icoMinus.replace("<svg",'<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));return l`
2505
+ `;I([a({type:String,reflect:!0})],_.prototype,"icon",2);I([a({type:String,reflect:!0})],_.prototype,"text",2);I([a({type:String,reflect:!0})],_.prototype,"verticalanchor",2);I([a({type:String,reflect:!0})],_.prototype,"horizontalanchor",2);I([a({type:Number,reflect:!0})],_.prototype,"verticaloffset",2);I([a({type:Number,reflect:!0})],_.prototype,"horizontaloffset",2);I([a({type:Number,reflect:!0})],_.prototype,"animationduration",2);I([a({type:String,reflect:!0})],_.prototype,"animationaxis",2);I([a({type:Boolean,reflect:!0})],_.prototype,"animated",2);I([a({type:Number,reflect:!0})],_.prototype,"lifeduration",2);I([a({type:Boolean,reflect:!0})],_.prototype,"multiline",2);_=I([g("o-toast")],_);var ki=Object.defineProperty,_i=Object.getOwnPropertyDescriptor,H=(o,t,e,n)=>{for(var i=n>1?void 0:n?_i(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ki(t,e,i),i};let Ci=0,E=class extends p{constructor(){super(),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Checkbox",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-checkbox-${++Ci}`)}toggle(){this.disabled||(this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked,this.inputEl.indeterminate=this.indeterminate)}updated(o){this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.toggle())}render(){const o=k(V.checkbox.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"')),t=k(V.icoMinus.replace("<svg",'<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));return l`
2506
2506
  <input
2507
2507
  type="checkbox"
2508
2508
  id=${this.inputId}
@@ -2518,7 +2518,7 @@
2518
2518
  </div>
2519
2519
 
2520
2520
  ${this.showLabel?l`<label class="label" for=${this.inputId}>${this.label}</label>`:""}
2521
- `}};C.styles=v`
2521
+ `}};E.styles=v`
2522
2522
  :host {
2523
2523
  display: inline-flex;
2524
2524
  align-items: center;
@@ -2621,7 +2621,7 @@
2621
2621
  svg path {
2622
2622
  stroke: var(--color-border-white);
2623
2623
  }
2624
- `;D([a({type:Boolean,reflect:!0})],C.prototype,"checked",2);D([a({type:Boolean,reflect:!0})],C.prototype,"indeterminate",2);D([a({type:Boolean,reflect:!0})],C.prototype,"disabled",2);D([a({type:String,reflect:!0})],C.prototype,"size",2);D([a({type:Boolean})],C.prototype,"showLabel",2);D([a({type:String})],C.prototype,"label",2);D([a({type:String})],C.prototype,"name",2);D([a({type:String})],C.prototype,"value",2);D([a({type:String,reflect:!0})],C.prototype,"inputId",2);D([_e("input")],C.prototype,"inputEl",2);C=D([g("o-checkbox")],C);var Ei=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,R=(o,t,e,n)=>{for(var i=n>1?void 0:n?Si(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Ei(t,e,i),i};let Ai=0,O=class extends p{constructor(){super(),this.checked=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Radio button",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-radio-${++Ai}`)}handleClick(){this.disabled||this.checked||(this.checked=!0,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked)}updated(o){if(o.has("checked")&&this.checked){const t=this.parentElement;t&&Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach(n=>{n!==this&&(n.checked=!1)})}this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.handleClick())}render(){return l`
2624
+ `;H([a({type:Boolean,reflect:!0})],E.prototype,"checked",2);H([a({type:Boolean,reflect:!0})],E.prototype,"indeterminate",2);H([a({type:Boolean,reflect:!0})],E.prototype,"disabled",2);H([a({type:String,reflect:!0})],E.prototype,"size",2);H([a({type:Boolean})],E.prototype,"showLabel",2);H([a({type:String})],E.prototype,"label",2);H([a({type:String})],E.prototype,"name",2);H([a({type:String})],E.prototype,"value",2);H([a({type:String,reflect:!0})],E.prototype,"inputId",2);H([ke("input")],E.prototype,"inputEl",2);E=H([g("o-checkbox")],E);var Ei=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,U=(o,t,e,n)=>{for(var i=n>1?void 0:n?Si(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Ei(t,e,i),i};let Ai=0,O=class extends p{constructor(){super(),this.checked=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Radio button",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-radio-${++Ai}`)}handleClick(){this.disabled||this.checked||(this.checked=!0,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked)}updated(o){if(o.has("checked")&&this.checked){const t=this.parentElement;t&&Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach(n=>{n!==this&&(n.checked=!1)})}this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.handleClick())}render(){return l`
2625
2625
  <input type="radio" id=${this.inputId} ?checked=${this.checked} ?disabled=${this.disabled} name=${this.name} value=${this.value} />
2626
2626
 
2627
2627
  <div class="box" role="radio" tabindex=${this.disabled?-1:0} aria-checked=${String(this.checked)} aria-disabled=${String(this.disabled)} @click=${this.handleClick} @keydown=${this.handleKeyDown}>
@@ -2718,7 +2718,7 @@
2718
2718
  width: 0;
2719
2719
  height: 0;
2720
2720
  }
2721
- `;R([a({type:Boolean,reflect:!0})],O.prototype,"checked",2);R([a({type:Boolean,reflect:!0})],O.prototype,"disabled",2);R([a({type:String,reflect:!0})],O.prototype,"size",2);R([a({type:Boolean})],O.prototype,"showLabel",2);R([a({type:String})],O.prototype,"label",2);R([a({type:String})],O.prototype,"name",2);R([a({type:String})],O.prototype,"value",2);R([a({type:String,reflect:!0})],O.prototype,"inputId",2);R([_e("input")],O.prototype,"inputEl",2);O=R([g("o-radio")],O);var Li=Object.getOwnPropertyDescriptor,Bi=(o,t,e,n)=>{for(var i=n>1?void 0:n?Li(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let Ut=class extends p{render(){return l`
2721
+ `;U([a({type:Boolean,reflect:!0})],O.prototype,"checked",2);U([a({type:Boolean,reflect:!0})],O.prototype,"disabled",2);U([a({type:String,reflect:!0})],O.prototype,"size",2);U([a({type:Boolean})],O.prototype,"showLabel",2);U([a({type:String})],O.prototype,"label",2);U([a({type:String})],O.prototype,"name",2);U([a({type:String})],O.prototype,"value",2);U([a({type:String,reflect:!0})],O.prototype,"inputId",2);U([ke("input")],O.prototype,"inputEl",2);O=U([g("o-radio")],O);var Bi=Object.getOwnPropertyDescriptor,Li=(o,t,e,n)=>{for(var i=n>1?void 0:n?Bi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let Ut=class extends p{render(){return l`
2722
2722
  <nav aria-label="Breadcrumbs">
2723
2723
  <ul>
2724
2724
  <slot></slot>
@@ -2735,7 +2735,7 @@
2735
2735
  margin: var(--spacing-4-xs);
2736
2736
  padding: var(--spacing-4-xs);
2737
2737
  }
2738
- `;Ut=Bi([g("o-breadcrumbs")],Ut);var Pi=Object.defineProperty,Oi=Object.getOwnPropertyDescriptor,ie=(o,t,e,n)=>{for(var i=n>1?void 0:n?Oi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Pi(t,e,i),i};let _t=class extends p{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<span aria-current="page"><slot></slot></span>`:l`
2738
+ `;Ut=Li([g("o-breadcrumbs")],Ut);var Pi=Object.defineProperty,zi=Object.getOwnPropertyDescriptor,ie=(o,t,e,n)=>{for(var i=n>1?void 0:n?zi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Pi(t,e,i),i};let kt=class extends p{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<span aria-current="page"><slot></slot></span>`:l`
2739
2739
  <li>
2740
2740
  <a
2741
2741
  href="${this.href}"
@@ -2745,7 +2745,7 @@
2745
2745
  <slot></slot>
2746
2746
  </a>
2747
2747
  </li>
2748
- `}};_t.styles=v`
2748
+ `}};kt.styles=v`
2749
2749
  :host(:not([active]))::after {
2750
2750
  content: "/";
2751
2751
  margin: 0 0.5rem;
@@ -2784,7 +2784,7 @@
2784
2784
  :host(.a--tabfocus) {
2785
2785
  outline: none !important;
2786
2786
  }
2787
- `;ie([a({type:String})],_t.prototype,"href",2);ie([a({type:Boolean,reflect:!0})],_t.prototype,"active",2);_t=ie([g("o-breadcrumb")],_t);var zi=Object.defineProperty,Ii=Object.getOwnPropertyDescriptor,Ct=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ii(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&zi(t,e,i),i};let nt=class extends p{constructor(){super(...arguments),this.imageUrl="",this.imageAlt="",this.hoverUrl="",this.hoverAlt=""}render(){return l`<div class="card">
2787
+ `;ie([a({type:String})],kt.prototype,"href",2);ie([a({type:Boolean,reflect:!0})],kt.prototype,"active",2);kt=ie([g("o-breadcrumb")],kt);var Oi=Object.defineProperty,Ii=Object.getOwnPropertyDescriptor,Ct=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ii(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Oi(t,e,i),i};let nt=class extends p{constructor(){super(...arguments),this.imageUrl="",this.imageAlt="",this.hoverUrl="",this.hoverAlt=""}render(){return l`<div class="card">
2788
2788
  <svg aria-hidden="true">
2789
2789
  <defs>
2790
2790
  <clipPath id="arch-gift-finder" clipPathUnits="objectBoundingBox">
@@ -2911,27 +2911,38 @@
2911
2911
  d="m 1237.15,72.3984 c -3.61,1.5625 -7.64,0.6211 -10.76,-1.5898 -3.47,-2.4688 -6.01,-6.207 -8.42,-9.6484 l -2.61,-3.7305 c -3.58,-5.1094 -9.55,-13.6992 -12.29,-16.1094 -5.74,-5.1289 -9.34,-6.6094 -53,-6.6094 -33.15,0 -37.81,0.9883 -43.8,4.1602 -5.52,2.7891 -7.77,10.7773 -7.77,13.6484 0,3.3594 -0.2,14.711 -0.45,28.7422 -0.39,22.6093 -0.93,52.2383 -0.93,66.5083 v 2.082 c 61.53,-0.032 57.15,-0.524 65,-2.762 2.14,-0.75 4.31,-3.918 6.04,-9.07 0,0 1.62,-4.02 1.63,-4.032 1.32,-3.277 2.66,-6.867 5.45,-9.207 3.1,-2.609 8.34,-2.961 11.82,-0.832 2.53,1.551 4.41,4.86 5.34,7.641 1.18,3.469 1.06,7.031 0.47,10.601 -0.42,2.528 -1.65,14.649 -0.88,22.661 0.36,3.359 0.91,7.339 1.4,11.039 0.81,5.937 1.45,11.25 1.45,13.039 0,10.769 -6.83,13.64 -10.87,13.64 -7.45,0 -10.98,-7.148 -12.29,-9.8 -5.17,-10.34 -7.99,-12.258 -8.92,-12.77 -1.75,-1.09 -4.81,-1.93 -26.44,-1.93 h -39.2 v 107.52 c 0,4.422 0.17,7.101 0.34,8.738 15.96,0.774 76.93,0.524 87.71,-1.476 3.62,-0.602 9.08,-1.5 17.68,-21.911 1.36,-3.211 3.03,-6.711 5.7,-9.043 3,-2.609 7.9,-3.558 11.48,-1.648 3.15,1.672 4.77,5.262 5.42,8.621 0.48,2.52 0.57,5.379 0.02,7.899 -1.68,7.71 -2.32,17.339 -2.74,23.718 l -0.42,5.41 c -1.6,9.993 -5.84,15.063 -12.6,15.063 -1.95,0 -3.97,-0.121 -6.59,-0.27 -4.29,-0.261 -10.36,-0.652 -21.14,-0.652 -8.99,0 -29.44,-0.219 -50.5,-0.437 -22.25,-0.231 -45.19,-0.493 -55.89,-0.493 -7.8,0 -14.28,0.411 -20.23,0.77 -5.38,0.32 -10.33,0.621 -15.39,0.621 -8.85,0 -15.02,-4.461 -15.02,-10.859 0,-3.692 1.73,-10.231 13.17,-12.532 11.25,-2.488 15.05,-3.339 15.05,-28.168 0,-97.863 -0.47,-142.242 -2.32,-215.7808 -0.34,-15.5196 -5.21,-19.0821 -18.87,-21.3594 C 1027,30.8984 1016.62,29 1016.62,19.6719 c 0,-1.9727 0.81,-11.80081 16.89,-11.80081 1.95,0 6.58,0.3086 12.45,0.71875 9.5,0.67969 22.45,1.60156 31.94,1.60156 17.71,0 38.65,-0.41015 60.92,-0.83984 25.46,-0.49218 52.62,-1.01172 78.73,-1.01172 4,0 9.62,1.69926 13.67,9.76956 2.26,4.4687 4.54,12.8906 7.15,22.6094 1.18,4.4218 2.39,8.9531 3.55,12.8203 0.89,2.9804 1.73,5.9726 1.57,9.1211 -0.2,3.9804 -2.49,7.9804 -6.34,9.7382" /><path
2912
2912
  id="path52"
2913
2913
  style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
2914
- d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;var Hi=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,U=(o,t,e,n)=>{for(var i=n>1?void 0:n?Mi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Hi(t,e,i),i};const re=class re extends p{constructor(){super(...arguments),this.ispagedesigner=!1,this._classPopin="",this.open=!1,this.backgroundUrl="",this.closeOnEsc=!0,this.closeOnBackdrop=!0,this.lockScroll=!0,this.variant="fullscreen",this.maxWidth="640px",this._labelId=`title-${Math.random().toString(36).slice(2)}`,this._onBackdropClick=t=>{var n;if(!this.open||!this.closeOnBackdrop)return;const e=t.composedPath()[0];(n=e==null?void 0:e.classList)!=null&&n.contains("backdrop")&&this._requestClose("backdrop")}}get classPopin(){return this.ispagedesigner?"pagedesigner-popin "+this._classPopin:this._classPopin}set classPopin(t){this._classPopin=t}connectedCallback(){super.connectedCallback(),this._onKeydown=this._onKeydown.bind(this),document.addEventListener("keydown",this._onKeydown)}disconnectedCallback(){document.removeEventListener("keydown",this._onKeydown),super.disconnectedCallback()}updated(t){if(t.has("open")&&this.lockScroll){const e=document==null?void 0:document.body;e&&(e.style.overflow=this.open?"hidden":""),this.open?this.updateComplete.then(()=>{var i;(i=this.renderRoot.querySelector("[data-close-btn]")??this.renderRoot.querySelector('[role="dialog"]'))==null||i.focus(),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}):this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}}_onKeydown(t){this.open&&this.closeOnEsc&&t.key==="Escape"&&(t.preventDefault(),this._requestClose("esc"))}_requestClose(t){const e=new CustomEvent("request-close",{bubbles:!0,composed:!0,detail:{reason:t}});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}_renderCloseButton(){return customElements.get("o-icon-button")?l`
2914
+ d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;var Hi=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,S=(o,t,e,n)=>{for(var i=n>1?void 0:n?Mi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Hi(t,e,i),i};const re=class re extends p{constructor(){super(...arguments),this.ispagedesigner=!1,this._classPopin="",this.open=!1,this.background="",this.backgroundUrl="",this.closeOnEsc=!0,this.closeOnBackdrop=!0,this.lockScroll=!0,this.variant="fullscreen",this.maxWidth="640px",this.showBackButton=!1,this.contrast=!1,this._labelId=`title-${Math.random().toString(36).slice(2)}`,this._onBackdropClick=t=>{var n;if(!this.open||!this.closeOnBackdrop)return;const e=t.composedPath()[0];(n=e==null?void 0:e.classList)!=null&&n.contains("backdrop")&&this._requestClose("backdrop")}}get classPopin(){return this.ispagedesigner?"pagedesigner-popin "+this._classPopin:this._classPopin}set classPopin(t){this._classPopin=t}connectedCallback(){super.connectedCallback(),this._onKeydown=this._onKeydown.bind(this),document.addEventListener("keydown",this._onKeydown)}disconnectedCallback(){document.removeEventListener("keydown",this._onKeydown),super.disconnectedCallback()}updated(t){if(t.has("background")||t.has("backgroundUrl")){let e="";this.background&&this.background.trim()?e=this.background.trim():this.backgroundUrl&&this.backgroundUrl.trim()&&(e=`url('${this.backgroundUrl.trim()}') center/cover no-repeat`),this.style.setProperty("--_bg",e)}if(t.has("open")&&this.lockScroll){const e=document==null?void 0:document.body;e&&(e.style.overflow=this.open?"hidden":""),this.open?this.updateComplete.then(()=>{var i;(i=this.renderRoot.querySelector("[data-close-btn]")??this.renderRoot.querySelector('[role="dialog"]'))==null||i.focus(),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}):this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}}_onKeydown(t){this.open&&this.closeOnEsc&&t.key==="Escape"&&(t.preventDefault(),this._requestClose("esc"))}_onBackClick(){this.dispatchEvent(new CustomEvent("back",{bubbles:!0,composed:!0}))}_requestClose(t){const e=new CustomEvent("request-close",{bubbles:!0,composed:!0,detail:{reason:t}});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}_renderCloseButton(){return customElements.get("o-icon-button")?l`
2915
2915
  <o-icon-button
2916
2916
  data-close-btn
2917
2917
  icon="cross"
2918
2918
  size="large"
2919
- bgstyle="none-light"
2919
+ bgstyle="none-${this.contrast?"contrast":"light"}"
2920
2920
  status="empty"
2921
2921
  type="button"
2922
2922
  aria-label="Close"
2923
2923
  @click=${()=>this._requestClose("button")}
2924
2924
  ></o-icon-button>
2925
2925
  `:l`
2926
- <button
2927
- class="close"
2928
- data-close-btn
2929
- aria-label="Close"
2930
- @click=${()=>this._requestClose("button")}
2931
- >×</button>
2932
- `}render(){const t=this.backgroundUrl?`--_bg-image: url('${this.backgroundUrl}')`:"";return l`
2926
+ <button class="close" data-close-btn aria-label="Close" @click=${()=>this._requestClose("button")}>×</button>
2927
+ `}_renderBackButton(){return l`
2928
+ <div part="back">
2929
+ <o-icon-button
2930
+ icon="arrowLeft"
2931
+ size="large"
2932
+ status="empty"
2933
+ class="return-btn"
2934
+ bgstyle="none-${this.contrast?"contrast":"light"}"
2935
+ data-role="back"
2936
+ @click=${()=>this._onBackClick()}
2937
+ @keydown=${()=>this._onBackClick()}
2938
+ srlabel="Go back"
2939
+ ?showsrlabel=${!0}
2940
+ tabindex="-1"
2941
+ ></o-icon-button>
2942
+ </div>
2943
+ `}render(){return l`
2933
2944
  ${this.open?l`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>`:null}
2934
- <div class="dialog-wrapper ${this.ispagedesigner?"intro-pagedesigner":""}" style=${t} @click=${this._onBackdropClick} aria-hidden=${this.open?"false":"true"}>
2945
+ <div class="dialog-wrapper ${this.ispagedesigner?"intro-pagedesigner":""}" @click=${this._onBackdropClick} aria-hidden=${this.open?"false":"true"}>
2935
2946
  <section
2936
2947
  class="dialog"
2937
2948
  part="dialog"
@@ -2941,12 +2952,11 @@
2941
2952
  aria-labelledby=${this.title?this._labelId:void 0}
2942
2953
  >
2943
2954
  <header part="header">
2955
+ ${this.showBackButton?this._renderBackButton():null}
2944
2956
  <div class="brand">
2945
- <span slot="logo">${$(Di)}</span>
2946
- </div>
2947
- <div part="close">
2948
- ${this._renderCloseButton()}
2957
+ <span slot="logo${this.contrast?"-contrast":""}">${k(Di)}</span>
2949
2958
  </div>
2959
+ <div part="close${this.contrast?"-contrast":""}">${this._renderCloseButton()}</div>
2950
2960
  </header>
2951
2961
  <main part="body">
2952
2962
  <slot></slot>
@@ -2970,7 +2980,6 @@
2970
2980
  position: relative;
2971
2981
  display: block;
2972
2982
  }
2973
-
2974
2983
  :host([open]) { display: block; }
2975
2984
 
2976
2985
  .backdrop {
@@ -2987,14 +2996,13 @@
2987
2996
  place-items: center;
2988
2997
  padding: 0;
2989
2998
  }
2990
-
2991
2999
  .dialog-wrapper.intro-pagedesigner {
2992
- height: 100vh;
2993
- max-height: 900px;
2994
- position: relative;
3000
+ height: 100vh;
3001
+ max-height: 900px;
3002
+ position: relative;
2995
3003
  }
2996
3004
 
2997
- /* Default: FULLSCREEN */
3005
+ /* FULLSCREEN */
2998
3006
  .dialog {
2999
3007
  position: relative;
3000
3008
  width: 100%;
@@ -3009,12 +3017,11 @@
3009
3017
  background: var(--color-container-bg-white, #fff);
3010
3018
  }
3011
3019
 
3012
- /* Background image layer */
3013
3020
  .dialog::before {
3014
3021
  content: '';
3015
3022
  position: absolute;
3016
3023
  inset: 0;
3017
- background-image: var(--_bg-image);
3024
+ background: var(--_bg, none);
3018
3025
  background-size: cover;
3019
3026
  background-position: center;
3020
3027
  opacity: 1;
@@ -3035,76 +3042,29 @@
3035
3042
  to bottom,
3036
3043
  var(--popin-top-gradient-color, rgba(0, 0, 0, 1)) -168px,
3037
3044
  rgba(0, 0, 0, 0)
3038
- );
3045
+ );
3039
3046
  z-index: 2;
3040
3047
  }
3041
3048
 
3042
- .brand {
3043
- display: inline-flex;
3044
- align-items: center;
3045
- gap: var(--spacing-s, 8px);
3046
- }
3047
- ::slotted([slot="logo"]) {
3048
- display: inline-flex;
3049
- height: 28px; /* tweak as needed */
3050
- line-height: 0;
3051
- }
3052
-
3053
- [slot="logo"] svg {
3054
- width: 176px;
3055
- height: auto;
3056
- }
3057
-
3058
- [slot="logo"] svg path {
3059
- fill: #fff !important;
3060
- }
3061
-
3062
- [part="close"] {
3063
- position: absolute;
3064
- top: 16px;
3065
- right: 36px;
3066
- }
3049
+ .brand { display: inline-flex; align-items: center; gap: var(--spacing-s, 8px); }
3050
+ ::slotted([slot="logo"]) { display: inline-flex; height: 28px; line-height: 0; }
3051
+ [slot="logo"] svg, [slot="logo-contrast"] svg { width: 176px; height: auto; }
3052
+ [slot="logo"] svg path { fill: #fff !important; }
3067
3053
 
3068
- @media (max-width: 767px) {
3069
- [part="close"] {
3070
- right: 8px;
3071
- top: 22px;
3072
- }
3073
- }
3054
+ [part="close"] { position: absolute; top: 16px; right: 36px; }
3055
+ [part="close-contrast"] { position: absolute; top: 16px; right: var(--spacing-l); }
3056
+ [part="back"] { position: absolute; top: 16px; left: var(--spacing-l); }
3057
+ @media (max-width: 767px) { [part="close"] { right: 8px; top: 22px; } }
3074
3058
 
3075
- .close {
3076
- font: inherit;
3077
- border: 0;
3078
- background: transparent;
3079
- cursor: pointer;
3080
- width: 36px; height: 36px;
3081
- border-radius: 999px;
3082
- display: grid; place-items: center;
3083
- }
3059
+ .close { font: inherit; border: 0; background: transparent; cursor: pointer;
3060
+ width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
3084
3061
 
3085
- main[part="body"] {
3086
- position: relative;
3087
- z-index: 1;
3088
- padding: 0;
3089
- overflow: auto;
3090
- height: 100%;
3091
- }
3062
+ main[part="body"] { position: relative; z-index: 1; padding: 0; overflow: auto; height: 100%; }
3092
3063
 
3093
3064
  /* Variant: dialog */
3094
- :host([variant="dialog"]) .dialog {
3095
- width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px)));
3096
- max-height: min(86vh, 100%);
3097
- border-radius: var(--_radius);
3098
- box-shadow: var(--_shadow);
3099
- }
3100
-
3101
- :host([variant="dialog"]) .dialog-wrapper {
3102
- place-items: center;
3103
- }
3104
-
3105
- :host([variant="dialog"]) main[part="body"] {
3106
- height: auto;
3107
- }
3065
+ :host([variant="dialog"]) .dialog { width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px))); max-height: min(86vh, 100%); border-radius: var(--_radius); box-shadow: var(--_shadow); }
3066
+ :host([variant="dialog"]) .dialog-wrapper { place-items: center; }
3067
+ :host([variant="dialog"]) main[part="body"] { height: auto; }
3108
3068
 
3109
3069
  /* Open animation */
3110
3070
  :host([open]) .dialog { animation: popin-in .18s ease; }
@@ -3112,5 +3072,4 @@
3112
3072
  from { transform: translateY(10px) scale(.98); opacity: 0; }
3113
3073
  to { transform: translateY(0) scale(1); opacity: 1; }
3114
3074
  }
3115
-
3116
- `;let E=re;U([a({type:Boolean,reflect:!0})],E.prototype,"ispagedesigner",2);U([a({type:String,reflect:!0})],E.prototype,"classPopin",1);U([a({type:Boolean,reflect:!0})],E.prototype,"open",2);U([a({type:String,attribute:"background-url"})],E.prototype,"backgroundUrl",2);U([a({type:Boolean,attribute:"close-on-esc"})],E.prototype,"closeOnEsc",2);U([a({type:Boolean,attribute:"close-on-backdrop"})],E.prototype,"closeOnBackdrop",2);U([a({type:Boolean,attribute:"lock-scroll"})],E.prototype,"lockScroll",2);U([a({type:String,reflect:!0})],E.prototype,"variant",2);U([a({type:String,attribute:"max-width"})],E.prototype,"maxWidth",2);U([J()],E.prototype,"_labelId",2);customElements.define("o-popin",E);
3075
+ `;let $=re;S([a({type:Boolean,reflect:!0})],$.prototype,"ispagedesigner",2);S([a({type:String,reflect:!0})],$.prototype,"classPopin",1);S([a({type:Boolean,reflect:!0})],$.prototype,"open",2);S([a({type:String,reflect:!0})],$.prototype,"background",2);S([a({type:String,attribute:"background-url",reflect:!0})],$.prototype,"backgroundUrl",2);S([a({type:Boolean,attribute:"close-on-esc"})],$.prototype,"closeOnEsc",2);S([a({type:Boolean,attribute:"close-on-backdrop"})],$.prototype,"closeOnBackdrop",2);S([a({type:Boolean,attribute:"lock-scroll"})],$.prototype,"lockScroll",2);S([a({type:String,reflect:!0})],$.prototype,"variant",2);S([a({type:String,attribute:"max-width"})],$.prototype,"maxWidth",2);S([a({type:Boolean,reflect:!0})],$.prototype,"showBackButton",2);S([a({type:Boolean,reflect:!0})],$.prototype,"contrast",2);S([J()],$.prototype,"_labelId",2);customElements.define("o-popin",$);