cortex-react-components 1.58.12 → 1.58.13

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 (221) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  4. package/dist/{chunk-GYUMEOL2.mjs → chunk-2SU53XDR.mjs} +1 -1
  5. package/dist/{chunk-PVANMXYC.mjs → chunk-35IEPMLE.mjs} +1 -1
  6. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  7. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  8. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  9. package/dist/{chunk-43SFGWYH.mjs → chunk-7WZ2YSIQ.mjs} +1 -1
  10. package/dist/{chunk-2OZZS6Y7.mjs → chunk-AC7GSJ3J.mjs} +1 -1
  11. package/dist/{chunk-7XB4Y3U2.mjs → chunk-CSNKYRV5.mjs} +1 -1
  12. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  13. package/dist/{chunk-KQJLOUAU.mjs → chunk-D7A7EUEW.mjs} +1 -1
  14. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  15. package/dist/{chunk-LOXWNWF5.mjs → chunk-H6FCIWZG.mjs} +1 -1
  16. package/dist/{chunk-MLDVH35S.mjs → chunk-HTDLKVHO.mjs} +1 -1
  17. package/dist/{chunk-Y7BGUD4H.mjs → chunk-IN7DGTUY.mjs} +1 -1
  18. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  19. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  20. package/dist/{chunk-HOSVBADM.mjs → chunk-N7X76PPD.mjs} +1 -1
  21. package/dist/{chunk-3PVAC7QH.mjs → chunk-O2PTYAQ3.mjs} +1 -1
  22. package/dist/{chunk-HVH6GVXL.mjs → chunk-O2QPO6MB.mjs} +1 -1
  23. package/dist/{chunk-52RTSWUY.mjs → chunk-PAJYEWHU.mjs} +1 -1
  24. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  25. package/dist/{chunk-EKJTOIRO.mjs → chunk-QAM3H3YJ.mjs} +1 -1
  26. package/dist/{chunk-TWRX2C4T.mjs → chunk-QGDEG5WP.mjs} +1 -1
  27. package/dist/chunk-QJ2GMZM3.mjs +4 -0
  28. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  29. package/dist/{chunk-LRCGDMVE.mjs → chunk-R7SXRY6I.mjs} +1 -1
  30. package/dist/{chunk-ZKQOEWNN.mjs → chunk-S3Y4VVPB.mjs} +1 -1
  31. package/dist/{chunk-5NIBAKPA.mjs → chunk-SG4TZDLH.mjs} +1 -1
  32. package/dist/{chunk-Y7IVNGA7.mjs → chunk-SNFV4LXV.mjs} +1 -1
  33. package/dist/{chunk-YVPT2KEF.mjs → chunk-TOFM7RFJ.mjs} +1 -1
  34. package/dist/{chunk-7IZ2X75V.mjs → chunk-TZE7RZAV.mjs} +1 -1
  35. package/dist/{chunk-BV52OTFX.mjs → chunk-UGVPEWKX.mjs} +1 -1
  36. package/dist/{chunk-MNG2TOD6.mjs → chunk-UVCMN6CZ.mjs} +1 -1
  37. package/dist/chunk-VKY5SRVF.mjs +1 -0
  38. package/dist/{chunk-KLCZHZKQ.mjs → chunk-WRPTP2UD.mjs} +1 -1
  39. package/dist/{chunk-MVM2Q5W3.mjs → chunk-WVG7BNRR.mjs} +1 -1
  40. package/dist/{chunk-ZYFDXXLB.mjs → chunk-XDQVZLNN.mjs} +1 -1
  41. package/dist/{chunk-6U7OZMGH.mjs → chunk-Y2GKVAQN.mjs} +1 -1
  42. package/dist/{chunk-LNFROMKC.mjs → chunk-YYUXMZ2B.mjs} +1 -1
  43. package/dist/{chunk-G4YPHF7Y.mjs → chunk-ZHFVEJXB.mjs} +1 -1
  44. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  45. package/dist/{chunk-VT6OEPW3.mjs → chunk-ZKR652D6.mjs} +1 -1
  46. package/dist/components/Blocks/Banner.js +1 -1
  47. package/dist/components/Blocks/Banner.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.js +1 -1
  49. package/dist/components/Blocks/CallToAction.mjs +1 -1
  50. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  52. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  55. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  56. package/dist/components/Blocks/Content.js +1 -1
  57. package/dist/components/Blocks/Content.mjs +1 -1
  58. package/dist/components/Blocks/Content.stories.js +1 -1
  59. package/dist/components/Blocks/Content.stories.mjs +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  64. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  65. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  66. package/dist/components/Blocks/RelatedPosts.js +1 -1
  67. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  68. package/dist/components/Blocks/RenderBlocks.js +1 -1
  69. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  70. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  71. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  72. package/dist/components/Blocks/index.js +1 -1
  73. package/dist/components/Blocks/index.mjs +1 -1
  74. package/dist/components/CRM/DealDetails.mjs +1 -1
  75. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  76. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  77. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  78. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  79. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  80. package/dist/components/CRM/NewDealForm.mjs +1 -1
  81. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  82. package/dist/components/CRM/index.mjs +1 -1
  83. package/dist/components/Cards/ContentCard.js +1 -1
  84. package/dist/components/Cards/ContentCard.mjs +1 -1
  85. package/dist/components/Cards/ContentCard.stories.js +1 -1
  86. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  87. package/dist/components/Cards/FeatureCard.js +1 -1
  88. package/dist/components/Cards/FeatureCard.mjs +1 -1
  89. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  90. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  91. package/dist/components/Cards/index.js +1 -1
  92. package/dist/components/Cards/index.mjs +1 -1
  93. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  94. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  95. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  96. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  97. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  98. package/dist/components/Heros/HighImpact/index.js +1 -1
  99. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  100. package/dist/components/Heros/LowImpact/index.js +1 -1
  101. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  102. package/dist/components/Heros/MediumImpact/index.js +1 -1
  103. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  104. package/dist/components/Heros/PostHero/index.mjs +1 -1
  105. package/dist/components/Heros/RenderHero.js +1 -1
  106. package/dist/components/Heros/RenderHero.mjs +1 -1
  107. package/dist/components/Heros/index.js +1 -1
  108. package/dist/components/Heros/index.mjs +1 -1
  109. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  110. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  111. package/dist/components/Holidays/index.mjs +1 -1
  112. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  113. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  114. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  115. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  116. package/dist/components/Layouts/Print.js +1 -1
  117. package/dist/components/Layouts/Print.mjs +1 -1
  118. package/dist/components/Layouts/Print.stories.js +1 -1
  119. package/dist/components/Layouts/Print.stories.mjs +1 -1
  120. package/dist/components/Layouts/SlideShow.js +1 -1
  121. package/dist/components/Layouts/SlideShow.mjs +1 -1
  122. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  123. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  124. package/dist/components/Layouts/index.js +1 -1
  125. package/dist/components/Layouts/index.mjs +1 -1
  126. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  127. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  128. package/dist/components/Menus/SidebarRight.mjs +1 -1
  129. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  130. package/dist/components/Menus/index.mjs +1 -1
  131. package/dist/components/Payload/Card/index.mjs +1 -1
  132. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  133. package/dist/components/Payload/Media/index.mjs +1 -1
  134. package/dist/components/Payload/RichText/index.js +1 -1
  135. package/dist/components/Payload/RichText/index.mjs +1 -1
  136. package/dist/components/Payload/RichText/serialize.js +1 -1
  137. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  138. package/dist/components/Payload/RichText.stories.js +1 -1
  139. package/dist/components/Payload/RichText.stories.mjs +1 -1
  140. package/dist/components/Payload/index.js +1 -1
  141. package/dist/components/Payload/index.mjs +1 -1
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/index.mjs +1 -1
  144. package/dist/components/ui/index.mjs +1 -1
  145. package/dist/components/ui/sidebar.mjs +1 -1
  146. package/dist/globals.css +1 -1
  147. package/dist/index.js +2 -2
  148. package/dist/index.mjs +1 -1
  149. package/dist/metafile-cjs.json +1 -1
  150. package/dist/metafile-esm.json +1 -1
  151. package/dist/pages/Blog.js +1 -1
  152. package/dist/pages/Blog.mjs +1 -1
  153. package/dist/pages/Blog.stories.js +1 -1
  154. package/dist/pages/Blog.stories.mjs +1 -1
  155. package/dist/pages/Documentation.mjs +1 -1
  156. package/dist/pages/Documentation.stories.mjs +1 -1
  157. package/dist/pages/IndexPage.mjs +1 -1
  158. package/dist/pages/IndexPage.stories.mjs +1 -1
  159. package/dist/pages/Intranet.mjs +1 -1
  160. package/dist/pages/Intranet.stories.mjs +1 -1
  161. package/dist/pages/LandingPage.js +1 -1
  162. package/dist/pages/LandingPage.mjs +1 -1
  163. package/dist/pages/LandingPage.stories.js +1 -1
  164. package/dist/pages/LandingPage.stories.mjs +1 -1
  165. package/dist/pages/Page.js +1 -1
  166. package/dist/pages/Page.mjs +1 -1
  167. package/dist/pages/Page.stories.js +1 -1
  168. package/dist/pages/Page.stories.mjs +1 -1
  169. package/dist/pages/Printable.stories.js +1 -1
  170. package/dist/pages/Printable.stories.mjs +1 -1
  171. package/dist/pages/Publish.js +1 -1
  172. package/dist/pages/Publish.mjs +1 -1
  173. package/dist/pages/Publish.stories.js +1 -1
  174. package/dist/pages/Publish.stories.mjs +1 -1
  175. package/dist/pages/Website.js +1 -1
  176. package/dist/pages/Website.mjs +1 -1
  177. package/dist/pages/Website.stories.js +1 -1
  178. package/dist/pages/Website.stories.mjs +1 -1
  179. package/dist/sections/AboutSection.js +1 -1
  180. package/dist/sections/AboutSection.mjs +1 -1
  181. package/dist/sections/AboutSection.stories.js +1 -1
  182. package/dist/sections/AboutSection.stories.mjs +1 -1
  183. package/dist/sections/BlogDetail.js +1 -1
  184. package/dist/sections/BlogDetail.mjs +1 -1
  185. package/dist/sections/BlogDetail.stories.js +1 -1
  186. package/dist/sections/BlogDetail.stories.mjs +1 -1
  187. package/dist/sections/BlogList.js +1 -1
  188. package/dist/sections/BlogList.mjs +1 -1
  189. package/dist/sections/BlogList.stories.js +1 -1
  190. package/dist/sections/BlogList.stories.mjs +1 -1
  191. package/dist/sections/BlogListSection.mjs +1 -1
  192. package/dist/sections/BlogListSection.stories.mjs +1 -1
  193. package/dist/sections/ContactSection.js +1 -1
  194. package/dist/sections/ContactSection.mjs +1 -1
  195. package/dist/sections/ContactSection.stories.js +1 -1
  196. package/dist/sections/ContactSection.stories.mjs +1 -1
  197. package/dist/sections/ImageSection.stories.js +1 -1
  198. package/dist/sections/ImageSection.stories.mjs +1 -1
  199. package/dist/sections/PageSections.js +2 -2
  200. package/dist/sections/PageSections.mjs +1 -1
  201. package/dist/sections/PageSections.stories.js +1 -1
  202. package/dist/sections/PageSections.stories.mjs +1 -1
  203. package/dist/sections/PricingSection.js +1 -1
  204. package/dist/sections/PricingSection.mjs +1 -1
  205. package/dist/sections/PricingSection.stories.js +1 -1
  206. package/dist/sections/PricingSection.stories.mjs +1 -1
  207. package/dist/sections/ServiceDetail.js +1 -1
  208. package/dist/sections/ServiceDetail.mjs +1 -1
  209. package/dist/sections/ServiceDetailSection.js +1 -1
  210. package/dist/sections/ServiceDetailSection.mjs +1 -1
  211. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  212. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  213. package/dist/sections/ServiceSection.js +1 -1
  214. package/dist/sections/ServiceSection.mjs +1 -1
  215. package/dist/sections/ServiceSection.stories.js +1 -1
  216. package/dist/sections/ServiceSection.stories.mjs +1 -1
  217. package/dist/sections/index.js +1 -1
  218. package/dist/sections/index.mjs +1 -1
  219. package/package.json +1 -1
  220. package/dist/chunk-HRFDJD4E.mjs +0 -1
  221. package/dist/chunk-PFPDES6P.mjs +0 -4
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as b}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-L2QAYSRV.mjs";import{a as F}from"./chunk-RJGKFNZL.mjs";import{a as D}from"./chunk-6DHYRATS.mjs";import{a as R}from"./chunk-Z2PPN7EJ.mjs";import{b as I}from"./chunk-BDX257W2.mjs";import{a as x}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as q}from"react";import{jsx as u,jsxs as w}from"react/jsx-runtime";var ie=({links:a,richText:e})=>u("div",{className:"container",children:w("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:[u("div",{className:"max-w-[48rem] flex items-center",children:e&&u(f,{className:"mb-0",content:e,enableGutter:!1})}),u("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>u(b,{size:"lg",...t},s))})]})}),z=({links:a,richText:e})=>{let[t,s]=q(!1),c="accent",r=()=>s(!0),o=()=>s(!1),d=n=>{n.target===n.currentTarget&&o()};return w("div",{className:l("relative isolate overflow-hidden",c==="accent"?"bg-accent":"bg-black"),children:[u("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:w("div",{className:"mx-auto max-w-2xl text-center prose",children:[e&&u(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:e,enableGutter:!1}),u("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:u("div",{className:"flex flex-col gap-8 text-white",children:(a||[]).map(({link:n},y)=>(n==null?void 0:n.url)==="/contact"?u("div",{onClick:r,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",c==="accent"?"border-white bg-accent":"border-accent bg-black"),children:n.label},y):u(b,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",c==="accent"?"border-white bg-accent":"border-accent bg-black"),...n},y))})})]})}),t&&u("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:d,children:w("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[u("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),u(S,{})," "]})})]})};import K from"next/image";import{jsx as m,jsxs as B}from"react/jsx-runtime";function A(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function C({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:d,className:n}){var k,v;let y={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"},N={"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:l("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 pb-4":"p-8",o&&!a&&y[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",N[(k=o==null?void 0:o.width)!=null?k:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,n),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:l(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:[s&&m("div",{className:"mb-4 text-primary uppercase font-light",children:s}),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:(o==null?void 0:o.card)==="default"?"solid":(v=o==null?void 0:o.card)!=null?v:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&m(f,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&m("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:c}),d&&d.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:d.url||"#",children:(d==null?void 0:d.label)||"Find out more"})}),(o==null?void 0:o.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:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?B("div",{className:"flex items-start justify-between w-full mb-2",children:[m("div",{className:l(t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),A(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"-mr-2 ml-1 mt-1":""),children:m(x,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?B("div",{className:"flex flex-col gap-4",children:[A(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(x,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("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:l("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 he({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:d,content:n,statistic:y,buttonText:N,buttonHref:k}){let v={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:""},H={"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:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",v[a],a==="outline"?"text-gray-900":"text-white",e,H[c],"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:o,variant:a,iconSize:s})}),y&&p("div",{className:"mb-6",children:p("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:y})}),d&&p("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),n&&typeof n=="object"&&p("div",{className:l("space-y-6"),children:p(f,{enableGutter:!1,content:n,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),n&&typeof n=="string"&&p("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:n}),N&&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:k,children:N})})}),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:s})=>a&&s==="small"?P("div",{className:"flex items-start gap-4 mb-2",children:[M(a)&&p("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:p(x,{type:a.type,iconName:a.iconName,size:"2x"})}),p("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?P("div",{className:"flex flex-col gap-4",children:[M(a)&&p("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:p(x,{type:a.type,iconName:a.iconName,size:"4x"})}),p("h3",{className:l("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:l("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:s,nested:c=!1})=>L("section",{className:l(c?"w-full":"container",""),children:[L("div",{className:"prose prose:max-w-none",children:[a&&g("h2",{className:"mb-6 mt-0 text-primary",id:s||"",children:a}),e&&typeof e=="string"&&g("p",{className:"mb-5 text-foreground",children:e}),e&&typeof e=="object"&&g("div",{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,o)=>{var n;let d=()=>{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:o},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(n=d())!=null?n:{type:"none",icon:null}},o)})})]});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,o)=>i("tr",{children:r.children.map((d,n)=>i("td",{children:h({nodes:d.children})},n))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return h({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){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(D,{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:c},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:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},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:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Z("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&h({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as T}from"react/jsx-runtime";var E=({className:a,content:e,style:t})=>T("div",{className:l("mx-auto my-8 w-full",a),children:T("div",{className:l("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,ie as b,z as c,j as d,h as e,f,C as g,he as h};