@florid-kit/components 0.9.20 → 0.9.21

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/aria.d.ts CHANGED
@@ -15,7 +15,7 @@ export type ARIAAttribute = ARIAPropertyToAttribute<ARIAProperty>;
15
15
  /**
16
16
  * Accessibility Object Model aria attributes.
17
17
  */
18
- export declare const ARIA_ATTRIBUTES: ("aria-modal" | "aria-pressed" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-current" | "aria-description" | "aria-disabled" | "aria-expanded" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-level" | "aria-live" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-placeholder" | "aria-posinset" | "aria-readonly" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext")[];
18
+ export declare const ARIA_ATTRIBUTES: ("aria-label" | "aria-modal" | "aria-pressed" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-current" | "aria-description" | "aria-disabled" | "aria-expanded" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-placeholder" | "aria-posinset" | "aria-readonly" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext")[];
19
19
  /**
20
20
  * Checks if an attribute is one of the AOM aria attributes.
21
21
  *
@@ -15,7 +15,9 @@ export declare class OccitaneSidePanel extends LitElement {
15
15
  showHeaderStartIcon: boolean;
16
16
  headerTitle: string;
17
17
  headerTitleClassName: string;
18
+ labelDialog: string;
18
19
  closeButtonLabel: string;
20
+ goBackButtonLabel: string;
19
21
  firstButtonLabel: string;
20
22
  firstButtonVariant: string;
21
23
  firstButtonProps: {};
package/index.js CHANGED
@@ -16,11 +16,11 @@
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */const Y=globalThis;let p=class extends rt{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=je(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 G}};var pe;p._$litElement$=!0,p.finalized=!0,(pe=Y.litElementHydrateSupport)==null||pe.call(Y,{LitElement:p});const zt=Y.litElementPolyfillSupport;zt==null||zt({LitElement:p});(Y.litElementVersions??(Y.litElementVersions=[])).push("4.2.0");/**
19
+ */const Y=globalThis;let u=class extends rt{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=je(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 G}};var pe;u._$litElement$=!0,u.finalized=!0,(pe=Y.litElementHydrateSupport)==null||pe.call(Y,{LitElement:u});const zt=Y.litElementPolyfillSupport;zt==null||zt({LitElement:u});(Y.litElementVersions??(Y.litElementVersions=[])).push("4.2.0");/**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */const b=o=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(o,t)}):customElements.define(o,t)};/**
23
+ */const g=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
@@ -170,7 +170,7 @@
170
170
  * @license
171
171
  * Copyright 2018 Google LLC
172
172
  * SPDX-License-Identifier: BSD-3-Clause
