@proximus/lavender-header 2.0.0-alpha.16 → 2.0.0-alpha.161

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