@proximus/lavender-autocomplete 1.4.10-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2272 @@
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 E, 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 E {
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 L, N;
388
+ const U = class U extends H {
389
+ constructor() {
390
+ super();
391
+ l(this, L);
392
+ }
393
+ template() {
394
+ return "<select></select>";
395
+ }
396
+ connectedCallback() {
397
+ super.connectedCallback(), u(this, L, N).call(this), this.observer = new MutationObserver(() => {
398
+ u(this, L, 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
+ L = 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, S;
453
+ const Q = class Q extends HTMLElement {
454
+ constructor() {
455
+ var t;
456
+ super();
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
+ this.$input.value ? (this.$input.$el.setAttribute("aria-expanded", "true"), this.$dropDown.showPopover()) : (this.$input.$el.setAttribute("aria-expanded", "false"), this.$dropDown.hidePopover(), this.$input.focus()), u(this, b, S).call(this);
485
+ }), this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [he], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this);
486
+ }
487
+ static get observedAttributes() {
488
+ return [
489
+ "size",
490
+ "state",
491
+ "extended",
492
+ "extended--mobile",
493
+ "extended--tablet",
494
+ "extended--laptop",
495
+ "extended--desktop"
496
+ ];
497
+ }
498
+ attributeChangedCallback(t, i, r) {
499
+ r !== null ? this.$input.setAttribute(t, r) : this.$input.removeAttribute(t);
500
+ }
501
+ connectedCallback() {
502
+ var i, r;
503
+ 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");
504
+ const t = (r = this.$label) == null ? void 0 : r.getAttribute("id");
505
+ t && this.$dropDownContent.setAttribute("aria-labelledby", t);
506
+ }
507
+ disconnectedCallback() {
508
+ this.$input.removeEventListener("input", a(this, z)), this.removeEventListener("keydown", a(this, $));
509
+ }
510
+ get value() {
511
+ return this.$input.value;
512
+ }
513
+ set value(t) {
514
+ this.$input.value = t, this.$input.$el.setAttribute("aria-expanded", "false"), this.$dropDown.hidePopover(), this.$input.$el.focus(), u(this, b, S).call(this);
515
+ }
516
+ get name() {
517
+ return this.getAttribute("name");
518
+ }
519
+ formResetCallback() {
520
+ this.$input.value = "", u(this, b, S).call(this);
521
+ }
522
+ formStateRestoreCallback(t) {
523
+ this.$input.value = t, u(this, b, S).call(this);
524
+ }
525
+ get $dropDown() {
526
+ return this.shadowRoot.querySelector("px-dropdown");
527
+ }
528
+ get $dropDownContent() {
529
+ return this.shadowRoot.querySelector(".dropdown-content");
530
+ }
531
+ get $input() {
532
+ return this.shadowRoot.querySelector("px-input");
533
+ }
534
+ get $label() {
535
+ return this.querySelector('[slot="label"]');
536
+ }
537
+ };
538
+ A = new WeakMap(), $ = new WeakMap(), b = new WeakSet(), be = function() {
539
+ return Array.from(
540
+ this.querySelectorAll(
541
+ "px-autocomplete-option:not([disabled])"
542
+ )
543
+ );
544
+ }, z = new WeakMap(), S = function() {
545
+ var t;
546
+ if (this.name) {
547
+ const i = new FormData();
548
+ i.append(this.name, this.value), (t = this.internals) == null || t.setFormValue(i);
549
+ }
550
+ }, Q.formAssociated = !0;
551
+ let G = Q;
552
+ customElements.get("px-autocomplete") || customElements.define("px-autocomplete", G);
553
+ class Ze extends HTMLElement {
554
+ constructor() {
555
+ super();
556
+ }
557
+ static get observedAttributes() {
558
+ return ["name", "src", "type", "format"];
559
+ }
560
+ connectedCallback() {
561
+ if (document.querySelectorAll(
562
+ `px-icon-set[name="${this.getAttribute("name")}"]`
563
+ ).length > 1 && (console.warn(
564
+ "Only one <px-icon-set> component is allowed, self removing"
565
+ ), this.remove()), this.getAttribute("type") === "font") {
566
+ const t = document.createElement("style");
567
+ t.setAttribute("type", "text/css"), t.setAttribute("data-name", this.getAttribute("name")), t.textContent = `
568
+ @font-face {
569
+ font-family: 'lavender';
570
+ src:
571
+ url('${this.getAttribute("src")}') format(${this.getAttribute("format")}),
572
+ font-weight: normal;
573
+ font-style: normal;
574
+ font-display: block;
575
+ }
576
+ `, document.head.appendChild(t);
577
+ }
578
+ }
579
+ disconnectedCallback() {
580
+ const e = document.querySelector(
581
+ `style[data-name="${this.getAttribute("name")}"]`
582
+ );
583
+ e && e.remove();
584
+ }
585
+ }
586
+ customElements.get("px-icon-set") || customElements.define("px-icon-set", Ze);
587
+ const Ge = [
588
+ "Brand",
589
+ "Accent",
590
+ "Neutral",
591
+ "Dimmed",
592
+ "PurposeSuccess",
593
+ "PurposeWarning",
594
+ "PurposeError",
595
+ "PurposeUnlimited",
596
+ "PurposePromo",
597
+ "StateHover",
598
+ "StateActive",
599
+ "StateDisabled"
600
+ ], Xe = ["Inherit", ...Ge].map(
601
+ (s) => s.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)
602
+ ), 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();
603
+ ge.replaceSync(We);
604
+ var y, h, R;
605
+ class Ye extends E {
606
+ constructor(...t) {
607
+ var i;
608
+ super(...t, ge);
609
+ l(this, y);
610
+ l(this, h);
611
+ l(this, R, () => `<svg aria-hidden="true">
612
+ <use></use>
613
+ </svg>`);
614
+ 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");
615
+ }
616
+ static get observedAttributes() {
617
+ return [
618
+ ...super.observedAttributes,
619
+ "name",
620
+ "size",
621
+ "color",
622
+ "aria-label",
623
+ "inverted",
624
+ "from",
625
+ "disabled"
626
+ ];
627
+ }
628
+ attributeChangedCallback(t, i, r) {
629
+ if (i !== r)
630
+ switch (t) {
631
+ case "name":
632
+ this.updateName(i, r);
633
+ break;
634
+ case "size":
635
+ this.updateAttribute(t, i, r, Se);
636
+ break;
637
+ case "color":
638
+ this.updateAttribute(t, i, r, Xe);
639
+ break;
640
+ case "disabled":
641
+ this.color = "state-disabled";
642
+ break;
643
+ case "aria-label":
644
+ if (!a(this, h))
645
+ return;
646
+ r ? (a(this, h).ariaHidden = "false", this.ariaHidden = "false") : (a(this, h).ariaHidden = "true", this.ariaHidden = "true");
647
+ break;
648
+ }
649
+ }
650
+ connectedCallback() {
651
+ this.role = "img";
652
+ const t = document.querySelectorAll("px-icon-set");
653
+ t || console.log("<px-icon-set> component not found");
654
+ for (const i of t) {
655
+ if (!i.getAttribute("name") || !i.getAttribute("src")) {
656
+ console.error("Icon name or src not found");
657
+ continue;
658
+ }
659
+ i.getAttribute("name") === this.from && i.getAttribute("type") !== "font" && (g(this, y, i.getAttribute("src")), this.$el.firstElementChild.setAttribute(
660
+ "href",
661
+ `${a(this, y)}#icon-${this.name}`
662
+ ));
663
+ }
664
+ !this.ariaLabel && a(this, h) && (a(this, h).ariaHidden = "true", this.ariaHidden = "true");
665
+ }
666
+ updateAttribute(t, i, r, o) {
667
+ 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(
668
+ `${r} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
669
+ );
670
+ }
671
+ updateName(t, i) {
672
+ a(this, y) && this.$el.firstElementChild.setAttribute(
673
+ "href",
674
+ `${a(this, y)}#icon-${i}`
675
+ );
676
+ }
677
+ get $el() {
678
+ return this.shadowRoot.querySelector("svg");
679
+ }
680
+ get name() {
681
+ return this.getAttribute("name");
682
+ }
683
+ set name(t) {
684
+ this.setAttribute("name", t);
685
+ }
686
+ get size() {
687
+ return this.getAttribute("size");
688
+ }
689
+ set size(t) {
690
+ this.setAttribute("size", t);
691
+ }
692
+ get color() {
693
+ return this.getAttribute("color");
694
+ }
695
+ set color(t) {
696
+ this.setAttribute("color", t);
697
+ }
698
+ get arialabel() {
699
+ return this.getAttribute("aria-label");
700
+ }
701
+ set arialabel(t) {
702
+ this.setAttribute("aria-label", t);
703
+ }
704
+ get inverted() {
705
+ return this.getAttribute("inverted");
706
+ }
707
+ set inverted(t) {
708
+ this.setAttribute("inverted", t);
709
+ }
710
+ get from() {
711
+ return this.getAttribute("from");
712
+ }
713
+ set from(t) {
714
+ this.setAttribute("from", t);
715
+ }
716
+ get disabled() {
717
+ return this.getAttribute("disabled");
718
+ }
719
+ set disabled(t) {
720
+ this.setAttribute("disabled", t);
721
+ }
722
+ }
723
+ y = new WeakMap(), h = new WeakMap(), R = new WeakMap();
724
+ customElements.get("px-icon") || customElements.define("px-icon", Ye);
725
+ 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();
726
+ fe.replaceSync(Ke);
727
+ const _e = [
728
+ "top-patch",
729
+ "top-neighbor-patch",
730
+ "top-ribbon",
731
+ "top-neighbor-ribbon",
732
+ "top-patch-and-neighbor-ribbon"
733
+ ], Ue = [
734
+ "1",
735
+ "2",
736
+ "3",
737
+ "4",
738
+ "5",
739
+ "6",
740
+ "7",
741
+ "8",
742
+ "9",
743
+ "10",
744
+ "11",
745
+ "12"
746
+ ], x = (s, e, t) => `:host([${s}${t ? `--${t}` : ""}='${e}']) .container`, m = "px-padding", Je = [
747
+ f(
748
+ "padding",
749
+ x,
750
+ v,
751
+ m,
752
+ "--container-padding"
753
+ ),
754
+ f(
755
+ "padding-inline",
756
+ x,
757
+ v,
758
+ m
759
+ ),
760
+ f(
761
+ "padding-block",
762
+ x,
763
+ v,
764
+ m
765
+ ),
766
+ f(
767
+ "padding-top",
768
+ x,
769
+ v,
770
+ m
771
+ ),
772
+ f(
773
+ "padding-right",
774
+ x,
775
+ v,
776
+ m,
777
+ "--container-padding-right"
778
+ ),
779
+ f(
780
+ "padding-bottom",
781
+ x,
782
+ v,
783
+ m
784
+ ),
785
+ f(
786
+ "padding-left",
787
+ x,
788
+ v,
789
+ m,
790
+ "--container-padding-left"
791
+ ),
792
+ f(
793
+ "gap",
794
+ x,
795
+ ce,
796
+ "px-spacing",
797
+ void 0,
798
+ "subgrid-gap"
799
+ )
800
+ ], V = class V extends E {
801
+ constructor() {
802
+ super(fe, ...Je), this.template = () => `<div class="container">
803
+ <slot></slot>
804
+ <slot name="anchor-left"></slot>
805
+ <slot name="anchor-right"></slot>
806
+ <slot name="anchor-full"></slot>
807
+ </div>`, this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, this.shadowRoot.innerHTML = this.template();
808
+ }
809
+ static get observedAttributes() {
810
+ return [
811
+ ...super.observedAttributes,
812
+ "border",
813
+ "border-color",
814
+ "border-side",
815
+ "border-side--mobile",
816
+ "border-side--tablet",
817
+ "border-side--laptop",
818
+ "border-radius",
819
+ "no-border-radius",
820
+ "no-border-radius--mobile",
821
+ "no-border-radius--tablet",
822
+ "no-border-radius--laptop",
823
+ "background-color",
824
+ "background-color--mobile",
825
+ "background-color--tablet",
826
+ "background-color--laptop",
827
+ "background-gradient",
828
+ "background-gradient--mobile",
829
+ "background-gradient--tablet",
830
+ "background-gradient--laptop",
831
+ "background-image",
832
+ "background-image--mobile",
833
+ "background-image--tablet",
834
+ "background-image--laptop",
835
+ "background-size",
836
+ "background-position",
837
+ "box-shadow",
838
+ "anchor-offset",
839
+ "anchor-spacing",
840
+ "inverted",
841
+ "subgrid-rows"
842
+ ];
843
+ }
844
+ connectedCallback() {
845
+ this.padding || (this.padding = "m"), this.backgroundColor || (this.backgroundColor = "surface-light"), this.borderColor || (this.borderColor = "main"), this.$slotAnchor && this.addAnchorClass(), this.contentObserver = new MutationObserver(() => {
846
+ this.$slotAnchor && this.addAnchorClass();
847
+ }), this.contentObserver.observe(this, {
848
+ childList: !0,
849
+ subtree: !0,
850
+ characterData: !0
851
+ }), this._bgObserver = new IntersectionObserver((e) => {
852
+ e.forEach((t) => {
853
+ var i;
854
+ t.isIntersecting && (this._isInViewport = !0, this._loadBackgroundImages(), (i = this._bgObserver) == null || i.disconnect());
855
+ });
856
+ }), this._bgObserver.observe(this.$el);
857
+ }
858
+ disconnectedCallback() {
859
+ var e, t;
860
+ (e = this._bgObserver) == null || e.disconnect(), (t = this.contentObserver) == null || t.disconnect();
861
+ }
862
+ attributeChangedCallback(e, t, i) {
863
+ if (t !== i)
864
+ switch (e) {
865
+ case "border":
866
+ this.updateAttribute(e, t, i, Me);
867
+ break;
868
+ case "border-color":
869
+ this.updateBorderColor(e, i);
870
+ break;
871
+ case "border-side":
872
+ case "border-side--mobile":
873
+ case "border-side--tablet":
874
+ case "border-side--laptop":
875
+ this.updateAttribute(e, t, i, Re);
876
+ break;
877
+ case "border-radius":
878
+ this.updateAttribute(
879
+ e,
880
+ t,
881
+ i,
882
+ Te
883
+ );
884
+ break;
885
+ case "no-border-radius":
886
+ case "no-border-radius--mobile":
887
+ case "no-border-radius--tablet":
888
+ case "no-border-radius--laptop":
889
+ this.updateNoBorderRadius(
890
+ e,
891
+ t,
892
+ i,
893
+ De
894
+ );
895
+ break;
896
+ case "background-color":
897
+ case "background-color--mobile":
898
+ case "background-color--tablet":
899
+ case "background-color--laptop":
900
+ this.updateBackgroundColor(e, i);
901
+ break;
902
+ case "background-gradient":
903
+ case "background-gradient--mobile":
904
+ case "background-gradient--tablet":
905
+ case "background-gradient--laptop":
906
+ this.updateGradient(e, i);
907
+ break;
908
+ case "background-size":
909
+ this.updateAttribute(
910
+ e,
911
+ t,
912
+ i,
913
+ Ee
914
+ );
915
+ break;
916
+ case "background-image":
917
+ case "background-image--mobile":
918
+ case "background-image--tablet":
919
+ case "background-image--laptop":
920
+ this._isInViewport && this.updateBackgroundImg(e, i);
921
+ break;
922
+ case "background-position":
923
+ i !== null && i !== "" && (this.$el.style.backgroundPosition = i);
924
+ break;
925
+ case "box-shadow":
926
+ this.updateAttribute(e, t, i, Le);
927
+ break;
928
+ case "anchor-offset":
929
+ this.updateAnchorOffset(t, i, v);
930
+ break;
931
+ case "anchor-spacing":
932
+ this.updateAnchorSpacing(t, i, _e);
933
+ break;
934
+ case "subgrid-rows":
935
+ this.updateSubgridRows(
936
+ e,
937
+ t,
938
+ i,
939
+ Ue
940
+ );
941
+ break;
942
+ default:
943
+ super.attributeChangedCallback(e, t, i);
944
+ break;
945
+ }
946
+ }
947
+ _loadBackgroundImages() {
948
+ [
949
+ "background-image",
950
+ "background-image--mobile",
951
+ "background-image--tablet",
952
+ "background-image--laptop"
953
+ ].forEach((t) => {
954
+ const i = this.getAttribute(t);
955
+ i && this.updateBackgroundImg(t, i);
956
+ });
957
+ }
958
+ updateBackgroundImg(e, t) {
959
+ this.$el.style.setProperty(`--${e}`, `url("${t}")`);
960
+ }
961
+ updateGradient(e, t) {
962
+ if (this.checkName(oe, t)) {
963
+ const i = this.splitAttrNameFromBreakpoint(e);
964
+ e = i.attrName;
965
+ const r = i.breakpoint;
966
+ this.$el.style.setProperty(
967
+ `--${e}${r}`,
968
+ `linear-gradient(var(--px-color-background-gradient-${t}))`
969
+ );
970
+ } else
971
+ p(
972
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${oe.join('", "')}".`
973
+ );
974
+ }
975
+ updateBackgroundColor(e, t) {
976
+ const i = t.startsWith("surface-");
977
+ if (this.checkName(I, t)) {
978
+ const r = this.splitAttrNameFromBreakpoint(e), o = r.breakpoint;
979
+ this.$el.style.setProperty(
980
+ `--${r.attrName}${o}`,
981
+ `var(--px-color-background-${t}${i ? "" : "-default"})`
982
+ ), this.$el.style.setProperty(
983
+ `--${r.attrName}-inverted${o}`,
984
+ `var(--px-color-background-${t}${i ? "" : "-inverted"})`
985
+ );
986
+ } else
987
+ p(
988
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${I.join('", "')}".`
989
+ );
990
+ }
991
+ updateBorderColor(e, t) {
992
+ this.checkName(se, t) ? (this.$el.style.setProperty(
993
+ `--${e}`,
994
+ `var(--px-color-border-${t}-default)`
995
+ ), this.$el.style.setProperty(
996
+ `--${e}-inverted`,
997
+ `var(--px-color-border-${t}-inverted)`
998
+ )) : p(
999
+ `"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${se.join('", "')}".`
1000
+ );
1001
+ }
1002
+ updateNoBorderRadius(e, t, i, r) {
1003
+ if (!this.checkName(r, i))
1004
+ p(
1005
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1006
+ );
1007
+ else {
1008
+ const o = this.splitAttrNameFromBreakpoint(e), n = o.breakpoint;
1009
+ t !== null && t !== "" && this.$el.classList.toggle(
1010
+ `${o.attrName}-${t}${n}`
1011
+ ), i !== null && i !== "" && this.$el.classList.toggle(
1012
+ `${o.attrName}-${i}${n}`
1013
+ );
1014
+ }
1015
+ }
1016
+ updateAttribute(e, t, i, r) {
1017
+ if (!this.checkName(r, i))
1018
+ p(
1019
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1020
+ );
1021
+ else {
1022
+ const o = this.splitAttrNameFromBreakpoint(e), n = o.breakpoint;
1023
+ t !== null && t !== "" && this.$el.classList.toggle(
1024
+ `${o.attrName}-${t}${n}`
1025
+ ), i !== null && i !== "" && this.$el.classList.toggle(
1026
+ `${o.attrName}-${i}${n}`
1027
+ );
1028
+ }
1029
+ }
1030
+ splitAttrNameFromBreakpoint(e) {
1031
+ let t = "";
1032
+ if (["--mobile", "--tablet", "--laptop"].some(
1033
+ (i) => e.includes(i)
1034
+ )) {
1035
+ const i = e.split("--");
1036
+ e = i[0], t = `--${i[1]}`;
1037
+ }
1038
+ return { attrName: e, breakpoint: t };
1039
+ }
1040
+ updateAnchorOffset(e, t, i) {
1041
+ if (!T(i, t)) {
1042
+ p(
1043
+ `"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join('", "')}".`
1044
+ );
1045
+ return;
1046
+ }
1047
+ const r = (o) => {
1048
+ o !== null && o !== "" && o !== "default" && (this.$el.style.setProperty(
1049
+ "--container-anchor-offset--mobile",
1050
+ `var(--px-padding-${o}-mobile)`
1051
+ ), this.$el.style.setProperty(
1052
+ "--container-anchor-offset--tablet",
1053
+ `var(--px-padding-${o}-tablet)`
1054
+ ), this.$el.style.setProperty(
1055
+ "--container-anchor-offset--laptop",
1056
+ `var(--px-padding-${o}-laptop)`
1057
+ ));
1058
+ };
1059
+ r(e), r(t);
1060
+ }
1061
+ addAnchorClass() {
1062
+ this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
1063
+ }
1064
+ updateAnchorSpacing(e, t, i) {
1065
+ if (!T(i, t)) {
1066
+ p(
1067
+ `"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join('", "')}".`
1068
+ );
1069
+ return;
1070
+ }
1071
+ const r = (o) => {
1072
+ o !== null && o !== "" && o !== "default" && (this.style.setProperty(
1073
+ "--container-anchor-spacing--mobile",
1074
+ `var(--px-spacing-${o}-mobile)`
1075
+ ), this.style.setProperty(
1076
+ "--container-anchor-spacing--tablet",
1077
+ `var(--px-spacing-${o}-tablet)`
1078
+ ), this.style.setProperty(
1079
+ "--container-anchor-spacing--laptop",
1080
+ `var(--px-spacing-${o}-laptop)`
1081
+ ), this.style.setProperty(
1082
+ "--container-anchor-spacing--desktop",
1083
+ `var(--px-spacing-${o}-desktop)`
1084
+ ));
1085
+ };
1086
+ r(e), r(t);
1087
+ }
1088
+ updateSubgridRows(e, t, i, r) {
1089
+ T(r, i) ? this.style.setProperty(`--${e}`, i) : p(
1090
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1091
+ );
1092
+ }
1093
+ get $el() {
1094
+ var e;
1095
+ return (e = this == null ? void 0 : this.shadowRoot) == null ? void 0 : e.querySelector(".container");
1096
+ }
1097
+ get $slotAnchor() {
1098
+ return this.querySelector('[slot^="anchor"]');
1099
+ }
1100
+ get padding() {
1101
+ return this.getAttribute("padding");
1102
+ }
1103
+ set padding(e) {
1104
+ this.setAttribute("padding", e);
1105
+ }
1106
+ get paddingBlock() {
1107
+ return this.getAttribute("padding-block");
1108
+ }
1109
+ set paddingBlock(e) {
1110
+ this.setAttribute("padding-block", e);
1111
+ }
1112
+ get paddingInline() {
1113
+ return this.getAttribute("padding-inline");
1114
+ }
1115
+ set paddingInline(e) {
1116
+ this.setAttribute("padding-inline", e);
1117
+ }
1118
+ get paddingTop() {
1119
+ return this.getAttribute("padding-top");
1120
+ }
1121
+ set paddingTop(e) {
1122
+ this.setAttribute("padding-top", e);
1123
+ }
1124
+ get paddingRight() {
1125
+ return this.getAttribute("padding-right");
1126
+ }
1127
+ set paddingRight(e) {
1128
+ this.setAttribute("padding-right", e);
1129
+ }
1130
+ get paddingBottom() {
1131
+ return this.getAttribute("padding-bottom");
1132
+ }
1133
+ set paddingBottom(e) {
1134
+ this.setAttribute("padding-bottom", e);
1135
+ }
1136
+ get paddingLeft() {
1137
+ return this.getAttribute("padding-left");
1138
+ }
1139
+ set paddingLeft(e) {
1140
+ this.setAttribute("padding-left", e);
1141
+ }
1142
+ get paddingMobile() {
1143
+ return this.getAttribute("padding--mobile");
1144
+ }
1145
+ set paddingMobile(e) {
1146
+ this.setAttribute("padding--mobile", e);
1147
+ }
1148
+ get paddingBlockMobile() {
1149
+ return this.getAttribute("padding-block--mobile");
1150
+ }
1151
+ set paddingBlockMobile(e) {
1152
+ this.setAttribute("padding-block--mobile", e);
1153
+ }
1154
+ get paddingInlineMobile() {
1155
+ return this.getAttribute("padding-inline--mobile");
1156
+ }
1157
+ set paddingInlineMobile(e) {
1158
+ this.setAttribute("padding-inline--mobile", e);
1159
+ }
1160
+ get paddingTopMobile() {
1161
+ return this.getAttribute("padding-top--mobile");
1162
+ }
1163
+ set paddingTopMobile(e) {
1164
+ this.setAttribute("padding-top--mobile", e);
1165
+ }
1166
+ get paddingRightMobile() {
1167
+ return this.getAttribute("padding-right--mobile");
1168
+ }
1169
+ set paddingRightMobile(e) {
1170
+ this.setAttribute("padding-right--mobile", e);
1171
+ }
1172
+ get paddingBottomMobile() {
1173
+ return this.getAttribute("padding-bottom--mobile");
1174
+ }
1175
+ set paddingBottomMobile(e) {
1176
+ this.setAttribute("padding-bottom--mobile", e);
1177
+ }
1178
+ get paddingLeftMobile() {
1179
+ return this.getAttribute("padding-left--mobile");
1180
+ }
1181
+ set paddingLeftMobile(e) {
1182
+ this.setAttribute("padding-left--mobile", e);
1183
+ }
1184
+ get paddingTablet() {
1185
+ return this.getAttribute("padding--tablet");
1186
+ }
1187
+ set paddingTablet(e) {
1188
+ this.setAttribute("padding--tablet", e);
1189
+ }
1190
+ get paddingBlockTablet() {
1191
+ return this.getAttribute("padding-block--tablet");
1192
+ }
1193
+ set paddingBlockTablet(e) {
1194
+ this.setAttribute("padding-block--tablet", e);
1195
+ }
1196
+ get paddingInlineTablet() {
1197
+ return this.getAttribute("padding-inline--tablet");
1198
+ }
1199
+ set paddingInlineTablet(e) {
1200
+ this.setAttribute("padding-inline--tablet", e);
1201
+ }
1202
+ get paddingTopTablet() {
1203
+ return this.getAttribute("padding-top--tablet");
1204
+ }
1205
+ set paddingTopTablet(e) {
1206
+ this.setAttribute("padding-top--tablet", e);
1207
+ }
1208
+ get paddingRightTablet() {
1209
+ return this.getAttribute("padding-right--tablet");
1210
+ }
1211
+ set paddingRightTablet(e) {
1212
+ this.setAttribute("padding-right--tablet", e);
1213
+ }
1214
+ get paddingBottomTablet() {
1215
+ return this.getAttribute("padding-bottom--tablet");
1216
+ }
1217
+ set paddingBottomTablet(e) {
1218
+ this.setAttribute("padding-bottom--tablet", e);
1219
+ }
1220
+ get paddingLeftTablet() {
1221
+ return this.getAttribute("padding-left--tablet");
1222
+ }
1223
+ set paddingLeftTablet(e) {
1224
+ this.setAttribute("padding-left--tablet", e);
1225
+ }
1226
+ get paddingLaptop() {
1227
+ return this.getAttribute("padding--laptop");
1228
+ }
1229
+ set paddingLaptop(e) {
1230
+ this.setAttribute("padding--laptop", e);
1231
+ }
1232
+ get paddingBlockLaptop() {
1233
+ return this.getAttribute("padding-block--laptop");
1234
+ }
1235
+ set paddingBlockLaptop(e) {
1236
+ this.setAttribute("padding-block--laptop", e);
1237
+ }
1238
+ get paddingInlineLaptop() {
1239
+ return this.getAttribute("padding-inline--laptop");
1240
+ }
1241
+ set paddingInlineLaptop(e) {
1242
+ this.setAttribute("padding-inline--laptop", e);
1243
+ }
1244
+ get paddingTopLaptop() {
1245
+ return this.getAttribute("padding-top--laptop");
1246
+ }
1247
+ set paddingTopLaptop(e) {
1248
+ this.setAttribute("padding-top--laptop", e);
1249
+ }
1250
+ get paddingRightLaptop() {
1251
+ return this.getAttribute("padding-right--laptop");
1252
+ }
1253
+ set paddingRightLaptop(e) {
1254
+ this.setAttribute("padding-right--laptop", e);
1255
+ }
1256
+ get paddingBottomLaptop() {
1257
+ return this.getAttribute("padding-bottom--laptop");
1258
+ }
1259
+ set paddingBottomLaptop(e) {
1260
+ this.setAttribute("padding-bottom--laptop", e);
1261
+ }
1262
+ get paddingLeftLaptop() {
1263
+ return this.getAttribute("padding-left--laptop");
1264
+ }
1265
+ set paddingLeftLaptop(e) {
1266
+ this.setAttribute("padding-left--laptop", e);
1267
+ }
1268
+ get border() {
1269
+ return this.getAttribute("border");
1270
+ }
1271
+ set border(e) {
1272
+ this.setAttribute("border", e);
1273
+ }
1274
+ get borderColor() {
1275
+ return this.getAttribute("border-color");
1276
+ }
1277
+ set borderColor(e) {
1278
+ this.setAttribute("border-color", e);
1279
+ }
1280
+ get borderSide() {
1281
+ return this.getAttribute("border-side");
1282
+ }
1283
+ set borderSide(e) {
1284
+ this.setAttribute("border-side", e);
1285
+ }
1286
+ get borderSideMobile() {
1287
+ return this.getAttribute("border-side--mobile");
1288
+ }
1289
+ set borderSideMobile(e) {
1290
+ this.setAttribute("border-side--mobile", e);
1291
+ }
1292
+ get borderSideTablet() {
1293
+ return this.getAttribute("border-side--tablet");
1294
+ }
1295
+ set borderSideTablet(e) {
1296
+ this.setAttribute("border-side--tablet", e);
1297
+ }
1298
+ get borderSideLaptop() {
1299
+ return this.getAttribute("border-side--laptop");
1300
+ }
1301
+ set borderSideLaptop(e) {
1302
+ this.setAttribute("border-side--laptop", e);
1303
+ }
1304
+ get borderRadius() {
1305
+ return this.getAttribute("border-radius");
1306
+ }
1307
+ set borderRadius(e) {
1308
+ this.setAttribute("border-radius", e);
1309
+ }
1310
+ get noBorderRadius() {
1311
+ return this.getAttribute("no-border-radius");
1312
+ }
1313
+ set noBorderRadius(e) {
1314
+ this.setAttribute("no-border-radius", e);
1315
+ }
1316
+ get noBorderRadiusMobile() {
1317
+ return this.getAttribute("no-border-radius--mobile");
1318
+ }
1319
+ set noBorderRadiusMobile(e) {
1320
+ this.setAttribute("no-border-radius--mobile", e);
1321
+ }
1322
+ get noBorderRadiusTablet() {
1323
+ return this.getAttribute("no-border-radius--tablet");
1324
+ }
1325
+ set noBorderRadiusTablet(e) {
1326
+ this.setAttribute("no-border-radius--tablet", e);
1327
+ }
1328
+ get noBorderRadiusLaptop() {
1329
+ return this.getAttribute("no-border-radius--laptop");
1330
+ }
1331
+ set noBorderRadiusLaptop(e) {
1332
+ this.setAttribute("no-border-radius--laptop", e);
1333
+ }
1334
+ get backgroundColor() {
1335
+ return this.getAttribute("background-color");
1336
+ }
1337
+ set backgroundColor(e) {
1338
+ this.setAttribute("background-color", e);
1339
+ }
1340
+ get backgroundColorMobile() {
1341
+ return this.getAttribute("background-color--mobile");
1342
+ }
1343
+ set backgroundColorMobile(e) {
1344
+ this.setAttribute("background-color--mobile", e);
1345
+ }
1346
+ get backgroundColorTablet() {
1347
+ return this.getAttribute("background-color--tablet");
1348
+ }
1349
+ set backgroundColorTablet(e) {
1350
+ this.setAttribute("background-color--tablet", e);
1351
+ }
1352
+ get backgroundColorLaptop() {
1353
+ return this.getAttribute("background-color--laptop");
1354
+ }
1355
+ set backgroundColorLaptop(e) {
1356
+ this.setAttribute("background-color--laptop", e);
1357
+ }
1358
+ get gradient() {
1359
+ return this.getAttribute("background-gradient");
1360
+ }
1361
+ set gradient(e) {
1362
+ this.setAttribute("background-gradient", e);
1363
+ }
1364
+ get gradientMobile() {
1365
+ return this.getAttribute("background-gradient--mobile");
1366
+ }
1367
+ set gradientMobile(e) {
1368
+ this.setAttribute("background-gradient--mobile", e);
1369
+ }
1370
+ get gradientTablet() {
1371
+ return this.getAttribute("background-gradient--tablet");
1372
+ }
1373
+ set gradientTablet(e) {
1374
+ this.setAttribute("background-gradient--tablet", e);
1375
+ }
1376
+ get gradientLaptop() {
1377
+ return this.getAttribute("background-gradient--laptop");
1378
+ }
1379
+ set gradientLaptop(e) {
1380
+ this.setAttribute("background-gradient--laptop", e);
1381
+ }
1382
+ get backgroundImage() {
1383
+ return this.getAttribute("background-image");
1384
+ }
1385
+ set backgroundImage(e) {
1386
+ this.setAttribute("background-image", e);
1387
+ }
1388
+ get backgroundImageMobile() {
1389
+ return this.getAttribute("background-image--mobile");
1390
+ }
1391
+ set backgroundImageMobile(e) {
1392
+ this.setAttribute("background-image--mobile", e);
1393
+ }
1394
+ get backgroundImageTablet() {
1395
+ return this.getAttribute("background-image--tablet");
1396
+ }
1397
+ set backgroundImageTablet(e) {
1398
+ this.setAttribute("background-image--tablet", e);
1399
+ }
1400
+ get backgroundImageLaptop() {
1401
+ return this.getAttribute("background-image--laptop");
1402
+ }
1403
+ set backgroundImageLaptop(e) {
1404
+ this.setAttribute("background-image--laptop", e);
1405
+ }
1406
+ get backgroundSize() {
1407
+ return this.getAttribute("background-size");
1408
+ }
1409
+ set backgroundSize(e) {
1410
+ this.setAttribute("background-size", e);
1411
+ }
1412
+ get backgroundPosition() {
1413
+ return this.getAttribute("background-position");
1414
+ }
1415
+ set backgroundPosition(e) {
1416
+ this.setAttribute("background-position", e);
1417
+ }
1418
+ get boxShadow() {
1419
+ return this.getAttribute("box-shadow");
1420
+ }
1421
+ set boxShadow(e) {
1422
+ this.setAttribute("box-shadow", e);
1423
+ }
1424
+ get anchorOffset() {
1425
+ return this.getAttribute("anchor-offset");
1426
+ }
1427
+ set anchorOffset(e) {
1428
+ this.setAttribute("anchor-offset", e);
1429
+ }
1430
+ get anchorSpacing() {
1431
+ return this.getAttribute("anchor-spacing");
1432
+ }
1433
+ set anchorSpacing(e) {
1434
+ this.setAttribute("anchor-spacing", e);
1435
+ }
1436
+ get inverted() {
1437
+ return this.hasAttribute("inverted");
1438
+ }
1439
+ set inverted(e) {
1440
+ e ? this.setAttribute("inverted", "") : this.removeAttribute("inverted");
1441
+ }
1442
+ get subgridRows() {
1443
+ return this.getAttribute("subgrid-rows");
1444
+ }
1445
+ set subgridRows(e) {
1446
+ this.setAttribute("subgrid-rows", e);
1447
+ }
1448
+ get subgridGap() {
1449
+ return this.getAttribute("subgrid-gap");
1450
+ }
1451
+ set subgridGap(e) {
1452
+ this.setAttribute("subgrid-gap", e);
1453
+ }
1454
+ get subgridGapMobile() {
1455
+ return this.getAttribute("subgrid-gap--mobile");
1456
+ }
1457
+ set subgridGapMobile(e) {
1458
+ this.setAttribute("subgrid-gap--mobile", e);
1459
+ }
1460
+ get subgridGapTablet() {
1461
+ return this.getAttribute("subgrid-gap--tablet");
1462
+ }
1463
+ set subgridGapTablet(e) {
1464
+ this.setAttribute("subgrid-gap--tablet", e);
1465
+ }
1466
+ get subgridGapLaptop() {
1467
+ return this.getAttribute("subgrid-gap--laptop");
1468
+ }
1469
+ set subgridGapLaptop(e) {
1470
+ this.setAttribute("subgrid-gap--laptop", e);
1471
+ }
1472
+ };
1473
+ V.nativeName = "div";
1474
+ let X = V;
1475
+ customElements.get("px-container") || customElements.define("px-container", X);
1476
+ 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();
1477
+ xe.replaceSync(Qe);
1478
+ const Ve = [
1479
+ "",
1480
+ "default",
1481
+ "row",
1482
+ "row-reverse",
1483
+ "column",
1484
+ "column-reverse"
1485
+ ], et = [
1486
+ "",
1487
+ "default",
1488
+ "stretch",
1489
+ "flex-start",
1490
+ "start",
1491
+ "flex-end",
1492
+ "end",
1493
+ "center",
1494
+ "baseline"
1495
+ ], tt = [
1496
+ "",
1497
+ "default",
1498
+ "flex-start",
1499
+ "start",
1500
+ "flex-end",
1501
+ "end",
1502
+ "center",
1503
+ "space-between",
1504
+ "space-around",
1505
+ "space-evenly"
1506
+ ], it = ["", "default", "nowrap", "wrap", "wrap-reverse"], rt = ["", "visible", "hidden", "scroll", "auto"];
1507
+ class Y extends E {
1508
+ constructor() {
1509
+ super(xe), this.overflowXAttributeDelegate = new je(
1510
+ this,
1511
+ "overflow-x",
1512
+ (e) => e,
1513
+ "--overflow-x"
1514
+ ), this.template = `<div class="flex-container">
1515
+ <slot></slot>
1516
+ </div>`, this.shadowRoot.innerHTML = this.template;
1517
+ }
1518
+ connectedCallback() {
1519
+ 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");
1520
+ }
1521
+ static get observedAttributes() {
1522
+ return [
1523
+ ...super.observedAttributes,
1524
+ "direction",
1525
+ "direction--mobile",
1526
+ "direction--tablet",
1527
+ "direction--laptop",
1528
+ "direction--desktop",
1529
+ "gap",
1530
+ "gap--mobile",
1531
+ "gap--tablet",
1532
+ "gap--laptop",
1533
+ "gap--desktop",
1534
+ "justify-content",
1535
+ "justify-content--mobile",
1536
+ "justify-content--tablet",
1537
+ "justify-content--laptop",
1538
+ "justify-content--desktop",
1539
+ "align-items",
1540
+ "align-items--mobile",
1541
+ "align-items--tablet",
1542
+ "align-items--laptop",
1543
+ "align-items--desktop",
1544
+ "wrap",
1545
+ "wrap--mobile",
1546
+ "wrap--tablet",
1547
+ "wrap--laptop",
1548
+ "wrap--desktop",
1549
+ "overflow-x",
1550
+ "overflow-x--mobile",
1551
+ "overflow-x--tablet",
1552
+ "overflow-x--laptop",
1553
+ "overflow-x--desktop"
1554
+ ];
1555
+ }
1556
+ attributeChangedCallback(e, t, i) {
1557
+ switch (e) {
1558
+ case "gap":
1559
+ case "gap--mobile":
1560
+ case "gap--tablet":
1561
+ case "gap--laptop":
1562
+ case "gap--desktop":
1563
+ this.updateFlexProperties(e, t, i, ce);
1564
+ break;
1565
+ case "justify-content":
1566
+ case "justify-content--mobile":
1567
+ case "justify-content--tablet":
1568
+ case "justify-content--laptop":
1569
+ case "justify-content--desktop":
1570
+ this.updateFlexProperties(
1571
+ e,
1572
+ t,
1573
+ i,
1574
+ tt
1575
+ );
1576
+ break;
1577
+ case "align-items":
1578
+ case "align-items--mobile":
1579
+ case "align-items--tablet":
1580
+ case "align-items--laptop":
1581
+ case "align-items--desktop":
1582
+ this.updateFlexProperties(e, t, i, et);
1583
+ break;
1584
+ case "wrap":
1585
+ case "wrap--mobile":
1586
+ case "wrap--tablet":
1587
+ case "wrap--laptop":
1588
+ case "wrap--desktop":
1589
+ this.updateFlexProperties(e, t, i, it);
1590
+ break;
1591
+ case "direction":
1592
+ case "direction--mobile":
1593
+ case "direction--tablet":
1594
+ case "direction--laptop":
1595
+ case "direction--desktop":
1596
+ this.updateFlexProperties(e, t, i, Ve);
1597
+ break;
1598
+ case "overflow-x":
1599
+ case "overflow-x--mobile":
1600
+ case "overflow-x--tablet":
1601
+ case "overflow-x--laptop":
1602
+ case "overflow-x--desktop":
1603
+ this.updateOverflowX(e, t, i, rt);
1604
+ break;
1605
+ default:
1606
+ super.attributeChangedCallback(e, t, i);
1607
+ break;
1608
+ }
1609
+ }
1610
+ updateOverflowX(e, t, i, r) {
1611
+ if (!T(r, i)) {
1612
+ p(
1613
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1614
+ );
1615
+ return;
1616
+ }
1617
+ this.overflowXAttributeDelegate.attributeChangedCallback(
1618
+ e,
1619
+ t,
1620
+ i
1621
+ );
1622
+ }
1623
+ updateFlexProperties(e, t, i, r) {
1624
+ this.checkName(r, i) || p(
1625
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1626
+ );
1627
+ const o = e.indexOf("--") > -1, n = o ? e.split("--")[0] : e, c = [];
1628
+ if (!o)
1629
+ 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) => {
1630
+ this.updateStyle(n, d, t, r), this.updateStyle(n, d, i, r);
1631
+ });
1632
+ else {
1633
+ const d = e.split("--")[1];
1634
+ this.updateStyle(n, d, t, r), this.updateStyle(n, d, i, r);
1635
+ }
1636
+ }
1637
+ updateStyle(e, t, i, r) {
1638
+ i && (e === "gap" && r && r.includes(i) ? (this.$el.style.setProperty(
1639
+ `--flex-${e}--${t}-value`,
1640
+ `var(--px-spacing-${i}-${t === "laptop" ? "desktop" : t})`
1641
+ ), this.style.setProperty(
1642
+ `--host-gap--${t}`,
1643
+ `var(--px-spacing-${i}-${t === "laptop" ? "desktop" : t})`
1644
+ )) : this.$el.style.setProperty(
1645
+ `--flex-${e}--${t}-value`,
1646
+ i
1647
+ ));
1648
+ }
1649
+ get direction() {
1650
+ return this.getAttribute("direction");
1651
+ }
1652
+ set direction(e) {
1653
+ this.setAttribute("direction", e);
1654
+ }
1655
+ get directionMobile() {
1656
+ return this.getAttribute("direction--mobile");
1657
+ }
1658
+ set directionMobile(e) {
1659
+ this.setAttribute("direction--mobile", e);
1660
+ }
1661
+ get directionTablet() {
1662
+ return this.getAttribute("direction--tablet");
1663
+ }
1664
+ set directionTablet(e) {
1665
+ this.setAttribute("direction--tablet", e);
1666
+ }
1667
+ get directionLaptop() {
1668
+ return this.getAttribute("direction--laptop");
1669
+ }
1670
+ set directionLaptop(e) {
1671
+ this.setAttribute("direction--laptop", e);
1672
+ }
1673
+ get directionDesktop() {
1674
+ return this.getAttribute("direction--desktop");
1675
+ }
1676
+ set directionDesktop(e) {
1677
+ this.setAttribute("direction--desktop", e);
1678
+ }
1679
+ get gap() {
1680
+ return this.getAttribute("gap");
1681
+ }
1682
+ set gap(e) {
1683
+ this.setAttribute("gap", e);
1684
+ }
1685
+ get gapMobile() {
1686
+ return this.getAttribute("gap--mobile");
1687
+ }
1688
+ set gapMobile(e) {
1689
+ this.setAttribute("gap--mobile", e);
1690
+ }
1691
+ get gapTablet() {
1692
+ return this.getAttribute("gap--tablet");
1693
+ }
1694
+ set gapTablet(e) {
1695
+ this.setAttribute("gap--tablet", e);
1696
+ }
1697
+ get gapLaptop() {
1698
+ return this.getAttribute("gap--laptop");
1699
+ }
1700
+ set gapLaptop(e) {
1701
+ this.setAttribute("gap--laptop", e);
1702
+ }
1703
+ get gapDesktop() {
1704
+ return this.getAttribute("gap--desktop");
1705
+ }
1706
+ set gapDesktop(e) {
1707
+ this.setAttribute("gap--desktop", e);
1708
+ }
1709
+ get justifyContent() {
1710
+ return this.getAttribute("justify-content");
1711
+ }
1712
+ set justifyContent(e) {
1713
+ this.setAttribute("justify-content", e);
1714
+ }
1715
+ get justifyContentMobile() {
1716
+ return this.getAttribute("justify-content--mobile");
1717
+ }
1718
+ set justifyContentMobile(e) {
1719
+ this.setAttribute("justify-content--mobile", e);
1720
+ }
1721
+ get justifyContentTablet() {
1722
+ return this.getAttribute("justify-content--tablet");
1723
+ }
1724
+ set justifyContentTablet(e) {
1725
+ this.setAttribute("justify-content--tablet", e);
1726
+ }
1727
+ get justifyContentLaptop() {
1728
+ return this.getAttribute("justify-content--laptop");
1729
+ }
1730
+ set justifyContentLaptop(e) {
1731
+ this.setAttribute("justify-content--laptop", e);
1732
+ }
1733
+ get justifyContentDesktop() {
1734
+ return this.getAttribute("justify-content--desktop");
1735
+ }
1736
+ set justifyContentDesktop(e) {
1737
+ this.setAttribute("justify-content--desktop", e);
1738
+ }
1739
+ get alignItems() {
1740
+ return this.getAttribute("align-items");
1741
+ }
1742
+ set alignItems(e) {
1743
+ this.setAttribute("align-items", e);
1744
+ }
1745
+ get alignItemsMobile() {
1746
+ return this.getAttribute("align-items--mobile");
1747
+ }
1748
+ set alignItemsMobile(e) {
1749
+ this.setAttribute("align-items--mobile", e);
1750
+ }
1751
+ get alignItemsTablet() {
1752
+ return this.getAttribute("align-items--tablet");
1753
+ }
1754
+ set alignItemsTablet(e) {
1755
+ this.setAttribute("align-items--tablet", e);
1756
+ }
1757
+ get alignItemsLaptop() {
1758
+ return this.getAttribute("align-items--laptop");
1759
+ }
1760
+ set alignItemsLaptop(e) {
1761
+ this.setAttribute("align-items--laptop", e);
1762
+ }
1763
+ get alignItemsDesktop() {
1764
+ return this.getAttribute("align-items--desktop");
1765
+ }
1766
+ set alignItemsDesktop(e) {
1767
+ this.setAttribute("align-items--desktop", e);
1768
+ }
1769
+ get wrap() {
1770
+ return this.getAttribute("wrap");
1771
+ }
1772
+ set wrap(e) {
1773
+ this.setAttribute("wrap", e);
1774
+ }
1775
+ get wrapMobile() {
1776
+ return this.getAttribute("wrap--mobile");
1777
+ }
1778
+ set wrapMobile(e) {
1779
+ this.setAttribute("wrap--mobile", e);
1780
+ }
1781
+ get wrapTablet() {
1782
+ return this.getAttribute("wrap--tablet");
1783
+ }
1784
+ set wrapTablet(e) {
1785
+ this.setAttribute("wrap--tablet", e);
1786
+ }
1787
+ get wrapLaptop() {
1788
+ return this.getAttribute("wrap--laptop");
1789
+ }
1790
+ set wrapLaptop(e) {
1791
+ this.setAttribute("wrap--laptop", e);
1792
+ }
1793
+ get wrapDesktop() {
1794
+ return this.getAttribute("wrap--desktop");
1795
+ }
1796
+ set wrapDesktop(e) {
1797
+ this.setAttribute("wrap--desktop", e);
1798
+ }
1799
+ get overflowX() {
1800
+ return this.getAttribute("overflow-x");
1801
+ }
1802
+ set overflowX(e) {
1803
+ this.setAttribute("overflow-x", e);
1804
+ }
1805
+ get overflowXMobile() {
1806
+ return this.getAttribute("overflow-x--mobile");
1807
+ }
1808
+ set overflowXMobile(e) {
1809
+ this.setAttribute("overflow-x--mobile", e);
1810
+ }
1811
+ get overflowXTablet() {
1812
+ return this.getAttribute("overflow-x--tablet");
1813
+ }
1814
+ set overflowXTablet(e) {
1815
+ this.setAttribute("overflow-x--tablet", e);
1816
+ }
1817
+ get overflowXLaptop() {
1818
+ return this.getAttribute("overflow-x--laptop");
1819
+ }
1820
+ set overflowXLaptop(e) {
1821
+ this.setAttribute("overflow-x--laptop", e);
1822
+ }
1823
+ get overflowXDesktop() {
1824
+ return this.getAttribute("overflow-x--desktop");
1825
+ }
1826
+ set overflowXDesktop(e) {
1827
+ this.setAttribute("overflow-x--desktop", e);
1828
+ }
1829
+ get $el() {
1830
+ return this.shadowRoot.querySelector(".flex-container");
1831
+ }
1832
+ }
1833
+ customElements.get("px-stack") || customElements.define("px-stack", Y);
1834
+ class ot extends Y {
1835
+ constructor() {
1836
+ super();
1837
+ }
1838
+ connectedCallback() {
1839
+ super.connectedCallback(), this.direction = "column", this.directionMobile = "column", this.directionTablet = "column", this.directionLaptop = "column", this.directionDesktop = "column";
1840
+ }
1841
+ }
1842
+ customElements.get("px-vstack") || customElements.define("px-vstack", ot);
1843
+ class st extends Y {
1844
+ constructor() {
1845
+ super();
1846
+ }
1847
+ connectedCallback() {
1848
+ super.connectedCallback(), this.direction = "row", this.directionMobile = "row", this.directionTablet = "row", this.directionLaptop = "row", this.directionDesktop = "row";
1849
+ }
1850
+ }
1851
+ customElements.get("px-hstack") || customElements.define("px-hstack", st);
1852
+ class at extends HTMLElement {
1853
+ constructor() {
1854
+ super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
1855
+ }
1856
+ static get observedAttributes() {
1857
+ return ["grow", "nogap"];
1858
+ }
1859
+ attributeChangedCallback(e, t, i) {
1860
+ e === "grow" && (this.growValue = i || "1", this.isZeroSized || (this.style.flexGrow = this.growValue), this.scheduleRecheck());
1861
+ }
1862
+ connectedCallback() {
1863
+ this.growValue = this.getAttribute("grow") || "1", this.style.flexGrow = this.growValue, this.nogap && (this.resizeObserver = new ResizeObserver(() => {
1864
+ this.handleSizeChange();
1865
+ }), this.isVertical = this.parentElement.localName === "px-vstack" || this.parentElement.style.flexDirection === "column", this.resizeObserver.observe(this), this.scheduleRecheck());
1866
+ }
1867
+ disconnectedCallback() {
1868
+ var e;
1869
+ (e = this.resizeObserver) == null || e.disconnect(), this.recheckHandle && (cancelAnimationFrame(this.recheckHandle), this.recheckHandle = void 0);
1870
+ }
1871
+ get grow() {
1872
+ return this.getAttribute("grow");
1873
+ }
1874
+ set grow(e) {
1875
+ this.setAttribute("grow", e);
1876
+ }
1877
+ scheduleRecheck() {
1878
+ this.recheckHandle && cancelAnimationFrame(this.recheckHandle), this.recheckHandle = requestAnimationFrame(() => {
1879
+ this.recheckHandle = void 0, this.recalculateVisibility();
1880
+ });
1881
+ }
1882
+ recalculateVisibility() {
1883
+ this.isConnected && (this.style.display = "", this.style.flexGrow = this.growValue, this.handleSizeChange());
1884
+ }
1885
+ handleSizeChange() {
1886
+ const e = this.getBoundingClientRect(), t = e.width === 0 && !this.isVertical || e.height === 0 && this.isVertical;
1887
+ this.isZeroSized !== t && (this.isZeroSized = t, this.updateParticipation());
1888
+ }
1889
+ updateParticipation() {
1890
+ this.isZeroSized ? (this.style.display = "none", this.style.flexGrow = "0") : (this.style.display = "", this.style.flexGrow = this.growValue);
1891
+ }
1892
+ get nogap() {
1893
+ return this.hasAttribute("nogap");
1894
+ }
1895
+ set nogap(e) {
1896
+ e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
1897
+ }
1898
+ }
1899
+ customElements.get("px-spacer") || customElements.define("px-spacer", at);
1900
+ 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();
1901
+ ve.replaceSync(nt);
1902
+ class ct extends E {
1903
+ constructor() {
1904
+ super(ve), this.template = (e) => `
1905
+ <px-container border-radius="none" padding="none">
1906
+ <px-vstack>
1907
+ <px-container id="header-container" border-radius="none">
1908
+ <px-hstack>
1909
+ <px-spacer></px-spacer>
1910
+ <px-vstack
1911
+ id="header-vstack-container"
1912
+ gap="s"
1913
+ grow="${this.grow}"
1914
+ basis="${this.basis}"
1915
+ >
1916
+ <slot name="header-container"></slot>
1917
+ </px-vstack>
1918
+ <px-spacer></px-spacer>
1919
+ </px-hstack>
1920
+ </px-container>
1921
+ <px-container
1922
+ id="image-container"
1923
+ border-radius="none"
1924
+ padding="none"
1925
+ padding-top="xl"
1926
+ id="image-box"
1927
+ background-size="cover"
1928
+ background-position="top center"
1929
+ padding-bottom="xl"
1930
+ border-radius="none"
1931
+ bgimg="${this.backgroundImage}"
1932
+ >
1933
+ <px-hstack>
1934
+ <px-spacer></px-spacer>
1935
+ <px-vstack grow="${this.grow}" basis="${this.basis}">
1936
+ <slot name="image-container"></slot>
1937
+ </px-vstack>
1938
+ <px-spacer></px-spacer>
1939
+ </px-hstack>
1940
+ </px-container>
1941
+ ${e ? ` <px-hstack>
1942
+ <px-spacer></px-spacer>
1943
+ <px-container border-radius="none" box-shadow="xl" id="image-sticky-box" border="s" grow="${this.grow}" basis="${this.basis}" border-radius="m">
1944
+ <px-vstack gap="s">
1945
+ <slot name="image-sticky-container"></slot>
1946
+ </px-vstack>
1947
+ </px-container>
1948
+ <px-spacer></px-spacer>
1949
+ </px-hstack>` : ""}
1950
+ <px-container
1951
+ id="body-container"
1952
+ id="main"
1953
+ background-color="${this.backgroundColor}"
1954
+ padding="none"
1955
+ padding-top="xl"
1956
+ padding-bottom="xl"
1957
+ >
1958
+ <px-hstack>
1959
+ <px-spacer></px-spacer>
1960
+ <px-vstack
1961
+ id="body-vstack-container"
1962
+ gap="l"
1963
+ grow="${this.grow}"
1964
+ basis="${this.basis}"
1965
+ >
1966
+ <slot name="body-container"></slot>
1967
+ </px-vstack>
1968
+ <px-spacer></px-spacer>
1969
+ </px-hstack>
1970
+ </px-container>
1971
+ <px-container
1972
+ id="contact-container"
1973
+ border-radius="none"
1974
+ id="main"
1975
+ background-color="surface-default"
1976
+ padding="none"
1977
+ padding-top="xl"
1978
+ padding-bottom="xl"
1979
+ >
1980
+ <px-hstack>
1981
+ <px-spacer></px-spacer>
1982
+ <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">
1983
+ <slot name="contact-container"></slot>
1984
+ </px-vstack>
1985
+ <px-spacer></px-spacer>
1986
+ </px-hstack>
1987
+ </px-container>
1988
+ <px-container
1989
+ id="footer-container"
1990
+ background-color="none"
1991
+ border-radius="none"
1992
+ style="background-color: rgb(108, 66, 156)"
1993
+ padding-top="xl"
1994
+ padding-bottom="xl"
1995
+ >
1996
+ <px-hstack>
1997
+ <px-spacer></px-spacer>
1998
+ <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">
1999
+ <slot name="footer-container"></slot>
2000
+ </px-vstack>
2001
+ <px-spacer></px-spacer>
2002
+ </px-hstack>
2003
+ </px-container>
2004
+ </px-vstack>
2005
+ </px-container>
2006
+ `, this.shadowRoot.innerHTML = this.template(!!this.$imageStickySlot);
2007
+ }
2008
+ static get observedAttributes() {
2009
+ return [
2010
+ ...super.observedAttributes,
2011
+ "background-image",
2012
+ "gap",
2013
+ "background-color",
2014
+ "padding-vertical",
2015
+ "padding-horizontal"
2016
+ ];
2017
+ }
2018
+ get $wideImage() {
2019
+ return this.shadowRoot.querySelector("#image-box");
2020
+ }
2021
+ get $bodyVStackContainer() {
2022
+ return this.shadowRoot.querySelector("#header-vstack-container");
2023
+ }
2024
+ get $bodyContainer() {
2025
+ return this.shadowRoot.querySelector("#body-container");
2026
+ }
2027
+ get $contactContainer() {
2028
+ return this.shadowRoot.querySelector("#contact-container");
2029
+ }
2030
+ get $footerContainer() {
2031
+ return this.shadowRoot.querySelector("#footer-container");
2032
+ }
2033
+ get $headerContainer() {
2034
+ return this.shadowRoot.querySelector("#header-container");
2035
+ }
2036
+ get $imageContainer() {
2037
+ return this.shadowRoot.querySelector("#image-container");
2038
+ }
2039
+ get backgroundImage() {
2040
+ return this.getAttribute("background-image");
2041
+ }
2042
+ get $imageStickySlot() {
2043
+ return this.querySelector('*[slot="image-sticky-container"]');
2044
+ }
2045
+ get $main() {
2046
+ return this.shadowRoot.querySelector("#main");
2047
+ }
2048
+ get backgroundColor() {
2049
+ return this.getAttribute("background-color") || "none";
2050
+ }
2051
+ get paddingVertical() {
2052
+ return this.getAttribute("padding-vertical");
2053
+ }
2054
+ get paddingHorizontal() {
2055
+ return this.getAttribute("padding-horizontal");
2056
+ }
2057
+ set paddingVertical(e) {
2058
+ this.setAttribute("padding-vertical", e);
2059
+ }
2060
+ set paddingHorizontal(e) {
2061
+ this.setAttribute("padding-horizontal", e);
2062
+ }
2063
+ get gap() {
2064
+ return this.getAttribute("gap");
2065
+ }
2066
+ connectedCallback() {
2067
+ this.handlePaddingVerticalChange(this.paddingVertical), this.handlePaddingHorizontalChange(this.paddingHorizontal);
2068
+ }
2069
+ attributeChangedCallback(e, t, i) {
2070
+ if (t !== i)
2071
+ switch (e) {
2072
+ case "background-image":
2073
+ this.$imageContainer.setAttribute("background-image", i);
2074
+ break;
2075
+ case "gap":
2076
+ this.$bodyVStackContainer.setAttribute("gap", i);
2077
+ break;
2078
+ case "background-color":
2079
+ this.$bodyContainer.setAttribute(
2080
+ "background-color",
2081
+ I.indexOf(i) > 0 ? i : "none"
2082
+ );
2083
+ break;
2084
+ case "padding-vertical":
2085
+ this.handlePaddingVerticalChange(i);
2086
+ break;
2087
+ case "padding-horizontal":
2088
+ this.handlePaddingHorizontalChange(i);
2089
+ break;
2090
+ default:
2091
+ super.attributeChangedCallback(e, t, i);
2092
+ }
2093
+ }
2094
+ handlePaddingVerticalChange(e) {
2095
+ this.$headerContainer.setAttribute("padding-top", e), this.$footerContainer.setAttribute("padding-bottom", e);
2096
+ }
2097
+ handlePaddingHorizontalChange(e) {
2098
+ 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;
2099
+ }
2100
+ }
2101
+ customElements.get("px-page") === void 0 && customElements.define("px-page", ct);
2102
+ 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();
2103
+ me.replaceSync(lt);
2104
+ ye.replaceSync(pt);
2105
+ const ee = class ee extends ne {
2106
+ constructor() {
2107
+ super(me, ye), this.template = () => "<span><slot></slot></span>", this.shadowRoot.innerHTML = this.template();
2108
+ }
2109
+ static get observedAttributes() {
2110
+ return [
2111
+ ...super.observedAttributes,
2112
+ "color",
2113
+ "font-size",
2114
+ "font-weight",
2115
+ "inverted",
2116
+ "disabled",
2117
+ "strikethrough"
2118
+ ];
2119
+ }
2120
+ attributeChangedCallback(e, t, i) {
2121
+ if (t !== i)
2122
+ switch (e) {
2123
+ case "color":
2124
+ this.updateTypography(e, t, i, Pe);
2125
+ break;
2126
+ case "font-size":
2127
+ this.updateTypography(e, t, i, Be);
2128
+ break;
2129
+ case "font-weight":
2130
+ this.updateTypography(e, t, i, He);
2131
+ break;
2132
+ case "disabled":
2133
+ this.color = "state-disabled";
2134
+ break;
2135
+ default:
2136
+ super.attributeChangedCallback(e, t, i);
2137
+ break;
2138
+ }
2139
+ }
2140
+ updateTypography(e, t, i, r) {
2141
+ 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(
2142
+ `"${i}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
2143
+ );
2144
+ }
2145
+ get color() {
2146
+ return this.getAttribute("color");
2147
+ }
2148
+ set color(e) {
2149
+ this.setAttribute("color", e);
2150
+ }
2151
+ get fontsize() {
2152
+ return this.getAttribute("font-size");
2153
+ }
2154
+ set fontsize(e) {
2155
+ this.setAttribute("font-size", e);
2156
+ }
2157
+ get fontweight() {
2158
+ return this.getAttribute("font-weight");
2159
+ }
2160
+ set fontweight(e) {
2161
+ this.setAttribute("font-weight", e);
2162
+ }
2163
+ get inverted() {
2164
+ return this.getAttribute("inverted");
2165
+ }
2166
+ set inverted(e) {
2167
+ P(e) ? this.removeAttribute("inverted") : this.setAttribute("inverted", e);
2168
+ }
2169
+ get strikethrough() {
2170
+ return this.getAttribute("strikethrough");
2171
+ }
2172
+ set strikethrough(e) {
2173
+ P(e) ? this.removeAttribute("strikethrough") : this.setAttribute("strikethrough", e);
2174
+ }
2175
+ get disabled() {
2176
+ return this.getAttribute("disabled");
2177
+ }
2178
+ set disabled(e) {
2179
+ P(e) ? this.removeAttribute("disabled") : this.setAttribute("disabled", e);
2180
+ }
2181
+ };
2182
+ ee.nativeName = "span";
2183
+ let W = ee;
2184
+ customElements.get("px-span") || customElements.define("px-span", W);
2185
+ 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();
2186
+ we.replaceSync(ke);
2187
+ var M, Ae;
2188
+ class dt extends HTMLElement {
2189
+ constructor() {
2190
+ super();
2191
+ l(this, M);
2192
+ this.template = () => `
2193
+ <px-container border-radius="none" padding="s" background-color="container-default" class="autocomplete-header">
2194
+ <px-hstack gap="s" align-items="center">
2195
+ <px-icon name="search" color="brand" size="m" from="lavender"></px-icon>
2196
+ <px-span size="body-s"><slot></slot></px-span>
2197
+ </px-hstack>
2198
+ </px-container>
2199
+ `, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [we];
2200
+ }
2201
+ connectedCallback() {
2202
+ u(this, M, Ae).call(this);
2203
+ }
2204
+ get $icon() {
2205
+ return this.shadowRoot.querySelector("px-icon");
2206
+ }
2207
+ get $text() {
2208
+ return this.shadowRoot.querySelector("px-span");
2209
+ }
2210
+ }
2211
+ M = new WeakSet(), Ae = function() {
2212
+ var t;
2213
+ ((t = this.parentElement) == null ? void 0 : t.localName) === "px-autocomplete" && !this.slot && (this.slot = "dropdown-content");
2214
+ };
2215
+ customElements.get("px-autocomplete-header") || customElements.define("px-autocomplete-header", dt);
2216
+ const $e = new CSSStyleSheet();
2217
+ $e.replaceSync(ke);
2218
+ var j, ze;
2219
+ class ut extends HTMLElement {
2220
+ constructor() {
2221
+ super();
2222
+ l(this, j);
2223
+ 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];
2224
+ }
2225
+ static get observedAttributes() {
2226
+ return ["selected", "type"];
2227
+ }
2228
+ attributeChangedCallback(t, i, r) {
2229
+ if (i !== r) {
2230
+ if (t === "selected") {
2231
+ this.$button.setAttribute("aria-selected", String(r !== null));
2232
+ return;
2233
+ }
2234
+ r === null ? this.$button.removeAttribute(t) : this.$button.setAttribute(t, r);
2235
+ }
2236
+ }
2237
+ connectedCallback() {
2238
+ u(this, j, ze).call(this), this.$button.setAttribute(
2239
+ "aria-selected",
2240
+ String(this.hasAttribute("selected"))
2241
+ ), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "-1");
2242
+ }
2243
+ // delegate host focus to the inner option button
2244
+ focus(t) {
2245
+ this.$button.focus(t);
2246
+ }
2247
+ get selected() {
2248
+ return this.hasAttribute("selected");
2249
+ }
2250
+ set selected(t) {
2251
+ this.toggleAttribute("selected", t);
2252
+ }
2253
+ get type() {
2254
+ return this.getAttribute("type") ?? "button";
2255
+ }
2256
+ set type(t) {
2257
+ this.setAttribute("type", t);
2258
+ }
2259
+ get $button() {
2260
+ return this.shadowRoot.querySelector("button");
2261
+ }
2262
+ }
2263
+ j = new WeakSet(), ze = function() {
2264
+ var t;
2265
+ ((t = this.parentElement) == null ? void 0 : t.localName) === "px-autocomplete" && !this.slot && (this.slot = "dropdown-content");
2266
+ };
2267
+ customElements.get("px-autocomplete-option") || customElements.define("px-autocomplete-option", ut);
2268
+ export {
2269
+ G as Autocomplete,
2270
+ dt as AutocompleteHeader,
2271
+ ut as AutocompleteOption
2272
+ };