@zenpatient-org/healthspan-marketing-ui 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/alert-error-Cj1EJqVI.mjs +6 -0
- package/dist/alert-error-Cj1EJqVI.mjs.map +1 -0
- package/dist/alert-error-fill-U8xX1bHm.mjs +6 -0
- package/dist/alert-error-fill-U8xX1bHm.mjs.map +1 -0
- package/dist/arrow-back-RB9oG9bb.mjs +6 -0
- package/dist/arrow-back-RB9oG9bb.mjs.map +1 -0
- package/dist/arrow-downward-BZo-WiCP.mjs +6 -0
- package/dist/arrow-downward-BZo-WiCP.mjs.map +1 -0
- package/dist/arrow-forward-vO9RZVmB.mjs +6 -0
- package/dist/arrow-forward-vO9RZVmB.mjs.map +1 -0
- package/dist/arrow-insert-DERGBPT7.mjs +6 -0
- package/dist/arrow-insert-DERGBPT7.mjs.map +1 -0
- package/dist/arrow-outward-DrIR5DwI.mjs +6 -0
- package/dist/arrow-outward-DrIR5DwI.mjs.map +1 -0
- package/dist/arrow-return-8q22es7-.mjs +6 -0
- package/dist/arrow-return-8q22es7-.mjs.map +1 -0
- package/dist/arrow-upward-DC1FfPA9.mjs +6 -0
- package/dist/arrow-upward-DC1FfPA9.mjs.map +1 -0
- package/dist/calendar-B-r7jdWd.mjs +6 -0
- package/dist/calendar-B-r7jdWd.mjs.map +1 -0
- package/dist/cart-DPCejEA4.mjs +6 -0
- package/dist/cart-DPCejEA4.mjs.map +1 -0
- package/dist/check-DgSDfN0C.mjs +6 -0
- package/dist/check-DgSDfN0C.mjs.map +1 -0
- package/dist/chevron-back-DFWam-ts.mjs +6 -0
- package/dist/chevron-back-DFWam-ts.mjs.map +1 -0
- package/dist/chevron-down-BwRGeXBx.mjs +6 -0
- package/dist/chevron-down-BwRGeXBx.mjs.map +1 -0
- package/dist/chevron-forward-DiyG4R25.mjs +6 -0
- package/dist/chevron-forward-DiyG4R25.mjs.map +1 -0
- package/dist/chevron-up-OrVl2KYe.mjs +6 -0
- package/dist/chevron-up-OrVl2KYe.mjs.map +1 -0
- package/dist/circle-check-DHexNVPG.mjs +6 -0
- package/dist/circle-check-DHexNVPG.mjs.map +1 -0
- package/dist/circle-check-fill-BpCT79Im.mjs +6 -0
- package/dist/circle-check-fill-BpCT79Im.mjs.map +1 -0
- package/dist/circle-dash-C0Qv0BFy.mjs +6 -0
- package/dist/circle-dash-C0Qv0BFy.mjs.map +1 -0
- package/dist/circle-dash-fill-B15ve9gd.mjs +6 -0
- package/dist/circle-dash-fill-B15ve9gd.mjs.map +1 -0
- package/dist/close-xFwzmg9D.mjs +6 -0
- package/dist/close-xFwzmg9D.mjs.map +1 -0
- package/dist/coaching-ZyIaz-XN.mjs +6 -0
- package/dist/coaching-ZyIaz-XN.mjs.map +1 -0
- package/dist/components/Button/Button.d.ts +15 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/ContentTabs/ContentTabs.d.ts +18 -0
- package/dist/components/ContentTabs/index.d.ts +2 -0
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +12 -0
- package/dist/components/HighlightedTitle/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +8 -0
- package/dist/components/Icon/constants.d.ts +55 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Label/Label.d.ts +11 -0
- package/dist/components/Label/index.d.ts +2 -0
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +12 -0
- package/dist/components/ProductGalleryCard/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs.d.ts +21 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Tag/Tag.d.ts +16 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/TypeBadge/TypeBadge.d.ts +12 -0
- package/dist/components/TypeBadge/index.d.ts +2 -0
- package/dist/components/Typography/Typography.d.ts +15 -0
- package/dist/components/Typography/index.d.ts +2 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/facebook-DV78ip19.mjs +6 -0
- package/dist/facebook-DV78ip19.mjs.map +1 -0
- package/dist/filter-Bb2_rnBk.mjs +6 -0
- package/dist/filter-Bb2_rnBk.mjs.map +1 -0
- package/dist/healthspan-ui.es.js +771 -0
- package/dist/healthspan-ui.es.js.map +1 -0
- package/dist/healthspan-ui.umd.js +24 -0
- package/dist/healthspan-ui.umd.js.map +1 -0
- package/dist/heart-D7sVKHkl.mjs +6 -0
- package/dist/heart-D7sVKHkl.mjs.map +1 -0
- package/dist/heart-fill-BVOsSRde.mjs +6 -0
- package/dist/heart-fill-BVOsSRde.mjs.map +1 -0
- package/dist/help-CRE_5jm0.mjs +6 -0
- package/dist/help-CRE_5jm0.mjs.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/info-BPzOhkwO.mjs +6 -0
- package/dist/info-BPzOhkwO.mjs.map +1 -0
- package/dist/instagram-D3uUNPQP.mjs +6 -0
- package/dist/instagram-D3uUNPQP.mjs.map +1 -0
- package/dist/labs-C5ACTgZS.mjs +6 -0
- package/dist/labs-C5ACTgZS.mjs.map +1 -0
- package/dist/menu-wBs3KiRN.mjs +6 -0
- package/dist/menu-wBs3KiRN.mjs.map +1 -0
- package/dist/message-CJ_CwgNl.mjs +6 -0
- package/dist/message-CJ_CwgNl.mjs.map +1 -0
- package/dist/message-fill-34t0rhm0.mjs +6 -0
- package/dist/message-fill-34t0rhm0.mjs.map +1 -0
- package/dist/modules/TotalCare/TotalCare.d.ts +16 -0
- package/dist/modules/TotalCare/index.d.ts +1 -0
- package/dist/modules/YourProtocol/YourProtocol.d.ts +11 -0
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.d.ts +7 -0
- package/dist/modules/YourProtocol/components/ProtocolTags/index.d.ts +1 -0
- package/dist/modules/YourProtocol/index.d.ts +1 -0
- package/dist/modules/YourProtocol/types.d.ts +10 -0
- package/dist/modules/index.d.ts +2 -0
- package/dist/myspan-BtBinWuo.mjs +6 -0
- package/dist/myspan-BtBinWuo.mjs.map +1 -0
- package/dist/optimizations-CFu6WZmF.mjs +6 -0
- package/dist/optimizations-CFu6WZmF.mjs.map +1 -0
- package/dist/package-Cojp3ziE.mjs +6 -0
- package/dist/package-Cojp3ziE.mjs.map +1 -0
- package/dist/package-fill-DJC-nVX4.mjs +6 -0
- package/dist/package-fill-DJC-nVX4.mjs.map +1 -0
- package/dist/pin-drop-CjDxWRyc.mjs +6 -0
- package/dist/pin-drop-CjDxWRyc.mjs.map +1 -0
- package/dist/pin-drop-Cynj8Kyw.mjs +6 -0
- package/dist/pin-drop-Cynj8Kyw.mjs.map +1 -0
- package/dist/plus-a8IJH0Cb.mjs +6 -0
- package/dist/plus-a8IJH0Cb.mjs.map +1 -0
- package/dist/protocols-DioVdawg.mjs +6 -0
- package/dist/protocols-DioVdawg.mjs.map +1 -0
- package/dist/remove-DjaRY7q_.mjs +6 -0
- package/dist/remove-DjaRY7q_.mjs.map +1 -0
- package/dist/ruler-DHuaS0jU.mjs +6 -0
- package/dist/ruler-DHuaS0jU.mjs.map +1 -0
- package/dist/scale-CN9HwBjw.mjs +6 -0
- package/dist/scale-CN9HwBjw.mjs.map +1 -0
- package/dist/search-CH3bboSY.mjs +6 -0
- package/dist/search-CH3bboSY.mjs.map +1 -0
- package/dist/smile-DWJE9lLu.mjs +6 -0
- package/dist/smile-DWJE9lLu.mjs.map +1 -0
- package/dist/smile-fill-BZ1FEIkr.mjs +6 -0
- package/dist/smile-fill-BZ1FEIkr.mjs.map +1 -0
- package/dist/star-BUndwhBG.mjs +6 -0
- package/dist/star-BUndwhBG.mjs.map +1 -0
- package/dist/star-fill-CSTfd32v.mjs +6 -0
- package/dist/star-fill-CSTfd32v.mjs.map +1 -0
- package/dist/star-half-BF2SarPm.mjs +6 -0
- package/dist/star-half-BF2SarPm.mjs.map +1 -0
- package/dist/star-outline-CYXUJP23.mjs +6 -0
- package/dist/star-outline-CYXUJP23.mjs.map +1 -0
- package/dist/styles/index.d.ts +3 -0
- package/dist/types/common.d.ts +1 -0
- package/dist/utils/cn.d.ts +1 -0
- package/dist/utils/formatUnits.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/isHsIcon.d.ts +3 -0
- package/dist/warning-DXASuaUB.mjs +6 -0
- package/dist/warning-DXASuaUB.mjs.map +1 -0
- package/dist/x-BXPNdkKc.mjs +6 -0
- package/dist/x-BXPNdkKc.mjs.map +1 -0
- package/package.json +1 -10
|
@@ -0,0 +1,771 @@
|
|
|
1
|
+
import * as y from "react";
|
|
2
|
+
import ve, { memo as Re, useState as U, useLayoutEffect as ke, createElement as we, forwardRef as Se, useMemo as Te } from "react";
|
|
3
|
+
const xe = "typography-module__displayXl___dx4Dh", je = "typography-module__displayLg___3BQI2", Ce = "typography-module__displayMd___-bNBw", Le = "typography-module__displaySm___BswNI", Ae = "typography-module__displayXs___jcmVJ", Ee = "typography-module__headingXl___nAQFD", Oe = "typography-module__headingLg___Idt-Z", Me = "typography-module__headingMd___c-Q0B", Pe = "typography-module__headingSm___Q6zoR", Xe = "typography-module__headingXs___fwDFl", Ne = "typography-module__headingXxs___ghw1N", We = "typography-module__preambleMd___CbYgI", $e = "typography-module__preambleSm___yKGjq", Fe = "typography-module__bodyXl___m92AP", De = "typography-module__bodyLg___Fz-Fo", Ve = "typography-module__bodyMd___aH0Ph", Ge = "typography-module__bodySm___4-7TJ", Ye = "typography-module__bodyXs___uTpSs", He = "typography-module__linkLg___xVngm", Ue = "typography-module__linkMd___82MQD", Je = "typography-module__linkSm___LZ94B", Be = "typography-module__linkXs___-6Kd5", Ie = "typography-module__labelXl___jmHEl", Ze = "typography-module__labelLg___31xPj", ze = "typography-module__labelMd___e3ni6", qe = "typography-module__labelSm___AsYEH", Ke = "typography-module__labelXs___zgCHL", Qe = "typography-module__labelEmphasis___nbkyG", eo = "typography-module__weightRegular___F3ND2", oo = "typography-module__weightMedium___XpDfI", to = "typography-module__mobile__displayXl___8eyMz", ro = "typography-module__mobile__displayLg___OxrWl", lo = "typography-module__mobile__displayMd___ZTVhR", ao = "typography-module__mobile__displaySm___P5do8", so = "typography-module__mobile__displayXs___3nZMf", io = "typography-module__mobile__headingXl___fuylU", no = "typography-module__mobile__headingLg___poZZo", _o = "typography-module__mobile__headingMd___UA7hK", co = "typography-module__mobile__headingSm___9StAl", mo = "typography-module__mobile__headingXs___zRqq3", uo = "typography-module__mobile__headingXxs___I6k7k", po = "typography-module__mobile__preambleMd___OsCic", bo = "typography-module__mobile__preambleSm___VVrnq", go = "typography-module__mobile__bodyXl___WKi87", ho = "typography-module__mobile__bodyLg___JR512", yo = "typography-module__mobile__bodyMd___h5hFh", fo = "typography-module__mobile__bodySm___J3fX2", vo = "typography-module__mobile__bodyXs___rbvEo", Ro = "typography-module__mobile__linkLg___JWgXg", ko = "typography-module__mobile__linkMd___Humhz", wo = "typography-module__mobile__linkSm___pJwma", So = "typography-module__mobile__linkXs___o01Lz", To = "typography-module__mobile__labelXl___q4W0-", xo = "typography-module__mobile__labelLg___1wguG", jo = "typography-module__mobile__labelMd___PInk-", Co = "typography-module__mobile__labelSm___yPUV0", Lo = "typography-module__mobile__labelXs___80zt0", b = {
|
|
4
|
+
displayXl: xe,
|
|
5
|
+
displayLg: je,
|
|
6
|
+
displayMd: Ce,
|
|
7
|
+
displaySm: Le,
|
|
8
|
+
displayXs: Ae,
|
|
9
|
+
headingXl: Ee,
|
|
10
|
+
headingLg: Oe,
|
|
11
|
+
headingMd: Me,
|
|
12
|
+
headingSm: Pe,
|
|
13
|
+
headingXs: Xe,
|
|
14
|
+
headingXxs: Ne,
|
|
15
|
+
preambleMd: We,
|
|
16
|
+
preambleSm: $e,
|
|
17
|
+
bodyXl: Fe,
|
|
18
|
+
bodyLg: De,
|
|
19
|
+
bodyMd: Ve,
|
|
20
|
+
bodySm: Ge,
|
|
21
|
+
bodyXs: Ye,
|
|
22
|
+
linkLg: He,
|
|
23
|
+
linkMd: Ue,
|
|
24
|
+
linkSm: Je,
|
|
25
|
+
linkXs: Be,
|
|
26
|
+
labelXl: Ie,
|
|
27
|
+
labelLg: Ze,
|
|
28
|
+
labelMd: ze,
|
|
29
|
+
labelSm: qe,
|
|
30
|
+
labelXs: Ke,
|
|
31
|
+
labelEmphasis: Qe,
|
|
32
|
+
weightRegular: eo,
|
|
33
|
+
weightMedium: oo,
|
|
34
|
+
mobile__displayXl: to,
|
|
35
|
+
mobile__displayLg: ro,
|
|
36
|
+
mobile__displayMd: lo,
|
|
37
|
+
mobile__displaySm: ao,
|
|
38
|
+
mobile__displayXs: so,
|
|
39
|
+
mobile__headingXl: io,
|
|
40
|
+
mobile__headingLg: no,
|
|
41
|
+
mobile__headingMd: _o,
|
|
42
|
+
mobile__headingSm: co,
|
|
43
|
+
mobile__headingXs: mo,
|
|
44
|
+
mobile__headingXxs: uo,
|
|
45
|
+
mobile__preambleMd: po,
|
|
46
|
+
mobile__preambleSm: bo,
|
|
47
|
+
mobile__bodyXl: go,
|
|
48
|
+
mobile__bodyLg: ho,
|
|
49
|
+
mobile__bodyMd: yo,
|
|
50
|
+
mobile__bodySm: fo,
|
|
51
|
+
mobile__bodyXs: vo,
|
|
52
|
+
mobile__linkLg: Ro,
|
|
53
|
+
mobile__linkMd: ko,
|
|
54
|
+
mobile__linkSm: wo,
|
|
55
|
+
mobile__linkXs: So,
|
|
56
|
+
mobile__labelXl: To,
|
|
57
|
+
mobile__labelLg: xo,
|
|
58
|
+
mobile__labelMd: jo,
|
|
59
|
+
mobile__labelSm: Co,
|
|
60
|
+
mobile__labelXs: Lo
|
|
61
|
+
};
|
|
62
|
+
var W = { exports: {} }, M = {};
|
|
63
|
+
/**
|
|
64
|
+
* @license React
|
|
65
|
+
* react-jsx-runtime.production.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/
|
|
72
|
+
var ee;
|
|
73
|
+
function Ao() {
|
|
74
|
+
if (ee) return M;
|
|
75
|
+
ee = 1;
|
|
76
|
+
var e = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
|
|
77
|
+
function l(i, r, s) {
|
|
78
|
+
var _ = null;
|
|
79
|
+
if (s !== void 0 && (_ = "" + s), r.key !== void 0 && (_ = "" + r.key), "key" in r) {
|
|
80
|
+
s = {};
|
|
81
|
+
for (var u in r)
|
|
82
|
+
u !== "key" && (s[u] = r[u]);
|
|
83
|
+
} else s = r;
|
|
84
|
+
return r = s.ref, {
|
|
85
|
+
$$typeof: e,
|
|
86
|
+
type: i,
|
|
87
|
+
key: _,
|
|
88
|
+
ref: r !== void 0 ? r : null,
|
|
89
|
+
props: s
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
return M.Fragment = a, M.jsx = l, M.jsxs = l, M;
|
|
93
|
+
}
|
|
94
|
+
var P = {};
|
|
95
|
+
/**
|
|
96
|
+
* @license React
|
|
97
|
+
* react-jsx-runtime.development.js
|
|
98
|
+
*
|
|
99
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
100
|
+
*
|
|
101
|
+
* This source code is licensed under the MIT license found in the
|
|
102
|
+
* LICENSE file in the root directory of this source tree.
|
|
103
|
+
*/
|
|
104
|
+
var oe;
|
|
105
|
+
function Eo() {
|
|
106
|
+
return oe || (oe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
107
|
+
function e(o) {
|
|
108
|
+
if (o == null) return null;
|
|
109
|
+
if (typeof o == "function")
|
|
110
|
+
return o.$$typeof === he ? null : o.displayName || o.name || null;
|
|
111
|
+
if (typeof o == "string") return o;
|
|
112
|
+
switch (o) {
|
|
113
|
+
case F:
|
|
114
|
+
return "Fragment";
|
|
115
|
+
case _e:
|
|
116
|
+
return "Profiler";
|
|
117
|
+
case ne:
|
|
118
|
+
return "StrictMode";
|
|
119
|
+
case ue:
|
|
120
|
+
return "Suspense";
|
|
121
|
+
case pe:
|
|
122
|
+
return "SuspenseList";
|
|
123
|
+
case ge:
|
|
124
|
+
return "Activity";
|
|
125
|
+
}
|
|
126
|
+
if (typeof o == "object")
|
|
127
|
+
switch (typeof o.tag == "number" && console.error(
|
|
128
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
129
|
+
), o.$$typeof) {
|
|
130
|
+
case ie:
|
|
131
|
+
return "Portal";
|
|
132
|
+
case de:
|
|
133
|
+
return (o.displayName || "Context") + ".Provider";
|
|
134
|
+
case ce:
|
|
135
|
+
return (o._context.displayName || "Context") + ".Consumer";
|
|
136
|
+
case me:
|
|
137
|
+
var n = o.render;
|
|
138
|
+
return o = o.displayName, o || (o = n.displayName || n.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
|
|
139
|
+
case be:
|
|
140
|
+
return n = o.displayName || null, n !== null ? n : e(o.type) || "Memo";
|
|
141
|
+
case B:
|
|
142
|
+
n = o._payload, o = o._init;
|
|
143
|
+
try {
|
|
144
|
+
return e(o(n));
|
|
145
|
+
} catch {
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
function a(o) {
|
|
151
|
+
return "" + o;
|
|
152
|
+
}
|
|
153
|
+
function l(o) {
|
|
154
|
+
try {
|
|
155
|
+
a(o);
|
|
156
|
+
var n = !1;
|
|
157
|
+
} catch {
|
|
158
|
+
n = !0;
|
|
159
|
+
}
|
|
160
|
+
if (n) {
|
|
161
|
+
n = console;
|
|
162
|
+
var c = n.error, d = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
163
|
+
return c.call(
|
|
164
|
+
n,
|
|
165
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
166
|
+
d
|
|
167
|
+
), a(o);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
function i(o) {
|
|
171
|
+
if (o === F) return "<>";
|
|
172
|
+
if (typeof o == "object" && o !== null && o.$$typeof === B)
|
|
173
|
+
return "<...>";
|
|
174
|
+
try {
|
|
175
|
+
var n = e(o);
|
|
176
|
+
return n ? "<" + n + ">" : "<...>";
|
|
177
|
+
} catch {
|
|
178
|
+
return "<...>";
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function r() {
|
|
182
|
+
var o = D.A;
|
|
183
|
+
return o === null ? null : o.getOwner();
|
|
184
|
+
}
|
|
185
|
+
function s() {
|
|
186
|
+
return Error("react-stack-top-frame");
|
|
187
|
+
}
|
|
188
|
+
function _(o) {
|
|
189
|
+
if (I.call(o, "key")) {
|
|
190
|
+
var n = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
191
|
+
if (n && n.isReactWarning) return !1;
|
|
192
|
+
}
|
|
193
|
+
return o.key !== void 0;
|
|
194
|
+
}
|
|
195
|
+
function u(o, n) {
|
|
196
|
+
function c() {
|
|
197
|
+
Z || (Z = !0, console.error(
|
|
198
|
+
"%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://react.dev/link/special-props)",
|
|
199
|
+
n
|
|
200
|
+
));
|
|
201
|
+
}
|
|
202
|
+
c.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
203
|
+
get: c,
|
|
204
|
+
configurable: !0
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
function f() {
|
|
208
|
+
var o = e(this.type);
|
|
209
|
+
return z[o] || (z[o] = !0, console.error(
|
|
210
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
211
|
+
)), o = this.props.ref, o !== void 0 ? o : null;
|
|
212
|
+
}
|
|
213
|
+
function O(o, n, c, d, v, g, G, Y) {
|
|
214
|
+
return c = g.ref, o = {
|
|
215
|
+
$$typeof: J,
|
|
216
|
+
type: o,
|
|
217
|
+
key: n,
|
|
218
|
+
props: g,
|
|
219
|
+
_owner: v
|
|
220
|
+
}, (c !== void 0 ? c : null) !== null ? Object.defineProperty(o, "ref", {
|
|
221
|
+
enumerable: !1,
|
|
222
|
+
get: f
|
|
223
|
+
}) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
224
|
+
configurable: !1,
|
|
225
|
+
enumerable: !1,
|
|
226
|
+
writable: !0,
|
|
227
|
+
value: 0
|
|
228
|
+
}), Object.defineProperty(o, "_debugInfo", {
|
|
229
|
+
configurable: !1,
|
|
230
|
+
enumerable: !1,
|
|
231
|
+
writable: !0,
|
|
232
|
+
value: null
|
|
233
|
+
}), Object.defineProperty(o, "_debugStack", {
|
|
234
|
+
configurable: !1,
|
|
235
|
+
enumerable: !1,
|
|
236
|
+
writable: !0,
|
|
237
|
+
value: G
|
|
238
|
+
}), Object.defineProperty(o, "_debugTask", {
|
|
239
|
+
configurable: !1,
|
|
240
|
+
enumerable: !1,
|
|
241
|
+
writable: !0,
|
|
242
|
+
value: Y
|
|
243
|
+
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
244
|
+
}
|
|
245
|
+
function S(o, n, c, d, v, g, G, Y) {
|
|
246
|
+
var m = n.children;
|
|
247
|
+
if (m !== void 0)
|
|
248
|
+
if (d)
|
|
249
|
+
if (ye(m)) {
|
|
250
|
+
for (d = 0; d < m.length; d++)
|
|
251
|
+
T(m[d]);
|
|
252
|
+
Object.freeze && Object.freeze(m);
|
|
253
|
+
} else
|
|
254
|
+
console.error(
|
|
255
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
256
|
+
);
|
|
257
|
+
else T(m);
|
|
258
|
+
if (I.call(n, "key")) {
|
|
259
|
+
m = e(o);
|
|
260
|
+
var x = Object.keys(n).filter(function(fe) {
|
|
261
|
+
return fe !== "key";
|
|
262
|
+
});
|
|
263
|
+
d = 0 < x.length ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}", Q[m + d] || (x = 0 < x.length ? "{" + x.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
264
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
265
|
+
let props = %s;
|
|
266
|
+
<%s {...props} />
|
|
267
|
+
React keys must be passed directly to JSX without using spread:
|
|
268
|
+
let props = %s;
|
|
269
|
+
<%s key={someKey} {...props} />`,
|
|
270
|
+
d,
|
|
271
|
+
m,
|
|
272
|
+
x,
|
|
273
|
+
m
|
|
274
|
+
), Q[m + d] = !0);
|
|
275
|
+
}
|
|
276
|
+
if (m = null, c !== void 0 && (l(c), m = "" + c), _(n) && (l(n.key), m = "" + n.key), "key" in n) {
|
|
277
|
+
c = {};
|
|
278
|
+
for (var H in n)
|
|
279
|
+
H !== "key" && (c[H] = n[H]);
|
|
280
|
+
} else c = n;
|
|
281
|
+
return m && u(
|
|
282
|
+
c,
|
|
283
|
+
typeof o == "function" ? o.displayName || o.name || "Unknown" : o
|
|
284
|
+
), O(
|
|
285
|
+
o,
|
|
286
|
+
m,
|
|
287
|
+
g,
|
|
288
|
+
v,
|
|
289
|
+
r(),
|
|
290
|
+
c,
|
|
291
|
+
G,
|
|
292
|
+
Y
|
|
293
|
+
);
|
|
294
|
+
}
|
|
295
|
+
function T(o) {
|
|
296
|
+
typeof o == "object" && o !== null && o.$$typeof === J && o._store && (o._store.validated = 1);
|
|
297
|
+
}
|
|
298
|
+
var N = ve, J = Symbol.for("react.transitional.element"), ie = Symbol.for("react.portal"), F = Symbol.for("react.fragment"), ne = Symbol.for("react.strict_mode"), _e = Symbol.for("react.profiler"), ce = Symbol.for("react.consumer"), de = Symbol.for("react.context"), me = Symbol.for("react.forward_ref"), ue = Symbol.for("react.suspense"), pe = Symbol.for("react.suspense_list"), be = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), ge = Symbol.for("react.activity"), he = Symbol.for("react.client.reference"), D = N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, ye = Array.isArray, V = console.createTask ? console.createTask : function() {
|
|
299
|
+
return null;
|
|
300
|
+
};
|
|
301
|
+
N = {
|
|
302
|
+
"react-stack-bottom-frame": function(o) {
|
|
303
|
+
return o();
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
var Z, z = {}, q = N["react-stack-bottom-frame"].bind(
|
|
307
|
+
N,
|
|
308
|
+
s
|
|
309
|
+
)(), K = V(i(s)), Q = {};
|
|
310
|
+
P.Fragment = F, P.jsx = function(o, n, c, d, v) {
|
|
311
|
+
var g = 1e4 > D.recentlyCreatedOwnerStacks++;
|
|
312
|
+
return S(
|
|
313
|
+
o,
|
|
314
|
+
n,
|
|
315
|
+
c,
|
|
316
|
+
!1,
|
|
317
|
+
d,
|
|
318
|
+
v,
|
|
319
|
+
g ? Error("react-stack-top-frame") : q,
|
|
320
|
+
g ? V(i(o)) : K
|
|
321
|
+
);
|
|
322
|
+
}, P.jsxs = function(o, n, c, d, v) {
|
|
323
|
+
var g = 1e4 > D.recentlyCreatedOwnerStacks++;
|
|
324
|
+
return S(
|
|
325
|
+
o,
|
|
326
|
+
n,
|
|
327
|
+
c,
|
|
328
|
+
!0,
|
|
329
|
+
d,
|
|
330
|
+
v,
|
|
331
|
+
g ? Error("react-stack-top-frame") : q,
|
|
332
|
+
g ? V(i(o)) : K
|
|
333
|
+
);
|
|
334
|
+
};
|
|
335
|
+
}()), P;
|
|
336
|
+
}
|
|
337
|
+
var te;
|
|
338
|
+
function Oo() {
|
|
339
|
+
return te || (te = 1, process.env.NODE_ENV === "production" ? W.exports = Ao() : W.exports = Eo()), W.exports;
|
|
340
|
+
}
|
|
341
|
+
var t = Oo();
|
|
342
|
+
const p = (...e) => e.map((l) => typeof l == "string" ? l : l ? Object.keys(l).filter((s) => l[s]).join(" ") : "").filter((l) => !!l).join(" "), E = ({
|
|
343
|
+
defaultVariant: e,
|
|
344
|
+
children: a,
|
|
345
|
+
className: l = "",
|
|
346
|
+
weight: i,
|
|
347
|
+
emphasis: r = !1,
|
|
348
|
+
as: s = "span",
|
|
349
|
+
mobileVariant: _
|
|
350
|
+
}) => {
|
|
351
|
+
const u = b[e] || "";
|
|
352
|
+
let f = i;
|
|
353
|
+
r && !i && (f = "medium");
|
|
354
|
+
const O = f ? b[`weight${f.charAt(0).toUpperCase()}${f.slice(1)}`] : "", S = e.startsWith("label") && r ? b.labelEmphasis : "", T = _ ? b[`mobile__${_}`] : "";
|
|
355
|
+
return /* @__PURE__ */ t.jsx(s, { className: p(u, O, S, T, l), children: a });
|
|
356
|
+
}, Mo = (e, a, l) => {
|
|
357
|
+
const i = e[a];
|
|
358
|
+
return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((r, s) => {
|
|
359
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
360
|
+
s.bind(
|
|
361
|
+
null,
|
|
362
|
+
new Error(
|
|
363
|
+
"Unknown variable dynamic import: " + a + (a.split("/").length !== l ? ". Note that variables only represent file names one level deep." : "")
|
|
364
|
+
)
|
|
365
|
+
)
|
|
366
|
+
);
|
|
367
|
+
});
|
|
368
|
+
};
|
|
369
|
+
var le = /* @__PURE__ */ ((e) => (e.ALERT_ERROR_FILL = "alert-error-fill", e.ALERT_ERROR = "alert-error", e.CHECK = "check", e.CIRCLE_CHECK_FILL = "circle-check-fill", e.CIRCLE_CHECK = "circle-check", e.CLOSE = "close", e.HELP = "help", e.INFO = "info", e.MENU = "menu", e.PLUS = "plus", e.REMOVE = "remove", e.SEARCH = "search", e.WARNING = "warning", e.ARROW_BACK = "arrow-back", e.ARROW_DOWNWARD = "arrow-downward", e.ARROW_FORWARD = "arrow-forward", e.ARROW_INSERT = "arrow-insert", e.ARROW_OUTWARD = "arrow-outward", e.ARROW_RETURN = "arrow-return", e.ARROW_UPWARD = "arrow-upward", e.CHEVRON_BACK = "chevron-back", e.CHEVRON_DOWN = "chevron-down", e.CHEVRON_FORWARD = "chevron-forward", e.CHEVRON_UP = "chevron-up", e.MESSAGE_FILL = "message-fill", e.MESSAGE = "message", e.CALENDAR = "calendar", e.CART = "cart", e.PACKAGE_FILL = "package-fill", e.PACKAGE = "package", e.SMILE_FILL = "smile-fill", e.SMILE = "smile", e.CIRCLE_DASH_FILL = "circle-dash-fill", e.CIRCLE_DASH = "circle-dash", e.PIN_DROP = "pin-drop", e.FILTER = "filter", e.COACHING = "coaching", e.LABS = "labs", e.MYSPAN = "myspan", e.OPTIMIZATIONS = "optimizations", e.PROTOCOLS = "protocols", e.RULER = "ruler", e.SCALE = "scale", e.FACEBOOK = "facebook", e.HEART_FILL = "heart-fill", e.HEART = "heart", e.INSTAGRAM = "instagram", e.STAR_FILL = "star-fill", e.STAR_HALF = "star-half", e.STAR_OUTLINE = "star-outline", e.STAR = "star", e.X = "x", e))(le || {});
|
|
370
|
+
const Po = {
|
|
371
|
+
"alert-error-fill": "action",
|
|
372
|
+
"alert-error": "action",
|
|
373
|
+
check: "action",
|
|
374
|
+
"circle-check-fill": "action",
|
|
375
|
+
"circle-check": "action",
|
|
376
|
+
close: "action",
|
|
377
|
+
help: "action",
|
|
378
|
+
info: "action",
|
|
379
|
+
menu: "action",
|
|
380
|
+
plus: "action",
|
|
381
|
+
remove: "action",
|
|
382
|
+
search: "action",
|
|
383
|
+
warning: "action",
|
|
384
|
+
"arrow-back": "arrow",
|
|
385
|
+
"arrow-downward": "arrow",
|
|
386
|
+
"arrow-forward": "arrow",
|
|
387
|
+
"arrow-insert": "arrow",
|
|
388
|
+
"arrow-outward": "arrow",
|
|
389
|
+
"arrow-return": "arrow",
|
|
390
|
+
"arrow-upward": "arrow",
|
|
391
|
+
"chevron-back": "arrow",
|
|
392
|
+
"chevron-down": "arrow",
|
|
393
|
+
"chevron-forward": "arrow",
|
|
394
|
+
"chevron-up": "arrow",
|
|
395
|
+
"message-fill": "chat",
|
|
396
|
+
message: "chat",
|
|
397
|
+
calendar: "eCommerce",
|
|
398
|
+
cart: "eCommerce",
|
|
399
|
+
"package-fill": "eCommerce",
|
|
400
|
+
package: "eCommerce",
|
|
401
|
+
"smile-fill": "faces",
|
|
402
|
+
smile: "faces",
|
|
403
|
+
"circle-dash-fill": "indicators",
|
|
404
|
+
"circle-dash": "indicators",
|
|
405
|
+
"pin-drop": "global",
|
|
406
|
+
filter: "global",
|
|
407
|
+
coaching: "medical",
|
|
408
|
+
labs: "medical",
|
|
409
|
+
myspan: "medical",
|
|
410
|
+
optimizations: "medical",
|
|
411
|
+
protocols: "medical",
|
|
412
|
+
ruler: "medical",
|
|
413
|
+
scale: "medical",
|
|
414
|
+
facebook: "social",
|
|
415
|
+
"heart-fill": "social",
|
|
416
|
+
heart: "social",
|
|
417
|
+
instagram: "social",
|
|
418
|
+
"star-fill": "social",
|
|
419
|
+
"star-half": "social",
|
|
420
|
+
"star-outline": "social",
|
|
421
|
+
star: "social",
|
|
422
|
+
x: "social"
|
|
423
|
+
};
|
|
424
|
+
function Xo(e) {
|
|
425
|
+
return e ? Object.values(le).includes(e) : !1;
|
|
426
|
+
}
|
|
427
|
+
const w = Re(({ name: e, className: a }) => {
|
|
428
|
+
const [l, i] = U(null);
|
|
429
|
+
return ke(() => {
|
|
430
|
+
let r = !0;
|
|
431
|
+
return Xo(e) && Mo(/* @__PURE__ */ Object.assign({ "../../icons/action/alert-error-fill.svg": () => import("./alert-error-fill-U8xX1bHm.mjs"), "../../icons/action/alert-error.svg": () => import("./alert-error-Cj1EJqVI.mjs"), "../../icons/action/check.svg": () => import("./check-DgSDfN0C.mjs"), "../../icons/action/circle-check-fill.svg": () => import("./circle-check-fill-BpCT79Im.mjs"), "../../icons/action/circle-check.svg": () => import("./circle-check-DHexNVPG.mjs"), "../../icons/action/close.svg": () => import("./close-xFwzmg9D.mjs"), "../../icons/action/help.svg": () => import("./help-CRE_5jm0.mjs"), "../../icons/action/info.svg": () => import("./info-BPzOhkwO.mjs"), "../../icons/action/menu.svg": () => import("./menu-wBs3KiRN.mjs"), "../../icons/action/plus.svg": () => import("./plus-a8IJH0Cb.mjs"), "../../icons/action/remove.svg": () => import("./remove-DjaRY7q_.mjs"), "../../icons/action/search.svg": () => import("./search-CH3bboSY.mjs"), "../../icons/action/warning.svg": () => import("./warning-DXASuaUB.mjs"), "../../icons/arrow/arrow-back.svg": () => import("./arrow-back-RB9oG9bb.mjs"), "../../icons/arrow/arrow-downward.svg": () => import("./arrow-downward-BZo-WiCP.mjs"), "../../icons/arrow/arrow-forward.svg": () => import("./arrow-forward-vO9RZVmB.mjs"), "../../icons/arrow/arrow-insert.svg": () => import("./arrow-insert-DERGBPT7.mjs"), "../../icons/arrow/arrow-outward.svg": () => import("./arrow-outward-DrIR5DwI.mjs"), "../../icons/arrow/arrow-return.svg": () => import("./arrow-return-8q22es7-.mjs"), "../../icons/arrow/arrow-upward.svg": () => import("./arrow-upward-DC1FfPA9.mjs"), "../../icons/arrow/chevron-back.svg": () => import("./chevron-back-DFWam-ts.mjs"), "../../icons/arrow/chevron-down.svg": () => import("./chevron-down-BwRGeXBx.mjs"), "../../icons/arrow/chevron-forward.svg": () => import("./chevron-forward-DiyG4R25.mjs"), "../../icons/arrow/chevron-up.svg": () => import("./chevron-up-OrVl2KYe.mjs"), "../../icons/chat/message-fill.svg": () => import("./message-fill-34t0rhm0.mjs"), "../../icons/chat/message.svg": () => import("./message-CJ_CwgNl.mjs"), "../../icons/eCommerce/calendar.svg": () => import("./calendar-B-r7jdWd.mjs"), "../../icons/eCommerce/cart.svg": () => import("./cart-DPCejEA4.mjs"), "../../icons/eCommerce/package-fill.svg": () => import("./package-fill-DJC-nVX4.mjs"), "../../icons/eCommerce/package.svg": () => import("./package-Cojp3ziE.mjs"), "../../icons/faces/smile-fill.svg": () => import("./smile-fill-BZ1FEIkr.mjs"), "../../icons/faces/smile.svg": () => import("./smile-DWJE9lLu.mjs"), "../../icons/global/filter.svg": () => import("./filter-Bb2_rnBk.mjs"), "../../icons/global/pin-drop.svg": () => import("./pin-drop-CjDxWRyc.mjs"), "../../icons/indicators/circle-dash-fill.svg": () => import("./circle-dash-fill-B15ve9gd.mjs"), "../../icons/indicators/circle-dash.svg": () => import("./circle-dash-C0Qv0BFy.mjs"), "../../icons/map/pin-drop.svg": () => import("./pin-drop-Cynj8Kyw.mjs"), "../../icons/medical/coaching.svg": () => import("./coaching-ZyIaz-XN.mjs"), "../../icons/medical/labs.svg": () => import("./labs-C5ACTgZS.mjs"), "../../icons/medical/myspan.svg": () => import("./myspan-BtBinWuo.mjs"), "../../icons/medical/optimizations.svg": () => import("./optimizations-CFu6WZmF.mjs"), "../../icons/medical/protocols.svg": () => import("./protocols-DioVdawg.mjs"), "../../icons/medical/ruler.svg": () => import("./ruler-DHuaS0jU.mjs"), "../../icons/medical/scale.svg": () => import("./scale-CN9HwBjw.mjs"), "../../icons/social/facebook.svg": () => import("./facebook-DV78ip19.mjs"), "../../icons/social/heart-fill.svg": () => import("./heart-fill-BVOsSRde.mjs"), "../../icons/social/heart.svg": () => import("./heart-D7sVKHkl.mjs"), "../../icons/social/instagram.svg": () => import("./instagram-D3uUNPQP.mjs"), "../../icons/social/star-fill.svg": () => import("./star-fill-CSTfd32v.mjs"), "../../icons/social/star-half.svg": () => import("./star-half-BF2SarPm.mjs"), "../../icons/social/star-outline.svg": () => import("./star-outline-CYXUJP23.mjs"), "../../icons/social/star.svg": () => import("./star-BUndwhBG.mjs"), "../../icons/social/x.svg": () => import("./x-BXPNdkKc.mjs") }), `../../icons/${Po[e]}/${e}.svg`, 5).then((s) => {
|
|
432
|
+
r && i(s);
|
|
433
|
+
}), () => {
|
|
434
|
+
r = !1;
|
|
435
|
+
};
|
|
436
|
+
}, [e]), l ? we(l.default, { className: a }) : /* @__PURE__ */ t.jsx("div", { className: a, children: "💡" });
|
|
437
|
+
}), No = "button-module__button___JyfZW", Wo = "button-module__primary___ggjlO", $o = "button-module__secondary___Q4I1z", Fo = "button-module__muted___DbVhc", Do = "button-module__ghost___Dp7F-", Vo = "button-module__xs___hb8XV", Go = "button-module__sm___nin2b", Yo = "button-module__md___0nyD0", Ho = "button-module__lg___UZ-tP", Uo = "button-module__disabled___S7XlI", Jo = "button-module__content___FFCUI", Bo = "button-module__iconWrap___PI655", k = {
|
|
438
|
+
button: No,
|
|
439
|
+
primary: Wo,
|
|
440
|
+
"primary-invert": "button-module__primary-invert___UQj7h",
|
|
441
|
+
secondary: $o,
|
|
442
|
+
muted: Fo,
|
|
443
|
+
"muted-invert": "button-module__muted-invert___0nBJw",
|
|
444
|
+
ghost: Do,
|
|
445
|
+
xs: Vo,
|
|
446
|
+
sm: Go,
|
|
447
|
+
md: Yo,
|
|
448
|
+
lg: Ho,
|
|
449
|
+
disabled: Uo,
|
|
450
|
+
content: Jo,
|
|
451
|
+
iconWrap: Bo
|
|
452
|
+
}, ae = Se(({
|
|
453
|
+
variant: e = "primary",
|
|
454
|
+
size: a = "md",
|
|
455
|
+
as: l = "button",
|
|
456
|
+
disabled: i = !1,
|
|
457
|
+
children: r,
|
|
458
|
+
prefixIcon: s,
|
|
459
|
+
suffixIcon: _,
|
|
460
|
+
...u
|
|
461
|
+
}, f) => {
|
|
462
|
+
const O = k[e] || "", S = k[a] || "", T = i ? k.disabled : "";
|
|
463
|
+
return /* @__PURE__ */ t.jsx(
|
|
464
|
+
l,
|
|
465
|
+
{
|
|
466
|
+
ref: f,
|
|
467
|
+
...u,
|
|
468
|
+
className: p(
|
|
469
|
+
k.button,
|
|
470
|
+
O,
|
|
471
|
+
S,
|
|
472
|
+
T
|
|
473
|
+
),
|
|
474
|
+
disabled: i,
|
|
475
|
+
children: /* @__PURE__ */ t.jsxs("div", { className: k.content, children: [
|
|
476
|
+
s && /* @__PURE__ */ t.jsx("div", { className: k.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: s }) }),
|
|
477
|
+
/* @__PURE__ */ t.jsx("div", { children: r }),
|
|
478
|
+
_ && /* @__PURE__ */ t.jsx("div", { className: k.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _ }) })
|
|
479
|
+
] })
|
|
480
|
+
}
|
|
481
|
+
);
|
|
482
|
+
});
|
|
483
|
+
ae.displayName = "Button";
|
|
484
|
+
const Io = "label-module__root___b704i", Zo = {
|
|
485
|
+
root: Io
|
|
486
|
+
}, zo = {
|
|
487
|
+
sm: b.labelXs,
|
|
488
|
+
lg: b.labelSm
|
|
489
|
+
}, rr = ({ children: e, color: a, size: l = "sm" }) => /* @__PURE__ */ t.jsx(
|
|
490
|
+
"div",
|
|
491
|
+
{
|
|
492
|
+
className: p(
|
|
493
|
+
Zo.root,
|
|
494
|
+
b.labelEmphasis,
|
|
495
|
+
zo[l]
|
|
496
|
+
),
|
|
497
|
+
"data-size": l,
|
|
498
|
+
"data-color": a,
|
|
499
|
+
children: e
|
|
500
|
+
}
|
|
501
|
+
), qo = "tag-module__tag___04JA1", Ko = "tag-module__md___Vi5U2", Qo = "tag-module__lg___AaJGY", et = "tag-module__active___Bc0bb", ot = "tag-module__content___uaFwG", tt = "tag-module__iconWrap___viC8K", j = {
|
|
502
|
+
tag: qo,
|
|
503
|
+
md: Ko,
|
|
504
|
+
lg: Qo,
|
|
505
|
+
active: et,
|
|
506
|
+
content: ot,
|
|
507
|
+
iconWrap: tt
|
|
508
|
+
}, rt = {
|
|
509
|
+
md: b.labelMd,
|
|
510
|
+
lg: b.labelLg
|
|
511
|
+
}, lt = ({ value: e, children: a, active: l, disabled: i, size: r = "md", prefixIcon: s, suffixIcon: _, onClick: u }) => /* @__PURE__ */ t.jsx(
|
|
512
|
+
"button",
|
|
513
|
+
{
|
|
514
|
+
className: p(
|
|
515
|
+
j.tag,
|
|
516
|
+
rt[r],
|
|
517
|
+
{ [j.active]: l },
|
|
518
|
+
j[r]
|
|
519
|
+
),
|
|
520
|
+
disabled: i,
|
|
521
|
+
onClick: () => u(e),
|
|
522
|
+
children: /* @__PURE__ */ t.jsxs("div", { className: j.content, children: [
|
|
523
|
+
s && /* @__PURE__ */ t.jsx("div", { className: j.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: s }) }),
|
|
524
|
+
/* @__PURE__ */ t.jsx("p", { children: a }),
|
|
525
|
+
_ && /* @__PURE__ */ t.jsx("div", { className: j.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _ }) })
|
|
526
|
+
] })
|
|
527
|
+
}
|
|
528
|
+
), at = "tabs-module__container___NRX40", st = "tabs-module__tab___McM3m", it = "tabs-module__sm___m4fiR", nt = "tabs-module__lg___SVeHo", _t = "tabs-module__inverted___CBzom", ct = "tabs-module__disabled___AXCIC", dt = "tabs-module__bottom___Ho7ee", mt = "tabs-module__top___jthT8", ut = "tabs-module__activeTab___MHq7V", pt = "tabs-module__brackets___37Jhe", bt = "tabs-module__iconWrap___RY5wP", h = {
|
|
529
|
+
container: at,
|
|
530
|
+
tab: st,
|
|
531
|
+
sm: it,
|
|
532
|
+
lg: nt,
|
|
533
|
+
inverted: _t,
|
|
534
|
+
disabled: ct,
|
|
535
|
+
bottom: dt,
|
|
536
|
+
top: mt,
|
|
537
|
+
activeTab: ut,
|
|
538
|
+
brackets: pt,
|
|
539
|
+
iconWrap: bt
|
|
540
|
+
};
|
|
541
|
+
function lr({
|
|
542
|
+
activeTab: e,
|
|
543
|
+
tabs: a,
|
|
544
|
+
onTabClick: l,
|
|
545
|
+
size: i = "sm",
|
|
546
|
+
activeLinePosition: r = "bottom",
|
|
547
|
+
inverted: s
|
|
548
|
+
}) {
|
|
549
|
+
return /* @__PURE__ */ t.jsx("div", { className: h.container, children: a.map((_) => /* @__PURE__ */ t.jsxs(
|
|
550
|
+
"button",
|
|
551
|
+
{
|
|
552
|
+
className: p(
|
|
553
|
+
h.tab,
|
|
554
|
+
h[i],
|
|
555
|
+
{
|
|
556
|
+
[h.inverted]: s,
|
|
557
|
+
[h.activeTab]: e === _.value,
|
|
558
|
+
[h.disabled]: _.disabled,
|
|
559
|
+
[h.brackets]: i === "lg" && e === _.value && a.length > 1
|
|
560
|
+
},
|
|
561
|
+
h[r],
|
|
562
|
+
_.className
|
|
563
|
+
),
|
|
564
|
+
disabled: _.disabled,
|
|
565
|
+
onClick: () => l(_.value),
|
|
566
|
+
children: [
|
|
567
|
+
_.prefixIcon && /* @__PURE__ */ t.jsx("div", { className: h.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _.prefixIcon }) }),
|
|
568
|
+
/* @__PURE__ */ t.jsx("div", { children: _.label }),
|
|
569
|
+
_.suffixIcon && /* @__PURE__ */ t.jsx("div", { className: h.iconWrap, children: /* @__PURE__ */ t.jsx(w, { name: _.suffixIcon }) })
|
|
570
|
+
]
|
|
571
|
+
},
|
|
572
|
+
String(_.value)
|
|
573
|
+
)) });
|
|
574
|
+
}
|
|
575
|
+
const gt = (e) => /* @__PURE__ */ y.createElement("svg", { width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ y.createElement("g", { clipPath: "url(#clip0_984_190)" }, /* @__PURE__ */ y.createElement("path", { d: "M10 3.3496L6.73464 0.0842285L6 0.818839L9.2654 4.08423L10 3.3496Z" }), /* @__PURE__ */ y.createElement("path", { d: "M3.26537 0.0842285L0 3.34962L0.734613 4.08423L4 0.818844L3.26537 0.0842285Z" }), /* @__PURE__ */ y.createElement("path", { d: "M9.2654 6.08423L6 9.34962L6.7346 10.0842L10 6.81883L9.2654 6.08423Z" }), /* @__PURE__ */ y.createElement("path", { d: "M4 9.34959L0.734618 6.08423L0 6.81886L3.2654 10.0842L4 9.34959Z" })), /* @__PURE__ */ y.createElement("defs", null, /* @__PURE__ */ y.createElement("clipPath", { id: "clip0_984_190" }, /* @__PURE__ */ y.createElement("rect", { width: 10, height: 10, fill: "white" })))), ht = "typeBadge-module__typeBadge___Jxk0v", yt = "typeBadge-module__badgeIcon___BIDN2", re = {
|
|
576
|
+
typeBadge: ht,
|
|
577
|
+
badgeIcon: yt
|
|
578
|
+
};
|
|
579
|
+
var ft = /* @__PURE__ */ ((e) => (e.SENESCENCE = "senescence", e.SUPPLEMENTS = "supplements", e.OUTLINE = "outline", e.ENERGY = "energy", e.METABOLISM = "metabolism", e.LABS = "labs", e))(ft || {});
|
|
580
|
+
const ar = ({
|
|
581
|
+
type: e = "senescence"
|
|
582
|
+
/* SENESCENCE */
|
|
583
|
+
}) => /* @__PURE__ */ t.jsx("div", { className: re.typeBadge, "data-type": e, children: /* @__PURE__ */ t.jsx(gt, { className: re.badgeIcon }) }), vt = "contentTabs-module__root___vJVGt", Rt = "contentTabs-module__tabWrap___jwBNf", kt = "contentTabs-module__tab___oMzRn", wt = "contentTabs-module__light___LyVtp", St = "contentTabs-module__dark___-VJo6", Tt = "contentTabs-module__activeTab___0Uvh6", xt = "contentTabs-module__icon___nyuv-", jt = "contentTabs-module__description___sM2G-", Ct = "contentTabs-module__descriptionActive___aa8C1", R = {
|
|
584
|
+
root: vt,
|
|
585
|
+
tabWrap: Rt,
|
|
586
|
+
tab: kt,
|
|
587
|
+
light: wt,
|
|
588
|
+
dark: St,
|
|
589
|
+
activeTab: Tt,
|
|
590
|
+
icon: xt,
|
|
591
|
+
description: jt,
|
|
592
|
+
descriptionActive: Ct
|
|
593
|
+
};
|
|
594
|
+
function Lt({ tabs: e, activeTab: a, colorScheme: l, onTabClick: i }) {
|
|
595
|
+
return /* @__PURE__ */ t.jsx("div", { className: p(R.root, R[l]), children: e.map((r) => /* @__PURE__ */ t.jsxs("div", { className: R.tabWrap, children: [
|
|
596
|
+
/* @__PURE__ */ t.jsxs(
|
|
597
|
+
"button",
|
|
598
|
+
{
|
|
599
|
+
className: p(R.tab, { [R.activeTab]: a.label === r.label }),
|
|
600
|
+
onClick: () => i(r),
|
|
601
|
+
children: [
|
|
602
|
+
r.icon && /* @__PURE__ */ t.jsx("div", { className: R.icon, children: /* @__PURE__ */ t.jsx(w, { name: r.icon }) }),
|
|
603
|
+
/* @__PURE__ */ t.jsx("div", { className: b.headingXs, children: r.label })
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
),
|
|
607
|
+
/* @__PURE__ */ t.jsx(
|
|
608
|
+
"p",
|
|
609
|
+
{
|
|
610
|
+
className: p(
|
|
611
|
+
R.description,
|
|
612
|
+
{ [R.descriptionActive]: a.label === r.label },
|
|
613
|
+
b.bodySm
|
|
614
|
+
),
|
|
615
|
+
children: r.description
|
|
616
|
+
}
|
|
617
|
+
)
|
|
618
|
+
] }, String(r.label))) });
|
|
619
|
+
}
|
|
620
|
+
const At = "productGalleryCard-module__root___oGJjs", Et = "productGalleryCard-module__buttonContainer___0D5Ov", Ot = "productGalleryCard-module__productInfo___IZeoL", Mt = "productGalleryCard-module__title___dnRaF", Pt = "productGalleryCard-module__price___dNy0O", Xt = "productGalleryCard-module__productImage___uSNso", C = {
|
|
621
|
+
root: At,
|
|
622
|
+
buttonContainer: Et,
|
|
623
|
+
productInfo: Ot,
|
|
624
|
+
title: Mt,
|
|
625
|
+
price: Pt,
|
|
626
|
+
productImage: Xt
|
|
627
|
+
}, sr = ({
|
|
628
|
+
title: e,
|
|
629
|
+
price: a,
|
|
630
|
+
image: l,
|
|
631
|
+
buttons: i,
|
|
632
|
+
link: r
|
|
633
|
+
}) => {
|
|
634
|
+
const s = (_) => {
|
|
635
|
+
_.preventDefault(), _.stopPropagation();
|
|
636
|
+
};
|
|
637
|
+
return /* @__PURE__ */ t.jsxs("a", { href: r, target: "_blank", rel: "noopener noreferrer", className: C.root, children: [
|
|
638
|
+
/* @__PURE__ */ t.jsxs("div", { className: C.productInfo, children: [
|
|
639
|
+
/* @__PURE__ */ t.jsx(E, { defaultVariant: "bodyXl", className: C.title, children: e }),
|
|
640
|
+
/* @__PURE__ */ t.jsx(E, { defaultVariant: "bodyXl", className: C.price, children: a })
|
|
641
|
+
] }),
|
|
642
|
+
/* @__PURE__ */ t.jsx("img", { src: l, alt: "product image", className: C.productImage }),
|
|
643
|
+
/* @__PURE__ */ t.jsx("div", { onClick: s, className: C.buttonContainer, children: i.map((_, u) => /* @__PURE__ */ t.jsx(ae, { ..._, children: _.label }, u)) })
|
|
644
|
+
] });
|
|
645
|
+
}, Nt = "highlightedTitle-module__root___lYJkw", Wt = "highlightedTitle-module__title___W-4jC", $t = "highlightedTitle-module__tag___DyjPy", Ft = "highlightedTitle-module__taggedTitle___RYwDP", $ = {
|
|
646
|
+
root: Nt,
|
|
647
|
+
title: Wt,
|
|
648
|
+
tag: $t,
|
|
649
|
+
taggedTitle: Ft
|
|
650
|
+
}, se = ({
|
|
651
|
+
title: e,
|
|
652
|
+
tag: a,
|
|
653
|
+
className: l,
|
|
654
|
+
defaultVariant: i = "displayMd",
|
|
655
|
+
as: r = "h2",
|
|
656
|
+
mobileVariant: s = "headingLg",
|
|
657
|
+
colorScheme: _ = "light"
|
|
658
|
+
}) => /* @__PURE__ */ t.jsxs("div", { "data-scheme": _, className: p($.root, l), children: [
|
|
659
|
+
a && /* @__PURE__ */ t.jsx(E, { as: "p", defaultVariant: "labelMd", emphasis: !0, className: $.tag, children: a }),
|
|
660
|
+
/* @__PURE__ */ t.jsx(
|
|
661
|
+
E,
|
|
662
|
+
{
|
|
663
|
+
as: r,
|
|
664
|
+
defaultVariant: i,
|
|
665
|
+
mobileVariant: s,
|
|
666
|
+
className: p($.title, { [$.taggedTitle]: !!a }),
|
|
667
|
+
children: e
|
|
668
|
+
}
|
|
669
|
+
)
|
|
670
|
+
] }), Dt = "protocolTags-module__root___q4ybt", Vt = "protocolTags-module__tags___aaJJA", Gt = "protocolTags-module__mobile___4hH2G", Yt = "protocolTags-module__desktop___kl9fI", L = {
|
|
671
|
+
root: Dt,
|
|
672
|
+
tags: Vt,
|
|
673
|
+
mobile: Gt,
|
|
674
|
+
desktop: Yt
|
|
675
|
+
}, Ht = ({ tags: e }) => {
|
|
676
|
+
var r;
|
|
677
|
+
const [a, l] = U(((r = e[0]) == null ? void 0 : r.label) || null), i = Te(() => {
|
|
678
|
+
var s;
|
|
679
|
+
return (s = e.find((_) => _.label === a)) == null ? void 0 : s.description;
|
|
680
|
+
}, [a, e]);
|
|
681
|
+
return /* @__PURE__ */ t.jsxs("div", { className: L.root, children: [
|
|
682
|
+
/* @__PURE__ */ t.jsx("div", { className: L.tags, children: e.map((s) => /* @__PURE__ */ t.jsx(
|
|
683
|
+
lt,
|
|
684
|
+
{
|
|
685
|
+
value: s.label,
|
|
686
|
+
size: "md",
|
|
687
|
+
active: s.label === a,
|
|
688
|
+
onClick: l,
|
|
689
|
+
children: s.label
|
|
690
|
+
},
|
|
691
|
+
s.label
|
|
692
|
+
)) }),
|
|
693
|
+
i && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
694
|
+
/* @__PURE__ */ t.jsx(E, { as: "p", defaultVariant: "bodyLg", className: p(L.description, L.desktop), children: i }),
|
|
695
|
+
/* @__PURE__ */ t.jsx(E, { as: "p", defaultVariant: "bodyMd", className: p(L.description, L.mobile), children: i })
|
|
696
|
+
] })
|
|
697
|
+
] });
|
|
698
|
+
}, Ut = "yourProtocol-module__root___Q35lO", Jt = "yourProtocol-module__content___mMf6R", Bt = "yourProtocol-module__title___xNPOR", It = "yourProtocol-module__image___fVaOZ", Zt = "yourProtocol-module__callback___bvu49", zt = "yourProtocol-module__desktop___pl-rW", A = {
|
|
699
|
+
root: Ut,
|
|
700
|
+
content: Jt,
|
|
701
|
+
title: Bt,
|
|
702
|
+
image: It,
|
|
703
|
+
callback: Zt,
|
|
704
|
+
desktop: zt
|
|
705
|
+
}, ir = ({ title: e, image: a, tags: l, callbackView: i }) => /* @__PURE__ */ t.jsxs("div", { className: A.root, children: [
|
|
706
|
+
/* @__PURE__ */ t.jsxs("div", { className: A.content, children: [
|
|
707
|
+
/* @__PURE__ */ t.jsx(
|
|
708
|
+
se,
|
|
709
|
+
{
|
|
710
|
+
title: e,
|
|
711
|
+
className: A.title,
|
|
712
|
+
defaultVariant: "displayMd",
|
|
713
|
+
mobileVariant: "headingXl"
|
|
714
|
+
}
|
|
715
|
+
),
|
|
716
|
+
/* @__PURE__ */ t.jsx(Ht, { tags: l }),
|
|
717
|
+
/* @__PURE__ */ t.jsx("div", { className: A.callback, children: "TODO: Callback ZEN-392" })
|
|
718
|
+
] }),
|
|
719
|
+
/* @__PURE__ */ t.jsx("img", { src: a, alt: "Your Protocol", className: p(A.image, A.desktop), width: 481, height: 640 })
|
|
720
|
+
] }), qt = "totalCare-module__root___ZMGef", Kt = "totalCare-module__header___5sFQT", Qt = "totalCare-module__content___JZOOr", er = "totalCare-module__tags___7QHnt", or = "totalCare-module__image___mSoRY", X = {
|
|
721
|
+
root: qt,
|
|
722
|
+
header: Kt,
|
|
723
|
+
content: Qt,
|
|
724
|
+
tags: er,
|
|
725
|
+
image: or
|
|
726
|
+
}, nr = ({ title: e, tag: a, contentTabs: l, colorScheme: i }) => {
|
|
727
|
+
const [r, s] = U(l.tabs[0]);
|
|
728
|
+
return /* @__PURE__ */ t.jsxs("div", { className: X.root, "data-scheme": i, children: [
|
|
729
|
+
/* @__PURE__ */ t.jsx(
|
|
730
|
+
se,
|
|
731
|
+
{
|
|
732
|
+
title: e,
|
|
733
|
+
tag: a,
|
|
734
|
+
className: X.header,
|
|
735
|
+
colorScheme: i
|
|
736
|
+
}
|
|
737
|
+
),
|
|
738
|
+
/* @__PURE__ */ t.jsxs("div", { className: X.content, children: [
|
|
739
|
+
/* @__PURE__ */ t.jsx("div", { className: X.tags, children: /* @__PURE__ */ t.jsx(
|
|
740
|
+
Lt,
|
|
741
|
+
{
|
|
742
|
+
activeTab: r,
|
|
743
|
+
tabs: l.tabs,
|
|
744
|
+
colorScheme: l.colorScheme,
|
|
745
|
+
onTabClick: s
|
|
746
|
+
}
|
|
747
|
+
) }),
|
|
748
|
+
r.image && /* @__PURE__ */ t.jsx("img", { src: r.image, alt: "Total Care", className: X.image })
|
|
749
|
+
] })
|
|
750
|
+
] });
|
|
751
|
+
};
|
|
752
|
+
export {
|
|
753
|
+
ae as Button,
|
|
754
|
+
Lt as ContentTabs,
|
|
755
|
+
le as EIconName,
|
|
756
|
+
ft as ETypeBadge,
|
|
757
|
+
se as HighlightedTitle,
|
|
758
|
+
w as Icon,
|
|
759
|
+
rr as Label,
|
|
760
|
+
sr as ProductGalleryCard,
|
|
761
|
+
lr as Tabs,
|
|
762
|
+
lt as Tag,
|
|
763
|
+
nr as TotalCare,
|
|
764
|
+
ar as TypeBadge,
|
|
765
|
+
E as Typography,
|
|
766
|
+
ir as YourProtocol,
|
|
767
|
+
p as cn,
|
|
768
|
+
Xo as isHsIcon,
|
|
769
|
+
b as typography
|
|
770
|
+
};
|
|
771
|
+
//# sourceMappingURL=healthspan-ui.es.js.map
|