cortex-react-components 1.48.5 → 1.48.7

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 (185) hide show
  1. package/dist/{chunk-74KJ5V34.mjs → chunk-4J2HMR3M.mjs} +1 -1
  2. package/dist/{chunk-ABQMNGD4.mjs → chunk-4Z5RNIJS.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  4. package/dist/chunk-6LTYVYSU.mjs +1 -0
  5. package/dist/chunk-7QQXXEMN.mjs +1 -0
  6. package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
  7. package/dist/{chunk-6FRJZXX4.mjs → chunk-B4N2AO3O.mjs} +1 -1
  8. package/dist/chunk-D4NKFRUO.mjs +1 -0
  9. package/dist/{chunk-V6QZFOJH.mjs → chunk-DIPGFDJV.mjs} +1 -1
  10. package/dist/{chunk-7FMMXR7S.mjs → chunk-DLCGGIZW.mjs} +1 -1
  11. package/dist/{chunk-5SEB2VCD.mjs → chunk-E2LKSCDR.mjs} +1 -1
  12. package/dist/{chunk-LIAT3JG5.mjs → chunk-EFL3B4LN.mjs} +1 -1
  13. package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
  14. package/dist/{chunk-RRL4ZH6T.mjs → chunk-FZ2WYNIY.mjs} +1 -1
  15. package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
  16. package/dist/{chunk-DESYC5BB.mjs → chunk-GHBJK554.mjs} +1 -1
  17. package/dist/{chunk-BWT2MAIT.mjs → chunk-HZRY77JK.mjs} +1 -1
  18. package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
  19. package/dist/{chunk-72Z4T7BT.mjs → chunk-I5EBXVLE.mjs} +1 -1
  20. package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
  21. package/dist/{chunk-RY75YBKF.mjs → chunk-JRCLJPTB.mjs} +1 -1
  22. package/dist/{chunk-TUQRCNY6.mjs → chunk-K56DRD3X.mjs} +1 -1
  23. package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
  24. package/dist/{chunk-FR65RGJD.mjs → chunk-OWEP2U4M.mjs} +1 -1
  25. package/dist/{chunk-JBRBY7EX.mjs → chunk-PVFLV5NN.mjs} +1 -1
  26. package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
  27. package/dist/{chunk-N25OHVNY.mjs → chunk-QZA2ZGA2.mjs} +1 -1
  28. package/dist/{chunk-Y6CZVVJF.mjs → chunk-RHPFEIP4.mjs} +1 -1
  29. package/dist/{chunk-GOMLTG5W.mjs → chunk-RZTXT4UD.mjs} +1 -1
  30. package/dist/{chunk-EQFBRT7L.mjs → chunk-T3M2VHKT.mjs} +1 -1
  31. package/dist/chunk-U273RBBL.mjs +1 -0
  32. package/dist/{chunk-VQXQZ5TQ.mjs → chunk-WX5WBQM3.mjs} +1 -1
  33. package/dist/{chunk-NRE4HHK7.mjs → chunk-XB5YGSYM.mjs} +1 -1
  34. package/dist/{chunk-KTVHPTON.mjs → chunk-XBQBJTNI.mjs} +1 -1
  35. package/dist/chunk-YKY5E6KS.mjs +1 -0
  36. package/dist/{chunk-A2CXTTX4.mjs → chunk-YQUBQIDC.mjs} +1 -1
  37. package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
  38. package/dist/{chunk-JGAQ62DH.mjs → chunk-ZYDXLN4L.mjs} +1 -1
  39. package/dist/components/Blocks/Banner.js +1 -1
  40. package/dist/components/Blocks/Banner.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.js +1 -1
  42. package/dist/components/Blocks/CallToAction.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  44. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  45. package/dist/components/Blocks/Content.js +1 -1
  46. package/dist/components/Blocks/Content.mjs +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  51. package/dist/components/Blocks/ImageBlock.js +1 -1
  52. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  53. package/dist/components/Blocks/MediaBlock.js +1 -1
  54. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  55. package/dist/components/Blocks/RelatedPosts.js +1 -1
  56. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  57. package/dist/components/Blocks/RenderBlocks.d.ts +4 -0
  58. package/dist/components/Blocks/RenderBlocks.js +1 -1
  59. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  60. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  61. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  62. package/dist/components/Blocks/index.js +1 -1
  63. package/dist/components/Blocks/index.mjs +1 -1
  64. package/dist/components/CRM/DealDetails.mjs +1 -1
  65. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  66. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  67. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  68. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  69. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  70. package/dist/components/CRM/NewDealForm.mjs +1 -1
  71. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  72. package/dist/components/CRM/index.mjs +1 -1
  73. package/dist/components/Cards/ContentCard.js +1 -1
  74. package/dist/components/Cards/ContentCard.mjs +1 -1
  75. package/dist/components/Cards/ContentCard.stories.js +1 -1
  76. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  77. package/dist/components/Cards/index.js +1 -1
  78. package/dist/components/Cards/index.mjs +1 -1
  79. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  80. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  81. package/dist/components/HeaderFooter/Header.mjs +1 -1
  82. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  83. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  84. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  85. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  86. package/dist/components/HeaderFooter/index.mjs +1 -1
  87. package/dist/components/Heros/HighImpact/index.js +1 -1
  88. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  89. package/dist/components/Heros/LowImpact/index.js +1 -1
  90. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  91. package/dist/components/Heros/MediumImpact/index.js +1 -1
  92. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  93. package/dist/components/Heros/PostHero/index.mjs +1 -1
  94. package/dist/components/Heros/RenderHero.js +1 -1
  95. package/dist/components/Heros/RenderHero.mjs +1 -1
  96. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  97. package/dist/components/Heros/index.js +1 -1
  98. package/dist/components/Heros/index.mjs +1 -1
  99. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  100. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  101. package/dist/components/Holidays/index.mjs +1 -1
  102. package/dist/components/Layouts/BlogList.js +3 -3
  103. package/dist/components/Layouts/BlogList.mjs +1 -1
  104. package/dist/components/Layouts/BlogList.stories.js +1 -1
  105. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  106. package/dist/components/Layouts/SlideShow.js +1 -1
  107. package/dist/components/Layouts/SlideShow.mjs +1 -1
  108. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  109. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  110. package/dist/components/Layouts/index.js +3 -3
  111. package/dist/components/Layouts/index.mjs +1 -1
  112. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  113. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  114. package/dist/components/Menus/SidebarRight.mjs +1 -1
  115. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  116. package/dist/components/Menus/index.mjs +1 -1
  117. package/dist/components/Payload/RichText/index.js +1 -1
  118. package/dist/components/Payload/RichText/index.mjs +1 -1
  119. package/dist/components/Payload/RichText/serialize.js +1 -1
  120. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  121. package/dist/components/Payload/RichText.stories.js +1 -1
  122. package/dist/components/Payload/RichText.stories.mjs +1 -1
  123. package/dist/components/Payload/index.js +1 -1
  124. package/dist/components/Payload/index.mjs +1 -1
  125. package/dist/components/index.js +6 -6
  126. package/dist/components/index.mjs +1 -1
  127. package/dist/components/ui/index.mjs +1 -1
  128. package/dist/components/ui/sidebar.mjs +1 -1
  129. package/dist/globals.css +1 -1
  130. package/dist/index.js +8 -8
  131. package/dist/index.mjs +1 -1
  132. package/dist/metafile-cjs.json +1 -1
  133. package/dist/metafile-esm.json +1 -1
  134. package/dist/pages/Blog.js +1 -1
  135. package/dist/pages/Blog.mjs +1 -1
  136. package/dist/pages/Blog.stories.js +1 -1
  137. package/dist/pages/Blog.stories.mjs +1 -1
  138. package/dist/pages/Documentation.mjs +1 -1
  139. package/dist/pages/Documentation.stories.mjs +1 -1
  140. package/dist/pages/IndexPage.mjs +1 -1
  141. package/dist/pages/IndexPage.stories.mjs +1 -1
  142. package/dist/pages/Intranet.mjs +1 -1
  143. package/dist/pages/Intranet.stories.mjs +1 -1
  144. package/dist/pages/LandingPage.mjs +1 -1
  145. package/dist/pages/LandingPage.stories.mjs +1 -1
  146. package/dist/pages/Page.js +1 -1
  147. package/dist/pages/Page.mjs +1 -1
  148. package/dist/pages/Page.stories.js +85 -85
  149. package/dist/pages/Page.stories.mjs +1 -1
  150. package/dist/pages/Publish.js +1 -1
  151. package/dist/pages/Publish.mjs +1 -1
  152. package/dist/pages/Publish.stories.js +1 -1
  153. package/dist/pages/Publish.stories.mjs +1 -1
  154. package/dist/pages/Website.js +1 -1
  155. package/dist/pages/Website.mjs +1 -1
  156. package/dist/pages/Website.stories.js +2 -2
  157. package/dist/pages/Website.stories.mjs +1 -1
  158. package/dist/sections/AboutSection.js +1 -1
  159. package/dist/sections/AboutSection.mjs +1 -1
  160. package/dist/sections/AboutSection.stories.js +1 -1
  161. package/dist/sections/AboutSection.stories.mjs +1 -1
  162. package/dist/sections/BlogDetail.js +1 -1
  163. package/dist/sections/BlogDetail.mjs +1 -1
  164. package/dist/sections/BlogDetail.stories.js +1 -1
  165. package/dist/sections/BlogDetail.stories.mjs +1 -1
  166. package/dist/sections/BlogListSection.mjs +1 -1
  167. package/dist/sections/BlogListSection.stories.mjs +1 -1
  168. package/dist/sections/ContactSection.js +1 -1
  169. package/dist/sections/ContactSection.mjs +1 -1
  170. package/dist/sections/ContactSection.stories.js +1 -1
  171. package/dist/sections/ContactSection.stories.mjs +1 -1
  172. package/dist/sections/ImageSection.stories.js +1 -1
  173. package/dist/sections/ImageSection.stories.mjs +1 -1
  174. package/dist/sections/PricingSection.js +1 -1
  175. package/dist/sections/PricingSection.mjs +1 -1
  176. package/dist/sections/PricingSection.stories.js +1 -1
  177. package/dist/sections/PricingSection.stories.mjs +1 -1
  178. package/dist/sections/form/index.mjs +1 -1
  179. package/dist/sections/index.js +1 -1
  180. package/dist/sections/index.mjs +1 -1
  181. package/package.json +1 -1
  182. package/dist/chunk-7FR5BXX2.mjs +0 -1
  183. package/dist/chunk-D2VK2HQD.mjs +0 -1
  184. package/dist/chunk-PVRWMAHW.mjs +0 -1
  185. package/dist/chunk-WKHESSJP.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var nt=Object.create;var Y=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var lt=Object.getPrototypeOf,it=Object.prototype.hasOwnProperty;var ct=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of at(t))!it.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=st(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?nt(lt(e)):{},Ce(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),dt=e=>Ce(Y({},"__esModule",{value:!0}),e);var Xt={};ct(Xt,{Default:()=>Yt,default:()=>_t});module.exports=dt(Xt);var Me=require("clsx");var ce="-",pt=e=>{let t=mt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ce);return a[0]===""&&a.length!==1&&a.shift(),Pe(a,t)||ut(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Pe=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Pe(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ce);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ae=/^\[(.+)\]$/,ut=e=>{if(Ae.test(e)){let t=Ae.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},mt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ft(Object.entries(e.classGroups),r).forEach(([o,l])=>{ie(l,n,o,t)}),n},ie=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ne(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(gt(s)){ie(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ie(l,Ne(t,o),r,n)})})},Ne=(e,t)=>{let r=e;return t.split(ce).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},gt=e=>e.isThemeGetter,ft=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Be="!",yt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],u=0,m=0,h;for(let y=0;y<a.length;y++){let w=a[y];if(u===0){if(w===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(m,y)),m=y+o;continue}if(w==="/"){h=y;continue}}w==="["?u++:w==="]"&&u--}let x=c.length===0?a:a.substring(m),A=x.startsWith(Be),N=A?x.substring(1):x,b=h&&h>m?h-m:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},xt=e=>({cache:bt(e.cacheSize),parseClassName:yt(e),...pt(e)}),wt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(wt),a="";for(let c=l.length-1;c>=0;c-=1){let u=l[c],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=r(u),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){a=u+(a.length>0?" "+a:a);continue}if(b=n(x),!b){a=u+(a.length>0?" "+a:a);continue}N=!1}let y=ht(m).join(":"),w=h?y+Be:y,C=w+b;if(o.includes(C))continue;o.push(C);let z=s(b,N);for(let E=0;E<z.length;++E){let J=z[E];o.push(w+J)}a=u+(a.length>0?" "+a:a)}return a};function kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Re(t))&&(n&&(n+=" "),n+=r);return n}var Re=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Re(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ct(e,...t){let r,n,s,o=l;function l(c){let u=t.reduce((m,h)=>h(m),e());return r=xt(u),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let m=vt(c,r);return s(c,m),m}return function(){return o(kt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Te=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),Pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bt=/\d+(%|px|r?em|[sdl]?q([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$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,It=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>D(e)||Nt.has(e)||At.test(e),I=e=>L(e,"length",Lt),D=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",D),H=e=>!!e&&Number.isInteger(Number(e)),St=e=>e.endsWith("%")&&D(e.slice(0,-1)),i=e=>Te.test(e),S=e=>Pt.test(e),Mt=new Set(["length","size","percentage"]),zt=e=>L(e,Mt,Ie),Et=e=>L(e,"position",Ie),Ft=new Set(["image","url"]),Gt=e=>L(e,Ft,Ht),Dt=e=>L(e,"",Ut),V=()=>!0,L=(e,t,r)=>{let n=Te.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Lt=e=>Bt.test(e)&&!Rt.test(e),Ie=()=>!1,Ut=e=>Tt.test(e),Ht=e=>It.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),u=g("grayscale"),m=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),w=g("opacity"),C=g("padding"),z=g("saturate"),E=g("scale"),J=g("sepia"),be=g("skew"),ye=g("space"),he=g("translate"),oe=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],f=()=>[i,t],xe=()=>["",R,I],_=()=>["auto",D,i],we=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",i],ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[D,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[R,I],blur:["none","",S,i],brightness:B(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:f(),borderWidth:xe(),contrast:B(),grayscale:U(),hueRotate:B(),invert:U(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[St,I],inset:se(),margin:se(),opacity:B(),padding:f(),saturate:B(),scale:B(),sepia:U(),skew:B(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ke()}],"break-before":[{"break-before":ke()}],"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:[...we(),i]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],q:[{q:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],q:[{q:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],q:[{q:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",D,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,I]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...we(),Et]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[R,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Dt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ve(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ve()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"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:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[he]}],"translate-y":[{"translate-y":[he]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-q":[{"scroll-q":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-q":[{"scroll-q":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-q":[{"scroll-q":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","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:[e,"none"]}],"stroke-w":[{stroke:[R,I,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],q:["px","py","ps","q","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","q","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-q","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-q":["scroll-px","scroll-py","scroll-ps","scroll-q","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 Se=Ct(Vt);function d(...e){return Se((0,Me.clsx)(e))}var q=require("react/jsx-runtime"),ze=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,q.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,q.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var Ee=require("@radix-ui/react-slot"),Fe=require("class-variance-authority"),Ge=X(require("react")),Ot=(0,Fe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),F=Ge.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,q.jsx)(e?Ee.Slot:"button",{className:d(Ot({className:t,size:r,variant:n})),ref:o,...s}));F.displayName="Button";var de=X(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:u}=e,m=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:u;if(!m)return null;let h=r==="link"?"clear":c,x=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,q.jsxs)(de.default,{className:d(s),href:m||u||"",...x,children:[o&&o,n&&n]}):(0,q.jsx)(F,{asChild:!0,className:s,size:h,variant:r,children:(0,q.jsxs)(de.default,{className:d(s),href:m||u||"",...x,children:[o&&o,n&&n]})})};var Le=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.jsxs)("div",{className:"bg-card rounded border-border border q-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(Q,{size:"lg",...r},n))})]})});var W=require("prism-react-renderer");var Ue=require("lucide-react"),He=require("react");function Ve({code:e}){let[t,r]=(0,He.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("q",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(Ue.ClipboardCopy,{})})]})})}var Oe=({code:e,language:t=""})=>e?(0,q.jsx)(W.Highlight,{code:e,language:t,theme:W.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,q.jsxs)("pre",{className:"bg-black q-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,q.jsx)("span",{...n({token:a})},c))})]},l)),(0,q.jsx)(Ve,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Oe,{code:t,language:r})});var Je=X(require("next/image")),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},je="data:image/png;base64,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",_e=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,u,m,h=t,x=a||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:w,url:C,width:z}=o;u=z,m=w,h=b||"",x=C||je}let A=c||"lazy",N=l||Object.entries(Qt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(Je.default,{alt:h||"",className:d(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:je,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:N,src:x,width:r?void 0:u})})};var Ke=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ye=()=>{if(Ke){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Xe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,He.useRef)(null);if((0,He.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,q.jsx)("source",{src:`${Ye()}/media/${o}`})})}return null};var ee=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,$.jsx)(r||He.Fragment,{...r!==null?{className:t}:{},children:s?(0,$.jsx)(Xe,{...e}):(0,$.jsx)(_e,{...e})})};var We=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:d("",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var Ze=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:d("",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:d("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var $e=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,q.jsx)("i",{className:a})};function jt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function tt({variant:e="light",className:t,icon:r,heading:n,subheading:s,content:o,statistic:l,buttonText:a,buttonHref:c}){return(0,q.jsxs)("div",{className:d("rounded-3xl q-8 md:q-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,q.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,q.jsx)("div",{className:d("rounded-full q-0",e==="light"?"text-[#A42368]":"text-white"),children:jt(r)?(0,q.jsx)($e,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,q.jsx)("h2",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,q.jsx)("div",{className:"mb-6",children:(0,q.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:l})}),s&&(0,q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,q.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,q.jsx)(P,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-q:text-gray-300")})}),o&&typeof o=="string"&&(0,q.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),a&&(0,q.jsx)("div",{className:"mt-8",children:(0,q.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,q.jsxs)("a",{href:c,children:[a,(0,q.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,q.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var rt=({title:e,description:t,features:r,id:n})=>(0,q.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,q.jsx)("q",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,q.jsx)("q",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,q.jsx)(P,{content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var l,a,c,u,m;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,q.jsx)(Jt,{section:s,index:o},o);{let h=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,q.jsx)(tt,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(u=s.link)!=null&&u.url?"Find out more":void 0,buttonHref:((m=s.link)==null?void 0:m.url)||void 0},o)}})})]}),Jt=({section:e,index:t})=>{if(!e)return null;let r=(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,q.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,q.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,q.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,q.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,q.jsx)("div",{className:"text-lg opacity-80",children:(0,q.jsx)(P,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,q.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var te=X(require("react"));function j({nodes:e}){return(0,q.jsx)(te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,q.jsx)(te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,q.jsx)("table",{children:(0,q.jsx)("tbody",{children:t.children.map((o,l)=>(0,q.jsx)("tr",{children:o.children.map((a,c)=>(0,q.jsx)("td",{children:j({nodes:a.children})},c))},l))})},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 l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return j({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,q.jsx)(Le,{...o},r);case"mediaBlock":return(0,q.jsx)(We,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,q.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(ze,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,q.jsx)(rt,{...o},r);case"reusableContentBlock":j({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("q",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,q.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,q.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&j({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var _t={title:"Blocks/RichText",component:P,tags:["autodocs"],decorators:[e=>(0,q.jsx)("div",{className:"bg-white dark:bg-gray-900 q-4",children:(0,q.jsx)(e,{})})]},Kt=e=>(0,q.jsx)(P,{...e}),Yt={render:Kt,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};0&&(module.exports={Default});
4
+ "use strict";var nt=Object.create;var Y=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var lt=Object.getPrototypeOf,it=Object.prototype.hasOwnProperty;var ct=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of at(t))!it.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=st(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?nt(lt(e)):{},Ce(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),dt=e=>Ce(Y({},"__esModule",{value:!0}),e);var Xt={};ct(Xt,{Default:()=>Yt,default:()=>_t});module.exports=dt(Xt);var Me=require("clsx");var ce="-",pt=e=>{let t=ut(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(ce);return a[0]===""&&a.length!==1&&a.shift(),Pe(a,t)||mt(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Pe=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Pe(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(ce);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Ae=/^\[(.+)\]$/,mt=e=>{if(Ae.test(e)){let t=Ae.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ut=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ft(Object.entries(e.classGroups),r).forEach(([o,l])=>{ie(l,n,o,t)}),n},ie=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Ne(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(gt(s)){ie(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ie(l,Ne(t,o),r,n)})})},Ne=(e,t)=>{let r=e;return t.split(ce).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},gt=e=>e.isThemeGetter,ft=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Be="!",yt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],m=0,u=0,h;for(let y=0;y<a.length;y++){let w=a[y];if(m===0){if(w===s&&(n||a.slice(y,y+o)===t)){c.push(a.slice(u,y)),u=y+o;continue}if(w==="/"){h=y;continue}}w==="["?m++:w==="]"&&m--}let x=c.length===0?a:a.substring(u),A=x.startsWith(Be),N=A?x.substring(1):x,b=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:N,maybePostfixModifierPosition:b}};return r?a=>r({className:a,parseClassName:l}):l},ht=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},xt=e=>({cache:bt(e.cacheSize),parseClassName:yt(e),...pt(e)}),wt=/\s+/,vt=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(wt),a="";for(let c=l.length-1;c>=0;c-=1){let m=l[c],{modifiers:u,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:A}=r(m),N=!!A,b=n(N?x.substring(0,A):x);if(!b){if(!N){a=m+(a.length>0?" "+a:a);continue}if(b=n(x),!b){a=m+(a.length>0?" "+a:a);continue}N=!1}let y=ht(u).join(":"),w=h?y+Be:y,C=w+b;if(o.includes(C))continue;o.push(C);let z=s(b,N);for(let E=0;E<z.length;++E){let J=z[E];o.push(w+J)}a=m+(a.length>0?" "+a:a)}return a};function kt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Re(t))&&(n&&(n+=" "),n+=r);return n}var Re=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Re(e[n]))&&(r&&(r+=" "),r+=t);return r};function Ct(e,...t){let r,n,s,o=l;function l(c){let m=t.reduce((u,h)=>h(u),e());return r=xt(m),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let m=n(c);if(m)return m;let u=vt(c,r);return s(c,u),u}return function(){return o(kt.apply(null,arguments))}}var g=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Te=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),Pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Bt=/\d+(%|px|r?em|[sdl]?q([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$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,It=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>D(e)||Nt.has(e)||At.test(e),I=e=>L(e,"length",Lt),D=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",D),H=e=>!!e&&Number.isInteger(Number(e)),St=e=>e.endsWith("%")&&D(e.slice(0,-1)),i=e=>Te.test(e),S=e=>Pt.test(e),Mt=new Set(["length","size","percentage"]),zt=e=>L(e,Mt,Ie),Et=e=>L(e,"position",Ie),Ft=new Set(["image","url"]),Gt=e=>L(e,Ft,Ht),Dt=e=>L(e,"",Ut),V=()=>!0,L=(e,t,r)=>{let n=Te.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Lt=e=>Bt.test(e)&&!Rt.test(e),Ie=()=>!1,Ut=e=>Tt.test(e),Ht=e=>It.test(e);var Vt=()=>{let e=g("colors"),t=g("spacing"),r=g("blur"),n=g("brightness"),s=g("borderColor"),o=g("borderRadius"),l=g("borderSpacing"),a=g("borderWidth"),c=g("contrast"),m=g("grayscale"),u=g("hueRotate"),h=g("invert"),x=g("gap"),A=g("gradientColorStops"),N=g("gradientColorStopPositions"),b=g("inset"),y=g("margin"),w=g("opacity"),C=g("padding"),z=g("saturate"),E=g("scale"),J=g("sepia"),be=g("skew"),ye=g("space"),he=g("translate"),oe=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",i,t],f=()=>[i,t],xe=()=>["",R,I],_=()=>["auto",D,i],we=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",i],ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[D,i];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[R,I],blur:["none","",S,i],brightness:B(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:f(),borderWidth:xe(),contrast:B(),grayscale:U(),hueRotate:B(),invert:U(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[St,I],inset:se(),margin:se(),opacity:B(),padding:f(),saturate:B(),scale:B(),sepia:U(),skew:B(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":ke()}],"break-before":[{"break-before":ke()}],"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:[...we(),i]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H,i]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],q:[{q:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],q:[{q:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],q:[{q:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[ye]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ye]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",D,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,I]}],"underline-offset":[{"underline-offset":["auto",R,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...we(),Et]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[R,i]}],"outline-w":[{outline:[R,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[R,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Dt]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ve(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ve()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[z]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[z]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"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:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[he]}],"translate-y":[{"translate-y":[he]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-q":[{"scroll-q":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-q":[{"scroll-q":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-q":[{"scroll-q":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","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:[e,"none"]}],"stroke-w":[{stroke:[R,I,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],q:["px","py","ps","q","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","q","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-q","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-q":["scroll-px","scroll-py","scroll-ps","scroll-q","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 Se=Ct(Vt);function d(...e){return Se((0,Me.clsx)(e))}var q=require("react/jsx-runtime"),ze=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:d("mx-auto my-8 w-full",e),children:(0,q.jsx)("div",{className:d("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,q.jsx)(P,{content:t,enableGutter:!1,enableProse:!1})})});var Ee=require("@radix-ui/react-slot"),Fe=require("class-variance-authority"),Ge=X(require("react")),Ot=(0,Fe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),F=Ge.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,q.jsx)(e?Ee.Slot:"button",{className:d(Ot({className:t,size:r,variant:n})),ref:o,...s}));F.displayName="Button";var de=X(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:m}=e,u=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:m;if(!u)return null;let h=r==="link"?"clear":c,x=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,q.jsxs)(de.default,{className:d(s),href:u||m||"",...x,children:[o&&o,n&&n]}):(0,q.jsx)(F,{asChild:!0,className:s,size:h,variant:r,children:(0,q.jsxs)(de.default,{className:d(s),href:u||m||"",...x,children:[o&&o,n&&n]})})};var Le=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.jsxs)("div",{className:"bg-card rounded border-border border q-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(P,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(Q,{size:"lg",...r},n))})]})});var W=require("prism-react-renderer");var Ue=require("lucide-react"),He=require("react");function Ve({code:e}){let[t,r]=(0,He.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(F,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("q",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(Ue.ClipboardCopy,{})})]})})}var Oe=({code:e,language:t=""})=>e?(0,q.jsx)(W.Highlight,{code:e,language:t,theme:W.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,q.jsxs)("pre",{className:"bg-black q-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,q.jsx)("span",{...n({token:a})},c))})]},l)),(0,q.jsx)(Ve,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Oe,{code:t,language:r})});var Je=X(require("next/image")),Qt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",_e=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,m,u,h=t,x=a||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:y,height:w,url:C,width:z}=o;m=z,u=w,h=b||"",x=C||je}let A=c||"lazy",N=l||Object.entries(Qt).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(Je.default,{alt:h||"",className:d(n),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:je,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:N,src:x,width:r?void 0:m})})};var Ke=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ye=()=>{if(Ke){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Xe=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,He.useRef)(null);if((0,He.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:d(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,q.jsx)("source",{src:`${Ye()}/media/${o}`})})}return null};var ee=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,$.jsx)(r||He.Fragment,{...r!==null?{className:t}:{},children:s?(0,$.jsx)(Xe,{...e}):(0,$.jsx)(_e,{...e})})};var We=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:d("",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var Ze=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:d("",{container:r},t),children:(0,q.jsx)(ee,{imgClassName:d("rounded-[0.8rem]",n),resource:s,src:o})})};var $e=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,l=n!=null?n:"",a=s+o+" fa-"+r+" "+l;return(0,q.jsx)("i",{className:a})};function jt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function tt({variant:e="light",className:t,icon:r,heading:n,subheading:s,content:o,statistic:l,buttonText:a,buttonHref:c}){return(0,q.jsxs)("div",{className:d("rounded-3xl q-8 md:q-12 min-w-56",{solid:"bg-accent",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,q.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,q.jsx)("div",{className:d("rounded-full q-0",e==="light"?"text-[#A42368]":"text-white"),children:jt(r)?(0,q.jsx)($e,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,q.jsx)("div",{className:d("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&l&&(0,q.jsx)("div",{className:"mb-6",children:(0,q.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:l})}),s&&(0,q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,q.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,q.jsx)(P,{enableGutter:!1,content:o,enableProse:!1,className:d(e==="light"?"prose":"prose prose-headings:text-white prose-q:text-gray-300")})}),o&&typeof o=="string"&&(0,q.jsx)("div",{className:d("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),a&&(0,q.jsx)("div",{className:"mt-8",children:(0,q.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,q.jsxs)("a",{href:c,children:[a,(0,q.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,q.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var rt=({title:e,description:t,features:r,id:n})=>(0,q.jsxs)("section",{className:d("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,q.jsx)("q",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,q.jsx)("q",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,q.jsx)(P,{content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var l,a,c,m,u;if(((l=s.settings)==null?void 0:l.contents)==="icon")return(0,q.jsx)(Jt,{section:s,index:o},o);{let h=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,q.jsx)(tt,{variant:((a=s.settings)==null?void 0:a.card)==="default"?"solid":((c=s.settings)==null?void 0:c.card)||"solid",icon:h()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(m=s.link)!=null&&m.url?"Find out more":void 0,buttonHref:((u=s.link)==null?void 0:u.url)||void 0},o)}})})]}),Jt=({section:e,index:t})=>{if(!e)return null;let r=(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,q.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,q.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,q.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,q.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,q.jsx)("div",{className:"text-lg opacity-80",children:(0,q.jsx)(P,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,q.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var te=X(require("react"));function j({nodes:e}){return(0,q.jsx)(te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,q.jsx)(te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,q.jsx)("table",{children:(0,q.jsx)("tbody",{children:t.children.map((o,l)=>(0,q.jsx)("tr",{children:o.children.map((a,c)=>(0,q.jsx)("td",{children:j({nodes:a.children})},c))},l))})},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 l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return j({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,q.jsx)(Le,{...o},r);case"mediaBlock":return(0,q.jsx)(We,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,q.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(ze,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Qe,{className:"col-start-2",...o},r);case"features":return(0,q.jsx)(rt,{...o},r);case"reusableContentBlock":j({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("q",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,q.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,q.jsx)(Q,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var P=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,q.jsx)("div",{className:d({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&j({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var _t={title:"Blocks/RichText",component:P,tags:["autodocs"],decorators:[e=>(0,q.jsx)("div",{className:"bg-white dark:bg-gray-900 q-4",children:(0,q.jsx)(e,{})})]},Kt=e=>(0,q.jsx)(P,{...e}),Yt={render:Kt,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};0&&(module.exports={Default});
@@ -1 +1 @@
1
- import{e}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
1
+ import{e}from"../../chunk-D4NKFRUO.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-7QQXXEMN.mjs";import"../../chunk-RHPFEIP4.mjs";import"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var o={title:"Blocks/RichText",component:e,tags:["autodocs"],decorators:[t=>r("div",{className:"bg-white dark:bg-gray-900 p-4",children:r(t,{})})]},i=t=>r(e,{...t}),x={render:i,args:{content:{root:{children:[{type:"text",text:"This is a regular text."},{type:"text",text:"This is bold text.",format:1},{type:"text",text:"This is italic text.",format:2},{type:"text",text:"This is underline text.",format:4},{type:"text",text:"This is strikethrough text.",format:8},{type:"text",text:"This is subscript text.",format:16},{type:"text",text:"This is superscript text.",format:32},{type:"text",text:"This is code text.",format:64},{type:"table",children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 1"}]},{type:"tableCell",children:[{type:"text",text:"Cell 2"}]}]},{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",text:"Cell 3"}]},{type:"tableCell",children:[{type:"text",text:"Cell 4"}]}]}]}]}},enableGutter:!0,enableProse:!0}};export{x as Default,o as default};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Bt=Object.create;var ae=Object.defineProperty;var Tt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var St=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Et=(e,t)=>{for(var o in t)ae(e,o,{get:t[o],enumerable:!0})},Ue=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of It(t))!Mt.call(e,a)&&a!==o&&ae(e,a,{get:()=>t[a],enumerable:!(n=Tt(t,a))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?Bt(St(e)):{},Ue(t||!e||!e.__esModule?ae(o,"default",{value:e,enumerable:!0}):o,e)),Lt=e=>Ue(ae({},"__esModule",{value:!0}),e);var Co={};Et(Co,{CMSLink:()=>Y,Card:()=>ke,CollectionArchive:()=>fo,Logo:()=>bo,Media:()=>V,PageRange:()=>xo,PayloadPagination:()=>vo,RichText:()=>S});module.exports=Lt(Co);var $e=require("clsx");var he="-",zt=e=>{let t=Dt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{let i=s.split(he);return i[0]===""&&i.length!==1&&i.shift(),Oe(i,t)||Ft(s)},getConflictingClassGroupIds:(s,i)=>{let l=o[s]||[];return i&&n[s]?[...l,...n[s]]:l}}},Oe=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let o=e[0],n=t.nextPart.get(o),a=n?Oe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let r=e.join(he);return(s=t.validators.find(({validator:i})=>i(r)))==null?void 0:s.classGroupId},He=/^\[(.+)\]$/,Ft=e=>{if(He.test(e)){let t=He.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Dt=e=>{let{theme:t,prefix:o}=e,n={nextPart:new Map,validators:[]};return Ut(Object.entries(e.classGroups),o).forEach(([r,s])=>{ye(s,n,r,t)}),n},ye=(e,t,o,n)=>{e.forEach(a=>{if(typeof a=="string"){let r=a===""?t:Ve(t,a);r.classGroupId=o;return}if(typeof a=="function"){if(Gt(a)){ye(a(n),t,o,n);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([r,s])=>{ye(s,Ve(t,r),o,n)})})},Ve=(e,t)=>{let o=e;return t.split(he).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},Gt=e=>e.isThemeGetter,Ut=(e,t)=>t?e.map(([o,n])=>{let a=n.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,i])=>[t+s,i])):r);return[o,a]}):e,Ht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,n=new Map,a=(r,s)=>{o.set(r,s),t++,t>e&&(t=0,n=o,o=new Map)};return{get(r){let s=o.get(r);if(s!==void 0)return s;if((s=n.get(r))!==void 0)return a(r,s),s},set(r,s){o.has(r)?o.set(r,s):a(r,s)}}},Qe="!",Vt=e=>{let{separator:t,experimentalParseClassName:o}=e,n=t.length===1,a=t[0],r=t.length,s=i=>{let l=[],d=0,u=0,m;for(let y=0;y<i.length;y++){let w=i[y];if(d===0){if(w===a&&(n||i.slice(y,y+r)===t)){l.push(i.slice(u,y)),u=y+r;continue}if(w==="/"){m=y;continue}}w==="["?d++:w==="]"&&d--}let g=l.length===0?i:i.substring(u),v=g.startsWith(Qe),C=v?g.substring(1):g,b=m&&m>u?m-u:void 0;return{modifiers:l,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:b}};return o?i=>o({className:i,parseClassName:s}):s},Ot=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(n=>{n[0]==="["?(t.push(...o.sort(),n),o=[]):o.push(n)}),t.push(...o.sort()),t},Qt=e=>({cache:Ht(e.cacheSize),parseClassName:Vt(e),...zt(e)}),jt=/\s+/,_t=(e,t)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=t,r=[],s=e.trim().split(jt),i="";for(let l=s.length-1;l>=0;l-=1){let d=s[l],{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:v}=o(d),C=!!v,b=n(C?g.substring(0,v):g);if(!b){if(!C){i=d+(i.length>0?" "+i:i);continue}if(b=n(g),!b){i=d+(i.length>0?" "+i:i);continue}C=!1}let y=Ot(u).join(":"),w=m?y+Qe:y,A=w+b;if(r.includes(A))continue;r.push(A);let I=a(b,C);for(let M=0;M<I.length;++M){let _=I[M];r.push(w+_)}i=d+(i.length>0?" "+i:i)}return i};function Jt(){let e=0,t,o,n="";for(;e<arguments.length;)(t=arguments[e++])&&(o=je(t))&&(n&&(n+=" "),n+=o);return n}var je=e=>{if(typeof e=="string")return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=je(e[n]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,n,a,r=s;function s(l){let d=t.reduce((u,m)=>m(u),e());return o=Qt(d),n=o.cache.get,a=o.cache.set,r=i,i(l)}function i(l){let d=n(l);if(d)return d;let u=_t(l,o);return a(l,u),u}return function(){return r(Jt.apply(null,arguments))}}var h=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},_e=/^\[(?:([a-z-]+):)?(.+)\]$/i,$t=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),Xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qt=/\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$/,Wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>J(e)||Yt.has(e)||$t.test(e),G=e=>K(e,"length",lo),J=e=>!!e&&!Number.isNaN(Number(e)),be=e=>K(e,"number",J),W=e=>!!e&&Number.isInteger(Number(e)),to=e=>e.endsWith("%")&&J(e.slice(0,-1)),p=e=>_e.test(e),U=e=>Xt.test(e),oo=new Set(["length","size","percentage"]),ro=e=>K(e,oo,Je),no=e=>K(e,"position",Je),ao=new Set(["image","url"]),so=e=>K(e,ao,po),io=e=>K(e,"",co),Z=()=>!0,K=(e,t,o)=>{let n=_e.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):o(n[2]):!1},lo=e=>qt.test(e)&&!Wt.test(e),Je=()=>!1,co=e=>Zt.test(e),po=e=>eo.test(e);var mo=()=>{let e=h("colors"),t=h("spacing"),o=h("blur"),n=h("brightness"),a=h("borderColor"),r=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),l=h("contrast"),d=h("grayscale"),u=h("hueRotate"),m=h("invert"),g=h("gap"),v=h("gradientColorStops"),C=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),w=h("opacity"),A=h("padding"),I=h("saturate"),M=h("scale"),_=h("sepia"),oe=h("skew"),Ee=h("space"),Le=h("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",p,t],x=()=>[p,t],ze=()=>["",L,G],re=()=>["auto",J,p],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],De=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",p],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[J,p];return{cacheSize:500,separator:":",theme:{colors:[Z],spacing:[L,G],blur:["none","",U,p],brightness:E(),borderColor:[e],borderRadius:["none","","full",U,p],borderSpacing:x(),borderWidth:ze(),contrast:E(),grayscale:q(),hueRotate:E(),invert:q(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[to,G],inset:ge(),margin:ge(),opacity:E(),padding:x(),saturate:E(),scale:E(),sepia:q(),skew:E(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...Fe(),p]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-x":[{"overscroll-x":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,p]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",W,p]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",W,p]},p]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[W,p]},p]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],xe:[{xe:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[Z]}],"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",p]}],"line-clamp":[{"line-clamp":["none",J,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",L,G]}],"underline-offset":[{"underline-offset":["auto",L,p]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),no]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ro]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},so]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-T":[{"rounded-T":[r]}],"rounded-xe":[{"rounded-xe":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"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":[w]}],"border-style":[{border:[...ne(),"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":[w]}],"divide-style":[{divide:ne()}],"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:["",...ne()]}],"outline-offset":[{"outline-offset":[L,p]}],"outline-w":[{outline:[L,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[L,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,io]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...De(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":De()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",U,p]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[I]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"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",p]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[W,p]}],"translate-x":[{"translate-x":[Le]}],"translate-y":[{"translate-y":[Le]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","T-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-xe":[{"scroll-xe":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-pt":[{"scroll-pt":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",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[L,G,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","xe","mr","mb","ml"],mx:["mr","ml"],my:["xe","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-T","rounded-xe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-T","rounded-xe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-xe","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-xe","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ke=Kt(mo);function c(...e){return Ke((0,$e.clsx)(e))}var Ye=require("next/navigation"),T=require("react");function uo({external:e=!1,newTab:t=!1,scroll:o=!0}){let n=(0,Ye.useRouter)(),a=(0,T.useRef)(null),r=(0,T.useRef)(null),s=(0,T.useRef)(0),i=(0,T.useRef)(!1),l=(0,T.useRef)(0),d=(0,T.useCallback)(m=>{if(m.target){let g=m.target,v=+new Date,C=g==null?void 0:g.closest("a");l.current=m.button,C?i.current=!0:(i.current=!1,s.current=v)}},[n,a,r,s]),u=(0,T.useCallback)(m=>{var g,v;if((g=r.current)!=null&&g.href){let b=+new Date-s.current;if((v=r.current)!=null&&v.href&&b<=250&&!i.current&&l.current===0&&!m.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(r.current.href,y)}else n.push(r.current.href,{scroll:o})}},[n,a,r,s]);return(0,T.useEffect)(()=>{let m=a.current;return m&&(m.addEventListener("mousedown",d),m.addEventListener("mouseup",u)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",d),m==null||m.removeEventListener("mouseup",u))}},[a,r,n]),{card:{ref:a},link:{ref:r}}}var Xe=uo;var nt=D(require("next/link"));var We=D(require("next/image")),xe=require("react/jsx-runtime"),go={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},qe="data:image/png;base64,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",Ze=e=>{let{alt:t,fill:o,imgClassName:n,priority:a,resource:r,size:s,src:i,loading:l}=e,d,u,m=t,g=i||"";if(!g&&r&&typeof r=="object"){let{alt:b,filename:y,height:w,url:A,width:I}=r;d=I,u=w,m=b||"",g=A||qe}let v=l||"lazy",C=s||Object.entries(go).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,xe.jsx)("picture",{children:(0,xe.jsx)(We.default,{alt:m||"",className:c(n),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:qe,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:C,src:g,width:o?void 0:d})})};var et=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var tt=()=>{if(et){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ot=e=>{let{onClick:t,resource:o,videoClassName:n}=e,a=(0,T.useRef)(null);if((0,T.useEffect)(()=>{let{current:r}=a;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,xe.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,xe.jsx)("source",{src:`${tt()}/media/${r}`})})}return null};var V=e=>{var s;let{className:t,htmlElement:o="div",resource:n}=e,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,xe.jsx)(o||T.Fragment,{...o!==null?{className:t}:{},children:a?(0,xe.jsx)(ot,{...e}):(0,xe.jsx)(Ze,{...e})})};var ke=e=>{let{card:t,link:o}=Xe({}),{className:n,doc:a,relationTo:r,showCategories:s,title:i}=e,{slug:l,categories:d,meta:u,title:m}=a||{},{description:g,image:v}=u||{},C=d&&Array.isArray(d)&&d.length>0,b=i||m,y=g==null?void 0:g.replace(/\s/g," "),w=`/${r}/${l}`;return(0,xe.jsxs)("article",{className:c("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:t.ref,children:[(0,xe.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,xe.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,xe.jsx)(V,{resource:v,size:"33vw"})]}),(0,xe.jsxs)("div",{className:"p-4",children:[s&&C&&(0,xe.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&C&&(0,xe.jsx)("div",{children:d==null?void 0:d.map((A,I)=>{if(typeof A=="object"){let{title:M}=A,_=M||"Untitled category",oe=I===d.length-1;return(0,xe.jsxs)(T.Fragment,{children:[_,!oe&&(0,xe.jsx)(T.Fragment,{children:", \xA0"})]},I)}return null})})}),b&&(0,xe.jsx)("div",{className:"prose",children:(0,xe.jsx)("h3",{children:(0,xe.jsx)(nt.default,{className:"not-prose",href:w,ref:o.ref,children:b})})}),g&&(0,xe.jsx)("div",{className:"xe-2",children:g&&(0,xe.jsx)("p",{children:y})})]})]})};var fo=e=>{let{posts:t}=e;return(0,$.jsx)("div",{className:c("container"),children:(0,$.jsx)("div",{children:(0,$.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((o,n)=>typeof o=="object"&&o!==null?(0,$.jsx)("div",{className:"col-span-4",children:(0,$.jsx)(ke,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},n):null)})})})};var at=require("@radix-ui/react-slot"),st=require("class-variance-authority"),it=D(require("react")),Ce=(0,st.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),O=it.forwardRef(({asChild:e=!1,className:t,size:o,variant:n,...a},r)=>(0,xe.jsx)(e?at.Slot:"button",{className:c(Ce({className:t,size:o,variant:n})),ref:r,...a}));O.displayName="Button";var Pe=D(require("next/link")),Y=e=>{let{type:t,appearance:o="inline",children:n,className:a,label:r,newTab:s,reference:i,size:l,url:d}=e,u=t==="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}`:d;if(!u)return null;let m=o==="link"?"clear":l,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,xe.jsxs)(Pe.default,{className:c(a),href:u||d||"",...g,children:[r&&r,n&&n]}):(0,xe.jsx)(O,{asChild:!0,className:a,size:m,variant:o,children:(0,xe.jsxs)(Pe.default,{className:c(a),href:u||d||"",...g,children:[r&&r,n&&n]})})};var ct=D(require("clsx")),pt=D(require("next/image")),bo=e=>{let{loading:t,priority:o,className:n}=e;return(0,xe.jsx)(pt.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,ct.default)("max-w-[9.375rem] w-full h-[34px]",n),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var yo={plural:"Docs",singular:"Doc"},ho={posts:{plural:"Posts",singular:"Post"}},xo=e=>{let{className:t,collection:o,collectionLabels:n,currentPage:a,limit:r,totalDocs:s}=e,i=(a?a-1:1)*(r||1)+1;s&&i>s&&(i=0);let l=(a||1)*(r||1);s&&l>s&&(l=s);let{plural:d,singular:u}=n||ho[o||""]||yo||{};return(0,xe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof s=="undefined"||s===0)&&"Search produced no results.",typeof s!="undefined"&&s>0&&`Showing ${i}${i>0?` - ${l}`:""} of ${s} ${s>1?d:u}`]})};var X=require("lucide-react"),Ne=D(require("react")),Ae=({className:e,...t})=>(0,xe.jsx)("nav",{"aria-label":"pagination",className:c("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ae.displayName="Pagination";var Re=Ne.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{className:c("flex flex-row items-center gap-1",e),ref:o,...t}));Re.displayName="PaginationContent";var z=Ne.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{className:c("",e),ref:o,...t}));z.displayName="PaginationItem";var Q=({className:e,isActive:t,size:o="icon",...n})=>(0,xe.jsx)("button",{"aria-current":t?"page":void 0,className:c(Ce({size:o,variant:t?"outline":"ghost"}),e),...n});Q.displayName="PaginationLink";var Be=({className:e,...t})=>(0,xe.jsxs)(Q,{"aria-label":"Go to previous page",className:c("gap-1 pl-2.5",e),size:"default",...t,children:[(0,xe.jsx)(X.ChevronLeft,{className:"h-4 w-4"}),(0,xe.jsx)("span",{children:"Previous"})]});Be.displayName="PaginationPrevious";var Te=({className:e,...t})=>(0,xe.jsxs)(Q,{"aria-label":"Go to next page",className:c("gap-1 pr-2.5",e),size:"default",...t,children:[(0,xe.jsx)("span",{children:"Next"}),(0,xe.jsx)(X.ChevronRight,{className:"h-4 w-4"})]});Te.displayName="PaginationNext";var le=({className:e,...t})=>(0,xe.jsxs)("span",{"aria-hidden":!0,className:c("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,xe.jsx)(X.MoreHorizontal,{className:"h-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More pages"})]});le.displayName="PaginationEllipsis";var vo=e=>{let t=(0,Ye.useRouter)(),{className:o,page:n,totalPages:a}=e,r=n<a,s=n>1,i=n-1>1,l=n+1<a;return(0,xe.jsx)("div",{className:c("my-12",o),children:(0,xe.jsx)(Ae,{children:(0,xe.jsxs)(Re,{children:[(0,xe.jsx)(z,{children:(0,xe.jsx)(Be,{disabled:!s,onClick:()=>{t.push(`/posts/page/${n-1}`)}})}),i&&(0,xe.jsx)(z,{children:(0,xe.jsx)(le,{})}),s&&(0,xe.jsx)(z,{children:(0,xe.jsx)(Q,{onClick:()=>{t.push(`/posts/page/${n-1}`)},children:n-1})}),(0,xe.jsx)(z,{children:(0,xe.jsx)(Q,{isActive:!0,onClick:()=>{t.push(`/posts/page/${n}`)},children:n})}),r&&(0,xe.jsx)(z,{children:(0,xe.jsx)(Q,{onClick:()=>{t.push(`/posts/page/${n+1}`)},children:n+1})}),l&&(0,xe.jsx)(z,{children:(0,xe.jsx)(le,{})}),(0,xe.jsx)(z,{children:(0,xe.jsx)(Te,{disabled:!r,onClick:()=>{t.push(`/posts/page/${n+1}`)}})})]})})})};var gt=({className:e,content:t,style:o})=>(0,xe.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,xe.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,xe.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var ft=({links:e,richText:t})=>(0,xe.jsx)("div",{className:"container",children:(0,xe.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,xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,xe.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},n)=>(0,xe.jsx)(Y,{size:"lg",...o},n))})]})});var pe=require("prism-react-renderer");function ht({code:e}){let[t,o]=(0,T.useState)("Copy");function n(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,xe.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,xe.jsx)("p",{children:t}),(0,xe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,xe.jsx)(X.ClipboardCopy,{})})]})})}var xt=({code:e,language:t=""})=>e?(0,xe.jsx)(pe.Highlight,{code:e,language:t,theme:pe.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:a})=>(0,xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((r,s)=>(0,xe.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,xe.jsx)("span",{className:"table-cell pl-4",children:r.map((i,l)=>(0,xe.jsx)("span",{...n({token:i})},l))})]},s)),(0,xe.jsx)(ht,{code:e})]})}):null;var vt=({className:e,code:t,language:o})=>(0,xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,xe.jsx)(xt,{code:t,language:o})});var wt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=e;return(0,xe.jsx)("div",{className:c("",{container:o},t),children:(0,xe.jsx)(V,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:r})})};var kt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=e;return(0,xe.jsx)("div",{className:c("",{container:o},t),children:(0,xe.jsx)(V,{imgClassName:c("border border-border rounded-[0.8rem]",n),resource:a,src:r})})};var Ct=({type:e="solid",iconName:t="cloud",size:o="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,s=n!=null?n:"",i=a+r+" fa-"+o+" "+s;return(0,xe.jsx)("i",{className:i})};function wo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Nt({variant:e="light",className:t,icon:o,heading:n,subheading:a,content:r,statistic:s,buttonText:i,buttonHref:l}){return(0,xe.jsxs)("div",{className:c("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,xe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[o&&(0,xe.jsx)("div",{className:c("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:wo(o)?(0,xe.jsx)(Ct,{type:o.type,iconName:o.iconName,size:"2x"}):o}),(0,xe.jsx)("h2",{className:c("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&s&&(0,xe.jsx)("div",{className:"mb-6",children:(0,xe.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:s})}),a&&(0,xe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),r&&typeof r=="object"&&(0,xe.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,xe.jsx)(S,{enableGutter:!1,content:r,enableProse:!1,className:c(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),r&&typeof r=="string"&&(0,xe.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:r}),i&&(0,xe.jsx)("div",{className:"xe-8",children:(0,xe.jsx)(O,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,xe.jsxs)("a",{href:l,children:[i,(0,xe.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var At=({title:e,description:t,features:o,id:n})=>(0,xe.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,xe.jsx)("h2",{className:"mb-6 xe-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,xe.jsx)(S,{content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:`grid gap-8 xe-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,r)=>{var s,i,l,d,u;if(((s=a.settings)==null?void 0:s.contents)==="icon")return(0,xe.jsx)(ko,{section:a,index:r},r);{let m=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,xe.jsx)(Nt,{variant:((i=a.settings)==null?void 0:i.card)==="default"?"solid":((l=a.settings)==null?void 0:l.card)||"solid",icon:m()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(d=a.link)!=null&&d.url?"Find out more":void 0,buttonHref:((u=a.link)==null?void 0:u.url)||void 0},r)}})})]}),ko=({section:e,index:t})=>{if(!e)return null;let o=(0,xe.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,xe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,xe.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,xe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,xe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,xe.jsx)("div",{className:"text-lg opacity-80",children:(0,xe.jsx)(S,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,xe.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:o},t):o};var de=D(require("react"));function te({nodes:e}){return(0,xe.jsx)(de.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,xe.jsx)(de.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,xe.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,xe.jsx)("em",{children:r},o)),t.format&4&&(r=(0,xe.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,xe.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,xe.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,xe.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,xe.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,xe.jsx)("table",{children:(0,xe.jsx)("tbody",{children:t.children.map((r,s)=>(0,xe.jsx)("tr",{children:r.children.map((i,l)=>(0,xe.jsx)("td",{children:te({nodes:i.children})},l))},s))})},o);let n=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let s of r.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return te({nodes:r.children})},a="children"in t?n(t):"";if(t.type==="block"){let r=t.fields,s=r==null?void 0:r.blockType;if(!r||!s)return null;switch(s){case"cta":return(0,xe.jsx)(ft,{...r},o);case"mediaBlock":return(0,xe.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,xe.jsx)(kt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,xe.jsx)(gt,{className:"col-start-2 mb-4",...r},o);case"code":return(0,xe.jsx)(vt,{className:"col-start-2",...r},o);case"features":return(0,xe.jsx)(At,{...r},o);case"reusableContentBlock":te({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,xe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,xe.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let r=t==null?void 0:t.tag;return(0,xe.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},o)}case"list":{let r=t==null?void 0:t.tag;return(0,xe.jsx)(r,{className:"list col-start-2",children:a},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,xe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},o):(0,xe.jsx)("li",{value:t==null?void 0:t.value,children:a},o);case"quote":return(0,xe.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let r=t.fields;return(0,xe.jsx)(Y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}case"autolink":{let r=t.fields;return(0,xe.jsx)(Y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}default:return null}})})}var S=({className:e,content:t,enableGutter:o=!0,enableProse:n=!0})=>{var a;return t?(0,xe.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&te({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
4
+ "use strict";var Bt=Object.create;var ae=Object.defineProperty;var Tt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var St=Object.getPrototypeOf,Mt=Object.prototype.hasOwnProperty;var Et=(e,t)=>{for(var o in t)ae(e,o,{get:t[o],enumerable:!0})},Ue=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of It(t))!Mt.call(e,a)&&a!==o&&ae(e,a,{get:()=>t[a],enumerable:!(n=Tt(t,a))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?Bt(St(e)):{},Ue(t||!e||!e.__esModule?ae(o,"default",{value:e,enumerable:!0}):o,e)),Lt=e=>Ue(ae({},"__esModule",{value:!0}),e);var Co={};Et(Co,{CMSLink:()=>Y,Card:()=>ke,CollectionArchive:()=>fo,Logo:()=>bo,Media:()=>V,PageRange:()=>xo,PayloadPagination:()=>vo,RichText:()=>S});module.exports=Lt(Co);var $e=require("clsx");var he="-",zt=e=>{let t=Dt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{let i=s.split(he);return i[0]===""&&i.length!==1&&i.shift(),Oe(i,t)||Ft(s)},getConflictingClassGroupIds:(s,i)=>{let l=o[s]||[];return i&&n[s]?[...l,...n[s]]:l}}},Oe=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let o=e[0],n=t.nextPart.get(o),a=n?Oe(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let r=e.join(he);return(s=t.validators.find(({validator:i})=>i(r)))==null?void 0:s.classGroupId},He=/^\[(.+)\]$/,Ft=e=>{if(He.test(e)){let t=He.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Dt=e=>{let{theme:t,prefix:o}=e,n={nextPart:new Map,validators:[]};return Ut(Object.entries(e.classGroups),o).forEach(([r,s])=>{ye(s,n,r,t)}),n},ye=(e,t,o,n)=>{e.forEach(a=>{if(typeof a=="string"){let r=a===""?t:Ve(t,a);r.classGroupId=o;return}if(typeof a=="function"){if(Gt(a)){ye(a(n),t,o,n);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([r,s])=>{ye(s,Ve(t,r),o,n)})})},Ve=(e,t)=>{let o=e;return t.split(he).forEach(n=>{o.nextPart.has(n)||o.nextPart.set(n,{nextPart:new Map,validators:[]}),o=o.nextPart.get(n)}),o},Gt=e=>e.isThemeGetter,Ut=(e,t)=>t?e.map(([o,n])=>{let a=n.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,i])=>[t+s,i])):r);return[o,a]}):e,Ht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,n=new Map,a=(r,s)=>{o.set(r,s),t++,t>e&&(t=0,n=o,o=new Map)};return{get(r){let s=o.get(r);if(s!==void 0)return s;if((s=n.get(r))!==void 0)return a(r,s),s},set(r,s){o.has(r)?o.set(r,s):a(r,s)}}},Qe="!",Vt=e=>{let{separator:t,experimentalParseClassName:o}=e,n=t.length===1,a=t[0],r=t.length,s=i=>{let l=[],d=0,u=0,m;for(let y=0;y<i.length;y++){let w=i[y];if(d===0){if(w===a&&(n||i.slice(y,y+r)===t)){l.push(i.slice(u,y)),u=y+r;continue}if(w==="/"){m=y;continue}}w==="["?d++:w==="]"&&d--}let g=l.length===0?i:i.substring(u),v=g.startsWith(Qe),C=v?g.substring(1):g,b=m&&m>u?m-u:void 0;return{modifiers:l,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:b}};return o?i=>o({className:i,parseClassName:s}):s},Ot=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(n=>{n[0]==="["?(t.push(...o.sort(),n),o=[]):o.push(n)}),t.push(...o.sort()),t},Qt=e=>({cache:Ht(e.cacheSize),parseClassName:Vt(e),...zt(e)}),jt=/\s+/,_t=(e,t)=>{let{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:a}=t,r=[],s=e.trim().split(jt),i="";for(let l=s.length-1;l>=0;l-=1){let d=s[l],{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:v}=o(d),C=!!v,b=n(C?g.substring(0,v):g);if(!b){if(!C){i=d+(i.length>0?" "+i:i);continue}if(b=n(g),!b){i=d+(i.length>0?" "+i:i);continue}C=!1}let y=Ot(u).join(":"),w=m?y+Qe:y,A=w+b;if(r.includes(A))continue;r.push(A);let I=a(b,C);for(let M=0;M<I.length;++M){let _=I[M];r.push(w+_)}i=d+(i.length>0?" "+i:i)}return i};function Jt(){let e=0,t,o,n="";for(;e<arguments.length;)(t=arguments[e++])&&(o=je(t))&&(n&&(n+=" "),n+=o);return n}var je=e=>{if(typeof e=="string")return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=je(e[n]))&&(o&&(o+=" "),o+=t);return o};function Kt(e,...t){let o,n,a,r=s;function s(l){let d=t.reduce((u,m)=>m(u),e());return o=Qt(d),n=o.cache.get,a=o.cache.set,r=i,i(l)}function i(l){let d=n(l);if(d)return d;let u=_t(l,o);return a(l,u),u}return function(){return r(Jt.apply(null,arguments))}}var h=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},_e=/^\[(?:([a-z-]+):)?(.+)\]$/i,$t=/^\d+\/\d+$/,Yt=new Set(["px","full","screen"]),Xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qt=/\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$/,Wt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>J(e)||Yt.has(e)||$t.test(e),G=e=>K(e,"length",lo),J=e=>!!e&&!Number.isNaN(Number(e)),be=e=>K(e,"number",J),W=e=>!!e&&Number.isInteger(Number(e)),to=e=>e.endsWith("%")&&J(e.slice(0,-1)),p=e=>_e.test(e),U=e=>Xt.test(e),oo=new Set(["length","size","percentage"]),ro=e=>K(e,oo,Je),no=e=>K(e,"position",Je),ao=new Set(["image","url"]),so=e=>K(e,ao,po),io=e=>K(e,"",co),Z=()=>!0,K=(e,t,o)=>{let n=_e.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):o(n[2]):!1},lo=e=>qt.test(e)&&!Wt.test(e),Je=()=>!1,co=e=>Zt.test(e),po=e=>eo.test(e);var mo=()=>{let e=h("colors"),t=h("spacing"),o=h("blur"),n=h("brightness"),a=h("borderColor"),r=h("borderRadius"),s=h("borderSpacing"),i=h("borderWidth"),l=h("contrast"),d=h("grayscale"),u=h("hueRotate"),m=h("invert"),g=h("gap"),v=h("gradientColorStops"),C=h("gradientColorStopPositions"),b=h("inset"),y=h("margin"),w=h("opacity"),A=h("padding"),I=h("saturate"),M=h("scale"),_=h("sepia"),oe=h("skew"),Ee=h("space"),Le=h("translate"),me=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",p,t],x=()=>[p,t],ze=()=>["",L,G],re=()=>["auto",J,p],Fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],De=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",p],Ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[J,p];return{cacheSize:500,separator:":",theme:{colors:[Z],spacing:[L,G],blur:["none","",U,p],brightness:E(),borderColor:[e],borderRadius:["none","","full",U,p],borderSpacing:x(),borderWidth:ze(),contrast:E(),grayscale:q(),hueRotate:E(),invert:q(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[to,G],inset:ge(),margin:ge(),opacity:E(),padding:x(),saturate:E(),scale:E(),sepia:q(),skew:E(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":Ge()}],"break-before":[{"break-before":Ge()}],"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:[...Fe(),p]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:me()}],"overscroll-x":[{"overscroll-x":me()}],"overscroll-y":[{"overscroll-y":me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",W,p]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",W,p]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",W,p]},p]}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[W,p]},p]}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...fe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...fe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...fe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],xe:[{xe:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[Ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",be]}],"font-family":[{font:[Z]}],"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",p]}],"line-clamp":[{"line-clamp":["none",J,be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",L,G]}],"underline-offset":[{"underline-offset":["auto",L,p]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Fe(),no]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ro]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},so]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-T":[{"rounded-T":[r]}],"rounded-xe":[{"rounded-xe":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"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":[w]}],"border-style":[{border:[...ne(),"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":[w]}],"divide-style":[{divide:ne()}],"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:["",...ne()]}],"outline-offset":[{"outline-offset":[L,p]}],"outline-w":[{outline:[L,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[L,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,io]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...De(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":De()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",U,p]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[I]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"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",p]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[W,p]}],"translate-x":[{"translate-x":[Le]}],"translate-y":[{"translate-y":[Le]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","T-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-xe":[{"scroll-xe":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-pt":[{"scroll-pt":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",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[L,G,be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","xe","mr","mb","ml"],mx:["mr","ml"],my:["xe","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-T","rounded-xe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-T","rounded-xe"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-xe","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-xe","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ke=Kt(mo);function c(...e){return Ke((0,$e.clsx)(e))}var Ye=require("next/navigation"),T=require("react");function uo({external:e=!1,newTab:t=!1,scroll:o=!0}){let n=(0,Ye.useRouter)(),a=(0,T.useRef)(null),r=(0,T.useRef)(null),s=(0,T.useRef)(0),i=(0,T.useRef)(!1),l=(0,T.useRef)(0),d=(0,T.useCallback)(m=>{if(m.target){let g=m.target,v=+new Date,C=g==null?void 0:g.closest("a");l.current=m.button,C?i.current=!0:(i.current=!1,s.current=v)}},[n,a,r,s]),u=(0,T.useCallback)(m=>{var g,v;if((g=r.current)!=null&&g.href){let b=+new Date-s.current;if((v=r.current)!=null&&v.href&&b<=250&&!i.current&&l.current===0&&!m.ctrlKey)if(e){let y=t?"_blank":"_self";window.open(r.current.href,y)}else n.push(r.current.href,{scroll:o})}},[n,a,r,s]);return(0,T.useEffect)(()=>{let m=a.current;return m&&(m.addEventListener("mousedown",d),m.addEventListener("mouseup",u)),()=>{m&&m&&(m==null||m.removeEventListener("mousedown",d),m==null||m.removeEventListener("mouseup",u))}},[a,r,n]),{card:{ref:a},link:{ref:r}}}var Xe=uo;var nt=D(require("next/link"));var We=D(require("next/image")),xe=require("react/jsx-runtime"),go={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},qe="data:image/png;base64,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",Ze=e=>{let{alt:t,fill:o,imgClassName:n,priority:a,resource:r,size:s,src:i,loading:l}=e,d,u,m=t,g=i||"";if(!g&&r&&typeof r=="object"){let{alt:b,filename:y,height:w,url:A,width:I}=r;d=I,u=w,m=b||"",g=A||qe}let v=l||"lazy",C=s||Object.entries(go).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,xe.jsx)("picture",{children:(0,xe.jsx)(We.default,{alt:m||"",className:c(n),fill:o,height:o?void 0:u,placeholder:"blur",blurDataURL:qe,priority:v!=="lazy"&&a,quality:100,loading:v,sizes:C,src:g,width:o?void 0:d})})};var et=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var tt=()=>{if(et){let e=window.location.protocol,t=window.location.hostname,o=window.location.port;return`${e}//${t}${o?`:${o}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var ot=e=>{let{onClick:t,resource:o,videoClassName:n}=e,a=(0,T.useRef)(null);if((0,T.useEffect)(()=>{let{current:r}=a;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,xe.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,xe.jsx)("source",{src:`${tt()}/media/${r}`})})}return null};var V=e=>{var s;let{className:t,htmlElement:o="div",resource:n}=e,a=typeof n=="object"&&((s=n==null?void 0:n.mimeType)==null?void 0:s.includes("video"));return(0,xe.jsx)(o||T.Fragment,{...o!==null?{className:t}:{},children:a?(0,xe.jsx)(ot,{...e}):(0,xe.jsx)(Ze,{...e})})};var ke=e=>{let{card:t,link:o}=Xe({}),{className:n,doc:a,relationTo:r,showCategories:s,title:i}=e,{slug:l,categories:d,meta:u,title:m}=a||{},{description:g,image:v}=u||{},C=d&&Array.isArray(d)&&d.length>0,b=i||m,y=g==null?void 0:g.replace(/\s/g," "),w=`/${r}/${l}`;return(0,xe.jsxs)("article",{className:c("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:t.ref,children:[(0,xe.jsxs)("div",{className:"relative w-full ",children:[!v&&(0,xe.jsx)("div",{className:"",children:"No image"}),v&&typeof v!="string"&&(0,xe.jsx)(V,{resource:v,size:"33vw"})]}),(0,xe.jsxs)("div",{className:"p-4",children:[s&&C&&(0,xe.jsx)("div",{className:"uppercase text-sm mb-4",children:s&&C&&(0,xe.jsx)("div",{children:d==null?void 0:d.map((A,I)=>{if(typeof A=="object"){let{title:M}=A,_=M||"Untitled category",oe=I===d.length-1;return(0,xe.jsxs)(T.Fragment,{children:[_,!oe&&(0,xe.jsx)(T.Fragment,{children:", \xA0"})]},I)}return null})})}),b&&(0,xe.jsx)("div",{className:"prose",children:(0,xe.jsx)("h3",{children:(0,xe.jsx)(nt.default,{className:"not-prose",href:w,ref:o.ref,children:b})})}),g&&(0,xe.jsx)("div",{className:"xe-2",children:g&&(0,xe.jsx)("p",{children:y})})]})]})};var fo=e=>{let{posts:t}=e;return(0,$.jsx)("div",{className:c("container"),children:(0,$.jsx)("div",{children:(0,$.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t==null?void 0:t.map((o,n)=>typeof o=="object"&&o!==null?(0,$.jsx)("div",{className:"col-span-4",children:(0,$.jsx)(ke,{className:"h-full",doc:o,relationTo:"posts",showCategories:!0})},n):null)})})})};var at=require("@radix-ui/react-slot"),st=require("class-variance-authority"),it=D(require("react")),Ce=(0,st.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),O=it.forwardRef(({asChild:e=!1,className:t,size:o,variant:n,...a},r)=>(0,xe.jsx)(e?at.Slot:"button",{className:c(Ce({className:t,size:o,variant:n})),ref:r,...a}));O.displayName="Button";var Pe=D(require("next/link")),Y=e=>{let{type:t,appearance:o="inline",children:n,className:a,label:r,newTab:s,reference:i,size:l,url:d}=e,u=t==="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}`:d;if(!u)return null;let m=o==="link"?"clear":l,g=s?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,xe.jsxs)(Pe.default,{className:c(a),href:u||d||"",...g,children:[r&&r,n&&n]}):(0,xe.jsx)(O,{asChild:!0,className:a,size:m,variant:o,children:(0,xe.jsxs)(Pe.default,{className:c(a),href:u||d||"",...g,children:[r&&r,n&&n]})})};var ct=D(require("clsx")),pt=D(require("next/image")),bo=e=>{let{loading:t,priority:o,className:n}=e;return(0,xe.jsx)(pt.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:o||"low",decoding:"async",className:(0,ct.default)("max-w-[9.375rem] w-full h-[34px]",n),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var yo={plural:"Docs",singular:"Doc"},ho={posts:{plural:"Posts",singular:"Post"}},xo=e=>{let{className:t,collection:o,collectionLabels:n,currentPage:a,limit:r,totalDocs:s}=e,i=(a?a-1:1)*(r||1)+1;s&&i>s&&(i=0);let l=(a||1)*(r||1);s&&l>s&&(l=s);let{plural:d,singular:u}=n||ho[o||""]||yo||{};return(0,xe.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof s=="undefined"||s===0)&&"Search produced no results.",typeof s!="undefined"&&s>0&&`Showing ${i}${i>0?` - ${l}`:""} of ${s} ${s>1?d:u}`]})};var X=require("lucide-react"),Ne=D(require("react")),Ae=({className:e,...t})=>(0,xe.jsx)("nav",{"aria-label":"pagination",className:c("mx-auto flex w-full justify-center",e),role:"navigation",...t});Ae.displayName="Pagination";var Re=Ne.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("ul",{className:c("flex flex-row items-center gap-1",e),ref:o,...t}));Re.displayName="PaginationContent";var z=Ne.forwardRef(({className:e,...t},o)=>(0,xe.jsx)("li",{className:c("",e),ref:o,...t}));z.displayName="PaginationItem";var Q=({className:e,isActive:t,size:o="icon",...n})=>(0,xe.jsx)("button",{"aria-current":t?"page":void 0,className:c(Ce({size:o,variant:t?"outline":"ghost"}),e),...n});Q.displayName="PaginationLink";var Be=({className:e,...t})=>(0,xe.jsxs)(Q,{"aria-label":"Go to previous page",className:c("gap-1 pl-2.5",e),size:"default",...t,children:[(0,xe.jsx)(X.ChevronLeft,{className:"h-4 w-4"}),(0,xe.jsx)("span",{children:"Previous"})]});Be.displayName="PaginationPrevious";var Te=({className:e,...t})=>(0,xe.jsxs)(Q,{"aria-label":"Go to next page",className:c("gap-1 pr-2.5",e),size:"default",...t,children:[(0,xe.jsx)("span",{children:"Next"}),(0,xe.jsx)(X.ChevronRight,{className:"h-4 w-4"})]});Te.displayName="PaginationNext";var le=({className:e,...t})=>(0,xe.jsxs)("span",{"aria-hidden":!0,className:c("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,xe.jsx)(X.MoreHorizontal,{className:"h-4 w-4"}),(0,xe.jsx)("span",{className:"sr-only",children:"More pages"})]});le.displayName="PaginationEllipsis";var vo=e=>{let t=(0,Ye.useRouter)(),{className:o,page:n,totalPages:a}=e,r=n<a,s=n>1,i=n-1>1,l=n+1<a;return(0,xe.jsx)("div",{className:c("my-12",o),children:(0,xe.jsx)(Ae,{children:(0,xe.jsxs)(Re,{children:[(0,xe.jsx)(z,{children:(0,xe.jsx)(Be,{disabled:!s,onClick:()=>{t.push(`/posts/page/${n-1}`)}})}),i&&(0,xe.jsx)(z,{children:(0,xe.jsx)(le,{})}),s&&(0,xe.jsx)(z,{children:(0,xe.jsx)(Q,{onClick:()=>{t.push(`/posts/page/${n-1}`)},children:n-1})}),(0,xe.jsx)(z,{children:(0,xe.jsx)(Q,{isActive:!0,onClick:()=>{t.push(`/posts/page/${n}`)},children:n})}),r&&(0,xe.jsx)(z,{children:(0,xe.jsx)(Q,{onClick:()=>{t.push(`/posts/page/${n+1}`)},children:n+1})}),l&&(0,xe.jsx)(z,{children:(0,xe.jsx)(le,{})}),(0,xe.jsx)(z,{children:(0,xe.jsx)(Te,{disabled:!r,onClick:()=>{t.push(`/posts/page/${n+1}`)}})})]})})})};var gt=({className:e,content:t,style:o})=>(0,xe.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,xe.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,xe.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var ft=({links:e,richText:t})=>(0,xe.jsx)("div",{className:"container",children:(0,xe.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,xe.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,xe.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:o},n)=>(0,xe.jsx)(Y,{size:"lg",...o},n))})]})});var pe=require("prism-react-renderer");function ht({code:e}){let[t,o]=(0,T.useState)("Copy");function n(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,xe.jsx)("div",{className:"flex justify-end align-middle",children:(0,xe.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,xe.jsx)("p",{children:t}),(0,xe.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,xe.jsx)(X.ClipboardCopy,{})})]})})}var xt=({code:e,language:t=""})=>e?(0,xe.jsx)(pe.Highlight,{code:e,language:t,theme:pe.themes.vsDark,children:({getLineProps:o,getTokenProps:n,tokens:a})=>(0,xe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[a.map((r,s)=>(0,xe.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,xe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,xe.jsx)("span",{className:"table-cell pl-4",children:r.map((i,l)=>(0,xe.jsx)("span",{...n({token:i})},l))})]},s)),(0,xe.jsx)(ht,{code:e})]})}):null;var vt=({className:e,code:t,language:o})=>(0,xe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,xe.jsx)(xt,{code:t,language:o})});var wt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=e;return(0,xe.jsx)("div",{className:c("",{container:o},t),children:(0,xe.jsx)(V,{imgClassName:c("rounded-[0.8rem]",n),resource:a,src:r})})};var kt=e=>{let{className:t,enableGutter:o=!0,imgClassName:n,media:a,staticImage:r}=e;return(0,xe.jsx)("div",{className:c("",{container:o},t),children:(0,xe.jsx)(V,{imgClassName:c("rounded-[0.8rem]",n),resource:a,src:r})})};var Ct=({type:e="solid",iconName:t="cloud",size:o="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,s=n!=null?n:"",i=a+r+" fa-"+o+" "+s;return(0,xe.jsx)("i",{className:i})};function wo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Nt({variant:e="light",className:t,icon:o,heading:n,subheading:a,content:r,statistic:s,buttonText:i,buttonHref:l}){return(0,xe.jsxs)("div",{className:c("rounded-3xl p-8 md:p-12 min-w-56",{solid:"bg-accent",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,xe.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[o&&(0,xe.jsx)("div",{className:c("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:wo(o)?(0,xe.jsx)(Ct,{type:o.type,iconName:o.iconName,size:"2x"}):o}),(0,xe.jsx)("div",{className:c("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&s&&(0,xe.jsx)("div",{className:"mb-6",children:(0,xe.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:s})}),a&&(0,xe.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),r&&typeof r=="object"&&(0,xe.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,xe.jsx)(S,{enableGutter:!1,content:r,enableProse:!1,className:c(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),r&&typeof r=="string"&&(0,xe.jsx)("div",{className:c("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:r}),i&&(0,xe.jsx)("div",{className:"xe-8",children:(0,xe.jsx)(O,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,xe.jsxs)("a",{href:l,children:[i,(0,xe.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,xe.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var At=({title:e,description:t,features:o,id:n})=>(0,xe.jsxs)("section",{className:c("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,xe.jsx)("h2",{className:"mb-6 xe-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,xe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,xe.jsx)(S,{content:t,enableGutter:!1})}),(0,xe.jsx)("div",{className:`grid gap-8 xe-10 md:grid-cols-${o?o.length:1}`,children:o&&o.map((a,r)=>{var s,i,l,d,u;if(((s=a.settings)==null?void 0:s.contents)==="icon")return(0,xe.jsx)(ko,{section:a,index:r},r);{let m=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,xe.jsx)(Nt,{variant:((i=a.settings)==null?void 0:i.card)==="default"?"solid":((l=a.settings)==null?void 0:l.card)||"solid",icon:m()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(d=a.link)!=null&&d.url?"Find out more":void 0,buttonHref:((u=a.link)==null?void 0:u.url)||void 0},r)}})})]}),ko=({section:e,index:t})=>{if(!e)return null;let o=(0,xe.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,xe.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,xe.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,xe.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,xe.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,xe.jsx)("div",{className:"text-lg opacity-80",children:(0,xe.jsx)(S,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,xe.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:o},t):o};var de=D(require("react"));function te({nodes:e}){return(0,xe.jsx)(de.Fragment,{children:e==null?void 0:e.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,xe.jsx)(de.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,xe.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,xe.jsx)("em",{children:r},o)),t.format&4&&(r=(0,xe.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,xe.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,xe.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,xe.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,xe.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,xe.jsx)("table",{children:(0,xe.jsx)("tbody",{children:t.children.map((r,s)=>(0,xe.jsx)("tr",{children:r.children.map((i,l)=>(0,xe.jsx)("td",{children:te({nodes:i.children})},l))},s))})},o);let n=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let s of r.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return te({nodes:r.children})},a="children"in t?n(t):"";if(t.type==="block"){let r=t.fields,s=r==null?void 0:r.blockType;if(!r||!s)return null;switch(s){case"cta":return(0,xe.jsx)(ft,{...r},o);case"mediaBlock":return(0,xe.jsx)(wt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,xe.jsx)(kt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,xe.jsx)(gt,{className:"col-start-2 mb-4",...r},o);case"code":return(0,xe.jsx)(vt,{className:"col-start-2",...r},o);case"features":return(0,xe.jsx)(At,{...r},o);case"reusableContentBlock":te({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,xe.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,xe.jsx)("p",{className:"col-start-2",children:a},o);case"heading":{let r=t==null?void 0:t.tag;return(0,xe.jsx)(r,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},o)}case"list":{let r=t==null?void 0:t.tag;return(0,xe.jsx)(r,{className:"list col-start-2",children:a},o)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,xe.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},o):(0,xe.jsx)("li",{value:t==null?void 0:t.value,children:a},o);case"quote":return(0,xe.jsx)("blockquote",{className:"col-start-2",children:a},o);case"link":{let r=t.fields;return(0,xe.jsx)(Y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}case"autolink":{let r=t.fields;return(0,xe.jsx)(Y,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:a},o)}default:return null}})})}var S=({className:e,content:t,enableGutter:o=!0,enableProse:n=!0})=>{var a;return t?(0,xe.jsx)("div",{className:c({"container ":o,"max-w-none":!o,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&te({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};0&&(module.exports={CMSLink,Card,CollectionArchive,Logo,Media,PageRange,PayloadPagination,RichText});
@@ -1 +1 @@
1
- import{a as e}from"../../chunk-UD7JYMRU.mjs";import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-NRL4U42W.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-23EQTK7B.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-7FR5BXX2.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-PVRWMAHW.mjs";import"../../chunk-Y6CZVVJF.mjs";import{a as b}from"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};
1
+ import{a as f}from"../../chunk-AUBKJ4XO.mjs";import{a as g}from"../../chunk-6YV7RK6Q.mjs";import{a as h}from"../../chunk-NRL4U42W.mjs";import{a as e}from"../../chunk-UD7JYMRU.mjs";import"../../chunk-6LKCK2EH.mjs";import{a as d}from"../../chunk-23EQTK7B.mjs";import"../../chunk-6P7CY367.mjs";import{e as c}from"../../chunk-D4NKFRUO.mjs";import"../../chunk-O5BAW5XQ.mjs";import{a}from"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-ZWKWU7U4.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-7QQXXEMN.mjs";import"../../chunk-RHPFEIP4.mjs";import{a as b}from"../../chunk-NGK3IDFP.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-KDGEXDC5.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-SPOYKTBR.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-C5XNOZXC.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CMSLink,d as Card,e as CollectionArchive,f as Logo,b as Media,g as PageRange,h as PayloadPagination,c as RichText};