@zenpatient-org/healthspan-marketing-ui 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/dist/components/Button/Button.es.js +24 -6
- package/dist/components/ComplexTooltip/ComplexTooltip.cjs.js +1 -1
- package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +5 -13
- package/dist/components/ComplexTooltip/ComplexTooltip.es.js +49 -59
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +10 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +52 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.cjs.js +1 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.es.js +15 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/index.d.ts +1 -0
- package/dist/components/ComplexTooltip/index.d.ts +1 -0
- package/dist/components/ComplexTooltip/types.d.ts +13 -0
- package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
- package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
- package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
- package/dist/components/Label/Label.es.js +9 -1
- package/dist/components/Pricing/Pricing.cjs.js +1 -0
- package/dist/components/Pricing/Pricing.d.ts +3 -0
- package/dist/components/Pricing/Pricing.es.js +41 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
- package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
- package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
- package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
- package/dist/components/Pricing/components/index.d.ts +1 -0
- package/dist/components/Pricing/index.d.ts +2 -0
- package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
- package/dist/components/Pricing/pricing.module.css.es.js +25 -0
- package/dist/components/Pricing/types.d.ts +17 -0
- package/dist/components/ProductGalleryCard/ProductGalleryCard.cjs.js +1 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +5 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +37 -15
- package/dist/components/ProductGalleryCard/productGalleryCard.module.css.cjs.js +1 -1
- package/dist/components/ProductGalleryCard/productGalleryCard.module.css.es.js +14 -12
- package/dist/components/ProductPairs/ProductPairs.cjs.js +1 -0
- package/dist/components/ProductPairs/ProductPairs.d.ts +7 -0
- package/dist/components/ProductPairs/ProductPairs.es.js +55 -0
- package/dist/components/ProductPairs/index.d.ts +1 -0
- package/dist/components/ProductPairs/productPairs.module.css.cjs.js +1 -0
- package/dist/components/ProductPairs/productPairs.module.css.es.js +17 -0
- package/dist/components/ProgressButton/ProgressButton.es.js +9 -1
- package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -1
- package/dist/components/StepsCarousel/StepsCarousel.es.js +110 -56
- package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
- package/dist/components/Tabs/TabsWithFade.es.js +10 -1
- package/dist/components/Typography/Typography.es.js +8 -1
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/Benefits/Benefits.cjs.js +1 -0
- package/dist/modules/Benefits/Benefits.d.ts +14 -0
- package/dist/modules/Benefits/Benefits.es.js +30 -0
- package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/benefits.module.css.es.js +25 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.d.ts +7 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +13 -0
- package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.es.js +11 -0
- package/dist/modules/Benefits/components/BenefitItem/index.d.ts +1 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.d.ts +6 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +8 -0
- package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.es.js +9 -0
- package/dist/modules/Benefits/components/BenefitTag/index.d.ts +1 -0
- package/dist/modules/Benefits/components/index.d.ts +2 -0
- package/dist/modules/Benefits/index.d.ts +1 -0
- package/dist/modules/Compare/Compare.d.ts +3 -0
- package/dist/modules/Compare/index.d.ts +1 -0
- package/dist/modules/Compare/types.d.ts +9 -0
- package/dist/modules/Comparison/Comparison.es.js +20 -5
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
- package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
- package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
- package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
- package/dist/modules/OptimalHealth/OptimalHealth.es.js +6 -6
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
- package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
- package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
- package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
- package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
- package/dist/modules/OurProcess/OurProcess.es.js +17 -8
- package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -0
- package/dist/modules/PairedProducts/PairedProducts.d.ts +12 -0
- package/dist/modules/PairedProducts/PairedProducts.es.js +17 -0
- package/dist/modules/PairedProducts/index.d.ts +1 -0
- package/dist/modules/PairedProducts/pairedProducts.module.css.cjs.js +1 -0
- package/dist/modules/PairedProducts/pairedProducts.module.css.es.js +17 -0
- package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +1 -1
- package/dist/modules/ProductsDisplay/types.d.ts +1 -1
- package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -0
- package/dist/modules/TypesOfTests/TypesOfTests.d.ts +10 -0
- package/dist/modules/TypesOfTests/TypesOfTests.es.js +106 -0
- package/dist/modules/TypesOfTests/index.d.ts +1 -0
- package/dist/modules/TypesOfTests/types.d.ts +8 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +31 -0
- package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
- package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
- package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
- package/dist/node_modules/gsap/Observer.cjs.js +8 -0
- package/dist/node_modules/gsap/Observer.es.js +242 -0
- package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
- package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
- package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
- package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
- package/dist/node_modules/gsap/index.cjs.js +1 -0
- package/dist/node_modules/gsap/index.es.js +13 -0
- package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
- package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
- package/dist/utils/useIsMobile.cjs.js +1 -0
- package/dist/utils/useIsMobile.d.ts +1 -0
- package/dist/utils/useIsMobile.es.js +12 -0
- package/package.json +44 -4
- package/dist/components/ComplexTooltip/complexTooltip.module.css.cjs.js +0 -1
- package/dist/components/ComplexTooltip/complexTooltip.module.css.es.js +0 -17
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/StepsCarousel/StepsCarousel.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/StepsCarousel/StepsCarousel.cjs.js"),a=require("../../components/Button/Button.cjs.js"),d=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),t=require("./ourProcess.module.css.cjs.js"),c=({title:i,label:n,colorScheme:s,steps:o,buttonLabel:u,buttonLink:r})=>e.jsx("section",{className:t.default.root,"data-scheme":s,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.header,children:[e.jsx(d.HighlightedTitle,{title:i,label:n,colorScheme:s}),r&&e.jsx("div",{children:e.jsx(a.Button,{as:"a",variant:s==="light"?"muted":"muted-invert",size:"lg",href:r,children:u||"How it works"})})]}),e.jsx(l.StepsCarousel,{steps:o,colorScheme:s})]})});exports.OurProcess=c;
|
|
@@ -7,6 +7,7 @@ export type OurProcessProps = {
|
|
|
7
7
|
label: string;
|
|
8
8
|
colorScheme: TColorScheme;
|
|
9
9
|
steps: TStepsCarouselView;
|
|
10
|
-
|
|
10
|
+
buttonLabel?: string;
|
|
11
|
+
buttonLink?: string;
|
|
11
12
|
};
|
|
12
|
-
export declare const OurProcess: ({ title, label, colorScheme,
|
|
13
|
+
export declare const OurProcess: ({ title, label, colorScheme, steps, buttonLabel, buttonLink }: OurProcessProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { StepsCarousel as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { HighlightedTitle as
|
|
2
|
+
import { StepsCarousel as l } from "../../components/StepsCarousel/StepsCarousel.es.js";
|
|
3
|
+
import { Button as n } from "../../components/Button/Button.es.js";
|
|
4
|
+
import { HighlightedTitle as h } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
5
5
|
import t from "./ourProcess.module.css.es.js";
|
|
6
|
-
const
|
|
6
|
+
const g = ({ title: a, label: o, colorScheme: i, steps: d, buttonLabel: m, buttonLink: e }) => /* @__PURE__ */ r("section", { className: t.root, "data-scheme": i, children: /* @__PURE__ */ s("div", { className: t.container, children: [
|
|
7
7
|
/* @__PURE__ */ s("div", { className: t.header, children: [
|
|
8
|
-
/* @__PURE__ */ r(
|
|
9
|
-
e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
|
|
8
|
+
/* @__PURE__ */ r(h, { title: a, label: o, colorScheme: i }),
|
|
9
|
+
e && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
|
|
10
|
+
n,
|
|
11
|
+
{
|
|
12
|
+
as: "a",
|
|
13
|
+
variant: i === "light" ? "muted" : "muted-invert",
|
|
14
|
+
size: "lg",
|
|
15
|
+
href: e,
|
|
16
|
+
children: m || "How it works"
|
|
17
|
+
}
|
|
18
|
+
) })
|
|
10
19
|
] }),
|
|
11
|
-
/* @__PURE__ */ r(
|
|
20
|
+
/* @__PURE__ */ r(l, { steps: d, colorScheme: i })
|
|
12
21
|
] }) });
|
|
13
22
|
export {
|
|
14
|
-
|
|
23
|
+
g as OurProcess
|
|
15
24
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../components/Button/Button.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),n=require("../../components/ProductPairs/ProductPairs.cjs.js"),t=require("../../utils/cn/cn.cjs.js"),r=require("./pairedProducts.module.css.cjs.js"),o=({title:d,button:a,productCards:i})=>e.jsx("section",{className:r.default.root,children:e.jsxs("div",{className:r.default.container,children:[e.jsxs("div",{className:r.default.header,children:[e.jsx(c.Typography,{as:"h2",defaultVariant:"displaySm",mobileVariant:"headingLg",children:d}),e.jsx("div",{className:t.cn(r.default.buttonWrap,r.default.mobile),children:e.jsx(s.Button,{as:"a",href:a.href,variant:"muted",size:"sm",children:a.label})}),e.jsx("div",{className:t.cn(r.default.buttonWrap,r.default.desktop),children:e.jsx(s.Button,{as:"a",href:a.href,variant:"muted",size:"lg",children:a.label})})]}),e.jsx("div",{className:r.default.productCards,children:e.jsx(n.ProductPairs,{productCards:i})})]})});exports.PairedProducts=o;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TProductGalleryCardView } from '../../components/ProductGalleryCard';
|
|
2
|
+
|
|
3
|
+
type PairedProductsProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
button: {
|
|
6
|
+
label: string;
|
|
7
|
+
href: string;
|
|
8
|
+
};
|
|
9
|
+
productCards: Array<TProductGalleryCardView>;
|
|
10
|
+
};
|
|
11
|
+
export declare const PairedProducts: ({ title, button, productCards }: PairedProductsProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Button as s } from "../../components/Button/Button.es.js";
|
|
3
|
+
import { Typography as m } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { ProductPairs as t } from "../../components/ProductPairs/ProductPairs.es.js";
|
|
5
|
+
import { cn as d } from "../../utils/cn/cn.es.js";
|
|
6
|
+
import a from "./pairedProducts.module.css.es.js";
|
|
7
|
+
const v = ({ title: l, button: e, productCards: o }) => /* @__PURE__ */ r("section", { className: a.root, children: /* @__PURE__ */ i("div", { className: a.container, children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: a.header, children: [
|
|
9
|
+
/* @__PURE__ */ r(m, { as: "h2", defaultVariant: "displaySm", mobileVariant: "headingLg", children: l }),
|
|
10
|
+
/* @__PURE__ */ r("div", { className: d(a.buttonWrap, a.mobile), children: /* @__PURE__ */ r(s, { as: "a", href: e.href, variant: "muted", size: "sm", children: e.label }) }),
|
|
11
|
+
/* @__PURE__ */ r("div", { className: d(a.buttonWrap, a.desktop), children: /* @__PURE__ */ r(s, { as: "a", href: e.href, variant: "muted", size: "lg", children: e.label }) })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ r("div", { className: a.productCards, children: /* @__PURE__ */ r(t, { productCards: o }) })
|
|
14
|
+
] }) });
|
|
15
|
+
export {
|
|
16
|
+
v as PairedProducts
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PairedProducts } from './PairedProducts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="pairedProducts-module__root___CGPcB",e="pairedProducts-module__container___UOwaf",d="pairedProducts-module__header___cGhYK",t="pairedProducts-module__productCards___wKcam",r="pairedProducts-module__mobile___e1DYf",_="pairedProducts-module__desktop___mq5Bl",s={root:o,container:e,header:d,productCards:t,mobile:r,desktop:_};exports.container=e;exports.default=s;exports.desktop=_;exports.header=d;exports.mobile=r;exports.productCards=t;exports.root=o;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const o = "pairedProducts-module__root___CGPcB", d = "pairedProducts-module__container___UOwaf", e = "pairedProducts-module__header___cGhYK", _ = "pairedProducts-module__productCards___wKcam", r = "pairedProducts-module__mobile___e1DYf", t = "pairedProducts-module__desktop___mq5Bl", c = {
|
|
2
|
+
root: o,
|
|
3
|
+
container: d,
|
|
4
|
+
header: e,
|
|
5
|
+
productCards: _,
|
|
6
|
+
mobile: r,
|
|
7
|
+
desktop: t
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
d as container,
|
|
11
|
+
c as default,
|
|
12
|
+
t as desktop,
|
|
13
|
+
e as header,
|
|
14
|
+
r as mobile,
|
|
15
|
+
_ as productCards,
|
|
16
|
+
o as root
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
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=({
|
|
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=({labelText: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,3 +1,3 @@
|
|
|
1
1
|
import { TProductsDisplay } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const ProductsDisplay: ({
|
|
3
|
+
export declare const ProductsDisplay: ({ labelText, productDisplays }: TProductsDisplay) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import { Typography as l } from "../../components/Typography/Typography.es.js";
|
|
|
7
7
|
import { ProductsDisplayTabs as V } from "./components/ProductsDisplayTabs/ProductsDisplayTabs.es.js";
|
|
8
8
|
import r from "./productsDisplay.module.css.es.js";
|
|
9
9
|
import { useProductsData as x } from "./useProductsData.es.js";
|
|
10
|
-
const B = ({
|
|
10
|
+
const B = ({ labelText: d, productDisplays: m }) => {
|
|
11
11
|
var i;
|
|
12
12
|
const { isTabbed: a, title: c, description: n, tabs: s, slidesByTabs: o } = x({
|
|
13
13
|
productDisplays: m
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),v=require("../../components/ComplexTooltip/ComplexTooltip.cjs.js"),k=require("../../components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js"),g=require("../../components/Button/Button.cjs.js"),x=require("../../components/Typography/Typography.cjs.js"),r=require("../../utils/cn/cn.cjs.js"),t=require("./typesOfTests.module.css.cjs.js"),I=7,N=({title:C,items:s,colorScheme:n,buttonLabel:p})=>{const[u,y]=a.useState(!1),[i,h]=a.useState(null),[f,j]=a.useState(!1),c=a.useRef(null),m=()=>y(l=>!l),T=()=>{h(null)};return a.useLayoutEffect(()=>{var d;if(!c.current)return;const o=(((d=c.current.firstElementChild)==null?void 0:d.getBoundingClientRect().height)||0)*I;j(c.current.scrollHeight>o)},[s.length]),e.jsxs("section",{className:t.default.root,"data-scheme":n,children:[i!==null&&e.jsx("div",{className:r.cn(t.default.popover,t.default.mobile),children:e.jsx(k.ComplexTooltipContent,{title:s[i].title,description:s[i].description,onClose:T,style:n,link:s[i].link,className:t.default.popoverContent})}),e.jsxs("div",{className:t.default.container,children:[e.jsx("div",{className:t.default.header,children:e.jsxs(x.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingLg",children:["(",C,")"]})}),e.jsx("div",{ref:c,className:r.cn(t.default.content,!u&&f&&t.default.contentLimited),children:s.map((l,o)=>e.jsx("div",{className:r.cn(t.default.item,i===o&&t.default.selectedItem),onClick:()=>h(d=>d===o?null:o),children:e.jsx(v.ComplexTooltip,{title:l.title,description:l.description,style:"light",trigger:"hover",isBlurred:n==="dark",link:l.link,children:e.jsx(x.Typography,{as:"p",defaultVariant:"headingLg",mobileVariant:"headingXxs",className:t.default.itemTitle,children:l.title})})},l.title))}),f&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:r.cn(t.default.actions,t.default.desktop),children:e.jsxs(g.Button,{variant:n==="light"?"muted":"muted-invert",size:"lg",onClick:m,children:[u?"Hide":"View All"," ",p]})}),e.jsx("div",{className:r.cn(t.default.actions,t.default.mobile),children:e.jsxs(g.Button,{variant:n==="light"?"muted":"muted-invert",size:"md",onClick:m,children:[u?"Hide":"View All"," ",p]})})]})]})]})};exports.TypesOfTests=N;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TColorScheme } from '../../types/common';
|
|
2
|
+
import { TTypesOfTestsItem } from './types';
|
|
3
|
+
|
|
4
|
+
export type TypesOfTestsProps = {
|
|
5
|
+
title: string;
|
|
6
|
+
items: Array<TTypesOfTestsItem>;
|
|
7
|
+
buttonLabel: string;
|
|
8
|
+
colorScheme: TColorScheme;
|
|
9
|
+
};
|
|
10
|
+
export declare const TypesOfTests: ({ title, items, colorScheme, buttonLabel }: TypesOfTestsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as l, jsx as t, Fragment as y } from "react/jsx-runtime";
|
|
3
|
+
import { useState as h, useRef as V, useLayoutEffect as x } from "react";
|
|
4
|
+
import { ComplexTooltip as B } from "../../components/ComplexTooltip/ComplexTooltip.es.js";
|
|
5
|
+
import { ComplexTooltipContent as H } from "../../components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js";
|
|
6
|
+
import { Button as v } from "../../components/Button/Button.es.js";
|
|
7
|
+
import { Typography as C } from "../../components/Typography/Typography.es.js";
|
|
8
|
+
import { cn as a } from "../../utils/cn/cn.es.js";
|
|
9
|
+
import e from "./typesOfTests.module.css.es.js";
|
|
10
|
+
const T = 7, M = ({ title: k, items: n, colorScheme: s, buttonLabel: p }) => {
|
|
11
|
+
const [m, I] = h(!1), [o, u] = h(null), [g, N] = h(!1), c = V(null), f = () => I((i) => !i), w = () => {
|
|
12
|
+
u(null);
|
|
13
|
+
};
|
|
14
|
+
return x(() => {
|
|
15
|
+
var d;
|
|
16
|
+
if (!c.current) return;
|
|
17
|
+
const r = (((d = c.current.firstElementChild) == null ? void 0 : d.getBoundingClientRect().height) || 0) * T;
|
|
18
|
+
N(c.current.scrollHeight > r);
|
|
19
|
+
}, [n.length]), /* @__PURE__ */ l("section", { className: e.root, "data-scheme": s, children: [
|
|
20
|
+
o !== null && /* @__PURE__ */ t("div", { className: a(e.popover, e.mobile), children: /* @__PURE__ */ t(
|
|
21
|
+
H,
|
|
22
|
+
{
|
|
23
|
+
title: n[o].title,
|
|
24
|
+
description: n[o].description,
|
|
25
|
+
onClose: w,
|
|
26
|
+
style: s,
|
|
27
|
+
link: n[o].link,
|
|
28
|
+
className: e.popoverContent
|
|
29
|
+
}
|
|
30
|
+
) }),
|
|
31
|
+
/* @__PURE__ */ l("div", { className: e.container, children: [
|
|
32
|
+
/* @__PURE__ */ t("div", { className: e.header, children: /* @__PURE__ */ l(C, { as: "h2", defaultVariant: "displayMd", mobileVariant: "headingLg", children: [
|
|
33
|
+
"(",
|
|
34
|
+
k,
|
|
35
|
+
")"
|
|
36
|
+
] }) }),
|
|
37
|
+
/* @__PURE__ */ t(
|
|
38
|
+
"div",
|
|
39
|
+
{
|
|
40
|
+
ref: c,
|
|
41
|
+
className: a(e.content, !m && g && e.contentLimited),
|
|
42
|
+
children: n.map((i, r) => /* @__PURE__ */ t(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
className: a(e.item, o === r && e.selectedItem),
|
|
46
|
+
onClick: () => u((d) => d === r ? null : r),
|
|
47
|
+
children: /* @__PURE__ */ t(
|
|
48
|
+
B,
|
|
49
|
+
{
|
|
50
|
+
title: i.title,
|
|
51
|
+
description: i.description,
|
|
52
|
+
style: "light",
|
|
53
|
+
trigger: "hover",
|
|
54
|
+
isBlurred: s === "dark",
|
|
55
|
+
link: i.link,
|
|
56
|
+
children: /* @__PURE__ */ t(
|
|
57
|
+
C,
|
|
58
|
+
{
|
|
59
|
+
as: "p",
|
|
60
|
+
defaultVariant: "headingLg",
|
|
61
|
+
mobileVariant: "headingXxs",
|
|
62
|
+
className: e.itemTitle,
|
|
63
|
+
children: i.title
|
|
64
|
+
}
|
|
65
|
+
)
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
},
|
|
69
|
+
i.title
|
|
70
|
+
))
|
|
71
|
+
}
|
|
72
|
+
),
|
|
73
|
+
g && /* @__PURE__ */ l(y, { children: [
|
|
74
|
+
/* @__PURE__ */ t("div", { className: a(e.actions, e.desktop), children: /* @__PURE__ */ l(
|
|
75
|
+
v,
|
|
76
|
+
{
|
|
77
|
+
variant: s === "light" ? "muted" : "muted-invert",
|
|
78
|
+
size: "lg",
|
|
79
|
+
onClick: f,
|
|
80
|
+
children: [
|
|
81
|
+
m ? "Hide" : "View All",
|
|
82
|
+
" ",
|
|
83
|
+
p
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
) }),
|
|
87
|
+
/* @__PURE__ */ t("div", { className: a(e.actions, e.mobile), children: /* @__PURE__ */ l(
|
|
88
|
+
v,
|
|
89
|
+
{
|
|
90
|
+
variant: s === "light" ? "muted" : "muted-invert",
|
|
91
|
+
size: "md",
|
|
92
|
+
onClick: f,
|
|
93
|
+
children: [
|
|
94
|
+
m ? "Hide" : "View All",
|
|
95
|
+
" ",
|
|
96
|
+
p
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
) })
|
|
100
|
+
] })
|
|
101
|
+
] })
|
|
102
|
+
] });
|
|
103
|
+
};
|
|
104
|
+
export {
|
|
105
|
+
M as TypesOfTests
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TypesOfTests } from './TypesOfTests';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="typesOfTests-module__root___qYLAe",t="typesOfTests-module__container___2YAop",o="typesOfTests-module__header___WYq05",s="typesOfTests-module__content___YNdyt",_="typesOfTests-module__contentLimited___KA707",n="typesOfTests-module__actions___OgW7Y",c="typesOfTests-module__item___kfqsC",i="typesOfTests-module__itemTitle___XZ2e5",d="typesOfTests-module__popover___yLmud",m="typesOfTests-module__popoverContent___hHYFW",p="typesOfTests-module__mobile___aeDNo",l="typesOfTests-module__selectedItem___STfZe",r="typesOfTests-module__desktop___NYBBS",u={root:e,container:t,header:o,content:s,contentLimited:_,actions:n,item:c,itemTitle:i,popover:d,popoverContent:m,mobile:p,selectedItem:l,desktop:r};exports.actions=n;exports.container=t;exports.content=s;exports.contentLimited=_;exports.default=u;exports.desktop=r;exports.header=o;exports.item=c;exports.itemTitle=i;exports.mobile=p;exports.popover=d;exports.popoverContent=m;exports.root=e;exports.selectedItem=l;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const e = "typesOfTests-module__root___qYLAe", t = "typesOfTests-module__container___2YAop", o = "typesOfTests-module__header___WYq05", s = "typesOfTests-module__content___YNdyt", _ = "typesOfTests-module__contentLimited___KA707", n = "typesOfTests-module__actions___OgW7Y", p = "typesOfTests-module__item___kfqsC", c = "typesOfTests-module__itemTitle___XZ2e5", m = "typesOfTests-module__popover___yLmud", d = "typesOfTests-module__popoverContent___hHYFW", i = "typesOfTests-module__mobile___aeDNo", l = "typesOfTests-module__selectedItem___STfZe", T = "typesOfTests-module__desktop___NYBBS", f = {
|
|
2
|
+
root: e,
|
|
3
|
+
container: t,
|
|
4
|
+
header: o,
|
|
5
|
+
content: s,
|
|
6
|
+
contentLimited: _,
|
|
7
|
+
actions: n,
|
|
8
|
+
item: p,
|
|
9
|
+
itemTitle: c,
|
|
10
|
+
popover: m,
|
|
11
|
+
popoverContent: d,
|
|
12
|
+
mobile: i,
|
|
13
|
+
selectedItem: l,
|
|
14
|
+
desktop: T
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
n as actions,
|
|
18
|
+
t as container,
|
|
19
|
+
s as content,
|
|
20
|
+
_ as contentLimited,
|
|
21
|
+
f as default,
|
|
22
|
+
T as desktop,
|
|
23
|
+
o as header,
|
|
24
|
+
p as item,
|
|
25
|
+
c as itemTitle,
|
|
26
|
+
i as mobile,
|
|
27
|
+
m as popover,
|
|
28
|
+
d as popoverContent,
|
|
29
|
+
e as root,
|
|
30
|
+
l as selectedItem
|
|
31
|
+
};
|
|
@@ -6,7 +6,15 @@ import { ProtocolTags as p } from "./components/ProtocolTags/ProtocolTags.es.js"
|
|
|
6
6
|
import o from "./yourProtocol.module.css.es.js";
|
|
7
7
|
const N = ({ title: e, image: s, tags: m, callbackView: t }) => /* @__PURE__ */ i("section", { className: o.root, children: [
|
|
8
8
|
/* @__PURE__ */ i("div", { className: o.content, children: [
|
|
9
|
-
/* @__PURE__ */ r(
|
|
9
|
+
/* @__PURE__ */ r(
|
|
10
|
+
a,
|
|
11
|
+
{
|
|
12
|
+
title: e,
|
|
13
|
+
className: o.title,
|
|
14
|
+
defaultVariant: "displaySm",
|
|
15
|
+
mobileVariant: "headingXl"
|
|
16
|
+
}
|
|
17
|
+
),
|
|
10
18
|
/* @__PURE__ */ r(p, { tags: m }),
|
|
11
19
|
t && /* @__PURE__ */ r("div", { className: o.callback, children: /* @__PURE__ */ r(
|
|
12
20
|
l,
|
|
@@ -22,7 +30,16 @@ const N = ({ title: e, image: s, tags: m, callbackView: t }) => /* @__PURE__ */
|
|
|
22
30
|
}
|
|
23
31
|
) })
|
|
24
32
|
] }),
|
|
25
|
-
/* @__PURE__ */ r(
|
|
33
|
+
/* @__PURE__ */ r(
|
|
34
|
+
"img",
|
|
35
|
+
{
|
|
36
|
+
src: s,
|
|
37
|
+
alt: "Your Protocol",
|
|
38
|
+
className: n(o.image, o.desktop),
|
|
39
|
+
width: 481,
|
|
40
|
+
height: 640
|
|
41
|
+
}
|
|
42
|
+
)
|
|
26
43
|
] });
|
|
27
44
|
export {
|
|
28
45
|
N as YourProtocol
|
|
@@ -7,12 +7,25 @@ import { cn as n } from "../../../../utils/cn/cn.es.js";
|
|
|
7
7
|
import l from "./protocolTags.module.css.es.js";
|
|
8
8
|
const V = ({ tags: i }) => {
|
|
9
9
|
var s;
|
|
10
|
-
const [r, m] = b(((s = i[0]) == null ? void 0 : s.label) || null), a = f(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const [r, m] = b(((s = i[0]) == null ? void 0 : s.label) || null), a = f(
|
|
11
|
+
() => {
|
|
12
|
+
var e;
|
|
13
|
+
return (e = i.find((d) => d.label === r)) == null ? void 0 : e.description;
|
|
14
|
+
},
|
|
15
|
+
[r, i]
|
|
16
|
+
);
|
|
14
17
|
return /* @__PURE__ */ t("div", { className: l.root, children: [
|
|
15
|
-
/* @__PURE__ */ o("div", { className: l.tags, children: i.map((e) => /* @__PURE__ */ o(
|
|
18
|
+
/* @__PURE__ */ o("div", { className: l.tags, children: i.map((e) => /* @__PURE__ */ o(
|
|
19
|
+
u,
|
|
20
|
+
{
|
|
21
|
+
value: e.label,
|
|
22
|
+
size: "md",
|
|
23
|
+
active: e.label === r,
|
|
24
|
+
onClick: m,
|
|
25
|
+
children: e.label
|
|
26
|
+
},
|
|
27
|
+
e.label
|
|
28
|
+
)) }),
|
|
16
29
|
a && /* @__PURE__ */ t(p, { children: [
|
|
17
30
|
/* @__PURE__ */ o(c, { as: "p", defaultVariant: "bodyLg", className: n(l.description, l.desktop), children: a }),
|
|
18
31
|
/* @__PURE__ */ o(c, { as: "p", defaultVariant: "bodyMd", className: n(l.description, l.mobile), children: a })
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./gsap-core.cjs.js");/*!
|
|
2
|
+
* CSSPlugin 3.13.0
|
|
3
|
+
* https://gsap.com
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
6
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
7
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
+
*/var be,W,ie,xe,K,Se,pe,We=function(){return typeof window<"u"},U={},$=180/Math.PI,ne=Math.PI/180,ee=Math.atan2,ye=1e8,ge=/([A-Z])/g,Ge=/(left|right|width|margin|padding|x)/i,Ie=/[\s,\(]\S/,R={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_e=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},qe=function(e,i){return i.set(i.t,i.p,e===1?i.e:Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},je=function(e,i){return i.set(i.t,i.p,e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},Le=function(e,i){var n=i.s+i.c*e;i.set(i.t,i.p,~~(n+(n<0?-.5:.5))+i.u,i)},Xe=function(e,i){return i.set(i.t,i.p,e?i.e:i.b,i)},ze=function(e,i){return i.set(i.t,i.p,e!==1?i.b:i.e,i)},Ze=function(e,i,n){return e.style[i]=n},He=function(e,i,n){return e.style.setProperty(i,n)},$e=function(e,i,n){return e._gsap[i]=n},Ke=function(e,i,n){return e._gsap.scaleX=e._gsap.scaleY=n},Je=function(e,i,n,t,s){var f=e._gsap;f.scaleX=f.scaleY=n,f.renderTransform(s,f)},Qe=function(e,i,n,t,s){var f=e._gsap;f[i]=n,f.renderTransform(s,f)},T="transform",Y=T+"Origin",ei=function h(e,i){var n=this,t=this.target,s=t.style,f=t._gsap;if(e in U&&s){if(this.tfm=this.tfm||{},e!=="transform")e=R[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return n.tfm[o]=V(t,o)}):this.tfm[e]=f.x?f[e]:V(t,e),e===Y&&(this.tfm.zOrigin=f.zOrigin);else return R.transform.split(",").forEach(function(o){return h.call(n,o,i)});if(this.props.indexOf(T)>=0)return;f.svg&&(this.svgo=t.getAttribute("data-svg-origin"),this.props.push(Y,i,"")),e=T}(s||i)&&this.props.push(e,i,s[e])},Fe=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ii=function(){var e=this.props,i=this.target,n=i.style,t=i._gsap,s,f;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?i[e[s]](e[s+2]):i[e[s]]=e[s+2]:e[s+2]?n[e[s]]=e[s+2]:n.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(ge,"-$1").toLowerCase());if(this.tfm){for(f in this.tfm)t[f]=this.tfm[f];t.svg&&(t.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),s=pe(),(!s||!s.isStart)&&!n[T]&&(Fe(n),t.zOrigin&&n[Y]&&(n[Y]+=" "+t.zOrigin+"px",t.zOrigin=0,t.renderTransform()),t.uncache=1)}},Re=function(e,i){var n={target:e,props:[],revert:ii,save:ei};return e._gsap||c.gsap.core.getCache(e),i&&e.style&&e.nodeType&&i.split(",").forEach(function(t){return n.save(t)}),n},Be,le=function(e,i){var n=W.createElementNS?W.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):W.createElement(e);return n&&n.style?n:W.createElement(e)},X=function h(e,i,n){var t=getComputedStyle(e);return t[i]||t.getPropertyValue(i.replace(ge,"-$1").toLowerCase())||t.getPropertyValue(i)||!n&&h(e,J(i)||i,1)||""},Ce="O,Moz,ms,Ms,Webkit".split(","),J=function(e,i,n){var t=i||K,s=t.style,f=5;if(e in s&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);f--&&!(Ce[f]+e in s););return f<0?null:(f===3?"ms":f>=0?Ce[f]:"")+e},de=function(){We()&&window.document&&(be=window,W=be.document,ie=W.documentElement,K=le("div")||{style:{}},le("div"),T=J(T),Y=T+"Origin",K.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Be=!!J("perspective"),pe=c.gsap.core.reverting,xe=1)},Te=function(e){var i=e.ownerSVGElement,n=le("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),t=e.cloneNode(!0),s;t.style.display="block",n.appendChild(t),ie.appendChild(n);try{s=t.getBBox()}catch{}return n.removeChild(t),ie.removeChild(n),s},Me=function(e,i){for(var n=i.length;n--;)if(e.hasAttribute(i[n]))return e.getAttribute(i[n])},ve=function(e){var i,n;try{i=e.getBBox()}catch{i=Te(e),n=1}return i&&(i.width||i.height)||n||(i=Te(e)),i&&!i.width&&!i.x&&!i.y?{x:+Me(e,["x","cx","x1"])||0,y:+Me(e,["y","cy","y1"])||0,width:0,height:0}:i},Ne=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ve(e))},Q=function(e,i){if(i){var n=e.style,t;i in U&&i!==Y&&(i=T),n.removeProperty?(t=i.substr(0,2),(t==="ms"||i.substr(0,6)==="webkit")&&(i="-"+i),n.removeProperty(t==="--"?i:i.replace(ge,"-$1").toLowerCase())):n.removeAttribute(i)}},G=function(e,i,n,t,s,f){var o=new c.PropTween(e._pt,i,n,0,1,f?ze:Xe);return e._pt=o,o.b=t,o.e=s,e._props.push(n),o},Ee={deg:1,rad:1,turn:1},ni={grid:1,flex:1},I=function h(e,i,n,t){var s=parseFloat(n)||0,f=(n+"").trim().substr((s+"").length)||"px",o=K.style,u=Ge.test(i),l=e.tagName.toLowerCase()==="svg",a=(l?"client":"offset")+(u?"Width":"Height"),_=100,d=t==="px",m=t==="%",x,r,v,O;if(t===f||!s||Ee[t]||Ee[f])return s;if(f!=="px"&&!d&&(s=h(e,i,n,"px")),O=e.getCTM&&Ne(e),(m||f==="%")&&(U[i]||~i.indexOf("adius")))return x=O?e.getBBox()[u?"width":"height"]:e[a],c._round(m?s/x*_:s/100*x);if(o[u?"width":"height"]=_+(d?f:t),r=t!=="rem"&&~i.indexOf("adius")||t==="em"&&e.appendChild&&!l?e:e.parentNode,O&&(r=(e.ownerSVGElement||{}).parentNode),(!r||r===W||!r.appendChild)&&(r=W.body),v=r._gsap,v&&m&&v.width&&u&&v.time===c._ticker.time&&!v.uncache)return c._round(s/v.width*_);if(m&&(i==="height"||i==="width")){var g=e.style[i];e.style[i]=_+t,x=e[a],g?e.style[i]=g:Q(e,i)}else(m||f==="%")&&!ni[X(r,"display")]&&(o.position=X(e,"position")),r===e&&(o.position="static"),r.appendChild(K),x=K[a],r.removeChild(K),o.position="absolute";return u&&m&&(v=c._getCache(r),v.time=c._ticker.time,v.width=r[a]),c._round(d?x*s/_:x&&s?_/x*s:0)},V=function(e,i,n,t){var s;return xe||de(),i in R&&i!=="transform"&&(i=R[i],~i.indexOf(",")&&(i=i.split(",")[0])),U[i]&&i!=="transform"?(s=fe(e,t),s=i!=="transformOrigin"?s[i]:s.svg?s.origin:ue(X(e,Y))+" "+s.zOrigin+"px"):(s=e.style[i],(!s||s==="auto"||t||~(s+"").indexOf("calc("))&&(s=ce[i]&&ce[i](e,i,n)||X(e,i)||c._getProperty(e,i)||(i==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?I(e,i,s,n)+n:s},ti=function(e,i,n,t){if(!n||n==="none"){var s=J(i,e,1),f=s&&X(e,s,1);f&&f!==n?(i=s,n=f):i==="borderColor"&&(n=X(e,"borderTopColor"))}var o=new c.PropTween(this._pt,e.style,i,0,1,c._renderComplexString),u=0,l=0,a,_,d,m,x,r,v,O,g,S,w,p;if(o.b=n,o.e=t,n+="",t+="",t.substring(0,6)==="var(--"&&(t=X(e,t.substring(4,t.indexOf(")")))),t==="auto"&&(r=e.style[i],e.style[i]=t,t=X(e,i)||t,r?e.style[i]=r:Q(e,i)),a=[n,t],c._colorStringFilter(a),n=a[0],t=a[1],d=n.match(c._numWithUnitExp)||[],p=t.match(c._numWithUnitExp)||[],p.length){for(;_=c._numWithUnitExp.exec(t);)v=_[0],g=t.substring(u,_.index),x?x=(x+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(x=1),v!==(r=d[l++]||"")&&(m=parseFloat(r)||0,w=r.substr((m+"").length),v.charAt(1)==="="&&(v=c._parseRelative(m,v)+w),O=parseFloat(v),S=v.substr((O+"").length),u=c._numWithUnitExp.lastIndex-S.length,S||(S=S||c._config.units[i]||w,u===t.length&&(t+=S,o.e+=S)),w!==S&&(m=I(e,i,r,S)||0),o._pt={_next:o._pt,p:g||l===1?g:",",s:m,c:O-m,m:x&&x<4||i==="zIndex"?Math.round:0});o.c=u<t.length?t.substring(u,t.length):""}else o.r=i==="display"&&t==="none"?ze:Xe;return c._relExp.test(t)&&(o.e=0),this._pt=o,o},Ae={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},si=function(e){var i=e.split(" "),n=i[0],t=i[1]||"50%";return(n==="top"||n==="bottom"||t==="left"||t==="right")&&(e=n,n=t,t=e),i[0]=Ae[n]||n,i[1]=Ae[t]||t,i.join(" ")},ri=function(e,i){if(i.tween&&i.tween._time===i.tween._dur){var n=i.t,t=n.style,s=i.u,f=n._gsap,o,u,l;if(s==="all"||s===!0)t.cssText="",u=1;else for(s=s.split(","),l=s.length;--l>-1;)o=s[l],U[o]&&(u=1,o=o==="transformOrigin"?Y:T),Q(n,o);u&&(Q(n,T),f&&(f.svg&&n.removeAttribute("transform"),t.scale=t.rotate=t.translate="none",fe(n,1),f.uncache=1,Fe(t)))}},ce={clearProps:function(e,i,n,t,s){if(s.data!=="isFromStart"){var f=e._pt=new c.PropTween(e._pt,i,n,0,0,ri);return f.u=t,f.pr=-10,f.tween=s,e._props.push(n),1}}},oe=[1,0,0,1,0,0],Ve={},Ue=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ye=function(e){var i=X(e,T);return Ue(i)?oe:i.substr(7).match(c._numExp).map(c._round)},Pe=function(e,i){var n=e._gsap||c._getCache(e),t=e.style,s=Ye(e),f,o,u,l;return n.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?oe:s):(s===oe&&!e.offsetParent&&e!==ie&&!n.svg&&(u=t.display,t.display="block",f=e.parentNode,(!f||!e.offsetParent&&!e.getBoundingClientRect().width)&&(l=1,o=e.nextElementSibling,ie.appendChild(e)),s=Ye(e),u?t.display=u:Q(e,"display"),l&&(o?f.insertBefore(e,o):f?f.appendChild(e):ie.removeChild(e))),i&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},me=function(e,i,n,t,s,f){var o=e._gsap,u=s||Pe(e,!0),l=o.xOrigin||0,a=o.yOrigin||0,_=o.xOffset||0,d=o.yOffset||0,m=u[0],x=u[1],r=u[2],v=u[3],O=u[4],g=u[5],S=i.split(" "),w=parseFloat(S[0])||0,p=parseFloat(S[1])||0,C,b,y,P;n?u!==oe&&(b=m*v-x*r)&&(y=w*(v/b)+p*(-r/b)+(r*g-v*O)/b,P=w*(-x/b)+p*(m/b)-(m*g-x*O)/b,w=y,p=P):(C=ve(e),w=C.x+(~S[0].indexOf("%")?w/100*C.width:w),p=C.y+(~(S[1]||S[0]).indexOf("%")?p/100*C.height:p)),t||t!==!1&&o.smooth?(O=w-l,g=p-a,o.xOffset=_+(O*m+g*r)-O,o.yOffset=d+(O*x+g*v)-g):o.xOffset=o.yOffset=0,o.xOrigin=w,o.yOrigin=p,o.smooth=!!t,o.origin=i,o.originIsAbsolute=!!n,e.style[Y]="0px 0px",f&&(G(f,o,"xOrigin",l,w),G(f,o,"yOrigin",a,p),G(f,o,"xOffset",_,o.xOffset),G(f,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",w+" "+p)},fe=function(e,i){var n=e._gsap||new c.GSCache(e);if("x"in n&&!i&&!n.uncache)return n;var t=e.style,s=n.scaleX<0,f="px",o="deg",u=getComputedStyle(e),l=X(e,Y)||"0",a,_,d,m,x,r,v,O,g,S,w,p,C,b,y,P,M,E,A,z,q,D,F,k,B,ae,te,se,j,we,N,L;return a=_=d=r=v=O=g=S=w=0,m=x=1,n.svg=!!(e.getCTM&&Ne(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(t[T]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[T]!=="none"?u[T]:"")),t.scale=t.rotate=t.translate="none"),b=Pe(e,n.svg),n.svg&&(n.uncache?(B=e.getBBox(),l=n.xOrigin-B.x+"px "+(n.yOrigin-B.y)+"px",k=""):k=!i&&e.getAttribute("data-svg-origin"),me(e,k||l,!!k||n.originIsAbsolute,n.smooth!==!1,b)),p=n.xOrigin||0,C=n.yOrigin||0,b!==oe&&(E=b[0],A=b[1],z=b[2],q=b[3],a=D=b[4],_=F=b[5],b.length===6?(m=Math.sqrt(E*E+A*A),x=Math.sqrt(q*q+z*z),r=E||A?ee(A,E)*$:0,g=z||q?ee(z,q)*$+r:0,g&&(x*=Math.abs(Math.cos(g*ne))),n.svg&&(a-=p-(p*E+C*z),_-=C-(p*A+C*q))):(L=b[6],we=b[7],te=b[8],se=b[9],j=b[10],N=b[11],a=b[12],_=b[13],d=b[14],y=ee(L,j),v=y*$,y&&(P=Math.cos(-y),M=Math.sin(-y),k=D*P+te*M,B=F*P+se*M,ae=L*P+j*M,te=D*-M+te*P,se=F*-M+se*P,j=L*-M+j*P,N=we*-M+N*P,D=k,F=B,L=ae),y=ee(-z,j),O=y*$,y&&(P=Math.cos(-y),M=Math.sin(-y),k=E*P-te*M,B=A*P-se*M,ae=z*P-j*M,N=q*M+N*P,E=k,A=B,z=ae),y=ee(A,E),r=y*$,y&&(P=Math.cos(y),M=Math.sin(y),k=E*P+A*M,B=D*P+F*M,A=A*P-E*M,F=F*P-D*M,E=k,D=B),v&&Math.abs(v)+Math.abs(r)>359.9&&(v=r=0,O=180-O),m=c._round(Math.sqrt(E*E+A*A+z*z)),x=c._round(Math.sqrt(F*F+L*L)),y=ee(D,F),g=Math.abs(y)>2e-4?y*$:0,w=N?1/(N<0?-N:N):0),n.svg&&(k=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Ue(X(e,T)),k&&e.setAttribute("transform",k))),Math.abs(g)>90&&Math.abs(g)<270&&(s?(m*=-1,g+=r<=0?180:-180,r+=r<=0?180:-180):(x*=-1,g+=g<=0?180:-180)),i=i||n.uncache,n.x=a-((n.xPercent=a&&(!i&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-a)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+f,n.y=_-((n.yPercent=_&&(!i&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-_)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+f,n.z=d+f,n.scaleX=c._round(m),n.scaleY=c._round(x),n.rotation=c._round(r)+o,n.rotationX=c._round(v)+o,n.rotationY=c._round(O)+o,n.skewX=g+o,n.skewY=S+o,n.transformPerspective=w+f,(n.zOrigin=parseFloat(l.split(" ")[2])||!i&&n.zOrigin||0)&&(t[Y]=ue(l)),n.xOffset=n.yOffset=0,n.force3D=c._config.force3D,n.renderTransform=n.svg?fi:Be?De:oi,n.uncache=0,n},ue=function(e){return(e=e.split(" "))[0]+" "+e[1]},he=function(e,i,n){var t=c.getUnit(i);return c._round(parseFloat(i)+parseFloat(I(e,"x",n+"px",t)))+t},oi=function(e,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,De(e,i)},Z="0deg",re="0px",H=") ",De=function(e,i){var n=i||this,t=n.xPercent,s=n.yPercent,f=n.x,o=n.y,u=n.z,l=n.rotation,a=n.rotationY,_=n.rotationX,d=n.skewX,m=n.skewY,x=n.scaleX,r=n.scaleY,v=n.transformPerspective,O=n.force3D,g=n.target,S=n.zOrigin,w="",p=O==="auto"&&e&&e!==1||O===!0;if(S&&(_!==Z||a!==Z)){var C=parseFloat(a)*ne,b=Math.sin(C),y=Math.cos(C),P;C=parseFloat(_)*ne,P=Math.cos(C),f=he(g,f,b*P*-S),o=he(g,o,-Math.sin(C)*-S),u=he(g,u,y*P*-S+S)}v!==re&&(w+="perspective("+v+H),(t||s)&&(w+="translate("+t+"%, "+s+"%) "),(p||f!==re||o!==re||u!==re)&&(w+=u!==re||p?"translate3d("+f+", "+o+", "+u+") ":"translate("+f+", "+o+H),l!==Z&&(w+="rotate("+l+H),a!==Z&&(w+="rotateY("+a+H),_!==Z&&(w+="rotateX("+_+H),(d!==Z||m!==Z)&&(w+="skew("+d+", "+m+H),(x!==1||r!==1)&&(w+="scale("+x+", "+r+H),g.style[T]=w||"translate(0, 0)"},fi=function(e,i){var n=i||this,t=n.xPercent,s=n.yPercent,f=n.x,o=n.y,u=n.rotation,l=n.skewX,a=n.skewY,_=n.scaleX,d=n.scaleY,m=n.target,x=n.xOrigin,r=n.yOrigin,v=n.xOffset,O=n.yOffset,g=n.forceCSS,S=parseFloat(f),w=parseFloat(o),p,C,b,y,P;u=parseFloat(u),l=parseFloat(l),a=parseFloat(a),a&&(a=parseFloat(a),l+=a,u+=a),u||l?(u*=ne,l*=ne,p=Math.cos(u)*_,C=Math.sin(u)*_,b=Math.sin(u-l)*-d,y=Math.cos(u-l)*d,l&&(a*=ne,P=Math.tan(l-a),P=Math.sqrt(1+P*P),b*=P,y*=P,a&&(P=Math.tan(a),P=Math.sqrt(1+P*P),p*=P,C*=P)),p=c._round(p),C=c._round(C),b=c._round(b),y=c._round(y)):(p=_,y=d,C=b=0),(S&&!~(f+"").indexOf("px")||w&&!~(o+"").indexOf("px"))&&(S=I(m,"x",f,"px"),w=I(m,"y",o,"px")),(x||r||v||O)&&(S=c._round(S+x-(x*p+r*b)+v),w=c._round(w+r-(x*C+r*y)+O)),(t||s)&&(P=m.getBBox(),S=c._round(S+t/100*P.width),w=c._round(w+s/100*P.height)),P="matrix("+p+","+C+","+b+","+y+","+S+","+w+")",m.setAttribute("transform",P),g&&(m.style[T]=P)},ai=function(e,i,n,t,s){var f=360,o=c._isString(s),u=parseFloat(s)*(o&&~s.indexOf("rad")?$:1),l=u-t,a=t+l+"deg",_,d;return o&&(_=s.split("_")[1],_==="short"&&(l%=f,l!==l%(f/2)&&(l+=l<0?f:-f)),_==="cw"&&l<0?l=(l+f*ye)%f-~~(l/f)*f:_==="ccw"&&l>0&&(l=(l-f*ye)%f-~~(l/f)*f)),e._pt=d=new c.PropTween(e._pt,i,n,t,l,qe),d.e=a,d.u="deg",e._props.push(n),d},ke=function(e,i){for(var n in i)e[n]=i[n];return e},li=function(e,i,n){var t=ke({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",f=n.style,o,u,l,a,_,d,m,x;t.svg?(l=n.getAttribute("transform"),n.setAttribute("transform",""),f[T]=i,o=fe(n,1),Q(n,T),n.setAttribute("transform",l)):(l=getComputedStyle(n)[T],f[T]=i,o=fe(n,1),f[T]=l);for(u in U)l=t[u],a=o[u],l!==a&&s.indexOf(u)<0&&(m=c.getUnit(l),x=c.getUnit(a),_=m!==x?I(n,u,l,x):parseFloat(l),d=parseFloat(a),e._pt=new c.PropTween(e._pt,o,u,_,d-_,_e),e._pt.u=x||0,e._props.push(u));ke(o,t)};c._forEachName("padding,margin,Width,Radius",function(h,e){var i="Top",n="Right",t="Bottom",s="Left",f=(e<3?[i,n,t,s]:[i+s,i+n,t+n,t+s]).map(function(o){return e<2?h+o:"border"+o+h});ce[e>1?"border"+h:h]=function(o,u,l,a,_){var d,m;if(arguments.length<4)return d=f.map(function(x){return V(o,x,l)}),m=d.join(" "),m.split(d[0]).length===5?d[0]:m;d=(a+"").split(" "),m={},f.forEach(function(x,r){return m[x]=d[r]=d[r]||d[(r-1)/2|0]}),o.init(u,m,_)}});var Oe={name:"css",register:de,targetTest:function(e){return e.style&&e.nodeType},init:function(e,i,n,t,s){var f=this._props,o=e.style,u=n.vars.startAt,l,a,_,d,m,x,r,v,O,g,S,w,p,C,b,y;xe||de(),this.styles=this.styles||Re(e),y=this.styles.props,this.tween=n;for(r in i)if(r!=="autoRound"&&(a=i[r],!(c._plugins[r]&&c._checkPlugin(r,i,n,t,e,s)))){if(m=typeof a,x=ce[r],m==="function"&&(a=a.call(n,t,e,s),m=typeof a),m==="string"&&~a.indexOf("random(")&&(a=c._replaceRandom(a)),x)x(this,e,r,a,n)&&(b=1);else if(r.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(r)+"").trim(),a+="",c._colorExp.lastIndex=0,c._colorExp.test(l)||(v=c.getUnit(l),O=c.getUnit(a)),O?v!==O&&(l=I(e,r,l,O)+O):v&&(a+=v),this.add(o,"setProperty",l,a,t,s,0,0,r),f.push(r),y.push(r,0,o[r]);else if(m!=="undefined"){if(u&&r in u?(l=typeof u[r]=="function"?u[r].call(n,t,e,s):u[r],c._isString(l)&&~l.indexOf("random(")&&(l=c._replaceRandom(l)),c.getUnit(l+"")||l==="auto"||(l+=c._config.units[r]||c.getUnit(V(e,r))||""),(l+"").charAt(1)==="="&&(l=V(e,r))):l=V(e,r),d=parseFloat(l),g=m==="string"&&a.charAt(1)==="="&&a.substr(0,2),g&&(a=a.substr(2)),_=parseFloat(a),r in R&&(r==="autoAlpha"&&(d===1&&V(e,"visibility")==="hidden"&&_&&(d=0),y.push("visibility",0,o.visibility),G(this,o,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),r!=="scale"&&r!=="transform"&&(r=R[r],~r.indexOf(",")&&(r=r.split(",")[0]))),S=r in U,S){if(this.styles.save(r),m==="string"&&a.substring(0,6)==="var(--"&&(a=X(e,a.substring(4,a.indexOf(")"))),_=parseFloat(a)),w||(p=e._gsap,p.renderTransform&&!i.parseTransform||fe(e,i.parseTransform),C=i.smoothOrigin!==!1&&p.smooth,w=this._pt=new c.PropTween(this._pt,o,T,0,1,p.renderTransform,p,0,-1),w.dep=1),r==="scale")this._pt=new c.PropTween(this._pt,p,"scaleY",p.scaleY,(g?c._parseRelative(p.scaleY,g+_):_)-p.scaleY||0,_e),this._pt.u=0,f.push("scaleY",r),r+="X";else if(r==="transformOrigin"){y.push(Y,0,o[Y]),a=si(a),p.svg?me(e,a,0,C,0,this):(O=parseFloat(a.split(" ")[2])||0,O!==p.zOrigin&&G(this,p,"zOrigin",p.zOrigin,O),G(this,o,r,ue(l),ue(a)));continue}else if(r==="svgOrigin"){me(e,a,1,C,0,this);continue}else if(r in Ve){ai(this,p,r,d,g?c._parseRelative(d,g+a):a);continue}else if(r==="smoothOrigin"){G(this,p,"smooth",p.smooth,a);continue}else if(r==="force3D"){p[r]=a;continue}else if(r==="transform"){li(this,a,e);continue}}else r in o||(r=J(r)||r);if(S||(_||_===0)&&(d||d===0)&&!Ie.test(a)&&r in o)v=(l+"").substr((d+"").length),_||(_=0),O=c.getUnit(a)||(r in c._config.units?c._config.units[r]:v),v!==O&&(d=I(e,r,l,O)),this._pt=new c.PropTween(this._pt,S?p:o,r,d,(g?c._parseRelative(d,g+_):_)-d,!S&&(O==="px"||r==="zIndex")&&i.autoRound!==!1?Le:_e),this._pt.u=O||0,v!==O&&O!=="%"&&(this._pt.b=l,this._pt.r=je);else if(r in o)ti.call(this,e,r,l,g?g+a:a);else if(r in e)this.add(e,r,l||e[r],g?g+a:a,t,s);else if(r!=="parseTransform"){c._missingPlugin(r,a);continue}S||(r in o?y.push(r,0,o[r]):typeof e[r]=="function"?y.push(r,2,e[r]()):y.push(r,1,l||e[r])),f.push(r)}}b&&c._sortPropTweensByPriority(this)},render:function(e,i){if(i.tween._time||!pe())for(var n=i._pt;n;)n.r(e,n.d),n=n._next;else i.styles.revert()},get:V,aliases:R,getSetter:function(e,i,n){var t=R[i];return t&&t.indexOf(",")<0&&(i=t),i in U&&i!==Y&&(e._gsap.x||V(e,"x"))?n&&Se===n?i==="scale"?Ke:$e:(Se=n||{})&&(i==="scale"?Je:Qe):e.style&&!c._isUndefined(e.style[i])?Ze:~i.indexOf("-")?He:c._getSetter(e,i)},core:{_removeProperty:Q,_getMatrix:Pe}};c.gsap.utils.checkPrefix=J;c.gsap.core.getStyleSaver=Re;(function(h,e,i,n){var t=c._forEachName(h+","+e+","+i,function(s){U[s]=1});c._forEachName(e,function(s){c._config.units[s]="deg",Ve[s]=1}),R[t[13]]=h+","+e,c._forEachName(n,function(s){var f=s.split(":");R[f[1]]=t[f[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");c._forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(h){c._config.units[h]="px"});c.gsap.registerPlugin(Oe);exports.CSSPlugin=Oe;exports._createElement=le;exports._getBBox=ve;exports.checkPrefix=J;exports.default=Oe;
|