cortex-react-components 1.16.0 → 1.16.2
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-5DHGE4OD.mjs +1 -0
- package/dist/chunk-HKHLTISI.mjs +4 -0
- package/dist/chunk-ID2MGE2G.mjs +4 -0
- package/dist/{chunk-WTZ6GABZ.mjs → chunk-QETNP6ST.mjs} +1 -1
- package/dist/{chunk-C34U2N2O.mjs → chunk-TM4ETY55.mjs} +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.js +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +1 -1
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +1 -1
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-EO3M2F7M.mjs +0 -1
- package/dist/chunk-INXPK24X.mjs +0 -4
- package/dist/chunk-SQC52R4J.mjs +0 -4
package/dist/components/index.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
'use client'
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
6
|
-
"use strict";"use client";var Qs=Object.create;var Ho=Object.defineProperty;var Js=Object.getOwnPropertyDescriptor;var qs=Object.getOwnPropertyNames;var Zs=Object.getPrototypeOf,el=Object.prototype.hasOwnProperty;var tl=(e,t)=>{for(var o in t)Ho(e,o,{get:t[o],enumerable:!0})},Ci=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of qs(t))!el.call(e,r)&&r!==o&&Ho(e,r,{get:()=>t[r],enumerable:!(a=Js(t,r))||a.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Qs(Zs(e)):{},Ci(t||!e||!e.__esModule?Ho(o,"default",{value:e,enumerable:!0}):o,e)),ol=e=>Ci(Ho({},"__esModule",{value:!0}),e);var Kc={};tl(Kc,{Alert:()=>Hr,AlertDescription:()=>Fr,AlertTitle:()=>zr,Avatar:()=>Po,AvatarFallback:()=>Co,AvatarImage:()=>Ro,Badge:()=>ia,BannerBlock:()=>qr,BrandLogo:()=>vt,Breadcrumb:()=>Ba,BreadcrumbEllipsis:()=>Oa,BreadcrumbItem:()=>za,BreadcrumbLink:()=>Fa,BreadcrumbList:()=>Ha,BreadcrumbPage:()=>Ga,BreadcrumbSeparator:()=>_a,Button:()=>J,CMSLink:()=>qe,CallToActionBlock:()=>Mo,Card:()=>ko,Checkbox:()=>Ln,CodeBlock:()=>ti,Collapsible:()=>Ue,CollapsibleContent:()=>nt,CollapsibleTrigger:()=>it,CollectionArchive:()=>mc,Command:()=>ea,CommandDialog:()=>Tn,CommandEmpty:()=>Dr,CommandGroup:()=>Ir,CommandInput:()=>Mr,CommandItem:()=>Lr,CommandList:()=>Ar,CommandSeparator:()=>Er,CommandShortcut:()=>Br,ContentBlock:()=>ri,CopyButton:()=>Zr,CustomerCard:()=>jn,Dialog:()=>$t,DialogClose:()=>qo,DialogContent:()=>Ct,DialogDescription:()=>Tr,DialogFooter:()=>kr,DialogHeader:()=>wo,DialogOverlay:()=>Zo,DialogPortal:()=>Sr,DialogTitle:()=>No,DialogTrigger:()=>Sn,DropdownMenu:()=>Hi,DropdownMenuCheckboxItem:()=>$a,DropdownMenuContent:()=>Xa,DropdownMenuGroup:()=>Fi,DropdownMenuItem:()=>Ua,DropdownMenuLabel:()=>Ya,DropdownMenuPortal:()=>Gi,DropdownMenuRadioGroup:()=>Oi,DropdownMenuRadioItem:()=>ja,DropdownMenuSeparator:()=>Ka,DropdownMenuShortcut:()=>Qa,DropdownMenuSub:()=>_i,DropdownMenuSubContent:()=>Wa,DropdownMenuSubTrigger:()=>Va,DropdownMenuTrigger:()=>zi,DynamicIcon:()=>He,EventCard:()=>Yn,FeatureCard:()=>Xn,FeatureGrid:()=>os,FeaturesBlock:()=>ii,Footer:()=>Yc,HeaderDesktop:()=>ui,HeaderMobile:()=>gi,HeadingImage:()=>Sc,HighImpactHero:()=>li,HoverCard:()=>Nn,HoverCardContent:()=>Cr,HoverCardTrigger:()=>Pn,Image:()=>Zn,ImageBlock:()=>kc,InfoTile:()=>hc,Input:()=>ro,Insight:()=>vc,Label:()=>Rr,Logo:()=>pc,LowImpactHero:()=>mi,MOTD:()=>xc,Media:()=>xe,MediaBlock:()=>Qt,MediumImpactHero:()=>di,NewsGrid:()=>us,OrgChart:()=>Pc,PageRange:()=>gc,Pagination:()=>bc,Popover:()=>gn,PopoverAnchor:()=>vn,PopoverContent:()=>Nr,PopoverTrigger:()=>bn,PostHero:()=>zc,PricingCard:()=>sc,ProjectCard:()=>qn,ProjectTeam:()=>Lc,ProposalSummary:()=>Rc,RelatedContent:()=>Bc,RelatedPosts:()=>Mc,RenderBlocks:()=>Tc,RenderHero:()=>Gc,RichText:()=>q,ScrollArea:()=>xr,ScrollBar:()=>Jo,SectionHero:()=>_c,Select:()=>Ql,SelectContent:()=>Hn,SelectGroup:()=>Jl,SelectItem:()=>Fn,SelectLabel:()=>zn,SelectScrollDownButton:()=>Or,SelectScrollUpButton:()=>_r,SelectSeparator:()=>Gn,SelectTrigger:()=>Bn,SelectValue:()=>ql,Separator:()=>io,ServiceCard:()=>nc,Sheet:()=>Fo,SheetClose:()=>Ki,SheetContent:()=>so,SheetDescription:()=>or,SheetFooter:()=>er,SheetHeader:()=>Za,SheetOverlay:()=>Go,SheetPortal:()=>qa,SheetTitle:()=>tr,SheetTrigger:()=>Yi,Sidebar:()=>yt,SidebarContent:()=>st,SidebarFooter:()=>wt,SidebarGroup:()=>Re,SidebarGroupAction:()=>cr,SidebarGroupContent:()=>Ae,SidebarGroupLabel:()=>je,SidebarHeader:()=>xt,SidebarInput:()=>lr,SidebarInset:()=>sr,SidebarLeft:()=>Ac,SidebarMenu:()=>me,SidebarMenuAction:()=>po,SidebarMenuBadge:()=>dr,SidebarMenuButton:()=>Ce,SidebarMenuItem:()=>ee,SidebarMenuSkeleton:()=>mr,SidebarMenuSub:()=>lt,SidebarMenuSubButton:()=>dt,SidebarMenuSubItem:()=>ct,SidebarProvider:()=>rr,SidebarRail:()=>nr,SidebarRight:()=>Ec,SidebarSeparator:()=>mo,SidebarTrigger:()=>ir,SimpleHeader:()=>Wc,Skeleton:()=>V,TextAndImages:()=>fs,Textarea:()=>On,Toast:()=>go,ToastAction:()=>fr,ToastClose:()=>bo,ToastDescription:()=>ho,ToastProvider:()=>Ko,ToastTitle:()=>vo,ToastViewport:()=>fo,Toaster:()=>cn,Toggle:()=>br,ToggleGroup:()=>vr,ToggleGroupItem:()=>hr,Tooltip:()=>Wo,TooltipContent:()=>co,TooltipProvider:()=>Vo,TooltipTrigger:()=>Xo,VerticalSlider:()=>is,VideoHeader:()=>$c,WhyUs:()=>Cc,badgeVariants:()=>Gr,buttonVariants:()=>lo,toggleVariants:()=>yo,useIsMobile:()=>Oo,useSidebar:()=>Xt,useToast:()=>Yo});module.exports=ol(Kc);var _t=f(require("react")),zo=require("@radix-ui/react-icons"),Bi=require("@radix-ui/react-slot");var Li=require("clsx");var La="-",al=e=>{let t=il(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{let s=l.split(La);return s[0]===""&&s.length!==1&&s.shift(),Ti(s,t)||rl(l)},getConflictingClassGroupIds:(l,s)=>{let m=o[l]||[];return s&&a[l]?[...m,...a[l]]:m}}},Ti=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),r=a?Ti(e.slice(1),a):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(La);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},Si=/^\[(.+)\]$/,rl=e=>{if(Si.test(e)){let t=Si.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},il=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return sl(Object.entries(e.classGroups),o).forEach(([i,l])=>{Ea(l,a,i,t)}),a},Ea=(e,t,o,a)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:ki(t,r);i.classGroupId=o;return}if(typeof r=="function"){if(nl(r)){Ea(r(a),t,o,a);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([i,l])=>{Ea(l,ki(t,i),o,a)})})},ki=(e,t)=>{let o=e;return t.split(La).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},nl=e=>e.isThemeGetter,sl=(e,t)=>t?e.map(([o,a])=>{let r=a.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[o,r]}):e,ll=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,r=(i,l)=>{o.set(i,l),t++,t>e&&(t=0,a=o,o=new Map)};return{get(i){let l=o.get(i);if(l!==void 0)return l;if((l=a.get(i))!==void 0)return r(i,l),l},set(i,l){o.has(i)?o.set(i,l):r(i,l)}}},Mi="!",cl=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,r=t[0],i=t.length,l=s=>{let m=[],c=0,d=0,b;for(let w=0;w<s.length;w++){let I=s[w];if(c===0){if(I===r&&(a||s.slice(w,w+i)===t)){m.push(s.slice(d,w)),d=w+i;continue}if(I==="/"){b=w;continue}}I==="["?c++:I==="]"&&c--}let g=m.length===0?s:s.substring(d),y=g.startsWith(Mi),D=y?g.substring(1):g,u=b&&b>d?b-d:void 0;return{modifiers:m,hasImportantModifier:y,baseClassName:D,maybePostfixModifierPosition:u}};return o?s=>o({className:s,parseClassName:l}):l},dl=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},ml=e=>({cache:ll(e.cacheSize),parseClassName:cl(e),...al(e)}),pl=/\s+/,ul=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:r}=t,i=[],l=e.trim().split(pl),s="";for(let m=l.length-1;m>=0;m-=1){let c=l[m],{modifiers:d,hasImportantModifier:b,baseClassName:g,maybePostfixModifierPosition:y}=o(c),D=!!y,u=a(D?g.substring(0,y):g);if(!u){if(!D){s=c+(s.length>0?" "+s:s);continue}if(u=a(g),!u){s=c+(s.length>0?" "+s:s);continue}D=!1}let w=dl(d).join(":"),I=b?w+Mi:w,E=I+u;if(i.includes(E))continue;i.push(E);let ie=r(u,D);for(let Ve=0;Ve<ie.length;++Ve){let zt=ie[Ve];i.push(I+zt)}s=c+(s.length>0?" "+s:s)}return s};function fl(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ai(t))&&(a&&(a+=" "),a+=o);return a}var Ai=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Ai(e[a]))&&(o&&(o+=" "),o+=t);return o};function gl(e,...t){let o,a,r,i=l;function l(m){let c=t.reduce((d,b)=>b(d),e());return o=ml(c),a=o.cache.get,r=o.cache.set,i=s,s(m)}function s(m){let c=a(m);if(c)return c;let d=ul(m,o);return r(m,d),d}return function(){return i(fl.apply(null,arguments))}}var H=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Di=/^\[(?:([a-z-]+):)?(.+)\]$/i,bl=/^\d+\/\d+$/,vl=new Set(["px","full","screen"]),hl=/^(\d+(\.\d+)?)?(Pe|sm|md|lg|xl)$/,yl=/\d+(%|px|r?em|[sdl]?Pe([hwib]|min|max)|Pe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Pe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,xl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Pe-?((\d+)?\.?(\d+)[a-z]+|0)/,Nl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xe=e=>Ft(e)||vl.has(e)||bl.test(e),at=e=>Gt(e,"length",Al),Ft=e=>!!e&&!Number.isNaN(Number(e)),Ia=e=>Gt(e,"number",Ft),oo=e=>!!e&&Number.isInteger(Number(e)),Pl=e=>e.endsWith("%")&&Ft(e.slice(0,-1)),N=e=>Di.test(e),rt=e=>hl.test(e),Rl=new Set(["length","size","percentage"]),Cl=e=>Gt(e,Rl,Ii),Sl=e=>Gt(e,"position",Ii),kl=new Set(["image","url"]),Tl=e=>Gt(e,kl,Il),Ml=e=>Gt(e,"",Dl),ao=()=>!0,Gt=(e,t,o)=>{let a=Di.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},Al=e=>yl.test(e)&&!xl.test(e),Ii=()=>!1,Dl=e=>wl.test(e),Il=e=>Nl.test(e);var El=()=>{let e=H("colors"),t=H("spacing"),o=H("blur"),a=H("brightness"),r=H("borderColor"),i=H("borderRadius"),l=H("borderSpacing"),s=H("borderWidth"),m=H("contrast"),c=H("grayscale"),d=H("hueRotate"),b=H("invert"),g=H("gap"),y=H("gradientColorStops"),D=H("gradientColorStopPositions"),u=H("inset"),w=H("margin"),I=H("opacity"),E=H("padding"),ie=H("saturate"),Ve=H("scale"),zt=H("sepia"),Eo=H("skew"),yi=H("space"),xi=H("translate"),Ta=()=>["auto","contain","none"],Ma=()=>["auto","hidden","clip","visible","scroll"],Aa=()=>["auto",N,t],z=()=>[N,t],wi=()=>["",Xe,at],Lo=()=>["auto",Ft,N],Ni=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Bo=()=>["solid","dashed","dotted","double","none"],Pi=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Da=()=>["start","end","center","between","around","evenly","stretch"],to=()=>["","0",N],Ri=()=>["auto","avoid","all","avoid-page","page","left","right","column"],We=()=>[Ft,N];return{cacheSize:500,separator:":",theme:{colors:[ao],spacing:[Xe,at],blur:["none","",rt,N],brightness:We(),borderColor:[e],borderRadius:["none","","full",rt,N],borderSpacing:z(),borderWidth:wi(),contrast:We(),grayscale:to(),hueRotate:We(),invert:to(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[Pl,at],inset:Aa(),margin:Aa(),opacity:We(),padding:z(),saturate:We(),scale:We(),sepia:to(),skew:We(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[rt]}],"break-after":[{"break-after":Ri()}],"break-before":[{"break-before":Ri()}],"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:[...Ni(),N]}],overflow:[{overflow:Ma()}],"overflow-Pe":[{"overflow-Pe":Ma()}],"overflow-y":[{"overflow-y":Ma()}],overscroll:[{overscroll:Ta()}],"overscroll-Pe":[{"overscroll-Pe":Ta()}],"overscroll-y":[{"overscroll-y":Ta()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-Pe":[{"inset-Pe":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oo,N]}],basis:[{basis:Aa()}],"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:to()}],shrink:[{shrink:to()}],order:[{order:["first","last","none",oo,N]}],"grid-cols":[{"grid-cols":[ao]}],"col-start-end":[{col:["auto",{span:["full",oo,N]},N]}],"col-start":[{"col-start":Lo()}],"col-end":[{"col-end":Lo()}],"grid-rows":[{"grid-rows":[ao]}],"row-start-end":[{row:["auto",{span:[oo,N]},N]}],"row-start":[{"row-start":Lo()}],"row-end":[{"row-end":Lo()}],"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:[g]}],"gap-Pe":[{"gap-Pe":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Da()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Da(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Da(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Pe:[{Pe:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],Pe:[{Pe:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],an:[{an:[w]}],me:[{me:[w]}],Pe:[{Pe:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-Pe":[{"space-Pe":[yi]}],"space-Pe-reverse":["space-Pe-reverse"],"space-y":[{"space-y":[yi]}],"space-y-reverse":["space-y-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:[rt]},rt]}],Pe:[{Pe:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Pe":[{"min-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Pe":[{"max-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",rt,at]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ia]}],"font-family":[{font:[ao]}],"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",Ft,Ia]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xe,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":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Bo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xe,at]}],"underline-offset":[{"underline-offset":["auto",Xe,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:z()}],"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":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ni(),Sl]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Pe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Cl]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tl]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-Pe":[{"border-Pe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...Bo(),"hidden"]}],"divide-Pe":[{"divide-Pe":[s]}],"divide-Pe-reverse":["divide-Pe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:Bo()}],"border-color":[{border:[r]}],"border-color-Pe":[{"border-Pe":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...Bo()]}],"outline-offset":[{"outline-offset":[Xe,N]}],"outline-w":[{outline:[Xe,at]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:wi()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[Xe,at]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",rt,Ml]}],"shadow-color":[{shadow:[ao]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...Pi(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pi()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",rt,N]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[b]}],saturate:[{saturate:[ie]}],sepia:[{sepia:[zt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[ie]}],"backdrop-sepia":[{"backdrop-sepia":[zt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Pe":[{"border-spacing-Pe":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:We()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:We()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ve]}],"scale-Pe":[{"scale-Pe":[Ve]}],"scale-y":[{"scale-y":[Ve]}],rotate:[{rotate:[oo,N]}],"translate-Pe":[{"translate-Pe":[xi]}],"translate-y":[{"translate-y":[xi]}],"skew-Pe":[{"skew-Pe":[Eo]}],"skew-y":[{"skew-y":[Eo]}],"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","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Pe-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","y","Pe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-an":[{"scroll-an":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-Pe":[{"scroll-Pe":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-Pe":[{"scroll-Pe":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-Pe":[{"scroll-Pe":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Pe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Pe":[{"touch-pan":["Pe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xe,at,Ia]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Pe","overflow-y"],overscroll:["overscroll-Pe","overscroll-y"],inset:["inset-Pe","inset-y","start","end","top","right","bottom","left"],"inset-Pe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Pe","gap-y"],Pe:["px","py","ps","pe","Pe","pr","pb","pl"],px:["pr","pl"],py:["Pe","pb"],m:["mx","my","an","me","Pe","mr","mb","ml"],mx:["mr","ml"],my:["Pe","mb"],size:["w","Pe"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Pe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Pe":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Pe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-an","scroll-me","scroll-Pe","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Pe","scroll-mb"],"scroll-Pe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Pe","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Pe","scroll-pb"],touch:["touch-Pe","touch-y","touch-pz"],"touch-Pe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ei=gl(El);function n(...e){return Ei((0,Li.clsx)(e))}var Pe=require("react/jsx-runtime"),Ba=_t.forwardRef(({...e},t)=>(0,Pe.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Ba.displayName="Breadcrumb";var Ha=_t.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ol",{ref:o,className:n("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Ha.displayName="BreadcrumbList";var za=_t.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{ref:o,className:n("inline-flex items-center gap-1.5",e),...t}));za.displayName="BreadcrumbItem";var Fa=_t.forwardRef(({asChild:e,className:t,...o},a)=>(0,Pe.jsx)(e?Bi.Slot:"a",{ref:a,className:n("transition-colors hover:text-foreground",t),...o}));Fa.displayName="BreadcrumbLink";var Ga=_t.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:n("font-normal text-foreground",e),...t}));Ga.displayName="BreadcrumbPage";var _a=({children:e,className:t,...o})=>(0,Pe.jsx)("li",{role:"presentation","aria-hidden":"true",className:n("[&>svg]:w-3.5 [&>svg]:Pe-3.5",t),...o,children:e!=null?e:(0,Pe.jsx)(zo.ChevronRightIcon,{})});_a.displayName="BreadcrumbSeparator";var Oa=({className:e,...t})=>(0,Pe.jsxs)("span",{role:"presentation","aria-hidden":"true",className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(zo.DotsHorizontalIcon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More"})]});Oa.displayName="BreadcrumbElipssis";var Ot=f(require("@radix-ui/react-collapsible")),Ue=Ot.Root,it=Ot.CollapsibleTrigger,nt=Ot.CollapsibleContent;var $e=f(require("react")),C=f(require("@radix-ui/react-dropdown-menu"));var Hi=C.Root,zi=C.Trigger,Fi=C.Group,Gi=C.Portal,_i=C.Sub,Oi=C.RadioGroup,Va=$e.forwardRef(({className:e,inset:t,children:o,...a},r)=>(0,Pe.jsxs)(C.SubTrigger,{ref:r,className:n("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),...a,children:[o,(0,Pe.jsx)(zo.ChevronRightIcon,{className:"ml-auto"})]}));Va.displayName=C.SubTrigger.displayName;var Wa=$e.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(C.SubContent,{ref:o,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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}));Wa.displayName=C.SubContent.displayName;var Xa=$e.forwardRef(({className:e,sideOffset:t=4,...o},a)=>(0,Pe.jsx)(C.Portal,{children:(0,Pe.jsx)(C.Content,{ref:a,sideOffset:t,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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),...o})}));Xa.displayName=C.Content.displayName;var Ua=$e.forwardRef(({className:e,inset:t,...o},a)=>(0,Pe.jsx)(C.Item,{ref:a,className:n("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),...o}));Ua.displayName=C.Item.displayName;var $a=$e.forwardRef(({className:e,children:t,checked:o,...a},r)=>(0,Pe.jsxs)(C.CheckboxItem,{ref:r,className:n("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:o,...a,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(C.ItemIndicator,{children:(0,Pe.jsx)(zo.CheckIcon,{className:"Pe-4 w-4"})})}),t]}));$a.displayName=C.CheckboxItem.displayName;var ja=$e.forwardRef(({className:e,children:t,...o},a)=>(0,Pe.jsxs)(C.RadioItem,{ref:a,className:n("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),...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(C.ItemIndicator,{children:(0,Pe.jsx)(zo.DotFilledIcon,{className:"Pe-4 w-4 fill-current"})})}),t]}));ja.displayName=C.RadioItem.displayName;var Ya=$e.forwardRef(({className:e,inset:t,...o},a)=>(0,Pe.jsx)(C.Label,{ref:a,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Ya.displayName=C.Label.displayName;var Ka=$e.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(C.Separator,{ref:o,className:n("-mx-1 my-1 Pe-px bg-muted",e),...t}));Ka.displayName=C.Separator.displayName;var Qa=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-Pe tracking-widest opacity-60",e),...t});Qa.displayName="DropdownMenuShortcut";var Vi=f(require("react"));var ro=Vi.forwardRef(({className:e,type:t,...o},a)=>(0,Pe.jsx)("input",{type:t,className:n("flex Pe-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:a,...o}));ro.displayName="Input";var Xi=f(require("react")),Ja=f(require("@radix-ui/react-separator"));var io=Xi.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...a},r)=>(0,Pe.jsx)(Ja.Root,{ref:r,decorative:o,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"Pe-[1px] w-full":"Pe-full w-[1px]",e),...a}));io.displayName=Ja.Root.displayName;var no=f(require("react")),O=f(require("@radix-ui/react-dialog")),ji=require("class-variance-authority");var Fo=O.Root,Yi=O.Trigger,Ki=O.Close,qa=O.Portal,Go=no.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(O.Overlay,{className:n("fixed inset-0 z-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:o}));Go.displayName=O.Overlay.displayName;var Ll=(0,ji.cva)("fixed z-50 gap-4 bg-background Pe-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-Pe-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Pe-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 Pe-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-y-0 right-0 Pe-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"}}),so=no.forwardRef(({side:e="right",className:t,children:o,...a},r)=>(0,Pe.jsxs)(qa,{children:[(0,Pe.jsx)(Go,{}),(0,Pe.jsxs)(O.Content,{ref:r,className:n(Ll({side:e}),t),...a,children:[(0,Pe.jsxs)(O.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,Pe.jsx)($i.Cross2Icon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));so.displayName=O.Content.displayName;var Za=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});Za.displayName="SheetHeader";var er=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});er.displayName="SheetFooter";var tr=no.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(O.Title,{ref:o,className:n("text-lg font-semibold text-foreground",e),...t}));tr.displayName=O.Title.displayName;var or=no.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(O.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));or.displayName=O.Description.displayName;var S=f(require("react")),an=require("lucide-react");var _o=require("react"),Oo=(e=768)=>{let[t,o]=(0,_o.useState)(!1);return(0,_o.useEffect)(()=>{let a=()=>{o(window.innerWidth<e)};return a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[e]),t};var qi=f(require("react")),lo=(0,ji.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:"Pe-10 px-4 py-2",icon:"Pe-10 w-10",lg:"Pe-11 rounded px-8",sm:"Pe-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"}}}),J=qi.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...r},i)=>(0,Pe.jsx)(e?Bi.Slot:"button",{className:n(lo({className:t,size:o,variant:a})),ref:i,...r}));J.displayName="Button";function V({className:e,...t}){return(0,Pe.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var tn=f(require("react")),Me=f(require("@radix-ui/react-tooltip"));var Vo=Me.Provider,Wo=Me.Root,Xo=Me.Trigger,co=tn.forwardRef(({className:e,sideOffset:t=4,...o},a)=>(0,Pe.jsx)(Me.Portal,{children:(0,Pe.jsx)(Me.Content,{ref:a,sideOffset:t,className:n("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-Pe 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),...o})}));co.displayName=Me.Content.displayName;var Bl="sidebar:state",Hl=60*60*24*7,zl="16rem",Fl="18rem",Gl="3rem",_l="b",rn=S.createContext(null);function Xt(){let e=S.useContext(rn);if(!e)throw new Error("useSidebar must Pe used within a SidebarProvider.");return e}var rr=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:a,style:r,children:i,...l},s)=>{let m=Oo(),[c,d]=S.useState(!1),[b,g]=S.useState(e),y=t!=null?t:b,D=S.useCallback(E=>{if(o)return o==null?void 0:o(typeof E=="function"?E(y):E);g(E),document.cookie=`${Bl}=${y}; path=/; max-age=${Hl}`},[o,y]),u=S.useCallback(()=>m?d(E=>!E):D(E=>!E),[m,D,d]);S.useEffect(()=>{let E=ie=>{ie.key===_l&&(ie.metaKey||ie.ctrlKey)&&(ie.preventDefault(),u())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[u]);let w=y?"expanded":"collapsed",I=S.useMemo(()=>({state:w,open:y,setOpen:D,isMobile:m,openMobile:c,setOpenMobile:d,toggleSidebar:u}),[w,y,D,m,c,d,u]);return(0,Pe.jsx)(rn.Provider,{value:I,children:(0,Pe.jsx)(Vo,{delayDuration:0,children:(0,Pe.jsx)("div",{style:{"--sidebar-width":zl,"--sidebar-width-icon":Gl,...r},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",a),ref:s,...l,children:i})})})});rr.displayName="SidebarProvider";var yt=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:a,children:r,...i},l)=>{let{isMobile:s,state:m,openMobile:c,setOpenMobile:d}=Xt();return o==="none"?(0,Pe.jsx)("div",{className:n("flex Pe-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",a),ref:l,...i,children:r}):s?(0,Pe.jsx)(Fo,{open:c,onOpenChange:d,...i,children:(0,Pe.jsx)(so,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Pe-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Fl},side:e,children:(0,Pe.jsx)("div",{className:"flex Pe-full w-full flex-col",children:r})})}):(0,Pe.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":m,"data-collapsible":m==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,Pe.jsx)("div",{className:n("duration-200 relative Pe-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)Pe+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Pe.jsx)("div",{className:n("duration-200 fixed top-14 bottom-0 z-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"?"Pe-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)Pe+_theme(spacing.4)Pe+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",a),...i,children:(0,Pe.jsx)("div",{"data-sidebar":"sidebar",className:"flex Pe-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:r})})]})});yt.displayName="Sidebar";var ir=S.forwardRef(({className:e,onClick:t,...o},a)=>{let{toggleSidebar:r}=Xt();return(0,Pe.jsxs)(J,{ref:a,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("Pe-7 w-7",e),onClick:i=>{t==null||t(i),r()},...o,children:[(0,Pe.jsx)(an.PanelLeft,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});ir.displayName="SidebarTrigger";var nr=S.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:a}=Xt();return(0,Pe.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:a,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-Pe-1/2 transition-all ease-linear after:absolute after:inset-y-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]Pe&]:cursor-w-resize [[data-side=right]Pe&]:cursor-e-resize","[[data-side=left][data-state=collapsed]Pe&]:cursor-e-resize [[data-side=right][data-state=collapsed]Pe&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Pe-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]Pe&]:-right-2","[[data-side=right][data-collapsible=offcanvas]Pe&]:-left-2",e),...t})});nr.displayName="SidebarRail";var sr=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("main",{ref:o,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-Pe-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));sr.displayName="SidebarInset";var lr=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(ro,{ref:o,"data-sidebar":"input",className:n("Pe-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));lr.displayName="SidebarInput";var xt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 Pe-2",e),...t}));xt.displayName="SidebarHeader";var wt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 Pe-2",e),...t}));wt.displayName="SidebarFooter";var mo=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(io,{ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));mo.displayName="SidebarSeparator";var st=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"content",className:n("flex min-Pe-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));st.displayName="SidebarContent";var Re=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col Pe-2",e),...t}));Re.displayName="SidebarGroup";var je=S.forwardRef(({className:e,asChild:t=!1,...o},a)=>(0,Pe.jsx)(t?Bi.Slot:"div",{ref:a,"data-sidebar":"group-label",className:n("duration-200 flex Pe-8 shrink-0 items-center rounded-md px-2 text-Pe 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]:-Pe-8 group-data-[collapsible=icon]:opacity-0",e),...o}));je.displayName="SidebarGroupLabel";var cr=S.forwardRef(({className:e,asChild:t=!1,...o},a)=>(0,Pe.jsx)(t?Bi.Slot:"button",{ref:a,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-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),...o}));cr.displayName="SidebarGroupAction";var Ae=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",e),...t}));Ae.displayName="SidebarGroupContent";var me=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",e),...t}));me.displayName="SidebarMenu";var ee=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",e),...t}));ee.displayName="SidebarMenuItem";var Ol=(0,ji.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Pe-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]:!Pe-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:"Pe-8 text-sm",sm:"Pe-7 text-Pe",lg:"Pe-12 text-sm group-data-[collapsible=icon]:!Pe-0"}},defaultVariants:{variant:"default",size:"default"}}),Ce=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:a="default",tooltip:r,className:i,...l},s)=>{let m=e?Bi.Slot:"button",{isMobile:c,state:d}=Xt(),b=(0,Pe.jsx)(m,{ref:s,"data-sidebar":"menu-button","data-size":a,"data-active":t,className:n(Ol({variant:o,size:a}),i),...l});return r?(typeof r=="string"&&(r={children:r}),(0,Pe.jsxs)(Wo,{children:[(0,Pe.jsx)(Xo,{asChild:!0,children:b}),(0,Pe.jsx)(co,{side:"right",align:"center",hidden:d!=="collapsed"||c,...r})]})):b});Ce.displayName="SidebarMenuButton";var po=S.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...a},r)=>(0,Pe.jsx)(t?Bi.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-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",o&&"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),...a}));po.displayName="SidebarMenuAction";var dr=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:n("absolute right-1 flex Pe-5 min-w-5 items-center justify-center rounded-md px-1 text-Pe 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}));dr.displayName="SidebarMenuBadge";var mr=S.forwardRef(({className:e,showIcon:t=!1,...o},a)=>{let r=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Pe.jsxs)("div",{ref:a,"data-sidebar":"menu-skeleton",className:n("rounded-md Pe-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,Pe.jsx)(V,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Pe.jsx)(V,{className:"Pe-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});mr.displayName="SidebarMenuSkeleton";var lt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-Pe-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));lt.displayName="SidebarMenuSub";var ct=S.forwardRef(({...e},t)=>(0,Pe.jsx)("li",{ref:t,...e}));ct.displayName="SidebarMenuSubItem";var dt=S.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:a,...r},i)=>(0,Pe.jsx)(e?Bi.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:n("flex Pe-7 min-w-0 -translate-Pe-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-Pe",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",a),...r}));dt.displayName="SidebarMenuSubButton";var jo=f(require("react")),Vl=1,Wl=1e6;var pr=0;function Xl(){return pr=(pr+1)%Number.MAX_SAFE_INTEGER,pr.toString()}var ur=new Map,nn=e=>{if(ur.has(e))return;let t=setTimeout(()=>{ur.delete(e),uo({type:"REMOVE_TOAST",toastId:e})},Wl);ur.set(e,t)},Ul=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Vl)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?nn(o):e.toasts.forEach(a=>{nn(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===o||o===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},Uo=[],$o={toasts:[]};function uo(e){$o=Ul($o,e),Uo.forEach(t=>{t($o)})}function $l({...e}){let t=Xl(),o=r=>uo({type:"UPDATE_TOAST",toast:{...r,id:t}}),a=()=>uo({type:"DISMISS_TOAST",toastId:t});return uo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||a()}}}),{id:t,dismiss:a,update:o}}function Yo(){let[e,t]=jo.useState($o);return jo.useEffect(()=>(Uo.push(t),()=>{let o=Uo.indexOf(t);o>-1&&Uo.splice(o,1)}),[e]),{...e,toast:$l,dismiss:o=>uo({type:"DISMISS_TOAST",toastId:o})}}var Nt=f(require("react")),$=f(require("@radix-ui/react-toast"));var Ko=$.Provider,fo=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Viewport,{ref:o,className:n("fixed top-0 z-[100] flex max-Pe-screen w-full flex-col-reverse Pe-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));fo.displayName=$.Viewport.displayName;var jl=(0,ji.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Pe-2 overflow-hidden rounded-md border Pe-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Pe-0 data-[swipe=end]:translate-Pe-[var(--radix-toast-swipe-end-Pe)] data-[swipe=move]:translate-Pe-[var(--radix-toast-swipe-move-Pe)] 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"}}),go=Nt.forwardRef(({className:e,variant:t,...o},a)=>(0,Pe.jsx)($.Root,{ref:a,className:n(jl({variant:t}),e),...o}));go.displayName=$.Root.displayName;var fr=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Action,{ref:o,className:n("inline-flex Pe-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}));fr.displayName=$.Action.displayName;var bo=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Close,{ref:o,className:n("absolute right-1 top-1 rounded-md Pe-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,Pe.jsx)(an.Pe,{className:"Pe-4 w-4"})}));bo.displayName=$.Close.displayName;var vo=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Title,{ref:o,className:n("text-sm font-semibold [&+div]:text-Pe",e),...t}));vo.displayName=$.Title.displayName;var ho=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Description,{ref:o,className:n("text-sm opacity-90",e),...t}));ho.displayName=$.Description.displayName;function cn(){let{toasts:e}=Yo();return(0,Pe.jsxs)(Ko,{children:[e.map(function({id:t,title:o,description:a,action:r,...i}){return(0,Pe.jsxs)(go,{...i,children:[(0,Pe.jsxs)("div",{className:"grid gap-1",children:[o&&(0,Pe.jsx)(vo,{children:o}),a&&(0,Pe.jsx)(ho,{children:a})]}),r,(0,Pe.jsx)(bo,{})]},t)}),(0,Pe.jsx)(fo,{})]})}var dn=f(require("react")),gr=f(require("@radix-ui/react-toggle"));var yo=(0,ji.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=ji]:bg-accent data-[state=ji]: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:"Pe-9 px-2 min-w-9",sm:"Pe-8 px-1.5 min-w-8",lg:"Pe-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),br=dn.forwardRef(({className:e,variant:t,size:o,...a},r)=>(0,Pe.jsx)(gr.Root,{ref:r,className:n(yo({variant:t,size:o,className:e})),...a}));br.displayName=gr.Root.displayName;var Pt=f(require("react")),Ut=f(require("@radix-ui/react-toggle-group"));var un=Pt.createContext({size:"default",variant:"default"}),vr=Pt.forwardRef(({className:e,variant:t,size:o,children:a,...r},i)=>(0,Pe.jsx)(Ut.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...r,children:(0,Pe.jsx)(un.Provider,{value:{variant:t,size:o},children:a})}));vr.displayName=Ut.Root.displayName;var hr=Pt.forwardRef(({className:e,children:t,variant:o,size:a,...r},i)=>{let l=Pt.useContext(un);return(0,Pe.jsx)(Ut.Item,{ref:i,className:n(yo({variant:l.variant||o,size:l.size||a}),e),...r,children:t})});hr.displayName=Ut.Item.displayName;var yr=f(require("react")),Se=f(require("@radix-ui/react-scroll-area"));var xr=yr.forwardRef(({className:e,children:t,...o},a)=>(0,Pe.jsxs)(Se.Root,{ref:a,className:n("relative overflow-hidden",e),...o,children:[(0,Pe.jsx)(Se.Viewport,{className:"Pe-full w-full rounded-[inherit]",children:t}),(0,Pe.jsx)(Jo,{}),(0,Pe.jsx)(Se.Corner,{})]}));xr.displayName=Se.Root.displayName;var Jo=yr.forwardRef(({className:e,orientation:t="vertical",...o},a)=>(0,Pe.jsx)(Se.ScrollAreaScrollbar,{ref:a,orientation:t,className:n("flex touch-none select-none transition-colors",t==="vertical"&&"Pe-full w-2.5 border-l border-l-transparent Pe-[1px]",t==="horizontal"&&"Pe-2.5 flex-col border-t border-t-transparent Pe-[1px]",e),...o,children:(0,Pe.jsx)(Se.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Jo.displayName=Se.ScrollAreaScrollbar.displayName;var fn=f(require("react")),De=f(require("@radix-ui/react-popover"));var gn=De.Root,bn=De.Trigger,vn=De.Anchor,Nr=fn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},r)=>(0,Pe.jsx)(De.Portal,{children:(0,Pe.jsx)(De.Content,{ref:r,align:t,sideOffset:o,className:n("z-50 w-72 rounded-md border bg-popover Pe-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),...a})}));Nr.displayName=De.Content.displayName;var hn=f(require("react")),Pr=f(require("@radix-ui/react-label"));var Yl=(0,ji.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Rr=hn.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Pr.Root,{ref:o,className:n(Yl(),e),...t}));Rr.displayName=Pr.Root.displayName;var wn=f(require("react")),Rt=f(require("@radix-ui/react-hover-card"));var Nn=Rt.Root,Pn=Rt.Trigger,Cr=wn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},r)=>(0,Pe.jsx)(Rt.Content,{ref:r,align:t,sideOffset:o,className:n("z-50 w-64 rounded-md border bg-popover Pe-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),...a}));Cr.displayName=Rt.Content.displayName;var xo=f(require("react")),W=f(require("@radix-ui/react-dialog"));var $t=W.Root,Sn=W.Trigger,Sr=W.Portal,qo=W.Close,Zo=xo.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(W.Overlay,{ref:o,className:n("fixed inset-0 z-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}));Zo.displayName=W.Overlay.displayName;var Ct=xo.forwardRef(({className:e,children:t,...o},a)=>(0,Pe.jsxs)(Sr,{children:[(0,Pe.jsx)(Zo,{}),(0,Pe.jsxs)(W.Content,{ref:a,className:n("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-Pe-[-50%] translate-y-[-50%] gap-4 border bg-background Pe-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),...o,children:[t,(0,Pe.jsxs)(W.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,Pe.jsx)(an.Pe,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ct.displayName=W.Content.displayName;var wo=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});wo.displayName="DialogHeader";var kr=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});kr.displayName="DialogFooter";var No=xo.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(W.Title,{ref:o,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));No.displayName=W.Title.displayName;var Tr=xo.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(W.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Tr.displayName=W.Description.displayName;var ut=f(require("react")),se=require("cmdk");var ea=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command,{ref:o,className:n("flex Pe-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));ea.displayName=se.Command.displayName;var Tn=({children:e,...t})=>(0,Pe.jsx)($t,{...t,children:(0,Pe.jsx)(Ct,{className:"overflow-hidden Pe-0",children:(0,Pe.jsx)(ea,{className:"[&Pe[cmdk-group-heading]]:px-2 [&Pe[cmdk-group-heading]]:font-medium [&Pe[cmdk-group-heading]]:text-muted-foreground [&Pe[cmdk-group]:not([hidden])Pe~[cmdk-group]]:Pe-0 [&Pe[cmdk-group]]:px-2 [&Pe[cmdk-input-wrapper]_svg]:Pe-5 [&Pe[cmdk-input-wrapper]_svg]:w-5 [&Pe[cmdk-input]]:Pe-12 [&Pe[cmdk-item]]:px-2 [&Pe[cmdk-item]]:py-3 [&Pe[cmdk-item]_svg]:Pe-5 [&Pe[cmdk-item]_svg]:w-5",children:e})})}),Mr=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Pe.jsx)(an.Search,{className:"mr-2 Pe-4 w-4 shrink-0 opacity-50"}),(0,Pe.jsx)(se.Command.Input,{ref:o,className:n("flex Pe-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})]}));Mr.displayName=se.Command.Input.displayName;var Ar=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.List,{ref:o,className:n("max-Pe-[300px] overflow-y-auto overflow-Pe-hidden",e),...t}));Ar.displayName=se.Command.List.displayName;var Dr=ut.forwardRef((e,t)=>(0,Pe.jsx)(se.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Dr.displayName=se.Command.Empty.displayName;var Ir=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.Group,{ref:o,className:n("overflow-hidden Pe-1 text-foreground [&Pe[cmdk-group-heading]]:px-2 [&Pe[cmdk-group-heading]]:py-1.5 [&Pe[cmdk-group-heading]]:text-Pe [&Pe[cmdk-group-heading]]:font-medium [&Pe[cmdk-group-heading]]:text-muted-foreground",e),...t}));Ir.displayName=se.Command.Group.displayName;var Er=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.Separator,{ref:o,className:n("-mx-1 Pe-px bg-border",e),...t}));Er.displayName=se.Command.Separator.displayName;var Lr=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.Item,{ref:o,className:n("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}));Lr.displayName=se.Command.Item.displayName;var Br=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-Pe tracking-widest text-muted-foreground",e),...t});Br.displayName="CommandShortcut";var ta=f(require("react"));var Kl=(0,ji.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-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"}}),Hr=ta.forwardRef(({className:e,variant:t,...o},a)=>(0,Pe.jsx)("div",{ref:a,role:"alert",className:n(Kl({variant:t}),e),...o}));Hr.displayName="Alert";var zr=ta.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("h5",{ref:o,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));zr.displayName="AlertTitle";var Fr=ta.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("text-sm [&_p]:leading-relaxed",e),...t}));Fr.displayName="AlertDescription";var aa=f(require("react")),Ke=f(require("@radix-ui/react-avatar"));var Po=aa.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Ke.Root,{ref:o,className:n("relative flex Pe-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Po.displayName=Ke.Root.displayName;var Ro=aa.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Ke.Image,{ref:o,className:n("aspect-square Pe-full w-full",e),...t}));Ro.displayName=Ke.Image.displayName;var Co=aa.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Ke.Fallback,{ref:o,className:n("flex Pe-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Co.displayName=Ke.Fallback.displayName;var Gr=(0,ji.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-Pe 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 ia({className:e,variant:t,...o}){return(0,Pe.jsx)("div",{className:n(Gr({variant:t}),e),...o})}var So=f(require("@radix-ui/react-checkbox")),En=f(require("react")),Ln=En.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(So.Root,{className:n("peer Pe-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:o,...t,children:(0,Pe.jsx)(So.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,Pe.jsx)(an.Check,{className:"Pe-4 w-4"})})}));Ln.displayName=So.Root.displayName;var T=f(require("@radix-ui/react-select")),ft=f(require("react")),Ql=T.Root,Jl=T.Group,ql=T.Value,Bn=ft.forwardRef(({children:e,className:t,...o},a)=>(0,Pe.jsxs)(T.Trigger,{className:n("flex Pe-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:a,...o,children:[e,(0,Pe.jsx)(T.Icon,{asChild:!0,children:(0,Pe.jsx)(an.ChevronDown,{className:"Pe-4 w-4 opacity-50"})})]}));Bn.displayName=T.Trigger.displayName;var _r=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.ScrollUpButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Pe.jsx)(an.ChevronUp,{className:"Pe-4 w-4"})}));_r.displayName=T.ScrollUpButton.displayName;var Or=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.ScrollDownButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Pe.jsx)(an.ChevronDown,{className:"Pe-4 w-4"})}));Or.displayName=T.ScrollDownButton.displayName;var Hn=ft.forwardRef(({children:e,className:t,position:o="popper",...a},r)=>(0,Pe.jsx)(T.Portal,{children:(0,Pe.jsxs)(T.Content,{className:n("relative z-50 max-Pe-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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Pe-1 data-[side=right]:translate-Pe-1 data-[side=top]:-translate-y-1",t),position:o,ref:r,...a,children:[(0,Pe.jsx)(_r,{}),(0,Pe.jsx)(T.Viewport,{className:n("Pe-1",o==="popper"&&"Pe-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Pe.jsx)(Or,{})]})}));Hn.displayName=T.Content.displayName;var zn=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.Label,{className:n("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));zn.displayName=T.Label.displayName;var Fn=ft.forwardRef(({children:e,className:t,...o},a)=>(0,Pe.jsxs)(T.Item,{className:n("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:a,...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(T.ItemIndicator,{children:(0,Pe.jsx)(an.Check,{className:"Pe-4 w-4"})})}),(0,Pe.jsx)(T.ItemText,{children:e})]}));Fn.displayName=T.Item.displayName;var Gn=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.Separator,{className:n("-mx-1 my-1 Pe-px bg-muted",e),ref:o,...t}));Gn.displayName=T.Separator.displayName;var _n=f(require("react")),On=_n.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("textarea",{className:n("flex min-Pe-[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:o,...t}));On.displayName="Textarea";var He=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let r=e.includes("Pe-")?e+" ":"Pe-"+e+" ",i="Pe-"+t,l=a!=null?a:"",s=r+i+" Pe-"+o+" "+l;return(0,Pe.jsx)("i",{className:s})};var Xn=({title:e,description:t,iconName:o,iconStyle:a,color:r})=>(0,Pe.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"}[r]} Pe-6 flex flex-col items-center text-center`,children:[(0,Pe.jsx)("div",{className:"w-12 Pe-12 ",children:(0,Pe.jsx)(He,{type:a,iconName:o,className:"w-12 Pe-12 text-white"})}),(0,Pe.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Pe.jsx)("Pe",{className:"text-white text-sm",children:t})]});var Un=f(require("next/image")),$n=f(require("next/link"));var Tt=f(require("react"));var pe=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var ze=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("flex flex-col space-y-1.5 Pe-6",e),...t}));ze.displayName="CardHeader";var Fe=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("font-semibold leading-none tracking-tight",e),...t}));Fe.displayName="CardTitle";var Zl=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Zl.displayName="CardDescription";var ke=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("Pe-6 Pe-0",e),...t}));ke.displayName="CardContent";var ec=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("flex items-center Pe-6 Pe-0",e),...t}));ec.displayName="CardFooter";function jn({name:e,logo:t,href:o}){return(0,Pe.jsx)(pe,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Pe.jsxs)($n.default,{href:o,className:"block",children:[(0,Pe.jsx)("div",{className:"bg-white Pe-2 flex items-center justify-center Pe-24",children:(0,Pe.jsx)("div",{className:"relative w-full Pe-full",children:t&&(0,Pe.jsx)(Un.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Pe.jsx)(ke,{className:"Pe-3 flex items-center justify-center Pe-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Pe.jsx)("Pe",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Yn({eventType:e="birthday",date:t="",title:o="",description:a="",avatarSrc:r}){let i=s=>{switch(s){case"birthday":return(0,Pe.jsx)(an.Cake,{className:"Pe-4 w-4"});case"workAnniversary":return(0,Pe.jsx)(an.Award,{className:"Pe-4 w-4"});case"companyEvent":return(0,Pe.jsx)(an.PartyPopper,{className:"Pe-4 w-4"});default:return(0,Pe.jsx)(an.CalendarDays,{className:"Pe-4 w-4"})}},l=s=>{switch(s){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,Pe.jsxs)(pe,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Pe.jsxs)(ze,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Pe.jsxs)(Po,{className:"Pe-14 w-14 border-2 border-white",children:[(0,Pe.jsx)(Ro,{src:r,alt:o||"Event"}),(0,Pe.jsx)(Co,{className:"bg-white text-gray-900",children:o?o.charAt(0).toUpperCase():"?"})]}),(0,Pe.jsxs)("div",{className:"flex flex-col",children:[(0,Pe.jsx)(Fe,{className:"text-xl",children:o||"Untitled Event"}),(0,Pe.jsxs)("Pe",{className:"text-sm text-white/80",children:[(0,Pe.jsx)(an.CalendarDays,{className:"mr-1 inline-block Pe-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Pe.jsxs)(ke,{className:"bg-white bg-opacity-80 Pe-4",children:[a&&(0,Pe.jsx)("Pe",{className:"mb-2 text-sm text-gray-700",children:a}),(0,Pe.jsxs)(ia,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Pe.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-z])([Pe-Pe])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var Qn=f(require("next/link"));var Jn=f(require("next/image")),Kn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function qn({slug:e,image:t,title:o,description:a}){return(0,Pe.jsxs)(Qn.default,{href:e,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 Pe-6 md:Pe-[1.875rem]",children:[(0,Pe.jsx)("span",{className:n("absolute inset-0 z-[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,Pe.jsx)(Jn.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
6
|
+
"use strict";"use client";var Qs=Object.create;var Ho=Object.defineProperty;var Js=Object.getOwnPropertyDescriptor;var qs=Object.getOwnPropertyNames;var Zs=Object.getPrototypeOf,el=Object.prototype.hasOwnProperty;var tl=(e,t)=>{for(var o in t)Ho(e,o,{get:t[o],enumerable:!0})},Ci=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of qs(t))!el.call(e,r)&&r!==o&&Ho(e,r,{get:()=>t[r],enumerable:!(a=Js(t,r))||a.enumerable});return e};var f=(e,t,o)=>(o=e!=null?Qs(Zs(e)):{},Ci(t||!e||!e.__esModule?Ho(o,"default",{value:e,enumerable:!0}):o,e)),ol=e=>Ci(Ho({},"__esModule",{value:!0}),e);var Kc={};tl(Kc,{Alert:()=>Hr,AlertDescription:()=>Fr,AlertTitle:()=>zr,Avatar:()=>Po,AvatarFallback:()=>Co,AvatarImage:()=>Ro,Badge:()=>ia,BannerBlock:()=>qr,BrandLogo:()=>vt,Breadcrumb:()=>Ba,BreadcrumbEllipsis:()=>_a,BreadcrumbItem:()=>za,BreadcrumbLink:()=>Fa,BreadcrumbList:()=>Ha,BreadcrumbPage:()=>Ga,BreadcrumbSeparator:()=>Oa,Button:()=>J,CMSLink:()=>qe,CallToActionBlock:()=>Mo,Card:()=>ko,Checkbox:()=>Ln,CodeBlock:()=>ti,Collapsible:()=>Ue,CollapsibleContent:()=>nt,CollapsibleTrigger:()=>it,CollectionArchive:()=>mc,Command:()=>ea,CommandDialog:()=>Tn,CommandEmpty:()=>Dr,CommandGroup:()=>Ir,CommandInput:()=>Mr,CommandItem:()=>Lr,CommandList:()=>Ar,CommandSeparator:()=>Er,CommandShortcut:()=>Br,ContentBlock:()=>ri,CopyButton:()=>Zr,CustomerCard:()=>jn,Dialog:()=>$t,DialogClose:()=>qo,DialogContent:()=>Ct,DialogDescription:()=>Tr,DialogFooter:()=>kr,DialogHeader:()=>wo,DialogOverlay:()=>Zo,DialogPortal:()=>Sr,DialogTitle:()=>No,DialogTrigger:()=>Sn,DropdownMenu:()=>Hi,DropdownMenuCheckboxItem:()=>$a,DropdownMenuContent:()=>Xa,DropdownMenuGroup:()=>Fi,DropdownMenuItem:()=>Ua,DropdownMenuLabel:()=>Ya,DropdownMenuPortal:()=>Gi,DropdownMenuRadioGroup:()=>_i,DropdownMenuRadioItem:()=>ja,DropdownMenuSeparator:()=>Ka,DropdownMenuShortcut:()=>Qa,DropdownMenuSub:()=>Oi,DropdownMenuSubContent:()=>Wa,DropdownMenuSubTrigger:()=>Va,DropdownMenuTrigger:()=>zi,DynamicIcon:()=>He,EventCard:()=>Yn,FeatureCard:()=>Xn,FeatureGrid:()=>os,FeaturesBlock:()=>ii,Footer:()=>Yc,HeaderDesktop:()=>ui,HeaderMobile:()=>gi,HeadingImage:()=>Sc,HighImpactHero:()=>li,HoverCard:()=>Nn,HoverCardContent:()=>Cr,HoverCardTrigger:()=>Pn,Image:()=>Zn,ImageBlock:()=>kc,InfoTile:()=>hc,Input:()=>ro,Insight:()=>vc,Label:()=>Rr,Logo:()=>pc,LowImpactHero:()=>mi,MOTD:()=>xc,Media:()=>xe,MediaBlock:()=>Qt,MediumImpactHero:()=>di,NewsGrid:()=>us,OrgChart:()=>Pc,PageRange:()=>gc,Pagination:()=>bc,Popover:()=>gn,PopoverAnchor:()=>vn,PopoverContent:()=>Nr,PopoverTrigger:()=>bn,PostHero:()=>zc,PricingCard:()=>sc,ProjectCard:()=>qn,ProjectTeam:()=>Lc,ProposalSummary:()=>Rc,RelatedContent:()=>Bc,RelatedPosts:()=>Mc,RenderBlocks:()=>Tc,RenderHero:()=>Gc,RichText:()=>q,ScrollArea:()=>xr,ScrollBar:()=>Jo,SectionHero:()=>Oc,Select:()=>Ql,SelectContent:()=>Hn,SelectGroup:()=>Jl,SelectItem:()=>Fn,SelectLabel:()=>zn,SelectScrollDownButton:()=>_r,SelectScrollUpButton:()=>Or,SelectSeparator:()=>Gn,SelectTrigger:()=>Bn,SelectValue:()=>ql,Separator:()=>io,ServiceCard:()=>nc,Sheet:()=>Fo,SheetClose:()=>Ki,SheetContent:()=>so,SheetDescription:()=>or,SheetFooter:()=>er,SheetHeader:()=>Za,SheetOverlay:()=>Go,SheetPortal:()=>qa,SheetTitle:()=>tr,SheetTrigger:()=>Yi,Sidebar:()=>yt,SidebarContent:()=>st,SidebarFooter:()=>wt,SidebarGroup:()=>Re,SidebarGroupAction:()=>cr,SidebarGroupContent:()=>Ae,SidebarGroupLabel:()=>je,SidebarHeader:()=>xt,SidebarInput:()=>lr,SidebarInset:()=>sr,SidebarLeft:()=>Ac,SidebarMenu:()=>me,SidebarMenuAction:()=>po,SidebarMenuBadge:()=>dr,SidebarMenuButton:()=>Ce,SidebarMenuItem:()=>ee,SidebarMenuSkeleton:()=>mr,SidebarMenuSub:()=>lt,SidebarMenuSubButton:()=>dt,SidebarMenuSubItem:()=>ct,SidebarProvider:()=>rr,SidebarRail:()=>nr,SidebarRight:()=>Ec,SidebarSeparator:()=>mo,SidebarTrigger:()=>ir,SimpleHeader:()=>Wc,Skeleton:()=>V,TextAndImages:()=>fs,Textarea:()=>_n,Toast:()=>go,ToastAction:()=>fr,ToastClose:()=>bo,ToastDescription:()=>ho,ToastProvider:()=>Ko,ToastTitle:()=>vo,ToastViewport:()=>fo,Toaster:()=>cn,Toggle:()=>br,ToggleGroup:()=>vr,ToggleGroupItem:()=>hr,Tooltip:()=>Wo,TooltipContent:()=>co,TooltipProvider:()=>Vo,TooltipTrigger:()=>Xo,VerticalSlider:()=>is,VideoHeader:()=>$c,WhyUs:()=>Cc,badgeVariants:()=>Gr,buttonVariants:()=>lo,toggleVariants:()=>yo,useIsMobile:()=>_o,useSidebar:()=>Xt,useToast:()=>Yo});module.exports=ol(Kc);var Ot=f(require("react")),zo=require("@radix-ui/react-icons"),Bi=require("@radix-ui/react-slot");var Li=require("clsx");var La="-",al=e=>{let t=il(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{let s=l.split(La);return s[0]===""&&s.length!==1&&s.shift(),Ti(s,t)||rl(l)},getConflictingClassGroupIds:(l,s)=>{let m=o[l]||[];return s&&a[l]?[...m,...a[l]]:m}}},Ti=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),r=a?Ti(e.slice(1),a):void 0;if(r)return r;if(t.validators.length===0)return;let i=e.join(La);return(l=t.validators.find(({validator:s})=>s(i)))==null?void 0:l.classGroupId},Si=/^\[(.+)\]$/,rl=e=>{if(Si.test(e)){let t=Si.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},il=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return sl(Object.entries(e.classGroups),o).forEach(([i,l])=>{Ea(l,a,i,t)}),a},Ea=(e,t,o,a)=>{e.forEach(r=>{if(typeof r=="string"){let i=r===""?t:ki(t,r);i.classGroupId=o;return}if(typeof r=="function"){if(nl(r)){Ea(r(a),t,o,a);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([i,l])=>{Ea(l,ki(t,i),o,a)})})},ki=(e,t)=>{let o=e;return t.split(La).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},nl=e=>e.isThemeGetter,sl=(e,t)=>t?e.map(([o,a])=>{let r=a.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[o,r]}):e,ll=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,r=(i,l)=>{o.set(i,l),t++,t>e&&(t=0,a=o,o=new Map)};return{get(i){let l=o.get(i);if(l!==void 0)return l;if((l=a.get(i))!==void 0)return r(i,l),l},set(i,l){o.has(i)?o.set(i,l):r(i,l)}}},Mi="!",cl=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,r=t[0],i=t.length,l=s=>{let m=[],c=0,d=0,b;for(let w=0;w<s.length;w++){let I=s[w];if(c===0){if(I===r&&(a||s.slice(w,w+i)===t)){m.push(s.slice(d,w)),d=w+i;continue}if(I==="/"){b=w;continue}}I==="["?c++:I==="]"&&c--}let g=m.length===0?s:s.substring(d),y=g.startsWith(Mi),D=y?g.substring(1):g,u=b&&b>d?b-d:void 0;return{modifiers:m,hasImportantModifier:y,baseClassName:D,maybePostfixModifierPosition:u}};return o?s=>o({className:s,parseClassName:l}):l},dl=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},ml=e=>({cache:ll(e.cacheSize),parseClassName:cl(e),...al(e)}),pl=/\s+/,ul=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:r}=t,i=[],l=e.trim().split(pl),s="";for(let m=l.length-1;m>=0;m-=1){let c=l[m],{modifiers:d,hasImportantModifier:b,baseClassName:g,maybePostfixModifierPosition:y}=o(c),D=!!y,u=a(D?g.substring(0,y):g);if(!u){if(!D){s=c+(s.length>0?" "+s:s);continue}if(u=a(g),!u){s=c+(s.length>0?" "+s:s);continue}D=!1}let w=dl(d).join(":"),I=b?w+Mi:w,E=I+u;if(i.includes(E))continue;i.push(E);let ie=r(u,D);for(let Ve=0;Ve<ie.length;++Ve){let zt=ie[Ve];i.push(I+zt)}s=c+(s.length>0?" "+s:s)}return s};function fl(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Ai(t))&&(a&&(a+=" "),a+=o);return a}var Ai=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=Ai(e[a]))&&(o&&(o+=" "),o+=t);return o};function gl(e,...t){let o,a,r,i=l;function l(m){let c=t.reduce((d,b)=>b(d),e());return o=ml(c),a=o.cache.get,r=o.cache.set,i=s,s(m)}function s(m){let c=a(m);if(c)return c;let d=ul(m,o);return r(m,d),d}return function(){return i(fl.apply(null,arguments))}}var H=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Di=/^\[(?:([a-z-]+):)?(.+)\]$/i,bl=/^\d+\/\d+$/,vl=new Set(["px","full","screen"]),hl=/^(\d+(\.\d+)?)?(Pe|sm|md|lg|xl)$/,yl=/\d+(%|px|r?em|[sdl]?Pe([hwib]|min|max)|Pe|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Pe|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,xl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Nl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xe=e=>Ft(e)||vl.has(e)||bl.test(e),at=e=>Gt(e,"length",Al),Ft=e=>!!e&&!Number.isNaN(Number(e)),Ia=e=>Gt(e,"number",Ft),oo=e=>!!e&&Number.isInteger(Number(e)),Pl=e=>e.endsWith("%")&&Ft(e.slice(0,-1)),N=e=>Di.test(e),rt=e=>hl.test(e),Rl=new Set(["length","size","percentage"]),Cl=e=>Gt(e,Rl,Ii),Sl=e=>Gt(e,"position",Ii),kl=new Set(["image","url"]),Tl=e=>Gt(e,kl,Il),Ml=e=>Gt(e,"",Dl),ao=()=>!0,Gt=(e,t,o)=>{let a=Di.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},Al=e=>yl.test(e)&&!xl.test(e),Ii=()=>!1,Dl=e=>wl.test(e),Il=e=>Nl.test(e);var El=()=>{let e=H("colors"),t=H("spacing"),o=H("blur"),a=H("brightness"),r=H("borderColor"),i=H("borderRadius"),l=H("borderSpacing"),s=H("borderWidth"),m=H("contrast"),c=H("grayscale"),d=H("hueRotate"),b=H("invert"),g=H("gap"),y=H("gradientColorStops"),D=H("gradientColorStopPositions"),u=H("inset"),w=H("margin"),I=H("opacity"),E=H("padding"),ie=H("saturate"),Ve=H("scale"),zt=H("sepia"),Eo=H("skew"),yi=H("space"),xi=H("translate"),Ta=()=>["auto","contain","none"],Ma=()=>["auto","hidden","clip","visible","scroll"],Aa=()=>["auto",N,t],z=()=>[N,t],wi=()=>["",Xe,at],Lo=()=>["auto",Ft,N],Ni=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Bo=()=>["solid","dashed","dotted","double","none"],Pi=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Da=()=>["start","end","center","between","around","evenly","stretch"],to=()=>["","0",N],Ri=()=>["auto","avoid","all","avoid-page","page","left","right","column"],We=()=>[Ft,N];return{cacheSize:500,separator:":",theme:{colors:[ao],spacing:[Xe,at],blur:["none","",rt,N],brightness:We(),borderColor:[e],borderRadius:["none","","full",rt,N],borderSpacing:z(),borderWidth:wi(),contrast:We(),grayscale:to(),hueRotate:We(),invert:to(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[Pl,at],inset:Aa(),margin:Aa(),opacity:We(),padding:z(),saturate:We(),scale:We(),sepia:to(),skew:We(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[rt]}],"break-after":[{"break-after":Ri()}],"break-before":[{"break-before":Ri()}],"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:[...Ni(),N]}],overflow:[{overflow:Ma()}],"overflow-Pe":[{"overflow-Pe":Ma()}],"overflow-y":[{"overflow-y":Ma()}],overscroll:[{overscroll:Ta()}],"overscroll-Pe":[{"overscroll-Pe":Ta()}],"overscroll-y":[{"overscroll-y":Ta()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-Pe":[{"inset-Pe":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oo,N]}],basis:[{basis:Aa()}],"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:to()}],shrink:[{shrink:to()}],order:[{order:["first","last","none",oo,N]}],"grid-cols":[{"grid-cols":[ao]}],"col-start-end":[{col:["auto",{span:["full",oo,N]},N]}],"col-start":[{"col-start":Lo()}],"col-end":[{"col-end":Lo()}],"grid-rows":[{"grid-rows":[ao]}],"row-start-end":[{row:["auto",{span:[oo,N]},N]}],"row-start":[{"row-start":Lo()}],"row-end":[{"row-end":Lo()}],"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:[g]}],"gap-Pe":[{"gap-Pe":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Da()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Da(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Da(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Pe:[{Pe:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],Pe:[{Pe:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],an:[{an:[w]}],me:[{me:[w]}],Pe:[{Pe:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-Pe":[{"space-Pe":[yi]}],"space-Pe-reverse":["space-Pe-reverse"],"space-y":[{"space-y":[yi]}],"space-y-reverse":["space-y-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:[rt]},rt]}],Pe:[{Pe:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Pe":[{"min-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-Pe":[{"max-Pe":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",rt,at]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ia]}],"font-family":[{font:[ao]}],"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",Ft,Ia]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xe,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":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Bo(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xe,at]}],"underline-offset":[{"underline-offset":["auto",Xe,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:z()}],"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":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ni(),Sl]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Pe","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Cl]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tl]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-Pe":[{"border-Pe":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...Bo(),"hidden"]}],"divide-Pe":[{"divide-Pe":[s]}],"divide-Pe-reverse":["divide-Pe-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:Bo()}],"border-color":[{border:[r]}],"border-color-Pe":[{"border-Pe":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...Bo()]}],"outline-offset":[{"outline-offset":[Xe,N]}],"outline-w":[{outline:[Xe,at]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:wi()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[Xe,at]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",rt,Ml]}],"shadow-color":[{shadow:[ao]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...Pi(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pi()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",rt,N]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[b]}],saturate:[{saturate:[ie]}],sepia:[{sepia:[zt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[ie]}],"backdrop-sepia":[{"backdrop-sepia":[zt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-Pe":[{"border-spacing-Pe":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:We()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:We()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Ve]}],"scale-Pe":[{"scale-Pe":[Ve]}],"scale-y":[{"scale-y":[Ve]}],rotate:[{rotate:[oo,N]}],"translate-Pe":[{"translate-Pe":[xi]}],"translate-y":[{"translate-y":[xi]}],"skew-Pe":[{"skew-Pe":[Eo]}],"skew-y":[{"skew-y":[Eo]}],"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","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","Pe-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","y","Pe",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-an":[{"scroll-an":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-Pe":[{"scroll-Pe":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-Pe":[{"scroll-Pe":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-Pe":[{"scroll-Pe":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Pe","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Pe":[{"touch-pan":["Pe","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xe,at,Ia]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Pe","overflow-y"],overscroll:["overscroll-Pe","overscroll-y"],inset:["inset-Pe","inset-y","start","end","top","right","bottom","left"],"inset-Pe":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Pe","gap-y"],Pe:["px","py","ps","pe","Pe","pr","pb","pl"],px:["pr","pl"],py:["Pe","pb"],m:["mx","my","an","me","Pe","mr","mb","ml"],mx:["mr","ml"],my:["Pe","mb"],size:["w","Pe"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Pe","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-Pe":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-Pe":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-an","scroll-me","scroll-Pe","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Pe","scroll-mb"],"scroll-Pe":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-Pe","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Pe","scroll-pb"],touch:["touch-Pe","touch-y","touch-pz"],"touch-Pe":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ei=gl(El);function n(...e){return Ei((0,Li.clsx)(e))}var Pe=require("react/jsx-runtime"),Ba=Ot.forwardRef(({...e},t)=>(0,Pe.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Ba.displayName="Breadcrumb";var Ha=Ot.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ol",{ref:o,className:n("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Ha.displayName="BreadcrumbList";var za=Ot.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{ref:o,className:n("inline-flex items-center gap-1.5",e),...t}));za.displayName="BreadcrumbItem";var Fa=Ot.forwardRef(({asChild:e,className:t,...o},a)=>(0,Pe.jsx)(e?Bi.Slot:"a",{ref:a,className:n("transition-colors hover:text-foreground",t),...o}));Fa.displayName="BreadcrumbLink";var Ga=Ot.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:n("font-normal text-foreground",e),...t}));Ga.displayName="BreadcrumbPage";var Oa=({children:e,className:t,...o})=>(0,Pe.jsx)("li",{role:"presentation","aria-hidden":"true",className:n("[&>svg]:w-3.5 [&>svg]:Pe-3.5",t),...o,children:e!=null?e:(0,Pe.jsx)(zo.ChevronRightIcon,{})});Oa.displayName="BreadcrumbSeparator";var _a=({className:e,...t})=>(0,Pe.jsxs)("span",{role:"presentation","aria-hidden":"true",className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(zo.DotsHorizontalIcon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More"})]});_a.displayName="BreadcrumbElipssis";var _t=f(require("@radix-ui/react-collapsible")),Ue=_t.Root,it=_t.CollapsibleTrigger,nt=_t.CollapsibleContent;var $e=f(require("react")),C=f(require("@radix-ui/react-dropdown-menu"));var Hi=C.Root,zi=C.Trigger,Fi=C.Group,Gi=C.Portal,Oi=C.Sub,_i=C.RadioGroup,Va=$e.forwardRef(({className:e,inset:t,children:o,...a},r)=>(0,Pe.jsxs)(C.SubTrigger,{ref:r,className:n("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),...a,children:[o,(0,Pe.jsx)(zo.ChevronRightIcon,{className:"ml-auto"})]}));Va.displayName=C.SubTrigger.displayName;var Wa=$e.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(C.SubContent,{ref:o,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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}));Wa.displayName=C.SubContent.displayName;var Xa=$e.forwardRef(({className:e,sideOffset:t=4,...o},a)=>(0,Pe.jsx)(C.Portal,{children:(0,Pe.jsx)(C.Content,{ref:a,sideOffset:t,className:n("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover Pe-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),...o})}));Xa.displayName=C.Content.displayName;var Ua=$e.forwardRef(({className:e,inset:t,...o},a)=>(0,Pe.jsx)(C.Item,{ref:a,className:n("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),...o}));Ua.displayName=C.Item.displayName;var $a=$e.forwardRef(({className:e,children:t,checked:o,...a},r)=>(0,Pe.jsxs)(C.CheckboxItem,{ref:r,className:n("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:o,...a,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(C.ItemIndicator,{children:(0,Pe.jsx)(zo.CheckIcon,{className:"Pe-4 w-4"})})}),t]}));$a.displayName=C.CheckboxItem.displayName;var ja=$e.forwardRef(({className:e,children:t,...o},a)=>(0,Pe.jsxs)(C.RadioItem,{ref:a,className:n("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),...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(C.ItemIndicator,{children:(0,Pe.jsx)(zo.DotFilledIcon,{className:"Pe-4 w-4 fill-current"})})}),t]}));ja.displayName=C.RadioItem.displayName;var Ya=$e.forwardRef(({className:e,inset:t,...o},a)=>(0,Pe.jsx)(C.Label,{ref:a,className:n("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Ya.displayName=C.Label.displayName;var Ka=$e.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(C.Separator,{ref:o,className:n("-mx-1 my-1 Pe-px bg-muted",e),...t}));Ka.displayName=C.Separator.displayName;var Qa=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-Pe tracking-widest opacity-60",e),...t});Qa.displayName="DropdownMenuShortcut";var Vi=f(require("react"));var ro=Vi.forwardRef(({className:e,type:t,...o},a)=>(0,Pe.jsx)("input",{type:t,className:n("flex Pe-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:a,...o}));ro.displayName="Input";var Xi=f(require("react")),Ja=f(require("@radix-ui/react-separator"));var io=Xi.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...a},r)=>(0,Pe.jsx)(Ja.Root,{ref:r,decorative:o,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"Pe-[1px] w-full":"Pe-full w-[1px]",e),...a}));io.displayName=Ja.Root.displayName;var no=f(require("react")),_=f(require("@radix-ui/react-dialog")),ji=require("class-variance-authority");var Fo=_.Root,Yi=_.Trigger,Ki=_.Close,qa=_.Portal,Go=no.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(_.Overlay,{className:n("fixed inset-0 z-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:o}));Go.displayName=_.Overlay.displayName;var Ll=(0,ji.cva)("fixed z-50 gap-4 bg-background Pe-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-Pe-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-Pe-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 Pe-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-y-0 right-0 Pe-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"}}),so=no.forwardRef(({side:e="right",className:t,children:o,...a},r)=>(0,Pe.jsxs)(qa,{children:[(0,Pe.jsx)(Go,{}),(0,Pe.jsxs)(_.Content,{ref:r,className:n(Ll({side:e}),t),...a,children:[(0,Pe.jsxs)(_.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,Pe.jsx)($i.Cross2Icon,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]}),o]})]}));so.displayName=_.Content.displayName;var Za=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-2 text-center sm:text-left",e),...t});Za.displayName="SheetHeader";var er=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});er.displayName="SheetFooter";var tr=no.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(_.Title,{ref:o,className:n("text-lg font-semibold text-foreground",e),...t}));tr.displayName=_.Title.displayName;var or=no.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(_.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));or.displayName=_.Description.displayName;var S=f(require("react")),an=require("lucide-react");var Oo=require("react"),_o=(e=768)=>{let[t,o]=(0,Oo.useState)(!1);return(0,Oo.useEffect)(()=>{let a=()=>{o(window.innerWidth<e)};return a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[e]),t};var qi=f(require("react")),lo=(0,ji.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:"Pe-10 px-4 py-2",icon:"Pe-10 w-10",lg:"Pe-11 rounded px-8",sm:"Pe-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"}}}),J=qi.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...r},i)=>(0,Pe.jsx)(e?Bi.Slot:"button",{className:n(lo({className:t,size:o,variant:a})),ref:i,...r}));J.displayName="Button";function V({className:e,...t}){return(0,Pe.jsx)("div",{className:n("animate-pulse rounded-md bg-primary/10",e),...t})}var tn=f(require("react")),Me=f(require("@radix-ui/react-tooltip"));var Vo=Me.Provider,Wo=Me.Root,Xo=Me.Trigger,co=tn.forwardRef(({className:e,sideOffset:t=4,...o},a)=>(0,Pe.jsx)(Me.Portal,{children:(0,Pe.jsx)(Me.Content,{ref:a,sideOffset:t,className:n("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-Pe 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),...o})}));co.displayName=Me.Content.displayName;var Bl="sidebar:state",Hl=60*60*24*7,zl="16rem",Fl="18rem",Gl="3rem",Ol="b",rn=S.createContext(null);function Xt(){let e=S.useContext(rn);if(!e)throw new Error("useSidebar must Pe used within a SidebarProvider.");return e}var rr=S.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:o,className:a,style:r,children:i,...l},s)=>{let m=_o(),[c,d]=S.useState(!1),[b,g]=S.useState(e),y=t!=null?t:b,D=S.useCallback(E=>{if(o)return o==null?void 0:o(typeof E=="function"?E(y):E);g(E),document.cookie=`${Bl}=${y}; path=/; max-age=${Hl}`},[o,y]),u=S.useCallback(()=>m?d(E=>!E):D(E=>!E),[m,D,d]);S.useEffect(()=>{let E=ie=>{ie.key===Ol&&(ie.metaKey||ie.ctrlKey)&&(ie.preventDefault(),u())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[u]);let w=y?"expanded":"collapsed",I=S.useMemo(()=>({state:w,open:y,setOpen:D,isMobile:m,openMobile:c,setOpenMobile:d,toggleSidebar:u}),[w,y,D,m,c,d,u]);return(0,Pe.jsx)(rn.Provider,{value:I,children:(0,Pe.jsx)(Vo,{delayDuration:0,children:(0,Pe.jsx)("div",{style:{"--sidebar-width":zl,"--sidebar-width-icon":Gl,...r},className:n("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",a),ref:s,...l,children:i})})})});rr.displayName="SidebarProvider";var yt=S.forwardRef(({side:e="left",variant:t="sidebar",collapsible:o="offcanvas",className:a,children:r,...i},l)=>{let{isMobile:s,state:m,openMobile:c,setOpenMobile:d}=Xt();return o==="none"?(0,Pe.jsx)("div",{className:n("flex Pe-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",a),ref:l,...i,children:r}):s?(0,Pe.jsx)(Fo,{open:c,onOpenChange:d,...i,children:(0,Pe.jsx)(so,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar Pe-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Fl},side:e,children:(0,Pe.jsx)("div",{className:"flex Pe-full w-full flex-col",children:r})})}):(0,Pe.jsxs)("div",{ref:l,className:"group peer hidden md:block text-sidebar-foreground","data-state":m,"data-collapsible":m==="collapsed"?o:"","data-variant":t,"data-side":e,children:[(0,Pe.jsx)("div",{className:n("duration-200 relative Pe-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)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,Pe.jsx)("div",{className:n("duration-200 fixed top-14 bottom-0 z-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"?"Pe-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",a),...i,children:(0,Pe.jsx)("div",{"data-sidebar":"sidebar",className:"flex Pe-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:r})})]})});yt.displayName="Sidebar";var ir=S.forwardRef(({className:e,onClick:t,...o},a)=>{let{toggleSidebar:r}=Xt();return(0,Pe.jsxs)(J,{ref:a,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("Pe-7 w-7",e),onClick:i=>{t==null||t(i),r()},...o,children:[(0,Pe.jsx)(an.PanelLeft,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});ir.displayName="SidebarTrigger";var nr=S.forwardRef(({className:e,...t},o)=>{let{toggleSidebar:a}=Xt();return(0,Pe.jsx)("button",{ref:o,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:a,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-Pe-1/2 transition-all ease-linear after:absolute after:inset-y-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]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-Pe-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});nr.displayName="SidebarRail";var sr=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("main",{ref:o,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-Pe-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));sr.displayName="SidebarInset";var lr=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(ro,{ref:o,"data-sidebar":"input",className:n("Pe-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));lr.displayName="SidebarInput";var xt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"header",className:n("flex flex-col gap-2 Pe-2",e),...t}));xt.displayName="SidebarHeader";var wt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"footer",className:n("flex flex-col gap-2 Pe-2",e),...t}));wt.displayName="SidebarFooter";var mo=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(io,{ref:o,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",e),...t}));mo.displayName="SidebarSeparator";var st=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"content",className:n("flex min-Pe-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));st.displayName="SidebarContent";var Re=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col Pe-2",e),...t}));Re.displayName="SidebarGroup";var je=S.forwardRef(({className:e,asChild:t=!1,...o},a)=>(0,Pe.jsx)(t?Bi.Slot:"div",{ref:a,"data-sidebar":"group-label",className:n("duration-200 flex Pe-8 shrink-0 items-center rounded-md px-2 text-Pe 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]:-Pe-8 group-data-[collapsible=icon]:opacity-0",e),...o}));je.displayName="SidebarGroupLabel";var cr=S.forwardRef(({className:e,asChild:t=!1,...o},a)=>(0,Pe.jsx)(t?Bi.Slot:"button",{ref:a,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-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),...o}));cr.displayName="SidebarGroupAction";var Ae=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"group-content",className:n("w-full text-sm",e),...t}));Ae.displayName="SidebarGroupContent";var me=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{ref:o,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",e),...t}));me.displayName="SidebarMenu";var ee=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{ref:o,"data-sidebar":"menu-item",className:n("group/menu-item relative",e),...t}));ee.displayName="SidebarMenuItem";var _l=(0,ji.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md Pe-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]:!Pe-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:"Pe-8 text-sm",sm:"Pe-7 text-Pe",lg:"Pe-12 text-sm group-data-[collapsible=icon]:!Pe-0"}},defaultVariants:{variant:"default",size:"default"}}),Ce=S.forwardRef(({asChild:e=!1,isActive:t=!1,variant:o="default",size:a="default",tooltip:r,className:i,...l},s)=>{let m=e?Bi.Slot:"button",{isMobile:c,state:d}=Xt(),b=(0,Pe.jsx)(m,{ref:s,"data-sidebar":"menu-button","data-size":a,"data-active":t,className:n(_l({variant:o,size:a}),i),...l});return r?(typeof r=="string"&&(r={children:r}),(0,Pe.jsxs)(Wo,{children:[(0,Pe.jsx)(Xo,{asChild:!0,children:b}),(0,Pe.jsx)(co,{side:"right",align:"center",hidden:d!=="collapsed"||c,...r})]})):b});Ce.displayName="SidebarMenuButton";var po=S.forwardRef(({className:e,asChild:t=!1,showOnHover:o=!1,...a},r)=>(0,Pe.jsx)(t?Bi.Slot:"button",{ref:r,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md Pe-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",o&&"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),...a}));po.displayName="SidebarMenuAction";var dr=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,"data-sidebar":"menu-badge",className:n("absolute right-1 flex Pe-5 min-w-5 items-center justify-center rounded-md px-1 text-Pe 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}));dr.displayName="SidebarMenuBadge";var mr=S.forwardRef(({className:e,showIcon:t=!1,...o},a)=>{let r=S.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,Pe.jsxs)("div",{ref:a,"data-sidebar":"menu-skeleton",className:n("rounded-md Pe-8 flex gap-2 px-2 items-center",e),...o,children:[t&&(0,Pe.jsx)(V,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,Pe.jsx)(V,{className:"Pe-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});mr.displayName="SidebarMenuSkeleton";var lt=S.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{ref:o,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-Pe-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));lt.displayName="SidebarMenuSub";var ct=S.forwardRef(({...e},t)=>(0,Pe.jsx)("li",{ref:t,...e}));ct.displayName="SidebarMenuSubItem";var dt=S.forwardRef(({asChild:e=!1,size:t="md",isActive:o,className:a,...r},i)=>(0,Pe.jsx)(e?Bi.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":o,className:n("flex Pe-7 min-w-0 -translate-Pe-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-Pe",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",a),...r}));dt.displayName="SidebarMenuSubButton";var jo=f(require("react")),Vl=1,Wl=1e6;var pr=0;function Xl(){return pr=(pr+1)%Number.MAX_SAFE_INTEGER,pr.toString()}var ur=new Map,nn=e=>{if(ur.has(e))return;let t=setTimeout(()=>{ur.delete(e),uo({type:"REMOVE_TOAST",toastId:e})},Wl);ur.set(e,t)},Ul=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Vl)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case"DISMISS_TOAST":{let{toastId:o}=t;return o?nn(o):e.toasts.forEach(a=>{nn(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===o||o===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)}}},Uo=[],$o={toasts:[]};function uo(e){$o=Ul($o,e),Uo.forEach(t=>{t($o)})}function $l({...e}){let t=Xl(),o=r=>uo({type:"UPDATE_TOAST",toast:{...r,id:t}}),a=()=>uo({type:"DISMISS_TOAST",toastId:t});return uo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||a()}}}),{id:t,dismiss:a,update:o}}function Yo(){let[e,t]=jo.useState($o);return jo.useEffect(()=>(Uo.push(t),()=>{let o=Uo.indexOf(t);o>-1&&Uo.splice(o,1)}),[e]),{...e,toast:$l,dismiss:o=>uo({type:"DISMISS_TOAST",toastId:o})}}var Nt=f(require("react")),$=f(require("@radix-ui/react-toast"));var Ko=$.Provider,fo=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Viewport,{ref:o,className:n("fixed top-0 z-[100] flex max-Pe-screen w-full flex-col-reverse Pe-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));fo.displayName=$.Viewport.displayName;var jl=(0,ji.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-Pe-2 overflow-hidden rounded-md border Pe-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-Pe-0 data-[swipe=end]:translate-Pe-[var(--radix-toast-swipe-end-Pe)] data-[swipe=move]:translate-Pe-[var(--radix-toast-swipe-move-Pe)] 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"}}),go=Nt.forwardRef(({className:e,variant:t,...o},a)=>(0,Pe.jsx)($.Root,{ref:a,className:n(jl({variant:t}),e),...o}));go.displayName=$.Root.displayName;var fr=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Action,{ref:o,className:n("inline-flex Pe-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}));fr.displayName=$.Action.displayName;var bo=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Close,{ref:o,className:n("absolute right-1 top-1 rounded-md Pe-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,Pe.jsx)(an.Pe,{className:"Pe-4 w-4"})}));bo.displayName=$.Close.displayName;var vo=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Title,{ref:o,className:n("text-sm font-semibold [&+div]:text-Pe",e),...t}));vo.displayName=$.Title.displayName;var ho=Nt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)($.Description,{ref:o,className:n("text-sm opacity-90",e),...t}));ho.displayName=$.Description.displayName;function cn(){let{toasts:e}=Yo();return(0,Pe.jsxs)(Ko,{children:[e.map(function({id:t,title:o,description:a,action:r,...i}){return(0,Pe.jsxs)(go,{...i,children:[(0,Pe.jsxs)("div",{className:"grid gap-1",children:[o&&(0,Pe.jsx)(vo,{children:o}),a&&(0,Pe.jsx)(ho,{children:a})]}),r,(0,Pe.jsx)(bo,{})]},t)}),(0,Pe.jsx)(fo,{})]})}var dn=f(require("react")),gr=f(require("@radix-ui/react-toggle"));var yo=(0,ji.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=ji]:bg-accent data-[state=ji]: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:"Pe-9 px-2 min-w-9",sm:"Pe-8 px-1.5 min-w-8",lg:"Pe-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),br=dn.forwardRef(({className:e,variant:t,size:o,...a},r)=>(0,Pe.jsx)(gr.Root,{ref:r,className:n(yo({variant:t,size:o,className:e})),...a}));br.displayName=gr.Root.displayName;var Pt=f(require("react")),Ut=f(require("@radix-ui/react-toggle-group"));var un=Pt.createContext({size:"default",variant:"default"}),vr=Pt.forwardRef(({className:e,variant:t,size:o,children:a,...r},i)=>(0,Pe.jsx)(Ut.Root,{ref:i,className:n("flex items-center justify-center gap-1",e),...r,children:(0,Pe.jsx)(un.Provider,{value:{variant:t,size:o},children:a})}));vr.displayName=Ut.Root.displayName;var hr=Pt.forwardRef(({className:e,children:t,variant:o,size:a,...r},i)=>{let l=Pt.useContext(un);return(0,Pe.jsx)(Ut.Item,{ref:i,className:n(yo({variant:l.variant||o,size:l.size||a}),e),...r,children:t})});hr.displayName=Ut.Item.displayName;var yr=f(require("react")),Se=f(require("@radix-ui/react-scroll-area"));var xr=yr.forwardRef(({className:e,children:t,...o},a)=>(0,Pe.jsxs)(Se.Root,{ref:a,className:n("relative overflow-hidden",e),...o,children:[(0,Pe.jsx)(Se.Viewport,{className:"Pe-full w-full rounded-[inherit]",children:t}),(0,Pe.jsx)(Jo,{}),(0,Pe.jsx)(Se.Corner,{})]}));xr.displayName=Se.Root.displayName;var Jo=yr.forwardRef(({className:e,orientation:t="vertical",...o},a)=>(0,Pe.jsx)(Se.ScrollAreaScrollbar,{ref:a,orientation:t,className:n("flex touch-none select-none transition-colors",t==="vertical"&&"Pe-full w-2.5 border-l border-l-transparent Pe-[1px]",t==="horizontal"&&"Pe-2.5 flex-col border-t border-t-transparent Pe-[1px]",e),...o,children:(0,Pe.jsx)(Se.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Jo.displayName=Se.ScrollAreaScrollbar.displayName;var fn=f(require("react")),De=f(require("@radix-ui/react-popover"));var gn=De.Root,bn=De.Trigger,vn=De.Anchor,Nr=fn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},r)=>(0,Pe.jsx)(De.Portal,{children:(0,Pe.jsx)(De.Content,{ref:r,align:t,sideOffset:o,className:n("z-50 w-72 rounded-md border bg-popover Pe-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),...a})}));Nr.displayName=De.Content.displayName;var hn=f(require("react")),Pr=f(require("@radix-ui/react-label"));var Yl=(0,ji.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Rr=hn.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Pr.Root,{ref:o,className:n(Yl(),e),...t}));Rr.displayName=Pr.Root.displayName;var wn=f(require("react")),Rt=f(require("@radix-ui/react-hover-card"));var Nn=Rt.Root,Pn=Rt.Trigger,Cr=wn.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},r)=>(0,Pe.jsx)(Rt.Content,{ref:r,align:t,sideOffset:o,className:n("z-50 w-64 rounded-md border bg-popover Pe-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),...a}));Cr.displayName=Rt.Content.displayName;var xo=f(require("react")),W=f(require("@radix-ui/react-dialog"));var $t=W.Root,Sn=W.Trigger,Sr=W.Portal,qo=W.Close,Zo=xo.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(W.Overlay,{ref:o,className:n("fixed inset-0 z-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}));Zo.displayName=W.Overlay.displayName;var Ct=xo.forwardRef(({className:e,children:t,...o},a)=>(0,Pe.jsxs)(Sr,{children:[(0,Pe.jsx)(Zo,{}),(0,Pe.jsxs)(W.Content,{ref:a,className:n("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-Pe-[-50%] translate-y-[-50%] gap-4 border bg-background Pe-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),...o,children:[t,(0,Pe.jsxs)(W.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,Pe.jsx)(an.Pe,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));Ct.displayName=W.Content.displayName;var wo=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});wo.displayName="DialogHeader";var kr=({className:e,...t})=>(0,Pe.jsx)("div",{className:n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-Pe-2",e),...t});kr.displayName="DialogFooter";var No=xo.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(W.Title,{ref:o,className:n("text-lg font-semibold leading-none tracking-tight",e),...t}));No.displayName=W.Title.displayName;var Tr=xo.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(W.Description,{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Tr.displayName=W.Description.displayName;var ut=f(require("react")),se=require("cmdk");var ea=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command,{ref:o,className:n("flex Pe-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));ea.displayName=se.Command.displayName;var Tn=({children:e,...t})=>(0,Pe.jsx)($t,{...t,children:(0,Pe.jsx)(Ct,{className:"overflow-hidden Pe-0",children:(0,Pe.jsx)(ea,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:Pe-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:Pe-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:Pe-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:Pe-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Mr=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,Pe.jsx)(an.Search,{className:"mr-2 Pe-4 w-4 shrink-0 opacity-50"}),(0,Pe.jsx)(se.Command.Input,{ref:o,className:n("flex Pe-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})]}));Mr.displayName=se.Command.Input.displayName;var Ar=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.List,{ref:o,className:n("max-Pe-[300px] overflow-y-auto overflow-Pe-hidden",e),...t}));Ar.displayName=se.Command.List.displayName;var Dr=ut.forwardRef((e,t)=>(0,Pe.jsx)(se.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Dr.displayName=se.Command.Empty.displayName;var Ir=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.Group,{ref:o,className:n("overflow-hidden Pe-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-Pe [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Ir.displayName=se.Command.Group.displayName;var Er=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.Separator,{ref:o,className:n("-mx-1 Pe-px bg-border",e),...t}));Er.displayName=se.Command.Separator.displayName;var Lr=ut.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(se.Command.Item,{ref:o,className:n("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}));Lr.displayName=se.Command.Item.displayName;var Br=({className:e,...t})=>(0,Pe.jsx)("span",{className:n("ml-auto text-Pe tracking-widest text-muted-foreground",e),...t});Br.displayName="CommandShortcut";var ta=f(require("react"));var Kl=(0,ji.cva)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-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"}}),Hr=ta.forwardRef(({className:e,variant:t,...o},a)=>(0,Pe.jsx)("div",{ref:a,role:"alert",className:n(Kl({variant:t}),e),...o}));Hr.displayName="Alert";var zr=ta.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("h5",{ref:o,className:n("mb-1 font-medium leading-none tracking-tight",e),...t}));zr.displayName="AlertTitle";var Fr=ta.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("text-sm [&_p]:leading-relaxed",e),...t}));Fr.displayName="AlertDescription";var aa=f(require("react")),Ke=f(require("@radix-ui/react-avatar"));var Po=aa.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Ke.Root,{ref:o,className:n("relative flex Pe-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Po.displayName=Ke.Root.displayName;var Ro=aa.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Ke.Image,{ref:o,className:n("aspect-square Pe-full w-full",e),...t}));Ro.displayName=Ke.Image.displayName;var Co=aa.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(Ke.Fallback,{ref:o,className:n("flex Pe-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Co.displayName=Ke.Fallback.displayName;var Gr=(0,ji.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-Pe 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 ia({className:e,variant:t,...o}){return(0,Pe.jsx)("div",{className:n(Gr({variant:t}),e),...o})}var So=f(require("@radix-ui/react-checkbox")),En=f(require("react")),Ln=En.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(So.Root,{className:n("peer Pe-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:o,...t,children:(0,Pe.jsx)(So.Indicator,{className:n("flex items-center justify-center text-current"),children:(0,Pe.jsx)(an.Check,{className:"Pe-4 w-4"})})}));Ln.displayName=So.Root.displayName;var T=f(require("@radix-ui/react-select")),ft=f(require("react")),Ql=T.Root,Jl=T.Group,ql=T.Value,Bn=ft.forwardRef(({children:e,className:t,...o},a)=>(0,Pe.jsxs)(T.Trigger,{className:n("flex Pe-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:a,...o,children:[e,(0,Pe.jsx)(T.Icon,{asChild:!0,children:(0,Pe.jsx)(an.ChevronDown,{className:"Pe-4 w-4 opacity-50"})})]}));Bn.displayName=T.Trigger.displayName;var Or=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.ScrollUpButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Pe.jsx)(an.ChevronUp,{className:"Pe-4 w-4"})}));Or.displayName=T.ScrollUpButton.displayName;var _r=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.ScrollDownButton,{className:n("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Pe.jsx)(an.ChevronDown,{className:"Pe-4 w-4"})}));_r.displayName=T.ScrollDownButton.displayName;var Hn=ft.forwardRef(({children:e,className:t,position:o="popper",...a},r)=>(0,Pe.jsx)(T.Portal,{children:(0,Pe.jsxs)(T.Content,{className:n("relative z-50 max-Pe-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",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-Pe-1 data-[side=right]:translate-Pe-1 data-[side=top]:-translate-y-1",t),position:o,ref:r,...a,children:[(0,Pe.jsx)(Or,{}),(0,Pe.jsx)(T.Viewport,{className:n("Pe-1",o==="popper"&&"Pe-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,Pe.jsx)(_r,{})]})}));Hn.displayName=T.Content.displayName;var zn=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.Label,{className:n("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));zn.displayName=T.Label.displayName;var Fn=ft.forwardRef(({children:e,className:t,...o},a)=>(0,Pe.jsxs)(T.Item,{className:n("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:a,...o,children:[(0,Pe.jsx)("span",{className:"absolute left-2 flex Pe-3.5 w-3.5 items-center justify-center",children:(0,Pe.jsx)(T.ItemIndicator,{children:(0,Pe.jsx)(an.Check,{className:"Pe-4 w-4"})})}),(0,Pe.jsx)(T.ItemText,{children:e})]}));Fn.displayName=T.Item.displayName;var Gn=ft.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)(T.Separator,{className:n("-mx-1 my-1 Pe-px bg-muted",e),ref:o,...t}));Gn.displayName=T.Separator.displayName;var On=f(require("react")),_n=On.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("textarea",{className:n("flex min-Pe-[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:o,...t}));_n.displayName="Textarea";var He=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let r=e.includes("Pe-")?e+" ":"Pe-"+e+" ",i="Pe-"+t,l=a!=null?a:"",s=r+i+" Pe-"+o+" "+l;return(0,Pe.jsx)("i",{className:s})};var Xn=({title:e,description:t,iconName:o,iconStyle:a,color:r})=>(0,Pe.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"}[r]} Pe-6 flex flex-col items-center text-center`,children:[(0,Pe.jsx)("div",{className:"w-12 Pe-12 ",children:(0,Pe.jsx)(He,{type:a,iconName:o,className:"w-12 Pe-12 text-white"})}),(0,Pe.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:e}),(0,Pe.jsx)("Pe",{className:"text-white text-sm",children:t})]});var Un=f(require("next/image")),$n=f(require("next/link"));var Tt=f(require("react"));var pe=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("rounded-xl border bg-card text-card-foreground shadow",e),...t}));pe.displayName="Card";var ze=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("flex flex-col space-y-1.5 Pe-6",e),...t}));ze.displayName="CardHeader";var Fe=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("font-semibold leading-none tracking-tight",e),...t}));Fe.displayName="CardTitle";var Zl=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("text-sm text-muted-foreground",e),...t}));Zl.displayName="CardDescription";var ke=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("Pe-6 Pe-0",e),...t}));ke.displayName="CardContent";var ec=Tt.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("div",{ref:o,className:n("flex items-center Pe-6 Pe-0",e),...t}));ec.displayName="CardFooter";function jn({name:e,logo:t,href:o}){return(0,Pe.jsx)(pe,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Pe.jsxs)($n.default,{href:o,className:"block",children:[(0,Pe.jsx)("div",{className:"bg-white Pe-2 flex items-center justify-center Pe-24",children:(0,Pe.jsx)("div",{className:"relative w-full Pe-full",children:t&&(0,Pe.jsx)(Un.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Pe.jsx)(ke,{className:"Pe-3 flex items-center justify-center Pe-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Pe.jsx)("Pe",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function Yn({eventType:e="birthday",date:t="",title:o="",description:a="",avatarSrc:r}){let i=s=>{switch(s){case"birthday":return(0,Pe.jsx)(an.Cake,{className:"Pe-4 w-4"});case"workAnniversary":return(0,Pe.jsx)(an.Award,{className:"Pe-4 w-4"});case"companyEvent":return(0,Pe.jsx)(an.PartyPopper,{className:"Pe-4 w-4"});default:return(0,Pe.jsx)(an.CalendarDays,{className:"Pe-4 w-4"})}},l=s=>{switch(s){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,Pe.jsxs)(pe,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(e)}`,children:[(0,Pe.jsxs)(ze,{className:"flex flex-row items-center gap-3 text-white",children:[r&&(0,Pe.jsxs)(Po,{className:"Pe-14 w-14 border-2 border-white",children:[(0,Pe.jsx)(Ro,{src:r,alt:o||"Event"}),(0,Pe.jsx)(Co,{className:"bg-white text-gray-900",children:o?o.charAt(0).toUpperCase():"?"})]}),(0,Pe.jsxs)("div",{className:"flex flex-col",children:[(0,Pe.jsx)(Fe,{className:"text-xl",children:o||"Untitled Event"}),(0,Pe.jsxs)("Pe",{className:"text-sm text-white/80",children:[(0,Pe.jsx)(an.CalendarDays,{className:"mr-1 inline-block Pe-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Pe.jsxs)(ke,{className:"bg-white bg-opacity-80 Pe-4",children:[a&&(0,Pe.jsx)("Pe",{className:"mb-2 text-sm text-gray-700",children:a}),(0,Pe.jsxs)(ia,{variant:"secondary",className:`${l(e)} text-white/80`,children:[i(e),(0,Pe.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-z])([Pe-Pe])/g,"$1 $2").split(" ").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "):"Event"})]})]})]})}var Qn=f(require("next/link"));var Jn=f(require("next/image")),Kn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function qn({slug:e,image:t,title:o,description:a}){return(0,Pe.jsxs)(Qn.default,{href:e,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 Pe-6 md:Pe-[1.875rem]",children:[(0,Pe.jsx)("span",{className:n("absolute inset-0 z-[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,Pe.jsx)(Jn.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
7
7
|
(min-width:${Kn.md}) 50vw,
|
|
8
8
|
(min-width:${Kn.lg}) 25vw,
|
|
9
9
|
100vw
|
|
10
|
-
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Pe.jsx)("div",{className:"relative z-10 flex Pe-full flex-col",children:(0,Pe.jsxs)("div",{className:"Pe-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Pe.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})}),(0,Pe.jsx)("Pe",{className:"Pe-[13px] overflow-hidden Pe-[11px] text-body",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})})]})})]})}var Vr=f(require("next/image")),sa=f(require("path"));function tc(e){try{let t=new URL(e),{hostname:o}=t;return o.endsWith("sharepoint.com")}catch{return!1}}function oc(e){return e.startsWith("http")}function ac(e,t){let o=e;if(tc(e))o=`/docs/api/content/sharepoint?url=${e}`;else if(oc(e))o=e;else if(t.source==="github"){let a=e.replace("./","");if(a.startsWith("/")&&(a=a.slice(1)),t.linked){if(t.linked.path){let r=sa.default.dirname(t.linked.path);r.startsWith(".")||(a=`${r}/${a}`)}o=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${a}&branch=${t.linked.branch}`}else{if(t.file){let r=sa.default.dirname(t.file);r.startsWith(".")||(a=`${r}/${a}`)}o=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${a}&branch=${t.branch}`}}else if(e.startsWith("/"))o=e;else if(e.startsWith("./")){let a=e.replace("./","");t.file&&(a=`/${sa.default.dirname(t.file)}/${a}`),o=a}else o="/image-not-found.png";return o}function rc({src:e,alt:t}){let[o,a]=(0,_o.useState)(!1),[r,i]=(0,_o.useState)(!1),[l,s]=(0,_o.useState)({width:0,height:0}),m=()=>{r&&a(!0)},c=()=>{a(!1)},d=b=>{let{naturalWidth:g,naturalHeight:y}=b.target;s({width:g,height:y}),i(g>300||y>300)};return(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Pe-[300px]":`Pe-[${l.height}px]`}`,onClick:m,children:(0,Pe.jsx)(Vr.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-Pe-full"})}),(0,Pe.jsx)($t,{open:o,onOpenChange:a,children:(0,Pe.jsxs)(Ct,{className:"flex flex-col items-center justify-center",children:[(0,Pe.jsxs)(wo,{className:"flex w-full justify-end",children:[(0,Pe.jsx)(No,{className:"hidden",children:t}),(0,Pe.jsx)(qo,{})]}),(0,Pe.jsx)("div",{className:"flex items-center justify-center",children:(0,Pe.jsx)(Vr.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Zn({props:e,baseContext:t}){let{src:o}=e;return o=ac(o,t),(0,Pe.jsx)(rc,{src:o,alt:e.alt})}var es=f(require("next/link"));function ue({children:e,href:t,openNewTab:o,...a}){return(0,Pe.jsx)(es.default,{href:t,target:o?"_blank":"_self",...a,children:e})}function ic(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nc({icon:e,title:t,description:o,slug:a}){return(0,Pe.jsxs)("article",{className:n(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block Pe-full space-y-6 overflow-hidden rounded-5 Pe-6 md:space-y-7 md:Pe-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Pe.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:ic(e)?(0,Pe.jsx)(He,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Pe.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,Pe.jsx)(ue,{href:a,children:t}):t})]}),(0,Pe.jsx)("Pe",{className:"text-body dark:text-body",children:o}),a&&(0,Pe.jsx)(J,{asChild:!0,className:n(["rounded-5 border Pe-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,Pe.jsxs)(ue,{href:a,children:[(0,Pe.jsx)("span",{children:"Read More"}),(0,Pe.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Pe.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pe.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,Pe.jsx)("span",{className:"invisible absolute bottom-0 left-0 Pe-[2px] w-full scale-Pe-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Pe-100 group-hover/service:opacity-100"})]})}var ca=require("react-icons/fa6");function sc({title:e,description:t,features:o,price:a,duration:r,button:i}){return(0,Pe.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,Pe.jsxs)("div",{className:"Pe-full border-card Pe-6 dark:border-opacity-20 max-lg:border-b max-lg:Pe-14 lg:border-r lg:Pe-10",children:[(0,Pe.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Pe.jsx)("Pe",{children:t})]}),(0,Pe.jsx)("div",{className:"relative my-auto Pe-6 max-lg:pb-14 md:Pe-10",children:(0,Pe.jsxs)("div",{className:"flex flex-col justify-stretch gap-Pe-14 gap-y-5 md:flex-row md:items-center",children:[o&&o.length>0&&(0,Pe.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:o.map((l,s)=>(0,Pe.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Pe.jsx)("span",{className:"text-accent Pe-1",children:(0,Pe.jsx)(ca.FaCircleCheck,{})}),(0,Pe.jsx)("span",{children:l})]},s))}),(0,Pe.jsxs)("Pe",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,Pe.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,Pe.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Pe.jsx)(J,{asChild:!0,className:"border-2 Pe-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Pe.jsxs)(ue,{href:i.href,openNewTab:i.openNewTab,children:[(0,Pe.jsx)("span",{className:"relative z-1",children:i.label}),(0,Pe.jsx)("span",{className:"relative z-1 pl-2",children:(0,Pe.jsx)(ca.FaAnglesRight,{})})]})})})]})})]})}var os=({children:e,cardsPerRow:t=3})=>{let o=`repeat(${t}, minmax(0, 1fr))`;return(0,Pe.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:e})};function is({sections:e}){var l;let[t,o]=(0,_o.useState)((l=e[0])==null?void 0:l.id),a=(0,_o.useRef)([]);(0,_o.useEffect)(()=>{let s=[];return e.forEach(m=>{let c=new IntersectionObserver(b=>{b.forEach(g=>{g.isIntersecting&&o(m.id)})},{threshold:.5}),d=document.getElementById(m.id);d&&c.observe(d),s.push(c)}),a.current=s,()=>{s.forEach(m=>m.disconnect())}},[e]);let r=s=>{let m=document.getElementById(s);m&&m.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let s=e.findIndex(c=>c.id===t),m=e[s+1]||e[0];r(m.id)};return(0,Pe.jsxs)("div",{className:"flex Pe-screen relative",children:[(0,Pe.jsx)("div",{className:"fixed left-0 top-0 flex Pe-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(s=>(0,Pe.jsx)("button",{className:`group relative my-2 Pe-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===s.id?s.color:"bg-gray-300"}`,onClick:()=>r(s.id),children:(0,Pe.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-Pe-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Pe-0 group-hover:opacity-100 lg:block",children:s.title})},s.id))}),(0,Pe.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(s=>(0,Pe.jsx)("div",{id:s.id,className:`flex Pe-screen items-center justify-center snap-always snap-start text-4xl text-white ${s.color}`,children:s.title},s.id))}),(0,Pe.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Pe.jsx)(an.CircleChevronDown,{})})]})}var ps=f(require("next/link"));var ss=f(require("next/image"));var ns=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var da=()=>{if(ns){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var lc={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},cc="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=",ls=e=>{let{alt:t,fill:o,imgClassName:a,priority:r,resource:i,size:l,src:s,loading:m}=e,c,d,b=t,g=s||"";if(!g&&i&&typeof i=="object"){let{alt:u,filename:w,height:I,url:E,width:ie}=i;c=ie,d=I,b=u||"",g=`${da()}${E}`}let y=m||"lazy",D=l||Object.entries(lc).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,Pe.jsx)("picture",{children:(0,Pe.jsx)(ss.default,{alt:b||"",className:n(a),fill:o,height:o?void 0:d,placeholder:"blur",blurDataURL:cc,priority:y!=="lazy"&&r,quality:100,loading:y,sizes:D,src:g,width:o?void 0:c})})};var cs=e=>{let{onClick:t,resource:o,videoClassName:a}=e,r=(0,_o.useRef)(null);if((0,_o.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:i}=o;return(0,Pe.jsx)("video",{autoPlay:!0,className:n(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Pe.jsx)("source",{src:`${da()}/media/${i}`})})}return null};var xe=e=>{var l;let{className:t,htmlElement:o="div",resource:a}=e,r=typeof a=="object"&&((l=a==null?void 0:a.mimeType)==null?void 0:l.includes("video"));return(0,Pe.jsx)(o||_o.Fragment,{...o!==null?{className:t}:{},children:r?(0,Pe.jsx)(cs,{...e}):(0,Pe.jsx)(ls,{...e})})};function us(){let[e,t]=(0,_o.useState)("All News"),[o,a]=(0,_o.useState)([]),[r,i]=(0,_o.useState)(1),[l,s]=(0,_o.useState)(1),m=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,_o.useEffect)(()=>{async function c(){if(e==="All News"){let y=await(await fetch(`/api/posts?page=${r}`)).json();a(y.docs),s(y.totalPages);return}let b=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${r}`)).json();a(b.docs),s(b.totalPages)}c()},[e,r]),(0,Pe.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Pe.jsxs)("div",{className:"flex gap-2 overflow-Pe-auto pb-4 mb-6",children:[m.map(c=>(0,Pe.jsx)(J,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,Pe.jsxs)(J,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Pe.jsx)(an.ChevronRight,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Pe.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o&&o.map(c=>(0,Pe.jsxs)(ps.default,{href:`/posts/${c.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[c.meta&&c.meta.image&&typeof c.meta.image!="string"&&(0,Pe.jsx)(xe,{resource:c.meta.image,size:"33vw"}),(0,Pe.jsxs)("div",{className:"Pe-4",children:[(0,Pe.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[c.populatedAuthors&&c.populatedAuthors.map(d=>d.name)," ","\xB7"," ",c.publishedAt&&new Date(c.publishedAt).toLocaleDateString("Pe-GB",{day:"numeric",month:"long"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-bold mb-4 text-primary group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:c.title})]})]},c.id))}),(0,Pe.jsx)("div",{className:"flex justify-center gap-1 Pe-8",children:Array.from({length:l},(c,d)=>d+1).map(c=>(0,Pe.jsx)(J,{variant:c===r?"default":"ghost",size:"icon",className:"w-10 Pe-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function fs({title:e,subtitle:t,description:o,missionTitle:a,missionDescription:r,images:i,raisedAmount:l,companiesCount:s,dealsClosed:m,leadsGenerated:c}){return(0,Pe.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Pe.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Pe.jsxs)("div",{className:"max-w-4xl",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Pe.jsx)("h1",{className:"Pe-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Pe.jsx)("Pe",{className:"Pe-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,Pe.jsxs)("section",{className:"Pe-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Pe-8 lg:gap-y-16",children:[(0,Pe.jsxs)("div",{className:"lg:pr-8",children:[(0,Pe.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:a}),(0,Pe.jsx)("Pe",{className:"Pe-6 text-base/7 text-gray-600",children:r})]}),(0,Pe.jsx)("div",{className:"Pe-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Pe.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((d,b)=>(0,Pe.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Pe.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},b))})}),(0,Pe.jsxs)("div",{className:"max-lg:Pe-16 lg:col-span-1",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Pe.jsx)("hr",{className:"Pe-6 border-t border-gray-200"}),(0,Pe.jsxs)("dl",{className:"Pe-6 grid grid-cols-1 gap-Pe-8 gap-y-4 sm:grid-cols-2",children:[(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[s,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Pe"]})]})]})]})]})]})})}var gs=require("next/navigation");function dc({external:e=!1,newTab:t=!1,scroll:o=!0}){let a=(0,gs.useRouter)(),r=(0,_o.useRef)(null),i=(0,_o.useRef)(null),l=(0,_o.useRef)(0),s=(0,_o.useRef)(!1),m=(0,_o.useRef)(0),c=(0,_o.useCallback)(b=>{if(b.target){let g=b.target,y=+new Date,D=g==null?void 0:g.closest("a");m.current=b.button,D?s.current=!0:(s.current=!1,l.current=y)}},[a,r,i,l]),d=(0,_o.useCallback)(b=>{var g,y;if((g=i.current)!=null&&g.href){let u=+new Date-l.current;if((y=i.current)!=null&&y.href&&u<=250&&!s.current&&m.current===0&&!b.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else a.push(i.current.href,{scroll:o})}},[a,r,i,l]);return(0,_o.useEffect)(()=>{let b=r.current;return b&&(b.addEventListener("mousedown",c),b.addEventListener("mouseup",d)),()=>{b&&b&&(b==null||b.removeEventListener("mousedown",c),b==null||b.removeEventListener("mouseup",d))}},[r,i,a]),{card:{ref:r},link:{ref:i}}}var bs=dc;var vs=f(require("next/link"));var ko=e=>{let{card:t,link:o}=bs({}),{className:a,doc:r,relationTo:i,showCategories:l,title:s}=e,{slug:m,categories:c,meta:d,title:b}=r||{},{description:g,image:y}=d||{},D=c&&Array.isArray(c)&&c.length>0,u=s||b,w=g==null?void 0:g.replace(/\s/g," "),I=`/${i}/${m}`;return(0,Pe.jsxs)("article",{className:n("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,Pe.jsxs)("div",{className:"relative w-full ",children:[!y&&(0,Pe.jsx)("div",{className:"",children:"No image"}),y&&typeof y!="string"&&(0,Pe.jsx)(xe,{resource:y,size:"33vw"})]}),(0,Pe.jsxs)("div",{className:"Pe-4",children:[l&&D&&(0,Pe.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&D&&(0,Pe.jsx)("div",{children:c==null?void 0:c.map((E,ie)=>{if(typeof E=="object"){let{title:Ve}=E,zt=Ve||"Untitled category",Eo=ie===c.length-1;return(0,Pe.jsxs)(_o.Fragment,{children:[zt,!Eo&&(0,Pe.jsx)(_o.Fragment,{children:", \xA0"})]},ie)}return null})})}),u&&(0,Pe.jsx)("div",{className:"prose",children:(0,Pe.jsx)("h3",{children:(0,Pe.jsx)(vs.default,{className:"not-prose",href:I,ref:o.ref,children:u})})}),g&&(0,Pe.jsx)("div",{className:"Pe-2",children:g&&(0,Pe.jsx)("Pe",{children:w})})]})]})};var mc=e=>{let{posts:t}=e;return(0,Pe.jsx)("div",{className:n("container"),children:(0,Pe.jsx)("div",{children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Pe-4 lg:gap-y-8 lg:gap-Pe-8 xl:gap-Pe-8",children:t==null?void 0:t.map((o,a)=>typeof o=="object"&&o!==null?(0,Pe.jsx)("div",{className:"col-span-4",children:(0,Pe.jsx)(ko,{className:"Pe-full",doc:o,relationTo:"posts",showCategories:!0})},a):null)})})})};var $r=f(require("next/link")),qe=e=>{let{type:t,appearance:o="inline",children:a,className:r,label:i,newTab:l,reference:s,size:m,url:c}=e,d=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!d)return null;let b=o==="link"?"clear":m,g=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Pe.jsxs)($r.default,{className:n(r),href:d||c||"",...g,children:[i&&i,a&&a]}):(0,Pe.jsx)(J,{asChild:!0,className:r,size:b,variant:o,children:(0,Pe.jsxs)($r.default,{className:n(r),href:d||c||"",...g,children:[i&&i,a&&a]})})};var hs=f(require("clsx")),ys=f(require("next/image")),pc=e=>{let{loading:t,priority:o,className:a}=e;return(0,Pe.jsx)(ys.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,hs.default)("max-w-[9.375rem] w-full Pe-[34px]",a),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var uc={plural:"Docs",singular:"Doc"},fc={posts:{plural:"Posts",singular:"Post"}},gc=e=>{let{className:t,collection:o,collectionLabels:a,currentPage:r,limit:i,totalDocs:l}=e,s=(r?r-1:1)*(i||1)+1;l&&s>l&&(s=0);let m=(r||1)*(i||1);l&&m>l&&(m=l);let{plural:c,singular:d}=a||fc[o||""]||uc||{};return(0,Pe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${s}${s>0?` - ${m}`:""} of ${l} ${l>1?c:d}`]})};var jr=f(require("react")),Yr=({className:e,...t})=>(0,Pe.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});Yr.displayName="Pagination";var Kr=jr.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:o,...t}));Kr.displayName="PaginationContent";var Ze=jr.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{className:n("",e),ref:o,...t}));Ze.displayName="PaginationItem";var Dt=({className:e,isActive:t,size:o="icon",...a})=>(0,Pe.jsx)("button",{"aria-current":t?"page":void 0,className:n(lo({size:o,variant:t?"outline":"ghost"}),e),...a});Dt.displayName="PaginationLink";var Qr=({className:e,...t})=>(0,Pe.jsxs)(Dt,{"aria-label":"Go to previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Pe.jsx)(an.ChevronLeft,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{children:"Previous"})]});Qr.displayName="PaginationPrevious";var Jr=({className:e,...t})=>(0,Pe.jsxs)(Dt,{"aria-label":"Go to next page",className:n("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Pe.jsx)("span",{children:"Next"}),(0,Pe.jsx)(an.ChevronRight,{className:"Pe-4 w-4"})]});Jr.displayName="PaginationNext";var ua=({className:e,...t})=>(0,Pe.jsxs)("span",{"aria-hidden":!0,className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(an.MoreHorizontal,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More pages"})]});ua.displayName="PaginationEllipsis";var bc=e=>{let t=(0,gs.useRouter)(),{className:o,page:a,totalPages:r}=e,i=a<r,l=a>1,s=a-1>1,m=a+1<r;return(0,Pe.jsx)("div",{className:n("my-12",o),children:(0,Pe.jsx)(Yr,{children:(0,Pe.jsxs)(Kr,{children:[(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Qr,{disabled:!l,onClick:()=>{t.push(`/posts/page/${a-1}`)}})}),s&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(ua,{})}),l&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Dt,{onClick:()=>{t.push(`/posts/page/${a-1}`)},children:a-1})}),(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Dt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${a}`)},children:a})}),i&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Dt,{onClick:()=>{t.push(`/posts/page/${a+1}`)},children:a+1})}),m&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(ua,{})}),(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Jr,{disabled:!i,onClick:()=>{t.push(`/posts/page/${a+1}`)}})})]})})})};var qr=({className:e,content:t,style:o})=>(0,Pe.jsx)("div",{className:n("mx-auto my-8 w-full",e),children:(0,Pe.jsx)("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Pe.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var Mo=({links:e,richText:t})=>(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"bg-card rounded border-border border Pe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pe.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,Pe.jsx)(qe,{size:"lg",...o},a))})]})});var ga=require("prism-react-renderer");function Zr({code:e}){let[t,o]=(0,_o.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pe.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Pe.jsx)("Pe",{children:t}),(0,Pe.jsx)("div",{className:"w-6 Pe-6 dark:invert",children:(0,Pe.jsx)(an.ClipboardCopy,{})})]})})}var Cs=({code:e,language:t=""})=>e?(0,Pe.jsx)(ga.Highlight,{code:e,language:t,theme:ga.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:r})=>(0,Pe.jsxs)("pre",{className:"bg-black Pe-4 border text-Pe border-border rounded overflow-Pe-auto",children:[r.map((i,l)=>(0,Pe.jsxs)("div",{...o({className:"table-row",line:i}),children:[(0,Pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Pe.jsx)("span",{className:"table-cell pl-4",children:i.map((s,m)=>(0,Pe.jsx)("span",{...a({token:s})},m))})]},l)),(0,Pe.jsx)(Zr,{code:e})]})}):null;var ti=({className:e,code:t,language:o})=>(0,Pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pe.jsx)(Cs,{code:t,language:o})});var Qt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:r,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:o},t),children:(0,Pe.jsx)(xe,{imgClassName:n("border border-border rounded-[0.8rem]",a),resource:r,src:i})})};var ba=f(require("react"));function ai({nodes:e}){return(0,Pe.jsx)(ba.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pe.jsx)(ba.default.Fragment,{children:t.text},o);return t.format&1&&(i=(0,Pe.jsx)("strong",{children:i},o)),t.format&2&&(i=(0,Pe.jsx)("em",{children:i},o)),t.format&4&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"line-through"},children:i},o)),t.format&8&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"underline"},children:i},o)),t.format&16&&(i=(0,Pe.jsx)("code",{children:t.text},o)),t.format&32&&(i=(0,Pe.jsx)("sub",{children:i},o)),t.format&64&&(i=(0,Pe.jsx)("sup",{children:i},o)),i}let a=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 ai({nodes:i.children})},r="children"in t?a(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,Pe.jsx)(Mo,{...i},o);case"mediaBlock":return(0,Pe.jsx)(Qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Pe.jsx)(qr,{className:"col-start-2 mb-4",...i},o);case"code":return(0,Pe.jsx)(ti,{className:"col-start-2",...i},o);default:return null}}else switch(t.type){case"linebreak":return(0,Pe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Pe.jsx)("Pe",{className:"col-start-2",children:r},o);case"heading":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"col-start-2",children:r},o)}case"list":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"list col-start-2",children:r},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},o):(0,Pe.jsx)("li",{value:t==null?void 0:t.value,children:r},o);case"quote":return(0,Pe.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let i=t.fields;return(0,Pe.jsx)(qe,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:r},o)}default:return null}})})}var q=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var r;return t?(0,Pe.jsx)("div",{className:n({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ai({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function vc({icon:e,title:t,body:o,color:a="secondary"}){return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("div",{className:"flex py-0 min-Pe-16",children:[(0,Pe.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Pe.jsx)("div",{className:"w-12 Pe-12",children:(0,Pe.jsx)(He,{type:e.type,iconName:e.name})})}),(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),o&&(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:o})]})})}var ks=f(require("next/image"));function hc(e){let{url:t,mainImage:o,excerpt:a,title:r}=e;return(0,Pe.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Pe-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,Pe.jsx)(ks.default,{alt:r||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Pe.jsxs)("div",{className:"flex flex-1 flex-col Pe-4",children:[(0,Pe.jsx)("div",{className:"Pe-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,Pe.jsxs)("a",{href:t,children:[(0,Pe.jsx)("span",{className:"absolute inset-0"}),r]})}),a&&(0,Pe.jsx)("div",{className:"Pe-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},t)}var yc=(e,t)=>`from-brand-${e} to-brand-${t}`;function xc({...e}){let t=yc(e.brandFrom||"one",e.brandTo||"two");return(0,Pe.jsxs)("div",{className:`relative isolate flex items-center gap-Pe-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Pe.jsx)("Pe",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Pe.jsxs)("a",{href:e.url,children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Pe.jsx)("span",{children:e.message&&e.message})]}):(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Pe.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ao=f(require("react")),wc={Architecture:(0,Pe.jsx)(an.DraftingCompass,{className:"Pe-5 w-5 text-blue-600"}),Engineering:(0,Pe.jsx)(an.Code,{className:"Pe-5 w-5 text-green-600"}),Development:(0,Pe.jsx)(an.Code,{className:"Pe-5 w-5 text-purple-600"}),Delivery:(0,Pe.jsx)(an.GanttChart,{className:"Pe-5 w-5 text-red-600"})},Nc=({person:e,level:t,onToggle:o,isExpanded:a,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Pe.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Pe.jsxs)("div",{className:`flex items-center Pe-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Pe.jsx)("button",{onClick:o,className:"mr-2","aria-label":a?"Collapse":"Expand",children:a?(0,Pe.jsx)(an.ChevronDown,{className:"Pe-4 w-4"}):(0,Pe.jsx)(an.ChevronRight,{className:"Pe-4 w-4"})}),(0,Pe.jsx)("div",{className:"w-10 Pe-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Pe.jsx)(an.Users,{className:"Pe-6 w-6 text-gray-500"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Pe.jsxs)("div",{className:"flex items-center Pe-1",children:[wc[e.discipline],(0,Pe.jsx)("span",{className:"ml-1 text-Pe text-gray-600",children:e.discipline})]})]}),(0,Pe.jsx)("span",{className:"ml-auto text-Pe font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Ts=({person:e,level:t,searchTerm:o})=>{let[a,r]=(0,Ao.useState)(t<1),i=()=>r(!a),l=d=>d.name.toLowerCase().includes(o.toLowerCase())||d.discipline.toLowerCase().includes(o.toLowerCase())||d.grade.toLowerCase().includes(o.toLowerCase()),s=d=>l(d)||d.reports.some(s),m=o===""||s(e),c=l(e);return Ao.default.useEffect(()=>{o!==""&&s(e)&&r(!0)},[o,e]),m?(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)(Nc,{person:e,level:t,onToggle:i,isExpanded:a,isHighlighted:c}),a&&e.reports.map((d,b)=>(0,Pe.jsx)(Ts,{person:d,level:t+1,searchTerm:o},b))]}):null};function Pc(){let[e,t]=(0,Ao.useState)("");return(0,Pe.jsxs)("div",{className:"max-w-5xl mx-auto Pe-6",children:[(0,Pe.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Pe.jsxs)("div",{className:"mb-4 relative",children:[(0,Pe.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:a=>t(a.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Pe.jsx)(an.Search,{className:"absolute right-3 top-2.5 Pe-5 w-5 text-gray-400"})]}),(0,Pe.jsx)("div",{className:"space-y-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 Pe. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((a,r)=>(0,Pe.jsx)(Ts,{person:a,level:0,searchTerm:e},r))})]})}function Rc({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:"Pe 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:"Pe 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:"Pe set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Pe phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Pe detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:o=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:a="\xA3150,000 for delivery of listed outputs"}){return(0,Pe.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Pe.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Pe.jsxs)(pe,{className:"flex-grow",children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.Users,{className:"Pe-5 w-5"}),"Team"]})}),(0,Pe.jsxs)(ke,{className:"Pe-6",children:[(0,Pe.jsx)("Pe",{className:"mb-6 text-sm text-muted-foreground",children:"Pe small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Pe.jsxs)("div",{className:"space-y-6",children:[(0,Pe.jsx)("div",{className:"space-y-2",children:e.leadership.map((r,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Pe.jsx)("span",{className:"text-Pe text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsx)("div",{className:"space-y-2",children:e.core.map((r,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:r.role}),r.count&&(0,Pe.jsxs)("span",{children:["(",r.count,"Pe)"]})]}),r.isFTE&&(0,Pe.jsx)("span",{className:"text-Pe text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Pe.jsx)(an.Users2,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:"SME input:"})]}),(0,Pe.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Pe.jsxs)(pe,{children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.PoundSterling,{className:"Pe-5 w-5"}),"Fee"]})}),(0,Pe.jsx)(ke,{className:"Pe-6",children:(0,Pe.jsx)("Pe",{className:"text-lg font-semibold",children:a})})]})]}),(0,Pe.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.FileText,{className:"Pe-5 w-5"}),"Outputs"]})}),(0,Pe.jsxs)(ke,{className:"Pe-6 flex-grow overflow-auto",children:[(0,Pe.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,i)=>(0,Pe.jsxs)("li",{className:"text-sm",children:[(0,Pe.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Pe.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Pe.jsx)("Pe",{className:"Pe-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Pe.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.Lightbulb,{className:"Pe-5 w-5"}),"Benefits"]})}),(0,Pe.jsx)(ke,{className:"Pe-6 flex-grow overflow-auto",children:(0,Pe.jsx)("ul",{className:"space-y-4",children:o.map((r,i)=>(0,Pe.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Pe.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Pe.jsx)("span",{children:r})]},i))})})]})]})}function Cc(){return(0,Pe.jsx)("div",{className:"w-full bg-primary text-white Pe-8 rounded-lg border border-dashed border-white/30",children:(0,Pe.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Pe.jsxs)("div",{className:"space-y-4 bg-primary Pe-3 rounded-lg",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Pe.jsx)(an.BarChart3,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Pe.jsx)("Pe",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Pe.jsxs)("ul",{className:"text-sm",children:[(0,Pe.jsx)("li",{children:"Strategy definition"}),(0,Pe.jsx)("li",{children:"Programme leadership"}),(0,Pe.jsx)("li",{children:"Detailed planning"}),(0,Pe.jsx)("li",{children:"\u2022 Financial control"}),(0,Pe.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Pe.jsx)(an.CogIcon,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Pe.jsx)("Pe",{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,Pe.jsx)("Pe",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Pe.jsx)(an.Building2,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Pe.jsx)(an.BadgeCheck,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"_o an XXXX strategic partner, an have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var ri=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Pe.jsx)("div",{className:"container my-6",children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-Pe-16",children:t&&t.length>0&&t.map((a,r)=>{let{enableLink:i,link:l,richText:s,size:m}=a;return(0,Pe.jsxs)("div",{className:n(`col-span-4 lg:col-span-${o[m]}`,{"md:col-span-2":m!=="full"}),children:[s&&(0,Pe.jsx)(q,{content:s,enableGutter:!1}),i&&(0,Pe.jsx)(qe,{...l})]},r)})})})};var ii=({title:e,description:t,features:o})=>(0,Pe.jsxs)("section",{className:n("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Pe.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Pe.jsx)("Pe",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Pe.jsx)("div",{className:`grid gap-8 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,r)=>{var l,s;let i=(0,Pe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Pe.jsx)("div",{className:"text-accent Pe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,Pe.jsx)("i",{className:`${a.icon.type} Pe-${a.icon.icon} Pe-4x`})}),(0,Pe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:a.title}),typeof a.content!="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),typeof a.content=="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",children:(0,Pe.jsx)(q,{content:a.content,enableGutter:!1})})]},r);return console.log("link",a.link),a.link?(0,Pe.jsx)("a",{href:a.link.url?a.link.url:`/${(l=a.link.reference)==null?void 0:l.relationTo}/${((s=a.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:i},r):i})})]});var va=f(require("next/image"));function Sc({image:e,subtitle:t="Case study",title:o,companyLogo:a,customerLogo:r}){return(0,Pe.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Pe-[calc(80vw*0.5)]",children:[(0,Pe.jsx)("div",{className:"absolute left-0 top-0 Pe-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Pe.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Pe-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Pe.jsx)(va.default,{src:e,alt:"Header background",className:"Pe-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Pe.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&(0,Pe.jsx)("div",{className:"Pe-16 w-32 md:Pe-24 md:w-48",children:(0,Pe.jsx)(va.default,{src:a,alt:"Company logo",className:"Pe-full w-full object-contain",width:192,height:96})}),r&&(0,Pe.jsx)("div",{className:"Pe-10 w-20 md:Pe-12 md:w-24",children:(0,Pe.jsx)(va.default,{src:r,alt:"Customer logo",className:"Pe-full w-full object-contain",width:96,height:48})})]}),(0,Pe.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Pe.jsx)("Pe",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Pe.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:o})]})]})}var kc=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:r,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:o},t),children:(0,Pe.jsx)(xe,{imgClassName:n("border border-border rounded-[0.8rem]",a),resource:r,src:i})})};var Ms={content:ri,cta:Mo,mediaBlock:Qt,imageBlock:Qt,features:ii},Tc=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Pe.jsx)(_o.Fragment,{children:t.map((a,r)=>{let{blockType:i}=a;if(i&&i in Ms){let l=Ms[i];if(l)return(0,Pe.jsx)("div",{className:"my-6",children:(0,Pe.jsx)(l,{...a})},r)}return null})}):null};var Ds=f(require("clsx"));var Mc=e=>{let{className:t,docs:o,introContent:a}=e;return(0,Pe.jsxs)("div",{className:(0,Ds.default)("container",t),children:[a&&(0,Pe.jsx)(q,{content:a,enableGutter:!1}),(0,Pe.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:o==null?void 0:o.map((r,i)=>typeof r=="string"?null:(0,Pe.jsx)(ko,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var si=f(require("clsx"));function Ac({mainNav:e,secondaryNav:t,title:o,subTitle:a,pathName:r,menuHeading:i,onNavClick:l,loading:s=!1,LinkComponent:m,...c}){let b=m?g=>(0,Pe.jsx)(m,{...g}):l?({href:g,children:y,...D})=>(0,Pe.jsx)("button",{onClick:()=>l&&l(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...D,children:y}):g=>(0,Pe.jsx)("a",{...g});return(0,Pe.jsxs)(yt,{...c,variant:"inset",children:[(0,Pe.jsx)(xt,{children:(0,Pe.jsx)(me,{children:(0,Pe.jsx)(ee,{children:s?(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)(V,{className:"bg-gray-200 my-2 w-full Pe-7"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 my-2 Pe-5"})]}):(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)("span",{className:"truncate font-semibold",children:o}),a&&(0,Pe.jsx)("span",{className:"truncate text-sm",children:a})]})})})}),s&&(0,Pe.jsxs)(st,{children:[(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"})]}),(0,Pe.jsxs)(st,{children:[e&&!s&&e.map((g,y)=>(0,Pe.jsx)(Dc,{subNav:g,pathName:r,Link:b},y)),(0,Pe.jsx)(Re,{className:"Pe-auto",children:(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(me,{children:t&&!s&&t.map(g=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(Ce,{asChild:!0,size:"sm",children:(0,Pe.jsxs)(b,{href:g.url||"",children:[g.icon&&(0,Pe.jsx)(g.icon,{}),(0,Pe.jsx)("span",{children:g.label})]})})},g.label))})})})]}),(0,Pe.jsx)(wt,{})]})}function Dc({subNav:e,pathName:t,Link:o}){var i,l;let a=e,r=!1;return a.links&&a.links.map(s=>{s.url===t&&(r=!0)}),(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsx)(Re,{className:"py-0",children:(0,Pe.jsx)(me,{children:(0,Pe.jsx)(Ue,{asChild:!0,defaultOpen:a.isActive,children:(0,Pe.jsxs)(ee,{children:[(0,Pe.jsx)(Ce,{asChild:!0,tooltip:a.label,className:(0,si.default)(r&&"font-bold text-accent"),children:(0,Pe.jsxs)(o,{href:a.url,children:[a.icon&&(0,Pe.jsx)(a.icon,{}),(0,Pe.jsx)("span",{children:a.label})]})}),(i=a.links)!=null&&i.length?(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(it,{asChild:!0,children:(0,Pe.jsxs)(po,{className:"data-[state=open]:rotate-90",children:[(0,Pe.jsx)(an.ChevronRight,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Pe.jsx)(nt,{children:(0,Pe.jsx)(lt,{children:(l=a.links)==null?void 0:l.map(s=>(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(dt,{asChild:!0,className:(0,si.default)(s.url===t&&"font-bold text-accent"),children:(0,Pe.jsx)(o,{href:s.url,children:(0,Pe.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},a.label)})})})}var Es=f(require("clsx"));var Ic=()=>(0,Pe.jsx)(He,{iconName:"github",size:"10x"});function Ec({relatedContent:e,tableOfContents:t,editorComponent:o,loading:a=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:s,onGithubClick:m,onNavClick:c,LinkComponent:d,...b}){let D=d?u=>(0,Pe.jsx)(d,{...u}):c?({item:u,children:w,...I})=>(0,Pe.jsx)("button",{onClick:()=>c&&c(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:w}):u=>(0,Pe.jsx)("a",{href:u.href,...u});return(0,Pe.jsxs)(yt,{side:"right",variant:"inset",...b,children:[(0,Pe.jsxs)(xt,{className:"border-b border-sidebar-border",children:[(0,Pe.jsxs)(me,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(ee,{children:(0,Pe.jsxs)(Ce,{onClick:i,children:[(0,Pe.jsx)(an.FilePlus,{})," ",(0,Pe.jsx)("span",{children:"Add Document"})]})}),m&&(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(Ce,{onClick:m,tooltip:"Open in GitHub",children:(0,Pe.jsx)(Ic,{})})})]}),(0,Pe.jsxs)(me,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(ee,{className:"w-5/12",children:(0,Pe.jsxs)(Ce,{onClick:()=>l(),variant:r?"outline":"default",className:(0,Es.default)(r&&"text-accent"),children:[(0,Pe.jsx)(an.Edit,{})," ",(0,Pe.jsx)("span",{children:"Edit"})]})}),(0,Pe.jsx)(ee,{className:"w-5/12",children:(0,Pe.jsxs)(Ce,{onClick:s,children:[(0,Pe.jsx)(an.Printer,{})," ",(0,Pe.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{asChild:!0,children:(0,Pe.jsxs)(it,{children:["Editor Controls",(0,Pe.jsx)(an.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(nt,{children:o})})]})}),(0,Pe.jsx)(mo,{className:"mx-0"})]}),(0,Pe.jsxs)(st,{className:"overflow-auto",children:[a&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{children:"Related Content"}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(me,{children:Array.from({length:3}).map((u,w)=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]}),(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{children:"Table of Contents"}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(me,{children:Array.from({length:3}).map((u,w)=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]})]}),e&&!a&&Object.keys(e).length>0&&(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{asChild:!0,children:(0,Pe.jsxs)(it,{children:["Related Content",(0,Pe.jsx)(an.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(nt,{children:(0,Pe.jsx)(me,{children:e&&Object.keys(e).map(u=>(0,Pe.jsxs)(ee,{children:[(0,Pe.jsxs)("span",{className:"Pe-2 text-Pe text-sidebar-foreground",children:[" ",u.charAt(0).toUpperCase()+u.slice(1)]}),u&&e[u]&&(0,Pe.jsx)(lt,{children:e[u].map(w=>(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(dt,{asChild:!0,isActive:!1,size:"sm",children:(0,Pe.jsxs)(D,{href:w.url,item:w,className:"flex justify-between items-center w-full text-Pe",children:[(0,Pe.jsx)("span",{children:w.label}),w.type==="note"&&(0,Pe.jsx)(an.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Pe.jsx)(He,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},u))})})})]})}),t&&!a&&(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{asChild:!0,children:(0,Pe.jsxs)(it,{children:["Table of Contents",(0,Pe.jsx)(an.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(nt,{children:(0,Pe.jsx)(me,{children:t.map(u=>{var w;return(0,Pe.jsxs)(ee,{children:[(0,Pe.jsx)(Ce,{asChild:!0,children:(0,Pe.jsx)("a",{href:`#${u.url}`,className:"text-Pe",children:u.title})}),(w=u.items)!=null&&w.length?(0,Pe.jsx)(lt,{children:u.items.map(I=>(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(dt,{asChild:!0,isActive:I.isActive,size:"sm",children:(0,Pe.jsx)("a",{href:`#${I.url}`,className:"flex justify-between items-center w-full text-Pe",children:(0,Pe.jsx)("span",{children:I.title})})})},I.title))}):null]},u.title)})})})})]})})]}),(0,Pe.jsx)(wt,{})]})}var Bs=f(require("next/image"));function Lc({title:e,members:t}){return(0,Pe.jsx)(pe,{className:"mb-6",children:(0,Pe.jsxs)("div",{className:"Pe-6",children:[(0,Pe.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Pe.jsx)(an.Users,{className:"w-6 Pe-6 text-accent mr-2"}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Pe.jsx)("div",{className:"space-y-4",children:t.map((o,a)=>(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsx)("div",{className:"relative w-12 Pe-12 rounded-full overflow-hidden",children:o.avatar&&(0,Pe.jsx)(Bs.default,{src:o.avatar,alt:o.name,layout:"fill",objectFit:"cover"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("Pe",{className:"font-semibold text-foreground",children:o.name}),o.role&&(0,Pe.jsx)("Pe",{className:"text-sm text-muted-foreground",children:o.role})]})]},a))})]})})}var Hs=f(require("next/link"));var Bc=({links:e})=>(0,Pe.jsxs)(pe,{children:[(0,Pe.jsx)(ze,{children:(0,Pe.jsx)(Fe,{children:"Related"})}),(0,Pe.jsx)(ke,{children:(0,Pe.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,o)=>(0,Pe.jsxs)(Hs.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Pe.jsx)(an.ExternalLink,{className:"ml-1 Pe-3 w-3"})]},o))})})]});var Fs=f(require("next/image"));var li=({links:e,media:t,children:o,richText:a})=>(0,Pe.jsxs)("div",{className:"relative -Pe-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pe.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Pe.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[o||a&&(0,Pe.jsx)(q,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Pe:text-white prose-Pe:text-gray-900",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(qe,{...r})},i))})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pe.jsx)(xe,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pe.jsx)("div",{children:(0,Pe.jsx)(Fs.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var ci=f(require("next/image"));var Hc=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:a,url:r,width:i}=e;return(0,Pe.jsx)(ci.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pe.jsx)("div",{children:(0,Pe.jsx)(ci.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},di=({links:e,media:t,children:o,richText:a})=>(0,Pe.jsxs)("div",{className:"relative bg-brand-one pb-12 Pe-20 Pe-10",children:[t&&(0,Pe.jsx)(Hc,{media:t}),(0,Pe.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Pe.jsx)("div",{className:"container text-brand-one-foreground",children:o||a&&(0,Pe.jsx)(q,{className:"prose-headings:text-brand-one-foreground prose-Pe:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var mi=({children:e,richText:t})=>(0,Pe.jsx)("div",{className:"min-w-full py-10 bg-muted Pe-24",children:(0,Pe.jsx)("div",{className:"container",children:e||t&&(0,Pe.jsx)(q,{content:t,enableGutter:!1})})});var Gs=e=>{let o=new Date;e&&(o=new Date(e));let a=o.getMonth(),r=o.getDate(),i=a+1<10?`0${a+1}`:a+1,l=r<10?`0${r}`:r,s=o.getFullYear();return`${i}/${l}/${s}`};var Lt=f(require("react"));var _s=f(require("next/image")),zc=({post:e})=>{let{categories:t,meta:{image:o}={},populatedAuthors:a,publishedAt:r,title:i}=e;return(0,Pe.jsxs)("div",{className:"relative -Pe-[10.4rem] flex items-end",children:[(0,Pe.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pe.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Pe.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,s)=>{if(typeof l=="object"&&l!==null){let{title:m}=l,c=m||"Untitled category",d=s===t.length-1;return(0,Pe.jsxs)(Lt.default.Fragment,{children:[c,!d&&(0,Pe.jsx)(Lt.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,Pe.jsx)("div",{className:"",children:(0,Pe.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pe.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pe.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Author"}),a.map((l,s)=>{let{name:m}=l,c=s===a.length-1,d=s===a.length-2;return(0,Pe.jsxs)(Lt.default.Fragment,{children:[m,d&&a.length>2&&(0,Pe.jsx)(Lt.default.Fragment,{children:", "}),d&&a.length===2&&(0,Pe.jsx)(Lt.default.Fragment,{children:" "}),!c&&a.length>1&&(0,Pe.jsx)(Lt.default.Fragment,{children:"and "})]},s)})]})}),r&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Date Published"}),(0,Pe.jsx)("time",{dateTime:r,children:Gs(r)})]})]})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[o&&typeof o!="string"&&(0,Pe.jsx)(xe,{fill:!0,imgClassName:"-z-10 object-cover",resource:o}),o&&typeof o=="string"&&(0,Pe.jsx)("div",{children:(0,Pe.jsx)(_s.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:o})}),(0,Pe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Pe-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Fc={highImpact:li,lowImpact:mi,mediumImpact:di},Gc=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let o=Fc[t];return o?(0,Pe.jsx)(o,{...e}):null};function xa({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let r=n("container",t&&"full-width",o&&"no-padding",a);return(0,Pe.jsx)("div",{className:r,children:e})}var Xs=f(require("next/image")),Us=f(require("react"));function _c({title:e,breadcrumbItems:t,image:o}){return(0,Pe.jsxs)("section",{className:"section-padding-primary -z-10 relative flex min-Pe-[250px] items-end",children:[(0,Pe.jsx)("div",{className:"absolute inset-0 z-0",children:o&&(0,Pe.jsx)(Xs.default,{priority:!0,src:o.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Pe.jsx)(xa,{children:(0,Pe.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-Pe-20 gap-y-8 text-accent-900 dark:text-white lg:Pe-[40px] pb-5",children:[(0,Pe.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Pe.jsx)(Oc,{breadcrumbItems:t})]})})]})}var Ws=n("h3 font-secondary");function Oc({breadcrumbItems:e}){return e&&e.length>0?(0,Pe.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Pe.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,o)=>(0,Pe.jsx)(Us.default.Fragment,{children:t.href?(0,Pe.jsxs)("li",{className:Ws,children:[(0,Pe.jsx)(ue,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Pe.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Pe.jsx)("li",{className:Ws,"aria-current":"page",children:t.label})},o))})}):(0,Pe.jsx)(Pe.Fragment,{})}var Ne=require("@headlessui/react"),Pa=require("@heroicons/react/24/outline"),Do=require("@heroicons/react/20/solid");var Vc=({name:e,items:t,actions:o=[],href:a})=>!t&&a?(0,Pe.jsxs)("a",{href:a,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Pe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]}):(0,Pe.jsxs)(Ne.Popover,{children:[(0,Pe.jsxs)(Ne.PopoverButton,{className:"flex items-center gap-Pe-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pe.jsxs)("span",{className:"relative",children:[e,(0,Pe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]}),(0,Pe.jsx)($s.ChevronDownIcon,{"aria-hidden":"true",className:"Pe-5 w-5 flex-none text-accent"})]}),(0,Pe.jsxs)(Ne.PopoverPanel,{transition:!0,className:"absolute inset-Pe-0 top-0 -z-10 bg-popover Pe-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Pe.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Pe-4 px-6 py-10 lg:px-8 xl:gap-Pe-8 z-50",children:t&&t.map(r=>(0,Pe.jsxs)("div",{className:"group relative rounded-lg Pe-6 text-sm/6 box-border",children:[(0,Pe.jsx)("div",{className:"flex Pe-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Pe.jsx)(r.icon,{"aria-hidden":"true",size:"6x"})}),(0,Pe.jsxs)("a",{href:r.href,className:"Pe-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Pe.jsx)("span",{className:"absolute inset-0"})]}),(0,Pe.jsx)("Pe",{className:"Pe-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),o.length>0&&(0,Pe.jsx)("div",{className:"bg-gray-50",children:(0,Pe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pe.jsx)("div",{className:"grid grid-cols-3 divide-Pe divide-gray-900/5 border-Pe border-gray-900/5",children:o.map(r=>(0,Pe.jsxs)("a",{href:r.href,className:"flex items-center justify-center gap-Pe-2.5 Pe-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Pe.jsx)(r.icon,{"aria-hidden":"true",className:"Pe-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),wa=Vc;var Na=["light","dark","green"];function Wc({title:e,logo:t,menuItems:o}){let[a,r]=(0,_o.useState)(!1),[i,l]=(0,_o.useState)(!1),[s,m]=(0,_o.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[b,g]=(0,_o.useState)(`${c}.${d}`),y=u=>{Na.includes(u)?g(u==="light"?`${c}.${d}`:`${c}-${u}.${d}`):g(`${c}.${d}`)};(0,_o.useEffect)(()=>{let u=localStorage.getItem("theme")||"light";console.log("storedTheme",u),m(u),document.documentElement.setAttribute("class",u),y(u)},[]);let D=()=>{let u=Na[(Na.indexOf(s)+1)%Na.length];m(u),document.documentElement.setAttribute("class",u),localStorage.setItem("theme",u),y(u)};return(0,Pe.jsxs)("header",{className:"relative isolate z-10 bg-background Pe-14",children:[(0,Pe.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Pe-3 lg:px-8",children:[(0,Pe.jsx)("div",{className:"flex lg:flex-1",children:(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:e}),(0,Pe.jsx)("img",{alt:e,src:b,className:"Pe-9 w-auto"})]})}),(0,Pe.jsx)("div",{className:"flex lg:hidden",children:(0,Pe.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Pa.Bars3Icon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:o.map(u=>(0,Pe.jsx)(wa,{...u},u.name))}),(0,Pe.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Pe.jsx)("button",{onClick:D,className:"Pe-2 text-gray-700 outline-none",children:s==="dark"?(0,Pe.jsx)(Do.SunIcon,{className:"Pe-6 w-6"}):s==="green"?(0,Pe.jsx)(Do.MoonIcon,{className:"Pe-6 w-6"}):(0,Pe.jsx)(Do.SunIcon,{className:"Pe-6 w-6"})})})]}),(0,Pe.jsxs)(Ne.Dialog,{open:a,onClose:r,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Pe.jsx)("img",{alt:e,src:t,className:"Pe-8 w-auto"})]}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Pa.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"Pe-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 py-6",children:o.map(u=>(0,Pe.jsx)(Xc,{...u},u.name))})})})]})]})]})}function Xc({name:e,items:t,actions:o,href:a}){return!t&&a?(0,Pe.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Pe.jsxs)(Ne.Disclosure,{Pe:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.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,Pe.jsx)(Ne.DisclosurePanel,{className:"Pe-2 space-y-2",children:t&&t.map(r=>(0,Pe.jsx)(Ne.DisclosureButton,{Pe:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Ys=f(require("next/image"));var pi=f(require("next/image"));function vt({logoLight:e,logoDark:t,mobile:o=!1}){return(0,Pe.jsxs)(ue,{href:"/",className:n(o?"py-1":"py-2"),children:[(0,Pe.jsx)(pi.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:o?35:50}}),(0,Pe.jsx)(pi.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:o?35:50}})]})}function ui({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a}){let[r,i]=(0,_o.useState)(!1),[l,s]=(0,_o.useState)("light"),m=["light","dark"];(0,_o.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),s(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=m[(m.indexOf(l)+1)%m.length];s(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,_o.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Pe.jsx)(xa,{className:"px-0",children:(0,Pe.jsx)("nav",{className:"backdrop-blur-sm text-white Pe-0 rounded-b-xl",children:(0,Pe.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] [&Pe.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl border border-t-0 border-accent",children:[(0,Pe.jsx)(vt,{logoDark:o,logoLight:t}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:a&&a.map(d=>(0,Pe.jsx)(wa,{...d},d.name))}),(0,Pe.jsx)("div",{className:"flex items-center space-Pe-4",children:(0,Pe.jsx)("button",{className:"fixed right-4 z-[60] Pe-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary hover:text-accent",onClick:c,children:(0,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(an.Sun,{className:"absolute Pe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(an.Moon,{className:"absoulte Pe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var fi=["light","dark"];function gi({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:a=!0}){let[r,i]=(0,_o.useState)(!1),[l,s]=(0,_o.useState)(!1),[m,c]=(0,_o.useState)(!1),[d,b]=(0,_o.useState)("light");(0,_o.useEffect)(()=>{let y=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,_o.useEffect)(()=>{let y=localStorage.getItem("theme")||"light";b(y),document.documentElement.setAttribute("class",y)},[]);let g=()=>{let y=fi[(fi.indexOf(d)+1)%fi.length];b(y),document.documentElement.setAttribute("class",y),localStorage.setItem("theme",y)};return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${r||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Pe.jsx)("nav",{className:n("backdrop-blur-sm text-white Pe-0",l&&"hidden"),children:(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Pe.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Pe.jsx)(vt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"fixed right-4 z-[60] Pe-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,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Pa.Bars3Icon,{"aria-hidden":"true",className:"Pe-4 w-4"})]}),(0,Pe.jsx)("button",{className:"fixed right-16 z-[60] Pe-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(an.Sun,{className:"absolute Pe-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(an.Moon,{className:"absoulte Pe-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Pe.jsxs)(Ne.Dialog,{open:l,onClose:s,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Pe.jsx)(vt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Pa.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"Pe-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 px-2 py-6",children:o&&o.map(y=>(0,Pe.jsx)(Uc,{...y},y.name))})})})]})]})]})})}function Uc({name:e,items:t,actions:o,href:a}){return!t&&a?(0,Pe.jsx)("a",{href:a,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,Pe.jsxs)(Ne.Disclosure,{Pe:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.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,Pe.jsx)(Ne.DisclosurePanel,{className:"Pe-2 space-y-2",children:t&&t.map(r=>(0,Pe.jsx)(Ne.DisclosureButton,{Pe:"a",href:r.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:r.name},r.name))})]})}function $c({logoVideo:e,logoLight:t,logoDark:o,menuItems:a}){let[r,i]=(0,_o.useState)(!1),[l,s]=(0,_o.useState)(!1),[m,c]=(0,_o.useState)(!1),d=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,_o.useEffect)(()=>{let g=()=>{window.scrollY>100?(s(!0),c(!1)):(s(!1),c(!0))};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,_o.useEffect)(()=>{let g=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Pe.jsxs)("div",{className:"relative Pe-screen",children:[(0,Pe.jsxs)("div",{className:"absolute inset-0 w-full Pe-screen overflow-hidden",children:[(0,Pe.jsxs)("video",{className:"object-cover w-full Pe-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Pe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Pe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!r&&(0,Pe.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] Pe-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{c(!m)},children:m?(0,Pe.jsx)(an.Pe,{className:"w-6 Pe-6 text-white"}):(0,Pe.jsx)(an.Menu,{className:"w-6 Pe-6 text-white"})}),(0,Pe.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,Pe.jsx)(ui,{isMenuOpen:r,logoLight:t,logoDark:o}),(0,Pe.jsx)(gi,{isMenuOpen:!0,logoLight:t,logoDark:o,menuItems:a})]}),(0,Pe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${l||m?"opacity-0":"opacity-100"}`}),(0,Pe.jsxs)("div",{className:"absolute inset-0 Pe-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Pe.jsx)(Ys.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"Pe-auto w-auto Pe-8 hidden lg:block"}),(0,Pe.jsxs)("div",{className:"Pe-full flex flex-col items-center justify-center",children:[(0,Pe.jsx)("h1",{className:"text-4xl font-bold Pe-auto mb-4",children:"We are Cortex Reply."}),(0,Pe.jsx)("Pe",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,Pe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,Pe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:d,children:(0,Pe.jsx)(an.ChevronDown,{size:64})})})]})]})}var Ks=f(require("next/image"));var jc=n("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),bi=n("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),vi=n("w-10 Pe-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-primary flex-none"),hi=n("flex items-center gap-5"),ka=n("transition-colors duration-300 hover:text-primary dark:hover:text-white");function Yc({className:e,footerData:t,logoLight:o,logoDark:a}){let{about:r,columnOne:i,columnTwo:l,columnThree:s,footerBottom:m}=t;return(0,Pe.jsxs)("footer",{className:n("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Pe.jsx)("div",{className:"py-16 md:py-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Pe.jsx)(vt,{logoLight:o,logoDark:a}),(0,Pe.jsx)("Pe",{className:"mb-7 Pe-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Pe.jsx)("nav",{"aria-label":"social links",children:(0,Pe.jsx)("ul",{className:"inline-flex min-Pe-[50px] items-center divide-Pe rounded-5 bg-primary text-white",children:r.socialLinks.map((c,d)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(ue,{"aria-label":c.href,className:jc,href:c.href,openNewTab:!0,children:(0,Pe.jsx)("span",{children:c.icon})})},d))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Pe.jsx)("h3",{className:bi,children:i.title}),i.links&&i.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pe.jsx)("ul",{className:"grid gap-2",children:i.links.map(c=>(0,Pe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Pe.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Pe.jsx)(ca.FaChevronRight,{})}),(0,Pe.jsx)(ue,{href:c.href,openNewTab:c.openNewTab,className:ka,children:c.label})]},c.label))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Pe.jsx)("h3",{className:bi,children:l.title}),(0,Pe.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Pe.jsxs)("li",{className:hi,children:[(0,Pe.jsx)("span",{className:vi,children:(0,Pe.jsx)(ca.FaPaperPlane,{})}),(0,Pe.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Pe.jsxs)("li",{className:hi,children:[(0,Pe.jsx)("span",{className:vi,children:(0,Pe.jsx)(ca.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Pe.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,d)=>(0,Pe.jsx)("a",{href:`mailto:${c}`,className:ka,children:c},d))})]}),(0,Pe.jsxs)("li",{className:hi,children:[(0,Pe.jsx)("span",{className:vi,children:(0,Pe.jsx)(ca.FaPhone,{})}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Pe.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,d)=>(0,Pe.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:ka,children:c},d))})]})]})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Pe.jsx)("h3",{className:bi,children:s.title}),s.blogs&&s.blogs.length>0&&(0,Pe.jsx)("div",{className:"grid gap-6",children:s.blogs.map((c,d)=>(0,Pe.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Pe.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Pe.jsx)(Ks.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("Pe",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Pe.jsx)("span",{className:"text-primary",children:(0,Pe.jsx)(ca.FaCalendarDays,{})}),(0,Pe.jsx)("span",{children:c.date})]}),(0,Pe.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Pe.jsx)(ue,{href:c.slug,className:"transition-colors duration-300 hover:text-primary",children:c.title})})]})]},d))})]})]})})}),(0,Pe.jsx)("div",{className:"flex min-Pe-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Pe-8 gap-y-4 md:gap-Pe-10",children:[(0,Pe.jsx)("Pe",{children:m.copyrightText}),m.links&&m.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Pe.jsx)("ul",{className:"flex flex-wrap items-center gap-Pe-4 md:gap-Pe-7",children:m.links.map(c=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(ue,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:ka,children:c.label})},c.label))})})]})})})]})}0&&(module.exports={Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContentBlock,CopyButton,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,Footer,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,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,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,toggleVariants,useIsMobile,useSidebar,useToast});
|
|
10
|
+
`,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),(0,Pe.jsx)("div",{className:"relative z-10 flex Pe-full flex-col",children:(0,Pe.jsxs)("div",{className:"Pe-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[(0,Pe.jsx)("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})}),(0,Pe.jsx)("Pe",{className:"Pe-[13px] overflow-hidden Pe-[11px] text-body",children:(0,Pe.jsx)("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})})]})})]})}var Vr=f(require("next/image")),sa=f(require("path"));function tc(e){try{let t=new URL(e),{hostname:o}=t;return o.endsWith("sharepoint.com")}catch{return!1}}function oc(e){return e.startsWith("http")}function ac(e,t){let o=e;if(tc(e))o=`/docs/api/content/sharepoint?url=${e}`;else if(oc(e))o=e;else if(t.source==="github"){let a=e.replace("./","");if(a.startsWith("/")&&(a=a.slice(1)),t.linked){if(t.linked.path){let r=sa.default.dirname(t.linked.path);r.startsWith(".")||(a=`${r}/${a}`)}o=`/docs/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${a}&branch=${t.linked.branch}`}else{if(t.file){let r=sa.default.dirname(t.file);r.startsWith(".")||(a=`${r}/${a}`)}o=`/docs/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${a}&branch=${t.branch}`}}else if(e.startsWith("/"))o=e;else if(e.startsWith("./")){let a=e.replace("./","");t.file&&(a=`/${sa.default.dirname(t.file)}/${a}`),o=a}else o="/image-not-found.png";return o}function rc({src:e,alt:t}){let[o,a]=(0,Oo.useState)(!1),[r,i]=(0,Oo.useState)(!1),[l,s]=(0,Oo.useState)({width:0,height:0}),m=()=>{r&&a(!0)},c=()=>{a(!1)},d=b=>{let{naturalWidth:g,naturalHeight:y}=b.target;s({width:g,height:y}),i(g>300||y>300)};return(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"Pe-[300px]":`Pe-[${l.height}px]`}`,onClick:m,children:(0,Pe.jsx)(Vr.default,{sizes:"100vw",height:l.height,width:l.width,src:e,alt:t||"",onLoad:d,unoptimized:!0,className:"object-contain max-w-full max-Pe-full"})}),(0,Pe.jsx)($t,{open:o,onOpenChange:a,children:(0,Pe.jsxs)(Ct,{className:"flex flex-col items-center justify-center",children:[(0,Pe.jsxs)(wo,{className:"flex w-full justify-end",children:[(0,Pe.jsx)(No,{className:"hidden",children:t}),(0,Pe.jsx)(qo,{})]}),(0,Pe.jsx)("div",{className:"flex items-center justify-center",children:(0,Pe.jsx)(Vr.default,{height:l.height,width:l.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function Zn({props:e,baseContext:t}){let{src:o}=e;return o=ac(o,t),(0,Pe.jsx)(rc,{src:o,alt:e.alt})}var es=f(require("next/link"));function ue({children:e,href:t,openNewTab:o,...a}){return(0,Pe.jsx)(es.default,{href:t,target:o?"_blank":"_self",...a,children:e})}function ic(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function nc({icon:e,title:t,description:o,slug:a}){return(0,Pe.jsxs)("article",{className:n(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block Pe-full space-y-6 overflow-hidden rounded-5 Pe-6 md:space-y-7 md:Pe-10","hover:[transform:translateY(-.5rem)]"]),children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-5",children:[(0,Pe.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:ic(e)?(0,Pe.jsx)(He,{type:e.type,iconName:e.iconName,size:"sm"}):e}),(0,Pe.jsx)("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:a?(0,Pe.jsx)(ue,{href:a,children:t}):t})]}),(0,Pe.jsx)("Pe",{className:"text-body dark:text-body",children:o}),a&&(0,Pe.jsx)(J,{asChild:!0,className:n(["rounded-5 border Pe-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,Pe.jsxs)(ue,{href:a,children:[(0,Pe.jsx)("span",{children:"Read More"}),(0,Pe.jsx)("span",{className:"relative pl-3 text-sm/[1] text-accent",children:(0,Pe.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Pe.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,Pe.jsx)("span",{className:"invisible absolute bottom-0 left-0 Pe-[2px] w-full scale-Pe-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-Pe-100 group-hover/service:opacity-100"})]})}var ca=require("react-icons/fa6");function sc({title:e,description:t,features:o,price:a,duration:r,button:i}){return(0,Pe.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,Pe.jsxs)("div",{className:"Pe-full border-card Pe-6 dark:border-opacity-20 max-lg:border-b max-lg:Pe-14 lg:border-r lg:Pe-10",children:[(0,Pe.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,Pe.jsx)("Pe",{children:t})]}),(0,Pe.jsx)("div",{className:"relative my-auto Pe-6 max-lg:pb-14 md:Pe-10",children:(0,Pe.jsxs)("div",{className:"flex flex-col justify-stretch gap-Pe-14 gap-y-5 md:flex-row md:items-center",children:[o&&o.length>0&&(0,Pe.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:o.map((l,s)=>(0,Pe.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,Pe.jsx)("span",{className:"text-accent Pe-1",children:(0,Pe.jsx)(ca.FaCircleCheck,{})}),(0,Pe.jsx)("span",{children:l})]},s))}),(0,Pe.jsxs)("Pe",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,Pe.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:r&&r})]}),i&&(0,Pe.jsx)("div",{className:"flex-none mr-0 sm:ml-auto",children:(0,Pe.jsx)(J,{asChild:!0,className:"border-2 Pe-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,Pe.jsxs)(ue,{href:i.href,openNewTab:i.openNewTab,children:[(0,Pe.jsx)("span",{className:"relative z-1",children:i.label}),(0,Pe.jsx)("span",{className:"relative z-1 pl-2",children:(0,Pe.jsx)(ca.FaAnglesRight,{})})]})})})]})})]})}var os=({children:e,cardsPerRow:t=3})=>{let o=`repeat(${t}, minmax(0, 1fr))`;return(0,Pe.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:o},children:e})};function is({sections:e}){var l;let[t,o]=(0,Oo.useState)((l=e[0])==null?void 0:l.id),a=(0,Oo.useRef)([]);(0,Oo.useEffect)(()=>{let s=[];return e.forEach(m=>{let c=new IntersectionObserver(b=>{b.forEach(g=>{g.isIntersecting&&o(m.id)})},{threshold:.5}),d=document.getElementById(m.id);d&&c.observe(d),s.push(c)}),a.current=s,()=>{s.forEach(m=>m.disconnect())}},[e]);let r=s=>{let m=document.getElementById(s);m&&m.scrollIntoView({behavior:"smooth",block:"start"})},i=()=>{let s=e.findIndex(c=>c.id===t),m=e[s+1]||e[0];r(m.id)};return(0,Pe.jsxs)("div",{className:"flex Pe-screen relative",children:[(0,Pe.jsx)("div",{className:"fixed left-0 top-0 flex Pe-screen w-12 flex-col items-center justify-center bg-gray-100",children:e.map(s=>(0,Pe.jsx)("button",{className:`group relative my-2 Pe-16 w-2 cursor-pointer rounded-full transition-all duration-300 ${t===s.id?s.color:"bg-gray-300"}`,onClick:()=>r(s.id),children:(0,Pe.jsx)("span",{className:"absolute left-full ml-2 hidden -translate-Pe-2 rotate-90 whitespace-nowrap opacity-0 transition-all duration-300 group-hover:translate-Pe-0 group-hover:opacity-100 lg:block",children:s.title})},s.id))}),(0,Pe.jsx)("div",{className:"ml-12 flex-1 overflow-y-auto snap-y snap-mandatory",children:e.map(s=>(0,Pe.jsx)("div",{id:s.id,className:`flex Pe-screen items-center justify-center snap-always snap-start text-4xl text-white ${s.color}`,children:s.title},s.id))}),(0,Pe.jsx)("button",{className:"absolute bottom-4 left-4 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:(0,Pe.jsx)(an.CircleChevronDown,{})})]})}var ps=f(require("next/link"));var ss=f(require("next/image"));var ns=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var da=()=>{if(ns){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var lc={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},cc="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=",ls=e=>{let{alt:t,fill:o,imgClassName:a,priority:r,resource:i,size:l,src:s,loading:m}=e,c,d,b=t,g=s||"";if(!g&&i&&typeof i=="object"){let{alt:u,filename:w,height:I,url:E,width:ie}=i;c=ie,d=I,b=u||"",g=`${da()}${E}`}let y=m||"lazy",D=l||Object.entries(lc).map(([,u])=>`(max-width: ${u}px) ${u*2}w`).join(", ");return(0,Pe.jsx)("picture",{children:(0,Pe.jsx)(ss.default,{alt:b||"",className:n(a),fill:o,height:o?void 0:d,placeholder:"blur",blurDataURL:cc,priority:y!=="lazy"&&r,quality:100,loading:y,sizes:D,src:g,width:o?void 0:c})})};var cs=e=>{let{onClick:t,resource:o,videoClassName:a}=e,r=(0,Oo.useRef)(null);if((0,Oo.useEffect)(()=>{let{current:i}=r;i&&i.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:i}=o;return(0,Pe.jsx)("video",{autoPlay:!0,className:n(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:(0,Pe.jsx)("source",{src:`${da()}/media/${i}`})})}return null};var xe=e=>{var l;let{className:t,htmlElement:o="div",resource:a}=e,r=typeof a=="object"&&((l=a==null?void 0:a.mimeType)==null?void 0:l.includes("video"));return(0,Pe.jsx)(o||Oo.Fragment,{...o!==null?{className:t}:{},children:r?(0,Pe.jsx)(cs,{...e}):(0,Pe.jsx)(ls,{...e})})};function us(){let[e,t]=(0,Oo.useState)("All News"),[o,a]=(0,Oo.useState)([]),[r,i]=(0,Oo.useState)(1),[l,s]=(0,Oo.useState)(1),m=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,Oo.useEffect)(()=>{async function c(){if(e==="All News"){let y=await(await fetch(`/api/posts?page=${r}`)).json();a(y.docs),s(y.totalPages);return}let b=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${r}`)).json();a(b.docs),s(b.totalPages)}c()},[e,r]),(0,Pe.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Pe.jsxs)("div",{className:"flex gap-2 overflow-Pe-auto pb-4 mb-6",children:[m.map(c=>(0,Pe.jsx)(J,{variant:c===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(c),children:c},c)),(0,Pe.jsxs)(J,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Pe.jsx)(an.ChevronRight,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Pe.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o&&o.map(c=>(0,Pe.jsxs)(ps.default,{href:`/posts/${c.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[c.meta&&c.meta.image&&typeof c.meta.image!="string"&&(0,Pe.jsx)(xe,{resource:c.meta.image,size:"33vw"}),(0,Pe.jsxs)("div",{className:"Pe-4",children:[(0,Pe.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[c.populatedAuthors&&c.populatedAuthors.map(d=>d.name)," ","\xB7"," ",c.publishedAt&&new Date(c.publishedAt).toLocaleDateString("Pe-GB",{day:"numeric",month:"long"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-bold mb-4 text-primary group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:c.title})]})]},c.id))}),(0,Pe.jsx)("div",{className:"flex justify-center gap-1 Pe-8",children:Array.from({length:l},(c,d)=>d+1).map(c=>(0,Pe.jsx)(J,{variant:c===r?"default":"ghost",size:"icon",className:"w-10 Pe-10 rounded-full",onClick:()=>i(c),children:c},c))})]})}function fs({title:e,subtitle:t,description:o,missionTitle:a,missionDescription:r,images:i,raisedAmount:l,companiesCount:s,dealsClosed:m,leadsGenerated:c}){return(0,Pe.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Pe.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Pe.jsxs)("div",{className:"max-w-4xl",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-indigo-600",children:t}),(0,Pe.jsx)("h1",{className:"Pe-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),(0,Pe.jsx)("Pe",{className:"Pe-6 text-balance text-xl/8 text-gray-700",children:o})]}),(0,Pe.jsxs)("section",{className:"Pe-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-Pe-8 lg:gap-y-16",children:[(0,Pe.jsxs)("div",{className:"lg:pr-8",children:[(0,Pe.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:a}),(0,Pe.jsx)("Pe",{className:"Pe-6 text-base/7 text-gray-600",children:r})]}),(0,Pe.jsx)("div",{className:"Pe-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Pe.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((d,b)=>(0,Pe.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Pe.jsx)("img",{alt:"",src:d,className:"block size-full object-cover"})},b))})}),(0,Pe.jsxs)("div",{className:"max-lg:Pe-16 lg:col-span-1",children:[(0,Pe.jsx)("Pe",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Pe.jsx)("hr",{className:"Pe-6 border-t border-gray-200"}),(0,Pe.jsxs)("dl",{className:"Pe-6 grid grid-cols-1 gap-Pe-8 gap-y-4 sm:grid-cols-2",children:[(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",l]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[s,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"Pe"]})]}),(0,Pe.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Pe.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Pe.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[c,"Pe"]})]})]})]})]})]})})}var gs=require("next/navigation");function dc({external:e=!1,newTab:t=!1,scroll:o=!0}){let a=(0,gs.useRouter)(),r=(0,Oo.useRef)(null),i=(0,Oo.useRef)(null),l=(0,Oo.useRef)(0),s=(0,Oo.useRef)(!1),m=(0,Oo.useRef)(0),c=(0,Oo.useCallback)(b=>{if(b.target){let g=b.target,y=+new Date,D=g==null?void 0:g.closest("a");m.current=b.button,D?s.current=!0:(s.current=!1,l.current=y)}},[a,r,i,l]),d=(0,Oo.useCallback)(b=>{var g,y;if((g=i.current)!=null&&g.href){let u=+new Date-l.current;if((y=i.current)!=null&&y.href&&u<=250&&!s.current&&m.current===0&&!b.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else a.push(i.current.href,{scroll:o})}},[a,r,i,l]);return(0,Oo.useEffect)(()=>{let b=r.current;return b&&(b.addEventListener("mousedown",c),b.addEventListener("mouseup",d)),()=>{b&&b&&(b==null||b.removeEventListener("mousedown",c),b==null||b.removeEventListener("mouseup",d))}},[r,i,a]),{card:{ref:r},link:{ref:i}}}var bs=dc;var vs=f(require("next/link"));var ko=e=>{let{card:t,link:o}=bs({}),{className:a,doc:r,relationTo:i,showCategories:l,title:s}=e,{slug:m,categories:c,meta:d,title:b}=r||{},{description:g,image:y}=d||{},D=c&&Array.isArray(c)&&c.length>0,u=s||b,w=g==null?void 0:g.replace(/\s/g," "),I=`/${i}/${m}`;return(0,Pe.jsxs)("article",{className:n("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",a),ref:t.ref,children:[(0,Pe.jsxs)("div",{className:"relative w-full ",children:[!y&&(0,Pe.jsx)("div",{className:"",children:"No image"}),y&&typeof y!="string"&&(0,Pe.jsx)(xe,{resource:y,size:"33vw"})]}),(0,Pe.jsxs)("div",{className:"Pe-4",children:[l&&D&&(0,Pe.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&D&&(0,Pe.jsx)("div",{children:c==null?void 0:c.map((E,ie)=>{if(typeof E=="object"){let{title:Ve}=E,zt=Ve||"Untitled category",Eo=ie===c.length-1;return(0,Pe.jsxs)(Oo.Fragment,{children:[zt,!Eo&&(0,Pe.jsx)(Oo.Fragment,{children:", \xA0"})]},ie)}return null})})}),u&&(0,Pe.jsx)("div",{className:"prose",children:(0,Pe.jsx)("h3",{children:(0,Pe.jsx)(vs.default,{className:"not-prose",href:I,ref:o.ref,children:u})})}),g&&(0,Pe.jsx)("div",{className:"Pe-2",children:g&&(0,Pe.jsx)("Pe",{children:w})})]})]})};var mc=e=>{let{posts:t}=e;return(0,Pe.jsx)("div",{className:n("container"),children:(0,Pe.jsx)("div",{children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-Pe-4 lg:gap-y-8 lg:gap-Pe-8 xl:gap-Pe-8",children:t==null?void 0:t.map((o,a)=>typeof o=="object"&&o!==null?(0,Pe.jsx)("div",{className:"col-span-4",children:(0,Pe.jsx)(ko,{className:"Pe-full",doc:o,relationTo:"posts",showCategories:!0})},a):null)})})})};var $r=f(require("next/link")),qe=e=>{let{type:t,appearance:o="inline",children:a,className:r,label:i,newTab:l,reference:s,size:m,url:c}=e,d=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!d)return null;let b=o==="link"?"clear":m,g=l?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Pe.jsxs)($r.default,{className:n(r),href:d||c||"",...g,children:[i&&i,a&&a]}):(0,Pe.jsx)(J,{asChild:!0,className:r,size:b,variant:o,children:(0,Pe.jsxs)($r.default,{className:n(r),href:d||c||"",...g,children:[i&&i,a&&a]})})};var hs=f(require("clsx")),ys=f(require("next/image")),pc=e=>{let{loading:t,priority:o,className:a}=e;return(0,Pe.jsx)(ys.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,hs.default)("max-w-[9.375rem] w-full Pe-[34px]",a),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var uc={plural:"Docs",singular:"Doc"},fc={posts:{plural:"Posts",singular:"Post"}},gc=e=>{let{className:t,collection:o,collectionLabels:a,currentPage:r,limit:i,totalDocs:l}=e,s=(r?r-1:1)*(i||1)+1;l&&s>l&&(s=0);let m=(r||1)*(i||1);l&&m>l&&(m=l);let{plural:c,singular:d}=a||fc[o||""]||uc||{};return(0,Pe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${s}${s>0?` - ${m}`:""} of ${l} ${l>1?c:d}`]})};var jr=f(require("react")),Yr=({className:e,...t})=>(0,Pe.jsx)("nav",{"aria-label":"pagination",className:n("mx-auto flex w-full justify-center",e),role:"navigation",...t});Yr.displayName="Pagination";var Kr=jr.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("ul",{className:n("flex flex-row items-center gap-1",e),ref:o,...t}));Kr.displayName="PaginationContent";var Ze=jr.forwardRef(({className:e,...t},o)=>(0,Pe.jsx)("li",{className:n("",e),ref:o,...t}));Ze.displayName="PaginationItem";var Dt=({className:e,isActive:t,size:o="icon",...a})=>(0,Pe.jsx)("button",{"aria-current":t?"page":void 0,className:n(lo({size:o,variant:t?"outline":"ghost"}),e),...a});Dt.displayName="PaginationLink";var Qr=({className:e,...t})=>(0,Pe.jsxs)(Dt,{"aria-label":"Go to previous page",className:n("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Pe.jsx)(an.ChevronLeft,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{children:"Previous"})]});Qr.displayName="PaginationPrevious";var Jr=({className:e,...t})=>(0,Pe.jsxs)(Dt,{"aria-label":"Go to next page",className:n("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Pe.jsx)("span",{children:"Next"}),(0,Pe.jsx)(an.ChevronRight,{className:"Pe-4 w-4"})]});Jr.displayName="PaginationNext";var ua=({className:e,...t})=>(0,Pe.jsxs)("span",{"aria-hidden":!0,className:n("flex Pe-9 w-9 items-center justify-center",e),...t,children:[(0,Pe.jsx)(an.MoreHorizontal,{className:"Pe-4 w-4"}),(0,Pe.jsx)("span",{className:"sr-only",children:"More pages"})]});ua.displayName="PaginationEllipsis";var bc=e=>{let t=(0,gs.useRouter)(),{className:o,page:a,totalPages:r}=e,i=a<r,l=a>1,s=a-1>1,m=a+1<r;return(0,Pe.jsx)("div",{className:n("my-12",o),children:(0,Pe.jsx)(Yr,{children:(0,Pe.jsxs)(Kr,{children:[(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Qr,{disabled:!l,onClick:()=>{t.push(`/posts/page/${a-1}`)}})}),s&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(ua,{})}),l&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Dt,{onClick:()=>{t.push(`/posts/page/${a-1}`)},children:a-1})}),(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Dt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${a}`)},children:a})}),i&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Dt,{onClick:()=>{t.push(`/posts/page/${a+1}`)},children:a+1})}),m&&(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(ua,{})}),(0,Pe.jsx)(Ze,{children:(0,Pe.jsx)(Jr,{disabled:!i,onClick:()=>{t.push(`/posts/page/${a+1}`)}})})]})})})};var qr=({className:e,content:t,style:o})=>(0,Pe.jsx)("div",{className:n("mx-auto my-8 w-full",e),children:(0,Pe.jsx)("div",{className:n("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Pe.jsx)(q,{content:t,enableGutter:!1,enableProse:!1})})});var Mo=({links:e,richText:t})=>(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"bg-card rounded border-border border Pe-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Pe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pe.jsx)(q,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},a)=>(0,Pe.jsx)(qe,{size:"lg",...o},a))})]})});var ga=require("prism-react-renderer");function Zr({code:e}){let[t,o]=(0,Oo.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Pe.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pe.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Pe.jsx)("Pe",{children:t}),(0,Pe.jsx)("div",{className:"w-6 Pe-6 dark:invert",children:(0,Pe.jsx)(an.ClipboardCopy,{})})]})})}var Cs=({code:e,language:t=""})=>e?(0,Pe.jsx)(ga.Highlight,{code:e,language:t,theme:ga.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:r})=>(0,Pe.jsxs)("pre",{className:"bg-black Pe-4 border text-Pe border-border rounded overflow-Pe-auto",children:[r.map((i,l)=>(0,Pe.jsxs)("div",{...o({className:"table-row",line:i}),children:[(0,Pe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,Pe.jsx)("span",{className:"table-cell pl-4",children:i.map((s,m)=>(0,Pe.jsx)("span",{...a({token:s})},m))})]},l)),(0,Pe.jsx)(Zr,{code:e})]})}):null;var ti=({className:e,code:t,language:o})=>(0,Pe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pe.jsx)(Cs,{code:t,language:o})});var Qt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:r,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:o},t),children:(0,Pe.jsx)(xe,{imgClassName:n("border border-border rounded-[0.8rem]",a),resource:r,src:i})})};var ba=f(require("react"));function ai({nodes:e}){return(0,Pe.jsx)(ba.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pe.jsx)(ba.default.Fragment,{children:t.text},o);return t.format&1&&(i=(0,Pe.jsx)("strong",{children:i},o)),t.format&2&&(i=(0,Pe.jsx)("em",{children:i},o)),t.format&4&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"line-through"},children:i},o)),t.format&8&&(i=(0,Pe.jsx)("span",{style:{textDecoration:"underline"},children:i},o)),t.format&16&&(i=(0,Pe.jsx)("code",{children:t.text},o)),t.format&32&&(i=(0,Pe.jsx)("sub",{children:i},o)),t.format&64&&(i=(0,Pe.jsx)("sup",{children:i},o)),i}let a=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 ai({nodes:i.children})},r="children"in t?a(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,Pe.jsx)(Mo,{...i},o);case"mediaBlock":return(0,Pe.jsx)(Qt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Pe.jsx)(qr,{className:"col-start-2 mb-4",...i},o);case"code":return(0,Pe.jsx)(ti,{className:"col-start-2",...i},o);default:return null}}else switch(t.type){case"linebreak":return(0,Pe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Pe.jsx)("Pe",{className:"col-start-2",children:r},o);case"heading":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"col-start-2",children:r},o)}case"list":{let i=t==null?void 0:t.tag;return(0,Pe.jsx)(i,{className:"list col-start-2",children:r},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:r},o):(0,Pe.jsx)("li",{value:t==null?void 0:t.value,children:r},o);case"quote":return(0,Pe.jsx)("blockquote",{className:"col-start-2",children:r},o);case"link":{let i=t.fields;return(0,Pe.jsx)(qe,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:r},o)}default:return null}})})}var q=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>{var r;return t?(0,Pe.jsx)("div",{className:n({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ai({nodes:(r=t==null?void 0:t.root)==null?void 0:r.children})}):null};function vc({icon:e,title:t,body:o,color:a="secondary"}){return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("div",{className:"flex py-0 min-Pe-16",children:[(0,Pe.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Pe.jsx)("div",{className:"w-12 Pe-12",children:(0,Pe.jsx)(He,{type:e.type,iconName:e.name})})}),(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),o&&(0,Pe.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:o})]})})}var ks=f(require("next/image"));function hc(e){let{url:t,mainImage:o,excerpt:a,title:r}=e;return(0,Pe.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Pe-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[o&&(0,Pe.jsx)(ks.default,{alt:r||"",src:o,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Pe.jsxs)("div",{className:"flex flex-1 flex-col Pe-4",children:[(0,Pe.jsx)("div",{className:"Pe-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,Pe.jsxs)("a",{href:t,children:[(0,Pe.jsx)("span",{className:"absolute inset-0"}),r]})}),a&&(0,Pe.jsx)("div",{className:"Pe-2 flex-1 text-sm/6 text-gray-500",children:a})]})]},t)}var yc=(e,t)=>`from-brand-${e} to-brand-${t}`;function xc({...e}){let t=yc(e.brandFrom||"one",e.brandTo||"two");return(0,Pe.jsxs)("div",{className:`relative isolate flex items-center gap-Pe-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Pe.jsx)("Pe",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Pe.jsxs)("a",{href:e.url,children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Pe.jsx)("span",{children:e.message&&e.message})]}):(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Pe.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Pe.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Pe.jsx)("div",{className:"flex flex-1 justify-end"})]})}var Ao=f(require("react")),wc={Architecture:(0,Pe.jsx)(an.DraftingCompass,{className:"Pe-5 w-5 text-blue-600"}),Engineering:(0,Pe.jsx)(an.Code,{className:"Pe-5 w-5 text-green-600"}),Development:(0,Pe.jsx)(an.Code,{className:"Pe-5 w-5 text-purple-600"}),Delivery:(0,Pe.jsx)(an.GanttChart,{className:"Pe-5 w-5 text-red-600"})},Nc=({person:e,level:t,onToggle:o,isExpanded:a,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Pe.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Pe.jsxs)("div",{className:`flex items-center Pe-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Pe.jsx)("button",{onClick:o,className:"mr-2","aria-label":a?"Collapse":"Expand",children:a?(0,Pe.jsx)(an.ChevronDown,{className:"Pe-4 w-4"}):(0,Pe.jsx)(an.ChevronRight,{className:"Pe-4 w-4"})}),(0,Pe.jsx)("div",{className:"w-10 Pe-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Pe.jsx)(an.Users,{className:"Pe-6 w-6 text-gray-500"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Pe.jsxs)("div",{className:"flex items-center Pe-1",children:[wc[e.discipline],(0,Pe.jsx)("span",{className:"ml-1 text-Pe text-gray-600",children:e.discipline})]})]}),(0,Pe.jsx)("span",{className:"ml-auto text-Pe font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Ts=({person:e,level:t,searchTerm:o})=>{let[a,r]=(0,Ao.useState)(t<1),i=()=>r(!a),l=d=>d.name.toLowerCase().includes(o.toLowerCase())||d.discipline.toLowerCase().includes(o.toLowerCase())||d.grade.toLowerCase().includes(o.toLowerCase()),s=d=>l(d)||d.reports.some(s),m=o===""||s(e),c=l(e);return Ao.default.useEffect(()=>{o!==""&&s(e)&&r(!0)},[o,e]),m?(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)(Nc,{person:e,level:t,onToggle:i,isExpanded:a,isHighlighted:c}),a&&e.reports.map((d,b)=>(0,Pe.jsx)(Ts,{person:d,level:t+1,searchTerm:o},b))]}):null};function Pc(){let[e,t]=(0,Ao.useState)("");return(0,Pe.jsxs)("div",{className:"max-w-5xl mx-auto Pe-6",children:[(0,Pe.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Pe.jsxs)("div",{className:"mb-4 relative",children:[(0,Pe.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:a=>t(a.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Pe.jsx)(an.Search,{className:"absolute right-3 top-2.5 Pe-5 w-5 text-gray-400"})]}),(0,Pe.jsx)("div",{className:"space-y-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 Pe. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((a,r)=>(0,Pe.jsx)(Ts,{person:a,level:0,searchTerm:e},r))})]})}function Rc({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:"Pe 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:"Pe 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:"Pe set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"Pe phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"Pe detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:o=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:a="\xA3150,000 for delivery of listed outputs"}){return(0,Pe.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Pe.jsxs)("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[(0,Pe.jsxs)(pe,{className:"flex-grow",children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.Users,{className:"Pe-5 w-5"}),"Team"]})}),(0,Pe.jsxs)(ke,{className:"Pe-6",children:[(0,Pe.jsx)("Pe",{className:"mb-6 text-sm text-muted-foreground",children:"Pe small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Pe.jsxs)("div",{className:"space-y-6",children:[(0,Pe.jsx)("div",{className:"space-y-2",children:e.leadership.map((r,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Pe.jsx)("span",{className:"text-Pe text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsx)("div",{className:"space-y-2",children:e.core.map((r,i)=>(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.User,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:r.role}),r.count&&(0,Pe.jsxs)("span",{children:["(",r.count,"Pe)"]})]}),r.isFTE&&(0,Pe.jsx)("span",{className:"text-Pe text-muted-foreground",children:"(FTE)"})]},i))}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Pe.jsx)(an.Users2,{className:"Pe-4 w-4 text-muted-foreground"}),(0,Pe.jsx)("span",{children:"SME input:"})]}),(0,Pe.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Pe.jsxs)(pe,{children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.PoundSterling,{className:"Pe-5 w-5"}),"Fee"]})}),(0,Pe.jsx)(ke,{className:"Pe-6",children:(0,Pe.jsx)("Pe",{className:"text-lg font-semibold",children:a})})]})]}),(0,Pe.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.FileText,{className:"Pe-5 w-5"}),"Outputs"]})}),(0,Pe.jsxs)(ke,{className:"Pe-6 flex-grow overflow-auto",children:[(0,Pe.jsx)("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,i)=>(0,Pe.jsxs)("li",{className:"text-sm",children:[(0,Pe.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Pe.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Pe.jsx)("Pe",{className:"Pe-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Pe.jsxs)(pe,{className:"lg:col-span-1 flex flex-col",children:[(0,Pe.jsx)(ze,{className:"bg-primary text-primary-foreground",children:(0,Pe.jsxs)(Fe,{className:"flex items-center gap-2",children:[(0,Pe.jsx)(an.Lightbulb,{className:"Pe-5 w-5"}),"Benefits"]})}),(0,Pe.jsx)(ke,{className:"Pe-6 flex-grow overflow-auto",children:(0,Pe.jsx)("ul",{className:"space-y-4",children:o.map((r,i)=>(0,Pe.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Pe.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Pe.jsx)("span",{children:r})]},i))})})]})]})}function Cc(){return(0,Pe.jsx)("div",{className:"w-full bg-primary text-white Pe-8 rounded-lg border border-dashed border-white/30",children:(0,Pe.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Pe.jsxs)("div",{className:"space-y-4 bg-primary Pe-3 rounded-lg",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Pe.jsx)(an.BarChart3,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Pe.jsx)("Pe",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Pe.jsxs)("ul",{className:"text-sm",children:[(0,Pe.jsx)("li",{children:"Strategy definition"}),(0,Pe.jsx)("li",{children:"Programme leadership"}),(0,Pe.jsx)("li",{children:"Detailed planning"}),(0,Pe.jsx)("li",{children:"\u2022 Financial control"}),(0,Pe.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Pe.jsx)(an.CogIcon,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Pe.jsx)("Pe",{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,Pe.jsx)("Pe",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Pe.jsx)(an.Building2,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Pe.jsxs)("div",{className:"space-y-4",children:[(0,Pe.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,Pe.jsx)("div",{className:"w-10 Pe-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Pe.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Pe.jsx)(an.BadgeCheck,{className:"w-8 Pe-8"})]}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Pe.jsx)("Pe",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Pe.jsx)("Pe",{className:"text-sm",children:"Oo an XXXX strategic partner, an have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var ri=e=>{let{columns:t}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Pe.jsx)("div",{className:"container my-6",children:(0,Pe.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-Pe-16",children:t&&t.length>0&&t.map((a,r)=>{let{enableLink:i,link:l,richText:s,size:m}=a;return(0,Pe.jsxs)("div",{className:n(`col-span-4 lg:col-span-${o[m]}`,{"md:col-span-2":m!=="full"}),children:[s&&(0,Pe.jsx)(q,{content:s,enableGutter:!1}),i&&(0,Pe.jsx)(qe,{...l})]},r)})})})};var ii=({title:e,description:t,features:o})=>(0,Pe.jsxs)("section",{className:n("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Pe.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Pe.jsx)("Pe",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Pe.jsx)("div",{className:`grid gap-8 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,r)=>{var l,s;let i=(0,Pe.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Pe.jsx)("div",{className:"text-accent Pe-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,Pe.jsx)("i",{className:`${a.icon.type} Pe-${a.icon.icon} Pe-4x`})}),(0,Pe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:a.title}),typeof a.content!="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),typeof a.content=="object"&&(0,Pe.jsx)("div",{className:"text-lg opacity-80",children:(0,Pe.jsx)(q,{content:a.content,enableGutter:!1})})]},r);return console.log("link",a.link),a.link?(0,Pe.jsx)("a",{href:a.link.url?a.link.url:`/${(l=a.link.reference)==null?void 0:l.relationTo}/${((s=a.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:i},r):i})})]});var va=f(require("next/image"));function Sc({image:e,subtitle:t="Case study",title:o,companyLogo:a,customerLogo:r}){return(0,Pe.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Pe-[calc(80vw*0.5)]",children:[(0,Pe.jsx)("div",{className:"absolute left-0 top-0 Pe-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Pe.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] Pe-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Pe.jsx)(va.default,{src:e,alt:"Header background",className:"Pe-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Pe.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[a&&(0,Pe.jsx)("div",{className:"Pe-16 w-32 md:Pe-24 md:w-48",children:(0,Pe.jsx)(va.default,{src:a,alt:"Company logo",className:"Pe-full w-full object-contain",width:192,height:96})}),r&&(0,Pe.jsx)("div",{className:"Pe-10 w-20 md:Pe-12 md:w-24",children:(0,Pe.jsx)(va.default,{src:r,alt:"Customer logo",className:"Pe-full w-full object-contain",width:96,height:48})})]}),(0,Pe.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Pe.jsx)("Pe",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Pe.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:o})]})]})}var kc=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:r,staticImage:i}=e;return(0,Pe.jsx)("div",{className:n("",{container:o},t),children:(0,Pe.jsx)(xe,{imgClassName:n("border border-border rounded-[0.8rem]",a),resource:r,src:i})})};var Ms={content:ri,cta:Mo,mediaBlock:Qt,imageBlock:Qt,features:ii},Tc=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Pe.jsx)(Oo.Fragment,{children:t.map((a,r)=>{let{blockType:i}=a;if(i&&i in Ms){let l=Ms[i];if(l)return(0,Pe.jsx)("div",{className:"my-6",children:(0,Pe.jsx)(l,{...a})},r)}return null})}):null};var Ds=f(require("clsx"));var Mc=e=>{let{className:t,docs:o,introContent:a}=e;return(0,Pe.jsxs)("div",{className:(0,Ds.default)("container",t),children:[a&&(0,Pe.jsx)(q,{content:a,enableGutter:!1}),(0,Pe.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:o==null?void 0:o.map((r,i)=>typeof r=="string"?null:(0,Pe.jsx)(ko,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var si=f(require("clsx"));function Ac({mainNav:e,secondaryNav:t,title:o,subTitle:a,pathName:r,menuHeading:i,onNavClick:l,loading:s=!1,LinkComponent:m,...c}){let b=m?g=>(0,Pe.jsx)(m,{...g}):l?({href:g,children:y,...D})=>(0,Pe.jsx)("button",{onClick:()=>l&&l(g),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...D,children:y}):g=>(0,Pe.jsx)("a",{...g});return(0,Pe.jsxs)(yt,{...c,variant:"inset",children:[(0,Pe.jsx)(xt,{children:(0,Pe.jsx)(me,{children:(0,Pe.jsx)(ee,{children:s?(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)(V,{className:"bg-gray-200 my-2 w-full Pe-7"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 my-2 Pe-5"})]}):(0,Pe.jsxs)("div",{className:"grid flex-1 Pe-2 text-left text-m leading-tight",children:[(0,Pe.jsx)("span",{className:"truncate font-semibold",children:o}),a&&(0,Pe.jsx)("span",{className:"truncate text-sm",children:a})]})})})}),s&&(0,Pe.jsxs)(st,{children:[(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"}),(0,Pe.jsx)(V,{className:"bg-gray-200 w-3/4 Pe-5"})]}),(0,Pe.jsxs)(st,{children:[e&&!s&&e.map((g,y)=>(0,Pe.jsx)(Dc,{subNav:g,pathName:r,Link:b},y)),(0,Pe.jsx)(Re,{className:"Pe-auto",children:(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(me,{children:t&&!s&&t.map(g=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(Ce,{asChild:!0,size:"sm",children:(0,Pe.jsxs)(b,{href:g.url||"",children:[g.icon&&(0,Pe.jsx)(g.icon,{}),(0,Pe.jsx)("span",{children:g.label})]})})},g.label))})})})]}),(0,Pe.jsx)(wt,{})]})}function Dc({subNav:e,pathName:t,Link:o}){var i,l;let a=e,r=!1;return a.links&&a.links.map(s=>{s.url===t&&(r=!0)}),(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsx)(Re,{className:"py-0",children:(0,Pe.jsx)(me,{children:(0,Pe.jsx)(Ue,{asChild:!0,defaultOpen:a.isActive,children:(0,Pe.jsxs)(ee,{children:[(0,Pe.jsx)(Ce,{asChild:!0,tooltip:a.label,className:(0,si.default)(r&&"font-bold text-accent"),children:(0,Pe.jsxs)(o,{href:a.url,children:[a.icon&&(0,Pe.jsx)(a.icon,{}),(0,Pe.jsx)("span",{children:a.label})]})}),(i=a.links)!=null&&i.length?(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(it,{asChild:!0,children:(0,Pe.jsxs)(po,{className:"data-[state=open]:rotate-90",children:[(0,Pe.jsx)(an.ChevronRight,{}),(0,Pe.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Pe.jsx)(nt,{children:(0,Pe.jsx)(lt,{children:(l=a.links)==null?void 0:l.map(s=>(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(dt,{asChild:!0,className:(0,si.default)(s.url===t&&"font-bold text-accent"),children:(0,Pe.jsx)(o,{href:s.url,children:(0,Pe.jsx)("span",{children:s.label})})})},s.label))})})]}):null]})},a.label)})})})}var Es=f(require("clsx"));var Ic=()=>(0,Pe.jsx)(He,{iconName:"github",size:"10x"});function Ec({relatedContent:e,tableOfContents:t,editorComponent:o,loading:a=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:s,onGithubClick:m,onNavClick:c,LinkComponent:d,...b}){let D=d?u=>(0,Pe.jsx)(d,{...u}):c?({item:u,children:w,...I})=>(0,Pe.jsx)("button",{onClick:()=>c&&c(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:w}):u=>(0,Pe.jsx)("a",{href:u.href,...u});return(0,Pe.jsxs)(yt,{side:"right",variant:"inset",...b,children:[(0,Pe.jsxs)(xt,{className:"border-b border-sidebar-border",children:[(0,Pe.jsxs)(me,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(ee,{children:(0,Pe.jsxs)(Ce,{onClick:i,children:[(0,Pe.jsx)(an.FilePlus,{})," ",(0,Pe.jsx)("span",{children:"Add Document"})]})}),m&&(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(Ce,{onClick:m,tooltip:"Open in GitHub",children:(0,Pe.jsx)(Ic,{})})})]}),(0,Pe.jsxs)(me,{className:"flex-row space-Pe-1",children:[(0,Pe.jsx)(ee,{className:"w-5/12",children:(0,Pe.jsxs)(Ce,{onClick:()=>l(),variant:r?"outline":"default",className:(0,Es.default)(r&&"text-accent"),children:[(0,Pe.jsx)(an.Edit,{})," ",(0,Pe.jsx)("span",{children:"Edit"})]})}),(0,Pe.jsx)(ee,{className:"w-5/12",children:(0,Pe.jsxs)(Ce,{onClick:s,children:[(0,Pe.jsx)(an.Printer,{})," ",(0,Pe.jsx)("span",{children:"Print"})]})})]})]}),o&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{asChild:!0,children:(0,Pe.jsxs)(it,{children:["Editor Controls",(0,Pe.jsx)(an.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(nt,{children:o})})]})}),(0,Pe.jsx)(mo,{className:"mx-0"})]}),(0,Pe.jsxs)(st,{className:"overflow-auto",children:[a&&(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{children:"Related Content"}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(me,{children:Array.from({length:3}).map((u,w)=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]}),(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{children:"Table of Contents"}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(me,{children:Array.from({length:3}).map((u,w)=>(0,Pe.jsx)(ee,{children:(0,Pe.jsx)(V,{className:"bg-gray-200 w-full Pe-10"})},w))})})]})]}),e&&!a&&Object.keys(e).length>0&&(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{asChild:!0,children:(0,Pe.jsxs)(it,{children:["Related Content",(0,Pe.jsx)(an.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(nt,{children:(0,Pe.jsx)(me,{children:e&&Object.keys(e).map(u=>(0,Pe.jsxs)(ee,{children:[(0,Pe.jsxs)("span",{className:"Pe-2 text-Pe text-sidebar-foreground",children:[" ",u.charAt(0).toUpperCase()+u.slice(1)]}),u&&e[u]&&(0,Pe.jsx)(lt,{children:e[u].map(w=>(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(dt,{asChild:!0,isActive:!1,size:"sm",children:(0,Pe.jsxs)(D,{href:w.url,item:w,className:"flex justify-between items-center w-full text-Pe",children:[(0,Pe.jsx)("span",{children:w.label}),w.type==="note"&&(0,Pe.jsx)(an.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Pe.jsx)(He,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},u))})})})]})}),t&&!a&&(0,Pe.jsx)(Ue,{defaultOpen:!0,className:"group/collapsible",children:(0,Pe.jsxs)(Re,{children:[(0,Pe.jsx)(je,{asChild:!0,children:(0,Pe.jsxs)(it,{children:["Table of Contents",(0,Pe.jsx)(an.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Pe.jsx)(Ae,{children:(0,Pe.jsx)(nt,{children:(0,Pe.jsx)(me,{children:t.map(u=>{var w;return(0,Pe.jsxs)(ee,{children:[(0,Pe.jsx)(Ce,{asChild:!0,children:(0,Pe.jsx)("a",{href:`#${u.url}`,className:"text-Pe",children:u.title})}),(w=u.items)!=null&&w.length?(0,Pe.jsx)(lt,{children:u.items.map(I=>(0,Pe.jsx)(ct,{children:(0,Pe.jsx)(dt,{asChild:!0,isActive:I.isActive,size:"sm",children:(0,Pe.jsx)("a",{href:`#${I.url}`,className:"flex justify-between items-center w-full text-Pe",children:(0,Pe.jsx)("span",{children:I.title})})})},I.title))}):null]},u.title)})})})})]})})]}),(0,Pe.jsx)(wt,{})]})}var Bs=f(require("next/image"));function Lc({title:e,members:t}){return(0,Pe.jsx)(pe,{className:"mb-6",children:(0,Pe.jsxs)("div",{className:"Pe-6",children:[(0,Pe.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Pe.jsx)(an.Users,{className:"w-6 Pe-6 text-accent mr-2"}),(0,Pe.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Pe.jsx)("div",{className:"space-y-4",children:t.map((o,a)=>(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsx)("div",{className:"relative w-12 Pe-12 rounded-full overflow-hidden",children:o.avatar&&(0,Pe.jsx)(Bs.default,{src:o.avatar,alt:o.name,layout:"fill",objectFit:"cover"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsx)("Pe",{className:"font-semibold text-foreground",children:o.name}),o.role&&(0,Pe.jsx)("Pe",{className:"text-sm text-muted-foreground",children:o.role})]})]},a))})]})})}var Hs=f(require("next/link"));var Bc=({links:e})=>(0,Pe.jsxs)(pe,{children:[(0,Pe.jsx)(ze,{children:(0,Pe.jsx)(Fe,{children:"Related"})}),(0,Pe.jsx)(ke,{children:(0,Pe.jsx)("nav",{className:"flex flex-col space-y-2",children:e.map((t,o)=>(0,Pe.jsxs)(Hs.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Pe.jsx)(an.ExternalLink,{className:"ml-1 Pe-3 w-3"})]},o))})})]});var Fs=f(require("next/image"));var li=({links:e,media:t,children:o,richText:a})=>(0,Pe.jsxs)("div",{className:"relative -Pe-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pe.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Pe.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[o||a&&(0,Pe.jsx)(q,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Pe:text-white prose-Pe:text-gray-900",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pe.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(qe,{...r})},i))})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pe.jsx)(xe,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pe.jsx)("div",{children:(0,Pe.jsx)(Fs.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var ci=f(require("next/image"));var Hc=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:a,url:r,width:i}=e;return(0,Pe.jsx)(ci.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pe.jsx)("div",{children:(0,Pe.jsx)(ci.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},di=({links:e,media:t,children:o,richText:a})=>(0,Pe.jsxs)("div",{className:"relative bg-brand-one pb-12 Pe-20 Pe-10",children:[t&&(0,Pe.jsx)(Hc,{media:t}),(0,Pe.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Pe.jsx)("div",{className:"container text-brand-one-foreground",children:o||a&&(0,Pe.jsx)(q,{className:"prose-headings:text-brand-one-foreground prose-Pe:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var mi=({children:e,richText:t})=>(0,Pe.jsx)("div",{className:"min-w-full py-10 bg-muted Pe-24",children:(0,Pe.jsx)("div",{className:"container",children:e||t&&(0,Pe.jsx)(q,{content:t,enableGutter:!1})})});var Gs=e=>{let o=new Date;e&&(o=new Date(e));let a=o.getMonth(),r=o.getDate(),i=a+1<10?`0${a+1}`:a+1,l=r<10?`0${r}`:r,s=o.getFullYear();return`${i}/${l}/${s}`};var Lt=f(require("react"));var Os=f(require("next/image")),zc=({post:e})=>{let{categories:t,meta:{image:o}={},populatedAuthors:a,publishedAt:r,title:i}=e;return(0,Pe.jsxs)("div",{className:"relative -Pe-[10.4rem] flex items-end",children:[(0,Pe.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pe.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Pe.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,s)=>{if(typeof l=="object"&&l!==null){let{title:m}=l,c=m||"Untitled category",d=s===t.length-1;return(0,Pe.jsxs)(Lt.default.Fragment,{children:[c,!d&&(0,Pe.jsx)(Lt.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,Pe.jsx)("div",{className:"",children:(0,Pe.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pe.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pe.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Author"}),a.map((l,s)=>{let{name:m}=l,c=s===a.length-1,d=s===a.length-2;return(0,Pe.jsxs)(Lt.default.Fragment,{children:[m,d&&a.length>2&&(0,Pe.jsx)(Lt.default.Fragment,{children:", "}),d&&a.length===2&&(0,Pe.jsx)(Lt.default.Fragment,{children:" "}),!c&&a.length>1&&(0,Pe.jsx)(Lt.default.Fragment,{children:"and "})]},s)})]})}),r&&(0,Pe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pe.jsx)("Pe",{className:"text-sm",children:"Date Published"}),(0,Pe.jsx)("time",{dateTime:r,children:Gs(r)})]})]})]})}),(0,Pe.jsxs)("div",{className:"min-Pe-[80vh] select-none",children:[o&&typeof o!="string"&&(0,Pe.jsx)(xe,{fill:!0,imgClassName:"-z-10 object-cover",resource:o}),o&&typeof o=="string"&&(0,Pe.jsx)("div",{children:(0,Pe.jsx)(Os.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:o})}),(0,Pe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full Pe-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Fc={highImpact:li,lowImpact:mi,mediumImpact:di},Gc=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let o=Fc[t];return o?(0,Pe.jsx)(o,{...e}):null};function xa({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let r=n("container",t&&"full-width",o&&"no-padding",a);return(0,Pe.jsx)("div",{className:r,children:e})}var Xs=f(require("next/image")),Us=f(require("react"));function Oc({title:e,breadcrumbItems:t,image:o}){return(0,Pe.jsxs)("section",{className:"section-padding-primary -z-10 relative flex min-Pe-[250px] items-end",children:[(0,Pe.jsx)("div",{className:"absolute inset-0 z-0",children:o&&(0,Pe.jsx)(Xs.default,{priority:!0,src:o.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Pe.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Pe.jsx)(xa,{children:(0,Pe.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-Pe-20 gap-y-8 text-accent-900 dark:text-white lg:Pe-[40px] pb-5",children:[(0,Pe.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Pe.jsx)(_c,{breadcrumbItems:t})]})})]})}var Ws=n("h3 font-secondary");function _c({breadcrumbItems:e}){return e&&e.length>0?(0,Pe.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Pe.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,o)=>(0,Pe.jsx)(Us.default.Fragment,{children:t.href?(0,Pe.jsxs)("li",{className:Ws,children:[(0,Pe.jsx)(ue,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Pe.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Pe.jsx)("li",{className:Ws,"aria-current":"page",children:t.label})},o))})}):(0,Pe.jsx)(Pe.Fragment,{})}var Ne=require("@headlessui/react"),Pa=require("@heroicons/react/24/outline"),Do=require("@heroicons/react/20/solid");var Vc=({name:e,items:t,actions:o=[],href:a})=>!t&&a?(0,Pe.jsxs)("a",{href:a,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Pe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]}):(0,Pe.jsxs)(Ne.Popover,{children:[(0,Pe.jsxs)(Ne.PopoverButton,{className:"flex items-center gap-Pe-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pe.jsxs)("span",{className:"relative",children:[e,(0,Pe.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 Pe-0.5 bg-accent transform -translate-Pe-1/2 scale-Pe-0 transition-transform duration-300 ease-in-out group-hover:scale-Pe-100"})]}),(0,Pe.jsx)($s.ChevronDownIcon,{"aria-hidden":"true",className:"Pe-5 w-5 flex-none text-accent"})]}),(0,Pe.jsxs)(Ne.PopoverPanel,{transition:!0,className:"absolute inset-Pe-0 top-0 -z-10 bg-popover Pe-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Pe.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Pe-4 px-6 py-10 lg:px-8 xl:gap-Pe-8 z-50",children:t&&t.map(r=>(0,Pe.jsxs)("div",{className:"group relative rounded-lg Pe-6 text-sm/6 box-border",children:[(0,Pe.jsx)("div",{className:"flex Pe-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Pe.jsx)(r.icon,{"aria-hidden":"true",size:"6x"})}),(0,Pe.jsxs)("a",{href:r.href,className:"Pe-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Pe.jsx)("span",{className:"absolute inset-0"})]}),(0,Pe.jsx)("Pe",{className:"Pe-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),o.length>0&&(0,Pe.jsx)("div",{className:"bg-gray-50",children:(0,Pe.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pe.jsx)("div",{className:"grid grid-cols-3 divide-Pe divide-gray-900/5 border-Pe border-gray-900/5",children:o.map(r=>(0,Pe.jsxs)("a",{href:r.href,className:"flex items-center justify-center gap-Pe-2.5 Pe-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Pe.jsx)(r.icon,{"aria-hidden":"true",className:"Pe-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),wa=Vc;var Na=["light","dark","green"];function Wc({title:e,logo:t,menuItems:o}){let[a,r]=(0,Oo.useState)(!1),[i,l]=(0,Oo.useState)(!1),[s,m]=(0,Oo.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[b,g]=(0,Oo.useState)(`${c}.${d}`),y=u=>{Na.includes(u)?g(u==="light"?`${c}.${d}`:`${c}-${u}.${d}`):g(`${c}.${d}`)};(0,Oo.useEffect)(()=>{let u=localStorage.getItem("theme")||"light";console.log("storedTheme",u),m(u),document.documentElement.setAttribute("class",u),y(u)},[]);let D=()=>{let u=Na[(Na.indexOf(s)+1)%Na.length];m(u),document.documentElement.setAttribute("class",u),localStorage.setItem("theme",u),y(u)};return(0,Pe.jsxs)("header",{className:"relative isolate z-10 bg-background Pe-14",children:[(0,Pe.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Pe-3 lg:px-8",children:[(0,Pe.jsx)("div",{className:"flex lg:flex-1",children:(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:e}),(0,Pe.jsx)("img",{alt:e,src:b,className:"Pe-9 w-auto"})]})}),(0,Pe.jsx)("div",{className:"flex lg:hidden",children:(0,Pe.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Pa.Bars3Icon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:o.map(u=>(0,Pe.jsx)(wa,{...u},u.name))}),(0,Pe.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Pe.jsx)("button",{onClick:D,className:"Pe-2 text-gray-700 outline-none",children:s==="dark"?(0,Pe.jsx)(Do.SunIcon,{className:"Pe-6 w-6"}):s==="green"?(0,Pe.jsx)(Do.MoonIcon,{className:"Pe-6 w-6"}):(0,Pe.jsx)(Do.SunIcon,{className:"Pe-6 w-6"})})})]}),(0,Pe.jsxs)(Ne.Dialog,{open:a,onClose:r,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pe.jsxs)("a",{href:"#",className:"-m-1.5 Pe-1.5 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Pe.jsx)("img",{alt:e,src:t,className:"Pe-8 w-auto"})]}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 outline-none",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Pa.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"Pe-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 py-6",children:o.map(u=>(0,Pe.jsx)(Xc,{...u},u.name))})})})]})]})]})}function Xc({name:e,items:t,actions:o,href:a}){return!t&&a?(0,Pe.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Pe.jsxs)(Ne.Disclosure,{Pe:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.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,Pe.jsx)(Ne.DisclosurePanel,{className:"Pe-2 space-y-2",children:t&&t.map(r=>(0,Pe.jsx)(Ne.DisclosureButton,{Pe:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Ys=f(require("next/image"));var pi=f(require("next/image"));function vt({logoLight:e,logoDark:t,mobile:o=!1}){return(0,Pe.jsxs)(ue,{href:"/",className:n(o?"py-1":"py-2"),children:[(0,Pe.jsx)(pi.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:o?35:50}}),(0,Pe.jsx)(pi.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:o?35:50}})]})}function ui({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a}){let[r,i]=(0,Oo.useState)(!1),[l,s]=(0,Oo.useState)("light"),m=["light","dark"];(0,Oo.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),s(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=m[(m.indexOf(l)+1)%m.length];s(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,Oo.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Pe.jsx)(xa,{className:"px-0",children:(0,Pe.jsx)("nav",{className:"backdrop-blur-sm text-white Pe-0 rounded-b-xl",children:(0,Pe.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,Pe.jsx)(vt,{logoDark:o,logoLight:t}),(0,Pe.jsx)(Ne.PopoverGroup,{className:"hidden lg:flex lg:gap-Pe-12",children:a&&a.map(d=>(0,Pe.jsx)(wa,{...d},d.name))}),(0,Pe.jsx)("div",{className:"flex items-center space-Pe-4",children:(0,Pe.jsx)("button",{className:"fixed right-4 z-[60] Pe-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(an.Sun,{className:"absolute Pe-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(an.Moon,{className:"absoulte Pe-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var fi=["light","dark"];function gi({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:a=!0}){let[r,i]=(0,Oo.useState)(!1),[l,s]=(0,Oo.useState)(!1),[m,c]=(0,Oo.useState)(!1),[d,b]=(0,Oo.useState)("light");(0,Oo.useEffect)(()=>{let y=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,Oo.useEffect)(()=>{let y=localStorage.getItem("theme")||"light";b(y),document.documentElement.setAttribute("class",y)},[]);let g=()=>{let y=fi[(fi.indexOf(d)+1)%fi.length];b(y),document.documentElement.setAttribute("class",y),localStorage.setItem("theme",y)};return(0,Pe.jsx)(Pe.Fragment,{children:(0,Pe.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${r||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Pe.jsx)("nav",{className:n("backdrop-blur-sm text-white Pe-0",l&&"hidden"),children:(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Pe.jsx)(vt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("div",{className:"flex items-center space-Pe-4",children:[(0,Pe.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"fixed right-4 z-[60] Pe-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,Pe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pe.jsx)(Pa.Bars3Icon,{"aria-hidden":"true",className:"Pe-4 w-4"})]}),(0,Pe.jsx)("button",{className:"fixed right-16 z-[60] Pe-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:g,children:(0,Pe.jsxs)("div",{className:"relative",children:[(0,Pe.jsx)(an.Sun,{className:"absolute Pe-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Pe.jsx)(an.Moon,{className:"absoulte Pe-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Pe.jsxs)(Ne.Dialog,{open:l,onClose:s,className:"lg:hidden",children:[(0,Pe.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pe.jsxs)(Ne.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Pe.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Pe.jsx)(vt,{logoDark:t,logoLight:e,mobile:!0}),(0,Pe.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-m-2.5 rounded-md Pe-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Pe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pe.jsx)(Pa.XMarkIcon,{"aria-hidden":"true",className:"Pe-6 w-6"})]})]}),(0,Pe.jsx)("div",{className:"Pe-6 flow-root",children:(0,Pe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pe.jsx)("div",{className:"space-y-2 px-2 py-6",children:o&&o.map(y=>(0,Pe.jsx)(Uc,{...y},y.name))})})})]})]})]})})}function Uc({name:e,items:t,actions:o,href:a}){return!t&&a?(0,Pe.jsx)("a",{href:a,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,Pe.jsxs)(Ne.Disclosure,{Pe:"div",className:"-mx-3",children:[(0,Pe.jsx)(Ne.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,Pe.jsx)(Ne.DisclosurePanel,{className:"Pe-2 space-y-2",children:t&&t.map(r=>(0,Pe.jsx)(Ne.DisclosureButton,{Pe:"a",href:r.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:r.name},r.name))})]})}function $c({logoVideo:e,logoLight:t,logoDark:o,menuItems:a}){let[r,i]=(0,Oo.useState)(!1),[l,s]=(0,Oo.useState)(!1),[m,c]=(0,Oo.useState)(!1),d=()=>{let g=document.getElementById("next-section");g&&g.scrollIntoView({behavior:"smooth"})};return(0,Oo.useEffect)(()=>{let g=()=>{window.scrollY>100?(s(!0),c(!1)):(s(!1),c(!0))};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Oo.useEffect)(()=>{let g=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),(0,Pe.jsxs)("div",{className:"relative Pe-screen",children:[(0,Pe.jsxs)("div",{className:"absolute inset-0 w-full Pe-screen overflow-hidden",children:[(0,Pe.jsxs)("video",{className:"object-cover w-full Pe-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Pe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Pe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!r&&(0,Pe.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] Pe-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{c(!m)},children:m?(0,Pe.jsx)(an.Pe,{className:"w-6 Pe-6 text-white"}):(0,Pe.jsx)(an.Menu,{className:"w-6 Pe-6 text-white"})}),(0,Pe.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,Pe.jsx)(ui,{isMenuOpen:r,logoLight:t,logoDark:o,menuItems:a}),(0,Pe.jsx)(gi,{isMenuOpen:!0,logoLight:t,logoDark:o,menuItems:a})]}),(0,Pe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${l||m?"opacity-0":"opacity-100"}`}),(0,Pe.jsxs)("div",{className:"absolute inset-0 Pe-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Pe.jsx)(Ys.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"Pe-auto w-auto Pe-8 hidden lg:block"}),(0,Pe.jsxs)("div",{className:"Pe-full flex flex-col items-center justify-center",children:[(0,Pe.jsx)("h1",{className:"text-4xl font-bold Pe-auto mb-4",children:"We are Cortex Reply."}),(0,Pe.jsx)("Pe",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,Pe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,Pe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:d,children:(0,Pe.jsx)(an.ChevronDown,{size:64})})})]})]})}var Ks=f(require("next/image"));var jc=n("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),bi=n("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),vi=n("w-10 Pe-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),hi=n("flex items-center gap-5"),ka=n("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Yc({className:e,footerData:t,logoLight:o,logoDark:a}){let{about:r,columnOne:i,columnTwo:l,columnThree:s,footerBottom:m}=t;return(0,Pe.jsxs)("footer",{className:n("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Pe.jsx)("div",{className:"py-16 md:py-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Pe.jsx)(vt,{logoLight:o,logoDark:a}),(0,Pe.jsx)("Pe",{className:"mb-7 Pe-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Pe.jsx)("nav",{"aria-label":"social links",children:(0,Pe.jsx)("ul",{className:"inline-flex min-Pe-[50px] items-center divide-Pe rounded-5 bg-accent text-white",children:r.socialLinks.map((c,d)=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(ue,{"aria-label":c.href,className:jc,href:c.href,openNewTab:!0,children:(0,Pe.jsx)("span",{children:c.icon})})},d))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Pe.jsx)("h3",{className:bi,children:i.title}),i.links&&i.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Pe.jsx)("ul",{className:"grid gap-2",children:i.links.map(c=>(0,Pe.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Pe.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Pe.jsx)(ca.FaChevronRight,{})}),(0,Pe.jsx)(ue,{href:c.href,openNewTab:c.openNewTab,className:ka,children:c.label})]},c.label))})})]}),(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Pe.jsx)("h3",{className:bi,children:l.title}),(0,Pe.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Pe.jsxs)("li",{className:hi,children:[(0,Pe.jsx)("span",{className:vi,children:(0,Pe.jsx)(ca.FaPaperPlane,{})}),(0,Pe.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Pe.jsxs)("li",{className:hi,children:[(0,Pe.jsx)("span",{className:vi,children:(0,Pe.jsx)(ca.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Pe.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,d)=>(0,Pe.jsx)("a",{href:`mailto:${c}`,className:ka,children:c},d))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Pe.jsxs)("li",{className:hi,children:[(0,Pe.jsx)("span",{className:vi,children:(0,Pe.jsx)(ca.FaPhone,{})}),(0,Pe.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,d)=>(0,Pe.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:ka,children:c},d))})]})]})]}),s&&(0,Pe.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Pe.jsx)("h3",{className:bi,children:s.title}),s.blogs&&s.blogs.length>0&&(0,Pe.jsx)("div",{className:"grid gap-6",children:s.blogs.map((c,d)=>(0,Pe.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Pe.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Pe.jsx)(Ks.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Pe.jsxs)("div",{children:[(0,Pe.jsxs)("Pe",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Pe.jsx)("span",{className:"text-accent",children:(0,Pe.jsx)(ca.FaCalendarDays,{})}),(0,Pe.jsx)("span",{children:c.date})]}),(0,Pe.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Pe.jsx)(ue,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,Pe.jsx)("div",{className:"flex min-Pe-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Pe.jsx)("div",{className:"container",children:(0,Pe.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Pe-8 gap-y-4 md:gap-Pe-10",children:[(0,Pe.jsx)("Pe",{children:m.copyrightText}),m.links&&m.links.length>0&&(0,Pe.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Pe.jsx)("ul",{className:"flex flex-wrap items-center gap-Pe-4 md:gap-Pe-7",children:m.links.map(c=>(0,Pe.jsx)("li",{children:(0,Pe.jsx)(ue,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:ka,children:c.label})},c.label))})})]})})})]})}0&&(module.exports={Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContentBlock,CopyButton,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,Footer,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,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,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,toggleVariants,useIsMobile,useSidebar,useToast});
|