quirk-ui 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CategoryFilters-BQ3HNIBf.cjs +1 -0
- package/dist/CategoryFilters-bKLPkXw7.js +79 -0
- package/dist/HeroSubComponents-CGkYeBIT.js +202 -0
- package/dist/HeroSubComponents-CfbLrTJF.cjs +6 -0
- package/dist/assets/CategoryFilters.css +1 -1
- package/dist/assets/HeroSubComponents.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index61.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/core/components/Carousel/index.cjs +1 -1
- package/dist/core/components/Carousel/index.mjs +1 -1
- package/dist/core/components/DatePicker/index.cjs +2 -2
- package/dist/core/components/DatePicker/index.mjs +52 -52
- package/dist/core/components/Grid/index.cjs +1 -1
- package/dist/core/components/Grid/index.mjs +1 -1
- package/dist/core/components/Input/index.cjs +1 -1
- package/dist/core/components/Input/index.mjs +1 -1
- package/dist/core/components/Select/index.cjs +1 -1
- package/dist/core/components/Select/index.mjs +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +23 -2
- package/dist/main.mjs +23 -20
- package/dist/next/blocks/AccordionBlock/index.cjs +1 -1
- package/dist/next/blocks/AccordionBlock/index.mjs +17 -17
- package/dist/next/blocks/AdditionalCategoriesBlock/index.cjs +1 -1
- package/dist/next/blocks/AdditionalCategoriesBlock/index.mjs +22 -21
- package/dist/next/blocks/CardGridBlock/index.cjs +1 -1
- package/dist/next/blocks/CardGridBlock/index.mjs +1 -1
- package/dist/next/blocks/CarouselBlock/index.cjs +1 -1
- package/dist/next/blocks/CarouselBlock/index.mjs +1 -1
- package/dist/next/blocks/ContentBlock/index.cjs +1 -1
- package/dist/next/blocks/ContentBlock/index.mjs +73 -69
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.mjs +1 -1
- package/dist/next/blocks/DocumentListBlock/index.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/index.mjs +75 -65
- package/dist/next/blocks/FeaturedDocumentsBlock/index.cjs +1 -1
- package/dist/next/blocks/FeaturedDocumentsBlock/index.mjs +78 -74
- package/dist/next/blocks/HeroBlock/HeroSubComponents.cjs +1 -1
- package/dist/next/blocks/HeroBlock/HeroSubComponents.mjs +1 -1
- package/dist/next/blocks/HeroBlock/index.cjs +1 -1
- package/dist/next/blocks/HeroBlock/index.mjs +1 -1
- package/dist/next/blocks/QuoteBlock/index.cjs +1 -1
- package/dist/next/blocks/QuoteBlock/index.mjs +1 -1
- package/dist/next/blocks/RichTextBlock/index.cjs +1 -1
- package/dist/next/blocks/RichTextBlock/index.mjs +1 -1
- package/dist/next/blocks/StickyScrollBlock/index.cjs +1 -1
- package/dist/next/blocks/StickyScrollBlock/index.mjs +59 -49
- package/dist/next/blocks/TabsBlock/index.cjs +1 -1
- package/dist/next/blocks/TabsBlock/index.mjs +107 -94
- package/dist/next/blocks/WasHelpfulBlock/index.cjs +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.mjs +1 -1
- package/dist/next/cards/SpotlightCard/index.cjs +1 -1
- package/dist/next/cards/SpotlightCard/index.mjs +1 -1
- package/dist/next/ui/AnimatedSpan/index.cjs +1 -1
- package/dist/next/ui/AnimatedSpan/index.mjs +1 -1
- package/dist/next/ui/PortableTextRenderer/PortableTextRenderer.types.cjs +1 -0
- package/dist/next/ui/PortableTextRenderer/PortableTextRenderer.types.mjs +1 -0
- package/dist/next/ui/PortableTextRenderer/index.cjs +1 -1
- package/dist/next/ui/PortableTextRenderer/index.mjs +1 -1
- package/dist/next/utils/portableTextUtils.cjs +1 -1
- package/dist/next/utils/portableTextUtils.mjs +22 -3
- package/dist/next.cjs +1 -1
- package/dist/next.d.ts +23 -2
- package/dist/next.mjs +15 -12
- package/dist/styles.css +20 -20
- package/package.json +1 -1
- package/dist/CategoryFilters-C0_SftM8.js +0 -77
- package/dist/CategoryFilters-CvVjFOWh.cjs +0 -1
- package/dist/HeroSubComponents-CdjT4Z5_.js +0 -202
- package/dist/HeroSubComponents-OGshYYOc.cjs +0 -6
package/dist/main.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './assets/index.css';/* empty css */
|
|
2
2
|
import { Accordion as t } from "./core/components/Accordion/index.mjs";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as x } from "./AccordionItem-CSnP9QoI.js";
|
|
4
4
|
import { Avatar as f } from "./core/components/Avatar/index.mjs";
|
|
5
5
|
import { Badge as a } from "./core/components/Badge/index.mjs";
|
|
6
6
|
import { Box as l } from "./core/components/Box/index.mjs";
|
|
7
7
|
import { Breadcrumbs as d } from "./core/components/Breadcrumbs/index.mjs";
|
|
8
8
|
import { ButtonGroup as k } from "./core/components/ButtonGroup/index.mjs";
|
|
9
9
|
import { B as u } from "./index-DoRSKr6y.js";
|
|
10
|
-
import { Card as
|
|
10
|
+
import { Card as C } from "./core/components/Card/index.mjs";
|
|
11
11
|
import { Carousel as g } from "./core/components/Carousel/index.mjs";
|
|
12
|
-
import { Checkbox as
|
|
12
|
+
import { Checkbox as b } from "./core/components/Checkbox/index.mjs";
|
|
13
13
|
import { Container as v } from "./core/components/Container/index.mjs";
|
|
14
14
|
import { DatePicker as F } from "./core/components/DatePicker/index.mjs";
|
|
15
15
|
import { Divider as D } from "./core/components/Divider/index.mjs";
|
|
@@ -27,15 +27,15 @@ import { List as Z } from "./core/components/List/index.mjs";
|
|
|
27
27
|
import { Modal as $ } from "./core/components/Modal/index.mjs";
|
|
28
28
|
import { MultiSelect as ro } from "./core/components/MultiSelect/index.mjs";
|
|
29
29
|
import { Navbar as to } from "./core/components/NavBar/index.mjs";
|
|
30
|
-
import { Notification as
|
|
30
|
+
import { Notification as xo } from "./core/components/Notification/index.mjs";
|
|
31
31
|
import { NotificationContainer as fo } from "./core/components/NotificationContainer/index.mjs";
|
|
32
32
|
import { ProgressBar as ao } from "./core/components/ProgressBar/index.mjs";
|
|
33
33
|
import { Radio as lo } from "./core/components/Radio/index.mjs";
|
|
34
34
|
import { Range as Bo } from "./core/components/Range/index.mjs";
|
|
35
35
|
import { Select as so } from "./core/components/Select/index.mjs";
|
|
36
|
-
import { Sidebar as
|
|
37
|
-
import { Skeleton as
|
|
38
|
-
import { Spacer as
|
|
36
|
+
import { Sidebar as To } from "./core/components/Sidebar/index.mjs";
|
|
37
|
+
import { Skeleton as So } from "./core/components/Skeleton/index.mjs";
|
|
38
|
+
import { Spacer as ho } from "./core/components/Spacer/index.mjs";
|
|
39
39
|
import { Spinner as Ao } from "./core/components/Spinner/index.mjs";
|
|
40
40
|
import { Stack as Lo } from "./core/components/Stack/index.mjs";
|
|
41
41
|
import { Switch as Po } from "./core/components/Switch/index.mjs";
|
|
@@ -53,21 +53,22 @@ import { ContentBlock as Yo } from "./next/blocks/ContentBlock/index.mjs";
|
|
|
53
53
|
import { DocumentListBlock as _o } from "./next/blocks/DocumentListBlock/index.mjs";
|
|
54
54
|
import { FeaturedDocumentsBlock as or } from "./next/blocks/FeaturedDocumentsBlock/index.mjs";
|
|
55
55
|
import { HeroBlock as er } from "./next/blocks/HeroBlock/index.mjs";
|
|
56
|
-
import { HeroProvider as pr, useHeroContext as
|
|
56
|
+
import { HeroProvider as pr, useHeroContext as xr } from "./next/blocks/HeroBlock/HeroContext.mjs";
|
|
57
57
|
import { LocaleLink as fr } from "./next/ui/LocaleLink/index.mjs";
|
|
58
58
|
import { QuoteBlock as ar } from "./next/blocks/QuoteBlock/index.mjs";
|
|
59
59
|
import { RichTextBlock as lr } from "./next/blocks/RichTextBlock/index.mjs";
|
|
60
60
|
import { RichText as dr } from "./next/ui/PortableTextRenderer/index.mjs";
|
|
61
61
|
import { StickyScrollBlock as kr } from "./next/blocks/StickyScrollBlock/index.mjs";
|
|
62
62
|
import { TabsBlock as ur } from "./next/blocks/TabsBlock/index.mjs";
|
|
63
|
-
import { WasHelpfulBlock as
|
|
63
|
+
import { WasHelpfulBlock as Cr } from "./next/blocks/WasHelpfulBlock/index.mjs";
|
|
64
64
|
import { SpotlightCard as gr } from "./next/cards/SpotlightCard/index.mjs";
|
|
65
|
-
import { LocaleBridgeProvider as
|
|
65
|
+
import { LocaleBridgeProvider as br, useLocaleBridge as Ar } from "./next/context/LocaleBridge.mjs";
|
|
66
66
|
import { AppThemeProvider as Lr, useTheme as Fr } from "./core/context/ThemeContext.mjs";
|
|
67
|
+
import { extractText as Dr, renderRichText as Hr } from "./next/utils/portableTextUtils.mjs";
|
|
67
68
|
export {
|
|
68
69
|
t as Accordion,
|
|
69
70
|
qo as AccordionBlock,
|
|
70
|
-
|
|
71
|
+
x as AccordionItem,
|
|
71
72
|
Eo as AdditionalCategoriesBlock,
|
|
72
73
|
Lr as AppThemeProvider,
|
|
73
74
|
f as Avatar,
|
|
@@ -76,11 +77,11 @@ export {
|
|
|
76
77
|
d as Breadcrumbs,
|
|
77
78
|
u as Button,
|
|
78
79
|
k as ButtonGroup,
|
|
79
|
-
|
|
80
|
+
C as Card,
|
|
80
81
|
Ko as CardGridBlock,
|
|
81
82
|
g as Carousel,
|
|
82
83
|
Vo as CarouselBlock,
|
|
83
|
-
|
|
84
|
+
b as Checkbox,
|
|
84
85
|
v as Container,
|
|
85
86
|
Yo as ContentBlock,
|
|
86
87
|
F as DatePicker,
|
|
@@ -100,12 +101,12 @@ export {
|
|
|
100
101
|
O as Input,
|
|
101
102
|
X as Label,
|
|
102
103
|
Z as List,
|
|
103
|
-
|
|
104
|
+
br as LocaleBridgeProvider,
|
|
104
105
|
fr as LocaleLink,
|
|
105
106
|
$ as Modal,
|
|
106
107
|
ro as MultiSelect,
|
|
107
108
|
to as Navbar,
|
|
108
|
-
|
|
109
|
+
xo as Notification,
|
|
109
110
|
fo as NotificationContainer,
|
|
110
111
|
ao as ProgressBar,
|
|
111
112
|
ar as QuoteBlock,
|
|
@@ -114,9 +115,9 @@ export {
|
|
|
114
115
|
dr as RichText,
|
|
115
116
|
lr as RichTextBlock,
|
|
116
117
|
so as Select,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
To as Sidebar,
|
|
119
|
+
So as Skeleton,
|
|
120
|
+
ho as Spacer,
|
|
120
121
|
Ao as Spinner,
|
|
121
122
|
gr as SpotlightCard,
|
|
122
123
|
Lo as Stack,
|
|
@@ -129,8 +130,10 @@ export {
|
|
|
129
130
|
Mo as Textarea,
|
|
130
131
|
Wo as ThemeProvider,
|
|
131
132
|
Qo as Tooltip,
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
Cr as WasHelpfulBlock,
|
|
134
|
+
Dr as extractText,
|
|
135
|
+
Hr as renderRichText,
|
|
136
|
+
xr as useHeroContext,
|
|
134
137
|
Ar as useLocaleBridge,
|
|
135
138
|
Fr as useTheme
|
|
136
139
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index4.css');const t=require("react/jsx-runtime"),b=require("../../../core/components/Accordion/index.cjs"),p=require("../../hooks/useStyleClasses.cjs"),y="_accordion_nczv3_1",v="_container_nczv3_7",r="_split_nczv3_29",k="_heading_nczv3_33",z="_content_nczv3_39",$="_eyebrow_nczv3_69",w="_disclaimer_nczv3_73",c={accordion:y,container:v,default:"_default_nczv3_24",split:r,heading:k,content:z,eyebrow:$,disclaimer:w};function N(s,n){return s.map(l=>({id:l._key,title:l.title,description:n?n({blocks:l.content}):null}))}function d({heading:s,items:n,multiple:l,className:a,styleOptions:_,id:m,renderRichText:o}){const i=p.useStyleClasses(_),u=i.includes("split"),e=N(n??[],o);return t.jsx("section",{id:m,className:`${c.accordion} ${i}`,children:t.jsxs("article",{className:`${u?c.split:c.default} ${c.container}`,children:[(s.eyebrow||s.title||s.description)&&t.jsxs("div",{className:c.heading,children:[s.eyebrow&&(o==null?void 0:o({blocks:s.eyebrow,className:c.eyebrow})),s.title&&(o==null?void 0:o({blocks:s.title})),s.description&&(o==null?void 0:o({blocks:s.description})),s.disclaimer&&(o==null?void 0:o({blocks:s.disclaimer,className:c.disclaimer}))]}),t.jsx("div",{className:`${c.content} ${a??""}`,children:t.jsx(b.Accordion,{items:e,multiple:l})})]})})}exports.AccordionBlock=d;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Accordion as
|
|
1
|
+
import { jsx as n, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Accordion as v } from "../../../core/components/Accordion/index.mjs";
|
|
3
3
|
import { useStyleClasses as y } from "../../hooks/useStyleClasses.mjs";
|
|
4
|
-
import '../../../assets/
|
|
4
|
+
import '../../../assets/index4.css';const f = "_accordion_nczv3_1", z = "_container_nczv3_7", k = "_split_nczv3_29", w = "_heading_nczv3_33", N = "_content_nczv3_39", $ = "_eyebrow_nczv3_69", j = "_disclaimer_nczv3_73", c = {
|
|
5
5
|
accordion: f,
|
|
6
|
-
container:
|
|
7
|
-
default: "
|
|
8
|
-
split:
|
|
9
|
-
heading:
|
|
10
|
-
content:
|
|
11
|
-
eyebrow:
|
|
6
|
+
container: z,
|
|
7
|
+
default: "_default_nczv3_24",
|
|
8
|
+
split: k,
|
|
9
|
+
heading: w,
|
|
10
|
+
content: N,
|
|
11
|
+
eyebrow: $,
|
|
12
12
|
disclaimer: j
|
|
13
13
|
};
|
|
14
14
|
function r(o, t) {
|
|
@@ -22,18 +22,18 @@ function d({
|
|
|
22
22
|
heading: o,
|
|
23
23
|
items: t,
|
|
24
24
|
multiple: l,
|
|
25
|
-
className:
|
|
26
|
-
styleOptions:
|
|
27
|
-
id:
|
|
25
|
+
className: _,
|
|
26
|
+
styleOptions: m,
|
|
27
|
+
id: p,
|
|
28
28
|
renderRichText: s
|
|
29
29
|
}) {
|
|
30
|
-
const
|
|
31
|
-
return /* @__PURE__ */
|
|
30
|
+
const a = y(m), b = a.includes("split"), u = r(t ?? [], s);
|
|
31
|
+
return /* @__PURE__ */ n("section", { id: p, className: `${c.accordion} ${a}`, children: /* @__PURE__ */ i(
|
|
32
32
|
"article",
|
|
33
33
|
{
|
|
34
|
-
className: `${
|
|
34
|
+
className: `${b ? c.split : c.default} ${c.container}`,
|
|
35
35
|
children: [
|
|
36
|
-
(o.eyebrow || o.title || o.description) && /* @__PURE__ */
|
|
36
|
+
(o.eyebrow || o.title || o.description) && /* @__PURE__ */ i("div", { className: c.heading, children: [
|
|
37
37
|
o.eyebrow && (s == null ? void 0 : s({
|
|
38
38
|
blocks: o.eyebrow,
|
|
39
39
|
className: c.eyebrow
|
|
@@ -45,7 +45,7 @@ function d({
|
|
|
45
45
|
className: c.disclaimer
|
|
46
46
|
}))
|
|
47
47
|
] }),
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ n("div", { className: `${c.content} ${_ ?? ""}`, children: /* @__PURE__ */ n(v, { items: u, multiple: l }) })
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index5.css');const t=require("react/jsx-runtime"),d=require("react"),g="_additionalCategories_1wmnv_1",u="_container_1wmnv_6",_="_categories_1wmnv_12",m="_list_1wmnv_23",h="_category_1wmnv_31",i={additionalCategories:g,container:u,categories:_,list:m,category:h};function y({categories:r,type:c,id:o,renderLink:s}){if(!(r!=null&&r.length))return null;const l=r.filter(e=>{var n,a;return!((a=(n=e.slug)==null?void 0:n.current)!=null&&a.startsWith("library/type"))&&e.slug.current.includes("keyword")});return l.length?t.jsx("section",{id:o,className:`${i.additionalCategories} ${c==="article"?"blog":""}`,children:t.jsx("article",{className:i.container,children:t.jsxs("div",{className:i.categories,children:[t.jsx("p",{children:"In this article:"}),t.jsx("div",{className:i.list,children:l.map(e=>{const n=`/blog/search?categories=${encodeURIComponent(e._id)}`;return t.jsx(d.Fragment,{children:s?s({href:n,className:i.category,children:e.title}):t.jsx("a",{href:n,className:i.category,children:e.title})},e._id)})})]})})}):null}exports.AdditionalCategoriesBlock=y;
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import _ from "react";
|
|
3
|
+
import '../../../assets/index5.css';const m = "_additionalCategories_1wmnv_1", g = "_container_1wmnv_6", h = "_categories_1wmnv_12", u = "_list_1wmnv_23", f = "_category_1wmnv_31", i = {
|
|
4
|
+
additionalCategories: m,
|
|
5
|
+
container: g,
|
|
6
|
+
categories: h,
|
|
7
|
+
list: u,
|
|
8
|
+
category: f
|
|
8
9
|
};
|
|
9
10
|
function w({
|
|
10
11
|
categories: r,
|
|
11
12
|
type: o,
|
|
12
13
|
id: c,
|
|
13
|
-
renderLink:
|
|
14
|
+
renderLink: l
|
|
14
15
|
}) {
|
|
15
16
|
if (!(r != null && r.length)) return null;
|
|
16
|
-
const
|
|
17
|
+
const a = r.filter(
|
|
17
18
|
(e) => {
|
|
18
|
-
var
|
|
19
|
-
return !((
|
|
19
|
+
var n, s;
|
|
20
|
+
return !((s = (n = e.slug) == null ? void 0 : n.current) != null && s.startsWith("library/type")) && e.slug.current.includes("keyword");
|
|
20
21
|
}
|
|
21
22
|
);
|
|
22
|
-
return
|
|
23
|
+
return a.length ? /* @__PURE__ */ t(
|
|
23
24
|
"section",
|
|
24
25
|
{
|
|
25
26
|
id: c,
|
|
26
|
-
className: `${
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
const
|
|
31
|
-
return
|
|
32
|
-
href:
|
|
33
|
-
className:
|
|
27
|
+
className: `${i.additionalCategories} ${o === "article" ? "blog" : ""}`,
|
|
28
|
+
children: /* @__PURE__ */ t("article", { className: i.container, children: /* @__PURE__ */ d("div", { className: i.categories, children: [
|
|
29
|
+
/* @__PURE__ */ t("p", { children: "In this article:" }),
|
|
30
|
+
/* @__PURE__ */ t("div", { className: i.list, children: a.map((e) => {
|
|
31
|
+
const n = `/blog/search?categories=${encodeURIComponent(e._id)}`;
|
|
32
|
+
return /* @__PURE__ */ t(_.Fragment, { children: l ? l({
|
|
33
|
+
href: n,
|
|
34
|
+
className: i.category,
|
|
34
35
|
children: e.title
|
|
35
|
-
}) : /* @__PURE__ */
|
|
36
|
+
}) : /* @__PURE__ */ t("a", { href: n, className: i.category, children: e.title }) }, e._id);
|
|
36
37
|
}) })
|
|
37
38
|
] }) })
|
|
38
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index6.css');const c=require("react/jsx-runtime"),m=require("react"),V=require("../../../core/components/Grid/index.cjs"),C=require("../../cards/cardRegistry.cjs"),B=require("../../hooks/useMediaQuery.cjs"),L=require("../../hooks/useStyleClasses.cjs"),w="_cardGrid_o3qfg_1",D="_padding_o3qfg_8",Q="_noPadding_o3qfg_12",U="_container_o3qfg_16",E="_heading_o3qfg_27",F="_title_o3qfg_32",I="_cta_o3qfg_32",J="_text_o3qfg_32",K="_headingHorizontal_o3qfg_55",W="_headingVertical_o3qfg_68",X="_description_o3qfg_79",Y="_disclaimer_o3qfg_84",Z="_grid_o3qfg_106",O="_segmentGrid_o3qfg_163",A="_gridComponent_o3qfg_195",l={cardGrid:w,padding:D,noPadding:Q,container:U,heading:E,title:F,cta:I,text:J,headingHorizontal:K,headingVertical:W,description:X,disclaimer:Y,grid:Z,segmentGrid:O,gridComponent:A,"grid--product":"_grid--product_o3qfg_199"};function i(s){for(const t of s)if(!(!t.children||!t.markDefs)){for(const a of t.children)if(a!=null&&a.marks)for(const n of a.marks){const e=t.markDefs.find(_=>_._key===n);if((e==null?void 0:e._type)==="coloredText")return a.text}}return null}function b(s){return s.flatMap(t=>t.children??[]).map(t=>t.text??"").join("")}function M({heading:s,callToAction:t,renderRichText:a,renderCallToAction:n}){return c.jsxs("div",{className:l.cta,children:[t&&(n==null?void 0:n(t)),(s==null?void 0:s.disclaimer)&&(a==null?void 0:a({blocks:s.disclaimer,className:l.disclaimer}))]})}function T({heading:s,grid:t,callToAction:a,styleOptions:n,id:e,textReplaceOnHover:_=!1,renderRichText:r,renderCallToAction:v,renderImage:q}){var x,N,G,$;const[k,u]=m.useState(null),y=B.useMediaQuery("(max-width: 768px)"),p=L.useStyleClasses(n),S={horizontal:l.headingHorizontal,vertical:l.headingVertical}[(s==null?void 0:s.headingLayout)??"vertical"];m.useEffect(()=>{s!=null&&s.title&&u(i(s.title))},[s==null?void 0:s.title]);const z=m.useMemo(()=>{if(!(!(t!=null&&t.areas)||y))return t.areas.map(o=>o.trim().split(/\s+/))},[t==null?void 0:t.areas,y]),H=m.useMemo(()=>(r==null?void 0:r({blocks:s==null?void 0:s.title,className:l.title,animateText:(s==null?void 0:s.animateText)??!1,textOverride:k??void 0}))??null,[s==null?void 0:s.title,s==null?void 0:s.animateText,r,k]),P=!(s!=null&&s.title)&&!(s!=null&&s.description),j=((N=(x=t==null?void 0:t.items)==null?void 0:x[0])==null?void 0:N.variant)??null;return c.jsx("section",{id:e,className:`${l.cardGrid} ${(t==null?void 0:t.className)??""} ${p}`,children:c.jsxs("article",{className:l.container,children:[!P&&c.jsxs("div",{className:`${l.heading} ${S??""}`,children:[(s==null?void 0:s.title)&&H,(s==null?void 0:s.description)&&(r==null?void 0:r({blocks:s.description,className:l.description})),p.includes("split")&&c.jsx(M,{heading:s,callToAction:a,renderRichText:r,renderCallToAction:v})]}),c.jsxs("div",{className:`${l.grid} ${j?l[`grid--${j}`]??"":""}`,children:[(t==null?void 0:t.className)==="segmentGrid"?c.jsx("div",{className:l.segmentGrid,style:{gap:t==null?void 0:t.gap},children:(G=t==null?void 0:t.items)==null?void 0:G.map(o=>{const f=C.resolveCard(o.variant);return f?c.jsx(f,{...o,gridArea:o.gridArea,renderRichText:r,renderImage:q,onHover:()=>{_&&o.title&&u(b(o.title))},onLeave:()=>{_&&u(s!=null&&s.title?i(s.title):null)}},o._key):c.jsxs("div",{children:["Unknown variant: ",o.variant]},o._key)})}):c.jsx(V.Grid,{className:l.gridComponent,columns:t==null?void 0:t.columns,gap:t==null?void 0:t.gap,areas:z,children:($=t==null?void 0:t.items)==null?void 0:$.map(o=>{const f=C.resolveCard(o.variant);return f?c.jsx(f,{...o,gridArea:o.gridArea,renderRichText:r,renderImage:q,onHover:()=>{_&&o.title&&u(b(o.title))},onLeave:()=>{_&&u(s!=null&&s.title?i(s.title):null)}},o._key):c.jsxs("div",{children:["Unknown variant: ",o.variant]},o._key)})}),!p.includes("split")&&c.jsx(M,{heading:s,callToAction:a,renderRichText:r,renderCallToAction:v})]})]})})}exports.CardGridBlock=T;
|
|
@@ -4,7 +4,7 @@ import { Grid as D } from "../../../core/components/Grid/index.mjs";
|
|
|
4
4
|
import { resolveCard as H } from "../../cards/cardRegistry.mjs";
|
|
5
5
|
import { useMediaQuery as U } from "../../hooks/useMediaQuery.mjs";
|
|
6
6
|
import { useStyleClasses as E } from "../../hooks/useStyleClasses.mjs";
|
|
7
|
-
import '../../../assets/
|
|
7
|
+
import '../../../assets/index6.css';const Q = "_cardGrid_o3qfg_1", x = "_padding_o3qfg_8", F = "_noPadding_o3qfg_12", I = "_container_o3qfg_16", J = "_heading_o3qfg_27", K = "_title_o3qfg_32", W = "_cta_o3qfg_32", X = "_text_o3qfg_32", Y = "_headingHorizontal_o3qfg_55", Z = "_headingVertical_o3qfg_68", A = "_description_o3qfg_79", O = "_disclaimer_o3qfg_84", T = "_grid_o3qfg_106", R = "_segmentGrid_o3qfg_163", d = "_gridComponent_o3qfg_195", l = {
|
|
8
8
|
cardGrid: Q,
|
|
9
9
|
padding: x,
|
|
10
10
|
noPadding: F,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index7.css');const s=require("react/jsx-runtime"),i=require("react"),f=require("../../../core/components/Carousel/index.cjs"),N=require("../../cards/cardRegistry.cjs"),F=require("../../hooks/useStyleClasses.cjs"),r=require("../../../index-CBK5rp6X.cjs"),b="_carouselBlock_idvgn_1",q="_container_idvgn_8",P="_heading_idvgn_21",B="_carousel_idvgn_1",I="_rating_idvgn_50",w="_ratingValue_idvgn_61",V="_ratingOuter_idvgn_66",$="_ratingInner_idvgn_73",E="_carouselComponent_idvgn_109",l={carouselBlock:b,container:q,heading:P,carousel:B,rating:I,ratingValue:w,ratingOuter:V,ratingInner:$,carouselComponent:E};function M({rating:t}){const a=t/5*100;return s.jsxs("div",{className:l.ratingOuter,children:[s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsxs("div",{className:l.ratingInner,style:{width:`${a}%`},children:[s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{}),s.jsx(r.FaStar,{})]})]})}function D({heading:t,carouselOptions:a,items:o,styleOptions:k,id:x,renderRichText:n,renderImage:j}){const u=i.useRef(null),v=i.useRef(null),m=F.useStyleClasses(k),y=m.includes("split"),d=i.useMemo(()=>(o??[]).map(e=>{const S=N.resolveCard(e.variant);return S?s.jsx(S,{...e,renderRichText:n,renderImage:j},e._key):s.jsxs("div",{children:["Unknown variant: ",e.variant]},e._key)}),[o,n,j]),c=a==null?void 0:a.ratingSingleton,_=c==null?void 0:c.rating,g=c==null?void 0:c.description,C=!(t!=null&&t.title)&&!(t!=null&&t.description)&&!_;return s.jsx("section",{id:x,className:`${m} ${l.carouselBlock}`,children:s.jsxs("article",{ref:u,className:l.container,children:[!C&&s.jsxs("div",{ref:v,className:l.heading,children:[(t==null?void 0:t.title)&&(n==null?void 0:n({blocks:t.title})),_&&s.jsxs("div",{className:l.rating,children:[s.jsx(M,{rating:_}),s.jsx("div",{children:g?n==null?void 0:n({blocks:g}):s.jsx("div",{className:l.ratingValue,children:_})})]}),(t==null?void 0:t.description)&&(n==null?void 0:n({blocks:t.description}))]}),s.jsx("div",{className:l.carousel,children:s.jsx(f.Carousel,{autoplay:a==null?void 0:a.autoplay,autoplayInterval:a==null?void 0:a.autoplayInterval,itemsPerPage:a==null?void 0:a.itemsPerPage,itemsPerRow:a==null?void 0:a.itemsPerRow,items:d,parentRef:u,siblingRef:v,isSplit:y,isExpandable:a==null?void 0:a.isExpandable,className:l.carouselComponent})})]})})}exports.CarouselBlock=D;
|
|
@@ -4,7 +4,7 @@ import { Carousel as w } from "../../../core/components/Carousel/index.mjs";
|
|
|
4
4
|
import { resolveCard as B } from "../../cards/cardRegistry.mjs";
|
|
5
5
|
import { useStyleClasses as V } from "../../hooks/useStyleClasses.mjs";
|
|
6
6
|
import { F as r } from "../../../index-CeBA0PT0.js";
|
|
7
|
-
import '../../../assets/
|
|
7
|
+
import '../../../assets/index7.css';const $ = "_carouselBlock_idvgn_1", j = "_container_idvgn_8", E = "_heading_idvgn_21", F = "_carousel_idvgn_1", S = "_rating_idvgn_50", D = "_ratingValue_idvgn_61", H = "_ratingOuter_idvgn_66", M = "_ratingInner_idvgn_73", U = "_carouselComponent_idvgn_109", s = {
|
|
8
8
|
carouselBlock: $,
|
|
9
9
|
container: j,
|
|
10
10
|
heading: E,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../assets/index8.css');const e=require("react/jsx-runtime"),S=require("../../hooks/useStyleClasses.cjs"),k=require("../../../core/context/ThemeContext.cjs"),H=require("../../hooks/useMediaQuery.cjs"),g=require("../../utils/mediaUtils.cjs"),W="_content_1fjz8_1",$="_container_1fjz8_7",L="_eyebrow_1fjz8_34",B="_metrics_1fjz8_38",C="_metric_1fjz8_38",q="_metricValue_1fjz8_54",M="_disclaimer_1fjz8_75",U="_layoutHImageRight_1fjz8_80",D="_heading_1fjz8_84",E="_image_1fjz8_89",Q="_noImage_1fjz8_99",Y="_layoutHImageLeft_1fjz8_103",F="_layoutVImageTop_1fjz8_122",G="_layoutVImageBottom_1fjz8_135",P="_text_1fjz8_154",J="_title_1fjz8_159",K="_cta_1fjz8_178",X="_headingHorizontal_1fjz8_186",Z="_titleWrapper_1fjz8_195",O="_headingVertical_1fjz8_216",A="_videoWrapper_1fjz8_237",T="_layoutSplitText_1fjz8_329",R="_additionalContent_1fjz8_344",t={content:W,container:$,eyebrow:L,metrics:B,metric:C,metricValue:q,disclaimer:M,layoutHImageRight:U,heading:D,image:E,noImage:Q,layoutHImageLeft:Y,layoutVImageTop:F,layoutVImageBottom:G,text:P,title:J,cta:K,headingHorizontal:X,titleWrapper:Z,headingVertical:O,videoWrapper:A,layoutSplitText:T,additionalContent:R},tt={"no-image":t.noImage,"split-text":t.layoutSplitText,"horizontal-image-right":t.layoutHImageRight,"horizontal-image-left":t.layoutHImageLeft,"vertical-image-top":t.layoutVImageTop,"vertical-image-bottom":t.layoutVImageBottom},st={horizontal:t.headingHorizontal,vertical:t.headingVertical};function et(s,i,l){const o=s.includes("vimeo.com"),c=s.includes("youtube.com")||s.includes("youtu.be");return o||c?e.jsx("div",{style:{maxWidth:l??"unset",flex:.65},children:e.jsx("div",{className:t.videoWrapper,children:e.jsx("iframe",{src:o?`${s}?autoplay=0&muted=0&loop=0`:`${s}?autoplay=0&mute=0&loop=0`,allow:"autoplay; fullscreen",allowFullScreen:!0})})}):e.jsx("div",{style:{maxWidth:l??"unset",width:"100%",flex:.65},children:e.jsx("div",{className:t.videoWrapper,children:e.jsx("video",{src:s,controls:!0,poster:i})})})}function ot({metrics:s,renderRichText:i}){return e.jsx("div",{className:t.metrics,children:s.map(l=>e.jsxs("div",{className:t.metric,children:[e.jsx("div",{className:t.metricValue,children:l.metricValue}),l.metricDescription&&(i==null?void 0:i({blocks:l.metricDescription}))]},l._key))})}function at({layout:s,heading:i,additionalContent:l,image:o,video:c,metrics:r,callToAction:n,disclaimer:j,styleOptions:_,id:v,renderImage:p,renderRichText:a,renderCallToAction:u}){var I;const{mode:f}=k.useTheme(),N=S.useStyleClasses(_),V=H.useMediaQuery("(max-width: 768px)"),m=g.resolveImageUrl(o,f),d=g.resolveAltText(o,f),z=g.resolveImageStyle(o,V),b=tt[(s==null?void 0:s.orientation)??"horizontal-image-right"],x=st[i.headingLayout??"horizontal"],w={"--container-max-width":(_==null?void 0:_.maxWidth)??"unset","--gap":s==null?void 0:s.gap,"--max-width":(o==null?void 0:o.sizing)==="inset"?o==null?void 0:o.maxWidth:"unset"},h=(s==null?void 0:s.orientation)==="split-text",y=!h&&(s==null?void 0:s.orientation)!=="no-image";return e.jsx("section",{id:v,className:`${N} ${t.content}`,children:e.jsxs("article",{className:`${t.container} ${b}`,style:w,children:[e.jsxs("div",{className:`${t.heading} ${x}`,children:[e.jsxs("div",{className:t.titleWrapper,children:[i.eyebrow&&(a==null?void 0:a({blocks:i.eyebrow,className:t.eyebrow})),i.title&&(a==null?void 0:a({blocks:i.title,className:t.title}))]}),i.description||(I=n==null?void 0:n.items)!=null&&I.length?e.jsxs("div",{className:t.text,children:[i.description&&(a==null?void 0:a({blocks:i.description})),r&&r.length>0&&e.jsx(ot,{metrics:r,renderRichText:a}),n&&(u==null?void 0:u({items:n.items,alignment:n.alignment,className:t.cta})),j&&(a==null?void 0:a({blocks:j,className:t.disclaimer}))]}):null]}),h&&l&&e.jsx("div",{className:t.additionalContent,children:a==null?void 0:a({blocks:l})}),y&&c?et(c,m,o==null?void 0:o.maxWidth):y&&o&&m?e.jsx("div",{className:t.image,children:p?p({src:m,alt:d,width:600,height:400,priority:!0,style:z}):e.jsx("img",{src:m,alt:d,width:600,height:400,style:{width:"100%",height:"auto",...z}})}):null]})})}exports.ContentBlock=at;
|
|
@@ -1,133 +1,137 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useStyleClasses as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import { useMediaQuery as
|
|
5
|
-
import { resolveImageUrl as
|
|
6
|
-
import '../../../assets/
|
|
7
|
-
content:
|
|
8
|
-
container:
|
|
1
|
+
import { jsx as i, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { useStyleClasses as S } from "../../hooks/useStyleClasses.mjs";
|
|
3
|
+
import { useTheme as W } from "../../../core/context/ThemeContext.mjs";
|
|
4
|
+
import { useMediaQuery as k } from "../../hooks/useMediaQuery.mjs";
|
|
5
|
+
import { resolveImageUrl as L, resolveAltText as $, resolveImageStyle as B } from "../../utils/mediaUtils.mjs";
|
|
6
|
+
import '../../../assets/index8.css';const C = "_content_1fjz8_1", M = "_container_1fjz8_7", D = "_eyebrow_1fjz8_34", U = "_metrics_1fjz8_38", E = "_metric_1fjz8_38", Y = "_metricValue_1fjz8_54", F = "_disclaimer_1fjz8_75", G = "_layoutHImageRight_1fjz8_80", Q = "_heading_1fjz8_84", q = "_image_1fjz8_89", J = "_noImage_1fjz8_99", K = "_layoutHImageLeft_1fjz8_103", P = "_layoutVImageTop_1fjz8_122", X = "_layoutVImageBottom_1fjz8_135", Z = "_text_1fjz8_154", O = "_title_1fjz8_159", x = "_cta_1fjz8_178", A = "_headingHorizontal_1fjz8_186", R = "_titleWrapper_1fjz8_195", T = "_headingVertical_1fjz8_216", tt = "_videoWrapper_1fjz8_237", ot = "_layoutSplitText_1fjz8_329", at = "_additionalContent_1fjz8_344", t = {
|
|
7
|
+
content: C,
|
|
8
|
+
container: M,
|
|
9
|
+
eyebrow: D,
|
|
9
10
|
metrics: U,
|
|
10
|
-
metric:
|
|
11
|
-
metricValue:
|
|
12
|
-
disclaimer:
|
|
13
|
-
layoutHImageRight:
|
|
14
|
-
heading:
|
|
15
|
-
image:
|
|
16
|
-
noImage:
|
|
17
|
-
layoutHImageLeft:
|
|
18
|
-
layoutVImageTop:
|
|
19
|
-
layoutVImageBottom:
|
|
20
|
-
text:
|
|
21
|
-
title:
|
|
22
|
-
cta:
|
|
23
|
-
headingHorizontal:
|
|
24
|
-
titleWrapper:
|
|
25
|
-
headingVertical:
|
|
26
|
-
videoWrapper:
|
|
27
|
-
layoutSplitText:
|
|
28
|
-
additionalContent:
|
|
29
|
-
},
|
|
11
|
+
metric: E,
|
|
12
|
+
metricValue: Y,
|
|
13
|
+
disclaimer: F,
|
|
14
|
+
layoutHImageRight: G,
|
|
15
|
+
heading: Q,
|
|
16
|
+
image: q,
|
|
17
|
+
noImage: J,
|
|
18
|
+
layoutHImageLeft: K,
|
|
19
|
+
layoutVImageTop: P,
|
|
20
|
+
layoutVImageBottom: X,
|
|
21
|
+
text: Z,
|
|
22
|
+
title: O,
|
|
23
|
+
cta: x,
|
|
24
|
+
headingHorizontal: A,
|
|
25
|
+
titleWrapper: R,
|
|
26
|
+
headingVertical: T,
|
|
27
|
+
videoWrapper: tt,
|
|
28
|
+
layoutSplitText: ot,
|
|
29
|
+
additionalContent: at
|
|
30
|
+
}, st = {
|
|
30
31
|
"no-image": t.noImage,
|
|
31
32
|
"split-text": t.layoutSplitText,
|
|
32
33
|
"horizontal-image-right": t.layoutHImageRight,
|
|
33
34
|
"horizontal-image-left": t.layoutHImageLeft,
|
|
34
35
|
"vertical-image-top": t.layoutVImageTop,
|
|
35
36
|
"vertical-image-bottom": t.layoutVImageBottom
|
|
36
|
-
},
|
|
37
|
+
}, et = {
|
|
37
38
|
horizontal: t.headingHorizontal,
|
|
38
39
|
vertical: t.headingVertical
|
|
39
40
|
};
|
|
40
|
-
function it(o,
|
|
41
|
+
function it(o, e, l) {
|
|
41
42
|
const a = o.includes("vimeo.com"), m = o.includes("youtube.com") || o.includes("youtu.be");
|
|
42
|
-
return a || m ? /* @__PURE__ */
|
|
43
|
+
return a || m ? /* @__PURE__ */ i("div", { style: { maxWidth: l ?? "unset", flex: 0.65 }, children: /* @__PURE__ */ i("div", { className: t.videoWrapper, children: /* @__PURE__ */ i(
|
|
43
44
|
"iframe",
|
|
44
45
|
{
|
|
45
46
|
src: a ? `${o}?autoplay=0&muted=0&loop=0` : `${o}?autoplay=0&mute=0&loop=0`,
|
|
46
47
|
allow: "autoplay; fullscreen",
|
|
47
48
|
allowFullScreen: !0
|
|
48
49
|
}
|
|
49
|
-
) }) }) : /* @__PURE__ */
|
|
50
|
+
) }) }) : /* @__PURE__ */ i("div", { style: { maxWidth: l ?? "unset", width: "100%", flex: 0.65 }, children: /* @__PURE__ */ i("div", { className: t.videoWrapper, children: /* @__PURE__ */ i("video", { src: o, controls: !0, poster: e }) }) });
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function lt({
|
|
52
53
|
metrics: o,
|
|
53
|
-
renderRichText:
|
|
54
|
+
renderRichText: e
|
|
54
55
|
}) {
|
|
55
|
-
return /* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
-
l.metricDescription && (
|
|
56
|
+
return /* @__PURE__ */ i("div", { className: t.metrics, children: o.map((l) => /* @__PURE__ */ c("div", { className: t.metric, children: [
|
|
57
|
+
/* @__PURE__ */ i("div", { className: t.metricValue, children: l.metricValue }),
|
|
58
|
+
l.metricDescription && (e == null ? void 0 : e({ blocks: l.metricDescription }))
|
|
58
59
|
] }, l._key)) });
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function pt({
|
|
61
62
|
layout: o,
|
|
62
|
-
heading:
|
|
63
|
+
heading: e,
|
|
63
64
|
additionalContent: l,
|
|
64
65
|
image: a,
|
|
65
66
|
video: m,
|
|
66
|
-
metrics:
|
|
67
|
+
metrics: p,
|
|
67
68
|
callToAction: n,
|
|
68
|
-
disclaimer:
|
|
69
|
+
disclaimer: f,
|
|
69
70
|
styleOptions: _,
|
|
70
|
-
id:
|
|
71
|
+
id: y,
|
|
71
72
|
renderImage: g,
|
|
72
73
|
renderRichText: s,
|
|
73
|
-
renderCallToAction:
|
|
74
|
+
renderCallToAction: u
|
|
74
75
|
}) {
|
|
75
|
-
var
|
|
76
|
-
const { mode:
|
|
76
|
+
var v;
|
|
77
|
+
const { mode: z } = W(), N = S(_), V = k("(max-width: 768px)"), r = L(a, z), d = $(a, z), j = B(a, V), b = st[(o == null ? void 0 : o.orientation) ?? "horizontal-image-right"], w = et[e.headingLayout ?? "horizontal"], H = {
|
|
77
78
|
"--container-max-width": (_ == null ? void 0 : _.maxWidth) ?? "unset",
|
|
78
79
|
"--gap": o == null ? void 0 : o.gap,
|
|
79
80
|
"--max-width": (a == null ? void 0 : a.sizing) === "inset" ? a == null ? void 0 : a.maxWidth : "unset"
|
|
80
|
-
},
|
|
81
|
-
return /* @__PURE__ */
|
|
81
|
+
}, I = (o == null ? void 0 : o.orientation) === "split-text", h = !I && (o == null ? void 0 : o.orientation) !== "no-image";
|
|
82
|
+
return /* @__PURE__ */ i("section", { id: y, className: `${N} ${t.content}`, children: /* @__PURE__ */ c(
|
|
82
83
|
"article",
|
|
83
84
|
{
|
|
84
|
-
className: `${t.container} ${
|
|
85
|
-
style:
|
|
85
|
+
className: `${t.container} ${b}`,
|
|
86
|
+
style: H,
|
|
86
87
|
children: [
|
|
87
|
-
/* @__PURE__ */ c("div", { className: `${t.heading} ${
|
|
88
|
+
/* @__PURE__ */ c("div", { className: `${t.heading} ${w}`, children: [
|
|
88
89
|
/* @__PURE__ */ c("div", { className: t.titleWrapper, children: [
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
e.eyebrow && (s == null ? void 0 : s({
|
|
91
|
+
blocks: e.eyebrow,
|
|
92
|
+
className: t.eyebrow
|
|
93
|
+
})),
|
|
94
|
+
e.title && (s == null ? void 0 : s({
|
|
95
|
+
blocks: e.title,
|
|
92
96
|
className: t.title
|
|
93
97
|
}))
|
|
94
98
|
] }),
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
e.description || (v = n == null ? void 0 : n.items) != null && v.length ? /* @__PURE__ */ c("div", { className: t.text, children: [
|
|
100
|
+
e.description && (s == null ? void 0 : s({ blocks: e.description })),
|
|
101
|
+
p && p.length > 0 && /* @__PURE__ */ i(
|
|
102
|
+
lt,
|
|
99
103
|
{
|
|
100
|
-
metrics:
|
|
104
|
+
metrics: p,
|
|
101
105
|
renderRichText: s
|
|
102
106
|
}
|
|
103
107
|
),
|
|
104
|
-
n && (
|
|
108
|
+
n && (u == null ? void 0 : u({
|
|
105
109
|
items: n.items,
|
|
106
110
|
alignment: n.alignment,
|
|
107
111
|
className: t.cta
|
|
108
112
|
})),
|
|
109
|
-
|
|
110
|
-
blocks:
|
|
113
|
+
f && (s == null ? void 0 : s({
|
|
114
|
+
blocks: f,
|
|
111
115
|
className: t.disclaimer
|
|
112
116
|
}))
|
|
113
117
|
] }) : null
|
|
114
118
|
] }),
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
src:
|
|
119
|
+
I && l && /* @__PURE__ */ i("div", { className: t.additionalContent, children: s == null ? void 0 : s({ blocks: l }) }),
|
|
120
|
+
h && m ? it(m, r, a == null ? void 0 : a.maxWidth) : h && a && r ? /* @__PURE__ */ i("div", { className: t.image, children: g ? g({
|
|
121
|
+
src: r,
|
|
118
122
|
alt: d,
|
|
119
123
|
width: 600,
|
|
120
124
|
height: 400,
|
|
121
125
|
priority: !0,
|
|
122
|
-
style:
|
|
123
|
-
}) : /* @__PURE__ */
|
|
126
|
+
style: j
|
|
127
|
+
}) : /* @__PURE__ */ i(
|
|
124
128
|
"img",
|
|
125
129
|
{
|
|
126
|
-
src:
|
|
130
|
+
src: r,
|
|
127
131
|
alt: d,
|
|
128
132
|
width: 600,
|
|
129
133
|
height: 400,
|
|
130
|
-
style: { width: "100%", height: "auto", ...
|
|
134
|
+
style: { width: "100%", height: "auto", ...j }
|
|
131
135
|
}
|
|
132
136
|
) }) : null
|
|
133
137
|
]
|
|
@@ -135,5 +139,5 @@ function ft({
|
|
|
135
139
|
) });
|
|
136
140
|
}
|
|
137
141
|
export {
|
|
138
|
-
|
|
142
|
+
pt as ContentBlock
|
|
139
143
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");const e=require("../../../CategoryFilters-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");const e=require("../../../CategoryFilters-BQ3HNIBf.cjs");require("../../../index-CAxKHP72.cjs");require("../../../x-Dft9NVe_.cjs");exports.CategoryFilters=e.CategoryFilters;
|