cortex-react-components 1.52.7 → 1.52.9

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.
Files changed (93) hide show
  1. package/dist/{chunk-VTXQSH5T.mjs → chunk-465SRZH2.mjs} +1 -1
  2. package/dist/{chunk-L5JFZUB6.mjs → chunk-4JXH3DXX.mjs} +1 -1
  3. package/dist/{chunk-QLNQHPNP.mjs → chunk-5ZK27HPT.mjs} +1 -1
  4. package/dist/{chunk-2LC4EYF7.mjs → chunk-BMJEGPLO.mjs} +1 -1
  5. package/dist/{chunk-MIEA2HVE.mjs → chunk-BMYJ2OX6.mjs} +1 -1
  6. package/dist/{chunk-6PFTCPKQ.mjs → chunk-C4WHGKFC.mjs} +1 -1
  7. package/dist/{chunk-QM2W7CB7.mjs → chunk-CHMF4O5T.mjs} +1 -1
  8. package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
  9. package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
  10. package/dist/chunk-OAO4Z5WE.mjs +1 -0
  11. package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
  12. package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
  13. package/dist/{chunk-QBQFXNGD.mjs → chunk-TV3A7ZRB.mjs} +1 -1
  14. package/dist/{chunk-36IPIP4Y.mjs → chunk-VQ6YN4EI.mjs} +1 -1
  15. package/dist/chunk-VV7TUGRV.mjs +1 -0
  16. package/dist/chunk-WDI4NXLR.mjs +1 -0
  17. package/dist/chunk-WOKH5EZP.mjs +9 -0
  18. package/dist/{chunk-K7NWCLN3.mjs → chunk-XCKHSWP5.mjs} +1 -1
  19. package/dist/{chunk-IVFRIMKP.mjs → chunk-XL5P6FLS.mjs} +1 -1
  20. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  21. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  22. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  23. package/dist/components/HeaderFooter/Header.mjs +1 -1
  24. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  25. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  26. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  27. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  28. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  29. package/dist/components/HeaderFooter/index.mjs +1 -1
  30. package/dist/components/Heros/PostHero/index.mjs +1 -1
  31. package/dist/components/Heros/RenderHero.mjs +1 -1
  32. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  33. package/dist/components/Heros/index.mjs +1 -1
  34. package/dist/components/Layouts/NewsList.d.ts +2 -1
  35. package/dist/components/Layouts/NewsList.js +1 -1
  36. package/dist/components/Layouts/NewsList.mjs +1 -1
  37. package/dist/components/Layouts/NewsList.stories.js +1 -1
  38. package/dist/components/Layouts/NewsList.stories.mjs +1 -1
  39. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  40. package/dist/components/Layouts/Print.mjs +1 -1
  41. package/dist/components/Layouts/Print.stories.mjs +1 -1
  42. package/dist/components/Layouts/SlideShow.mjs +1 -1
  43. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  44. package/dist/components/Layouts/index.mjs +1 -1
  45. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  46. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  47. package/dist/components/Menus/SidebarRight.mjs +1 -1
  48. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  49. package/dist/components/Menus/index.mjs +1 -1
  50. package/dist/components/Payload/index.mjs +1 -1
  51. package/dist/components/index.mjs +1 -1
  52. package/dist/components/ui/index.mjs +1 -1
  53. package/dist/components/ui/sidebar.mjs +1 -1
  54. package/dist/index.js +8 -8
  55. package/dist/index.mjs +1 -1
  56. package/dist/metafile-cjs.json +1 -1
  57. package/dist/metafile-esm.json +1 -1
  58. package/dist/pages/Blog.mjs +1 -1
  59. package/dist/pages/Blog.stories.mjs +1 -1
  60. package/dist/pages/Documentation.mjs +1 -1
  61. package/dist/pages/Documentation.stories.mjs +1 -1
  62. package/dist/pages/IndexPage.mjs +1 -1
  63. package/dist/pages/IndexPage.stories.mjs +1 -1
  64. package/dist/pages/Intranet.mjs +1 -1
  65. package/dist/pages/Intranet.stories.mjs +1 -1
  66. package/dist/pages/LandingPage.js +3 -3
  67. package/dist/pages/LandingPage.mjs +1 -1
  68. package/dist/pages/LandingPage.stories.js +3 -3
  69. package/dist/pages/LandingPage.stories.mjs +1 -1
  70. package/dist/pages/Page.mjs +1 -1
  71. package/dist/pages/Page.stories.mjs +1 -1
  72. package/dist/pages/Printable.stories.mjs +1 -1
  73. package/dist/pages/Publish.mjs +1 -1
  74. package/dist/pages/Publish.stories.mjs +1 -1
  75. package/dist/pages/Website.mjs +1 -1
  76. package/dist/pages/Website.stories.mjs +1 -1
  77. package/dist/sections/BlogList.d.ts +2 -18
  78. package/dist/sections/BlogList.js +3 -3
  79. package/dist/sections/BlogList.mjs +1 -1
  80. package/dist/sections/BlogList.stories.js +3 -3
  81. package/dist/sections/BlogList.stories.mjs +1 -1
  82. package/dist/sections/BlogListSection.d.ts +2 -1
  83. package/dist/sections/BlogListSection.js +1 -1
  84. package/dist/sections/BlogListSection.mjs +1 -1
  85. package/dist/sections/BlogListSection.stories.js +1 -1
  86. package/dist/sections/BlogListSection.stories.mjs +1 -1
  87. package/dist/sections/index.js +3 -3
  88. package/dist/sections/index.mjs +1 -1
  89. package/package.json +1 -1
  90. package/dist/chunk-E6WRDHEH.mjs +0 -1
  91. package/dist/chunk-G7KHLVD3.mjs +0 -1
  92. package/dist/chunk-P2NZLGKD.mjs +0 -1
  93. package/dist/chunk-VUEUCN5H.mjs +0 -9
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var kt=Object.create;var X=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var At=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},Re=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of At(t))!Pt.call(e,a)&&a!==r&&X(e,a,{get:()=>t[a],enumerable:!(n=Ct(t,a))||n.enumerable});return e};var U=(e,t,r)=>(r=e!=null?kt(Nt(e)):{},Re(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),St=e=>Re(X({},"__esModule",{value:!0}),e);var pr={};Bt(pr,{Default:()=>we,LoadsOfBlogs:()=>wt,default:()=>dr});module.exports=St(pr);var Ie=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),n=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${n}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(n)} ${a}`};var He=require("clsx");var de="-",Tt=e=>{let t=It(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(de);return s[0]===""&&s.length!==1&&s.shift(),De(s,t)||Rt(i)},getConflictingClassGroupIds:(i,s)=>{let d=r[i]||[];return s&&n[i]?[...d,...n[i]]:d}}},De=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?De(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(de);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,Rt=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},It=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return zt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ce(i,n,o,t)}),n},ce=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:ze(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Mt(a)){ce(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{ce(i,ze(t,o),r,n)})})},ze=(e,t)=>{let r=e;return t.split(de).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Mt=e=>e.isThemeGetter,zt=(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,Dt=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)}}},Fe="!",Ft=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let d=[],p=0,m=0,k;for(let v=0;v<s.length;v++){let w=s[v];if(p===0){if(w===a&&(n||s.slice(v,v+o)===t)){d.push(s.slice(m,v)),m=v+o;continue}if(w==="/"){k=v;continue}}w==="["?p++:w==="]"&&p--}let y=d.length===0?s:s.substring(m),C=y.startsWith(Fe),N=C?y.substring(1):y,x=k&&k>m?k-m:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:N,maybePostfixModifierPosition:x}};return r?s=>r({className:s,parseClassName:i}):i},Lt=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},Et=e=>({cache:Dt(e.cacheSize),parseClassName:Ft(e),...Tt(e)}),Gt=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Gt),s="";for(let d=i.length-1;d>=0;d-=1){let p=i[d],{modifiers:m,hasImportantModifier:k,baseClassName:y,maybePostfixModifierPosition:C}=r(p),N=!!C,x=n(N?y.substring(0,C):y);if(!x){if(!N){s=p+(s.length>0?" "+s:s);continue}if(x=n(y),!x){s=p+(s.length>0?" "+s:s);continue}N=!1}let v=Lt(m).join(":"),w=k?v+Fe:v,A=w+x;if(o.includes(A))continue;o.push(A);let M=a(x,N);for(let P=0;P<M.length;++P){let Y=M[P];o.push(w+Y)}s=p+(s.length>0?" "+s:s)}return s};function Ht(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ot(e,...t){let r,n,a,o=i;function i(d){let p=t.reduce((m,k)=>k(m),e());return r=Et(p),n=r.cache.get,a=r.cache.set,o=s,s(d)}function s(d){let p=n(d);if(p)return p;let m=Ut(d,r);return a(d,m),m}return function(){return o(Ht.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ee=/^\[(?:([a-z-]+):)?(.+)\]$/i,_t=/^\d+\/\d+$/,Vt=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|q|min|max))|\q(calc|min|max|clamp)\(.+\)|^0$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>H(e)||Vt.has(e)||_t.test(e),z=e=>O(e,"length",rr),H=e=>!!e&&!Number.isNaN(Number(e)),le=e=>O(e,"number",H),V=e=>!!e&&Number.isInteger(Number(e)),Wt=e=>e.endsWith("%")&&H(e.slice(0,-1)),c=e=>Ee.test(e),D=e=>jt.test(e),Kt=new Set(["length","size","percentage"]),Xt=e=>O(e,Kt,Ge),qt=e=>O(e,"position",Ge),Zt=new Set(["image","url"]),er=e=>O(e,Zt,nr),tr=e=>O(e,"",or),j=()=>!0,O=(e,t,r)=>{let n=Ee.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},rr=e=>$t.test(e)&&!Qt.test(e),Ge=()=>!1,or=e=>Jt.test(e),nr=e=>Yt.test(e);var ar=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),n=f("brightness"),a=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),s=f("borderWidth"),d=f("contrast"),p=f("grayscale"),m=f("hueRotate"),k=f("invert"),y=f("gap"),C=f("gradientColorStops"),N=f("gradientColorStopPositions"),x=f("inset"),v=f("margin"),w=f("opacity"),A=f("padding"),M=f("saturate"),P=f("scale"),Y=f("sepia"),Ce=f("skew"),Ae=f("space"),Ne=f("translate"),ne=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",c,t],h=()=>[c,t],Pe=()=>["",T,z],W=()=>["auto",H,c],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",c],Te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[H,c];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[T,z],blur:["none","",D,c],brightness:S(),borderColor:[e],borderRadius:["none","","full",D,c],borderSpacing:h(),borderWidth:Pe(),contrast:S(),grayscale:_(),hueRotate:S(),invert:_(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Wt,z],inset:se(),margin:se(),opacity:S(),padding:h(),saturate:S(),scale:S(),sepia:_(),skew:S(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":Te()}],"break-before":[{"break-before":Te()}],"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:[...Be(),c]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,c]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",V,c]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",V,c]},c]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[V,c]},c]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],q:[{q:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Ae]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ae]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,z]}],"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:[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",H,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,z]}],"underline-offset":[{"underline-offset":["auto",T,c]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","q","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-q":[{"rounded-q":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-Ye":[{"rounded-Ye":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-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-q":[{"border-q":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-q":[{"border-q":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[T,c]}],"outline-w":[{outline:[T,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[T,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,tr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",D,c]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[k]}],saturate:[{saturate:[M]}],sepia:[{sepia:[Y]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[V,c]}],"translate-x":[{"translate-x":[Ne]}],"translate-y":[{"translate-y":[Ne]}],"skew-x":[{"skew-x":[Ce]}],"skew-y":[{"skew-y":[Ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-q":[{"scroll-q":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,z,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","q","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-q","rounded-l","rounded-ss","rounded-se","rounded-Ye","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ye"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-q":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-q","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-q"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-q","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-q"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-q","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ue=Ot(ar);function l(...e){return Ue((0,He.clsx)(e))}var q=require("react/jsx-runtime"),Oe=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,q.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,q.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),Ve=require("class-variance-authority"),je=U(require("react")),sr=(0,Ve.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"}}}),L=je.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,$e.jsx)(e?_e.Slot:"button",{className:l(sr({className:t,size:r,variant:n})),ref:o,...a}));L.displayName="Button";var pe=U(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:d,url:p}=e,m=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(!m)return null;let k=r==="link"?"clear":d,y=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(pe.default,{className:l(a),href:m||p||"",...y,children:[o&&o,n&&n]}):(0,$.jsx)(L,{asChild:!0,className:a,size:k,variant:r,children:(0,$.jsxs)(pe.default,{className:l(a),href:m||p||"",...y,children:[o&&o,n&&n]})})};var Qe=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.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,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(Q,{size:"lg",...r},n))})]})});var Z=require("prism-react-renderer");var Je=require("lucide-react"),Ye=require("react");function We({code:e}){let[t,r]=(0,Ye.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("p",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(Je.ClipboardCopy,{})})]})})}var Ke=({code:e,language:t=""})=>e?(0,q.jsx)(Z.Highlight,{code:e,language:t,theme:Z.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,q.jsx)("span",{...n({token:s})},d))})]},i)),(0,q.jsx)(We,{code:e})]})}):null;var Xe=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Ke,{code:t,language:r})});var Ze=U(require("next/image")),ir={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},qe="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=",et=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:d}=e,p,m,k=t,y=s||"";if(!y&&o&&typeof o=="object"){let{alt:x,filename:v,height:w,url:A,width:M}=o;if(w&&w>500){let P=500/w;p=M*P,m=w*P}else p=M,m=w;k=x||"",y=A||qe}let C=d||"lazy",N=i||Object.entries(ir).map(([,x])=>`(max-width: ${x}px) ${x*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(Ze.default,{alt:k||"",className:l(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:qe,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:N,src:y,width:r?void 0:p})})};var tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var rt=()=>{if(tt){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 ot=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,Ye.useRef)(null);if((0,Ye.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,q.jsx)("source",{src:`${rt()}/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,q.jsx)(r||Ye.Fragment,{...r!==null?{className:t}:{},children:a?(0,q.jsx)(ot,{...e}):(0,q.jsx)(et,{...e})})};var at=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,q.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,q.jsx)(re,{imgClassName:l("rounded-[0.8rem]",n),className:"flex justify-center",resource:a,src:o})})};var st=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,q.jsx)("div",{className:l("",{container:r},t),children:(0,q.jsx)(re,{imgClassName:l("rounded-[0.8rem]",n),resource:a,src:o})})};var 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,q.jsx)("i",{className:s})};var lt=U(require("next/link"));function ye({children:e,href:t,openNewTab:r,...n}){return(0,q.jsx)(lt.default,{href:t,target:r?"_blank":"_self",...n,children:e})}function dt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function pt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:a="auto",order:o=0,heading:i,subheading:s,content:d,statistic:p,buttonText:m,buttonHref:k}){let y={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,q.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,C[a],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)(lr,{icon:r,heading:i,variant:e,iconSize:n})}),p&&(0,q.jsx)("div",{className:"mb-6",children:(0,q.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),d&&typeof d=="object"&&(0,q.jsx)("div",{className:l("space-y-6"),children:(0,q.jsx)(B,{enableGutter:!1,content:d,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&(0,q.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:d}),m&&(0,q.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,q.jsx)(L,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,q.jsx)("a",{href:k,children:m})})}),e==="radial"&&(0,q.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 lr=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,q.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[dt(e)&&(0,q.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,q.jsx)(he,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[dt(e)&&(0,q.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,q.jsx)(he,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,q.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var mt=({title:e,description:t,features:r,id:n,nested:a=!1})=>(0,q.jsxs)("section",{className:l(!a&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,q.jsx)(B,{content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{var d,p,m,k,y;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,q.jsx)(pt,{variant:((d=o.settings)==null?void 0:d.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:s()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:i,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(k=o.link)!=null&&k.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},i)})})]});var oe=U(require("react"));function J({nodes:e}){return(0,q.jsx)(oe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,q.jsx)(oe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,q.jsx)("table",{children:(0,q.jsx)("tbody",{children:t.children.map((o,i)=>(0,q.jsx)("tr",{children:o.children.map((s,d)=>(0,q.jsx)("td",{children:J({nodes:s.children})},d))},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 J({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,q.jsx)(Qe,{...o},r);case"mediaBlock":return(0,q.jsx)(at,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,q.jsx)(st,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(Oe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Xe,{className:"col-start-2",...o},r);case"features":return(0,q.jsx)(mt,{...o,nested:!0},r);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.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,q.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.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,q.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,q.jsx)(Q,{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,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,q.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&&J({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function gt({subtitle:e,title:t,description:r,alignment:n="start",hasBottomSpacing:a=!1,className:o,invert:i=!1}){let s=l(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},o);return(0,q.jsxs)("div",{className:s,children:[e&&(0,q.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,q.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",i&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,q.jsx)("p",{className:"mt-5 whitespace-pre-line text-primary",children:r}):r&&(0,q.jsx)(B,{content:r,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function ft({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,q.jsx)("div",{className:a,children:e})}var ht=(e,t)=>e[t%e.length];var xe=U(require("next/image")),xt=require("react-icons/fa6");function ve({blogs:e,sectionHeading:t}){return(0,q.jsx)("section",{className:l("sticky md:top-0 md:h-screen min-h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background overflow-auto"),children:(0,q.jsxs)(ft,{children:[(0,q.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,q.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,q.jsx)(gt,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,q.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:e.map((r,n)=>(0,q.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ht([200,400,600],n),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,q.jsx)(cr,{...r})},n))})]})})}var yt=l("inline-flex items-center gap-2 text-white"),Ko=l("text-sm text-white");function cr({slug:e,image:t,authors:r,title:n,publishedAt:a,categories:o}){return(0,q.jsxs)("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,q.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,q.jsx)(xe.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
4
+ "use strict";var kt=Object.create;var X=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var At=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var Bt=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},Re=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of At(t))!Pt.call(e,a)&&a!==r&&X(e,a,{get:()=>t[a],enumerable:!(n=Ct(t,a))||n.enumerable});return e};var U=(e,t,r)=>(r=e!=null?kt(Nt(e)):{},Re(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),St=e=>Re(X({},"__esModule",{value:!0}),e);var pr={};Bt(pr,{Default:()=>we,LoadsOfBlogs:()=>wt,default:()=>dr});module.exports=St(pr);var Ie=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),n=t.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${n}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(n)} ${a}`};var He=require("clsx");var de="-",Tt=e=>{let t=It(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(de);return s[0]===""&&s.length!==1&&s.shift(),De(s,t)||Rt(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},De=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?De(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(de);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Me=/^\[(.+)\]$/,Rt=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},It=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return zt(Object.entries(e.classGroups),r).forEach(([o,i])=>{ce(i,n,o,t)}),n},ce=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:ze(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Mt(a)){ce(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{ce(i,ze(t,o),r,n)})})},ze=(e,t)=>{let r=e;return t.split(de).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Mt=e=>e.isThemeGetter,zt=(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,Dt=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)}}},Fe="!",Ft=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],p=0,m=0,k;for(let v=0;v<s.length;v++){let w=s[v];if(p===0){if(w===a&&(n||s.slice(v,v+o)===t)){c.push(s.slice(m,v)),m=v+o;continue}if(w==="/"){k=v;continue}}w==="["?p++:w==="]"&&p--}let y=c.length===0?s:s.substring(m),C=y.startsWith(Fe),N=C?y.substring(1):y,x=k&&k>m?k-m:void 0;return{modifiers:c,hasImportantModifier:C,baseClassName:N,maybePostfixModifierPosition:x}};return r?s=>r({className:s,parseClassName:i}):i},Lt=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},Et=e=>({cache:Dt(e.cacheSize),parseClassName:Ft(e),...Tt(e)}),Gt=/\s+/,Ut=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Gt),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:m,hasImportantModifier:k,baseClassName:y,maybePostfixModifierPosition:C}=r(p),N=!!C,x=n(N?y.substring(0,C):y);if(!x){if(!N){s=p+(s.length>0?" "+s:s);continue}if(x=n(y),!x){s=p+(s.length>0?" "+s:s);continue}N=!1}let v=Lt(m).join(":"),w=k?v+Fe:v,A=w+x;if(o.includes(A))continue;o.push(A);let M=a(x,N);for(let P=0;P<M.length;++P){let Y=M[P];o.push(w+Y)}s=p+(s.length>0?" "+s:s)}return s};function Ht(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Le(t))&&(n&&(n+=" "),n+=r);return n}var Le=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Le(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ot(e,...t){let r,n,a,o=i;function i(c){let p=t.reduce((m,k)=>k(m),e());return r=Et(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 m=Ut(c,r);return a(c,m),m}return function(){return o(Ht.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ee=/^\[(?:([a-z-]+):)?(.+)\]$/i,_t=/^\d+\/\d+$/,Vt=new Set(["px","full","screen"]),jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|q|min|max))|\q(calc|min|max|clamp)\(.+\)|^0$/,Qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>H(e)||Vt.has(e)||_t.test(e),z=e=>O(e,"length",rr),H=e=>!!e&&!Number.isNaN(Number(e)),le=e=>O(e,"number",H),V=e=>!!e&&Number.isInteger(Number(e)),Wt=e=>e.endsWith("%")&&H(e.slice(0,-1)),d=e=>Ee.test(e),D=e=>jt.test(e),Kt=new Set(["length","size","percentage"]),Xt=e=>O(e,Kt,Ge),qt=e=>O(e,"position",Ge),Zt=new Set(["image","url"]),er=e=>O(e,Zt,nr),tr=e=>O(e,"",or),j=()=>!0,O=(e,t,r)=>{let n=Ee.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},rr=e=>$t.test(e)&&!Qt.test(e),Ge=()=>!1,or=e=>Jt.test(e),nr=e=>Yt.test(e);var ar=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),n=f("brightness"),a=f("borderColor"),o=f("borderRadius"),i=f("borderSpacing"),s=f("borderWidth"),c=f("contrast"),p=f("grayscale"),m=f("hueRotate"),k=f("invert"),y=f("gap"),C=f("gradientColorStops"),N=f("gradientColorStopPositions"),x=f("inset"),v=f("margin"),w=f("opacity"),A=f("padding"),M=f("saturate"),P=f("scale"),Y=f("sepia"),Ce=f("skew"),Ae=f("space"),Ne=f("translate"),ne=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",d,t],h=()=>[d,t],Pe=()=>["",T,z],W=()=>["auto",H,d],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",d],Te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[H,d];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[T,z],blur:["none","",D,d],brightness:S(),borderColor:[e],borderRadius:["none","","full",D,d],borderSpacing:h(),borderWidth:Pe(),contrast:S(),grayscale:_(),hueRotate:S(),invert:_(),gap:h(),gradientColorStops:[e],gradientColorStopPositions:[Wt,z],inset:se(),margin:se(),opacity:S(),padding:h(),saturate:S(),scale:S(),sepia:_(),skew:S(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":Te()}],"break-before":[{"break-before":Te()}],"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:[...Be(),d]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,d]}],basis:[{basis:se()}],"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:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",V,d]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",V,d]},d]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[V,d]},d]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"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:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],q:[{q:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Ae]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ae]}],"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:[D]},D]}],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",D,z]}],"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:[j]}],"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",H,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,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":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,z]}],"underline-offset":[{"underline-offset":["auto",T,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:h()}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","q","bl","l","tl"]},er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-q":[{"rounded-q":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-Ye":[{"rounded-Ye":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-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-q":[{"border-q":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-q":[{"border-q":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[T,d]}],"outline-w":[{outline:[T,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[T,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,tr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...Se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",D,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[k]}],saturate:[{saturate:[M]}],sepia:[{sepia:[Y]}],"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":[m]}],"backdrop-invert":[{"backdrop-invert":[k]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[V,d]}],"translate-x":[{"translate-x":[Ne]}],"translate-y":[{"translate-y":[Ne]}],"skew-x":[{"skew-x":[Ce]}],"skew-y":[{"skew-y":[Ce]}],"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","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-q":[{"scroll-q":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,z,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","q","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-q","rounded-l","rounded-ss","rounded-se","rounded-Ye","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ye"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-q":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-q","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-q"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-q","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-q"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-q","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ue=Ot(ar);function l(...e){return Ue((0,He.clsx)(e))}var q=require("react/jsx-runtime"),Oe=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,q.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,q.jsx)(B,{content:t,enableGutter:!1,enableProse:!1})})});var _e=require("@radix-ui/react-slot"),Ve=require("class-variance-authority"),je=U(require("react")),sr=(0,Ve.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"}}}),L=je.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,$e.jsx)(e?_e.Slot:"button",{className:l(sr({className:t,size:r,variant:n})),ref:o,...a}));L.displayName="Button";var pe=U(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,url:p}=e,m=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(!m)return null;let k=r==="link"?"clear":c,y=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(pe.default,{className:l(a),href:m||p||"",...y,children:[o&&o,n&&n]}):(0,$.jsx)(L,{asChild:!0,className:a,size:k,variant:r,children:(0,$.jsxs)(pe.default,{className:l(a),href:m||p||"",...y,children:[o&&o,n&&n]})})};var Qe=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.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,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(B,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(Q,{size:"lg",...r},n))})]})});var Z=require("prism-react-renderer");var Je=require("lucide-react"),Ye=require("react");function We({code:e}){let[t,r]=(0,Ye.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(L,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("p",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(Je.ClipboardCopy,{})})]})})}var Ke=({code:e,language:t=""})=>e?(0,q.jsx)(Z.Highlight,{code:e,language:t,theme:Z.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,i)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,q.jsx)("span",{...n({token:s})},c))})]},i)),(0,q.jsx)(We,{code:e})]})}):null;var Xe=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Ke,{code:t,language:r})});var Ze=U(require("next/image")),ir={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},qe="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=",et=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:c}=e,p,m,k=t,y=s||"";if(!y&&o&&typeof o=="object"){let{alt:x,filename:v,height:w,url:A,width:M}=o;if(w&&w>500){let P=500/w;p=M*P,m=w*P}else p=M,m=w;k=x||"",y=A||qe}let C=c||"lazy",N=i||Object.entries(ir).map(([,x])=>`(max-width: ${x}px) ${x*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(Ze.default,{alt:k||"",className:l(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:qe,priority:C!=="lazy"&&a,quality:100,loading:C,sizes:N,src:y,width:r?void 0:p})})};var tt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var rt=()=>{if(tt){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 ot=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,Ye.useRef)(null);if((0,Ye.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,q.jsx)("source",{src:`${rt()}/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,q.jsx)(r||Ye.Fragment,{...r!==null?{className:t}:{},children:a?(0,q.jsx)(ot,{...e}):(0,q.jsx)(et,{...e})})};var at=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,q.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,q.jsx)(re,{imgClassName:l("rounded-[0.8rem]",n),className:"flex justify-center",resource:a,src:o})})};var st=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,q.jsx)("div",{className:l("",{container:r},t),children:(0,q.jsx)(re,{imgClassName:l("rounded-[0.8rem]",n),resource:a,src:o})})};var 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,q.jsx)("i",{className:s})};var lt=U(require("next/link"));function ye({children:e,href:t,openNewTab:r,...n}){return(0,q.jsx)(lt.default,{href:t,target:r?"_blank":"_self",...n,children:e})}function dt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function pt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:a="auto",order:o=0,heading:i,subheading:s,content:c,statistic:p,buttonText:m,buttonHref:k}){let y={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},C={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,q.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",y[e],e==="outline"?"text-gray-900":"text-white",t,C[a],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)(lr,{icon:r,heading:i,variant:e,iconSize:n})}),p&&(0,q.jsx)("div",{className:"mb-6",children:(0,q.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,q.jsx)("div",{className:l("space-y-6"),children:(0,q.jsx)(B,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,q.jsx)("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),m&&(0,q.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,q.jsx)(L,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,q.jsx)("a",{href:k,children:m})})}),e==="radial"&&(0,q.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 lr=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,q.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[dt(e)&&(0,q.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,q.jsx)(he,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[dt(e)&&(0,q.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,q.jsx)(he,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,q.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var mt=({title:e,description:t,features:r,id:n,nested:a=!1})=>(0,q.jsxs)("section",{className:l(!a&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,q.jsx)(B,{content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{var c,p,m,k,y;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,q.jsx)(pt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:s()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:i,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(k=o.link)!=null&&k.url?"Find out more":void 0,buttonHref:((y=o.link)==null?void 0:y.url)||void 0},i)})})]});var oe=U(require("react"));function J({nodes:e}){return(0,q.jsx)(oe.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,q.jsx)(oe.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,q.jsx)("table",{children:(0,q.jsx)("tbody",{children:t.children.map((o,i)=>(0,q.jsx)("tr",{children:o.children.map((s,c)=>(0,q.jsx)("td",{children:J({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 J({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,q.jsx)(Qe,{...o},r);case"mediaBlock":return(0,q.jsx)(at,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,q.jsx)(st,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(Oe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Xe,{className:"col-start-2",...o},r);case"features":return(0,q.jsx)(mt,{...o,nested:!0},r);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.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,q.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.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,q.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,q.jsx)(Q,{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,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var B=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,q.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&&J({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};function gt({subtitle:e,title:t,description:r,alignment:n="start",hasBottomSpacing:a=!1,className:o,invert:i=!1}){let s=l(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},o);return(0,q.jsxs)("div",{className:s,children:[e&&(0,q.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,q.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",i&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,q.jsx)("p",{className:"mt-5 whitespace-pre-line text-primary",children:r}):r&&(0,q.jsx)(B,{content:r,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function ft({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,q.jsx)("div",{className:a,children:e})}var ht=(e,t)=>e[t%e.length];var xe=U(require("next/image")),xt=require("react-icons/fa6");function ve({blogs:e,sectionHeading:t}){return(0,q.jsx)("section",{className:l("sticky md:top-0 md:h-screen min-h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background overflow-auto"),children:(0,q.jsxs)(ft,{children:[(0,q.jsx)("div",{className:"mx-auto max-w-[630px]",children:t&&(0,q.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,q.jsx)(gt,{...t,alignment:"center",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,q.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:e.map((r,n)=>(0,q.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ht([200,400,600],n),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,q.jsx)(cr,{...r})},n))})]})})}var yt=l("inline-flex items-center gap-2 text-white"),Ko=l("text-sm text-white");function cr({slug:e,meta:t,authors:r,title:n,publishedAt:a,categories:o}){var i,s,c,p;return(0,q.jsxs)("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,q.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,q.jsx)(xe.default,{src:((i=t==null?void 0:t.image)==null?void 0:i.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((s=t==null?void 0:t.image)==null?void 0:s.alt)||"Blog image",fill:!0,sizes:`
5
5
  (min-width:768px) 50vw,
6
6
  (min-width:1024px) 33vw,
7
7
  100vw
8
- `,className:l("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,q.jsx)(xe.default,{src:t.src,alt:t.alt,fill:!0,sizes:`
8
+ `,className:l("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),(0,q.jsx)(xe.default,{src:((c=t==null?void 0:t.image)==null?void 0:c.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((p=t==null?void 0:t.image)==null?void 0:p.alt)||"Blog image",fill:!0,sizes:`
9
9
  (min-width:768px) 50vw,
10
10
  (min-width:1024px) 33vw,
11
11
  100vw
12
- `,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,q.jsxs)("div",{className:"relative z-10 flex h-full flex-1 w-full flex-col",children:[a&&(0,q.jsx)("div",{children:(0,q.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,q.jsx)("time",{dateTime:a,className:"text-foreground",children:(0,q.jsx)("span",{className:"block",children:Ie(a)})})})}),(0,q.jsxs)("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[(0,q.jsx)("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-y-2",children:(0,q.jsx)("p",{className:yt})}),(0,q.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,q.jsx)(ye,{"aria-label":n,href:e,className:"transition-colors duration-300 hover:text-primary",children:n})}),(0,q.jsx)("div",{children:(0,q.jsxs)(ye,{href:e,className:l(yt,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,q.jsx)("span",{children:"Read More"}),(0,q.jsx)("span",{className:"text-accent",children:(0,q.jsx)(xt.FaArrowRight,{})})]})})]})]})]})}var dr={title:"Website Components/BlogList",component:ve,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,q.jsx)(e,{})]},vt=e=>(0,q.jsx)(ve,{...e}),we=vt.bind({});we.args={sectionHeading:{subtitle:"Payload",title:"Payload",description:"Payload"},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/istockphoto1.jpg",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/istockphoto2.jpg",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/istockphoto3.jpg",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var wt=vt.bind({});wt.args={...we.args};0&&(module.exports={Default,LoadsOfBlogs});
12
+ `,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,q.jsxs)("div",{className:"relative z-10 flex h-full flex-1 w-full flex-col",children:[a&&(0,q.jsx)("div",{children:(0,q.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,q.jsx)("time",{dateTime:a,className:"text-foreground",children:(0,q.jsx)("span",{className:"block",children:Ie(a)})})})}),(0,q.jsxs)("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[(0,q.jsx)("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-y-2",children:(0,q.jsx)("p",{className:yt})}),(0,q.jsx)("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,q.jsx)(ye,{"aria-label":n,href:e||"#",className:"transition-colors duration-300 hover:text-primary",children:n})}),(0,q.jsx)("div",{children:(0,q.jsxs)(ye,{href:e||"#",className:l(yt,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,q.jsx)("span",{children:"Read More"}),(0,q.jsx)("span",{className:"text-accent",children:(0,q.jsx)(xt.FaArrowRight,{})})]})})]})]})]})}var dr={title:"Website Components/BlogList",component:ve,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,q.jsx)(e,{})]},vt=e=>(0,q.jsx)(ve,{...e}),we=vt.bind({});we.args={sectionHeading:{subtitle:"Payload",title:"Payload",description:"Payload"},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/istockphoto1.jpg",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/istockphoto2.jpg",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/istockphoto3.jpg",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var wt=vt.bind({});wt.args={...we.args};0&&(module.exports={Default,LoadsOfBlogs});
@@ -1 +1 @@
1
- import{a as o}from"../chunk-VUEUCN5H.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-UW57YIIJ.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as s}from"react/jsx-runtime";var r={title:"Website Components/BlogList",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>s(e,{})]},t=e=>s(o,{...e}),i=t.bind({});i.args={sectionHeading:{subtitle:"Payload",title:"Payload",description:"Payload"},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/istockphoto1.jpg",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/istockphoto2.jpg",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/istockphoto3.jpg",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var n=t.bind({});n.args={...i.args};export{i as Default,n as LoadsOfBlogs,r as default};
1
+ import{a as o}from"../chunk-WOKH5EZP.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-UW57YIIJ.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-F4BXMU2F.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-6RFXR5AO.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-5KL4BLZI.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-3IUQUN6R.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as s}from"react/jsx-runtime";var r={title:"Website Components/BlogList",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>s(e,{})]},t=e=>s(o,{...e}),i=t.bind({});i.args={sectionHeading:{subtitle:"Payload",title:"Payload",description:"Payload"},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/istockphoto1.jpg",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/istockphoto2.jpg",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/istockphoto3.jpg",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var n=t.bind({});n.args={...i.args};export{i as Default,n as LoadsOfBlogs,r as default};
@@ -25,10 +25,11 @@ interface CategoryListProps {
25
25
  title: string;
26
26
  links: LinkProps[];
27
27
  }
28
- export declare function BlogListSection({ blogs, pages, categories, types }: {
28
+ export declare function BlogListSection({ blogs, pages, categories, types, base }: {
29
29
  blogs: Partial<Post>[];
30
30
  pages: PagingProps;
31
31
  categories?: CategoryListProps;
32
32
  types: LinkProps[];
33
+ base: string;
33
34
  }): import("react/jsx-runtime").JSX.Element;
34
35
  export {};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Ue=Object.create;var j=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var Ve=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,We=Object.prototype.hasOwnProperty;var _e=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},fe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ve(t))!We.call(e,i)&&i!==r&&j(e,i,{get:()=>t[i],enumerable:!(o=Be(t,i))||o.enumerable});return e};var be=(e,t,r)=>(r=e!=null?Ue(Oe(e)):{},fe(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),je=e=>fe(j({},"__esModule",{value:!0}),e);var Tt={};_e(Tt,{BlogListSection:()=>Mt});module.exports=je(Tt);var Ne=require("clsx");var ee="-",Ye=e=>{let t=Je(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let n=a.split(ee);return n[0]===""&&n.length!==1&&n.shift(),ye(n,t)||qe(a)},getConflictingClassGroupIds:(a,n)=>{let c=r[a]||[];return n&&o[a]?[...c,...o[a]]:c}}},ye=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),i=o?ye(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;let s=e.join(ee);return(a=t.validators.find(({validator:n})=>n(s)))==null?void 0:a.classGroupId},he=/^\[(.+)\]$/,qe=e=>{if(he.test(e)){let t=he.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Je=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Xe(Object.entries(e.classGroups),r).forEach(([s,a])=>{Q(a,o,s,t)}),o},Q=(e,t,r,o)=>{e.forEach(i=>{if(typeof i=="string"){let s=i===""?t:xe(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(Ke(i)){Q(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{Q(a,xe(t,s),r,o)})})},xe=(e,t)=>{let r=e;return t.split(ee).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ke=e=>e.isThemeGetter,Xe=(e,t)=>t?e.map(([r,o])=>{let i=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,n])=>[t+a,n])):s);return[r,i]}):e,Ze=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,i=(s,a)=>{r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}},ve="!",Qe=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,i=t[0],s=t.length,a=n=>{let c=[],p=0,b=0,d;for(let h=0;h<n.length;h++){let v=n[h];if(p===0){if(v===i&&(o||n.slice(h,h+s)===t)){c.push(n.slice(b,h)),b=h+s;continue}if(v==="/"){d=h;continue}}v==="["?p++:v==="]"&&p--}let m=c.length===0?n:n.substring(b),P=m.startsWith(ve),N=P?m.substring(1):m,y=d&&d>b?d-b:void 0;return{modifiers:c,hasImportantModifier:P,baseClassName:N,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:a}):a},et=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},tt=e=>({cache:Ze(e.cacheSize),parseClassName:Qe(e),...Ye(e)}),rt=/\s+/,ot=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:i}=t,s=[],a=e.trim().split(rt),n="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:b,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:P}=r(p),N=!!P,y=o(N?m.substring(0,P):m);if(!y){if(!N){n=p+(n.length>0?" "+n:n);continue}if(y=o(m),!y){n=p+(n.length>0?" "+n:n);continue}N=!1}let h=et(b).join(":"),v=d?h+ve:h,w=v+y;if(s.includes(w))continue;s.push(w);let F=i(y,N);for(let z=0;z<F.length;++z){let O=F[z];s.push(v+O)}n=p+(n.length>0?" "+n:n)}return n};function nt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=we(t))&&(o&&(o+=" "),o+=r);return o}var we=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=we(e[o]))&&(r&&(r+=" "),r+=t);return r};function st(e,...t){let r,o,i,s=a;function a(c){let p=t.reduce((b,d)=>d(b),e());return r=tt(p),o=r.cache.get,i=r.cache.set,s=n,n(c)}function n(c){let p=o(c);if(p)return p;let b=ot(c,r);return i(c,b),b}return function(){return s(nt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,at=/^\d+\/\d+$/,it=new Set(["px","full","screen"]),lt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ct=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,pt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ut=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>D(e)||it.has(e)||at.test(e),T=e=>$(e,"length",vt),D=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>$(e,"number",D),B=e=>!!e&&Number.isInteger(Number(e)),gt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ce.test(e),L=e=>lt.test(e),mt=new Set(["length","size","percentage"]),ft=e=>$(e,mt,ke),bt=e=>$(e,"position",ke),ht=new Set(["image","url"]),xt=e=>$(e,ht,Ct),yt=e=>$(e,"",wt),V=()=>!0,$=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},vt=e=>ct.test(e)&&!dt.test(e),ke=()=>!1,wt=e=>pt.test(e),Ct=e=>ut.test(e);var kt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),i=u("borderColor"),s=u("borderRadius"),a=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),p=u("grayscale"),b=u("hueRotate"),d=u("invert"),m=u("gap"),P=u("gradientColorStops"),N=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),v=u("opacity"),w=u("padding"),F=u("saturate"),z=u("scale"),O=u("sepia"),le=u("skew"),ce=u("space"),de=u("translate"),q=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],g=()=>[l,t],pe=()=>["",M,T],W=()=>["auto",D,l],ue=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",l],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[M,T],blur:["none","",L,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",L,l],borderSpacing:g(),borderWidth:pe(),contrast:R(),grayscale:U(),hueRotate:R(),invert:U(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[gt,T],inset:K(),margin:K(),opacity:R(),padding:g(),saturate:R(),scale:R(),sepia:U(),skew:R(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"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:[...ue(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",B,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",B,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",B,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[B,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",L,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,T]}],"underline-offset":[{"underline-offset":["auto",M,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ue(),bt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ft]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[M,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",L,yt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ge(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ge()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",L,l]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[F]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[B,l]}],"translate-x":[{"translate-x":[de]}],"translate-y":[{"translate-y":[de]}],"skew-x":[{"skew-x":[le]}],"skew-y":[{"skew-y":[le]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,T,Z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pe=st(kt);function x(...e){return Pe((0,Ne.clsx)(e))}var Re=require("react/jsx-runtime");function Se({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let i=x("container",t&&"full-width",r&&"no-padding",o);return(0,Re.jsx)("div",{className:i,children:e})}var Me=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),i=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(a=>{if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${i}`};function Te({blogs:e}){return(0,Re.jsx)("div",{children:e&&e.length>0&&(0,Re.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,r)=>(0,Re.jsx)(Pt,{post:t,id:r},r))})})}var Pt=({post:e,id:t})=>{var n,c;let{slug:r,authors:o,categories:i,title:s,publishedAt:a}=e;return(0,Re.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Re.jsx)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:(0,Re.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})}),(0,Re.jsxs)("div",{children:[(0,Re.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Re.jsx)("time",{dateTime:(n=e.publishedAt)!=null?n:void 0,className:"text-foreground",children:Me((c=e.publishedAt)!=null?c:"")}),e.categories&&e.categories.map((p,b)=>(0,Re.jsx)("a",{href:`#${p}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:p.title},b))]}),(0,Re.jsx)("div",{className:"group relative max-w-xl",children:(0,Re.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Re.jsxs)("a",{href:e.slug||"#",children:[(0,Re.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Re.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((p,b)=>{var d;return(0,Re.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[p.profilePicture?(0,Re.jsx)("img",{alt:p.name||"Author",src:((d=p.profilePicture)==null?void 0:d.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Re.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Re.jsx)("div",{className:"text-sm/6",children:(0,Re.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Re.jsx)("span",{className:"absolute inset-0"}),p.name]})})]},b)})})]})]},t)};var E=require("next/navigation");var A=be(require("react"));var te=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));te.displayName="Card";var re=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));re.displayName="CardHeader";var oe=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));oe.displayName="CardTitle";var Nt=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));Nt.displayName="CardDescription";var ne=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));ne.displayName="CardContent";var St=A.forwardRef(({className:e,...t},r)=>(0,Re.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));St.displayName="CardFooter";var Le=require("lucide-react"),Yt=x("transition-colors duration-400 hover:text-primary ease-in-out");function ze({title:e,links:t}){let r=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:i}=(0,E.useRouter)();function s(a){let n=new URLSearchParams(r);a?n.set("category",a):n.delete("category"),i(`${o}?${n.toString()}`)}return(0,Re.jsxs)(te,{children:[(0,Re.jsx)(re,{children:(0,Re.jsx)(oe,{className:"text-accent",children:e&&e})}),(0,Re.jsx)(ne,{children:t&&t.length>0&&(0,Re.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Re.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((a,n)=>(0,Re.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(),s(a.href)},children:[a.label,(0,Re.jsx)(Le.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Ae=require("@radix-ui/react-slot"),Ie=require("class-variance-authority"),De=be(require("react")),Rt=(0,Ie.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"}}}),se=De.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...i},s)=>(0,$e.jsx)(e?Ae.Slot:"button",{className:x(Rt({className:t,size:r,variant:o})),ref:s,...i}));se.displayName="Button";var Y=require("react-icons/fa6"),Ee=require("react"),ae=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Ge({pages:e}){let t=(0,E.useSearchParams)(),r=(0,E.usePathname)(),{replace:o}=(0,E.useRouter)(),{totalPages:i,page:s}=e,[a,n]=(0,Ee.useState)({start:s>3?s-3:1,end:s+2}),c=d=>{d==="left"&&a.start>1?n(m=>({start:m.start-1,end:m.end-1})):d==="right"&&a.end<i&&n(m=>({start:m.start+1,end:m.end+1}))};function p(d){let m=new URLSearchParams(t);d?m.set("page",d):m.delete("page"),o(`${r}?${m.toString()}`)}if(i<=1)return null;let b=[];for(let d=a.start;d<=a.end;d++)b.push(d);return(0,Re.jsx)("div",{className:"mt-12",children:(0,Re.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[a.start>1&&(0,Re.jsx)("li",{children:(0,Re.jsx)("button",{className:x(ae,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Re.jsx)(Y.FaArrowLeft,{})})}),b.map((d,m)=>(0,Re.jsx)("li",{children:(0,Re.jsx)("a",{className:x(ae,d===s?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:P=>{P.preventDefault(),p(d.toString())},children:d})},m)),a.end<i&&(0,Re.jsx)("li",{children:(0,Re.jsx)("button",{className:x(ae,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Re.jsx)(Y.FaArrowRight,{})})})]})})}function Fe({types:e}){let[t,r]=(0,Ee.useState)(e&&e[0].href),o=(0,E.useSearchParams)(),i=(0,E.usePathname)(),{replace:s}=(0,E.useRouter)();function a(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),s(`${i}?${c.toString()}`)}return(0,Re.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Re.jsx)(se,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>a(n.href),children:n.label},c))})}function Mt({blogs:e,pages:t,categories:r,types:o}){return(0,Re.jsx)("section",{children:(0,Re.jsx)(Se,{children:(0,Re.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Re.jsxs)("div",{children:[o&&(0,Re.jsx)(Fe,{types:o}),(0,Re.jsx)(Te,{blogs:e}),(0,Re.jsx)(Ge,{pages:t})]}),(0,Re.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Re.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Re.jsx)(ze,{links:r.links,title:r.title})})})]})})})}0&&(module.exports={BlogListSection});
4
+ "use strict";var Be=Object.create;var j=Object.defineProperty;var Ve=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,_e=Object.prototype.hasOwnProperty;var je=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},be=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Oe(t))!_e.call(e,s)&&s!==r&&j(e,s,{get:()=>t[s],enumerable:!(o=Ve(t,s))||o.enumerable});return e};var Z=(e,t,r)=>(r=e!=null?Be(We(e)):{},be(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),Ye=e=>be(j({},"__esModule",{value:!0}),e);var zt={};je(zt,{BlogListSection:()=>Tt});module.exports=Ye(zt);var Ne=require("clsx");var te="-",qe=e=>{let t=Ke(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(te);return n[0]===""&&n.length!==1&&n.shift(),ye(n,t)||Je(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&o[i]?[...c,...o[i]]:c}}},ye=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?ye(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(te);return(i=t.validators.find(({validator:n})=>n(a)))==null?void 0:i.classGroupId},he=/^\[(.+)\]$/,Je=e=>{if(he.test(e)){let t=he.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ke=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ze(Object.entries(e.classGroups),r).forEach(([a,i])=>{ee(i,o,a,t)}),o},ee=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:xe(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(Xe(s)){ee(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,i])=>{ee(i,xe(t,a),r,o)})})},xe=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Xe=e=>e.isThemeGetter,Ze=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,n])=>[t+i,n])):a);return[r,s]}):e,Qe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return s(a,i),i},set(a,i){r.has(a)?r.set(a,i):s(a,i)}}},ve="!",et=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,i=n=>{let c=[],f=0,b=0,d;for(let h=0;h<n.length;h++){let w=n[h];if(f===0){if(w===s&&(o||n.slice(h,h+a)===t)){c.push(n.slice(b,h)),b=h+a;continue}if(w==="/"){d=h;continue}}w==="["?f++:w==="]"&&f--}let p=c.length===0?n:n.substring(b),v=p.startsWith(ve),C=v?p.substring(1):p,y=d&&d>b?d-b:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:i}):i},tt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},rt=e=>({cache:Qe(e.cacheSize),parseClassName:et(e),...qe(e)}),ot=/\s+/,nt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(ot),n="";for(let c=i.length-1;c>=0;c-=1){let f=i[c],{modifiers:b,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:v}=r(f),C=!!v,y=o(C?p.substring(0,v):p);if(!y){if(!C){n=f+(n.length>0?" "+n:n);continue}if(y=o(p),!y){n=f+(n.length>0?" "+n:n);continue}C=!1}let h=tt(b).join(":"),w=d?h+ve:h,P=w+y;if(a.includes(P))continue;a.push(P);let F=s(y,C);for(let L=0;L<F.length;++L){let O=F[L];a.push(w+O)}n=f+(n.length>0?" "+n:n)}return n};function st(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=we(t))&&(o&&(o+=" "),o+=r);return o}var we=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=we(e[o]))&&(r&&(r+=" "),r+=t);return r};function at(e,...t){let r,o,s,a=i;function i(c){let f=t.reduce((b,d)=>d(b),e());return r=rt(f),o=r.cache.get,s=r.cache.set,a=n,n(c)}function n(c){let f=o(c);if(f)return f;let b=nt(c,r);return s(c,b),b}return function(){return a(st.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,it=/^\d+\/\d+$/,lt=new Set(["px","full","screen"]),ct=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ut=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>D(e)||lt.has(e)||it.test(e),T=e=>$(e,"length",wt),D=e=>!!e&&!Number.isNaN(Number(e)),Q=e=>$(e,"number",D),B=e=>!!e&&Number.isInteger(Number(e)),mt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ce.test(e),z=e=>ct.test(e),ft=new Set(["length","size","percentage"]),bt=e=>$(e,ft,Pe),ht=e=>$(e,"position",Pe),xt=new Set(["image","url"]),yt=e=>$(e,xt,Pt),vt=e=>$(e,"",Ct),V=()=>!0,$=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},wt=e=>dt.test(e)&&!pt.test(e),Pe=()=>!1,Ct=e=>ut.test(e),Pt=e=>gt.test(e);var kt=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),i=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),f=u("grayscale"),b=u("hueRotate"),d=u("invert"),p=u("gap"),v=u("gradientColorStops"),C=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),w=u("opacity"),P=u("padding"),F=u("saturate"),L=u("scale"),O=u("sepia"),ce=u("skew"),de=u("space"),pe=u("translate"),q=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],g=()=>[l,t],ue=()=>["",R,T],W=()=>["auto",D,l],ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",l],fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[R,T],blur:["none","",z,l],brightness:M(),borderColor:[e],borderRadius:["none","","full",z,l],borderSpacing:g(),borderWidth:ue(),contrast:M(),grayscale:U(),hueRotate:M(),invert:U(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[mt,T],inset:K(),margin:K(),opacity:M(),padding:g(),saturate:M(),scale:M(),sepia:U(),skew:M(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":fe()}],"break-before":[{"break-before":fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ge(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",B,l]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",B,l]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",B,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[B,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],Me:[{Me:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Q]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",D,Q]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,T]}],"underline-offset":[{"underline-offset":["auto",R,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ge(),ht]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",bt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},yt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:_()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[R,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,vt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",z,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[F]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[B,l]}],"translate-x":[{"translate-x":[pe]}],"translate-y":[{"translate-y":[pe]}],"skew-x":[{"skew-x":[ce]}],"skew-y":[{"skew-y":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Me":[{"scroll-Me":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,T,Q]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Me:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Me":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ke=at(kt);function x(...e){return ke((0,Ne.clsx)(e))}var Me=require("react/jsx-runtime");function Se({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let s=x("container",t&&"full-width",r&&"no-padding",o);return(0,Me.jsx)("div",{className:s,children:e})}var Te=Z(require("next/image"));var Re=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${o}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${s}`};function ze({blogs:e,base:t}){return(0,Me.jsx)("div",{children:e&&e.length>0&&(0,Me.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((r,o)=>(0,Me.jsx)(Nt,{post:r,id:o,base:t},o))})})}var Nt=({post:e,id:t,base:r})=>{var f,b,d,p;let{slug:o,meta:s,authors:a,categories:i,title:n,publishedAt:c}=e;return(0,Me.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Me.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,Me.jsx)(Te.default,{src:((f=s==null?void 0:s.image)==null?void 0:f.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((b=s==null?void 0:s.image)==null?void 0:b.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Me.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Me.jsxs)("div",{children:[(0,Me.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Me.jsx)("time",{dateTime:(d=e.publishedAt)!=null?d:void 0,className:"text-foreground",children:Re((p=e.publishedAt)!=null?p:"")}),e.categories&&e.categories.map((v,C)=>(0,Me.jsx)("a",{href:`#${v}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:v.title},C))]}),(0,Me.jsx)("div",{className:"group relative max-w-xl",children:(0,Me.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Me.jsxs)("a",{href:`/${r}/${e.slug}`||"#",children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Me.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:a&&a.map((v,C)=>{var y;return(0,Me.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[v.profilePicture?(0,Me.jsx)("img",{alt:v.name||"Author",src:((y=v.profilePicture)==null?void 0:y.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Me.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Me.jsx)("div",{className:"text-sm/6",children:(0,Me.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Me.jsx)("span",{className:"absolute inset-0"}),v.name]})})]},C)})})]})]},t)};var E=require("next/navigation");var A=Z(require("react"));var re=A.forwardRef(({className:e,...t},r)=>(0,Me.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var oe=A.forwardRef(({className:e,...t},r)=>(0,Me.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));oe.displayName="CardHeader";var ne=A.forwardRef(({className:e,...t},r)=>(0,Me.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));ne.displayName="CardTitle";var St=A.forwardRef(({className:e,...t},r)=>(0,Me.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));St.displayName="CardDescription";var se=A.forwardRef(({className:e,...t},r)=>(0,Me.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));se.displayName="CardContent";var Mt=A.forwardRef(({className:e,...t},r)=>(0,Me.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));Mt.displayName="CardFooter";var Le=require("lucide-react"),qt=x("transition-colors duration-400 hover:text-primary ease-in-out");function Ae({title:e,links:t}){let r=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:s}=(0,E.useRouter)();function a(i){let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),s(`${o}?${n.toString()}`)}return(0,Me.jsxs)(re,{children:[(0,Me.jsx)(oe,{children:(0,Me.jsx)(ne,{className:"text-accent",children:e&&e})}),(0,Me.jsx)(se,{children:t&&t.length>0&&(0,Me.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Me.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Me.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(),a(i.href)},children:[i.label,(0,Me.jsx)(Le.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Ie=require("@radix-ui/react-slot"),De=require("class-variance-authority"),$e=Z(require("react")),Rt=(0,De.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"}}}),ae=$e.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...s},a)=>(0,Me.jsx)(e?Ie.Slot:"button",{className:x(Rt({className:t,size:r,variant:o})),ref:a,...s}));ae.displayName="Button";var Y=require("react-icons/fa6"),Ge=require("react"),ie=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function He({pages:e}){let t=(0,E.useSearchParams)(),r=(0,E.usePathname)(),{replace:o}=(0,E.useRouter)(),{totalPages:s,page:a}=e,[i,n]=(0,Ge.useState)({start:a>3?a-3:1,end:a+2}),c=d=>{d==="left"&&i.start>1?n(p=>({start:p.start-1,end:p.end-1})):d==="right"&&i.end<s&&n(p=>({start:p.start+1,end:p.end+1}))};function f(d){let p=new URLSearchParams(t);d?p.set("page",d):p.delete("page"),o(`${r}?${p.toString()}`)}if(s<=1)return null;let b=[];for(let d=i.start;d<=i.end;d++)b.push(d);return(0,Me.jsx)("div",{className:"mt-12",children:(0,Me.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[i.start>1&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:x(ie,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Me.jsx)(Y.FaArrowLeft,{})})}),b.map((d,p)=>(0,Me.jsx)("li",{children:(0,Me.jsx)("a",{className:x(ie,d===a?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:v=>{v.preventDefault(),f(d.toString())},children:d})},p)),i.end<s&&(0,Me.jsx)("li",{children:(0,Me.jsx)("button",{className:x(ie,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Me.jsx)(Y.FaArrowRight,{})})})]})})}function Ue({types:e}){let[t,r]=(0,Ge.useState)(e&&e[0].href),o=(0,E.useSearchParams)(),s=(0,E.usePathname)(),{replace:a}=(0,E.useRouter)();function i(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),a(`${s}?${c.toString()}`)}return(0,Me.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Me.jsx)(ae,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>i(n.href),children:n.label},c))})}function Tt({blogs:e,pages:t,categories:r,types:o,base:s}){return(0,Me.jsx)("section",{children:(0,Me.jsx)(Se,{children:(0,Me.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Me.jsxs)("div",{children:[o&&(0,Me.jsx)(Ue,{types:o}),(0,Me.jsx)(ze,{blogs:e,base:s}),(0,Me.jsx)(He,{pages:t})]}),(0,Me.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Me.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Me.jsx)(Ae,{links:r.links,title:r.title})})})]})})})}0&&(module.exports={BlogListSection});
@@ -1 +1 @@
1
- import{a}from"../chunk-P2NZLGKD.mjs";import"../chunk-G7KHLVD3.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogListSection};
1
+ import{a}from"../chunk-OAO4Z5WE.mjs";import"../chunk-VV7TUGRV.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogListSection};