@courtneyring/components-library 1.0.3 → 1.0.4

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.
@@ -4768,14 +4768,15 @@ const ac = {
4768
4768
  ...qu,
4769
4769
  ...lc
4770
4770
  }, cc = /* @__PURE__ */ Mu(uc, Cu);
4771
- function pc({ children: t }) {
4771
+ function pc({ children: t, delay: e, ...n }) {
4772
4772
  return /* @__PURE__ */ Ue(
4773
4773
  cc.div,
4774
4774
  {
4775
4775
  initial: { opacity: 0, y: 50 },
4776
4776
  whileInView: { opacity: 1, y: 0 },
4777
4777
  viewport: { once: !0, amount: 0.5 },
4778
- transition: { duration: 0.8 },
4778
+ transition: { duration: 0.8, delay: e },
4779
+ ...n,
4779
4780
  children: t
4780
4781
  }
4781
4782
  );
@@ -1 +1 @@
1
- ._container_z7nbd_1{display:flex;flex-direction:column-reverse;margin:0 auto}@media (min-width: 0){._header_z7nbd_8{font-family:var(--font-secondary);font-size:36px;line-height:1}}@media (min-width: 390px){._header_z7nbd_8{font-size:40px;line-height:1.2}}@media (min-width: 625px){._header_z7nbd_8{font-size:36px}}._header_z7nbd_8{font-family:var(--font-secondary);margin-bottom:20px}._content_z7nbd_30{display:flex;flex-direction:column;align-items:flex-start}._body_z7nbd_36{display:flow-root;margin-bottom:30px}._body_z7nbd_36 p{margin-bottom:20px}@media (min-width: 0){._body_z7nbd_36 p{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._body_z7nbd_36 p{font-size:24px;line-height:1.6}}._ctas_z7nbd_56>*:first-child{margin-right:10px}._image_z7nbd_60{width:calc(100% + 40px);margin-left:-20px}._image_z7nbd_60 img{object-fit:cover;width:100%;height:100%;display:block}._block_z7nbd_71._reverse_z7nbd_71 ._content_z7nbd_30{order:1;margin-bottom:40px}._block_z7nbd_71._reverse_z7nbd_71 ._image_z7nbd_60{margin-bottom:-40px}._block_z7nbd_71:not(._reverse_z7nbd_71) ._image_z7nbd_60{margin-top:-40px}._block_z7nbd_71:not(._reverse_z7nbd_71) ._content_z7nbd_30{margin-top:40px}._ctas_z7nbd_56{display:flex}@media (min-width: 390px){._image_z7nbd_60{width:calc(100% + 60px);margin-left:-30px}._block_z7nbd_71._reverse_z7nbd_71 ._content_z7nbd_30{margin-bottom:40px}._block_z7nbd_71._reverse_z7nbd_71 ._image_z7nbd_60{margin-bottom:-40px}._block_z7nbd_71:not(._reverse_z7nbd_71) ._content_z7nbd_30{margin-top:40px}._block_z7nbd_71:not(._reverse_z7nbd_71) ._image_z7nbd_60{margin-top:-40px}}@media (min-width: 625px){._container_z7nbd_1{display:grid;grid-template-columns:1fr 1fr;gap:20px}._content_z7nbd_30{text-align:left;padding:5% 0;align-items:flex-start}._block_z7nbd_71 ._content_z7nbd_30,._block_z7nbd_71 ._image_z7nbd_60{margin:0!important}._image_z7nbd_60{width:100%}}@media (min-width: 992px){._container_z7nbd_1{gap:50px}._content_z7nbd_30{padding-top:10%}._header_z7nbd_8{font-size:40px}}@media (min-width: 1200px){._container_z7nbd_1{grid-template-columns:5fr 3fr;min-height:700px;column-gap:100px}._reverse_z7nbd_71 ._container_z7nbd_1{grid-template-columns:3fr 5fr}._header_z7nbd_8{font-size:52px}._image_z7nbd_60{max-height:900px}}
1
+ ._container_iwa4p_1{display:flex;flex-direction:column-reverse;margin:0 auto}@media (min-width: 0){._header_iwa4p_8{font-family:var(--font-secondary);font-size:36px;line-height:1}}@media (min-width: 390px){._header_iwa4p_8{font-size:40px;line-height:1.2}}@media (min-width: 625px){._header_iwa4p_8{font-size:36px}}._header_iwa4p_8{font-family:var(--font-secondary);margin-bottom:20px}._content_iwa4p_30{display:flex;flex-direction:column;align-items:flex-start}._body_iwa4p_36{display:flow-root;margin-bottom:30px}._body_iwa4p_36 p{margin-bottom:20px}@media (min-width: 0){._body_iwa4p_36 p{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._body_iwa4p_36 p{font-size:24px;line-height:1.6}}._ctas_iwa4p_56>*:first-child{margin-right:10px}._image_iwa4p_60 img{object-fit:cover;width:100%;height:100%;display:block}._block_iwa4p_67._reverse_iwa4p_67 ._content_iwa4p_30{order:1;margin-bottom:40px}._block_iwa4p_67._reverse_iwa4p_67 ._image_iwa4p_60{margin-bottom:-40px}._block_iwa4p_67:not(._reverse_iwa4p_67) ._image_iwa4p_60{margin-top:-40px}._block_iwa4p_67:not(._reverse_iwa4p_67) ._content_iwa4p_30{margin-top:40px}._ctas_iwa4p_56{display:flex}._image_iwa4p_60{width:calc(100% + 40px);margin-left:-20px}@media (min-width: 390px){._image_iwa4p_60{width:calc(100% + 60px);margin-left:-30px}}@media (min-width: 390px){._block_iwa4p_67._reverse_iwa4p_67 ._content_iwa4p_30{margin-bottom:40px}._block_iwa4p_67._reverse_iwa4p_67 ._image_iwa4p_60{margin-bottom:-40px}._block_iwa4p_67:not(._reverse_iwa4p_67) ._content_iwa4p_30{margin-top:40px}._block_iwa4p_67:not(._reverse_iwa4p_67) ._image_iwa4p_60{margin-top:-40px}}@media (min-width: 625px){._container_iwa4p_1{display:grid;grid-template-columns:1fr 1fr;gap:20px}._content_iwa4p_30{text-align:left;padding:5% 0;align-items:flex-start}._block_iwa4p_67 ._content_iwa4p_30,._block_iwa4p_67 ._image_iwa4p_60{margin:0!important}._image_iwa4p_60{width:100%}}@media (min-width: 992px){._container_iwa4p_1{gap:50px}._content_iwa4p_30{padding-top:10%}._header_iwa4p_8{font-size:40px}}@media (min-width: 1200px){._container_iwa4p_1{grid-template-columns:5fr 3fr;min-height:700px;column-gap:100px}._reverse_iwa4p_67 ._container_iwa4p_1{grid-template-columns:3fr 5fr}._header_iwa4p_8{font-size:52px}._image_iwa4p_60{max-height:900px}}
@@ -1 +1 @@
1
- ._group_fnbmk_1{display:grid;grid-template-columns:1fr;gap:20px}@media (min-width: 0){._header_fnbmk_8{font-family:var(--font-secondary);font-size:36px;line-height:1}}@media (min-width: 390px){._header_fnbmk_8{font-size:40px;line-height:1.2}}@media (min-width: 625px){._header_fnbmk_8{font-size:36px}}._header_fnbmk_8{font-family:var(--font-secondary);margin-bottom:30px}@media (min-width: 390px){._group_fnbmk_1{gap:30px}}@media (min-width: 625px){._group_fnbmk_1{grid-template-columns:1fr 1fr;gap:30px}}@media (min-width: 992px){._group_fnbmk_1{grid-template-columns:1fr 1fr 1fr;gap:20px}}
1
+ ._group_19me7_1{display:grid;grid-template-columns:repeat(var(--promos),1fr);overflow-x:auto;gap:20px;padding:0 20px}._group_19me7_1{width:calc(100% + 40px);margin-left:-20px}@media (min-width: 390px){._group_19me7_1{width:calc(100% + 60px);margin-left:-30px}}@media (min-width: 0){._header_19me7_21{font-family:var(--font-secondary);font-size:36px;line-height:1}}@media (min-width: 390px){._header_19me7_21{font-size:40px;line-height:1.2}}@media (min-width: 625px){._header_19me7_21{font-size:36px}}._header_19me7_21{font-family:var(--font-secondary);margin-bottom:30px}._promo_19me7_43{grid-row:auto/span 3;padding:20px;display:grid;grid-template-rows:subgrid;min-width:75vw}._promo_19me7_43[data-color=color-primary-dark]{background-color:var(--color-primary-dark);color:var(--color-white)}._promo_19me7_43[data-color=color-primary-medium]{background-color:var(--color-primary-medium);color:var(--color-white)}._promo_19me7_43[data-color=color-primary-light]{background-color:var(--color-primary-light);color:var(--color-neutral-dark)}._promo_19me7_43[data-color=color-secondary]{background-color:var(--color-secondary);color:var(--color-white)}._promo_19me7_43[data-color=color-neutral-dark]{background-color:var(--color-neutral-dark);color:var(--color-white)}._promo_19me7_43[data-color=color-neutral-medium]{background-color:var(--color-neutral-medium);color:var(--color-white)}._promo_19me7_43[data-color=color-neutral-light]{background-color:var(--color-neutral-light);color:var(--color-neutral-dark)}._promo_19me7_43[data-color=color-white]{background-color:var(--color-white);color:var(--color-neutral-dark)}._promo_19me7_43[data-text-align=center]{text-align:center;align-items:center}._image_19me7_87{width:100px;margin:0 auto}._promo__header_19me7_92{margin:0;line-height:2.25rem;text-transform:uppercase;letter-spacing:3px;font-size:28px}@media (min-width: 0){._cta_19me7_101{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._cta_19me7_101{font-size:24px;line-height:1.6}}@media (min-width: 0){._promo__body_19me7_114{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._promo__body_19me7_114{font-size:24px;line-height:1.6}}._stat_19me7_126{display:flex;align-items:center;margin-bottom:5px}._stat_19me7_126 span:first-child{margin-right:10px}@media (min-width: 0){._statText_19me7_136{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._statText_19me7_136{font-size:24px;line-height:1.6}}._statText_19me7_136{font-style:italic}@media (min-width: 625px){._group_19me7_1{grid-template-columns:repeat(min(var(--promos),3),1fr)}}
@@ -3,35 +3,35 @@ import { jsx as s, jsxs as c } from "react/jsx-runtime";
3
3
  import t from "../Button/Button.js";
4
4
  import { c as m } from "../../index-BIlioXmW.js";
5
5
  import { useFadeIn as l } from "../../hooks/useFadeIn.js";
6
- import b from "../../utils/parse.js";
7
- import '../../assets/ImageTextBlock.css';const h = "_container_z7nbd_1", v = "_header_z7nbd_8", f = "_content_z7nbd_30", z = "_body_z7nbd_36", N = "_ctas_z7nbd_56", g = "_image_z7nbd_60", p = "_block_z7nbd_71", k = "_reverse_z7nbd_71", e = {
6
+ import p from "../../utils/parse.js";
7
+ import '../../assets/ImageTextBlock.css';const h = "_container_iwa4p_1", v = "_header_iwa4p_8", f = "_content_iwa4p_30", b = "_body_iwa4p_36", w = "_ctas_iwa4p_56", N = "_image_iwa4p_60", g = "_block_iwa4p_67", k = "_reverse_iwa4p_67", e = {
8
8
  container: h,
9
9
  header: v,
10
10
  content: f,
11
- body: z,
12
- ctas: N,
13
- image: g,
14
- block: p,
11
+ body: b,
12
+ ctas: w,
13
+ image: N,
14
+ block: g,
15
15
  reverse: k
16
16
  }, I = ({
17
- image: r,
18
- header: a,
19
- body: d,
20
- primaryCta: n,
17
+ image: n,
18
+ header: r,
19
+ body: i,
20
+ primaryCta: a,
21
21
  secondaryCta: o,
22
- reverse: i
22
+ reverse: _
23
23
  }) => {
24
- const _ = l();
25
- return /* @__PURE__ */ s("div", { className: m(e.block, i && e.reverse), children: /* @__PURE__ */ c("div", { className: e.container, children: [
26
- /* @__PURE__ */ c("div", { className: e.content, ref: _, children: [
27
- /* @__PURE__ */ s("h2", { className: e.header, children: a }),
28
- /* @__PURE__ */ s("div", { className: e.body, children: b(d) }),
24
+ const d = l();
25
+ return /* @__PURE__ */ s("div", { className: m(e.block, _ && e.reverse), children: /* @__PURE__ */ c("div", { className: e.container, children: [
26
+ /* @__PURE__ */ c("div", { className: e.content, ref: d, children: [
27
+ /* @__PURE__ */ s("h2", { className: e.header, children: r }),
28
+ /* @__PURE__ */ s("div", { className: e.body, children: p(i) }),
29
29
  /* @__PURE__ */ c("div", { className: e.ctas, children: [
30
- n && /* @__PURE__ */ s(t, { ...n }),
30
+ a && /* @__PURE__ */ s(t, { ...a }),
31
31
  o && /* @__PURE__ */ s(t, { ...o })
32
32
  ] })
33
33
  ] }),
34
- /* @__PURE__ */ s("div", { className: e.image, children: /* @__PURE__ */ s("img", { src: r }) })
34
+ /* @__PURE__ */ s("div", { className: e.image, children: /* @__PURE__ */ s("img", { src: n }) })
35
35
  ] }) });
36
36
  };
37
37
  export {
@@ -1,446 +1,63 @@
1
1
  "use client";
2
- import { jsxs as N, jsx as p } from "react/jsx-runtime";
3
- import D, { useRef as w, useState as S, useEffect as M } from "react";
4
- import L from "../MenuButton/MenuButton.js";
2
+ import { jsxs as u, jsx as e } from "react/jsx-runtime";
3
+ import { useRef as g, useState as _, useEffect as f } from "react";
4
+ import h from "../MenuButton/MenuButton.js";
5
+ import { r as p } from "../../index-DyQs5aC7.js";
5
6
  import k from "../Overlay/Overlay.js";
6
- import { c as A } from "../../index-BIlioXmW.js";
7
- import '../../assets/Navbar.css';var O = { exports: {} }, l = {};
8
- /**
9
- * @license React
10
- * react-dom.production.js
11
- *
12
- * Copyright (c) Meta Platforms, Inc. and affiliates.
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
- var E;
18
- function P() {
19
- if (E) return l;
20
- E = 1;
21
- var c = D;
22
- function _(n) {
23
- var r = "https://react.dev/errors/" + n;
24
- if (1 < arguments.length) {
25
- r += "?args[]=" + encodeURIComponent(arguments[1]);
26
- for (var i = 2; i < arguments.length; i++)
27
- r += "&args[]=" + encodeURIComponent(arguments[i]);
28
- }
29
- return "Minified React error #" + n + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
30
- }
31
- function f() {
32
- }
33
- var o = {
34
- d: {
35
- f,
36
- r: function() {
37
- throw Error(_(522));
38
- },
39
- D: f,
40
- C: f,
41
- L: f,
42
- m: f,
43
- X: f,
44
- S: f,
45
- M: f
46
- },
47
- p: 0,
48
- findDOMNode: null
49
- }, s = Symbol.for("react.portal");
50
- function g(n, r, i) {
51
- var t = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
52
- return {
53
- $$typeof: s,
54
- key: t == null ? null : "" + t,
55
- children: n,
56
- containerInfo: r,
57
- implementation: i
58
- };
59
- }
60
- var d = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
61
- function m(n, r) {
62
- if (n === "font") return "";
63
- if (typeof r == "string")
64
- return r === "use-credentials" ? r : "";
65
- }
66
- return l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, l.createPortal = function(n, r) {
67
- var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
68
- if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11)
69
- throw Error(_(299));
70
- return g(n, r, null, i);
71
- }, l.flushSync = function(n) {
72
- var r = d.T, i = o.p;
73
- try {
74
- if (d.T = null, o.p = 2, n) return n();
75
- } finally {
76
- d.T = r, o.p = i, o.d.f();
77
- }
78
- }, l.preconnect = function(n, r) {
79
- typeof n == "string" && (r ? (r = r.crossOrigin, r = typeof r == "string" ? r === "use-credentials" ? r : "" : void 0) : r = null, o.d.C(n, r));
80
- }, l.prefetchDNS = function(n) {
81
- typeof n == "string" && o.d.D(n);
82
- }, l.preinit = function(n, r) {
83
- if (typeof n == "string" && r && typeof r.as == "string") {
84
- var i = r.as, t = m(i, r.crossOrigin), e = typeof r.integrity == "string" ? r.integrity : void 0, a = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0;
85
- i === "style" ? o.d.S(
86
- n,
87
- typeof r.precedence == "string" ? r.precedence : void 0,
88
- {
89
- crossOrigin: t,
90
- integrity: e,
91
- fetchPriority: a
92
- }
93
- ) : i === "script" && o.d.X(n, {
94
- crossOrigin: t,
95
- integrity: e,
96
- fetchPriority: a,
97
- nonce: typeof r.nonce == "string" ? r.nonce : void 0
98
- });
99
- }
100
- }, l.preinitModule = function(n, r) {
101
- if (typeof n == "string")
102
- if (typeof r == "object" && r !== null) {
103
- if (r.as == null || r.as === "script") {
104
- var i = m(
105
- r.as,
106
- r.crossOrigin
107
- );
108
- o.d.M(n, {
109
- crossOrigin: i,
110
- integrity: typeof r.integrity == "string" ? r.integrity : void 0,
111
- nonce: typeof r.nonce == "string" ? r.nonce : void 0
112
- });
113
- }
114
- } else r == null && o.d.M(n);
115
- }, l.preload = function(n, r) {
116
- if (typeof n == "string" && typeof r == "object" && r !== null && typeof r.as == "string") {
117
- var i = r.as, t = m(i, r.crossOrigin);
118
- o.d.L(n, i, {
119
- crossOrigin: t,
120
- integrity: typeof r.integrity == "string" ? r.integrity : void 0,
121
- nonce: typeof r.nonce == "string" ? r.nonce : void 0,
122
- type: typeof r.type == "string" ? r.type : void 0,
123
- fetchPriority: typeof r.fetchPriority == "string" ? r.fetchPriority : void 0,
124
- referrerPolicy: typeof r.referrerPolicy == "string" ? r.referrerPolicy : void 0,
125
- imageSrcSet: typeof r.imageSrcSet == "string" ? r.imageSrcSet : void 0,
126
- imageSizes: typeof r.imageSizes == "string" ? r.imageSizes : void 0,
127
- media: typeof r.media == "string" ? r.media : void 0
128
- });
129
- }
130
- }, l.preloadModule = function(n, r) {
131
- if (typeof n == "string")
132
- if (r) {
133
- var i = m(r.as, r.crossOrigin);
134
- o.d.m(n, {
135
- as: typeof r.as == "string" && r.as !== "script" ? r.as : void 0,
136
- crossOrigin: i,
137
- integrity: typeof r.integrity == "string" ? r.integrity : void 0
138
- });
139
- } else o.d.m(n);
140
- }, l.requestFormReset = function(n) {
141
- o.d.r(n);
142
- }, l.unstable_batchedUpdates = function(n, r) {
143
- return n(r);
144
- }, l.useFormState = function(n, r, i) {
145
- return d.H.useFormState(n, r, i);
146
- }, l.useFormStatus = function() {
147
- return d.H.useHostTransitionStatus();
148
- }, l.version = "19.2.0", l;
149
- }
150
- var u = {};
151
- /**
152
- * @license React
153
- * react-dom.development.js
154
- *
155
- * Copyright (c) Meta Platforms, Inc. and affiliates.
156
- *
157
- * This source code is licensed under the MIT license found in the
158
- * LICENSE file in the root directory of this source tree.
159
- */
160
- var T;
161
- function C() {
162
- return T || (T = 1, process.env.NODE_ENV !== "production" && (function() {
163
- function c() {
164
- }
165
- function _(t) {
166
- return "" + t;
167
- }
168
- function f(t, e, a) {
169
- var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
170
- try {
171
- _(y);
172
- var h = !1;
173
- } catch {
174
- h = !0;
175
- }
176
- return h && (console.error(
177
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
178
- typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
179
- ), _(y)), {
180
- $$typeof: r,
181
- key: y == null ? null : "" + y,
182
- children: t,
183
- containerInfo: e,
184
- implementation: a
185
- };
186
- }
187
- function o(t, e) {
188
- if (t === "font") return "";
189
- if (typeof e == "string")
190
- return e === "use-credentials" ? e : "";
191
- }
192
- function s(t) {
193
- return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : 'something with type "' + typeof t + '"';
194
- }
195
- function g(t) {
196
- return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : typeof t == "string" ? JSON.stringify(t) : typeof t == "number" ? "`" + t + "`" : 'something with type "' + typeof t + '"';
197
- }
198
- function d() {
199
- var t = i.H;
200
- return t === null && console.error(
201
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
202
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
203
- 2. You might be breaking the Rules of Hooks
204
- 3. You might have more than one copy of React in the same app
205
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
206
- ), t;
207
- }
208
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
209
- var m = D, n = {
210
- d: {
211
- f: c,
212
- r: function() {
213
- throw Error(
214
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
215
- );
216
- },
217
- D: c,
218
- C: c,
219
- L: c,
220
- m: c,
221
- X: c,
222
- S: c,
223
- M: c
224
- },
225
- p: 0,
226
- findDOMNode: null
227
- }, r = Symbol.for("react.portal"), i = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
228
- typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
229
- "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
230
- ), u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, u.createPortal = function(t, e) {
231
- var a = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
232
- if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
233
- throw Error("Target container is not a DOM element.");
234
- return f(t, e, null, a);
235
- }, u.flushSync = function(t) {
236
- var e = i.T, a = n.p;
237
- try {
238
- if (i.T = null, n.p = 2, t)
239
- return t();
240
- } finally {
241
- i.T = e, n.p = a, n.d.f() && console.error(
242
- "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
243
- );
244
- }
245
- }, u.preconnect = function(t, e) {
246
- typeof t == "string" && t ? e != null && typeof e != "object" ? console.error(
247
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
248
- g(e)
249
- ) : e != null && typeof e.crossOrigin != "string" && console.error(
250
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
251
- s(e.crossOrigin)
252
- ) : console.error(
253
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
254
- s(t)
255
- ), typeof t == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(t, e));
256
- }, u.prefetchDNS = function(t) {
257
- if (typeof t != "string" || !t)
258
- console.error(
259
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
260
- s(t)
261
- );
262
- else if (1 < arguments.length) {
263
- var e = arguments[1];
264
- typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
265
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
266
- g(e)
267
- ) : console.error(
268
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
269
- g(e)
270
- );
271
- }
272
- typeof t == "string" && n.d.D(t);
273
- }, u.preinit = function(t, e) {
274
- if (typeof t == "string" && t ? e == null || typeof e != "object" ? console.error(
275
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
276
- g(e)
277
- ) : e.as !== "style" && e.as !== "script" && console.error(
278
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
279
- g(e.as)
280
- ) : console.error(
281
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
282
- s(t)
283
- ), typeof t == "string" && e && typeof e.as == "string") {
284
- var a = e.as, y = o(a, e.crossOrigin), h = typeof e.integrity == "string" ? e.integrity : void 0, b = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
285
- a === "style" ? n.d.S(
286
- t,
287
- typeof e.precedence == "string" ? e.precedence : void 0,
288
- {
289
- crossOrigin: y,
290
- integrity: h,
291
- fetchPriority: b
292
- }
293
- ) : a === "script" && n.d.X(t, {
294
- crossOrigin: y,
295
- integrity: h,
296
- fetchPriority: b,
297
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
298
- });
299
- }
300
- }, u.preinitModule = function(t, e) {
301
- var a = "";
302
- if (typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && e.as !== "script" && (a += " The `as` option encountered was " + g(e.as) + "."), a)
303
- console.error(
304
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
305
- a
306
- );
307
- else
308
- switch (a = e && typeof e.as == "string" ? e.as : "script", a) {
309
- case "script":
310
- break;
311
- default:
312
- a = g(a), console.error(
313
- 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
314
- a,
315
- t
316
- );
317
- }
318
- typeof t == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (a = o(
319
- e.as,
320
- e.crossOrigin
321
- ), n.d.M(t, {
322
- crossOrigin: a,
323
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
324
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
325
- })) : e == null && n.d.M(t));
326
- }, u.preload = function(t, e) {
327
- var a = "";
328
- if (typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e == null || typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : typeof e.as == "string" && e.as || (a += " The `as` option encountered was " + s(e.as) + "."), a && console.error(
329
- 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
330
- a
331
- ), typeof t == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
332
- a = e.as;
333
- var y = o(
334
- a,
335
- e.crossOrigin
336
- );
337
- n.d.L(t, a, {
338
- crossOrigin: y,
339
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
340
- nonce: typeof e.nonce == "string" ? e.nonce : void 0,
341
- type: typeof e.type == "string" ? e.type : void 0,
342
- fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
343
- referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
344
- imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
345
- imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
346
- media: typeof e.media == "string" ? e.media : void 0
347
- });
348
- }
349
- }, u.preloadModule = function(t, e) {
350
- var a = "";
351
- typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && typeof e.as != "string" && (a += " The `as` option encountered was " + s(e.as) + "."), a && console.error(
352
- 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
353
- a
354
- ), typeof t == "string" && (e ? (a = o(
355
- e.as,
356
- e.crossOrigin
357
- ), n.d.m(t, {
358
- as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
359
- crossOrigin: a,
360
- integrity: typeof e.integrity == "string" ? e.integrity : void 0
361
- })) : n.d.m(t));
362
- }, u.requestFormReset = function(t) {
363
- n.d.r(t);
364
- }, u.unstable_batchedUpdates = function(t, e) {
365
- return t(e);
366
- }, u.useFormState = function(t, e, a) {
367
- return d().useFormState(t, e, a);
368
- }, u.useFormStatus = function() {
369
- return d().useHostTransitionStatus();
370
- }, u.version = "19.2.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
371
- })()), u;
372
- }
373
- var R;
374
- function x() {
375
- if (R) return O.exports;
376
- R = 1;
377
- function c() {
378
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
379
- if (process.env.NODE_ENV !== "production")
380
- throw new Error("^_^");
381
- try {
382
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c);
383
- } catch (_) {
384
- console.error(_);
385
- }
386
- }
387
- }
388
- return process.env.NODE_ENV === "production" ? (c(), O.exports = P()) : O.exports = C(), O.exports;
389
- }
390
- var q = x();
391
- const I = "_navbar_q8q5k_1", j = "_hide_q8q5k_17", H = "_navbar__logo_q8q5k_21", U = "_navbar__links_q8q5k_30", V = "_navbar__link_q8q5k_30", F = "_navbar__mobileDialog_q8q5k_42", G = "_navbar__toggle_q8q5k_50", v = {
392
- navbar: I,
393
- hide: j,
394
- navbar__logo: H,
395
- navbar__links: U,
396
- navbar__link: V,
397
- navbar__mobileDialog: F,
398
- navbar__toggle: G
399
- }, Y = {}, X = ({ links: c, logoImage: _, color: f }) => {
400
- const o = w(0), [s, g] = S("up"), [d, m] = S(!1), n = () => {
401
- let i = d ? "unset" : "hidden";
402
- document.body.style.overflow = i, m(!d);
403
- }, r = () => {
404
- const i = window.scrollY;
405
- i - o.current !== 0 && g(i > o.current ? "down" : "up"), o.current = i > 0 ? i : 0;
7
+ import { c as q } from "../../index-BIlioXmW.js";
8
+ import '../../assets/Navbar.css';const w = "_navbar_q8q5k_1", N = "_hide_q8q5k_17", D = "_navbar__logo_q8q5k_21", y = "_navbar__links_q8q5k_30", x = "_navbar__link_q8q5k_30", E = "_navbar__mobileDialog_q8q5k_42", O = "_navbar__toggle_q8q5k_50", n = {
9
+ navbar: w,
10
+ hide: N,
11
+ navbar__logo: D,
12
+ navbar__links: y,
13
+ navbar__link: x,
14
+ navbar__mobileDialog: E,
15
+ navbar__toggle: O
16
+ }, S = {}, L = ({ links: l, logoImage: c, color: i }) => {
17
+ const o = g(0), [v, b] = _("up"), [r, s] = _(!1), d = () => {
18
+ let a = r ? "unset" : "hidden";
19
+ document.body.style.overflow = a, s(!r);
20
+ }, t = () => {
21
+ const a = window.scrollY;
22
+ a - o.current !== 0 && b(a > o.current ? "down" : "up"), o.current = a > 0 ? a : 0;
406
23
  };
407
- return M(() => (window.addEventListener("scroll", r), () => window.removeEventListener("scroll", r)), []), /* @__PURE__ */ N(
24
+ return f(() => (window.addEventListener("scroll", t), () => window.removeEventListener("scroll", t)), []), /* @__PURE__ */ u(
408
25
  "nav",
409
26
  {
410
- "data-color": f,
411
- className: A(
412
- v.navbar,
27
+ "data-color": i,
28
+ className: q(
29
+ n.navbar,
413
30
  // background && styles.background,
414
- d && v.open,
415
- s === "down" && v.hide
31
+ r && n.open,
32
+ v === "down" && n.hide
416
33
  ),
417
34
  children: [
418
- /* @__PURE__ */ p("a", { className: v.navbar__logo, href: "/", children: /* @__PURE__ */ p("img", { src: _ }) }),
419
- /* @__PURE__ */ p("div", { className: v.navbar__toggle, children: /* @__PURE__ */ p(L, { clickFn: n, isOpen: d }) }),
420
- /* @__PURE__ */ p("div", { className: v.navbar__links, children: c.map((i, t) => /* @__PURE__ */ p(
35
+ /* @__PURE__ */ e("a", { className: n.navbar__logo, href: "/", children: /* @__PURE__ */ e("img", { src: c }) }),
36
+ /* @__PURE__ */ e("div", { className: n.navbar__toggle, children: /* @__PURE__ */ e(h, { clickFn: d, isOpen: r }) }),
37
+ /* @__PURE__ */ e("div", { className: n.navbar__links, children: l.map((a, m) => /* @__PURE__ */ e(
421
38
  "a",
422
39
  {
423
- className: `${v.navbar__link}`,
424
- href: i.value,
425
- children: i.label
40
+ className: `${n.navbar__link}`,
41
+ href: a.value,
42
+ children: a.label
426
43
  },
427
- `navbar-d-${i.value}`
44
+ `navbar-d-${a.value}`
428
45
  )) }),
429
- d && q.createPortal(
430
- /* @__PURE__ */ p(
46
+ r && p.createPortal(
47
+ /* @__PURE__ */ e(
431
48
  k,
432
49
  {
433
- closeFn: () => m(!1),
50
+ closeFn: () => s(!1),
434
51
  hideClose: !0,
435
- background: Y.neutralDark,
436
- children: /* @__PURE__ */ p("div", { className: v.navbar__mobileDialog, children: c.map((i, t) => /* @__PURE__ */ p(
52
+ background: S.neutralDark,
53
+ children: /* @__PURE__ */ e("div", { className: n.navbar__mobileDialog, children: l.map((a, m) => /* @__PURE__ */ e(
437
54
  "a",
438
55
  {
439
- className: v.navbar__link,
440
- href: i.value,
441
- children: i.label
56
+ className: n.navbar__link,
57
+ href: a.value,
58
+ children: a.label
442
59
  },
443
- `m-${i.value}`
60
+ `m-${a.value}`
444
61
  )) })
445
62
  }
446
63
  ),
@@ -451,5 +68,5 @@ const I = "_navbar_q8q5k_1", j = "_hide_q8q5k_17", H = "_navbar__logo_q8q5k_21",
451
68
  );
452
69
  };
453
70
  export {
454
- X as default
71
+ L as default
455
72
  };
@@ -1,13 +1,45 @@
1
1
  "use client";
2
- import { jsxs as m, Fragment as t, jsx as r } from "react/jsx-runtime";
3
- import { Children as d, Fragment as c } from "react";
4
- import '../../assets/PromoGroup.css';const h = "_group_fnbmk_1", l = "_header_fnbmk_8", e = {
5
- group: h,
6
- header: l
7
- }, g = ({ header: o, children: a }) => /* @__PURE__ */ m(t, { children: [
8
- /* @__PURE__ */ r("h2", { className: e.header, children: o }),
9
- /* @__PURE__ */ r("div", { className: e.group, children: d.map(a, (n, s) => /* @__PURE__ */ r(c, { children: n }, s)) })
2
+ import { jsxs as s, Fragment as i, jsx as a } from "react/jsx-runtime";
3
+ import "react";
4
+ import "../../index-BlCqcUwj.js";
5
+ import l from "../Button/Button.js";
6
+ import "../../index-BIlioXmW.js";
7
+ import "../../hooks/useFadeIn.js";
8
+ import "../../index-DyQs5aC7.js";
9
+ import '../../assets/PromoGroup.css';const d = "_group_19me7_1", n = "_header_19me7_21", h = "_promo_19me7_43", p = "_image_19me7_87", g = "_promo__header_19me7_92", N = "_cta_19me7_101", u = "_promo__body_19me7_114", y = "_stat_19me7_126", x = "_statText_19me7_136", t = {
10
+ group: d,
11
+ header: n,
12
+ promo: h,
13
+ image: p,
14
+ promo__header: g,
15
+ cta: N,
16
+ promo__body: u,
17
+ stat: y,
18
+ statText: x
19
+ }, B = ({ header: m, promos: c }) => /* @__PURE__ */ s(i, { children: [
20
+ /* @__PURE__ */ a("h2", { className: t.header, children: m }),
21
+ /* @__PURE__ */ a("div", { className: t.group, style: { "--promos": c.length }, children: c.map((e, o) => /* @__PURE__ */ s(
22
+ "div",
23
+ {
24
+ delay: 0.1 * o,
25
+ className: t.promo,
26
+ "data-color": e.color,
27
+ "data-text-align": e.textAlign,
28
+ children: [
29
+ e.icon && /* @__PURE__ */ a("span", { className: "material-symbols-outlined", children: e.icon }),
30
+ e.image && /* @__PURE__ */ a("img", { className: t.image, src: e.image }),
31
+ e.header && /* @__PURE__ */ a("h3", { className: t.promo__header, children: e.header }),
32
+ /* @__PURE__ */ a("p", { className: t.promo__body, children: e.body }),
33
+ e.cta && /* @__PURE__ */ a("div", { className: t.cta, children: /* @__PURE__ */ a(l, { ...e.cta }) }),
34
+ e.stats && /* @__PURE__ */ a("div", { className: t.stats, children: e.stats.map((r, _) => /* @__PURE__ */ s("div", { className: t.stat, children: [
35
+ /* @__PURE__ */ a("span", { className: "material-symbols-outlined", children: r.icon }),
36
+ /* @__PURE__ */ a("span", { className: t.statText, children: r.text })
37
+ ] }, `stat-${_}`)) })
38
+ ]
39
+ },
40
+ `promo-${o}`
41
+ )) })
10
42
  ] });
11
43
  export {
12
- g as default
44
+ B as default
13
45
  };
@@ -0,0 +1,388 @@
1
+ import E from "react";
2
+ var O = { exports: {} }, c = {};
3
+ /**
4
+ * @license React
5
+ * react-dom.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and 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 h;
13
+ function R() {
14
+ if (h) return c;
15
+ h = 1;
16
+ var d = E;
17
+ function p(n) {
18
+ var r = "https://react.dev/errors/" + n;
19
+ if (1 < arguments.length) {
20
+ r += "?args[]=" + encodeURIComponent(arguments[1]);
21
+ for (var a = 2; a < arguments.length; a++)
22
+ r += "&args[]=" + encodeURIComponent(arguments[a]);
23
+ }
24
+ return "Minified React error #" + n + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
25
+ }
26
+ function f() {
27
+ }
28
+ var o = {
29
+ d: {
30
+ f,
31
+ r: function() {
32
+ throw Error(p(522));
33
+ },
34
+ D: f,
35
+ C: f,
36
+ L: f,
37
+ m: f,
38
+ X: f,
39
+ S: f,
40
+ M: f
41
+ },
42
+ p: 0,
43
+ findDOMNode: null
44
+ }, u = Symbol.for("react.portal");
45
+ function g(n, r, a) {
46
+ var t = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
47
+ return {
48
+ $$typeof: u,
49
+ key: t == null ? null : "" + t,
50
+ children: n,
51
+ containerInfo: r,
52
+ implementation: a
53
+ };
54
+ }
55
+ var y = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
56
+ function m(n, r) {
57
+ if (n === "font") return "";
58
+ if (typeof r == "string")
59
+ return r === "use-credentials" ? r : "";
60
+ }
61
+ return c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, c.createPortal = function(n, r) {
62
+ var a = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
63
+ if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11)
64
+ throw Error(p(299));
65
+ return g(n, r, null, a);
66
+ }, c.flushSync = function(n) {
67
+ var r = y.T, a = o.p;
68
+ try {
69
+ if (y.T = null, o.p = 2, n) return n();
70
+ } finally {
71
+ y.T = r, o.p = a, o.d.f();
72
+ }
73
+ }, c.preconnect = function(n, r) {
74
+ typeof n == "string" && (r ? (r = r.crossOrigin, r = typeof r == "string" ? r === "use-credentials" ? r : "" : void 0) : r = null, o.d.C(n, r));
75
+ }, c.prefetchDNS = function(n) {
76
+ typeof n == "string" && o.d.D(n);
77
+ }, c.preinit = function(n, r) {
78
+ if (typeof n == "string" && r && typeof r.as == "string") {
79
+ var a = r.as, t = m(a, r.crossOrigin), e = typeof r.integrity == "string" ? r.integrity : void 0, i = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0;
80
+ a === "style" ? o.d.S(
81
+ n,
82
+ typeof r.precedence == "string" ? r.precedence : void 0,
83
+ {
84
+ crossOrigin: t,
85
+ integrity: e,
86
+ fetchPriority: i
87
+ }
88
+ ) : a === "script" && o.d.X(n, {
89
+ crossOrigin: t,
90
+ integrity: e,
91
+ fetchPriority: i,
92
+ nonce: typeof r.nonce == "string" ? r.nonce : void 0
93
+ });
94
+ }
95
+ }, c.preinitModule = function(n, r) {
96
+ if (typeof n == "string")
97
+ if (typeof r == "object" && r !== null) {
98
+ if (r.as == null || r.as === "script") {
99
+ var a = m(
100
+ r.as,
101
+ r.crossOrigin
102
+ );
103
+ o.d.M(n, {
104
+ crossOrigin: a,
105
+ integrity: typeof r.integrity == "string" ? r.integrity : void 0,
106
+ nonce: typeof r.nonce == "string" ? r.nonce : void 0
107
+ });
108
+ }
109
+ } else r == null && o.d.M(n);
110
+ }, c.preload = function(n, r) {
111
+ if (typeof n == "string" && typeof r == "object" && r !== null && typeof r.as == "string") {
112
+ var a = r.as, t = m(a, r.crossOrigin);
113
+ o.d.L(n, a, {
114
+ crossOrigin: t,
115
+ integrity: typeof r.integrity == "string" ? r.integrity : void 0,
116
+ nonce: typeof r.nonce == "string" ? r.nonce : void 0,
117
+ type: typeof r.type == "string" ? r.type : void 0,
118
+ fetchPriority: typeof r.fetchPriority == "string" ? r.fetchPriority : void 0,
119
+ referrerPolicy: typeof r.referrerPolicy == "string" ? r.referrerPolicy : void 0,
120
+ imageSrcSet: typeof r.imageSrcSet == "string" ? r.imageSrcSet : void 0,
121
+ imageSizes: typeof r.imageSizes == "string" ? r.imageSizes : void 0,
122
+ media: typeof r.media == "string" ? r.media : void 0
123
+ });
124
+ }
125
+ }, c.preloadModule = function(n, r) {
126
+ if (typeof n == "string")
127
+ if (r) {
128
+ var a = m(r.as, r.crossOrigin);
129
+ o.d.m(n, {
130
+ as: typeof r.as == "string" && r.as !== "script" ? r.as : void 0,
131
+ crossOrigin: a,
132
+ integrity: typeof r.integrity == "string" ? r.integrity : void 0
133
+ });
134
+ } else o.d.m(n);
135
+ }, c.requestFormReset = function(n) {
136
+ o.d.r(n);
137
+ }, c.unstable_batchedUpdates = function(n, r) {
138
+ return n(r);
139
+ }, c.useFormState = function(n, r, a) {
140
+ return y.H.useFormState(n, r, a);
141
+ }, c.useFormStatus = function() {
142
+ return y.H.useHostTransitionStatus();
143
+ }, c.version = "19.2.0", c;
144
+ }
145
+ var s = {};
146
+ /**
147
+ * @license React
148
+ * react-dom.development.js
149
+ *
150
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
151
+ *
152
+ * This source code is licensed under the MIT license found in the
153
+ * LICENSE file in the root directory of this source tree.
154
+ */
155
+ var S;
156
+ function D() {
157
+ return S || (S = 1, process.env.NODE_ENV !== "production" && (function() {
158
+ function d() {
159
+ }
160
+ function p(t) {
161
+ return "" + t;
162
+ }
163
+ function f(t, e, i) {
164
+ var l = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
165
+ try {
166
+ p(l);
167
+ var _ = !1;
168
+ } catch {
169
+ _ = !0;
170
+ }
171
+ return _ && (console.error(
172
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
173
+ typeof Symbol == "function" && Symbol.toStringTag && l[Symbol.toStringTag] || l.constructor.name || "Object"
174
+ ), p(l)), {
175
+ $$typeof: r,
176
+ key: l == null ? null : "" + l,
177
+ children: t,
178
+ containerInfo: e,
179
+ implementation: i
180
+ };
181
+ }
182
+ function o(t, e) {
183
+ if (t === "font") return "";
184
+ if (typeof e == "string")
185
+ return e === "use-credentials" ? e : "";
186
+ }
187
+ function u(t) {
188
+ return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : 'something with type "' + typeof t + '"';
189
+ }
190
+ function g(t) {
191
+ return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : typeof t == "string" ? JSON.stringify(t) : typeof t == "number" ? "`" + t + "`" : 'something with type "' + typeof t + '"';
192
+ }
193
+ function y() {
194
+ var t = a.H;
195
+ return t === null && console.error(
196
+ `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
197
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
198
+ 2. You might be breaking the Rules of Hooks
199
+ 3. You might have more than one copy of React in the same app
200
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
201
+ ), t;
202
+ }
203
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
204
+ var m = E, n = {
205
+ d: {
206
+ f: d,
207
+ r: function() {
208
+ throw Error(
209
+ "Invalid form element. requestFormReset must be passed a form that was rendered by React."
210
+ );
211
+ },
212
+ D: d,
213
+ C: d,
214
+ L: d,
215
+ m: d,
216
+ X: d,
217
+ S: d,
218
+ M: d
219
+ },
220
+ p: 0,
221
+ findDOMNode: null
222
+ }, r = Symbol.for("react.portal"), a = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
223
+ typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
224
+ "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
225
+ ), s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, s.createPortal = function(t, e) {
226
+ var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
227
+ if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
228
+ throw Error("Target container is not a DOM element.");
229
+ return f(t, e, null, i);
230
+ }, s.flushSync = function(t) {
231
+ var e = a.T, i = n.p;
232
+ try {
233
+ if (a.T = null, n.p = 2, t)
234
+ return t();
235
+ } finally {
236
+ a.T = e, n.p = i, n.d.f() && console.error(
237
+ "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
238
+ );
239
+ }
240
+ }, s.preconnect = function(t, e) {
241
+ typeof t == "string" && t ? e != null && typeof e != "object" ? console.error(
242
+ "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
243
+ g(e)
244
+ ) : e != null && typeof e.crossOrigin != "string" && console.error(
245
+ "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
246
+ u(e.crossOrigin)
247
+ ) : console.error(
248
+ "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
249
+ u(t)
250
+ ), typeof t == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(t, e));
251
+ }, s.prefetchDNS = function(t) {
252
+ if (typeof t != "string" || !t)
253
+ console.error(
254
+ "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
255
+ u(t)
256
+ );
257
+ else if (1 < arguments.length) {
258
+ var e = arguments[1];
259
+ typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
260
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
261
+ g(e)
262
+ ) : console.error(
263
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
264
+ g(e)
265
+ );
266
+ }
267
+ typeof t == "string" && n.d.D(t);
268
+ }, s.preinit = function(t, e) {
269
+ if (typeof t == "string" && t ? e == null || typeof e != "object" ? console.error(
270
+ "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
271
+ g(e)
272
+ ) : e.as !== "style" && e.as !== "script" && console.error(
273
+ 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
274
+ g(e.as)
275
+ ) : console.error(
276
+ "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
277
+ u(t)
278
+ ), typeof t == "string" && e && typeof e.as == "string") {
279
+ var i = e.as, l = o(i, e.crossOrigin), _ = typeof e.integrity == "string" ? e.integrity : void 0, v = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
280
+ i === "style" ? n.d.S(
281
+ t,
282
+ typeof e.precedence == "string" ? e.precedence : void 0,
283
+ {
284
+ crossOrigin: l,
285
+ integrity: _,
286
+ fetchPriority: v
287
+ }
288
+ ) : i === "script" && n.d.X(t, {
289
+ crossOrigin: l,
290
+ integrity: _,
291
+ fetchPriority: v,
292
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0
293
+ });
294
+ }
295
+ }, s.preinitModule = function(t, e) {
296
+ var i = "";
297
+ if (typeof t == "string" && t || (i += " The `href` argument encountered was " + u(t) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + u(e) + "." : e && "as" in e && e.as !== "script" && (i += " The `as` option encountered was " + g(e.as) + "."), i)
298
+ console.error(
299
+ "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
300
+ i
301
+ );
302
+ else
303
+ switch (i = e && typeof e.as == "string" ? e.as : "script", i) {
304
+ case "script":
305
+ break;
306
+ default:
307
+ i = g(i), console.error(
308
+ 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
309
+ i,
310
+ t
311
+ );
312
+ }
313
+ typeof t == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (i = o(
314
+ e.as,
315
+ e.crossOrigin
316
+ ), n.d.M(t, {
317
+ crossOrigin: i,
318
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0,
319
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0
320
+ })) : e == null && n.d.M(t));
321
+ }, s.preload = function(t, e) {
322
+ var i = "";
323
+ if (typeof t == "string" && t || (i += " The `href` argument encountered was " + u(t) + "."), e == null || typeof e != "object" ? i += " The `options` argument encountered was " + u(e) + "." : typeof e.as == "string" && e.as || (i += " The `as` option encountered was " + u(e.as) + "."), i && console.error(
324
+ 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
325
+ i
326
+ ), typeof t == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
327
+ i = e.as;
328
+ var l = o(
329
+ i,
330
+ e.crossOrigin
331
+ );
332
+ n.d.L(t, i, {
333
+ crossOrigin: l,
334
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0,
335
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0,
336
+ type: typeof e.type == "string" ? e.type : void 0,
337
+ fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
338
+ referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
339
+ imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
340
+ imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
341
+ media: typeof e.media == "string" ? e.media : void 0
342
+ });
343
+ }
344
+ }, s.preloadModule = function(t, e) {
345
+ var i = "";
346
+ typeof t == "string" && t || (i += " The `href` argument encountered was " + u(t) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + u(e) + "." : e && "as" in e && typeof e.as != "string" && (i += " The `as` option encountered was " + u(e.as) + "."), i && console.error(
347
+ 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
348
+ i
349
+ ), typeof t == "string" && (e ? (i = o(
350
+ e.as,
351
+ e.crossOrigin
352
+ ), n.d.m(t, {
353
+ as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
354
+ crossOrigin: i,
355
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0
356
+ })) : n.d.m(t));
357
+ }, s.requestFormReset = function(t) {
358
+ n.d.r(t);
359
+ }, s.unstable_batchedUpdates = function(t, e) {
360
+ return t(e);
361
+ }, s.useFormState = function(t, e, i) {
362
+ return y().useFormState(t, e, i);
363
+ }, s.useFormStatus = function() {
364
+ return y().useHostTransitionStatus();
365
+ }, s.version = "19.2.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
366
+ })()), s;
367
+ }
368
+ var T;
369
+ function b() {
370
+ if (T) return O.exports;
371
+ T = 1;
372
+ function d() {
373
+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
374
+ if (process.env.NODE_ENV !== "production")
375
+ throw new Error("^_^");
376
+ try {
377
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d);
378
+ } catch (p) {
379
+ console.error(p);
380
+ }
381
+ }
382
+ }
383
+ return process.env.NODE_ENV === "production" ? (d(), O.exports = R()) : O.exports = D(), O.exports;
384
+ }
385
+ var N = b();
386
+ export {
387
+ N as r
388
+ };
package/dist/index.js CHANGED
@@ -9,14 +9,13 @@ import { default as c } from "./components/ImageTextBlock/ImageTextBlock.js";
9
9
  import { default as v } from "./components/List/List.js";
10
10
  import { default as k } from "./components/OverlayHero/OverlayHero.js";
11
11
  import { default as O } from "./components/Note/Note.js";
12
- import { default as F } from "./components/Promo/Promo.js";
13
- import { default as N } from "./components/PromoGroup/PromoGroup.js";
14
- import { default as C } from "./components/MenuButton/MenuButton.js";
15
- import { default as H } from "./components/Navbar/Navbar.js";
16
- import { default as M } from "./components/PinnedImage/PinnedImage.js";
17
- import { default as h } from "./components/IconDetail/IconDetail.js";
18
- import { default as q } from "./components/Overlay/Overlay.js";
19
- import { default as z } from "./components/GenericOverlay/GenericOverlay.js";
12
+ import { default as G } from "./components/PromoGroup/PromoGroup.js";
13
+ import { default as P } from "./components/MenuButton/MenuButton.js";
14
+ import { default as C } from "./components/Navbar/Navbar.js";
15
+ import { default as H } from "./components/PinnedImage/PinnedImage.js";
16
+ import { default as M } from "./components/IconDetail/IconDetail.js";
17
+ import { default as h } from "./components/Overlay/Overlay.js";
18
+ import { default as q } from "./components/GenericOverlay/GenericOverlay.js";
20
19
  export {
21
20
  r as Background,
22
21
  t as Banner,
@@ -25,16 +24,15 @@ export {
25
24
  p as Container,
26
25
  x as Fifty,
27
26
  B as Footer,
28
- z as GenericOverlay,
29
- h as IconDetail,
27
+ q as GenericOverlay,
28
+ M as IconDetail,
30
29
  c as ImageTextBlock,
31
30
  v as List,
32
- C as MenuButton,
33
- H as Navbar,
31
+ P as MenuButton,
32
+ C as Navbar,
34
33
  O as Note,
35
- q as Overlay,
34
+ h as Overlay,
36
35
  k as OverlayHero,
37
- M as PinnedImage,
38
- F as Promo,
39
- N as PromoGroup
36
+ H as PinnedImage,
37
+ G as PromoGroup
40
38
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@courtneyring/components-library",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1 +0,0 @@
1
- ._promo_1fkmj_1{display:flex;flex-direction:column;width:100%;padding:30px}._promo_1fkmj_1[data-color=color-primary-dark]{background-color:var(--color-primary-dark);color:var(--color-white)}._promo_1fkmj_1[data-color=color-primary-medium]{background-color:var(--color-primary-medium);color:var(--color-white)}._promo_1fkmj_1[data-color=color-primary-light]{background-color:var(--color-primary-light);color:var(--color-neutral-dark)}._promo_1fkmj_1[data-color=color-secondary]{background-color:var(--color-secondary);color:var(--color-white)}._promo_1fkmj_1[data-color=color-neutral-dark]{background-color:var(--color-neutral-dark);color:var(--color-white)}._promo_1fkmj_1[data-color=color-neutral-medium]{background-color:var(--color-neutral-medium);color:var(--color-white)}._promo_1fkmj_1[data-color=color-neutral-light]{background-color:var(--color-neutral-light);color:var(--color-neutral-dark)}._promo_1fkmj_1[data-color=color-white]{background-color:var(--color-white);color:var(--color-neutral-dark)}._promo_1fkmj_1[data-text-align=center]{text-align:center;align-items:center}._promo__eyebrow_1fkmj_44{margin-bottom:1rem}._image_1fkmj_48{width:100px;margin:0 auto 20px}._promo__header_1fkmj_53{margin-top:0;margin-bottom:20px;line-height:2.25rem;text-transform:uppercase;letter-spacing:3px;font-size:28px}@media (min-width: 0){._cta_1fkmj_63{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._cta_1fkmj_63{font-size:24px;line-height:1.6}}@media (min-width: 0){._promo__body_1fkmj_76{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._promo__body_1fkmj_76{font-size:24px;line-height:1.6}}._stat_1fkmj_88{display:flex;align-items:center;margin-bottom:5px}._stat_1fkmj_88 span:first-child{margin-right:10px}@media (min-width: 0){._statText_1fkmj_98{font-size:22px;line-height:1.5}}@media (min-width: 1200px){._statText_1fkmj_98{font-size:24px;line-height:1.6}}._statText_1fkmj_98{font-style:italic}
@@ -1,33 +0,0 @@
1
- "use client";
2
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
3
- import i from "../Button/Button.js";
4
- import '../../assets/Promo.css';const p = "_promo_1fkmj_1", h = "_image_1fkmj_48", f = "_promo__header_1fkmj_53", x = "_promo__body_1fkmj_76", j = "_stat_1fkmj_88", N = "_statText_1fkmj_98", s = {
5
- promo: p,
6
- image: h,
7
- promo__header: f,
8
- promo__body: x,
9
- stat: j,
10
- statText: N
11
- }, k = ({ icon: e, header: m, body: c, cta: a, color: n, stats: t, image: r, textAlign: d }) => /* @__PURE__ */ l(
12
- "div",
13
- {
14
- className: ` ${s.promo}`,
15
- href: a?.value,
16
- "data-color": n,
17
- "data-text-align": d,
18
- children: [
19
- e && /* @__PURE__ */ o("span", { className: "material-symbols-outlined", children: e }),
20
- r && /* @__PURE__ */ o("img", { className: s.image, src: r }),
21
- m && /* @__PURE__ */ o("h3", { className: s.promo__header, children: m }),
22
- /* @__PURE__ */ o("p", { className: s.promo__body, children: c }),
23
- a && /* @__PURE__ */ o(i, { ...a }),
24
- t && t.map((_) => /* @__PURE__ */ l("div", { className: s.stat, children: [
25
- /* @__PURE__ */ o("span", { className: "material-symbols-outlined", children: _.icon }),
26
- /* @__PURE__ */ o("span", { className: s.statText, children: _.text })
27
- ] }))
28
- ]
29
- }
30
- );
31
- export {
32
- k as default
33
- };