cortex-react-components 1.47.0 → 1.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-HFSHDEMQ.mjs → chunk-3KMFY6E7.mjs} +1 -1
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-XGKZLSIS.mjs → chunk-72Z4T7BT.mjs} +1 -1
- package/dist/chunk-74KJ5V34.mjs +1 -0
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-US6CSL53.mjs → chunk-A4JI756M.mjs} +1 -1
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-UDH5ASIW.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-DIPGFDJV.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-7SSOLQR5.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-ENDXPA4H.mjs → chunk-CCHJTAON.mjs} +1 -1
- package/dist/{chunk-5BPR3YKT.mjs → chunk-CI5XPWZI.mjs} +1 -1
- package/dist/{chunk-GHBJK554.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-KVIQW2PH.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-IJU5INGM.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-RZTXT4UD.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-Z5PNO5CB.mjs → chunk-HFB4IRVZ.mjs} +1 -1
- package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-QCIJUDO4.mjs → chunk-IRIPCDER.mjs} +1 -1
- package/dist/{chunk-O7R6EGBU.mjs → chunk-JBRBY7EX.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-DLCGGIZW.mjs → chunk-KJBMLPHS.mjs} +1 -1
- package/dist/{chunk-TGHOEITH.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/chunk-NDLPLQKO.mjs +1 -0
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-ZLEW2CSB.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-W6VKKBUG.mjs → chunk-PZYWXOLB.mjs} +1 -1
- package/dist/{chunk-HHUI6PDP.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/chunk-T25YQ6L5.mjs +1 -0
- package/dist/{chunk-GT43S672.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/{chunk-3ODCIQYB.mjs → chunk-ZRJH3EBR.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +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.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContent.js +1 -1
- package/dist/components/Blocks/ReusableContent.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- 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.js +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.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/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.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +7 -7
- 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.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +186 -186
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.d.ts +2 -2
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +90 -80
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +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.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-G6K3PK47.mjs +0 -1
- package/dist/chunk-H5DKU4M5.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var br=Object.create;var xe=Object.defineProperty;var hr=Object.getOwnPropertyDescriptor;var yr=Object.getOwnPropertyNames;var xr=Object.getPrototypeOf,vr=Object.prototype.hasOwnProperty;var Cr=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},it=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of yr(t))!vr.call(e,a)&&a!==r&&xe(e,a,{get:()=>t[a],enumerable:!(n=hr(t,a))||n.enumerable});return e};var D=(e,t,r)=>(r=e!=null?br(xr(e)):{},it(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),kr=e=>it(xe({},"__esModule",{value:!0}),e);var fo={};Cr(fo,{AReallyLongTitle:()=>go,Default:()=>He,default:()=>uo});module.exports=kr(fo);var lt=require("react/jsx-runtime"),ve=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,lt.jsx)("i",{className:s})};var W=require("@headlessui/react"),xt=require("@heroicons/react/20/solid");var ht=require("clsx");var Ye="-",wr=e=>{let t=Nr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(Ye);return s[0]===""&&s.length!==1&&s.shift(),pt(s,t)||Ar(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},pt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?pt(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(Ye);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},ct=/^\[(.+)\]$/,Ar=e=>{if(ct.test(e)){let t=ct.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Nr=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Sr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Je(i,n,o,t)}),n},Je=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:dt(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Pr(a)){Je(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{Je(i,dt(t,o),r,n)})})},dt=(e,t)=>{let r=e;return t.split(Ye).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Pr=e=>e.isThemeGetter,Sr=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,Tr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},mt="!",Br=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],p=0,f=0,y;for(let w=0;w<s.length;w++){let P=s[w];if(p===0){if(P===a&&(n||s.slice(w,w+o)===t)){c.push(s.slice(f,w)),f=w+o;continue}if(P==="/"){y=w;continue}}P==="["?p++:P==="]"&&p--}let u=c.length===0?s:s.substring(f),h=u.startsWith(mt),N=h?u.substring(1):u,v=y&&y>f?y-f:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},Ir=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Rr=e=>({cache:Tr(e.cacheSize),parseClassName:Br(e),...wr(e)}),Dr=/\s+/,Mr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Dr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:f,hasImportantModifier:y,baseClassName:u,maybePostfixModifierPosition:h}=r(p),N=!!h,v=n(N?u.substring(0,h):u);if(!v){if(!N){s=p+(s.length>0?" "+s:s);continue}if(v=n(u),!v){s=p+(s.length>0?" "+s:s);continue}N=!1}let w=Ir(f).join(":"),P=y?w+mt:w,I=P+v;if(o.includes(I))continue;o.push(I);let Y=a(v,N);for(let K=0;K<Y.length;++K){let be=Y[K];o.push(P+be)}s=p+(s.length>0?" "+s:s)}return s};function Fr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ut(t))&&(n&&(n+=" "),n+=r);return n}var ut=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ut(e[n]))&&(r&&(r+=" "),r+=t);return r};function Lr(e,...t){let r,n,a,o=i;function i(c){let p=t.reduce((f,y)=>y(f),e());return r=Rr(p),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let p=n(c);if(p)return p;let f=Mr(c,r);return a(c,f),f}return function(){return o(Fr.apply(null,arguments))}}var C=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Hr=/^\d+\/\d+$/,Er=new Set(["px","full","screen"]),zr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|lt|min|max))|\lt(calc|min|max|clamp)\(.+\)|^0$/,Ur=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Or=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)lt-?((\d+)?\.?(\d+)[a-z]+|0)/,Jr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>q(e)||Er.has(e)||Hr.test(e),U=e=>Z(e,"length",$r),q=e=>!!e&&!Number.isNaN(Number(e)),Oe=e=>Z(e,"number",q),se=e=>!!e&&Number.isInteger(Number(e)),Yr=e=>e.endsWith("%")&&q(e.slice(0,-1)),d=e=>gt.test(e),O=e=>zr.test(e),Kr=new Set(["length","size","percentage"]),Qr=e=>Z(e,Kr,ft),Vr=e=>Z(e,"position",ft),_r=new Set(["image","url"]),jr=e=>Z(e,_r,Zr),Xr=e=>Z(e,"",qr),ie=()=>!0,Z=(e,t,r)=>{let n=gt.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},$r=e=>Gr.test(e)&&!Ur.test(e),ft=()=>!1,qr=e=>Or.test(e),Zr=e=>Jr.test(e);var Wr=()=>{let e=C("colors"),t=C("spacing"),r=C("blur"),n=C("brightness"),a=C("borderColor"),o=C("borderRadius"),i=C("borderSpacing"),s=C("borderWidth"),c=C("contrast"),p=C("grayscale"),f=C("hueRotate"),y=C("invert"),u=C("gap"),h=C("gradientColorStops"),N=C("gradientColorStopPositions"),v=C("inset"),w=C("margin"),P=C("opacity"),I=C("padding"),Y=C("saturate"),K=C("scale"),be=C("sepia"),et=C("skew"),tt=C("space"),rt=C("translate"),Ee=()=>["auto","contain","none"],ze=()=>["auto","hidden","clip","visible","scroll"],Ge=()=>["auto",d,t],k=()=>[d,t],ot=()=>["",E,U],he=()=>["auto",q,d],at=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ye=()=>["solid","dashed","dotted","double","none"],nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ue=()=>["start","end","center","between","around","evenly","stretch"],ne=()=>["","0",d],st=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[q,d];return{cacheSize:500,separator:":",theme:{colors:[ie],spacing:[E,U],blur:["none","",O,d],brightness:H(),borderColor:[e],borderRadius:["none","","full",O,d],borderSpacing:k(),borderWidth:ot(),contrast:H(),grayscale:ne(),hueRotate:H(),invert:ne(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Yr,U],inset:Ge(),margin:Ge(),opacity:H(),padding:k(),saturate:H(),scale:H(),sepia:ne(),skew:H(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":st()}],"break-before":[{"break-before":st()}],"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:[...at(),d]}],overflow:[{overflow:ze()}],"overflow-lt":[{"overflow-lt":ze()}],"overflow-y":[{"overflow-y":ze()}],overscroll:[{overscroll:Ee()}],"overscroll-lt":[{"overscroll-lt":Ee()}],"overscroll-y":[{"overscroll-y":Ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-lt":[{"inset-lt":[v]}],"inset-y":[{"inset-y":[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",se,d]}],basis:[{basis:Ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",se,d]}],"grid-cols":[{"grid-cols":[ie]}],"col-start-end":[{col:["auto",{span:["full",se,d]},d]}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":[ie]}],"row-start-end":[{row:["auto",{span:[se,d]},d]}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-lt":[{"gap-lt":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...Ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],lt:[{lt:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],lt:[{lt:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-lt":[{"space-lt":[tt]}],"space-lt-reverse":["space-lt-reverse"],"space-y":[{"space-y":[tt]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[O]},O]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",O,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Oe]}],"font-family":[{font:[ie]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",q,Oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,U]}],"underline-offset":[{"underline-offset":["auto",E,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...at(),Vr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","lt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Qr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","lt","bl","l","tl"]},jr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-lt":[{"rounded-lt":[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-lt":[{"border-lt":[s]}],"border-w-y":[{"border-y":[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-lt":[{"border-lt":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...ye(),"hidden"]}],"divide-lt":[{"divide-lt":[s]}],"divide-lt-reverse":["divide-lt-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:ye()}],"border-color":[{border:[a]}],"border-color-lt":[{"border-lt":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-lt":[{"border-lt":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ye()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ot()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[E,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,Xr]}],"shadow-color":[{shadow:[ie]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...nt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":nt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",O,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[Y]}],sepia:[{sepia:[be]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[Y]}],"backdrop-sepia":[{"backdrop-sepia":[be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-lt":[{"border-spacing-lt":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-lt":[{"scale-lt":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[se,d]}],"translate-lt":[{"translate-lt":[rt]}],"translate-y":[{"translate-y":[rt]}],"skew-lt":[{"skew-lt":[et]}],"skew-y":[{"skew-y":[et]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","lt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-lt":[{"scroll-lt":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-lt":[{"scroll-lt":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","lt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-lt":[{"touch-pan":["lt","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,U,Oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-lt","overflow-y"],overscroll:["overscroll-lt","overscroll-y"],inset:["inset-lt","inset-y","start","end","top","right","bottom","left"],"inset-lt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-lt","gap-y"],p:["px","py","ps","lt","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],lt:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-lt","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-lt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-lt","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-lt","border-w-l"],"border-w-lt":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-lt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-lt","border-color-l"],"border-color-lt":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-lt"],"scroll-lt":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-lt","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-lt","touch-y","touch-pz"],"touch-lt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var bt=Lr(Wr);function l(...e){return bt((0,ht.clsx)(e))}var eo=({name:e,items:t,actions:r=[],href:n})=>!t&&n?(0,lt.jsx)("a",{href:n,className:"flex items-center gap-lt-1 text-sm font-semibold text-foreground group",children:(0,lt.jsxs)("span",{className:"relative",children:[e,(0,lt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-lt-1/2 scale-lt-0 transition-transform duration-300 ease-in-out group-hover:scale-lt-100"})]})}):(0,lt.jsxs)(W.Popover,{children:[(0,lt.jsxs)(W.PopoverButton,{className:"flex items-center gap-lt-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,lt.jsxs)("span",{className:"relative",children:[e,(0,lt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-lt-1/2 scale-lt-0 transition-transform duration-300 ease-in-out group-hover:scale-lt-100"})]}),(0,lt.jsx)(xt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,lt.jsxs)(W.PopoverPanel,{transition:!0,className:"absolute inset-lt-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,lt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-lt-4 px-6 py-10 lg:px-8 xl:gap-lt-8 z-50",children:t&&t.map(a=>(0,lt.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,lt.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:a.icon&&(0,lt.jsx)(yt,{icon:a.icon,size:"4x"})}),(0,lt.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,lt.jsx)("span",{className:"absolute inset-0"})]}),(0,lt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,lt.jsx)("div",{className:"bg-gray-50",children:(0,lt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,lt.jsx)("div",{className:"grid grid-cols-3 divide-lt divide-gray-900/5 border-lt border-gray-900/5",children:r.map(a=>(0,lt.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-lt-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,lt.jsx)(yt,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),yt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,lt.jsx)(ve,{...e,size:r});if("src"in e)return(0,lt.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,lt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},vt=eo;var ee=require("react");function Ce({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,lt.jsx)("div",{className:a,children:e})}var kt=D(require("next/link"));function ke({children:e,href:t,openNewTab:r,...n}){return(0,lt.jsx)(kt.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Ke=D(require("next/image"));function ce({logoLight:e,logoDark:t,mobile:r=!1}){return(0,lt.jsxs)(ke,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,lt.jsx)(Ke.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,lt.jsx)(Ke.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 At=require("next-themes"),we=require("lucide-react");function Pt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}){let[a,o]=(0,ee.useState)(!1),[i,s]=(0,ee.useState)(""),c=["light","dark"],{theme:p,setTheme:f}=(0,At.useTheme)();(0,ee.useEffect)(()=>{s(p||"dark")},[p]);let y=()=>{let u=c[(c.indexOf(i)+1)%c.length];s(u),f(u)};return(0,ee.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,lt.jsx)(lt.Fragment,{children:(0,lt.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,lt.jsx)(Ce,{className:"px-0",children:(0,lt.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-lt-xl",children:(0,lt.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-lt-xl border border-t-0 border-accent",children:[(0,lt.jsx)(ce,{logoDark:r,logoLight:t}),(0,lt.jsx)(W.PopoverGroup,{className:"hidden lg:flex lg:gap-lt-12",children:n&&n.map(u=>(0,lt.jsx)(vt,{...u},u.name))}),(0,lt.jsx)("div",{className:"flex items-center space-lt-4",children:(0,lt.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:y,children:(0,lt.jsxs)("div",{className:"relative",children:[(0,lt.jsx)(we.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,lt.jsx)(we.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Ae=require("@heroicons/react/24/outline");var Qe=["light","dark"];function Tt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:n=!0}){let[a,o]=(0,ee.useState)(!1),{theme:i,setTheme:s}=(0,At.useTheme)(),[c,p]=(0,ee.useState)(!1),[f,y]=(0,ee.useState)("light");(0,ee.useEffect)(()=>{let h=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,ee.useEffect)(()=>{y(i||"dark")},[i]);let u=()=>{let h=Qe[(Qe.indexOf(f)+1)%Qe.length];y(h),s(h)};return(0,lt.jsx)(lt.Fragment,{children:(0,lt.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${a||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,lt.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,lt.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-lt dark:border-accent",children:[(0,lt.jsx)(ce,{logoDark:t,logoLight:e,mobile:!0}),(0,lt.jsxs)("div",{className:"flex items-center space-lt-4",children:[(0,lt.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,lt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,lt.jsx)(Ae.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,lt.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,lt.jsxs)("div",{className:"relative",children:[(0,lt.jsx)(we.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,lt.jsx)(we.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,lt.jsxs)(W.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,lt.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,lt.jsxs)(W.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,lt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,lt.jsx)(ce,{logoDark:t,logoLight:e,mobile:!0}),(0,lt.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-lt-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,lt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,lt.jsx)(Ae.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,lt.jsx)("div",{className:"mt-6 flow-root",children:(0,lt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,lt.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(h=>(0,lt.jsx)(to,{...h},h.name))})})})]})]})]})})}function to({name:e,items:t,actions:r,href:n}){return!t&&n?(0,lt.jsx)("a",{href:n,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,lt.jsxs)(W.Disclosure,{as:"div",className:"-mx-3",children:[(0,lt.jsx)(W.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,lt.jsx)(W.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,lt.jsx)(W.DisclosureButton,{as:"a",href:a.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:a.name},a.name))})]})}var Bt=e=>{let r=new Date;e&&(r=new Date(e));let n=r.getMonth(),a=r.getDate(),o=n+1<10?`0${n+1}`:n+1,i=a<10?`0${a}`:a,s=r.getFullYear();return`${i}/${o}/${s}`};function It({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n,className:a}){return(0,lt.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",a),children:[(0,lt.jsx)(Pt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}),(0,lt.jsx)(Tt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n})]})}var zt=D(require("react")),Gt=D(require("next/image"));var Rt=require("@radix-ui/react-slot"),Dt=require("class-variance-authority"),Mt=D(require("react")),ro=(0,Dt.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-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),z=Mt.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,lt.jsx)(e?Rt.Slot:"button",{className:l(ro({className:t,size:r,variant:n})),ref:o,...a}));z.displayName="Button";var Ht=(0,Dt.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 Ve({className:e,variant:t,...r}){return(0,lt.jsx)("div",{className:l(Ht({variant:t}),e),...r})}var Ut=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:n,publishedAt:a,title:o}=e;return(0,lt.jsxs)("div",{className:"relative grid",children:[(0,lt.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,lt.jsxs)("div",{className:"container mx-auto",children:[(0,lt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,lt.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[n&&n.length>0&&(0,lt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,lt.jsxs)("p",{className:"text-sm",children:["Author",n.length>1?"s":""]}),(0,lt.jsx)("p",{children:n.map((s,c)=>(0,lt.jsxs)(zt.default.Fragment,{children:[s.name,c<n.length-2&&", ",c===n.length-2&&(n.length>2?", and ":" and ")]},s.id))})]}),a&&(0,lt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,lt.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,lt.jsx)("time",{dateTime:a,children:Bt(a)})]}),t&&t.length>0&&(0,lt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,lt.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,lt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,lt.jsx)(Ve,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,lt.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,lt.jsx)(Gt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,lt.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 Ot="../cortex-reply-light-27IMI3G7.png";var Jt="../cortex-reply-dark-XPAJJJYY.png";var Yt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var mr=D(require("next/image"));var Kt=({className:e,content:t,style:r})=>(0,lt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,lt.jsx)("div",{className:l("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,lt.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var _e=D(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,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 y=r==="link"?"clear":c,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,lt.jsxs)(_e.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]}):(0,lt.jsx)(z,{asChild:!0,className:a,size:y,variant:r,children:(0,lt.jsxs)(_e.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]})})};var Se=({links:e,richText:t})=>(0,lt.jsx)("div",{className:"container",children:(0,lt.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,lt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,lt.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,lt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,lt.jsx)(V,{size:"lg",...r},n))})]})});var Te=require("prism-react-renderer");function _t({code:e}){let[t,r]=(0,ee.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,lt.jsx)("div",{className:"flex justify-end align-middle",children:(0,lt.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,lt.jsx)("p",{children:t}),(0,lt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,lt.jsx)(we.ClipboardCopy,{})})]})})}var jt=({code:e,language:t=""})=>e?(0,lt.jsx)(Te.Highlight,{code:e,language:t,theme:Te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,lt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-lt-auto",children:[a.map((o,i)=>(0,lt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,lt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,lt.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,lt.jsx)("span",{...n({token:s})},c))})]},i)),(0,lt.jsx)(_t,{code:e})]})}):null;var Xt=({className:e,code:t,language:r})=>(0,lt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,lt.jsx)(jt,{code:t,language:r})});var qt=D(require("next/image")),no={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},$t="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=",Zt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:c}=e,p,f,y=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:w,height:P,url:I,width:Y}=o;p=Y,f=P,y=v||"",u=I||$t}let h=c||"lazy",N=i||Object.entries(no).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,lt.jsx)("picture",{children:(0,lt.jsx)(qt.default,{alt:y||"",className:l(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:$t,priority:h!=="lazy"&&a,quality:100,loading:h,sizes:N,src:u,width:r?void 0:p})})};var Wt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var er=()=>{if(Wt){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 tr=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,ee.useRef)(null);if((0,ee.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$e.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,$e.jsx)("source",{src:`${er()}/media/${o}`})})}return null};var Re=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,lt.jsx)(r||ee.Fragment,{...r!==null?{className:t}:{},children:a?(0,lt.jsx)(tr,{...e}):(0,lt.jsx)(Zt,{...e})})};var me=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,lt.jsx)("div",{className:l("",{container:r},t),children:(0,lt.jsx)(Re,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var or=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,lt.jsx)("div",{className:l("",{container:r},t),children:(0,lt.jsx)(Re,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var j=D(require("react"));var te=j.forwardRef(({className:e,...t},r)=>(0,lt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));te.displayName="Card";var ue=j.forwardRef(({className:e,...t},r)=>(0,lt.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));ue.displayName="CardHeader";var ge=j.forwardRef(({className:e,...t},r)=>(0,lt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ge.displayName="CardTitle";var so=j.forwardRef(({className:e,...t},r)=>(0,lt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));so.displayName="CardDescription";var re=j.forwardRef(({className:e,...t},r)=>(0,lt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));re.displayName="CardContent";var io=j.forwardRef(({className:e,...t},r)=>(0,lt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));io.displayName="CardFooter";function lo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ar({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:c}){let p={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,lt.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",p[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,lt.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,lt.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:lo(r)?(0,lt.jsx)(ve,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,lt.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,lt.jsx)("div",{className:"mb-6",children:(0,lt.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,lt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,lt.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,lt.jsx)(R,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,lt.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,lt.jsx)("div",{className:"mt-8",children:(0,lt.jsx)(z,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,lt.jsxs)("a",{href:c,children:[s,(0,lt.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,lt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var De=({title:e,description:t,features:r,id:n})=>(0,lt.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,lt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,lt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,lt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,lt.jsx)(R,{content:t,enableGutter:!1})}),(0,lt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,c,p,f;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,lt.jsx)(co,{section:a,index:o},o);{let y=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,lt.jsx)(ar,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((c=a.settings)==null?void 0:c.card)||"solid",icon:y()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(p=a.link)!=null&&p.url?"Find out more":void 0,buttonHref:((f=a.link)==null?void 0:f.url)||void 0},o)}})})]}),co=({section:e,index:t})=>{if(!e)return null;let r=(0,lt.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,lt.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,lt.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,lt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,lt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,lt.jsx)("div",{className:"text-lg opacity-80",children:(0,lt.jsx)(R,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,lt.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var ir=D(require("next/image"));var nr=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-lt-16",children:t&&t.length>0&&t.map((n,a)=>{let{enableLink:o,link:i,richText:s,size:c}=n;return(0,$.jsxs)("div",{className:l(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,$.jsx)(R,{content:s,enableGutter:!1}),o&&(0,$.jsx)(V,{...i})]},a)})})})};var sr={content:nr,cta:Se,mediaBlock:me,imageBlock:me,features:De,reusableContentBlock:Me},lr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,lt.jsx)("section",{id:"render-blocks",children:t.map((n,a)=>{var s;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in sr){let c=sr[o];if(c)return(0,lt.jsxs)("div",{className:"py-6 relative",children:[(0,lt.jsx)(po,{block:n,index:a}),(0,lt.jsx)("div",{className:l("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,lt.jsx)(c,{...n})})]},a)}return null})}):null},po=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",n),(0,lt.jsxs)("div",{className:l("absolute inset-0 w-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,lt.jsx)(ir.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,lt.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,lt.jsx)("div",{className:l("absolute inset-0 -z-10 w-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Me=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,lt.jsx)(lr,{blocks:r.layout}):(0,lt.jsx)(lt.Fragment,{})};var Le=D(require("react"));function Fe({nodes:e}){return(0,lt.jsx)(Le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,lt.jsx)(Le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,lt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,lt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,lt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,lt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,lt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,lt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,lt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,lt.jsx)("table",{children:(0,lt.jsx)("tbody",{children:t.children.map((o,i)=>(0,lt.jsx)("tr",{children:o.children.map((s,c)=>(0,lt.jsx)("td",{children:Fe({nodes:s.children})},c))},i))})},r);let n=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 Fe({nodes:o.children})},a="children"in t?n(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,lt.jsx)(Se,{...o},r);case"mediaBlock":return(0,lt.jsx)(me,{className:"col-start-1 col-span-3",imgClassName:"lt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,lt.jsx)(or,{className:"col-start-1 col-span-3",imgClassName:"lt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,lt.jsx)(Kt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,lt.jsx)(Xt,{className:"col-start-2",...o},r);case"features":return(0,lt.jsx)(De,{...o},r);case"reusableContentBlock":return(0,lt.jsx)(Me,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,lt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,lt.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,lt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,lt.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,lt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,lt.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,lt.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,lt.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,lt.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,lt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Fe({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var ur=require("next/navigation");var On=l("transition-colors duration-400 hover:text-primary ease-in-out");function pr({title:e,links:t}){let r=(0,ur.useSearchParams)(),n=(0,ur.usePathname)(),{replace:a}=(0,ur.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,lt.jsxs)(te,{children:[(0,lt.jsx)(ue,{children:(0,lt.jsx)(ge,{className:"text-accent",children:e&&e})}),(0,lt.jsx)(re,{children:t&&t.length>0&&(0,lt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,lt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,lt.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,lt.jsx)(we.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var gr=D(require("next/link"));function mo({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,lt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,lt.jsx)(te,{children:(0,lt.jsxs)(re,{children:[e&&e.src&&(0,lt.jsx)(mr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Yt,className:"mx-auto mt-6 rounded-full object-cover"}),(0,lt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,lt.jsx)("p",{children:r}),n&&n.length>0&&(0,lt.jsx)("nav",{"aria-label":"social links",children:(0,lt.jsx)("ul",{className:"inline-flex items-center divide-lt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,lt.jsx)("li",{children:(0,lt.jsx)(ke,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,lt.jsx)("span",{children:a.icon})})},o))})})]})})})}function fr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var u;if(!e)return(0,ur.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:c,title:p}=e,f={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(a==null?void 0:a.description)||""},y=i==null?void 0:i.map(h=>{var N,v;return{name:h.name||"",about:"",image:{src:h.profilePicture&&((v=(N=h.profilePicture.sizes)==null?void 0:N.square)==null?void 0:v.url)||"",alt:h.name||"blog author"},socialLinks:[]}});return(0,lt.jsx)(Ce,{children:(0,lt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,lt.jsx)("div",{children:(0,lt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,lt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,lt.jsx)(R,{content:c,enableGutter:!1})]})}),(0,lt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,lt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,lt.jsxs)(te,{children:[(0,lt.jsx)(ue,{children:(0,lt.jsx)(ge,{className:"text-accent",children:"Content Actions"})}),(0,lt.jsxs)(re,{children:[(0,lt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,lt.jsx)(gr.default,{href:`${n}${e.id}`,children:(0,lt.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),y&&y.map((h,N)=>(0,lt.jsx)(mo,{...h},N)),t&&t.links&&(0,lt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,lt.jsx)(pr,{links:t.links,title:t.title})})]})]})})}function We({...e}){return(0,lt.jsxs)("div",{children:[(0,lt.jsx)(It,{isMenuOpen:!0,logoLight:Ot,logoDark:Jt}),(0,lt.jsx)(Ut,{...e.hero}),(0,lt.jsx)(fr,{className:"!pb-0",...e.blog})]})}var uo={title:"Example Pages/Blog",component:We,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var He={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},go={args:{...He.args,hero:{...He.args.hero,post:{...He.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};0&&(module.exports={AReallyLongTitle,Default});
|
|
4
|
+
"use strict";var lr=Object.create;var be=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var ur=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},et=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of dr(t))!mr.call(e,a)&&a!==r&&be(e,a,{get:()=>t[a],enumerable:!(n=cr(t,a))||n.enumerable});return e};var R=(e,t,r)=>(r=e!=null?lr(pr(e)):{},et(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),gr=e=>et(be({},"__esModule",{value:!0}),e);var no={};ur(no,{AReallyLongTitle:()=>ao,Default:()=>Ie,default:()=>oo});module.exports=gr(no);var tt=require("react/jsx-runtime"),he=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,tt.jsx)("i",{className:s})};var $=require("@headlessui/react"),mt=require("@heroicons/react/20/solid");var dt=require("clsx");var Fe="-",fr=e=>{let t=hr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(Fe);return s[0]===""&&s.length!==1&&s.shift(),at(s,t)||br(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},at=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?at(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(Fe);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},rt=/^\[(.+)\]$/,br=e=>{if(rt.test(e)){let t=rt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},hr=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xr(Object.entries(e.classGroups),r).forEach(([o,i])=>{He(i,n,o,t)}),n},He=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:ot(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(yr(a)){He(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{He(i,ot(t,o),r,n)})})},ot=(e,t)=>{let r=e;return t.split(Fe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},yr=e=>e.isThemeGetter,xr=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,vr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},nt="!",Cr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],p=0,f=0,y;for(let k=0;k<s.length;k++){let P=s[k];if(p===0){if(P===a&&(n||s.slice(k,k+o)===t)){c.push(s.slice(f,k)),f=k+o;continue}if(P==="/"){y=k;continue}}P==="["?p++:P==="]"&&p--}let u=c.length===0?s:s.substring(f),b=u.startsWith(nt),N=b?u.substring(1):u,v=y&&y>f?y-f:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},wr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},kr=e=>({cache:vr(e.cacheSize),parseClassName:Cr(e),...fr(e)}),Ar=/\s+/,Nr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Ar),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:f,hasImportantModifier:y,baseClassName:u,maybePostfixModifierPosition:b}=r(p),N=!!b,v=n(N?u.substring(0,b):u);if(!v){if(!N){s=p+(s.length>0?" "+s:s);continue}if(v=n(u),!v){s=p+(s.length>0?" "+s:s);continue}N=!1}let k=wr(f).join(":"),P=y?k+nt:k,B=P+v;if(o.includes(B))continue;o.push(B);let J=a(v,N);for(let Y=0;Y<J.length;++Y){let ue=J[Y];o.push(P+ue)}s=p+(s.length>0?" "+s:s)}return s};function Pr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=st(t))&&(n&&(n+=" "),n+=r);return n}var st=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=st(e[n]))&&(r&&(r+=" "),r+=t);return r};function Sr(e,...t){let r,n,a,o=i;function i(c){let p=t.reduce((f,y)=>y(f),e());return r=kr(p),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let p=n(c);if(p)return p;let f=Nr(c,r);return a(c,f),f}return function(){return o(Pr.apply(null,arguments))}}var C=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},it=/^\[(?:([a-tt-]+):)?(.+)\]$/i,Tr=/^\d+\/\d+$/,Ir=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|tt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mr=/^(inset_)?-?((\d+)?\.?(\d+)[a-tt]+|0)_-?((\d+)?\.?(\d+)[a-tt]+|0)/,Lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>_(e)||Ir.has(e)||Tr.test(e),G=e=>X(e,"length",Jr),_=e=>!!e&&!Number.isNaN(Number(e)),Le=e=>X(e,"number",_),oe=e=>!!e&&Number.isInteger(Number(e)),Hr=e=>e.endsWith("%")&&_(e.slice(0,-1)),d=e=>it.test(e),U=e=>Br.test(e),Fr=new Set(["length","size","percentage"]),Er=e=>X(e,Fr,lt),zr=e=>X(e,"position",lt),Gr=new Set(["image","url"]),Ur=e=>X(e,Gr,Kr),Or=e=>X(e,"",Yr),ae=()=>!0,X=(e,t,r)=>{let n=it.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Jr=e=>Rr.test(e)&&!Dr.test(e),lt=()=>!1,Yr=e=>Mr.test(e),Kr=e=>Lr.test(e);var Qr=()=>{let e=C("colors"),t=C("spacing"),r=C("blur"),n=C("brightness"),a=C("borderColor"),o=C("borderRadius"),i=C("borderSpacing"),s=C("borderWidth"),c=C("contrast"),p=C("grayscale"),f=C("hueRotate"),y=C("invert"),u=C("gap"),b=C("gradientColorStops"),N=C("gradientColorStopPositions"),v=C("inset"),k=C("margin"),P=C("opacity"),B=C("padding"),J=C("saturate"),Y=C("scale"),ue=C("sepia"),je=C("skew"),_e=C("space"),Xe=C("translate"),Be=()=>["auto","contain","none"],Re=()=>["auto","hidden","clip","visible","scroll"],De=()=>["auto",d,t],w=()=>[d,t],$e=()=>["",F,G],ge=()=>["auto",_,d],qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],fe=()=>["solid","dashed","dotted","double","none"],Ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Me=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",d],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[_,d];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[F,G],blur:["none","",U,d],brightness:H(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:w(),borderWidth:$e(),contrast:H(),grayscale:re(),hueRotate:H(),invert:re(),gap:w(),gradientColorStops:[e],gradientColorStopPositions:[Hr,G],inset:De(),margin:De(),opacity:H(),padding:w(),saturate:H(),scale:H(),sepia:re(),skew:H(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"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:[...qe(),d]}],overflow:[{overflow:Re()}],"overflow-tt":[{"overflow-tt":Re()}],"overflow-y":[{"overflow-y":Re()}],overscroll:[{overscroll:Be()}],"overscroll-tt":[{"overscroll-tt":Be()}],"overscroll-y":[{"overscroll-y":Be()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-tt":[{"inset-tt":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],tt:[{tt:["auto",oe,d]}],basis:[{basis:De()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",oe,d]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",oe,d]},d]}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[oe,d]},d]}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[u]}],"gap-tt":[{"gap-tt":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...Me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],tt:[{tt:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-tt":[{"space-tt":[_e]}],"space-tt-reverse":["space-tt-reverse"],"space-y":[{"space-y":[_e]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],tt:[{tt:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-tt":[{"min-tt":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-tt":[{"max-tt":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Le]}],"font-family":[{font:[ae]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",_,Le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,G]}],"underline-offset":[{"underline-offset":["auto",F,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","tt","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Er]}],"bg-image":[{bg:["none",{"gradient-to":["t","tt","r","br","b","bl","l","tl"]},Ur]}],"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-nr":[{"rounded-nr":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tt":[{"rounded-tt":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-tt":[{"border-tt":[s]}],"border-w-y":[{"border-y":[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":[P]}],"border-style":[{border:[...fe(),"hidden"]}],"divide-tt":[{"divide-tt":[s]}],"divide-tt-reverse":["divide-tt-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:fe()}],"border-color":[{border:[a]}],"border-color-tt":[{"border-tt":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...fe()]}],"outline-offset":[{"outline-offset":[F,d]}],"outline-w":[{outline:[F,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[F,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Or]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ue]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-tt":[{"border-spacing-tt":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-tt":[{"scale-tt":[Y]}],"scale-y":[{"scale-y":[Y]}],rotate:[{rotate:[oe,d]}],"translate-tt":[{"translate-tt":[Xe]}],"translate-y":[{"translate-y":[Xe]}],"skew-tt":[{"skew-tt":[je]}],"skew-y":[{"skew-y":[je]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","tt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","tt",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-tt":[{"scroll-tt":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","tt","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-tt":[{"touch-pan":["tt","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,G,Le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-tt","overflow-y"],overscroll:["overscroll-tt","overscroll-y"],inset:["inset-tt","inset-y","start","end","top","right","bottom","left"],"inset-tt":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-tt","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],tt:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","tt"],"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-nr","rounded-es","rounded-tl","rounded-tt","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-nr"],"rounded-t":["rounded-tl","rounded-tt"],"rounded-r":["rounded-tt","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-tt","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-tt":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-tt":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-tt":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-tt","touch-y","touch-pz"],"touch-tt":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ct=Sr(Qr);function l(...e){return ct((0,dt.clsx)(e))}var Vr=({name:e,items:t,actions:r=[],href:n})=>!t&&n?(0,tt.jsx)("a",{href:n,className:"flex items-center gap-tt-1 text-sm font-semibold text-foreground group",children:(0,tt.jsxs)("span",{className:"relative",children:[e,(0,tt.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 tt-0.5 bg-accent transform -translate-tt-1/2 scale-tt-0 transition-transform duration-300 ease-in-out group-hover:scale-tt-100"})]})}):(0,tt.jsxs)($.Popover,{children:[(0,tt.jsxs)($.PopoverButton,{className:"flex items-center gap-tt-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,tt.jsxs)("span",{className:"relative",children:[e,(0,tt.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 tt-0.5 bg-accent transform -translate-tt-1/2 scale-tt-0 transition-transform duration-300 ease-in-out group-hover:scale-tt-100"})]}),(0,tt.jsx)(mt.ChevronDownIcon,{"aria-hidden":"true",className:"tt-5 w-5 flex-none text-accent"})]}),(0,tt.jsxs)($.PopoverPanel,{transition:!0,className:"absolute inset-tt-0 top-0 -tt-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,tt.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-tt-4 px-6 py-10 lg:px-8 xl:gap-tt-8 tt-50",children:t&&t.map(a=>(0,tt.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,tt.jsx)("div",{className:"flex tt-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:a.icon&&(0,tt.jsx)(pt,{icon:a.icon,size:"4x"})}),(0,tt.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,tt.jsx)("span",{className:"absolute inset-0"})]}),(0,tt.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,tt.jsx)("div",{className:"bg-gray-50",children:(0,tt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,tt.jsx)("div",{className:"grid grid-cols-3 divide-tt divide-gray-900/5 border-tt border-gray-900/5",children:r.map(a=>(0,tt.jsxs)("a",{href:a.href,className:"flex items-center max-tt-12 justify-center gap-tt-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,tt.jsx)(pt,{icon:a.icon,className:"tt-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),pt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,tt.jsx)(he,{...e,size:r});if("src"in e)return(0,tt.jsx)("div",{className:l(t,"tt-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,tt.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ut=Vr;var q=require("react");function ye({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,tt.jsx)("div",{className:a,children:e})}var ft=R(require("next/link"));function xe({children:e,href:t,openNewTab:r,...n}){return(0,tt.jsx)(ft.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Ee=R(require("next/image"));function se({logoLight:e,logoDark:t,mobile:r=!1}){return(0,tt.jsxs)(xe,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,tt.jsx)(Ee.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,tt.jsx)(Ee.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 ht=require("next-themes"),ve=require("lucide-react");function xt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}){let[a,o]=(0,q.useState)(!1),[i,s]=(0,q.useState)(""),c=["light","dark"],{theme:p,setTheme:f}=(0,ht.useTheme)();(0,q.useEffect)(()=>{s(p||"dark")},[p]);let y=()=>{let u=c[(c.indexOf(i)+1)%c.length];s(u),f(u)};return(0,q.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,tt.jsx)(tt.Fragment,{children:(0,tt.jsx)("header",{className:`tt-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,tt.jsx)(ye,{className:"px-0",children:(0,tt.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,tt.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,tt.jsx)(se,{logoDark:r,logoLight:t}),(0,tt.jsx)($.PopoverGroup,{className:"hidden lg:flex lg:gap-tt-12",children:n&&n.map(u=>(0,tt.jsx)(ut,{...u},u.name))}),(0,tt.jsx)("div",{className:"flex items-center space-tt-4",children:(0,tt.jsx)("button",{className:"fixed right-4 tt-[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:y,children:(0,tt.jsxs)("div",{className:"relative",children:[(0,tt.jsx)(ve.Sun,{className:"absolute tt-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,tt.jsx)(ve.Moon,{className:"absoulte tt-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Ce=require("@heroicons/react/24/outline");var ze=["light","dark"];function Ct({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:n=!0}){let[a,o]=(0,q.useState)(!1),{theme:i,setTheme:s}=(0,ht.useTheme)(),[c,p]=(0,q.useState)(!1),[f,y]=(0,q.useState)("light");(0,q.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,q.useEffect)(()=>{y(i||"dark")},[i]);let u=()=>{let b=ze[(ze.indexOf(f)+1)%ze.length];y(b),s(b)};return(0,tt.jsx)(tt.Fragment,{children:(0,tt.jsxs)("header",{className:`tt-50 pb-10 transition-all duration-300 block lg:hidden ${a||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,tt.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,tt.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,tt.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,tt.jsxs)("div",{className:"flex items-center space-tt-4",children:[(0,tt.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 tt-[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,tt.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,tt.jsx)(Ce.Bars3Icon,{"aria-hidden":"true",className:"tt-4 w-4"})]}),(0,tt.jsx)("button",{className:"fixed right-16 tt-[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,tt.jsxs)("div",{className:"relative",children:[(0,tt.jsx)(ve.Sun,{className:"absolute tt-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,tt.jsx)(ve.Moon,{className:"absoulte tt-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,tt.jsxs)($.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,tt.jsx)("div",{className:"fixed inset-0 tt-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,tt.jsxs)($.DialogPanel,{className:"fixed inset-y-0 right-0 tt-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,tt.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,tt.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,tt.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-tt-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,tt.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,tt.jsx)(Ce.XMarkIcon,{"aria-hidden":"true",className:"tt-6 w-6"})]})]}),(0,tt.jsx)("div",{className:"mt-6 flow-root",children:(0,tt.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,tt.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(b=>(0,tt.jsx)(jr,{...b},b.name))})})})]})]})]})})}function jr({name:e,items:t,actions:r,href:n}){return!t&&n?(0,tt.jsx)("a",{href:n,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,tt.jsxs)($.Disclosure,{as:"div",className:"-mx-3",children:[(0,tt.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,tt.jsx)($.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,tt.jsx)($.DisclosureButton,{as:"a",href:a.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:a.name},a.name))})]})}var wt=e=>{let r=new Date;e&&(r=new Date(e));let n=r.getMonth(),a=r.getDate(),o=n+1<10?`0${n+1}`:n+1,i=a<10?`0${a}`:a,s=r.getFullYear();return`${i}/${o}/${s}`};function kt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n,className:a}){return(0,tt.jsxs)("div",{className:l("fixed top-0 left-0 right-0 tt-50",a),children:[(0,tt.jsx)(xt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}),(0,tt.jsx)(Ct,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n})]})}var Rt=R(require("react")),Dt=R(require("next/image"));var At=require("@radix-ui/react-slot"),Nt=require("class-variance-authority"),Pt=R(require("react")),_r=(0,Nt.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:"tt-10 px-4 py-2",icon:"tt-10 w-10",lg:"tt-11 rounded px-8",sm:"tt-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",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-accent"}}}),E=Pt.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,tt.jsx)(e?At.Slot:"button",{className:l(_r({className:t,size:r,variant:n})),ref:o,...a}));E.displayName="Button";var It=(0,Nt.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 Ge({className:e,variant:t,...r}){return(0,tt.jsx)("div",{className:l(It({variant:t}),e),...r})}var Mt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:n,publishedAt:a,title:o}=e;return(0,tt.jsxs)("div",{className:"relative grid",children:[(0,tt.jsx)("div",{className:"relative tt-10 flex flex-col justify-end min-tt-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,tt.jsxs)("div",{className:"container mx-auto",children:[(0,tt.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,tt.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[n&&n.length>0&&(0,tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,tt.jsxs)("p",{className:"text-sm",children:["Author",n.length>1?"s":""]}),(0,tt.jsx)("p",{children:n.map((s,c)=>(0,tt.jsxs)(Rt.default.Fragment,{children:[s.name,c<n.length-2&&", ",c===n.length-2&&(n.length>2?", and ":" and ")]},s.id))})]}),a&&(0,tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,tt.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,tt.jsx)("time",{dateTime:a,children:wt(a)})]}),t&&t.length>0&&(0,tt.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,tt.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,tt.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,tt.jsx)(Ge,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,tt.jsxs)("div",{className:"absolute inset-0 w-full tt-full",children:[(0,tt.jsx)(Dt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,tt.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full tt-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Lt="../cortex-reply-light-27IMI3G7.png";var Ht="../cortex-reply-dark-XPAJJJYY.png";var Ft="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var ar=R(require("next/image"));var Et=({className:e,content:t,style:r})=>(0,tt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,tt.jsx)("div",{className:l("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,tt.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var Ue=R(require("next/link")),ce=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,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 y=r==="link"?"clear":c,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,tt.jsxs)(Ue.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]}):(0,tt.jsx)(E,{asChild:!0,className:a,size:y,variant:r,children:(0,tt.jsxs)(Ue.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]})})};var zt=({links:e,richText:t})=>(0,tt.jsx)("div",{className:"container",children:(0,tt.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,tt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,tt.jsx)(M,{className:"mb-0",content:t,enableGutter:!1})}),(0,tt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,tt.jsx)(ce,{size:"lg",...r},n))})]})});var Ae=require("prism-react-renderer");function Ot({code:e}){let[t,r]=(0,q.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,tt.jsx)("div",{className:"flex justify-end align-middle",children:(0,tt.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,tt.jsx)("p",{children:t}),(0,tt.jsx)("div",{className:"w-6 tt-6 dark:invert",children:(0,tt.jsx)(ve.ClipboardCopy,{})})]})})}var Jt=({code:e,language:t=""})=>e?(0,tt.jsx)(Ae.Highlight,{code:e,language:t,theme:Ae.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,tt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-tt-auto",children:[a.map((o,i)=>(0,tt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,tt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,tt.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,tt.jsx)("span",{...n({token:s})},c))})]},i)),(0,tt.jsx)(Ot,{code:e})]})}):null;var Yt=({className:e,code:t,language:r})=>(0,tt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,tt.jsx)(Jt,{code:t,language:r})});var Qt=R(require("next/image")),qr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Kt="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=",Vt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:c}=e,p,f,y=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:k,height:P,url:B,width:J}=o;p=J,f=P,y=v||"",u=B||Kt}let b=c||"lazy",N=i||Object.entries(qr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,tt.jsx)("picture",{children:(0,tt.jsx)(Qt.default,{alt:y||"",className:l(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Kt,priority:b!=="lazy"&&a,quality:100,loading:b,sizes:N,src:u,width:r?void 0:p})})};var jt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var _t=()=>{if(jt){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 Xt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,q.useRef)(null);if((0,q.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,tt.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,tt.jsx)("source",{src:`${_t()}/media/${o}`})})}return null};var Se=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,tt.jsx)(r||$t.Fragment,{...r!==null?{className:t}:{},children:a?(0,tt.jsx)(Xt,{...e}):(0,tt.jsx)(Vt,{...e})})};var qt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,tt.jsx)("div",{className:l("",{container:r},t),children:(0,tt.jsx)(Se,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,tt.jsx)("div",{className:l("",{container:r},t),children:(0,tt.jsx)(Se,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var V=R(require("react"));var Z=V.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Z.displayName="Card";var de=V.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));de.displayName="CardHeader";var pe=V.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));pe.displayName="CardTitle";var Zr=V.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Zr.displayName="CardDescription";var W=V.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));W.displayName="CardContent";var Wr=V.forwardRef(({className:e,...t},r)=>(0,tt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Wr.displayName="CardFooter";function eo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Wt({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,tt.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,tt.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,tt.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:eo(r)?(0,tt.jsx)(he,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,tt.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,tt.jsx)("div",{className:"mb-6",children:(0,tt.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,tt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,tt.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,tt.jsx)(M,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,tt.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,tt.jsx)("div",{className:"mt-8",children:(0,tt.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,tt.jsxs)("a",{href:c,children:[s,(0,tt.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,tt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 tt-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var er=({title:e,description:t,features:r,id:n})=>(0,tt.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,tt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,tt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,tt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,tt.jsx)(M,{content:t,enableGutter:!1})}),(0,tt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,c,p,f;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,tt.jsx)(to,{section:a,index:o},o);{let y=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,tt.jsx)(Wt,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((c=a.settings)==null?void 0:c.card)||"solid",icon:y()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(p=a.link)!=null&&p.url?"Find out more":void 0,buttonHref:((f=a.link)==null?void 0:f.url)||void 0},o)}})})]}),to=({section:e,index:t})=>{if(!e)return null;let r=(0,tt.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,tt.jsx)("div",{className:"text-accent tt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,tt.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,tt.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,tt.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,tt.jsx)("div",{className:"text-lg opacity-80",children:(0,tt.jsx)(M,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,tt.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Te=R(require("react"));function me({nodes:e}){return(0,tt.jsx)(Te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,tt.jsx)(Te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,tt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,tt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,tt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,tt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,tt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,tt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,tt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,tt.jsx)("table",{children:(0,tt.jsx)("tbody",{children:t.children.map((o,i)=>(0,tt.jsx)("tt",{children:o.children.map((s,c)=>(0,tt.jsx)("td",{children:me({nodes:s.children})},c))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return me({nodes:o.children})},a="children"in t?n(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,tt.jsx)(zt,{...o},r);case"mediaBlock":return(0,tt.jsx)(qt,{className:"col-start-1 col-span-3",imgClassName:"tt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,tt.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"tt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,tt.jsx)(Et,{className:"col-start-2 mb-4",...o},r);case"code":return(0,tt.jsx)(Yt,{className:"col-start-2",...o},r);case"features":return(0,tt.jsx)(er,{...o},r);case"reusableContentBlock":me({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,tt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,tt.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,tt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,tt.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,tt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,tt.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,tt.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,tt.jsx)(ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,tt.jsx)(ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var M=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,tt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&me({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var nr=require("next/navigation");var yn=l("transition-colors duration-400 hover:text-primary ease-in-out");function or({title:e,links:t}){let r=(0,nr.useSearchParams)(),n=(0,nr.usePathname)(),{replace:a}=(0,nr.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,tt.jsxs)(Z,{children:[(0,tt.jsx)(de,{children:(0,tt.jsx)(pe,{className:"text-accent",children:e&&e})}),(0,tt.jsx)(W,{children:t&&t.length>0&&(0,tt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,tt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,tt.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(i.href)},children:[i.label,(0,tt.jsx)(ve.ExternalLink,{className:"ml-1 tt-3 w-3"})]},s))})})})]})}var sr=R(require("next/link"));function ro({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,tt.jsx)("div",{className:"mt-1 tt-10 px-0 pt-0 lg:px-10",children:(0,tt.jsx)(Z,{children:(0,tt.jsxs)(W,{children:[e&&e.src&&(0,tt.jsx)(ar.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ft,className:"mx-auto mt-6 rounded-full object-cover"}),(0,tt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,tt.jsx)("p",{children:r}),n&&n.length>0&&(0,tt.jsx)("nav",{"aria-label":"social links",children:(0,tt.jsx)("ul",{className:"inline-flex items-center divide-tt divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,tt.jsx)("li",{children:(0,tt.jsx)(xe,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,tt.jsx)("span",{children:a.icon})})},o))})})]})})})}function ir({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var u;if(!e)return(0,nr.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:c,title:p}=e,f={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(a==null?void 0:a.description)||""},y=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,tt.jsx)(ye,{children:(0,tt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,tt.jsx)("div",{children:(0,tt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,tt.jsx)("div",{className:"my-4 tt-px bg-body/30 lg:my-5"}),(0,tt.jsx)(M,{content:c,enableGutter:!1})]})}),(0,tt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,tt.jsx)("div",{className:"mt-4 lg:-mt-10 tt-10 px-0 pt-0 lg:px-10",children:(0,tt.jsxs)(Z,{children:[(0,tt.jsx)(de,{children:(0,tt.jsx)(pe,{className:"text-accent",children:"Content Actions"})}),(0,tt.jsxs)(W,{children:[(0,tt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,tt.jsx)(sr.default,{href:`${n}${e.id}`,children:(0,tt.jsx)(E,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),y&&y.map((b,N)=>(0,tt.jsx)(ro,{...b},N)),t&&t.links&&(0,tt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,tt.jsx)(or,{links:t.links,title:t.title})})]})]})})}function Ve({...e}){return(0,tt.jsxs)("div",{children:[(0,tt.jsx)(kt,{isMenuOpen:!0,logoLight:Lt,logoDark:Ht}),(0,tt.jsx)(Mt,{...e.hero}),(0,tt.jsx)(ir,{className:"!pb-0",...e.blog})]})}var oo={title:"Example Pages/Blog",component:Ve,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var Ie={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. q sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},ao={args:{...Ie.args,hero:{...Ie.args.hero,post:{...Ie.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};0&&(module.exports={AReallyLongTitle,Default});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../chunk-
|
|
1
|
+
import{a as e}from"../chunk-ZRJH3EBR.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-A4JI756M.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KSCHUMVE.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-VW33NKNZ.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as l}from"react/jsx-runtime";var i={title:"Example Pages/Blog",component:e,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"Example Blog page."}}}};var t={args:{hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:{url:"stock1.jpg"}},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},blog:{edit:!0,categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0},{id:2,name:"Dave",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}}}},r={args:{...t.args,hero:{...t.args.hero,post:{...t.args.hero.post,title:"Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas."}}}};export{r as AReallyLongTitle,t as Default,i as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-3KMFY6E7.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-AAI2VZST.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../chunk-
|
|
1
|
+
import{a as r}from"../chunk-3KMFY6E7.mjs";import{a as o}from"../chunk-VXZJ3JK5.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-AAI2VZST.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import{a as l}from"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import{d as n}from"../chunk-S7OK7D5I.mjs";import{BookOpen as a,LifeBuoy as u,Send as s,Settings2 as c}from"lucide-react";var e=n(o());import{PhoneIcon as m,PlayCircleIcon as d,RectangleGroupIcon as p}from"@heroicons/react/20/solid";import{ChartPieIcon as b,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var g=()=>t(l,{iconName:"github",size:"4x",type:"brands"}),f=()=>t(l,{iconName:"aws",type:"brands"}),S=()=>t(l,{iconName:"azure",type:"kit"}),k=()=>t(l,{iconName:"people-sharing",size:"4x",type:"kit"}),A=()=>t(l,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),C=()=>t(l,{iconName:"development",size:"4x",type:"kit"}),X={title:"Example Pages/Documentation Content",component:r,decorators:[i=>t("div",{className:"bg-sidebar",children:t(i,{})})]},w=i=>t(r,{...i}),Z={render:w,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:A},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:C}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:b},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:g}],actions:[{name:"Watch demo",href:"#",icon:d},{name:"Contact sales",href:"#",icon:m},{name:"View all products",href:"#",icon:p}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,e.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:f,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:S,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:a,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:c,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:u},{label:"Feedback",url:"#",icon:s}],onSidebarMenu:(0,e.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()},github:{onPublishDraft:(0,e.fn)(),handleNewBranch:(0,e.fn)(),handlePR:(0,e.fn)(),onSave:(0,e.fn)()}}};export{Z as Default,X as default};
|
package/dist/pages/IndexPage.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-EQDX6HFN.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-BWT2MAIT.mjs";import"../chunk-23EQTK7B.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-T25YQ6L5.mjs";import"../chunk-74KJ5V34.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../chunk-
|
|
1
|
+
import{a as r}from"../chunk-EQDX6HFN.mjs";import{a as n}from"../chunk-VXZJ3JK5.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-BWT2MAIT.mjs";import"../chunk-23EQTK7B.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-T25YQ6L5.mjs";import"../chunk-74KJ5V34.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import{a as l}from"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import{d as o}from"../chunk-S7OK7D5I.mjs";import{BookOpen as a,LifeBuoy as s,Send as u,Settings2 as c}from"lucide-react";var e=o(n());import{PhoneIcon as d,PlayCircleIcon as m,RectangleGroupIcon as p}from"@heroicons/react/20/solid";import{ChartPieIcon as h,CursorArrowRaysIcon as b}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var g=()=>t(l,{iconName:"github",size:"4x",type:"brands"}),f=()=>t(l,{iconName:"aws",type:"brands"}),w=()=>t(l,{iconName:"azure",type:"kit"}),k=()=>t(l,{iconName:"people-sharing",type:"kit"}),S=()=>t(l,{iconName:"cloud-network-sharing",type:"kit"}),y=()=>t(l,{iconName:"development",type:"kit"}),X={title:"Example Pages/Documentation Index",component:r,decorators:[i=>t("div",{className:"bg-sidebar",children:t(i,{})})]},A=i=>t(r,{...i}),Z={render:A,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:S},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:y}]},{name:"Resources",items:[{name:"IndexPage",href:"#",icon:h},{name:"API Reference",href:"#",icon:b},{name:"Github",href:"#",icon:g}],actions:[{name:"Watch demo",href:"#",icon:m},{name:"Contact sales",href:"#",icon:d},{name:"View all products",href:"#",icon:p}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,e.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:f,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:w,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"IndexPage",url:"#",icon:a,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:c,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:s},{label:"Feedback",url:"#",icon:u}],onSidebarMenu:(0,e.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()},tiles:[{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim.",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Hello World",title:"Hello World"},{slug:"hello-world",mainImage:"https://cdn.sanity.io/images/ssqh4ksj/production/c734dd394de943820a25b4b96eace0855ab44749-2016x1344.png?w=1170&h=780&auto=format",excerpt:"Hello World",title:"Hello World"}],github:{onPublishDraft:(0,e.fn)(),handleNewBranch:(0,e.fn)(),handlePR:(0,e.fn)(),onSave:(0,e.fn)()}}};export{Z as Default,X as default};
|
package/dist/pages/Intranet.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ATONX5RA.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import{a as o}from"../chunk-
|
|
4
|
+
"use client";import{a as o}from"../chunk-ATONX5RA.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import{a as t}from"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";import{PhoneIcon as r,PlayCircleIcon as a,RectangleGroupIcon as i}from"@heroicons/react/20/solid";import{ChartPieIcon as c,CursorArrowRaysIcon as m}from"@heroicons/react/24/outline";import{jsx as e}from"react/jsx-runtime";var s=()=>e(t,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),p=()=>e(t,{iconName:"development",size:"4x",type:"kit"}),l=()=>e(t,{iconName:"github",size:"4x",type:"brands"});var d=()=>e(t,{iconName:"people-sharing",size:"4x",type:"kit"}),h={title:"Pages/Intranet",component:o,tags:["autodocs"],argTypes:{},decorators:[n=>e("div",{className:"h-screen",children:e(n,{})})]},S=h,C={args:{motd:{title:"Welcome to the Intranet",message:"This is a message of the day. It can be used to communicate important information to all employees.",brandFrom:"one",brandTo:"two"},header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:s},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:d},{name:"Products",description:"Products that we sell",href:"#",icon:p}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:c},{name:"API Reference",href:"#",icon:m},{name:"Github",href:"#",icon:l}],actions:[{name:"Watch demo",href:"#",icon:a},{name:"Contact sales",href:"#",icon:r},{name:"View all products",href:"#",icon:i}]},{name:"Intranet",href:"#"}]},events:[{type:"birthday",date:"2023-06-15",title:"John Doe's Birthday",description:"Wish John a happy birthday!",avatarSrc:"https://i.pravatar.cc/150?img=1"},{type:"company_event",date:"2023-08-10",title:"Summer Company Picnic",description:"Join us for food, games, and fun at the annual summer picnic!",avatarSrc:"https://i.pravatar.cc/150?img=3"},{type:"company_event",date:"2023-10-31",title:"Halloween Party"}],customers:[{name:"Acme Corp",logo:"/cortex-reply.png",href:"#",gradientStart:"#3B82F6",gradientEnd:"#2563EB"},{name:"Globex",logo:"/logos/dropbox.png",href:"#",gradientStart:"#10B981",gradientEnd:"#059669"},{name:"Initech",logo:"/logos/customer1.png",href:"#",gradientStart:"#EC4899",gradientEnd:"#DB2777"},{name:"Umbrella",logo:"/logos/customer2.png",href:"#",gradientStart:"#F59E0B",gradientEnd:"#D97706"}]}};export{C as Primary,S as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../chunk-
|
|
2
|
+
"use strict";import{a}from"../chunk-72Z4T7BT.mjs";import"../chunk-4DJ6HKHR.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-DRJBYVJB.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|