cortex-react-components 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-7V56HKKJ.mjs → chunk-7MBZWYVZ.mjs} +1 -1
- package/dist/{chunk-FAX7XPJY.mjs → chunk-BTYSHCEW.mjs} +1 -1
- package/dist/{chunk-4C4HJN4K.mjs → chunk-FSXB4EFA.mjs} +1 -1
- package/dist/chunk-GCVL4HMJ.mjs +1 -0
- package/dist/{chunk-V6EHJ5M6.mjs → chunk-OJHVOO35.mjs} +1 -1
- package/dist/{chunk-UN4YL2CJ.mjs → chunk-QXFTL6FL.mjs} +1 -1
- package/dist/{chunk-MMYJQ5QE.mjs → chunk-RIQGZPED.mjs} +1 -1
- package/dist/{chunk-H2TB2T6H.mjs → chunk-SXONQUDJ.mjs} +1 -1
- package/dist/{chunk-AVQWXJLX.mjs → chunk-T65VI4KP.mjs} +1 -1
- package/dist/chunk-UESKYRNK.mjs +1 -0
- package/dist/chunk-XTQ4VQZP.mjs +4 -0
- package/dist/{chunk-QUBJO7F3.mjs → chunk-ZMWC7QQ2.mjs} +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Other/Container.d.ts +6 -1
- package/dist/components/Other/Container.js +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/index.js +1 -1
- package/dist/components/Other/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.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +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/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- 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/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3ZEL6VBT.mjs +0 -1
- package/dist/chunk-55BPPKDS.mjs +0 -1
- package/dist/chunk-O72RP6UB.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var Ne=Object.create;var $=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Ae=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},le=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Le.call(e,a)&&a!==r&&$(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var X=(e,t,r)=>(r=e!=null?Ne(Me(e)):{},le(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>le($({},"__esModule",{value:!0}),e);var dt={};Ae(dt,{VideoHeader:()=>ct});module.exports=Pe(dt);var L=require("react"),R=require("lucide-react"),Se=X(require("next/image"));var fe=require("clsx");var K="-",Ee=e=>{let t=Te(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(K);return n[0]===""&&n.length!==1&&n.shift(),de(n,t)||Re(l)},getConflictingClassGroupIds:(l,n)=>{let u=r[l]||[];return n&&o[l]?[...u,...o[l]]:u}}},de=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?de(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(K);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Re=e=>{if(ie.test(e)){let t=ie.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Te=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),r).forEach(([s,l])=>{J(l,o,s,t)}),o},J=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:ce(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Ge(a)){J(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,l])=>{J(l,ce(t,s),r,o)})})},ce=(e,t)=>{let r=e;return t.split(K).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ge=e=>e.isThemeGetter,_e=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[r,a]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){r.has(s)?r.set(s,l):a(s,l)}}},ue="!",De=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,l=n=>{let u=[],c=0,h=0,f;for(let b=0;b<n.length;b++){let w=n[b];if(c===0){if(w===a&&(o||n.slice(b,b+s)===t)){u.push(n.slice(h,b)),h=b+s;continue}if(w==="/"){f=b;continue}}w==="["?c++:w==="]"&&c--}let v=u.length===0?n:n.substring(h),C=v.startsWith(ue),k=C?v.substring(1):v,x=f&&f>h?f-h:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:x}};return r?n=>r({className:n,parseClassName:l}):l},We=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Ve(e.cacheSize),parseClassName:De(e),...Ee(e)}),Ue=/\s+/,$e=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(Ue),n="";for(let u=l.length-1;u>=0;u-=1){let c=l[u],{modifiers:h,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:C}=r(c),k=!!C,x=o(k?v.substring(0,C):v);if(!x){if(!k){n=c+(n.length>0?" "+n:n);continue}if(x=o(v),!x){n=c+(n.length>0?" "+n:n);continue}k=!1}let b=We(h).join(":"),w=f?b+ue:b,y=w+x;if(s.includes(y))continue;s.push(y);let T=a(x,k);for(let M=0;M<T.length;++M){let W=T[M];s.push(w+W)}n=c+(n.length>0?" "+n:n)}return n};function Be(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pe(t))&&(o&&(o+=" "),o+=r);return o}var pe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=pe(e[o]))&&(r&&(r+=" "),r+=t);return r};function He(e,...t){let r,o,a,s=l;function l(u){let c=t.reduce((h,f)=>f(h),e());return r=je(c),o=r.cache.get,a=r.cache.set,s=n,n(u)}function n(u){let c=o(u);if(c)return c;let h=$e(u,r);return a(u,h),h}return function(){return s(Be.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\xe+\/\xe+$/,Ye=new Set(["px","full","screen"]),Fe=/^(\xe+(\.\xe+)?)?(xs|sm|md|lg|xl)$/,Xe=/\xe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\xe+)?\.?(\xe+)[a-z]+|0)_-?((\xe+)?\.?(\xe+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>A(e)||Ye.has(e)||Oe.test(e),z=e=>P(e,"length",st),A=e=>!!e&&!Number.isNaN(Number(e)),q=e=>P(e,"number",A),_=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>ge.test(e),I=e=>Fe.test(e),Qe=new Set(["length","size","percentage"]),et=e=>P(e,Qe,be),tt=e=>P(e,"position",be),rt=new Set(["image","url"]),ot=e=>P(e,rt,lt),nt=e=>P(e,"",at),V=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},st=e=>Xe.test(e)&&!qe.test(e),be=()=>!1,at=e=>Je.test(e),lt=e=>Ke.test(e);var it=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),s=p("borderRadius"),l=p("borderSpacing"),n=p("borderWidth"),u=p("contrast"),c=p("grayscale"),h=p("hueRotate"),f=p("invert"),v=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),x=p("inset"),b=p("margin"),w=p("opacity"),y=p("padding"),T=p("saturate"),M=p("scale"),W=p("sepia"),ee=p("skew"),te=p("space"),re=p("translate"),H=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",i,t],g=()=>[i,t],oe=()=>["",N,z],j=()=>["auto",A,i],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[A,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[N,z],blur:["none","",I,i],brightness:S(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:g(),borderWidth:oe(),contrast:S(),grayscale:G(),hueRotate:S(),invert:G(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:Y(),margin:Y(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:G(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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:[...ne(),i]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,i]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",_,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",_,i]},i]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[_,i]},i]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],xe:[{xe:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",I,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",q]}],"font-family":[{font:[V]}],"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",i]}],"line-clamp":[{"line-clamp":["none",A,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,z]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ot]}],"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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[N,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,nt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[f]}],saturate:[{saturate:[T]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[_,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[ee]}],"skew-y":[{"skew-y":[ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-xe":[{"scroll-xe":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,z,q]}],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"],xe:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-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-xe":["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=He(it);function Z(...e){return me((0,fe.clsx)(e))}var xe=require("react/jsx-runtime");function he({children:e,isFluid:t=!1,isNoPadding:r=!1}){let o=Z("container",t&&"full-width",r&&"no-padding");return(0,xe.jsx)("div",{className:o,children:e})}var we=X(require("next/link"));function ve({children:e,href:t,openNewTab:r,...o}){return(0,xe.jsx)(we.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var Q=X(require("next/image"));function ke({logoLight:e,logoDark:t}){return(0,xe.jsxs)(ve,{href:"/",className:"py-2",children:[(0,xe.jsx)(Q.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:"200px",height:"auto"}}),(0,xe.jsx)(Q.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}function Ce({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)("light"),n=["light","dark"];(0,L.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let u=()=>{let c=n[(n.indexOf(s)+1)%n.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,L.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,xe.jsx)(he,{children:(0,xe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,xe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,xe.jsx)(ke,{logoDark:r,logoLight:t}),(0,xe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,xe.jsx)("div",{className:"flex items-center space-x-4",children:(0,xe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,xe.jsxs)("div",{className:"relative",children:[(0,xe.jsx)(R.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,xe.jsx)(R.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function ct({logoVideo:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)(!1),[n,u]=(0,L.useState)(!1),c=()=>{let f=document.getElementById("next-section");f&&f.scrollIntoView({behavior:"smooth"})};return(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?(l(!0),u(!1)):(l(!1),u(!0))};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,xe.jsxs)("div",{className:"relative h-screen",children:[(0,xe.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,xe.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,xe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,xe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!o&&(0,xe.jsx)("button",{className:"fixed 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:()=>{u(!n)},children:n?(0,xe.jsx)(R.X,{className:"w-6 h-6 text-white"}):(0,xe.jsx)(R.Menu,{className:"w-6 h-6 text-white"})}),(0,xe.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,xe.jsx)(Ce,{isMenuOpen:o,logoLight:t,logoDark:r})}),(0,xe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${s||n?"opacity-0":"opacity-100"}`}),(0,xe.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,xe.jsx)(Se.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),(0,xe.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,xe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,xe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:c,children:(0,xe.jsx)(R.ChevronDown,{size:64})})})]})]})}0&&(module.exports={VideoHeader});
|
|
4
|
+
"use strict";"use client";var Ne=Object.create;var $=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty;var Ae=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},le=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ie(t))!Le.call(e,a)&&a!==r&&$(e,a,{get:()=>t[a],enumerable:!(o=ze(t,a))||o.enumerable});return e};var X=(e,t,r)=>(r=e!=null?Ne(Me(e)):{},le(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Pe=e=>le($({},"__esModule",{value:!0}),e);var dt={};Ae(dt,{VideoHeader:()=>ct});module.exports=Pe(dt);var L=require("react"),R=require("lucide-react"),Se=X(require("next/image"));var fe=require("clsx");var K="-",Ee=e=>{let t=Te(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(K);return n[0]===""&&n.length!==1&&n.shift(),de(n,t)||Re(l)},getConflictingClassGroupIds:(l,n)=>{let u=r[l]||[];return n&&o[l]?[...u,...o[l]]:u}}},de=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?de(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(K);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Re=e=>{if(ie.test(e)){let t=ie.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Te=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return _e(Object.entries(e.classGroups),r).forEach(([s,l])=>{J(l,o,s,t)}),o},J=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:ce(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Ge(a)){J(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,l])=>{J(l,ce(t,s),r,o)})})},ce=(e,t)=>{let r=e;return t.split(K).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ge=e=>e.isThemeGetter,_e=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[r,a]}):e,Ve=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return a(s,l),l},set(s,l){r.has(s)?r.set(s,l):a(s,l)}}},ue="!",De=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,l=n=>{let u=[],c=0,h=0,f;for(let m=0;m<n.length;m++){let w=n[m];if(c===0){if(w===a&&(o||n.slice(m,m+s)===t)){u.push(n.slice(h,m)),h=m+s;continue}if(w==="/"){f=m;continue}}w==="["?c++:w==="]"&&c--}let v=u.length===0?n:n.substring(h),C=v.startsWith(ue),k=C?v.substring(1):v,x=f&&f>h?f-h:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:k,maybePostfixModifierPosition:x}};return r?n=>r({className:n,parseClassName:l}):l},We=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},je=e=>({cache:Ve(e.cacheSize),parseClassName:De(e),...Ee(e)}),Ue=/\s+/,$e=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(Ue),n="";for(let u=l.length-1;u>=0;u-=1){let c=l[u],{modifiers:h,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:C}=r(c),k=!!C,x=o(k?v.substring(0,C):v);if(!x){if(!k){n=c+(n.length>0?" "+n:n);continue}if(x=o(v),!x){n=c+(n.length>0?" "+n:n);continue}k=!1}let m=We(h).join(":"),w=f?m+ue:m,y=w+x;if(s.includes(y))continue;s.push(y);let T=a(x,k);for(let M=0;M<T.length;++M){let W=T[M];s.push(w+W)}n=c+(n.length>0?" "+n:n)}return n};function Be(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pe(t))&&(o&&(o+=" "),o+=r);return o}var pe=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=pe(e[o]))&&(r&&(r+=" "),r+=t);return r};function He(e,...t){let r,o,a,s=l;function l(u){let c=t.reduce((h,f)=>f(h),e());return r=je(c),o=r.cache.get,a=r.cache.set,s=n,n(u)}function n(u){let c=o(u);if(c)return c;let h=$e(u,r);return a(u,h),h}return function(){return s(Be.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,Oe=/^\xe+\/\xe+$/,Ye=new Set(["px","full","screen"]),Fe=/^(\xe+(\.\xe+)?)?(xs|sm|md|lg|xl)$/,Xe=/\xe+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|xe|min|max))|\xe(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Je=/^(inset_)?-?((\xe+)?\.?(\xe+)[a-z]+|0)_-?((\xe+)?\.?(\xe+)[a-z]+|0)/,Ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>A(e)||Ye.has(e)||Oe.test(e),z=e=>P(e,"length",st),A=e=>!!e&&!Number.isNaN(Number(e)),q=e=>P(e,"number",A),_=e=>!!e&&Number.isInteger(Number(e)),Ze=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>ge.test(e),I=e=>Fe.test(e),Qe=new Set(["length","size","percentage"]),et=e=>P(e,Qe,me),tt=e=>P(e,"position",me),rt=new Set(["image","url"]),ot=e=>P(e,rt,lt),nt=e=>P(e,"",at),V=()=>!0,P=(e,t,r)=>{let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},st=e=>Xe.test(e)&&!qe.test(e),me=()=>!1,at=e=>Je.test(e),lt=e=>Ke.test(e);var it=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),a=p("borderColor"),s=p("borderRadius"),l=p("borderSpacing"),n=p("borderWidth"),u=p("contrast"),c=p("grayscale"),h=p("hueRotate"),f=p("invert"),v=p("gap"),C=p("gradientColorStops"),k=p("gradientColorStopPositions"),x=p("inset"),m=p("margin"),w=p("opacity"),y=p("padding"),T=p("saturate"),M=p("scale"),W=p("sepia"),ee=p("skew"),te=p("space"),re=p("translate"),H=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",i,t],g=()=>[i,t],oe=()=>["",N,z],j=()=>["auto",A,i],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[A,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[N,z],blur:["none","",I,i],brightness:S(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:g(),borderWidth:oe(),contrast:S(),grayscale:G(),hueRotate:S(),invert:G(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Ze,z],inset:Y(),margin:Y(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:G(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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:[...ne(),i]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,i]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",_,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",_,i]},i]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[_,i]},i]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],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":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",I,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",q]}],"font-family":[{font:[V]}],"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",i]}],"line-clamp":[{"line-clamp":["none",A,q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,z]}],"underline-offset":[{"underline-offset":["auto",N,i]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),tt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","xe","bl","l","tl"]},ot]}],"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-xe":[{"rounded-xe":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-xe":[{"border-xe":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-xe":[{"border-xe":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[N,i]}],"outline-w":[{outline:[N,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[N,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,nt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[f]}],saturate:[{saturate:[T]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[_,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[ee]}],"skew-y":[{"skew-y":[ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,z,q]}],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","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-xe","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-xe":["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-xe","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-xe"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-xe","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-xe"],"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 be=He(it);function Z(...e){return be((0,fe.clsx)(e))}var xe=require("react/jsx-runtime");function he({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=Z("container",t&&"full-width",r&&"no-padding",o);return(0,xe.jsx)("div",{className:a,children:e})}var we=X(require("next/link"));function ve({children:e,href:t,openNewTab:r,...o}){return(0,xe.jsx)(we.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var Q=X(require("next/image"));function ke({logoLight:e,logoDark:t}){return(0,xe.jsxs)(ve,{href:"/",className:"py-2",children:[(0,xe.jsx)(Q.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:"200px",height:"auto"}}),(0,xe.jsx)(Q.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}function Ce({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)("light"),n=["light","dark"];(0,L.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let u=()=>{let c=n[(n.indexOf(s)+1)%n.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,L.useEffect)(()=>{let c=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,xe.jsx)(xe.Fragment,{children:(0,xe.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,xe.jsx)(he,{className:"px-0",children:(0,xe.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-xe-xl",children:(0,xe.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-xe-xl dark:border dark:border-accent",children:[(0,xe.jsx)(ke,{logoDark:r,logoLight:t}),(0,xe.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,xe.jsx)("li",{children:(0,xe.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,xe.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,xe.jsx)("div",{className:"flex items-center space-x-4",children:(0,xe.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,xe.jsxs)("div",{className:"relative",children:[(0,xe.jsx)(R.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,xe.jsx)(R.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function ct({logoVideo:e,logoLight:t,logoDark:r}){let[o,a]=(0,L.useState)(!1),[s,l]=(0,L.useState)(!1),[n,u]=(0,L.useState)(!1),c=()=>{let f=document.getElementById("next-section");f&&f.scrollIntoView({behavior:"smooth"})};return(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?(l(!0),u(!1)):(l(!1),u(!0))};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,L.useEffect)(()=>{let f=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,xe.jsxs)("div",{className:"relative h-screen",children:[(0,xe.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,xe.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,xe.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,xe.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!o&&(0,xe.jsx)("button",{className:"fixed 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:()=>{u(!n)},children:n?(0,xe.jsx)(R.X,{className:"w-6 h-6 text-white"}):(0,xe.jsx)(R.Menu,{className:"w-6 h-6 text-white"})}),(0,xe.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,xe.jsx)(Ce,{isMenuOpen:o,logoLight:t,logoDark:r})}),(0,xe.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${s||n?"opacity-0":"opacity-100"}`}),(0,xe.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,xe.jsx)(Se.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),(0,xe.jsxs)("div",{children:[(0,xe.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),(0,xe.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,xe.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,xe.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:c,children:(0,xe.jsx)(R.ChevronDown,{size:64})})})]})]})}0&&(module.exports={VideoHeader});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-OJHVOO35.mjs";import"../../chunk-XTQ4VQZP.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as VideoHeader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ge=Object.create;var X=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty;var je=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},be=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of He(t))!$e.call(e,n)&&n!==r&&X(e,n,{get:()=>t[n],enumerable:!(o=De(t,n))||o.enumerable});return e};var re=(e,t,r)=>(r=e!=null?Ge(_e(e)):{},be(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),Be=e=>be(X({},"__esModule",{value:!0}),e);var Nt={};je(Nt,{HeaderDesktop:()=>ie,SimpleHeader:()=>Oe,VideoHeader:()=>kt});module.exports=Be(Nt);var T=require("react"),N=require("@headlessui/react"),J=require("@heroicons/react/24/outline"),B=require("@heroicons/react/20/solid");var x=require("react/jsx-runtime"),Ve=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,x.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,x.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,x.jsxs)(N.Popover,{children:[(0,x.jsxs)(N.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,x.jsxs)("span",{className:"relative",children:[e,(0,x.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,x.jsx)(B.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,x.jsxs)(N.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-x-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,x.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:t&&t.map(n=>(0,x.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,x.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,x.jsx)(n.icon,{"aria-hidden":"true",size:"6x"})}),(0,x.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,x.jsx)("span",{className:"absolute inset-0"})]}),(0,x.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,x.jsx)("div",{className:"bg-gray-50",children:(0,x.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,x.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,x.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,x.jsx)(n.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),xe=Ve;var q=["light","dark","green"];function Oe({title:e,logo:t,menuItems:r}){let[o,n]=(0,T.useState)(!1),[a,l]=(0,T.useState)(!1),[s,u]=(0,T.useState)("light"),p=t==null?void 0:t.split(".")[0],b=t==null?void 0:t.split(".")[1],[h,w]=(0,T.useState)(`${p}.${b}`),C=d=>{q.includes(d)?w(d==="light"?`${p}.${b}`:`${p}-${d}.${b}`):w(`${p}.${b}`)};(0,T.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),u(d),document.documentElement.setAttribute("class",d),C(d)},[]);let S=()=>{let d=q[(q.indexOf(s)+1)%q.length];u(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),C(d)};return(0,x.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,x.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,x.jsx)("div",{className:"flex lg:flex-1",children:(0,x.jsxs)("a",{href:"#",className:"-x-1.5 p-1.5 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:e}),(0,x.jsx)("img",{alt:e,src:h,className:"h-9 w-auto"})]})}),(0,x.jsx)("div",{className:"flex lg:hidden",children:(0,x.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-x-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,x.jsx)(J.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,x.jsx)(N.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(d=>(0,x.jsx)(xe,{...d},d.name))}),(0,x.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,x.jsx)("button",{onClick:S,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,x.jsx)(B.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,x.jsx)(B.MoonIcon,{className:"h-6 w-6"}):(0,x.jsx)(B.SunIcon,{className:"h-6 w-6"})})})]}),(0,x.jsxs)(N.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,x.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,x.jsxs)(N.DialogPanel,{className:"fixed inset-x-0 right-0 z-20 w-full overflow-x-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,x.jsxs)("div",{className:"flex items-center justify-between",children:[(0,x.jsxs)("a",{href:"#",className:"-x-1.5 p-1.5 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,x.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,x.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-x-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,x.jsx)(J.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,x.jsx)("div",{className:"mt-6 flow-root",children:(0,x.jsx)("div",{className:"-my-6 divide-x divide-gray-500/10",children:(0,x.jsx)("div",{className:"space-x-2 py-6",children:r.map(d=>(0,x.jsx)(We,{...d},d.name))})})})]})]})]})}function We({name:e,items:t,actions:r,href:o}){return!t&&o?(0,x.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,x.jsxs)(N.Disclosure,{as:"div",className:"-mx-3",children:[(0,x.jsx)(N.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,x.jsx)(N.DisclosurePanel,{className:"mt-2 space-x-2",children:t&&t.map(n=>(0,x.jsx)(N.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}var _=require("lucide-react"),Re=re(require("next/image"));var Ie=require("clsx");var se="-",Ue=e=>{let t=Fe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(se);return s[0]===""&&s.length!==1&&s.shift(),we(s,t)||Ye(l)},getConflictingClassGroupIds:(l,s)=>{let u=r[l]||[];return s&&o[l]?[...u,...o[l]]:u}}},we=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?we(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(se);return(l=t.validators.find(({validator:s})=>s(a)))==null?void 0:l.classGroupId},ve=/^\[(.+)\]$/,Ye=e=>{if(ve.test(e)){let t=ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fe=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return qe(Object.entries(e.classGroups),r).forEach(([a,l])=>{ne(l,o,a,t)}),o},ne=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:ye(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(Xe(n)){ne(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,l])=>{ne(l,ye(t,a),r,o)})})},ye=(e,t)=>{let r=e;return t.split(se).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Xe=e=>e.isThemeGetter,qe=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,s])=>[t+l,s])):a);return[r,n]}):e,Je=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){r.has(a)?r.set(a,l):n(a,l)}}},ke="!",Ke=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,l=s=>{let u=[],p=0,b=0,h;for(let v=0;v<s.length;v++){let k=s[v];if(p===0){if(k===n&&(o||s.slice(v,v+a)===t)){u.push(s.slice(b,v)),b=v+a;continue}if(k==="/"){h=v;continue}}k==="["?p++:k==="]"&&p--}let w=u.length===0?s:s.substring(b),C=w.startsWith(ke),S=C?w.substring(1):w,d=h&&h>b?h-b:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:S,maybePostfixModifierPosition:d}};return r?s=>r({className:s,parseClassName:l}):l},Ze=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Qe=e=>({cache:Je(e.cacheSize),parseClassName:Ke(e),...Ue(e)}),et=/\s+/,tt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],l=e.trim().split(et),s="";for(let u=l.length-1;u>=0;u-=1){let p=l[u],{modifiers:b,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:C}=r(p),S=!!C,d=o(S?w.substring(0,C):w);if(!d){if(!S){s=p+(s.length>0?" "+s:s);continue}if(d=o(w),!d){s=p+(s.length>0?" "+s:s);continue}S=!1}let v=Ze(b).join(":"),k=h?v+ke:v,P=k+d;if(a.includes(P))continue;a.push(P);let $=n(d,S);for(let A=0;A<$.length;++A){let U=$[A];a.push(k+U)}s=p+(s.length>0?" "+s:s)}return s};function rt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ne(t))&&(o&&(o+=" "),o+=r);return o}var Ne=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ne(e[o]))&&(r&&(r+=" "),r+=t);return r};function ot(e,...t){let r,o,n,a=l;function l(u){let p=t.reduce((b,h)=>h(b),e());return r=Qe(p),o=r.cache.get,n=r.cache.set,a=s,s(u)}function s(u){let p=o(u);if(p)return p;let b=tt(u,r);return n(u,b),b}return function(){return a(rt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,nt=/^\d+\/\d+$/,st=new Set(["px","full","screen"]),at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>G(e)||st.has(e)||nt.test(e),z=e=>D(e,"length",xt),G=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>D(e,"number",G),V=e=>!!e&&Number.isInteger(Number(e)),pt=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Ce.test(e),L=e=>at.test(e),ut=new Set(["length","size","percentage"]),mt=e=>D(e,ut,Se),gt=e=>D(e,"position",Se),ft=new Set(["image","url"]),bt=e=>D(e,ft,yt),ht=e=>D(e,"",vt),O=()=>!0,D=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},xt=e=>lt.test(e)&&!it.test(e),Se=()=>!1,vt=e=>ct.test(e),yt=e=>dt.test(e);var wt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),o=g("brightness"),n=g("borderColor"),a=g("borderRadius"),l=g("borderSpacing"),s=g("borderWidth"),u=g("contrast"),p=g("grayscale"),b=g("hueRotate"),h=g("invert"),w=g("gap"),C=g("gradientColorStops"),S=g("gradientColorStopPositions"),d=g("inset"),v=g("margin"),k=g("opacity"),P=g("padding"),$=g("saturate"),A=g("scale"),U=g("sepia"),ce=g("skew"),de=g("space"),pe=g("translate"),Z=()=>["auto","contain","none"],Q=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto",i,t],f=()=>[i,t],ue=()=>["",M,z],Y=()=>["auto",G,i],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",i],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[M,z],blur:["none","",L,i],brightness:I(),borderColor:[e],borderRadius:["none","","full",L,i],borderSpacing:f(),borderWidth:ue(),contrast:I(),grayscale:j(),hueRotate:I(),invert:j(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[pt,z],inset:ee(),margin:ee(),opacity:I(),padding:f(),saturate:I(),scale:I(),sepia:j(),skew:I(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"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:[...me(),i]}],overflow:[{overflow:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-x":[{"overflow-x":Q()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-x":[{"overscroll-x":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-x":[{"inset-x":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,i]}],basis:[{basis:ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",V,i]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",V,i]},i]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[V,i]},i]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-x":[{"gap-x":[w]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],x:[{x:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oe]}],"font-family":[{font:[O]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,z]}],"underline-offset":[{"underline-offset":["auto",M,i]}],"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:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","x","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-x":[{"border-x":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:F()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-x":[{"border-x":[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:["",...F()]}],"outline-offset":[{"outline-offset":[M,i]}],"outline-w":[{outline:[M,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[M,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,ht]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",L,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[h]}],saturate:[{saturate:[$]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-x":[{"scale-x":[A]}],rotate:[{rotate:[V,i]}],"translate-x":[{"translate-x":[pe]}],"translate-x":[{"translate-x":[pe]}],"skew-x":[{"skew-x":[ce]}],"skew-x":[{"skew-x":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","x","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-x":[{"scroll-x":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","x","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-x":[{"touch-pan":["x","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,z,oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-x"],overscroll:["overscroll-x","overscroll-x"],inset:["inset-x","inset-x","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-x":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-x"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],x:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-x"],"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-x":["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-x":["border-color-t","border-color-b"],"scroll-x":["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-x","touch-pz"],"touch-x":["touch"],"touch-x":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pe=ot(wt);function ae(...e){return Pe((0,Ie.clsx)(e))}function Me({children:e,isFluid:t=!1,isNoPadding:r=!1}){let o=ae("container",t&&"full-width",r&&"no-padding");return(0,x.jsx)("div",{className:o,children:e})}var Le=re(require("next/link"));function Ae({children:e,href:t,openNewTab:r,...o}){return(0,x.jsx)(Le.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var le=re(require("next/image"));function Ee({logoLight:e,logoDark:t}){return(0,x.jsxs)(Ae,{href:"/",className:"py-2",children:[(0,x.jsx)(le.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:"200px",height:"auto"}}),(0,x.jsx)(le.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}function ie({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,n]=(0,T.useState)(!1),[a,l]=(0,T.useState)("light"),s=["light","dark"];(0,T.useEffect)(()=>{let p=localStorage.getItem("theme")||"light";console.log("storedTheme",p),l(p),document.documentElement.setAttribute("class",p)},[]);let u=()=>{let p=s[(s.indexOf(a)+1)%s.length];l(p),document.documentElement.setAttribute("class",p),localStorage.setItem("theme",p)};return(0,T.useEffect)(()=>{let p=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),(0,x.jsx)(x.Fragment,{children:(0,x.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-x-0":"-translate-x-full bg-transparent"}`,children:(0,x.jsx)(Me,{children:(0,x.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,x.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,x.jsx)(Ee,{logoDark:r,logoLight:t}),(0,x.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,x.jsx)("div",{className:"flex items-center space-x-4",children:(0,x.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,x.jsxs)("div",{className:"relative",children:[(0,x.jsx)(_.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,x.jsx)(_.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function kt({logoVideo:e,logoLight:t,logoDark:r}){let[o,n]=(0,T.useState)(!1),[a,l]=(0,T.useState)(!1),[s,u]=(0,T.useState)(!1),p=()=>{let h=document.getElementById("next-section");h&&h.scrollIntoView({behavior:"smooth"})};return(0,T.useEffect)(()=>{let h=()=>{window.scrollY>100?(l(!0),u(!1)):(l(!1),u(!0))};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,T.useEffect)(()=>{let h=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,x.jsxs)("div",{className:"relative h-screen",children:[(0,x.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,x.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,x.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,x.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!o&&(0,x.jsx)("button",{className:"fixed 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:()=>{u(!s)},children:s?(0,x.jsx)(_.X,{className:"w-6 h-6 text-white"}):(0,x.jsx)(_.Menu,{className:"w-6 h-6 text-white"})}),(0,x.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,x.jsx)(ie,{isMenuOpen:o,logoLight:t,logoDark:r})}),(0,x.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${a||s?"opacity-0":"opacity-100"}`}),(0,x.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,x.jsx)(Re.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),(0,x.jsxs)("div",{children:[(0,x.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),(0,x.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,x.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,x.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:p,children:(0,x.jsx)(_.ChevronDown,{size:64})})})]})]})}0&&(module.exports={HeaderDesktop,SimpleHeader,VideoHeader});
|
|
4
|
+
"use strict";var Ge=Object.create;var X=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty;var je=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},be=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of He(t))!$e.call(e,s)&&s!==r&&X(e,s,{get:()=>t[s],enumerable:!(o=De(t,s))||o.enumerable});return e};var re=(e,t,r)=>(r=e!=null?Ge(_e(e)):{},be(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),Be=e=>be(X({},"__esModule",{value:!0}),e);var Nt={};je(Nt,{HeaderDesktop:()=>ie,SimpleHeader:()=>Oe,VideoHeader:()=>kt});module.exports=Be(Nt);var T=require("react"),N=require("@headlessui/react"),J=require("@heroicons/react/24/outline"),B=require("@heroicons/react/20/solid");var x=require("react/jsx-runtime"),Ve=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,x.jsxs)("a",{href:o,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,x.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,x.jsxs)(N.Popover,{children:[(0,x.jsxs)(N.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,x.jsxs)("span",{className:"relative",children:[e,(0,x.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,x.jsx)(B.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,x.jsxs)(N.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-x-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,x.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:t&&t.map(s=>(0,x.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,x.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,x.jsx)(s.icon,{"aria-hidden":"true",size:"6x"})}),(0,x.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,x.jsx)("span",{className:"absolute inset-0"})]}),(0,x.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,x.jsx)("div",{className:"bg-gray-50",children:(0,x.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,x.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(s=>(0,x.jsxs)("a",{href:s.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,x.jsx)(s.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),xe=Ve;var q=["light","dark","green"];function Oe({title:e,logo:t,menuItems:r}){let[o,s]=(0,T.useState)(!1),[a,l]=(0,T.useState)(!1),[n,u]=(0,T.useState)("light"),p=t==null?void 0:t.split(".")[0],b=t==null?void 0:t.split(".")[1],[h,w]=(0,T.useState)(`${p}.${b}`),C=d=>{q.includes(d)?w(d==="light"?`${p}.${b}`:`${p}-${d}.${b}`):w(`${p}.${b}`)};(0,T.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),u(d),document.documentElement.setAttribute("class",d),C(d)},[]);let S=()=>{let d=q[(q.indexOf(n)+1)%q.length];u(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),C(d)};return(0,x.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,x.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,x.jsx)("div",{className:"flex lg:flex-1",children:(0,x.jsxs)("a",{href:"#",className:"-x-1.5 p-1.5 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:e}),(0,x.jsx)("img",{alt:e,src:h,className:"h-9 w-auto"})]})}),(0,x.jsx)("div",{className:"flex lg:hidden",children:(0,x.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"-x-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,x.jsx)(J.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,x.jsx)(N.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(d=>(0,x.jsx)(xe,{...d},d.name))}),(0,x.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,x.jsx)("button",{onClick:S,className:"p-2 text-gray-700 outline-none",children:n==="dark"?(0,x.jsx)(B.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,x.jsx)(B.MoonIcon,{className:"h-6 w-6"}):(0,x.jsx)(B.SunIcon,{className:"h-6 w-6"})})})]}),(0,x.jsxs)(N.Dialog,{open:o,onClose:s,className:"lg:hidden",children:[(0,x.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,x.jsxs)(N.DialogPanel,{className:"fixed inset-x-0 right-0 z-20 w-full overflow-x-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,x.jsxs)("div",{className:"flex items-center justify-between",children:[(0,x.jsxs)("a",{href:"#",className:"-x-1.5 p-1.5 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,x.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,x.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-x-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,x.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,x.jsx)(J.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,x.jsx)("div",{className:"mt-6 flow-root",children:(0,x.jsx)("div",{className:"-my-6 divide-x divide-gray-500/10",children:(0,x.jsx)("div",{className:"space-x-2 py-6",children:r.map(d=>(0,x.jsx)(We,{...d},d.name))})})})]})]})]})}function We({name:e,items:t,actions:r,href:o}){return!t&&o?(0,x.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,x.jsxs)(N.Disclosure,{as:"div",className:"-mx-3",children:[(0,x.jsx)(N.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,x.jsx)(N.DisclosurePanel,{className:"mt-2 space-x-2",children:t&&t.map(s=>(0,x.jsx)(N.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:s.name},s.name))})]})}var _=require("lucide-react"),Re=re(require("next/image"));var Ie=require("clsx");var ne="-",Ue=e=>{let t=Fe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let n=l.split(ne);return n[0]===""&&n.length!==1&&n.shift(),we(n,t)||Ye(l)},getConflictingClassGroupIds:(l,n)=>{let u=r[l]||[];return n&&o[l]?[...u,...o[l]]:u}}},we=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?we(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(ne);return(l=t.validators.find(({validator:n})=>n(a)))==null?void 0:l.classGroupId},ve=/^\[(.+)\]$/,Ye=e=>{if(ve.test(e)){let t=ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fe=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return qe(Object.entries(e.classGroups),r).forEach(([a,l])=>{se(l,o,a,t)}),o},se=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:ye(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(Xe(s)){se(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,l])=>{se(l,ye(t,a),r,o)})})},ye=(e,t)=>{let r=e;return t.split(ne).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Xe=e=>e.isThemeGetter,qe=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,n])=>[t+l,n])):a);return[r,s]}):e,Je=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return s(a,l),l},set(a,l){r.has(a)?r.set(a,l):s(a,l)}}},ke="!",Ke=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,l=n=>{let u=[],p=0,b=0,h;for(let v=0;v<n.length;v++){let k=n[v];if(p===0){if(k===s&&(o||n.slice(v,v+a)===t)){u.push(n.slice(b,v)),b=v+a;continue}if(k==="/"){h=v;continue}}k==="["?p++:k==="]"&&p--}let w=u.length===0?n:n.substring(b),C=w.startsWith(ke),S=C?w.substring(1):w,d=h&&h>b?h-b:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:S,maybePostfixModifierPosition:d}};return r?n=>r({className:n,parseClassName:l}):l},Ze=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Qe=e=>({cache:Je(e.cacheSize),parseClassName:Ke(e),...Ue(e)}),et=/\s+/,tt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],l=e.trim().split(et),n="";for(let u=l.length-1;u>=0;u-=1){let p=l[u],{modifiers:b,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:C}=r(p),S=!!C,d=o(S?w.substring(0,C):w);if(!d){if(!S){n=p+(n.length>0?" "+n:n);continue}if(d=o(w),!d){n=p+(n.length>0?" "+n:n);continue}S=!1}let v=Ze(b).join(":"),k=h?v+ke:v,P=k+d;if(a.includes(P))continue;a.push(P);let $=s(d,S);for(let A=0;A<$.length;++A){let U=$[A];a.push(k+U)}n=p+(n.length>0?" "+n:n)}return n};function rt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ne(t))&&(o&&(o+=" "),o+=r);return o}var Ne=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Ne(e[o]))&&(r&&(r+=" "),r+=t);return r};function ot(e,...t){let r,o,s,a=l;function l(u){let p=t.reduce((b,h)=>h(b),e());return r=Qe(p),o=r.cache.get,s=r.cache.set,a=n,n(u)}function n(u){let p=o(u);if(p)return p;let b=tt(u,r);return s(u,b),b}return function(){return a(rt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,st=/^\d+\/\d+$/,nt=new Set(["px","full","screen"]),at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>G(e)||nt.has(e)||st.test(e),z=e=>D(e,"length",xt),G=e=>!!e&&!Number.isNaN(Number(e)),oe=e=>D(e,"number",G),V=e=>!!e&&Number.isInteger(Number(e)),pt=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Ce.test(e),L=e=>at.test(e),ut=new Set(["length","size","percentage"]),mt=e=>D(e,ut,Se),gt=e=>D(e,"position",Se),ft=new Set(["image","url"]),bt=e=>D(e,ft,yt),ht=e=>D(e,"",vt),O=()=>!0,D=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},xt=e=>lt.test(e)&&!it.test(e),Se=()=>!1,vt=e=>ct.test(e),yt=e=>dt.test(e);var wt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),o=g("brightness"),s=g("borderColor"),a=g("borderRadius"),l=g("borderSpacing"),n=g("borderWidth"),u=g("contrast"),p=g("grayscale"),b=g("hueRotate"),h=g("invert"),w=g("gap"),C=g("gradientColorStops"),S=g("gradientColorStopPositions"),d=g("inset"),v=g("margin"),k=g("opacity"),P=g("padding"),$=g("saturate"),A=g("scale"),U=g("sepia"),ce=g("skew"),de=g("space"),pe=g("translate"),Z=()=>["auto","contain","none"],Q=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto",i,t],f=()=>[i,t],ue=()=>["",M,z],Y=()=>["auto",G,i],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",i],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[M,z],blur:["none","",L,i],brightness:I(),borderColor:[e],borderRadius:["none","","full",L,i],borderSpacing:f(),borderWidth:ue(),contrast:I(),grayscale:j(),hueRotate:I(),invert:j(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[pt,z],inset:ee(),margin:ee(),opacity:I(),padding:f(),saturate:I(),scale:I(),sepia:j(),skew:I(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"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:[...me(),i]}],overflow:[{overflow:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-x":[{"overflow-x":Q()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-x":[{"overscroll-x":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-x":[{"inset-x":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,i]}],basis:[{basis:ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",V,i]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",V,i]},i]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[V,i]},i]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-x":[{"gap-x":[w]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],x:[{x:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oe]}],"font-family":[{font:[O]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,z]}],"underline-offset":[{"underline-offset":["auto",M,i]}],"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:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","x","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-x":[{"border-x":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:F()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-x":[{"border-x":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[M,i]}],"outline-w":[{outline:[M,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[M,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,ht]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",L,i]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[h]}],saturate:[{saturate:[$]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-x":[{"scale-x":[A]}],rotate:[{rotate:[V,i]}],"translate-x":[{"translate-x":[pe]}],"translate-x":[{"translate-x":[pe]}],"skew-x":[{"skew-x":[ce]}],"skew-x":[{"skew-x":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","x","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-x":[{"scroll-x":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","x","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-x":[{"touch-pan":["x","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,z,oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-x"],overscroll:["overscroll-x","overscroll-x"],inset:["inset-x","inset-x","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-x":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-x"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],x:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-x"],"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-x":["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-x":["border-color-t","border-color-b"],"scroll-x":["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-x","touch-pz"],"touch-x":["touch"],"touch-x":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pe=ot(wt);function ae(...e){return Pe((0,Ie.clsx)(e))}function Me({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let s=ae("container",t&&"full-width",r&&"no-padding",o);return(0,x.jsx)("div",{className:s,children:e})}var Le=re(require("next/link"));function Ae({children:e,href:t,openNewTab:r,...o}){return(0,x.jsx)(Le.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var le=re(require("next/image"));function Ee({logoLight:e,logoDark:t}){return(0,x.jsxs)(Ae,{href:"/",className:"py-2",children:[(0,x.jsx)(le.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:"200px",height:"auto"}}),(0,x.jsx)(le.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"200px",height:"auto"}})]})}function ie({isMenuOpen:e,logoLight:t,logoDark:r}){let[o,s]=(0,T.useState)(!1),[a,l]=(0,T.useState)("light"),n=["light","dark"];(0,T.useEffect)(()=>{let p=localStorage.getItem("theme")||"light";console.log("storedTheme",p),l(p),document.documentElement.setAttribute("class",p)},[]);let u=()=>{let p=n[(n.indexOf(a)+1)%n.length];l(p),document.documentElement.setAttribute("class",p),localStorage.setItem("theme",p)};return(0,T.useEffect)(()=>{let p=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),(0,x.jsx)(x.Fragment,{children:(0,x.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-x-0":"-translate-x-full bg-transparent"}`,children:(0,x.jsx)(Me,{className:"px-0",children:(0,x.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,x.jsxs)("div",{className:"flex items-center justify-between bg-accent px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl dark:border dark:border-accent",children:[(0,x.jsx)(Ee,{logoDark:r,logoLight:t}),(0,x.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}),(0,x.jsx)("li",{children:(0,x.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,x.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-white dark:bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})})]}),(0,x.jsx)("div",{className:"flex items-center space-x-4",children:(0,x.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,x.jsxs)("div",{className:"relative",children:[(0,x.jsx)(_.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,x.jsx)(_.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}function kt({logoVideo:e,logoLight:t,logoDark:r}){let[o,s]=(0,T.useState)(!1),[a,l]=(0,T.useState)(!1),[n,u]=(0,T.useState)(!1),p=()=>{let h=document.getElementById("next-section");h&&h.scrollIntoView({behavior:"smooth"})};return(0,T.useEffect)(()=>{let h=()=>{window.scrollY>100?(l(!0),u(!1)):(l(!1),u(!0))};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,T.useEffect)(()=>{let h=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,x.jsxs)("div",{className:"relative h-screen",children:[(0,x.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,x.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,x.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,x.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!o&&(0,x.jsx)("button",{className:"fixed 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:()=>{u(!n)},children:n?(0,x.jsx)(_.X,{className:"w-6 h-6 text-white"}):(0,x.jsx)(_.Menu,{className:"w-6 h-6 text-white"})}),(0,x.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50",children:(0,x.jsx)(ie,{isMenuOpen:o,logoLight:t,logoDark:r})}),(0,x.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${a||n?"opacity-0":"opacity-100"}`}),(0,x.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,x.jsx)(Re.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:"h-auto w-auto mt-8"}),(0,x.jsxs)("div",{children:[(0,x.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"We are Cortex Reply."}),(0,x.jsx)("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),(0,x.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,x.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:p,children:(0,x.jsx)(_.ChevronDown,{size:64})})})]})]})}0&&(module.exports={HeaderDesktop,SimpleHeader,VideoHeader});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-XWTX2W5V.mjs";import{a as c}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-XWTX2W5V.mjs";import{a as c}from"../../chunk-OJHVOO35.mjs";import{a as b}from"../../chunk-XTQ4VQZP.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{b as HeaderDesktop,a as SimpleHeader,c as VideoHeader};
|