cortex-react-components 1.34.0 → 1.34.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-XTFOVKFL.mjs → chunk-3IHGGPRN.mjs} +1 -1
- package/dist/{chunk-Y3ZD3LIO.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7QPNALSX.mjs → chunk-3ZQYE7M3.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-FHE7LU6G.mjs → chunk-6ZXYKK6J.mjs} +1 -1
- package/dist/{chunk-VE7ZJ62Y.mjs → chunk-A2QVFCP5.mjs} +1 -1
- package/dist/chunk-AO2FTKDA.mjs +1 -0
- package/dist/{chunk-4BEPYHEG.mjs → chunk-BBLJ3L2P.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-KKDY7QXC.mjs → chunk-FOMIQYMA.mjs} +1 -1
- package/dist/{chunk-AYQM572B.mjs → chunk-GFTFZ7JY.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-ITOI4U3L.mjs → chunk-K6CEB2MJ.mjs} +1 -1
- package/dist/{chunk-YOIWC7S2.mjs → chunk-LHFZLDTD.mjs} +1 -1
- package/dist/{chunk-NW7VCO7D.mjs → chunk-LXAGAIOE.mjs} +1 -1
- package/dist/{chunk-M3MMOJFM.mjs → chunk-MZ45XGZG.mjs} +1 -1
- package/dist/{chunk-WY4P6RJP.mjs → chunk-NZHUMOVD.mjs} +1 -1
- package/dist/{chunk-ZFNSRYYX.mjs → chunk-O2DBG3NV.mjs} +1 -1
- package/dist/{chunk-LHFBM5DP.mjs → chunk-OBJPMP7L.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-K5QOQSAS.mjs → chunk-OVAOTY36.mjs} +1 -1
- package/dist/{chunk-MEBJNGL3.mjs → chunk-OZ3WPHBH.mjs} +1 -1
- package/dist/{chunk-IIHBXLZQ.mjs → chunk-PIHQ5WLE.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-WSXDK4KT.mjs → chunk-S7CP4YF5.mjs} +1 -1
- package/dist/{chunk-MBCAGZ76.mjs → chunk-ULKXH4YN.mjs} +1 -1
- package/dist/{chunk-IPG2W7EV.mjs → chunk-VP7B5S7N.mjs} +1 -1
- package/dist/{chunk-77MZDWUP.mjs → chunk-ZE5A5R73.mjs} +1 -1
- package/dist/{chunk-NYGYSEK6.mjs → chunk-ZNC5NNDY.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.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-HU2USG4O.mjs +0 -1
package/dist/pages/Blog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var er=Object.create;var ue=Object.defineProperty;var tr=Object.getOwnPropertyDescriptor;var rr=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty;var nr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},$e=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of rr(t))!ar.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=tr(t,n))||a.enumerable});return e};var I=(e,t,r)=>(r=e!=null?er(or(e)):{},$e(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),sr=e=>$e(ue({},"__esModule",{value:!0}),e);var Xr={};nr(Xr,{default:()=>Zt});module.exports=sr(Xr);var We=require("react/jsx-runtime"),je=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,We.jsx)("i",{className:s})};var _=require("@headlessui/react"),lt=require("@heroicons/react/20/solid");var st=require("clsx");var De="-",ir=e=>{let t=cr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(De);return s[0]===""&&s.length!==1&&s.shift(),et(s,t)||lr(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&a[i]?[...l,...a[i]]:l}}},et=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?et(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(De);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},qe=/^\[(.+)\]$/,lr=e=>{if(qe.test(e)){let t=qe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},cr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return pr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(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(dr(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,Ze(t,o),r,a)})})},Ze=(e,t)=>{let r=e;return t.split(De).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},dr=e=>e.isThemeGetter,pr=(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,mr=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)}}},tt="!",ur=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let l=[],p=0,f=0,h;for(let k=0;k<s.length;k++){let S=s[k];if(p===0){if(S===n&&(a||s.slice(k,k+o)===t)){l.push(s.slice(f,k)),f=k+o;continue}if(S==="/"){h=k;continue}}S==="["?p++:S==="]"&&p--}let u=l.length===0?s:s.substring(f),b=u.startsWith(tt),N=b?u.substring(1):u,v=h&&h>f?h-f:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},gr=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},fr=e=>({cache:mr(e.cacheSize),parseClassName:ur(e),...ir(e)}),br=/\s+/,hr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(br),s="";for(let l=i.length-1;l>=0;l-=1){let p=i[l],{modifiers:f,hasImportantModifier:h,baseClassName:u,maybePostfixModifierPosition:b}=r(p),N=!!b,v=a(N?u.substring(0,b):u);if(!v){if(!N){s=p+(s.length>0?" "+s:s);continue}if(v=a(u),!v){s=p+(s.length>0?" "+s:s);continue}N=!1}let k=gr(f).join(":"),S=h?k+tt:k,T=S+v;if(o.includes(T))continue;o.push(T);let z=n(v,N);for(let G=0;G<z.length;++G){let de=z[G];o.push(S+de)}s=p+(s.length>0?" "+s:s)}return s};function xr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(a&&(a+=" "),a+=r);return a}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function yr(e,...t){let r,a,n,o=i;function i(l){let p=t.reduce((f,h)=>h(f),e());return r=fr(p),a=r.cache.get,n=r.cache.set,o=s,s(l)}function s(l){let p=a(l);if(p)return p;let f=hr(l,r);return n(l,f),f}return function(){return o(xr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-z-]+):)?(.+)\]$/i,vr=/^\d+\/\d+$/,wr=new Set(["px","full","screen"]),Cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ar=/\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$/,kr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Nr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>Q(e)||wr.has(e)||vr.test(e),H=e=>V(e,"length",Lr),Q=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>V(e,"number",Q),te=e=>!!e&&Number.isInteger(Number(e)),Pr=e=>e.endsWith("%")&&Q(e.slice(0,-1)),c=e=>ot.test(e),E=e=>Cr.test(e),Tr=new Set(["length","size","percentage"]),Ir=e=>V(e,Tr,at),Br=e=>V(e,"position",at),Rr=new Set(["image","url"]),Mr=e=>V(e,Rr,Er),Dr=e=>V(e,"",Hr),re=()=>!0,V=(e,t,r)=>{let a=ot.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Lr=e=>Ar.test(e)&&!kr.test(e),at=()=>!1,Hr=e=>Nr.test(e),Er=e=>Sr.test(e);var Fr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),p=w("grayscale"),f=w("hueRotate"),h=w("invert"),u=w("gap"),b=w("gradientColorStops"),N=w("gradientColorStopPositions"),v=w("inset"),k=w("margin"),S=w("opacity"),T=w("padding"),z=w("saturate"),G=w("scale"),de=w("sepia"),Je=w("skew"),Ye=w("space"),Ke=w("translate"),Pe=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",c,t],C=()=>[c,t],Qe=()=>["",D,H],pe=()=>["auto",Q,c],Ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",c],Xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[Q,c];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[D,H],blur:["none","",E,c],brightness:M(),borderColor:[e],borderRadius:["none","","full",E,c],borderSpacing:C(),borderWidth:Qe(),contrast:M(),grayscale:ee(),hueRotate:M(),invert:ee(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Pr,H],inset:Ie(),margin:Ie(),opacity:M(),padding:C(),saturate:M(),scale:M(),sepia:ee(),skew:M(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Xe()}],"break-before":[{"break-before":Xe()}],"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:[...Ve(),c]}],overflow:[{overflow:Te()}],"overflow-We":[{"overflow-We":Te()}],"overflow-We":[{"overflow-We":Te()}],overscroll:[{overscroll:Pe()}],"overscroll-We":[{"overscroll-We":Pe()}],"overscroll-We":[{"overscroll-We":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-We":[{"inset-We":[v]}],"inset-We":[{"inset-We":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",te,c]}],basis:[{basis:Ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",te,c]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",te,c]},c]}],"col-start":[{"col-start":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[te,c]},c]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[u]}],"gap-We":[{"gap-We":[u]}],"gap-We":[{"gap-We":[u]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],We:[{We:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],We:[{We:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-We":[{"space-We":[Ye]}],"space-We-reverse":["space-We-reverse"],"space-We":[{"space-We":[Ye]}],"space-We-reverse":["space-We-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[re]}],"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",c]}],"line-clamp":[{"line-clamp":["none",Q,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,H]}],"underline-offset":[{"underline-offset":["auto",D,c]}],"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:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ve(),Br]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","We","We","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ir]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],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-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-We":[{"border-We":[s]}],"border-w-We":[{"border-We":[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":[S]}],"border-style":[{border:[...me(),"hidden"]}],"divide-We":[{"divide-We":[s]}],"divide-We-reverse":["divide-We-reverse"],"divide-We":[{"divide-We":[s]}],"divide-We-reverse":["divide-We-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:me()}],"border-color":[{border:[n]}],"border-color-We":[{"border-We":[n]}],"border-color-We":[{"border-We":[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:["",...me()]}],"outline-offset":[{"outline-offset":[D,c]}],"outline-w":[{outline:[D,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[D,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Dr]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[..._e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_e()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-We":[{"border-spacing-We":[i]}],"border-spacing-We":[{"border-spacing-We":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-We":[{"scale-We":[G]}],"scale-We":[{"scale-We":[G]}],rotate:[{rotate:[te,c]}],"translate-We":[{"translate-We":[Ke]}],"translate-We":[{"translate-We":[Ke]}],"skew-We":[{"skew-We":[Je]}],"skew-We":[{"skew-We":[Je]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","We-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","We","We",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-We":[{"scroll-We":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-We":[{"scroll-We":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","We","We","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-We":[{"touch-pan":["We","left","right"]}],"touch-We":[{"touch-pan":["We","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[D,H,Re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-We","overflow-We"],overscroll:["overscroll-We","overscroll-We"],inset:["inset-We","inset-We","start","end","top","right","bottom","left"],"inset-We":["right","left"],"inset-We":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-We","gap-We"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],We:["mx","my","ms","me","We","mr","mb","ml"],mx:["mr","ml"],my:["We","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-We","border-spacing-We"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-We":["border-w-r","border-w-l"],"border-w-We":["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-We":["border-color-r","border-color-l"],"border-color-We":["border-color-t","border-color-b"],"scroll-We":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-We","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-We","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-We","touch-We","touch-pz"],"touch-We":["touch"],"touch-We":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var nt=yr(Fr);function d(...e){return nt((0,st.clsx)(e))}var zr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,We.jsx)("a",{href:a,className:"flex items-center gap-We-1 text-sm font-semibold text-foreground group",children:(0,We.jsxs)("span",{className:"relative",children:[e,(0,We.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-We-1/2 scale-We-0 transition-transform duration-300 ease-in-out group-hover:scale-We-100"})]})}):(0,We.jsxs)(_.Popover,{children:[(0,We.jsxs)(_.PopoverButton,{className:"flex items-center gap-We-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,We.jsxs)("span",{className:"relative",children:[e,(0,We.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-We-1/2 scale-We-0 transition-transform duration-300 ease-in-out group-hover:scale-We-100"})]}),(0,We.jsx)(lt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,We.jsxs)(_.PopoverPanel,{transition:!0,className:"absolute inset-We-0 top-0 -z-10 bg-popover We-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-We-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,We.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-We-4 px-6 py-10 lg:px-8 xl:gap-We-8 z-50",children:t&&t.map(n=>(0,We.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,We.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,We.jsx)(it,{icon:n.icon,size:"4x"})}),(0,We.jsxs)("a",{href:n.href,className:"We-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,We.jsx)("span",{className:"absolute inset-0"})]}),(0,We.jsx)("p",{className:"We-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,We.jsx)("div",{className:"bg-gray-50",children:(0,We.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,We.jsx)("div",{className:"grid grid-cols-3 divide-We divide-gray-900/5 border-We border-gray-900/5",children:r.map(n=>(0,We.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-We-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,We.jsx)(it,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),it=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,We.jsx)(je,{...e,size:r});if("src"in e)return(0,We.jsx)("div",{className:d(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,We.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ct=zr;var X=require("react");function ge({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,We.jsx)("div",{className:n,children:e})}var pt=I(require("next/link"));function fe({children:e,href:t,openNewTab:r,...a}){return(0,We.jsx)(pt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Le=I(require("next/image"));function ae({logoLight:e,logoDark:t,mobile:r=!1}){return(0,We.jsxs)(fe,{href:"/",className:d(r?"py-1":"py-2"),children:[(0,We.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:"auto",height:r?35:50}}),(0,We.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:"auto",height:r?35:50}})]})}var ut=require("next-themes"),be=require("lucide-react");function ft({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,X.useState)(!1),[i,s]=(0,X.useState)(""),l=["light","dark"],{theme:p,setTheme:f}=(0,ut.useTheme)();(0,X.useEffect)(()=>{s(p||"dark")},[p]);let h=()=>{let u=l[(l.indexOf(i)+1)%l.length];s(u),f(u)};return(0,X.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,We.jsx)(We.Fragment,{children:(0,We.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-We-0":"-translate-We-full bg-transparent"}`,children:(0,We.jsx)(ge,{className:"px-0",children:(0,We.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,We.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,We.jsx)(ae,{logoDark:r,logoLight:t}),(0,We.jsx)(_.PopoverGroup,{className:"hidden lg:flex lg:gap-We-12",children:a&&a.map(u=>(0,We.jsx)(ct,{...u},u.name))}),(0,We.jsx)("div",{className:"flex items-center space-We-4",children:(0,We.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:h,children:(0,We.jsxs)("div",{className:"relative",children:[(0,We.jsx)(be.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,We.jsx)(be.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var he=require("@heroicons/react/24/outline");var He=["light","dark"];function ht({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,X.useState)(!1),{theme:i,setTheme:s}=(0,ut.useTheme)(),[l,p]=(0,X.useState)(!1),[f,h]=(0,X.useState)("light");(0,X.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,X.useEffect)(()=>{h(i||"dark")},[i]);let u=()=>{let b=He[(He.indexOf(f)+1)%He.length];h(b),s(b)};return(0,We.jsx)(We.Fragment,{children:(0,We.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-We-0":"-translate-We-full bg-transparent"}`,children:[(0,We.jsx)("nav",{className:d("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,We.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,We.jsx)(ae,{logoDark:t,logoLight:e,mobile:!0}),(0,We.jsxs)("div",{className:"flex items-center space-We-4",children:[(0,We.jsxs)("button",{type:"button",onClick:()=>p(!0),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",children:[(0,We.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,We.jsx)(he.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,We.jsx)("button",{className:"fixed right-16 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,We.jsxs)("div",{className:"relative",children:[(0,We.jsx)(be.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,We.jsx)(be.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,We.jsxs)(_.Dialog,{open:l,onClose:p,className:"lg:hidden",children:[(0,We.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,We.jsxs)(_.DialogPanel,{className:"fixed inset-We-0 right-0 z-20 w-full overflow-We-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,We.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,We.jsx)(ae,{logoDark:t,logoLight:e,mobile:!0}),(0,We.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-We-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,We.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,We.jsx)(he.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,We.jsx)("div",{className:"We-6 flow-root",children:(0,We.jsx)("div",{className:"-my-6 divide-We divide-gray-500/10",children:(0,We.jsx)("div",{className:"space-We-2 px-2 py-6",children:r&&r.map(b=>(0,We.jsx)(Gr,{...b},b.name))})})})]})]})]})})}function Gr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,We.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,We.jsxs)(_.Disclosure,{as:"div",className:"-mx-3",children:[(0,We.jsx)(_.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,We.jsx)(_.DisclosurePanel,{className:"We-2 space-We-2",children:t&&t.map(n=>(0,We.jsx)(_.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var xt=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`${i}/${o}/${s}`};function yt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,We.jsxs)("div",{className:d("fixed top-0 left-0 right-0 z-50",n),children:[(0,We.jsx)(ft,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,We.jsx)(ht,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var se=I(require("react"));var vt=require("@radix-ui/react-slot"),wt=require("class-variance-authority"),Ct=I(require("react")),Ur=(0,wt.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"}}}),O=Ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,We.jsx)(e?vt.Slot:"button",{className:d(Ur({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var Nt=(0,wt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ee({className:e,variant:t,...r}){return(0,We.jsx)("div",{className:d(Nt({variant:t}),e),...r})}var Pt=I(require("next/image")),Tt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,We.jsxs)("div",{className:"relative -We-[10.4rem] flex items-end",children:[(0,We.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,We.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,We.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:p}=s;return(0,We.jsx)(Ee,{className:"mx-2",children:p||"Untitled category"})}return null})}),(0,We.jsx)("div",{className:"",children:(0,We.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,We.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,We.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,We.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,We.jsx)("p",{className:"text-sm",children:"Author"}),a.map((s,l)=>{let{name:p}=s,f=l===a.length-1,h=l===a.length-2;return(0,We.jsxs)(se.default.Fragment,{children:[p,h&&a.length>2&&(0,We.jsx)(se.default.Fragment,{children:", "}),h&&a.length===2&&(0,We.jsx)(se.default.Fragment,{children:" "}),!f&&a.length>1&&(0,We.jsx)(se.default.Fragment,{children:"and "})]},l)})]})}),n&&(0,We.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,We.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,We.jsx)("time",{dateTime:n,children:xt(n)})]})]})]})}),(0,We.jsxs)("div",{className:"min-h-[80vh] select-none",children:[(0,We.jsx)("div",{children:(0,We.jsx)(Pt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((i=r&&r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png"})}),(0,We.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 It="../cortex-reply-light-27IMI3G7.png";var Bt="../cortex-reply-dark-XPAJJJYY.png";var Rt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//We";var $t=I(require("next/image"));var Mt=({className:e,content:t,style:r})=>(0,We.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,We.jsx)("div",{className:d("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,We.jsx)($,{content:t,enableGutter:!1,enableProse:!1})})});var Fe=I(require("next/link")),ve=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:l,url:p}=e,f=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}`:p;if(!f)return null;let h=r==="link"?"clear":l,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,We.jsxs)(Fe.default,{className:d(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,We.jsx)(O,{asChild:!0,className:n,size:h,variant:r,children:(0,We.jsxs)(Fe.default,{className:d(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Dt=({links:e,richText:t})=>(0,We.jsx)("div",{className:"container",children:(0,We.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,We.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,We.jsx)($,{className:"mb-0",content:t,enableGutter:!1})}),(0,We.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,We.jsx)(ve,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");function Et({code:e}){let[t,r]=(0,X.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,We.jsx)("div",{className:"flex justify-end align-middle",children:(0,We.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,We.jsx)("p",{children:t}),(0,We.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,We.jsx)(be.ClipboardCopy,{})})]})})}var Ft=({code:e,language:t=""})=>e?(0,We.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,We.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-We-auto",children:[n.map((o,i)=>(0,We.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,We.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,We.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,We.jsx)("span",{...a({token:s})},l))})]},i)),(0,We.jsx)(Et,{code:e})]})}):null;var zt=({className:e,code:t,language:r})=>(0,We.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,We.jsx)(Ft,{code:t,language:r})});var Ut=I(require("next/image"));var Gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ce=()=>{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 Yr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Kr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Ot=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:l}=e,p,f,h=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:k,height:S,url:T,width:z}=o;p=z,f=S,h=v||"",u=`${Ce()}${T}`}let b=l||"lazy",N=i||Object.entries(Yr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,We.jsx)("picture",{children:(0,We.jsx)(Ut.default,{alt:h||"",className:d(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Kr,priority:b!=="lazy"&&n,quality:100,loading:b,sizes:N,src:u,width:r?void 0:p})})};var Jt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,X.useRef)(null);if((0,X.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,We.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,We.jsx)("source",{src:`${Ce()}/media/${o}`})})}return null};var Kt=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,We.jsx)(r||X.Fragment,{...r!==null?{className:t}:{},children:n?(0,We.jsx)(Jt,{...e}):(0,We.jsx)(Ot,{...e})})};var Qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,We.jsx)("div",{className:d("",{container:r},t),children:(0,We.jsx)(Kt,{imgClassName:d("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Se=I(require("react"));function Ne({nodes:e}){return(0,We.jsx)(Se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,We.jsx)(Se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,We.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,We.jsx)("em",{children:o},r)),t.format&4&&(o=(0,We.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,We.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,We.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,We.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,We.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,We.jsx)("table",{children:(0,We.jsx)("tbody",{children:t.children.map((o,i)=>(0,We.jsx)("tr",{children:o.children.map((s,l)=>(0,We.jsx)("td",{children:Ne({nodes:s.children})},l))},i))})},r);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 Ne({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,We.jsx)(Dt,{...o},r);case"mediaBlock":return(0,We.jsx)(Qt,{className:"col-start-1 col-span-3",imgClassName:"We-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,We.jsx)(Mt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,We.jsx)(zt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,We.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,We.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,We.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,We.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,We.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,We.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,We.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,We.jsx)(ve,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var $=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,We.jsx)("div",{className:d({"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&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var jt=require("next/navigation");var Y=I(require("react"));var j=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));j.displayName="Card";var le=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("flex flex-col space-We-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var Qr=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));Qr.displayName="CardDescription";var W=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("p-6 pt-0",e),...t}));W.displayName="CardContent";var Vr=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("flex items-center p-6 pt-0",e),...t}));Vr.displayName="CardFooter";var Ka=d("transition-colors duration-400 hover:text-primary ease-in-out");function Xt({title:e,links:t}){let r=(0,jt.useSearchParams)(),a=(0,jt.usePathname)(),{replace:n}=(0,jt.useRouter)();function o(i){console.log(i);let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),n(`${a}?${s.toString()}`)}return(0,We.jsxs)(j,{children:[(0,We.jsx)(le,{children:(0,We.jsx)(ce,{className:"text-accent",children:e&&e})}),(0,We.jsx)(W,{children:t&&t.length>0&&(0,We.jsx)("nav",{"aria-label":"footer links navigation",children:(0,We.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,We.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:l=>{l.preventDefault(),o(i.href)},children:[i.label,(0,We.jsx)(be.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var Wt=I(require("next/link"));function _r({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,We.jsx)("div",{className:"We-1 z-10 px-0 pt-0 lg:px-10",children:(0,We.jsx)(j,{children:(0,We.jsxs)(W,{children:[e&&e.src&&(0,We.jsx)($t.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Rt,className:"mx-auto We-6 rounded-full object-cover"}),(0,We.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,We.jsx)("p",{children:r}),a&&a.length>0&&(0,We.jsx)("nav",{"aria-label":"social links",children:(0,We.jsx)("ul",{className:"inline-flex items-center divide-We divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,We.jsx)("li",{children:(0,We.jsx)(fe,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-We-1 hover:text-accents",children:(0,We.jsx)("span",{children:n.icon})})},o))})})]})})})}function qt({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,jt.notFound)();let{meta:n,populatedAuthors:o,authors:i,categories:s,content:l,title:p}=e,f={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},h=i==null?void 0:i.map(b=>{var N,v;return{name:b.name||"",about:"",image:{src:b.profilePicture&&((v=(N=b.profilePicture.sizes)==null?void 0:N.small)==null?void 0:v.url)||"",alt:b.name||"blog author"},socialLinks:[]}});return(0,We.jsx)(ge,{children:(0,We.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,We.jsx)("div",{children:(0,We.jsxs)("div",{className:"[&_p+We]:We-4",children:[(0,We.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,We.jsx)($,{content:l,enableGutter:!1})]})}),(0,We.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,We.jsx)("div",{className:"We-4 lg:-We-10 z-10 px-0 pt-0 lg:px-10",children:(0,We.jsxs)(j,{children:[(0,We.jsx)(le,{children:(0,We.jsx)(ce,{className:"text-accent",children:"CMS Actions"})}),(0,We.jsxs)(W,{children:[(0,We.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,We.jsx)(Wt.default,{href:`${a}${e.id}`,children:(0,We.jsx)(O,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),h&&h.map((b,N)=>(0,We.jsx)(_r,{...b},N)),t&&t.links&&(0,We.jsx)("div",{className:"We-4 px-0 pt-0 lg:px-10",children:(0,We.jsx)(Xt,{links:t.links,title:t.title})})]})]})})}function Zt({...e}){return(0,We.jsxs)("div",{children:[(0,We.jsx)(yt,{isMenuOpen:!0,logoLight:It,logoDark:Bt}),(0,We.jsx)(Tt,{...e.hero}),(0,We.jsx)(qt,{className:"!pb-0",...e.blog})]})}
|
|
4
|
+
"use strict";var er=Object.create;var ue=Object.defineProperty;var tr=Object.getOwnPropertyDescriptor;var rr=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,ar=Object.prototype.hasOwnProperty;var nr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},$e=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of rr(t))!ar.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=tr(t,n))||a.enumerable});return e};var I=(e,t,r)=>(r=e!=null?er(or(e)):{},$e(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),sr=e=>$e(ue({},"__esModule",{value:!0}),e);var Xr={};nr(Xr,{default:()=>Zt});module.exports=sr(Xr);var We=require("react/jsx-runtime"),je=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,We.jsx)("i",{className:s})};var _=require("@headlessui/react"),lt=require("@heroicons/react/20/solid");var st=require("clsx");var De="-",ir=e=>{let t=cr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(De);return s[0]===""&&s.length!==1&&s.shift(),et(s,t)||lr(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&a[i]?[...l,...a[i]]:l}}},et=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?et(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(De);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},qe=/^\[(.+)\]$/,lr=e=>{if(qe.test(e)){let t=qe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},cr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return pr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(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(dr(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,Ze(t,o),r,a)})})},Ze=(e,t)=>{let r=e;return t.split(De).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},dr=e=>e.isThemeGetter,pr=(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,mr=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)}}},tt="!",ur=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let l=[],p=0,f=0,h;for(let k=0;k<s.length;k++){let S=s[k];if(p===0){if(S===n&&(a||s.slice(k,k+o)===t)){l.push(s.slice(f,k)),f=k+o;continue}if(S==="/"){h=k;continue}}S==="["?p++:S==="]"&&p--}let u=l.length===0?s:s.substring(f),b=u.startsWith(tt),N=b?u.substring(1):u,v=h&&h>f?h-f:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},gr=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},fr=e=>({cache:mr(e.cacheSize),parseClassName:ur(e),...ir(e)}),br=/\s+/,hr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(br),s="";for(let l=i.length-1;l>=0;l-=1){let p=i[l],{modifiers:f,hasImportantModifier:h,baseClassName:u,maybePostfixModifierPosition:b}=r(p),N=!!b,v=a(N?u.substring(0,b):u);if(!v){if(!N){s=p+(s.length>0?" "+s:s);continue}if(v=a(u),!v){s=p+(s.length>0?" "+s:s);continue}N=!1}let k=gr(f).join(":"),S=h?k+tt:k,T=S+v;if(o.includes(T))continue;o.push(T);let z=n(v,N);for(let G=0;G<z.length;++G){let de=z[G];o.push(S+de)}s=p+(s.length>0?" "+s:s)}return s};function xr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(a&&(a+=" "),a+=r);return a}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function yr(e,...t){let r,a,n,o=i;function i(l){let p=t.reduce((f,h)=>h(f),e());return r=fr(p),a=r.cache.get,n=r.cache.set,o=s,s(l)}function s(l){let p=a(l);if(p)return p;let f=hr(l,r);return n(l,f),f}return function(){return o(xr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-z-]+):)?(.+)\]$/i,vr=/^\d+\/\d+$/,wr=new Set(["px","full","screen"]),Cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ar=/\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$/,kr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Nr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>Q(e)||wr.has(e)||vr.test(e),H=e=>V(e,"length",Lr),Q=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>V(e,"number",Q),te=e=>!!e&&Number.isInteger(Number(e)),Pr=e=>e.endsWith("%")&&Q(e.slice(0,-1)),c=e=>ot.test(e),E=e=>Cr.test(e),Tr=new Set(["length","size","percentage"]),Ir=e=>V(e,Tr,at),Br=e=>V(e,"position",at),Rr=new Set(["image","url"]),Mr=e=>V(e,Rr,Er),Dr=e=>V(e,"",Hr),re=()=>!0,V=(e,t,r)=>{let a=ot.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Lr=e=>Ar.test(e)&&!kr.test(e),at=()=>!1,Hr=e=>Nr.test(e),Er=e=>Sr.test(e);var Fr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),p=w("grayscale"),f=w("hueRotate"),h=w("invert"),u=w("gap"),b=w("gradientColorStops"),N=w("gradientColorStopPositions"),v=w("inset"),k=w("margin"),S=w("opacity"),T=w("padding"),z=w("saturate"),G=w("scale"),de=w("sepia"),Je=w("skew"),Ye=w("space"),Ke=w("translate"),Pe=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",c,t],C=()=>[c,t],Qe=()=>["",D,H],pe=()=>["auto",Q,c],Ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>["start","end","center","between","around","evenly","stretch"],ee=()=>["","0",c],Xe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[Q,c];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[D,H],blur:["none","",E,c],brightness:M(),borderColor:[e],borderRadius:["none","","full",E,c],borderSpacing:C(),borderWidth:Qe(),contrast:M(),grayscale:ee(),hueRotate:M(),invert:ee(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Pr,H],inset:Ie(),margin:Ie(),opacity:M(),padding:C(),saturate:M(),scale:M(),sepia:ee(),skew:M(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Xe()}],"break-before":[{"break-before":Xe()}],"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:[...Ve(),c]}],overflow:[{overflow:Te()}],"overflow-We":[{"overflow-We":Te()}],"overflow-We":[{"overflow-We":Te()}],overscroll:[{overscroll:Pe()}],"overscroll-We":[{"overscroll-We":Pe()}],"overscroll-We":[{"overscroll-We":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-We":[{"inset-We":[v]}],"inset-We":[{"inset-We":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",te,c]}],basis:[{basis:Ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:ee()}],shrink:[{shrink:ee()}],order:[{order:["first","last","none",te,c]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",te,c]},c]}],"col-start":[{"col-start":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[te,c]},c]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[u]}],"gap-We":[{"gap-We":[u]}],"gap-We":[{"gap-We":[u]}],"justify-content":[{justify:["normal",...Be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],We:[{We:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],We:[{We:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-We":[{"space-We":[Ye]}],"space-We-reverse":["space-We-reverse"],"space-We":[{"space-We":[Ye]}],"space-We-reverse":["space-We-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",E,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Re]}],"font-family":[{font:[re]}],"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",c]}],"line-clamp":[{"line-clamp":["none",Q,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",D,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",D,H]}],"underline-offset":[{"underline-offset":["auto",D,c]}],"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:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ve(),Br]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","We","We","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ir]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],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-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-We":[{"border-We":[s]}],"border-w-We":[{"border-We":[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":[S]}],"border-style":[{border:[...me(),"hidden"]}],"divide-We":[{"divide-We":[s]}],"divide-We-reverse":["divide-We-reverse"],"divide-We":[{"divide-We":[s]}],"divide-We-reverse":["divide-We-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:me()}],"border-color":[{border:[n]}],"border-color-We":[{"border-We":[n]}],"border-color-We":[{"border-We":[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:["",...me()]}],"outline-offset":[{"outline-offset":[D,c]}],"outline-w":[{outline:[D,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[D,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",E,Dr]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[..._e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_e()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-We":[{"border-spacing-We":[i]}],"border-spacing-We":[{"border-spacing-We":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-We":[{"scale-We":[G]}],"scale-We":[{"scale-We":[G]}],rotate:[{rotate:[te,c]}],"translate-We":[{"translate-We":[Ke]}],"translate-We":[{"translate-We":[Ke]}],"skew-We":[{"skew-We":[Je]}],"skew-We":[{"skew-We":[Je]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","We-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","We","We",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-We":[{"scroll-We":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-We":[{"scroll-We":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","We","We","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-We":[{"touch-pan":["We","left","right"]}],"touch-We":[{"touch-pan":["We","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[D,H,Re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-We","overflow-We"],overscroll:["overscroll-We","overscroll-We"],inset:["inset-We","inset-We","start","end","top","right","bottom","left"],"inset-We":["right","left"],"inset-We":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-We","gap-We"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],We:["mx","my","ms","me","We","mr","mb","ml"],mx:["mr","ml"],my:["We","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-We","border-spacing-We"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-We":["border-w-r","border-w-l"],"border-w-We":["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-We":["border-color-r","border-color-l"],"border-color-We":["border-color-t","border-color-b"],"scroll-We":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-We","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-We","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-We","touch-We","touch-pz"],"touch-We":["touch"],"touch-We":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var nt=yr(Fr);function d(...e){return nt((0,st.clsx)(e))}var zr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,We.jsx)("a",{href:a,className:"flex items-center gap-We-1 text-sm font-semibold text-foreground group",children:(0,We.jsxs)("span",{className:"relative",children:[e,(0,We.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-We-1/2 scale-We-0 transition-transform duration-300 ease-in-out group-hover:scale-We-100"})]})}):(0,We.jsxs)(_.Popover,{children:[(0,We.jsxs)(_.PopoverButton,{className:"flex items-center gap-We-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,We.jsxs)("span",{className:"relative",children:[e,(0,We.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-We-1/2 scale-We-0 transition-transform duration-300 ease-in-out group-hover:scale-We-100"})]}),(0,We.jsx)(lt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,We.jsxs)(_.PopoverPanel,{transition:!0,className:"absolute inset-We-0 top-0 -z-10 bg-popover We-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-We-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,We.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-We-4 px-6 py-10 lg:px-8 xl:gap-We-8 z-50",children:t&&t.map(n=>(0,We.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,We.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,We.jsx)(it,{icon:n.icon,size:"4x"})}),(0,We.jsxs)("a",{href:n.href,className:"We-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,We.jsx)("span",{className:"absolute inset-0"})]}),(0,We.jsx)("p",{className:"We-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,We.jsx)("div",{className:"bg-gray-50",children:(0,We.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,We.jsx)("div",{className:"grid grid-cols-3 divide-We divide-gray-900/5 border-We border-gray-900/5",children:r.map(n=>(0,We.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-We-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,We.jsx)(it,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),it=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,We.jsx)(je,{...e,size:r});if("src"in e)return(0,We.jsx)("div",{className:d(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,We.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ct=zr;var X=require("react");function ge({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=d("container",t&&"full-width",r&&"no-padding",a);return(0,We.jsx)("div",{className:n,children:e})}var pt=I(require("next/link"));function fe({children:e,href:t,openNewTab:r,...a}){return(0,We.jsx)(pt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Le=I(require("next/image"));function ae({logoLight:e,logoDark:t,mobile:r=!1}){return(0,We.jsxs)(fe,{href:"/",className:d(r?"py-1":"py-2"),children:[(0,We.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:"auto",height:r?35:50}}),(0,We.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:"auto",height:r?35:50}})]})}var ut=require("next-themes"),be=require("lucide-react");function ft({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,X.useState)(!1),[i,s]=(0,X.useState)(""),l=["light","dark"],{theme:p,setTheme:f}=(0,ut.useTheme)();(0,X.useEffect)(()=>{s(p||"dark")},[p]);let h=()=>{let u=l[(l.indexOf(i)+1)%l.length];s(u),f(u)};return(0,X.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,We.jsx)(We.Fragment,{children:(0,We.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-We-0":"-translate-We-full bg-transparent"}`,children:(0,We.jsx)(ge,{className:"px-0",children:(0,We.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,We.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,We.jsx)(ae,{logoDark:r,logoLight:t}),(0,We.jsx)(_.PopoverGroup,{className:"hidden lg:flex lg:gap-We-12",children:a&&a.map(u=>(0,We.jsx)(ct,{...u},u.name))}),(0,We.jsx)("div",{className:"flex items-center space-We-4",children:(0,We.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:h,children:(0,We.jsxs)("div",{className:"relative",children:[(0,We.jsx)(be.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,We.jsx)(be.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var he=require("@heroicons/react/24/outline");var He=["light","dark"];function ht({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,X.useState)(!1),{theme:i,setTheme:s}=(0,ut.useTheme)(),[l,p]=(0,X.useState)(!1),[f,h]=(0,X.useState)("light");(0,X.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,X.useEffect)(()=>{h(i||"dark")},[i]);let u=()=>{let b=He[(He.indexOf(f)+1)%He.length];h(b),s(b)};return(0,We.jsx)(We.Fragment,{children:(0,We.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-We-0":"-translate-We-full bg-transparent"}`,children:[(0,We.jsx)("nav",{className:d("backdrop-blur-sm text-white p-0",l&&"hidden"),children:(0,We.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,We.jsx)(ae,{logoDark:t,logoLight:e,mobile:!0}),(0,We.jsxs)("div",{className:"flex items-center space-We-4",children:[(0,We.jsxs)("button",{type:"button",onClick:()=>p(!0),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",children:[(0,We.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,We.jsx)(he.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,We.jsx)("button",{className:"fixed right-16 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,We.jsxs)("div",{className:"relative",children:[(0,We.jsx)(be.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,We.jsx)(be.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,We.jsxs)(_.Dialog,{open:l,onClose:p,className:"lg:hidden",children:[(0,We.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,We.jsxs)(_.DialogPanel,{className:"fixed inset-We-0 right-0 z-20 w-full overflow-We-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,We.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,We.jsx)(ae,{logoDark:t,logoLight:e,mobile:!0}),(0,We.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-We-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,We.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,We.jsx)(he.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,We.jsx)("div",{className:"We-6 flow-root",children:(0,We.jsx)("div",{className:"-my-6 divide-We divide-gray-500/10",children:(0,We.jsx)("div",{className:"space-We-2 px-2 py-6",children:r&&r.map(b=>(0,We.jsx)(Gr,{...b},b.name))})})})]})]})]})})}function Gr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,We.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,We.jsxs)(_.Disclosure,{as:"div",className:"-mx-3",children:[(0,We.jsx)(_.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,We.jsx)(_.DisclosurePanel,{className:"We-2 space-We-2",children:t&&t.map(n=>(0,We.jsx)(_.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var xt=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`${i}/${o}/${s}`};function yt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,We.jsxs)("div",{className:d("fixed top-0 left-0 right-0 z-50",n),children:[(0,We.jsx)(ft,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,We.jsx)(ht,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var se=I(require("react"));var vt=require("@radix-ui/react-slot"),wt=require("class-variance-authority"),Ct=I(require("react")),Ur=(0,wt.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"}}}),O=Ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,We.jsx)(e?vt.Slot:"button",{className:d(Ur({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var Nt=(0,wt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ee({className:e,variant:t,...r}){return(0,We.jsx)("div",{className:d(Nt({variant:t}),e),...r})}var Pt=I(require("next/image")),Tt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,We.jsxs)("div",{className:"relative -We-[10.4rem] flex items-end",children:[(0,We.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,We.jsxs)("div",{className:"col-start-1 col-span-3",children:[(0,We.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:p}=s;return(0,We.jsx)(Ee,{className:"mx-2",children:p||"Untitled category"})}return null})}),(0,We.jsx)("div",{className:"",children:(0,We.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:o})}),(0,We.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,We.jsx)("div",{className:"flex flex-col gap-4",children:a&&(0,We.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,We.jsx)("p",{className:"text-sm",children:"Author"}),a.map((s,l)=>{let{name:p}=s,f=l===a.length-1,h=l===a.length-2;return(0,We.jsxs)(se.default.Fragment,{children:[p,h&&a.length>2&&(0,We.jsx)(se.default.Fragment,{children:", "}),h&&a.length===2&&(0,We.jsx)(se.default.Fragment,{children:" "}),!f&&a.length>1&&(0,We.jsx)(se.default.Fragment,{children:"and "})]},l)})]})}),n&&(0,We.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,We.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,We.jsx)("time",{dateTime:n,children:xt(n)})]})]})]})}),(0,We.jsxs)("div",{className:"min-h-[80vh] select-none",children:[(0,We.jsx)("div",{children:(0,We.jsx)(Pt.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:((i=r&&r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png"})}),(0,We.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 It="../cortex-reply-light-27IMI3G7.png";var Bt="../cortex-reply-dark-XPAJJJYY.png";var Rt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//We";var $t=I(require("next/image"));var Mt=({className:e,content:t,style:r})=>(0,We.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,We.jsx)("div",{className:d("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,We.jsx)($,{content:t,enableGutter:!1,enableProse:!1})})});var Fe=I(require("next/link")),ve=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:l,url:p}=e,f=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}`:p;if(!f)return null;let h=r==="link"?"clear":l,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,We.jsxs)(Fe.default,{className:d(n),href:f||p||"",...u,children:[o&&o,a&&a]}):(0,We.jsx)(O,{asChild:!0,className:n,size:h,variant:r,children:(0,We.jsxs)(Fe.default,{className:d(n),href:f||p||"",...u,children:[o&&o,a&&a]})})};var Dt=({links:e,richText:t})=>(0,We.jsx)("div",{className:"container",children:(0,We.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,We.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,We.jsx)($,{className:"mb-0",content:t,enableGutter:!1})}),(0,We.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,We.jsx)(ve,{size:"lg",...r},a))})]})});var we=require("prism-react-renderer");function Et({code:e}){let[t,r]=(0,X.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,We.jsx)("div",{className:"flex justify-end align-middle",children:(0,We.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,We.jsx)("p",{children:t}),(0,We.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,We.jsx)(be.ClipboardCopy,{})})]})})}var Ft=({code:e,language:t=""})=>e?(0,We.jsx)(we.Highlight,{code:e,language:t,theme:we.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,We.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-We-auto",children:[n.map((o,i)=>(0,We.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,We.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,We.jsx)("span",{className:"table-cell pl-4",children:o.map((s,l)=>(0,We.jsx)("span",{...a({token:s})},l))})]},i)),(0,We.jsx)(Et,{code:e})]})}):null;var zt=({className:e,code:t,language:r})=>(0,We.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,We.jsx)(Ft,{code:t,language:r})});var Ut=I(require("next/image"));var Gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ce=()=>{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 Yr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Kr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Ot=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:l}=e,p,f,h=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:k,height:S,url:T,width:z}=o;p=z,f=S,h=v||"",u=`${Ce()}${T}`}let b=l||"lazy",N=i||Object.entries(Yr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,We.jsx)("picture",{children:(0,We.jsx)(Ut.default,{alt:h||"",className:d(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Kr,priority:b!=="lazy"&&n,quality:100,loading:b,sizes:N,src:u,width:r?void 0:p})})};var Jt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,X.useRef)(null);if((0,X.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,We.jsx)("video",{autoPlay:!0,className:d(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,We.jsx)("source",{src:`${Ce()}/media/${o}`})})}return null};var Kt=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,We.jsx)(r||X.Fragment,{...r!==null?{className:t}:{},children:n?(0,We.jsx)(Jt,{...e}):(0,We.jsx)(Ot,{...e})})};var Qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,We.jsx)("div",{className:d("",{container:r},t),children:(0,We.jsx)(Kt,{imgClassName:d("border border-border rounded-[0.8rem]",a),resource:n,src:o})})};var Se=I(require("react"));function Ne({nodes:e}){return(0,We.jsx)(Se.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,We.jsx)(Se.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,We.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,We.jsx)("em",{children:o},r)),t.format&4&&(o=(0,We.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,We.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,We.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,We.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,We.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,We.jsx)("table",{children:(0,We.jsx)("tbody",{children:t.children.map((o,i)=>(0,We.jsx)("tr",{children:o.children.map((s,l)=>(0,We.jsx)("td",{children:Ne({nodes:s.children})},l))},i))})},r);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 Ne({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,We.jsx)(Dt,{...o},r);case"mediaBlock":return(0,We.jsx)(Qt,{className:"col-start-1 col-span-3",imgClassName:"We-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,We.jsx)(Mt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,We.jsx)(zt,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,We.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,We.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,We.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,We.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,We.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,We.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,We.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,We.jsx)(ve,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var $=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,We.jsx)("div",{className:d({"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&&Ne({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var jt=require("next/navigation");var Y=I(require("react"));var j=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("rounded-xl border bg-card text-card-foreground shadow",e),...t}));j.displayName="Card";var le=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("flex flex-col space-We-1.5 p-6",e),...t}));le.displayName="CardHeader";var ce=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var Qr=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("text-sm text-muted-foreground",e),...t}));Qr.displayName="CardDescription";var W=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("p-6 pt-0",e),...t}));W.displayName="CardContent";var Vr=Y.forwardRef(({className:e,...t},r)=>(0,We.jsx)("div",{ref:r,className:d("flex items-center p-6 pt-0",e),...t}));Vr.displayName="CardFooter";var Ka=d("transition-colors duration-400 hover:text-primary ease-in-out");function Xt({title:e,links:t}){let r=(0,jt.useSearchParams)(),a=(0,jt.usePathname)(),{replace:n}=(0,jt.useRouter)();function o(i){console.log(i);let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),n(`${a}?${s.toString()}`)}return(0,We.jsxs)(j,{children:[(0,We.jsx)(le,{children:(0,We.jsx)(ce,{className:"text-accent",children:e&&e})}),(0,We.jsx)(W,{children:t&&t.length>0&&(0,We.jsx)("nav",{"aria-label":"footer links navigation",children:(0,We.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,We.jsxs)("li",{className:"flex items-center text-sm text-primary first:pt-0 hover:cursor-pointer",onClick:l=>{l.preventDefault(),o(i.href)},children:[i.label,(0,We.jsx)(be.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var Wt=I(require("next/link"));function _r({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,We.jsx)("div",{className:"We-1 z-10 px-0 pt-0 lg:px-10",children:(0,We.jsx)(j,{children:(0,We.jsxs)(W,{children:[e&&e.src&&(0,We.jsx)($t.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Rt,className:"mx-auto We-6 rounded-full object-cover"}),(0,We.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,We.jsx)("p",{children:r}),a&&a.length>0&&(0,We.jsx)("nav",{"aria-label":"social links",children:(0,We.jsx)("ul",{className:"inline-flex items-center divide-We divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,We.jsx)("li",{children:(0,We.jsx)(fe,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-We-1 hover:text-accents",children:(0,We.jsx)("span",{children:n.icon})})},o))})})]})})})}function qt({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var u;if(!e)return(0,jt.notFound)();let{meta:n,populatedAuthors:o,authors:i,categories:s,content:l,title:p}=e,f={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},h=i==null?void 0:i.map(b=>{var N,v;return{name:b.name||"",about:"",image:{src:b.profilePicture&&((v=(N=b.profilePicture.sizes)==null?void 0:N.square)==null?void 0:v.url)||"",alt:b.name||"blog author"},socialLinks:[]}});return(0,We.jsx)(ge,{children:(0,We.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,We.jsx)("div",{children:(0,We.jsxs)("div",{className:"[&_p+We]:We-4",children:[(0,We.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,We.jsx)($,{content:l,enableGutter:!1})]})}),(0,We.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,We.jsx)("div",{className:"We-4 lg:-We-10 z-10 px-0 pt-0 lg:px-10",children:(0,We.jsxs)(j,{children:[(0,We.jsx)(le,{children:(0,We.jsx)(ce,{className:"text-accent",children:"CMS Actions"})}),(0,We.jsxs)(W,{children:[(0,We.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,We.jsx)(Wt.default,{href:`${a}${e.id}`,children:(0,We.jsx)(O,{variant:"outline",className:"w-full text-accent",children:"Edit"})})]})]})}),h&&h.map((b,N)=>(0,We.jsx)(_r,{...b},N)),t&&t.links&&(0,We.jsx)("div",{className:"We-4 px-0 pt-0 lg:px-10",children:(0,We.jsx)(Xt,{links:t.links,title:t.title})})]})]})})}function Zt({...e}){return(0,We.jsxs)("div",{children:[(0,We.jsx)(yt,{isMenuOpen:!0,logoLight:It,logoDark:Bt}),(0,We.jsx)(Tt,{...e.hero}),(0,We.jsx)(qt,{className:"!pb-0",...e.blog})]})}
|
package/dist/pages/Blog.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-3IHGGPRN.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-AO2FTKDA.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-XKUS4OC7.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-3FTRFEVM.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-BBLJ3L2P.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-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-IPHHUHS3.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-GLEWUUGS.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-O5XLZ254.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-6K2R3OAD.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-D2WXBUVJ.mjs";export{a as default};
|