cortex-react-components 1.46.2 → 1.48.0
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-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-PBKAWMUU.mjs → chunk-35XLNF3G.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7PWDA3UD.mjs → chunk-4GX7CE6Y.mjs} +1 -1
- package/dist/{chunk-H4NT35II.mjs → chunk-4NYS3NVA.mjs} +1 -1
- package/dist/chunk-5F7XZ6XK.mjs +1 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-SOZ265PX.mjs → chunk-6KJKKF7P.mjs} +1 -1
- package/dist/{chunk-BK5FPGFH.mjs → chunk-74KJ5V34.mjs} +1 -1
- package/dist/{chunk-KJBMLPHS.mjs → chunk-7FMMXR7S.mjs} +1 -1
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-PGSQ2PAH.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-4ZT572BM.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-PKB6F4J5.mjs → chunk-B7DV5BIM.mjs} +1 -1
- package/dist/{chunk-654RXN5C.mjs → chunk-BI3AMPYD.mjs} +1 -1
- package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
- package/dist/{chunk-4OQHZ5FW.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-PV7GB4V4.mjs → chunk-E2LKSCDR.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-MZVYPHE3.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-4QHYOUY7.mjs → chunk-ETZFHPXX.mjs} +1 -1
- package/dist/{chunk-6G2YEF4M.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-XHDR7I54.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
- package/dist/{chunk-7QOBENUU.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-KQE42INF.mjs → chunk-I5EBXVLE.mjs} +1 -1
- package/dist/{chunk-HE3WBVX5.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-M24IHGNE.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-TKACTYOE.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-7OHZFWIJ.mjs → chunk-MLLI6A3T.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-FOMKMFJX.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/{chunk-W66SVCJY.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
- package/dist/{chunk-TCJJQBFS.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.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/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
- 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/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.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/ReusableContent.css +1 -0
- package/dist/components/Blocks/ReusableContent.d.ts +8 -0
- package/dist/components/Blocks/ReusableContent.js +4 -0
- package/dist/components/Blocks/ReusableContent.mjs +1 -0
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/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/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +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.mjs +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.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/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/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.d.ts +12 -2
- 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 +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +8 -8
- 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.mjs +1 -1
- 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 +183 -183
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- 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 +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +300 -3
- package/dist/payload-types.js +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/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/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/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-QEJAJJSS.mjs +0 -1
- package/dist/chunk-XZEJC3UX.mjs +0 -1
- package/dist/chunk-ZSRAJP4K.mjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-LIAT3JG5.mjs";import{a as o}from"./chunk-KSCHUMVE.mjs";import{a as t}from"./chunk-GHBJK554.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:m,logoDark:a}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-TFWGOEV7.mjs";import{a}from"./chunk-YNDKGRL6.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o}from"./chunk-
|
|
1
|
+
import{e as o}from"./chunk-7FR5BXX2.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:s=!0,imgClassName:i,media:m,staticImage:n}=r;return o("div",{className:a("",{container:s},t),children:o(e,{imgClassName:a("border border-border rounded-[0.8rem]",i),resource:m,src:n})})};export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as
|
|
4
|
+
import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as D}from"./chunk-
|
|
4
|
+
import{a as D}from"./chunk-IQ7LAP7P.mjs";import{a as C}from"./chunk-I3JB7SE2.mjs";import{useState as x,useCallback as w}from"react";import{DragDropContext as W}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as h}from"react/jsx-runtime";var y=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function V({initialData:s,addNewDeal:g,updateDeal:n,addComment:b,addNewCustomer:f}){var i;let[r,c]=x(null),S=e=>{var o;return((o=s.deals)!=null?o:[]).filter(t=>t.status===e)},R=e=>e.reduce((o,t)=>o+(t.value||0),0),P=(e,o)=>{let t={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((a,d)=>a+(d.value||0)*t[o],0)},M=w(e=>{var m,p;let{source:o,destination:t}=e;if(!t||o.droppableId===t.droppableId&&o.index===t.index)return;let a=o.droppableId,d=t.droppableId,u=(m=s.deals)==null?void 0:m.filter(v=>v.id===o.index)[0],B=[...(p=s.deals)!=null?p:[]];u&&(u.status=d,n(u))},[n]);return l(W,{onDragEnd:M,children:h("div",{className:"p-4 max-h-[90vh] overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:y.filter(e=>e!=="Won"&&e!=="Lost").map(e=>{var t,a;let o=S(e);return l(D,{status:e,deals:o,customers:(t=s.customers)!=null?t:[],users:s.users,categories:(a=s.categories)!=null?a:[],onDealClick:c,calculateColumnValue:R,calculateWeightedValue:P,addNewDeal:e==="Cold"?g:void 0,onAddCustomer:f},e)})}),r&&l(C,{deal:r,users:s.users,customer:r.customer,categories:(i=s.categories)!=null?i:[],onClose:()=>c(null),onSave:n,onAddComment:e=>b(r.id.toString(),e)})]})})}export{V as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as u}from"./chunk-3TIFSACL.mjs";import{a as v}from"./chunk-XDP6BKTK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as b}from"react";import{Menu as x,ChevronDown as w}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function O({logoVideo:p,logoLight:s,logoDark:i,menuItems:a,title:r,subtitle:n}){let[c,d]=f(!1),[l,g]=f(!1),h=()=>{let o=document.getElementById("next-section");o&&o.scrollIntoView({behavior:"smooth"})};return b(()=>{let o=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",o,{passive:!0}),()=>window.removeEventListener("scroll",o)},[]),t("div",{className:"relative h-screen",children:[t("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[t("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!c&&!l&&e("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{g(!l)},children:e(x,{className:"w-6 h-6 text-white"})}),t("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(u,{isMenuOpen:c||l,logoLight:s,logoDark:i,menuItems:a}),e(v,{isMenuOpen:!0,logoLight:s,logoDark:i,menuItems:a})]}),t("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(N,{src:p,alt:"Cortex Reply Logo",width:720,height:320,className:m("absolute top-2.5 h-auto w-auto mt-8 hidden lg:block",l&&"lg:hidden")}),t("div",{className:"absolute top-1/2vv h-full flex flex-col px-4 items-center justify-center",children:[e("h1",{className:"text-6xl font-bold pt-auto mb-12",children:r&&r}),e("div",{className:"text-3xl mb-8 max-w-2xl",children:n&&n})]}),e("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:h,children:e(w,{size:64})})})]})]})}export{O as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-KTVHPTON.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-23EQTK7B.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("border border-border rounded-[0.8rem]",s),resource:i,src:n})})};export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as v}from"./chunk-HAYRX2WO.mjs";import{
|
|
1
|
+
import{a as v}from"./chunk-HAYRX2WO.mjs";import{d as f}from"./chunk-YNNW2C2U.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}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=i("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),p=i("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),g=i("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=i("flex items-center gap-5"),m=i("transition-colors duration-300 hover:text-accent dark:hover:text-white");function $({className:N,footerData:x,logoLight:b,logoDark:u}){let{about:n,columnOne:c,columnTwo:s,columnThree:r,footerBottom:d}=x;return t("footer",{className:i("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",N),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,{logoLight:b,logoDark:u}),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,o)=>a("li",{children:a(l,{"aria-label":e.href,className:T,href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},o))})})]}),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(l,{href:e.href,openNewTab:e.openNewTab,className:m,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,o)=>a("a",{href:`mailto:${e}`,className:m,children:e},o))})]}),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,o)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:m,children:e},o))})]})]})]}),r&&t("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[a("h3",{className:p,children:r.title}),r.blogs&&r.blogs.length>0&&a("div",{className:"grid gap-6",children:r.blogs.map((e,o)=>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 font-bold leading-normal",children:a(l,{href:e.slug,className:"transition-colors duration-300 hover:text-accent",children:e.title})})]})]},o))})]})]})})}),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 justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:d.copyrightText}),d.links&&d.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:d.links.map(e=>a("li",{children:a(l,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:m,children:e.label})},e.label))})})]})})})]})}export{$ as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var $e=Object.create;var _=Object.defineProperty;var et=Object.getOwnPropertyDescriptor;var tt=Object.getOwnPropertyNames;var rt=Object.getPrototypeOf,ot=Object.prototype.hasOwnProperty;var nt=(t,e)=>{for(var r in e)_(t,r,{get:e[r],enumerable:!0})},ke=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of tt(e))!ot.call(t,s)&&s!==r&&_(t,s,{get:()=>e[s],enumerable:!(n=et(e,s))||n.enumerable});return t};var K=(t,e,r)=>(r=t!=null?$e(rt(t)):{},ke(e||!t||!t.__esModule?_(r,"default",{value:t,enumerable:!0}):r,t)),st=t=>ke(_({},"__esModule",{value:!0}),t);var Dt={};nt(Dt,{BannerBlock:()=>ge});module.exports=st(Dt);var Ie=require("clsx");var le="-",at=t=>{let e=it(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:l=>{let a=l.split(le);return a[0]===""&&a.length!==1&&a.shift(),Ne(a,e)||lt(l)},getConflictingClassGroupIds:(l,a)=>{let d=r[l]||[];return a&&n[l]?[...d,...n[l]]:d}}},Ne=(t,e)=>{var l;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),s=n?Ne(t.slice(1),n):void 0;if(s)return s;if(e.validators.length===0)return;let o=t.join(le);return(l=e.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ae=/^\[(.+)\]$/,lt=t=>{if(Ae.test(t)){let e=Ae.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},it=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return dt(Object.entries(t.classGroups),r).forEach(([o,l])=>{ae(l,n,o,e)}),n},ae=(t,e,r,n)=>{t.forEach(s=>{if(typeof s=="string"){let o=s===""?e:Ce(e,s);o.classGroupId=r;return}if(typeof s=="function"){if(ct(s)){ae(s(n),e,r,n);return}e.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ae(l,Ce(e,o),r,n)})})},Ce=(t,e)=>{let r=t;return e.split(le).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ct=t=>t.isThemeGetter,dt=(t,e)=>e?t.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[e+l,a])):o);return[r,s]}):t,pt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Be="!",ut=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,s=e[0],o=e.length,l=a=>{let d=[],m=0,f=0,w;for(let y=0;y<a.length;y++){let x=a[y];if(m===0){if(x===s&&(n||a.slice(y,y+o)===e)){d.push(a.slice(f,y)),f=y+o;continue}if(x==="/"){w=y;continue}}x==="["?m++:x==="]"&&m--}let h=d.length===0?a:a.substring(f),A=h.startsWith(Be),C=A?h.substring(1):h,b=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},mt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},gt=t=>({cache:pt(t.cacheSize),parseClassName:ut(t),...at(t)}),ft=/\s+/,bt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=e,o=[],l=t.trim().split(ft),a="";for(let d=l.length-1;d>=0;d-=1){let m=l[d],{modifiers:f,hasImportantModifier:w,baseClassName:h,maybePostfixModifierPosition:A}=r(m),C=!!A,b=n(C?h.substring(0,A):h);if(!b){if(!C){a=m+(a.length>0?" "+a:a);continue}if(b=n(h),!b){a=m+(a.length>0?" "+a:a);continue}C=!1}let y=mt(f).join(":"),x=w?y+Be:y,k=x+b;if(o.includes(k))continue;o.push(k);let I=s(b,C);for(let M=0;M<I.length;++M){let O=I[M];o.push(x+O)}a=m+(a.length>0?" "+a:a)}return a};function yt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Pe(e))&&(n&&(n+=" "),n+=r);return n}var Pe=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=Pe(t[n]))&&(r&&(r+=" "),r+=e);return r};function ht(t,...e){let r,n,s,o=l;function l(d){let m=e.reduce((f,w)=>w(f),t());return r=gt(m),n=r.cache.get,s=r.cache.set,o=a,a(d)}function a(d){let m=n(d);if(m)return m;let f=bt(d,r);return s(d,f),f}return function(){return o(yt.apply(null,arguments))}}var p=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Re=/^\[(?:([a-z-]+):)?(.+)\]$/i,xt=/^\d+\/\d+$/,wt=new Set(["px","full","screen"]),vt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kt=/\d+(%|px|r?em|[sdl]?Fe([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,At=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>F(t)||wt.has(t)||xt.test(t),R=t=>G(t,"length",zt),F=t=>!!t&&!Number.isNaN(Number(t)),se=t=>G(t,"number",F),U=t=>!!t&&Number.isInteger(Number(t)),Bt=t=>t.endsWith("%")&&F(t.slice(0,-1)),i=t=>Re.test(t),T=t=>vt.test(t),Pt=new Set(["length","size","percentage"]),Rt=t=>G(t,Pt,Te),Tt=t=>G(t,"position",Te),St=new Set(["image","url"]),It=t=>G(t,St,Ft),Mt=t=>G(t,"",Et),D=()=>!0,G=(t,e,r)=>{let n=Re.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},zt=t=>kt.test(t)&&!At.test(t),Te=()=>!1,Et=t=>Ct.test(t),Ft=t=>Nt.test(t);var Gt=()=>{let t=p("colors"),e=p("spacing"),r=p("blur"),n=p("brightness"),s=p("borderColor"),o=p("borderRadius"),l=p("borderSpacing"),a=p("borderWidth"),d=p("contrast"),m=p("grayscale"),f=p("hueRotate"),w=p("invert"),h=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),b=p("inset"),y=p("margin"),x=p("opacity"),k=p("padding"),I=p("saturate"),M=p("scale"),O=p("sepia"),fe=p("skew"),be=p("space"),ye=p("translate"),te=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",i,e],u=()=>[i,e],he=()=>["",B,R],j=()=>["auto",F,i],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],we=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",i],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[F,i];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[B,R],blur:["none","",T,i],brightness:N(),borderColor:[t],borderRadius:["none","","full",T,i],borderSpacing:u(),borderWidth:he(),contrast:N(),grayscale:L(),hueRotate:N(),invert:L(),gap:u(),gradientColorStops:[t],gradientColorStopPositions:[Bt,R],inset:oe(),margin:oe(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:L(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...xe(),i]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",U,i]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",U,i]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",U,i]},i]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[U,i]},i]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],Fe:[{Fe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],Fe:[{Fe:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[be]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[be]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",T,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",se]}],"font-family":[{font:[D]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",F,se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,R]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...xe(),Tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Rt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},It]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-Fe":[{"rounded-Fe":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:J()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,R]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,R]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",T,Mt]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...we(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":we()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",T,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[I]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[U,i]}],"translate-x":[{"translate-x":[ye]}],"translate-y":[{"translate-y":[ye]}],"skew-x":[{"skew-x":[fe]}],"skew-y":[{"skew-y":[fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-Fe":[{"scroll-Fe":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-Fe":[{"scroll-Fe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[B,R,se]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","Fe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Fe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-Fe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Fe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Fe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Fe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Se=ht(Gt);function g(...t){return Se((0,Ie.clsx)(t))}var Me=require("@radix-ui/react-slot"),ze=require("class-variance-authority"),Ee=K(require("react")),Fe=require("react/jsx-runtime"),Lt=(0,ze.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),H=Ee.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...s},o)=>(0,Fe.jsx)(t?Me.Slot:"button",{className:g(Lt({className:e,size:r,variant:n})),ref:o,...s}));H.displayName="Button";var ie=K(require("next/link")),Q=t=>{let{type:e,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:d,url:m}=t,f=e==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:m;if(!f)return null;let w=r==="link"?"clear":d,h=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Fe.jsxs)(ie.default,{className:g(s),href:f||m||"",...h,children:[o&&o,n&&n]}):(0,Fe.jsx)(H,{asChild:!0,className:s,size:w,variant:r,children:(0,Fe.jsxs)(ie.default,{className:g(s),href:f||m||"",...h,children:[o&&o,n&&n]})})};var Ge=({links:t,richText:e})=>(0,Fe.jsx)("div",{className:"container",children:(0,Fe.jsxs)("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:[(0,Fe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,Fe.jsx)(z,{className:"mb-0",content:e,enableGutter:!1})}),(0,Fe.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,Fe.jsx)(Q,{size:"lg",...r},n))})]})});var Y=require("prism-react-renderer");var Le=require("lucide-react"),Ue=require("react");function De({code:t}){let[e,r]=(0,Ue.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Fe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Fe.jsxs)(H,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,Fe.jsx)("p",{children:e}),(0,Fe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Fe.jsx)(Le.ClipboardCopy,{})})]})})}var He=({code:t,language:e=""})=>t?(0,Fe.jsx)(Y.Highlight,{code:t,language:e,theme:Y.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Fe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Fe.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Fe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Fe.jsx)("span",{className:"table-cell pl-4",children:o.map((a,d)=>(0,Fe.jsx)("span",{...n({token:a})},d))})]},l)),(0,Fe.jsx)(De,{code:t})]})}):null;var Ve=({className:t,code:e,language:r})=>(0,Fe.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Fe.jsx)(He,{code:e,language:r})});var Oe=K(require("next/image")),Ut={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Qe="data:image/png;base64,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",je=t=>{let{alt:e,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:d}=t,m,f,w=e,h=a||"";if(!h&&o&&typeof o=="object"){let{alt:b,filename:y,height:x,url:k,width:I}=o;m=I,f=x,w=b||"",h=k||Qe}let A=d||"lazy",C=l||Object.entries(Ut).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Fe.jsx)("picture",{children:(0,Fe.jsx)(Oe.default,{alt:w||"",className:g(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Qe,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:C,src:h,width:r?void 0:m})})};var Je=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _e=()=>{if(Je){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ke=t=>{let{onClick:e,resource:r,videoClassName:n}=t,s=(0,Ue.useRef)(null);if((0,Ue.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Fe.jsx)("video",{autoPlay:!0,className:g(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:s,children:(0,Fe.jsx)("source",{src:`${_e()}/media/${o}`})})}return null};var W=t=>{var l;let{className:e,htmlElement:r="div",resource:n}=t,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,Fe.jsx)(r||Ue.Fragment,{...r!==null?{className:e}:{},children:s?(0,Fe.jsx)(Ke,{...t}):(0,Fe.jsx)(je,{...t})})};var Xe=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,Fe.jsx)("div",{className:g("",{container:r},e),children:(0,Fe.jsx)(W,{imgClassName:g("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var qe=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=t;return(0,Fe.jsx)("div",{className:g("",{container:r},e),children:(0,Fe.jsx)(W,{imgClassName:g("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var We=({title:t,description:e,features:r,id:n})=>(0,Fe.jsxs)("section",{className:g("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Fe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,Fe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,Fe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Fe.jsx)(z,{content:e,enableGutter:!1})}),(0,Fe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{let l=(0,Fe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Fe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Fe.jsx)("i",{className:`${s.icon.type} fa-${s.icon.icon} fa-4x`})}),(0,Fe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:s.title}),s.content&&typeof s.content!="object"&&(0,Fe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:s.content}}),s.content&&typeof s.content=="object"&&(0,Fe.jsx)("div",{className:"text-lg opacity-80",children:(0,Fe.jsx)(z,{content:s.content,enableGutter:!1})})]},o);return s.link?(0,Fe.jsx)("a",{href:s.link.url?s.link.url:"#",className:"no-underline group",children:l},o):l})})]});var $=K(require("react"));function Z({nodes:t}){return(0,Fe.jsx)($.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let o=(0,Fe.jsx)($.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,Fe.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,Fe.jsx)("em",{children:o},r)),e.format&4&&(o=(0,Fe.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,Fe.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,Fe.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,Fe.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,Fe.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,Fe.jsx)("table",{children:(0,Fe.jsx)("tbody",{children:e.children.map((o,l)=>(0,Fe.jsx)("tr",{children:o.children.map((a,d)=>(0,Fe.jsx)("td",{children:Z({nodes:a.children})},d))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Z({nodes:o.children})},s="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Fe.jsx)(Ge,{...o},r);case"mediaBlock":return(0,Fe.jsx)(Xe,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Fe.jsx)(qe,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Fe.jsx)(ge,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Fe.jsx)(Ve,{className:"col-start-2",...o},r);case"features":return(0,Fe.jsx)(We,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,Fe.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Fe.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=e==null?void 0:e.tag;return(0,Fe.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:s},r)}case"list":{let o=e==null?void 0:e.tag;return(0,Fe.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,Fe.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:s},r):(0,Fe.jsx)("li",{value:e==null?void 0:e.value,children:s},r);case"quote":return(0,Fe.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=e.fields;return(0,Fe.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=e.fields;return(0,Fe.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var z=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var s;return e?(0,Fe.jsx)("div",{className:g({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&Z({nodes:(s=e==null?void 0:e.root)==null?void 0:s.children})}):null};var ge=({className:t,content:e,style:r})=>(0,Fe.jsx)("div",{className:g("mx-auto my-8 w-full",t),children:(0,Fe.jsx)("div",{className:g("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Fe.jsx)(z,{content:e,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
|
|
4
|
+
"use strict";var ot=Object.create;var Y=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var st=Object.getOwnPropertyNames;var at=Object.getPrototypeOf,lt=Object.prototype.hasOwnProperty;var it=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of st(t))!lt.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=nt(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?ot(at(e)):{},Ce(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),ct=e=>Ce(Y({},"__esModule",{value:!0}),e);var Jt={};it(Jt,{BannerBlock:()=>fe});module.exports=ct(Jt);var Me=require("clsx");var ie="-",dt=e=>{let t=ut(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Pe(a,t)||pt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Pe=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Pe(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ie);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ae=/^\[(.+)\]$/,pt=e=>{if(Ae.test(e)){let t=Ae.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ut=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return gt(Object.entries(e.classGroups),r).forEach(([o,l])=>{le(l,n,o,t)}),n},le=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ne(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(mt(s)){le(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{le(l,Ne(t,o),r,n)})})},Ne=(e,t)=>{let r=e;return t.split(ie).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},mt=e=>e.isThemeGetter,gt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,ft=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Be="!",bt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],u=0,m=0,h;for(let y=0;y<a.length;y++){let w=a[y];if(u===0){if(w===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(m,y)),m=y+o;continue}if(w==="/"){h=y;continue}}w==="["?u++:w==="]"&&u--}let x=c.length===0?a:a.substring(m),A=x.startsWith(Be),N=A?x.substring(1):x,b=h&&h>m?h-m:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},yt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},ht=e=>({cache:ft(e.cacheSize),parseClassName:bt(e),...dt(e)}),xt=/\s+/,wt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(xt),a="";for(let c=l.length-1;c>=0;c-=1){let u=l[c],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=r(u),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){a=u+(a.length>0?" "+a:a);continue}if(b=n(x),!b){a=u+(a.length>0?" "+a:a);continue}N=!1}let y=yt(m).join(":"),w=h?y+Be:y,C=w+b;if(o.includes(C))continue;o.push(C);let z=s(b,N);for(let E=0;E<z.length;++E){let J=z[E];o.push(w+J)}a=u+(a.length>0?" "+a:a)}return a};function vt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Re(t))&&(n&&(n+=" "),n+=r);return n}var Re=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Re(e[n]))&&(r&&(r+=" "),r+=t);return r};function kt(e,...t){let r,n,s,o=l;function l(c){let u=t.reduce((m,h)=>h(m),e());return r=ht(u),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let m=wt(c,r);return s(c,m),m}return function(){return o(vt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ct=/^\d+\/\d+$/,At=new Set(["px","full","screen"]),Nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pt=/\d+(%|px|r?em|[sdl]?Ge([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Bt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Rt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,It=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>L(e)||At.has(e)||Ct.test(e),T=e=>D(e,"length",Lt),L=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>D(e,"number",L),H=e=>!!e&&Number.isInteger(Number(e)),Tt=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>Ie.test(e),S=e=>Nt.test(e),St=new Set(["length","size","percentage"]),Mt=e=>D(e,St,Te),zt=e=>D(e,"position",Te),Et=new Set(["image","url"]),Ft=e=>D(e,Et,Ut),Gt=e=>D(e,"",Dt),V=()=>!0,D=(e,t,r)=>{let n=Ie.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Lt=e=>Pt.test(e)&&!Bt.test(e),Te=()=>!1,Dt=e=>Rt.test(e),Ut=e=>It.test(e);var Ht=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),u=g("grayscale"),m=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),w=g("opacity"),C=g("padding"),z=g("saturate"),E=g("scale"),J=g("sepia"),be=g("skew"),ye=g("space"),he=g("translate"),re=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",i,t],f=()=>[i,t],xe=()=>["",B,T],_=()=>["auto",L,i],we=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",i],ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[B,T],blur:["none","",S,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:f(),borderWidth:xe(),contrast:P(),grayscale:U(),hueRotate:P(),invert:U(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[Tt,T],inset:ne(),margin:ne(),opacity:P(),padding:f(),saturate:P(),scale:P(),sepia:U(),skew:P(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ke()}],"break-before":[{"break-before":ke()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...we(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ge:[{Ge:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],Ge:[{Ge:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],Ge:[{Ge:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ae]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",L,ae]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,T]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...we(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ft]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[B,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Gt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ve(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ve()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[he]}],"translate-y":[{"translate-y":[he]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-Ge":[{"scroll-Ge":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-Ge":[{"scroll-Ge":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-Ge":[{"scroll-Ge":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,T,ae]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],Ge:["px","py","ps","Ge","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Ge","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Ge","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Ge":["scroll-px","scroll-py","scroll-ps","scroll-Ge","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Se=kt(Ht);function d(...e){return Se((0,Me.clsx)(e))}var ze=require("@radix-ui/react-slot"),Ee=require("class-variance-authority"),Fe=X(require("react")),Ge=require("react/jsx-runtime"),Vt=(0,Ee.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),F=Fe.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,Ge.jsx)(e?ze.Slot:"button",{className:d(Vt({className:t,size:r,variant:n})),ref:o,...s}));F.displayName="Button";var ce=X(require("next/link")),O=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:u}=e,m=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:u;if(!m)return null;let h=r==="link"?"clear":c,x=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ge.jsxs)(ce.default,{className:d(s),href:m||u||"",...x,children:[o&&o,n&&n]}):(0,Ge.jsx)(F,{asChild:!0,className:s,size:h,variant:r,children:(0,Ge.jsxs)(ce.default,{className:d(s),href:m||u||"",...x,children:[o&&o,n&&n]})})};var Le=({links:e,richText:t})=>(0,Ge.jsx)("div",{className:"container",children:(0,Ge.jsxs)("div",{className:"bg-card rounded border-border border Ge-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ge.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ge.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ge.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Ge.jsx)(O,{size:"lg",...r},n))})]})});var q=require("prism-react-renderer");var De=require("lucide-react"),Ue=require("react");function He({code:e}){let[t,r]=(0,Ue.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ge.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ge.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ge.jsx)("Ge",{children:t}),(0,Ge.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ge.jsx)(De.ClipboardCopy,{})})]})})}var Ve=({code:e,language:t=""})=>e?(0,Ge.jsx)(q.Highlight,{code:e,language:t,theme:q.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,Ge.jsxs)("pre",{className:"bg-black Ge-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,Ge.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ge.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Ge.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,Ge.jsx)("span",{...n({token:a})},c))})]},l)),(0,Ge.jsx)(He,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,Ge.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ge.jsx)(Ve,{code:t,language:r})});var je=X(require("next/image")),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Oe="data:image/png;base64,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",Je=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,u,m,h=t,x=a||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:w,url:C,width:z}=o;u=z,m=w,h=b||"",x=C||Oe}let A=c||"lazy",N=l||Object.entries(Qt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Ge.jsx)("picture",{children:(0,Ge.jsx)(je.default,{alt:h||"",className:d(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Oe,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:N,src:x,width:r?void 0:u})})};var _e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ke=()=>{if(_e){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Ye=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,Ue.useRef)(null);if((0,Ue.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ge.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ge.jsx)("source",{src:`${Ke()}/media/${o}`})})}return null};var $=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,Ge.jsx)(r||Ue.Fragment,{...r!==null?{className:t}:{},children:s?(0,Ge.jsx)(Ye,{...e}):(0,Ge.jsx)(Je,{...e})})};var qe=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ge.jsx)("div",{className:d("",{container:r},t),children:(0,Ge.jsx)($,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var We=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,Ge.jsx)("div",{className:d("",{container:r},t),children:(0,Ge.jsx)($,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var Ze=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,$e.jsx)("i",{className:a})};function Ot(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function et({variant:e="light",className:t,icon:r,heading:n,subheading:s,content:o,statistic:l,buttonText:a,buttonHref:c}){return(0,Ge.jsxs)("div",{className:d("rounded-3xl Ge-8 md:Ge-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,Ge.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,Ge.jsx)("div",{className:d("rounded-full Ge-0",e==="light"?"text-[#A42368]":"text-white"),children:Ot(r)?(0,Ge.jsx)(Ze,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,Ge.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,Ge.jsx)("div",{className:"mb-6",children:(0,Ge.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:l})}),s&&(0,Ge.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,Ge.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,Ge.jsx)(R,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-Ge:text-gray-300")})}),o&&typeof o=="string"&&(0,Ge.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),a&&(0,Ge.jsx)("div",{className:"mt-8",children:(0,Ge.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,Ge.jsxs)("a",{href:c,children:[a,(0,Ge.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,Ge.jsx)("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 tt=({title:e,description:t,features:r,id:n})=>(0,Ge.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ge.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,Ge.jsx)("Ge",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Ge.jsx)("Ge",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Ge.jsx)(R,{content:t,enableGutter:!1})}),(0,Ge.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var l,a,c,u,m;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,Ge.jsx)(jt,{section:s,index:o},o);{let h=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,Ge.jsx)(et,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(u=s.link)!=null&&u.url?"Find out more":void 0,buttonHref:((m=s.link)==null?void 0:m.url)||void 0},o)}})})]}),jt=({section:e,index:t})=>{if(!e)return null;let r=(0,Ge.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,Ge.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Ge.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,Ge.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,Ge.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,Ge.jsx)("div",{className:"text-lg opacity-80",children:(0,Ge.jsx)(R,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,Ge.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var ee=X(require("react"));function j({nodes:e}){return(0,Ge.jsx)(ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Ge.jsx)(ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ge.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ge.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ge.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ge.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ge.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ge.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ge.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ge.jsx)("table",{children:(0,Ge.jsx)("tbody",{children:t.children.map((o,l)=>(0,Ge.jsx)("tr",{children:o.children.map((a,c)=>(0,Ge.jsx)("td",{children:j({nodes:a.children})},c))},l))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return j({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,Ge.jsx)(Le,{...o},r);case"mediaBlock":return(0,Ge.jsx)(qe,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Ge.jsx)(We,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Ge.jsx)(fe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ge.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,Ge.jsx)(tt,{...o},r);case"reusableContentBlock":j({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ge.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ge.jsx)("Ge",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ge.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ge.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ge.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,Ge.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,Ge.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,Ge.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,Ge.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,Ge.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&j({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var fe=({className:e,content:t,style:r})=>(0,Ge.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,Ge.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Ge.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-NSBNDXRL.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
|