cortex-react-components 1.58.20 → 1.58.22
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-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
- package/dist/{chunk-C2CNUHF6.mjs → chunk-2DGZ2JZ5.mjs} +1 -1
- package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
- package/dist/{chunk-7IZ2X75V.mjs → chunk-3BBZH3T3.mjs} +1 -1
- package/dist/{chunk-3PYAHZHP.mjs → chunk-46OVI6RB.mjs} +1 -1
- package/dist/{chunk-JMORELR3.mjs → chunk-477T4CBB.mjs} +1 -1
- package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
- package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-36F5TWXE.mjs → chunk-7WDAODFS.mjs} +1 -1
- package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
- package/dist/chunk-AX52NWUN.mjs +1 -0
- package/dist/{chunk-6JYP6ZBW.mjs → chunk-BBCS6735.mjs} +1 -1
- package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
- package/dist/{chunk-KQJLOUAU.mjs → chunk-DFB6DJCW.mjs} +1 -1
- package/dist/{chunk-PND45VCR.mjs → chunk-F4JKB4UG.mjs} +1 -1
- package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
- package/dist/{chunk-EXTWUYDK.mjs → chunk-FGNLLSPZ.mjs} +1 -1
- package/dist/chunk-FPJFWQB5.mjs +4 -0
- package/dist/{chunk-UZJDRWWU.mjs → chunk-G2BJSFF4.mjs} +1 -1
- package/dist/{chunk-OGTNLC5E.mjs → chunk-G3J6AOMR.mjs} +1 -1
- package/dist/{chunk-5PDSL4PB.mjs → chunk-H5ZJ5FZ6.mjs} +1 -1
- package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
- package/dist/{chunk-KLVFLKTE.mjs → chunk-I2PJ5ANT.mjs} +1 -1
- package/dist/{chunk-6CPP4L4R.mjs → chunk-IGYTQN3S.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
- package/dist/{chunk-X475DPML.mjs → chunk-IREQMG2S.mjs} +1 -1
- package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
- package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
- package/dist/{chunk-FZVAP6KB.mjs → chunk-MGBLZM7Q.mjs} +1 -1
- package/dist/{chunk-QVQTV5MF.mjs → chunk-MTIC2X6C.mjs} +1 -1
- package/dist/{chunk-NCHGLVBP.mjs → chunk-OJPHYSRN.mjs} +1 -1
- package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
- package/dist/{chunk-GJ26BCL2.mjs → chunk-QBLN27FA.mjs} +1 -1
- package/dist/{chunk-DJTYWMLM.mjs → chunk-QID6JIRX.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
- package/dist/{chunk-UH7BC6FX.mjs → chunk-QNE2DK3R.mjs} +1 -1
- package/dist/{chunk-U3HKOEIA.mjs → chunk-QSBB2P4N.mjs} +1 -1
- package/dist/{chunk-7ZCQD3RO.mjs → chunk-QTO5C7WM.mjs} +1 -1
- package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
- package/dist/{chunk-2XVOBJPI.mjs → chunk-S3KRL344.mjs} +1 -1
- package/dist/{chunk-BKZC5RJ4.mjs → chunk-UIBWSN7F.mjs} +1 -1
- package/dist/{chunk-I4JU6QG6.mjs → chunk-X5XG7LVM.mjs} +1 -1
- package/dist/{chunk-TQGKLEQ5.mjs → chunk-XP6N7473.mjs} +1 -1
- package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
- package/dist/{chunk-2PV2ADTC.mjs → chunk-ZQGSLXFF.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/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/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/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/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +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/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.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 +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +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/Printable.stories.js +1 -1
- package/dist/pages/Printable.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/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +1 -1
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-EW2RPJBD.mjs +0 -1
- package/dist/chunk-L26GNUUD.mjs +0 -4
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var br=Object.create;var Ie=Object.defineProperty;var hr=Object.getOwnPropertyDescriptor;var yr=Object.getOwnPropertyNames;var vr=Object.getPrototypeOf,xr=Object.prototype.hasOwnProperty;var wr=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},Tt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of yr(t))!xr.call(e,n)&&n!==r&&Ie(e,n,{get:()=>t[n],enumerable:!(a=hr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?br(vr(e)):{},Tt(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),kr=e=>Tt(Ie({},"__esModule",{value:!0}),e);var Ao={};wr(Ao,{BannerBlock:()=>et,CallToActionBlock:()=>se,CallToActionBlockOld:()=>yo,CodeBlock:()=>nt,ContentBlock:()=>Re,CopyButton:()=>ot,DarkTop:()=>ut,FeaturesBlock:()=>le,HeadingImage:()=>wo,ImageBlock:()=>dt,InfoTile:()=>Cr,Insight:()=>Nr,LightTop:()=>gt,MOTD:()=>Ar,MediaBlock:()=>q,OrgChart:()=>Pr,ProposalSummary:()=>co,RelatedPosts:()=>To,RenderBlocks:()=>ht,RenderBlocksWithShapes:()=>No,ReusableContentBlock:()=>pt,Theme:()=>Ve,ThemeWithShapes:()=>dr,WhyUs:()=>mo});module.exports=kr(Ao);var At=require("react/jsx-runtime"),ke=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,At.jsx)("i",{className:i})};function Nr({icon:e,title:t,body:r,color:a="secondary"}){return(0,At.jsx)(At.Fragment,{children:(0,At.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,At.jsx)("div",{className:"px-[2%] flex items-center",children:(0,At.jsx)("div",{className:"w-12 h-12",children:(0,At.jsx)(ke,{type:e.type,iconName:e.name})})}),(0,At.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),r&&(0,At.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:r})]})})}var Bt=E(require("next/image"));function Cr(e){let{url:t,mainImage:r,excerpt:a,title:n}=e;return(0,At.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white At-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,At.jsx)(Bt.default,{alt:n||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,At.jsxs)("div",{className:"flex flex-1 flex-col At-4",children:[(0,At.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,At.jsxs)("a",{href:t,children:[(0,At.jsx)("span",{className:"absolute inset-0"}),n]})}),a&&(0,At.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},t)}var Tr=(e,t)=>`from-brand-${e} to-brand-${t}`;function Ar({...e}){let t=Tr(e.brandFrom||"one",e.brandTo||"two");return(0,At.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,At.jsx)("At",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,At.jsxs)("a",{href:e.url,children:[(0,At.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,At.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,At.jsx)("circle",{r:1,cx:1,cy:1})}),(0,At.jsx)("span",{children:e.message&&e.message})]}):(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,At.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,At.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,At.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ne=E(require("react")),F=require("lucide-react"),Br={Architecture:(0,At.jsx)(F.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,At.jsx)(F.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,At.jsx)(F.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,At.jsx)(F.GanttChart,{className:"h-5 w-5 text-red-600"})},Rr=({person:e,level:t,onToggle:r,isExpanded:a,isHighlighted:n})=>{let o=e.reports.length>0;return(0,At.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,At.jsxs)("div",{className:`flex items-center At-3 rounded-lg shadow-sm border ${n?"bg-card border-primary":"bg-white border-gray-200"}`,children:[o&&(0,At.jsx)("button",{onClick:r,className:"mr-2","aria-label":a?"Collapse":"Expand",children:a?(0,At.jsx)(F.ChevronDown,{className:"h-4 w-4"}):(0,At.jsx)(F.ChevronRight,{className:"h-4 w-4"})}),(0,At.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,At.jsx)(F.Users,{className:"h-6 w-6 text-gray-500"})}),(0,At.jsxs)("div",{children:[(0,At.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,At.jsxs)("div",{className:"flex items-center mt-1",children:[Br[e.discipline],(0,At.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,At.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Rt=({person:e,level:t,searchTerm:r})=>{let[a,n]=(0,Ne.useState)(t<1),o=()=>n(!a),s=f=>f.name.toLowerCase().includes(r.toLowerCase())||f.discipline.toLowerCase().includes(r.toLowerCase())||f.grade.toLowerCase().includes(r.toLowerCase()),i=f=>s(f)||f.reports.some(i),c=r===""||i(e),m=s(e);return Ne.default.useEffect(()=>{r!==""&&i(e)&&n(!0)},[r,e]),c?(0,At.jsxs)("div",{children:[(0,At.jsx)(Rr,{person:e,level:t,onToggle:o,isExpanded:a,isHighlighted:m}),a&&e.reports.map((f,g)=>(0,At.jsx)(Rt,{person:f,level:t+1,searchTerm:r},g))]}):null};function Pr(){let[e,t]=(0,Ne.useState)("");return(0,At.jsxs)("div",{className:"max-w-5xl mx-auto At-6",children:[(0,At.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,At.jsxs)("div",{className:"mb-4 relative",children:[(0,At.jsx)("input",{type:"text",placeholder:"Search by name, discipline, Wt grade",value:e,onChange:a=>t(a.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,At.jsx)(F.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,At.jsx)("div",{className:"space-At-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel At. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((a,n)=>(0,At.jsx)(Rt,{person:a,level:0,searchTerm:e},n))})]})}var re=E(require("react"));var zt=require("clsx");var Ze="-",Sr=e=>{let t=Ir(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ze);return i[0]===""&&i.length!==1&&i.shift(),Mt(i,t)||Mr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},Mt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Mt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ze);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Pt=/^\[(.+)\]$/,Mr=e=>{if(Pt.test(e)){let t=Pt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ir=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Fr(Object.entries(e.classGroups),r).forEach(([o,s])=>{Ke(s,a,o,t)}),a},Ke=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:St(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Er(n)){Ke(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Ke(s,St(t,o),r,a)})})},St=(e,t)=>{let r=e;return t.split(Ze).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Er=e=>e.isThemeGetter,Fr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Dr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},It="!",Lr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],m=0,f=0,g;for(let x=0;x<i.length;x++){let k=i[x];if(m===0){if(k===n&&(a||i.slice(x,x+o)===t)){c.push(i.slice(f,x)),f=x+o;continue}if(k==="/"){g=x;continue}}k==="["?m++:k==="]"&&m--}let b=c.length===0?i:i.substring(f),d=b.startsWith(It),w=d?b.substring(1):b,v=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:d,baseClassName:w,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},zr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Xr=e=>({cache:Dr(e.cacheSize),parseClassName:Lr(e),...Sr(e)}),Hr=/\s+/,Gr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Hr),i="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:f,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:d}=r(m),w=!!d,v=a(w?b.substring(0,d):b);if(!v){if(!w){i=m+(i.length>0?" "+i:i);continue}if(v=a(b),!v){i=m+(i.length>0?" "+i:i);continue}w=!1}let x=zr(f).join(":"),k=g?x+It:x,S=k+v;if(o.includes(S))continue;o.push(S);let G=n(v,w);for(let X=0;X<G.length;++X){let ce=G[X];o.push(k+ce)}i=m+(i.length>0?" "+i:i)}return i};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Et(t))&&(a&&(a+=" "),a+=r);return a}var Et=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Et(e[a]))&&(r&&(r+=" "),r+=t);return r};function jr(e,...t){let r,a,n,o=s;function s(c){let m=t.reduce((f,g)=>g(f),e());return r=Xr(m),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let f=Gr(c,r);return n(c,f),f}return function(){return o(Ur.apply(null,arguments))}}var T=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ft=/^\[(?:([a-F-]+):)?(.+)\]$/i,Or=/^\d+\/\d+$/,Vr=new Set(["px","full","screen"]),_r=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yr=/\d+(%|px|r?em|[sdl]?v([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$/,Wr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jr=/^(inset_)?-?((\d+)?\.?(\d+)[a-F]+|0)At-?((\d+)?\.?(\d+)[a-F]+|0)/,Qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>de(e)||Vr.has(e)||Or.test(e),$=e=>me(e,"length",oo),de=e=>!!e&&!Number.isNaN(Number(e)),$e=e=>me(e,"number",de),Ce=e=>!!e&&Number.isInteger(Number(e)),qr=e=>e.endsWith("%")&&de(e.slice(0,-1)),h=e=>Ft.test(e),K=e=>_r.test(e),$r=new Set(["length","size","percentage"]),Kr=e=>me(e,$r,Dt),Zr=e=>me(e,"position",Dt),eo=new Set(["image","url"]),to=e=>me(e,eo,no),ro=e=>me(e,"",ao),Te=()=>!0,me=(e,t,r)=>{let a=Ft.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},oo=e=>Yr.test(e)&&!Wr.test(e),Dt=()=>!1,ao=e=>Jr.test(e),no=e=>Qr.test(e);var so=()=>{let e=T("colors"),t=T("spacing"),r=T("blur"),a=T("brightness"),n=T("borderColor"),o=T("borderRadius"),s=T("borderSpacing"),i=T("borderWidth"),c=T("contrast"),m=T("grayscale"),f=T("hueRotate"),g=T("invert"),b=T("gap"),d=T("gradientColorStops"),w=T("gradientColorStopPositions"),v=T("inset"),x=T("margin"),k=T("opacity"),S=T("padding"),G=T("saturate"),X=T("scale"),ce=T("sepia"),Pe=T("skew"),vt=T("space"),xt=T("translate"),We=()=>["auto","contain","none"],Je=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",h,t],B=()=>[h,t],wt=()=>["",J,$],Se=()=>["auto",de,h],kt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Me=()=>["solid","dashed","dotted","double","none"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],we=()=>["","0",h],Ct=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[de,h];return{cacheSize:500,separator:":",theme:{colors:[Te],spacing:[J,$],blur:["none","",K,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",K,h],borderSpacing:B(),borderWidth:wt(),contrast:Y(),grayscale:we(),hueRotate:Y(),invert:we(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[qr,$],inset:Qe(),margin:Qe(),opacity:Y(),padding:B(),saturate:Y(),scale:Y(),sepia:we(),skew:Y(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":Ct()}],"break-before":[{"break-before":Ct()}],"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:[...kt(),h]}],overflow:[{overflow:Je()}],"overflow-x":[{"overflow-x":Je()}],"overflow-At":[{"overflow-At":Je()}],overscroll:[{overscroll:We()}],"overscroll-x":[{"overscroll-x":We()}],"overscroll-At":[{"overscroll-At":We()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-At":[{"inset-At":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],F:[{F:["auto",Ce,h]}],basis:[{basis:Qe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:we()}],shrink:[{shrink:we()}],order:[{order:["first","last","none",Ce,h]}],"grid-cols":[{"grid-cols":[Te]}],"col-start-end":[{col:["auto",{span:["full",Ce,h]},h]}],"col-start":[{"col-start":Se()}],"col-end":[{"col-end":Se()}],"grid-rows":[{"grid-rows":[Te]}],"row-start-end":[{row:["auto",{span:[Ce,h]},h]}],"row-start":[{"row-start":Se()}],"row-end":[{"row-end":Se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-At":[{"gap-At":[b]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],At:[{At:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[vt]}],"space-x-reverse":["space-x-reverse"],"space-At":[{"space-At":[vt]}],"space-At-reverse":["space-At-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,t]}],"min-w":[{"min-w":[h,t,"min","max","fit"]}],"max-w":[{"max-w":[h,t,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[h,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,t,"auto","min","max","fit"]}],"font-size":[{text:["base",K,$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$e]}],"font-family":[{font:[Te]}],"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",h]}],"line-clamp":[{"line-clamp":["none",de,$e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",J,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",J,$]}],"underline-offset":[{"underline-offset":["auto",J,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],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",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...kt(),Zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","At","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},to]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Me(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Me()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Me()]}],"outline-offset":[{"outline-offset":[J,h]}],"outline-w":[{outline:[J,$]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:wt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[J,$]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ro]}],"shadow-color":[{shadow:[Te]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Nt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",K,h]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[G]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-x":[{"scale-x":[X]}],"scale-At":[{"scale-At":[X]}],rotate:[{rotate:[Ce,h]}],"translate-x":[{"translate-x":[xt]}],"translate-At":[{"translate-At":[xt]}],"skew-x":[{"skew-x":[Pe]}],"skew-At":[{"skew-At":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","At","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-At":[{"scroll-At":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","At","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-At":[{"touch-pan":["At","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[J,$,$e]}],stroke:[{stroke:[e,"none"]}],At:["At-only","not-At-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-At"],overscroll:["overscroll-x","overscroll-At"],inset:["inset-x","inset-At","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-At":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-At"],At:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-At"],"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-At":["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-At":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-At":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-At","touch-pz"],"touch-x":["touch"],"touch-At":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lt=jr(so);function l(...e){return Lt((0,zt.clsx)(e))}var pe=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var ue=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-At-1.5 At-6",e),...t}));ue.displayName="CardHeader";var ge=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ge.displayName="CardTitle";var io=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));io.displayName="CardDescription";var fe=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("At-6 pt-0",e),...t}));fe.displayName="CardContent";var lo=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center At-6 pt-0",e),...t}));lo.displayName="CardFooter";function co({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"At detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"At comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"At set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"At phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"At detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:r=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:a="\xA3150,000 for delivery of listed outputs"}){return(0,At.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,At.jsxs)("div",{className:"lg:col-span-1 space-At-6 flex flex-col",children:[(0,At.jsxs)(pe,{className:"flex-grow",children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.Users,{className:"h-5 w-5"}),"Team"]})}),(0,At.jsxs)(fe,{className:"At-6",children:[(0,At.jsx)("At",{className:"mb-6 text-sm text-muted-foreground",children:"At small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,At.jsxs)("div",{className:"space-At-6",children:[(0,At.jsx)("div",{className:"space-At-2",children:e.leadership.map((n,o)=>(0,At.jsxs)("div",{className:"flex items-center justify-between",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2",children:[(0,At.jsx)(F.User,{className:"h-4 w-4 text-muted-foreground"}),(0,At.jsx)("span",{children:n.role})]}),n.isFTE&&(0,At.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,At.jsx)("div",{className:"space-At-2",children:e.core.map((n,o)=>(0,At.jsxs)("div",{className:"flex items-center justify-between",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2",children:[(0,At.jsx)(F.User,{className:"h-4 w-4 text-muted-foreground"}),(0,At.jsx)("span",{children:n.role}),n.count&&(0,At.jsxs)("span",{children:["(",n.count,"x)"]})]}),n.isFTE&&(0,At.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,At.jsxs)("div",{children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,At.jsx)(F.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,At.jsx)("span",{children:"SME input:"})]}),(0,At.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,At.jsxs)(pe,{children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,At.jsx)(fe,{className:"At-6",children:(0,At.jsx)("At",{className:"text-lg font-semibold",children:a})})]})]}),(0,At.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,At.jsxs)(fe,{className:"At-6 flex-grow overflow-auto",children:[(0,At.jsx)("ol",{className:"list-decimal list-inside space-At-4",children:t.map((n,o)=>(0,At.jsxs)("li",{className:"text-sm",children:[(0,At.jsxs)("span",{className:"font-medium",children:[n.title,":"]})," ",(0,At.jsx)("span",{className:"text-muted-foreground",children:n.description})]},o))}),(0,At.jsx)("At",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,At.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,At.jsx)(fe,{className:"At-6 flex-grow overflow-auto",children:(0,At.jsx)("ul",{className:"space-At-4",children:r.map((n,o)=>(0,At.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,At.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,At.jsx)("span",{children:n})]},o))})})]})]})}function mo(){return(0,At.jsx)("div",{className:"w-full bg-primary text-white At-8 rounded-lg border border-dashed border-white/30",children:(0,At.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,At.jsxs)("div",{className:"space-At-4 bg-primary At-3 rounded-lg",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,At.jsx)(F.BarChart3,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,At.jsx)("At",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,At.jsxs)("ul",{className:"text-sm",children:[(0,At.jsx)("li",{children:"Strategy definition"}),(0,At.jsx)("li",{children:"Programme leadership"}),(0,At.jsx)("li",{children:"Detailed planning"}),(0,At.jsx)("li",{children:"\u2022 Financial control"}),(0,At.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,At.jsxs)("div",{className:"space-At-4",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,At.jsx)(F.CogIcon,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,At.jsx)("At",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,At.jsx)("At",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,At.jsxs)("div",{className:"space-At-4",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,At.jsx)(F.Building2,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,At.jsx)("At",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,At.jsx)("At",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,At.jsxs)("div",{className:"space-At-4",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,At.jsx)(F.BadgeCheck,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,At.jsx)("At",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,At.jsx)("At",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var et=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,At.jsx)("div",{className:l("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,At.jsx)(D,{content:t,enableGutter:!1,enableProse:!1})})});var Wt=require("react");var Xt=require("@radix-ui/react-slot"),Ht=require("class-variance-authority"),Gt=E(require("react")),po=(0,Ht.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"}}}),ae=Gt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,At.jsx)(e?Xt.Slot:"button",{className:l(po({className:t,size:r,variant:a})),ref:o,...n}));ae.displayName="Button";var tt=E(require("next/link")),ee=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let g=r==="link"?"clear":c,b=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(tt.default,{className:l(n),href:f||m||"",...b,children:[o&&o,a&&a]}):(0,At.jsx)(ae,{asChild:!0,className:n,size:g,variant:r,children:(0,At.jsxs)(tt.default,{className:l(n),href:f||m||"",...b,children:[o&&o,a&&a]})})};function Fe({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function uo({className:e,...t}){return(0,At.jsx)("input",{...t,className:Fe({className:e})})}function De({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(uo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-At-1/2 text-accent",children:e})]})}function go({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(Fe({}),"resize-none md:min-h-[130px]",e)})}function jt({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(go,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Vt=require("formik"),_t=require("react-icons/fa6"),ne=E(require("yup"));async function Ot(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var rt=require("sonner"),j={tooShort:"Must At At least ${min} characters",tooLong:"Must At At most ${max} characters",required:"This field is required",email:"Invalid email format"},fo=ne.object().shape({name:ne.string().min(2,j.tooShort).max(50,j.tooLong).required(j.required),email:ne.string().email(j.email).required(j.required),subject:ne.string().min(2,j.tooShort).max(50,j.tooLong).required(j.required),message:ne.string().min(2,j.tooShort).max(300,j.tooLong).required(j.required)}),Le=l("!pr-[44px] text-foreground"),ze=l("!border-red-600 border"),Xe=l("At-only");function Yt(){return(0,At.jsx)(Vt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fo,onSubmit:async(e,{resetForm:t})=>{let r=await Ot(e);r.data===null?rt.toast.error(r.message):(rt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,At.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)(De,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(_t.FaUser,{className:"text-primary"}),className:l(Le,e.name&&t.name&&ze)}),e.name&&t.name&&(0,At.jsx)("At",{title:e.name,"aria-live":"polite",role:"error message",className:Xe,children:e.name})]}),(0,At.jsxs)("div",{children:[(0,At.jsx)(De,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(bo,{}),className:l(Le,e.email&&t.email&&ze)}),e.email&&t.email&&(0,At.jsx)("At",{title:e.email,"aria-live":"polite",role:"error message",className:Xe,children:e.email})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(De,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Le,e.subject&&t.subject&&ze)}),e.subject&&t.subject&&(0,At.jsx)("At",{title:e.subject,"aria-live":"polite",role:"error message",className:Xe,children:e.subject})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(jt,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(ho,{}),className:l(Le,e.message&&t.message&&ze)}),e.message&&t.message&&(0,At.jsx)("At",{title:e.message,"aria-live":"polite",role:"error message",className:Xe,children:e.message})]}),(0,At.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,At.jsx)(ae,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function bo(){return(0,At.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,At.jsx)("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 ho(){return(0,At.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,At.jsx)("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"})})}var yo=({links:e,richText:t})=>(0,At.jsx)("div",{className:"container",children:(0,At.jsxs)("div",{className:"bg-card rounded border-border border At-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,At.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,At.jsx)(D,{className:"mb-0",content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,At.jsx)(ee,{size:"lg",...r},a))})]})}),se=({links:e,richText:t})=>{let[r,a]=(0,Wt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,At.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,At.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,At.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,At.jsx)(D,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-At:text-white text-white",content:t,enableGutter:!1}),(0,At.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,At.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>(c==null?void 0:c.url)==="/contact"?(0,At.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,At.jsx)(ee,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),r&&(0,At.jsx)("div",{className:"absolute inset-0 F-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,At.jsxs)("div",{className:"bg-white At-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,At.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,At.jsx)(Yt,{})," "]})})]})};var He=require("prism-react-renderer");function ot({code:e}){let[t,r]=(0,Wt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,At.jsx)("div",{className:"flex justify-end align-middle",children:(0,At.jsxs)(ae,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,At.jsx)("At",{children:t}),(0,At.jsx)("div",{className:"w-6 h-6",children:(0,At.jsx)(F.ClipboardCopy,{})})]})})}var qt=({code:e,language:t=""})=>e?(0,At.jsx)(He.Highlight,{code:e,language:t,theme:He.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,At.jsxs)("pre",{className:"bg-black At-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,At.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,At.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},s)),(0,At.jsx)(ot,{code:e})]})}):null;var nt=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(qt,{code:t,language:r})});var Kt=E(require("next/image")),vo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",Zt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,m,f,g=t,b=i||"";if(!b&&o&&typeof o=="object"){let{alt:v,filename:x,height:k,url:S,width:G}=o;if(k&&k>500){let X=500/k;m=G*X,f=k*X}else m=G,f=k;g=v||"",b=S||$t}let d=c||"lazy",w=s||Object.entries(vo).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)(Kt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:d!=="lazy"&&n,quality:100,loading:d,sizes:w,src:b,width:r?void 0:m})})};var er=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var tr=()=>{if(er){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var rr=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Wt.useRef)(null);if((0,Wt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,At.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,At.jsx)("source",{src:`${tr()}/media/${o}`})})}return null};var ye=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,At.jsx)(r||Wt.Fragment,{...r!==null?{className:t}:{},children:n?(0,At.jsx)(rr,{...e}):(0,At.jsx)(Zt,{...e})})};var q=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,At.jsx)(ye,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var dt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(ye,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var nr=E(require("next/image"));function ar(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function mt({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){var g,b;let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,At.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"At-0":"At-6 md:At-8",s&&!e&&m[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",f[(g=s==null?void 0:s.width)!=null?g:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,At.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,At.jsx)(nr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,At.jsxs)("div",{className:l(e?"At-6 md:At-8":"At-0","flex flex-col flex-grow"),children:[(0,At.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,At.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,At.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,At.jsx)(xo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(b=s==null?void 0:s.card)!=null?b:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),n&&typeof n=="object"&&(0,At.jsx)(D,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-At:text-lg prose-headings:text-xl","space-At-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose-headings:text-foreground prose-At:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-At:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-At:text-background")}),n&&typeof n=="string"&&(0,At.jsx)("div",{className:l("prose-sm prose-At:text-lg prose-headings:text-xl","space-At-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,At.jsx)("div",{className:"mt-6",children:(0,At.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var xo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,At.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,At.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),ar(e)&&(0,At.jsx)("div",{className:l("rounded-full At-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,At.jsx)(ke,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[ar(e)&&(0,At.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,At.jsx)(ke,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,At.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,At.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,At.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var le=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,At.jsxs)("section",{className:l(n?"w-full":"container",""),children:[(0,At.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,At.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,At.jsx)("At",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,At.jsx)("div",{className:"mb-5 text-foreground",children:(0,At.jsx)(D,{content:t,enableGutter:!1})})]}),(0,At.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{var c;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,At.jsx)(mt,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},s)})})]});var je=E(require("react"));function Be({nodes:e}){return(0,At.jsx)(je.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,At.jsx)(je.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,At.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,At.jsx)("em",{children:o},r)),t.format&4&&(o=(0,At.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,At.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,At.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,At.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,At.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,At.jsx)("table",{children:(0,At.jsx)("tbody",{children:t.children.map((o,s)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:Be({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Be({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,At.jsx)(se,{...o},r);case"mediaBlock":return(0,At.jsx)(q,{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,At.jsx)(dt,{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,At.jsx)(et,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(nt,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(le,{...o,nested:!0},r);case"reusableContentBlock":Be({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,At.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,At.jsx)("At",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,At.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,At.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,At.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Be({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Re=e=>{var i;let{columns:t,theme:r}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"},n={none:"",line:"border border-primary At-4 rounded-lg"},o=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let m of c.root.children)if(o(m))return!0}if(c.children){for(let m of c.children)if(o(m))return!0}return!1},s=(c,m,f)=>{if(m==="none"||f==="full")return{processedRichText:c,heading:null};let g=c,b=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(g={...c,root:{...c.root,children:c.root.children.slice(1)}},b=c.root.children[0]),{processedRichText:g,heading:b}};return(0,At.jsx)("div",{className:"container my-6",children:(0,At.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-At-8",(i=r==null?void 0:r.settings)!=null&&i.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((c,m)=>{var x,k;let{enableLink:f,link:g,richText:b,size:d}=c,{processedRichText:w,heading:v}=s(b,((x=r==null?void 0:r.settings)==null?void 0:x.box)||"none",d||"full");return(0,At.jsxs)("div",{className:l(`col-span-4 lg:col-span-${a[d]}`,{"md:col-span-2":d!=="full"},n[d!=="full"&&!o(b)&&((k=r==null?void 0:r.settings)==null?void 0:k.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[v&&(0,At.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:v.children[0].text}),w&&(0,At.jsx)(D,{content:w,enableGutter:!1,className:"rich-text"}),f&&(0,At.jsx)(ee,{...g})]},m)})})})};var Oe=E(require("next/image"));function wo({image:e,subtitle:t="Case study",title:r,companyLogo:a,customerLogo:n}){return(0,At.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,At.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,At.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,At.jsx)(Oe.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,At.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&(0,At.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,At.jsx)(Oe.default,{src:a,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),n&&(0,At.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,At.jsx)(Oe.default,{src:n,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,At.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,At.jsx)("At",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,At.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:r})]})]})}var bt=E(require("next/image"));var pt=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,At.jsx)(ko,{blocks:r.layout}):(0,At.jsx)(At.Fragment,{})},ir={content:Re,cta:se,mediaBlock:q,imageBlock:q,features:le},ko=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,At.jsx)(At.Fragment,{children:t.map((a,n)=>{var i,c;let{blockType:o}=a,s=a==null?void 0:a.theme;if(o&&o in ir){let m=ir[o];if(m)return(0,At.jsxs)("div",{className:"py-6 relative",children:[(0,At.jsx)(Ve,{block:a,index:n}),(0,At.jsx)("div",{className:l(((i=s==null?void 0:s.settings)==null?void 0:i.theme)==="dark"?"dark":((c=s==null?void 0:s.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,At.jsx)(m,{...a})})]},n)}return null})}):null};var lr=E(require("react")),ve=E(require("@radix-ui/react-collapsible")),_e=require("@radix-ui/react-icons");var cr=({title:e,richText:t})=>{let[r,a]=lr.default.useState(!1);return(0,At.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,At.jsxs)(ve.Root,{className:l("w-full"),open:r,onOpenChange:a,children:[(0,At.jsxs)(ve.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,At.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,At.jsx)(_e.ChevronUpIcon,{className:"h-6 w-6"}):(0,At.jsx)(_e.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,At.jsx)(ve.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,At.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,At.jsx)(D,{content:t||{},enableGutter:!1})})})]})})};var Ye={content:Re,cta:se,mediaBlock:q,collapsibleArea:cr,imageBlock:q,features:le,reusableContentBlock:pt},ht=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,At.jsx)("section",{id:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((a,n)=>{var i;let{blockType:o}=a,s=a==null?void 0:a.theme;if(o&&o in Ye){let c=Ye[o];if(o==="reusableContentBlock")return(0,At.jsx)(Wt.Fragment,{children:(0,At.jsx)(ht,{blocks:a.reusableContent.layout})},n);if(c)return(0,At.jsxs)("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,At.jsx)(Ve,{block:a,index:n}),(0,At.jsx)("div",{className:l("container h-full relative",((i=s==null?void 0:s.settings)==null?void 0:i.theme)||"dark"),children:(0,At.jsx)(c,{...a})})]},n)}return null})}):null},Ve=e=>{var r,a,n,o,s;if(!("theme"in e.block))return(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let i={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,At.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,At.jsx)(bt.default,{src:((n=(a=t.settings)==null?void 0:a.image)==null?void 0:n.url)||"/placeholder.svg",alt:((s=(o=t.settings)==null?void 0:o.image)==null?void 0:s.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,At.jsx)("div",{className:"absolute inset-0",style:{background:i.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})},No=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,At.jsx)("main",{id:"content-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((a,n)=>{let{blockType:o}=a,s=a==null?void 0:a.theme;if(o&&o in Ye){let i=Ye[o];if(o==="reusableContentBlock")return(0,At.jsx)(Wt.Fragment,{children:(0,At.jsx)(ht,{blocks:a.reusableContent.layout})},n);if(i)return(0,At.jsx)(dr,{block:a,allBlocks:t,index:n,children:(0,At.jsx)(i,{...a})})}return null})}):null},dr=e=>{var c,m,f,g,b;if(e.index===0)return(0,At.jsxs)("section",{className:"relative flex w-full",children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full light bg-background")}),(0,At.jsx)("div",{className:l("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let t=d=>d%2===0?"light":"dark",r=({index:d,allBlocks:w})=>d===1?(0,At.jsx)(ut,{position:"left"}):n(d,w)==="dark"&&s(d,w)==="light"?(0,At.jsx)(gt,{position:"left"}):n(d,w)==="light"&&s(d,w)==="dark"?(0,At.jsx)(ut,{position:"left"}):null,a=({index:d,allBlocks:w})=>o(d,w)==="light"&&s(d,w)==="dark"?(0,At.jsx)(gt,{position:"left"}):null,n=(d,w)=>{var x,k;if(d===1)return"light";let v=w[d-1];return"theme"in v&&((k=(x=v.theme)==null?void 0:x.settings)==null?void 0:k.theme)==="light"?"light":"dark"},o=(d,w)=>{var x,k;if(d===w.length-1)return"dark";if(d===0)return"light";let v=w[d+1];return"theme"in v&&((k=(x=v.theme)==null?void 0:x.settings)==null?void 0:k.theme)==="light"?"light":"dark"},s=(d,w)=>{var x,k;if(d===w.length-1)return"dark";let v=w[d];return v.theme&&((k=(x=v.theme)==null?void 0:x.settings)==null?void 0:k.theme)==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return n(e.index,e.allBlocks)==="dark"?(0,At.jsxs)("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen dark bg-background")}),(0,At.jsx)("div",{className:l("container relative","dark bg-background"),children:e.children})]}):(0,At.jsxs)("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[(0,At.jsx)(r,{index:e.index,allBlocks:e.allBlocks}),(0,At.jsx)("div",{className:l("absolute inset-0 w-screen")}),(0,At.jsx)("div",{className:"bg-black",children:(0,At.jsx)("div",{className:l("container relative","dark bg-background"),children:e.children})})]});if(!("theme"in e.block)||n(e.index,e.allBlocks)===s(e.index,e.allBlocks)){let d=s(e.index,e.allBlocks);return(0,At.jsxs)("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",d)}),(0,At.jsx)("div",{className:l("container relative bg-background",d,d==="light"&&"At-12"),children:e.children})]})}if(n(e.index,e.allBlocks)!==s(e.index,e.allBlocks)){let d=s(e.index,e.allBlocks);return(0,At.jsxs)("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[(0,At.jsx)(r,{index:e.index,allBlocks:e.allBlocks}),(0,At.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",d)}),(0,At.jsx)("div",{className:l("container relative bg-background min-h-[22em] content-center",d,d==="light"&&"At-12"),children:e.children})]})}if(!("theme"in e.block))return(0,At.jsxs)("div",{className:l("container h-full relative","dark"),children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")}),e.children]});let i=(c=e.block)==null?void 0:c.theme;if(i.settings.background==="image"){let d={imagePosition:i.settings.imagePosition||"left",overlay:i.settings.overlay!==void 0?i.settings.overlay:!0};return(0,At.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",i.settings.theme||"dark"),children:[(0,At.jsx)(bt.default,{src:((f=(m=i.settings)==null?void 0:m.image)==null?void 0:f.url)||"/placeholder.svg",alt:((b=(g=i.settings)==null?void 0:g.image)==null?void 0:b.alt)||"",fill:!0,className:"object-cover",priority:!0}),i.settings.overlay&&(0,At.jsx)("div",{className:"absolute inset-0",style:{background:d.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",i.settings.theme||"dark")})},ut=({position:e})=>(0,At.jsx)("div",{className:"w-full aspect-[1920/360] F-20 relative -top-[2px] bg-white",children:(0,At.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 1920 360",preserveAspectRatio:"none",style:{transform:"rotateX(180deg)",position:"absolute",bottom:"-2px"},className:l("w-full block overflow-hidden"),children:(0,At.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),gt=({position:e})=>(0,At.jsx)("div",{className:"w-full relative F-20 aspect-[1920/332] overflow-hidden ",children:(0,At.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[(0,At.jsx)("defs",{children:(0,At.jsxs)("mask",{id:"mask",children:[(0,At.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,At.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,At.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});var fr=E(require("clsx"));var mr=require("next/navigation");function Co({external:e=!1,newTab:t=!1,scroll:r=!0}){let a=(0,mr.useRouter)(),n=(0,Wt.useRef)(null),o=(0,Wt.useRef)(null),s=(0,Wt.useRef)(0),i=(0,Wt.useRef)(!1),c=(0,Wt.useRef)(0),m=(0,Wt.useCallback)(g=>{if(g.target){let b=g.target,d=+new Date,w=b==null?void 0:b.closest("a");c.current=g.button,w?i.current=!0:(i.current=!1,s.current=d)}},[a,n,o,s]),f=(0,Wt.useCallback)(g=>{var b,d;if((b=o.current)!=null&&b.href){let v=+new Date-s.current;if((d=o.current)!=null&&d.href&&v<=250&&!i.current&&c.current===0&&!g.ctrlKey)if(e){let x=t?"_blank":"_self";window.open(o.current.href,x)}else a.push(o.current.href,{scroll:r})}},[a,n,o,s]);return(0,Wt.useEffect)(()=>{let g=n.current;return g&&(g.addEventListener("mousedown",m),g.addEventListener("mouseup",f)),()=>{g&&g&&(g==null||g.removeEventListener("mousedown",m),g==null||g.removeEventListener("mouseup",f))}},[n,o,a]),{card:{ref:n},link:{ref:o}}}var pr=Co;var ur=E(require("next/link"));var gr=e=>{let{card:t,link:r}=pr({}),{className:a,doc:n,relationTo:o,showCategories:s,title:i}=e,{slug:c,categories:m,meta:f,title:g}=n||{},{description:b,image:d}=f||{},w=m&&Array.isArray(m)&&m.length>0,v=i||g,x=b==null?void 0:b.replace(/\s/g," "),k=`/${o}/${c}`;return(0,At.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,At.jsxs)("div",{className:"relative w-full ",children:[!d&&(0,At.jsx)("div",{className:"",children:"No image"}),d&&typeof d!="string"&&(0,At.jsx)(ye,{resource:d,size:"33vw"})]}),(0,At.jsxs)("div",{className:"At-4",children:[s&&w&&(0,At.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&w&&(0,At.jsx)("div",{children:m==null?void 0:m.map((S,G)=>{if(typeof S=="object"){let{title:X}=S,ce=X||"Untitled category",Pe=G===m.length-1;return(0,At.jsxs)(Wt.Fragment,{children:[ce,!Pe&&(0,At.jsx)(Wt.Fragment,{children:", \xA0"})]},G)}return null})})}),v&&(0,At.jsx)("div",{className:"prose",children:(0,At.jsx)("h3",{children:(0,At.jsx)(ur.default,{className:"not-prose",href:k,ref:r.ref,children:v})})}),b&&(0,At.jsx)("div",{className:"mt-2",children:b&&(0,At.jsx)("At",{children:x})})]})]})};var To=e=>{let{className:t,docs:r,introContent:a}=e;return(0,At.jsxs)("div",{className:(0,fr.default)("container",t),children:[a&&(0,At.jsx)(D,{content:a,enableGutter:!1}),(0,At.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((n,o)=>typeof n=="string"?null:(0,At.jsx)(gr,{doc:n,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={BannerBlock,CallToActionBlock,CallToActionBlockOld,CodeBlock,ContentBlock,CopyButton,DarkTop,FeaturesBlock,HeadingImage,ImageBlock,InfoTile,Insight,LightTop,MOTD,MediaBlock,OrgChart,ProposalSummary,RelatedPosts,RenderBlocks,RenderBlocksWithShapes,ReusableContentBlock,Theme,ThemeWithShapes,WhyUs});
|
|
5
|
+
"use strict";var br=Object.create;var Ie=Object.defineProperty;var hr=Object.getOwnPropertyDescriptor;var yr=Object.getOwnPropertyNames;var vr=Object.getPrototypeOf,xr=Object.prototype.hasOwnProperty;var wr=(e,t)=>{for(var r in t)Ie(e,r,{get:t[r],enumerable:!0})},Tt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of yr(t))!xr.call(e,n)&&n!==r&&Ie(e,n,{get:()=>t[n],enumerable:!(a=hr(t,n))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?br(vr(e)):{},Tt(t||!e||!e.__esModule?Ie(r,"default",{value:e,enumerable:!0}):r,e)),kr=e=>Tt(Ie({},"__esModule",{value:!0}),e);var Ao={};wr(Ao,{BannerBlock:()=>et,CallToActionBlock:()=>se,CallToActionBlockOld:()=>yo,CodeBlock:()=>nt,ContentBlock:()=>Re,CopyButton:()=>ot,DarkTop:()=>ut,FeaturesBlock:()=>le,HeadingImage:()=>wo,ImageBlock:()=>dt,InfoTile:()=>Cr,Insight:()=>Nr,LightTop:()=>gt,MOTD:()=>Ar,MediaBlock:()=>q,OrgChart:()=>Pr,ProposalSummary:()=>co,RelatedPosts:()=>To,RenderBlocks:()=>ht,RenderBlocksWithShapes:()=>No,ReusableContentBlock:()=>pt,Theme:()=>Ve,ThemeWithShapes:()=>dr,WhyUs:()=>mo});module.exports=kr(Ao);var At=require("react/jsx-runtime"),ke=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,At.jsx)("i",{className:i})};function Nr({icon:e,title:t,body:r,color:a="secondary"}){return(0,At.jsx)(At.Fragment,{children:(0,At.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,At.jsx)("div",{className:"px-[2%] flex items-center",children:(0,At.jsx)("div",{className:"w-12 h-12",children:(0,At.jsx)(ke,{type:e.type,iconName:e.name})})}),(0,At.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),r&&(0,At.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:r})]})})}var Bt=E(require("next/image"));function Cr(e){let{url:t,mainImage:r,excerpt:a,title:n}=e;return(0,At.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white At-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,At.jsx)(Bt.default,{alt:n||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,At.jsxs)("div",{className:"flex flex-1 flex-col At-4",children:[(0,At.jsx)("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:(0,At.jsxs)("a",{href:t,children:[(0,At.jsx)("span",{className:"absolute inset-0"}),n]})}),a&&(0,At.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},t)}var Tr=(e,t)=>`from-brand-${e} to-brand-${t}`;function Ar({...e}){let t=Tr(e.brandFrom||"one",e.brandTo||"two");return(0,At.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,At.jsx)("At",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,At.jsxs)("a",{href:e.url,children:[(0,At.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,At.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,At.jsx)("circle",{r:1,cx:1,cy:1})}),(0,At.jsx)("span",{children:e.message&&e.message})]}):(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,At.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,At.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,At.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ne=E(require("react")),F=require("lucide-react"),Br={Architecture:(0,At.jsx)(F.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,At.jsx)(F.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,At.jsx)(F.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,At.jsx)(F.GanttChart,{className:"h-5 w-5 text-red-600"})},Rr=({person:e,level:t,onToggle:r,isExpanded:a,isHighlighted:n})=>{let o=e.reports.length>0;return(0,At.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,At.jsxs)("div",{className:`flex items-center At-3 rounded-lg shadow-sm border ${n?"bg-card border-primary":"bg-white border-gray-200"}`,children:[o&&(0,At.jsx)("button",{onClick:r,className:"mr-2","aria-label":a?"Collapse":"Expand",children:a?(0,At.jsx)(F.ChevronDown,{className:"h-4 w-4"}):(0,At.jsx)(F.ChevronRight,{className:"h-4 w-4"})}),(0,At.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,At.jsx)(F.Users,{className:"h-6 w-6 text-gray-500"})}),(0,At.jsxs)("div",{children:[(0,At.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,At.jsxs)("div",{className:"flex items-center mt-1",children:[Br[e.discipline],(0,At.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,At.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Rt=({person:e,level:t,searchTerm:r})=>{let[a,n]=(0,Ne.useState)(t<1),o=()=>n(!a),s=f=>f.name.toLowerCase().includes(r.toLowerCase())||f.discipline.toLowerCase().includes(r.toLowerCase())||f.grade.toLowerCase().includes(r.toLowerCase()),i=f=>s(f)||f.reports.some(i),c=r===""||i(e),m=s(e);return Ne.default.useEffect(()=>{r!==""&&i(e)&&n(!0)},[r,e]),c?(0,At.jsxs)("div",{children:[(0,At.jsx)(Rr,{person:e,level:t,onToggle:o,isExpanded:a,isHighlighted:m}),a&&e.reports.map((f,g)=>(0,At.jsx)(Rt,{person:f,level:t+1,searchTerm:r},g))]}):null};function Pr(){let[e,t]=(0,Ne.useState)("");return(0,At.jsxs)("div",{className:"max-w-5xl mx-auto At-6",children:[(0,At.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,At.jsxs)("div",{className:"mb-4 relative",children:[(0,At.jsx)("input",{type:"text",placeholder:"Search by name, discipline, Wt grade",value:e,onChange:a=>t(a.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,At.jsx)(F.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,At.jsx)("div",{className:"space-At-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel At. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((a,n)=>(0,At.jsx)(Rt,{person:a,level:0,searchTerm:e},n))})]})}var re=E(require("react"));var zt=require("clsx");var Ze="-",Sr=e=>{let t=Ir(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Ze);return i[0]===""&&i.length!==1&&i.shift(),Mt(i,t)||Mr(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},Mt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Mt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Ze);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Pt=/^\[(.+)\]$/,Mr=e=>{if(Pt.test(e)){let t=Pt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ir=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Fr(Object.entries(e.classGroups),r).forEach(([o,s])=>{Ke(s,a,o,t)}),a},Ke=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:St(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Er(n)){Ke(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Ke(s,St(t,o),r,a)})})},St=(e,t)=>{let r=e;return t.split(Ze).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Er=e=>e.isThemeGetter,Fr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[r,n]}):e,Dr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},It="!",Lr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],m=0,f=0,g;for(let x=0;x<i.length;x++){let k=i[x];if(m===0){if(k===n&&(a||i.slice(x,x+o)===t)){c.push(i.slice(f,x)),f=x+o;continue}if(k==="/"){g=x;continue}}k==="["?m++:k==="]"&&m--}let b=c.length===0?i:i.substring(f),d=b.startsWith(It),w=d?b.substring(1):b,v=g&&g>f?g-f:void 0;return{modifiers:c,hasImportantModifier:d,baseClassName:w,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},zr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Xr=e=>({cache:Dr(e.cacheSize),parseClassName:Lr(e),...Sr(e)}),Hr=/\s+/,Gr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Hr),i="";for(let c=s.length-1;c>=0;c-=1){let m=s[c],{modifiers:f,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:d}=r(m),w=!!d,v=a(w?b.substring(0,d):b);if(!v){if(!w){i=m+(i.length>0?" "+i:i);continue}if(v=a(b),!v){i=m+(i.length>0?" "+i:i);continue}w=!1}let x=zr(f).join(":"),k=g?x+It:x,S=k+v;if(o.includes(S))continue;o.push(S);let G=n(v,w);for(let X=0;X<G.length;++X){let ce=G[X];o.push(k+ce)}i=m+(i.length>0?" "+i:i)}return i};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Et(t))&&(a&&(a+=" "),a+=r);return a}var Et=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Et(e[a]))&&(r&&(r+=" "),r+=t);return r};function jr(e,...t){let r,a,n,o=s;function s(c){let m=t.reduce((f,g)=>g(f),e());return r=Xr(m),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let m=a(c);if(m)return m;let f=Gr(c,r);return n(c,f),f}return function(){return o(Ur.apply(null,arguments))}}var T=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ft=/^\[(?:([a-F-]+):)?(.+)\]$/i,Or=/^\d+\/\d+$/,Vr=new Set(["px","full","screen"]),_r=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yr=/\d+(%|px|r?em|[sdl]?v([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$/,Wr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jr=/^(inset_)?-?((\d+)?\.?(\d+)[a-F]+|0)At-?((\d+)?\.?(\d+)[a-F]+|0)/,Qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>de(e)||Vr.has(e)||Or.test(e),$=e=>me(e,"length",oo),de=e=>!!e&&!Number.isNaN(Number(e)),$e=e=>me(e,"number",de),Ce=e=>!!e&&Number.isInteger(Number(e)),qr=e=>e.endsWith("%")&&de(e.slice(0,-1)),h=e=>Ft.test(e),K=e=>_r.test(e),$r=new Set(["length","size","percentage"]),Kr=e=>me(e,$r,Dt),Zr=e=>me(e,"position",Dt),eo=new Set(["image","url"]),to=e=>me(e,eo,no),ro=e=>me(e,"",ao),Te=()=>!0,me=(e,t,r)=>{let a=Ft.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},oo=e=>Yr.test(e)&&!Wr.test(e),Dt=()=>!1,ao=e=>Jr.test(e),no=e=>Qr.test(e);var so=()=>{let e=T("colors"),t=T("spacing"),r=T("blur"),a=T("brightness"),n=T("borderColor"),o=T("borderRadius"),s=T("borderSpacing"),i=T("borderWidth"),c=T("contrast"),m=T("grayscale"),f=T("hueRotate"),g=T("invert"),b=T("gap"),d=T("gradientColorStops"),w=T("gradientColorStopPositions"),v=T("inset"),x=T("margin"),k=T("opacity"),S=T("padding"),G=T("saturate"),X=T("scale"),ce=T("sepia"),Pe=T("skew"),vt=T("space"),xt=T("translate"),We=()=>["auto","contain","none"],Je=()=>["auto","hidden","clip","visible","scroll"],Qe=()=>["auto",h,t],B=()=>[h,t],wt=()=>["",J,$],Se=()=>["auto",de,h],kt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Me=()=>["solid","dashed","dotted","double","none"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],qe=()=>["start","end","center","between","around","evenly","stretch"],we=()=>["","0",h],Ct=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[de,h];return{cacheSize:500,separator:":",theme:{colors:[Te],spacing:[J,$],blur:["none","",K,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",K,h],borderSpacing:B(),borderWidth:wt(),contrast:Y(),grayscale:we(),hueRotate:Y(),invert:we(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[qr,$],inset:Qe(),margin:Qe(),opacity:Y(),padding:B(),saturate:Y(),scale:Y(),sepia:we(),skew:Y(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":Ct()}],"break-before":[{"break-before":Ct()}],"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:[...kt(),h]}],overflow:[{overflow:Je()}],"overflow-x":[{"overflow-x":Je()}],"overflow-At":[{"overflow-At":Je()}],overscroll:[{overscroll:We()}],"overscroll-x":[{"overscroll-x":We()}],"overscroll-At":[{"overscroll-At":We()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-At":[{"inset-At":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],F:[{F:["auto",Ce,h]}],basis:[{basis:Qe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:we()}],shrink:[{shrink:we()}],order:[{order:["first","last","none",Ce,h]}],"grid-cols":[{"grid-cols":[Te]}],"col-start-end":[{col:["auto",{span:["full",Ce,h]},h]}],"col-start":[{"col-start":Se()}],"col-end":[{"col-end":Se()}],"grid-rows":[{"grid-rows":[Te]}],"row-start-end":[{row:["auto",{span:[Ce,h]},h]}],"row-start":[{"row-start":Se()}],"row-end":[{"row-end":Se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-At":[{"gap-At":[b]}],"justify-content":[{justify:["normal",...qe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...qe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...qe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],At:[{At:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[vt]}],"space-x-reverse":["space-x-reverse"],"space-At":[{"space-At":[vt]}],"space-At-reverse":["space-At-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,t]}],"min-w":[{"min-w":[h,t,"min","max","fit"]}],"max-w":[{"max-w":[h,t,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[h,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,t,"auto","min","max","fit"]}],"font-size":[{text:["base",K,$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$e]}],"font-family":[{font:[Te]}],"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",h]}],"line-clamp":[{"line-clamp":["none",de,$e]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",J,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",J,$]}],"underline-offset":[{"underline-offset":["auto",J,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],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",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...kt(),Zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","At","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},to]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-At":[{"border-At":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...Me(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-At":[{"divide-At":[i]}],"divide-At-reverse":["divide-At-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:Me()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-At":[{"border-At":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Me()]}],"outline-offset":[{"outline-offset":[J,h]}],"outline-w":[{outline:[J,$]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:wt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[J,$]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ro]}],"shadow-color":[{shadow:[Te]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Nt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",K,h]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[G]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-At":[{"border-spacing-At":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:Y()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:Y()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-x":[{"scale-x":[X]}],"scale-At":[{"scale-At":[X]}],rotate:[{rotate:[Ce,h]}],"translate-x":[{"translate-x":[xt]}],"translate-At":[{"translate-At":[xt]}],"skew-x":[{"skew-x":[Pe]}],"skew-At":[{"skew-At":[Pe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","At","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-At":[{"scroll-At":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","At","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-At":[{"touch-pan":["At","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[J,$,$e]}],stroke:[{stroke:[e,"none"]}],At:["At-only","not-At-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-At"],overscroll:["overscroll-x","overscroll-At"],inset:["inset-x","inset-At","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-At":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-At"],At:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-At"],"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-At":["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-At":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-At":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-At","touch-pz"],"touch-x":["touch"],"touch-At":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lt=jr(so);function l(...e){return Lt((0,zt.clsx)(e))}var pe=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var ue=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex flex-col space-At-1.5 At-6",e),...t}));ue.displayName="CardHeader";var ge=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ge.displayName="CardTitle";var io=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));io.displayName="CardDescription";var fe=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("At-6 pt-0",e),...t}));fe.displayName="CardContent";var lo=re.forwardRef(({className:e,...t},r)=>(0,At.jsx)("div",{ref:r,className:l("flex items-center At-6 pt-0",e),...t}));lo.displayName="CardFooter";function co({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"At detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"At comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"At set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"At phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"At detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:r=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:a="\xA3150,000 for delivery of listed outputs"}){return(0,At.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,At.jsxs)("div",{className:"lg:col-span-1 space-At-6 flex flex-col",children:[(0,At.jsxs)(pe,{className:"flex-grow",children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.Users,{className:"h-5 w-5"}),"Team"]})}),(0,At.jsxs)(fe,{className:"At-6",children:[(0,At.jsx)("At",{className:"mb-6 text-sm text-muted-foreground",children:"At small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,At.jsxs)("div",{className:"space-At-6",children:[(0,At.jsx)("div",{className:"space-At-2",children:e.leadership.map((n,o)=>(0,At.jsxs)("div",{className:"flex items-center justify-between",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2",children:[(0,At.jsx)(F.User,{className:"h-4 w-4 text-muted-foreground"}),(0,At.jsx)("span",{children:n.role})]}),n.isFTE&&(0,At.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,At.jsx)("div",{className:"space-At-2",children:e.core.map((n,o)=>(0,At.jsxs)("div",{className:"flex items-center justify-between",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2",children:[(0,At.jsx)(F.User,{className:"h-4 w-4 text-muted-foreground"}),(0,At.jsx)("span",{children:n.role}),n.count&&(0,At.jsxs)("span",{children:["(",n.count,"x)"]})]}),n.isFTE&&(0,At.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},o))}),(0,At.jsxs)("div",{children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,At.jsx)(F.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,At.jsx)("span",{children:"SME input:"})]}),(0,At.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,At.jsxs)(pe,{children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,At.jsx)(fe,{className:"At-6",children:(0,At.jsx)("At",{className:"text-lg font-semibold",children:a})})]})]}),(0,At.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,At.jsxs)(fe,{className:"At-6 flex-grow overflow-auto",children:[(0,At.jsx)("ol",{className:"list-decimal list-inside space-At-4",children:t.map((n,o)=>(0,At.jsxs)("li",{className:"text-sm",children:[(0,At.jsxs)("span",{className:"font-medium",children:[n.title,":"]})," ",(0,At.jsx)("span",{className:"text-muted-foreground",children:n.description})]},o))}),(0,At.jsx)("At",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,At.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,At.jsx)(ue,{className:"bg-primary text-primary-foreground",children:(0,At.jsxs)(ge,{className:"flex items-center gap-2",children:[(0,At.jsx)(F.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,At.jsx)(fe,{className:"At-6 flex-grow overflow-auto",children:(0,At.jsx)("ul",{className:"space-At-4",children:r.map((n,o)=>(0,At.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,At.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,At.jsx)("span",{children:n})]},o))})})]})]})}function mo(){return(0,At.jsx)("div",{className:"w-full bg-primary text-white At-8 rounded-lg border border-dashed border-white/30",children:(0,At.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,At.jsxs)("div",{className:"space-At-4 bg-primary At-3 rounded-lg",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,At.jsx)(F.BarChart3,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,At.jsx)("At",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,At.jsxs)("ul",{className:"text-sm",children:[(0,At.jsx)("li",{children:"Strategy definition"}),(0,At.jsx)("li",{children:"Programme leadership"}),(0,At.jsx)("li",{children:"Detailed planning"}),(0,At.jsx)("li",{children:"\u2022 Financial control"}),(0,At.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,At.jsxs)("div",{className:"space-At-4",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,At.jsx)(F.CogIcon,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,At.jsx)("At",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,At.jsx)("At",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,At.jsxs)("div",{className:"space-At-4",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,At.jsx)(F.Building2,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,At.jsx)("At",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,At.jsx)("At",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,At.jsxs)("div",{className:"space-At-4",children:[(0,At.jsxs)("div",{className:"flex items-center gap-2 relative F-10",children:[(0,At.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,At.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,At.jsx)(F.BadgeCheck,{className:"w-8 h-8"})]}),(0,At.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,At.jsx)("At",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,At.jsx)("At",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var et=({className:e,content:t,style:r})=>(0,At.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,At.jsx)("div",{className:l("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,At.jsx)(D,{content:t,enableGutter:!1,enableProse:!1})})});var Wt=require("react");var Xt=require("@radix-ui/react-slot"),Ht=require("class-variance-authority"),Gt=E(require("react")),po=(0,Ht.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"}}}),ae=Gt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,At.jsx)(e?Xt.Slot:"button",{className:l(po({className:t,size:r,variant:a})),ref:o,...n}));ae.displayName="Button";var tt=E(require("next/link")),ee=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:m}=e,f=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:m;if(!f)return null;let g=r==="link"?"clear":c,b=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,At.jsxs)(tt.default,{className:l(n),href:f||m||"",...b,children:[o&&o,a&&a]}):(0,At.jsx)(ae,{asChild:!0,className:n,size:g,variant:r,children:(0,At.jsxs)(tt.default,{className:l(n),href:f||m||"",...b,children:[o&&o,a&&a]})})};function Fe({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function uo({className:e,...t}){return(0,At.jsx)("input",{...t,className:Fe({className:e})})}function De({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(uo,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-At-1/2 text-accent",children:e})]})}function go({className:e,...t}){return(0,At.jsx)("textarea",{...t,className:l(Fe({}),"resize-none md:min-h-[130px]",e)})}function jt({icon:e,...t}){return(0,At.jsxs)("div",{className:"relative w-full",children:[(0,At.jsx)(go,{...t}),e&&(0,At.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Vt=require("formik"),_t=require("react-icons/fa6"),ne=E(require("yup"));async function Ot(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var rt=require("sonner"),j={tooShort:"Must At At least ${min} characters",tooLong:"Must At At most ${max} characters",required:"This field is required",email:"Invalid email format"},fo=ne.object().shape({name:ne.string().min(2,j.tooShort).max(50,j.tooLong).required(j.required),email:ne.string().email(j.email).required(j.required),subject:ne.string().min(2,j.tooShort).max(50,j.tooLong).required(j.required),message:ne.string().min(2,j.tooShort).max(300,j.tooLong).required(j.required)}),Le=l("!pr-[44px] text-foreground"),ze=l("!border-red-600 border"),Xe=l("At-only");function Yt(){return(0,At.jsx)(Vt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:fo,onSubmit:async(e,{resetForm:t})=>{let r=await Ot(e);r.data===null?rt.toast.error(r.message):(rt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,At.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,At.jsxs)("div",{children:[(0,At.jsx)(De,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(_t.FaUser,{className:"text-primary"}),className:l(Le,e.name&&t.name&&ze)}),e.name&&t.name&&(0,At.jsx)("At",{title:e.name,"aria-live":"polite",role:"error message",className:Xe,children:e.name})]}),(0,At.jsxs)("div",{children:[(0,At.jsx)(De,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(bo,{}),className:l(Le,e.email&&t.email&&ze)}),e.email&&t.email&&(0,At.jsx)("At",{title:e.email,"aria-live":"polite",role:"error message",className:Xe,children:e.email})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(De,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Le,e.subject&&t.subject&&ze)}),e.subject&&t.subject&&(0,At.jsx)("At",{title:e.subject,"aria-live":"polite",role:"error message",className:Xe,children:e.subject})]}),(0,At.jsxs)("div",{className:"lg:col-span-2",children:[(0,At.jsx)(jt,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,At.jsx)(ho,{}),className:l(Le,e.message&&t.message&&ze)}),e.message&&t.message&&(0,At.jsx)("At",{title:e.message,"aria-live":"polite",role:"error message",className:Xe,children:e.message})]}),(0,At.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,At.jsx)(ae,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function bo(){return(0,At.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,At.jsx)("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 ho(){return(0,At.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,At.jsx)("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"})})}var yo=({links:e,richText:t})=>(0,At.jsx)("div",{className:"container",children:(0,At.jsxs)("div",{className:"bg-card rounded border-border border At-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,At.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,At.jsx)(D,{className:"mb-0",content:t,enableGutter:!1})}),(0,At.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,At.jsx)(ee,{size:"lg",...r},a))})]})}),se=({links:e,richText:t})=>{let[r,a]=(0,Wt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,At.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,At.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,At.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,At.jsx)(D,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-At:text-white text-white",content:t,enableGutter:!1}),(0,At.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,At.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},m)=>(c==null?void 0:c.url)==="/contact"?(0,At.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},m):(0,At.jsx)(ee,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},m))})})]})}),r&&(0,At.jsx)("div",{className:"absolute inset-0 F-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,At.jsxs)("div",{className:"bg-white At-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,At.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,At.jsx)(Yt,{})," "]})})]})};var He=require("prism-react-renderer");function ot({code:e}){let[t,r]=(0,Wt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,At.jsx)("div",{className:"flex justify-end align-middle",children:(0,At.jsxs)(ae,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,At.jsx)("At",{children:t}),(0,At.jsx)("div",{className:"w-6 h-6",children:(0,At.jsx)(F.ClipboardCopy,{})})]})})}var qt=({code:e,language:t=""})=>e?(0,At.jsx)(He.Highlight,{code:e,language:t,theme:He.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,At.jsxs)("pre",{className:"bg-black At-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,At.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,At.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,At.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,At.jsx)("span",{...a({token:i})},c))})]},s)),(0,At.jsx)(ot,{code:e})]})}):null;var nt=({className:e,code:t,language:r})=>(0,At.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,At.jsx)(qt,{code:t,language:r})});var Kt=E(require("next/image")),vo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",Zt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,m,f,g=t,b=i||"";if(!b&&o&&typeof o=="object"){let{alt:v,filename:x,height:k,url:S,width:G}=o;if(k&&k>500){let X=500/k;m=G*X,f=k*X}else m=G,f=k;g=v||"",b=S||$t}let d=c||"lazy",w=s||Object.entries(vo).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,At.jsx)("picture",{children:(0,At.jsx)(Kt.default,{alt:g||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:d!=="lazy"&&n,quality:100,loading:d,sizes:w,src:b,width:r?void 0:m})})};var er=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var tr=()=>{if(er){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var rr=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Wt.useRef)(null);if((0,Wt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,At.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,At.jsx)("source",{src:`${tr()}/media/${o}`})})}return null};var ye=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,At.jsx)(r||Wt.Fragment,{...r!==null?{className:t}:{},children:n?(0,At.jsx)(rr,{...e}):(0,At.jsx)(Zt,{...e})})};var q=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,At.jsx)(ye,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var dt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,At.jsx)("div",{className:l("",{container:r},t),children:(0,At.jsx)(ye,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var nr=E(require("next/image"));function ar(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function mt({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){var g,b;let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,At.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"At-0":"At-6 md:At-8",s&&!e&&m[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",f[(g=s==null?void 0:s.width)!=null?g:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,At.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,At.jsx)(nr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,At.jsxs)("div",{className:l(e?"At-6 md:At-8":"At-0","flex flex-col flex-grow"),children:[(0,At.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,At.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,At.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,At.jsx)(xo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(b=s==null?void 0:s.card)!=null?b:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),n&&typeof n=="object"&&(0,At.jsx)(D,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-At:text-lg prose-headings:text-xl","space-At-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose-headings:text-foreground prose-At:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-At:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-At:text-background")}),n&&typeof n=="string"&&(0,At.jsx)("div",{className:l("prose-sm prose-At:text-lg prose-headings:text-xl","space-At-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,At.jsx)("div",{className:"mt-6",children:(0,At.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var xo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,At.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,At.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),ar(e)&&(0,At.jsx)("div",{className:l("rounded-full At-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,At.jsx)(ke,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,At.jsxs)("div",{className:"flex flex-col gap-4",children:[ar(e)&&(0,At.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,At.jsx)(ke,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,At.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,At.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,At.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var le=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,At.jsxs)("section",{className:l(n?"w-full":"container",""),children:[(0,At.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,At.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,At.jsx)("At",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,At.jsx)("div",{className:"mb-5 text-foreground",children:(0,At.jsx)(D,{content:t,enableGutter:!1})})]}),(0,At.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{var c;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,At.jsx)(mt,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},s)})})]});var je=E(require("react"));function Be({nodes:e}){return(0,At.jsx)(je.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,At.jsx)(je.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,At.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,At.jsx)("em",{children:o},r)),t.format&4&&(o=(0,At.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,At.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,At.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,At.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,At.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,At.jsx)("table",{children:(0,At.jsx)("tbody",{children:t.children.map((o,s)=>(0,At.jsx)("tr",{children:o.children.map((i,c)=>(0,At.jsx)("td",{children:Be({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Be({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,At.jsx)(se,{...o},r);case"mediaBlock":return(0,At.jsx)(q,{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,At.jsx)(dt,{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,At.jsx)(et,{className:"col-start-2 mb-4",...o},r);case"code":return(0,At.jsx)(nt,{className:"col-start-2",...o},r);case"features":return(0,At.jsx)(le,{...o,nested:!0},r);case"reusableContentBlock":Be({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,At.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,At.jsx)("At",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,At.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,At.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,At.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,At.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,At.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,At.jsx)(ee,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,At.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Be({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Re=e=>{var i;let{columns:t,theme:r}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"},n={none:"",line:"border border-primary At-4 rounded-lg"},o=c=>{if(c.type&&c.type==="block"&&c.fields&&(c.fields.blockType==="imageBlock"||c.fields.blockType==="mediaBlock"))return!0;if(c.root&&c.root.children){for(let m of c.root.children)if(o(m))return!0}if(c.children){for(let m of c.children)if(o(m))return!0}return!1},s=(c,m,f)=>{if(m==="none"||f==="full")return{processedRichText:c,heading:null};let g=c,b=null;return c&&c.root&&c.root.children&&c.root.children[0].tag==="h2"&&(g={...c,root:{...c.root,children:c.root.children.slice(1)}},b=c.root.children[0]),{processedRichText:g,heading:b}};return(0,At.jsx)("div",{className:"container my-6",children:(0,At.jsx)("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-At-8",(i=r==null?void 0:r.settings)!=null&&i.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((c,m)=>{var x,k;let{enableLink:f,link:g,richText:b,size:d}=c,{processedRichText:w,heading:v}=s(b,((x=r==null?void 0:r.settings)==null?void 0:x.box)||"none",d||"full");return(0,At.jsxs)("div",{className:l(`col-span-4 lg:col-span-${a[d]}`,{"md:col-span-2":d!=="full"},n[d!=="full"&&!o(b)&&((k=r==null?void 0:r.settings)==null?void 0:k.box)||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${m+1}00`),children:[v&&(0,At.jsx)("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:v.children[0].text}),w&&(0,At.jsx)(D,{content:w,enableGutter:!1,className:"rich-text"}),f&&(0,At.jsx)(ee,{...g})]},m)})})})};var Oe=E(require("next/image"));function wo({image:e,subtitle:t="Case study",title:r,companyLogo:a,customerLogo:n}){return(0,At.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[(0,At.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,At.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,At.jsx)(Oe.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,At.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&(0,At.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,At.jsx)(Oe.default,{src:a,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),n&&(0,At.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,At.jsx)(Oe.default,{src:n,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,At.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,At.jsx)("At",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,At.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:r})]})]})}var bt=E(require("next/image"));var pt=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,At.jsx)(ko,{blocks:r.layout}):(0,At.jsx)(At.Fragment,{})},ir={content:Re,cta:se,mediaBlock:q,imageBlock:q,features:le},ko=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,At.jsx)(At.Fragment,{children:t.map((a,n)=>{var i,c;let{blockType:o}=a,s=a==null?void 0:a.theme;if(o&&o in ir){let m=ir[o];if(m)return(0,At.jsxs)("div",{className:"py-6 relative",children:[(0,At.jsx)(Ve,{block:a,index:n}),(0,At.jsx)("div",{className:l(((i=s==null?void 0:s.settings)==null?void 0:i.theme)==="dark"?"dark":((c=s==null?void 0:s.settings)==null?void 0:c.theme)==="green"?"green":""),children:(0,At.jsx)(m,{...a})})]},n)}return null})}):null};var lr=E(require("react")),ve=E(require("@radix-ui/react-collapsible")),_e=require("@radix-ui/react-icons");var cr=({title:e,richText:t})=>{let[r,a]=lr.default.useState(!1);return(0,At.jsx)("div",{className:"border rounded-lg overflow-hidden",children:(0,At.jsxs)(ve.Root,{className:l("w-full"),open:r,onOpenChange:a,children:[(0,At.jsxs)(ve.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[(0,At.jsx)("h2",{className:"text-lg font-medium",children:e}),r?(0,At.jsx)(_e.ChevronUpIcon,{className:"h-6 w-6"}):(0,At.jsx)(_e.ChevronDownIcon,{className:"h-6 w-6"})]}),(0,At.jsx)(ve.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:(0,At.jsx)("div",{className:"px-4 py-3 bg-white",children:(0,At.jsx)(D,{content:t||{},enableGutter:!1})})})]})})};var Ye={content:Re,cta:se,mediaBlock:q,collapsibleArea:cr,imageBlock:q,features:le,reusableContentBlock:pt},ht=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,At.jsx)("section",{id:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((a,n)=>{var i;let{blockType:o}=a,s=a==null?void 0:a.theme;if(o&&o in Ye){let c=Ye[o];if(o==="reusableContentBlock")return(0,At.jsx)(Wt.Fragment,{children:(0,At.jsx)(ht,{blocks:a.reusableContent.layout})},n);if(c)return(0,At.jsxs)("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[(0,At.jsx)(Ve,{block:a,index:n}),(0,At.jsx)("div",{className:l("container h-full relative",((i=s==null?void 0:s.settings)==null?void 0:i.theme)||"dark"),children:(0,At.jsx)(c,{...a})})]},n)}return null})}):null},Ve=e=>{var r,a,n,o,s;if(!("theme"in e.block))return(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=(r=e.block)==null?void 0:r.theme;if(t.settings.background==="image"){let i={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return(0,At.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[(0,At.jsx)(bt.default,{src:((n=(a=t.settings)==null?void 0:a.image)==null?void 0:n.url)||"/placeholder.svg",alt:((s=(o=t.settings)==null?void 0:o.image)==null?void 0:s.alt)||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,At.jsx)("div",{className:"absolute inset-0",style:{background:i.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})},No=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,At.jsx)("main",{id:"content-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((a,n)=>{let{blockType:o}=a,s=a==null?void 0:a.theme;if(o&&o in Ye){let i=Ye[o];if(o==="reusableContentBlock")return(0,At.jsx)(Wt.Fragment,{children:(0,At.jsx)(ht,{blocks:a.reusableContent.layout})},n);if(i)return(0,At.jsx)(dr,{block:a,allBlocks:t,index:n,children:(0,At.jsx)(i,{...a})})}return null})}):null},dr=e=>{var c,m,f,g,b;if(e.index===0)return(0,At.jsxs)("section",{className:"relative flex w-full",children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full light bg-background")}),(0,At.jsx)("div",{className:l("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let t=d=>d%2===0?"light":"dark",r=({index:d,allBlocks:w})=>d===1?(0,At.jsx)(ut,{position:"left"}):n(d,w)==="dark"&&s(d,w)==="light"?(0,At.jsx)(gt,{position:"left"}):n(d,w)==="light"&&s(d,w)==="dark"?(0,At.jsx)(ut,{position:"left"}):null,a=({index:d,allBlocks:w})=>o(d,w)==="light"&&s(d,w)==="dark"?(0,At.jsx)(gt,{position:"left"}):null,n=(d,w)=>{var x,k;if(d===1)return"light";let v=w[d-1];return"theme"in v&&((k=(x=v.theme)==null?void 0:x.settings)==null?void 0:k.theme)==="light"?"light":"dark"},o=(d,w)=>{var x,k;if(d===w.length-1)return"dark";if(d===0)return"light";let v=w[d+1];return"theme"in v&&((k=(x=v.theme)==null?void 0:x.settings)==null?void 0:k.theme)==="light"?"light":"dark"},s=(d,w)=>{var x,k;if(d===w.length-1)return"dark";let v=w[d];return v.theme&&((k=(x=v.theme)==null?void 0:x.settings)==null?void 0:k.theme)==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return n(e.index,e.allBlocks)==="dark"?(0,At.jsxs)("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen dark bg-background")}),(0,At.jsx)("div",{className:l("container relative","dark bg-background py-1"),children:e.children})]}):(0,At.jsxs)("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[(0,At.jsx)(r,{index:e.index,allBlocks:e.allBlocks}),(0,At.jsx)("div",{className:l("absolute inset-0 w-screen")}),(0,At.jsx)("div",{className:"bg-black",children:(0,At.jsx)("div",{className:l("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||n(e.index,e.allBlocks)===s(e.index,e.allBlocks)){let d=s(e.index,e.allBlocks);return(0,At.jsxs)("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",d)}),(0,At.jsx)("div",{className:l("container relative bg-background py-1",d,d==="light"&&"py-12"),children:e.children})]})}if(n(e.index,e.allBlocks)!==s(e.index,e.allBlocks)){let d=s(e.index,e.allBlocks);return(0,At.jsxs)("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[(0,At.jsx)(r,{index:e.index,allBlocks:e.allBlocks}),(0,At.jsx)("div",{className:l("absolute inset-0 w-screen bg-background",d)}),(0,At.jsx)("div",{className:l("container relative bg-background min-h-[22em] content-center py-1",d,d==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return(0,At.jsxs)("div",{className:l("container h-full relative","dark"),children:[(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let i=(c=e.block)==null?void 0:c.theme;if(i.settings.background==="image"){let d={imagePosition:i.settings.imagePosition||"left",overlay:i.settings.overlay!==void 0?i.settings.overlay:!0};return(0,At.jsxs)("div",{className:l("absolute inset-0 w-full h-full bg-background",i.settings.theme||"dark"),children:[(0,At.jsx)(bt.default,{src:((f=(m=i.settings)==null?void 0:m.image)==null?void 0:f.url)||"/placeholder.svg",alt:((b=(g=i.settings)==null?void 0:g.image)==null?void 0:b.alt)||"",fill:!0,className:"object-cover",priority:!0}),i.settings.overlay&&(0,At.jsx)("div",{className:"absolute inset-0",style:{background:d.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,At.jsx)("div",{className:l("absolute inset-0 w-screen h-full bg-background",i.settings.theme||"dark")})},ut=({position:e})=>(0,At.jsx)("div",{className:"w-full aspect-[1920/360] F-20 relative -top-[2px] bg-white",children:(0,At.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 1920 360",preserveAspectRatio:"none",style:{transform:"rotateX(180deg)",position:"absolute",bottom:"-2px"},className:l("w-full block overflow-hidden"),children:(0,At.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),gt=({position:e})=>(0,At.jsx)("div",{className:"w-full relative F-20 aspect-[1920/332] overflow-hidden ",children:(0,At.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[(0,At.jsx)("defs",{children:(0,At.jsxs)("mask",{id:"mask",children:[(0,At.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,At.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,At.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});var fr=E(require("clsx"));var mr=require("next/navigation");function Co({external:e=!1,newTab:t=!1,scroll:r=!0}){let a=(0,mr.useRouter)(),n=(0,Wt.useRef)(null),o=(0,Wt.useRef)(null),s=(0,Wt.useRef)(0),i=(0,Wt.useRef)(!1),c=(0,Wt.useRef)(0),m=(0,Wt.useCallback)(g=>{if(g.target){let b=g.target,d=+new Date,w=b==null?void 0:b.closest("a");c.current=g.button,w?i.current=!0:(i.current=!1,s.current=d)}},[a,n,o,s]),f=(0,Wt.useCallback)(g=>{var b,d;if((b=o.current)!=null&&b.href){let v=+new Date-s.current;if((d=o.current)!=null&&d.href&&v<=250&&!i.current&&c.current===0&&!g.ctrlKey)if(e){let x=t?"_blank":"_self";window.open(o.current.href,x)}else a.push(o.current.href,{scroll:r})}},[a,n,o,s]);return(0,Wt.useEffect)(()=>{let g=n.current;return g&&(g.addEventListener("mousedown",m),g.addEventListener("mouseup",f)),()=>{g&&g&&(g==null||g.removeEventListener("mousedown",m),g==null||g.removeEventListener("mouseup",f))}},[n,o,a]),{card:{ref:n},link:{ref:o}}}var pr=Co;var ur=E(require("next/link"));var gr=e=>{let{card:t,link:r}=pr({}),{className:a,doc:n,relationTo:o,showCategories:s,title:i}=e,{slug:c,categories:m,meta:f,title:g}=n||{},{description:b,image:d}=f||{},w=m&&Array.isArray(m)&&m.length>0,v=i||g,x=b==null?void 0:b.replace(/\s/g," "),k=`/${o}/${c}`;return(0,At.jsxs)("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,At.jsxs)("div",{className:"relative w-full ",children:[!d&&(0,At.jsx)("div",{className:"",children:"No image"}),d&&typeof d!="string"&&(0,At.jsx)(ye,{resource:d,size:"33vw"})]}),(0,At.jsxs)("div",{className:"At-4",children:[s&&w&&(0,At.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&w&&(0,At.jsx)("div",{children:m==null?void 0:m.map((S,G)=>{if(typeof S=="object"){let{title:X}=S,ce=X||"Untitled category",Pe=G===m.length-1;return(0,At.jsxs)(Wt.Fragment,{children:[ce,!Pe&&(0,At.jsx)(Wt.Fragment,{children:", \xA0"})]},G)}return null})})}),v&&(0,At.jsx)("div",{className:"prose",children:(0,At.jsx)("h3",{children:(0,At.jsx)(ur.default,{className:"not-prose",href:k,ref:r.ref,children:v})})}),b&&(0,At.jsx)("div",{className:"mt-2",children:b&&(0,At.jsx)("At",{children:x})})]})]})};var To=e=>{let{className:t,docs:r,introContent:a}=e;return(0,At.jsxs)("div",{className:(0,fr.default)("container",t),children:[a&&(0,At.jsx)(D,{content:a,enableGutter:!1}),(0,At.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:r==null?void 0:r.map((n,o)=>typeof n=="string"?null:(0,At.jsx)(gr,{doc:n,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={BannerBlock,CallToActionBlock,CallToActionBlockOld,CodeBlock,ContentBlock,CopyButton,DarkTop,FeaturesBlock,HeadingImage,ImageBlock,InfoTile,Insight,LightTop,MOTD,MediaBlock,OrgChart,ProposalSummary,RelatedPosts,RenderBlocks,RenderBlocksWithShapes,ReusableContentBlock,Theme,ThemeWithShapes,WhyUs});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as l}from"../../chunk-53QLSQCO.mjs";import{a as m}from"../../chunk-6HFYLEVF.mjs";import{a as x}from"../../chunk-G2BJSFF4.mjs";import"../../chunk-XXTN5HMN.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as i}from"../../chunk-UZ2XYB7D.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w}from"../../chunk-AX52NWUN.mjs";import{a as o}from"../../chunk-IGYTQN3S.mjs";import"../../chunk-MGBLZM7Q.mjs";import{a,b,c,d as h}from"../../chunk-FPJFWQB5.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-L2QAYSRV.mjs";import"../../chunk-NOEITQK2.mjs";import"../../chunk-EG6XIOOJ.mjs";import"../../chunk-MMBUMBDU.mjs";import"../../chunk-CTKUF2I6.mjs";import{a as g}from"../../chunk-6DHYRATS.mjs";import{a as f}from"../../chunk-RJGKFNZL.mjs";import"../../chunk-JPFBD2KD.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-WLBZXBU3.mjs";import{a as e}from"../../chunk-Z2PPN7EJ.mjs";import"../../chunk-6WLJQKDF.mjs";import{a as d}from"../../chunk-PZT3KAUV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock,c as CallToActionBlock,b as CallToActionBlockOld,e as CodeBlock,o as ContentBlock,d as CopyButton,v as DarkTop,h as FeaturesBlock,p as HeadingImage,g as ImageBlock,j as InfoTile,i as Insight,w as LightTop,k as MOTD,f as MediaBlock,l as OrgChart,m as ProposalSummary,x as RelatedPosts,r as RenderBlocks,t as RenderBlocksWithShapes,q as ReusableContentBlock,s as Theme,u as ThemeWithShapes,n as WhyUs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-6YWAX7NS.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as DealDetails};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"../../chunk-TLBLUYXL.mjs";import{a as t}from"../../chunk-
|
|
1
|
+
import{c as a}from"../../chunk-TLBLUYXL.mjs";import{a as t}from"../../chunk-6YWAX7NS.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var n={title:"CRM/DealDetails",component:t,parameters:{layout:"centered"},tags:["autodocs"]},u=n,i={id:"1",name:"Acme Corp",active:!0},r=[{id:"1",name:"Software",type:"proposition"},{id:"2",name:"Hardware",type:"proposition"},{id:"3",name:"Referral",type:"source"},{id:"4",name:"Outbound",type:"source"},{id:"5",name:"Tech",type:"sector"},{id:"6",name:"Finance",type:"sector"}],s=e=>Array.from({length:e},(l,o)=>({id:`comment-${o+1}`,text:`This is comment number ${o+1}. It's a mock comment to test the scrolling behavior of the comments section in the DealDetails component.`,author:["John Doe","Jane Smith","Bob Johnson"][o%3],timestamp:new Date(Date.now()-(e-o)*24*60*60*1e3).toISOString()})),m={id:1,customer:{id:1,name:"Acme Corp",active:!0},value:1e5,assignee:{id:1,name:"John Doe"},status:"Qualified",categories:r.slice(0,3),dateLogged:"2023-01-01T00:00:00.000Z",closureDate:"2023-12-31T00:00:00.000Z",updatedAt:"2023-06-15T12:00:00.000Z",comments:s(50),description:"This is a mock deal for Acme Corp. It involves a large software project with potential for hardware integration."},c={args:{deal:m,customer:i,categories:r,users:a,onClose:()=>console.log("Close clicked"),onSave:e=>console.log("Save clicked",e),onAddComment:e=>console.log("Comment added",e)}},D={args:{...c.args,deal:{...m,comments:s(100)}}};export{c as Default,D as WithManyComments,u as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-OJPHYSRN.mjs";import"../../chunk-6YWAX7NS.mjs";import"../../chunk-4TCLIMFP.mjs";import"../../chunk-PIM2JQYT.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CRMKanbanBoard};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as n,c as r}from"../../chunk-TLBLUYXL.mjs";import{a as d}from"../../chunk-
|
|
1
|
+
import{a as e,b as n,c as r}from"../../chunk-TLBLUYXL.mjs";import{a as d}from"../../chunk-OJPHYSRN.mjs";import"../../chunk-6YWAX7NS.mjs";import"../../chunk-4TCLIMFP.mjs";import"../../chunk-PIM2JQYT.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";import{useState as h}from"react";import{jsx as D}from"react/jsx-runtime";var u={title:"CRM/KanbanBoard",component:d},w=u,c=a=>{let[t,g]=h(a.initialData);return D(d,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),g(i=>{var l;return{...i,deals:((l=i.deals)!=null?l:[]).map(m=>m.id===o.id?o:m)}}),o)})},s=c.bind({});s.args={initialData:{deals:Array.from({length:3},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:r[Math.floor(Math.random()*r.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],categories:[n[t%n.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:r,categories:n},addNewDeal:async a=>(console.log("Adding deal:",a),{...a,id:"new-deal-id"}),addNewCustomer:async a=>(console.log("Adding customer:",a),{...a,id:"new-customer-id"}),addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var p=c.bind({});p.args={...s.args,initialData:{...s.args.initialData,deals:[]}};export{s as Default,p as NoDeals,w as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-4TCLIMFP.mjs";import"../../chunk-PIM2JQYT.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as KanbanColumn};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l,b as n,d as r}from"../../chunk-TLBLUYXL.mjs";import{a}from"../../chunk-
|
|
1
|
+
import{a as l,b as n,d as r}from"../../chunk-TLBLUYXL.mjs";import{a}from"../../chunk-4TCLIMFP.mjs";import"../../chunk-PIM2JQYT.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-BRYZOZKY.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var m={title:"CRM/KanbanColumn",component:a,parameters:{layout:"centered"}},p=m,c={args:{status:"Qualified",deals:r.filter(e=>e.status==="Qualified"),customers:l,categories:n,onDealClick:e=>console.log("Deal clicked:",e),calculateColumnValue:e=>e.reduce((o,t)=>o+t.value,0),calculateWeightedValue:(e,o)=>{let t={Cold:.2,Qualified:.4,"Proposal Made":.6,"SoW Submitted":.7,Won:1,Lost:0};return e.reduce((s,u)=>s+u.value*t[o],0)},addNewDeal:async e=>console.log("Adding new deal:",e),onAddCustomer:async e=>console.log("Adding new customer:",e)}},y={args:{...c.args,status:"Won",deals:[]}};export{c as Default,y as EmptyColumn,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-PIM2JQYT.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as NewDealForm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,b as r,c as s,d as a}from"../../chunk-TLBLUYXL.mjs";import{a as o}from"../../chunk-
|
|
1
|
+
import{a as t,b as r,c as s,d as a}from"../../chunk-TLBLUYXL.mjs";import{a as o}from"../../chunk-PIM2JQYT.mjs";import"../../chunk-OWBJTXZL.mjs";import"../../chunk-4NKKWJ2X.mjs";import"../../chunk-4JC2TJML.mjs";import"../../chunk-A5EYIB3V.mjs";import"../../chunk-DWRQHV42.mjs";import"../../chunk-Y5ZFXDW5.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-S7OK7D5I.mjs";var n={title:"CRM/NewDealForm",component:o,parameters:{layout:"centered"}},u=n,c={args:{customers:t,categories:r,users:s,onSubmit:async e=>(console.log("Submitting deal:",e),{success:!0}),onAddCustomer:async e=>(console.log("Adding new customer:",e),{success:!0})}},i={args:{...c.args,initialDeal:a[0]}},d={args:{...c.args,onSubmit:async e=>(console.log("Submitting deal:",e),{success:!1,error:"Failed to submit deal"}),onAddCustomer:async e=>(console.log("Adding new customer:",e),{success:!1,error:"Failed to add customer"})}};export{c as Default,i as EditExistingDeal,d as FailedAPI,u as default};
|