@zenpatient-org/healthspan-marketing-ui 0.1.31 → 0.1.33

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 (163) hide show
  1. package/dist/components/AnchorLinks/AnchorLinks.cjs.js +1 -0
  2. package/dist/components/AnchorLinks/AnchorLinks.d.ts +3 -0
  3. package/dist/components/AnchorLinks/AnchorLinks.es.js +20 -0
  4. package/dist/components/AnchorLinks/anchorLinks.module.css.cjs.js +1 -0
  5. package/dist/components/AnchorLinks/anchorLinks.module.css.es.js +13 -0
  6. package/dist/components/AnchorLinks/index.d.ts +1 -0
  7. package/dist/components/AnchorLinks/types.d.ts +17 -0
  8. package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.cjs.js +1 -1
  9. package/dist/components/FAQComponent/components/FAQComponentItem/FAQComponentItem.es.js +12 -12
  10. package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.cjs.js +1 -1
  11. package/dist/components/FAQComponent/components/FAQComponentItem/faqComponentItem.module.css.es.js +16 -14
  12. package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
  13. package/dist/components/FilterMenu/FilterMenu.d.ts +9 -3
  14. package/dist/components/FilterMenu/FilterMenu.es.js +33 -30
  15. package/dist/components/GalleryPagination/GalleryPagination.cjs.js +1 -0
  16. package/dist/components/GalleryPagination/GalleryPagination.d.ts +7 -0
  17. package/dist/components/GalleryPagination/GalleryPagination.es.js +7 -0
  18. package/dist/components/GalleryPagination/galleryPagination.module.css.cjs.js +1 -0
  19. package/dist/components/GalleryPagination/galleryPagination.module.css.es.js +13 -0
  20. package/dist/components/GalleryPagination/index.d.ts +1 -0
  21. package/dist/components/ImageGallery/ImageGallery.cjs.js +1 -0
  22. package/dist/components/ImageGallery/ImageGallery.d.ts +8 -0
  23. package/dist/components/ImageGallery/ImageGallery.es.js +35 -0
  24. package/dist/components/ImageGallery/imageGallery.module.css.cjs.js +1 -0
  25. package/dist/components/ImageGallery/imageGallery.module.css.es.js +15 -0
  26. package/dist/components/ImageGallery/index.d.ts +1 -0
  27. package/dist/components/Pagination/Pagination.cjs.js +1 -1
  28. package/dist/components/Pagination/Pagination.es.js +9 -10
  29. package/dist/components/Pagination/pagination.module.css.cjs.js +1 -0
  30. package/dist/components/Pagination/pagination.module.css.es.js +19 -0
  31. package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -1
  32. package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +8 -7
  33. package/dist/components/RadioButton/RadioButton.cjs.js +1 -0
  34. package/dist/components/RadioButton/RadioButton.d.ts +9 -0
  35. package/dist/components/RadioButton/RadioButton.es.js +38 -0
  36. package/dist/components/RadioButton/index.d.ts +1 -0
  37. package/dist/components/RadioButton/radioButton.module.css.cjs.js +1 -0
  38. package/dist/components/RadioButton/radioButton.module.css.es.js +21 -0
  39. package/dist/components/SmartCallout/SmartCallout.cjs.js +1 -0
  40. package/dist/components/SmartCallout/SmartCallout.d.ts +5 -0
  41. package/dist/components/SmartCallout/SmartCallout.es.js +7 -0
  42. package/dist/components/SmartCallout/index.d.ts +1 -0
  43. package/dist/components/SmartCallout/smartCallout.module.css.cjs.js +1 -0
  44. package/dist/components/SmartCallout/smartCallout.module.css.es.js +7 -0
  45. package/dist/components/TextButton/TextButton.d.ts +2 -2
  46. package/dist/components/TextButton/index.d.ts +1 -0
  47. package/dist/healthspan-marketing-ui.css +1 -1
  48. package/dist/index.cjs.js +1 -1
  49. package/dist/index.es.js +3 -2
  50. package/dist/modules/AllInOne/AllInOne.cjs.js +1 -0
  51. package/dist/modules/AllInOne/AllInOne.d.ts +11 -0
  52. package/dist/modules/AllInOne/AllInOne.es.js +222 -0
  53. package/dist/modules/AllInOne/allInOne.module.css.cjs.js +1 -0
  54. package/dist/modules/AllInOne/allInOne.module.css.es.js +23 -0
  55. package/dist/modules/AllInOne/index.d.ts +1 -0
  56. package/dist/modules/CallToAction/CallToAction.cjs.js +1 -0
  57. package/dist/modules/CallToAction/CallToAction.d.ts +15 -0
  58. package/dist/modules/CallToAction/CallToAction.es.js +165 -0
  59. package/dist/modules/CallToAction/callToAction.module.css.cjs.js +1 -0
  60. package/dist/modules/CallToAction/callToAction.module.css.es.js +43 -0
  61. package/dist/modules/CallToAction/index.d.ts +1 -0
  62. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.cjs.js +1 -1
  63. package/dist/modules/HighestStandards/components/TabsMenu/TabsMenu.es.js +12 -12
  64. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.cjs.js +1 -1
  65. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/TabsMenuItem.es.js +17 -17
  66. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.cjs.js +1 -1
  67. package/dist/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css.es.js +8 -6
  68. package/dist/modules/IndividualProductCard/IndividualProductCard.cjs.js +1 -0
  69. package/dist/modules/IndividualProductCard/IndividualProductCard.d.ts +26 -0
  70. package/dist/modules/IndividualProductCard/IndividualProductCard.es.js +80 -0
  71. package/dist/modules/IndividualProductCard/components/Features/Features.cjs.js +1 -0
  72. package/dist/modules/IndividualProductCard/components/Features/Features.d.ts +7 -0
  73. package/dist/modules/IndividualProductCard/components/Features/Features.es.js +35 -0
  74. package/dist/modules/IndividualProductCard/components/Features/features.module.css.cjs.js +1 -0
  75. package/dist/modules/IndividualProductCard/components/Features/features.module.css.es.js +17 -0
  76. package/dist/modules/IndividualProductCard/components/Features/index.d.ts +1 -0
  77. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.cjs.js +1 -0
  78. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.d.ts +9 -0
  79. package/dist/modules/IndividualProductCard/components/PlanCard/PlanCard.es.js +48 -0
  80. package/dist/modules/IndividualProductCard/components/PlanCard/index.d.ts +1 -0
  81. package/dist/modules/IndividualProductCard/components/PlanCard/planCard.module.css.cjs.js +1 -0
  82. package/dist/modules/IndividualProductCard/components/PlanCard/planCard.module.css.es.js +35 -0
  83. package/dist/modules/IndividualProductCard/index.d.ts +1 -0
  84. package/dist/modules/IndividualProductCard/individualProductCard.module.css.cjs.js +1 -0
  85. package/dist/modules/IndividualProductCard/individualProductCard.module.css.es.js +27 -0
  86. package/dist/modules/IndividualProductCard/types.d.ts +17 -0
  87. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.cjs.js +1 -1
  88. package/dist/modules/IngredientHighlight/components/Ingredient/Ingredient.es.js +2 -2
  89. package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.cjs.js +1 -1
  90. package/dist/modules/IngredientHighlight/components/Ingredient/ingredient.module.css.es.js +6 -4
  91. package/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -1
  92. package/dist/pageComponents/Bubbles/Bubbles.es.js +30 -18
  93. package/dist/pageComponents/Bubbles/bubbles.module.css.cjs.js +1 -1
  94. package/dist/pageComponents/Bubbles/bubbles.module.css.es.js +4 -2
  95. package/dist/pageComponents/LabsHero/LabsHero.cjs.js +1 -0
  96. package/dist/pageComponents/LabsHero/LabsHero.d.ts +1 -0
  97. package/dist/pageComponents/LabsHero/LabsHero.es.js +73 -0
  98. package/dist/pageComponents/LabsHero/assets/icon1.png.cjs.js +1 -0
  99. package/dist/pageComponents/LabsHero/assets/icon1.png.es.js +4 -0
  100. package/dist/pageComponents/LabsHero/assets/icon2.png.cjs.js +1 -0
  101. package/dist/pageComponents/LabsHero/assets/icon2.png.es.js +4 -0
  102. package/dist/pageComponents/LabsHero/assets/icon3.png.cjs.js +1 -0
  103. package/dist/pageComponents/LabsHero/assets/icon3.png.es.js +4 -0
  104. package/dist/pageComponents/LabsHero/assets/img1.png.cjs.js +1 -0
  105. package/dist/pageComponents/LabsHero/assets/img1.png.es.js +4 -0
  106. package/dist/pageComponents/LabsHero/assets/img2.png.cjs.js +1 -0
  107. package/dist/pageComponents/LabsHero/assets/img2.png.es.js +4 -0
  108. package/dist/pageComponents/LabsHero/assets/img3.png.cjs.js +1 -0
  109. package/dist/pageComponents/LabsHero/assets/img3.png.es.js +4 -0
  110. package/dist/pageComponents/LabsHero/assets/svg1.svg.cjs.js +1 -0
  111. package/dist/pageComponents/LabsHero/assets/svg1.svg.es.js +7 -0
  112. package/dist/pageComponents/LabsHero/assets/svg2.svg.cjs.js +1 -0
  113. package/dist/pageComponents/LabsHero/assets/svg2.svg.es.js +5 -0
  114. package/dist/pageComponents/LabsHero/assets/svg3.svg.cjs.js +1 -0
  115. package/dist/pageComponents/LabsHero/assets/svg3.svg.es.js +7 -0
  116. package/dist/pageComponents/LabsHero/index.d.ts +1 -0
  117. package/dist/pageComponents/LabsHero/labsHero.module.css.cjs.js +1 -0
  118. package/dist/pageComponents/LabsHero/labsHero.module.css.es.js +41 -0
  119. package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.cjs.js +1 -0
  120. package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.d.ts +1 -0
  121. package/dist/pageComponents/PersonalizedProtocolHero/PersonalizedProtocolHero.es.js +179 -0
  122. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph1.svg.cjs.js +1 -0
  123. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph1.svg.es.js +7 -0
  124. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph2.svg.cjs.js +1 -0
  125. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph2.svg.es.js +7 -0
  126. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph3.svg.cjs.js +1 -0
  127. package/dist/pageComponents/PersonalizedProtocolHero/assets/graph3.svg.es.js +7 -0
  128. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill1.png.cjs.js +1 -0
  129. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill1.png.es.js +4 -0
  130. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill2.png.cjs.js +1 -0
  131. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill2.png.es.js +4 -0
  132. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill3.png.cjs.js +1 -0
  133. package/dist/pageComponents/PersonalizedProtocolHero/assets/pill3.png.es.js +4 -0
  134. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod1.png.cjs.js +1 -0
  135. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod1.png.es.js +4 -0
  136. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod2.png.cjs.js +1 -0
  137. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod2.png.es.js +4 -0
  138. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod3.png.cjs.js +1 -0
  139. package/dist/pageComponents/PersonalizedProtocolHero/assets/prod3.png.es.js +4 -0
  140. package/dist/pageComponents/PersonalizedProtocolHero/index.d.ts +1 -0
  141. package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.cjs.js +1 -0
  142. package/dist/pageComponents/PersonalizedProtocolHero/personalizedProtocolHero.module.css.es.js +71 -0
  143. package/dist/pageComponents/TreatmentsHero/TreatmentsHero.cjs.js +1 -0
  144. package/dist/pageComponents/TreatmentsHero/TreatmentsHero.d.ts +15 -0
  145. package/dist/pageComponents/TreatmentsHero/TreatmentsHero.es.js +20 -0
  146. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.cjs.js +1 -0
  147. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.d.ts +7 -0
  148. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/TreatmentHeroCard.es.js +10 -0
  149. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/index.d.ts +1 -0
  150. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.cjs.js +1 -0
  151. package/dist/pageComponents/TreatmentsHero/components/TreatmentHeroCard/treatmentHeroCard.module.css.es.js +11 -0
  152. package/dist/pageComponents/TreatmentsHero/index.d.ts +1 -0
  153. package/dist/pageComponents/TreatmentsHero/treatmentsHero.module.css.cjs.js +1 -0
  154. package/dist/pageComponents/TreatmentsHero/treatmentsHero.module.css.es.js +21 -0
  155. package/dist/utils/debounce.cjs.js +1 -0
  156. package/dist/utils/debounce.d.ts +2 -0
  157. package/dist/utils/debounce.es.js +9 -0
  158. package/dist/utils/formatUnits/formatUnits.cjs.js +1 -1
  159. package/dist/utils/formatUnits/formatUnits.es.js +5 -3
  160. package/dist/utils/formatUnits.d.ts +1 -1
  161. package/package.json +56 -1
  162. package/dist/components/Pagination/Pagination.module.css.cjs.js +0 -1
  163. package/dist/components/Pagination/Pagination.module.css.es.js +0 -19
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const e=require("./styles/typography.module.css.cjs.js");exports.typography=e.default;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const e=require("./styles/typography.module.css.cjs.js");exports.typography=e.default;
package/dist/index.es.js CHANGED
@@ -3,7 +3,8 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { default as e } from "./styles/typography.module.css.es.js";
6
+ /* empty css */
7
+ import { default as f } from "./styles/typography.module.css.es.js";
7
8
  export {
8
- e as typography
9
+ f as typography
9
10
  };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),W=require("../../node_modules/@gsap/react/src/index.cjs.js"),e=require("../../node_modules/gsap/index.cjs.js"),P=require("../../node_modules/gsap/ScrollTrigger.cjs.js"),d=require("react"),N=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),z=require("../../components/Typography/Typography.cjs.js"),q=require("../../utils/cn/cn.cjs.js"),G=require("../../utils/debounce.cjs.js"),U=require("../CallToAction/CallToAction.cjs.js"),r=require("./allInOne.module.css.cjs.js");e.gsap.registerPlugin(P.ScrollTrigger);const Y=["health","energy","strength","smiles","balance","sleep","miles","love","fun","years"],{subtitle:F,titleTop:J,scrollableLabels:M,titleBottom:X,description:D,hsaText:K,buttonText:Q,buttonLink:Z,backgroundImage:ee}={subtitle:t.jsx("p",{children:"YOUR LONGEVITY JOURNEY"}),titleTop:t.jsx("p",{children:"Get more"}),scrollableLabels:Y,titleBottom:t.jsx("p",{children:"out of life"}),description:"It's time to shift our thinking from healthcare and lifespan to something deeper. Healthspan.",hsaText:"Healthspan is HSA/FSA Eligible",buttonText:"JOIN NOW",buttonLink:"#",backgroundImage:"https://methodical-vitality-96814f361f.media.strapiapp.com/aio_step_9_67b550bfe1.jpg"},te=({title1:I,title2:O,description:L,scrollLabels:T,images:w})=>{const[_,B]=d.useState(!1),C=932,h=d.useRef(null),l=d.useRef(null),p=d.useRef(null),u=d.useRef(null),g=d.useRef(null),o=d.useRef(null),H=d.useCallback(()=>{if(!l.current||!h.current||!p.current||!u.current||!g.current||!o.current)return;const s=h.current,n=l.current,a=p.current,c=u.current,m=g.current,b=o.current,R=m.querySelectorAll("p");if(R.length===0)return;R.forEach((f,i)=>{f.style.zIndex=String(R.length-i)});const y=n.querySelectorAll("img"),j=y.length;y.forEach((f,i)=>{f.style.zIndex=String(j-i)});const S=s.scrollHeight/j,E=.8;j>0&&y.forEach((f,i)=>{const v=i*S,k=(i+1)*S-E*S;e.gsap.fromTo([f,R[i]],{opacity:1},{opacity:0,scrollTrigger:{trigger:s,start:()=>`top+=${v} top`,end:()=>`top+=${k} top`,scrub:!0}})});const $=n.getBoundingClientRect(),A=a.getBoundingClientRect(),x=s.getBoundingClientRect();e.gsap.set(m,{y:`${$.bottom-x.top+20}px`}),window.innerWidth>C?(e.gsap.set(a,{x:`${$.left-A.width-50}px`}),e.gsap.set(c,{x:`${$.right+25}px`})):(e.gsap.set(a,{top:`${x.top-c.clientHeight-25}px`}),e.gsap.set(c,{top:`${x.top-25}px`}));const V=window.getComputedStyle(n).borderRadius;e.gsap.to(n,{scale:1,scrollTrigger:{trigger:s,start:"top top",end:"95% bottom",scrub:!0,onUpdate:f=>{if(!l.current||!o.current||!a||!c)return;const i=n.getBoundingClientRect();window.innerWidth>C?(e.gsap.set(a,{x:`${i.left-A.width-50}px`}),e.gsap.set(c,{x:`${i.right+25}px`})):(e.gsap.set(a,{y:`${i.top-x.top-25}px`}),e.gsap.set(c,{y:`${i.top-x.top-25}px`})),e.gsap.set(m,{y:`${i.bottom+20}px`});const v=o.current.getBoundingClientRect();i.bottom+60>=v.top?e.gsap.to(b,{opacity:0,duration:.3}):e.gsap.to(b,{opacity:1,duration:.3}),f.progress>=.99?(e.gsap.to(n,{borderRadius:0,duration:.3,ease:"power1.inOut"}),e.gsap.to(y,{opacity:0,duration:.3,ease:"power1.inOut"})):e.gsap.to(n,{borderRadius:V,duration:.3,ease:"power1.inOut"})}},onComplete:()=>{B(!0)}})},[l,p,u,g,o]);return W.useGSAP(()=>{if(!l.current||!h.current||!p.current||!u||!g.current||!o.current)return;const s=l.current,n=p.current,a=u.current,c=g.current,m=o.current;window.innerWidth<=C?e.gsap.set(s,{aspectRatio:`${window.innerWidth} / ${window.innerHeight}`,scale:.5}):e.gsap.set(s,{scale:.3,aspectRatio:`${window.innerWidth} / ${window.innerHeight}`}),H();const b=G.default(H,600);return window.addEventListener("resize",()=>{b()}),()=>{window.removeEventListener("resize",b),e.gsap.killTweensOf([s,c,n,a,m])}},{scope:h,dependencies:[h,l,p,u,g,H]}),t.jsx("div",{className:r.default.root,children:t.jsx("div",{ref:h,className:r.default.container,children:t.jsxs("div",{className:r.default.pillContainerWrapper,children:[t.jsxs("div",{ref:l,className:q.cn("pillContainer",r.default.pillContainer),children:[w==null?void 0:w.map((s,n)=>t.jsx("img",{src:s,alt:`Image ${n+1}`},n)),t.jsx("div",{className:r.default.callToActionContainer,children:_&&t.jsx(U.CallToAction,{subtitle:F,titleTop:J,scrollableLabels:M,titleBottom:X,description:D,hsaText:K,buttonText:Q,buttonLink:Z,backgroundImage:ee})})]}),t.jsx("div",{ref:p,className:r.default.fixedHeader,children:t.jsx(N.HighlightedTitle,{className:r.default.title1,as:"div",defaultVariant:"displayXs",title:I})}),t.jsx("div",{ref:u,className:r.default.fixedHeader,children:t.jsx(N.HighlightedTitle,{className:r.default.title2,as:"div",defaultVariant:"displayXs",title:O})}),t.jsx("div",{ref:g,className:q.cn("scrollableLabels",r.default.scrollableLabels),children:T==null?void 0:T.map((s,n)=>t.jsx(z.Typography,{as:"p",defaultVariant:"labelLg",mobileVariant:"labelSm",className:r.default.scrollLabel,children:s},n))}),t.jsx("div",{ref:o,className:q.cn("description",r.default.description),children:t.jsx(N.HighlightedTitle,{as:"p",defaultVariant:"preambleMd",mobileVariant:"preambleSm",title:L,className:r.default.descriptionText})})]})})})};exports.AllInOne=te;
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type AllInOneProps = {
4
+ title1?: ReactNode;
5
+ title2?: ReactNode;
6
+ description?: string;
7
+ scrollLabels?: readonly string[];
8
+ images?: readonly string[];
9
+ };
10
+ export declare const AllInOne: ({ title1, title2, description, scrollLabels, images }: AllInOneProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,222 @@
1
+ "use client";
2
+ import { jsx as t, jsxs as O } from "react/jsx-runtime";
3
+ import { useGSAP as G } from "../../node_modules/@gsap/react/src/index.es.js";
4
+ import { gsap as e } from "../../node_modules/gsap/index.es.js";
5
+ import { ScrollTrigger as U } from "../../node_modules/gsap/ScrollTrigger.es.js";
6
+ import { useState as Y, useRef as g, useCallback as _ } from "react";
7
+ import { HighlightedTitle as A } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
8
+ import { Typography as q } from "../../components/Typography/Typography.es.js";
9
+ import { cn as I } from "../../utils/cn/cn.es.js";
10
+ import F from "../../utils/debounce.es.js";
11
+ import { CallToAction as J } from "../CallToAction/CallToAction.es.js";
12
+ import r from "./allInOne.module.css.es.js";
13
+ e.registerPlugin(U);
14
+ const X = [
15
+ "health",
16
+ "energy",
17
+ "strength",
18
+ "smiles",
19
+ "balance",
20
+ "sleep",
21
+ "miles",
22
+ "love",
23
+ "fun",
24
+ "years"
25
+ ], {
26
+ subtitle: D,
27
+ titleTop: M,
28
+ scrollableLabels: K,
29
+ titleBottom: Q,
30
+ description: Z,
31
+ hsaText: ee,
32
+ buttonText: te,
33
+ buttonLink: ie,
34
+ backgroundImage: ne
35
+ } = {
36
+ subtitle: /* @__PURE__ */ t("p", { children: "YOUR LONGEVITY JOURNEY" }),
37
+ titleTop: /* @__PURE__ */ t("p", { children: "Get more" }),
38
+ scrollableLabels: X,
39
+ titleBottom: /* @__PURE__ */ t("p", { children: "out of life" }),
40
+ description: "It's time to shift our thinking from healthcare and lifespan to something deeper. Healthspan.",
41
+ hsaText: "Healthspan is HSA/FSA Eligible",
42
+ buttonText: "JOIN NOW",
43
+ buttonLink: "#",
44
+ backgroundImage: "https://methodical-vitality-96814f361f.media.strapiapp.com/aio_step_9_67b550bfe1.jpg"
45
+ }, he = ({ title1: B, title2: E, description: V, scrollLabels: R, images: C }) => {
46
+ const [k, W] = Y(!1), T = 932, f = g(null), l = g(null), d = g(null), p = g(null), u = g(null), s = g(null), S = _(() => {
47
+ if (!l.current || !f.current || !d.current || !p.current || !u.current || !s.current)
48
+ return;
49
+ const o = f.current, i = l.current, a = d.current, c = p.current, h = u.current, b = s.current, w = h.querySelectorAll("p");
50
+ if (w.length === 0) return;
51
+ w.forEach((m, n) => {
52
+ m.style.zIndex = String(w.length - n);
53
+ });
54
+ const y = i.querySelectorAll("img"), H = y.length;
55
+ y.forEach((m, n) => {
56
+ m.style.zIndex = String(H - n);
57
+ });
58
+ const N = o.scrollHeight / H, P = 0.8;
59
+ H > 0 && y.forEach((m, n) => {
60
+ const v = n * N, j = (n + 1) * N - P * N;
61
+ e.fromTo(
62
+ [m, w[n]],
63
+ { opacity: 1 },
64
+ {
65
+ opacity: 0,
66
+ scrollTrigger: {
67
+ trigger: o,
68
+ start: () => `top+=${v} top`,
69
+ end: () => `top+=${j} top`,
70
+ scrub: !0
71
+ }
72
+ }
73
+ );
74
+ });
75
+ const $ = i.getBoundingClientRect(), L = a.getBoundingClientRect(), x = o.getBoundingClientRect();
76
+ e.set(h, {
77
+ y: `${$.bottom - x.top + 20}px`
78
+ }), window.innerWidth > T ? (e.set(a, {
79
+ x: `${$.left - L.width - 50}px`
80
+ }), e.set(c, {
81
+ x: `${$.right + 25}px`
82
+ })) : (e.set(a, {
83
+ top: `${x.top - c.clientHeight - 25}px`
84
+ }), e.set(c, {
85
+ top: `${x.top - 25}px`
86
+ }));
87
+ const z = window.getComputedStyle(i).borderRadius;
88
+ e.to(i, {
89
+ scale: 1,
90
+ scrollTrigger: {
91
+ trigger: o,
92
+ start: "top top",
93
+ end: "95% bottom",
94
+ scrub: !0,
95
+ onUpdate: (m) => {
96
+ if (!l.current || !s.current || !a || !c)
97
+ return;
98
+ const n = i.getBoundingClientRect();
99
+ window.innerWidth > T ? (e.set(a, {
100
+ x: `${n.left - L.width - 50}px`
101
+ }), e.set(c, {
102
+ x: `${n.right + 25}px`
103
+ })) : (e.set(a, {
104
+ y: `${n.top - x.top - 25}px`
105
+ }), e.set(c, {
106
+ y: `${n.top - x.top - 25}px`
107
+ })), e.set(h, {
108
+ y: `${n.bottom + 20}px`
109
+ });
110
+ const v = s.current.getBoundingClientRect();
111
+ n.bottom + 60 >= v.top ? e.to(b, { opacity: 0, duration: 0.3 }) : e.to(b, { opacity: 1, duration: 0.3 }), m.progress >= 0.99 ? (e.to(i, {
112
+ borderRadius: 0,
113
+ duration: 0.3,
114
+ ease: "power1.inOut"
115
+ }), e.to(y, {
116
+ opacity: 0,
117
+ duration: 0.3,
118
+ ease: "power1.inOut"
119
+ })) : e.to(i, {
120
+ borderRadius: z,
121
+ duration: 0.3,
122
+ ease: "power1.inOut"
123
+ });
124
+ }
125
+ },
126
+ onComplete: () => {
127
+ W(!0);
128
+ }
129
+ });
130
+ }, [l, d, p, u, s]);
131
+ return G(
132
+ () => {
133
+ if (!l.current || !f.current || !d.current || !p || !u.current || !s.current)
134
+ return;
135
+ const o = l.current, i = d.current, a = p.current, c = u.current, h = s.current;
136
+ window.innerWidth <= T ? e.set(o, {
137
+ aspectRatio: `${window.innerWidth} / ${window.innerHeight}`,
138
+ scale: 0.5
139
+ }) : e.set(o, {
140
+ scale: 0.3,
141
+ aspectRatio: `${window.innerWidth} / ${window.innerHeight}`
142
+ }), S();
143
+ const b = F(S, 600);
144
+ return window.addEventListener("resize", () => {
145
+ b();
146
+ }), () => {
147
+ window.removeEventListener("resize", b), e.killTweensOf([o, c, i, a, h]);
148
+ };
149
+ },
150
+ {
151
+ scope: f,
152
+ dependencies: [
153
+ f,
154
+ l,
155
+ d,
156
+ p,
157
+ u,
158
+ S
159
+ ]
160
+ }
161
+ ), /* @__PURE__ */ t("div", { className: r.root, children: /* @__PURE__ */ t("div", { ref: f, className: r.container, children: /* @__PURE__ */ O("div", { className: r.pillContainerWrapper, children: [
162
+ /* @__PURE__ */ O("div", { ref: l, className: I("pillContainer", r.pillContainer), children: [
163
+ C == null ? void 0 : C.map((o, i) => /* @__PURE__ */ t("img", { src: o, alt: `Image ${i + 1}` }, i)),
164
+ /* @__PURE__ */ t("div", { className: r.callToActionContainer, children: k && /* @__PURE__ */ t(
165
+ J,
166
+ {
167
+ subtitle: D,
168
+ titleTop: M,
169
+ scrollableLabels: K,
170
+ titleBottom: Q,
171
+ description: Z,
172
+ hsaText: ee,
173
+ buttonText: te,
174
+ buttonLink: ie,
175
+ backgroundImage: ne
176
+ }
177
+ ) })
178
+ ] }),
179
+ /* @__PURE__ */ t("div", { ref: d, className: r.fixedHeader, children: /* @__PURE__ */ t(
180
+ A,
181
+ {
182
+ className: r.title1,
183
+ as: "div",
184
+ defaultVariant: "displayXs",
185
+ title: B
186
+ }
187
+ ) }),
188
+ /* @__PURE__ */ t("div", { ref: p, className: r.fixedHeader, children: /* @__PURE__ */ t(
189
+ A,
190
+ {
191
+ className: r.title2,
192
+ as: "div",
193
+ defaultVariant: "displayXs",
194
+ title: E
195
+ }
196
+ ) }),
197
+ /* @__PURE__ */ t("div", { ref: u, className: I("scrollableLabels", r.scrollableLabels), children: R == null ? void 0 : R.map((o, i) => /* @__PURE__ */ t(
198
+ q,
199
+ {
200
+ as: "p",
201
+ defaultVariant: "labelLg",
202
+ mobileVariant: "labelSm",
203
+ className: r.scrollLabel,
204
+ children: o
205
+ },
206
+ i
207
+ )) }),
208
+ /* @__PURE__ */ t("div", { ref: s, className: I("description", r.description), children: /* @__PURE__ */ t(
209
+ A,
210
+ {
211
+ as: "p",
212
+ defaultVariant: "preambleMd",
213
+ mobileVariant: "preambleSm",
214
+ title: V,
215
+ className: r.descriptionText
216
+ }
217
+ ) })
218
+ ] }) }) });
219
+ };
220
+ export {
221
+ he as AllInOne
222
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="allInOne-module__root___aRPBl",l="allInOne-module__container___FKeTW",n="allInOne-module__pillContainerWrapper___kXrF1",o="allInOne-module__pillContainer___PJAUY",t="allInOne-module__callToActionContainer___J0Gfh",i="allInOne-module__fixedHeader___4Lq8d",a="allInOne-module__scrollableLabels___BtN-2",r="allInOne-module__description___Y3gZh",_="allInOne-module__descriptionText___svjVl",c={root:e,container:l,pillContainerWrapper:n,pillContainer:o,callToActionContainer:t,fixedHeader:i,scrollableLabels:a,description:r,descriptionText:_};exports.callToActionContainer=t;exports.container=l;exports.default=c;exports.description=r;exports.descriptionText=_;exports.fixedHeader=i;exports.pillContainer=o;exports.pillContainerWrapper=n;exports.root=e;exports.scrollableLabels=a;
@@ -0,0 +1,23 @@
1
+ const e = "allInOne-module__root___aRPBl", l = "allInOne-module__container___FKeTW", n = "allInOne-module__pillContainerWrapper___kXrF1", o = "allInOne-module__pillContainer___PJAUY", _ = "allInOne-module__callToActionContainer___J0Gfh", t = "allInOne-module__fixedHeader___4Lq8d", a = "allInOne-module__scrollableLabels___BtN-2", i = "allInOne-module__description___Y3gZh", r = "allInOne-module__descriptionText___svjVl", c = {
2
+ root: e,
3
+ container: l,
4
+ pillContainerWrapper: n,
5
+ pillContainer: o,
6
+ callToActionContainer: _,
7
+ fixedHeader: t,
8
+ scrollableLabels: a,
9
+ description: i,
10
+ descriptionText: r
11
+ };
12
+ export {
13
+ _ as callToActionContainer,
14
+ l as container,
15
+ c as default,
16
+ i as description,
17
+ r as descriptionText,
18
+ t as fixedHeader,
19
+ o as pillContainer,
20
+ n as pillContainerWrapper,
21
+ e as root,
22
+ a as scrollableLabels
23
+ };
@@ -0,0 +1 @@
1
+ export { AllInOne } from './AllInOne';
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react"),X=require("../../components/Button/Button.cjs.js"),d=require("../../components/Typography/Typography.cjs.js"),w=require("../../components/Icon/Icon.cjs.js"),M=require("../../components/Icon/constants.cjs.js"),t=require("./callToAction.module.css.cjs.js"),x=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),a=require("../../node_modules/gsap/index.cjs.js"),z=require("../../node_modules/@gsap/react/src/index.cjs.js"),F=require("../../node_modules/gsap/ScrollTrigger.cjs.js"),D=require("../../utils/debounce.cjs.js");a.gsap.registerPlugin(F.ScrollTrigger);const G=({subtitle:A,titleTop:E,scrollableLabels:j,titleBottom:P,description:C,hsaText:W,buttonText:k,buttonLink:f,backgroundImage:B})=>{const R=l.useRef(null),i=l.useRef(null),T=l.useRef(null),p=l.useRef(null),h=l.useRef(null),N=l.useRef(null),m=l.useRef(null),g=l.useRef(null),y=l.useRef(null);return z.useGSAP(()=>{var V,L,H;const o=(V=T.current)==null?void 0:V.querySelector("p"),u=(L=N.current)==null?void 0:L.querySelector("p"),$=[o,p.current,i.current,h.current,u,m.current,g.current,y.current].filter(Boolean);a.gsap.set($,{clipPath:"inset(0% 0% 100% 0%)",yPercent:100}),a.gsap.to([o,p.current,i.current,h.current,u,m.current,g.current,y.current],{clipPath:"inset(0% 0% 0% 0%)",yPercent:0,duration:1,ease:"power2.out",delay:1,stagger:{amount:1,from:"start"},scrollTrigger:{trigger:R.current,start:"top center",end:"+=500"}});const r=(H=i.current)==null?void 0:H.querySelector("ul");if(!r)return;const v=r.innerHTML;let s=null,q=!0;const _=()=>{s&&s.kill(),r.innerHTML=v,a.gsap.set(r,{y:0});const n=Array.from(r.querySelectorAll("li"));if(n.length<=1)return;const b=n[0].clientHeight;if(!b)return;a.gsap.set(i.current,{height:b,overflow:"hidden"});const I=Array.from(n);I.forEach(S=>{r.appendChild(S.cloneNode(!0))}),s=a.gsap.timeline({repeat:-1,delay:q?2.5:0,onRepeat:()=>{a.gsap.set(r,{y:0})}}),I.forEach((S,O)=>{s&&s.to({},{duration:2}).to(r,{y:`-${(O+1)*b}`,duration:.5,ease:"power1.inOut"})}),q=!1},c=D.default(_,200);return _(),window.addEventListener("resize",c),()=>{var n;window.removeEventListener("resize",c),(n=c.kill)==null||n.call(c),s&&s.kill(),r&&(r.innerHTML=v,a.gsap.set(r,{y:0}))}},[j]),e.jsxs("section",{ref:R,className:t.default.root,children:[e.jsx("div",{className:t.default.backgroundImage,style:{backgroundImage:`url(${B})`}}),e.jsxs("div",{className:t.default.container,children:[e.jsx("div",{className:t.default.leftContent,children:e.jsxs("div",{className:t.default.content,children:[e.jsx("div",{ref:p,children:e.jsx(x.HighlightedTitle,{defaultVariant:"displayXl",mobileVariant:"displayMd",as:"div",className:t.default.title,title:E})}),e.jsx("div",{ref:i,className:t.default.scrollableLabelsWrapper,children:e.jsx("ul",{className:t.default.scrollableLabels,children:j.map((o,u)=>e.jsx("li",{className:t.default.scrollableLabel,children:e.jsx(d.Typography,{defaultVariant:"displayXl",mobileVariant:"displayMd",as:"span",children:o})},u))})}),e.jsx("div",{ref:h,children:e.jsx(x.HighlightedTitle,{defaultVariant:"displayXl",mobileVariant:"displayMd",as:"div",className:t.default.title,title:P})})]})}),e.jsx("div",{ref:T,className:t.default.subtitleWrapper,children:e.jsx(x.HighlightedTitle,{defaultVariant:"labelMd",mobileVariant:"labelSm",as:"div",className:t.default.subtitle,title:A})}),e.jsx("div",{ref:N,className:t.default.arrowWrapper,children:e.jsxs(d.Typography,{defaultVariant:"labelXl",mobileVariant:"labelLg",className:t.default.arrow,as:"p",children:["(",e.jsx(w.Icon,{name:M.EIconName.ARROW_FORWARD}),")"]})}),e.jsx("div",{className:t.default.rightContent,children:e.jsxs("div",{className:t.default.descriptionWrapper,children:[e.jsx("div",{ref:m,children:e.jsx(d.Typography,{defaultVariant:"bodyLg",mobileVariant:"bodyMd",className:t.default.description,children:C})}),e.jsx("div",{ref:g,className:t.default.buttonWrapper,children:f&&e.jsx(X.Button,{as:f?"a":"button",href:f,variant:"secondary",size:"lg",children:k})}),e.jsxs("div",{ref:y,className:t.default.hsaEligible,children:[e.jsx(w.Icon,{name:M.EIconName.CIRCLE_CHECK_FILL,className:t.default.checkIcon}),e.jsx(d.Typography,{defaultVariant:"bodySm",mobileVariant:"bodySm",className:t.default.hsaText,children:W})]})]})})]})]})};exports.CallToAction=G;
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export type CallToActionProps = {
4
+ subtitle: ReactNode;
5
+ titleTop: ReactNode;
6
+ scrollableLabels: string[];
7
+ titleBottom: ReactNode;
8
+ description: string;
9
+ hsaText: string;
10
+ buttonText: string;
11
+ buttonLink?: string;
12
+ backgroundImage: string;
13
+ onButtonClick?: () => void;
14
+ };
15
+ export declare const CallToAction: ({ subtitle, titleTop, scrollableLabels, titleBottom, description, hsaText, buttonText, buttonLink, backgroundImage, }: CallToActionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,165 @@
1
+ "use client";
2
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
3
+ import { useRef as l } from "react";
4
+ import { Button as j } from "../../components/Button/Button.es.js";
5
+ import { Typography as u } from "../../components/Typography/Typography.es.js";
6
+ import { Icon as A } from "../../components/Icon/Icon.es.js";
7
+ import { EIconName as I } from "../../components/Icon/constants.es.js";
8
+ import r from "./callToAction.module.css.es.js";
9
+ import { HighlightedTitle as v } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
10
+ import { gsap as a } from "../../node_modules/gsap/index.es.js";
11
+ import { useGSAP as $ } from "../../node_modules/@gsap/react/src/index.es.js";
12
+ import { ScrollTrigger as D } from "../../node_modules/gsap/ScrollTrigger.es.js";
13
+ import G from "../../utils/debounce.es.js";
14
+ a.registerPlugin(D);
15
+ const ne = ({
16
+ subtitle: k,
17
+ titleTop: q,
18
+ scrollableLabels: R,
19
+ titleBottom: x,
20
+ description: X,
21
+ hsaText: _,
22
+ buttonText: z,
23
+ buttonLink: f,
24
+ backgroundImage: B
25
+ }) => {
26
+ const V = l(null), o = l(null), L = l(null), p = l(null), h = l(null), T = l(null), b = l(null), g = l(null), y = l(null);
27
+ return $(() => {
28
+ var C, E, H;
29
+ const d = (C = L.current) == null ? void 0 : C.querySelector("p"), m = (E = T.current) == null ? void 0 : E.querySelector("p"), F = [
30
+ d,
31
+ p.current,
32
+ o.current,
33
+ h.current,
34
+ m,
35
+ b.current,
36
+ g.current,
37
+ y.current
38
+ ].filter(Boolean);
39
+ a.set(F, {
40
+ clipPath: "inset(0% 0% 100% 0%)",
41
+ yPercent: 100
42
+ }), a.to(
43
+ [
44
+ d,
45
+ p.current,
46
+ o.current,
47
+ h.current,
48
+ m,
49
+ b.current,
50
+ g.current,
51
+ y.current
52
+ ],
53
+ {
54
+ clipPath: "inset(0% 0% 0% 0%)",
55
+ yPercent: 0,
56
+ duration: 1,
57
+ ease: "power2.out",
58
+ delay: 1,
59
+ stagger: {
60
+ amount: 1,
61
+ from: "start"
62
+ },
63
+ scrollTrigger: {
64
+ trigger: V.current,
65
+ start: "top center",
66
+ end: "+=500"
67
+ }
68
+ }
69
+ );
70
+ const t = (H = o.current) == null ? void 0 : H.querySelector("ul");
71
+ if (!t) return;
72
+ const w = t.innerHTML;
73
+ let i = null, S = !0;
74
+ const M = () => {
75
+ i && i.kill(), t.innerHTML = w, a.set(t, { y: 0 });
76
+ const n = Array.from(t.querySelectorAll("li"));
77
+ if (n.length <= 1) return;
78
+ const N = n[0].clientHeight;
79
+ if (!N) return;
80
+ a.set(o.current, { height: N, overflow: "hidden" });
81
+ const P = Array.from(n);
82
+ P.forEach((W) => {
83
+ t.appendChild(W.cloneNode(!0));
84
+ }), i = a.timeline({
85
+ repeat: -1,
86
+ delay: S ? 2.5 : 0,
87
+ onRepeat: () => {
88
+ a.set(t, { y: 0 });
89
+ }
90
+ }), P.forEach((W, O) => {
91
+ i && i.to({}, { duration: 2 }).to(t, {
92
+ y: `-${(O + 1) * N}`,
93
+ duration: 0.5,
94
+ ease: "power1.inOut"
95
+ });
96
+ }), S = !1;
97
+ }, c = G(M, 200);
98
+ return M(), window.addEventListener("resize", c), () => {
99
+ var n;
100
+ window.removeEventListener("resize", c), (n = c.kill) == null || n.call(c), i && i.kill(), t && (t.innerHTML = w, a.set(t, { y: 0 }));
101
+ };
102
+ }, [R]), /* @__PURE__ */ s("section", { ref: V, className: r.root, children: [
103
+ /* @__PURE__ */ e("div", { className: r.backgroundImage, style: { backgroundImage: `url(${B})` } }),
104
+ /* @__PURE__ */ s("div", { className: r.container, children: [
105
+ /* @__PURE__ */ e("div", { className: r.leftContent, children: /* @__PURE__ */ s("div", { className: r.content, children: [
106
+ /* @__PURE__ */ e("div", { ref: p, children: /* @__PURE__ */ e(
107
+ v,
108
+ {
109
+ defaultVariant: "displayXl",
110
+ mobileVariant: "displayMd",
111
+ as: "div",
112
+ className: r.title,
113
+ title: q
114
+ }
115
+ ) }),
116
+ /* @__PURE__ */ e("div", { ref: o, className: r.scrollableLabelsWrapper, children: /* @__PURE__ */ e("ul", { className: r.scrollableLabels, children: R.map((d, m) => /* @__PURE__ */ e("li", { className: r.scrollableLabel, children: /* @__PURE__ */ e(u, { defaultVariant: "displayXl", mobileVariant: "displayMd", as: "span", children: d }) }, m)) }) }),
117
+ /* @__PURE__ */ e("div", { ref: h, children: /* @__PURE__ */ e(
118
+ v,
119
+ {
120
+ defaultVariant: "displayXl",
121
+ mobileVariant: "displayMd",
122
+ as: "div",
123
+ className: r.title,
124
+ title: x
125
+ }
126
+ ) })
127
+ ] }) }),
128
+ /* @__PURE__ */ e("div", { ref: L, className: r.subtitleWrapper, children: /* @__PURE__ */ e(
129
+ v,
130
+ {
131
+ defaultVariant: "labelMd",
132
+ mobileVariant: "labelSm",
133
+ as: "div",
134
+ className: r.subtitle,
135
+ title: k
136
+ }
137
+ ) }),
138
+ /* @__PURE__ */ e("div", { ref: T, className: r.arrowWrapper, children: /* @__PURE__ */ s(u, { defaultVariant: "labelXl", mobileVariant: "labelLg", className: r.arrow, as: "p", children: [
139
+ "(",
140
+ /* @__PURE__ */ e(A, { name: I.ARROW_FORWARD }),
141
+ ")"
142
+ ] }) }),
143
+ /* @__PURE__ */ e("div", { className: r.rightContent, children: /* @__PURE__ */ s("div", { className: r.descriptionWrapper, children: [
144
+ /* @__PURE__ */ e("div", { ref: b, children: /* @__PURE__ */ e(u, { defaultVariant: "bodyLg", mobileVariant: "bodyMd", className: r.description, children: X }) }),
145
+ /* @__PURE__ */ e("div", { ref: g, className: r.buttonWrapper, children: f && /* @__PURE__ */ e(
146
+ j,
147
+ {
148
+ as: f ? "a" : "button",
149
+ href: f,
150
+ variant: "secondary",
151
+ size: "lg",
152
+ children: z
153
+ }
154
+ ) }),
155
+ /* @__PURE__ */ s("div", { ref: y, className: r.hsaEligible, children: [
156
+ /* @__PURE__ */ e(A, { name: I.CIRCLE_CHECK_FILL, className: r.checkIcon }),
157
+ /* @__PURE__ */ e(u, { defaultVariant: "bodySm", mobileVariant: "bodySm", className: r.hsaText, children: _ })
158
+ ] })
159
+ ] }) })
160
+ ] })
161
+ ] });
162
+ };
163
+ export {
164
+ ne as CallToAction
165
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="callToAction-module__root___-Mx9p",t="callToAction-module__backgroundImage___ArlBX",e="callToAction-module__container___GcKf3",l="callToAction-module__leftContent___H0JJW",c="callToAction-module__content___UUQA-",_="callToAction-module__arrowWrapper___E9SUH",r="callToAction-module__arrow___zEmD9",n="callToAction-module__rightContent___P6E8E",a="callToAction-module__subtitleWrapper___rkYN-",i="callToAction-module__subtitle___3OYsg",s="callToAction-module__title___tF4ct",p="callToAction-module__scrollableLabels___rtBOU",u="callToAction-module__scrollableLabelsWrapper___kMiEE",b="callToAction-module__descriptionWrapper___wZ-TI",d="callToAction-module__buttonWrapper___y6mvR",m="callToAction-module__description___APtkj",T="callToAction-module__hsaEligible___zmkav",A="callToAction-module__checkIcon___kasFP",W="callToAction-module__hsaText___0MzD7",g={root:o,backgroundImage:t,container:e,leftContent:l,content:c,arrowWrapper:_,arrow:r,rightContent:n,subtitleWrapper:a,subtitle:i,title:s,scrollableLabels:p,scrollableLabelsWrapper:u,descriptionWrapper:b,buttonWrapper:d,description:m,hsaEligible:T,checkIcon:A,hsaText:W};exports.arrow=r;exports.arrowWrapper=_;exports.backgroundImage=t;exports.buttonWrapper=d;exports.checkIcon=A;exports.container=e;exports.content=c;exports.default=g;exports.description=m;exports.descriptionWrapper=b;exports.hsaEligible=T;exports.hsaText=W;exports.leftContent=l;exports.rightContent=n;exports.root=o;exports.scrollableLabels=p;exports.scrollableLabelsWrapper=u;exports.subtitle=i;exports.subtitleWrapper=a;exports.title=s;
@@ -0,0 +1,43 @@
1
+ const o = "callToAction-module__root___-Mx9p", t = "callToAction-module__backgroundImage___ArlBX", l = "callToAction-module__container___GcKf3", _ = "callToAction-module__leftContent___H0JJW", e = "callToAction-module__content___UUQA-", c = "callToAction-module__arrowWrapper___E9SUH", n = "callToAction-module__arrow___zEmD9", a = "callToAction-module__rightContent___P6E8E", r = "callToAction-module__subtitleWrapper___rkYN-", s = "callToAction-module__subtitle___3OYsg", i = "callToAction-module__title___tF4ct", p = "callToAction-module__scrollableLabels___rtBOU", u = "callToAction-module__scrollableLabelsWrapper___kMiEE", d = "callToAction-module__descriptionWrapper___wZ-TI", b = "callToAction-module__buttonWrapper___y6mvR", m = "callToAction-module__description___APtkj", T = "callToAction-module__hsaEligible___zmkav", A = "callToAction-module__checkIcon___kasFP", W = "callToAction-module__hsaText___0MzD7", g = {
2
+ root: o,
3
+ backgroundImage: t,
4
+ container: l,
5
+ leftContent: _,
6
+ content: e,
7
+ arrowWrapper: c,
8
+ arrow: n,
9
+ rightContent: a,
10
+ subtitleWrapper: r,
11
+ subtitle: s,
12
+ title: i,
13
+ scrollableLabels: p,
14
+ scrollableLabelsWrapper: u,
15
+ descriptionWrapper: d,
16
+ buttonWrapper: b,
17
+ description: m,
18
+ hsaEligible: T,
19
+ checkIcon: A,
20
+ hsaText: W
21
+ };
22
+ export {
23
+ n as arrow,
24
+ c as arrowWrapper,
25
+ t as backgroundImage,
26
+ b as buttonWrapper,
27
+ A as checkIcon,
28
+ l as container,
29
+ e as content,
30
+ g as default,
31
+ m as description,
32
+ d as descriptionWrapper,
33
+ T as hsaEligible,
34
+ W as hsaText,
35
+ _ as leftContent,
36
+ a as rightContent,
37
+ o as root,
38
+ p as scrollableLabels,
39
+ u as scrollableLabelsWrapper,
40
+ s as subtitle,
41
+ r as subtitleWrapper,
42
+ i as title
43
+ };
@@ -0,0 +1 @@
1
+ export { CallToAction } from './CallToAction';
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("react"),a=require("./components/TabsMenutem/TabsMenuItem.cjs.js"),i=require("./tabsMenu.module.css.cjs.js"),l=({items:s})=>{const[c,o]=r.useState(0),u=t=>{o(e=>e===t?e:t)};return n.jsx("div",{className:i.default.root,children:s.map((t,e)=>n.jsx(a.TabsMenuItem,{title:t.title,content:t.content,isOpen:c===e,index:e,onClick:u},e))})};exports.TabsMenu=l;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("react"),a=require("./components/TabsMenutem/TabsMenuItem.cjs.js"),l=require("./tabsMenu.module.css.cjs.js"),i=({items:s})=>{const[u,c]=r.useState(0),o=e=>{c(t=>t===e?null:e)};return n.jsx("div",{className:l.default.root,children:s.map((e,t)=>n.jsx(a.TabsMenuItem,{title:e.title,content:e.content,isOpen:u===t,index:t,onClick:o},t))})};exports.TabsMenu=i;
@@ -1,22 +1,22 @@
1
1
  "use client";
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { useState as m } from "react";
4
- import { TabsMenuItem as i } from "./components/TabsMenutem/TabsMenuItem.es.js";
5
- import l from "./tabsMenu.module.css.es.js";
6
- const I = ({ items: s }) => {
7
- const [n, r] = m(0), c = (e) => {
8
- r((t) => t === e ? t : e);
4
+ import { TabsMenuItem as l } from "./components/TabsMenutem/TabsMenuItem.es.js";
5
+ import i from "./tabsMenu.module.css.es.js";
6
+ const I = ({ items: n }) => {
7
+ const [s, r] = m(0), c = (t) => {
8
+ r((e) => e === t ? null : t);
9
9
  };
10
- return /* @__PURE__ */ o("div", { className: l.root, children: s.map((e, t) => /* @__PURE__ */ o(
11
- i,
10
+ return /* @__PURE__ */ o("div", { className: i.root, children: n.map((t, e) => /* @__PURE__ */ o(
11
+ l,
12
12
  {
13
- title: e.title,
14
- content: e.content,
15
- isOpen: n === t,
16
- index: t,
13
+ title: t.title,
14
+ content: t.content,
15
+ isOpen: s === e,
16
+ index: e,
17
17
  onClick: c
18
18
  },
19
- t
19
+ e
20
20
  )) });
21
21
  };
22
22
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../../../../../utils/cn/cn.cjs.js"),a=require("../../../../../../components/Icon/Icon.cjs.js"),s=require("../../../../../../components/Icon/constants.cjs.js"),t=require("../../../../../../components/Typography/Typography.cjs.js"),n=require("./tabsMenuItem.module.css.cjs.js"),u=({title:r,content:i,isOpen:c,index:l,onClick:d})=>e.jsxs("div",{onClick:()=>d(l??0),className:n.default.root,children:[e.jsxs("div",{className:n.default.header,children:[e.jsxs("div",{className:n.default.titleWithPrefixIconWrapper,children:[e.jsx(a.Icon,{name:s.EIconName.CIRCLE_CHECK_FILL,className:n.default.prefixIcon}),e.jsx(t.Typography,{defaultVariant:"headingSm",mobileVariant:"headingXxs",children:r})]}),e.jsxs("div",{className:n.default.closeButtonWrapper,children:[e.jsx(a.Icon,{name:s.EIconName.BRACKET_LEFT}),e.jsx("div",{className:o.cn(n.default.closeButton,{[n.default.closeButtonActive]:c}),children:e.jsx(a.Icon,{name:s.EIconName.PLUS})}),e.jsx(a.Icon,{name:s.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:o.cn(n.default.description,{[n.default.descriptionShow]:c}),children:e.jsx(t.Typography,{as:"p",defaultVariant:"bodySm",mobileVariant:"bodyXs",children:i})})]});exports.TabsMenuItem=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../../../../../../utils/cn/cn.cjs.js"),a=require("../../../../../../components/Icon/Icon.cjs.js"),s=require("../../../../../../components/Icon/constants.cjs.js"),o=require("../../../../../../components/Typography/Typography.cjs.js"),n=require("./tabsMenuItem.module.css.cjs.js"),u=({title:r,content:i,isOpen:c,index:l,onClick:d})=>e.jsxs("div",{onClick:()=>d(l??0),className:n.default.root,children:[e.jsxs("div",{className:n.default.header,children:[e.jsxs("div",{className:n.default.titleWithPrefixIconWrapper,children:[e.jsx(a.Icon,{name:s.EIconName.CIRCLE_CHECK_FILL,className:n.default.prefixIcon}),e.jsx(o.Typography,{defaultVariant:"headingSm",mobileVariant:"headingXxs",children:r})]}),e.jsxs("div",{className:n.default.closeButtonWrapper,children:[e.jsx(a.Icon,{name:s.EIconName.BRACKET_LEFT}),e.jsx("div",{className:t.cn(n.default.closeButton,{[n.default.closeButtonActive]:c}),children:e.jsx(a.Icon,{name:s.EIconName.PLUS})}),e.jsx(a.Icon,{name:s.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:t.cn(n.default.description,{[n.default.descriptionShow]:c}),children:e.jsx("div",{className:n.default.descriptionInner,children:e.jsx(o.Typography,{as:"p",defaultVariant:"bodySm",mobileVariant:"bodyXs",children:i})})})]});exports.TabsMenuItem=u;
@@ -1,31 +1,31 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
- import { cn as t } from "../../../../../../utils/cn/cn.es.js";
3
- import { Icon as i } from "../../../../../../components/Icon/Icon.es.js";
1
+ import { jsxs as r, jsx as i } from "react/jsx-runtime";
2
+ import { cn as c } from "../../../../../../utils/cn/cn.es.js";
3
+ import { Icon as a } from "../../../../../../components/Icon/Icon.es.js";
4
4
  import { EIconName as o } from "../../../../../../components/Icon/constants.es.js";
5
- import { Typography as m } from "../../../../../../components/Typography/Typography.es.js";
5
+ import { Typography as s } from "../../../../../../components/Typography/Typography.es.js";
6
6
  import e from "./tabsMenuItem.module.css.es.js";
7
- const v = ({ title: c, content: s, isOpen: n, index: l, onClick: d }) => /* @__PURE__ */ a("div", { onClick: () => d(l ?? 0), className: e.root, children: [
8
- /* @__PURE__ */ a("div", { className: e.header, children: [
9
- /* @__PURE__ */ a("div", { className: e.titleWithPrefixIconWrapper, children: [
10
- /* @__PURE__ */ r(i, { name: o.CIRCLE_CHECK_FILL, className: e.prefixIcon }),
11
- /* @__PURE__ */ r(m, { defaultVariant: "headingSm", mobileVariant: "headingXxs", children: c })
7
+ const u = ({ title: t, content: m, isOpen: n, index: l, onClick: d }) => /* @__PURE__ */ r("div", { onClick: () => d(l ?? 0), className: e.root, children: [
8
+ /* @__PURE__ */ r("div", { className: e.header, children: [
9
+ /* @__PURE__ */ r("div", { className: e.titleWithPrefixIconWrapper, children: [
10
+ /* @__PURE__ */ i(a, { name: o.CIRCLE_CHECK_FILL, className: e.prefixIcon }),
11
+ /* @__PURE__ */ i(s, { defaultVariant: "headingSm", mobileVariant: "headingXxs", children: t })
12
12
  ] }),
13
- /* @__PURE__ */ a("div", { className: e.closeButtonWrapper, children: [
14
- /* @__PURE__ */ r(i, { name: o.BRACKET_LEFT }),
15
- /* @__PURE__ */ r(
13
+ /* @__PURE__ */ r("div", { className: e.closeButtonWrapper, children: [
14
+ /* @__PURE__ */ i(a, { name: o.BRACKET_LEFT }),
15
+ /* @__PURE__ */ i(
16
16
  "div",
17
17
  {
18
- className: t(e.closeButton, {
18
+ className: c(e.closeButton, {
19
19
  [e.closeButtonActive]: n
20
20
  }),
21
- children: /* @__PURE__ */ r(i, { name: o.PLUS })
21
+ children: /* @__PURE__ */ i(a, { name: o.PLUS })
22
22
  }
23
23
  ),
24
- /* @__PURE__ */ r(i, { name: o.BRACKET_RIGHT })
24
+ /* @__PURE__ */ i(a, { name: o.BRACKET_RIGHT })
25
25
  ] })
26
26
  ] }),
27
- /* @__PURE__ */ r("div", { className: t(e.description, { [e.descriptionShow]: n }), children: /* @__PURE__ */ r(m, { as: "p", defaultVariant: "bodySm", mobileVariant: "bodyXs", children: s }) })
27
+ /* @__PURE__ */ i("div", { className: c(e.description, { [e.descriptionShow]: n }), children: /* @__PURE__ */ i("div", { className: e.descriptionInner, children: /* @__PURE__ */ i(s, { as: "p", defaultVariant: "bodySm", mobileVariant: "bodyXs", children: m }) }) })
28
28
  ] });
29
29
  export {
30
- v as TabsMenuItem
30
+ u as TabsMenuItem
31
31
  };