cortex-react-components 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZC2N76FR.mjs → chunk-2DFHHXVF.mjs} +1 -1
- package/dist/{chunk-KAAPUG4M.mjs → chunk-2ZFONB6D.mjs} +1 -1
- package/dist/{chunk-LZWYP4ID.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-XHRPO3DH.mjs → chunk-3ULIS6GM.mjs} +1 -1
- package/dist/{chunk-FLVPDO7B.mjs → chunk-4MNYZ3VG.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-FNCXXX4V.mjs → chunk-66ZAIUUI.mjs} +1 -1
- package/dist/{chunk-LF3DTAUD.mjs → chunk-BG4CGVSG.mjs} +1 -1
- package/dist/{chunk-ZMNLKXWL.mjs → chunk-BQQUZJRS.mjs} +1 -1
- package/dist/{chunk-KUZI6GLM.mjs → chunk-ETU7V76A.mjs} +1 -1
- package/dist/chunk-EVXXDGB5.mjs +1 -0
- package/dist/chunk-FNXBIW3Q.mjs +1 -0
- package/dist/{chunk-UAEO5CJO.mjs → chunk-FV54JBLJ.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-MEFLNKZR.mjs → chunk-HM23H5RT.mjs} +1 -1
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-VYTPNSGC.mjs → chunk-ITU7C5FD.mjs} +1 -1
- package/dist/{chunk-ECEPE5I4.mjs → chunk-J4WWW7JZ.mjs} +1 -1
- package/dist/{chunk-EV5IOYFF.mjs → chunk-K5QOQSAS.mjs} +1 -1
- package/dist/{chunk-QZQRKXUM.mjs → chunk-NGAHEN2R.mjs} +1 -1
- package/dist/{chunk-J2NXPJIK.mjs → chunk-NH74CS36.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-VZKLCHD4.mjs → chunk-OMZBJY76.mjs} +1 -1
- package/dist/{chunk-7TWF6ZKG.mjs → chunk-QN26GI2T.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-4KDRHMVB.mjs → chunk-W4TZ3J2T.mjs} +1 -1
- package/dist/{chunk-U5ACDJAM.mjs → chunk-WKQSTYZP.mjs} +1 -1
- package/dist/{chunk-QQYD2M65.mjs → chunk-WR4OEF6T.mjs} +1 -1
- package/dist/{chunk-334XZACJ.mjs → chunk-WZQ3UMEQ.mjs} +1 -1
- package/dist/chunk-X7TVNR3Q.mjs +1 -0
- package/dist/chunk-XVXQHP54.mjs +4 -0
- package/dist/{chunk-7QL3S5IP.mjs → chunk-YH4LGOVO.mjs} +1 -1
- package/dist/{chunk-BXHRAD43.mjs → chunk-YIBBFV25.mjs} +1 -1
- package/dist/{chunk-HRTZFCXL.mjs → chunk-Z3ACMQN7.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +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.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/PricingCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +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/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.js +1 -1
- package/dist/components/Menus/Categories.stories.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.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +4 -0
- package/dist/pages/Blog.mjs +1 -0
- package/dist/pages/Blog.stories.js +4 -0
- package/dist/pages/Blog.stories.mjs +1 -0
- package/dist/pages/Documentation.mjs +2 -0
- package/dist/pages/Documentation.stories.mjs +1 -0
- package/dist/pages/IndexPage.mjs +2 -0
- package/dist/pages/IndexPage.stories.mjs +1 -0
- package/dist/pages/Intranet.mjs +1 -0
- package/dist/pages/Intranet.stories.mjs +4 -0
- package/dist/{components/Pages → pages}/LandingPage.js +1 -1
- package/dist/pages/LandingPage.mjs +2 -0
- package/dist/{components/Pages → pages}/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -0
- package/dist/{components/Pages → pages}/Page.js +1 -1
- package/dist/pages/Page.mjs +2 -0
- package/dist/{components/Pages → pages}/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -0
- package/dist/pages/Website.d.ts +3 -0
- package/dist/{components/Pages → pages}/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -0
- package/dist/{components/Pages → pages}/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -0
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.d.ts +3 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-7REKDTES.mjs +0 -4
- package/dist/chunk-JATDK6JF.mjs +0 -1
- package/dist/chunk-NH22HFO3.mjs +0 -1
- package/dist/components/Pages/Documentation.mjs +0 -2
- package/dist/components/Pages/Documentation.stories.mjs +0 -1
- package/dist/components/Pages/IndexPage.mjs +0 -2
- package/dist/components/Pages/IndexPage.stories.mjs +0 -1
- package/dist/components/Pages/Intranet.mjs +0 -1
- package/dist/components/Pages/Intranet.stories.mjs +0 -4
- package/dist/components/Pages/LandingPage.mjs +0 -2
- package/dist/components/Pages/LandingPage.stories.mjs +0 -1
- package/dist/components/Pages/Page.mjs +0 -2
- package/dist/components/Pages/Page.stories.mjs +0 -1
- package/dist/components/Pages/Website.mjs +0 -1
- package/dist/components/Pages/Website.stories.mjs +0 -1
- /package/dist/{components/Pages/Website.d.ts → pages/Blog.d.ts} +0 -0
- /package/dist/{components/Pages → pages}/Documentation.d.ts +0 -0
- /package/dist/{components/Pages → pages}/Documentation.js +0 -0
- /package/dist/{components/Pages → pages}/Documentation.stories.js +0 -0
- /package/dist/{components/Pages → pages}/IndexPage.d.ts +0 -0
- /package/dist/{components/Pages → pages}/IndexPage.js +0 -0
- /package/dist/{components/Pages → pages}/IndexPage.stories.js +0 -0
- /package/dist/{components/Pages → pages}/Intranet.d.ts +0 -0
- /package/dist/{components/Pages → pages}/Intranet.js +0 -0
- /package/dist/{components/Pages → pages}/Intranet.stories.js +0 -0
- /package/dist/{components/Pages → pages}/LandingPage.d.ts +0 -0
- /package/dist/{components/Pages → pages}/Page.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
"use strict";
|
|
4
4
|
'use server'
|
|
5
5
|
|
|
6
|
-
"use strict";var nc=Object.create;var nr=Object.defineProperty;var lc=Object.getOwnPropertyDescriptor;var cc=Object.getOwnPropertyNames;var dc=Object.getPrototypeOf,mc=Object.prototype.hasOwnProperty;var pc=(e,t)=>{for(var a in t)nr(e,a,{get:t[a],enumerable:!0})},us=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cc(t))!mc.call(e,o)&&o!==a&&nr(e,o,{get:()=>t[o],enumerable:!(r=lc(t,o))||r.enumerable});return e};var f=(e,t,a)=>(a=e!=null?nc(dc(e)):{},us(t||!e||!e.__esModule?nr(a,"default",{value:e,enumerable:!0}):a,e)),uc=e=>us(nr({},"__esModule",{value:!0}),e);var xm={};pc(xm,{AboutSection:()=>lm,Alert:()=>hi,AlertDescription:()=>yi,AlertTitle:()=>xi,Avatar:()=>Ua,AvatarFallback:()=>$a,AvatarImage:()=>Va,Badge:()=>Mr,BannerBlock:()=>ki,BlogCard:()=>gl,BlogDetail:()=>hm,BlogList:()=>vd,BlogListSection:()=>dm,BrandLogo:()=>Mt,Breadcrumb:()=>vo,BreadcrumbEllipsis:()=>Po,BreadcrumbItem:()=>xo,BreadcrumbLink:()=>yo,BreadcrumbList:()=>ho,BreadcrumbPage:()=>wo,BreadcrumbSeparator:()=>No,Button:()=>se,CMSLink:()=>lt,CallToActionBlock:()=>ja,Card:()=>Ya,Categories:()=>Qa,Checkbox:()=>Cn,CodeBlock:()=>Ii,Collapsible:()=>tt,CollapsibleContent:()=>ht,CollapsibleTrigger:()=>vt,CollectionArchive:()=>xd,Command:()=>Rr,CommandDialog:()=>hn,CommandEmpty:()=>ui,CommandGroup:()=>gi,CommandInput:()=>mi,CommandItem:()=>bi,CommandList:()=>pi,CommandSeparator:()=>fi,CommandShortcut:()=>vi,ContactSection:()=>bm,Container:()=>oe,ContentBlock:()=>Ui,CopyButton:()=>Ai,CustomLink:()=>X,CustomerCard:()=>zn,Dialog:()=>ia,DialogClose:()=>Pr,DialogContent:()=>zt,DialogDescription:()=>di,DialogFooter:()=>ci,DialogHeader:()=>Ga,DialogOverlay:()=>Cr,DialogPortal:()=>li,DialogTitle:()=>_a,DialogTrigger:()=>bn,DropdownMenu:()=>Cs,DropdownMenuCheckboxItem:()=>To,DropdownMenuContent:()=>So,DropdownMenuGroup:()=>Ss,DropdownMenuItem:()=>ko,DropdownMenuLabel:()=>Mo,DropdownMenuPortal:()=>ks,DropdownMenuRadioGroup:()=>As,DropdownMenuRadioItem:()=>Ao,DropdownMenuSeparator:()=>Io,DropdownMenuShortcut:()=>Do,DropdownMenuSub:()=>Ts,DropdownMenuSubContent:()=>Ro,DropdownMenuSubTrigger:()=>Co,DropdownMenuTrigger:()=>Rs,DynamicIcon:()=>Ee,EventCard:()=>Fn,FeatureCard:()=>En,FeatureGrid:()=>Xn,FeaturesBlock:()=>Vi,Filter:()=>Ki,Footer:()=>rm,Header:()=>om,HeaderDesktop:()=>Za,HeaderMobile:()=>er,HeadingImage:()=>Ed,HighImpactHero:()=>Qi,HoverCard:()=>pn,HoverCardContent:()=>ni,HoverCardTrigger:()=>un,Image:()=>Vn,ImageBlock:()=>Bd,InfoTile:()=>Sd,Input:()=>Ca,Insight:()=>Rd,Label:()=>si,Logo:()=>yd,LowImpactHero:()=>Zi,MOTD:()=>Td,Media:()=>dt,MediaBlock:()=>na,MediumImpactHero:()=>qi,NewsGrid:()=>qn,OrgChart:()=>Id,PageRange:()=>Pd,Pagination:()=>ji,PayloadPagination:()=>Cd,Popover:()=>on,PopoverAnchor:()=>nn,PopoverContent:()=>oi,PopoverTrigger:()=>sn,PostHero:()=>Xd,PricingCard:()=>Si,PricingSection:()=>nm,ProjectCard:()=>Un,ProjectTeam:()=>Ud,ProposalSummary:()=>Dd,RelatedContent:()=>Vd,RelatedPosts:()=>zd,RenderBlocks:()=>Hd,RenderHero:()=>Yd,RichText:()=>q,ScrollArea:()=>ai,ScrollBar:()=>Nr,SectionHero:()=>Kd,Select:()=>id,SelectContent:()=>Sn,SelectGroup:()=>sd,SelectItem:()=>Tn,SelectLabel:()=>kn,SelectScrollDownButton:()=>Pi,SelectScrollUpButton:()=>Ni,SelectSeparator:()=>An,SelectTrigger:()=>Rn,SelectValue:()=>nd,Separator:()=>Ra,ServiceCard:()=>Ri,ServiceSection:()=>sm,Sheet:()=>cr,SheetClose:()=>zs,SheetContent:()=>ka,SheetDescription:()=>Fo,SheetFooter:()=>Ho,SheetHeader:()=>Bo,SheetOverlay:()=>dr,SheetPortal:()=>Eo,SheetTitle:()=>zo,SheetTrigger:()=>Hs,Sidebar:()=>It,SidebarContent:()=>xt,SidebarFooter:()=>Lt,SidebarGroup:()=>Ie,SidebarGroupAction:()=>Wo,SidebarGroupContent:()=>_e,SidebarGroupLabel:()=>rt,SidebarHeader:()=>Dt,SidebarInput:()=>$o,SidebarInset:()=>Vo,SidebarLeft:()=>Fd,SidebarMenu:()=>xe,SidebarMenuAction:()=>Ia,SidebarMenuBadge:()=>Xo,SidebarMenuButton:()=>De,SidebarMenuItem:()=>le,SidebarMenuSkeleton:()=>jo,SidebarMenuSub:()=>yt,SidebarMenuSubButton:()=>Nt,SidebarMenuSubItem:()=>wt,SidebarProvider:()=>Go,SidebarRail:()=>Uo,SidebarRight:()=>_d,SidebarSeparator:()=>Ma,SidebarTrigger:()=>_o,SimpleHeader:()=>qd,Skeleton:()=>Y,TextAndImages:()=>Zn,Textarea:()=>In,ThemeProvider:()=>im,Toast:()=>Ea,ToastAction:()=>Qo,ToastClose:()=>Ba,ToastDescription:()=>za,ToastProvider:()=>yr,ToastTitle:()=>Ha,ToastViewport:()=>La,Toaster:()=>qs,Toggle:()=>qo,ToggleGroup:()=>Zo,ToggleGroupItem:()=>ei,Tooltip:()=>gr,TooltipContent:()=>Aa,TooltipProvider:()=>ur,TooltipTrigger:()=>fr,VerticalSlider:()=>Kn,VideoHeader:()=>tm,WhyUs:()=>Ld,badgeVariants:()=>wi,buttonVariants:()=>Ta,reducer:()=>Ys,toast:()=>Ks,toggleVariants:()=>Fa,useIsMobile:()=>pr,useSidebar:()=>ra,useToast:()=>xr});module.exports=uc(xm);var Zt=f(require("react")),lr=require("@radix-ui/react-icons"),Ps=require("@radix-ui/react-slot");var Ns=require("clsx");var bo="-",gc=e=>{let t=bc(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let n=l.split(bo);return n[0]===""&&n.length!==1&&n.shift(),bs(n,t)||fc(l)},getConflictingClassGroupIds:(l,n)=>{let c=a[l]||[];return n&&r[l]?[...c,...r[l]]:c}}},bs=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let a=e[0],r=t.nextPart.get(a),o=r?bs(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(bo);return(l=t.validators.find(({validator:n})=>n(i)))==null?void 0:l.classGroupId},gs=/^\[(.+)\]$/,fc=e=>{if(gs.test(e)){let t=gs.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},bc=e=>{let{theme:t,prefix:a}=e,r={nextPart:new Map,validators:[]};return hc(Object.entries(e.classGroups),a).forEach(([i,l])=>{fo(l,r,i,t)}),r},fo=(e,t,a,r)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:fs(t,o);i.classGroupId=a;return}if(typeof o=="function"){if(vc(o)){fo(o(r),t,a,r);return}t.validators.push({validator:o,classGroupId:a});return}Object.entries(o).forEach(([i,l])=>{fo(l,fs(t,i),a,r)})})},fs=(e,t)=>{let a=e;return t.split(bo).forEach(r=>{a.nextPart.has(r)||a.nextPart.set(r,{nextPart:new Map,validators:[]}),a=a.nextPart.get(r)}),a},vc=e=>e.isThemeGetter,hc=(e,t)=>t?e.map(([a,r])=>{let o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>[t+l,n])):i);return[a,o]}):e,xc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,r=new Map,o=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,r=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return o(i,l),l},set(i,l){a.has(i)?a.set(i,l):o(i,l)}}},vs="!",yc=e=>{let{separator:t,experimentalParseClassName:a}=e,r=t.length===1,o=t[0],i=t.length,l=n=>{let c=[],d=0,p=0,u;for(let w=0;w<n.length;w++){let B=n[w];if(d===0){if(B===o&&(r||n.slice(w,w+i)===t)){c.push(n.slice(p,w)),p=w+i;continue}if(B==="/"){u=w;continue}}B==="["?d++:B==="]"&&d--}let m=c.length===0?n:n.substring(p),x=m.startsWith(vs),E=x?m.substring(1):m,b=u&&u>p?u-p:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:E,maybePostfixModifierPosition:b}};return a?n=>a({className:n,parseClassName:l}):l},wc=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(r=>{r[0]==="["?(t.push(...a.sort(),r),a=[]):a.push(r)}),t.push(...a.sort()),t},Nc=e=>({cache:xc(e.cacheSize),parseClassName:yc(e),...gc(e)}),Pc=/\s+/,Cc=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],l=e.trim().split(Pc),n="";for(let c=l.length-1;c>=0;c-=1){let d=l[c],{modifiers:p,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:x}=a(d),E=!!x,b=r(E?m.substring(0,x):m);if(!b){if(!E){n=d+(n.length>0?" "+n:n);continue}if(b=r(m),!b){n=d+(n.length>0?" "+n:n);continue}E=!1}let w=wc(p).join(":"),B=u?w+vs:w,H=B+b;if(i.includes(H))continue;i.push(H);let ue=o(b,E);for(let qe=0;qe<ue.length;++qe){let Qt=ue[qe];i.push(B+Qt)}n=d+(n.length>0?" "+n:n)}return n};function Rc(){let e=0,t,a,r="";for(;e<arguments.length;)(t=arguments[e++])&&(a=hs(t))&&(r&&(r+=" "),r+=a);return r}var hs=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=hs(e[r]))&&(a&&(a+=" "),a+=t);return a};function Sc(e,...t){let a,r,o,i=l;function l(c){let d=t.reduce((p,u)=>u(p),e());return a=Nc(d),r=a.cache.get,o=a.cache.set,i=n,n(c)}function n(c){let d=r(c);if(d)return d;let p=Cc(c,a);return o(c,p),p}return function(){return i(Rc.apply(null,arguments))}}var U=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},xs=/^\[(?:([a-Me-]+):)?(.+)\]$/i,kc=/^\d+\/\d+$/,Tc=new Set(["px","full","screen"]),Ac=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mc=/\d+(%|px|r?em|[sdl]?Me([hwib]|min|max)|Me|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Me|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ic=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dc=/^(inset_)?-?((\d+)?\.?(\d+)[a-Me]+|0)Me-?((\d+)?\.?(\d+)[a-Me]+|0)/,Lc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,et=e=>Jt(e)||Tc.has(e)||kc.test(e),ft=e=>qt(e,"length",_c),Jt=e=>!!e&&!Number.isNaN(Number(e)),go=e=>qt(e,"number",Jt),Na=e=>!!e&&Number.isInteger(Number(e)),Ec=e=>e.endsWith("%")&&Jt(e.slice(0,-1)),N=e=>xs.test(e),bt=e=>Ac.test(e),Bc=new Set(["length","size","percentage"]),Hc=e=>qt(e,Bc,ys),zc=e=>qt(e,"position",ys),Fc=new Set(["image","url"]),Oc=e=>qt(e,Fc,Vc),Gc=e=>qt(e,"",Uc),Pa=()=>!0,qt=(e,t,a)=>{let r=xs.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):a(r[2]):!1},_c=e=>Mc.test(e)&&!Ic.test(e),ys=()=>!1,Uc=e=>Dc.test(e),Vc=e=>Lc.test(e);var $c=()=>{let e=U("colors"),t=U("spacing"),a=U("blur"),r=U("brightness"),o=U("borderColor"),i=U("borderRadius"),l=U("borderSpacing"),n=U("borderWidth"),c=U("contrast"),d=U("grayscale"),p=U("hueRotate"),u=U("invert"),m=U("gap"),x=U("gradientColorStops"),E=U("gradientColorStopPositions"),b=U("inset"),w=U("margin"),B=U("opacity"),H=U("padding"),ue=U("saturate"),qe=U("scale"),Qt=U("sepia"),or=U("skew"),ns=U("space"),ls=U("translate"),co=()=>["auto","contain","none"],mo=()=>["auto","hidden","clip","visible","scroll"],po=()=>["auto",N,t],W=()=>[N,t],cs=()=>["",et,ft],ir=()=>["auto",Jt,N],ds=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],sr=()=>["solid","dashed","dotted","double","none"],ms=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],uo=()=>["start","end","center","between","around","evenly","stretch"],wa=()=>["","0",N],ps=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Ze=()=>[Jt,N];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[et,ft],blur:["none","",bt,N],brightness:Ze(),borderColor:[e],borderRadius:["none","","full",bt,N],borderSpacing:W(),borderWidth:cs(),contrast:Ze(),grayscale:wa(),hueRotate:Ze(),invert:wa(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[Ec,ft],inset:po(),margin:po(),opacity:Ze(),padding:W(),saturate:Ze(),scale:Ze(),sepia:wa(),skew:Ze(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[bt]}],"break-after":[{"break-after":ps()}],"break-before":[{"break-before":ps()}],"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:[...ds(),N]}],overflow:[{overflow:mo()}],"overflow-x":[{"overflow-x":mo()}],"overflow-Me":[{"overflow-Me":mo()}],overscroll:[{overscroll:co()}],"overscroll-x":[{"overscroll-x":co()}],"overscroll-Me":[{"overscroll-Me":co()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-Me":[{"inset-Me":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],Me:[{Me:["auto",Na,N]}],basis:[{basis:po()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:wa()}],shrink:[{shrink:wa()}],order:[{order:["first","last","none",Na,N]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Na,N]},N]}],"col-start":[{"col-start":ir()}],"col-end":[{"col-end":ir()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Na,N]},N]}],"row-start":[{"row-start":ir()}],"row-end":[{"row-end":ir()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-Me":[{"gap-Me":[m]}],"justify-content":[{justify:["normal",...uo()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...uo(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...uo(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[H]}],px:[{px:[H]}],py:[{py:[H]}],ps:[{ps:[H]}],Me:[{Me:[H]}],Me:[{Me:[H]}],pr:[{pr:[H]}],pb:[{pb:[H]}],pl:[{pl:[H]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Me:[{Me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],Me:[{Me:[w]}],"space-x":[{"space-x":[ns]}],"space-x-reverse":["space-x-reverse"],"space-Me":[{"space-Me":[ns]}],"space-Me-reverse":["space-Me-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[bt]},bt]}],Me:[{Me:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Me":[{"min-Me":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Me":[{"max-Me":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",bt,ft]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",go]}],"font-family":[{font:[Pa]}],"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",N]}],"line-clamp":[{"line-clamp":["none",Jt,go]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",et,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","Er-underline"],"text-decoration-style":[{decoration:[...sr(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",et,ft]}],"underline-offset":[{"underline-offset":["auto",et,N]}],"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:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],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",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ds(),zc]}],"bg-repeat":[{bg:["Er-repeat",{repeat:["","x","Me","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hc]}],"bg-image":[{bg:["none",{"gradient-to":["t","mr","r","br","b","bl","l","tl"]},Oc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-Me":[{"rounded-Me":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-mr":[{"rounded-mr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-Me":[{"border-Me":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[...sr(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-Me":[{"divide-Me":[n]}],"divide-Me-reverse":["divide-Me-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:sr()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-Me":[{"border-Me":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...sr()]}],"outline-offset":[{"outline-offset":[et,N]}],"outline-w":[{outline:[et,ft]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:cs()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[et,ft]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bt,Gc]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...ms(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ms()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",bt,N]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[u]}],saturate:[{saturate:[ue]}],sepia:[{sepia:[Qt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[ue]}],"backdrop-sepia":[{"backdrop-sepia":[Qt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-Me":[{"border-spacing-Me":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:Ze()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:Ze()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[qe]}],"scale-x":[{"scale-x":[qe]}],"scale-Me":[{"scale-Me":[qe]}],rotate:[{rotate:[Na,N]}],"translate-x":[{"translate-x":[ls]}],"translate-Me":[{"translate-Me":[ls]}],"skew-x":[{"skew-x":[or]}],"skew-Me":[{"skew-Me":[or]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],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","Er-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Me-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Me","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-Me":[{"scroll-Me":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Me","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Me":[{"touch-pan":["Me","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[et,ft,go]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Me"],overscroll:["overscroll-x","overscroll-Me"],inset:["inset-x","inset-Me","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Me":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Me"],p:["px","py","ps","Me","Me","pr","pb","pl"],px:["pr","pl"],py:["Me","pb"],m:["mx","my","ms","Me","mt","mr","mb","Me"],mx:["mr","Me"],my:["mt","mb"],size:["w","Me"],"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-Me","rounded-es","rounded-tl","rounded-mr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Me"],"rounded-t":["rounded-tl","rounded-mr"],"rounded-r":["rounded-mr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Me"],"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-Me":["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-Me":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Me","scroll-mt","scroll-mr","scroll-mb","scroll-Me"],"scroll-mx":["scroll-mr","scroll-Me"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Me","scroll-Me","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Me","scroll-pb"],touch:["touch-x","touch-Me","touch-pz"],"touch-x":["touch"],"touch-Me":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ws=Sc($c);function s(...e){return ws((0,Ns.clsx)(e))}var Me=require("react/jsx-runtime"),vo=Zt.forwardRef(({...e},t)=>(0,Me.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));vo.displayName="Breadcrumb";var ho=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("ol",{ref:a,className:s("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));ho.displayName="BreadcrumbList";var xo=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));xo.displayName="BreadcrumbItem";var yo=Zt.forwardRef(({asChild:e,className:t,...a},r)=>(0,Me.jsx)(e?Ps.Slot:"a",{ref:r,className:s("transition-colors hover:text-foreground",t),...a}));yo.displayName="BreadcrumbLink";var wo=Zt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));wo.displayName="BreadcrumbPage";var No=({children:e,className:t,...a})=>(0,Me.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:Me-3.5",t),...a,children:e!=null?e:(0,Me.jsx)(lr.ChevronRightIcon,{})});No.displayName="BreadcrumbSeparator";var Po=({className:e,...t})=>(0,Me.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex Me-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(lr.DotsHorizontalIcon,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More"})]});Po.displayName="BreadcrumbElipssis";var ea=f(require("@radix-ui/react-collapsible")),tt=ea.Root,vt=ea.CollapsibleTrigger,ht=ea.CollapsibleContent;var at=f(require("react")),R=f(require("@radix-ui/react-dropdown-menu"));var Cs=R.Root,Rs=R.Trigger,Ss=R.Group,ks=R.Portal,Ts=R.Sub,As=R.RadioGroup,Co=at.forwardRef(({className:e,inset:t,children:a,...r},o)=>(0,Me.jsxs)(R.SubTrigger,{ref:o,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[a,(0,Me.jsx)(lr.ChevronRightIcon,{className:"Me-auto"})]}));Co.displayName=R.SubTrigger.displayName;var Ro=at.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.SubContent,{ref:a,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ro.displayName=R.SubContent.displayName;var So=at.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,Me.jsx)(R.Portal,{children:(0,Me.jsx)(R.Content,{ref:r,sideOffset:t,className:s("Me-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));So.displayName=R.Content.displayName;var ko=at.forwardRef(({className:e,inset:t,...a},r)=>(0,Me.jsx)(R.Item,{ref:r,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));ko.displayName=R.Item.displayName;var To=at.forwardRef(({className:e,children:t,checked:a,...r},o)=>(0,Me.jsxs)(R.CheckboxItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...r,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex Me-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(lr.CheckIcon,{className:"Me-4 w-4"})})}),t]}));To.displayName=R.CheckboxItem.displayName;var Ao=at.forwardRef(({className:e,children:t,...a},r)=>(0,Me.jsxs)(R.RadioItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex Me-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(R.ItemIndicator,{children:(0,Me.jsx)(lr.DotFilledIcon,{className:"Me-4 w-4 fill-current"})})}),t]}));Ao.displayName=R.RadioItem.displayName;var Mo=at.forwardRef(({className:e,inset:t,...a},r)=>(0,Me.jsx)(R.Label,{ref:r,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));Mo.displayName=R.Label.displayName;var Io=at.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(R.Separator,{ref:a,className:s("-mx-1 my-1 Me-px bg-muted",e),...t}));Io.displayName=R.Separator.displayName;var Do=({className:e,...t})=>(0,Me.jsx)("span",{className:s("Me-auto text-xs tracking-widest opacity-60",e),...t});Do.displayName="DropdownMenuShortcut";var Ms=f(require("react"));var Ca=Ms.forwardRef(({className:e,type:t,...a},r)=>(0,Me.jsx)("input",{type:t,className:s("flex Me-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...a}));Ca.displayName="Input";var Ds=f(require("react")),Lo=f(require("@radix-ui/react-separator"));var Ra=Ds.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...r},o)=>(0,Me.jsx)(Lo.Root,{ref:o,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"Me-[1px] w-full":"Me-full w-[1px]",e),...r}));Ra.displayName=Lo.Root.displayName;var Sa=f(require("react")),j=f(require("@radix-ui/react-dialog")),Bs=require("class-variance-authority");var cr=j.Root,Hs=j.Trigger,zs=j.Close,Eo=j.Portal,dr=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Overlay,{className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));dr.displayName=j.Overlay.displayName;var Wc=(0,Bs.cva)("fixed Me-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-Me-0 left-0 Me-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-Me-0 right-0 Me-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ka=Sa.forwardRef(({side:e="right",className:t,children:a,...r},o)=>(0,Me.jsxs)(Eo,{children:[(0,Me.jsx)(dr,{}),(0,Me.jsxs)(j.Content,{ref:o,className:s(Wc({side:e}),t),...r,children:[(0,Me.jsxs)(j.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Me.jsx)(lr.Cross2Icon,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ka.displayName=j.Content.displayName;var Bo=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-2 text-center sm:text-left",e),...t});Bo.displayName="SheetHeader";var Ho=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ho.displayName="SheetFooter";var zo=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));zo.displayName=j.Title.displayName;var Fo=Sa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(j.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));Fo.displayName=j.Description.displayName;var S=f(require("react")),Ws=require("lucide-react");var mr=require("react"),pr=(e=768)=>{let[t,a]=(0,mr.useState)(!1);return(0,mr.useEffect)(()=>{let r=()=>{a(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Gs=f(require("react")),Ta=(0,Bs.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:"Me-10 px-4 py-2",icon:"Me-10 w-10",lg:"Me-11 rounded px-8",sm:"Me-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),se=Gs.forwardRef(({asChild:e=!1,className:t,size:a,variant:r,...o},i)=>(0,Me.jsx)(e?Ps.Slot:"button",{className:s(Ta({className:t,size:a,variant:r})),ref:i,...o}));se.displayName="Button";function Y({className:e,...t}){return(0,Me.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var Vs=f(require("react")),Ge=f(require("@radix-ui/react-tooltip"));var ur=Ge.Provider,gr=Ge.Root,fr=Ge.Trigger,Aa=Vs.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,Me.jsx)(Ge.Portal,{children:(0,Me.jsx)(Ge.Content,{ref:r,sideOffset:t,className:s("Me-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Aa.displayName=Ge.Content.displayName;var Xc="sidebar:state",jc=60*60*24*7,Yc="16rem",Kc="18rem",Qc="3rem",Jc="b",Xs=S.createContext(null);function ra(){let e=S.useContext(Xs);if(!e)throw new Error("useSidebar must Me used within a SidebarProvider.");return e}var Go=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:r,style:o,children:i,...l},n)=>{let c=pr(),[d,p]=S.useState(!1),[u,m]=S.useState(e),x=t!=null?t:u,E=S.useCallback(H=>{if(a)return a==null?void 0:a(typeof H=="function"?H(x):H);m(H),document.cookie=`${Xc}=${x}; path=/; max-age=${jc}`},[a,x]),b=S.useCallback(()=>c?p(H=>!H):E(H=>!H),[c,E,p]);S.useEffect(()=>{let H=ue=>{ue.key===Jc&&(ue.metaKey||ue.ctrlKey)&&(ue.preventDefault(),b())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[b]);let w=x?"expanded":"collapsed",B=S.useMemo(()=>({state:w,open:x,setOpen:E,isMobile:c,openMobile:d,setOpenMobile:p,toggleSidebar:b}),[w,x,E,c,d,p,b]);return(0,Me.jsx)(Xs.Provider,{value:B,children:(0,Me.jsx)(ur,{delayDuration:0,children:(0,Me.jsx)("div",{style:{"--sidebar-width":Yc,"--sidebar-width-icon":Qc,...o},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:n,...l,children:i})})})});Go.displayName="SidebarProvider";var It=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:r,children:o,...i},l)=>{let{isMobile:n,state:c,openMobile:d,setOpenMobile:p}=ra();return a==="none"?(0,Me.jsx)("div",{className:s("flex Me-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...i,children:o}):n?(0,Me.jsx)(cr,{open:d,onOpenChange:p,...i,children:(0,Me.jsx)(ka,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Kc},side:e,children:(0,Me.jsx)("div",{className:"flex Me-full w-full flex-col",children:o})})}):(0,Me.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Me.jsx)("div",{className:s("duration-200 relative Me-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Me+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Me.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 Me-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Me+_theme(spacing.4)Me+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:(0,Me.jsx)("div",{"data-sidebar":"sidebar",className:"flex Me-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});It.displayName="Sidebar";var _o=S.forwardRef(({className:e,onClick:t,...a},r)=>{let{toggleSidebar:o}=ra();return(0,Me.jsxs)(se,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("Me-7 w-7",e),onClick:i=>{t==null||t(i),o()},...a,children:[(0,Me.jsx)(Ws.PanelLeft,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});_o.displayName="SidebarTrigger";var Uo=S.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:r}=ra();return(0,Me.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:s("absolute inset-Me-0 Me-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-Me-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]Me&]:cursor-w-resize [[data-side=right]Me&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Me&]:cursor-e-resize [[data-side=right][data-state=collapsed]Me&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Me&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Me&]:-left-2",e),...t})});Uo.displayName="SidebarRail";var Vo=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-Me-auto relative max-Me-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:Me-2 md:peer-data-[variant=inset]:Me-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Vo.displayName="SidebarInset";var $o=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ca,{ref:a,"data-sidebar":"input",className:s("Me-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));$o.displayName="SidebarInput";var Dt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 p-2",e),...t}));Dt.displayName="SidebarHeader";var Lt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 p-2",e),...t}));Lt.displayName="SidebarFooter";var Ma=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Ra,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var xt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-Me-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));xt.displayName="SidebarContent";var Ie=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col p-2",e),...t}));Ie.displayName="SidebarGroup";var rt=S.forwardRef(({className:e,asChild:t=!1,...a},r)=>(0,Me.jsx)(t?Ps.Slot:"div",{ref:r,"data-sidebar":"group-label",className:s("duration-200 flex Me-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));rt.displayName="SidebarGroupLabel";var Wo=S.forwardRef(({className:e,asChild:t=!1,...a},r)=>(0,Me.jsx)(t?Ps.Slot:"button",{ref:r,"data-sidebar":"group-action",className:s("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));Wo.displayName="SidebarGroupAction";var _e=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));_e.displayName="SidebarGroupContent";var xe=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Er",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));xe.displayName="SidebarMenu";var le=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));le.displayName="SidebarMenuItem";var qc=(0,$s.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"Me-8 text-sm",sm:"Me-7 text-xs",lg:"Me-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),De=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:r="default",tooltip:o,className:i,...l},n)=>{let c=e?Ps.Slot:"button",{isMobile:d,state:p}=ra(),u=(0,Me.jsx)(c,{ref:n,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:s(qc({variant:a,size:r}),i),...l});return o?(typeof o=="string"&&(o={children:o}),(0,Me.jsxs)(gr,{children:[(0,Me.jsx)(fr,{asChild:!0,children:u}),(0,Me.jsx)(Aa,{side:"right",align:"center",hidden:p!=="collapsed"||d,...o})]})):u});De.displayName="SidebarMenuButton";var Ia=S.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...r},o)=>(0,Me.jsx)(t?Ps.Slot:"button",{ref:o,"data-sidebar":"menu-action",className:s("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...r}));Ia.displayName="SidebarMenuAction";var Xo=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex Me-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Xo.displayName="SidebarMenuBadge";var jo=S.forwardRef(({className:e,showIcon:t=!1,...a},r)=>{let o=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Me.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:s("rounded-md Me-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Me.jsx)(Y,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Me.jsx)(Y,{className:"Me-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});jo.displayName="SidebarMenuSkeleton";var yt=S.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Er",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yt.displayName="SidebarMenuSub";var wt=S.forwardRef(({...e},t)=>(0,Me.jsx)("li",{ref:t,...e}));wt.displayName="SidebarMenuSubItem";var Nt=S.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:r,...o},i)=>(0,Me.jsx)(e?Ps.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex Me-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o}));Nt.displayName="SidebarMenuSubButton";var hr=f(require("react")),Zc=1,ed=1e6;var Yo=0;function td(){return Yo=(Yo+1)%Number.MAX_SAFE_INTEGER,Yo.toString()}var Ko=new Map,js=e=>{if(Ko.has(e))return;let t=setTimeout(()=>{Ko.delete(e),Da({type:"REMOVE_TOAST",toastId:e})},ed);Ko.set(e,t)},Ys=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Zc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?js(a):e.toasts.forEach(r=>{js(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},br=[],vr={toasts:[]};function Da(e){vr=Ys(vr,e),br.forEach(t=>{t(vr)})}function Ks({...e}){let t=td(),a=o=>Da({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Da({type:"DISMISS_TOAST",toastId:t});return Da({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:a}}function xr(){let[e,t]=hr.useState(vr);return hr.useEffect(()=>(br.push(t),()=>{let a=br.indexOf(t);a>-1&&br.splice(a,1)}),[e]),{...e,toast:Ks,dismiss:a=>Da({type:"DISMISS_TOAST",toastId:a})}}var Et=f(require("react")),Z=f(require("@radix-ui/react-toast"));var yr=Z.Provider,La=Et.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Viewport,{ref:a,className:s("fixed top-0 Me-[100] flex max-Me-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));La.displayName=Z.Viewport.displayName;var ad=(0,Bs.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Ea=Et.forwardRef(({className:e,variant:t,...a},r)=>(0,Me.jsx)(Z.Root,{ref:r,className:s(ad({variant:t}),e),...a}));Ea.displayName=Z.Root.displayName;var Qo=Et.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Action,{ref:a,className:s("inline-flex Me-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Qo.displayName=Z.Action.displayName;var Ba=Et.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Close,{ref:a,className:s("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Me.jsx)(Ws.X,{className:"Me-4 w-4"})}));Ba.displayName=Z.Close.displayName;var Ha=Et.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Ha.displayName=Z.Title.displayName;var za=Et.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Z.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));za.displayName=Z.Description.displayName;function qs(){let{toasts:e}=xr();return(0,Me.jsxs)(yr,{children:[e.map(function({id:t,title:a,description:r,action:o,...i}){return(0,Me.jsxs)(Ea,{...i,children:[(0,Me.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Me.jsx)(Ha,{children:a}),r&&(0,Me.jsx)(za,{children:r})]}),o,(0,Me.jsx)(Ba,{})]},t)}),(0,Me.jsx)(La,{})]})}var Zs=f(require("react")),Jo=f(require("@radix-ui/react-toggle"));var Fa=(0,Bs.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"Me-9 px-2 min-w-9",sm:"Me-8 px-1.5 min-w-8",lg:"Me-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),qo=Zs.forwardRef(({className:e,variant:t,size:a,...r},o)=>(0,Me.jsx)(Jo.Root,{ref:o,className:s(Fa({variant:t,size:a,className:e})),...r}));qo.displayName=Jo.Root.displayName;var Bt=f(require("react")),oa=f(require("@radix-ui/react-toggle-group"));var an=Bt.createContext({size:"default",variant:"default"}),Zo=Bt.forwardRef(({className:e,variant:t,size:a,children:r,...o},i)=>(0,Me.jsx)(oa.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...o,children:(0,Me.jsx)(an.Provider,{value:{variant:t,size:a},children:r})}));Zo.displayName=oa.Root.displayName;var ei=Bt.forwardRef(({className:e,children:t,variant:a,size:r,...o},i)=>{let l=Bt.useContext(an);return(0,Me.jsx)(oa.Item,{ref:i,className:s(Fa({variant:l.variant||a,size:l.size||r}),e),...o,children:t})});ei.displayName=oa.Item.displayName;var ti=f(require("react")),Le=f(require("@radix-ui/react-scroll-area"));var ai=ti.forwardRef(({className:e,children:t,...a},r)=>(0,Me.jsxs)(Le.Root,{ref:r,className:s("relative overflow-hidden",e),...a,children:[(0,Me.jsx)(Le.Viewport,{className:"Me-full w-full rounded-[inherit]",children:t}),(0,Me.jsx)(Nr,{}),(0,Me.jsx)(Le.Corner,{})]}));ai.displayName=Le.Root.displayName;var Nr=ti.forwardRef(({className:e,orientation:t="vertical",...a},r)=>(0,Me.jsx)(Le.ScrollAreaScrollbar,{ref:r,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"Me-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"Me-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Me.jsx)(Le.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Nr.displayName=Le.ScrollAreaScrollbar.displayName;var rn=f(require("react")),Ue=f(require("@radix-ui/react-popover"));var on=Ue.Root,sn=Ue.Trigger,nn=Ue.Anchor,oi=rn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>(0,Me.jsx)(Ue.Portal,{children:(0,Me.jsx)(Ue.Content,{ref:o,align:t,sideOffset:a,className:s("Me-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));oi.displayName=Ue.Content.displayName;var ln=f(require("react")),ii=f(require("@radix-ui/react-label"));var rd=(0,Bs.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),si=ln.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(ii.Root,{ref:a,className:s(rd(),e),...t}));si.displayName=ii.Root.displayName;var mn=f(require("react")),Ht=f(require("@radix-ui/react-hover-card"));var pn=Ht.Root,un=Ht.Trigger,ni=mn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>(0,Me.jsx)(Ht.Content,{ref:o,align:t,sideOffset:a,className:s("Me-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));ni.displayName=Ht.Content.displayName;var Oa=f(require("react")),K=f(require("@radix-ui/react-dialog"));var ia=K.Root,bn=K.Trigger,li=K.Portal,Pr=K.Close,Cr=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Overlay,{ref:a,className:s("fixed inset-0 Me-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Cr.displayName=K.Overlay.displayName;var zt=Oa.forwardRef(({className:e,children:t,...a},r)=>(0,Me.jsxs)(li,{children:[(0,Me.jsx)(Cr,{}),(0,Me.jsxs)(K.Content,{ref:r,className:s("fixed left-[50%] top-[50%] Me-50 grid w-full max-w-lg translate-x-[-50%] translate-Me-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,Me.jsxs)(K.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Me.jsx)(Ws.X,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));zt.displayName=K.Content.displayName;var Ga=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col space-Me-1.5 text-center sm:text-left",e),...t});Ga.displayName="DialogHeader";var ci=({className:e,...t})=>(0,Me.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ci.displayName="DialogFooter";var _a=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));_a.displayName=K.Title.displayName;var di=Oa.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(K.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));di.displayName=K.Description.displayName;var Rt=f(require("react")),fe=require("cmdk");var Rr=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command,{ref:a,className:s("flex Me-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Rr.displayName=fe.Command.displayName;var hn=({children:e,...t})=>(0,Me.jsx)(ia,{...t,children:(0,Me.jsx)(zt,{className:"overflow-hidden p-0",children:(0,Me.jsx)(Rr,{className:"[&Me[cmdk-group-heading]]:px-2 [&Me[cmdk-group-heading]]:font-medium [&Me[cmdk-group-heading]]:text-muted-foreground [&Me[cmdk-group]:not([hidden])Me~[cmdk-group]]:Me-0 [&Me[cmdk-group]]:px-2 [&Me[cmdk-input-wrapper]_svg]:Me-5 [&Me[cmdk-input-wrapper]_svg]:w-5 [&Me[cmdk-input]]:Me-12 [&Me[cmdk-item]]:px-2 [&Me[cmdk-item]]:py-3 [&Me[cmdk-item]_svg]:Me-5 [&Me[cmdk-item]_svg]:w-5",children:e})})}),mi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Me.jsx)(Ws.Search,{className:"mr-2 Me-4 w-4 shrink-0 opacity-50"}),(0,Me.jsx)(fe.Command.Input,{ref:a,className:s("flex Me-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));mi.displayName=fe.Command.Input.displayName;var pi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.List,{ref:a,className:s("max-Me-[300px] overflow-Me-auto overflow-x-hidden",e),...t}));pi.displayName=fe.Command.List.displayName;var ui=Rt.forwardRef((e,t)=>(0,Me.jsx)(fe.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));ui.displayName=fe.Command.Empty.displayName;var gi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Group,{ref:a,className:s("overflow-hidden p-1 text-foreground [&Me[cmdk-group-heading]]:px-2 [&Me[cmdk-group-heading]]:py-1.5 [&Me[cmdk-group-heading]]:text-xs [&Me[cmdk-group-heading]]:font-medium [&Me[cmdk-group-heading]]:text-muted-foreground",e),...t}));gi.displayName=fe.Command.Group.displayName;var fi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Separator,{ref:a,className:s("-mx-1 Me-px bg-border",e),...t}));fi.displayName=fe.Command.Separator.displayName;var bi=Rt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(fe.Command.Item,{ref:a,className:s("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));bi.displayName=fe.Command.Item.displayName;var vi=({className:e,...t})=>(0,Me.jsx)("span",{className:s("Me-auto text-xs tracking-widest text-muted-foreground",e),...t});vi.displayName="CommandShortcut";var Sr=f(require("react"));var od=(0,Bs.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-Me-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),hi=Sr.forwardRef(({className:e,variant:t,...a},r)=>(0,Me.jsx)("div",{ref:r,role:"alert",className:s(od({variant:t}),e),...a}));hi.displayName="Alert";var xi=Sr.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));xi.displayName="AlertTitle";var yi=Sr.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));yi.displayName="AlertDescription";var Tr=f(require("react")),it=f(require("@radix-ui/react-avatar"));var Ua=Tr.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(it.Root,{ref:a,className:s("relative flex Me-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ua.displayName=it.Root.displayName;var Va=Tr.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(it.Image,{ref:a,className:s("aspect-square Me-full w-full",e),...t}));Va.displayName=it.Image.displayName;var $a=Tr.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(it.Fallback,{ref:a,className:s("flex Me-full w-full items-center justify-center rounded-full bg-muted",e),...t}));$a.displayName=it.Fallback.displayName;var wi=(0,Bs.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Mr({className:e,variant:t,...a}){return(0,Me.jsx)("div",{className:s(wi({variant:t}),e),...a})}var Wa=f(require("@radix-ui/react-checkbox")),Pn=f(require("react")),Cn=Pn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(Wa.Root,{className:s("peer Me-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Me.jsx)(Wa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,Me.jsx)(Ws.Check,{className:"Me-4 w-4"})})}));Cn.displayName=Wa.Root.displayName;var T=f(require("@radix-ui/react-select")),St=f(require("react")),id=T.Root,sd=T.Group,nd=T.Value,Rn=St.forwardRef(({children:e,className:t,...a},r)=>(0,Me.jsxs)(T.Trigger,{className:s("flex Me-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...a,children:[e,(0,Me.jsx)(T.Icon,{asChild:!0,children:(0,Me.jsx)(Ws.ChevronDown,{className:"Me-4 w-4 opacity-50"})})]}));Rn.displayName=T.Trigger.displayName;var Ni=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Ws.ChevronUp,{className:"Me-4 w-4"})}));Ni.displayName=T.ScrollUpButton.displayName;var Pi=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Me.jsx)(Ws.ChevronDown,{className:"Me-4 w-4"})}));Pi.displayName=T.ScrollDownButton.displayName;var Sn=St.forwardRef(({children:e,className:t,position:a="popper",...r},o)=>(0,Me.jsx)(T.Portal,{children:(0,Me.jsxs)(T.Content,{className:s("relative Me-50 max-Me-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-Me-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Me-1",t),position:a,ref:o,...r,children:[(0,Me.jsx)(Ni,{}),(0,Me.jsx)(T.Viewport,{className:s("p-1",a==="popper"&&"Me-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Me.jsx)(Pi,{})]})}));Sn.displayName=T.Content.displayName;var kn=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.Label,{className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));kn.displayName=T.Label.displayName;var Tn=St.forwardRef(({children:e,className:t,...a},r)=>(0,Me.jsxs)(T.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...a,children:[(0,Me.jsx)("span",{className:"absolute left-2 flex Me-3.5 w-3.5 items-center justify-center",children:(0,Me.jsx)(T.ItemIndicator,{children:(0,Me.jsx)(Ws.Check,{className:"Me-4 w-4"})})}),(0,Me.jsx)(T.ItemText,{children:e})]}));Tn.displayName=T.Item.displayName;var An=St.forwardRef(({className:e,...t},a)=>(0,Me.jsx)(T.Separator,{className:s("-mx-1 my-1 Me-px bg-muted",e),ref:a,...t}));An.displayName=T.Separator.displayName;var Mn=f(require("react")),In=Mn.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("textarea",{className:s("flex min-Me-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));In.displayName="Textarea";var Ee=({type:e="solid",iconName:t="cloud",size:a="lg",className:r})=>{let o=e.includes("Ae-")?e+" ":"Ae-"+e+" ",i="Ae-"+t,l=r!=null?r:"",n=o+i+" Ae-"+a+" "+l;return(0,Me.jsx)("i",{className:n})};var En=({title:e,description:t,iconName:a,iconStyle:r,color:o})=>(0,Me.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[o]} p-6 flex flex-col items-center text-center`,children:[(0,Me.jsx)("div",{className:"w-12 Me-12 ",children:(0,Me.jsx)(Ee,{type:r,iconName:a,className:"w-12 Me-12 text-white"})}),(0,Me.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Me.jsx)("p",{className:"text-white text-sm",children:t})]});var Bn=f(require("next/image")),Hn=f(require("next/link"));var Gt=f(require("react"));var ce=Gt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ce.displayName="Card";var Be=Gt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex flex-col space-Me-1.5 p-6",e),...t}));Be.displayName="CardHeader";var He=Gt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));He.displayName="CardTitle";var ld=Gt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ld.displayName="CardDescription";var ye=Gt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("p-6 Me-0",e),...t}));ye.displayName="CardContent";var cd=Gt.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("div",{ref:a,className:s("flex items-center p-6 Me-0",e),...t}));cd.displayName="CardFooter";function zn({name:e,logo:t,href:a}){return(0,Me.jsx)(ce,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Me.jsxs)(Hn.default,{href:a,className:"block",children:[(0,Me.jsx)("div",{className:"bg-white p-2 flex items-center justify-center Me-24",children:(0,Me.jsx)("div",{className:"relative w-full Me-full",children:t&&(0,Me.jsx)(Bn.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Me.jsx)(ye,{className:"p-3 flex items-center justify-center Me-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Me.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Fn({eventType:e="birthday",date:t="",title:a="",description:r="",avatarSrc:o}){let i=n=>{switch(n){case"birthday":return(0,Me.jsx)(Ws.Cake,{className:"Me-4 w-4"});case"workAnniversary":return(0,Me.jsx)(Ws.Award,{className:"Me-4 w-4"});case"companyEvent":return(0,Me.jsx)(Ws.PartyPopper,{className:"Me-4 w-4"});default:return(0,Me.jsx)(Ws.CalendarDays,{className:"Me-4 w-4"})}},l=n=>{switch(n){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Me.jsxs)(ce,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Me.jsxs)(Be,{className:"flex flex-row items-center gap-3 text-white",children:[o&&(0,Me.jsxs)(Ua,{className:"Me-14 w-14 border-2 border-white",children:[(0,Me.jsx)(Va,{src:o,alt:a||"Event"}),(0,Me.jsx)($a,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Me.jsxs)("div",{className:"flex flex-col",children:[(0,Me.jsx)(He,{className:"text-xl",children:a||"Untitled Event"}),(0,Me.jsxs)("p",{className:"text-sm text-white/80",children:[(0,Me.jsx)(Ws.CalendarDays,{className:"mr-1 inline-block Me-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Me.jsxs)(ye,{className:"bg-white bg-opacity-80 p-4",children:[r&&(0,Me.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:r}),(0,Me.jsxs)(Mr,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Me.jsx)("span",{className:"Me-1",children:e?e.replace(/([a-Me])([Me-Z])/Me,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var Gn=f(require("next/link"));var _n=f(require("next/image")),On={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function Un({slug:e,image:t,title:a,description:r}){return(0,Me.jsxs)(Gn.default,{href:e,className:"group/portfolio relative Me-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,Me.jsx)("span",{className:s("absolute inset-0 Me-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Me.jsx)(_n.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
7
|
-
(min-width:${
|
|
8
|
-
(min-width:${
|
|
6
|
+
"use strict";var nc=Object.create;var sr=Object.defineProperty;var lc=Object.getOwnPropertyDescriptor;var cc=Object.getOwnPropertyNames;var dc=Object.getPrototypeOf,mc=Object.prototype.hasOwnProperty;var pc=(e,t)=>{for(var a in t)sr(e,a,{get:t[a],enumerable:!0})},ms=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cc(t))!mc.call(e,o)&&o!==a&&sr(e,o,{get:()=>t[o],enumerable:!(r=lc(t,o))||r.enumerable});return e};var f=(e,t,a)=>(a=e!=null?nc(dc(e)):{},ms(t||!e||!e.__esModule?sr(a,"default",{value:e,enumerable:!0}):a,e)),uc=e=>ms(sr({},"__esModule",{value:!0}),e);var hm={};pc(hm,{AboutSection:()=>nm,Alert:()=>vi,AlertDescription:()=>xi,AlertTitle:()=>hi,Avatar:()=>Ua,AvatarFallback:()=>$a,AvatarImage:()=>Va,Badge:()=>Ar,BannerBlock:()=>Si,BlogCard:()=>pl,BlogDetail:()=>vm,BlogList:()=>vd,BlogListSection:()=>cm,BrandLogo:()=>Mt,Breadcrumb:()=>bo,BreadcrumbEllipsis:()=>No,BreadcrumbItem:()=>ho,BreadcrumbLink:()=>xo,BreadcrumbList:()=>vo,BreadcrumbPage:()=>yo,BreadcrumbSeparator:()=>wo,Button:()=>re,CMSLink:()=>lt,CallToActionBlock:()=>ja,Card:()=>Ya,Categories:()=>Qa,Checkbox:()=>Nn,CodeBlock:()=>Mi,Collapsible:()=>tt,CollapsibleContent:()=>ht,CollapsibleTrigger:()=>vt,CollectionArchive:()=>xd,Command:()=>Cr,CommandDialog:()=>bn,CommandEmpty:()=>pi,CommandGroup:()=>ui,CommandInput:()=>di,CommandItem:()=>fi,CommandList:()=>mi,CommandSeparator:()=>gi,CommandShortcut:()=>bi,ContactSection:()=>fm,Container:()=>se,ContentBlock:()=>_i,CopyButton:()=>Ti,CustomLink:()=>Z,CustomerCard:()=>Bn,Dialog:()=>ia,DialogClose:()=>Nr,DialogContent:()=>zt,DialogDescription:()=>ci,DialogFooter:()=>li,DialogHeader:()=>Ga,DialogOverlay:()=>Pr,DialogPortal:()=>ni,DialogTitle:()=>_a,DialogTrigger:()=>gn,DropdownMenu:()=>Ns,DropdownMenuCheckboxItem:()=>ko,DropdownMenuContent:()=>Ro,DropdownMenuGroup:()=>Cs,DropdownMenuItem:()=>So,DropdownMenuLabel:()=>Ao,DropdownMenuPortal:()=>Rs,DropdownMenuRadioGroup:()=>ks,DropdownMenuRadioItem:()=>To,DropdownMenuSeparator:()=>Mo,DropdownMenuShortcut:()=>Io,DropdownMenuSub:()=>Ss,DropdownMenuSubContent:()=>Co,DropdownMenuSubTrigger:()=>Po,DropdownMenuTrigger:()=>Ps,DynamicIcon:()=>Be,EventCard:()=>Hn,FeatureCard:()=>Dn,FeatureGrid:()=>$n,FeaturesBlock:()=>Ui,Filter:()=>Yi,Footer:()=>am,Header:()=>rm,HeaderDesktop:()=>Za,HeaderMobile:()=>er,HeadingImage:()=>Ed,HighImpactHero:()=>Ki,HoverCard:()=>dn,HoverCardContent:()=>si,HoverCardTrigger:()=>mn,Image:()=>_n,ImageBlock:()=>Bd,InfoTile:()=>Sd,Input:()=>Ca,Insight:()=>Rd,Label:()=>ii,Logo:()=>yd,LowImpactHero:()=>qi,MOTD:()=>Td,Media:()=>dt,MediaBlock:()=>na,MediumImpactHero:()=>Ji,NewsGrid:()=>Qn,OrgChart:()=>Id,PageRange:()=>Pd,Pagination:()=>Xi,PayloadPagination:()=>Cd,Popover:()=>an,PopoverAnchor:()=>on,PopoverContent:()=>ri,PopoverTrigger:()=>rn,PostHero:()=>Wd,PricingCard:()=>Ri,PricingSection:()=>sm,ProjectCard:()=>Gn,ProjectTeam:()=>Ud,ProposalSummary:()=>Dd,RelatedContent:()=>Vd,RelatedPosts:()=>zd,RenderBlocks:()=>Hd,RenderHero:()=>jd,RichText:()=>J,ScrollArea:()=>ti,ScrollBar:()=>wr,SectionHero:()=>Yd,Select:()=>id,SelectContent:()=>Cn,SelectGroup:()=>sd,SelectItem:()=>Sn,SelectLabel:()=>Rn,SelectScrollDownButton:()=>Ni,SelectScrollUpButton:()=>wi,SelectSeparator:()=>kn,SelectTrigger:()=>Pn,SelectValue:()=>nd,Separator:()=>Ra,ServiceCard:()=>Ci,ServiceSection:()=>im,Sheet:()=>lr,SheetClose:()=>Bs,SheetContent:()=>ka,SheetDescription:()=>zo,SheetFooter:()=>Bo,SheetHeader:()=>Eo,SheetOverlay:()=>cr,SheetPortal:()=>Lo,SheetTitle:()=>Ho,SheetTrigger:()=>Es,Sidebar:()=>It,SidebarContent:()=>xt,SidebarFooter:()=>Lt,SidebarGroup:()=>De,SidebarGroupAction:()=>$o,SidebarGroupContent:()=>Ge,SidebarGroupLabel:()=>rt,SidebarHeader:()=>Dt,SidebarInput:()=>Vo,SidebarInset:()=>Uo,SidebarLeft:()=>Fd,SidebarMenu:()=>ye,SidebarMenuAction:()=>Ia,SidebarMenuBadge:()=>Wo,SidebarMenuButton:()=>Le,SidebarMenuItem:()=>de,SidebarMenuSkeleton:()=>Xo,SidebarMenuSub:()=>yt,SidebarMenuSubButton:()=>Nt,SidebarMenuSubItem:()=>wt,SidebarProvider:()=>Oo,SidebarRail:()=>_o,SidebarRight:()=>_d,SidebarSeparator:()=>Ma,SidebarTrigger:()=>Go,SimpleHeader:()=>Jd,Skeleton:()=>j,TextAndImages:()=>Jn,Textarea:()=>An,ThemeProvider:()=>om,Toast:()=>Ea,ToastAction:()=>Ko,ToastClose:()=>Ba,ToastDescription:()=>za,ToastProvider:()=>xr,ToastTitle:()=>Ha,ToastViewport:()=>La,Toaster:()=>Qs,Toggle:()=>Jo,ToggleGroup:()=>qo,ToggleGroupItem:()=>Zo,Tooltip:()=>ur,TooltipContent:()=>Aa,TooltipProvider:()=>pr,TooltipTrigger:()=>gr,VerticalSlider:()=>jn,VideoHeader:()=>em,WhyUs:()=>Ld,badgeVariants:()=>yi,buttonVariants:()=>Ta,reducer:()=>Xs,toast:()=>js,toggleVariants:()=>Fa,useIsMobile:()=>mr,useSidebar:()=>ra,useToast:()=>hr});module.exports=uc(hm);var Zt=f(require("react")),nr=require("@radix-ui/react-icons"),ws=require("@radix-ui/react-slot");var ys=require("clsx");var fo="-",gc=e=>{let t=bc(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let n=l.split(fo);return n[0]===""&&n.length!==1&&n.shift(),gs(n,t)||fc(l)},getConflictingClassGroupIds:(l,n)=>{let d=a[l]||[];return n&&r[l]?[...d,...r[l]]:d}}},gs=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let a=e[0],r=t.nextPart.get(a),o=r?gs(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(fo);return(l=t.validators.find(({validator:n})=>n(i)))==null?void 0:l.classGroupId},ps=/^\[(.+)\]$/,fc=e=>{if(ps.test(e)){let t=ps.exec(e)[1],a=t==null?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},bc=e=>{let{theme:t,prefix:a}=e,r={nextPart:new Map,validators:[]};return hc(Object.entries(e.classGroups),a).forEach(([i,l])=>{go(l,r,i,t)}),r},go=(e,t,a,r)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:us(t,o);i.classGroupId=a;return}if(typeof o=="function"){if(vc(o)){go(o(r),t,a,r);return}t.validators.push({validator:o,classGroupId:a});return}Object.entries(o).forEach(([i,l])=>{go(l,us(t,i),a,r)})})},us=(e,t)=>{let a=e;return t.split(fo).forEach(r=>{a.nextPart.has(r)||a.nextPart.set(r,{nextPart:new Map,validators:[]}),a=a.nextPart.get(r)}),a},vc=e=>e.isThemeGetter,hc=(e,t)=>t?e.map(([a,r])=>{let o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>[t+l,n])):i);return[a,o]}):e,xc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,r=new Map,o=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,r=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return o(i,l),l},set(i,l){a.has(i)?a.set(i,l):o(i,l)}}},fs="!",yc=e=>{let{separator:t,experimentalParseClassName:a}=e,r=t.length===1,o=t[0],i=t.length,l=n=>{let d=[],c=0,m=0,u;for(let w=0;w<n.length;w++){let B=n[w];if(c===0){if(B===o&&(r||n.slice(w,w+i)===t)){d.push(n.slice(m,w)),m=w+i;continue}if(B==="/"){u=w;continue}}B==="["?c++:B==="]"&&c--}let p=d.length===0?n:n.substring(m),v=p.startsWith(fs),A=v?p.substring(1):p,b=u&&u>m?u-m:void 0;return{modifiers:d,hasImportantModifier:v,baseClassName:A,maybePostfixModifierPosition:b}};return a?n=>a({className:n,parseClassName:l}):l},wc=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(r=>{r[0]==="["?(t.push(...a.sort(),r),a=[]):a.push(r)}),t.push(...a.sort()),t},Nc=e=>({cache:xc(e.cacheSize),parseClassName:yc(e),...gc(e)}),Pc=/\s+/,Cc=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],l=e.trim().split(Pc),n="";for(let d=l.length-1;d>=0;d-=1){let c=l[d],{modifiers:m,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:v}=a(c),A=!!v,b=r(A?p.substring(0,v):p);if(!b){if(!A){n=c+(n.length>0?" "+n:n);continue}if(b=r(p),!b){n=c+(n.length>0?" "+n:n);continue}A=!1}let w=wc(m).join(":"),B=u?w+fs:w,H=B+b;if(i.includes(H))continue;i.push(H);let ge=o(b,A);for(let qe=0;qe<ge.length;++qe){let Qt=ge[qe];i.push(B+Qt)}n=c+(n.length>0?" "+n:n)}return n};function Rc(){let e=0,t,a,r="";for(;e<arguments.length;)(t=arguments[e++])&&(a=bs(t))&&(r&&(r+=" "),r+=a);return r}var bs=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=bs(e[r]))&&(a&&(a+=" "),a+=t);return a};function Sc(e,...t){let a,r,o,i=l;function l(d){let c=t.reduce((m,u)=>u(m),e());return a=Nc(c),r=a.cache.get,o=a.cache.set,i=n,n(d)}function n(d){let c=r(d);if(c)return c;let m=Cc(d,a);return o(d,m),m}return function(){return i(Rc.apply(null,arguments))}}var U=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},vs=/^\[(?:([a-Ie-]+):)?(.+)\]$/i,kc=/^\d+\/\d+$/,Tc=new Set(["px","full","screen"]),Ac=/^(\d+(\.\d+)?)?(xs|sm|md|lg|Ie)$/,Mc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Ie|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Ie|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ic=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dc=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ie]+|0)Ie-?((\d+)?\.?(\d+)[a-Ie]+|0)/,Lc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,et=e=>Jt(e)||Tc.has(e)||kc.test(e),ft=e=>qt(e,"length",_c),Jt=e=>!!e&&!Number.isNaN(Number(e)),uo=e=>qt(e,"number",Jt),Na=e=>!!e&&Number.isInteger(Number(e)),Ec=e=>e.endsWith("%")&&Jt(e.slice(0,-1)),N=e=>vs.test(e),bt=e=>Ac.test(e),Bc=new Set(["length","size","percentage"]),Hc=e=>qt(e,Bc,hs),zc=e=>qt(e,"position",hs),Fc=new Set(["image","url"]),Oc=e=>qt(e,Fc,Vc),Gc=e=>qt(e,"",Uc),Pa=()=>!0,qt=(e,t,a)=>{let r=vs.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):a(r[2]):!1},_c=e=>Mc.test(e)&&!Ic.test(e),hs=()=>!1,Uc=e=>Dc.test(e),Vc=e=>Lc.test(e);var $c=()=>{let e=U("colors"),t=U("spacing"),a=U("blur"),r=U("brightness"),o=U("borderColor"),i=U("borderRadius"),l=U("borderSpacing"),n=U("borderWidth"),d=U("contrast"),c=U("grayscale"),m=U("hueRotate"),u=U("invert"),p=U("gap"),v=U("gradientColorStops"),A=U("gradientColorStopPositions"),b=U("inset"),w=U("margin"),B=U("opacity"),H=U("padding"),ge=U("saturate"),qe=U("scale"),Qt=U("sepia"),rr=U("skew"),is=U("space"),ss=U("translate"),lo=()=>["auto","contain","none"],co=()=>["auto","hidden","clip","visible","scroll"],mo=()=>["auto",N,t],W=()=>[N,t],ns=()=>["",et,ft],or=()=>["auto",Jt,N],ls=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ir=()=>["solid","dashed","dotted","double","none"],cs=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],po=()=>["start","end","center","between","around","evenly","stretch"],wa=()=>["","0",N],ds=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Ze=()=>[Jt,N];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[et,ft],blur:["none","",bt,N],brightness:Ze(),borderColor:[e],borderRadius:["none","","full",bt,N],borderSpacing:W(),borderWidth:ns(),contrast:Ze(),grayscale:wa(),hueRotate:Ze(),invert:wa(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[Ec,ft],inset:mo(),margin:mo(),opacity:Ze(),padding:W(),saturate:Ze(),scale:Ze(),sepia:wa(),skew:Ze(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[bt]}],"break-after":[{"break-after":ds()}],"break-before":[{"break-before":ds()}],"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:[...ls(),N]}],overflow:[{overflow:co()}],"overflow-Ie":[{"overflow-Ie":co()}],"overflow-Ie":[{"overflow-Ie":co()}],overscroll:[{overscroll:lo()}],"overscroll-Ie":[{"overscroll-Ie":lo()}],"overscroll-Ie":[{"overscroll-Ie":lo()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-Ie":[{"inset-Ie":[b]}],"inset-Ie":[{"inset-Ie":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],Ie:[{Ie:["auto",Na,N]}],basis:[{basis:mo()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:wa()}],shrink:[{shrink:wa()}],order:[{order:["first","last","none",Na,N]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Na,N]},N]}],"col-start":[{"col-start":or()}],"col-end":[{"col-end":or()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Na,N]},N]}],"row-start":[{"row-start":or()}],"row-end":[{"row-end":or()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[p]}],"gap-Ie":[{"gap-Ie":[p]}],"gap-Ie":[{"gap-Ie":[p]}],"justify-content":[{justify:["normal",...po()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...po(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...po(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[H]}],px:[{px:[H]}],py:[{py:[H]}],ps:[{ps:[H]}],Ie:[{Ie:[H]}],Ie:[{Ie:[H]}],pr:[{pr:[H]}],pb:[{pb:[H]}],pl:[{pl:[H]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Ie:[{Ie:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],Lr:[{Lr:[w]}],"space-Ie":[{"space-Ie":[is]}],"space-Ie-reverse":["space-Ie-reverse"],"space-Ie":[{"space-Ie":[is]}],"space-Ie-reverse":["space-Ie-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[bt]},bt]}],Ie:[{Ie:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ie":[{"min-Ie":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Ie":[{"max-Ie":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",bt,ft]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",uo]}],"font-family":[{font:[Pa]}],"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",N]}],"line-clamp":[{"line-clamp":["none",Jt,uo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",et,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","Lr-underline"],"text-decoration-style":[{decoration:[...ir(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",et,ft]}],"underline-offset":[{"underline-offset":["auto",et,N]}],"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:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],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",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ls(),zc]}],"bg-repeat":[{bg:["Lr-repeat",{repeat:["","Ie","Ie","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hc]}],"bg-image":[{bg:["none",{"gradient-to":["t","dr","r","br","b","bl","l","dr"]},Oc]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-Ie":[{"rounded-Ie":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-dr":[{"rounded-dr":[i]}],"rounded-dr":[{"rounded-dr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[n]}],"border-w-Ie":[{"border-Ie":[n]}],"border-w-Ie":[{"border-Ie":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[...ir(),"hidden"]}],"divide-Ie":[{"divide-Ie":[n]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-Ie":[{"divide-Ie":[n]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:ir()}],"border-color":[{border:[o]}],"border-color-Ie":[{"border-Ie":[o]}],"border-color-Ie":[{"border-Ie":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...ir()]}],"outline-offset":[{"outline-offset":[et,N]}],"outline-w":[{outline:[et,ft]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ns()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[et,ft]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bt,Gc]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...cs(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":cs()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[r]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",bt,N]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[u]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[Qt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[Qt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Ie":[{"border-spacing-Ie":[l]}],"border-spacing-Ie":[{"border-spacing-Ie":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:Ze()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:Ze()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[qe]}],"scale-Ie":[{"scale-Ie":[qe]}],"scale-Ie":[{"scale-Ie":[qe]}],rotate:[{rotate:[Na,N]}],"translate-Ie":[{"translate-Ie":[ss]}],"translate-Ie":[{"translate-Ie":[ss]}],"skew-Ie":[{"skew-Ie":[rr]}],"skew-Ie":[{"skew-Ie":[rr]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],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","Lr-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Ie-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ie","Ie",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-Ie":[{"scroll-Ie":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-Lr":[{"scroll-Lr":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-Ie":[{"scroll-Ie":W()}],"scroll-Ie":[{"scroll-Ie":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ie","Ie","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ie":[{"touch-pan":["Ie","left","right"]}],"touch-Ie":[{"touch-pan":["Ie","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[et,ft,uo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ie","overflow-Ie"],overscroll:["overscroll-Ie","overscroll-Ie"],inset:["inset-Ie","inset-Ie","start","end","top","right","bottom","left"],"inset-Ie":["right","left"],"inset-Ie":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ie","gap-Ie"],p:["px","py","ps","Ie","Ie","pr","pb","pl"],px:["pr","pl"],py:["Ie","pb"],m:["mx","my","ms","Ie","mt","mr","mb","Lr"],mx:["mr","Lr"],my:["mt","mb"],size:["w","Ie"],"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-Ie","rounded-es","rounded-dr","rounded-dr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ie"],"rounded-t":["rounded-dr","rounded-dr"],"rounded-r":["rounded-dr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-dr","rounded-bl"],"border-spacing":["border-spacing-Ie","border-spacing-Ie"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Ie":["border-w-r","border-w-l"],"border-w-Ie":["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-Ie":["border-color-r","border-color-l"],"border-color-Ie":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Ie","scroll-mt","scroll-mr","scroll-mb","scroll-Lr"],"scroll-mx":["scroll-mr","scroll-Lr"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Ie","scroll-Ie","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Ie","scroll-pb"],touch:["touch-Ie","touch-Ie","touch-pz"],"touch-Ie":["touch"],"touch-Ie":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var xs=Sc($c);function s(...e){return xs((0,ys.clsx)(e))}var Ie=require("react/jsx-runtime"),bo=Zt.forwardRef(({...e},t)=>(0,Ie.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));bo.displayName="Breadcrumb";var vo=Zt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("ol",{ref:a,className:s("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));vo.displayName="BreadcrumbList";var ho=Zt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("li",{ref:a,className:s("inline-flex items-center gap-1.5",e),...t}));ho.displayName="BreadcrumbItem";var xo=Zt.forwardRef(({asChild:e,className:t,...a},r)=>(0,Ie.jsx)(e?ws.Slot:"a",{ref:r,className:s("transition-colors hover:text-foreground",t),...a}));xo.displayName="BreadcrumbLink";var yo=Zt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:s("font-normal text-foreground",e),...t}));yo.displayName="BreadcrumbPage";var wo=({children:e,className:t,...a})=>(0,Ie.jsx)("li",{role:"presentation","aria-hidden":"true",className:s("[&>svg]:w-3.5 [&>svg]:Ie-3.5",t),...a,children:e!=null?e:(0,Ie.jsx)(nr.ChevronRightIcon,{})});wo.displayName="BreadcrumbSeparator";var No=({className:e,...t})=>(0,Ie.jsxs)("span",{role:"presentation","aria-hidden":"true",className:s("flex Ie-9 w-9 items-center justify-center",e),...t,children:[(0,Ie.jsx)(nr.DotsHorizontalIcon,{className:"Ie-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"More"})]});No.displayName="BreadcrumbElipssis";var ea=f(require("@radix-ui/react-collapsible")),tt=ea.Root,vt=ea.CollapsibleTrigger,ht=ea.CollapsibleContent;var at=f(require("react")),R=f(require("@radix-ui/react-dropdown-menu"));var Ns=R.Root,Ps=R.Trigger,Cs=R.Group,Rs=R.Portal,Ss=R.Sub,ks=R.RadioGroup,Po=at.forwardRef(({className:e,inset:t,children:a,...r},o)=>(0,Ie.jsxs)(R.SubTrigger,{ref:o,className:s("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[a,(0,Ie.jsx)(nr.ChevronRightIcon,{className:"Lr-auto"})]}));Po.displayName=R.SubTrigger.displayName;var Co=at.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(R.SubContent,{ref:a,className:s("Ie-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Co.displayName=R.SubContent.displayName;var Ro=at.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,Ie.jsx)(R.Portal,{children:(0,Ie.jsx)(R.Content,{ref:r,sideOffset:t,className:s("Ie-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Ro.displayName=R.Content.displayName;var So=at.forwardRef(({className:e,inset:t,...a},r)=>(0,Ie.jsx)(R.Item,{ref:r,className:s("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));So.displayName=R.Item.displayName;var ko=at.forwardRef(({className:e,children:t,checked:a,...r},o)=>(0,Ie.jsxs)(R.CheckboxItem,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...r,children:[(0,Ie.jsx)("span",{className:"absolute left-2 flex Ie-3.5 w-3.5 items-center justify-center",children:(0,Ie.jsx)(R.ItemIndicator,{children:(0,Ie.jsx)(nr.CheckIcon,{className:"Ie-4 w-4"})})}),t]}));ko.displayName=R.CheckboxItem.displayName;var To=at.forwardRef(({className:e,children:t,...a},r)=>(0,Ie.jsxs)(R.RadioItem,{ref:r,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[(0,Ie.jsx)("span",{className:"absolute left-2 flex Ie-3.5 w-3.5 items-center justify-center",children:(0,Ie.jsx)(R.ItemIndicator,{children:(0,Ie.jsx)(nr.DotFilledIcon,{className:"Ie-4 w-4 fill-current"})})}),t]}));To.displayName=R.RadioItem.displayName;var Ao=at.forwardRef(({className:e,inset:t,...a},r)=>(0,Ie.jsx)(R.Label,{ref:r,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));Ao.displayName=R.Label.displayName;var Mo=at.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(R.Separator,{ref:a,className:s("-mx-1 my-1 Ie-px bg-muted",e),...t}));Mo.displayName=R.Separator.displayName;var Io=({className:e,...t})=>(0,Ie.jsx)("span",{className:s("Lr-auto text-xs tracking-widest opacity-60",e),...t});Io.displayName="DropdownMenuShortcut";var Ts=f(require("react"));var Ca=Ts.forwardRef(({className:e,type:t,...a},r)=>(0,Ie.jsx)("input",{type:t,className:s("flex Ie-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...a}));Ca.displayName="Input";var Ms=f(require("react")),Do=f(require("@radix-ui/react-separator"));var Ra=Ms.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...r},o)=>(0,Ie.jsx)(Do.Root,{ref:o,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"Ie-[1px] w-full":"Ie-full w-[1px]",e),...r}));Ra.displayName=Do.Root.displayName;var Sa=f(require("react")),X=f(require("@radix-ui/react-dialog")),Ls=require("class-variance-authority");var lr=X.Root,Es=X.Trigger,Bs=X.Close,Lo=X.Portal,cr=Sa.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(X.Overlay,{className:s("fixed inset-0 Ie-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));cr.displayName=X.Overlay.displayName;var Wc=(0,Ls.cva)("fixed Ie-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-Ie-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Ie-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-Ie-0 left-0 Ie-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-Ie-0 right-0 Ie-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ka=Sa.forwardRef(({side:e="right",className:t,children:a,...r},o)=>(0,Ie.jsxs)(Lo,{children:[(0,Ie.jsx)(cr,{}),(0,Ie.jsxs)(X.Content,{ref:o,className:s(Wc({side:e}),t),...r,children:[(0,Ie.jsxs)(X.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,Ie.jsx)(nr.Cross2Icon,{className:"Ie-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"Close"})]}),a]})]}));ka.displayName=X.Content.displayName;var Eo=({className:e,...t})=>(0,Ie.jsx)("div",{className:s("flex flex-col space-Ie-2 text-center sm:text-left",e),...t});Eo.displayName="SheetHeader";var Bo=({className:e,...t})=>(0,Ie.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Ie-2",e),...t});Bo.displayName="SheetFooter";var Ho=Sa.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(X.Title,{ref:a,className:s("text-lg font-semibold text-foreground",e),...t}));Ho.displayName=X.Title.displayName;var zo=Sa.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(X.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));zo.displayName=X.Description.displayName;var S=f(require("react")),Vs=require("lucide-react");var dr=require("react"),mr=(e=768)=>{let[t,a]=(0,dr.useState)(!1);return(0,dr.useEffect)(()=>{let r=()=>{a(window.innerWidth<e)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t};var Fs=f(require("react")),Ta=(0,Ls.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:"Ie-10 px-4 py-2",icon:"Ie-10 w-10",lg:"Ie-11 rounded px-8",sm:"Ie-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),re=Fs.forwardRef(({asChild:e=!1,className:t,size:a,variant:r,...o},i)=>(0,Ie.jsx)(e?ws.Slot:"button",{className:s(Ta({className:t,size:a,variant:r})),ref:i,...o}));re.displayName="Button";function j({className:e,...t}){return(0,Ie.jsx)("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t})}var _s=f(require("react")),Oe=f(require("@radix-ui/react-tooltip"));var pr=Oe.Provider,ur=Oe.Root,gr=Oe.Trigger,Aa=_s.forwardRef(({className:e,sideOffset:t=4,...a},r)=>(0,Ie.jsx)(Oe.Portal,{children:(0,Ie.jsx)(Oe.Content,{ref:r,sideOffset:t,className:s("Ie-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Aa.displayName=Oe.Content.displayName;var Xc="sidebar:state",jc=60*60*24*7,Yc="16rem",Kc="18rem",Qc="3rem",Jc="b",$s=S.createContext(null);function ra(){let e=S.useContext($s);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var Oo=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:r,style:o,children:i,...l},n)=>{let d=mr(),[c,m]=S.useState(!1),[u,p]=S.useState(e),v=t!=null?t:u,A=S.useCallback(H=>{if(a)return a==null?void 0:a(typeof H=="function"?H(v):H);p(H),document.cookie=`${Xc}=${v}; path=/; max-age=${jc}`},[a,v]),b=S.useCallback(()=>d?m(H=>!H):A(H=>!H),[d,A,m]);S.useEffect(()=>{let H=ge=>{ge.key===Jc&&(ge.metaKey||ge.ctrlKey)&&(ge.preventDefault(),b())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[b]);let w=v?"expanded":"collapsed",B=S.useMemo(()=>({state:w,open:v,setOpen:A,isMobile:d,openMobile:c,setOpenMobile:m,toggleSidebar:b}),[w,v,A,d,c,m,b]);return(0,Ie.jsx)($s.Provider,{value:B,children:(0,Ie.jsx)(pr,{delayDuration:0,children:(0,Ie.jsx)("div",{style:{"--sidebar-width":Yc,"--sidebar-width-icon":Qc,...o},className:s("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",r),ref:n,...l,children:i})})})});Oo.displayName="SidebarProvider";var It=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:r,children:o,...i},l)=>{let{isMobile:n,state:d,openMobile:c,setOpenMobile:m}=ra();return a==="none"?(0,Ie.jsx)("div",{className:s("flex Ie-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",r),ref:l,...i,children:o}):n?(0,Ie.jsx)(lr,{open:c,onOpenChange:m,...i,children:(0,Ie.jsx)(ka,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Kc},side:e,children:(0,Ie.jsx)("div",{className:"flex Ie-full w-full flex-col",children:o})})}):(0,Ie.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":d==="collapsed"?a:"","data-variant":t,"data-side":e,children:[(0,Ie.jsx)("div",{className:s("duration-200 relative Ie-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Ie+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Ie.jsx)("div",{className:s("duration-200 fixed top-14 bottom-0 Ie-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Ie+_theme(spacing.4)Ie+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...i,children:(0,Ie.jsx)("div",{"data-sidebar":"sidebar",className:"flex Ie-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});It.displayName="Sidebar";var Go=S.forwardRef(({className:e,onClick:t,...a},r)=>{let{toggleSidebar:o}=ra();return(0,Ie.jsxs)(re,{ref:r,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:s("Ie-7 w-7",e),onClick:i=>{t==null||t(i),o()},...a,children:[(0,Ie.jsx)(Vs.PanelLeft,{}),(0,Ie.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Go.displayName="SidebarTrigger";var _o=S.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:r}=ra();return(0,Ie.jsx)("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:s("absolute inset-Ie-0 Ie-20 hidden w-4 -translate-Ie-1/2 transition-all ease-linear after:absolute after:inset-Ie-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]Ie&]:cursor-w-resize [[data-side=right]Ie&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Ie&]:cursor-e-resize [[data-side=right][data-state=collapsed]Ie&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Ie-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Ie&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Ie&]:-left-2",e),...t})});_o.displayName="SidebarRail";var Uo=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("main",{ref:a,className:s("flex flex-1 flex-col bg-background overflow-Ie-auto relative max-Ie-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:Lr-2 md:peer-data-[variant=inset]:Lr-0 md:peer-data-[variant=inset]:rounded-Ie md:peer-data-[variant=inset]:shadow",e),...t}));Uo.displayName="SidebarInset";var Vo=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(Ca,{ref:a,"data-sidebar":"input",className:s("Ie-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Vo.displayName="SidebarInput";var Dt=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,"data-sidebar":"header",className:s("flex flex-col gap-2 p-2",e),...t}));Dt.displayName="SidebarHeader";var Lt=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,"data-sidebar":"footer",className:s("flex flex-col gap-2 p-2",e),...t}));Lt.displayName="SidebarFooter";var Ma=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(Ra,{ref:a,"data-sidebar":"separator",className:s("mx-2 w-auto bg-sidebar-border",e),...t}));Ma.displayName="SidebarSeparator";var xt=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,"data-sidebar":"content",className:s("flex min-Ie-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));xt.displayName="SidebarContent";var De=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,"data-sidebar":"group",className:s("relative flex w-full min-w-0 flex-col p-2",e),...t}));De.displayName="SidebarGroup";var rt=S.forwardRef(({className:e,asChild:t=!1,...a},r)=>(0,Ie.jsx)(t?ws.Slot:"div",{ref:r,"data-sidebar":"group-label",className:s("duration-200 flex Ie-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));rt.displayName="SidebarGroupLabel";var $o=S.forwardRef(({className:e,asChild:t=!1,...a},r)=>(0,Ie.jsx)(t?ws.Slot:"button",{ref:r,"data-sidebar":"group-action",className:s("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));$o.displayName="SidebarGroupAction";var Ge=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,"data-sidebar":"group-content",className:s("w-full text-sm",e),...t}));Ge.displayName="SidebarGroupContent";var ye=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("ul",{ref:a,"data-sidebar":"menu",className:s("flex w-full min-w-0 flex-col gap-1",e),...t}));ye.displayName="SidebarMenu";var de=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:s("group/menu-item relative",e),...t}));de.displayName="SidebarMenuItem";var qc=(0,Ls.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"Ie-8 text-sm",sm:"Ie-7 text-xs",lg:"Ie-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Le=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:r="default",tooltip:o,className:i,...l},n)=>{let d=e?ws.Slot:"button",{isMobile:c,state:m}=ra(),u=(0,Ie.jsx)(d,{ref:n,"data-sidebar":"menu-button","data-size":r,"data-active":t,className:s(qc({variant:a,size:r}),i),...l});return o?(typeof o=="string"&&(o={children:o}),(0,Ie.jsxs)(ur,{children:[(0,Ie.jsx)(gr,{asChild:!0,children:u}),(0,Ie.jsx)(Aa,{side:"right",align:"center",hidden:m!=="collapsed"||c,...o})]})):u});Le.displayName="SidebarMenuButton";var Ia=S.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...r},o)=>(0,Ie.jsx)(t?ws.Slot:"button",{ref:o,"data-sidebar":"menu-action",className:s("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...r}));Ia.displayName="SidebarMenuAction";var Wo=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,"data-sidebar":"menu-badge",className:s("absolute right-1 flex Ie-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Wo.displayName="SidebarMenuBadge";var Xo=S.forwardRef(({className:e,showIcon:t=!1,...a},r)=>{let o=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Ie.jsxs)("div",{ref:r,"data-sidebar":"menu-skeleton",className:s("rounded-md Ie-8 flex gap-2 px-2 items-center",e),...a,children:[t&&(0,Ie.jsx)(j,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Ie.jsx)(j,{className:"Ie-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});Xo.displayName="SidebarMenuSkeleton";var yt=S.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("ul",{ref:a,"data-sidebar":"menu-sub",className:s("mx-3.5 flex min-w-0 translate-Ie-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yt.displayName="SidebarMenuSub";var wt=S.forwardRef(({...e},t)=>(0,Ie.jsx)("li",{ref:t,...e}));wt.displayName="SidebarMenuSubItem";var Nt=S.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:r,...o},i)=>(0,Ie.jsx)(e?ws.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:s("flex Ie-7 min-w-0 -translate-Ie-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),...o}));Nt.displayName="SidebarMenuSubButton";var vr=f(require("react")),Zc=1,ed=1e6;var jo=0;function td(){return jo=(jo+1)%Number.MAX_SAFE_INTEGER,jo.toString()}var Yo=new Map,Ws=e=>{if(Yo.has(e))return;let t=setTimeout(()=>{Yo.delete(e),Da({type:"REMOVE_TOAST",toastId:e})},ed);Yo.set(e,t)},Xs=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Zc)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?Ws(a):e.toasts.forEach(r=>{Ws(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},fr=[],br={toasts:[]};function Da(e){br=Xs(br,e),fr.forEach(t=>{t(br)})}function js({...e}){let t=td(),a=o=>Da({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Da({type:"DISMISS_TOAST",toastId:t});return Da({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:a}}function hr(){let[e,t]=vr.useState(br);return vr.useEffect(()=>(fr.push(t),()=>{let a=fr.indexOf(t);a>-1&&fr.splice(a,1)}),[e]),{...e,toast:js,dismiss:a=>Da({type:"DISMISS_TOAST",toastId:a})}}var Et=f(require("react")),q=f(require("@radix-ui/react-toast"));var xr=q.Provider,La=Et.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(q.Viewport,{ref:a,className:s("fixed top-0 Ie-[100] flex max-Ie-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));La.displayName=q.Viewport.displayName;var ad=(0,Ls.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Ie-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Ie-0 data-[swipe=end]:translate-Ie-[var(--radix-toast-swipe-end-Ie)] data-[swipe=move]:translate-Ie-[var(--radix-toast-swipe-move-Ie)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Ea=Et.forwardRef(({className:e,variant:t,...a},r)=>(0,Ie.jsx)(q.Root,{ref:r,className:s(ad({variant:t}),e),...a}));Ea.displayName=q.Root.displayName;var Ko=Et.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(q.Action,{ref:a,className:s("inline-flex Ie-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Ko.displayName=q.Action.displayName;var Ba=Et.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(q.Close,{ref:a,className:s("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,Ie.jsx)(Vs.X,{className:"Ie-4 w-4"})}));Ba.displayName=q.Close.displayName;var Ha=Et.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(q.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Ha.displayName=q.Title.displayName;var za=Et.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(q.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));za.displayName=q.Description.displayName;function Qs(){let{toasts:e}=hr();return(0,Ie.jsxs)(xr,{children:[e.map(function({id:t,title:a,description:r,action:o,...i}){return(0,Ie.jsxs)(Ea,{...i,children:[(0,Ie.jsxs)("div",{className:"grid gap-1",children:[a&&(0,Ie.jsx)(Ha,{children:a}),r&&(0,Ie.jsx)(za,{children:r})]}),o,(0,Ie.jsx)(Ba,{})]},t)}),(0,Ie.jsx)(La,{})]})}var Js=f(require("react")),Qo=f(require("@radix-ui/react-toggle"));var Fa=(0,Ls.cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"Ie-9 px-2 min-w-9",sm:"Ie-8 px-1.5 min-w-8",lg:"Ie-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Jo=Js.forwardRef(({className:e,variant:t,size:a,...r},o)=>(0,Ie.jsx)(Qo.Root,{ref:o,className:s(Fa({variant:t,size:a,className:e})),...r}));Jo.displayName=Qo.Root.displayName;var Bt=f(require("react")),oa=f(require("@radix-ui/react-toggle-group"));var en=Bt.createContext({size:"default",variant:"default"}),qo=Bt.forwardRef(({className:e,variant:t,size:a,children:r,...o},i)=>(0,Ie.jsx)(oa.Root,{ref:i,className:s("flex items-center justify-center gap-1",e),...o,children:(0,Ie.jsx)(en.Provider,{value:{variant:t,size:a},children:r})}));qo.displayName=oa.Root.displayName;var Zo=Bt.forwardRef(({className:e,children:t,variant:a,size:r,...o},i)=>{let l=Bt.useContext(en);return(0,Ie.jsx)(oa.Item,{ref:i,className:s(Fa({variant:l.variant||a,size:l.size||r}),e),...o,children:t})});Zo.displayName=oa.Item.displayName;var ei=f(require("react")),Ee=f(require("@radix-ui/react-scroll-area"));var ti=ei.forwardRef(({className:e,children:t,...a},r)=>(0,Ie.jsxs)(Ee.Root,{ref:r,className:s("relative overflow-hidden",e),...a,children:[(0,Ie.jsx)(Ee.Viewport,{className:"Ie-full w-full rounded-[inherit]",children:t}),(0,Ie.jsx)(wr,{}),(0,Ie.jsx)(Ee.Corner,{})]}));ti.displayName=Ee.Root.displayName;var wr=ei.forwardRef(({className:e,orientation:t="vertical",...a},r)=>(0,Ie.jsx)(Ee.ScrollAreaScrollbar,{ref:r,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"Ie-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"Ie-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:(0,Ie.jsx)(Ee.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));wr.displayName=Ee.ScrollAreaScrollbar.displayName;var tn=f(require("react")),_e=f(require("@radix-ui/react-popover"));var an=_e.Root,rn=_e.Trigger,on=_e.Anchor,ri=tn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>(0,Ie.jsx)(_e.Portal,{children:(0,Ie.jsx)(_e.Content,{ref:o,align:t,sideOffset:a,className:s("Ie-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));ri.displayName=_e.Content.displayName;var sn=f(require("react")),oi=f(require("@radix-ui/react-label"));var rd=(0,Ls.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ii=sn.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(oi.Root,{ref:a,className:s(rd(),e),...t}));ii.displayName=oi.Root.displayName;var cn=f(require("react")),Ht=f(require("@radix-ui/react-hover-card"));var dn=Ht.Root,mn=Ht.Trigger,si=cn.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>(0,Ie.jsx)(Ht.Content,{ref:o,align:t,sideOffset:a,className:s("Ie-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));si.displayName=Ht.Content.displayName;var Oa=f(require("react")),Y=f(require("@radix-ui/react-dialog"));var ia=Y.Root,gn=Y.Trigger,ni=Y.Portal,Nr=Y.Close,Pr=Oa.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(Y.Overlay,{ref:a,className:s("fixed inset-0 Ie-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Pr.displayName=Y.Overlay.displayName;var zt=Oa.forwardRef(({className:e,children:t,...a},r)=>(0,Ie.jsxs)(ni,{children:[(0,Ie.jsx)(Pr,{}),(0,Ie.jsxs)(Y.Content,{ref:r,className:s("fixed left-[50%] top-[50%] Ie-50 grid w-full max-w-lg translate-Ie-[-50%] translate-Ie-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,(0,Ie.jsxs)(Y.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,Ie.jsx)(Vs.X,{className:"Ie-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));zt.displayName=Y.Content.displayName;var Ga=({className:e,...t})=>(0,Ie.jsx)("div",{className:s("flex flex-col space-Ie-1.5 text-center sm:text-left",e),...t});Ga.displayName="DialogHeader";var li=({className:e,...t})=>(0,Ie.jsx)("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Ie-2",e),...t});li.displayName="DialogFooter";var _a=Oa.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(Y.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));_a.displayName=Y.Title.displayName;var ci=Oa.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(Y.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ci.displayName=Y.Description.displayName;var Rt=f(require("react")),be=require("cmdk");var Cr=Rt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(be.Command,{ref:a,className:s("flex Ie-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Cr.displayName=be.Command.displayName;var bn=({children:e,...t})=>(0,Ie.jsx)(ia,{...t,children:(0,Ie.jsx)(zt,{className:"overflow-hidden p-0",children:(0,Ie.jsx)(Cr,{className:"[&Ie[cmdk-group-heading]]:px-2 [&Ie[cmdk-group-heading]]:font-medium [&Ie[cmdk-group-heading]]:text-muted-foreground [&Ie[cmdk-group]:not([hidden])Ie~[cmdk-group]]:Ie-0 [&Ie[cmdk-group]]:px-2 [&Ie[cmdk-input-wrapper]_svg]:Ie-5 [&Ie[cmdk-input-wrapper]_svg]:w-5 [&Ie[cmdk-input]]:Ie-12 [&Ie[cmdk-item]]:px-2 [&Ie[cmdk-item]]:py-3 [&Ie[cmdk-item]_svg]:Ie-5 [&Ie[cmdk-item]_svg]:w-5",children:e})})}),di=Rt.forwardRef(({className:e,...t},a)=>(0,Ie.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Ie.jsx)(Vs.Search,{className:"mr-2 Ie-4 w-4 shrink-0 opacity-50"}),(0,Ie.jsx)(be.Command.Input,{ref:a,className:s("flex Ie-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));di.displayName=be.Command.Input.displayName;var mi=Rt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(be.Command.List,{ref:a,className:s("max-Ie-[300px] overflow-Ie-auto overflow-Ie-hidden",e),...t}));mi.displayName=be.Command.List.displayName;var pi=Rt.forwardRef((e,t)=>(0,Ie.jsx)(be.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));pi.displayName=be.Command.Empty.displayName;var ui=Rt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(be.Command.Group,{ref:a,className:s("overflow-hidden p-1 text-foreground [&Ie[cmdk-group-heading]]:px-2 [&Ie[cmdk-group-heading]]:py-1.5 [&Ie[cmdk-group-heading]]:text-xs [&Ie[cmdk-group-heading]]:font-medium [&Ie[cmdk-group-heading]]:text-muted-foreground",e),...t}));ui.displayName=be.Command.Group.displayName;var gi=Rt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(be.Command.Separator,{ref:a,className:s("-mx-1 Ie-px bg-border",e),...t}));gi.displayName=be.Command.Separator.displayName;var fi=Rt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(be.Command.Item,{ref:a,className:s("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));fi.displayName=be.Command.Item.displayName;var bi=({className:e,...t})=>(0,Ie.jsx)("span",{className:s("Lr-auto text-xs tracking-widest text-muted-foreground",e),...t});bi.displayName="CommandShortcut";var Rr=f(require("react"));var od=(0,Ls.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-Ie-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),vi=Rr.forwardRef(({className:e,variant:t,...a},r)=>(0,Ie.jsx)("div",{ref:r,role:"alert",className:s(od({variant:t}),e),...a}));vi.displayName="Alert";var hi=Rr.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("h5",{ref:a,className:s("mb-1 font-medium leading-none tracking-tight",e),...t}));hi.displayName="AlertTitle";var xi=Rr.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("text-sm [&_p]:leading-relaxed",e),...t}));xi.displayName="AlertDescription";var kr=f(require("react")),it=f(require("@radix-ui/react-avatar"));var Ua=kr.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(it.Root,{ref:a,className:s("relative flex Ie-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ua.displayName=it.Root.displayName;var Va=kr.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(it.Image,{ref:a,className:s("aspect-square Ie-full w-full",e),...t}));Va.displayName=it.Image.displayName;var $a=kr.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(it.Fallback,{ref:a,className:s("flex Ie-full w-full items-center justify-center rounded-full bg-muted",e),...t}));$a.displayName=it.Fallback.displayName;var yi=(0,Ls.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ar({className:e,variant:t,...a}){return(0,Ie.jsx)("div",{className:s(yi({variant:t}),e),...a})}var Wa=f(require("@radix-ui/react-checkbox")),wn=f(require("react")),Nn=wn.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(Wa.Root,{className:s("peer Ie-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:(0,Ie.jsx)(Wa.Indicator,{className:s("flex items-center justify-center text-current"),children:(0,Ie.jsx)(Vs.Check,{className:"Ie-4 w-4"})})}));Nn.displayName=Wa.Root.displayName;var T=f(require("@radix-ui/react-select")),St=f(require("react")),id=T.Root,sd=T.Group,nd=T.Value,Pn=St.forwardRef(({children:e,className:t,...a},r)=>(0,Ie.jsxs)(T.Trigger,{className:s("flex Ie-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...a,children:[e,(0,Ie.jsx)(T.Icon,{asChild:!0,children:(0,Ie.jsx)(Vs.ChevronDown,{className:"Ie-4 w-4 opacity-50"})})]}));Pn.displayName=T.Trigger.displayName;var wi=St.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(T.ScrollUpButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Ie.jsx)(Vs.ChevronUp,{className:"Ie-4 w-4"})}));wi.displayName=T.ScrollUpButton.displayName;var Ni=St.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(T.ScrollDownButton,{className:s("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:(0,Ie.jsx)(Vs.ChevronDown,{className:"Ie-4 w-4"})}));Ni.displayName=T.ScrollDownButton.displayName;var Cn=St.forwardRef(({children:e,className:t,position:a="popper",...r},o)=>(0,Ie.jsx)(T.Portal,{children:(0,Ie.jsxs)(T.Content,{className:s("relative Ie-50 max-Ie-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-Ie-1 data-[side=left]:-translate-Ie-1 data-[side=right]:translate-Ie-1 data-[side=top]:-translate-Ie-1",t),position:a,ref:o,...r,children:[(0,Ie.jsx)(wi,{}),(0,Ie.jsx)(T.Viewport,{className:s("p-1",a==="popper"&&"Ie-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Ie.jsx)(Ni,{})]})}));Cn.displayName=T.Content.displayName;var Rn=St.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(T.Label,{className:s("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));Rn.displayName=T.Label.displayName;var Sn=St.forwardRef(({children:e,className:t,...a},r)=>(0,Ie.jsxs)(T.Item,{className:s("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...a,children:[(0,Ie.jsx)("span",{className:"absolute left-2 flex Ie-3.5 w-3.5 items-center justify-center",children:(0,Ie.jsx)(T.ItemIndicator,{children:(0,Ie.jsx)(Vs.Check,{className:"Ie-4 w-4"})})}),(0,Ie.jsx)(T.ItemText,{children:e})]}));Sn.displayName=T.Item.displayName;var kn=St.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)(T.Separator,{className:s("-mx-1 my-1 Ie-px bg-muted",e),ref:a,...t}));kn.displayName=T.Separator.displayName;var Tn=f(require("react")),An=Tn.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("textarea",{className:s("flex min-Ie-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));An.displayName="Textarea";var Be=({type:e="solid",iconName:t="cloud",size:a="lg",className:r})=>{let o=e.includes("Me-")?e+" ":"Me-"+e+" ",i="Me-"+t,l=r!=null?r:"",n=o+i+" Me-"+a+" "+l;return(0,Ie.jsx)("i",{className:n})};var Dn=({title:e,description:t,iconName:a,iconStyle:r,color:o})=>(0,Ie.jsxs)("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[o]} p-6 flex flex-col items-center text-center`,children:[(0,Ie.jsx)("div",{className:"w-12 Ie-12 ",children:(0,Ie.jsx)(Be,{type:r,iconName:a,className:"w-12 Ie-12 text-white"})}),(0,Ie.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Ie.jsx)("p",{className:"text-white text-sm",children:t})]});var Ln=f(require("next/image")),En=f(require("next/link"));var Gt=f(require("react"));var oe=Gt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("rounded-Ie border bg-card text-card-foreground shadow",e),...t}));oe.displayName="Card";var we=Gt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("flex flex-col space-Ie-1.5 p-6",e),...t}));we.displayName="CardHeader";var Ne=Gt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));Ne.displayName="CardTitle";var ld=Gt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));ld.displayName="CardDescription";var le=Gt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("p-6 Ie-0",e),...t}));le.displayName="CardContent";var cd=Gt.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("div",{ref:a,className:s("flex items-center p-6 Ie-0",e),...t}));cd.displayName="CardFooter";function Bn({name:e,logo:t,href:a}){return(0,Ie.jsx)(oe,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Ie.jsxs)(En.default,{href:a,className:"block",children:[(0,Ie.jsx)("div",{className:"bg-white p-2 flex items-center justify-center Ie-24",children:(0,Ie.jsx)("div",{className:"relative w-full Ie-full",children:t&&(0,Ie.jsx)(Ln.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Ie.jsx)(le,{className:"p-3 flex items-center justify-center Ie-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Ie.jsx)("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Hn({eventType:e="birthday",date:t="",title:a="",description:r="",avatarSrc:o}){let i=n=>{switch(n){case"birthday":return(0,Ie.jsx)(Vs.Cake,{className:"Ie-4 w-4"});case"workAnniversary":return(0,Ie.jsx)(Vs.Award,{className:"Ie-4 w-4"});case"companyEvent":return(0,Ie.jsx)(Vs.PartyPopper,{className:"Ie-4 w-4"});default:return(0,Ie.jsx)(Vs.CalendarDays,{className:"Ie-4 w-4"})}},l=n=>{switch(n){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return(0,Ie.jsxs)(oe,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Ie.jsxs)(we,{className:"flex flex-row items-center gap-3 text-white",children:[o&&(0,Ie.jsxs)(Ua,{className:"Ie-14 w-14 border-2 border-white",children:[(0,Ie.jsx)(Va,{src:o,alt:a||"Event"}),(0,Ie.jsx)($a,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),(0,Ie.jsxs)("div",{className:"flex flex-col",children:[(0,Ie.jsx)(Ne,{className:"text-Ie",children:a||"Untitled Event"}),(0,Ie.jsxs)("p",{className:"text-sm text-white/80",children:[(0,Ie.jsx)(Vs.CalendarDays,{className:"mr-1 inline-block Ie-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Ie.jsxs)(le,{className:"bg-white bg-opacity-80 p-4",children:[r&&(0,Ie.jsx)("p",{className:"mb-2 text-sm text-gray-700",children:r}),(0,Ie.jsxs)(Ar,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Ie.jsx)("span",{className:"Lr-1",children:e?e.replace(/([a-Ie])([A-Z])/Ie,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var Fn=f(require("next/link"));var On=f(require("next/image")),zn={sm:"640px",md:"768px",lg:"1024px",Ie:"1280px","2xl":"1400px"};function Gn({slug:e,image:t,title:a,description:r}){return(0,Ie.jsxs)(Fn.default,{href:e,className:"group/portfolio relative Ie-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[(0,Ie.jsx)("span",{className:s("absolute inset-0 Ie-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),(0,Ie.jsx)(On.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
7
|
+
(min-width:${zn.md}) 50vw,
|
|
8
|
+
(min-width:${zn.lg}) 25vw,
|
|
9
9
|
100vw
|
|
10
|
-
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Me.jsx)("div",{className:"relative Me-10 flex Me-full flex-col",children:(0,Me.jsxs)("div",{className:"mt-auto divide-Me md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Me.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Me.jsx)("p",{className:"mt-[13px] overflow-hidden Me-[11px] text-body",children:(0,Me.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})})]})})]})}var Ci=f(require("next/image")),Dr=f(require("path"));function dd(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function md(e){return e.startsWith("http")}function pd(e,t){let a=e;if(dd(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(md(e))a=e;else if(t.source==="github"){let r=e.replace("./","");if(r.startsWith("/")&&(r=r.slice(1)),t.linked){if(t.linked.path){let o=Dr.default.dirname(t.linked.path);o.startsWith(".")||(r=`${o}/${r}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${r}&branch=${t.linked.branch}`}else{if(t.file){let o=Dr.default.dirname(t.file);o.startsWith(".")||(r=`${o}/${r}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${r}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let r=e.replace("./","");t.file&&(r=`/${Dr.default.dirname(t.file)}/${r}`),a=r}else a="/image-not-found.png";return a}function ud({src:e,alt:t}){let[a,r]=(0,mr.useState)(!1),[o,i]=(0,mr.useState)(!1),[l,n]=(0,mr.useState)({width:0,height:0}),c=()=>{o&&r(!0)},d=()=>{r(!1)},p=u=>{let{naturalWidth:m,naturalHeight:x}=u.target;n({width:m,height:x}),i(m>300||x>300)};return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Me-[300px]":`Me-[${l.height}px]`}`,onClick:c,children:(0,Me.jsx)(Ci.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:p,unoptimized:!0,className:"object-contain max-w-full max-Me-full"})}),(0,Me.jsx)(ia,{open:a,onOpenChange:r,children:(0,Me.jsxs)(zt,{className:"flex flex-col items-center justify-center",children:[(0,Me.jsxs)(Ga,{className:"flex w-full justify-end",children:[(0,Me.jsx)(_a,{className:"hidden",children:t}),(0,Me.jsx)(Pr,{})]}),(0,Me.jsx)("div",{className:"flex items-center justify-center",children:(0,Me.jsx)(Ci.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Vn({props:e,baseContext:t}){let{src:a}=e;return a=pd(a,t),(0,Me.jsx)(ud,{src:a,alt:e.alt})}var $n=f(require("next/link"));function X({children:e,href:t,openNewTab:a,...r}){return(0,Me.jsx)($n.default,{href:t,target:a?"_blank":"_self",...r,children:e})}function gd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ri({icon:e,title:t,description:a,slug:r}){return(0,Me.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Me-1 block Me-full space-Me-6 overflow-hidden rounded-5 p-6 md:space-Me-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Me.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Me.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:gd(e)?(0,Me.jsx)(Ee,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Me.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r?(0,Me.jsx)(X,{href:r,children:t}):t})]}),(0,Me.jsx)("p",{className:"text-body dark:text-body",children:a}),r&&(0,Me.jsx)(se,{asChild:!0,className:s(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Me.jsxs)(X,{href:r,children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Me.jsx)("span",{className:"invisible absolute bottom-0 left-0 Me-[2px] w-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}var Er=require("react-icons/fa6");function Si({title:e,description:t,features:a,price:r,duration:o,button:i}){return(0,Me.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Me.jsxs)("div",{className:"Me-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:Me-14 lg:border-r lg:p-10",children:[(0,Me.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Me.jsx)("p",{children:t})]}),(0,Me.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Me.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-Me-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Me.jsx)("Er",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Me.jsx)("span",{className:"text-accent Me-1",children:(0,Me.jsx)(Er.FaCircleCheck,{})}),(0,Me.jsx)("span",{children:l})]},n))}),(0,Me.jsxs)("p",{className:"font-secondary Me-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[r&&r,(0,Me.jsx)("sub",{className:"relative bottom-0 Me-1.5 inline-block text-base lg:text-md",children:o&&o})]}),i&&(0,Me.jsx)("div",{className:"flex-none mr-0 sm:Me-auto",children:(0,Me.jsx)(se,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Me.jsxs)(X,{href:i.href,openNewTab:i.openNewTab,children:[(0,Me.jsx)("span",{className:"relative Me-1",children:i.label}),(0,Me.jsx)("span",{className:"relative Me-1 pl-2",children:(0,Me.jsx)(Er.FaAnglesRight,{})})]})})})]})})]})}var Xn=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Me.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function Kn({sections:e}){var l;let[t,a]=(0,mr.useState)((l=e[0])==null?void 0:l.id),r=(0,mr.useRef)([]);(0,mr.useEffect)(()=>{let n=[];return e.forEach(c=>{let d=new IntersectionObserver(u=>{u.forEach(m=>{m.isIntersecting&&a(c.id)})},{threshold:.5}),p=document.getElementById(c.id);p&&d.observe(p),n.push(d)}),r.current=n,()=>{n.forEach(c=>c.disconnect())}},[e]);let o=n=>{let c=document.getElementById(n);c&&c.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let n=e.findIndex(d=>d.id===t),c=e[n+1]||e[0];o(c.id)};return(0,Me.jsxs)("div",{className:"flex Me-screen relative",children:[(0,Me.jsx)("div",{className:"fixed left-0 top-0 flex Me-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(n=>(0,Me.jsx)("button",{className:`group relative my-2 Me-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===n.id?n.color:"bg-gray-300"}`,onClick:()=>o(n.id),children:(0,Me.jsx)("span",{className:"absolute left-full Me-2 hidden -translate-x-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100 lg:block",children:n.title})},n.id))}),(0,Me.jsx)("div",{className:"Me-12 flex-1 overflow-Me-auto snap-Me snap-mandatory",children:e.map(n=>(0,Me.jsx)("div",{id:n.id,className:`flex Me-screen items-center justify-center snap-always snap-start text-4xl text-white ${n.color}`,children:n.title},n.id))}),(0,Me.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Me.jsx)(Ws.CircleChevronDown,{})})]})}var Qn=f(require("next/link")),Jn=f(require("next/image"));function qn({blogs:e,width:t=3}){return(0,Me.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Me.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,r)=>{var o;return(0,Me.jsx)(Qn.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Me.jsxs)("div",{className:"relative size-full",children:[(0,Me.jsx)(Jn.default,{src:((o=a.image)==null?void 0:o.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Me.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Me.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[a.authors&&a.authors.map(i=>`${i.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("Bs-GB",{day:"numeric",month:"long"})]}),(0,Me.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:a.title})]})]})},r)})})})}function Zn({title:e,subtitle:t,description:a,missionTitle:r,missionDescription:o,images:i,raisedAmount:l,companiesCount:n,dealsClosed:c,leadsGenerated:d}){return(0,Me.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Me.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Me.jsxs)("div",{className:"max-w-4xl",children:[(0,Me.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Me.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Me.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),(0,Me.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-Me-16",children:[(0,Me.jsxs)("div",{className:"lg:pr-8",children:[(0,Me.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:r}),(0,Me.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:o})]}),(0,Me.jsx)("div",{className:"Me-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Me.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:i.map((p,u)=>(0,Me.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Me.jsx)("img",{alt:"",src:p,className:"block size-full object-cover"})},u))})}),(0,Me.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Me.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Me.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Me.jsxs)("Me",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-Me-4 sm:grid-cols-2",children:[(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Me.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"K"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Me.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Me"]})]}),(0,Me.jsxs)("div",{className:"flex flex-col gap-Me-2",children:[(0,Me.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Me.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"Me"]})]})]})]})]})]})})}var el=e=>{let a=new Date;e&&(a=new Date(e));let r=a.getMonth(),o=a.getDate(),i=r+1<10?`0${r+1}`:r+1,l=o<10?`0${o}`:o,n=a.getFullYear();return`${l}/${i}/${n}`};var Br=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Bs-US",{weekday:"long"}).format(t),r=t.getDate(),o=new Intl.DateTimeFormat("Bs-US",{month:"short"}).format(t);return`${a} ${r}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"Me";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${o}`},tl=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("Bs-US",{weekday:"long"}).format(t),r=t.getDate(),o=new Intl.DateTimeFormat("Bs-US",{month:"short"}).format(t);return`${a} ${r}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"Me";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${o}`};var ki=({className:e,content:t,style:a})=>(0,Me.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,Me.jsx)("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Me.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var Ti=f(require("next/link")),lt=e=>{let{type:t,appearance:a="inline",children:r,className:o,label:i,newTab:l,reference:n,size:c,url:d}=e,p=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:d;if(!p)return null;let u=a==="link"?"clear":c,m=l?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Me.jsxs)(Ti.default,{className:s(o),href:p||d||"",...m,children:[i&&i,r&&r]}):(0,Me.jsx)(se,{asChild:!0,className:o,size:u,variant:a,children:(0,Me.jsxs)(Ti.default,{className:s(o),href:p||d||"",...m,children:[i&&i,r&&r]})})};var ja=({links:e,richText:t})=>(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Me.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Me.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Me.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},r)=>(0,Me.jsx)(lt,{size:"lg",...a},r))})]})});var zr=require("prism-react-renderer");function Ai({code:e}){let[t,a]=(0,mr.useState)("Copy");function r(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Me.jsx)("div",{className:"flex justify-end align-middle",children:(0,Me.jsxs)(se,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),r()},children:[(0,Me.jsx)("p",{children:t}),(0,Me.jsx)("div",{className:"w-6 Me-6 dark:invert",children:(0,Me.jsx)(Ws.ClipboardCopy,{})})]})})}var ol=({code:e,language:t=""})=>e?(0,Me.jsx)(zr.Highlight,{code:e,language:t,theme:zr.themes.vsDark,children:({getLineProps:a,getTokenProps:r,tokens:o})=>(0,Me.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,l)=>(0,Me.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,Me.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Me.jsx)("span",{className:"table-cell pl-4",children:i.map((n,c)=>(0,Me.jsx)("span",{...r({token:n})},c))})]},l)),(0,Me.jsx)(Ai,{code:e})]})}):null;var Ii=({className:e,code:t,language:a})=>(0,Me.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Me.jsx)(ol,{code:t,language:a})});var sl=f(require("next/image"));var il=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Fr=()=>{if(il){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var fd={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},bd="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=",nl=e=>{let{alt:t,fill:a,imgClassName:r,priority:o,resource:i,size:l,src:n,loading:c}=e,d,p,u=t,m=n||"";if(!m&&i&&typeof i=="object"){let{alt:b,filename:w,height:B,url:H,width:ue}=i;d=ue,p=B,u=b||"",m=`${Fr()}${H}`}let x=c||"lazy",E=l||Object.entries(fd).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Me.jsx)("picture",{children:(0,Me.jsx)(sl.default,{alt:u||"",className:s(r),fill:a,height:a?void 0:p,placeholder:"blur",blurDataURL:bd,priority:x!=="lazy"&&o,quality:100,loading:x,sizes:E,src:m,width:a?void 0:d})})};var ll=e=>{let{onClick:t,resource:a,videoClassName:r}=e,o=(0,mr.useRef)(null);if((0,mr.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,Me.jsx)("video",{autoPlay:!0,className:s(r),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Me.jsx)("source",{src:`${Fr()}/media/${i}`})})}return null};var dt=e=>{var l;let{className:t,htmlElement:a="div",resource:r}=e,o=typeof r=="object"&&((l=r==null?void 0:r.mimeType)==null?void 0:l.includes("video"));return(0,Me.jsx)(a||mr.Fragment,{...a!==null?{className:t}:{},children:o?(0,Me.jsx)(ll,{...e}):(0,Me.jsx)(nl,{...e})})};var na=e=>{let{className:t,enableGutter:a=!0,imgClassName:r,media:o,staticImage:i}=e;return(0,Me.jsx)("div",{className:s("",{container:a},t),children:(0,Me.jsx)(dt,{imgClassName:s("border border-border rounded-[0.8rem]",r),resource:o,src:i})})};var Ur=f(require("react"));function _r({nodes:e}){return(0,Me.jsx)(Ur.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Me.jsx)(Ur.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,Me.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,Me.jsx)("em",{children:i},a)),t.format&4&&(i=(0,Me.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,Me.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,Me.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,Me.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,Me.jsx)("sup",{children:i},a)),i}if(t.type==="table")return(0,Me.jsx)("table",{children:(0,Me.jsx)("tbody",{children:t.children.map((i,l)=>(0,Me.jsx)("mr",{children:i.children.map((n,c)=>(0,Me.jsx)("td",{children:_r({nodes:n.children})},c))},l))})},a);let r=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return _r({nodes:i.children})},o="children"in t?r(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Me.jsx)(ja,{...i},a);case"mediaBlock":return(0,Me.jsx)(na,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Me.jsx)(ki,{className:"col-start-2 mb-4",...i},a);case"code":return(0,Me.jsx)(Ii,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,Me.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Me.jsx)("p",{className:"col-start-2",children:o},a);case"heading":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"col-start-2",children:o},a)}case"list":{let i=t==null?void 0:t.tag;return(0,Me.jsx)(i,{className:"list col-start-2",children:o},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Me.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},a):(0,Me.jsx)("li",{value:t==null?void 0:t.value,children:o},a);case"quote":return(0,Me.jsx)("blockquote",{className:"col-start-2",children:o},a);case"link":{let i=t.fields;return(0,Me.jsx)(lt,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},a)}default:return null}})})}var q=({className:e,content:t,enableGutter:a=!0,enableProse:r=!0})=>{var o;return t?(0,Me.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":r},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&_r({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};function Tt({subtitle:e,title:t,description:a,alignment:r="start",hasBottomSpacing:o=!1,className:i,invert:l=!1}){let n=s(r==="start"&&"text-left",r==="center"&&"text-center",r==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":o},i);return(0,Me.jsxs)("div",{className:n,children:[e&&(0,Me.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Me.jsx)("h2",{className:s("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",l&&"text-gray-900"),children:t}),typeof a=="string"?a&&(0,Me.jsx)("p",{className:"mt-5 whitespace-pre-line",children:a}):a&&(0,Me.jsx)(q,{content:a,enableGutter:!1})]})}function oe({children:e,isFluid:t=!1,isNoPadding:a=!1,className:r=""}){let o=s("container",t&&"full-width",a&&"Er-padding",r);return(0,Me.jsx)("div",{className:o,children:e})}var la=(e,t)=>e[t%e.length];var Bi=f(require("next/image"));function vd({blogs:e,sectionHeading:t}){return(0,Me.jsx)("section",{className:s("section-padding-primary overflow-hidden "),children:(0,Me.jsxs)(oe,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(Tt,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Me.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-Me-30px",children:e.map((a,r)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Me.jsx)(gl,{...a})},r))})]})})}var pl=s("inline-flex items-center gap-2 text-white"),nf=s("text-sm text-white");function gl({slug:e,image:t,authors:a,title:r,publishedAt:o,categories:i}){return(0,Me.jsxs)("article",{className:"group/blog relative Me-1 flex Me-full min-Me-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Me.jsx)("span",{className:"absolute inset-0 Me-[2] "}),(0,Me.jsx)(Bi.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
10
|
+
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Ie.jsx)("div",{className:"relative Ie-10 flex Ie-full flex-col",children:(0,Ie.jsxs)("div",{className:"mt-auto divide-Ie md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Ie.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Ie.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),(0,Ie.jsx)("p",{className:"mt-[13px] overflow-hidden Ie-[11px] text-body",children:(0,Ie.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:r})})]})})]})}var Pi=f(require("next/image")),Ir=f(require("path"));function dd(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function md(e){return e.startsWith("http")}function pd(e,t){let a=e;if(dd(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(md(e))a=e;else if(t.source==="github"){let r=e.replace("./","");if(r.startsWith("/")&&(r=r.slice(1)),t.linked){if(t.linked.path){let o=Ir.default.dirname(t.linked.path);o.startsWith(".")||(r=`${o}/${r}`)}a=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${r}&branch=${t.linked.branch}`}else{if(t.file){let o=Ir.default.dirname(t.file);o.startsWith(".")||(r=`${o}/${r}`)}a=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${r}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let r=e.replace("./","");t.file&&(r=`/${Ir.default.dirname(t.file)}/${r}`),a=r}else a="/image-not-found.png";return a}function ud({src:e,alt:t}){let[a,r]=(0,dr.useState)(!1),[o,i]=(0,dr.useState)(!1),[l,n]=(0,dr.useState)({width:0,height:0}),d=()=>{o&&r(!0)},c=()=>{r(!1)},m=u=>{let{naturalWidth:p,naturalHeight:v}=u.target;n({width:p,height:v}),i(p>300||v>300)};return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Ie-[300px]":`Ie-[${l.height}px]`}`,onClick:d,children:(0,Ie.jsx)(Pi.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:m,unoptimized:!0,className:"object-contain max-w-full max-Ie-full"})}),(0,Ie.jsx)(ia,{open:a,onOpenChange:r,children:(0,Ie.jsxs)(zt,{className:"flex flex-col items-center justify-center",children:[(0,Ie.jsxs)(Ga,{className:"flex w-full justify-end",children:[(0,Ie.jsx)(_a,{className:"hidden",children:t}),(0,Ie.jsx)(Nr,{})]}),(0,Ie.jsx)("div",{className:"flex items-center justify-center",children:(0,Ie.jsx)(Pi.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function _n({props:e,baseContext:t}){let{src:a}=e;return a=pd(a,t),(0,Ie.jsx)(ud,{src:a,alt:e.alt})}var Un=f(require("next/link"));function Z({children:e,href:t,openNewTab:a,...r}){return(0,Ie.jsx)(Un.default,{href:t,target:a?"_blank":"_self",...r,children:e})}function gd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ci({icon:e,title:t,description:a,slug:r}){return(0,Ie.jsxs)("article",{className:s(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative Ie-1 block Ie-full space-Ie-6 overflow-hidden rounded-5 p-6 md:space-Ie-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Ie.jsx)("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:gd(e)?(0,Ie.jsx)(Be,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Ie.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r?(0,Ie.jsx)(Z,{href:r,children:t}):t})]}),(0,Ie.jsx)("p",{className:"text-body dark:text-body",children:a}),r&&(0,Ie.jsx)(re,{asChild:!0,className:s(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:(0,Ie.jsxs)(Z,{href:r,children:[(0,Ie.jsx)("span",{children:"Read More"}),(0,Ie.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Ie.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),(0,Ie.jsx)("span",{className:"invisible absolute bottom-0 left-0 Ie-[2px] w-full scale-Ie-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Ie-100 group-hover/service:opacity-100"})]})}var Lr=require("react-icons/fa6");function Ri({title:e,description:t,features:a,price:r,duration:o,button:i}){return(0,Ie.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,Ie.jsxs)("div",{className:"Ie-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:Ie-14 lg:border-r lg:p-10",children:[(0,Ie.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-Ie",children:e}),(0,Ie.jsx)("p",{children:t})]}),(0,Ie.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,Ie.jsxs)("div",{className:"flex flex-col justify-stretch gap-Ie-14 gap-Ie-5 md:flex-row md:items-center",children:[a&&a.length>0&&(0,Ie.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((l,n)=>(0,Ie.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Ie.jsx)("span",{className:"text-accent Ie-1",children:(0,Ie.jsx)(Lr.FaCircleCheck,{})}),(0,Ie.jsx)("span",{children:l})]},n))}),(0,Ie.jsxs)("p",{className:"font-secondary Lr-auto text-Ie font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[r&&r,(0,Ie.jsx)("sub",{className:"relative bottom-0 Lr-1.5 inline-block text-base lg:text-md",children:o&&o})]}),i&&(0,Ie.jsx)("div",{className:"flex-none mr-0 sm:Lr-auto",children:(0,Ie.jsx)(re,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Ie.jsxs)(Z,{href:i.href,openNewTab:i.openNewTab,children:[(0,Ie.jsx)("span",{className:"relative Ie-1",children:i.label}),(0,Ie.jsx)("span",{className:"relative Ie-1 pl-2",children:(0,Ie.jsx)(Lr.FaAnglesRight,{})})]})})})]})})]})}var $n=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return(0,Ie.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};function jn({sections:e}){var l;let[t,a]=(0,dr.useState)((l=e[0])==null?void 0:l.id),r=(0,dr.useRef)([]);(0,dr.useEffect)(()=>{let n=[];return e.forEach(d=>{let c=new IntersectionObserver(u=>{u.forEach(p=>{p.isIntersecting&&a(d.id)})},{threshold:.5}),m=document.getElementById(d.id);m&&c.observe(m),n.push(c)}),r.current=n,()=>{n.forEach(d=>d.disconnect())}},[e]);let o=n=>{let d=document.getElementById(n);d&&d.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let n=e.findIndex(c=>c.id===t),d=e[n+1]||e[0];o(d.id)};return(0,Ie.jsxs)("div",{className:"flex Ie-screen relative",children:[(0,Ie.jsx)("div",{className:"fixed left-0 top-0 flex Ie-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(n=>(0,Ie.jsx)("button",{className:`group relative my-2 Ie-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===n.id?n.color:"bg-gray-300"}`,onClick:()=>o(n.id),children:(0,Ie.jsx)("span",{className:"absolute left-full Lr-2 hidden -translate-Ie-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Ie-0 group-hover:opacity-100 lg:block",children:n.title})},n.id))}),(0,Ie.jsx)("div",{className:"Lr-12 flex-1 overflow-Ie-auto snap-Ie snap-mandatory",children:e.map(n=>(0,Ie.jsx)("div",{id:n.id,className:`flex Ie-screen items-center justify-center snap-always snap-start text-4xl text-white ${n.color}`,children:n.title},n.id))}),(0,Ie.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Ie.jsx)(Vs.CircleChevronDown,{})})]})}var Yn=f(require("next/link")),Kn=f(require("next/image"));function Qn({blogs:e,width:t=3}){return(0,Ie.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Ie.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,r)=>{var o;return(0,Ie.jsx)(Yn.default,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Ie.jsxs)("div",{className:"relative size-full",children:[(0,Ie.jsx)(Kn.default,{src:((o=a.image)==null?void 0:o.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Ie.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Ie.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[a.authors&&a.authors.map(i=>`${i.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Ie.jsx)("h2",{className:"text-Ie font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:a.title})]})]})},r)})})})}function Jn({title:e,subtitle:t,description:a,missionTitle:r,missionDescription:o,images:i,raisedAmount:l,companiesCount:n,dealsClosed:d,leadsGenerated:c}){return(0,Ie.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Ie.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Ie.jsxs)("div",{className:"max-w-4xl",children:[(0,Ie.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Ie.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Ie.jsx)("p",{className:"mt-6 text-balance text-Ie/8 text-gray-700",children:a})]}),(0,Ie.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Ie-8 lg:gap-Ie-16",children:[(0,Ie.jsxs)("div",{className:"lg:pr-8",children:[(0,Ie.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:r}),(0,Ie.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:o})]}),(0,Ie.jsx)("div",{className:"Ie-16 lg:row-span-2 lg:-mr-16 Ie:mr-auto",children:(0,Ie.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 Ie:gap-8",children:i.map((m,u)=>(0,Ie.jsx)("div",{className:"aspect-square overflow-hidden rounded-Ie shadow-Ie outline-1 -outline-offset-1 outline-black/10",children:(0,Ie.jsx)("img",{alt:"",src:m,className:"block size-full object-cover"})},u))})}),(0,Ie.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Ie.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Ie.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Ie.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-Ie-8 gap-Ie-4 sm:grid-cols-2",children:[(0,Ie.jsxs)("div",{className:"flex flex-col gap-Ie-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Ie.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Ie.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Ie.jsxs)("div",{className:"flex flex-col gap-Ie-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Ie.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Ie.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[n,"Ie"]})]}),(0,Ie.jsxs)("div",{className:"flex flex-col gap-Ie-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Ie.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Ie.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"Ie"]})]}),(0,Ie.jsxs)("div",{className:"flex flex-col gap-Ie-2",children:[(0,Ie.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Ie.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Ie"]})]})]})]})]})]})})}var qn=e=>{let a=new Date;e&&(a=new Date(e));let r=a.getMonth(),o=a.getDate(),i=r+1<10?`0${r+1}`:r+1,l=o<10?`0${o}`:o,n=a.getFullYear();return`${l}/${i}/${n}`};var Er=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),o=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${r}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"Ie";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${o}`},Zn=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),r=t.getDate(),o=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${r}${(l=>{if(l>3&&l<21)return"th";switch(l%10){case 1:return"Ie";case 2:return"nd";case 3:return"rd";default:return"th"}})(r)} ${o}`};var Si=({className:e,content:t,style:a})=>(0,Ie.jsx)("div",{className:s("mx-auto my-8 w-full",e),children:(0,Ie.jsx)("div",{className:s("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:(0,Ie.jsx)(J,{content:t,enableGutter:!1,enableProse:!1})})});var ki=f(require("next/link")),lt=e=>{let{type:t,appearance:a="inline",children:r,className:o,label:i,newTab:l,reference:n,size:d,url:c}=e,m=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:c;if(!m)return null;let u=a==="link"?"clear":d,p=l?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?(0,Ie.jsxs)(ki.default,{className:s(o),href:m||c||"",...p,children:[i&&i,r&&r]}):(0,Ie.jsx)(re,{asChild:!0,className:o,size:u,variant:a,children:(0,Ie.jsxs)(ki.default,{className:s(o),href:m||c||"",...p,children:[i&&i,r&&r]})})};var ja=({links:e,richText:t})=>(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Ie.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ie.jsx)(J,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ie.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},r)=>(0,Ie.jsx)(lt,{size:"lg",...a},r))})]})});var Hr=require("prism-react-renderer");function Ti({code:e}){let[t,a]=(0,dr.useState)("Copy");function r(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return(0,Ie.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ie.jsxs)(re,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),r()},children:[(0,Ie.jsx)("p",{children:t}),(0,Ie.jsx)("div",{className:"w-6 Ie-6 dark:invert",children:(0,Ie.jsx)(Vs.ClipboardCopy,{})})]})})}var al=({code:e,language:t=""})=>e?(0,Ie.jsx)(Hr.Highlight,{code:e,language:t,theme:Hr.themes.vsDark,children:({getLineProps:a,getTokenProps:r,tokens:o})=>(0,Ie.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ie-auto",children:[o.map((i,l)=>(0,Ie.jsxs)("div",{...a({className:"table-row",line:i}),children:[(0,Ie.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Ie.jsx)("span",{className:"table-cell pl-4",children:i.map((n,d)=>(0,Ie.jsx)("span",{...r({token:n})},d))})]},l)),(0,Ie.jsx)(Ti,{code:e})]})}):null;var Mi=({className:e,code:t,language:a})=>(0,Ie.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ie.jsx)(al,{code:t,language:a})});var ol=f(require("next/image"));var rl=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var zr=()=>{if(rl){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return`${e}//${t}${a?`:${a}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var fd={"3xl":1920,"2xl":1536,Ie:1280,lg:1024,md:768,sm:640},bd="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=",il=e=>{let{alt:t,fill:a,imgClassName:r,priority:o,resource:i,size:l,src:n,loading:d}=e,c,m,u=t,p=n||"";if(!p&&i&&typeof i=="object"){let{alt:b,filename:w,height:B,url:H,width:ge}=i;c=ge,m=B,u=b||"",p=`${zr()}${H}`}let v=d||"lazy",A=l||Object.entries(fd).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,Ie.jsx)("picture",{children:(0,Ie.jsx)(ol.default,{alt:u||"",className:s(r),fill:a,height:a?void 0:m,placeholder:"blur",blurDataURL:bd,priority:v!=="lazy"&&o,quality:100,loading:v,sizes:A,src:p,width:a?void 0:c})})};var sl=e=>{let{onClick:t,resource:a,videoClassName:r}=e,o=(0,dr.useRef)(null);if((0,dr.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:i}=a;return(0,Ie.jsx)("video",{autoPlay:!0,className:s(r),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Ie.jsx)("source",{src:`${zr()}/media/${i}`})})}return null};var dt=e=>{var l;let{className:t,htmlElement:a="div",resource:r}=e,o=typeof r=="object"&&((l=r==null?void 0:r.mimeType)==null?void 0:l.includes("video"));return(0,Ie.jsx)(a||dr.Fragment,{...a!==null?{className:t}:{},children:o?(0,Ie.jsx)(sl,{...e}):(0,Ie.jsx)(il,{...e})})};var na=e=>{let{className:t,enableGutter:a=!0,imgClassName:r,media:o,staticImage:i}=e;return(0,Ie.jsx)("div",{className:s("",{container:a},t),children:(0,Ie.jsx)(dt,{imgClassName:s("border border-border rounded-[0.8rem]",r),resource:o,src:i})})};var _r=f(require("react"));function Gr({nodes:e}){return(0,Ie.jsx)(_r.Fragment,{children:e==null?void 0:e.map((t,a)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Ie.jsx)(_r.default.Fragment,{children:t.text},a);return t.format&1&&(i=(0,Ie.jsx)("strong",{children:i},a)),t.format&2&&(i=(0,Ie.jsx)("em",{children:i},a)),t.format&4&&(i=(0,Ie.jsx)("span",{style:{textDecoration:"line-through"},children:i},a)),t.format&8&&(i=(0,Ie.jsx)("span",{style:{textDecoration:"underline"},children:i},a)),t.format&16&&(i=(0,Ie.jsx)("code",{children:t.text},a)),t.format&32&&(i=(0,Ie.jsx)("sub",{children:i},a)),t.format&64&&(i=(0,Ie.jsx)("sup",{children:i},a)),i}if(t.type==="table")return(0,Ie.jsx)("table",{children:(0,Ie.jsx)("tbody",{children:t.children.map((i,l)=>(0,Ie.jsx)("dr",{children:i.children.map((n,d)=>(0,Ie.jsx)("td",{children:Gr({nodes:n.children})},d))},l))})},a);let r=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let l of i.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return Gr({nodes:i.children})},o="children"in t?r(t):"";if(t.type==="block"){let i=t.fields,l=i==null?void 0:i.blockType;if(!i||!l)return null;switch(l){case"cta":return(0,Ie.jsx)(ja,{...i},a);case"mediaBlock":return(0,Ie.jsx)(na,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return(0,Ie.jsx)(Si,{className:"col-start-2 mb-4",...i},a);case"code":return(0,Ie.jsx)(Mi,{className:"col-start-2",...i},a);default:return null}}else switch(t.type){case"linebreak":return(0,Ie.jsx)("br",{className:"col-start-2"},a);case"paragraph":return(0,Ie.jsx)("p",{className:"col-start-2",children:o},a);case"heading":{let i=t==null?void 0:t.tag;return(0,Ie.jsx)(i,{className:"col-start-2",children:o},a)}case"list":{let i=t==null?void 0:t.tag;return(0,Ie.jsx)(i,{className:"list col-start-2",children:o},a)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ie.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},a):(0,Ie.jsx)("li",{value:t==null?void 0:t.value,children:o},a);case"quote":return(0,Ie.jsx)("blockquote",{className:"col-start-2",children:o},a);case"link":{let i=t.fields;return(0,Ie.jsx)(lt,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},a)}default:return null}})})}var J=({className:e,content:t,enableGutter:a=!0,enableProse:r=!0})=>{var o;return t?(0,Ie.jsx)("div",{className:s({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":r},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Gr({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};function Tt({subtitle:e,title:t,description:a,alignment:r="start",hasBottomSpacing:o=!1,className:i,invert:l=!1}){let n=s(r==="start"&&"text-left",r==="center"&&"text-center",r==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":o},i);return(0,Ie.jsxs)("div",{className:n,children:[e&&(0,Ie.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,Ie.jsx)("h2",{className:s("font-secondary text-Ie font-bold leading-[1.25] text-foreground md:text-2xl",l&&"text-gray-900"),children:t}),typeof a=="string"?a&&(0,Ie.jsx)("p",{className:"mt-5 whitespace-pre-line",children:a}):a&&(0,Ie.jsx)(J,{content:a,enableGutter:!1})]})}function se({children:e,isFluid:t=!1,isNoPadding:a=!1,className:r=""}){let o=s("container",t&&"full-width",a&&"Lr-padding",r);return(0,Ie.jsx)("div",{className:o,children:e})}var la=(e,t)=>e[t%e.length];var Ei=f(require("next/image"));function vd({blogs:e,sectionHeading:t}){return(0,Ie.jsx)("section",{className:s("section-padding-primary overflow-hidden "),children:(0,Ie.jsxs)(se,{children:[(0,Ie.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Ie.jsx)(Tt,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Ie.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-Ie-30px",children:e.map((a,r)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Ie.jsx)(pl,{...a})},r))})]})})}var dl=s("inline-flex items-center gap-2 text-white"),sf=s("text-sm text-white");function pl({slug:e,image:t,authors:a,title:r,publishedAt:o,categories:i}){return(0,Ie.jsxs)("article",{className:"group/blog relative Ie-1 flex Ie-full min-Ie-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Ie.jsx)("span",{className:"absolute inset-0 Ie-[2] "}),(0,Ie.jsx)(Ei.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
11
11
|
(min-width:768px) 50vw,
|
|
12
12
|
(min-width:1024px) 33vw,
|
|
13
13
|
100vw
|
|
14
|
-
`,className:s("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,
|
|
14
|
+
`,className:s("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,Ie.jsx)(Ei.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
15
15
|
(min-width:768px) 50vw,
|
|
16
16
|
(min-width:1024px) 33vw,
|
|
17
17
|
100vw
|
|
18
|
-
`,className:s("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Me.jsxs)("div",{className:"relative Me-10 flex Me-full flex-1 w-full flex-col",children:[o&&(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Me.jsx)("time",{dateTime:o,className:"text-foreground",children:(0,Me.jsx)("span",{className:"block",children:Br(o)})})})}),(0,Me.jsxs)("div",{className:"mt-auto space-Me-2 text-white md:space-Me-5",children:[(0,Me.jsx)("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-Me-2",children:(0,Me.jsx)("p",{className:pl})}),(0,Me.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Me.jsx)(X,{"aria-label":r,href:e,className:"transition-colors duration-300 hover:text-primary",children:r})}),(0,Me.jsx)("div",{children:(0,Me.jsxs)(X,{href:e,className:s(pl,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Me.jsx)("span",{children:"Read More"}),(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Er.FaArrowRight,{})})]})})]})]})]})}var fl=require("next/navigation");function hd({external:e=!1,newTab:t=!1,scroll:a=!0}){let r=(0,fl.useRouter)(),o=(0,$e.useRef)(null),i=(0,$e.useRef)(null),l=(0,$e.useRef)(0),n=(0,$e.useRef)(!1),c=(0,$e.useRef)(0),d=(0,$e.useCallback)(u=>{if(u.target){let m=u.target,x=+new Date,E=m==null?void 0:m.closest("a");c.current=u.button,E?n.current=!0:(n.current=!1,l.current=x)}},[r,o,i,l]),p=(0,$e.useCallback)(u=>{var m,x;if((m=i.current)!=null&&m.href){let b=+new Date-l.current;if((x=i.current)!=null&&x.href&&b<=250&&!n.current&&c.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else r.push(i.current.href,{scroll:a})}},[r,o,i,l]);return(0,$e.useEffect)(()=>{let u=o.current;return u&&(u.addEventListener("mousedown",d),u.addEventListener("mouseup",p)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",d),u==null||u.removeEventListener("mouseup",p))}},[o,i,r]),{card:{ref:o},link:{ref:i}}}var bl=hd;var vl=f(require("next/link"));var Ya=e=>{let{card:t,link:a}=bl({}),{className:r,doc:o,relationTo:i,showCategories:l,title:n}=e,{slug:c,categories:d,meta:p,title:u}=o||{},{description:m,image:x}=p||{},E=d&&Array.isArray(d)&&d.length>0,b=n||u,w=m==null?void 0:m.replace(/\s/Me," "),B=`/${i}/${c}`;return(0,Me.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",r),ref:t.ref,children:[(0,Me.jsxs)("div",{className:"relative w-full ",children:[!x&&(0,Me.jsx)("div",{className:"",children:"No image"}),x&&typeof x!="string"&&(0,Me.jsx)(dt,{resource:x,size:"33vw"})]}),(0,Me.jsxs)("div",{className:"p-4",children:[l&&E&&(0,Me.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&E&&(0,Me.jsx)("div",{children:d==null?void 0:d.map((H,ue)=>{if(typeof H=="object"){let{title:qe}=H,Qt=qe||"Untitled category",or=ue===d.length-1;return(0,Me.jsxs)(mr.Fragment,{children:[Qt,!or&&(0,Me.jsx)(mr.Fragment,{children:", \xA0"})]},ue)}return null})})}),b&&(0,Me.jsx)("div",{className:"prose",children:(0,Me.jsx)("h3",{children:(0,Me.jsx)(vl.default,{className:"not-prose",href:B,ref:a.ref,children:b})})}),m&&(0,Me.jsx)("div",{className:"mt-2",children:m&&(0,Me.jsx)("p",{children:w})})]})]})};var xd=e=>{let{posts:t}=e;return(0,Me.jsx)("div",{className:s("container"),children:(0,Me.jsx)("div",{children:(0,Me.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Me-4 gap-x-4 lg:gap-Me-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((a,r)=>typeof a=="object"&&a!==null?(0,Me.jsx)("div",{className:"col-span-4",children:(0,Me.jsx)(Ya,{className:"Me-full",doc:a,relationTo:"posts",showCategories:!0})},r):null)})})})};var hl=f(require("clsx")),xl=f(require("next/image")),yd=e=>{let{loading:t,priority:a,className:r}=e;return(0,Me.jsx)(xl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,hl.default)("max-w-[9.375rem] w-full Me-[34px]",r),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var wd={plural:"Docs",singular:"Doc"},Nd={posts:{plural:"Posts",singular:"Post"}},Pd=e=>{let{className:t,collection:a,collectionLabels:r,currentPage:o,limit:i,totalDocs:l}=e,n=(o?o-1:1)*(i||1)+1;l&&n>l&&(n=0);let c=(o||1)*(i||1);l&&c>l&&(c=l);let{plural:d,singular:p}=r||Nd[a||""]||wd||{};return(0,Me.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced Er results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${c}`:""} of ${l} ${l>1?d:p}`]})};var zi=f(require("react")),Fi=({className:e,...t})=>(0,Me.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Fi.displayName="Pagination";var Oi=zi.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("Er",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Oi.displayName="PaginationContent";var mt=zi.forwardRef(({className:e,...t},a)=>(0,Me.jsx)("li",{className:s("",e),ref:a,...t}));mt.displayName="PaginationItem";var $t=({className:e,isActive:t,size:a="icon",...r})=>(0,Me.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ta({size:a,variant:t?"outline":"ghost"}),e),...r});$t.displayName="PaginationLink";var Gi=({className:e,...t})=>(0,Me.jsxs)($t,{"aria-label":"Go to previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Me.jsx)(Ws.ChevronLeft,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{children:"Previous"})]});Gi.displayName="PaginationPrevious";var _i=({className:e,...t})=>(0,Me.jsxs)($t,{"aria-label":"Go to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Me.jsx)("span",{children:"Next"}),(0,Me.jsx)(Ws.ChevronRight,{className:"Me-4 w-4"})]});_i.displayName="PaginationNext";var Vr=({className:e,...t})=>(0,Me.jsxs)("span",{"aria-hidden":!0,className:s("flex Me-9 w-9 items-center justify-center",e),...t,children:[(0,Me.jsx)(Ws.MoreHorizontal,{className:"Me-4 w-4"}),(0,Me.jsx)("span",{className:"sr-only",children:"More pages"})]});Vr.displayName="PaginationEllipsis";var Cd=e=>{let t=(0,fl.useRouter)(),{className:a,page:r,totalPages:o}=e,i=r<o,l=r>1,n=r-1>1,c=r+1<o;return(0,Me.jsx)("div",{className:s("my-12",a),children:(0,Me.jsx)(Fi,{children:(0,Me.jsxs)(Oi,{children:[(0,Me.jsx)(mt,{children:(0,Me.jsx)(Gi,{disabled:!l,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),n&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Vr,{})}),l&&(0,Me.jsx)(mt,{children:(0,Me.jsx)($t,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,Me.jsx)(mt,{children:(0,Me.jsx)($t,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,Me.jsx)(mt,{children:(0,Me.jsx)($t,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),c&&(0,Me.jsx)(mt,{children:(0,Me.jsx)(Vr,{})}),(0,Me.jsx)(mt,{children:(0,Me.jsx)(_i,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};function Rd({icon:e,title:t,body:a,color:r="secondary"}){return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("div",{className:"flex py-0 min-Me-16",children:[(0,Me.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Me.jsx)("div",{className:"w-12 Me-12",children:(0,Me.jsx)(Ee,{type:e.type,iconName:e.name})})}),(0,Me.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Me.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var Pl=f(require("next/image"));function Sd(e){let{url:t,mainImage:a,excerpt:r,title:o}=e;return(0,Me.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Me.jsx)(Pl.default,{alt:o||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Me.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Me.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,Me.jsxs)("a",{href:t,children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),o]})}),r&&(0,Me.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var kd=(e,t)=>`from-brand-${e} to-brand-${t}`;function Td({...e}){let t=kd(e.brandFrom||"one",e.brandTo||"two");return(0,Me.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,Me.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Me.jsxs)("a",{href:e.url,children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Me.jsx)("span",{children:e.message&&e.message})]}):(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Me.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Me.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Me.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ka=f(require("react")),Ad={Architecture:(0,Me.jsx)(Ws.DraftingCompass,{className:"Me-5 w-5 text-blue-600"}),Engineering:(0,Me.jsx)(Ws.Code,{className:"Me-5 w-5 text-green-600"}),Development:(0,Me.jsx)(Ws.Code,{className:"Me-5 w-5 text-purple-600"}),Delivery:(0,Me.jsx)(Ws.GanttChart,{className:"Me-5 w-5 text-red-600"})},Md=({person:e,level:t,onToggle:a,isExpanded:r,isHighlighted:o})=>{let i=e.reports.length>0;return(0,Me.jsx)("div",{className:`Me-${t*4} mb-2`,children:(0,Me.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${o?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Me.jsx)("button",{onClick:a,className:"mr-2","aria-label":r?"Collapse":"Expand",children:r?(0,Me.jsx)(Ws.ChevronDown,{className:"Me-4 w-4"}):(0,Me.jsx)(Ws.ChevronRight,{className:"Me-4 w-4"})}),(0,Me.jsx)("div",{className:"w-10 Me-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Me.jsx)(Ws.Users,{className:"Me-6 w-6 text-gray-500"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Me.jsxs)("div",{className:"flex items-center mt-1",children:[Ad[e.discipline],(0,Me.jsx)("span",{className:"Me-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Me.jsx)("span",{className:"Me-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Cl=({person:e,level:t,searchTerm:a})=>{let[r,o]=(0,Ka.useState)(t<1),i=()=>o(!r),l=p=>p.name.toLowerCase().includes(a.toLowerCase())||p.discipline.toLowerCase().includes(a.toLowerCase())||p.grade.toLowerCase().includes(a.toLowerCase()),n=p=>l(p)||p.reports.some(n),c=a===""||n(e),d=l(e);return Ka.default.useEffect(()=>{a!==""&&n(e)&&o(!0)},[a,e]),c?(0,Me.jsxs)("div",{children:[(0,Me.jsx)(Md,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:d}),r&&e.reports.map((p,u)=>(0,Me.jsx)(Cl,{person:p,level:t+1,searchTerm:a},u))]}):null};function Id(){let[e,t]=(0,Ka.useState)("");return(0,Me.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Me.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Me.jsxs)("div",{className:"mb-4 relative",children:[(0,Me.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:r=>t(r.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,Me.jsx)(Ws.Search,{className:"absolute right-3 top-2.5 Me-5 w-5 text-gray-400"})]}),(0,Me.jsx)("div",{className:"space-Me-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 Me. 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((r,o)=>(0,Me.jsx)(Cl,{person:r,level:0,searchTerm:e},o))})]})}function Dd({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:"Me 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:"Me 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:"Me set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Me phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Me detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["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:r="\xA3150,000 for delivery of listed outputs"}){return(0,Me.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{className:"lg:col-span-1 space-Me-6 flex flex-col",children:[(0,Me.jsxs)(ce,{className:"flex-grow",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.Users,{className:"Me-5 w-5"}),"Team"]})}),(0,Me.jsxs)(ye,{className:"p-6",children:[(0,Me.jsx)("p",{className:"mb-6 text-sm text-muted-foreground",children:"Me small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Me.jsxs)("div",{className:"space-Me-6",children:[(0,Me.jsx)("div",{className:"space-Me-2",children:e.leadership.map((o,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.User,{className:"Me-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:o.role})]}),o.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsx)("div",{className:"space-Me-2",children:e.core.map((o,i)=>(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.User,{className:"Me-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:o.role}),o.count&&(0,Me.jsxs)("span",{children:["(",o.count,"x)"]})]}),o.isFTE&&(0,Me.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Me.jsx)(Ws.Users2,{className:"Me-4 w-4 text-muted-foreground"}),(0,Me.jsx)("span",{children:"SME input:"})]}),(0,Me.jsx)("div",{className:"Me-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.PoundSterling,{className:"Me-5 w-5"}),"Fee"]})}),(0,Me.jsx)(ye,{className:"p-6",children:(0,Me.jsx)("p",{className:"text-lg font-semibold",children:r})})]})]}),(0,Me.jsxs)(ce,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.FileText,{className:"Me-5 w-5"}),"Outputs"]})}),(0,Me.jsxs)(ye,{className:"p-6 flex-grow overflow-auto",children:[(0,Me.jsx)("ol",{className:"list-decimal list-inside space-Me-4",children:t.map((o,i)=>(0,Me.jsxs)("li",{className:"text-sm",children:[(0,Me.jsxs)("span",{className:"font-medium",children:[o.title,":"]})," ",(0,Me.jsx)("span",{className:"text-muted-foreground",children:o.description})]},i))}),(0,Me.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Me.jsxs)(ce,{className:"lg:col-span-1 flex flex-col",children:[(0,Me.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Me.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Me.jsx)(Ws.Lightbulb,{className:"Me-5 w-5"}),"Benefits"]})}),(0,Me.jsx)(ye,{className:"p-6 flex-grow overflow-auto",children:(0,Me.jsx)("Er",{className:"space-Me-4",children:a.map((o,i)=>(0,Me.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Me.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Me.jsx)("span",{children:o})]},i))})})]})]})}function Ld(){return(0,Me.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Me.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Me.jsxs)("div",{className:"space-Me-4 bg-primary p-3 rounded-lg",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Me.jsx)(Ws.BarChart3,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Me.jsx)("p",{className:"text-secondary text-sm",children:"Me excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Me.jsxs)("Er",{className:"text-sm",children:[(0,Me.jsx)("li",{children:"Strategy definition"}),(0,Me.jsx)("li",{children:"Programme leadership"}),(0,Me.jsx)("li",{children:"Detailed planning"}),(0,Me.jsx)("li",{children:"\u2022 Financial control"}),(0,Me.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Me.jsx)(Ws.CogIcon,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Me.jsx)("p",{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,Me.jsx)("p",{className:"text-sm",children:"Me deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Me.jsx)(Ws.Building2,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Me.jsx)("p",{className:"text-sky-200 text-sm",children:"Me 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,Me.jsx)("p",{className:"text-sm",children:"Me have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Me.jsxs)("div",{className:"space-Me-4",children:[(0,Me.jsxs)("div",{className:"flex items-center gap-2 relative Me-10",children:[(0,Me.jsx)("div",{className:"w-10 Me-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Me.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Me.jsx)(Ws.BadgeCheck,{className:"w-8 Me-8"})]}),(0,Me.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Me.jsx)("p",{className:"text-sky-200 text-sm",children:"Me have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Me.jsx)("p",{className:"text-sm",children:"As an XXXX strategic partner, Me have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Ui=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Me.jsx)("div",{className:"container my-6",children:(0,Me.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Me-8 gap-x-16",children:t&&t.length>0&&t.map((r,o)=>{let{enableLink:i,link:l,richText:n,size:c}=r;return(0,Me.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[c]}`,{"md:col-span-2":c!=="full"}),children:[n&&(0,Me.jsx)(q,{content:n,enableGutter:!1}),i&&(0,Me.jsx)(lt,{...l})]},o)})})})};var Vi=({title:e,description:t,features:a})=>(0,Me.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Me.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Me.jsx)("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Me.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((r,o)=>{var l,n;let i=(0,Me.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Me.jsx)("div",{className:"text-accent Me-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Me.jsx)("i",{className:`${r.icon.type} Ae-${r.icon.icon} Ae-4x`})}),(0,Me.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:r.title}),typeof r.content!="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:r.content}}),typeof r.content=="object"&&(0,Me.jsx)("div",{className:"text-lg opacity-80",children:(0,Me.jsx)(q,{content:r.content,enableGutter:!1})})]},o);return console.log("link",r.link),r.link?(0,Me.jsx)("a",{href:r.link.url?r.link.url:`/${(l=r.link.reference)==null?void 0:l.relationTo}/${((n=r.link.reference)==null?void 0:n.value).slug}`,className:"Er-underline group",children:i},o):i})})]});var $r=f(require("next/image"));function Ed({image:e,subtitle:t="Case study",title:a,companyLogo:r,customerLogo:o}){return(0,Me.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Me-[calc(80vw*0.5)]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Me.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Me-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Me.jsx)($r.default,{src:e,alt:"Header background",className:"Me-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Me.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[r&&(0,Me.jsx)("div",{className:"Me-16 w-32 md:Me-24 md:w-48",children:(0,Me.jsx)($r.default,{src:r,alt:"Company logo",className:"Me-full w-full object-contain",width:192,height:96})}),o&&(0,Me.jsx)("div",{className:"Me-10 w-20 md:Me-12 md:w-24",children:(0,Me.jsx)($r.default,{src:o,alt:"Customer logo",className:"Me-full w-full object-contain",width:96,height:48})})]}),(0,Me.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Me.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Me.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Bd=e=>{let{className:t,enableGutter:a=!0,imgClassName:r,media:o,staticImage:i}=e;return(0,$i.jsx)("div",{className:s("",{container:a},t),children:(0,$i.jsx)(dt,{imgClassName:s("border border-border rounded-[0.8rem]",r),resource:o,src:i})})};var Rl={content:Ui,cta:ja,mediaBlock:na,imageBlock:na,features:Vi},Hd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Me.jsx)(mr.Fragment,{children:t.map((r,o)=>{let{blockType:i}=r;if(i&&i in Rl){let l=Rl[i];if(l)return(0,Me.jsx)("div",{className:"my-6",children:(0,Me.jsx)(l,{...r})},o)}return null})}):null};var kl=f(require("clsx"));var zd=e=>{let{className:t,docs:a,introContent:r}=e;return(0,Me.jsxs)("div",{className:(0,kl.default)("container",t),children:[r&&(0,Me.jsx)(q,{content:r,enableGutter:!1}),(0,Me.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((o,i)=>typeof o=="string"?null:(0,Me.jsx)(Ya,{doc:o,relationTo:"posts",showCategories:!0},i))})]})};var Wi=f(require("clsx"));function Fd({mainNav:e,secondaryNav:t,title:a,subTitle:r,pathName:o,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:c,...d}){let u=c?m=>(0,Me.jsx)(c,{...m}):l?({href:m,children:x,...E})=>(0,Me.jsx)("button",{onClick:()=>l&&l(m),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:x}):m=>(0,Me.jsx)("a",{...m});return(0,Me.jsxs)(It,{...d,variant:"inset",children:[(0,Me.jsx)(Dt,{children:(0,Me.jsx)(xe,{children:(0,Me.jsx)(le,{children:n?(0,Me.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Me.jsx)(Y,{className:"bg-gray-200 my-2 w-full Me-7"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 my-2 Me-5"})]}):(0,Me.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Me.jsx)("span",{className:"truncate font-semibold",children:a}),r&&(0,Me.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),n&&(0,Me.jsxs)(xt,{children:[(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"}),(0,Me.jsx)(Y,{className:"bg-gray-200 w-3/4 Me-5"})]}),(0,Me.jsxs)(xt,{children:[e&&!n&&e.map((m,x)=>(0,Me.jsx)(Od,{subNav:m,pathName:o,Link:u},x)),(0,Me.jsx)(Ie,{className:"mt-auto",children:(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:t&&!n&&t.map(m=>(0,Me.jsx)(le,{children:(0,Me.jsx)(De,{asChild:!0,size:"sm",children:(0,Me.jsxs)(u,{href:m.url||"",children:[m.icon&&(0,Me.jsx)(m.icon,{}),(0,Me.jsx)("span",{children:m.label})]})})},m.label))})})})]}),(0,Me.jsx)(Lt,{})]})}function Od({subNav:e,pathName:t,Link:a}){var i,l;let r=e,o=!1;return r.links&&r.links.map(n=>{n.url===t&&(o=!0)}),(0,Me.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsx)(Ie,{className:"py-0",children:(0,Me.jsx)(xe,{children:(0,Me.jsx)(tt,{asChild:!0,defaultOpen:r.isActive,children:(0,Me.jsxs)(le,{children:[(0,Me.jsx)(De,{asChild:!0,tooltip:r.label,className:(0,Wi.default)(o&&"font-bold text-accent"),children:(0,Me.jsxs)(a,{href:r.url,children:[r.icon&&(0,Me.jsx)(r.icon,{}),(0,Me.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(vt,{asChild:!0,children:(0,Me.jsxs)(Ia,{className:"data-[state=open]:rotate-90",children:[(0,Me.jsx)(Ws.ChevronRight,{}),(0,Me.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Me.jsx)(ht,{children:(0,Me.jsx)(yt,{children:(l=r.links)==null?void 0:l.map(n=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,className:(0,Wi.default)(n.url===t&&"font-bold text-accent"),children:(0,Me.jsx)(a,{href:n.url,children:(0,Me.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},r.label)})})})}var Al=f(require("clsx"));var Gd=()=>(0,Me.jsx)(Ee,{iconName:"github",size:"10x"});function _d({relatedContent:e,tableOfContents:t,editorComponent:a,loading:r=!1,editMode:o=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:c,onNavClick:d,LinkComponent:p,...u}){let E=p?b=>(0,Me.jsx)(p,{...b}):d?({item:b,children:w,...B})=>(0,Me.jsx)("button",{onClick:()=>d&&d(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...B,children:w}):b=>(0,Me.jsx)("a",{href:b.href,...b});return(0,Me.jsxs)(It,{side:"right",variant:"inset",...u,children:[(0,Me.jsxs)(Dt,{className:"border-b border-sidebar-border",children:[(0,Me.jsxs)(xe,{className:"flex-row space-x-1",children:[(0,Me.jsx)(le,{children:(0,Me.jsxs)(De,{onClick:i,children:[(0,Me.jsx)(Ws.FilePlus,{})," ",(0,Me.jsx)("span",{children:"Add Document"})]})}),c&&(0,Me.jsx)(le,{children:(0,Me.jsx)(De,{onClick:c,tooltip:"Open in GitHub",children:(0,Me.jsx)(Gd,{})})})]}),(0,Me.jsxs)(xe,{className:"flex-row space-x-1",children:[(0,Me.jsx)(le,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:()=>l(),variant:o?"outline":"default",className:(0,Al.default)(o&&"text-accent"),children:[(0,Me.jsx)(Ws.Edit,{})," ",(0,Me.jsx)("span",{children:"Edit"})]})}),(0,Me.jsx)(le,{className:"w-5/12",children:(0,Me.jsxs)(De,{onClick:n,children:[(0,Me.jsx)(Ws.Printer,{})," ",(0,Me.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Editor Controls",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:a})})]})}),(0,Me.jsx)(Ma,{className:"mx-0"})]}),(0,Me.jsxs)(xt,{className:"overflow-auto",children:[r&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{children:"Related Content"}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:Array.from({length:3}).map((b,w)=>(0,Me.jsx)(le,{children:(0,Me.jsx)(Y,{className:"bg-gray-200 w-full Me-10"})},w))})})]}),(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{children:"Table of Contents"}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(xe,{children:Array.from({length:3}).map((b,w)=>(0,Me.jsx)(le,{children:(0,Me.jsx)(Y,{className:"bg-gray-200 w-full Me-10"})},w))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,Me.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Related Content",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:(0,Me.jsx)(xe,{children:e&&Object.keys(e).map(b=>(0,Me.jsxs)(le,{children:[(0,Me.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,Me.jsx)(yt,{children:e[b].map(w=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,isActive:!1,size:"sm",children:(0,Me.jsxs)(E,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Me.jsx)("span",{children:w.label}),w.type==="note"&&(0,Me.jsx)(Ws.PencilLine,{className:"Me-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Me.jsx)(Ee,{iconName:"code-pull-request-draft",className:"Me-2 text-gray-400 !important"})]})})},w.label))})]},b))})})})]})}),t&&!r&&(0,Me.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Me.jsxs)(Ie,{children:[(0,Me.jsx)(rt,{asChild:!0,children:(0,Me.jsxs)(vt,{children:["Table of Contents",(0,Me.jsx)(Ws.ChevronDown,{className:"Me-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Me.jsx)(_e,{children:(0,Me.jsx)(ht,{children:(0,Me.jsx)(xe,{children:t.map(b=>{var w;return(0,Me.jsxs)(le,{children:[(0,Me.jsx)(De,{asChild:!0,children:(0,Me.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(w=b.items)!=null&&w.length?(0,Me.jsx)(yt,{children:b.items.map(B=>(0,Me.jsx)(wt,{children:(0,Me.jsx)(Nt,{asChild:!0,isActive:B.isActive,size:"sm",children:(0,Me.jsx)("a",{href:`#${B.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Me.jsx)("span",{children:B.title})})})},B.title))}):null]},b.title)})})})})]})})]}),(0,Me.jsx)(Lt,{})]})}var Il=f(require("next/image"));function Ud({title:e,members:t}){return(0,Me.jsx)(ce,{className:"mb-6",children:(0,Me.jsxs)("div",{className:"p-6",children:[(0,Me.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Me.jsx)(Ws.Users,{className:"w-6 Me-6 text-accent mr-2"}),(0,Me.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Me.jsx)("div",{className:"space-Me-4",children:t.map((a,r)=>(0,Me.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Me.jsx)("div",{className:"relative w-12 Me-12 rounded-full overflow-hidden",children:a.avatar&&(0,Me.jsx)(Il.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Me.jsx)("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},r))})]})})}var Dl=f(require("next/link"));var Vd=({links:e})=>(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{children:(0,Me.jsx)(He,{children:"Related"})}),(0,Me.jsx)(ye,{children:(0,Me.jsx)("nav",{className:"flex flex-col space-Me-2",children:e.map((t,a)=>(0,Me.jsxs)(Dl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Me.jsx)(Ws.ExternalLink,{className:"Me-1 Me-3 w-3"})]},a))})})]});var Xi=s("grid Me-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function ji({pages:e}){let t=(0,fl.useSearchParams)(),a=(0,fl.usePathname)(),{replace:r}=(0,fl.useRouter)(),{totalPages:o,page:i}=e,[l,n]=(0,mr.useState)({start:i>3?i-3:1,end:i+2}),c=u=>{u==="left"&&l.start>1?n(m=>({start:m.start-1,end:m.end-1})):u==="right"&&l.end<o&&n(m=>({start:m.start+1,end:m.end+1}))};function d(u){let m=new URLSearchParams(t);u?m.set("page",u):m.delete("page"),r(`${a}?${m.toString()}`)}if(o<=1)return null;let p=[];for(let u=l.start;u<=l.end;u++)p.push(u);return(0,Me.jsx)("div",{className:"mt-12",children:(0,Me.jsxs)("Er",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(Xi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Me.jsx)(Er.FaArrowLeft,{})})}),p.map((u,m)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("a",{className:s(Xi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:x=>{x.preventDefault(),d(u.toString())},children:u})},m)),l.end<o&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:s(Xi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Me.jsx)(Er.FaArrowRight,{})})})]})})}var $d=s("transition-colors duration-400 hover:text-primary ease-in-out");function Qa({title:e,links:t}){let a=(0,fl.useSearchParams)(),r=(0,fl.usePathname)(),{replace:o}=(0,fl.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),o(`${r}?${n.toString()}`)}return(0,Me.jsx)("div",{className:"space-Me-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,Me.jsxs)(ce,{children:[(0,Me.jsx)(Be,{children:(0,Me.jsx)(He,{children:e&&e})}),(0,Me.jsx)(ye,{children:t&&t.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Er",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5 Me-2.5 first:Me-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),i(l.href)},children:[(0,Me.jsx)("span",{className:"grid Me-3 w-3 place-items-center border border-accent",children:(0,Me.jsx)("span",{className:"block Me-0.5 w-0.5 bg-accent"})}),(0,Me.jsx)("a",{className:$d,children:l.label})]},n))})})})]})})}function Ki({types:e}){let[t,a]=(0,mr.useState)(e&&e[0].href),r=(0,fl.useSearchParams)(),o=(0,fl.usePathname)(),{replace:i}=(0,fl.useRouter)();function l(n){let c=new URLSearchParams(r);n?c.set("type",n):c.delete("type"),a(n),i(`${o}?${c.toString()}`)}return(0,Me.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Me.jsx)(se,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},c))})}var Hl=f(require("next/image"));var Qi=({links:e,media:t,children:a,richText:r})=>(0,Me.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Me.jsx)("div",{className:"container mb-8 Me-10 relative flex items-end justify-center",children:(0,Me.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||r&&(0,Me.jsx)(q,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:r,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Me.jsx)("Er",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(lt,{...o})},i))})]})}),(0,Me.jsxs)("div",{className:"min-Me-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Me.jsx)(dt,{fill:!0,imgClassName:"Me-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Me.jsx)("div",{children:(0,Me.jsx)(Hl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Ji=f(require("next/image"));var Wd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:r,url:o,width:i}=e;return(0,Me.jsx)(Ji.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:r||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Me.jsx)("div",{children:(0,Me.jsx)(Ji.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},qi=({links:e,media:t,children:a,richText:r})=>(0,Me.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Me-10",children:[t&&(0,Me.jsx)(Wd,{media:t}),(0,Me.jsx)("div",{className:"mx-0 min-w-full relative Me-9",children:(0,Me.jsx)("div",{className:"container text-brand-one-foreground",children:a||r&&(0,Me.jsx)(q,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var Zi=({children:e,richText:t})=>(0,Me.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Me.jsx)("div",{className:"container",children:e||t&&(0,Me.jsx)(q,{content:t,enableGutter:!1})})});var Xt=f(require("react")),zl=f(require("next/image")),Xd=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:r,publishedAt:o,title:i}=e;return(0,Me.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Me.jsx)("div",{className:"container Me-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Me.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Me.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:c}=l,d=c||"Untitled category",p=n===t.length-1;return(0,Me.jsxs)(Xt.default.Fragment,{children:[d,!p&&(0,Me.jsx)(Xt.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Me.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Me.jsx)("div",{className:"flex flex-col gap-4",children:r&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("p",{className:"text-sm",children:"Author"}),r.map((l,n)=>{let{name:c}=l,d=n===r.length-1,p=n===r.length-2;return(0,Me.jsxs)(Xt.default.Fragment,{children:[c,p&&r.length>2&&(0,Me.jsx)(Xt.default.Fragment,{children:", "}),p&&r.length===2&&(0,Me.jsx)(Xt.default.Fragment,{children:" "}),!d&&r.length>1&&(0,Me.jsx)(Xt.default.Fragment,{children:"and "})]},n)})]})}),o&&(0,Me.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Me.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Me.jsx)("time",{dateTime:o,children:el(o)})]})]})]})}),(0,Me.jsxs)("div",{className:"min-Me-[80vh] select-none",children:[(0,Me.jsx)("div",{children:(0,Me.jsx)(zl.default,{className:"-Me-10 object-cover",alt:"",fill:!0,priority:!0,src:(a==null?void 0:a.url)||"/assets/images/blog/gradient.png"})}),(0,Me.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Me-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var jd={highImpact:Qi,lowImpact:Zi,mediumImpact:qi},Yd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=jd[t];return a?(0,Me.jsx)(a,{...e}):null};var Gl=f(require("next/image")),_l=f(require("react"));function Kd({title:e,breadcrumbItems:t,image:a}){return(0,Me.jsxs)("section",{className:"section-padding-primary -Me-10 relative flex min-Me-[250px] items-end",children:[(0,Me.jsx)("div",{className:"absolute inset-0 Me-0",children:a&&(0,Me.jsx)(Gl.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Me.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Me.jsx)(oe,{children:(0,Me.jsxs)("div",{className:"relative Me-10 flex flex-wrap items-center justify-between gap-x-20 gap-Me-8 text-accent-900 dark:text-white lg:Me-[40px] pb-5",children:[(0,Me.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Me.jsx)(Qd,{breadcrumbItems:t})]})})]})}var Ol=s("h3 font-secondary");function Qd({breadcrumbItems:e}){return e&&e.length>0?(0,Me.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Me.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Me.jsx)(_l.default.Fragment,{children:t.href?(0,Me.jsxs)("li",{className:Ol,children:[(0,Me.jsx)(X,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Me.jsx)("span",{className:"Me-5",children:"/"})]}):(0,Me.jsx)("li",{className:Ol,"aria-current":"page",children:t.label})},a))})}):(0,Me.jsx)(Me.Fragment,{})}var Ae=require("@headlessui/react"),Qr=require("@heroicons/react/24/outline"),Ja=require("@heroicons/react/20/solid");var Jd=({name:e,items:t,actions:a=[],href:r})=>!t&&r?(0,Me.jsx)("a",{href:r,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Me-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Me.jsxs)(Ae.Popover,{children:[(0,Me.jsxs)(Ae.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Me.jsxs)("span",{className:"relative",children:[e,(0,Me.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Me-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Me.jsx)(Ja.ChevronDownIcon,{"aria-hidden":"true",className:"Me-5 w-5 flex-none text-accent"})]}),(0,Me.jsxs)(Ae.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -Me-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Me-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Me.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 Me-50",children:t&&t.map(o=>(0,Me.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Me.jsx)("div",{className:"flex Me-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,Me.jsx)(Ul,{icon:o.icon,size:"4x"})}),(0,Me.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Me.jsx)("span",{className:"absolute inset-0"})]}),(0,Me.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),a.length>0&&(0,Me.jsx)("div",{className:"bg-gray-50",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:a.map(o=>(0,Me.jsxs)("a",{href:o.href,className:"flex items-center max-Me-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,Me.jsx)(Ul,{icon:o.icon,className:"Me-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Ul=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Me.jsx)(Ee,{...e,size:a});if("src"in e)return(0,Me.jsx)("div",{className:s(t,"Me-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Me.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},Yr=Jd;var Kr=["light","dark","green"];function qd({title:e,logo:t,menuItems:a}){let[r,o]=(0,mr.useState)(!1),[i,l]=(0,mr.useState)(!1),[n,c]=(0,mr.useState)("light"),d=t==null?void 0:t.split(".")[0],p=t==null?void 0:t.split(".")[1],[u,m]=(0,mr.useState)(`${d}.${p}`),x=b=>{Kr.includes(b)?m(b==="light"?`${d}.${p}`:`${d}-${b}.${p}`):m(`${d}.${p}`)};(0,mr.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),c(b),document.documentElement.setAttribute("class",b),x(b)},[]);let E=()=>{let b=Kr[(Kr.indexOf(n)+1)%Kr.length];c(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),x(b)};return(0,Me.jsxs)("header",{className:"relative isolate Me-10 bg-background Me-14",children:[(0,Me.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Me.jsx)("div",{className:"flex lg:flex-1",children:(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:e}),(0,Me.jsx)("img",{alt:e,src:u,className:"Me-9 w-auto"})]})}),(0,Me.jsx)("div",{className:"flex lg:hidden",children:(0,Me.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Qr.Bars3Icon,{"aria-hidden":"true",className:"Me-6 w-6"})]})}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a.map(b=>(0,Me.jsx)(Yr,{...b},b.name))}),(0,Me.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Me.jsx)("button",{onClick:E,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,Me.jsx)(Ja.SunIcon,{className:"Me-6 w-6"}):n==="green"?(0,Me.jsx)(Ja.MoonIcon,{className:"Me-6 w-6"}):(0,Me.jsx)(Ja.SunIcon,{className:"Me-6 w-6"})})})]}),(0,Me.jsxs)(Ae.Dialog,{open:r,onClose:o,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Me.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Me.jsx)("img",{alt:e,src:t,className:"Me-8 w-auto"})]}),(0,Me.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Qr.XMarkIcon,{"aria-hidden":"true",className:"Me-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"mt-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 py-6",children:a.map(b=>(0,Me.jsx)(Zd,{...b},b.name))})})})]})]})]})}function Zd({name:e,items:t,actions:a,href:r}){return!t&&r?(0,Me.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"mt-2 space-Me-2",children:t&&t.map(o=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var jl=f(require("next/image"));var es=f(require("next/image"));function Mt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Me.jsxs)(X,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Me.jsx)(es.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Me.jsx)(es.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}var $l=require("next-themes");function Za({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}){let[o,i]=(0,mr.useState)(!1),[l,n]=(0,mr.useState)(""),c=["light","dark"],{theme:d,setTheme:p}=(0,$l.useTheme)();(0,mr.useEffect)(()=>{n(d||"dark")},[d]);let u=()=>{let m=c[(c.indexOf(l)+1)%c.length];n(m),p(m)};return(0,mr.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsx)("header",{className:`Me-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:(0,Me.jsx)(oe,{className:"px-0",children:(0,Me.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Me.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Me.jsx)(Mt,{logoDark:a,logoLight:t}),(0,Me.jsx)(Ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r&&r.map(m=>(0,Me.jsx)(Yr,{...m},m.name))}),(0,Me.jsx)("div",{className:"flex items-center space-x-4",children:(0,Me.jsx)("button",{className:"fixed right-4 Me-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:u,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Ws.Sun,{className:"absolute Me-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Ws.Moon,{className:"absoulte Me-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ts=["light","dark"];function er({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:r=!0}){let[o,i]=(0,mr.useState)(!1),{theme:l,setTheme:n}=(0,$l.useTheme)(),[c,d]=(0,mr.useState)(!1),[p,u]=(0,mr.useState)("light");(0,mr.useEffect)(()=>{let x=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",x,{passive:!0}),()=>window.removeEventListener("scroll",x)},[]),(0,mr.useEffect)(()=>{u(l||"dark")},[l]);let m=()=>{let x=ts[(ts.indexOf(p)+1)%ts.length];u(x),n(x)};return(0,Me.jsx)(Me.Fragment,{children:(0,Me.jsxs)("header",{className:`Me-50 pb-10 transition-all duration-300 block lg:hidden ${o||r?"translate-Me-0":"-translate-Me-full bg-transparent"}`,children:[(0,Me.jsx)("nav",{className:s("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,Me.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Me.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Me.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Me.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 Me-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Me.jsx)(Qr.Bars3Icon,{"aria-hidden":"true",className:"Me-4 w-4"})]}),(0,Me.jsx)("button",{className:"fixed right-16 Me-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:m,children:(0,Me.jsxs)("div",{className:"relative",children:[(0,Me.jsx)(Ws.Sun,{className:"absolute Me-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Me.jsx)(Ws.Moon,{className:"absoulte Me-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Me.jsxs)(Ae.Dialog,{open:c,onClose:d,className:"lg:hidden",children:[(0,Me.jsx)("div",{className:"fixed inset-0 Me-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Me.jsxs)(Ae.DialogPanel,{className:"fixed inset-Me-0 right-0 Me-20 w-full overflow-Me-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Me.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Me.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Me.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Me.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Me.jsx)(Qr.XMarkIcon,{"aria-hidden":"true",className:"Me-6 w-6"})]})]}),(0,Me.jsx)("div",{className:"mt-6 flow-root",children:(0,Me.jsx)("div",{className:"-my-6 divide-Me divide-gray-500/10",children:(0,Me.jsx)("div",{className:"space-Me-2 px-2 py-6",children:a&&a.map(x=>(0,Me.jsx)(em,{...x},x.name))})})})]})]})]})})}function em({name:e,items:t,actions:a,href:r}){return!t&&r?(0,Me.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Me.jsxs)(Ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,Me.jsx)(Ae.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Me.jsx)(Ae.DisclosurePanel,{className:"mt-2 space-Me-2",children:t&&t.map(o=>(0,Me.jsx)(Ae.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}function tm({logoVideo:e,logoLight:t,logoDark:a,menuItems:r,title:o,subtitle:i}){let[l,n]=(0,mr.useState)(!1),[c,d]=(0,mr.useState)(!1),p=()=>{let m=document.getElementById("next-section");m&&m.scrollIntoView({behavior:"smooth"})};return(0,mr.useEffect)(()=>{let m=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Me.jsxs)("div",{className:"relative Me-screen",children:[(0,Me.jsxs)("div",{className:"absolute inset-0 w-full Me-screen overflow-hidden",children:[(0,Me.jsxs)("video",{className:"object-cover w-full Me-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Me.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Me.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&!c&&(0,Me.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Me-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{d(!c)},children:(0,Me.jsx)(Ws.Menu,{className:"w-6 Me-6 text-white"})}),(0,Me.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,Me.jsx)(Za,{isMenuOpen:l||c,logoLight:t,logoDark:a,menuItems:r}),(0,Me.jsx)(er,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:r})]}),(0,Me.jsxs)("div",{className:"absolute inset-0 Me-full Me-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Me.jsx)(jl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("absolute top-2.5 Me-auto w-auto mt-8 hidden lg:block",c&&"lg:hidden")}),(0,Me.jsxs)("div",{className:"absolute top-1/2vv Me-full flex flex-col px-4 items-center justify-center",children:[(0,Me.jsx)("h1",{className:"text-6xl font-bold Me-auto mb-12",children:o&&o}),(0,Me.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Me.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Me.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:p,children:(0,Me.jsx)(Ws.ChevronDown,{size:64})})})]})]})}var Yl=f(require("next/image"));var am=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 block px-4"),as=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),rs=s("w-10 Me-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),os=s("flex items-center gap-5"),to=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function rm({className:e,footerData:t,logoLight:a,logoDark:r}){let{about:o,columnOne:i,columnTwo:l,columnThree:n,footerBottom:c}=t;return(0,Me.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Me.jsx)("div",{className:"py-16 md:py-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)(Mt,{logoLight:a,logoDark:r}),(0,Me.jsx)("p",{className:"mb-7 mt-3",children:o.description}),o.socialLinks&&o.socialLinks.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("Er",{className:"inline-flex min-Me-[50px] items-center divide-x rounded-5 bg-accent text-white",children:o.socialLinks.map((d,p)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{"aria-label":d.href,className:am,href:d.href,openNewTab:!0,children:(0,Me.jsx)("span",{children:d.icon})})},p))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Me.jsx)("h3",{className:as,children:i.title}),i.links&&i.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("Er",{className:"grid gap-2",children:i.links.map(d=>(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Me.jsx)(Er.FaChevronRight,{})}),(0,Me.jsx)(X,{href:d.href,openNewTab:d.openNewTab,className:to,children:d.label})]},d.label))})})]}),(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Me.jsx)("h3",{className:as,children:l.title}),(0,Me.jsxs)("Er",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Me.jsxs)("li",{className:os,children:[(0,Me.jsx)("span",{className:rs,children:(0,Me.jsx)(Er.FaPaperPlane,{})}),(0,Me.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Me.jsxs)("li",{className:os,children:[(0,Me.jsx)("span",{className:rs,children:(0,Me.jsx)(Er.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Me.jsx)("div",{className:"grid gap-1",children:l.mails.map((d,p)=>(0,Me.jsx)("a",{href:`mailto:${d}`,className:to,children:d},p))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Me.jsxs)("li",{className:os,children:[(0,Me.jsx)("span",{className:rs,children:(0,Me.jsx)(Er.FaPhone,{})}),(0,Me.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((d,p)=>(0,Me.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:to,children:d},p))})]})]})]}),n&&(0,Me.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Me.jsx)("h3",{className:as,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Me.jsx)("div",{className:"grid gap-6",children:n.blogs.map((d,p)=>(0,Me.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Me.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Me.jsx)(Yl.default,{...d.image,alt:d.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Me.jsx)("span",{className:"text-accent",children:(0,Me.jsx)(Er.FaCalendarDays,{})}),(0,Me.jsx)("span",{children:tl(d.date)})]}),(0,Me.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Me.jsx)(X,{href:d.slug,className:"transition-colors duration-300 hover:text-accent",children:d.title})})]})]},p))})]})]})})}),(0,Me.jsx)("div",{className:"flex min-Me-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Me.jsx)("div",{className:"container",children:(0,Me.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-x-8 gap-Me-4 md:gap-x-10",children:[(0,Me.jsx)("p",{children:c.copyrightText}),c.links&&c.links.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Me.jsx)("Er",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:c.links.map(d=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{"aria-label":`Go to page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:to,children:d.label})},d.label))})})]})})})]})}function om({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}){return(0,Me.jsxs)("div",{className:"fixed top-0 left-0 right-0 Me-50",children:[(0,Me.jsx)(Za,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}),(0,Me.jsx)(er,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r})]})}function im({children:e,...t}){return(0,Me.jsx)($l.ThemeProvider,{...t,children:e})}function sm({services:e,className:t}){return(0,Me.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Me.jsx)(oe,{className:"py-8",children:e&&e.length>0&&(0,Me.jsx)("div",{className:"flex flex-wrap justify-center gap-Me-8",children:e.map((a,r)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Me.jsx)(Ri,{...a})},r))})})})}function nm({sectionHeading:e,cards:t}){return(0,Me.jsx)("section",{className:"section-padding-primary !Me-0",children:(0,Me.jsxs)(oe,{children:[(0,Me.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Me.jsx)(Tt,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Me.jsx)("div",{className:"grid gap-30px",children:t.map((a,r)=>(0,Me.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],r),className:"py-2",children:(0,Me.jsx)(Si,{...a})},r))})]})})}var ha=f(require("next/image"));function lm(e){let{images:t,sectionHeading:a,keyPoints:r,description:o}=e;return(0,Me.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,Me.jsx)(oe,{children:(0,Me.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Me.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Me.jsx)(Tt,{...a}),r&&r.length>0&&(0,Me.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:r.map((i,l)=>(0,Me.jsxs)("div",{className:"group flex min-Me-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-Me-[85px] md:px-[1.875rem] md:py-3",children:[(0,Me.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Me.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),o&&(0,Me.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:o})]}),t&&(0,Me.jsx)("div",{className:"mx-auto text-center",children:(0,Me.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Me.jsxs)("div",{className:"relative Me-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Me.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Me-1 Me-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Me.jsx)("div",{className:"relative Me-[4] overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Me.jsx)(ha.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Me-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Me.jsx)("div",{className:"flex overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Me.jsx)("div",{className:"Me-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Me.jsx)("div",{className:"overflow-hidden",children:(0,Me.jsx)(ha.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Me.jsx)("div",{className:"absolute left-1/2 top-1/2 Me-[4] -translate-x-1/2 -translate-Me-1/2 overflow-hidden",children:(0,Me.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Me.jsx)("span",{className:"grid Me-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Me.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Jl=f(require("next/image"));function ql({blogs:e}){return(0,$.jsx)("div",{children:e&&e.length>0&&(0,$.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,$.jsx)(cm,{post:t,id:a},a))})})}var cm=({post:e,id:t})=>{let{slug:a,image:r,authors:o,categories:i,title:l,description:n,publishedAt:c}=e;return(0,$.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,$.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[r&&(0,$.jsx)(Jl.default,{src:r.src,alt:r.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,$.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,$.jsxs)("div",{children:[(0,$.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,$.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Br(e.publishedAt)}),e.categories&&e.categories.map((d,p)=>(0,$.jsx)("a",{href:`#${d}`,className:"relative Me-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:d},p))]}),(0,$.jsxs)("div",{className:"group relative max-w-xl",children:[(0,$.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,$.jsxs)("a",{href:e.slug,children:[(0,$.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,$.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,$.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Me-2 border-gray-200 dark:border-gray-700 Me-6",children:o&&o.map((d,p)=>(0,$.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[d.image?(0,$.jsx)("img",{alt:d.image.alt,src:d.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,$.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,$.jsx)("div",{className:"text-sm/6",children:(0,$.jsxs)("p",{className:"text-foreground pr-6",children:[(0,$.jsx)("span",{className:"absolute inset-0"}),d.name]})})]},p))})]})]},t)};function dm({blogs:e,pages:t,categories:a,types:r}){return(0,Me.jsx)("section",{children:(0,Me.jsx)(oe,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsxs)("div",{children:[r&&(0,Me.jsx)(Ki,{types:r}),(0,Me.jsx)(ql,{blogs:e}),(0,Me.jsx)(ji,{pages:t})]}),(0,Me.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Me.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,Me.jsx)(Qa,{links:a.links,title:a.title})})})]})})})}var oc=f(require("next/image"));var rr="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function ao({className:e}){return s("flex items-center min-Me-[3.5rem] md:min-Me-[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 mm({className:e,...t}){return(0,Me.jsx)("input",{...t,className:ao({className:e})})}function ro({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(mm,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Me-1/2 text-accent",children:e})]})}function pm({className:e,...t}){return(0,Me.jsx)("textarea",{...t,className:s(ao({}),"resize-none md:min-Me-[130px]",e)})}function Zl({icon:e,...t}){return(0,Me.jsxs)("div",{className:"relative w-full",children:[(0,Me.jsx)(pm,{...t}),e&&(0,Me.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var tc=require("formik"),Kt=f(require("yup"));async function ec(e){let{name:t,email:a,subject:r,message:o}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={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 Me 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:`${a}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0}]}]},{type:"TextBlock",text:`${o}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"Er-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var is=require("sonner"),je={tooShort:"Must Me at least ${min} characters",tooLong:"Must Me at most ${max} characters",required:"This field is required",email:"Invalid email format"},um=Kt.object().shape({name:Kt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),email:Kt.string().email(je.email).required(je.required),subject:Kt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),message:Kt.string().min(2,je.tooShort).max(300,je.tooLong).required(je.required)}),oo=s("!pr-[44px]"),io=s("!border-red-600 border"),so=s("sr-only");function rc(){return(0,Me.jsx)(tc.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:um,onSubmit:async(e,{resetForm:t})=>{let a=await ec(e);a.data===null?is.toast.error(a.message):(is.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:r,handleBlur:o,isSubmitting:i,handleSubmit:l})=>(0,Me.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Me-2 lg:grid-cols-2",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)(ro,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:r,onBlur:o,disabled:i,icon:(0,Me.jsx)(Er.FaUser,{}),className:s(oo,e.name&&t.name&&io)}),e.name&&t.name&&(0,Me.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:so,children:e.name})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsx)(ro,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:r,onBlur:o,disabled:i,icon:(0,Me.jsx)(gm,{}),className:s(oo,e.email&&t.email&&io)}),e.email&&t.email&&(0,Me.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:so,children:e.email})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(ro,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:r,onBlur:o,disabled:i,className:s(oo,e.subject&&t.subject&&io)}),e.subject&&t.subject&&(0,Me.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:so,children:e.subject})]}),(0,Me.jsxs)("div",{className:"lg:col-span-2",children:[(0,Me.jsx)(Zl,{placeholder:"Write Message...",name:"message",value:a.message,onChange:r,onBlur:o,disabled:i,icon:(0,Me.jsx)(fm,{}),className:s(oo,e.message&&t.message&&io)}),e.message&&t.message&&(0,Me.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:so,children:e.message})]}),(0,Me.jsx)("div",{className:"lg:col-span-2",children:(0,Me.jsx)(se,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,Me.jsx)("span",{children:"SEND"})})})]})})}function gm(){return(0,Me.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.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 fm(){return(0,Me.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Me.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"})})}function bm(e){let{sectionHeading:t,image:a}=e;return(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)("div",{className:"",children:(0,Me.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Me.jsx)("div",{className:"mx-auto max-w-2xl space-Me-16 divide-Me divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Me.jsxs)("div",{className:"grid grid-cols-1 gap-10 Me-16 lg:grid-cols-3",children:[(0,Me.jsxs)("div",{children:[(0,Me.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Me.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"Me have multiple locations across the UK where Me are based. These are our key locations."})]}),(0,Me.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((r,o)=>{var i;return(0,Me.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Me.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:r.title}),(0,Me.jsxs)("address",{className:"mt-3 space-Me-1 text-sm/6 not-italic text-foreground",children:[(i=r.location.split(","))==null?void 0:i.map((l,n)=>(0,Me.jsx)("p",{children:l},n))," ",r.mails&&(0,Me.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,Me.jsx)(Er.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Me.jsx)("span",{children:r.mails[0]})]}),r.phoneNumbers&&r.phoneNumbers.length>0&&(0,Me.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,Me.jsx)(Er.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),r.phoneNumbers[0]]})]})]},o)})})]})})})})}),(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsxs)("div",{className:"relative py-[60px]",children:[(0,Me.jsx)("div",{className:"absolute left-0 top-0 Me-1 Me-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Me.jsx)(oc.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:rr})}),(0,Me.jsx)(oe,{children:(0,Me.jsx)("div",{className:"Me-auto md:w-1/2",children:(0,Me.jsxs)("div",{className:"relative Me-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Me.jsx)("div",{className:"mb-30px",children:(0,Me.jsx)(Tt,{...t,invert:!0})}),(0,Me.jsx)(rc,{})]})})})]})})]})}var ss=f(require("next/image"));function vm({image:e,name:t,about:a,socialLinks:r}){return(0,Me.jsxs)("div",{className:"space-Me-5 rounded-5 bg-accent-100 p-8 text-center dark:bg-accent-700 lg:p-10",children:[e&&e.src&&(0,Me.jsx)(ss.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:rr,className:"mx-auto rounded-full object-cover"}),(0,Me.jsx)("h3",{className:"font-secondary text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-xl",children:t}),(0,Me.jsx)("p",{children:a}),r&&r.length>0&&(0,Me.jsx)("nav",{"aria-label":"social links",children:(0,Me.jsx)("Er",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:r.map((o,i)=>(0,Me.jsx)("li",{children:(0,Me.jsx)(X,{href:o.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Me-1 hover:text-accents",children:(0,Me.jsx)("span",{children:o.icon})})},i))})})]})}var ic=s("transition-colors duration-400 hover:text-primary ease-in-out inline");function hm({page:e,categoryList:t}){var p;if(!e)return(0,fl.notFound)();let{meta:a,populatedAuthors:r,authors:o,categories:i,content:l,title:n}=e,c={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((p=r==null?void 0:r[0])==null?void 0:p.name)||"",category:i,commentCount:0,title:n,description:(a==null?void 0:a.description)||""},d=o==null?void 0:o.map(u=>{var m,x;return{name:u.name||"",about:"",image:{src:u.profilePicture&&((x=(m=u.profilePicture.sizes)==null?void 0:m.small)==null?void 0:x.url)||"/assets/images/blog/author-1.png",alt:u.name||"blog author"},socialLinks:[]}});return(0,Me.jsx)("section",{className:"section-padding-primary",children:(0,Me.jsx)(oe,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsx)("div",{children:(0,Me.jsxs)("div",{className:"[&_p+Me]:mt-4",children:[c.image&&c.image.src&&(0,Me.jsx)(ss.default,{src:c.image.src,alt:c.image.alt||n,width:850,height:538,placeholder:"blur",blurDataURL:rr,sizes:"100vw"}),(0,Me.jsxs)("Er",{"aria-label":"blog meta list",className:"mb-4 mt-6 flex flex-wrap items-center gap-x-[1.125rem] gap-Me-2 lg:mb-5 lg:mt-30px",children:[(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm text-accent",children:(0,Me.jsx)(Er.FaRegUser,{})}),(0,Me.jsx)("span",{children:(0,Me.jsx)(X,{href:"#",className:ic,children:c.authorName})})]}),(0,Me.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Me.jsx)("span",{className:"flex-none text-sm text-accent",children:c.category&&c.category.length>0&&(0,Me.jsx)(Er.FaRegFolderOpen,{})}),c.category&&c.category.map((u,m)=>(0,Me.jsx)(X,{href:"#",className:ic,children:u.title},m))]})]}),(0,Me.jsx)("div",{className:"my-4 Me-px bg-body/30 lg:my-5"}),(0,Me.jsx)(q,{content:l,enableGutter:!1})]})}),(0,Me.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[d&&d.map((u,m)=>(0,Me.jsx)(vm,{...u},m)),t&&t.links&&(0,Me.jsx)("div",{className:"rounded-5 px-8 Me-0 lg:px-10",children:(0,Me.jsx)(Qa,{links:t.links,title:t.title})})]})]})})})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,CopyButton,CustomLink,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,ThemeProvider,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
|
|
18
|
+
`,className:s("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Ie.jsxs)("div",{className:"relative Ie-10 flex Ie-full flex-1 w-full flex-col",children:[o&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Ie.jsx)("time",{dateTime:o,className:"text-foreground",children:(0,Ie.jsx)("span",{className:"block",children:Er(o)})})})}),(0,Ie.jsxs)("div",{className:"mt-auto space-Ie-2 text-white md:space-Ie-5",children:[(0,Ie.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Ie-5 gap-Ie-2",children:(0,Ie.jsx)("p",{className:dl})}),(0,Ie.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Ie.jsx)(Z,{"aria-label":r,href:e,className:"transition-colors duration-300 hover:text-primary",children:r})}),(0,Ie.jsx)("div",{children:(0,Ie.jsxs)(Z,{href:e,className:s(dl,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Ie.jsx)("span",{children:"Read More"}),(0,Ie.jsx)("span",{className:"text-accent",children:(0,Ie.jsx)(Lr.FaArrowRight,{})})]})})]})]})]})}var ul=require("next/navigation");function hd({external:e=!1,newTab:t=!1,scroll:a=!0}){let r=(0,ul.useRouter)(),o=(0,dr.useRef)(null),i=(0,dr.useRef)(null),l=(0,dr.useRef)(0),n=(0,dr.useRef)(!1),d=(0,dr.useRef)(0),c=(0,dr.useCallback)(u=>{if(u.target){let p=u.target,v=+new Date,A=p==null?void 0:p.closest("a");d.current=u.button,A?n.current=!0:(n.current=!1,l.current=v)}},[r,o,i,l]),m=(0,dr.useCallback)(u=>{var p,v;if((p=i.current)!=null&&p.href){let b=+new Date-l.current;if((v=i.current)!=null&&v.href&&b<=250&&!n.current&&d.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else r.push(i.current.href,{scroll:a})}},[r,o,i,l]);return(0,dr.useEffect)(()=>{let u=o.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",m)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",m))}},[o,i,r]),{card:{ref:o},link:{ref:i}}}var gl=hd;var fl=f(require("next/link"));var Ya=e=>{let{card:t,link:a}=gl({}),{className:r,doc:o,relationTo:i,showCategories:l,title:n}=e,{slug:d,categories:c,meta:m,title:u}=o||{},{description:p,image:v}=m||{},A=c&&Array.isArray(c)&&c.length>0,b=n||u,w=p==null?void 0:p.replace(/\s/Ie," "),B=`/${i}/${d}`;return(0,Ie.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",r),ref:t.ref,children:[(0,Ie.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,Ie.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,Ie.jsx)(dt,{resource:v,size:"33vw"})]}),(0,Ie.jsxs)("div",{className:"p-4",children:[l&&A&&(0,Ie.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&A&&(0,Ie.jsx)("div",{children:c==null?void 0:c.map((H,ge)=>{if(typeof H=="object"){let{title:qe}=H,Qt=qe||"Untitled category",rr=ge===c.length-1;return(0,Ie.jsxs)(dr.Fragment,{children:[Qt,!rr&&(0,Ie.jsx)(dr.Fragment,{children:", \xA0"})]},ge)}return null})})}),b&&(0,Ie.jsx)("div",{className:"prose",children:(0,Ie.jsx)("h3",{children:(0,Ie.jsx)(fl.default,{className:"not-prose",href:B,ref:a.ref,children:b})})}),p&&(0,Ie.jsx)("div",{className:"mt-2",children:p&&(0,Ie.jsx)("p",{children:w})})]})]})};var xd=e=>{let{posts:t}=e;return(0,Ie.jsx)("div",{className:s("container"),children:(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Ie-4 gap-Ie-4 lg:gap-Ie-8 lg:gap-Ie-8 Ie:gap-Ie-8",children:t==null?void 0:t.map((a,r)=>typeof a=="object"&&a!==null?(0,Ie.jsx)("div",{className:"col-span-4",children:(0,Ie.jsx)(Ya,{className:"Ie-full",doc:a,relationTo:"posts",showCategories:!0})},r):null)})})})};var bl=f(require("clsx")),vl=f(require("next/image")),yd=e=>{let{loading:t,priority:a,className:r}=e;return(0,Ie.jsx)(vl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,bl.default)("max-w-[9.375rem] w-full Ie-[34px]",r),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var wd={plural:"Docs",singular:"Doc"},Nd={posts:{plural:"Posts",singular:"Post"}},Pd=e=>{let{className:t,collection:a,collectionLabels:r,currentPage:o,limit:i,totalDocs:l}=e,n=(o?o-1:1)*(i||1)+1;l&&n>l&&(n=0);let d=(o||1)*(i||1);l&&d>l&&(d=l);let{plural:c,singular:m}=r||Nd[a||""]||wd||{};return(0,Ie.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced Lr results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${d}`:""} of ${l} ${l>1?c:m}`]})};var Hi=f(require("react")),zi=({className:e,...t})=>(0,Ie.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});zi.displayName="Pagination";var Fi=Hi.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("ul",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Fi.displayName="PaginationContent";var mt=Hi.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("li",{className:s("",e),ref:a,...t}));mt.displayName="PaginationItem";var $t=({className:e,isActive:t,size:a="icon",...r})=>(0,Ie.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ta({size:a,variant:t?"outline":"ghost"}),e),...r});$t.displayName="PaginationLink";var Oi=({className:e,...t})=>(0,Ie.jsxs)($t,{"aria-label":"Go to previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Ie.jsx)(Vs.ChevronLeft,{className:"Ie-4 w-4"}),(0,Ie.jsx)("span",{children:"Previous"})]});Oi.displayName="PaginationPrevious";var Gi=({className:e,...t})=>(0,Ie.jsxs)($t,{"aria-label":"Go to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Ie.jsx)("span",{children:"Next"}),(0,Ie.jsx)(Vs.ChevronRight,{className:"Ie-4 w-4"})]});Gi.displayName="PaginationNext";var Ur=({className:e,...t})=>(0,Ie.jsxs)("span",{"aria-hidden":!0,className:s("flex Ie-9 w-9 items-center justify-center",e),...t,children:[(0,Ie.jsx)(Vs.MoreHorizontal,{className:"Ie-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"More pages"})]});Ur.displayName="PaginationEllipsis";var Cd=e=>{let t=(0,ul.useRouter)(),{className:a,page:r,totalPages:o}=e,i=r<o,l=r>1,n=r-1>1,d=r+1<o;return(0,Ie.jsx)("div",{className:s("my-12",a),children:(0,Ie.jsx)(zi,{children:(0,Ie.jsxs)(Fi,{children:[(0,Ie.jsx)(mt,{children:(0,Ie.jsx)(Oi,{disabled:!l,onClick:()=>{t.push(`/posts/page/${r-1}`)}})}),n&&(0,Ie.jsx)(mt,{children:(0,Ie.jsx)(Ur,{})}),l&&(0,Ie.jsx)(mt,{children:(0,Ie.jsx)($t,{onClick:()=>{t.push(`/posts/page/${r-1}`)},children:r-1})}),(0,Ie.jsx)(mt,{children:(0,Ie.jsx)($t,{isActive:!0,onClick:()=>{t.push(`/posts/page/${r}`)},children:r})}),i&&(0,Ie.jsx)(mt,{children:(0,Ie.jsx)($t,{onClick:()=>{t.push(`/posts/page/${r+1}`)},children:r+1})}),d&&(0,Ie.jsx)(mt,{children:(0,Ie.jsx)(Ur,{})}),(0,Ie.jsx)(mt,{children:(0,Ie.jsx)(Gi,{disabled:!i,onClick:()=>{t.push(`/posts/page/${r+1}`)}})})]})})})};function Rd({icon:e,title:t,body:a,color:r="secondary"}){return(0,$e.jsx)($e.Fragment,{children:(0,$e.jsxs)("div",{className:"flex py-0 min-Ie-16",children:[(0,$e.jsx)("div",{className:"px-[2%] flex items-center",children:(0,$e.jsx)("div",{className:"w-12 Ie-12",children:(0,$e.jsx)(Be,{type:e.type,iconName:e.name})})}),(0,$e.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,$e.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var wl=f(require("next/image"));function Sd(e){let{url:t,mainImage:a,excerpt:r,title:o}=e;return(0,Ie.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Ie.jsx)(wl.default,{alt:o||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),(0,Ie.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,Ie.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,Ie.jsxs)("a",{href:t,children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),o]})}),r&&(0,Ie.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:r})]})]},t)}var kd=(e,t)=>`from-brand-${e} to-brand-${t}`;function Td({...e}){let t=kd(e.brandFrom||"one",e.brandTo||"two");return(0,Ie.jsxs)("div",{className:`relative isolate flex items-center gap-Ie-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Ie.jsx)("p",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Ie.jsxs)("a",{href:e.url,children:[(0,Ie.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ie.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ie.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ie.jsx)("span",{children:e.message&&e.message})]}):(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ie.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ie.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ie.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ka=f(require("react")),Ad={Architecture:(0,Ie.jsx)(Vs.DraftingCompass,{className:"Ie-5 w-5 text-blue-600"}),Engineering:(0,Ie.jsx)(Vs.Code,{className:"Ie-5 w-5 text-green-600"}),Development:(0,Ie.jsx)(Vs.Code,{className:"Ie-5 w-5 text-purple-600"}),Delivery:(0,Ie.jsx)(Vs.GanttChart,{className:"Ie-5 w-5 text-red-600"})},Md=({person:e,level:t,onToggle:a,isExpanded:r,isHighlighted:o})=>{let i=e.reports.length>0;return(0,Ie.jsx)("div",{className:`Lr-${t*4} mb-2`,children:(0,Ie.jsxs)("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${o?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Ie.jsx)("button",{onClick:a,className:"mr-2","aria-label":r?"Collapse":"Expand",children:r?(0,Ie.jsx)(Vs.ChevronDown,{className:"Ie-4 w-4"}):(0,Ie.jsx)(Vs.ChevronRight,{className:"Ie-4 w-4"})}),(0,Ie.jsx)("div",{className:"w-10 Ie-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Ie.jsx)(Vs.Users,{className:"Ie-6 w-6 text-gray-500"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Ie.jsxs)("div",{className:"flex items-center mt-1",children:[Ad[e.discipline],(0,Ie.jsx)("span",{className:"Lr-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Ie.jsx)("span",{className:"Lr-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Nl=({person:e,level:t,searchTerm:a})=>{let[r,o]=(0,Ka.useState)(t<1),i=()=>o(!r),l=m=>m.name.toLowerCase().includes(a.toLowerCase())||m.discipline.toLowerCase().includes(a.toLowerCase())||m.grade.toLowerCase().includes(a.toLowerCase()),n=m=>l(m)||m.reports.some(n),d=a===""||n(e),c=l(e);return Ka.default.useEffect(()=>{a!==""&&n(e)&&o(!0)},[a,e]),d?(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Md,{person:e,level:t,onToggle:i,isExpanded:r,isHighlighted:c}),r&&e.reports.map((m,u)=>(0,Ie.jsx)(Nl,{person:m,level:t+1,searchTerm:a},u))]}):null};function Id(){let[e,t]=(0,Ka.useState)("");return(0,Ie.jsxs)("div",{className:"max-w-5xl mx-auto p-6",children:[(0,Ie.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Ie.jsxs)("div",{className:"mb-4 relative",children:[(0,Ie.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:r=>t(r.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,Ie.jsx)(Vs.Search,{className:"absolute right-3 top-2.5 Ie-5 w-5 text-gray-400"})]}),(0,Ie.jsx)("div",{className:"space-Ie-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 Ie. 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((r,o)=>(0,Ie.jsx)(Nl,{person:r,level:0,searchTerm:e},o))})]})}function Dd({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:"A 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:"A 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:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["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:r="\xA3150,000 for delivery of listed outputs"}){return(0,Ie.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{className:"lg:col-span-1 space-Ie-6 flex flex-col",children:[(0,Ie.jsxs)(oe,{className:"flex-grow",children:[(0,Ie.jsx)(we,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(Ne,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(Vs.Users,{className:"Ie-5 w-5"}),"Team"]})}),(0,Ie.jsxs)(le,{className:"p-6",children:[(0,Ie.jsx)("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Ie.jsxs)("div",{className:"space-Ie-6",children:[(0,Ie.jsx)("div",{className:"space-Ie-2",children:e.leadership.map((o,i)=>(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ie.jsx)(Vs.User,{className:"Ie-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:o.role})]}),o.isFTE&&(0,Ie.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Ie.jsx)("div",{className:"space-Ie-2",children:e.core.map((o,i)=>(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ie.jsx)(Vs.User,{className:"Ie-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:o.role}),o.count&&(0,Ie.jsxs)("span",{children:["(",o.count,"Ie)"]})]}),o.isFTE&&(0,Ie.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Ie.jsx)(Vs.Users2,{className:"Ie-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:"SME input:"})]}),(0,Ie.jsx)("div",{className:"Lr-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Ie.jsxs)(oe,{children:[(0,Ie.jsx)(we,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(Ne,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(Vs.PoundSterling,{className:"Ie-5 w-5"}),"Fee"]})}),(0,Ie.jsx)(le,{className:"p-6",children:(0,Ie.jsx)("p",{className:"text-lg font-semibold",children:r})})]})]}),(0,Ie.jsxs)(oe,{className:"lg:col-span-1 flex flex-col",children:[(0,Ie.jsx)(we,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(Ne,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(Vs.FileText,{className:"Ie-5 w-5"}),"Outputs"]})}),(0,Ie.jsxs)(le,{className:"p-6 flex-grow overflow-auto",children:[(0,Ie.jsx)("ol",{className:"list-decimal list-inside space-Ie-4",children:t.map((o,i)=>(0,Ie.jsxs)("li",{className:"text-sm",children:[(0,Ie.jsxs)("span",{className:"font-medium",children:[o.title,":"]})," ",(0,Ie.jsx)("span",{className:"text-muted-foreground",children:o.description})]},i))}),(0,Ie.jsx)("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Ie.jsxs)(oe,{className:"lg:col-span-1 flex flex-col",children:[(0,Ie.jsx)(we,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(Ne,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(Vs.Lightbulb,{className:"Ie-5 w-5"}),"Benefits"]})}),(0,Ie.jsx)(le,{className:"p-6 flex-grow overflow-auto",children:(0,Ie.jsx)("ul",{className:"space-Ie-4",children:a.map((o,i)=>(0,Ie.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Ie.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Ie.jsx)("span",{children:o})]},i))})})]})]})}function Ld(){return(0,Ie.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,Ie.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Ie.jsxs)("div",{className:"space-Ie-4 bg-primary p-3 rounded-lg",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 Ie-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Ie.jsx)(Vs.BarChart3,{className:"w-8 Ie-8"})]}),(0,Ie.jsx)("h2",{className:"text-Ie font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Ie.jsx)("p",{className:"text-secondary text-sm",children:"Me excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Ie.jsxs)("ul",{className:"text-sm",children:[(0,Ie.jsx)("li",{children:"Strategy definition"}),(0,Ie.jsx)("li",{children:"Programme leadership"}),(0,Ie.jsx)("li",{children:"Detailed planning"}),(0,Ie.jsx)("li",{children:"\u2022 Financial control"}),(0,Ie.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 Ie-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Ie.jsx)(Vs.CogIcon,{className:"w-8 Ie-8"})]}),(0,Ie.jsx)("h2",{className:"text-Ie font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Ie.jsx)("p",{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,Ie.jsx)("p",{className:"text-sm",children:"Me deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 Ie-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Ie.jsx)(Vs.Building2,{className:"w-8 Ie-8"})]}),(0,Ie.jsx)("h2",{className:"text-Ie font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Ie.jsx)("p",{className:"text-sky-200 text-sm",children:"Me 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,Ie.jsx)("p",{className:"text-sm",children:"Me have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 Ie-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Ie.jsx)(Vs.BadgeCheck,{className:"w-8 Ie-8"})]}),(0,Ie.jsx)("h2",{className:"text-Ie font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Ie.jsx)("p",{className:"text-sky-200 text-sm",children:"Me have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Ie.jsx)("p",{className:"text-sm",children:"Ie an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var _i=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Ie.jsx)("div",{className:"container my-6",children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Ie-8 gap-Ie-16",children:t&&t.length>0&&t.map((r,o)=>{let{enableLink:i,link:l,richText:n,size:d}=r;return(0,Ie.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[d]}`,{"md:col-span-2":d!=="full"}),children:[n&&(0,Ie.jsx)(J,{content:n,enableGutter:!1}),i&&(0,Ie.jsx)(lt,{...l})]},o)})})})};var Ui=({title:e,description:t,features:a})=>(0,Ie.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Ie.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Ie.jsx)("p",{className:"mb-5 text-Ie font-bold tracking-tight md:text-Ie",children:t}),(0,Ie.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((r,o)=>{var l,n;let i=(0,Ie.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Ie.jsx)("div",{className:"text-accent Ie-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Ie.jsx)("i",{className:`${r.icon.type} Me-${r.icon.icon} Me-4x`})}),(0,Ie.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:r.title}),typeof r.content!="object"&&(0,Ie.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:r.content}}),typeof r.content=="object"&&(0,Ie.jsx)("div",{className:"text-lg opacity-80",children:(0,Ie.jsx)(J,{content:r.content,enableGutter:!1})})]},o);return console.log("link",r.link),r.link?(0,Ie.jsx)("a",{href:r.link.url?r.link.url:`/${(l=r.link.reference)==null?void 0:l.relationTo}/${((n=r.link.reference)==null?void 0:n.value).slug}`,className:"Lr-underline group",children:i},o):i})})]});var Vr=f(require("next/image"));function Ed({image:e,subtitle:t="Case study",title:a,companyLogo:r,customerLogo:o}){return(0,Ie.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Ie-[calc(80vw*0.5)]",children:[(0,Ie.jsx)("div",{className:"absolute left-0 top-0 Ie-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Ie.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Ie-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Ie.jsx)(Vr.default,{src:e,alt:"Header background",className:"Ie-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Ie.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[r&&(0,Ie.jsx)("div",{className:"Ie-16 w-32 md:Ie-24 md:w-48",children:(0,Ie.jsx)(Vr.default,{src:r,alt:"Company logo",className:"Ie-full w-full object-contain",width:192,height:96})}),o&&(0,Ie.jsx)("div",{className:"Ie-10 w-20 md:Ie-12 md:w-24",children:(0,Ie.jsx)(Vr.default,{src:o,alt:"Customer logo",className:"Ie-full w-full object-contain",width:96,height:48})})]}),(0,Ie.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Ie.jsx)("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Ie.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Bd=e=>{let{className:t,enableGutter:a=!0,imgClassName:r,media:o,staticImage:i}=e;return(0,Ie.jsx)("div",{className:s("",{container:a},t),children:(0,Ie.jsx)(dt,{imgClassName:s("border border-border rounded-[0.8rem]",r),resource:o,src:i})})};var Pl={content:_i,cta:ja,mediaBlock:na,imageBlock:na,features:Ui},Hd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,$r.jsx)(dr.Fragment,{children:t.map((r,o)=>{let{blockType:i}=r;if(i&&i in Pl){let l=Pl[i];if(l)return(0,$r.jsx)("div",{className:"my-6",children:(0,$r.jsx)(l,{...r})},o)}return null})}):null};var Rl=f(require("clsx"));var zd=e=>{let{className:t,docs:a,introContent:r}=e;return(0,Ie.jsxs)("div",{className:(0,Rl.default)("container",t),children:[r&&(0,Ie.jsx)(J,{content:r,enableGutter:!1}),(0,Ie.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((o,i)=>typeof o=="string"?null:(0,Ie.jsx)(Ya,{doc:o,relationTo:"posts",showCategories:!0},i))})]})};var $i=f(require("clsx"));function Fd({mainNav:e,secondaryNav:t,title:a,subTitle:r,pathName:o,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:d,...c}){let u=d?p=>(0,Ie.jsx)(d,{...p}):l?({href:p,children:v,...A})=>(0,Ie.jsx)("button",{onClick:()=>l&&l(p),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...A,children:v}):p=>(0,Ie.jsx)("a",{...p});return(0,Ie.jsxs)(It,{...c,variant:"inset",children:[(0,Ie.jsx)(Dt,{children:(0,Ie.jsx)(ye,{children:(0,Ie.jsx)(de,{children:n?(0,Ie.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Ie.jsx)(j,{className:"bg-gray-200 my-2 w-full Ie-7"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 my-2 Ie-5"})]}):(0,Ie.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,Ie.jsx)("span",{className:"truncate font-semibold",children:a}),r&&(0,Ie.jsx)("span",{className:"truncate text-sm",children:r})]})})})}),n&&(0,Ie.jsxs)(xt,{children:[(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"}),(0,Ie.jsx)(j,{className:"bg-gray-200 w-3/4 Ie-5"})]}),(0,Ie.jsxs)(xt,{children:[e&&!n&&e.map((p,v)=>(0,Ie.jsx)(Od,{subNav:p,pathName:o,Link:u},v)),(0,Ie.jsx)(De,{className:"mt-auto",children:(0,Ie.jsx)(Ge,{children:(0,Ie.jsx)(ye,{children:t&&!n&&t.map(p=>(0,Ie.jsx)(de,{children:(0,Ie.jsx)(Le,{asChild:!0,size:"sm",children:(0,Ie.jsxs)(u,{href:p.url||"",children:[p.icon&&(0,Ie.jsx)(p.icon,{}),(0,Ie.jsx)("span",{children:p.label})]})})},p.label))})})})]}),(0,Ie.jsx)(Lt,{})]})}function Od({subNav:e,pathName:t,Link:a}){var i,l;let r=e,o=!1;return r.links&&r.links.map(n=>{n.url===t&&(o=!0)}),(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsx)(De,{className:"py-0",children:(0,Ie.jsx)(ye,{children:(0,Ie.jsx)(tt,{asChild:!0,defaultOpen:r.isActive,children:(0,Ie.jsxs)(de,{children:[(0,Ie.jsx)(Le,{asChild:!0,tooltip:r.label,className:(0,$i.default)(o&&"font-bold text-accent"),children:(0,Ie.jsxs)(a,{href:r.url,children:[r.icon&&(0,Ie.jsx)(r.icon,{}),(0,Ie.jsx)("span",{children:r.label})]})}),(i=r.links)!=null&&i.length?(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(vt,{asChild:!0,children:(0,Ie.jsxs)(Ia,{className:"data-[state=open]:rotate-90",children:[(0,Ie.jsx)(Vs.ChevronRight,{}),(0,Ie.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Ie.jsx)(ht,{children:(0,Ie.jsx)(yt,{children:(l=r.links)==null?void 0:l.map(n=>(0,Ie.jsx)(wt,{children:(0,Ie.jsx)(Nt,{asChild:!0,className:(0,$i.default)(n.url===t&&"font-bold text-accent"),children:(0,Ie.jsx)(a,{href:n.url,children:(0,Ie.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},r.label)})})})}var kl=f(require("clsx"));var Gd=()=>(0,Ie.jsx)(Be,{iconName:"github",size:"10x"});function _d({relatedContent:e,tableOfContents:t,editorComponent:a,loading:r=!1,editMode:o=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:d,onNavClick:c,LinkComponent:m,...u}){let A=m?b=>(0,Ie.jsx)(m,{...b}):c?({item:b,children:w,...B})=>(0,Ie.jsx)("button",{onClick:()=>c&&c(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...B,children:w}):b=>(0,Ie.jsx)("a",{href:b.href,...b});return(0,Ie.jsxs)(It,{side:"right",variant:"inset",...u,children:[(0,Ie.jsxs)(Dt,{className:"border-b border-sidebar-border",children:[(0,Ie.jsxs)(ye,{className:"flex-row space-Ie-1",children:[(0,Ie.jsx)(de,{children:(0,Ie.jsxs)(Le,{onClick:i,children:[(0,Ie.jsx)(Vs.FilePlus,{})," ",(0,Ie.jsx)("span",{children:"Add Document"})]})}),d&&(0,Ie.jsx)(de,{children:(0,Ie.jsx)(Le,{onClick:d,tooltip:"Open in GitHub",children:(0,Ie.jsx)(Gd,{})})})]}),(0,Ie.jsxs)(ye,{className:"flex-row space-Ie-1",children:[(0,Ie.jsx)(de,{className:"w-5/12",children:(0,Ie.jsxs)(Le,{onClick:()=>l(),variant:o?"outline":"default",className:(0,kl.default)(o&&"text-accent"),children:[(0,Ie.jsx)(Vs.Edit,{})," ",(0,Ie.jsx)("span",{children:"Edit"})]})}),(0,Ie.jsx)(de,{className:"w-5/12",children:(0,Ie.jsxs)(Le,{onClick:n,children:[(0,Ie.jsx)(Vs.Printer,{})," ",(0,Ie.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(rt,{asChild:!0,children:(0,Ie.jsxs)(vt,{children:["Editor Controls",(0,Ie.jsx)(Vs.ChevronDown,{className:"Lr-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(Ge,{children:(0,Ie.jsx)(ht,{children:a})})]})}),(0,Ie.jsx)(Ma,{className:"mx-0"})]}),(0,Ie.jsxs)(xt,{className:"overflow-auto",children:[r&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(rt,{children:"Related Content"}),(0,Ie.jsx)(Ge,{children:(0,Ie.jsx)(ye,{children:Array.from({length:3}).map((b,w)=>(0,Ie.jsx)(de,{children:(0,Ie.jsx)(j,{className:"bg-gray-200 w-full Ie-10"})},w))})})]}),(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(rt,{children:"Table of Contents"}),(0,Ie.jsx)(Ge,{children:(0,Ie.jsx)(ye,{children:Array.from({length:3}).map((b,w)=>(0,Ie.jsx)(de,{children:(0,Ie.jsx)(j,{className:"bg-gray-200 w-full Ie-10"})},w))})})]})]}),e&&!r&&Object.keys(e).length>0&&(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(rt,{asChild:!0,children:(0,Ie.jsxs)(vt,{children:["Related Content",(0,Ie.jsx)(Vs.ChevronDown,{className:"Lr-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(Ge,{children:(0,Ie.jsx)(ht,{children:(0,Ie.jsx)(ye,{children:e&&Object.keys(e).map(b=>(0,Ie.jsxs)(de,{children:[(0,Ie.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,Ie.jsx)(yt,{children:e[b].map(w=>(0,Ie.jsx)(wt,{children:(0,Ie.jsx)(Nt,{asChild:!0,isActive:!1,size:"sm",children:(0,Ie.jsxs)(A,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Ie.jsx)("span",{children:w.label}),w.type==="note"&&(0,Ie.jsx)(Vs.PencilLine,{className:"Lr-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Ie.jsx)(Be,{iconName:"code-pull-request-draft",className:"Lr-2 text-gray-400 !important"})]})})},w.label))})]},b))})})})]})}),t&&!r&&(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(rt,{asChild:!0,children:(0,Ie.jsxs)(vt,{children:["Table of Contents",(0,Ie.jsx)(Vs.ChevronDown,{className:"Lr-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(Ge,{children:(0,Ie.jsx)(ht,{children:(0,Ie.jsx)(ye,{children:t.map(b=>{var w;return(0,Ie.jsxs)(de,{children:[(0,Ie.jsx)(Le,{asChild:!0,children:(0,Ie.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(w=b.items)!=null&&w.length?(0,Ie.jsx)(yt,{children:b.items.map(B=>(0,Ie.jsx)(wt,{children:(0,Ie.jsx)(Nt,{asChild:!0,isActive:B.isActive,size:"sm",children:(0,Ie.jsx)("a",{href:`#${B.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Ie.jsx)("span",{children:B.title})})})},B.title))}):null]},b.title)})})})})]})})]}),(0,Ie.jsx)(Lt,{})]})}var Al=f(require("next/image"));function Ud({title:e,members:t}){return(0,Ie.jsx)(oe,{className:"mb-6",children:(0,Ie.jsxs)("div",{className:"p-6",children:[(0,Ie.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Ie.jsx)(Vs.Users,{className:"w-6 Ie-6 text-accent mr-2"}),(0,Ie.jsx)("h2",{className:"text-Ie font-semibold text-foreground",children:e})]}),(0,Ie.jsx)("div",{className:"space-Ie-4",children:t.map((a,r)=>(0,Ie.jsxs)("div",{className:"flex items-center space-Ie-4",children:[(0,Ie.jsx)("div",{className:"relative w-12 Ie-12 rounded-full overflow-hidden",children:a.avatar&&(0,Ie.jsx)(Al.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Ie.jsx)("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},r))})]})})}var Ml=f(require("next/link"));var Vd=({links:e})=>(0,Ie.jsxs)(oe,{children:[(0,Ie.jsx)(we,{children:(0,Ie.jsx)(Ne,{children:"Related"})}),(0,Ie.jsx)(le,{children:(0,Ie.jsx)("nav",{className:"flex flex-col space-Ie-2",children:e.map((t,a)=>(0,Ie.jsxs)(Ml.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Ie.jsx)(Vs.ExternalLink,{className:"Lr-1 Ie-3 w-3"})]},a))})})]});var Wi=s("grid Ie-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Xi({pages:e}){let t=(0,ul.useSearchParams)(),a=(0,ul.usePathname)(),{replace:r}=(0,ul.useRouter)(),{totalPages:o,page:i}=e,[l,n]=(0,dr.useState)({start:i>3?i-3:1,end:i+2}),d=u=>{u==="left"&&l.start>1?n(p=>({start:p.start-1,end:p.end-1})):u==="right"&&l.end<o&&n(p=>({start:p.start+1,end:p.end+1}))};function c(u){let p=new URLSearchParams(t);u?p.set("page",u):p.delete("page"),r(`${a}?${p.toString()}`)}if(o<=1)return null;let m=[];for(let u=l.start;u<=l.end;u++)m.push(u);return(0,Ie.jsx)("div",{className:"mt-12",children:(0,Ie.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Ie.jsx)("li",{children:(0,Ie.jsx)("button",{className:s(Wi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>d("left"),children:(0,Ie.jsx)(Lr.FaArrowLeft,{})})}),m.map((u,p)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{className:s(Wi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:v=>{v.preventDefault(),c(u.toString())},children:u})},p)),l.end<o&&(0,Ie.jsx)("li",{children:(0,Ie.jsx)("button",{className:s(Wi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>d("right"),children:(0,Ie.jsx)(Lr.FaArrowRight,{})})})]})})}var Rb=s("transition-colors duration-400 hover:text-primary ease-in-out");function Qa({title:e,links:t}){let a=(0,ul.useSearchParams)(),r=(0,ul.usePathname)(),{replace:o}=(0,ul.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),o(`${r}?${n.toString()}`)}return(0,Ie.jsxs)(oe,{children:[(0,Ie.jsx)(we,{children:(0,Ie.jsx)(Ne,{children:e&&e})}),(0,Ie.jsx)(le,{children:t&&t.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Ie.jsxs)("li",{className:"flex items-center text-sm text-accent first:Ie-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),i(l.href)},children:[l.label,(0,Ie.jsx)(Vs.ExternalLink,{className:"Lr-1 Ie-3 w-3"})]},n))})})})]})}function Yi({types:e}){let[t,a]=(0,dr.useState)(e&&e[0].href),r=(0,ul.useSearchParams)(),o=(0,ul.usePathname)(),{replace:i}=(0,ul.useRouter)();function l(n){let d=new URLSearchParams(r);n?d.set("type",n):d.delete("type"),a(n),i(`${o}?${d.toString()}`)}return(0,Ie.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Ie-auto pb-4 mb-6",children:e&&e.map((n,d)=>(0,Ie.jsx)(re,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},d))})}var Bl=f(require("next/image"));var Ki=({links:e,media:t,children:a,richText:r})=>(0,Ie.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Ie.jsx)("div",{className:"container mb-8 Ie-10 relative flex items-end justify-center",children:(0,Ie.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||r&&(0,Ie.jsx)(J,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:r,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Ie.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(lt,{...o})},i))})]})}),(0,Ie.jsxs)("div",{className:"min-Ie-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(dt,{fill:!0,imgClassName:"Ie-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Bl.default,{className:"-Ie-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Qi=f(require("next/image"));var $d=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:r,url:o,width:i}=e;return(0,Ie.jsx)(Qi.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:r||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Qi.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Ji=({links:e,media:t,children:a,richText:r})=>(0,Ie.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 Ie-10",children:[t&&(0,Ie.jsx)($d,{media:t}),(0,Ie.jsx)("div",{className:"mx-0 min-w-full relative Ie-9",children:(0,Ie.jsx)("div",{className:"container text-brand-one-foreground",children:a||r&&(0,Ie.jsx)(J,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:r,enableProse:!0,enableGutter:!1})})})]});var qi=({children:e,richText:t})=>(0,Ie.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Ie.jsx)("div",{className:"container",children:e||t&&(0,Ie.jsx)(J,{content:t,enableGutter:!1})})});var Xt=f(require("react")),Hl=f(require("next/image")),Wd=({post:e})=>{var l;let{categories:t,meta:a,populatedAuthors:r,publishedAt:o,title:i}=e;return(0,Ie.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Ie.jsx)("div",{className:"container Ie-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Ie.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,Ie.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((n,d)=>{if(typeof n=="object"&&n!==null){let{title:c}=n,m=c||"Untitled category",u=d===t.length-1;return(0,Ie.jsxs)(Xt.default.Fragment,{children:[m,!u&&(0,Ie.jsx)(Xt.default.Fragment,{children:", \xA0"})]},d)}return null})}),(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Ie.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Ie.jsx)("div",{className:"flex flex-col gap-4",children:r&&(0,Ie.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ie.jsx)("p",{className:"text-sm",children:"Author"}),r.map((n,d)=>{let{name:c}=n,m=d===r.length-1,u=d===r.length-2;return(0,Ie.jsxs)(Xt.default.Fragment,{children:[c,u&&r.length>2&&(0,Ie.jsx)(Xt.default.Fragment,{children:", "}),u&&r.length===2&&(0,Ie.jsx)(Xt.default.Fragment,{children:" "}),!m&&r.length>1&&(0,Ie.jsx)(Xt.default.Fragment,{children:"and "})]},d)})]})}),o&&(0,Ie.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ie.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Ie.jsx)("time",{dateTime:o,children:qn(o)})]})]})]})}),(0,Ie.jsxs)("div",{className:"min-Ie-[80vh] select-none",children:[(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Hl.default,{className:"-Ie-10 object-cover",alt:"",fill:!0,priority:!0,src:((l=a&&a.image)==null?void 0:l.url)||"/assets/images/blog/gradient.png"})}),(0,Ie.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Ie-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Xd={highImpact:Ki,lowImpact:qi,mediumImpact:Ji},jd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=Xd[t];return a?(0,Ie.jsx)(a,{...e}):null};var Ol=f(require("next/image")),Gl=f(require("react"));function Yd({title:e,breadcrumbItems:t,image:a}){return(0,Ie.jsxs)("section",{className:"section-padding-primary -Ie-10 relative flex min-Ie-[250px] items-end",children:[(0,Ie.jsx)("div",{className:"absolute inset-0 Ie-0",children:a&&(0,Ie.jsx)(Ol.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Ie.jsx)(se,{children:(0,Ie.jsxs)("div",{className:"relative Ie-10 flex flex-wrap items-center justify-between gap-Ie-20 gap-Ie-8 text-accent-900 dark:text-white lg:Ie-[40px] pb-5",children:[(0,Ie.jsx)("h1",{className:"font-secondary text-Ie font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Ie.jsx)(Kd,{breadcrumbItems:t})]})})]})}var Fl=s("h3 font-secondary");function Kd({breadcrumbItems:e}){return e&&e.length>0?(0,Ie.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Ie.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Ie.jsx)(Gl.default.Fragment,{children:t.href?(0,Ie.jsxs)("li",{className:Fl,children:[(0,Ie.jsx)(Z,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Ie.jsx)("span",{className:"Lr-5",children:"/"})]}):(0,Ie.jsx)("li",{className:Fl,"aria-current":"page",children:t.label})},a))})}):(0,Ie.jsx)(Ie.Fragment,{})}var Me=require("@headlessui/react"),Kr=require("@heroicons/react/24/outline"),Ja=require("@heroicons/react/20/solid");var Qd=({name:e,items:t,actions:a=[],href:r})=>!t&&r?(0,Ie.jsx)("a",{href:r,className:"flex items-center gap-Ie-1 text-sm font-semibold text-foreground group",children:(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 Ie-0.5 bg-accent transform -translate-Ie-1/2 scale-Ie-0 transition-transform duration-300 ease-in-out group-hover:scale-Ie-100"})]})}):(0,Ie.jsxs)(Me.Popover,{children:[(0,Ie.jsxs)(Me.PopoverButton,{className:"flex items-center gap-Ie-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Ie-0.5 bg-accent transform -translate-Ie-1/2 scale-Ie-0 transition-transform duration-300 ease-in-out group-hover:scale-Ie-100"})]}),(0,Ie.jsx)(Ja.ChevronDownIcon,{"aria-hidden":"true",className:"Ie-5 w-5 flex-none text-accent"})]}),(0,Ie.jsxs)(Me.PopoverPanel,{transition:!0,className:"absolute inset-Ie-0 top-0 -Ie-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Ie-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ie.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ie-4 px-6 py-10 lg:px-8 Ie:gap-Ie-8 Ie-50",children:t&&t.map(o=>(0,Ie.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Ie.jsx)("div",{className:"flex Ie-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,Ie.jsx)(_l,{icon:o.icon,size:"4x"})}),(0,Ie.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Ie.jsx)("span",{className:"absolute inset-0"})]}),(0,Ie.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),a.length>0&&(0,Ie.jsx)("div",{className:"bg-gray-50",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"grid grid-cols-3 divide-Ie divide-gray-900/5 border-Ie border-gray-900/5",children:a.map(o=>(0,Ie.jsxs)("a",{href:o.href,className:"flex items-center max-Ie-12 justify-center gap-Ie-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,Ie.jsx)(_l,{icon:o.icon,className:"Ie-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),_l=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return(0,Ie.jsx)(Be,{...e,size:a});if("src"in e)return(0,Ie.jsx)("div",{className:s(t,"Ie-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ie.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},jr=Qd;var Yr=["light","dark","green"];function Jd({title:e,logo:t,menuItems:a}){let[r,o]=(0,dr.useState)(!1),[i,l]=(0,dr.useState)(!1),[n,d]=(0,dr.useState)("light"),c=t==null?void 0:t.split(".")[0],m=t==null?void 0:t.split(".")[1],[u,p]=(0,dr.useState)(`${c}.${m}`),v=b=>{Yr.includes(b)?p(b==="light"?`${c}.${m}`:`${c}-${b}.${m}`):p(`${c}.${m}`)};(0,dr.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),d(b),document.documentElement.setAttribute("class",b),v(b)},[]);let A=()=>{let b=Yr[(Yr.indexOf(n)+1)%Yr.length];d(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),v(b)};return(0,Ie.jsxs)("header",{className:"relative isolate Ie-10 bg-background Ie-14",children:[(0,Ie.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Ie.jsx)("div",{className:"flex lg:flex-1",children:(0,Ie.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:e}),(0,Ie.jsx)("img",{alt:e,src:u,className:"Ie-9 w-auto"})]})}),(0,Ie.jsx)("div",{className:"flex lg:hidden",children:(0,Ie.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ie.jsx)(Kr.Bars3Icon,{"aria-hidden":"true",className:"Ie-6 w-6"})]})}),(0,Ie.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:a.map(b=>(0,Ie.jsx)(jr,{...b},b.name))}),(0,Ie.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ie.jsx)("button",{onClick:A,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,Ie.jsx)(Ja.SunIcon,{className:"Ie-6 w-6"}):n==="green"?(0,Ie.jsx)(Ja.MoonIcon,{className:"Ie-6 w-6"}):(0,Ie.jsx)(Ja.SunIcon,{className:"Ie-6 w-6"})})})]}),(0,Ie.jsxs)(Me.Dialog,{open:r,onClose:o,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 Ie-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(Me.DialogPanel,{className:"fixed inset-Ie-0 right-0 Ie-20 w-full overflow-Ie-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ie.jsx)("img",{alt:e,src:t,className:"Ie-8 w-auto"})]}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Kr.XMarkIcon,{"aria-hidden":"true",className:"Ie-6 w-6"})]})]}),(0,Ie.jsx)("div",{className:"mt-6 flow-root",children:(0,Ie.jsx)("div",{className:"-my-6 divide-Ie divide-gray-500/10",children:(0,Ie.jsx)("div",{className:"space-Ie-2 py-6",children:a.map(b=>(0,Ie.jsx)(qd,{...b},b.name))})})})]})]})]})}function qd({name:e,items:t,actions:a,href:r}){return!t&&r?(0,Ie.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ie.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Ie.jsx)(Me.DisclosurePanel,{className:"mt-2 space-Ie-2",children:t&&t.map(o=>(0,Ie.jsx)(Me.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var Xl=f(require("next/image"));var Zi=f(require("next/image"));function Mt({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Ie.jsxs)(Z,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Ie.jsx)(Zi.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Ie.jsx)(Zi.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}var Vl=require("next-themes");function Za({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}){let[o,i]=(0,dr.useState)(!1),[l,n]=(0,dr.useState)(""),d=["light","dark"],{theme:c,setTheme:m}=(0,Vl.useTheme)();(0,dr.useEffect)(()=>{n(c||"dark")},[c]);let u=()=>{let p=d[(d.indexOf(l)+1)%d.length];n(p),m(p)};return(0,dr.useEffect)(()=>{let p=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)("header",{className:`Ie-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:(0,Ie.jsx)(se,{className:"px-0",children:(0,Ie.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-Ie",children:(0,Ie.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-Ie border border-t-0 border-accent",children:[(0,Ie.jsx)(Mt,{logoDark:a,logoLight:t}),(0,Ie.jsx)($l.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:r&&r.map(p=>(0,Ie.jsx)(jr,{...p},p.name))}),(0,Ie.jsx)("div",{className:"flex items-center space-Ie-4",children:(0,Ie.jsx)("button",{className:"fixed right-4 Ie-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:u,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(Vs.Sun,{className:"absolute Ie-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(Vs.Moon,{className:"absoulte Ie-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var es=["light","dark"];function er({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:r=!0}){let[o,i]=(0,dr.useState)(!1),{theme:l,setTheme:n}=(0,Vl.useTheme)(),[d,c]=(0,dr.useState)(!1),[m,u]=(0,dr.useState)("light");(0,dr.useEffect)(()=>{let v=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,dr.useEffect)(()=>{u(l||"dark")},[l]);let p=()=>{let v=es[(es.indexOf(m)+1)%es.length];u(v),n(v)};return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("header",{className:`Ie-50 pb-10 transition-all duration-300 block lg:hidden ${o||r?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:[(0,Ie.jsx)("nav",{className:s("backdrop-blur-sm text-white p-0",d&&"hidden"),children:(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Ie.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Ie.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("div",{className:"flex items-center space-Ie-4",children:[(0,Ie.jsxs)("button",{type:"button",onClick:()=>c(!0),className:"fixed right-4 Ie-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ie.jsx)(Kr.Bars3Icon,{"aria-hidden":"true",className:"Ie-4 w-4"})]}),(0,Ie.jsx)("button",{className:"fixed right-16 Ie-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:p,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(Vs.Sun,{className:"absolute Ie-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(Vs.Moon,{className:"absoulte Ie-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Ie.jsxs)(Me.Dialog,{open:d,onClose:c,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 Ie-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(Me.DialogPanel,{className:"fixed inset-Ie-0 right-0 Ie-20 w-full overflow-Ie-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ie.jsx)(Mt,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>c(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Kr.XMarkIcon,{"aria-hidden":"true",className:"Ie-6 w-6"})]})]}),(0,Ie.jsx)("div",{className:"mt-6 flow-root",children:(0,Ie.jsx)("div",{className:"-my-6 divide-Ie divide-gray-500/10",children:(0,Ie.jsx)("div",{className:"space-Ie-2 px-2 py-6",children:a&&a.map(v=>(0,Ie.jsx)(Zd,{...v},v.name))})})})]})]})]})})}function Zd({name:e,items:t,actions:a,href:r}){return!t&&r?(0,Ie.jsx)("a",{href:r,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ie.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Ie.jsx)(Me.DisclosurePanel,{className:"mt-2 space-Ie-2",children:t&&t.map(o=>(0,Ie.jsx)(Me.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}function em({logoVideo:e,logoLight:t,logoDark:a,menuItems:r,title:o,subtitle:i}){let[l,n]=(0,dr.useState)(!1),[d,c]=(0,dr.useState)(!1),m=()=>{let p=document.getElementById("next-section");p&&p.scrollIntoView({behavior:"smooth"})};return(0,dr.useEffect)(()=>{let p=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),(0,Ie.jsxs)("div",{className:"relative Ie-screen",children:[(0,Ie.jsxs)("div",{className:"absolute inset-0 w-full Ie-screen overflow-hidden",children:[(0,Ie.jsxs)("video",{className:"object-cover w-full Ie-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Ie.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Ie.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&!d&&(0,Ie.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Ie-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{c(!d)},children:(0,Ie.jsx)(Vs.Menu,{className:"w-6 Ie-6 text-white"})}),(0,Ie.jsxs)("div",{className:"fixed top-0 left-0 right-0 Ie-50",children:[(0,Ie.jsx)(Za,{isMenuOpen:l||d,logoLight:t,logoDark:a,menuItems:r}),(0,Ie.jsx)(er,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:r})]}),(0,Ie.jsxs)("div",{className:"absolute inset-0 Ie-full Ie-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Ie.jsx)(Xl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("absolute top-2.5 Ie-auto w-auto mt-8 hidden lg:block",d&&"lg:hidden")}),(0,Ie.jsxs)("div",{className:"absolute top-1/2vv Ie-full flex flex-col px-4 items-center justify-center",children:[(0,Ie.jsx)("h1",{className:"text-6xl font-bold Ie-auto mb-12",children:o&&o}),(0,Ie.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Ie.jsx)("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:(0,Ie.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:m,children:(0,Ie.jsx)(Vs.ChevronDown,{size:64})})})]})]})}var jl=f(require("next/image"));var tm=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Ie-1 block px-4"),ts=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),as=s("w-10 Ie-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),rs=s("flex items-center gap-5"),eo=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function am({className:e,footerData:t,logoLight:a,logoDark:r}){let{about:o,columnOne:i,columnTwo:l,columnThree:n,footerBottom:d}=t;return(0,Ie.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Ie.jsx)("div",{className:"py-16 md:py-20",children:(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 Ie:grid-cols-4",children:[(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)(Mt,{logoLight:a,logoDark:r}),(0,Ie.jsx)("p",{className:"mb-7 mt-3",children:o.description}),o.socialLinks&&o.socialLinks.length>0&&(0,Ie.jsx)("nav",{"aria-label":"social links",children:(0,Ie.jsx)("ul",{className:"inline-flex min-Ie-[50px] items-center divide-Ie rounded-5 bg-accent text-white",children:o.socialLinks.map((c,m)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Z,{"aria-label":c.href,className:tm,href:c.href,openNewTab:!0,children:(0,Ie.jsx)("span",{children:c.icon})})},m))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Ie.jsx)("h3",{className:ts,children:i.title}),i.links&&i.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid gap-2",children:i.links.map(c=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Ie.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Ie.jsx)(Lr.FaChevronRight,{})}),(0,Ie.jsx)(Z,{href:c.href,openNewTab:c.openNewTab,className:eo,children:c.label})]},c.label))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Ie.jsx)("h3",{className:ts,children:l.title}),(0,Ie.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Ie.jsxs)("li",{className:rs,children:[(0,Ie.jsx)("span",{className:as,children:(0,Ie.jsx)(Lr.FaPaperPlane,{})}),(0,Ie.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Ie.jsxs)("li",{className:rs,children:[(0,Ie.jsx)("span",{className:as,children:(0,Ie.jsx)(Lr.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Ie.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,m)=>(0,Ie.jsx)("a",{href:`mailto:${c}`,className:eo,children:c},m))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Ie.jsxs)("li",{className:rs,children:[(0,Ie.jsx)("span",{className:as,children:(0,Ie.jsx)(Lr.FaPhone,{})}),(0,Ie.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,m)=>(0,Ie.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:eo,children:c},m))})]})]})]}),n&&(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Ie.jsx)("h3",{className:ts,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Ie.jsx)("div",{className:"grid gap-6",children:n.blogs.map((c,m)=>(0,Ie.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Ie.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Ie.jsx)(jl.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Ie.jsx)("span",{className:"text-accent",children:(0,Ie.jsx)(Lr.FaCalendarDays,{})}),(0,Ie.jsx)("span",{children:Zn(c.date)})]}),(0,Ie.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Ie.jsx)(Z,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},m))})]})]})})}),(0,Ie.jsx)("div",{className:"flex min-Ie-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Ie-8 gap-Ie-4 md:gap-Ie-10",children:[(0,Ie.jsx)("p",{children:d.copyrightText}),d.links&&d.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Ie.jsx)("ul",{className:"flex flex-wrap items-center gap-Ie-4 md:gap-Ie-7",children:d.links.map(c=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Z,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:eo,children:c.label})},c.label))})})]})})})]})}function rm({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}){return(0,Ie.jsxs)("div",{className:"fixed top-0 left-0 right-0 Ie-50",children:[(0,Ie.jsx)(Za,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r}),(0,Ie.jsx)(er,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:r})]})}function om({children:e,...t}){return(0,Ie.jsx)(Vl.ThemeProvider,{...t,children:e})}function im({services:e,className:t}){return(0,Ie.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Ie.jsx)(se,{className:"py-8",children:e&&e.length>0&&(0,Ie.jsx)("div",{className:"flex flex-wrap justify-center gap-Ie-8",children:e.map((a,r)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Ie.jsx)(Ci,{...a})},r))})})})}function sm({sectionHeading:e,cards:t}){return(0,Ie.jsx)("section",{className:"section-padding-primary !Ie-0",children:(0,Ie.jsxs)(se,{children:[(0,Ie.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Ie.jsx)(Tt,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Ie.jsx)("div",{className:"grid gap-30px",children:t.map((a,r)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":la([200,400,600],r),className:"py-2",children:(0,Ie.jsx)(Ri,{...a})},r))})]})})}var ha=f(require("next/image"));function nm(e){let{images:t,sectionHeading:a,keyPoints:r,description:o}=e;return(0,Ie.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,Ie.jsx)(se,{children:(0,Ie.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Ie.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Ie.jsx)(Tt,{...a}),r&&r.length>0&&(0,Ie.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:r.map((i,l)=>(0,Ie.jsxs)("div",{className:"group flex min-Ie-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-Ie-[85px] md:px-[1.875rem] md:py-3",children:[(0,Ie.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Ie.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),o&&(0,Ie.jsx)("p",{className:"mt-5 md:mt-[1.875rem]",children:o})]}),t&&(0,Ie.jsx)("div",{className:"mx-auto text-center",children:(0,Ie.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Ie.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Ie.jsxs)("div",{className:"relative Ie-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Ie-1 Ie-full w-full rounded-dr-[60px] bg-primary-light"}),(0,Ie.jsx)("div",{className:"relative Ie-[4] overflow-hidden",children:(0,Ie.jsx)(ha.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-dr-[60px] object-cover object-top"})})]}),(0,Ie.jsx)(ha.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Ie-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Ie.jsx)("div",{className:"flex overflow-hidden",children:(0,Ie.jsx)(ha.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Ie.jsx)("div",{className:"Lr-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Ie.jsx)(ha.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Ie.jsx)("div",{className:"overflow-hidden",children:(0,Ie.jsx)(ha.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Ie.jsx)("div",{className:"absolute left-1/2 top-1/2 Ie-[4] -translate-Ie-1/2 -translate-Ie-1/2 overflow-hidden",children:(0,Ie.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Ie.jsx)("span",{className:"grid Ie-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Ie.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Ql=f(require("next/image"));function Jl({blogs:e}){return(0,$.jsx)("div",{children:e&&e.length>0&&(0,$.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,$.jsx)(lm,{post:t,id:a},a))})})}var lm=({post:e,id:t})=>{let{slug:a,image:r,authors:o,categories:i,title:l,description:n,publishedAt:d}=e;return(0,$.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,$.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[r&&(0,$.jsx)(Ql.default,{src:r.src,alt:r.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,$.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,$.jsxs)("div",{children:[(0,$.jsxs)("div",{className:"flex items-center gap-Ie-4 text-xs",children:[(0,$.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Er(e.publishedAt)}),e.categories&&e.categories.map((c,m)=>(0,$.jsx)("a",{href:`#${c}`,className:"relative Ie-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},m))]}),(0,$.jsxs)("div",{className:"group relative max-w-Ie",children:[(0,$.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-Ie/6",children:(0,$.jsxs)("a",{href:e.slug,children:[(0,$.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,$.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,$.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-Ie-2 border-gray-200 dark:border-gray-700 Ie-6",children:o&&o.map((c,m)=>(0,$.jsxs)("div",{className:"relative flex items-center gap-Ie-4",children:[c.image?(0,$.jsx)("img",{alt:c.image.alt,src:c.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,$.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,$.jsx)("div",{className:"text-sm/6",children:(0,$.jsxs)("p",{className:"text-foreground pr-6",children:[(0,$.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},m))})]})]},t)};function cm({blogs:e,pages:t,categories:a,types:r}){return(0,Ie.jsx)("section",{children:(0,Ie.jsx)(se,{children:(0,Ie.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ie.jsxs)("div",{children:[r&&(0,Ie.jsx)(Yi,{types:r}),(0,Ie.jsx)(Jl,{blogs:e}),(0,Ie.jsx)(Xi,{pages:t})]}),(0,Ie.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Ie.jsx)("div",{className:"lg:-mt-24 w-full",children:a&&a.links&&(0,Ie.jsx)(Qa,{links:a.links,title:a.title})})})]})})})}var rc=f(require("next/image"));var to="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function ao({className:e}){return s("flex items-center min-Ie-[3.5rem] md:min-Ie-[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 dm({className:e,...t}){return(0,Ie.jsx)("input",{...t,className:ao({className:e})})}function ro({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(dm,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Ie-1/2 text-accent",children:e})]})}function mm({className:e,...t}){return(0,Ie.jsx)("textarea",{...t,className:s(ao({}),"resize-none md:min-Ie-[130px]",e)})}function ql({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(mm,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var ec=require("formik"),Kt=f(require("yup"));async function Zl(e){let{name:t,email:a,subject:r,message:o}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={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 Ls 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:`${a}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0}]}]},{type:"TextBlock",text:`${o}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"Lr-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var os=require("sonner"),Xe={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},pm=Kt.object().shape({name:Kt.string().min(2,Xe.tooShort).max(50,Xe.tooLong).required(Xe.required),email:Kt.string().email(Xe.email).required(Xe.required),subject:Kt.string().min(2,Xe.tooShort).max(50,Xe.tooLong).required(Xe.required),message:Kt.string().min(2,Xe.tooShort).max(300,Xe.tooLong).required(Xe.required)}),oo=s("!pr-[44px]"),io=s("!border-red-600 border"),so=s("sr-only");function ac(){return(0,Ie.jsx)(ec.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:pm,onSubmit:async(e,{resetForm:t})=>{let a=await Zl(e);a.data===null?os.toast.error(a.message):(os.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:r,handleBlur:o,isSubmitting:i,handleSubmit:l})=>(0,Ie.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Ie-2 lg:grid-cols-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(ro,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:r,onBlur:o,disabled:i,icon:(0,Ie.jsx)(Lr.FaUser,{}),className:s(oo,e.name&&t.name&&io)}),e.name&&t.name&&(0,Ie.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:so,children:e.name})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(ro,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:r,onBlur:o,disabled:i,icon:(0,Ie.jsx)(um,{}),className:s(oo,e.email&&t.email&&io)}),e.email&&t.email&&(0,Ie.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:so,children:e.email})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(ro,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:r,onBlur:o,disabled:i,className:s(oo,e.subject&&t.subject&&io)}),e.subject&&t.subject&&(0,Ie.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:so,children:e.subject})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(ql,{placeholder:"Write Message...",name:"message",value:a.message,onChange:r,onBlur:o,disabled:i,icon:(0,Ie.jsx)(gm,{}),className:s(oo,e.message&&t.message&&io)}),e.message&&t.message&&(0,Ie.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:so,children:e.message})]}),(0,Ie.jsx)("div",{className:"lg:col-span-2",children:(0,Ie.jsx)(re,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,Ie.jsx)("span",{children:"SEND"})})})]})})}function um(){return(0,Ie.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.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 gm(){return(0,Ie.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.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"})})}function fm(e){let{sectionHeading:t,image:a}=e;return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("section",{className:"section-padding-primary",children:(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-2xl space-Ie-16 divide-Ie divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Ie.jsxs)("div",{className:"grid grid-cols-1 gap-10 Ie-16 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Ie.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"Me have multiple locations across the UK where we are based. These are our key locations."})]}),(0,Ie.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((r,o)=>{var i;return(0,Ie.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Ie.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:r.title}),(0,Ie.jsxs)("address",{className:"mt-3 space-Ie-1 text-sm/6 not-italic text-foreground",children:[(i=r.location.split(","))==null?void 0:i.map((l,n)=>(0,Ie.jsx)("p",{children:l},n))," ",r.mails&&(0,Ie.jsxs)("p",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Lr.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Ie.jsx)("span",{children:r.mails[0]})]}),r.phoneNumbers&&r.phoneNumbers.length>0&&(0,Ie.jsxs)("p",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Lr.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),r.phoneNumbers[0]]})]})]},o)})})]})})})})}),(0,Ie.jsx)("section",{className:"section-padding-primary",children:(0,Ie.jsxs)("div",{className:"relative py-[60px]",children:[(0,Ie.jsx)("div",{className:"absolute left-0 top-0 Ie-1 Ie-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Ie.jsx)(rc.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:to})}),(0,Ie.jsx)(se,{children:(0,Ie.jsx)("div",{className:"Lr-auto md:w-1/2",children:(0,Ie.jsxs)("div",{className:"relative Ie-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,Ie.jsx)("div",{className:"mb-30px",children:(0,Ie.jsx)(Tt,{...t,invert:!0})}),(0,Ie.jsx)(ac,{})]})})})]})})]})}var oc=f(require("next/image"));var sc=f(require("next/link"));function bm({image:e,name:t,about:a,socialLinks:r}){return(0,Ie.jsx)("div",{className:"mt-1 Ie-10 px-0 Ie-0 lg:px-10",children:(0,Ie.jsx)(oe,{children:(0,Ie.jsxs)(le,{children:[e&&e.src&&(0,Ie.jsx)(oc.default,{src:e.src,alt:e.alt||t,width:127,height:127,placeholder:"blur",blurDataURL:to,className:"mx-auto mt-6 rounded-full object-cover"}),(0,Ie.jsx)("h3",{className:"font-secondary text-center py-2 text-lg font-bold leading-[1.25] text-accent dark:text-white md:text-Ie",children:t}),(0,Ie.jsx)("p",{children:a}),r&&r.length>0&&(0,Ie.jsx)("nav",{"aria-label":"social links",children:(0,Ie.jsx)("ul",{className:"inline-flex items-center divide-Ie divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:r.map((o,i)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Z,{href:o.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Ie-1 hover:text-accents",children:(0,Ie.jsx)("span",{children:o.icon})})},i))})})]})})})}function vm({page:e,categoryList:t,edit:a=!1,path:r="/admin/collections/posts/"}){var p;if(!e)return(0,ul.notFound)();let{meta:o,populatedAuthors:i,authors:l,categories:n,content:d,title:c}=e,m={image:{src:o&&o.image&&o.image.url||void 0,alt:o&&o.image&&o.image.alt||void 0},authorName:((p=i==null?void 0:i[0])==null?void 0:p.name)||"",category:n,commentCount:0,title:c,description:(o==null?void 0:o.description)||""},u=l==null?void 0:l.map(v=>{var A,b;return{name:v.name||"",about:"",image:{src:v.profilePicture&&((b=(A=v.profilePicture.sizes)==null?void 0:A.small)==null?void 0:b.url)||"/assets/images/blog/author-1.png",alt:v.name||"blog author"},socialLinks:[]}});return(0,Ie.jsx)(se,{children:(0,Ie.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ie.jsx)("div",{children:(0,Ie.jsxs)("div",{className:"[&_p+Ie]:mt-4",children:[(0,Ie.jsx)("div",{className:"my-4 Ie-px bg-body/30 lg:my-5"}),(0,Ie.jsx)(J,{content:d,enableGutter:!1})]})}),(0,Ie.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[a&&(0,Ie.jsx)("div",{className:"mt-4 lg:-mt-10 Ie-10 px-0 Ie-0 lg:px-10",children:(0,Ie.jsxs)(oe,{children:[(0,Ie.jsx)(we,{children:(0,Ie.jsx)(Ne,{children:"CMS Actions"})}),(0,Ie.jsxs)(le,{children:[(0,Ie.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ie.jsx)(sc.default,{href:`${r}${e.id}`,children:(0,Ie.jsx)(re,{className:"w-full",children:"Edit"})})]})]})}),u&&u.map((v,A)=>(0,Ie.jsx)(bm,{...v},A)),t&&t.links&&(0,Ie.jsx)("div",{className:"mt-4 px-0 Ie-0 lg:px-10",children:(0,Ie.jsx)(Qa,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogDetail,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,Container,ContentBlock,CopyButton,CustomLink,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,Header,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,ThemeProvider,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
|