@zenpatient-org/healthspan-marketing-ui 0.1.19 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/README.md +18 -16
  2. package/dist/_virtual/Popover.cjs.js +1 -0
  3. package/dist/_virtual/Popover.es.js +5 -0
  4. package/dist/_virtual/Popover.es2.js +4 -0
  5. package/dist/_virtual/{jsx-runtime.cjs2.js → PopoverPortal.cjs.js} +1 -1
  6. package/dist/_virtual/PopoverPortal.es.js +4 -0
  7. package/dist/_virtual/useArrowContainer.cjs.js +1 -0
  8. package/dist/_virtual/useArrowContainer.es.js +4 -0
  9. package/dist/_virtual/useElementRef.cjs.js +1 -0
  10. package/dist/_virtual/useHandlePrevValues.cjs.js +1 -0
  11. package/dist/_virtual/useHandlePrevValues.es.js +4 -0
  12. package/dist/_virtual/useMemoizedArray.cjs.js +1 -0
  13. package/dist/_virtual/useMemoizedArray.es.js +4 -0
  14. package/dist/_virtual/usePopover.cjs.js +1 -0
  15. package/dist/_virtual/usePopover.es.js +4 -0
  16. package/dist/_virtual/util.cjs.js +1 -0
  17. package/dist/_virtual/util.es.js +4 -0
  18. package/dist/components/Benefit/Benefit.cjs.js +1 -0
  19. package/dist/components/Benefit/Benefit.es.js +13 -0
  20. package/dist/components/Benefit/benefit.module.css.cjs.js +1 -0
  21. package/dist/components/Benefit/benefit.module.css.es.js +9 -0
  22. package/dist/components/Button/Button.cjs.js +1 -1
  23. package/dist/components/Button/Button.es.js +13 -13
  24. package/dist/components/Callback/Callback.cjs.js +1 -1
  25. package/dist/components/Callback/Callback.es.js +34 -35
  26. package/dist/components/ComplexTooltip/ComplexTooltip.cjs.js +1 -0
  27. package/dist/components/ComplexTooltip/ComplexTooltip.es.js +70 -0
  28. package/dist/components/ComplexTooltip/complexTooltip.module.css.cjs.js +1 -0
  29. package/dist/components/ComplexTooltip/complexTooltip.module.css.es.js +17 -0
  30. package/dist/components/ContentTabs/ContentTabs.cjs.js +1 -1
  31. package/dist/components/ContentTabs/ContentTabs.es.js +19 -19
  32. package/dist/components/Cursor/Cursor.cjs.js +1 -0
  33. package/dist/components/Cursor/Cursor.es.js +9 -0
  34. package/dist/components/Cursor/components/ClientCursor.cjs.js +1 -0
  35. package/dist/components/Cursor/components/ClientCursor.es.js +42 -0
  36. package/dist/components/Cursor/components/ServerCursor.cjs.js +1 -0
  37. package/dist/components/Cursor/components/ServerCursor.es.js +4 -0
  38. package/dist/components/Cursor/cursor.module.css.cjs.js +1 -0
  39. package/dist/components/Cursor/cursor.module.css.es.js +11 -0
  40. package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
  41. package/dist/components/FilterMenu/FilterMenu.es.js +18 -17
  42. package/dist/components/HighlightedTitle/HighlightedTitle.cjs.js +1 -1
  43. package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +1 -1
  44. package/dist/components/HighlightedTitle/HighlightedTitle.es.js +22 -33
  45. package/dist/components/Icon/Icon.cjs.js +1 -1
  46. package/dist/components/Icon/Icon.es.js +7 -16
  47. package/dist/components/Icon/iconsMap.cjs.js +1 -0
  48. package/dist/components/Icon/iconsMap.d.ts +4 -0
  49. package/dist/components/Icon/iconsMap.es.js +110 -0
  50. package/dist/components/IconButton/IconButton.cjs.js +1 -1
  51. package/dist/components/IconButton/IconButton.es.js +12 -13
  52. package/dist/components/InfiniteScroll/InfiniteScroll.cjs.js +1 -1
  53. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +34 -33
  54. package/dist/components/Label/Label.cjs.js +1 -1
  55. package/dist/components/Label/Label.es.js +8 -8
  56. package/dist/components/ProductGallery/ProductGallery.cjs.js +1 -1
  57. package/dist/components/ProductGallery/ProductGallery.es.js +46 -45
  58. package/dist/components/ProductGalleryCard/ProductGalleryCard.cjs.js +1 -1
  59. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +15 -15
  60. package/dist/components/ProductListing/ProductListing.cjs.js +1 -0
  61. package/dist/components/ProductListing/ProductListing.es.js +30 -0
  62. package/dist/components/ProductListing/productListing.module.css.cjs.js +1 -0
  63. package/dist/components/ProductListing/productListing.module.css.es.js +29 -0
  64. package/dist/components/ProgramCard/ProgramCard.cjs.js +1 -0
  65. package/dist/components/ProgramCard/ProgramCard.es.js +48 -0
  66. package/dist/components/ProgramCard/assets/program_card_bg.png.cjs.js +1 -0
  67. package/dist/components/ProgramCard/assets/program_card_bg.png.es.js +4 -0
  68. package/dist/components/ProgramCard/programCard.module.css.cjs.js +1 -0
  69. package/dist/components/ProgramCard/programCard.module.css.es.js +7 -0
  70. package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
  71. package/dist/components/ProgressButton/ProgressButton.es.js +18 -19
  72. package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -1
  73. package/dist/components/StepsCarousel/StepsCarousel.es.js +40 -39
  74. package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -0
  75. package/dist/components/StudyGridCard/StudyGridCard.es.js +61 -0
  76. package/dist/components/StudyGridCard/studyGridCard.module.css.cjs.js +1 -0
  77. package/dist/components/StudyGridCard/studyGridCard.module.css.es.js +19 -0
  78. package/dist/components/Tabs/Tabs.cjs.js +1 -1
  79. package/dist/components/Tabs/Tabs.es.js +20 -20
  80. package/dist/components/Tabs/TabsWithFade.cjs.js +1 -1
  81. package/dist/components/Tabs/TabsWithFade.es.js +16 -15
  82. package/dist/components/Tag/Tag.cjs.js +1 -1
  83. package/dist/components/Tag/Tag.es.js +15 -15
  84. package/dist/components/TextButton/TextButton.cjs.js +1 -1
  85. package/dist/components/TextButton/TextButton.es.js +18 -18
  86. package/dist/components/TypeBadge/TypeBadge.cjs.js +1 -1
  87. package/dist/components/TypeBadge/TypeBadge.es.js +4 -4
  88. package/dist/components/Typography/Typography.cjs.js +1 -1
  89. package/dist/components/Typography/Typography.es.js +9 -9
  90. package/dist/components/index.d.ts +0 -27
  91. package/dist/healthspan-marketing-ui.css +1 -1
  92. package/dist/index.cjs.js +1 -1
  93. package/dist/index.d.ts +0 -3
  94. package/dist/index.es.js +2 -57
  95. package/dist/modules/Callback/Callback.cjs.js +1 -0
  96. package/dist/modules/Callback/Callback.d.ts +1 -1
  97. package/dist/modules/Callback/Callback.es.js +36 -0
  98. package/dist/modules/Callback/callback.module.css.cjs.js +1 -0
  99. package/dist/modules/Callback/callback.module.css.es.js +13 -0
  100. package/dist/modules/Comparison/Comparison.cjs.js +1 -0
  101. package/dist/modules/Comparison/Comparison.es.js +86 -0
  102. package/dist/modules/Comparison/assets/company-logo.svg.cjs.js +1 -0
  103. package/dist/modules/Comparison/assets/company-logo.svg.es.js +5 -0
  104. package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -0
  105. package/dist/modules/Comparison/comparison.module.css.es.js +39 -0
  106. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.cjs.js +1 -0
  107. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.es.js +42 -0
  108. package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.cjs.js +1 -0
  109. package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.es.js +27 -0
  110. package/dist/modules/Comparison/utils.cjs.js +1 -0
  111. package/dist/modules/Comparison/utils.es.js +4 -0
  112. package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -0
  113. package/dist/modules/FeaturedIn/FeaturedIn.es.js +54 -0
  114. package/dist/modules/FeaturedIn/featuredIn.module.css.cjs.js +1 -0
  115. package/dist/modules/FeaturedIn/featuredIn.module.css.es.js +37 -0
  116. package/dist/modules/FeaturesGallery/FeaturesGallery.cjs.js +1 -0
  117. package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +22 -0
  118. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.cjs.js +1 -0
  119. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +29 -0
  120. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.cjs.js +1 -0
  121. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.es.js +21 -0
  122. package/dist/modules/FeaturesGallery/featuresGallery.module.css.cjs.js +1 -0
  123. package/dist/modules/FeaturesGallery/featuresGallery.module.css.es.js +21 -0
  124. package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -0
  125. package/dist/modules/FollowTheScience/FollowTheScience.es.js +73 -0
  126. package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -0
  127. package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +15 -0
  128. package/dist/modules/HowItWorks/HowItWorks.cjs.js +1 -0
  129. package/dist/modules/HowItWorks/HowItWorks.es.js +16 -0
  130. package/dist/modules/HowItWorks/components/Content/Content.cjs.js +1 -0
  131. package/dist/modules/HowItWorks/components/Content/Content.es.js +65 -0
  132. package/dist/modules/HowItWorks/components/Content/content.module.css.cjs.js +1 -0
  133. package/dist/modules/HowItWorks/components/Content/content.module.css.es.js +21 -0
  134. package/dist/modules/HowItWorks/howItWorks.module.css.cjs.js +1 -0
  135. package/dist/modules/HowItWorks/howItWorks.module.css.es.js +13 -0
  136. package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -0
  137. package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -0
  138. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -0
  139. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +37 -0
  140. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -0
  141. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +15 -0
  142. package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +1 -0
  143. package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +13 -0
  144. package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -0
  145. package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +19 -0
  146. package/dist/modules/OurProcess/OurProcess.cjs.js +1 -0
  147. package/dist/modules/OurProcess/OurProcess.d.ts +1 -1
  148. package/dist/modules/OurProcess/OurProcess.es.js +15 -0
  149. package/dist/modules/OurProcess/ourProcess.module.css.cjs.js +1 -0
  150. package/dist/modules/OurProcess/ourProcess.module.css.es.js +11 -0
  151. package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
  152. package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +17 -22
  153. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js +1 -1
  154. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -1
  155. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js +9 -19
  156. package/dist/modules/ProductsDisplay/types.d.ts +1 -1
  157. package/dist/modules/ProductsDisplay/useProductsData.cjs.js +1 -1
  158. package/dist/modules/ProductsDisplay/useProductsData.d.ts +2 -1
  159. package/dist/modules/ProductsDisplay/useProductsData.es.js +8 -7
  160. package/dist/modules/Studies/Studies.cjs.js +1 -0
  161. package/dist/modules/Studies/Studies.es.js +26 -0
  162. package/dist/modules/Studies/studies.module.css.cjs.js +1 -0
  163. package/dist/modules/Studies/studies.module.css.es.js +15 -0
  164. package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -0
  165. package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +67 -0
  166. package/dist/modules/TargetedPrograms/targetedPrograms.module.css.cjs.js +1 -0
  167. package/dist/modules/TargetedPrograms/targetedPrograms.module.css.es.js +15 -0
  168. package/dist/modules/TotalCare/TotalCare.cjs.js +1 -1
  169. package/dist/modules/TotalCare/TotalCare.d.ts +1 -1
  170. package/dist/modules/TotalCare/TotalCare.es.js +18 -27
  171. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  172. package/dist/modules/YourProtocol/YourProtocol.es.js +19 -30
  173. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.cjs.js +1 -1
  174. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +19 -27
  175. package/dist/modules/index.d.ts +0 -3
  176. package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.cjs.js +1 -0
  177. package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.es.js +37 -0
  178. package/dist/node_modules/react-tiny-popover/dist/Popover.cjs.js +1 -0
  179. package/dist/node_modules/react-tiny-popover/dist/Popover.es.js +147 -0
  180. package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.cjs.js +1 -0
  181. package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.es.js +20 -0
  182. package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.cjs.js +1 -0
  183. package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.es.js +86 -0
  184. package/dist/node_modules/react-tiny-popover/dist/useElementRef.cjs.js +1 -0
  185. package/dist/node_modules/react-tiny-popover/dist/useElementRef.es.js +22 -0
  186. package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.cjs.js +1 -0
  187. package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.es.js +34 -0
  188. package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.cjs.js +1 -0
  189. package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.es.js +24 -0
  190. package/dist/node_modules/react-tiny-popover/dist/usePopover.cjs.js +1 -0
  191. package/dist/node_modules/react-tiny-popover/dist/usePopover.es.js +140 -0
  192. package/dist/node_modules/react-tiny-popover/dist/util.cjs.js +1 -0
  193. package/dist/node_modules/react-tiny-popover/dist/util.es.js +81 -0
  194. package/dist/utils/index.d.ts +0 -4
  195. package/dist/utils/isHsIcon/isHsIcon.cjs.js +1 -0
  196. package/dist/utils/{isHsIcon.es.js → isHsIcon/isHsIcon.es.js} +1 -1
  197. package/package.json +206 -5
  198. package/dist/_virtual/dynamic-import-helper.cjs.js +0 -1
  199. package/dist/_virtual/dynamic-import-helper.es.js +0 -16
  200. package/dist/_virtual/jsx-runtime.cjs.js +0 -1
  201. package/dist/_virtual/jsx-runtime.es.js +0 -5
  202. package/dist/_virtual/jsx-runtime.es2.js +0 -4
  203. package/dist/icons/map/pin-drop.svg.cjs.js +0 -1
  204. package/dist/icons/map/pin-drop.svg.es.js +0 -5
  205. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +0 -14
  206. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -247
  207. package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs.js +0 -9
  208. package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js +0 -35
  209. package/dist/node_modules/react/jsx-runtime.cjs.js +0 -1
  210. package/dist/node_modules/react/jsx-runtime.es.js +0 -10
  211. package/dist/utils/isHsIcon.cjs.js +0 -1
  212. package/dist/utils.cjs.js +0 -1
  213. package/dist/utils.es.js +0 -10
  214. /package/dist/_virtual/{react-jsx-runtime.development.cjs.js → ArrowContainer.cjs.js} +0 -0
  215. /package/dist/_virtual/{react-jsx-runtime.production.es.js → ArrowContainer.es.js} +0 -0
  216. /package/dist/_virtual/{react-jsx-runtime.production.cjs.js → Popover.cjs2.js} +0 -0
  217. /package/dist/_virtual/{react-jsx-runtime.development.es.js → useElementRef.es.js} +0 -0
  218. /package/dist/{utils → lib}/useSwiper.d.ts +0 -0
  219. /package/dist/utils/{cn.cjs.js → cn/cn.cjs.js} +0 -0
  220. /package/dist/utils/{cn.es.js → cn/cn.es.js} +0 -0
  221. /package/dist/utils/{formatUnits.cjs.js → formatUnits/formatUnits.cjs.js} +0 -0
  222. /package/dist/utils/{formatUnits.es.js → formatUnits/formatUnits.es.js} +0 -0
  223. /package/dist/utils/{useSwiper.cjs.js → useSwiper/useSwiper.cjs.js} +0 -0
  224. /package/dist/utils/{useSwiper.es.js → useSwiper/useSwiper.es.js} +0 -0