173
- */const S=o=>o??d;var Po=Object.defineProperty,Oo=Object.getOwnPropertyDescriptor,H=(o,t,e,r)=>{for(var i=r>1?void 0:r?Oo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Po(t,e,i),i};let A=class extends p{constructor(){super(...arguments),this.bgstyle="background-light",this.size="medium",this.status="empty",this.type="button",this.strokewidth="1",this.icon="wishlist",this.disabled=!1,this.showSrLabel=!1,this.srLabel=""}updated(o){super.updated(o),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){const o=F[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"'),r=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
173
+ */const S=o=>o??d;var Po=Object.defineProperty,Oo=Object.getOwnPropertyDescriptor,H=(o,t,e,r)=>{for(var i=r>1?void 0:r?Oo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Po(t,e,i),i};let A=class extends u{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=F[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"'),r=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
174
174
  ${this.type==="span"?l`
175
175
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
176
176
  ${_(e)}
@@ -397,37 +397,35 @@
397
397
  .sr-only {
398
398
  display: none;
399
399
  }
400
- `;H([a({type:String,reflect:!0})],A.prototype,"bgstyle",2);H([a({type:String,reflect:!0})],A.prototype,"size",2);H([a({type:String,reflect:!0})],A.prototype,"status",2);H([a({type:String,reflect:!0})],A.prototype,"type",2);H([a({type:String})],A.prototype,"strokewidth",2);H([a({type:String})],A.prototype,"icon",2);H([a({type:Boolean,reflect:!0})],A.prototype,"disabled",2);H([a({type:Boolean})],A.prototype,"showSrLabel",2);H([a({type:String})],A.prototype,"srLabel",2);A=H([b("o-icon-button")],A);var Io=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,y=(o,t,e,r)=>{for(var i=r>1?void 0:r?zo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Io(t,e,i),i};let u=class extends p{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.headerTitleClassName="panel-title",this.closeButtonLabel="Close the modal",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.firstButtonProps={},this.onFirstButtonClickClose=!1,this.secondButtonLabel="",this.secondButtonVariant="secondary",this.secondButtonProps={},this.onSecondButtonClickClose=!1,this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.showDetail=!1,this.isHidingDetail=!1,this.previousFocusedElement=null,this._onOpenDetail=async o=>{var e,r;const t=((e=o.detail)==null?void 0:e.origin)??document.activeElement;if(this._detailOriginEl=t,this._detailOriginClass=(t==null?void 0:t.className)??"",this.showDetail=!0,this.showHeaderStartIcon=!0,await this.updateComplete,this._detailOriginClass){const i=(r=this.shadowRoot)==null?void 0:r.querySelector(".detail-view");i&&i.setAttribute("fromelement",this._detailOriginClass)}this._setPriceTabindex(),await this.focusDetailReturnBtn()},this._detailOriginEl=null,this._detailOriginClass="",this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))},this.handleClosePanel=o=>{if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;o.preventDefault(),o.stopPropagation();const t=o.currentTarget,e=(t==null?void 0:t.getAttribute("data-role"))==="back";if(this.showDetail&&e){this.isHidingDetail=!0;const r=this.renderRoot.querySelector(".content"),i=async()=>{this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1,await this.updateComplete,this._restoreFocusToOrigin()};if(r){this.showHeaderStartIcon=!1;const n=()=>{this.showDetail=!1,this.isHidingDetail=!1,r.removeEventListener("animationend",n),i()};r.addEventListener("animationend",n)}else this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1;return}this.closePanel()},this._onDetailSlotChange=o=>{const r=o.target.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll("img")))[0];r==null||r.setAttribute("tabindex","0")}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),this.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0}),this.addEventListener("open-detail",this._onOpenDetail)}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback(),this.removeEventListener("open-detail",this._onOpenDetail)}async focusDetailReturnBtn(){var r,i,n,s;await this.updateComplete;const o=this.getDeepActiveElement(document);if(o&&o!==document.body)try{o.blur()}catch{}await new Promise(requestAnimationFrame);const t=(r=this.shadowRoot)==null?void 0:r.querySelector(".detail-view .return-btn");if(!t)return;t.updateComplete&&await t.updateComplete,(s=(n=((i=t.shadowRoot)==null?void 0:i.querySelector("button"))??t)==null?void 0:n.focus)==null||s.call(n,{preventScroll:!0})}_setPriceTabindex(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelector('slot[name="detail"]');if(!o)return;const e=o.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll(".m-product-price-standard")));for(const i of e)i.hasAttribute("tabindex")||i.setAttribute("tabindex","0")}_restoreFocusToOrigin(){var t,e;const o=this._detailOriginEl;!o||!document.contains(o)||((e=(t=document.activeElement)==null?void 0:t.blur)==null||e.call(t),requestAnimationFrame(()=>{var i;o.classList.add("a--tabfocus"),(((i=o.shadowRoot)==null?void 0:i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])'))??null??o).focus({preventScroll:!0})}))}getDeepActiveElement(o=this.shadowRoot){let t=o.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}trapFocus(o){if(o.key!=="Tab")return;const t=this.getDeepActiveElement(),e=this.renderRoot.querySelector(".close-btn");if(!o.shiftKey&&e&&e.contains(t)){o.preventDefault();const r=this.renderRoot.querySelector(".o-whats-inside--content p");r==null||r.focus()}}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");if(!o)return[];function t(i){return!(i.disabled||i.hasAttribute("disabled")||i.hasAttribute("tabindex")&&i.getAttribute("tabindex")==="-1")}function e(i){var s;const n=[i.matches(u.focusablesSelector)?i:[]];if(!["o-icon-button","o-button"].includes(i.tagName.toLowerCase())){const h=Array.from(i instanceof HTMLSlotElement?i.assignedElements({flatten:!0}):[]).filter(t).flatMap(e),c=Array.from(((s=i.shadowRoot)==null?void 0:s.querySelectorAll("*"))||[]).filter(t).flatMap(e);n.push(...h,...c)}return n.flat()}return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e)}openPanel(){this.removeAttribute("hidden"),this.getBoundingClientRect(),this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open");const o=this.renderRoot.querySelector(".panel");o&&o.setAttribute("aria-modal","true"),this.updateComplete.then(()=>{var t,e,r,i;if(this.showHeader){const n=((t=this.shadowRoot)==null?void 0:t.querySelector(".panel .close-btn"))||null,s=((e=n==null?void 0:n.shadowRoot)==null?void 0:e.querySelector("button"))||null;s&&((r=s.focus)==null||r.call(s))}else{const n=this.getFocusableElements()[0];(i=n==null?void 0:n.focus)==null||i.call(n)}}),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}closePanel(){var t,e,r,i,n;this.open=!1,this.showDetail=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),((t=this.previousFocusedElement)==null?void 0:t.tagName.toLowerCase())==="o-button"?(i=(r=(e=this.previousFocusedElement.shadowRoot)==null?void 0:e.querySelector(".button"))==null?void 0:r.focus)==null||i.call(r):(n=this.previousFocusedElement)==null||n.focus();const o=this.renderRoot.querySelector(".panel");o&&o.removeAttribute("aria-modal"),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onFirstButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("firstbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"first",target:o.target}})))}handleSecondClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onSecondButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("secondbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"second",target:o.target}})))}updated(){this.style.setProperty("--z-overlay",`${this.zIndex||99}`),this.style.setProperty("--z-panel",`${this.zIndex?this.zIndex+1:99}`),this.open||setTimeout(()=>{this.setAttribute("hidden","hidden")},500)}render(){const o=this.showHeader?l`
401
- <div tabindex="-1" class="header">
402
- ${this.showHeaderStartIcon?l`
403
- <o-icon-button
404
- icon="arrowLeft"
405
- size="small"
406
- class="return-btn"
407
- bgstyle="background-light"
408
- data-role="back"
409
- @click=${this.handleClosePanel}
410
- @keydown=${this.handleClosePanel}
411
- aria-label="${this.closeButtonLabel}"
412
- srlabel="${this.closeButtonLabel}"
413
- showsrlabel="true"
414
- ></o-icon-button>
415
- `:null}
416
- <p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
417
- ${this.headerTitle}
418
- </p>
419
- <o-icon-button
420
- icon="cross"
400
+ `;H([a({type:String,reflect:!0})],A.prototype,"bgstyle",2);H([a({type:String,reflect:!0})],A.prototype,"size",2);H([a({type:String,reflect:!0})],A.prototype,"status",2);H([a({type:String,reflect:!0})],A.prototype,"type",2);H([a({type:String})],A.prototype,"strokewidth",2);H([a({type:String})],A.prototype,"icon",2);H([a({type:Boolean,reflect:!0})],A.prototype,"disabled",2);H([a({type:Boolean})],A.prototype,"showSrLabel",2);H([a({type:String})],A.prototype,"srLabel",2);A=H([g("o-icon-button")],A);var Io=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,b=(o,t,e,r)=>{for(var i=r>1?void 0:r?zo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Io(t,e,i),i};let p=class extends u{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.headerTitleClassName="panel-title",this.labelDialog="",this.closeButtonLabel="Close the modal",this.goBackButtonLabel="Go back to",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.firstButtonProps={},this.onFirstButtonClickClose=!1,this.secondButtonLabel="",this.secondButtonVariant="secondary",this.secondButtonProps={},this.onSecondButtonClickClose=!1,this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.showDetail=!1,this.isHidingDetail=!1,this.previousFocusedElement=null,this._onOpenDetail=async o=>{var e,r;const t=((e=o.detail)==null?void 0:e.origin)??document.activeElement;if(this._detailOriginEl=t,this._detailOriginClass=(t==null?void 0:t.className)??"",this.showDetail=!0,this.showHeaderStartIcon=!0,await this.updateComplete,this._detailOriginClass){const i=(r=this.shadowRoot)==null?void 0:r.querySelector(".detail-view");i&&i.setAttribute("fromelement",this._detailOriginClass)}this._setPriceTabindex(),await this.focusDetailReturnBtn()},this._detailOriginEl=null,this._detailOriginClass="",this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))},this.handleClosePanel=o=>{if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;o.preventDefault(),o.stopPropagation();const t=o.currentTarget,e=(t==null?void 0:t.getAttribute("data-role"))==="back";if(this.showDetail&&e){this.isHidingDetail=!0;const r=this.renderRoot.querySelector(".content"),i=async()=>{this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1,await this.updateComplete,this._restoreFocusToOrigin()};if(r){this.showHeaderStartIcon=!1;const n=()=>{this.showDetail=!1,this.isHidingDetail=!1,r.removeEventListener("animationend",n),i()};r.addEventListener("animationend",n)}else this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1;return}this.closePanel()},this._onDetailSlotChange=o=>{const r=o.target.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll("img")))[0];r&&(r.setAttribute("role","img"),r.hasAttribute("tabindex")||r.setAttribute("tabindex","-1"))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),this.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0}),this.addEventListener("open-detail",this._onOpenDetail)}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback(),this.removeEventListener("open-detail",this._onOpenDetail)}async focusDetailReturnBtn(){var i,n,s,h,c;await this.updateComplete;const o=this.getDeepActiveElement(document);if(o&&o!==document.body)try{o.blur()}catch{}await new Promise(requestAnimationFrame);const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".detail-view .return-btn");if(!t)return;t.updateComplete&&await t.updateComplete,(h=(s=((n=t.shadowRoot)==null?void 0:n.querySelector("button"))??t)==null?void 0:s.focus)==null||h.call(s,{preventScroll:!0});const r=(c=this.shadowRoot)==null?void 0:c.querySelector('.panel[role="dialog"]');r&&r.setAttribute("aria-label",this.headerTitle)}_setPriceTabindex(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelector('slot[name="detail"]');if(!o)return;const e=o.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll(".m-product-price-standard")));for(const i of e)i.hasAttribute("tabindex")||i.setAttribute("tabindex","0")}_restoreFocusToOrigin(){var t,e;const o=this._detailOriginEl;!o||!document.contains(o)||((e=(t=document.activeElement)==null?void 0:t.blur)==null||e.call(t),requestAnimationFrame(()=>{var i;o.classList.add("a--tabfocus"),(((i=o.shadowRoot)==null?void 0:i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])'))??null??o).focus({preventScroll:!0})}))}getDeepActiveElement(o=this.shadowRoot){let t=o.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}trapFocus(o){if(o.key!=="Tab")return;const t=this.getDeepActiveElement(),e=this.renderRoot.querySelector(".close-btn");if(!o.shiftKey&&e&&e.contains(t)){o.preventDefault();const r=this.renderRoot.querySelector(".o-whats-inside--content p");r==null||r.focus()}}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");if(!o)return[];function t(i){return!(i.disabled||i.hasAttribute("disabled")||i.hasAttribute("tabindex")&&i.getAttribute("tabindex")==="-1")}function e(i){var s;const n=[i.matches(p.focusablesSelector)?i:[]];if(!["o-icon-button","o-button"].includes(i.tagName.toLowerCase())){const h=Array.from(i instanceof HTMLSlotElement?i.assignedElements({flatten:!0}):[]).filter(t).flatMap(e),c=Array.from(((s=i.shadowRoot)==null?void 0:s.querySelectorAll("*"))||[]).filter(t).flatMap(e);n.push(...h,...c)}return n.flat()}return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e)}openPanel(){this.removeAttribute("hidden"),this.getBoundingClientRect(),this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open");const o=this.renderRoot.querySelector(".panel");o&&o.setAttribute("aria-modal","true"),this.updateComplete.then(()=>{var t,e,r,i;if(this.showHeader){const n=((t=this.shadowRoot)==null?void 0:t.querySelector(".panel .close-btn"))||null,s=((e=n==null?void 0:n.shadowRoot)==null?void 0:e.querySelector("button"))||null;s&&((r=s.focus)==null||r.call(s))}else{const n=this.getFocusableElements()[0];(i=n==null?void 0:n.focus)==null||i.call(n)}}),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}closePanel(){var t,e,r,i,n;this.open=!1,this.showDetail=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),((t=this.previousFocusedElement)==null?void 0:t.tagName.toLowerCase())==="o-button"?(i=(r=(e=this.previousFocusedElement.shadowRoot)==null?void 0:e.querySelector(".button"))==null?void 0:r.focus)==null||i.call(r):(n=this.previousFocusedElement)==null||n.focus();const o=this.renderRoot.querySelector(".panel");o&&o.removeAttribute("aria-modal"),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onFirstButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("firstbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"first",target:o.target}})))}handleSecondClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onSecondButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("secondbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"second",target:o.target}})))}updated(){this.style.setProperty("--z-overlay",`${this.zIndex||99}`),this.style.setProperty("--z-panel",`${this.zIndex?this.zIndex+1:99}`),this.open||setTimeout(()=>{this.setAttribute("hidden","hidden")},500)}render(){const o=this.showHeader?l`
401
+ <div tabindex="-1" class="header ${this.showDetail?"detail-view-header":""}">
402
+ ${this.showHeaderStartIcon?l`
403
+ <o-icon-button
404
+ icon="arrowLeft"
421
405
  size="small"
422
- class="close-btn"
406
+ class="return-btn"
423
407
  bgstyle="background-light"
408
+ data-role="back"
424
409
  @click=${this.handleClosePanel}
425
410
  @keydown=${this.handleClosePanel}
426
- aria-label="${this.closeButtonLabel}"
427
- aria-describedby="panel-title"
428
- srlabel="${this.closeButtonLabel}"
429
- showsrlabel="true"
430
- ></o-icon-button>
411
+ srlabel="${this.goBackButtonLabel} ${this.labelDialog}"
412
+ showsrlabel="true"
413
+ tabindex="-1"
414
+ ></o-icon-button>
415
+ `:null}
416
+ <p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
417
+ ${this.headerTitle}
418
+ </p>
419
+ <o-icon-button
420
+ icon="cross"
421
+ size="small"
422
+ class="close-btn"
423
+ bgstyle="background-light"
424
+ @click=${this.handleClosePanel}
425
+ @keydown=${this.handleClosePanel}
426
+ srlabel="${this.closeButtonLabel}"
427
+ showsrlabel="true"
428
+ ></o-icon-button>
431
429
  </div>
432
430
  `:null;return l`
433
431
  <div class="overlay" style="z-index: ${this.zIndex}" @click=${this.handleClosePanel}></div>
@@ -435,7 +433,7 @@
435
433
  class="panel"
436
434
  role="dialog"
437
435
  aria-modal="true"
438
- aria-labelledby="panel-title"
436
+ aria-labelledby="${this.labelDialog}"
439
437
  style="z-index: ${this.zIndex+1}"
440
438
  tabindex="-1"
441
439
  >
@@ -481,7 +479,7 @@
481
479
  `:null}
482
480
  </div>
483
481
  </div>
484
- `}};u.styles=v`
482
+ `}};p.styles=v`
485
483
  :host {
486
484
  --z-overlay: 99;
487
485
  --z-panel: 100;
@@ -579,6 +577,18 @@
579
577
  .return-btn {
580
578
  margin-right: 8px;
581
579
  }
580
+
581
+ &.detail-view-header {
582
+ display: none;
583
+ }
584
+ }
585
+
586
+ .detail-view {
587
+ .header {
588
+ &.detail-view-header {
589
+ display: flex;
590
+ }
591
+ }
582
592
  }
583
593
 
584
594
  .panel:focus-visible,
@@ -670,7 +680,7 @@
670
680
  .detail-content {
671
681
  padding: var(--spacing-xl);
672
682
  }
673
- `;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";y([a({type:Boolean,reflect:!0})],u.prototype,"open",2);y([a({type:Boolean,reflect:!0})],u.prototype,"showHeader",2);y([a({type:Boolean,reflect:!0})],u.prototype,"showFooter",2);y([a({type:Boolean,reflect:!0})],u.prototype,"showHeaderStartIcon",2);y([a({type:String,reflect:!0})],u.prototype,"headerTitle",2);y([a({type:String,reflect:!0})],u.prototype,"headerTitleClassName",2);y([a({type:String,reflect:!0})],u.prototype,"closeButtonLabel",2);y([a({type:String,reflect:!0})],u.prototype,"firstButtonLabel",2);y([a({type:String,reflect:!0})],u.prototype,"firstButtonVariant",2);y([a({type:Object,reflect:!0})],u.prototype,"firstButtonProps",2);y([a({type:Boolean,reflect:!0})],u.prototype,"onFirstButtonClickClose",2);y([a({type:String,reflect:!0})],u.prototype,"secondButtonLabel",2);y([a({type:String,reflect:!0})],u.prototype,"secondButtonVariant",2);y([a({type:Object,reflect:!0})],u.prototype,"secondButtonProps",2);y([a({type:Boolean,reflect:!0})],u.prototype,"onSecondButtonClickClose",2);y([a({type:Boolean,reflect:!0})],u.prototype,"disablePortal",2);y([a({type:Number,reflect:!0})],u.prototype,"zIndex",2);y([a({type:Boolean,reflect:!0})],u.prototype,"initialized",2);y([a({type:Boolean})],u.prototype,"showDetail",2);y([a({type:Boolean})],u.prototype,"isHidingDetail",2);u=y([b("o-side-panel")],u);var Bo=Object.defineProperty,Do=Object.getOwnPropertyDescriptor,x=(o,t,e,r)=>{for(var i=r>1?void 0:r?Do(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Bo(t,e,i),i};const Ho=Vt(p);let g=class extends Ho{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="",this.endIconModel="",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target="",this.underlined=!1,this.withbadge=!1}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[Ut].form}handleClick(o){if(!(o instanceof KeyboardEvent&&!["Enter"," "].includes(o.key))&&this.panelTarget){const t=document.getElementById(this.panelTarget);t instanceof u&&(t!=null&&t.openPanel)&&typeof t.openPanel=="function"?(o.preventDefault(),t.openPanel()):console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`)}}render(){return this.href?this.renderLink():this.renderButton()}renderIcon(o){const t=o==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=F[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${_(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
683
+ `;p.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';p.focusablesCustomElementsSelector="o-icon-button, o-button";b([a({type:Boolean,reflect:!0})],p.prototype,"open",2);b([a({type:Boolean,reflect:!0})],p.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],p.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],p.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],p.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],p.prototype,"headerTitleClassName",2);b([a({type:String,reflect:!0})],p.prototype,"labelDialog",2);b([a({type:String,reflect:!0})],p.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],p.prototype,"goBackButtonLabel",2);b([a({type:String,reflect:!0})],p.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],p.prototype,"firstButtonVariant",2);b([a({type:Object,reflect:!0})],p.prototype,"firstButtonProps",2);b([a({type:Boolean,reflect:!0})],p.prototype,"onFirstButtonClickClose",2);b([a({type:String,reflect:!0})],p.prototype,"secondButtonLabel",2);b([a({type:String,reflect:!0})],p.prototype,"secondButtonVariant",2);b([a({type:Object,reflect:!0})],p.prototype,"secondButtonProps",2);b([a({type:Boolean,reflect:!0})],p.prototype,"onSecondButtonClickClose",2);b([a({type:Boolean,reflect:!0})],p.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],p.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],p.prototype,"initialized",2);b([a({type:Boolean})],p.prototype,"showDetail",2);b([a({type:Boolean})],p.prototype,"isHidingDetail",2);p=b([g("o-side-panel")],p);var Bo=Object.defineProperty,Do=Object.getOwnPropertyDescriptor,x=(o,t,e,r)=>{for(var i=r>1?void 0:r?Do(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Bo(t,e,i),i};const Ho=Vt(u);let y=class extends Ho{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="",this.endIconModel="",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target="",this.underlined=!1,this.withbadge=!1}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[Ut].form}handleClick(o){if(!(o instanceof KeyboardEvent&&!["Enter"," "].includes(o.key))&&this.panelTarget){const t=document.getElementById(this.panelTarget);t instanceof p&&(t!=null&&t.openPanel)&&typeof t.openPanel=="function"?(o.preventDefault(),t.openPanel()):console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`)}}render(){return this.href?this.renderLink():this.renderButton()}renderIcon(o){const t=o==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=F[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${_(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
674
684
  <button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}>
675
685
  ${this.startIcon?this.renderIcon("start"):d}
676
686
  ${o?l`
@@ -698,7 +708,7 @@
698
708
  `:l`<slot></slot>`}
699
709
  ${this.endIcon?this.renderIcon("end"):d}
700
710
  </a>
701
- `}};Ue(g);g.formAssociated=!0;g.styles=v`
711
+ `}};Ue(y);y.formAssociated=!0;y.styles=v`
702
712
  :host {
703
713
  --button-border: transparent;
704
714
  --badge-outer-width: 19px;
@@ -899,7 +909,7 @@
899
909
  transform: translateX(4px);
900
910
  }
901
911
  //End icon movment on hover
902
- `;x([a()],g.prototype,"type",2);x([a()],g.prototype,"value",2);x([a({type:String,reflect:!0})],g.prototype,"variant",2);x([a({type:String})],g.prototype,"text",2);x([a({type:String})],g.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],g.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],g.prototype,"disabled",2);x([a({type:String})],g.prototype,"startIconModel",2);x([a({type:String})],g.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],g.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],g.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget"})],g.prototype,"panelTarget",2);x([a({type:String})],g.prototype,"href",2);x([a({type:String})],g.prototype,"target",2);x([a({type:Boolean,reflect:!0})],g.prototype,"underlined",2);x([a({type:Boolean,reflect:!0})],g.prototype,"withbadge",2);g=x([b("o-button")],g);var To=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,Et=(o,t,e,r)=>{for(var i=r>1?void 0:r?Mo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&To(t,e,i),i};let st=class extends p{constructor(){super(...arguments),this.status="empty",this.ariaDescribedBy="a-product-name",this.label="Add to wishlist",this.toggleStatus=()=>{this.status=this.status==="empty"?"filled":"empty",this.setAttribute("aria-pressed",String(this.status==="filled")),this.dispatchEvent(new CustomEvent("wishlist-toggle",{detail:{status:this.status},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("aria-pressed",String(this.status==="filled"))}firstUpdated(){this.addEventListener("click",this.toggleStatus),this.addEventListener("keydown",this.handleKeydown)}handleKeydown(o){(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.toggleStatus())}render(){const o=F.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
912
+ `;x([a()],y.prototype,"type",2);x([a()],y.prototype,"value",2);x([a({type:String,reflect:!0})],y.prototype,"variant",2);x([a({type:String})],y.prototype,"text",2);x([a({type:String})],y.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],y.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],y.prototype,"disabled",2);x([a({type:String})],y.prototype,"startIconModel",2);x([a({type:String})],y.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],y.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],y.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget"})],y.prototype,"panelTarget",2);x([a({type:String})],y.prototype,"href",2);x([a({type:String})],y.prototype,"target",2);x([a({type:Boolean,reflect:!0})],y.prototype,"underlined",2);x([a({type:Boolean,reflect:!0})],y.prototype,"withbadge",2);y=x([g("o-button")],y);var To=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,Et=(o,t,e,r)=>{for(var i=r>1?void 0:r?Mo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&To(t,e,i),i};let st=class extends u{constructor(){super(...arguments),this.status="empty",this.ariaDescribedBy="a-product-name",this.label="Add to wishlist",this.toggleStatus=()=>{this.status=this.status==="empty"?"filled":"empty",this.setAttribute("aria-pressed",String(this.status==="filled")),this.dispatchEvent(new CustomEvent("wishlist-toggle",{detail:{status:this.status},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("aria-pressed",String(this.status==="filled"))}firstUpdated(){this.addEventListener("click",this.toggleStatus),this.addEventListener("keydown",this.handleKeydown)}handleKeydown(o){(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.toggleStatus())}render(){const o=F.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
903
913
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
904
914
  <span class="sr-only">${this.label}</span>
