cortex-react-components 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -32
- package/dist/{chunk-CPKQIUX4.mjs → chunk-2AXMVN4X.mjs} +1 -1
- package/dist/{chunk-ZQIQIKGT.mjs → chunk-2SI3V2Z7.mjs} +1 -1
- package/dist/chunk-4HEHNTLZ.mjs +1 -0
- package/dist/{chunk-N67IYQRE.mjs → chunk-64NIISYM.mjs} +1 -1
- package/dist/{chunk-GQKIQZ5T.mjs → chunk-7GI2YHED.mjs} +1 -1
- package/dist/{chunk-GKPGUJII.mjs → chunk-AIQJDK4Q.mjs} +1 -1
- package/dist/{chunk-ZRH3Z62F.mjs → chunk-BMUASNWP.mjs} +1 -1
- package/dist/{chunk-EZBQVFIZ.mjs → chunk-GWE3AGWP.mjs} +1 -1
- package/dist/{chunk-BXT4ZXHS.mjs → chunk-HTIXQIZ5.mjs} +1 -1
- package/dist/chunk-IDAAQH7G.mjs +1 -0
- package/dist/{chunk-6UHKJY7S.mjs → chunk-IELYTAA6.mjs} +1 -1
- package/dist/{chunk-AFA6LBJ4.mjs → chunk-IPHHUHS3.mjs} +1 -1
- package/dist/{chunk-UACG2TJ3.mjs → chunk-MQ4EJM4U.mjs} +1 -1
- package/dist/{chunk-JH5Q7PCH.mjs → chunk-NUXUAT6C.mjs} +1 -1
- package/dist/{chunk-Q5YMFYZ3.mjs → chunk-OOV6HBOT.mjs} +1 -1
- package/dist/{chunk-ADPXM7KO.mjs → chunk-OSJADXUM.mjs} +1 -1
- package/dist/chunk-QPYYNUYT.mjs +1 -0
- package/dist/{chunk-HMZ7M6O7.mjs → chunk-RKEU6GJQ.mjs} +1 -1
- package/dist/{chunk-GZ4Q2S2Q.mjs → chunk-SX4AMMTO.mjs} +1 -1
- package/dist/chunk-TMIXFPRY.mjs +1 -0
- package/dist/{chunk-5FLNXLSS.mjs → chunk-WZZ2YKDZ.mjs} +1 -1
- package/dist/{chunk-NN3TSSQT.mjs → chunk-XSCW6RG5.mjs} +1 -1
- package/dist/{chunk-T63M5EHE.mjs → chunk-Z2XIQVGO.mjs} +1 -1
- package/dist/{chunk-HBHBESNA.mjs → chunk-Z4V2VUJ4.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.d.ts +19 -17
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.d.ts +5 -0
- package/dist/components/Heros/index.js +4 -0
- package/dist/components/Heros/index.mjs +1 -0
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.d.ts +1 -1
- package/dist/components/Menus/SimpleHeader.js +1 -1
- package/dist/components/Menus/SimpleHeader.mjs +1 -1
- package/dist/components/Menus/SimpleHeader.stories.js +1 -1
- package/dist/components/Menus/SimpleHeader.stories.mjs +1 -1
- package/dist/components/Menus/index.d.ts +4 -5
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +89 -89
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +104 -104
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +89 -89
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-3G4BZOQD.mjs → chunk-ZKEY52ZF.mjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../../chunk-
|
|
1
|
+
import{a as r}from"../../chunk-2SI3V2Z7.mjs";import{a as n}from"../../chunk-PAG346RY.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-HTIXQIZ5.mjs";import"../../chunk-64NIISYM.mjs";import"../../chunk-GS2BYKPO.mjs";import"../../chunk-JODGODRI.mjs";import"../../chunk-XHQLYY3W.mjs";import"../../chunk-Z4V2VUJ4.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-LKBMU736.mjs";import"../../chunk-BUTUFEFR.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-TMIXFPRY.mjs";import"../../chunk-OSJADXUM.mjs";import"../../chunk-QPYYNUYT.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-OOV6HBOT.mjs";import"../../chunk-72BBXZKW.mjs";import"../../chunk-HU5RE6RN.mjs";import{a as l}from"../../chunk-BYTBE2HZ.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-AIQJDK4Q.mjs";import"../../chunk-BMUASNWP.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-GWE3AGWP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-WZZ2YKDZ.mjs";import"../../chunk-2AXMVN4X.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-CV7PH2KH.mjs";import{c as o}from"../../chunk-D2WXBUVJ.mjs";import{BookOpen as a,LifeBuoy as s,Send as u,Settings2 as c}from"lucide-react";var e=o(n());import{PhoneIcon as d,PlayCircleIcon as m,RectangleGroupIcon as p}from"@heroicons/react/20/solid";import{ChartPieIcon as g,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var b=()=>t(l,{iconName:"github",size:"4x",type:"brands"}),f=()=>t(l,{iconName:"aws",type:"brands"}),w=()=>t(l,{iconName:"azure",type:"kit"}),k=()=>t(l,{iconName:"people-sharing",type:"kit"}),S=()=>t(l,{iconName:"cloud-network-sharing",type:"kit"}),y=()=>t(l,{iconName:"development",type:"kit"}),X={title:"Pages/IndexPage",component:r,decorators:[i=>t("div",{className:"bg-sidebar",children:t(i,{})})]},A=i=>t(r,{...i}),Z={render:A,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:S},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:y}]},{name:"Resources",items:[{name:"IndexPage",href:"#",icon:g},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:b}],actions:[{name:"Watch demo",href:"#",icon:m},{name:"Contact sales",href:"#",icon:d},{name:"View all products",href:"#",icon:p}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,e.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:f,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:w,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"IndexPage",url:"#",icon:a,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:c,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:s},{label:"Feedback",url:"#",icon:u}],onSidebarMenu:(0,e.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()},tiles:[{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim.",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Hello World",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Hello World",title:"Hello World"}],github:{onPublishDraft:(0,e.fn)(),handleNewBranch:(0,e.fn)(),handlePR:(0,e.fn)(),onSave:(0,e.fn)()}}};export{Z as Default,X as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
|
-
"use strict";var bt=Object.create;var ae=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var xt=Object.getOwnPropertyNames;var vt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var wt=(e,t)=>{for(var r in t)ae(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of xt(t))!yt.call(e,a)&&a!==r&&ae(e,a,{get:()=>t[a],enumerable:!(o=ht(t,a))||o.enumerable});return e};var T=(e,t,r)=>(r=e!=null?bt(vt(e)):{},Le(t||!e||!e.__esModule?ae(r,"default",{value:e,enumerable:!0}):r,e)),At=e=>Le(ae({},"__esModule",{value:!0}),e);var cr={};wt(cr,{default:()=>gt});module.exports=At(cr);var Qe=require("clsx");var ye="-",Nt=e=>{let t=Pt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(ye);return n[0]===""&&n.length!==1&&n.shift(),Ge(n,t)||Ct(i)},getConflictingClassGroupIds:(i,n)=>{let f=r[i]||[];return n&&o[i]?[...f,...o[i]]:f}}},Ge=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?Ge(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(ye);return(i=t.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},ze=/^\[(.+)\]$/,Ct=e=>{if(ze.test(e)){let t=ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Pt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return kt(Object.entries(e.classGroups),r).forEach(([s,i])=>{ve(i,o,s,t)}),o},ve=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:He(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Rt(a)){ve(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,i])=>{ve(i,He(t,s),r,o)})})},He=(e,t)=>{let r=e;return t.split(ye).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Rt=e=>e.isThemeGetter,kt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[t+i,n])):s);return[r,a]}):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return a(s,i),i},set(s,i){r.has(s)?r.set(s,i):a(s,i)}}},Fe="!",Et=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,i=n=>{let f=[],l=0,u=0,w;for(let h=0;h<n.length;h++){let C=n[h];if(l===0){if(C===a&&(o||n.slice(h,h+s)===t)){f.push(n.slice(u,h)),u=h+s;continue}if(C==="/"){w=h;continue}}C==="["?l++:C==="]"&&l--}let v=f.length===0?n:n.substring(u),N=v.startsWith(Fe),k=N?v.substring(1):v,c=w&&w>u?w-u:void 0;return{modifiers:f,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:c}};return r?n=>r({className:n,parseClassName:i}):i},It=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Tt=e=>({cache:Mt(e.cacheSize),parseClassName:Et(e),...Nt(e)}),St=/\s+/,Bt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],i=e.trim().split(St),n="";for(let f=i.length-1;f>=0;f-=1){let l=i[f],{modifiers:u,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:N}=r(l),k=!!N,c=o(k?v.substring(0,N):v);if(!c){if(!k){n=l+(n.length>0?" "+n:n);continue}if(c=o(v),!c){n=l+(n.length>0?" "+n:n);continue}k=!1}let h=It(u).join(":"),C=w?h+Fe:h,M=C+c;if(s.includes(M))continue;s.push(M);let F=a(c,k);for(let U=0;U<F.length;++U){let te=F[U];s.push(C+te)}n=l+(n.length>0?" "+n:n)}return n};function Dt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ue(t))&&(o&&(o+=" "),o+=r);return o}var Ue=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ue(e[o]))&&(r&&(r+=" "),r+=t);return r};function Lt(e,...t){let r,o,a,s=i;function i(f){let l=t.reduce((u,w)=>w(u),e());return r=Tt(l),o=r.cache.get,a=r.cache.set,s=n,n(f)}function n(f){let l=o(f);if(l)return l;let u=Bt(f,r);return a(f,u),u}return function(){return s(Dt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},je=/^\[(?:([a-Je-]+):)?(.+)\]$/i,zt=/^\d+\/\d+$/,Ht=new Set(["px","full","screen"]),Gt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ft=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-Je]+|0)_-?((\d+)?\.?(\d+)[a-Je]+|0)/,Vt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>$(e)||Ht.has(e)||zt.test(e),H=e=>K(e,"length",_t),$=e=>!!e&&!Number.isNaN(Number(e)),xe=e=>K(e,"number",$),W=e=>!!e&&Number.isInteger(Number(e)),Ot=e=>e.endsWith("%")&&$(e.slice(0,-1)),d=e=>je.test(e),G=e=>Gt.test(e),Qt=new Set(["length","size","percentage"]),$t=e=>K(e,Qt,Ve),Kt=e=>K(e,"position",Ve),Yt=new Set(["image","url"]),Jt=e=>K(e,Yt,Zt),Wt=e=>K(e,"",qt),_=()=>!0,K=(e,t,r)=>{let o=je.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},_t=e=>Ft.test(e)&&!Ut.test(e),Ve=()=>!1,qt=e=>jt.test(e),Zt=e=>Vt.test(e);var Xt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),o=g("brightness"),a=g("borderColor"),s=g("borderRadius"),i=g("borderSpacing"),n=g("borderWidth"),f=g("contrast"),l=g("grayscale"),u=g("hueRotate"),w=g("invert"),v=g("gap"),N=g("gradientColorStops"),k=g("gradientColorStopPositions"),c=g("inset"),h=g("margin"),C=g("opacity"),M=g("padding"),F=g("saturate"),U=g("scale"),te=g("sepia"),Me=g("skew"),Ee=g("space"),Ie=g("translate"),fe=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],be=()=>["auto",d,t],b=()=>[d,t],Te=()=>["",S,H],re=()=>["auto",$,d],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",d],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[S,H],blur:["none","",G,d],brightness:I(),borderColor:[e],borderRadius:["none","","full",G,d],borderSpacing:b(),borderWidth:Te(),contrast:I(),grayscale:J(),hueRotate:I(),invert:J(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ot,H],inset:be(),margin:be(),opacity:I(),padding:b(),saturate:I(),scale:I(),sepia:J(),skew:I(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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:[...Se(),d]}],overflow:[{overflow:ge()}],"overflow-Je":[{"overflow-Je":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:fe()}],"overscroll-Je":[{"overscroll-Je":fe()}],"overscroll-y":[{"overscroll-y":fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-Je":[{"inset-Je":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],Je:[{Je:["auto",W,d]}],basis:[{basis:be()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",W,d]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",W,d]},d]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[W,d]},d]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[v]}],"gap-Je":[{"gap-Je":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...he()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...he(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...he(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Je:[{Je:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],Je:[{Je:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],Je:[{Je:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-Je":[{"space-Je":[Ee]}],"space-Je-reverse":["space-Je-reverse"],"space-y":[{"space-y":[Ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xe]}],"font-family":[{font:[_]}],"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",d]}],"line-clamp":[{"line-clamp":["none",$,xe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,H]}],"underline-offset":[{"underline-offset":["auto",S,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),Kt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Je","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$t]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-Je":[{"border-Je":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-Je":[{"divide-Je":[n]}],"divide-Je-reverse":["divide-Je-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:oe()}],"border-color":[{border:[a]}],"border-color-Je":[{"border-Je":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...oe()]}],"outline-offset":[{"outline-offset":[S,d]}],"outline-w":[{outline:[S,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[S,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Wt]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[F]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Je":[{"border-spacing-Je":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-Je":[{"scale-Je":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[W,d]}],"translate-Je":[{"translate-Je":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"skew-Je":[{"skew-Je":[Me]}],"skew-y":[{"skew-y":[Me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","Je",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Je":[{"scroll-Je":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Je":[{"scroll-Je":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-Je":[{"scroll-Je":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Je","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Je":[{"touch-pan":["Je","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",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,H,xe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Je","overflow-y"],overscroll:["overscroll-Je","overscroll-y"],inset:["inset-Je","inset-y","start","end","top","right","bottom","left"],"inset-Je":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Je","gap-y"],Je:["px","py","ps","Je","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Je:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Je","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-Je":["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-Je":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Je":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Je":["scroll-px","scroll-py","scroll-ps","scroll-Je","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Je","touch-y","touch-pz"],"touch-Je":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Oe=Lt(Xt);function y(...e){return Oe((0,Qe.clsx)(e))}var $e=require("@radix-ui/react-slot"),Ke=require("class-variance-authority"),Ye=T(require("react")),Je=require("react/jsx-runtime"),er=(0,Ke.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),q=Ye.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,Je.jsx)(e?$e.Slot:"button",{className:y(er({className:t,size:r,variant:o})),ref:s,...a}));q.displayName="Button";var j=require("react"),E=require("@headlessui/react"),ne=require("@heroicons/react/24/outline"),Z=require("@heroicons/react/20/solid");var tr=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,Je.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Je.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Je-1/2 scale-Je-0 transition-transform duration-300 ease-in-out group-hover:scale-Je-100"})]}):(0,Je.jsxs)(E.Popover,{children:[(0,Je.jsxs)(E.PopoverButton,{className:"flex items-center gap-Je-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Je.jsxs)("span",{className:"relative",children:[e,(0,Je.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Je-1/2 scale-Je-0 transition-transform duration-300 ease-in-out group-hover:scale-Je-100"})]}),(0,Je.jsx)(Z.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Je.jsxs)(E.PopoverPanel,{transition:!0,className:"absolute inset-Je-0 top-0 -Je-10 bg-popover mt-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,Je.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Je-4 px-6 py-10 lg:px-8 xl:gap-Je-8 Je-50",children:t&&t.map(a=>(0,Je.jsxs)("div",{className:"group relative rounded-lg Je-6 text-sm/6 box-border",children:[(0,Je.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Je.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,Je.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Je.jsx)("span",{className:"absolute inset-0"})]}),(0,Je.jsx)("Je",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,Je.jsx)("div",{className:"bg-gray-50",children:(0,Je.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Je.jsx)("div",{className:"grid grid-cols-3 divide-Je divide-gray-900/5 border-Je border-gray-900/5",children:r.map(a=>(0,Je.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-Je-2.5 Je-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Je.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),_e=tr;var se=["light","dark","green"];function ie({title:e,logo:t,menuItems:r}){let[o,a]=(0,j.useState)(!1),[s,i]=(0,j.useState)(!1),[n,f]=(0,j.useState)("light"),l=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[w,v]=(0,j.useState)(`${l}.${u}`),N=c=>{se.includes(c)?v(c==="light"?`${l}.${u}`:`${l}-${c}.${u}`):v(`${l}.${u}`)};(0,j.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),f(c),document.documentElement.setAttribute("class",c),N(c)},[]);let k=()=>{let c=se[(se.indexOf(n)+1)%se.length];f(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c),N(c)};return(0,Je.jsxs)("header",{className:"relative isolate Je-10 bg-background h-14",children:[(0,Je.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Je-3 lg:px-8",children:[(0,Je.jsx)("div",{className:"flex lg:flex-1",children:(0,Je.jsxs)("a",{href:"#",className:"-Je-1.5 Je-1.5 outline-none",children:[(0,Je.jsx)("span",{className:"sr-only",children:e}),(0,Je.jsx)("img",{alt:e,src:w,className:"h-9 w-auto"})]})}),(0,Je.jsx)("div",{className:"flex lg:hidden",children:(0,Je.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-Je-2.5 inline-flex items-center justify-center rounded-md Je-2.5 text-gray-700 outline-none",children:[(0,Je.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Je.jsx)(ne.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Je.jsx)(E.PopoverGroup,{className:"hidden lg:flex lg:gap-Je-12",children:r.map(c=>(0,Je.jsx)(_e,{...c},c.name))}),(0,Je.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Je.jsx)("button",{onClick:k,className:"Je-2 text-gray-700 outline-none",children:n==="dark"?(0,Je.jsx)(Z.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Je.jsx)(Z.MoonIcon,{className:"h-6 w-6"}):(0,Je.jsx)(Z.SunIcon,{className:"h-6 w-6"})})})]}),(0,Je.jsxs)(E.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,Je.jsx)("div",{className:"fixed inset-0 Je-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Je.jsxs)(E.DialogPanel,{className:"fixed inset-y-0 right-0 Je-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,Je.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Je.jsxs)("a",{href:"#",className:"-Je-1.5 Je-1.5 outline-none",children:[(0,Je.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Je.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Je.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-Je-2.5 rounded-md Je-2.5 text-gray-700 outline-none",children:[(0,Je.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Je.jsx)(ne.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Je.jsx)("div",{className:"mt-6 flow-root",children:(0,Je.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Je.jsx)("div",{className:"space-y-2 py-6",children:r.map(c=>(0,Je.jsx)(rr,{...c},c.name))})})})]})]})]})}function rr({name:e,items:t,actions:r,href:o}){return!t&&o?(0,Je.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Je.jsxs)(E.Disclosure,{as:"div",className:"-mx-3",children:[(0,Je.jsx)(E.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,Je.jsx)(E.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Je.jsx)(E.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var V=T(require("react"));var X=V.forwardRef(({className:e,...t},r)=>(0,Je.jsx)("div",{ref:r,className:y("rounded-xl border bg-card text-card-foreground shadow",e),...t}));X.displayName="Card";var we=V.forwardRef(({className:e,...t},r)=>(0,Je.jsx)("div",{ref:r,className:y("flex flex-col space-y-1.5 Je-6",e),...t}));we.displayName="CardHeader";var Ae=V.forwardRef(({className:e,...t},r)=>(0,Je.jsx)("div",{ref:r,className:y("font-semibold leading-none tracking-tight",e),...t}));Ae.displayName="CardTitle";var or=V.forwardRef(({className:e,...t},r)=>(0,Je.jsx)("div",{ref:r,className:y("text-sm text-muted-foreground",e),...t}));or.displayName="CardDescription";var ee=V.forwardRef(({className:e,...t},r)=>(0,Je.jsx)("div",{ref:r,className:y("Je-6 pt-0",e),...t}));ee.displayName="CardContent";var ar=V.forwardRef(({className:e,...t},r)=>(0,Je.jsx)("div",{ref:r,className:y("flex items-center Je-6 pt-0",e),...t}));ar.displayName="CardFooter";var qe=T(require("next/image"));function le(e){let{url:t,mainImage:r,excerpt:o,title:a}=e;return(0,Je.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Je-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,Je.jsx)(qe.default,{alt:a||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Je.jsxs)("div",{className:"flex flex-1 flex-col Je-4",children:[(0,Je.jsx)("div",{className:"mt-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,Je.jsxs)("a",{href:t,children:[(0,Je.jsx)("span",{className:"absolute inset-0"}),a]})}),o&&(0,Je.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var sr=(e,t)=>`from-brand-${e} to-brand-${t}`;function Ze({...e}){let t=sr(e.brandFrom||"one",e.brandTo||"two");return(0,Je.jsxs)("div",{className:`relative isolate flex items-center gap-Je-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Je.jsx)("Je",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Je.jsxs)("a",{href:e.url,children:[(0,Je.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Je.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Je.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Je.jsx)("span",{children:e.message&&e.message})]}):(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Je.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Je.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Je.jsx)("div",{className:"flex flex-1 justify-end"})]})}var st=require("lucide-react"),nt=T(require("next/link"));var et=T(require("next/image"));var Xe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ce=()=>{if(Xe){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var nr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ir="data:image/png;base64,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",tt=e=>{let{alt:t,fill:r,imgClassName:o,priority:a,resource:s,size:i,src:n,loading:f}=e,l,u,w=t,v=n||"";if(!v&&s&&typeof s=="object"){let{alt:c,filename:h,height:C,url:M,width:F}=s;l=F,u=C,w=c||"",v=`${ce()}${M}`}let N=f||"lazy",k=i||Object.entries(nr).map(([,c])=>`(max-width: ${c}px) ${c*2}w`).join(", ");return(0,Je.jsx)("picture",{children:(0,Je.jsx)(et.default,{alt:w||"",className:y(o),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:ir,priority:N!=="lazy"&&a,quality:100,loading:N,sizes:k,src:v,width:r?void 0:l})})};var rt=e=>{let{onClick:t,resource:r,videoClassName:o}=e,a=(0,j.useRef)(null);if((0,j.useEffect)(()=>{let{current:s}=a;s&&s.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:s}=r;return(0,Je.jsx)("video",{autoPlay:!0,className:y(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Je.jsx)("source",{src:`${ce()}/media/${s}`})})}return null};var at=e=>{var i;let{className:t,htmlElement:r="div",resource:o}=e,a=typeof o=="object"&&((i=o==null?void 0:o.mimeType)==null?void 0:i.includes("video"));return(0,Je.jsx)(r||j.Fragment,{...r!==null?{className:t}:{},children:a?(0,Je.jsx)(rt,{...e}):(0,Je.jsx)(tt,{...e})})};function it(){let[e,t]=(0,j.useState)("All News"),[r,o]=(0,j.useState)([]),[a,s]=(0,j.useState)(1),[i,n]=(0,j.useState)(1),f=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,j.useEffect)(()=>{async function l(){if(e==="All News"){let N=await(await fetch(`/api/posts?page=${a}`)).json();o(N.docs),n(N.totalPages);return}let w=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();o(w.docs),n(w.totalPages)}l()},[e,a]),(0,Je.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Je.jsxs)("div",{className:"flex gap-2 overflow-Je-auto pb-4 mb-6",children:[f.map(l=>(0,Je.jsx)(q,{variant:l===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(l),children:l},l)),(0,Je.jsxs)(q,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Je.jsx)(st.ChevronRight,{className:"h-4 w-4"}),(0,Je.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Je.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r&&r.map(l=>(0,Je.jsxs)(nt.default,{href:`/posts/${l.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[l.meta&&l.meta.image&&typeof l.meta.image!="string"&&(0,Je.jsx)(at,{resource:l.meta.image,size:"33vw"}),(0,Je.jsxs)("div",{className:"Je-4",children:[(0,Je.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[l.populatedAuthors&&l.populatedAuthors.map(u=>u.name)," ","\xB7"," ",l.publishedAt&&new Date(l.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Je.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:l.title})]})]},l.id))}),(0,Je.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:i},(l,u)=>u+1).map(l=>(0,Je.jsx)(q,{variant:l===a?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>s(l),children:l},l))})]})}var me=T(require("react")),D=T(require("@radix-ui/react-avatar"));var Pe=me.forwardRef(({className:e,...t},r)=>(0,Je.jsx)(D.Root,{ref:r,className:y("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Pe.displayName=D.Root.displayName;var Re=me.forwardRef(({className:e,...t},r)=>(0,Je.jsx)(D.Image,{ref:r,className:y("aspect-square h-full w-full",e),...t}));Re.displayName=D.Image.displayName;var ke=me.forwardRef(({className:e,...t},r)=>(0,Je.jsx)(D.Fallback,{ref:r,className:y("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));ke.displayName=D.Fallback.displayName;var lr=(0,Ke.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ct({className:e,variant:t,...r}){return(0,Je.jsx)("div",{className:y(lr({variant:t}),e),...r})}function pt({eventType:e="birthday",date:t="",title:r="",description:o="",avatarSrc:a}){let s=n=>{switch(n){case"birthday":return(0,Je.jsx)(st.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Je.jsx)(st.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Je.jsx)(st.PartyPopper,{className:"h-4 w-4"});default:return(0,Je.jsx)(st.CalendarDays,{className:"h-4 w-4"})}},i=n=>{switch(n){case"birthday":return"from-brand-one-500 to-brand-one-800";case"workAnniversary":return"from-brand-two-500 to-brand-two-700";case"companyEvent":return"from-brand-two-300 to-brand-two-700";default:return"from-gray-500 to-slate-500"}};return(0,Je.jsxs)(X,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${i(e)}`,children:[(0,Je.jsxs)(we,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,Je.jsxs)(Pe,{className:"h-14 w-14 border-2 border-white",children:[(0,Je.jsx)(Re,{src:a,alt:r||"Event"}),(0,Je.jsx)(ke,{className:"bg-white text-gray-900",children:r?r.charAt(0).toUpperCase():"?"})]}),(0,Je.jsxs)("div",{className:"flex flex-col",children:[(0,Je.jsx)(Ae,{className:"text-xl",children:r||"Untitled Event"}),(0,Je.jsxs)("Je",{className:"text-sm text-white/80",children:[(0,Je.jsx)(st.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Je.jsxs)(ee,{className:"bg-white bg-opacity-80 Je-4",children:[o&&(0,Je.jsx)("Je",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Je.jsxs)(ct,{variant:"secondary",className:`bg-gradient-to-br ${i(e)} text-white/80`,children:[s(e),(0,Je.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-Je])([Je-Z])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var mt=T(require("next/image")),ut=T(require("next/link"));function ft({name:e,logo:t,href:r}){return(0,Je.jsx)(X,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Je.jsxs)(ut.default,{href:r,className:"block",children:[(0,Je.jsx)("div",{className:"bg-white Je-2 flex items-center justify-center h-24",children:(0,Je.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Je.jsx)(mt.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Je.jsx)(ee,{className:"Je-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Je.jsx)("Je",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function gt({...e}){return(0,Je.jsx)(Je.Fragment,{children:(0,Je.jsxs)("div",{className:"flex min-h-full flex-col",children:[(0,Je.jsx)("div",{className:"relative isolate"}),(0,Je.jsx)(ie,{...e.header}),(0,Je.jsx)(Ze,{...e.motd}),(0,Je.jsxs)("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[(0,Je.jsxs)("div",{className:"flex-1 xl:flex",children:[(0,Je.jsx)("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:e.customers.map((t,r)=>(0,Je.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Je.jsx)(ft,{...t})},r))}),(0,Je.jsxs)("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[(0,Je.jsxs)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[(0,Je.jsx)(le,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),(0,Je.jsx)(le,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),(0,Je.jsx)(le,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),(0,Je.jsx)("h1",{className:"text-balance text-3xl Je-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),(0,Je.jsx)(it,{})]})]}),(0,Je.jsxs)("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[(0,Je.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,Je.jsxs)("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[(0,Je.jsx)("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),(0,Je.jsx)("Je",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),(0,Je.jsx)("div",{className:"mt-4 flex items-center justify-center gap-Je-6",children:(0,Je.jsx)("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),(0,Je.jsx)("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:e.events.map((t,r)=>(0,Je.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Je.jsx)(pt,{...t})},r))})]})]})]})})}
|
|
5
|
+
"use strict";var bt=Object.create;var ae=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var vt=Object.getOwnPropertyNames;var xt=Object.getPrototypeOf,yt=Object.prototype.hasOwnProperty;var wt=(e,t)=>{for(var r in t)ae(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of vt(t))!yt.call(e,a)&&a!==r&&ae(e,a,{get:()=>t[a],enumerable:!(o=ht(t,a))||o.enumerable});return e};var T=(e,t,r)=>(r=e!=null?bt(xt(e)):{},De(t||!e||!e.__esModule?ae(r,"default",{value:e,enumerable:!0}):r,e)),At=e=>De(ae({},"__esModule",{value:!0}),e);var cr={};wt(cr,{default:()=>ft});module.exports=At(cr);var Oe=require("clsx");var xe="-",Nt=e=>{let t=Pt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(xe);return n[0]===""&&n.length!==1&&n.shift(),He(n,t)||Ct(i)},getConflictingClassGroupIds:(i,n)=>{let g=r[i]||[];return n&&o[i]?[...g,...o[i]]:g}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?He(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(xe);return(i=t.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},ze=/^\[(.+)\]$/,Ct=e=>{if(ze.test(e)){let t=ze.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Pt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return kt(Object.entries(e.classGroups),r).forEach(([s,i])=>{ve(i,o,s,t)}),o},ve=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:Le(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Rt(a)){ve(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,i])=>{ve(i,Le(t,s),r,o)})})},Le=(e,t)=>{let r=e;return t.split(xe).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Rt=e=>e.isThemeGetter,kt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[t+i,n])):s);return[r,a]}):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return a(s,i),i},set(s,i){r.has(s)?r.set(s,i):a(s,i)}}},Ge="!",Et=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,i=n=>{let g=[],l=0,u=0,w;for(let h=0;h<n.length;h++){let C=n[h];if(l===0){if(C===a&&(o||n.slice(h,h+s)===t)){g.push(n.slice(u,h)),u=h+s;continue}if(C==="/"){w=h;continue}}C==="["?l++:C==="]"&&l--}let x=g.length===0?n:n.substring(u),N=x.startsWith(Ge),k=N?x.substring(1):x,c=w&&w>u?w-u:void 0;return{modifiers:g,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:c}};return r?n=>r({className:n,parseClassName:i}):i},It=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Tt=e=>({cache:Mt(e.cacheSize),parseClassName:Et(e),...Nt(e)}),Bt=/\s+/,St=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],i=e.trim().split(Bt),n="";for(let g=i.length-1;g>=0;g-=1){let l=i[g],{modifiers:u,hasImportantModifier:w,baseClassName:x,maybePostfixModifierPosition:N}=r(l),k=!!N,c=o(k?x.substring(0,N):x);if(!c){if(!k){n=l+(n.length>0?" "+n:n);continue}if(c=o(x),!c){n=l+(n.length>0?" "+n:n);continue}k=!1}let h=It(u).join(":"),C=w?h+Ge:h,M=C+c;if(s.includes(M))continue;s.push(M);let F=a(c,k);for(let U=0;U<F.length;++U){let te=F[U];s.push(C+te)}n=l+(n.length>0?" "+n:n)}return n};function Dt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Fe(t))&&(o&&(o+=" "),o+=r);return o}var Fe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Fe(e[o]))&&(r&&(r+=" "),r+=t);return r};function zt(e,...t){let r,o,a,s=i;function i(g){let l=t.reduce((u,w)=>w(u),e());return r=Tt(l),o=r.cache.get,a=r.cache.set,s=n,n(g)}function n(g){let l=o(g);if(l)return l;let u=St(g,r);return a(g,u),u}return function(){return s(Dt.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-st-]+):)?(.+)\]$/i,Lt=/^\d+\/\d+$/,Ht=new Set(["px","full","screen"]),Gt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ft=/\d+(%|px|r?em|[sdl]?Ye([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-st]+|0)_-?((\d+)?\.?(\d+)[a-st]+|0)/,Vt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>$(e)||Ht.has(e)||Lt.test(e),H=e=>K(e,"length",_t),$=e=>!!e&&!Number.isNaN(Number(e)),he=e=>K(e,"number",$),W=e=>!!e&&Number.isInteger(Number(e)),Ot=e=>e.endsWith("%")&&$(e.slice(0,-1)),d=e=>Ue.test(e),G=e=>Gt.test(e),Qt=new Set(["length","size","percentage"]),$t=e=>K(e,Qt,je),Kt=e=>K(e,"position",je),Yt=new Set(["image","url"]),Jt=e=>K(e,Yt,Zt),Wt=e=>K(e,"",qt),_=()=>!0,K=(e,t,r)=>{let o=Ue.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},_t=e=>Ft.test(e)&&!Ut.test(e),je=()=>!1,qt=e=>jt.test(e),Zt=e=>Vt.test(e);var Xt=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),o=f("brightness"),a=f("borderColor"),s=f("borderRadius"),i=f("borderSpacing"),n=f("borderWidth"),g=f("contrast"),l=f("grayscale"),u=f("hueRotate"),w=f("invert"),x=f("gap"),N=f("gradientColorStops"),k=f("gradientColorStopPositions"),c=f("inset"),h=f("margin"),C=f("opacity"),M=f("padding"),F=f("saturate"),U=f("scale"),te=f("sepia"),ke=f("skew"),Me=f("space"),Ee=f("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",d,t],b=()=>[d,t],Ie=()=>["",B,H],re=()=>["auto",$,d],Te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",d],Se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[$,d];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[B,H],blur:["none","",G,d],brightness:I(),borderColor:[e],borderRadius:["none","","full",G,d],borderSpacing:b(),borderWidth:Ie(),contrast:I(),grayscale:J(),hueRotate:I(),invert:J(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Ot,H],inset:fe(),margin:fe(),opacity:I(),padding:b(),saturate:I(),scale:I(),sepia:J(),skew:I(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Se()}],"break-before":[{"break-before":Se()}],"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:[...Te(),d]}],overflow:[{overflow:ge()}],"overflow-x":[{"overflow-x":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[c]}],"inset-x":[{"inset-x":[c]}],"inset-y":[{"inset-y":[c]}],start:[{start:[c]}],end:[{end:[c]}],top:[{top:[c]}],right:[{right:[c]}],bottom:[{bottom:[c]}],left:[{left:[c]}],visibility:["visible","invisible","collapse"],st:[{st:["auto",W,d]}],basis:[{basis:fe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",W,d]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",W,d]},d]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[W,d]},d]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Ye:[{Ye:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],Ye:[{Ye:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],Ye:[{Ye:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Me]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[_]}],"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",d]}],"line-clamp":[{"line-clamp":["none",$,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,H]}],"underline-offset":[{"underline-offset":["auto",B,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Te(),Kt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$t]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Jt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:oe()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...oe()]}],"outline-offset":[{"outline-offset":[B,d]}],"outline-w":[{outline:[B,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[B,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Wt]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Be(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Be()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[w]}],saturate:[{saturate:[F]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[W,d]}],"translate-x":[{"translate-x":[Ee]}],"translate-y":[{"translate-y":[Ee]}],"skew-x":[{"skew-x":[ke]}],"skew-y":[{"skew-y":[ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ye":[{"scroll-Ye":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-Ye":[{"scroll-Ye":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Ye":[{"scroll-Ye":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,H,he]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],Ye:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ye:["mx","my","ms","Ye","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Ye":["scroll-mx","scroll-my","scroll-ms","scroll-Ye","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Ye":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=zt(Xt);function y(...e){return Ve((0,Oe.clsx)(e))}var Qe=require("@radix-ui/react-slot"),$e=require("class-variance-authority"),Ke=T(require("react")),Ye=require("react/jsx-runtime"),er=(0,$e.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),q=Ke.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,Ye.jsx)(e?Qe.Slot:"button",{className:y(er({className:t,size:r,variant:o})),ref:s,...a}));q.displayName="Button";var j=require("react"),E=require("@headlessui/react"),ne=require("@heroicons/react/24/outline"),Z=require("@heroicons/react/20/solid");var tr=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,Ye.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Ye.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,Ye.jsxs)(E.Popover,{children:[(0,Ye.jsxs)(E.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ye.jsxs)("span",{className:"relative",children:[e,(0,Ye.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Ye.jsx)(Z.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ye.jsxs)(E.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -st-10 bg-popover mt-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,Ye.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 st-50",children:t&&t.map(a=>(0,Ye.jsxs)("div",{className:"group relative rounded-lg Ye-6 text-sm/6 box-border",children:[(0,Ye.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Ye.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,Ye.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Ye.jsx)("span",{className:"absolute inset-0"})]}),(0,Ye.jsx)("Ye",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,Ye.jsx)("div",{className:"bg-gray-50",children:(0,Ye.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ye.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(a=>(0,Ye.jsxs)("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 Ye-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Ye.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),We=tr;var se=["light","dark","green"];function _e({title:e,logo:t,menuItems:r}){let[o,a]=(0,j.useState)(!1),[s,i]=(0,j.useState)(!1),[n,g]=(0,j.useState)("light"),l=t==null?void 0:t.split(".")[0],u=t==null?void 0:t.split(".")[1],[w,x]=(0,j.useState)(`${l}.${u}`),N=c=>{se.includes(c)?x(c==="light"?`${l}.${u}`:`${l}-${c}.${u}`):x(`${l}.${u}`)};(0,j.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),g(c),document.documentElement.setAttribute("class",c),N(c)},[]);let k=()=>{let c=se[(se.indexOf(n)+1)%se.length];g(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c),N(c)};return(0,Ye.jsxs)("header",{className:"relative isolate st-10 bg-background h-14",children:[(0,Ye.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Ye-3 lg:px-8",children:[(0,Ye.jsx)("div",{className:"flex lg:flex-1",children:(0,Ye.jsxs)("a",{href:"#",className:"-Ye-1.5 Ye-1.5 outline-none",children:[(0,Ye.jsx)("span",{className:"sr-only",children:e}),(0,Ye.jsx)("img",{alt:e,src:w,className:"h-9 w-auto"})]})}),(0,Ye.jsx)("div",{className:"flex lg:hidden",children:(0,Ye.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-Ye-2.5 inline-flex items-center justify-center rounded-md Ye-2.5 text-gray-700 outline-none",children:[(0,Ye.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ye.jsx)(ne.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Ye.jsx)(E.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(c=>(0,Ye.jsx)(We,{...c},c.name))}),(0,Ye.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ye.jsx)("button",{onClick:k,className:"Ye-2 text-gray-700 outline-none",children:n==="dark"?(0,Ye.jsx)(Z.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Ye.jsx)(Z.MoonIcon,{className:"h-6 w-6"}):(0,Ye.jsx)(Z.SunIcon,{className:"h-6 w-6"})})})]}),(0,Ye.jsxs)(E.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,Ye.jsx)("div",{className:"fixed inset-0 st-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ye.jsxs)(E.DialogPanel,{className:"fixed inset-y-0 right-0 st-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,Ye.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ye.jsxs)("a",{href:"#",className:"-Ye-1.5 Ye-1.5 outline-none",children:[(0,Ye.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ye.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Ye.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-Ye-2.5 rounded-md Ye-2.5 text-gray-700 outline-none",children:[(0,Ye.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ye.jsx)(ne.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ye.jsx)("div",{className:"mt-6 flow-root",children:(0,Ye.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Ye.jsx)("div",{className:"space-y-2 py-6",children:r.map(c=>(0,Ye.jsx)(rr,{...c},c.name))})})})]})]})]})}function rr({name:e,items:t,actions:r,href:o}){return!t&&o?(0,Ye.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ye.jsxs)(E.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ye.jsx)(E.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,Ye.jsx)(E.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,Ye.jsx)(E.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var V=T(require("react"));var X=V.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)("div",{ref:r,className:y("rounded-xl border bg-card text-card-foreground shadow",e),...t}));X.displayName="Card";var ye=V.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)("div",{ref:r,className:y("flex flex-col space-y-1.5 Ye-6",e),...t}));ye.displayName="CardHeader";var we=V.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)("div",{ref:r,className:y("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var or=V.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)("div",{ref:r,className:y("text-sm text-muted-foreground",e),...t}));or.displayName="CardDescription";var ee=V.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)("div",{ref:r,className:y("Ye-6 pt-0",e),...t}));ee.displayName="CardContent";var ar=V.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)("div",{ref:r,className:y("flex items-center Ye-6 pt-0",e),...t}));ar.displayName="CardFooter";var qe=T(require("next/image"));function ie(e){let{url:t,mainImage:r,excerpt:o,title:a}=e;return(0,Ye.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Ye-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,Ye.jsx)(qe.default,{alt:a||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Ye.jsxs)("div",{className:"flex flex-1 flex-col Ye-4",children:[(0,Ye.jsx)("div",{className:"mt-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,Ye.jsxs)("a",{href:t,children:[(0,Ye.jsx)("span",{className:"absolute inset-0"}),a]})}),o&&(0,Ye.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var sr=(e,t)=>`from-brand-${e} to-brand-${t}`;function Ze({...e}){let t=sr(e.brandFrom||"one",e.brandTo||"two");return(0,Ye.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Ye.jsx)("Ye",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Ye.jsxs)("a",{href:e.url,children:[(0,Ye.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ye.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ye.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ye.jsx)("span",{children:e.message&&e.message})]}):(0,Ye.jsxs)(Ye.Fragment,{children:[(0,Ye.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ye.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ye.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ye.jsx)("div",{className:"flex flex-1 justify-end"})]})}var st=require("lucide-react"),nt=T(require("next/link"));var et=T(require("next/image"));var Xe=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var le=()=>{if(Xe){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var nr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ir="data:image/png;base64,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",tt=e=>{let{alt:t,fill:r,imgClassName:o,priority:a,resource:s,size:i,src:n,loading:g}=e,l,u,w=t,x=n||"";if(!x&&s&&typeof s=="object"){let{alt:c,filename:h,height:C,url:M,width:F}=s;l=F,u=C,w=c||"",x=`${le()}${M}`}let N=g||"lazy",k=i||Object.entries(nr).map(([,c])=>`(max-width: ${c}px) ${c*2}w`).join(", ");return(0,Ye.jsx)("picture",{children:(0,Ye.jsx)(et.default,{alt:w||"",className:y(o),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:ir,priority:N!=="lazy"&&a,quality:100,loading:N,sizes:k,src:x,width:r?void 0:l})})};var rt=e=>{let{onClick:t,resource:r,videoClassName:o}=e,a=(0,j.useRef)(null);if((0,j.useEffect)(()=>{let{current:s}=a;s&&s.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:s}=r;return(0,Ye.jsx)("video",{autoPlay:!0,className:y(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Ye.jsx)("source",{src:`${le()}/media/${s}`})})}return null};var at=e=>{var i;let{className:t,htmlElement:r="div",resource:o}=e,a=typeof o=="object"&&((i=o==null?void 0:o.mimeType)==null?void 0:i.includes("video"));return(0,Ye.jsx)(r||j.Fragment,{...r!==null?{className:t}:{},children:a?(0,Ye.jsx)(rt,{...e}):(0,Ye.jsx)(tt,{...e})})};function it(){let[e,t]=(0,j.useState)("All News"),[r,o]=(0,j.useState)([]),[a,s]=(0,j.useState)(1),[i,n]=(0,j.useState)(1),g=["All News","Announcements","Blogs","Articles","Case Studies"];return(0,j.useEffect)(()=>{async function l(){if(e==="All News"){let N=await(await fetch(`/api/posts?page=${a}`)).json();o(N.docs),n(N.totalPages);return}let w=await(await fetch(`/api/posts?where[categories][title][equals]=${e}&page=${a}`)).json();o(w.docs),n(w.totalPages)}l()},[e,a]),(0,Ye.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[(0,Ye.jsxs)("div",{className:"flex gap-2 overflow-x-auto pb-4 mb-6",children:[g.map(l=>(0,Ye.jsx)(q,{variant:l===e?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>t(l),children:l},l)),(0,Ye.jsxs)(q,{variant:"ghost",size:"icon",className:"rounded-full",children:[(0,Ye.jsx)(st.ChevronRight,{className:"h-4 w-4"}),(0,Ye.jsx)("span",{className:"sr-only",children:"More"})]})]}),(0,Ye.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r&&r.map(l=>(0,Ye.jsxs)(nt.default,{href:`/posts/${l.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[l.meta&&l.meta.image&&typeof l.meta.image!="string"&&(0,Ye.jsx)(at,{resource:l.meta.image,size:"33vw"}),(0,Ye.jsxs)("div",{className:"Ye-4",children:[(0,Ye.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:[l.populatedAuthors&&l.populatedAuthors.map(u=>u.name)," ","\xB7"," ",l.publishedAt&&new Date(l.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Ye.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:l.title})]})]},l.id))}),(0,Ye.jsx)("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:i},(l,u)=>u+1).map(l=>(0,Ye.jsx)(q,{variant:l===a?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>s(l),children:l},l))})]})}var pe=T(require("react")),D=T(require("@radix-ui/react-avatar"));var Ce=pe.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)(D.Root,{ref:r,className:y("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ce.displayName=D.Root.displayName;var Pe=pe.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)(D.Image,{ref:r,className:y("aspect-square h-full w-full",e),...t}));Pe.displayName=D.Image.displayName;var Re=pe.forwardRef(({className:e,...t},r)=>(0,Ye.jsx)(D.Fallback,{ref:r,className:y("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));Re.displayName=D.Fallback.displayName;var lr=(0,$e.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ct({className:e,variant:t,...r}){return(0,Ye.jsx)("div",{className:y(lr({variant:t}),e),...r})}function pt({eventType:e="birthday",date:t="",title:r="",description:o="",avatarSrc:a}){let s=n=>{switch(n){case"birthday":return(0,Ye.jsx)(st.Cake,{className:"h-4 w-4"});case"workAnniversary":return(0,Ye.jsx)(st.Award,{className:"h-4 w-4"});case"companyEvent":return(0,Ye.jsx)(st.PartyPopper,{className:"h-4 w-4"});default:return(0,Ye.jsx)(st.CalendarDays,{className:"h-4 w-4"})}},i=n=>{switch(n){case"birthday":return"from-brand-one-500 to-brand-one-800";case"workAnniversary":return"from-brand-two-500 to-brand-two-700";case"companyEvent":return"from-brand-two-300 to-brand-two-700";default:return"from-gray-500 to-slate-500"}};return(0,Ye.jsxs)(X,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${i(e)}`,children:[(0,Ye.jsxs)(ye,{className:"flex flex-row items-center gap-3 text-white",children:[a&&(0,Ye.jsxs)(Ce,{className:"h-14 w-14 border-2 border-white",children:[(0,Ye.jsx)(Pe,{src:a,alt:r||"Event"}),(0,Ye.jsx)(Re,{className:"bg-white text-gray-900",children:r?r.charAt(0).toUpperCase():"?"})]}),(0,Ye.jsxs)("div",{className:"flex flex-col",children:[(0,Ye.jsx)(we,{className:"text-xl",children:r||"Untitled Event"}),(0,Ye.jsxs)("Ye",{className:"text-sm text-white/80",children:[(0,Ye.jsx)(st.CalendarDays,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString():"Date not specified"]})]})]}),(0,Ye.jsxs)(ee,{className:"bg-white bg-opacity-80 Ye-4",children:[o&&(0,Ye.jsx)("Ye",{className:"mb-2 text-sm text-gray-700",children:o}),(0,Ye.jsxs)(ct,{variant:"secondary",className:`bg-gradient-to-br ${i(e)} text-white/80`,children:[s(e),(0,Ye.jsx)("span",{className:"ml-1",children:e?e.replace(/([a-st])([Ye-Z])/g,"$1 $2").split(" ").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join(" "):"Event"})]})]})]})}var mt=T(require("next/image")),ut=T(require("next/link"));function gt({name:e,logo:t,href:r}){return(0,Ye.jsx)(X,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:(0,Ye.jsxs)(ut.default,{href:r,className:"block",children:[(0,Ye.jsx)("div",{className:"bg-white Ye-2 flex items-center justify-center h-24",children:(0,Ye.jsx)("div",{className:"relative w-full h-full",children:t&&(0,Ye.jsx)(mt.default,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),(0,Ye.jsx)(ee,{className:"Ye-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:(0,Ye.jsx)("Ye",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}function ft({...e}){return(0,Ye.jsx)(Ye.Fragment,{children:(0,Ye.jsxs)("div",{className:"flex min-h-full flex-col",children:[(0,Ye.jsx)("div",{className:"relative isolate"}),(0,Ye.jsx)(_e,{...e.header}),(0,Ye.jsx)(Ze,{...e.motd}),(0,Ye.jsxs)("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[(0,Ye.jsxs)("div",{className:"flex-1 xl:flex",children:[(0,Ye.jsx)("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:e.customers.map((t,r)=>(0,Ye.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Ye.jsx)(gt,{...t})},r))}),(0,Ye.jsxs)("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[(0,Ye.jsxs)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[(0,Ye.jsx)(ie,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),(0,Ye.jsx)(ie,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),(0,Ye.jsx)(ie,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),(0,Ye.jsx)("h1",{className:"text-balance text-3xl Ye-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),(0,Ye.jsx)(it,{})]})]}),(0,Ye.jsxs)("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[(0,Ye.jsx)("div",{className:"mx-auto max-w-7xl",children:(0,Ye.jsxs)("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[(0,Ye.jsx)("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),(0,Ye.jsx)("Ye",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),(0,Ye.jsx)("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:(0,Ye.jsx)("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),(0,Ye.jsx)("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:e.events.map((t,r)=>(0,Ye.jsx)("div",{className:"py-2 w-full flex justify-center",children:(0,Ye.jsx)(pt,{...t})},r))})]})]})]})})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-NUXUAT6C.mjs";import"../../chunk-HTIXQIZ5.mjs";import"../../chunk-64NIISYM.mjs";import"../../chunk-GS2BYKPO.mjs";import"../../chunk-JODGODRI.mjs";import"../../chunk-XHQLYY3W.mjs";import"../../chunk-Z4V2VUJ4.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-LKBMU736.mjs";import"../../chunk-BUTUFEFR.mjs";import"../../chunk-XSCW6RG5.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-OD4RCKMK.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-72BBXZKW.mjs";import"../../chunk-BYTBE2HZ.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-2AXMVN4X.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-FRWX5YES.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|