@proximus/lavender-header 1.4.11-alpha.9 → 1.4.12-alpha.10

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