905
915
  ${_(o)}
@@ -968,7 +978,7 @@
968
978
  width: 0.1rem !important;
969
979
  white-space: nowrap !important;
970
980
  }
971
- `;Et([a({type:String,reflect:!0})],st.prototype,"status",2);Et([a({type:String,reflect:!0})],st.prototype,"ariaDescribedBy",2);Et([a({type:String,reflect:!0})],st.prototype,"label",2);st=Et([b("o-wishlist-button")],st);var jo=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,it=(o,t,e,r)=>{for(var i=r>1?void 0:r?Ro(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&jo(t,e,i),i};let U=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){const o=this.href||"#";return l`
981
+ `;Et([a({type:String,reflect:!0})],st.prototype,"status",2);Et([a({type:String,reflect:!0})],st.prototype,"ariaDescribedBy",2);Et([a({type:String,reflect:!0})],st.prototype,"label",2);st=Et([g("o-wishlist-button")],st);var jo=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,it=(o,t,e,r)=>{for(var i=r>1?void 0:r?Ro(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&jo(t,e,i),i};let U=class extends u{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`
972
982
  <a
973
983
  href="${o}"
974
984
  target="${S(this.target||void 0)}"
@@ -1081,7 +1091,7 @@
1081
1091
  height: 1px;
1082
1092
  }
1083
1093
  /* End of underline effect */
1084
- `;it([a({type:String})],U.prototype,"href",2);it([a({type:String})],U.prototype,"target",2);it([a({type:String,reflect:!0})],U.prototype,"template",2);it([a({type:Boolean,reflect:!0})],U.prototype,"inverse",2);it([a({type:Boolean,reflect:!0})],U.prototype,"endIcon",2);it([a({type:Boolean,reflect:!0})],U.prototype,"reverseEndIcon",2);U=it([b("o-link")],U);var No=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,Lt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Fo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&No(t,e,i),i};let at=class extends p{constructor(){super(...arguments),this.rating=0}getStarKeys(){const o=[];for(let t=0;t<5;t++){const e=this.rating-t;let r;e>=1?r=100:e<=0?r=0:r=Math.round(e*100/25)*25,o.push(`star-${r}`)}return o}render(){const o=this.getStarKeys();return l`
1094
+ `;it([a({type:String})],U.prototype,"href",2);it([a({type:String})],U.prototype,"target",2);it([a({type:String,reflect:!0})],U.prototype,"template",2);it([a({type:Boolean,reflect:!0})],U.prototype,"inverse",2);it([a({type:Boolean,reflect:!0})],U.prototype,"endIcon",2);it([a({type:Boolean,reflect:!0})],U.prototype,"reverseEndIcon",2);U=it([g("o-link")],U);var No=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,Lt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Fo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&No(t,e,i),i};let at=class extends u{constructor(){super(...arguments),this.rating=0}getStarKeys(){const o=[];for(let t=0;t<5;t++){const e=this.rating-t;let r;e>=1?r=100:e<=0?r=0:r=Math.round(e*100/25)*25,o.push(`star-${r}`)}return o}render(){const o=this.getStarKeys();return l`
1085
1095
  <div class="rating">
1086
1096
  <div class="stars">
1087
1097
  ${o.map(t=>l`<span class="star">${_(F[t]??"")}</span>`)}
@@ -1121,7 +1131,7 @@
1121
1131
  text-decoration: underline;
1122
1132
  cursor: pointer;
1123
1133
  }
1124
- `;Lt([a({type:Number})],at.prototype,"rating",2);Lt([a({type:String})],at.prototype,"reviewCount",2);Lt([a({type:String})],at.prototype,"href",2);at=Lt([b("o-rating")],at);var Uo=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,X=(o,t,e,r)=>{for(var i=r>1?void 0:r?Vo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Uo(t,e,i),i};let D=class extends p{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
1134
+ `;Lt([a({type:Number})],at.prototype,"rating",2);Lt([a({type:String})],at.prototype,"reviewCount",2);Lt([a({type:String})],at.prototype,"href",2);at=Lt([g("o-rating")],at);var Uo=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,X=(o,t,e,r)=>{for(var i=r>1?void 0:r?Vo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Uo(t,e,i),i};let D=class extends u{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
1125
1135
  <o-icon-button
1126
1136
  icon="playerv"
1127
1137
  size="xsmall"
@@ -1255,7 +1265,7 @@
1255
1265
  height: 0;
1256
1266
  width: 0;
1257
1267
  }
1258
- `;X([a({type:Array})],D.prototype,"thumbnails",2);X([a({type:Number})],D.prototype,"activeIndex",2);X([a({type:Array})],D.prototype,"disabledIndexes",2);X([a({type:String})],D.prototype,"maxWidth",2);X([a({type:String})],D.prototype,"altressource",2);X([a({type:Object})],D.prototype,"swiperInstance",2);X([et()],D.prototype,"focusedIndex",2);D=X([b("thumbnail-navigation")],D);var qo=Object.defineProperty,Zo=Object.getOwnPropertyDescriptor,Wt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Zo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&qo(t,e,i),i};let ft=class extends p{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1268
+ `;X([a({type:Array})],D.prototype,"thumbnails",2);X([a({type:Number})],D.prototype,"activeIndex",2);X([a({type:Array})],D.prototype,"disabledIndexes",2);X([a({type:String})],D.prototype,"maxWidth",2);X([a({type:String})],D.prototype,"altressource",2);X([a({type:Object})],D.prototype,"swiperInstance",2);X([et()],D.prototype,"focusedIndex",2);D=X([g("thumbnail-navigation")],D);var qo=Object.defineProperty,Zo=Object.getOwnPropertyDescriptor,Wt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Zo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&qo(t,e,i),i};let ft=class extends u{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
1259
1269
  <span class="tag ${this.bgstyle}"><slot></slot></span>
1260
1270
  `}};ft.styles=v`
1261
1271
  .tag {
@@ -1314,7 +1324,7 @@
1314
1324
  }
1315
1325
  }
1316
1326
 
1317
- `;Wt([a({type:String,reflect:!0})],ft.prototype,"type",2);Wt([a({type:String,reflect:!0})],ft.prototype,"bgstyle",2);ft=Wt([b("o-tag")],ft);var Ko=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,Gt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Wo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Ko(t,e,i),i};let bt=class extends p{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
1327
+ `;Wt([a({type:String,reflect:!0})],ft.prototype,"type",2);Wt([a({type:String,reflect:!0})],ft.prototype,"bgstyle",2);ft=Wt([g("o-tag")],ft);var Ko=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,Gt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Wo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Ko(t,e,i),i};let bt=class extends u{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
1318
1328
  <div class="tooltip">
1319
1329
  <span class="tooltiptext">${this.text}</span>
1320
1330
  <slot></slot>
@@ -1411,7 +1421,7 @@
1411
1421
  border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
1412
1422
  }
1413
1423
 
