cortex-react-components 1.53.20 → 1.54.1

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 (165) hide show
  1. package/dist/{chunk-GCW3ERSQ.mjs → chunk-2DF5ZKAG.mjs} +1 -1
  2. package/dist/{chunk-L7NIMGWX.mjs → chunk-2FIKKDSZ.mjs} +1 -1
  3. package/dist/{chunk-GQ2G2FNR.mjs → chunk-43TBC2ZH.mjs} +1 -1
  4. package/dist/{chunk-EIYQI6CM.mjs → chunk-45HGNKX5.mjs} +1 -1
  5. package/dist/{chunk-AVVSNO6B.mjs → chunk-4DE4TK4U.mjs} +1 -1
  6. package/dist/{chunk-2IKC7MAP.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  7. package/dist/{chunk-4PA2KTEP.mjs → chunk-7EXRMTRU.mjs} +1 -1
  8. package/dist/{chunk-QYDMXCQU.mjs → chunk-7VF6TVAW.mjs} +1 -1
  9. package/dist/{chunk-IO222G5L.mjs → chunk-AAI2VZST.mjs} +1 -1
  10. package/dist/chunk-FBIYWAGF.mjs +1 -0
  11. package/dist/{chunk-3BBZH3T3.mjs → chunk-GFD2CEES.mjs} +1 -1
  12. package/dist/{chunk-NT2VI6N5.mjs → chunk-GHOZSZTQ.mjs} +1 -1
  13. package/dist/{chunk-DFB6DJCW.mjs → chunk-HTB2SE74.mjs} +1 -1
  14. package/dist/{chunk-6LXFNKTC.mjs → chunk-IARWKF3O.mjs} +1 -1
  15. package/dist/{chunk-KYKTABRE.mjs → chunk-IZRWPJLZ.mjs} +1 -1
  16. package/dist/{chunk-VSNDROOR.mjs → chunk-JORETHIT.mjs} +1 -1
  17. package/dist/{chunk-QMFZRG7O.mjs → chunk-KEUZSK3N.mjs} +1 -1
  18. package/dist/chunk-LCJIXE22.mjs +1 -0
  19. package/dist/{chunk-KLCZHZKQ.mjs → chunk-LLJZRF3C.mjs} +1 -1
  20. package/dist/chunk-MW6UGIYC.mjs +1 -0
  21. package/dist/{chunk-D44ZXHH4.mjs → chunk-NOLDWELD.mjs} +1 -1
  22. package/dist/{chunk-RXCQ4PAT.mjs → chunk-PB6JUCYW.mjs} +1 -1
  23. package/dist/chunk-S5VKLW23.mjs +1 -0
  24. package/dist/chunk-SFYUSOHU.mjs +1 -0
  25. package/dist/chunk-TU4NTK6E.mjs +1 -0
  26. package/dist/{chunk-23BDC5JG.mjs → chunk-UBA3ZRKC.mjs} +1 -1
  27. package/dist/components/Blocks/Banner.mjs +1 -1
  28. package/dist/components/Blocks/CallToAction.mjs +1 -1
  29. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  30. package/dist/components/Blocks/CollapableArea.stories.css +1 -0
  31. package/dist/components/Blocks/CollapableArea.stories.js +4 -0
  32. package/dist/components/Blocks/CollapableArea.stories.mjs +1 -0
  33. package/dist/components/Blocks/CollapsableArea.css +1 -0
  34. package/dist/components/Blocks/CollapsableArea.d.ts +3 -0
  35. package/dist/components/Blocks/CollapsableArea.js +4 -0
  36. package/dist/components/Blocks/CollapsableArea.mjs +1 -0
  37. package/dist/components/Blocks/Content.mjs +1 -1
  38. package/dist/components/Blocks/Content.stories.mjs +1 -1
  39. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  40. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  41. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  42. package/dist/components/Blocks/RenderBlocks.js +1 -1
  43. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  44. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  45. package/dist/components/Blocks/index.js +1 -1
  46. package/dist/components/Blocks/index.mjs +1 -1
  47. package/dist/components/Cards/ContentCard.mjs +1 -1
  48. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  49. package/dist/components/Cards/FeatureCard.mjs +1 -1
  50. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  51. package/dist/components/Cards/index.mjs +1 -1
  52. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  53. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  54. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  55. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  56. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  57. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  58. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  59. package/dist/components/HeaderFooter/index.js +1 -1
  60. package/dist/components/HeaderFooter/index.mjs +1 -1
  61. package/dist/components/Heros/HighImpact/index.js +1 -1
  62. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  63. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  64. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  65. package/dist/components/Heros/PostHero/index.mjs +1 -1
  66. package/dist/components/Heros/RenderHero.js +1 -1
  67. package/dist/components/Heros/RenderHero.mjs +1 -1
  68. package/dist/components/Heros/SectionHero/index.d.ts +0 -1
  69. package/dist/components/Heros/SectionHero/index.js +1 -1
  70. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  71. package/dist/components/Heros/index.js +1 -1
  72. package/dist/components/Heros/index.mjs +1 -1
  73. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  74. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  75. package/dist/components/Layouts/Print.js +2 -2
  76. package/dist/components/Layouts/Print.mjs +1 -1
  77. package/dist/components/Layouts/Print.stories.js +1 -1
  78. package/dist/components/Layouts/Print.stories.mjs +1 -1
  79. package/dist/components/Layouts/SlideShow.js +4 -4
  80. package/dist/components/Layouts/SlideShow.mjs +1 -1
  81. package/dist/components/Layouts/SlideShow.stories.js +4 -4
  82. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  83. package/dist/components/Layouts/index.js +4 -4
  84. package/dist/components/Layouts/index.mjs +1 -1
  85. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  86. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  87. package/dist/components/Menus/SidebarRight.mjs +1 -1
  88. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  89. package/dist/components/Menus/index.mjs +1 -1
  90. package/dist/components/Other/PageShape.js +1 -1
  91. package/dist/components/Other/PageShape.mjs +1 -1
  92. package/dist/components/Other/index.js +1 -1
  93. package/dist/components/Other/index.mjs +1 -1
  94. package/dist/components/Payload/RichText/index.mjs +1 -1
  95. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  96. package/dist/components/Payload/RichText.stories.mjs +1 -1
  97. package/dist/components/Payload/index.mjs +1 -1
  98. package/dist/components/index.js +7 -7
  99. package/dist/components/index.mjs +1 -1
  100. package/dist/components/ui/index.mjs +1 -1
  101. package/dist/components/ui/sidebar.mjs +1 -1
  102. package/dist/globals.css +1 -1
  103. package/dist/index.js +11 -11
  104. package/dist/index.mjs +1 -1
  105. package/dist/metafile-cjs.json +1 -1
  106. package/dist/metafile-esm.json +1 -1
  107. package/dist/pages/Blog.mjs +1 -1
  108. package/dist/pages/Blog.stories.mjs +1 -1
  109. package/dist/pages/Documentation.mjs +1 -1
  110. package/dist/pages/Documentation.stories.mjs +1 -1
  111. package/dist/pages/IndexPage.mjs +1 -1
  112. package/dist/pages/IndexPage.stories.mjs +1 -1
  113. package/dist/pages/Intranet.mjs +1 -1
  114. package/dist/pages/Intranet.stories.mjs +1 -1
  115. package/dist/pages/LandingPage.js +1 -1
  116. package/dist/pages/LandingPage.mjs +1 -1
  117. package/dist/pages/LandingPage.stories.js +1 -1
  118. package/dist/pages/LandingPage.stories.mjs +1 -1
  119. package/dist/pages/Page.js +1 -1
  120. package/dist/pages/Page.mjs +1 -1
  121. package/dist/pages/Page.stories.js +1 -1
  122. package/dist/pages/Page.stories.mjs +1 -1
  123. package/dist/pages/Printable.stories.js +5 -5
  124. package/dist/pages/Printable.stories.mjs +1 -1
  125. package/dist/pages/Publish.js +4 -4
  126. package/dist/pages/Publish.mjs +1 -1
  127. package/dist/pages/Publish.stories.js +4 -4
  128. package/dist/pages/Publish.stories.mjs +1 -1
  129. package/dist/pages/Website.js +1 -1
  130. package/dist/pages/Website.mjs +1 -1
  131. package/dist/pages/Website.stories.js +1 -1
  132. package/dist/pages/Website.stories.mjs +1 -1
  133. package/dist/payload-types.d.ts +41 -3
  134. package/dist/payload-types.js +1 -1
  135. package/dist/sections/AboutSection.mjs +1 -1
  136. package/dist/sections/AboutSection.stories.mjs +1 -1
  137. package/dist/sections/BlogDetail.mjs +1 -1
  138. package/dist/sections/BlogDetail.stories.mjs +1 -1
  139. package/dist/sections/BlogList.mjs +1 -1
  140. package/dist/sections/BlogList.stories.mjs +1 -1
  141. package/dist/sections/BlogListSection.mjs +1 -1
  142. package/dist/sections/BlogListSection.stories.mjs +1 -1
  143. package/dist/sections/ContactSection.mjs +1 -1
  144. package/dist/sections/ContactSection.stories.mjs +1 -1
  145. package/dist/sections/ImageSection.stories.mjs +1 -1
  146. package/dist/sections/PageSections.js +2 -2
  147. package/dist/sections/PageSections.mjs +1 -1
  148. package/dist/sections/PageSections.stories.js +3 -3
  149. package/dist/sections/PageSections.stories.mjs +1 -1
  150. package/dist/sections/PricingSection.mjs +1 -1
  151. package/dist/sections/PricingSection.stories.mjs +1 -1
  152. package/dist/sections/ServiceDetailSection.mjs +1 -1
  153. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  154. package/dist/sections/ServiceSection.js +1 -1
  155. package/dist/sections/ServiceSection.mjs +1 -1
  156. package/dist/sections/ServiceSection.stories.js +1 -1
  157. package/dist/sections/ServiceSection.stories.mjs +1 -1
  158. package/dist/sections/form/index.mjs +1 -1
  159. package/dist/sections/index.js +3 -3
  160. package/dist/sections/index.mjs +1 -1
  161. package/package.json +1 -1
  162. package/dist/chunk-DY763VJN.mjs +0 -1
  163. package/dist/chunk-FC4BLPWZ.mjs +0 -1
  164. package/dist/chunk-LQ5FKIXP.mjs +0 -1
  165. package/dist/chunk-NVFIPZCF.mjs +0 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cortex-react-components",
3
3
  "author": "Cortex Reply",
4
4
  "private": false,
5
- "version": "1.53.20",
5
+ "version": "1.54.1",
6
6
  "description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
7
7
  "license": "MPL-2.0",
8
8
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- import{a as p}from"./chunk-SV7NMNDI.mjs";import{e as s,f as m}from"./chunk-WW2H6RR6.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function N({services:a,className:c,title:o,content:l}){let f={settings:{width:"full",card:"light"}};return d(n,{className:"py-8",children:[d("div",{className:r("w-full text-left"),children:[o&&e("h2",{className:"text-3xl md:text-5xl text-primary",children:o}),e("div",{className:"mt-4 text-gray-700 py-12 ",children:l&&e(s,{enableGutter:!1,content:l,enableProse:!1,className:r("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),a&&a.length>0&&e("div",{className:"-mx-4 flex h-[32rem] flex-wrap justify-between gap-y-4",children:a.map((t,i)=>e("div",{"data-aos":"fade-up","data-aos-delay":p([200,400,600],i),className:"w-full h-full md:px-4 md:w-1/2 lg:w-1/3",children:e(m,{...f,icon:{type:"none"},title:t.title,image:t.image,content:t.content,link:t.link})},i))})]})}export{N as a};
@@ -1 +0,0 @@
1
- import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({position:e,className:s=""})=>{let o=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=o[Math.floor(Math.random()*o.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:i("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(s,"absolute -bottom-[2px] flex"),transform:o[0],children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return t("div",{className:"w-full h-[70px] md:h-[332px] z-20 ",children:i("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(s,"absolute "),style:{fontSize:0,float:"left"},transform:o[1],children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return t("div",{className:"w-full h-[70px] md:h-[332px] z-20 content-end block overflow-hidden",children:i("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(s,"relative "),style:{fontSize:0,float:"left"},transform:o[3],children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(s,"w-full block overflow-hidden"),transform:o[1],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(s,"w-full block overflow-hidden"),transform:o[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(s,"w-full block overflow-hidden"),transform:e==="bottom-left"?o[3]:o[2],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},r=({className:e})=>i("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[t("defs",{children:i("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,r as b};
@@ -1 +0,0 @@
1
- import{a as y}from"./chunk-XVX24CGK.mjs";import{b as f,c as d}from"./chunk-WW2H6RR6.mjs";import{a as m}from"./chunk-RJGKFNZL.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{Fragment as R}from"react";import F from"next/image";import{jsx as a,jsxs as v}from"react/jsx-runtime";var b={content:y,cta:f,mediaBlock:m,imageBlock:m,features:d,reusableContentBlock:C},N=s=>{let{blocks:e}=s;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:l(s.fill?"h-full w-full":""),children:e.map((t,r)=>{var c;console.log("block",t);let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in b){let g=b[n];if(n==="reusableContentBlock")return a(R,{children:a(N,{blocks:t.reusableContent.layout})},r);if(g)return v("div",{className:l("py-6 relative",s.fill&&"flex h-full items-center justify-center"),children:[a(k,{block:t,index:r}),a("div",{className:l("container h-full relative",((c=o==null?void 0:o.settings)==null?void 0:c.theme)||"dark"),children:a(g,{...t})})]},r)}return null})}):null},k=s=>{var i,t,r,n,o;if(!("theme"in s.block))return a("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let e=(i=s.block)==null?void 0:i.theme;if(e.settings.background==="image"){let c={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return v("div",{className:l("absolute inset-0 w-full h-full bg-background",e.settings.theme||"dark"),children:[a(F,{src:((r=(t=e.settings)==null?void 0:t.image)==null?void 0:r.url)||"/placeholder.svg",alt:((o=(n=e.settings)==null?void 0:n.image)==null?void 0:o.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:c.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return a("div",{className:l("absolute inset-0 w-screen h-full bg-background",e.settings.theme||"dark")})};import{Fragment as h,jsx as u,jsxs as T}from"react/jsx-runtime";var C=s=>{let{customId:e,reusableContent:i}=s;return typeof i=="object"&&i!==null?u(P,{blocks:i.layout}):u(h,{})},B={content:y,cta:f,mediaBlock:m,imageBlock:m,features:d},P=s=>{let{blocks:e}=s;return e&&Array.isArray(e)&&e.length>0?u(h,{children:e.map((t,r)=>{var c,g;let{blockType:n}=t,o=t==null?void 0:t.theme;if(n&&n in B){let p=B[n];if(p)return T("div",{className:"py-6 relative",children:[u(k,{block:t,index:r}),u("div",{className:l(((c=o==null?void 0:o.settings)==null?void 0:c.theme)==="dark"?"dark":((g=o==null?void 0:o.settings)==null?void 0:g.theme)==="green"?"green":""),children:u(p,{...t})})]},r)}return null})}):null};export{C as a,N as b,k as c};
@@ -1 +0,0 @@
1
- import{a as m}from"./chunk-GCW3ERSQ.mjs";import{a as d}from"./chunk-TFS3B5C6.mjs";import{a as p}from"./chunk-Z5YKLEUF.mjs";import{a as l}from"./chunk-FC4BLPWZ.mjs";import{a as c}from"./chunk-UESKYRNK.mjs";import n from"next/image";import{ChevronRightIcon as x,HomeIcon as u}from"@heroicons/react/20/solid";import{Fragment as g,jsx as o,jsxs as s}from"react/jsx-runtime";var b={highImpact:m,lowImpact:p,mediumImpact:d,sectionHero:f},S=a=>{let{type:e}=a||{};if(!e||e==="none")return null;let r=b[e];return r?o(r,{...a}):null};function v({breadcrumbItems:a}){if(a&&a.length>0){let e=a.filter(r=>r.label.toLowerCase()!=="home");return o("nav",{"aria-label":"Breadcrumb",className:"flex",children:s("ol",{role:"list",className:"flex items-center space-x-4",children:[o("li",{children:o("div",{children:s("a",{href:"/",className:"text-foreground hover:text-accent",children:[o(u,{"aria-hidden":"true",className:"size-5 shrink-0"}),o("span",{className:"sr-only",children:"Home"})]})})}),e.map((r,h)=>o("li",{children:s("div",{className:"flex items-center",children:[o(x,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?o("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):o("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},h))]})})}return o(g,{})}import{jsx as t,jsxs as i}from"react/jsx-runtime";var f=({title:a,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:a})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(n,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(n,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(l,{className:"text-black z-10",position:"header"})]})});function E({title:a,breadcrumbItems:e,image:r}){return i("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[t("div",{className:"absolute inset-0 z-0",children:r&&t(n,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),t("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),t(c,{children:i("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[t("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),e&&e.length>0&&t(v,{breadcrumbItems:e})]})})]})}export{f as a,E as b,S as c,v as d};