@proximus/lavender-header 1.4.9-alpha.1 → 1.4.9-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.
- package/dist/index.es.js +182 -180
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var V = (
|
|
2
|
-
throw TypeError(
|
|
1
|
+
var V = (a) => {
|
|
2
|
+
throw TypeError(a);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var d = (
|
|
4
|
+
var _ = (a, t, e) => t.has(a) || V("Cannot " + e);
|
|
5
|
+
var d = (a, t, e) => (_(a, t, "read from private field"), e ? e.call(a) : t.get(a)), u = (a, t, e) => t.has(a) ? V("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(a) : t.set(a, e), k = (a, t, e, o) => (_(a, t, "write to private field"), o ? o.call(a, e) : t.set(a, e), e), b = (a, t, e) => (_(a, t, "access private method"), e);
|
|
6
6
|
import "@proximus/lavender-button-icon";
|
|
7
7
|
import "@proximus/lavender-cell";
|
|
8
|
-
import { WithExtraAttributes as J, fontsizeValues as zt, PxElement as $t, transferAccessibilityAttributes as At, fontweightValues as
|
|
8
|
+
import { WithExtraAttributes as J, fontsizeValues as zt, PxElement as $t, transferAccessibilityAttributes as At, fontweightValues as Ct, colorValues as St, log as j, checkName as Et, WrappedInteractiveStateController as Lt } 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 Tt = ":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:calc(2em - 2px)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}",
|
|
14
|
-
|
|
13
|
+
const Tt = ":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:calc(2em - 2px)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}", rt = new CSSStyleSheet();
|
|
14
|
+
rt.replaceSync(Tt);
|
|
15
15
|
class Mt extends J {
|
|
16
16
|
constructor() {
|
|
17
17
|
var t;
|
|
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 = [
|
|
20
|
+
</a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [rt], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.role = "listitem", this.internals && (this.internals.role = "listitem");
|
|
21
21
|
}
|
|
22
22
|
static get observedAttributes() {
|
|
23
23
|
return ["for", "href"];
|
|
@@ -34,8 +34,8 @@ class Mt extends J {
|
|
|
34
34
|
disconnectedCallback() {
|
|
35
35
|
this.contentObserver.disconnect();
|
|
36
36
|
}
|
|
37
|
-
attributeChangedCallback(t, e,
|
|
38
|
-
super.attributeChangedCallback(t, e,
|
|
37
|
+
attributeChangedCallback(t, e, o) {
|
|
38
|
+
super.attributeChangedCallback(t, e, o), t === "href" && this.$a && o ? this.shadowRoot.innerHTML = this.template() : t === "for" && this.$button && o && (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 || "");
|
|
@@ -65,11 +65,11 @@ class Mt extends J {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
customElements.get("px-header-item") || customElements.define("px-header-item", Mt);
|
|
68
|
-
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}a.wrapper:hover,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 only screen and (min-width: 768px){a.wrapper:hover,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 only screen and (min-width: 1025px){a.wrapper:hover,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 only screen and (min-width: 90.0625em){a.wrapper:hover,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)}}', qt = `.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){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-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{display:flex;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);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:"";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='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{transform:rotate(180deg)}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){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) button.wrapper:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em) and (max-width: 64em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em){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){padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-tablet) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-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{justify-content:flex-start;align-items:center;gap:var(--px-spacing-xs-tablet);width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 64.0625em){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){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary: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{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){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)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary: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{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, It = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media only screen and (min-width: 64.0625em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", it = new CSSStyleSheet(), nt = new CSSStyleSheet(), st = new CSSStyleSheet();
|
|
68
|
+
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 only screen and (min-width: 768px){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 only screen and (min-width: 1025px){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 only screen and (min-width: 90.0625em){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{display:flex;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);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:"";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='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{transform:rotate(180deg)}.btn.header-minimal-dropdown{display:flex;justify-content:flex-start;align-items:center;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;touch-action:manipulation}.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-minimal-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}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 only screen and (max-width: 47.938em){.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 only screen and (min-width: 48em) and (max-width: 64em){.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 only screen and (min-width: 48em){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{justify-content:flex-start;align-items:center;gap:var(--px-spacing-xs-tablet);width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-tablet);font-size:var(--px-text-size-label-m-tablet)}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.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 only screen and (min-width: 64.0625em){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{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop);padding:0}.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop)}}@media only screen and (min-width: 90.0625em){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{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop);padding:0}.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop)}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, qt = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media only screen and (min-width: 64.0625em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", it = new CSSStyleSheet(), nt = new CSSStyleSheet(), st = new CSSStyleSheet();
|
|
69
69
|
it.replaceSync(Rt);
|
|
70
|
-
nt.replaceSync(
|
|
71
|
-
st.replaceSync(
|
|
72
|
-
const
|
|
70
|
+
nt.replaceSync(jt);
|
|
71
|
+
st.replaceSync(qt);
|
|
72
|
+
const It = [...zt, "link-m", "link-s"], Nt = [
|
|
73
73
|
"link",
|
|
74
74
|
"no-style",
|
|
75
75
|
"skip-link",
|
|
@@ -110,82 +110,82 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
110
110
|
}
|
|
111
111
|
disconnectedCallback() {
|
|
112
112
|
}
|
|
113
|
-
attributeChangedCallback(t, e,
|
|
114
|
-
if (e !==
|
|
113
|
+
attributeChangedCallback(t, e, o) {
|
|
114
|
+
if (e !== o)
|
|
115
115
|
switch (t) {
|
|
116
116
|
case "disabled":
|
|
117
|
-
this.$el.toggleAttribute("aria-disabled"),
|
|
117
|
+
this.$el.toggleAttribute("aria-disabled"), o !== null && this.$el.setAttribute("aria-disabled", "true");
|
|
118
118
|
break;
|
|
119
119
|
case "variant":
|
|
120
|
-
this.updateVariant(e,
|
|
120
|
+
this.updateVariant(e, o);
|
|
121
121
|
break;
|
|
122
122
|
case "shape":
|
|
123
123
|
case "shape--mobile":
|
|
124
124
|
case "shape--tablet":
|
|
125
125
|
case "shape--laptop":
|
|
126
126
|
case "shape--desktop":
|
|
127
|
-
this.updateShape(t,
|
|
127
|
+
this.updateShape(t, o, Ot);
|
|
128
128
|
break;
|
|
129
129
|
case "extended":
|
|
130
130
|
case "extended--mobile":
|
|
131
131
|
case "extended--tablet":
|
|
132
132
|
case "extended--laptop":
|
|
133
133
|
case "extended--desktop":
|
|
134
|
-
this.updateExtended(t,
|
|
134
|
+
this.updateExtended(t, o);
|
|
135
135
|
break;
|
|
136
136
|
case "font-size":
|
|
137
137
|
this.updateTypography(
|
|
138
138
|
t,
|
|
139
139
|
e,
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
o,
|
|
141
|
+
It
|
|
142
142
|
);
|
|
143
143
|
break;
|
|
144
144
|
case "color":
|
|
145
|
-
this.updateTypography(t, e,
|
|
145
|
+
this.updateTypography(t, e, o, St);
|
|
146
146
|
break;
|
|
147
147
|
case "font-weight":
|
|
148
|
-
this.updateTypography(t, e,
|
|
148
|
+
this.updateTypography(t, e, o, Ct);
|
|
149
149
|
break;
|
|
150
150
|
case "title":
|
|
151
|
-
|
|
151
|
+
o && (this.$el.setAttribute("title", o), this.removeAttribute("title"));
|
|
152
152
|
break;
|
|
153
153
|
default:
|
|
154
|
-
super.attributeChangedCallback(t, e,
|
|
154
|
+
super.attributeChangedCallback(t, e, o);
|
|
155
155
|
break;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
configureBeforeAfterIcon(t) {
|
|
159
|
-
const e = t.getAttribute("size"),
|
|
159
|
+
const e = t.getAttribute("size"), o = t.getAttribute("color");
|
|
160
160
|
t.addEventListener("click", () => {
|
|
161
161
|
this.$el.focus();
|
|
162
|
-
}), e || t.setAttribute("size", "xs"),
|
|
162
|
+
}), e || t.setAttribute("size", "xs"), o || t.setAttribute("color", "inherit");
|
|
163
163
|
}
|
|
164
164
|
_toggleClassList(t) {
|
|
165
165
|
if (t.startsWith("btn-")) {
|
|
166
166
|
const e = t.split("-");
|
|
167
|
-
for (const
|
|
168
|
-
this.$el.classList.toggle(
|
|
167
|
+
for (const o of e)
|
|
168
|
+
this.$el.classList.toggle(o);
|
|
169
169
|
} else
|
|
170
170
|
this.$el.classList.toggle(t);
|
|
171
171
|
}
|
|
172
172
|
updateVariant(t, e) {
|
|
173
|
-
t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(
|
|
173
|
+
t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(Nt, e) || j(
|
|
174
174
|
`${e} is not an allowed variant value for ${this.tagName.toLowerCase()}`
|
|
175
175
|
), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
|
|
176
176
|
}
|
|
177
|
-
updateShape(t, e,
|
|
178
|
-
if (!Et(
|
|
179
|
-
|
|
177
|
+
updateShape(t, e, o) {
|
|
178
|
+
if (!Et(o, e)) {
|
|
179
|
+
j(
|
|
180
180
|
`${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
|
|
181
181
|
);
|
|
182
182
|
return;
|
|
183
183
|
}
|
|
184
184
|
e !== null && e !== "" && this.$el.setAttribute(t, e);
|
|
185
185
|
}
|
|
186
|
-
updateTypography(t, e,
|
|
187
|
-
e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`),
|
|
188
|
-
`${
|
|
186
|
+
updateTypography(t, e, o, r) {
|
|
187
|
+
e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), o !== null && o !== "" && o !== "default" && this.$el.classList.toggle(`${t}-${o}`), this.checkName(r, o) || j(
|
|
188
|
+
`${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
|
|
189
189
|
);
|
|
190
190
|
}
|
|
191
191
|
updateExtended(t, e) {
|
|
@@ -306,39 +306,39 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
O.nativeName = "a";
|
|
309
|
-
let
|
|
310
|
-
customElements.get("px-a") || customElements.define("px-a",
|
|
311
|
-
var
|
|
312
|
-
class Pt extends
|
|
309
|
+
let q = O;
|
|
310
|
+
customElements.get("px-a") || customElements.define("px-a", q);
|
|
311
|
+
var m, P, dt;
|
|
312
|
+
class Pt extends q {
|
|
313
313
|
constructor() {
|
|
314
314
|
super();
|
|
315
315
|
u(this, P);
|
|
316
|
-
u(this,
|
|
317
|
-
this.$el.classList.add("wrapper"),
|
|
316
|
+
u(this, m);
|
|
317
|
+
this.$el.classList.add("wrapper"), k(this, m, new Lt(
|
|
318
318
|
this,
|
|
319
319
|
this.$el,
|
|
320
320
|
() => b(this, P, dt).call(this)
|
|
321
321
|
));
|
|
322
322
|
}
|
|
323
323
|
connectedCallback() {
|
|
324
|
-
super.connectedCallback(), d(this,
|
|
324
|
+
super.connectedCallback(), d(this, m).connect();
|
|
325
325
|
}
|
|
326
326
|
disconnectedCallback() {
|
|
327
|
-
super.disconnectedCallback(), d(this,
|
|
327
|
+
super.disconnectedCallback(), d(this, m).disconnect();
|
|
328
328
|
}
|
|
329
|
-
attributeChangedCallback(e,
|
|
330
|
-
if (
|
|
329
|
+
attributeChangedCallback(e, o, r) {
|
|
330
|
+
if (o !== r)
|
|
331
331
|
switch (e) {
|
|
332
332
|
case "disabled":
|
|
333
|
-
super.attributeChangedCallback(e,
|
|
333
|
+
super.attributeChangedCallback(e, o, r), r !== null && d(this, m).clearInteractiveState();
|
|
334
334
|
break;
|
|
335
335
|
default:
|
|
336
|
-
super.attributeChangedCallback(e,
|
|
336
|
+
super.attributeChangedCallback(e, o, r);
|
|
337
337
|
break;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
|
|
341
|
+
m = new WeakMap(), P = new WeakSet(), dt = function() {
|
|
342
342
|
return !this.hasAttribute("disabled") && this.$el.getAttribute("aria-disabled") !== "true";
|
|
343
343
|
};
|
|
344
344
|
customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", Pt);
|
|
@@ -355,127 +355,127 @@ class Bt extends HTMLElement {
|
|
|
355
355
|
}
|
|
356
356
|
customElements.get("px-mdd-a") || customElements.define("px-mdd-a", Bt);
|
|
357
357
|
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}#panel-container{position:absolute;top:0;left:0;right:0;z-index:999}#backdrop-filter{display:none;position:absolute;z-index:998;left:0;width:100vw;height:100%;background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}@media only screen and (min-width: 48em){#dropdown-zone--desktop{display:flex;justify-content:space-between;align-items:center;margin-block:var(--px-padding-s-tablet)}#primary-navigation{display:block}#panel-container{top:auto}}@media only screen and (min-width: 64.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-laptop)}}@media only screen and (min-width: 90.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-desktop)}}";
|
|
358
|
-
function
|
|
359
|
-
var t = typeof
|
|
360
|
-
return
|
|
358
|
+
function I(a) {
|
|
359
|
+
var t = typeof a;
|
|
360
|
+
return a != null && (t == "object" || t == "function");
|
|
361
361
|
}
|
|
362
|
-
var Wt = typeof global == "object" && global && global.Object === Object && global,
|
|
362
|
+
var Wt = typeof global == "object" && global && global.Object === Object && global, Dt = typeof self == "object" && self && self.Object === Object && self, lt = Wt || Dt || Function("return this")(), Z = function() {
|
|
363
363
|
return lt.Date.now();
|
|
364
364
|
}, Ft = /\s/;
|
|
365
|
-
function
|
|
366
|
-
for (var t =
|
|
365
|
+
function _t(a) {
|
|
366
|
+
for (var t = a.length; t-- && Ft.test(a.charAt(t)); )
|
|
367
367
|
;
|
|
368
368
|
return t;
|
|
369
369
|
}
|
|
370
|
-
var
|
|
371
|
-
function
|
|
372
|
-
return
|
|
370
|
+
var Zt = /^\s+/;
|
|
371
|
+
function Ut(a) {
|
|
372
|
+
return a && a.slice(0, _t(a) + 1).replace(Zt, "");
|
|
373
373
|
}
|
|
374
|
-
var
|
|
375
|
-
function Jt(
|
|
376
|
-
var t =
|
|
374
|
+
var N = lt.Symbol, pt = Object.prototype, Yt = pt.hasOwnProperty, Xt = pt.toString, S = N ? N.toStringTag : void 0;
|
|
375
|
+
function Jt(a) {
|
|
376
|
+
var t = Yt.call(a, S), e = a[S];
|
|
377
377
|
try {
|
|
378
|
-
|
|
379
|
-
var
|
|
378
|
+
a[S] = void 0;
|
|
379
|
+
var o = !0;
|
|
380
380
|
} catch {
|
|
381
381
|
}
|
|
382
|
-
var
|
|
383
|
-
return
|
|
382
|
+
var r = Xt.call(a);
|
|
383
|
+
return o && (t ? a[S] = e : delete a[S]), r;
|
|
384
384
|
}
|
|
385
385
|
var Kt = Object.prototype, Qt = Kt.toString;
|
|
386
|
-
function Gt(
|
|
387
|
-
return Qt.call(
|
|
386
|
+
function Gt(a) {
|
|
387
|
+
return Qt.call(a);
|
|
388
388
|
}
|
|
389
|
-
var Vt = "[object Null]", te = "[object Undefined]", tt =
|
|
390
|
-
function ee(
|
|
391
|
-
return
|
|
389
|
+
var Vt = "[object Null]", te = "[object Undefined]", tt = N ? N.toStringTag : void 0;
|
|
390
|
+
function ee(a) {
|
|
391
|
+
return a == null ? a === void 0 ? te : Vt : tt && tt in Object(a) ? Jt(a) : Gt(a);
|
|
392
392
|
}
|
|
393
|
-
function oe(
|
|
394
|
-
return
|
|
393
|
+
function oe(a) {
|
|
394
|
+
return a != null && typeof a == "object";
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
return typeof
|
|
396
|
+
var ae = "[object Symbol]";
|
|
397
|
+
function re(a) {
|
|
398
|
+
return typeof a == "symbol" || oe(a) && ee(a) == ae;
|
|
399
399
|
}
|
|
400
400
|
var et = NaN, ie = /^[-+]0x[0-9a-f]+$/i, ne = /^0b[01]+$/i, se = /^0o[0-7]+$/i, de = parseInt;
|
|
401
|
-
function ot(
|
|
402
|
-
if (typeof
|
|
403
|
-
return
|
|
404
|
-
if (
|
|
401
|
+
function ot(a) {
|
|
402
|
+
if (typeof a == "number")
|
|
403
|
+
return a;
|
|
404
|
+
if (re(a))
|
|
405
405
|
return et;
|
|
406
|
-
if (
|
|
407
|
-
var t = typeof
|
|
408
|
-
|
|
409
|
-
}
|
|
410
|
-
if (typeof
|
|
411
|
-
return
|
|
412
|
-
|
|
413
|
-
var e = ne.test(
|
|
414
|
-
return e || se.test(
|
|
406
|
+
if (I(a)) {
|
|
407
|
+
var t = typeof a.valueOf == "function" ? a.valueOf() : a;
|
|
408
|
+
a = I(t) ? t + "" : t;
|
|
409
|
+
}
|
|
410
|
+
if (typeof a != "string")
|
|
411
|
+
return a === 0 ? a : +a;
|
|
412
|
+
a = Ut(a);
|
|
413
|
+
var e = ne.test(a);
|
|
414
|
+
return e || se.test(a) ? de(a.slice(2), e ? 2 : 8) : ie.test(a) ? et : +a;
|
|
415
415
|
}
|
|
416
416
|
var le = "Expected a function", pe = Math.max, ce = Math.min;
|
|
417
|
-
function be(
|
|
418
|
-
var
|
|
419
|
-
if (typeof
|
|
417
|
+
function be(a, t, e) {
|
|
418
|
+
var o, r, s, n, l, c, g = 0, A = !1, h = !1, W = !0;
|
|
419
|
+
if (typeof a != "function")
|
|
420
420
|
throw new TypeError(le);
|
|
421
|
-
t = ot(t) || 0,
|
|
422
|
-
function
|
|
423
|
-
var x =
|
|
424
|
-
return
|
|
421
|
+
t = ot(t) || 0, I(e) && (A = !!e.leading, h = "maxWait" in e, s = h ? pe(ot(e.maxWait) || 0, t) : s, W = "trailing" in e ? !!e.trailing : W);
|
|
422
|
+
function D(p) {
|
|
423
|
+
var x = o, C = r;
|
|
424
|
+
return o = r = void 0, g = p, n = a.apply(C, x), n;
|
|
425
425
|
}
|
|
426
426
|
function mt(p) {
|
|
427
|
-
return g = p, l = setTimeout(M, t), A ?
|
|
427
|
+
return g = p, l = setTimeout(M, t), A ? D(p) : n;
|
|
428
428
|
}
|
|
429
429
|
function kt(p) {
|
|
430
|
-
var x = p - c,
|
|
431
|
-
return h ? ce(G, s -
|
|
430
|
+
var x = p - c, C = p - g, G = t - x;
|
|
431
|
+
return h ? ce(G, s - C) : G;
|
|
432
432
|
}
|
|
433
433
|
function K(p) {
|
|
434
|
-
var x = p - c,
|
|
435
|
-
return c === void 0 || x >= t || x < 0 || h &&
|
|
434
|
+
var x = p - c, C = p - g;
|
|
435
|
+
return c === void 0 || x >= t || x < 0 || h && C >= s;
|
|
436
436
|
}
|
|
437
437
|
function M() {
|
|
438
|
-
var p =
|
|
438
|
+
var p = Z();
|
|
439
439
|
if (K(p))
|
|
440
440
|
return Q(p);
|
|
441
441
|
l = setTimeout(M, kt(p));
|
|
442
442
|
}
|
|
443
443
|
function Q(p) {
|
|
444
|
-
return l = void 0, W &&
|
|
444
|
+
return l = void 0, W && o ? D(p) : (o = r = void 0, n);
|
|
445
445
|
}
|
|
446
446
|
function yt() {
|
|
447
|
-
l !== void 0 && clearTimeout(l), g = 0,
|
|
447
|
+
l !== void 0 && clearTimeout(l), g = 0, o = c = r = l = void 0;
|
|
448
448
|
}
|
|
449
449
|
function wt() {
|
|
450
|
-
return l === void 0 ? n : Q(
|
|
450
|
+
return l === void 0 ? n : Q(Z());
|
|
451
451
|
}
|
|
452
452
|
function F() {
|
|
453
|
-
var p =
|
|
454
|
-
if (
|
|
453
|
+
var p = Z(), x = K(p);
|
|
454
|
+
if (o = arguments, r = this, c = p, x) {
|
|
455
455
|
if (l === void 0)
|
|
456
456
|
return mt(c);
|
|
457
457
|
if (h)
|
|
458
|
-
return clearTimeout(l), l = setTimeout(M, t),
|
|
458
|
+
return clearTimeout(l), l = setTimeout(M, t), D(c);
|
|
459
459
|
}
|
|
460
460
|
return l === void 0 && (l = setTimeout(M, t)), n;
|
|
461
461
|
}
|
|
462
462
|
return F.cancel = yt, F.flush = wt, F;
|
|
463
463
|
}
|
|
464
464
|
var ue = "Expected a function";
|
|
465
|
-
function he(
|
|
466
|
-
var
|
|
467
|
-
if (typeof
|
|
465
|
+
function he(a, t, e) {
|
|
466
|
+
var o = !0, r = !0;
|
|
467
|
+
if (typeof a != "function")
|
|
468
468
|
throw new TypeError(ue);
|
|
469
|
-
return
|
|
470
|
-
leading:
|
|
469
|
+
return I(e) && (o = "leading" in e ? !!e.leading : o, r = "trailing" in e ? !!e.trailing : r), be(a, t, {
|
|
470
|
+
leading: o,
|
|
471
471
|
maxWait: t,
|
|
472
|
-
trailing:
|
|
472
|
+
trailing: r
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
const ct = new CSSStyleSheet();
|
|
476
476
|
ct.replaceSync(Ht);
|
|
477
477
|
const xe = "Menu";
|
|
478
|
-
var T, i, bt,
|
|
478
|
+
var T, i, bt, U, Y, ut, X, v, E, L, f;
|
|
479
479
|
class ge extends J {
|
|
480
480
|
constructor() {
|
|
481
481
|
var e;
|
|
@@ -504,7 +504,7 @@ class ge extends J {
|
|
|
504
504
|
<px-hstack gap--mobile="none" gap="default">
|
|
505
505
|
<slot name="header-actions"></slot>
|
|
506
506
|
<px-button-icon id="burger-menu" variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
|
|
507
|
-
aria-expanded="false"
|
|
507
|
+
aria-expanded="false" hidden--tablet hidden--laptop
|
|
508
508
|
hidden--desktop>
|
|
509
509
|
<px-icon name="burger_menu" from="lavender"></px-icon>
|
|
510
510
|
</px-button-icon>
|
|
@@ -519,41 +519,41 @@ class ge extends J {
|
|
|
519
519
|
<div id="backdrop-filter"></div>
|
|
520
520
|
<slot name="main"></slot>
|
|
521
521
|
</div>
|
|
522
|
-
`,
|
|
522
|
+
`, k(this, T, () => {
|
|
523
523
|
window.innerWidth >= 768 && (b(this, i, ut).call(this), b(this, i, bt).call(this));
|
|
524
524
|
}), this.shadowRoot.innerHTML = this.template, this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.role = "navigation", this.internals && (this.internals.role = "navigation");
|
|
525
525
|
}
|
|
526
526
|
connectedCallback() {
|
|
527
527
|
this.addEventListener("click", (e) => {
|
|
528
|
-
const
|
|
528
|
+
const o = e.target.closest(
|
|
529
529
|
"px-header-item"
|
|
530
530
|
);
|
|
531
|
-
|
|
532
|
-
a.checked = !1;
|
|
533
|
-
}), r.checked = !0, b(this, i, Y).call(this, e.target.for)) : b(this, i, X).call(this));
|
|
534
|
-
}), this.addEventListener("section-item-click", (e) => {
|
|
535
|
-
this.$backdropFilter.style.display = "block", d(this, i, E).forEach((r) => {
|
|
531
|
+
o && o.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, i, E).forEach((r) => {
|
|
536
532
|
r.checked = !1;
|
|
533
|
+
}), o.checked = !0, b(this, i, U).call(this, e.target.for)) : b(this, i, X).call(this));
|
|
534
|
+
}), this.addEventListener("section-item-click", (e) => {
|
|
535
|
+
this.$backdropFilter.style.display = "block", d(this, i, E).forEach((o) => {
|
|
536
|
+
o.checked = !1;
|
|
537
537
|
}), this.querySelector(
|
|
538
538
|
`px-header-item[for="${e.detail.for}"]`
|
|
539
|
-
).checked = !0, b(this, i,
|
|
539
|
+
).checked = !0, b(this, i, U).call(this, e.detail.for);
|
|
540
540
|
}), this.addEventListener("back-to-mobile-menu", () => {
|
|
541
541
|
this.$backdropFilter.style.display = "block", d(this, i, E).forEach((e) => {
|
|
542
542
|
e.checked = !1;
|
|
543
|
-
}), b(this, i,
|
|
543
|
+
}), b(this, i, Y).call(this);
|
|
544
544
|
}), this.$burgerMenu.addEventListener("click", () => {
|
|
545
|
-
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, i,
|
|
545
|
+
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, i, Y).call(this);
|
|
546
546
|
}), this.addEventListener("close-panel", () => {
|
|
547
547
|
b(this, i, X).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
|
|
548
548
|
}), this.addEventListener(
|
|
549
549
|
"close-panel-from-dialog",
|
|
550
550
|
(e) => {
|
|
551
551
|
this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, i, L).getBoundingClientRect().bottom && requestAnimationFrame(() => {
|
|
552
|
-
var
|
|
553
|
-
(
|
|
552
|
+
var o;
|
|
553
|
+
(o = document.elementFromPoint(
|
|
554
554
|
e.detail.clientX,
|
|
555
555
|
e.detail.clientY
|
|
556
|
-
)) == null ||
|
|
556
|
+
)) == null || o.click();
|
|
557
557
|
});
|
|
558
558
|
}
|
|
559
559
|
), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", xe), window.addEventListener("resize", he(d(this, T), 200));
|
|
@@ -566,23 +566,23 @@ class ge extends J {
|
|
|
566
566
|
"back-to-menu-label"
|
|
567
567
|
];
|
|
568
568
|
}
|
|
569
|
-
attributeChangedCallback(e,
|
|
570
|
-
if (
|
|
569
|
+
attributeChangedCallback(e, o, r) {
|
|
570
|
+
if (o !== r)
|
|
571
571
|
switch (e) {
|
|
572
572
|
case "close-button-aria-label":
|
|
573
|
-
d(this, i,
|
|
574
|
-
s.setAttribute("close-button-aria-label",
|
|
573
|
+
d(this, i, f).forEach((s) => {
|
|
574
|
+
s.setAttribute("close-button-aria-label", r);
|
|
575
575
|
});
|
|
576
576
|
break;
|
|
577
577
|
case "burger-menu-aria-label":
|
|
578
|
-
this.$burgerMenu.setAttribute("aria-label",
|
|
578
|
+
this.$burgerMenu.setAttribute("aria-label", r);
|
|
579
579
|
break;
|
|
580
580
|
case "primary-navigation-aria-label":
|
|
581
|
-
this.$primaryNavigation.setAttribute("aria-label",
|
|
581
|
+
this.$primaryNavigation.setAttribute("aria-label", r);
|
|
582
582
|
break;
|
|
583
583
|
case "back-to-menu-label":
|
|
584
|
-
d(this, i,
|
|
585
|
-
s.setAttribute("back-to-menu-label",
|
|
584
|
+
d(this, i, f).forEach((s) => {
|
|
585
|
+
s.setAttribute("back-to-menu-label", r);
|
|
586
586
|
});
|
|
587
587
|
break;
|
|
588
588
|
}
|
|
@@ -634,55 +634,57 @@ class ge extends J {
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
T = new WeakMap(), i = new WeakSet(), bt = function() {
|
|
637
|
-
const e = this.querySelectorAll("px-mdd"),
|
|
638
|
-
e.forEach((
|
|
639
|
-
|
|
637
|
+
const e = this.querySelectorAll("px-mdd"), o = d(this, i, L).getBoundingClientRect().bottom;
|
|
638
|
+
e.forEach((r) => {
|
|
639
|
+
r.dialogOffsetTop = `${o}px`;
|
|
640
640
|
});
|
|
641
|
-
},
|
|
642
|
-
d(this, i,
|
|
643
|
-
|
|
641
|
+
}, U = function(e) {
|
|
642
|
+
d(this, i, v).$megaDropDown.hidden = !0, d(this, i, f).forEach((o) => {
|
|
643
|
+
o.name === e && o.hidden && (o.dialogOffsetTop = `${d(this, i, L).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);
|
|
644
644
|
});
|
|
645
|
-
},
|
|
646
|
-
this.$backdropFilter.style.display = "none", d(this, i,
|
|
645
|
+
}, Y = function() {
|
|
646
|
+
this.$backdropFilter.style.display = "none", d(this, i, f).forEach((e) => {
|
|
647
647
|
e.hidden || (e.hidden = !0);
|
|
648
|
-
}), d(this, i,
|
|
648
|
+
}), d(this, i, v).$megaDropDown.dialogOffsetTop = `${d(this, i, L).getBoundingClientRect().bottom}px`, d(this, i, v).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
|
|
649
649
|
}, ut = function() {
|
|
650
|
-
d(this, i,
|
|
650
|
+
d(this, i, v) && (d(this, i, v).$megaDropDown.hidden = !0, this.$burgerMenu.setAttribute("aria-expanded", "false"), Array.from(d(this, i, f)).some(
|
|
651
|
+
(o) => !o.hidden
|
|
652
|
+
) || (document.body.style.overflow = "auto", this.$backdropFilter.style.display = "none"));
|
|
651
653
|
}, X = function() {
|
|
652
|
-
this.$backdropFilter.style.display = "none", d(this, i,
|
|
654
|
+
this.$backdropFilter.style.display = "none", d(this, i, v).$megaDropDown.hidden = !0, d(this, i, E).forEach((e) => {
|
|
653
655
|
e.checked = !1;
|
|
654
|
-
}), d(this, i,
|
|
656
|
+
}), d(this, i, f).forEach((e) => {
|
|
655
657
|
e.hidden = !0;
|
|
656
658
|
}), document.body.style.overflow = "auto";
|
|
657
|
-
},
|
|
659
|
+
}, v = function() {
|
|
658
660
|
return this.querySelector("px-header-mobile-menu");
|
|
659
661
|
}, E = function() {
|
|
660
662
|
return this.querySelectorAll("px-header-item");
|
|
661
663
|
}, L = function() {
|
|
662
664
|
return this.shadowRoot.querySelector("header");
|
|
663
|
-
},
|
|
665
|
+
}, f = function() {
|
|
664
666
|
return this.querySelectorAll("px-mdd");
|
|
665
667
|
};
|
|
666
668
|
customElements.get("px-header") || customElements.define("px-header", ge);
|
|
667
|
-
const
|
|
669
|
+
const ve = ':host{position:relative}::slotted([slot="popover"]){position:absolute;border-radius:var(--px-radius-main, 8px);background:var(--px-color-background-container-light-default, #fff);box-shadow:0 20px 25px -5px #25252514;margin:0;padding:var(--px-padding-xs-mobile) 0;border:0;right:0;width:auto}:host([grow]) ::slotted([slot="trigger"]):after{right:0;padding-right:var(--px-padding-xs-mobile)}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="bottom-right"]) ::slotted([slot="popover"]){left:auto}@media screen and (max-width: 767px){::slotted([slot="trigger"]){display:block;width:100%}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}}@media screen and (min-width: 768px){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', fe = [
|
|
668
670
|
"top-left",
|
|
669
671
|
"top-right",
|
|
670
672
|
"bottom-left",
|
|
671
673
|
"bottom-right"
|
|
672
674
|
];
|
|
673
|
-
function
|
|
674
|
-
"anchorName" in document.documentElement.style &&
|
|
675
|
+
function at(a, t, e = "bottom-left", o, r = !1) {
|
|
676
|
+
"anchorName" in document.documentElement.style && r === !1 || t.addEventListener("toggle", () => {
|
|
675
677
|
var A, h;
|
|
676
|
-
if (!
|
|
678
|
+
if (!a || !t)
|
|
677
679
|
return;
|
|
678
|
-
const s =
|
|
679
|
-
(
|
|
680
|
+
const s = a.getBoundingClientRect(), n = ((A = window.visualViewport) == null ? void 0 : A.height) ?? window.innerHeight, l = ((h = window.visualViewport) == null ? void 0 : h.width) ?? window.innerWidth, c = o.getPropertyValue("--px-padding-s-mobile") || "16px", g = parseInt(
|
|
681
|
+
(o.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
|
|
680
682
|
);
|
|
681
683
|
["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${n - s.top - window.scrollY}px)`, t.style.top = "auto", e === "top-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right}px`) : (t.style.top = `${s.bottom + window.scrollY}px`, e === "bottom-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right - g}px`);
|
|
682
684
|
});
|
|
683
685
|
}
|
|
684
686
|
const ht = new CSSStyleSheet();
|
|
685
|
-
ht.replaceSync(
|
|
687
|
+
ht.replaceSync(ve);
|
|
686
688
|
const R = "bottom-left";
|
|
687
689
|
var $, xt, y, w, z, gt;
|
|
688
690
|
class me extends J {
|
|
@@ -695,11 +697,11 @@ class me extends J {
|
|
|
695
697
|
this.template = () => `
|
|
696
698
|
<style>${this.css}</style>
|
|
697
699
|
<slot name="trigger"></slot>
|
|
698
|
-
<slot name="popover"></slot>`, this.isAboutToClose = !1,
|
|
700
|
+
<slot name="popover"></slot>`, this.isAboutToClose = !1, k(this, y, () => {
|
|
699
701
|
this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.$trigger.ariaExpanded = "true");
|
|
700
|
-
}),
|
|
702
|
+
}), k(this, w, () => {
|
|
701
703
|
this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.$trigger.ariaExpanded = "false");
|
|
702
|
-
}),
|
|
704
|
+
}), k(this, z, () => {
|
|
703
705
|
this.$popoverElement.matches(":popover-open") || setTimeout(() => {
|
|
704
706
|
this.isAboutToClose = !1;
|
|
705
707
|
});
|
|
@@ -755,7 +757,7 @@ class me extends J {
|
|
|
755
757
|
this.getAttribute("id") || this.setAttribute(
|
|
756
758
|
"id",
|
|
757
759
|
`px-dropdown-${Math.random().toString(36).substring(2, 15)}`
|
|
758
|
-
), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", R),
|
|
760
|
+
), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", R), at(
|
|
759
761
|
this.$trigger,
|
|
760
762
|
this.$popoverElement,
|
|
761
763
|
this.anchorAlignment,
|
|
@@ -763,14 +765,14 @@ class me extends J {
|
|
|
763
765
|
this.usePolyfill
|
|
764
766
|
);
|
|
765
767
|
}
|
|
766
|
-
attributeChangedCallback(e,
|
|
767
|
-
if (
|
|
768
|
+
attributeChangedCallback(e, o, r) {
|
|
769
|
+
if (o !== r)
|
|
768
770
|
switch (e) {
|
|
769
771
|
case "id":
|
|
770
772
|
this.initPopover();
|
|
771
773
|
break;
|
|
772
774
|
case "use-polyfill":
|
|
773
|
-
|
|
775
|
+
at(
|
|
774
776
|
this.$trigger,
|
|
775
777
|
this.$popoverElement,
|
|
776
778
|
this.anchorAlignment,
|
|
@@ -779,7 +781,7 @@ class me extends J {
|
|
|
779
781
|
);
|
|
780
782
|
break;
|
|
781
783
|
default:
|
|
782
|
-
super.attributeChangedCallback(e,
|
|
784
|
+
super.attributeChangedCallback(e, o, r);
|
|
783
785
|
break;
|
|
784
786
|
}
|
|
785
787
|
}
|
|
@@ -805,7 +807,7 @@ class me extends J {
|
|
|
805
807
|
return this.getAttribute("anchoralignment") || R;
|
|
806
808
|
}
|
|
807
809
|
set anchorAlignment(e) {
|
|
808
|
-
|
|
810
|
+
fe.includes(e) ? this.setAttribute("anchoralignment", e) : (j(
|
|
809
811
|
`Invalid anchor alignment value: ${e}. Using default ${R}.`
|
|
810
812
|
), this.setAttribute("anchoralignment", R));
|
|
811
813
|
}
|
|
@@ -832,15 +834,15 @@ gt = function() {
|
|
|
832
834
|
this.$trigger && !["button", "input"].includes(this.$trigger.localName) && (this.$trigger.addEventListener("click", d(this, y)), this.$popoverElement.addEventListener("beforetoggle", d(this, w)), this.$popoverElement.addEventListener("toggle", d(this, z)));
|
|
833
835
|
};
|
|
834
836
|
customElements.get("px-dropdown") || customElements.define("px-dropdown", me);
|
|
835
|
-
const
|
|
836
|
-
|
|
837
|
+
const vt = new CSSStyleSheet();
|
|
838
|
+
vt.replaceSync(`
|
|
837
839
|
@media screen and (min-width: 48em) {
|
|
838
840
|
:host {
|
|
839
841
|
display: none;
|
|
840
842
|
}
|
|
841
843
|
}
|
|
842
844
|
`);
|
|
843
|
-
var B, H,
|
|
845
|
+
var B, H, ft;
|
|
844
846
|
class ke extends HTMLElement {
|
|
845
847
|
constructor() {
|
|
846
848
|
super();
|
|
@@ -854,7 +856,7 @@ class ke extends HTMLElement {
|
|
|
854
856
|
<span slot="title"><slot name="title"></slot></span>
|
|
855
857
|
<px-mdd-section title-hidden></px-mdd-section>
|
|
856
858
|
</px-mdd>`);
|
|
857
|
-
this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, B), this.shadowRoot.adoptedStyleSheets = [
|
|
859
|
+
this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, B), this.shadowRoot.adoptedStyleSheets = [vt];
|
|
858
860
|
}
|
|
859
861
|
connectedCallback() {
|
|
860
862
|
this.setAttribute("slot", "header-panels");
|
|
@@ -863,15 +865,15 @@ class ke extends HTMLElement {
|
|
|
863
865
|
throw new Error(
|
|
864
866
|
"<px-header-mobile-menu> must be used within a <px-header>."
|
|
865
867
|
);
|
|
866
|
-
const
|
|
868
|
+
const o = e.querySelectorAll("px-header-item"), r = e.querySelectorAll("px-action-link"), s = this.shadowRoot.querySelector("px-mdd-section");
|
|
867
869
|
s.innerHTML = `
|
|
868
|
-
${[...
|
|
870
|
+
${[...o].map((n) => {
|
|
869
871
|
const l = n.getAttribute("for"), c = n.getAttribute("href");
|
|
870
872
|
return l ? `<px-mdd-section-item for="${l}">${n.innerText}</px-mdd-section-item>` : c ? `<px-mdd-section-item href="${c}">${n.innerText}</px-mdd-section-item>` : "";
|
|
871
873
|
}).join("")}
|
|
872
|
-
${[...
|
|
874
|
+
${[...r].filter((n) => !n.hasAttribute("promoted")).map(
|
|
873
875
|
(n) => `<px-mdd-a href="${n.getAttribute("href")}" slot="footer">${n.innerText}</px-mdd-a>`
|
|
874
|
-
).join("")}`, b(this, H,
|
|
876
|
+
).join("")}`, b(this, H, ft).call(this).forEach((n) => {
|
|
875
877
|
n && this.$megaDropDown.appendChild(n);
|
|
876
878
|
});
|
|
877
879
|
}
|
|
@@ -879,16 +881,16 @@ class ke extends HTMLElement {
|
|
|
879
881
|
return this.shadowRoot.querySelector("px-mdd");
|
|
880
882
|
}
|
|
881
883
|
}
|
|
882
|
-
B = new WeakMap(), H = new WeakSet(),
|
|
883
|
-
const e = this.closest("px-header"),
|
|
884
|
+
B = new WeakMap(), H = new WeakSet(), ft = function() {
|
|
885
|
+
const e = this.closest("px-header"), o = e.querySelector(
|
|
884
886
|
'px-dropdown[slot="target-group"]'
|
|
885
|
-
),
|
|
887
|
+
), r = e.querySelector(
|
|
886
888
|
'px-dropdown[slot="user-language"]'
|
|
887
|
-
), s =
|
|
889
|
+
), s = o == null ? void 0 : o.cloneNode(
|
|
888
890
|
!0
|
|
889
891
|
);
|
|
890
892
|
s == null || s.removeAttribute("id"), s == null || s.setAttribute("slot", "mdd-footer"), s == null || s.setAttribute("grow", "3"), s == null || s.setAttribute("anchoralignment", "top-left");
|
|
891
|
-
const n =
|
|
893
|
+
const n = r == null ? void 0 : r.cloneNode(
|
|
892
894
|
!0
|
|
893
895
|
);
|
|
894
896
|
return n == null || n.removeAttribute("id"), n == null || n.setAttribute("slot", "mdd-footer"), n == null || n.setAttribute("grow", "1"), n == null || n.setAttribute("anchoralignment", "top-right"), [s, n];
|