@proximus/lavender-header 2.0.0-alpha.13 → 2.0.0-alpha.131

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/dist/index.es.js CHANGED
@@ -1,29 +1,29 @@
1
- var K = (o) => {
2
- throw TypeError(o);
1
+ var G = (r) => {
2
+ throw TypeError(r);
3
3
  };
4
- var H = (o, t, e) => t.has(o) || K("Cannot " + e);
5
- var d = (o, t, e) => (H(o, t, "read from private field"), e ? e.call(o) : t.get(o)), h = (o, t, e) => t.has(o) ? K("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(o) : t.set(o, e), A = (o, t, e, r) => (H(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), b = (o, t, e) => (H(o, t, "access private method"), e);
4
+ var F = (r, e, t) => e.has(r) || G("Cannot " + t);
5
+ var d = (r, e, t) => (F(r, e, "read from private field"), t ? t.call(r) : e.get(r)), h = (r, e, t) => e.has(r) ? G("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), A = (r, e, t, o) => (F(r, e, "write to private field"), o ? o.call(r, t) : e.set(r, t), t), b = (r, e, t) => (F(r, e, "access private method"), t);
6
6
  import "@proximus/lavender-button-icon";
7
7
  import "@proximus/lavender-cell";
8
- import { WithExtraAttributes as Y, fontsizeValues as mt, PxElement as kt, transferAccessibilityAttributes as yt, fontweightValues as zt, colorValues as wt, checkName as $t } from "@proximus/lavender-common";
8
+ import { WithExtraAttributes as X, fontsizeValues as zt, PxElement as $t, transferAccessibilityAttributes as At, fontweightValues as St, colorValues as Ct, log as P, checkName as Et, WrappedInteractiveStateController as Tt } from "@proximus/lavender-common";
9
9
  import "@proximus/lavender-layout";
10
10
  import "@proximus/lavender-container";
11
11
  import "@proximus/lavender-button";
12
12
  import "@proximus/lavender-section";
13
- const At = ":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:calc(2em - 2px)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}", et = new CSSStyleSheet();
14
- et.replaceSync(At);
15
- class St extends Y {
13
+ const Lt = ":host{display:block;height:100%}:host *{box-sizing:border-box}button,a{display:flex;flex-direction:column;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:var(--px-padding-m-mobile) 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:host([current]) button,button:hover,:host([current]) a,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media screen and (min-width: 48rem){button,a{font-size:var(--px-text-size-label-m-tablet);padding:var(--px-padding-m-tablet) 0}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media screen and (min-width: 64.0625rem){button,a{font-size:var(--px-text-size-label-m-laptop);padding:var(--px-padding-m-laptop) 0}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media screen and (min-width: 90.0625rem){button,a{font-size:var(--px-text-size-label-m-desktop);padding:var(--px-padding-m-desktop) 0}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}", at = new CSSStyleSheet();
14
+ at.replaceSync(Lt);
15
+ class Mt extends X {
16
16
  constructor() {
17
- var t;
17
+ var e;
18
18
  super(), this.template = () => `${this.getAttribute("href") ? `<a href="${this.getAttribute("href")}" data-label="${this.textContent}">
19
19
  <slot></slot>
20
- </a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [et], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.role = "listitem", this.internals && (this.internals.role = "listitem");
20
+ </a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [at], this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.internals && (this.internals.role = "listitem");
21
21
  }
22
22
  static get observedAttributes() {
23
- return ["for", "href"];
23
+ return ["for", "href", "current"];
24
24
  }
25
25
  connectedCallback() {
26
- this.setAttribute("slot", "header-entries"), this.$button && this.setupButtonA11y(), this.contentObserver = new MutationObserver(() => {
26
+ this.role = "listitem", this.setAttribute("slot", "header-entries"), this.$button && this.setupButtonA11y(), this.contentObserver = new MutationObserver(() => {
27
27
  this.updateDataLabel();
28
28
  }), this.contentObserver.observe(this, {
29
29
  childList: !0,
@@ -34,8 +34,8 @@ class St extends Y {
34
34
  disconnectedCallback() {
35
35
  this.contentObserver.disconnect();
36
36
  }
37
- attributeChangedCallback(t, e, r) {
38
- super.attributeChangedCallback(t, e, r), t === "href" && this.$a && r ? this.shadowRoot.innerHTML = this.template() : t === "for" && this.$button && r && (this.shadowRoot.innerHTML = this.template(), this.setupButtonA11y());
37
+ attributeChangedCallback(e, t, o) {
38
+ super.attributeChangedCallback(e, t, o), e === "href" && t !== o ? this.shadowRoot.innerHTML = this.template() : e === "for" && t !== o && this.$button && (this.shadowRoot.innerHTML = this.template(), this.setupButtonA11y());
39
39
  }
40
40
  setupButtonA11y() {
41
41
  this.$button.ariaExpanded = "false", this.$button.setAttribute("aria-controls", this.for || "");
@@ -46,16 +46,22 @@ class St extends Y {
46
46
  get for() {
47
47
  return this.getAttribute("for");
48
48
  }
49
- set for(t) {
50
- this.setAttribute("for", t);
49
+ set for(e) {
50
+ this.setAttribute("for", e);
51
51
  }
52
52
  get checked() {
53
53
  return this.$button.ariaExpanded === "true";
54
54
  }
55
- set checked(t) {
56
- if (typeof t != "boolean")
55
+ set checked(e) {
56
+ if (typeof e != "boolean")
57
57
  throw new Error("checked must be a boolean");
58
- this.$button && (this.$button.ariaExpanded = `${!!t}`, this.$button.setAttribute("aria-controls", this.for));
58
+ this.$button && (this.$button.ariaExpanded = `${!!e}`, this.$button.setAttribute("aria-controls", this.for));
59
+ }
60
+ get current() {
61
+ return this.hasAttribute("current");
62
+ }
63
+ set current(e) {
64
+ e ? this.setAttribute("current", "") : this.removeAttribute("current");
59
65
  }
60
66
  get $button() {
61
67
  return this.shadowRoot.querySelector("button");
@@ -64,12 +70,12 @@ class St extends Y {
64
70
  return this.shadowRoot.querySelector("a");
65
71
  }
66
72
  }
67
- customElements.get("px-header-item") || customElements.define("px-header-item", St);
68
- const Et = ':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style{text-decoration:none}a.no-style:hover,a.no-style:focus-visible{color:inherit}a.skip-link{position:absolute;left:-10000px;top:auto;overflow:hidden;background-color:var(--px-color-background-container-default-default);padding:var(--px-padding-xs-mobile)}a.skip-link:focus-visible{left:auto;z-index:999}:host([target="_blank"]) ::slotted(px-icon){vertical-align:middle}.icon-link{color:var(--px-color-icon-brand-default);line-height:1;display:inline-flex}:host([inverted]) a,:host([inverted]) .link,:host([inverted]) ::slotted(a){color:var(--px-color-text-neutral-inverted)}:host([inverted]) a:hover,:host([inverted]) .link:hover{color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a:focus-visible,:host([inverted]) .link:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) a[aria-disabled=true],:host([inverted]) .link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) ::slotted(a:hover){color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a.skip-link{background-color:var(--px-color-background-container-default-inverted)}:host([inverted]) .icon-link{color:var(--px-color-icon-brand-inverted)}@media only screen and (min-width: 768px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-tablet)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a.skip-link{padding:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 1025px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-laptop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a.skip-link{padding:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-desktop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a.skip-link{padding:var(--px-padding-xs-desktop)}}', Ct = `.btn{width:var(--button-extended--mobile, var(--button-extended, auto));display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);text-align:center;gap:var(--px-spacing-2xs-mobile);cursor:pointer;text-decoration:none;--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition);border:var(--px-size-border-m) solid transparent}.btn,.btn *{box-sizing:border-box}.btn ::slotted(px-icon){line-height:0}.btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-default)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn:active:not([disabled],[aria-disabled=true],.loading){transform:scale(.95);border-color:var(--px-color-border-state-active-default);color:var(--px-color-text-state-active-default);background:var(--px-color-background-state-hover-bordered-default)}.btn[disabled],.btn[aria-disabled=true]{cursor:default;pointer-events:none}.btn.loading{cursor:inherit}.btn.loading ::slotted(px-spinner){line-height:0}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-container-secondary-default);transition:var(--btn-transition)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-mobile) var(--px-padding-s-mobile)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent;margin:0 -8px;width:inherit;height:inherit}.btn.tertiary[disabled],.btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-default)}.btn.tertiary[disabled] ::slotted(px-icon),.btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-default)}.btn.tertiary.loading{color:var(--px-color-text-brand-default);border-color:transparent}.btn.tertiary.loading ::slotted(px-spinner){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-state-disabled-default)}.btn.patch{display:inline-flex}.btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.patch[disabled],.btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.actionable-tag{background:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-xs-mobile);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default)}.btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-default);color:var(--px-color-text-state-active-inverted);border-color:var(--px-color-border-none-default)}.btn.actionable-tag[disabled],.btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default);border-color:var(--px-color-border-none-default)}.btn.header-dropdown{display:flex;justify-content:space-between;width:100%;color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);border-radius:var(--px-radius-main);background-color:var(--px-color-background-container-default-default);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:"";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4753 7.37808C15.1565 7.06426 14.6396 7.06426 14.3208 7.37808L10.0001 11.6313L5.67934 7.37808C5.36055 7.06426 4.84368 7.06426 4.52488 7.37808C4.20608 7.69189 4.20608 8.20069 4.52488 8.5145L9.42284 13.3359C9.74163 13.6497 10.2585 13.6497 10.5773 13.3359L15.4753 8.5145C15.7941 8.20069 15.7941 7.69189 15.4753 7.37808Z' fill='%235C2D91'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4753 7.37808C15.1565 7.06426 14.6396 7.06426 14.3208 7.37808L10.0001 11.6313L5.67934 7.37808C5.36055 7.06426 4.84368 7.06426 4.52488 7.37808C4.20608 7.69189 4.20608 8.20069 4.52488 8.5145L9.42284 13.3359C9.74163 13.6497 10.2585 13.6497 10.5773 13.3359L15.4753 8.5145C15.7941 8.20069 15.7941 7.69189 15.4753 7.37808Z' fill='%235C2D91'/%3E%3C/svg%3E");background-color:currentColor;color:var(--px-color-icon-brand-default)}button.link{background:none;border:none;text-decoration:underline;padding:0;cursor:pointer}button.link[disabled],button.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}:host([inverted]) .btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn:active:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-active-inverted);color:var(--px-color-text-state-active-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em) and (max-width: 64em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em){.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{justify-content:flex-start;align-items:center;width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 64.0625em){.btn{width:var(--button-extended--laptop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop)}.btn:focus-visble:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}.btn.actionable-tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-xs-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){.btn{width:var(--button-extended--desktop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, Tt = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media only screen and (min-width: 64.0625em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", ot = new CSSStyleSheet(), rt = new CSSStyleSheet(), at = new CSSStyleSheet();
69
- ot.replaceSync(Et);
70
- rt.replaceSync(Ct);
71
- at.replaceSync(Tt);
72
- const Lt = [...mt, "link-m", "link-s"], Mt = [
73
+ customElements.get("px-header-item") || customElements.define("px-header-item", Mt);
74
+ const Pt = ':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style,a.wrapper{text-decoration:none}a.no-style:hover,a.no-style:focus-visible,a.wrapper:hover,a.wrapper:focus-visible{color:inherit}a.wrapper{display:block;line-height:0}a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a.skip-link{position:absolute;left:-10000px;top:auto;overflow:hidden;background-color:var(--px-color-background-container-default-default);padding:var(--px-padding-xs-mobile)}a.skip-link:focus-visible{left:auto;z-index:999}:host([target="_blank"]) ::slotted(px-icon){vertical-align:middle}.icon-link{color:var(--px-color-icon-brand-default);line-height:1;display:inline-flex}:host([inverted]) a,:host([inverted]) .link,:host([inverted]) ::slotted(a){color:var(--px-color-text-neutral-inverted)}:host([inverted]) a:hover,:host([inverted]) .link:hover{color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a:focus-visible,:host([inverted]) .link:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) a[aria-disabled=true],:host([inverted]) .link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) ::slotted(a:hover){color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a.skip-link{background-color:var(--px-color-background-container-default-inverted)}:host([inverted]) .icon-link{color:var(--px-color-icon-brand-inverted)}@media screen and (min-width: 48rem){a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline:var(--px-focus-outline-tablet) solid var(--px-color-border-focus-outline-default)}a,.link,::slotted(a){font-size:var(--px-text-size-link-m-tablet)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a.skip-link{padding:var(--px-padding-xs-tablet)}}@media screen and (min-width: 64.0625rem){a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline:var(--px-focus-outline-laptop) solid var(--px-color-border-focus-outline-default)}a,.link,::slotted(a){font-size:var(--px-text-size-link-m-laptop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a.skip-link{padding:var(--px-padding-xs-laptop)}}@media screen and (min-width: 90.0625rem){a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline:var(--px-focus-outline-desktop) solid var(--px-color-border-focus-outline-default)}a,.link,::slotted(a){font-size:var(--px-text-size-link-m-desktop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a.skip-link{padding:var(--px-padding-xs-desktop)}}', jt = `.btn{width:var(--button-extended--mobile, var(--button-extended, auto));display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);text-align:center;gap:var(--px-spacing-2xs-mobile);cursor:pointer;text-decoration:none;--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition);border:var(--px-size-border-m) solid transparent}.btn,.btn *{box-sizing:border-box}.btn ::slotted(px-icon){line-height:0}.btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-default)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn:active:not([disabled],[aria-disabled=true],.loading){transform:scale(.95);border-color:var(--px-color-border-state-active-default);color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn[disabled],.btn[aria-disabled=true]{cursor:default;pointer-events:none}.btn.loading{cursor:inherit}.btn.loading ::slotted(px-spinner){line-height:0}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-m);height:var(--px-size-m);border-radius:var(--px-radius-pill);background:var(--px-color-background-container-secondary-default);transition:var(--btn-transition)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-mobile) var(--px-padding-s-mobile)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent;margin:0 -8px}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-mobile)}:is()[slot=before]{padding:0 var(--px-padding-2xs-mobile) 0 0}.btn.tertiary[disabled],.btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-default)}.btn.tertiary[disabled] ::slotted(px-icon),.btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-default)}.btn.tertiary.loading{color:var(--px-color-text-brand-default);border-color:transparent}.btn.tertiary.loading ::slotted(px-spinner){display:flex;align-items:center;justify-content:center;width:var(--px-size-m);height:var(--px-size-m);border-radius:var(--px-radius-pill);background:var(--px-color-background-state-disabled-default)}.btn.patch{display:inline-flex}.btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.patch[disabled],.btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.actionable-tag{background:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-xs-mobile);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default)}.btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-default);color:var(--px-color-text-state-active-inverted);border-color:var(--px-color-border-none-default)}.btn.actionable-tag[disabled],.btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default);border-color:var(--px-color-border-none-default)}.btn.header-dropdown,.btn.header-minimal-dropdown{display:flex;align-items:center;touch-action:manipulation}.btn.header-dropdown:after,.btn.header-minimal-dropdown:after{display:inline-block;content:"";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");background-color:currentColor;color:var(--px-color-icon-brand-default);--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition)}.btn.header-dropdown[aria-expanded=true]:after,.btn.header-minimal-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}.btn.header-dropdown{justify-content:space-between;gap:var(--px-spacing-s-mobile);width:100%;color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);border-radius:var(--px-radius-main);background-color:var(--px-color-background-container-default-default)}.btn.header-minimal-dropdown{justify-content:flex-start;gap:var(--px-spacing-xs-mobile);color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);border:none;padding:0;border-radius:0;background:none}button.link{background:none;border:none;text-decoration:underline;padding:0;cursor:pointer}button.link[disabled],button.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}button.wrapper{all:unset;cursor:pointer}button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button.wrapper[disabled],button.wrapper[aria-disabled=true]{cursor:default;pointer-events:none}:host([inverted]) .btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn:active:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-active-inverted);color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) button.wrapper:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn.header-minimal-dropdown{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.header-minimal-dropdown:after{color:var(--px-color-icon-brand-inverted)}@media screen and (max-width: 47.938rem){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media screen and (min-width: 48rem) and (max-width: 64rem){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media screen and (min-width: 48rem){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline:var(--px-focus-outline-tablet) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-tablet);gap:var(--px-spacing-2xs-tablet)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}.btn.actionable-tag{padding:var(--px-padding-2xs-tablet) var(--px-padding-xs-tablet);gap:var(--px-spacing-xs-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown){padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-tablet) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-tablet) * -1)}.btn.secondary{padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn.tertiary{padding:var(--px-padding-2xs-tablet) 0;gap:var(--px-spacing-xs-tablet)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-tablet) var(--px-padding-s-tablet)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-tablet)}:is()[slot=before]{padding:0 var(--px-padding-2xs-tablet) 0 0}.btn.header-dropdown,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-tablet);font-size:var(--px-text-size-label-m-tablet)}.btn.header-dropdown{justify-content:flex-start;align-items:center;width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);border:none;padding:0;border-radius:0;background:none}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media screen and (min-width: 64.0625rem){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline:var(--px-focus-outline-laptop) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--laptop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop)}.btn:focus-visble:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}.btn.actionable-tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-xs-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-laptop)}:is()[slot=before]{padding:0 var(--px-padding-2xs-laptop) 0 0}.btn.header-dropdown,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop)}.btn.header-dropdown{padding:0}}@media screen and (min-width: 90.0625rem){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline:var(--px-focus-outline-desktop) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--desktop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-desktop)}:is()[slot=before]{padding:0 var(--px-padding-2xs-desktop) 0 0}.btn.header-dropdown,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop)}.btn.header-dropdown{padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, Rt = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media screen and (min-width: 48rem){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media screen and (min-width: 64.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", it = new CSSStyleSheet(), nt = new CSSStyleSheet(), st = new CSSStyleSheet();
75
+ it.replaceSync(Pt);
76
+ nt.replaceSync(jt);
77
+ st.replaceSync(Rt);
78
+ const qt = [...zt, "link-m", "link-s"], V = [
73
79
  "link",
74
80
  "no-style",
75
81
  "skip-link",
@@ -77,11 +83,11 @@ const Lt = [...mt, "link-m", "link-s"], Mt = [
77
83
  "btn-secondary",
78
84
  "btn-tertiary",
79
85
  "icon-link"
80
- ], Rt = ["", "default", "alternative"], N = class N extends kt {
86
+ ], Ot = ["", "default", "alternative"], O = class O extends $t {
81
87
  constructor() {
82
- super(ot, rt, at), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
83
- const t = document.createElement(N.nativeName);
84
- t.innerHTML = this.template(), this.shadowRoot.appendChild(t);
88
+ super(it, nt, st), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
89
+ const e = document.createElement(O.nativeName);
90
+ e.innerHTML = this.template(), this.shadowRoot.appendChild(e);
85
91
  }
86
92
  static get observedAttributes() {
87
93
  return [
@@ -106,82 +112,90 @@ const Lt = [...mt, "link-m", "link-s"], Mt = [
106
112
  ];
107
113
  }
108
114
  connectedCallback() {
109
- this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), yt(this, this.$el, !1);
115
+ this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), At(this, this.$el, !1);
110
116
  }
111
- attributeChangedCallback(t, e, r) {
112
- if (e !== r)
113
- switch (t) {
117
+ disconnectedCallback() {
118
+ }
119
+ attributeChangedCallback(e, t, o) {
120
+ if (t !== o)
121
+ switch (e) {
114
122
  case "disabled":
115
- this.$el.toggleAttribute("aria-disabled"), r !== null && this.$el.setAttribute("aria-disabled", "true");
123
+ this.$el.toggleAttribute("aria-disabled"), o !== null && this.$el.setAttribute("aria-disabled", "true");
116
124
  break;
117
125
  case "variant":
118
- this.updateVariant(e, r);
126
+ this.updateVariant(t, o);
119
127
  break;
120
128
  case "shape":
121
129
  case "shape--mobile":
122
130
  case "shape--tablet":
123
131
  case "shape--laptop":
124
132
  case "shape--desktop":
125
- this.updateShape(t, r, Rt);
133
+ this.updateShape(e, o, Ot);
126
134
  break;
127
135
  case "extended":
128
136
  case "extended--mobile":
129
137
  case "extended--tablet":
130
138
  case "extended--laptop":
131
139
  case "extended--desktop":
132
- this.updateExtended(t, r);
140
+ this.updateExtended(e, o);
133
141
  break;
134
142
  case "font-size":
135
143
  this.updateTypography(
136
- t,
137
144
  e,
138
- r,
139
- Lt
145
+ t,
146
+ o,
147
+ qt
140
148
  );
141
149
  break;
142
150
  case "color":
143
- this.updateTypography(t, e, r, wt);
151
+ this.updateTypography(e, t, o, Ct);
144
152
  break;
145
153
  case "font-weight":
146
- this.updateTypography(t, e, r, zt);
154
+ this.updateTypography(e, t, o, St);
147
155
  break;
148
156
  case "title":
149
- r && (this.$el.setAttribute("title", r), this.removeAttribute("title"));
157
+ o && (this.$el.setAttribute("title", o), this.removeAttribute("title"));
150
158
  break;
151
159
  default:
152
- super.attributeChangedCallback(t, e, r);
160
+ super.attributeChangedCallback(e, t, o);
153
161
  break;
154
162
  }
155
163
  }
156
- configureBeforeAfterIcon(t) {
157
- const e = t.getAttribute("size"), r = t.getAttribute("color");
158
- t.addEventListener("click", () => {
164
+ configureBeforeAfterIcon(e) {
165
+ const t = e.getAttribute("size"), o = e.getAttribute("color");
166
+ e.addEventListener("click", () => {
159
167
  this.$el.focus();
160
- }), e || t.setAttribute("size", "xs"), r || t.setAttribute("color", "inherit");
168
+ }), t || e.setAttribute("size", "xs"), o || e.setAttribute("color", "inherit");
161
169
  }
162
- _toggleClassList(t) {
163
- if (t.startsWith("btn-")) {
164
- const e = t.split("-");
165
- for (const r of e)
166
- this.$el.classList.toggle(r);
170
+ _toggleClassList(e) {
171
+ if (e.startsWith("btn-")) {
172
+ const t = e.split("-");
173
+ for (const o of t)
174
+ this.$el.classList.toggle(o);
167
175
  } else
168
- this.$el.classList.toggle(t);
176
+ this.$el.classList.toggle(e);
169
177
  }
170
- updateVariant(t, e) {
171
- t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(Mt, e) || console.error(`Bad "variant" value for ${e}`), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
178
+ updateVariant(e, t) {
179
+ e !== null && e !== "" && e !== "link" && this._toggleClassList(e), t !== null && t !== "" && t !== "link" && this._toggleClassList(t), this.checkName(V, t) || P(
180
+ `"${t}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${V.join('", "')}".`
181
+ );
172
182
  }
173
- updateShape(t, e, r) {
174
- if (!$t(r, e)) {
175
- console.error(`${e} is not a valid shape value`);
183
+ updateShape(e, t, o) {
184
+ if (!Et(o, t)) {
185
+ P(
186
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
187
+ );
176
188
  return;
177
189
  }
178
- e !== null && e !== "" && this.$el.setAttribute(t, e);
190
+ t !== null && t !== "" && this.$el.setAttribute(e, t);
179
191
  }
180
- updateTypography(t, e, r, n) {
181
- e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), r !== null && r !== "" && r !== "default" && this.$el.classList.toggle(`${t}-${r}`), this.checkName(n, r) || console.error(`Bad ${t} value: ${r}`);
192
+ updateTypography(e, t, o, a) {
193
+ t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), o !== null && o !== "" && o !== "default" && this.$el.classList.toggle(`${e}-${o}`), this.checkName(a, o) || P(
194
+ `"${o}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${a.join('", "')}".`
195
+ );
182
196
  }
183
- updateExtended(t, e) {
184
- e === null ? this.$el.style.setProperty(`--button-${t}`, "") : this.$el.style.setProperty(`--button-${t}`, "100%");
197
+ updateExtended(e, t) {
198
+ t === null ? this.$el.style.setProperty(`--button-${e}`, "") : this.$el.style.setProperty(`--button-${e}`, "100%");
185
199
  }
186
200
  get $before() {
187
201
  return this.querySelector('[slot="before"]');
@@ -197,261 +211,296 @@ const Lt = [...mt, "link-m", "link-s"], Mt = [
197
211
  get disabled() {
198
212
  return this.getAttribute("disabled");
199
213
  }
200
- set disabled(t) {
201
- this.setAttribute("disabled", t);
214
+ set disabled(e) {
215
+ this.setAttribute("disabled", e);
202
216
  }
203
217
  get variant() {
204
218
  return this.getAttribute("variant");
205
219
  }
206
- set variant(t) {
207
- this.setAttribute("variant", t);
220
+ set variant(e) {
221
+ this.setAttribute("variant", e);
208
222
  }
209
223
  get shape() {
210
224
  return this.getAttribute("shape");
211
225
  }
212
- set shape(t) {
213
- this.setAttribute("shape", t);
226
+ set shape(e) {
227
+ this.setAttribute("shape", e);
214
228
  }
215
229
  get shapeMobile() {
216
230
  return this.getAttribute("shape--mobile");
217
231
  }
218
- set shapeMobile(t) {
219
- this.setAttribute("shape--mobile", t);
232
+ set shapeMobile(e) {
233
+ this.setAttribute("shape--mobile", e);
220
234
  }
221
235
  get shapeTablet() {
222
236
  return this.getAttribute("shape--tablet");
223
237
  }
224
- set shapeTablet(t) {
225
- this.setAttribute("shape--tablet", t);
238
+ set shapeTablet(e) {
239
+ this.setAttribute("shape--tablet", e);
226
240
  }
227
241
  get shapeLaptop() {
228
242
  return this.getAttribute("shape--laptop");
229
243
  }
230
- set shapeLaptop(t) {
231
- this.setAttribute("shape--laptop", t);
244
+ set shapeLaptop(e) {
245
+ this.setAttribute("shape--laptop", e);
232
246
  }
233
247
  get shapeDesktop() {
234
248
  return this.getAttribute("shape--desktop");
235
249
  }
236
- set shapeDesktop(t) {
237
- this.setAttribute("shape--desktop", t);
250
+ set shapeDesktop(e) {
251
+ this.setAttribute("shape--desktop", e);
238
252
  }
239
253
  get extended() {
240
254
  return this.getAttribute("extended");
241
255
  }
242
- set extended(t) {
243
- this.setAttribute("extended", t);
256
+ set extended(e) {
257
+ this.setAttribute("extended", e);
244
258
  }
245
259
  get extendedMobile() {
246
260
  return this.getAttribute("extended--mobile");
247
261
  }
248
- set extendedMobile(t) {
249
- this.setAttribute("extended--mobile", t);
262
+ set extendedMobile(e) {
263
+ this.setAttribute("extended--mobile", e);
250
264
  }
251
265
  get extendedTablet() {
252
266
  return this.getAttribute("extended--tablet");
253
267
  }
254
- set extendedTablet(t) {
255
- this.setAttribute("extended--tablet", t);
268
+ set extendedTablet(e) {
269
+ this.setAttribute("extended--tablet", e);
256
270
  }
257
271
  get extendedLaptop() {
258
272
  return this.getAttribute("extended--laptop");
259
273
  }
260
- set extendedLaptop(t) {
261
- this.setAttribute("extended--laptop", t);
274
+ set extendedLaptop(e) {
275
+ this.setAttribute("extended--laptop", e);
262
276
  }
263
277
  get extendedDesktop() {
264
278
  return this.getAttribute("extended--desktop");
265
279
  }
266
- set extendedDesktop(t) {
267
- this.setAttribute("extended--desktop", t);
280
+ set extendedDesktop(e) {
281
+ this.setAttribute("extended--desktop", e);
268
282
  }
269
283
  get inverted() {
270
284
  return this.getAttribute("inverted");
271
285
  }
272
- set inverted(t) {
273
- this.setAttribute("inverted", t);
286
+ set inverted(e) {
287
+ this.setAttribute("inverted", e);
274
288
  }
275
289
  get fontsize() {
276
290
  return this.getAttribute("font-size");
277
291
  }
278
- set fontsize(t) {
279
- this.setAttribute("font-size", t);
292
+ set fontsize(e) {
293
+ this.setAttribute("font-size", e);
280
294
  }
281
295
  get color() {
282
296
  return this.getAttribute("color");
283
297
  }
284
- set color(t) {
285
- this.setAttribute("color", t);
298
+ set color(e) {
299
+ this.setAttribute("color", e);
286
300
  }
287
301
  get fontweight() {
288
302
  return this.getAttribute("font-weight");
289
303
  }
290
- set fontweight(t) {
291
- this.setAttribute("font-weight", t);
304
+ set fontweight(e) {
305
+ this.setAttribute("font-weight", e);
292
306
  }
293
307
  get title() {
294
308
  return this.getAttribute("title");
295
309
  }
296
- set title(t) {
297
- t ? this.setAttribute("title", t) : this.removeAttribute("title");
310
+ set title(e) {
311
+ e ? this.setAttribute("title", e) : this.removeAttribute("title");
298
312
  }
299
313
  };
300
- N.nativeName = "a";
301
- let F = N;
302
- customElements.get("px-a") || customElements.define("px-a", F);
303
- class qt extends HTMLElement {
314
+ O.nativeName = "a";
315
+ let j = O;
316
+ customElements.get("px-a") || customElements.define("px-a", j);
317
+ var m, I, dt;
318
+ class It extends j {
319
+ constructor() {
320
+ super();
321
+ h(this, I);
322
+ h(this, m);
323
+ this.$el.classList.add("wrapper"), A(this, m, new Tt(
324
+ this,
325
+ this.$el,
326
+ () => b(this, I, dt).call(this)
327
+ ));
328
+ }
329
+ connectedCallback() {
330
+ super.connectedCallback(), d(this, m).connect();
331
+ }
332
+ disconnectedCallback() {
333
+ super.disconnectedCallback(), d(this, m).disconnect();
334
+ }
335
+ attributeChangedCallback(t, o, a) {
336
+ if (o !== a)
337
+ switch (t) {
338
+ case "disabled":
339
+ super.attributeChangedCallback(t, o, a), a !== null && d(this, m).clearInteractiveState();
340
+ break;
341
+ default:
342
+ super.attributeChangedCallback(t, o, a);
343
+ break;
344
+ }
345
+ }
346
+ }
347
+ m = new WeakMap(), I = new WeakSet(), dt = function() {
348
+ return !this.hasAttribute("disabled") && this.$el.getAttribute("aria-disabled") !== "true";
349
+ };
350
+ customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", It);
351
+ class Nt extends HTMLElement {
304
352
  constructor() {
305
353
  super(), this.template = `<px-a font-weight="title" font-size="body-l" color="brand" variant="no-style">
306
354
  <slot></slot>
307
355
  </px-a>`, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template;
308
- const t = this.shadowRoot.querySelector("px-a");
309
- t && Array.from(this.attributes).forEach((e) => {
310
- t.setAttribute(e.name, e.value);
356
+ const e = this.shadowRoot.querySelector("px-a");
357
+ e && Array.from(this.attributes).forEach((t) => {
358
+ e.setAttribute(t.name, t.value);
311
359
  });
312
360
  }
313
361
  }
314
- customElements.get("px-mdd-a") || customElements.define("px-mdd-a", qt);
315
- const Nt = "#navigation-container{border-bottom:var(--px-size-border-m) solid var(--px-color-border-main-default)}#dropdown-zone--desktop{display:none}#primary-navigation{display:none;margin:0;padding:0}#panel-container{position:absolute;top:0;left:0;right:0;z-index:999}#backdrop-filter{display:none;position:absolute;z-index:998;left:0;width:100vw;height:100%;background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}@media only screen and (min-width: 48em){#dropdown-zone--desktop{display:block;margin-block:var(--px-padding-s-tablet)}#primary-navigation{display:block}#panel-container{top:auto}}@media only screen and (min-width: 64.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-laptop)}}@media only screen and (min-width: 90.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-desktop)}}";
316
- function R(o) {
317
- var t = typeof o;
318
- return o != null && (t == "object" || t == "function");
362
+ customElements.get("px-mdd-a") || customElements.define("px-mdd-a", Nt);
363
+ const Ht = '#navigation-container{border-bottom:var(--px-size-border-m) solid var(--px-color-border-main-default)}#dropdown-zone--desktop{display:none}#primary-navigation{display:none;margin:0;padding:0}#primary-navigation div,#primary-navigation px-hstack{height:100%}#panel-container{position:absolute;top:0;left:0;right:0;z-index:999}#backdrop-filter{display:none;position:absolute;z-index:998;left:0;width:100vw;height:100%;background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}@media screen and (min-width: 48rem){#dropdown-zone--desktop{display:flex;justify-content:space-between;align-items:center}#dropdown-zone--desktop ::slotted([slot="target-group"]),#dropdown-zone--desktop ::slotted([slot="user-language"]){margin-bottom:var(--px-spacing-s-tablet)}#primary-navigation{display:block}#panel-container{top:auto}::slotted([slot="header-actions"]){margin-bottom:var(--px-padding-s-tablet)}}@media screen and (min-width: 64.0625rem){#dropdown-zone--desktop ::slotted([slot="target-group"]),#dropdown-zone--desktop ::slotted([slot="user-language"]){margin-bottom:var(--px-spacing-s-laptop)}::slotted([slot="header-actions"]){margin-bottom:var(--px-padding-s-laptop)}}@media screen and (min-width: 90.0625rem){#dropdown-zone--desktop ::slotted([slot="target-group"]),#dropdown-zone--desktop ::slotted([slot="user-language"]){margin-bottom:var(--px-spacing-s-desktop)}::slotted([slot="header-actions"]){margin-bottom:var(--px-padding-s-desktop)}}';
364
+ function R(r) {
365
+ var e = typeof r;
366
+ return r != null && (e == "object" || e == "function");
319
367
  }
320
- var jt = typeof global == "object" && global && global.Object === Object && global, Ot = typeof self == "object" && self && self.Object === Object && self, it = jt || Ot || Function("return this")(), _ = function() {
321
- return it.Date.now();
322
- }, It = /\s/;
323
- function Pt(o) {
324
- for (var t = o.length; t-- && It.test(o.charAt(t)); )
368
+ var Bt = typeof global == "object" && global && global.Object === Object && global, Dt = typeof self == "object" && self && self.Object === Object && self, lt = Bt || Dt || Function("return this")(), _ = function() {
369
+ return lt.Date.now();
370
+ }, Wt = /\s/;
371
+ function Ft(r) {
372
+ for (var e = r.length; e-- && Wt.test(r.charAt(e)); )
325
373
  ;
326
- return t;
374
+ return e;
327
375
  }
328
- var Bt = /^\s+/;
329
- function Ht(o) {
330
- return o && o.slice(0, Pt(o) + 1).replace(Bt, "");
376
+ var _t = /^\s+/;
377
+ function Ut(r) {
378
+ return r && r.slice(0, Ft(r) + 1).replace(_t, "");
331
379
  }
332
- var q = it.Symbol, nt = Object.prototype, _t = nt.hasOwnProperty, Ft = nt.toString, S = q ? q.toStringTag : void 0;
333
- function Wt(o) {
334
- var t = _t.call(o, S), e = o[S];
380
+ var q = lt.Symbol, pt = Object.prototype, Yt = pt.hasOwnProperty, Zt = pt.toString, S = q ? q.toStringTag : void 0;
381
+ function Xt(r) {
382
+ var e = Yt.call(r, S), t = r[S];
335
383
  try {
336
- o[S] = void 0;
337
- var r = !0;
384
+ r[S] = void 0;
385
+ var o = !0;
338
386
  } catch {
339
387
  }
340
- var n = Ft.call(o);
341
- return r && (t ? o[S] = e : delete o[S]), n;
388
+ var a = Zt.call(r);
389
+ return o && (e ? r[S] = t : delete r[S]), a;
342
390
  }
343
- var Dt = Object.prototype, Ut = Dt.toString;
344
- function Yt(o) {
345
- return Ut.call(o);
391
+ var Jt = Object.prototype, Kt = Jt.toString;
392
+ function Qt(r) {
393
+ return Kt.call(r);
346
394
  }
347
- var Zt = "[object Null]", Xt = "[object Undefined]", Q = q ? q.toStringTag : void 0;
348
- function Jt(o) {
349
- return o == null ? o === void 0 ? Xt : Zt : Q && Q in Object(o) ? Wt(o) : Yt(o);
395
+ var Gt = "[object Null]", Vt = "[object Undefined]", tt = q ? q.toStringTag : void 0;
396
+ function te(r) {
397
+ return r == null ? r === void 0 ? Vt : Gt : tt && tt in Object(r) ? Xt(r) : Qt(r);
350
398
  }
351
- function Kt(o) {
352
- return o != null && typeof o == "object";
399
+ function ee(r) {
400
+ return r != null && typeof r == "object";
353
401
  }
354
- var Qt = "[object Symbol]";
355
- function Gt(o) {
356
- return typeof o == "symbol" || Kt(o) && Jt(o) == Qt;
402
+ var oe = "[object Symbol]";
403
+ function re(r) {
404
+ return typeof r == "symbol" || ee(r) && te(r) == oe;
357
405
  }
358
- var G = NaN, Vt = /^[-+]0x[0-9a-f]+$/i, te = /^0b[01]+$/i, ee = /^0o[0-7]+$/i, oe = parseInt;
359
- function V(o) {
360
- if (typeof o == "number")
361
- return o;
362
- if (Gt(o))
363
- return G;
364
- if (R(o)) {
365
- var t = typeof o.valueOf == "function" ? o.valueOf() : o;
366
- o = R(t) ? t + "" : t;
367
- }
368
- if (typeof o != "string")
369
- return o === 0 ? o : +o;
370
- o = Ht(o);
371
- var e = te.test(o);
372
- return e || ee.test(o) ? oe(o.slice(2), e ? 2 : 8) : Vt.test(o) ? G : +o;
406
+ var et = NaN, ae = /^[-+]0x[0-9a-f]+$/i, ie = /^0b[01]+$/i, ne = /^0o[0-7]+$/i, se = parseInt;
407
+ function ot(r) {
408
+ if (typeof r == "number")
409
+ return r;
410
+ if (re(r))
411
+ return et;
412
+ if (R(r)) {
413
+ var e = typeof r.valueOf == "function" ? r.valueOf() : r;
414
+ r = R(e) ? e + "" : e;
415
+ }
416
+ if (typeof r != "string")
417
+ return r === 0 ? r : +r;
418
+ r = Ut(r);
419
+ var t = ie.test(r);
420
+ return t || ne.test(r) ? se(r.slice(2), t ? 2 : 8) : ae.test(r) ? et : +r;
373
421
  }
374
- var re = "Expected a function", ae = Math.max, ie = Math.min;
375
- function ne(o, t, e) {
376
- var r, n, s, i, l, c, g = 0, w = !1, u = !1, I = !0;
377
- if (typeof o != "function")
378
- throw new TypeError(re);
379
- t = V(t) || 0, R(e) && (w = !!e.leading, u = "maxWait" in e, s = u ? ae(V(e.maxWait) || 0, t) : s, I = "trailing" in e ? !!e.trailing : I);
380
- function P(p) {
381
- var x = r, $ = n;
382
- return r = n = void 0, g = p, i = o.apply($, x), i;
383
- }
384
- function xt(p) {
385
- return g = p, l = setTimeout(L, t), w ? P(p) : i;
386
- }
387
- function gt(p) {
388
- var x = p - c, $ = p - g, J = t - x;
389
- return u ? ie(J, s - $) : J;
390
- }
391
- function Z(p) {
392
- var x = p - c, $ = p - g;
393
- return c === void 0 || x >= t || x < 0 || u && $ >= s;
422
+ var de = "Expected a function", le = Math.max, pe = Math.min;
423
+ function ce(r, e, t) {
424
+ var o, a, n, s, l, c, x = 0, z = !1, u = !1, B = !0;
425
+ if (typeof r != "function")
426
+ throw new TypeError(de);
427
+ e = ot(e) || 0, R(t) && (z = !!t.leading, u = "maxWait" in t, n = u ? le(ot(t.maxWait) || 0, e) : n, B = "trailing" in t ? !!t.trailing : B);
428
+ function D(p) {
429
+ var g = o, $ = a;
430
+ return o = a = void 0, x = p, s = r.apply($, g), s;
431
+ }
432
+ function mt(p) {
433
+ return x = p, l = setTimeout(L, e), z ? D(p) : s;
434
+ }
435
+ function kt(p) {
436
+ var g = p - c, $ = p - x, Q = e - g;
437
+ return u ? pe(Q, n - $) : Q;
438
+ }
439
+ function J(p) {
440
+ var g = p - c, $ = p - x;
441
+ return c === void 0 || g >= e || g < 0 || u && $ >= n;
394
442
  }
395
443
  function L() {
396
444
  var p = _();
397
- if (Z(p))
398
- return X(p);
399
- l = setTimeout(L, gt(p));
445
+ if (J(p))
446
+ return K(p);
447
+ l = setTimeout(L, kt(p));
400
448
  }
401
- function X(p) {
402
- return l = void 0, I && r ? P(p) : (r = n = void 0, i);
449
+ function K(p) {
450
+ return l = void 0, B && o ? D(p) : (o = a = void 0, s);
403
451
  }
404
- function vt() {
405
- l !== void 0 && clearTimeout(l), g = 0, r = c = n = l = void 0;
452
+ function yt() {
453
+ l !== void 0 && clearTimeout(l), x = 0, o = c = a = l = void 0;
406
454
  }
407
- function ft() {
408
- return l === void 0 ? i : X(_());
455
+ function wt() {
456
+ return l === void 0 ? s : K(_());
409
457
  }
410
- function B() {
411
- var p = _(), x = Z(p);
412
- if (r = arguments, n = this, c = p, x) {
458
+ function W() {
459
+ var p = _(), g = J(p);
460
+ if (o = arguments, a = this, c = p, g) {
413
461
  if (l === void 0)
414
- return xt(c);
462
+ return mt(c);
415
463
  if (u)
416
- return clearTimeout(l), l = setTimeout(L, t), P(c);
464
+ return clearTimeout(l), l = setTimeout(L, e), D(c);
417
465
  }
418
- return l === void 0 && (l = setTimeout(L, t)), i;
466
+ return l === void 0 && (l = setTimeout(L, e)), s;
419
467
  }
420
- return B.cancel = vt, B.flush = ft, B;
468
+ return W.cancel = yt, W.flush = wt, W;
421
469
  }
422
- var se = "Expected a function";
423
- function de(o, t, e) {
424
- var r = !0, n = !0;
425
- if (typeof o != "function")
426
- throw new TypeError(se);
427
- return R(e) && (r = "leading" in e ? !!e.leading : r, n = "trailing" in e ? !!e.trailing : n), ne(o, t, {
428
- leading: r,
429
- maxWait: t,
430
- trailing: n
470
+ var be = "Expected a function";
471
+ function he(r, e, t) {
472
+ var o = !0, a = !0;
473
+ if (typeof r != "function")
474
+ throw new TypeError(be);
475
+ return R(t) && (o = "leading" in t ? !!t.leading : o, a = "trailing" in t ? !!t.trailing : a), ce(r, e, {
476
+ leading: o,
477
+ maxWait: e,
478
+ trailing: a
431
479
  });
432
480
  }
433
- const st = new CSSStyleSheet();
434
- st.replaceSync(Nt);
435
- const le = "Menu";
436
- var T, a, dt, W, D, lt, U, v, E, C, f;
437
- class pe extends Y {
481
+ const ct = new CSSStyleSheet();
482
+ ct.replaceSync(Ht);
483
+ const ue = "Menu";
484
+ var T, i, bt, U, Y, ht, Z, v, C, E, f;
485
+ class ge extends X {
438
486
  constructor() {
439
- var e;
440
- super(st);
441
- h(this, a);
487
+ var t;
488
+ super(ct);
489
+ h(this, i);
442
490
  h(this, T);
443
491
  this.template = `
444
492
  <div>
445
493
  <header>
446
494
  <slot name="skip"></slot>
447
- <px-section id="navigation-container" padding-block--mobile="s" padding-block="none"
448
- background-color="none">
449
- <px-hstack id="dropdown-zone--desktop" align-items="center">
495
+ <px-section id="navigation-container" padding-bottom="none" padding-bottom--mobile="s" padding-top="s" background-color="none">
496
+ <div id="dropdown-zone--desktop">
450
497
  <slot name="target-group"></slot>
451
- <px-spacer></px-spacer>
452
498
  <slot name="user-language"></slot>
453
- </px-hstack>
454
- <px-hstack gap="default" wrap="wrap" align-items="center">
499
+ </div>
500
+ <px-hstack gap="default" wrap="wrap" id="navigation-wrapper">
501
+ <px-hstack align-items="center">
502
+ <slot name="header-logo"></slot>
503
+ </px-hstack>
455
504
  <slot name="header-logo"></slot>
456
505
  <nav id="primary-navigation" aria-label="${this.primaryNavigationAriaLabel}">
457
506
  <div role="list">
@@ -461,12 +510,12 @@ class pe extends Y {
461
510
  </div>
462
511
  </nav>
463
512
  <px-spacer></px-spacer>
464
- <px-hstack gap--mobile="none" gap="default">
513
+ <px-hstack gap--mobile="s" align-items="center" gap="default">
465
514
  <slot name="header-actions"></slot>
466
- <px-button-icon variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
467
- aria-expanded="false" aria-controls="__lavender_mobile_menu" hidden--tablet hidden--laptop
515
+ <px-button-icon id="burger-menu" variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
516
+ aria-expanded="false" hidden--tablet hidden--laptop
468
517
  hidden--desktop>
469
- <px-icon name="burger_menu" from="lavender"></px-icon>
518
+ <px-icon name="burger_menu" from="lavender" size="m"></px-icon>
470
519
  </px-button-icon>
471
520
  </px-hstack>
472
521
  </px-hstack>
@@ -480,43 +529,43 @@ class pe extends Y {
480
529
  <slot name="main"></slot>
481
530
  </div>
482
531
  `, A(this, T, () => {
483
- window.innerWidth >= 768 && (b(this, a, lt).call(this), b(this, a, dt).call(this));
484
- }), this.shadowRoot.innerHTML = this.template, this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.role = "navigation", this.internals && (this.internals.role = "navigation");
532
+ window.innerWidth >= 768 && (b(this, i, ht).call(this), b(this, i, bt).call(this));
533
+ }), this.shadowRoot.innerHTML = this.template, this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.internals && (this.internals.role = "navigation");
485
534
  }
486
535
  connectedCallback() {
487
- this.addEventListener("click", (e) => {
488
- const r = e.target.closest(
536
+ this.role = "navigation", this.addEventListener("click", (t) => {
537
+ const o = t.target.closest(
489
538
  "px-header-item"
490
539
  );
491
- r && r.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, a, E).forEach((n) => {
492
- n.checked = !1;
493
- }), r.checked = !0, b(this, a, W).call(this, e.target.for)) : b(this, a, U).call(this));
494
- }), this.addEventListener("section-item-click", (e) => {
495
- this.$backdropFilter.style.display = "block", d(this, a, E).forEach((r) => {
496
- r.checked = !1;
540
+ o && o.for && (t.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, i, C).forEach((a) => {
541
+ a.checked = !1;
542
+ }), o.checked = !0, b(this, i, U).call(this, t.target.for)) : b(this, i, Z).call(this));
543
+ }), this.addEventListener("section-item-click", (t) => {
544
+ this.$backdropFilter.style.display = "block", d(this, i, C).forEach((o) => {
545
+ o.checked = !1;
497
546
  }), this.querySelector(
498
- `px-header-item[for="${e.detail.for}"]`
499
- ).checked = !0, b(this, a, W).call(this, e.detail.for);
547
+ `px-header-item[for="${t.detail.for}"]`
548
+ ).checked = !0, b(this, i, U).call(this, t.detail.for);
500
549
  }), this.addEventListener("back-to-mobile-menu", () => {
501
- this.$backdropFilter.style.display = "block", d(this, a, E).forEach((e) => {
502
- e.checked = !1;
503
- }), b(this, a, D).call(this);
504
- }), this.shadowRoot.addEventListener("click", (e) => {
505
- e.target.closest("px-button-icon") && (this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, a, D).call(this));
550
+ this.$backdropFilter.style.display = "block", d(this, i, C).forEach((t) => {
551
+ t.checked = !1;
552
+ }), b(this, i, Y).call(this);
553
+ }), this.$burgerMenu.addEventListener("click", () => {
554
+ this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, i, Y).call(this);
506
555
  }), this.addEventListener("close-panel", () => {
507
- b(this, a, U).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
556
+ b(this, i, Z).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
508
557
  }), this.addEventListener(
509
558
  "close-panel-from-dialog",
510
- (e) => {
511
- this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, a, C).getBoundingClientRect().bottom && requestAnimationFrame(() => {
512
- var r;
513
- (r = document.elementFromPoint(
514
- e.detail.clientX,
515
- e.detail.clientY
516
- )) == null || r.click();
559
+ (t) => {
560
+ this.dispatchEvent(new CustomEvent("close-panel")), t.detail.clientY < d(this, i, E).getBoundingClientRect().bottom && requestAnimationFrame(() => {
561
+ var o;
562
+ (o = document.elementFromPoint(
563
+ t.detail.clientX,
564
+ t.detail.clientY
565
+ )) == null || o.click();
517
566
  });
518
567
  }
519
- ), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", le), window.addEventListener("resize", de(d(this, T), 200));
568
+ ), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", ue), window.addEventListener("resize", he(d(this, T), 200));
520
569
  }
521
570
  static get observedAttributes() {
522
571
  return [
@@ -526,23 +575,23 @@ class pe extends Y {
526
575
  "back-to-menu-label"
527
576
  ];
528
577
  }
529
- attributeChangedCallback(e, r, n) {
530
- if (r !== n)
531
- switch (e) {
578
+ attributeChangedCallback(t, o, a) {
579
+ if (o !== a)
580
+ switch (t) {
532
581
  case "close-button-aria-label":
533
- d(this, a, f).forEach((s) => {
534
- s.setAttribute("close-button-aria-label", n);
582
+ d(this, i, f).forEach((n) => {
583
+ n.setAttribute("close-button-aria-label", a);
535
584
  });
536
585
  break;
537
586
  case "burger-menu-aria-label":
538
- this.$burgerMenu.setAttribute("aria-label", n);
587
+ this.$burgerMenu.setAttribute("aria-label", a);
539
588
  break;
540
589
  case "primary-navigation-aria-label":
541
- this.$primaryNavigation.setAttribute("aria-label", n);
590
+ this.$primaryNavigation.setAttribute("aria-label", a);
542
591
  break;
543
592
  case "back-to-menu-label":
544
- d(this, a, f).forEach((s) => {
545
- s.setAttribute("back-to-menu-label", n);
593
+ d(this, i, f).forEach((n) => {
594
+ n.setAttribute("back-to-menu-label", a);
546
595
  });
547
596
  break;
548
597
  }
@@ -551,7 +600,7 @@ class pe extends Y {
551
600
  return this.shadowRoot.querySelector("#backdrop-filter");
552
601
  }
553
602
  get $burgerMenu() {
554
- return this.shadowRoot.querySelector("px-button-icon");
603
+ return this.shadowRoot.querySelector("#burger-menu");
555
604
  }
556
605
  get $slotMain() {
557
606
  return this.querySelector('[slot="main"]');
@@ -571,94 +620,99 @@ class pe extends Y {
571
620
  get closeButtonAriaLabel() {
572
621
  return this.getAttribute("close-button-aria-label");
573
622
  }
574
- set closeButtonAriaLabel(e) {
575
- e ? this.setAttribute("close-button-aria-label", e) : this.removeAttribute("close-button-aria-label");
623
+ set closeButtonAriaLabel(t) {
624
+ t ? this.setAttribute("close-button-aria-label", t) : this.removeAttribute("close-button-aria-label");
576
625
  }
577
626
  get burgerMenuAriaLabel() {
578
627
  return this.getAttribute("burger-menu-aria-label");
579
628
  }
580
- set burgerMenuAriaLabel(e) {
581
- e ? this.setAttribute("burger-menu-aria-label", e) : this.removeAttribute("burger-menu-aria-label");
629
+ set burgerMenuAriaLabel(t) {
630
+ t ? this.setAttribute("burger-menu-aria-label", t) : this.removeAttribute("burger-menu-aria-label");
582
631
  }
583
632
  get backToMenuLabel() {
584
633
  return this.getAttribute("back-to-menu-label");
585
634
  }
586
- set backToMenuLabel(e) {
587
- e ? this.setAttribute("back-to-menu-label", e) : this.removeAttribute("back-to-menu-label");
635
+ set backToMenuLabel(t) {
636
+ t ? this.setAttribute("back-to-menu-label", t) : this.removeAttribute("back-to-menu-label");
588
637
  }
589
638
  get primaryNavigationAriaLabel() {
590
639
  return this.getAttribute("primary-navigation-aria-label");
591
640
  }
592
- set primaryNavigationAriaLabel(e) {
593
- e ? this.setAttribute("primary-navigation-aria-label", e) : this.removeAttribute("primary-navigation-aria-label");
641
+ set primaryNavigationAriaLabel(t) {
642
+ t ? this.setAttribute("primary-navigation-aria-label", t) : this.removeAttribute("primary-navigation-aria-label");
594
643
  }
595
644
  }
596
- T = new WeakMap(), a = new WeakSet(), dt = function() {
597
- const e = this.querySelectorAll("px-mdd"), r = d(this, a, C).getBoundingClientRect().bottom;
598
- e.forEach((n) => {
599
- n.dialogOffsetTop = `${r}px`;
645
+ T = new WeakMap(), i = new WeakSet(), bt = function() {
646
+ const t = this.querySelectorAll("px-mdd"), o = d(this, i, E).getBoundingClientRect().bottom;
647
+ t.forEach((a) => {
648
+ a.dialogOffsetTop = `${o}px`;
600
649
  });
601
- }, W = function(e) {
602
- d(this, a, v).$megaDropDown.hidden = !0, d(this, a, f).forEach((r) => {
603
- r.name === e && r.hidden && (r.dialogOffsetTop = `${d(this, a, C).getBoundingClientRect().bottom}px`, r.hidden = !r.hidden, this.querySelector(`px-header-item[for="${e}"]`).checked = !r.hidden, document.body.style.overflow = r.hidden ? "auto" : "hidden"), r.name !== e && !r.hidden && (r.hidden = !0);
650
+ }, U = function(t) {
651
+ d(this, i, v).$megaDropDown.hidden = !0, d(this, i, f).forEach((o) => {
652
+ o.name === t && o.hidden && (o.dialogOffsetTop = `${d(this, i, E).getBoundingClientRect().bottom}px`, o.hidden = !o.hidden, this.querySelector(`px-header-item[for="${t}"]`).checked = !o.hidden, document.body.style.overflow = o.hidden ? "auto" : "hidden"), o.name !== t && !o.hidden && (o.hidden = !0);
604
653
  });
605
- }, D = function() {
606
- this.$backdropFilter.style.display = "none", d(this, a, f).forEach((e) => {
607
- e.hidden || (e.hidden = !0);
608
- }), d(this, a, v).$megaDropDown.dialogOffsetTop = `${d(this, a, C).getBoundingClientRect().bottom}px`, d(this, a, v).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
609
- }, lt = function() {
610
- d(this, a, v) && (d(this, a, v).$megaDropDown.hidden = !0, this.$burgerMenu.setAttribute("aria-expanded", "false"), document.body.style.overflow = "auto", this.$backdropFilter.style.display = "none");
611
- }, U = function() {
612
- this.$backdropFilter.style.display = "none", d(this, a, v).$megaDropDown.hidden = !0, d(this, a, E).forEach((e) => {
613
- e.checked = !1;
614
- }), d(this, a, f).forEach((e) => {
615
- e.hidden = !0;
654
+ }, Y = function() {
655
+ this.$backdropFilter.style.display = "none", d(this, i, f).forEach((t) => {
656
+ t.hidden || (t.hidden = !0);
657
+ }), d(this, i, v).$megaDropDown.dialogOffsetTop = `${d(this, i, E).getBoundingClientRect().bottom}px`, d(this, i, v).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
658
+ }, ht = function() {
659
+ d(this, i, v) && (d(this, i, v).$megaDropDown.hidden = !0, this.$burgerMenu.setAttribute("aria-expanded", "false"), Array.from(d(this, i, f)).some(
660
+ (o) => !o.hidden
661
+ ) || (document.body.style.overflow = "auto", this.$backdropFilter.style.display = "none"));
662
+ }, Z = function() {
663
+ this.$backdropFilter.style.display = "none", d(this, i, v).$megaDropDown.hidden = !0, d(this, i, C).forEach((t) => {
664
+ t.checked = !1;
665
+ }), d(this, i, f).forEach((t) => {
666
+ t.hidden = !0;
616
667
  }), document.body.style.overflow = "auto";
617
668
  }, v = function() {
618
669
  return this.querySelector("px-header-mobile-menu");
619
- }, E = function() {
620
- return this.querySelectorAll("px-header-item");
621
670
  }, C = function() {
671
+ return this.querySelectorAll("px-header-item");
672
+ }, E = function() {
622
673
  return this.shadowRoot.querySelector("header");
623
674
  }, f = function() {
624
675
  return this.querySelectorAll("px-mdd");
625
676
  };
626
- customElements.get("px-header") || customElements.define("px-header", pe);
627
- const ce = ':host{position:relative}::slotted([slot="popover"]){position:absolute;border-radius:var(--px-radius-main, 8px);background:var(--px-color-background-container-light-default, #fff);box-shadow:0 20px 25px -5px #25252514;margin:0;padding:var(--px-padding-xs-mobile) 0;border:0;right:0;width:auto}:host([grow]) ::slotted([slot="trigger"]):after{right:0;padding-right:var(--px-padding-xs-mobile)}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="bottom-right"]) ::slotted([slot="popover"]){left:auto}@media screen and (max-width: 767px){::slotted([slot="trigger"]){display:block;width:100%}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}}@media screen and (min-width: 768px){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', be = [
677
+ customElements.get("px-header") || customElements.define("px-header", ge);
678
+ const xe = ':host{position:relative}::slotted([slot="popover"]){position:fixed;border-radius:var(--px-radius-main, 8px);background:var(--px-color-background-container-light-default, #fff);box-shadow:0 20px 25px -5px #25252514;margin:0;padding:var(--px-padding-xs-mobile) 0;border:0;right:0;width:auto;max-height:var(--px-popover-max-height)}:host([grow]) ::slotted([slot="trigger"]):after{right:0;padding-right:var(--px-padding-xs-mobile)}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="bottom-right"]) ::slotted([slot="popover"]){left:auto}@media screen and (max-width: 47.938rem){::slotted([slot="trigger"]){display:block;width:100%}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}}@media screen and (min-width: 48rem){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', ve = [
628
679
  "top-left",
629
680
  "top-right",
630
681
  "bottom-left",
631
682
  "bottom-right"
632
683
  ];
633
- function tt(o, t, e = "bottom-left", r, n = !1) {
634
- "anchorName" in document.documentElement.style && n === !1 || t.addEventListener("toggle", () => {
635
- var w, u;
636
- if (!o || !t)
684
+ function rt(r, e, t = "bottom-left", o, a = !1) {
685
+ "anchorName" in document.documentElement.style && a === !1 || e.addEventListener("toggle", () => {
686
+ var z, u;
687
+ if (!r || !e)
637
688
  return;
638
- const s = o.getBoundingClientRect(), i = ((w = window.visualViewport) == null ? void 0 : w.height) ?? window.innerHeight, l = ((u = window.visualViewport) == null ? void 0 : u.width) ?? window.innerWidth, c = r.getPropertyValue("--px-padding-s-mobile") || "16px", g = parseInt(
639
- (r.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
689
+ const n = r.getBoundingClientRect(), s = ((z = window.visualViewport) == null ? void 0 : z.height) ?? window.innerHeight, l = ((u = window.visualViewport) == null ? void 0 : u.width) ?? window.innerWidth, c = o.getPropertyValue("--px-padding-s-mobile") || "16px", x = parseInt(
690
+ (o.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
640
691
  );
641
- ["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${i - s.top - window.scrollY}px)`, t.style.top = "auto", e === "top-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right}px`) : (t.style.top = `${s.bottom + window.scrollY}px`, e === "bottom-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right - g}px`);
692
+ ["top-left", "top-right"].includes(t) ? (e.style.bottom = `calc( ${c} + ${s - n.top - window.scrollY}px)`, e.style.top = "auto", t === "top-left" ? e.style.left = l < 768 ? `${c}px` : `${n.left}px` : e.style.right = l < 768 ? `${c}px` : `${l - n.right}px`) : (e.style.top = `${n.bottom + window.scrollY}px`, t === "bottom-left" ? e.style.left = l < 768 ? `${c}px` : `${n.left}px` : e.style.right = l < 768 ? `${c}px` : `${l - n.right - x}px`);
642
693
  });
643
694
  }
644
- const pt = new CSSStyleSheet();
645
- pt.replaceSync(ce);
695
+ const ut = new CSSStyleSheet();
696
+ ut.replaceSync(xe);
646
697
  const M = "bottom-left";
647
- var z, ct, m, k, y, bt;
648
- class he extends Y {
698
+ var w, gt, k, y, xt;
699
+ class fe extends X {
649
700
  constructor() {
650
- super(pt);
651
- h(this, z);
652
- h(this, m);
701
+ super(ut);
702
+ h(this, w);
653
703
  h(this, k);
654
704
  h(this, y);
655
705
  this.template = () => `
656
706
  <style>${this.css}</style>
657
707
  <slot name="trigger"></slot>
658
- <slot name="popover"></slot>`, this.isAboutToClose = !1, A(this, m, () => {
659
- this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.$trigger.ariaExpanded = "true");
660
- }), A(this, k, () => {
661
- this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.$trigger.ariaExpanded = "false");
708
+ <slot name="popover"></slot>`, this.isAboutToClose = !1, this.triggerPopoverDisplay = () => {
709
+ this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.manualToggle || (this.$trigger.ariaExpanded = "true"));
710
+ }, this.showPopover = () => {
711
+ this.isAboutToClose || this.$popoverElement.showPopover();
712
+ }, this.hidePopover = () => {
713
+ this.$popoverElement.hidePopover();
714
+ }, A(this, k, () => {
715
+ this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.manualToggle || (this.$trigger.ariaExpanded = "false"));
662
716
  }), A(this, y, () => {
663
717
  this.$popoverElement.matches(":popover-open") || setTimeout(() => {
664
718
  this.isAboutToClose = !1;
@@ -675,7 +729,7 @@ class he extends Y {
675
729
  anchor-name: ${this.anchorName};
676
730
  }
677
731
  :host([anchoralignment="bottom-left"]) {
678
- ::slotted([slot="popover"]) {
732
+ ::slotted([popover]) {
679
733
  position-anchor: ${this.anchorName};
680
734
  top: anchor(${this.anchorName} bottom);
681
735
  left: anchor(${this.anchorName} left);
@@ -708,14 +762,16 @@ class he extends Y {
708
762
  ...super.observedAttributes,
709
763
  "id",
710
764
  "anchoralignment",
711
- "use-polyfill"
765
+ "use-polyfill",
766
+ "manual-toggle",
767
+ "popover-height"
712
768
  ];
713
769
  }
714
770
  connectedCallback() {
715
771
  this.getAttribute("id") || this.setAttribute(
716
772
  "id",
717
773
  `px-dropdown-${Math.random().toString(36).substring(2, 15)}`
718
- ), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", M), tt(
774
+ ), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", M), rt(
719
775
  this.$trigger,
720
776
  this.$popoverElement,
721
777
  this.anchorAlignment,
@@ -723,14 +779,15 @@ class he extends Y {
723
779
  this.usePolyfill
724
780
  );
725
781
  }
726
- attributeChangedCallback(e, r, n) {
727
- if (r !== n)
728
- switch (e) {
782
+ attributeChangedCallback(t, o, a) {
783
+ var n;
784
+ if (o !== a)
785
+ switch (t) {
729
786
  case "id":
730
787
  this.initPopover();
731
788
  break;
732
789
  case "use-polyfill":
733
- tt(
790
+ rt(
734
791
  this.$trigger,
735
792
  this.$popoverElement,
736
793
  this.anchorAlignment,
@@ -738,13 +795,25 @@ class he extends Y {
738
795
  this.usePolyfill
739
796
  );
740
797
  break;
798
+ case "manual-toggle":
799
+ a != null && ((n = this.$trigger) == null || n.removeAttribute("aria-expanded"));
800
+ break;
801
+ case "popover-height":
802
+ this.updatePopoverHeight(a);
803
+ break;
741
804
  default:
742
- super.attributeChangedCallback(e, r, n);
805
+ super.attributeChangedCallback(t, o, a);
743
806
  break;
744
807
  }
745
808
  }
809
+ updatePopoverHeight(t) {
810
+ t ? this.$popoverElement.style.setProperty(
811
+ "--px-popover-max-height",
812
+ t
813
+ ) : this.$popoverElement.style.removeProperty("--px-popover-max-height");
814
+ }
746
815
  initPopover() {
747
- this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.popoverId), this.$trigger.setAttribute("aria-expanded", "false"), this.$popoverElement.setAttribute("id", this.popoverId), this.$popoverElement.setAttribute("popover", ""), this.$style.innerHTML = this.css, b(this, z, ct).call(this), b(this, z, bt).call(this));
816
+ this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.getAttribute("id")), this.hasAttribute("manual-toggle") || this.$trigger.setAttribute("aria-expanded", "false"), this.$popoverElement.setAttribute("id", this.popoverId), this.$popoverElement.setAttribute("popover", ""), this.$style.innerHTML = this.css, b(this, w, gt).call(this), b(this, w, xt).call(this));
748
817
  }
749
818
  get popoverId() {
750
819
  return `${this.getAttribute("id")}-popover`;
@@ -764,48 +833,60 @@ class he extends Y {
764
833
  get anchorAlignment() {
765
834
  return this.getAttribute("anchoralignment") || M;
766
835
  }
767
- set anchorAlignment(e) {
768
- be.includes(e) ? this.setAttribute("anchoralignment", e) : (console.warn(
769
- `Invalid anchor alignment value: ${e}. Using default ${M}.`
836
+ set anchorAlignment(t) {
837
+ ve.includes(t) ? this.setAttribute("anchoralignment", t) : (P(
838
+ `Invalid anchor alignment value: ${t}. Using default ${M}.`
770
839
  ), this.setAttribute("anchoralignment", M));
771
840
  }
772
841
  get usePolyfill() {
773
842
  return this.hasAttribute("use-polyfill");
774
843
  }
775
- set usePolyfill(e) {
776
- e ? this.setAttribute("use-polyfill", "") : this.removeAttribute("use-polyfill");
844
+ set usePolyfill(t) {
845
+ t ? this.setAttribute("use-polyfill", "") : this.removeAttribute("use-polyfill");
846
+ }
847
+ get manualToggle() {
848
+ return this.hasAttribute("manual-toggle");
849
+ }
850
+ set manualToggle(t) {
851
+ t ? this.setAttribute("manual-toggle", "") : this.removeAttribute("manual-toggle");
852
+ }
853
+ get popoverHeight() {
854
+ return this.getAttribute("popover-height");
855
+ }
856
+ set popoverHeight(t) {
857
+ t ? this.setAttribute("popover-height", t) : this.removeAttribute("popover-height");
777
858
  }
778
859
  }
779
- z = new WeakSet(), ct = function() {
780
- this.isAboutToClose = !1, this.$trigger.removeEventListener("click", d(this, m)), this.$popoverElement.removeEventListener(
860
+ w = new WeakSet(), gt = function() {
861
+ this.isAboutToClose = !1, this.manualToggle || this.$trigger.removeEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.removeEventListener(
781
862
  "beforetoggle",
782
863
  d(this, k)
783
864
  ), this.$popoverElement.removeEventListener("toggle", d(this, y));
784
- }, m = new WeakMap(), k = new WeakMap(), y = new WeakMap(), /**
865
+ }, k = new WeakMap(), y = new WeakMap(), /**
785
866
  * Handles the manual display of the popover when the trigger is clicked.
786
867
  * This is necessary for cases where the trigger is not a button or input element.
787
868
  * This method adds event listeners to the trigger element to toggle the popover.
788
869
  * It also manages the state of whether the popover is about to close or not to avoid
789
870
  * race conditions when the popover is toggled and the trigger click event is fired.
790
871
  */
791
- bt = function() {
792
- this.$trigger && !["button", "input"].includes(this.$trigger.localName) && (this.$trigger.addEventListener("click", d(this, m)), this.$popoverElement.addEventListener("beforetoggle", d(this, k)), this.$popoverElement.addEventListener("toggle", d(this, y)));
872
+ xt = function() {
873
+ this.$trigger && !["button", "input"].includes(this.$trigger.localName) && (this.manualToggle || this.$trigger.addEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.addEventListener("beforetoggle", d(this, k)), this.$popoverElement.addEventListener("toggle", d(this, y)));
793
874
  };
794
- customElements.get("px-dropdown") || customElements.define("px-dropdown", he);
795
- const ht = new CSSStyleSheet();
796
- ht.replaceSync(`
797
- @media screen and (min-width: 48em) {
875
+ customElements.get("px-dropdown") || customElements.define("px-dropdown", fe);
876
+ const vt = new CSSStyleSheet();
877
+ vt.replaceSync(`
878
+ @media screen and (min-width: 48rem) {
798
879
  :host {
799
880
  display: none;
800
881
  }
801
882
  }
802
883
  `);
803
- var j, O, ut;
804
- class ue extends HTMLElement {
884
+ var N, H, ft;
885
+ class me extends HTMLElement {
805
886
  constructor() {
806
887
  super();
807
- h(this, O);
808
- h(this, j, `<px-mdd
888
+ h(this, H);
889
+ h(this, N, `<px-mdd
809
890
  name="__lavender_mobile_menu"
810
891
  hidden--tablet
811
892
  hidden--laptop
@@ -814,48 +895,48 @@ class ue extends HTMLElement {
814
895
  <span slot="title"><slot name="title"></slot></span>
815
896
  <px-mdd-section title-hidden></px-mdd-section>
816
897
  </px-mdd>`);
817
- this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, j), this.shadowRoot.adoptedStyleSheets = [ht];
898
+ this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, N), this.shadowRoot.adoptedStyleSheets = [vt];
818
899
  }
819
900
  connectedCallback() {
820
901
  this.setAttribute("slot", "header-panels");
821
- const e = this.closest("px-header");
822
- if (!e)
902
+ const t = this.closest("px-header");
903
+ if (!t)
823
904
  throw new Error(
824
905
  "<px-header-mobile-menu> must be used within a <px-header>."
825
906
  );
826
- const r = e.querySelectorAll("px-header-item"), n = e.querySelectorAll("px-action-link"), s = this.shadowRoot.querySelector("px-mdd-section");
827
- s.innerHTML = `
828
- ${[...r].map((i) => {
829
- const l = i.getAttribute("for"), c = i.getAttribute("href");
830
- return l ? `<px-mdd-section-item for="${l}">${i.innerText}</px-mdd-section-item>` : c ? `<px-mdd-section-item href="${c}">${i.innerText}</px-mdd-section-item>` : "";
907
+ const o = t.querySelectorAll("px-header-item"), a = t.querySelectorAll("px-action-link"), n = this.shadowRoot.querySelector("px-mdd-section");
908
+ n.innerHTML = `
909
+ ${[...o].map((s) => {
910
+ const l = s.getAttribute("for"), c = s.getAttribute("href");
911
+ return l ? `<px-mdd-section-item for="${l}">${s.innerText}</px-mdd-section-item>` : c ? `<px-mdd-section-item href="${c}">${s.innerText}</px-mdd-section-item>` : "";
831
912
  }).join("")}
832
- ${[...n].filter((i) => !i.hasAttribute("promoted")).map(
833
- (i) => `<px-mdd-a href="${i.getAttribute("href")}" slot="footer">${i.innerText}</px-mdd-a>`
834
- ).join("")}`, b(this, O, ut).call(this).forEach((i) => {
835
- i && this.$megaDropDown.appendChild(i);
913
+ ${[...a].filter((s) => !s.hasAttribute("promoted")).map(
914
+ (s) => `<px-mdd-a href="${s.getAttribute("href")}" slot="footer">${s.innerText}</px-mdd-a>`
915
+ ).join("")}`, b(this, H, ft).call(this).forEach((s) => {
916
+ s && this.$megaDropDown.appendChild(s);
836
917
  });
837
918
  }
838
919
  get $megaDropDown() {
839
920
  return this.shadowRoot.querySelector("px-mdd");
840
921
  }
841
922
  }
842
- j = new WeakMap(), O = new WeakSet(), ut = function() {
843
- const e = this.closest("px-header"), r = e.querySelector(
923
+ N = new WeakMap(), H = new WeakSet(), ft = function() {
924
+ const t = this.closest("px-header"), o = t.querySelector(
844
925
  'px-dropdown[slot="target-group"]'
845
- ), n = e.querySelector(
926
+ ), a = t.querySelector(
846
927
  'px-dropdown[slot="user-language"]'
847
- ), s = r == null ? void 0 : r.cloneNode(
928
+ ), n = o == null ? void 0 : o.cloneNode(
848
929
  !0
849
930
  );
850
- s == null || s.removeAttribute("id"), s == null || s.setAttribute("slot", "mdd-footer"), s == null || s.setAttribute("grow", "3"), s == null || s.setAttribute("anchoralignment", "top-left");
851
- const i = n == null ? void 0 : n.cloneNode(
931
+ n == null || n.removeAttribute("id"), n == null || n.setAttribute("slot", "mdd-footer"), n == null || n.setAttribute("grow", "3"), n == null || n.setAttribute("anchoralignment", "top-left");
932
+ const s = a == null ? void 0 : a.cloneNode(
852
933
  !0
853
934
  );
854
- return i == null || i.removeAttribute("id"), i == null || i.setAttribute("slot", "mdd-footer"), i == null || i.setAttribute("grow", "1"), i == null || i.setAttribute("anchoralignment", "top-right"), [s, i];
935
+ return s == null || s.removeAttribute("id"), s == null || s.setAttribute("slot", "mdd-footer"), s == null || s.setAttribute("grow", "1"), s == null || s.setAttribute("anchoralignment", "top-right"), [n, s];
855
936
  };
856
- customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu", ue);
937
+ customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu", me);
857
938
  export {
858
- pe as Header,
859
- St as HeaderItem,
860
- ue as HeaderMobileMenu
939
+ ge as Header,
940
+ Mt as HeaderItem,
941
+ me as HeaderMobileMenu
861
942
  };