cortex-react-components 1.16.0 → 1.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GCVL4HMJ.mjs → chunk-23LMQWW2.mjs} +1 -1
- package/dist/{chunk-O7JZET2F.mjs → chunk-3E5ZY6AH.mjs} +1 -1
- package/dist/{chunk-WZMQHIAK.mjs → chunk-5AQWU5PM.mjs} +1 -1
- package/dist/{chunk-OEM7RQ4Q.mjs → chunk-5EX5KVLO.mjs} +1 -1
- package/dist/{chunk-MLVUDDTJ.mjs → chunk-5PD7YZ3V.mjs} +1 -1
- package/dist/{chunk-Q3HKMCDA.mjs → chunk-5TTFPIXL.mjs} +1 -1
- package/dist/{chunk-ODLDYXPZ.mjs → chunk-6FHLIH4J.mjs} +1 -1
- package/dist/{chunk-FHRWUBJS.mjs → chunk-BYXLOV2Z.mjs} +1 -1
- package/dist/{chunk-IB72MBM7.mjs → chunk-CP6IA4YZ.mjs} +1 -1
- package/dist/{chunk-N7Z6I6KY.mjs → chunk-CSUTG7F5.mjs} +1 -1
- package/dist/{chunk-QRNJ7O2L.mjs → chunk-CW7WANDA.mjs} +1 -1
- package/dist/{chunk-WTZ6GABZ.mjs → chunk-FSGX7SPF.mjs} +1 -1
- package/dist/chunk-HKHLTISI.mjs +4 -0
- package/dist/chunk-ID2MGE2G.mjs +4 -0
- package/dist/{chunk-KHYUZ2PB.mjs → chunk-KSVR2KN5.mjs} +1 -1
- package/dist/{chunk-QXFTL6FL.mjs → chunk-LM62EGD7.mjs} +1 -1
- package/dist/{chunk-Q24IVBS5.mjs → chunk-M5X4MWJX.mjs} +1 -1
- package/dist/{chunk-63BUZTVI.mjs → chunk-MESSAICX.mjs} +1 -1
- package/dist/{chunk-4LYK6VPP.mjs → chunk-MRYAY6ZN.mjs} +1 -1
- package/dist/{chunk-C34U2N2O.mjs → chunk-TM4ETY55.mjs} +1 -1
- package/dist/{chunk-SXONQUDJ.mjs → chunk-V2T7JUHM.mjs} +1 -1
- package/dist/{chunk-KVLKXXVS.mjs → chunk-VY32UTE2.mjs} +1 -1
- package/dist/{chunk-7ZPEE4NV.mjs → chunk-WCG5RUKO.mjs} +1 -1
- package/dist/{chunk-NSUCU5DU.mjs → chunk-WQF47M5N.mjs} +1 -1
- package/dist/{chunk-RQKTHY3B.mjs → chunk-YPP62UKD.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/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.mjs +1 -1
- 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/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +1 -1
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +1 -1
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/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.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-INXPK24X.mjs +0 -4
- package/dist/chunk-SQC52R4J.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r}from"./chunk-
|
|
1
|
+
import{d as r}from"./chunk-WQF47M5N.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-
|
|
1
|
+
import{a as l}from"./chunk-KSVR2KN5.mjs";import{a as r}from"./chunk-UESKYRNK.mjs";import i from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f(m){let{images:a,sectionHeading:n,keyPoints:o,description:d}=m;return e("section",{className:"section-padding-primary overflow-hidden",children:e(r,{children:t("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[t("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(l,{...n}),o&&o.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((s,c)=>t("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:s.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:s.title})]},c))}),d&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:d})]}),a&&e("div",{className:"mx-auto text-center",children:t("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[t("div",{className:"relative flex justify-end overflow-hidden",children:[t("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[e("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),e("div",{className:"relative z-[4] overflow-hidden",children:e(i,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),e(i,{src:a.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),e("div",{className:"flex overflow-hidden",children:e(i,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(i,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(i,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}export{f as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as u}from"./chunk-
|
|
4
|
+
import{a as u}from"./chunk-5PD7YZ3V.mjs";import{a as l}from"./chunk-BYXLOV2Z.mjs";import{a as s}from"./chunk-23LMQWW2.mjs";import{a as c}from"./chunk-LM62EGD7.mjs";import{a as p}from"./chunk-WASENCYA.mjs";import{a,b as o,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({...r}){return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(p,{...r.header}),t("div",{className:"relative",children:[r.hero&&r.hero.type==="lowImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(u,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(a,{children:[e(o,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(a,{children:[e(o,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-CW7WANDA.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("border border-border rounded-[0.8rem]",s),resource:i,src:n})})};export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-JUV4GZ2N.mjs";import{a as g}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-JUV4GZ2N.mjs";import{a as g}from"./chunk-CW7WANDA.mjs";import m from"react";import x from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var F=({post:f})=>{let{categories:r,meta:{image:l}={},populatedAuthors:a,publishedAt:n,title:v}=f;return t("div",{className:"relative -mt-[10.4rem] flex items-end",children:[e("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:t("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[e("div",{className:"uppercase text-sm mb-6",children:r==null?void 0:r.map((o,s)=>{if(typeof o=="object"&&o!==null){let{title:c}=o,d=c||"Untitled category",i=s===r.length-1;return t(m.Fragment,{children:[d,!i&&e(m.Fragment,{children:", \xA0"})]},s)}return null})}),e("div",{className:"",children:e("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:v})}),t("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[e("div",{className:"flex flex-col gap-4",children:a&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Author"}),a.map((o,s)=>{let{name:c}=o,d=s===a.length-1,i=s===a.length-2;return t(m.Fragment,{children:[c,i&&a.length>2&&e(m.Fragment,{children:", "}),i&&a.length===2&&e(m.Fragment,{children:" "}),!d&&a.length>1&&e(m.Fragment,{children:"and "})]},s)})]})}),n&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:n,children:p(n)})]})]})]})}),t("div",{className:"min-h-[80vh] select-none",children:[l&&typeof l!="string"&&e(g,{fill:!0,imgClassName:"-z-10 object-cover",resource:l}),l&&typeof l=="string"&&e("div",{children:e(x,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:l})}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};export{F as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-CP6IA4YZ.mjs";import{d as a}from"./chunk-WQF47M5N.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(a,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(r,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-CW7WANDA.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var p=r=>{let{className:t,enableGutter:s=!0,imgClassName:i,media:m,staticImage:n}=r;return o("div",{className:a("",{container:s},t),children:o(e,{imgClassName:a("border border-border rounded-[0.8rem]",i),resource:m,src:n})})};export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{d as c}from"./chunk-
|
|
4
|
+
import{d as c}from"./chunk-WQF47M5N.mjs";import{a as s}from"./chunk-YAH6C5YX.mjs";import{a as o}from"./chunk-CW7WANDA.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:l,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"max-w-[36.5rem] text-center",children:[l||i&&e(c,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:i,enableGutter:!1}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:m},n)=>e("li",{children:e(s,{...m})},n))})]})}),a("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&e(o,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-
|
|
4
|
+
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-CW7WANDA.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g}from"./chunk-
|
|
1
|
+
import{d as g}from"./chunk-WQF47M5N.mjs";import{a as c}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";var d=({title:r,description:l,features:n})=>m("section",{className:c("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[r&&e("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:r}),l&&e("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:l}),e("div",{className:`grid gap-8 md:grid-cols-${n?n.length:1}`,children:n&&n.map((t,o)=>{var i,s;let a=m("div",{className:"flex flex-col gap-4",children:[e("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:e("i",{className:`${t.icon.type} fa-${t.icon.icon} fa-4x`})}),e("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:t.title}),typeof t.content!="object"&&e("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:t.content}}),typeof t.content=="object"&&e("div",{className:"text-lg opacity-80",children:e(g,{content:t.content,enableGutter:!1})})]},o);return console.log("link",t.link),t.link?e("a",{href:t.link.url?t.link.url:`/${(i=t.link.reference)==null?void 0:i.relationTo}/${((s=t.link.reference)==null?void 0:s.value).slug}`,className:"no-underline group",children:a},o):a})})]});export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-TFWGOEV7.mjs";import{a}from"./chunk-7WBETZEV.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-456IOI6A.mjs";import{a as h}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-456IOI6A.mjs";import{a as h}from"./chunk-5PD7YZ3V.mjs";import{a as s}from"./chunk-BYXLOV2Z.mjs";import{a as u}from"./chunk-23LMQWW2.mjs";import{a as p}from"./chunk-LM62EGD7.mjs";import{a as S}from"./chunk-I2GY5WTT.mjs";import{a as b}from"./chunk-HKHLTISI.mjs";import{a as t,b as i,c as a,e as m}from"./chunk-D76EO57Z.mjs";import{b as c}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as l}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({...r}){return o("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[o("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(b,{isMenuOpen:!0,logoLight:n,logoDark:d}),e(S,{isMenuOpen:!0,logoLight:n,logoDark:d,...r.header})]}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(h,{...r.hero}),r.hero&&r.hero.type==="sectionHero"&&e(f,{...r.hero}),e("div",{className:"container py-8",children:o("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),o("div",{className:"space-y-6",children:[o(t,{children:[e(i,{children:e(a,{children:"Quick Actions"})}),o(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(c,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),o(t,{children:[e(i,{children:e(a,{children:"Resources"})}),e(m,{children:o("nav",{className:"flex flex-col space-y-2",children:[o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(l,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(l,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(l,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{C as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as c}from"./chunk-HAYRX2WO.mjs";import{a as n}from"./chunk-LZII3MF4.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{useState as i,useEffect as d}from"react";import{Moon as v,Sun as k}from"lucide-react";import{PopoverGroup as x}from"@headlessui/react";import{Fragment as w,jsx as t,jsxs as m}from"react/jsx-runtime";function T({isMenuOpen:u,logoLight:p,logoDark:g,menuItems:o}){let[h,a]=i(!1),[b,s]=i("light"),r=["light","dark"];d(()=>{let e=localStorage.getItem("theme")||"light";console.log("storedTheme",e),s(e),document.documentElement.setAttribute("class",e)},[]);let f=()=>{let e=r[(r.indexOf(b)+1)%r.length];s(e),document.documentElement.setAttribute("class",e),localStorage.setItem("theme",e)};return d(()=>{let e=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),t(w,{children:t("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${h||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:t(l,{className:"px-0",children:t("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:m("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[t(c,{logoDark:g,logoLight:p}),t(x,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(e=>t(n,{...e},e.name))}),t("div",{className:"flex items-center space-x-4",children:t("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:f,children:m("div",{className:"relative",children:[t(k,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),t(v,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}export{T as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as f}from"./chunk-I2GY5WTT.mjs";import{a as m}from"./chunk-HKHLTISI.mjs";import{useState as i,useEffect as p}from"react";import{Menu as w,X as b,ChevronDown as x}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({logoVideo:v,logoLight:a,logoDark:r,menuItems:n}){let[c,d]=i(!1),[h,u]=i(!1),[l,s]=i(!1),g=()=>{let t=document.getElementById("next-section");t&&t.scrollIntoView({behavior:"smooth"})};return p(()=>{let t=()=>{window.scrollY>100?(u(!0),s(!1)):(u(!1),s(!0))};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),p(()=>{let t=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),o("div",{className:"relative h-screen",children:[o("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[o("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!c&&e("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{s(!l)},children:l?e(b,{className:"w-6 h-6 text-white"}):e(w,{className:"w-6 h-6 text-white"})}),o("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(m,{isMenuOpen:c,logoLight:a,logoDark:r,menuItems:n}),e(f,{isMenuOpen:!0,logoLight:a,logoDark:r,menuItems:n})]}),e("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${h||l?"opacity-0":"opacity-100"}`}),o("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(N,{src:v,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8 hidden lg:block"}),o("div",{className:"h-full flex flex-col items-center justify-center",children:[e("h1",{className:"text-4xl font-bold pt-auto mb-4",children:"We are Cortex Reply."}),e("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),e("div",{className:"flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:g,children:e(x,{size:64})})})]})]})}export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as o}from"./chunk-
|
|
1
|
+
import{d as o}from"./chunk-WQF47M5N.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";function g({subtitle:a,title:r,description:t,alignment:n="start",hasBottomSpacing:i=!1,className:c}){let l=s(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},c);return m("div",{className:l,children:[a&&e("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:a}),e("h2",{className:"font-secondary text-xl font-bold leading-[1.25] text-accent-900 dark:text-white md:text-2xl",children:r}),typeof t=="string"?t&&e("p",{className:"mt-5 whitespace-pre-line",children:t}):t&&e(o,{content:t,enableGutter:!1})]})}export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as o}from"./chunk-
|
|
1
|
+
import{d as o}from"./chunk-WQF47M5N.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-VY32UTE2.mjs";import{a as m}from"./chunk-CSUTG7F5.mjs";import{b as l}from"./chunk-WQF47M5N.mjs";import{a as e}from"./chunk-6FHLIH4J.mjs";import{Fragment as p}from"react";import{jsx as r}from"react/jsx-runtime";var s={content:a,cta:l,mediaBlock:e,imageBlock:e,features:m},C=i=>{let{blocks:o}=i;return o&&Array.isArray(o)&&o.length>0?r(p,{children:o.map((c,k)=>{let{blockType:t}=c;if(t&&t in s){let n=s[t];if(n)return r("div",{className:"my-6",children:r(n,{...c})},k)}return null})}):null};export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-CP6IA4YZ.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-YPP62UKD.mjs";import{a as x}from"./chunk-WASENCYA.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-LQZTCLMG.mjs";import{a}from"./chunk-72BBXZKW.mjs";import{a as d}from"./chunk-IQPZEEYJ.mjs";import{Fragment as n,jsx as e,jsxs as l}from"react/jsx-runtime";function p({...t}){return e(n,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(x,{...t.header}),e(d,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("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:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),e(m,{})]})]}),l("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:[e("div",{className:"mx-auto max-w-7xl",children:l("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:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{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."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("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"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-
|
|
4
|
+
import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-ID2MGE2G.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function p({...m}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(l,{...m.header,logoVideo:s,logoLight:u,logoDark:c})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:m.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-BYXLOV2Z.mjs";import{a as p}from"./chunk-23LMQWW2.mjs";import{a as m}from"./chunk-LM62EGD7.mjs";import{jsx as a}from"react/jsx-runtime";var n={highImpact:t,lowImpact:p,mediumImpact:m},l=e=>{let{type:o}=e||{};if(!o||o==="none")return null;let r=n[o];return r?a(r,{...e}):null};export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as c}from"./chunk-
|
|
1
|
+
import{d as c}from"./chunk-WQF47M5N.mjs";import{a as s}from"./chunk-YAH6C5YX.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o,jsxs as f}from"react/jsx-runtime";var h=a=>{let{columns:t}=a,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return o("div",{className:"container my-6",children:o("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((i,p)=>{let{enableLink:m,link:d,richText:n,size:l}=i;return f("div",{className:e(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[n&&o(c,{content:n,enableGutter:!1}),m&&o(s,{...d})]},p)})})})};export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as o}from"./chunk-FNCXXX4V.mjs";import{a as r}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as o}from"./chunk-FNCXXX4V.mjs";import{a as r}from"./chunk-KSVR2KN5.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:d,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...d,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((p,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),children:i(o,{...p})},t))})]})})}export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as N,j as T,k as g,l as C,m as h,n as P,o as v}from"./chunk-O5BAW5XQ.mjs";import{a as p}from"./chunk-YAH6C5YX.mjs";import{a as y}from"./chunk-
|
|
1
|
+
import{i as N,j as T,k as g,l as C,m as h,n as P,o as v}from"./chunk-O5BAW5XQ.mjs";import{a as p}from"./chunk-YAH6C5YX.mjs";import{a as y}from"./chunk-6FHLIH4J.mjs";import{a as k}from"./chunk-763KMQIQ.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as m,jsxs as S}from"react/jsx-runtime";var b=({links:s,richText:e})=>m("div",{className:"container",children:S("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[m("div",{className:"max-w-[48rem] flex items-center",children:e&&m(n,{className:"mb-0",content:e,enableGutter:!1})}),m("div",{className:"flex flex-col gap-8",children:(s||[]).map(({link:a},c)=>m(p,{size:"lg",...a},c))})]})});import R,{Fragment as I}from"react";import{jsx as t}from"react/jsx-runtime";function f({nodes:s}){return t(I,{children:s==null?void 0:s.map((e,a)=>{if(e==null)return null;if(e.type==="text"){let r=t(R.Fragment,{children:e.text},a);return e.format&1&&(r=t("strong",{children:r},a)),e.format&2&&(r=t("em",{children:r},a)),e.format&4&&(r=t("span",{style:{textDecoration:"line-through"},children:r},a)),e.format&8&&(r=t("span",{style:{textDecoration:"underline"},children:r},a)),e.format&16&&(r=t("code",{children:e.text},a)),e.format&32&&(r=t("sub",{children:r},a)),e.format&64&&(r=t("sup",{children:r},a)),r}let c=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return f({nodes:r.children})},l="children"in e?c(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return t(b,{...r},a);case"mediaBlock":return t(y,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return t(B,{className:"col-start-2 mb-4",...r},a);case"code":return t(k,{className:"col-start-2",...r},a);default:return null}}else switch(e.type){case"linebreak":return t("br",{className:"col-start-2"},a);case"paragraph":return t("p",{className:"col-start-2",children:l},a);case"heading":{let r=e==null?void 0:e.tag;return t(r,{className:"col-start-2",children:l},a)}case"list":{let r=e==null?void 0:e.tag;return t(r,{className:"list col-start-2",children:l},a)}case"listitem":return(e==null?void 0:e.checked)!=null?t("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:l},a):t("li",{value:e==null?void 0:e.value,children:l},a);case"quote":return t("blockquote",{className:"col-start-2",children:l},a);case"link":{let r=e.fields;return t(p,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},a)}default:return null}})})}import{jsx as w}from"react/jsx-runtime";var n=({className:s,content:e,enableGutter:a=!0,enableProse:c=!0})=>{var l;return e?w("div",{className:i({"container ":a,"max-w-none":!a,"mx-auto prose dark:prose-invert ":c},s),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&f({nodes:(l=e==null?void 0:e.root)==null?void 0:l.children})}):null};import{jsx as u}from"react/jsx-runtime";var B=({className:s,content:e,style:a})=>u("div",{className:i("mx-auto my-8 w-full",s),children:u("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:u(n,{content:e,enableGutter:!1,enableProse:!1})})});export{B as a,b,f as c,n as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g}from"./chunk-
|
|
4
|
+
import{a as g}from"./chunk-CW7WANDA.mjs";import{b as i}from"./chunk-GLEWUUGS.mjs";import{ChevronRight as w}from"lucide-react";import y from"next/link";import{useState as n,useEffect as x}from"react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function $(){let[s,p]=n("All News"),[l,d]=n([]),[o,f]=n(1),[h,c]=n(1),v=["All News","Announcements","Blogs","Articles","Case Studies"];return x(()=>{async function e(){if(s==="All News"){let u=await(await fetch(`/api/posts?page=${o}`)).json();d(u.docs),c(u.totalPages);return}let m=await(await fetch(`/api/posts?where[categories][title][equals]=${s}&page=${o}`)).json();d(m.docs),c(m.totalPages)}e()},[s,o]),a("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:[a("div",{className:"flex gap-2 overflow-x-auto pb-4 mb-6",children:[v.map(e=>t(i,{variant:e===s?"default":"ghost",className:"rounded-full whitespace-nowrap",onClick:()=>p(e),children:e},e)),a(i,{variant:"ghost",size:"icon",className:"rounded-full",children:[t(w,{className:"h-4 w-4"}),t("span",{className:"sr-only",children:"More"})]})]}),t("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:l&&l.map(e=>a(y,{href:`/posts/${e.slug}`,className:"group rounded-lg overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:[e.meta&&e.meta.image&&typeof e.meta.image!="string"&&t(g,{resource:e.meta.image,size:"33vw"}),a("div",{className:"p-4",children:[a("div",{className:"text-sm text-muted-foreground mb-2",children:[e.populatedAuthors&&e.populatedAuthors.map(r=>r.name)," ","\xB7"," ",e.publishedAt&&new Date(e.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),t("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:e.title})]})]},e.id))}),t("div",{className:"flex justify-center gap-1 mt-8",children:Array.from({length:h},(e,r)=>r+1).map(e=>t(i,{variant:e===o?"default":"ghost",size:"icon",className:"w-10 h-10 rounded-full",onClick:()=>f(e),children:e},e))})]})}export{$ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as BannerBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a}from"../../chunk-
|
|
1
|
+
import{b as a}from"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as CallToActionBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-VY32UTE2.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as ContentBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-CSUTG7F5.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as FeaturesBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../chunk-
|
|
1
|
+
import{a as e}from"../../chunk-CSUTG7F5.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";var t={title:"Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},i=t,n={args:{title:"What Are Digital Colleagues?",description:"some other words",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners (internal link)",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},a={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},r={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},s={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}};export{n as Default,s as NoTitle,r as OneFeature,a as TwoFeatures,i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-5EX5KVLO.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as ImageBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as MediaBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-5TTFPIXL.mjs";import"../../chunk-CP6IA4YZ.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as RelatedPosts};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-M5X4MWJX.mjs";import"../../chunk-VY32UTE2.mjs";import"../../chunk-CSUTG7F5.mjs";import"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as RenderBlocks};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"../../chunk-53QLSQCO.mjs";import{a as j}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-
|
|
1
|
+
import{a as i}from"../../chunk-53QLSQCO.mjs";import{a as j}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-5TTFPIXL.mjs";import"../../chunk-CP6IA4YZ.mjs";import{a as p}from"../../chunk-M5X4MWJX.mjs";import{a as k}from"../../chunk-EPTHSTUM.mjs";import{a as o}from"../../chunk-5EX5KVLO.mjs";import{a as g}from"../../chunk-72BBXZKW.mjs";import{a as f}from"../../chunk-56XJMQVR.mjs";import{a as h}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-KPIWBWE2.mjs";import{a as l}from"../../chunk-VY32UTE2.mjs";import{a as m}from"../../chunk-CSUTG7F5.mjs";import{a as n}from"../../chunk-JCH2CCQ7.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SABHLBUI.mjs";import{a,b}from"../../chunk-WQF47M5N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import{a as e}from"../../chunk-6FHLIH4J.mjs";import"../../chunk-CW7WANDA.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-7WBETZEV.mjs";import{a as d}from"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import{a as c}from"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as BannerBlock,b as CallToActionBlock,d as CodeBlock,l as ContentBlock,c as CopyButton,m as FeaturesBlock,n as HeadingImage,o as ImageBlock,g as InfoTile,f as Insight,h as MOTD,e as MediaBlock,i as OrgChart,j as ProposalSummary,q as RelatedPosts,p as RenderBlocks,k as WhyUs};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Pe=Object.create;var V=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Ie=Object.prototype.hasOwnProperty;var Ae=(e,r)=>{for(var t in r)V(e,t,{get:r[t],enumerable:!0})},se=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Se(r))!Ie.call(e,n)&&n!==t&&V(e,n,{get:()=>r[n],enumerable:!(o=ze(r,n))||o.enumerable});return e};var ae=(e,r,t)=>(t=e!=null?Pe(Me(e)):{},se(r||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),Le=e=>se(V({},"__esModule",{value:!0}),e);var pr={};Ae(pr,{HeaderDesktop:()=>dr});module.exports=Le(pr);var R=require("react");var be=require("clsx");var J="-",Re=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(J);return a[0]===""&&a.length!==1&&a.shift(),ce(a,r)||Te(i)},getConflictingClassGroupIds:(i,a)=>{let p=t[i]||[];return a&&o[i]?[...p,...o[i]]:p}}},ce=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?ce(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(J);return(i=r.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},le=/^\[(.+)\]$/,Te=e=>{if(le.test(e)){let r=le.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:ie(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Ee(n)){q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{q(i,ie(r,s),t,o)})})},ie=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Ee=e=>e.isThemeGetter,_e=(e,r)=>r?e.map(([t,o])=>{let n=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[r+i,a])):s);return[t,n]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},de="!",We=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],s=r.length,i=a=>{let p=[],b=0,c=0,y;for(let m=0;m<a.length;m++){let x=a[m];if(b===0){if(x===n&&(o||a.slice(m,m+s)===r)){p.push(a.slice(c,m)),c=m+s;continue}if(x==="/"){y=m;continue}}x==="["?b++:x==="]"&&b--}let w=p.length===0?a:a.substring(c),C=w.startsWith(de),k=C?w.substring(1):w,f=y&&y>c?y-c:void 0;return{modifiers:p,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},Be=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ue=e=>({cache:He(e.cacheSize),parseClassName:We(e),...Re(e)}),je=/\s+/,Ve=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,s=[],i=e.trim().split(je),a="";for(let p=i.length-1;p>=0;p-=1){let b=i[p],{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:C}=t(b),k=!!C,f=o(k?w.substring(0,C):w);if(!f){if(!k){a=b+(a.length>0?" "+a:a);continue}if(f=o(w),!f){a=b+(a.length>0?" "+a:a);continue}k=!1}let m=Be(c).join(":"),x=y?m+de:m,v=x+f;if(s.includes(v))continue;s.push(v);let T=n(f,k);for(let M=0;M<T.length;++M){let B=T[M];s.push(x+B)}a=b+(a.length>0?" "+a:a)}return a};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=pe(r))&&(o&&(o+=" "),o+=t);return o}var pe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=pe(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,s=i;function i(p){let b=r.reduce((c,y)=>y(c),e());return t=Ue(b),o=t.cache.get,n=t.cache.set,s=a,a(p)}function a(p){let b=o(p);if(b)return b;let c=Ve(p,t);return n(p,c),c}return function(){return s($e.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ye=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|he|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I(e)||Fe.has(e)||Oe.test(e),z=e=>A(e,"length",sr),I=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>A(e,"number",I),E=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&I(e.slice(0,-1)),l=e=>ue.test(e),S=e=>Xe.test(e),Qe=new Set(["length","size","percentage"]),er=e=>A(e,Qe,ge),rr=e=>A(e,"position",ge),tr=new Set(["image","url"]),or=e=>A(e,tr,lr),nr=e=>A(e,"",ar),_=()=>!0,A=(e,r,t)=>{let o=ue.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},sr=e=>Ye.test(e)&&!qe.test(e),ge=()=>!1,ar=e=>Je.test(e),lr=e=>Ke.test(e);var ir=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),n=d("borderColor"),s=d("borderRadius"),i=d("borderSpacing"),a=d("borderWidth"),p=d("contrast"),b=d("grayscale"),c=d("hueRotate"),y=d("invert"),w=d("gap"),C=d("gradientColorStops"),k=d("gradientColorStopPositions"),f=d("inset"),m=d("margin"),x=d("opacity"),v=d("padding"),T=d("saturate"),M=d("scale"),B=d("sepia"),Z=d("skew"),Q=d("space"),ee=d("translate"),D=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",l,r],u=()=>[l,r],re=()=>["",P,z],U=()=>["auto",I,l],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[I,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[P,z],blur:["none","",S,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:u(),borderWidth:re(),contrast:N(),grayscale:G(),hueRotate:N(),invert:G(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:F(),margin:F(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:G(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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(),l]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],he:[{he:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-he":[{"min-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-he":[{"max-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Y]}],"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",l]}],"line-clamp":[{"line-clamp":["none",I,Y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,z]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"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:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),rr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",er]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},or]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,nr]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"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",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,z,Y]}],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"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","he"],"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-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["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 me=De(ir);function H(...e){return me((0,be.clsx)(e))}var he=require("react/jsx-runtime");function fe({children:e,isFluid:r=!1,isNoPadding:t=!1,className:o=""}){let n=H("container",r&&"full-width",t&&"no-padding",o);return(0,he.jsx)("div",{className:n,children:e})}var xe=ae(require("next/link"));function ye({children:e,href:r,openNewTab:t,...o}){return(0,he.jsx)(xe.default,{href:r,target:t?"_blank":"_self",...o,children:e})}var K=ae(require("next/image"));function we({logoLight:e,logoDark:r,mobile:t=!1}){return(0,he.jsxs)(ye,{href:"/",className:H(t?"py-1":"py-2"),children:[(0,he.jsx)(K.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}}),(0,he.jsx)(K.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var $=require("lucide-react");var L=require("@headlessui/react"),ke=require("@heroicons/react/20/solid"),cr=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,he.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsxs)(L.Popover,{children:[(0,he.jsxs)(L.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,he.jsxs)("span",{className:"relative",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsx)(ke.ChevronDownIcon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-accent"})]}),(0,he.jsxs)(L.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-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,he.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 z-50",children:r&&r.map(n=>(0,he.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,he.jsx)("div",{className:"flex he-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,he.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,he.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,he.jsx)("span",{className:"absolute inset-0"})]}),(0,he.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,he.jsx)("div",{className:"bg-gray-50",children:(0,he.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,he.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,he.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,he.jsx)(n.icon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Ce=cr;function dr({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:o}){let[n,s]=(0,R.useState)(!1),[i,a]=(0,R.useState)("light"),p=["light","dark"];(0,R.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),a(c),document.documentElement.setAttribute("class",c)},[]);let b=()=>{let c=p[(p.indexOf(i)+1)%p.length];a(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,R.useEffect)(()=>{let c=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,he.jsx)(he.Fragment,{children:(0,he.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,he.jsx)(fe,{className:"px-0",children:(0,he.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,he.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl border border-t-0 border-accent",children:[(0,he.jsx)(we,{logoDark:t,logoLight:r}),(0,he.jsx)(L.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(c=>(0,he.jsx)(Ce,{...c},c.name))}),(0,he.jsx)("div",{className:"flex items-center space-x-4",children:(0,he.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary hover:text-accent",onClick:b,children:(0,he.jsxs)("div",{className:"relative",children:[(0,he.jsx)($.Sun,{className:"absolute he-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,he.jsx)($.Moon,{className:"absoulte he-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}0&&(module.exports={HeaderDesktop});
|
|
4
|
+
"use strict";"use client";var Pe=Object.create;var V=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Ie=Object.prototype.hasOwnProperty;var Ae=(e,r)=>{for(var t in r)V(e,t,{get:r[t],enumerable:!0})},se=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Se(r))!Ie.call(e,n)&&n!==t&&V(e,n,{get:()=>r[n],enumerable:!(o=ze(r,n))||o.enumerable});return e};var ae=(e,r,t)=>(t=e!=null?Pe(Me(e)):{},se(r||!e||!e.__esModule?V(t,"default",{value:e,enumerable:!0}):t,e)),Le=e=>se(V({},"__esModule",{value:!0}),e);var pr={};Ae(pr,{HeaderDesktop:()=>dr});module.exports=Le(pr);var R=require("react");var be=require("clsx");var J="-",Re=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(J);return a[0]===""&&a.length!==1&&a.shift(),ce(a,r)||Te(i)},getConflictingClassGroupIds:(i,a)=>{let p=t[i]||[];return a&&o[i]?[...p,...o[i]]:p}}},ce=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?ce(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(J);return(i=r.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},le=/^\[(.+)\]$/,Te=e=>{if(le.test(e)){let r=le.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:ie(r,n);s.classGroupId=t;return}if(typeof n=="function"){if(Ee(n)){q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,i])=>{q(i,ie(r,s),t,o)})})},ie=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Ee=e=>e.isThemeGetter,_e=(e,r)=>r?e.map(([t,o])=>{let n=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[r+i,a])):s);return[t,n]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){t.has(s)?t.set(s,i):n(s,i)}}},de="!",We=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],s=r.length,i=a=>{let p=[],b=0,c=0,y;for(let m=0;m<a.length;m++){let x=a[m];if(b===0){if(x===n&&(o||a.slice(m,m+s)===r)){p.push(a.slice(c,m)),c=m+s;continue}if(x==="/"){y=m;continue}}x==="["?b++:x==="]"&&b--}let w=p.length===0?a:a.substring(c),C=w.startsWith(de),k=C?w.substring(1):w,f=y&&y>c?y-c:void 0;return{modifiers:p,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},Be=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ue=e=>({cache:He(e.cacheSize),parseClassName:We(e),...Re(e)}),je=/\s+/,Ve=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,s=[],i=e.trim().split(je),a="";for(let p=i.length-1;p>=0;p-=1){let b=i[p],{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:C}=t(b),k=!!C,f=o(k?w.substring(0,C):w);if(!f){if(!k){a=b+(a.length>0?" "+a:a);continue}if(f=o(w),!f){a=b+(a.length>0?" "+a:a);continue}k=!1}let m=Be(c).join(":"),x=y?m+de:m,v=x+f;if(s.includes(v))continue;s.push(v);let T=n(f,k);for(let M=0;M<T.length;++M){let B=T[M];s.push(x+B)}a=b+(a.length>0?" "+a:a)}return a};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=pe(r))&&(o&&(o+=" "),o+=t);return o}var pe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=pe(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,s=i;function i(p){let b=r.reduce((c,y)=>y(c),e());return t=Ue(b),o=t.cache.get,n=t.cache.set,s=a,a(p)}function a(p){let b=o(p);if(b)return b;let c=Ve(p,t);return n(p,c),c}return function(){return s($e.apply(null,arguments))}}var d=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\d+\/\d+$/,Fe=new Set(["px","full","screen"]),Xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ye=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|he|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>I(e)||Fe.has(e)||Oe.test(e),z=e=>A(e,"length",sr),I=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>A(e,"number",I),E=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&I(e.slice(0,-1)),l=e=>ue.test(e),S=e=>Xe.test(e),Qe=new Set(["length","size","percentage"]),er=e=>A(e,Qe,ge),rr=e=>A(e,"position",ge),tr=new Set(["image","url"]),or=e=>A(e,tr,lr),nr=e=>A(e,"",ar),_=()=>!0,A=(e,r,t)=>{let o=ue.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},sr=e=>Ye.test(e)&&!qe.test(e),ge=()=>!1,ar=e=>Je.test(e),lr=e=>Ke.test(e);var ir=()=>{let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),n=d("borderColor"),s=d("borderRadius"),i=d("borderSpacing"),a=d("borderWidth"),p=d("contrast"),b=d("grayscale"),c=d("hueRotate"),y=d("invert"),w=d("gap"),C=d("gradientColorStops"),k=d("gradientColorStopPositions"),f=d("inset"),m=d("margin"),x=d("opacity"),v=d("padding"),T=d("saturate"),M=d("scale"),B=d("sepia"),Z=d("skew"),Q=d("space"),ee=d("translate"),D=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",l,r],u=()=>[l,r],re=()=>["",P,z],U=()=>["auto",I,l],te=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[I,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[P,z],blur:["none","",S,l],brightness:N(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:u(),borderWidth:re(),contrast:N(),grayscale:G(),hueRotate:N(),invert:G(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:F(),margin:F(),opacity:N(),padding:u(),saturate:N(),scale:N(),sepia:G(),skew:N(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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(),l]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,l]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",E,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",E,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[E,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],he:[{he:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-he":[{"min-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-he":[{"max-he":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Y]}],"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",l]}],"line-clamp":[{"line-clamp":["none",I,Y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,z]}],"underline-offset":[{"underline-offset":["auto",P,l]}],"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:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...te(),rr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",er]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},or]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:j()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[P,l]}],"outline-w":[{outline:[P,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,nr]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...oe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":oe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[y]}],saturate:[{saturate:[T]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"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",l]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[E,l]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[Z]}],"skew-y":[{"skew-y":[Z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,z,Y]}],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"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","he"],"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-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["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 me=De(ir);function H(...e){return me((0,be.clsx)(e))}var he=require("react/jsx-runtime");function fe({children:e,isFluid:r=!1,isNoPadding:t=!1,className:o=""}){let n=H("container",r&&"full-width",t&&"no-padding",o);return(0,he.jsx)("div",{className:n,children:e})}var xe=ae(require("next/link"));function ye({children:e,href:r,openNewTab:t,...o}){return(0,he.jsx)(xe.default,{href:r,target:t?"_blank":"_self",...o,children:e})}var K=ae(require("next/image"));function we({logoLight:e,logoDark:r,mobile:t=!1}){return(0,he.jsxs)(ye,{href:"/",className:H(t?"py-1":"py-2"),children:[(0,he.jsx)(K.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}}),(0,he.jsx)(K.default,{className:"logo-dark hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var $=require("lucide-react");var L=require("@headlessui/react"),ke=require("@heroicons/react/20/solid"),cr=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,he.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsxs)(L.Popover,{children:[(0,he.jsxs)(L.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,he.jsxs)("span",{className:"relative",children:[e,(0,he.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 he-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,he.jsx)(ke.ChevronDownIcon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-accent"})]}),(0,he.jsxs)(L.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-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,he.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 z-50",children:r&&r.map(n=>(0,he.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,he.jsx)("div",{className:"flex he-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,he.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,he.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,he.jsx)("span",{className:"absolute inset-0"})]}),(0,he.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,he.jsx)("div",{className:"bg-gray-50",children:(0,he.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,he.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,he.jsxs)("a",{href:n.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,he.jsx)(n.icon,{"aria-hidden":"true",className:"he-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Ce=cr;function dr({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:o}){let[n,s]=(0,R.useState)(!1),[i,a]=(0,R.useState)("light"),p=["light","dark"];(0,R.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),a(c),document.documentElement.setAttribute("class",c)},[]);let b=()=>{let c=p[(p.indexOf(i)+1)%p.length];a(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,R.useEffect)(()=>{let c=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,he.jsx)(he.Fragment,{children:(0,he.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,he.jsx)(fe,{className:"px-0",children:(0,he.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,he.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,he.jsx)(we,{logoDark:t,logoLight:r}),(0,he.jsx)(L.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(c=>(0,he.jsx)(Ce,{...c},c.name))}),(0,he.jsx)("div",{className:"flex items-center space-x-4",children:(0,he.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:b,children:(0,he.jsxs)("div",{className:"relative",children:[(0,he.jsx)($.Sun,{className:"absolute he-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,he.jsx)($.Moon,{className:"absoulte he-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}0&&(module.exports={HeaderDesktop});
|