@proximus/lavender-autocomplete 1.4.9-beta.2

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.
@@ -0,0 +1,2287 @@
1
+ var re = (s) => {
2
+ throw TypeError(s);
3
+ };
4
+ var B = (s, e, t) => e.has(s) || re("Cannot " + t);
5
+ var a = (s, e, t) => (B(s, e, "read from private field"), t ? t.call(s) : e.get(s)), l = (s, e, t) => e.has(s) ? re("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(s) : e.set(s, t), g = (s, e, t, i) => (B(s, e, "write to private field"), i ? i.call(s, t) : e.set(s, t), t), u = (s, e, t) => (B(s, e, "access private method"), t);
6
+ import { WithExtraAttributes as S, log as p, PxElement as ne, iconSizeValuesKC as Se, cssTokenBreakpoints as f, paddingValues as v, gapValues as ce, boxShadowValues as Le, backgroundSizeValues as Ee, noBorderRadiusValues as De, borderRadiusValues as Te, borderSideValues as Re, borderValues as Me, gradientValues as oe, backgroundColorValues as I, borderColorValues as se, checkName as T, AttributeBreakpointHandlerDelegate as je, fontweightValues as He, fontsizeValues as Be, colorValues as Pe, isFalsy as P } from "@proximus/lavender-common";
7
+ const Ie = ":host .dropdown-content{background-color:var(--px-color-background-surface-default);border-radius:var(--px-radius-main);box-shadow:0 4px 6px -1px #25252514;overflow:hidden}:host([inverted]) .dropdown-content{background-color:var(--px-color-background-surface-dark)}", Fe = ':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: 47.938rem){::slotted([slot="trigger"]){display:block;width:100%}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}}@media screen and (min-width: 48rem){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', qe = [
8
+ "top-left",
9
+ "top-right",
10
+ "bottom-left",
11
+ "bottom-right"
12
+ ];
13
+ function ae(s, e, t = "bottom-left", i, r = !1) {
14
+ "anchorName" in document.documentElement.style && r === !1 || e.addEventListener("toggle", () => {
15
+ var te, ie;
16
+ if (!s || !e)
17
+ return;
18
+ const o = s.getBoundingClientRect(), n = ((te = window.visualViewport) == null ? void 0 : te.height) ?? window.innerHeight, c = ((ie = window.visualViewport) == null ? void 0 : ie.width) ?? window.innerWidth, d = i.getPropertyValue("--px-padding-s-mobile") || "16px", Ce = parseInt(
19
+ (i.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
20
+ );
21
+ ["top-left", "top-right"].includes(t) ? (e.style.bottom = `calc( ${d} + ${n - o.top - window.scrollY}px)`, e.style.top = "auto", t === "top-left" ? e.style.left = c < 768 ? `${d}px` : `${o.left}px` : e.style.right = c < 768 ? `${d}px` : `${c - o.right}px`) : (e.style.top = `${o.bottom + window.scrollY}px`, t === "bottom-left" ? e.style.left = c < 768 ? `${d}px` : `${o.left}px` : e.style.right = c < 768 ? `${d}px` : `${c - o.right - Ce}px`);
22
+ });
23
+ }
24
+ const le = new CSSStyleSheet();
25
+ le.replaceSync(Fe);
26
+ const D = "bottom-left";
27
+ var C, pe, k, w, de;
28
+ class Oe extends S {
29
+ constructor() {
30
+ super(le);
31
+ l(this, C);
32
+ l(this, k);
33
+ l(this, w);
34
+ this.template = () => `
35
+ <style>${this.css}</style>
36
+ <slot name="trigger"></slot>
37
+ <slot name="popover"></slot>`, this.isAboutToClose = !1, this.triggerPopoverDisplay = () => {
38
+ this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.manualToggle || (this.$trigger.ariaExpanded = "true"));
39
+ }, this.showPopover = () => {
40
+ this.isAboutToClose || this.$popoverElement.showPopover();
41
+ }, this.hidePopover = () => {
42
+ this.$popoverElement.hidePopover();
43
+ }, g(this, k, () => {
44
+ this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.manualToggle || (this.$trigger.ariaExpanded = "false"));
45
+ }), g(this, w, () => {
46
+ this.$popoverElement.matches(":popover-open") || setTimeout(() => {
47
+ this.isAboutToClose = !1;
48
+ });
49
+ }), this.shadowRoot.innerHTML = this.template();
50
+ }
51
+ /**
52
+ * Instance level styling for the dropdown component.
53
+ * This is used to set the anchor name and position of the popover.
54
+ * @private
55
+ */
56
+ get css() {
57
+ return `::slotted([slot='trigger']) {
58
+ anchor-name: ${this.anchorName};
59
+ }
60
+ :host([anchoralignment="bottom-left"]) {
61
+ ::slotted([slot="popover"]) {
62
+ position-anchor: ${this.anchorName};
63
+ top: anchor(${this.anchorName} bottom);
64
+ left: anchor(${this.anchorName} left);
65
+ }
66
+ }
67
+ :host([anchoralignment="bottom-right"]) {
68
+ ::slotted([slot="popover"]) {
69
+ position-anchor: ${this.anchorName};
70
+ top: anchor(${this.anchorName} bottom);
71
+ right: calc(anchor(${this.anchorName} right) - var(--px-size-icon-xs));
72
+ }
73
+ }
74
+ :host([anchoralignment="top-left"]) {
75
+ ::slotted([slot="popover"]) {
76
+ position-anchor: ${this.anchorName};
77
+ bottom: calc( var(--px-padding-s-mobile) + anchor(${this.anchorName} top));
78
+ left: anchor(${this.anchorName} left);
79
+ }
80
+ }
81
+ :host([anchoralignment="top-right"]) {
82
+ ::slotted([slot="popover"]) {
83
+ position-anchor: ${this.anchorName};
84
+ bottom: calc( var(--px-padding-s-mobile) + anchor(${this.anchorName} top));
85
+ right: anchor(${this.anchorName} right);
86
+ }
87
+ }`;
88
+ }
89
+ static get observedAttributes() {
90
+ return [
91
+ ...super.observedAttributes,
92
+ "id",
93
+ "anchoralignment",
94
+ "use-polyfill",
95
+ "manual-toggle"
96
+ ];
97
+ }
98
+ connectedCallback() {
99
+ this.getAttribute("id") || this.setAttribute(
100
+ "id",
101
+ `px-dropdown-${Math.random().toString(36).substring(2, 15)}`
102
+ ), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", D), ae(
103
+ this.$trigger,
104
+ this.$popoverElement,
105
+ this.anchorAlignment,
106
+ getComputedStyle(this),
107
+ this.usePolyfill
108
+ );
109
+ }
110
+ attributeChangedCallback(t, i, r) {
111
+ var o;
112
+ if (i !== r)
113
+ switch (t) {
114
+ case "id":
115
+ this.initPopover();
116
+ break;
117
+ case "use-polyfill":
118
+ ae(
119
+ this.$trigger,
120
+ this.$popoverElement,
121
+ this.anchorAlignment,
122
+ getComputedStyle(this),
123
+ this.usePolyfill
124
+ );
125
+ break;
126
+ case "manual-toggle":
127
+ r != null && ((o = this.$trigger) == null || o.removeAttribute("aria-expanded"));
128
+ break;
129
+ default:
130
+ super.attributeChangedCallback(t, i, r);
131
+ break;
132
+ }
133
+ }
134
+ initPopover() {
135
+ this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.getAttribute("id")), this.hasAttribute("manual-toggle") || this.$trigger.setAttribute("aria-expanded", "false"), this.$popoverElement.setAttribute("id", this.popoverId), this.$popoverElement.setAttribute("popover", ""), this.$style.innerHTML = this.css, u(this, C, pe).call(this), u(this, C, de).call(this));
136
+ }
137
+ get popoverId() {
138
+ return `${this.getAttribute("id")}-popover`;
139
+ }
140
+ get anchorName() {
141
+ return `--${this.getAttribute("id")}-anchor`;
142
+ }
143
+ get $style() {
144
+ return this.shadowRoot.querySelector("style");
145
+ }
146
+ get $trigger() {
147
+ return this.querySelector('[slot="trigger"]');
148
+ }
149
+ get $popoverElement() {
150
+ return this.querySelector('[slot="popover"]');
151
+ }
152
+ get anchorAlignment() {
153
+ return this.getAttribute("anchoralignment") || D;
154
+ }
155
+ set anchorAlignment(t) {
156
+ qe.includes(t) ? this.setAttribute("anchoralignment", t) : (p(
157
+ `Invalid anchor alignment value: ${t}. Using default ${D}.`
158
+ ), this.setAttribute("anchoralignment", D));
159
+ }
160
+ get usePolyfill() {
161
+ return this.hasAttribute("use-polyfill");
162
+ }
163
+ set usePolyfill(t) {
164
+ t ? this.setAttribute("use-polyfill", "") : this.removeAttribute("use-polyfill");
165
+ }
166
+ get manualToggle() {
167
+ return this.hasAttribute("manual-toggle");
168
+ }
169
+ set manualToggle(t) {
170
+ t ? this.setAttribute("manual-toggle", "") : this.removeAttribute("manual-toggle");
171
+ }
172
+ }
173
+ C = new WeakSet(), pe = function() {
174
+ this.isAboutToClose = !1, this.manualToggle || this.$trigger.removeEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.removeEventListener(
175
+ "beforetoggle",
176
+ a(this, k)
177
+ ), this.$popoverElement.removeEventListener("toggle", a(this, w));
178
+ }, k = new WeakMap(), w = new WeakMap(), /**
179
+ * Handles the manual display of the popover when the trigger is clicked.
180
+ * This is necessary for cases where the trigger is not a button or input element.
181
+ * This method adds event listeners to the trigger element to toggle the popover.
182
+ * It also manages the state of whether the popover is about to close or not to avoid
183
+ * race conditions when the popover is toggled and the trigger click event is fired.
184
+ */
185
+ de = function() {
186
+ this.$trigger && (this.manualToggle || this.$trigger.addEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.addEventListener("beforetoggle", a(this, k)), this.$popoverElement.addEventListener("toggle", a(this, w)));
187
+ };
188
+ customElements.get("px-dropdown") || customElements.define("px-dropdown", Oe);
189
+ const Ne = `:host{display:block;--icon-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E");--icon-success: url("data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E");--icon-search: url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel: 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 d='M0.243245 0.243088C0.567528 -0.0810742 1.09324 -0.0810226 1.41746 0.243203L7.71429 6.54016L14.0111 0.243203C14.3353 -0.0810226 14.861 -0.0810742 15.1853 0.243088C15.5096 0.567249 15.5097 1.09287 15.1854 1.4171L8.88839 7.71429L15.1854 14.0115C15.5097 14.3357 15.5096 14.8613 15.1853 15.1855C14.861 15.5096 14.3353 15.5096 14.0111 15.1854L7.71429 8.88841L1.41746 15.1854C1.09324 15.5096 0.567528 15.5096 0.243245 15.1855C-0.0810368 14.8613 -0.0810884 14.3357 0.24313 14.0115L6.54019 7.71429L0.24313 1.4171C-0.0810884 1.09287 -0.0810368 0.567249 0.243245 0.243088Z' fill='%235C2D91'/%3E%3C/svg%3E");--icon-calendar: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select: url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width: 1em;--cancel-icon-height: 1em;--search-icon-datalist-width: 2em;--search-icon-focus-width: var(--search-icon-datalist-width)}label{all:unset;font-size:var(--px-font-size-base);line-height:var(--px-line-height-ratio-l)}input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container{margin:0;outline:0;vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile)) var(--px-padding-xs-mobile) var(--px-padding-s-mobile);height:var(--px-size-l)!important;background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0 var(--px-size-border-m) inset;border:none;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);line-height:var(--px-font-line-height-m);text-align:left;box-sizing:border-box}input:not([type=file]).extended,textarea.extended,select.extended,:host([auto-complete]) input.extended,#input-file-container.extended{width:100%}input:not([type=file]):hover,input:not([type=file]).error:hover,input:not([type=file]).success:hover,textarea:hover,textarea.error:hover,textarea.success:hover,select:hover,select.error:hover,select.success:hover,:host([auto-complete]) input:hover,:host([auto-complete]) input.error:hover,:host([auto-complete]) input.success:hover,#input-file-container:hover,#input-file-container.error:hover,#input-file-container.success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0 var(--px-size-border-l) inset;background-color:var(--px-color-background-state-hover-bordered-default)}input:not([type=file]):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),textarea:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),select:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),:host([auto-complete]) input:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),#input-file-container:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}input:not([type=file]):active,textarea:active,select:active,:host([auto-complete]) input:active,#input-file-container:active{box-shadow:var(--px-color-border-state-active-default) 0 0 0 var(--px-size-border-m) inset;background-color:var(--px-color-background-container-default-default);outline:none}input:not([type=file]):disabled,input:not([type=file]):read-only:not(:is(select),#input-file-container),textarea:disabled,textarea:read-only:not(:is(select),#input-file-container),select:disabled,select:read-only:not(:is(select),#input-file-container),:host([auto-complete]) input:disabled,:host([auto-complete]) input:read-only:not(:is(select),#input-file-container),#input-file-container:disabled,#input-file-container:read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0 0 inset;background:transparent;padding:0;font-weight:var(--px-font-weight-title);text-align:left}input:not([type=file]).error,textarea.error,select.error,:host([auto-complete]) input.error,#input-file-container.error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0 var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}input:not([type=file]).success,textarea.success,select.success,:host([auto-complete]) input.success,#input-file-container.success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0 var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}input:not([type=file])[type=search].success,input:not([type=file])[type=search].error,input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,input:not([type=file])#input-file-container.success,input:not([type=file])#input-file-container.error,textarea[type=search].success,textarea[type=search].error,textarea:is(select).success,textarea:is(select).error,textarea#input-file-container.success,textarea#input-file-container.error,select[type=search].success,select[type=search].error,select:is(select).success,select:is(select).error,select#input-file-container.success,select#input-file-container.error,:host([auto-complete]) input[type=search].success,:host([auto-complete]) input[type=search].error,:host([auto-complete]) input:is(select).success,:host([auto-complete]) input:is(select).error,:host([auto-complete]) input#input-file-container.success,:host([auto-complete]) input#input-file-container.error,#input-file-container[type=search].success,#input-file-container[type=search].error,#input-file-container:is(select).success,#input-file-container:is(select).error,#input-file-container#input-file-container.success,#input-file-container#input-file-container.error{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)),center right var(--px-padding-s-mobile)}input:not([type=file])[type=time].success,textarea[type=time].success,select[type=time].success,:host([auto-complete]) input[type=time].success,#input-file-container[type=time].success{background-image:var(--icon-success)}input:not([type=file])[type=time].error,textarea[type=time].error,select[type=time].error,:host([auto-complete]) input[type=time].error,#input-file-container[type=time].error{background-image:var(--icon-error)}input:not([type=file])[type=date],input:not([type=file])[type=datetime-local],input:not([type=file])[type=month],input:not([type=file])[type=week],input:not([type=file])[type=time],textarea[type=date],textarea[type=datetime-local],textarea[type=month],textarea[type=week],textarea[type=time],select[type=date],select[type=datetime-local],select[type=month],select[type=week],select[type=time],:host([auto-complete]) input[type=date],:host([auto-complete]) input[type=datetime-local],:host([auto-complete]) input[type=month],:host([auto-complete]) input[type=week],:host([auto-complete]) input[type=time],#input-file-container[type=date],#input-file-container[type=datetime-local],#input-file-container[type=month],#input-file-container[type=week],#input-file-container[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}input:not([type=file])[type=date]::-webkit-calendar-picker-indicator,input:not([type=file])[type=datetime-local]::-webkit-calendar-picker-indicator,input:not([type=file])[type=month]::-webkit-calendar-picker-indicator,input:not([type=file])[type=week]::-webkit-calendar-picker-indicator,input:not([type=file])[type=time]::-webkit-calendar-picker-indicator,textarea[type=date]::-webkit-calendar-picker-indicator,textarea[type=datetime-local]::-webkit-calendar-picker-indicator,textarea[type=month]::-webkit-calendar-picker-indicator,textarea[type=week]::-webkit-calendar-picker-indicator,textarea[type=time]::-webkit-calendar-picker-indicator,select[type=date]::-webkit-calendar-picker-indicator,select[type=datetime-local]::-webkit-calendar-picker-indicator,select[type=month]::-webkit-calendar-picker-indicator,select[type=week]::-webkit-calendar-picker-indicator,select[type=time]::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=date]::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=datetime-local]::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=month]::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=week]::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=time]::-webkit-calendar-picker-indicator,#input-file-container[type=date]::-webkit-calendar-picker-indicator,#input-file-container[type=datetime-local]::-webkit-calendar-picker-indicator,#input-file-container[type=month]::-webkit-calendar-picker-indicator,#input-file-container[type=week]::-webkit-calendar-picker-indicator,#input-file-container[type=time]::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-size-icon-s)) * -1)}input:not([type=file])[type=date].error,input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].error,input:not([type=file])[type=month].success,input:not([type=file])[type=week].error,input:not([type=file])[type=week].success,input:not([type=file])[type=time].error,input:not([type=file])[type=time].success,textarea[type=date].error,textarea[type=date].success,textarea[type=datetime-local].error,textarea[type=datetime-local].success,textarea[type=month].error,textarea[type=month].success,textarea[type=week].error,textarea[type=week].success,textarea[type=time].error,textarea[type=time].success,select[type=date].error,select[type=date].success,select[type=datetime-local].error,select[type=datetime-local].success,select[type=month].error,select[type=month].success,select[type=week].error,select[type=week].success,select[type=time].error,select[type=time].success,:host([auto-complete]) input[type=date].error,:host([auto-complete]) input[type=date].success,:host([auto-complete]) input[type=datetime-local].error,:host([auto-complete]) input[type=datetime-local].success,:host([auto-complete]) input[type=month].error,:host([auto-complete]) input[type=month].success,:host([auto-complete]) input[type=week].error,:host([auto-complete]) input[type=week].success,:host([auto-complete]) input[type=time].error,:host([auto-complete]) input[type=time].success,#input-file-container[type=date].error,#input-file-container[type=date].success,#input-file-container[type=datetime-local].error,#input-file-container[type=datetime-local].success,#input-file-container[type=month].error,#input-file-container[type=month].success,#input-file-container[type=week].error,#input-file-container[type=week].success,#input-file-container[type=time].error,#input-file-container[type=time].success{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].success,input:not([type=file])[type=week].success,input:not([type=file])[type=time].success,textarea[type=date].success,textarea[type=datetime-local].success,textarea[type=month].success,textarea[type=week].success,textarea[type=time].success,select[type=date].success,select[type=datetime-local].success,select[type=month].success,select[type=week].success,select[type=time].success,:host([auto-complete]) input[type=date].success,:host([auto-complete]) input[type=datetime-local].success,:host([auto-complete]) input[type=month].success,:host([auto-complete]) input[type=week].success,:host([auto-complete]) input[type=time].success,#input-file-container[type=date].success,#input-file-container[type=datetime-local].success,#input-file-container[type=month].success,#input-file-container[type=week].success,#input-file-container[type=time].success{background-image:var(--icon-success)}input:not([type=file])[type=date].error,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=month].error,input:not([type=file])[type=week].error,input:not([type=file])[type=time].error,textarea[type=date].error,textarea[type=datetime-local].error,textarea[type=month].error,textarea[type=week].error,textarea[type=time].error,select[type=date].error,select[type=datetime-local].error,select[type=month].error,select[type=week].error,select[type=time].error,:host([auto-complete]) input[type=date].error,:host([auto-complete]) input[type=datetime-local].error,:host([auto-complete]) input[type=month].error,:host([auto-complete]) input[type=week].error,:host([auto-complete]) input[type=time].error,#input-file-container[type=date].error,#input-file-container[type=datetime-local].error,#input-file-container[type=month].error,#input-file-container[type=week].error,#input-file-container[type=time].error{background-image:var(--icon-error)}input:not([type=file])[type=search],textarea[type=search],select[type=search],:host([auto-complete]) input[type=search],#input-file-container[type=search]{background-image:var(--icon-search);padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}input:not([type=file])[type=search]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search]:hover::-webkit-search-cancel-button,textarea[type=search]:focus-visible::-webkit-search-cancel-button,textarea[type=search]:hover::-webkit-search-cancel-button,select[type=search]:focus-visible::-webkit-search-cancel-button,select[type=search]:hover::-webkit-search-cancel-button,:host([auto-complete]) input[type=search]:focus-visible::-webkit-search-cancel-button,:host([auto-complete]) input[type=search]:hover::-webkit-search-cancel-button,#input-file-container[type=search]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search]:hover::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);background-repeat:no-repeat;margin-right:calc((var(--px-padding-s-mobile) + var(--px-size-icon-s)) * -1);margin-left:var(--px-spacing-s-mobile)}input:not([type=file])[type=search][list=suggestions],textarea[type=search][list=suggestions],select[type=search][list=suggestions],:host([auto-complete]) input[type=search][list=suggestions],#input-file-container[type=search][list=suggestions]{background-position:center right var(--search-icon-datalist-width)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,:host([auto-complete]) input[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:hover::-webkit-search-cancel-button,select[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,select[type=search][list=suggestions]:hover::-webkit-search-cancel-button,:host([auto-complete]) input[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,:host([auto-complete]) input[type=search][list=suggestions]:hover::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:0;margin-right:calc(var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}input:not([type=file])[type=search][list=suggestions]:focus-visible,input:not([type=file])[type=search][list=suggestions]:hover,textarea[type=search][list=suggestions]:focus-visible,textarea[type=search][list=suggestions]:hover,select[type=search][list=suggestions]:focus-visible,select[type=search][list=suggestions]:hover,:host([auto-complete]) input[type=search][list=suggestions]:focus-visible,:host([auto-complete]) input[type=search][list=suggestions]:hover,#input-file-container[type=search][list=suggestions]:focus-visible,#input-file-container[type=search][list=suggestions]:hover{background-position:center right var(--search-icon-focus-width)}input:not([type=file])[type=search].success:hover,input:not([type=file])[type=search].success:focus-visible,input:not([type=file])[type=search].error:hover,input:not([type=file])[type=search].error:focus-visible,textarea[type=search].success:hover,textarea[type=search].success:focus-visible,textarea[type=search].error:hover,textarea[type=search].error:focus-visible,select[type=search].success:hover,select[type=search].success:focus-visible,select[type=search].error:hover,select[type=search].error:focus-visible,:host([auto-complete]) input[type=search].success:hover,:host([auto-complete]) input[type=search].success:focus-visible,:host([auto-complete]) input[type=search].error:hover,:host([auto-complete]) input[type=search].error:focus-visible,#input-file-container[type=search].success:hover,#input-file-container[type=search].success:focus-visible,#input-file-container[type=search].error:hover,#input-file-container[type=search].error:focus-visible{background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-search)}input:not([type=file])[type=search].success,textarea[type=search].success,select[type=search].success,:host([auto-complete]) input[type=search].success,#input-file-container[type=search].success{background-image:var(--icon-success),var(--icon-search)}input:not([type=file])[type=search].error,textarea[type=search].error,select[type=search].error,:host([auto-complete]) input[type=search].error,#input-file-container[type=search].error{background-image:var(--icon-error),var(--icon-search)}input:not([type=file]):is(select),textarea:is(select),select:is(select),:host([auto-complete]) input:is(select),#input-file-container:is(select){width:100%;text-overflow:ellipsis;background-image:var(--icon-select);-webkit-appearance:none;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s))}input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,textarea:is(select).success,textarea:is(select).error,select:is(select).success,select:is(select).error,:host([auto-complete]) input:is(select).success,:host([auto-complete]) input:is(select).error,#input-file-container:is(select).success,#input-file-container:is(select).error{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}input:not([type=file]):is(select).success,textarea:is(select).success,select:is(select).success,:host([auto-complete]) input:is(select).success,#input-file-container:is(select).success{background-image:var(--icon-success),var(--icon-select)}input:not([type=file]):is(select).error,textarea:is(select).error,select:is(select).error,:host([auto-complete]) input:is(select).error,#input-file-container:is(select).error{background-image:var(--icon-error),var(--icon-select)}input:not([type=file]):is(textarea),textarea:is(textarea),select:is(textarea),:host([auto-complete]) input:is(textarea),#input-file-container:is(textarea){height:auto!important;flex-grow:0}input:not([type=file]):is(textarea).success,input:not([type=file]):is(textarea).error,textarea:is(textarea).success,textarea:is(textarea).error,select:is(textarea).success,select:is(textarea).error,:host([auto-complete]) input:is(textarea).success,:host([auto-complete]) input:is(textarea).error,#input-file-container:is(textarea).success,#input-file-container:is(textarea).error{background-position:top .5rem right 1rem}input:not([type=file])#input-file-container,textarea#input-file-container,select#input-file-container,:host([auto-complete]) input#input-file-container,#input-file-container#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-upload);display:flex;align-items:center;max-width:100%}input:not([type=file])#input-file-container span,textarea#input-file-container span,select#input-file-container span,:host([auto-complete]) input#input-file-container span,#input-file-container#input-file-container span{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}input:not([type=file])#input-file-container.success,textarea#input-file-container.success,select#input-file-container.success,:host([auto-complete]) input#input-file-container.success,#input-file-container#input-file-container.success{background-image:var(--icon-success),var(--icon-upload)}input:not([type=file])#input-file-container.error,textarea#input-file-container.error,select#input-file-container.error,:host([auto-complete]) input#input-file-container.error,#input-file-container#input-file-container.error{background-image:var(--icon-error),var(--icon-upload)}:host([auto-complete]) input{--autocomplete-search-icon-width: calc( 2 * var(--px-spacing-xs-mobile) + 2 * var(--px-padding-xs-mobile) + var(--px-size-icon-s) );background-image:var(--icon-search);padding-right:var(--autocomplete-search-icon-width);background-position:center right 1rem}:host([auto-complete]) input.success{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ) );background-image:var(--icon-success),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)),center right var(--px-padding-s-mobile)}:host([auto-complete]) input.error{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ) );background-image:var(--icon-error),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)),center right var(--px-padding-s-mobile)}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);text-align:left;color:var(--px-color-text-neutral-default)}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f;font-size:var(--px-text-size-label-s-mobile)}#container{display:inline-flex;flex-direction:column;gap:var(--px-spacing-xs-mobile)}#container:has(#input-file-container){max-width:100%}:host([extended]) #container{width:100%}#label-helper{display:flex;flex-direction:column;gap:var(--px-spacing-2xs-mobile)}input[type=file]{-webkit-appearance:none;opacity:0;height:0;width:0}@media screen and (max-width: 47.938rem){input:not([type=file]).extended--mobile,textarea.extended--mobile,select.extended--mobile,:host([auto-complete]) input.extended--mobile,#input-file-container.extended--mobile{width:100%}:host([extended--mobile]) #container{width:100%}}@media screen and (min-width: 48rem) and (max-width: 64rem){input:not([type=file]).extended--tablet,textarea.extended--tablet,select.extended--tablet,:host([auto-complete]) input.extended--tablet,#input-file-container.extended--tablet{width:100%}:host([extended--tablet]) #container{width:100%}}@media screen and (min-width: 48rem){:host([auto-complete]) input{--autocomplete-search-icon-width: calc( 2 * var(--px-spacing-xs-tablet) + 2 * var(--px-padding-xs-tablet) + var(--px-size-icon-s) )}:host([auto-complete]) input.success{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ) );background-image:var(--icon-success),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)),center right var(--px-padding-s-tablet)}:host([auto-complete]) input.error{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ) );background-image:var(--icon-error),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)),center right var(--px-padding-s-tablet)}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-tablet);padding:var(--px-padding-xs-tablet) calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet)) var(--px-padding-xs-tablet) var(--px-padding-s-tablet);font-size:var(--px-text-size-label-l-tablet);background-position:center right var(--px-padding-s-tablet)}input:not([type=file]):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),textarea:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),select:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),#input-file-container:focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}input:not([type=file])[type=search].success,input:not([type=file])[type=search].error,input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,input:not([type=file])#input-file-container.success,input:not([type=file])#input-file-container.error,textarea[type=search].success,textarea[type=search].error,textarea:is(select).success,textarea:is(select).error,textarea#input-file-container.success,textarea#input-file-container.error,select[type=search].success,select[type=search].error,select:is(select).success,select:is(select).error,select#input-file-container.success,select#input-file-container.error,#input-file-container[type=search].success,#input-file-container[type=search].error,#input-file-container:is(select).success,#input-file-container:is(select).error,#input-file-container#input-file-container.success,#input-file-container#input-file-container.error{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)),center right var(--px-padding-s-tablet)}input:not([type=file])[type=date],input:not([type=file])[type=datetime-local],input:not([type=file])[type=month],input:not([type=file])[type=week],input:not([type=file])[type=time],textarea[type=date],textarea[type=datetime-local],textarea[type=month],textarea[type=week],textarea[type=time],select[type=date],select[type=datetime-local],select[type=month],select[type=week],select[type=time],#input-file-container[type=date],#input-file-container[type=datetime-local],#input-file-container[type=month],#input-file-container[type=week],#input-file-container[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}input:not([type=file])[type=date]::-webkit-calendar-picker-indicator,input:not([type=file])[type=datetime-local]::-webkit-calendar-picker-indicator,input:not([type=file])[type=month]::-webkit-calendar-picker-indicator,input:not([type=file])[type=week]::-webkit-calendar-picker-indicator,input:not([type=file])[type=time]::-webkit-calendar-picker-indicator,textarea[type=date]::-webkit-calendar-picker-indicator,textarea[type=datetime-local]::-webkit-calendar-picker-indicator,textarea[type=month]::-webkit-calendar-picker-indicator,textarea[type=week]::-webkit-calendar-picker-indicator,textarea[type=time]::-webkit-calendar-picker-indicator,select[type=date]::-webkit-calendar-picker-indicator,select[type=datetime-local]::-webkit-calendar-picker-indicator,select[type=month]::-webkit-calendar-picker-indicator,select[type=week]::-webkit-calendar-picker-indicator,select[type=time]::-webkit-calendar-picker-indicator,#input-file-container[type=date]::-webkit-calendar-picker-indicator,#input-file-container[type=datetime-local]::-webkit-calendar-picker-indicator,#input-file-container[type=month]::-webkit-calendar-picker-indicator,#input-file-container[type=week]::-webkit-calendar-picker-indicator,#input-file-container[type=time]::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-size-icon-s)) * -1)}input:not([type=file])[type=date].error,input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].error,input:not([type=file])[type=month].success,input:not([type=file])[type=week].error,input:not([type=file])[type=week].success,input:not([type=file])[type=time].error,input:not([type=file])[type=time].success,textarea[type=date].error,textarea[type=date].success,textarea[type=datetime-local].error,textarea[type=datetime-local].success,textarea[type=month].error,textarea[type=month].success,textarea[type=week].error,textarea[type=week].success,textarea[type=time].error,textarea[type=time].success,select[type=date].error,select[type=date].success,select[type=datetime-local].error,select[type=datetime-local].success,select[type=month].error,select[type=month].success,select[type=week].error,select[type=week].success,select[type=time].error,select[type=time].success,#input-file-container[type=date].error,#input-file-container[type=date].success,#input-file-container[type=datetime-local].error,#input-file-container[type=datetime-local].success,#input-file-container[type=month].error,#input-file-container[type=month].success,#input-file-container[type=week].error,#input-file-container[type=week].success,#input-file-container[type=time].error,#input-file-container[type=time].success{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}input:not([type=file])[type=search],textarea[type=search],select[type=search],#input-file-container[type=search]{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}input:not([type=file])[type=search]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search]:hover::-webkit-search-cancel-button,textarea[type=search]:focus-visible::-webkit-search-cancel-button,textarea[type=search]:hover::-webkit-search-cancel-button,select[type=search]:focus-visible::-webkit-search-cancel-button,select[type=search]:hover::-webkit-search-cancel-button,#input-file-container[type=search]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search]:hover::-webkit-search-cancel-button{-webkit-appearance:none;margin-right:calc((var(--px-padding-s-tablet) + var(--px-size-icon-s)) * -1);margin-left:var(--px-spacing-s-tablet)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:hover::-webkit-search-cancel-button,select[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,select[type=search][list=suggestions]:hover::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:calc(var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}input:not([type=file])[type=search].success:hover,input:not([type=file])[type=search].success:focus-visible,input:not([type=file])[type=search].error:hover,input:not([type=file])[type=search].error:focus-visible,textarea[type=search].success:hover,textarea[type=search].success:focus-visible,textarea[type=search].error:hover,textarea[type=search].error:focus-visible,select[type=search].success:hover,select[type=search].success:focus-visible,select[type=search].error:hover,select[type=search].error:focus-visible,#input-file-container[type=search].success:hover,#input-file-container[type=search].success:focus-visible,#input-file-container[type=search].error:hover,#input-file-container[type=search].error:focus-visible{background-position:center right var(--px-padding-s-tablet)}input:not([type=file]):is(select),textarea:is(select),select:is(select),#input-file-container:is(select){padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s))}input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,textarea:is(select).success,textarea:is(select).error,select:is(select).success,select:is(select).error,#input-file-container:is(select).success,#input-file-container:is(select).error{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}input:not([type=file])#input-file-container,textarea#input-file-container,select#input-file-container,#input-file-container#input-file-container{background-position:center right var(--px-padding-s-tablet)}slot{font-size:var(--px-text-size-label-m-tablet)}slot[name=helper]{font-size:var(--px-text-size-label-s-tablet)}#container{gap:var(--px-spacing-xs-tablet)}#label-helper{gap:var(--px-spacing-2xs-tablet)}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){input:not([type=file]).extended--laptop,textarea.extended--laptop,select.extended--laptop,:host([auto-complete]) input.extended--laptop,#input-file-container.extended--laptop{width:100%}:host([extended--laptop]) #container{width:100%}}@media screen and (min-width: 64.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width: calc( 2 * var(--px-spacing-xs-laptop) + 2 * var(--px-padding-xs-laptop) + var(--px-size-icon-s) )}:host([auto-complete]) input.success{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ) );background-image:var(--icon-success),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)),center right var(--px-padding-s-laptop)}:host([auto-complete]) input.error{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ) );background-image:var(--icon-error),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)),center right var(--px-padding-s-laptop)}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-laptop);padding:var(--px-padding-xs-laptop) calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop)) var(--px-padding-xs-laptop) var(--px-padding-s-laptop);font-size:var(--px-text-size-label-l-laptop);background-position:center right var(--px-padding-s-laptop)}input:not([type=file]):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),textarea:focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),select:focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),#input-file-container:focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}input:not([type=file])[type=search].success,input:not([type=file])[type=search].error,input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,input:not([type=file])#input-file-container.success,input:not([type=file])#input-file-container.error,textarea[type=search].success,textarea[type=search].error,textarea:is(select).success,textarea:is(select).error,textarea#input-file-container.success,textarea#input-file-container.error,select[type=search].success,select[type=search].error,select:is(select).success,select:is(select).error,select#input-file-container.success,select#input-file-container.error,#input-file-container[type=search].success,#input-file-container[type=search].error,#input-file-container:is(select).success,#input-file-container:is(select).error,#input-file-container#input-file-container.success,#input-file-container#input-file-container.error{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)),center right var(--px-padding-s-laptop)}input:not([type=file])[type=date],input:not([type=file])[type=datetime-local],input:not([type=file])[type=month],input:not([type=file])[type=week],input:not([type=file])[type=time],textarea[type=date],textarea[type=datetime-local],textarea[type=month],textarea[type=week],textarea[type=time],select[type=date],select[type=datetime-local],select[type=month],select[type=week],select[type=time],#input-file-container[type=date],#input-file-container[type=datetime-local],#input-file-container[type=month],#input-file-container[type=week],#input-file-container[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}input:not([type=file])[type=date]::-webkit-calendar-picker-indicator,input:not([type=file])[type=datetime-local]::-webkit-calendar-picker-indicator,input:not([type=file])[type=month]::-webkit-calendar-picker-indicator,input:not([type=file])[type=week]::-webkit-calendar-picker-indicator,input:not([type=file])[type=time]::-webkit-calendar-picker-indicator,textarea[type=date]::-webkit-calendar-picker-indicator,textarea[type=datetime-local]::-webkit-calendar-picker-indicator,textarea[type=month]::-webkit-calendar-picker-indicator,textarea[type=week]::-webkit-calendar-picker-indicator,textarea[type=time]::-webkit-calendar-picker-indicator,select[type=date]::-webkit-calendar-picker-indicator,select[type=datetime-local]::-webkit-calendar-picker-indicator,select[type=month]::-webkit-calendar-picker-indicator,select[type=week]::-webkit-calendar-picker-indicator,select[type=time]::-webkit-calendar-picker-indicator,#input-file-container[type=date]::-webkit-calendar-picker-indicator,#input-file-container[type=datetime-local]::-webkit-calendar-picker-indicator,#input-file-container[type=month]::-webkit-calendar-picker-indicator,#input-file-container[type=week]::-webkit-calendar-picker-indicator,#input-file-container[type=time]::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-size-icon-s)) * -1)}input:not([type=file])[type=date].error,input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].error,input:not([type=file])[type=month].success,input:not([type=file])[type=week].error,input:not([type=file])[type=week].success,input:not([type=file])[type=time].error,input:not([type=file])[type=time].success,textarea[type=date].error,textarea[type=date].success,textarea[type=datetime-local].error,textarea[type=datetime-local].success,textarea[type=month].error,textarea[type=month].success,textarea[type=week].error,textarea[type=week].success,textarea[type=time].error,textarea[type=time].success,select[type=date].error,select[type=date].success,select[type=datetime-local].error,select[type=datetime-local].success,select[type=month].error,select[type=month].success,select[type=week].error,select[type=week].success,select[type=time].error,select[type=time].success,#input-file-container[type=date].error,#input-file-container[type=date].success,#input-file-container[type=datetime-local].error,#input-file-container[type=datetime-local].success,#input-file-container[type=month].error,#input-file-container[type=month].success,#input-file-container[type=week].error,#input-file-container[type=week].success,#input-file-container[type=time].error,#input-file-container[type=time].success{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}input:not([type=file])[type=search],textarea[type=search],select[type=search],#input-file-container[type=search]{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}input:not([type=file])[type=search]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search]:hover::-webkit-search-cancel-button,textarea[type=search]:focus-visible::-webkit-search-cancel-button,textarea[type=search]:hover::-webkit-search-cancel-button,select[type=search]:focus-visible::-webkit-search-cancel-button,select[type=search]:hover::-webkit-search-cancel-button,#input-file-container[type=search]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search]:hover::-webkit-search-cancel-button{-webkit-appearance:none;margin-right:calc((var(--px-padding-s-laptop) + var(--px-size-icon-s)) * -1);margin-left:var(--px-spacing-s-laptop)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:hover::-webkit-search-cancel-button,select[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,select[type=search][list=suggestions]:hover::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:calc(var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}input:not([type=file])[type=search].success:hover,input:not([type=file])[type=search].success:focus-visible,input:not([type=file])[type=search].error:hover,input:not([type=file])[type=search].error:focus-visible,textarea[type=search].success:hover,textarea[type=search].success:focus-visible,textarea[type=search].error:hover,textarea[type=search].error:focus-visible,select[type=search].success:hover,select[type=search].success:focus-visible,select[type=search].error:hover,select[type=search].error:focus-visible,#input-file-container[type=search].success:hover,#input-file-container[type=search].success:focus-visible,#input-file-container[type=search].error:hover,#input-file-container[type=search].error:focus-visible{background-position:center right var(--px-padding-s-laptop)}input:not([type=file]):is(select),textarea:is(select),select:is(select),#input-file-container:is(select){padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s))}input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,textarea:is(select).success,textarea:is(select).error,select:is(select).success,select:is(select).error,#input-file-container:is(select).success,#input-file-container:is(select).error{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}input:not([type=file])#input-file-container,textarea#input-file-container,select#input-file-container,#input-file-container#input-file-container{background-position:center right var(--px-padding-s-laptop)}slot{font-size:var(--px-text-size-label-m-laptop)}slot[name=helper]{font-size:var(--px-text-size-label-s-laptop)}#container{gap:var(--px-spacing-xs-laptop)}#label-helper{gap:var(--px-spacing-2xs-laptop)}}@media screen and (min-width: 90.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width: calc( 2 * var(--px-spacing-xs-desktop) + 2 * var(--px-padding-xs-desktop) + var(--px-size-icon-s) )}:host([auto-complete]) input.success{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ) );background-image:var(--icon-success),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)),center right var(--px-padding-s-laptop)}:host([auto-complete]) input.error{--autocomplete-search-icon-width: calc( 2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ) );background-image:var(--icon-error),var(--icon-search)!important;background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)),center right var(--px-padding-s-laptop)}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop)) var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}input:not([type=file]):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),textarea:focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),select:focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]),#input-file-container:focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}input:not([type=file])[type=search].success,input:not([type=file])[type=search].error,input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,input:not([type=file])#input-file-container.success,input:not([type=file])#input-file-container.error,textarea[type=search].success,textarea[type=search].error,textarea:is(select).success,textarea:is(select).error,textarea#input-file-container.success,textarea#input-file-container.error,select[type=search].success,select[type=search].error,select:is(select).success,select:is(select).error,select#input-file-container.success,select#input-file-container.error,#input-file-container[type=search].success,#input-file-container[type=search].error,#input-file-container:is(select).success,#input-file-container:is(select).error,#input-file-container#input-file-container.success,#input-file-container#input-file-container.error{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop)),center right var(--px-padding-s-desktop)}input:not([type=file])[type=date],input:not([type=file])[type=datetime-local],input:not([type=file])[type=month],input:not([type=file])[type=week],input:not([type=file])[type=time],textarea[type=date],textarea[type=datetime-local],textarea[type=month],textarea[type=week],textarea[type=time],select[type=date],select[type=datetime-local],select[type=month],select[type=week],select[type=time],#input-file-container[type=date],#input-file-container[type=datetime-local],#input-file-container[type=month],#input-file-container[type=week],#input-file-container[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}input:not([type=file])[type=date]::-webkit-calendar-picker-indicator,input:not([type=file])[type=datetime-local]::-webkit-calendar-picker-indicator,input:not([type=file])[type=month]::-webkit-calendar-picker-indicator,input:not([type=file])[type=week]::-webkit-calendar-picker-indicator,input:not([type=file])[type=time]::-webkit-calendar-picker-indicator,textarea[type=date]::-webkit-calendar-picker-indicator,textarea[type=datetime-local]::-webkit-calendar-picker-indicator,textarea[type=month]::-webkit-calendar-picker-indicator,textarea[type=week]::-webkit-calendar-picker-indicator,textarea[type=time]::-webkit-calendar-picker-indicator,select[type=date]::-webkit-calendar-picker-indicator,select[type=datetime-local]::-webkit-calendar-picker-indicator,select[type=month]::-webkit-calendar-picker-indicator,select[type=week]::-webkit-calendar-picker-indicator,select[type=time]::-webkit-calendar-picker-indicator,#input-file-container[type=date]::-webkit-calendar-picker-indicator,#input-file-container[type=datetime-local]::-webkit-calendar-picker-indicator,#input-file-container[type=month]::-webkit-calendar-picker-indicator,#input-file-container[type=week]::-webkit-calendar-picker-indicator,#input-file-container[type=time]::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-size-icon-s)) * -1)}input:not([type=file])[type=date].error,input:not([type=file])[type=date].success,input:not([type=file])[type=datetime-local].error,input:not([type=file])[type=datetime-local].success,input:not([type=file])[type=month].error,input:not([type=file])[type=month].success,input:not([type=file])[type=week].error,input:not([type=file])[type=week].success,input:not([type=file])[type=time].error,input:not([type=file])[type=time].success,textarea[type=date].error,textarea[type=date].success,textarea[type=datetime-local].error,textarea[type=datetime-local].success,textarea[type=month].error,textarea[type=month].success,textarea[type=week].error,textarea[type=week].success,textarea[type=time].error,textarea[type=time].success,select[type=date].error,select[type=date].success,select[type=datetime-local].error,select[type=datetime-local].success,select[type=month].error,select[type=month].success,select[type=week].error,select[type=week].success,select[type=time].error,select[type=time].success,#input-file-container[type=date].error,#input-file-container[type=date].success,#input-file-container[type=datetime-local].error,#input-file-container[type=datetime-local].success,#input-file-container[type=month].error,#input-file-container[type=month].success,#input-file-container[type=week].error,#input-file-container[type=week].success,#input-file-container[type=time].error,#input-file-container[type=time].success{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}input:not([type=file])[type=search],textarea[type=search],select[type=search],#input-file-container[type=search]{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}input:not([type=file])[type=search]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search]:hover::-webkit-search-cancel-button,textarea[type=search]:focus-visible::-webkit-search-cancel-button,textarea[type=search]:hover::-webkit-search-cancel-button,select[type=search]:focus-visible::-webkit-search-cancel-button,select[type=search]:hover::-webkit-search-cancel-button,#input-file-container[type=search]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search]:hover::-webkit-search-cancel-button{-webkit-appearance:none;margin-right:calc((var(--px-padding-s-desktop) + var(--px-size-icon-s)) * -1);margin-left:var(--px-spacing-s-desktop)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,textarea[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,select[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator,#input-file-container[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}input:not([type=file])[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,input:not([type=file])[type=search][list=suggestions]:hover::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,textarea[type=search][list=suggestions]:hover::-webkit-search-cancel-button,select[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,select[type=search][list=suggestions]:hover::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button,#input-file-container[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:calc(var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}input:not([type=file])[type=search].success:hover,input:not([type=file])[type=search].success:focus-visible,input:not([type=file])[type=search].error:hover,input:not([type=file])[type=search].error:focus-visible,textarea[type=search].success:hover,textarea[type=search].success:focus-visible,textarea[type=search].error:hover,textarea[type=search].error:focus-visible,select[type=search].success:hover,select[type=search].success:focus-visible,select[type=search].error:hover,select[type=search].error:focus-visible,#input-file-container[type=search].success:hover,#input-file-container[type=search].success:focus-visible,#input-file-container[type=search].error:hover,#input-file-container[type=search].error:focus-visible{background-position:center right var(--px-padding-s-desktop)}input:not([type=file]):is(select),textarea:is(select),select:is(select),#input-file-container:is(select){padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s))}input:not([type=file]):is(select).success,input:not([type=file]):is(select).error,textarea:is(select).success,textarea:is(select).error,select:is(select).success,select:is(select).error,#input-file-container:is(select).success,#input-file-container:is(select).error{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}input:not([type=file])#input-file-container,textarea#input-file-container,select#input-file-container,#input-file-container#input-file-container{background-position:center right var(--px-padding-s-desktop)}input:not([type=file]).extended--desktop,textarea.extended--desktop,select.extended--desktop,#input-file-container.extended--desktop{width:100%}:host([extended--desktop]) #container{width:100%}slot{font-size:var(--px-text-size-label-m-desktop)}slot[name=helper]{font-size:var(--px-text-size-label-s-desktop)}#container{gap:var(--px-spacing-xs-laptop)}#label-helper{gap:var(--px-spacing-2xs-desktop)}}`, ue = new CSSStyleSheet();
190
+ ue.replaceSync(Ne);
191
+ class H extends ne {
192
+ constructor() {
193
+ var e;
194
+ super(ue), this.containerTemplate = () => `
195
+ <div id="container">
196
+ <div id="label-helper">
197
+ <label><slot name="label"></slot></label>
198
+ <slot name="helper"></slot>
199
+ </div>
200
+ <slot name="status-text"></slot>
201
+ ${this.template()}
202
+ </div>
203
+ `, this.shadowRoot.innerHTML = this.containerTemplate(), this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this);
204
+ }
205
+ static get observedAttributes() {
206
+ return [
207
+ ...super.observedAttributes,
208
+ "state",
209
+ "extended",
210
+ "extended--mobile",
211
+ "extended--tablet",
212
+ "extended--laptop",
213
+ "extended--desktop"
214
+ ];
215
+ }
216
+ attributeChangedCallback(e, t, i) {
217
+ e === "state" && t !== i ? this.stateChangeCallback(t, i) : (e === "extended" || e === "extended--mobile" || e === "extended--tablet" || e === "extended--laptop" || e === "extended--desktop") && t !== i ? this.$el.classList.toggle(e) : super.attributeChangedCallback(e, t, i);
218
+ }
219
+ stateChangeCallback(e, t) {
220
+ this.$el.classList.remove(e), this.$el.classList.toggle(t), t === "error" ? (this.$statusTextSlot.classList.toggle("error"), this.$statusTextSlot.classList.remove("success")) : t === "success" ? (this.$statusTextSlot.classList.remove("error"), this.$statusTextSlot.classList.toggle("success")) : (this.$el.removeAttribute("aria-invalid"), this.$statusTextSlot.classList.remove("error", "success"), this.$labelSlot.classList.remove("error", "success"), this.$el.style.backgroundImage = ""), this.swapLabels(e, t), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(
221
+ this.$slotStatusText,
222
+ this.$statusTextSlot,
223
+ "status-text"
224
+ );
225
+ }
226
+ swapLabels(e, t) {
227
+ const i = this.shadowRoot.querySelector("#container");
228
+ e !== "error" && t === "error" ? i.insertBefore(this.$statusTextSlot, this.$labelHelper) : e === "error" && t !== "error" && i.insertBefore(this.$labelHelper, this.$statusTextSlot);
229
+ }
230
+ formData() {
231
+ if (this.$el.name) {
232
+ const e = new FormData();
233
+ return e.append(this.getAttribute("name"), this.$el.value), e;
234
+ }
235
+ }
236
+ connectedCallback() {
237
+ ["change"].forEach((e) => {
238
+ this.$el.addEventListener(e, () => {
239
+ var t;
240
+ (t = this.internals) == null || t.setFormValue(this.formData()), this.dispatchEvent(
241
+ new CustomEvent(e, { bubbles: !0, composed: !0 })
242
+ );
243
+ });
244
+ }), this.setupForId(), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(
245
+ this.$slotStatusText,
246
+ this.$statusTextSlot,
247
+ "status-text"
248
+ );
249
+ }
250
+ // Form-associated callbacks
251
+ static get formAssociated() {
252
+ return !0;
253
+ }
254
+ // Set default behavior when the element is attached to a form
255
+ formResetCallback() {
256
+ this.$el.value = "";
257
+ }
258
+ formStateRestoreCallback(e) {
259
+ this.$el.value = e;
260
+ }
261
+ setupForId() {
262
+ const e = Math.random().toString(36).substr(2, 9);
263
+ this.$el.setAttribute("id", e), this.$label && this.$label.setAttribute("for", e);
264
+ }
265
+ setupAriaDescribedBy(e, t, i) {
266
+ if (e.length > 0 && this.$el.hasAttribute("id")) {
267
+ t.setAttribute("id", `${this.$el.id}-${i}`);
268
+ let r = this.$el.getAttribute("aria-describedby");
269
+ r ? r += ` ${this.$el.id}-${i}` : r = `${this.$el.id}-${i}`, this.$el.setAttribute("aria-describedby", r);
270
+ }
271
+ }
272
+ get state() {
273
+ return this.getAttribute("state");
274
+ }
275
+ set state(e) {
276
+ this.setAttribute("state", e);
277
+ }
278
+ get extended() {
279
+ return this.hasAttribute("extended");
280
+ }
281
+ set extended(e) {
282
+ e ? this.setAttribute("extended", "") : this.removeAttribute("extended");
283
+ }
284
+ get extendedMobile() {
285
+ return this.hasAttribute("extended--mobile");
286
+ }
287
+ set extendedMobile(e) {
288
+ e ? this.setAttribute("extended--mobile", "") : this.removeAttribute("extended--mobile");
289
+ }
290
+ get extendedTablet() {
291
+ return this.hasAttribute("extended--tablet");
292
+ }
293
+ set extendedTablet(e) {
294
+ e ? this.setAttribute("extended--tablet", "") : this.removeAttribute("extended--tablet");
295
+ }
296
+ get extendedLaptop() {
297
+ return this.hasAttribute("extended--laptop");
298
+ }
299
+ set extendedLaptop(e) {
300
+ e ? this.setAttribute("extended--laptop", "") : this.removeAttribute("extended--laptop");
301
+ }
302
+ get extendedDesktop() {
303
+ return this.hasAttribute("extended--desktop");
304
+ }
305
+ set extendedDesktop(e) {
306
+ e ? this.setAttribute("extended--desktop", "") : this.removeAttribute("extended--desktop");
307
+ }
308
+ get $labelSlot() {
309
+ return this.shadowRoot.querySelector('slot[name="label"]');
310
+ }
311
+ get $helperSlot() {
312
+ return this.shadowRoot.querySelector('slot[name="helper"]');
313
+ }
314
+ get $statusTextSlot() {
315
+ return this.shadowRoot.querySelector('slot[name="status-text"]');
316
+ }
317
+ get $label() {
318
+ return this.shadowRoot.querySelector("label");
319
+ }
320
+ get $labelHelper() {
321
+ return this.shadowRoot.querySelector("#label-helper");
322
+ }
323
+ get $slotHelper() {
324
+ return this.querySelectorAll('[slot="helper"]');
325
+ }
326
+ get $slotStatusText() {
327
+ return this.querySelectorAll('[slot="status-text"]');
328
+ }
329
+ }
330
+ const K = class K extends H {
331
+ constructor() {
332
+ super();
333
+ }
334
+ connectedCallback() {
335
+ super.connectedCallback(), this.$el.type === "search" && (this.$el.setAttribute("list", "suggestions"), this.syncDataList(), this.observer = new MutationObserver(() => {
336
+ this.syncDataList();
337
+ }), this.observer.observe(this, {
338
+ childList: !0,
339
+ subtree: !0
340
+ })), this.type === "search" && navigator.userAgent.includes("Chrome") && (this.$el.style.setProperty("--search-icon-focus-width", "2.5rem"), this.$el.style.setProperty("--search-icon-datalist-width", "1rem"));
341
+ }
342
+ syncDataList() {
343
+ var t, i;
344
+ const e = (t = this.$lightSuggestions) == null ? void 0 : t.cloneNode(
345
+ !0
346
+ );
347
+ if (e) {
348
+ if (e.id = "suggestions", this.$shadowSuggestions) {
349
+ this.$shadowSuggestions.replaceWith(e);
350
+ return;
351
+ }
352
+ this.$el.insertAdjacentElement("afterend", e);
353
+ } else
354
+ (i = this.$shadowSuggestions) == null || i.remove();
355
+ }
356
+ disconnectedCallback() {
357
+ var e;
358
+ (e = this.observer) == null || e.disconnect();
359
+ }
360
+ template() {
361
+ return '<div><input type="text" /></div>';
362
+ }
363
+ get $lightSuggestions() {
364
+ return this.querySelector("datalist");
365
+ }
366
+ get $shadowSuggestions() {
367
+ return this.shadowRoot.querySelector("datalist");
368
+ }
369
+ get $container() {
370
+ return this.shadowRoot.querySelector("div");
371
+ }
372
+ };
373
+ K.nativeName = "input";
374
+ let F = K;
375
+ customElements.get("px-input") || customElements.define("px-input", F);
376
+ const _ = class _ extends H {
377
+ constructor() {
378
+ super();
379
+ }
380
+ template() {
381
+ return "<textarea></textarea>";
382
+ }
383
+ };
384
+ _.nativeName = "textarea";
385
+ let q = _;
386
+ customElements.get("px-textarea") || customElements.define("px-textarea", q);
387
+ var E, N;
388
+ const U = class U extends H {
389
+ constructor() {
390
+ super();
391
+ l(this, E);
392
+ }
393
+ template() {
394
+ return "<select></select>";
395
+ }
396
+ connectedCallback() {
397
+ super.connectedCallback(), u(this, E, N).call(this), this.observer = new MutationObserver(() => {
398
+ u(this, E, N).call(this);
399
+ }), this.observer.observe(this, {
400
+ childList: !0,
401
+ subtree: !0
402
+ });
403
+ }
404
+ disconnectedCallback() {
405
+ this.observer.disconnect();
406
+ }
407
+ };
408
+ E = new WeakSet(), N = function() {
409
+ const t = Array.from(this.children).filter((i) => {
410
+ const r = i.tagName.toLowerCase();
411
+ return r === "option" || r === "optgroup";
412
+ });
413
+ this.$el.innerHTML = "", t.length > 0 && t.forEach((i) => {
414
+ const r = i.cloneNode(!0);
415
+ this.$el.appendChild(r);
416
+ });
417
+ }, U.nativeName = "select";
418
+ let O = U;
419
+ customElements.get("px-select") || customElements.define("px-select", O);
420
+ const J = class J extends H {
421
+ constructor() {
422
+ super();
423
+ }
424
+ connectedCallback() {
425
+ super.connectedCallback(), this.addEventListener("click", (e) => {
426
+ e.target === this && this.$el.click();
427
+ }), this.$el.addEventListener("change", () => {
428
+ this.$span.innerText = this.$el.files[0].name;
429
+ });
430
+ }
431
+ template() {
432
+ return '<div id="input-file-container"><span></span><input type="file" /></input>';
433
+ }
434
+ stateChangeCallback(e, t) {
435
+ super.stateChangeCallback(e, t), this.$container.classList.toggle(e), this.$container.classList.toggle(t);
436
+ }
437
+ get $container() {
438
+ return this.shadowRoot.querySelector("#input-file-container");
439
+ }
440
+ get $span() {
441
+ return this.shadowRoot.querySelector("span");
442
+ }
443
+ get $el() {
444
+ return this.shadowRoot.querySelector('input[type="file"]');
445
+ }
446
+ };
447
+ J.nativeName = "input";
448
+ let Z = J;
449
+ customElements.get("px-fileupload") || customElements.define("px-fileupload", Z);
450
+ const he = new CSSStyleSheet();
451
+ he.replaceSync(Ie);
452
+ var A, $, b, be, z, L;
453
+ const Q = class Q extends S {
454
+ constructor() {
455
+ var t;
456
+ super(he);
457
+ l(this, b);
458
+ l(this, A);
459
+ l(this, $);
460
+ l(this, z);
461
+ g(this, A, Math.random().toString(36).substring(2, 15)), this.template = () => `
462
+ <px-dropdown anchoralignment="bottom-left" manual-toggle>
463
+ <px-input slot="trigger" auto-complete>
464
+ <slot name="label" slot="label"></slot>
465
+ <slot name="helper" slot="helper"></slot>
466
+ <slot name="status-text" slot="status-text"></slot>
467
+ </px-input>
468
+ <div class="dropdown-content" slot="popover" role="listbox">
469
+ <slot name="dropdown-content"></slot>
470
+ </div>
471
+ </px-dropdown>`, g(this, $, (i) => {
472
+ if (i.key !== "ArrowDown" && i.key !== "ArrowUp" || this.$input.$el.getAttribute("aria-expanded") !== "true")
473
+ return;
474
+ const r = a(this, b, be);
475
+ if (!r.length)
476
+ return;
477
+ i.preventDefault();
478
+ const o = r.findIndex(
479
+ (c) => c === document.activeElement
480
+ );
481
+ let n;
482
+ i.key === "ArrowDown" ? n = o < r.length - 1 ? o + 1 : 0 : n = o > 0 ? o - 1 : r.length - 1, r[n].focus();
483
+ }), g(this, z, () => {
484
+ var i;
485
+ this.$input.value ? (this.$input.$el.setAttribute("aria-expanded", "true"), this.$dropDownContent.style.width = `${(i = this.$input.shadowRoot.querySelector("input")) == null ? void 0 : i.offsetWidth}px`, this.$dropDown.showPopover()) : (this.$input.$el.setAttribute("aria-expanded", "false"), this.$dropDown.hidePopover(), this.$input.focus()), u(this, b, L).call(this);
486
+ }), this.shadowRoot.innerHTML = this.template(), this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this);
487
+ }
488
+ static get observedAttributes() {
489
+ return [
490
+ ...super.observedAttributes,
491
+ "size",
492
+ "state",
493
+ "extended",
494
+ "extended--mobile",
495
+ "extended--tablet",
496
+ "extended--laptop",
497
+ "extended--desktop"
498
+ ];
499
+ }
500
+ attributeChangedCallback(t, i, r) {
501
+ switch (t) {
502
+ case "size":
503
+ case "state":
504
+ case "extended":
505
+ case "extended--mobile":
506
+ case "extended--tablet":
507
+ case "extended--laptop":
508
+ case "extended--desktop":
509
+ r !== null ? this.$input.setAttribute(t, r) : this.$input.removeAttribute(t);
510
+ break;
511
+ default:
512
+ super.attributeChangedCallback(t, i, r);
513
+ break;
514
+ }
515
+ }
516
+ connectedCallback() {
517
+ var i, r;
518
+ this.$input.addEventListener("input", a(this, z)), this.addEventListener("keydown", a(this, $)), this.$dropDownContent.style.width = `${(i = this.$input.shadowRoot.querySelector("input")) == null ? void 0 : i.offsetWidth}px`, this.$input.$el.setAttribute("role", "combobox"), this.$input.$el.setAttribute("autocomplete", "off"), this.$input.$el.setAttribute("aria-autocomplete", "both"), this.$input.$el.setAttribute("aria-expanded", "false"), this.$input.$el.setAttribute("aria-controls", a(this, A)), this.$dropDownContent.setAttribute("id", a(this, A)), this.$dropDownContent.setAttribute("role", "listbox");
519
+ const t = (r = this.$label) == null ? void 0 : r.getAttribute("id");
520
+ t && this.$dropDownContent.setAttribute("aria-labelledby", t);
521
+ }
522
+ disconnectedCallback() {
523
+ this.$input.removeEventListener("input", a(this, z)), this.removeEventListener("keydown", a(this, $));
524
+ }
525
+ get value() {
526
+ return this.$input.value;
527
+ }
528
+ set value(t) {
529
+ this.$input.value = t, this.$input.$el.setAttribute("aria-expanded", "false"), this.$dropDown.hidePopover(), this.$input.$el.focus(), u(this, b, L).call(this);
530
+ }
531
+ get name() {
532
+ return this.getAttribute("name");
533
+ }
534
+ formResetCallback() {
535
+ this.$input.value = "", u(this, b, L).call(this);
536
+ }
537
+ formStateRestoreCallback(t) {
538
+ this.$input.value = t, u(this, b, L).call(this);
539
+ }
540
+ get $dropDown() {
541
+ return this.shadowRoot.querySelector("px-dropdown");
542
+ }
543
+ get $dropDownContent() {
544
+ return this.shadowRoot.querySelector(".dropdown-content");
545
+ }
546
+ get $input() {
547
+ return this.shadowRoot.querySelector("px-input");
548
+ }
549
+ get $label() {
550
+ return this.querySelector('[slot="label"]');
551
+ }
552
+ };
553
+ A = new WeakMap(), $ = new WeakMap(), b = new WeakSet(), be = function() {
554
+ return Array.from(
555
+ this.querySelectorAll(
556
+ "px-autocomplete-option:not([disabled])"
557
+ )
558
+ );
559
+ }, z = new WeakMap(), L = function() {
560
+ var t;
561
+ if (this.name) {
562
+ const i = new FormData();
563
+ i.append(this.name, this.value), (t = this.internals) == null || t.setFormValue(i);
564
+ }
565
+ }, Q.formAssociated = !0;
566
+ let G = Q;
567
+ customElements.get("px-autocomplete") || customElements.define("px-autocomplete", G);
568
+ class Ze extends HTMLElement {
569
+ constructor() {
570
+ super();
571
+ }
572
+ static get observedAttributes() {
573
+ return ["name", "src", "type", "format"];
574
+ }
575
+ connectedCallback() {
576
+ if (document.querySelectorAll(
577
+ `px-icon-set[name="${this.getAttribute("name")}"]`
578
+ ).length > 1 && (console.warn(
579
+ "Only one <px-icon-set> component is allowed, self removing"
580
+ ), this.remove()), this.getAttribute("type") === "font") {
581
+ const t = document.createElement("style");
582
+ t.setAttribute("type", "text/css"), t.setAttribute("data-name", this.getAttribute("name")), t.textContent = `
583
+ @font-face {
584
+ font-family: 'lavender';
585
+ src:
586
+ url('${this.getAttribute("src")}') format(${this.getAttribute("format")}),
587
+ font-weight: normal;
588
+ font-style: normal;
589
+ font-display: block;
590
+ }
591
+ `, document.head.appendChild(t);
592
+ }
593
+ }
594
+ disconnectedCallback() {
595
+ const e = document.querySelector(
596
+ `style[data-name="${this.getAttribute("name")}"]`
597
+ );
598
+ e && e.remove();
599
+ }
600
+ }
601
+ customElements.get("px-icon-set") || customElements.define("px-icon-set", Ze);
602
+ const Ge = [
603
+ "Brand",
604
+ "Accent",
605
+ "Neutral",
606
+ "Dimmed",
607
+ "PurposeSuccess",
608
+ "PurposeWarning",
609
+ "PurposeError",
610
+ "PurposeUnlimited",
611
+ "PurposePromo",
612
+ "StateHover",
613
+ "StateActive",
614
+ "StateDisabled"
615
+ ], Xe = ["Inherit", ...Ge].map(
616
+ (s) => s.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)
617
+ ), We = ":host{display:inline-flex;flex-direction:column;justify-content:center}svg{font-size:var(--px-size-icon-s);line-height:var(--px-font-line-height-xs);width:1em;height:1em;color:var(--px-color-icon-accent-default)}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", ge = new CSSStyleSheet();
618
+ ge.replaceSync(We);
619
+ var y, h, R;
620
+ class Ye extends S {
621
+ constructor(...t) {
622
+ var i;
623
+ super(...t, ge);
624
+ l(this, y);
625
+ l(this, h);
626
+ l(this, R, () => `<svg aria-hidden="true">
627
+ <use></use>
628
+ </svg>`);
629
+ this.shadowRoot.innerHTML = a(this, R).call(this), g(this, h, (i = this.attachInternals) == null ? void 0 : i.call(this)), a(this, h) && (a(this, h).role = "img");
630
+ }
631
+ static get observedAttributes() {
632
+ return [
633
+ ...super.observedAttributes,
634
+ "name",
635
+ "size",
636
+ "color",
637
+ "aria-label",
638
+ "inverted",
639
+ "from",
640
+ "disabled"
641
+ ];
642
+ }
643
+ attributeChangedCallback(t, i, r) {
644
+ if (i !== r)
645
+ switch (t) {
646
+ case "name":
647
+ this.updateName(i, r);
648
+ break;
649
+ case "size":
650
+ this.updateAttribute(t, i, r, Se);
651
+ break;
652
+ case "color":
653
+ this.updateAttribute(t, i, r, Xe);
654
+ break;
655
+ case "disabled":
656
+ this.color = "state-disabled";
657
+ break;
658
+ case "aria-label":
659
+ if (!a(this, h))
660
+ return;
661
+ r ? (a(this, h).ariaHidden = "false", this.ariaHidden = "false") : (a(this, h).ariaHidden = "true", this.ariaHidden = "true");
662
+ break;
663
+ }
664
+ }
665
+ connectedCallback() {
666
+ this.role = "img";
667
+ const t = document.querySelectorAll("px-icon-set");
668
+ t || console.log("<px-icon-set> component not found");
669
+ for (const i of t) {
670
+ if (!i.getAttribute("name") || !i.getAttribute("src")) {
671
+ console.error("Icon name or src not found");
672
+ continue;
673
+ }
674
+ i.getAttribute("name") === this.from && i.getAttribute("type") !== "font" && (g(this, y, i.getAttribute("src")), this.$el.firstElementChild.setAttribute(
675
+ "href",
676
+ `${a(this, y)}#icon-${this.name}`
677
+ ));
678
+ }
679
+ !this.ariaLabel && a(this, h) && (a(this, h).ariaHidden = "true", this.ariaHidden = "true");
680
+ }
681
+ updateAttribute(t, i, r, o) {
682
+ i !== null && i !== "" && (t === "size" ? this.$el.classList.toggle(`${t}-${i}`) : this.$el.classList.toggle(i)), r !== null && r !== "" && (t === "size" ? this.$el.classList.toggle(`${t}-${r}`) : this.$el.classList.toggle(r)), this.checkName(o, r) || p(
683
+ `${r} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
684
+ );
685
+ }
686
+ updateName(t, i) {
687
+ a(this, y) && this.$el.firstElementChild.setAttribute(
688
+ "href",
689
+ `${a(this, y)}#icon-${i}`
690
+ );
691
+ }
692
+ get $el() {
693
+ return this.shadowRoot.querySelector("svg");
694
+ }
695
+ get name() {
696
+ return this.getAttribute("name");
697
+ }
698
+ set name(t) {
699
+ this.setAttribute("name", t);
700
+ }
701
+ get size() {
702
+ return this.getAttribute("size");
703
+ }
704
+ set size(t) {
705
+ this.setAttribute("size", t);
706
+ }
707
+ get color() {
708
+ return this.getAttribute("color");
709
+ }
710
+ set color(t) {
711
+ this.setAttribute("color", t);
712
+ }
713
+ get arialabel() {
714
+ return this.getAttribute("aria-label");
715
+ }
716
+ set arialabel(t) {
717
+ this.setAttribute("aria-label", t);
718
+ }
719
+ get inverted() {
720
+ return this.getAttribute("inverted");
721
+ }
722
+ set inverted(t) {
723
+ this.setAttribute("inverted", t);
724
+ }
725
+ get from() {
726
+ return this.getAttribute("from");
727
+ }
728
+ set from(t) {
729
+ this.setAttribute("from", t);
730
+ }
731
+ get disabled() {
732
+ return this.getAttribute("disabled");
733
+ }
734
+ set disabled(t) {
735
+ this.setAttribute("disabled", t);
736
+ }
737
+ }
738
+ y = new WeakMap(), h = new WeakMap(), R = new WeakMap();
739
+ customElements.get("px-icon") || customElements.define("px-icon", Ye);
740
+ const Ke = ':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{display:grid;grid-template-rows:subgrid;grid-row:span var(--subgrid-rows)}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (max-width: 47.938rem){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (min-width: 48rem) and (max-width: 64rem){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (min-width: 64.0625rem){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (min-width: 90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}', fe = new CSSStyleSheet();
741
+ fe.replaceSync(Ke);
742
+ const _e = [
743
+ "top-patch",
744
+ "top-neighbor-patch",
745
+ "top-ribbon",
746
+ "top-neighbor-ribbon",
747
+ "top-patch-and-neighbor-ribbon"
748
+ ], Ue = [
749
+ "1",
750
+ "2",
751
+ "3",
752
+ "4",
753
+ "5",
754
+ "6",
755
+ "7",
756
+ "8",
757
+ "9",
758
+ "10",
759
+ "11",
760
+ "12"
761
+ ], x = (s, e, t) => `:host([${s}${t ? `--${t}` : ""}='${e}']) .container`, m = "px-padding", Je = [
762
+ f(
763
+ "padding",
764
+ x,
765
+ v,
766
+ m,
767
+ "--container-padding"
768
+ ),
769
+ f(
770
+ "padding-inline",
771
+ x,
772
+ v,
773
+ m
774
+ ),
775
+ f(
776
+ "padding-block",
777
+ x,
778
+ v,
779
+ m
780
+ ),
781
+ f(
782
+ "padding-top",
783
+ x,
784
+ v,
785
+ m
786
+ ),
787
+ f(
788
+ "padding-right",
789
+ x,
790
+ v,
791
+ m,
792
+ "--container-padding-right"
793
+ ),
794
+ f(
795
+ "padding-bottom",
796
+ x,
797
+ v,
798
+ m
799
+ ),
800
+ f(
801
+ "padding-left",
802
+ x,
803
+ v,
804
+ m,
805
+ "--container-padding-left"
806
+ ),
807
+ f(
808
+ "gap",
809
+ x,
810
+ ce,
811
+ "px-spacing",
812
+ void 0,
813
+ "subgrid-gap"
814
+ )
815
+ ], V = class V extends S {
816
+ constructor() {
817
+ super(fe, ...Je), this.template = () => `<div class="container">
818
+ <slot></slot>
819
+ <slot name="anchor-left"></slot>
820
+ <slot name="anchor-right"></slot>
821
+ <slot name="anchor-full"></slot>
822
+ </div>`, this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, this.shadowRoot.innerHTML = this.template();
823
+ }
824
+ static get observedAttributes() {
825
+ return [
826
+ ...super.observedAttributes,
827
+ "border",
828
+ "border-color",
829
+ "border-side",
830
+ "border-side--mobile",
831
+ "border-side--tablet",
832
+ "border-side--laptop",
833
+ "border-radius",
834
+ "no-border-radius",
835
+ "no-border-radius--mobile",
836
+ "no-border-radius--tablet",
837
+ "no-border-radius--laptop",
838
+ "background-color",
839
+ "background-color--mobile",
840
+ "background-color--tablet",
841
+ "background-color--laptop",
842
+ "background-gradient",
843
+ "background-gradient--mobile",
844
+ "background-gradient--tablet",
845
+ "background-gradient--laptop",
846
+ "background-image",
847
+ "background-image--mobile",
848
+ "background-image--tablet",
849
+ "background-image--laptop",
850
+ "background-size",
851
+ "background-position",
852
+ "box-shadow",
853
+ "anchor-offset",
854
+ "anchor-spacing",
855
+ "inverted",
856
+ "subgrid-rows"
857
+ ];
858
+ }
859
+ connectedCallback() {
860
+ this.padding || (this.padding = "m"), this.backgroundColor || (this.backgroundColor = "surface-light"), this.borderColor || (this.borderColor = "main"), this.$slotAnchor && this.addAnchorClass(), this.contentObserver = new MutationObserver(() => {
861
+ this.$slotAnchor && this.addAnchorClass();
862
+ }), this.contentObserver.observe(this, {
863
+ childList: !0,
864
+ subtree: !0,
865
+ characterData: !0
866
+ }), this._bgObserver = new IntersectionObserver((e) => {
867
+ e.forEach((t) => {
868
+ var i;
869
+ t.isIntersecting && (this._isInViewport = !0, this._loadBackgroundImages(), (i = this._bgObserver) == null || i.disconnect());
870
+ });
871
+ }), this._bgObserver.observe(this.$el);
872
+ }
873
+ disconnectedCallback() {
874
+ var e, t;
875
+ (e = this._bgObserver) == null || e.disconnect(), (t = this.contentObserver) == null || t.disconnect();
876
+ }
877
+ attributeChangedCallback(e, t, i) {
878
+ if (t !== i)
879
+ switch (e) {
880
+ case "border":
881
+ this.updateAttribute(e, t, i, Me);
882
+ break;
883
+ case "border-color":
884
+ this.updateBorderColor(e, i);
885
+ break;
886
+ case "border-side":
887
+ case "border-side--mobile":
888
+ case "border-side--tablet":
889
+ case "border-side--laptop":
890
+ this.updateAttribute(e, t, i, Re);
891
+ break;
892
+ case "border-radius":
893
+ this.updateAttribute(
894
+ e,
895
+ t,
896
+ i,
897
+ Te
898
+ );
899
+ break;
900
+ case "no-border-radius":
901
+ case "no-border-radius--mobile":
902
+ case "no-border-radius--tablet":
903
+ case "no-border-radius--laptop":
904
+ this.updateNoBorderRadius(
905
+ e,
906
+ t,
907
+ i,
908
+ De
909
+ );
910
+ break;
911
+ case "background-color":
912
+ case "background-color--mobile":
913
+ case "background-color--tablet":
914
+ case "background-color--laptop":
915
+ this.updateBackgroundColor(e, i);
916
+ break;
917
+ case "background-gradient":
918
+ case "background-gradient--mobile":
919
+ case "background-gradient--tablet":
920
+ case "background-gradient--laptop":
921
+ this.updateGradient(e, i);
922
+ break;
923
+ case "background-size":
924
+ this.updateAttribute(
925
+ e,
926
+ t,
927
+ i,
928
+ Ee
929
+ );
930
+ break;
931
+ case "background-image":
932
+ case "background-image--mobile":
933
+ case "background-image--tablet":
934
+ case "background-image--laptop":
935
+ this._isInViewport && this.updateBackgroundImg(e, i);
936
+ break;
937
+ case "background-position":
938
+ i !== null && i !== "" && (this.$el.style.backgroundPosition = i);
939
+ break;
940
+ case "box-shadow":
941
+ this.updateAttribute(e, t, i, Le);
942
+ break;
943
+ case "anchor-offset":
944
+ this.updateAnchorOffset(t, i, v);
945
+ break;
946
+ case "anchor-spacing":
947
+ this.updateAnchorSpacing(t, i, _e);
948
+ break;
949
+ case "subgrid-rows":
950
+ this.updateSubgridRows(
951
+ e,
952
+ t,
953
+ i,
954
+ Ue
955
+ );
956
+ break;
957
+ default:
958
+ super.attributeChangedCallback(e, t, i);
959
+ break;
960
+ }
961
+ }
962
+ _loadBackgroundImages() {
963
+ [
964
+ "background-image",
965
+ "background-image--mobile",
966
+ "background-image--tablet",
967
+ "background-image--laptop"
968
+ ].forEach((t) => {
969
+ const i = this.getAttribute(t);
970
+ i && this.updateBackgroundImg(t, i);
971
+ });
972
+ }
973
+ updateBackgroundImg(e, t) {
974
+ this.$el.style.setProperty(`--${e}`, `url("${t}")`);
975
+ }
976
+ updateGradient(e, t) {
977
+ if (this.checkName(oe, t)) {
978
+ const i = this.splitAttrNameFromBreakpoint(e);
979
+ e = i.attrName;
980
+ const r = i.breakpoint;
981
+ this.$el.style.setProperty(
982
+ `--${e}${r}`,
983
+ `linear-gradient(var(--px-color-background-gradient-${t}))`
984
+ );
985
+ } else
986
+ p(
987
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${oe.join('", "')}".`
988
+ );
989
+ }
990
+ updateBackgroundColor(e, t) {
991
+ const i = t.startsWith("surface-");
992
+ if (this.checkName(I, t)) {
993
+ const r = this.splitAttrNameFromBreakpoint(e), o = r.breakpoint;
994
+ this.$el.style.setProperty(
995
+ `--${r.attrName}${o}`,
996
+ `var(--px-color-background-${t}${i ? "" : "-default"})`
997
+ ), this.$el.style.setProperty(
998
+ `--${r.attrName}-inverted${o}`,
999
+ `var(--px-color-background-${t}${i ? "" : "-inverted"})`
1000
+ );
1001
+ } else
1002
+ p(
1003
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${I.join('", "')}".`
1004
+ );
1005
+ }
1006
+ updateBorderColor(e, t) {
1007
+ this.checkName(se, t) ? (this.$el.style.setProperty(
1008
+ `--${e}`,
1009
+ `var(--px-color-border-${t}-default)`
1010
+ ), this.$el.style.setProperty(
1011
+ `--${e}-inverted`,
1012
+ `var(--px-color-border-${t}-inverted)`
1013
+ )) : p(
1014
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${se.join('", "')}".`
1015
+ );
1016
+ }
1017
+ updateNoBorderRadius(e, t, i, r) {
1018
+ if (!this.checkName(r, i))
1019
+ p(
1020
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1021
+ );
1022
+ else {
1023
+ const o = this.splitAttrNameFromBreakpoint(e), n = o.breakpoint;
1024
+ t !== null && t !== "" && this.$el.classList.toggle(
1025
+ `${o.attrName}-${t}${n}`
1026
+ ), i !== null && i !== "" && this.$el.classList.toggle(
1027
+ `${o.attrName}-${i}${n}`
1028
+ );
1029
+ }
1030
+ }
1031
+ updateAttribute(e, t, i, r) {
1032
+ if (!this.checkName(r, i))
1033
+ p(
1034
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1035
+ );
1036
+ else {
1037
+ const o = this.splitAttrNameFromBreakpoint(e), n = o.breakpoint;
1038
+ t !== null && t !== "" && this.$el.classList.toggle(
1039
+ `${o.attrName}-${t}${n}`
1040
+ ), i !== null && i !== "" && this.$el.classList.toggle(
1041
+ `${o.attrName}-${i}${n}`
1042
+ );
1043
+ }
1044
+ }
1045
+ splitAttrNameFromBreakpoint(e) {
1046
+ let t = "";
1047
+ if (["--mobile", "--tablet", "--laptop"].some(
1048
+ (i) => e.includes(i)
1049
+ )) {
1050
+ const i = e.split("--");
1051
+ e = i[0], t = `--${i[1]}`;
1052
+ }
1053
+ return { attrName: e, breakpoint: t };
1054
+ }
1055
+ updateAnchorOffset(e, t, i) {
1056
+ if (!T(i, t)) {
1057
+ p(
1058
+ `"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join('", "')}".`
1059
+ );
1060
+ return;
1061
+ }
1062
+ const r = (o) => {
1063
+ o !== null && o !== "" && o !== "default" && (this.$el.style.setProperty(
1064
+ "--container-anchor-offset--mobile",
1065
+ `var(--px-padding-${o}-mobile)`
1066
+ ), this.$el.style.setProperty(
1067
+ "--container-anchor-offset--tablet",
1068
+ `var(--px-padding-${o}-tablet)`
1069
+ ), this.$el.style.setProperty(
1070
+ "--container-anchor-offset--laptop",
1071
+ `var(--px-padding-${o}-laptop)`
1072
+ ));
1073
+ };
1074
+ r(e), r(t);
1075
+ }
1076
+ addAnchorClass() {
1077
+ this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
1078
+ }
1079
+ updateAnchorSpacing(e, t, i) {
1080
+ if (!T(i, t)) {
1081
+ p(
1082
+ `"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join('", "')}".`
1083
+ );
1084
+ return;
1085
+ }
1086
+ const r = (o) => {
1087
+ o !== null && o !== "" && o !== "default" && (this.style.setProperty(
1088
+ "--container-anchor-spacing--mobile",
1089
+ `var(--px-spacing-${o}-mobile)`
1090
+ ), this.style.setProperty(
1091
+ "--container-anchor-spacing--tablet",
1092
+ `var(--px-spacing-${o}-tablet)`
1093
+ ), this.style.setProperty(
1094
+ "--container-anchor-spacing--laptop",
1095
+ `var(--px-spacing-${o}-laptop)`
1096
+ ), this.style.setProperty(
1097
+ "--container-anchor-spacing--desktop",
1098
+ `var(--px-spacing-${o}-desktop)`
1099
+ ));
1100
+ };
1101
+ r(e), r(t);
1102
+ }
1103
+ updateSubgridRows(e, t, i, r) {
1104
+ T(r, i) ? this.style.setProperty(`--${e}`, i) : p(
1105
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1106
+ );
1107
+ }
1108
+ get $el() {
1109
+ var e;
1110
+ return (e = this == null ? void 0 : this.shadowRoot) == null ? void 0 : e.querySelector(".container");
1111
+ }
1112
+ get $slotAnchor() {
1113
+ return this.querySelector('[slot^="anchor"]');
1114
+ }
1115
+ get padding() {
1116
+ return this.getAttribute("padding");
1117
+ }
1118
+ set padding(e) {
1119
+ this.setAttribute("padding", e);
1120
+ }
1121
+ get paddingBlock() {
1122
+ return this.getAttribute("padding-block");
1123
+ }
1124
+ set paddingBlock(e) {
1125
+ this.setAttribute("padding-block", e);
1126
+ }
1127
+ get paddingInline() {
1128
+ return this.getAttribute("padding-inline");
1129
+ }
1130
+ set paddingInline(e) {
1131
+ this.setAttribute("padding-inline", e);
1132
+ }
1133
+ get paddingTop() {
1134
+ return this.getAttribute("padding-top");
1135
+ }
1136
+ set paddingTop(e) {
1137
+ this.setAttribute("padding-top", e);
1138
+ }
1139
+ get paddingRight() {
1140
+ return this.getAttribute("padding-right");
1141
+ }
1142
+ set paddingRight(e) {
1143
+ this.setAttribute("padding-right", e);
1144
+ }
1145
+ get paddingBottom() {
1146
+ return this.getAttribute("padding-bottom");
1147
+ }
1148
+ set paddingBottom(e) {
1149
+ this.setAttribute("padding-bottom", e);
1150
+ }
1151
+ get paddingLeft() {
1152
+ return this.getAttribute("padding-left");
1153
+ }
1154
+ set paddingLeft(e) {
1155
+ this.setAttribute("padding-left", e);
1156
+ }
1157
+ get paddingMobile() {
1158
+ return this.getAttribute("padding--mobile");
1159
+ }
1160
+ set paddingMobile(e) {
1161
+ this.setAttribute("padding--mobile", e);
1162
+ }
1163
+ get paddingBlockMobile() {
1164
+ return this.getAttribute("padding-block--mobile");
1165
+ }
1166
+ set paddingBlockMobile(e) {
1167
+ this.setAttribute("padding-block--mobile", e);
1168
+ }
1169
+ get paddingInlineMobile() {
1170
+ return this.getAttribute("padding-inline--mobile");
1171
+ }
1172
+ set paddingInlineMobile(e) {
1173
+ this.setAttribute("padding-inline--mobile", e);
1174
+ }
1175
+ get paddingTopMobile() {
1176
+ return this.getAttribute("padding-top--mobile");
1177
+ }
1178
+ set paddingTopMobile(e) {
1179
+ this.setAttribute("padding-top--mobile", e);
1180
+ }
1181
+ get paddingRightMobile() {
1182
+ return this.getAttribute("padding-right--mobile");
1183
+ }
1184
+ set paddingRightMobile(e) {
1185
+ this.setAttribute("padding-right--mobile", e);
1186
+ }
1187
+ get paddingBottomMobile() {
1188
+ return this.getAttribute("padding-bottom--mobile");
1189
+ }
1190
+ set paddingBottomMobile(e) {
1191
+ this.setAttribute("padding-bottom--mobile", e);
1192
+ }
1193
+ get paddingLeftMobile() {
1194
+ return this.getAttribute("padding-left--mobile");
1195
+ }
1196
+ set paddingLeftMobile(e) {
1197
+ this.setAttribute("padding-left--mobile", e);
1198
+ }
1199
+ get paddingTablet() {
1200
+ return this.getAttribute("padding--tablet");
1201
+ }
1202
+ set paddingTablet(e) {
1203
+ this.setAttribute("padding--tablet", e);
1204
+ }
1205
+ get paddingBlockTablet() {
1206
+ return this.getAttribute("padding-block--tablet");
1207
+ }
1208
+ set paddingBlockTablet(e) {
1209
+ this.setAttribute("padding-block--tablet", e);
1210
+ }
1211
+ get paddingInlineTablet() {
1212
+ return this.getAttribute("padding-inline--tablet");
1213
+ }
1214
+ set paddingInlineTablet(e) {
1215
+ this.setAttribute("padding-inline--tablet", e);
1216
+ }
1217
+ get paddingTopTablet() {
1218
+ return this.getAttribute("padding-top--tablet");
1219
+ }
1220
+ set paddingTopTablet(e) {
1221
+ this.setAttribute("padding-top--tablet", e);
1222
+ }
1223
+ get paddingRightTablet() {
1224
+ return this.getAttribute("padding-right--tablet");
1225
+ }
1226
+ set paddingRightTablet(e) {
1227
+ this.setAttribute("padding-right--tablet", e);
1228
+ }
1229
+ get paddingBottomTablet() {
1230
+ return this.getAttribute("padding-bottom--tablet");
1231
+ }
1232
+ set paddingBottomTablet(e) {
1233
+ this.setAttribute("padding-bottom--tablet", e);
1234
+ }
1235
+ get paddingLeftTablet() {
1236
+ return this.getAttribute("padding-left--tablet");
1237
+ }
1238
+ set paddingLeftTablet(e) {
1239
+ this.setAttribute("padding-left--tablet", e);
1240
+ }
1241
+ get paddingLaptop() {
1242
+ return this.getAttribute("padding--laptop");
1243
+ }
1244
+ set paddingLaptop(e) {
1245
+ this.setAttribute("padding--laptop", e);
1246
+ }
1247
+ get paddingBlockLaptop() {
1248
+ return this.getAttribute("padding-block--laptop");
1249
+ }
1250
+ set paddingBlockLaptop(e) {
1251
+ this.setAttribute("padding-block--laptop", e);
1252
+ }
1253
+ get paddingInlineLaptop() {
1254
+ return this.getAttribute("padding-inline--laptop");
1255
+ }
1256
+ set paddingInlineLaptop(e) {
1257
+ this.setAttribute("padding-inline--laptop", e);
1258
+ }
1259
+ get paddingTopLaptop() {
1260
+ return this.getAttribute("padding-top--laptop");
1261
+ }
1262
+ set paddingTopLaptop(e) {
1263
+ this.setAttribute("padding-top--laptop", e);
1264
+ }
1265
+ get paddingRightLaptop() {
1266
+ return this.getAttribute("padding-right--laptop");
1267
+ }
1268
+ set paddingRightLaptop(e) {
1269
+ this.setAttribute("padding-right--laptop", e);
1270
+ }
1271
+ get paddingBottomLaptop() {
1272
+ return this.getAttribute("padding-bottom--laptop");
1273
+ }
1274
+ set paddingBottomLaptop(e) {
1275
+ this.setAttribute("padding-bottom--laptop", e);
1276
+ }
1277
+ get paddingLeftLaptop() {
1278
+ return this.getAttribute("padding-left--laptop");
1279
+ }
1280
+ set paddingLeftLaptop(e) {
1281
+ this.setAttribute("padding-left--laptop", e);
1282
+ }
1283
+ get border() {
1284
+ return this.getAttribute("border");
1285
+ }
1286
+ set border(e) {
1287
+ this.setAttribute("border", e);
1288
+ }
1289
+ get borderColor() {
1290
+ return this.getAttribute("border-color");
1291
+ }
1292
+ set borderColor(e) {
1293
+ this.setAttribute("border-color", e);
1294
+ }
1295
+ get borderSide() {
1296
+ return this.getAttribute("border-side");
1297
+ }
1298
+ set borderSide(e) {
1299
+ this.setAttribute("border-side", e);
1300
+ }
1301
+ get borderSideMobile() {
1302
+ return this.getAttribute("border-side--mobile");
1303
+ }
1304
+ set borderSideMobile(e) {
1305
+ this.setAttribute("border-side--mobile", e);
1306
+ }
1307
+ get borderSideTablet() {
1308
+ return this.getAttribute("border-side--tablet");
1309
+ }
1310
+ set borderSideTablet(e) {
1311
+ this.setAttribute("border-side--tablet", e);
1312
+ }
1313
+ get borderSideLaptop() {
1314
+ return this.getAttribute("border-side--laptop");
1315
+ }
1316
+ set borderSideLaptop(e) {
1317
+ this.setAttribute("border-side--laptop", e);
1318
+ }
1319
+ get borderRadius() {
1320
+ return this.getAttribute("border-radius");
1321
+ }
1322
+ set borderRadius(e) {
1323
+ this.setAttribute("border-radius", e);
1324
+ }
1325
+ get noBorderRadius() {
1326
+ return this.getAttribute("no-border-radius");
1327
+ }
1328
+ set noBorderRadius(e) {
1329
+ this.setAttribute("no-border-radius", e);
1330
+ }
1331
+ get noBorderRadiusMobile() {
1332
+ return this.getAttribute("no-border-radius--mobile");
1333
+ }
1334
+ set noBorderRadiusMobile(e) {
1335
+ this.setAttribute("no-border-radius--mobile", e);
1336
+ }
1337
+ get noBorderRadiusTablet() {
1338
+ return this.getAttribute("no-border-radius--tablet");
1339
+ }
1340
+ set noBorderRadiusTablet(e) {
1341
+ this.setAttribute("no-border-radius--tablet", e);
1342
+ }
1343
+ get noBorderRadiusLaptop() {
1344
+ return this.getAttribute("no-border-radius--laptop");
1345
+ }
1346
+ set noBorderRadiusLaptop(e) {
1347
+ this.setAttribute("no-border-radius--laptop", e);
1348
+ }
1349
+ get backgroundColor() {
1350
+ return this.getAttribute("background-color");
1351
+ }
1352
+ set backgroundColor(e) {
1353
+ this.setAttribute("background-color", e);
1354
+ }
1355
+ get backgroundColorMobile() {
1356
+ return this.getAttribute("background-color--mobile");
1357
+ }
1358
+ set backgroundColorMobile(e) {
1359
+ this.setAttribute("background-color--mobile", e);
1360
+ }
1361
+ get backgroundColorTablet() {
1362
+ return this.getAttribute("background-color--tablet");
1363
+ }
1364
+ set backgroundColorTablet(e) {
1365
+ this.setAttribute("background-color--tablet", e);
1366
+ }
1367
+ get backgroundColorLaptop() {
1368
+ return this.getAttribute("background-color--laptop");
1369
+ }
1370
+ set backgroundColorLaptop(e) {
1371
+ this.setAttribute("background-color--laptop", e);
1372
+ }
1373
+ get gradient() {
1374
+ return this.getAttribute("background-gradient");
1375
+ }
1376
+ set gradient(e) {
1377
+ this.setAttribute("background-gradient", e);
1378
+ }
1379
+ get gradientMobile() {
1380
+ return this.getAttribute("background-gradient--mobile");
1381
+ }
1382
+ set gradientMobile(e) {
1383
+ this.setAttribute("background-gradient--mobile", e);
1384
+ }
1385
+ get gradientTablet() {
1386
+ return this.getAttribute("background-gradient--tablet");
1387
+ }
1388
+ set gradientTablet(e) {
1389
+ this.setAttribute("background-gradient--tablet", e);
1390
+ }
1391
+ get gradientLaptop() {
1392
+ return this.getAttribute("background-gradient--laptop");
1393
+ }
1394
+ set gradientLaptop(e) {
1395
+ this.setAttribute("background-gradient--laptop", e);
1396
+ }
1397
+ get backgroundImage() {
1398
+ return this.getAttribute("background-image");
1399
+ }
1400
+ set backgroundImage(e) {
1401
+ this.setAttribute("background-image", e);
1402
+ }
1403
+ get backgroundImageMobile() {
1404
+ return this.getAttribute("background-image--mobile");
1405
+ }
1406
+ set backgroundImageMobile(e) {
1407
+ this.setAttribute("background-image--mobile", e);
1408
+ }
1409
+ get backgroundImageTablet() {
1410
+ return this.getAttribute("background-image--tablet");
1411
+ }
1412
+ set backgroundImageTablet(e) {
1413
+ this.setAttribute("background-image--tablet", e);
1414
+ }
1415
+ get backgroundImageLaptop() {
1416
+ return this.getAttribute("background-image--laptop");
1417
+ }
1418
+ set backgroundImageLaptop(e) {
1419
+ this.setAttribute("background-image--laptop", e);
1420
+ }
1421
+ get backgroundSize() {
1422
+ return this.getAttribute("background-size");
1423
+ }
1424
+ set backgroundSize(e) {
1425
+ this.setAttribute("background-size", e);
1426
+ }
1427
+ get backgroundPosition() {
1428
+ return this.getAttribute("background-position");
1429
+ }
1430
+ set backgroundPosition(e) {
1431
+ this.setAttribute("background-position", e);
1432
+ }
1433
+ get boxShadow() {
1434
+ return this.getAttribute("box-shadow");
1435
+ }
1436
+ set boxShadow(e) {
1437
+ this.setAttribute("box-shadow", e);
1438
+ }
1439
+ get anchorOffset() {
1440
+ return this.getAttribute("anchor-offset");
1441
+ }
1442
+ set anchorOffset(e) {
1443
+ this.setAttribute("anchor-offset", e);
1444
+ }
1445
+ get anchorSpacing() {
1446
+ return this.getAttribute("anchor-spacing");
1447
+ }
1448
+ set anchorSpacing(e) {
1449
+ this.setAttribute("anchor-spacing", e);
1450
+ }
1451
+ get inverted() {
1452
+ return this.hasAttribute("inverted");
1453
+ }
1454
+ set inverted(e) {
1455
+ e ? this.setAttribute("inverted", "") : this.removeAttribute("inverted");
1456
+ }
1457
+ get subgridRows() {
1458
+ return this.getAttribute("subgrid-rows");
1459
+ }
1460
+ set subgridRows(e) {
1461
+ this.setAttribute("subgrid-rows", e);
1462
+ }
1463
+ get subgridGap() {
1464
+ return this.getAttribute("subgrid-gap");
1465
+ }
1466
+ set subgridGap(e) {
1467
+ this.setAttribute("subgrid-gap", e);
1468
+ }
1469
+ get subgridGapMobile() {
1470
+ return this.getAttribute("subgrid-gap--mobile");
1471
+ }
1472
+ set subgridGapMobile(e) {
1473
+ this.setAttribute("subgrid-gap--mobile", e);
1474
+ }
1475
+ get subgridGapTablet() {
1476
+ return this.getAttribute("subgrid-gap--tablet");
1477
+ }
1478
+ set subgridGapTablet(e) {
1479
+ this.setAttribute("subgrid-gap--tablet", e);
1480
+ }
1481
+ get subgridGapLaptop() {
1482
+ return this.getAttribute("subgrid-gap--laptop");
1483
+ }
1484
+ set subgridGapLaptop(e) {
1485
+ this.setAttribute("subgrid-gap--laptop", e);
1486
+ }
1487
+ };
1488
+ V.nativeName = "div";
1489
+ let X = V;
1490
+ customElements.get("px-container") || customElements.define("px-container", X);
1491
+ const Qe = ':host{display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{display:flex;height:100%;width:100%;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);overflow-x:var(--overflow-x-all)}@media screen and (max-width: 47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (min-width: 48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (min-width: 48rem) and (max-width: 64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (min-width: 64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media screen and (min-width: 90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}', xe = new CSSStyleSheet();
1492
+ xe.replaceSync(Qe);
1493
+ const Ve = [
1494
+ "",
1495
+ "default",
1496
+ "row",
1497
+ "row-reverse",
1498
+ "column",
1499
+ "column-reverse"
1500
+ ], et = [
1501
+ "",
1502
+ "default",
1503
+ "stretch",
1504
+ "flex-start",
1505
+ "start",
1506
+ "flex-end",
1507
+ "end",
1508
+ "center",
1509
+ "baseline"
1510
+ ], tt = [
1511
+ "",
1512
+ "default",
1513
+ "flex-start",
1514
+ "start",
1515
+ "flex-end",
1516
+ "end",
1517
+ "center",
1518
+ "space-between",
1519
+ "space-around",
1520
+ "space-evenly"
1521
+ ], it = ["", "default", "nowrap", "wrap", "wrap-reverse"], rt = ["", "visible", "hidden", "scroll", "auto"];
1522
+ class Y extends S {
1523
+ constructor() {
1524
+ super(xe), this.overflowXAttributeDelegate = new je(
1525
+ this,
1526
+ "overflow-x",
1527
+ (e) => e,
1528
+ "--overflow-x"
1529
+ ), this.template = `<div class="flex-container">
1530
+ <slot></slot>
1531
+ </div>`, this.shadowRoot.innerHTML = this.template;
1532
+ }
1533
+ connectedCallback() {
1534
+ this.hasAttribute("direction") || (this.direction = "row"), this.hasAttribute("gap") || (this.gap = "none"), this.hasAttribute("align-items") || (this.alignItems = "stretch"), this.hasAttribute("justify-content") || (this.justifyContent = "flex-start"), this.hasAttribute("wrap") || (this.wrap = "nowrap"), this.hasAttribute("overflow-x") || this.overflowXAttributeDelegate.init("visible");
1535
+ }
1536
+ static get observedAttributes() {
1537
+ return [
1538
+ ...super.observedAttributes,
1539
+ "direction",
1540
+ "direction--mobile",
1541
+ "direction--tablet",
1542
+ "direction--laptop",
1543
+ "direction--desktop",
1544
+ "gap",
1545
+ "gap--mobile",
1546
+ "gap--tablet",
1547
+ "gap--laptop",
1548
+ "gap--desktop",
1549
+ "justify-content",
1550
+ "justify-content--mobile",
1551
+ "justify-content--tablet",
1552
+ "justify-content--laptop",
1553
+ "justify-content--desktop",
1554
+ "align-items",
1555
+ "align-items--mobile",
1556
+ "align-items--tablet",
1557
+ "align-items--laptop",
1558
+ "align-items--desktop",
1559
+ "wrap",
1560
+ "wrap--mobile",
1561
+ "wrap--tablet",
1562
+ "wrap--laptop",
1563
+ "wrap--desktop",
1564
+ "overflow-x",
1565
+ "overflow-x--mobile",
1566
+ "overflow-x--tablet",
1567
+ "overflow-x--laptop",
1568
+ "overflow-x--desktop"
1569
+ ];
1570
+ }
1571
+ attributeChangedCallback(e, t, i) {
1572
+ switch (e) {
1573
+ case "gap":
1574
+ case "gap--mobile":
1575
+ case "gap--tablet":
1576
+ case "gap--laptop":
1577
+ case "gap--desktop":
1578
+ this.updateFlexProperties(e, t, i, ce);
1579
+ break;
1580
+ case "justify-content":
1581
+ case "justify-content--mobile":
1582
+ case "justify-content--tablet":
1583
+ case "justify-content--laptop":
1584
+ case "justify-content--desktop":
1585
+ this.updateFlexProperties(
1586
+ e,
1587
+ t,
1588
+ i,
1589
+ tt
1590
+ );
1591
+ break;
1592
+ case "align-items":
1593
+ case "align-items--mobile":
1594
+ case "align-items--tablet":
1595
+ case "align-items--laptop":
1596
+ case "align-items--desktop":
1597
+ this.updateFlexProperties(e, t, i, et);
1598
+ break;
1599
+ case "wrap":
1600
+ case "wrap--mobile":
1601
+ case "wrap--tablet":
1602
+ case "wrap--laptop":
1603
+ case "wrap--desktop":
1604
+ this.updateFlexProperties(e, t, i, it);
1605
+ break;
1606
+ case "direction":
1607
+ case "direction--mobile":
1608
+ case "direction--tablet":
1609
+ case "direction--laptop":
1610
+ case "direction--desktop":
1611
+ this.updateFlexProperties(e, t, i, Ve);
1612
+ break;
1613
+ case "overflow-x":
1614
+ case "overflow-x--mobile":
1615
+ case "overflow-x--tablet":
1616
+ case "overflow-x--laptop":
1617
+ case "overflow-x--desktop":
1618
+ this.updateOverflowX(e, t, i, rt);
1619
+ break;
1620
+ default:
1621
+ super.attributeChangedCallback(e, t, i);
1622
+ break;
1623
+ }
1624
+ }
1625
+ updateOverflowX(e, t, i, r) {
1626
+ if (!T(r, i)) {
1627
+ p(
1628
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1629
+ );
1630
+ return;
1631
+ }
1632
+ this.overflowXAttributeDelegate.attributeChangedCallback(
1633
+ e,
1634
+ t,
1635
+ i
1636
+ );
1637
+ }
1638
+ updateFlexProperties(e, t, i, r) {
1639
+ this.checkName(r, i) || p(
1640
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1641
+ );
1642
+ const o = e.indexOf("--") > -1, n = o ? e.split("--")[0] : e, c = [];
1643
+ if (!o)
1644
+ this.getAttribute(n + "--mobile") || c.push("mobile"), this.getAttribute(n + "--tablet") || c.push("tablet"), this.getAttribute(n + "--laptop") || c.push("laptop"), this.getAttribute(n + "--desktop") || c.push("desktop"), c.forEach((d) => {
1645
+ this.updateStyle(n, d, t, r), this.updateStyle(n, d, i, r);
1646
+ });
1647
+ else {
1648
+ const d = e.split("--")[1];
1649
+ this.updateStyle(n, d, t, r), this.updateStyle(n, d, i, r);
1650
+ }
1651
+ }
1652
+ updateStyle(e, t, i, r) {
1653
+ i && (e === "gap" && r && r.includes(i) ? (this.$el.style.setProperty(
1654
+ `--flex-${e}--${t}-value`,
1655
+ `var(--px-spacing-${i}-${t === "laptop" ? "desktop" : t})`
1656
+ ), this.style.setProperty(
1657
+ `--host-gap--${t}`,
1658
+ `var(--px-spacing-${i}-${t === "laptop" ? "desktop" : t})`
1659
+ )) : this.$el.style.setProperty(
1660
+ `--flex-${e}--${t}-value`,
1661
+ i
1662
+ ));
1663
+ }
1664
+ get direction() {
1665
+ return this.getAttribute("direction");
1666
+ }
1667
+ set direction(e) {
1668
+ this.setAttribute("direction", e);
1669
+ }
1670
+ get directionMobile() {
1671
+ return this.getAttribute("direction--mobile");
1672
+ }
1673
+ set directionMobile(e) {
1674
+ this.setAttribute("direction--mobile", e);
1675
+ }
1676
+ get directionTablet() {
1677
+ return this.getAttribute("direction--tablet");
1678
+ }
1679
+ set directionTablet(e) {
1680
+ this.setAttribute("direction--tablet", e);
1681
+ }
1682
+ get directionLaptop() {
1683
+ return this.getAttribute("direction--laptop");
1684
+ }
1685
+ set directionLaptop(e) {
1686
+ this.setAttribute("direction--laptop", e);
1687
+ }
1688
+ get directionDesktop() {
1689
+ return this.getAttribute("direction--desktop");
1690
+ }
1691
+ set directionDesktop(e) {
1692
+ this.setAttribute("direction--desktop", e);
1693
+ }
1694
+ get gap() {
1695
+ return this.getAttribute("gap");
1696
+ }
1697
+ set gap(e) {
1698
+ this.setAttribute("gap", e);
1699
+ }
1700
+ get gapMobile() {
1701
+ return this.getAttribute("gap--mobile");
1702
+ }
1703
+ set gapMobile(e) {
1704
+ this.setAttribute("gap--mobile", e);
1705
+ }
1706
+ get gapTablet() {
1707
+ return this.getAttribute("gap--tablet");
1708
+ }
1709
+ set gapTablet(e) {
1710
+ this.setAttribute("gap--tablet", e);
1711
+ }
1712
+ get gapLaptop() {
1713
+ return this.getAttribute("gap--laptop");
1714
+ }
1715
+ set gapLaptop(e) {
1716
+ this.setAttribute("gap--laptop", e);
1717
+ }
1718
+ get gapDesktop() {
1719
+ return this.getAttribute("gap--desktop");
1720
+ }
1721
+ set gapDesktop(e) {
1722
+ this.setAttribute("gap--desktop", e);
1723
+ }
1724
+ get justifyContent() {
1725
+ return this.getAttribute("justify-content");
1726
+ }
1727
+ set justifyContent(e) {
1728
+ this.setAttribute("justify-content", e);
1729
+ }
1730
+ get justifyContentMobile() {
1731
+ return this.getAttribute("justify-content--mobile");
1732
+ }
1733
+ set justifyContentMobile(e) {
1734
+ this.setAttribute("justify-content--mobile", e);
1735
+ }
1736
+ get justifyContentTablet() {
1737
+ return this.getAttribute("justify-content--tablet");
1738
+ }
1739
+ set justifyContentTablet(e) {
1740
+ this.setAttribute("justify-content--tablet", e);
1741
+ }
1742
+ get justifyContentLaptop() {
1743
+ return this.getAttribute("justify-content--laptop");
1744
+ }
1745
+ set justifyContentLaptop(e) {
1746
+ this.setAttribute("justify-content--laptop", e);
1747
+ }
1748
+ get justifyContentDesktop() {
1749
+ return this.getAttribute("justify-content--desktop");
1750
+ }
1751
+ set justifyContentDesktop(e) {
1752
+ this.setAttribute("justify-content--desktop", e);
1753
+ }
1754
+ get alignItems() {
1755
+ return this.getAttribute("align-items");
1756
+ }
1757
+ set alignItems(e) {
1758
+ this.setAttribute("align-items", e);
1759
+ }
1760
+ get alignItemsMobile() {
1761
+ return this.getAttribute("align-items--mobile");
1762
+ }
1763
+ set alignItemsMobile(e) {
1764
+ this.setAttribute("align-items--mobile", e);
1765
+ }
1766
+ get alignItemsTablet() {
1767
+ return this.getAttribute("align-items--tablet");
1768
+ }
1769
+ set alignItemsTablet(e) {
1770
+ this.setAttribute("align-items--tablet", e);
1771
+ }
1772
+ get alignItemsLaptop() {
1773
+ return this.getAttribute("align-items--laptop");
1774
+ }
1775
+ set alignItemsLaptop(e) {
1776
+ this.setAttribute("align-items--laptop", e);
1777
+ }
1778
+ get alignItemsDesktop() {
1779
+ return this.getAttribute("align-items--desktop");
1780
+ }
1781
+ set alignItemsDesktop(e) {
1782
+ this.setAttribute("align-items--desktop", e);
1783
+ }
1784
+ get wrap() {
1785
+ return this.getAttribute("wrap");
1786
+ }
1787
+ set wrap(e) {
1788
+ this.setAttribute("wrap", e);
1789
+ }
1790
+ get wrapMobile() {
1791
+ return this.getAttribute("wrap--mobile");
1792
+ }
1793
+ set wrapMobile(e) {
1794
+ this.setAttribute("wrap--mobile", e);
1795
+ }
1796
+ get wrapTablet() {
1797
+ return this.getAttribute("wrap--tablet");
1798
+ }
1799
+ set wrapTablet(e) {
1800
+ this.setAttribute("wrap--tablet", e);
1801
+ }
1802
+ get wrapLaptop() {
1803
+ return this.getAttribute("wrap--laptop");
1804
+ }
1805
+ set wrapLaptop(e) {
1806
+ this.setAttribute("wrap--laptop", e);
1807
+ }
1808
+ get wrapDesktop() {
1809
+ return this.getAttribute("wrap--desktop");
1810
+ }
1811
+ set wrapDesktop(e) {
1812
+ this.setAttribute("wrap--desktop", e);
1813
+ }
1814
+ get overflowX() {
1815
+ return this.getAttribute("overflow-x");
1816
+ }
1817
+ set overflowX(e) {
1818
+ this.setAttribute("overflow-x", e);
1819
+ }
1820
+ get overflowXMobile() {
1821
+ return this.getAttribute("overflow-x--mobile");
1822
+ }
1823
+ set overflowXMobile(e) {
1824
+ this.setAttribute("overflow-x--mobile", e);
1825
+ }
1826
+ get overflowXTablet() {
1827
+ return this.getAttribute("overflow-x--tablet");
1828
+ }
1829
+ set overflowXTablet(e) {
1830
+ this.setAttribute("overflow-x--tablet", e);
1831
+ }
1832
+ get overflowXLaptop() {
1833
+ return this.getAttribute("overflow-x--laptop");
1834
+ }
1835
+ set overflowXLaptop(e) {
1836
+ this.setAttribute("overflow-x--laptop", e);
1837
+ }
1838
+ get overflowXDesktop() {
1839
+ return this.getAttribute("overflow-x--desktop");
1840
+ }
1841
+ set overflowXDesktop(e) {
1842
+ this.setAttribute("overflow-x--desktop", e);
1843
+ }
1844
+ get $el() {
1845
+ return this.shadowRoot.querySelector(".flex-container");
1846
+ }
1847
+ }
1848
+ customElements.get("px-stack") || customElements.define("px-stack", Y);
1849
+ class ot extends Y {
1850
+ constructor() {
1851
+ super();
1852
+ }
1853
+ connectedCallback() {
1854
+ super.connectedCallback(), this.direction = "column", this.directionMobile = "column", this.directionTablet = "column", this.directionLaptop = "column", this.directionDesktop = "column";
1855
+ }
1856
+ }
1857
+ customElements.get("px-vstack") || customElements.define("px-vstack", ot);
1858
+ class st extends Y {
1859
+ constructor() {
1860
+ super();
1861
+ }
1862
+ connectedCallback() {
1863
+ super.connectedCallback(), this.direction = "row", this.directionMobile = "row", this.directionTablet = "row", this.directionLaptop = "row", this.directionDesktop = "row";
1864
+ }
1865
+ }
1866
+ customElements.get("px-hstack") || customElements.define("px-hstack", st);
1867
+ class at extends HTMLElement {
1868
+ constructor() {
1869
+ super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
1870
+ }
1871
+ static get observedAttributes() {
1872
+ return ["grow", "nogap"];
1873
+ }
1874
+ attributeChangedCallback(e, t, i) {
1875
+ e === "grow" && (this.growValue = i || "1", this.isZeroSized || (this.style.flexGrow = this.growValue), this.scheduleRecheck());
1876
+ }
1877
+ connectedCallback() {
1878
+ this.growValue = this.getAttribute("grow") || "1", this.style.flexGrow = this.growValue, this.nogap && (this.resizeObserver = new ResizeObserver(() => {
1879
+ this.handleSizeChange();
1880
+ }), this.isVertical = this.parentElement.localName === "px-vstack" || this.parentElement.style.flexDirection === "column", this.resizeObserver.observe(this), this.scheduleRecheck());
1881
+ }
1882
+ disconnectedCallback() {
1883
+ var e;
1884
+ (e = this.resizeObserver) == null || e.disconnect(), this.recheckHandle && (cancelAnimationFrame(this.recheckHandle), this.recheckHandle = void 0);
1885
+ }
1886
+ get grow() {
1887
+ return this.getAttribute("grow");
1888
+ }
1889
+ set grow(e) {
1890
+ this.setAttribute("grow", e);
1891
+ }
1892
+ scheduleRecheck() {
1893
+ this.recheckHandle && cancelAnimationFrame(this.recheckHandle), this.recheckHandle = requestAnimationFrame(() => {
1894
+ this.recheckHandle = void 0, this.recalculateVisibility();
1895
+ });
1896
+ }
1897
+ recalculateVisibility() {
1898
+ this.isConnected && (this.style.display = "", this.style.flexGrow = this.growValue, this.handleSizeChange());
1899
+ }
1900
+ handleSizeChange() {
1901
+ const e = this.getBoundingClientRect(), t = e.width === 0 && !this.isVertical || e.height === 0 && this.isVertical;
1902
+ this.isZeroSized !== t && (this.isZeroSized = t, this.updateParticipation());
1903
+ }
1904
+ updateParticipation() {
1905
+ this.isZeroSized ? (this.style.display = "none", this.style.flexGrow = "0") : (this.style.display = "", this.style.flexGrow = this.growValue);
1906
+ }
1907
+ get nogap() {
1908
+ return this.hasAttribute("nogap");
1909
+ }
1910
+ set nogap(e) {
1911
+ e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
1912
+ }
1913
+ }
1914
+ customElements.get("px-spacer") || customElements.define("px-spacer", at);
1915
+ const nt = ":host{display:block;box-sizing:border-box}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", ve = new CSSStyleSheet();
1916
+ ve.replaceSync(nt);
1917
+ class ct extends S {
1918
+ constructor() {
1919
+ super(ve), this.template = (e) => `
1920
+ <px-container border-radius="none" padding="none">
1921
+ <px-vstack>
1922
+ <px-container id="header-container" border-radius="none">
1923
+ <px-hstack>
1924
+ <px-spacer></px-spacer>
1925
+ <px-vstack
1926
+ id="header-vstack-container"
1927
+ gap="s"
1928
+ grow="${this.grow}"
1929
+ basis="${this.basis}"
1930
+ >
1931
+ <slot name="header-container"></slot>
1932
+ </px-vstack>
1933
+ <px-spacer></px-spacer>
1934
+ </px-hstack>
1935
+ </px-container>
1936
+ <px-container
1937
+ id="image-container"
1938
+ border-radius="none"
1939
+ padding="none"
1940
+ padding-top="xl"
1941
+ id="image-box"
1942
+ background-size="cover"
1943
+ background-position="top center"
1944
+ padding-bottom="xl"
1945
+ border-radius="none"
1946
+ bgimg="${this.backgroundImage}"
1947
+ >
1948
+ <px-hstack>
1949
+ <px-spacer></px-spacer>
1950
+ <px-vstack grow="${this.grow}" basis="${this.basis}">
1951
+ <slot name="image-container"></slot>
1952
+ </px-vstack>
1953
+ <px-spacer></px-spacer>
1954
+ </px-hstack>
1955
+ </px-container>
1956
+ ${e ? ` <px-hstack>
1957
+ <px-spacer></px-spacer>
1958
+ <px-container border-radius="none" box-shadow="xl" id="image-sticky-box" border="s" grow="${this.grow}" basis="${this.basis}" border-radius="m">
1959
+ <px-vstack gap="s">
1960
+ <slot name="image-sticky-container"></slot>
1961
+ </px-vstack>
1962
+ </px-container>
1963
+ <px-spacer></px-spacer>
1964
+ </px-hstack>` : ""}
1965
+ <px-container
1966
+ id="body-container"
1967
+ id="main"
1968
+ background-color="${this.backgroundColor}"
1969
+ padding="none"
1970
+ padding-top="xl"
1971
+ padding-bottom="xl"
1972
+ >
1973
+ <px-hstack>
1974
+ <px-spacer></px-spacer>
1975
+ <px-vstack
1976
+ id="body-vstack-container"
1977
+ gap="l"
1978
+ grow="${this.grow}"
1979
+ basis="${this.basis}"
1980
+ >
1981
+ <slot name="body-container"></slot>
1982
+ </px-vstack>
1983
+ <px-spacer></px-spacer>
1984
+ </px-hstack>
1985
+ </px-container>
1986
+ <px-container
1987
+ id="contact-container"
1988
+ border-radius="none"
1989
+ id="main"
1990
+ background-color="surface-default"
1991
+ padding="none"
1992
+ padding-top="xl"
1993
+ padding-bottom="xl"
1994
+ >
1995
+ <px-hstack>
1996
+ <px-spacer></px-spacer>
1997
+ <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">
1998
+ <slot name="contact-container"></slot>
1999
+ </px-vstack>
2000
+ <px-spacer></px-spacer>
2001
+ </px-hstack>
2002
+ </px-container>
2003
+ <px-container
2004
+ id="footer-container"
2005
+ background-color="none"
2006
+ border-radius="none"
2007
+ style="background-color: rgb(108, 66, 156)"
2008
+ padding-top="xl"
2009
+ padding-bottom="xl"
2010
+ >
2011
+ <px-hstack>
2012
+ <px-spacer></px-spacer>
2013
+ <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">
2014
+ <slot name="footer-container"></slot>
2015
+ </px-vstack>
2016
+ <px-spacer></px-spacer>
2017
+ </px-hstack>
2018
+ </px-container>
2019
+ </px-vstack>
2020
+ </px-container>
2021
+ `, this.shadowRoot.innerHTML = this.template(!!this.$imageStickySlot);
2022
+ }
2023
+ static get observedAttributes() {
2024
+ return [
2025
+ ...super.observedAttributes,
2026
+ "background-image",
2027
+ "gap",
2028
+ "background-color",
2029
+ "padding-vertical",
2030
+ "padding-horizontal"
2031
+ ];
2032
+ }
2033
+ get $wideImage() {
2034
+ return this.shadowRoot.querySelector("#image-box");
2035
+ }
2036
+ get $bodyVStackContainer() {
2037
+ return this.shadowRoot.querySelector("#header-vstack-container");
2038
+ }
2039
+ get $bodyContainer() {
2040
+ return this.shadowRoot.querySelector("#body-container");
2041
+ }
2042
+ get $contactContainer() {
2043
+ return this.shadowRoot.querySelector("#contact-container");
2044
+ }
2045
+ get $footerContainer() {
2046
+ return this.shadowRoot.querySelector("#footer-container");
2047
+ }
2048
+ get $headerContainer() {
2049
+ return this.shadowRoot.querySelector("#header-container");
2050
+ }
2051
+ get $imageContainer() {
2052
+ return this.shadowRoot.querySelector("#image-container");
2053
+ }
2054
+ get backgroundImage() {
2055
+ return this.getAttribute("background-image");
2056
+ }
2057
+ get $imageStickySlot() {
2058
+ return this.querySelector('*[slot="image-sticky-container"]');
2059
+ }
2060
+ get $main() {
2061
+ return this.shadowRoot.querySelector("#main");
2062
+ }
2063
+ get backgroundColor() {
2064
+ return this.getAttribute("background-color") || "none";
2065
+ }
2066
+ get paddingVertical() {
2067
+ return this.getAttribute("padding-vertical");
2068
+ }
2069
+ get paddingHorizontal() {
2070
+ return this.getAttribute("padding-horizontal");
2071
+ }
2072
+ set paddingVertical(e) {
2073
+ this.setAttribute("padding-vertical", e);
2074
+ }
2075
+ set paddingHorizontal(e) {
2076
+ this.setAttribute("padding-horizontal", e);
2077
+ }
2078
+ get gap() {
2079
+ return this.getAttribute("gap");
2080
+ }
2081
+ connectedCallback() {
2082
+ this.handlePaddingVerticalChange(this.paddingVertical), this.handlePaddingHorizontalChange(this.paddingHorizontal);
2083
+ }
2084
+ attributeChangedCallback(e, t, i) {
2085
+ if (t !== i)
2086
+ switch (e) {
2087
+ case "background-image":
2088
+ this.$imageContainer.setAttribute("background-image", i);
2089
+ break;
2090
+ case "gap":
2091
+ this.$bodyVStackContainer.setAttribute("gap", i);
2092
+ break;
2093
+ case "background-color":
2094
+ this.$bodyContainer.setAttribute(
2095
+ "background-color",
2096
+ I.indexOf(i) > 0 ? i : "none"
2097
+ );
2098
+ break;
2099
+ case "padding-vertical":
2100
+ this.handlePaddingVerticalChange(i);
2101
+ break;
2102
+ case "padding-horizontal":
2103
+ this.handlePaddingHorizontalChange(i);
2104
+ break;
2105
+ default:
2106
+ super.attributeChangedCallback(e, t, i);
2107
+ }
2108
+ }
2109
+ handlePaddingVerticalChange(e) {
2110
+ this.$headerContainer.setAttribute("padding-top", e), this.$footerContainer.setAttribute("padding-bottom", e);
2111
+ }
2112
+ handlePaddingHorizontalChange(e) {
2113
+ this.$headerContainer.paddingLeft = e, this.$headerContainer.paddingRight = e, this.$bodyContainer.paddingLeft = e, this.$bodyContainer.paddingRight = e, this.$contactContainer.paddingLeft = e, this.$contactContainer.paddingRight = e, this.$footerContainer.paddingLeft = e, this.$footerContainer.paddingRight = e, this.$imageContainer.paddingLeft = e, this.$imageContainer.paddingRight = e;
2114
+ }
2115
+ }
2116
+ customElements.get("px-page") === void 0 && customElements.define("px-page", ct);
2117
+ const lt = "span,::slotted(span){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}:host([inverted]) span,:host([inverted]) ::slotted(span){color:var(--px-color-text-neutral-inverted)}:host([strikethrough]) span{text-decoration:line-through}span.link{text-decoration:underline}@media screen and (min-width: 48rem){span,::slotted(span){font-size:var(--px-text-size-body-m-tablet)}}@media screen and (min-width: 64.0625rem){span,::slotted(span){font-size:var(--px-text-size-body-m-laptop)}}", pt = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media screen and (min-width: 48rem){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media screen and (min-width: 64.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", me = new CSSStyleSheet(), ye = new CSSStyleSheet();
2118
+ me.replaceSync(lt);
2119
+ ye.replaceSync(pt);
2120
+ const ee = class ee extends ne {
2121
+ constructor() {
2122
+ super(me, ye), this.template = () => "<span><slot></slot></span>", this.shadowRoot.innerHTML = this.template();
2123
+ }
2124
+ static get observedAttributes() {
2125
+ return [
2126
+ ...super.observedAttributes,
2127
+ "color",
2128
+ "font-size",
2129
+ "font-weight",
2130
+ "inverted",
2131
+ "disabled",
2132
+ "strikethrough"
2133
+ ];
2134
+ }
2135
+ attributeChangedCallback(e, t, i) {
2136
+ if (t !== i)
2137
+ switch (e) {
2138
+ case "color":
2139
+ this.updateTypography(e, t, i, Pe);
2140
+ break;
2141
+ case "font-size":
2142
+ this.updateTypography(e, t, i, Be);
2143
+ break;
2144
+ case "font-weight":
2145
+ this.updateTypography(e, t, i, He);
2146
+ break;
2147
+ case "disabled":
2148
+ this.color = "state-disabled";
2149
+ break;
2150
+ default:
2151
+ super.attributeChangedCallback(e, t, i);
2152
+ break;
2153
+ }
2154
+ }
2155
+ updateTypography(e, t, i, r) {
2156
+ t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), i !== null && i !== "" && i !== "default" && this.$el.classList.toggle(`${e}-${i}`), this.checkName(r, i) || p(
2157
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
2158
+ );
2159
+ }
2160
+ get color() {
2161
+ return this.getAttribute("color");
2162
+ }
2163
+ set color(e) {
2164
+ this.setAttribute("color", e);
2165
+ }
2166
+ get fontsize() {
2167
+ return this.getAttribute("font-size");
2168
+ }
2169
+ set fontsize(e) {
2170
+ this.setAttribute("font-size", e);
2171
+ }
2172
+ get fontweight() {
2173
+ return this.getAttribute("font-weight");
2174
+ }
2175
+ set fontweight(e) {
2176
+ this.setAttribute("font-weight", e);
2177
+ }
2178
+ get inverted() {
2179
+ return this.getAttribute("inverted");
2180
+ }
2181
+ set inverted(e) {
2182
+ P(e) ? this.removeAttribute("inverted") : this.setAttribute("inverted", e);
2183
+ }
2184
+ get strikethrough() {
2185
+ return this.getAttribute("strikethrough");
2186
+ }
2187
+ set strikethrough(e) {
2188
+ P(e) ? this.removeAttribute("strikethrough") : this.setAttribute("strikethrough", e);
2189
+ }
2190
+ get disabled() {
2191
+ return this.getAttribute("disabled");
2192
+ }
2193
+ set disabled(e) {
2194
+ P(e) ? this.removeAttribute("disabled") : this.setAttribute("disabled", e);
2195
+ }
2196
+ };
2197
+ ee.nativeName = "span";
2198
+ let W = ee;
2199
+ customElements.get("px-span") || customElements.define("px-span", W);
2200
+ const ke = ":host{display:block}px-container{height:var(--px-size-l)}px-container>button{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;height:100%;padding:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:0;text-align:left;text-decoration:none;cursor:pointer}px-container>button>px-span{padding:0 var(--px-padding-s-mobile)}.autocomplete-header{overflow:hidden}.autocomplete-header px-span{min-width:0;overflow-wrap:anywhere}:host([selected]) button,button:hover{background-color:var(--px-color-background-state-hover-default)}button:focus-visible{outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default);outline-offset:calc(-1 * var(--px-focus-offset-mobile));position:relative}@media only screen and (min-width: 48rem){button>px-span{padding:0 var(--px-padding-s-tablet)}button:focus-visible{outline-width:var(--px-focus-outline-tablet);outline-offset:calc(-1 * var(--px-focus-offset-tablet))}}@media only screen and (min-width: 64.0625rem){button>px-span{padding:0 var(--px-padding-s-laptop)}button:focus-visible{outline-width:var(--px-focus-outline-laptop);outline-offset:calc(-1 * var(--px-focus-offset-laptop))}}@media only screen and (min-width: 90.0625rem){button>px-span{padding:0 var(--px-padding-s-desktop)}button:focus-visible{outline-width:var(--px-focus-outline-desktop);outline-offset:calc(-1 * var(--px-focus-offset-desktop))}}", we = new CSSStyleSheet();
2201
+ we.replaceSync(ke);
2202
+ var M, Ae;
2203
+ class dt extends HTMLElement {
2204
+ constructor() {
2205
+ super();
2206
+ l(this, M);
2207
+ this.template = () => `
2208
+ <px-container border-radius="none" padding="s" background-color="container-default" class="autocomplete-header">
2209
+ <px-hstack gap="s" align-items="center">
2210
+ <px-icon name="search" color="brand" size="m" from="lavender"></px-icon>
2211
+ <px-span size="body-s"><slot></slot></px-span>
2212
+ </px-hstack>
2213
+ </px-container>
2214
+ `, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [we];
2215
+ }
2216
+ connectedCallback() {
2217
+ u(this, M, Ae).call(this);
2218
+ }
2219
+ get $icon() {
2220
+ return this.shadowRoot.querySelector("px-icon");
2221
+ }
2222
+ get $text() {
2223
+ return this.shadowRoot.querySelector("px-span");
2224
+ }
2225
+ }
2226
+ M = new WeakSet(), Ae = function() {
2227
+ var t;
2228
+ ((t = this.parentElement) == null ? void 0 : t.localName) === "px-autocomplete" && !this.slot && (this.slot = "dropdown-content");
2229
+ };
2230
+ customElements.get("px-autocomplete-header") || customElements.define("px-autocomplete-header", dt);
2231
+ const $e = new CSSStyleSheet();
2232
+ $e.replaceSync(ke);
2233
+ var j, ze;
2234
+ class ut extends HTMLElement {
2235
+ constructor() {
2236
+ super();
2237
+ l(this, j);
2238
+ this.template = () => '<px-container tabindex="-1" padding="none" background-color="none"><button type="button" role="option"><px-span size="body-s"><slot></slot></px-span></button></px-container>', this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [$e];
2239
+ }
2240
+ static get observedAttributes() {
2241
+ return ["selected", "type"];
2242
+ }
2243
+ attributeChangedCallback(t, i, r) {
2244
+ if (i !== r) {
2245
+ if (t === "selected") {
2246
+ this.$button.setAttribute("aria-selected", String(r !== null));
2247
+ return;
2248
+ }
2249
+ r === null ? this.$button.removeAttribute(t) : this.$button.setAttribute(t, r);
2250
+ }
2251
+ }
2252
+ connectedCallback() {
2253
+ u(this, j, ze).call(this), this.$button.setAttribute(
2254
+ "aria-selected",
2255
+ String(this.hasAttribute("selected"))
2256
+ ), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "-1");
2257
+ }
2258
+ // delegate host focus to the inner option button
2259
+ focus(t) {
2260
+ this.$button.focus(t);
2261
+ }
2262
+ get selected() {
2263
+ return this.hasAttribute("selected");
2264
+ }
2265
+ set selected(t) {
2266
+ this.toggleAttribute("selected", t);
2267
+ }
2268
+ get type() {
2269
+ return this.getAttribute("type") ?? "button";
2270
+ }
2271
+ set type(t) {
2272
+ this.setAttribute("type", t);
2273
+ }
2274
+ get $button() {
2275
+ return this.shadowRoot.querySelector("button");
2276
+ }
2277
+ }
2278
+ j = new WeakSet(), ze = function() {
2279
+ var t;
2280
+ ((t = this.parentElement) == null ? void 0 : t.localName) === "px-autocomplete" && !this.slot && (this.slot = "dropdown-content");
2281
+ };
2282
+ customElements.get("px-autocomplete-option") || customElements.define("px-autocomplete-option", ut);
2283
+ export {
2284
+ G as Autocomplete,
2285
+ dt as AutocompleteHeader,
2286
+ ut as AutocompleteOption
2287
+ };