1414
- `;Gt([a({type:String,reflect:!0})],bt.prototype,"type",2);Gt([a({type:String,reflect:!0})],bt.prototype,"text",2);bt=Gt([b("o-tooltip")],bt);var Go=Object.defineProperty,Xo=Object.getOwnPropertyDescriptor,V=(o,t,e,r)=>{for(var i=r>1?void 0:r?Xo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Go(t,e,i),i};let z=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>{this._focusActiveOption()})}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(o){this.options.length>0&&(this.options.some(e=>e.value===this.value)||(this.value=this.options[0].value))}render(){const o=F.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1424
+ `;Gt([a({type:String,reflect:!0})],bt.prototype,"type",2);Gt([a({type:String,reflect:!0})],bt.prototype,"text",2);bt=Gt([g("o-tooltip")],bt);var Go=Object.defineProperty,Xo=Object.getOwnPropertyDescriptor,V=(o,t,e,r)=>{for(var i=r>1?void 0:r?Xo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Go(t,e,i),i};let z=class extends u{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=F.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1415
1425
  <button
1416
1426
  role="combobox"
1417
1427
  aria-haspopup="listbox"
@@ -1598,7 +1608,7 @@
1598
1608
  input[type="hidden"] {
1599
1609
  display: none;
1600
1610
  }
1601
- `;V([a({type:Array,reflect:!0})],z.prototype,"options",2);V([a({type:String,reflect:!0})],z.prototype,"value",2);V([a({type:String,reflect:!0})],z.prototype,"name",2);V([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);V([a({type:String,reflect:!0})],z.prototype,"width",2);V([et()],z.prototype,"open",2);V([et()],z.prototype,"activeIndex",2);V([et()],z.prototype,"menuWidth",2);z=V([b("o-dropdown")],z);var Jo=Object.getOwnPropertyDescriptor,Qo=(o,t,e,r)=>{for(var i=r>1?void 0:r?Jo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=s(i)||i);return i};let Tt=class extends p{render(){return l` <span class="dots"></span> `}};Tt.styles=v`
1611
+ `;V([a({type:Array,reflect:!0})],z.prototype,"options",2);V([a({type:String,reflect:!0})],z.prototype,"value",2);V([a({type:String,reflect:!0})],z.prototype,"name",2);V([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);V([a({type:String,reflect:!0})],z.prototype,"width",2);V([et()],z.prototype,"open",2);V([et()],z.prototype,"activeIndex",2);V([et()],z.prototype,"menuWidth",2);z=V([g("o-dropdown")],z);var Jo=Object.getOwnPropertyDescriptor,Qo=(o,t,e,r)=>{for(var i=r>1?void 0:r?Jo(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=s(i)||i);return i};let Tt=class extends u{render(){return l` <span class="dots"></span> `}};Tt.styles=v`
1602
1612
  :host {
1603
1613
  display: flex;
1604
1614
  align-items: center;
@@ -1649,7 +1659,7 @@
1649
1659
  background-color: var(--color-container-action-primary-pressed);
1650
1660
  }
1651
1661
  }
1652
- `;Tt=Qo([b("o-dots")],Tt);var Yo=Object.defineProperty,ti=Object.getOwnPropertyDescriptor,T=(o,t,e,r)=>{for(var i=r>1?void 0:r?ti(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Yo(t,e,i),i};let E=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.additionaltext="+X variant(s)",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>this._focusActiveOption())}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(){this.options.length>0&&(this.options.some(t=>t.value===this.value)||(this.value=this.options[0].value))}render(){const o=F.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1662
+ `;Tt=Qo([g("o-dots")],Tt);var Yo=Object.defineProperty,ti=Object.getOwnPropertyDescriptor,T=(o,t,e,r)=>{for(var i=r>1?void 0:r?ti(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Yo(t,e,i),i};let E=class extends u{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=F.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
1653
1663
  <button
1654
1664
  role="combobox"
1655
1665
  aria-haspopup="listbox"
@@ -1886,11 +1896,11 @@
1886
1896
  input[type="hidden"] {
1887
1897
  display: none;
1888
1898
  }
1889
- `;T([a({type:Array,reflect:!0})],E.prototype,"options",2);T([a({type:String,reflect:!0})],E.prototype,"value",2);T([a({type:String,reflect:!0})],E.prototype,"name",2);T([a({type:String,reflect:!0})],E.prototype,"additionaltext",2);T([a({type:Boolean,reflect:!0})],E.prototype,"disabled",2);T([a({type:String,reflect:!0})],E.prototype,"width",2);T([et()],E.prototype,"open",2);T([et()],E.prototype,"activeIndex",2);T([et()],E.prototype,"menuWidth",2);E=T([b("o-dropdown-variant")],E);/**
1899
+ `;T([a({type:Array,reflect:!0})],E.prototype,"options",2);T([a({type:String,reflect:!0})],E.prototype,"value",2);T([a({type:String,reflect:!0})],E.prototype,"name",2);T([a({type:String,reflect:!0})],E.prototype,"additionaltext",2);T([a({type:Boolean,reflect:!0})],E.prototype,"disabled",2);T([a({type:String,reflect:!0})],E.prototype,"width",2);T([et()],E.prototype,"open",2);T([et()],E.prototype,"activeIndex",2);T([et()],E.prototype,"menuWidth",2);E=T([g("o-dropdown-variant")],E);/**
1890
1900
  * @license
1891
1901
  * Copyright 2018 Google LLC
1892
1902
  * SPDX-License-Identifier: BSD-3-Clause
1893
- */const xe="important",ei=" !"+xe,oi=Zt(class extends Kt{constructor(o){var t;if(super(o),o.type!==qt.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 r=o[e];return r==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}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 r of this.ft)t[r]==null&&(this.ft.delete(r),r.includes("-")?e.removeProperty(r):e[r]=null);for(const r in t){const i=t[r];if(i!=null){this.ft.add(r);const n=typeof i=="string"&&i.endsWith(ei);r.includes("-")||n?e.setProperty(r,n?i.slice(0,-11):i,n?xe:""):e[r]=i}}return G}});var ii=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,Xt=(o,t,e,r)=>{for(var i=r>1?void 0:r?ri(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&ii(t,e,i),i};let gt=class extends p{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`
1903
+ */const xe="important",ei=" !"+xe,oi=Zt(class extends Kt{constructor(o){var t;if(super(o),o.type!==qt.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 r=o[e];return r==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}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 r of this.ft)t[r]==null&&(this.ft.delete(r),r.includes("-")?e.removeProperty(r):e[r]=null);for(const r in t){const i=t[r];if(i!=null){this.ft.add(r);const n=typeof i=="string"&&i.endsWith(ei);r.includes("-")||n?e.setProperty(r,n?i.slice(0,-11):i,n?xe:""):e[r]=i}}return G}});var ii=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,Xt=(o,t,e,r)=>{for(var i=r>1?void 0:r?ri(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&ii(t,e,i),i};let gt=class extends u{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`
1894
1904
  ${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${S(this.option.title)}" aria-hidden="true" style=${oi(t)} />`:""}
1895
1905
  <div class="m-reassurance-content">
1896
1906
  <h3 class="a-reassurance-text">${S(this.option.title)}</h3>
@@ -1977,7 +1987,7 @@
1977
1987
  overflow: hidden;
1978
1988
  }
1979
1989
  }
1980
- `;Xt([a({type:Object,reflect:!0})],gt.prototype,"option",2);Xt([a({type:Number,reflect:!0})],gt.prototype,"imageSize",2);gt=Xt([b("o-reassurance")],gt);var ni=Object.defineProperty,si=Object.getOwnPropertyDescriptor,q=(o,t,e,r)=>{for(var i=r>1?void 0:r?si(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&ni(t,e,i),i};const ai=Vt(p);let L=class extends ai{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1,this.inactive=!1}handleClick(o){this.selected||(this.selected=!0);const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}render(){const o=this.text;return this.link?l`
1990
+ `;Xt([a({type:Object,reflect:!0})],gt.prototype,"option",2);Xt([a({type:Number,reflect:!0})],gt.prototype,"imageSize",2);gt=Xt([g("o-reassurance")],gt);var ni=Object.defineProperty,si=Object.getOwnPropertyDescriptor,q=(o,t,e,r)=>{for(var i=r>1?void 0:r?si(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&ni(t,e,i),i};const ai=Vt(u);let L=class extends ai{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1,this.inactive=!1}handleClick(o){this.selected||(this.selected=!0);const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}render(){const o=this.text;return this.link?l`
1981
1991
  <a href="${this.link}" class="o-chip" tabindex="${this.inactive?"-1":"0"}" aria-hidden="${this.inactive?"true":"false"}">
1982
1992
  ${o?this.text:l`<slot></slot>`}
1983
1993
  </a>
@@ -2075,7 +2085,7 @@
2075
2085
  display: inline-flex;
2076
2086
  align-items: center;
2077
2087
  }
2078
- `;q([a({type:String,reflect:!0})],L.prototype,"link",2);q([a({reflect:!0})],L.prototype,"name",2);q([a({reflect:!0})],L.prototype,"value",2);q([a({type:String})],L.prototype,"text",2);q([a({type:String,reflect:!0})],L.prototype,"size",2);q([a({type:Boolean,reflect:!0})],L.prototype,"selected",2);q([a({type:Boolean,reflect:!0})],L.prototype,"fullwidth",2);q([a({type:Boolean,reflect:!0})],L.prototype,"inactive",2);L=q([b("o-chip")],L);var li=Object.defineProperty,ci=Object.getOwnPropertyDescriptor,Jt=(o,t,e,r)=>{for(var i=r>1?void 0:r?ci(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&li(t,e,i),i};let yt=class extends p{constructor(){super(),this.name="",this.value="",this.addEventListener("selected",this.onChipSelected)}onChipSelected(o){const t=o.target instanceof L?o.target:null;t!=null&&t.link||(this.name=(t==null?void 0:t.name)||"",this.value=(t==null?void 0:t.value)||"",this.querySelectorAll("o-chip").forEach(e=>{e!==t&&(e.selected=!1)}))}render(){return l`
2088
+ `;q([a({type:String,reflect:!0})],L.prototype,"link",2);q([a({reflect:!0})],L.prototype,"name",2);q([a({reflect:!0})],L.prototype,"value",2);q([a({type:String})],L.prototype,"text",2);q([a({type:String,reflect:!0})],L.prototype,"size",2);q([a({type:Boolean,reflect:!0})],L.prototype,"selected",2);q([a({type:Boolean,reflect:!0})],L.prototype,"fullwidth",2);q([a({type:Boolean,reflect:!0})],L.prototype,"inactive",2);L=q([g("o-chip")],L);var li=Object.defineProperty,ci=Object.getOwnPropertyDescriptor,Jt=(o,t,e,r)=>{for(var i=r>1?void 0:r?ci(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&li(t,e,i),i};let yt=class extends u{constructor(){super(),this.name="",this.value="",this.addEventListener("selected",this.onChipSelected)}onChipSelected(o){const t=o.target instanceof L?o.target:null;t!=null&&t.link||(this.name=(t==null?void 0:t.name)||"",this.value=(t==null?void 0:t.value)||"",this.querySelectorAll("o-chip").forEach(e=>{e!==t&&(e.selected=!1)}))}render(){return l`
2079
2089
  <slot></slot>
2080
2090
  `}};yt.styles=v`
2081
2091
  :host {
@@ -2084,7 +2094,7 @@
2084
2094
  flex-wrap: wrap;
2085
2095
  gap: var(--spacing-s);
2086
2096
  }
2087
- `;Jt([a({reflect:!0})],yt.prototype,"name",2);Jt([a({reflect:!0})],yt.prototype,"value",2);yt=Jt([b("o-chipset")],yt);var hi=Object.defineProperty,di=Object.getOwnPropertyDescriptor,M=(o,t,e,r)=>{for(var i=r>1?void 0:r?di(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&hi(t,e,i),i};const pi=Vt(p);let P=class extends pi{constructor(){super(...arguments),this.name="",this.value="",this.type="",this.text="",this.selected=!1,this.disabled=!1,this.fullwidth=!1,this.crossIconName="cross",this.strikethroughImgName="strikeDiagonal"}handleClick(o){if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;this.selected=!this.selected;const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}crossIcon(){const o=F[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${_(o)}</span>`}strikeThroughImg(){const o=xo[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return _(o)}render(){const o=this.text;return l`${this.type==="link"?l`
2097
+ `;Jt([a({reflect:!0})],yt.prototype,"name",2);Jt([a({reflect:!0})],yt.prototype,"value",2);yt=Jt([g("o-chipset")],yt);var hi=Object.defineProperty,di=Object.getOwnPropertyDescriptor,M=(o,t,e,r)=>{for(var i=r>1?void 0:r?di(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&hi(t,e,i),i};const pi=Vt(u);let P=class extends pi{constructor(){super(...arguments),this.name="",this.value="",this.type="",this.text="",this.selected=!1,this.disabled=!1,this.fullwidth=!1,this.crossIconName="cross",this.strikethroughImgName="strikeDiagonal"}handleClick(o){if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;this.selected=!this.selected;const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}crossIcon(){const o=F[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${_(o)}</span>`}strikeThroughImg(){const o=xo[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return _(o)}render(){const o=this.text;return l`${this.type==="link"?l`
2088
2098
  <a role="button" tabindex="0" class="button" href=${this.href} ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}
2089
2099
  aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
2090
2100
  ${o?l`
@@ -2229,7 +2239,7 @@
2229
2239
  stroke-linecap: round;
2230
2240
  }
2231
2241
  }
2232
- `;M([a({reflect:!0})],P.prototype,"name",2);M([a({reflect:!0})],P.prototype,"value",2);M([a({type:String,reflect:!0})],P.prototype,"type",2);M([a({type:String,reflect:!0})],P.prototype,"href",2);M([a({type:String,reflect:!0,attribute:"data-href"})],P.prototype,"dataHref",2);M([a({type:String})],P.prototype,"text",2);M([a({type:Boolean,reflect:!0})],P.prototype,"selected",2);M([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2);M([a({type:Boolean,reflect:!0})],P.prototype,"fullwidth",2);P=M([b("o-filter-chip")],P);var ui=Object.defineProperty,j=(o,t,e,r)=>{for(var i=void 0,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=s(t,e,i)||i);return i&&ui(t,e,i),i};const te=class te extends p{constructor(){super(...arguments),this.type="cart | chevron",this.titleProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.imageUrl="https://placehold.co/56x70",this.altImage="",this.fullwidth=!1,this.tagText=""}onClick(){typeof this.onClickTile=="function"&&this.onClickTile()}get icons(){return this.type==="chevron"?l`
2242
+ `;M([a({reflect:!0})],P.prototype,"name",2);M([a({reflect:!0})],P.prototype,"value",2);M([a({type:String,reflect:!0})],P.prototype,"type",2);M([a({type:String,reflect:!0})],P.prototype,"href",2);M([a({type:String,reflect:!0,attribute:"data-href"})],P.prototype,"dataHref",2);M([a({type:String})],P.prototype,"text",2);M([a({type:Boolean,reflect:!0})],P.prototype,"selected",2);M([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2);M([a({type:Boolean,reflect:!0})],P.prototype,"fullwidth",2);P=M([g("o-filter-chip")],P);var ui=Object.defineProperty,j=(o,t,e,r)=>{for(var i=void 0,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=s(t,e,i)||i);return i&&ui(t,e,i),i};const te=class te extends u{constructor(){super(...arguments),this.type="cart | chevron",this.titleProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.imageUrl="https://placehold.co/56x70",this.altImage="",this.fullwidth=!1,this.tagText=""}onClick(){typeof this.onClickTile=="function"&&this.onClickTile()}get icons(){return this.type==="chevron"?l`
2233
2243
  <o-icon-button
2234
2244
  @click=${this.onClick}
2235
2245
  icon="chevronRight"
@@ -2361,7 +2371,7 @@
2361
2371
  .fullpointer {
2362
2372
  cursor: pointer;
2363
2373
  }
2364
- `;let C=te;j([a({type:String})],C.prototype,"type");j([a({type:String})],C.prototype,"titleProduct");j([a({type:String})],C.prototype,"volume");j([a({type:String})],C.prototype,"perLiter");j([a({type:String})],C.prototype,"mainPrice");j([a({type:String})],C.prototype,"imageUrl");j([a({type:String})],C.prototype,"altImage");j([a({type:Boolean})],C.prototype,"fullwidth");j([a({type:String})],C.prototype,"tagText");j([a({type:Function})],C.prototype,"onClickTile");customElements.define("mini-tile",C);var vi=Object.defineProperty,fi=Object.getOwnPropertyDescriptor,Qt=(o,t,e,r)=>{for(var i=r>1?void 0:r?fi(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&vi(t,e,i),i};let mt=class extends p{constructor(){super(...arguments),this.variant="cart",this.text=""}render(){return l`
2374
+ `;let C=te;j([a({type:String})],C.prototype,"type");j([a({type:String})],C.prototype,"titleProduct");j([a({type:String})],C.prototype,"volume");j([a({type:String})],C.prototype,"perLiter");j([a({type:String})],C.prototype,"mainPrice");j([a({type:String})],C.prototype,"imageUrl");j([a({type:String})],C.prototype,"altImage");j([a({type:Boolean})],C.prototype,"fullwidth");j([a({type:String})],C.prototype,"tagText");j([a({type:Function})],C.prototype,"onClickTile");customElements.define("mini-tile",C);var vi=Object.defineProperty,fi=Object.getOwnPropertyDescriptor,Qt=(o,t,e,r)=>{for(var i=r>1?void 0:r?fi(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&vi(t,e,i),i};let mt=class extends u{constructor(){super(...arguments),this.variant="cart",this.text=""}render(){return l`
2365
2375
  <span class="badge">
2366
2376
  ${this.text?this.text:l`<slot></slot>`}
2367
2377
  </span>
@@ -2399,7 +2409,7 @@
2399
2409
  color: var(--text-color);
2400
2410
  }
2401
2411
 
2402
- `;Qt([a({type:String,reflect:!0})],mt.prototype,"variant",2);Qt([a({type:String})],mt.prototype,"text",2);mt=Qt([b("o-badge")],mt);var bi=Object.defineProperty,gi=Object.getOwnPropertyDescriptor,I=(o,t,e,r)=>{for(var i=r>1?void 0:r?gi(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&bi(t,e,i),i};let $=class extends p{constructor(){super(...arguments),this.icon="info",this.text="Sample text",this.verticalanchor="top",this.horizontalanchor="right",this.verticaloffset=24,this.horizontaloffset=24,this.animationduration=500,this.animationaxis="horizontal",this.animated=!0,this.lifeduration=5e3,this.multiline=!1}attributeChangedCallback(o,t,e){super.attributeChangedCallback(o,t,e),o=="verticaloffset"&&this.style.setProperty("--vertical-offset",e+"px"),o=="horizontaloffset"&&this.style.setProperty("--horizontal-offset",e+"px"),o=="animationduration"&&this.style.setProperty("--animation-duration",e+"ms")}selfCloseAfterDelay(){var o=this;setTimeout(function(){o.animated=!0,o.selfClose()},this.lifeduration)}selfClose(){var o=this;setTimeout(function(){o.remove()},this.animationduration+200)}connectedCallback(){var o=this;super.connectedCallback(),setTimeout(()=>{o.animated=!1,this.selfCloseAfterDelay()},600)}firstUpdated(){var r,i;var o=this;const t=(r=this.renderRoot)==null?void 0:r.querySelector("o-icon-button"),e=(i=this.renderRoot)==null?void 0:i.querySelector(".o-toast-text");if(e!=null){const n=window.getComputedStyle(e),s=parseInt(n.getPropertyValue("line-height").replace("px","")),h=parseInt(n.getPropertyValue("height").replace("px",""));!isNaN(s)&&!isNaN(h)&&h>s&&(this.multiline=!0)}t!=null&&t.addEventListener("click",function(){o.remove()})}render(){const t=wo[this.icon].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"');return l`
2412
+ `;Qt([a({type:String,reflect:!0})],mt.prototype,"variant",2);Qt([a({type:String})],mt.prototype,"text",2);mt=Qt([g("o-badge")],mt);var bi=Object.defineProperty,gi=Object.getOwnPropertyDescriptor,I=(o,t,e,r)=>{for(var i=r>1?void 0:r?gi(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&bi(t,e,i),i};let $=class extends u{constructor(){super(...arguments),this.icon="info",this.text="Sample text",this.verticalanchor="top",this.horizontalanchor="right",this.verticaloffset=24,this.horizontaloffset=24,this.animationduration=500,this.animationaxis="horizontal",this.animated=!0,this.lifeduration=5e3,this.multiline=!1}attributeChangedCallback(o,t,e){super.attributeChangedCallback(o,t,e),o=="verticaloffset"&&this.style.setProperty("--vertical-offset",e+"px"),o=="horizontaloffset"&&this.style.setProperty("--horizontal-offset",e+"px"),o=="animationduration"&&this.style.setProperty("--animation-duration",e+"ms")}selfCloseAfterDelay(){var o=this;setTimeout(function(){o.animated=!0,o.selfClose()},this.lifeduration)}selfClose(){var o=this;setTimeout(function(){o.remove()},this.animationduration+200)}connectedCallback(){var o=this;super.connectedCallback(),setTimeout(()=>{o.animated=!1,this.selfCloseAfterDelay()},600)}firstUpdated(){var r,i;var o=this;const t=(r=this.renderRoot)==null?void 0:r.querySelector("o-icon-button"),e=(i=this.renderRoot)==null?void 0:i.querySelector(".o-toast-text");if(e!=null){const n=window.getComputedStyle(e),s=parseInt(n.getPropertyValue("line-height").replace("px","")),h=parseInt(n.getPropertyValue("height").replace("px",""));!isNaN(s)&&!isNaN(h)&&h>s&&(this.multiline=!0)}t!=null&&t.addEventListener("click",function(){o.remove()})}render(){const t=wo[this.icon].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"');return l`
2403
2413
  <div class="o-toast">
2404
2414
  <div class="o-toast-icon">
2405
2415
  ${_(t)}
@@ -2492,7 +2502,7 @@
2492
2502
  .o-toast-icon {
2493
2503
  height: 16px;
2494
2504
  }
2495
- `;I([a({type:String,reflect:!0})],$.prototype,"icon",2);I([a({type:String,reflect:!0})],$.prototype,"text",2);I([a({type:String,reflect:!0})],$.prototype,"verticalanchor",2);I([a({type:String,reflect:!0})],$.prototype,"horizontalanchor",2);I([a({type:Number,reflect:!0})],$.prototype,"verticaloffset",2);I([a({type:Number,reflect:!0})],$.prototype,"horizontaloffset",2);I([a({type:Number,reflect:!0})],$.prototype,"animationduration",2);I([a({type:String,reflect:!0})],$.prototype,"animationaxis",2);I([a({type:Boolean,reflect:!0})],$.prototype,"animated",2);I([a({type:Number,reflect:!0})],$.prototype,"lifeduration",2);I([a({type:Boolean,reflect:!0})],$.prototype,"multiline",2);$=I([b("o-toast")],$);var yi=Object.defineProperty,mi=Object.getOwnPropertyDescriptor,B=(o,t,e,r)=>{for(var i=r>1?void 0:r?mi(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&yi(t,e,i),i};let xi=0,k=class extends p{constructor(){super(),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Checkbox",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-checkbox-${++xi}`)}toggle(){this.disabled||(this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked,this.inputEl.indeterminate=this.indeterminate)}updated(o){this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.toggle())}render(){const o=_(F.checkbox.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"')),t=_(F.icoMinus.replace("<svg",'<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));return l`
2505
+ `;I([a({type:String,reflect:!0})],$.prototype,"icon",2);I([a({type:String,reflect:!0})],$.prototype,"text",2);I([a({type:String,reflect:!0})],$.prototype,"verticalanchor",2);I([a({type:String,reflect:!0})],$.prototype,"horizontalanchor",2);I([a({type:Number,reflect:!0})],$.prototype,"verticaloffset",2);I([a({type:Number,reflect:!0})],$.prototype,"horizontaloffset",2);I([a({type:Number,reflect:!0})],$.prototype,"animationduration",2);I([a({type:String,reflect:!0})],$.prototype,"animationaxis",2);I([a({type:Boolean,reflect:!0})],$.prototype,"animated",2);I([a({type:Number,reflect:!0})],$.prototype,"lifeduration",2);I([a({type:Boolean,reflect:!0})],$.prototype,"multiline",2);$=I([g("o-toast")],$);var yi=Object.defineProperty,mi=Object.getOwnPropertyDescriptor,B=(o,t,e,r)=>{for(var i=r>1?void 0:r?mi(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&yi(t,e,i),i};let xi=0,k=class extends u{constructor(){super(),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Checkbox",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-checkbox-${++xi}`)}toggle(){this.disabled||(this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked,this.inputEl.indeterminate=this.indeterminate)}updated(o){this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.toggle())}render(){const o=_(F.checkbox.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"')),t=_(F.icoMinus.replace("<svg",'<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));return l`
2496
2506
  <input
2497
2507
  type="checkbox"
2498
2508
  id=${this.inputId}
@@ -2611,7 +2621,7 @@
2611
2621
  svg path {
2612
2622
  stroke: var(--color-border-white);
2613
2623
  }
2614
- `;B([a({type:Boolean,reflect:!0})],k.prototype,"checked",2);B([a({type:Boolean,reflect:!0})],k.prototype,"indeterminate",2);B([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2);B([a({type:String,reflect:!0})],k.prototype,"size",2);B([a({type:Boolean})],k.prototype,"showLabel",2);B([a({type:String})],k.prototype,"label",2);B([a({type:String})],k.prototype,"name",2);B([a({type:String})],k.prototype,"value",2);B([a({type:String,reflect:!0})],k.prototype,"inputId",2);B([ye("input")],k.prototype,"inputEl",2);k=B([b("o-checkbox")],k);var wi=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,R=(o,t,e,r)=>{for(var i=r>1?void 0:r?$i(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&wi(t,e,i),i};let _i=0,O=class extends p{constructor(){super(),this.checked=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Radio button",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-radio-${++_i}`)}handleClick(){this.disabled||this.checked||(this.checked=!0,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked)}updated(o){if(o.has("checked")&&this.checked){const t=this.parentElement;t&&Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach(r=>{r!==this&&(r.checked=!1)})}this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.handleClick())}render(){return l`
2624
+ `;B([a({type:Boolean,reflect:!0})],k.prototype,"checked",2);B([a({type:Boolean,reflect:!0})],k.prototype,"indeterminate",2);B([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2);B([a({type:String,reflect:!0})],k.prototype,"size",2);B([a({type:Boolean})],k.prototype,"showLabel",2);B([a({type:String})],k.prototype,"label",2);B([a({type:String})],k.prototype,"name",2);B([a({type:String})],k.prototype,"value",2);B([a({type:String,reflect:!0})],k.prototype,"inputId",2);B([ye("input")],k.prototype,"inputEl",2);k=B([g("o-checkbox")],k);var wi=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,R=(o,t,e,r)=>{for(var i=r>1?void 0:r?$i(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&wi(t,e,i),i};let _i=0,O=class extends u{constructor(){super(),this.checked=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Radio button",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-radio-${++_i}`)}handleClick(){this.disabled||this.checked||(this.checked=!0,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked)}updated(o){if(o.has("checked")&&this.checked){const t=this.parentElement;t&&Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach(r=>{r!==this&&(r.checked=!1)})}this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.handleClick())}render(){return l`
2615
2625
  <input type="radio" id=${this.inputId} ?checked=${this.checked} ?disabled=${this.disabled} name=${this.name} value=${this.value} />
2616
2626
 
2617
2627
  <div class="box" role="radio" tabindex=${this.disabled?-1:0} aria-checked=${String(this.checked)} aria-disabled=${String(this.disabled)} @click=${this.handleClick} @keydown=${this.handleKeyDown}>
@@ -2708,7 +2718,7 @@
2708
2718
  width: 0;
2709
2719
  height: 0;
2710
2720
  }
2711
- `;R([a({type:Boolean,reflect:!0})],O.prototype,"checked",2);R([a({type:Boolean,reflect:!0})],O.prototype,"disabled",2);R([a({type:String,reflect:!0})],O.prototype,"size",2);R([a({type:Boolean})],O.prototype,"showLabel",2);R([a({type:String})],O.prototype,"label",2);R([a({type:String})],O.prototype,"name",2);R([a({type:String})],O.prototype,"value",2);R([a({type:String,reflect:!0})],O.prototype,"inputId",2);R([ye("input")],O.prototype,"inputEl",2);O=R([b("o-radio")],O);var Ci=Object.getOwnPropertyDescriptor,ki=(o,t,e,r)=>{for(var i=r>1?void 0:r?Ci(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=s(i)||i);return i};let Mt=class extends p{render(){return l`
2721
+ `;R([a({type:Boolean,reflect:!0})],O.prototype,"checked",2);R([a({type:Boolean,reflect:!0})],O.prototype,"disabled",2);R([a({type:String,reflect:!0})],O.prototype,"size",2);R([a({type:Boolean})],O.prototype,"showLabel",2);R([a({type:String})],O.prototype,"label",2);R([a({type:String})],O.prototype,"name",2);R([a({type:String})],O.prototype,"value",2);R([a({type:String,reflect:!0})],O.prototype,"inputId",2);R([ye("input")],O.prototype,"inputEl",2);O=R([g("o-radio")],O);var Ci=Object.getOwnPropertyDescriptor,ki=(o,t,e,r)=>{for(var i=r>1?void 0:r?Ci(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=s(i)||i);return i};let Mt=class extends u{render(){return l`
2712
2722
  <nav aria-label="Breadcrumbs">
2713
2723
  <ul>
2714
2724
  <slot></slot>
@@ -2725,7 +2735,7 @@
2725
2735
  margin: var(--spacing-4-xs);
2726
2736
  padding: var(--spacing-4-xs);
2727
2737
  }
2728
- `;Mt=ki([b("o-breadcrumbs")],Mt);var Si=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,Yt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Ai(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Si(t,e,i),i};let xt=class extends p{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<span aria-current="page"><slot></slot></span>`:l`
2738
+ `;Mt=ki([g("o-breadcrumbs")],Mt);var Si=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,Yt=(o,t,e,r)=>{for(var i=r>1?void 0:r?Ai(t,e):t,n=o.length-1,s;n>=0;n--)(s=o[n])&&(i=(r?s(t,e,i):s(i))||i);return r&&i&&Si(t,e,i),i};let xt=class extends u{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<span aria-current="page"><slot></slot></span>`:l`
2729
2739
  <li>
2730
2740
  <a
2731
2741
  href="${this.href}"
@@ -2778,4 +2788,4 @@
2778
2788
  content: "";
2779
2789
  }
2780
2790
  }
2781
- `;Yt([a({type:String})],xt.prototype,"href",2);Yt([a({type:Boolean,reflect:!0})],xt.prototype,"active",2);xt=Yt([b("o-breadcrumb")],xt);
2791
+ `;Yt([a({type:String})],xt.prototype,"href",2);Yt([a({type:Boolean,reflect:!0})],xt.prototype,"active",2);xt=Yt([g("o-breadcrumb")],xt);
package/index.mjs CHANGED
@@ -519,7 +519,7 @@ const je = (o, t, e) => {
519
519
  * SPDX-License-Identifier: BSD-3-Clause
520
520
  */
521
521
  const Y = globalThis;
522
- let p = class extends rt {
522
+ let u = class extends rt {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
525
525
  }
@@ -545,16 +545,16 @@ let p = class extends rt {
545
545
  }
546
546
  };
547
547
  var pe;
548
- p._$litElement$ = !0, p.finalized = !0, (pe = Y.litElementHydrateSupport) == null || pe.call(Y, { LitElement: p });
548
+ u._$litElement$ = !0, u.finalized = !0, (pe = Y.litElementHydrateSupport) == null || pe.call(Y, { LitElement: u });
549
549
  const zt = Y.litElementPolyfillSupport;
550
- zt == null || zt({ LitElement: p });
550
+ zt == null || zt({ LitElement: u });
551
551
  (Y.litElementVersions ?? (Y.litElementVersions = [])).push("4.2.0");
552
552
  /**
553
553
  * @license
554
554
  * Copyright 2017 Google LLC
555
555
  * SPDX-License-Identifier: BSD-3-Clause
556
556
  */
557
- const b = (o) => (t, e) => {
557
+ const g = (o) => (t, e) => {
558
558
  e !== void 0 ? e.addInitializer(() => {
559
559
  customElements.define(o, t);
560
560
  }) : customElements.define(o, t);
@@ -1054,7 +1054,7 @@ var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, H = (o, t,
1054
1054
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1055
1055
  return r && i && Po(t, e, i), i;
1056
1056
  };
1057
- let A = class extends p {
1057
+ let A = class extends u {
1058
1058
  constructor() {
1059
1059
  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 = "";
1060
1060
  }
@@ -1322,16 +1322,16 @@ H([
1322
1322
  a({ type: String })
1323
1323
  ], A.prototype, "srLabel", 2);
1324
1324
  A = H([
1325
- b("o-icon-button")
1325
+ g("o-icon-button")
1326
1326
  ], A);
1327
- var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, y = (o, t, e, r) => {
1327
+ var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, b = (o, t, e, r) => {
1328
1328
  for (var i = r > 1 ? void 0 : r ? zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1329
1329
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1330
1330
  return r && i && Io(t, e, i), i;
1331
1331
  };
1332
- let u = class extends p {
1332
+ let p = class extends u {
1333
1333
  constructor() {
1334
- super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this._onOpenDetail = async (o) => {
1334
+ super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.labelDialog = "", this.closeButtonLabel = "Close the modal", this.goBackButtonLabel = "Go back to", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this._onOpenDetail = async (o) => {
1335
1335
  var e, r;
1336
1336
  const t = ((e = o.detail) == null ? void 0 : e.origin) ?? document.activeElement;
1337
1337
  if (this._detailOriginEl = t, this._detailOriginClass = (t == null ? void 0 : t.className) ?? "", this.showDetail = !0, this.showHeaderStartIcon = !0, await this.updateComplete, this._detailOriginClass) {
@@ -1364,7 +1364,7 @@ let u = class extends p {
1364
1364
  this.closePanel();
1365
1365
  }, this._onDetailSlotChange = (o) => {
1366
1366
  const r = o.target.assignedElements({ flatten: !0 }).flatMap((i) => Array.from(i.querySelectorAll("img")))[0];
1367
- r == null || r.setAttribute("tabindex", "0");
1367
+ r && (r.setAttribute("role", "img"), r.hasAttribute("tabindex") || r.setAttribute("tabindex", "-1"));
1368
1368
  };
1369
1369
  }
1370
1370
  connectedCallback() {
@@ -1376,7 +1376,7 @@ let u = class extends p {
1376
1376
  document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
1377
1377
  }
1378
1378
  async focusDetailReturnBtn() {
1379
- var r, i, n, s;
1379
+ var i, n, s, h, c;
1380
1380
  await this.updateComplete;
1381
1381
  const o = this.getDeepActiveElement(document);
1382
1382
  if (o && o !== document.body)
@@ -1385,9 +1385,11 @@ let u = class extends p {
1385
1385
  } catch {
1386
1386
  }
1387
1387
  await new Promise(requestAnimationFrame);
1388
- const t = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".detail-view .return-btn");
1388
+ const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".detail-view .return-btn");
1389
1389
  if (!t) return;
1390
- t.updateComplete && await t.updateComplete, (s = (n = ((i = t.shadowRoot) == null ? void 0 : i.querySelector("button")) ?? t) == null ? void 0 : n.focus) == null || s.call(n, { preventScroll: !0 });
1390
+ t.updateComplete && await t.updateComplete, (h = (s = ((n = t.shadowRoot) == null ? void 0 : n.querySelector("button")) ?? t) == null ? void 0 : s.focus) == null || h.call(s, { preventScroll: !0 });
1391
+ const r = (c = this.shadowRoot) == null ? void 0 : c.querySelector('.panel[role="dialog"]');
1392
+ r && r.setAttribute("aria-label", this.headerTitle);
1391
1393
  }
1392
1394
  _setPriceTabindex() {
1393
1395
  var r;
@@ -1432,7 +1434,7 @@ let u = class extends p {
1432
1434
  }
1433
1435
  function e(i) {
1434
1436
  var s;
1435
- const n = [i.matches(u.focusablesSelector) ? i : []];
1437
+ const n = [i.matches(p.focusablesSelector) ? i : []];
1436
1438
  if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
1437
1439
  const h = Array.from(
1438
1440
  i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
@@ -1502,36 +1504,34 @@ let u = class extends p {
1502
1504
  }
1503
1505
  render() {
1504
1506
  const o = this.showHeader ? l`
1505
- <div tabindex="-1" class="header">
1506
- ${this.showHeaderStartIcon ? l`
1507
- <o-icon-button
1508
- icon="arrowLeft"
1509
- size="small"
1510
- class="return-btn"
1511
- bgstyle="background-light"
1512
- data-role="back"
1513
- @click=${this.handleClosePanel}
1514
- @keydown=${this.handleClosePanel}
1515
- aria-label="${this.closeButtonLabel}"
1516
- srlabel="${this.closeButtonLabel}"
1517
- showsrlabel="true"
1518
- ></o-icon-button>
1519
- ` : null}
1520
- <p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
1521
- ${this.headerTitle}
1522
- </p>
1523
- <o-icon-button
1524
- icon="cross"
1507
+ <div tabindex="-1" class="header ${this.showDetail ? "detail-view-header" : ""}">
1508
+ ${this.showHeaderStartIcon ? l`
1509
+ <o-icon-button
1510
+ icon="arrowLeft"
1525
1511
  size="small"
1526
- class="close-btn"
1512
+ class="return-btn"
1527
1513
  bgstyle="background-light"
1514
+ data-role="back"
1528
1515
  @click=${this.handleClosePanel}
1529
1516
  @keydown=${this.handleClosePanel}
1530
- aria-label="${this.closeButtonLabel}"
1531
- aria-describedby="panel-title"
1532
- srlabel="${this.closeButtonLabel}"
1533
- showsrlabel="true"
1534
- ></o-icon-button>
1517
+ srlabel="${this.goBackButtonLabel} ${this.labelDialog}"
1518
+ showsrlabel="true"
1519
+ tabindex="-1"
1520
+ ></o-icon-button>
1521
+ ` : null}
1522
+ <p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
1523
+ ${this.headerTitle}
1524
+ </p>
1525
+ <o-icon-button
1526
+ icon="cross"
1527
+ size="small"
1528
+ class="close-btn"
1529
+ bgstyle="background-light"
1530
+ @click=${this.handleClosePanel}
1531
+ @keydown=${this.handleClosePanel}
1532
+ srlabel="${this.closeButtonLabel}"
1533
+ showsrlabel="true"
1534
+ ></o-icon-button>
1535
1535
  </div>
1536
1536
  ` : null;
1537
1537
  return l`
@@ -1540,7 +1540,7 @@ let u = class extends p {
1540
1540
  class="panel"
1541
1541
  role="dialog"
1542
1542
  aria-modal="true"
1543
- aria-labelledby="panel-title"
1543
+ aria-labelledby="${this.labelDialog}"
1544
1544
  style="z-index: ${this.zIndex + 1}"
1545
1545
  tabindex="-1"
1546
1546
  >
@@ -1589,7 +1589,7 @@ let u = class extends p {
1589
1589
  `;
1590
1590
  }
1591
1591
  };
1592
- u.styles = v`
1592
+ p.styles = v`
1593
1593
  :host {
1594
1594
  --z-overlay: 99;
1595
1595
  --z-panel: 100;
@@ -1687,6 +1687,18 @@ u.styles = v`
1687
1687
  .return-btn {
1688
1688
  margin-right: 8px;
1689
1689
  }
1690
+
1691
+ &.detail-view-header {
1692
+ display: none;
1693
+ }
1694
+ }
1695
+
1696
+ .detail-view {
1697
+ .header {
1698
+ &.detail-view-header {
1699
+ display: flex;
1700
+ }
1701
+ }
1690
1702
  }
1691
1703
 
1692
1704
  .panel:focus-visible,
@@ -1779,78 +1791,84 @@ u.styles = v`
1779
1791
  padding: var(--spacing-xl);
1780
1792
  }
1781
1793
  `;
1782
- u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
1783
- u.focusablesCustomElementsSelector = "o-icon-button, o-button";
1784
- y([
1794
+ p.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
1795
+ p.focusablesCustomElementsSelector = "o-icon-button, o-button";
1796
+ b([
1785
1797
  a({ type: Boolean, reflect: !0 })
1786
- ], u.prototype, "open", 2);
1787
- y([
1798
+ ], p.prototype, "open", 2);
1799
+ b([
1788
1800
  a({ type: Boolean, reflect: !0 })
1789
- ], u.prototype, "showHeader", 2);
1790
- y([
1801
+ ], p.prototype, "showHeader", 2);
1802
+ b([
1791
1803
  a({ type: Boolean, reflect: !0 })
1792
- ], u.prototype, "showFooter", 2);
1793
- y([
1804
+ ], p.prototype, "showFooter", 2);
1805
+ b([
1794
1806
  a({ type: Boolean, reflect: !0 })
1795
- ], u.prototype, "showHeaderStartIcon", 2);
1796
- y([
1807
+ ], p.prototype, "showHeaderStartIcon", 2);
1808
+ b([
1809
+ a({ type: String, reflect: !0 })
1810
+ ], p.prototype, "headerTitle", 2);
1811
+ b([
1812
+ a({ type: String, reflect: !0 })
1813
+ ], p.prototype, "headerTitleClassName", 2);
1814
+ b([
1797
1815
  a({ type: String, reflect: !0 })
1798
- ], u.prototype, "headerTitle", 2);
1799
- y([
1816
+ ], p.prototype, "labelDialog", 2);
1817
+ b([
1800
1818
  a({ type: String, reflect: !0 })
1801
- ], u.prototype, "headerTitleClassName", 2);
1802
- y([
1819
+ ], p.prototype, "closeButtonLabel", 2);
1820
+ b([
1803
1821
  a({ type: String, reflect: !0 })
1804
- ], u.prototype, "closeButtonLabel", 2);
1805
- y([
1822
+ ], p.prototype, "goBackButtonLabel", 2);
1823
+ b([
1806
1824
  a({ type: String, reflect: !0 })
1807
- ], u.prototype, "firstButtonLabel", 2);
1808
- y([
1825
+ ], p.prototype, "firstButtonLabel", 2);
1826
+ b([
1809
1827
  a({ type: String, reflect: !0 })
1810
- ], u.prototype, "firstButtonVariant", 2);
1811
- y([
1828
+ ], p.prototype, "firstButtonVariant", 2);
1829
+ b([
1812
1830
  a({ type: Object, reflect: !0 })
1813
- ], u.prototype, "firstButtonProps", 2);
1814
- y([
1831
+ ], p.prototype, "firstButtonProps", 2);
1832
+ b([
1815
1833
  a({ type: Boolean, reflect: !0 })
1816
- ], u.prototype, "onFirstButtonClickClose", 2);
1817
- y([
1834
+ ], p.prototype, "onFirstButtonClickClose", 2);
1835
+ b([
1818
1836
  a({ type: String, reflect: !0 })
1819
- ], u.prototype, "secondButtonLabel", 2);
1820
- y([
1837
+ ], p.prototype, "secondButtonLabel", 2);
1838
+ b([
1821
1839
  a({ type: String, reflect: !0 })
1822
- ], u.prototype, "secondButtonVariant", 2);
1823
- y([
1840
+ ], p.prototype, "secondButtonVariant", 2);
1841
+ b([
1824
1842
  a({ type: Object, reflect: !0 })
1825
- ], u.prototype, "secondButtonProps", 2);
1826
- y([
1843
+ ], p.prototype, "secondButtonProps", 2);
1844
+ b([
1827
1845
  a({ type: Boolean, reflect: !0 })
1828
- ], u.prototype, "onSecondButtonClickClose", 2);
1829
- y([
1846
+ ], p.prototype, "onSecondButtonClickClose", 2);
1847
+ b([
1830
1848
  a({ type: Boolean, reflect: !0 })
1831
- ], u.prototype, "disablePortal", 2);
1832
- y([
1849
+ ], p.prototype, "disablePortal", 2);
1850
+ b([
1833
1851
  a({ type: Number, reflect: !0 })
1834
- ], u.prototype, "zIndex", 2);
1835
- y([
1852
+ ], p.prototype, "zIndex", 2);
1853
+ b([
1836
1854
  a({ type: Boolean, reflect: !0 })
1837
- ], u.prototype, "initialized", 2);
1838
- y([
1855
+ ], p.prototype, "initialized", 2);
1856
+ b([
1839
1857
  a({ type: Boolean })
1840
- ], u.prototype, "showDetail", 2);
1841
- y([
1858
+ ], p.prototype, "showDetail", 2);
1859
+ b([
1842
1860
  a({ type: Boolean })
1843
- ], u.prototype, "isHidingDetail", 2);
1844
- u = y([
1845
- b("o-side-panel")
1846
- ], u);
1861
+ ], p.prototype, "isHidingDetail", 2);
1862
+ p = b([
1863
+ g("o-side-panel")
1864
+ ], p);
1847
1865
  var Bo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, x = (o, t, e, r) => {
1848
1866
  for (var i = r > 1 ? void 0 : r ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1849
1867
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1850
1868
  return r && i && Bo(t, e, i), i;
1851
1869
  };
1852
- const Ho = Vt(p);
1853
- let g = class extends Ho {
1870
+ const Ho = Vt(u);
1871
+ let y = class extends Ho {
1854
1872
  constructor() {
1855
1873
  super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.underlined = !1, this.withbadge = !1;
1856
1874
  }
@@ -1866,7 +1884,7 @@ let g = class extends Ho {
1866
1884
  handleClick(o) {
1867
1885
  if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
1868
1886
  const t = document.getElementById(this.panelTarget);
1869
- t instanceof u && (t != null && t.openPanel) && typeof t.openPanel == "function" ? (o.preventDefault(), t.openPanel()) : console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`);
1887
+ t instanceof p && (t != null && t.openPanel) && typeof t.openPanel == "function" ? (o.preventDefault(), t.openPanel()) : console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`);
1870
1888
  }
1871
1889
  }
1872
1890
  render() {
@@ -1918,9 +1936,9 @@ let g = class extends Ho {
1918
1936
  `;
1919
1937
  }
1920
1938
  };
1921
- Ue(g);
1922
- g.formAssociated = !0;
1923
- g.styles = v`
1939
+ Ue(y);
1940
+ y.formAssociated = !0;
1941
+ y.styles = v`
1924
1942
  :host {
1925
1943
  --button-border: transparent;
1926
1944
  --badge-outer-width: 19px;
@@ -2124,61 +2142,61 @@ g.styles = v`
2124
2142
  `;
2125
2143
  x([
2126
2144
  a()
2127
- ], g.prototype, "type", 2);
2145
+ ], y.prototype, "type", 2);
2128
2146
  x([
2129
2147
  a()
2130
- ], g.prototype, "value", 2);
2148
+ ], y.prototype, "value", 2);
2131
2149
  x([
2132
2150
  a({ type: String, reflect: !0 })
2133
- ], g.prototype, "variant", 2);
2151
+ ], y.prototype, "variant", 2);
2134
2152
  x([
2135
2153
  a({ type: String })
2136
- ], g.prototype, "text", 2);
2154
+ ], y.prototype, "text", 2);
2137
2155
  x([
2138
2156
  a({ type: String })
2139
- ], g.prototype, "textsecond", 2);
2157
+ ], y.prototype, "textsecond", 2);
2140
2158
  x([
2141
2159
  a({ type: Boolean, reflect: !0 })
2142
- ], g.prototype, "fullwidth", 2);
2160
+ ], y.prototype, "fullwidth", 2);
2143
2161
  x([
2144
2162
  a({ type: Boolean, reflect: !0 })
2145
- ], g.prototype, "disabled", 2);
2163
+ ], y.prototype, "disabled", 2);
2146
2164
  x([
2147
2165
  a({ type: String })
2148
- ], g.prototype, "startIconModel", 2);
2166
+ ], y.prototype, "startIconModel", 2);
2149
2167
  x([
2150
2168
  a({ type: String })
2151
- ], g.prototype, "endIconModel", 2);
2169
+ ], y.prototype, "endIconModel", 2);
2152
2170
  x([
2153
2171
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
2154
- ], g.prototype, "startIcon", 2);
2172
+ ], y.prototype, "startIcon", 2);
2155
2173
  x([
2156
2174
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
2157
- ], g.prototype, "endIcon", 2);
2175
+ ], y.prototype, "endIcon", 2);
2158
2176
  x([
2159
2177
  a({ type: String, attribute: "paneltarget" })
2160
- ], g.prototype, "panelTarget", 2);
2178
+ ], y.prototype, "panelTarget", 2);
2161
2179
  x([
2162
2180
  a({ type: String })
2163
- ], g.prototype, "href", 2);
2181
+ ], y.prototype, "href", 2);
2164
2182
  x([
2165
2183
  a({ type: String })
2166
- ], g.prototype, "target", 2);
2184
+ ], y.prototype, "target", 2);
2167
2185
  x([
2168
2186
  a({ type: Boolean, reflect: !0 })
2169
- ], g.prototype, "underlined", 2);
2187
+ ], y.prototype, "underlined", 2);
2170
2188
  x([
2171
2189
  a({ type: Boolean, reflect: !0 })
2172
- ], g.prototype, "withbadge", 2);
2173
- g = x([
2174
- b("o-button")
2175
- ], g);
2190
+ ], y.prototype, "withbadge", 2);
2191
+ y = x([
2192
+ g("o-button")
2193
+ ], y);
2176
2194
  var To = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, Et = (o, t, e, r) => {
2177
2195
  for (var i = r > 1 ? void 0 : r ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2178
2196
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2179
2197
  return r && i && To(t, e, i), i;
2180
2198
  };
2181
- let st = class extends p {
2199
+ let st = class extends u {
2182
2200
  constructor() {
2183
2201
  super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
2184
2202
  this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
@@ -2294,14 +2312,14 @@ Et([
2294
2312
  a({ type: String, reflect: !0 })
2295
2313
  ], st.prototype, "label", 2);
2296
2314
  st = Et([
2297
- b("o-wishlist-button")
2315
+ g("o-wishlist-button")
2298
2316
  ], st);
2299
2317
  var jo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, it = (o, t, e, r) => {
2300
2318
  for (var i = r > 1 ? void 0 : r ? Ro(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2301
2319
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2302
2320
  return r && i && jo(t, e, i), i;
2303
2321
  };
2304
- let U = class extends p {
2322
+ let U = class extends u {
2305
2323
  constructor() {
2306
2324
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
2307
2325
  }
@@ -2446,14 +2464,14 @@ it([
2446
2464
  a({ type: Boolean, reflect: !0 })
2447
2465
  ], U.prototype, "reverseEndIcon", 2);
2448
2466
  U = it([
2449
- b("o-link")
2467
+ g("o-link")
2450
2468
  ], U);
2451
2469
  var No = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, Lt = (o, t, e, r) => {
2452
2470
  for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2453
2471
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2454
2472
  return r && i && No(t, e, i), i;
2455
2473
  };
2456
- let at = class extends p {
2474
+ let at = class extends u {
2457
2475
  constructor() {
2458
2476
  super(...arguments), this.rating = 0;
2459
2477
  }
@@ -2524,14 +2542,14 @@ Lt([
2524
2542
  a({ type: String })
2525
2543
  ], at.prototype, "href", 2);
2526
2544
  at = Lt([
2527
- b("o-rating")
2545
+ g("o-rating")
2528
2546
  ], at);
2529
2547
  var Uo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
2530
2548
  for (var i = r > 1 ? void 0 : r ? Vo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2531
2549
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2532
2550
  return r && i && Uo(t, e, i), i;
2533
2551
  };
2534
- let D = class extends p {
2552
+ let D = class extends u {
2535
2553
  constructor() {
2536
2554
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
2537
2555
  <o-icon-button
@@ -2750,14 +2768,14 @@ X([
2750
2768
  et()
2751
2769
  ], D.prototype, "focusedIndex", 2);
2752
2770
  D = X([
2753
- b("thumbnail-navigation")
2771
+ g("thumbnail-navigation")
2754
2772
  ], D);
2755
2773
  var qo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Wt = (o, t, e, r) => {
2756
2774
  for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2757
2775
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2758
2776
  return r && i && qo(t, e, i), i;
2759
2777
  };
2760
- let ft = class extends p {
2778
+ let ft = class extends u {
2761
2779
  constructor() {
2762
2780
  super(...arguments), this.type = "", this.bgstyle = "background-white";
2763
2781
  }
@@ -2832,14 +2850,14 @@ Wt([
2832
2850
  a({ type: String, reflect: !0 })
2833
2851
  ], ft.prototype, "bgstyle", 2);
2834
2852
  ft = Wt([
2835
- b("o-tag")
2853
+ g("o-tag")
2836
2854
  ], ft);
2837
2855
  var Ko = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Gt = (o, t, e, r) => {
2838
2856
  for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2839
2857
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2840
2858
  return r && i && Ko(t, e, i), i;
2841
2859
  };
2842
- let bt = class extends p {
2860
+ let bt = class extends u {
2843
2861
  constructor() {
2844
2862
  super(...arguments), this.type = "top", this.text = "";
2845
2863
  }
@@ -2952,14 +2970,14 @@ Gt([
2952
2970
  a({ type: String, reflect: !0 })
2953
2971
  ], bt.prototype, "text", 2);
2954
2972
  bt = Gt([
2955
- b("o-tooltip")
2973
+ g("o-tooltip")
2956
2974
  ], bt);
2957
2975
  var Go = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
2958
2976
  for (var i = r > 1 ? void 0 : r ? Xo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2959
2977
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2960
2978
  return r && i && Go(t, e, i), i;
2961
2979
  };
2962
- let z = class extends p {
2980
+ let z = class extends u {
2963
2981
  constructor() {
2964
2982
  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) => {
2965
2983
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3247,14 +3265,14 @@ V([
3247
3265
  et()
3248
3266
  ], z.prototype, "menuWidth", 2);
3249
3267
  z = V([
3250
- b("o-dropdown")
3268
+ g("o-dropdown")
3251
3269
  ], z);
3252
3270
  var Jo = Object.getOwnPropertyDescriptor, Qo = (o, t, e, r) => {
3253
3271
  for (var i = r > 1 ? void 0 : r ? Jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3254
3272
  (s = o[n]) && (i = s(i) || i);
3255
3273
  return i;
3256
3274
  };
3257
- let Tt = class extends p {
3275
+ let Tt = class extends u {
3258
3276
  render() {
3259
3277
  return l` <span class="dots"></span> `;
3260
3278
  }
@@ -3312,14 +3330,14 @@ Tt.styles = v`
3312
3330
  }
3313
3331
  `;
3314
3332
  Tt = Qo([
3315
- b("o-dots")
3333
+ g("o-dots")
3316
3334
  ], Tt);
3317
3335
  var Yo = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
3318
3336
  for (var i = r > 1 ? void 0 : r ? ti(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3319
3337
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3320
3338
  return r && i && Yo(t, e, i), i;
3321
3339
  };
3322
- let E = class extends p {
3340
+ let E = class extends u {
3323
3341
  constructor() {
3324
3342
  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) => {
3325
3343
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3660,7 +3678,7 @@ T([
3660
3678
  et()
3661
3679
  ], E.prototype, "menuWidth", 2);
3662
3680
  E = T([
3663
- b("o-dropdown-variant")
3681
+ g("o-dropdown-variant")
3664
3682
  ], E);
3665
3683
  /**
3666
3684
  * @license
@@ -3698,7 +3716,7 @@ var ii = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, Xt = (o, t
3698
3716
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3699
3717
  return r && i && ii(t, e, i), i;
3700
3718
  };
3701
- let gt = class extends p {
3719
+ let gt = class extends u {
3702
3720
  constructor() {
3703
3721
  super(...arguments), this.option = {}, this.imageSize = 64;
3704
3722
  }
@@ -3805,14 +3823,14 @@ Xt([
3805
3823
  a({ type: Number, reflect: !0 })
3806
3824
  ], gt.prototype, "imageSize", 2);
3807
3825
  gt = Xt([
3808
- b("o-reassurance")
3826
+ g("o-reassurance")
3809
3827
  ], gt);
3810
3828
  var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, q = (o, t, e, r) => {
3811
3829
  for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3812
3830
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3813
3831
  return r && i && ni(t, e, i), i;
3814
3832
  };
3815
- const ai = Vt(p);
3833
+ const ai = Vt(u);
3816
3834
  let L = class extends ai {
3817
3835
  constructor() {
3818
3836
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
@@ -3951,14 +3969,14 @@ q([
3951
3969
  a({ type: Boolean, reflect: !0 })
3952
3970
  ], L.prototype, "inactive", 2);
3953
3971
  L = q([
3954
- b("o-chip")
3972
+ g("o-chip")
3955
3973
  ], L);
3956
3974
  var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Jt = (o, t, e, r) => {
3957
3975
  for (var i = r > 1 ? void 0 : r ? ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3958
3976
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3959
3977
  return r && i && li(t, e, i), i;
3960
3978
  };
3961
- let yt = class extends p {
3979
+ let yt = class extends u {
3962
3980
  constructor() {
3963
3981
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
3964
3982
  }
@@ -3989,14 +4007,14 @@ Jt([
3989
4007
  a({ reflect: !0 })
3990
4008
  ], yt.prototype, "value", 2);
3991
4009
  yt = Jt([
3992
- b("o-chipset")
4010
+ g("o-chipset")
3993
4011
  ], yt);
3994
4012
  var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
3995
4013
  for (var i = r > 1 ? void 0 : r ? di(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3996
4014
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3997
4015
  return r && i && hi(t, e, i), i;
3998
4016
  };
3999
- const pi = Vt(p);
4017
+ const pi = Vt(u);
4000
4018
  let P = class extends pi {
4001
4019
  constructor() {
4002
4020
  super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
@@ -4201,14 +4219,14 @@ M([
4201
4219
  a({ type: Boolean, reflect: !0 })
4202
4220
  ], P.prototype, "fullwidth", 2);
4203
4221
  P = M([
4204
- b("o-filter-chip")
4222
+ g("o-filter-chip")
4205
4223
  ], P);
4206
4224
  var ui = Object.defineProperty, j = (o, t, e, r) => {
4207
4225
  for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
4208
4226
  (s = o[n]) && (i = s(t, e, i) || i);
4209
4227
  return i && ui(t, e, i), i;
4210
4228
  };
4211
- const te = class te extends p {
4229
+ const te = class te extends u {
4212
4230
  constructor() {
4213
4231
  super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1, this.tagText = "";
4214
4232
  }
@@ -4392,7 +4410,7 @@ var vi = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, Qt = (o, t
4392
4410
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4393
4411
  return r && i && vi(t, e, i), i;
4394
4412
  };
4395
- let mt = class extends p {
4413
+ let mt = class extends u {
4396
4414
  constructor() {
4397
4415
  super(...arguments), this.variant = "cart", this.text = "";
4398
4416
  }
@@ -4446,14 +4464,14 @@ Qt([
4446
4464
  a({ type: String })
4447
4465
  ], mt.prototype, "text", 2);
4448
4466
  mt = Qt([
4449
- b("o-badge")
4467
+ g("o-badge")
4450
4468
  ], mt);
4451
4469
  var bi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, I = (o, t, e, r) => {
4452
4470
  for (var i = r > 1 ? void 0 : r ? gi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4453
4471
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4454
4472
  return r && i && bi(t, e, i), i;
4455
4473
  };
4456
- let $ = class extends p {
4474
+ let $ = class extends u {
4457
4475
  constructor() {
4458
4476
  super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3, this.multiline = !1;
4459
4477
  }
@@ -4629,14 +4647,14 @@ I([
4629
4647
  a({ type: Boolean, reflect: !0 })
4630
4648
  ], $.prototype, "multiline", 2);
4631
4649
  $ = I([
4632
- b("o-toast")
4650
+ g("o-toast")
4633
4651
  ], $);
4634
4652
  var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, B = (o, t, e, r) => {
4635
4653
  for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4636
4654
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4637
4655
  return r && i && yi(t, e, i), i;
4638
4656
  };
4639
- let xi = 0, k = class extends p {
4657
+ let xi = 0, k = class extends u {
4640
4658
  constructor() {
4641
4659
  super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++xi}`);
4642
4660
  }
@@ -4811,14 +4829,14 @@ B([
4811
4829
  ye("input")
4812
4830
  ], k.prototype, "inputEl", 2);
4813
4831
  k = B([
4814
- b("o-checkbox")
4832
+ g("o-checkbox")
4815
4833
  ], k);
4816
4834
  var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
4817
4835
  for (var i = r > 1 ? void 0 : r ? $i(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4818
4836
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4819
4837
  return r && i && wi(t, e, i), i;
4820
4838
  };
4821
- let _i = 0, O = class extends p {
4839
+ let _i = 0, O = class extends u {
4822
4840
  constructor() {
4823
4841
  super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++_i}`);
4824
4842
  }
@@ -4970,14 +4988,14 @@ R([
4970
4988
  ye("input")
4971
4989
  ], O.prototype, "inputEl", 2);
4972
4990
  O = R([
4973
- b("o-radio")
4991
+ g("o-radio")
4974
4992
  ], O);
4975
4993
  var Ci = Object.getOwnPropertyDescriptor, ki = (o, t, e, r) => {
4976
4994
  for (var i = r > 1 ? void 0 : r ? Ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4977
4995
  (s = o[n]) && (i = s(i) || i);
4978
4996
  return i;
4979
4997
  };
4980
- let Mt = class extends p {
4998
+ let Mt = class extends u {
4981
4999
  render() {
4982
5000
  return l`
4983
5001
  <nav aria-label="Breadcrumbs">
@@ -5001,14 +5019,14 @@ Mt.styles = v`
5001
5019
  }
5002
5020
  `;
5003
5021
  Mt = ki([
5004
- b("o-breadcrumbs")
5022
+ g("o-breadcrumbs")
5005
5023
  ], Mt);
5006
5024
  var Si = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Yt = (o, t, e, r) => {
5007
5025
  for (var i = r > 1 ? void 0 : r ? Ai(t, e) : t, n = o.length - 1, s; n >= 0; n--)
5008
5026
  (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
5009
5027
  return r && i && Si(t, e, i), i;
5010
5028
  };
5011
- let xt = class extends p {
5029
+ let xt = class extends u {
5012
5030
  constructor() {
5013
5031
  super(...arguments), this.href = "", this.active = !1;
5014
5032
  }
@@ -5080,5 +5098,5 @@ Yt([
5080
5098
  a({ type: Boolean, reflect: !0 })
5081
5099
  ], xt.prototype, "active", 2);
5082
5100
  xt = Yt([
5083
- b("o-breadcrumb")
5101
+ g("o-breadcrumb")
5084
5102
  ], xt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "0.9.20",
3
+ "version": "0.9.21",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",