@codeforamerica/marcomms-design-system 1.18.1 → 1.19.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/README.md +20 -15
- package/dist/components/accordion.js +160 -0
- package/dist/components/accordion.js.LICENSE.txt +11 -0
- package/dist/components/avatar.js +103 -0
- package/dist/components/avatar.js.LICENSE.txt +11 -0
- package/dist/components/bar.js +122 -0
- package/dist/components/bar.js.LICENSE.txt +11 -0
- package/dist/components/blob.js +133 -0
- package/dist/components/blob.js.LICENSE.txt +11 -0
- package/dist/components/box.js +99 -0
- package/dist/components/box.js.LICENSE.txt +11 -0
- package/dist/components/breadcrumbs.js +112 -0
- package/dist/components/breadcrumbs.js.LICENSE.txt +11 -0
- package/dist/components/button.js +159 -0
- package/dist/components/button.js.LICENSE.txt +11 -0
- package/dist/components/callout.js +135 -0
- package/dist/components/callout.js.LICENSE.txt +11 -0
- package/dist/components/card.js +873 -0
- package/dist/components/card.js.LICENSE.txt +11 -0
- package/dist/components/carousel.js +291 -0
- package/dist/components/carousel.js.LICENSE.txt +11 -0
- package/dist/components/icon.js +91 -0
- package/dist/components/icon.js.LICENSE.txt +11 -0
- package/dist/components/label.js +498 -0
- package/dist/components/label.js.LICENSE.txt +11 -0
- package/dist/components/logo-card.js +514 -0
- package/dist/components/logo-card.js.LICENSE.txt +11 -0
- package/dist/components/nav.js +129 -0
- package/dist/components/nav.js.LICENSE.txt +11 -0
- package/dist/components/page-nav.js +163 -0
- package/dist/components/page-nav.js.LICENSE.txt +11 -0
- package/dist/components/pager.js +707 -0
- package/dist/components/pager.js.LICENSE.txt +11 -0
- package/dist/components/pagination.js +303 -0
- package/dist/components/pagination.js.LICENSE.txt +11 -0
- package/dist/components/person-card.js +864 -0
- package/dist/components/person-card.js.LICENSE.txt +11 -0
- package/dist/components/pill.js +80 -0
- package/dist/components/pill.js.LICENSE.txt +11 -0
- package/dist/components/placeholder.js +12 -0
- package/dist/components/placeholder.js.LICENSE.txt +11 -0
- package/dist/components/promo.js +536 -0
- package/dist/components/promo.js.LICENSE.txt +11 -0
- package/dist/components/pullquote.js +89 -0
- package/dist/components/pullquote.js.LICENSE.txt +11 -0
- package/dist/components/quote.js +155 -0
- package/dist/components/quote.js.LICENSE.txt +11 -0
- package/dist/components/reveal.js +142 -0
- package/dist/components/reveal.js.LICENSE.txt +11 -0
- package/dist/components/slide.js +157 -0
- package/dist/components/slide.js.LICENSE.txt +11 -0
- package/dist/components/social-icon.js +240 -0
- package/dist/components/social-icon.js.LICENSE.txt +11 -0
- package/dist/components/stat.js +507 -0
- package/dist/components/stat.js.LICENSE.txt +11 -0
- package/dist/components/tab-list.js +688 -0
- package/dist/components/tab-list.js.LICENSE.txt +11 -0
- package/dist/components/tab.js +494 -0
- package/dist/components/tab.js.LICENSE.txt +11 -0
- package/dist/components/tile.js +662 -0
- package/dist/components/tile.js.LICENSE.txt +11 -0
- package/dist/components/transcript.js +483 -0
- package/dist/components/transcript.js.LICENSE.txt +11 -0
- package/dist/core.css +7 -0
- package/dist/core.js +0 -0
- package/dist/index.js +2328 -2328
- package/dist/styles.css +1 -1
- package/package.json +9 -3
- package/src/components/accordion.js +0 -141
- package/src/components/accordion.stories.js +0 -56
- package/src/components/avatar.js +0 -62
- package/src/components/avatar.stories.js +0 -27
- package/src/components/bar.js +0 -102
- package/src/components/bar.stories.js +0 -22
- package/src/components/blob.js +0 -128
- package/src/components/blob.stories.js +0 -73
- package/src/components/box.js +0 -55
- package/src/components/box.stories.js +0 -24
- package/src/components/breadcrumbs.js +0 -80
- package/src/components/breadcrumbs.stories.js +0 -27
- package/src/components/button.js +0 -163
- package/src/components/button.scss +0 -157
- package/src/components/button.stories.js +0 -49
- package/src/components/callout.js +0 -62
- package/src/components/callout.stories.js +0 -20
- package/src/components/card.js +0 -456
- package/src/components/card.stories.js +0 -227
- package/src/components/carousel.js +0 -662
- package/src/components/carousel.stories.js +0 -165
- package/src/components/details.scss +0 -71
- package/src/components/details.stories.js +0 -27
- package/src/components/form-elements.scss +0 -304
- package/src/components/form-elements.stories.js +0 -134
- package/src/components/icon.js +0 -44
- package/src/components/icon.scss +0 -32
- package/src/components/icon.stories.js +0 -38
- package/src/components/label.js +0 -63
- package/src/components/label.stories.js +0 -29
- package/src/components/link-list.scss +0 -80
- package/src/components/link-list.stories.js +0 -52
- package/src/components/loader.scss +0 -24
- package/src/components/loader.stories.js +0 -12
- package/src/components/logo-card.js +0 -93
- package/src/components/logo-card.stories.js +0 -48
- package/src/components/nav.js +0 -98
- package/src/components/nav.stories.js +0 -40
- package/src/components/page-nav.js +0 -171
- package/src/components/page-nav.stories.js +0 -112
- package/src/components/pager.js +0 -98
- package/src/components/pager.stories.js +0 -30
- package/src/components/pagination.js +0 -116
- package/src/components/pagination.stories.js +0 -30
- package/src/components/person-card.js +0 -240
- package/src/components/person-card.stories.js +0 -58
- package/src/components/pill.js +0 -33
- package/src/components/pill.stories.js +0 -25
- package/src/components/placeholder.js +0 -25
- package/src/components/placeholder.stories.js +0 -10
- package/src/components/promo.js +0 -82
- package/src/components/promo.stories.js +0 -37
- package/src/components/pullquote.js +0 -42
- package/src/components/pullquote.stories.js +0 -16
- package/src/components/quote.js +0 -111
- package/src/components/quote.stories.js +0 -23
- package/src/components/reveal.js +0 -83
- package/src/components/reveal.stories.js +0 -40
- package/src/components/slide.js +0 -122
- package/src/components/slide.stories.js +0 -49
- package/src/components/social-icon.js +0 -236
- package/src/components/social-icon.stories.js +0 -36
- package/src/components/stat.js +0 -92
- package/src/components/stat.stories.js +0 -28
- package/src/components/tab-list.js +0 -114
- package/src/components/tab-list.stories.js +0 -18
- package/src/components/tab.js +0 -95
- package/src/components/tab.stories.js +0 -29
- package/src/components/tile.js +0 -149
- package/src/components/tile.stories.js +0 -41
- package/src/components/transcript.js +0 -44
- package/src/components/transcript.stories.js +0 -103
- package/src/core/base.scss +0 -86
- package/src/core/colors.mdx +0 -100
- package/src/core/grid.mdx +0 -244
- package/src/core/grid.scss +0 -394
- package/src/core/helpers.scss +0 -111
- package/src/core/layout.scss +0 -97
- package/src/core/layout.stories.js +0 -145
- package/src/core/reset.scss +0 -53
- package/src/core/shadows.mdx +0 -108
- package/src/core/tokens.scss +0 -261
- package/src/core/typography.mdx +0 -79
- package/src/core/typography.scss +0 -411
- package/src/index.js +0 -43
- package/src/shared/common.js +0 -65
- package/src/shared/layout.js +0 -14
- package/src/shared/typography.js +0 -397
- package/src/styles.scss +0 -15
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
/*! For license information please see pager.js.LICENSE.txt */
|
|
2
|
+
(()=>{"use strict";var t={227(t,e,i){i.d(e,{V:()=>n});const n=i(161).AH`
|
|
3
|
+
.cfa-button,
|
|
4
|
+
a.cfa-button,
|
|
5
|
+
.cfa-button > a,
|
|
6
|
+
.wp-block-button > * {
|
|
7
|
+
--bg-color: var(--white);
|
|
8
|
+
--border-color: transparent;
|
|
9
|
+
--font-family: var(--font-family-sans-serif);
|
|
10
|
+
--font-size: var(--font-size-base);
|
|
11
|
+
--hover-bg-color: var(--blue-20);
|
|
12
|
+
--hover-border-color: var(--border-color);
|
|
13
|
+
--line-height: var(--line-height-base);
|
|
14
|
+
--text-color: var(--purple-80);
|
|
15
|
+
|
|
16
|
+
background-color: var(--bg-color);
|
|
17
|
+
border: var(--hairline) solid var(--border-color);
|
|
18
|
+
border-radius: var(--rounded-corners);
|
|
19
|
+
box-shadow: var(--shadow-small);
|
|
20
|
+
color: var(--text-color);
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
display: block;
|
|
23
|
+
font-family: var(--font-family);
|
|
24
|
+
font-size: var(--font-size);
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
padding: var(--spacing-component-2) var(--spacing-component-3);
|
|
27
|
+
text-align: center;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
transition: background-color 0.5s, box-shadow 0.5s;
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
background-color: var(--hover-bg-color);
|
|
33
|
+
border-color: var(--hover-border-color);
|
|
34
|
+
box-shadow: var(--shadow-medium);
|
|
35
|
+
color: var(--text-color);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media (max-width: 768px) {
|
|
40
|
+
.cfa-button,
|
|
41
|
+
a.cfa-button,
|
|
42
|
+
.cfa-button > a,
|
|
43
|
+
.wp-block-button > * {
|
|
44
|
+
width: 100%;
|
|
45
|
+
|
|
46
|
+
& + & {
|
|
47
|
+
margin-block-start: var(--spacing-layout-half);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.wp-block-button {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media (min-width: 768px) {
|
|
57
|
+
.cfa-button,
|
|
58
|
+
a.cfa-button,
|
|
59
|
+
.cfa-button > a,
|
|
60
|
+
.wp-block-button > * {
|
|
61
|
+
display: inline-block;
|
|
62
|
+
|
|
63
|
+
& {
|
|
64
|
+
margin-block: var(--spacing-component-2);
|
|
65
|
+
margin-inline-end: var(--spacing-component-2);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Themes / variants
|
|
71
|
+
|
|
72
|
+
.cfa-button--primary,
|
|
73
|
+
a.cfa-button--primary,
|
|
74
|
+
.cfa-button--primary > a,
|
|
75
|
+
.wp-block-button.is-style-primary > * {
|
|
76
|
+
--bg-color: var(--red-60);
|
|
77
|
+
--hover-bg-color: var(--red-80);
|
|
78
|
+
--text-color: var(--white,);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.cfa-button--outline,
|
|
82
|
+
a.cfa-button--outline,
|
|
83
|
+
.cfa-button--outline > a,
|
|
84
|
+
.wp-block-button.is-style-outline > * {
|
|
85
|
+
--border-color: var(--black-20);
|
|
86
|
+
--bg-color: transparent;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.cfa-button--outline-white,
|
|
90
|
+
a.cfa-button--outline-white,
|
|
91
|
+
.cfa-button--outline-white > a,
|
|
92
|
+
.wp-block-button.is-style-outline-white > * {
|
|
93
|
+
--border-color: var(--white);
|
|
94
|
+
--bg-color: transparent;
|
|
95
|
+
--hover-bg-color: var(--black-20);
|
|
96
|
+
--shadow-color: var(--white-20);
|
|
97
|
+
--text-color: var(--white);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.cfa-button--prominent-link,
|
|
101
|
+
a.cfa-button--prominent-link,
|
|
102
|
+
.cfa-button--prominent-link > a,
|
|
103
|
+
.wp-block-button.is-style-prominent-link > * {
|
|
104
|
+
--accent-color: var(--purple-60);
|
|
105
|
+
|
|
106
|
+
background: unset;
|
|
107
|
+
box-shadow: unset;
|
|
108
|
+
color: inherit;
|
|
109
|
+
font-weight: bold;
|
|
110
|
+
padding: 0;
|
|
111
|
+
text-decoration: underline;
|
|
112
|
+
text-decoration-color: var(--accent-color);
|
|
113
|
+
text-decoration-thickness: var(--medium);
|
|
114
|
+
text-underline-offset: 0.4em;
|
|
115
|
+
transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
116
|
+
|
|
117
|
+
&:hover {
|
|
118
|
+
--accent-color: var(--red-60);
|
|
119
|
+
|
|
120
|
+
background: unset;
|
|
121
|
+
box-shadow: unset;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&::after {
|
|
125
|
+
@include icon.icon;
|
|
126
|
+
|
|
127
|
+
content: "arrow_right_alt";
|
|
128
|
+
display: inline-block;
|
|
129
|
+
padding-inline-start: 0.1em;
|
|
130
|
+
text-decoration: none;
|
|
131
|
+
transition: transform 0.2s ease-in-out;
|
|
132
|
+
width: 1em;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&:hover::after {
|
|
136
|
+
transform: translateX(0.3em);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
cfa-icon {
|
|
140
|
+
text-decoration: none;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Sizes
|
|
145
|
+
|
|
146
|
+
.cfa-button--sm,
|
|
147
|
+
a.cfa-button--sm,
|
|
148
|
+
.cfa-button--sm > a {
|
|
149
|
+
--font-size: var(--font-size-small);
|
|
150
|
+
--line-height: var(--line-height-small);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.cfa-button--md,
|
|
154
|
+
a.cfa-button--md,
|
|
155
|
+
.cfa-button--md > a {
|
|
156
|
+
--font-size: var(--font-size-base);
|
|
157
|
+
--line-height: var(--line-height-base);
|
|
158
|
+
}
|
|
159
|
+
`},562(t,e,i){var n=i(161),o=i(601);class s extends n.WF{static styles=(()=>[o.s,n.AH`
|
|
160
|
+
:host {
|
|
161
|
+
--size: 1.2em;
|
|
162
|
+
|
|
163
|
+
display: inline;
|
|
164
|
+
line-height: inherit;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.icon {
|
|
168
|
+
-webkit-font-feature-settings: "liga";
|
|
169
|
+
direction: ltr;
|
|
170
|
+
display: inline-block;
|
|
171
|
+
font-family: "Material Symbols Rounded";
|
|
172
|
+
font-size: var(--size);
|
|
173
|
+
font-style: normal;
|
|
174
|
+
font-weight: normal;
|
|
175
|
+
letter-spacing: normal;
|
|
176
|
+
margin-top: -0.1em;
|
|
177
|
+
text-transform: none;
|
|
178
|
+
vertical-align: middle;
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
word-wrap: normal;
|
|
181
|
+
}
|
|
182
|
+
`])();render(){return n.qy`
|
|
183
|
+
<span class="icon">
|
|
184
|
+
<slot></slot>
|
|
185
|
+
</span>
|
|
186
|
+
`}}customElements.get("cfa-icon")||customElements.define("cfa-icon",s)},601(t,e,i){i.d(e,{s:()=>n});const n=i(161).AH`
|
|
187
|
+
*:focus-visible,
|
|
188
|
+
*:target {
|
|
189
|
+
outline: var(--focus-outline);
|
|
190
|
+
position: relative;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// RESET
|
|
194
|
+
|
|
195
|
+
// Use a more-intuitive box-sizing model.
|
|
196
|
+
*, *::before, *::after {
|
|
197
|
+
box-sizing: border-box;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Remove default margin
|
|
201
|
+
* {
|
|
202
|
+
margin: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// Set default text-wrap of 'pretty'
|
|
206
|
+
* {
|
|
207
|
+
text-wrap: pretty;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// Wrap overly long words
|
|
211
|
+
* {
|
|
212
|
+
overflow-wrap: break-word;
|
|
213
|
+
text-overflow: ellipsis;
|
|
214
|
+
word-break: break-word;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// Fix Safari antialiasing for variable fonts
|
|
218
|
+
* {
|
|
219
|
+
font-synthesis: none !important;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// Improve text rendering
|
|
223
|
+
body {
|
|
224
|
+
-webkit-font-smoothing: antialiased;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// Reasonable media defaults
|
|
228
|
+
img, picture, video, canvas, svg {
|
|
229
|
+
display: block;
|
|
230
|
+
height: auto;
|
|
231
|
+
max-width: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// Remove built-in form typography styles
|
|
235
|
+
input, button, textarea, select {
|
|
236
|
+
font: inherit;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// Avoid text overflows
|
|
240
|
+
p, h1, h2, h3, h4, h5, h6 {
|
|
241
|
+
overflow-wrap: break-word;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// Create a root stacking context
|
|
245
|
+
#root, #__next {
|
|
246
|
+
isolation: isolate;
|
|
247
|
+
}
|
|
248
|
+
`},205(t,e,i){i.d(e,{g:()=>n});const n=i(161).AH`
|
|
249
|
+
// =====
|
|
250
|
+
|
|
251
|
+
// Typography spacing
|
|
252
|
+
|
|
253
|
+
// Add a single space around paragraphs, blockquotes, and lists
|
|
254
|
+
p, ul, ol, blockquote {
|
|
255
|
+
& + * {
|
|
256
|
+
margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
|
|
257
|
+
}
|
|
258
|
+
* + & {
|
|
259
|
+
margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .display-1, .display-2 {
|
|
264
|
+
// Add a single line space after headings
|
|
265
|
+
& + * {
|
|
266
|
+
margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// Add two line spaces before headings
|
|
270
|
+
* + & {
|
|
271
|
+
--spacing: var(--spacing-layout-2);
|
|
272
|
+
|
|
273
|
+
margin-block-start: --spacing;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// Only add a single space between headings and other headings
|
|
277
|
+
& + & {
|
|
278
|
+
--spacing: var(--spacing-layout-1);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Reduce space after breadcrumbs and eyebrows
|
|
282
|
+
cfa-breadcrumbs + & {
|
|
283
|
+
margin-block-start: var(--spacing-layout-half) !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.eyebrow + & {
|
|
287
|
+
margin-block-start: 0 !important;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
h1, .h1, .display-1, .display-2 {
|
|
292
|
+
text-wrap: balance;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// =====
|
|
296
|
+
|
|
297
|
+
// Font styles
|
|
298
|
+
|
|
299
|
+
.regular {
|
|
300
|
+
font-family: var(--font-family-base);
|
|
301
|
+
font-size: var(--font-size-base);
|
|
302
|
+
line-height: var(--line-height-base);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.display-1 {
|
|
306
|
+
font-family: var(--font-family-heading);
|
|
307
|
+
font-size: var(--font-size-display-1);
|
|
308
|
+
font-weight: bold;
|
|
309
|
+
line-height: var(--line-height-display-1);
|
|
310
|
+
letter-spacing: var(--letter-spacing-display-1);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.display-2 {
|
|
314
|
+
font-family: var(--font-family-heading);
|
|
315
|
+
font-size: var(--font-size-display-2);
|
|
316
|
+
font-weight: bold;
|
|
317
|
+
line-height: var(--line-height-display-2);
|
|
318
|
+
letter-spacing: var(--letter-spacing-display-2);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
h1,
|
|
322
|
+
.h1 {
|
|
323
|
+
font-family: var(--font-family-heading);
|
|
324
|
+
font-size: var(--font-size-h1);
|
|
325
|
+
font-weight: bold;
|
|
326
|
+
line-height: var(--line-height-h1);
|
|
327
|
+
letter-spacing: var(--letter-spacing-h1);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
h2,
|
|
331
|
+
.h2 {
|
|
332
|
+
font-family: var(--font-family-heading);
|
|
333
|
+
font-size: var(--font-size-h2);
|
|
334
|
+
font-weight: bold;
|
|
335
|
+
line-height: var(--line-height-h2);
|
|
336
|
+
letter-spacing: var(--letter-spacing-h2);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
h3,
|
|
340
|
+
.h3 {
|
|
341
|
+
font-family: var(--font-family-heading);
|
|
342
|
+
font-size: var(--font-size-h3);
|
|
343
|
+
font-weight: bold;
|
|
344
|
+
line-height: var(--line-height-h3);
|
|
345
|
+
letter-spacing: var(--letter-spacing-h3);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
h4,
|
|
349
|
+
.h4 {
|
|
350
|
+
font-family: var(--font-family-heading);
|
|
351
|
+
font-size: var(--font-size-h4);
|
|
352
|
+
font-weight: bold;
|
|
353
|
+
line-height: var(--line-height-h4);
|
|
354
|
+
letter-spacing: var(--letter-spacing-h4);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.extra-large {
|
|
358
|
+
font-size: var(--font-size-extra-large);
|
|
359
|
+
line-height: var(--line-height-extra-large);
|
|
360
|
+
letter-spacing: var(--letter-spacing-extra-large);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.large {
|
|
364
|
+
font-size: var(--font-size-large);
|
|
365
|
+
line-height: var(--line-height-large);
|
|
366
|
+
letter-spacing: var(--letter-spacing-large);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.small {
|
|
370
|
+
font-size: var(--font-size-small);
|
|
371
|
+
line-height: var(--line-height-small);
|
|
372
|
+
letter-spacing: var(--letter-spacing-small);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.eyebrow {
|
|
376
|
+
font-family: var(--font-family-sans-serif);
|
|
377
|
+
font-size: var(--font-size-eyebrow);
|
|
378
|
+
font-weight: var(--font-weight-eyebrow);
|
|
379
|
+
letter-spacing: var(--letter-spacing-eyebrow);
|
|
380
|
+
line-height: var(--line-height-eyebrow);
|
|
381
|
+
text-transform: uppercase;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.eyebrow-with-line {
|
|
385
|
+
align-items: center;
|
|
386
|
+
color: var(--text-color);
|
|
387
|
+
display: flex;
|
|
388
|
+
font-family: var(--font-family-eyebrow);
|
|
389
|
+
font-size: var(--font-size-eyebrow);
|
|
390
|
+
font-weight: var(--font-weight-eyebrow);
|
|
391
|
+
letter-spacing: var(--letter-spacing-eyebrow);
|
|
392
|
+
line-height: var(--line-height-eyebrow);
|
|
393
|
+
margin-block-end: var(--spacing-layout-half);
|
|
394
|
+
position: relative;
|
|
395
|
+
text-transform: uppercase;
|
|
396
|
+
|
|
397
|
+
&::after {
|
|
398
|
+
border-block-end: var(--hairline) solid currentColor;
|
|
399
|
+
content: "";
|
|
400
|
+
flex-grow: 1;
|
|
401
|
+
margin-left: var(--spacing-component-3);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.subtle {
|
|
406
|
+
opacity: 0.6;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.serif {
|
|
410
|
+
font-family: var(--font-family-serif);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.sans-serif {
|
|
414
|
+
font-family: var(--font-family-sans-serif);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
i,
|
|
418
|
+
em,
|
|
419
|
+
.italic {
|
|
420
|
+
font-style: italic;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
b,
|
|
424
|
+
strong,
|
|
425
|
+
.strong {
|
|
426
|
+
font-weight: bold;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.normal {
|
|
430
|
+
font-weight: normal;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.prominent-link,
|
|
434
|
+
a.prominent-link {
|
|
435
|
+
--accent-color: var(--purple-60);
|
|
436
|
+
|
|
437
|
+
font-weight: bold;
|
|
438
|
+
text-decoration: underline;
|
|
439
|
+
text-decoration-color: var(--accent-color);
|
|
440
|
+
text-decoration-thickness: var(--medium);
|
|
441
|
+
text-underline-offset: 0.4em;
|
|
442
|
+
transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
443
|
+
|
|
444
|
+
&:hover {
|
|
445
|
+
--accent-color: var(--red-60);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
&:not(:has(cfa-icon))::after {
|
|
449
|
+
@include icon.icon;
|
|
450
|
+
|
|
451
|
+
content: "arrow_right_alt";
|
|
452
|
+
display: inline-block;
|
|
453
|
+
padding-inline-start: 0.1em;
|
|
454
|
+
text-decoration: none;
|
|
455
|
+
transition: padding 0.2s ease-in-out;
|
|
456
|
+
width: 1em;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&:not(:has(cfa-icon)):hover::after {
|
|
460
|
+
padding-inline-start: 0.3em;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
cfa-icon {
|
|
464
|
+
text-decoration: none;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.white-text,
|
|
469
|
+
.text-light /* fallback */ {
|
|
470
|
+
-moz-osx-font-smoothing: grayscale; // Sharper antialising for white text on a dark background
|
|
471
|
+
-webkit-font-smoothing: antialiased; // Sharper antialising for white text on a dark background
|
|
472
|
+
color: var(--white);
|
|
473
|
+
--link-color: var(--white);
|
|
474
|
+
--link-hover-color: var(--white);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
// =====
|
|
478
|
+
|
|
479
|
+
// Highlights
|
|
480
|
+
|
|
481
|
+
.highlight {
|
|
482
|
+
--highlight-offset: 0.2em;
|
|
483
|
+
|
|
484
|
+
box-decoration-break: clone;
|
|
485
|
+
display: inline;
|
|
486
|
+
background: linear-gradient(to top, transparent 0%, transparent var(--highlight-offset), var(--highlight-color) var(--highlight-offset), var(--highlight-color) calc(var(--highlight-offset) + var(--highlight-thickness)), transparent calc(var(--highlight-offset) + var(--highlight-thickness)), transparent 100%);
|
|
487
|
+
padding-inline: 0.1em;
|
|
488
|
+
-webkit-box-decoration-break: clone;
|
|
489
|
+
margin-inline-start: -0.1em;
|
|
490
|
+
margin-inline-end: -0.1em;
|
|
491
|
+
word-wrap: break-word;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
// ======
|
|
495
|
+
|
|
496
|
+
// Lists
|
|
497
|
+
|
|
498
|
+
.ul {
|
|
499
|
+
list-style-type: disc;
|
|
500
|
+
padding-left: var(--spacing-layout-1);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.ul > li {
|
|
504
|
+
margin-inline-start: 0;
|
|
505
|
+
padding-left: var(--spacing-component-2);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.ul > li + li {
|
|
509
|
+
margin-block-start: var(--spacing-layout-half);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.ul > li > ul {
|
|
513
|
+
margin-block-start: var(--spacing-layout-half);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.ol {
|
|
517
|
+
list-style-type: decimal;
|
|
518
|
+
padding-left: var(--spacing-layout-1);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.ol > li {
|
|
522
|
+
margin-inline-start: 0;
|
|
523
|
+
padding-inline-start: var(--spacing-component-2);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.ol > li + li {
|
|
527
|
+
margin-block-start: var(--spacing-layout-half);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.ol > li > ul {
|
|
531
|
+
margin-block-start: var(--spacing-layout-half);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.ul--unstyled {
|
|
535
|
+
list-style: none;
|
|
536
|
+
padding: 0;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.ul--unstyled > li {
|
|
540
|
+
margin-inline: 0;
|
|
541
|
+
padding: 0;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.ul--line-separators > li + li::before {
|
|
545
|
+
border-block-start: 1px solid var(--gray-20);
|
|
546
|
+
content: "";
|
|
547
|
+
display: block;
|
|
548
|
+
margin-block: var(--spacing-layout-half);
|
|
549
|
+
width: 100%;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.ul--inline,
|
|
553
|
+
.ul--inline-with-separators,
|
|
554
|
+
.ul--inline-with-line-separators {
|
|
555
|
+
display: inline;
|
|
556
|
+
list-style: none;
|
|
557
|
+
padding-inline: 0 !important;
|
|
558
|
+
padding-left: 0 !important;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.ul--inline > li,
|
|
562
|
+
.ul--inline-with-separators > li,
|
|
563
|
+
.ul--inline-with-line-separators > li {
|
|
564
|
+
display: inline-block;
|
|
565
|
+
margin-inline-end: var(--spacing-component-3);
|
|
566
|
+
padding: 0 !important;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.ul--inline li:last-child,
|
|
570
|
+
.ul--inline-with-separators li:last-child,
|
|
571
|
+
.ul--inline-with-line-separators li:last-child {
|
|
572
|
+
margin-inline-end: 0;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.ul--inline > li + li,
|
|
576
|
+
.ul--inline-with-separators > li + li,
|
|
577
|
+
.ul--inline-with-line-separators > li + li {
|
|
578
|
+
margin-block-start: 0;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.ul--inline-with-separators li,
|
|
582
|
+
.ul--inline-with-line-separators li {
|
|
583
|
+
margin-inline-end: 0;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.ul--inline-with-separators > li::after {
|
|
587
|
+
content: "•";
|
|
588
|
+
margin-inline: var(--spacing-component-2);
|
|
589
|
+
opacity: 0.5;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.ul--inline-with-separators > li:last-child::after {
|
|
593
|
+
content: "";
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.ul--inline-with-line-separators > li::after {
|
|
597
|
+
content: "|";
|
|
598
|
+
margin-inline: var(--spacing-component-2);
|
|
599
|
+
opacity: 0.5;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.ul--inline-with-line-separators > li:last-child::after {
|
|
603
|
+
content: "";
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
// ===
|
|
607
|
+
|
|
608
|
+
// Horizontal rule
|
|
609
|
+
|
|
610
|
+
hr {
|
|
611
|
+
--color: currentColor;
|
|
612
|
+
|
|
613
|
+
background-color: var(--color);
|
|
614
|
+
border: 0;
|
|
615
|
+
color: var(--color);
|
|
616
|
+
display: block;
|
|
617
|
+
font-size: 0;
|
|
618
|
+
height: var(--hairline);
|
|
619
|
+
margin-block: var(--spacing-layout-1);
|
|
620
|
+
opacity: 0.4;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
// ===
|
|
624
|
+
|
|
625
|
+
// Icons
|
|
626
|
+
|
|
627
|
+
.icon {
|
|
628
|
+
-webkit-font-feature-settings: 'liga';
|
|
629
|
+
direction: ltr;
|
|
630
|
+
display: inline-block;
|
|
631
|
+
font-family: 'Material Symbols Rounded';
|
|
632
|
+
font-feature-settings: 'liga';
|
|
633
|
+
font-size: 1.4em;
|
|
634
|
+
font-style: normal;
|
|
635
|
+
font-weight: normal;
|
|
636
|
+
letter-spacing: normal;
|
|
637
|
+
text-transform: none;
|
|
638
|
+
vertical-align: middle;
|
|
639
|
+
white-space: nowrap;
|
|
640
|
+
word-wrap: normal;
|
|
641
|
+
}
|
|
642
|
+
`},826(t,e,i){i.d(e,{AH:()=>l,Rf:()=>h,sk:()=>c});const n=globalThis,o=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),r=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[n+1],t[0]);return new a(i,t,s)},h=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const i of e){const e=document.createElement("style"),o=n.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},c=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,s))(e)})(t):t},760(t,e,i){i.d(e,{AH:()=>n.AH,mN:()=>b});var n=i(826);const{is:o,defineProperty:s,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:h}=Object,c=globalThis,d=c.trustedTypes,p=d?d.emptyScript:"",f=c.reactiveElementPolyfillSupport,u=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>!o(t,e),v={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(t,i,e);void 0!==n&&s(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){const{get:n,set:o}=r(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:n,set(e){const s=n?.call(this);o?.call(this,e),this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(u("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(u("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(u("properties"))){const t=this.properties,e=[...a(t),...l(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift((0,n.sk)(t))}else void 0!==t&&e.push((0,n.sk)(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,n.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(void 0!==n&&!0===i.reflect){const o=(void 0!==i.converter?.toAttribute?i.converter:g).toAttribute(e,i.type);this._$Em=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(t,e){const i=this.constructor,n=i._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=i.getPropertyOptions(n),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=n;const s=o.fromAttribute(e,t.type);this[n]=s??this._$Ej?.get(n)??s,this._$Em=null}}requestUpdate(t,e,i,n=!1,o){if(void 0!==t){const s=this.constructor;if(!1===n&&(o=this[t]),i??=s.getPropertyOptions(t),!((i.hasChanged??m)(o,e)||i.useDefault&&i.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:n,wrapped:o},s){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??e??this[t]),!0!==o||void 0!==s)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),!0===n&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t){const{wrapped:t}=i,n=this[e];!0!==t||this._$AL.has(e)||void 0===n||this.C(e,void 0,i,n)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[u("elementProperties")]=new Map,b[u("finalized")]=new Map,f?.({ReactiveElement:b}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,i){i.d(e,{AH:()=>n.AH,WF:()=>r,qy:()=>o.qy});var n=i(760),o=i(752);const s=globalThis;class r extends n.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}r._$litElement$=!0,r.finalized=!0,s.litElementHydrateSupport?.({LitElement:r});const a=s.litElementPolyfillSupport;a?.({LitElement:r}),(s.litElementVersions??=[]).push("4.2.2")},752(t,e,i){i.d(e,{XX:()=>L,c0:()=>k,qy:()=>x});const n=globalThis,o=t=>t,s=n.trustedTypes,r=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",l=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+l,c=`<${h}>`,d=document,p=()=>d.createComment(""),f=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,g="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,b=/>/g,y=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,w=/"/g,_=/^(?:script|style|textarea|title)$/i,A=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),x=A(1),k=(A(2),A(3),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),S=new WeakMap,z=d.createTreeWalker(d,129);function C(t,e){if(!u(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(e):e}const P=(t,e)=>{const i=t.length-1,n=[];let o,s=2===e?"<svg>":3===e?"<math>":"",r=m;for(let e=0;e<i;e++){const i=t[e];let h,d,p=-1,f=0;for(;f<i.length&&(r.lastIndex=f,d=r.exec(i),null!==d);)f=r.lastIndex,r===m?"!--"===d[1]?r=v:void 0!==d[1]?r=b:void 0!==d[2]?(_.test(d[2])&&(o=RegExp("</"+d[2],"g")),r=y):void 0!==d[3]&&(r=y):r===y?">"===d[0]?(r=o??m,p=-1):void 0===d[1]?p=-2:(p=r.lastIndex-d[2].length,h=d[1],r=void 0===d[3]?y:'"'===d[3]?w:$):r===w||r===$?r=y:r===v||r===b?r=m:(r=y,o=void 0);const u=r===y&&t[e+1].startsWith("/>")?" ":"";s+=r===m?i+c:p>=0?(n.push(h),i.slice(0,p)+a+i.slice(p)+l+u):i+l+(-2===p?e:u)}return[C(t,s+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),n]};class H{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let o=0,r=0;const c=t.length-1,d=this.parts,[f,u]=P(t,e);if(this.el=H.createElement(f,i),z.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=z.nextNode())&&d.length<c;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(a)){const e=u[r++],i=n.getAttribute(t).split(l),s=/([.?@])?(.*)/.exec(e);d.push({type:1,index:o,name:s[2],strings:i,ctor:"."===s[1]?M:"?"===s[1]?N:"@"===s[1]?j:R}),n.removeAttribute(t)}else t.startsWith(l)&&(d.push({type:6,index:o}),n.removeAttribute(t));if(_.test(n.tagName)){const t=n.textContent.split(l),e=t.length-1;if(e>0){n.textContent=s?s.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],p()),z.nextNode(),d.push({type:2,index:++o});n.append(t[e],p())}}}else if(8===n.nodeType)if(n.data===h)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=n.data.indexOf(l,t+1));)d.push({type:7,index:o}),t+=l.length-1}o++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function U(t,e,i=t,n){if(e===k)return e;let o=void 0!==n?i._$Co?.[n]:i._$Cl;const s=f(e)?void 0:e._$litDirective$;return o?.constructor!==s&&(o?._$AO?.(!1),void 0===s?o=void 0:(o=new s(t),o._$AT(t,i,n)),void 0!==n?(i._$Co??=[])[n]=o:i._$Cl=o),void 0!==o&&(e=U(t,o._$AS(t,e.values),o,n)),e}class O{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,n=(t?.creationScope??d).importNode(e,!0);z.currentNode=n;let o=z.nextNode(),s=0,r=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new T(o,o.nextSibling,this,t):1===a.type?e=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(e=new q(o,this,t)),this._$AV.push(e),a=i[++r]}s!==a?.index&&(o=z.nextNode(),s++)}return z.currentNode=d,n}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class T{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,n){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=U(this,t,e),f(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==k&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>u(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==E&&f(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=H.createElement(C(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new O(n,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new H(t)),e}k(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const o of t)n===e.length?e.push(i=new T(this.O(p()),this.O(p()),this,this.options)):i=e[n],i._$AI(o),n++;n<e.length&&(this._$AR(i&&i._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=o(t).nextSibling;o(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,n,o){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=E}_$AI(t,e=this,i,n){const o=this.strings;let s=!1;if(void 0===o)t=U(this,t,e,0),s=!f(t)||t!==this._$AH&&t!==k,s&&(this._$AH=t);else{const n=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=U(this,n[i+r],e,r),a===k&&(a=this._$AH[r]),s||=!f(a)||a!==this._$AH[r],a===E?t=E:t!==E&&(t+=(a??"")+o[r+1]),this._$AH[r]=a}s&&!n&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}class N extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class j extends R{constructor(t,e,i,n,o){super(t,e,i,n,o),this.type=5}_$AI(t,e=this){if((t=U(this,t,e,0)??E)===k)return;const i=this._$AH,n=t===E&&i!==E||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==E&&(i===E||n);n&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class q{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}}const D=n.litHtmlPolyfillSupport;D?.(H,T),(n.litHtmlVersions??=[]).push("3.3.2");const L=(t,e,i)=>{const n=i?.renderBefore??e;let o=n._$litPart$;if(void 0===o){const t=i?.renderBefore??null;n._$litPart$=o=new T(e.insertBefore(p(),t),t,void 0,i??{})}return o._$AI(t),o}},161(t,e,i){i.d(e,{AH:()=>n.AH,WF:()=>n.WF,qy:()=>n.qy}),i(760),i(752);var n=i(228)}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n](s,s.exports,i),s.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n=i(161),o=i(601),s=i(205),r=i(227);i(562);class a extends n.WF{static properties={previousTitle:{},previousUrl:{},nextTitle:{},nextUrl:{}};static styles=(()=>[o.s,s.g,r.V,n.AH`
|
|
643
|
+
:host {
|
|
644
|
+
display: block;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
* {
|
|
648
|
+
box-sizing: border-box;
|
|
649
|
+
text-wrap: comfortable;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
nav {
|
|
653
|
+
display: flex;
|
|
654
|
+
flex-direction: column;
|
|
655
|
+
column-gap: var(--gutter-width);
|
|
656
|
+
row-gap: var(--spacing-layout-half);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
nav > * > * {
|
|
660
|
+
width: 100%;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
@media (min-width: 768px) {
|
|
664
|
+
nav {
|
|
665
|
+
flex-direction: row-reverse;
|
|
666
|
+
justify-content: space-between;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
a {
|
|
670
|
+
min-width: var(--column-span-4);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.next a {
|
|
674
|
+
text-align: end;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.previous a {
|
|
678
|
+
text-align: start;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
`])();render(){return n.qy`
|
|
682
|
+
<nav>
|
|
683
|
+
<div class="next">
|
|
684
|
+
${this.nextUrl?n.qy`
|
|
685
|
+
<a href="${this.nextUrl}" class="cfa-button">
|
|
686
|
+
<span class="small label"
|
|
687
|
+
>Next <cfa-icon>arrow_forward</cfa-icon></span
|
|
688
|
+
><br />
|
|
689
|
+
<span class="title normal">${this.nextTitle}</span>
|
|
690
|
+
</a>
|
|
691
|
+
`:""}
|
|
692
|
+
</div>
|
|
693
|
+
<div class="previous">
|
|
694
|
+
${this.previousUrl?n.qy`
|
|
695
|
+
<a
|
|
696
|
+
href="${this.previousUrl}"
|
|
697
|
+
class="cfa-button cfa-button--outline"
|
|
698
|
+
>
|
|
699
|
+
<span class="small label"
|
|
700
|
+
><cfa-icon>arrow_back</cfa-icon> Previous</span
|
|
701
|
+
><br />
|
|
702
|
+
<span class="title normal">${this.previousTitle}</span>
|
|
703
|
+
</a>
|
|
704
|
+
`:""}
|
|
705
|
+
</div>
|
|
706
|
+
</nav>
|
|
707
|
+
`}}customElements.get("cfa-pager")||customElements.define("cfa-pager",a)})();
|