@brad-frost-web/eddie-recipes 0.74.0 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/DialogController.DHQ_EC3d.js +89 -0
- package/cdn/chunks/{textarea-field.BFFO4Zb4.js → textarea-field.D2zfXivW.js} +44 -41
- package/cdn/eddie-recipes-autoloader.js +8 -7
- package/cdn/recipes/common/example-form/example-form.js +1 -1
- package/cdn/recipes/common/sale-promo/sale-promo.js +164 -0
- package/cdn/recipes/common/video-card/video-card.js +54 -50
- package/cdn/recipes/tools/theme-customizer/theme-customizer.js +200 -285
- package/cdn/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +22 -22
- package/package.json +1 -1
- package/recipes/common/sale-promo/sale-promo.d.ts +107 -0
- package/recipes/common/sale-promo/sale-promo.d.ts.map +1 -0
- package/recipes/common/sale-promo/sale-promo.js +93 -0
- package/recipes/common/video-card/video-card.d.ts +15 -1
- package/recipes/common/video-card/video-card.d.ts.map +1 -1
- package/recipes/common/video-card/video-card.js +57 -53
- package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.d.ts +9 -6
- package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.d.ts.map +1 -1
- package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +13 -13
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
function i() {
|
|
2
|
+
let t = document.activeElement;
|
|
3
|
+
for (; t?.shadowRoot?.activeElement; )
|
|
4
|
+
t = t.shadowRoot.activeElement;
|
|
5
|
+
return t;
|
|
6
|
+
}
|
|
7
|
+
class s {
|
|
8
|
+
constructor(e, o) {
|
|
9
|
+
this.wiredDialog = null, this.trigger = null, this.previousBodyOverflow = null, this.options = o, this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), e.addController(this);
|
|
10
|
+
}
|
|
11
|
+
isModal() {
|
|
12
|
+
return this.options.isModal ? this.options.isModal() : !0;
|
|
13
|
+
}
|
|
14
|
+
hostDisconnected() {
|
|
15
|
+
this.unlockScroll(), this.teardownDialog();
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Runs after every host render. Wires listeners to the current dialog element
|
|
19
|
+
* and syncs the native open state to the host's desired state.
|
|
20
|
+
*/
|
|
21
|
+
hostUpdated() {
|
|
22
|
+
const e = this.options.getDialog();
|
|
23
|
+
e && (e !== this.wiredDialog && (this.teardownDialog(), e.addEventListener("cancel", this.handleCancel), e.addEventListener("keydown", this.handleKeydown), this.wiredDialog = e), this.sync(e));
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Reconcile the native dialog's open state with the host's desired state.
|
|
27
|
+
* Idempotent — acts only on an actual open↔closed transition.
|
|
28
|
+
*/
|
|
29
|
+
sync(e) {
|
|
30
|
+
const o = this.options.isOpen();
|
|
31
|
+
o && !e.open ? this.open(e) : !o && e.open && this.close(e);
|
|
32
|
+
}
|
|
33
|
+
open(e) {
|
|
34
|
+
if (this.isModal()) {
|
|
35
|
+
const o = i();
|
|
36
|
+
this.trigger = o instanceof HTMLElement ? o : null, e.showModal(), this.lockScroll(), this.moveInitialFocus(e);
|
|
37
|
+
} else
|
|
38
|
+
e.show();
|
|
39
|
+
}
|
|
40
|
+
close(e) {
|
|
41
|
+
e.close(), this.unlockScroll(), this.restoreFocus();
|
|
42
|
+
}
|
|
43
|
+
moveInitialFocus(e) {
|
|
44
|
+
requestAnimationFrame(() => {
|
|
45
|
+
(this.options.getInitialFocus?.() ?? e).focus();
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Return focus to the element that opened the dialog. `showModal()` restores
|
|
50
|
+
* focus natively, but `show()` (non-modal) does not, and guarding a trigger
|
|
51
|
+
* that was removed from the DOM is on us either way (Sutton).
|
|
52
|
+
*/
|
|
53
|
+
restoreFocus() {
|
|
54
|
+
const e = this.trigger;
|
|
55
|
+
this.trigger = null, e && e.isConnected && e.focus();
|
|
56
|
+
}
|
|
57
|
+
lockScroll() {
|
|
58
|
+
this.previousBodyOverflow === null && (this.previousBodyOverflow = document.body.style.overflow), document.body.style.overflow = "hidden";
|
|
59
|
+
}
|
|
60
|
+
unlockScroll() {
|
|
61
|
+
this.previousBodyOverflow !== null && (document.body.style.overflow = this.previousBodyOverflow, this.previousBodyOverflow = null);
|
|
62
|
+
}
|
|
63
|
+
teardownDialog() {
|
|
64
|
+
this.wiredDialog && (this.wiredDialog.removeEventListener("cancel", this.handleCancel), this.wiredDialog.removeEventListener("keydown", this.handleKeydown), this.wiredDialog = null);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Native `cancel` fires when a modal dialog receives a genuine close request
|
|
68
|
+
* (a real Escape keypress). Prevent the default native close so the host's
|
|
69
|
+
* `isActive` stays the single source of truth — flipping it re-enters
|
|
70
|
+
* `sync()`, which performs the actual close.
|
|
71
|
+
*/
|
|
72
|
+
handleCancel(e) {
|
|
73
|
+
e.preventDefault(), this.options.onRequestClose();
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Escape-to-close via keydown, for both modal and non-modal dialogs. Non-modal
|
|
77
|
+
* dialogs never emit `cancel`, and synthetic keypresses (test harnesses) do not
|
|
78
|
+
* trigger the browser's native close request either — so this keydown path is
|
|
79
|
+
* what makes Escape work in those cases. For a real Escape on a modal dialog
|
|
80
|
+
* both this and `handleCancel` fire; `onRequestClose` is idempotent (it just
|
|
81
|
+
* sets the host's open state to false), so double-firing is harmless.
|
|
82
|
+
*/
|
|
83
|
+
handleKeydown(e) {
|
|
84
|
+
e.key === "Escape" && (e.preventDefault(), this.options.onRequestClose());
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
s as D
|
|
89
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as f } from "./EdFormElement.BHTo4Ifh.js";
|
|
2
|
-
import { r as m, o as l, b as p, n as e, e as u, s as g, l as
|
|
2
|
+
import { r as m, o as l, b as p, n as e, e as u, s as g, l as v, u as k } from "./lit.BJDcdeQB.js";
|
|
3
3
|
import { u as b } from "./uid.ChSzTghf.js";
|
|
4
4
|
import "./icon.D0LqQAM1.js";
|
|
5
5
|
import "./field-note.CqaJrUG-.js";
|
|
@@ -9,7 +9,7 @@ var _ = Object.defineProperty, d = (c, i, s, y) => {
|
|
|
9
9
|
(h = c[n]) && (a = h(i, s, a) || a);
|
|
10
10
|
return a && _(i, s, a), a;
|
|
11
11
|
};
|
|
12
|
-
class
|
|
12
|
+
class r extends f {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.type = "checkbox", this.checked = !1, this.optionalLabel = "(optional)";
|
|
15
15
|
}
|
|
@@ -94,55 +94,55 @@ class o extends f {
|
|
|
94
94
|
}
|
|
95
95
|
d([
|
|
96
96
|
e({ type: Boolean })
|
|
97
|
-
],
|
|
97
|
+
], r.prototype, "isError");
|
|
98
98
|
d([
|
|
99
99
|
e({ type: Boolean })
|
|
100
|
-
],
|
|
100
|
+
], r.prototype, "isSuccess");
|
|
101
101
|
d([
|
|
102
102
|
e({ type: Boolean })
|
|
103
|
-
],
|
|
103
|
+
], r.prototype, "readOnly");
|
|
104
104
|
d([
|
|
105
105
|
e({ type: Boolean })
|
|
106
|
-
],
|
|
106
|
+
], r.prototype, "disabled");
|
|
107
107
|
d([
|
|
108
108
|
e()
|
|
109
|
-
],
|
|
109
|
+
], r.prototype, "fieldId");
|
|
110
110
|
d([
|
|
111
111
|
e()
|
|
112
|
-
],
|
|
112
|
+
], r.prototype, "name");
|
|
113
113
|
d([
|
|
114
114
|
e({ type: Boolean })
|
|
115
|
-
],
|
|
115
|
+
], r.prototype, "checked");
|
|
116
116
|
d([
|
|
117
117
|
e()
|
|
118
|
-
],
|
|
118
|
+
], r.prototype, "fieldNote");
|
|
119
119
|
d([
|
|
120
120
|
e({ type: Boolean })
|
|
121
|
-
],
|
|
121
|
+
], r.prototype, "required");
|
|
122
122
|
d([
|
|
123
123
|
e()
|
|
124
|
-
],
|
|
124
|
+
], r.prototype, "optionalLabel");
|
|
125
125
|
d([
|
|
126
126
|
e()
|
|
127
|
-
],
|
|
127
|
+
], r.prototype, "iconName");
|
|
128
128
|
d([
|
|
129
129
|
e({ type: Boolean })
|
|
130
|
-
],
|
|
130
|
+
], r.prototype, "knockout");
|
|
131
131
|
d([
|
|
132
132
|
e({ type: Boolean })
|
|
133
|
-
],
|
|
133
|
+
], r.prototype, "inverted");
|
|
134
134
|
d([
|
|
135
135
|
e()
|
|
136
|
-
],
|
|
136
|
+
], r.prototype, "ariaDescribedBy");
|
|
137
137
|
d([
|
|
138
138
|
e()
|
|
139
|
-
],
|
|
139
|
+
], r.prototype, "size");
|
|
140
140
|
d([
|
|
141
141
|
u("input")
|
|
142
|
-
],
|
|
143
|
-
customElements.get("ed-checkbox-field-item") === void 0 && customElements.define("ed-checkbox-field-item",
|
|
144
|
-
const z = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-textarea-field__label{font-family:var(--ed-theme-typography-label-default-font-family);font-weight:var(--ed-theme-typography-label-default-font-weight);font-size:var(--ed-theme-typography-label-default-font-size);line-height:var(--ed-theme-typography-label-default-line-height);letter-spacing:var(--ed-theme-typography-label-default-letter-spacing);text-transform:var(--ed-theme-typography-label-default-text-transform);display:block;font-size:var(--ed-field-label-font-size, var(--ed-theme-typography-label-default-font-size));margin-block-end:var(--ed-field-label-gap, .25rem)}.ed-c-textarea-field--knockout .ed-c-textarea-field__label{color:var(--ed-theme-color-content-knockout)}.ed-c-textarea-field.ed-is-error .ed-c-textarea-field__label{color:var(--ed-theme-color-content-utility-error)}.ed-c-textarea-field.ed-is-success .ed-c-textarea-field__label{color:var(--ed-theme-color-content-utility-success)}.ed-c-textarea-field__input{-webkit-appearance:none;width:100%;border-width:var(--ed-theme-border-width-sm);border-style:solid;border-color:var(--ed-theme-form-color-border-default);border-radius:var(--ed-theme-form-border-radius, var(--ed-theme-border-radius-sm));outline:none;padding:var(--ed-field-padding-block, .8125rem) var(--ed-field-padding-inline, .5rem);font-family:var(--ed-theme-typography-body-default-font-family);font-weight:var(--ed-theme-typography-body-default-font-weight);font-size:var(--ed-theme-typography-body-default-font-size);line-height:var(--ed-theme-typography-body-default-line-height);letter-spacing:var(--ed-theme-typography-body-default-letter-spacing);text-transform:var(--ed-theme-typography-body-default-text-transform);font-size:var(--ed-field-font-size, var(--ed-theme-typography-body-default-font-size));line-height:var(--ed-field-line-height, var(--ed-theme-typography-body-default-line-height));color:var(--ed-theme-form-color-content-default);background-color:var(--ed-theme-form-color-background-default);transition:border-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),background-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),box-shadow var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-textarea-field__input:hover{border-color:var(--ed-theme-color-border-brand);background-color:var(--ed-theme-form-color-background-hover)}.ed-c-textarea-field__input:focus:not(:disabled){border-color:var(--ed-theme-form-color-border-focus)}.ed-c-textarea-field__input:not(:placeholder-shown):focus:not(:disabled){border-color:var(--ed-theme-form-color-border-focus);background-color:var(--ed-theme-form-color-background-hover)}.ed-is-error .ed-c-textarea-field__input:not(:placeholder-shown):focus:not(:disabled){background-color:var(--ed-theme-color-background-utility-error)}.ed-is-success .ed-c-textarea-field__input:not(:placeholder-shown):focus:not(:disabled){background-color:var(--ed-theme-color-background-utility-success)}.ed-c-textarea-field__input:active:not(:disabled){border-color:var(--ed-theme-form-color-border-default)}.ed-c-textarea-field__input:disabled{background-color:var(--ed-theme-color-background-subtle);border-color:var(--ed-theme-color-border-disabled);color:var(--ed-theme-color-content-disabled);cursor:not-allowed}.ed-c-textarea-field__input:disabled~.ed-c-text-field__label,.ed-c-textarea-field__input:disabled:hover~.ed-c-text-field__label,.ed-c-textarea-field__input:disabled::placeholder{color:var(--ed-theme-color-content-disabled)}.ed-c-textarea-field__input:focus-visible{outline:var(--ed-theme-border-width-lg) solid var(--ed-theme-focus-ring-color-border-default);outline-offset:var(--ed-theme-focus-ring-offset, .25rem)}.ed-c-textarea-field__input::placeholder{font-family:var(--ed-theme-typography-body-sm-font-family);font-weight:var(--ed-theme-typography-body-sm-font-weight);font-size:var(--ed-theme-typography-body-sm-font-size);line-height:var(--ed-theme-typography-body-sm-line-height);letter-spacing:var(--ed-theme-typography-body-sm-letter-spacing);text-transform:var(--ed-theme-typography-body-sm-text-transform);color:var(--ed-theme-form-color-content-subtle);transition:color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-is-error .ed-c-textarea-field__input::placeholder{color:var(--ed-theme-color-content-utility-error)}.ed-is-error .ed-c-textarea-field__input:hover::placeholder{color:var(--ed-theme-color-content-utility-error)}.ed-is-error .ed-c-textarea-field__input{color:var(--ed-theme-color-content-default);border-color:var(--ed-theme-color-border-utility-error);background-color:var(--ed-theme-color-background-utility-error)}.ed-is-error .ed-c-textarea-field__input:hover,.ed-is-error .ed-c-textarea-field__input:focus{background-color:var(--ed-theme-color-background-utility-error)}.ed-is-error .ed-c-textarea-field__input:not(:focus){color:var(--ed-theme-color-content-default)}.ed-is-success .ed-c-textarea-field__input{color:var(--ed-theme-color-content-default);border-color:var(--ed-theme-color-border-utility-success);background-color:var(--ed-theme-color-background-utility-success)}.ed-is-success .ed-c-textarea-field__input:hover,.ed-is-success .ed-c-textarea-field__input:focus{background-color:var(--ed-theme-color-background-utility-success)}.ed-c-textarea-field__input{display:block;width:100%;padding:.5rem}.ed-c-textarea-field--knockout .ed-c-textarea-field__input{border-color:var(--ed-theme-color-border-subtle)}.ed-c-textarea-field--sm{--ed-field-padding-block: .375rem;--ed-field-padding-inline: .375rem;--ed-field-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-field-line-height: var(--ed-theme-typography-body-sm-line-height);--ed-field-label-font-size: var(--ed-theme-typography-label-sm-font-size, var(--ed-theme-typography-body-sm-font-size));--ed-field-label-gap: .125rem;--ed-field-note-gap: .125rem;--ed-control-box-size: 1.125rem}.ed-c-textarea-field--lg{--ed-field-padding-block: 1.125rem;--ed-field-padding-inline: .75rem;--ed-field-font-size: var(--ed-theme-typography-body-lg-font-size, var(--ed-theme-typography-body-default-font-size));--ed-field-line-height: var(--ed-theme-typography-body-lg-line-height, var(--ed-theme-typography-body-default-line-height));--ed-field-label-gap: .375rem;--ed-field-note-gap: .375rem;--ed-control-box-size: 2rem}';
|
|
145
|
-
var w = Object.defineProperty,
|
|
142
|
+
], r.prototype, "field");
|
|
143
|
+
customElements.get("ed-checkbox-field-item") === void 0 && customElements.define("ed-checkbox-field-item", r);
|
|
144
|
+
const z = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-textarea-field__label{font-family:var(--ed-theme-typography-label-default-font-family);font-weight:var(--ed-theme-typography-label-default-font-weight);font-size:var(--ed-theme-typography-label-default-font-size);line-height:var(--ed-theme-typography-label-default-line-height);letter-spacing:var(--ed-theme-typography-label-default-letter-spacing);text-transform:var(--ed-theme-typography-label-default-text-transform);display:block;font-size:var(--ed-field-label-font-size, var(--ed-theme-typography-label-default-font-size));margin-block-end:var(--ed-field-label-gap, .25rem)}.ed-c-textarea-field__label.ed-c-textarea-field__label--hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.ed-c-textarea-field--knockout .ed-c-textarea-field__label{color:var(--ed-theme-color-content-knockout)}.ed-c-textarea-field.ed-is-error .ed-c-textarea-field__label{color:var(--ed-theme-color-content-utility-error)}.ed-c-textarea-field.ed-is-success .ed-c-textarea-field__label{color:var(--ed-theme-color-content-utility-success)}.ed-c-textarea-field__input{-webkit-appearance:none;width:100%;border-width:var(--ed-theme-border-width-sm);border-style:solid;border-color:var(--ed-theme-form-color-border-default);border-radius:var(--ed-theme-form-border-radius, var(--ed-theme-border-radius-sm));outline:none;padding:var(--ed-field-padding-block, .8125rem) var(--ed-field-padding-inline, .5rem);font-family:var(--ed-theme-typography-body-default-font-family);font-weight:var(--ed-theme-typography-body-default-font-weight);font-size:var(--ed-theme-typography-body-default-font-size);line-height:var(--ed-theme-typography-body-default-line-height);letter-spacing:var(--ed-theme-typography-body-default-letter-spacing);text-transform:var(--ed-theme-typography-body-default-text-transform);font-size:var(--ed-field-font-size, var(--ed-theme-typography-body-default-font-size));line-height:var(--ed-field-line-height, var(--ed-theme-typography-body-default-line-height));color:var(--ed-theme-form-color-content-default);background-color:var(--ed-theme-form-color-background-default);transition:border-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),background-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),box-shadow var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-textarea-field__input:hover{border-color:var(--ed-theme-color-border-brand);background-color:var(--ed-theme-form-color-background-hover)}.ed-c-textarea-field__input:focus:not(:disabled){border-color:var(--ed-theme-form-color-border-focus)}.ed-c-textarea-field__input:not(:placeholder-shown):focus:not(:disabled){border-color:var(--ed-theme-form-color-border-focus);background-color:var(--ed-theme-form-color-background-hover)}.ed-is-error .ed-c-textarea-field__input:not(:placeholder-shown):focus:not(:disabled){background-color:var(--ed-theme-color-background-utility-error)}.ed-is-success .ed-c-textarea-field__input:not(:placeholder-shown):focus:not(:disabled){background-color:var(--ed-theme-color-background-utility-success)}.ed-c-textarea-field__input:active:not(:disabled){border-color:var(--ed-theme-form-color-border-default)}.ed-c-textarea-field__input:disabled{background-color:var(--ed-theme-color-background-subtle);border-color:var(--ed-theme-color-border-disabled);color:var(--ed-theme-color-content-disabled);cursor:not-allowed}.ed-c-textarea-field__input:disabled~.ed-c-text-field__label,.ed-c-textarea-field__input:disabled:hover~.ed-c-text-field__label,.ed-c-textarea-field__input:disabled::placeholder{color:var(--ed-theme-color-content-disabled)}.ed-c-textarea-field__input:focus-visible{outline:var(--ed-theme-border-width-lg) solid var(--ed-theme-focus-ring-color-border-default);outline-offset:var(--ed-theme-focus-ring-offset, .25rem)}.ed-c-textarea-field__input::placeholder{font-family:var(--ed-theme-typography-body-sm-font-family);font-weight:var(--ed-theme-typography-body-sm-font-weight);font-size:var(--ed-theme-typography-body-sm-font-size);line-height:var(--ed-theme-typography-body-sm-line-height);letter-spacing:var(--ed-theme-typography-body-sm-letter-spacing);text-transform:var(--ed-theme-typography-body-sm-text-transform);color:var(--ed-theme-form-color-content-subtle);transition:color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-is-error .ed-c-textarea-field__input::placeholder{color:var(--ed-theme-color-content-utility-error)}.ed-is-error .ed-c-textarea-field__input:hover::placeholder{color:var(--ed-theme-color-content-utility-error)}.ed-is-error .ed-c-textarea-field__input{color:var(--ed-theme-color-content-default);border-color:var(--ed-theme-color-border-utility-error);background-color:var(--ed-theme-color-background-utility-error)}.ed-is-error .ed-c-textarea-field__input:hover,.ed-is-error .ed-c-textarea-field__input:focus{background-color:var(--ed-theme-color-background-utility-error)}.ed-is-error .ed-c-textarea-field__input:not(:focus){color:var(--ed-theme-color-content-default)}.ed-is-success .ed-c-textarea-field__input{color:var(--ed-theme-color-content-default);border-color:var(--ed-theme-color-border-utility-success);background-color:var(--ed-theme-color-background-utility-success)}.ed-is-success .ed-c-textarea-field__input:hover,.ed-is-success .ed-c-textarea-field__input:focus{background-color:var(--ed-theme-color-background-utility-success)}.ed-c-textarea-field__input{display:block;width:100%;padding:.5rem}.ed-c-textarea-field--knockout .ed-c-textarea-field__input{border-color:var(--ed-theme-color-border-subtle)}.ed-c-textarea-field--sm{--ed-field-padding-block: .375rem;--ed-field-padding-inline: .375rem;--ed-field-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-field-line-height: var(--ed-theme-typography-body-sm-line-height);--ed-field-label-font-size: var(--ed-theme-typography-label-sm-font-size, var(--ed-theme-typography-body-sm-font-size));--ed-field-label-gap: .125rem;--ed-field-note-gap: .125rem;--ed-control-box-size: 1.125rem}.ed-c-textarea-field--lg{--ed-field-padding-block: 1.125rem;--ed-field-padding-inline: .75rem;--ed-field-font-size: var(--ed-theme-typography-body-lg-font-size, var(--ed-theme-typography-body-default-font-size));--ed-field-line-height: var(--ed-theme-typography-body-lg-line-height, var(--ed-theme-typography-body-default-line-height));--ed-field-label-gap: .375rem;--ed-field-note-gap: .375rem;--ed-control-box-size: 2rem}';
|
|
145
|
+
var w = Object.defineProperty, o = (c, i, s, y) => {
|
|
146
146
|
for (var a = void 0, n = c.length - 1, h; n >= 0; n--)
|
|
147
147
|
(h = c[n]) && (a = h(i, s, a) || a);
|
|
148
148
|
return a && w(i, s, a), a;
|
|
@@ -180,13 +180,13 @@ class t extends f {
|
|
|
180
180
|
renderTextarea() {
|
|
181
181
|
this.initialText ??= this.value ?? "";
|
|
182
182
|
const i = g(this.initialText.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"));
|
|
183
|
-
return
|
|
183
|
+
return k`<textarea
|
|
184
184
|
class="ed-c-textarea-field__input"
|
|
185
185
|
id="${this.fieldId}"
|
|
186
186
|
cols="${l(this.cols)}"
|
|
187
187
|
rows="${l(this.rows)}"
|
|
188
188
|
name="${l(this.name)}"
|
|
189
|
-
.value="${
|
|
189
|
+
.value="${v(this.value ?? "")}"
|
|
190
190
|
@input="${this.handleInput}"
|
|
191
191
|
?required="${this.required}"
|
|
192
192
|
?disabled="${this.disabled}"
|
|
@@ -204,7 +204,7 @@ class t extends f {
|
|
|
204
204
|
});
|
|
205
205
|
return p`
|
|
206
206
|
<div class="${i}">
|
|
207
|
-
<label class="ed-c-textarea-field__label" for="${this.fieldId}">${this.label}</label>
|
|
207
|
+
<label class="ed-c-textarea-field__label ${this.hideLabel ? "ed-c-textarea-field__label--hidden" : ""}" for="${this.fieldId}">${this.label}</label>
|
|
208
208
|
<div class="ed-c-textarea-field__body">
|
|
209
209
|
${this.renderTextarea()}
|
|
210
210
|
</div>
|
|
@@ -221,55 +221,58 @@ class t extends f {
|
|
|
221
221
|
`;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
o([
|
|
225
225
|
e()
|
|
226
226
|
], t.prototype, "fieldId");
|
|
227
|
-
|
|
227
|
+
o([
|
|
228
228
|
e()
|
|
229
229
|
], t.prototype, "label");
|
|
230
|
-
|
|
230
|
+
o([
|
|
231
|
+
e({ type: Boolean })
|
|
232
|
+
], t.prototype, "hideLabel");
|
|
233
|
+
o([
|
|
231
234
|
e()
|
|
232
235
|
], t.prototype, "name");
|
|
233
|
-
|
|
236
|
+
o([
|
|
234
237
|
e()
|
|
235
238
|
], t.prototype, "fieldNote");
|
|
236
|
-
|
|
239
|
+
o([
|
|
237
240
|
e()
|
|
238
241
|
], t.prototype, "ariaDescribedBy");
|
|
239
|
-
|
|
242
|
+
o([
|
|
240
243
|
e({ type: Boolean })
|
|
241
244
|
], t.prototype, "required");
|
|
242
|
-
|
|
245
|
+
o([
|
|
243
246
|
e({ type: Boolean })
|
|
244
247
|
], t.prototype, "disabled");
|
|
245
|
-
|
|
248
|
+
o([
|
|
246
249
|
e({ type: Number })
|
|
247
250
|
], t.prototype, "cols");
|
|
248
|
-
|
|
251
|
+
o([
|
|
249
252
|
e({ type: Number })
|
|
250
253
|
], t.prototype, "rows");
|
|
251
|
-
|
|
254
|
+
o([
|
|
252
255
|
e({ type: Boolean })
|
|
253
256
|
], t.prototype, "knockout");
|
|
254
|
-
|
|
257
|
+
o([
|
|
255
258
|
e({ type: Boolean })
|
|
256
259
|
], t.prototype, "inverted");
|
|
257
|
-
|
|
260
|
+
o([
|
|
258
261
|
e()
|
|
259
262
|
], t.prototype, "placeholder");
|
|
260
|
-
|
|
263
|
+
o([
|
|
261
264
|
e({ type: Boolean })
|
|
262
265
|
], t.prototype, "isError");
|
|
263
|
-
|
|
266
|
+
o([
|
|
264
267
|
e({ type: Boolean })
|
|
265
268
|
], t.prototype, "isSuccess");
|
|
266
|
-
|
|
269
|
+
o([
|
|
267
270
|
e()
|
|
268
271
|
], t.prototype, "iconName");
|
|
269
|
-
|
|
272
|
+
o([
|
|
270
273
|
e()
|
|
271
274
|
], t.prototype, "size");
|
|
272
|
-
|
|
275
|
+
o([
|
|
273
276
|
u("textarea")
|
|
274
277
|
], t.prototype, "field");
|
|
275
278
|
customElements.get("ed-textarea-field") === void 0 && customElements.define("ed-textarea-field", t);
|
|
@@ -12,6 +12,7 @@ const s = {
|
|
|
12
12
|
"ed-r-page-banner": "./recipes/common/page-banner/page-banner.js",
|
|
13
13
|
"ed-r-project-card": "./recipes/common/project-card/project-card.js",
|
|
14
14
|
"ed-r-promo-block": "./recipes/common/promo-block/promo-block.js",
|
|
15
|
+
"ed-r-sale-promo": "./recipes/common/sale-promo/sale-promo.js",
|
|
15
16
|
"ed-r-search-form": "./recipes/common/search-form/search-form.js",
|
|
16
17
|
"ed-r-site-footer": "./recipes/common/site-footer/site-footer.js",
|
|
17
18
|
"ed-r-site-header": "./recipes/common/site-header/site-header.js",
|
|
@@ -51,7 +52,7 @@ const s = {
|
|
|
51
52
|
"ed-r-wah-site-header": "./recipes/we-are-here/wah-site-header/wah-site-header.js",
|
|
52
53
|
"ed-r-wheel-of-life": "./recipes/common/wheel-of-life/wheel-of-life.js"
|
|
53
54
|
};
|
|
54
|
-
let
|
|
55
|
+
let r;
|
|
55
56
|
function l() {
|
|
56
57
|
const e = document.querySelectorAll("script[src]");
|
|
57
58
|
for (const i of e) {
|
|
@@ -62,10 +63,10 @@ function l() {
|
|
|
62
63
|
return import.meta.url ? import.meta.url.substring(0, import.meta.url.lastIndexOf("/") + 1) : "";
|
|
63
64
|
}
|
|
64
65
|
function a() {
|
|
65
|
-
return
|
|
66
|
+
return r === void 0 && (r = l()), r;
|
|
66
67
|
}
|
|
67
68
|
function p(e) {
|
|
68
|
-
|
|
69
|
+
r = e.endsWith("/") ? e : e + "/";
|
|
69
70
|
}
|
|
70
71
|
const c = /* @__PURE__ */ new Set();
|
|
71
72
|
async function m(e) {
|
|
@@ -80,7 +81,7 @@ async function m(e) {
|
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function t(e = document.body) {
|
|
84
85
|
const i = e.querySelectorAll(":not(:defined)");
|
|
85
86
|
for (const o of i) {
|
|
86
87
|
const n = o.tagName.toLowerCase();
|
|
@@ -92,12 +93,12 @@ const d = new MutationObserver((e) => {
|
|
|
92
93
|
for (const o of i.addedNodes)
|
|
93
94
|
if (o instanceof HTMLElement) {
|
|
94
95
|
const n = o.tagName.toLowerCase();
|
|
95
|
-
s[n] && m(n),
|
|
96
|
+
s[n] && m(n), t(o);
|
|
96
97
|
}
|
|
97
98
|
});
|
|
98
99
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
|
|
99
|
-
|
|
100
|
-
}) : (
|
|
100
|
+
t(), d.observe(document.body, { subtree: !0, childList: !0 });
|
|
101
|
+
}) : (t(), d.observe(document.body, { subtree: !0, childList: !0 }));
|
|
101
102
|
const u = "__EDDIE_RECIPES_VERSION__";
|
|
102
103
|
export {
|
|
103
104
|
u as EDDIE_RECIPES_VERSION,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as z } from "../../../chunks/EdElement.Vr8clRZw.js";
|
|
2
2
|
import { r as v, b as u, n as t, a as D, A as w, o as f, e as E } from "../../../chunks/lit.BJDcdeQB.js";
|
|
3
3
|
import "../../../chunks/button.BWiwycc8.js";
|
|
4
|
-
import "../../../chunks/textarea-field.
|
|
4
|
+
import "../../../chunks/textarea-field.D2zfXivW.js";
|
|
5
5
|
import "../../../chunks/checkbox-field.DSUTziby.js";
|
|
6
6
|
import { E as O } from "../../../chunks/EdFormElement.BHTo4Ifh.js";
|
|
7
7
|
import { u as y, n as N } from "../../../chunks/uid.ChSzTghf.js";
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { E as p } from "../../../chunks/EdElement.Vr8clRZw.js";
|
|
2
|
+
import { r as g, b as y, n as t, e as b, A as m } from "../../../chunks/lit.BJDcdeQB.js";
|
|
3
|
+
import { D as f } from "../../../chunks/DialogController.DHQ_EC3d.js";
|
|
4
|
+
import "../../../chunks/button.BWiwycc8.js";
|
|
5
|
+
import "../../../chunks/text-passage.C_gm5elr.js";
|
|
6
|
+
import "../visualzzz/visualzzz.js";
|
|
7
|
+
const u = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-modal{inline-size:100%;block-size:100%;max-inline-size:100%;max-block-size:100%;padding:0;border:none;overflow:hidden;background:transparent;opacity:0;transition:opacity var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),overlay var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease) allow-discrete,display var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease) allow-discrete}.ed-c-modal:focus-visible{outline:var(--ed-theme-border-width-lg) solid var(--ed-theme-focus-ring-color-border-default);outline-offset:var(--ed-theme-focus-ring-offset, .25rem)}.ed-c-modal[open]{display:flex;align-items:center;justify-content:center;opacity:1}@starting-style{.ed-c-modal[open]{opacity:0}}.ed-c-modal::backdrop{background:var(--ed-theme-color-background-transparent)}.ed-c-modal__window{display:flex;flex-direction:column;position:relative;inline-size:100%;block-size:100%;overflow:hidden;color:var(--ed-theme-color-content-on-surface);background:var(--ed-theme-color-background-surface);box-shadow:var(--ed-theme-box-shadow-sm)}@media all and (min-width:47rem){.ed-c-modal__window{inline-size:var(--ed-modal-window-width, 48rem);max-inline-size:var(--ed-modal-window-max-width, 90%);block-size:auto;max-block-size:var(--ed-modal-window-max-height, 90vh)}}.ed-c-modal--full-width .ed-c-modal__window{inline-size:100%;max-inline-size:none;block-size:100%;max-block-size:none}@media all and (min-width:47rem){.ed-c-modal--full-width .ed-c-modal__window{inline-size:100%;max-inline-size:none;block-size:100%;max-block-size:none}}.ed-c-modal__close-button{padding:1.5rem;position:absolute;inset-block-start:0;inset-inline-end:0}.ed-c-modal__header,.ed-c-modal__body,.ed-c-modal__footer{padding:1.5rem}.ed-c-modal__header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.ed-c-modal__footer{flex-shrink:0}.ed-c-modal__body{flex:0 1 auto;min-block-size:0;overflow:auto}';
|
|
8
|
+
var v = Object.defineProperty, c = (d, r, i, s) => {
|
|
9
|
+
for (var e = void 0, l = d.length - 1, h; l >= 0; l--)
|
|
10
|
+
(h = d[l]) && (e = h(r, i, e) || e);
|
|
11
|
+
return e && v(r, i, e), e;
|
|
12
|
+
};
|
|
13
|
+
class n extends p {
|
|
14
|
+
static get styles() {
|
|
15
|
+
return g(u);
|
|
16
|
+
}
|
|
17
|
+
constructor() {
|
|
18
|
+
super(), new f(this, {
|
|
19
|
+
getDialog: () => this.dialogElement,
|
|
20
|
+
isOpen: () => this.isActive === !0,
|
|
21
|
+
isModal: () => !0,
|
|
22
|
+
onRequestClose: () => this.closeModal()
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Close modal function
|
|
27
|
+
* 1) Closes the modal
|
|
28
|
+
* 2) Runs the closeFunction property if set
|
|
29
|
+
*/
|
|
30
|
+
closeModal() {
|
|
31
|
+
this.isActive = !1, this.closeFunction && this.closeFunction();
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
const r = this.componentClassNames("ed-c-modal", {
|
|
35
|
+
"ed-c-modal--full-width": this.fullWidth === !0,
|
|
36
|
+
"ed-is-active": this.isActive === !0
|
|
37
|
+
});
|
|
38
|
+
return y`
|
|
39
|
+
<dialog class="${r}" tabindex="-1" aria-modal="true" aria-label="${this.dialogLabel || "Dialog"}">
|
|
40
|
+
<div class="ed-c-modal__window">
|
|
41
|
+
<ed-button
|
|
42
|
+
class="ed-c-modal__close-button"
|
|
43
|
+
text="Close"
|
|
44
|
+
variant="bare"
|
|
45
|
+
iconName="close"
|
|
46
|
+
size="lg"
|
|
47
|
+
iconPosition="after"
|
|
48
|
+
?hideText=${!0}
|
|
49
|
+
@click=${this.closeModal}
|
|
50
|
+
></ed-button>
|
|
51
|
+
<div class="ed-c-modal__header"><slot name="header"></slot></div>
|
|
52
|
+
<div class="ed-c-modal__body">
|
|
53
|
+
<slot></slot>
|
|
54
|
+
</div>
|
|
55
|
+
${this.slotNotEmpty("footer") && y`<div class="ed-c-modal__footer">
|
|
56
|
+
<slot name="footer"></slot>
|
|
57
|
+
</div>`}
|
|
58
|
+
</div>
|
|
59
|
+
</dialog>
|
|
60
|
+
`;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
c([
|
|
64
|
+
t({ type: Boolean })
|
|
65
|
+
], n.prototype, "fullWidth");
|
|
66
|
+
c([
|
|
67
|
+
t({ type: Boolean })
|
|
68
|
+
], n.prototype, "isActive");
|
|
69
|
+
c([
|
|
70
|
+
t()
|
|
71
|
+
], n.prototype, "dialogLabel");
|
|
72
|
+
c([
|
|
73
|
+
t()
|
|
74
|
+
], n.prototype, "closeFunction");
|
|
75
|
+
c([
|
|
76
|
+
b(".ed-c-modal")
|
|
77
|
+
], n.prototype, "dialogElement");
|
|
78
|
+
customElements.get("ed-modal") === void 0 && customElements.define("ed-modal", n);
|
|
79
|
+
const w = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}:root.bfw-dark,.bfw-dark{--ed-color-brand-mustard-100: #f5f1db;--ed-color-brand-mustard-200: #eae1b3;--ed-color-brand-mustard-300: #dfd18b;--ed-color-brand-mustard-400: #d4c163;--ed-color-brand-mustard-500: #c9b039;--ed-color-brand-mustard-600: #a4902d;--ed-color-brand-mustard-700: #7c6d22;--ed-color-brand-mustard-800: #544a17;--ed-color-brand-mustard-900: #2c270c;--ed-color-brand-brown-100: #f5e6d3;--ed-color-brand-brown-200: #e8d4b8;--ed-color-brand-brown-300: #d4b896;--ed-color-brand-brown-400: #b89468;--ed-color-brand-brown-500: #8b6841;--ed-color-brand-brown-600: #6b4f2e;--ed-color-brand-brown-700: #4a3620;--ed-color-brand-brown-800: #2d2013;--ed-color-brand-brown-900: #110000;--ed-color-brand-cream-100: #fcfcf1;--ed-color-brand-cream-200: #f9f8e8;--ed-color-brand-cream-300: #f6f5de;--ed-color-brand-cream-400: #efeed4;--ed-color-brand-cream-500: #dedcb9;--ed-color-brand-cream-600: #ddd79a;--ed-color-brand-cream-700: #cfc578;--ed-color-brand-cream-800: #a29e5e;--ed-color-brand-cream-900: #8e7d58;--ed-color-brand-orange-100: #ffc175;--ed-color-brand-orange-200: #ffb357;--ed-color-brand-orange-300: #ffa438;--ed-color-brand-orange-400: #ff961a;--ed-color-brand-orange-500: #fa8900;--ed-color-brand-orange-600: #db7900;--ed-color-brand-orange-700: #be6700;--ed-color-brand-orange-800: #9e5600;--ed-color-brand-orange-900: #804600;--ed-color-brand-blue-light-100: #e2f3fe;--ed-color-brand-blue-light-200: #c9e8fd;--ed-color-brand-blue-light-300: #b1defc;--ed-color-brand-blue-light-400: #98d4fb;--ed-color-brand-blue-light-500: #80cafa;--ed-color-brand-blue-light-600: #67bff9;--ed-color-brand-blue-light-700: #4fb4f8;--ed-color-brand-blue-light-800: #36aaf7;--ed-color-brand-blue-light-900: #1e9ff6;--ed-color-brand-blue-dark-100: #e6f0ff;--ed-color-brand-blue-dark-200: #c2deff;--ed-color-brand-blue-dark-300: #8fc3ff;--ed-color-brand-blue-dark-400: #5a9ff5;--ed-color-brand-blue-dark-500: #2d6fd9;--ed-color-brand-blue-dark-600: #1545a8;--ed-color-brand-blue-dark-700: #010a5b;--ed-color-brand-blue-dark-800: #0b0049;--ed-color-brand-blue-dark-900: #00052a;--ed-color-diagram-purple-500: #8a4cef;--ed-color-diagram-orange-500: #f1992a;--ed-color-diagram-gold-500: #ecba40;--ed-color-diagram-green-500: #3bc23b;--ed-color-neutral-100: #f1f1f2;--ed-color-neutral-200: #d0d2d5;--ed-color-neutral-300: #b3b6bb;--ed-color-neutral-400: #9699a0;--ed-color-neutral-500: #7a7e87;--ed-color-neutral-600: #61646b;--ed-color-neutral-700: #484a4f;--ed-color-neutral-800: #313337;--ed-color-neutral-900: #1c1d1f;--ed-color-neutral-white: #ffffff;--ed-color-neutral-black: #000000;--ed-color-utility-green-100: #dcf3ee;--ed-color-utility-green-200: #9fdfcf;--ed-color-utility-green-300: #5dc9af;--ed-color-utility-green-400: #11ad86;--ed-color-utility-green-500: #0e9070;--ed-color-utility-green-600: #0b7058;--ed-color-utility-green-700: #085442;--ed-color-utility-green-800: #063a2e;--ed-color-utility-green-900: #03211a;--ed-color-utility-red-100: #fceaef;--ed-color-utility-red-200: #f8c5d1;--ed-color-utility-red-300: #efa2b2;--ed-color-utility-red-400: #dd7c88;--ed-color-utility-red-500: #cd5a61;--ed-color-utility-red-600: #b82f30;--ed-color-utility-red-700: #8d2121;--ed-color-utility-red-800: #631717;--ed-color-utility-red-900: #390e0e;--ed-color-utility-yellow-100: #f9efbb;--ed-color-utility-yellow-200: #efd242;--ed-color-utility-yellow-300: #dbb305;--ed-color-utility-yellow-400: #be9304;--ed-color-utility-yellow-500: #a57702;--ed-color-utility-yellow-600: #8a5801;--ed-color-utility-yellow-700: #6d3f00;--ed-color-utility-yellow-800: #4b2c00;--ed-color-utility-yellow-900: #2c1900;--ed-color-utility-blue-100: #eceefc;--ed-color-utility-blue-200: #ccd1f6;--ed-color-utility-blue-300: #abb3f0;--ed-color-utility-blue-400: #8792ea;--ed-color-utility-blue-500: #6775e4;--ed-color-utility-blue-600: #4555d3;--ed-color-utility-blue-700: #34409e;--ed-color-utility-blue-800: #242c6e;--ed-color-utility-blue-900: #15193f;--ed-color-transparent-25: #00000040;--ed-color-transparent-90: #000000e5;--ed-theme-color-background-diagram-design: var(--ed-color-diagram-purple-500);--ed-theme-color-background-diagram-repo: var(--ed-color-brand-orange-800);--ed-theme-color-background-diagram-package: var(--ed-color-diagram-gold-500);--ed-theme-color-background-diagram-product: var(--ed-color-diagram-green-500);--ed-theme-color-background-default: var(--ed-color-brand-brown-900);--ed-theme-color-background-default-hover: var(--ed-color-brand-brown-800);--ed-theme-color-background-subtle: var(--ed-color-brand-brown-800);--ed-theme-color-background-subtle-hover: var(--ed-color-brand-brown-700);--ed-theme-color-background-surface: var(--ed-color-brand-brown-700);--ed-theme-color-background-knockout: var(--ed-color-brand-brown-700);--ed-theme-color-background-brand: var(--ed-color-brand-orange-800);--ed-theme-color-background-brand-hover: var(--ed-color-brand-orange-900);--ed-theme-color-background-brand-disabled: var(--ed-color-brand-mustard-700);--ed-theme-color-background-brand-knockout: var(--ed-color-brand-orange-800);--ed-theme-color-background-brand-knockout-hover: var(--ed-color-brand-orange-900);--ed-theme-color-background-selected: var(--ed-color-brand-orange-800);--ed-theme-color-background-accent-1: var(--ed-color-brand-orange-800);--ed-theme-color-background-accent-2: var(--ed-color-brand-blue-light-500);--ed-theme-color-background-accent-3: var(--ed-color-brand-blue-dark-800);--ed-theme-color-background-accent-4: var(--ed-color-brand-mustard-500);--ed-theme-color-background-accent-5: var(--ed-color-brand-brown-900);--ed-theme-color-background-accent-6: var(--ed-color-brand-cream-400);--ed-theme-color-background-accent-7: var(--ed-color-brand-cream-500);--ed-theme-color-background-accent-8: var(--ed-color-brand-cream-800);--ed-theme-color-background-utility-error: var(--ed-color-utility-red-800);--ed-theme-color-background-utility-error-knockout: var(--ed-color-utility-red-600);--ed-theme-color-background-utility-warning: var(--ed-color-utility-yellow-800);--ed-theme-color-background-utility-warning-knockout: var(--ed-color-utility-yellow-300);--ed-theme-color-background-utility-success: var(--ed-color-utility-green-800);--ed-theme-color-background-utility-success-knockout: var(--ed-color-utility-green-600);--ed-theme-color-background-utility-info: var(--ed-color-utility-blue-800);--ed-theme-color-background-utility-info-knockout: var(--ed-color-utility-blue-600);--ed-theme-color-background-dataviz-primary: var(--ed-color-neutral-700);--ed-theme-color-background-dataviz-primary-subtle: var(--ed-theme-color-background-transparent);--ed-theme-color-background-dataviz-secondary: var(--ed-color-neutral-300);--ed-theme-color-background-dataviz-tertiary: var(--ed-color-neutral-500);--ed-theme-color-background-disabled: var(--ed-color-neutral-200);--ed-theme-color-background-transparent: var(--ed-color-transparent-25);--ed-theme-color-background-transparent-strong: var(--ed-color-transparent-90);--ed-theme-color-background-viz-1: var(--ed-color-brand-orange-700);--ed-theme-color-background-viz-2: var(--ed-color-utility-blue-600);--ed-theme-color-background-viz-3: var(--ed-color-neutral-500);--ed-theme-color-background-viz-4: var(--ed-color-utility-yellow-200);--ed-theme-color-background-viz-5: var(--ed-color-brand-cream-900);--ed-theme-color-background-viz-6: var(--ed-color-utility-blue-300);--ed-theme-color-background-viz-7: var(--ed-color-utility-green-600);--ed-theme-color-background-viz-8: var(--ed-color-brand-orange-500);--ed-theme-color-background-viz-9: var(--ed-color-utility-green-300);--ed-theme-color-background-viz-10: var(--ed-color-utility-red-600);--ed-theme-color-background-viz-11: var(--ed-color-brand-blue-dark-500);--ed-theme-color-background-viz-12: var(--ed-color-brand-brown-500);--ed-theme-color-content-on-diagram-design: var(--ed-color-neutral-white);--ed-theme-color-content-on-diagram-repo: var(--ed-color-brand-cream-300);--ed-theme-color-content-on-diagram-package: var(--ed-color-brand-brown-900);--ed-theme-color-content-on-diagram-product: var(--ed-color-brand-brown-900);--ed-theme-color-content-default: var(--ed-color-brand-cream-600);--ed-theme-color-content-default-hover: var(--ed-color-brand-cream-300);--ed-theme-color-content-subtle: var(--ed-color-brand-cream-700);--ed-theme-color-content-knockout: var(--ed-color-brand-cream-300);--ed-theme-color-content-brand: var(--ed-color-brand-orange-500);--ed-theme-color-content-brand-hover: var(--ed-color-brand-orange-400);--ed-theme-color-content-brand-knockout: var(--ed-theme-color-content-on-brand);--ed-theme-color-content-brand-on-knockout: var(--ed-color-brand-orange-300);--ed-theme-color-content-on-brand: var(--ed-color-brand-cream-300);--ed-theme-color-content-selected: var(--ed-color-brand-orange-500);--ed-theme-color-content-on-selected: var(--ed-color-brand-cream-300);--ed-theme-color-content-accent-1: var(--ed-color-brand-orange-700);--ed-theme-color-content-accent-2: var(--ed-color-brand-blue-light-500);--ed-theme-color-content-accent-3: var(--ed-color-brand-blue-dark-800);--ed-theme-color-content-accent-4: var(--ed-color-brand-mustard-500);--ed-theme-color-content-accent-5: var(--ed-color-brand-brown-900);--ed-theme-color-content-accent-6: var(--ed-color-brand-cream-400);--ed-theme-color-content-accent-7: var(--ed-color-brand-cream-500);--ed-theme-color-content-accent-8: var(--ed-color-brand-cream-800);--ed-theme-color-content-on-surface: var(--ed-theme-color-content-default);--ed-theme-color-content-on-accent-1: var(--ed-color-brand-cream-300);--ed-theme-color-content-on-accent-2: var(--ed-color-brand-brown-900);--ed-theme-color-content-on-accent-3: var(--ed-color-brand-cream-300);--ed-theme-color-content-on-accent-4: var(--ed-color-brand-brown-900);--ed-theme-color-content-on-accent-5: var(--ed-color-brand-cream-300);--ed-theme-color-content-on-accent-6: var(--ed-color-brand-brown-900);--ed-theme-color-content-on-accent-7: var(--ed-color-brand-brown-900);--ed-theme-color-content-on-accent-8: var(--ed-color-brand-brown-900);--ed-theme-color-content-disabled: var(--ed-color-neutral-600);--ed-theme-color-content-on-utility-info: var(--ed-color-brand-cream-300);--ed-theme-color-content-on-utility-success: var(--ed-color-brand-cream-300);--ed-theme-color-content-on-utility-warning: var(--ed-color-brand-brown-900);--ed-theme-color-content-on-utility-error: var(--ed-color-brand-cream-300);--ed-theme-color-content-utility-error: var(--ed-color-utility-red-300);--ed-theme-color-content-utility-warning: var(--ed-color-utility-yellow-300);--ed-theme-color-content-utility-success: var(--ed-color-utility-green-300);--ed-theme-color-content-utility-info: var(--ed-color-utility-blue-300);--ed-theme-color-content-viz-label: var(--ed-theme-color-content-default);--ed-theme-color-border-default: var(--ed-color-brand-brown-400);--ed-theme-color-border-default-hover: var(--ed-color-brand-brown-300);--ed-theme-color-border-subtle: var(--ed-color-brand-cream-900);--ed-theme-color-border-strong: var(--ed-color-brand-cream-500);--ed-theme-color-border-knockout: var(--ed-color-neutral-400);--ed-theme-color-border-brand: var(--ed-color-brand-orange-600);--ed-theme-color-border-brand-knockout: var(--ed-color-brand-orange-500);--ed-theme-color-border-selected: var(--ed-color-brand-orange-600);--ed-theme-color-border-accent-1: var(--ed-color-brand-orange-700);--ed-theme-color-border-accent-2: var(--ed-color-brand-blue-light-500);--ed-theme-color-border-accent-3: var(--ed-color-brand-blue-dark-800);--ed-theme-color-border-accent-4: var(--ed-color-brand-mustard-500);--ed-theme-color-border-accent-5: var(--ed-color-brand-brown-900);--ed-theme-color-border-accent-6: var(--ed-color-brand-cream-400);--ed-theme-color-border-accent-7: var(--ed-color-brand-cream-500);--ed-theme-color-border-accent-8: var(--ed-color-brand-cream-800);--ed-theme-color-border-on-accent-1: var(--ed-color-brand-cream-500);--ed-theme-color-border-on-accent-2: var(--ed-color-brand-brown-700);--ed-theme-color-border-on-accent-3: var(--ed-color-brand-cream-500);--ed-theme-color-border-on-accent-4: var(--ed-color-brand-brown-700);--ed-theme-color-border-on-accent-5: var(--ed-color-brand-cream-500);--ed-theme-color-border-on-accent-6: var(--ed-color-brand-brown-700);--ed-theme-color-border-on-accent-7: var(--ed-color-brand-brown-700);--ed-theme-color-border-on-accent-8: var(--ed-color-brand-brown-900);--ed-theme-color-border-utility-error: var(--ed-color-utility-red-400);--ed-theme-color-border-utility-warning: var(--ed-color-utility-yellow-400);--ed-theme-color-border-utility-success: var(--ed-color-utility-green-400);--ed-theme-color-border-utility-info: var(--ed-color-utility-blue-400);--ed-theme-color-border-disabled: var(--ed-color-neutral-200);--ed-theme-color-border-viz-axis: var(--ed-theme-color-border-default);--ed-theme-color-border-viz-gridline: var(--ed-theme-color-border-subtle);--ed-theme-color-border-viz-tick: var(--ed-theme-color-border-default);--ed-opacity-0: 0;--ed-opacity-40: .4;--ed-opacity-60: .6;--ed-opacity-100: 1;--ed-theme-opacity-disabled: var(--ed-opacity-60);--ed-theme-opacity-dragging: var(--ed-opacity-40);--ed-sidebar-width: 18rem;--ed-spacing-0: 0rem;--ed-spacing-4: .25rem;--ed-spacing-8: .5rem;--ed-spacing-12: .75rem;--ed-spacing-16: 1rem;--ed-spacing-24: 1.5rem;--ed-spacing-32: 2rem;--ed-spacing-40: 2.5rem;--ed-spacing-48: 3rem;--ed-spacing-64: 4rem;--ed-spacing-80: 5rem;--ed-spacing-96: 6rem;--ed-spacing-128: 8rem;--ed-theme-spacing-none: var(--ed-spacing-0);--ed-theme-spacing-xs: var(--ed-spacing-4);--ed-theme-spacing-sm: var(--ed-spacing-8);--ed-theme-spacing-md: var(--ed-spacing-16);--ed-theme-spacing-lg: var(--ed-spacing-24);--ed-theme-spacing-xl: var(--ed-spacing-32);--ed-theme-spacing-xxl: var(--ed-spacing-64);--ed-theme-spacing-region: var(--ed-theme-spacing-xl);--ed-theme-spacing-section: var(--ed-theme-spacing-xxl);--ed-theme-spacing-block: var(--ed-theme-spacing-lg);--ed-theme-spacing-flow: var(--ed-theme-spacing-md);--ed-theme-spacing-field: var(--ed-theme-spacing-lg);--ed-theme-spacing-inline: var(--ed-theme-spacing-sm);--ed-z-index-0: 0;--ed-z-index-100: 100;--ed-z-index-200: 200;--ed-z-index-300: 300;--ed-z-index-400: 400;--ed-z-index-500: 500;--ed-z-index-top: 99999;--ed-z-index-bottom: -100;--ed-theme-layer-sticky: var(--ed-z-index-100);--ed-theme-layer-dropdown: var(--ed-z-index-200);--ed-theme-layer-drawer: var(--ed-z-index-300);--ed-theme-layer-modal: var(--ed-z-index-400);--ed-theme-layer-toast: var(--ed-z-index-500);--ed-theme-size-measure: 68ch;--ed-theme-size-target-min: var(--ed-spacing-24);--ed-theme-typography-viz-label-font-family: var(--ed-theme-typography-display-default-font-family);--ed-theme-typography-viz-label-font-weight: var(--ed-theme-typography-display-default-font-weight);--ed-theme-typography-viz-label-font-size: clamp(10cqi, calc(130cqi / var(--_label-length, 6)), 24cqi);--ed-theme-typography-viz-label-line-height: 1.1;--ed-theme-typography-viz-label-letter-spacing: .02em;--ed-theme-typography-viz-label-text-transform: lowercase;--ed-theme-typography-display-fluid-font-family: var(--ed-theme-typography-display-xl-font-family);--ed-theme-typography-display-fluid-font-weight: var(--ed-theme-typography-display-xl-font-weight);--ed-theme-typography-display-fluid-font-size: clamp(2.5rem, 15cqi, 20rem);--ed-theme-typography-display-fluid-line-height: 1.1;--ed-theme-typography-display-fluid-letter-spacing: var(--ed-theme-typography-display-xl-letter-spacing);--ed-theme-typography-display-fluid-text-transform: var(--ed-theme-typography-display-xl-text-transform);--ed-theme-typography-code-font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--ed-theme-typography-code-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-typography-font-family-league-gothic: League Gothic;--ed-typography-font-family-montserrat: Montserrat;--ed-typography-font-weight-400: 400;--ed-typography-font-weight-700: 700;--ed-typography-font-size-12: .75rem;--ed-typography-font-size-14: .875rem;--ed-typography-font-size-16: 1rem;--ed-typography-font-size-18: 1.125rem;--ed-typography-font-size-20: 1.25rem;--ed-typography-font-size-24: 1.5rem;--ed-typography-font-size-28: 1.75rem;--ed-typography-font-size-32: 2rem;--ed-typography-font-size-40: 2.5rem;--ed-typography-font-size-48: 3rem;--ed-typography-font-size-56: 3.5rem;--ed-typography-font-size-64: 4rem;--ed-typography-font-size-72: 4.5rem;--ed-typography-font-size-100: 6.25rem;--ed-typography-font-size-176: 11rem;--ed-typography-line-height-16: 1rem;--ed-typography-line-height-20: 1.25rem;--ed-typography-line-height-24: 1.5rem;--ed-typography-line-height-28: 1.75rem;--ed-typography-line-height-32: 2rem;--ed-typography-line-height-36: 2.25rem;--ed-typography-line-height-40: 2.5rem;--ed-typography-line-height-48: 3rem;--ed-typography-line-height-56: 3.5rem;--ed-typography-line-height-64: 4rem;--ed-typography-line-height-72: 4.5rem;--ed-typography-line-height-80: 5rem;--ed-typography-line-height-110: 6.875rem;--ed-typography-line-height-158: 9.875rem;--ed-typography-letter-spacing-0: 0rem;--ed-typography-letter-spacing-2: .125rem;--ed-typography-letter-spacing-minus-2: -.125rem;--ed-typography-letter-spacing-minus-1-half: -.0938rem;--ed-typography-letter-spacing-minus-1: -.0625rem;--ed-typography-letter-spacing-minus-half: -.0313rem;--ed-typography-letter-spacing-half: .0313rem;--ed-typography-text-transform-none: none;--ed-typography-text-transform-uppercase: uppercase;--ed-typography-text-transform-lowercase: lowercase;--ed-theme-typography-display-xl-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-display-xl-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-display-xl-font-size: var(--ed-typography-font-size-176);--ed-theme-typography-display-xl-line-height: .9;--ed-theme-typography-display-xl-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-xl-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-display-xl-tablet-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-display-xl-tablet-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-display-xl-tablet-font-size: var(--ed-typography-font-size-100);--ed-theme-typography-display-xl-tablet-line-height: 1.1;--ed-theme-typography-display-xl-tablet-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-xl-tablet-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-display-xl-mobile-font-family: var(--ed-theme-typography-display-default-font-family);--ed-theme-typography-display-xl-mobile-font-weight: var(--ed-theme-typography-display-default-font-weight);--ed-theme-typography-display-xl-mobile-font-size: var(--ed-typography-font-size-72);--ed-theme-typography-display-xl-mobile-line-height: 1.11;--ed-theme-typography-display-xl-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-xl-mobile-text-transform: var(--ed-theme-typography-display-default-text-transform);--ed-theme-typography-display-lg-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-display-lg-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-display-lg-font-size: var(--ed-typography-font-size-100);--ed-theme-typography-display-lg-line-height: 1.1;--ed-theme-typography-display-lg-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-lg-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-display-lg-mobile-font-family: var(--ed-theme-typography-display-default-font-family);--ed-theme-typography-display-lg-mobile-font-weight: var(--ed-theme-typography-display-default-font-weight);--ed-theme-typography-display-lg-mobile-font-size: var(--ed-typography-font-size-64);--ed-theme-typography-display-lg-mobile-line-height: 1.13;--ed-theme-typography-display-lg-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-lg-mobile-text-transform: var(--ed-theme-typography-display-default-text-transform);--ed-theme-typography-display-default-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-display-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-display-default-font-size: var(--ed-typography-font-size-72);--ed-theme-typography-display-default-line-height: 1.11;--ed-theme-typography-display-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-default-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-display-default-mobile-font-family: var(--ed-theme-typography-display-default-font-family);--ed-theme-typography-display-default-mobile-font-weight: var(--ed-theme-typography-display-default-font-weight);--ed-theme-typography-display-default-mobile-font-size: var(--ed-typography-font-size-56);--ed-theme-typography-display-default-mobile-line-height: 1.14;--ed-theme-typography-display-default-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-display-default-mobile-text-transform: var(--ed-theme-typography-display-default-text-transform);--ed-theme-typography-headline-lg-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-headline-lg-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-headline-lg-font-size: var(--ed-typography-font-size-64);--ed-theme-typography-headline-lg-line-height: 1.13;--ed-theme-typography-headline-lg-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-headline-lg-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-headline-lg-mobile-font-family: var(--ed-theme-typography-headline-lg-font-family);--ed-theme-typography-headline-lg-mobile-font-weight: var(--ed-theme-typography-headline-lg-font-weight);--ed-theme-typography-headline-lg-mobile-font-size: var(--ed-typography-font-size-40);--ed-theme-typography-headline-lg-mobile-line-height: 1.2;--ed-theme-typography-headline-lg-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-headline-lg-mobile-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-headline-default-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-headline-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-headline-default-font-size: var(--ed-typography-font-size-48);--ed-theme-typography-headline-default-line-height: 1.17;--ed-theme-typography-headline-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-headline-default-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-headline-default-mobile-font-family: var(--ed-theme-typography-headline-default-font-family);--ed-theme-typography-headline-default-mobile-font-weight: var(--ed-theme-typography-headline-default-font-weight);--ed-theme-typography-headline-default-mobile-font-size: var(--ed-typography-font-size-40);--ed-theme-typography-headline-default-mobile-line-height: 1;--ed-theme-typography-headline-default-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-headline-default-mobile-text-transform: var(--ed-theme-typography-headline-default-text-transform);--ed-theme-typography-headline-sm-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-headline-sm-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-headline-sm-font-size: var(--ed-typography-font-size-40);--ed-theme-typography-headline-sm-line-height: 1.2;--ed-theme-typography-headline-sm-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-headline-sm-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-headline-sm-mobile-font-family: var(--ed-theme-typography-headline-sm-font-family);--ed-theme-typography-headline-sm-mobile-font-weight: var(--ed-theme-typography-headline-sm-font-weight);--ed-theme-typography-headline-sm-mobile-font-size: var(--ed-typography-font-size-32);--ed-theme-typography-headline-sm-mobile-line-height: 1.13;--ed-theme-typography-headline-sm-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-headline-sm-mobile-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-title-lg-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-title-lg-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-title-lg-font-size: var(--ed-typography-font-size-32);--ed-theme-typography-title-lg-line-height: 1.25;--ed-theme-typography-title-lg-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-title-lg-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-title-lg-mobile-font-family: var(--ed-theme-typography-title-lg-font-family);--ed-theme-typography-title-lg-mobile-font-weight: var(--ed-theme-typography-title-lg-font-weight);--ed-theme-typography-title-lg-mobile-font-size: var(--ed-typography-font-size-28);--ed-theme-typography-title-lg-mobile-line-height: 1.29;--ed-theme-typography-title-lg-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-title-lg-mobile-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-title-default-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-title-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-title-default-font-size: var(--ed-typography-font-size-28);--ed-theme-typography-title-default-line-height: 1.29;--ed-theme-typography-title-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-title-default-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-title-sm-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-title-sm-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-title-sm-font-size: var(--ed-typography-font-size-24);--ed-theme-typography-title-sm-line-height: 1.33;--ed-theme-typography-title-sm-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-title-sm-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-label-lg-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-label-lg-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-label-lg-font-size: var(--ed-typography-font-size-20);--ed-theme-typography-label-lg-line-height: 1.4;--ed-theme-typography-label-lg-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-label-lg-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-label-default-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-label-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-label-default-font-size: var(--ed-typography-font-size-16);--ed-theme-typography-label-default-line-height: 1.5;--ed-theme-typography-label-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-label-default-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-label-sm-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-label-sm-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-label-sm-font-size: var(--ed-typography-font-size-14);--ed-theme-typography-label-sm-line-height: 1.43;--ed-theme-typography-label-sm-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-label-sm-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-body-xl-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-body-xl-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-body-xl-font-size: clamp(1.5rem, 1.167rem + 1.111vw, 2rem);--ed-theme-typography-body-xl-line-height: 1.5;--ed-theme-typography-body-xl-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-body-xl-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-body-lg-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-body-lg-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-body-lg-font-size: clamp(1.25rem, 1.083rem + .556vw, 1.5rem);--ed-theme-typography-body-lg-line-height: 1.5;--ed-theme-typography-body-lg-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-body-lg-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-body-default-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-body-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-body-default-font-size: var(--ed-typography-font-size-16);--ed-theme-typography-body-default-line-height: 1.5;--ed-theme-typography-body-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-body-default-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-body-sm-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-body-sm-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-body-sm-font-size: var(--ed-typography-font-size-14);--ed-theme-typography-body-sm-line-height: 1.43;--ed-theme-typography-body-sm-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-body-sm-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-meta-default-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-meta-default-font-weight: var(--ed-typography-font-weight-700);--ed-theme-typography-meta-default-font-size: var(--ed-typography-font-size-14);--ed-theme-typography-meta-default-line-height: 1.43;--ed-theme-typography-meta-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-meta-default-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-meta-sm-font-family: var(--ed-typography-font-family-montserrat);--ed-theme-typography-meta-sm-font-weight: var(--ed-typography-font-weight-700);--ed-theme-typography-meta-sm-font-size: var(--ed-typography-font-size-12);--ed-theme-typography-meta-sm-line-height: 1.33;--ed-theme-typography-meta-sm-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-meta-sm-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-button-lg-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-button-lg-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-button-lg-font-size: var(--ed-typography-font-size-28);--ed-theme-typography-button-lg-line-height: 1;--ed-theme-typography-button-lg-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-button-lg-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-button-default-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-button-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-button-default-font-size: var(--ed-typography-font-size-24);--ed-theme-typography-button-default-line-height: 1;--ed-theme-typography-button-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-button-default-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-button-sm-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-button-sm-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-button-sm-font-size: var(--ed-typography-font-size-24);--ed-theme-typography-button-sm-line-height: 1;--ed-theme-typography-button-sm-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-button-sm-text-transform: var(--ed-typography-text-transform-lowercase);--ed-theme-typography-primary-nav-default-font-family: var(--ed-typography-font-family-league-gothic);--ed-theme-typography-primary-nav-default-font-weight: var(--ed-typography-font-weight-400);--ed-theme-typography-primary-nav-default-font-size: var(--ed-typography-font-size-32);--ed-theme-typography-primary-nav-default-line-height: 1.25;--ed-theme-typography-primary-nav-default-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-primary-nav-default-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-primary-nav-default-mobile-font-family: var(--ed-theme-typography-title-lg-font-family);--ed-theme-typography-primary-nav-default-mobile-font-weight: var(--ed-theme-typography-title-lg-font-weight);--ed-theme-typography-primary-nav-default-mobile-font-size: var(--ed-typography-font-size-28);--ed-theme-typography-primary-nav-default-mobile-line-height: 1.29;--ed-theme-typography-primary-nav-default-mobile-letter-spacing: var(--ed-typography-letter-spacing-0);--ed-theme-typography-primary-nav-default-mobile-text-transform: var(--ed-typography-text-transform-none);--ed-theme-typography-emphasis-font-weight: var(--ed-typography-font-weight-700);--ed-animation-duration-15: .15s;--ed-animation-duration-40: .4s;--ed-animation-easing-default: ease;--ed-theme-animation-fade-quick: var(--ed-animation-duration-15);--ed-theme-animation-fade-long: var(--ed-animation-duration-40);--ed-theme-animation-move-quick: var(--ed-animation-duration-15);--ed-theme-animation-move-long: var(--ed-animation-duration-40);--ed-theme-animation-ease: var(--ed-animation-easing-default);--ed-border-radius-0: 0rem;--ed-border-radius-2: .125rem;--ed-border-radius-4: .25rem;--ed-border-radius-8: .5rem;--ed-border-radius-16: 1rem;--ed-border-radius-32: 2rem;--ed-border-radius-full: 62.4375rem;--ed-theme-border-radius-none: var(--ed-border-radius-0);--ed-theme-border-radius-sm: var(--ed-border-radius-0);--ed-theme-border-radius-md: var(--ed-border-radius-0);--ed-theme-border-radius-lg: var(--ed-border-radius-0);--ed-theme-border-radius-round: var(--ed-border-radius-full);--ed-border-width-1: .0625rem;--ed-border-width-2: .125rem;--ed-border-width-4: .25rem;--ed-border-width-8: .5rem;--ed-theme-border-width-sm: var(--ed-border-width-1);--ed-theme-border-width-md: var(--ed-border-width-2);--ed-theme-border-width-lg: var(--ed-border-width-4);--ed-theme-border-width-xl: var(--ed-border-width-8);--ed-shadow-sm-x: 0rem;--ed-shadow-sm-y: .25rem;--ed-shadow-sm-blur: 0rem;--ed-shadow-sm-spread: -.125rem;--ed-shadow-md-x: 0rem;--ed-shadow-md-y: .5rem;--ed-shadow-md-blur: 0rem;--ed-shadow-md-spread: -.25rem;--ed-shadow-bold-layer-1-x: 0rem;--ed-shadow-bold-layer-1-y: .5rem;--ed-shadow-bold-layer-1-blur: 0rem;--ed-shadow-bold-layer-1-spread: -.25rem;--ed-shadow-bold-layer-2-x: 0rem;--ed-shadow-bold-layer-2-y: 1rem;--ed-shadow-bold-layer-2-blur: 0rem;--ed-shadow-bold-layer-2-spread: -.5rem;--ed-shadow-bold-layer-3-x: 0rem;--ed-shadow-bold-layer-3-y: 1.5rem;--ed-shadow-bold-layer-3-blur: 0rem;--ed-shadow-bold-layer-3-spread: -.75rem;--ed-theme-box-shadow-sm: 0rem .25rem 0rem -.125rem var(--ed-theme-color-background-subtle);--ed-theme-box-shadow-md: 0rem .5rem 0rem -.25rem var(--ed-theme-color-background-subtle);--ed-theme-box-shadow-bold: 0rem .5rem 0rem -.25rem var(--ed-theme-color-background-accent-1), 0rem 1rem 0rem -.5rem var(--ed-theme-color-background-accent-2), 0rem 1.5rem 0rem -.75rem var(--ed-theme-color-background-subtle);--ed-theme-shadow-clearance-bold: .75rem;--ed-theme-button-color-background-default: var(--ed-theme-color-background-subtle);--ed-theme-button-color-background-hover: var(--ed-theme-color-background-subtle-hover);--ed-theme-button-color-background-active: var(--ed-theme-color-background-subtle-hover);--ed-theme-button-color-background-disabled: var(--ed-color-neutral-300);--ed-theme-button-color-content-default: var(--ed-theme-color-content-default);--ed-theme-button-color-content-hover: var(--ed-theme-color-content-default);--ed-theme-button-color-content-active: var(--ed-theme-color-content-default);--ed-theme-button-color-content-disabled: var(--ed-color-neutral-white);--ed-theme-button-color-border-default: var(--ed-theme-color-background-subtle);--ed-theme-button-color-border-hover: var(--ed-theme-color-background-subtle-hover);--ed-theme-button-color-border-active: var(--ed-theme-color-background-subtle-hover);--ed-theme-button-color-border-disabled: var(--ed-color-neutral-300);--ed-theme-button-primary-color-background-default: var(--ed-color-brand-orange-700);--ed-theme-button-primary-color-background-hover: var(--ed-color-brand-orange-800);--ed-theme-button-primary-color-background-active: var(--ed-color-brand-orange-800);--ed-theme-button-primary-color-background-disabled: var(--ed-color-neutral-300);--ed-theme-button-primary-color-content-default: var(--ed-color-brand-cream-300);--ed-theme-button-primary-color-content-hover: var(--ed-color-brand-cream-300);--ed-theme-button-primary-color-content-active: var(--ed-color-brand-cream-300);--ed-theme-button-primary-color-content-disabled: var(--ed-color-neutral-white);--ed-theme-button-primary-color-border-default: var(--ed-color-brand-orange-700);--ed-theme-button-primary-color-border-hover: var(--ed-color-brand-orange-800);--ed-theme-button-primary-color-border-active: var(--ed-color-brand-orange-800);--ed-theme-button-primary-color-border-disabled: var(--ed-color-neutral-300);--ed-theme-button-danger-color-background-default: var(--ed-theme-color-background-utility-error);--ed-theme-button-danger-color-background-hover: var(--ed-theme-color-background-utility-error);--ed-theme-button-danger-color-background-active: var(--ed-theme-color-background-utility-error);--ed-theme-button-danger-color-background-disabled: var(--ed-theme-button-color-background-disabled);--ed-theme-button-danger-color-content-default: var(--ed-theme-color-content-utility-error);--ed-theme-button-danger-color-content-hover: var(--ed-theme-color-content-utility-error);--ed-theme-button-danger-color-content-active: var(--ed-theme-color-content-utility-error);--ed-theme-button-danger-color-content-disabled: var(--ed-theme-button-color-content-disabled);--ed-theme-button-danger-color-border-default: var(--ed-theme-color-border-utility-error);--ed-theme-button-danger-color-border-hover: var(--ed-theme-color-border-utility-error);--ed-theme-button-danger-color-border-active: var(--ed-theme-color-border-utility-error);--ed-theme-button-danger-color-border-disabled: var(--ed-theme-button-color-border-disabled);--ed-theme-button-bare-color-content-default: var(--ed-color-brand-cream-300);--ed-theme-button-bare-color-content-hover: var(--ed-color-brand-cream-300);--ed-theme-button-bare-color-content-active: var(--ed-color-brand-cream-300);--ed-theme-button-bare-color-content-disabled: var(--ed-color-neutral-100);--ed-theme-button-padding-block: var(--ed-spacing-12);--ed-theme-button-padding-inline: 1.75rem;--ed-theme-file-upload-border-radius: var(--ed-theme-border-radius-md);--ed-theme-focus-ring-color-border-default: var(--ed-color-brand-cream-300);--ed-theme-focus-ring-color-border-knockout: var(--ed-color-neutral-black);--ed-theme-focus-ring-offset: var(--ed-spacing-4);--ed-theme-form-color-background-default: var(--ed-color-neutral-900);--ed-theme-form-color-background-focus: var(--ed-color-neutral-900);--ed-theme-form-color-background-hover: var(--ed-color-neutral-900);--ed-theme-form-color-background-active: var(--ed-color-neutral-900);--ed-theme-form-color-border-default: var(--ed-color-brand-cream-300);--ed-theme-form-color-border-focus: var(--ed-color-brand-mustard-100);--ed-theme-form-color-border-hover: var(--ed-color-brand-mustard-100);--ed-theme-form-color-border-active: var(--ed-color-brand-mustard-100);--ed-theme-form-color-content-default: var(--ed-color-brand-cream-300);--ed-theme-form-color-content-focus: var(--ed-color-brand-cream-300);--ed-theme-form-color-content-hover: var(--ed-color-brand-cream-300);--ed-theme-form-color-content-active: var(--ed-color-brand-cream-300);--ed-theme-form-color-content-subtle: var(--ed-color-brand-cream-800);--ed-theme-form-border-radius: var(--ed-theme-border-radius-sm);--ed-theme-link-color-content-default: var(--ed-color-brand-orange-500);--ed-theme-link-color-content-hover: var(--ed-color-brand-orange-400);--ed-theme-link-color-content-active: var(--ed-color-brand-orange-400);--ed-theme-link-color-content-visited: var(--ed-color-brand-orange-500);--ed-theme-link-color-content-knockout: var(--ed-color-brand-orange-500);--ed-theme-link-color-content-knockout-hover: var(--ed-color-brand-orange-400);--ed-theme-link-color-content-knockout-active: var(--ed-color-brand-orange-400);--ed-theme-link-color-content-knockout-visited: var(--ed-color-brand-orange-500);--ed-theme-progress-color-fill-primary: var(--ed-color-brand-orange-600);--ed-theme-progress-color-fill-success: var(--ed-color-utility-green-400);--ed-theme-progress-color-fill-warning: var(--ed-color-utility-yellow-400);--ed-theme-progress-color-fill-error: var(--ed-color-utility-red-400)}:host{display:block}.ed-r-sale-promo__visual{display:block;margin-block-end:var(--ed-theme-spacing-flow)}.ed-r-sale-promo__modal--dark{--ed-theme-color-background-surface: var(--ed-theme-color-background-default)}';
|
|
80
|
+
var k = Object.defineProperty, a = (d, r, i, s) => {
|
|
81
|
+
for (var e = void 0, l = d.length - 1, h; l >= 0; l--)
|
|
82
|
+
(h = d[l]) && (e = h(r, i, e) || e);
|
|
83
|
+
return e && k(r, i, e), e;
|
|
84
|
+
};
|
|
85
|
+
class o extends p {
|
|
86
|
+
constructor() {
|
|
87
|
+
super(...arguments), this.open = !1, this.heading = "Sale", this.ctaText = "See the sale", this.dark = !1, this.handleModalClose = () => this.close("close"), this.handleCtaClick = () => this.close("cta");
|
|
88
|
+
}
|
|
89
|
+
static get styles() {
|
|
90
|
+
return g(w);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Closes the modal and fires `ed-sale-promo-close`, once per opening. Every
|
|
94
|
+
* close path ends here. Setting `open` to false directly closes it quietly.
|
|
95
|
+
*/
|
|
96
|
+
close(r = "close") {
|
|
97
|
+
this.open && (this.open = !1, this.dispatchEvent(
|
|
98
|
+
new CustomEvent("ed-sale-promo-close", {
|
|
99
|
+
detail: { via: r },
|
|
100
|
+
bubbles: !0,
|
|
101
|
+
composed: !0
|
|
102
|
+
})
|
|
103
|
+
));
|
|
104
|
+
}
|
|
105
|
+
render() {
|
|
106
|
+
const r = this.componentClassNames("ed-r-sale-promo");
|
|
107
|
+
return y`
|
|
108
|
+
<div class="${r}">
|
|
109
|
+
<ed-modal
|
|
110
|
+
class="ed-r-sale-promo__modal${this.dark ? " ed-r-sale-promo__modal--dark bfw-dark" : ""}"
|
|
111
|
+
dialogLabel="${this.heading}"
|
|
112
|
+
?isActive="${this.open}"
|
|
113
|
+
.closeFunction="${this.handleModalClose}"
|
|
114
|
+
>
|
|
115
|
+
<ed-r-visualzzz
|
|
116
|
+
class="ed-r-sale-promo__visual"
|
|
117
|
+
ratio="21:9"
|
|
118
|
+
configUrl="${this.visualUrl ?? m}"
|
|
119
|
+
baseUrl="${this.visualBaseUrl ?? m}"
|
|
120
|
+
theme="${this.visualTheme ?? m}"
|
|
121
|
+
></ed-r-visualzzz>
|
|
122
|
+
<ed-text-passage class="ed-r-sale-promo__teaser"><slot></slot></ed-text-passage>
|
|
123
|
+
<ed-button
|
|
124
|
+
slot="footer"
|
|
125
|
+
class="ed-r-sale-promo__cta"
|
|
126
|
+
href="${this.saleUrl ?? m}"
|
|
127
|
+
variant="primary"
|
|
128
|
+
fullWidth
|
|
129
|
+
@click="${this.handleCtaClick}"
|
|
130
|
+
>${this.ctaText}</ed-button
|
|
131
|
+
>
|
|
132
|
+
</ed-modal>
|
|
133
|
+
</div>
|
|
134
|
+
`;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
a([
|
|
138
|
+
t({ type: Boolean, reflect: !0 })
|
|
139
|
+
], o.prototype, "open");
|
|
140
|
+
a([
|
|
141
|
+
t()
|
|
142
|
+
], o.prototype, "saleUrl");
|
|
143
|
+
a([
|
|
144
|
+
t()
|
|
145
|
+
], o.prototype, "visualUrl");
|
|
146
|
+
a([
|
|
147
|
+
t()
|
|
148
|
+
], o.prototype, "visualBaseUrl");
|
|
149
|
+
a([
|
|
150
|
+
t()
|
|
151
|
+
], o.prototype, "visualTheme");
|
|
152
|
+
a([
|
|
153
|
+
t()
|
|
154
|
+
], o.prototype, "heading");
|
|
155
|
+
a([
|
|
156
|
+
t()
|
|
157
|
+
], o.prototype, "ctaText");
|
|
158
|
+
a([
|
|
159
|
+
t({ type: Boolean })
|
|
160
|
+
], o.prototype, "dark");
|
|
161
|
+
customElements.get("ed-r-sale-promo") === void 0 && customElements.define("ed-r-sale-promo", o);
|
|
162
|
+
export {
|
|
163
|
+
o as EdRSalePromo
|
|
164
|
+
};
|