cortex-react-components 1.57.6 → 1.57.8
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/dist/{chunk-A4B2DJOI.mjs → chunk-23S4YEZ3.mjs} +1 -1
- package/dist/{chunk-WNDVHKHU.mjs → chunk-2HAJGQUX.mjs} +1 -1
- package/dist/{chunk-EHXJRVGF.mjs → chunk-2KC5JVQ7.mjs} +1 -1
- package/dist/{chunk-DPSSRRNU.mjs → chunk-2KCSW6YZ.mjs} +1 -1
- package/dist/{chunk-GHWZZAOE.mjs → chunk-7F7S63JI.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/{chunk-5G43IH3C.mjs → chunk-A7563CVR.mjs} +1 -1
- package/dist/{chunk-7GRSRDRK.mjs → chunk-AHWC6PE3.mjs} +1 -1
- package/dist/{chunk-QI6FAR53.mjs → chunk-CQOXWC6U.mjs} +1 -1
- package/dist/{chunk-ZYIU2MRA.mjs → chunk-CTVOJAII.mjs} +1 -1
- package/dist/{chunk-Z6VIQTLL.mjs → chunk-D2RCPK4E.mjs} +1 -1
- package/dist/{chunk-CUCPP75L.mjs → chunk-D7A7EUEW.mjs} +1 -1
- package/dist/{chunk-4KY3HYIL.mjs → chunk-FQTW3T35.mjs} +1 -1
- package/dist/{chunk-GWVDTZCH.mjs → chunk-FZY4DR3G.mjs} +1 -1
- package/dist/{chunk-4RK4VTRH.mjs → chunk-H2IEV4TJ.mjs} +1 -1
- package/dist/chunk-JFR3WUHP.mjs +1 -0
- package/dist/{chunk-AOUNO7UI.mjs → chunk-K7HMLEAG.mjs} +1 -1
- package/dist/{chunk-O2KYTGOI.mjs → chunk-KCDJVJZY.mjs} +1 -1
- package/dist/{chunk-MRKBOXYO.mjs → chunk-LATJ2BYW.mjs} +1 -1
- package/dist/{chunk-3YLK4V45.mjs → chunk-LKFNJ545.mjs} +1 -1
- package/dist/{chunk-KLCZHZKQ.mjs → chunk-LLJZRF3C.mjs} +1 -1
- package/dist/{chunk-QGJ63NRB.mjs → chunk-MO3MBHNK.mjs} +1 -1
- package/dist/{chunk-WCEZCFYL.mjs → chunk-NKEGPGFH.mjs} +1 -1
- package/dist/{chunk-O5ZDJECO.mjs → chunk-NZXAOOUO.mjs} +1 -1
- package/dist/chunk-OHLWB5LD.mjs +4 -0
- package/dist/{chunk-WDLNBSXC.mjs → chunk-Q3RJSDWG.mjs} +1 -1
- package/dist/{chunk-O34KBFME.mjs → chunk-RQ23CZK5.mjs} +1 -1
- package/dist/{chunk-RUV5MDBU.mjs → chunk-RR453WB3.mjs} +1 -1
- package/dist/{chunk-PHNWHH5V.mjs → chunk-SDWF6SX5.mjs} +1 -1
- package/dist/{chunk-GQNXTNY6.mjs → chunk-TCHCTUCK.mjs} +1 -1
- package/dist/{chunk-Z5S25LAQ.mjs → chunk-TQVBDN2I.mjs} +1 -1
- package/dist/{chunk-TZMXXNR6.mjs → chunk-TXRQJE3Y.mjs} +1 -1
- package/dist/{chunk-K72ZGEKP.mjs → chunk-TZE7RZAV.mjs} +1 -1
- package/dist/{chunk-L73PSBIJ.mjs → chunk-UERXHUSK.mjs} +1 -1
- package/dist/{chunk-SKMG4ONU.mjs → chunk-UJ7CCA7G.mjs} +1 -1
- package/dist/{chunk-VN7VHDIP.mjs → chunk-WVJBMSIQ.mjs} +1 -1
- package/dist/{chunk-KF3JYZNM.mjs → chunk-YTYPZH3V.mjs} +1 -1
- package/dist/{chunk-HTBDHDEC.mjs → chunk-ZVJAE4US.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +2 -2
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +2 -2
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +4 -4
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/PageShape.js +1 -1
- package/dist/components/Other/PageShape.mjs +1 -1
- package/dist/components/Other/index.js +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +7 -7
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +10 -10
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +3 -3
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +96 -96
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +4 -4
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +2 -2
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +2 -2
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailList.js +1 -1
- package/dist/sections/ServiceDetailList.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +2 -2
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-E6MYDQ3V.mjs +0 -1
- package/dist/chunk-SUK2L2WB.mjs +0 -4
package/dist/chunk-E6MYDQ3V.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as v}from"./chunk-VQJUNVRU.mjs";import{d as f}from"./chunk-YNNW2C2U.mjs";import{a as r}from"./chunk-WISCWNL2.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import k from"next/image";import{FaChevronRight as y,FaEnvelope as w,FaPaperPlane as C,FaPhone as L,FaCalendarDays as P}from"react-icons/fa6";import{jsx as a,jsxs as t}from"react/jsx-runtime";var T=o("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),p=o("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),g=o("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),h=o("flex items-center gap-5"),d=o("transition-colors duration-300 hover:text-accent dark:hover:text-white");function $({className:x,footerData:N,logoLight:b,logoDark:u}){let{about:n,columnOne:c,columnTwo:s,columnThree:l,footerBottom:m}=N;return t("footer",{className:o("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12",x),children:[a("div",{className:"py-16 md:py-20",children:a("div",{className:"container",children:t("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[t("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[a(v,{logoDark:u,logoLight:b}),a("p",{className:"mb-7 mt-3",children:n.description}),n.socialLinks&&n.socialLinks.length>0&&a("nav",{"aria-label":"social links",children:a("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:n.socialLinks.map((e,i)=>a("li",{children:a(r,{"aria-label":e.href,className:T,href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},i))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[a("h3",{className:p,children:c.title}),c.links&&c.links.length>0&&a("nav",{"aria-label":"footer links navigation",children:a("ul",{className:"grid gap-2",children:c.links.map(e=>t("li",{className:"flex items-center gap-2.5",children:[a("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:a(y,{})}),a(r,{href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})]},e.label))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[a("h3",{className:p,children:s.title}),t("ul",{"aria-label":"addresses",className:"grid gap-5",children:[t("li",{className:h,children:[a("span",{className:g,children:a(C,{})}),a("address",{className:"not-italic",children:s.location})]}),t("li",{className:h,children:[a("span",{className:g,children:a(w,{})}),s.mails&&s.mails.length>0&&a("div",{className:"grid gap-1",children:s.mails.map((e,i)=>a("a",{href:`mailto:${e}`,className:d,children:e},i))})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&t("li",{className:h,children:[a("span",{className:g,children:a(L,{})}),a("div",{className:"grid gap-1",children:s.phoneNumbers.map((e,i)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:d,children:e},i))})]})]})]}),l&&t("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[a("h3",{className:p,children:l.title}),l.blogs&&l.blogs.length>0&&a("div",{className:"grid gap-6",children:l.blogs.map((e,i)=>t("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[a("div",{className:"flex-none overflow-hidden rounded-5",children:a(k,{...e.image,alt:e.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),t("div",{children:[t("p",{className:"flex items-center gap-2.5 dark:text-body",children:[a("span",{className:"text-accent",children:a(P,{})}),a("span",{children:f(e.date)})]}),a("h4",{className:"text-md leading-normal",children:a(r,{href:e.slug,className:"transition-colors duration-300 hover:text-accent",children:e.title})})]})]},i))})]})]})})}),a("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:a("div",{className:"container",children:t("div",{className:"flex flex-wrap items-center text-xs justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:m.copyrightText}),m.links&&m.links.length>0&&a("nav",{"aria-label":"footer bottom navigation",children:a("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:m.links.map(e=>a("li",{children:a(r,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})},e.label))})})]})})})]})}export{$ as a};
|
package/dist/chunk-SUK2L2WB.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{i as H,j as O,k as _,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-GHWZZAOE.mjs";import{a as F}from"./chunk-2A6JF3LE.mjs";import{a as A}from"./chunk-4YJ3HV64.mjs";import{a as R}from"./chunk-2NFKSNJW.mjs";import{b as I}from"./chunk-BDX257W2.mjs";import{a as b}from"./chunk-SFLOMJ2U.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{useState as q}from"react";import{jsx as d,jsxs as x}from"react/jsx-runtime";var oe=({links:a,richText:e})=>d("div",{className:"container",children:x("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[d("div",{className:"max-w-[48rem] flex items-center",children:e&&d(f,{className:"mb-0",content:e,enableGutter:!1})}),d("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},c)=>d(y,{size:"lg",...t},c))})]})}),z=({links:a,richText:e})=>{let[t,c]=q(!1),s=()=>c(!0),r=()=>c(!1),l=n=>{n.target===n.currentTarget&&r()};return x("div",{className:"relative isolate overflow-hidden bg-black",children:[d("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:x("div",{className:"mx-auto max-w-2xl text-center prose",children:[e&&d(f,{className:"mb-0 prose-p:text-white text-white",content:e,enableGutter:!1}),d("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:d("div",{className:"flex flex-col gap-8 text-white",children:(a||[]).map(({link:n},u)=>(n==null?void 0:n.url)==="/contact"?d("div",{onClick:s,className:"rounded-full px-3.5 py-2.5 border border-accent text-white no-underline cursor-pointer",children:n.label},u):d(y,{size:"lg",className:"rounded-full px-3.5 py-2.5 border border-accent text-white no-underline",...n},u))})})]})}),t&&d("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:x("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[d("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:r,children:"\u2715"}),d(S,{})," "]})}),x("svg",{viewBox:"0 0 1024 1024","aria-hidden":"true",className:"absolute left-1/2 top-1/2 -z-10 size-[64rem] -translate-x-1/2 [mask-image:radial-gradient(closest-side,white,transparent)]",children:[d("circle",{r:512,cx:512,cy:512,fill:"url(#8d958450-c69f-4251-94bc-4e091a323369)",fillOpacity:"0.7"}),d("defs",{children:x("radialGradient",{id:"8d958450-c69f-4251-94bc-4e091a323369",children:[d("stop",{stopColor:"#22B2AA"}),d("stop",{offset:1,stopColor:"#22B2AA"})]})})]})]})};import K from"next/image";import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function C({image:a,icon:e,title:t,subtitle:c,content:s,statistic:r,settings:l,link:n,className:u}){var v,w;let N={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},k={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:o("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",l&&!a&&N[(l==null?void 0:l.card)==="default"?"solid":l==null?void 0:l.card],a&&"bg-foreground",l&&(l==null?void 0:l.card)==="outline"?"text-gray-900":"text-white",k[(v=l==null?void 0:l.width)!=null?v:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,u),children:[a&&m("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:m(K,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),B("div",{className:o(a?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[c&&m("div",{className:"mb-4 text-primary uppercase font-light",children:c}),m("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:m(Q,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(l==null?void 0:l.card)==="default"?"solid":(w=l==null?void 0:l.card)!=null?w:"solid",iconSize:(l==null?void 0:l.iconSize)||"large"})}),r&&m("div",{className:"mb-6",children:m("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"text-brand-green":"text-white"),children:r})}),s&&typeof s=="object"&&m(f,{enableGutter:!1,content:s,enableProse:!1,className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&m("div",{className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:s}),n&&n.url&&m("div",{className:"pt-6 h-full flex items-end justify-start",children:m("a",{className:"text-accent justify-start font-semibold uppercase",href:n.url||"#",children:(n==null?void 0:n.label)||"Find out more"})}),(l==null?void 0:l.card)==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var Q=({icon:a,heading:e,variant:t,iconSize:c,subtitle:s})=>a&&c==="small"&&a.iconName!="no-icon-error"?B("div",{className:"flex items-start justify-between w-full mb-2",children:[m("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",c==="small"?"text-2xl":"text-3xl"),children:e}),D(a)&&m("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",c==="small"?"-mr-2 ml-1 mt-1":""),children:m(b,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(b,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:o("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl text-white"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:o("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as p,jsxs as P}from"react/jsx-runtime";function M(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function ge({variant:a="outline",className:e,icon:t,iconSize:c="large",width:s="auto",order:r=0,heading:l,subheading:n,content:u,statistic:N,buttonText:k,buttonHref:v}){let w={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},G={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return P("div",{className:o("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",w[a],a==="outline"?"text-gray-900":"text-white",e,G[s],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[p("div",{className:"flex items-center gap-4 mb-2",children:p(V,{icon:t,heading:l,variant:a,iconSize:c})}),N&&p("div",{className:"mb-6",children:p("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:N})}),n&&p("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),u&&typeof u=="object"&&p("div",{className:o("space-y-6"),children:p(f,{enableGutter:!1,content:u,enableProse:!1,className:o(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),u&&typeof u=="string"&&p("div",{className:o("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:u}),k&&p("div",{className:"mt-auto pt-6 flex items-center justify-center",children:p(I,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:p("a",{href:v,children:k})})}),a==="radial"&&p("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:a,heading:e,variant:t,iconSize:c})=>a&&c==="small"?P("div",{className:"flex items-start gap-4 mb-2",children:[M(a)&&p("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",c==="small"?"mt-2":""),children:p(b,{type:a.type,iconName:a.iconName,size:"2x"})}),p("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",c==="small"?"text-2xl":"text-3xl"),children:e})]}):a?P("div",{className:"flex flex-col gap-4",children:[M(a)&&p("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:p(b,{type:a.type,iconName:a.iconName,size:"4x"})}),p("h3",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):p("div",{className:"flex items-center gap-4 mb-2",children:p("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as g,jsxs as L}from"react/jsx-runtime";var j=({title:a,description:e,features:t,id:c,nested:s=!1})=>L("section",{className:o(s?"w-full":"container",""),children:[L("div",{className:"prose prose:max-w-none",children:[a&&g("h2",{className:"mb-6 mt-0 text-primary",id:c||"",children:a}),e&&typeof e=="string"&&g("p",{className:"mb-5 text-foreground",children:e}),e&&typeof e=="object"&&g("p",{className:"mb-5 text-foreground",children:g(f,{content:e,enableGutter:!1})})]}),g("div",{className:`grid gap-6 mt-6 md:grid-cols-${t?t.length>2?2:t.length:1} lg:grid-cols-${t?t.length>3?3:t.length:1}`,children:t&&t.map((r,l)=>{var u;let n=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return g(C,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:l},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(u=n())!=null?u:{type:"none",icon:null}},l)})})]});import W,{Fragment as Y}from"react";import{jsx as i}from"react/jsx-runtime";function h({nodes:a}){return i(Y,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(W.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,l)=>i("tr",{children:r.children.map((n,u)=>i("td",{children:h({nodes:n.children})},u))},l))})},t);let c=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let l of r.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return h({nodes:r.children})},s="children"in e?c(e):"";if(e.type==="block"){let r=e.fields,l=r==null?void 0:r.blockType;if(!r||!l)return null;switch(l){case"cta":return i(z,{...r},t);case"mediaBlock":return i(F,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(A,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(E,{className:"col-start-2 mb-4",...r},t);case"code":return i(R,{className:"col-start-2",...r},t);case"features":return i(j,{...r,nested:!0},t);case"reusableContentBlock":h({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:s},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:s},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:s},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:s},t):i("li",{value:e==null?void 0:e.value,children:s},t);case"quote":return i("blockquote",{className:"col-start-2",children:s},t);case"link":{let r=e.fields;return i(y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},t)}case"autolink":{let r=e.fields;return i(y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},t)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:a,content:e,enableGutter:t=!0,enableProse:c=!0})=>{var s;return e?Z("div",{className:o({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":c},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&h({nodes:(s=e==null?void 0:e.root)==null?void 0:s.children})}):null};import{jsx as T}from"react/jsx-runtime";var E=({className:a,content:e,style:t})=>T("div",{className:o("mx-auto my-8 w-full",a),children:T("div",{className:o("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:T(f,{content:e,enableGutter:!1,enableProse:!1})})});export{E as a,oe as b,z as c,j as d,h as e,f,C as g,ge as h};
|