@@ -0,0 +1,21 @@
1
+ const e = "featuresGallery-module__root___yTaXS", r = "featuresGallery-module__container___pKoZa", a = "featuresGallery-module__header___DTriD", _ = "featuresGallery-module__features___bl4GE", t = "featuresGallery-module__primaryFeatures___vrd5c", o = "featuresGallery-module__secondaryFeatures___IMF1X", l = "featuresGallery-module__footer___pAZ39", s = "featuresGallery-module__label___jasDl", u = {
2
+ root: e,
3
+ container: r,
4
+ header: a,
5
+ features: _,
6
+ primaryFeatures: t,
7
+ secondaryFeatures: o,
8
+ footer: l,
9
+ label: s
10
+ };
11
+ export {
12
+ r as container,
13
+ u as default,
14
+ _ as features,
15
+ l as footer,
16
+ a as header,
17
+ s as label,
18
+ t as primaryFeatures,
19
+ e as root,
20
+ o as secondaryFeatures
21
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");;/* empty css */;/* empty css */;/* empty css */const w=require("../../node_modules/swiper/modules/navigation.cjs.js"),l=require("../../node_modules/swiper/swiper-react.cjs.js"),x=require("../../components/Benefit/Benefit.cjs.js"),f=require("../../components/Icon/constants.cjs.js"),g=require("../../components/Label/Label.cjs.js"),c=require("../../components/ProgressButton/ProgressButton.cjs.js"),_=require("../../components/TextButton/TextButton.cjs.js"),q=require("../../utils/useSwiper/useSwiper.cjs.js"),i=require("./followTheScience.module.css.cjs.js"),j=[w.default];function B({labelText:d,benefits:a}){const{activeIndex:n,setIsEnd:u,isEnd:t,handleSlideChange:h,handlePrevClick:r,handleNextClick:o,onSwiperInit:p,handleSwiperResize:S}=q.useSwiper();return e.jsxs("div",{className:i.default.container,children:[e.jsxs("div",{className:i.default.heading,children:[e.jsx(g.Label,{color:"white",size:"lg",children:d}),e.jsx("div",{className:i.default.progressButtons,"data-device":"desktop",children:e.jsx(c.ProgressButton,{left:{onClick:r,disabled:n<=0},right:{disabled:t,onClick:o}})})]}),e.jsx("div",{children:e.jsx(l.Swiper,{onSwiper:p,onResize:S,onSlideChange:h,onReachEnd:()=>u(!0),modules:j,spaceBetween:0,slidesPerView:"auto",className:i.default.swiper,children:a.map((s,m)=>e.jsx(l.SwiperSlide,{className:i.default.swiperSlide,children:e.jsx(x.Benefit,{title:s.title,description:s.description,button:e.jsx(_.TextButton,{as:"a",size:"sm",color:"white",suffixIcon:f.EIconName.ARROW_FORWARD,href:s.link,children:"READ THE STUDY"})})},m))})}),e.jsx("div",{className:i.default.progressButtons,"data-device":"mobile",children:e.jsx(c.ProgressButton,{left:{onClick:r,disabled:n<=0},right:{onClick:o,disabled:t}})})]})}exports.FollowTheScience=B;
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ import u from "../../node_modules/swiper/modules/navigation.es.js";
7
+ import { Swiper as w, SwiperSlide as g } from "../../node_modules/swiper/swiper-react.es.js";
8
+ import { Benefit as v } from "../../components/Benefit/Benefit.es.js";
9
+ import { EIconName as N } from "../../components/Icon/constants.es.js";
10
+ import { Label as R } from "../../components/Label/Label.es.js";
11
+ import { ProgressButton as d } from "../../components/ProgressButton/ProgressButton.es.js";
12
+ import { TextButton as k } from "../../components/TextButton/TextButton.es.js";
13
+ import { useSwiper as C } from "../../utils/useSwiper/useSwiper.es.js";
14
+ import i from "./followTheScience.module.css.es.js";
15
+ const E = [u];
16
+ function L({ labelText: a, benefits: c }) {
17
+ const { activeIndex: r, setIsEnd: m, isEnd: t, handleSlideChange: p, handlePrevClick: s, handleNextClick: n, onSwiperInit: h, handleSwiperResize: f } = C();
18
+ return /* @__PURE__ */ l("div", { className: i.container, children: [
19
+ /* @__PURE__ */ l("div", { className: i.heading, children: [
20
+ /* @__PURE__ */ e(R, { color: "white", size: "lg", children: a }),
21
+ /* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "desktop", children: /* @__PURE__ */ e(
22
+ d,
23
+ {
24
+ left: {
25
+ onClick: s,
26
+ disabled: r <= 0
27
+ },
28
+ right: {
29
+ disabled: t,
30
+ onClick: n
31
+ }
32
+ }
33
+ ) })
34
+ ] }),
35
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
36
+ w,
37
+ {
38
+ onSwiper: h,
39
+ onResize: f,
40
+ onSlideChange: p,
41
+ onReachEnd: () => m(!0),
42
+ modules: E,
43
+ spaceBetween: 0,
44
+ slidesPerView: "auto",
45
+ className: i.swiper,
46
+ children: c.map((o, S) => /* @__PURE__ */ e(g, { className: i.swiperSlide, children: /* @__PURE__ */ e(
47
+ v,
48
+ {
49
+ title: o.title,
50
+ description: o.description,
51
+ button: /* @__PURE__ */ e(k, { as: "a", size: "sm", color: "white", suffixIcon: N.ARROW_FORWARD, href: o.link, children: "READ THE STUDY" })
52
+ }
53
+ ) }, S))
54
+ }
55
+ ) }),
56
+ /* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "mobile", children: /* @__PURE__ */ e(
57
+ d,
58
+ {
59
+ left: {
60
+ onClick: s,
61
+ disabled: r <= 0
62
+ },
63
+ right: {
64
+ onClick: n,
65
+ disabled: t
66
+ }
67
+ }
68
+ ) })
69
+ ] });
70
+ }
71
+ export {
72
+ L as FollowTheScience
73
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="followTheScience-module__container___Aur-g",o="followTheScience-module__heading___R9F6F",s="followTheScience-module__swiper___iUsAd",i="followTheScience-module__swiperSlide___YMeah",n="followTheScience-module__progressButtons___mzqTh",t={container:e,heading:o,swiper:s,swiperSlide:i,progressButtons:n};exports.container=e;exports.default=t;exports.heading=o;exports.progressButtons=n;exports.swiper=s;exports.swiperSlide=i;
@@ -0,0 +1,15 @@
1
+ const e = "followTheScience-module__container___Aur-g", o = "followTheScience-module__heading___R9F6F", s = "followTheScience-module__swiper___iUsAd", _ = "followTheScience-module__swiperSlide___YMeah", n = "followTheScience-module__progressButtons___mzqTh", i = {
2
+ container: e,
3
+ heading: o,
4
+ swiper: s,
5
+ swiperSlide: _,
6
+ progressButtons: n
7
+ };
8
+ export {
9
+ e as container,
10
+ i as default,
11
+ o as heading,
12
+ n as progressButtons,
13
+ s as swiper,
14
+ _ as swiperSlide
15
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../components/Button/Button.cjs.js"),n=require("../../components/Typography/Typography.cjs.js"),i=require("./components/Content/Content.cjs.js"),t=require("./howItWorks.module.css.cjs.js"),l=({title:o,getStartedLink:s,items:a})=>e.jsxs("section",{className:t.default.root,children:[e.jsxs("div",{className:t.default.headerContainer,children:[e.jsx(n.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:o}),s&&e.jsx("div",{className:t.default.desktop,children:e.jsx(r.Button,{as:"a",href:s,variant:"muted",size:"lg",children:"Get started"})}),s&&e.jsx("div",{className:t.default.mobile,children:e.jsx(r.Button,{as:"a",href:s,variant:"muted",size:"sm",children:"Get started"})})]}),e.jsx(i.Content,{items:a})]});exports.HowItWorks=l;
@@ -0,0 +1,16 @@
1
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
+ import { Button as i } from "../../components/Button/Button.es.js";
3
+ import { Typography as m } from "../../components/Typography/Typography.es.js";
4
+ import { Content as l } from "./components/Content/Content.es.js";
5
+ import a from "./howItWorks.module.css.es.js";
6
+ const f = ({ title: o, getStartedLink: e, items: t }) => /* @__PURE__ */ s("section", { className: a.root, children: [
7
+ /* @__PURE__ */ s("div", { className: a.headerContainer, children: [
8
+ /* @__PURE__ */ r(m, { as: "h2", defaultVariant: "displayMd", mobileVariant: "headingXl", children: o }),
9
+ e && /* @__PURE__ */ r("div", { className: a.desktop, children: /* @__PURE__ */ r(i, { as: "a", href: e, variant: "muted", size: "lg", children: "Get started" }) }),
10
+ e && /* @__PURE__ */ r("div", { className: a.mobile, children: /* @__PURE__ */ r(i, { as: "a", href: e, variant: "muted", size: "sm", children: "Get started" }) })
11
+ ] }),
12
+ /* @__PURE__ */ r(l, { items: t })
13
+ ] });
14
+ export {
15
+ f as HowItWorks
16
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),w=require("../../../../node_modules/swiper/modules/navigation.cjs.js"),r=require("../../../../node_modules/swiper/swiper-react.cjs.js"),j=require("../../../../components/ProgressButton/ProgressButton.cjs.js"),s=require("../../../../components/Typography/Typography.cjs.js"),y=require("../../../../utils/useSwiper/useSwiper.cjs.js");;/* empty css */;/* empty css */;/* empty css */const i=require("./content.module.css.cjs.js"),q=[w.default],x=({items:l})=>{const{isEnd:t,isBeginning:d,hideNav:o,handleSlideChange:c,handlePrevClick:u,handleNextClick:h,onSwiperInit:g,handleSwiperResize:p,handleReachEnd:S,handleReachBeginning:m,handleSlideTo:f}=y.useSwiper();return e.jsxs("div",{className:i.default.root,children:[e.jsx("div",{className:i.default.carouselArea,children:e.jsx(r.Swiper,{onSwiper:g,onResize:p,onSlideChange:c,onReachEnd:S,onReachBeginning:m,modules:q,spaceBetween:0,slidesPerView:"auto",className:i.default.swiper,children:l.map((a,n)=>e.jsx(r.SwiperSlide,{className:i.default.swiperSlide,children:e.jsxs("div",{className:i.default.card,onClick:()=>f(n),children:[e.jsxs("div",{className:i.default.cardHeader,children:[e.jsx("img",{src:a.image,className:i.default.cardImage,alt:a.title}),e.jsx(s.Typography,{as:"h3",defaultVariant:"headingLg",mobileVariant:"headingXs",children:a.title})]}),e.jsx(s.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:a.description})]})},`${a.title}_${n}`))})}),!o&&e.jsx("div",{className:i.default.navigation,children:e.jsx(j.ProgressButton,{left:{disabled:d,onClick:u},right:{disabled:t,onClick:h}})})]})};exports.Content=x;
@@ -0,0 +1,65 @@
1
+ "use client";
2
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
3
+ import w from "../../../../node_modules/swiper/modules/navigation.es.js";
4
+ import { Swiper as u, SwiperSlide as v } from "../../../../node_modules/swiper/swiper-react.es.js";
5
+ import { ProgressButton as C } from "../../../../components/ProgressButton/ProgressButton.es.js";
6
+ import { Typography as l } from "../../../../components/Typography/Typography.es.js";
7
+ import { useSwiper as R } from "../../../../utils/useSwiper/useSwiper.es.js";
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
+ import i from "./content.module.css.es.js";
12
+ const b = [w], z = ({ items: o }) => {
13
+ const {
14
+ isEnd: d,
15
+ isBeginning: s,
16
+ hideNav: t,
17
+ handleSlideChange: c,
18
+ handlePrevClick: m,
19
+ handleNextClick: h,
20
+ onSwiperInit: p,
21
+ handleSwiperResize: g,
22
+ handleReachEnd: S,
23
+ handleReachBeginning: N,
24
+ handleSlideTo: f
25
+ } = R();
26
+ return /* @__PURE__ */ n("div", { className: i.root, children: [
27
+ /* @__PURE__ */ e("div", { className: i.carouselArea, children: /* @__PURE__ */ e(
28
+ u,
29
+ {
30
+ onSwiper: p,
31
+ onResize: g,
32
+ onSlideChange: c,
33
+ onReachEnd: S,
34
+ onReachBeginning: N,
35
+ modules: b,
36
+ spaceBetween: 0,
37
+ slidesPerView: "auto",
38
+ className: i.swiper,
39
+ children: o.map((a, r) => /* @__PURE__ */ e(v, { className: i.swiperSlide, children: /* @__PURE__ */ n("div", { className: i.card, onClick: () => f(r), children: [
40
+ /* @__PURE__ */ n("div", { className: i.cardHeader, children: [
41
+ /* @__PURE__ */ e("img", { src: a.image, className: i.cardImage, alt: a.title }),
42
+ /* @__PURE__ */ e(l, { as: "h3", defaultVariant: "headingLg", mobileVariant: "headingXs", children: a.title })
43
+ ] }),
44
+ /* @__PURE__ */ e(l, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: a.description })
45
+ ] }) }, `${a.title}_${r}`))
46
+ }
47
+ ) }),
48
+ !t && /* @__PURE__ */ e("div", { className: i.navigation, children: /* @__PURE__ */ e(
49
+ C,
50
+ {
51
+ left: {
52
+ disabled: s,
53
+ onClick: m
54
+ },
55
+ right: {
56
+ disabled: d,
57
+ onClick: h
58
+ }
59
+ }
60
+ ) })
61
+ ] });
62
+ };
63
+ export {
64
+ z as Content
65
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="content-module__root___qfzkV",o="content-module__carouselArea___milox",t="content-module__swiper___6bohy",_="content-module__swiperSlide___O31RT",r="content-module__card___-FmJI",a="content-module__cardHeader___6bvv8",n="content-module__cardImage___85ki9",c="content-module__navigation___gF-nP",d={root:e,carouselArea:o,swiper:t,swiperSlide:_,card:r,cardHeader:a,cardImage:n,navigation:c};exports.card=r;exports.cardHeader=a;exports.cardImage=n;exports.carouselArea=o;exports.default=d;exports.navigation=c;exports.root=e;exports.swiper=t;exports.swiperSlide=_;
@@ -0,0 +1,21 @@
1
+ const e = "content-module__root___qfzkV", o = "content-module__carouselArea___milox", _ = "content-module__swiper___6bohy", t = "content-module__swiperSlide___O31RT", n = "content-module__card___-FmJI", a = "content-module__cardHeader___6bvv8", c = "content-module__cardImage___85ki9", r = "content-module__navigation___gF-nP", d = {
2
+ root: e,
3
+ carouselArea: o,
4
+ swiper: _,
5
+ swiperSlide: t,
6
+ card: n,
7
+ cardHeader: a,
8
+ cardImage: c,
9
+ navigation: r
10
+ };
11
+ export {
12
+ n as card,
13
+ a as cardHeader,
14
+ c as cardImage,
15
+ o as carouselArea,
16
+ d as default,
17
+ r as navigation,
18
+ e as root,
19
+ _ as swiper,
20
+ t as swiperSlide
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="howItWorks-module__root___tgV6H",e="howItWorks-module__headerContainer___iw1t-",t="howItWorks-module__mobile___c4I-i",_="howItWorks-module__desktop___bZESp",r={root:o,headerContainer:e,mobile:t,desktop:_};exports.default=r;exports.desktop=_;exports.headerContainer=e;exports.mobile=t;exports.root=o;
@@ -0,0 +1,13 @@
1
+ const o = "howItWorks-module__root___tgV6H", t = "howItWorks-module__headerContainer___iw1t-", e = "howItWorks-module__mobile___c4I-i", _ = "howItWorks-module__desktop___bZESp", s = {
2
+ root: o,
3
+ headerContainer: t,
4
+ mobile: e,
5
+ desktop: _
6
+ };
7
+ export {
8
+ s as default,
9
+ _ as desktop,
10
+ t as headerContainer,
11
+ e as mobile,
12
+ o as root
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Button/Button.cjs.js"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),d=require("./components/ClockImages/ClockImages.cjs.js"),t=require("./optimalHealth.module.css.cjs.js"),u=({title:l,description:r,link:a,images:n})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsx(d.ClockImages,{images:n}),e.jsxs("div",{className:t.default.content,children:[e.jsx(o.HighlightedTitle,{title:l,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingLg"}),e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",className:t.default.description,children:r}),e.jsx("div",{className:s.cn(t.default.actions,t.default.desktop),children:e.jsx(i.Button,{as:"a",variant:"primary",size:"lg",href:a,children:"LEARN MORE"})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.mobile),children:e.jsx(i.Button,{as:"a",variant:"primary",size:"sm",href:a,children:"LEARN MORE"})})]})]})});exports.OptimalHealth=u;
@@ -0,0 +1,19 @@
1
+ import { jsx as i, jsxs as e } from "react/jsx-runtime";
2
+ import { Button as t } from "../../components/Button/Button.es.js";
3
+ import { HighlightedTitle as n } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
4
+ import { Typography as c } from "../../components/Typography/Typography.es.js";
5
+ import { cn as o } from "../../utils/cn/cn.es.js";
6
+ import { ClockImages as d } from "./components/ClockImages/ClockImages.es.js";
7
+ import a from "./optimalHealth.module.css.es.js";
8
+ const b = ({ title: s, description: m, link: r, images: l }) => /* @__PURE__ */ i("section", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
9
+ /* @__PURE__ */ i(d, { images: l }),
10
+ /* @__PURE__ */ e("div", { className: a.content, children: [
11
+ /* @__PURE__ */ i(n, { title: s, className: a.title, defaultVariant: "displaySm", mobileVariant: "headingLg" }),
12
+ /* @__PURE__ */ i(c, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", className: a.description, children: m }),
13
+ /* @__PURE__ */ i("div", { className: o(a.actions, a.desktop), children: /* @__PURE__ */ i(t, { as: "a", variant: "primary", size: "lg", href: r, children: "LEARN MORE" }) }),
14
+ /* @__PURE__ */ i("div", { className: o(a.actions, a.mobile), children: /* @__PURE__ */ i(t, { as: "a", variant: "primary", size: "sm", href: r, children: "LEARN MORE" }) })
15
+ ] })
16
+ ] }) });
17
+ export {
18
+ b as OptimalHealth
19
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("../../../../utils/cn/cn.cjs.js"),o=require("./hooks.cjs.js"),e=require("./clockImages.module.css.cjs.js"),I=10,d=2*Math.PI/I,i=-Math.PI/2,q=[{key:"smallSquareImage1",className:e.default.smallSquareImage},{key:"rectImage2",className:e.default.rectImage},{key:"smallSquareImage3",className:e.default.smallSquareImage},{key:"largeSquareImage4",className:e.default.largeSquareImage},{key:"rectImage5",className:e.default.rectImage},{key:"smallSquareImage6",className:e.default.smallSquareImage},{key:"rectImage7",className:e.default.rectImage},{key:"smallSquareImage8",className:e.default.smallSquareImage},{key:"rectImage9",className:e.default.rectImage},{key:"largeSquareImage10",className:e.default.largeSquareImage}],N=({images:r})=>{const s=o.useResponsiveRadius();return l.jsx("div",{className:e.default.root,children:q.map(({key:a,className:m},c)=>{const t=i+c*d,u=s*Math.cos(t),g=s*Math.sin(t);return l.jsx("img",{src:r[a],className:n.cn(e.default.image,m),style:{transform:`translate(-50%, -50%) translate(${u}px, ${g}px)`},alt:a},a)})})};exports.ClockImages=N;
@@ -0,0 +1,37 @@
1
+ "use client";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ import { cn as o } from "../../../../utils/cn/cn.es.js";
4
+ import { useResponsiveRadius as n } from "./hooks.es.js";
5
+ import a from "./clockImages.module.css.es.js";
6
+ const u = 10, N = 2 * Math.PI / u, S = -Math.PI / 2, i = [
7
+ { key: "smallSquareImage1", className: a.smallSquareImage },
8
+ { key: "rectImage2", className: a.rectImage },
9
+ { key: "smallSquareImage3", className: a.smallSquareImage },
10
+ { key: "largeSquareImage4", className: a.largeSquareImage },
11
+ { key: "rectImage5", className: a.rectImage },
12
+ { key: "smallSquareImage6", className: a.smallSquareImage },
13
+ { key: "rectImage7", className: a.rectImage },
14
+ { key: "smallSquareImage8", className: a.smallSquareImage },
15
+ { key: "rectImage9", className: a.rectImage },
16
+ { key: "largeSquareImage10", className: a.largeSquareImage }
17
+ ], h = ({ images: t }) => {
18
+ const s = n();
19
+ return /* @__PURE__ */ r("div", { className: a.root, children: i.map(({ key: e, className: l }, c) => {
20
+ const m = S + c * N, g = s * Math.cos(m), I = s * Math.sin(m);
21
+ return /* @__PURE__ */ r(
22
+ "img",
23
+ {
24
+ src: t[e],
25
+ className: o(a.image, l),
26
+ style: {
27
+ transform: `translate(-50%, -50%) translate(${g}px, ${I}px)`
28
+ },
29
+ alt: e
30
+ },
31
+ e
32
+ );
33
+ }) });
34
+ };
35
+ export {
36
+ h as ClockImages
37
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="clockImages-module__root___EP8LS",a="clockImages-module__image___MtqIw",m="clockImages-module__smallSquareImage___NkpW3",l="clockImages-module__largeSquareImage___mPBhn",o="clockImages-module__rectImage___GMy9G",g={root:e,image:a,smallSquareImage:m,largeSquareImage:l,rectImage:o};exports.default=g;exports.image=a;exports.largeSquareImage=l;exports.rectImage=o;exports.root=e;exports.smallSquareImage=m;
@@ -0,0 +1,15 @@
1
+ const e = "clockImages-module__root___EP8LS", a = "clockImages-module__image___MtqIw", m = "clockImages-module__smallSquareImage___NkpW3", _ = "clockImages-module__largeSquareImage___mPBhn", o = "clockImages-module__rectImage___GMy9G", l = {
2
+ root: e,
3
+ image: a,
4
+ smallSquareImage: m,
5
+ largeSquareImage: _,
6
+ rectImage: o
7
+ };
8
+ export {
9
+ l as default,
10
+ a as image,
11
+ _ as largeSquareImage,
12
+ o as rectImage,
13
+ e as root,
14
+ m as smallSquareImage
15
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=e=>e&&window.innerWidth<=768?280:480;function o(){const e=typeof window<"u",[s,r]=t.useState(i(e));return t.useEffect(()=>{if(!e)return;const n=()=>r(i(e));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),s}exports.useResponsiveRadius=o;
@@ -0,0 +1,13 @@
1
+ import { useState as r, useEffect as o } from "react";
2
+ const t = (e) => e && window.innerWidth <= 768 ? 280 : 480;
3
+ function u() {
4
+ const e = typeof window < "u", [i, s] = r(t(e));
5
+ return o(() => {
6
+ if (!e) return;
7
+ const n = () => s(t(e));
8
+ return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
9
+ }, [e]), i;
10
+ }
11
+ export {
12
+ u as useResponsiveRadius
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="optimalHealth-module__root___l-DfB",o="optimalHealth-module__container___Nc-Cv",e="optimalHealth-module__content___5ntd8",_="optimalHealth-module__description___3MlIW",l="optimalHealth-module__actions___IWhyr",n="optimalHealth-module__mobile___8lH1x",i="optimalHealth-module__desktop___Nh1ZJ",c={root:t,container:o,content:e,description:_,actions:l,mobile:n,desktop:i};exports.actions=l;exports.container=o;exports.content=e;exports.default=c;exports.description=_;exports.desktop=i;exports.mobile=n;exports.root=t;
@@ -0,0 +1,19 @@
1
+ const o = "optimalHealth-module__root___l-DfB", t = "optimalHealth-module__container___Nc-Cv", _ = "optimalHealth-module__content___5ntd8", e = "optimalHealth-module__description___3MlIW", l = "optimalHealth-module__actions___IWhyr", n = "optimalHealth-module__mobile___8lH1x", a = "optimalHealth-module__desktop___Nh1ZJ", i = {
2
+ root: o,
3
+ container: t,
4
+ content: _,
5
+ description: e,
6
+ actions: l,
7
+ mobile: n,
8
+ desktop: a
9
+ };
10
+ export {
11
+ l as actions,
12
+ t as container,
13
+ _ as content,
14
+ i as default,
15
+ e as description,
16
+ a as desktop,
17
+ n as mobile,
18
+ o as root
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/StepsCarousel/StepsCarousel.cjs.js"),o=require("../../components/Button/Button.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),s=require("./ourProcess.module.css.cjs.js"),d=({title:i,label:n,colorScheme:t,howItWorks:r,steps:u})=>e.jsx("section",{className:s.default.root,"data-scheme":t,children:e.jsxs("div",{className:s.default.container,children:[e.jsxs("div",{className:s.default.header,children:[e.jsx(a.HighlightedTitle,{title:i,label:n,colorScheme:t}),r&&e.jsx("div",{children:e.jsx(o.Button,{as:"a",variant:t==="light"?"muted":"muted-invert",size:"lg",href:r,children:"How it works"})})]}),e.jsx(l.StepsCarousel,{steps:u,colorScheme:t})]})});exports.OurProcess=d;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { TStepsCarouselView } from '../../components';
2
+ import { TStepsCarouselView } from '../../components/StepsCarousel';
3
3
  import { TColorScheme } from '../../types/common';
4
4
 
5
5
  export type OurProcessProps = {
@@ -0,0 +1,15 @@
1
+ import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
+ import { StepsCarousel as n } from "../../components/StepsCarousel/StepsCarousel.es.js";
3
+ import { Button as o } from "../../components/Button/Button.es.js";
4
+ import { HighlightedTitle as l } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
5
+ import t from "./ourProcess.module.css.es.js";
6
+ const v = ({ title: a, label: d, colorScheme: i, howItWorks: e, steps: m }) => /* @__PURE__ */ r("section", { className: t.root, "data-scheme": i, children: /* @__PURE__ */ s("div", { className: t.container, children: [
7
+ /* @__PURE__ */ s("div", { className: t.header, children: [
8
+ /* @__PURE__ */ r(l, { title: a, label: d, colorScheme: i }),
9
+ e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(o, { as: "a", variant: i === "light" ? "muted" : "muted-invert", size: "lg", href: e, children: "How it works" }) })
10
+ ] }),
11
+ /* @__PURE__ */ r(n, { steps: m, colorScheme: i })
12
+ ] }) });
13
+ export {
14
+ v as OurProcess
15
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="ourProcess-module__root___vll0d",o="ourProcess-module__container___dvOpP",r="ourProcess-module__header___-JviP",t={root:e,container:o,header:r};exports.container=o;exports.default=t;exports.header=r;exports.root=e;
@@ -0,0 +1,11 @@
1
+ const o = "ourProcess-module__root___vll0d", e = "ourProcess-module__container___dvOpP", r = "ourProcess-module__header___-JviP", _ = {
2
+ root: o,
3
+ container: e,
4
+ header: r
5
+ };
6
+ export {
7
+ e as container,
8
+ _ as default,
9
+ r as header,
10
+ o as root
11
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs.js"),u=require("react");require("../../components/Button/Button.cjs.js");require("../../components/Label/Label.cjs.js");require("../../components/Tag/Tag.cjs.js");require("../../components/Tabs/Tabs.cjs.js");require("../../components/Icon/Icon.cjs.js");const q=require("../../components/ProductGalleryCard/ProductGalleryCard.cjs.js"),l=require("../../components/Typography/Typography.cjs.js");require("../../components/InfiniteScroll/InfiniteScroll.cjs.js");const h=require("../../components/ProductGallery/ProductGallery.cjs.js"),T=require("./components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js"),s=require("./productsDisplay.module.css.cjs.js"),P=require("./useProductsData.cjs.js"),g=({label_text:d,productDisplays:c})=>{var o;const{isTabbed:t,title:n,description:p,tabs:a,slidesByTabs:i}=P.useProductsData({productDisplays:c}),[r,x]=u.useState(((o=a[0])==null?void 0:o.value)??""),y=u.useMemo(()=>(i[r]??[]).map((b,j)=>e.jsxRuntimeExports.jsx(q.ProductGalleryCard,{...b},j)),[r,i]),m=t?e.jsxRuntimeExports.jsx(T.ProductsDisplayTabs,{label:d,tabs:a,activeTab:r,onTabChange:x}):e.jsxRuntimeExports.jsxs("div",{className:s.default.header,children:[e.jsxRuntimeExports.jsx(l.Typography,{className:s.default.headerTitle,defaultVariant:"displayMd",mobileVariant:"headingLg",children:n}),e.jsxRuntimeExports.jsx(l.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodySm",children:p})]});return e.jsxRuntimeExports.jsx("div",{className:s.default.root,children:e.jsxRuntimeExports.jsx(h.ProductGallery,{header:m,slides:y,isTabbed:t})})};exports.ProductsDisplay=g;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),T=require("../../components/ProductGallery/ProductGallery.cjs.js"),g=require("../../components/ProductGalleryCard/ProductGalleryCard.cjs.js"),i=require("../../components/Typography/Typography.cjs.js"),q=require("./components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js"),s=require("./productsDisplay.module.css.cjs.js"),j=require("./useProductsData.cjs.js"),x=({label_text:d,productDisplays:u})=>{var l;const{isTabbed:t,title:n,description:y,tabs:a,slidesByTabs:o}=j.useProductsData({productDisplays:u}),[r,p]=c.useState(((l=a[0])==null?void 0:l.value)??""),b=c.useMemo(()=>(o[r]??[]).map((m,P)=>e.jsx(g.ProductGalleryCard,{...m},P)),[r,o]),h=t?e.jsx(q.ProductsDisplayTabs,{label:d,tabs:a,activeTab:r,onTabChange:p}):e.jsxs("div",{className:s.default.header,children:[e.jsx(i.Typography,{className:s.default.headerTitle,defaultVariant:"displayMd",mobileVariant:"headingLg",children:n}),e.jsx(i.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodySm",children:y})]});return e.jsx("div",{className:s.default.root,children:e.jsx(T.ProductGallery,{header:h,slides:b,isTabbed:t})})};exports.ProductsDisplay=x;
@@ -1,27 +1,22 @@
1
- import { j as t } from "../../_virtual/jsx-runtime.es.js";
2
- import { useState as h, useMemo as x } from "react";
3
- import "../../components/Button/Button.es.js";
4
- import "../../components/Label/Label.es.js";
5
- import "../../components/Tag/Tag.es.js";
6
- import "../../components/Tabs/Tabs.es.js";
7
- import "../../components/Icon/Icon.es.js";
8
- import { ProductGalleryCard as j } from "../../components/ProductGalleryCard/ProductGalleryCard.es.js";
9
- import { Typography as m } from "../../components/Typography/Typography.es.js";
10
- import "../../components/InfiniteScroll/InfiniteScroll.es.js";
11
- import { ProductGallery as T } from "../../components/ProductGallery/ProductGallery.es.js";
12
- import { ProductsDisplayTabs as g } from "./components/ProductsDisplayTabs/ProductsDisplayTabs.es.js";
13
- import s from "./productsDisplay.module.css.es.js";
14
- import { useProductsData as v } from "./useProductsData.es.js";
15
- const w = ({ label_text: l, productDisplays: d }) => {
1
+ "use client";
2
+ import { jsx as t, jsxs as h } from "react/jsx-runtime";
3
+ import { useState as T, useMemo as g } from "react";
4
+ import { ProductGallery as v } from "../../components/ProductGallery/ProductGallery.es.js";
5
+ import { ProductGalleryCard as P } from "../../components/ProductGalleryCard/ProductGalleryCard.es.js";
6
+ import { Typography as l } from "../../components/Typography/Typography.es.js";
7
+ import { ProductsDisplayTabs as V } from "./components/ProductsDisplayTabs/ProductsDisplayTabs.es.js";
8
+ import r from "./productsDisplay.module.css.es.js";
9
+ import { useProductsData as x } from "./useProductsData.es.js";
10
+ const B = ({ label_text: d, productDisplays: m }) => {
16
11
  var i;
17
- const { isTabbed: o, title: p, description: c, tabs: a, slidesByTabs: e } = v({
18
- productDisplays: d
19
- }), [r, n] = h(((i = a[0]) == null ? void 0 : i.value) ?? ""), u = x(() => (e[r] ?? []).map((y, f) => /* @__PURE__ */ t.jsx(j, { ...y }, f)), [r, e]), b = o ? /* @__PURE__ */ t.jsx(g, { label: l, tabs: a, activeTab: r, onTabChange: n }) : /* @__PURE__ */ t.jsxs("div", { className: s.header, children: [
20
- /* @__PURE__ */ t.jsx(m, { className: s.headerTitle, defaultVariant: "displayMd", mobileVariant: "headingLg", children: p }),
21
- /* @__PURE__ */ t.jsx(m, { defaultVariant: "bodyLg", mobileVariant: "bodySm", children: c })
12
+ const { isTabbed: a, title: c, description: n, tabs: s, slidesByTabs: o } = x({
13
+ productDisplays: m
14
+ }), [e, p] = T(((i = s[0]) == null ? void 0 : i.value) ?? ""), u = g(() => (o[e] ?? []).map((y, f) => /* @__PURE__ */ t(P, { ...y }, f)), [e, o]), b = a ? /* @__PURE__ */ t(V, { label: d, tabs: s, activeTab: e, onTabChange: p }) : /* @__PURE__ */ h("div", { className: r.header, children: [
15
+ /* @__PURE__ */ t(l, { className: r.headerTitle, defaultVariant: "displayMd", mobileVariant: "headingLg", children: c }),
16
+ /* @__PURE__ */ t(l, { defaultVariant: "bodyLg", mobileVariant: "bodySm", children: n })
22
17
  ] });
23
- return /* @__PURE__ */ t.jsx("div", { className: s.root, children: /* @__PURE__ */ t.jsx(T, { header: b, slides: u, isTabbed: o }) });
18
+ return /* @__PURE__ */ t("div", { className: r.root, children: /* @__PURE__ */ t(v, { header: b, slides: u, isTabbed: a }) });
24
19
  };
25
20
  export {
26
- w as ProductsDisplay
21
+ B as ProductsDisplay
27
22
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../_virtual/jsx-runtime.cjs.js");require("../../../../components/Button/Button.cjs.js");require("../../../../components/Label/Label.cjs.js");require("../../../../components/Tag/Tag.cjs.js");require("../../../../components/Tabs/Tabs.cjs.js");const t=require("../../../../components/Tabs/TabsWithFade.cjs.js");require("react");require("../../../../components/Icon/Icon.cjs.js");const o=require("../../../../components/Typography/Typography.cjs.js");require("../../../../components/InfiniteScroll/InfiniteScroll.cjs.js");require("../../../../node_modules/swiper/swiper-react.cjs.js");;/* empty css */;/* empty css */;/* empty css */const i=require("./productsDisplayTabs.module.css.cjs.js");function l({label:r,tabs:s,activeTab:u,onTabChange:a}){return e.jsxRuntimeExports.jsxs("div",{className:i.default.header,children:[!!r&&e.jsxRuntimeExports.jsx(o.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:i.default.label,children:r}),e.jsxRuntimeExports.jsx(t.TabsWithFade,{activeTab:u,tabs:s,onTabChange:a})]})}exports.ProductsDisplayTabs=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../../../components/Tabs/Tabs.cjs.js");const o=require("../../../../components/Tabs/TabsWithFade.cjs.js"),l=require("../../../../components/Typography/Typography.cjs.js"),r=require("./productsDisplayTabs.module.css.cjs.js");function u({label:a,tabs:s,activeTab:t,onTabChange:i}){return e.jsxs("div",{className:r.default.header,children:[!!a&&e.jsx(l.Typography,{as:"p",defaultVariant:"labelMd",mobileVariant:"labelSm",emphasis:!0,className:r.default.label,children:a}),e.jsx(o.TabsWithFade,{activeTab:t,tabs:s,onTabChange:i})]})}exports.ProductsDisplayTabs=u;
@@ -1,4 +1,4 @@
1
- import { Tab } from '../../../../components';
1
+ import { Tab } from '../../../../components/Tabs';
2
2
 
3
3
  type Props<T extends string | number> = {
4
4
  label?: string;
@@ -1,24 +1,14 @@
1
- import { j as r } from "../../../../_virtual/jsx-runtime.es.js";
2
- import "../../../../components/Button/Button.es.js";
3
- import "../../../../components/Label/Label.es.js";
4
- import "../../../../components/Tag/Tag.es.js";
1
+ import { jsxs as t, jsx as r } from "react/jsx-runtime";
5
2
  import "../../../../components/Tabs/Tabs.es.js";
6
- import { TabsWithFade as a } from "../../../../components/Tabs/TabsWithFade.es.js";
7
- import "react";
8
- import "../../../../components/Icon/Icon.es.js";
9
- import { Typography as s } from "../../../../components/Typography/Typography.es.js";
10
- import "../../../../components/InfiniteScroll/InfiniteScroll.es.js";
11
- import "../../../../node_modules/swiper/swiper-react.es.js";
12
- /* empty css */
13
- /* empty css */
14
- /* empty css */
15
- import t from "./productsDisplayTabs.module.css.es.js";
16
- function g({ label: o, tabs: i, activeTab: m, onTabChange: p }) {
17
- return /* @__PURE__ */ r.jsxs("div", { className: t.header, children: [
18
- !!o && /* @__PURE__ */ r.jsx(s, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: t.label, children: o }),
19
- /* @__PURE__ */ r.jsx(a, { activeTab: m, tabs: i, onTabChange: p })
3
+ import { TabsWithFade as m } from "../../../../components/Tabs/TabsWithFade.es.js";
4
+ import { Typography as l } from "../../../../components/Typography/Typography.es.js";
5
+ import e from "./productsDisplayTabs.module.css.es.js";
6
+ function h({ label: a, tabs: o, activeTab: s, onTabChange: i }) {
7
+ return /* @__PURE__ */ t("div", { className: e.header, children: [
8
+ !!a && /* @__PURE__ */ r(l, { as: "p", defaultVariant: "labelMd", mobileVariant: "labelSm", emphasis: !0, className: e.label, children: a }),
9
+ /* @__PURE__ */ r(m, { activeTab: s, tabs: o, onTabChange: i })
20
10
  ] });
21
11
  }
22
12
  export {
23
- g as ProductsDisplayTabs
13
+ h as ProductsDisplayTabs
24
14
  };
@@ -1,4 +1,4 @@
1
- import { TProductGalleryCardView } from '../../components';
1
+ import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
2
 
3
3
  export type TProductsDisplayView = {
4
4
  title: string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=({productDisplays:t})=>{const a=t.length>1,n=t[0],l=n.title,r=n.description??"",o=t.map(e=>({value:e.title.replace(" ","_").toLocaleLowerCase(),label:e.title})),d=o.reduce((e,c)=>{const s=t.find(u=>u.title===c.label),i=s==null?void 0:s.productCards;return i&&(e[c.value]=i),e},{});return{isTabbed:a,title:l,description:r,tabs:o,slidesByTabs:d}};exports.useProductsData=b;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=({productDisplays:t})=>{const l=t.length>1,n=t[0],a=n.title,r=n.description??"",o=t.map(e=>({value:e.title.replace(" ","_").toLocaleLowerCase(),label:e.title})),d=o.reduce((e,c)=>{const s=t.find(u=>u.title===c.label),i=s==null?void 0:s.productCards;return i&&(e[c.value]=i),e},{});return{isTabbed:l,title:a,description:r,tabs:o,slidesByTabs:d}};exports.useProductsData=b;
@@ -1,4 +1,5 @@
1
- import { TProductGalleryCardView, Tab } from '../../components';
1
+ import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
2
+ import { Tab } from '../../components/Tabs';
2
3
  import { TProductsDisplayView } from './types';
3
4
 
4
5
  type UseProductsReceiveProps = {
@@ -1,19 +1,20 @@
1
- const f = ({ productDisplays: t }) => {
2
- const l = t.length > 1, s = t[0], a = s.title, r = s.description ?? "", o = t.map((e) => ({
1
+ "use client";
2
+ const u = ({ productDisplays: t }) => {
3
+ const l = t.length > 1, s = t[0], a = s.title, r = s.description ?? "", c = t.map((e) => ({
3
4
  value: e.title.replace(" ", "_").toLocaleLowerCase(),
4
5
  label: e.title
5
- })), d = o.reduce((e, c) => {
6
- const n = t.find((b) => b.title === c.label), i = n == null ? void 0 : n.productCards;
7
- return i && (e[c.value] = i), e;
6
+ })), d = c.reduce((e, i) => {
7
+ const n = t.find((b) => b.title === i.label), o = n == null ? void 0 : n.productCards;
8
+ return o && (e[i.value] = o), e;
8
9
  }, {});
9
10
  return {
10
11
  isTabbed: l,
11
12
  title: a,
12
13
  description: r,
13
- tabs: o,
14
+ tabs: c,
14
15
  slidesByTabs: d
15
16
  };
16
17
  };
17
18
  export {
18
- f as useProductsData
19
+ u as useProductsData
19
20
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("../../components/Button/Button.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/StudyGridCard/StudyGridCard.cjs.js"),h=require("../../components/Typography/Typography.cjs.js"),i=require("./studies.module.css.cjs.js");function p({title:d,description:n,articles:l}){const o=l.reduce((t,r)=>{const s=t[t.length-1];return s.length<2?s.push(r):t.push([r]),t},[[]]);return e.jsxs("div",{className:i.default.container,children:[e.jsxs("div",{className:i.default.header,children:[e.jsx(a.HighlightedTitle,{title:d}),e.jsx(h.Typography,{as:"p",defaultVariant:"bodyLg",className:i.default.description,children:n}),e.jsx("div",{children:e.jsx(u.Button,{variant:"muted",size:"lg",children:"view all studies"})})]}),e.jsx("div",{className:i.default.articles,children:o.map((t,r)=>e.jsx("div",{className:i.default.row,children:t.map(s=>e.jsx(c.StudyGridCard,{...s},s.title))},r))})]})}exports.Studies=p;