quirk-ui 0.1.161 → 0.1.163

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.
Files changed (31) hide show
  1. package/dist/FormField-3bxRYA4w.cjs +1 -0
  2. package/dist/{FormField-DMKvp-Na.js → FormField-UFRNSSdw.js} +73 -73
  3. package/dist/FormField.css +1 -1
  4. package/dist/HeroSubComponents-37eyejUn.js +203 -0
  5. package/dist/HeroSubComponents-CnNiv-zR.cjs +6 -0
  6. package/dist/HeroSubComponents.css +1 -1
  7. package/dist/core/components/Textarea/index.cjs +1 -1
  8. package/dist/core/components/Textarea/index.mjs +73 -73
  9. package/dist/index40.css +1 -1
  10. package/dist/index5.css +1 -1
  11. package/dist/index6.css +1 -1
  12. package/dist/main.d.ts +1 -1
  13. package/dist/next/blocks/CarouselBlock/index.cjs +1 -1
  14. package/dist/next/blocks/CarouselBlock/index.mjs +64 -59
  15. package/dist/next/blocks/ContentBlock/index.cjs +1 -1
  16. package/dist/next/blocks/ContentBlock/index.mjs +79 -75
  17. package/dist/next/blocks/FormBlock/FormField.cjs +1 -1
  18. package/dist/next/blocks/FormBlock/FormField.mjs +1 -1
  19. package/dist/next/blocks/FormBlock/index.cjs +1 -1
  20. package/dist/next/blocks/FormBlock/index.mjs +1 -1
  21. package/dist/next/blocks/HeroBlock/HeroSubComponents.cjs +1 -1
  22. package/dist/next/blocks/HeroBlock/HeroSubComponents.mjs +1 -1
  23. package/dist/next/blocks/HeroBlock/HeroSubComponents.test.cjs +1 -1
  24. package/dist/next/blocks/HeroBlock/HeroSubComponents.test.mjs +1 -1
  25. package/dist/next/blocks/HeroBlock/index.cjs +1 -1
  26. package/dist/next/blocks/HeroBlock/index.mjs +184 -170
  27. package/dist/next.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/dist/FormField-BPAhK8ty.cjs +0 -1
  30. package/dist/HeroSubComponents-BGkwbcKC.js +0 -203
  31. package/dist/HeroSubComponents-DzbDRtdk.cjs +0 -6
@@ -0,0 +1 @@
1
+ "use strict";require('./FormField.css');const l=require("react/jsx-runtime"),v=require("./core/components/Input/index.cjs"),q=require("./core/components/Textarea/index.cjs"),_=require("./core/components/Select/index.cjs"),b=require("./core/components/Checkbox/index.cjs"),T=require("./core/components/Radio/index.cjs"),h=require("./core/components/Fieldset/index.cjs"),k=require("./core/components/DatePicker/index.cjs"),W=require("./core/components/Range/index.cjs"),F="_formBlock_1jbl0_1",C="_container_1jbl0_7",w="_formInner_1jbl0_20",L="_maxWidthSm_1jbl0_26",y="_maxWidthMd_1jbl0_29",S="_maxWidthLg_1jbl0_32",B="_maxWidthFull_1jbl0_35",$="_heading_1jbl0_41",H="_eyebrow_1jbl0_47",G="_title_1jbl0_51",I="_disclaimer_1jbl0_55",M="_progress_1jbl0_61",D="_progressHeader_1jbl0_67",O="_stepLabel_1jbl0_73",P="_stepCount_1jbl0_79",R="_stepDescription_1jbl0_84",V="_fields_1jbl0_92",f="_fieldFull_1jbl0_99",N="_fieldHalf_1jbl0_103",z="_fieldThird_1jbl0_111",A="_actions_1jbl0_121",E="_submitButton_1jbl0_128",J="_success_1jbl0_134",K="_errorBanner_1jbl0_149",u={formBlock:F,container:C,formInner:w,maxWidthSm:L,maxWidthMd:y,maxWidthLg:S,maxWidthFull:B,heading:$,eyebrow:H,title:G,disclaimer:I,progress:M,progressHeader:D,stepLabel:O,stepCount:P,stepDescription:R,fields:V,fieldFull:f,fieldHalf:N,fieldThird:z,actions:A,submitButton:E,success:J,errorBanner:K};function i(e){return(e??[]).map(n=>({label:n.label,value:n.value.current,disabled:n.disabled}))}function p(e){return(e??[]).map(n=>({label:n.label,options:n.options.map(s=>({label:s.label,value:s.value.current,disabled:s.disabled}))}))}function Q({field:e,value:n,error:s,onChange:o}){const r=e.name.current,m={full:u.fieldFull,half:u.fieldHalf,third:u.fieldThird}[e.width??"full"],c={id:r,name:r,label:e.label,required:e.required,disabled:e.disabled,helperText:e.helperText,error:s},d=()=>{switch(e.fieldType){case"text":case"email":case"phone":case"number":case"url":return l.jsx(v.Input,{...c,type:e.fieldType==="phone"?"tel":e.fieldType,placeholder:e.placeholder,value:n??"",minLength:e.minLength,maxLength:e.maxLength,fullWidth:!0,onChange:t=>o(r,t.target.value)});case"textarea":return l.jsx(q.Textarea,{...c,placeholder:e.placeholder,value:n??"",rows:e.rows??4,maxLength:e.maxLength,showCharCount:e.showCharCount,fullWidth:!0,onChange:t=>o(r,t.target.value)});case"select":{const t=e.useOptionGroups?p(e.optionGroups):i(e.options);return l.jsx(_.Select,{...c,placeholder:e.placeholder,options:t,value:n??"",fullWidth:!0,onChange:a=>o(r,a.target.value)})}case"multiselect":{const t=e.useOptionGroups?p(e.optionGroups):i(e.options);return l.jsx(_.Select,{...c,multiple:!0,options:t,value:n??[],showSelectedCount:!0,onChange:a=>o(r,a)})}case"checkbox":return l.jsx(b.Checkbox,{id:c.id,name:c.name,label:e.label,required:e.required,disabled:e.disabled,helperText:s??e.helperText,error:!!s,checked:n??!1,onChange:t=>o(r,t.target.checked)});case"checkboxGroup":{const t=n??[];return l.jsx(h.Fieldset,{legend:e.label,error:!!s,helperText:s,children:i(e.options).map(a=>l.jsx(b.Checkbox,{id:`${r}-${a.value}`,name:`${r}[]`,label:a.label,checked:t.includes(a.value),disabled:a.disabled||e.disabled,onChange:x=>{const j=x.target.checked?[...t,a.value]:t.filter(g=>g!==a.value);o(r,j)}},a.value))})}case"radio":return l.jsx(h.Fieldset,{legend:e.label,error:!!s,helperText:s,children:i(e.options).map(t=>l.jsx(T.Radio,{id:`${r}-${t.value}`,name:r,value:t.value,label:t.label,checked:n===t.value,disabled:t.disabled||e.disabled,required:e.required,onChange:()=>o(r,t.value)},t.value))});case"date":return l.jsx(k.DatePicker,{id:c.id,name:c.name,label:e.label,required:e.required,disabled:e.disabled,helperText:s??e.helperText,error:!!s,value:n??null,onChange:t=>o(r,t)});case"range":return l.jsx(W.Range,{...c,value:n??e.rangeMin??0,min:e.rangeMin??0,max:e.rangeMax??100,step:e.rangeStep??1,valuePrefix:e.rangeValuePrefix,valueSuffix:e.rangeValueSuffix,showValue:!0,onChange:t=>o(r,t)});case"hidden":return l.jsx("input",{type:"hidden",name:r,value:n??e.hiddenValue??""});default:return null}};return e.fieldType==="hidden"?d():l.jsx("div",{className:`${m}`,children:d()})}exports.FormField=Q;exports.styles=u;
@@ -1,31 +1,31 @@
1
- import { jsx as s } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import { Input as v } from "./core/components/Input/index.mjs";
3
3
  import { Textarea as T } from "./core/components/Textarea/index.mjs";
