cortex-react-components 1.13.0 → 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-BTYSHCEW.mjs +1 -0
- package/dist/chunk-FSXB4EFA.mjs +1 -0
- 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 +196 -196
- 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-H7ODBERR.mjs +0 -1
- package/dist/chunk-NKCGKJAC.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";var Ct=Object.create;var te=Object.defineProperty;var At=Object.getOwnPropertyDescriptor;var Nt=Object.getOwnPropertyNames;var Pt=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var St=(e,t)=>{for(var r in t)te(e,r,{get:t[r],enumerable:!0})},Me=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nt(t))!Rt.call(e,n)&&n!==r&&te(e,n,{get:()=>t[n],enumerable:!(a=At(t,n))||a.enumerable});return e};var R=(e,t,r)=>(r=e!=null?Ct(Pt(e)):{},Me(t||!e||!e.__esModule?te(r,"default",{value:e,enumerable:!0}):r,e)),It=e=>Me(te({},"__esModule",{value:!0}),e);var ur={};St(ur,{default:()=>kt});module.exports=It(ur);var _=require("react");var Oe=require("clsx");var be="-",Tt=e=>{let t=Mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(be);return s[0]===""&&s.length!==1&&s.shift(),Ee(s,t)||Bt(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&a[i]?[...d,...a[i]]:d}}},Ee=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ee(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(be);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Fe=/^\[(.+)\]$/,Bt=e=>{if(Fe.test(e)){let t=Fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Mt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return zt(Object.entries(e.classGroups),r).forEach(([o,i])=>{fe(i,a,o,t)}),a},fe=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:ze(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Ft(n)){fe(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{fe(i,ze(t,o),r,a)})})},ze=(e,t)=>{let r=e;return t.split(be).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ft=e=>e.isThemeGetter,zt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,Et=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},Le="!",Lt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let d=[],c=0,p=0,k;for(let h=0;h<s.length;h++){let w=s[h];if(c===0){if(w===n&&(a||s.slice(h,h+o)===t)){d.push(s.slice(p,h)),p=h+o;continue}if(w==="/"){k=h;continue}}w==="["?c++:w==="]"&&c--}let v=d.length===0?s:s.substring(p),N=v.startsWith(Le),P=N?v.substring(1):v,b=k&&k>p?k-p:void 0;return{modifiers:d,hasImportantModifier:N,baseClassName:P,maybePostfixModifierPosition:b}};return r?s=>r({className:s,parseClassName:i}):i},Gt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Dt=e=>({cache:Et(e.cacheSize),parseClassName:Lt(e),...Tt(e)}),Ht=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Ht),s="";for(let d=i.length-1;d>=0;d-=1){let c=i[d],{modifiers:p,hasImportantModifier:k,baseClassName:v,maybePostfixModifierPosition:N}=r(c),P=!!N,b=a(P?v.substring(0,N):v);if(!b){if(!P){s=c+(s.length>0?" "+s:s);continue}if(b=a(v),!b){s=c+(s.length>0?" "+s:s);continue}P=!1}let h=Gt(p).join(":"),w=k?h+Le:h,C=w+b;if(o.includes(C))continue;o.push(C);let G=n(b,P);for(let D=0;D<G.length;++D){let Z=G[D];o.push(w+Z)}s=c+(s.length>0?" "+s:s)}return s};function Ot(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ge(t))&&(a&&(a+=" "),a+=r);return a}var Ge=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Ge(e[a]))&&(r&&(r+=" "),r+=t);return r};function Jt(e,...t){let r,a,n,o=i;function i(d){let c=t.reduce((p,k)=>k(p),e());return r=Dt(c),a=r.cache.get,n=r.cache.set,o=s,s(d)}function s(d){let c=a(d);if(c)return c;let p=Ut(d,r);return n(d,p),p}return function(){return o(Ot.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},De=/^\[(?:([a-z-]+):)?(.+)\]$/i,_t=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),Xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jt=/\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$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Kt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>O(e)||Yt.has(e)||_t.test(e),F=e=>J(e,"length",or),O=e=>!!e&&!Number.isNaN(Number(e)),ge=e=>J(e,"number",O),Q=e=>!!e&&Number.isInteger(Number(e)),qt=e=>e.endsWith("%")&&O(e.slice(0,-1)),l=e=>De.test(e),z=e=>Xt.test(e),Wt=new Set(["length","size","percentage"]),Zt=e=>J(e,Wt,He),$t=e=>J(e,"position",He),er=new Set(["image","url"]),tr=e=>J(e,er,nr),rr=e=>J(e,"",ar),V=()=>!0,J=(e,t,r)=>{let a=De.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},or=e=>jt.test(e)&&!Qt.test(e),He=()=>!1,ar=e=>Vt.test(e),nr=e=>Kt.test(e);var sr=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),a=g("brightness"),n=g("borderColor"),o=g("borderRadius"),i=g("borderSpacing"),s=g("borderWidth"),d=g("contrast"),c=g("grayscale"),p=g("hueRotate"),k=g("invert"),v=g("gap"),N=g("gradientColorStops"),P=g("gradientColorStopPositions"),b=g("inset"),h=g("margin"),w=g("opacity"),C=g("padding"),G=g("saturate"),D=g("scale"),Z=g("sepia"),Ne=g("skew"),Pe=g("space"),Re=g("translate"),de=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],me=()=>["auto",l,t],f=()=>[l,t],Se=()=>["",B,F],$=()=>["auto",O,l],Ie=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",l],Be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[O,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[B,F],blur:["none","",z,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:f(),borderWidth:Se(),contrast:T(),grayscale:j(),hueRotate:T(),invert:j(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[qt,F],inset:me(),margin:me(),opacity:T(),padding:f(),saturate:T(),scale:T(),sepia:j(),skew:T(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":Be()}],"break-before":[{"break-before":Be()}],"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:[...Ie(),l]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-_e":[{"overflow-_e":pe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-_e":[{"overscroll-_e":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-_e":[{"inset-_e":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Q,l]}],basis:[{basis:me()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",Q,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",Q,l]},l]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[Q,l]},l]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-_e":[{"gap-_e":[v]}],"justify-content":[{justify:["normal",...ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],_e:[{_e:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],_e:[{_e:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-_e":[{"space-_e":[Pe]}],"space-_e-reverse":["space-_e-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ge]}],"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",l]}],"line-clamp":[{"line-clamp":["none",O,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,F]}],"underline-offset":[{"underline-offset":["auto",B,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ie(),$t]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","_e","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-_":[{"rounded-_":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-_e":[{"border-_e":[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":[w]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-_e":[{"divide-_e":[s]}],"divide-_e-reverse":["divide-_e-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:ee()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-_e":[{"border-_e":[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:["",...ee()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-w":[{outline:[B,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[B,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,rr]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Te()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[k]}],saturate:[{saturate:[G]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-_e":[{"border-spacing-_e":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-_e":[{"scale-_e":[D]}],rotate:[{rotate:[Q,l]}],"translate-x":[{"translate-x":[Re]}],"translate-_e":[{"translate-_e":[Re]}],"skew-x":[{"skew-x":[Ne]}],"skew-_e":[{"skew-_e":[Ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","_-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","_e","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-_e":[{"scroll-_e":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-_e":[{"scroll-_e":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","_e","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-_e":[{"touch-pan":["_e","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,F,ge]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-_e"],overscroll:["overscroll-x","overscroll-_e"],inset:["inset-x","inset-_e","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-_e":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-_e"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],_e:["mx","my","ms","me","_e","mr","mb","ml"],mx:["mr","ml"],my:["_e","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-_","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-_","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-_e"],"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-_e":["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-_e":["border-color-t","border-color-b"],"scroll-_e":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-_e","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-_e","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-_e","touch-pz"],"touch-x":["touch"],"touch-_e":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ue=Jt(sr);function x(...e){return Ue((0,Oe.clsx)(e))}var _e=require("react/jsx-runtime");function Je({children:e,isFluid:t=!1,isNoPadding:r=!1}){let a=x("container",t&&"full-width",r&&"no-padding");return(0,_e.jsx)("div",{className:a,children:e})}var Ye=R(require("next/link"));function Xe({children:e,href:t,openNewTab:r,...a}){return(0,_e.jsx)(Ye.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var he=R(require("next/image"));function Qe({logoLight:e,logoDark:t}){return(0,_e.jsxs)(Xe,{href:"/",className:"py-2",children:[(0,_e.jsx)(he.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,_e.jsx)(he.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"}})]})}var re=require("lucide-react");function Ve({isMenuOpen:e,logoLight:t,logoDark:r}){let[a,n]=(0,_.useState)(!1),[o,i]=(0,_.useState)("light"),s=["light","dark"];(0,_.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),i(c),document.documentElement.setAttribute("class",c)},[]);let d=()=>{let c=s[(s.indexOf(o)+1)%s.length];i(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,_.useEffect)(()=>{let c=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,_e.jsx)(_e.Fragment,{children:(0,_e.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-_e-0":"-translate-_e-full bg-transparent"}`,children:(0,_e.jsx)(Je,{children:(0,_e.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,_e.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,_e.jsx)(Qe,{logoDark:r,logoLight:t}),(0,_e.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,_e.jsx)("li",{children:(0,_e.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,_e.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,_e.jsx)("li",{children:(0,_e.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,_e.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,_e.jsx)("li",{children:(0,_e.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,_e.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,_e.jsx)("li",{children:(0,_e.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,_e.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,_e.jsx)("div",{className:"flex items-center space-x-4",children:(0,_e.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:d,children:(0,_e.jsxs)("div",{className:"relative",children:[(0,_e.jsx)(re.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,_e.jsx)(re.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Ke=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:x("mx-auto my-8 w-full",e),children:(0,_e.jsx)("div",{className:x("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,_e.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var qe=require("@radix-ui/react-slot"),We=require("class-variance-authority"),Ze=R(require("react")),ir=(0,We.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),q=Ze.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,$e.jsx)(e?qe.Slot:"button",{className:x(ir({className:t,size:r,variant:a})),ref:o,...n}));q.displayName="Button";var ye=R(require("next/link")),Y=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:d,url:c}=e,p=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!p)return null;let k=r==="link"?"clear":d,v=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(ye.default,{className:x(n),href:p||c||"",...v,children:[o&&o,a&&a]}):(0,_e.jsx)(q,{asChild:!0,className:n,size:k,variant:r,children:(0,_e.jsxs)(ye.default,{className:x(n),href:p||c||"",...v,children:[o&&o,a&&a]})})};var et=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,_e.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,_e.jsx)(Y,{size:"lg",...r},a))})]})});var ae=require("prism-react-renderer");function ot({code:e}){let[t,r]=(0,_.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(q,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,_e.jsx)("p",{children:t}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(re.ClipboardCopy,{})})]})})}var at=({code:e,language:t=""})=>e?(0,_e.jsx)(ae.Highlight,{code:e,language:t,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,_e.jsx)("span",{...a({token:s})},d))})]},i)),(0,_e.jsx)(ot,{code:e})]})}):null;var nt=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(at,{code:t,language:r})});var it=R(require("next/image"));var st=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ne=()=>{if(st){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var lr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},cr="data:image/png;base64,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",lt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:d}=e,c,p,k=t,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:b,filename:h,height:w,url:C,width:G}=o;c=G,p=w,k=b||"",v=`${ne()}${C}`}let N=d||"lazy",P=i||Object.entries(lr).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(it.default,{alt:k||"",className:x(a),fill:r,height:r?void 0:p,placeholder:"blur",blurDataURL:cr,priority:N!=="lazy"&&n,quality:100,loading:N,sizes:P,src:v,width:r?void 0:c})})};var ct=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,_.useRef)(null);if((0,_.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:x(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,_e.jsx)("source",{src:`${ne()}/media/${o}`})})}return null};var X=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,_e.jsx)(r||_.Fragment,{...r!==null?{className:t}:{},children:n?(0,_e.jsx)(ct,{...e}):(0,_e.jsx)(lt,{...e})})};var pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,_e.jsx)("div",{className:x("",{container:r},t),children:(0,_e.jsx)(X,{imgClassName:x("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var le=R(require("react"));function Ce({nodes:e}){return(0,_e.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,_e.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Ce({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_e.jsx)(et,{...o},r);case"mediaBlock":return(0,_e.jsx)(pt,{className:"col-start-1 col-span-3",imgClassName:"_e-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(Ke,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)(nt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,_e.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,_e.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var S=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,_e.jsx)("div",{className:x({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ce({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var ut=({children:e,richText:t})=>(0,_e.jsx)("div",{className:"min-w-full py-8 bg-muted",children:(0,_e.jsx)("div",{className:"container",children:e||t&&(0,_e.jsx)(S,{content:t,enableGutter:!1})})});var Ae=R(require("next/image"));var dr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,_e.jsx)(Ae.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,_e.jsx)("div",{children:(0,_e.jsx)(Ae.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},gt=({links:e,media:t,children:r,richText:a})=>(0,_e.jsxs)("div",{className:"relative bg-brand-one pb-12 pt-10",children:[t&&(0,_e.jsx)(dr,{media:t}),(0,_e.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,_e.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,_e.jsx)(S,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var ft=R(require("next/image"));var bt=({links:e,media:t,children:r,richText:a})=>(0,_e.jsxs)("div",{className:"relative -_e-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,_e.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,_e.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||a&&(0,_e.jsx)(S,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,_e.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,_e.jsx)("li",{children:(0,_e.jsx)(Y,{...n})},o))})]})}),(0,_e.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,_e.jsx)(X,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,_e.jsx)("div",{children:(0,_e.jsx)(ft.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,_e.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var ht=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${o}/${i}/${s}`};var U=R(require("react"));var yt=R(require("next/image")),xt=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:a,publishedAt:n,title:o}=e;return(0,_e.jsxs)("div",{className:"relative -_e-[10.4rem] flex items-end",children:[(0,_e.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,_e.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,_e.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((i,s)=>{if(typeof i=="object"&&i!==null){let{title:d}=i,c=d||"Untitled category",p=s===t.length-1;return(0,_e.jsxs)(U.default.Fragment,{children:[c,!p&&(0,_e.jsx)(U.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,_e.jsx)("div",{className:"",children:(0,_e.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,_e.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,_e.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,_e.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,_e.jsx)("p",{className:"text-sm",children:"Author"}),a.map((i,s)=>{let{name:d}=i,c=s===a.length-1,p=s===a.length-2;return(0,_e.jsxs)(U.default.Fragment,{children:[d,p&&a.length>2&&(0,_e.jsx)(U.default.Fragment,{children:", "}),p&&a.length===2&&(0,_e.jsx)(U.default.Fragment,{children:" "}),!c&&a.length>1&&(0,_e.jsx)(U.default.Fragment,{children:"and "})]},s)})]})}),n&&(0,_e.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,_e.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,_e.jsx)("time",{dateTime:n,children:ht(n)})]})]})]})}),(0,_e.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,_e.jsx)(X,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,_e.jsx)("div",{children:(0,_e.jsx)(yt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,_e.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var vt="../../cortex-reply-light-27IMI3G7.png";var wt="../../cortex-reply-dark-XPAJJJYY.png";function kt({...e}){return(0,_e.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,_e.jsx)(Ve,{isMenuOpen:!0,logoLight:vt,logoDark:wt}),e.hero&&e.hero.type==="lowImpact"&&(0,_e.jsx)(ut,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,_e.jsx)(gt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,_e.jsx)(bt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,_e.jsx)(xt,{...e.hero})]})}
|
|
4
|
+
"use strict";var Gt=Object.create;var ae=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var Lt=Object.getOwnPropertyNames;var Ht=Object.getPrototypeOf,Ut=Object.prototype.hasOwnProperty;var _t=(e,t)=>{for(var r in t)ae(e,r,{get:t[r],enumerable:!0})},Oe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Lt(t))!Ut.call(e,n)&&n!==r&&ae(e,n,{get:()=>t[n],enumerable:!(a=Dt(t,n))||a.enumerable});return e};var T=(e,t,r)=>(r=e!=null?Gt(Ht(e)):{},Oe(t||!e||!e.__esModule?ae(r,"default",{value:e,enumerable:!0}):r,e)),Ot=e=>Oe(ae({},"__esModule",{value:!0}),e);var Br={};_t(Br,{default:()=>Ft});module.exports=Ot(Br);var U=T(require("react"));var Ze=require("clsx");var Re="-",jt=e=>{let t=Vt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(Re);return s[0]===""&&s.length!==1&&s.shift(),Ve(s,t)||Jt(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&a[i]?[...d,...a[i]]:d}}},Ve=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?Ve(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Re);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},je=/^\[(.+)\]$/,Jt=e=>{if(je.test(e)){let t=je.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Vt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Qt(Object.entries(e.classGroups),r).forEach(([o,i])=>{Ae(i,a,o,t)}),a},Ae=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Je(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Wt(n)){Ae(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Ae(i,Je(t,o),r,a)})})},Je=(e,t)=>{let r=e;return t.split(Re).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Wt=e=>e.isThemeGetter,Qt=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,Yt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},We="!",Xt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let d=[],c=0,u=0,N;for(let x=0;x<s.length;x++){let C=s[x];if(c===0){if(C===n&&(a||s.slice(x,x+o)===t)){d.push(s.slice(u,x)),u=x+o;continue}if(C==="/"){N=x;continue}}C==="["?c++:C==="]"&&c--}let k=d.length===0?s:s.substring(u),S=k.startsWith(We),P=S?k.substring(1):k,y=N&&N>u?N-u:void 0;return{modifiers:d,hasImportantModifier:S,baseClassName:P,maybePostfixModifierPosition:y}};return r?s=>r({className:s,parseClassName:i}):i},qt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Zt=e=>({cache:Yt(e.cacheSize),parseClassName:Xt(e),...jt(e)}),Kt=/\s+/,$t=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Kt),s="";for(let d=i.length-1;d>=0;d-=1){let c=i[d],{modifiers:u,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:S}=r(c),P=!!S,y=a(P?k.substring(0,S):k);if(!y){if(!P){s=c+(s.length>0?" "+s:s);continue}if(y=a(k),!y){s=c+(s.length>0?" "+s:s);continue}P=!1}let x=qt(u).join(":"),C=N?x+We:x,A=C+y;if(o.includes(A))continue;o.push(A);let L=n(y,P);for(let H=0;H<L.length;++H){let te=L[H];o.push(C+te)}s=c+(s.length>0?" "+s:s)}return s};function er(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Qe(t))&&(a&&(a+=" "),a+=r);return a}var Qe=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Qe(e[a]))&&(r&&(r+=" "),r+=t);return r};function tr(e,...t){let r,a,n,o=i;function i(d){let c=t.reduce((u,N)=>N(u),e());return r=Zt(c),a=r.cache.get,n=r.cache.set,o=s,s(d)}function s(d){let c=a(d);if(c)return c;let u=$t(d,r);return n(d,u),u}return function(){return o(er.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ye=/^\[(?:([a-_-]+):)?(.+)\]$/i,rr=/^\d+\/\d+$/,or=new Set(["px","full","screen"]),ar=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nr=/\d+(%|px|r?em|[sdl]?_([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(_|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ir=/^(inset_)?-?((\d+)?\.?(\d+)[a-_]+|0)_-?((\d+)?\.?(\d+)[a-_]+|0)/,lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>V(e)||or.has(e)||rr.test(e),F=e=>W(e,"length",br),V=e=>!!e&&!Number.isNaN(Number(e)),Ne=e=>W(e,"number",V),Z=e=>!!e&&Number.isInteger(Number(e)),cr=e=>e.endsWith("%")&&V(e.slice(0,-1)),l=e=>Ye.test(e),G=e=>ar.test(e),dr=new Set(["length","size","percentage"]),pr=e=>W(e,dr,Xe),mr=e=>W(e,"position",Xe),ur=new Set(["image","url"]),gr=e=>W(e,ur,yr),fr=e=>W(e,"",hr),K=()=>!0,W=(e,t,r)=>{let a=Ye.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},br=e=>nr.test(e)&&!sr.test(e),Xe=()=>!1,hr=e=>ir.test(e),yr=e=>lr.test(e);var xr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),n=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),c=b("grayscale"),u=b("hueRotate"),N=b("invert"),k=b("gap"),S=b("gradientColorStops"),P=b("gradientColorStopPositions"),y=b("inset"),x=b("margin"),C=b("opacity"),A=b("padding"),L=b("saturate"),H=b("scale"),te=b("sepia"),Fe=b("skew"),Ge=b("space"),De=b("translate"),ve=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],ke=()=>["auto",l,t],h=()=>[l,t],Le=()=>["",M,F],re=()=>["auto",V,l],He=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",l],_e=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[V,l];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[M,F],blur:["none","",G,l],brightness:E(),borderColor:[e],borderRadius:["none","","full",G,l],borderSpacing:h(),borderWidth:Le(),contrast:E(),grayscale:q(),hueRotate:E(),invert:q(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[cr,F],inset:ke(),margin:ke(),opacity:E(),padding:h(),saturate:E(),scale:E(),sepia:q(),skew:E(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":_e()}],"break-before":[{"break-before":_e()}],"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:[...He(),l]}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:ve()}],"overscroll-x":[{"overscroll-x":ve()}],"overscroll-y":[{"overscroll-y":ve()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],_:[{_:["auto",Z,l]}],basis:[{basis:ke()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",Z,l]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",Z,l]},l]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[Z,l]},l]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...Ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],_:[{_:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],xe:[{xe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],_:[{_:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Ge]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ge]}],"space-y-reverse":["space-y-reverse"],_:[{_:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-_":[{"min-_":[l,t,"min","max","fit"]}],"max-_":[{"max-_":[l,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ne]}],"font-family":[{font:[K]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",V,Ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,F]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...He(),mr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-_":[{"rounded-_":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-_":[{border:[s]}],"border-_-x":[{"border-x":[s]}],"border-_-y":[{"border-y":[s]}],"border-_-s":[{"border-s":[s]}],"border-_-e":[{"border-e":[s]}],"border-_-t":[{"border-t":[s]}],"border-_-r":[{"border-r":[s]}],"border-_-b":[{"border-b":[s]}],"border-_-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:oe()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...oe()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-_":[{outline:[M,F]}],"outline-color":[{outline:[e]}],"ring-_":[{ring:Le()}],"ring-_-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-_":[{"ring-offset":[M,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,fr]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",G,l]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[N]}],saturate:[{saturate:[L]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[Z,l]}],"translate-x":[{"translate-x":[De]}],"translate-y":[{"translate-y":[De]}],"skew-x":[{"skew-x":[Fe]}],"skew-y":[{"skew-y":[Fe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","_-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-_":[{"scroll-_":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-_":[{"scroll-_":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-xe":[{"scroll-xe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-_":[{stroke:[M,F,Ne]}],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"],_:["px","py","ps","xe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","_","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["_","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-_","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-_"],"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-_":["border-_-s","border-_-e","border-_-t","border-_-r","border-_-b","border-_-l"],"border-_-x":["border-_-r","border-_-l"],"border-_-y":["border-_-t","border-_-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-_","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-_":["scroll-px","scroll-py","scroll-ps","scroll-xe","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 qe=tr(xr);function m(...e){return qe((0,Ze.clsx)(e))}var _=require("react/jsx-runtime"),ne=U.forwardRef(({className:e,...t},r)=>(0,_.jsx)("div",{ref:r,className:m("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ne.displayName="Card";var se=U.forwardRef(({className:e,...t},r)=>(0,_.jsx)("div",{ref:r,className:m("flex flex-col space-y-1.5 _-6",e),...t}));se.displayName="CardHeader";var ie=U.forwardRef(({className:e,...t},r)=>(0,_.jsx)("div",{ref:r,className:m("font-semibold leading-none tracking-tight",e),...t}));ie.displayName="CardTitle";var vr=U.forwardRef(({className:e,...t},r)=>(0,_.jsx)("div",{ref:r,className:m("text-sm text-muted-foreground",e),...t}));vr.displayName="CardDescription";var le=U.forwardRef(({className:e,...t},r)=>(0,_.jsx)("div",{ref:r,className:m("_-6 pt-0",e),...t}));le.displayName="CardContent";var wr=U.forwardRef(({className:e,...t},r)=>(0,_.jsx)("div",{ref:r,className:m("flex items-center _-6 pt-0",e),...t}));wr.displayName="CardFooter";var Ke=require("@radix-ui/react-slot"),$e=require("class-variance-authority"),et=T(require("react")),kr=(0,$e.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 _-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),O=et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,_.jsx)(e?Ke.Slot:"button",{className:m(kr({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var xe=require("lucide-react");var Q=require("react");function ce({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=m("container",t&&"full-width",r&&"no-padding",a);return(0,_.jsx)("div",{className:n,children:e})}var ot=T(require("next/link"));function de({children:e,href:t,openNewTab:r,...a}){return(0,_.jsx)(ot.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Te=T(require("next/image"));function nt({logoLight:e,logoDark:t}){return(0,$.jsxs)(de,{href:"/",className:"py-2",children:[(0,$.jsx)(Te.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,$.jsx)(Te.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 st({isMenuOpen:e,logoLight:t,logoDark:r}){let[a,n]=(0,Q.useState)(!1),[o,i]=(0,Q.useState)("light"),s=["light","dark"];(0,Q.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),i(c),document.documentElement.setAttribute("class",c)},[]);let d=()=>{let c=s[(s.indexOf(o)+1)%s.length];i(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,Q.useEffect)(()=>{let c=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("header",{className:`_-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,_.jsx)(ce,{className:"px-0",children:(0,_.jsx)("nav",{className:"backdrop-blur-sm text-white _-0 rounded-b-xl",children:(0,_.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,_.jsx)(nt,{logoDark:r,logoLight:t}),(0,_.jsxs)("ul",{className:"flex items-center justify-center flex-grow space-x-8 text-md",children:[(0,_.jsx)("li",{children:(0,_.jsxs)("a",{href:"/services",className:"relative transition-colors group",children:["Services",(0,_.jsx)("span",{className:"absolute -bottom-1 left-1/2 _-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,_.jsx)("li",{children:(0,_.jsxs)("a",{href:"/insights",className:"relative transition-colors group",children:["Insights",(0,_.jsx)("span",{className:"absolute -bottom-1 left-1/2 _-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,_.jsx)("li",{children:(0,_.jsxs)("a",{href:"/about",className:"relative transition-colors group",children:["About Us",(0,_.jsx)("span",{className:"absolute -bottom-1 left-1/2 _-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,_.jsx)("li",{children:(0,_.jsxs)("a",{href:"/contact",className:"relative transition-colors group",children:["Contact",(0,_.jsx)("span",{className:"absolute -bottom-1 left-1/2 _-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,_.jsx)("div",{className:"flex items-center space-x-4",children:(0,_.jsx)("button",{className:"fixed right-4 _-[60] _-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:d,children:(0,_.jsxs)("div",{className:"relative",children:[(0,_.jsx)(xe.Sun,{className:"absolute h-6 _-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,_.jsx)(xe.Moon,{className:"absoulte h-6 _-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var it=({className:e,content:t,style:r})=>(0,_.jsx)("div",{className:m("mx-auto my-8 _-full",e),children:(0,_.jsx)("div",{className:m("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,_.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var Se=T(require("next/link")),Y=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:d,url:c}=e,u=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:c;if(!u)return null;let N=r==="link"?"clear":d,k=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_.jsxs)(Se.default,{className:m(n),href:u||c||"",...k,children:[o&&o,a&&a]}):(0,_.jsx)(O,{asChild:!0,className:n,size:N,variant:r,children:(0,_.jsxs)(Se.default,{className:m(n),href:u||c||"",...k,children:[o&&o,a&&a]})})};var lt=({links:e,richText:t})=>(0,_.jsx)("div",{className:"container",children:(0,_.jsxs)("div",{className:"bg-card rounded border-border border _-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_.jsx)("div",{className:"max-_-[48rem] flex items-center",children:t&&(0,_.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,_.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,_.jsx)(Y,{size:"lg",...r},a))})]})});var ue=require("prism-react-renderer");function pt({code:e}){let[t,r]=(0,Q.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_.jsx)("div",{className:"flex justify-end align-middle",children:(0,_.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,_.jsx)("_",{children:t}),(0,_.jsx)("div",{className:"_-6 h-6 dark:invert",children:(0,_.jsx)(xe.ClipboardCopy,{})})]})})}var mt=({code:e,language:t=""})=>e?(0,_.jsx)(ue.Highlight,{code:e,language:t,theme:ue.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,_.jsxs)("pre",{className:"bg-black _-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,_.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,_.jsx)("span",{...a({token:s})},d))})]},i)),(0,_.jsx)(pt,{code:e})]})}):null;var ut=({className:e,code:t,language:r})=>(0,_.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_.jsx)(mt,{code:t,language:r})});var ft=T(require("next/image"));var gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var ge=()=>{if(gt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Cr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Nr="data:image/png;base64,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",bt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:d}=e,c,u,N=t,k=s||"";if(!k&&o&&typeof o=="object"){let{alt:y,filename:x,height:C,url:A,width:L}=o;c=L,u=C,N=y||"",k=`${ge()}${A}`}let S=d||"lazy",P=i||Object.entries(Cr).map(([,y])=>`(max-width: ${y}px) ${y*2}_`).join(", ");return(0,_.jsx)("picture",{children:(0,_.jsx)(ft.default,{alt:N||"",className:m(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:Nr,priority:S!=="lazy"&&n,quality:100,loading:S,sizes:P,src:k,width:r?void 0:c})})};var ht=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Q.useRef)(null);if((0,Q.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_.jsx)("video",{autoPlay:!0,className:m(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,_.jsx)("source",{src:`${ge()}/media/${o}`})})}return null};var X=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,_.jsx)(r||Q.Fragment,{...r!==null?{className:t}:{},children:n?(0,_.jsx)(ht,{...e}):(0,_.jsx)(bt,{...e})})};var xt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,_.jsx)("div",{className:m("",{container:r},t),children:(0,_.jsx)(X,{imgClassName:m("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var he=T(require("react"));function Me({nodes:e}){return(0,_.jsx)(he.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,_.jsx)(he.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_.jsx)("sup",{children:o},r)),o}let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Me({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_.jsx)(lt,{...o},r);case"mediaBlock":return(0,_.jsx)(xt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-_-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_.jsx)(it,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_.jsx)(ut,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,_.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_.jsx)("_",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_.jsx)(o,{className:"col-start-2",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,_.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,_.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,_.jsx)(Y,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,_.jsx)("div",{className:m({"container ":r,"max-_-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Me({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var wt=({children:e,richText:t})=>(0,_.jsx)("div",{className:"min-_-full py-10 bg-muted mt-24",children:(0,_.jsx)("div",{className:"container",children:e||t&&(0,_.jsx)(B,{content:t,enableGutter:!1})})});var ze=T(require("next/image"));var Ar=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,_.jsx)(ze.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,_.jsx)("div",{children:(0,_.jsx)(ze.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},kt=({links:e,media:t,children:r,richText:a})=>(0,_.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,_.jsx)(Ar,{media:t}),(0,_.jsx)("div",{className:"mx-0 min-_-full relative _-9",children:(0,_.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,_.jsx)(B,{className:"prose-headings:text-brand-one-foreground prose-_:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ct=T(require("next/image"));var Nt=({links:e,media:t,children:r,richText:a})=>(0,_.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,_.jsx)("div",{className:"container mb-8 _-10 relative flex items-end justify-center",children:(0,_.jsxs)("div",{className:"max-_-[36.5rem] text-center",children:[r||a&&(0,_.jsx)(B,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-_:text-white prose-_:text-gray-900",content:a,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,_.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,_.jsx)("li",{children:(0,_.jsx)(Y,{...n})},o))})]})}),(0,_.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,_.jsx)(X,{fill:!0,imgClassName:"_-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,_.jsx)("div",{children:(0,_.jsx)(Ct.default,{className:"-_-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,_.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var At=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${o}/${i}/${s}`};var J=T(require("react"));var Rt=T(require("next/image")),Tt=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:a,publishedAt:n,title:o}=e;return(0,_.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,_.jsx)("div",{className:"container _-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,_.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,_.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((i,s)=>{if(typeof i=="object"&&i!==null){let{title:d}=i,c=d||"Untitled category",u=s===t.length-1;return(0,_.jsxs)(J.default.Fragment,{children:[c,!u&&(0,_.jsx)(J.default.Fragment,{children:", \xA0"})]},s)}return null})}),(0,_.jsx)("div",{className:"",children:(0,_.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,_.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,_.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,_.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,_.jsx)("_",{className:"text-sm",children:"Author"}),a.map((i,s)=>{let{name:d}=i,c=s===a.length-1,u=s===a.length-2;return(0,_.jsxs)(J.default.Fragment,{children:[d,u&&a.length>2&&(0,_.jsx)(J.default.Fragment,{children:", "}),u&&a.length===2&&(0,_.jsx)(J.default.Fragment,{children:" "}),!c&&a.length>1&&(0,_.jsx)(J.default.Fragment,{children:"and "})]},s)})]})}),n&&(0,_.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,_.jsx)("_",{className:"text-sm",children:"Date Published"}),(0,_.jsx)("time",{dateTime:n,children:At(n)})]})]})]})}),(0,_.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,_.jsx)(X,{fill:!0,imgClassName:"-_-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,_.jsx)("div",{children:(0,_.jsx)(Rt.default,{className:"-_-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,_.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 _-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Bt=T(require("next/image")),It=T(require("react"));var St="../../hero-3-N2CBGEV6.jpg";function Et({title:e,breadcrumbItems:t,image:r=St.src}){return(0,_.jsxs)("section",{className:"section-padding-primary -_-10 relative flex min-h-[250px] items-end",children:[(0,_.jsx)("div",{className:"absolute inset-0 _-0",children:(0,_.jsx)(Bt.default,{priority:!0,src:r,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,_.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,_.jsx)(ce,{children:(0,_.jsxs)("div",{className:"relative _-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,_.jsx)("h1",{className:"font-secondary text-xl font-bold lg:_-1/2",children:e}),t&&t.length>0&&(0,_.jsx)(Tr,{breadcrumbItems:t})]})})]})}var Pt=m("h3 font-secondary");function Tr({breadcrumbItems:e}){return e&&e.length>0?(0,_.jsx)("nav",{"aria-label":"breadcrumb",children:(0,_.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,r)=>(0,_.jsx)(It.default.Fragment,{children:t.href?(0,_.jsxs)("li",{className:Pt,children:[(0,_.jsx)(de,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,_.jsx)("span",{className:"ml-5",children:"/"})]}):(0,_.jsx)("li",{className:Pt,"aria-current":"page",children:t.label})},r))})}):(0,_.jsx)(_.Fragment,{})}var Mt="../../cortex-reply-light-27IMI3G7.png";var zt="../../cortex-reply-dark-XPAJJJYY.png";function Ft({...e}){return(0,_.jsxs)("div",{className:"flex fixed flex-col _-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,_.jsx)("div",{className:"fixed top-0 left-0 right-0 _-50",children:(0,_.jsx)(st,{isMenuOpen:!0,logoLight:Mt,logoDark:zt})}),e.hero&&e.hero.type==="lowImpact"&&(0,_.jsx)(wt,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,_.jsx)(kt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,_.jsx)(Nt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,_.jsx)(Tt,{...e.hero}),e.hero&&e.hero.type==="sectionHero"&&(0,_.jsx)(Et,{...e.hero}),(0,_.jsx)("div",{className:"container py-8",children:(0,_.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,_.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,_.jsxs)("div",{className:"space-y-6",children:[(0,_.jsxs)(ne,{children:[(0,_.jsx)(se,{children:(0,_.jsx)(ie,{children:"Quick Actions"})}),(0,_.jsxs)(le,{children:[(0,_.jsx)("_",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,_.jsx)(O,{className:"_-full",children:"Create New"})]})]}),(0,_.jsxs)(ne,{children:[(0,_.jsx)(se,{children:(0,_.jsx)(ie,{children:"Resources"})}),(0,_.jsx)(le,{children:(0,_.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,_.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,_.jsx)(xe.ExternalLink,{className:"ml-1 h-3 _-3"})]}),(0,_.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,_.jsx)(xe.ExternalLink,{className:"ml-1 h-3 _-3"})]}),(0,_.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,_.jsx)(xe.ExternalLink,{className:"ml-1 h-3 _-3"})]})]})})]})]})]})})]})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-BTYSHCEW.mjs";import"../../chunk-WU3JMLSC.mjs";import"../../chunk-BZAYEKYC.mjs";import"../../chunk-XWTX2W5V.mjs";import"../../chunk-OJHVOO35.mjs";import"../../chunk-FSXB4EFA.mjs";import"../../chunk-X6QN5C6U.mjs";import"../../chunk-MLVUDDTJ.mjs";import"../../chunk-FHRWUBJS.mjs";import"../../chunk-GCVL4HMJ.mjs";import"../../chunk-QXFTL6FL.mjs";import"../../chunk-XTQ4VQZP.mjs";import"../../chunk-7GHS5JRC.mjs";import"../../chunk-M62IIIAN.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-NC75G3JN.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-JUV4GZ2N.mjs";import"../../chunk-5VW5YOZB.mjs";import"../../chunk-NSUCU5DU.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as default};
|