cortex-react-components 1.43.4 → 1.43.6
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-Q77U5BXI.mjs → chunk-2HSNFTRZ.mjs} +1 -1
- package/dist/{chunk-DE2DIWCC.mjs → chunk-2MC5DSC7.mjs} +1 -1
- package/dist/{chunk-763KMQIQ.mjs → chunk-2NFKSNJW.mjs} +1 -1
- package/dist/{chunk-UDX5Y4SA.mjs → chunk-3KMFY6E7.mjs} +1 -1
- package/dist/chunk-3TYE4Q6H.mjs +4 -0
- package/dist/{chunk-QIGWPB3D.mjs → chunk-3VWFINCO.mjs} +1 -1
- package/dist/{chunk-NWW7KWJK.mjs → chunk-44VMK4FL.mjs} +1 -1
- package/dist/{chunk-YDGF5GEU.mjs → chunk-4ZT572BM.mjs} +1 -1
- package/dist/{chunk-SJWGFZJ6.mjs → chunk-5IQPAE6K.mjs} +1 -1
- package/dist/{chunk-NLTSDI7A.mjs → chunk-5WADH365.mjs} +1 -1
- package/dist/{chunk-D43ENVPX.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-V7LBBZKS.mjs → chunk-6LKCK2EH.mjs} +1 -1
- package/dist/{chunk-QJ7Q24VU.mjs → chunk-6UE4E5PP.mjs} +1 -1
- package/dist/{chunk-3PC5BLK7.mjs → chunk-72Z4T7BT.mjs} +1 -1
- package/dist/{chunk-EMZQNDA7.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-MP3J7UPZ.mjs → chunk-AN4F3ML3.mjs} +1 -1
- package/dist/chunk-BDX257W2.mjs +1 -0
- package/dist/{chunk-SHN4XZWD.mjs → chunk-BOZT7Z5K.mjs} +1 -1
- package/dist/{chunk-R7P4VVM3.mjs → chunk-BQED2B7G.mjs} +1 -1
- package/dist/chunk-BRYZOZKY.mjs +1 -0
- package/dist/{chunk-WDREYBFE.mjs → chunk-CAVA4IHF.mjs} +1 -1
- package/dist/{chunk-PXVYSZBQ.mjs → chunk-DBWBX2VF.mjs} +1 -1
- package/dist/{chunk-GFV75XSU.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/chunk-FBUZ37DL.mjs +1 -0
- package/dist/{chunk-J2VQUYES.mjs → chunk-FI4SMRAR.mjs} +1 -1
- package/dist/{chunk-7322R3ID.mjs → chunk-HAW2ALWX.mjs} +1 -1
- package/dist/{chunk-74TGU5CZ.mjs → chunk-J37HGKWS.mjs} +1 -1
- package/dist/{chunk-TQCGX4Y6.mjs → chunk-KDGEXDC5.mjs} +1 -1
- package/dist/{chunk-IE2A7UT3.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-6ZNVXWZR.mjs → chunk-KJ2C7CBU.mjs} +1 -1
- package/dist/{chunk-M7BWRL34.mjs → chunk-KM65VWDA.mjs} +1 -1
- package/dist/{chunk-D3PXELYK.mjs → chunk-KPZUZ7DO.mjs} +1 -1
- package/dist/{chunk-DF3LBG6O.mjs → chunk-LAOUTV76.mjs} +1 -1
- package/dist/{chunk-PV5S3GA7.mjs → chunk-LDOZCKP6.mjs} +1 -1
- package/dist/chunk-LRLTMHGN.mjs +1 -0
- package/dist/{chunk-66ZAIUUI.mjs → chunk-M6M43TLT.mjs} +1 -1
- package/dist/{chunk-UO2QAXEA.mjs → chunk-MNDA6BQL.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-FYMNYQNR.mjs → chunk-NLFCSX3M.mjs} +1 -1
- package/dist/{chunk-32GGKWGB.mjs → chunk-NRL4U42W.mjs} +1 -1
- package/dist/{chunk-SBHCQ2HK.mjs → chunk-OKGREBP5.mjs} +1 -1
- package/dist/{chunk-LQ3E34A2.mjs → chunk-ONVUVE2F.mjs} +1 -1
- package/dist/{chunk-3FW5YDNM.mjs → chunk-OWBJTXZL.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-AF5ISZTG.mjs → chunk-QDBKDH64.mjs} +1 -1
- package/dist/{chunk-YQZH5MJU.mjs → chunk-ROPMTH4T.mjs} +1 -1
- package/dist/{chunk-YOOGQIDR.mjs → chunk-RSQQ66AX.mjs} +1 -1
- package/dist/{chunk-HVA2GFDG.mjs → chunk-RULBAYMF.mjs} +1 -1
- package/dist/{chunk-T6LPMF7A.mjs → chunk-S23ICHCQ.mjs} +1 -1
- package/dist/chunk-TLBLUYXL.mjs +1 -0
- package/dist/chunk-TTN4NUDL.mjs +1 -0
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-EI7PFWFS.mjs → chunk-UMILL4LR.mjs} +1 -1
- package/dist/{chunk-XGQLOPHW.mjs → chunk-VW33NKNZ.mjs} +1 -1
- package/dist/{chunk-Q5EQOIL7.mjs → chunk-WT4YO3SF.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/chunk-YNC77MO4.mjs +1 -0
- package/dist/{chunk-LHMC3BKX.mjs → chunk-Z2CY2BLM.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/Code.client.js +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.js +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.js +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/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/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealCard.d.ts +2 -2
- package/dist/components/CRM/DealCard.js +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.js +1 -1
- package/dist/components/CRM/DealCard.stories.mjs +1 -1
- package/dist/components/CRM/DealDetails.d.ts +5 -5
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.js +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.d.ts +3 -3
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.js +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.d.ts +4 -4
- package/dist/components/CRM/KanbanColumn.js +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.js +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.js +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.js +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.d.ts +4 -4
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.js +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/CRM/mockData.d.ts +4 -5
- package/dist/components/CRM/mockData.js +1 -1
- package/dist/components/CRM/mockData.mjs +1 -1
- package/dist/components/CRM/types.d.ts +10 -29
- package/dist/components/CRM/types.js +1 -1
- package/dist/components/Cards/PricingCard.js +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/PricingCard.stories.js +1 -1
- package/dist/components/Cards/PricingCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.js +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.js +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.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/ApproveLeave.js +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.js +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
- package/dist/components/Holidays/CalendarView.js +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/CalendarView.stories.js +1 -1
- package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.js +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.js +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.js +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.js +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.js +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +1 -1
- 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 +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Filter.js +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Filter.stories.js +1 -1
- package/dist/components/Menus/Filter.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.js +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.js +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.js +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.js +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.js +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/Link/index.js +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.js +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/button.stories.js +1 -1
- package/dist/components/ui/button.stories.mjs +1 -1
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/pagination.js +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- 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.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.js +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.js +67 -67
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +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 +1 -1
- 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 +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +150 -6
- 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.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +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/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.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.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.js +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/dist/styles/Colors.js +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Colors.stories.js +1 -1
- package/dist/styles/Colors.stories.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-27GMB7QZ.mjs +0 -1
- package/dist/chunk-AHLX3GTH.mjs +0 -1
- package/dist/chunk-GLEWUUGS.mjs +0 -1
- package/dist/chunk-IV6YI3IO.mjs +0 -4
- package/dist/chunk-NN6YNXCJ.mjs +0 -1
- package/dist/chunk-NYMWV2AX.mjs +0 -1
- package/dist/chunk-QH3BNFVD.mjs +0 -1
- package/dist/chunk-YMAMQQ3Z.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-BQED2B7G.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u(o){let{images:a,sectionHeading:c,keyPoints:d,description:s}=o;return e("section",{id:"about-section",className:m("section-padding-primary",o.className||""),children:e(n,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(l,{...c}),d&&d.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:d.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),s&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o}from"./chunk-
|
|
1
|
+
import{b as o}from"./chunk-BDX257W2.mjs";import{a as s}from"./chunk-WISCWNL2.mjs";import{FaCircleCheck as m,FaAnglesRight as g}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function u({title:n,description:d,features:t,price:l,duration:i,button:a}){return r("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[r("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[e("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:n}),e("p",{children:d})]}),e("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:r("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[t&&t.length>0&&e("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:t.map((p,c)=>r("li",{className:"flex items-start gap-3 lg:gap-4",children:[e("span",{className:"text-accent pt-1",children:e(m,{})}),e("span",{children:p})]},c))}),r("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[l&&l,e("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:i&&i})]}),a&&e("div",{className:"flex-none mr-0 sm:ml-auto",children:e(o,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:r(s,{href:a.href,openNewTab:a.openNewTab,children:[e("span",{className:"relative z-1",children:a.label}),e("span",{className:"relative z-1 pl-2",children:e(g,{})})]})})})]})})]})}export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as o}from"./chunk-Y5ZFXDW5.mjs";import{a as m,b as p,c as v}from"./chunk-SBM5HULF.mjs";import{b as g}from"./chunk-Q6SEVCRG.mjs";import{b as n}from"./chunk-
|
|
4
|
+
import{a as o}from"./chunk-Y5ZFXDW5.mjs";import{a as m,b as p,c as v}from"./chunk-SBM5HULF.mjs";import{b as g}from"./chunk-Q6SEVCRG.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{useState as A}from"react";import{Toaster as D,toast as c}from"sonner";import{useRouter as k}from"next/navigation";import{jsx as s,jsxs as t}from"react/jsx-runtime";function R({leaveRequests:l,onApprove:f,onReject:u}){let[a,i]=A([]),d=k(),h=()=>{a.length===l.length?i([]):i(l.map(e=>e.id))},N=e=>{i(r=>r.includes(e)?r.filter(b=>b!==e):[...r,e])},x=async()=>{let e=await f(a);e.success?(c.success(e.message),d.refresh()):c.error(`Error: ${e.message}`),i([])},y=async()=>{let e=await u(a);e.success?(c.success(e.message),d.refresh()):c.error(`Error: ${e.message}`),i([])};return t("div",{className:"space-y-4",children:[t("div",{className:"flex justify-between items-center",children:[s("h2",{className:"text-2xl font-bold",children:"Approve Leave Requests"}),t("div",{className:"space-x-2",children:[s(n,{onClick:x,disabled:a.length===0,variant:"default",children:"Approve Selected"}),s(n,{onClick:y,disabled:a.length===0,variant:"destructive",children:"Reject Selected"})]})]}),s("div",{className:"overflow-hidden sm:rounded-md",children:t("ul",{className:"divide-y divide-gray-200",children:[s("li",{className:"px-4 py-4 sm:px-6",children:t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center",children:[s(o,{id:"select-all",checked:a.length===l.length,onCheckedChange:h,className:"border-accent"}),s("label",{htmlFor:"select-all",className:"ml-2 text-sm font-medium text-foreground",children:"Select All"})]}),t("span",{className:"text-sm font-medium text-gray-500",children:[a.length," of ",l.length," selected"]})]})}),l.map(e=>s("li",{className:"px-4 py-4 sm:px-6 group hover:bg-gray-50",children:t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center",children:[s(o,{id:`select-${e.id}`,checked:a.includes(e.id),onCheckedChange:()=>N(e.id),className:"border-accent"}),t("div",{className:"ml-3 flex items-center",children:[t(m,{className:"h-10 w-10",children:[s(p,{src:e.userImage,alt:e.userName}),s(v,{children:e.userName.split(" ").map(r=>r[0]).join("")})]}),s("div",{className:"ml-3",children:s("p",{className:"text-sm font-medium text-foreground group-hover:text-accent",children:e.userName})})]})]}),t("div",{className:"flex items-center space-x-2",children:[t("span",{className:"text-sm text-gray-500",children:[new Date(e.startDate).toLocaleDateString(),e.startDate!==e.endDate&&` - ${new Date(e.endDate).toLocaleDateString()}`,e.leaveType!="Full Day"&&` (${e.leaveType})`,` - ${e.totalDays} day${e.totalDays!==1?"s":""}`]}),s(g,{variant:e.status==="approved"?"default":e.status==="rejected"?"destructive":"secondary",children:e.status})]})]})},e.id))]})}),s(D,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}export{R 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,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as D,b as P,d as x}from"./chunk-HWEPDRG6.mjs";import{a as N}from"./chunk-
|
|
4
|
+
import{a as D,b as P,d as x}from"./chunk-HWEPDRG6.mjs";import{a as N}from"./chunk-VW33NKNZ.mjs";import{a as d}from"./chunk-DWRQHV42.mjs";import{b as c}from"./chunk-BDX257W2.mjs";import{a as h}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as T}from"react";import{format as S}from"date-fns";import{CalendarIcon as L}from"lucide-react";import{useRouter as R}from"next/navigation";import{Toaster as B,toast as p}from"sonner";import{jsx as e,jsxs as s}from"react/jsx-runtime";var q=({options:r,value:l,onChange:a,disabled:n=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,i)=>e(c,{type:"button",variant:l===t?"default":"outline",onClick:()=>a(t),disabled:n[i],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function J({remainingDays:r,submitLeaveRequest:l}){let[a,n]=f(new Date),[t,i]=f(new Date),[m,v]=f("Full Day"),[g,C]=f(!1),F=R();T(()=>{C(a!==t||!a||!t),g&&v("Full Day")},[a,t]);let w=o=>{v(o)};return s("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),s("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),s("form",{onSubmit:async o=>{if(o.preventDefault(),!a||!t){p.error("Please select both start and end dates");return}let y=Math.ceil((t.getTime()-a.getTime())/(1e3*60*60*24))+1;if((m==="Morning"||m==="Afternoon")&&(y=.5),y>r){p.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",m),u.append("duration",y.toString());let b=await(l||E)(u);b.success?(p.success(b.message),n(void 0),i(void 0),v("Full Day"),F.refresh()):p.error(`Error: ${b.message}`)},className:"space-y-4",children:[s("div",{className:"grid grid-cols-2 gap-4",children:[s("div",{className:"flex flex-col space-y-2",children:[e(d,{htmlFor:"startDate",children:"Start Date"}),s(D,{children:[e(P,{asChild:!0,children:s(c,{variant:"outline",className:h("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(L,{className:"mr-2 h-4 w-4"}),a?S(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(x,{className:"w-auto p-0",align:"start",children:e(N,{mode:"single",selected:a,onSelect:o=>{n(o),o&&(!t||o>t)&&i(o)},initialFocus:!0})})]})]}),s("div",{className:"flex flex-col space-y-2",children:[e(d,{htmlFor:"endDate",children:"End Date"}),s(D,{children:[e(P,{asChild:!0,children:s(c,{variant:"outline",className:h("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(L,{className:"mr-2 h-4 w-4"}),t?S(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(x,{className:"w-auto p-0",align:"start",children:e(N,{mode:"single",selected:t,onSelect:i,disabled:o=>a?o<a:!1,initialFocus:!0})})]})]})]}),s("div",{className:"space-y-2",children:[e(d,{children:"Leave Type"}),e(q,{options:["Full Day","Morning","Afternoon"],value:m,onChange:w,disabled:[!1,g,g]})]}),e(c,{type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(B,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}var E=async r=>{let l={};return r.forEach((a,n)=>{l[n]=a}),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};export{J as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as m,b as r,c as t,d as o,e as c,f as l,g as e}from"./chunk-
|
|
4
|
+
import{a as m,b as r,c as t,d as o,e as c,f as l,g as e}from"./chunk-6LKCK2EH.mjs";import{a as p}from"./chunk-NIQ4466A.mjs";import{useRouter as I}from"next/navigation";import{jsx as a,jsxs as d}from"react/jsx-runtime";var $=u=>{let i=I(),{className:C,page:n,totalPages:s}=u,g=n<s,P=n>1,h=n-1>1,k=n+1<s;return a("div",{className:p("my-12",C),children:a(m,{children:d(r,{children:[a(t,{children:a(c,{disabled:!P,onClick:()=>{i.push(`/posts/page/${n-1}`)}})}),h&&a(t,{children:a(e,{})}),P&&a(t,{children:a(o,{onClick:()=>{i.push(`/posts/page/${n-1}`)},children:n-1})}),a(t,{children:a(o,{isActive:!0,onClick:()=>{i.push(`/posts/page/${n}`)},children:n})}),g&&a(t,{children:a(o,{onClick:()=>{i.push(`/posts/page/${n+1}`)},children:n+1})}),k&&a(t,{children:a(e,{})}),a(t,{children:a(l,{disabled:!g,onClick:()=>{i.push(`/posts/page/${n+1}`)}})})]})})})};export{$ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-KDGEXDC5.mjs";import{a as s}from"./chunk-SV7NMNDI.mjs";import{a as t}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as e}from"react/jsx-runtime";function S({services:a,className:c}){return e("section",{id:"next-section",className:o("section-padding-primary",c),children:e(t,{className:"py-8",children:a&&a.length>0&&e("div",{className:"flex flex-wrap justify-center gap-y-8",children:a.map((p,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":s([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:e(i,{...p})},r))})})})}export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-WT4YO3SF.mjs";import{a as l}from"./chunk-HAW2ALWX.mjs";import{a as c}from"./chunk-ROPMTH4T.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-A5EYIB3V.mjs";import{a as m}from"./chunk-DWRQHV42.mjs";import{a as u}from"./chunk-Y5ZFXDW5.mjs";import{a as s}from"./chunk-QOIH63J3.mjs";import{b as n}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-A5EYIB3V.mjs";import{a as m}from"./chunk-DWRQHV42.mjs";import{a as u}from"./chunk-Y5ZFXDW5.mjs";import{a as s}from"./chunk-QOIH63J3.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{useState as p}from"react";import{jsx as r,jsxs as a}from"react/jsx-runtime";function S({onSubmit:l}){var i;let[e,o]=p({name:"",intro:"",active:!0});return a("form",{onSubmit:t=>{t.preventDefault(),e.name&&(l({...e,name:e.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),o({name:"",intro:"",active:!0}))},className:"space-y-4",children:[a("div",{className:"space-y-2",children:[r(m,{htmlFor:"customerName",children:"Customer Name"}),r(s,{id:"customerName",value:e.name,onChange:t=>o({...e,name:t.target.value}),placeholder:"Enter customer name",required:!0})]}),a("div",{className:"space-y-2",children:[r(m,{htmlFor:"customerIntro",children:"Intro"}),r(c,{id:"customerIntro",value:(i=e.intro)!=null?i:"",onChange:t=>o({...e,intro:t.target.value}),placeholder:"Enter customer intro"})]}),a("div",{className:"flex items-center space-x-2",children:[r(u,{id:"activeCustomer",checked:!!e.active,onCheckedChange:t=>o({...e,active:t})}),r(m,{htmlFor:"activeCustomer",children:"Active Customer"})]}),r(n,{type:"submit",className:"w-full",children:"Add Customer"})]})}export{S 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
|
-
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-BQED2B7G.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{c}from"./chunk-YNNW2C2U.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import g from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function _({blogs:a,sectionHeading:t}){return e("section",{className:o("section-padding-primary overflow-hidden "),children:i(m,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(p,{...t,alignment:"center",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:a.map((l,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":d([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(u,{...l})},r))})]})})}var f=o("inline-flex items-center gap-2 text-white"),z=o("text-sm text-white");function u({slug:a,image:t,authors:l,title:r,publishedAt:s,categories:v}){return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(g,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o}from"./chunk-
|
|
1
|
+
import{e as o}from"./chunk-3VWFINCO.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 m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-UMILL4LR.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-BQED2B7G.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-23EQTK7B.mjs";import{e as r}from"./chunk-3VWFINCO.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as x}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-
|
|
4
|
+
import{a as x}from"./chunk-MGZMAVEP.mjs";import{b as s}from"./chunk-BDX257W2.mjs";import{a as d,b as m,c as f,e as u}from"./chunk-D76EO57Z.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as v,useEffect as O}from"react";import C from"next/link";import{Printer as z,Presentation as S}from"lucide-react";import{usePathname as H}from"next/navigation";import{jsx as t,jsxs as a}from"react/jsx-runtime";var G=({children:h,pageId:b,tableOfContents:p=[],edit:y=!0,path:N="/admin/collections/pages/",relatedContent:l=[{title:"Related Content",links:[]}]})=>{let[c,k]=v(!1),[P,T]=v(""),g=H(),E=()=>{k(!c)},I=e=>{switch(e){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},$=(e,n)=>{e.preventDefault();let o=document.getElementById(n);if(o){let r=o.offsetTop+-100,w=document.querySelector(".container")||window;w===window?window.scrollTo({top:r,behavior:"smooth"}):w.scrollTo({top:r,behavior:"smooth"}),T(n)}else console.error(`Element with ID "${n}" not found.`)},L=()=>{let n="/print/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()},R=()=>{let n="/present/"+g.split("/")[1],o=window.open(n,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");o&&o.focus()};return O(()=>{let e=window.location.hash;if(e){let n=e.substring(1),o=document.getElementById(n);if(o){let r=o.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:r,behavior:"smooth"})}}},[window.location.hash]),a("div",{className:"container py-8",children:[a("div",{className:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-8",children:[t("div",{className:i(c?"col-span-2":"col-span-3","xl:col-span-3"),children:h}),a("div",{className:i("space-y-6 transform min-w-full transition-transform duration-300","col-span-4 md:col-span-1 translate-x-0 xl:-mt-20",c?"translate-x-0":"md:translate-x-full","xl:block xl:col-span-1 xl:translate-x-0"),children:[y&&a(d,{children:[t(m,{children:t(f,{className:"text-accent",children:"Content Actions"})}),a(u,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Contribute or create new content."}),t(C,{href:`${N}${b}`,children:t(s,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit Page"})}),t(C,{href:"/admin/collections/pages/create",children:t(s,{variant:"outline",className:"w-full mt-2 text-accent hover:text-foreground",children:"Create New"})}),a("div",{className:"flex space-x-2 mt-4",children:[a(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:L,children:[t(z,{className:"mr-2"})," Print"]}),a(s,{variant:"outline",className:"text-accent hover:text-foreground",onClick:R,children:[t(S,{className:"mr-2"})," Present"]})]})]})]}),l&&l.length>0&&l.map((e,n)=>e.links&&e.links.length>0&&t(x,{...e},n)),p.length>3&&a(d,{className:"w-full max-w-sm mt-4",children:[t(m,{children:t(f,{className:"text-accent",children:"On this page"})}),t(u,{children:t("ul",{className:"space-y-2",children:p.map((e,n)=>t("li",{className:I(e.tag),children:t("a",{href:`#${e.id}`,className:`text-xs ${P===e.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:e.text})},n))})})]})]}),t("button",{onClick:E,className:i("fixed top-1/2 right-0 z-50 h-16 w-8 bg-accent text-accent-foreground rounded-l-full transform -translate-y-1/2 flex items-center justify-center","hidden md:block xl:hidden"),children:"\u22EE"})]}),t("div",{className:"block md:hidden mt-8",children:t("div",{className:"space-y-6",children:h})})]})};export{G as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=[{id:1,name:"Acme Corp",intro:"A leading technology company",active:!0,createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:2,name:"GlobalTech",intro:"Innovative solutions provider",active:!0,createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:3,name:"InnoSystems",intro:"Cutting-edge software development",active:!1,createdAt:"2023-01-01",updatedAt:"2023-01-01"}],t=[{id:1,name:"Software",type:"proposition",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:2,name:"Hardware",type:"proposition",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:3,name:"Referral",type:"source",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:4,name:"Outbound",type:"source",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:5,name:"Tech",type:"sector",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:6,name:"Finance",type:"sector",createdAt:"2023-01-01",updatedAt:"2023-01-01"}],e=[{id:1,name:"John Doe",email:"john.doe@example.com",role:"user",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:2,name:"Jane Smith",email:"jane.smith@example.com",role:"user",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:3,name:"Bob Johnson",email:"bob.johnson@example.com",role:"user",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:4,name:"Alice Brown",email:"alice.brown@example.com",role:"user",createdAt:"2023-01-01",updatedAt:"2023-01-01"},{id:5,name:"Charlie Davis",email:"charlie.davis@example.com",role:"user",createdAt:"2023-01-01",updatedAt:"2023-01-01"}],o=[{id:1,customer:a[0],value:5e4,assignee:e[2],status:"Qualified",categories:t.slice(0,3),dateLogged:"2023-01-15",closureDate:"2023-06-30",updatedAt:"2023-05-01T10:00:00Z",createdAt:"2023-01-01",comments:[{id:"1",text:"Initial contact made",author:e[5],timestamp:"2023-01-15T09:00:00Z"}],description:"Potential software solution for Acme Corp"},{id:2,customer:{id:2,name:"GlobalTech",active:!0,createdAt:"2023-01-01",updatedAt:"2023-01-01"},value:75e3,assignee:{id:2,name:"Jane Smith",email:"jane.smith@example.com",role:"user",createdAt:"2023-01-01",updatedAt:"2023-01-01"},status:"Proposal Made",categories:t.slice(0,3),dateLogged:"2023-02-01",closureDate:"2023-07-31",updatedAt:"2023-05-10T14:30:00Z",createdAt:"2023-01-01",comments:[{id:"2",text:"Proposal sent",author:e[1],timestamp:"2023-02-15T09:00:00Z"}],description:"Custom hardware solution for GlobalTech"}],d={deals:o,users:e,customers:a,categories:t};export{a,t as b,e as c,o as d,d as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as I}from"./chunk-4NKKWJ2X.mjs";import{a as f,c as C,d as D,g as h,i as N}from"./chunk-4JC2TJML.mjs";import{a as w,f as E,g as A,i as L}from"./chunk-JWDVKGZL.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as P}from"./chunk-Y5ZFXDW5.mjs";import{a as g}from"./chunk-QOIH63J3.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as a,jsxs as r}from"react/jsx-runtime";function oe({customers:c,users:d,categories:B,onSubmit:O,initialDeal:n,onAddCustomer:V,onClose:u}){var y,x,F,k;let[s,i]=S(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,p]=S(!1),[o,b]=S({});J(()=>{n&&i(n)},[n]);let H=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),b(e),Object.keys(e).length===0},M=e=>{e.preventDefault(),H()&&(O({...s}),i({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),b({}),u==null||u())},R=e=>{i(t=>({...t,categories:(t.categories||[]).includes(e)?(t.categories||[]).filter(m=>m!==e):[...t.categories||[],e]}))},z=e=>{i({...s,customer:e}),p(!1),V(e)},j=e=>d==null?void 0:d.find(t=>t.id===Number(e)),G=e=>c==null?void 0:c.find(t=>t.id===Number(e));return r(Q,{children:[r("form",{onSubmit:M,className:"space-y-6",children:[a(I,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(f,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>i({...s,customer:G(e)}),children:[a(D,{children:a(C,{placeholder:"Select customer"})}),a(h,{children:c.map(e=>{var t;return a(N,{value:((t=e.id)==null?void 0:t.toString())||"",children:e.name},e.id)})})]}),a(v,{variant:"outline",size:"icon",onClick:()=>p(!0),children:a(K,{className:"w-5 h-5"})})]}),o.customerId&&a("p",{className:"text-red-500 text-sm",children:o.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"value",children:"Value"}),a(g,{id:"value",type:"number",value:s.value||"",onChange:e=>i({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),o.value&&a("p",{className:"text-red-500 text-sm",children:o.value})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"assignee",children:"Assignee"}),r(f,{value:(k=(F=s.assignee)==null?void 0:F.id)==null?void 0:k.toString(),onValueChange:e=>i({...s,assignee:j(e)}),children:[a(D,{children:a(C,{placeholder:"Select assignee"})}),a(h,{children:d&&d.map(e=>{var t;return a(N,{value:((t=e.id)==null?void 0:t.toString())||"",children:e.name},e.id)})})]}),o.assignee&&a("p",{className:"text-red-500 text-sm",children:o.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"description",children:"Description"}),a(T,{id:"description",value:s.description||"",onChange:e=>i({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{children:"Categories"}),a("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[a("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),a("div",{className:"grid grid-cols-2 gap-2",children:B.filter(t=>t.type===e).map(t=>{var m;return r("div",{className:"flex items-center space-x-2",children:[a(P,{id:t.id.toString(),checked:(m=s.categories)==null?void 0:m.includes(t.id),onCheckedChange:()=>R(t)}),a("label",{htmlFor:t.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:t.name})]},t.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[a(l,{htmlFor:"closureDate",children:"Closure Date"}),a(g,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>i({...s,closureDate:e.target.value})}),o.closureDate&&a("p",{className:"text-red-500 text-sm",children:o.closureDate})]})]})}),a(v,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),a(w,{open:q,onOpenChange:p,children:r(E,{children:[a(A,{children:a(L,{children:"Add New Customer"})}),a(U,{onSubmit:z})]})})]})}export{oe 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,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 p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{b as v}from"./chunk-
|
|
4
|
+
import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.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}from"./chunk-
|
|
4
|
+
import{a}from"./chunk-BDX257W2.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{e as c}from"./chunk-
|
|
4
|
+
import{e as c}from"./chunk-3VWFINCO.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-NGK3IDFP.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:l,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center",children:[l||i&&e(c,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:i,enableGutter:!1}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:m},n)=>e("li",{children:e(o,{...m})},n))})]})}),a("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y 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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunk-TTN4NUDL.mjs";import{a as b}from"./chunk-BRYZOZKY.mjs";import{a as p,b as d,f as u,g as D,i as c}from"./chunk-JWDVKGZL.mjs";import{b as g}from"./chunk-BDX257W2.mjs";import{useState as P}from"react";import{PlusCircle as y}from"lucide-react";import{Droppable as R,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as e,jsxs as a}from"react/jsx-runtime";function L({status:l,deals:t,users:f,customers:h,categories:i,onDealClick:N,calculateColumnValue:w,calculateWeightedValue:x,addNewDeal:n,onAddCustomer:S}){let[v,m]=P(!1);return a("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:l}),n&&a(p,{open:v,onOpenChange:m,children:[e(d,{asChild:!0,children:a(g,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),a(u,{children:[e(D,{children:e(c,{children:"Add New Deal"})}),e(C,{customers:h,users:f,categories:i,onSubmit:n,onAddCustomer:S,onClose:()=>m(!1)})]})]}),e(R,{droppableId:l,isDropDisabled:!1,children:r=>a("div",{ref:r.innerRef,...r.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((o,A)=>e(T,{draggableId:o.id.toString(),index:o.id,children:s=>e("div",{ref:s.innerRef,...s.draggableProps,...s.dragHandleProps,children:e(b,{deal:o,customer:o.customer,categories:i,onClick:()=>N(o)})})},o.id.toString())),r.placeholder]})}),a("div",{className:"mt-4 text-sm bg-white p-3 rounded-lg shadow",children:[a("p",{className:"font-semibold",children:["Total:"," ",a("span",{className:"text-green-600",children:["\xA3",w(t).toLocaleString()]})]}),a("p",{className:"font-semibold",children:["Weighted:"," ",a("span",{className:"text-blue-600",children:["\xA3",x(t,l).toLocaleString()]})]})]})]})}export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l,b as n,c as t,d as c}from"./chunk-OAOCXXC2.mjs";import{b as i}from"./chunk-
|
|
1
|
+
import{a as l,b as n,c as t,d as c}from"./chunk-OAOCXXC2.mjs";import{b as i}from"./chunk-BDX257W2.mjs";import{Copy as g,Check as p}from"lucide-react";import{useState as b}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var v=[{name:"one",colors:["100","200","300","400","500","600","700","800","900"]},{name:"two",colors:["100","200","300","400","500","600","700","800","900"]},{name:"three",colors:["100","200","300","400","500","600","700","800","900"]},{name:"four",colors:["100","200","300","400","500","600","700","800","900"]}],u=[{name:"Base",colors:["background","foreground"]},{name:"Card",colors:["card","card-foreground"]},{name:"Popover",colors:["popover","popover-foreground"]},{name:"Primary",colors:["primary","primary-foreground"]},{name:"Secondary",colors:["secondary","secondary-foreground"]},{name:"Muted",colors:["muted","muted-foreground"]},{name:"Accent",colors:["accent","accent-foreground"]},{name:"Destructive",colors:["destructive","destructive-foreground"]},{name:"Border & Input",colors:["border","input","ring"]},{name:"Charts",colors:["chart-1","chart-2","chart-3","chart-4","chart-5"]},{name:"Sidebar",colors:["sidebar-background","sidebar-foreground","sidebar-primary","sidebar-primary-foreground","sidebar-accent","sidebar-accent-foreground","sidebar-border","sidebar-ring"]}];function y(){let[d,s]=b(null),m=r=>{navigator.clipboard.writeText(r),s(r),setTimeout(()=>s(null),2e3)};return o("div",{className:"w-full max-w-6xl mx-auto space-y-2",children:[e("div",{className:"variable-safelist",style:{display:"none"}}),o("div",{children:[e("h1",{className:"text-3xl font-semibold py-4",children:"Theme Colors"}),u.map(r=>e("div",{className:"space-y-4 bg-grey-500",children:o("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:[e("h2",{className:"text-2xl font-semibold",children:r.name}),r.colors.map(a=>o("div",{className:"flex items-center space-x-2 p-2 rounded-lg bg-grey-500",children:[e("div",{className:`w-12 h-12 rounded-md bg-${a} text-${a}-foreground border border-grey-500 flex items-center justify-center`,"aria-label":`${a} color swatch`,children:"F"}),e("div",{className:"flex-1 min-w-0",children:e("p",{className:"text-xs font-medium truncate",children:a})}),e(l,{children:o(n,{children:[e(t,{asChild:!0,children:e(i,{variant:"ghost",size:"icon",onClick:()=>m(`bg-${a}`),"aria-label":`Copy ${a} class`,children:d===`bg-${a}`?e(p,{className:"h-4 w-4 text-green-500"}):e(g,{className:"h-4 w-4"})})}),e(c,{children:e("p",{children:d===`bg-${a}`?"Copied!":"Copy to clipboard"})})]})})]},a))]})},r.name))]}),o("div",{children:[e("h1",{className:"text-3xl font-semibold py-4",children:"Brand Colors"}),v.map(r=>e("div",{className:"space-y-4 bg-grey-500",children:o("div",{className:"grid grid-cols-11 sm:grid-cols-6 md:grid-cols-11 lg:grid-cols-11 gap-0",children:[e("h2",{className:"text-2xl font-semibold",children:r.name}),o("div",{className:"flex items-center space-x-2 p-1 py-4 rounded-lg bg-grey-500",children:[e("div",{className:"flex items-center space-x-0 p-0 py-4 rounded-lg bg-grey-500",children:e("div",{className:`w-12 h-12 rounded-md bg-brand-${r.name} border border-grey-500`,"aria-label":`${r.name} color swatch`})}),e("div",{className:"flex items-center space-x-0 p-0 py-4 rounded-lg bg-grey-500",children:e("div",{className:`w-12 h-12 rounded-md bg-brand-${r.name}-foreground border border-grey-500`,"aria-label":`${r.name} color swatch`})})]}),r.colors.map(a=>e("div",{className:"flex items-center space-x-1 p-1 py-4 rounded-lg bg-grey-500",children:e("div",{className:`w-12 h-12 rounded-md bg-brand-${r.name}-${a} border border-grey-500`,"aria-label":`${a} color swatch`,children:a})},a))]})},r.name))]})]})}export{y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var $e=Object.create;var J=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)J(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&&J(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?J(r,"default",{value:t,enumerable:!0}):r,t)),st=t=>ke(J({},"__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,x;for(let y=0;y<a.length;y++){let w=a[y];if(m===0){if(w===s&&(n||a.slice(y,y+o)===e)){d.push(a.slice(f,y)),f=y+o;continue}if(w==="/"){x=y;continue}}w==="["?m++:w==="]"&&m--}let h=d.length===0?a:a.substring(f),A=h.startsWith(Be),C=A?h.substring(1):h,b=x&&x>f?x-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:x,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(":"),w=x?y+Be:y,k=w+b;if(o.includes(k))continue;o.push(k);let I=s(b,C);for(let M=0;M<I.length;++M){let Q=I[M];o.push(w+Q)}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,x)=>x(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,wt=/^\d+\/\d+$/,xt=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)||xt.has(t)||wt.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"),x=p("invert"),h=p("gap"),A=p("gradientColorStops"),C=p("gradientColorStopPositions"),b=p("inset"),y=p("margin"),w=p("opacity"),k=p("padding"),I=p("saturate"),M=p("scale"),Q=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],_=()=>["auto",F,i],we=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],xe=()=>["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:[...we(),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":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[U,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:[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":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[w]}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...we(),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":[w]}],"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":[w]}],"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":[w]}],"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:[w]}],"mix-blend":[{"mix-blend":[...xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xe()}],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:[x]}],saturate:[{saturate:[I]}],sepia:[{sepia:[Q]}],"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":[x]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"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-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),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")),O=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 x=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:x,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)(O,{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 Qe=K(require("next/image")),Ut={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",_e=t=>{let{alt:e,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:d}=t,m,f,x=e,h=a||"";if(!h&&o&&typeof o=="object"){let{alt:b,filename:y,height:w,url:k,width:I}=o;m=I,f=w,x=b||"",h=k||Oe}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)(Qe.default,{alt:x||"",className:g(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Oe,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 Je=()=>{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:`${Je()}/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)(_e,{...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)(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=e.fields;return(0,Fe.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 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 $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,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",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});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-3VWFINCO.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-PVRWMAHW.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-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
|