lion-make 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/footer/ComplianceBlock.d.ts +13 -0
- package/dist/components/footer/Disclaimer.d.ts +12 -0
- package/dist/components/footer/Disclosure.d.ts +13 -0
- package/dist/components/general/CTA.d.ts +18 -0
- package/dist/components/general/CallOut.d.ts +13 -0
- package/dist/components/general/ConfidenceTags.d.ts +11 -0
- package/dist/components/general/LeadForm.d.ts +21 -0
- package/dist/components/general/RTBs.d.ts +17 -0
- package/dist/components/general/RichText.d.ts +11 -0
- package/dist/components/header/CorporateUniversalHeader.d.ts +14 -0
- package/dist/components/header/GlobalHeaderBar.d.ts +19 -0
- package/dist/components/hero/Hero.d.ts +18 -0
- package/dist/components/layout/Anklet.d.ts +14 -0
- package/dist/components/layout/Container.d.ts +8 -0
- package/dist/components/layout/PageForehead.d.ts +11 -0
- package/dist/components/layout/PageSideburn.d.ts +11 -0
- package/dist/components/layout/Section.d.ts +8 -0
- package/dist/index.d.ts +34 -0
- package/dist/lion-make.js +1004 -0
- package/dist/lion-make.umd.cjs +30 -0
- package/guidelines/Guidelines.md +68 -0
- package/guidelines/composition/constraints.md +49 -0
- package/guidelines/composition/hierarchy.md +72 -0
- package/guidelines/composition/overview.md +22 -0
- package/guidelines/composition/templates.md +46 -0
- package/guidelines/composition/zones.md +60 -0
- package/guidelines/content-types/footer/compliance-block.md +38 -0
- package/guidelines/content-types/footer/disclaimer.md +32 -0
- package/guidelines/content-types/footer/disclosure.md +39 -0
- package/guidelines/content-types/footer/overview.md +38 -0
- package/guidelines/content-types/general/callout.md +40 -0
- package/guidelines/content-types/general/confidence-tags.md +39 -0
- package/guidelines/content-types/general/cta.md +52 -0
- package/guidelines/content-types/general/lead-form.md +56 -0
- package/guidelines/content-types/general/overview.md +46 -0
- package/guidelines/content-types/general/rich-text.md +35 -0
- package/guidelines/content-types/general/rtbs.md +55 -0
- package/guidelines/content-types/header/corporate-universal-header.md +36 -0
- package/guidelines/content-types/header/global-header-bar.md +49 -0
- package/guidelines/content-types/header/overview.md +34 -0
- package/guidelines/content-types/hero/hero-variants.md +68 -0
- package/guidelines/content-types/hero/overview.md +41 -0
- package/guidelines/content-types/overview.md +60 -0
- package/guidelines/foundations/breakpoints.md +53 -0
- package/guidelines/foundations/color.md +86 -0
- package/guidelines/foundations/overview.md +26 -0
- package/guidelines/foundations/spacing.md +50 -0
- package/guidelines/foundations/typography.md +67 -0
- package/guidelines/foundations/z-index.md +24 -0
- package/guidelines/icon-discovery.md +14 -0
- package/guidelines/setup.md +103 -0
- package/package.json +53 -0
- package/src/tokens/breakpoints.css +21 -0
- package/src/tokens/colors.css +81 -0
- package/src/tokens/make-utilities.css +129 -0
- package/src/tokens/metrics.css +32 -0
- package/src/tokens/mixins.css +3 -0
- package/src/tokens/typography.css +55 -0
- package/src/tokens/z-index.css +14 -0
|
@@ -0,0 +1,1004 @@
|
|
|
1
|
+
import Te, { useState as ur } from "react";
|
|
2
|
+
var X = { exports: {} }, A = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var Ee;
|
|
13
|
+
function dr() {
|
|
14
|
+
if (Ee) return A;
|
|
15
|
+
Ee = 1;
|
|
16
|
+
var i = Te, l = Symbol.for("react.element"), o = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, h = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function d(b, p, S) {
|
|
18
|
+
var y, T = {}, k = null, W = null;
|
|
19
|
+
S !== void 0 && (k = "" + S), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (W = p.ref);
|
|
20
|
+
for (y in p) f.call(p, y) && !m.hasOwnProperty(y) && (T[y] = p[y]);
|
|
21
|
+
if (b && b.defaultProps) for (y in p = b.defaultProps, p) T[y] === void 0 && (T[y] = p[y]);
|
|
22
|
+
return { $$typeof: l, type: b, key: k, ref: W, props: T, _owner: h.current };
|
|
23
|
+
}
|
|
24
|
+
return A.Fragment = o, A.jsx = d, A.jsxs = d, A;
|
|
25
|
+
}
|
|
26
|
+
var $ = {};
|
|
27
|
+
/**
|
|
28
|
+
* @license React
|
|
29
|
+
* react-jsx-runtime.development.js
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the MIT license found in the
|
|
34
|
+
* LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/
|
|
36
|
+
var Se;
|
|
37
|
+
function fr() {
|
|
38
|
+
return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var i = Te, l = Symbol.for("react.element"), o = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), b = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Ce = "@@iterator";
|
|
40
|
+
function ke(e) {
|
|
41
|
+
if (e === null || typeof e != "object")
|
|
42
|
+
return null;
|
|
43
|
+
var r = Q && e[Q] || e[Ce];
|
|
44
|
+
return typeof r == "function" ? r : null;
|
|
45
|
+
}
|
|
46
|
+
var N = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function j(e) {
|
|
48
|
+
{
|
|
49
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
|
|
50
|
+
a[t - 1] = arguments[t];
|
|
51
|
+
we("error", e, a);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function we(e, r, a) {
|
|
55
|
+
{
|
|
56
|
+
var t = N.ReactDebugCurrentFrame, u = t.getStackAddendum();
|
|
57
|
+
u !== "" && (r += "%s", a = a.concat([u]));
|
|
58
|
+
var v = a.map(function(c) {
|
|
59
|
+
return String(c);
|
|
60
|
+
});
|
|
61
|
+
v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var Oe = !1, Ne = !1, Pe = !1, ze = !1, Fe = !1, Z;
|
|
65
|
+
Z = Symbol.for("react.module.reference");
|
|
66
|
+
function De(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === m || Fe || e === h || e === S || e === y || ze || e === W || Oe || Ne || Pe || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === T || e.$$typeof === d || e.$$typeof === b || e.$$typeof === p || // This needs to include all possible module reference object
|
|
68
|
+
// types supported by any Flight configuration anywhere since
|
|
69
|
+
// we don't know which Flight build this will end up being used
|
|
70
|
+
// with.
|
|
71
|
+
e.$$typeof === Z || e.getModuleId !== void 0));
|
|
72
|
+
}
|
|
73
|
+
function Ae(e, r, a) {
|
|
74
|
+
var t = e.displayName;
|
|
75
|
+
if (t)
|
|
76
|
+
return t;
|
|
77
|
+
var u = r.displayName || r.name || "";
|
|
78
|
+
return u !== "" ? a + "(" + u + ")" : a;
|
|
79
|
+
}
|
|
80
|
+
function ee(e) {
|
|
81
|
+
return e.displayName || "Context";
|
|
82
|
+
}
|
|
83
|
+
function C(e) {
|
|
84
|
+
if (e == null)
|
|
85
|
+
return null;
|
|
86
|
+
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
|
+
return e.displayName || e.name || null;
|
|
88
|
+
if (typeof e == "string")
|
|
89
|
+
return e;
|
|
90
|
+
switch (e) {
|
|
91
|
+
case f:
|
|
92
|
+
return "Fragment";
|
|
93
|
+
case o:
|
|
94
|
+
return "Portal";
|
|
95
|
+
case m:
|
|
96
|
+
return "Profiler";
|
|
97
|
+
case h:
|
|
98
|
+
return "StrictMode";
|
|
99
|
+
case S:
|
|
100
|
+
return "Suspense";
|
|
101
|
+
case y:
|
|
102
|
+
return "SuspenseList";
|
|
103
|
+
}
|
|
104
|
+
if (typeof e == "object")
|
|
105
|
+
switch (e.$$typeof) {
|
|
106
|
+
case b:
|
|
107
|
+
var r = e;
|
|
108
|
+
return ee(r) + ".Consumer";
|
|
109
|
+
case d:
|
|
110
|
+
var a = e;
|
|
111
|
+
return ee(a._context) + ".Provider";
|
|
112
|
+
case p:
|
|
113
|
+
return Ae(e, e.render, "ForwardRef");
|
|
114
|
+
case T:
|
|
115
|
+
var t = e.displayName || null;
|
|
116
|
+
return t !== null ? t : C(e.type) || "Memo";
|
|
117
|
+
case k: {
|
|
118
|
+
var u = e, v = u._payload, c = u._init;
|
|
119
|
+
try {
|
|
120
|
+
return C(c(v));
|
|
121
|
+
} catch {
|
|
122
|
+
return null;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
128
|
+
var w = Object.assign, F = 0, re, ae, ne, te, oe, ie, le;
|
|
129
|
+
function se() {
|
|
130
|
+
}
|
|
131
|
+
se.__reactDisabledLog = !0;
|
|
132
|
+
function $e() {
|
|
133
|
+
{
|
|
134
|
+
if (F === 0) {
|
|
135
|
+
re = console.log, ae = console.info, ne = console.warn, te = console.error, oe = console.group, ie = console.groupCollapsed, le = console.groupEnd;
|
|
136
|
+
var e = {
|
|
137
|
+
configurable: !0,
|
|
138
|
+
enumerable: !0,
|
|
139
|
+
value: se,
|
|
140
|
+
writable: !0
|
|
141
|
+
};
|
|
142
|
+
Object.defineProperties(console, {
|
|
143
|
+
info: e,
|
|
144
|
+
log: e,
|
|
145
|
+
warn: e,
|
|
146
|
+
error: e,
|
|
147
|
+
group: e,
|
|
148
|
+
groupCollapsed: e,
|
|
149
|
+
groupEnd: e
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
F++;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function We() {
|
|
156
|
+
{
|
|
157
|
+
if (F--, F === 0) {
|
|
158
|
+
var e = {
|
|
159
|
+
configurable: !0,
|
|
160
|
+
enumerable: !0,
|
|
161
|
+
writable: !0
|
|
162
|
+
};
|
|
163
|
+
Object.defineProperties(console, {
|
|
164
|
+
log: w({}, e, {
|
|
165
|
+
value: re
|
|
166
|
+
}),
|
|
167
|
+
info: w({}, e, {
|
|
168
|
+
value: ae
|
|
169
|
+
}),
|
|
170
|
+
warn: w({}, e, {
|
|
171
|
+
value: ne
|
|
172
|
+
}),
|
|
173
|
+
error: w({}, e, {
|
|
174
|
+
value: te
|
|
175
|
+
}),
|
|
176
|
+
group: w({}, e, {
|
|
177
|
+
value: oe
|
|
178
|
+
}),
|
|
179
|
+
groupCollapsed: w({}, e, {
|
|
180
|
+
value: ie
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: w({}, e, {
|
|
183
|
+
value: le
|
|
184
|
+
})
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
F < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
var L = N.ReactCurrentDispatcher, U;
|
|
191
|
+
function B(e, r, a) {
|
|
192
|
+
{
|
|
193
|
+
if (U === void 0)
|
|
194
|
+
try {
|
|
195
|
+
throw Error();
|
|
196
|
+
} catch (u) {
|
|
197
|
+
var t = u.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
U = t && t[1] || "";
|
|
199
|
+
}
|
|
200
|
+
return `
|
|
201
|
+
` + U + e;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
var V = !1, I;
|
|
205
|
+
{
|
|
206
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
I = new Be();
|
|
208
|
+
}
|
|
209
|
+
function ce(e, r) {
|
|
210
|
+
if (!e || V)
|
|
211
|
+
return "";
|
|
212
|
+
{
|
|
213
|
+
var a = I.get(e);
|
|
214
|
+
if (a !== void 0)
|
|
215
|
+
return a;
|
|
216
|
+
}
|
|
217
|
+
var t;
|
|
218
|
+
V = !0;
|
|
219
|
+
var u = Error.prepareStackTrace;
|
|
220
|
+
Error.prepareStackTrace = void 0;
|
|
221
|
+
var v;
|
|
222
|
+
v = L.current, L.current = null, $e();
|
|
223
|
+
try {
|
|
224
|
+
if (r) {
|
|
225
|
+
var c = function() {
|
|
226
|
+
throw Error();
|
|
227
|
+
};
|
|
228
|
+
if (Object.defineProperty(c.prototype, "props", {
|
|
229
|
+
set: function() {
|
|
230
|
+
throw Error();
|
|
231
|
+
}
|
|
232
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
|
+
try {
|
|
234
|
+
Reflect.construct(c, []);
|
|
235
|
+
} catch (R) {
|
|
236
|
+
t = R;
|
|
237
|
+
}
|
|
238
|
+
Reflect.construct(e, [], c);
|
|
239
|
+
} else {
|
|
240
|
+
try {
|
|
241
|
+
c.call();
|
|
242
|
+
} catch (R) {
|
|
243
|
+
t = R;
|
|
244
|
+
}
|
|
245
|
+
e.call(c.prototype);
|
|
246
|
+
}
|
|
247
|
+
} else {
|
|
248
|
+
try {
|
|
249
|
+
throw Error();
|
|
250
|
+
} catch (R) {
|
|
251
|
+
t = R;
|
|
252
|
+
}
|
|
253
|
+
e();
|
|
254
|
+
}
|
|
255
|
+
} catch (R) {
|
|
256
|
+
if (R && t && typeof R.stack == "string") {
|
|
257
|
+
for (var s = R.stack.split(`
|
|
258
|
+
`), x = t.stack.split(`
|
|
259
|
+
`), g = s.length - 1, _ = x.length - 1; g >= 1 && _ >= 0 && s[g] !== x[_]; )
|
|
260
|
+
_--;
|
|
261
|
+
for (; g >= 1 && _ >= 0; g--, _--)
|
|
262
|
+
if (s[g] !== x[_]) {
|
|
263
|
+
if (g !== 1 || _ !== 1)
|
|
264
|
+
do
|
|
265
|
+
if (g--, _--, _ < 0 || s[g] !== x[_]) {
|
|
266
|
+
var E = `
|
|
267
|
+
` + s[g].replace(" at new ", " at ");
|
|
268
|
+
return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && I.set(e, E), E;
|
|
269
|
+
}
|
|
270
|
+
while (g >= 1 && _ >= 0);
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
} finally {
|
|
275
|
+
V = !1, L.current = v, We(), Error.prepareStackTrace = u;
|
|
276
|
+
}
|
|
277
|
+
var z = e ? e.displayName || e.name : "", O = z ? B(z) : "";
|
|
278
|
+
return typeof e == "function" && I.set(e, O), O;
|
|
279
|
+
}
|
|
280
|
+
function Ie(e, r, a) {
|
|
281
|
+
return ce(e, !1);
|
|
282
|
+
}
|
|
283
|
+
function Ye(e) {
|
|
284
|
+
var r = e.prototype;
|
|
285
|
+
return !!(r && r.isReactComponent);
|
|
286
|
+
}
|
|
287
|
+
function Y(e, r, a) {
|
|
288
|
+
if (e == null)
|
|
289
|
+
return "";
|
|
290
|
+
if (typeof e == "function")
|
|
291
|
+
return ce(e, Ye(e));
|
|
292
|
+
if (typeof e == "string")
|
|
293
|
+
return B(e);
|
|
294
|
+
switch (e) {
|
|
295
|
+
case S:
|
|
296
|
+
return B("Suspense");
|
|
297
|
+
case y:
|
|
298
|
+
return B("SuspenseList");
|
|
299
|
+
}
|
|
300
|
+
if (typeof e == "object")
|
|
301
|
+
switch (e.$$typeof) {
|
|
302
|
+
case p:
|
|
303
|
+
return Ie(e.render);
|
|
304
|
+
case T:
|
|
305
|
+
return Y(e.type, r, a);
|
|
306
|
+
case k: {
|
|
307
|
+
var t = e, u = t._payload, v = t._init;
|
|
308
|
+
try {
|
|
309
|
+
return Y(v(u), r, a);
|
|
310
|
+
} catch {
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return "";
|
|
315
|
+
}
|
|
316
|
+
var D = Object.prototype.hasOwnProperty, ue = {}, de = N.ReactDebugCurrentFrame;
|
|
317
|
+
function M(e) {
|
|
318
|
+
if (e) {
|
|
319
|
+
var r = e._owner, a = Y(e.type, e._source, r ? r.type : null);
|
|
320
|
+
de.setExtraStackFrame(a);
|
|
321
|
+
} else
|
|
322
|
+
de.setExtraStackFrame(null);
|
|
323
|
+
}
|
|
324
|
+
function Me(e, r, a, t, u) {
|
|
325
|
+
{
|
|
326
|
+
var v = Function.call.bind(D);
|
|
327
|
+
for (var c in e)
|
|
328
|
+
if (v(e, c)) {
|
|
329
|
+
var s = void 0;
|
|
330
|
+
try {
|
|
331
|
+
if (typeof e[c] != "function") {
|
|
332
|
+
var x = Error((t || "React class") + ": " + a + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw x.name = "Invariant Violation", x;
|
|
334
|
+
}
|
|
335
|
+
s = e[c](r, c, t, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (g) {
|
|
337
|
+
s = g;
|
|
338
|
+
}
|
|
339
|
+
s && !(s instanceof Error) && (M(u), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", t || "React class", a, c, typeof s), M(null)), s instanceof Error && !(s.message in ue) && (ue[s.message] = !0, M(u), j("Failed %s type: %s", a, s.message), M(null));
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
var Le = Array.isArray;
|
|
344
|
+
function q(e) {
|
|
345
|
+
return Le(e);
|
|
346
|
+
}
|
|
347
|
+
function Ue(e) {
|
|
348
|
+
{
|
|
349
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
|
+
return a;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
function Ve(e) {
|
|
354
|
+
try {
|
|
355
|
+
return fe(e), !1;
|
|
356
|
+
} catch {
|
|
357
|
+
return !0;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
function fe(e) {
|
|
361
|
+
return "" + e;
|
|
362
|
+
}
|
|
363
|
+
function ve(e) {
|
|
364
|
+
if (Ve(e))
|
|
365
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ue(e)), fe(e);
|
|
366
|
+
}
|
|
367
|
+
var he = N.ReactCurrentOwner, qe = {
|
|
368
|
+
key: !0,
|
|
369
|
+
ref: !0,
|
|
370
|
+
__self: !0,
|
|
371
|
+
__source: !0
|
|
372
|
+
}, pe, me;
|
|
373
|
+
function He(e) {
|
|
374
|
+
if (D.call(e, "ref")) {
|
|
375
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
|
+
if (r && r.isReactWarning)
|
|
377
|
+
return !1;
|
|
378
|
+
}
|
|
379
|
+
return e.ref !== void 0;
|
|
380
|
+
}
|
|
381
|
+
function Ge(e) {
|
|
382
|
+
if (D.call(e, "key")) {
|
|
383
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
|
+
if (r && r.isReactWarning)
|
|
385
|
+
return !1;
|
|
386
|
+
}
|
|
387
|
+
return e.key !== void 0;
|
|
388
|
+
}
|
|
389
|
+
function Je(e, r) {
|
|
390
|
+
typeof e.ref == "string" && he.current;
|
|
391
|
+
}
|
|
392
|
+
function Ke(e, r) {
|
|
393
|
+
{
|
|
394
|
+
var a = function() {
|
|
395
|
+
pe || (pe = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
396
|
+
};
|
|
397
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
+
get: a,
|
|
399
|
+
configurable: !0
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function Xe(e, r) {
|
|
404
|
+
{
|
|
405
|
+
var a = function() {
|
|
406
|
+
me || (me = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
407
|
+
};
|
|
408
|
+
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
+
get: a,
|
|
410
|
+
configurable: !0
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
var Qe = function(e, r, a, t, u, v, c) {
|
|
415
|
+
var s = {
|
|
416
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
417
|
+
$$typeof: l,
|
|
418
|
+
// Built-in properties that belong on the element
|
|
419
|
+
type: e,
|
|
420
|
+
key: r,
|
|
421
|
+
ref: a,
|
|
422
|
+
props: c,
|
|
423
|
+
// Record the component responsible for creating this element.
|
|
424
|
+
_owner: v
|
|
425
|
+
};
|
|
426
|
+
return s._store = {}, Object.defineProperty(s._store, "validated", {
|
|
427
|
+
configurable: !1,
|
|
428
|
+
enumerable: !1,
|
|
429
|
+
writable: !0,
|
|
430
|
+
value: !1
|
|
431
|
+
}), Object.defineProperty(s, "_self", {
|
|
432
|
+
configurable: !1,
|
|
433
|
+
enumerable: !1,
|
|
434
|
+
writable: !1,
|
|
435
|
+
value: t
|
|
436
|
+
}), Object.defineProperty(s, "_source", {
|
|
437
|
+
configurable: !1,
|
|
438
|
+
enumerable: !1,
|
|
439
|
+
writable: !1,
|
|
440
|
+
value: u
|
|
441
|
+
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
442
|
+
};
|
|
443
|
+
function Ze(e, r, a, t, u) {
|
|
444
|
+
{
|
|
445
|
+
var v, c = {}, s = null, x = null;
|
|
446
|
+
a !== void 0 && (ve(a), s = "" + a), Ge(r) && (ve(r.key), s = "" + r.key), He(r) && (x = r.ref, Je(r, u));
|
|
447
|
+
for (v in r)
|
|
448
|
+
D.call(r, v) && !qe.hasOwnProperty(v) && (c[v] = r[v]);
|
|
449
|
+
if (e && e.defaultProps) {
|
|
450
|
+
var g = e.defaultProps;
|
|
451
|
+
for (v in g)
|
|
452
|
+
c[v] === void 0 && (c[v] = g[v]);
|
|
453
|
+
}
|
|
454
|
+
if (s || x) {
|
|
455
|
+
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
|
+
s && Ke(c, _), x && Xe(c, _);
|
|
457
|
+
}
|
|
458
|
+
return Qe(e, s, x, u, t, he.current, c);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
var H = N.ReactCurrentOwner, ge = N.ReactDebugCurrentFrame;
|
|
462
|
+
function P(e) {
|
|
463
|
+
if (e) {
|
|
464
|
+
var r = e._owner, a = Y(e.type, e._source, r ? r.type : null);
|
|
465
|
+
ge.setExtraStackFrame(a);
|
|
466
|
+
} else
|
|
467
|
+
ge.setExtraStackFrame(null);
|
|
468
|
+
}
|
|
469
|
+
var G;
|
|
470
|
+
G = !1;
|
|
471
|
+
function J(e) {
|
|
472
|
+
return typeof e == "object" && e !== null && e.$$typeof === l;
|
|
473
|
+
}
|
|
474
|
+
function _e() {
|
|
475
|
+
{
|
|
476
|
+
if (H.current) {
|
|
477
|
+
var e = C(H.current.type);
|
|
478
|
+
if (e)
|
|
479
|
+
return `
|
|
480
|
+
|
|
481
|
+
Check the render method of \`` + e + "`.";
|
|
482
|
+
}
|
|
483
|
+
return "";
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
function er(e) {
|
|
487
|
+
return "";
|
|
488
|
+
}
|
|
489
|
+
var be = {};
|
|
490
|
+
function rr(e) {
|
|
491
|
+
{
|
|
492
|
+
var r = _e();
|
|
493
|
+
if (!r) {
|
|
494
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
+
a && (r = `
|
|
496
|
+
|
|
497
|
+
Check the top-level render call using <` + a + ">.");
|
|
498
|
+
}
|
|
499
|
+
return r;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
function ye(e, r) {
|
|
503
|
+
{
|
|
504
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
505
|
+
return;
|
|
506
|
+
e._store.validated = !0;
|
|
507
|
+
var a = rr(r);
|
|
508
|
+
if (be[a])
|
|
509
|
+
return;
|
|
510
|
+
be[a] = !0;
|
|
511
|
+
var t = "";
|
|
512
|
+
e && e._owner && e._owner !== H.current && (t = " It was passed a child from " + C(e._owner.type) + "."), P(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, t), P(null);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
function je(e, r) {
|
|
516
|
+
{
|
|
517
|
+
if (typeof e != "object")
|
|
518
|
+
return;
|
|
519
|
+
if (q(e))
|
|
520
|
+
for (var a = 0; a < e.length; a++) {
|
|
521
|
+
var t = e[a];
|
|
522
|
+
J(t) && ye(t, r);
|
|
523
|
+
}
|
|
524
|
+
else if (J(e))
|
|
525
|
+
e._store && (e._store.validated = !0);
|
|
526
|
+
else if (e) {
|
|
527
|
+
var u = ke(e);
|
|
528
|
+
if (typeof u == "function" && u !== e.entries)
|
|
529
|
+
for (var v = u.call(e), c; !(c = v.next()).done; )
|
|
530
|
+
J(c.value) && ye(c.value, r);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
function ar(e) {
|
|
535
|
+
{
|
|
536
|
+
var r = e.type;
|
|
537
|
+
if (r == null || typeof r == "string")
|
|
538
|
+
return;
|
|
539
|
+
var a;
|
|
540
|
+
if (typeof r == "function")
|
|
541
|
+
a = r.propTypes;
|
|
542
|
+
else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
|
|
543
|
+
// Inner props are checked in the reconciler.
|
|
544
|
+
r.$$typeof === T))
|
|
545
|
+
a = r.propTypes;
|
|
546
|
+
else
|
|
547
|
+
return;
|
|
548
|
+
if (a) {
|
|
549
|
+
var t = C(r);
|
|
550
|
+
Me(a, e.props, "prop", t, e);
|
|
551
|
+
} else if (r.PropTypes !== void 0 && !G) {
|
|
552
|
+
G = !0;
|
|
553
|
+
var u = C(r);
|
|
554
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
|
|
555
|
+
}
|
|
556
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
function nr(e) {
|
|
560
|
+
{
|
|
561
|
+
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
562
|
+
var t = r[a];
|
|
563
|
+
if (t !== "children" && t !== "key") {
|
|
564
|
+
P(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", t), P(null);
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
e.ref !== null && (P(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
var xe = {};
|
|
572
|
+
function Re(e, r, a, t, u, v) {
|
|
573
|
+
{
|
|
574
|
+
var c = De(e);
|
|
575
|
+
if (!c) {
|
|
576
|
+
var s = "";
|
|
577
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
+
var x = er();
|
|
579
|
+
x ? s += x : s += _e();
|
|
580
|
+
var g;
|
|
581
|
+
e === null ? g = "null" : q(e) ? g = "array" : e !== void 0 && e.$$typeof === l ? (g = "<" + (C(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, s);
|
|
582
|
+
}
|
|
583
|
+
var _ = Ze(e, r, a, u, v);
|
|
584
|
+
if (_ == null)
|
|
585
|
+
return _;
|
|
586
|
+
if (c) {
|
|
587
|
+
var E = r.children;
|
|
588
|
+
if (E !== void 0)
|
|
589
|
+
if (t)
|
|
590
|
+
if (q(E)) {
|
|
591
|
+
for (var z = 0; z < E.length; z++)
|
|
592
|
+
je(E[z], e);
|
|
593
|
+
Object.freeze && Object.freeze(E);
|
|
594
|
+
} else
|
|
595
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
|
+
else
|
|
597
|
+
je(E, e);
|
|
598
|
+
}
|
|
599
|
+
if (D.call(r, "key")) {
|
|
600
|
+
var O = C(e), R = Object.keys(r).filter(function(cr) {
|
|
601
|
+
return cr !== "key";
|
|
602
|
+
}), K = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!xe[O + K]) {
|
|
604
|
+
var sr = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
j(`A props object containing a "key" prop is being spread into JSX:
|
|
606
|
+
let props = %s;
|
|
607
|
+
<%s {...props} />
|
|
608
|
+
React keys must be passed directly to JSX without using spread:
|
|
609
|
+
let props = %s;
|
|
610
|
+
<%s key={someKey} {...props} />`, K, O, sr, O), xe[O + K] = !0;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
return e === f ? nr(_) : ar(_), _;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function tr(e, r, a) {
|
|
617
|
+
return Re(e, r, a, !0);
|
|
618
|
+
}
|
|
619
|
+
function or(e, r, a) {
|
|
620
|
+
return Re(e, r, a, !1);
|
|
621
|
+
}
|
|
622
|
+
var ir = or, lr = tr;
|
|
623
|
+
$.Fragment = f, $.jsx = ir, $.jsxs = lr;
|
|
624
|
+
}()), $;
|
|
625
|
+
}
|
|
626
|
+
process.env.NODE_ENV === "production" ? X.exports = dr() : X.exports = fr();
|
|
627
|
+
var n = X.exports;
|
|
628
|
+
const pr = ({ children: i, className: l }) => /* @__PURE__ */ n.jsx(
|
|
629
|
+
"div",
|
|
630
|
+
{
|
|
631
|
+
"data-template": "forehead",
|
|
632
|
+
className: ["lion-page", "lion-page--forehead", l].filter(Boolean).join(" "),
|
|
633
|
+
style: { maxWidth: "var(--max-width, 1600px)", margin: "0 auto" },
|
|
634
|
+
children: i
|
|
635
|
+
}
|
|
636
|
+
), mr = ({ children: i, className: l }) => /* @__PURE__ */ n.jsx(
|
|
637
|
+
"div",
|
|
638
|
+
{
|
|
639
|
+
"data-template": "sideburn",
|
|
640
|
+
className: ["lion-page", "lion-page--sideburn", l].filter(Boolean).join(" "),
|
|
641
|
+
style: { maxWidth: "var(--max-width, 1600px)", margin: "0 auto" },
|
|
642
|
+
children: i
|
|
643
|
+
}
|
|
644
|
+
), gr = ({ zone: i, children: l, className: o }) => /* @__PURE__ */ n.jsx(
|
|
645
|
+
"section",
|
|
646
|
+
{
|
|
647
|
+
"data-zone": i,
|
|
648
|
+
className: ["lion-section", `lion-section--${i}`, o].filter(Boolean).join(" "),
|
|
649
|
+
children: l
|
|
650
|
+
}
|
|
651
|
+
), _r = ({ type: i = "single", children: l, className: o }) => /* @__PURE__ */ n.jsx(
|
|
652
|
+
"div",
|
|
653
|
+
{
|
|
654
|
+
"data-container-type": i,
|
|
655
|
+
className: ["lion-container", `lion-container--${i}`, o].filter(Boolean).join(" "),
|
|
656
|
+
children: l
|
|
657
|
+
}
|
|
658
|
+
), br = ({ links: i, className: l }) => /* @__PURE__ */ n.jsx(
|
|
659
|
+
"nav",
|
|
660
|
+
{
|
|
661
|
+
"data-zone": "anklet",
|
|
662
|
+
className: ["lion-anklet", l].filter(Boolean).join(" "),
|
|
663
|
+
"aria-label": "Quick links",
|
|
664
|
+
children: /* @__PURE__ */ n.jsx("ul", { className: "lion-anklet__list", children: i.map((o) => /* @__PURE__ */ n.jsx("li", { className: "lion-anklet__item", children: /* @__PURE__ */ n.jsx("a", { href: o.href, className: "lion-anklet__link", children: o.label }) }, o.href)) })
|
|
665
|
+
}
|
|
666
|
+
), yr = ({
|
|
667
|
+
logoSrc: i,
|
|
668
|
+
logoAlt: l,
|
|
669
|
+
selectedState: o,
|
|
670
|
+
onStateChange: f,
|
|
671
|
+
className: h
|
|
672
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
673
|
+
"div",
|
|
674
|
+
{
|
|
675
|
+
"data-zone": "header",
|
|
676
|
+
"data-content-type": "corporate-universal-header",
|
|
677
|
+
className: ["lion-corporate-header", h].filter(Boolean).join(" "),
|
|
678
|
+
style: { backgroundColor: "var(--color-blue-dark)" },
|
|
679
|
+
children: [
|
|
680
|
+
/* @__PURE__ */ n.jsx("img", { src: i, alt: l, className: "lion-corporate-header__logo" }),
|
|
681
|
+
f && /* @__PURE__ */ n.jsx(
|
|
682
|
+
"select",
|
|
683
|
+
{
|
|
684
|
+
className: "lion-corporate-header__state-selector",
|
|
685
|
+
value: o,
|
|
686
|
+
onChange: (m) => f(m.target.value),
|
|
687
|
+
"aria-label": "Select state"
|
|
688
|
+
}
|
|
689
|
+
)
|
|
690
|
+
]
|
|
691
|
+
}
|
|
692
|
+
), jr = ({
|
|
693
|
+
logoSrc: i,
|
|
694
|
+
logoAlt: l,
|
|
695
|
+
underwriterInfo: o,
|
|
696
|
+
ctas: f = [],
|
|
697
|
+
className: h
|
|
698
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
699
|
+
"header",
|
|
700
|
+
{
|
|
701
|
+
"data-zone": "header",
|
|
702
|
+
"data-content-type": "global-header-bar",
|
|
703
|
+
className: ["lion-global-header", h].filter(Boolean).join(" "),
|
|
704
|
+
style: { backgroundColor: "var(--color-white)" },
|
|
705
|
+
children: [
|
|
706
|
+
/* @__PURE__ */ n.jsx("img", { src: i, alt: l, className: "lion-global-header__logo" }),
|
|
707
|
+
o && /* @__PURE__ */ n.jsx("span", { className: "lion-global-header__underwriter", children: o }),
|
|
708
|
+
f.length > 0 && /* @__PURE__ */ n.jsx("nav", { className: "lion-global-header__ctas", "aria-label": "Header actions", children: f.map((m) => /* @__PURE__ */ n.jsx("a", { href: m.href, className: `lion-global-header__cta lion-global-header__cta--${m.type ?? "link"}`, children: m.label }, m.href)) })
|
|
709
|
+
]
|
|
710
|
+
}
|
|
711
|
+
), xr = ({
|
|
712
|
+
variant: i,
|
|
713
|
+
heading: l,
|
|
714
|
+
subheading: o,
|
|
715
|
+
imageSrc: f,
|
|
716
|
+
imageAlt: h,
|
|
717
|
+
ctaLabel: m,
|
|
718
|
+
ctaHref: d,
|
|
719
|
+
className: b
|
|
720
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
721
|
+
"div",
|
|
722
|
+
{
|
|
723
|
+
"data-zone": "hero",
|
|
724
|
+
"data-content-type": `hero-${i}`,
|
|
725
|
+
className: ["lion-hero", `lion-hero--${i}`, b].filter(Boolean).join(" "),
|
|
726
|
+
children: [
|
|
727
|
+
/* @__PURE__ */ n.jsxs("div", { className: "lion-hero__content", children: [
|
|
728
|
+
/* @__PURE__ */ n.jsx("h1", { className: "lion-hero__heading", style: { fontSize: "var(--h1-font-size)", lineHeight: "var(--h1-line-height)" }, children: l }),
|
|
729
|
+
o && /* @__PURE__ */ n.jsx("p", { className: "lion-hero__subheading", style: { fontSize: "var(--font-size-base)" }, children: o }),
|
|
730
|
+
m && d && /* @__PURE__ */ n.jsx("a", { href: d, className: "lion-hero__cta", style: { color: "var(--color-white)", backgroundColor: "var(--color-brand)" }, children: m })
|
|
731
|
+
] }),
|
|
732
|
+
f && /* @__PURE__ */ n.jsx("div", { className: "lion-hero__image-wrapper", children: /* @__PURE__ */ n.jsx("img", { src: f, alt: h ?? "", className: "lion-hero__image" }) })
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
), Rr = ({
|
|
736
|
+
type: i,
|
|
737
|
+
label: l,
|
|
738
|
+
href: o,
|
|
739
|
+
phone: f,
|
|
740
|
+
variant: h = "primary",
|
|
741
|
+
opensInNewTab: m = !1,
|
|
742
|
+
className: d
|
|
743
|
+
}) => {
|
|
744
|
+
const b = m ? "_blank" : void 0, p = m ? "noopener noreferrer" : void 0, S = i === "phone" ? `tel:${f}` : o;
|
|
745
|
+
return /* @__PURE__ */ n.jsx(
|
|
746
|
+
"a",
|
|
747
|
+
{
|
|
748
|
+
"data-zone": "general",
|
|
749
|
+
"data-content-type": "cta",
|
|
750
|
+
href: S,
|
|
751
|
+
target: b,
|
|
752
|
+
rel: p,
|
|
753
|
+
className: ["lion-cta", `lion-cta--${i}`, `lion-cta--${h}`, d].filter(Boolean).join(" "),
|
|
754
|
+
style: {
|
|
755
|
+
fontFamily: "var(--font-family-sans-serif)",
|
|
756
|
+
fontWeight: "var(--font-weight-600)",
|
|
757
|
+
borderRadius: "var(--border-radius-base)",
|
|
758
|
+
padding: "var(--padding-base-vertical) var(--padding-base-horizontal)",
|
|
759
|
+
backgroundColor: h === "primary" ? "var(--color-brand)" : "transparent",
|
|
760
|
+
color: h === "primary" ? "var(--color-white)" : "var(--color-link)",
|
|
761
|
+
borderWidth: h === "secondary" ? "var(--border-width-base)" : void 0,
|
|
762
|
+
borderStyle: h === "secondary" ? "solid" : void 0,
|
|
763
|
+
borderColor: h === "secondary" ? "var(--color-brand)" : void 0
|
|
764
|
+
},
|
|
765
|
+
children: l
|
|
766
|
+
}
|
|
767
|
+
);
|
|
768
|
+
}, Er = ({ heading: i, body: l, ctaLabel: o, ctaHref: f, className: h }) => /* @__PURE__ */ n.jsxs(
|
|
769
|
+
"div",
|
|
770
|
+
{
|
|
771
|
+
"data-zone": "general",
|
|
772
|
+
"data-content-type": "callout",
|
|
773
|
+
className: ["lion-callout", h].filter(Boolean).join(" "),
|
|
774
|
+
style: { backgroundColor: "var(--color-teal-tint)", borderRadius: "var(--border-radius-base)", padding: "var(--padding-edge)" },
|
|
775
|
+
children: [
|
|
776
|
+
/* @__PURE__ */ n.jsx("h2", { className: "lion-callout__heading", style: { fontSize: "var(--h2-font-size)", fontWeight: "var(--font-weight-700)" }, children: i }),
|
|
777
|
+
/* @__PURE__ */ n.jsx("p", { className: "lion-callout__body", style: { fontSize: "var(--font-size-base)", color: "var(--color-text)" }, children: l }),
|
|
778
|
+
o && f && /* @__PURE__ */ n.jsx("a", { href: f, className: "lion-callout__cta", style: { color: "var(--color-link)" }, children: o })
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
), Sr = ({ items: i, className: l }) => /* @__PURE__ */ n.jsx(
|
|
782
|
+
"ul",
|
|
783
|
+
{
|
|
784
|
+
"data-zone": "general",
|
|
785
|
+
"data-content-type": "rtbs",
|
|
786
|
+
className: ["lion-rtbs", l].filter(Boolean).join(" "),
|
|
787
|
+
style: { listStyle: "none", padding: 0, margin: 0 },
|
|
788
|
+
children: i.map((o, f) => /* @__PURE__ */ n.jsxs("li", { className: "lion-rtbs__item", children: [
|
|
789
|
+
o.illustrationSrc && /* @__PURE__ */ n.jsx(
|
|
790
|
+
"img",
|
|
791
|
+
{
|
|
792
|
+
src: o.illustrationSrc,
|
|
793
|
+
alt: o.illustrationAlt ?? "",
|
|
794
|
+
className: "lion-rtbs__illustration"
|
|
795
|
+
}
|
|
796
|
+
),
|
|
797
|
+
/* @__PURE__ */ n.jsx("h3", { className: "lion-rtbs__heading", style: { fontSize: "var(--h3-font-size)", fontWeight: "var(--font-weight-600)" }, children: o.heading }),
|
|
798
|
+
/* @__PURE__ */ n.jsx("p", { className: "lion-rtbs__body", style: { fontSize: "var(--font-size-base)", color: "var(--color-text)" }, children: o.body })
|
|
799
|
+
] }, f))
|
|
800
|
+
}
|
|
801
|
+
), vr = ["Risk-free", "No Obligation", "Protected Privacy"], Tr = ({ tags: i = vr, className: l }) => /* @__PURE__ */ n.jsx(
|
|
802
|
+
"ul",
|
|
803
|
+
{
|
|
804
|
+
"data-zone": "general",
|
|
805
|
+
"data-content-type": "confidence-tags",
|
|
806
|
+
className: ["lion-confidence-tags", l].filter(Boolean).join(" "),
|
|
807
|
+
style: { listStyle: "none", padding: 0, margin: 0, display: "flex", gap: "var(--Grid-gutter-size)" },
|
|
808
|
+
children: i.map((o) => /* @__PURE__ */ n.jsx(
|
|
809
|
+
"li",
|
|
810
|
+
{
|
|
811
|
+
className: "lion-confidence-tags__tag",
|
|
812
|
+
style: {
|
|
813
|
+
fontSize: "var(--h5-font-size)",
|
|
814
|
+
fontWeight: "var(--font-weight-600)",
|
|
815
|
+
color: "var(--color-brand)",
|
|
816
|
+
borderRadius: "var(--border-radius-small)",
|
|
817
|
+
padding: "var(--padding-small-vertical) var(--padding-small-horizontal)",
|
|
818
|
+
backgroundColor: "var(--color-teal-opaque)"
|
|
819
|
+
},
|
|
820
|
+
children: o
|
|
821
|
+
},
|
|
822
|
+
o
|
|
823
|
+
))
|
|
824
|
+
}
|
|
825
|
+
), Cr = ({
|
|
826
|
+
fields: i,
|
|
827
|
+
submitLabel: l = "Submit",
|
|
828
|
+
onSubmit: o,
|
|
829
|
+
mediaCode: f,
|
|
830
|
+
className: h
|
|
831
|
+
}) => {
|
|
832
|
+
const m = (d) => {
|
|
833
|
+
if (d.preventDefault(), !o) return;
|
|
834
|
+
const b = new FormData(d.currentTarget), p = {};
|
|
835
|
+
b.forEach((S, y) => {
|
|
836
|
+
p[y] = S;
|
|
837
|
+
}), o(p);
|
|
838
|
+
};
|
|
839
|
+
return /* @__PURE__ */ n.jsxs(
|
|
840
|
+
"form",
|
|
841
|
+
{
|
|
842
|
+
"data-zone": "general",
|
|
843
|
+
"data-content-type": "lead-form",
|
|
844
|
+
"data-media-code": f,
|
|
845
|
+
className: ["lion-lead-form", h].filter(Boolean).join(" "),
|
|
846
|
+
onSubmit: m,
|
|
847
|
+
children: [
|
|
848
|
+
i.map((d) => {
|
|
849
|
+
var b;
|
|
850
|
+
return /* @__PURE__ */ n.jsxs("div", { className: "lion-lead-form__field", children: [
|
|
851
|
+
/* @__PURE__ */ n.jsxs("label", { htmlFor: d.name, className: "lion-lead-form__label", style: { fontWeight: "var(--font-weight-600)" }, children: [
|
|
852
|
+
d.label,
|
|
853
|
+
d.required && /* @__PURE__ */ n.jsx("span", { "aria-hidden": "true", children: " *" })
|
|
854
|
+
] }),
|
|
855
|
+
d.type === "select" ? /* @__PURE__ */ n.jsx("select", { id: d.name, name: d.name, required: d.required, className: "lion-lead-form__select", children: (b = d.options) == null ? void 0 : b.map((p) => /* @__PURE__ */ n.jsx("option", { value: p, children: p }, p)) }) : /* @__PURE__ */ n.jsx(
|
|
856
|
+
"input",
|
|
857
|
+
{
|
|
858
|
+
id: d.name,
|
|
859
|
+
name: d.name,
|
|
860
|
+
type: d.type,
|
|
861
|
+
required: d.required,
|
|
862
|
+
className: "lion-lead-form__input"
|
|
863
|
+
}
|
|
864
|
+
)
|
|
865
|
+
] }, d.name);
|
|
866
|
+
}),
|
|
867
|
+
/* @__PURE__ */ n.jsx(
|
|
868
|
+
"button",
|
|
869
|
+
{
|
|
870
|
+
type: "submit",
|
|
871
|
+
className: "lion-lead-form__submit",
|
|
872
|
+
style: {
|
|
873
|
+
backgroundColor: "var(--color-brand)",
|
|
874
|
+
color: "var(--color-white)",
|
|
875
|
+
fontWeight: "var(--font-weight-600)",
|
|
876
|
+
borderRadius: "var(--border-radius-base)",
|
|
877
|
+
padding: "var(--padding-base-vertical) var(--padding-base-horizontal)"
|
|
878
|
+
},
|
|
879
|
+
children: l
|
|
880
|
+
}
|
|
881
|
+
)
|
|
882
|
+
]
|
|
883
|
+
}
|
|
884
|
+
);
|
|
885
|
+
}, kr = ({ html: i, className: l }) => /* @__PURE__ */ n.jsx(
|
|
886
|
+
"div",
|
|
887
|
+
{
|
|
888
|
+
"data-zone": "general",
|
|
889
|
+
"data-content-type": "rich-text",
|
|
890
|
+
className: ["lion-rich-text", l].filter(Boolean).join(" "),
|
|
891
|
+
style: {
|
|
892
|
+
fontFamily: "var(--font-family-sans-serif)",
|
|
893
|
+
fontSize: "var(--font-size-base)",
|
|
894
|
+
lineHeight: "var(--line-height-base)",
|
|
895
|
+
color: "var(--color-text)"
|
|
896
|
+
},
|
|
897
|
+
dangerouslySetInnerHTML: { __html: i }
|
|
898
|
+
}
|
|
899
|
+
), wr = ({ text: i, itemNumber: l, className: o }) => /* @__PURE__ */ n.jsxs(
|
|
900
|
+
"div",
|
|
901
|
+
{
|
|
902
|
+
"data-zone": "footer",
|
|
903
|
+
"data-content-type": "disclaimer",
|
|
904
|
+
className: ["lion-disclaimer", o].filter(Boolean).join(" "),
|
|
905
|
+
style: { fontSize: "var(--h6-font-size)", color: "var(--color-gray-dark)", lineHeight: "var(--h6-line-height)" },
|
|
906
|
+
children: [
|
|
907
|
+
/* @__PURE__ */ n.jsx("p", { className: "lion-disclaimer__text", children: i }),
|
|
908
|
+
l && /* @__PURE__ */ n.jsx("span", { className: "lion-disclaimer__item-number", "aria-label": "Item number", children: l })
|
|
909
|
+
]
|
|
910
|
+
}
|
|
911
|
+
), Or = ({ triggerLabel: i, content: l, materialId: o, className: f }) => {
|
|
912
|
+
const [h, m] = ur(!1);
|
|
913
|
+
return /* @__PURE__ */ n.jsxs(
|
|
914
|
+
"div",
|
|
915
|
+
{
|
|
916
|
+
"data-zone": "footer",
|
|
917
|
+
"data-content-type": "disclosure",
|
|
918
|
+
"data-material-id": o,
|
|
919
|
+
className: ["lion-disclosure", f].filter(Boolean).join(" "),
|
|
920
|
+
children: [
|
|
921
|
+
/* @__PURE__ */ n.jsx(
|
|
922
|
+
"button",
|
|
923
|
+
{
|
|
924
|
+
type: "button",
|
|
925
|
+
className: "lion-disclosure__trigger",
|
|
926
|
+
"aria-expanded": h,
|
|
927
|
+
onClick: () => m((d) => !d),
|
|
928
|
+
style: {
|
|
929
|
+
fontFamily: "var(--font-family-sans-serif)",
|
|
930
|
+
fontSize: "var(--h6-font-size)",
|
|
931
|
+
color: "var(--color-link)",
|
|
932
|
+
background: "none",
|
|
933
|
+
border: "none",
|
|
934
|
+
cursor: "pointer",
|
|
935
|
+
padding: 0
|
|
936
|
+
},
|
|
937
|
+
children: i
|
|
938
|
+
}
|
|
939
|
+
),
|
|
940
|
+
h && /* @__PURE__ */ n.jsxs(
|
|
941
|
+
"div",
|
|
942
|
+
{
|
|
943
|
+
className: "lion-disclosure__content",
|
|
944
|
+
style: { fontSize: "var(--h6-font-size)", color: "var(--color-gray-dark)", marginTop: "var(--padding-small-vertical)" },
|
|
945
|
+
children: [
|
|
946
|
+
l,
|
|
947
|
+
o && /* @__PURE__ */ n.jsxs("span", { className: "lion-disclosure__material-id", "aria-label": "Material ID", children: [
|
|
948
|
+
" ",
|
|
949
|
+
"(",
|
|
950
|
+
o,
|
|
951
|
+
")"
|
|
952
|
+
] })
|
|
953
|
+
]
|
|
954
|
+
}
|
|
955
|
+
)
|
|
956
|
+
]
|
|
957
|
+
}
|
|
958
|
+
);
|
|
959
|
+
}, Nr = ({
|
|
960
|
+
itemNumber: i,
|
|
961
|
+
materialId: l,
|
|
962
|
+
text: o,
|
|
963
|
+
className: f
|
|
964
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
965
|
+
"div",
|
|
966
|
+
{
|
|
967
|
+
"data-zone": "footer",
|
|
968
|
+
"data-content-type": "compliance-block",
|
|
969
|
+
className: ["lion-compliance", f].filter(Boolean).join(" "),
|
|
970
|
+
style: { fontSize: "var(--h6-font-size)", color: "var(--color-gray-dark)", lineHeight: "var(--h6-line-height)" },
|
|
971
|
+
children: [
|
|
972
|
+
o && /* @__PURE__ */ n.jsx("p", { className: "lion-compliance__text", children: o }),
|
|
973
|
+
/* @__PURE__ */ n.jsxs("dl", { className: "lion-compliance__ids", children: [
|
|
974
|
+
i && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
975
|
+
/* @__PURE__ */ n.jsx("dt", { className: "lion-compliance__label", children: "Item #" }),
|
|
976
|
+
/* @__PURE__ */ n.jsx("dd", { className: "lion-compliance__value", children: i })
|
|
977
|
+
] }),
|
|
978
|
+
l && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
979
|
+
/* @__PURE__ */ n.jsx("dt", { className: "lion-compliance__label", children: "Material ID" }),
|
|
980
|
+
/* @__PURE__ */ n.jsx("dd", { className: "lion-compliance__value", children: l })
|
|
981
|
+
] })
|
|
982
|
+
] })
|
|
983
|
+
]
|
|
984
|
+
}
|
|
985
|
+
);
|
|
986
|
+
export {
|
|
987
|
+
br as Anklet,
|
|
988
|
+
Rr as CTA,
|
|
989
|
+
Er as CallOut,
|
|
990
|
+
Nr as ComplianceBlock,
|
|
991
|
+
Tr as ConfidenceTags,
|
|
992
|
+
_r as Container,
|
|
993
|
+
yr as CorporateUniversalHeader,
|
|
994
|
+
wr as Disclaimer,
|
|
995
|
+
Or as Disclosure,
|
|
996
|
+
jr as GlobalHeaderBar,
|
|
997
|
+
xr as Hero,
|
|
998
|
+
Cr as LeadForm,
|
|
999
|
+
pr as PageForehead,
|
|
1000
|
+
mr as PageSideburn,
|
|
1001
|
+
Sr as RTBs,
|
|
1002
|
+
kr as RichText,
|
|
1003
|
+
gr as Section
|
|
1004
|
+
};
|