@florid-kit/components 0.8.12 → 0.8.14

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
@@ -2,37 +2,37 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const lt=globalThis,$t=lt.ShadowRoot&&(lt.ShadyCSS===void 0||lt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_t=Symbol(),It=new WeakMap;let Nt=class{constructor(t,e,n){if(this._$cssResult$=!0,n!==_t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if($t&&t===void 0){const n=e!==void 0&&e.length===1;n&&(t=It.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&It.set(e,t))}return t}toString(){return this.cssText}};const Yt=o=>new Nt(typeof o=="string"?o:o+"",void 0,_t),y=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((n,i,s)=>n+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[s+1],o[0]);return new Nt(e,o,_t)},Qt=(o,t)=>{if($t)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const n=document.createElement("style"),i=lt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=e.cssText,o.appendChild(n)}},Ot=$t?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return Yt(e)})(o):o;/**
5
+ */const ct=globalThis,Ct=ct.ShadowRoot&&(ct.ShadyCSS===void 0||ct.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kt=Symbol(),Dt=new WeakMap;let Wt=class{constructor(t,e,n){if(this._$cssResult$=!0,n!==kt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Ct&&t===void 0){const n=e!==void 0&&e.length===1;n&&(t=Dt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Dt.set(e,t))}return t}toString(){return this.cssText}};const oe=o=>new Wt(typeof o=="string"?o:o+"",void 0,kt),m=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((n,i,r)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[r+1],o[0]);return new Wt(e,o,kt)},ie=(o,t)=>{if(Ct)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const n=document.createElement("style"),i=ct.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=e.cssText,o.appendChild(n)}},Ht=Ct?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return oe(e)})(o):o;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:te,defineProperty:ee,getOwnPropertyDescriptor:oe,getOwnPropertyNames:ie,getOwnPropertySymbols:ne,getPrototypeOf:re}=Object,D=globalThis,Pt=D.trustedTypes,se=Pt?Pt.emptyScript:"",vt=D.reactiveElementPolyfillSupport,Y=(o,t)=>o,ct={toAttribute(o,t){switch(t){case Boolean:o=o?se: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}},Ct=(o,t)=>!te(o,t),Bt={attribute:!0,type:String,converter:ct,reflect:!1,useDefault:!1,hasChanged:Ct};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),D.litPropertyMetadata??(D.litPropertyMetadata=new WeakMap);let q=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=Bt){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&&ee(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){const{get:i,set:s}=oe(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get:i,set(r){const h=i==null?void 0:i.call(this);s==null||s.call(this,r),this.requestUpdate(t,h,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(Y("elementProperties")))return;const t=re(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Y("properties"))){const e=this.properties,n=[...ie(e),...ne(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(Ot(i))}else t!==void 0&&e.push(Ot(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 Qt(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 s;const n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){const r=(((s=n.converter)==null?void 0:s.toAttribute)!==void 0?n.converter:ct).toAttribute(e,n.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var s,r;const n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const h=n.getPropertyOptions(i),c=typeof h.converter=="function"?{fromAttribute:h.converter}:((s=h.converter)==null?void 0:s.fromAttribute)!==void 0?h.converter:ct;this._$Em=i,this[i]=c.fromAttribute(e,h.type)??((r=this._$Ej)==null?void 0:r.get(i))??null,this._$Em=null}}requestUpdate(t,e,n){var i;if(t!==void 0){const s=this.constructor,r=this[t];if(n??(n=s.getPropertyOptions(t)),!((n.hasChanged??Ct)(r,e)||n.useDefault&&n.reflect&&r===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,e,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:n,reflect:i,wrapped:s},r){n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,r??e??this[t]),s!==!0||r!==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[s,r]of this._$Ep)this[s]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[s,r]of i){const{wrapped:h}=r,c=this[s];h!==!0||this._$AL.has(s)||c===void 0||this.C(s,void 0,r,c)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(i=>{var s;return(s=i.hostUpdate)==null?void 0:s.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){}};q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[Y("elementProperties")]=new Map,q[Y("finalized")]=new Map,vt==null||vt({ReactiveElement:q}),(D.reactiveElementVersions??(D.reactiveElementVersions=[])).push("2.1.0");/**
9
+ */const{is:ne,defineProperty:re,getOwnPropertyDescriptor:se,getOwnPropertyNames:ae,getOwnPropertySymbols:le,getPrototypeOf:ce}=Object,D=globalThis,Mt=D.trustedTypes,he=Mt?Mt.emptyScript:"",ft=D.reactiveElementPolyfillSupport,Q=(o,t)=>o,ht={toAttribute(o,t){switch(t){case Boolean:o=o?he: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}},At=(o,t)=>!ne(o,t),Tt={attribute:!0,type:String,converter:ht,reflect:!1,useDefault:!1,hasChanged:At};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),D.litPropertyMetadata??(D.litPropertyMetadata=new WeakMap);let q=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=Tt){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&&re(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){const{get:i,set:r}=se(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:i,set(s){const h=i==null?void 0:i.call(this);r==null||r.call(this,s),this.requestUpdate(t,h,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Tt}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;const t=ce(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){const e=this.properties,n=[...ae(e),...le(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(Ht(i))}else t!==void 0&&e.push(Ht(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 ie(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:ht).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 h=n.getPropertyOptions(i),c=typeof h.converter=="function"?{fromAttribute:h.converter}:((r=h.converter)==null?void 0:r.fromAttribute)!==void 0?h.converter:ht;this._$Em=i,this[i]=c.fromAttribute(e,h.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??At)(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:h}=s,c=this[r];h!==!0||this._$AL.has(r)||c===void 0||this.C(r,void 0,s,c)}}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){}};q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[Q("elementProperties")]=new Map,q[Q("finalized")]=new Map,ft==null||ft({ReactiveElement:q}),(D.reactiveElementVersions??(D.reactiveElementVersions=[])).push("2.1.0");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const Q=globalThis,ht=Q.trustedTypes,zt=ht?ht.createPolicy("lit-html",{createHTML:o=>o}):void 0,Rt="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,Ft="?"+z,ae=`<${Ft}>`,F=document,tt=()=>F.createComment(""),et=o=>o===null||typeof o!="object"&&typeof o!="function",kt=Array.isArray,le=o=>kt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",bt=`[
14
- \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,U=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Mt=/'/g,Tt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,ce=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=ce(1),H=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),jt=new WeakMap,N=F.createTreeWalker(F,129);function Zt(o,t){if(!kt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}const he=(o,t)=>{const e=o.length-1,n=[];let i,s=t===2?"<svg>":t===3?"<math>":"",r=J;for(let h=0;h<e;h++){const c=o[h];let v,f,p=-1,I=0;for(;I<c.length&&(r.lastIndex=I,f=r.exec(c),f!==null);)I=r.lastIndex,r===J?f[1]==="!--"?r=Dt:f[1]!==void 0?r=Ht:f[2]!==void 0?(Vt.test(f[2])&&(i=RegExp("</"+f[2],"g")),r=U):f[3]!==void 0&&(r=U):r===U?f[0]===">"?(r=i??J,p=-1):f[1]===void 0?p=-2:(p=r.lastIndex-f[2].length,v=f[1],r=f[3]===void 0?U:f[3]==='"'?Tt:Mt):r===Tt||r===Mt?r=U:r===Dt||r===Ht?r=J:(r=U,i=void 0);const B=r===U&&o[h+1].startsWith("/>")?" ":"";s+=r===J?c+ae:p>=0?(n.push(v),c.slice(0,p)+Rt+c.slice(p)+z+B):c+z+(p===-2?h:B)}return[Zt(o,s+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class ot{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let s=0,r=0;const h=t.length-1,c=this.parts,[v,f]=he(t,e);if(this.el=ot.createElement(v,n),N.currentNode=this.el.content,e===2||e===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=N.nextNode())!==null&&c.length<h;){if(i.nodeType===1){if(i.hasAttributes())for(const p of i.getAttributeNames())if(p.endsWith(Rt)){const I=f[r++],B=i.getAttribute(p).split(z),at=/([.?@])?(.*)/.exec(I);c.push({type:1,index:s,name:at[2],strings:B,ctor:at[1]==="."?pe:at[1]==="?"?ue:at[1]==="@"?ve:dt}),i.removeAttribute(p)}else p.startsWith(z)&&(c.push({type:6,index:s}),i.removeAttribute(p));if(Vt.test(i.tagName)){const p=i.textContent.split(z),I=p.length-1;if(I>0){i.textContent=ht?ht.emptyScript:"";for(let B=0;B<I;B++)i.append(p[B],tt()),N.nextNode(),c.push({type:2,index:++s});i.append(p[I],tt())}}}else if(i.nodeType===8)if(i.data===Ft)c.push({type:2,index:s});else{let p=-1;for(;(p=i.data.indexOf(z,p+1))!==-1;)c.push({type:7,index:s}),p+=z.length-1}s++}}static createElement(t,e){const n=F.createElement("template");return n.innerHTML=t,n}}function W(o,t,e=o,n){var r,h;if(t===H)return t;let i=n!==void 0?(r=e._$Co)==null?void 0:r[n]:e._$Cl;const s=et(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==s&&((h=i==null?void 0:i._$AO)==null||h.call(i,!1),s===void 0?i=void 0:(i=new s(o),i._$AT(o,e,n)),n!==void 0?(e._$Co??(e._$Co=[]))[n]=i:e._$Cl=i),i!==void 0&&(t=W(o,i._$AS(o,t.values),i,n)),t}class de{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)??F).importNode(e,!0);N.currentNode=i;let s=N.nextNode(),r=0,h=0,c=n[0];for(;c!==void 0;){if(r===c.index){let v;c.type===2?v=new st(s,s.nextSibling,this,t):c.type===1?v=new c.ctor(s,c.name,c.strings,this,t):c.type===6&&(v=new be(s,this,t)),this._$AV.push(v),c=n[++h]}r!==(c==null?void 0:c.index)&&(s=N.nextNode(),r++)}return N.currentNode=F,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 st{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=W(this,t,e),et(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==H&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):le(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&&et(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var s;const{values:e,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ot.createElement(Zt(n.h,n.h[0]),this.options)),n);if(((s=this._$AH)==null?void 0:s._$AD)===i)this._$AH.p(e);else{const r=new de(i,this),h=r.u(this.options);r.p(e),this.T(h),this._$AH=r}}_$AC(t){let e=jt.get(t.strings);return e===void 0&&jt.set(t.strings,e=new ot(t)),e}k(t){kt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const s of t)i===e.length?e.push(n=new st(this.O(tt()),this.O(tt()),this,this.options)):n=e[i],n._$AI(s),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 dt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,i,s){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,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 s=this.strings;let r=!1;if(s===void 0)t=W(this,t,e,0),r=!et(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const h=t;let c,v;for(t=s[0],c=0;c<s.length-1;c++)v=W(this,h[n+c],e,c),v===H&&(v=this._$AH[c]),r||(r=!et(v)||v!==this._$AH[c]),v===d?t=d:t!==d&&(t+=(v??"")+s[c+1]),this._$AH[c]=v}r&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class pe extends dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class ue extends dt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class ve extends dt{constructor(t,e,n,i,s){super(t,e,n,i,s),this.type=5}_$AI(t,e=this){if((t=W(this,t,e,0)??d)===H)return;const n=this._$AH,i=t===d&&n!==d||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==d&&(n===d||i);i&&this.element.removeEventListener(this.name,this,n),s&&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 be{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){W(this,t)}}const gt=Q.litHtmlPolyfillSupport;gt==null||gt(ot,st),(Q.litHtmlVersions??(Q.litHtmlVersions=[])).push("3.3.0");const ge=(o,t,e)=>{const n=(e==null?void 0:e.renderBefore)??t;let i=n._$litPart$;if(i===void 0){const s=(e==null?void 0:e.renderBefore)??null;n._$litPart$=i=new st(t.insertBefore(tt(),s),s,void 0,e??{})}return i._$AI(o),i};/**
13
+ */const Y=globalThis,dt=Y.trustedTypes,jt=dt?dt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Kt="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,Gt="?"+z,de=`<${Gt}>`,R=document,et=()=>R.createComment(""),ot=o=>o===null||typeof o!="object"&&typeof o!="function",St=Array.isArray,pe=o=>St(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",gt=`[
14
+ \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ut=/-->/g,Nt=/>/g,U=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ft=/'/g,Rt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,ue=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=ue(1),H=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Vt=new WeakMap,N=R.createTreeWalker(R,129);function Jt(o,t){if(!St(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return jt!==void 0?jt.createHTML(t):t}const ve=(o,t)=>{const e=o.length-1,n=[];let i,r=t===2?"<svg>":t===3?"<math>":"",s=J;for(let h=0;h<e;h++){const c=o[h];let b,y,p=-1,I=0;for(;I<c.length&&(s.lastIndex=I,y=s.exec(c),y!==null);)I=s.lastIndex,s===J?y[1]==="!--"?s=Ut:y[1]!==void 0?s=Nt:y[2]!==void 0?(Xt.test(y[2])&&(i=RegExp("</"+y[2],"g")),s=U):y[3]!==void 0&&(s=U):s===U?y[0]===">"?(s=i??J,p=-1):y[1]===void 0?p=-2:(p=s.lastIndex-y[2].length,b=y[1],s=y[3]===void 0?U:y[3]==='"'?Rt:Ft):s===Rt||s===Ft?s=U:s===Ut||s===Nt?s=J:(s=U,i=void 0);const B=s===U&&o[h+1].startsWith("/>")?" ":"";r+=s===J?c+de:p>=0?(n.push(b),c.slice(0,p)+Kt+c.slice(p)+z+B):c+z+(p===-2?h:B)}return[Jt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class it{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,s=0;const h=t.length-1,c=this.parts,[b,y]=ve(t,e);if(this.el=it.createElement(b,n),N.currentNode=this.el.content,e===2||e===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=N.nextNode())!==null&&c.length<h;){if(i.nodeType===1){if(i.hasAttributes())for(const p of i.getAttributeNames())if(p.endsWith(Kt)){const I=y[s++],B=i.getAttribute(p).split(z),lt=/([.?@])?(.*)/.exec(I);c.push({type:1,index:r,name:lt[2],strings:B,ctor:lt[1]==="."?fe:lt[1]==="?"?ge:lt[1]==="@"?ye:ut}),i.removeAttribute(p)}else p.startsWith(z)&&(c.push({type:6,index:r}),i.removeAttribute(p));if(Xt.test(i.tagName)){const p=i.textContent.split(z),I=p.length-1;if(I>0){i.textContent=dt?dt.emptyScript:"";for(let B=0;B<I;B++)i.append(p[B],et()),N.nextNode(),c.push({type:2,index:++r});i.append(p[I],et())}}}else if(i.nodeType===8)if(i.data===Gt)c.push({type:2,index:r});else{let p=-1;for(;(p=i.data.indexOf(z,p+1))!==-1;)c.push({type:7,index:r}),p+=z.length-1}r++}}static createElement(t,e){const n=R.createElement("template");return n.innerHTML=t,n}}function W(o,t,e=o,n){var s,h;if(t===H)return t;let i=n!==void 0?(s=e._$Co)==null?void 0:s[n]:e._$Cl;const r=ot(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==r&&((h=i==null?void 0:i._$AO)==null||h.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=W(o,i._$AS(o,t.values),i,n)),t}class be{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)??R).importNode(e,!0);N.currentNode=i;let r=N.nextNode(),s=0,h=0,c=n[0];for(;c!==void 0;){if(s===c.index){let b;c.type===2?b=new at(r,r.nextSibling,this,t):c.type===1?b=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(b=new me(r,this,t)),this._$AV.push(b),c=n[++h]}s!==(c==null?void 0:c.index)&&(r=N.nextNode(),s++)}return N.currentNode=R,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 at{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=W(this,t,e),ot(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==H&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):pe(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&&ot(this._$AH)?this._$AA.nextSibling.data=t:this.T(R.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=it.createElement(Jt(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 be(i,this),h=s.u(this.options);s.p(e),this.T(h),this._$AH=s}}_$AC(t){let e=Vt.get(t.strings);return e===void 0&&Vt.set(t.strings,e=new it(t)),e}k(t){St(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 at(this.O(et()),this.O(et()),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 ut{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=W(this,t,e,0),s=!ot(t)||t!==this._$AH&&t!==H,s&&(this._$AH=t);else{const h=t;let c,b;for(t=r[0],c=0;c<r.length-1;c++)b=W(this,h[n+c],e,c),b===H&&(b=this._$AH[c]),s||(s=!ot(b)||b!==this._$AH[c]),b===d?t=d:t!==d&&(t+=(b??"")+r[c+1]),this._$AH[c]=b}s&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fe extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class ge extends ut{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class ye extends ut{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){if((t=W(this,t,e,0)??d)===H)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 me{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){W(this,t)}}const yt=Y.litHtmlPolyfillSupport;yt==null||yt(it,at),(Y.litHtmlVersions??(Y.litHtmlVersions=[])).push("3.3.0");const xe=(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 at(t.insertBefore(et(),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
19
- */const R=globalThis;let b=class extends q{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return H}};var Ut;b._$litElement$=!0,b.finalized=!0,(Ut=R.litElementHydrateSupport)==null||Ut.call(R,{LitElement:b});const ft=R.litElementPolyfillSupport;ft==null||ft({LitElement:b});(R.litElementVersions??(R.litElementVersions=[])).push("4.2.0");/**
19
+ */const F=globalThis;let f=class extends q{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=xe(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return H}};var qt;f._$litElement$=!0,f.finalized=!0,(qt=F.litElementHydrateSupport)==null||qt.call(F,{LitElement:f});const mt=F.litElementPolyfillSupport;mt==null||mt({LitElement:f});(F.litElementVersions??(F.litElementVersions=[])).push("4.2.0");/**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */const x=o=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(o,t)}):customElements.define(o,t)};/**
23
+ */const w=o=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(o,t)}):customElements.define(o,t)};/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const fe={attribute:!0,type:String,converter:ct,reflect:!1,hasChanged:Ct},ye=(o=fe,t,e)=>{const{kind:n,metadata:i}=e;let s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((o=Object.create(o)).wrapped=!0),s.set(e.name,o),n==="accessor"){const{name:r}=e;return{set(h){const c=t.get.call(this);t.set.call(this,h),this.requestUpdate(r,c,o)},init(h){return h!==void 0&&this.C(r,void 0,o,h),h}}}if(n==="setter"){const{name:r}=e;return function(h){const c=this[r];t.call(this,h),this.requestUpdate(r,c,o)}}throw Error("Unsupported decorator location: "+n)};function a(o){return(t,e)=>typeof e=="object"?ye(o,t,e):((n,i,s)=>{const r=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),r?Object.getOwnPropertyDescriptor(i,s):void 0})(o,t,e)}/**
27
+ */const we={attribute:!0,type:String,converter:ht,reflect:!1,hasChanged:At},$e=(o=we,t,e)=>{const{kind:n,metadata:i}=e;let r=globalThis.litPropertyMetadata.get(i);if(r===void 0&&globalThis.litPropertyMetadata.set(i,r=new Map),n==="setter"&&((o=Object.create(o)).wrapped=!0),r.set(e.name,o),n==="accessor"){const{name:s}=e;return{set(h){const c=t.get.call(this);t.set.call(this,h),this.requestUpdate(s,c,o)},init(h){return h!==void 0&&this.C(s,void 0,o,h),h}}}if(n==="setter"){const{name:s}=e;return function(h){const c=this[s];t.call(this,h),this.requestUpdate(s,c,o)}}throw Error("Unsupported decorator location: "+n)};function a(o){return(t,e)=>typeof e=="object"?$e(o,t,e):((n,i,r)=>{const s=i.hasOwnProperty(r);return i.constructor.createProperty(r,n),s?Object.getOwnPropertyDescriptor(i,r):void 0})(o,t,e)}/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */function V(o){return a({...o,state:!0,attribute:!1})}const qt=y`
31
+ */function V(o){return a({...o,state:!0,attribute:!1})}const Qt=m`
32
32
  outline: 1px dashed var(--button-border-color);
33
33
  outline-offset: 2px;
34
34
  outline: dashed black;
35
- `;y`
35
+ `;m`
36
36
  :host * {
37
37
  box-sizing: border-box;
38
38
  }
@@ -40,45 +40,45 @@
40
40
  * @license
41
41
  * Copyright 2023 Google LLC
42
42
  * SPDX-License-Identifier: Apache-2.0
43
- */const At=Symbol("internals"),yt=Symbol("privateInternals");function Wt(o){var t;class e extends o{get[(t=At,t)](){return this[yt]||(this[yt]=this.attachInternals()),this[yt]}}return e}/**
43
+ */const Et=Symbol("internals"),xt=Symbol("privateInternals");function Yt(o){var t;class e extends o{get[(t=Et,t)](){return this[xt]||(this[xt]=this.attachInternals()),this[xt]}}return e}/**
44
44
  * @license
45
45
  * Copyright 2023 Google LLC
46
46
  * SPDX-License-Identifier: Apache-2.0
47
- */function me(o){o.addInitializer(t=>{const e=t;e.addEventListener("click",async n=>{const{type:i,[At]:s}=e,{form:r}=s;if(!(!r||i==="button")&&(await new Promise(h=>{setTimeout(h)}),!n.defaultPrevented)){if(i==="reset"){r.reset();return}r.addEventListener("submit",h=>{Object.defineProperty(h,"submitter",{configurable:!0,enumerable:!0,get:()=>e})},{capture:!0,once:!0}),s.setFormValue(e.value),r.requestSubmit()}})})}const we=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
47
+ */function _e(o){o.addInitializer(t=>{const e=t;e.addEventListener("click",async n=>{const{type:i,[Et]:r}=e,{form:s}=r;if(!(!s||i==="button")&&(await new Promise(h=>{setTimeout(h)}),!n.defaultPrevented)){if(i==="reset"){s.reset();return}s.addEventListener("submit",h=>{Object.defineProperty(h,"submitter",{configurable:!0,enumerable:!0,get:()=>e})},{capture:!0,once:!0}),r.setFormValue(e.value),s.requestSubmit()}})})}const Ce=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
48
48
  <path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
49
49
  </svg>
50
- `,xe=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
50
+ `,ke=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
51
51
  <path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
52
52
  </svg>
53
- `,$e=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
53
+ `,Ae=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
54
54
  <path d="M12.2266 8.16162C11.0953 9.26599 8.72489 11.8788 5.11546 16L4.63062 15.7172C5.78886 13.4007 7.17607 10.8283 8.79223 8C7.17607 5.17172 5.78886 2.59933 4.63062 0.282827L5.11546 0C8.72489 4.12121 11.0953 6.73401 12.2266 7.83838V8.16162Z" fill="#3F2B2E"/>
55
55
  </svg>
56
- `,_e=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
56
+ `,Se=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
57
57
  <path d="M5 7.83838C6.02128 6.73401 8.16109 4.12121 11.4195 0L11.8571 0.282829C10.8116 2.59933 9.55927 5.17172 8.1003 8C9.55927 10.8283 10.8115 13.4007 11.8571 15.7172L11.4195 16C8.16109 11.8788 6.02128 9.266 5 8.16162L5 7.83838Z" fill="#3F2B2E"/>
58
58
  </svg>
59
- `,Ce=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
59
+ `,Ee=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
60
60
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834ZM7.98873 10.328L10.6602 12.2353L9.64573 9.15787L12.2721 7.28568H9.02576L8 4.17317L6.97424 7.28568H3.72786L6.35427 9.15787L5.33977 12.2353L8.01127 10.328H7.98873Z" fill="#3F2B2E"/>
61
61
  </svg>
62
- `,ke=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
62
+ `,Le=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
63
63
  <path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM6.36554 11.5396V7.32718H6.97424L8 4.21467L9.02576 7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L8 10.3812L6.36554 11.5513V11.5396Z" fill="#3F2B2E"/>
64
64
  </svg>
65
- `,Ae=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
65
+ `,Ie=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
66
66
  <path d="M15 6.39639H9.63446L8 1.4585L6.36554 6.39639H1L5.33977 9.4972L3.69404 14.4585L7.98873 11.3928L12.2834 14.4585L10.6377 9.4972L14.9775 6.39639H15ZM10.6715 12.2353L8.05636 10.3631V4.32528L9.03704 7.27398H12.2834L9.65701 9.14616L10.6715 12.2236V12.2353Z" fill="#3F2B2E"/>
67
67
  </svg>
68
- `,Se=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
68
+ `,Pe=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
69
69
  <path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
70
70
  </svg>
71
- `,Ee=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
71
+ `,Oe=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
72
72
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834Z" fill="#3F2B2E"/>
73
73
  </svg>
74
- `,Le=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
74
+ `,Be=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
75
75
  <path d="M2 2L14 14" stroke="#3F2B2E"/>
76
76
  <path d="M14 2L2 14" stroke="#3F2B2E"/>
77
77
  </svg>
78
- `,Ie=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
78
+ `,ze=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
79
79
  <path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
80
80
  </svg>
81
- `,Oe=`<?xml version="1.0" encoding="utf-8"?>
81
+ `,De=`<?xml version="1.0" encoding="utf-8"?>
82
82
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
83
83
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
84
84
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -88,7 +88,7 @@
88
88
  <path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
89
89
  s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
90
90
  </svg>
91
- `,Pe=`<?xml version="1.0" encoding="utf-8"?>
91
+ `,He=`<?xml version="1.0" encoding="utf-8"?>
92
92
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
93
93
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
94
94
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -97,49 +97,47 @@
97
97
  </style>
98
98
  <path class="st0" d="M38.8,20.5H1.2c-0.7,0-1.2-0.6-1.2-1.2S0.6,18,1.2,18h37.5c0.7,0,1.2,0.6,1.2,1.2S39.4,20.5,38.8,20.5z"/>
99
99
  </svg>
100
- `,Be=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
100
+ `,Me=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
101
101
  <path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
102
102
  </svg>
103
- `,ze=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
103
+ `,Te=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
104
104
  <path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
105
105
  </svg>
106
- `,De=`<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
106
+ `,je=`<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
107
107
  <path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
108
108
  </svg>
109
- `,He=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
109
+ `,Ue=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
110
110
  <path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
111
111
  </svg>
112
- `,Me=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
112
+ `,Ne=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
113
113
  <path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
114
114
  </svg>
115
- `,Te=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
115
+ `,Fe=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
116
116
  <path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
117
117
  </svg>
118
- `,je=`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
118
+ `,Re=`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
119
119
  <path d="M5.24611 10.4659C5.04705 10.4654 4.85616 10.3867 4.71465 10.2467L0.210718 5.74273C-0.0737595 5.44819 -0.0696911 4.98 0.219862 4.69045C0.509415 4.4009 0.977603 4.39683 1.27214 4.6813L5.18306 8.59071L10.6628 1.74024C10.9219 1.41646 11.3945 1.36403 11.7183 1.62314C12.042 1.88225 12.0945 2.35477 11.8354 2.67856L5.83012 10.1851C5.69763 10.3521 5.49956 10.4539 5.28665 10.4643L5.24611 10.4659Z" fill="#3F2B2E"/>
120
120
  </svg>
121
- `,Ue=`<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
121
+ `,Ve=`<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
122
122
  <rect x="1" width="2" height="8" fill="#3F2B2E"/>
123
123
  <rect x="5" width="2" height="8" fill="#3F2B2E"/>
124
124
  </svg>
125
- `,Ne=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
125
+ `,Ze=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
126
126
  <path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
127
127
  </svg>
128
- `,Re=`<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
129
- <line x1="0" y1="0" x2="200" y2="200" />
130
- </svg>`,X={wishlist:we,playerv:xe,chevronRight:$e,chevronLeft:_e,icoPlus:Oe,icoMinus:Pe,"star-0":Ce,"star-25":ke,"star-50":Ae,"star-75":Se,"star-100":Ee,cross:Le,search:Ie,arrowLeft:Be,arrowTop:ze,cart:De,notifyme:He,triangledown:Me,triangleup:Te,checkstroke:je,pause:Ue,mapDualArrow:Ne,strikeDiagonal:Re};/**
128
+ `,X={wishlist:Ce,playerv:ke,chevronRight:Ae,chevronLeft:Se,icoPlus:De,icoMinus:He,"star-0":Ee,"star-25":Le,"star-50":Ie,"star-75":Pe,"star-100":Oe,cross:Be,search:ze,arrowLeft:Me,arrowTop:Te,cart:je,notifyme:Ue,triangledown:Ne,triangleup:Fe,checkstroke:Re,pause:Ve,mapDualArrow:Ze};/**
131
129
  * @license
132
130
  * Copyright 2017 Google LLC
133
131
  * SPDX-License-Identifier: BSD-3-Clause
134
- */const Kt={ATTRIBUTE:1,CHILD:2},Gt=o=>(...t)=>({_$litDirective$:o,values:t});let Xt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,n){this._$Ct=t,this._$AM=e,this._$Ci=n}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};/**
132
+ */const Lt={ATTRIBUTE:1,CHILD:2},It=o=>(...t)=>({_$litDirective$:o,values:t});let Pt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,n){this._$Ct=t,this._$AM=e,this._$Ci=n}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};/**
135
133
  * @license
136
134
  * Copyright 2017 Google LLC
137
135
  * SPDX-License-Identifier: BSD-3-Clause
138
- */class mt extends Xt{constructor(t){if(super(t),this.it=d,t.type!==Kt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===d||t==null)return this._t=void 0,this.it=t;if(t===H)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}mt.directiveName="unsafeHTML",mt.resultType=1;/**
136
+ */class wt extends Pt{constructor(t){if(super(t),this.it=d,t.type!==Lt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===d||t==null)return this._t=void 0,this.it=t;if(t===H)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}wt.directiveName="unsafeHTML",wt.resultType=1;/**
139
137
  * @license
140
138
  * Copyright 2017 Google LLC
141
139
  * SPDX-License-Identifier: BSD-3-Clause
142
- */class wt extends mt{}wt.directiveName="unsafeSVG",wt.resultType=2;const M=Gt(wt);var Fe=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,w=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ve(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Fe(t,e,i),i};const Ze=Wt(b);let u=class extends Ze{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=""}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[At].form}handleClick(){if(this.panelTarget){const o=document.getElementById(this.panelTarget);o!=null&&o.openPanel&&typeof o.openPanel=="function"?o.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=X[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${M(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
140
+ */class $t extends wt{}$t.directiveName="unsafeSVG",$t.resultType=2;const M=It($t);var qe=Object.defineProperty,We=Object.getOwnPropertyDescriptor,x=(o,t,e,n)=>{for(var i=n>1?void 0:n?We(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&&qe(t,e,i),i};const Ke=Yt(f);let u=class extends Ke{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}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[Et].form}handleClick(){if(this.panelTarget){const o=document.getElementById(this.panelTarget);o!=null&&o.openPanel&&typeof o.openPanel=="function"?o.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=X[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${M(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
143
141
  <button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick}>
144
142
  ${this.startIcon?this.renderIcon("start"):d}
145
143
  ${o?l`
@@ -162,7 +160,7 @@
162
160
  `:l`<slot></slot>`}
163
161
  ${this.endIcon?this.renderIcon("end"):d}
164
162
  </a>
165
- `}};me(u);u.formAssociated=!0;u.styles=y`
163
+ `}};_e(u);u.formAssociated=!0;u.styles=m`
166
164
  :host {
167
165
  --button-border: transparent;
168
166
  cursor: pointer;
@@ -274,7 +272,7 @@
274
272
  }
275
273
 
276
274
  .button:focus-visible {
277
- ${qt};
275
+ ${Qt};
278
276
  }
279
277
 
280
278
  span.text + span.text::before {
@@ -286,6 +284,20 @@
286
284
  .icon-end {
287
285
  display: inline-flex;
288
286
  align-items: center;
287
+
288
+ svg {
289
+ max-height: 20px;
290
+ }
291
+ svg[x] {
292
+ width: 15px;
293
+ }
294
+ path[fill],
295
+ path[class] {
296
+ fill: var(--button-text) !important;
297
+ }
298
+ path[stroke] {
299
+ stroke: var(--button-text) !important;
300
+ }
289
301
  }
290
302
 
291
303
  :host([variant="tertiary"][fullwidth][endIcon]) .button {
@@ -295,11 +307,9 @@
295
307
  .button span {
296
308
  display: inline-flex;
297
309
  align-items: center;
298
- margin-top: 1px;
299
310
  }
300
311
 
301
312
  .button slot {
302
- margin-top: 1px;
303
313
  display: inline-flex;
304
314
  align-items: center;
305
315
  }
@@ -308,9 +318,19 @@
308
318
  width: var(--button-endicon-svg-width, 8px);
309
319
  }
310
320
 
311
- :host([underlined]) [href] span:not([class*="icon-"]),
312
- :host([underlined][paneltarget]) .text {
313
- border-bottom: var(--border-M, 1px) solid var(--color-border-primary);
321
+ :host([underlined]) span:not([class*="icon-"]),
322
+ :host([underlined]) .text,
323
+ :host([underlined]) .button slot {
324
+ position: relative;
325
+ &::after {
326
+ content: "";
327
+ display: block;
328
+ position: absolute;
329
+ bottom: 0;
330
+ left: 0;
331
+ width: 100%;
332
+ border-bottom: var(--border-M, 1px) solid var(--button-text);
333
+ }
314
334
  }
315
335
 
316
336
  //Icon movement on hover
@@ -324,12 +344,12 @@
324
344
  transform: translateX(4px);
325
345
  }
326
346
  //End icon movment on hover
327
- `;w([a()],u.prototype,"type",2);w([a({reflect:!0})],u.prototype,"value",2);w([a({type:String,reflect:!0})],u.prototype,"variant",2);w([a({type:String})],u.prototype,"text",2);w([a({type:String})],u.prototype,"textsecond",2);w([a({type:Boolean,reflect:!0})],u.prototype,"fullwidth",2);w([a({type:Boolean,reflect:!0})],u.prototype,"disabled",2);w([a({type:String,reflect:!0})],u.prototype,"startIconModel",2);w([a({type:String,reflect:!0})],u.prototype,"endIconModel",2);w([a({type:Boolean,reflect:!0,attribute:"starticon"})],u.prototype,"startIcon",2);w([a({type:Boolean,reflect:!0,attribute:"endicon"})],u.prototype,"endIcon",2);w([a({type:String,attribute:"paneltarget",reflect:!0})],u.prototype,"panelTarget",2);w([a({type:String})],u.prototype,"href",2);w([a({type:String})],u.prototype,"target",2);u=w([x("o-button")],u);var qe=Object.defineProperty,We=Object.getOwnPropertyDescriptor,pt=(o,t,e,n)=>{for(var i=n>1?void 0:n?We(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&qe(t,e,i),i};let K=class extends b{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("tabindex","0"),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=X.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
347
+ `;x([a()],u.prototype,"type",2);x([a({reflect:!0})],u.prototype,"value",2);x([a({type:String,reflect:!0})],u.prototype,"variant",2);x([a({type:String})],u.prototype,"text",2);x([a({type:String})],u.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],u.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],u.prototype,"disabled",2);x([a({type:String,reflect:!0})],u.prototype,"startIconModel",2);x([a({type:String,reflect:!0})],u.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],u.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],u.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget",reflect:!0})],u.prototype,"panelTarget",2);x([a({type:String})],u.prototype,"href",2);x([a({type:String})],u.prototype,"target",2);x([a({type:Boolean,reflect:!0})],u.prototype,"underlined",2);u=x([w("o-button")],u);var Ge=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,vt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Xe(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&&Ge(t,e,i),i};let K=class extends f{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("tabindex","0"),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=X.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
328
348
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
329
349
  <span class="sr-only">${this.label}</span>
330
350
  ${M(o)}
331
351
  </button>
332
- `}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()}};K.styles=y`
352
+ `}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()}};K.styles=m`
333
353
  :host {
334
354
  display: inline-flex;
335
355
  justify-content: center;
@@ -392,11 +412,11 @@
392
412
  width: 0.1rem !important;
393
413
  white-space: nowrap !important;
394
414
  }
395
- `;pt([a({type:String,reflect:!0})],K.prototype,"status",2);pt([a({type:String,reflect:!0})],K.prototype,"ariaDescribedBy",2);pt([a({type:String,reflect:!0})],K.prototype,"label",2);K=pt([x("o-wishlist-button")],K);/**
415
+ `;vt([a({type:String,reflect:!0})],K.prototype,"status",2);vt([a({type:String,reflect:!0})],K.prototype,"ariaDescribedBy",2);vt([a({type:String,reflect:!0})],K.prototype,"label",2);K=vt([w("o-wishlist-button")],K);/**
396
416
  * @license
397
417
  * Copyright 2018 Google LLC
398
418
  * SPDX-License-Identifier: BSD-3-Clause
399
- */const $=o=>o??d;var Ke=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,E=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ge(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Ke(t,e,i),i};let _=class extends b{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=X[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),n=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
419
+ */const $=o=>o??d;var Je=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,E=(o,t,e,n)=>{for(var i=n>1?void 0:n?Qe(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&&Je(t,e,i),i};let _=class extends f{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=X[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),n=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
400
420
  ${this.type==="span"?l`
401
421
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
402
422
  ${M(e)}
@@ -412,7 +432,7 @@
412
432
  ${n}
413
433
  </button>
414
434
  `}
415
- `}};_.styles=y`
435
+ `}};_.styles=m`
416
436
  :host {
417
437
  display: inline-flex;
418
438
  justify-content: center;
@@ -618,7 +638,7 @@
618
638
  .sr-only {
619
639
  display: none;
620
640
  }
621
- `;E([a({type:String,reflect:!0})],_.prototype,"bgstyle",2);E([a({type:String,reflect:!0})],_.prototype,"size",2);E([a({type:String,reflect:!0})],_.prototype,"status",2);E([a({type:String,reflect:!0})],_.prototype,"type",2);E([a({type:String})],_.prototype,"strokewidth",2);E([a({type:String})],_.prototype,"icon",2);E([a({type:Boolean,reflect:!0})],_.prototype,"disabled",2);E([a({type:Boolean})],_.prototype,"showSrLabel",2);E([a({type:String})],_.prototype,"srLabel",2);_=E([x("o-icon-button")],_);var Xe=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Z=(o,t,e,n)=>{for(var i=n>1?void 0:n?Je(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Xe(t,e,i),i};let O=class extends b{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()}render(){const o=this.href||"#";return l`
641
+ `;E([a({type:String,reflect:!0})],_.prototype,"bgstyle",2);E([a({type:String,reflect:!0})],_.prototype,"size",2);E([a({type:String,reflect:!0})],_.prototype,"status",2);E([a({type:String,reflect:!0})],_.prototype,"type",2);E([a({type:String})],_.prototype,"strokewidth",2);E([a({type:String})],_.prototype,"icon",2);E([a({type:Boolean,reflect:!0})],_.prototype,"disabled",2);E([a({type:Boolean})],_.prototype,"showSrLabel",2);E([a({type:String})],_.prototype,"srLabel",2);_=E([w("o-icon-button")],_);var Ye=Object.defineProperty,to=Object.getOwnPropertyDescriptor,Z=(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&&Ye(t,e,i),i};let P=class extends f{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()}render(){const o=this.href||"#";return l`
622
642
  <a
623
643
  href="${o}"
624
644
  target="${$(this.target||void 0)}"
@@ -644,7 +664,7 @@
644
664
  ></o-icon-button>
645
665
  `:null}
646
666
  </a>
647
- `}};O.styles=y`
667
+ `}};P.styles=m`
648
668
  :host([template="standard"]) a {
649
669
  color: var(--color-content-action-secondary);
650
670
  font-size: var(--font-size-200);
@@ -731,14 +751,14 @@
731
751
  height: 1px;
732
752
  }
733
753
  /* End of underline effect */
734
- `;Z([a({type:String})],O.prototype,"href",2);Z([a({type:String})],O.prototype,"target",2);Z([a({type:String,reflect:!0})],O.prototype,"template",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"inverse",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"endIcon",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"reverseEndIcon",2);O=Z([x("o-link")],O);var Ye=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,ut=(o,t,e,n)=>{for(var i=n>1?void 0:n?Qe(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Ye(t,e,i),i};let G=class extends b{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`
754
+ `;Z([a({type:String})],P.prototype,"href",2);Z([a({type:String})],P.prototype,"target",2);Z([a({type:String,reflect:!0})],P.prototype,"template",2);Z([a({type:Boolean,reflect:!0})],P.prototype,"inverse",2);Z([a({type:Boolean,reflect:!0})],P.prototype,"endIcon",2);Z([a({type:Boolean,reflect:!0})],P.prototype,"reverseEndIcon",2);P=Z([w("o-link")],P);var eo=Object.defineProperty,oo=Object.getOwnPropertyDescriptor,bt=(o,t,e,n)=>{for(var i=n>1?void 0:n?oo(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&&eo(t,e,i),i};let G=class extends f{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`
735
755
  <div class="rating">
736
756
  <div class="stars">
737
757
  ${o.map(t=>l`<span class="star">${M(X[t]??"")}</span>`)}
738
758
  </div>
739
759
  ${this.reviewCount!=null&&this.href!=null?l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>`:null}
740
760
  </div>
741
- `}};G.styles=y`
761
+ `}};G.styles=m`
742
762
  svg {
743
763
  width: 12px;
744
764
  height: 12px;
@@ -771,7 +791,15 @@
771
791
  text-decoration: underline;
772
792
  cursor: pointer;
773
793
  }
774
- `;ut([a({type:Number})],G.prototype,"rating",2);ut([a({type:String})],G.prototype,"reviewCount",2);ut([a({type:String})],G.prototype,"href",2);G=ut([x("o-rating")],G);var to=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,m=(o,t,e,n)=>{for(var i=n>1?void 0:n?eo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&to(t,e,i),i};let g=class extends b{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.closeButtonLabel="Close the modal",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.secondaryButtonLabel="",this.secondaryButtonVariant="secondary",this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.previousFocusedElement=null,this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),window.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0})}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),window.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}trapFocus(o){const t=this.getFocusableElements();if(t.length===0)return;const e=t[0],n=t[t.length-1];o.shiftKey&&document.activeElement===e?(o.preventDefault(),n.focus()):!o.shiftKey&&document.activeElement===n&&(o.preventDefault(),e.focus())}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");return o?Array.from(o.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(t=>!t.hasAttribute("disabled")):[]}openPanel(){this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open"),this.updateComplete.then(()=>{const o=this.getFocusableElements()[0];o==null||o.focus()})}closePanel(){var o;this.open=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),(o=this.previousFocusedElement)==null||o.focus(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(){typeof this.onFirstButtonClick=="function"&&this.onFirstButtonClick(),this.closePanel()}handleSecondaryClick(){typeof this.onSecondaryButtonClick=="function"&&this.onSecondaryButtonClick(),this.closePanel()}updated(){this.style.setProperty("--z-overlay",`${this.zIndex}`),this.style.setProperty("--z-panel",`${this.zIndex+1}`)}render(){return l`
794
+ `;bt([a({type:Number})],G.prototype,"rating",2);bt([a({type:String})],G.prototype,"reviewCount",2);bt([a({type:String})],G.prototype,"href",2);G=bt([w("o-rating")],G);/**
795
+ * @license
796
+ * Copyright 2020 Google LLC
797
+ * SPDX-License-Identifier: BSD-3-Clause
798
+ */const io=o=>o.strings===void 0;/**
799
+ * @license
800
+ * Copyright 2017 Google LLC
801
+ * SPDX-License-Identifier: BSD-3-Clause
802
+ */const tt=(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),tt(i,t);return!0},pt=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)},te=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),so(t)}};function no(o){this._$AN!==void 0?(pt(this),this._$AM=o,te(this)):this._$AM=o}function ro(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++)tt(n[r],!1),pt(n[r]);else n!=null&&(tt(n,!1),pt(n));else tt(this,o)}const so=o=>{o.type==Lt.CHILD&&(o._$AP??(o._$AP=ro),o._$AQ??(o._$AQ=no))};class ao extends Pt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),te(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&&(tt(this,t),pt(this))}setValue(t){if(io(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 lo extends ao{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 co extends lo{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 ho extends co{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 Zt=It(ho);var po=Object.defineProperty,uo=Object.getOwnPropertyDescriptor,g=(o,t,e,n)=>{for(var i=n>1?void 0:n?uo(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&&po(t,e,i),i};let v=class extends f{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.closeButtonLabel="Close the modal",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.firstButtonProps={},this.secondaryButtonLabel="",this.secondaryButtonVariant="secondary",this.secondaryButtonProps={},this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.previousFocusedElement=null,this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),window.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0})}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),window.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}trapFocus(o){const t=this.getFocusableElements();if(t.length===0)return;const e=t[0],n=t[t.length-1];o.shiftKey&&document.activeElement===e?(o.preventDefault(),n.focus()):!o.shiftKey&&document.activeElement===n&&(o.preventDefault(),e.focus())}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");return o?Array.from(o.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(t=>!t.hasAttribute("disabled")):[]}openPanel(){this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open"),this.updateComplete.then(()=>{const o=this.getFocusableElements()[0];o==null||o.focus()})}closePanel(){var o;this.open=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),(o=this.previousFocusedElement)==null||o.focus(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(){typeof this.onFirstButtonClick=="function"&&this.onFirstButtonClick(),this.closePanel()}handleSecondaryClick(){typeof this.onSecondaryButtonClick=="function"&&this.onSecondaryButtonClick(),this.closePanel()}updated(){this.style.setProperty("--z-overlay",`${this.zIndex}`),this.style.setProperty("--z-panel",`${this.zIndex+1}`)}render(){return l`
775
803
  <div class="overlay" style="z-index: ${this.zIndex}" @click=${this.closePanel}></div>
776
804
  <div
777
805
  class="panel"
@@ -801,6 +829,7 @@
801
829
  <o-button
802
830
  variant="${this.firstButtonVariant}"
803
831
  @click=${this.handleFirstClick}
832
+ ${Zt(this.firstButtonProps)}
804
833
  >
805
834
  ${this.firstButtonLabel}
806
835
  </o-button>
@@ -810,6 +839,7 @@
810
839
  <o-button
811
840
  variant="${this.secondaryButtonVariant}"
812
841
  @click=${this.handleSecondaryClick}
842
+ ${Zt(this.secondaryButtonProps)}
813
843
  >
814
844
  ${this.secondaryButtonLabel}
815
845
  </o-button>
@@ -817,7 +847,7 @@
817
847
  </div>
818
848
  `:null}
819
849
  </div>
820
- `}};g.styles=y`
850
+ `}};v.styles=m`
821
851
  :host {
822
852
  --z-overlay: 99;
823
853
  --z-panel: 100;
@@ -958,7 +988,7 @@
958
988
  --line-height: var(--line-height-280);
959
989
  }
960
990
  }
961
- `;m([a({type:Boolean,reflect:!0})],g.prototype,"open",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showHeader",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showFooter",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showHeaderStartIcon",2);m([a({type:String,reflect:!0})],g.prototype,"headerTitle",2);m([a({type:String,reflect:!0})],g.prototype,"closeButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"firstButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"firstButtonVariant",2);m([a({type:Function})],g.prototype,"onFirstButtonClick",2);m([a({type:String,reflect:!0})],g.prototype,"secondaryButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"secondaryButtonVariant",2);m([a({type:Function})],g.prototype,"onSecondaryButtonClick",2);m([a({type:Boolean,reflect:!0})],g.prototype,"disablePortal",2);m([a({type:Number,reflect:!0})],g.prototype,"zIndex",2);m([a({type:Boolean,reflect:!0})],g.prototype,"initialized",2);g=m([x("o-side-panel")],g);var oo=Object.defineProperty,io=Object.getOwnPropertyDescriptor,T=(o,t,e,n)=>{for(var i=n>1?void 0:n?io(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&oo(t,e,i),i};let A=class extends b{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
991
+ `;g([a({type:Boolean,reflect:!0})],v.prototype,"open",2);g([a({type:Boolean,reflect:!0})],v.prototype,"showHeader",2);g([a({type:Boolean,reflect:!0})],v.prototype,"showFooter",2);g([a({type:Boolean,reflect:!0})],v.prototype,"showHeaderStartIcon",2);g([a({type:String,reflect:!0})],v.prototype,"headerTitle",2);g([a({type:String,reflect:!0})],v.prototype,"closeButtonLabel",2);g([a({type:String,reflect:!0})],v.prototype,"firstButtonLabel",2);g([a({type:String,reflect:!0})],v.prototype,"firstButtonVariant",2);g([a({type:Object,reflect:!0})],v.prototype,"firstButtonProps",2);g([a({type:Function})],v.prototype,"onFirstButtonClick",2);g([a({type:String,reflect:!0})],v.prototype,"secondaryButtonLabel",2);g([a({type:String,reflect:!0})],v.prototype,"secondaryButtonVariant",2);g([a({type:Object,reflect:!0})],v.prototype,"secondaryButtonProps",2);g([a({type:Function})],v.prototype,"onSecondaryButtonClick",2);g([a({type:Boolean,reflect:!0})],v.prototype,"disablePortal",2);g([a({type:Number,reflect:!0})],v.prototype,"zIndex",2);g([a({type:Boolean,reflect:!0})],v.prototype,"initialized",2);v=g([w("o-side-panel")],v);var vo=Object.defineProperty,bo=Object.getOwnPropertyDescriptor,T=(o,t,e,n)=>{for(var i=n>1?void 0:n?bo(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 A=class extends f{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
962
992
  <o-icon-button
963
993
  icon="playerv"
964
994
  size="xsmall"
@@ -969,7 +999,7 @@
969
999
  ></o-icon-button>
970
1000
  `}handleKeyDown(o){o.key==="ArrowRight"?(o.preventDefault(),this.focusNext()):o.key==="ArrowLeft"?(o.preventDefault(),this.focusPrevious()):(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.selectThumbnail(this.focusedIndex))}focusNext(){let o=this.focusedIndex+1;for(;this.disabledIndexes.includes(o)&&o<this.thumbnails.length;)o++;o<this.thumbnails.length&&(this.focusedIndex=o,this.focusThumbnail(o))}focusPrevious(){let o=this.focusedIndex-1;for(;this.disabledIndexes.includes(o)&&o>=0;)o--;o>=0&&(this.focusedIndex=o,this.focusThumbnail(o))}focusThumbnail(o){const t=this.renderRoot.querySelector(`[data-index="${o}"]`);t==null||t.focus()}selectThumbnail(o){this.disabledIndexes.includes(o)||(this.activeIndex=o,this.swiperInstance&&typeof this.swiperInstance.slideTo=="function"&&this.swiperInstance.slideTo(o),this.dispatchEvent(new CustomEvent("thumbnail-select",{detail:{index:o}})))}onFocus(o){const t=o.currentTarget,e=Number(t.dataset.index);this.focusedIndex=e,this.renderRoot.querySelectorAll(".thumb").forEach(i=>{i.classList.remove("a--tabfocus")}),t.classList.add("a--tabfocus"),this.requestUpdate()}onBlur(o){setTimeout(()=>{var e;const t=(e=this.shadowRoot)==null?void 0:e.activeElement;(!t||!t.classList.contains("thumb"))&&this.renderRoot.querySelectorAll(".thumb").forEach(i=>i.classList.remove("a--tabfocus"))},0)}render(){return l`
971
1001
  <ul class="scroll-container" style="max-width: ${this.maxWidth};">
972
- ${this.thumbnails.map((o,t)=>{const e=this.disabledIndexes.includes(t),n=this.activeIndex===t,i=o.type==="video",s=i?`video ${t}`:`${this.altressource} ${t+1}`;return l`
1002
+ ${this.thumbnails.map((o,t)=>{const e=this.disabledIndexes.includes(t),n=this.activeIndex===t,i=o.type==="video",r=i?`video ${t}`:`${this.altressource} ${t+1}`;return l`
973
1003
  <li class="thumb-wrapper">
974
1004
  <button
975
1005
  class="thumb"
@@ -980,16 +1010,16 @@
980
1010
  tabindex="${this.disabledIndexes.includes(t)?-1:0}"
981
1011
  @click=${()=>this.selectThumbnail(t)}
982
1012
  @keydown=${this.handleKeyDown}
983
- @focus=${r=>this.onFocus(r)}
984
- @blur=${r=>this.onBlur(r)}
1013
+ @focus=${s=>this.onFocus(s)}
1014
+ @blur=${s=>this.onBlur(s)}
985
1015
  >
986
- <img alt="${s}" src="${o.src}" />
1016
+ <img alt="${r}" src="${o.src}" />
987
1017
  </button>
988
1018
  ${i?l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>`:null}
989
1019
  </li>
990
1020
  `})}
991
1021
  </ul>
992
- `}};A.styles=y`
1022
+ `}};A.styles=m`
993
1023
  :host {
994
1024
  display: flex;
995
1025
  gap: 5px;
@@ -1094,9 +1124,9 @@
1094
1124
  height: 0;
1095
1125
  width: 0;
1096
1126
  }
1097
- `;T([a({type:Array})],A.prototype,"thumbnails",2);T([a({type:Number})],A.prototype,"activeIndex",2);T([a({type:Array})],A.prototype,"disabledIndexes",2);T([a({type:String})],A.prototype,"maxWidth",2);T([a({type:String})],A.prototype,"altressource",2);T([a({type:Object})],A.prototype,"swiperInstance",2);T([V()],A.prototype,"focusedIndex",2);A=T([x("thumbnail-navigation")],A);var no=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,St=(o,t,e,n)=>{for(var i=n>1?void 0:n?ro(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&no(t,e,i),i};let it=class extends b{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1127
+ `;T([a({type:Array})],A.prototype,"thumbnails",2);T([a({type:Number})],A.prototype,"activeIndex",2);T([a({type:Array})],A.prototype,"disabledIndexes",2);T([a({type:String})],A.prototype,"maxWidth",2);T([a({type:String})],A.prototype,"altressource",2);T([a({type:Object})],A.prototype,"swiperInstance",2);T([V()],A.prototype,"focusedIndex",2);A=T([w("thumbnail-navigation")],A);var fo=Object.defineProperty,go=Object.getOwnPropertyDescriptor,Ot=(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&&fo(t,e,i),i};let nt=class extends f{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1098
1128
  <span class="tag ${this.bgstyle}"><slot></slot></span>
1099
- `}};it.styles=y`
1129
+ `}};nt.styles=m`
1100
1130
  .tag {
1101
1131
  display: inline-block;
1102
1132
  padding: var(--spacing-2-xs) var(--spacing-s);
@@ -1151,12 +1181,12 @@
1151
1181
  background-color: var(--color-content-success);
1152
1182
  }
1153
1183
 
1154
- `;St([a({type:String,reflect:!0})],it.prototype,"type",2);St([a({type:String,reflect:!0})],it.prototype,"bgstyle",2);it=St([x("o-tag")],it);var so=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,Et=(o,t,e,n)=>{for(var i=n>1?void 0:n?ao(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&so(t,e,i),i};let nt=class extends b{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
1184
+ `;Ot([a({type:String,reflect:!0})],nt.prototype,"type",2);Ot([a({type:String,reflect:!0})],nt.prototype,"bgstyle",2);nt=Ot([w("o-tag")],nt);var yo=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,Bt=(o,t,e,n)=>{for(var i=n>1?void 0:n?mo(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&&yo(t,e,i),i};let rt=class extends f{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
1155
1185
  <div class="tooltip">
1156
1186
  <span class="tooltiptext">${this.text}</span>
1157
1187
  <slot></slot>
1158
1188
  </div>
1159
- `}};nt.styles=y`
1189
+ `}};rt.styles=m`
1160
1190
  .tooltip {
1161
1191
  position: relative;
1162
1192
  display: inline-block;
@@ -1248,7 +1278,7 @@
1248
1278
  border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
1249
1279
  }
1250
1280
 
1251
- `;Et([a({type:String,reflect:!0})],nt.prototype,"type",2);Et([a({type:String,reflect:!0})],nt.prototype,"text",2);nt=Et([x("o-tooltip")],nt);var lo=Object.defineProperty,co=Object.getOwnPropertyDescriptor,P=(o,t,e,n)=>{for(var i=n>1?void 0:n?co(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&lo(t,e,i),i};let k=class extends b{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=X.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1281
+ `;Bt([a({type:String,reflect:!0})],rt.prototype,"type",2);Bt([a({type:String,reflect:!0})],rt.prototype,"text",2);rt=Bt([w("o-tooltip")],rt);var xo=Object.defineProperty,wo=Object.getOwnPropertyDescriptor,O=(o,t,e,n)=>{for(var i=n>1?void 0:n?wo(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 k=class extends f{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=X.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1252
1282
  <button
1253
1283
  role="combobox"
1254
1284
  aria-haspopup="listbox"
@@ -1296,7 +1326,7 @@
1296
1326
  </ul>`:null}
1297
1327
 
1298
1328
  <input type="hidden" name="${this.name}" .value="${this.value}" />
1299
- `}};k.styles=y`
1329
+ `}};k.styles=m`
1300
1330
  :host {
1301
1331
  display: inline-block;
1302
1332
  position: relative;
@@ -1435,7 +1465,7 @@
1435
1465
  input[type="hidden"] {
1436
1466
  display: none;
1437
1467
  }
1438
- `;P([a({type:Array,reflect:!0})],k.prototype,"options",2);P([a({type:String,reflect:!0})],k.prototype,"value",2);P([a({type:String,reflect:!0})],k.prototype,"name",2);P([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2);P([a({type:String,reflect:!0})],k.prototype,"width",2);P([V()],k.prototype,"open",2);P([V()],k.prototype,"activeIndex",2);P([V()],k.prototype,"menuWidth",2);k=P([x("o-dropdown")],k);var ho=Object.getOwnPropertyDescriptor,po=(o,t,e,n)=>{for(var i=n>1?void 0:n?ho(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=r(i)||i);return i};let xt=class extends b{render(){return l` <span class="dots"></span> `}};xt.styles=y`
1468
+ `;O([a({type:Array,reflect:!0})],k.prototype,"options",2);O([a({type:String,reflect:!0})],k.prototype,"value",2);O([a({type:String,reflect:!0})],k.prototype,"name",2);O([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2);O([a({type:String,reflect:!0})],k.prototype,"width",2);O([V()],k.prototype,"open",2);O([V()],k.prototype,"activeIndex",2);O([V()],k.prototype,"menuWidth",2);k=O([w("o-dropdown")],k);var $o=Object.getOwnPropertyDescriptor,_o=(o,t,e,n)=>{for(var i=n>1?void 0:n?$o(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let _t=class extends f{render(){return l` <span class="dots"></span> `}};_t.styles=m`
1439
1469
  :host {
1440
1470
  display: flex;
1441
1471
  align-items: center;
@@ -1486,7 +1516,7 @@
1486
1516
  background-color: var(--color-container-action-primary-pressed);
1487
1517
  }
1488
1518
  }
1489
- `;xt=po([x("o-dots")],xt);var uo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,L=(o,t,e,n)=>{for(var i=n>1?void 0:n?vo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&uo(t,e,i),i};let C=class extends b{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=X.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1519
+ `;_t=_o([w("o-dots")],_t);var Co=Object.defineProperty,ko=Object.getOwnPropertyDescriptor,L=(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&&Co(t,e,i),i};let C=class extends f{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=X.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1490
1520
  <button
1491
1521
  role="combobox"
1492
1522
  aria-haspopup="listbox"
@@ -1548,7 +1578,7 @@
1548
1578
  </ul>`:null}
1549
1579
 
1550
1580
  <input type="hidden" name="${this.name}" .value="${this.value}" />
1551
- `}};C.styles=y`
1581
+ `}};C.styles=m`
1552
1582
  :host {
1553
1583
  display: inline-block;
1554
1584
  position: relative;
@@ -1723,17 +1753,17 @@
1723
1753
  input[type="hidden"] {
1724
1754
  display: none;
1725
1755
  }
1726
- `;L([a({type:Array,reflect:!0})],C.prototype,"options",2);L([a({type:String,reflect:!0})],C.prototype,"value",2);L([a({type:String,reflect:!0})],C.prototype,"name",2);L([a({type:String,reflect:!0})],C.prototype,"additionaltext",2);L([a({type:Boolean,reflect:!0})],C.prototype,"disabled",2);L([a({type:String,reflect:!0})],C.prototype,"width",2);L([V()],C.prototype,"open",2);L([V()],C.prototype,"activeIndex",2);L([V()],C.prototype,"menuWidth",2);C=L([x("o-dropdown-variant")],C);/**
1756
+ `;L([a({type:Array,reflect:!0})],C.prototype,"options",2);L([a({type:String,reflect:!0})],C.prototype,"value",2);L([a({type:String,reflect:!0})],C.prototype,"name",2);L([a({type:String,reflect:!0})],C.prototype,"additionaltext",2);L([a({type:Boolean,reflect:!0})],C.prototype,"disabled",2);L([a({type:String,reflect:!0})],C.prototype,"width",2);L([V()],C.prototype,"open",2);L([V()],C.prototype,"activeIndex",2);L([V()],C.prototype,"menuWidth",2);C=L([w("o-dropdown-variant")],C);/**
1727
1757
  * @license
1728
1758
  * Copyright 2018 Google LLC
1729
1759
  * SPDX-License-Identifier: BSD-3-Clause
1730
- */const Jt="important",bo=" !"+Jt,go=Gt(class extends Xt{constructor(o){var t;if(super(o),o.type!==Kt.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 s=typeof i=="string"&&i.endsWith(bo);n.includes("-")||s?e.setProperty(n,s?i.slice(0,-11):i,s?Jt:""):e[n]=i}}return H}});var fo=Object.defineProperty,yo=Object.getOwnPropertyDescriptor,Lt=(o,t,e,n)=>{for(var i=n>1?void 0:n?yo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&fo(t,e,i),i};let rt=class extends b{constructor(){super(...arguments),this.option={},this.imageSize=64}render(){const o=this.option.clickable,t={width:`${this.imageSize}px`,height:`${this.imageSize}px`},e=l`
1731
- ${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${go(t)} />`:""}
1760
+ */const ee="important",Ao=" !"+ee,So=It(class extends Pt{constructor(o){var t;if(super(o),o.type!==Lt.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(Ao);n.includes("-")||r?e.setProperty(n,r?i.slice(0,-11):i,r?ee:""):e[n]=i}}return H}});var Eo=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,zt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Lo(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&&Eo(t,e,i),i};let st=class extends f{constructor(){super(...arguments),this.option={},this.imageSize=64}render(){const o=this.option.clickable,t={width:`${this.imageSize}px`,height:`${this.imageSize}px`},e=l`
1761
+ ${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${So(t)} />`:""}
1732
1762
  <div class="m-reassurance-content">
1733
1763
  <h3 class="a-reassurance-text">${$(this.option.title)}</h3>
1734
1764
  <p class="a-reassurance-description">${$(this.option.description)}</p>
1735
1765
  </div>
1736
- `;return o?l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>`:l`<div class="reassurance-item">${e}</div>`}};rt.styles=y`
1766
+ `;return o?l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>`:l`<div class="reassurance-item">${e}</div>`}};st.styles=m`
1737
1767
  :host {
1738
1768
  display: inline-block;
1739
1769
  position: relative;
@@ -1814,7 +1844,7 @@
1814
1844
  overflow: hidden;
1815
1845
  }
1816
1846
  }
1817
- `;Lt([a({type:Object,reflect:!0})],rt.prototype,"option",2);Lt([a({type:Number,reflect:!0})],rt.prototype,"imageSize",2);rt=Lt([x("o-reassurance")],rt);var mo=Object.defineProperty,wo=Object.getOwnPropertyDescriptor,j=(o,t,e,n)=>{for(var i=n>1?void 0:n?wo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&mo(t,e,i),i};const xo=Wt(b);let S=class extends xo{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1}handleClick(o){this.selected||(this.selected=!0)}render(){const o=this.text;return this.link?l`
1847
+ `;zt([a({type:Object,reflect:!0})],st.prototype,"option",2);zt([a({type:Number,reflect:!0})],st.prototype,"imageSize",2);st=zt([w("o-reassurance")],st);var Io=Object.defineProperty,Po=Object.getOwnPropertyDescriptor,j=(o,t,e,n)=>{for(var i=n>1?void 0:n?Po(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&&Io(t,e,i),i};const Oo=Yt(f);let S=class extends Oo{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1}handleClick(o){this.selected||(this.selected=!0)}render(){const o=this.text;return this.link?l`
1818
1848
  <a href="${this.link}" class="o-chip">
1819
1849
  ${o?this.text:l`<slot></slot>`}
1820
1850
  </a>
@@ -1823,7 +1853,7 @@
1823
1853
  aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
1824
1854
  ${o?this.text:l`<slot></slot>`}
1825
1855
  </button>
1826
- `}};S.styles=y`
1856
+ `}};S.styles=m`
1827
1857
  :host {
1828
1858
  cursor: pointer;
1829
1859
  display: inline-flex;
@@ -1895,7 +1925,7 @@
1895
1925
  }
1896
1926
 
1897
1927
  &:focus-visible {
1898
- ${qt};
1928
+ ${Qt};
1899
1929
  }
1900
1930
  }
1901
1931
 
@@ -1908,4 +1938,4 @@
1908
1938
  display: inline-flex;
1909
1939
  align-items: center;
1910
1940
  }
1911
- `;j([a({type:String,reflect:!0})],S.prototype,"link",2);j([a({reflect:!0})],S.prototype,"name",2);j([a({reflect:!0})],S.prototype,"value",2);j([a({type:String})],S.prototype,"text",2);j([a({type:String,reflect:!0})],S.prototype,"size",2);j([a({type:Boolean,reflect:!0})],S.prototype,"selected",2);j([a({type:Boolean,reflect:!0})],S.prototype,"fullwidth",2);S=j([x("o-chip")],S);
1941
+ `;j([a({type:String,reflect:!0})],S.prototype,"link",2);j([a({reflect:!0})],S.prototype,"name",2);j([a({reflect:!0})],S.prototype,"value",2);j([a({type:String})],S.prototype,"text",2);j([a({type:String,reflect:!0})],S.prototype,"size",2);j([a({type:Boolean,reflect:!0})],S.prototype,"selected",2);j([a({type:Boolean,reflect:!0})],S.prototype,"fullwidth",2);S=j([w("o-chip")],S);