4
- import { Select as d } from "./core/components/Select/index.mjs";
5
- import { Checkbox as m } from "./core/components/Checkbox/index.mjs";
4
+ import { Select as m } from "./core/components/Select/index.mjs";
5
+ import { Checkbox as _ } from "./core/components/Checkbox/index.mjs";
6
6
  import { Radio as W } from "./core/components/Radio/index.mjs";
7
- import { Fieldset as _ } from "./core/components/Fieldset/index.mjs";
7
+ import { Fieldset as b } from "./core/components/Fieldset/index.mjs";
8
8
  import { DatePicker as f } from "./core/components/DatePicker/index.mjs";
9
9
  import { Range as k } from "./core/components/Range/index.mjs";
10
- import './FormField.css';const w = "_formBlock_1iehq_1", L = "_container_1iehq_7", C = "_formInner_1iehq_20", F = "_maxWidthSm_1iehq_26", y = "_maxWidthMd_1iehq_29", B = "_maxWidthLg_1iehq_32", S = "_maxWidthFull_1iehq_35", H = "_heading_1iehq_41", G = "_eyebrow_1iehq_47", M = "_title_1iehq_51", $ = "_disclaimer_1iehq_55", I = "_progress_1iehq_62", D = "_progressHeader_1iehq_68", O = "_stepLabel_1iehq_74", V = "_stepCount_1iehq_80", P = "_stepDescription_1iehq_85", R = "_fields_1iehq_93", j = "_fieldFull_1iehq_100", N = "_fieldHalf_1iehq_104", z = "_fieldThird_1iehq_112", A = "_actions_1iehq_122", E = "_submitButton_1iehq_129", J = "_success_1iehq_135", K = "_errorBanner_1iehq_150", u = {
10
+ import './FormField.css';const w = "_formBlock_1jbl0_1", L = "_container_1jbl0_7", C = "_formInner_1jbl0_20", F = "_maxWidthSm_1jbl0_26", y = "_maxWidthMd_1jbl0_29", B = "_maxWidthLg_1jbl0_32", q = "_maxWidthFull_1jbl0_35", S = "_heading_1jbl0_41", H = "_eyebrow_1jbl0_47", G = "_title_1jbl0_51", M = "_disclaimer_1jbl0_55", $ = "_progress_1jbl0_61", I = "_progressHeader_1jbl0_67", D = "_stepLabel_1jbl0_73", O = "_stepCount_1jbl0_79", V = "_stepDescription_1jbl0_84", P = "_fields_1jbl0_92", R = "_fieldFull_1jbl0_99", N = "_fieldHalf_1jbl0_103", z = "_fieldThird_1jbl0_111", A = "_actions_1jbl0_121", E = "_submitButton_1jbl0_128", J = "_success_1jbl0_134", K = "_errorBanner_1jbl0_149", u = {
11
11
  formBlock: w,
12
12
  container: L,
13
13
  formInner: C,
14
14
  maxWidthSm: F,
15
15
  maxWidthMd: y,
16
16
  maxWidthLg: B,
17
- maxWidthFull: S,
18
- heading: H,
19
- eyebrow: G,
20
- title: M,
21
- disclaimer: $,
22
- progress: I,
23
- progressHeader: D,
24
- stepLabel: O,
25
- stepCount: V,
26
- stepDescription: P,
27
- fields: R,
28
- fieldFull: j,
17
+ maxWidthFull: q,
18
+ heading: S,
19
+ eyebrow: H,
20
+ title: G,
21
+ disclaimer: M,
22
+ progress: $,
23
+ progressHeader: I,
24
+ stepLabel: D,
25
+ stepCount: O,
26
+ stepDescription: V,
27
+ fields: P,
28
+ fieldFull: R,
29
29
  fieldHalf: N,
30
30
  fieldThird: z,
31
31
  actions: A,
@@ -40,30 +40,30 @@ function c(e) {
40
40
  disabled: r.disabled
41
41
  }));
42
42
  }
