cortex-react-components 1.40.1 → 1.40.3

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 (117) hide show
  1. package/dist/{chunk-RT2YQPBB.mjs → chunk-373YJLIH.mjs} +1 -1
  2. package/dist/{chunk-UYL4BACW.mjs → chunk-4RHWRSNG.mjs} +1 -1
  3. package/dist/{chunk-GBLZNN44.mjs → chunk-62YZZSOX.mjs} +1 -1
  4. package/dist/{chunk-HOHTZCBW.mjs → chunk-CNCPREWR.mjs} +1 -1
  5. package/dist/{chunk-STREWEPO.mjs → chunk-CTCV3L4B.mjs} +1 -1
  6. package/dist/{chunk-5XF6WIV7.mjs → chunk-ET5WFKM7.mjs} +1 -1
  7. package/dist/{chunk-MLCK4J2D.mjs → chunk-FBFDZOP6.mjs} +1 -1
  8. package/dist/{chunk-CH46S52X.mjs → chunk-HRZRAS6Z.mjs} +1 -1
  9. package/dist/{chunk-34NJELRZ.mjs → chunk-HTO3HNQS.mjs} +1 -1
  10. package/dist/{chunk-QUC2J3J4.mjs → chunk-I2TKZ5BM.mjs} +1 -1
  11. package/dist/{chunk-2R7F4VOJ.mjs → chunk-IS5OUEJJ.mjs} +1 -1
  12. package/dist/{chunk-KQGTRCZ6.mjs → chunk-JM6ZXLBG.mjs} +1 -1
  13. package/dist/{chunk-ADJEMG5X.mjs → chunk-JYZW3G3N.mjs} +1 -1
  14. package/dist/{chunk-3GDRM3XB.mjs → chunk-L44KSGUG.mjs} +1 -1
  15. package/dist/{chunk-TA72YYXA.mjs → chunk-LVUWQ35N.mjs} +1 -1
  16. package/dist/{chunk-67CFEGX4.mjs → chunk-QGZ7QIG3.mjs} +1 -1
  17. package/dist/{chunk-W7NOB7CY.mjs → chunk-SJWN6J3F.mjs} +1 -1
  18. package/dist/{chunk-QY7LU2TL.mjs → chunk-UDVFDGKM.mjs} +1 -1
  19. package/dist/{chunk-LCWZZNZR.mjs → chunk-Y6QUDCQM.mjs} +1 -1
  20. package/dist/chunk-YCX5N23N.mjs +4 -0
  21. package/dist/components/Blocks/Banner.js +1 -1
  22. package/dist/components/Blocks/Banner.mjs +1 -1
  23. package/dist/components/Blocks/CallToAction.js +1 -1
  24. package/dist/components/Blocks/CallToAction.mjs +1 -1
  25. package/dist/components/Blocks/Content.js +1 -1
  26. package/dist/components/Blocks/Content.mjs +1 -1
  27. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  28. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  29. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  30. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  31. package/dist/components/Blocks/RelatedPosts.js +1 -1
  32. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  33. package/dist/components/Blocks/RenderBlocks.js +1 -1
  34. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  35. package/dist/components/Blocks/index.js +1 -1
  36. package/dist/components/Blocks/index.mjs +1 -1
  37. package/dist/components/Cards/Image.js +1 -1
  38. package/dist/components/Cards/Image.mjs +1 -1
  39. package/dist/components/Cards/Image.stories.js +1 -1
  40. package/dist/components/Cards/Image.stories.mjs +1 -1
  41. package/dist/components/Cards/index.js +1 -1
  42. package/dist/components/Cards/index.mjs +1 -1
  43. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  44. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  45. package/dist/components/Heros/HighImpact/index.js +1 -1
  46. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  47. package/dist/components/Heros/LowImpact/index.js +1 -1
  48. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  49. package/dist/components/Heros/MediumImpact/index.js +1 -1
  50. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  51. package/dist/components/Heros/RenderHero.js +1 -1
  52. package/dist/components/Heros/RenderHero.mjs +1 -1
  53. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  54. package/dist/components/Heros/index.js +1 -1
  55. package/dist/components/Heros/index.mjs +1 -1
  56. package/dist/components/Layouts/BlogList.js +3 -3
  57. package/dist/components/Layouts/BlogList.mjs +1 -1
  58. package/dist/components/Layouts/BlogList.stories.js +3 -3
  59. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  60. package/dist/components/Layouts/SlideShow.js +1 -1
  61. package/dist/components/Layouts/SlideShow.mjs +1 -1
  62. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  63. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  64. package/dist/components/Layouts/index.js +1 -1
  65. package/dist/components/Layouts/index.mjs +1 -1
  66. package/dist/components/Payload/RichText/index.js +1 -1
  67. package/dist/components/Payload/RichText/index.mjs +1 -1
  68. package/dist/components/Payload/RichText/serialize.js +1 -1
  69. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  70. package/dist/components/Payload/RichText.stories.js +1 -1
  71. package/dist/components/Payload/RichText.stories.mjs +1 -1
  72. package/dist/components/Payload/index.js +1 -1
  73. package/dist/components/Payload/index.mjs +1 -1
  74. package/dist/components/index.js +6 -6
  75. package/dist/components/index.mjs +1 -1
  76. package/dist/index.js +3 -3
  77. package/dist/index.mjs +1 -1
  78. package/dist/metafile-cjs.json +1 -1
  79. package/dist/metafile-esm.json +1 -1
  80. package/dist/pages/Blog.js +1 -1
  81. package/dist/pages/Blog.mjs +1 -1
  82. package/dist/pages/Blog.stories.js +1 -1
  83. package/dist/pages/Blog.stories.mjs +1 -1
  84. package/dist/pages/IndexPage.mjs +1 -1
  85. package/dist/pages/IndexPage.stories.mjs +1 -1
  86. package/dist/pages/Page.js +1 -1
  87. package/dist/pages/Page.mjs +1 -1
  88. package/dist/pages/Page.stories.js +97 -97
  89. package/dist/pages/Page.stories.mjs +1 -1
  90. package/dist/pages/Publish.js +1 -1
  91. package/dist/pages/Publish.mjs +1 -1
  92. package/dist/pages/Publish.stories.js +1 -1
  93. package/dist/pages/Publish.stories.mjs +1 -1
  94. package/dist/pages/Website.js +1 -1
  95. package/dist/pages/Website.mjs +1 -1
  96. package/dist/pages/Website.stories.js +1 -1
  97. package/dist/pages/Website.stories.mjs +1 -1
  98. package/dist/sections/AboutSection.js +1 -1
  99. package/dist/sections/AboutSection.mjs +1 -1
  100. package/dist/sections/AboutSection.stories.js +1 -1
  101. package/dist/sections/AboutSection.stories.mjs +1 -1
  102. package/dist/sections/BlogDetail.js +1 -1
  103. package/dist/sections/BlogDetail.mjs +1 -1
  104. package/dist/sections/BlogDetail.stories.js +1 -1
  105. package/dist/sections/BlogDetail.stories.mjs +1 -1
  106. package/dist/sections/ContactSection.js +1 -1
  107. package/dist/sections/ContactSection.mjs +1 -1
  108. package/dist/sections/ContactSection.stories.js +1 -1
  109. package/dist/sections/ContactSection.stories.mjs +1 -1
  110. package/dist/sections/PricingSection.js +1 -1
  111. package/dist/sections/PricingSection.mjs +1 -1
  112. package/dist/sections/PricingSection.stories.js +1 -1
  113. package/dist/sections/PricingSection.stories.mjs +1 -1
  114. package/dist/sections/index.js +1 -1
  115. package/dist/sections/index.mjs +1 -1
  116. package/package.json +1 -1
  117. package/dist/chunk-P5NVJTJ5.mjs +0 -4
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var it=Object.create;var q=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,mt=Object.prototype.hasOwnProperty;var ut=(t,e)=>{for(var r in e)q(t,r,{get:e[r],enumerable:!0})},Se=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of dt(e))!mt.call(t,a)&&a!==r&&q(t,a,{get:()=>e[a],enumerable:!(n=ct(e,a))||n.enumerable});return t};var Z=(t,e,r)=>(r=t!=null?it(pt(t)):{},Se(e||!t||!t.__esModule?q(r,"default",{value:t,enumerable:!0}):r,t)),gt=t=>Se(q({},"__esModule",{value:!0}),t);var Zt={};ut(Zt,{Primary:()=>qt,default:()=>Xt});module.exports=gt(Zt);var H=require("react");var De=require("clsx");var fe="-",ft=t=>{let e=yt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:s=>{let l=s.split(fe);return l[0]===""&&l.length!==1&&l.shift(),Me(l,e)||bt(s)},getConflictingClassGroupIds:(s,l)=>{let d=r[s]||[];return l&&n[s]?[...d,...n[s]]:d}}},Me=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),a=n?Me(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let o=t.join(fe);return(s=e.validators.find(({validator:l})=>l(o)))==null?void 0:s.classGroupId},Te=/^\[(.+)\]$/,bt=t=>{if(Te.test(t)){let e=Te.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},yt=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return wt(Object.entries(t.classGroups),r).forEach(([o,s])=>{ge(s,n,o,e)}),n},ge=(t,e,r,n)=>{t.forEach(a=>{if(typeof a=="string"){let o=a===""?e:Ie(e,a);o.classGroupId=r;return}if(typeof a=="function"){if(ht(a)){ge(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,s])=>{ge(s,Ie(e,o),r,n)})})},Ie=(t,e)=>{let r=t;return e.split(fe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ht=t=>t.isThemeGetter,wt=(t,e)=>e?t.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[e+s,l])):o);return[r,a]}):t,xt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,a=(o,s)=>{r.set(o,s),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set(o,s){r.has(o)?r.set(o,s):a(o,s)}}},Ee="!",vt=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,a=e[0],o=e.length,s=l=>{let d=[],u=0,f=0,c;for(let w=0;w<l.length;w++){let x=l[w];if(u===0){if(x===a&&(n||l.slice(w,w+o)===e)){d.push(l.slice(f,w)),f=w+o;continue}if(x==="/"){c=w;continue}}x==="["?u++:x==="]"&&u--}let g=d.length===0?l:l.substring(f),k=g.startsWith(Ee),C=k?g.substring(1):g,h=c&&c>f?c-f:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:C,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:s}):s},kt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Ct=t=>({cache:xt(t.cacheSize),parseClassName:vt(t),...ft(t)}),At=/\s+/,Nt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=e,o=[],s=t.trim().split(At),l="";for(let d=s.length-1;d>=0;d-=1){let u=s[d],{modifiers:f,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:k}=r(u),C=!!k,h=n(C?g.substring(0,k):g);if(!h){if(!C){l=u+(l.length>0?" "+l:l);continue}if(h=n(g),!h){l=u+(l.length>0?" "+l:l);continue}C=!1}let w=kt(f).join(":"),x=c?w+Ee:w,A=x+h;if(o.includes(A))continue;o.push(A);let E=a(h,C);for(let z=0;z<E.length;++z){let Y=E[z];o.push(x+Y)}l=u+(l.length>0?" "+l:l)}return l};function Bt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=ze(e))&&(n&&(n+=" "),n+=r);return n}var ze=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=ze(t[n]))&&(r&&(r+=" "),r+=e);return r};function Pt(t,...e){let r,n,a,o=s;function s(d){let u=e.reduce((f,c)=>c(f),t());return r=Ct(u),n=r.cache.get,a=r.cache.set,o=l,l(d)}function l(d){let u=n(d);if(u)return u;let f=Nt(d,r);return a(d,f),f}return function(){return o(Bt.apply(null,arguments))}}var b=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,St=new Set(["px","full","screen"]),Tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?$([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$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)$-?((\d+)?\.?(\d+)[a-z]+|0)/,zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=t=>G(t)||St.has(t)||Rt.test(t),T=t=>D(t,"length",Vt),G=t=>!!t&&!Number.isNaN(Number(t)),ue=t=>D(t,"number",G),V=t=>!!t&&Number.isInteger(Number(t)),Ft=t=>t.endsWith("%")&&G(t.slice(0,-1)),i=t=>Fe.test(t),I=t=>Tt.test(t),Lt=new Set(["length","size","percentage"]),Gt=t=>D(t,Lt,Le),Dt=t=>D(t,"position",Le),Ut=new Set(["image","url"]),Ht=t=>D(t,Ut,jt),Ot=t=>D(t,"",Qt),Q=()=>!0,D=(t,e,r)=>{let n=Fe.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},Vt=t=>It.test(t)&&!Mt.test(t),Le=()=>!1,Qt=t=>Et.test(t),jt=t=>zt.test(t);var _t=()=>{let t=b("colors"),e=b("spacing"),r=b("blur"),n=b("brightness"),a=b("borderColor"),o=b("borderRadius"),s=b("borderSpacing"),l=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),c=b("invert"),g=b("gap"),k=b("gradientColorStops"),C=b("gradientColorStopPositions"),h=b("inset"),w=b("margin"),x=b("opacity"),A=b("padding"),E=b("saturate"),z=b("scale"),Y=b("sepia"),ke=b("skew"),Ce=b("space"),Ae=b("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",i,e],y=()=>[i,e],Ne=()=>["",P,T],W=()=>["auto",G,i],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",i],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[P,T],blur:["none","",I,i],brightness:B(),borderColor:[t],borderRadius:["none","","full",I,i],borderSpacing:y(),borderWidth:Ne(),contrast:B(),grayscale:O(),hueRotate:B(),invert:O(),gap:y(),gradientColorStops:[t],gradientColorStopPositions:[Ft,T],inset:pe(),margin:pe(),opacity:B(),padding:y(),saturate:B(),scale:B(),sepia:O(),skew:B(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"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(),i]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,i]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",V,i]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",V,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[V,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[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]}],$:[{$:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-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",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",I,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[Q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,T]}],"underline-offset":[{"underline-offset":["auto",P,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),Dt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ht]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:X()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[P,i]}],"outline-w":[{outline:[P,T]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[P,T]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",I,Ot]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[E]}],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":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[V,i]}],"translate-x":[{"translate-x":[Ae]}],"translate-y":[{"translate-y":[Ae]}],"skew-x":[{"skew-x":[ke]}],"skew-y":[{"skew-y":[ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-$":[{"scroll-$":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[P,T,ue]}],stroke:[{stroke:[t,"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"],$:["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-$":["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 Ge=Pt(_t);function p(...t){return Ge((0,De.clsx)(t))}var $=require("react/jsx-runtime"),Ue=({className:t,content:e,style:r})=>(0,$.jsx)("div",{className:p("mx-auto my-8 w-full",t),children:(0,$.jsx)("div",{className:p("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(R,{content:e,enableGutter:!1,enableProse:!1})})});var He=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Ve=Z(require("react")),Jt=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),j=Ve.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...a},o)=>(0,$.jsx)(t?He.Slot:"button",{className:p(Jt({className:e,size:r,variant:n})),ref:o,...a}));j.displayName="Button";var be=Z(require("next/link")),U=t=>{let{type:e,appearance:r="inline",children:n,className:a,label:o,newTab:s,reference:l,size:d,url:u}=t,f=e==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:u;if(!f)return null;let c=r==="link"?"clear":d,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(be.default,{className:p(a),href:f||u||"",...g,children:[o&&o,n&&n]}):(0,$.jsx)(j,{asChild:!0,className:a,size:c,variant:r,children:(0,$.jsxs)(be.default,{className:p(a),href:f||u||"",...g,children:[o&&o,n&&n]})})};var ee=({links:t,richText:e})=>(0,$.jsx)("div",{className:"container",children:(0,$.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,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,$.jsx)(R,{className:"mb-0",content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,$.jsx)(U,{size:"lg",...r},n))})]})});var te=require("prism-react-renderer");var je=require("lucide-react");function Je({code:t}){let[e,r]=(0,H.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,$.jsx)("p",{children:e}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(je.ClipboardCopy,{})})]})})}var Ke=({code:t,language:e=""})=>t?(0,$.jsx)(te.Highlight,{code:t,language:e,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,$.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,s)=>(0,$.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:o.map((l,d)=>(0,$.jsx)("span",{...n({token:l})},d))})]},s)),(0,$.jsx)(Je,{code:t})]})}):null;var Ye=({className:t,code:e,language:r})=>(0,$.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(Ke,{code:e,language:r})});var Xe=Z(require("next/image")),Kt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},We="data:image/png;base64,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",qe=t=>{let{alt:e,fill:r,imgClassName:n,priority:a,resource:o,size:s,src:l,loading:d}=t,u,f,c=e,g=l||"";if(!g&&o&&typeof o=="object"){let{alt:h,filename:w,height:x,url:A,width:E}=o;u=E,f=x,c=h||"",g=A||We}let k=d||"lazy",C=s||Object.entries(Kt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(Xe.default,{alt:c||"",className:p(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:We,priority:k!=="lazy"&&a,quality:100,loading:k,sizes:C,src:g,width:r?void 0:u})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $e=()=>{if(Ze){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var et=t=>{let{onClick:e,resource:r,videoClassName:n}=t,a=(0,H.useRef)(null);if((0,H.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$.jsx)("video",{autoPlay:!0,className:p(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,$.jsx)("source",{src:`${$e()}/media/${o}`})})}return null};var ne=t=>{var s;let{className:e,htmlElement:r="div",resource:n}=t,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,$.jsx)(r||H.Fragment,{...r!==null?{className:e}:{},children:a?(0,$.jsx)(et,{...t}):(0,$.jsx)(qe,{...t})})};var J=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,$.jsx)("div",{className:p("",{container:r},e),children:(0,$.jsx)(ne,{imgClassName:p("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var rt=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,$.jsx)("div",{className:p("",{container:r},e),children:(0,$.jsx)(ne,{imgClassName:p("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ae=({title:t,description:e,features:r,id:n})=>(0,$.jsxs)("section",{className:p("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,$.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,$.jsx)(R,{content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let s=(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,$.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,$.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,$.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",children:(0,$.jsx)(R,{content:a.content,enableGutter:!1})})]},o);return a.link?(0,$.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},o):s})})]});var le=Z(require("react"));function se({nodes:t}){return(0,$.jsx)(le.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,$.jsx)(le.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,$.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,$.jsx)("em",{children:o},r)),e.format&4&&(o=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,$.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,$.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,$.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:e.children.map((o,s)=>(0,$.jsx)("tr",{children:o.children.map((l,d)=>(0,$.jsx)("td",{children:se({nodes:l.children})},d))},s))})},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 s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return se({nodes:o.children})},a="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,$.jsx)(ee,{...o},r);case"mediaBlock":return(0,$.jsx)(J,{className:"col-start-1 col-span-3",imgClassName:"$-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,$.jsx)(rt,{className:"col-start-1 col-span-3",imgClassName:"$-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,$.jsx)(Ue,{className:"col-start-2 mb-4",...o},r);case"code":return(0,$.jsx)(Ye,{className:"col-start-2",...o},r);case"features":return(0,$.jsx)(ae,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,$.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},r)}case"list":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,$.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},r):(0,$.jsx)("li",{value:e==null?void 0:e.value,children:a},r);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=e.fields;return(0,$.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var R=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var a;return e?(0,$.jsx)("div",{className:p({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&se({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};var nt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:e&&e.length>0&&e.map((n,a)=>{let{enableLink:o,link:s,richText:l,size:d}=n;return(0,$.jsxs)("div",{className:p(`col-span-4 lg:col-span-${r[d]}`,{"md:col-span-2":d!=="full"}),children:[l&&(0,$.jsx)(R,{content:l,enableGutter:!1}),o&&(0,$.jsx)(U,{...s})]},a)})})})};var at={content:nt,cta:ee,mediaBlock:J,imageBlock:J,features:ae},st=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,$.jsx)("section",{id:"render-blocks",children:e.map((n,a)=>{let{blockType:o}=n;if(o&&o in at){let s=at[o];if(s)return(0,$.jsx)("div",{className:"my-6",children:(0,$.jsx)(s,{...n})},a)}return null})}):null};var K=require("framer-motion");var lt=t=>{let[e,r]=(0,H.useState)(0),{blocks:n}=t,a=n&&Array.isArray(n)&&n.length>0,o=c=>{r(c)},s=()=>{r(c=>(c+1)%n.length)},l=()=>{r(c=>(c-1+n.length)%n.length)},u=(0,H.useCallback)(((c,g)=>{let k;return(...C)=>{clearTimeout(k),k=setTimeout(()=>c(...C),g)}})(c=>{c.deltaY>0?s():l()},300),[]),f=c=>{c.key==="ArrowDown"?s():c.key==="ArrowUp"&&l()};return(0,H.useEffect)(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",f),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",f)}),[]),(0,$.jsxs)("div",{className:"flex h-screen relative",children:[(0,$.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:a&&n.map((c,g)=>(0,$.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===g?"bg-accent":"bg-gray-300"}`,onClick:()=>o(g),children:(0,$.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:c.blockName})},c.id))}),n.map((c,g)=>(0,$.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${g===e?"opacity-100":"opacity-0"}`,children:(0,$.jsx)(st,{blocks:[c]})},g)),(0,$.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:s,children:(0,$.jsx)(Yt,{})})]})},Yt=()=>(0,$.jsx)(K.AnimatePresence,{children:(0,$.jsx)(K.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:p("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:(0,$.jsx)(K.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:p("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});var Wt={title:"Layouts/SlideShow",component:lt,tags:["autodocs"],argTypes:{}},Xt=Wt,qt={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};0&&(module.exports={Primary});
4
+ "use strict";"use client";var it=Object.create;var q=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,mt=Object.prototype.hasOwnProperty;var ut=(t,e)=>{for(var r in e)q(t,r,{get:e[r],enumerable:!0})},Se=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of dt(e))!mt.call(t,a)&&a!==r&&q(t,a,{get:()=>e[a],enumerable:!(n=ct(e,a))||n.enumerable});return t};var Z=(t,e,r)=>(r=t!=null?it(pt(t)):{},Se(e||!t||!t.__esModule?q(r,"default",{value:t,enumerable:!0}):r,t)),gt=t=>Se(q({},"__esModule",{value:!0}),t);var Zt={};ut(Zt,{Primary:()=>qt,default:()=>Xt});module.exports=gt(Zt);var H=require("react");var De=require("clsx");var fe="-",ft=t=>{let e=yt(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:s=>{let l=s.split(fe);return l[0]===""&&l.length!==1&&l.shift(),Me(l,e)||bt(s)},getConflictingClassGroupIds:(s,l)=>{let d=r[s]||[];return l&&n[s]?[...d,...n[s]]:d}}},Me=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),a=n?Me(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let o=t.join(fe);return(s=e.validators.find(({validator:l})=>l(o)))==null?void 0:s.classGroupId},Te=/^\[(.+)\]$/,bt=t=>{if(Te.test(t)){let e=Te.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},yt=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return wt(Object.entries(t.classGroups),r).forEach(([o,s])=>{ge(s,n,o,e)}),n},ge=(t,e,r,n)=>{t.forEach(a=>{if(typeof a=="string"){let o=a===""?e:Ie(e,a);o.classGroupId=r;return}if(typeof a=="function"){if(ht(a)){ge(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,s])=>{ge(s,Ie(e,o),r,n)})})},Ie=(t,e)=>{let r=t;return e.split(fe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ht=t=>t.isThemeGetter,wt=(t,e)=>e?t.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[e+s,l])):o);return[r,a]}):t,vt=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,a=(o,s)=>{r.set(o,s),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set(o,s){r.has(o)?r.set(o,s):a(o,s)}}},Ee="!",xt=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,a=e[0],o=e.length,s=l=>{let d=[],u=0,f=0,c;for(let w=0;w<l.length;w++){let v=l[w];if(u===0){if(v===a&&(n||l.slice(w,w+o)===e)){d.push(l.slice(f,w)),f=w+o;continue}if(v==="/"){c=w;continue}}v==="["?u++:v==="]"&&u--}let g=d.length===0?l:l.substring(f),k=g.startsWith(Ee),C=k?g.substring(1):g,h=c&&c>f?c-f:void 0;return{modifiers:d,hasImportantModifier:k,baseClassName:C,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:s}):s},kt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Ct=t=>({cache:vt(t.cacheSize),parseClassName:xt(t),...ft(t)}),At=/\s+/,Nt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=e,o=[],s=t.trim().split(At),l="";for(let d=s.length-1;d>=0;d-=1){let u=s[d],{modifiers:f,hasImportantModifier:c,baseClassName:g,maybePostfixModifierPosition:k}=r(u),C=!!k,h=n(C?g.substring(0,k):g);if(!h){if(!C){l=u+(l.length>0?" "+l:l);continue}if(h=n(g),!h){l=u+(l.length>0?" "+l:l);continue}C=!1}let w=kt(f).join(":"),v=c?w+Ee:w,A=v+h;if(o.includes(A))continue;o.push(A);let E=a(h,C);for(let z=0;z<E.length;++z){let Y=E[z];o.push(v+Y)}l=u+(l.length>0?" "+l:l)}return l};function Bt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=ze(e))&&(n&&(n+=" "),n+=r);return n}var ze=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=ze(t[n]))&&(r&&(r+=" "),r+=e);return r};function Pt(t,...e){let r,n,a,o=s;function s(d){let u=e.reduce((f,c)=>c(f),t());return r=Ct(u),n=r.cache.get,a=r.cache.set,o=l,l(d)}function l(d){let u=n(d);if(u)return u;let f=Nt(d,r);return a(d,f),f}return function(){return o(Bt.apply(null,arguments))}}var b=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Rt=/^\d+\/\d+$/,St=new Set(["px","full","screen"]),Tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\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$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Et=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)$-?((\d+)?\.?(\d+)[a-z]+|0)/,zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=t=>D(t)||St.has(t)||Rt.test(t),T=t=>U(t,"length",Vt),D=t=>!!t&&!Number.isNaN(Number(t)),ue=t=>U(t,"number",D),V=t=>!!t&&Number.isInteger(Number(t)),Ft=t=>t.endsWith("%")&&D(t.slice(0,-1)),i=t=>Fe.test(t),I=t=>Tt.test(t),Lt=new Set(["length","size","percentage"]),Gt=t=>U(t,Lt,Le),Dt=t=>U(t,"position",Le),Ut=new Set(["image","url"]),Ht=t=>U(t,Ut,jt),Ot=t=>U(t,"",Qt),Q=()=>!0,U=(t,e,r)=>{let n=Fe.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},Vt=t=>It.test(t)&&!Mt.test(t),Le=()=>!1,Qt=t=>Et.test(t),jt=t=>zt.test(t);var _t=()=>{let t=b("colors"),e=b("spacing"),r=b("blur"),n=b("brightness"),a=b("borderColor"),o=b("borderRadius"),s=b("borderSpacing"),l=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),c=b("invert"),g=b("gap"),k=b("gradientColorStops"),C=b("gradientColorStopPositions"),h=b("inset"),w=b("margin"),v=b("opacity"),A=b("padding"),E=b("saturate"),z=b("scale"),Y=b("sepia"),ke=b("skew"),Ce=b("space"),Ae=b("translate"),ce=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",i,e],y=()=>[i,e],Ne=()=>["",P,T],W=()=>["auto",D,i],Be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",i],Re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[D,i];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[P,T],blur:["none","",I,i],brightness:B(),borderColor:[t],borderRadius:["none","","full",I,i],borderSpacing:y(),borderWidth:Ne(),contrast:B(),grayscale:O(),hueRotate:B(),invert:O(),gap:y(),gradientColorStops:[t],gradientColorStopPositions:[Ft,T],inset:pe(),margin:pe(),opacity:B(),padding:y(),saturate:B(),scale:B(),sepia:O(),skew:B(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":Re()}],"break-before":[{"break-before":Re()}],"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(),i]}],overflow:[{overflow:de()}],"overflow-$":[{"overflow-$":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ce()}],"overscroll-$":[{"overscroll-$":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-$":[{"inset-$":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,i]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",V,i]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",V,i]},i]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[V,i]},i]}],"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",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[g]}],"gap-$":[{"gap-$":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...me()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...me(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...me(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],$:[{$:[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:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-$":[{"space-$":[Ce]}],"space-$-reverse":["space-$-reverse"],"space-y":[{"space-y":[Ce]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,e]}],"min-w":[{"min-w":[i,e,"min","max","fit"]}],"max-w":[{"max-w":[i,e,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,e,"auto","min","max","fit"]}],"font-size":[{text:["base",I,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[Q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",D,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,T]}],"underline-offset":[{"underline-offset":["auto",P,i]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Be(),Dt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","$","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ht]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-$":[{"border-$":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...X(),"hidden"]}],"divide-$":[{"divide-$":[l]}],"divide-$-reverse":["divide-$-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:X()}],"border-color":[{border:[a]}],"border-color-$":[{"border-$":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[P,i]}],"outline-w":[{outline:[P,T]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[P,T]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",I,Ot]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Pe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[E]}],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":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-$":[{"border-spacing-$":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-$":[{"scale-$":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[V,i]}],"translate-$":[{"translate-$":[Ae]}],"translate-y":[{"translate-y":[Ae]}],"skew-$":[{"skew-$":[ke]}],"skew-y":[{"skew-y":[ke]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","$",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-$":[{"scroll-$":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","$","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-$":[{"touch-pan":["$","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[P,T,ue]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-$","overflow-y"],overscroll:["overscroll-$","overscroll-y"],inset:["inset-$","inset-y","start","end","top","right","bottom","left"],"inset-$":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-$","gap-y"],$:["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-$","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-$":["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-$":["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-$":["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-$","touch-y","touch-pz"],"touch-$":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ge=Pt(_t);function m(...t){return Ge((0,De.clsx)(t))}var $=require("react/jsx-runtime"),Ue=({className:t,content:e,style:r})=>(0,$.jsx)("div",{className:m("mx-auto my-8 w-full",t),children:(0,$.jsx)("div",{className:m("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,$.jsx)(R,{content:e,enableGutter:!1,enableProse:!1})})});var He=require("@radix-ui/react-slot"),Oe=require("class-variance-authority"),Ve=Z(require("react")),Jt=(0,Oe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),j=Ve.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...a},o)=>(0,$.jsx)(t?He.Slot:"button",{className:m(Jt({className:e,size:r,variant:n})),ref:o,...a}));j.displayName="Button";var be=Z(require("next/link")),F=t=>{let{type:e,appearance:r="inline",children:n,className:a,label:o,newTab:s,reference:l,size:d,url:u}=t,f=e==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:u;if(!f)return null;let c=r==="link"?"clear":d,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,$.jsxs)(be.default,{className:m(a),href:f||u||"",...g,children:[o&&o,n&&n]}):(0,$.jsx)(j,{asChild:!0,className:a,size:c,variant:r,children:(0,$.jsxs)(be.default,{className:m(a),href:f||u||"",...g,children:[o&&o,n&&n]})})};var ee=({links:t,richText:e})=>(0,$.jsx)("div",{className:"container",children:(0,$.jsxs)("div",{className:"bg-card rounded border-border border $-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,$.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,$.jsx)(R,{className:"mb-0",content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,$.jsx)(F,{size:"lg",...r},n))})]})});var te=require("prism-react-renderer");var je=require("lucide-react");function Je({code:t}){let[e,r]=(0,H.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,$.jsx)("$",{children:e}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(je.ClipboardCopy,{})})]})})}var Ke=({code:t,language:e=""})=>t?(0,$.jsx)(te.Highlight,{code:t,language:e,theme:te.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,$.jsxs)("pre",{className:"bg-black $-4 border text-xs border-border rounded overflow-$-auto",children:[a.map((o,s)=>(0,$.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,$.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,$.jsx)("span",{className:"table-cell pl-4",children:o.map((l,d)=>(0,$.jsx)("span",{...n({token:l})},d))})]},s)),(0,$.jsx)(Je,{code:t})]})}):null;var Ye=({className:t,code:e,language:r})=>(0,$.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,$.jsx)(Ke,{code:e,language:r})});var Xe=Z(require("next/image")),Kt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},We="data:image/png;base64,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",qe=t=>{let{alt:e,fill:r,imgClassName:n,priority:a,resource:o,size:s,src:l,loading:d}=t,u,f,c=e,g=l||"";if(!g&&o&&typeof o=="object"){let{alt:h,filename:w,height:v,url:A,width:E}=o;u=E,f=v,c=h||"",g=A||We}let k=d||"lazy",C=s||Object.entries(Kt).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,$.jsx)("picture",{children:(0,$.jsx)(Xe.default,{alt:c||"",className:m(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:We,priority:k!=="lazy"&&a,quality:100,loading:k,sizes:C,src:g,width:r?void 0:u})})};var Ze=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $e=()=>{if(Ze){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var et=t=>{let{onClick:e,resource:r,videoClassName:n}=t,a=(0,H.useRef)(null);if((0,H.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$.jsx)("video",{autoPlay:!0,className:m(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,$.jsx)("source",{src:`${$e()}/media/${o}`})})}return null};var ne=t=>{var s;let{className:e,htmlElement:r="div",resource:n}=t,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,$.jsx)(r||H.Fragment,{...r!==null?{className:e}:{},children:a?(0,$.jsx)(et,{...t}):(0,$.jsx)(qe,{...t})})};var J=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,$.jsx)("div",{className:m("",{container:r},e),children:(0,$.jsx)(ne,{imgClassName:m("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var rt=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,$.jsx)("div",{className:m("",{container:r},e),children:(0,$.jsx)(ne,{imgClassName:m("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ae=({title:t,description:e,features:r,id:n})=>(0,$.jsxs)("section",{className:m("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,$.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,$.jsx)("$",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,$.jsx)("$",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,$.jsx)(R,{content:e,enableGutter:!1})}),(0,$.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let s=(0,$.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,$.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,$.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,$.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,$.jsx)("div",{className:"text-lg opacity-80",children:(0,$.jsx)(R,{content:a.content,enableGutter:!1})})]},o);return a.link?(0,$.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},o):s})})]});var le=Z(require("react"));function se({nodes:t}){return(0,$.jsx)(le.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,$.jsx)(le.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,$.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,$.jsx)("em",{children:o},r)),e.format&4&&(o=(0,$.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,$.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,$.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,$.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,$.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,$.jsx)("table",{children:(0,$.jsx)("tbody",{children:e.children.map((o,s)=>(0,$.jsx)("tr",{children:o.children.map((l,d)=>(0,$.jsx)("td",{children:se({nodes:l.children})},d))},s))})},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 s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return se({nodes:o.children})},a="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,$.jsx)(ee,{...o},r);case"mediaBlock":return(0,$.jsx)(J,{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,$.jsx)(rt,{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,$.jsx)(Ue,{className:"col-start-2 mb-4",...o},r);case"code":return(0,$.jsx)(Ye,{className:"col-start-2",...o},r);case"features":return(0,$.jsx)(ae,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,$.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,$.jsx)("$",{className:"col-start-2",children:a},r);case"heading":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},r)}case"list":{let o=e==null?void 0:e.tag;return(0,$.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,$.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},r):(0,$.jsx)("li",{value:e==null?void 0:e.value,children:a},r);case"quote":return(0,$.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=e.fields;return(0,$.jsx)(F,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=e.fields;return(0,$.jsx)(F,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var R=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var a;return e?(0,$.jsx)("div",{className:m({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&se({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};var nt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,$.jsx)("div",{className:"container my-6",children:(0,$.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-$-16",children:e&&e.length>0&&e.map((n,a)=>{let{enableLink:o,link:s,richText:l,size:d}=n;return(0,$.jsxs)("div",{className:m(`col-span-4 lg:col-span-${r[d]}`,{"md:col-span-2":d!=="full"}),children:[l&&(0,$.jsx)(R,{content:l,enableGutter:!1}),o&&(0,$.jsx)(F,{...s})]},a)})})})};var at={content:nt,cta:ee,mediaBlock:J,imageBlock:J,features:ae},st=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,$.jsx)("section",{id:"render-blocks",children:e.map((n,a)=>{let{blockType:o}=n;if(o&&o in at){let s=at[o];if(s)return(0,$.jsx)("div",{className:"my-6",children:(0,$.jsx)(s,{...n})},a)}return null})}):null};var K=require("framer-motion");var lt=t=>{let[e,r]=(0,H.useState)(0),{blocks:n}=t,a=n&&Array.isArray(n)&&n.length>0,o=c=>{r(c)},s=()=>{r(c=>(c+1)%n.length)},l=()=>{r(c=>(c-1+n.length)%n.length)},u=(0,H.useCallback)(((c,g)=>{let k;return(...C)=>{clearTimeout(k),k=setTimeout(()=>c(...C),g)}})(c=>{c.deltaY>0?s():l()},300),[]),f=c=>{c.key==="ArrowDown"?s():c.key==="ArrowUp"&&l()};return(0,H.useEffect)(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",f),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",f)}),[]),(0,$.jsxs)("div",{className:"flex h-screen relative",children:[(0,$.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:a&&n.map((c,g)=>(0,$.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===g?"bg-accent":"bg-gray-300"}`,onClick:()=>o(g),children:(0,$.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-$-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-$-2 transition-all duration-300",children:c.blockName})},c.id))}),n.map((c,g)=>(0,$.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${g===e?"opacity-100":"opacity-0"}`,children:(0,$.jsx)(st,{blocks:[c]})},g)),(0,$.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:s,children:(0,$.jsx)(Yt,{})})]})},Yt=()=>(0,$.jsx)(K.AnimatePresence,{children:(0,$.jsx)(K.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:m("w-fit min-h-[50px] min-w-[20px] $-1 border-2 rounded-full","border-gray-800"),children:(0,$.jsx)(K.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:m("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});var Wt={title:"Layouts/SlideShow",component:lt,tags:["autodocs"],argTypes:{}},Xt=Wt,qt={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};0&&(module.exports={Primary});
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use client";import{a as o}from"../../chunk-TA72YYXA.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-W7NOB7CY.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2R7F4VOJ.mjs";import"../../chunk-34NJELRZ.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-LCWZZNZR.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";var t={title:"Layouts/SlideShow",component:o,tags:["autodocs"],argTypes:{}},i=t,r={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};export{r as Primary,i as default};
4
+ "use client";import{a as o}from"../../chunk-LVUWQ35N.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-SJWN6J3F.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-IS5OUEJJ.mjs";import"../../chunk-HTO3HNQS.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";var t={title:"Layouts/SlideShow",component:o,tags:["autodocs"],argTypes:{}},i=t,r={args:{sections:[{id:"section1",title:"Section 1",color:"bg-red-500"},{id:"section2",title:"Section 2",color:"bg-blue-500"},{id:"section3",title:"Section 3",color:"bg-green-500"},{id:"section4",title:"Section 4",color:"bg-yellow-500"}]}};export{r as Primary,i as default};
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Tt=Object.create;var re=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var Et=(t,e)=>{for(var r in e)re(t,r,{get:e[r],enumerable:!0})},Ee=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Mt(e))!Ft.call(t,a)&&a!==r&&re(t,a,{get:()=>e[a],enumerable:!(n=It(e,a))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?Tt(zt(t)):{},Ee(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t)),Dt=t=>Ee(re({},"__esModule",{value:!0}),t);var hr={};Et(hr,{BlogCard:()=>Rt,BlogList:()=>yr,FeatureGrid:()=>De,NewsGrid:()=>ht,SlideShow:()=>ft,TextAndImages:()=>xt});module.exports=Dt(hr);var Le=require("react/jsx-runtime"),De=({children:t,cardsPerRow:e=3})=>{let r=`repeat(${e}, minmax(0, 1fr))`;return(0,Le.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:r},children:t})};var W=require("react");var Ye=require("clsx");var xe="-",Lt=t=>{let e=Ut(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:s=>{let i=s.split(xe);return i[0]===""&&i.length!==1&&i.shift(),He(i,e)||Gt(s)},getConflictingClassGroupIds:(s,i)=>{let p=r[s]||[];return i&&n[s]?[...p,...n[s]]:p}}},He=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),a=n?He(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let o=t.join(xe);return(s=e.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Ge=/^\[(.+)\]$/,Gt=t=>{if(Ge.test(t)){let e=Ge.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Ut=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return Ot(Object.entries(t.classGroups),r).forEach(([o,s])=>{he(s,n,o,e)}),n},he=(t,e,r,n)=>{t.forEach(a=>{if(typeof a=="string"){let o=a===""?e:Ue(e,a);o.classGroupId=r;return}if(typeof a=="function"){if(Ht(a)){he(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,s])=>{he(s,Ue(e,o),r,n)})})},Ue=(t,e)=>{let r=t;return e.split(xe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ht=t=>t.isThemeGetter,Ot=(t,e)=>e?t.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[e+s,i])):o);return[r,a]}):t,$t=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,a=(o,s)=>{r.set(o,s),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set(o,s){r.has(o)?r.set(o,s):a(o,s)}}},Oe="!",_t=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,a=e[0],o=e.length,s=i=>{let p=[],g=0,b=0,d;for(let w=0;w<i.length;w++){let k=i[w];if(g===0){if(k===a&&(n||i.slice(w,w+o)===e)){p.push(i.slice(b,w)),b=w+o;continue}if(k==="/"){d=w;continue}}k==="["?g++:k==="]"&&g--}let y=p.length===0?i:i.substring(b),N=y.startsWith(Oe),A=N?y.substring(1):y,v=d&&d>b?d-b:void 0;return{modifiers:p,hasImportantModifier:N,baseClassName:A,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},Vt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Wt=t=>({cache:$t(t.cacheSize),parseClassName:_t(t),...Lt(t)}),Yt=/\s+/,Qt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=e,o=[],s=t.trim().split(Yt),i="";for(let p=s.length-1;p>=0;p-=1){let g=s[p],{modifiers:b,hasImportantModifier:d,baseClassName:y,maybePostfixModifierPosition:N}=r(g),A=!!N,v=n(A?y.substring(0,N):y);if(!v){if(!A){i=g+(i.length>0?" "+i:i);continue}if(v=n(y),!v){i=g+(i.length>0?" "+i:i);continue}A=!1}let w=Vt(b).join(":"),k=d?w+Oe:w,P=k+v;if(o.includes(P))continue;o.push(P);let L=a(v,A);for(let G=0;G<L.length;++G){let Z=L[G];o.push(k+Z)}i=g+(i.length>0?" "+i:i)}return i};function jt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=$e(e))&&(n&&(n+=" "),n+=r);return n}var $e=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=$e(t[n]))&&(r&&(r+=" "),r+=e);return r};function Jt(t,...e){let r,n,a,o=s;function s(p){let g=e.reduce((b,d)=>d(b),t());return r=Wt(g),n=r.cache.get,a=r.cache.set,o=i,i(p)}function i(p){let g=n(p);if(g)return g;let b=Qt(p,r);return a(p,b),b}return function(){return o(jt.apply(null,arguments))}}var h=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},_e=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kt=/^\d+\/\d+$/,Xt=new Set(["px","full","screen"]),qt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Le|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=t=>$(t)||Xt.has(t)||Kt.test(t),F=t=>_(t,"length",dr),$=t=>!!t&&!Number.isNaN(Number(t)),ye=t=>_(t,"number",$),Q=t=>!!t&&Number.isInteger(Number(t)),or=t=>t.endsWith("%")&&$(t.slice(0,-1)),l=t=>_e.test(t),E=t=>qt.test(t),nr=new Set(["length","size","percentage"]),ar=t=>_(t,nr,Ve),sr=t=>_(t,"position",Ve),ir=new Set(["image","url"]),lr=t=>_(t,ir,mr),cr=t=>_(t,"",pr),j=()=>!0,_=(t,e,r)=>{let n=_e.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},dr=t=>Zt.test(t)&&!er.test(t),Ve=()=>!1,pr=t=>tr.test(t),mr=t=>rr.test(t);var ur=()=>{let t=h("colors"),e=h("spacing"),r=h("blur"),n=h("brightness"),a=h("borderColor"),o=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),p=h("contrast"),g=h("grayscale"),b=h("hueRotate"),d=h("invert"),y=h("gap"),N=h("gradientColorStops"),A=h("gradientColorStopPositions"),v=h("inset"),w=h("margin"),k=h("opacity"),P=h("padding"),L=h("saturate"),G=h("scale"),Z=h("sepia"),Se=h("skew"),Re=h("space"),Te=h("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,e],x=()=>[l,e],Ie=()=>["",I,F],ee=()=>["auto",$,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[$,l];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[I,F],blur:["none","",E,l],brightness:T(),borderColor:[t],borderRadius:["none","","full",E,l],borderSpacing:x(),borderWidth:Ie(),contrast:T(),grayscale:Y(),hueRotate:T(),invert:Y(),gap:x(),gradientColorStops:[t],gradientColorStopPositions:[or,F],inset:fe(),margin:fe(),opacity:T(),padding:x(),saturate:T(),scale:T(),sepia:Y(),skew:T(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-x":[{"overflow-x":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Q,l]}],basis:[{basis:fe()}],"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:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",Q,l]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",Q,l]},l]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[Q,l]},l]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"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:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],Le:[{Le:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],Le:[{Le:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Le:[{Le:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,e]}],"min-w":[{"min-w":[l,e,"min","max","fit"]}],"max-w":[{"max-w":[l,e,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[l,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,e,"auto","min","max","fit"]}],"font-size":[{text:["base",E,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ye]}],"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",l]}],"line-clamp":[{"line-clamp":["none",$,ye]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,F]}],"underline-offset":[{"underline-offset":["auto",I,l]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"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":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),sr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ar]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lr]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-W":[{"rounded-W":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:te()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[I,l]}],"outline-w":[{outline:[I,F]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[I,F]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",E,cr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[L]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[Q,l]}],"translate-x":[{"translate-x":[Te]}],"translate-y":[{"translate-y":[Te]}],"skew-x":[{"skew-x":[Se]}],"skew-y":[{"skew-y":[Se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",t]}],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","W-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Le":[{"scroll-Le":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-Le":[{"scroll-Le":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-Le":[{"scroll-Le":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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:[t,"none"]}],"stroke-w":[{stroke:[I,F,ye]}],stroke:[{stroke:[t,"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","Le","pr","pb","pl"],px:["pr","pl"],py:["Le","pb"],Le:["mx","my","ms","Le","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-W","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-W","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-Le":["scroll-mx","scroll-my","scroll-ms","scroll-Le","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-Le","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Le","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var We=Jt(ur);function c(...t){return We((0,Ye.clsx)(t))}var Qe=({className:t,content:e,style:r})=>(0,Le.jsx)("div",{className:c("mx-auto my-8 w-full",t),children:(0,Le.jsx)("div",{className:c("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,Le.jsx)(S,{content:e,enableGutter:!1,enableProse:!1})})});var je=require("@radix-ui/react-slot"),Je=require("class-variance-authority"),Ke=z(require("react")),gr=(0,Je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),J=Ke.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...a},o)=>(0,Le.jsx)(t?je.Slot:"button",{className:c(gr({className:e,size:r,variant:n})),ref:o,...a}));J.displayName="Button";var ve=z(require("next/link")),V=t=>{let{type:e,appearance:r="inline",children:n,className:a,label:o,newTab:s,reference:i,size:p,url:g}=t,b=e==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:g;if(!b)return null;let d=r==="link"?"clear":p,y=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Le.jsxs)(ve.default,{className:c(a),href:b||g||"",...y,children:[o&&o,n&&n]}):(0,Le.jsx)(J,{asChild:!0,className:a,size:d,variant:r,children:(0,Le.jsxs)(ve.default,{className:c(a),href:b||g||"",...y,children:[o&&o,n&&n]})})};var ne=({links:t,richText:e})=>(0,Le.jsx)("div",{className:"container",children:(0,Le.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,Le.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,Le.jsx)(S,{className:"mb-0",content:e,enableGutter:!1})}),(0,Le.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,Le.jsx)(V,{size:"lg",...r},n))})]})});var ae=require("prism-react-renderer");var qe=require("lucide-react");function et({code:t}){let[e,r]=(0,W.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Le.jsx)("div",{className:"flex justify-end align-middle",children:(0,Le.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,Le.jsx)("p",{children:e}),(0,Le.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Le.jsx)(qe.ClipboardCopy,{})})]})})}var tt=({code:t,language:e=""})=>t?(0,Le.jsx)(ae.Highlight,{code:t,language:e,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,Le.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,s)=>(0,Le.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Le.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Le.jsx)("span",{className:"table-cell pl-4",children:o.map((i,p)=>(0,Le.jsx)("span",{...n({token:i})},p))})]},s)),(0,Le.jsx)(et,{code:t})]})}):null;var rt=({className:t,code:e,language:r})=>(0,Le.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Le.jsx)(tt,{code:e,language:r})});var nt=z(require("next/image")),fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ot="data:image/png;base64,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",at=t=>{let{alt:e,fill:r,imgClassName:n,priority:a,resource:o,size:s,src:i,loading:p}=t,g,b,d=e,y=i||"";if(!y&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:P,width:L}=o;g=L,b=k,d=v||"",y=P||ot}let N=p||"lazy",A=s||Object.entries(fr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Le.jsx)("picture",{children:(0,Le.jsx)(nt.default,{alt:d||"",className:c(n),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:ot,priority:N!=="lazy"&&a,quality:100,loading:N,sizes:A,src:y,width:r?void 0:g})})};var st=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var it=()=>{if(st){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var lt=t=>{let{onClick:e,resource:r,videoClassName:n}=t,a=(0,W.useRef)(null);if((0,W.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Le.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,Le.jsx)("source",{src:`${it()}/media/${o}`})})}return null};var le=t=>{var s;let{className:e,htmlElement:r="div",resource:n}=t,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,Le.jsx)(r||W.Fragment,{...r!==null?{className:e}:{},children:a?(0,Le.jsx)(lt,{...t}):(0,Le.jsx)(at,{...t})})};var X=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,Le.jsx)("div",{className:c("",{container:r},e),children:(0,Le.jsx)(le,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var dt=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,Le.jsx)("div",{className:c("",{container:r},e),children:(0,Le.jsx)(le,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ce=({title:t,description:e,features:r,id:n})=>(0,Le.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Le.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Le.jsx)(S,{content:e,enableGutter:!1})}),(0,Le.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let s=(0,Le.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Le.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Le.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,Le.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,Le.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,Le.jsx)("div",{className:"text-lg opacity-80",children:(0,Le.jsx)(S,{content:a.content,enableGutter:!1})})]},o);return a.link?(0,Le.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},o):s})})]});var pe=z(require("react"));function de({nodes:t}){return(0,Le.jsx)(pe.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,Le.jsx)(pe.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,Le.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,Le.jsx)("em",{children:o},r)),e.format&4&&(o=(0,Le.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,Le.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,Le.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,Le.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,Le.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,Le.jsx)("table",{children:(0,Le.jsx)("tbody",{children:e.children.map((o,s)=>(0,Le.jsx)("tr",{children:o.children.map((i,p)=>(0,Le.jsx)("td",{children:de({nodes:i.children})},p))},s))})},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 s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return de({nodes:o.children})},a="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,Le.jsx)(ne,{...o},r);case"mediaBlock":return(0,Le.jsx)(X,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Le.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Le.jsx)(Qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Le.jsx)(rt,{className:"col-start-2",...o},r);case"features":return(0,Le.jsx)(ce,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,Le.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Le.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=e==null?void 0:e.tag;return(0,Le.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},r)}case"list":{let o=e==null?void 0:e.tag;return(0,Le.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,Le.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},r):(0,Le.jsx)("li",{value:e==null?void 0:e.value,children:a},r);case"quote":return(0,Le.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=e.fields;return(0,Le.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var S=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var a;return e?(0,Le.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&de({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};var mt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Le.jsx)("div",{className:"container my-6",children:(0,Le.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:e&&e.length>0&&e.map((n,a)=>{let{enableLink:o,link:s,richText:i,size:p}=n;return(0,Le.jsxs)("div",{className:c(`col-span-4 lg:col-span-${r[p]}`,{"md:col-span-2":p!=="full"}),children:[i&&(0,Le.jsx)(S,{content:i,enableGutter:!1}),o&&(0,Le.jsx)(V,{...s})]},a)})})})};var ut={content:mt,cta:ne,mediaBlock:X,imageBlock:X,features:ce},gt=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,Le.jsx)("section",{id:"render-blocks",children:e.map((n,a)=>{let{blockType:o}=n;if(o&&o in ut){let s=ut[o];if(s)return(0,Le.jsx)("div",{className:"my-6",children:(0,Le.jsx)(s,{...n})},a)}return null})}):null};var q=require("framer-motion");var ft=t=>{let[e,r]=(0,W.useState)(0),{blocks:n}=t,a=n&&Array.isArray(n)&&n.length>0,o=d=>{r(d)},s=()=>{r(d=>(d+1)%n.length)},i=()=>{r(d=>(d-1+n.length)%n.length)},g=(0,W.useCallback)(((d,y)=>{let N;return(...A)=>{clearTimeout(N),N=setTimeout(()=>d(...A),y)}})(d=>{d.deltaY>0?s():i()},300),[]),b=d=>{d.key==="ArrowDown"?s():d.key==="ArrowUp"&&i()};return(0,W.useEffect)(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",b),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",b)}),[]),(0,Le.jsxs)("div",{className:"flex h-screen relative",children:[(0,Le.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:a&&n.map((d,y)=>(0,Le.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===y?"bg-accent":"bg-gray-300"}`,onClick:()=>o(y),children:(0,Le.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:d.blockName})},d.id))}),n.map((d,y)=>(0,Le.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${y===e?"opacity-100":"opacity-0"}`,children:(0,Le.jsx)(gt,{blocks:[d]})},y)),(0,Le.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:s,children:(0,Le.jsx)(br,{})})]})},br=()=>(0,Le.jsx)(q.AnimatePresence,{children:(0,Le.jsx)(q.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:c("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:(0,Le.jsx)(q.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:c("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});var bt=z(require("next/link")),yt=z(require("next/image"));function ht({blogs:t,width:e=3}){return(0,Le.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Le.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${e} gap-6`,children:t&&t.map((r,n)=>{var a;return(0,Le.jsx)(bt.default,{href:`/insights/${r.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Le.jsxs)("div",{className:"relative size-full",children:[(0,Le.jsx)(yt.default,{src:((a=r.image)==null?void 0:a.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Le.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Le.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[r.authors&&r.authors.map(o=>`${o.name} \xB7 `),r.publishedAt&&new Date(r.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Le.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:r.title})]})]})},n)})})})}function xt({title:t,subtitle:e,description:r,missionTitle:n,missionDescription:a,images:o,raisedAmount:s,companiesCount:i,dealsClosed:p,leadsGenerated:g}){return(0,Le.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Le.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Le.jsxs)("div",{className:"max-w-4xl",children:[(0,Le.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:e}),(0,Le.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:t}),(0,Le.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:r})]}),(0,Le.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,Le.jsxs)("div",{className:"lg:pr-8",children:[(0,Le.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:n}),(0,Le.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,Le.jsx)("div",{className:"Le-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Le.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:o.map((b,d)=>(0,Le.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Le.jsx)("img",{alt:"",src:b,className:"block size-full object-cover"})},d))})}),(0,Le.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Le.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Le.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Le.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",s]})]}),(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[i,"Le"]})]}),(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[p,"Le"]})]}),(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[g,"Le"]})]})]})]})]})]})})}var vt=t=>{let e=t?new Date(t):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(e),n=e.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(e);return`${r} ${n}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(n)} ${a}`};function wt({subtitle:t,title:e,description:r,alignment:n="start",hasBottomSpacing:a=!1,className:o,invert:s=!1}){let i=c(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},o);return(0,Le.jsxs)("div",{className:i,children:[t&&(0,Le.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:t}),(0,Le.jsx)("h2",{className:c("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",s&&"text-gray-900"),children:e}),typeof r=="string"?r&&(0,Le.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,Le.jsx)(S,{content:r,enableGutter:!1})]})}function kt({children:t,isFluid:e=!1,isNoPadding:r=!1,className:n=""}){let a=c("container",e&&"full-width",r&&"no-padding",n);return(0,Le.jsx)("div",{className:a,children:t})}var Nt=(t,e)=>t[e%t.length];var At=z(require("next/link"));function Pe({children:t,href:e,openNewTab:r,...n}){return(0,Le.jsx)(At.default,{href:e,target:r?"_blank":"_self",...n,children:t})}var Be=z(require("next/image")),St=require("react-icons/fa6");function yr({blogs:t,sectionHeading:e}){return(0,Le.jsx)("section",{className:c("section-padding-primary overflow-hidden "),children:(0,Le.jsxs)(kt,{children:[(0,Le.jsx)("div",{className:"mx-auto max-w-[630px]",children:e&&(0,Le.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Le.jsx)(wt,{...e,alignment:"center",hasBottomSpacing:!0})})}),t&&t.length>0&&(0,Le.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:t.map((r,n)=>(0,Le.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Nt([200,400,600],n),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Le.jsx)(Rt,{...r})},n))})]})})}var Bt=c("inline-flex items-center gap-2 text-white"),mn=c("text-sm text-white");function Rt({slug:t,image:e,authors:r,title:n,publishedAt:a,categories:o}){return(0,Le.jsxs)("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Le.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,Le.jsx)(Be.default,{src:e.src,alt:e.alt,fill:!0,sizes:`
4
+ "use strict";var Tt=Object.create;var re=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var zt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var Et=(t,e)=>{for(var r in e)re(t,r,{get:e[r],enumerable:!0})},Ee=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Mt(e))!Ft.call(t,a)&&a!==r&&re(t,a,{get:()=>e[a],enumerable:!(n=It(e,a))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?Tt(zt(t)):{},Ee(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t)),Dt=t=>Ee(re({},"__esModule",{value:!0}),t);var hr={};Et(hr,{BlogCard:()=>Rt,BlogList:()=>yr,FeatureGrid:()=>De,NewsGrid:()=>ht,SlideShow:()=>ft,TextAndImages:()=>xt});module.exports=Dt(hr);var Le=require("react/jsx-runtime"),De=({children:t,cardsPerRow:e=3})=>{let r=`repeat(${e}, minmax(0, 1fr))`;return(0,Le.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:r},children:t})};var W=require("react");var Ye=require("clsx");var xe="-",Lt=t=>{let e=Ut(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:s=>{let i=s.split(xe);return i[0]===""&&i.length!==1&&i.shift(),He(i,e)||Gt(s)},getConflictingClassGroupIds:(s,i)=>{let p=r[s]||[];return i&&n[s]?[...p,...n[s]]:p}}},He=(t,e)=>{var s;if(t.length===0)return e.classGroupId;let r=t[0],n=e.nextPart.get(r),a=n?He(t.slice(1),n):void 0;if(a)return a;if(e.validators.length===0)return;let o=t.join(xe);return(s=e.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Ge=/^\[(.+)\]$/,Gt=t=>{if(Ge.test(t)){let e=Ge.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Ut=t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return Ot(Object.entries(t.classGroups),r).forEach(([o,s])=>{he(s,n,o,e)}),n},he=(t,e,r,n)=>{t.forEach(a=>{if(typeof a=="string"){let o=a===""?e:Ue(e,a);o.classGroupId=r;return}if(typeof a=="function"){if(Ht(a)){he(a(n),e,r,n);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,s])=>{he(s,Ue(e,o),r,n)})})},Ue=(t,e)=>{let r=t;return e.split(xe).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Ht=t=>t.isThemeGetter,Ot=(t,e)=>e?t.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[e+s,i])):o);return[r,a]}):t,$t=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map,a=(o,s)=>{r.set(o,s),e++,e>t&&(e=0,n=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=n.get(o))!==void 0)return a(o,s),s},set(o,s){r.has(o)?r.set(o,s):a(o,s)}}},Oe="!",_t=t=>{let{separator:e,experimentalParseClassName:r}=t,n=e.length===1,a=e[0],o=e.length,s=i=>{let p=[],f=0,b=0,d;for(let w=0;w<i.length;w++){let k=i[w];if(f===0){if(k===a&&(n||i.slice(w,w+o)===e)){p.push(i.slice(b,w)),b=w+o;continue}if(k==="/"){d=w;continue}}k==="["?f++:k==="]"&&f--}let y=p.length===0?i:i.substring(b),N=y.startsWith(Oe),A=N?y.substring(1):y,v=d&&d>b?d-b:void 0;return{modifiers:p,hasImportantModifier:N,baseClassName:A,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},Vt=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},Wt=t=>({cache:$t(t.cacheSize),parseClassName:_t(t),...Lt(t)}),Yt=/\s+/,Qt=(t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=e,o=[],s=t.trim().split(Yt),i="";for(let p=s.length-1;p>=0;p-=1){let f=s[p],{modifiers:b,hasImportantModifier:d,baseClassName:y,maybePostfixModifierPosition:N}=r(f),A=!!N,v=n(A?y.substring(0,N):y);if(!v){if(!A){i=f+(i.length>0?" "+i:i);continue}if(v=n(y),!v){i=f+(i.length>0?" "+i:i);continue}A=!1}let w=Vt(b).join(":"),k=d?w+Oe:w,P=k+v;if(o.includes(P))continue;o.push(P);let L=a(v,A);for(let G=0;G<L.length;++G){let Z=L[G];o.push(k+Z)}i=f+(i.length>0?" "+i:i)}return i};function jt(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=$e(e))&&(n&&(n+=" "),n+=r);return n}var $e=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=$e(t[n]))&&(r&&(r+=" "),r+=e);return r};function Jt(t,...e){let r,n,a,o=s;function s(p){let f=e.reduce((b,d)=>d(b),t());return r=Wt(f),n=r.cache.get,a=r.cache.set,o=i,i(p)}function i(p){let f=n(p);if(f)return f;let b=Qt(p,r);return a(p,b),b}return function(){return o(jt.apply(null,arguments))}}var h=t=>{let e=r=>r[t]||[];return e.isThemeGetter=!0,e},_e=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kt=/^\d+\/\d+$/,Xt=new Set(["px","full","screen"]),qt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|Le|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,er=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=t=>_(t)||Xt.has(t)||Kt.test(t),F=t=>V(t,"length",dr),_=t=>!!t&&!Number.isNaN(Number(t)),ye=t=>V(t,"number",_),Q=t=>!!t&&Number.isInteger(Number(t)),or=t=>t.endsWith("%")&&_(t.slice(0,-1)),l=t=>_e.test(t),E=t=>qt.test(t),nr=new Set(["length","size","percentage"]),ar=t=>V(t,nr,Ve),sr=t=>V(t,"position",Ve),ir=new Set(["image","url"]),lr=t=>V(t,ir,mr),cr=t=>V(t,"",pr),j=()=>!0,V=(t,e,r)=>{let n=_e.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},dr=t=>Zt.test(t)&&!er.test(t),Ve=()=>!1,pr=t=>tr.test(t),mr=t=>rr.test(t);var ur=()=>{let t=h("colors"),e=h("spacing"),r=h("blur"),n=h("brightness"),a=h("borderColor"),o=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),p=h("contrast"),f=h("grayscale"),b=h("hueRotate"),d=h("invert"),y=h("gap"),N=h("gradientColorStops"),A=h("gradientColorStopPositions"),v=h("inset"),w=h("margin"),k=h("opacity"),P=h("padding"),L=h("saturate"),G=h("scale"),Z=h("sepia"),Se=h("skew"),Re=h("space"),Te=h("translate"),ue=()=>["auto","contain","none"],ge=()=>["auto","hidden","clip","visible","scroll"],fe=()=>["auto",l,e],x=()=>[l,e],Ie=()=>["",I,F],ee=()=>["auto",_,l],Me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",l],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[_,l];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[I,F],blur:["none","",E,l],brightness:T(),borderColor:[t],borderRadius:["none","","full",E,l],borderSpacing:x(),borderWidth:Ie(),contrast:T(),grayscale:Y(),hueRotate:T(),invert:Y(),gap:x(),gradientColorStops:[t],gradientColorStopPositions:[or,F],inset:fe(),margin:fe(),opacity:T(),padding:x(),saturate:T(),scale:T(),sepia:Y(),skew:T(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Me(),l]}],overflow:[{overflow:ge()}],"overflow-x":[{"overflow-x":ge()}],"overflow-y":[{"overflow-y":ge()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Q,l]}],basis:[{basis:fe()}],"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:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",Q,l]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",Q,l]},l]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[Q,l]},l]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"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:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...be()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...be(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...be(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],Le:[{Le:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],Le:[{Le:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],Le:[{Le:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,e]}],"min-w":[{"min-w":[l,e,"min","max","fit"]}],"max-w":[{"max-w":[l,e,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[l,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,e,"auto","min","max","fit"]}],"font-size":[{text:["base",E,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ye]}],"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",l]}],"line-clamp":[{"line-clamp":["none",_,ye]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,F]}],"underline-offset":[{"underline-offset":["auto",I,l]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"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":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Me(),sr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ar]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lr]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-W":[{"rounded-W":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:te()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[I,l]}],"outline-w":[{outline:[I,F]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[I,F]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",E,cr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...ze(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ze()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",E,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[L]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[Q,l]}],"translate-x":[{"translate-x":[Te]}],"translate-y":[{"translate-y":[Te]}],"skew-x":[{"skew-x":[Se]}],"skew-y":[{"skew-y":[Se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",t]}],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","W-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Le":[{"scroll-Le":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-Le":[{"scroll-Le":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-Le":[{"scroll-Le":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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:[t,"none"]}],"stroke-w":[{stroke:[I,F,ye]}],stroke:[{stroke:[t,"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","Le","pr","pb","pl"],px:["pr","pl"],py:["Le","pb"],Le:["mx","my","ms","Le","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-W","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-W","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-Le":["scroll-mx","scroll-my","scroll-ms","scroll-Le","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-Le","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-Le","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var We=Jt(ur);function c(...t){return We((0,Ye.clsx)(t))}var Qe=({className:t,content:e,style:r})=>(0,Le.jsx)("div",{className:c("mx-auto my-8 w-full",t),children:(0,Le.jsx)("div",{className:c("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,Le.jsx)(S,{content:e,enableGutter:!1,enableProse:!1})})});var je=require("@radix-ui/react-slot"),Je=require("class-variance-authority"),Ke=z(require("react")),gr=(0,Je.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),J=Ke.forwardRef(({asChild:t=!1,className:e,size:r,variant:n,...a},o)=>(0,Le.jsx)(t?je.Slot:"button",{className:c(gr({className:e,size:r,variant:n})),ref:o,...a}));J.displayName="Button";var ve=z(require("next/link")),U=t=>{let{type:e,appearance:r="inline",children:n,className:a,label:o,newTab:s,reference:i,size:p,url:f}=t,b=e==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:f;if(!b)return null;let d=r==="link"?"clear":p,y=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Le.jsxs)(ve.default,{className:c(a),href:b||f||"",...y,children:[o&&o,n&&n]}):(0,Le.jsx)(J,{asChild:!0,className:a,size:d,variant:r,children:(0,Le.jsxs)(ve.default,{className:c(a),href:b||f||"",...y,children:[o&&o,n&&n]})})};var ne=({links:t,richText:e})=>(0,Le.jsx)("div",{className:"container",children:(0,Le.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,Le.jsx)("div",{className:"max-w-[48rem] flex items-center",children:e&&(0,Le.jsx)(S,{className:"mb-0",content:e,enableGutter:!1})}),(0,Le.jsx)("div",{className:"flex flex-col gap-8",children:(t||[]).map(({link:r},n)=>(0,Le.jsx)(U,{size:"lg",...r},n))})]})});var ae=require("prism-react-renderer");var qe=require("lucide-react");function et({code:t}){let[e,r]=(0,W.useState)("Copy");function n(){e==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Le.jsx)("div",{className:"flex justify-end align-middle",children:(0,Le.jsxs)(J,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(t),n()},children:[(0,Le.jsx)("p",{children:e}),(0,Le.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Le.jsx)(qe.ClipboardCopy,{})})]})})}var tt=({code:t,language:e=""})=>t?(0,Le.jsx)(ae.Highlight,{code:t,language:e,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,Le.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((o,s)=>(0,Le.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Le.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Le.jsx)("span",{className:"table-cell pl-4",children:o.map((i,p)=>(0,Le.jsx)("span",{...n({token:i})},p))})]},s)),(0,Le.jsx)(et,{code:t})]})}):null;var rt=({className:t,code:e,language:r})=>(0,Le.jsx)("div",{className:[t,"not-prose"].filter(Boolean).join(" "),children:(0,Le.jsx)(tt,{code:e,language:r})});var nt=z(require("next/image")),fr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},ot="data:image/png;base64,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",at=t=>{let{alt:e,fill:r,imgClassName:n,priority:a,resource:o,size:s,src:i,loading:p}=t,f,b,d=e,y=i||"";if(!y&&o&&typeof o=="object"){let{alt:v,filename:w,height:k,url:P,width:L}=o;f=L,b=k,d=v||"",y=P||ot}let N=p||"lazy",A=s||Object.entries(fr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Le.jsx)("picture",{children:(0,Le.jsx)(nt.default,{alt:d||"",className:c(n),fill:r,height:r?void 0:b,placeholder:"blur",blurDataURL:ot,priority:N!=="lazy"&&a,quality:100,loading:N,sizes:A,src:y,width:r?void 0:f})})};var st=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var it=()=>{if(st){let t=window.location.protocol,e=window.location.hostname,r=window.location.port;return`${t}//${e}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var lt=t=>{let{onClick:e,resource:r,videoClassName:n}=t,a=(0,W.useRef)(null);if((0,W.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Le.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:e,playsInline:!0,ref:a,children:(0,Le.jsx)("source",{src:`${it()}/media/${o}`})})}return null};var le=t=>{var s;let{className:e,htmlElement:r="div",resource:n}=t,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,Le.jsx)(r||W.Fragment,{...r!==null?{className:e}:{},children:a?(0,Le.jsx)(lt,{...t}):(0,Le.jsx)(at,{...t})})};var X=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,Le.jsx)("div",{className:c("",{container:r},e),children:(0,Le.jsx)(le,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var dt=t=>{let{className:e,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=t;return(0,Le.jsx)("div",{className:c("",{container:r},e),children:(0,Le.jsx)(le,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var ce=({title:t,description:e,features:r,id:n})=>(0,Le.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[t&&(0,Le.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:t}),e&&typeof e=="string"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&(0,Le.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Le.jsx)(S,{content:e,enableGutter:!1})}),(0,Le.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{let s=(0,Le.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Le.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Le.jsx)("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),(0,Le.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&(0,Le.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&(0,Le.jsx)("div",{className:"text-lg opacity-80",children:(0,Le.jsx)(S,{content:a.content,enableGutter:!1})})]},o);return a.link?(0,Le.jsx)("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:s},o):s})})]});var pe=z(require("react"));function de({nodes:t}){return(0,Le.jsx)(pe.Fragment,{children:t==null?void 0:t.map((e,r)=>{if(e==null)return null;if(e.type==="text"){let o=(0,Le.jsx)(pe.default.Fragment,{children:e.text},r);return e.format&1&&(o=(0,Le.jsx)("strong",{children:o},r)),e.format&2&&(o=(0,Le.jsx)("em",{children:o},r)),e.format&4&&(o=(0,Le.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),e.format&8&&(o=(0,Le.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),e.format&16&&(o=(0,Le.jsx)("code",{children:e.text},r)),e.format&32&&(o=(0,Le.jsx)("sub",{children:o},r)),e.format&64&&(o=(0,Le.jsx)("sup",{children:o},r)),o}if(e.type==="table")return(0,Le.jsx)("table",{children:(0,Le.jsx)("tbody",{children:e.children.map((o,s)=>(0,Le.jsx)("tr",{children:o.children.map((i,p)=>(0,Le.jsx)("td",{children:de({nodes:i.children})},p))},s))})},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 s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return de({nodes:o.children})},a="children"in e?n(e):"";if(e.type==="block"){let o=e.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,Le.jsx)(ne,{...o},r);case"mediaBlock":return(0,Le.jsx)(X,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Le.jsx)(dt,{className:"col-start-1 col-span-3",imgClassName:"Le-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Le.jsx)(Qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Le.jsx)(rt,{className:"col-start-2",...o},r);case"features":return(0,Le.jsx)(ce,{...o},r);default:return null}}else switch(e.type){case"linebreak":return(0,Le.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Le.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=e==null?void 0:e.tag;return(0,Le.jsx)(o,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:a},r)}case"list":{let o=e==null?void 0:e.tag;return(0,Le.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(e==null?void 0:e.checked)!=null?(0,Le.jsx)("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:a},r):(0,Le.jsx)("li",{value:e==null?void 0:e.value,children:a},r);case"quote":return(0,Le.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=e.fields;return(0,Le.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=e.fields;return(0,Le.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var S=({className:t,content:e,enableGutter:r=!0,enableProse:n=!0})=>{var a;return e?(0,Le.jsx)("div",{className:c({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},t),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&de({nodes:(a=e==null?void 0:e.root)==null?void 0:a.children})}):null};var mt=t=>{let{columns:e}=t,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Le.jsx)("div",{className:"container my-6",children:(0,Le.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:e&&e.length>0&&e.map((n,a)=>{let{enableLink:o,link:s,richText:i,size:p}=n;return(0,Le.jsxs)("div",{className:c(`col-span-4 lg:col-span-${r[p]}`,{"md:col-span-2":p!=="full"}),children:[i&&(0,Le.jsx)(S,{content:i,enableGutter:!1}),o&&(0,Le.jsx)(U,{...s})]},a)})})})};var ut={content:mt,cta:ne,mediaBlock:X,imageBlock:X,features:ce},gt=t=>{let{blocks:e}=t;return e&&Array.isArray(e)&&e.length>0?(0,Le.jsx)("section",{id:"render-blocks",children:e.map((n,a)=>{let{blockType:o}=n;if(o&&o in ut){let s=ut[o];if(s)return(0,Le.jsx)("div",{className:"my-6",children:(0,Le.jsx)(s,{...n})},a)}return null})}):null};var q=require("framer-motion");var ft=t=>{let[e,r]=(0,W.useState)(0),{blocks:n}=t,a=n&&Array.isArray(n)&&n.length>0,o=d=>{r(d)},s=()=>{r(d=>(d+1)%n.length)},i=()=>{r(d=>(d-1+n.length)%n.length)},f=(0,W.useCallback)(((d,y)=>{let N;return(...A)=>{clearTimeout(N),N=setTimeout(()=>d(...A),y)}})(d=>{d.deltaY>0?s():i()},300),[]),b=d=>{d.key==="ArrowDown"?s():d.key==="ArrowUp"&&i()};return(0,W.useEffect)(()=>(window.addEventListener("wheel",f),window.addEventListener("keydown",b),()=>{window.removeEventListener("wheel",f),window.removeEventListener("keydown",b)}),[]),(0,Le.jsxs)("div",{className:"flex h-screen relative",children:[(0,Le.jsx)("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:a&&n.map((d,y)=>(0,Le.jsx)("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${e===y?"bg-accent":"bg-gray-300"}`,onClick:()=>o(y),children:(0,Le.jsx)("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:d.blockName})},d.id))}),n.map((d,y)=>(0,Le.jsx)("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${y===e?"opacity-100":"opacity-0"}`,children:(0,Le.jsx)(gt,{blocks:[d]})},y)),(0,Le.jsx)("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:s,children:(0,Le.jsx)(br,{})})]})},br=()=>(0,Le.jsx)(q.AnimatePresence,{children:(0,Le.jsx)(q.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:c("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:(0,Le.jsx)(q.motion.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:c("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});var bt=z(require("next/link")),yt=z(require("next/image"));function ht({blogs:t,width:e=3}){return(0,Le.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,Le.jsx)("div",{className:`grid md:grid-cols-2 lg:grid-cols-${e} gap-6`,children:t&&t.map((r,n)=>{var a;return(0,Le.jsx)(bt.default,{href:`/insights/${r.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,Le.jsxs)("div",{className:"relative size-full",children:[(0,Le.jsx)(yt.default,{src:((a=r.image)==null?void 0:a.src)||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Le.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,Le.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[r.authors&&r.authors.map(o=>`${o.name} \xB7 `),r.publishedAt&&new Date(r.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,Le.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:r.title})]})]})},n)})})})}function xt({title:t,subtitle:e,description:r,missionTitle:n,missionDescription:a,images:o,raisedAmount:s,companiesCount:i,dealsClosed:p,leadsGenerated:f}){return(0,Le.jsx)("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:(0,Le.jsxs)("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[(0,Le.jsxs)("div",{className:"max-w-4xl",children:[(0,Le.jsx)("p",{className:"text-base/7 font-semibold text-indigo-600",children:e}),(0,Le.jsx)("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:t}),(0,Le.jsx)("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:r})]}),(0,Le.jsxs)("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[(0,Le.jsxs)("div",{className:"lg:pr-8",children:[(0,Le.jsx)("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:n}),(0,Le.jsx)("p",{className:"mt-6 text-base/7 text-gray-600",children:a})]}),(0,Le.jsx)("div",{className:"Le-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:(0,Le.jsx)("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:o.map((b,d)=>(0,Le.jsx)("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:(0,Le.jsx)("img",{alt:"",src:b,className:"block size-full object-cover"})},d))})}),(0,Le.jsxs)("div",{className:"max-lg:mt-16 lg:col-span-1",children:[(0,Le.jsx)("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),(0,Le.jsx)("hr",{className:"mt-6 border-t border-gray-200"}),(0,Le.jsxs)("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",s]})]}),(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[i,"Le"]})]}),(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[p,"Le"]})]}),(0,Le.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,Le.jsx)("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),(0,Le.jsxs)("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[f,"Le"]})]})]})]})]})]})})}var vt=t=>{let e=t?new Date(t):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(e),n=e.getDate(),a=new Intl.DateTimeFormat("en-US",{month:"short"}).format(e);return`${r} ${n}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(n)} ${a}`};function wt({subtitle:t,title:e,description:r,alignment:n="start",hasBottomSpacing:a=!1,className:o,invert:s=!1}){let i=c(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":a},o);return(0,$.jsxs)("div",{className:i,children:[t&&(0,$.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:t}),(0,$.jsx)("h2",{className:c("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",s&&"text-gray-900"),children:e}),typeof r=="string"?r&&(0,$.jsx)("p",{className:"mt-5 whitespace-pre-line",children:r}):r&&(0,$.jsx)(S,{content:r,enableGutter:!1})]})}function kt({children:t,isFluid:e=!1,isNoPadding:r=!1,className:n=""}){let a=c("container",e&&"full-width",r&&"no-padding",n);return(0,Le.jsx)("div",{className:a,children:t})}var Nt=(t,e)=>t[e%t.length];var At=z(require("next/link"));function Pe({children:t,href:e,openNewTab:r,...n}){return(0,Le.jsx)(At.default,{href:e,target:r?"_blank":"_self",...n,children:t})}var Be=z(require("next/image")),St=require("react-icons/fa6");function yr({blogs:t,sectionHeading:e}){return(0,Le.jsx)("section",{className:c("section-padding-primary overflow-hidden "),children:(0,Le.jsxs)(kt,{children:[(0,Le.jsx)("div",{className:"mx-auto max-w-[630px]",children:e&&(0,Le.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Le.jsx)(wt,{...e,alignment:"center",hasBottomSpacing:!0})})}),t&&t.length>0&&(0,Le.jsx)("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:t.map((r,n)=>(0,Le.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Nt([200,400,600],n),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:(0,Le.jsx)(Rt,{...r})},n))})]})})}var Bt=c("inline-flex items-center gap-2 text-white"),mn=c("text-sm text-white");function Rt({slug:t,image:e,authors:r,title:n,publishedAt:a,categories:o}){return(0,Le.jsxs)("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Le.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,Le.jsx)(Be.default,{src:e.src,alt:e.alt,fill:!0,sizes:`
5
5
  (min-width:768px) 50vw,
6
6
  (min-width:1024px) 33vw,
7
7
  100vw
@@ -1 +1 @@
1
- import{a as d}from"../../chunk-L2CGDHVO.mjs";import{a}from"../../chunk-CSWXKGJE.mjs";import{a as c}from"../../chunk-7DINW2AE.mjs";import{a as b}from"../../chunk-TA72YYXA.mjs";import{a as e,b as f}from"../../chunk-GBLZNN44.mjs";import"../../chunk-SV7NMNDI.mjs";import"../../chunk-3GDRM3XB.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-W7NOB7CY.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2R7F4VOJ.mjs";import"../../chunk-34NJELRZ.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-LCWZZNZR.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{f as BlogCard,e as BlogList,a as FeatureGrid,c as NewsGrid,b as SlideShow,d as TextAndImages};
1
+ import{a as d}from"../../chunk-L2CGDHVO.mjs";import{a}from"../../chunk-CSWXKGJE.mjs";import{a as c}from"../../chunk-7DINW2AE.mjs";import{a as b}from"../../chunk-LVUWQ35N.mjs";import{a as e,b as f}from"../../chunk-62YZZSOX.mjs";import"../../chunk-SV7NMNDI.mjs";import"../../chunk-L44KSGUG.mjs";import"../../chunk-53QLSQCO.mjs";import"../../chunk-6HFYLEVF.mjs";import"../../chunk-SJWN6J3F.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-EPTHSTUM.mjs";import"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import"../../chunk-JCH2CCQ7.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2LJVMEWU.mjs";import"../../chunk-IS5OUEJJ.mjs";import"../../chunk-HTO3HNQS.mjs";import"../../chunk-H7D3PZKE.mjs";import"../../chunk-IQPZEEYJ.mjs";import"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{f as BlogCard,e as BlogList,a as FeatureGrid,c as NewsGrid,b as SlideShow,d as TextAndImages};