43
- function p(e) {
43
+ function h(e) {
44
44
  return (e ?? []).map((r) => ({
45
45
  label: r.label,
46
- options: r.options.map((n) => ({
47
- label: n.label,
48
- value: n.value.current,
49
- disabled: n.disabled
46
+ options: r.options.map((l) => ({
47
+ label: l.label,
48
+ value: l.value.current,
49
+ disabled: l.disabled
50
50
  }))
51
51
  }));
52
52
  }
53
- function ne({ field: e, value: r, error: n, onChange: i }) {
54
- const a = e.name.current, b = {
53
+ function le({ field: e, value: r, error: l, onChange: o }) {
54
+ const a = e.name.current, p = {
55
55
  full: u.fieldFull,
56
56
  half: u.fieldHalf,
57
57
  third: u.fieldThird
58
- }[e.width ?? "full"], o = {
58
+ }[e.width ?? "full"], i = {
59
59
  id: a,
60
60
  name: a,
61
61
  label: e.label,
62
62
  required: e.required,
63
63
  disabled: e.disabled,
64
64
  helperText: e.helperText,
65
- error: n
66
- }, h = () => {
65
+ error: l
66
+ }, d = () => {
67
67
  switch (e.fieldType) {
68
68
  // ── Text-based inputs ──────────────────────────────────────────────
69
69
  case "text":
@@ -71,102 +71,102 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
71
71
  case "phone":
72
72
  case "number":
73
73
  case "url":
74
- return /* @__PURE__ */ s(
74
+ return /* @__PURE__ */ n(
75
75
  v,
76
76
  {
77
- ...o,
77
+ ...i,
78
78
  type: e.fieldType === "phone" ? "tel" : e.fieldType,
79
79
  placeholder: e.placeholder,
80
80
  value: r ?? "",
81
81
  minLength: e.minLength,
82
82
  maxLength: e.maxLength,
83
83
  fullWidth: !0,
84
- onChange: (t) => i(a, t.target.value)
84
+ onChange: (t) => o(a, t.target.value)
85
85
  }
86
86
  );
87
87
  // ── Textarea ───────────────────────────────────────────────────────
88
88
  case "textarea":
89
- return /* @__PURE__ */ s(
89
+ return /* @__PURE__ */ n(
90
90
  T,
91
91
  {
92
- ...o,
92
+ ...i,
93
93
  placeholder: e.placeholder,
94
94
  value: r ?? "",
95
95
  rows: e.rows ?? 4,
96
96
  maxLength: e.maxLength,
97
97
  showCharCount: e.showCharCount,
98
98
  fullWidth: !0,
99
- onChange: (t) => i(a, t.target.value)
99
+ onChange: (t) => o(a, t.target.value)
100
100
  }
101
101
  );
102
102
  // ── Select ─────────────────────────────────────────────────────────
103
103
  case "select": {
104
- const t = e.useOptionGroups ? p(e.optionGroups) : c(e.options);
105
- return /* @__PURE__ */ s(
106
- d,
104
+ const t = e.useOptionGroups ? h(e.optionGroups) : c(e.options);
105
+ return /* @__PURE__ */ n(
106
+ m,
107
107
  {
108
- ...o,
108
+ ...i,
109
109
  placeholder: e.placeholder,
110
110
  options: t,
111
111
  value: r ?? "",
112
112
  fullWidth: !0,
113
- onChange: (l) => i(a, l.target.value)
113
+ onChange: (s) => o(a, s.target.value)
114
114
  }
115
115
  );
116
116
  }
117
117
  // ── Multi-select ───────────────────────────────────────────────────
118
118
  case "multiselect": {
119
- const t = e.useOptionGroups ? p(e.optionGroups) : c(e.options);
120
- return /* @__PURE__ */ s(
121
- d,
119
+ const t = e.useOptionGroups ? h(e.optionGroups) : c(e.options);
120
+ return /* @__PURE__ */ n(
121
+ m,
122
122
  {
123
- ...o,
123
+ ...i,
124
124
  multiple: !0,
125
125
  options: t,
126
126
  value: r ?? [],
127
127
  showSelectedCount: !0,
128
- onChange: (l) => i(a, l)
128
+ onChange: (s) => o(a, s)
129
129
  }
130
130
  );
131
131
  }
132
132
  // ── Single checkbox ────────────────────────────────────────────────
133
133
  case "checkbox":
134
- return /* @__PURE__ */ s(
135
- m,
134
+ return /* @__PURE__ */ n(
135
+ _,
136
136
  {
137
- id: o.id,
138
- name: o.name,
137
+ id: i.id,
138
+ name: i.name,
139
139
  label: e.label,
140
140
  required: e.required,
141
141
  disabled: e.disabled,
142
- helperText: n ?? e.helperText,
143
- error: !!n,
142
+ helperText: l ?? e.helperText,
143
+ error: !!l,
144
144
  checked: r ?? !1,
145
- onChange: (t) => i(a, t.target.checked)
145
+ onChange: (t) => o(a, t.target.checked)
146
146
  }
147
147
  );
148
148
  // ── Checkbox group ─────────────────────────────────────────────────
149
149
  case "checkboxGroup": {
150
150
  const t = r ?? [];
151
- return /* @__PURE__ */ s(_, { legend: e.label, error: !!n, helperText: n, children: c(e.options).map((l) => /* @__PURE__ */ s(
152
- m,
151
+ return /* @__PURE__ */ n(b, { legend: e.label, error: !!l, helperText: l, children: c(e.options).map((s) => /* @__PURE__ */ n(
152
+ _,
153
153
  {
154
- id: `${a}-${l.value}`,
154
+ id: `${a}-${s.value}`,
155
155
  name: `${a}[]`,
156
- label: l.label,
157
- checked: t.includes(l.value),
158
- disabled: l.disabled || e.disabled,
156
+ label: s.label,
157
+ checked: t.includes(s.value),
158
+ disabled: s.disabled || e.disabled,
159
159
  onChange: (x) => {
160
- const g = x.target.checked ? [...t, l.value] : t.filter((q) => q !== l.value);
161
- i(a, g);
160
+ const g = x.target.checked ? [...t, s.value] : t.filter((j) => j !== s.value);
161
+ o(a, g);
162
162
  }
163
163
  },
164
- l.value
164
+ s.value
165
165
  )) });
166
166
  }
167
167
  // ── Radio group ────────────────────────────────────────────────────
168
168
  case "radio":
169
- return /* @__PURE__ */ s(_, { legend: e.label, error: !!n, helperText: n, children: c(e.options).map((t) => /* @__PURE__ */ s(
169
+ return /* @__PURE__ */ n(b, { legend: e.label, error: !!l, helperText: l, children: c(e.options).map((t) => /* @__PURE__ */ n(
170
170
  W,
171
171
  {
172
172
  id: `${a}-${t.value}`,
@@ -176,32 +176,32 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
176
176
  checked: r === t.value,
177
177
  disabled: t.disabled || e.disabled,
178
178
  required: e.required,
179
- onChange: () => i(a, t.value)
179
+ onChange: () => o(a, t.value)
180
180
  },
181
181
  t.value
182
182
  )) });
183
183
  // ── Date picker ────────────────────────────────────────────────────
184
184
  case "date":
185
- return /* @__PURE__ */ s(
185
+ return /* @__PURE__ */ n(
186
186
  f,
187
187
  {
188
- id: o.id,
189
- name: o.name,
188
+ id: i.id,
189
+ name: i.name,
190
190
  label: e.label,
191
191
  required: e.required,
192
192
  disabled: e.disabled,
193
- helperText: n ?? e.helperText,
194
- error: !!n,
193
+ helperText: l ?? e.helperText,
194
+ error: !!l,
195
195
  value: r ?? null,
196
- onChange: (t) => i(a, t)
196
+ onChange: (t) => o(a, t)
197
197
  }
198
198
  );
199
199
  // ── Range ──────────────────────────────────────────────────────────
200
200
  case "range":
201
- return /* @__PURE__ */ s(
201
+ return /* @__PURE__ */ n(
202
202
  k,
203
203
  {
204
- ...o,
204
+ ...i,
205
205
  value: r ?? e.rangeMin ?? 0,
206
206
  min: e.rangeMin ?? 0,
207
207
  max: e.rangeMax ?? 100,
@@ -209,12 +209,12 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
209
209
  valuePrefix: e.rangeValuePrefix,
210
210
  valueSuffix: e.rangeValueSuffix,
211
211
  showValue: !0,
212
- onChange: (t) => i(a, t)
212
+ onChange: (t) => o(a, t)
213
213
  }
214
214
  );
215
215
  // ── Hidden ─────────────────────────────────────────────────────────
216
216
  case "hidden":
217
- return /* @__PURE__ */ s(
217
+ return /* @__PURE__ */ n(
218
218
  "input",
219
219
  {
220
220
  type: "hidden",
@@ -226,9 +226,9 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
226
226
  return null;
227
227
  }
228
228
  };
229
- return e.fieldType === "hidden" ? h() : /* @__PURE__ */ s("div", { className: `${b}`, children: h() });
229
+ return e.fieldType === "hidden" ? d() : /* @__PURE__ */ n("div", { className: `${p}`, children: d() });
230
230
  }
231
231
  export {
232
- ne as F,
232
+ le as F,
233
233
  u as s
234
234
  };
@@ -1 +1 @@
1
- ._formBlock_1iehq_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1iehq_7{width:100%;max-width:var(--layout-width, 1250px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-lg)}._formInner_1iehq_20{width:100%;margin-left:auto;margin-right:auto}._maxWidthSm_1iehq_26{max-width:480px}._maxWidthMd_1iehq_29{max-width:640px}._maxWidthLg_1iehq_32{max-width:800px}._maxWidthFull_1iehq_35{max-width:100%}._heading_1iehq_41{display:flex;flex-direction:column;gap:var(--spacing-sm)}._eyebrow_1iehq_47{font-weight:var(--font-weight-bold)}._title_1iehq_51{text-wrap:balance}._disclaimer_1iehq_55{font-size:var(--font-size-sm);font-style:italic}._progress_1iehq_62{display:flex;flex-direction:column;gap:var(--spacing-sm)}._progressHeader_1iehq_68{display:flex;justify-content:space-between;align-items:center}._stepLabel_1iehq_74{font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);color:var(--color-text-primary)}._stepCount_1iehq_80{font-size:var(--font-size-sm);color:var(--color-secondary-50)}._stepDescription_1iehq_85{color:var(--color-secondary-75);font-size:var(--font-size-md);margin:0}._fields_1iehq_93{display:flex;flex-wrap:wrap;gap:var(--spacing-md)}._fieldFull_1iehq_100{width:100%}._fieldHalf_1iehq_104{width:calc(50% - var(--spacing-md) / 2)}@media (max-width: 767px){._fieldHalf_1iehq_104{width:100%}}._fieldThird_1iehq_112{width:calc(33.333% - var(--spacing-md) * 2 / 3)}@media (max-width: 767px){._fieldThird_1iehq_112{width:100%}}._actions_1iehq_122{display:flex;align-items:center;gap:var(--spacing-md);padding-top:var(--spacing-sm)}._submitButton_1iehq_129{margin-left:auto}._success_1iehq_135{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-lg);padding:var(--spacing-md) 0 0}._success_1iehq_135 p{color:var(--color-states-success-bg);font-weight:var(--font-weight-semibold)}._errorBanner_1iehq_150{padding:var(--spacing-md);background-color:var(--color-states-error-bg);color:var(--color-states-error-text);border-radius:var(--radius-md);font-size:var(--font-size-sm)}
1
+ ._formBlock_1jbl0_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1jbl0_7{width:100%;max-width:var(--layout-width, 1250px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-lg)}._formInner_1jbl0_20{width:100%;margin-left:auto;margin-right:auto}._maxWidthSm_1jbl0_26{max-width:480px}._maxWidthMd_1jbl0_29{max-width:640px}._maxWidthLg_1jbl0_32{max-width:800px}._maxWidthFull_1jbl0_35{max-width:100%}._heading_1jbl0_41{display:flex;flex-direction:column;gap:var(--spacing-sm)}._eyebrow_1jbl0_47{font-weight:var(--font-weight-bold)}._title_1jbl0_51{text-wrap:balance}._disclaimer_1jbl0_55{font-size:var(--font-size-sm)}._progress_1jbl0_61{display:flex;flex-direction:column;gap:var(--spacing-sm)}._progressHeader_1jbl0_67{display:flex;justify-content:space-between;align-items:center}._stepLabel_1jbl0_73{font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);color:var(--color-text-primary)}._stepCount_1jbl0_79{font-size:var(--font-size-sm);color:var(--color-secondary-50)}._stepDescription_1jbl0_84{color:var(--color-secondary-75);font-size:var(--font-size-md);margin:0}._fields_1jbl0_92{display:flex;flex-wrap:wrap;gap:var(--spacing-md)}._fieldFull_1jbl0_99{width:100%}._fieldHalf_1jbl0_103{width:calc(50% - var(--spacing-md) / 2)}@media (max-width: 767px){._fieldHalf_1jbl0_103{width:100%}}._fieldThird_1jbl0_111{width:calc(33.333% - var(--spacing-md) * 2 / 3)}@media (max-width: 767px){._fieldThird_1jbl0_111{width:100%}}._actions_1jbl0_121{display:flex;align-items:center;gap:var(--spacing-md);padding-top:var(--spacing-sm)}._submitButton_1jbl0_128{margin-left:auto}._success_1jbl0_134{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-lg);padding:var(--spacing-md) 0 0}._success_1jbl0_134 p{color:var(--color-states-success-bg);font-weight:var(--font-weight-semibold)}._errorBanner_1jbl0_149{padding:var(--spacing-md);background-color:var(--color-states-error-bg);color:var(--color-states-error-text);border-radius:var(--radius-md);font-size:var(--font-size-sm)}
@@ -0,0 +1,203 @@
1
+ import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
+ import { memo as u, forwardRef as v, useRef as y, useImperativeHandle as b, useEffect as g } from "react";
3
+ import { buildEmbedSrc as q, resolveImageUrl as x, resolveAltText as w } from "./next/utils/mediaUtils.mjs";
4
+ import { c as N } from "./createLucideIcon-C8GTh_Qx.js";
5
+ import { P as C } from "./play-DYgKiSaf.js";
6
+ import './HeroSubComponents.css';/**
7
+ * @license lucide-react v0.488.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */
12
+ const k = [
13
+ ["rect", { x: "14", y: "4", width: "4", height: "16", rx: "1", key: "zuxfzm" }],
14
+ ["rect", { x: "6", y: "4", width: "4", height: "16", rx: "1", key: "1okwgv" }]
15
+ ], B = N("pause", k), V = "_hero_qoehl_1", I = "_container_qoehl_7", E = "_heading_qoehl_15", z = "_text_qoehl_22", T = "_eyebrow_qoehl_37", j = "_disclaimer_qoehl_41", H = "_articleDetails_qoehl_52", P = "_articleType_qoehl_65", D = "_articleCategories_qoehl_79", F = "_category_qoehl_85", R = "_number_qoehl_101", A = "_blog_qoehl_128", S = "_overlay_qoehl_154", L = "_tile_qoehl_224", U = "_fullBleed_qoehl_333", Y = "_media_qoehl_360", G = "_splitAlt_qoehl_448", J = "_split_qoehl_448", K = "_videoControl_qoehl_522", M = "_videoBackground_qoehl_570", O = "_iframe_qoehl_571", c = {
16
+ hero: V,
17
+ container: I,
18
+ heading: E,
19
+ text: z,
20
+ eyebrow: T,
21
+ disclaimer: j,
22
+ articleDetails: H,
23
+ articleType: P,
24
+ articleCategories: D,
25
+ category: F,
26
+ number: R,
27
+ default: "_default_qoehl_124",
28
+ blog: A,
29
+ overlay: S,
30
+ tile: L,
31
+ fullBleed: U,
32
+ media: Y,
33
+ splitAlt: G,
34
+ split: J,
35
+ videoControl: K,
36
+ videoBackground: M,
37
+ iframe: O
38
+ }, Q = u(function({
39
+ isPlaying: e,
40
+ onToggle: i
41
+ }) {
42
+ return /* @__PURE__ */ o(
43
+ "button",
44
+ {
45
+ type: "button",
46
+ title: e ? "Pause the video" : "Play the video",
47
+ "aria-label": e ? "Pause video" : "Play video",
48
+ className: c.videoControl,
49
+ onClick: i,
50
+ children: e ? /* @__PURE__ */ o(B, { size: 18, "aria-hidden": !0 }) : /* @__PURE__ */ o(C, { size: 18, "aria-hidden": !0 })
51
+ }
52
+ );
53
+ }), m = u(function({
54
+ url: e,
55
+ provider: i,
56
+ wrapperClassName: a,
57
+ iframeClassName: l
58
+ }) {
59
+ const r = q(e, i);
60
+ return /* @__PURE__ */ o("div", { className: a, children: /* @__PURE__ */ o(
61
+ "iframe",
62
+ {
63
+ src: r,
64
+ className: l,
65
+ allow: "autoplay; fullscreen",
66
+ allowFullScreen: !0,
67
+ title: "Embedded video",
68
+ "aria-label": "Background video"
69
+ }
70
+ ) });
71
+ }), f = u(
72
+ v(function({
73
+ src: e,
74
+ autoPlay: i,
75
+ posterUrl: a,
76
+ wrapperClassName: l,
77
+ videoClassName: r,
78
+ isPlaying: s,
79
+ onToggle: d
80
+ }, h) {
81
+ const n = y(null);
82
+ return b(h, () => ({
83
+ play() {
84
+ var t;
85
+ (t = n.current) == null || t.play().catch(() => {
86
+ });
87
+ },
88
+ pause() {
89
+ var t;
90
+ (t = n.current) == null || t.pause();
91
+ }
92
+ })), g(() => {
93
+ const t = n.current;
94
+ t && (s ? t.play().catch(() => {
95
+ }) : t.pause());
96
+ }, [s]), /* @__PURE__ */ p("div", { className: l, children: [
97
+ /* @__PURE__ */ o(Q, { isPlaying: s, onToggle: d }),
98
+ /* @__PURE__ */ o(
99
+ "video",
100
+ {
101
+ ref: n,
102
+ src: e,
103
+ autoPlay: i,
104
+ loop: !0,
105
+ muted: !0,
106
+ playsInline: !0,
107
+ poster: a,
108
+ preload: "metadata",
109
+ className: r,
110
+ "aria-label": "Background video"
111
+ }
112
+ )
113
+ ] });
114
+ })
115
+ ), oe = u(function({
116
+ url: e,
117
+ autoPlay: i,
118
+ posterUrl: a,
119
+ isPlaying: l,
120
+ onToggle: r,
121
+ variant: s
122
+ }) {
123
+ const d = e.includes("vimeo.com"), h = e.includes("youtube.com") || e.includes("youtu.be"), n = d || h, t = d ? "vimeo" : "youtube";
124
+ return s === "inline" ? n ? /* @__PURE__ */ o(
125
+ m,
126
+ {
127
+ url: e,
128
+ provider: t,
129
+ wrapperClassName: c.media
130
+ }
131
+ ) : /* @__PURE__ */ o(
132
+ f,
133
+ {
134
+ src: e,
135
+ autoPlay: i,
136
+ posterUrl: a,
137
+ wrapperClassName: c.media,
138
+ isPlaying: l,
139
+ onToggle: r
140
+ }
141
+ ) : n ? /* @__PURE__ */ o(
142
+ m,
143
+ {
144
+ url: e,
145
+ provider: t,
146
+ wrapperClassName: c.videoBackground,
147
+ iframeClassName: c.iframe
148
+ }
149
+ ) : /* @__PURE__ */ o(
150
+ f,
151
+ {
152
+ src: e,
153
+ autoPlay: i,
154
+ posterUrl: a,
155
+ videoClassName: c.videoBackground,
156
+ isPlaying: l,
157
+ onToggle: r
158
+ }
159
+ );
160
+ }), te = u(function({
161
+ image: e,
162
+ mode: i,
163
+ variant: a,
164
+ imageAdapter: l
165
+ }) {
166
+ const r = x(e, i, "medium");
167
+ if (!r) return null;
168
+ const s = w(e, i), d = /* @__PURE__ */ o(
169
+ "img",
170
+ {
171
+ fetchPriority: "high",
172
+ src: r,
173
+ alt: s,
174
+ draggable: !1,
175
+ style: a === "fill" ? { objectFit: "cover", width: "100%", height: "100%" } : { width: "100%", height: "100%" }
176
+ }
177
+ );
178
+ return l ? /* @__PURE__ */ o("div", { className: c.media, children: a === "fill" ? l.render({
179
+ src: r,
180
+ alt: s,
181
+ fill: !0,
182
+ priority: !0,
183
+ fetchPriority: "high",
184
+ style: { objectFit: "cover" },
185
+ draggable: !1,
186
+ sizes: "(max-width: 767px) 600px, 1200px"
187
+ }) : l.render({
188
+ src: r,
189
+ alt: s,
190
+ width: 650,
191
+ height: 750,
192
+ priority: !0,
193
+ fetchPriority: "high"
194
+ }) }) : /* @__PURE__ */ o("div", { className: c.media, children: d });
195
+ });
196
+ export {
197
+ te as H,
198
+ f as N,
199
+ oe as V,
200
+ Q as a,
201
+ m as b,
202
+ c as s
203
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";require('./HeroSubComponents.css');const o=require("react/jsx-runtime"),a=require("react"),m=require("./next/utils/mediaUtils.cjs"),y=require("./createLucideIcon-DpotSgUx.cjs"),x=require("./play-CQBnZgNa.cjs");/**
2
+ * @license lucide-react v0.488.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const b=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],g=y.createLucideIcon("pause",b),q="_hero_qoehl_1",j="_container_qoehl_7",w="_heading_qoehl_15",C="_text_qoehl_22",N="_eyebrow_qoehl_37",k="_disclaimer_qoehl_41",B="_articleDetails_qoehl_52",V="_articleType_qoehl_65",I="_articleCategories_qoehl_79",E="_category_qoehl_85",z="_number_qoehl_101",T="_blog_qoehl_128",H="_overlay_qoehl_154",R="_tile_qoehl_224",D="_fullBleed_qoehl_333",F="_media_qoehl_360",P="_splitAlt_qoehl_448",A="_split_qoehl_448",L="_videoControl_qoehl_522",S="_videoBackground_qoehl_570",U="_iframe_qoehl_571",n={hero:q,container:j,heading:w,text:C,eyebrow:N,disclaimer:k,articleDetails:B,articleType:V,articleCategories:I,category:E,number:z,default:"_default_qoehl_124",blog:T,overlay:H,tile:R,fullBleed:D,media:F,splitAlt:P,split:A,videoControl:L,videoBackground:S,iframe:U},p=a.memo(function({isPlaying:e,onToggle:i}){return o.jsx("button",{type:"button",title:e?"Pause the video":"Play the video","aria-label":e?"Pause video":"Play video",className:n.videoControl,onClick:i,children:e?o.jsx(g,{size:18,"aria-hidden":!0}):o.jsx(x.Play,{size:18,"aria-hidden":!0})})}),f=a.memo(function({url:e,provider:i,wrapperClassName:s,iframeClassName:l}){const r=m.buildEmbedSrc(e,i);return o.jsx("div",{className:s,children:o.jsx("iframe",{src:r,className:l,allow:"autoplay; fullscreen",allowFullScreen:!0,title:"Embedded video","aria-label":"Background video"})})}),v=a.memo(a.forwardRef(function({src:e,autoPlay:i,posterUrl:s,wrapperClassName:l,videoClassName:r,isPlaying:c,onToggle:u},h){const d=a.useRef(null);return a.useImperativeHandle(h,()=>({play(){var t;(t=d.current)==null||t.play().catch(()=>{})},pause(){var t;(t=d.current)==null||t.pause()}})),a.useEffect(()=>{const t=d.current;t&&(c?t.play().catch(()=>{}):t.pause())},[c]),o.jsxs("div",{className:l,children:[o.jsx(p,{isPlaying:c,onToggle:u}),o.jsx("video",{ref:d,src:e,autoPlay:i,loop:!0,muted:!0,playsInline:!0,poster:s,preload:"metadata",className:r,"aria-label":"Background video"})]})})),$=a.memo(function({url:e,autoPlay:i,posterUrl:s,isPlaying:l,onToggle:r,variant:c}){const u=e.includes("vimeo.com"),h=e.includes("youtube.com")||e.includes("youtu.be"),d=u||h,t=u?"vimeo":"youtube";return c==="inline"?d?o.jsx(f,{url:e,provider:t,wrapperClassName:n.media}):o.jsx(v,{src:e,autoPlay:i,posterUrl:s,wrapperClassName:n.media,isPlaying:l,onToggle:r}):d?o.jsx(f,{url:e,provider:t,wrapperClassName:n.videoBackground,iframeClassName:n.iframe}):o.jsx(v,{src:e,autoPlay:i,posterUrl:s,videoClassName:n.videoBackground,isPlaying:l,onToggle:r})}),Y=a.memo(function({image:e,mode:i,variant:s,imageAdapter:l}){const r=m.resolveImageUrl(e,i,"medium");if(!r)return null;const c=m.resolveAltText(e,i),u=o.jsx("img",{fetchPriority:"high",src:r,alt:c,draggable:!1,style:s==="fill"?{objectFit:"cover",width:"100%",height:"100%"}:{width:"100%",height:"100%"}});return l?o.jsx("div",{className:n.media,children:s==="fill"?l.render({src:r,alt:c,fill:!0,priority:!0,fetchPriority:"high",style:{objectFit:"cover"},draggable:!1,sizes:"(max-width: 767px) 600px, 1200px"}):l.render({src:r,alt:c,width:650,height:750,priority:!0,fetchPriority:"high"})}):o.jsx("div",{className:n.media,children:u})});exports.HeroImage=Y;exports.NativeVideo=v;exports.VideoBlock=$;exports.VideoControl=p;exports.VideoEmbed=f;exports.styles=n;
@@ -1 +1 @@
1
- ._hero_6wr3y_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_6wr3y_7{width:100%;max-width:var(--layout-width, 1300px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._heading_6wr3y_15{display:flex;flex-direction:column;width:100%;flex:1;gap:var(--spacing-md)}._heading_6wr3y_15:not(:has(._text_6wr3y_22 .portableTextContainer)){gap:var(--spacing-lg)}._heading_6wr3y_15 h1,._heading_6wr3y_15 h2,._heading_6wr3y_15 h3,._heading_6wr3y_15 h4,._heading_6wr3y_15 h5,._heading_6wr3y_15 h6{width:100%;margin-block:0}._eyebrow_6wr3y_37{font-weight:var(--font-weight-bold)}._disclaimer_6wr3y_41{color:var(--color-text-primary);font-size:var(--font-size-sm)}._text_6wr3y_22{flex:1;display:flex;flex-direction:column;gap:var(--spacing-md)}._articleDetails_6wr3y_53{color:var(--color-secondary-75);display:flex;align-items:center;margin-bottom:var(--spacing-md);gap:var(--spacing-md)}@media (max-width: 767px){._articleDetails_6wr3y_53{flex-wrap:wrap;gap:var(--spacing-md)}}._articleType_6wr3y_66{display:flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);padding:0 var(--spacing-md);color:#fff;width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._articleCategories_6wr3y_80{display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}._category_6wr3y_86{border:1px solid var(--color-secondary-75);display:flex;align-items:center;justify-content:center;background-color:transparent;padding:0 var(--spacing-md);color:var(--color-secondary-75);width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._number_6wr3y_102{display:inline-flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);color:#fff;width:25px;height:25px;border-radius:var(--radius-full);text-transform:capitalize;margin-right:var(--spacing-xs)}._pipe_6wr3y_115{margin:0 var(--spacing-sm)}@media (max-width: 767px){._pipe_6wr3y_115._hide_6wr3y_118{display:none}}._default_6wr3y_125{position:relative}._blog_6wr3y_129{position:relative;padding:0 var(--spacing-md)}._blog_6wr3y_129 ._container_6wr3y_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:450px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._blog_6wr3y_129 ._container_6wr3y_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._blog_6wr3y_129 ._overlay_6wr3y_155{width:100%;padding:4rem var(--spacing-md) var(--spacing-xl)}}._blog_6wr3y_129 ._text_6wr3y_22{z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._blog_6wr3y_129 ._text_6wr3y_22{border-radius:var(--radius-md) var(--radius-md) 0 0}._blog_6wr3y_129 ._text_6wr3y_22:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px var(--color-background)}._blog_6wr3y_129 ._text_6wr3y_22:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px 0 0 var(--color-background)}}._tile_6wr3y_225{position:relative;padding:0 var(--spacing-md)}._tile_6wr3y_225 ._container_6wr3y_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:550px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._tile_6wr3y_225 ._container_6wr3y_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._tile_6wr3y_225 ._overlay_6wr3y_155{width:100%;padding:var(--spacing-md)}}@media (max-width: 767px){._tile_6wr3y_225:has(video) ._overlay_6wr3y_155{padding-bottom:3rem}}._tile_6wr3y_225 ._text_6wr3y_22{z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._tile_6wr3y_225 ._text_6wr3y_22{border-radius:var(--radius-md) var(--radius-md) 0 0}._tile_6wr3y_225 ._text_6wr3y_22:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px var(--color-background)}._tile_6wr3y_225 ._text_6wr3y_22:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px 0 0 var(--color-background)}}._fullBleed_6wr3y_334{position:relative;padding-top:0;padding-bottom:0}._fullBleed_6wr3y_334 ._container_6wr3y_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:550px;height:100%;overflow:hidden;flex-grow:1;border-radius:0}._fullBleed_6wr3y_334 ._container_6wr3y_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}._fullBleed_6wr3y_334 ._media_6wr3y_361{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:1;border-radius:0}._fullBleed_6wr3y_334 ._media_6wr3y_361 img,._fullBleed_6wr3y_334 ._media_6wr3y_361 video,._fullBleed_6wr3y_334 ._media_6wr3y_361 iframe{width:100%;height:100%;object-fit:cover;display:block}._fullBleed_6wr3y_334 ._overlay_6wr3y_155{position:relative;z-index:1;min-height:80vh;display:flex;align-items:flex-end;background:linear-gradient(to top,#000000a6,#0000004d,#0000)}@media (max-width: 767px){._fullBleed_6wr3y_334 ._overlay_6wr3y_155{min-height:60vh}}._fullBleed_6wr3y_334 ._text_6wr3y_22{max-width:700px;color:#fff;background-color:transparent;padding:0;border-radius:0;z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);margin-bottom:var(--spacing-md);border-radius:var(--radius-md)}._fullBleed_6wr3y_334 ._text_6wr3y_22:before,._fullBleed_6wr3y_334 ._text_6wr3y_22:after{display:none}@media (max-width: 767px){._fullBleed_6wr3y_334:has(video) ._text_6wr3y_22{margin-bottom:3rem}}._default_6wr3y_125 ._media_6wr3y_361{position:relative;width:100%;height:480px;margin-bottom:var(--spacing-md);border-radius:var(--radius-md);overflow:hidden}@media (max-width: 767px){._default_6wr3y_125 ._media_6wr3y_361{height:280px}}._default_6wr3y_125 ._media_6wr3y_361 img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}._splitAlt_6wr3y_448 ._media_6wr3y_361,._split_6wr3y_448 ._media_6wr3y_361{height:100%;padding-bottom:0;margin-bottom:0}._splitAlt_6wr3y_448 ._media_6wr3y_361 video,._splitAlt_6wr3y_448 ._media_6wr3y_361 iframe,._split_6wr3y_448 ._media_6wr3y_361 video,._split_6wr3y_448 ._media_6wr3y_361 iframe{position:relative;border-radius:var(--radius-md)}._splitAlt_6wr3y_448 ._media_6wr3y_361 img,._split_6wr3y_448 ._media_6wr3y_361 img{border-radius:var(--radius-md);width:100%;height:auto;max-height:500px;object-fit:contain}._splitAlt_6wr3y_448 ._container_6wr3y_7{display:flex;align-items:center;gap:3rem}@media (max-width: 767px){._splitAlt_6wr3y_448 ._container_6wr3y_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._splitAlt_6wr3y_448 ._container_6wr3y_7 ._media_6wr3y_361{width:100%;max-width:500px}}._splitAlt_6wr3y_448 ._container_6wr3y_7 ._media_6wr3y_361{flex:.65}._splitAlt_6wr3y_448 ._container_6wr3y_7 ._heading_6wr3y_15{flex:.35}._split_6wr3y_448 ._container_6wr3y_7{display:flex;align-items:center;gap:3rem}._split_6wr3y_448 ._container_6wr3y_7 ._media_6wr3y_361{flex:1}._split_6wr3y_448 ._container_6wr3y_7 ._media_6wr3y_361 img{width:100%;height:auto;max-height:500px;object-fit:contain}@media (max-width: 767px){._split_6wr3y_448 ._container_6wr3y_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._split_6wr3y_448 ._container_6wr3y_7 ._media_6wr3y_361{width:100%;max-width:500px}}._videoControl_6wr3y_522{position:absolute;bottom:var(--spacing-sm);right:var(--spacing-sm);z-index:5;background:#00000080;border:none;border-radius:50%;padding:var(--spacing-sm);cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;transition:color .3s ease-in-out}._videoControl_6wr3y_522 svg{width:16px;height:16px}._videoControl_6wr3y_522:hover{color:var(--color-primary-25)}._media_6wr3y_361{position:relative;width:100%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1;margin-bottom:var(--spacing-md);line-height:0}._media_6wr3y_361 iframe,._media_6wr3y_361 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._videoBackground_6wr3y_570,._iframe_6wr3y_571{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}._iframe_6wr3y_571{border:none}.splitAlt ._text_6wr3y_22{flex:.65}
1
+ ._hero_qoehl_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_qoehl_7{width:100%;max-width:var(--layout-width, 1300px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._heading_qoehl_15{display:flex;flex-direction:column;width:100%;flex:1;gap:var(--spacing-md)}._heading_qoehl_15:not(:has(._text_qoehl_22 .portableTextContainer)){gap:var(--spacing-lg)}._heading_qoehl_15 h1,._heading_qoehl_15 h2,._heading_qoehl_15 h3,._heading_qoehl_15 h4,._heading_qoehl_15 h5,._heading_qoehl_15 h6{width:100%;margin-block:0}._eyebrow_qoehl_37{font-weight:var(--font-weight-bold)}._disclaimer_qoehl_41{font-size:var(--font-size-sm)}._text_qoehl_22{flex:1;display:flex;flex-direction:column;gap:var(--spacing-md)}._articleDetails_qoehl_52{color:var(--color-secondary-75);display:flex;align-items:center;margin-bottom:var(--spacing-md);gap:var(--spacing-md)}@media (max-width: 767px){._articleDetails_qoehl_52{flex-wrap:wrap;gap:var(--spacing-md)}}._articleType_qoehl_65{display:flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);padding:0 var(--spacing-md);color:#fff;width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._articleCategories_qoehl_79{display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}._category_qoehl_85{border:1px solid var(--color-secondary-75);display:flex;align-items:center;justify-content:center;background-color:transparent;padding:0 var(--spacing-md);color:var(--color-secondary-75);width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._number_qoehl_101{display:inline-flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);color:#fff;width:25px;height:25px;border-radius:var(--radius-full);text-transform:capitalize;margin-right:var(--spacing-xs)}._pipe_qoehl_114{margin:0 var(--spacing-sm)}@media (max-width: 767px){._pipe_qoehl_114._hide_qoehl_117{display:none}}._default_qoehl_124{position:relative}._blog_qoehl_128{position:relative;padding:0 var(--spacing-md)}._blog_qoehl_128 ._container_qoehl_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:450px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._blog_qoehl_128 ._container_qoehl_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._blog_qoehl_128 ._overlay_qoehl_154{width:100%;padding:4rem var(--spacing-md) var(--spacing-xl)}}._blog_qoehl_128 ._text_qoehl_22{z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._blog_qoehl_128 ._text_qoehl_22{border-radius:var(--radius-md) var(--radius-md) 0 0}._blog_qoehl_128 ._text_qoehl_22:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px var(--color-background)}._blog_qoehl_128 ._text_qoehl_22:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px 0 0 var(--color-background)}}._tile_qoehl_224{position:relative;padding:0 var(--spacing-md)}._tile_qoehl_224 ._container_qoehl_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:550px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._tile_qoehl_224 ._container_qoehl_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._tile_qoehl_224 ._overlay_qoehl_154{width:100%;padding:var(--spacing-md)}}@media (max-width: 767px){._tile_qoehl_224:has(video) ._overlay_qoehl_154{padding-bottom:3rem}}._tile_qoehl_224 ._text_qoehl_22{z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._tile_qoehl_224 ._text_qoehl_22{border-radius:var(--radius-md) var(--radius-md) 0 0}._tile_qoehl_224 ._text_qoehl_22:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px var(--color-background)}._tile_qoehl_224 ._text_qoehl_22:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px 0 0 var(--color-background)}}._fullBleed_qoehl_333{position:relative;padding-top:0;padding-bottom:0}._fullBleed_qoehl_333 ._container_qoehl_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:550px;height:100%;overflow:hidden;flex-grow:1;border-radius:0}._fullBleed_qoehl_333 ._container_qoehl_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}._fullBleed_qoehl_333 ._media_qoehl_360{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:1;border-radius:0}._fullBleed_qoehl_333 ._media_qoehl_360 img,._fullBleed_qoehl_333 ._media_qoehl_360 video,._fullBleed_qoehl_333 ._media_qoehl_360 iframe{width:100%;height:100%;object-fit:cover;display:block}._fullBleed_qoehl_333 ._overlay_qoehl_154{position:relative;z-index:1;min-height:80vh;display:flex;align-items:flex-end;background:linear-gradient(to top,#000000a6,#0000004d,#0000)}@media (max-width: 767px){._fullBleed_qoehl_333 ._overlay_qoehl_154{min-height:60vh}}._fullBleed_qoehl_333 ._text_qoehl_22{max-width:700px;color:#fff;background-color:transparent;padding:0;border-radius:0;z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);margin-top:var(--spacing-md);margin-bottom:var(--spacing-md);border-radius:var(--radius-md)}._fullBleed_qoehl_333 ._text_qoehl_22:before,._fullBleed_qoehl_333 ._text_qoehl_22:after{display:none}@media (max-width: 767px){._fullBleed_qoehl_333:has(video) ._text_qoehl_22{margin-bottom:3rem}}._default_qoehl_124 ._media_qoehl_360{position:relative;width:100%;height:480px;margin-bottom:var(--spacing-md);border-radius:var(--radius-md);overflow:hidden}@media (max-width: 767px){._default_qoehl_124 ._media_qoehl_360{height:280px}}._default_qoehl_124 ._media_qoehl_360 img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}._splitAlt_qoehl_448 ._media_qoehl_360,._split_qoehl_448 ._media_qoehl_360{height:100%;padding-bottom:0;margin-bottom:0}._splitAlt_qoehl_448 ._media_qoehl_360 video,._splitAlt_qoehl_448 ._media_qoehl_360 iframe,._split_qoehl_448 ._media_qoehl_360 video,._split_qoehl_448 ._media_qoehl_360 iframe{position:relative;border-radius:var(--radius-md)}._splitAlt_qoehl_448 ._media_qoehl_360 img,._split_qoehl_448 ._media_qoehl_360 img{border-radius:var(--radius-md);width:100%;height:auto;max-height:500px;object-fit:contain}._splitAlt_qoehl_448 ._container_qoehl_7{display:flex;align-items:center;gap:3rem}@media (max-width: 767px){._splitAlt_qoehl_448 ._container_qoehl_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._splitAlt_qoehl_448 ._container_qoehl_7 ._media_qoehl_360{width:100%;max-width:500px}}._splitAlt_qoehl_448 ._container_qoehl_7 ._media_qoehl_360{flex:.65}._splitAlt_qoehl_448 ._container_qoehl_7 ._heading_qoehl_15{flex:.35}._split_qoehl_448 ._container_qoehl_7{display:flex;align-items:center;gap:3rem}._split_qoehl_448 ._container_qoehl_7 ._media_qoehl_360{flex:1}._split_qoehl_448 ._container_qoehl_7 ._media_qoehl_360 img{width:100%;height:auto;max-height:500px;object-fit:contain}@media (max-width: 767px){._split_qoehl_448 ._container_qoehl_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._split_qoehl_448 ._container_qoehl_7 ._media_qoehl_360{width:100%;max-width:500px}}._videoControl_qoehl_522{position:absolute;bottom:var(--spacing-sm);right:var(--spacing-sm);z-index:5;background:#00000080;border:none;border-radius:50%;padding:var(--spacing-sm);cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;transition:color .3s ease-in-out}._videoControl_qoehl_522 svg{width:16px;height:16px}._videoControl_qoehl_522:hover{color:var(--color-primary-25)}._media_qoehl_360{position:relative;width:100%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1;margin-bottom:var(--spacing-md);line-height:0}._media_qoehl_360 iframe,._media_qoehl_360 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._videoBackground_qoehl_570,._iframe_qoehl_571{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}._iframe_qoehl_571{border:none}.splitAlt ._text_qoehl_22{flex:.65}._vAlignmentTop_qoehl_599 ._text_qoehl_22{align-self:flex-start}._vAlignmentMiddle_qoehl_605 ._text_qoehl_22{align-self:center}._vAlignmentBottom_qoehl_611 ._text_qoehl_22{align-self:flex-end}._hAlignmentLeft_qoehl_618 ._container_qoehl_7{justify-content:flex-start}._hAlignmentCenter_qoehl_624 ._container_qoehl_7{justify-content:center}._hAlignmentRight_qoehl_630 ._container_qoehl_7{justify-content:flex-end}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index40.css');const t=require("react/jsx-runtime"),w=require("../Label/index.cjs"),M="_wrapper_78rxp_1",q="_fullWidth_78rxp_8",F="_textarea_78rxp_13",I="_sm_78rxp_53",O="_md_78rxp_59",P="_lg_78rxp_65",k="_resizeNone_78rxp_72",A="_resizeVertical_78rxp_76",D="_resizeHorizontal_78rxp_80",G="_resizeBoth_78rxp_84",J="_error_78rxp_89",K="_footer_78rxp_99",Q="_helperText_78rxp_108",U="_errorText_78rxp_115",X="_charCount_78rxp_120",Y="_charCountError_78rxp_127",r={wrapper:M,fullWidth:q,textarea:F,sm:I,md:O,lg:P,resizeNone:k,resizeVertical:A,resizeHorizontal:D,resizeBoth:G,error:J,footer:K,helperText:Q,errorText:U,charCount:X,charCountError:Y};function Z({id:g,name:x,label:p,value:o,defaultValue:s,placeholder:C,disabled:c=!1,readOnly:N=!1,required:h=!1,error:a=!1,helperText:_,size:d="md",rows:T=4,minRows:z,maxRows:m,minLength:j,maxLength:e,showCharCount:u=!1,resize:y="vertical",fullWidth:H=!1,className:b,style:v,...E}){const i=g??x??`textarea-${Math.random().toString(36).slice(2)}`,n=!!a,l=typeof a=="string"?a:void 0,B={sm:r.sm,md:r.md,lg:r.lg}[d],S={none:r.resizeNone,vertical:r.resizeVertical,horizontal:r.resizeHorizontal,both:r.resizeBoth}[y],$=(o==null?void 0:o.length)??(s==null?void 0:s.length)??0,f=u&&e,W={...z&&{minHeight:`${z*1.5}em`},...m&&{maxHeight:`${m*1.5}em`},...v};return t.jsxs("div",{className:`${b??""} ${r.wrapper} ${H?r.fullWidth:""}`.trim(),children:[p&&t.jsx(w.Label,{htmlFor:i,size:d,intent:n?"error":c?"disabled":"default",required:h,disabled:c,children:p}),t.jsx("textarea",{id:i,name:x,value:o,defaultValue:s,placeholder:C,disabled:c,readOnly:N,required:h,rows:T,minLength:j,maxLength:e,className:`${r.textarea} ${B} ${S} ${n?r.error:""}`.trim(),style:W,"aria-invalid":n,"aria-describedby":l||_||f?`${i}-description`:void 0,...E}),t.jsxs("div",{className:r.footer,children:[(l||_)&&t.jsx("div",{id:`${i}-description`,className:`${r.helperText} ${n?r.errorText:""}`.trim(),children:l||_}),f&&t.jsxs("div",{className:`${r.charCount} ${e&&$>e?r.charCountError:""}`.trim(),children:[$,e&&` / ${e}`]})]})]})}exports.Textarea=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index40.css');const t=require("react/jsx-runtime"),W=require("../Label/index.cjs"),w="_wrapper_1tsqu_1",M="_fullWidth_1tsqu_8",F="_textarea_1tsqu_13",I="_sm_1tsqu_53",O="_md_1tsqu_59",P="_lg_1tsqu_65",k="_resizeNone_1tsqu_72",A="_resizeVertical_1tsqu_76",D="_resizeHorizontal_1tsqu_80",G="_resizeBoth_1tsqu_84",J="_error_1tsqu_89",K="_footer_1tsqu_99",Q="_helperText_1tsqu_108",U="_errorText_1tsqu_115",X="_charCount_1tsqu_120",Y="_charCountError_1tsqu_127",r={wrapper:w,fullWidth:M,textarea:F,sm:I,md:O,lg:P,resizeNone:k,resizeVertical:A,resizeHorizontal:D,resizeBoth:G,error:J,footer:K,helperText:Q,errorText:U,charCount:X,charCountError:Y};function Z({id:p,name:h,label:d,value:s,defaultValue:o,placeholder:f,disabled:c=!1,readOnly:g=!1,required:u=!1,error:a=!1,helperText:_,size:z="md",rows:C=4,minRows:m,maxRows:$,minLength:N,maxLength:e,showCharCount:T=!1,resize:j="vertical",fullWidth:y=!1,className:H,style:b,...v}){const i=p??h??`textarea-${Math.random().toString(36).slice(2)}`,n=!!a,l=typeof a=="string"?a:void 0,E={sm:r.sm,md:r.md,lg:r.lg}[z],B={none:r.resizeNone,vertical:r.resizeVertical,horizontal:r.resizeHorizontal,both:r.resizeBoth}[j],q=(s==null?void 0:s.length)??(o==null?void 0:o.length)??0,x=T&&e,S={...m&&{minHeight:`${m*1.5}em`},...$&&{maxHeight:`${$*1.5}em`},...b};return t.jsxs("div",{className:`${H??""} ${r.wrapper} ${y?r.fullWidth:""}`.trim(),children:[d&&t.jsx(W.Label,{htmlFor:i,size:z,intent:n?"error":c?"disabled":"default",required:u,disabled:c,children:d}),t.jsx("textarea",{id:i,name:h,value:s,defaultValue:o,placeholder:f,disabled:c,readOnly:g,required:u,rows:C,minLength:N,maxLength:e,className:`${r.textarea} ${E} ${B} ${n?r.error:""}`.trim(),style:S,"aria-invalid":n,"aria-describedby":l||_||x?`${i}-description`:void 0,...v}),t.jsxs("div",{className:r.footer,children:[(l||_)&&t.jsx("div",{id:`${i}-description`,className:`${r.helperText} ${n?r.errorText:""}`.trim(),children:l||_}),x&&t.jsxs("div",{className:`${r.charCount} ${e&&q>e?r.charCountError:""}`.trim(),children:[q,e&&` / ${e}`]})]})]})}exports.Textarea=Z;